@builder.io/dev-tools 1.30.2-beta.202603091820.6674dc7 → 1.31.0-beta.202603091834.146408d

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/cli/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- var yve=Object.create;var hB=Object.defineProperty;var Dve=Object.getOwnPropertyDescriptor;var xve=Object.getOwnPropertyNames;var vve=Object.getPrototypeOf,wve=Object.prototype.hasOwnProperty;var T=(t,e)=>()=>(t&&(e=t(t=0)),e);var b=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),pl=(t,e)=>{for(var i in e)hB(t,i,{get:e[i],enumerable:!0})},DK=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of xve(e))!wve.call(t,r)&&r!==i&&hB(t,r,{get:()=>e[r],enumerable:!(n=Dve(e,r))||n.enumerable});return t};var ee=(t,e,i)=>(i=t!=null?yve(vve(t)):{},DK(e||!t||!t.__esModule?hB(i,"default",{value:t,enumerable:!0}):i,t)),en=t=>DK(hB({},"__esModule",{value:!0}),t);var f=T(()=>{{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"6674dc771b4d91fb2edac17e4ec00ce01b248219"}}});var vK=b((igt,xK)=>{f();function Hb(t){return t==null?[]:Array.isArray(t)?t:[t]}function bve(t,e,i,n){var r,s=t[e],o=~n.string.indexOf(e)?i==null||i===!0?"":String(i):typeof i=="boolean"?i:~n.boolean.indexOf(e)?i==="false"?!1:i==="true"||(t._.push((r=+i,r*0===0?r:i)),!!i):(r=+i,r*0===0?r:i);t[e]=s==null?o:Array.isArray(s)?s.concat(o):[s,o]}xK.exports=function(t,e){t=t||[],e=e||{};var i,n,r,s,o,a={_:[]},A=0,c=0,u=0,l=t.length;let p=e.alias!==void 0,g=e.unknown!==void 0,d=e.default!==void 0;if(e.alias=e.alias||{},e.string=Hb(e.string),e.boolean=Hb(e.boolean),p)for(i in e.alias)for(n=e.alias[i]=Hb(e.alias[i]),A=0;A<n.length;A++)(e.alias[n[A]]=n.concat(i)).splice(A,1);for(A=e.boolean.length;A-- >0;)for(n=e.alias[e.boolean[A]]||[],c=n.length;c-- >0;)e.boolean.push(n[c]);for(A=e.string.length;A-- >0;)for(n=e.alias[e.string[A]]||[],c=n.length;c-- >0;)e.string.push(n[c]);if(d){for(i in e.default)if(s=typeof e.default[i],n=e.alias[i]=e.alias[i]||[],e[s]!==void 0)for(e[s].push(i),A=0;A<n.length;A++)e[s].push(n[A])}let m=g?Object.keys(e.alias):[];for(A=0;A<l;A++){if(r=t[A],r==="--"){a._=a._.concat(t.slice(++A));break}for(c=0;c<r.length&&r.charCodeAt(c)===45;c++);if(c===0)a._.push(r);else if(r.substring(c,c+3)==="no-"){if(s=r.substring(c+3),g&&!~m.indexOf(s))return e.unknown(r);a[s]=!1}else{for(u=c+1;u<r.length&&r.charCodeAt(u)!==61;u++);for(s=r.substring(c,u),o=r.substring(++u)||A+1===l||(""+t[A+1]).charCodeAt(0)===45||t[++A],n=c===2?[s]:s,u=0;u<n.length;u++){if(s=n[u],g&&!~m.indexOf(s))return e.unknown("-".repeat(c)+s);bve(a,s,u+1<n.length||o,e)}}}if(d)for(i in e.default)a[i]===void 0&&(a[i]=e.default[i]);if(p)for(i in a)for(n=e.alias[i]||[];n.length>0;)a[n.shift()]=a[i];return a}});function Sve(){if(Uf!==void 0)return Uf;try{return Uf=require("prettier"),Uf}catch{return Uf=null,null}}function Fve(t){let e=[],i=gl.default.dirname(t);for(;i!==gl.default.dirname(i);){let n=gl.default.join(i,".prettierignore");Jb.default.existsSync(n)&&e.push(n);let r=gl.default.join(i,".git");if(Jb.default.existsSync(r))break;i=gl.default.dirname(i)}return e}function kve(t){if(t)try{let i=(0,wK.createRequire)(t)("prettier");if(i)return i}catch{}return Sve()}async function zo(t,e,i,n){try{let r=gl.default.resolve(t,n??"file.tsx"),s=kve(r);if(!s)return e;if(n){let A=Fve(r);if((await s.getFileInfo(r,{ignorePath:A.length>0?A:void 0})).ignored)return e}let o=await s.resolveConfig(r);return await s.format(e,{...o,filepath:n,parser:i})}catch{return e}}var wK,gl,Jb,Uf,CB=T(()=>{"use strict";f();wK=require("node:module"),gl=ee(require("node:path"),1),Jb=ee(require("node:fs"),1)});var jb,ag,IB,EB,bK,dl,Yb,$b,ml,SK,Ag=T(()=>{"use strict";f();jb="preview-url",ag="framework",IB="platform",EB="node",bK="/~builder-connect",dl="/~builder-connected",Yb="/~builder-dev-tools",$b="/~builder-dev-tools.js",ml="/~builder-dev-tools-close",SK="/mappings"});var BB=b((Agt,FK)=>{"use strict";f();var qb={to(t,e){return e?`\x1B[${e+1};${t+1}H`:`\x1B[${t+1}G`},move(t,e){let i="";return t<0?i+=`\x1B[${-t}D`:t>0&&(i+=`\x1B[${t}C`),e<0?i+=`\x1B[${-e}A`:e>0&&(i+=`\x1B[${e}B`),i},up:(t=1)=>`\x1B[${t}A`,down:(t=1)=>`\x1B[${t}B`,forward:(t=1)=>`\x1B[${t}C`,backward:(t=1)=>`\x1B[${t}D`,nextLine:(t=1)=>"\x1B[E".repeat(t),prevLine:(t=1)=>"\x1B[F".repeat(t),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},Rve={up:(t=1)=>"\x1B[S".repeat(t),down:(t=1)=>"\x1B[T".repeat(t)},Nve={screen:"\x1B[2J",up:(t=1)=>"\x1B[1J".repeat(t),down:(t=1)=>"\x1B[J".repeat(t),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(t){let e="";for(let i=0;i<t;i++)e+=this.line+(i<t-1?qb.up():"");return t&&(e+=qb.left),e}};FK.exports={cursor:qb,scroll:Rve,erase:Nve,beep:"\x07"}});var Ti=b((ugt,zb)=>{f();var yB=process||{},kK=yB.argv||[],QB=yB.env||{},Tve=!(QB.NO_COLOR||kK.includes("--no-color"))&&(!!QB.FORCE_COLOR||kK.includes("--color")||yB.platform==="win32"||(yB.stdout||{}).isTTY&&QB.TERM!=="dumb"||!!QB.CI),Mve=(t,e,i=t)=>n=>{let r=""+n,s=r.indexOf(e,t.length);return~s?t+Pve(r,e,i,s)+e:t+r+e},Pve=(t,e,i,n)=>{let r="",s=0;do r+=t.substring(s,n)+i,s=n+e.length,n=t.indexOf(e,s);while(~n);return r+t.substring(s)},RK=(t=Tve)=>{let e=t?Mve:()=>String;return{isColorSupported:t,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m"),blackBright:e("\x1B[90m","\x1B[39m"),redBright:e("\x1B[91m","\x1B[39m"),greenBright:e("\x1B[92m","\x1B[39m"),yellowBright:e("\x1B[93m","\x1B[39m"),blueBright:e("\x1B[94m","\x1B[39m"),magentaBright:e("\x1B[95m","\x1B[39m"),cyanBright:e("\x1B[96m","\x1B[39m"),whiteBright:e("\x1B[97m","\x1B[39m"),bgBlackBright:e("\x1B[100m","\x1B[49m"),bgRedBright:e("\x1B[101m","\x1B[49m"),bgGreenBright:e("\x1B[102m","\x1B[49m"),bgYellowBright:e("\x1B[103m","\x1B[49m"),bgBlueBright:e("\x1B[104m","\x1B[49m"),bgMagentaBright:e("\x1B[105m","\x1B[49m"),bgCyanBright:e("\x1B[106m","\x1B[49m"),bgWhiteBright:e("\x1B[107m","\x1B[49m")}};zb.exports=RK();zb.exports.createColors=RK});function _ve({onlyFirst:t=!1}={}){let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}function HK(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(Lve,"")}function JK(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Gf(t,e={}){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,...e},t=HK(t),t.length===0))return 0;t=t.replace(Kve()," ");let i=e.ambiguousIsNarrow?1:2,n=0;for(let r of t){let s=r.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(Gve.eastAsianWidth(r)){case"F":case"W":n+=2;break;case"A":n+=i;break;default:n+=1}}return n}function jve(){let t=new Map;for(let[e,i]of Object.entries(Mi)){for(let[n,r]of Object.entries(i))Mi[n]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},i[n]=Mi[n],t.set(r[0],r[1]);Object.defineProperty(Mi,e,{value:i,enumerable:!1})}return Object.defineProperty(Mi,"codes",{value:t,enumerable:!1}),Mi.color.close="\x1B[39m",Mi.bgColor.close="\x1B[49m",Mi.color.ansi=NK(),Mi.color.ansi256=TK(),Mi.color.ansi16m=MK(),Mi.bgColor.ansi=NK(Vb),Mi.bgColor.ansi256=TK(Vb),Mi.bgColor.ansi16m=MK(Vb),Object.defineProperties(Mi,{rgbToAnsi256:{value:(e,i,n)=>e===i&&i===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:e=>{let i=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!i)return[0,0,0];let[n]=i;n.length===3&&(n=[...n].map(s=>s+s).join(""));let r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:e=>Mi.rgbToAnsi256(...Mi.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value:e=>{if(e<8)return 30+e;if(e<16)return 90+(e-8);let i,n,r;if(e>=232)i=((e-232)*10+8)/255,n=i,r=i;else{e-=16;let a=e%36;i=Math.floor(e/36)/5,n=Math.floor(a/6)/5,r=a%6/5}let s=Math.max(i,n,r)*2;if(s===0)return 30;let o=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,i,n)=>Mi.ansi256ToAnsi(Mi.rgbToAnsi256(e,i,n)),enumerable:!1},hexToAnsi:{value:e=>Mi.ansi256ToAnsi(Mi.hexToAnsi256(e)),enumerable:!1}}),Mi}function LK(t,e,i){return String(t).normalize().replace(/\r\n/g,`
1
+ var yve=Object.create;var hB=Object.defineProperty;var Dve=Object.getOwnPropertyDescriptor;var xve=Object.getOwnPropertyNames;var vve=Object.getPrototypeOf,wve=Object.prototype.hasOwnProperty;var T=(t,e)=>()=>(t&&(e=t(t=0)),e);var b=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),pl=(t,e)=>{for(var i in e)hB(t,i,{get:e[i],enumerable:!0})},DK=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of xve(e))!wve.call(t,r)&&r!==i&&hB(t,r,{get:()=>e[r],enumerable:!(n=Dve(e,r))||n.enumerable});return t};var ee=(t,e,i)=>(i=t!=null?yve(vve(t)):{},DK(e||!t||!t.__esModule?hB(i,"default",{value:t,enumerable:!0}):i,t)),en=t=>DK(hB({},"__esModule",{value:!0}),t);var f=T(()=>{{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"146408db42af255cab436ca684e24ddafe565288"}}});var vK=b((igt,xK)=>{f();function Hb(t){return t==null?[]:Array.isArray(t)?t:[t]}function bve(t,e,i,n){var r,s=t[e],o=~n.string.indexOf(e)?i==null||i===!0?"":String(i):typeof i=="boolean"?i:~n.boolean.indexOf(e)?i==="false"?!1:i==="true"||(t._.push((r=+i,r*0===0?r:i)),!!i):(r=+i,r*0===0?r:i);t[e]=s==null?o:Array.isArray(s)?s.concat(o):[s,o]}xK.exports=function(t,e){t=t||[],e=e||{};var i,n,r,s,o,a={_:[]},A=0,c=0,u=0,l=t.length;let p=e.alias!==void 0,g=e.unknown!==void 0,d=e.default!==void 0;if(e.alias=e.alias||{},e.string=Hb(e.string),e.boolean=Hb(e.boolean),p)for(i in e.alias)for(n=e.alias[i]=Hb(e.alias[i]),A=0;A<n.length;A++)(e.alias[n[A]]=n.concat(i)).splice(A,1);for(A=e.boolean.length;A-- >0;)for(n=e.alias[e.boolean[A]]||[],c=n.length;c-- >0;)e.boolean.push(n[c]);for(A=e.string.length;A-- >0;)for(n=e.alias[e.string[A]]||[],c=n.length;c-- >0;)e.string.push(n[c]);if(d){for(i in e.default)if(s=typeof e.default[i],n=e.alias[i]=e.alias[i]||[],e[s]!==void 0)for(e[s].push(i),A=0;A<n.length;A++)e[s].push(n[A])}let m=g?Object.keys(e.alias):[];for(A=0;A<l;A++){if(r=t[A],r==="--"){a._=a._.concat(t.slice(++A));break}for(c=0;c<r.length&&r.charCodeAt(c)===45;c++);if(c===0)a._.push(r);else if(r.substring(c,c+3)==="no-"){if(s=r.substring(c+3),g&&!~m.indexOf(s))return e.unknown(r);a[s]=!1}else{for(u=c+1;u<r.length&&r.charCodeAt(u)!==61;u++);for(s=r.substring(c,u),o=r.substring(++u)||A+1===l||(""+t[A+1]).charCodeAt(0)===45||t[++A],n=c===2?[s]:s,u=0;u<n.length;u++){if(s=n[u],g&&!~m.indexOf(s))return e.unknown("-".repeat(c)+s);bve(a,s,u+1<n.length||o,e)}}}if(d)for(i in e.default)a[i]===void 0&&(a[i]=e.default[i]);if(p)for(i in a)for(n=e.alias[i]||[];n.length>0;)a[n.shift()]=a[i];return a}});function Sve(){if(Uf!==void 0)return Uf;try{return Uf=require("prettier"),Uf}catch{return Uf=null,null}}function Fve(t){let e=[],i=gl.default.dirname(t);for(;i!==gl.default.dirname(i);){let n=gl.default.join(i,".prettierignore");Jb.default.existsSync(n)&&e.push(n);let r=gl.default.join(i,".git");if(Jb.default.existsSync(r))break;i=gl.default.dirname(i)}return e}function kve(t){if(t)try{let i=(0,wK.createRequire)(t)("prettier");if(i)return i}catch{}return Sve()}async function zo(t,e,i,n){try{let r=gl.default.resolve(t,n??"file.tsx"),s=kve(r);if(!s)return e;if(n){let A=Fve(r);if((await s.getFileInfo(r,{ignorePath:A.length>0?A:void 0})).ignored)return e}let o=await s.resolveConfig(r);return await s.format(e,{...o,filepath:n,parser:i})}catch{return e}}var wK,gl,Jb,Uf,CB=T(()=>{"use strict";f();wK=require("node:module"),gl=ee(require("node:path"),1),Jb=ee(require("node:fs"),1)});var jb,ag,IB,EB,bK,dl,Yb,$b,ml,SK,Ag=T(()=>{"use strict";f();jb="preview-url",ag="framework",IB="platform",EB="node",bK="/~builder-connect",dl="/~builder-connected",Yb="/~builder-dev-tools",$b="/~builder-dev-tools.js",ml="/~builder-dev-tools-close",SK="/mappings"});var BB=b((Agt,FK)=>{"use strict";f();var qb={to(t,e){return e?`\x1B[${e+1};${t+1}H`:`\x1B[${t+1}G`},move(t,e){let i="";return t<0?i+=`\x1B[${-t}D`:t>0&&(i+=`\x1B[${t}C`),e<0?i+=`\x1B[${-e}A`:e>0&&(i+=`\x1B[${e}B`),i},up:(t=1)=>`\x1B[${t}A`,down:(t=1)=>`\x1B[${t}B`,forward:(t=1)=>`\x1B[${t}C`,backward:(t=1)=>`\x1B[${t}D`,nextLine:(t=1)=>"\x1B[E".repeat(t),prevLine:(t=1)=>"\x1B[F".repeat(t),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},Rve={up:(t=1)=>"\x1B[S".repeat(t),down:(t=1)=>"\x1B[T".repeat(t)},Nve={screen:"\x1B[2J",up:(t=1)=>"\x1B[1J".repeat(t),down:(t=1)=>"\x1B[J".repeat(t),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(t){let e="";for(let i=0;i<t;i++)e+=this.line+(i<t-1?qb.up():"");return t&&(e+=qb.left),e}};FK.exports={cursor:qb,scroll:Rve,erase:Nve,beep:"\x07"}});var Ti=b((ugt,zb)=>{f();var yB=process||{},kK=yB.argv||[],QB=yB.env||{},Tve=!(QB.NO_COLOR||kK.includes("--no-color"))&&(!!QB.FORCE_COLOR||kK.includes("--color")||yB.platform==="win32"||(yB.stdout||{}).isTTY&&QB.TERM!=="dumb"||!!QB.CI),Mve=(t,e,i=t)=>n=>{let r=""+n,s=r.indexOf(e,t.length);return~s?t+Pve(r,e,i,s)+e:t+r+e},Pve=(t,e,i,n)=>{let r="",s=0;do r+=t.substring(s,n)+i,s=n+e.length,n=t.indexOf(e,s);while(~n);return r+t.substring(s)},RK=(t=Tve)=>{let e=t?Mve:()=>String;return{isColorSupported:t,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m"),blackBright:e("\x1B[90m","\x1B[39m"),redBright:e("\x1B[91m","\x1B[39m"),greenBright:e("\x1B[92m","\x1B[39m"),yellowBright:e("\x1B[93m","\x1B[39m"),blueBright:e("\x1B[94m","\x1B[39m"),magentaBright:e("\x1B[95m","\x1B[39m"),cyanBright:e("\x1B[96m","\x1B[39m"),whiteBright:e("\x1B[97m","\x1B[39m"),bgBlackBright:e("\x1B[100m","\x1B[49m"),bgRedBright:e("\x1B[101m","\x1B[49m"),bgGreenBright:e("\x1B[102m","\x1B[49m"),bgYellowBright:e("\x1B[103m","\x1B[49m"),bgBlueBright:e("\x1B[104m","\x1B[49m"),bgMagentaBright:e("\x1B[105m","\x1B[49m"),bgCyanBright:e("\x1B[106m","\x1B[49m"),bgWhiteBright:e("\x1B[107m","\x1B[49m")}};zb.exports=RK();zb.exports.createColors=RK});function _ve({onlyFirst:t=!1}={}){let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}function HK(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(Lve,"")}function JK(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Gf(t,e={}){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,...e},t=HK(t),t.length===0))return 0;t=t.replace(Kve()," ");let i=e.ambiguousIsNarrow?1:2,n=0;for(let r of t){let s=r.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(Gve.eastAsianWidth(r)){case"F":case"W":n+=2;break;case"A":n+=i;break;default:n+=1}}return n}function jve(){let t=new Map;for(let[e,i]of Object.entries(Mi)){for(let[n,r]of Object.entries(i))Mi[n]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},i[n]=Mi[n],t.set(r[0],r[1]);Object.defineProperty(Mi,e,{value:i,enumerable:!1})}return Object.defineProperty(Mi,"codes",{value:t,enumerable:!1}),Mi.color.close="\x1B[39m",Mi.bgColor.close="\x1B[49m",Mi.color.ansi=NK(),Mi.color.ansi256=TK(),Mi.color.ansi16m=MK(),Mi.bgColor.ansi=NK(Vb),Mi.bgColor.ansi256=TK(Vb),Mi.bgColor.ansi16m=MK(Vb),Object.defineProperties(Mi,{rgbToAnsi256:{value:(e,i,n)=>e===i&&i===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:e=>{let i=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!i)return[0,0,0];let[n]=i;n.length===3&&(n=[...n].map(s=>s+s).join(""));let r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:e=>Mi.rgbToAnsi256(...Mi.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value:e=>{if(e<8)return 30+e;if(e<16)return 90+(e-8);let i,n,r;if(e>=232)i=((e-232)*10+8)/255,n=i,r=i;else{e-=16;let a=e%36;i=Math.floor(e/36)/5,n=Math.floor(a/6)/5,r=a%6/5}let s=Math.max(i,n,r)*2;if(s===0)return 30;let o=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,i,n)=>Mi.ansi256ToAnsi(Mi.rgbToAnsi256(e,i,n)),enumerable:!1},hexToAnsi:{value:e=>Mi.ansi256ToAnsi(Mi.hexToAnsi256(e)),enumerable:!1}}),Mi}function LK(t,e,i){return String(t).normalize().replace(/\r\n/g,`
2
2
  `).split(`
3
3
  `).map(n=>Wve(n,e,i)).join(`
4
4
  `)}function iS(t,e){if(typeof t=="string")return xB.aliases.get(t)===e;for(let i of t)if(i!==void 0&&iS(i,e))return!0;return!1}function Xve(t,e){if(t===e)return;let i=t.split(`
@@ -73,7 +73,7 @@ ${ZK}${n.trimStart()}`),i=3+(0,fl.stripVTControlCharacters)(n.trimStart()).lengt
73
73
  `),d(),r()};return{start:I,stop:B,message:(E="")=>{a=h(E??a)}}}});function Ut(t,e=""){return t.ts.createSourceFile("module.tsx",typeof e=="string"?e:"",t.ts.ScriptTarget.Latest,void 0)}function RB(t,e=""){let i=Ut(t,e?.trim());if(i.statements.length===0)throw new Error(`No statements found in code: ${e}`);return i.statements[0]}function Un(t,e,i){if(e){let n=t.ts.createPrinter({newLine:t.ts.NewLineKind.LineFeed,removeComments:i});return t.ts.isSourceFile(e)?n.printFile(e).trim()+`
74
74
  `:n.printNode(t.ts.EmitHint.Unspecified,e,t.ts.createSourceFile("module.tsx","",t.ts.ScriptTarget.Latest)).trim()+`
75
75
  `}return""}var qi=T(()=>{"use strict";f()});var oH=b((vgt,sH)=>{"use strict";f();sH.exports=function(){if(process.env.npm_config_user_agent)return fwe(process.env.npm_config_user_agent)};function fwe(t){let e=t.split(" ")[0],i=e.lastIndexOf("/"),n=e.substring(0,i);return{name:n==="npminstall"?"cnpm":n,version:e.substring(i+1)}}});function Jr(t){return t.endsWith(".mapper.tsx")||t.endsWith(".mapper.jsx")||t.endsWith(".mapper.ts")||t.endsWith(".mapper.js")||t.endsWith(".mapper.mjs")}function Gt(t,e,i){e=Vo(e),i=Vo(i),e=t.dirname(e);let n=t.basename(i,t.extname(i));i=t.dirname(i);let r;return n==="index"?r=t.relative(e,i):r=t.relative(e,t.join(i,n)),r=Vo(t.normalize(r)),r.startsWith(".")||(r="./"+r),r}function Vo(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}function Cl(t,e){let i=t.extname(e),n=t.basename(e,i).split(/[\/\\]/),r=n[n.length-1];return aH(r==="index"?t.basename(t.dirname(e)):r)}function aH(t){return Ci(t).replace(/ /g,"")}function ro(t,e){let i=t.extname(e),n=Vo(t.basename(e,i)).split("/").pop();return Ci(n==="index"?t.basename(t.dirname(e)):n)}function Ii(t,e){let i=Vo(t.relative(t.getAppRootDir(),e));i=i.split("/").filter(r=>r!=="."&&r!==".."&&r!=="").join("/"),i.endsWith(".tsx")||i.endsWith(".jsx")?i=i.slice(0,-4):(i.endsWith(".ts")||i.endsWith(".js"))&&(i=i.slice(0,-3));let n=t.getFrameworks();return i.startsWith("src/")&&(i=i.slice(4)),n.some(r=>r.name.includes("next"))?"@/"+i:"~/"+i}function Xt(t,e){let i=e,n=[];for(let r=0;r<2;r++){let s=t.basename(i);if(!s||s==="components")break;n.unshift(s),i=t.dirname(i)}return n.join("/")}function Ci(t){for(t=t.replace(/([A-Z])/g," $1").replace(/\./g," ").replace(/_/g," ").replace(/-/g," ").replace(/\s/g," ").trim();t.includes(" ");)t=t.replace(/ /g," ");return t.split(" ").map(e=>e.length>2?e[0].toUpperCase()+e.slice(1):e).join("").trim()}function ds(t){return t.sort((e,i)=>e.name.toLocaleLowerCase().localeCompare(i.name.toLocaleLowerCase()))}async function gi(t,e,i,n){if(typeof i!="string"||i==="")throw new Error(`getComponentId(), exportName must be a non-empty string, received: ${i}, ${e}`);return n&&(e=n),e=t.normalize(e),(await t.hash(e+"#"+i)).substring(0,8)}async function cH(t){return(await t.hash(t.getAppRootDir())).substring(0,8)}function Kf(t){return typeof t=="number"}function lg(t){return typeof t=="boolean"}function jr(t){return typeof t=="string"}function pg(t){return typeof t=="string"?/^[A-Z][A-Za-z0-9]*$/.test(t):!1}function _s(t){return JSON.parse(JSON.stringify(t))}function NB(t,e,i){for(let n of e)if(t.dirname(i).includes(n))return!0;return!1}function uH(){try{let t=(0,AH.default)();if(t?.name)return t.name}catch{}return"npm"}function hwe(){return process.platform.startsWith("win")}function oi(){return process.pkg?"@builder.io/agent":hwe()?'"@builder.io/dev-tools"':"builder.io"}function AS(t){return t.replace(/[^a-zA-Z0-9-_]/g,"_")}var AH,Rt=T(()=>{"use strict";f();AH=ee(oH(),1)});function Yr(t){let e=t.join(t.getAppRootDir(),"tsconfig.json");return t.exists(e)}async function ms(t,e){async function i(r,s){if(s>10)return;let o=await t.readdir(r);for(let a of o){if(Cwe.includes(a))continue;let A=t.join(r,a),c=await t.stat(A);if(c){if(c.isFile()&&a.startsWith("builder-registry."))return A;if(c.isDirectory()){let u=await i(A,s+1);if(u)return u}}}}let n=await i(t.getAppRootDir(),0);if(!n){let s=`builder-registry.${await Yr(t)?"ts":"js"}`;return t.join(e,s)}return n}async function Wo(t,e){let i=t.resolve("/");for(let n=0;n<20;n++){let r=t.join(e,"package.json"),s=await t.readFile(r);if(s)return JSON.parse(s);if(e===i)break;e=t.dirname(e)}return null}async function lH(t,e){for(let i=0;i<20;i++){let n=t.dirname(e),r=t.join(n,"node_modules");if(await t.exists(r))return r;if(e===t.getAppRootDir())break;e=t.dirname(e)}return t.join(t.getAppRootDir(),"node_modules")}async function Hf(t,e,i){let n=await t.readdir(e);return n.includes(i)?t.join(e,i):(await Promise.all(n.map(async s=>{if(s.startsWith(".")||s==="node_modules")return;let o=t.join(e,s);if((await t.stat(o)).isDirectory()){let A=await Hf(t,o,i);if(A)return A}}))).find(s=>typeof s=="string")}var Cwe,xr=T(()=>{"use strict";f();Cwe=["node_modules","dist","build","public"]});async function Sn(t,e,i){if(!Array.isArray(e)||e.length===0)throw new Error(`createTsProgram() Invalid filePaths: ${e}`);let n=await lH(t,e[0]),r=t.join(n,"typescript","lib"),s=new Map,o={fileExists:a=>{if(a=t.normalize(a),a.includes("node_modules")){let A=Jf.get(a);if(!A){try{t.statSync(a).isFile()?A={exists:!0,content:t.readFileSync(a)}:A={exists:!1}}catch{A={exists:!1}}Jf.set(a,A)}return A.exists}if(!s.has(a))if(t.existsSync(a)){let c=t.statSync(a);s.set(a,c.isFile())}else s.set(a,!1);return s.get(a)},getCanonicalFileName:a=>t.normalize(a),getCurrentDirectory:()=>t.cwd(),getDefaultLibFileName:()=>t.join(r,"lib.d.ts"),getDefaultLibLocation:()=>r,getNewLine:()=>`
76
- `,getSourceFile:a=>{if(a=t.normalize(a),a.includes("node_modules")){let c=Jf.get(a);if(c)return Ut(t,c.content)}let A;try{A=t.readFileSync(a)}catch{console.error(`Could not read: ${a}`),A==null}if(A==null){let c=t.basename(a),u=t.extname(c).toLowerCase();if(a.startsWith(r)&&u===".ts"&&(A=gH.get(c),A==null&&typeof self<"u"&&typeof fetch=="function"))throw new MB(c)}return a.includes("node_modules")&&(A?Jf.set(a,{exists:!0,content:A}):Jf.set(a,{exists:!1})),Ut(t,A)},readFile:a=>{let A=t.readFileSync(a);return typeof A=="string"?A:void 0},useCaseSensitiveFileNames:()=>!1,writeFile:()=>{}};for(;;)try{return Iwe(t,o,e,i)}catch(a){if(a instanceof MB){await Ewe(t,a.libName);continue}throw t.Sentry?.captureException(a),new Error(`createTsProgram() Could not create program for: ${e[0]}`,{cause:a})}}function Iwe(t,e,i,n){let r={rootNames:[...i],host:e,options:{}},s=t.ts.findConfigFile(t.dirname(i[0]),o=>t.existsSync(o));if(s){let o=pH.get(s);if(!o){let a=t.ts.readConfigFile(s,A=>{let c=t.readFileSync(A);return typeof c=="string"?c:void 0});a.error?t.Sentry?.captureException(new Error("Error reading tsconfig for createTsProgram"),{extra:{error:a.error,tsConfigPath:s}}):(o=t.ts.parseJsonConfigFileContent(a.config,t.ts.sys||{useCaseSensitiveFileNames:!1,readDirectory:(c,u)=>t.readdirSync(c),fileExists:c=>t.existsSync(c),readFile:c=>t.readFileSync(c)||void 0},t.dirname(s),void 0,s).options,pH.set(s,o))}o&&(r.options=_s(o))}return r.options.noEmit=!0,r.options.isolatedModules=!1,r.options.strict=!1,r.options.jsx=t.ts.JsxEmit.Preserve,r.options.allowJs=!0,Object.assign(r.options,n),t.ts.createProgram(r)}async function gg(t,e,i){i||(i=await Sn(t,[e]));let n=i.getSourceFile(e);if(!n)throw new Error(`getTypeChecker() Could not find source file: ${e}`);return{typeChecker:i.getTypeChecker(),sourceFile:n}}async function Ewe(t,e){let i=`https://cdn.jsdelivr.net/npm/typescript@${t.ts.version}/lib/${e}`;TB.has(e)||TB.set(e,fetch(i).then(n=>n.text()).then(n=>{gH.set(e,n)})),await TB.get(e),TB.delete(e)}async function dH(t,e){let i=await t.readFile(e.filePath);return i==null?{diagnostics:[{messageText:`Error reading: ${e.filePath}`}],code:null,output:null}:cS(t,{code:i,filePath:e.filePath,compilerOptions:e.compilerOptions})}function cS(t,e){let i={diagnostics:[],code:e.code,output:null};try{let n=t.ts.transpileModule(e.code,{compilerOptions:e.compilerOptions,fileName:e.filePath??"module.tsx",reportDiagnostics:!0});n.diagnostics?.forEach(r=>{i.diagnostics.push({messageText:String(r.messageText)})}),i.output=n.outputText}catch(n){console.error("transpileModule",n),i.diagnostics.push({messageText:String(n)})}return i}var MB,gH,TB,Jf,pH,so=T(()=>{"use strict";f();qi();Rt();xr();MB=class{libName;constructor(e){this.libName=e}};gH=new Map,TB=new Map,Jf=new Map,pH=new Map});var Bwe,lt,ln=T(()=>{"use strict";f();Bwe="1.30.2-beta.202603091820.6674dc7",lt=process.env.OVERRIDE_VERSION??Bwe});async function Il(t){let e=[],i=await Wo(t,t.getRepoRootDir());if(i){let n=await fH(i,t);e.push(...n)}return e}async function fH(t,e){let i=[];if(t&&typeof t=="object"){let n=new Set(Object.keys({...t.dependencies,...t.devDependencies}));for(let r of Qwe)if(n.has(r)&&!i.some(s=>s.name===r)){let s={name:r};mH.has(r)&&(s.version=await mH.get(r)(e)),i.push(s)}}return i}function uS(t){let e=parseInt(t);return Number.isNaN(e)?void 0:e}var mH,Qwe,El=T(()=>{"use strict";f();xr();Rt();mH=new Map([["next",async t=>{if(!t.spawnSync)return;let e=uH(),i=e==="npm"?"npx":e,{stdout:n}=t.spawnSync(i,["next","-v"],{encoding:"utf8"});if(!n)return;let r=n.match(/(Next.js v)([\d.]+)/g);if(!r)return;let s=r[0].split("Next.js v")[1],[o,a,A]=s.split(".");return{major:uS(o),minor:uS(a),patch:uS(A)}}]]),Qwe=["@shopify/remix-oxygen","@shopify/hydrogen","@builder.io/qwik-city","@remix-run/react","@sveltejs/kit","astro","gatsby","next","nuxt","@builder.io/qwik","@angular/core","react","solid-js","svelte","vue"]});async function oo(t){let e=hH(t),i=await t.readFile(e);return typeof i=="string"?JSON.parse(i):{}}async function ao(t,e){e=typeof e=="object"&&e!=null?e:{};let i=hH(t);await t.writeFile(i,JSON.stringify(e??{},null,2))}function hH(t){let e=t.getAppRootDir();return t.join(e,"node_modules",".builder","builder-cache.json")}var Bl=T(()=>{"use strict";f()});async function _a(t,e,i){let n={envKey:i,envValue:null,file:""};for(let r of e){let s=t.join(t.getAppRootDir(),r),o=await ywe(t,s);if(o){let a=o[i];if(typeof a=="string"&&a.length>0&&a!=="YOUR_API_KEY")return n.envValue=a,n.file=s,n}}return n.file=t.join(t.getAppRootDir(),e[e.length-1]),n}async function ywe(t,e){let i=await t.readFile(e);return typeof i=="string"?CH(i):null}function CH(t){let e={},i=t.replace(/\r\n?/gm,`
76
+ `,getSourceFile:a=>{if(a=t.normalize(a),a.includes("node_modules")){let c=Jf.get(a);if(c)return Ut(t,c.content)}let A;try{A=t.readFileSync(a)}catch{console.error(`Could not read: ${a}`),A==null}if(A==null){let c=t.basename(a),u=t.extname(c).toLowerCase();if(a.startsWith(r)&&u===".ts"&&(A=gH.get(c),A==null&&typeof self<"u"&&typeof fetch=="function"))throw new MB(c)}return a.includes("node_modules")&&(A?Jf.set(a,{exists:!0,content:A}):Jf.set(a,{exists:!1})),Ut(t,A)},readFile:a=>{let A=t.readFileSync(a);return typeof A=="string"?A:void 0},useCaseSensitiveFileNames:()=>!1,writeFile:()=>{}};for(;;)try{return Iwe(t,o,e,i)}catch(a){if(a instanceof MB){await Ewe(t,a.libName);continue}throw t.Sentry?.captureException(a),new Error(`createTsProgram() Could not create program for: ${e[0]}`,{cause:a})}}function Iwe(t,e,i,n){let r={rootNames:[...i],host:e,options:{}},s=t.ts.findConfigFile(t.dirname(i[0]),o=>t.existsSync(o));if(s){let o=pH.get(s);if(!o){let a=t.ts.readConfigFile(s,A=>{let c=t.readFileSync(A);return typeof c=="string"?c:void 0});a.error?t.Sentry?.captureException(new Error("Error reading tsconfig for createTsProgram"),{extra:{error:a.error,tsConfigPath:s}}):(o=t.ts.parseJsonConfigFileContent(a.config,t.ts.sys||{useCaseSensitiveFileNames:!1,readDirectory:(c,u)=>t.readdirSync(c),fileExists:c=>t.existsSync(c),readFile:c=>t.readFileSync(c)||void 0},t.dirname(s),void 0,s).options,pH.set(s,o))}o&&(r.options=_s(o))}return r.options.noEmit=!0,r.options.isolatedModules=!1,r.options.strict=!1,r.options.jsx=t.ts.JsxEmit.Preserve,r.options.allowJs=!0,Object.assign(r.options,n),t.ts.createProgram(r)}async function gg(t,e,i){i||(i=await Sn(t,[e]));let n=i.getSourceFile(e);if(!n)throw new Error(`getTypeChecker() Could not find source file: ${e}`);return{typeChecker:i.getTypeChecker(),sourceFile:n}}async function Ewe(t,e){let i=`https://cdn.jsdelivr.net/npm/typescript@${t.ts.version}/lib/${e}`;TB.has(e)||TB.set(e,fetch(i).then(n=>n.text()).then(n=>{gH.set(e,n)})),await TB.get(e),TB.delete(e)}async function dH(t,e){let i=await t.readFile(e.filePath);return i==null?{diagnostics:[{messageText:`Error reading: ${e.filePath}`}],code:null,output:null}:cS(t,{code:i,filePath:e.filePath,compilerOptions:e.compilerOptions})}function cS(t,e){let i={diagnostics:[],code:e.code,output:null};try{let n=t.ts.transpileModule(e.code,{compilerOptions:e.compilerOptions,fileName:e.filePath??"module.tsx",reportDiagnostics:!0});n.diagnostics?.forEach(r=>{i.diagnostics.push({messageText:String(r.messageText)})}),i.output=n.outputText}catch(n){console.error("transpileModule",n),i.diagnostics.push({messageText:String(n)})}return i}var MB,gH,TB,Jf,pH,so=T(()=>{"use strict";f();qi();Rt();xr();MB=class{libName;constructor(e){this.libName=e}};gH=new Map,TB=new Map,Jf=new Map,pH=new Map});var Bwe,lt,ln=T(()=>{"use strict";f();Bwe="1.31.0-beta.202603091834.146408d",lt=process.env.OVERRIDE_VERSION??Bwe});async function Il(t){let e=[],i=await Wo(t,t.getRepoRootDir());if(i){let n=await fH(i,t);e.push(...n)}return e}async function fH(t,e){let i=[];if(t&&typeof t=="object"){let n=new Set(Object.keys({...t.dependencies,...t.devDependencies}));for(let r of Qwe)if(n.has(r)&&!i.some(s=>s.name===r)){let s={name:r};mH.has(r)&&(s.version=await mH.get(r)(e)),i.push(s)}}return i}function uS(t){let e=parseInt(t);return Number.isNaN(e)?void 0:e}var mH,Qwe,El=T(()=>{"use strict";f();xr();Rt();mH=new Map([["next",async t=>{if(!t.spawnSync)return;let e=uH(),i=e==="npm"?"npx":e,{stdout:n}=t.spawnSync(i,["next","-v"],{encoding:"utf8"});if(!n)return;let r=n.match(/(Next.js v)([\d.]+)/g);if(!r)return;let s=r[0].split("Next.js v")[1],[o,a,A]=s.split(".");return{major:uS(o),minor:uS(a),patch:uS(A)}}]]),Qwe=["@shopify/remix-oxygen","@shopify/hydrogen","@builder.io/qwik-city","@remix-run/react","@sveltejs/kit","astro","gatsby","next","nuxt","@builder.io/qwik","@angular/core","react","solid-js","svelte","vue"]});async function oo(t){let e=hH(t),i=await t.readFile(e);return typeof i=="string"?JSON.parse(i):{}}async function ao(t,e){e=typeof e=="object"&&e!=null?e:{};let i=hH(t);await t.writeFile(i,JSON.stringify(e??{},null,2))}function hH(t){let e=t.getAppRootDir();return t.join(e,"node_modules",".builder","builder-cache.json")}var Bl=T(()=>{"use strict";f()});async function _a(t,e,i){let n={envKey:i,envValue:null,file:""};for(let r of e){let s=t.join(t.getAppRootDir(),r),o=await ywe(t,s);if(o){let a=o[i];if(typeof a=="string"&&a.length>0&&a!=="YOUR_API_KEY")return n.envValue=a,n.file=s,n}}return n.file=t.join(t.getAppRootDir(),e[e.length-1]),n}async function ywe(t,e){let i=await t.readFile(e);return typeof i=="string"?CH(i):null}function CH(t){let e={},i=t.replace(/\r\n?/gm,`
77
77
  `),n;for(;(n=Dwe.exec(i))!=null;){let r=n[1],s=n[2]||"";s=s.trim();let o=s[0];s=s.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),o==='"'&&(s=s.replace(/\\n/g,`
78
78
  `),s=s.replace(/\\r/g,"\r")),e[r]=s}return e}async function La(t,e,i,n){let r="# https://www.builder.io/c/docs/using-your-api-key",s=await t.readFile(e);try{if(s)if(s.includes(i))if(s.includes(n))t.debug(`"${i}" with "${n}" already set in ${e}`);else return t.debug(`Replace "${i}" in ${e}`),s=s.replace(new RegExp(`${i}=.*`),`${i}=${n}`),await t.writeFile(e,s),"update";else return t.debug(`Append "${i}" to ${e}`),s+=`
79
79
 
@@ -833,20 +833,20 @@ export const CUSTOM_COMPONENTS: RegisteredComponent[] = [
833
833
  production: false,
834
834
  builderApiKey: "${n}",
835
835
  };
836
- `.trimStart(),o=await t.formatCode(e,s);return await t.writeFile(e,o),"create"}return null}var HB,JB=T(()=>{"use strict";f();qi();hs();HB="builderApiKey"});async function JJ(t,e){let i=[],n=e.getSourceFiles(),r=e.getTypeChecker();return await Promise.all(n.map(async s=>{let o=t.basename(s.fileName);if(DSe(t,s.fileName)||o.startsWith(".")||o==="node_modules"||QSe.has(o))return;let a=t.normalize(s.fileName);if(a===t.registryPath)return;let A=await jB(t,r,a,s);i.push(...A)})),i.sort((s,o)=>s.cmpInfo.name.localeCompare(o.cmpInfo.name))}function DSe(t,e){for(let i of ySe)if(t.dirname(e).includes(i))return!0;return!1}async function jJ(t,e){let i=t.extname(e).toLowerCase();if(i===".tsx"||i===".jsx"||i===".ts"||i===".js"){let n=await t.readFile(e);if(n)return xSe(t,e,n)}return null}function xSe(t,e,i){let n=Ut(t,i);return jB(t,null,e,n)}async function jB(t,e,i,n){let r=[],s={};i=t.normalize(i);let o=n.statements.filter(u=>t.ts.isClassDeclaration(u)&&FSe(t,u)),a=n.statements.find(u=>t.ts.isImportDeclaration(u)&&t.ts.isStringLiteral(u.moduleSpecifier)&&u.moduleSpecifier.text==="@angular/core");if(a&&t.ts.isImportDeclaration(a)){let u=a.importClause?.namedBindings;if(u&&t.ts.isNamedImports(u)){let l=u.elements.find(p=>(p.propertyName??p.name).text==="input");l&&(s.inputSignalImportName=l.name.text)}}let A=await wSe(t,e,i,n),c=kSe(t,n);return await Promise.all(o.map(async u=>{let l=await vSe(t,e,i,u,c,s);r.push(...l)})),r.push(...A),r}async function PS(t,e,i){if(e.node.fnNode){let{sourceFile:n,typeChecker:r}=await gg(t,e.cmpInfo.filePath,i),o=(await jB(t,r,e.cmpInfo.filePath,n)).find(a=>a.cmpInfo.id===e.cmpInfo.id);if(!o)throw new Error(`Could not find component ${e.cmpInfo.name} in ${e.cmpInfo.filePath}`);return o.cmpInfo.inputs}return[]}async function YJ(t,e,i){let n=await Sn(t,i.map(o=>o.filePath)),r=n.getTypeChecker();return await Promise.all(i.filter(o=>!(o.name.endsWith("Page")||o.name.endsWith("Module")||o.name==="AppComponent")).map(async o=>{if(!o.isRegistered){let a=n.getSourceFile(o.filePath);if(a){let c=(await jB(t,r,o.filePath,a)).find(u=>u.cmpInfo.id===o.id);if(c){o.inputs=yl(t,r,c.node.fnNode);let u=e.find(l=>l.cmpInfo.id===o.id);if(u){let l=await PS(t,u,n);Ls(o,l)}}}}return o}))}async function vSe(t,e,i,n,r,s){let o=[],a=t.relative(t.getAppRootDir(),i),A=Ii(t,i),c=n.name?.text;if(!c)return o;let u=!1;n.modifiers&&(u=n.modifiers.some(d=>d.kind===t.ts.SyntaxKind.DefaultKeyword));let l=u?"default":c,p=u?"default":"named",g=[];return n.members.forEach(d=>{if(t.ts.isPropertyDeclaration(d)||t.ts.isGetAccessor(d)||t.ts.isSetAccessor(d)){let C=(t.ts.getDecorators(d)??[]).find(B=>bSe(t,B))!==void 0&&t.ts.isIdentifier(d.name),I=s?.inputSignalImportName!==void 0&&t.ts.isIdentifier(d.name)&&SSe(t,d,s.inputSignalImportName);if(C||I){let B="any";if(t.ts.isSetAccessor(d))B=HJ(t,d.parameters[0].type);else if(d.type&&e){let Q=e.getTypeAtLocation(d.type);B=e.typeToString(Q)}else B=HJ(t,d.type);let E={name:d.name.text,type:r[B]?"string":B};r[B]&&(E.enum=r[B]),g.push(E)}}}),o.push({cmpInfo:{id:await gi(t,i,c),displayFilePath:Xt(t,i),name:Ci(c),inputs:g,exportName:l,exportType:p,importName:c,filePath:i,relFilePath:a,importPath:A,meta:{...NSe(t,n)},framework:"angular"},node:{name:c,fnNode:n,deps:void 0}}),o}async function wSe(t,e,i,n){let r=[],s=t.relative(t.getAppRootDir(),i),o=Ii(t,i);for(let a of n.statements)if(t.ts.isExportDeclaration(a)&&a.exportClause&&t.ts.isNamedExports(a.exportClause))for(let A of a.exportClause.elements){let c=A.name?.text;if(!c)continue;let u=c,l="named",p=[];if(e){let m=e.getSymbolAtLocation(A.name);if(m){let h=e.getDeclaredTypeOfSymbol(m);e.getPropertiesOfType(h).forEach(I=>{let B=I.getDeclarations();B&&B.forEach(E=>{if(t.ts.isPropertyDeclaration(E)){let Q=e.getTypeAtLocation(E),y={name:I.getName(),type:RSe(t,e,Q)};p.push(y)}})})}}let g=t.ts.isExportSpecifier(A)&&A.parent?A.parent.parent:void 0,d;if(g){let m=g.moduleSpecifier;if(m&&t.ts.isStringLiteral(m)){let h=e?.getSymbolAtLocation(m);if(h&&h.declarations&&h.declarations.length>0){let C=h.declarations[0];(!t.ts.isSourceFile(C)||t.ts.isSourceFile(C)&&C.fileName.includes("node_modules"))&&(d=m.text)}}}r.push({cmpInfo:{id:await gi(t,i,c,d),displayFilePath:Xt(t,i),name:Ci(c),inputs:p,exportName:u,exportType:l,importName:c,filePath:i,relFilePath:s,importPath:d||o,externalImportPath:d,framework:"angular"},node:{name:c,fnNode:A,deps:void 0}})}else if(t.ts.isExportDeclaration(a)&&!a.exportClause&&a.moduleSpecifier&&t.ts.isStringLiteral(a.moduleSpecifier)){let A=a.moduleSpecifier.text;if(e)try{let c=e.getSymbolAtLocation(a.moduleSpecifier);if(c&&c.exports){let u=e.getExportsOfModule(c);for(let l of u)if(l.flags&t.ts.SymbolFlags.Class){let p=l.getName();if(p.startsWith("_"))continue;r.push({cmpInfo:{id:await gi(t,i,p,A),displayFilePath:Xt(t,i),name:Ci(p),inputs:[],exportName:p,exportType:"named",importName:p,filePath:i,relFilePath:s,importPath:A,externalImportPath:A,framework:"angular"},node:{name:p,fnNode:a,deps:void 0}})}}}catch(c){console.warn(`Error processing star export from ${A}:`,c)}}return r}function bSe(t,e){return $J(t,e,"Input")}function SSe(t,e,i){return t.ts.isPropertyDeclaration(e)&&e.initializer!==void 0&&t.ts.isCallExpression(e.initializer)&&t.ts.isIdentifier(e.initializer.expression)&&e.initializer.expression.text===i}function $J(t,e,i){if(t.ts.isCallExpression(e.expression)){let n=e.expression;if(t.ts.isIdentifier(n.expression))return n.expression?.text===i}return!1}function FSe(t,e){return!!t.ts.getDecorators(e)?.some(r=>t.ts.isCallExpression(r.expression)&&t.ts.isIdentifier(r.expression.expression)&&r.expression.expression.text==="Component")}function HJ(t,e){if(!e)return"any";let i="any";switch(e.kind){case t.ts.SyntaxKind.StringKeyword:i="string";break;case t.ts.SyntaxKind.NumberKeyword:i="number";break;case t.ts.SyntaxKind.BooleanKeyword:i="boolean";break;case t.ts.SyntaxKind.TypeReference:t.ts.isTypeReferenceNode(e)&&t.ts.isIdentifier(e.typeName)&&(i=e.typeName.text);break}return i.includes("|")?"string":i}function kSe(t,e){let i={};return t.ts.forEachChild(e,n=>{t.ts.isTypeAliasDeclaration(n)&&t.ts.isUnionTypeNode(n.type)&&n.type.types.every(r=>t.ts.isLiteralTypeNode(r)&&t.ts.isStringLiteral(r.literal))&&(i[n.name.text]=n.type.types.map(r=>r.literal.text))}),i}function RSe(t,e,i){let n=e.typeToString(i);if(n==="any"){let r=i.getSymbol();if(r){let s=r.getDeclarations();if(s&&s.length>0){let o=s[0];if(t.ts.isVariableDeclaration(o)){let a=o.type;a&&(n=e.typeToString(e.getTypeAtLocation(a)))}}}}return n}function NSe(t,e){let{getDecorators:i,isCallExpression:n,isIdentifier:r,isObjectLiteralExpression:s,isPropertyAssignment:o,isStringLiteral:a,SyntaxKind:A}=t.ts,c,u;return i(e)?.forEach(p=>{if($J(t,p,"Component")){let{expression:g}=p;if(n(g)){let[d]=g.arguments;s(d)&&d.properties.forEach(m=>{o(m)&&r(m.name)&&(m.name.escapedText==="selector"&&a(m.initializer)&&(c=m.initializer.text),m.name.escapedText==="standalone"&&(u=m.initializer.kind===A.TrueKeyword))})}}}),{selector:c,standalone:u}}var QSe,ySe,YB=T(()=>{"use strict";f();qi();Rt();so();Vf();$r();QSe=new Set([]),ySe=new Set(["node_modules"])});async function $B(t,e,i){let n=t.typescriptEnabled?".ts":".js",r=`app.module${n}`,s=t.join(t.appDir,r),o=await t.readFile(s);if(!o){t.Sentry?.captureException(new Error(`Unable to read app.module.${n} at ${s}`),{extra:{appModuleCode:o,appModulePath:s}});return}let a=await TSe(t,s,e,i,o);if(!a){t.Sentry?.captureException(new Error(`Unable to update app.module.${n} at ${s}`),{extra:{appModuleCode:o,appModulePath:s}});return}return await t.writeFile(s,a),s}async function TSe(t,e,i,n,r){let s=r,o=Ut(t,r),a=Gt(t,e,n);o=Jt(t,o,{namedImports:[i],importPath:a}),o=Jt(t,o,{namedImports:["Content"],importPath:"@builder.io/sdk-angular"});let A=[];for(let c of o.statements)if(t.ts.isClassDeclaration(c)&&c.name?.text==="AppModule"){let u=MSe(t,i,c);A.push(u)}else A.push(c);return o=t.ts.factory.updateSourceFile(o,A),s=Un(t,o),s}function MSe(t,e,i){let n=t.ts.getDecorators(i);if(n){for(let r of n)if(t.ts.isCallExpression(r.expression)&&t.ts.isIdentifier(r.expression.expression)&&r.expression.expression.text==="NgModule"){let s=r.expression.arguments;if(s.length===1&&t.ts.isObjectLiteralExpression(s[0])){let o=qJ(t,s[0],"declarations",e);if(o){let a=qJ(t,o,"imports","Content");if(a&&(o=a),o){let A=t.ts.factory.updateDecorator(r,t.ts.factory.updateCallExpression(r.expression,r.expression.expression,r.expression.typeArguments,[o])),u=[...n.map(l=>l===r?A:l),...t.ts.getModifiers(i)||[]];return t.ts.factory.updateClassDeclaration(i,u,i.name,i.typeParameters,i.heritageClauses,i.members)}}}}}return i}function qJ(t,e,i,n){let r=[...e.properties],s=r.findIndex(a=>ni(t,a)===i);if(s>-1){let a=r[s];if(t.ts.isPropertyAssignment(a)&&a.initializer&&t.ts.isArrayLiteralExpression(a.initializer)){let A=zJ(t,a.initializer,n);return A?(r[s]=t.ts.factory.updatePropertyAssignment(a,a.name,A),t.ts.factory.updateObjectLiteralExpression(e,r)):null}return null}let o=zJ(t,t.ts.factory.createArrayLiteralExpression([],!0),n);return o?t.ts.factory.updateObjectLiteralExpression(e,[...r,t.ts.factory.createPropertyAssignment(i,o)]):null}function zJ(t,e,i){return e.elements.some(r=>t.ts.isIdentifier(r)?r.text===i:!1)?null:t.ts.factory.updateArrayLiteralExpression(e,[...e.elements,t.ts.factory.createIdentifier(i)])}var VJ=T(()=>{"use strict";f();qi();Zo();Rt();Ga()});async function _S(t,e,i,n){let s=`app.routes${t.typescriptEnabled?".ts":".js"}`,o=t.join(t.appDir,s);try{if(t.magicast){let a=await t.magicast.loadFile(o);Object.keys(a.exports).length===0&&(a.exports.routes=[]);let c=Object.keys(a.exports)[0],u=a.exports[c];if(u.find(p=>p.path===e))return;let l=t.magicast.builders.raw("{}");if(l.path=e,l.component=t.magicast.builders.raw(i),u.push(l),a.imports.$items.find(p=>p.imported===i))return;a.imports.$append({imported:i,from:n}),await t.magicast.writeFile(a,o)}}catch(a){let A=null;try{A=t.readFileSync(o)}catch(c){t.Sentry?.captureException(c,{level:"warning"})}t.Sentry?.captureException(a,{extra:{content:A,appRoutesPath:o,componentName:i,componentPath:n}})}}var WJ=T(()=>{"use strict";f()});var ZJ=b((cIt,qB)=>{f();qB.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;qB.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;qB.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\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\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});var US=b((lIt,XJ)=>{f();var LS=ZJ();XJ.exports={isSpaceSeparator(t){return typeof t=="string"&&LS.Space_Separator.test(t)},isIdStartChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||LS.ID_Start.test(t))},isIdContinueChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="\u200C"||t==="\u200D"||LS.ID_Continue.test(t))},isDigit(t){return typeof t=="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t=="string"&&/[0-9A-Fa-f]/.test(t)}}});var rj=b((gIt,nj)=>{f();var On=US(),OS,qr,LA,VB,$c,ta,Kn,JS,ah;nj.exports=function(e,i){OS=String(e),qr="start",LA=[],VB=0,$c=1,ta=0,Kn=void 0,JS=void 0,ah=void 0;do Kn=PSe(),USe[qr]();while(Kn.type!=="eof");return typeof i=="function"?KS({"":ah},"",i):ah};function KS(t,e,i){let n=t[e];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let r=0;r<n.length;r++){let s=String(r),o=KS(n,s,i);o===void 0?delete n[s]:Object.defineProperty(n,s,{value:o,writable:!0,enumerable:!0,configurable:!0})}else for(let r in n){let s=KS(n,r,i);s===void 0?delete n[r]:Object.defineProperty(n,r,{value:s,writable:!0,enumerable:!0,configurable:!0})}return i.call(t,e,n)}var ht,pt,oh,_A,Nt;function PSe(){for(ht="default",pt="",oh=!1,_A=1;;){Nt=UA();let t=tj[ht]();if(t)return t}}function UA(){if(OS[VB])return String.fromCodePoint(OS.codePointAt(VB))}function Ie(){let t=UA();return t===`
837
- `?($c++,ta=0):t?ta+=t.length:ta++,t&&(VB+=t.length),t}var tj={default(){switch(Nt){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
838
- `:case"\r":case"\u2028":case"\u2029":Ie();return;case"/":Ie(),ht="comment";return;case void 0:return Ie(),Di("eof")}if(On.isSpaceSeparator(Nt)){Ie();return}return tj[qr]()},comment(){switch(Nt){case"*":Ie(),ht="multiLineComment";return;case"/":Ie(),ht="singleLineComment";return}throw xi(Ie())},multiLineComment(){switch(Nt){case"*":Ie(),ht="multiLineCommentAsterisk";return;case void 0:throw xi(Ie())}Ie()},multiLineCommentAsterisk(){switch(Nt){case"*":Ie();return;case"/":Ie(),ht="default";return;case void 0:throw xi(Ie())}Ie(),ht="multiLineComment"},singleLineComment(){switch(Nt){case`
839
- `:case"\r":case"\u2028":case"\u2029":Ie(),ht="default";return;case void 0:return Ie(),Di("eof")}Ie()},value(){switch(Nt){case"{":case"[":return Di("punctuator",Ie());case"n":return Ie(),wl("ull"),Di("null",null);case"t":return Ie(),wl("rue"),Di("boolean",!0);case"f":return Ie(),wl("alse"),Di("boolean",!1);case"-":case"+":Ie()==="-"&&(_A=-1),ht="sign";return;case".":pt=Ie(),ht="decimalPointLeading";return;case"0":pt=Ie(),ht="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":pt=Ie(),ht="decimalInteger";return;case"I":return Ie(),wl("nfinity"),Di("numeric",1/0);case"N":return Ie(),wl("aN"),Di("numeric",NaN);case'"':case"'":oh=Ie()==='"',pt="",ht="string";return}throw xi(Ie())},identifierNameStartEscape(){if(Nt!=="u")throw xi(Ie());Ie();let t=HS();switch(t){case"$":case"_":break;default:if(!On.isIdStartChar(t))throw ej();break}pt+=t,ht="identifierName"},identifierName(){switch(Nt){case"$":case"_":case"\u200C":case"\u200D":pt+=Ie();return;case"\\":Ie(),ht="identifierNameEscape";return}if(On.isIdContinueChar(Nt)){pt+=Ie();return}return Di("identifier",pt)},identifierNameEscape(){if(Nt!=="u")throw xi(Ie());Ie();let t=HS();switch(t){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!On.isIdContinueChar(t))throw ej();break}pt+=t,ht="identifierName"},sign(){switch(Nt){case".":pt=Ie(),ht="decimalPointLeading";return;case"0":pt=Ie(),ht="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":pt=Ie(),ht="decimalInteger";return;case"I":return Ie(),wl("nfinity"),Di("numeric",_A*(1/0));case"N":return Ie(),wl("aN"),Di("numeric",NaN)}throw xi(Ie())},zero(){switch(Nt){case".":pt+=Ie(),ht="decimalPoint";return;case"e":case"E":pt+=Ie(),ht="decimalExponent";return;case"x":case"X":pt+=Ie(),ht="hexadecimal";return}return Di("numeric",_A*0)},decimalInteger(){switch(Nt){case".":pt+=Ie(),ht="decimalPoint";return;case"e":case"E":pt+=Ie(),ht="decimalExponent";return}if(On.isDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},decimalPointLeading(){if(On.isDigit(Nt)){pt+=Ie(),ht="decimalFraction";return}throw xi(Ie())},decimalPoint(){switch(Nt){case"e":case"E":pt+=Ie(),ht="decimalExponent";return}if(On.isDigit(Nt)){pt+=Ie(),ht="decimalFraction";return}return Di("numeric",_A*Number(pt))},decimalFraction(){switch(Nt){case"e":case"E":pt+=Ie(),ht="decimalExponent";return}if(On.isDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},decimalExponent(){switch(Nt){case"+":case"-":pt+=Ie(),ht="decimalExponentSign";return}if(On.isDigit(Nt)){pt+=Ie(),ht="decimalExponentInteger";return}throw xi(Ie())},decimalExponentSign(){if(On.isDigit(Nt)){pt+=Ie(),ht="decimalExponentInteger";return}throw xi(Ie())},decimalExponentInteger(){if(On.isDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},hexadecimal(){if(On.isHexDigit(Nt)){pt+=Ie(),ht="hexadecimalInteger";return}throw xi(Ie())},hexadecimalInteger(){if(On.isHexDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},string(){switch(Nt){case"\\":Ie(),pt+=_Se();return;case'"':if(oh)return Ie(),Di("string",pt);pt+=Ie();return;case"'":if(!oh)return Ie(),Di("string",pt);pt+=Ie();return;case`
836
+ `.trimStart(),o=await t.formatCode(e,s);return await t.writeFile(e,o),"create"}return null}var HB,JB=T(()=>{"use strict";f();qi();hs();HB="builderApiKey"});async function JJ(t,e){let i=[],n=e.getSourceFiles(),r=e.getTypeChecker();return await Promise.all(n.map(async s=>{let o=t.basename(s.fileName);if(DSe(t,s.fileName)||o.startsWith(".")||o==="node_modules"||QSe.has(o))return;let a=t.normalize(s.fileName);if(a===t.registryPath)return;let A=await jB(t,r,a,s);i.push(...A)})),i.sort((s,o)=>s.cmpInfo.name.localeCompare(o.cmpInfo.name))}function DSe(t,e){for(let i of ySe)if(t.dirname(e).includes(i))return!0;return!1}async function jJ(t,e){let i=t.extname(e).toLowerCase();if(i===".tsx"||i===".jsx"||i===".ts"||i===".js"){let n=await t.readFile(e);if(n)return xSe(t,e,n)}return null}function xSe(t,e,i){let n=Ut(t,i);return jB(t,null,e,n)}async function jB(t,e,i,n){let r=[],s={};i=t.normalize(i);let o=n.statements.filter(u=>t.ts.isClassDeclaration(u)&&FSe(t,u)),a=n.statements.find(u=>t.ts.isImportDeclaration(u)&&t.ts.isStringLiteral(u.moduleSpecifier)&&u.moduleSpecifier.text==="@angular/core");if(a&&t.ts.isImportDeclaration(a)){let u=a.importClause?.namedBindings;if(u&&t.ts.isNamedImports(u)){let l=u.elements.find(p=>(p.propertyName??p.name).text==="input");l&&(s.inputSignalImportName=l.name.text)}}let A=await wSe(t,e,i,n),c=kSe(t,n);return await Promise.all(o.map(async u=>{let l=await vSe(t,e,i,u,c,s);r.push(...l)})),r.push(...A),r}async function PS(t,e,i){if(e.node.fnNode){let{sourceFile:n,typeChecker:r}=await gg(t,e.cmpInfo.filePath,i),o=(await jB(t,r,e.cmpInfo.filePath,n)).find(a=>a.cmpInfo.id===e.cmpInfo.id);if(!o)throw new Error(`Could not find component ${e.cmpInfo.name} in ${e.cmpInfo.filePath}`);return o.cmpInfo.inputs}return[]}async function YJ(t,e,i){let n=await Sn(t,i.map(o=>o.filePath)),r=n.getTypeChecker();return await Promise.all(i.filter(o=>!(o.name.endsWith("Page")||o.name.endsWith("Module")||o.name==="AppComponent")).map(async o=>{if(!o.isRegistered){let a=n.getSourceFile(o.filePath);if(a){let c=(await jB(t,r,o.filePath,a)).find(u=>u.cmpInfo.id===o.id);if(c){o.inputs=yl(t,r,c.node.fnNode);let u=e.find(l=>l.cmpInfo.id===o.id);if(u){let l=await PS(t,u,n);Ls(o,l)}}}}return o}))}async function vSe(t,e,i,n,r,s){let o=[],a=t.relative(t.getAppRootDir(),i),A=Ii(t,i),c=n.name?.text;if(!c)return o;let u=!1;n.modifiers&&(u=n.modifiers.some(d=>d.kind===t.ts.SyntaxKind.DefaultKeyword));let l=u?"default":c,p=u?"default":"named",g=[];return n.members.forEach(d=>{if(t.ts.isPropertyDeclaration(d)||t.ts.isGetAccessor(d)||t.ts.isSetAccessor(d)){let C=(t.ts.getDecorators(d)??[]).find(B=>bSe(t,B))!==void 0&&t.ts.isIdentifier(d.name),I=s?.inputSignalImportName!==void 0&&t.ts.isIdentifier(d.name)&&SSe(t,d,s.inputSignalImportName);if(C||I){let B="any";if(t.ts.isSetAccessor(d))B=HJ(t,d.parameters[0].type);else if(d.type&&e){let Q=e.getTypeAtLocation(d.type);B=e.typeToString(Q)}else B=HJ(t,d.type);let E={name:d.name.text,type:r[B]?"string":B};r[B]&&(E.enum=r[B]),g.push(E)}}}),o.push({cmpInfo:{id:await gi(t,i,c),displayFilePath:Xt(t,i),name:Ci(c),inputs:g,exportName:l,exportType:p,importName:c,filePath:i,relFilePath:a,importPath:A,meta:{...NSe(t,n)},framework:"angular"},node:{name:c,fnNode:n,deps:void 0}}),o}async function wSe(t,e,i,n){let r=[],s=t.relative(t.getAppRootDir(),i),o=Ii(t,i);for(let a of n.statements)if(t.ts.isExportDeclaration(a)&&a.exportClause&&t.ts.isNamedExports(a.exportClause))for(let A of a.exportClause.elements){let c=A.name?.text;if(!c)continue;let u=c,l="named",p=[];if(e){let m=e.getSymbolAtLocation(A.name);if(m){let h=e.getDeclaredTypeOfSymbol(m);e.getPropertiesOfType(h).forEach(I=>{let B=I.getDeclarations();B&&B.forEach(E=>{if(t.ts.isPropertyDeclaration(E)){let Q=e.getTypeAtLocation(E),y={name:I.getName(),type:RSe(t,e,Q)};p.push(y)}})})}}let g=t.ts.isExportSpecifier(A)&&A.parent?A.parent.parent:void 0,d;if(g){let m=g.moduleSpecifier;if(m&&t.ts.isStringLiteral(m)){let h=e?.getSymbolAtLocation(m);if(h&&h.declarations&&h.declarations.length>0){let C=h.declarations[0];(!t.ts.isSourceFile(C)||t.ts.isSourceFile(C)&&C.fileName.includes("node_modules"))&&(d=m.text)}}}r.push({cmpInfo:{id:await gi(t,i,c,d),displayFilePath:Xt(t,i),name:Ci(c),inputs:p,exportName:u,exportType:l,importName:c,filePath:i,relFilePath:s,importPath:d||o,externalImportPath:d,framework:"angular"},node:{name:c,fnNode:A,deps:void 0}})}else if(t.ts.isExportDeclaration(a)&&!a.exportClause&&a.moduleSpecifier&&t.ts.isStringLiteral(a.moduleSpecifier)){let A=a.moduleSpecifier.text;if(e)try{let c=e.getSymbolAtLocation(a.moduleSpecifier);if(c&&c.exports){let u=e.getExportsOfModule(c);for(let l of u)if(l.flags&t.ts.SymbolFlags.Class){let p=l.getName();if(p.startsWith("_"))continue;r.push({cmpInfo:{id:await gi(t,i,p,A),displayFilePath:Xt(t,i),name:Ci(p),inputs:[],exportName:p,exportType:"named",importName:p,filePath:i,relFilePath:s,importPath:A,externalImportPath:A,framework:"angular"},node:{name:p,fnNode:a,deps:void 0}})}}}catch(c){console.warn(`Error processing star export from ${A}:`,c)}}return r}function bSe(t,e){return $J(t,e,"Input")}function SSe(t,e,i){return t.ts.isPropertyDeclaration(e)&&e.initializer!==void 0&&t.ts.isCallExpression(e.initializer)&&t.ts.isIdentifier(e.initializer.expression)&&e.initializer.expression.text===i}function $J(t,e,i){if(t.ts.isCallExpression(e.expression)){let n=e.expression;if(t.ts.isIdentifier(n.expression))return n.expression?.text===i}return!1}function FSe(t,e){return!!t.ts.getDecorators(e)?.some(r=>t.ts.isCallExpression(r.expression)&&t.ts.isIdentifier(r.expression.expression)&&r.expression.expression.text==="Component")}function HJ(t,e){if(!e)return"any";let i="any";switch(e.kind){case t.ts.SyntaxKind.StringKeyword:i="string";break;case t.ts.SyntaxKind.NumberKeyword:i="number";break;case t.ts.SyntaxKind.BooleanKeyword:i="boolean";break;case t.ts.SyntaxKind.TypeReference:t.ts.isTypeReferenceNode(e)&&t.ts.isIdentifier(e.typeName)&&(i=e.typeName.text);break}return i.includes("|")?"string":i}function kSe(t,e){let i={};return t.ts.forEachChild(e,n=>{t.ts.isTypeAliasDeclaration(n)&&t.ts.isUnionTypeNode(n.type)&&n.type.types.every(r=>t.ts.isLiteralTypeNode(r)&&t.ts.isStringLiteral(r.literal))&&(i[n.name.text]=n.type.types.map(r=>r.literal.text))}),i}function RSe(t,e,i){let n=e.typeToString(i);if(n==="any"){let r=i.getSymbol();if(r){let s=r.getDeclarations();if(s&&s.length>0){let o=s[0];if(t.ts.isVariableDeclaration(o)){let a=o.type;a&&(n=e.typeToString(e.getTypeAtLocation(a)))}}}}return n}function NSe(t,e){let{getDecorators:i,isCallExpression:n,isIdentifier:r,isObjectLiteralExpression:s,isPropertyAssignment:o,isStringLiteral:a,SyntaxKind:A}=t.ts,c,u;return i(e)?.forEach(p=>{if($J(t,p,"Component")){let{expression:g}=p;if(n(g)){let[d]=g.arguments;s(d)&&d.properties.forEach(m=>{o(m)&&r(m.name)&&(m.name.escapedText==="selector"&&a(m.initializer)&&(c=m.initializer.text),m.name.escapedText==="standalone"&&(u=m.initializer.kind===A.TrueKeyword))})}}}),{selector:c,standalone:u}}var QSe,ySe,YB=T(()=>{"use strict";f();qi();Rt();so();Vf();$r();QSe=new Set([]),ySe=new Set(["node_modules"])});async function $B(t,e,i){let n=t.typescriptEnabled?".ts":".js",r=`app.module${n}`,s=t.join(t.appDir,r),o=await t.readFile(s);if(!o){t.Sentry?.captureException(new Error(`Unable to read app.module.${n} at ${s}`),{extra:{appModuleCode:o,appModulePath:s}});return}let a=await TSe(t,s,e,i,o);if(!a){t.Sentry?.captureException(new Error(`Unable to update app.module.${n} at ${s}`),{extra:{appModuleCode:o,appModulePath:s}});return}return await t.writeFile(s,a),s}async function TSe(t,e,i,n,r){let s=r,o=Ut(t,r),a=Gt(t,e,n);o=Jt(t,o,{namedImports:[i],importPath:a}),o=Jt(t,o,{namedImports:["Content"],importPath:"@builder.io/sdk-angular"});let A=[];for(let c of o.statements)if(t.ts.isClassDeclaration(c)&&c.name?.text==="AppModule"){let u=MSe(t,i,c);A.push(u)}else A.push(c);return o=t.ts.factory.updateSourceFile(o,A),s=Un(t,o),s}function MSe(t,e,i){let n=t.ts.getDecorators(i);if(n){for(let r of n)if(t.ts.isCallExpression(r.expression)&&t.ts.isIdentifier(r.expression.expression)&&r.expression.expression.text==="NgModule"){let s=r.expression.arguments;if(s.length===1&&t.ts.isObjectLiteralExpression(s[0])){let o=qJ(t,s[0],"declarations",e);if(o){let a=qJ(t,o,"imports","Content");if(a&&(o=a),o){let A=t.ts.factory.updateDecorator(r,t.ts.factory.updateCallExpression(r.expression,r.expression.expression,r.expression.typeArguments,[o])),u=[...n.map(l=>l===r?A:l),...t.ts.getModifiers(i)||[]];return t.ts.factory.updateClassDeclaration(i,u,i.name,i.typeParameters,i.heritageClauses,i.members)}}}}}return i}function qJ(t,e,i,n){let r=[...e.properties],s=r.findIndex(a=>ni(t,a)===i);if(s>-1){let a=r[s];if(t.ts.isPropertyAssignment(a)&&a.initializer&&t.ts.isArrayLiteralExpression(a.initializer)){let A=zJ(t,a.initializer,n);return A?(r[s]=t.ts.factory.updatePropertyAssignment(a,a.name,A),t.ts.factory.updateObjectLiteralExpression(e,r)):null}return null}let o=zJ(t,t.ts.factory.createArrayLiteralExpression([],!0),n);return o?t.ts.factory.updateObjectLiteralExpression(e,[...r,t.ts.factory.createPropertyAssignment(i,o)]):null}function zJ(t,e,i){return e.elements.some(r=>t.ts.isIdentifier(r)?r.text===i:!1)?null:t.ts.factory.updateArrayLiteralExpression(e,[...e.elements,t.ts.factory.createIdentifier(i)])}var VJ=T(()=>{"use strict";f();qi();Zo();Rt();Ga()});async function _S(t,e,i,n){let s=`app.routes${t.typescriptEnabled?".ts":".js"}`,o=t.join(t.appDir,s);try{if(t.magicast){let a=await t.magicast.loadFile(o);Object.keys(a.exports).length===0&&(a.exports.routes=[]);let c=Object.keys(a.exports)[0],u=a.exports[c];if(u.find(p=>p.path===e))return;let l=t.magicast.builders.raw("{}");if(l.path=e,l.component=t.magicast.builders.raw(i),u.push(l),a.imports.$items.find(p=>p.imported===i))return;a.imports.$append({imported:i,from:n}),await t.magicast.writeFile(a,o)}}catch(a){let A=null;try{A=t.readFileSync(o)}catch(c){t.Sentry?.captureException(c,{level:"warning"})}t.Sentry?.captureException(a,{extra:{content:A,appRoutesPath:o,componentName:i,componentPath:n}})}}var WJ=T(()=>{"use strict";f()});var ZJ=b((cIt,qB)=>{f();qB.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;qB.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;qB.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\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\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});var US=b((lIt,XJ)=>{f();var LS=ZJ();XJ.exports={isSpaceSeparator(t){return typeof t=="string"&&LS.Space_Separator.test(t)},isIdStartChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||LS.ID_Start.test(t))},isIdContinueChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="\u200C"||t==="\u200D"||LS.ID_Continue.test(t))},isDigit(t){return typeof t=="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t=="string"&&/[0-9A-Fa-f]/.test(t)}}});var r6=b((gIt,n6)=>{f();var On=US(),OS,qr,LA,VB,$c,ta,Kn,JS,ah;n6.exports=function(e,i){OS=String(e),qr="start",LA=[],VB=0,$c=1,ta=0,Kn=void 0,JS=void 0,ah=void 0;do Kn=PSe(),USe[qr]();while(Kn.type!=="eof");return typeof i=="function"?KS({"":ah},"",i):ah};function KS(t,e,i){let n=t[e];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let r=0;r<n.length;r++){let s=String(r),o=KS(n,s,i);o===void 0?delete n[s]:Object.defineProperty(n,s,{value:o,writable:!0,enumerable:!0,configurable:!0})}else for(let r in n){let s=KS(n,r,i);s===void 0?delete n[r]:Object.defineProperty(n,r,{value:s,writable:!0,enumerable:!0,configurable:!0})}return i.call(t,e,n)}var ht,pt,oh,_A,Nt;function PSe(){for(ht="default",pt="",oh=!1,_A=1;;){Nt=UA();let t=t6[ht]();if(t)return t}}function UA(){if(OS[VB])return String.fromCodePoint(OS.codePointAt(VB))}function Ie(){let t=UA();return t===`
837
+ `?($c++,ta=0):t?ta+=t.length:ta++,t&&(VB+=t.length),t}var t6={default(){switch(Nt){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
838
+ `:case"\r":case"\u2028":case"\u2029":Ie();return;case"/":Ie(),ht="comment";return;case void 0:return Ie(),Di("eof")}if(On.isSpaceSeparator(Nt)){Ie();return}return t6[qr]()},comment(){switch(Nt){case"*":Ie(),ht="multiLineComment";return;case"/":Ie(),ht="singleLineComment";return}throw xi(Ie())},multiLineComment(){switch(Nt){case"*":Ie(),ht="multiLineCommentAsterisk";return;case void 0:throw xi(Ie())}Ie()},multiLineCommentAsterisk(){switch(Nt){case"*":Ie();return;case"/":Ie(),ht="default";return;case void 0:throw xi(Ie())}Ie(),ht="multiLineComment"},singleLineComment(){switch(Nt){case`
839
+ `:case"\r":case"\u2028":case"\u2029":Ie(),ht="default";return;case void 0:return Ie(),Di("eof")}Ie()},value(){switch(Nt){case"{":case"[":return Di("punctuator",Ie());case"n":return Ie(),wl("ull"),Di("null",null);case"t":return Ie(),wl("rue"),Di("boolean",!0);case"f":return Ie(),wl("alse"),Di("boolean",!1);case"-":case"+":Ie()==="-"&&(_A=-1),ht="sign";return;case".":pt=Ie(),ht="decimalPointLeading";return;case"0":pt=Ie(),ht="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":pt=Ie(),ht="decimalInteger";return;case"I":return Ie(),wl("nfinity"),Di("numeric",1/0);case"N":return Ie(),wl("aN"),Di("numeric",NaN);case'"':case"'":oh=Ie()==='"',pt="",ht="string";return}throw xi(Ie())},identifierNameStartEscape(){if(Nt!=="u")throw xi(Ie());Ie();let t=HS();switch(t){case"$":case"_":break;default:if(!On.isIdStartChar(t))throw e6();break}pt+=t,ht="identifierName"},identifierName(){switch(Nt){case"$":case"_":case"\u200C":case"\u200D":pt+=Ie();return;case"\\":Ie(),ht="identifierNameEscape";return}if(On.isIdContinueChar(Nt)){pt+=Ie();return}return Di("identifier",pt)},identifierNameEscape(){if(Nt!=="u")throw xi(Ie());Ie();let t=HS();switch(t){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!On.isIdContinueChar(t))throw e6();break}pt+=t,ht="identifierName"},sign(){switch(Nt){case".":pt=Ie(),ht="decimalPointLeading";return;case"0":pt=Ie(),ht="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":pt=Ie(),ht="decimalInteger";return;case"I":return Ie(),wl("nfinity"),Di("numeric",_A*(1/0));case"N":return Ie(),wl("aN"),Di("numeric",NaN)}throw xi(Ie())},zero(){switch(Nt){case".":pt+=Ie(),ht="decimalPoint";return;case"e":case"E":pt+=Ie(),ht="decimalExponent";return;case"x":case"X":pt+=Ie(),ht="hexadecimal";return}return Di("numeric",_A*0)},decimalInteger(){switch(Nt){case".":pt+=Ie(),ht="decimalPoint";return;case"e":case"E":pt+=Ie(),ht="decimalExponent";return}if(On.isDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},decimalPointLeading(){if(On.isDigit(Nt)){pt+=Ie(),ht="decimalFraction";return}throw xi(Ie())},decimalPoint(){switch(Nt){case"e":case"E":pt+=Ie(),ht="decimalExponent";return}if(On.isDigit(Nt)){pt+=Ie(),ht="decimalFraction";return}return Di("numeric",_A*Number(pt))},decimalFraction(){switch(Nt){case"e":case"E":pt+=Ie(),ht="decimalExponent";return}if(On.isDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},decimalExponent(){switch(Nt){case"+":case"-":pt+=Ie(),ht="decimalExponentSign";return}if(On.isDigit(Nt)){pt+=Ie(),ht="decimalExponentInteger";return}throw xi(Ie())},decimalExponentSign(){if(On.isDigit(Nt)){pt+=Ie(),ht="decimalExponentInteger";return}throw xi(Ie())},decimalExponentInteger(){if(On.isDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},hexadecimal(){if(On.isHexDigit(Nt)){pt+=Ie(),ht="hexadecimalInteger";return}throw xi(Ie())},hexadecimalInteger(){if(On.isHexDigit(Nt)){pt+=Ie();return}return Di("numeric",_A*Number(pt))},string(){switch(Nt){case"\\":Ie(),pt+=_Se();return;case'"':if(oh)return Ie(),Di("string",pt);pt+=Ie();return;case"'":if(!oh)return Ie(),Di("string",pt);pt+=Ie();return;case`
840
840
  `:case"\r":throw xi(Ie());case"\u2028":case"\u2029":GSe(Nt);break;case void 0:throw xi(Ie())}pt+=Ie()},start(){switch(Nt){case"{":case"[":return Di("punctuator",Ie())}ht="value"},beforePropertyName(){switch(Nt){case"$":case"_":pt=Ie(),ht="identifierName";return;case"\\":Ie(),ht="identifierNameStartEscape";return;case"}":return Di("punctuator",Ie());case'"':case"'":oh=Ie()==='"',ht="string";return}if(On.isIdStartChar(Nt)){pt+=Ie(),ht="identifierName";return}throw xi(Ie())},afterPropertyName(){if(Nt===":")return Di("punctuator",Ie());throw xi(Ie())},beforePropertyValue(){ht="value"},afterPropertyValue(){switch(Nt){case",":case"}":return Di("punctuator",Ie())}throw xi(Ie())},beforeArrayValue(){if(Nt==="]")return Di("punctuator",Ie());ht="value"},afterArrayValue(){switch(Nt){case",":case"]":return Di("punctuator",Ie())}throw xi(Ie())},end(){throw xi(Ie())}};function Di(t,e){return{type:t,value:e,line:$c,column:ta}}function wl(t){for(let e of t){if(UA()!==e)throw xi(Ie());Ie()}}function _Se(){switch(UA()){case"b":return Ie(),"\b";case"f":return Ie(),"\f";case"n":return Ie(),`
841
841
  `;case"r":return Ie(),"\r";case"t":return Ie()," ";case"v":return Ie(),"\v";case"0":if(Ie(),On.isDigit(UA()))throw xi(Ie());return"\0";case"x":return Ie(),LSe();case"u":return Ie(),HS();case`
842
842
  `:case"\u2028":case"\u2029":return Ie(),"";case"\r":return Ie(),UA()===`
843
- `&&Ie(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw xi(Ie());case void 0:throw xi(Ie())}return Ie()}function LSe(){let t="",e=UA();if(!On.isHexDigit(e)||(t+=Ie(),e=UA(),!On.isHexDigit(e)))throw xi(Ie());return t+=Ie(),String.fromCodePoint(parseInt(t,16))}function HS(){let t="",e=4;for(;e-- >0;){let i=UA();if(!On.isHexDigit(i))throw xi(Ie());t+=Ie()}return String.fromCodePoint(parseInt(t,16))}var USe={start(){if(Kn.type==="eof")throw bl();GS()},beforePropertyName(){switch(Kn.type){case"identifier":case"string":JS=Kn.value,qr="afterPropertyName";return;case"punctuator":zB();return;case"eof":throw bl()}},afterPropertyName(){if(Kn.type==="eof")throw bl();qr="beforePropertyValue"},beforePropertyValue(){if(Kn.type==="eof")throw bl();GS()},beforeArrayValue(){if(Kn.type==="eof")throw bl();if(Kn.type==="punctuator"&&Kn.value==="]"){zB();return}GS()},afterPropertyValue(){if(Kn.type==="eof")throw bl();switch(Kn.value){case",":qr="beforePropertyName";return;case"}":zB()}},afterArrayValue(){if(Kn.type==="eof")throw bl();switch(Kn.value){case",":qr="beforeArrayValue";return;case"]":zB()}},end(){}};function GS(){let t;switch(Kn.type){case"punctuator":switch(Kn.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=Kn.value;break}if(ah===void 0)ah=t;else{let e=LA[LA.length-1];Array.isArray(e)?e.push(t):Object.defineProperty(e,JS,{value:t,writable:!0,enumerable:!0,configurable:!0})}if(t!==null&&typeof t=="object")LA.push(t),Array.isArray(t)?qr="beforeArrayValue":qr="beforePropertyName";else{let e=LA[LA.length-1];e==null?qr="end":Array.isArray(e)?qr="afterArrayValue":qr="afterPropertyValue"}}function zB(){LA.pop();let t=LA[LA.length-1];t==null?qr="end":Array.isArray(t)?qr="afterArrayValue":qr="afterPropertyValue"}function xi(t){return WB(t===void 0?`JSON5: invalid end of input at ${$c}:${ta}`:`JSON5: invalid character '${ij(t)}' at ${$c}:${ta}`)}function bl(){return WB(`JSON5: invalid end of input at ${$c}:${ta}`)}function ej(){return ta-=5,WB(`JSON5: invalid identifier character at ${$c}:${ta}`)}function GSe(t){console.warn(`JSON5: '${ij(t)}' in strings is not valid ECMAScript; consider escaping`)}function ij(t){let e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[t])return e[t];if(t<" "){let i=t.charCodeAt(0).toString(16);return"\\x"+("00"+i).substring(i.length)}return t}function WB(t){let e=new SyntaxError(t);return e.lineNumber=$c,e.columnNumber=ta,e}});var oj=b((mIt,sj)=>{f();var jS=US();sj.exports=function(e,i,n){let r=[],s="",o,a,A="",c;if(i!=null&&typeof i=="object"&&!Array.isArray(i)&&(n=i.space,c=i.quote,i=i.replacer),typeof i=="function")a=i;else if(Array.isArray(i)){o=[];for(let m of i){let h;typeof m=="string"?h=m:(typeof m=="number"||m instanceof String||m instanceof Number)&&(h=String(m)),h!==void 0&&o.indexOf(h)<0&&o.push(h)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),typeof n=="number"?n>0&&(n=Math.min(10,Math.floor(n)),A=" ".substr(0,n)):typeof n=="string"&&(A=n.substr(0,10)),u("",{"":e});function u(m,h){let C=h[m];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(m):typeof C.toJSON=="function"&&(C=C.toJSON(m))),a&&(C=a.call(h,m,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return l(C,!1);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?d(C):p(C)}function l(m){let h={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},I="";for(let E=0;E<m.length;E++){let Q=m[E];switch(Q){case"'":case'"':h[Q]++,I+=Q;continue;case"\0":if(jS.isDigit(m[E+1])){I+="\\x00";continue}}if(C[Q]){I+=C[Q];continue}if(Q<" "){let y=Q.charCodeAt(0).toString(16);I+="\\x"+("00"+y).substring(y.length);continue}I+=Q}let B=c||Object.keys(h).reduce((E,Q)=>h[E]<h[Q]?E:Q);return I=I.replace(new RegExp(B,"g"),C[B]),B+I+B}function p(m){if(r.indexOf(m)>=0)throw TypeError("Converting circular structure to JSON5");r.push(m);let h=s;s=s+A;let C=o||Object.keys(m),I=[];for(let E of C){let Q=u(E,m);if(Q!==void 0){let y=g(E)+":";A!==""&&(y+=" "),y+=Q,I.push(y)}}let B;if(I.length===0)B="{}";else{let E;if(A==="")E=I.join(","),B="{"+E+"}";else{let Q=`,
843
+ `&&Ie(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw xi(Ie());case void 0:throw xi(Ie())}return Ie()}function LSe(){let t="",e=UA();if(!On.isHexDigit(e)||(t+=Ie(),e=UA(),!On.isHexDigit(e)))throw xi(Ie());return t+=Ie(),String.fromCodePoint(parseInt(t,16))}function HS(){let t="",e=4;for(;e-- >0;){let i=UA();if(!On.isHexDigit(i))throw xi(Ie());t+=Ie()}return String.fromCodePoint(parseInt(t,16))}var USe={start(){if(Kn.type==="eof")throw bl();GS()},beforePropertyName(){switch(Kn.type){case"identifier":case"string":JS=Kn.value,qr="afterPropertyName";return;case"punctuator":zB();return;case"eof":throw bl()}},afterPropertyName(){if(Kn.type==="eof")throw bl();qr="beforePropertyValue"},beforePropertyValue(){if(Kn.type==="eof")throw bl();GS()},beforeArrayValue(){if(Kn.type==="eof")throw bl();if(Kn.type==="punctuator"&&Kn.value==="]"){zB();return}GS()},afterPropertyValue(){if(Kn.type==="eof")throw bl();switch(Kn.value){case",":qr="beforePropertyName";return;case"}":zB()}},afterArrayValue(){if(Kn.type==="eof")throw bl();switch(Kn.value){case",":qr="beforeArrayValue";return;case"]":zB()}},end(){}};function GS(){let t;switch(Kn.type){case"punctuator":switch(Kn.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=Kn.value;break}if(ah===void 0)ah=t;else{let e=LA[LA.length-1];Array.isArray(e)?e.push(t):Object.defineProperty(e,JS,{value:t,writable:!0,enumerable:!0,configurable:!0})}if(t!==null&&typeof t=="object")LA.push(t),Array.isArray(t)?qr="beforeArrayValue":qr="beforePropertyName";else{let e=LA[LA.length-1];e==null?qr="end":Array.isArray(e)?qr="afterArrayValue":qr="afterPropertyValue"}}function zB(){LA.pop();let t=LA[LA.length-1];t==null?qr="end":Array.isArray(t)?qr="afterArrayValue":qr="afterPropertyValue"}function xi(t){return WB(t===void 0?`JSON5: invalid end of input at ${$c}:${ta}`:`JSON5: invalid character '${i6(t)}' at ${$c}:${ta}`)}function bl(){return WB(`JSON5: invalid end of input at ${$c}:${ta}`)}function e6(){return ta-=5,WB(`JSON5: invalid identifier character at ${$c}:${ta}`)}function GSe(t){console.warn(`JSON5: '${i6(t)}' in strings is not valid ECMAScript; consider escaping`)}function i6(t){let e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[t])return e[t];if(t<" "){let i=t.charCodeAt(0).toString(16);return"\\x"+("00"+i).substring(i.length)}return t}function WB(t){let e=new SyntaxError(t);return e.lineNumber=$c,e.columnNumber=ta,e}});var o6=b((mIt,s6)=>{f();var jS=US();s6.exports=function(e,i,n){let r=[],s="",o,a,A="",c;if(i!=null&&typeof i=="object"&&!Array.isArray(i)&&(n=i.space,c=i.quote,i=i.replacer),typeof i=="function")a=i;else if(Array.isArray(i)){o=[];for(let m of i){let h;typeof m=="string"?h=m:(typeof m=="number"||m instanceof String||m instanceof Number)&&(h=String(m)),h!==void 0&&o.indexOf(h)<0&&o.push(h)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),typeof n=="number"?n>0&&(n=Math.min(10,Math.floor(n)),A=" ".substr(0,n)):typeof n=="string"&&(A=n.substr(0,10)),u("",{"":e});function u(m,h){let C=h[m];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(m):typeof C.toJSON=="function"&&(C=C.toJSON(m))),a&&(C=a.call(h,m,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return l(C,!1);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?d(C):p(C)}function l(m){let h={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},I="";for(let E=0;E<m.length;E++){let Q=m[E];switch(Q){case"'":case'"':h[Q]++,I+=Q;continue;case"\0":if(jS.isDigit(m[E+1])){I+="\\x00";continue}}if(C[Q]){I+=C[Q];continue}if(Q<" "){let y=Q.charCodeAt(0).toString(16);I+="\\x"+("00"+y).substring(y.length);continue}I+=Q}let B=c||Object.keys(h).reduce((E,Q)=>h[E]<h[Q]?E:Q);return I=I.replace(new RegExp(B,"g"),C[B]),B+I+B}function p(m){if(r.indexOf(m)>=0)throw TypeError("Converting circular structure to JSON5");r.push(m);let h=s;s=s+A;let C=o||Object.keys(m),I=[];for(let E of C){let Q=u(E,m);if(Q!==void 0){let y=g(E)+":";A!==""&&(y+=" "),y+=Q,I.push(y)}}let B;if(I.length===0)B="{}";else{let E;if(A==="")E=I.join(","),B="{"+E+"}";else{let Q=`,
844
844
  `+s;E=I.join(Q),B=`{
845
845
  `+s+E+`,
846
846
  `+h+"}"}}return r.pop(),s=h,B}function g(m){if(m.length===0)return l(m,!0);let h=String.fromCodePoint(m.codePointAt(0));if(!jS.isIdStartChar(h))return l(m,!0);for(let C=h.length;C<m.length;C++)if(!jS.isIdContinueChar(String.fromCodePoint(m.codePointAt(C))))return l(m,!0);return m}function d(m){if(r.indexOf(m)>=0)throw TypeError("Converting circular structure to JSON5");r.push(m);let h=s;s=s+A;let C=[];for(let B=0;B<m.length;B++){let E=u(String(B),m);C.push(E!==void 0?E:"null")}let I;if(C.length===0)I="[]";else if(A==="")I="["+C.join(",")+"]";else{let B=`,
847
847
  `+s,E=C.join(B);I=`[
848
848
  `+s+E+`,
849
- `+h+"]"}return r.pop(),s=h,I}}});var Aj=b((hIt,aj)=>{f();var OSe=rj(),KSe=oj(),HSe={parse:OSe,stringify:KSe};aj.exports=HSe});async function uj(t){let e=t.ts.findConfigFile(t.getAppRootDir(),t.existsSync);if(e){let i=await t.readFile(e);if(!i)return;let n=cj.default.parse(i);if(!n||typeof n!="object"||Array.isArray(n))return;let r=n.compilerOptions;if(!r||typeof r!="object"||Array.isArray(r))return;let s=r.paths;(!s||typeof s!="object"||Array.isArray(s))&&(r.paths={},s=r.paths),Object.assign(r.paths,{"~/*":["./src/*"]}),await t.writeFile(e,JSON.stringify(n,null,2))}}var cj,lj=T(()=>{"use strict";f();cj=ee(Aj(),1)});async function pj(t){let e=[],i=await YSe(t,e);e.push(...await ZB(t)),await JSe(t,i);let n="BuilderPage";if(!await t.exists(t.builderPageComponentPath)){let r=await t.formatCode(t.builderPageComponentPath,dj(t,n,t.builderPageComponentPath,"builder-page","page",!0));await t.writeFile(t.builderPageComponentPath,r),e.push({filePath:t.builderPageComponentPath,modifiedType:"create"})}if(t.hasAppModule){await $B(t,"Counter",i);let r=await $B(t,n,t.builderPageComponentPath);r&&e.push({filePath:r,modifiedType:"update"})}return await _S(t,"**",n,"./components/builder-page.component"),e}async function gj(t){let e=[];e.push(...await ZB(t));let i="FigmaImportsPage",n="figma-imports.component",r=t.join(t.componentsDir,`${n}.${t.typescriptEnabled?"ts":"js"}`);if(!await t.exists(r)){let s=await t.formatCode(r,dj(t,i,r,"figma-imports","figma-imports",!1));await t.writeFile(r,s),e.push({filePath:r,modifiedType:"create"})}if(t.hasAppModule){let s=await $B(t,i,r);s&&e.push({filePath:s,modifiedType:"update"})}return await _S(t,"figma-imports",i,`./components/${n}`),await uj(t),e}async function ZB(t){let e=[];return await t.exists(t.registryPath)||(await t.writeFile(t.registryPath,jSe(t)),e.push({filePath:t.registryPath,modifiedType:"create"})),e}async function JSe(t,e){let n=(await Va(t,null,!1,!1,null,null,!1,!1)).components.find(r=>r.filePath===e);n&&await Va(t,n.id,!0,!1,null,null,!0,!1)}function dj(t,e,i,n,r,s){let o=!t.hasAppModule,a=Gt(t,i,t.registryPath),A=t.join(t.getAppRootDir(),"src","environments","environment.ts"),c=Gt(t,i,A),u=s?` <ng-container *ngIf="content || isPreviewing; else notFound">
849
+ `+h+"]"}return r.pop(),s=h,I}}});var A6=b((hIt,a6)=>{f();var OSe=r6(),KSe=o6(),HSe={parse:OSe,stringify:KSe};a6.exports=HSe});async function u6(t){let e=t.ts.findConfigFile(t.getAppRootDir(),t.existsSync);if(e){let i=await t.readFile(e);if(!i)return;let n=c6.default.parse(i);if(!n||typeof n!="object"||Array.isArray(n))return;let r=n.compilerOptions;if(!r||typeof r!="object"||Array.isArray(r))return;let s=r.paths;(!s||typeof s!="object"||Array.isArray(s))&&(r.paths={},s=r.paths),Object.assign(r.paths,{"~/*":["./src/*"]}),await t.writeFile(e,JSON.stringify(n,null,2))}}var c6,l6=T(()=>{"use strict";f();c6=ee(A6(),1)});async function p6(t){let e=[],i=await YSe(t,e);e.push(...await ZB(t)),await JSe(t,i);let n="BuilderPage";if(!await t.exists(t.builderPageComponentPath)){let r=await t.formatCode(t.builderPageComponentPath,d6(t,n,t.builderPageComponentPath,"builder-page","page",!0));await t.writeFile(t.builderPageComponentPath,r),e.push({filePath:t.builderPageComponentPath,modifiedType:"create"})}if(t.hasAppModule){await $B(t,"Counter",i);let r=await $B(t,n,t.builderPageComponentPath);r&&e.push({filePath:r,modifiedType:"update"})}return await _S(t,"**",n,"./components/builder-page.component"),e}async function g6(t){let e=[];e.push(...await ZB(t));let i="FigmaImportsPage",n="figma-imports.component",r=t.join(t.componentsDir,`${n}.${t.typescriptEnabled?"ts":"js"}`);if(!await t.exists(r)){let s=await t.formatCode(r,d6(t,i,r,"figma-imports","figma-imports",!1));await t.writeFile(r,s),e.push({filePath:r,modifiedType:"create"})}if(t.hasAppModule){let s=await $B(t,i,r);s&&e.push({filePath:s,modifiedType:"update"})}return await _S(t,"figma-imports",i,`./components/${n}`),await u6(t),e}async function ZB(t){let e=[];return await t.exists(t.registryPath)||(await t.writeFile(t.registryPath,jSe(t)),e.push({filePath:t.registryPath,modifiedType:"create"})),e}async function JSe(t,e){let n=(await Va(t,null,!1,!1,null,null,!1,!1)).components.find(r=>r.filePath===e);n&&await Va(t,n.id,!0,!1,null,null,!0,!1)}function d6(t,e,i,n,r,s){let o=!t.hasAppModule,a=Gt(t,i,t.registryPath),A=t.join(t.getAppRootDir(),"src","environments","environment.ts"),c=Gt(t,i,A),u=s?` <ng-container *ngIf="content || isPreviewing; else notFound">
850
850
  <builder-content
851
851
  [model]="model"
852
852
  [content]="content"
@@ -985,7 +985,7 @@ export class Counter {
985
985
  }
986
986
  }
987
987
 
988
- `.trimStart()}var YS=T(()=>{"use strict";f();$S();Rt();JB();VJ();WJ();lj()});async function mj(t){await ZB(t);let e=await t.readFile(t.registryPath);return e?qSe(t,e):{components:[],sourceFile:Ut(t,"")}}async function qSe(t,e){let i=Ut(t,e);return zSe(t,i)}async function zSe(t,e){let i=[],n=yn(t,e,"CUSTOM_COMPONENTS");return n&&await Promise.all(n.arrayLiteralExp.elements.map(async(r,s)=>{let o=await qS(t,e,r);o&&(o.nodeIndex=s,i.push(o))})),{sourceFile:e,components:ds(i)}}async function qS(t,e,i){if(!t.ts.isObjectLiteralExpression(i))return null;let n={id:"",name:"",displayFilePath:"",exportName:"",importName:"",filePath:"",relFilePath:"",importPath:"",inputs:[],framework:"angular"};for(let r of i.properties){if(!t.ts.isPropertyAssignment(r)||!t.ts.isIdentifier(r.name))continue;if(ni(t,r)==="component"){let o,{initializer:a}=r;if(t.ts.isIdentifier(a))o=a.text;else if(t.ts.isCallExpression(a)){let c=a.arguments[0];t.ts.isIdentifier(c)&&(o=c.text)}if(!o)continue;n.name===""&&(n.name=Ci(o)),n.importName=o;let A=await Oa(t,t.registryPath,e,o);if(!A)continue;if(n.filePath=A.filePath,n.relFilePath=A.relFilePath,await t.exists(A.filePath)?n.importPath=Ii(t,A.filePath):(n.externalImportPath=A.importPath,n.importPath=n.externalImportPath),n.displayFilePath=A.displayFilePath,n.exportType=A.exportType,n.externalImportPath)n.exportName=o;else{let c=await jJ(t,A.filePath);if(c&&c.length>0)if(c.length===1)n.exportName=c[0].cmpInfo.exportName;else{let u=c.find(l=>l.cmpInfo.exportName===o);u&&(n.exportName=u.cmpInfo.exportName)}}continue}}return n=fs(t,n,i),n.filePath&&n.exportName&&(n.id=await gi(t,n.filePath,n.exportName,n.externalImportPath)),n}var fj=T(()=>{"use strict";f();qi();hs();Rt();Ga();$r();YS();YB()});async function Va(t,e,i,n,r,s,o,a){let A=await Yc(t),[c,u,l]=await Promise.all([JJ(t,A),mj(t),sh(t)]),p=c.map(I=>I.cmpInfo),g=u.components,d={components:ea(p,g),registryPath:t.registryPath,registryDisplayPath:Xt(t,t.registryPath),frameworks:t.getFrameworks(),dependencies:Ao(p),publicApiKey:l.envValue??void 0,devToolsVersion:t.version};if(a)return d.components=await YJ(t,c,d.components),d;let m=!1,h=u.sourceFile,C=Array.isArray(e)?e:typeof e=="string"?[e]:[];if(C.length>0){let I=C.map(Q=>{let y=c.find(x=>x.cmpInfo.id===Q);if(!y)throw new Error(`Component ${Q} not found`);return y}),B=Array.from(new Set(I.map(Q=>Q.cmpInfo.filePath))),E=await Sn(t,B);for(let Q of I){let y=d.components.find(M=>M.id===Q.cmpInfo.id),x=await PS(t,Q,E);Ls(y,x);let v=p.findIndex(M=>M.id===Q.cmpInfo.id);p[v].inputs=x;let F=ja(Q.cmpInfo.id,p,g,i,n,r,s),{elements:w,elmIndex:R,statementIndex:O,statement:J,variableDeclaration:j}=await WSe(t,h,Q);if(F.addCmpToRegistry)w.push(VSe(t,F.addCmpToRegistry)),m=!0;else if(F.removeCmpFromRegistry)w.splice(R,1),m=!0;else if(F.updateRegisteredCmp){let M=Fn(t,w[R],F.updateRegisteredCmp);w[R]=t.ts.factory.updateObjectLiteralExpression(M,[hj(t,F.updateRegisteredCmp),...M.properties.slice(1)]),m=!0}if(m&&o){let M=[...h.statements];M[O]=t.ts.factory.updateVariableStatement(J,J.modifiers,t.ts.factory.updateVariableDeclarationList(J.declarationList,[t.ts.factory.updateVariableDeclaration(j,j.name,j.exclamationToken,j.type,t.ts.factory.createArrayLiteralExpression(Ha(t,w)))])),h=t.ts.factory.updateSourceFile(h,M),y.exportType==="named"?h=Jt(t,h,{namedImports:[y.importName],importPath:y.externalImportPath?y.externalImportPath:Gt(t,t.registryPath,y.filePath)}):h=Jt(t,h,{defaultImport:y.importName,importPath:y.externalImportPath?y.externalImportPath:Gt(t,t.registryPath,y.filePath)}),h=Jt(t,h,{namedImports:["RegisteredComponent"],importPath:"@builder.io/sdk-angular",isTypeOnly:!0}),h=Ya(t,h,{variableName:"CUSTOM_COMPONENTS",arrayType:"RegisteredComponent"}),d.components=F.components,g=F.components.filter(_=>_.isRegistered)}}}if(m&&o){h=Ja(t,h),h=Ka(t,h);let I=Un(t,h);I=Xo(I),I=await t.formatCode(t.registryPath,I),await t.writeFile(t.registryPath,I)}return d}function hj(t,e){let i=t.ts.factory.createIdentifier(e.importName);return t.ts.factory.createPropertyAssignment("component",i)}function VSe(t,e){return Fn(t,t.ts.factory.createObjectLiteralExpression([hj(t,e)],!0),e)}async function WSe(t,e,i){let n=yn(t,e,"CUSTOM_COMPONENTS");if(!n)throw new Error(`Exported name of the Builder registry must be "CUSTOM_COMPONENTS". Please update your Builder registry file: ${t.registryPath}`);let r=n.arrayLiteralExp.elements.filter(o=>t.ts.isObjectLiteralExpression(o)),s=-1;for(let o=0;o<r.length;o++)if((await qS(t,e,r[o]))?.id===i.cmpInfo.id){s=o;break}return{...n,elements:r,elmIndex:s}}var $S=T(()=>{"use strict";f();so();Zo();qi();YB();Rt();xl();fj();Qg();yg();$r();YB();hs();Dg();Zf();Hc();JB()});async function Cj(t){let e=await ZSe(t);return{builderPageOptions:async()=>({templateContentId:"f0b8016ac92e474699293211a268ebaa",pathname:"/builder-demo",title:"Builder + Angular Demo Page"}),ensureBuilderSetup:()=>pj(e),ensureFigmaImportPage:()=>gj(e),getRegistryPath:()=>e.registryPath,getRegistry:n=>Va(e,null,!1,!1,null,null,!1,!!n?.readAllInputTypes),addExternalPackage:async n=>{e.addExternalPackage(n)},loadComponent:async n=>{let r=await Va(e,n.cmpId,!1,!1,null,null,!1,!1);return{...r,component:r.components.find(s=>s.id===n.cmpId)}},registerComponent:n=>Va(e,n.cmpId,!0,!1,null,null,!0,!1),setRegisteredComponentInfo:n=>Va(e,n.cmpId,!1,!1,n,null,!0,!1),setRegisteredComponentInput:n=>Va(e,n.cmpId,!1,!1,null,n,!0,!1),unregisterComponent:n=>Va(e,n.cmpId,!1,!0,null,null,!0,!1),getPublicApiKey:()=>sh(e),setPublicApiKey:n=>KJ(e,n.publicApiKey),getDependencies:n=>[{name:"@builder.io/dev-tools"},{name:"@builder.io/sdk-angular"},{name:"concurrently"}],getDevRunCommand:()=>"builder-dev",getCache:()=>oo(e),setCache:n=>ao(e,n)}}async function ZSe(t){let e=await XSe(t),i=t.getAppRootDir(),n=t.join(i,"src"),r=await Yr(t),s=t.join(n,"app"),o=await ms(t,s),a={},A={...t,srcDir:"",appDir:"",componentsDir:"",registryPath:o,angularConfigPath:e,typescriptEnabled:r,builderPageComponentPath:"",hasAppModule:!1,addExternalPackage:l=>{a[t.join(i,l,"index.ts")]=`export * from "${l}";`},readFileSync:l=>a[l]??t.readFileSync(l),existsSync:l=>!!a[l]||t.existsSync(l),readdirSync:l=>{let p=t.readdirSync(l);return l===i?[...p,...Object.keys(a).map(g=>g.slice(i.length+1))]:p},readdir:async l=>{let p=await t.readdir(l);return l===i?[...p,...Object.keys(a).map(g=>g.slice(i.length+1))]:p}};if(!await t.exists(n))throw new Error(`Could not find src directory. Searched for src in "${t.getAppRootDir()}".`);A.srcDir=n,A.appDir=s,A.componentsDir=t.join(A.appDir,"components"),A.builderPageComponentPath=t.join(A.componentsDir,`builder-page.component.${r?"ts":"js"}`);let c=`app.module.${r?"ts":"js"}`,u=t.join(A.appDir,c);return await t.exists(u)&&(A.hasAppModule=!0),A}async function XSe(t){let e=t.join(t.getAppRootDir(),"angular.json");if(await t.exists(e))return e;let i=t.join(t.getAppRootDir(),"project.json");if(await t.exists(i))return i;if(t.ignoreMissingConfig)return"";throw new Error(`Could not find Angular config file. Searched for angular.json & project.json in "${t.getAppRootDir()}".`)}var Ij=T(()=>{"use strict";f();Bl();JB();$S();YS();xr()});async function Ah(t){let e=t.configType==="vite"?eFe:tFe;return await _a(t,[".env"],e)}async function Ej(t,e){let i=await Ah(t),n=await La(t,i.file,i.envKey,e);return{...i,modifiedType:n}}var eFe,tFe,zS=T(()=>{"use strict";f();Ql();eFe="VITE_PUBLIC_BUILDER_KEY",tFe="PUBLIC_BUILDER_KEY"});async function Qj(t,e,i){try{let n=await t.readFile(e);if(!n)return null;let r=t.relative(t.getAppRootDir(),e),s=e.split("/").pop()?.replace(".vue","")||"UnknownComponent",o=sFe(s),a=nFe(n,i),A=iFe(n);return{id:oFe(e),name:o,filePath:r,relFilePath:r,inputs:a,framework:"vue",exportType:"default",exportName:"default",importName:o,importPath:r,vueApiType:A}}catch(n){return console.warn(`Failed to parse Vue component ${e}:`,n),null}}function iFe(t){return/<script[^>]*\s+setup[^>]*>/.test(t)?"composition-setup":/import\s+\{[^}]*\b(ref|reactive|computed|watch|onMounted|defineComponent)\b[^}]*\}\s+from\s+['"]vue['"]/.test(t)||/setup\s*\([^)]*\)\s*\{/.test(t)?"composition":"options"}function nFe(t,e){if(!e)return[];let i=[],n=[/defineProps<\s*\{([^}]+)\}\s*>\s*\(\s*\)/g,/defineProps\s*\(\s*\{([^}]+)\}\s*\)/g,/defineProps\s*\(\s*\[([^\]]+)\]\s*\)/g];for(let A of n){let c;for(;(c=A.exec(t))!==null;){let u=c[1];u.includes(":")?i.push(...VS(u)):i.push(...Bj(u))}}let r=/props\s*:\s*(\{[^}]+\}|\[[^\]]+\])/g,s;for(;(s=r.exec(t))!==null;){let A=s[1];if(A.startsWith("{")){let c=A.slice(1,-1);i.push(...VS(c))}else{let c=A.slice(1,-1);i.push(...Bj(c))}}let o=/setup\s*\(\s*props\s*(?::\s*\{([^}]+)\})?\s*[,)]?/g,a;for(;(a=o.exec(t))!==null;)a[1]&&i.push(...VS(a[1]));return rFe(i)}function VS(t){let e=[],i=/(\w+)\s*:\s*([^,;]+)/g,n;for(;(n=i.exec(t))!==null;){let[,o,a]=n;e.push({name:o.trim(),type:WS(a.trim()),required:!a.includes("?")&&!a.includes("undefined")})}let r=/(\w+)\s*:\s*\{([^}]+)\}/g;for(;(n=r.exec(t))!==null;){let[,o,a]=n,A=a.match(/type\s*:\s*(\w+)/),c=a.match(/required\s*:\s*(true|false)/),u=a.match(/default\s*:\s*([^,}]+)/);e.push({name:o.trim(),type:A?WS(A[1]):"any",required:c?c[1]==="true":!1,defaultValue:u?u[1].trim():void 0})}let s=/(\w+)\s*:\s*(\w+)(?=\s*[,}])/g;for(;(n=s.exec(t))!==null;){let[,o,a]=n;e.some(A=>A.name===o.trim())||e.push({name:o.trim(),type:WS(a.trim()),required:!1})}return e}function Bj(t){let e=[],i=t.split(",").map(n=>n.trim().replace(/['"]/g,"")).filter(n=>n.length>0);for(let n of i)e.push({name:n,type:"any",required:!1});return e}function WS(t){let e={String:"string",Number:"number",Boolean:"boolean",Array:"any[]",Object:"object",Function:"function",Date:"Date",Symbol:"symbol",string:"string",number:"number",boolean:"boolean",object:"object",function:"function"},i=t.replace(/\s*\|\s*undefined/g,"").replace(/\?$/,"");return e[i]||i||"any"}function rFe(t){let e=new Set;return t.filter(i=>e.has(i.name)?!1:(e.add(i.name),!0))}function sFe(t){return t.replace(/[-_\s]+(.)?/g,(e,i)=>i?i.toUpperCase():"").replace(/^(.)/,(e,i)=>i?i.toUpperCase():"")}function oFe(t){return t.replace(/[^a-zA-Z0-9]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"").toLowerCase()}var yj=T(()=>{"use strict";f()});async function Sl(t,e){let i=await aFe(t,e.readAllInputTypes),n=await Ah(t);return{components:i,registryPath:t.registryPath,registryDisplayPath:t.relative(t.getAppRootDir(),t.registryPath),frameworks:t.getFrameworks(),dependencies:Ao(i),publicApiKey:n.envValue??void 0,devToolsVersion:t.version}}async function aFe(t,e){let i=[],n=await AFe(t,t.getAppRootDir());for(let r of n){let s=await Qj(t,r,e);s&&i.push(s)}return i}async function AFe(t,e){let i=[],n=async s=>{try{let o=await t.readdir(s);for(let a of o){let A=t.join(s,a);(await t.stat(A)).isDirectory()?!a.startsWith(".")&&a!=="node_modules"&&a!=="dist"&&a!=="build"&&a!==".nuxt"&&a!==".output"&&await n(A):a.endsWith(".vue")&&i.push(A)}}catch{}};await n(e);let r=["components","pages","layouts"];for(let s of r){let o=t.join(e,s);try{(await t.stat(o)).isDirectory()&&await n(o)}catch{}}return i}var Dj=T(()=>{"use strict";f();yj();zS();Hc()});async function xj(t){let e={errors:[]};try{await wj(t)}catch(i){e.errors.push(i instanceof Error?i.message:String(i))}return e}async function vj(t){let e=[];e.push(...await wj(t));let n=t.join(t.componentsDir,"FigmaImports.vue");if(!await t.exists(n)){let r=await t.formatCode(n,cFe(t,n,"figma-imports"));await t.writeFile(n,r),e.push({filePath:n,modifiedType:"create"})}return e}async function wj(t){let e=[];return await t.exists(t.registryPath)||(await t.writeFile(t.registryPath,lFe(t)),e.push({filePath:t.registryPath,modifiedType:"create"})),e}function cFe(t,e,i="page"){let n=Gt(t,e,t.registryPath),r=t.typescriptEnabled;return t.isNuxt?`<template>
988
+ `.trimStart()}var YS=T(()=>{"use strict";f();$S();Rt();JB();VJ();WJ();l6()});async function m6(t){await ZB(t);let e=await t.readFile(t.registryPath);return e?qSe(t,e):{components:[],sourceFile:Ut(t,"")}}async function qSe(t,e){let i=Ut(t,e);return zSe(t,i)}async function zSe(t,e){let i=[],n=yn(t,e,"CUSTOM_COMPONENTS");return n&&await Promise.all(n.arrayLiteralExp.elements.map(async(r,s)=>{let o=await qS(t,e,r);o&&(o.nodeIndex=s,i.push(o))})),{sourceFile:e,components:ds(i)}}async function qS(t,e,i){if(!t.ts.isObjectLiteralExpression(i))return null;let n={id:"",name:"",displayFilePath:"",exportName:"",importName:"",filePath:"",relFilePath:"",importPath:"",inputs:[],framework:"angular"};for(let r of i.properties){if(!t.ts.isPropertyAssignment(r)||!t.ts.isIdentifier(r.name))continue;if(ni(t,r)==="component"){let o,{initializer:a}=r;if(t.ts.isIdentifier(a))o=a.text;else if(t.ts.isCallExpression(a)){let c=a.arguments[0];t.ts.isIdentifier(c)&&(o=c.text)}if(!o)continue;n.name===""&&(n.name=Ci(o)),n.importName=o;let A=await Oa(t,t.registryPath,e,o);if(!A)continue;if(n.filePath=A.filePath,n.relFilePath=A.relFilePath,await t.exists(A.filePath)?n.importPath=Ii(t,A.filePath):(n.externalImportPath=A.importPath,n.importPath=n.externalImportPath),n.displayFilePath=A.displayFilePath,n.exportType=A.exportType,n.externalImportPath)n.exportName=o;else{let c=await jJ(t,A.filePath);if(c&&c.length>0)if(c.length===1)n.exportName=c[0].cmpInfo.exportName;else{let u=c.find(l=>l.cmpInfo.exportName===o);u&&(n.exportName=u.cmpInfo.exportName)}}continue}}return n=fs(t,n,i),n.filePath&&n.exportName&&(n.id=await gi(t,n.filePath,n.exportName,n.externalImportPath)),n}var f6=T(()=>{"use strict";f();qi();hs();Rt();Ga();$r();YS();YB()});async function Va(t,e,i,n,r,s,o,a){let A=await Yc(t),[c,u,l]=await Promise.all([JJ(t,A),m6(t),sh(t)]),p=c.map(I=>I.cmpInfo),g=u.components,d={components:ea(p,g),registryPath:t.registryPath,registryDisplayPath:Xt(t,t.registryPath),frameworks:t.getFrameworks(),dependencies:Ao(p),publicApiKey:l.envValue??void 0,devToolsVersion:t.version};if(a)return d.components=await YJ(t,c,d.components),d;let m=!1,h=u.sourceFile,C=Array.isArray(e)?e:typeof e=="string"?[e]:[];if(C.length>0){let I=C.map(Q=>{let y=c.find(x=>x.cmpInfo.id===Q);if(!y)throw new Error(`Component ${Q} not found`);return y}),B=Array.from(new Set(I.map(Q=>Q.cmpInfo.filePath))),E=await Sn(t,B);for(let Q of I){let y=d.components.find(M=>M.id===Q.cmpInfo.id),x=await PS(t,Q,E);Ls(y,x);let v=p.findIndex(M=>M.id===Q.cmpInfo.id);p[v].inputs=x;let F=ja(Q.cmpInfo.id,p,g,i,n,r,s),{elements:w,elmIndex:R,statementIndex:O,statement:J,variableDeclaration:j}=await WSe(t,h,Q);if(F.addCmpToRegistry)w.push(VSe(t,F.addCmpToRegistry)),m=!0;else if(F.removeCmpFromRegistry)w.splice(R,1),m=!0;else if(F.updateRegisteredCmp){let M=Fn(t,w[R],F.updateRegisteredCmp);w[R]=t.ts.factory.updateObjectLiteralExpression(M,[h6(t,F.updateRegisteredCmp),...M.properties.slice(1)]),m=!0}if(m&&o){let M=[...h.statements];M[O]=t.ts.factory.updateVariableStatement(J,J.modifiers,t.ts.factory.updateVariableDeclarationList(J.declarationList,[t.ts.factory.updateVariableDeclaration(j,j.name,j.exclamationToken,j.type,t.ts.factory.createArrayLiteralExpression(Ha(t,w)))])),h=t.ts.factory.updateSourceFile(h,M),y.exportType==="named"?h=Jt(t,h,{namedImports:[y.importName],importPath:y.externalImportPath?y.externalImportPath:Gt(t,t.registryPath,y.filePath)}):h=Jt(t,h,{defaultImport:y.importName,importPath:y.externalImportPath?y.externalImportPath:Gt(t,t.registryPath,y.filePath)}),h=Jt(t,h,{namedImports:["RegisteredComponent"],importPath:"@builder.io/sdk-angular",isTypeOnly:!0}),h=Ya(t,h,{variableName:"CUSTOM_COMPONENTS",arrayType:"RegisteredComponent"}),d.components=F.components,g=F.components.filter(_=>_.isRegistered)}}}if(m&&o){h=Ja(t,h),h=Ka(t,h);let I=Un(t,h);I=Xo(I),I=await t.formatCode(t.registryPath,I),await t.writeFile(t.registryPath,I)}return d}function h6(t,e){let i=t.ts.factory.createIdentifier(e.importName);return t.ts.factory.createPropertyAssignment("component",i)}function VSe(t,e){return Fn(t,t.ts.factory.createObjectLiteralExpression([h6(t,e)],!0),e)}async function WSe(t,e,i){let n=yn(t,e,"CUSTOM_COMPONENTS");if(!n)throw new Error(`Exported name of the Builder registry must be "CUSTOM_COMPONENTS". Please update your Builder registry file: ${t.registryPath}`);let r=n.arrayLiteralExp.elements.filter(o=>t.ts.isObjectLiteralExpression(o)),s=-1;for(let o=0;o<r.length;o++)if((await qS(t,e,r[o]))?.id===i.cmpInfo.id){s=o;break}return{...n,elements:r,elmIndex:s}}var $S=T(()=>{"use strict";f();so();Zo();qi();YB();Rt();xl();f6();Qg();yg();$r();YB();hs();Dg();Zf();Hc();JB()});async function C6(t){let e=await ZSe(t);return{builderPageOptions:async()=>({templateContentId:"f0b8016ac92e474699293211a268ebaa",pathname:"/builder-demo",title:"Builder + Angular Demo Page"}),ensureBuilderSetup:()=>p6(e),ensureFigmaImportPage:()=>g6(e),getRegistryPath:()=>e.registryPath,getRegistry:n=>Va(e,null,!1,!1,null,null,!1,!!n?.readAllInputTypes),addExternalPackage:async n=>{e.addExternalPackage(n)},loadComponent:async n=>{let r=await Va(e,n.cmpId,!1,!1,null,null,!1,!1);return{...r,component:r.components.find(s=>s.id===n.cmpId)}},registerComponent:n=>Va(e,n.cmpId,!0,!1,null,null,!0,!1),setRegisteredComponentInfo:n=>Va(e,n.cmpId,!1,!1,n,null,!0,!1),setRegisteredComponentInput:n=>Va(e,n.cmpId,!1,!1,null,n,!0,!1),unregisterComponent:n=>Va(e,n.cmpId,!1,!0,null,null,!0,!1),getPublicApiKey:()=>sh(e),setPublicApiKey:n=>KJ(e,n.publicApiKey),getDependencies:n=>[{name:"@builder.io/dev-tools"},{name:"@builder.io/sdk-angular"},{name:"concurrently"}],getDevRunCommand:()=>"builder-dev",getCache:()=>oo(e),setCache:n=>ao(e,n)}}async function ZSe(t){let e=await XSe(t),i=t.getAppRootDir(),n=t.join(i,"src"),r=await Yr(t),s=t.join(n,"app"),o=await ms(t,s),a={},A={...t,srcDir:"",appDir:"",componentsDir:"",registryPath:o,angularConfigPath:e,typescriptEnabled:r,builderPageComponentPath:"",hasAppModule:!1,addExternalPackage:l=>{a[t.join(i,l,"index.ts")]=`export * from "${l}";`},readFileSync:l=>a[l]??t.readFileSync(l),existsSync:l=>!!a[l]||t.existsSync(l),readdirSync:l=>{let p=t.readdirSync(l);return l===i?[...p,...Object.keys(a).map(g=>g.slice(i.length+1))]:p},readdir:async l=>{let p=await t.readdir(l);return l===i?[...p,...Object.keys(a).map(g=>g.slice(i.length+1))]:p}};if(!await t.exists(n))throw new Error(`Could not find src directory. Searched for src in "${t.getAppRootDir()}".`);A.srcDir=n,A.appDir=s,A.componentsDir=t.join(A.appDir,"components"),A.builderPageComponentPath=t.join(A.componentsDir,`builder-page.component.${r?"ts":"js"}`);let c=`app.module.${r?"ts":"js"}`,u=t.join(A.appDir,c);return await t.exists(u)&&(A.hasAppModule=!0),A}async function XSe(t){let e=t.join(t.getAppRootDir(),"angular.json");if(await t.exists(e))return e;let i=t.join(t.getAppRootDir(),"project.json");if(await t.exists(i))return i;if(t.ignoreMissingConfig)return"";throw new Error(`Could not find Angular config file. Searched for angular.json & project.json in "${t.getAppRootDir()}".`)}var I6=T(()=>{"use strict";f();Bl();JB();$S();YS();xr()});async function Ah(t){let e=t.configType==="vite"?eFe:tFe;return await _a(t,[".env"],e)}async function E6(t,e){let i=await Ah(t),n=await La(t,i.file,i.envKey,e);return{...i,modifiedType:n}}var eFe,tFe,zS=T(()=>{"use strict";f();Ql();eFe="VITE_PUBLIC_BUILDER_KEY",tFe="PUBLIC_BUILDER_KEY"});async function Q6(t,e,i){try{let n=await t.readFile(e);if(!n)return null;let r=t.relative(t.getAppRootDir(),e),s=e.split("/").pop()?.replace(".vue","")||"UnknownComponent",o=sFe(s),a=nFe(n,i),A=iFe(n);return{id:oFe(e),name:o,filePath:r,relFilePath:r,inputs:a,framework:"vue",exportType:"default",exportName:"default",importName:o,importPath:r,vueApiType:A}}catch(n){return console.warn(`Failed to parse Vue component ${e}:`,n),null}}function iFe(t){return/<script[^>]*\s+setup[^>]*>/.test(t)?"composition-setup":/import\s+\{[^}]*\b(ref|reactive|computed|watch|onMounted|defineComponent)\b[^}]*\}\s+from\s+['"]vue['"]/.test(t)||/setup\s*\([^)]*\)\s*\{/.test(t)?"composition":"options"}function nFe(t,e){if(!e)return[];let i=[],n=[/defineProps<\s*\{([^}]+)\}\s*>\s*\(\s*\)/g,/defineProps\s*\(\s*\{([^}]+)\}\s*\)/g,/defineProps\s*\(\s*\[([^\]]+)\]\s*\)/g];for(let A of n){let c;for(;(c=A.exec(t))!==null;){let u=c[1];u.includes(":")?i.push(...VS(u)):i.push(...B6(u))}}let r=/props\s*:\s*(\{[^}]+\}|\[[^\]]+\])/g,s;for(;(s=r.exec(t))!==null;){let A=s[1];if(A.startsWith("{")){let c=A.slice(1,-1);i.push(...VS(c))}else{let c=A.slice(1,-1);i.push(...B6(c))}}let o=/setup\s*\(\s*props\s*(?::\s*\{([^}]+)\})?\s*[,)]?/g,a;for(;(a=o.exec(t))!==null;)a[1]&&i.push(...VS(a[1]));return rFe(i)}function VS(t){let e=[],i=/(\w+)\s*:\s*([^,;]+)/g,n;for(;(n=i.exec(t))!==null;){let[,o,a]=n;e.push({name:o.trim(),type:WS(a.trim()),required:!a.includes("?")&&!a.includes("undefined")})}let r=/(\w+)\s*:\s*\{([^}]+)\}/g;for(;(n=r.exec(t))!==null;){let[,o,a]=n,A=a.match(/type\s*:\s*(\w+)/),c=a.match(/required\s*:\s*(true|false)/),u=a.match(/default\s*:\s*([^,}]+)/);e.push({name:o.trim(),type:A?WS(A[1]):"any",required:c?c[1]==="true":!1,defaultValue:u?u[1].trim():void 0})}let s=/(\w+)\s*:\s*(\w+)(?=\s*[,}])/g;for(;(n=s.exec(t))!==null;){let[,o,a]=n;e.some(A=>A.name===o.trim())||e.push({name:o.trim(),type:WS(a.trim()),required:!1})}return e}function B6(t){let e=[],i=t.split(",").map(n=>n.trim().replace(/['"]/g,"")).filter(n=>n.length>0);for(let n of i)e.push({name:n,type:"any",required:!1});return e}function WS(t){let e={String:"string",Number:"number",Boolean:"boolean",Array:"any[]",Object:"object",Function:"function",Date:"Date",Symbol:"symbol",string:"string",number:"number",boolean:"boolean",object:"object",function:"function"},i=t.replace(/\s*\|\s*undefined/g,"").replace(/\?$/,"");return e[i]||i||"any"}function rFe(t){let e=new Set;return t.filter(i=>e.has(i.name)?!1:(e.add(i.name),!0))}function sFe(t){return t.replace(/[-_\s]+(.)?/g,(e,i)=>i?i.toUpperCase():"").replace(/^(.)/,(e,i)=>i?i.toUpperCase():"")}function oFe(t){return t.replace(/[^a-zA-Z0-9]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"").toLowerCase()}var y6=T(()=>{"use strict";f()});async function Sl(t,e){let i=await aFe(t,e.readAllInputTypes),n=await Ah(t);return{components:i,registryPath:t.registryPath,registryDisplayPath:t.relative(t.getAppRootDir(),t.registryPath),frameworks:t.getFrameworks(),dependencies:Ao(i),publicApiKey:n.envValue??void 0,devToolsVersion:t.version}}async function aFe(t,e){let i=[],n=await AFe(t,t.getAppRootDir());for(let r of n){let s=await Q6(t,r,e);s&&i.push(s)}return i}async function AFe(t,e){let i=[],n=async s=>{try{let o=await t.readdir(s);for(let a of o){let A=t.join(s,a);(await t.stat(A)).isDirectory()?!a.startsWith(".")&&a!=="node_modules"&&a!=="dist"&&a!=="build"&&a!==".nuxt"&&a!==".output"&&await n(A):a.endsWith(".vue")&&i.push(A)}}catch{}};await n(e);let r=["components","pages","layouts"];for(let s of r){let o=t.join(e,s);try{(await t.stat(o)).isDirectory()&&await n(o)}catch{}}return i}var D6=T(()=>{"use strict";f();y6();zS();Hc()});async function x6(t){let e={errors:[]};try{await w6(t)}catch(i){e.errors.push(i instanceof Error?i.message:String(i))}return e}async function v6(t){let e=[];e.push(...await w6(t));let n=t.join(t.componentsDir,"FigmaImports.vue");if(!await t.exists(n)){let r=await t.formatCode(n,cFe(t,n,"figma-imports"));await t.writeFile(n,r),e.push({filePath:n,modifiedType:"create"})}return e}async function w6(t){let e=[];return await t.exists(t.registryPath)||(await t.writeFile(t.registryPath,lFe(t)),e.push({filePath:t.registryPath,modifiedType:"create"})),e}function cFe(t,e,i="page"){let n=Gt(t,e,t.registryPath),r=t.typescriptEnabled;return t.isNuxt?`<template>
989
989
  <div>
990
990
  <div v-if="pending">Loading...</div>
991
991
  <div v-else-if="error">Error loading content</div>
@@ -1091,22 +1091,22 @@ export const CUSTOM_COMPONENTS: RegisteredComponent[] = [
1091
1091
  // ]
1092
1092
  // }
1093
1093
  ];
1094
- `}var bj=T(()=>{"use strict";f();Rt()});async function Sj(t){let e=await pFe(t);return{builderPageOptions:async()=>({templateContentId:"vue-demo-template-id",pathname:"/builder-demo",title:"Builder + Vue Demo Page"}),ensureBuilderSetup:async()=>(await xj(e)).errors.length>0?[]:[],ensureFigmaImportPage:()=>vj(e),getRegistryPath:()=>e.registryPath,getRegistry:n=>Sl(e,{readAllInputTypes:!!n?.readAllInputTypes}),addExternalPackage:n=>{e.addExternalPackage(n)},loadComponent:async n=>{let r=await Sl(e,{readAllInputTypes:!1}),s=r.components.find(o=>o.id===n.cmpId);return{...r,component:s}},registerComponent:async n=>Sl(e,{readAllInputTypes:!1}),setRegisteredComponentInfo:async n=>Sl(e,{readAllInputTypes:!1}),setRegisteredComponentInput:async n=>Sl(e,{readAllInputTypes:!1}),unregisterComponent:async n=>Sl(e,{readAllInputTypes:!1}),getPublicApiKey:()=>Ah(e),setPublicApiKey:n=>Ej(e,n.publicApiKey),getDependencies:n=>n.sdkVersion===tt.gen2?[{name:"@builder.io/dev-tools"},{name:"@builder.io/sdk-vue"}]:[{name:"@builder.io/dev-tools"},{name:"@builder.io/vue"},{name:"@builder.io/sdk"}],getDevRunCommand:()=>"dev",getCache:()=>oo(e),setCache:n=>ao(e,n)}}async function pFe(t){let e=await gFe(t),i=t.getAppRootDir(),n=t.join(i,"src"),r=await Yr(t),s={},o={...t,srcDir:null,builderComponentPath:"",componentsDir:"",registryPath:"",vueConfigPath:e,typescriptEnabled:r,configType:"",isNuxt:await dFe(t),addExternalPackage:c=>{s[t.join(i,c,"index.ts")]=`export * from "${c}";`},readFileSync:c=>s[c]??t.readFileSync(c),existsSync:c=>!!s[c]||t.existsSync(c),readdirSync:c=>{let u=t.readdirSync(c);return c===i?[...u,...Object.keys(s).map(l=>l.slice(i.length+1))]:u},readdir:async c=>{let u=await t.readdir(c);return c===i?[...u,...Object.keys(s).map(l=>l.slice(i.length+1))]:u}};e.includes("webpack.config")&&(o.configType="webpack"),(e.includes("vite.config")||e.includes("nuxt.config"))&&(o.configType="vite");let a=await t.exists(n);o.srcDir=a?n:null;let A=[t.join(i,"components"),t.join(i,"src","components"),t.join(i,"app","components")];for(let c of A)if(await t.exists(c)){o.componentsDir=c;break}return o.componentsDir||(o.componentsDir=a?t.join(n,"components"):t.join(i,"components")),o.registryPath=await ms(t,o.componentsDir),o}async function gFe(t){let e=["nuxt.config.ts","nuxt.config.js","vite.config.ts","vite.config.js","webpack.config.js","webpack.config.ts","vue.config.js","vue.config.ts"];for(let i of e){let n=t.join(t.getAppRootDir(),i);if(await t.exists(n))return n}if(t.ignoreMissingConfig)return"";throw new Error(`Could not find Vue config file. Searched for ${e.join(", ")} in "${t.getAppRootDir()}".`)}async function dFe(t){let e=["nuxt.config.ts","nuxt.config.js"];for(let i of e){let n=t.join(t.getAppRootDir(),i);if(await t.exists(n))return!0}try{let i=t.join(t.getAppRootDir(),"package.json");if(await t.exists(i)){let n=JSON.parse(await t.readFile(i)||"{}"),r={...n.dependencies,...n.devDependencies};return!!(r.nuxt||r["@nuxt/kit"]||r.nuxt3)}}catch{}return!1}var Fj=T(()=>{"use strict";f();Bl();zS();Dj();Gn();xr();bj()});var ZS=b(qc=>{"use strict";f();Object.defineProperty(qc,"__esModule",{value:!0});qc.throwUnsupportedData=qc.throwUnknownDataType=qc.getType=void 0;function kj(t){return Object.prototype.toString.call(t)}qc.getType=kj;function mFe(t){throw new TypeError("unsupported data type: "+kj(t))}qc.throwUnknownDataType=mFe;function fFe(t){throw new TypeError("unsupported data type: "+t)}qc.throwUnsupportedData=fFe});var nF=b(vr=>{"use strict";f();Object.defineProperty(vr,"__esModule",{value:!0});vr.s_to_num=vr.int_str_to_s=vr.num_to_s=vr.big_int_to_s=vr.int_to_s=vr.s_to_big_int=vr.s_to_int=void 0;var GA="";for(let t=0;t<10;t++){let e=String.fromCharCode(48+t);GA+=e}for(let t=0;t<26;t++){let e=String.fromCharCode(65+t);GA+=e}for(let t=0;t<26;t++){let e=String.fromCharCode(97+t);GA+=e}var vg=GA.length,eF={};for(let t=0;t<vg;t++){let e=GA[t];eF[e]=t}function tF(t){let e=0,i=1;for(let n=t.length-1;n>=0;n--){let r=t[n],s=eF[r];s*=i,e+=s,i*=vg}return e}vr.s_to_int=tF;function Rj(t){let e=BigInt(0),i=BigInt(1),n=BigInt(vg);for(let r=t.length-1;r>=0;r--){let s=t[r],o=BigInt(eF[s]);o*=i,e+=o,i*=n}return e}vr.s_to_big_int=Rj;function iF(t){if(t===0)return GA[0];let e=[];for(;t!==0;){let i=t%vg,n=GA[i];e.push(n),t-=i,t/=vg}return e.reverse().join("")}vr.int_to_s=iF;function Nj(t){let e=BigInt(0),i=BigInt(vg);if(t===e)return GA[0];let n=[];for(;t!==e;){let r=t%i,s=GA[Number(r)];n.push(s),t/=i}return n.reverse().join("")}vr.big_int_to_s=Nj;function Tj(t){return t.split("").reverse().join("")}function Mj(t){if(t<0)return"-"+Mj(-t);let[e,i]=t.toString().split(".");if(!i)if(e.includes("e")){let[s,o]=e.split("e");e=s,i="0e"+o}else return iF(t);let n;i&&([i,n]=i.split("e")),e=XB(e),i=Tj(i),i=XB(i);let r=e+"."+i;if(n){switch(r+=".",n[0]){case"+":n=n.slice(1);break;case"-":r+="-",n=n.slice(1);break}n=XB(n),r+=n}return r}vr.num_to_s=Mj;function XB(t){let e=+t;return e.toString()===t&&e+1!==e&&e-1!==e?iF(e):":"+Nj(BigInt(t))}vr.int_str_to_s=XB;function XS(t){return t[0]===":"?Rj(t.substring(1)).toString():tF(t).toString()}function Pj(t){if(t[0]==="-")return-Pj(t.substr(1));let[e,i,n]=t.split(".");if(!i)return tF(e);e=XS(e),i=XS(i),i=Tj(i);let r=e+"."+i;if(n){r+="e";let s=!1;n[0]==="-"&&(s=!0,n=n.slice(1)),n=XS(n),r+=s?-n:+n}return+r}vr.s_to_num=Pj});var sF=b(wr=>{"use strict";f();Object.defineProperty(wr,"__esModule",{value:!0});wr.decodeStr=wr.encodeStr=wr.decodeBool=wr.encodeBool=wr.decodeKey=wr.decodeNum=wr.encodeNum=void 0;var rF=nF();function hFe(t){return"n|"+(0,rF.num_to_s)(t)}wr.encodeNum=hFe;function CFe(t){return t=t.replace("n|",""),(0,rF.s_to_num)(t)}wr.decodeNum=CFe;function IFe(t){return typeof t=="number"?t:(0,rF.s_to_int)(t)}wr.decodeKey=IFe;function EFe(t){return t?"b|T":"b|F"}wr.encodeBool=EFe;function BFe(t){switch(t){case"b|T":return!0;case"b|F":return!1}return!!t}wr.decodeBool=BFe;function QFe(t){switch(t[0]+t[1]){case"b|":case"o|":case"n|":case"a|":case"s|":t="s|"+t}return t}wr.encodeStr=QFe;function yFe(t){return t[0]+t[1]==="s|"?t.substr(2):t}wr.decodeStr=yFe});var oF=b(eQ=>{"use strict";f();Object.defineProperty(eQ,"__esModule",{value:!0});eQ.config=void 0;eQ.config={sort_key:!1,error_on_nan:!1,error_on_infinite:!1}});var uF=b(co=>{"use strict";f();Object.defineProperty(co,"__esModule",{value:!0});co.addValue=co.makeInMemoryMemory=co.makeInMemoryCache=co.makeInMemoryStore=co.memToValues=void 0;var cF=oF(),aF=ZS(),AF=sF(),DFe=nF();function xFe(t){return t.store.toArray()}co.memToValues=xFe;function _j(){let t=[];return{forEach(e){for(let i=0;i<t.length;i++)if(e(t[i])==="break")return},add(e){t.push(e)},toArray(){return t}}}co.makeInMemoryStore=_j;function Lj(){let t=Object.create(null),e=Object.create(null);return{getValue(i){return t[i]},getSchema(i){return e[i]},forEachValue(i){for(let[n,r]of Object.entries(t))if(i(n,r)==="break")return},forEachSchema(i){for(let[n,r]of Object.entries(e))if(i(n,r)==="break")return},setValue(i,n){t[i]=n},setSchema(i,n){e[i]=n},hasValue(i){return i in t},hasSchema(i){return i in e}}}co.makeInMemoryCache=Lj;function vFe(){return{store:_j(),cache:Lj(),keyCount:0}}co.makeInMemoryMemory=vFe;function Fl(t,e){if(t.cache.hasValue(e))return t.cache.getValue(e);let i=t.keyCount++,n=(0,DFe.num_to_s)(i);return t.store.add(e),t.cache.setValue(e,n),n}function wFe(t,e){cF.config.sort_key&&e.sort();let i=e.join(",");if(t.cache.hasSchema(i))return t.cache.getSchema(i);let n=ch(t,e,void 0);return t.cache.setSchema(i,n),n}function ch(t,e,i){if(e===null)return"";switch(typeof e){case"undefined":if(Array.isArray(i))return ch(t,null,i);break;case"object":if(e===null)return Fl(t,null);if(Array.isArray(e)){let n="a";for(let r=0;r<e.length;r++){let s=e[r],o=s===null?"_":ch(t,s,e);n+="|"+o}return n==="a"&&(n="a|"),Fl(t,n)}else{let n=Object.keys(e);if(n.length===0)return Fl(t,"o|");let r="o",s=wFe(t,n);r+="|"+s;for(let o of n){let a=e[o],A=ch(t,a,e);r+="|"+A}return Fl(t,r)}case"boolean":return Fl(t,(0,AF.encodeBool)(e));case"number":return Number.isNaN(e)?(cF.config.error_on_nan&&(0,aF.throwUnsupportedData)("[number NaN]"),""):Number.POSITIVE_INFINITY===e||Number.NEGATIVE_INFINITY===e?(cF.config.error_on_infinite&&(0,aF.throwUnsupportedData)("[number Infinity]"),""):Fl(t,(0,AF.encodeNum)(e));case"string":return Fl(t,(0,AF.encodeStr)(e))}return(0,aF.throwUnknownDataType)(e)}co.addValue=ch});var pF=b(zc=>{"use strict";f();Object.defineProperty(zc,"__esModule",{value:!0});zc.decompress=zc.decode=zc.compress=void 0;var bFe=ZS(),tQ=sF(),lF=uF();function SFe(t){let e=(0,lF.makeInMemoryMemory)(),i=(0,lF.addValue)(e,t,void 0);return[(0,lF.memToValues)(e),i]}zc.compress=SFe;function FFe(t,e){if(e==="o|")return{};let i={},n=e.split("|"),r=n[1],s=uh(t,r),o=n.length;o-2===1&&!Array.isArray(s)&&(s=[s]);for(let a=2;a<o;a++){let A=s[a-2],c=n[a];c=uh(t,c),i[A]=c}return i}function kFe(t,e){if(e==="a|")return[];let i=e.split("|"),n=i.length-1,r=new Array(n);for(let s=0;s<n;s++){let o=i[s+1];o=uh(t,o),r[s]=o}return r}function uh(t,e){if(e===""||e==="_")return null;let i=(0,tQ.decodeKey)(e),n=t[i];if(n===null)return n;switch(typeof n){case"undefined":return n;case"number":return n;case"string":switch(n[0]+n[1]){case"b|":return(0,tQ.decodeBool)(n);case"o|":return FFe(t,n);case"n|":return(0,tQ.decodeNum)(n);case"a|":return kFe(t,n);default:return(0,tQ.decodeStr)(n)}}return(0,bFe.throwUnknownDataType)(n)}zc.decode=uh;function RFe(t){let[e,i]=t;return uh(e,i)}zc.decompress=RFe});var Gj=b(wg=>{"use strict";f();Object.defineProperty(wg,"__esModule",{value:!0});wg.trimUndefinedRecursively=wg.trimUndefined=void 0;function NFe(t){for(let e in t)t[e]===void 0&&delete t[e]}wg.trimUndefined=NFe;function TFe(t){Uj(t,new Set)}wg.trimUndefinedRecursively=TFe;function Uj(t,e){e.add(t);for(let i in t)if(t[i]===void 0)delete t[i];else{let n=t[i];n&&typeof n=="object"&&!e.has(n)&&Uj(n,e)}}});var Hj=b(br=>{"use strict";f();Object.defineProperty(br,"__esModule",{value:!0});br.config=br.trimUndefinedRecursively=br.trimUndefined=br.addValue=br.decode=br.decompress=br.compress=void 0;var Oj=pF();Object.defineProperty(br,"compress",{enumerable:!0,get:function(){return Oj.compress}});Object.defineProperty(br,"decompress",{enumerable:!0,get:function(){return Oj.decompress}});var MFe=pF();Object.defineProperty(br,"decode",{enumerable:!0,get:function(){return MFe.decode}});var PFe=uF();Object.defineProperty(br,"addValue",{enumerable:!0,get:function(){return PFe.addValue}});var Kj=Gj();Object.defineProperty(br,"trimUndefined",{enumerable:!0,get:function(){return Kj.trimUndefined}});Object.defineProperty(br,"trimUndefinedRecursively",{enumerable:!0,get:function(){return Kj.trimUndefinedRecursively}});var _Fe=oF();Object.defineProperty(br,"config",{enumerable:!0,get:function(){return _Fe.config}})});async function Jj(t,e){let n={components:(await e.getRegistry()).components.filter(s=>s.isRegistered).map(s=>{let o={filePath:Vo(t.relative(t.getAppRootDir(),s.filePath)),name:s.name,image:s.image,description:s.description,exportName:s.exportName,inputs:_s(s.inputs)};return _s(o)}),version:1};t.debug("exporting registry components:",n.components.length);let r=(0,iQ.compress)(n);return btoa(JSON.stringify(r))}async function jj(t,e,i){if(typeof i!="string")throw new Error("Invalid registry to import");let n=await e.getRegistry(),r=JSON.parse(atob(i)),s=(0,iQ.decompress)(r),o=_s(n);t.debug("importing registry components:",s.components.length);for(let a of s.components){let A=Vo(t.normalize(a.filePath)),c=n.components.find(l=>Vo(l.filePath).endsWith(A)&&l.exportName===a.exportName);if(!c){console.error(`Could not find component to register: ${a.filePath}, ${a.exportName}`);continue}t.debug(`register (${c.id})`,c.filePath),await e.registerComponent({cmpId:c.id});for(let l of a.inputs)t.debug(`set input (${c.id})`),await e.setRegisteredComponentInput({cmpId:c.id,name:l.name,type:l.type,required:l.required,defaultValue:l.defaultValue,friendlyName:l.friendlyName,helperText:l.helperText});t.debug(`set input (${c.id}) info`);let u=await e.setRegisteredComponentInfo({cmpId:c.id,name:a.name,image:a.image,description:a.description});o=_s(u)}return o}var iQ,Yj=T(()=>{"use strict";f();Rt();iQ=ee(Hj(),1)});var Cs,VEt,$j=T(()=>{"use strict";f();Gn();Cs={react:"react",remix:"remix",angular:"angular",next:"next",qwik:"qwik",vue:"vue",native:"native"},VEt={[Cs.react]:[{version:tt.gen1,recommended:!0},{version:tt.gen2,recommended:!1}],[Cs.remix]:[{version:tt.gen1,recommended:!1},{version:tt.gen2,recommended:!0}],[Cs.angular]:[{version:tt.gen2,recommended:!0}],[Cs.next]:[{version:tt.gen1,recommended:!0},{version:tt.gen2,recommended:!1}],[Cs.qwik]:[{version:tt.gen2,recommended:!0}],[Cs.vue]:[{version:tt.gen1,recommended:!0},{version:tt.gen2,recommended:!1}]}});async function qj(t,e){let i=[],n=new Set;async function r(s){let o=t.join(s,"package.json");try{if(!await t.exists(o))return null;let A=await t.readFile(o);if(A===null)throw new Error(`Failed to read package.json at ${o}`);let c=JSON.parse(A);if(typeof c.name!="string"||c.name.trim()===""||n.has(c.name))return null;n.add(c.name);let u={name:c.name,subPackages:[]},l=await t.readdir(s);for(let p of l)p!=="node_modules"&&(await t.stat(t.join(s,p))).isDirectory()&&u.subPackages.push(p);return i.push(u),u}catch(a){return t.Sentry?.captureException(a,{level:"warning"}),null}}try{let s=t.join(e,"package.json");if(await t.exists(s)){let a=await t.readFile(s);if(a!==null){let A=JSON.parse(a),c={...A.dependencies,...A.devDependencies};for(let u of Object.keys(c)){let l=t.join(e,"node_modules",u);await r(l)}if(Array.isArray(A.workspaces))for(let u of A.workspaces){let l=await t.readdir(t.join(e,u));for(let p of l){let g=t.join(e,u,p);await r(g)}}}}}catch(s){t.Sentry?.captureException(s,{level:"warning"})}return i}var zj=T(()=>{"use strict";f()});async function Vc(t,e=!1){if(!t.ts)throw new Error("createDevTools() requires a TypeScript instance passed to the 'ts' option");if((!t.frameworks||t.frameworks.length===0)&&(t.frameworks=await Il(t)),t.frameworks.length===0&&e&&t.frameworks.push({name:"native"}),t.frameworks.length===0)throw new Error("Supported Devtools framework for not found");for(let i of t.frameworks){let n=LFe[i.name];if(n)try{let r=await n(t);return{...r,exportRegistry:()=>Jj(t,r),importRegistry:o=>jj(t,r,o),framework:UFe[i.name],findAllDependencies:async()=>await qj(t,t.getRepoRootDir())}}catch(r){t.Sentry?.captureException(r,{level:"warning"})}}throw new Error(`Devtools framework not found for ${t.getAppRootDir()}, ${JSON.stringify(t.frameworks,null,2)}`)}var LFe,UFe,Vj=T(()=>{"use strict";f();El();iJ();CJ();SJ();OJ();Ij();Fj();Yj();$j();zj();LFe={"@builder.io/qwik-city":hJ,next:tJ,"@remix-run/react":bJ,react:MS,"@angular/core":Cj,vue:Sj,native:MS},UFe={"@builder.io/qwik-city":Cs.qwik,next:Cs.next,"@remix-run/react":Cs.remix,react:Cs.react,"@angular/core":Cs.angular,vue:Cs.vue,native:Cs.native}});var lh,gF=T(()=>{"use strict";f();lh=class{connections=new Set;maxConnections=1e3;sys;healthCheckInterval=null;HEALTH_CHECK_INTERVAL_MS=3e4;constructor(e){this.sys=e,this.startHealthMonitoring()}addConnection(e,i){if(this.connections.size>=this.maxConnections){let n=`Max connections (${this.maxConnections}) reached, rejecting new connection`;return console.error(`[ConnectionTracker] ${n}`),this.sys.Sentry?.captureMessage(n,{level:"error",tags:{component:"ConnectionTracker",maxConnections:this.maxConnections.toString(),currentConnections:this.connections.size.toString(),requestUrl:i?.url||"unknown",requestMethod:i?.method||"unknown",userAgent:i?.headers?.["user-agent"]||"unknown",origin:i?.headers?.origin||"unknown",referer:i?.headers?.referer||"unknown"},extra:{connectionLimit:this.maxConnections,activeConnections:this.connections.size,requestHeaders:i?.headers||{},requestUrl:i?.url}}),!1}return this.connections.add(e),e.on("close",()=>{this.removeConnection(e)}),e.on("error",()=>{this.removeConnection(e)}),!0}removeConnection(e){this.connections.delete(e)}getConnectionCount(){return this.connections.size}cleanup(){for(let e of this.connections)e.writable&&e.write(`HTTP/1.1 503 Service Unavailable\r
1094
+ `}var b6=T(()=>{"use strict";f();Rt()});async function S6(t){let e=await pFe(t);return{builderPageOptions:async()=>({templateContentId:"vue-demo-template-id",pathname:"/builder-demo",title:"Builder + Vue Demo Page"}),ensureBuilderSetup:async()=>(await x6(e)).errors.length>0?[]:[],ensureFigmaImportPage:()=>v6(e),getRegistryPath:()=>e.registryPath,getRegistry:n=>Sl(e,{readAllInputTypes:!!n?.readAllInputTypes}),addExternalPackage:n=>{e.addExternalPackage(n)},loadComponent:async n=>{let r=await Sl(e,{readAllInputTypes:!1}),s=r.components.find(o=>o.id===n.cmpId);return{...r,component:s}},registerComponent:async n=>Sl(e,{readAllInputTypes:!1}),setRegisteredComponentInfo:async n=>Sl(e,{readAllInputTypes:!1}),setRegisteredComponentInput:async n=>Sl(e,{readAllInputTypes:!1}),unregisterComponent:async n=>Sl(e,{readAllInputTypes:!1}),getPublicApiKey:()=>Ah(e),setPublicApiKey:n=>E6(e,n.publicApiKey),getDependencies:n=>n.sdkVersion===tt.gen2?[{name:"@builder.io/dev-tools"},{name:"@builder.io/sdk-vue"}]:[{name:"@builder.io/dev-tools"},{name:"@builder.io/vue"},{name:"@builder.io/sdk"}],getDevRunCommand:()=>"dev",getCache:()=>oo(e),setCache:n=>ao(e,n)}}async function pFe(t){let e=await gFe(t),i=t.getAppRootDir(),n=t.join(i,"src"),r=await Yr(t),s={},o={...t,srcDir:null,builderComponentPath:"",componentsDir:"",registryPath:"",vueConfigPath:e,typescriptEnabled:r,configType:"",isNuxt:await dFe(t),addExternalPackage:c=>{s[t.join(i,c,"index.ts")]=`export * from "${c}";`},readFileSync:c=>s[c]??t.readFileSync(c),existsSync:c=>!!s[c]||t.existsSync(c),readdirSync:c=>{let u=t.readdirSync(c);return c===i?[...u,...Object.keys(s).map(l=>l.slice(i.length+1))]:u},readdir:async c=>{let u=await t.readdir(c);return c===i?[...u,...Object.keys(s).map(l=>l.slice(i.length+1))]:u}};e.includes("webpack.config")&&(o.configType="webpack"),(e.includes("vite.config")||e.includes("nuxt.config"))&&(o.configType="vite");let a=await t.exists(n);o.srcDir=a?n:null;let A=[t.join(i,"components"),t.join(i,"src","components"),t.join(i,"app","components")];for(let c of A)if(await t.exists(c)){o.componentsDir=c;break}return o.componentsDir||(o.componentsDir=a?t.join(n,"components"):t.join(i,"components")),o.registryPath=await ms(t,o.componentsDir),o}async function gFe(t){let e=["nuxt.config.ts","nuxt.config.js","vite.config.ts","vite.config.js","webpack.config.js","webpack.config.ts","vue.config.js","vue.config.ts"];for(let i of e){let n=t.join(t.getAppRootDir(),i);if(await t.exists(n))return n}if(t.ignoreMissingConfig)return"";throw new Error(`Could not find Vue config file. Searched for ${e.join(", ")} in "${t.getAppRootDir()}".`)}async function dFe(t){let e=["nuxt.config.ts","nuxt.config.js"];for(let i of e){let n=t.join(t.getAppRootDir(),i);if(await t.exists(n))return!0}try{let i=t.join(t.getAppRootDir(),"package.json");if(await t.exists(i)){let n=JSON.parse(await t.readFile(i)||"{}"),r={...n.dependencies,...n.devDependencies};return!!(r.nuxt||r["@nuxt/kit"]||r.nuxt3)}}catch{}return!1}var F6=T(()=>{"use strict";f();Bl();zS();D6();Gn();xr();b6()});var ZS=b(qc=>{"use strict";f();Object.defineProperty(qc,"__esModule",{value:!0});qc.throwUnsupportedData=qc.throwUnknownDataType=qc.getType=void 0;function k6(t){return Object.prototype.toString.call(t)}qc.getType=k6;function mFe(t){throw new TypeError("unsupported data type: "+k6(t))}qc.throwUnknownDataType=mFe;function fFe(t){throw new TypeError("unsupported data type: "+t)}qc.throwUnsupportedData=fFe});var nF=b(vr=>{"use strict";f();Object.defineProperty(vr,"__esModule",{value:!0});vr.s_to_num=vr.int_str_to_s=vr.num_to_s=vr.big_int_to_s=vr.int_to_s=vr.s_to_big_int=vr.s_to_int=void 0;var GA="";for(let t=0;t<10;t++){let e=String.fromCharCode(48+t);GA+=e}for(let t=0;t<26;t++){let e=String.fromCharCode(65+t);GA+=e}for(let t=0;t<26;t++){let e=String.fromCharCode(97+t);GA+=e}var vg=GA.length,eF={};for(let t=0;t<vg;t++){let e=GA[t];eF[e]=t}function tF(t){let e=0,i=1;for(let n=t.length-1;n>=0;n--){let r=t[n],s=eF[r];s*=i,e+=s,i*=vg}return e}vr.s_to_int=tF;function R6(t){let e=BigInt(0),i=BigInt(1),n=BigInt(vg);for(let r=t.length-1;r>=0;r--){let s=t[r],o=BigInt(eF[s]);o*=i,e+=o,i*=n}return e}vr.s_to_big_int=R6;function iF(t){if(t===0)return GA[0];let e=[];for(;t!==0;){let i=t%vg,n=GA[i];e.push(n),t-=i,t/=vg}return e.reverse().join("")}vr.int_to_s=iF;function N6(t){let e=BigInt(0),i=BigInt(vg);if(t===e)return GA[0];let n=[];for(;t!==e;){let r=t%i,s=GA[Number(r)];n.push(s),t/=i}return n.reverse().join("")}vr.big_int_to_s=N6;function T6(t){return t.split("").reverse().join("")}function M6(t){if(t<0)return"-"+M6(-t);let[e,i]=t.toString().split(".");if(!i)if(e.includes("e")){let[s,o]=e.split("e");e=s,i="0e"+o}else return iF(t);let n;i&&([i,n]=i.split("e")),e=XB(e),i=T6(i),i=XB(i);let r=e+"."+i;if(n){switch(r+=".",n[0]){case"+":n=n.slice(1);break;case"-":r+="-",n=n.slice(1);break}n=XB(n),r+=n}return r}vr.num_to_s=M6;function XB(t){let e=+t;return e.toString()===t&&e+1!==e&&e-1!==e?iF(e):":"+N6(BigInt(t))}vr.int_str_to_s=XB;function XS(t){return t[0]===":"?R6(t.substring(1)).toString():tF(t).toString()}function P6(t){if(t[0]==="-")return-P6(t.substr(1));let[e,i,n]=t.split(".");if(!i)return tF(e);e=XS(e),i=XS(i),i=T6(i);let r=e+"."+i;if(n){r+="e";let s=!1;n[0]==="-"&&(s=!0,n=n.slice(1)),n=XS(n),r+=s?-n:+n}return+r}vr.s_to_num=P6});var sF=b(wr=>{"use strict";f();Object.defineProperty(wr,"__esModule",{value:!0});wr.decodeStr=wr.encodeStr=wr.decodeBool=wr.encodeBool=wr.decodeKey=wr.decodeNum=wr.encodeNum=void 0;var rF=nF();function hFe(t){return"n|"+(0,rF.num_to_s)(t)}wr.encodeNum=hFe;function CFe(t){return t=t.replace("n|",""),(0,rF.s_to_num)(t)}wr.decodeNum=CFe;function IFe(t){return typeof t=="number"?t:(0,rF.s_to_int)(t)}wr.decodeKey=IFe;function EFe(t){return t?"b|T":"b|F"}wr.encodeBool=EFe;function BFe(t){switch(t){case"b|T":return!0;case"b|F":return!1}return!!t}wr.decodeBool=BFe;function QFe(t){switch(t[0]+t[1]){case"b|":case"o|":case"n|":case"a|":case"s|":t="s|"+t}return t}wr.encodeStr=QFe;function yFe(t){return t[0]+t[1]==="s|"?t.substr(2):t}wr.decodeStr=yFe});var oF=b(eQ=>{"use strict";f();Object.defineProperty(eQ,"__esModule",{value:!0});eQ.config=void 0;eQ.config={sort_key:!1,error_on_nan:!1,error_on_infinite:!1}});var uF=b(co=>{"use strict";f();Object.defineProperty(co,"__esModule",{value:!0});co.addValue=co.makeInMemoryMemory=co.makeInMemoryCache=co.makeInMemoryStore=co.memToValues=void 0;var cF=oF(),aF=ZS(),AF=sF(),DFe=nF();function xFe(t){return t.store.toArray()}co.memToValues=xFe;function _6(){let t=[];return{forEach(e){for(let i=0;i<t.length;i++)if(e(t[i])==="break")return},add(e){t.push(e)},toArray(){return t}}}co.makeInMemoryStore=_6;function L6(){let t=Object.create(null),e=Object.create(null);return{getValue(i){return t[i]},getSchema(i){return e[i]},forEachValue(i){for(let[n,r]of Object.entries(t))if(i(n,r)==="break")return},forEachSchema(i){for(let[n,r]of Object.entries(e))if(i(n,r)==="break")return},setValue(i,n){t[i]=n},setSchema(i,n){e[i]=n},hasValue(i){return i in t},hasSchema(i){return i in e}}}co.makeInMemoryCache=L6;function vFe(){return{store:_6(),cache:L6(),keyCount:0}}co.makeInMemoryMemory=vFe;function Fl(t,e){if(t.cache.hasValue(e))return t.cache.getValue(e);let i=t.keyCount++,n=(0,DFe.num_to_s)(i);return t.store.add(e),t.cache.setValue(e,n),n}function wFe(t,e){cF.config.sort_key&&e.sort();let i=e.join(",");if(t.cache.hasSchema(i))return t.cache.getSchema(i);let n=ch(t,e,void 0);return t.cache.setSchema(i,n),n}function ch(t,e,i){if(e===null)return"";switch(typeof e){case"undefined":if(Array.isArray(i))return ch(t,null,i);break;case"object":if(e===null)return Fl(t,null);if(Array.isArray(e)){let n="a";for(let r=0;r<e.length;r++){let s=e[r],o=s===null?"_":ch(t,s,e);n+="|"+o}return n==="a"&&(n="a|"),Fl(t,n)}else{let n=Object.keys(e);if(n.length===0)return Fl(t,"o|");let r="o",s=wFe(t,n);r+="|"+s;for(let o of n){let a=e[o],A=ch(t,a,e);r+="|"+A}return Fl(t,r)}case"boolean":return Fl(t,(0,AF.encodeBool)(e));case"number":return Number.isNaN(e)?(cF.config.error_on_nan&&(0,aF.throwUnsupportedData)("[number NaN]"),""):Number.POSITIVE_INFINITY===e||Number.NEGATIVE_INFINITY===e?(cF.config.error_on_infinite&&(0,aF.throwUnsupportedData)("[number Infinity]"),""):Fl(t,(0,AF.encodeNum)(e));case"string":return Fl(t,(0,AF.encodeStr)(e))}return(0,aF.throwUnknownDataType)(e)}co.addValue=ch});var pF=b(zc=>{"use strict";f();Object.defineProperty(zc,"__esModule",{value:!0});zc.decompress=zc.decode=zc.compress=void 0;var bFe=ZS(),tQ=sF(),lF=uF();function SFe(t){let e=(0,lF.makeInMemoryMemory)(),i=(0,lF.addValue)(e,t,void 0);return[(0,lF.memToValues)(e),i]}zc.compress=SFe;function FFe(t,e){if(e==="o|")return{};let i={},n=e.split("|"),r=n[1],s=uh(t,r),o=n.length;o-2===1&&!Array.isArray(s)&&(s=[s]);for(let a=2;a<o;a++){let A=s[a-2],c=n[a];c=uh(t,c),i[A]=c}return i}function kFe(t,e){if(e==="a|")return[];let i=e.split("|"),n=i.length-1,r=new Array(n);for(let s=0;s<n;s++){let o=i[s+1];o=uh(t,o),r[s]=o}return r}function uh(t,e){if(e===""||e==="_")return null;let i=(0,tQ.decodeKey)(e),n=t[i];if(n===null)return n;switch(typeof n){case"undefined":return n;case"number":return n;case"string":switch(n[0]+n[1]){case"b|":return(0,tQ.decodeBool)(n);case"o|":return FFe(t,n);case"n|":return(0,tQ.decodeNum)(n);case"a|":return kFe(t,n);default:return(0,tQ.decodeStr)(n)}}return(0,bFe.throwUnknownDataType)(n)}zc.decode=uh;function RFe(t){let[e,i]=t;return uh(e,i)}zc.decompress=RFe});var G6=b(wg=>{"use strict";f();Object.defineProperty(wg,"__esModule",{value:!0});wg.trimUndefinedRecursively=wg.trimUndefined=void 0;function NFe(t){for(let e in t)t[e]===void 0&&delete t[e]}wg.trimUndefined=NFe;function TFe(t){U6(t,new Set)}wg.trimUndefinedRecursively=TFe;function U6(t,e){e.add(t);for(let i in t)if(t[i]===void 0)delete t[i];else{let n=t[i];n&&typeof n=="object"&&!e.has(n)&&U6(n,e)}}});var H6=b(br=>{"use strict";f();Object.defineProperty(br,"__esModule",{value:!0});br.config=br.trimUndefinedRecursively=br.trimUndefined=br.addValue=br.decode=br.decompress=br.compress=void 0;var O6=pF();Object.defineProperty(br,"compress",{enumerable:!0,get:function(){return O6.compress}});Object.defineProperty(br,"decompress",{enumerable:!0,get:function(){return O6.decompress}});var MFe=pF();Object.defineProperty(br,"decode",{enumerable:!0,get:function(){return MFe.decode}});var PFe=uF();Object.defineProperty(br,"addValue",{enumerable:!0,get:function(){return PFe.addValue}});var K6=G6();Object.defineProperty(br,"trimUndefined",{enumerable:!0,get:function(){return K6.trimUndefined}});Object.defineProperty(br,"trimUndefinedRecursively",{enumerable:!0,get:function(){return K6.trimUndefinedRecursively}});var _Fe=oF();Object.defineProperty(br,"config",{enumerable:!0,get:function(){return _Fe.config}})});async function J6(t,e){let n={components:(await e.getRegistry()).components.filter(s=>s.isRegistered).map(s=>{let o={filePath:Vo(t.relative(t.getAppRootDir(),s.filePath)),name:s.name,image:s.image,description:s.description,exportName:s.exportName,inputs:_s(s.inputs)};return _s(o)}),version:1};t.debug("exporting registry components:",n.components.length);let r=(0,iQ.compress)(n);return btoa(JSON.stringify(r))}async function j6(t,e,i){if(typeof i!="string")throw new Error("Invalid registry to import");let n=await e.getRegistry(),r=JSON.parse(atob(i)),s=(0,iQ.decompress)(r),o=_s(n);t.debug("importing registry components:",s.components.length);for(let a of s.components){let A=Vo(t.normalize(a.filePath)),c=n.components.find(l=>Vo(l.filePath).endsWith(A)&&l.exportName===a.exportName);if(!c){console.error(`Could not find component to register: ${a.filePath}, ${a.exportName}`);continue}t.debug(`register (${c.id})`,c.filePath),await e.registerComponent({cmpId:c.id});for(let l of a.inputs)t.debug(`set input (${c.id})`),await e.setRegisteredComponentInput({cmpId:c.id,name:l.name,type:l.type,required:l.required,defaultValue:l.defaultValue,friendlyName:l.friendlyName,helperText:l.helperText});t.debug(`set input (${c.id}) info`);let u=await e.setRegisteredComponentInfo({cmpId:c.id,name:a.name,image:a.image,description:a.description});o=_s(u)}return o}var iQ,Y6=T(()=>{"use strict";f();Rt();iQ=ee(H6(),1)});var Cs,VEt,$6=T(()=>{"use strict";f();Gn();Cs={react:"react",remix:"remix",angular:"angular",next:"next",qwik:"qwik",vue:"vue",native:"native"},VEt={[Cs.react]:[{version:tt.gen1,recommended:!0},{version:tt.gen2,recommended:!1}],[Cs.remix]:[{version:tt.gen1,recommended:!1},{version:tt.gen2,recommended:!0}],[Cs.angular]:[{version:tt.gen2,recommended:!0}],[Cs.next]:[{version:tt.gen1,recommended:!0},{version:tt.gen2,recommended:!1}],[Cs.qwik]:[{version:tt.gen2,recommended:!0}],[Cs.vue]:[{version:tt.gen1,recommended:!0},{version:tt.gen2,recommended:!1}]}});async function q6(t,e){let i=[],n=new Set;async function r(s){let o=t.join(s,"package.json");try{if(!await t.exists(o))return null;let A=await t.readFile(o);if(A===null)throw new Error(`Failed to read package.json at ${o}`);let c=JSON.parse(A);if(typeof c.name!="string"||c.name.trim()===""||n.has(c.name))return null;n.add(c.name);let u={name:c.name,subPackages:[]},l=await t.readdir(s);for(let p of l)p!=="node_modules"&&(await t.stat(t.join(s,p))).isDirectory()&&u.subPackages.push(p);return i.push(u),u}catch(a){return t.Sentry?.captureException(a,{level:"warning"}),null}}try{let s=t.join(e,"package.json");if(await t.exists(s)){let a=await t.readFile(s);if(a!==null){let A=JSON.parse(a),c={...A.dependencies,...A.devDependencies};for(let u of Object.keys(c)){let l=t.join(e,"node_modules",u);await r(l)}if(Array.isArray(A.workspaces))for(let u of A.workspaces){let l=await t.readdir(t.join(e,u));for(let p of l){let g=t.join(e,u,p);await r(g)}}}}}catch(s){t.Sentry?.captureException(s,{level:"warning"})}return i}var z6=T(()=>{"use strict";f()});async function Vc(t,e=!1){if(!t.ts)throw new Error("createDevTools() requires a TypeScript instance passed to the 'ts' option");if((!t.frameworks||t.frameworks.length===0)&&(t.frameworks=await Il(t)),t.frameworks.length===0&&e&&t.frameworks.push({name:"native"}),t.frameworks.length===0)throw new Error("Supported Devtools framework for not found");for(let i of t.frameworks){let n=LFe[i.name];if(n)try{let r=await n(t);return{...r,exportRegistry:()=>J6(t,r),importRegistry:o=>j6(t,r,o),framework:UFe[i.name],findAllDependencies:async()=>await q6(t,t.getRepoRootDir())}}catch(r){t.Sentry?.captureException(r,{level:"warning"})}}throw new Error(`Devtools framework not found for ${t.getAppRootDir()}, ${JSON.stringify(t.frameworks,null,2)}`)}var LFe,UFe,V6=T(()=>{"use strict";f();El();iJ();CJ();SJ();OJ();I6();F6();Y6();$6();z6();LFe={"@builder.io/qwik-city":hJ,next:tJ,"@remix-run/react":bJ,react:MS,"@angular/core":C6,vue:S6,native:MS},UFe={"@builder.io/qwik-city":Cs.qwik,next:Cs.next,"@remix-run/react":Cs.remix,react:Cs.react,"@angular/core":Cs.angular,vue:Cs.vue,native:Cs.native}});var lh,gF=T(()=>{"use strict";f();lh=class{connections=new Set;maxConnections=1e3;sys;healthCheckInterval=null;HEALTH_CHECK_INTERVAL_MS=3e4;constructor(e){this.sys=e,this.startHealthMonitoring()}addConnection(e,i){if(this.connections.size>=this.maxConnections){let n=`Max connections (${this.maxConnections}) reached, rejecting new connection`;return console.error(`[ConnectionTracker] ${n}`),this.sys.Sentry?.captureMessage(n,{level:"error",tags:{component:"ConnectionTracker",maxConnections:this.maxConnections.toString(),currentConnections:this.connections.size.toString(),requestUrl:i?.url||"unknown",requestMethod:i?.method||"unknown",userAgent:i?.headers?.["user-agent"]||"unknown",origin:i?.headers?.origin||"unknown",referer:i?.headers?.referer||"unknown"},extra:{connectionLimit:this.maxConnections,activeConnections:this.connections.size,requestHeaders:i?.headers||{},requestUrl:i?.url}}),!1}return this.connections.add(e),e.on("close",()=>{this.removeConnection(e)}),e.on("error",()=>{this.removeConnection(e)}),!0}removeConnection(e){this.connections.delete(e)}getConnectionCount(){return this.connections.size}cleanup(){for(let e of this.connections)e.writable&&e.write(`HTTP/1.1 503 Service Unavailable\r
1095
1095
  \r
1096
- `),e.destroy();this.connections.clear(),this.stopHealthMonitoring()}startHealthMonitoring(){this.healthCheckInterval||(this.healthCheckInterval=setInterval(()=>{this.performHealthCheck()},this.HEALTH_CHECK_INTERVAL_MS))}stopHealthMonitoring(){this.healthCheckInterval&&(clearInterval(this.healthCheckInterval),this.healthCheckInterval=null)}performHealthCheck(){let e=[];for(let i of this.connections)if(i.destroyed||!i.writable){e.push(i);continue}for(let i of e){this.removeConnection(i);try{i.destroy()}catch{}}}}});var Wj=T(()=>{"use strict";f()});var Zj=T(()=>{"use strict";f();gF();Wj();El()});var Xj=T(()=>{"use strict";f();qi();fg();Zo();El()});var e6=T(()=>{"use strict";f();qi();fg();Zo();Ga()});var t6=T(()=>{"use strict";f();qi();Zo();fg()});var i6=T(()=>{"use strict";f()});var n6=T(()=>{"use strict";f();Zo();qi()});var sQt,r6=T(()=>{"use strict";f();El();xl();Xj();e6();t6();i6();n6();sQt=`
1096
+ `),e.destroy();this.connections.clear(),this.stopHealthMonitoring()}startHealthMonitoring(){this.healthCheckInterval||(this.healthCheckInterval=setInterval(()=>{this.performHealthCheck()},this.HEALTH_CHECK_INTERVAL_MS))}stopHealthMonitoring(){this.healthCheckInterval&&(clearInterval(this.healthCheckInterval),this.healthCheckInterval=null)}performHealthCheck(){let e=[];for(let i of this.connections)if(i.destroyed||!i.writable){e.push(i);continue}for(let i of e){this.removeConnection(i);try{i.destroy()}catch{}}}}});var W6=T(()=>{"use strict";f()});var Z6=T(()=>{"use strict";f();gF();W6();El()});var X6=T(()=>{"use strict";f();qi();fg();Zo();El()});var ej=T(()=>{"use strict";f();qi();fg();Zo();Ga()});var tj=T(()=>{"use strict";f();qi();Zo();fg()});var ij=T(()=>{"use strict";f()});var nj=T(()=>{"use strict";f();Zo();qi()});var sQt,rj=T(()=>{"use strict";f();El();xl();X6();ej();tj();ij();nj();sQt=`
1097
1097
  /** @type {import('next').NextConfig} */
1098
1098
  const nextConfig = {
1099
1099
  }
1100
1100
 
1101
1101
  module.exports = nextConfig
1102
- `.trimStart()});var s6=T(()=>{"use strict";f();Ag();ph()});var ph=T(()=>{"use strict";f();ln();Vj();Zj();El();r6();s6();Ql()});function GFe(t){let e=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(r)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(r)+t.IDENT_RE,relevance:0},g=e.optional(r)+t.IDENT_RE+"\\s*\\(",d=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],m=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],E={type:m,keyword:d,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},Q={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},y=[Q,l,a,i,t.C_BLOCK_COMMENT_MODE,u,c],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:y.concat([{begin:/\(/,end:/\)/,keywords:E,contains:y.concat(["self"]),relevance:0}]),relevance:0},v={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:E,relevance:0},{begin:g,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,i,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,v,Q,y,[l,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:E,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:E},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function o6(t){let e={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},i=GFe(t),n=i.keywords;return n.type=[...n.type,...e.type],n.literal=[...n.literal,...e.literal],n.built_in=[...n.built_in,...e.built_in],n._hints=e._hints,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}var a6=T(()=>{f()});function A6(t){let e=t.regex,i={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});let r={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,i,r]};r.contains.push(o);let a={match:/\\"/},A={className:"string",begin:/'/,end:/'/},c={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,i]},l=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${l.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},d=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],m=["true","false"],h={match:/(\/[a-z._-]+)+/},C=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],I=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],B=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],E=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:d,literal:m,built_in:[...C,...I,"set","shopt",...B,...E]},contains:[p,t.SHEBANG(),g,u,t.HASH_COMMENT_MODE,s,h,o,a,A,c,i]}}var c6=T(()=>{f()});function u6(t){let e=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="("+n+"|"+e.optional(r)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(r)+t.IDENT_RE,relevance:0},g=e.optional(r)+t.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},C=[l,a,i,t.C_BLOCK_COMMENT_MODE,u,c],I={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:C.concat([{begin:/\(/,end:/\)/,keywords:h,contains:C.concat(["self"]),relevance:0}]),relevance:0},B={begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:h,relevance:0},{begin:g,returnBegin:!0,contains:[t.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,i,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"</",contains:[].concat(I,B,C,[l,{begin:t.IDENT_RE+"::",keywords:h},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:l,strings:c,keywords:h}}}var l6=T(()=>{f()});function p6(t){let e=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(r)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(r)+t.IDENT_RE,relevance:0},g=e.optional(r)+t.IDENT_RE+"\\s*\\(",d=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],m=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],E={type:m,keyword:d,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},Q={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},y=[Q,l,a,i,t.C_BLOCK_COMMENT_MODE,u,c],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:y.concat([{begin:/\(/,end:/\)/,keywords:E,contains:y.concat(["self"]),relevance:0}]),relevance:0},v={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:E,relevance:0},{begin:g,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,i,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,v,Q,y,[l,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:E,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:E},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}var g6=T(()=>{f()});function d6(t){let e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],i=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],s=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:r.concat(s),built_in:e,literal:n},a=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),A={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=t.inherit(c,{illegal:/\n/}),l={className:"subst",begin:/\{/,end:/\}/,keywords:o},p=t.inherit(l,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,p]},d={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},l]},m=t.inherit(d,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});l.contains=[d,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.C_BLOCK_COMMENT_MODE],p.contains=[m,g,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let h={variants:[d,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},C={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},I=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",B={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},h,A,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+I+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:i.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,C],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[h,A,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},B]}}var m6=T(()=>{f()});function f6(t){let e=t.regex,i=OFe(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r="and or not only",s=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",a=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[i.BLOCK_COMMENT,n,i.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},i.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+JFe.join("|")+")"},{begin:":(:)?("+jFe.join("|")+")"}]},i.CSS_VARIABLE,{className:"attribute",begin:"\\b("+YFe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[i.BLOCK_COMMENT,i.HEXCOLOR,i.IMPORTANT,i.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},i.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:s},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:r,attribute:HFe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,i.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+KFe.join("|")+")\\b"}]}}var OFe,KFe,HFe,JFe,jFe,YFe,h6=T(()=>{f();OFe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),KFe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],HFe=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],JFe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],jFe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],YFe=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse()});function C6(t){let e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}var I6=T(()=>{f()});function E6(t){let s={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:s,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:t.C_NUMBER_RE+"[i]",relevance:1},t.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,illegal:/["']/}]}]}}var B6=T(()=>{f()});function Q6(t){let e=t.regex,i=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:e.concat(i,e.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}var y6=T(()=>{f()});function D6(t){let e=t.regex,i={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},n=t.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},a={begin:/\[/,end:/\]/,contains:[n,s,r,o,i,"self"],relevance:0},A=/[A-Za-z0-9_-]+/,c=/"(\\"|[^"])*"/,u=/'[^']*'/,l=e.either(A,c,u),p=e.concat(l,"(\\s*\\.\\s*",l,")*",e.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:p,className:"attr",starts:{end:/$/,contains:[n,a,s,r,o,i]}}]}}var x6=T(()=>{f()});function w6(t,e,i){return i===-1?"":t.replace(e,n=>w6(t,e,i-1))}function b6(t){let e=t.regex,i="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",n=i+w6("(?:<"+i+"~~~(?:\\s*,\\s*"+i+"~~~)*>)?",/~~~/g,2),A={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},c={className:"meta",begin:"@"+i,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},u={className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:A,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,i),/\s+/,i,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,i],className:{1:"keyword",3:"title.class"},contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:A,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,v6,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},v6,c]}}var bg,nQ,rQ,v6,S6=T(()=>{f();bg="[0-9](_*[0-9])*",nQ=`\\.(${bg})`,rQ="[0-9a-fA-F](_*[0-9a-fA-F])*",v6={className:"number",variants:[{begin:`(\\b(${bg})((${nQ})|\\.)?|(${nQ}))[eE][+-]?(${bg})[fFdD]?\\b`},{begin:`\\b(${bg})((${nQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${nQ})[fFdD]?\\b`},{begin:`\\b(${bg})[fFdD]\\b`},{begin:`\\b0[xX]((${rQ})\\.?|(${rQ})?\\.(${rQ}))[pP][+-]?(${bg})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${rQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function T6(t){let e=t.regex,i=(Z,{after:z})=>{let K="</"+Z[0].slice(1);return Z.input.indexOf(K,z)!==-1},n=F6,r={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,z)=>{let K=Z[0].length+Z.index,U=Z.input[K];if(U==="<"||U===","){z.ignoreMatch();return}U===">"&&(i(Z,{after:K})||z.ignoreMatch());let se,ue=Z.input.substring(K);if(se=ue.match(/^\s*=/)){z.ignoreMatch();return}if((se=ue.match(/^\s+extends\s+/))&&se.index===0){z.ignoreMatch();return}}},a={$pattern:F6,keyword:$Fe,literal:qFe,built_in:VFe,"variable.language":zFe},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},m={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},I={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},B=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,{match:/\$\d+/},l];p.contains=B.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(B)});let E=[].concat(I,p.contains),Q=E.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(E)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q},x={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},v={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...k6,...R6]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},R={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function O(Z){return e.concat("(?!",Z.join("|"),")")}let J={match:e.concat(/\b/,O([...N6,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},j={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},M={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},_="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(_)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:Q,CLASS_REFERENCE:v},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,I,{match:/\$\d+/},l,v,{className:"attr",begin:n+e.lookahead(":"),relevance:0},Y,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:_,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},j,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},J,R,x,M,{match:/\$[(.]/}]}}var F6,$Fe,qFe,k6,R6,N6,zFe,VFe,M6=T(()=>{f();F6="[A-Za-z$_][0-9A-Za-z$_]*",$Fe=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],qFe=["true","false","null","undefined","NaN","Infinity"],k6=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],R6=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],N6=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],zFe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],VFe=[].concat(N6,k6,R6)});function P6(t){let e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},i={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],r={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[e,i,t.QUOTE_STRING_MODE,r,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var _6=T(()=>{f()});function L6(t){let e={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},i={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n={className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[t.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+t.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,r]},{begin:"'",end:"'",illegal:/\n/,contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,s,r]}]};r.contains.push(o);let a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+t.UNDERSCORE_IDENT_RE+")?"},A={className:"meta",begin:"@"+t.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[t.inherit(o,{className:"string"}),"self"]}]},c=WFe,u=t.COMMENT("/\\*","\\*/",{contains:[t.C_BLOCK_COMMENT_MODE]}),l={variants:[{className:"type",begin:t.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=l;return p.variants[1].contains=[l],l.variants[1].contains=[p],{name:"Kotlin",aliases:["kt","kts"],keywords:e,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,u,i,n,a,A,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[l,t.C_LINE_COMMENT_MODE,u],relevance:0},t.C_LINE_COMMENT_MODE,u,a,A,o,t.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,t.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},t.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,A]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
1103
- `},c]}}var Sg,sQ,oQ,WFe,U6=T(()=>{f();Sg="[0-9](_*[0-9])*",sQ=`\\.(${Sg})`,oQ="[0-9a-fA-F](_*[0-9a-fA-F])*",WFe={className:"number",variants:[{begin:`(\\b(${Sg})((${sQ})|\\.)?|(${sQ}))[eE][+-]?(${Sg})[fFdD]?\\b`},{begin:`\\b(${Sg})((${sQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${sQ})[fFdD]?\\b`},{begin:`\\b(${Sg})[fFdD]\\b`},{begin:`\\b0[xX]((${oQ})\\.?|(${oQ})?\\.(${oQ}))[pP][+-]?(${Sg})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${oQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function K6(t){let e=ZFe(t),i=ike,n="and or not only",r="[\\w-]+",s="("+r+"|@\\{"+r+"\\})",o=[],a=[],A=function(B){return{className:"string",begin:"~?"+B+".*?"+B}},c=function(B,E,Q){return{className:B,begin:E,relevance:Q}},u={$pattern:/[a-z-]+/,keyword:n,attribute:eke.join(" ")},l={begin:"\\(",end:"\\)",contains:a,keywords:u,relevance:0};a.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,A("'"),A('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.HEXCOLOR,l,c("variable","@@?"+r,10),c("variable","@\\{"+r+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);let p=a.concat({begin:/\{/,end:/\}/,contains:o}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},d={begin:s+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+tke.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},m={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:a,relevance:0}},h={className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r}],starts:{end:"[;}]",returnEnd:!0,contains:p}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:s,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,g,c("keyword","all\\b"),c("variable","@\\{"+r+"\\}"),{begin:"\\b("+XFe.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,c("selector-tag",s,0),c("selector-id","#"+s),c("selector-class","\\."+s,0),c("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+G6.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+O6.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:p},{begin:"!important"},e.FUNCTION_DISPATCH]},I={begin:r+`:(:)?(${i.join("|")})`,returnBegin:!0,contains:[C]};return o.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,m,h,I,d,C,g,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}var ZFe,XFe,eke,G6,O6,tke,ike,H6=T(()=>{f();ZFe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),XFe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],eke=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G6=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],O6=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],tke=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),ike=G6.concat(O6)});function J6(t){let e="\\[=*\\[",i="\\]=*\\]",n={begin:e,end:i,contains:["self"]},r=[t.COMMENT("--(?!"+e+")","$"),t.COMMENT("--"+e,i,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:e,end:i,contains:[n],relevance:5}])}}var j6=T(()=>{f()});function Y6(t){let e={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},i={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e]},n={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[e]},r={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},s={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[e]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,e,i,n,r,s,o]}}var $6=T(()=>{f()});function q6(t){let e=t.regex,i={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},a=/[A-Za-z][A-Za-z0-9+.-]*/,A={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,a,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},l=t.inherit(c,{contains:[]}),p=t.inherit(u,{contains:[]});c.contains.push(p),u.contains.push(l);let g=[i,A];return[c,u,l,p].forEach(h=>{h.contains=h.contains.concat(g)}),g=g.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:g},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:g}]}]},i,s,c,u,{className:"quote",begin:"^>\\s+",contains:g,end:"$"},r,n,A,o]}}var z6=T(()=>{f()});function V6(t){let e={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},i=/[a-zA-Z@][a-zA-Z0-9_]*/,a={"variable.language":["this","super"],$pattern:i,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},A={$pattern:i,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"</",contains:[e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+A.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:A,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}var W6=T(()=>{f()});function Z6(t){let e=t.regex,i=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:i.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},o={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},A=[t.BACKSLASH_ESCAPE,s,a],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(g,d,m="\\1")=>{let h=m==="\\1"?m:e.concat(m,d);return e.concat(e.concat("(?:",g,")"),d,/(?:\\.|[^\\\/])*?/,h,/(?:\\.|[^\\\/])*?/,m,n)},l=(g,d,m)=>e.concat(e.concat("(?:",g,")"),d,/(?:\\.|[^\\\/])*?/,m,n),p=[a,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:A,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",e.either(...c,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:l("(?:m|qr)?",/\//,/\//)},{begin:l("m|qr",e.either(...c,{capture:!0}),/\1/)},{begin:l("m|qr",/\(/,/\)/)},{begin:l("m|qr",/\[/,/\]/)},{begin:l("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=p,o.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:p}}var X6=T(()=>{f()});function e9(t){let e=t.regex,i=/(?![A-Za-z0-9])(?![$])/,n=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,i),r=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,i),s={scope:"variable",match:"\\$+"+n},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},A=t.inherit(t.APOS_STRING_MODE,{illegal:null}),c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(J,j)=>{j.data._beginMatch=J[1]||J[2]},"on:end":(J,j)=>{j.data._beginMatch!==J[1]&&j.ignoreMatch()}},l=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
1104
- ]`,g={scope:"string",variants:[c,A,u,l]},d={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},m=["false","null","true"],h=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],C=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],B={keyword:h,literal:(J=>{let j=[];return J.forEach(M=>{j.push(M),M.toLowerCase()===M?j.push(M.toUpperCase()):j.push(M.toLowerCase())}),j})(m),built_in:C},E=J=>J.map(j=>j.replace(/\|\d+$/,"")),Q={variants:[{match:[/new/,e.concat(p,"+"),e.concat("(?!",E(C).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},y=e.concat(n,"\\b(?!\\()"),x={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),y],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,e.concat(/::/,e.lookahead(/(?!class\b)/)),y],scope:{1:"title.class",3:"variable.constant"}},{match:[r,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},v={scope:"attr",match:e.concat(n,e.lookahead(":"),e.lookahead(/(?!::)/))},F={relevance:0,begin:/\(/,end:/\)/,keywords:B,contains:[v,s,x,t.C_BLOCK_COMMENT_MODE,g,d,Q]},w={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",E(h).join("\\b|"),"|",E(C).join("\\b|"),"\\b)"),n,e.concat(p,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[F]};F.contains.push(w);let R=[v,x,t.C_BLOCK_COMMENT_MODE,g,d,Q],O={begin:e.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:m,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:m,keyword:["new","array"]},contains:["self",...R]},...R,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:B,contains:[O,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},s,w,x,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},Q,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:B,contains:["self",s,x,t.C_BLOCK_COMMENT_MODE,g,d]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},g,d]}}var t9=T(()=>{f()});function i9(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}var n9=T(()=>{f()});function r9(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var s9=T(()=>{f()});function o9(t){let e=t.regex,i=/[\p{XID_Start}_]\p{XID_Continue}*/u,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},A={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},u={begin:/\{\{/,relevance:0},l={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,c]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",g=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,d=`\\b|${n.join("|")}`,m={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${g}))[eE][+-]?(${p})[jJ]?(?=${d})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${p})[jJ](?=${d})`}]},h={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},C={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",A,m,l,t.HASH_COMMENT_MODE]}]};return c.contains=[l,m,A],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[A,m,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,h,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[C]},{variants:[{match:[/\bclass/,/\s+/,i,/\s*/,/\(\s*/,i,/\s*\)/]},{match:[/\bclass/,/\s+/,i]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,C,l]}]}}var a9=T(()=>{f()});function A9(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}var c9=T(()=>{f()});function u9(t){let e=t.regex,i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=e.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:i,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:i},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[s,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[i,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}var l9=T(()=>{f()});function p9(t){let e=t.regex,i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=e.concat(n,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},A={begin:"#<",end:">"},c=[t.COMMENT("#","$",{contains:[a]}),t.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:o},l={className:"string",contains:[t.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,u]})]}]},p="[1-9](_?[0-9])*|0",g="[0-9](_?[0-9])*",d={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${g}))?([eE][+-]?(${g})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},y=[l,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:o},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[l,{begin:i}],relevance:0},d,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(A,c),relevance:0}].concat(A,c);u.contains=y,m.contains=y;let w=[{begin:/^\s*=>/,starts:{end:"$",contains:y}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:y}}];return c.unshift(A),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(w).concat(c).concat(y)}}var g9=T(()=>{f()});function d9(t){let e=t.regex,i={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let|for|while|if|else|match\b)/,t.IDENT_RE,e.lookahead(/\s*\(/))},n="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],s=["true","false","Some","None","Ok","Err"],o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],a=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:a,keyword:r,literal:s,built_in:o},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+n}],relevance:0},{begin:[/fn/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,t.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:o,type:a}},{className:"punctuation",begin:"->"},i]}}var m9=T(()=>{f()});function f9(t){let e=nke(t),i=ake,n=oke,r="@[a-z-]+",s="and or not only",a={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+rke.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ake.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[e.BLOCK_COMMENT,a,e.HEXCOLOR,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:r,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:ske.join(" ")},contains:[{begin:r,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}var nke,rke,ske,oke,ake,Ake,h9=T(()=>{f();nke=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),rke=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],ske=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],oke=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],ake=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Ake=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse()});function C9(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var I9=T(()=>{f()});function E9(t){let e=t.regex,i=t.COMMENT("--","$"),n={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},s=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],a=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],A=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],l=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=u,d=[...c,...A].filter(B=>!u.includes(B)),m={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},h={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},C={begin:e.concat(/\b/,e.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function I(B,{exceptions:E,when:Q}={}){let y=Q;return E=E||[],B.map(x=>x.match(/\|\d+$/)||E.includes(x)?x:y(x)?`${x}|0`:x)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:I(d,{when:B=>B.length<3}),literal:s,type:a,built_in:l},contains:[{begin:e.either(...p),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:d.concat(p),literal:s,type:a}},{className:"type",begin:e.either(...o)},C,m,n,r,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,i,h]}}var B9=T(()=>{f()});function x9(t){return t?typeof t=="string"?t:t.source:null}function aQ(t){return ai("(?=",t,")")}function ai(...t){return t.map(i=>x9(i)).join("")}function cke(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Is(...t){return"("+(cke(t).capture?"":"?:")+t.map(n=>x9(n)).join("|")+")"}function S9(t){let e={match:/\s+/,relevance:0},i=t.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[t.C_LINE_COMMENT_MODE,i],r={match:[/\./,Is(...uke,...Q9)],className:{2:"keyword"}},s={match:ai(/\./,Is(...dF)),relevance:0},o=dF.filter(ye=>typeof ye=="string").concat(["_|0"]),a=dF.filter(ye=>typeof ye!="string").concat(lke).map(hF),A={variants:[{className:"keyword",match:Is(...a,...Q9)}]},c={$pattern:Is(/\b\w+/,/#\w+/),keyword:o.concat(gke),literal:y9},u=[r,s,A],l={match:ai(/\./,Is(...D9)),relevance:0},p={className:"built_in",match:ai(/\b/,Is(...D9),/(?=\()/)},g=[l,p],d={match:/->/,relevance:0},m={className:"operator",relevance:0,variants:[{match:mF},{match:`\\.(\\.|${w9})+`}]},h=[d,m],C="([0-9]_*)+",I="([0-9a-fA-F]_*)+",B={className:"number",relevance:0,variants:[{match:`\\b(${C})(\\.(${C}))?([eE][+-]?(${C}))?\\b`},{match:`\\b0x(${I})(\\.(${I}))?([pP][+-]?(${C}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},E=(ye="")=>({className:"subst",variants:[{match:ai(/\\/,ye,/[0\\tnr"']/)},{match:ai(/\\/,ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Q=(ye="")=>({className:"subst",match:ai(/\\/,ye,/[\t ]*(?:[\r\n]|\r\n)/)}),y=(ye="")=>({className:"subst",label:"interpol",begin:ai(/\\/,ye,/\(/),end:/\)/}),x=(ye="")=>({begin:ai(ye,/"""/),end:ai(/"""/,ye),contains:[E(ye),Q(ye),y(ye)]}),v=(ye="")=>({begin:ai(ye,/"/),end:ai(/"/,ye),contains:[E(ye),y(ye)]}),F={className:"string",variants:[x(),x("#"),x("##"),x("###"),v(),v("#"),v("##"),v("###")]},w=[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}],R={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:w},O=ye=>{let gt=ai(ye,/\//),Ze=ai(/\//,ye);return{begin:gt,end:Ze,contains:[...w,{scope:"comment",begin:`#(?!.*${Ze})`,end:/$/}]}},J={scope:"regexp",variants:[O("###"),O("##"),O("#"),R]},j={match:ai(/`/,OA,/`/)},M={className:"variable",match:/\$\d+/},_={className:"variable",match:`\\$${AQ}+`},Y=[j,M,_],Z={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:mke,contains:[...h,B,F]}]}},z={scope:"keyword",match:ai(/@/,Is(...dke))},K={scope:"meta",match:ai(/@/,OA)},U=[Z,z,K],se={match:aQ(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ai(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,AQ,"+")},{className:"type",match:fF,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ai(/\s+&\s+/,aQ(fF)),relevance:0}]},ue={begin:/</,end:/>/,keywords:c,contains:[...n,...u,...U,d,se]};se.contains.push(ue);let he={match:ai(OA,/\s*:/),keywords:"_|0",relevance:0},Ce={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",he,...n,J,...u,...g,...h,B,F,...Y,...U,se]},W={begin:/</,end:/>/,keywords:"repeat each",contains:[...n,se]},De={begin:Is(aQ(ai(OA,/\s*:/)),aQ(ai(OA,/\s+/,OA,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:OA}]},mt={begin:/\(/,end:/\)/,keywords:c,contains:[De,...n,...u,...h,B,F,...U,se,Ce],endsParent:!0,illegal:/["']/},Ee={match:[/(func|macro)/,/\s+/,Is(j.match,OA,mF)],className:{1:"keyword",3:"title.function"},contains:[W,mt,e],illegal:[/\[/,/%/]},qe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[W,mt,e],illegal:/\[|%/},de={match:[/operator/,/\s+/,mF],className:{1:"keyword",3:"title"}},Pe={begin:[/precedencegroup/,/\s+/,fF],className:{1:"keyword",3:"title"},contains:[se],keywords:[...pke,...y9],end:/}/};for(let ye of F.variants){let gt=ye.contains.find(vt=>vt.label==="interpol");gt.keywords=c;let Ze=[...u,...g,...h,B,F,...Y];gt.contains=[...Ze,{begin:/\(/,end:/\)/,contains:["self",...Ze]}]}return{name:"Swift",keywords:c,contains:[...n,Ee,qe,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:c,contains:[t.inherit(t.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...u]},de,Pe,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},J,...u,...g,...h,B,F,...Y,...U,se,Ce]}}var hF,uke,Q9,lke,dF,y9,pke,gke,D9,v9,w9,mF,b9,AQ,OA,fF,dke,mke,F9=T(()=>{f();hF=t=>ai(/\b/,t,/\w$/.test(t)?/\b/:/\B/),uke=["Protocol","Type"].map(hF),Q9=["init","self"].map(hF),lke=["Any","Self"],dF=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],y9=["false","nil","true"],pke=["assignment","associativity","higherThan","left","lowerThan","none","right"],gke=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],D9=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],v9=Is(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),w9=Is(v9,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),mF=ai(v9,w9,"*"),b9=Is(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),AQ=Is(b9,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),OA=ai(b9,AQ,"*"),fF=ai(/[A-Z]/,AQ,"*"),dke=["attached","autoclosure",ai(/convention\(/,Is("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ai(/objc\(/,OA,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],mke=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]});function fke(t){let e=t.regex,i=(Z,{after:z})=>{let K="</"+Z[0].slice(1);return Z.input.indexOf(K,z)!==-1},n=cQ,r={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,z)=>{let K=Z[0].length+Z.index,U=Z.input[K];if(U==="<"||U===","){z.ignoreMatch();return}U===">"&&(i(Z,{after:K})||z.ignoreMatch());let se,ue=Z.input.substring(K);if(se=ue.match(/^\s*=/)){z.ignoreMatch();return}if((se=ue.match(/^\s+extends\s+/))&&se.index===0){z.ignoreMatch();return}}},a={$pattern:cQ,keyword:k9,literal:R9,built_in:_9,"variable.language":P9},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},m={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},I={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},B=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,{match:/\$\d+/},l];p.contains=B.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(B)});let E=[].concat(I,p.contains),Q=E.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(E)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q},x={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},v={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...N9,...T9]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},R={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function O(Z){return e.concat("(?!",Z.join("|"),")")}let J={match:e.concat(/\b/,O([...M9,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},j={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},M={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},_="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(_)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:Q,CLASS_REFERENCE:v},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,I,{match:/\$\d+/},l,v,{className:"attr",begin:n+e.lookahead(":"),relevance:0},Y,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:_,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},j,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},J,R,x,M,{match:/\$[(.]/}]}}function L9(t){let e=fke(t),i=cQ,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],r={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[e.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],A={$pattern:cQ,keyword:k9.concat(a),literal:R9,built_in:_9.concat(n),"variable.language":P9},c={className:"meta",begin:"@"+i},u=(p,g,d)=>{let m=p.contains.findIndex(h=>h.label===g);if(m===-1)throw new Error("can not find mode to replace");p.contains.splice(m,1,d)};Object.assign(e.keywords,A),e.exports.PARAMS_CONTAINS.push(c),e.contains=e.contains.concat([c,r,s]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",o);let l=e.contains.find(p=>p.label==="func.def");return l.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}var cQ,k9,R9,N9,T9,M9,P9,_9,U9=T(()=>{f();cQ="[A-Za-z$_][0-9A-Za-z$_]*",k9=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],R9=["true","false","null","undefined","NaN","Infinity"],N9=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],T9=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],M9=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],P9=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],_9=[].concat(M9,N9,T9)});function G9(t){let e=t.regex,i={className:"string",begin:/"(""|[^/n])"C\b/},n={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,s=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,A={className:"literal",variants:[{begin:e.concat(/# */,e.either(s,r),/ *#/)},{begin:e.concat(/# */,a,/ *#/)},{begin:e.concat(/# */,o,/ *#/)},{begin:e.concat(/# */,e.either(s,r),/ +/,e.either(o,a),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},l=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[i,n,A,c,u,l,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}var O9=T(()=>{f()});function K9(t){t.regex;let e=t.COMMENT(/\(;/,/;\)/);e.contains.push("self");let i=t.COMMENT(/;;/,/$/),n=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},s={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},a={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},A={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:n},contains:[i,e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},s,o,r,t.QUOTE_STRING_MODE,A,c,a]}}var H9=T(()=>{f()});function J9(t){let e=t.regex,i=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=t.inherit(s,{begin:/\(/,end:/\)/}),a=t.inherit(t.APOS_STRING_MODE,{className:"string"}),A=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[s,A,a,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,o,A,a]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[A]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(i,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:i,relevance:0,starts:c}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(i,/>/))),contains:[{className:"name",begin:i,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var j9=T(()=>{f()});function Y9(t){let e="true false yes no null",i="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,r]},o=t.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},g={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},d={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},m=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+i},{className:"type",begin:"!<"+i+">"},{className:"type",begin:"!"+i},{className:"type",begin:"!!"+i},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},l,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,d,s],h=[...m];return h.pop(),h.push(o),p.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:m}}var $9=T(()=>{f()});var Fg,q9=T(()=>{f();a6();c6();l6();g6();m6();h6();I6();B6();y6();x6();S6();M6();_6();U6();H6();j6();$6();z6();W6();X6();t9();n9();s9();a9();c9();l9();g9();m9();h9();I9();B9();F9();U9();O9();H9();j9();$9();Fg={arduino:o6,bash:A6,c:u6,cpp:p6,csharp:d6,css:f6,diff:C6,go:E6,graphql:Q6,ini:D6,java:b6,javascript:T6,json:P6,kotlin:L6,less:K6,lua:J6,makefile:Y6,markdown:q6,objectivec:V6,perl:Z6,php:e9,"php-template":i9,plaintext:r9,python:o9,"python-repl":A9,r:u9,ruby:p9,rust:d9,scss:f9,shell:C9,sql:E9,swift:S9,typescript:L9,vbnet:G9,wasm:K9,xml:J9,yaml:Y9}});var dY=b((kDt,gY)=>{f();function tY(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{let i=t[e],n=typeof i;(n==="object"||n==="function")&&!Object.isFrozen(i)&&tY(i)}),t}var lQ=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function iY(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Wc(t,...e){let i=Object.create(null);for(let n in t)i[n]=t[n];return e.forEach(function(n){for(let r in n)i[r]=n[r]}),i}var hke="</span>",z9=t=>!!t.scope,Cke=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){let i=t.split(".");return[`${e}${i.shift()}`,...i.map((n,r)=>`${n}${"_".repeat(r+1)}`)].join(" ")}return`${e}${t}`},IF=class{constructor(e,i){this.buffer="",this.classPrefix=i.classPrefix,e.walk(this)}addText(e){this.buffer+=iY(e)}openNode(e){if(!z9(e))return;let i=Cke(e.scope,{prefix:this.classPrefix});this.span(i)}closeNode(e){z9(e)&&(this.buffer+=hke)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},V9=(t={})=>{let e={children:[]};return Object.assign(e,t),e},EF=class t{constructor(){this.rootNode=V9(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let i=V9({scope:e});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,i){return typeof i=="string"?e.addText(i):i.children&&(e.openNode(i),i.children.forEach(n=>this._walk(e,n)),e.closeNode(i)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(i=>typeof i=="string")?e.children=[e.children.join("")]:e.children.forEach(i=>{t._collapse(i)}))}},BF=class extends EF{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,i){let n=e.root;i&&(n.scope=`language:${i}`),this.add(n)}toHTML(){return new IF(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function gh(t){return t?typeof t=="string"?t:t.source:null}function nY(t){return Rl("(?=",t,")")}function Ike(t){return Rl("(?:",t,")*")}function Eke(t){return Rl("(?:",t,")?")}function Rl(...t){return t.map(i=>gh(i)).join("")}function Bke(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function yF(...t){return"("+(Bke(t).capture?"":"?:")+t.map(n=>gh(n)).join("|")+")"}function rY(t){return new RegExp(t.toString()+"|").exec("").length-1}function Qke(t,e){let i=t&&t.exec(e);return i&&i.index===0}var yke=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function DF(t,{joinWith:e}){let i=0;return t.map(n=>{i+=1;let r=i,s=gh(n),o="";for(;s.length>0;){let a=yke.exec(s);if(!a){o+=s;break}o+=s.substring(0,a.index),s=s.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&i++)}return o}).map(n=>`(${n})`).join(e)}var Dke=/\b\B/,sY="[a-zA-Z]\\w*",xF="[a-zA-Z_]\\w*",oY="\\b\\d+(\\.\\d+)?",aY="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",AY="\\b(0b[01]+)",xke="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",vke=(t={})=>{let e=/^#![ ]*\//;return t.binary&&(t.begin=Rl(e,/.*\b/,t.binary,/\b.*/)),Wc({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(i,n)=>{i.index!==0&&n.ignoreMatch()}},t)},dh={begin:"\\\\[\\s\\S]",relevance:0},wke={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[dh]},bke={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[dh]},Ske={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},gQ=function(t,e,i={}){let n=Wc({scope:"comment",begin:t,end:e,contains:[]},i);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let r=yF("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:Rl(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},Fke=gQ("//","$"),kke=gQ("/\\*","\\*/"),Rke=gQ("#","$"),Nke={scope:"number",begin:oY,relevance:0},Tke={scope:"number",begin:aY,relevance:0},Mke={scope:"number",begin:AY,relevance:0},Pke={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[dh,{begin:/\[/,end:/\]/,relevance:0,contains:[dh]}]},_ke={scope:"title",begin:sY,relevance:0},Lke={scope:"title",begin:xF,relevance:0},Uke={begin:"\\.\\s*"+xF,relevance:0},Gke=function(t){return Object.assign(t,{"on:begin":(e,i)=>{i.data._beginMatch=e[1]},"on:end":(e,i)=>{i.data._beginMatch!==e[1]&&i.ignoreMatch()}})},uQ=Object.freeze({__proto__:null,APOS_STRING_MODE:wke,BACKSLASH_ESCAPE:dh,BINARY_NUMBER_MODE:Mke,BINARY_NUMBER_RE:AY,COMMENT:gQ,C_BLOCK_COMMENT_MODE:kke,C_LINE_COMMENT_MODE:Fke,C_NUMBER_MODE:Tke,C_NUMBER_RE:aY,END_SAME_AS_BEGIN:Gke,HASH_COMMENT_MODE:Rke,IDENT_RE:sY,MATCH_NOTHING_RE:Dke,METHOD_GUARD:Uke,NUMBER_MODE:Nke,NUMBER_RE:oY,PHRASAL_WORDS_MODE:Ske,QUOTE_STRING_MODE:bke,REGEXP_MODE:Pke,RE_STARTERS_RE:xke,SHEBANG:vke,TITLE_MODE:_ke,UNDERSCORE_IDENT_RE:xF,UNDERSCORE_TITLE_MODE:Lke});function Oke(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Kke(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Hke(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Oke,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Jke(t,e){Array.isArray(t.illegal)&&(t.illegal=yF(...t.illegal))}function jke(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Yke(t,e){t.relevance===void 0&&(t.relevance=1)}var $ke=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");let i=Object.assign({},t);Object.keys(t).forEach(n=>{delete t[n]}),t.keywords=i.keywords,t.begin=Rl(i.beforeMatch,nY(i.begin)),t.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},t.relevance=0,delete i.beforeMatch},qke=["of","and","for","in","not","or","if","then","parent","list","value"],zke="keyword";function cY(t,e,i=zke){let n=Object.create(null);return typeof t=="string"?r(i,t.split(" ")):Array.isArray(t)?r(i,t):Object.keys(t).forEach(function(s){Object.assign(n,cY(t[s],e,s))}),n;function r(s,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){let A=a.split("|");n[A[0]]=[s,Vke(A[0],A[1])]})}}function Vke(t,e){return e?Number(e):Wke(t)?0:1}function Wke(t){return qke.includes(t.toLowerCase())}var W9={},kl=t=>{console.error(t)},Z9=(t,...e)=>{console.log(`WARN: ${t}`,...e)},kg=(t,e)=>{W9[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),W9[`${t}/${e}`]=!0)},pQ=new Error;function uY(t,e,{key:i}){let n=0,r=t[i],s={},o={};for(let a=1;a<=e.length;a++)o[a+n]=r[a],s[a+n]=!0,n+=rY(e[a-1]);t[i]=o,t[i]._emit=s,t[i]._multi=!0}function Zke(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw kl("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pQ;if(typeof t.beginScope!="object"||t.beginScope===null)throw kl("beginScope must be object"),pQ;uY(t,t.begin,{key:"beginScope"}),t.begin=DF(t.begin,{joinWith:""})}}function Xke(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw kl("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pQ;if(typeof t.endScope!="object"||t.endScope===null)throw kl("endScope must be object"),pQ;uY(t,t.end,{key:"endScope"}),t.end=DF(t.end,{joinWith:""})}}function eRe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function tRe(t){eRe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Zke(t),Xke(t)}function iRe(t){function e(o,a){return new RegExp(gh(o),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,A){A.position=this.position++,this.matchIndexes[this.matchAt]=A,this.regexes.push([A,a]),this.matchAt+=rY(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let a=this.regexes.map(A=>A[1]);this.matcherRe=e(DF(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;let A=this.matcherRe.exec(a);if(!A)return null;let c=A.findIndex((l,p)=>p>0&&l!==void 0),u=this.matchIndexes[c];return A.splice(0,c),Object.assign(A,u)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];let A=new i;return this.rules.slice(a).forEach(([c,u])=>A.addRule(c,u)),A.compile(),this.multiRegexes[a]=A,A}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,A){this.rules.push([a,A]),A.type==="begin"&&this.count++}exec(a){let A=this.getMatcher(this.regexIndex);A.lastIndex=this.lastIndex;let c=A.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){let u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function r(o){let a=new n;return o.contains.forEach(A=>a.addRule(A.begin,{rule:A,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function s(o,a){let A=o;if(o.isCompiled)return A;[Kke,jke,tRe,$ke].forEach(u=>u(o,a)),t.compilerExtensions.forEach(u=>u(o,a)),o.__beforeBegin=null,[Hke,Jke,Yke].forEach(u=>u(o,a)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=cY(o.keywords,t.case_insensitive)),A.keywordPatternRe=e(c,!0),a&&(o.begin||(o.begin=/\B|\b/),A.beginRe=e(A.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(A.endRe=e(A.end)),A.terminatorEnd=gh(A.end)||"",o.endsWithParent&&a.terminatorEnd&&(A.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(A.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return nRe(u==="self"?o:u)})),o.contains.forEach(function(u){s(u,A)}),o.starts&&s(o.starts,a),A.matcher=r(A),A}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Wc(t.classNameAliases||{}),s(t)}function lY(t){return t?t.endsWithParent||lY(t.starts):!1}function nRe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Wc(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:lY(t)?Wc(t,{starts:t.starts?Wc(t.starts):null}):Object.isFrozen(t)?Wc(t):t}var rRe="11.9.0",QF=class extends Error{constructor(e,i){super(e),this.name="HTMLInjectionError",this.html=i}},CF=iY,X9=Wc,eY=Symbol("nomatch"),sRe=7,pY=function(t){let e=Object.create(null),i=Object.create(null),n=[],r=!0,s="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]},a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:BF};function A(Y){return a.noHighlightRe.test(Y)}function c(Y){let Z=Y.className+" ";Z+=Y.parentNode?Y.parentNode.className:"";let z=a.languageDetectRe.exec(Z);if(z){let K=F(z[1]);return K||(Z9(s.replace("{}",z[1])),Z9("Falling back to no-highlight mode for this block.",Y)),K?z[1]:"no-highlight"}return Z.split(/\s+/).find(K=>A(K)||F(K))}function u(Y,Z,z){let K="",U="";typeof Z=="object"?(K=Y,z=Z.ignoreIllegals,U=Z.language):(kg("10.7.0","highlight(lang, code, ...args) has been deprecated."),kg("10.7.0",`Please use highlight(code, options) instead.
1102
+ `.trimStart()});var sj=T(()=>{"use strict";f();Ag();ph()});var ph=T(()=>{"use strict";f();ln();V6();Z6();El();rj();sj();Ql()});function GFe(t){let e=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(r)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(r)+t.IDENT_RE,relevance:0},g=e.optional(r)+t.IDENT_RE+"\\s*\\(",d=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],m=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],E={type:m,keyword:d,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},Q={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},y=[Q,l,a,i,t.C_BLOCK_COMMENT_MODE,u,c],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:y.concat([{begin:/\(/,end:/\)/,keywords:E,contains:y.concat(["self"]),relevance:0}]),relevance:0},v={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:E,relevance:0},{begin:g,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,i,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,v,Q,y,[l,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:E,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:E},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function oj(t){let e={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},i=GFe(t),n=i.keywords;return n.type=[...n.type,...e.type],n.literal=[...n.literal,...e.literal],n.built_in=[...n.built_in,...e.built_in],n._hints=e._hints,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}var aj=T(()=>{f()});function Aj(t){let e=t.regex,i={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});let r={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,i,r]};r.contains.push(o);let a={match:/\\"/},A={className:"string",begin:/'/,end:/'/},c={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,i]},l=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${l.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},d=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],m=["true","false"],h={match:/(\/[a-z._-]+)+/},C=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],I=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],B=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],E=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:d,literal:m,built_in:[...C,...I,"set","shopt",...B,...E]},contains:[p,t.SHEBANG(),g,u,t.HASH_COMMENT_MODE,s,h,o,a,A,c,i]}}var cj=T(()=>{f()});function uj(t){let e=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="("+n+"|"+e.optional(r)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(r)+t.IDENT_RE,relevance:0},g=e.optional(r)+t.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},C=[l,a,i,t.C_BLOCK_COMMENT_MODE,u,c],I={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:C.concat([{begin:/\(/,end:/\)/,keywords:h,contains:C.concat(["self"]),relevance:0}]),relevance:0},B={begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:h,relevance:0},{begin:g,returnBegin:!0,contains:[t.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,i,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"</",contains:[].concat(I,B,C,[l,{begin:t.IDENT_RE+"::",keywords:h},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:l,strings:c,keywords:h}}}var lj=T(()=>{f()});function pj(t){let e=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="(?!struct)("+n+"|"+e.optional(r)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:e.optional(r)+t.IDENT_RE,relevance:0},g=e.optional(r)+t.IDENT_RE+"\\s*\\(",d=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],m=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],h=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],E={type:m,keyword:d,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:h},Q={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},y=[Q,l,a,i,t.C_BLOCK_COMMENT_MODE,u,c],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:y.concat([{begin:/\(/,end:/\)/,keywords:E,contains:y.concat(["self"]),relevance:0}]),relevance:0},v={className:"function",begin:"("+o+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:E,relevance:0},{begin:g,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,i,t.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(x,v,Q,y,[l,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:E,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:E},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}var gj=T(()=>{f()});function dj(t){let e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],i=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],s=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:r.concat(s),built_in:e,literal:n},a=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),A={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=t.inherit(c,{illegal:/\n/}),l={className:"subst",begin:/\{/,end:/\}/,keywords:o},p=t.inherit(l,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,p]},d={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},l]},m=t.inherit(d,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});l.contains=[d,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.C_BLOCK_COMMENT_MODE],p.contains=[m,g,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,A,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let h={variants:[d,g,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},C={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},I=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",B={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},h,A,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,C,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+I+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:i.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,C],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[h,A,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},B]}}var mj=T(()=>{f()});function fj(t){let e=t.regex,i=OFe(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},r="and or not only",s=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",a=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[i.BLOCK_COMMENT,n,i.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},i.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+JFe.join("|")+")"},{begin:":(:)?("+jFe.join("|")+")"}]},i.CSS_VARIABLE,{className:"attribute",begin:"\\b("+YFe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[i.BLOCK_COMMENT,i.HEXCOLOR,i.IMPORTANT,i.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},i.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:s},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:r,attribute:HFe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,i.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+KFe.join("|")+")\\b"}]}}var OFe,KFe,HFe,JFe,jFe,YFe,hj=T(()=>{f();OFe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),KFe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],HFe=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],JFe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],jFe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],YFe=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse()});function Cj(t){let e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}var Ij=T(()=>{f()});function Ej(t){let s={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:s,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:t.C_NUMBER_RE+"[i]",relevance:1},t.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,illegal:/["']/}]}]}}var Bj=T(()=>{f()});function Qj(t){let e=t.regex,i=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:e.concat(i,e.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}var yj=T(()=>{f()});function Dj(t){let e=t.regex,i={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},n=t.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},a={begin:/\[/,end:/\]/,contains:[n,s,r,o,i,"self"],relevance:0},A=/[A-Za-z0-9_-]+/,c=/"(\\"|[^"])*"/,u=/'[^']*'/,l=e.either(A,c,u),p=e.concat(l,"(\\s*\\.\\s*",l,")*",e.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:p,className:"attr",starts:{end:/$/,contains:[n,a,s,r,o,i]}}]}}var xj=T(()=>{f()});function wj(t,e,i){return i===-1?"":t.replace(e,n=>wj(t,e,i-1))}function bj(t){let e=t.regex,i="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",n=i+wj("(?:<"+i+"~~~(?:\\s*,\\s*"+i+"~~~)*>)?",/~~~/g,2),A={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},c={className:"meta",begin:"@"+i,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},u={className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:A,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,i),/\s+/,i,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,i],className:{1:"keyword",3:"title.class"},contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:A,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,vj,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},vj,c]}}var bg,nQ,rQ,vj,Sj=T(()=>{f();bg="[0-9](_*[0-9])*",nQ=`\\.(${bg})`,rQ="[0-9a-fA-F](_*[0-9a-fA-F])*",vj={className:"number",variants:[{begin:`(\\b(${bg})((${nQ})|\\.)?|(${nQ}))[eE][+-]?(${bg})[fFdD]?\\b`},{begin:`\\b(${bg})((${nQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${nQ})[fFdD]?\\b`},{begin:`\\b(${bg})[fFdD]\\b`},{begin:`\\b0[xX]((${rQ})\\.?|(${rQ})?\\.(${rQ}))[pP][+-]?(${bg})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${rQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function Tj(t){let e=t.regex,i=(Z,{after:z})=>{let K="</"+Z[0].slice(1);return Z.input.indexOf(K,z)!==-1},n=Fj,r={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,z)=>{let K=Z[0].length+Z.index,U=Z.input[K];if(U==="<"||U===","){z.ignoreMatch();return}U===">"&&(i(Z,{after:K})||z.ignoreMatch());let se,ue=Z.input.substring(K);if(se=ue.match(/^\s*=/)){z.ignoreMatch();return}if((se=ue.match(/^\s+extends\s+/))&&se.index===0){z.ignoreMatch();return}}},a={$pattern:Fj,keyword:$Fe,literal:qFe,built_in:VFe,"variable.language":zFe},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},m={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},I={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},B=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,{match:/\$\d+/},l];p.contains=B.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(B)});let E=[].concat(I,p.contains),Q=E.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(E)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q},x={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},v={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...kj,...Rj]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},R={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function O(Z){return e.concat("(?!",Z.join("|"),")")}let J={match:e.concat(/\b/,O([...Nj,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},j={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},M={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},_="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(_)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:Q,CLASS_REFERENCE:v},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,I,{match:/\$\d+/},l,v,{className:"attr",begin:n+e.lookahead(":"),relevance:0},Y,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:_,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},j,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},J,R,x,M,{match:/\$[(.]/}]}}var Fj,$Fe,qFe,kj,Rj,Nj,zFe,VFe,Mj=T(()=>{f();Fj="[A-Za-z$_][0-9A-Za-z$_]*",$Fe=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],qFe=["true","false","null","undefined","NaN","Infinity"],kj=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Rj=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Nj=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],zFe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],VFe=[].concat(Nj,kj,Rj)});function Pj(t){let e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},i={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],r={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[e,i,t.QUOTE_STRING_MODE,r,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var _j=T(()=>{f()});function Lj(t){let e={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},i={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n={className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[t.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+t.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,r]},{begin:"'",end:"'",illegal:/\n/,contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,s,r]}]};r.contains.push(o);let a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+t.UNDERSCORE_IDENT_RE+")?"},A={className:"meta",begin:"@"+t.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[t.inherit(o,{className:"string"}),"self"]}]},c=WFe,u=t.COMMENT("/\\*","\\*/",{contains:[t.C_BLOCK_COMMENT_MODE]}),l={variants:[{className:"type",begin:t.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=l;return p.variants[1].contains=[l],l.variants[1].contains=[p],{name:"Kotlin",aliases:["kt","kts"],keywords:e,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,u,i,n,a,A,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[l,t.C_LINE_COMMENT_MODE,u],relevance:0},t.C_LINE_COMMENT_MODE,u,a,A,o,t.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,t.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},t.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,A]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
1103
+ `},c]}}var Sg,sQ,oQ,WFe,Uj=T(()=>{f();Sg="[0-9](_*[0-9])*",sQ=`\\.(${Sg})`,oQ="[0-9a-fA-F](_*[0-9a-fA-F])*",WFe={className:"number",variants:[{begin:`(\\b(${Sg})((${sQ})|\\.)?|(${sQ}))[eE][+-]?(${Sg})[fFdD]?\\b`},{begin:`\\b(${Sg})((${sQ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${sQ})[fFdD]?\\b`},{begin:`\\b(${Sg})[fFdD]\\b`},{begin:`\\b0[xX]((${oQ})\\.?|(${oQ})?\\.(${oQ}))[pP][+-]?(${Sg})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${oQ})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0}});function Kj(t){let e=ZFe(t),i=ike,n="and or not only",r="[\\w-]+",s="("+r+"|@\\{"+r+"\\})",o=[],a=[],A=function(B){return{className:"string",begin:"~?"+B+".*?"+B}},c=function(B,E,Q){return{className:B,begin:E,relevance:Q}},u={$pattern:/[a-z-]+/,keyword:n,attribute:eke.join(" ")},l={begin:"\\(",end:"\\)",contains:a,keywords:u,relevance:0};a.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,A("'"),A('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.HEXCOLOR,l,c("variable","@@?"+r,10),c("variable","@\\{"+r+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);let p=a.concat({begin:/\{/,end:/\}/,contains:o}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},d={begin:s+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+tke.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},m={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:a,relevance:0}},h={className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r}],starts:{end:"[;}]",returnEnd:!0,contains:p}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:s,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,g,c("keyword","all\\b"),c("variable","@\\{"+r+"\\}"),{begin:"\\b("+XFe.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,c("selector-tag",s,0),c("selector-id","#"+s),c("selector-class","\\."+s,0),c("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+Gj.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Oj.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:p},{begin:"!important"},e.FUNCTION_DISPATCH]},I={begin:r+`:(:)?(${i.join("|")})`,returnBegin:!0,contains:[C]};return o.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,m,h,I,d,C,g,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}var ZFe,XFe,eke,Gj,Oj,tke,ike,Hj=T(()=>{f();ZFe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),XFe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],eke=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Gj=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Oj=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],tke=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),ike=Gj.concat(Oj)});function Jj(t){let e="\\[=*\\[",i="\\]=*\\]",n={begin:e,end:i,contains:["self"]},r=[t.COMMENT("--(?!"+e+")","$"),t.COMMENT("--"+e,i,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:e,end:i,contains:[n],relevance:5}])}}var jj=T(()=>{f()});function Yj(t){let e={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},i={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e]},n={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[e]},r={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},s={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[e]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,e,i,n,r,s,o]}}var $j=T(()=>{f()});function qj(t){let e=t.regex,i={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},a=/[A-Za-z][A-Za-z0-9+.-]*/,A={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,a,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},l=t.inherit(c,{contains:[]}),p=t.inherit(u,{contains:[]});c.contains.push(p),u.contains.push(l);let g=[i,A];return[c,u,l,p].forEach(h=>{h.contains=h.contains.concat(g)}),g=g.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:g},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:g}]}]},i,s,c,u,{className:"quote",begin:"^>\\s+",contains:g,end:"$"},r,n,A,o]}}var zj=T(()=>{f()});function Vj(t){let e={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},i=/[a-zA-Z@][a-zA-Z0-9_]*/,a={"variable.language":["this","super"],$pattern:i,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},A={$pattern:i,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"</",contains:[e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+A.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:A,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}var Wj=T(()=>{f()});function Zj(t){let e=t.regex,i=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:i.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},o={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},A=[t.BACKSLASH_ESCAPE,s,a],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(g,d,m="\\1")=>{let h=m==="\\1"?m:e.concat(m,d);return e.concat(e.concat("(?:",g,")"),d,/(?:\\.|[^\\\/])*?/,h,/(?:\\.|[^\\\/])*?/,m,n)},l=(g,d,m)=>e.concat(e.concat("(?:",g,")"),d,/(?:\\.|[^\\\/])*?/,m,n),p=[a,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:A,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",e.either(...c,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:l("(?:m|qr)?",/\//,/\//)},{begin:l("m|qr",e.either(...c,{capture:!0}),/\1/)},{begin:l("m|qr",/\(/,/\)/)},{begin:l("m|qr",/\[/,/\]/)},{begin:l("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=p,o.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:p}}var Xj=T(()=>{f()});function e9(t){let e=t.regex,i=/(?![A-Za-z0-9])(?![$])/,n=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,i),r=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,i),s={scope:"variable",match:"\\$+"+n},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},A=t.inherit(t.APOS_STRING_MODE,{illegal:null}),c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(J,j)=>{j.data._beginMatch=J[1]||J[2]},"on:end":(J,j)=>{j.data._beginMatch!==J[1]&&j.ignoreMatch()}},l=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
1104
+ ]`,g={scope:"string",variants:[c,A,u,l]},d={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},m=["false","null","true"],h=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],C=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],B={keyword:h,literal:(J=>{let j=[];return J.forEach(M=>{j.push(M),M.toLowerCase()===M?j.push(M.toUpperCase()):j.push(M.toLowerCase())}),j})(m),built_in:C},E=J=>J.map(j=>j.replace(/\|\d+$/,"")),Q={variants:[{match:[/new/,e.concat(p,"+"),e.concat("(?!",E(C).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},y=e.concat(n,"\\b(?!\\()"),x={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),y],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,e.concat(/::/,e.lookahead(/(?!class\b)/)),y],scope:{1:"title.class",3:"variable.constant"}},{match:[r,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},v={scope:"attr",match:e.concat(n,e.lookahead(":"),e.lookahead(/(?!::)/))},F={relevance:0,begin:/\(/,end:/\)/,keywords:B,contains:[v,s,x,t.C_BLOCK_COMMENT_MODE,g,d,Q]},w={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",E(h).join("\\b|"),"|",E(C).join("\\b|"),"\\b)"),n,e.concat(p,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[F]};F.contains.push(w);let R=[v,x,t.C_BLOCK_COMMENT_MODE,g,d,Q],O={begin:e.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:m,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:m,keyword:["new","array"]},contains:["self",...R]},...R,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:B,contains:[O,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},s,w,x,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},Q,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:B,contains:["self",s,x,t.C_BLOCK_COMMENT_MODE,g,d]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},g,d]}}var t9=T(()=>{f()});function i9(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}var n9=T(()=>{f()});function r9(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}var s9=T(()=>{f()});function o9(t){let e=t.regex,i=/[\p{XID_Start}_]\p{XID_Continue}*/u,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},A={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},u={begin:/\{\{/,relevance:0},l={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,A,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,c]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",g=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,d=`\\b|${n.join("|")}`,m={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${g}))[eE][+-]?(${p})[jJ]?(?=${d})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${p})[jJ](?=${d})`}]},h={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},C={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",A,m,l,t.HASH_COMMENT_MODE]}]};return c.contains=[l,m,A],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[A,m,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,h,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[C]},{variants:[{match:[/\bclass/,/\s+/,i,/\s*/,/\(\s*/,i,/\s*\)/]},{match:[/\bclass/,/\s+/,i]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,C,l]}]}}var a9=T(()=>{f()});function A9(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}var c9=T(()=>{f()});function u9(t){let e=t.regex,i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=e.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:i,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:i},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[s,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[i,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}var l9=T(()=>{f()});function p9(t){let e=t.regex,i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=e.concat(n,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},A={begin:"#<",end:">"},c=[t.COMMENT("#","$",{contains:[a]}),t.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:o},l={className:"string",contains:[t.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,u]})]}]},p="[1-9](_?[0-9])*|0",g="[0-9](_?[0-9])*",d={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${g}))?([eE][+-]?(${g})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},y=[l,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:o},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,i],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[l,{begin:i}],relevance:0},d,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(A,c),relevance:0}].concat(A,c);u.contains=y,m.contains=y;let w=[{begin:/^\s*=>/,starts:{end:"$",contains:y}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:y}}];return c.unshift(A),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(w).concat(c).concat(y)}}var g9=T(()=>{f()});function d9(t){let e=t.regex,i={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let|for|while|if|else|match\b)/,t.IDENT_RE,e.lookahead(/\s*\(/))},n="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],s=["true","false","Some","None","Ok","Err"],o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],a=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:a,keyword:r,literal:s,built_in:o},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+n}],relevance:0},{begin:[/fn/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,t.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,t.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:o,type:a}},{className:"punctuation",begin:"->"},i]}}var m9=T(()=>{f()});function f9(t){let e=nke(t),i=ake,n=oke,r="@[a-z-]+",s="and or not only",a={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+rke.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Ake.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[e.BLOCK_COMMENT,a,e.HEXCOLOR,e.CSS_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:r,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:ske.join(" ")},contains:[{begin:r,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}var nke,rke,ske,oke,ake,Ake,h9=T(()=>{f();nke=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),rke=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],ske=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],oke=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],ake=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Ake=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse()});function C9(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var I9=T(()=>{f()});function E9(t){let e=t.regex,i=t.COMMENT("--","$"),n={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},s=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],a=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],A=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],l=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],g=u,d=[...c,...A].filter(B=>!u.includes(B)),m={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},h={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},C={begin:e.concat(/\b/,e.either(...g),/\s*\(/),relevance:0,keywords:{built_in:g}};function I(B,{exceptions:E,when:Q}={}){let y=Q;return E=E||[],B.map(x=>x.match(/\|\d+$/)||E.includes(x)?x:y(x)?`${x}|0`:x)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:I(d,{when:B=>B.length<3}),literal:s,type:a,built_in:l},contains:[{begin:e.either(...p),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:d.concat(p),literal:s,type:a}},{className:"type",begin:e.either(...o)},C,m,n,r,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,i,h]}}var B9=T(()=>{f()});function x9(t){return t?typeof t=="string"?t:t.source:null}function aQ(t){return ai("(?=",t,")")}function ai(...t){return t.map(i=>x9(i)).join("")}function cke(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Is(...t){return"("+(cke(t).capture?"":"?:")+t.map(n=>x9(n)).join("|")+")"}function S9(t){let e={match:/\s+/,relevance:0},i=t.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[t.C_LINE_COMMENT_MODE,i],r={match:[/\./,Is(...uke,...Q9)],className:{2:"keyword"}},s={match:ai(/\./,Is(...dF)),relevance:0},o=dF.filter(ye=>typeof ye=="string").concat(["_|0"]),a=dF.filter(ye=>typeof ye!="string").concat(lke).map(hF),A={variants:[{className:"keyword",match:Is(...a,...Q9)}]},c={$pattern:Is(/\b\w+/,/#\w+/),keyword:o.concat(gke),literal:y9},u=[r,s,A],l={match:ai(/\./,Is(...D9)),relevance:0},p={className:"built_in",match:ai(/\b/,Is(...D9),/(?=\()/)},g=[l,p],d={match:/->/,relevance:0},m={className:"operator",relevance:0,variants:[{match:mF},{match:`\\.(\\.|${w9})+`}]},h=[d,m],C="([0-9]_*)+",I="([0-9a-fA-F]_*)+",B={className:"number",relevance:0,variants:[{match:`\\b(${C})(\\.(${C}))?([eE][+-]?(${C}))?\\b`},{match:`\\b0x(${I})(\\.(${I}))?([pP][+-]?(${C}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},E=(ye="")=>({className:"subst",variants:[{match:ai(/\\/,ye,/[0\\tnr"']/)},{match:ai(/\\/,ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Q=(ye="")=>({className:"subst",match:ai(/\\/,ye,/[\t ]*(?:[\r\n]|\r\n)/)}),y=(ye="")=>({className:"subst",label:"interpol",begin:ai(/\\/,ye,/\(/),end:/\)/}),x=(ye="")=>({begin:ai(ye,/"""/),end:ai(/"""/,ye),contains:[E(ye),Q(ye),y(ye)]}),v=(ye="")=>({begin:ai(ye,/"/),end:ai(/"/,ye),contains:[E(ye),y(ye)]}),F={className:"string",variants:[x(),x("#"),x("##"),x("###"),v(),v("#"),v("##"),v("###")]},w=[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}],R={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:w},O=ye=>{let gt=ai(ye,/\//),Ze=ai(/\//,ye);return{begin:gt,end:Ze,contains:[...w,{scope:"comment",begin:`#(?!.*${Ze})`,end:/$/}]}},J={scope:"regexp",variants:[O("###"),O("##"),O("#"),R]},j={match:ai(/`/,OA,/`/)},M={className:"variable",match:/\$\d+/},_={className:"variable",match:`\\$${AQ}+`},Y=[j,M,_],Z={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:mke,contains:[...h,B,F]}]}},z={scope:"keyword",match:ai(/@/,Is(...dke))},K={scope:"meta",match:ai(/@/,OA)},U=[Z,z,K],se={match:aQ(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ai(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,AQ,"+")},{className:"type",match:fF,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ai(/\s+&\s+/,aQ(fF)),relevance:0}]},ue={begin:/</,end:/>/,keywords:c,contains:[...n,...u,...U,d,se]};se.contains.push(ue);let he={match:ai(OA,/\s*:/),keywords:"_|0",relevance:0},Ce={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",he,...n,J,...u,...g,...h,B,F,...Y,...U,se]},W={begin:/</,end:/>/,keywords:"repeat each",contains:[...n,se]},De={begin:Is(aQ(ai(OA,/\s*:/)),aQ(ai(OA,/\s+/,OA,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:OA}]},mt={begin:/\(/,end:/\)/,keywords:c,contains:[De,...n,...u,...h,B,F,...U,se,Ce],endsParent:!0,illegal:/["']/},Ee={match:[/(func|macro)/,/\s+/,Is(j.match,OA,mF)],className:{1:"keyword",3:"title.function"},contains:[W,mt,e],illegal:[/\[/,/%/]},qe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[W,mt,e],illegal:/\[|%/},de={match:[/operator/,/\s+/,mF],className:{1:"keyword",3:"title"}},Pe={begin:[/precedencegroup/,/\s+/,fF],className:{1:"keyword",3:"title"},contains:[se],keywords:[...pke,...y9],end:/}/};for(let ye of F.variants){let gt=ye.contains.find(vt=>vt.label==="interpol");gt.keywords=c;let Ze=[...u,...g,...h,B,F,...Y];gt.contains=[...Ze,{begin:/\(/,end:/\)/,contains:["self",...Ze]}]}return{name:"Swift",keywords:c,contains:[...n,Ee,qe,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:c,contains:[t.inherit(t.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...u]},de,Pe,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},J,...u,...g,...h,B,F,...Y,...U,se,Ce]}}var hF,uke,Q9,lke,dF,y9,pke,gke,D9,v9,w9,mF,b9,AQ,OA,fF,dke,mke,F9=T(()=>{f();hF=t=>ai(/\b/,t,/\w$/.test(t)?/\b/:/\B/),uke=["Protocol","Type"].map(hF),Q9=["init","self"].map(hF),lke=["Any","Self"],dF=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],y9=["false","nil","true"],pke=["assignment","associativity","higherThan","left","lowerThan","none","right"],gke=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],D9=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],v9=Is(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),w9=Is(v9,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),mF=ai(v9,w9,"*"),b9=Is(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),AQ=Is(b9,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),OA=ai(b9,AQ,"*"),fF=ai(/[A-Z]/,AQ,"*"),dke=["attached","autoclosure",ai(/convention\(/,Is("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ai(/objc\(/,OA,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],mke=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]});function fke(t){let e=t.regex,i=(Z,{after:z})=>{let K="</"+Z[0].slice(1);return Z.input.indexOf(K,z)!==-1},n=cQ,r={begin:"<>",end:"</>"},s=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,z)=>{let K=Z[0].length+Z.index,U=Z.input[K];if(U==="<"||U===","){z.ignoreMatch();return}U===">"&&(i(Z,{after:K})||z.ignoreMatch());let se,ue=Z.input.substring(K);if(se=ue.match(/^\s*=/)){z.ignoreMatch();return}if((se=ue.match(/^\s+extends\s+/))&&se.index===0){z.ignoreMatch();return}}},a={$pattern:cQ,keyword:k9,literal:R9,built_in:_9,"variable.language":P9},A="[0-9](_?[0-9])*",c=`\\.(${A})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${A})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},d={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},m={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},I={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},B=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,{match:/\$\d+/},l];p.contains=B.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(B)});let E=[].concat(I,p.contains),Q=E.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(E)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q},x={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},v={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...N9,...T9]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},R={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function O(Z){return e.concat("(?!",Z.join("|"),")")}let J={match:e.concat(/\b/,O([...M9,"super","import"]),n,e.lookahead(/\(/)),className:"title.function",relevance:0},j={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},M={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},_="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(_)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:Q,CLASS_REFERENCE:v},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,g,d,m,h,I,{match:/\$\d+/},l,v,{className:"attr",begin:n+e.lookahead(":"),relevance:0},Y,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[I,t.REGEXP_MODE,{className:"function",begin:_,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:Q}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:s},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},j,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},J,R,x,M,{match:/\$[(.]/}]}}function L9(t){let e=fke(t),i=cQ,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],r={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[e.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],A={$pattern:cQ,keyword:k9.concat(a),literal:R9,built_in:_9.concat(n),"variable.language":P9},c={className:"meta",begin:"@"+i},u=(p,g,d)=>{let m=p.contains.findIndex(h=>h.label===g);if(m===-1)throw new Error("can not find mode to replace");p.contains.splice(m,1,d)};Object.assign(e.keywords,A),e.exports.PARAMS_CONTAINS.push(c),e.contains=e.contains.concat([c,r,s]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",o);let l=e.contains.find(p=>p.label==="func.def");return l.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}var cQ,k9,R9,N9,T9,M9,P9,_9,U9=T(()=>{f();cQ="[A-Za-z$_][0-9A-Za-z$_]*",k9=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],R9=["true","false","null","undefined","NaN","Infinity"],N9=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],T9=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],M9=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],P9=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],_9=[].concat(M9,N9,T9)});function G9(t){let e=t.regex,i={className:"string",begin:/"(""|[^/n])"C\b/},n={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,s=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,A={className:"literal",variants:[{begin:e.concat(/# */,e.either(s,r),/ *#/)},{begin:e.concat(/# */,a,/ *#/)},{begin:e.concat(/# */,o,/ *#/)},{begin:e.concat(/# */,e.either(s,r),/ +/,e.either(o,a),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},l=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[i,n,A,c,u,l,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}var O9=T(()=>{f()});function K9(t){t.regex;let e=t.COMMENT(/\(;/,/;\)/);e.contains.push("self");let i=t.COMMENT(/;;/,/$/),n=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},s={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},a={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},A={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:n},contains:[i,e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},s,o,r,t.QUOTE_STRING_MODE,A,c,a]}}var H9=T(()=>{f()});function J9(t){let e=t.regex,i=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=t.inherit(s,{begin:/\(/,end:/\)/}),a=t.inherit(t.APOS_STRING_MODE,{className:"string"}),A=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[s,A,a,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[s,o,A,a]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[A]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(i,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:i,relevance:0,starts:c}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(i,/>/))),contains:[{className:"name",begin:i,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var j9=T(()=>{f()});function Y9(t){let e="true false yes no null",i="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,r]},o=t.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},g={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},d={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},m=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+i},{className:"type",begin:"!<"+i+">"},{className:"type",begin:"!"+i},{className:"type",begin:"!!"+i},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},l,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,d,s],h=[...m];return h.pop(),h.push(o),p.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:m}}var $9=T(()=>{f()});var Fg,q9=T(()=>{f();aj();cj();lj();gj();mj();hj();Ij();Bj();yj();xj();Sj();Mj();_j();Uj();Hj();jj();$j();zj();Wj();Xj();t9();n9();s9();a9();c9();l9();g9();m9();h9();I9();B9();F9();U9();O9();H9();j9();$9();Fg={arduino:oj,bash:Aj,c:uj,cpp:pj,csharp:dj,css:fj,diff:Cj,go:Ej,graphql:Qj,ini:Dj,java:bj,javascript:Tj,json:Pj,kotlin:Lj,less:Kj,lua:Jj,makefile:Yj,markdown:qj,objectivec:Vj,perl:Zj,php:e9,"php-template":i9,plaintext:r9,python:o9,"python-repl":A9,r:u9,ruby:p9,rust:d9,scss:f9,shell:C9,sql:E9,swift:S9,typescript:L9,vbnet:G9,wasm:K9,xml:J9,yaml:Y9}});var dY=b((kDt,gY)=>{f();function tY(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{let i=t[e],n=typeof i;(n==="object"||n==="function")&&!Object.isFrozen(i)&&tY(i)}),t}var lQ=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function iY(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Wc(t,...e){let i=Object.create(null);for(let n in t)i[n]=t[n];return e.forEach(function(n){for(let r in n)i[r]=n[r]}),i}var hke="</span>",z9=t=>!!t.scope,Cke=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){let i=t.split(".");return[`${e}${i.shift()}`,...i.map((n,r)=>`${n}${"_".repeat(r+1)}`)].join(" ")}return`${e}${t}`},IF=class{constructor(e,i){this.buffer="",this.classPrefix=i.classPrefix,e.walk(this)}addText(e){this.buffer+=iY(e)}openNode(e){if(!z9(e))return;let i=Cke(e.scope,{prefix:this.classPrefix});this.span(i)}closeNode(e){z9(e)&&(this.buffer+=hke)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},V9=(t={})=>{let e={children:[]};return Object.assign(e,t),e},EF=class t{constructor(){this.rootNode=V9(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let i=V9({scope:e});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,i){return typeof i=="string"?e.addText(i):i.children&&(e.openNode(i),i.children.forEach(n=>this._walk(e,n)),e.closeNode(i)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(i=>typeof i=="string")?e.children=[e.children.join("")]:e.children.forEach(i=>{t._collapse(i)}))}},BF=class extends EF{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,i){let n=e.root;i&&(n.scope=`language:${i}`),this.add(n)}toHTML(){return new IF(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function gh(t){return t?typeof t=="string"?t:t.source:null}function nY(t){return Rl("(?=",t,")")}function Ike(t){return Rl("(?:",t,")*")}function Eke(t){return Rl("(?:",t,")?")}function Rl(...t){return t.map(i=>gh(i)).join("")}function Bke(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function yF(...t){return"("+(Bke(t).capture?"":"?:")+t.map(n=>gh(n)).join("|")+")"}function rY(t){return new RegExp(t.toString()+"|").exec("").length-1}function Qke(t,e){let i=t&&t.exec(e);return i&&i.index===0}var yke=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function DF(t,{joinWith:e}){let i=0;return t.map(n=>{i+=1;let r=i,s=gh(n),o="";for(;s.length>0;){let a=yke.exec(s);if(!a){o+=s;break}o+=s.substring(0,a.index),s=s.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+r):(o+=a[0],a[0]==="("&&i++)}return o}).map(n=>`(${n})`).join(e)}var Dke=/\b\B/,sY="[a-zA-Z]\\w*",xF="[a-zA-Z_]\\w*",oY="\\b\\d+(\\.\\d+)?",aY="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",AY="\\b(0b[01]+)",xke="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",vke=(t={})=>{let e=/^#![ ]*\//;return t.binary&&(t.begin=Rl(e,/.*\b/,t.binary,/\b.*/)),Wc({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(i,n)=>{i.index!==0&&n.ignoreMatch()}},t)},dh={begin:"\\\\[\\s\\S]",relevance:0},wke={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[dh]},bke={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[dh]},Ske={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},gQ=function(t,e,i={}){let n=Wc({scope:"comment",begin:t,end:e,contains:[]},i);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let r=yF("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:Rl(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},Fke=gQ("//","$"),kke=gQ("/\\*","\\*/"),Rke=gQ("#","$"),Nke={scope:"number",begin:oY,relevance:0},Tke={scope:"number",begin:aY,relevance:0},Mke={scope:"number",begin:AY,relevance:0},Pke={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[dh,{begin:/\[/,end:/\]/,relevance:0,contains:[dh]}]},_ke={scope:"title",begin:sY,relevance:0},Lke={scope:"title",begin:xF,relevance:0},Uke={begin:"\\.\\s*"+xF,relevance:0},Gke=function(t){return Object.assign(t,{"on:begin":(e,i)=>{i.data._beginMatch=e[1]},"on:end":(e,i)=>{i.data._beginMatch!==e[1]&&i.ignoreMatch()}})},uQ=Object.freeze({__proto__:null,APOS_STRING_MODE:wke,BACKSLASH_ESCAPE:dh,BINARY_NUMBER_MODE:Mke,BINARY_NUMBER_RE:AY,COMMENT:gQ,C_BLOCK_COMMENT_MODE:kke,C_LINE_COMMENT_MODE:Fke,C_NUMBER_MODE:Tke,C_NUMBER_RE:aY,END_SAME_AS_BEGIN:Gke,HASH_COMMENT_MODE:Rke,IDENT_RE:sY,MATCH_NOTHING_RE:Dke,METHOD_GUARD:Uke,NUMBER_MODE:Nke,NUMBER_RE:oY,PHRASAL_WORDS_MODE:Ske,QUOTE_STRING_MODE:bke,REGEXP_MODE:Pke,RE_STARTERS_RE:xke,SHEBANG:vke,TITLE_MODE:_ke,UNDERSCORE_IDENT_RE:xF,UNDERSCORE_TITLE_MODE:Lke});function Oke(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Kke(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Hke(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Oke,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Jke(t,e){Array.isArray(t.illegal)&&(t.illegal=yF(...t.illegal))}function jke(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Yke(t,e){t.relevance===void 0&&(t.relevance=1)}var $ke=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");let i=Object.assign({},t);Object.keys(t).forEach(n=>{delete t[n]}),t.keywords=i.keywords,t.begin=Rl(i.beforeMatch,nY(i.begin)),t.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},t.relevance=0,delete i.beforeMatch},qke=["of","and","for","in","not","or","if","then","parent","list","value"],zke="keyword";function cY(t,e,i=zke){let n=Object.create(null);return typeof t=="string"?r(i,t.split(" ")):Array.isArray(t)?r(i,t):Object.keys(t).forEach(function(s){Object.assign(n,cY(t[s],e,s))}),n;function r(s,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){let A=a.split("|");n[A[0]]=[s,Vke(A[0],A[1])]})}}function Vke(t,e){return e?Number(e):Wke(t)?0:1}function Wke(t){return qke.includes(t.toLowerCase())}var W9={},kl=t=>{console.error(t)},Z9=(t,...e)=>{console.log(`WARN: ${t}`,...e)},kg=(t,e)=>{W9[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),W9[`${t}/${e}`]=!0)},pQ=new Error;function uY(t,e,{key:i}){let n=0,r=t[i],s={},o={};for(let a=1;a<=e.length;a++)o[a+n]=r[a],s[a+n]=!0,n+=rY(e[a-1]);t[i]=o,t[i]._emit=s,t[i]._multi=!0}function Zke(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw kl("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pQ;if(typeof t.beginScope!="object"||t.beginScope===null)throw kl("beginScope must be object"),pQ;uY(t,t.begin,{key:"beginScope"}),t.begin=DF(t.begin,{joinWith:""})}}function Xke(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw kl("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pQ;if(typeof t.endScope!="object"||t.endScope===null)throw kl("endScope must be object"),pQ;uY(t,t.end,{key:"endScope"}),t.end=DF(t.end,{joinWith:""})}}function eRe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function tRe(t){eRe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Zke(t),Xke(t)}function iRe(t){function e(o,a){return new RegExp(gh(o),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,A){A.position=this.position++,this.matchIndexes[this.matchAt]=A,this.regexes.push([A,a]),this.matchAt+=rY(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let a=this.regexes.map(A=>A[1]);this.matcherRe=e(DF(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;let A=this.matcherRe.exec(a);if(!A)return null;let c=A.findIndex((l,p)=>p>0&&l!==void 0),u=this.matchIndexes[c];return A.splice(0,c),Object.assign(A,u)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];let A=new i;return this.rules.slice(a).forEach(([c,u])=>A.addRule(c,u)),A.compile(),this.multiRegexes[a]=A,A}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,A){this.rules.push([a,A]),A.type==="begin"&&this.count++}exec(a){let A=this.getMatcher(this.regexIndex);A.lastIndex=this.lastIndex;let c=A.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){let u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function r(o){let a=new n;return o.contains.forEach(A=>a.addRule(A.begin,{rule:A,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function s(o,a){let A=o;if(o.isCompiled)return A;[Kke,jke,tRe,$ke].forEach(u=>u(o,a)),t.compilerExtensions.forEach(u=>u(o,a)),o.__beforeBegin=null,[Hke,Jke,Yke].forEach(u=>u(o,a)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=cY(o.keywords,t.case_insensitive)),A.keywordPatternRe=e(c,!0),a&&(o.begin||(o.begin=/\B|\b/),A.beginRe=e(A.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(A.endRe=e(A.end)),A.terminatorEnd=gh(A.end)||"",o.endsWithParent&&a.terminatorEnd&&(A.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(A.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return nRe(u==="self"?o:u)})),o.contains.forEach(function(u){s(u,A)}),o.starts&&s(o.starts,a),A.matcher=r(A),A}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Wc(t.classNameAliases||{}),s(t)}function lY(t){return t?t.endsWithParent||lY(t.starts):!1}function nRe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Wc(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:lY(t)?Wc(t,{starts:t.starts?Wc(t.starts):null}):Object.isFrozen(t)?Wc(t):t}var rRe="11.9.0",QF=class extends Error{constructor(e,i){super(e),this.name="HTMLInjectionError",this.html=i}},CF=iY,X9=Wc,eY=Symbol("nomatch"),sRe=7,pY=function(t){let e=Object.create(null),i=Object.create(null),n=[],r=!0,s="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]},a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:BF};function A(Y){return a.noHighlightRe.test(Y)}function c(Y){let Z=Y.className+" ";Z+=Y.parentNode?Y.parentNode.className:"";let z=a.languageDetectRe.exec(Z);if(z){let K=F(z[1]);return K||(Z9(s.replace("{}",z[1])),Z9("Falling back to no-highlight mode for this block.",Y)),K?z[1]:"no-highlight"}return Z.split(/\s+/).find(K=>A(K)||F(K))}function u(Y,Z,z){let K="",U="";typeof Z=="object"?(K=Y,z=Z.ignoreIllegals,U=Z.language):(kg("10.7.0","highlight(lang, code, ...args) has been deprecated."),kg("10.7.0",`Please use highlight(code, options) instead.
1105
1105
  https://github.com/highlightjs/highlight.js/issues/2277`),U=Y,K=Z),z===void 0&&(z=!0);let se={code:K,language:U};M("before:highlight",se);let ue=se.result?se.result:l(se.language,se.code,z);return ue.code=se.code,M("after:highlight",ue),ue}function l(Y,Z,z,K){let U=Object.create(null);function se(Be,fe){return Be.keywords[fe]}function ue(){if(!Ke.keywords){Kt.addText(Lt);return}let Be=0;Ke.keywordPatternRe.lastIndex=0;let fe=Ke.keywordPatternRe.exec(Lt),H="";for(;fe;){H+=Lt.substring(Be,fe.index);let X=vt.case_insensitive?fe[0].toLowerCase():fe[0],oe=se(Ke,X);if(oe){let[ge,Se]=oe;if(Kt.addText(H),H="",U[X]=(U[X]||0)+1,U[X]<=sRe&&(Qr+=Se),ge.startsWith("_"))H+=fe[0];else{let ke=vt.classNameAliases[ge]||ge;W(fe[0],ke)}}else H+=fe[0];Be=Ke.keywordPatternRe.lastIndex,fe=Ke.keywordPatternRe.exec(Lt)}H+=Lt.substring(Be),Kt.addText(H)}function he(){if(Lt==="")return;let Be=null;if(typeof Ke.subLanguage=="string"){if(!e[Ke.subLanguage]){Kt.addText(Lt);return}Be=l(Ke.subLanguage,Lt,!0,Qn[Ke.subLanguage]),Qn[Ke.subLanguage]=Be._top}else Be=g(Lt,Ke.subLanguage.length?Ke.subLanguage:null);Ke.relevance>0&&(Qr+=Be.relevance),Kt.__addSublanguage(Be._emitter,Be.language)}function Ce(){Ke.subLanguage!=null?he():ue(),Lt=""}function W(Be,fe){Be!==""&&(Kt.startScope(fe),Kt.addText(Be),Kt.endScope())}function De(Be,fe){let H=1,X=fe.length-1;for(;H<=X;){if(!Be._emit[H]){H++;continue}let oe=vt.classNameAliases[Be[H]]||Be[H],ge=fe[H];oe?W(ge,oe):(Lt=ge,ue(),Lt=""),H++}}function mt(Be,fe){return Be.scope&&typeof Be.scope=="string"&&Kt.openNode(vt.classNameAliases[Be.scope]||Be.scope),Be.beginScope&&(Be.beginScope._wrap?(W(Lt,vt.classNameAliases[Be.beginScope._wrap]||Be.beginScope._wrap),Lt=""):Be.beginScope._multi&&(De(Be.beginScope,fe),Lt="")),Ke=Object.create(Be,{parent:{value:Ke}}),Ke}function Ee(Be,fe,H){let X=Qke(Be.endRe,H);if(X){if(Be["on:end"]){let oe=new lQ(Be);Be["on:end"](fe,oe),oe.isMatchIgnored&&(X=!1)}if(X){for(;Be.endsParent&&Be.parent;)Be=Be.parent;return Be}}if(Be.endsWithParent)return Ee(Be.parent,fe,H)}function qe(Be){return Ke.matcher.regexIndex===0?(Lt+=Be[0],1):(Me=!0,0)}function de(Be){let fe=Be[0],H=Be.rule,X=new lQ(H),oe=[H.__beforeBegin,H["on:begin"]];for(let ge of oe)if(ge&&(ge(Be,X),X.isMatchIgnored))return qe(fe);return H.skip?Lt+=fe:(H.excludeBegin&&(Lt+=fe),Ce(),!H.returnBegin&&!H.excludeBegin&&(Lt=fe)),mt(H,Be),H.returnBegin?0:fe.length}function Pe(Be){let fe=Be[0],H=Z.substring(Be.index),X=Ee(Ke,Be,H);if(!X)return eY;let oe=Ke;Ke.endScope&&Ke.endScope._wrap?(Ce(),W(fe,Ke.endScope._wrap)):Ke.endScope&&Ke.endScope._multi?(Ce(),De(Ke.endScope,Be)):oe.skip?Lt+=fe:(oe.returnEnd||oe.excludeEnd||(Lt+=fe),Ce(),oe.excludeEnd&&(Lt=fe));do Ke.scope&&Kt.closeNode(),!Ke.skip&&!Ke.subLanguage&&(Qr+=Ke.relevance),Ke=Ke.parent;while(Ke!==X.parent);return X.starts&&mt(X.starts,Be),oe.returnEnd?0:fe.length}function ye(){let Be=[];for(let fe=Ke;fe!==vt;fe=fe.parent)fe.scope&&Be.unshift(fe.scope);Be.forEach(fe=>Kt.openNode(fe))}let gt={};function Ze(Be,fe){let H=fe&&fe[0];if(Lt+=Be,H==null)return Ce(),0;if(gt.type==="begin"&&fe.type==="end"&&gt.index===fe.index&&H===""){if(Lt+=Z.slice(fe.index,fe.index+1),!r){let X=new Error(`0 width match regex (${Y})`);throw X.languageName=Y,X.badRule=gt.rule,X}return 1}if(gt=fe,fe.type==="begin")return de(fe);if(fe.type==="illegal"&&!z){let X=new Error('Illegal lexeme "'+H+'" for mode "'+(Ke.scope||"<unnamed>")+'"');throw X.mode=Ke,X}else if(fe.type==="end"){let X=Pe(fe);if(X!==eY)return X}if(fe.type==="illegal"&&H==="")return 1;if($t>1e5&&$t>fe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Lt+=H,H.length}let vt=F(Y);if(!vt)throw kl(s.replace("{}",Y)),new Error('Unknown language: "'+Y+'"');let li=iRe(vt),Xi="",Ke=K||li,Qn={},Kt=new a.__emitter(a);ye();let Lt="",Qr=0,nt=0,$t=0,Me=!1;try{if(vt.__emitTokens)vt.__emitTokens(Z,Kt);else{for(Ke.matcher.considerAll();;){$t++,Me?Me=!1:Ke.matcher.considerAll(),Ke.matcher.lastIndex=nt;let Be=Ke.matcher.exec(Z);if(!Be)break;let fe=Z.substring(nt,Be.index),H=Ze(fe,Be);nt=Be.index+H}Ze(Z.substring(nt))}return Kt.finalize(),Xi=Kt.toHTML(),{language:Y,value:Xi,relevance:Qr,illegal:!1,_emitter:Kt,_top:Ke}}catch(Be){if(Be.message&&Be.message.includes("Illegal"))return{language:Y,value:CF(Z),illegal:!0,relevance:0,_illegalBy:{message:Be.message,index:nt,context:Z.slice(nt-100,nt+100),mode:Be.mode,resultSoFar:Xi},_emitter:Kt};if(r)return{language:Y,value:CF(Z),illegal:!1,relevance:0,errorRaised:Be,_emitter:Kt,_top:Ke};throw Be}}function p(Y){let Z={value:CF(Y),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return Z._emitter.addText(Y),Z}function g(Y,Z){Z=Z||a.languages||Object.keys(e);let z=p(Y),K=Z.filter(F).filter(R).map(Ce=>l(Ce,Y,!1));K.unshift(z);let U=K.sort((Ce,W)=>{if(Ce.relevance!==W.relevance)return W.relevance-Ce.relevance;if(Ce.language&&W.language){if(F(Ce.language).supersetOf===W.language)return 1;if(F(W.language).supersetOf===Ce.language)return-1}return 0}),[se,ue]=U,he=se;return he.secondBest=ue,he}function d(Y,Z,z){let K=Z&&i[Z]||z;Y.classList.add("hljs"),Y.classList.add(`language-${K}`)}function m(Y){let Z=null,z=c(Y);if(A(z))return;if(M("before:highlightElement",{el:Y,language:z}),Y.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Y);return}if(Y.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Y)),a.throwUnescapedHTML))throw new QF("One of your code blocks includes unescaped HTML.",Y.innerHTML);Z=Y;let K=Z.textContent,U=z?u(K,{language:z,ignoreIllegals:!0}):g(K);Y.innerHTML=U.value,Y.dataset.highlighted="yes",d(Y,z,U.language),Y.result={language:U.language,re:U.relevance,relevance:U.relevance},U.secondBest&&(Y.secondBest={language:U.secondBest.language,relevance:U.secondBest.relevance}),M("after:highlightElement",{el:Y,result:U,text:K})}function h(Y){a=X9(a,Y)}let C=()=>{E(),kg("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function I(){E(),kg("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let B=!1;function E(){if(document.readyState==="loading"){B=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function Q(){B&&E()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Q,!1);function y(Y,Z){let z=null;try{z=Z(t)}catch(K){if(kl("Language definition for '{}' could not be registered.".replace("{}",Y)),r)kl(K);else throw K;z=o}z.name||(z.name=Y),e[Y]=z,z.rawDefinition=Z.bind(null,t),z.aliases&&w(z.aliases,{languageName:Y})}function x(Y){delete e[Y];for(let Z of Object.keys(i))i[Z]===Y&&delete i[Z]}function v(){return Object.keys(e)}function F(Y){return Y=(Y||"").toLowerCase(),e[Y]||e[i[Y]]}function w(Y,{languageName:Z}){typeof Y=="string"&&(Y=[Y]),Y.forEach(z=>{i[z.toLowerCase()]=Z})}function R(Y){let Z=F(Y);return Z&&!Z.disableAutodetect}function O(Y){Y["before:highlightBlock"]&&!Y["before:highlightElement"]&&(Y["before:highlightElement"]=Z=>{Y["before:highlightBlock"](Object.assign({block:Z.el},Z))}),Y["after:highlightBlock"]&&!Y["after:highlightElement"]&&(Y["after:highlightElement"]=Z=>{Y["after:highlightBlock"](Object.assign({block:Z.el},Z))})}function J(Y){O(Y),n.push(Y)}function j(Y){let Z=n.indexOf(Y);Z!==-1&&n.splice(Z,1)}function M(Y,Z){let z=Y;n.forEach(function(K){K[z]&&K[z](Z)})}function _(Y){return kg("10.7.0","highlightBlock will be removed entirely in v12.0"),kg("10.7.0","Please use highlightElement now."),m(Y)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:E,highlightElement:m,highlightBlock:_,configure:h,initHighlighting:C,initHighlightingOnLoad:I,registerLanguage:y,unregisterLanguage:x,listLanguages:v,getLanguage:F,registerAliases:w,autoDetection:R,inherit:X9,addPlugin:J,removePlugin:j}),t.debugMode=function(){r=!1},t.safeMode=function(){r=!0},t.versionString=rRe,t.regex={concat:Rl,lookahead:nY,either:yF,optional:Eke,anyNumberOfTimes:Ike};for(let Y in uQ)typeof uQ[Y]=="object"&&tY(uQ[Y]);return Object.assign(t,uQ),t},Rg=pY({});Rg.newInstance=()=>pY({});gY.exports=Rg;Rg.HighlightJS=Rg;Rg.default=Rg});var mY,fY,hY=T(()=>{f();mY=ee(dY(),1),fY=mY.default});function wF(t){let e=fY.newInstance();return t&&s(t),{highlight:i,highlightAuto:n,listLanguages:r,register:s,registerAlias:o,registered:a};function i(A,c,u){let l=u||CY,p=typeof l.prefix=="string"?l.prefix:oRe;if(!e.getLanguage(A))throw new Error("Unknown language: `"+A+"` is not registered");e.configure({__emitter:vF,classPrefix:p});let g=e.highlight(c,{ignoreIllegals:!0,language:A});if(g.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:g.errorRaised});let d=g._emitter.root,m=d.data;return m.language=g.language,m.relevance=g.relevance,d}function n(A,c){let l=(c||CY).subset||r(),p=-1,g=0,d;for(;++p<l.length;){let m=l[p];if(!e.getLanguage(m))continue;let h=i(m,A,c);h.data&&h.data.relevance!==void 0&&h.data.relevance>g&&(g=h.data.relevance,d=h)}return d||{type:"root",children:[],data:{language:void 0,relevance:g}}}function r(){return e.listLanguages()}function s(A,c){if(typeof A=="string")e.registerLanguage(A,c);else{let u;for(u in A)Object.hasOwn(A,u)&&e.registerLanguage(u,A[u])}}function o(A,c){if(typeof A=="string")e.registerAliases(typeof c=="string"?c:[...c],{languageName:A});else{let u;for(u in A)if(Object.hasOwn(A,u)){let l=A[u];e.registerAliases(typeof l=="string"?l:[...l],{languageName:u})}}}function a(A){return!!e.getLanguage(A)}}var CY,oRe,vF,IY=T(()=>{f();hY();CY={},oRe="hljs-";vF=class{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e==="")return;let i=this.stack[this.stack.length-1],n=i.children[i.children.length-1];n&&n.type==="text"?n.value+=e:i.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,i){let n=this.stack[this.stack.length-1],r=e.root.children;i?n.children.push({type:"element",tagName:"span",properties:{className:[i]},children:r}):n.children.push(...r)}openNode(e){let i=this,n=e.split(".").map(function(o,a){return a?o+"_".repeat(a):i.options.classPrefix+o}),r=this.stack[this.stack.length-1],s={type:"element",tagName:"span",properties:{className:n},children:[]};r.children.push(s),this.stack.push(s)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}});var bF=T(()=>{f();q9();IY()});function cRe(){let t=new Map;for(let[e,i]of Object.entries(Pi)){for(let[n,r]of Object.entries(i))Pi[n]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},i[n]=Pi[n],t.set(r[0],r[1]);Object.defineProperty(Pi,e,{value:i,enumerable:!1})}return Object.defineProperty(Pi,"codes",{value:t,enumerable:!1}),Pi.color.close="\x1B[39m",Pi.bgColor.close="\x1B[49m",Pi.color.ansi=EY(),Pi.color.ansi256=BY(),Pi.color.ansi16m=QY(),Pi.bgColor.ansi=EY(10),Pi.bgColor.ansi256=BY(10),Pi.bgColor.ansi16m=QY(10),Object.defineProperties(Pi,{rgbToAnsi256:{value(e,i,n){return e===i&&i===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let i=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!i)return[0,0,0];let[n]=i;n.length===3&&(n=[...n].map(s=>s+s).join(""));let r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:e=>Pi.rgbToAnsi256(...Pi.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let i,n,r;if(e>=232)i=((e-232)*10+8)/255,n=i,r=i;else{e-=16;let a=e%36;i=Math.floor(e/36)/5,n=Math.floor(a/6)/5,r=a%6/5}let s=Math.max(i,n,r)*2;if(s===0)return 30;let o=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,i,n)=>Pi.ansi256ToAnsi(Pi.rgbToAnsi256(e,i,n)),enumerable:!1},hexToAnsi:{value:e=>Pi.ansi256ToAnsi(Pi.hexToAnsi256(e)),enumerable:!1}}),Pi}var EY,BY,QY,Pi,KDt,aRe,ARe,HDt,uRe,ia,yY=T(()=>{f();EY=(t=0)=>e=>`\x1B[${e+t}m`,BY=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,QY=(t=0)=>(e,i,n)=>`\x1B[${38+t};2;${e};${i};${n}m`,Pi={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},KDt=Object.keys(Pi.modifier),aRe=Object.keys(Pi.color),ARe=Object.keys(Pi.bgColor),HDt=[...aRe,...ARe];uRe=cRe(),ia=uRe});function uo(t,e=globalThis.Deno?globalThis.Deno.args:mQ.default.argv){let i=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(i+t),r=e.indexOf("--");return n!==-1&&(r===-1||n<r)}function lRe(){if("FORCE_COLOR"in tn)return tn.FORCE_COLOR==="true"?1:tn.FORCE_COLOR==="false"?0:tn.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(tn.FORCE_COLOR,10),3)}function pRe(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function gRe(t,{streamIsTTY:e,sniffFlags:i=!0}={}){let n=lRe();n!==void 0&&(dQ=n);let r=i?dQ:n;if(r===0)return 0;if(i){if(uo("color=16m")||uo("color=full")||uo("color=truecolor"))return 3;if(uo("color=256"))return 2}if("TF_BUILD"in tn&&"AGENT_NAME"in tn)return 1;if(t&&!e&&r===void 0)return 0;let s=r||0;if(tn.TERM==="dumb")return s;if(mQ.default.platform==="win32"){let o=xY.default.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in tn)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(o=>o in tn)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in tn)||tn.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in tn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(tn.TEAMCITY_VERSION)?1:0;if(tn.COLORTERM==="truecolor"||tn.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in tn){let o=Number.parseInt((tn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(tn.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(tn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(tn.TERM)||"COLORTERM"in tn?1:s}function DY(t,e={}){let i=gRe(t,{streamIsTTY:t&&t.isTTY,...e});return pRe(i)}var mQ,xY,SF,tn,dQ,dRe,vY,wY=T(()=>{f();mQ=ee(require("node:process"),1),xY=ee(require("node:os"),1),SF=ee(require("node:tty"),1);({env:tn}=mQ.default);uo("no-color")||uo("no-colors")||uo("color=false")||uo("color=never")?dQ=0:(uo("color")||uo("colors")||uo("color=true")||uo("color=always"))&&(dQ=1);dRe={stdout:DY({isTTY:SF.default.isatty(1)}),stderr:DY({isTTY:SF.default.isatty(2)})},vY=dRe});function bY(t,e,i){let n=t.indexOf(e);if(n===-1)return t;let r=e.length,s=0,o="";do o+=t.slice(s,n)+e+i,s=n+r,n=t.indexOf(e,s);while(n!==-1);return o+=t.slice(s),o}function SY(t,e,i,n){let r=0,s="";do{let o=t[n-1]==="\r";s+=t.slice(r,o?n-1:n)+e+(o?`\r
1106
1106
  `:`
1107
1107
  `)+i,r=n+1,n=t.indexOf(`
1108
1108
  `,r)}while(n!==-1);return s+=t.slice(r),s}var FY=T(()=>{f()});function fh(t){return TY(t)}var kY,RY,FF,Ng,mh,NY,Tg,mRe,fQ,TY,kF,fRe,hRe,RF,hQ,CRe,XDt,e0t,MY=T(()=>{f();yY();wY();FY();({stdout:kY,stderr:RY}=vY),FF=Symbol("GENERATOR"),Ng=Symbol("STYLER"),mh=Symbol("IS_EMPTY"),NY=["ansi","ansi","ansi256","ansi16m"],Tg=Object.create(null),mRe=(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 i=kY?kY.level:0;t.level=e.level===void 0?i:e.level},fQ=class{constructor(e){return TY(e)}},TY=t=>{let e=(...i)=>i.join(" ");return mRe(e,t),Object.setPrototypeOf(e,fh.prototype),e};Object.setPrototypeOf(fh.prototype,Function.prototype);for(let[t,e]of Object.entries(ia))Tg[t]={get(){let i=hQ(this,RF(e.open,e.close,this[Ng]),this[mh]);return Object.defineProperty(this,t,{value:i}),i}};Tg.visible={get(){let t=hQ(this,this[Ng],!0);return Object.defineProperty(this,"visible",{value:t}),t}};kF=(t,e,i,...n)=>t==="rgb"?e==="ansi16m"?ia[i].ansi16m(...n):e==="ansi256"?ia[i].ansi256(ia.rgbToAnsi256(...n)):ia[i].ansi(ia.rgbToAnsi(...n)):t==="hex"?kF("rgb",e,i,...ia.hexToRgb(...n)):ia[i][t](...n),fRe=["rgb","hex","ansi256"];for(let t of fRe){Tg[t]={get(){let{level:i}=this;return function(...n){let r=RF(kF(t,NY[i],"color",...n),ia.color.close,this[Ng]);return hQ(this,r,this[mh])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);Tg[e]={get(){let{level:i}=this;return function(...n){let r=RF(kF(t,NY[i],"bgColor",...n),ia.bgColor.close,this[Ng]);return hQ(this,r,this[mh])}}}}hRe=Object.defineProperties(()=>{},{...Tg,level:{enumerable:!0,get(){return this[FF].level},set(t){this[FF].level=t}}}),RF=(t,e,i)=>{let n,r;return i===void 0?(n=t,r=e):(n=i.openAll+t,r=e+i.closeAll),{open:t,close:e,openAll:n,closeAll:r,parent:i}},hQ=(t,e,i)=>{let n=(...r)=>CRe(n,r.length===1?""+r[0]:r.join(" "));return Object.setPrototypeOf(n,hRe),n[FF]=t,n[Ng]=e,n[mh]=i,n},CRe=(t,e)=>{if(t.level<=0||!e)return t[mh]?"":e;let i=t[Ng];if(i===void 0)return e;let{openAll:n,closeAll:r}=i;if(e.includes("\x1B"))for(;i!==void 0;)e=bY(e,i.close,i.open),i=i.parent;let s=e.indexOf(`
1109
- `);return s!==-1&&(e=SY(e,r,n,s)),n+e+r};Object.defineProperties(fh.prototype,Tg);XDt=fh(),e0t=fh({level:RY?RY.level:0})});function hh(t){let e=wF(t);return{highlight:i,highlightAuto:n,listLanguages:e.listLanguages,register:e.register,registerAlias:e.registerAlias,registered:e.registered};function i(r,s,o){let a=e.highlight(r,s),A=a.data;return{language:A.language,relevance:A.relevance,value:NF(o||PY,a)}}function n(r,s){let o,a;if(s&&("subset"in s||"sheet"in s)){let u=s;a={subset:u.subset},o=u.sheet}else o=s;let A=e.highlightAuto(r,a),c=A.data;return{language:c.language,relevance:c.relevance,value:NF(o||PY,A)}}}function NF(t,e){let i=new Set(e.type==="element"&&Array.isArray(e.properties.className)?e.properties.className.map(function(a){return String(a).replace(/^hljs-/,"")}):[]),n={},r,s="",o;for(o in t)if(Object.hasOwn(t,o)){let a=o.split(" "),A=t[o];i.has(a[0])?a.length===1?r=A:n[a.slice(1).join(" ")]=A:n[o]=A}return"value"in e?s=e.value:"children"in e&&(s=IRe(n,e.children)),r&&(s=r(s)),s}function IRe(t,e){let i=[],n=-1;for(;++n<e.length;)i.push(NF(t,e[n]));return i.join("")}var Mt,PY,_Y=T(()=>{f();MY();bF();Mt=new fQ({level:2}),PY={comment:Mt.gray,quote:Mt.gray,keyword:Mt.green,"selector-tag":Mt.green,addition:Mt.green,number:Mt.cyan,string:Mt.cyan,"meta meta-string":Mt.cyan,literal:Mt.cyan,doctag:Mt.cyan,regexp:Mt.cyan,title:Mt.blue,section:Mt.blue,name:Mt.blue,"selector-id":Mt.blue,"selector-class":Mt.blue,attribute:Mt.yellow,attr:Mt.yellow,variable:Mt.yellow,"template-variable":Mt.yellow,"class title":Mt.yellow,type:Mt.yellow,symbol:Mt.magenta,bullet:Mt.magenta,subst:Mt.magenta,meta:Mt.magenta,"meta keyword":Mt.magenta,"selector-attr":Mt.magenta,"selector-pseudo":Mt.magenta,link:Mt.magenta,built_in:Mt.red,deletion:Mt.red,emphasis:Mt.italic,strong:Mt.bold,formula:Mt.inverse}});var TF=T(()=>{f();bF();_Y()});async function ve(t){if(process.env.NODE_ENV!=="test")try{let e=process.env.BUILDER_DISABLE_AMPLITUDE==="true",i=[LY.flush(2e3)];e||i.push(UY.flush().promise),await Promise.allSettled(i)}catch(e){console.error(e)}process.exit(t)}var LY,UY,lo=T(()=>{"use strict";f();LY=ee(require("@sentry/node"),1),UY=ee(require("@amplitude/analytics-node"),1)});var _e,zi=T(()=>{"use strict";f();_e=process.env.AIR_HOST||process.env.BUILDER_HOST||"https://api.builder.io"});var OY,GY=T(()=>{OY="1.30.2"});var HY=b(MF=>{f();var KY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");MF.encode=function(t){if(0<=t&&t<KY.length)return KY[t];throw new TypeError("Must be between 0 and 63: "+t)};MF.decode=function(t){var e=65,i=90,n=97,r=122,s=48,o=57,a=43,A=47,c=26,u=52;return e<=t&&t<=i?t-e:n<=t&&t<=r?t-n+c:s<=t&&t<=o?t-s+u:t==a?62:t==A?63:-1}});var LF=b(_F=>{f();var JY=HY(),PF=5,jY=1<<PF,YY=jY-1,$Y=jY;function BRe(t){return t<0?(-t<<1)+1:(t<<1)+0}function QRe(t){var e=(t&1)===1,i=t>>1;return e?-i:i}_F.encode=function(e){var i="",n,r=BRe(e);do n=r&YY,r>>>=PF,r>0&&(n|=$Y),i+=JY.encode(n);while(r>0);return i};_F.decode=function(e,i,n){var r=e.length,s=0,o=0,a,A;do{if(i>=r)throw new Error("Expected more digits in base 64 VLQ value.");if(A=JY.decode(e.charCodeAt(i++)),A===-1)throw new Error("Invalid base64 digit: "+e.charAt(i-1));a=!!(A&$Y),A&=YY,s=s+(A<<o),o+=PF}while(a);n.value=QRe(s),n.rest=i}});var Pg=b(Hn=>{f();function yRe(t,e,i){if(e in t)return t[e];if(arguments.length===3)return i;throw new Error('"'+e+'" is a required argument.')}Hn.getArg=yRe;var qY=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,DRe=/^data:.+\,.+$/;function Ch(t){var e=t.match(qY);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}Hn.urlParse=Ch;function Mg(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}Hn.urlGenerate=Mg;var xRe=32;function vRe(t){var e=[];return function(i){for(var n=0;n<e.length;n++)if(e[n].input===i){var r=e[0];return e[0]=e[n],e[n]=r,e[0].result}var s=t(i);return e.unshift({input:i,result:s}),e.length>xRe&&e.pop(),s}}var UF=vRe(function(e){var i=e,n=Ch(e);if(n){if(!n.path)return e;i=n.path}for(var r=Hn.isAbsolute(i),s=[],o=0,a=0;;)if(o=a,a=i.indexOf("/",o),a===-1){s.push(i.slice(o));break}else for(s.push(i.slice(o,a));a<i.length&&i[a]==="/";)a++;for(var A,c=0,a=s.length-1;a>=0;a--)A=s[a],A==="."?s.splice(a,1):A===".."?c++:c>0&&(A===""?(s.splice(a+1,c),c=0):(s.splice(a,2),c--));return i=s.join("/"),i===""&&(i=r?"/":"."),n?(n.path=i,Mg(n)):i});Hn.normalize=UF;function zY(t,e){t===""&&(t="."),e===""&&(e=".");var i=Ch(e),n=Ch(t);if(n&&(t=n.path||"/"),i&&!i.scheme)return n&&(i.scheme=n.scheme),Mg(i);if(i||e.match(DRe))return e;if(n&&!n.host&&!n.path)return n.host=e,Mg(n);var r=e.charAt(0)==="/"?e:UF(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=r,Mg(n)):r}Hn.join=zY;Hn.isAbsolute=function(t){return t.charAt(0)==="/"||qY.test(t)};function wRe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var i=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++i}return Array(i+1).join("../")+e.substr(t.length+1)}Hn.relative=wRe;var VY=(function(){var t=Object.create(null);return!("__proto__"in t)})();function WY(t){return t}function bRe(t){return ZY(t)?"$"+t:t}Hn.toSetString=VY?WY:bRe;function SRe(t){return ZY(t)?t.slice(1):t}Hn.fromSetString=VY?WY:SRe;function ZY(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 i=e-10;i>=0;i--)if(t.charCodeAt(i)!==36)return!1;return!0}function FRe(t,e,i){var n=KA(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||i)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:KA(t.name,e.name)}Hn.compareByOriginalPositions=FRe;function kRe(t,e,i){var n;return n=t.originalLine-e.originalLine,n!==0||(n=t.originalColumn-e.originalColumn,n!==0||i)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:KA(t.name,e.name)}Hn.compareByOriginalPositionsNoSource=kRe;function RRe(t,e,i){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||i)||(n=KA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:KA(t.name,e.name)}Hn.compareByGeneratedPositionsDeflated=RRe;function NRe(t,e,i){var n=t.generatedColumn-e.generatedColumn;return n!==0||i||(n=KA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:KA(t.name,e.name)}Hn.compareByGeneratedPositionsDeflatedNoLine=NRe;function KA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function TRe(t,e){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=KA(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:KA(t.name,e.name)}Hn.compareByGeneratedPositionsInflated=TRe;function MRe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}Hn.parseSourceMapInput=MRe;function PRe(t,e,i){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),i){var n=Ch(i);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var r=n.path.lastIndexOf("/");r>=0&&(n.path=n.path.substring(0,r+1))}e=zY(Mg(n),e)}return UF(e)}Hn.computeSourceURL=PRe});var KF=b(XY=>{f();var GF=Pg(),OF=Object.prototype.hasOwnProperty,Nl=typeof Map<"u";function HA(){this._array=[],this._set=Nl?new Map:Object.create(null)}HA.fromArray=function(e,i){for(var n=new HA,r=0,s=e.length;r<s;r++)n.add(e[r],i);return n};HA.prototype.size=function(){return Nl?this._set.size:Object.getOwnPropertyNames(this._set).length};HA.prototype.add=function(e,i){var n=Nl?e:GF.toSetString(e),r=Nl?this.has(e):OF.call(this._set,n),s=this._array.length;(!r||i)&&this._array.push(e),r||(Nl?this._set.set(e,s):this._set[n]=s)};HA.prototype.has=function(e){if(Nl)return this._set.has(e);var i=GF.toSetString(e);return OF.call(this._set,i)};HA.prototype.indexOf=function(e){if(Nl){var i=this._set.get(e);if(i>=0)return i}else{var n=GF.toSetString(e);if(OF.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};HA.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};HA.prototype.toArray=function(){return this._array.slice()};XY.ArraySet=HA});var i5=b(t5=>{f();var e5=Pg();function _Re(t,e){var i=t.generatedLine,n=e.generatedLine,r=t.generatedColumn,s=e.generatedColumn;return n>i||n==i&&s>=r||e5.compareByGeneratedPositionsInflated(t,e)<=0}function CQ(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}CQ.prototype.unsortedForEach=function(e,i){this._array.forEach(e,i)};CQ.prototype.add=function(e){_Re(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};CQ.prototype.toArray=function(){return this._sorted||(this._array.sort(e5.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};t5.MappingList=CQ});var HF=b(n5=>{f();var Ih=LF(),pn=Pg(),IQ=KF().ArraySet,LRe=i5().MappingList;function po(t){t||(t={}),this._file=pn.getArg(t,"file",null),this._sourceRoot=pn.getArg(t,"sourceRoot",null),this._skipValidation=pn.getArg(t,"skipValidation",!1),this._ignoreInvalidMapping=pn.getArg(t,"ignoreInvalidMapping",!1),this._sources=new IQ,this._names=new IQ,this._mappings=new LRe,this._sourcesContents=null}po.prototype._version=3;po.fromSourceMap=function(e,i){var n=e.sourceRoot,r=new po(Object.assign(i||{},{file:e.file,sourceRoot:n}));return e.eachMapping(function(s){var o={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(o.source=s.source,n!=null&&(o.source=pn.relative(n,o.source)),o.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(o.name=s.name)),r.addMapping(o)}),e.sources.forEach(function(s){var o=s;n!==null&&(o=pn.relative(n,s)),r._sources.has(o)||r._sources.add(o);var a=e.sourceContentFor(s);a!=null&&r.setSourceContent(s,a)}),r};po.prototype.addMapping=function(e){var i=pn.getArg(e,"generated"),n=pn.getArg(e,"original",null),r=pn.getArg(e,"source",null),s=pn.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(i,n,r,s)===!1||(r!=null&&(r=String(r),this._sources.has(r)||this._sources.add(r)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:i.line,generatedColumn:i.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:r,name:s}))};po.prototype.setSourceContent=function(e,i){var n=e;this._sourceRoot!=null&&(n=pn.relative(this._sourceRoot,n)),i!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[pn.toSetString(n)]=i):this._sourcesContents&&(delete this._sourcesContents[pn.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};po.prototype.applySourceMap=function(e,i,n){var r=i;if(i==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.`);r=e.file}var s=this._sourceRoot;s!=null&&(r=pn.relative(s,r));var o=new IQ,a=new IQ;this._mappings.unsortedForEach(function(A){if(A.source===r&&A.originalLine!=null){var c=e.originalPositionFor({line:A.originalLine,column:A.originalColumn});c.source!=null&&(A.source=c.source,n!=null&&(A.source=pn.join(n,A.source)),s!=null&&(A.source=pn.relative(s,A.source)),A.originalLine=c.line,A.originalColumn=c.column,c.name!=null&&(A.name=c.name))}var u=A.source;u!=null&&!o.has(u)&&o.add(u);var l=A.name;l!=null&&!a.has(l)&&a.add(l)},this),this._sources=o,this._names=a,e.sources.forEach(function(A){var c=e.sourceContentFor(A);c!=null&&(n!=null&&(A=pn.join(n,A)),s!=null&&(A=pn.relative(s,A)),this.setSourceContent(A,c))},this)};po.prototype._validateMapping=function(e,i,n,r){if(i&&typeof i.line!="number"&&typeof i.column!="number"){var s="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(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!i&&!n&&!r)){if(e&&"line"in e&&"column"in e&&i&&"line"in i&&"column"in i&&e.line>0&&e.column>=0&&i.line>0&&i.column>=0&&n)return;var s="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:i,name:r});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}};po.prototype._serializeMappings=function(){for(var e=0,i=1,n=0,r=0,s=0,o=0,a="",A,c,u,l,p=this._mappings.toArray(),g=0,d=p.length;g<d;g++){if(c=p[g],A="",c.generatedLine!==i)for(e=0;c.generatedLine!==i;)A+=";",i++;else if(g>0){if(!pn.compareByGeneratedPositionsInflated(c,p[g-1]))continue;A+=","}A+=Ih.encode(c.generatedColumn-e),e=c.generatedColumn,c.source!=null&&(l=this._sources.indexOf(c.source),A+=Ih.encode(l-o),o=l,A+=Ih.encode(c.originalLine-1-r),r=c.originalLine-1,A+=Ih.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(u=this._names.indexOf(c.name),A+=Ih.encode(u-s),s=u)),a+=A}return a};po.prototype._generateSourcesContent=function(e,i){return e.map(function(n){if(!this._sourcesContents)return null;i!=null&&(n=pn.relative(i,n));var r=pn.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)};po.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};po.prototype.toString=function(){return JSON.stringify(this.toJSON())};n5.SourceMapGenerator=po});var r5=b(Tl=>{f();Tl.GREATEST_LOWER_BOUND=1;Tl.LEAST_UPPER_BOUND=2;function JF(t,e,i,n,r,s){var o=Math.floor((e-t)/2)+t,a=r(i,n[o],!0);return a===0?o:a>0?e-o>1?JF(o,e,i,n,r,s):s==Tl.LEAST_UPPER_BOUND?e<n.length?e:-1:o:o-t>1?JF(t,o,i,n,r,s):s==Tl.LEAST_UPPER_BOUND?o:t<0?-1:t}Tl.search=function(e,i,n,r){if(i.length===0)return-1;var s=JF(-1,i.length,e,i,n,r||Tl.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(i[s],i[s-1],!0)===0;)--s;return s}});var a5=b(o5=>{f();function URe(t){function e(r,s,o){var a=r[s];r[s]=r[o],r[o]=a}function i(r,s){return Math.round(r+Math.random()*(s-r))}function n(r,s,o,a){if(o<a){var A=i(o,a),c=o-1;e(r,A,a);for(var u=r[a],l=o;l<a;l++)s(r[l],u,!1)<=0&&(c+=1,e(r,c,l));e(r,c+1,l);var p=c+1;n(r,s,o,p-1),n(r,s,p+1,a)}}return n}function GRe(t){let e=URe.toString();return new Function(`return ${e}`)()(t)}var s5=new WeakMap;o5.quickSort=function(t,e,i=0){let n=s5.get(e);n===void 0&&(n=GRe(e),s5.set(e,n)),n(t,e,i,t.length-1)}});var u5=b(EQ=>{f();var Ne=Pg(),YF=r5(),_g=KF().ArraySet,ORe=LF(),Eh=a5().quickSort;function vi(t,e){var i=t;return typeof t=="string"&&(i=Ne.parseSourceMapInput(t)),i.sections!=null?new na(i,e):new nr(i,e)}vi.fromSourceMap=function(t,e){return nr.fromSourceMap(t,e)};vi.prototype._version=3;vi.prototype.__generatedMappings=null;Object.defineProperty(vi.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});vi.prototype.__originalMappings=null;Object.defineProperty(vi.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});vi.prototype._charIsMappingSeparator=function(e,i){var n=e.charAt(i);return n===";"||n===","};vi.prototype._parseMappings=function(e,i){throw new Error("Subclasses must implement _parseMappings")};vi.GENERATED_ORDER=1;vi.ORIGINAL_ORDER=2;vi.GREATEST_LOWER_BOUND=1;vi.LEAST_UPPER_BOUND=2;vi.prototype.eachMapping=function(e,i,n){var r=i||null,s=n||vi.GENERATED_ORDER,o;switch(s){case vi.GENERATED_ORDER:o=this._generatedMappings;break;case vi.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,A=e.bind(r),c=this._names,u=this._sources,l=this._sourceMapURL,p=0,g=o.length;p<g;p++){var d=o[p],m=d.source===null?null:u.at(d.source);m!==null&&(m=Ne.computeSourceURL(a,m,l)),A({source:m,generatedLine:d.generatedLine,generatedColumn:d.generatedColumn,originalLine:d.originalLine,originalColumn:d.originalColumn,name:d.name===null?null:c.at(d.name)})}};vi.prototype.allGeneratedPositionsFor=function(e){var i=Ne.getArg(e,"line"),n={source:Ne.getArg(e,"source"),originalLine:i,originalColumn:Ne.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var r=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ne.compareByOriginalPositions,YF.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;)r.push({line:Ne.getArg(o,"generatedLine",null),column:Ne.getArg(o,"generatedColumn",null),lastColumn:Ne.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var A=o.originalColumn;o&&o.originalLine===i&&o.originalColumn==A;)r.push({line:Ne.getArg(o,"generatedLine",null),column:Ne.getArg(o,"generatedColumn",null),lastColumn:Ne.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return r};EQ.SourceMapConsumer=vi;function nr(t,e){var i=t;typeof t=="string"&&(i=Ne.parseSourceMapInput(t));var n=Ne.getArg(i,"version"),r=Ne.getArg(i,"sources"),s=Ne.getArg(i,"names",[]),o=Ne.getArg(i,"sourceRoot",null),a=Ne.getArg(i,"sourcesContent",null),A=Ne.getArg(i,"mappings"),c=Ne.getArg(i,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=Ne.normalize(o)),r=r.map(String).map(Ne.normalize).map(function(u){return o&&Ne.isAbsolute(o)&&Ne.isAbsolute(u)?Ne.relative(o,u):u}),this._names=_g.fromArray(s.map(String),!0),this._sources=_g.fromArray(r,!0),this._absoluteSources=this._sources.toArray().map(function(u){return Ne.computeSourceURL(o,u,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=A,this._sourceMapURL=e,this.file=c}nr.prototype=Object.create(vi.prototype);nr.prototype.consumer=vi;nr.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Ne.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var i;for(i=0;i<this._absoluteSources.length;++i)if(this._absoluteSources[i]==t)return i;return-1};nr.fromSourceMap=function(e,i){var n=Object.create(nr.prototype),r=n._names=_g.fromArray(e._names.toArray(),!0),s=n._sources=_g.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=i,n._absoluteSources=n._sources.toArray().map(function(g){return Ne.computeSourceURL(n.sourceRoot,g,i)});for(var o=e._mappings.toArray().slice(),a=n.__generatedMappings=[],A=n.__originalMappings=[],c=0,u=o.length;c<u;c++){var l=o[c],p=new c5;p.generatedLine=l.generatedLine,p.generatedColumn=l.generatedColumn,l.source&&(p.source=s.indexOf(l.source),p.originalLine=l.originalLine,p.originalColumn=l.originalColumn,l.name&&(p.name=r.indexOf(l.name)),A.push(p)),a.push(p)}return Eh(n.__originalMappings,Ne.compareByOriginalPositions),n};nr.prototype._version=3;Object.defineProperty(nr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function c5(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var jF=Ne.compareByGeneratedPositionsDeflatedNoLine;function A5(t,e){let i=t.length,n=t.length-e;if(!(n<=1))if(n==2){let r=t[e],s=t[e+1];jF(r,s)>0&&(t[e]=s,t[e+1]=r)}else if(n<20)for(let r=e;r<i;r++)for(let s=r;s>e;s--){let o=t[s-1],a=t[s];if(jF(o,a)<=0)break;t[s-1]=a,t[s]=o}else Eh(t,jF,e)}nr.prototype._parseMappings=function(e,i){var n=1,r=0,s=0,o=0,a=0,A=0,c=e.length,u=0,l={},p={},g=[],d=[],m,h,C,I,B;let E=0;for(;u<c;)if(e.charAt(u)===";")n++,u++,r=0,A5(d,E),E=d.length;else if(e.charAt(u)===",")u++;else{for(m=new c5,m.generatedLine=n,I=u;I<c&&!this._charIsMappingSeparator(e,I);I++);for(h=e.slice(u,I),C=[];u<I;)ORe.decode(e,u,p),B=p.value,u=p.rest,C.push(B);if(C.length===2)throw new Error("Found a source, but no line and column");if(C.length===3)throw new Error("Found a source and line, but no column");if(m.generatedColumn=r+C[0],r=m.generatedColumn,C.length>1&&(m.source=a+C[1],a+=C[1],m.originalLine=s+C[2],s=m.originalLine,m.originalLine+=1,m.originalColumn=o+C[3],o=m.originalColumn,C.length>4&&(m.name=A+C[4],A+=C[4])),d.push(m),typeof m.originalLine=="number"){let y=m.source;for(;g.length<=y;)g.push(null);g[y]===null&&(g[y]=[]),g[y].push(m)}}A5(d,E),this.__generatedMappings=d;for(var Q=0;Q<g.length;Q++)g[Q]!=null&&Eh(g[Q],Ne.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...g)};nr.prototype._findMapping=function(e,i,n,r,s,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return YF.search(e,i,s,o)};nr.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var i=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(i.generatedLine===n.generatedLine){i.lastGeneratedColumn=n.generatedColumn-1;continue}}i.lastGeneratedColumn=1/0}};nr.prototype.originalPositionFor=function(e){var i={generatedLine:Ne.getArg(e,"line"),generatedColumn:Ne.getArg(e,"column")},n=this._findMapping(i,this._generatedMappings,"generatedLine","generatedColumn",Ne.compareByGeneratedPositionsDeflated,Ne.getArg(e,"bias",vi.GREATEST_LOWER_BOUND));if(n>=0){var r=this._generatedMappings[n];if(r.generatedLine===i.generatedLine){var s=Ne.getArg(r,"source",null);s!==null&&(s=this._sources.at(s),s=Ne.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=Ne.getArg(r,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:Ne.getArg(r,"originalLine",null),column:Ne.getArg(r,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};nr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};nr.prototype.sourceContentFor=function(e,i){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var r=e;this.sourceRoot!=null&&(r=Ne.relative(this.sourceRoot,r));var s;if(this.sourceRoot!=null&&(s=Ne.urlParse(this.sourceRoot))){var o=r.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("/"+r))return this.sourcesContent[this._sources.indexOf("/"+r)]}if(i)return null;throw new Error('"'+r+'" is not in the SourceMap.')};nr.prototype.generatedPositionFor=function(e){var i=Ne.getArg(e,"source");if(i=this._findSourceIndex(i),i<0)return{line:null,column:null,lastColumn:null};var n={source:i,originalLine:Ne.getArg(e,"line"),originalColumn:Ne.getArg(e,"column")},r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ne.compareByOriginalPositions,Ne.getArg(e,"bias",vi.GREATEST_LOWER_BOUND));if(r>=0){var s=this._originalMappings[r];if(s.source===n.source)return{line:Ne.getArg(s,"generatedLine",null),column:Ne.getArg(s,"generatedColumn",null),lastColumn:Ne.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};EQ.BasicSourceMapConsumer=nr;function na(t,e){var i=t;typeof t=="string"&&(i=Ne.parseSourceMapInput(t));var n=Ne.getArg(i,"version"),r=Ne.getArg(i,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new _g,this._names=new _g;var s={line:-1,column:0};this._sections=r.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=Ne.getArg(o,"offset"),A=Ne.getArg(a,"line"),c=Ne.getArg(a,"column");if(A<s.line||A===s.line&&c<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:A+1,generatedColumn:c+1},consumer:new vi(Ne.getArg(o,"map"),e)}})}na.prototype=Object.create(vi.prototype);na.prototype.constructor=vi;na.prototype._version=3;Object.defineProperty(na.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var i=0;i<this._sections[e].consumer.sources.length;i++)t.push(this._sections[e].consumer.sources[i]);return t}});na.prototype.originalPositionFor=function(e){var i={generatedLine:Ne.getArg(e,"line"),generatedColumn:Ne.getArg(e,"column")},n=YF.search(i,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:i.generatedLine-(r.generatedOffset.generatedLine-1),column:i.generatedColumn-(r.generatedOffset.generatedLine===i.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};na.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};na.prototype.sourceContentFor=function(e,i){for(var n=0;n<this._sections.length;n++){var r=this._sections[n],s=r.consumer.sourceContentFor(e,!0);if(s||s==="")return s}if(i)return null;throw new Error('"'+e+'" is not in the SourceMap.')};na.prototype.generatedPositionFor=function(e){for(var i=0;i<this._sections.length;i++){var n=this._sections[i];if(n.consumer._findSourceIndex(Ne.getArg(e,"source"))!==-1){var r=n.consumer.generatedPositionFor(e);if(r){var s={line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};na.prototype._parseMappings=function(e,i){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],s=r.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],A=r.consumer._sources.at(a.source);A!==null&&(A=Ne.computeSourceURL(r.consumer.sourceRoot,A,this._sourceMapURL)),this._sources.add(A),A=this._sources.indexOf(A);var c=null;a.name&&(c=r.consumer._names.at(a.name),this._names.add(c),c=this._names.indexOf(c));var u={source:A,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}Eh(this.__generatedMappings,Ne.compareByGeneratedPositionsDeflated),Eh(this.__originalMappings,Ne.compareByOriginalPositions)};EQ.IndexedSourceMapConsumer=na});var p5=b(l5=>{f();var KRe=HF().SourceMapGenerator,BQ=Pg(),HRe=/(\r?\n)/,JRe=10,Lg="$$$isSourceNode$$$";function Us(t,e,i,n,r){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=i??null,this.name=r??null,this[Lg]=!0,n!=null&&this.add(n)}Us.fromStringWithSourceMap=function(e,i,n){var r=new Us,s=e.split(HRe),o=0,a=function(){var p=d(),g=d()||"";return p+g;function d(){return o<s.length?s[o++]:void 0}},A=1,c=0,u=null;return i.eachMapping(function(p){if(u!==null)if(A<p.generatedLine)l(u,a()),A++,c=0;else{var g=s[o]||"",d=g.substr(0,p.generatedColumn-c);s[o]=g.substr(p.generatedColumn-c),c=p.generatedColumn,l(u,d),u=p;return}for(;A<p.generatedLine;)r.add(a()),A++;if(c<p.generatedColumn){var g=s[o]||"";r.add(g.substr(0,p.generatedColumn)),s[o]=g.substr(p.generatedColumn),c=p.generatedColumn}u=p},this),o<s.length&&(u&&l(u,a()),r.add(s.splice(o).join(""))),i.sources.forEach(function(p){var g=i.sourceContentFor(p);g!=null&&(n!=null&&(p=BQ.join(n,p)),r.setSourceContent(p,g))}),r;function l(p,g){if(p===null||p.source===void 0)r.add(g);else{var d=n?BQ.join(n,p.source):p.source;r.add(new Us(p.originalLine,p.originalColumn,d,g,p.name))}}};Us.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(i){this.add(i)},this);else if(e[Lg]||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};Us.prototype.prepend=function(e){if(Array.isArray(e))for(var i=e.length-1;i>=0;i--)this.prepend(e[i]);else if(e[Lg]||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};Us.prototype.walk=function(e){for(var i,n=0,r=this.children.length;n<r;n++)i=this.children[n],i[Lg]?i.walk(e):i!==""&&e(i,{source:this.source,line:this.line,column:this.column,name:this.name})};Us.prototype.join=function(e){var i,n,r=this.children.length;if(r>0){for(i=[],n=0;n<r-1;n++)i.push(this.children[n]),i.push(e);i.push(this.children[n]),this.children=i}return this};Us.prototype.replaceRight=function(e,i){var n=this.children[this.children.length-1];return n[Lg]?n.replaceRight(e,i):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,i):this.children.push("".replace(e,i)),this};Us.prototype.setSourceContent=function(e,i){this.sourceContents[BQ.toSetString(e)]=i};Us.prototype.walkSourceContents=function(e){for(var i=0,n=this.children.length;i<n;i++)this.children[i][Lg]&&this.children[i].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),i=0,n=r.length;i<n;i++)e(BQ.fromSetString(r[i]),this.sourceContents[r[i]])};Us.prototype.toString=function(){var e="";return this.walk(function(i){e+=i}),e};Us.prototype.toStringWithSourceMap=function(e){var i={code:"",line:1,column:0},n=new KRe(e),r=!1,s=null,o=null,a=null,A=null;return this.walk(function(c,u){i.code+=c,u.source!==null&&u.line!==null&&u.column!==null?((s!==u.source||o!==u.line||a!==u.column||A!==u.name)&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:i.line,column:i.column},name:u.name}),s=u.source,o=u.line,a=u.column,A=u.name,r=!0):r&&(n.addMapping({generated:{line:i.line,column:i.column}}),s=null,r=!1);for(var l=0,p=c.length;l<p;l++)c.charCodeAt(l)===JRe?(i.line++,i.column=0,l+1===p?(s=null,r=!1):r&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:i.line,column:i.column},name:u.name})):i.column++}),this.walkSourceContents(function(c,u){n.setSourceContent(c,u)}),{code:i.code,map:n}};l5.SourceNode=Us});var g5=b(QQ=>{f();QQ.SourceMapGenerator=HF().SourceMapGenerator;QQ.SourceMapConsumer=u5().SourceMapConsumer;QQ.SourceNode=p5().SourceNode});var J5=b(Fh=>{"use strict";f();Object.defineProperty(Fh,"__esModule",{value:!0});function jRe(t,e){if(t==null)return{};var i={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;i[n]=t[n]}return i}var Za=class{constructor(e,i,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=i,this.index=n}},Hg=class{constructor(e,i){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=i}};function Vr(t,e){let{line:i,column:n,index:r}=t;return new Za(i,n+e,r+e)}var d5="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",YRe={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:d5},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:d5}},m5={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},xQ=t=>t.type==="UpdateExpression"?m5.UpdateExpression[`${t.prefix}`]:m5[t.type],$Re={AccessorIsGenerator:({kind:t})=>`A ${t}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:t})=>`Missing initializer in ${t} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:t})=>`\`${t}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:t})=>`'import.${t}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.
1109
+ `);return s!==-1&&(e=SY(e,r,n,s)),n+e+r};Object.defineProperties(fh.prototype,Tg);XDt=fh(),e0t=fh({level:RY?RY.level:0})});function hh(t){let e=wF(t);return{highlight:i,highlightAuto:n,listLanguages:e.listLanguages,register:e.register,registerAlias:e.registerAlias,registered:e.registered};function i(r,s,o){let a=e.highlight(r,s),A=a.data;return{language:A.language,relevance:A.relevance,value:NF(o||PY,a)}}function n(r,s){let o,a;if(s&&("subset"in s||"sheet"in s)){let u=s;a={subset:u.subset},o=u.sheet}else o=s;let A=e.highlightAuto(r,a),c=A.data;return{language:c.language,relevance:c.relevance,value:NF(o||PY,A)}}}function NF(t,e){let i=new Set(e.type==="element"&&Array.isArray(e.properties.className)?e.properties.className.map(function(a){return String(a).replace(/^hljs-/,"")}):[]),n={},r,s="",o;for(o in t)if(Object.hasOwn(t,o)){let a=o.split(" "),A=t[o];i.has(a[0])?a.length===1?r=A:n[a.slice(1).join(" ")]=A:n[o]=A}return"value"in e?s=e.value:"children"in e&&(s=IRe(n,e.children)),r&&(s=r(s)),s}function IRe(t,e){let i=[],n=-1;for(;++n<e.length;)i.push(NF(t,e[n]));return i.join("")}var Mt,PY,_Y=T(()=>{f();MY();bF();Mt=new fQ({level:2}),PY={comment:Mt.gray,quote:Mt.gray,keyword:Mt.green,"selector-tag":Mt.green,addition:Mt.green,number:Mt.cyan,string:Mt.cyan,"meta meta-string":Mt.cyan,literal:Mt.cyan,doctag:Mt.cyan,regexp:Mt.cyan,title:Mt.blue,section:Mt.blue,name:Mt.blue,"selector-id":Mt.blue,"selector-class":Mt.blue,attribute:Mt.yellow,attr:Mt.yellow,variable:Mt.yellow,"template-variable":Mt.yellow,"class title":Mt.yellow,type:Mt.yellow,symbol:Mt.magenta,bullet:Mt.magenta,subst:Mt.magenta,meta:Mt.magenta,"meta keyword":Mt.magenta,"selector-attr":Mt.magenta,"selector-pseudo":Mt.magenta,link:Mt.magenta,built_in:Mt.red,deletion:Mt.red,emphasis:Mt.italic,strong:Mt.bold,formula:Mt.inverse}});var TF=T(()=>{f();bF();_Y()});async function ve(t){if(process.env.NODE_ENV!=="test")try{let e=process.env.BUILDER_DISABLE_AMPLITUDE==="true",i=[LY.flush(2e3)];e||i.push(UY.flush().promise),await Promise.allSettled(i)}catch(e){console.error(e)}process.exit(t)}var LY,UY,lo=T(()=>{"use strict";f();LY=ee(require("@sentry/node"),1),UY=ee(require("@amplitude/analytics-node"),1)});var _e,zi=T(()=>{"use strict";f();_e=process.env.AIR_HOST||process.env.BUILDER_HOST||"https://api.builder.io"});var OY,GY=T(()=>{OY="1.31.0"});var HY=b(MF=>{f();var KY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");MF.encode=function(t){if(0<=t&&t<KY.length)return KY[t];throw new TypeError("Must be between 0 and 63: "+t)};MF.decode=function(t){var e=65,i=90,n=97,r=122,s=48,o=57,a=43,A=47,c=26,u=52;return e<=t&&t<=i?t-e:n<=t&&t<=r?t-n+c:s<=t&&t<=o?t-s+u:t==a?62:t==A?63:-1}});var LF=b(_F=>{f();var JY=HY(),PF=5,jY=1<<PF,YY=jY-1,$Y=jY;function BRe(t){return t<0?(-t<<1)+1:(t<<1)+0}function QRe(t){var e=(t&1)===1,i=t>>1;return e?-i:i}_F.encode=function(e){var i="",n,r=BRe(e);do n=r&YY,r>>>=PF,r>0&&(n|=$Y),i+=JY.encode(n);while(r>0);return i};_F.decode=function(e,i,n){var r=e.length,s=0,o=0,a,A;do{if(i>=r)throw new Error("Expected more digits in base 64 VLQ value.");if(A=JY.decode(e.charCodeAt(i++)),A===-1)throw new Error("Invalid base64 digit: "+e.charAt(i-1));a=!!(A&$Y),A&=YY,s=s+(A<<o),o+=PF}while(a);n.value=QRe(s),n.rest=i}});var Pg=b(Hn=>{f();function yRe(t,e,i){if(e in t)return t[e];if(arguments.length===3)return i;throw new Error('"'+e+'" is a required argument.')}Hn.getArg=yRe;var qY=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,DRe=/^data:.+\,.+$/;function Ch(t){var e=t.match(qY);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}Hn.urlParse=Ch;function Mg(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}Hn.urlGenerate=Mg;var xRe=32;function vRe(t){var e=[];return function(i){for(var n=0;n<e.length;n++)if(e[n].input===i){var r=e[0];return e[0]=e[n],e[n]=r,e[0].result}var s=t(i);return e.unshift({input:i,result:s}),e.length>xRe&&e.pop(),s}}var UF=vRe(function(e){var i=e,n=Ch(e);if(n){if(!n.path)return e;i=n.path}for(var r=Hn.isAbsolute(i),s=[],o=0,a=0;;)if(o=a,a=i.indexOf("/",o),a===-1){s.push(i.slice(o));break}else for(s.push(i.slice(o,a));a<i.length&&i[a]==="/";)a++;for(var A,c=0,a=s.length-1;a>=0;a--)A=s[a],A==="."?s.splice(a,1):A===".."?c++:c>0&&(A===""?(s.splice(a+1,c),c=0):(s.splice(a,2),c--));return i=s.join("/"),i===""&&(i=r?"/":"."),n?(n.path=i,Mg(n)):i});Hn.normalize=UF;function zY(t,e){t===""&&(t="."),e===""&&(e=".");var i=Ch(e),n=Ch(t);if(n&&(t=n.path||"/"),i&&!i.scheme)return n&&(i.scheme=n.scheme),Mg(i);if(i||e.match(DRe))return e;if(n&&!n.host&&!n.path)return n.host=e,Mg(n);var r=e.charAt(0)==="/"?e:UF(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=r,Mg(n)):r}Hn.join=zY;Hn.isAbsolute=function(t){return t.charAt(0)==="/"||qY.test(t)};function wRe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var i=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++i}return Array(i+1).join("../")+e.substr(t.length+1)}Hn.relative=wRe;var VY=(function(){var t=Object.create(null);return!("__proto__"in t)})();function WY(t){return t}function bRe(t){return ZY(t)?"$"+t:t}Hn.toSetString=VY?WY:bRe;function SRe(t){return ZY(t)?t.slice(1):t}Hn.fromSetString=VY?WY:SRe;function ZY(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 i=e-10;i>=0;i--)if(t.charCodeAt(i)!==36)return!1;return!0}function FRe(t,e,i){var n=KA(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||i)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:KA(t.name,e.name)}Hn.compareByOriginalPositions=FRe;function kRe(t,e,i){var n;return n=t.originalLine-e.originalLine,n!==0||(n=t.originalColumn-e.originalColumn,n!==0||i)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:KA(t.name,e.name)}Hn.compareByOriginalPositionsNoSource=kRe;function RRe(t,e,i){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||i)||(n=KA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:KA(t.name,e.name)}Hn.compareByGeneratedPositionsDeflated=RRe;function NRe(t,e,i){var n=t.generatedColumn-e.generatedColumn;return n!==0||i||(n=KA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:KA(t.name,e.name)}Hn.compareByGeneratedPositionsDeflatedNoLine=NRe;function KA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function TRe(t,e){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=KA(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:KA(t.name,e.name)}Hn.compareByGeneratedPositionsInflated=TRe;function MRe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}Hn.parseSourceMapInput=MRe;function PRe(t,e,i){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),i){var n=Ch(i);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var r=n.path.lastIndexOf("/");r>=0&&(n.path=n.path.substring(0,r+1))}e=zY(Mg(n),e)}return UF(e)}Hn.computeSourceURL=PRe});var KF=b(XY=>{f();var GF=Pg(),OF=Object.prototype.hasOwnProperty,Nl=typeof Map<"u";function HA(){this._array=[],this._set=Nl?new Map:Object.create(null)}HA.fromArray=function(e,i){for(var n=new HA,r=0,s=e.length;r<s;r++)n.add(e[r],i);return n};HA.prototype.size=function(){return Nl?this._set.size:Object.getOwnPropertyNames(this._set).length};HA.prototype.add=function(e,i){var n=Nl?e:GF.toSetString(e),r=Nl?this.has(e):OF.call(this._set,n),s=this._array.length;(!r||i)&&this._array.push(e),r||(Nl?this._set.set(e,s):this._set[n]=s)};HA.prototype.has=function(e){if(Nl)return this._set.has(e);var i=GF.toSetString(e);return OF.call(this._set,i)};HA.prototype.indexOf=function(e){if(Nl){var i=this._set.get(e);if(i>=0)return i}else{var n=GF.toSetString(e);if(OF.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};HA.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};HA.prototype.toArray=function(){return this._array.slice()};XY.ArraySet=HA});var i5=b(t5=>{f();var e5=Pg();function _Re(t,e){var i=t.generatedLine,n=e.generatedLine,r=t.generatedColumn,s=e.generatedColumn;return n>i||n==i&&s>=r||e5.compareByGeneratedPositionsInflated(t,e)<=0}function CQ(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}CQ.prototype.unsortedForEach=function(e,i){this._array.forEach(e,i)};CQ.prototype.add=function(e){_Re(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};CQ.prototype.toArray=function(){return this._sorted||(this._array.sort(e5.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};t5.MappingList=CQ});var HF=b(n5=>{f();var Ih=LF(),pn=Pg(),IQ=KF().ArraySet,LRe=i5().MappingList;function po(t){t||(t={}),this._file=pn.getArg(t,"file",null),this._sourceRoot=pn.getArg(t,"sourceRoot",null),this._skipValidation=pn.getArg(t,"skipValidation",!1),this._ignoreInvalidMapping=pn.getArg(t,"ignoreInvalidMapping",!1),this._sources=new IQ,this._names=new IQ,this._mappings=new LRe,this._sourcesContents=null}po.prototype._version=3;po.fromSourceMap=function(e,i){var n=e.sourceRoot,r=new po(Object.assign(i||{},{file:e.file,sourceRoot:n}));return e.eachMapping(function(s){var o={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(o.source=s.source,n!=null&&(o.source=pn.relative(n,o.source)),o.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(o.name=s.name)),r.addMapping(o)}),e.sources.forEach(function(s){var o=s;n!==null&&(o=pn.relative(n,s)),r._sources.has(o)||r._sources.add(o);var a=e.sourceContentFor(s);a!=null&&r.setSourceContent(s,a)}),r};po.prototype.addMapping=function(e){var i=pn.getArg(e,"generated"),n=pn.getArg(e,"original",null),r=pn.getArg(e,"source",null),s=pn.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(i,n,r,s)===!1||(r!=null&&(r=String(r),this._sources.has(r)||this._sources.add(r)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:i.line,generatedColumn:i.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:r,name:s}))};po.prototype.setSourceContent=function(e,i){var n=e;this._sourceRoot!=null&&(n=pn.relative(this._sourceRoot,n)),i!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[pn.toSetString(n)]=i):this._sourcesContents&&(delete this._sourcesContents[pn.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};po.prototype.applySourceMap=function(e,i,n){var r=i;if(i==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.`);r=e.file}var s=this._sourceRoot;s!=null&&(r=pn.relative(s,r));var o=new IQ,a=new IQ;this._mappings.unsortedForEach(function(A){if(A.source===r&&A.originalLine!=null){var c=e.originalPositionFor({line:A.originalLine,column:A.originalColumn});c.source!=null&&(A.source=c.source,n!=null&&(A.source=pn.join(n,A.source)),s!=null&&(A.source=pn.relative(s,A.source)),A.originalLine=c.line,A.originalColumn=c.column,c.name!=null&&(A.name=c.name))}var u=A.source;u!=null&&!o.has(u)&&o.add(u);var l=A.name;l!=null&&!a.has(l)&&a.add(l)},this),this._sources=o,this._names=a,e.sources.forEach(function(A){var c=e.sourceContentFor(A);c!=null&&(n!=null&&(A=pn.join(n,A)),s!=null&&(A=pn.relative(s,A)),this.setSourceContent(A,c))},this)};po.prototype._validateMapping=function(e,i,n,r){if(i&&typeof i.line!="number"&&typeof i.column!="number"){var s="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(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!i&&!n&&!r)){if(e&&"line"in e&&"column"in e&&i&&"line"in i&&"column"in i&&e.line>0&&e.column>=0&&i.line>0&&i.column>=0&&n)return;var s="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:i,name:r});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}};po.prototype._serializeMappings=function(){for(var e=0,i=1,n=0,r=0,s=0,o=0,a="",A,c,u,l,p=this._mappings.toArray(),g=0,d=p.length;g<d;g++){if(c=p[g],A="",c.generatedLine!==i)for(e=0;c.generatedLine!==i;)A+=";",i++;else if(g>0){if(!pn.compareByGeneratedPositionsInflated(c,p[g-1]))continue;A+=","}A+=Ih.encode(c.generatedColumn-e),e=c.generatedColumn,c.source!=null&&(l=this._sources.indexOf(c.source),A+=Ih.encode(l-o),o=l,A+=Ih.encode(c.originalLine-1-r),r=c.originalLine-1,A+=Ih.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(u=this._names.indexOf(c.name),A+=Ih.encode(u-s),s=u)),a+=A}return a};po.prototype._generateSourcesContent=function(e,i){return e.map(function(n){if(!this._sourcesContents)return null;i!=null&&(n=pn.relative(i,n));var r=pn.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)};po.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};po.prototype.toString=function(){return JSON.stringify(this.toJSON())};n5.SourceMapGenerator=po});var r5=b(Tl=>{f();Tl.GREATEST_LOWER_BOUND=1;Tl.LEAST_UPPER_BOUND=2;function JF(t,e,i,n,r,s){var o=Math.floor((e-t)/2)+t,a=r(i,n[o],!0);return a===0?o:a>0?e-o>1?JF(o,e,i,n,r,s):s==Tl.LEAST_UPPER_BOUND?e<n.length?e:-1:o:o-t>1?JF(t,o,i,n,r,s):s==Tl.LEAST_UPPER_BOUND?o:t<0?-1:t}Tl.search=function(e,i,n,r){if(i.length===0)return-1;var s=JF(-1,i.length,e,i,n,r||Tl.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(i[s],i[s-1],!0)===0;)--s;return s}});var a5=b(o5=>{f();function URe(t){function e(r,s,o){var a=r[s];r[s]=r[o],r[o]=a}function i(r,s){return Math.round(r+Math.random()*(s-r))}function n(r,s,o,a){if(o<a){var A=i(o,a),c=o-1;e(r,A,a);for(var u=r[a],l=o;l<a;l++)s(r[l],u,!1)<=0&&(c+=1,e(r,c,l));e(r,c+1,l);var p=c+1;n(r,s,o,p-1),n(r,s,p+1,a)}}return n}function GRe(t){let e=URe.toString();return new Function(`return ${e}`)()(t)}var s5=new WeakMap;o5.quickSort=function(t,e,i=0){let n=s5.get(e);n===void 0&&(n=GRe(e),s5.set(e,n)),n(t,e,i,t.length-1)}});var u5=b(EQ=>{f();var Ne=Pg(),YF=r5(),_g=KF().ArraySet,ORe=LF(),Eh=a5().quickSort;function vi(t,e){var i=t;return typeof t=="string"&&(i=Ne.parseSourceMapInput(t)),i.sections!=null?new na(i,e):new nr(i,e)}vi.fromSourceMap=function(t,e){return nr.fromSourceMap(t,e)};vi.prototype._version=3;vi.prototype.__generatedMappings=null;Object.defineProperty(vi.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});vi.prototype.__originalMappings=null;Object.defineProperty(vi.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});vi.prototype._charIsMappingSeparator=function(e,i){var n=e.charAt(i);return n===";"||n===","};vi.prototype._parseMappings=function(e,i){throw new Error("Subclasses must implement _parseMappings")};vi.GENERATED_ORDER=1;vi.ORIGINAL_ORDER=2;vi.GREATEST_LOWER_BOUND=1;vi.LEAST_UPPER_BOUND=2;vi.prototype.eachMapping=function(e,i,n){var r=i||null,s=n||vi.GENERATED_ORDER,o;switch(s){case vi.GENERATED_ORDER:o=this._generatedMappings;break;case vi.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,A=e.bind(r),c=this._names,u=this._sources,l=this._sourceMapURL,p=0,g=o.length;p<g;p++){var d=o[p],m=d.source===null?null:u.at(d.source);m!==null&&(m=Ne.computeSourceURL(a,m,l)),A({source:m,generatedLine:d.generatedLine,generatedColumn:d.generatedColumn,originalLine:d.originalLine,originalColumn:d.originalColumn,name:d.name===null?null:c.at(d.name)})}};vi.prototype.allGeneratedPositionsFor=function(e){var i=Ne.getArg(e,"line"),n={source:Ne.getArg(e,"source"),originalLine:i,originalColumn:Ne.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var r=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ne.compareByOriginalPositions,YF.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;)r.push({line:Ne.getArg(o,"generatedLine",null),column:Ne.getArg(o,"generatedColumn",null),lastColumn:Ne.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var A=o.originalColumn;o&&o.originalLine===i&&o.originalColumn==A;)r.push({line:Ne.getArg(o,"generatedLine",null),column:Ne.getArg(o,"generatedColumn",null),lastColumn:Ne.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return r};EQ.SourceMapConsumer=vi;function nr(t,e){var i=t;typeof t=="string"&&(i=Ne.parseSourceMapInput(t));var n=Ne.getArg(i,"version"),r=Ne.getArg(i,"sources"),s=Ne.getArg(i,"names",[]),o=Ne.getArg(i,"sourceRoot",null),a=Ne.getArg(i,"sourcesContent",null),A=Ne.getArg(i,"mappings"),c=Ne.getArg(i,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=Ne.normalize(o)),r=r.map(String).map(Ne.normalize).map(function(u){return o&&Ne.isAbsolute(o)&&Ne.isAbsolute(u)?Ne.relative(o,u):u}),this._names=_g.fromArray(s.map(String),!0),this._sources=_g.fromArray(r,!0),this._absoluteSources=this._sources.toArray().map(function(u){return Ne.computeSourceURL(o,u,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=A,this._sourceMapURL=e,this.file=c}nr.prototype=Object.create(vi.prototype);nr.prototype.consumer=vi;nr.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Ne.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var i;for(i=0;i<this._absoluteSources.length;++i)if(this._absoluteSources[i]==t)return i;return-1};nr.fromSourceMap=function(e,i){var n=Object.create(nr.prototype),r=n._names=_g.fromArray(e._names.toArray(),!0),s=n._sources=_g.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=i,n._absoluteSources=n._sources.toArray().map(function(g){return Ne.computeSourceURL(n.sourceRoot,g,i)});for(var o=e._mappings.toArray().slice(),a=n.__generatedMappings=[],A=n.__originalMappings=[],c=0,u=o.length;c<u;c++){var l=o[c],p=new c5;p.generatedLine=l.generatedLine,p.generatedColumn=l.generatedColumn,l.source&&(p.source=s.indexOf(l.source),p.originalLine=l.originalLine,p.originalColumn=l.originalColumn,l.name&&(p.name=r.indexOf(l.name)),A.push(p)),a.push(p)}return Eh(n.__originalMappings,Ne.compareByOriginalPositions),n};nr.prototype._version=3;Object.defineProperty(nr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function c5(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var jF=Ne.compareByGeneratedPositionsDeflatedNoLine;function A5(t,e){let i=t.length,n=t.length-e;if(!(n<=1))if(n==2){let r=t[e],s=t[e+1];jF(r,s)>0&&(t[e]=s,t[e+1]=r)}else if(n<20)for(let r=e;r<i;r++)for(let s=r;s>e;s--){let o=t[s-1],a=t[s];if(jF(o,a)<=0)break;t[s-1]=a,t[s]=o}else Eh(t,jF,e)}nr.prototype._parseMappings=function(e,i){var n=1,r=0,s=0,o=0,a=0,A=0,c=e.length,u=0,l={},p={},g=[],d=[],m,h,C,I,B;let E=0;for(;u<c;)if(e.charAt(u)===";")n++,u++,r=0,A5(d,E),E=d.length;else if(e.charAt(u)===",")u++;else{for(m=new c5,m.generatedLine=n,I=u;I<c&&!this._charIsMappingSeparator(e,I);I++);for(h=e.slice(u,I),C=[];u<I;)ORe.decode(e,u,p),B=p.value,u=p.rest,C.push(B);if(C.length===2)throw new Error("Found a source, but no line and column");if(C.length===3)throw new Error("Found a source and line, but no column");if(m.generatedColumn=r+C[0],r=m.generatedColumn,C.length>1&&(m.source=a+C[1],a+=C[1],m.originalLine=s+C[2],s=m.originalLine,m.originalLine+=1,m.originalColumn=o+C[3],o=m.originalColumn,C.length>4&&(m.name=A+C[4],A+=C[4])),d.push(m),typeof m.originalLine=="number"){let y=m.source;for(;g.length<=y;)g.push(null);g[y]===null&&(g[y]=[]),g[y].push(m)}}A5(d,E),this.__generatedMappings=d;for(var Q=0;Q<g.length;Q++)g[Q]!=null&&Eh(g[Q],Ne.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...g)};nr.prototype._findMapping=function(e,i,n,r,s,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return YF.search(e,i,s,o)};nr.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var i=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(i.generatedLine===n.generatedLine){i.lastGeneratedColumn=n.generatedColumn-1;continue}}i.lastGeneratedColumn=1/0}};nr.prototype.originalPositionFor=function(e){var i={generatedLine:Ne.getArg(e,"line"),generatedColumn:Ne.getArg(e,"column")},n=this._findMapping(i,this._generatedMappings,"generatedLine","generatedColumn",Ne.compareByGeneratedPositionsDeflated,Ne.getArg(e,"bias",vi.GREATEST_LOWER_BOUND));if(n>=0){var r=this._generatedMappings[n];if(r.generatedLine===i.generatedLine){var s=Ne.getArg(r,"source",null);s!==null&&(s=this._sources.at(s),s=Ne.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=Ne.getArg(r,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:Ne.getArg(r,"originalLine",null),column:Ne.getArg(r,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};nr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};nr.prototype.sourceContentFor=function(e,i){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var r=e;this.sourceRoot!=null&&(r=Ne.relative(this.sourceRoot,r));var s;if(this.sourceRoot!=null&&(s=Ne.urlParse(this.sourceRoot))){var o=r.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("/"+r))return this.sourcesContent[this._sources.indexOf("/"+r)]}if(i)return null;throw new Error('"'+r+'" is not in the SourceMap.')};nr.prototype.generatedPositionFor=function(e){var i=Ne.getArg(e,"source");if(i=this._findSourceIndex(i),i<0)return{line:null,column:null,lastColumn:null};var n={source:i,originalLine:Ne.getArg(e,"line"),originalColumn:Ne.getArg(e,"column")},r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ne.compareByOriginalPositions,Ne.getArg(e,"bias",vi.GREATEST_LOWER_BOUND));if(r>=0){var s=this._originalMappings[r];if(s.source===n.source)return{line:Ne.getArg(s,"generatedLine",null),column:Ne.getArg(s,"generatedColumn",null),lastColumn:Ne.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};EQ.BasicSourceMapConsumer=nr;function na(t,e){var i=t;typeof t=="string"&&(i=Ne.parseSourceMapInput(t));var n=Ne.getArg(i,"version"),r=Ne.getArg(i,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new _g,this._names=new _g;var s={line:-1,column:0};this._sections=r.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=Ne.getArg(o,"offset"),A=Ne.getArg(a,"line"),c=Ne.getArg(a,"column");if(A<s.line||A===s.line&&c<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:A+1,generatedColumn:c+1},consumer:new vi(Ne.getArg(o,"map"),e)}})}na.prototype=Object.create(vi.prototype);na.prototype.constructor=vi;na.prototype._version=3;Object.defineProperty(na.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var i=0;i<this._sections[e].consumer.sources.length;i++)t.push(this._sections[e].consumer.sources[i]);return t}});na.prototype.originalPositionFor=function(e){var i={generatedLine:Ne.getArg(e,"line"),generatedColumn:Ne.getArg(e,"column")},n=YF.search(i,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:i.generatedLine-(r.generatedOffset.generatedLine-1),column:i.generatedColumn-(r.generatedOffset.generatedLine===i.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};na.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};na.prototype.sourceContentFor=function(e,i){for(var n=0;n<this._sections.length;n++){var r=this._sections[n],s=r.consumer.sourceContentFor(e,!0);if(s||s==="")return s}if(i)return null;throw new Error('"'+e+'" is not in the SourceMap.')};na.prototype.generatedPositionFor=function(e){for(var i=0;i<this._sections.length;i++){var n=this._sections[i];if(n.consumer._findSourceIndex(Ne.getArg(e,"source"))!==-1){var r=n.consumer.generatedPositionFor(e);if(r){var s={line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};na.prototype._parseMappings=function(e,i){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],s=r.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],A=r.consumer._sources.at(a.source);A!==null&&(A=Ne.computeSourceURL(r.consumer.sourceRoot,A,this._sourceMapURL)),this._sources.add(A),A=this._sources.indexOf(A);var c=null;a.name&&(c=r.consumer._names.at(a.name),this._names.add(c),c=this._names.indexOf(c));var u={source:A,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}Eh(this.__generatedMappings,Ne.compareByGeneratedPositionsDeflated),Eh(this.__originalMappings,Ne.compareByOriginalPositions)};EQ.IndexedSourceMapConsumer=na});var p5=b(l5=>{f();var KRe=HF().SourceMapGenerator,BQ=Pg(),HRe=/(\r?\n)/,JRe=10,Lg="$$$isSourceNode$$$";function Us(t,e,i,n,r){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=i??null,this.name=r??null,this[Lg]=!0,n!=null&&this.add(n)}Us.fromStringWithSourceMap=function(e,i,n){var r=new Us,s=e.split(HRe),o=0,a=function(){var p=d(),g=d()||"";return p+g;function d(){return o<s.length?s[o++]:void 0}},A=1,c=0,u=null;return i.eachMapping(function(p){if(u!==null)if(A<p.generatedLine)l(u,a()),A++,c=0;else{var g=s[o]||"",d=g.substr(0,p.generatedColumn-c);s[o]=g.substr(p.generatedColumn-c),c=p.generatedColumn,l(u,d),u=p;return}for(;A<p.generatedLine;)r.add(a()),A++;if(c<p.generatedColumn){var g=s[o]||"";r.add(g.substr(0,p.generatedColumn)),s[o]=g.substr(p.generatedColumn),c=p.generatedColumn}u=p},this),o<s.length&&(u&&l(u,a()),r.add(s.splice(o).join(""))),i.sources.forEach(function(p){var g=i.sourceContentFor(p);g!=null&&(n!=null&&(p=BQ.join(n,p)),r.setSourceContent(p,g))}),r;function l(p,g){if(p===null||p.source===void 0)r.add(g);else{var d=n?BQ.join(n,p.source):p.source;r.add(new Us(p.originalLine,p.originalColumn,d,g,p.name))}}};Us.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(i){this.add(i)},this);else if(e[Lg]||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};Us.prototype.prepend=function(e){if(Array.isArray(e))for(var i=e.length-1;i>=0;i--)this.prepend(e[i]);else if(e[Lg]||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};Us.prototype.walk=function(e){for(var i,n=0,r=this.children.length;n<r;n++)i=this.children[n],i[Lg]?i.walk(e):i!==""&&e(i,{source:this.source,line:this.line,column:this.column,name:this.name})};Us.prototype.join=function(e){var i,n,r=this.children.length;if(r>0){for(i=[],n=0;n<r-1;n++)i.push(this.children[n]),i.push(e);i.push(this.children[n]),this.children=i}return this};Us.prototype.replaceRight=function(e,i){var n=this.children[this.children.length-1];return n[Lg]?n.replaceRight(e,i):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,i):this.children.push("".replace(e,i)),this};Us.prototype.setSourceContent=function(e,i){this.sourceContents[BQ.toSetString(e)]=i};Us.prototype.walkSourceContents=function(e){for(var i=0,n=this.children.length;i<n;i++)this.children[i][Lg]&&this.children[i].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),i=0,n=r.length;i<n;i++)e(BQ.fromSetString(r[i]),this.sourceContents[r[i]])};Us.prototype.toString=function(){var e="";return this.walk(function(i){e+=i}),e};Us.prototype.toStringWithSourceMap=function(e){var i={code:"",line:1,column:0},n=new KRe(e),r=!1,s=null,o=null,a=null,A=null;return this.walk(function(c,u){i.code+=c,u.source!==null&&u.line!==null&&u.column!==null?((s!==u.source||o!==u.line||a!==u.column||A!==u.name)&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:i.line,column:i.column},name:u.name}),s=u.source,o=u.line,a=u.column,A=u.name,r=!0):r&&(n.addMapping({generated:{line:i.line,column:i.column}}),s=null,r=!1);for(var l=0,p=c.length;l<p;l++)c.charCodeAt(l)===JRe?(i.line++,i.column=0,l+1===p?(s=null,r=!1):r&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:i.line,column:i.column},name:u.name})):i.column++}),this.walkSourceContents(function(c,u){n.setSourceContent(c,u)}),{code:i.code,map:n}};l5.SourceNode=Us});var g5=b(QQ=>{f();QQ.SourceMapGenerator=HF().SourceMapGenerator;QQ.SourceMapConsumer=u5().SourceMapConsumer;QQ.SourceNode=p5().SourceNode});var J5=b(Fh=>{"use strict";f();Object.defineProperty(Fh,"__esModule",{value:!0});function jRe(t,e){if(t==null)return{};var i={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;i[n]=t[n]}return i}var Za=class{constructor(e,i,n){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=i,this.index=n}},Hg=class{constructor(e,i){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=i}};function Vr(t,e){let{line:i,column:n,index:r}=t;return new Za(i,n+e,r+e)}var d5="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",YRe={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:d5},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:d5}},m5={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},xQ=t=>t.type==="UpdateExpression"?m5.UpdateExpression[`${t.prefix}`]:m5[t.type],$Re={AccessorIsGenerator:({kind:t})=>`A ${t}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:t})=>`Missing initializer in ${t} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:t})=>`\`${t}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:t})=>`'import.${t}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.
1110
1110
  - Did you mean \`export { '${t}' as '${e}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:t})=>`'${t==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:t})=>`Unsyntactic ${t==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:t})=>`A string literal cannot be used as an imported binding.
1111
1111
  - Did you mean \`import { "${t}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:t})=>`\`import()\` requires exactly ${t===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:t})=>`Expected number in radix ${t}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:t})=>`Escape sequence in keyword ${t}.`,InvalidIdentifier:({identifierName:t})=>`Invalid identifier ${t}.`,InvalidLhs:({ancestor:t})=>`Invalid left-hand side in ${xQ(t)}.`,InvalidLhsBinding:({ancestor:t})=>`Binding invalid left-hand side in ${xQ(t)}.`,InvalidLhsOptionalChaining:({ancestor:t})=>`Invalid optional chaining in the left-hand side of ${xQ(t)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:t})=>`Unexpected character '${t}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:t})=>`Private name #${t} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:t})=>`Label '${t}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:t})=>`This experimental syntax requires enabling the parser plugin: ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:t})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:t})=>`Duplicate key "${t}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:t})=>`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`,ModuleExportUndefined:({localName:t})=>`Export '${t}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:t})=>`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`,PrivateNameRedeclaration:({identifierName:t})=>`Duplicate private name #${t}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:t})=>`Unexpected keyword '${t}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:t})=>`Unexpected reserved word '${t}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:t,unexpected:e})=>`Unexpected token${e?` '${e}'.`:""}${t?`, expected "${t}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:t,onlyValidPropertyName:e})=>`The only valid meta property for ${t} is ${t}.${e}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:t})=>`Identifier '${t}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},qRe={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:t})=>`Assigning to '${t}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:t})=>`Binding '${t}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},zRe=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),VRe={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:t})=>`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:t})=>`Hack-style pipe body cannot be an unparenthesized ${xQ({type:t})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},WRe=["message"];function f5(t,e,i){Object.defineProperty(t,e,{enumerable:!1,configurable:!0,value:i})}function ZRe({toMessage:t,code:e,reasonCode:i,syntaxPlugin:n}){let r=i==="MissingPlugin"||i==="MissingOneOfPlugins";{let s={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};s[i]&&(i=s[i])}return function s(o,a){let A=new SyntaxError;return A.code=e,A.reasonCode=i,A.loc=o,A.pos=o.index,A.syntaxPlugin=n,r&&(A.missingPlugin=a.missingPlugin),f5(A,"clone",function(u={}){var l;let{line:p,column:g,index:d}=(l=u.loc)!=null?l:o;return s(new Za(p,g,d),Object.assign({},a,u.details))}),f5(A,"details",a),Object.defineProperty(A,"message",{configurable:!0,get(){let c=`${t(a)} (${o.line}:${o.column})`;return this.message=c,c},set(c){Object.defineProperty(this,"message",{value:c,writable:!0})}}),A}}function $A(t,e){if(Array.isArray(t))return n=>$A(n,t[0]);let i={};for(let n of Object.keys(t)){let r=t[n],s=typeof r=="string"?{message:()=>r}:typeof r=="function"?{message:r}:r,{message:o}=s,a=jRe(s,WRe),A=typeof o=="string"?()=>o:o;i[n]=ZRe(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:A},e?{syntaxPlugin:e}:{},a))}return i}var $=Object.assign({},$A(YRe),$A($Re),$A(qRe),$A`pipelineOperator`(VRe)),{defineProperty:XRe}=Object,h5=(t,e)=>{t&&XRe(t,e,{enumerable:!1,value:t[e]})};function Bh(t){return h5(t.loc.start,"index"),h5(t.loc.end,"index"),t}var e1e=t=>class extends t{parse(){let i=Bh(super.parse());return this.options.tokens&&(i.tokens=i.tokens.map(Bh)),i}parseRegExpLiteral({pattern:i,flags:n}){let r=null;try{r=new RegExp(i,n)}catch{}let s=this.estreeParseLiteral(r);return s.regex={pattern:i,flags:n},s}parseBigIntLiteral(i){let n;try{n=BigInt(i)}catch{n=null}let r=this.estreeParseLiteral(n);return r.bigint=String(r.value||i),r}parseDecimalLiteral(i){let r=this.estreeParseLiteral(null);return r.decimal=String(r.value||i),r}estreeParseLiteral(i){return this.parseLiteral(i,"Literal")}parseStringLiteral(i){return this.estreeParseLiteral(i)}parseNumericLiteral(i){return this.estreeParseLiteral(i)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(i){return this.estreeParseLiteral(i)}directiveToStmt(i){let n=i.value;delete i.value,n.type="Literal",n.raw=n.extra.raw,n.value=n.extra.expressionValue;let r=i;return r.type="ExpressionStatement",r.expression=n,r.directive=n.extra.rawValue,delete n.extra,r}initFunction(i,n){super.initFunction(i,n),i.expression=!1}checkDeclaration(i){i!=null&&this.isObjectProperty(i)?this.checkDeclaration(i.value):super.checkDeclaration(i)}getObjectOrClassMethodParams(i){return i.value.params}isValidDirective(i){var n;return i.type==="ExpressionStatement"&&i.expression.type==="Literal"&&typeof i.expression.value=="string"&&!((n=i.expression.extra)!=null&&n.parenthesized)}parseBlockBody(i,n,r,s,o){super.parseBlockBody(i,n,r,s,o);let a=i.directives.map(A=>this.directiveToStmt(A));i.body=a.concat(i.body),delete i.directives}pushClassMethod(i,n,r,s,o,a){this.parseMethod(n,r,s,o,a,"ClassMethod",!0),n.typeParameters&&(n.value.typeParameters=n.typeParameters,delete n.typeParameters),i.body.push(n)}parsePrivateName(){let i=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(i):i}convertPrivateNameToPrivateIdentifier(i){let n=super.getPrivateNameSV(i);return i=i,delete i.id,i.name=n,i.type="PrivateIdentifier",i}isPrivateName(i){return this.getPluginOption("estree","classFeatures")?i.type==="PrivateIdentifier":super.isPrivateName(i)}getPrivateNameSV(i){return this.getPluginOption("estree","classFeatures")?i.name:super.getPrivateNameSV(i)}parseLiteral(i,n){let r=super.parseLiteral(i,n);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(i,n,r=!1){super.parseFunctionBody(i,n,r),i.expression=i.body.type!=="BlockStatement"}parseMethod(i,n,r,s,o,a,A=!1){let c=this.startNode();return c.kind=i.kind,c=super.parseMethod(c,n,r,s,o,a,A),c.type="FunctionExpression",delete c.kind,i.value=c,a==="ClassPrivateMethod"&&(i.computed=!1),this.finishNode(i,"MethodDefinition")}nameIsConstructor(i){return i.type==="Literal"?i.value==="constructor":super.nameIsConstructor(i)}parseClassProperty(...i){let n=super.parseClassProperty(...i);return this.getPluginOption("estree","classFeatures")&&(n.type="PropertyDefinition"),n}parseClassPrivateProperty(...i){let n=super.parseClassPrivateProperty(...i);return this.getPluginOption("estree","classFeatures")&&(n.type="PropertyDefinition",n.computed=!1),n}parseObjectMethod(i,n,r,s,o){let a=super.parseObjectMethod(i,n,r,s,o);return a&&(a.type="Property",a.kind==="method"&&(a.kind="init"),a.shorthand=!1),a}parseObjectProperty(i,n,r,s){let o=super.parseObjectProperty(i,n,r,s);return o&&(o.kind="init",o.type="Property"),o}isValidLVal(i,n,r){return i==="Property"?"value":super.isValidLVal(i,n,r)}isAssignable(i,n){return i!=null&&this.isObjectProperty(i)?this.isAssignable(i.value,n):super.isAssignable(i,n)}toAssignable(i,n=!1){if(i!=null&&this.isObjectProperty(i)){let{key:r,value:s}=i;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(s,n)}else super.toAssignable(i,n)}toAssignableObjectExpressionProp(i,n,r){i.type==="Property"&&(i.kind==="get"||i.kind==="set")?this.raise($.PatternHasAccessor,i.key):i.type==="Property"&&i.method?this.raise($.PatternHasMethod,i.key):super.toAssignableObjectExpressionProp(i,n,r)}finishCallExpression(i,n){let r=super.finishCallExpression(i,n);if(r.callee.type==="Import"){if(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var s,o;r.options=(s=r.arguments[1])!=null?s:null,r.attributes=(o=r.arguments[1])!=null?o:null}delete r.arguments,delete r.callee}return r}toReferencedArguments(i){i.type!=="ImportExpression"&&super.toReferencedArguments(i)}parseExport(i,n){let r=this.state.lastTokStartLoc,s=super.parseExport(i,n);switch(s.type){case"ExportAllDeclaration":s.exported=null;break;case"ExportNamedDeclaration":s.specifiers.length===1&&s.specifiers[0].type==="ExportNamespaceSpecifier"&&(s.type="ExportAllDeclaration",s.exported=s.specifiers[0].exported,delete s.specifiers);case"ExportDefaultDeclaration":{var o;let{declaration:a}=s;a?.type==="ClassDeclaration"&&((o=a.decorators)==null?void 0:o.length)>0&&a.start===s.start&&this.resetStartLocation(s,r)}break}return s}parseSubscript(i,n,r,s){let o=super.parseSubscript(i,n,r,s);if(s.optionalChainMember){if((o.type==="OptionalMemberExpression"||o.type==="OptionalCallExpression")&&(o.type=o.type.substring(8)),s.stop){let a=this.startNodeAtNode(o);return a.expression=o,this.finishNode(a,"ChainExpression")}}else(o.type==="MemberExpression"||o.type==="CallExpression")&&(o.optional=!1);return o}isOptionalMemberExpression(i){return i.type==="ChainExpression"?i.expression.type==="MemberExpression":super.isOptionalMemberExpression(i)}hasPropertyAsPrivateName(i){return i.type==="ChainExpression"&&(i=i.expression),super.hasPropertyAsPrivateName(i)}isObjectProperty(i){return i.type==="Property"&&i.kind==="init"&&!i.method}isObjectMethod(i){return i.type==="Property"&&(i.method||i.kind==="get"||i.kind==="set")}finishNodeAt(i,n,r){return Bh(super.finishNodeAt(i,n,r))}resetStartLocation(i,n){super.resetStartLocation(i,n),Bh(i)}resetEndLocation(i,n=this.state.lastTokEndLoc){super.resetEndLocation(i,n),Bh(i)}},Pl=class{constructor(e,i){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!i}},ri={brace:new Pl("{"),j_oTag:new Pl("<tag"),j_cTag:new Pl("</tag"),j_expr:new Pl("<tag>...</tag>",!0)};ri.template=new Pl("`",!0);var Bt=!0,we=!0,$F=!0,Qh=!0,Zc=!0,t1e=!0,bQ=class{constructor(e,i={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.rightAssociative=!!i.rightAssociative,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop!=null?i.binop:null,this.updateContext=null}},Ik=new Map;function Pt(t,e={}){e.keyword=t;let i=Je(t,e);return Ik.set(t,i),i}function zr(t,e){return Je(t,{beforeExpr:Bt,binop:e})}var vh=-1,jA=[],Ek=[],Bk=[],Qk=[],yk=[],Dk=[];function Je(t,e={}){var i,n,r,s;return++vh,Ek.push(t),Bk.push((i=e.binop)!=null?i:-1),Qk.push((n=e.beforeExpr)!=null?n:!1),yk.push((r=e.startsExpr)!=null?r:!1),Dk.push((s=e.prefix)!=null?s:!1),jA.push(new bQ(t,e)),vh}function Et(t,e={}){var i,n,r,s;return++vh,Ik.set(t,vh),Ek.push(t),Bk.push((i=e.binop)!=null?i:-1),Qk.push((n=e.beforeExpr)!=null?n:!1),yk.push((r=e.startsExpr)!=null?r:!1),Dk.push((s=e.prefix)!=null?s:!1),jA.push(new bQ("name",e)),vh}var i1e={bracketL:Je("[",{beforeExpr:Bt,startsExpr:we}),bracketHashL:Je("#[",{beforeExpr:Bt,startsExpr:we}),bracketBarL:Je("[|",{beforeExpr:Bt,startsExpr:we}),bracketR:Je("]"),bracketBarR:Je("|]"),braceL:Je("{",{beforeExpr:Bt,startsExpr:we}),braceBarL:Je("{|",{beforeExpr:Bt,startsExpr:we}),braceHashL:Je("#{",{beforeExpr:Bt,startsExpr:we}),braceR:Je("}"),braceBarR:Je("|}"),parenL:Je("(",{beforeExpr:Bt,startsExpr:we}),parenR:Je(")"),comma:Je(",",{beforeExpr:Bt}),semi:Je(";",{beforeExpr:Bt}),colon:Je(":",{beforeExpr:Bt}),doubleColon:Je("::",{beforeExpr:Bt}),dot:Je("."),question:Je("?",{beforeExpr:Bt}),questionDot:Je("?."),arrow:Je("=>",{beforeExpr:Bt}),template:Je("template"),ellipsis:Je("...",{beforeExpr:Bt}),backQuote:Je("`",{startsExpr:we}),dollarBraceL:Je("${",{beforeExpr:Bt,startsExpr:we}),templateTail:Je("...`",{startsExpr:we}),templateNonTail:Je("...${",{beforeExpr:Bt,startsExpr:we}),at:Je("@"),hash:Je("#",{startsExpr:we}),interpreterDirective:Je("#!..."),eq:Je("=",{beforeExpr:Bt,isAssign:Qh}),assign:Je("_=",{beforeExpr:Bt,isAssign:Qh}),slashAssign:Je("_=",{beforeExpr:Bt,isAssign:Qh}),xorAssign:Je("_=",{beforeExpr:Bt,isAssign:Qh}),moduloAssign:Je("_=",{beforeExpr:Bt,isAssign:Qh}),incDec:Je("++/--",{prefix:Zc,postfix:t1e,startsExpr:we}),bang:Je("!",{beforeExpr:Bt,prefix:Zc,startsExpr:we}),tilde:Je("~",{beforeExpr:Bt,prefix:Zc,startsExpr:we}),doubleCaret:Je("^^",{startsExpr:we}),doubleAt:Je("@@",{startsExpr:we}),pipeline:zr("|>",0),nullishCoalescing:zr("??",1),logicalOR:zr("||",1),logicalAND:zr("&&",2),bitwiseOR:zr("|",3),bitwiseXOR:zr("^",4),bitwiseAND:zr("&",5),equality:zr("==/!=/===/!==",6),lt:zr("</>/<=/>=",7),gt:zr("</>/<=/>=",7),relational:zr("</>/<=/>=",7),bitShift:zr("<</>>/>>>",8),bitShiftL:zr("<</>>/>>>",8),bitShiftR:zr("<</>>/>>>",8),plusMin:Je("+/-",{beforeExpr:Bt,binop:9,prefix:Zc,startsExpr:we}),modulo:Je("%",{binop:10,startsExpr:we}),star:Je("*",{binop:10}),slash:zr("/",10),exponent:Je("**",{beforeExpr:Bt,binop:11,rightAssociative:!0}),_in:Pt("in",{beforeExpr:Bt,binop:7}),_instanceof:Pt("instanceof",{beforeExpr:Bt,binop:7}),_break:Pt("break"),_case:Pt("case",{beforeExpr:Bt}),_catch:Pt("catch"),_continue:Pt("continue"),_debugger:Pt("debugger"),_default:Pt("default",{beforeExpr:Bt}),_else:Pt("else",{beforeExpr:Bt}),_finally:Pt("finally"),_function:Pt("function",{startsExpr:we}),_if:Pt("if"),_return:Pt("return",{beforeExpr:Bt}),_switch:Pt("switch"),_throw:Pt("throw",{beforeExpr:Bt,prefix:Zc,startsExpr:we}),_try:Pt("try"),_var:Pt("var"),_const:Pt("const"),_with:Pt("with"),_new:Pt("new",{beforeExpr:Bt,startsExpr:we}),_this:Pt("this",{startsExpr:we}),_super:Pt("super",{startsExpr:we}),_class:Pt("class",{startsExpr:we}),_extends:Pt("extends",{beforeExpr:Bt}),_export:Pt("export"),_import:Pt("import",{startsExpr:we}),_null:Pt("null",{startsExpr:we}),_true:Pt("true",{startsExpr:we}),_false:Pt("false",{startsExpr:we}),_typeof:Pt("typeof",{beforeExpr:Bt,prefix:Zc,startsExpr:we}),_void:Pt("void",{beforeExpr:Bt,prefix:Zc,startsExpr:we}),_delete:Pt("delete",{beforeExpr:Bt,prefix:Zc,startsExpr:we}),_do:Pt("do",{isLoop:$F,beforeExpr:Bt}),_for:Pt("for",{isLoop:$F}),_while:Pt("while",{isLoop:$F}),_as:Et("as",{startsExpr:we}),_assert:Et("assert",{startsExpr:we}),_async:Et("async",{startsExpr:we}),_await:Et("await",{startsExpr:we}),_defer:Et("defer",{startsExpr:we}),_from:Et("from",{startsExpr:we}),_get:Et("get",{startsExpr:we}),_let:Et("let",{startsExpr:we}),_meta:Et("meta",{startsExpr:we}),_of:Et("of",{startsExpr:we}),_sent:Et("sent",{startsExpr:we}),_set:Et("set",{startsExpr:we}),_source:Et("source",{startsExpr:we}),_static:Et("static",{startsExpr:we}),_using:Et("using",{startsExpr:we}),_yield:Et("yield",{startsExpr:we}),_asserts:Et("asserts",{startsExpr:we}),_checks:Et("checks",{startsExpr:we}),_exports:Et("exports",{startsExpr:we}),_global:Et("global",{startsExpr:we}),_implements:Et("implements",{startsExpr:we}),_intrinsic:Et("intrinsic",{startsExpr:we}),_infer:Et("infer",{startsExpr:we}),_is:Et("is",{startsExpr:we}),_mixins:Et("mixins",{startsExpr:we}),_proto:Et("proto",{startsExpr:we}),_require:Et("require",{startsExpr:we}),_satisfies:Et("satisfies",{startsExpr:we}),_keyof:Et("keyof",{startsExpr:we}),_readonly:Et("readonly",{startsExpr:we}),_unique:Et("unique",{startsExpr:we}),_abstract:Et("abstract",{startsExpr:we}),_declare:Et("declare",{startsExpr:we}),_enum:Et("enum",{startsExpr:we}),_module:Et("module",{startsExpr:we}),_namespace:Et("namespace",{startsExpr:we}),_interface:Et("interface",{startsExpr:we}),_type:Et("type",{startsExpr:we}),_opaque:Et("opaque",{startsExpr:we}),name:Je("name",{startsExpr:we}),string:Je("string",{startsExpr:we}),num:Je("num",{startsExpr:we}),bigint:Je("bigint",{startsExpr:we}),decimal:Je("decimal",{startsExpr:we}),regexp:Je("regexp",{startsExpr:we}),privateName:Je("#name",{startsExpr:we}),eof:Je("eof"),jsxName:Je("jsxName"),jsxText:Je("jsxText",{beforeExpr:!0}),jsxTagStart:Je("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Je("jsxTagEnd"),placeholder:Je("%%",{startsExpr:!0})};function qt(t){return t>=93&&t<=132}function n1e(t){return t<=92}function ra(t){return t>=58&&t<=132}function S5(t){return t>=58&&t<=136}function r1e(t){return Qk[t]}function XF(t){return yk[t]}function s1e(t){return t>=29&&t<=33}function C5(t){return t>=129&&t<=131}function o1e(t){return t>=90&&t<=92}function xk(t){return t>=58&&t<=92}function a1e(t){return t>=39&&t<=59}function A1e(t){return t===34}function c1e(t){return Dk[t]}function u1e(t){return t>=121&&t<=123}function l1e(t){return t>=124&&t<=130}function eu(t){return Ek[t]}function vQ(t){return Bk[t]}function p1e(t){return t===57}function SQ(t){return t>=24&&t<=25}function JA(t){return jA[t]}jA[8].updateContext=t=>{t.pop()},jA[5].updateContext=jA[7].updateContext=jA[23].updateContext=t=>{t.push(ri.brace)},jA[22].updateContext=t=>{t[t.length-1]===ri.template?t.pop():t.push(ri.template)},jA[142].updateContext=t=>{t.push(ri.j_expr,ri.j_oTag)};var vk="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\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",F5="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\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\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",g1e=new RegExp("["+vk+"]"),d1e=new RegExp("["+vk+F5+"]");vk=F5=null;var k5=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],m1e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function ek(t,e){let i=65536;for(let n=0,r=e.length;n<r;n+=2){if(i+=e[n],i>t)return!1;if(i+=e[n+1],i>=t)return!0}return!1}function YA(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&g1e.test(String.fromCharCode(t)):ek(t,k5)}function Gg(t){return t<48?t===36:t<58?!0:t<65?!1:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&d1e.test(String.fromCharCode(t)):ek(t,k5)||ek(t,m1e)}var wk={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},f1e=new Set(wk.keyword),h1e=new Set(wk.strict),C1e=new Set(wk.strictBind);function R5(t,e){return e&&t==="await"||t==="enum"}function N5(t,e){return R5(t,e)||h1e.has(t)}function T5(t){return C1e.has(t)}function M5(t,e){return N5(t,e)||T5(t)}function I1e(t){return f1e.has(t)}function E1e(t,e,i){return t===64&&e===64&&YA(i)}var B1e=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Q1e(t){return B1e.has(t)}var wh=class{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}},bh=class{constructor(e,i){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=i}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&64)>0&&(e&2)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:i}=this.scopeStack[e];if(i&128)return!0;if(i&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new wh(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&130||!this.parser.inModule&&e.flags&1)}declareName(e,i,n){let r=this.currentScope();if(i&8||i&16){this.checkRedeclarationInScope(r,e,i,n);let s=r.names.get(e)||0;i&16?s=s|4:(r.firstLexicalName||(r.firstLexicalName=e),s=s|2),r.names.set(e,s),i&8&&this.maybeExportDefined(r,e)}else if(i&4)for(let s=this.scopeStack.length-1;s>=0&&(r=this.scopeStack[s],this.checkRedeclarationInScope(r,e,i,n),r.names.set(e,(r.names.get(e)||0)|1),this.maybeExportDefined(r,e),!(r.flags&387));--s);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(e)}maybeExportDefined(e,i){this.parser.inModule&&e.flags&1&&this.undefinedExports.delete(i)}checkRedeclarationInScope(e,i,n,r){this.isRedeclaredInScope(e,i,n)&&this.parser.raise($.VarRedeclaration,r,{identifierName:i})}isRedeclaredInScope(e,i,n){if(!(n&1))return!1;if(n&8)return e.names.has(i);let r=e.names.get(i);return n&16?(r&2)>0||!this.treatFunctionsAsVarInScope(e)&&(r&1)>0:(r&2)>0&&!(e.flags&8&&e.firstLexicalName===i)||!this.treatFunctionsAsVarInScope(e)&&(r&4)>0}checkLocalExport(e){let{name:i}=e;this.scopeStack[0].names.has(i)||this.undefinedExports.set(i,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:i}=this.scopeStack[e];if(i&387)return i}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:i}=this.scopeStack[e];if(i&451&&!(i&4))return i}}},tk=class extends wh{constructor(...e){super(...e),this.declareFunctions=new Set}},ik=class extends bh{createScope(e){return new tk(e)}declareName(e,i,n){let r=this.currentScope();if(i&2048){this.checkRedeclarationInScope(r,e,i,n),this.maybeExportDefined(r,e),r.declareFunctions.add(e);return}super.declareName(e,i,n)}isRedeclaredInScope(e,i,n){if(super.isRedeclaredInScope(e,i,n))return!0;if(n&2048&&!e.declareFunctions.has(i)){let r=e.names.get(i);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},nk=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if(typeof e=="string")return this.plugins.has(e);{let[i,n]=e;if(!this.hasPlugin(i))return!1;let r=this.plugins.get(i);for(let s of Object.keys(n))if(r?.[s]!==n[s])return!1;return!0}}getPluginOption(e,i){var n;return(n=this.plugins.get(e))==null?void 0:n[i]}};function P5(t,e){t.trailingComments===void 0?t.trailingComments=e:t.trailingComments.unshift(...e)}function y1e(t,e){t.leadingComments===void 0?t.leadingComments=e:t.leadingComments.unshift(...e)}function Sh(t,e){t.innerComments===void 0?t.innerComments=e:t.innerComments.unshift(...e)}function yh(t,e,i){let n=null,r=e.length;for(;n===null&&r>0;)n=e[--r];n===null||n.start>i.start?Sh(t,i.comments):P5(n,i.comments)}var rk=class extends nk{addComment(e){this.filename&&(e.loc.filename=this.filename);let{commentsLen:i}=this.state;this.comments.length!==i&&(this.comments.length=i),this.comments.push(e),this.state.commentsLen++}processComment(e){let{commentStack:i}=this.state,n=i.length;if(n===0)return;let r=n-1,s=i[r];s.start===e.end&&(s.leadingNode=e,r--);let{start:o}=e;for(;r>=0;r--){let a=i[r],A=a.end;if(A>o)a.containingNode=e,this.finalizeComment(a),i.splice(r,1);else{A===o&&(a.trailingNode=e);break}}}finalizeComment(e){let{comments:i}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&P5(e.leadingNode,i),e.trailingNode!==null&&y1e(e.trailingNode,i);else{let{containingNode:n,start:r}=e;if(this.input.charCodeAt(r-1)===44)switch(n.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":yh(n,n.properties,e);break;case"CallExpression":case"OptionalCallExpression":yh(n,n.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":yh(n,n.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":yh(n,n.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":yh(n,n.specifiers,e);break;default:Sh(n,i)}else Sh(n,i)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let i=e.length-1;i>=0;i--)this.finalizeComment(e[i]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:i}=this.state,{length:n}=i;if(n===0)return;let r=i[n-1];r.leadingNode===e&&(r.leadingNode=null)}resetPreviousIdentifierLeadingComments(e){let{commentStack:i}=this.state,{length:n}=i;n!==0&&(i[n-1].trailingNode===e?i[n-1].trailingNode=null:n>=2&&i[n-2].trailingNode===e&&(i[n-2].trailingNode=null))}takeSurroundingComments(e,i,n){let{commentStack:r}=this.state,s=r.length;if(s===0)return;let o=s-1;for(;o>=0;o--){let a=r[o],A=a.end;if(a.start===n)a.leadingNode=e;else if(A===i)a.trailingNode=e;else if(A<i)break}}},D1e=/\r\n|[\r\n\u2028\u2029]/,yQ=new RegExp(D1e.source,"g");function Og(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function I5(t,e,i){for(let n=e;n<i;n++)if(Og(t.charCodeAt(n)))return!0;return!1}var qF=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,zF=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function x1e(t){switch(t){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var sk=class t{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[ri.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:i,startLine:n,startColumn:r}){this.strict=e===!1?!1:e===!0?!0:i==="module",this.curLine=n,this.lineStart=-r,this.startLoc=this.endLoc=new Za(n,r,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new Za(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let e=new t;return e.flags=this.flags,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}},v1e=function(e){return e>=48&&e<=57},E5={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},DQ={bin:t=>t===48||t===49,oct:t=>t>=48&&t<=55,dec:t=>t>=48&&t<=57,hex:t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};function B5(t,e,i,n,r,s){let o=i,a=n,A=r,c="",u=null,l=i,{length:p}=e;for(;;){if(i>=p){s.unterminated(o,a,A),c+=e.slice(l,i);break}let g=e.charCodeAt(i);if(w1e(t,g,e,i)){c+=e.slice(l,i);break}if(g===92){c+=e.slice(l,i);let d=b1e(e,i,n,r,t==="template",s);d.ch===null&&!u?u={pos:i,lineStart:n,curLine:r}:c+=d.ch,{pos:i,lineStart:n,curLine:r}=d,l=i}else g===8232||g===8233?(++i,++r,n=i):g===10||g===13?t==="template"?(c+=e.slice(l,i)+`
1112
1112
  `,++i,g===13&&e.charCodeAt(i)===10&&++i,++r,l=n=i):s.unterminated(o,a,A):++i}return{pos:i,str:c,firstInvalidLoc:u,lineStart:n,curLine:r,containsInvalid:!!u}}function w1e(t,e,i,n){return t==="template"?e===96||e===36&&i.charCodeAt(n+1)===123:e===(t==="double"?34:39)}function b1e(t,e,i,n,r,s){let o=!r;e++;let a=c=>({pos:e,ch:c,lineStart:i,curLine:n}),A=t.charCodeAt(e++);switch(A){case 110:return a(`
@@ -1284,7 +1284,7 @@ Restarting server after Builder Devtools update...
1284
1284
  <h3>How's Devtools working for you?</h3>
1285
1285
  <p>We'd love your feedback!</p>
1286
1286
  </div>
1287
- \`,t.appendChild(e),setTimeout(()=>{e.classList.add("menu-toggle-tooltip-show"),e.addEventListener("click",()=>{e.classList.remove("menu-toggle-tooltip-show")})},1e3)};function ui(t){t.getElementById("go-to-builder").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),Ee(t,!1),window.open(Nr(),"builder")}),t.getElementById("components-link").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation();let u=t.querySelector(".nav-cmp-list .section-content");u.scrollTop=0,oe(t,"nav-cmp-list"),si(t)}),t.getElementById("settings-link").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),oe(t,"nav-settings")}),t.getElementById("add-page-link").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),Ee(t,!1),window.open(je(),"builder")}),t.getElementById("import-from-figma").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),Ee(t,!1),window.open("https://www.figma.com/community/plugin/747985167520967365/builder-io-ai-powered-figma-to-code-react-vue-tailwind-more")})}function ci(t){let e=t.getElementById("enable-edit");e.addEventListener("change",r=>{r.stopPropagation(),Ft(e.checked)}),e.checked=it(),Ft(e.checked)}var At=class extends HTMLElement{constructor(){super()}connectedCallback(){let e=this.attachShadow({mode:"open"});e.innerHTML=\`<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--font-family: 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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}.menu-toggle{position:absolute;right:0;bottom:0;pointer-events:auto;padding:8px;background:transparent;border:none;appearance:none}.menu-toggle div{position:relative;width:64px;height:64px;pointer-events:none;border-radius:50%;background:#000;border:1px solid white;box-shadow:#00000054 0 0 8px}.menu-toggle:hover div{background-color:var(--background-color);border:1px solid rgb(220,220,220)}.menu-toggle svg{position:absolute;top:15px;left:15px;width:33px;height:32px}div.highlight-bg{position:absolute;top:-1px;left:-1px;background-color:#1a1a1a;pointer-events:none;transition:all .4s ease-out;opacity:0}.menu-toggle-highlight-no-transition div.highlight-bg{transition:none}.menu-toggle-highlight div.highlight-bg{opacity:1}.menu-toggle-tooltip{position:absolute;bottom:0;right:0;width:382px;height:72px;padding:0;text-align:left;appearance:none;background-color:transparent;border:none;pointer-events:none;transform:translate3d(320px,0,0);opacity:0;transition:all .15s ease-in-out;color:#fff}.menu-toggle-tooltip.menu-toggle-tooltip-show{pointer-events:auto;opacity:1;transform:translateZ(0)}.menu-toggle-tooltip-content{position:absolute;inset:0 95px 10px 0;padding:8px 12px;background-color:var(--primary-color);box-shadow:#00000054 0 0 20px;border-radius:2px}.menu-toggle-tooltip-content:before{content:"";position:absolute;bottom:15px;right:-6px;width:30px;height:30px;background-color:var(--primary-color);transform:rotate(45deg)}.menu-toggle-tooltip:hover .menu-toggle-tooltip-content,.menu-toggle-tooltip:hover .menu-toggle-tooltip-content:before{background-color:var(--primary-color-highlight)}.menu-toggle-tooltip-content h3{margin:0;font-size:16px}.menu-toggle-tooltip-content p{margin:0;font-size:12px}section{position:absolute;display:grid;grid-template-rows:64px auto 64px;top:0;left:0;width:100%;height:100%;padding:0;pointer-events:none}.section-content{margin:0;padding:0 0 10px;font-weight:300;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;overflow-y:auto}.section-content .error{color:var(--error-color);font-weight:700}section a{text-decoration:none;color:var(--text-color)}section h3,section p{margin-left:16px;margin-right:16px}.info{font-size:12px}ul.list{list-style:none;padding:0;margin:0}ul.list li{display:block;padding:0;margin:0}ul.list a,ul.list button{display:grid;grid-template-columns:24px auto;grid-gap:16px;padding:12px;margin:8px 0;border:none;background:transparent;appearance:none;width:100%;font-weight:300;text-align:left;text-decoration:none;color:var(--text-color)}ul.list a:hover,ul.list button:hover{text-decoration:none;color:var(--text-color);background-color:var(--button-background-color-hover)}ul.list a span,ul.list button span{display:block;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header{position:relative;display:grid;grid-template-columns:44px 1fr;gap:8px;padding-left:8px;border-bottom:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}header>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-home header>div{margin-right:56px}header h2{margin:7px 0 0;font-size:18px;font-weight:500;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p{margin:2px 0 0;font-size:12px;font-weight:300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button{display:block;margin:0;padding:0;width:100%;font-size:12px;font-weight:300;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button:hover{text-decoration:underline;color:var(--primary-color)}.builder-logo{margin:12px 0 0 8px}#close{display:block;position:absolute;appearance:none;background:transparent;border:none;border-radius:50%;margin:0;padding:0;right:4px;top:8px;width:48px;height:48px;z-index:1;opacity:.7}#close:hover{opacity:1;background-color:var(--button-background-color-hover)}#close svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}.back-button{position:relative;display:block;margin:7px 0 0 -2px;width:48px;height:48px;background:transparent;border:none;appearance:none;border-radius:50%}.back-button:hover{background-color:var(--button-background-color-hover)}.back-button svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}footer{border-top:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}section.nav-cmp-list{grid-template-rows:64px auto 120px}footer a{text-decoration:underline;color:var(--primary-color)}footer a:hover{color:var(--primary-color);text-decoration:none}.nav-list{padding:2px 0}.nav-loading{pointer-events:none}.nav-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.nav-loading .nav-loading-icon{opacity:.5}.nav-list h4{margin:8px 8px 8px 10px;font-size:14px;font-weight:600}.nav-list .nav-list-item+h4{margin-top:30px}.nav-list-item{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;margin:2px 0;padding:8px 28px 8px 46px;width:100%;font-size:14px;font-weight:300;text-align:left;border:none;background:transparent;appearance:none}.nav-list-item:hover{background-color:var(--button-background-color-hover)}.nav-list-item-icon{position:absolute;top:4px;left:10px;width:24px;height:24px;object-fit:contain;filter:invert(100%);background-size:24px 24px;background-repeat:no-repeat;background-position:center center}.nav-list-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.nav-list-item:after{display:block;position:absolute;content:"";background-image:url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="%23F2F2F2" stroke-opacity="0.5" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');background-repeat:no-repeat;background-position:12px 9px;top:0;right:0;width:32px;height:32px;pointer-events:none}.nav-list-item-note{opacity:0;font-size:12px;padding-top:1px;text-align:right}.nav-list-item:hover .nav-list-item-note{opacity:.5}.ui-select{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-select h3{margin:0;font-size:14px;font-weight:500}.ui-select p{margin:8px 0;font-size:12px;font-weight:300}.ui-select .select{position:relative;margin:8px 0;border-radius:4px;padding:0;line-height:1.1;overflow:hidden;border:1px solid var(--border-color)}.ui-select select{appearance:none;background-color:transparent;border:none;outline:none;padding:8px 32px 8px 8px;margin:0;width:100%;font-size:14px;cursor:pointer;text-overflow:ellipsis;opacity:.6;color:var(--text-color)}.ui-select .select:after{content:"";top:6px;right:5px;width:24px;height:24px;position:absolute;background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23F2F2F2" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>');background-repeat:no-repeat;background-position:center;pointer-events:none;opacity:.6}.ui-select .select:hover{border-color:var(--primary-color-subdued)}.ui-text-input .select:focus-within{border-color:var(--primary-color)}.ui-text-input .select:focus-within select{opacity:1}.spinner:after{content:" ";display:block;width:32px;height:32px;margin:0 auto;pointer-events:auto;border-radius:50%;border:3px solid var(--text-color);border-color:var(--text-color) transparent var(--text-color) transparent;animation:spinner .75s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui-switch{display:grid;grid-template-columns:auto 48px;grid-gap:20px;margin:8px 0 16px;padding:8px 0 8px 16px;cursor:pointer}.ui-switch>*{pointer-events:none}.ui-switch input{display:none;visibility:hidden}.ui-switch .switcher{display:inline-block;border-radius:100px;width:35px;height:14px;background-color:#ccc;position:relative;top:6px;vertical-align:middle;cursor:pointer}.ui-switch input[type=checkbox]:checked+.switcher{background-color:var(--primary-color-subdued)}.ui-switch .switcher:before{content:"";display:block;width:20px;height:20px;background-color:var(--text-color);box-shadow:0 1px 3px #0009;border-radius:50%;position:absolute;top:-3px;left:0;margin-right:0;transition:all .15s}.ui-switch input[type=checkbox]:checked+.switcher:before{left:100%;margin-left:-20px;background-color:var(--primary-color)}.ui-switch h3{margin:0;font-size:14px;font-weight:500}.ui-switch p{margin:4px 0 0;font-size:12px;font-weight:300}.ui-text-input{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-text-input h3{margin:0;font-size:14px;font-weight:500}.ui-text-input p{margin:8px 0;font-size:12px;font-weight:300}.ui-text-input .input{position:relative;margin:8px 0;border:1px solid var(--border-color);border-radius:4px;background:transparent;padding:2px;overflow:hidden}.ui-text-input input{display:block;width:235px;font-size:14px;border:none;background:transparent;padding:6px;appearance:none;color:var(--text-color);opacity:.6;outline:none}.ui-text-input .input:hover{border-color:var(--primary-color-subdued)}.ui-text-input .input:focus-within{border-color:var(--primary-color)}.ui-text-input .input:focus-within input{opacity:1}.ui-text-input .input:after{content:"";position:absolute;top:5px;right:14px;width:8px;height:17px;border:2px solid rgba(51,181,51,1);border-top:none;border-left:none;transform:rotate(45deg);opacity:0;transition:opacity 80ms ease-in-out;pointer-events:none}.ui-text-input.saved .input:after{opacity:1}.ui-toast{position:fixed;bottom:8px;left:8px;right:8px;padding:6px 12px;font-size:14px;border-radius:4px;transform:translate3d(0,150%,0);opacity:0;transition:all var(--transition-time) ease-in-out;background-color:var(--primary-color-subdued);color:var(--text-color);pointer-events:none}.ui-toast.ui-toast-show{transform:translateZ(0);opacity:1;pointer-events:auto}[data-view=nav-home] .nav-home .section-content,[data-view=nav-cmp-list] .nav-cmp-list .section-content,[data-view=nav-cmp-detail] .nav-cmp-detail .section-content,[data-view=nav-cmp-input] .nav-cmp-input .section-content,[data-view=nav-settings] .nav-settings .section-content{transform:translateZ(0);pointer-events:auto}[data-view=nav-home] .nav-home header,[data-view=nav-home] .nav-home footer,[data-view=nav-cmp-list] .nav-cmp-list header,[data-view=nav-cmp-list] .nav-cmp-list footer,[data-view=nav-cmp-detail] .nav-cmp-detail header,[data-view=nav-cmp-detail] .nav-cmp-detail footer,[data-view=nav-cmp-input] .nav-cmp-input header,[data-view=nav-cmp-input] .nav-cmp-input footer,[data-view=nav-settings] .nav-settings header,[data-view=nav-settings] .nav-settings footer{opacity:1;pointer-events:auto}[data-view=nav-cmp-list] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-home .section-content,[data-view=nav-cmp-input] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-cmp-detail .section-content,[data-view=nav-settings] .nav-home .section-content{transform:translate3d(-105%,0,0)}.cmp-item .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.83 16.809C20.94 16.561 21 16.289 21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L7.988 3.99001M5.441 5.44801L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L18.544 18.56" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.532 10.538L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.27002 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 3L21 21" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');opacity:.3}.cmp-item.registered .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /></svg>');opacity:.8}.search-highlight{background-color:var(--primary-color-alpha);padding:0 2px;border-radius:2px;font-weight:500}.search-container{position:sticky;top:0;z-index:10;padding:12px 16px;background:var(--background-color);border-bottom:1px solid var(--border-color)}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:var(--text-color-secondary);pointer-events:none}.component-search-input{width:100%;height:36px;padding:8px 36px;border:1px solid var(--border-color);border-radius:6px;background:var(--input-background);color:var(--text-color);font-size:14px;transition:border-color .2s,box-shadow .2s}.component-search-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px var(--primary-color-alpha)}.component-search-input::placeholder{color:var(--text-color-tertiary)}.clear-search-button{position:absolute;right:8px;padding:4px;color:var(--text-color-secondary);border:none;background:transparent;border-radius:4px;cursor:pointer;opacity:0;transition:opacity .2s,background-color .2s;display:flex;align-items:center;justify-content:center}.clear-search-button:hover{background-color:var(--hover-color)}.component-search-input:not(:placeholder-shown)+.clear-search-button{opacity:1}.no-results{padding:32px 16px;text-align:center;color:var(--text-color-secondary);font-size:14px}#cmp-detail{position:relative}.cmp-loading{pointer-events:none!important}.cmp-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.cmp-loading .cmp-loading-icon{opacity:.5}.cmp-cover{position:absolute;top:160px;left:0;width:100%;height:100vh;background:var(--background-color);transform:translateZ(0);pointer-events:none;display:none}[data-view=nav-cmp-detail] .cmp-cover{display:block;pointer-events:auto}.cmp-enabled .cmp-cover{transform:translate3d(0,105%,0);pointer-events:none}.section-ready .cmp-cover{transition:all var(--transition-time) ease-in-out}.cmp-detail-inputs-container{margin:8px 0 16px;padding:0}.cmp-detail-inputs-container h3{margin:0 0 6px;padding-left:16px;padding-right:8px;font-size:14px;font-weight:500;display:flex;justify-content:space-between;align-items:center}.cmp-detail-inputs-reload{font-weight:300;font-size:.9em;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmp-detail-inputs-reload:hover{text-decoration:underline;color:var(--primary-color)}.cmp-detail-inputs-container .cmp-inputs-empty{padding:0;margin-top:12px;font-size:12px;font-weight:300;opacity:.5;font-style:italic}.cmp-detail-inputs-container .nav-list-item-icon{opacity:.8;background-size:20px 20px;background-position:4px center}.input-icon{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path></svg>')}.input-icon-array{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-6a2 2 0 1 1 4 0v6"></path> <path d="M10 13h4"></path></svg>')}.input-icon-boolean{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16h2a2 2 0 1 0 0 -4h-2h2a2 2 0 1 0 0 -4h-2v8z"></path></svg>')}.input-icon-number{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-8l4 8v-8"></path></svg>')}.input-icon-object{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M12 8a2 2 0 0 1 2 2v4a2 2 0 1 1 -4 0v-4a2 2 0 0 1 2 -2z"></path></svg>')}.input-icon-string{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 15a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1h-2a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1"></path></svg>')}.cmp-input-item-unregistered{opacity:.4}.cmp-input-item-unregistered .input-icon:after{content:"";position:absolute;top:11px;left:4px;width:20px;height:2px;background-color:#000;transform:rotate(-45deg)}.cmp-prop-info{border-bottom:1px solid var(--border-color)}.cmp-input-readonly{margin:16px 0;padding:0 16px;display:grid;grid-template-columns:50% 50%;gap:12px}.cmp-input-readonly h3{margin:0;font-size:14px;font-weight:500}.cmp-input-readonly span{margin-top:2px;font-size:12px;font-weight:300;opacity:.8}.cmp-input-detail{margin:16px 0}.cmp-input-detail a{color:var(--primary-color);text-decoration:none}.cmp-input-detail a:hover{text-decoration:underline}.input-cover{position:absolute;top:175px;left:0;width:100%;height:100%;background:var(--background-color);transform:translateZ(0);transition:all var(--transition-time) ease-in-out;pointer-events:auto}.input-enabled .input-cover{transform:translate3d(0,105%,0);pointer-events:none}.input-loading-icon{position:absolute;display:inline-block;top:190px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.input-loading .input-loading-icon{opacity:.5}:host{position:fixed;inset:0;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}aside{position:absolute;top:0;right:0;width:var(--menu-width);height:100%;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;background:var(--background-color);box-shadow:#000000c9 5px 0 20px;overflow:hidden;z-index:1}:host(.show-builder-menu) aside{pointer-events:auto;transform:translateZ(0)}#hit{position:absolute;inset:0;display:none}:host(.show-builder-menu) #hit{display:block;pointer-events:auto}#version{position:absolute;bottom:6px;right:6px;font-size:8px;color:#9b9b9b}</style><div id="hit"></div> <aside data-view="nav-home"> <section class="nav-home"> <header> <svg class="builder-logo" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> <div> <h2 class="builder-home-title">Builder Devtools</h2> <p><button id="go-to-builder">Go to Builder</button></p> </div> <button id="close" aria-label="Close Menu"> <svg viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M18 6l-12 12" /> <path d="M6 6l12 12" /> </svg> </button> </header> <div class="section-content"> <ul class="list"> <li> <button id="components-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Components</span> </button> </li> <li> <button id="settings-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.753 5.99 10.049 5.452 10.325 4.317Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.7956 15 13.5587 14.6839 14.1213 14.1213C14.6839 13.5587 15 12.7956 15 12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9C11.2044 9 10.4413 9.31607 9.87868 9.87868C9.31607 10.4413 9 11.2044 9 12Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Settings</span> </button> </li> <li> <button id="add-page-link"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M14 3v4a1 1 0 0 0 1 1h4" /> <path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /> <path d="M12 11l0 6" /> <path d="M9 14l6 0" /> </svg> <span>Add Builder Page</span> </button> </li> <li> <button id="import-from-figma"> <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-figma" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /> <path d="M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z" /> <path d="M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15" /> </svg> <span>Import From Figma</span> </button> </li> </ul> </div> <footer> <ul class="list"> <li> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdqZcJpRtm_Ia5DTHP6SDY9Xa6LID3KiTjRWkjMzWyJRUtSHw/viewform" target="_blank" > <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M11.013 17.0114L10.013 18.0114L2.513 10.5834C2.0183 10.102 1.62864 9.52342 1.36854 8.88404C1.10845 8.24466 0.983558 7.55836 1.00173 6.86834C1.01991 6.17832 1.18076 5.49954 1.47415 4.87474C1.76755 4.24994 2.18713 3.69266 2.70648 3.23799C3.22583 2.78331 3.8337 2.4411 4.49181 2.23289C5.14991 2.02468 5.844 1.95499 6.53036 2.02821C7.21673 2.10143 7.8805 2.31596 8.47987 2.65831C9.07925 3.00066 9.60124 3.46341 10.013 4.01741C10.8086 2.95654 11.9931 2.2552 13.3059 2.06766C14.6186 1.88012 15.9521 2.22176 17.013 3.01741C18.0739 3.81306 18.7752 4.99755 18.9627 6.3103C19.1503 7.62305 18.8086 8.95654 18.013 10.0174" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M18.2006 19.8175L16.0286 20.9555C15.9642 20.989 15.8917 21.004 15.8192 20.9987C15.7467 20.9934 15.6771 20.9681 15.6182 20.9256C15.5593 20.8831 15.5134 20.825 15.4855 20.7579C15.4577 20.6907 15.4491 20.6172 15.4606 20.5455L15.8756 18.1345L14.1186 16.4275C14.0662 16.3768 14.0291 16.3123 14.0115 16.2416C13.9939 16.1708 13.9966 16.0965 14.0192 16.0271C14.0418 15.9578 14.0835 15.8962 14.1394 15.8494C14.1954 15.8026 14.2634 15.7725 14.3356 15.7625L16.7636 15.4105L17.8496 13.2175C17.8821 13.1521 17.9322 13.0972 17.9942 13.0588C18.0562 13.0204 18.1277 13 18.2006 13C18.2736 13 18.3451 13.0204 18.4071 13.0588C18.4691 13.0972 18.5191 13.1521 18.5516 13.2175L19.6376 15.4105L22.0656 15.7625C22.1377 15.7728 22.2054 15.8031 22.2611 15.85C22.3168 15.8968 22.3583 15.9583 22.3809 16.0275C22.4034 16.0967 22.4062 16.1708 22.3888 16.2415C22.3715 16.3122 22.3347 16.3766 22.2826 16.4275L20.5256 18.1345L20.9396 20.5445C20.9521 20.6163 20.9441 20.6902 20.9166 20.7578C20.8891 20.8254 20.8433 20.8839 20.7842 20.9267C20.7252 20.9695 20.6553 20.9949 20.5825 21C20.5098 21.005 20.4371 20.9896 20.3726 20.9555L18.2006 19.8175Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Give Feedback</span> </a> </li> </ul> <div id="version"></div> </footer> </section> <section class="nav-cmp-list"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div class="search-container"> <div class="search-input-wrapper"> <svg class="search-icon" viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M15.5 15.5L20 20M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z" /> </svg> <input type="text" id="component-search" class="component-search-input" placeholder="Search components..." autocomplete="off" spellcheck="false" /> <button id="clear-search" class="clear-search-button" type="button" aria-label="Clear search" > <svg viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M6 6l12 12M6 18L18 6" /> </svg> </button> </div> </div> <div> <h2>Custom Components</h2> <p> <button id="open-builder-registry"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-list" class="cmp-list nav-list"></div> </div> <div class="nav-loading-icon spinner"></div> <footer> <p class="info"> Expand on Builder's selection of built-in blocks by <a target="_blank" href="https://www.builder.io/c/docs/custom-components-intro" >registering components</a > from your codebase. This way, teammates can drag and drop your components within Builder's Visual Editor just like any other block. </p> </footer> </section> <section class="nav-cmp-detail"> <header> <button class="back-button" data-back="nav-cmp-list"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-detail-title"></h2> <p> <button id="cmp-open-source"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-error"></div> <label class="ui-switch"> <div> <h3>Register Component</h3> <p> Registers this component so it can be used within Builder Visual CMS </p> </div> <input type="checkbox" role="switch" id="cmp-register" /> <span class="switcher"></span> </label> <div id="cmp-detail"> <label class="ui-text-input"> <h3>Component Name</h3> <div class="input"> <input type="text" id="cmp-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="2" maxlength="30" required placeholder="e.g. My Counter" /> </div> <p> Unique name to identify this custom component within Builder. Press ESC to cancel </p> </label> <div class="cmp-detail-inputs-container"> <h3> <span>Builder Inputs (Props)</span> <button class="cmp-detail-inputs-reload" id="btn-inputs-reload"> Reload </button> </h3> <div id="cmp-detail-inputs"></div> </div> </div> </div> <div class="cmp-cover"></div> <div class="cmp-loading-icon spinner"></div> </section> <section class="nav-cmp-input"> <header> <button class="back-button" data-back="nav-cmp-detail"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-input-title"></h2> <p> <button id="input-open-source"></button> </p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable Input</h3> <p>Add this component prop as a Builder input</p> </div> <input type="checkbox" role="switch" id="input-register" /> <span class="switcher"></span> </label> <div class="cmp-prop-info"> <div class="cmp-input-readonly"> <h3>Prop Name</h3> <span id="cmp-prop-name"></span> </div> <div class="cmp-input-readonly"> <h3>Prop Type</h3> <span id="cmp-prop-type"></span> </div> </div> <div class="cmp-input-detail"> <label class="ui-text-input"> <h3>Builder Input Name</h3> <div class="input"> <input type="text" id="input-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="1" maxlength="30" required placeholder="e.g. Text" /> </div> <p> Friendly name to identify this component prop as a Builder input. Press ESC to cancel </p> </label> <label class="ui-select"> <h3>Builder Input Type</h3> <div class="select"> <select id="input-type"></select> </div> <p> Correlate to what editing UI is appropriate for this Builder input. <a href="https://www.builder.io/c/docs/custom-components-input-types" target="_blank" >Read more about input types.</a > </p> </label> </div> <div class="input-cover"></div> <div class="input-loading-icon spinner"></div> </div> </section> <section class="nav-settings"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Settings</h2> <p>Configure Builder's Devtools</p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable edit button in UI</h3> <p>Enables the edit button so you can edit content in Builder</p> </div> <input type="checkbox" role="switch" id="enable-edit" /> <span class="switcher"></span> </label> </div> </section> <div class="ui-toast" id="toast"></div> </aside> <button class="menu-toggle" aria-label="Toggle Builder Devtools"> <div> <div class="highlight-bg"></div> <svg viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> </div> </button>\`,ai(e),ui(e),oi(e),ri(e),ti(e),ci(e),this.setAttribute("aria-hidden","true"),e.getElementById("version").textContent="v1.30.2-beta.202603091820.6674dc7"}highlightOpener(){let e=this.shadowRoot.querySelector(".menu-toggle");e.classList.add("menu-toggle-highlight"),e.classList.add("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight")},20)},20)}};var lo=\`<style>*,*:before,*:after{box-sizing:border-box}html,body,:host{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:2147483646;margin:0;padding:0;line-height:1.8;font-family: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";background-color:#252525;color:#fff;transition:opacity .25s ease-in-out}:host([aria-hidden="true"]){opacity:0;pointer-events:none}main{position:absolute;top:0;left:0;width:100%;height:100vh}h1{margin-top:0;font-size:24px;font-weight:300;line-height:1.4}p{margin:20px 0;font-weight:300}button{cursor:pointer}aside{position:absolute;top:0;left:0;width:350px;height:100vh;padding:60px 0 0 50px;background-color:#121212}aside ul{margin:30px 0 0;padding:0;list-style:none}aside li{position:relative;margin:0;padding:20px 10px;font-weight:300}aside li.highlight{color:#48a1ff}aside li.active{font-weight:700}aside li .circle{position:absolute;top:20px;left:10px;width:24px;height:24px;border:3px solid white;border-radius:50%;font-size:14px}aside li.highlight .circle{border-color:#48a1ff}aside li.active .circle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background-color:#48a1ff}aside li.completed .circle{background-color:#48a1ff}aside li.completed .circle:after{content:"";position:absolute;top:2px;left:6px;width:6px;height:13px;border:3px solid black;border-top:none;border-left:none;transform:rotate(45deg)}aside li .line{position:absolute;top:44px;left:21px;width:3px;height:45px;background-color:#fff}aside li.completed .line{background-color:#48a1ff}aside li span{display:block;margin-left:44px}nav{margin-top:30px}section{position:absolute;top:135px;left:350px;padding:0 80px 0 140px;transition:opacity .15s ease-in-out}section[aria-hidden=true]{pointer-events:none;opacity:0}section h1,section p{min-width:300px;max-width:600px}.button{position:relative;display:inline-block;color:#fff;background-color:#48a1ff;border-radius:4px;text-decoration:none;padding:10px 40px 10px 20px;white-space:nowrap}.button:hover{background-color:#48a1ffd9}#button-icon{position:absolute;top:1px;right:5px;bottom:0;width:30px;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="white" stroke-linecap="square" stroke-miterlimit="10" stroke-width="48" d="M184 112l144 144-144 144"/></svg>');background-repeat:no-repeat;background-position:center;background-size:24px 24px}.button[aria-disabled=true]{opacity:.9;background-color:#ffffff4d;pointer-events:none;padding-right:60px}.button[aria-disabled=true] #button-icon{top:21px;right:29px;width:8px;height:8px;border-radius:4px;background:#fff;color:#fff;animation:dot-flashing .5s infinite linear alternate;animation-delay:.25s}.button[aria-disabled=true] #button-icon:before,.button[aria-disabled=true] #button-icon:after{content:"";display:inline-block;position:absolute;top:0}.button[aria-disabled=true] #button-icon:before{left:-12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:0s}.button[aria-disabled=true] #button-icon:after{left:12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:.5s}@keyframes dot-flashing{0%{background-color:#fff}50%,to{background-color:#ffffff4d}}.logo{margin-left:9px;background:url('data:image/svg+xml,<svg viewBox="0 0 150 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <g clip-path="url(%23clip0_4_304)"> <path d="M27.9858 8.99927C27.9872 10.3415 27.688 11.667 27.1101 12.8783C26.5321 14.0896 25.6902 15.156 24.6462 15.9989V15.9989L0.634502 2.36355C0.542657 2.31119 0.457444 2.24796 0.380701 2.17523C0.260289 2.05715 0.164605 1.91624 0.0992389 1.76075C0.0338732 1.60525 0.000136546 1.43828 0 1.26959C0 0.932873 0.133698 0.609948 0.371683 0.371854C0.609667 0.13376 0.932443 0 1.269 0L18.9906 0C21.3763 0 23.6642 0.948135 25.3512 2.63583C27.0381 4.32352 27.9858 6.61252 27.9858 8.99927V8.99927Z" fill="%2318B4F4" /> <path d="M27.9858 22.9986C27.9861 24.1806 27.7536 25.351 27.3017 26.4431C26.8498 27.5352 26.1873 28.5275 25.352 29.3634C24.5167 30.1993 23.5249 30.8624 22.4335 31.3147C21.342 31.7671 20.1721 32 18.9907 32H1.26906C1.01802 31.9973 0.77343 31.9202 0.566221 31.7784C0.359012 31.6366 0.198499 31.4364 0.104989 31.2034C0.0114791 30.9703 -0.0108254 30.7147 0.0408974 30.4689C0.0926201 30.2231 0.216046 29.9982 0.395559 29.8226V29.8226C0.467112 29.7508 0.547407 29.6882 0.634555 29.6364L10.0844 24.2703L24.6441 16.001C25.688 16.8438 26.53 17.9097 27.1083 19.1206C27.6866 20.3315 27.9864 21.6566 27.9858 22.9986V22.9986Z" fill="%23FD6B3C" /> <path d="M24.6461 15.9989L10.0843 24.2703L0.634458 29.6365C0.54372 29.6868 0.459841 29.7487 0.384888 29.8205C3.98804 26.1233 6.00266 21.1627 5.99812 15.9989C6.0049 10.8346 3.99085 5.87268 0.387003 2.17523C0.463746 2.24796 0.548959 2.31119 0.640803 2.36355L24.6461 15.9989Z" fill="%23A97FF2" /> <path d="M47.6659 11.7352C51.8177 11.7352 54.1632 15.0531 54.1632 19.0714C54.1632 23.0896 51.8177 26.3821 47.6659 26.3821C45.5086 26.3821 43.8589 25.5188 42.9473 24.0545L42.5709 26.052H39.9736V6.77115H43.1884V13.8914C43.971 12.6959 45.5086 11.7352 47.6659 11.7352ZM47.0187 23.5488C49.4446 23.5488 50.9547 21.5809 50.9547 19.0714C50.9547 16.5089 49.4446 14.5664 47.0187 14.5664C44.5928 14.5664 43.0806 16.5047 43.0806 19.0714C43.0806 21.583 44.5653 23.5488 47.0187 23.5488V23.5488Z" fill="white" /> <path d="M65.4595 20.2859V12.0611H68.668V20.123C68.668 23.7202 67.0246 26.3821 62.4943 26.3821C57.9639 26.3821 56.3206 23.7117 56.3206 20.123V12.0611H59.529V20.2859C59.529 22.4696 60.5527 23.5488 62.49 23.5488C64.4274 23.5488 65.4595 22.4696 65.4595 20.2859Z" fill="white" /> <path d="M71.2355 7.74451C71.2247 7.46284 71.2724 7.18199 71.3755 6.91968C71.4787 6.65737 71.6351 6.41929 71.8348 6.22047C72.0345 6.02165 72.2732 5.8664 72.5359 5.76452C72.7986 5.66264 73.0796 5.61633 73.3611 5.62853C74.5793 5.62853 75.4571 6.50666 75.4571 7.75509C75.4571 9.00352 74.5793 9.8224 73.3611 9.8224C72.1428 9.8224 71.2355 8.9612 71.2355 7.74451Z" fill="white" /> <path d="M128.476 7.74451C128.465 7.46376 128.513 7.18383 128.615 6.92227C128.718 6.66071 128.873 6.42315 129.072 6.22449C129.27 6.02583 129.508 5.87035 129.769 5.7678C130.031 5.66524 130.31 5.61783 130.591 5.62852C131.809 5.62852 132.687 6.50666 132.687 7.75509C132.687 9.00352 131.809 9.8224 130.591 9.8224C129.373 9.8224 128.476 8.9612 128.476 7.74451Z" fill="white" /> <path d="M122.302 24.1031C122.291 23.8223 122.339 23.5422 122.441 23.2805C122.543 23.0188 122.699 22.7811 122.897 22.5824C123.096 22.3837 123.334 22.2282 123.595 22.1258C123.857 22.0233 124.137 21.9761 124.417 21.9872C125.636 21.9872 126.513 22.8653 126.513 24.1031C126.513 25.341 125.636 26.1726 124.417 26.1726C123.199 26.1726 122.302 25.3219 122.302 24.1031Z" fill="white" /> <path d="M74.9516 12.059H71.7432V26.0583H74.9516V12.059Z" fill="white" /> <path d="M78.16 26.0583V6.77115H81.3685V26.0626L78.16 26.0583Z" fill="white" /> <path d="M94.6063 6.77115H97.8148V26.0626H95.2239L94.8474 24.0651C93.9591 25.523 92.3094 26.3927 90.131 26.3927C86.0046 26.3927 83.6591 23.0748 83.6591 19.0819C83.6591 15.0891 86.0046 11.7458 90.131 11.7458C92.3137 11.7458 93.8238 12.7149 94.6063 13.902V6.77115ZM90.7993 14.5707C88.3734 14.5707 86.8633 16.5131 86.8633 19.0756C86.8633 21.5851 88.3734 23.553 90.7993 23.553C93.2252 23.553 94.7354 21.5851 94.7354 19.0756C94.7396 16.5047 93.257 14.5664 90.8036 14.5664L90.7993 14.5707Z" fill="white" /> <path d="M113.479 22.2284C112.482 24.7359 110.162 26.3821 107.117 26.3821C102.887 26.3821 100.137 23.225 100.137 19.0439C100.137 14.9706 102.942 11.7353 107.093 11.7353C111.245 11.7353 113.969 14.8902 113.969 18.991C113.982 19.3255 113.953 19.6604 113.883 19.9876H103.288C103.53 22.2009 104.959 23.6292 107.197 23.6292C108.735 23.6292 110.001 22.8738 110.594 21.473L113.479 22.2284ZM103.341 17.6156H110.784C110.513 15.6731 109.166 14.3506 107.089 14.3506C105.012 14.3506 103.665 15.7006 103.341 17.6156V17.6156Z" fill="white" /> <path d="M123.779 14.9452C123.538 14.9117 123.295 14.8933 123.051 14.8902C120.786 14.8902 119.439 16.0772 119.439 18.7751V26.0583H116.23V12.0611H118.821L119.195 14.0014C119.707 13.1127 120.887 11.9257 123.322 11.9257C123.455 11.9257 123.779 11.9532 123.779 11.9532V14.9452Z" fill="white" /> <path d="M132.192 12.059H128.984V26.0583H132.192V12.059Z" fill="white" /> <path d="M134.483 19.0714C134.483 15.1335 137.287 11.7353 141.735 11.7353C146.183 11.7353 149.015 15.1335 149.015 19.0714C149.015 23.0092 146.213 26.3821 141.735 26.3821C137.258 26.3821 134.483 23.0092 134.483 19.0714ZM141.735 23.5488C144.083 23.5488 145.806 21.7692 145.806 19.0714C145.806 16.3735 144.083 14.5664 141.735 14.5664C139.387 14.5664 137.687 16.346 137.687 19.0714C137.687 21.7968 139.417 23.5488 141.735 23.5488V23.5488Z" fill="white" /> </g> <defs> <clipPath id="clip0_4_304"> <rect width="149.015" height="32" fill="white" /> </clipPath> </defs> </svg>');background-repeat:no-repeat;width:150px;height:32px}@media (max-width: 840px){aside{width:250px;padding:60px 0 0 20px}section{left:250px;padding:0 80px}}@media (max-width: 590px){aside{width:230px;padding:60px 0 0 10px}section{left:230px;padding:0 40px}}#modified-files-message a{color:#cbcbcb;font-weight:300;text-decoration:underline}#modified-files-message a:hover{color:#fff;text-decoration:none}#restart-warning{border-radius:4px;padding:8px 16px;border:1px solid #fd6b3c;background:#fd6b3c1a}#react-router-steps{margin:0 0 5px;padding:0 20px}#need-help{color:#48a1ff;text-decoration:none}#router-message{border-radius:4px;padding:16px;border:1px solid #48a1ff}#router-finish-button{margin-top:12px}#router-checkbox-div{display:flex;align-items:center}#router-checkbox{margin-right:10px;width:15px;height:15px}#success-title{display:flex;align-items:center;gap:10px}#success-title .check-icon{display:inline-block;width:24px;height:24px;border:2px solid #28a745;border-radius:50%;position:relative}#success-title .check-icon:before{content:"";position:absolute;top:50%;left:50%;width:6px;height:12px;border:solid #28a745;border-width:0 2px 2px 0;transform:translate(-50%,-60%) rotate(45deg)}
1287
+ \`,t.appendChild(e),setTimeout(()=>{e.classList.add("menu-toggle-tooltip-show"),e.addEventListener("click",()=>{e.classList.remove("menu-toggle-tooltip-show")})},1e3)};function ui(t){t.getElementById("go-to-builder").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),Ee(t,!1),window.open(Nr(),"builder")}),t.getElementById("components-link").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation();let u=t.querySelector(".nav-cmp-list .section-content");u.scrollTop=0,oe(t,"nav-cmp-list"),si(t)}),t.getElementById("settings-link").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),oe(t,"nav-settings")}),t.getElementById("add-page-link").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),Ee(t,!1),window.open(je(),"builder")}),t.getElementById("import-from-figma").addEventListener("click",s=>{s.preventDefault(),s.stopPropagation(),Ee(t,!1),window.open("https://www.figma.com/community/plugin/747985167520967365/builder-io-ai-powered-figma-to-code-react-vue-tailwind-more")})}function ci(t){let e=t.getElementById("enable-edit");e.addEventListener("change",r=>{r.stopPropagation(),Ft(e.checked)}),e.checked=it(),Ft(e.checked)}var At=class extends HTMLElement{constructor(){super()}connectedCallback(){let e=this.attachShadow({mode:"open"});e.innerHTML=\`<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--font-family: 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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}.menu-toggle{position:absolute;right:0;bottom:0;pointer-events:auto;padding:8px;background:transparent;border:none;appearance:none}.menu-toggle div{position:relative;width:64px;height:64px;pointer-events:none;border-radius:50%;background:#000;border:1px solid white;box-shadow:#00000054 0 0 8px}.menu-toggle:hover div{background-color:var(--background-color);border:1px solid rgb(220,220,220)}.menu-toggle svg{position:absolute;top:15px;left:15px;width:33px;height:32px}div.highlight-bg{position:absolute;top:-1px;left:-1px;background-color:#1a1a1a;pointer-events:none;transition:all .4s ease-out;opacity:0}.menu-toggle-highlight-no-transition div.highlight-bg{transition:none}.menu-toggle-highlight div.highlight-bg{opacity:1}.menu-toggle-tooltip{position:absolute;bottom:0;right:0;width:382px;height:72px;padding:0;text-align:left;appearance:none;background-color:transparent;border:none;pointer-events:none;transform:translate3d(320px,0,0);opacity:0;transition:all .15s ease-in-out;color:#fff}.menu-toggle-tooltip.menu-toggle-tooltip-show{pointer-events:auto;opacity:1;transform:translateZ(0)}.menu-toggle-tooltip-content{position:absolute;inset:0 95px 10px 0;padding:8px 12px;background-color:var(--primary-color);box-shadow:#00000054 0 0 20px;border-radius:2px}.menu-toggle-tooltip-content:before{content:"";position:absolute;bottom:15px;right:-6px;width:30px;height:30px;background-color:var(--primary-color);transform:rotate(45deg)}.menu-toggle-tooltip:hover .menu-toggle-tooltip-content,.menu-toggle-tooltip:hover .menu-toggle-tooltip-content:before{background-color:var(--primary-color-highlight)}.menu-toggle-tooltip-content h3{margin:0;font-size:16px}.menu-toggle-tooltip-content p{margin:0;font-size:12px}section{position:absolute;display:grid;grid-template-rows:64px auto 64px;top:0;left:0;width:100%;height:100%;padding:0;pointer-events:none}.section-content{margin:0;padding:0 0 10px;font-weight:300;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;overflow-y:auto}.section-content .error{color:var(--error-color);font-weight:700}section a{text-decoration:none;color:var(--text-color)}section h3,section p{margin-left:16px;margin-right:16px}.info{font-size:12px}ul.list{list-style:none;padding:0;margin:0}ul.list li{display:block;padding:0;margin:0}ul.list a,ul.list button{display:grid;grid-template-columns:24px auto;grid-gap:16px;padding:12px;margin:8px 0;border:none;background:transparent;appearance:none;width:100%;font-weight:300;text-align:left;text-decoration:none;color:var(--text-color)}ul.list a:hover,ul.list button:hover{text-decoration:none;color:var(--text-color);background-color:var(--button-background-color-hover)}ul.list a span,ul.list button span{display:block;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header{position:relative;display:grid;grid-template-columns:44px 1fr;gap:8px;padding-left:8px;border-bottom:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}header>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-home header>div{margin-right:56px}header h2{margin:7px 0 0;font-size:18px;font-weight:500;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p{margin:2px 0 0;font-size:12px;font-weight:300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button{display:block;margin:0;padding:0;width:100%;font-size:12px;font-weight:300;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button:hover{text-decoration:underline;color:var(--primary-color)}.builder-logo{margin:12px 0 0 8px}#close{display:block;position:absolute;appearance:none;background:transparent;border:none;border-radius:50%;margin:0;padding:0;right:4px;top:8px;width:48px;height:48px;z-index:1;opacity:.7}#close:hover{opacity:1;background-color:var(--button-background-color-hover)}#close svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}.back-button{position:relative;display:block;margin:7px 0 0 -2px;width:48px;height:48px;background:transparent;border:none;appearance:none;border-radius:50%}.back-button:hover{background-color:var(--button-background-color-hover)}.back-button svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}footer{border-top:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}section.nav-cmp-list{grid-template-rows:64px auto 120px}footer a{text-decoration:underline;color:var(--primary-color)}footer a:hover{color:var(--primary-color);text-decoration:none}.nav-list{padding:2px 0}.nav-loading{pointer-events:none}.nav-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.nav-loading .nav-loading-icon{opacity:.5}.nav-list h4{margin:8px 8px 8px 10px;font-size:14px;font-weight:600}.nav-list .nav-list-item+h4{margin-top:30px}.nav-list-item{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;margin:2px 0;padding:8px 28px 8px 46px;width:100%;font-size:14px;font-weight:300;text-align:left;border:none;background:transparent;appearance:none}.nav-list-item:hover{background-color:var(--button-background-color-hover)}.nav-list-item-icon{position:absolute;top:4px;left:10px;width:24px;height:24px;object-fit:contain;filter:invert(100%);background-size:24px 24px;background-repeat:no-repeat;background-position:center center}.nav-list-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.nav-list-item:after{display:block;position:absolute;content:"";background-image:url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="%23F2F2F2" stroke-opacity="0.5" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');background-repeat:no-repeat;background-position:12px 9px;top:0;right:0;width:32px;height:32px;pointer-events:none}.nav-list-item-note{opacity:0;font-size:12px;padding-top:1px;text-align:right}.nav-list-item:hover .nav-list-item-note{opacity:.5}.ui-select{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-select h3{margin:0;font-size:14px;font-weight:500}.ui-select p{margin:8px 0;font-size:12px;font-weight:300}.ui-select .select{position:relative;margin:8px 0;border-radius:4px;padding:0;line-height:1.1;overflow:hidden;border:1px solid var(--border-color)}.ui-select select{appearance:none;background-color:transparent;border:none;outline:none;padding:8px 32px 8px 8px;margin:0;width:100%;font-size:14px;cursor:pointer;text-overflow:ellipsis;opacity:.6;color:var(--text-color)}.ui-select .select:after{content:"";top:6px;right:5px;width:24px;height:24px;position:absolute;background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23F2F2F2" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>');background-repeat:no-repeat;background-position:center;pointer-events:none;opacity:.6}.ui-select .select:hover{border-color:var(--primary-color-subdued)}.ui-text-input .select:focus-within{border-color:var(--primary-color)}.ui-text-input .select:focus-within select{opacity:1}.spinner:after{content:" ";display:block;width:32px;height:32px;margin:0 auto;pointer-events:auto;border-radius:50%;border:3px solid var(--text-color);border-color:var(--text-color) transparent var(--text-color) transparent;animation:spinner .75s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui-switch{display:grid;grid-template-columns:auto 48px;grid-gap:20px;margin:8px 0 16px;padding:8px 0 8px 16px;cursor:pointer}.ui-switch>*{pointer-events:none}.ui-switch input{display:none;visibility:hidden}.ui-switch .switcher{display:inline-block;border-radius:100px;width:35px;height:14px;background-color:#ccc;position:relative;top:6px;vertical-align:middle;cursor:pointer}.ui-switch input[type=checkbox]:checked+.switcher{background-color:var(--primary-color-subdued)}.ui-switch .switcher:before{content:"";display:block;width:20px;height:20px;background-color:var(--text-color);box-shadow:0 1px 3px #0009;border-radius:50%;position:absolute;top:-3px;left:0;margin-right:0;transition:all .15s}.ui-switch input[type=checkbox]:checked+.switcher:before{left:100%;margin-left:-20px;background-color:var(--primary-color)}.ui-switch h3{margin:0;font-size:14px;font-weight:500}.ui-switch p{margin:4px 0 0;font-size:12px;font-weight:300}.ui-text-input{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-text-input h3{margin:0;font-size:14px;font-weight:500}.ui-text-input p{margin:8px 0;font-size:12px;font-weight:300}.ui-text-input .input{position:relative;margin:8px 0;border:1px solid var(--border-color);border-radius:4px;background:transparent;padding:2px;overflow:hidden}.ui-text-input input{display:block;width:235px;font-size:14px;border:none;background:transparent;padding:6px;appearance:none;color:var(--text-color);opacity:.6;outline:none}.ui-text-input .input:hover{border-color:var(--primary-color-subdued)}.ui-text-input .input:focus-within{border-color:var(--primary-color)}.ui-text-input .input:focus-within input{opacity:1}.ui-text-input .input:after{content:"";position:absolute;top:5px;right:14px;width:8px;height:17px;border:2px solid rgba(51,181,51,1);border-top:none;border-left:none;transform:rotate(45deg);opacity:0;transition:opacity 80ms ease-in-out;pointer-events:none}.ui-text-input.saved .input:after{opacity:1}.ui-toast{position:fixed;bottom:8px;left:8px;right:8px;padding:6px 12px;font-size:14px;border-radius:4px;transform:translate3d(0,150%,0);opacity:0;transition:all var(--transition-time) ease-in-out;background-color:var(--primary-color-subdued);color:var(--text-color);pointer-events:none}.ui-toast.ui-toast-show{transform:translateZ(0);opacity:1;pointer-events:auto}[data-view=nav-home] .nav-home .section-content,[data-view=nav-cmp-list] .nav-cmp-list .section-content,[data-view=nav-cmp-detail] .nav-cmp-detail .section-content,[data-view=nav-cmp-input] .nav-cmp-input .section-content,[data-view=nav-settings] .nav-settings .section-content{transform:translateZ(0);pointer-events:auto}[data-view=nav-home] .nav-home header,[data-view=nav-home] .nav-home footer,[data-view=nav-cmp-list] .nav-cmp-list header,[data-view=nav-cmp-list] .nav-cmp-list footer,[data-view=nav-cmp-detail] .nav-cmp-detail header,[data-view=nav-cmp-detail] .nav-cmp-detail footer,[data-view=nav-cmp-input] .nav-cmp-input header,[data-view=nav-cmp-input] .nav-cmp-input footer,[data-view=nav-settings] .nav-settings header,[data-view=nav-settings] .nav-settings footer{opacity:1;pointer-events:auto}[data-view=nav-cmp-list] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-home .section-content,[data-view=nav-cmp-input] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-cmp-detail .section-content,[data-view=nav-settings] .nav-home .section-content{transform:translate3d(-105%,0,0)}.cmp-item .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.83 16.809C20.94 16.561 21 16.289 21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L7.988 3.99001M5.441 5.44801L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L18.544 18.56" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.532 10.538L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.27002 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 3L21 21" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');opacity:.3}.cmp-item.registered .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /></svg>');opacity:.8}.search-highlight{background-color:var(--primary-color-alpha);padding:0 2px;border-radius:2px;font-weight:500}.search-container{position:sticky;top:0;z-index:10;padding:12px 16px;background:var(--background-color);border-bottom:1px solid var(--border-color)}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:var(--text-color-secondary);pointer-events:none}.component-search-input{width:100%;height:36px;padding:8px 36px;border:1px solid var(--border-color);border-radius:6px;background:var(--input-background);color:var(--text-color);font-size:14px;transition:border-color .2s,box-shadow .2s}.component-search-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px var(--primary-color-alpha)}.component-search-input::placeholder{color:var(--text-color-tertiary)}.clear-search-button{position:absolute;right:8px;padding:4px;color:var(--text-color-secondary);border:none;background:transparent;border-radius:4px;cursor:pointer;opacity:0;transition:opacity .2s,background-color .2s;display:flex;align-items:center;justify-content:center}.clear-search-button:hover{background-color:var(--hover-color)}.component-search-input:not(:placeholder-shown)+.clear-search-button{opacity:1}.no-results{padding:32px 16px;text-align:center;color:var(--text-color-secondary);font-size:14px}#cmp-detail{position:relative}.cmp-loading{pointer-events:none!important}.cmp-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.cmp-loading .cmp-loading-icon{opacity:.5}.cmp-cover{position:absolute;top:160px;left:0;width:100%;height:100vh;background:var(--background-color);transform:translateZ(0);pointer-events:none;display:none}[data-view=nav-cmp-detail] .cmp-cover{display:block;pointer-events:auto}.cmp-enabled .cmp-cover{transform:translate3d(0,105%,0);pointer-events:none}.section-ready .cmp-cover{transition:all var(--transition-time) ease-in-out}.cmp-detail-inputs-container{margin:8px 0 16px;padding:0}.cmp-detail-inputs-container h3{margin:0 0 6px;padding-left:16px;padding-right:8px;font-size:14px;font-weight:500;display:flex;justify-content:space-between;align-items:center}.cmp-detail-inputs-reload{font-weight:300;font-size:.9em;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmp-detail-inputs-reload:hover{text-decoration:underline;color:var(--primary-color)}.cmp-detail-inputs-container .cmp-inputs-empty{padding:0;margin-top:12px;font-size:12px;font-weight:300;opacity:.5;font-style:italic}.cmp-detail-inputs-container .nav-list-item-icon{opacity:.8;background-size:20px 20px;background-position:4px center}.input-icon{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path></svg>')}.input-icon-array{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-6a2 2 0 1 1 4 0v6"></path> <path d="M10 13h4"></path></svg>')}.input-icon-boolean{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16h2a2 2 0 1 0 0 -4h-2h2a2 2 0 1 0 0 -4h-2v8z"></path></svg>')}.input-icon-number{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-8l4 8v-8"></path></svg>')}.input-icon-object{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M12 8a2 2 0 0 1 2 2v4a2 2 0 1 1 -4 0v-4a2 2 0 0 1 2 -2z"></path></svg>')}.input-icon-string{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 15a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1h-2a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1"></path></svg>')}.cmp-input-item-unregistered{opacity:.4}.cmp-input-item-unregistered .input-icon:after{content:"";position:absolute;top:11px;left:4px;width:20px;height:2px;background-color:#000;transform:rotate(-45deg)}.cmp-prop-info{border-bottom:1px solid var(--border-color)}.cmp-input-readonly{margin:16px 0;padding:0 16px;display:grid;grid-template-columns:50% 50%;gap:12px}.cmp-input-readonly h3{margin:0;font-size:14px;font-weight:500}.cmp-input-readonly span{margin-top:2px;font-size:12px;font-weight:300;opacity:.8}.cmp-input-detail{margin:16px 0}.cmp-input-detail a{color:var(--primary-color);text-decoration:none}.cmp-input-detail a:hover{text-decoration:underline}.input-cover{position:absolute;top:175px;left:0;width:100%;height:100%;background:var(--background-color);transform:translateZ(0);transition:all var(--transition-time) ease-in-out;pointer-events:auto}.input-enabled .input-cover{transform:translate3d(0,105%,0);pointer-events:none}.input-loading-icon{position:absolute;display:inline-block;top:190px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.input-loading .input-loading-icon{opacity:.5}:host{position:fixed;inset:0;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}aside{position:absolute;top:0;right:0;width:var(--menu-width);height:100%;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;background:var(--background-color);box-shadow:#000000c9 5px 0 20px;overflow:hidden;z-index:1}:host(.show-builder-menu) aside{pointer-events:auto;transform:translateZ(0)}#hit{position:absolute;inset:0;display:none}:host(.show-builder-menu) #hit{display:block;pointer-events:auto}#version{position:absolute;bottom:6px;right:6px;font-size:8px;color:#9b9b9b}</style><div id="hit"></div> <aside data-view="nav-home"> <section class="nav-home"> <header> <svg class="builder-logo" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> <div> <h2 class="builder-home-title">Builder Devtools</h2> <p><button id="go-to-builder">Go to Builder</button></p> </div> <button id="close" aria-label="Close Menu"> <svg viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M18 6l-12 12" /> <path d="M6 6l12 12" /> </svg> </button> </header> <div class="section-content"> <ul class="list"> <li> <button id="components-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Components</span> </button> </li> <li> <button id="settings-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.753 5.99 10.049 5.452 10.325 4.317Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.7956 15 13.5587 14.6839 14.1213 14.1213C14.6839 13.5587 15 12.7956 15 12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9C11.2044 9 10.4413 9.31607 9.87868 9.87868C9.31607 10.4413 9 11.2044 9 12Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Settings</span> </button> </li> <li> <button id="add-page-link"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M14 3v4a1 1 0 0 0 1 1h4" /> <path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /> <path d="M12 11l0 6" /> <path d="M9 14l6 0" /> </svg> <span>Add Builder Page</span> </button> </li> <li> <button id="import-from-figma"> <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-figma" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /> <path d="M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z" /> <path d="M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15" /> </svg> <span>Import From Figma</span> </button> </li> </ul> </div> <footer> <ul class="list"> <li> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdqZcJpRtm_Ia5DTHP6SDY9Xa6LID3KiTjRWkjMzWyJRUtSHw/viewform" target="_blank" > <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M11.013 17.0114L10.013 18.0114L2.513 10.5834C2.0183 10.102 1.62864 9.52342 1.36854 8.88404C1.10845 8.24466 0.983558 7.55836 1.00173 6.86834C1.01991 6.17832 1.18076 5.49954 1.47415 4.87474C1.76755 4.24994 2.18713 3.69266 2.70648 3.23799C3.22583 2.78331 3.8337 2.4411 4.49181 2.23289C5.14991 2.02468 5.844 1.95499 6.53036 2.02821C7.21673 2.10143 7.8805 2.31596 8.47987 2.65831C9.07925 3.00066 9.60124 3.46341 10.013 4.01741C10.8086 2.95654 11.9931 2.2552 13.3059 2.06766C14.6186 1.88012 15.9521 2.22176 17.013 3.01741C18.0739 3.81306 18.7752 4.99755 18.9627 6.3103C19.1503 7.62305 18.8086 8.95654 18.013 10.0174" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M18.2006 19.8175L16.0286 20.9555C15.9642 20.989 15.8917 21.004 15.8192 20.9987C15.7467 20.9934 15.6771 20.9681 15.6182 20.9256C15.5593 20.8831 15.5134 20.825 15.4855 20.7579C15.4577 20.6907 15.4491 20.6172 15.4606 20.5455L15.8756 18.1345L14.1186 16.4275C14.0662 16.3768 14.0291 16.3123 14.0115 16.2416C13.9939 16.1708 13.9966 16.0965 14.0192 16.0271C14.0418 15.9578 14.0835 15.8962 14.1394 15.8494C14.1954 15.8026 14.2634 15.7725 14.3356 15.7625L16.7636 15.4105L17.8496 13.2175C17.8821 13.1521 17.9322 13.0972 17.9942 13.0588C18.0562 13.0204 18.1277 13 18.2006 13C18.2736 13 18.3451 13.0204 18.4071 13.0588C18.4691 13.0972 18.5191 13.1521 18.5516 13.2175L19.6376 15.4105L22.0656 15.7625C22.1377 15.7728 22.2054 15.8031 22.2611 15.85C22.3168 15.8968 22.3583 15.9583 22.3809 16.0275C22.4034 16.0967 22.4062 16.1708 22.3888 16.2415C22.3715 16.3122 22.3347 16.3766 22.2826 16.4275L20.5256 18.1345L20.9396 20.5445C20.9521 20.6163 20.9441 20.6902 20.9166 20.7578C20.8891 20.8254 20.8433 20.8839 20.7842 20.9267C20.7252 20.9695 20.6553 20.9949 20.5825 21C20.5098 21.005 20.4371 20.9896 20.3726 20.9555L18.2006 19.8175Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Give Feedback</span> </a> </li> </ul> <div id="version"></div> </footer> </section> <section class="nav-cmp-list"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div class="search-container"> <div class="search-input-wrapper"> <svg class="search-icon" viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M15.5 15.5L20 20M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z" /> </svg> <input type="text" id="component-search" class="component-search-input" placeholder="Search components..." autocomplete="off" spellcheck="false" /> <button id="clear-search" class="clear-search-button" type="button" aria-label="Clear search" > <svg viewBox="0 0 24 24" width="16" height="16"> <path fill="none" stroke="currentColor" stroke-width="2" d="M6 6l12 12M6 18L18 6" /> </svg> </button> </div> </div> <div> <h2>Custom Components</h2> <p> <button id="open-builder-registry"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-list" class="cmp-list nav-list"></div> </div> <div class="nav-loading-icon spinner"></div> <footer> <p class="info"> Expand on Builder's selection of built-in blocks by <a target="_blank" href="https://www.builder.io/c/docs/custom-components-intro" >registering components</a > from your codebase. This way, teammates can drag and drop your components within Builder's Visual Editor just like any other block. </p> </footer> </section> <section class="nav-cmp-detail"> <header> <button class="back-button" data-back="nav-cmp-list"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-detail-title"></h2> <p> <button id="cmp-open-source"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-error"></div> <label class="ui-switch"> <div> <h3>Register Component</h3> <p> Registers this component so it can be used within Builder Visual CMS </p> </div> <input type="checkbox" role="switch" id="cmp-register" /> <span class="switcher"></span> </label> <div id="cmp-detail"> <label class="ui-text-input"> <h3>Component Name</h3> <div class="input"> <input type="text" id="cmp-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="2" maxlength="30" required placeholder="e.g. My Counter" /> </div> <p> Unique name to identify this custom component within Builder. Press ESC to cancel </p> </label> <div class="cmp-detail-inputs-container"> <h3> <span>Builder Inputs (Props)</span> <button class="cmp-detail-inputs-reload" id="btn-inputs-reload"> Reload </button> </h3> <div id="cmp-detail-inputs"></div> </div> </div> </div> <div class="cmp-cover"></div> <div class="cmp-loading-icon spinner"></div> </section> <section class="nav-cmp-input"> <header> <button class="back-button" data-back="nav-cmp-detail"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-input-title"></h2> <p> <button id="input-open-source"></button> </p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable Input</h3> <p>Add this component prop as a Builder input</p> </div> <input type="checkbox" role="switch" id="input-register" /> <span class="switcher"></span> </label> <div class="cmp-prop-info"> <div class="cmp-input-readonly"> <h3>Prop Name</h3> <span id="cmp-prop-name"></span> </div> <div class="cmp-input-readonly"> <h3>Prop Type</h3> <span id="cmp-prop-type"></span> </div> </div> <div class="cmp-input-detail"> <label class="ui-text-input"> <h3>Builder Input Name</h3> <div class="input"> <input type="text" id="input-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="1" maxlength="30" required placeholder="e.g. Text" /> </div> <p> Friendly name to identify this component prop as a Builder input. Press ESC to cancel </p> </label> <label class="ui-select"> <h3>Builder Input Type</h3> <div class="select"> <select id="input-type"></select> </div> <p> Correlate to what editing UI is appropriate for this Builder input. <a href="https://www.builder.io/c/docs/custom-components-input-types" target="_blank" >Read more about input types.</a > </p> </label> </div> <div class="input-cover"></div> <div class="input-loading-icon spinner"></div> </div> </section> <section class="nav-settings"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Settings</h2> <p>Configure Builder's Devtools</p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable edit button in UI</h3> <p>Enables the edit button so you can edit content in Builder</p> </div> <input type="checkbox" role="switch" id="enable-edit" /> <span class="switcher"></span> </label> </div> </section> <div class="ui-toast" id="toast"></div> </aside> <button class="menu-toggle" aria-label="Toggle Builder Devtools"> <div> <div class="highlight-bg"></div> <svg viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> </div> </button>\`,ai(e),ui(e),oi(e),ri(e),ti(e),ci(e),this.setAttribute("aria-hidden","true"),e.getElementById("version").textContent="v1.31.0-beta.202603091834.146408d"}highlightOpener(){let e=this.shadowRoot.querySelector(".menu-toggle");e.classList.add("menu-toggle-highlight"),e.classList.add("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight-no-transition"),setTimeout(()=>{e.classList.remove("menu-toggle-highlight")},20)},20)}};var lo=\`<style>*,*:before,*:after{box-sizing:border-box}html,body,:host{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:2147483646;margin:0;padding:0;line-height:1.8;font-family: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";background-color:#252525;color:#fff;transition:opacity .25s ease-in-out}:host([aria-hidden="true"]){opacity:0;pointer-events:none}main{position:absolute;top:0;left:0;width:100%;height:100vh}h1{margin-top:0;font-size:24px;font-weight:300;line-height:1.4}p{margin:20px 0;font-weight:300}button{cursor:pointer}aside{position:absolute;top:0;left:0;width:350px;height:100vh;padding:60px 0 0 50px;background-color:#121212}aside ul{margin:30px 0 0;padding:0;list-style:none}aside li{position:relative;margin:0;padding:20px 10px;font-weight:300}aside li.highlight{color:#48a1ff}aside li.active{font-weight:700}aside li .circle{position:absolute;top:20px;left:10px;width:24px;height:24px;border:3px solid white;border-radius:50%;font-size:14px}aside li.highlight .circle{border-color:#48a1ff}aside li.active .circle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background-color:#48a1ff}aside li.completed .circle{background-color:#48a1ff}aside li.completed .circle:after{content:"";position:absolute;top:2px;left:6px;width:6px;height:13px;border:3px solid black;border-top:none;border-left:none;transform:rotate(45deg)}aside li .line{position:absolute;top:44px;left:21px;width:3px;height:45px;background-color:#fff}aside li.completed .line{background-color:#48a1ff}aside li span{display:block;margin-left:44px}nav{margin-top:30px}section{position:absolute;top:135px;left:350px;padding:0 80px 0 140px;transition:opacity .15s ease-in-out}section[aria-hidden=true]{pointer-events:none;opacity:0}section h1,section p{min-width:300px;max-width:600px}.button{position:relative;display:inline-block;color:#fff;background-color:#48a1ff;border-radius:4px;text-decoration:none;padding:10px 40px 10px 20px;white-space:nowrap}.button:hover{background-color:#48a1ffd9}#button-icon{position:absolute;top:1px;right:5px;bottom:0;width:30px;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="white" stroke-linecap="square" stroke-miterlimit="10" stroke-width="48" d="M184 112l144 144-144 144"/></svg>');background-repeat:no-repeat;background-position:center;background-size:24px 24px}.button[aria-disabled=true]{opacity:.9;background-color:#ffffff4d;pointer-events:none;padding-right:60px}.button[aria-disabled=true] #button-icon{top:21px;right:29px;width:8px;height:8px;border-radius:4px;background:#fff;color:#fff;animation:dot-flashing .5s infinite linear alternate;animation-delay:.25s}.button[aria-disabled=true] #button-icon:before,.button[aria-disabled=true] #button-icon:after{content:"";display:inline-block;position:absolute;top:0}.button[aria-disabled=true] #button-icon:before{left:-12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:0s}.button[aria-disabled=true] #button-icon:after{left:12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:.5s}@keyframes dot-flashing{0%{background-color:#fff}50%,to{background-color:#ffffff4d}}.logo{margin-left:9px;background:url('data:image/svg+xml,<svg viewBox="0 0 150 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <g clip-path="url(%23clip0_4_304)"> <path d="M27.9858 8.99927C27.9872 10.3415 27.688 11.667 27.1101 12.8783C26.5321 14.0896 25.6902 15.156 24.6462 15.9989V15.9989L0.634502 2.36355C0.542657 2.31119 0.457444 2.24796 0.380701 2.17523C0.260289 2.05715 0.164605 1.91624 0.0992389 1.76075C0.0338732 1.60525 0.000136546 1.43828 0 1.26959C0 0.932873 0.133698 0.609948 0.371683 0.371854C0.609667 0.13376 0.932443 0 1.269 0L18.9906 0C21.3763 0 23.6642 0.948135 25.3512 2.63583C27.0381 4.32352 27.9858 6.61252 27.9858 8.99927V8.99927Z" fill="%2318B4F4" /> <path d="M27.9858 22.9986C27.9861 24.1806 27.7536 25.351 27.3017 26.4431C26.8498 27.5352 26.1873 28.5275 25.352 29.3634C24.5167 30.1993 23.5249 30.8624 22.4335 31.3147C21.342 31.7671 20.1721 32 18.9907 32H1.26906C1.01802 31.9973 0.77343 31.9202 0.566221 31.7784C0.359012 31.6366 0.198499 31.4364 0.104989 31.2034C0.0114791 30.9703 -0.0108254 30.7147 0.0408974 30.4689C0.0926201 30.2231 0.216046 29.9982 0.395559 29.8226V29.8226C0.467112 29.7508 0.547407 29.6882 0.634555 29.6364L10.0844 24.2703L24.6441 16.001C25.688 16.8438 26.53 17.9097 27.1083 19.1206C27.6866 20.3315 27.9864 21.6566 27.9858 22.9986V22.9986Z" fill="%23FD6B3C" /> <path d="M24.6461 15.9989L10.0843 24.2703L0.634458 29.6365C0.54372 29.6868 0.459841 29.7487 0.384888 29.8205C3.98804 26.1233 6.00266 21.1627 5.99812 15.9989C6.0049 10.8346 3.99085 5.87268 0.387003 2.17523C0.463746 2.24796 0.548959 2.31119 0.640803 2.36355L24.6461 15.9989Z" fill="%23A97FF2" /> <path d="M47.6659 11.7352C51.8177 11.7352 54.1632 15.0531 54.1632 19.0714C54.1632 23.0896 51.8177 26.3821 47.6659 26.3821C45.5086 26.3821 43.8589 25.5188 42.9473 24.0545L42.5709 26.052H39.9736V6.77115H43.1884V13.8914C43.971 12.6959 45.5086 11.7352 47.6659 11.7352ZM47.0187 23.5488C49.4446 23.5488 50.9547 21.5809 50.9547 19.0714C50.9547 16.5089 49.4446 14.5664 47.0187 14.5664C44.5928 14.5664 43.0806 16.5047 43.0806 19.0714C43.0806 21.583 44.5653 23.5488 47.0187 23.5488V23.5488Z" fill="white" /> <path d="M65.4595 20.2859V12.0611H68.668V20.123C68.668 23.7202 67.0246 26.3821 62.4943 26.3821C57.9639 26.3821 56.3206 23.7117 56.3206 20.123V12.0611H59.529V20.2859C59.529 22.4696 60.5527 23.5488 62.49 23.5488C64.4274 23.5488 65.4595 22.4696 65.4595 20.2859Z" fill="white" /> <path d="M71.2355 7.74451C71.2247 7.46284 71.2724 7.18199 71.3755 6.91968C71.4787 6.65737 71.6351 6.41929 71.8348 6.22047C72.0345 6.02165 72.2732 5.8664 72.5359 5.76452C72.7986 5.66264 73.0796 5.61633 73.3611 5.62853C74.5793 5.62853 75.4571 6.50666 75.4571 7.75509C75.4571 9.00352 74.5793 9.8224 73.3611 9.8224C72.1428 9.8224 71.2355 8.9612 71.2355 7.74451Z" fill="white" /> <path d="M128.476 7.74451C128.465 7.46376 128.513 7.18383 128.615 6.92227C128.718 6.66071 128.873 6.42315 129.072 6.22449C129.27 6.02583 129.508 5.87035 129.769 5.7678C130.031 5.66524 130.31 5.61783 130.591 5.62852C131.809 5.62852 132.687 6.50666 132.687 7.75509C132.687 9.00352 131.809 9.8224 130.591 9.8224C129.373 9.8224 128.476 8.9612 128.476 7.74451Z" fill="white" /> <path d="M122.302 24.1031C122.291 23.8223 122.339 23.5422 122.441 23.2805C122.543 23.0188 122.699 22.7811 122.897 22.5824C123.096 22.3837 123.334 22.2282 123.595 22.1258C123.857 22.0233 124.137 21.9761 124.417 21.9872C125.636 21.9872 126.513 22.8653 126.513 24.1031C126.513 25.341 125.636 26.1726 124.417 26.1726C123.199 26.1726 122.302 25.3219 122.302 24.1031Z" fill="white" /> <path d="M74.9516 12.059H71.7432V26.0583H74.9516V12.059Z" fill="white" /> <path d="M78.16 26.0583V6.77115H81.3685V26.0626L78.16 26.0583Z" fill="white" /> <path d="M94.6063 6.77115H97.8148V26.0626H95.2239L94.8474 24.0651C93.9591 25.523 92.3094 26.3927 90.131 26.3927C86.0046 26.3927 83.6591 23.0748 83.6591 19.0819C83.6591 15.0891 86.0046 11.7458 90.131 11.7458C92.3137 11.7458 93.8238 12.7149 94.6063 13.902V6.77115ZM90.7993 14.5707C88.3734 14.5707 86.8633 16.5131 86.8633 19.0756C86.8633 21.5851 88.3734 23.553 90.7993 23.553C93.2252 23.553 94.7354 21.5851 94.7354 19.0756C94.7396 16.5047 93.257 14.5664 90.8036 14.5664L90.7993 14.5707Z" fill="white" /> <path d="M113.479 22.2284C112.482 24.7359 110.162 26.3821 107.117 26.3821C102.887 26.3821 100.137 23.225 100.137 19.0439C100.137 14.9706 102.942 11.7353 107.093 11.7353C111.245 11.7353 113.969 14.8902 113.969 18.991C113.982 19.3255 113.953 19.6604 113.883 19.9876H103.288C103.53 22.2009 104.959 23.6292 107.197 23.6292C108.735 23.6292 110.001 22.8738 110.594 21.473L113.479 22.2284ZM103.341 17.6156H110.784C110.513 15.6731 109.166 14.3506 107.089 14.3506C105.012 14.3506 103.665 15.7006 103.341 17.6156V17.6156Z" fill="white" /> <path d="M123.779 14.9452C123.538 14.9117 123.295 14.8933 123.051 14.8902C120.786 14.8902 119.439 16.0772 119.439 18.7751V26.0583H116.23V12.0611H118.821L119.195 14.0014C119.707 13.1127 120.887 11.9257 123.322 11.9257C123.455 11.9257 123.779 11.9532 123.779 11.9532V14.9452Z" fill="white" /> <path d="M132.192 12.059H128.984V26.0583H132.192V12.059Z" fill="white" /> <path d="M134.483 19.0714C134.483 15.1335 137.287 11.7353 141.735 11.7353C146.183 11.7353 149.015 15.1335 149.015 19.0714C149.015 23.0092 146.213 26.3821 141.735 26.3821C137.258 26.3821 134.483 23.0092 134.483 19.0714ZM141.735 23.5488C144.083 23.5488 145.806 21.7692 145.806 19.0714C145.806 16.3735 144.083 14.5664 141.735 14.5664C139.387 14.5664 137.687 16.346 137.687 19.0714C137.687 21.7968 139.417 23.5488 141.735 23.5488V23.5488Z" fill="white" /> </g> <defs> <clipPath id="clip0_4_304"> <rect width="149.015" height="32" fill="white" /> </clipPath> </defs> </svg>');background-repeat:no-repeat;width:150px;height:32px}@media (max-width: 840px){aside{width:250px;padding:60px 0 0 20px}section{left:250px;padding:0 80px}}@media (max-width: 590px){aside{width:230px;padding:60px 0 0 10px}section{left:230px;padding:0 40px}}#modified-files-message a{color:#cbcbcb;font-weight:300;text-decoration:underline}#modified-files-message a:hover{color:#fff;text-decoration:none}#restart-warning{border-radius:4px;padding:8px 16px;border:1px solid #fd6b3c;background:#fd6b3c1a}#react-router-steps{margin:0 0 5px;padding:0 20px}#need-help{color:#48a1ff;text-decoration:none}#router-message{border-radius:4px;padding:16px;border:1px solid #48a1ff}#router-finish-button{margin-top:12px}#router-checkbox-div{display:flex;align-items:center}#router-checkbox{margin-right:10px;width:15px;height:15px}#success-title{display:flex;align-items:center;gap:10px}#success-title .check-icon{display:inline-block;width:24px;height:24px;border:2px solid #28a745;border-radius:50%;position:relative}#success-title .check-icon:before{content:"";position:absolute;top:50%;left:50%;width:6px;height:12px;border:solid #28a745;border-width:0 2px 2px 0;transform:translate(-50%,-60%) rotate(45deg)}
1288
1288
  </style>\`,Dt=class extends HTMLElement{constructor(){super()}connectedCallback(){let e=this.attachShadow({mode:"open"});e.innerHTML=lo+\`<main>
1289
1289
  <aside>
1290
1290
  <div class="logo"></div>
@@ -1323,7 +1323,7 @@ Restarting server after Builder Devtools update...
1323
1323
  </nav>
1324
1324
  </section>
1325
1325
  </main>
1326
- \`,po();let r=new URL(Vr,ot);r.searchParams.set(Mr,location.href);let n=e.querySelectorAll(".next-step");for(let i of n)i.setAttribute("href",r.href);ye("overview step viewed")}},po=()=>{let t=document.head.querySelector("link[rel='icon'], link[rel='icon shortcut']");t?(t.href="https://cdn.builder.io/favicon.ico",t.removeAttribute("type")):(t=document.createElement("link"),t.rel="icon",t.href="https://cdn.builder.io/favicon.ico",document.head.appendChild(t))};var li=async()=>{(await qr()).isValid||fo()},fo=()=>{customElements.get("builder-dev-tools-overview")||customElements.define("builder-dev-tools-overview",Dt);let t=document.querySelector("builder-dev-tools-overview");t||(t=document.createElement("builder-dev-tools-overview"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),setTimeout(()=>{t.removeAttribute("aria-hidden")},32)};var mo=()=>{try{customElements.get("builder-dev-tools-edit")||customElements.define("builder-dev-tools-edit",st),customElements.get("builder-dev-tools-menu")||customElements.define("builder-dev-tools-menu",At);let t=document.querySelector("builder-dev-tools-menu");t||(t=document.createElement("builder-dev-tools-menu"),t.setAttribute("data-version","1.30.2-beta.202603091820.6674dc7"),document.body.appendChild(t));let e=document.querySelector("builder-dev-tools-edit");e||(e=document.createElement("builder-dev-tools-edit"),document.body.appendChild(e));let r=document.getElementById("builder-dev-tools-style");r||(r=document.createElement("style"),r.id="builder-dev-tools-style",r.innerHTML=".builder-no-scroll{overflow:hidden !important}",document.head.appendChild(r)),li(),Jn()}catch(t){console.error("Builder Devtools:",t)}};window.location===window.parent.location&&(console.debug("Builder.io Devtools v1.30.2-beta.202603091820.6674dc7"),mo());})();`)}async function lee(t){return pee(t,`<!doctype html>
1326
+ \`,po();let r=new URL(Vr,ot);r.searchParams.set(Mr,location.href);let n=e.querySelectorAll(".next-step");for(let i of n)i.setAttribute("href",r.href);ye("overview step viewed")}},po=()=>{let t=document.head.querySelector("link[rel='icon'], link[rel='icon shortcut']");t?(t.href="https://cdn.builder.io/favicon.ico",t.removeAttribute("type")):(t=document.createElement("link"),t.rel="icon",t.href="https://cdn.builder.io/favicon.ico",document.head.appendChild(t))};var li=async()=>{(await qr()).isValid||fo()},fo=()=>{customElements.get("builder-dev-tools-overview")||customElements.define("builder-dev-tools-overview",Dt);let t=document.querySelector("builder-dev-tools-overview");t||(t=document.createElement("builder-dev-tools-overview"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),setTimeout(()=>{t.removeAttribute("aria-hidden")},32)};var mo=()=>{try{customElements.get("builder-dev-tools-edit")||customElements.define("builder-dev-tools-edit",st),customElements.get("builder-dev-tools-menu")||customElements.define("builder-dev-tools-menu",At);let t=document.querySelector("builder-dev-tools-menu");t||(t=document.createElement("builder-dev-tools-menu"),t.setAttribute("data-version","1.31.0-beta.202603091834.146408d"),document.body.appendChild(t));let e=document.querySelector("builder-dev-tools-edit");e||(e=document.createElement("builder-dev-tools-edit"),document.body.appendChild(e));let r=document.getElementById("builder-dev-tools-style");r||(r=document.createElement("style"),r.id="builder-dev-tools-style",r.innerHTML=".builder-no-scroll{overflow:hidden !important}",document.head.appendChild(r)),li(),Jn()}catch(t){console.error("Builder Devtools:",t)}};window.location===window.parent.location&&(console.debug("Builder.io Devtools v1.31.0-beta.202603091834.146408d"),mo());})();`)}async function lee(t){return pee(t,`<!doctype html>
1327
1327
  <html lang="en" dir="ltr">
1328
1328
  <head>
1329
1329
  <meta charset="utf-8" />
@@ -1799,8 +1799,8 @@ ${e}`.toLowerCase();return i.some(r=>r.test(n))}});function VKe(t){let e=t.repla
1799
1799
  if (${B}.issues.length) payload.issues = payload.issues.concat(${B}.issues.map(iss => ({
1800
1800
  ...iss,
1801
1801
  path: iss.path ? [${pp(I)}, ...iss.path] : [${pp(I)}]
1802
- })));`),p.write(`newResult[${pp(I)}] = ${B}.value`)}p.write("payload.value = newResult;"),p.write("return payload;");let C=p.compile();return(I,B)=>C(l,I,B)},r,s=im,o=!_0.jitless,A=o&&SP.value,c=e.catchall,u;t._zod.parse=(l,p)=>{u??(u=i.value);let g=l.value;if(!s(g))return l.issues.push({expected:"object",code:"invalid_type",input:g,inst:t}),l;let d=[];if(o&&A&&p?.async===!1&&p.jitless!==!0)r||(r=n(e.shape)),l=r(l,p);else{l.value={};let B=u.shape;for(let E of u.keys){let Q=B[E],y=Q._zod.run({value:g[E],issues:[]},p),x=Q._zod.optin==="optional"&&Q._zod.optout==="optional";y instanceof Promise?d.push(y.then(v=>x?sse(v,l,E,g):$0(v,l,E))):x?sse(y,l,E,g):$0(y,l,E)}}if(!c)return d.length?Promise.all(d).then(()=>l):l;let m=[],h=u.keySet,C=c._zod,I=C.def.type;for(let B of Object.keys(g)){if(h.has(B))continue;if(I==="never"){m.push(B);continue}let E=C.run({value:g[B],issues:[]},p);E instanceof Promise?d.push(E.then(Q=>$0(Q,l,B))):$0(E,l,B)}return m.length&&l.issues.push({code:"unrecognized_keys",keys:m,input:g,inst:t}),d.length?Promise.all(d).then(()=>l):l}});zP=ce("$ZodUnion",(t,e)=>{si.init(t,e),Bi(t._zod,"optin",()=>e.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Bi(t._zod,"optout",()=>e.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Bi(t._zod,"values",()=>{if(e.options.every(i=>i._zod.values))return new Set(e.options.flatMap(i=>Array.from(i._zod.values)))}),Bi(t._zod,"pattern",()=>{if(e.options.every(i=>i._zod.pattern)){let i=e.options.map(n=>n._zod.pattern);return new RegExp(`^(${i.map(n=>WC(n.source)).join("|")})$`)}}),t._zod.parse=(i,n)=>{let r=!1,s=[];for(let o of e.options){let a=o._zod.run({value:i.value,issues:[]},n);if(a instanceof Promise)s.push(a),r=!0;else{if(a.issues.length===0)return a;s.push(a)}}return r?Promise.all(s).then(o=>ose(o,i,t,n)):ose(s,i,t,n)}}),$se=ce("$ZodDiscriminatedUnion",(t,e)=>{zP.init(t,e);let i=t._zod.parse;Bi(t._zod,"propValues",()=>{let r={};for(let s of e.options){let o=s._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(let[a,A]of Object.entries(o)){r[a]||(r[a]=new Set);for(let c of A)r[a].add(c)}}return r});let n=zC(()=>{let r=e.options,s=new Map;for(let o of r){let a=o._zod.propValues[e.discriminator];if(!a||a.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(o)}"`);for(let A of a){if(s.has(A))throw new Error(`Duplicate discriminator value "${String(A)}"`);s.set(A,o)}}return s});t._zod.parse=(r,s)=>{let o=r.value;if(!im(o))return r.issues.push({code:"invalid_type",expected:"object",input:o,inst:t}),r;let a=n.value.get(o?.[e.discriminator]);return a?a._zod.run(r,s):e.unionFallback?i(r,s):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:o,path:[e.discriminator],inst:t}),r)}}),qse=ce("$ZodIntersection",(t,e)=>{si.init(t,e),t._zod.parse=(i,n)=>{let r=i.value,s=e.left._zod.run({value:r,issues:[]},n),o=e.right._zod.run({value:r,issues:[]},n);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([A,c])=>ase(i,A,c)):ase(i,s,o)}});zse=ce("$ZodRecord",(t,e)=>{si.init(t,e),t._zod.parse=(i,n)=>{let r=i.value;if(!nm(r))return i.issues.push({expected:"record",code:"invalid_type",input:r,inst:t}),i;let s=[];if(e.keyType._zod.values){let o=e.keyType._zod.values;i.value={};for(let A of o)if(typeof A=="string"||typeof A=="number"||typeof A=="symbol"){let c=e.valueType._zod.run({value:r[A],issues:[]},n);c instanceof Promise?s.push(c.then(u=>{u.issues.length&&i.issues.push(...mA(A,u.issues)),i.value[A]=u.value})):(c.issues.length&&i.issues.push(...mA(A,c.issues)),i.value[A]=c.value)}let a;for(let A in r)o.has(A)||(a=a??[],a.push(A));a&&a.length>0&&i.issues.push({code:"unrecognized_keys",input:r,inst:t,keys:a})}else{i.value={};for(let o of Reflect.ownKeys(r)){if(o==="__proto__")continue;let a=e.keyType._zod.run({value:o,issues:[]},n);if(a instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(a.issues.length){i.issues.push({origin:"record",code:"invalid_key",issues:a.issues.map(c=>Ba(c,n,zs())),input:o,path:[o],inst:t}),i.value[a.value]=a.value;continue}let A=e.valueType._zod.run({value:r[o],issues:[]},n);A instanceof Promise?s.push(A.then(c=>{c.issues.length&&i.issues.push(...mA(o,c.issues)),i.value[a.value]=c.value})):(A.issues.length&&i.issues.push(...mA(o,A.issues)),i.value[a.value]=A.value)}}return s.length?Promise.all(s).then(()=>i):i}}),Vse=ce("$ZodEnum",(t,e)=>{si.init(t,e);let i=xP(e.entries);t._zod.values=new Set(i),t._zod.pattern=new RegExp(`^(${i.filter(n=>FP.has(typeof n)).map(n=>typeof n=="string"?Su(n):n.toString()).join("|")})$`),t._zod.parse=(n,r)=>{let s=n.value;return t._zod.values.has(s)||n.issues.push({code:"invalid_value",values:i,input:s,inst:t}),n}}),Wse=ce("$ZodLiteral",(t,e)=>{si.init(t,e),t._zod.values=new Set(e.values),t._zod.pattern=new RegExp(`^(${e.values.map(i=>typeof i=="string"?Su(i):i?i.toString():String(i)).join("|")})$`),t._zod.parse=(i,n)=>{let r=i.value;return t._zod.values.has(r)||i.issues.push({code:"invalid_value",values:e.values,input:r,inst:t}),i}}),Zse=ce("$ZodTransform",(t,e)=>{si.init(t,e),t._zod.parse=(i,n)=>{let r=e.transform(i.value,i);if(n.async)return(r instanceof Promise?r:Promise.resolve(r)).then(o=>(i.value=o,i));if(r instanceof Promise)throw new Ac;return i.value=r,i}}),Xse=ce("$ZodOptional",(t,e)=>{si.init(t,e),t._zod.optin="optional",t._zod.optout="optional",Bi(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),Bi(t._zod,"pattern",()=>{let i=e.innerType._zod.pattern;return i?new RegExp(`^(${WC(i.source)})?$`):void 0}),t._zod.parse=(i,n)=>e.innerType._zod.optin==="optional"?e.innerType._zod.run(i,n):i.value===void 0?i:e.innerType._zod.run(i,n)}),eoe=ce("$ZodNullable",(t,e)=>{si.init(t,e),Bi(t._zod,"optin",()=>e.innerType._zod.optin),Bi(t._zod,"optout",()=>e.innerType._zod.optout),Bi(t._zod,"pattern",()=>{let i=e.innerType._zod.pattern;return i?new RegExp(`^(${WC(i.source)}|null)$`):void 0}),Bi(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(i,n)=>i.value===null?i:e.innerType._zod.run(i,n)}),toe=ce("$ZodDefault",(t,e)=>{si.init(t,e),t._zod.optin="optional",Bi(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>{if(i.value===void 0)return i.value=e.defaultValue,i;let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(s=>Ase(s,e)):Ase(r,e)}});ioe=ce("$ZodPrefault",(t,e)=>{si.init(t,e),t._zod.optin="optional",Bi(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>(i.value===void 0&&(i.value=e.defaultValue),e.innerType._zod.run(i,n))}),noe=ce("$ZodNonOptional",(t,e)=>{si.init(t,e),Bi(t._zod,"values",()=>{let i=e.innerType._zod.values;return i?new Set([...i].filter(n=>n!==void 0)):void 0}),t._zod.parse=(i,n)=>{let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(s=>cse(s,t)):cse(r,t)}});roe=ce("$ZodCatch",(t,e)=>{si.init(t,e),t._zod.optin="optional",Bi(t._zod,"optout",()=>e.innerType._zod.optout),Bi(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>{let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(s=>(i.value=s.value,s.issues.length&&(i.value=e.catchValue({...i,error:{issues:s.issues.map(o=>Ba(o,n,zs()))},input:i.value}),i.issues=[]),i)):(i.value=r.value,r.issues.length&&(i.value=e.catchValue({...i,error:{issues:r.issues.map(s=>Ba(s,n,zs()))},input:i.value}),i.issues=[]),i)}}),soe=ce("$ZodPipe",(t,e)=>{si.init(t,e),Bi(t._zod,"values",()=>e.in._zod.values),Bi(t._zod,"optin",()=>e.in._zod.optin),Bi(t._zod,"optout",()=>e.out._zod.optout),t._zod.parse=(i,n)=>{let r=e.in._zod.run(i,n);return r instanceof Promise?r.then(s=>use(s,e,n)):use(r,e,n)}});ooe=ce("$ZodReadonly",(t,e)=>{si.init(t,e),Bi(t._zod,"propValues",()=>e.innerType._zod.propValues),Bi(t._zod,"values",()=>e.innerType._zod.values),Bi(t._zod,"optin",()=>e.innerType._zod.optin),Bi(t._zod,"optout",()=>e.innerType._zod.optout),t._zod.parse=(i,n)=>{let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(lse):lse(r)}});aoe=ce("$ZodCustom",(t,e)=>{Lr.init(t,e),si.init(t,e),t._zod.parse=(i,n)=>i,t._zod.check=i=>{let n=i.value,r=e.fn(n);if(r instanceof Promise)return r.then(s=>pse(s,i,n,t));pse(r,i,n,t)}})});function coe(){return{localeError:UHe()}}var LHe,UHe,uoe=T(()=>{f();cc();LHe=t=>{let e=typeof t;switch(e){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return e},UHe=()=>{let t={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function e(n){return t[n]??null}let i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`Invalid input: expected ${n.expected}, received ${LHe(n.input)}`;case"invalid_value":return n.values.length===1?`Invalid input: expected ${G0(n.values[0])}`:`Invalid option: expected one of ${L0(n.values,"|")}`;case"too_big":{let r=n.inclusive?"<=":"<",s=e(n.origin);return s?`Too big: expected ${n.origin??"value"} to have ${r}${n.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${n.origin??"value"} to be ${r}${n.maximum.toString()}`}case"too_small":{let r=n.inclusive?">=":">",s=e(n.origin);return s?`Too small: expected ${n.origin} to have ${r}${n.minimum.toString()} ${s.unit}`:`Too small: expected ${n.origin} to be ${r}${n.minimum.toString()}`}case"invalid_format":{let r=n;return r.format==="starts_with"?`Invalid string: must start with "${r.prefix}"`:r.format==="ends_with"?`Invalid string: must end with "${r.suffix}"`:r.format==="includes"?`Invalid string: must include "${r.includes}"`:r.format==="regex"?`Invalid string: must match pattern ${r.pattern}`:`Invalid ${i[r.format]??n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${L0(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}}});var z0=T(()=>{f()});function loe(){return new WP}var GHe,OHe,WP,rm,poe=T(()=>{f();GHe=Symbol("ZodOutput"),OHe=Symbol("ZodInput"),WP=class{constructor(){this._map=new Map,this._idmap=new Map}add(e,...i){let n=i[0];if(this._map.set(e,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){let i=this._map.get(e);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(e),this}get(e){let i=e._zod.parent;if(i){let n={...this.get(i)??{}};return delete n.id,{...n,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}};rm=loe()});function goe(t,e){return new t({type:"string",...$e(e)})}function doe(t,e){return new t({type:"string",coerce:!0,...$e(e)})}function moe(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...$e(e)})}function ZP(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...$e(e)})}function foe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...$e(e)})}function hoe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...$e(e)})}function Coe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...$e(e)})}function Ioe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...$e(e)})}function XP(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...$e(e)})}function Eoe(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...$e(e)})}function Boe(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...$e(e)})}function Qoe(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...$e(e)})}function yoe(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...$e(e)})}function Doe(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...$e(e)})}function xoe(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...$e(e)})}function voe(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...$e(e)})}function woe(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...$e(e)})}function boe(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...$e(e)})}function Soe(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...$e(e)})}function Foe(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...$e(e)})}function koe(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...$e(e)})}function Roe(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...$e(e)})}function Noe(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...$e(e)})}function Toe(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...$e(e)})}function Moe(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...$e(e)})}function Poe(t,e){return new t({type:"string",format:"date",check:"string_format",...$e(e)})}function _oe(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...$e(e)})}function Loe(t,e){return new t({type:"string",format:"duration",check:"string_format",...$e(e)})}function Uoe(t,e){return new t({type:"number",checks:[],...$e(e)})}function Goe(t,e){return new t({type:"number",coerce:!0,checks:[],...$e(e)})}function Ooe(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...$e(e)})}function Koe(t,e){return new t({type:"boolean",...$e(e)})}function Hoe(t,e){return new t({type:"boolean",coerce:!0,...$e(e)})}function Joe(t,e){return new t({type:"bigint",coerce:!0,...$e(e)})}function joe(t,e){return new t({type:"null",...$e(e)})}function Yoe(t){return new t({type:"any"})}function $oe(t){return new t({type:"unknown"})}function qoe(t,e){return new t({type:"never",...$e(e)})}function zoe(t,e){return new t({type:"date",coerce:!0,...$e(e)})}function sm(t,e){return new HP({check:"less_than",...$e(e),value:t,inclusive:!1})}function uc(t,e){return new HP({check:"less_than",...$e(e),value:t,inclusive:!0})}function om(t,e){return new JP({check:"greater_than",...$e(e),value:t,inclusive:!1})}function Qa(t,e){return new JP({check:"greater_than",...$e(e),value:t,inclusive:!0})}function tI(t,e){return new Jre({check:"multiple_of",...$e(e),value:t})}function V0(t,e){return new Yre({check:"max_length",...$e(e),maximum:t})}function am(t,e){return new $re({check:"min_length",...$e(e),minimum:t})}function W0(t,e){return new qre({check:"length_equals",...$e(e),length:t})}function e_(t,e){return new zre({check:"string_format",format:"regex",...$e(e),pattern:t})}function t_(t){return new Vre({check:"string_format",format:"lowercase",...$e(t)})}function i_(t){return new Wre({check:"string_format",format:"uppercase",...$e(t)})}function n_(t,e){return new Zre({check:"string_format",format:"includes",...$e(e),includes:t})}function r_(t,e){return new Xre({check:"string_format",format:"starts_with",...$e(e),prefix:t})}function s_(t,e){return new ese({check:"string_format",format:"ends_with",...$e(e),suffix:t})}function dp(t){return new tse({check:"overwrite",tx:t})}function o_(t){return dp(e=>e.normalize(t))}function a_(){return dp(t=>t.trim())}function A_(){return dp(t=>t.toLowerCase())}function c_(){return dp(t=>t.toUpperCase())}function Voe(t,e,i){return new t({type:"array",element:e,...$e(i)})}function Woe(t,e,i){let n=$e(i);return n.abort??(n.abort=!0),new t({type:"custom",check:"custom",fn:e,...n})}function Zoe(t,e,i){return new t({type:"custom",check:"custom",fn:e,...$e(i)})}var Xoe=T(()=>{f();j0();cc()});var eae=T(()=>{f()});var tae=T(()=>{f()});var iae=T(()=>{f()});var ws=T(()=>{f();tm();GP();_P();Aoe();j0();YP();cc();J0();z0();poe();jP();eae();Xoe();tae();iae()});var nae=T(()=>{f();ws()});var rae=T(()=>{f()});var sae=T(()=>{f()});var oae=T(()=>{f()});var aae=T(()=>{f()});var Aae=T(()=>{f();ws();nae();rae();sae();z0();oae();aae()});var cae=T(()=>{f();Aae()});var uae=T(()=>{f();cae()});function Fu(t){return!!t._zod}function ss(t,e){return Fu(t)?XC(t,e):t.safeParse(e)}function Am(t){if(!t)return;let e;if(Fu(t)?e=t._zod?.def?.shape:e=t.shape,!!e){if(typeof e=="function")try{return e()}catch{return}return e}}function lae(t){if(Fu(t)){let s=t._zod?.def;if(s){if(s.value!==void 0)return s.value;if(Array.isArray(s.values)&&s.values.length>0)return s.values[0]}}let i=t._def;if(i){if(i.value!==void 0)return i.value;if(Array.isArray(i.values)&&i.values.length>0)return i.values[0]}let n=t.value;if(n!==void 0)return n}var iI=T(()=>{f();uae()});var u_=T(()=>{f();ws()});var nI={};pl(nI,{ZodISODate:()=>gae,ZodISODateTime:()=>pae,ZodISODuration:()=>mae,ZodISOTime:()=>dae,date:()=>p_,datetime:()=>l_,duration:()=>d_,time:()=>g_});function l_(t){return Moe(pae,t)}function p_(t){return Poe(gae,t)}function g_(t){return _oe(dae,t)}function d_(t){return Loe(mae,t)}var pae,gae,dae,mae,m_=T(()=>{f();ws();Z0();pae=ce("ZodISODateTime",(t,e)=>{Dse.init(t,e),Ui.init(t,e)});gae=ce("ZodISODate",(t,e)=>{xse.init(t,e),Ui.init(t,e)});dae=ce("ZodISOTime",(t,e)=>{vse.init(t,e),Ui.init(t,e)});mae=ce("ZodISODuration",(t,e)=>{wse.init(t,e),Ui.init(t,e)})});var hae,n2t,rI,f_=T(()=>{f();ws();ws();hae=(t,e)=>{O0.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:i=>PP(t,i)},flatten:{value:i=>MP(t,i)},addIssue:{value:i=>t.issues.push(i)},addIssues:{value:i=>t.issues.push(...i)},isEmpty:{get(){return t.issues.length===0}}})},n2t=ce("ZodError",hae),rI=ce("ZodError",hae,{Parent:Error})});var Cae,Iae,Eae,Bae,h_=T(()=>{f();ws();f_();Cae=lre(rI),Iae=pre(rI),Eae=LP(rI),Bae=UP(rI)});function q(t){return goe(E_,t)}function wae(t){return XP(vae,t)}function Wt(t){return Uoe(ex,t)}function yae(t){return Ooe(gJe,t)}function di(t){return Koe(B_,t)}function Q_(t){return joe(dJe,t)}function Sae(){return Yoe(mJe)}function Gi(){return $oe(fJe)}function CJe(t){return qoe(hJe,t)}function xe(t,e){return Voe(IJe,t,e)}function be(t,e){let i={type:"object",get shape(){return Vt.assignProp(this,"shape",{...t}),this.shape},...Vt.normalizeParams(e)};return new kae(i)}function Nn(t,e){return new kae({type:"object",get shape(){return Vt.assignProp(this,"shape",{...t}),this.shape},catchall:Gi(),...Vt.normalizeParams(e)})}function yi(t,e){return new Rae({type:"union",options:t,...Vt.normalizeParams(e)})}function y_(t,e,i){return new EJe({type:"union",options:e,discriminator:t,...Vt.normalizeParams(i)})}function tx(t,e){return new BJe({type:"intersection",left:t,right:e})}function Oi(t,e,i){return new QJe({type:"record",keyType:t,valueType:e,...Vt.normalizeParams(i)})}function bs(t,e){let i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new C_({type:"enum",entries:i,...Vt.normalizeParams(e)})}function Ge(t,e){return new yJe({type:"literal",values:Array.isArray(t)?t:[t],...Vt.normalizeParams(e)})}function Nae(t){return new DJe({type:"transform",transform:t})}function Vi(t){return new Tae({type:"optional",innerType:t})}function Dae(t){return new xJe({type:"nullable",innerType:t})}function wJe(t,e){return new vJe({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():e}})}function SJe(t,e){return new bJe({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():e}})}function FJe(t,e){return new Mae({type:"nonoptional",innerType:t,...Vt.normalizeParams(e)})}function RJe(t,e){return new kJe({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}function I_(t,e){return new NJe({type:"pipe",in:t,out:e})}function MJe(t){return new TJe({type:"readonly",innerType:t})}function PJe(t){let e=new Lr({check:"custom"});return e._zod.check=t,e}function _ae(t,e){return Woe(Pae,t??(()=>!0),e)}function _Je(t,e={}){return Zoe(Pae,t,e)}function LJe(t){let e=PJe(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(Vt.issue(n,i.value,e._zod.def));else{let r=n;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=i.value),r.inst??(r.inst=e),r.continue??(r.continue=!e._zod.def.abort),i.issues.push(Vt.issue(r))}},t(i.value,i)));return e}function D_(t,e){return I_(Nae(t),e)}var Qi,xae,E_,Ui,WHe,Qae,X0,vae,ZHe,XHe,eJe,tJe,iJe,nJe,rJe,sJe,oJe,aJe,AJe,cJe,uJe,lJe,pJe,ex,gJe,B_,bae,dJe,mJe,fJe,hJe,Fae,IJe,kae,Rae,EJe,BJe,QJe,C_,yJe,DJe,Tae,xJe,vJe,bJe,Mae,kJe,NJe,TJe,Pae,Z0=T(()=>{f();ws();ws();u_();m_();h_();Qi=ce("ZodType",(t,e)=>(si.init(t,e),t.def=e,Object.defineProperty(t,"_def",{value:e}),t.check=(...i)=>t.clone({...e,checks:[...e.checks??[],...i.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),t.clone=(i,n)=>Ea(t,i,n),t.brand=()=>t,t.register=((i,n)=>(i.add(t,n),t)),t.parse=(i,n)=>Cae(t,i,n,{callee:t.parse}),t.safeParse=(i,n)=>Eae(t,i,n),t.parseAsync=async(i,n)=>Iae(t,i,n,{callee:t.parseAsync}),t.safeParseAsync=async(i,n)=>Bae(t,i,n),t.spa=t.safeParseAsync,t.refine=(i,n)=>t.check(_Je(i,n)),t.superRefine=i=>t.check(LJe(i)),t.overwrite=i=>t.check(dp(i)),t.optional=()=>Vi(t),t.nullable=()=>Dae(t),t.nullish=()=>Vi(Dae(t)),t.nonoptional=i=>FJe(t,i),t.array=()=>xe(t),t.or=i=>yi([t,i]),t.and=i=>tx(t,i),t.transform=i=>I_(t,Nae(i)),t.default=i=>wJe(t,i),t.prefault=i=>SJe(t,i),t.catch=i=>RJe(t,i),t.pipe=i=>I_(t,i),t.readonly=()=>MJe(t),t.describe=i=>{let n=t.clone();return rm.add(n,{description:i}),n},Object.defineProperty(t,"description",{get(){return rm.get(t)?.description},configurable:!0}),t.meta=(...i)=>{if(i.length===0)return rm.get(t);let n=t.clone();return rm.add(n,i[0]),n},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),xae=ce("_ZodString",(t,e)=>{q0.init(t,e),Qi.init(t,e);let i=t._zod.bag;t.format=i.format??null,t.minLength=i.minimum??null,t.maxLength=i.maximum??null,t.regex=(...n)=>t.check(e_(...n)),t.includes=(...n)=>t.check(n_(...n)),t.startsWith=(...n)=>t.check(r_(...n)),t.endsWith=(...n)=>t.check(s_(...n)),t.min=(...n)=>t.check(am(...n)),t.max=(...n)=>t.check(V0(...n)),t.length=(...n)=>t.check(W0(...n)),t.nonempty=(...n)=>t.check(am(1,...n)),t.lowercase=n=>t.check(t_(n)),t.uppercase=n=>t.check(i_(n)),t.trim=()=>t.check(a_()),t.normalize=(...n)=>t.check(o_(...n)),t.toLowerCase=()=>t.check(A_()),t.toUpperCase=()=>t.check(c_())}),E_=ce("ZodString",(t,e)=>{q0.init(t,e),xae.init(t,e),t.email=i=>t.check(moe(WHe,i)),t.url=i=>t.check(XP(vae,i)),t.jwt=i=>t.check(Toe(pJe,i)),t.emoji=i=>t.check(Eoe(ZHe,i)),t.guid=i=>t.check(ZP(Qae,i)),t.uuid=i=>t.check(foe(X0,i)),t.uuidv4=i=>t.check(hoe(X0,i)),t.uuidv6=i=>t.check(Coe(X0,i)),t.uuidv7=i=>t.check(Ioe(X0,i)),t.nanoid=i=>t.check(Boe(XHe,i)),t.guid=i=>t.check(ZP(Qae,i)),t.cuid=i=>t.check(Qoe(eJe,i)),t.cuid2=i=>t.check(yoe(tJe,i)),t.ulid=i=>t.check(Doe(iJe,i)),t.base64=i=>t.check(koe(cJe,i)),t.base64url=i=>t.check(Roe(uJe,i)),t.xid=i=>t.check(xoe(nJe,i)),t.ksuid=i=>t.check(voe(rJe,i)),t.ipv4=i=>t.check(woe(sJe,i)),t.ipv6=i=>t.check(boe(oJe,i)),t.cidrv4=i=>t.check(Soe(aJe,i)),t.cidrv6=i=>t.check(Foe(AJe,i)),t.e164=i=>t.check(Noe(lJe,i)),t.datetime=i=>t.check(l_(i)),t.date=i=>t.check(p_(i)),t.time=i=>t.check(g_(i)),t.duration=i=>t.check(d_(i))});Ui=ce("ZodStringFormat",(t,e)=>{Fi.init(t,e),xae.init(t,e)}),WHe=ce("ZodEmail",(t,e)=>{mse.init(t,e),Ui.init(t,e)}),Qae=ce("ZodGUID",(t,e)=>{gse.init(t,e),Ui.init(t,e)}),X0=ce("ZodUUID",(t,e)=>{dse.init(t,e),Ui.init(t,e)}),vae=ce("ZodURL",(t,e)=>{fse.init(t,e),Ui.init(t,e)});ZHe=ce("ZodEmoji",(t,e)=>{hse.init(t,e),Ui.init(t,e)}),XHe=ce("ZodNanoID",(t,e)=>{Cse.init(t,e),Ui.init(t,e)}),eJe=ce("ZodCUID",(t,e)=>{Ise.init(t,e),Ui.init(t,e)}),tJe=ce("ZodCUID2",(t,e)=>{Ese.init(t,e),Ui.init(t,e)}),iJe=ce("ZodULID",(t,e)=>{Bse.init(t,e),Ui.init(t,e)}),nJe=ce("ZodXID",(t,e)=>{Qse.init(t,e),Ui.init(t,e)}),rJe=ce("ZodKSUID",(t,e)=>{yse.init(t,e),Ui.init(t,e)}),sJe=ce("ZodIPv4",(t,e)=>{bse.init(t,e),Ui.init(t,e)}),oJe=ce("ZodIPv6",(t,e)=>{Sse.init(t,e),Ui.init(t,e)}),aJe=ce("ZodCIDRv4",(t,e)=>{Fse.init(t,e),Ui.init(t,e)}),AJe=ce("ZodCIDRv6",(t,e)=>{kse.init(t,e),Ui.init(t,e)}),cJe=ce("ZodBase64",(t,e)=>{Nse.init(t,e),Ui.init(t,e)}),uJe=ce("ZodBase64URL",(t,e)=>{Tse.init(t,e),Ui.init(t,e)}),lJe=ce("ZodE164",(t,e)=>{Mse.init(t,e),Ui.init(t,e)}),pJe=ce("ZodJWT",(t,e)=>{Pse.init(t,e),Ui.init(t,e)}),ex=ce("ZodNumber",(t,e)=>{qP.init(t,e),Qi.init(t,e),t.gt=(n,r)=>t.check(om(n,r)),t.gte=(n,r)=>t.check(Qa(n,r)),t.min=(n,r)=>t.check(Qa(n,r)),t.lt=(n,r)=>t.check(sm(n,r)),t.lte=(n,r)=>t.check(uc(n,r)),t.max=(n,r)=>t.check(uc(n,r)),t.int=n=>t.check(yae(n)),t.safe=n=>t.check(yae(n)),t.positive=n=>t.check(om(0,n)),t.nonnegative=n=>t.check(Qa(0,n)),t.negative=n=>t.check(sm(0,n)),t.nonpositive=n=>t.check(uc(0,n)),t.multipleOf=(n,r)=>t.check(tI(n,r)),t.step=(n,r)=>t.check(tI(n,r)),t.finite=()=>t;let i=t._zod.bag;t.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),t.isFinite=!0,t.format=i.format??null});gJe=ce("ZodNumberFormat",(t,e)=>{_se.init(t,e),ex.init(t,e)});B_=ce("ZodBoolean",(t,e)=>{Lse.init(t,e),Qi.init(t,e)});bae=ce("ZodBigInt",(t,e)=>{Use.init(t,e),Qi.init(t,e),t.gte=(n,r)=>t.check(Qa(n,r)),t.min=(n,r)=>t.check(Qa(n,r)),t.gt=(n,r)=>t.check(om(n,r)),t.gte=(n,r)=>t.check(Qa(n,r)),t.min=(n,r)=>t.check(Qa(n,r)),t.lt=(n,r)=>t.check(sm(n,r)),t.lte=(n,r)=>t.check(uc(n,r)),t.max=(n,r)=>t.check(uc(n,r)),t.positive=n=>t.check(om(BigInt(0),n)),t.negative=n=>t.check(sm(BigInt(0),n)),t.nonpositive=n=>t.check(uc(BigInt(0),n)),t.nonnegative=n=>t.check(Qa(BigInt(0),n)),t.multipleOf=(n,r)=>t.check(tI(n,r));let i=t._zod.bag;t.minValue=i.minimum??null,t.maxValue=i.maximum??null,t.format=i.format??null}),dJe=ce("ZodNull",(t,e)=>{Gse.init(t,e),Qi.init(t,e)});mJe=ce("ZodAny",(t,e)=>{Ose.init(t,e),Qi.init(t,e)});fJe=ce("ZodUnknown",(t,e)=>{Kse.init(t,e),Qi.init(t,e)});hJe=ce("ZodNever",(t,e)=>{Hse.init(t,e),Qi.init(t,e)});Fae=ce("ZodDate",(t,e)=>{Jse.init(t,e),Qi.init(t,e),t.min=(n,r)=>t.check(Qa(n,r)),t.max=(n,r)=>t.check(uc(n,r));let i=t._zod.bag;t.minDate=i.minimum?new Date(i.minimum):null,t.maxDate=i.maximum?new Date(i.maximum):null}),IJe=ce("ZodArray",(t,e)=>{jse.init(t,e),Qi.init(t,e),t.element=e.element,t.min=(i,n)=>t.check(am(i,n)),t.nonempty=i=>t.check(am(1,i)),t.max=(i,n)=>t.check(V0(i,n)),t.length=(i,n)=>t.check(W0(i,n)),t.unwrap=()=>t.element});kae=ce("ZodObject",(t,e)=>{Yse.init(t,e),Qi.init(t,e),Vt.defineLazy(t,"shape",()=>e.shape),t.keyof=()=>bs(Object.keys(t._zod.def.shape)),t.catchall=i=>t.clone({...t._zod.def,catchall:i}),t.passthrough=()=>t.clone({...t._zod.def,catchall:Gi()}),t.loose=()=>t.clone({...t._zod.def,catchall:Gi()}),t.strict=()=>t.clone({...t._zod.def,catchall:CJe()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=i=>Vt.extend(t,i),t.merge=i=>Vt.merge(t,i),t.pick=i=>Vt.pick(t,i),t.omit=i=>Vt.omit(t,i),t.partial=(...i)=>Vt.partial(Tae,t,i[0]),t.required=(...i)=>Vt.required(Mae,t,i[0])});Rae=ce("ZodUnion",(t,e)=>{zP.init(t,e),Qi.init(t,e),t.options=e.options});EJe=ce("ZodDiscriminatedUnion",(t,e)=>{Rae.init(t,e),$se.init(t,e)});BJe=ce("ZodIntersection",(t,e)=>{qse.init(t,e),Qi.init(t,e)});QJe=ce("ZodRecord",(t,e)=>{zse.init(t,e),Qi.init(t,e),t.keyType=e.keyType,t.valueType=e.valueType});C_=ce("ZodEnum",(t,e)=>{Vse.init(t,e),Qi.init(t,e),t.enum=e.entries,t.options=Object.values(e.entries);let i=new Set(Object.keys(e.entries));t.extract=(n,r)=>{let s={};for(let o of n)if(i.has(o))s[o]=e.entries[o];else throw new Error(`Key ${o} not found in enum`);return new C_({...e,checks:[],...Vt.normalizeParams(r),entries:s})},t.exclude=(n,r)=>{let s={...e.entries};for(let o of n)if(i.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new C_({...e,checks:[],...Vt.normalizeParams(r),entries:s})}});yJe=ce("ZodLiteral",(t,e)=>{Wse.init(t,e),Qi.init(t,e),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});DJe=ce("ZodTransform",(t,e)=>{Zse.init(t,e),Qi.init(t,e),t._zod.parse=(i,n)=>{i.addIssue=s=>{if(typeof s=="string")i.issues.push(Vt.issue(s,i.value,e));else{let o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=i.value),o.inst??(o.inst=t),o.continue??(o.continue=!0),i.issues.push(Vt.issue(o))}};let r=e.transform(i.value,i);return r instanceof Promise?r.then(s=>(i.value=s,i)):(i.value=r,i)}});Tae=ce("ZodOptional",(t,e)=>{Xse.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});xJe=ce("ZodNullable",(t,e)=>{eoe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});vJe=ce("ZodDefault",(t,e)=>{toe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});bJe=ce("ZodPrefault",(t,e)=>{ioe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});Mae=ce("ZodNonOptional",(t,e)=>{noe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});kJe=ce("ZodCatch",(t,e)=>{roe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});NJe=ce("ZodPipe",(t,e)=>{soe.init(t,e),Qi.init(t,e),t.in=e.in,t.out=e.out});TJe=ce("ZodReadonly",(t,e)=>{ooe.init(t,e),Qi.init(t,e)});Pae=ce("ZodCustom",(t,e)=>{aoe.init(t,e),Qi.init(t,e)})});var Lae,Uae=T(()=>{f();Lae={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"}});var ix={};pl(ix,{bigint:()=>KJe,boolean:()=>OJe,date:()=>HJe,number:()=>GJe,string:()=>UJe});function UJe(t){return doe(E_,t)}function GJe(t){return Goe(ex,t)}function OJe(t){return Hoe(B_,t)}function KJe(t){return Joe(bae,t)}function HJe(t){return zoe(Fae,t)}var Gae=T(()=>{f();ws();Z0()});var Oae=T(()=>{f();ws();Z0();u_();f_();h_();Uae();ws();uoe();ws();z0();m_();Gae();zs(coe())});var Kae=T(()=>{f();Oae()});var x_=T(()=>{f();Kae()});var ku,rx,Ru,sx,ar,Jae,jae,ALt,JJe,jJe,w_,Vs,sI,Yae,Ar,bo,So,cr,ox,$ae,oI,qae,zae,b_,fp,Ve,S_,Vae,Nu,cLt,lc,YJe,ax,$Je,aI,cm,Wae,qJe,zJe,VJe,WJe,ZJe,XJe,F_,eje,k_,Ax,Zae,cx,tje,ije,ux,nje,AI,cI,rje,uI,pc,sje,lI,lx,px,gx,uLt,dx,mx,fx,Xae,eAe,tAe,R_,iAe,pI,um,nAe,oje,N_,T_,M_,P_,__,aje,L_,U_,G_,Aje,cje,uje,lje,pje,gje,dje,mje,fje,O_,hje,Cje,K_,H_,J_,Ije,Eje,Bje,j_,Qje,Y_,$_,yje,Dje,rAe,q_,z_,Tu,lLt,xje,gI,V_,sAe,dI,vje,W_,wje,bje,Sje,Fje,kje,Rje,Nje,nx,Tje,Mje,Z_,mI,fI,Pje,_je,Lje,Uje,Gje,Oje,Kje,Hje,Jje,jje,Yje,$je,qje,zje,Vje,X_,Wje,Zje,lm,Xje,e6e,t6e,i6e,e2,n6e,r6e,t2,s6e,pLt,gLt,dLt,mLt,fLt,hLt,Oe,v_,fA=T(()=>{f();x_();ku="2025-11-25",rx=[ku,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Ru="io.modelcontextprotocol/related-task",sx="2.0",ar=_ae(t=>t!==null&&(typeof t=="object"||typeof t=="function")),Jae=yi([q(),Wt().int()]),jae=q(),ALt=Nn({ttl:yi([Wt(),Q_()]).optional(),pollInterval:Wt().optional()}),JJe=be({ttl:Wt().optional()}),jJe=be({taskId:q()}),w_=Nn({progressToken:Jae.optional(),[Ru]:jJe.optional()}),Vs=be({_meta:w_.optional()}),sI=Vs.extend({task:JJe.optional()}),Yae=t=>sI.safeParse(t).success,Ar=be({method:q(),params:Vs.loose().optional()}),bo=be({_meta:w_.optional()}),So=be({method:q(),params:bo.loose().optional()}),cr=Nn({_meta:w_.optional()}),ox=yi([q(),Wt().int()]),$ae=be({jsonrpc:Ge(sx),id:ox,...Ar.shape}).strict(),oI=t=>$ae.safeParse(t).success,qae=be({jsonrpc:Ge(sx),...So.shape}).strict(),zae=t=>qae.safeParse(t).success,b_=be({jsonrpc:Ge(sx),id:ox,result:cr}).strict(),fp=t=>b_.safeParse(t).success;(function(t){t[t.ConnectionClosed=-32e3]="ConnectionClosed",t[t.RequestTimeout=-32001]="RequestTimeout",t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Ve||(Ve={}));S_=be({jsonrpc:Ge(sx),id:ox.optional(),error:be({code:Wt().int(),message:q(),data:Gi().optional()})}).strict(),Vae=t=>S_.safeParse(t).success,Nu=yi([$ae,qae,b_,S_]),cLt=yi([b_,S_]),lc=cr.strict(),YJe=bo.extend({requestId:ox.optional(),reason:q().optional()}),ax=So.extend({method:Ge("notifications/cancelled"),params:YJe}),$Je=be({src:q(),mimeType:q().optional(),sizes:xe(q()).optional(),theme:bs(["light","dark"]).optional()}),aI=be({icons:xe($Je).optional()}),cm=be({name:q(),title:q().optional()}),Wae=cm.extend({...cm.shape,...aI.shape,version:q(),websiteUrl:q().optional(),description:q().optional()}),qJe=tx(be({applyDefaults:di().optional()}),Oi(q(),Gi())),zJe=D_(t=>t&&typeof t=="object"&&!Array.isArray(t)&&Object.keys(t).length===0?{form:{}}:t,tx(be({form:qJe.optional(),url:ar.optional()}),Oi(q(),Gi()).optional())),VJe=Nn({list:ar.optional(),cancel:ar.optional(),requests:Nn({sampling:Nn({createMessage:ar.optional()}).optional(),elicitation:Nn({create:ar.optional()}).optional()}).optional()}),WJe=Nn({list:ar.optional(),cancel:ar.optional(),requests:Nn({tools:Nn({call:ar.optional()}).optional()}).optional()}),ZJe=be({experimental:Oi(q(),ar).optional(),sampling:be({context:ar.optional(),tools:ar.optional()}).optional(),elicitation:zJe.optional(),roots:be({listChanged:di().optional()}).optional(),tasks:VJe.optional()}),XJe=Vs.extend({protocolVersion:q(),capabilities:ZJe,clientInfo:Wae}),F_=Ar.extend({method:Ge("initialize"),params:XJe}),eje=be({experimental:Oi(q(),ar).optional(),logging:ar.optional(),completions:ar.optional(),prompts:be({listChanged:di().optional()}).optional(),resources:be({subscribe:di().optional(),listChanged:di().optional()}).optional(),tools:be({listChanged:di().optional()}).optional(),tasks:WJe.optional()}),k_=cr.extend({protocolVersion:q(),capabilities:eje,serverInfo:Wae,instructions:q().optional()}),Ax=So.extend({method:Ge("notifications/initialized"),params:bo.optional()}),Zae=t=>Ax.safeParse(t).success,cx=Ar.extend({method:Ge("ping"),params:Vs.optional()}),tje=be({progress:Wt(),total:Vi(Wt()),message:Vi(q())}),ije=be({...bo.shape,...tje.shape,progressToken:Jae}),ux=So.extend({method:Ge("notifications/progress"),params:ije}),nje=Vs.extend({cursor:jae.optional()}),AI=Ar.extend({params:nje.optional()}),cI=cr.extend({nextCursor:jae.optional()}),rje=bs(["working","input_required","completed","failed","cancelled"]),uI=be({taskId:q(),status:rje,ttl:yi([Wt(),Q_()]),createdAt:q(),lastUpdatedAt:q(),pollInterval:Vi(Wt()),statusMessage:Vi(q())}),pc=cr.extend({task:uI}),sje=bo.merge(uI),lI=So.extend({method:Ge("notifications/tasks/status"),params:sje}),lx=Ar.extend({method:Ge("tasks/get"),params:Vs.extend({taskId:q()})}),px=cr.merge(uI),gx=Ar.extend({method:Ge("tasks/result"),params:Vs.extend({taskId:q()})}),uLt=cr.loose(),dx=AI.extend({method:Ge("tasks/list")}),mx=cI.extend({tasks:xe(uI)}),fx=Ar.extend({method:Ge("tasks/cancel"),params:Vs.extend({taskId:q()})}),Xae=cr.merge(uI),eAe=be({uri:q(),mimeType:Vi(q()),_meta:Oi(q(),Gi()).optional()}),tAe=eAe.extend({text:q()}),R_=q().refine(t=>{try{return atob(t),!0}catch{return!1}},{message:"Invalid Base64 string"}),iAe=eAe.extend({blob:R_}),pI=bs(["user","assistant"]),um=be({audience:xe(pI).optional(),priority:Wt().min(0).max(1).optional(),lastModified:nI.datetime({offset:!0}).optional()}),nAe=be({...cm.shape,...aI.shape,uri:q(),description:Vi(q()),mimeType:Vi(q()),annotations:um.optional(),_meta:Vi(Nn({}))}),oje=be({...cm.shape,...aI.shape,uriTemplate:q(),description:Vi(q()),mimeType:Vi(q()),annotations:um.optional(),_meta:Vi(Nn({}))}),N_=AI.extend({method:Ge("resources/list")}),T_=cI.extend({resources:xe(nAe)}),M_=AI.extend({method:Ge("resources/templates/list")}),P_=cI.extend({resourceTemplates:xe(oje)}),__=Vs.extend({uri:q()}),aje=__,L_=Ar.extend({method:Ge("resources/read"),params:aje}),U_=cr.extend({contents:xe(yi([tAe,iAe]))}),G_=So.extend({method:Ge("notifications/resources/list_changed"),params:bo.optional()}),Aje=__,cje=Ar.extend({method:Ge("resources/subscribe"),params:Aje}),uje=__,lje=Ar.extend({method:Ge("resources/unsubscribe"),params:uje}),pje=bo.extend({uri:q()}),gje=So.extend({method:Ge("notifications/resources/updated"),params:pje}),dje=be({name:q(),description:Vi(q()),required:Vi(di())}),mje=be({...cm.shape,...aI.shape,description:Vi(q()),arguments:Vi(xe(dje)),_meta:Vi(Nn({}))}),fje=AI.extend({method:Ge("prompts/list")}),O_=cI.extend({prompts:xe(mje)}),hje=Vs.extend({name:q(),arguments:Oi(q(),q()).optional()}),Cje=Ar.extend({method:Ge("prompts/get"),params:hje}),K_=be({type:Ge("text"),text:q(),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),H_=be({type:Ge("image"),data:R_,mimeType:q(),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),J_=be({type:Ge("audio"),data:R_,mimeType:q(),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),Ije=be({type:Ge("tool_use"),name:q(),id:q(),input:Oi(q(),Gi()),_meta:Oi(q(),Gi()).optional()}),Eje=be({type:Ge("resource"),resource:yi([tAe,iAe]),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),Bje=nAe.extend({type:Ge("resource_link")}),j_=yi([K_,H_,J_,Bje,Eje]),Qje=be({role:pI,content:j_}),Y_=cr.extend({description:q().optional(),messages:xe(Qje)}),$_=So.extend({method:Ge("notifications/prompts/list_changed"),params:bo.optional()}),yje=be({title:q().optional(),readOnlyHint:di().optional(),destructiveHint:di().optional(),idempotentHint:di().optional(),openWorldHint:di().optional()}),Dje=be({taskSupport:bs(["required","optional","forbidden"]).optional()}),rAe=be({...cm.shape,...aI.shape,description:q().optional(),inputSchema:be({type:Ge("object"),properties:Oi(q(),ar).optional(),required:xe(q()).optional()}).catchall(Gi()),outputSchema:be({type:Ge("object"),properties:Oi(q(),ar).optional(),required:xe(q()).optional()}).catchall(Gi()).optional(),annotations:yje.optional(),execution:Dje.optional(),_meta:Oi(q(),Gi()).optional()}),q_=AI.extend({method:Ge("tools/list")}),z_=cI.extend({tools:xe(rAe)}),Tu=cr.extend({content:xe(j_).default([]),structuredContent:Oi(q(),Gi()).optional(),isError:di().optional()}),lLt=Tu.or(cr.extend({toolResult:Gi()})),xje=sI.extend({name:q(),arguments:Oi(q(),Gi()).optional()}),gI=Ar.extend({method:Ge("tools/call"),params:xje}),V_=So.extend({method:Ge("notifications/tools/list_changed"),params:bo.optional()}),sAe=be({autoRefresh:di().default(!0),debounceMs:Wt().int().nonnegative().default(300)}),dI=bs(["debug","info","notice","warning","error","critical","alert","emergency"]),vje=Vs.extend({level:dI}),W_=Ar.extend({method:Ge("logging/setLevel"),params:vje}),wje=bo.extend({level:dI,logger:q().optional(),data:Gi()}),bje=So.extend({method:Ge("notifications/message"),params:wje}),Sje=be({name:q().optional()}),Fje=be({hints:xe(Sje).optional(),costPriority:Wt().min(0).max(1).optional(),speedPriority:Wt().min(0).max(1).optional(),intelligencePriority:Wt().min(0).max(1).optional()}),kje=be({mode:bs(["auto","required","none"]).optional()}),Rje=be({type:Ge("tool_result"),toolUseId:q().describe("The unique identifier for the corresponding tool call."),content:xe(j_).default([]),structuredContent:be({}).loose().optional(),isError:di().optional(),_meta:Oi(q(),Gi()).optional()}),Nje=y_("type",[K_,H_,J_]),nx=y_("type",[K_,H_,J_,Ije,Rje]),Tje=be({role:pI,content:yi([nx,xe(nx)]),_meta:Oi(q(),Gi()).optional()}),Mje=sI.extend({messages:xe(Tje),modelPreferences:Fje.optional(),systemPrompt:q().optional(),includeContext:bs(["none","thisServer","allServers"]).optional(),temperature:Wt().optional(),maxTokens:Wt().int(),stopSequences:xe(q()).optional(),metadata:ar.optional(),tools:xe(rAe).optional(),toolChoice:kje.optional()}),Z_=Ar.extend({method:Ge("sampling/createMessage"),params:Mje}),mI=cr.extend({model:q(),stopReason:Vi(bs(["endTurn","stopSequence","maxTokens"]).or(q())),role:pI,content:Nje}),fI=cr.extend({model:q(),stopReason:Vi(bs(["endTurn","stopSequence","maxTokens","toolUse"]).or(q())),role:pI,content:yi([nx,xe(nx)])}),Pje=be({type:Ge("boolean"),title:q().optional(),description:q().optional(),default:di().optional()}),_je=be({type:Ge("string"),title:q().optional(),description:q().optional(),minLength:Wt().optional(),maxLength:Wt().optional(),format:bs(["email","uri","date","date-time"]).optional(),default:q().optional()}),Lje=be({type:bs(["number","integer"]),title:q().optional(),description:q().optional(),minimum:Wt().optional(),maximum:Wt().optional(),default:Wt().optional()}),Uje=be({type:Ge("string"),title:q().optional(),description:q().optional(),enum:xe(q()),default:q().optional()}),Gje=be({type:Ge("string"),title:q().optional(),description:q().optional(),oneOf:xe(be({const:q(),title:q()})),default:q().optional()}),Oje=be({type:Ge("string"),title:q().optional(),description:q().optional(),enum:xe(q()),enumNames:xe(q()).optional(),default:q().optional()}),Kje=yi([Uje,Gje]),Hje=be({type:Ge("array"),title:q().optional(),description:q().optional(),minItems:Wt().optional(),maxItems:Wt().optional(),items:be({type:Ge("string"),enum:xe(q())}),default:xe(q()).optional()}),Jje=be({type:Ge("array"),title:q().optional(),description:q().optional(),minItems:Wt().optional(),maxItems:Wt().optional(),items:be({anyOf:xe(be({const:q(),title:q()}))}),default:xe(q()).optional()}),jje=yi([Hje,Jje]),Yje=yi([Oje,Kje,jje]),$je=yi([Yje,Pje,_je,Lje]),qje=sI.extend({mode:Ge("form").optional(),message:q(),requestedSchema:be({type:Ge("object"),properties:Oi(q(),$je),required:xe(q()).optional()})}),zje=sI.extend({mode:Ge("url"),message:q(),elicitationId:q(),url:q().url()}),Vje=yi([qje,zje]),X_=Ar.extend({method:Ge("elicitation/create"),params:Vje}),Wje=bo.extend({elicitationId:q()}),Zje=So.extend({method:Ge("notifications/elicitation/complete"),params:Wje}),lm=cr.extend({action:bs(["accept","decline","cancel"]),content:D_(t=>t===null?void 0:t,Oi(q(),yi([q(),Wt(),di(),xe(q())])).optional())}),Xje=be({type:Ge("ref/resource"),uri:q()}),e6e=be({type:Ge("ref/prompt"),name:q()}),t6e=Vs.extend({ref:yi([e6e,Xje]),argument:be({name:q(),value:q()}),context:be({arguments:Oi(q(),q()).optional()}).optional()}),i6e=Ar.extend({method:Ge("completion/complete"),params:t6e}),e2=cr.extend({completion:Nn({values:xe(q()).max(100),total:Vi(Wt().int()),hasMore:Vi(di())})}),n6e=be({uri:q().startsWith("file://"),name:q().optional(),_meta:Oi(q(),Gi()).optional()}),r6e=Ar.extend({method:Ge("roots/list"),params:Vs.optional()}),t2=cr.extend({roots:xe(n6e)}),s6e=So.extend({method:Ge("notifications/roots/list_changed"),params:bo.optional()}),pLt=yi([cx,F_,i6e,W_,Cje,fje,N_,M_,L_,cje,lje,gI,q_,lx,gx,dx,fx]),gLt=yi([ax,ux,Ax,s6e,lI]),dLt=yi([lc,mI,fI,lm,t2,px,mx,pc]),mLt=yi([cx,Z_,X_,r6e,lx,gx,dx,fx]),fLt=yi([ax,ux,bje,gje,G_,V_,$_,lI,Zje]),hLt=yi([lc,k_,e2,Y_,O_,T_,P_,U_,Tu,z_,px,mx,pc]),Oe=class t extends Error{constructor(e,i,n){super(`MCP error ${e}: ${i}`),this.code=e,this.data=n,this.name="McpError"}static fromError(e,i,n){if(e===Ve.UrlElicitationRequired&&n){let r=n;if(r.elicitations)return new v_(r.elicitations,i)}return new t(e,i,n)}},v_=class extends Oe{constructor(e,i=`URL elicitation${e.length>1?"s":""} required`){super(Ve.UrlElicitationRequired,i,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}}});function Mu(t){return t==="completed"||t==="failed"||t==="cancelled"}var oAe=T(()=>{f()});var o6e,hx=T(()=>{f();o6e=Symbol("Let zodToJsonSchema decide on which parser to use")});var i2=T(()=>{f();hx()});var Pu=T(()=>{f()});var Cx=T(()=>{f()});var Fo=T(()=>{f();Cx()});var n2=T(()=>{f();Pu();bn()});var r2=T(()=>{f();Pu()});var s2=T(()=>{f()});var Ix=T(()=>{f();bn()});var o2=T(()=>{f();bn()});var a2=T(()=>{f();Pu()});var A2=T(()=>{f();bn()});var c2=T(()=>{f();bn();Fo()});var u2=T(()=>{f()});var l2=T(()=>{f();bn()});var p2=T(()=>{f()});var dUt,Ex=T(()=>{f();Pu();dUt=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});var Bx=T(()=>{f();bn();Ex();Ix();Fo()});var g2=T(()=>{f();bn();Bx();Fo()});var d2=T(()=>{f()});var m2=T(()=>{f();Fo()});var f2=T(()=>{f()});var Qx=T(()=>{f();bn()});var h2=T(()=>{f();bn();Qx()});var C2=T(()=>{f();Pu()});var I2=T(()=>{f();bn()});var E2=T(()=>{f();bn();Fo()});var B2=T(()=>{f();bn()});var Q2=T(()=>{f();bn()});var y2=T(()=>{f();Pu();bn()});var D2=T(()=>{f();bn()});var x2=T(()=>{f();Fo()});var v2=T(()=>{f();Fo()});var w2=T(()=>{f();bn()});var b2=T(()=>{f();Fo();n2();r2();s2();Ix();o2();a2();A2();c2();u2();l2();p2();g2();d2();m2();f2();h2();C2();I2();E2();B2();Q2();Bx();y2();Ex();D2();x2();Qx();v2();w2()});var bn=T(()=>{f();hx();b2();Cx();Fo()});var aAe=T(()=>{f()});var S2=T(()=>{f();bn();i2();Fo()});var AAe=T(()=>{f();hx();i2();Pu();Cx();bn();aAe();Fo();n2();r2();s2();Ix();o2();a2();A2();c2();u2();l2();p2();g2();d2();m2();f2();h2();C2();I2();E2();B2();Q2();w2();Bx();y2();Ex();D2();x2();Qx();v2();b2();S2();S2()});function F2(t){let i=Am(t)?.method;if(!i)throw new Error("Schema is missing a method literal");let n=lae(i);if(typeof n!="string")throw new Error("Schema method literal must be a string");return n}function k2(t,e){let i=ss(t,e);if(!i.success)throw i.error;return i.data}var cAe=T(()=>{f();iI();AAe()});function uAe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function yx(t,e){let i={...t};for(let n in e){let r=n,s=e[r];if(s===void 0)continue;let o=i[r];uAe(o)&&uAe(s)?i[r]={...o,...s}:i[r]=s}return i}var p6e,pm,R2=T(()=>{f();iI();fA();oAe();cAe();p6e=6e4,pm=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(ax,i=>{this._oncancel(i)}),this.setNotificationHandler(ux,i=>{this._onprogress(i)}),this.setRequestHandler(cx,i=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(lx,async(i,n)=>{let r=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!r)throw new Oe(Ve.InvalidParams,"Failed to retrieve task: Task not found");return{...r}}),this.setRequestHandler(gx,async(i,n)=>{let r=async()=>{let s=i.params.taskId;if(this._taskMessageQueue){let a;for(;a=await this._taskMessageQueue.dequeue(s,n.sessionId);){if(a.type==="response"||a.type==="error"){let A=a.message,c=A.id,u=this._requestResolvers.get(c);if(u)if(this._requestResolvers.delete(c),a.type==="response")u(A);else{let l=A,p=new Oe(l.error.code,l.error.message,l.error.data);u(p)}else{let l=a.type==="response"?"Response":"Error";this._onerror(new Error(`${l} handler missing for request ${c}`))}continue}await this._transport?.send(a.message,{relatedRequestId:n.requestId})}}let o=await this._taskStore.getTask(s,n.sessionId);if(!o)throw new Oe(Ve.InvalidParams,`Task not found: ${s}`);if(!Mu(o.status))return await this._waitForTaskUpdate(s,n.signal),await r();if(Mu(o.status)){let a=await this._taskStore.getTaskResult(s,n.sessionId);return this._clearTaskQueue(s),{...a,_meta:{...a._meta,[Ru]:{taskId:s}}}}return await r()};return await r()}),this.setRequestHandler(dx,async(i,n)=>{try{let{tasks:r,nextCursor:s}=await this._taskStore.listTasks(i.params?.cursor,n.sessionId);return{tasks:r,nextCursor:s,_meta:{}}}catch(r){throw new Oe(Ve.InvalidParams,`Failed to list tasks: ${r instanceof Error?r.message:String(r)}`)}}),this.setRequestHandler(fx,async(i,n)=>{try{let r=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!r)throw new Oe(Ve.InvalidParams,`Task not found: ${i.params.taskId}`);if(Mu(r.status))throw new Oe(Ve.InvalidParams,`Cannot cancel task in terminal status: ${r.status}`);await this._taskStore.updateTaskStatus(i.params.taskId,"cancelled","Client cancelled task execution.",n.sessionId),this._clearTaskQueue(i.params.taskId);let s=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!s)throw new Oe(Ve.InvalidParams,`Task not found after cancellation: ${i.params.taskId}`);return{_meta:{},...s}}catch(r){throw r instanceof Oe?r:new Oe(Ve.InvalidRequest,`Failed to cancel task: ${r instanceof Error?r.message:String(r)}`)}}))}async _oncancel(e){if(!e.params.requestId)return;this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,i,n,r,s=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(r,i),startTime:Date.now(),timeout:i,maxTotalTimeout:n,resetTimeoutOnProgress:s,onTimeout:r})}_resetTimeout(e){let i=this._timeoutInfo.get(e);if(!i)return!1;let n=Date.now()-i.startTime;if(i.maxTotalTimeout&&n>=i.maxTotalTimeout)throw this._timeoutInfo.delete(e),Oe.fromError(Ve.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:i.maxTotalTimeout,totalElapsed:n});return clearTimeout(i.timeoutId),i.timeoutId=setTimeout(i.onTimeout,i.timeout),!0}_cleanupTimeout(e){let i=this._timeoutInfo.get(e);i&&(clearTimeout(i.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=e;let i=this.transport?.onclose;this._transport.onclose=()=>{i?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=s=>{n?.(s),this._onerror(s)};let r=this._transport?.onmessage;this._transport.onmessage=(s,o)=>{r?.(s,o),fp(s)||Vae(s)?this._onresponse(s):oI(s)?this._onrequest(s,o):zae(s)?this._onnotification(s):this._onerror(new Error(`Unknown message type: ${JSON.stringify(s)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let n of this._requestHandlerAbortControllers.values())n.abort();this._requestHandlerAbortControllers.clear();let i=Oe.fromError(Ve.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let n of e.values())n(i)}_onerror(e){this.onerror?.(e)}_onnotification(e){let i=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;i!==void 0&&Promise.resolve().then(()=>i(e)).catch(n=>this._onerror(new Error(`Uncaught error in notification handler: ${n}`)))}_onrequest(e,i){let n=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,r=this._transport,s=e.params?._meta?.[Ru]?.taskId;if(n===void 0){let u={jsonrpc:"2.0",id:e.id,error:{code:Ve.MethodNotFound,message:"Method not found"}};s&&this._taskMessageQueue?this._enqueueTaskMessage(s,{type:"error",message:u,timestamp:Date.now()},r?.sessionId).catch(l=>this._onerror(new Error(`Failed to enqueue error response: ${l}`))):r?.send(u).catch(l=>this._onerror(new Error(`Failed to send an error response: ${l}`)));return}let o=new AbortController;this._requestHandlerAbortControllers.set(e.id,o);let a=Yae(e.params)?e.params.task:void 0,A=this._taskStore?this.requestTaskStore(e,r?.sessionId):void 0,c={signal:o.signal,sessionId:r?.sessionId,_meta:e.params?._meta,sendNotification:async u=>{if(o.signal.aborted)return;let l={relatedRequestId:e.id};s&&(l.relatedTask={taskId:s}),await this.notification(u,l)},sendRequest:async(u,l,p)=>{if(o.signal.aborted)throw new Oe(Ve.ConnectionClosed,"Request was cancelled");let g={...p,relatedRequestId:e.id};s&&!g.relatedTask&&(g.relatedTask={taskId:s});let d=g.relatedTask?.taskId??s;return d&&A&&await A.updateTaskStatus(d,"input_required"),await this.request(u,l,g)},authInfo:i?.authInfo,requestId:e.id,requestInfo:i?.requestInfo,taskId:s,taskStore:A,taskRequestedTtl:a?.ttl,closeSSEStream:i?.closeSSEStream,closeStandaloneSSEStream:i?.closeStandaloneSSEStream};Promise.resolve().then(()=>{a&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,c)).then(async u=>{if(o.signal.aborted)return;let l={result:u,jsonrpc:"2.0",id:e.id};s&&this._taskMessageQueue?await this._enqueueTaskMessage(s,{type:"response",message:l,timestamp:Date.now()},r?.sessionId):await r?.send(l)},async u=>{if(o.signal.aborted)return;let l={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(u.code)?u.code:Ve.InternalError,message:u.message??"Internal error",...u.data!==void 0&&{data:u.data}}};s&&this._taskMessageQueue?await this._enqueueTaskMessage(s,{type:"error",message:l,timestamp:Date.now()},r?.sessionId):await r?.send(l)}).catch(u=>this._onerror(new Error(`Failed to send response: ${u}`))).finally(()=>{this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:i,...n}=e.params,r=Number(i),s=this._progressHandlers.get(r);if(!s){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let o=this._responseHandlers.get(r),a=this._timeoutInfo.get(r);if(a&&o&&a.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(A){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),o(A);return}s(n)}_onresponse(e){let i=Number(e.id),n=this._requestResolvers.get(i);if(n){if(this._requestResolvers.delete(i),fp(e))n(e);else{let o=new Oe(e.error.code,e.error.message,e.error.data);n(o)}return}let r=this._responseHandlers.get(i);if(r===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(i),this._cleanupTimeout(i);let s=!1;if(fp(e)&&e.result&&typeof e.result=="object"){let o=e.result;if(o.task&&typeof o.task=="object"){let a=o.task;typeof a.taskId=="string"&&(s=!0,this._taskProgressTokens.set(a.taskId,i))}}if(s||this._progressHandlers.delete(i),fp(e))r(e);else{let o=Oe.fromError(e.error.code,e.error.message,e.error.data);r(o)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,i,n){let{task:r}=n??{};if(!r){try{yield{type:"result",result:await this.request(e,i,n)}}catch(o){yield{type:"error",error:o instanceof Oe?o:new Oe(Ve.InternalError,String(o))}}return}let s;try{let o=await this.request(e,pc,n);if(o.task)s=o.task.taskId,yield{type:"taskCreated",task:o.task};else throw new Oe(Ve.InternalError,"Task creation did not return a task");for(;;){let a=await this.getTask({taskId:s},n);if(yield{type:"taskStatus",task:a},Mu(a.status)){a.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:s},i,n)}:a.status==="failed"?yield{type:"error",error:new Oe(Ve.InternalError,`Task ${s} failed`)}:a.status==="cancelled"&&(yield{type:"error",error:new Oe(Ve.InternalError,`Task ${s} was cancelled`)});return}if(a.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:s},i,n)};return}let A=a.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(c=>setTimeout(c,A)),n?.signal?.throwIfAborted()}}catch(o){yield{type:"error",error:o instanceof Oe?o:new Oe(Ve.InternalError,String(o))}}}request(e,i,n){let{relatedRequestId:r,resumptionToken:s,onresumptiontoken:o,task:a,relatedTask:A}=n??{};return new Promise((c,u)=>{let l=I=>{u(I)};if(!this._transport){l(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),a&&this.assertTaskCapability(e.method)}catch(I){l(I);return}n?.signal?.throwIfAborted();let p=this._requestMessageId++,g={...e,jsonrpc:"2.0",id:p};n?.onprogress&&(this._progressHandlers.set(p,n.onprogress),g.params={...e.params,_meta:{...e.params?._meta||{},progressToken:p}}),a&&(g.params={...g.params,task:a}),A&&(g.params={...g.params,_meta:{...g.params?._meta||{},[Ru]:A}});let d=I=>{this._responseHandlers.delete(p),this._progressHandlers.delete(p),this._cleanupTimeout(p),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:p,reason:String(I)}},{relatedRequestId:r,resumptionToken:s,onresumptiontoken:o}).catch(E=>this._onerror(new Error(`Failed to send cancellation: ${E}`)));let B=I instanceof Oe?I:new Oe(Ve.RequestTimeout,String(I));u(B)};this._responseHandlers.set(p,I=>{if(!n?.signal?.aborted){if(I instanceof Error)return u(I);try{let B=ss(i,I.result);B.success?c(B.data):u(B.error)}catch(B){u(B)}}}),n?.signal?.addEventListener("abort",()=>{d(n?.signal?.reason)});let m=n?.timeout??p6e,h=()=>d(Oe.fromError(Ve.RequestTimeout,"Request timed out",{timeout:m}));this._setupTimeout(p,m,n?.maxTotalTimeout,h,n?.resetTimeoutOnProgress??!1);let C=A?.taskId;if(C){let I=B=>{let E=this._responseHandlers.get(p);E?E(B):this._onerror(new Error(`Response handler missing for side-channeled request ${p}`))};this._requestResolvers.set(p,I),this._enqueueTaskMessage(C,{type:"request",message:g,timestamp:Date.now()}).catch(B=>{this._cleanupTimeout(p),u(B)})}else this._transport.send(g,{relatedRequestId:r,resumptionToken:s,onresumptiontoken:o}).catch(I=>{this._cleanupTimeout(p),u(I)})})}async getTask(e,i){return this.request({method:"tasks/get",params:e},px,i)}async getTaskResult(e,i,n){return this.request({method:"tasks/result",params:e},i,n)}async listTasks(e,i){return this.request({method:"tasks/list",params:e},mx,i)}async cancelTask(e,i){return this.request({method:"tasks/cancel",params:e},Xae,i)}async notification(e,i){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(e.method);let n=i?.relatedTask?.taskId;if(n){let a={...e,jsonrpc:"2.0",params:{...e.params,_meta:{...e.params?._meta||{},[Ru]:i.relatedTask}}};await this._enqueueTaskMessage(n,{type:"notification",message:a,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!i?.relatedRequestId&&!i?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let a={...e,jsonrpc:"2.0"};i?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[Ru]:i.relatedTask}}}),this._transport?.send(a,i).catch(A=>this._onerror(A))});return}let o={...e,jsonrpc:"2.0"};i?.relatedTask&&(o={...o,params:{...o.params,_meta:{...o.params?._meta||{},[Ru]:i.relatedTask}}}),await this._transport.send(o,i)}setRequestHandler(e,i){let n=F2(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(r,s)=>{let o=k2(e,r);return Promise.resolve(i(o,s))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,i){let n=F2(e);this._notificationHandlers.set(n,r=>{let s=k2(e,r);return Promise.resolve(i(s))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let i=this._taskProgressTokens.get(e);i!==void 0&&(this._progressHandlers.delete(i),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,i,n){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,i,n,r)}async _clearTaskQueue(e,i){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,i);for(let r of n)if(r.type==="request"&&oI(r.message)){let s=r.message.id,o=this._requestResolvers.get(s);o?(o(new Oe(Ve.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(s)):this._onerror(new Error(`Resolver missing for request ${s} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,i){let n=this._options?.defaultTaskPollInterval??1e3;try{let r=await this._taskStore?.getTask(e);r?.pollInterval&&(n=r.pollInterval)}catch{}return new Promise((r,s)=>{if(i.aborted){s(new Oe(Ve.InvalidRequest,"Request cancelled"));return}let o=setTimeout(r,n);i.addEventListener("abort",()=>{clearTimeout(o),s(new Oe(Ve.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(e,i){let n=this._taskStore;if(!n)throw new Error("No task store configured");return{createTask:async r=>{if(!e)throw new Error("No request provided");return await n.createTask(r,e.id,{method:e.method,params:e.params},i)},getTask:async r=>{let s=await n.getTask(r,i);if(!s)throw new Oe(Ve.InvalidParams,"Failed to retrieve task: Task not found");return s},storeTaskResult:async(r,s,o)=>{await n.storeTaskResult(r,s,o,i);let a=await n.getTask(r,i);if(a){let A=lI.parse({method:"notifications/tasks/status",params:a});await this.notification(A),Mu(a.status)&&this._cleanupTaskProgressHandler(r)}},getTaskResult:r=>n.getTaskResult(r,i),updateTaskStatus:async(r,s,o)=>{let a=await n.getTask(r,i);if(!a)throw new Oe(Ve.InvalidParams,`Task "${r}" not found - it may have been cleaned up`);if(Mu(a.status))throw new Oe(Ve.InvalidParams,`Cannot update task "${r}" from terminal status "${a.status}" to "${s}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(r,s,o,i);let A=await n.getTask(r,i);if(A){let c=lI.parse({method:"notifications/tasks/status",params:A});await this.notification(c),Mu(A.status)&&this._cleanupTaskProgressHandler(r)}},listTasks:r=>n.listTasks(r,i)}}}});var EI=b(jt=>{"use strict";f();Object.defineProperty(jt,"__esModule",{value:!0});jt.regexpCode=jt.getEsmExportName=jt.getProperty=jt.safeStringify=jt.stringify=jt.strConcat=jt.addCodeArg=jt.str=jt._=jt.nil=jt._Code=jt.Name=jt.IDENTIFIER=jt._CodeOrName=void 0;var CI=class{};jt._CodeOrName=CI;jt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var hp=class extends CI{constructor(e){if(super(),!jt.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};jt.Name=hp;var ko=class extends CI{constructor(e){super(),this._items=typeof e=="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((i,n)=>`${i}${n}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((i,n)=>(n instanceof hp&&(i[n.str]=(i[n.str]||0)+1),i),{})}};jt._Code=ko;jt.nil=new ko("");function lAe(t,...e){let i=[t[0]],n=0;for(;n<e.length;)T2(i,e[n]),i.push(t[++n]);return new ko(i)}jt._=lAe;var N2=new ko("+");function pAe(t,...e){let i=[II(t[0])],n=0;for(;n<e.length;)i.push(N2),T2(i,e[n]),i.push(N2,II(t[++n]));return g6e(i),new ko(i)}jt.str=pAe;function T2(t,e){e instanceof ko?t.push(...e._items):e instanceof hp?t.push(e):t.push(f6e(e))}jt.addCodeArg=T2;function g6e(t){let e=1;for(;e<t.length-1;){if(t[e]===N2){let i=d6e(t[e-1],t[e+1]);if(i!==void 0){t.splice(e-1,3,i);continue}t[e++]="+"}e++}}function d6e(t,e){if(e==='""')return t;if(t==='""')return e;if(typeof t=="string")return e instanceof hp||t[t.length-1]!=='"'?void 0:typeof e!="string"?`${t.slice(0,-1)}${e}"`:e[0]==='"'?t.slice(0,-1)+e.slice(1):void 0;if(typeof e=="string"&&e[0]==='"'&&!(t instanceof hp))return`"${t}${e.slice(1)}`}function m6e(t,e){return e.emptyStr()?t:t.emptyStr()?e:pAe`${t}${e}`}jt.strConcat=m6e;function f6e(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:II(Array.isArray(t)?t.join(","):t)}function h6e(t){return new ko(II(t))}jt.stringify=h6e;function II(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}jt.safeStringify=II;function C6e(t){return typeof t=="string"&&jt.IDENTIFIER.test(t)?new ko(`.${t}`):lAe`[${t}]`}jt.getProperty=C6e;function I6e(t){if(typeof t=="string"&&jt.IDENTIFIER.test(t))return new ko(`${t}`);throw new Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}jt.getEsmExportName=I6e;function E6e(t){return new ko(t.toString())}jt.regexpCode=E6e});var _2=b(Fs=>{"use strict";f();Object.defineProperty(Fs,"__esModule",{value:!0});Fs.ValueScope=Fs.ValueScopeName=Fs.Scope=Fs.varKinds=Fs.UsedValueState=void 0;var Ss=EI(),M2=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},Dx;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Dx||(Fs.UsedValueState=Dx={}));Fs.varKinds={const:new Ss.Name("const"),let:new Ss.Name("let"),var:new Ss.Name("var")};var xx=class{constructor({prefixes:e,parent:i}={}){this._names={},this._prefixes=e,this._parent=i}toName(e){return e instanceof Ss.Name?e:this.name(e)}name(e){return new Ss.Name(this._newName(e))}_newName(e){let i=this._names[e]||this._nameGroup(e);return`${e}${i.index++}`}_nameGroup(e){var i,n;if(!((n=(i=this._parent)===null||i===void 0?void 0:i._prefixes)===null||n===void 0)&&n.has(e)||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};Fs.Scope=xx;var vx=class extends Ss.Name{constructor(e,i){super(i),this.prefix=e}setValue(e,{property:i,itemIndex:n}){this.value=e,this.scopePath=(0,Ss._)`.${new Ss.Name(i)}[${n}]`}};Fs.ValueScopeName=vx;var B6e=(0,Ss._)`\n`,P2=class extends xx{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?B6e:Ss.nil}}get(){return this._scope}name(e){return new vx(e,this._newName(e))}value(e,i){var n;if(i.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let r=this.toName(e),{prefix:s}=r,o=(n=i.key)!==null&&n!==void 0?n:i.ref,a=this._values[s];if(a){let u=a.get(o);if(u)return u}else a=this._values[s]=new Map;a.set(o,r);let A=this._scope[s]||(this._scope[s]=[]),c=A.length;return A[c]=i.ref,r.setValue(i,{property:s,itemIndex:c}),r}getValue(e,i){let n=this._values[e];if(n)return n.get(i)}scopeRefs(e,i=this._values){return this._reduceValues(i,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,Ss._)`${e}${n.scopePath}`})}scopeCode(e=this._values,i,n){return this._reduceValues(e,r=>{if(r.value===void 0)throw new Error(`CodeGen: name "${r}" has no value`);return r.value.code},i,n)}_reduceValues(e,i,n={},r){let s=Ss.nil;for(let o in e){let a=e[o];if(!a)continue;let A=n[o]=n[o]||new Map;a.forEach(c=>{if(A.has(c))return;A.set(c,Dx.Started);let u=i(c);if(u){let l=this.opts.es5?Fs.varKinds.var:Fs.varKinds.const;s=(0,Ss._)`${s}${l} ${c} = ${u};${this.opts._n}`}else if(u=r?.(c))s=(0,Ss._)`${s}${u}${this.opts._n}`;else throw new M2(c);A.set(c,Dx.Completed)})}return s}};Fs.ValueScope=P2});var Ct=b(Qt=>{"use strict";f();Object.defineProperty(Qt,"__esModule",{value:!0});Qt.or=Qt.and=Qt.not=Qt.CodeGen=Qt.operators=Qt.varKinds=Qt.ValueScopeName=Qt.ValueScope=Qt.Scope=Qt.Name=Qt.regexpCode=Qt.stringify=Qt.getProperty=Qt.nil=Qt.strConcat=Qt.str=Qt._=void 0;var _t=EI(),ya=_2(),_u=EI();Object.defineProperty(Qt,"_",{enumerable:!0,get:function(){return _u._}});Object.defineProperty(Qt,"str",{enumerable:!0,get:function(){return _u.str}});Object.defineProperty(Qt,"strConcat",{enumerable:!0,get:function(){return _u.strConcat}});Object.defineProperty(Qt,"nil",{enumerable:!0,get:function(){return _u.nil}});Object.defineProperty(Qt,"getProperty",{enumerable:!0,get:function(){return _u.getProperty}});Object.defineProperty(Qt,"stringify",{enumerable:!0,get:function(){return _u.stringify}});Object.defineProperty(Qt,"regexpCode",{enumerable:!0,get:function(){return _u.regexpCode}});Object.defineProperty(Qt,"Name",{enumerable:!0,get:function(){return _u.Name}});var Fx=_2();Object.defineProperty(Qt,"Scope",{enumerable:!0,get:function(){return Fx.Scope}});Object.defineProperty(Qt,"ValueScope",{enumerable:!0,get:function(){return Fx.ValueScope}});Object.defineProperty(Qt,"ValueScopeName",{enumerable:!0,get:function(){return Fx.ValueScopeName}});Object.defineProperty(Qt,"varKinds",{enumerable:!0,get:function(){return Fx.varKinds}});Qt.operators={GT:new _t._Code(">"),GTE:new _t._Code(">="),LT:new _t._Code("<"),LTE:new _t._Code("<="),EQ:new _t._Code("==="),NEQ:new _t._Code("!=="),NOT:new _t._Code("!"),OR:new _t._Code("||"),AND:new _t._Code("&&"),ADD:new _t._Code("+")};var dc=class{optimizeNodes(){return this}optimizeNames(e,i){return this}},L2=class extends dc{constructor(e,i,n){super(),this.varKind=e,this.name=i,this.rhs=n}render({es5:e,_n:i}){let n=e?ya.varKinds.var:this.varKind,r=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+i}optimizeNames(e,i){if(e[this.name.str])return this.rhs&&(this.rhs=dm(this.rhs,e,i)),this}get names(){return this.rhs instanceof _t._CodeOrName?this.rhs.names:{}}},wx=class extends dc{constructor(e,i,n){super(),this.lhs=e,this.rhs=i,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,i){if(!(this.lhs instanceof _t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=dm(this.rhs,e,i),this}get names(){let e=this.lhs instanceof _t.Name?{}:{...this.lhs.names};return Sx(e,this.rhs)}},U2=class extends wx{constructor(e,i,n,r){super(e,n,r),this.op=i}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},G2=class extends dc{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},O2=class extends dc{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},K2=class extends dc{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},H2=class extends dc{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,i){return this.code=dm(this.code,e,i),this}get names(){return this.code instanceof _t._CodeOrName?this.code.names:{}}},BI=class extends dc{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((i,n)=>i+n.render(e),"")}optimizeNodes(){let{nodes:e}=this,i=e.length;for(;i--;){let n=e[i].optimizeNodes();Array.isArray(n)?e.splice(i,1,...n):n?e[i]=n:e.splice(i,1)}return e.length>0?this:void 0}optimizeNames(e,i){let{nodes:n}=this,r=n.length;for(;r--;){let s=n[r];s.optimizeNames(e,i)||(Q6e(e,s.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,i)=>Ep(e,i.names),{})}},mc=class extends BI{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},J2=class extends BI{},gm=class extends mc{};gm.kind="else";var Cp=class t extends mc{constructor(e,i){super(i),this.condition=e}render(e){let i=`if(${this.condition})`+super.render(e);return this.else&&(i+="else "+this.else.render(e)),i}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(e===!0)return this.nodes;let i=this.else;if(i){let n=i.optimizeNodes();i=this.else=Array.isArray(n)?new gm(n):n}if(i)return e===!1?i instanceof t?i:i.nodes:this.nodes.length?this:new t(gAe(e),i instanceof t?[i]:i.nodes);if(!(e===!1||!this.nodes.length))return this}optimizeNames(e,i){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(e,i),!!(super.optimizeNames(e,i)||this.else))return this.condition=dm(this.condition,e,i),this}get names(){let e=super.names;return Sx(e,this.condition),this.else&&Ep(e,this.else.names),e}};Cp.kind="if";var Ip=class extends mc{};Ip.kind="for";var j2=class extends Ip{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,i){if(super.optimizeNames(e,i))return this.iteration=dm(this.iteration,e,i),this}get names(){return Ep(super.names,this.iteration.names)}},Y2=class extends Ip{constructor(e,i,n,r){super(),this.varKind=e,this.name=i,this.from=n,this.to=r}render(e){let i=e.es5?ya.varKinds.var:this.varKind,{name:n,from:r,to:s}=this;return`for(${i} ${n}=${r}; ${n}<${s}; ${n}++)`+super.render(e)}get names(){let e=Sx(super.names,this.from);return Sx(e,this.to)}},bx=class extends Ip{constructor(e,i,n,r){super(),this.loop=e,this.varKind=i,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,i){if(super.optimizeNames(e,i))return this.iterable=dm(this.iterable,e,i),this}get names(){return Ep(super.names,this.iterable.names)}},QI=class extends mc{constructor(e,i,n){super(),this.name=e,this.args=i,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}};QI.kind="func";var yI=class extends BI{render(e){return"return "+super.render(e)}};yI.kind="return";var $2=class extends mc{render(e){let i="try"+super.render(e);return this.catch&&(i+=this.catch.render(e)),this.finally&&(i+=this.finally.render(e)),i}optimizeNodes(){var e,i;return super.optimizeNodes(),(e=this.catch)===null||e===void 0||e.optimizeNodes(),(i=this.finally)===null||i===void 0||i.optimizeNodes(),this}optimizeNames(e,i){var n,r;return super.optimizeNames(e,i),(n=this.catch)===null||n===void 0||n.optimizeNames(e,i),(r=this.finally)===null||r===void 0||r.optimizeNames(e,i),this}get names(){let e=super.names;return this.catch&&Ep(e,this.catch.names),this.finally&&Ep(e,this.finally.names),e}},DI=class extends mc{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};DI.kind="catch";var xI=class extends mc{render(e){return"finally"+super.render(e)}};xI.kind="finally";var q2=class{constructor(e,i={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...i,_n:i.lines?`
1803
- `:""},this._extScope=e,this._scope=new ya.Scope({parent:e}),this._nodes=[new J2]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,i){let n=this._extScope.value(e,i);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,i){return this._extScope.getValue(e,i)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,i,n,r){let s=this._scope.toName(i);return n!==void 0&&r&&(this._constants[s.str]=n),this._leafNode(new L2(e,s,n)),s}const(e,i,n){return this._def(ya.varKinds.const,e,i,n)}let(e,i,n){return this._def(ya.varKinds.let,e,i,n)}var(e,i,n){return this._def(ya.varKinds.var,e,i,n)}assign(e,i,n){return this._leafNode(new wx(e,i,n))}add(e,i){return this._leafNode(new U2(e,Qt.operators.ADD,i))}code(e){return typeof e=="function"?e():e!==_t.nil&&this._leafNode(new H2(e)),this}object(...e){let i=["{"];for(let[n,r]of e)i.length>1&&i.push(","),i.push(n),(n!==r||this.opts.es5)&&(i.push(":"),(0,_t.addCodeArg)(i,r));return i.push("}"),new _t._Code(i)}if(e,i,n){if(this._blockNode(new Cp(e)),i&&n)this.code(i).else().code(n).endIf();else if(i)this.code(i).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new Cp(e))}else(){return this._elseNode(new gm)}endIf(){return this._endBlockNode(Cp,gm)}_for(e,i){return this._blockNode(e),i&&this.code(i).endFor(),this}for(e,i){return this._for(new j2(e),i)}forRange(e,i,n,r,s=this.opts.es5?ya.varKinds.var:ya.varKinds.let){let o=this._scope.toName(e);return this._for(new Y2(s,o,i,n),()=>r(o))}forOf(e,i,n,r=ya.varKinds.const){let s=this._scope.toName(e);if(this.opts.es5){let o=i instanceof _t.Name?i:this.var("_arr",i);return this.forRange("_i",0,(0,_t._)`${o}.length`,a=>{this.var(s,(0,_t._)`${o}[${a}]`),n(s)})}return this._for(new bx("of",r,s,i),()=>n(s))}forIn(e,i,n,r=this.opts.es5?ya.varKinds.var:ya.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,_t._)`Object.keys(${i})`,n);let s=this._scope.toName(e);return this._for(new bx("in",r,s,i),()=>n(s))}endFor(){return this._endBlockNode(Ip)}label(e){return this._leafNode(new G2(e))}break(e){return this._leafNode(new O2(e))}return(e){let i=new yI;if(this._blockNode(i),this.code(e),i.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(yI)}try(e,i,n){if(!i&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let r=new $2;if(this._blockNode(r),this.code(e),i){let s=this.name("e");this._currNode=r.catch=new DI(s),i(s)}return n&&(this._currNode=r.finally=new xI,this.code(n)),this._endBlockNode(DI,xI)}throw(e){return this._leafNode(new K2(e))}block(e,i){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(i),this}endBlock(e){let i=this._blockStarts.pop();if(i===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-i;if(n<0||e!==void 0&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=i,this}func(e,i=_t.nil,n,r){return this._blockNode(new QI(e,i,n)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(QI)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,i){let n=this._currNode;if(n instanceof e||i&&n instanceof i)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${i?`${e.kind}/${i.kind}`:e.kind}"`)}_elseNode(e){let i=this._currNode;if(!(i instanceof Cp))throw new Error('CodeGen: "else" without "if"');return this._currNode=i.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let i=this._nodes;i[i.length-1]=e}};Qt.CodeGen=q2;function Ep(t,e){for(let i in e)t[i]=(t[i]||0)+(e[i]||0);return t}function Sx(t,e){return e instanceof _t._CodeOrName?Ep(t,e.names):t}function dm(t,e,i){if(t instanceof _t.Name)return n(t);if(!r(t))return t;return new _t._Code(t._items.reduce((s,o)=>(o instanceof _t.Name&&(o=n(o)),o instanceof _t._Code?s.push(...o._items):s.push(o),s),[]));function n(s){let o=i[s.str];return o===void 0||e[s.str]!==1?s:(delete e[s.str],o)}function r(s){return s instanceof _t._Code&&s._items.some(o=>o instanceof _t.Name&&e[o.str]===1&&i[o.str]!==void 0)}}function Q6e(t,e){for(let i in e)t[i]=(t[i]||0)-(e[i]||0)}function gAe(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,_t._)`!${z2(t)}`}Qt.not=gAe;var y6e=dAe(Qt.operators.AND);function D6e(...t){return t.reduce(y6e)}Qt.and=D6e;var x6e=dAe(Qt.operators.OR);function v6e(...t){return t.reduce(x6e)}Qt.or=v6e;function dAe(t){return(e,i)=>e===_t.nil?i:i===_t.nil?e:(0,_t._)`${z2(e)} ${t} ${z2(i)}`}function z2(t){return t instanceof _t.Name?t:(0,_t._)`(${t})`}});var Yt=b(xt=>{"use strict";f();Object.defineProperty(xt,"__esModule",{value:!0});xt.checkStrictMode=xt.getErrorPath=xt.Type=xt.useFunc=xt.setEvaluated=xt.evaluatedPropsToName=xt.mergeEvaluated=xt.eachItem=xt.unescapeJsonPointer=xt.escapeJsonPointer=xt.escapeFragment=xt.unescapeFragment=xt.schemaRefOrVal=xt.schemaHasRulesButRef=xt.schemaHasRules=xt.checkUnknownRules=xt.alwaysValidSchema=xt.toHash=void 0;var mi=Ct(),w6e=EI();function b6e(t){let e={};for(let i of t)e[i]=!0;return e}xt.toHash=b6e;function S6e(t,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(hAe(t,e),!CAe(e,t.self.RULES.all))}xt.alwaysValidSchema=S6e;function hAe(t,e=t.schema){let{opts:i,self:n}=t;if(!i.strictSchema||typeof e=="boolean")return;let r=n.RULES.keywords;for(let s in e)r[s]||BAe(t,`unknown keyword: "${s}"`)}xt.checkUnknownRules=hAe;function CAe(t,e){if(typeof t=="boolean")return!t;for(let i in t)if(e[i])return!0;return!1}xt.schemaHasRules=CAe;function F6e(t,e){if(typeof t=="boolean")return!t;for(let i in t)if(i!=="$ref"&&e.all[i])return!0;return!1}xt.schemaHasRulesButRef=F6e;function k6e({topSchemaRef:t,schemaPath:e},i,n,r){if(!r){if(typeof i=="number"||typeof i=="boolean")return i;if(typeof i=="string")return(0,mi._)`${i}`}return(0,mi._)`${t}${e}${(0,mi.getProperty)(n)}`}xt.schemaRefOrVal=k6e;function R6e(t){return IAe(decodeURIComponent(t))}xt.unescapeFragment=R6e;function N6e(t){return encodeURIComponent(W2(t))}xt.escapeFragment=N6e;function W2(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}xt.escapeJsonPointer=W2;function IAe(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}xt.unescapeJsonPointer=IAe;function T6e(t,e){if(Array.isArray(t))for(let i of t)e(i);else e(t)}xt.eachItem=T6e;function mAe({mergeNames:t,mergeToName:e,mergeValues:i,resultToName:n}){return(r,s,o,a)=>{let A=o===void 0?s:o instanceof mi.Name?(s instanceof mi.Name?t(r,s,o):e(r,s,o),o):s instanceof mi.Name?(e(r,o,s),s):i(s,o);return a===mi.Name&&!(A instanceof mi.Name)?n(r,A):A}}xt.mergeEvaluated={props:mAe({mergeNames:(t,e,i)=>t.if((0,mi._)`${i} !== true && ${e} !== undefined`,()=>{t.if((0,mi._)`${e} === true`,()=>t.assign(i,!0),()=>t.assign(i,(0,mi._)`${i} || {}`).code((0,mi._)`Object.assign(${i}, ${e})`))}),mergeToName:(t,e,i)=>t.if((0,mi._)`${i} !== true`,()=>{e===!0?t.assign(i,!0):(t.assign(i,(0,mi._)`${i} || {}`),Z2(t,i,e))}),mergeValues:(t,e)=>t===!0?!0:{...t,...e},resultToName:EAe}),items:mAe({mergeNames:(t,e,i)=>t.if((0,mi._)`${i} !== true && ${e} !== undefined`,()=>t.assign(i,(0,mi._)`${e} === true ? true : ${i} > ${e} ? ${i} : ${e}`)),mergeToName:(t,e,i)=>t.if((0,mi._)`${i} !== true`,()=>t.assign(i,e===!0?!0:(0,mi._)`${i} > ${e} ? ${i} : ${e}`)),mergeValues:(t,e)=>t===!0?!0:Math.max(t,e),resultToName:(t,e)=>t.var("items",e)})};function EAe(t,e){if(e===!0)return t.var("props",!0);let i=t.var("props",(0,mi._)`{}`);return e!==void 0&&Z2(t,i,e),i}xt.evaluatedPropsToName=EAe;function Z2(t,e,i){Object.keys(i).forEach(n=>t.assign((0,mi._)`${e}${(0,mi.getProperty)(n)}`,!0))}xt.setEvaluated=Z2;var fAe={};function M6e(t,e){return t.scopeValue("func",{ref:e,code:fAe[e.code]||(fAe[e.code]=new w6e._Code(e.code))})}xt.useFunc=M6e;var V2;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(V2||(xt.Type=V2={}));function P6e(t,e,i){if(t instanceof mi.Name){let n=e===V2.Num;return i?n?(0,mi._)`"[" + ${t} + "]"`:(0,mi._)`"['" + ${t} + "']"`:n?(0,mi._)`"/" + ${t}`:(0,mi._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return i?(0,mi.getProperty)(t).toString():"/"+W2(t)}xt.getErrorPath=P6e;function BAe(t,e,i=t.opts.strictSchema){if(i){if(e=`strict mode: ${e}`,i===!0)throw new Error(e);t.self.logger.warn(e)}}xt.checkStrictMode=BAe});var fc=b(X2=>{"use strict";f();Object.defineProperty(X2,"__esModule",{value:!0});var Ur=Ct(),_6e={data:new Ur.Name("data"),valCxt:new Ur.Name("valCxt"),instancePath:new Ur.Name("instancePath"),parentData:new Ur.Name("parentData"),parentDataProperty:new Ur.Name("parentDataProperty"),rootData:new Ur.Name("rootData"),dynamicAnchors:new Ur.Name("dynamicAnchors"),vErrors:new Ur.Name("vErrors"),errors:new Ur.Name("errors"),this:new Ur.Name("this"),self:new Ur.Name("self"),scope:new Ur.Name("scope"),json:new Ur.Name("json"),jsonPos:new Ur.Name("jsonPos"),jsonLen:new Ur.Name("jsonLen"),jsonPart:new Ur.Name("jsonPart")};X2.default=_6e});var vI=b(Gr=>{"use strict";f();Object.defineProperty(Gr,"__esModule",{value:!0});Gr.extendErrors=Gr.resetErrorsCount=Gr.reportExtraError=Gr.reportError=Gr.keyword$DataError=Gr.keywordError=void 0;var Ot=Ct(),kx=Yt(),os=fc();Gr.keywordError={message:({keyword:t})=>(0,Ot.str)`must pass "${t}" keyword validation`};Gr.keyword$DataError={message:({keyword:t,schemaType:e})=>e?(0,Ot.str)`"${t}" keyword must be ${e} ($data)`:(0,Ot.str)`"${t}" keyword is invalid ($data)`};function L6e(t,e=Gr.keywordError,i,n){let{it:r}=t,{gen:s,compositeRule:o,allErrors:a}=r,A=DAe(t,e,i);n??(o||a)?QAe(s,A):yAe(r,(0,Ot._)`[${A}]`)}Gr.reportError=L6e;function U6e(t,e=Gr.keywordError,i){let{it:n}=t,{gen:r,compositeRule:s,allErrors:o}=n,a=DAe(t,e,i);QAe(r,a),s||o||yAe(n,os.default.vErrors)}Gr.reportExtraError=U6e;function G6e(t,e){t.assign(os.default.errors,e),t.if((0,Ot._)`${os.default.vErrors} !== null`,()=>t.if(e,()=>t.assign((0,Ot._)`${os.default.vErrors}.length`,e),()=>t.assign(os.default.vErrors,null)))}Gr.resetErrorsCount=G6e;function O6e({gen:t,keyword:e,schemaValue:i,data:n,errsCount:r,it:s}){if(r===void 0)throw new Error("ajv implementation error");let o=t.name("err");t.forRange("i",r,os.default.errors,a=>{t.const(o,(0,Ot._)`${os.default.vErrors}[${a}]`),t.if((0,Ot._)`${o}.instancePath === undefined`,()=>t.assign((0,Ot._)`${o}.instancePath`,(0,Ot.strConcat)(os.default.instancePath,s.errorPath))),t.assign((0,Ot._)`${o}.schemaPath`,(0,Ot.str)`${s.errSchemaPath}/${e}`),s.opts.verbose&&(t.assign((0,Ot._)`${o}.schema`,i),t.assign((0,Ot._)`${o}.data`,n))})}Gr.extendErrors=O6e;function QAe(t,e){let i=t.const("err",e);t.if((0,Ot._)`${os.default.vErrors} === null`,()=>t.assign(os.default.vErrors,(0,Ot._)`[${i}]`),(0,Ot._)`${os.default.vErrors}.push(${i})`),t.code((0,Ot._)`${os.default.errors}++`)}function yAe(t,e){let{gen:i,validateName:n,schemaEnv:r}=t;r.$async?i.throw((0,Ot._)`new ${t.ValidationError}(${e})`):(i.assign((0,Ot._)`${n}.errors`,e),i.return(!1))}var Bp={keyword:new Ot.Name("keyword"),schemaPath:new Ot.Name("schemaPath"),params:new Ot.Name("params"),propertyName:new Ot.Name("propertyName"),message:new Ot.Name("message"),schema:new Ot.Name("schema"),parentSchema:new Ot.Name("parentSchema")};function DAe(t,e,i){let{createErrors:n}=t.it;return n===!1?(0,Ot._)`{}`:K6e(t,e,i)}function K6e(t,e,i={}){let{gen:n,it:r}=t,s=[H6e(r,i),J6e(t,i)];return j6e(t,e,s),n.object(...s)}function H6e({errorPath:t},{instancePath:e}){let i=e?(0,Ot.str)`${t}${(0,kx.getErrorPath)(e,kx.Type.Str)}`:t;return[os.default.instancePath,(0,Ot.strConcat)(os.default.instancePath,i)]}function J6e({keyword:t,it:{errSchemaPath:e}},{schemaPath:i,parentSchema:n}){let r=n?e:(0,Ot.str)`${e}/${t}`;return i&&(r=(0,Ot.str)`${r}${(0,kx.getErrorPath)(i,kx.Type.Str)}`),[Bp.schemaPath,r]}function j6e(t,{params:e,message:i},n){let{keyword:r,data:s,schemaValue:o,it:a}=t,{opts:A,propertyName:c,topSchemaRef:u,schemaPath:l}=a;n.push([Bp.keyword,r],[Bp.params,typeof e=="function"?e(t):e||(0,Ot._)`{}`]),A.messages&&n.push([Bp.message,typeof i=="function"?i(t):i]),A.verbose&&n.push([Bp.schema,o],[Bp.parentSchema,(0,Ot._)`${u}${l}`],[os.default.data,s]),c&&n.push([Bp.propertyName,c])}});var vAe=b(mm=>{"use strict";f();Object.defineProperty(mm,"__esModule",{value:!0});mm.boolOrEmptySchema=mm.topBoolOrEmptySchema=void 0;var Y6e=vI(),$6e=Ct(),q6e=fc(),z6e={message:"boolean schema is false"};function V6e(t){let{gen:e,schema:i,validateName:n}=t;i===!1?xAe(t,!1):typeof i=="object"&&i.$async===!0?e.return(q6e.default.data):(e.assign((0,$6e._)`${n}.errors`,null),e.return(!0))}mm.topBoolOrEmptySchema=V6e;function W6e(t,e){let{gen:i,schema:n}=t;n===!1?(i.var(e,!1),xAe(t)):i.var(e,!0)}mm.boolOrEmptySchema=W6e;function xAe(t,e){let{gen:i,data:n}=t,r={gen:i,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};(0,Y6e.reportError)(r,z6e,void 0,e)}});var eL=b(fm=>{"use strict";f();Object.defineProperty(fm,"__esModule",{value:!0});fm.getRules=fm.isJSONType=void 0;var Z6e=["string","number","integer","boolean","null","object","array"],X6e=new Set(Z6e);function e9e(t){return typeof t=="string"&&X6e.has(t)}fm.isJSONType=e9e;function t9e(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}fm.getRules=t9e});var tL=b(Lu=>{"use strict";f();Object.defineProperty(Lu,"__esModule",{value:!0});Lu.shouldUseRule=Lu.shouldUseGroup=Lu.schemaHasRulesForType=void 0;function i9e({schema:t,self:e},i){let n=e.RULES.types[i];return n&&n!==!0&&wAe(t,n)}Lu.schemaHasRulesForType=i9e;function wAe(t,e){return e.rules.some(i=>bAe(t,i))}Lu.shouldUseGroup=wAe;function bAe(t,e){var i;return t[e.keyword]!==void 0||((i=e.definition.implements)===null||i===void 0?void 0:i.some(n=>t[n]!==void 0))}Lu.shouldUseRule=bAe});var wI=b(Or=>{"use strict";f();Object.defineProperty(Or,"__esModule",{value:!0});Or.reportTypeError=Or.checkDataTypes=Or.checkDataType=Or.coerceAndCheckDataType=Or.getJSONTypes=Or.getSchemaTypes=Or.DataType=void 0;var n9e=eL(),r9e=tL(),s9e=vI(),ft=Ct(),SAe=Yt(),hm;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(hm||(Or.DataType=hm={}));function o9e(t){let e=FAe(t.type);if(e.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!e.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&e.push("null")}return e}Or.getSchemaTypes=o9e;function FAe(t){let e=Array.isArray(t)?t:t?[t]:[];if(e.every(n9e.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}Or.getJSONTypes=FAe;function a9e(t,e){let{gen:i,data:n,opts:r}=t,s=A9e(e,r.coerceTypes),o=e.length>0&&!(s.length===0&&e.length===1&&(0,r9e.schemaHasRulesForType)(t,e[0]));if(o){let a=nL(e,n,r.strictNumbers,hm.Wrong);i.if(a,()=>{s.length?c9e(t,e,s):rL(t)})}return o}Or.coerceAndCheckDataType=a9e;var kAe=new Set(["string","number","integer","boolean","null"]);function A9e(t,e){return e?t.filter(i=>kAe.has(i)||e==="array"&&i==="array"):[]}function c9e(t,e,i){let{gen:n,data:r,opts:s}=t,o=n.let("dataType",(0,ft._)`typeof ${r}`),a=n.let("coerced",(0,ft._)`undefined`);s.coerceTypes==="array"&&n.if((0,ft._)`${o} == 'object' && Array.isArray(${r}) && ${r}.length == 1`,()=>n.assign(r,(0,ft._)`${r}[0]`).assign(o,(0,ft._)`typeof ${r}`).if(nL(e,r,s.strictNumbers),()=>n.assign(a,r))),n.if((0,ft._)`${a} !== undefined`);for(let c of i)(kAe.has(c)||c==="array"&&s.coerceTypes==="array")&&A(c);n.else(),rL(t),n.endIf(),n.if((0,ft._)`${a} !== undefined`,()=>{n.assign(r,a),u9e(t,a)});function A(c){switch(c){case"string":n.elseIf((0,ft._)`${o} == "number" || ${o} == "boolean"`).assign(a,(0,ft._)`"" + ${r}`).elseIf((0,ft._)`${r} === null`).assign(a,(0,ft._)`""`);return;case"number":n.elseIf((0,ft._)`${o} == "boolean" || ${r} === null
1802
+ })));`),p.write(`newResult[${pp(I)}] = ${B}.value`)}p.write("payload.value = newResult;"),p.write("return payload;");let C=p.compile();return(I,B)=>C(l,I,B)},r,s=im,o=!_0.jitless,A=o&&SP.value,c=e.catchall,u;t._zod.parse=(l,p)=>{u??(u=i.value);let g=l.value;if(!s(g))return l.issues.push({expected:"object",code:"invalid_type",input:g,inst:t}),l;let d=[];if(o&&A&&p?.async===!1&&p.jitless!==!0)r||(r=n(e.shape)),l=r(l,p);else{l.value={};let B=u.shape;for(let E of u.keys){let Q=B[E],y=Q._zod.run({value:g[E],issues:[]},p),x=Q._zod.optin==="optional"&&Q._zod.optout==="optional";y instanceof Promise?d.push(y.then(v=>x?sse(v,l,E,g):$0(v,l,E))):x?sse(y,l,E,g):$0(y,l,E)}}if(!c)return d.length?Promise.all(d).then(()=>l):l;let m=[],h=u.keySet,C=c._zod,I=C.def.type;for(let B of Object.keys(g)){if(h.has(B))continue;if(I==="never"){m.push(B);continue}let E=C.run({value:g[B],issues:[]},p);E instanceof Promise?d.push(E.then(Q=>$0(Q,l,B))):$0(E,l,B)}return m.length&&l.issues.push({code:"unrecognized_keys",keys:m,input:g,inst:t}),d.length?Promise.all(d).then(()=>l):l}});zP=ce("$ZodUnion",(t,e)=>{si.init(t,e),Bi(t._zod,"optin",()=>e.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Bi(t._zod,"optout",()=>e.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Bi(t._zod,"values",()=>{if(e.options.every(i=>i._zod.values))return new Set(e.options.flatMap(i=>Array.from(i._zod.values)))}),Bi(t._zod,"pattern",()=>{if(e.options.every(i=>i._zod.pattern)){let i=e.options.map(n=>n._zod.pattern);return new RegExp(`^(${i.map(n=>WC(n.source)).join("|")})$`)}}),t._zod.parse=(i,n)=>{let r=!1,s=[];for(let o of e.options){let a=o._zod.run({value:i.value,issues:[]},n);if(a instanceof Promise)s.push(a),r=!0;else{if(a.issues.length===0)return a;s.push(a)}}return r?Promise.all(s).then(o=>ose(o,i,t,n)):ose(s,i,t,n)}}),$se=ce("$ZodDiscriminatedUnion",(t,e)=>{zP.init(t,e);let i=t._zod.parse;Bi(t._zod,"propValues",()=>{let r={};for(let s of e.options){let o=s._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(let[a,A]of Object.entries(o)){r[a]||(r[a]=new Set);for(let c of A)r[a].add(c)}}return r});let n=zC(()=>{let r=e.options,s=new Map;for(let o of r){let a=o._zod.propValues[e.discriminator];if(!a||a.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(o)}"`);for(let A of a){if(s.has(A))throw new Error(`Duplicate discriminator value "${String(A)}"`);s.set(A,o)}}return s});t._zod.parse=(r,s)=>{let o=r.value;if(!im(o))return r.issues.push({code:"invalid_type",expected:"object",input:o,inst:t}),r;let a=n.value.get(o?.[e.discriminator]);return a?a._zod.run(r,s):e.unionFallback?i(r,s):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:o,path:[e.discriminator],inst:t}),r)}}),qse=ce("$ZodIntersection",(t,e)=>{si.init(t,e),t._zod.parse=(i,n)=>{let r=i.value,s=e.left._zod.run({value:r,issues:[]},n),o=e.right._zod.run({value:r,issues:[]},n);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([A,c])=>ase(i,A,c)):ase(i,s,o)}});zse=ce("$ZodRecord",(t,e)=>{si.init(t,e),t._zod.parse=(i,n)=>{let r=i.value;if(!nm(r))return i.issues.push({expected:"record",code:"invalid_type",input:r,inst:t}),i;let s=[];if(e.keyType._zod.values){let o=e.keyType._zod.values;i.value={};for(let A of o)if(typeof A=="string"||typeof A=="number"||typeof A=="symbol"){let c=e.valueType._zod.run({value:r[A],issues:[]},n);c instanceof Promise?s.push(c.then(u=>{u.issues.length&&i.issues.push(...mA(A,u.issues)),i.value[A]=u.value})):(c.issues.length&&i.issues.push(...mA(A,c.issues)),i.value[A]=c.value)}let a;for(let A in r)o.has(A)||(a=a??[],a.push(A));a&&a.length>0&&i.issues.push({code:"unrecognized_keys",input:r,inst:t,keys:a})}else{i.value={};for(let o of Reflect.ownKeys(r)){if(o==="__proto__")continue;let a=e.keyType._zod.run({value:o,issues:[]},n);if(a instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(a.issues.length){i.issues.push({origin:"record",code:"invalid_key",issues:a.issues.map(c=>Ba(c,n,zs())),input:o,path:[o],inst:t}),i.value[a.value]=a.value;continue}let A=e.valueType._zod.run({value:r[o],issues:[]},n);A instanceof Promise?s.push(A.then(c=>{c.issues.length&&i.issues.push(...mA(o,c.issues)),i.value[a.value]=c.value})):(A.issues.length&&i.issues.push(...mA(o,A.issues)),i.value[a.value]=A.value)}}return s.length?Promise.all(s).then(()=>i):i}}),Vse=ce("$ZodEnum",(t,e)=>{si.init(t,e);let i=xP(e.entries);t._zod.values=new Set(i),t._zod.pattern=new RegExp(`^(${i.filter(n=>FP.has(typeof n)).map(n=>typeof n=="string"?Su(n):n.toString()).join("|")})$`),t._zod.parse=(n,r)=>{let s=n.value;return t._zod.values.has(s)||n.issues.push({code:"invalid_value",values:i,input:s,inst:t}),n}}),Wse=ce("$ZodLiteral",(t,e)=>{si.init(t,e),t._zod.values=new Set(e.values),t._zod.pattern=new RegExp(`^(${e.values.map(i=>typeof i=="string"?Su(i):i?i.toString():String(i)).join("|")})$`),t._zod.parse=(i,n)=>{let r=i.value;return t._zod.values.has(r)||i.issues.push({code:"invalid_value",values:e.values,input:r,inst:t}),i}}),Zse=ce("$ZodTransform",(t,e)=>{si.init(t,e),t._zod.parse=(i,n)=>{let r=e.transform(i.value,i);if(n.async)return(r instanceof Promise?r:Promise.resolve(r)).then(o=>(i.value=o,i));if(r instanceof Promise)throw new Ac;return i.value=r,i}}),Xse=ce("$ZodOptional",(t,e)=>{si.init(t,e),t._zod.optin="optional",t._zod.optout="optional",Bi(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),Bi(t._zod,"pattern",()=>{let i=e.innerType._zod.pattern;return i?new RegExp(`^(${WC(i.source)})?$`):void 0}),t._zod.parse=(i,n)=>e.innerType._zod.optin==="optional"?e.innerType._zod.run(i,n):i.value===void 0?i:e.innerType._zod.run(i,n)}),eoe=ce("$ZodNullable",(t,e)=>{si.init(t,e),Bi(t._zod,"optin",()=>e.innerType._zod.optin),Bi(t._zod,"optout",()=>e.innerType._zod.optout),Bi(t._zod,"pattern",()=>{let i=e.innerType._zod.pattern;return i?new RegExp(`^(${WC(i.source)}|null)$`):void 0}),Bi(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(i,n)=>i.value===null?i:e.innerType._zod.run(i,n)}),toe=ce("$ZodDefault",(t,e)=>{si.init(t,e),t._zod.optin="optional",Bi(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>{if(i.value===void 0)return i.value=e.defaultValue,i;let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(s=>Ase(s,e)):Ase(r,e)}});ioe=ce("$ZodPrefault",(t,e)=>{si.init(t,e),t._zod.optin="optional",Bi(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>(i.value===void 0&&(i.value=e.defaultValue),e.innerType._zod.run(i,n))}),noe=ce("$ZodNonOptional",(t,e)=>{si.init(t,e),Bi(t._zod,"values",()=>{let i=e.innerType._zod.values;return i?new Set([...i].filter(n=>n!==void 0)):void 0}),t._zod.parse=(i,n)=>{let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(s=>cse(s,t)):cse(r,t)}});roe=ce("$ZodCatch",(t,e)=>{si.init(t,e),t._zod.optin="optional",Bi(t._zod,"optout",()=>e.innerType._zod.optout),Bi(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(i,n)=>{let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(s=>(i.value=s.value,s.issues.length&&(i.value=e.catchValue({...i,error:{issues:s.issues.map(o=>Ba(o,n,zs()))},input:i.value}),i.issues=[]),i)):(i.value=r.value,r.issues.length&&(i.value=e.catchValue({...i,error:{issues:r.issues.map(s=>Ba(s,n,zs()))},input:i.value}),i.issues=[]),i)}}),soe=ce("$ZodPipe",(t,e)=>{si.init(t,e),Bi(t._zod,"values",()=>e.in._zod.values),Bi(t._zod,"optin",()=>e.in._zod.optin),Bi(t._zod,"optout",()=>e.out._zod.optout),t._zod.parse=(i,n)=>{let r=e.in._zod.run(i,n);return r instanceof Promise?r.then(s=>use(s,e,n)):use(r,e,n)}});ooe=ce("$ZodReadonly",(t,e)=>{si.init(t,e),Bi(t._zod,"propValues",()=>e.innerType._zod.propValues),Bi(t._zod,"values",()=>e.innerType._zod.values),Bi(t._zod,"optin",()=>e.innerType._zod.optin),Bi(t._zod,"optout",()=>e.innerType._zod.optout),t._zod.parse=(i,n)=>{let r=e.innerType._zod.run(i,n);return r instanceof Promise?r.then(lse):lse(r)}});aoe=ce("$ZodCustom",(t,e)=>{Lr.init(t,e),si.init(t,e),t._zod.parse=(i,n)=>i,t._zod.check=i=>{let n=i.value,r=e.fn(n);if(r instanceof Promise)return r.then(s=>pse(s,i,n,t));pse(r,i,n,t)}})});function coe(){return{localeError:UHe()}}var LHe,UHe,uoe=T(()=>{f();cc();LHe=t=>{let e=typeof t;switch(e){case"number":return Number.isNaN(t)?"NaN":"number";case"object":{if(Array.isArray(t))return"array";if(t===null)return"null";if(Object.getPrototypeOf(t)!==Object.prototype&&t.constructor)return t.constructor.name}}return e},UHe=()=>{let t={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function e(n){return t[n]??null}let i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`Invalid input: expected ${n.expected}, received ${LHe(n.input)}`;case"invalid_value":return n.values.length===1?`Invalid input: expected ${G0(n.values[0])}`:`Invalid option: expected one of ${L0(n.values,"|")}`;case"too_big":{let r=n.inclusive?"<=":"<",s=e(n.origin);return s?`Too big: expected ${n.origin??"value"} to have ${r}${n.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${n.origin??"value"} to be ${r}${n.maximum.toString()}`}case"too_small":{let r=n.inclusive?">=":">",s=e(n.origin);return s?`Too small: expected ${n.origin} to have ${r}${n.minimum.toString()} ${s.unit}`:`Too small: expected ${n.origin} to be ${r}${n.minimum.toString()}`}case"invalid_format":{let r=n;return r.format==="starts_with"?`Invalid string: must start with "${r.prefix}"`:r.format==="ends_with"?`Invalid string: must end with "${r.suffix}"`:r.format==="includes"?`Invalid string: must include "${r.includes}"`:r.format==="regex"?`Invalid string: must match pattern ${r.pattern}`:`Invalid ${i[r.format]??n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${L0(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}}});var z0=T(()=>{f()});function loe(){return new WP}var GHe,OHe,WP,rm,poe=T(()=>{f();GHe=Symbol("ZodOutput"),OHe=Symbol("ZodInput"),WP=class{constructor(){this._map=new Map,this._idmap=new Map}add(e,...i){let n=i[0];if(this._map.set(e,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){let i=this._map.get(e);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(e),this}get(e){let i=e._zod.parent;if(i){let n={...this.get(i)??{}};return delete n.id,{...n,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}};rm=loe()});function goe(t,e){return new t({type:"string",...$e(e)})}function doe(t,e){return new t({type:"string",coerce:!0,...$e(e)})}function moe(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...$e(e)})}function ZP(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...$e(e)})}function foe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...$e(e)})}function hoe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...$e(e)})}function Coe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...$e(e)})}function Ioe(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...$e(e)})}function XP(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...$e(e)})}function Eoe(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...$e(e)})}function Boe(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...$e(e)})}function Qoe(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...$e(e)})}function yoe(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...$e(e)})}function Doe(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...$e(e)})}function xoe(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...$e(e)})}function voe(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...$e(e)})}function woe(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...$e(e)})}function boe(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...$e(e)})}function Soe(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...$e(e)})}function Foe(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...$e(e)})}function koe(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...$e(e)})}function Roe(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...$e(e)})}function Noe(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...$e(e)})}function Toe(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...$e(e)})}function Moe(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...$e(e)})}function Poe(t,e){return new t({type:"string",format:"date",check:"string_format",...$e(e)})}function _oe(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...$e(e)})}function Loe(t,e){return new t({type:"string",format:"duration",check:"string_format",...$e(e)})}function Uoe(t,e){return new t({type:"number",checks:[],...$e(e)})}function Goe(t,e){return new t({type:"number",coerce:!0,checks:[],...$e(e)})}function Ooe(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...$e(e)})}function Koe(t,e){return new t({type:"boolean",...$e(e)})}function Hoe(t,e){return new t({type:"boolean",coerce:!0,...$e(e)})}function Joe(t,e){return new t({type:"bigint",coerce:!0,...$e(e)})}function joe(t,e){return new t({type:"null",...$e(e)})}function Yoe(t){return new t({type:"any"})}function $oe(t){return new t({type:"unknown"})}function qoe(t,e){return new t({type:"never",...$e(e)})}function zoe(t,e){return new t({type:"date",coerce:!0,...$e(e)})}function sm(t,e){return new HP({check:"less_than",...$e(e),value:t,inclusive:!1})}function uc(t,e){return new HP({check:"less_than",...$e(e),value:t,inclusive:!0})}function om(t,e){return new JP({check:"greater_than",...$e(e),value:t,inclusive:!1})}function Qa(t,e){return new JP({check:"greater_than",...$e(e),value:t,inclusive:!0})}function tI(t,e){return new Jre({check:"multiple_of",...$e(e),value:t})}function V0(t,e){return new Yre({check:"max_length",...$e(e),maximum:t})}function am(t,e){return new $re({check:"min_length",...$e(e),minimum:t})}function W0(t,e){return new qre({check:"length_equals",...$e(e),length:t})}function e_(t,e){return new zre({check:"string_format",format:"regex",...$e(e),pattern:t})}function t_(t){return new Vre({check:"string_format",format:"lowercase",...$e(t)})}function i_(t){return new Wre({check:"string_format",format:"uppercase",...$e(t)})}function n_(t,e){return new Zre({check:"string_format",format:"includes",...$e(e),includes:t})}function r_(t,e){return new Xre({check:"string_format",format:"starts_with",...$e(e),prefix:t})}function s_(t,e){return new ese({check:"string_format",format:"ends_with",...$e(e),suffix:t})}function dp(t){return new tse({check:"overwrite",tx:t})}function o_(t){return dp(e=>e.normalize(t))}function a_(){return dp(t=>t.trim())}function A_(){return dp(t=>t.toLowerCase())}function c_(){return dp(t=>t.toUpperCase())}function Voe(t,e,i){return new t({type:"array",element:e,...$e(i)})}function Woe(t,e,i){let n=$e(i);return n.abort??(n.abort=!0),new t({type:"custom",check:"custom",fn:e,...n})}function Zoe(t,e,i){return new t({type:"custom",check:"custom",fn:e,...$e(i)})}var Xoe=T(()=>{f();j0();cc()});var eae=T(()=>{f()});var tae=T(()=>{f()});var iae=T(()=>{f()});var ws=T(()=>{f();tm();GP();_P();Aoe();j0();YP();cc();J0();z0();poe();jP();eae();Xoe();tae();iae()});var nae=T(()=>{f();ws()});var rae=T(()=>{f()});var sae=T(()=>{f()});var oae=T(()=>{f()});var aae=T(()=>{f()});var Aae=T(()=>{f();ws();nae();rae();sae();z0();oae();aae()});var cae=T(()=>{f();Aae()});var uae=T(()=>{f();cae()});function Fu(t){return!!t._zod}function ss(t,e){return Fu(t)?XC(t,e):t.safeParse(e)}function Am(t){if(!t)return;let e;if(Fu(t)?e=t._zod?.def?.shape:e=t.shape,!!e){if(typeof e=="function")try{return e()}catch{return}return e}}function lae(t){if(Fu(t)){let s=t._zod?.def;if(s){if(s.value!==void 0)return s.value;if(Array.isArray(s.values)&&s.values.length>0)return s.values[0]}}let i=t._def;if(i){if(i.value!==void 0)return i.value;if(Array.isArray(i.values)&&i.values.length>0)return i.values[0]}let n=t.value;if(n!==void 0)return n}var iI=T(()=>{f();uae()});var u_=T(()=>{f();ws()});var nI={};pl(nI,{ZodISODate:()=>gae,ZodISODateTime:()=>pae,ZodISODuration:()=>mae,ZodISOTime:()=>dae,date:()=>p_,datetime:()=>l_,duration:()=>d_,time:()=>g_});function l_(t){return Moe(pae,t)}function p_(t){return Poe(gae,t)}function g_(t){return _oe(dae,t)}function d_(t){return Loe(mae,t)}var pae,gae,dae,mae,m_=T(()=>{f();ws();Z0();pae=ce("ZodISODateTime",(t,e)=>{Dse.init(t,e),Ui.init(t,e)});gae=ce("ZodISODate",(t,e)=>{xse.init(t,e),Ui.init(t,e)});dae=ce("ZodISOTime",(t,e)=>{vse.init(t,e),Ui.init(t,e)});mae=ce("ZodISODuration",(t,e)=>{wse.init(t,e),Ui.init(t,e)})});var hae,n2t,rI,f_=T(()=>{f();ws();ws();hae=(t,e)=>{O0.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:i=>PP(t,i)},flatten:{value:i=>MP(t,i)},addIssue:{value:i=>t.issues.push(i)},addIssues:{value:i=>t.issues.push(...i)},isEmpty:{get(){return t.issues.length===0}}})},n2t=ce("ZodError",hae),rI=ce("ZodError",hae,{Parent:Error})});var Cae,Iae,Eae,Bae,h_=T(()=>{f();ws();f_();Cae=lre(rI),Iae=pre(rI),Eae=LP(rI),Bae=UP(rI)});function q(t){return goe(E_,t)}function wae(t){return XP(vae,t)}function Wt(t){return Uoe(ex,t)}function yae(t){return Ooe(gJe,t)}function di(t){return Koe(B_,t)}function Q_(t){return joe(dJe,t)}function Sae(){return Yoe(mJe)}function Gi(){return $oe(fJe)}function CJe(t){return qoe(hJe,t)}function xe(t,e){return Voe(IJe,t,e)}function be(t,e){let i={type:"object",get shape(){return Vt.assignProp(this,"shape",{...t}),this.shape},...Vt.normalizeParams(e)};return new kae(i)}function Nn(t,e){return new kae({type:"object",get shape(){return Vt.assignProp(this,"shape",{...t}),this.shape},catchall:Gi(),...Vt.normalizeParams(e)})}function yi(t,e){return new Rae({type:"union",options:t,...Vt.normalizeParams(e)})}function y_(t,e,i){return new EJe({type:"union",options:e,discriminator:t,...Vt.normalizeParams(i)})}function tx(t,e){return new BJe({type:"intersection",left:t,right:e})}function Oi(t,e,i){return new QJe({type:"record",keyType:t,valueType:e,...Vt.normalizeParams(i)})}function bs(t,e){let i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new C_({type:"enum",entries:i,...Vt.normalizeParams(e)})}function Ge(t,e){return new yJe({type:"literal",values:Array.isArray(t)?t:[t],...Vt.normalizeParams(e)})}function Nae(t){return new DJe({type:"transform",transform:t})}function Vi(t){return new Tae({type:"optional",innerType:t})}function Dae(t){return new xJe({type:"nullable",innerType:t})}function wJe(t,e){return new vJe({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():e}})}function SJe(t,e){return new bJe({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():e}})}function FJe(t,e){return new Mae({type:"nonoptional",innerType:t,...Vt.normalizeParams(e)})}function RJe(t,e){return new kJe({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}function I_(t,e){return new NJe({type:"pipe",in:t,out:e})}function MJe(t){return new TJe({type:"readonly",innerType:t})}function PJe(t){let e=new Lr({check:"custom"});return e._zod.check=t,e}function _ae(t,e){return Woe(Pae,t??(()=>!0),e)}function _Je(t,e={}){return Zoe(Pae,t,e)}function LJe(t){let e=PJe(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(Vt.issue(n,i.value,e._zod.def));else{let r=n;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=i.value),r.inst??(r.inst=e),r.continue??(r.continue=!e._zod.def.abort),i.issues.push(Vt.issue(r))}},t(i.value,i)));return e}function D_(t,e){return I_(Nae(t),e)}var Qi,xae,E_,Ui,WHe,Qae,X0,vae,ZHe,XHe,eJe,tJe,iJe,nJe,rJe,sJe,oJe,aJe,AJe,cJe,uJe,lJe,pJe,ex,gJe,B_,bae,dJe,mJe,fJe,hJe,Fae,IJe,kae,Rae,EJe,BJe,QJe,C_,yJe,DJe,Tae,xJe,vJe,bJe,Mae,kJe,NJe,TJe,Pae,Z0=T(()=>{f();ws();ws();u_();m_();h_();Qi=ce("ZodType",(t,e)=>(si.init(t,e),t.def=e,Object.defineProperty(t,"_def",{value:e}),t.check=(...i)=>t.clone({...e,checks:[...e.checks??[],...i.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),t.clone=(i,n)=>Ea(t,i,n),t.brand=()=>t,t.register=((i,n)=>(i.add(t,n),t)),t.parse=(i,n)=>Cae(t,i,n,{callee:t.parse}),t.safeParse=(i,n)=>Eae(t,i,n),t.parseAsync=async(i,n)=>Iae(t,i,n,{callee:t.parseAsync}),t.safeParseAsync=async(i,n)=>Bae(t,i,n),t.spa=t.safeParseAsync,t.refine=(i,n)=>t.check(_Je(i,n)),t.superRefine=i=>t.check(LJe(i)),t.overwrite=i=>t.check(dp(i)),t.optional=()=>Vi(t),t.nullable=()=>Dae(t),t.nullish=()=>Vi(Dae(t)),t.nonoptional=i=>FJe(t,i),t.array=()=>xe(t),t.or=i=>yi([t,i]),t.and=i=>tx(t,i),t.transform=i=>I_(t,Nae(i)),t.default=i=>wJe(t,i),t.prefault=i=>SJe(t,i),t.catch=i=>RJe(t,i),t.pipe=i=>I_(t,i),t.readonly=()=>MJe(t),t.describe=i=>{let n=t.clone();return rm.add(n,{description:i}),n},Object.defineProperty(t,"description",{get(){return rm.get(t)?.description},configurable:!0}),t.meta=(...i)=>{if(i.length===0)return rm.get(t);let n=t.clone();return rm.add(n,i[0]),n},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),xae=ce("_ZodString",(t,e)=>{q0.init(t,e),Qi.init(t,e);let i=t._zod.bag;t.format=i.format??null,t.minLength=i.minimum??null,t.maxLength=i.maximum??null,t.regex=(...n)=>t.check(e_(...n)),t.includes=(...n)=>t.check(n_(...n)),t.startsWith=(...n)=>t.check(r_(...n)),t.endsWith=(...n)=>t.check(s_(...n)),t.min=(...n)=>t.check(am(...n)),t.max=(...n)=>t.check(V0(...n)),t.length=(...n)=>t.check(W0(...n)),t.nonempty=(...n)=>t.check(am(1,...n)),t.lowercase=n=>t.check(t_(n)),t.uppercase=n=>t.check(i_(n)),t.trim=()=>t.check(a_()),t.normalize=(...n)=>t.check(o_(...n)),t.toLowerCase=()=>t.check(A_()),t.toUpperCase=()=>t.check(c_())}),E_=ce("ZodString",(t,e)=>{q0.init(t,e),xae.init(t,e),t.email=i=>t.check(moe(WHe,i)),t.url=i=>t.check(XP(vae,i)),t.jwt=i=>t.check(Toe(pJe,i)),t.emoji=i=>t.check(Eoe(ZHe,i)),t.guid=i=>t.check(ZP(Qae,i)),t.uuid=i=>t.check(foe(X0,i)),t.uuidv4=i=>t.check(hoe(X0,i)),t.uuidv6=i=>t.check(Coe(X0,i)),t.uuidv7=i=>t.check(Ioe(X0,i)),t.nanoid=i=>t.check(Boe(XHe,i)),t.guid=i=>t.check(ZP(Qae,i)),t.cuid=i=>t.check(Qoe(eJe,i)),t.cuid2=i=>t.check(yoe(tJe,i)),t.ulid=i=>t.check(Doe(iJe,i)),t.base64=i=>t.check(koe(cJe,i)),t.base64url=i=>t.check(Roe(uJe,i)),t.xid=i=>t.check(xoe(nJe,i)),t.ksuid=i=>t.check(voe(rJe,i)),t.ipv4=i=>t.check(woe(sJe,i)),t.ipv6=i=>t.check(boe(oJe,i)),t.cidrv4=i=>t.check(Soe(aJe,i)),t.cidrv6=i=>t.check(Foe(AJe,i)),t.e164=i=>t.check(Noe(lJe,i)),t.datetime=i=>t.check(l_(i)),t.date=i=>t.check(p_(i)),t.time=i=>t.check(g_(i)),t.duration=i=>t.check(d_(i))});Ui=ce("ZodStringFormat",(t,e)=>{Fi.init(t,e),xae.init(t,e)}),WHe=ce("ZodEmail",(t,e)=>{mse.init(t,e),Ui.init(t,e)}),Qae=ce("ZodGUID",(t,e)=>{gse.init(t,e),Ui.init(t,e)}),X0=ce("ZodUUID",(t,e)=>{dse.init(t,e),Ui.init(t,e)}),vae=ce("ZodURL",(t,e)=>{fse.init(t,e),Ui.init(t,e)});ZHe=ce("ZodEmoji",(t,e)=>{hse.init(t,e),Ui.init(t,e)}),XHe=ce("ZodNanoID",(t,e)=>{Cse.init(t,e),Ui.init(t,e)}),eJe=ce("ZodCUID",(t,e)=>{Ise.init(t,e),Ui.init(t,e)}),tJe=ce("ZodCUID2",(t,e)=>{Ese.init(t,e),Ui.init(t,e)}),iJe=ce("ZodULID",(t,e)=>{Bse.init(t,e),Ui.init(t,e)}),nJe=ce("ZodXID",(t,e)=>{Qse.init(t,e),Ui.init(t,e)}),rJe=ce("ZodKSUID",(t,e)=>{yse.init(t,e),Ui.init(t,e)}),sJe=ce("ZodIPv4",(t,e)=>{bse.init(t,e),Ui.init(t,e)}),oJe=ce("ZodIPv6",(t,e)=>{Sse.init(t,e),Ui.init(t,e)}),aJe=ce("ZodCIDRv4",(t,e)=>{Fse.init(t,e),Ui.init(t,e)}),AJe=ce("ZodCIDRv6",(t,e)=>{kse.init(t,e),Ui.init(t,e)}),cJe=ce("ZodBase64",(t,e)=>{Nse.init(t,e),Ui.init(t,e)}),uJe=ce("ZodBase64URL",(t,e)=>{Tse.init(t,e),Ui.init(t,e)}),lJe=ce("ZodE164",(t,e)=>{Mse.init(t,e),Ui.init(t,e)}),pJe=ce("ZodJWT",(t,e)=>{Pse.init(t,e),Ui.init(t,e)}),ex=ce("ZodNumber",(t,e)=>{qP.init(t,e),Qi.init(t,e),t.gt=(n,r)=>t.check(om(n,r)),t.gte=(n,r)=>t.check(Qa(n,r)),t.min=(n,r)=>t.check(Qa(n,r)),t.lt=(n,r)=>t.check(sm(n,r)),t.lte=(n,r)=>t.check(uc(n,r)),t.max=(n,r)=>t.check(uc(n,r)),t.int=n=>t.check(yae(n)),t.safe=n=>t.check(yae(n)),t.positive=n=>t.check(om(0,n)),t.nonnegative=n=>t.check(Qa(0,n)),t.negative=n=>t.check(sm(0,n)),t.nonpositive=n=>t.check(uc(0,n)),t.multipleOf=(n,r)=>t.check(tI(n,r)),t.step=(n,r)=>t.check(tI(n,r)),t.finite=()=>t;let i=t._zod.bag;t.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),t.isFinite=!0,t.format=i.format??null});gJe=ce("ZodNumberFormat",(t,e)=>{_se.init(t,e),ex.init(t,e)});B_=ce("ZodBoolean",(t,e)=>{Lse.init(t,e),Qi.init(t,e)});bae=ce("ZodBigInt",(t,e)=>{Use.init(t,e),Qi.init(t,e),t.gte=(n,r)=>t.check(Qa(n,r)),t.min=(n,r)=>t.check(Qa(n,r)),t.gt=(n,r)=>t.check(om(n,r)),t.gte=(n,r)=>t.check(Qa(n,r)),t.min=(n,r)=>t.check(Qa(n,r)),t.lt=(n,r)=>t.check(sm(n,r)),t.lte=(n,r)=>t.check(uc(n,r)),t.max=(n,r)=>t.check(uc(n,r)),t.positive=n=>t.check(om(BigInt(0),n)),t.negative=n=>t.check(sm(BigInt(0),n)),t.nonpositive=n=>t.check(uc(BigInt(0),n)),t.nonnegative=n=>t.check(Qa(BigInt(0),n)),t.multipleOf=(n,r)=>t.check(tI(n,r));let i=t._zod.bag;t.minValue=i.minimum??null,t.maxValue=i.maximum??null,t.format=i.format??null}),dJe=ce("ZodNull",(t,e)=>{Gse.init(t,e),Qi.init(t,e)});mJe=ce("ZodAny",(t,e)=>{Ose.init(t,e),Qi.init(t,e)});fJe=ce("ZodUnknown",(t,e)=>{Kse.init(t,e),Qi.init(t,e)});hJe=ce("ZodNever",(t,e)=>{Hse.init(t,e),Qi.init(t,e)});Fae=ce("ZodDate",(t,e)=>{Jse.init(t,e),Qi.init(t,e),t.min=(n,r)=>t.check(Qa(n,r)),t.max=(n,r)=>t.check(uc(n,r));let i=t._zod.bag;t.minDate=i.minimum?new Date(i.minimum):null,t.maxDate=i.maximum?new Date(i.maximum):null}),IJe=ce("ZodArray",(t,e)=>{jse.init(t,e),Qi.init(t,e),t.element=e.element,t.min=(i,n)=>t.check(am(i,n)),t.nonempty=i=>t.check(am(1,i)),t.max=(i,n)=>t.check(V0(i,n)),t.length=(i,n)=>t.check(W0(i,n)),t.unwrap=()=>t.element});kae=ce("ZodObject",(t,e)=>{Yse.init(t,e),Qi.init(t,e),Vt.defineLazy(t,"shape",()=>e.shape),t.keyof=()=>bs(Object.keys(t._zod.def.shape)),t.catchall=i=>t.clone({...t._zod.def,catchall:i}),t.passthrough=()=>t.clone({...t._zod.def,catchall:Gi()}),t.loose=()=>t.clone({...t._zod.def,catchall:Gi()}),t.strict=()=>t.clone({...t._zod.def,catchall:CJe()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=i=>Vt.extend(t,i),t.merge=i=>Vt.merge(t,i),t.pick=i=>Vt.pick(t,i),t.omit=i=>Vt.omit(t,i),t.partial=(...i)=>Vt.partial(Tae,t,i[0]),t.required=(...i)=>Vt.required(Mae,t,i[0])});Rae=ce("ZodUnion",(t,e)=>{zP.init(t,e),Qi.init(t,e),t.options=e.options});EJe=ce("ZodDiscriminatedUnion",(t,e)=>{Rae.init(t,e),$se.init(t,e)});BJe=ce("ZodIntersection",(t,e)=>{qse.init(t,e),Qi.init(t,e)});QJe=ce("ZodRecord",(t,e)=>{zse.init(t,e),Qi.init(t,e),t.keyType=e.keyType,t.valueType=e.valueType});C_=ce("ZodEnum",(t,e)=>{Vse.init(t,e),Qi.init(t,e),t.enum=e.entries,t.options=Object.values(e.entries);let i=new Set(Object.keys(e.entries));t.extract=(n,r)=>{let s={};for(let o of n)if(i.has(o))s[o]=e.entries[o];else throw new Error(`Key ${o} not found in enum`);return new C_({...e,checks:[],...Vt.normalizeParams(r),entries:s})},t.exclude=(n,r)=>{let s={...e.entries};for(let o of n)if(i.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new C_({...e,checks:[],...Vt.normalizeParams(r),entries:s})}});yJe=ce("ZodLiteral",(t,e)=>{Wse.init(t,e),Qi.init(t,e),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});DJe=ce("ZodTransform",(t,e)=>{Zse.init(t,e),Qi.init(t,e),t._zod.parse=(i,n)=>{i.addIssue=s=>{if(typeof s=="string")i.issues.push(Vt.issue(s,i.value,e));else{let o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=i.value),o.inst??(o.inst=t),o.continue??(o.continue=!0),i.issues.push(Vt.issue(o))}};let r=e.transform(i.value,i);return r instanceof Promise?r.then(s=>(i.value=s,i)):(i.value=r,i)}});Tae=ce("ZodOptional",(t,e)=>{Xse.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});xJe=ce("ZodNullable",(t,e)=>{eoe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});vJe=ce("ZodDefault",(t,e)=>{toe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});bJe=ce("ZodPrefault",(t,e)=>{ioe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});Mae=ce("ZodNonOptional",(t,e)=>{noe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType});kJe=ce("ZodCatch",(t,e)=>{roe.init(t,e),Qi.init(t,e),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});NJe=ce("ZodPipe",(t,e)=>{soe.init(t,e),Qi.init(t,e),t.in=e.in,t.out=e.out});TJe=ce("ZodReadonly",(t,e)=>{ooe.init(t,e),Qi.init(t,e)});Pae=ce("ZodCustom",(t,e)=>{aoe.init(t,e),Qi.init(t,e)})});var Lae,Uae=T(()=>{f();Lae={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"}});var ix={};pl(ix,{bigint:()=>KJe,boolean:()=>OJe,date:()=>HJe,number:()=>GJe,string:()=>UJe});function UJe(t){return doe(E_,t)}function GJe(t){return Goe(ex,t)}function OJe(t){return Hoe(B_,t)}function KJe(t){return Joe(bae,t)}function HJe(t){return zoe(Fae,t)}var Gae=T(()=>{f();ws();Z0()});var Oae=T(()=>{f();ws();Z0();u_();f_();h_();Uae();ws();uoe();ws();z0();m_();Gae();zs(coe())});var Kae=T(()=>{f();Oae()});var x_=T(()=>{f();Kae()});var ku,rx,Ru,sx,ar,Jae,jae,ALt,JJe,jJe,w_,Vs,sI,Yae,Ar,bo,So,cr,ox,$ae,oI,qae,zae,b_,fp,Ve,S_,Vae,Nu,cLt,lc,YJe,ax,$Je,aI,cm,Wae,qJe,zJe,VJe,WJe,ZJe,XJe,F_,e6e,k_,Ax,Zae,cx,t6e,i6e,ux,n6e,AI,cI,r6e,uI,pc,s6e,lI,lx,px,gx,uLt,dx,mx,fx,Xae,eAe,tAe,R_,iAe,pI,um,nAe,o6e,N_,T_,M_,P_,__,a6e,L_,U_,G_,A6e,c6e,u6e,l6e,p6e,g6e,d6e,m6e,f6e,O_,h6e,C6e,K_,H_,J_,I6e,E6e,B6e,j_,Q6e,Y_,$_,y6e,D6e,rAe,q_,z_,Tu,lLt,x6e,gI,V_,sAe,dI,v6e,W_,w6e,b6e,S6e,F6e,k6e,R6e,N6e,nx,T6e,M6e,Z_,mI,fI,P6e,_6e,L6e,U6e,G6e,O6e,K6e,H6e,J6e,j6e,Y6e,$6e,q6e,z6e,V6e,X_,W6e,Z6e,lm,X6e,eje,tje,ije,e2,nje,rje,t2,sje,pLt,gLt,dLt,mLt,fLt,hLt,Oe,v_,fA=T(()=>{f();x_();ku="2025-11-25",rx=[ku,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Ru="io.modelcontextprotocol/related-task",sx="2.0",ar=_ae(t=>t!==null&&(typeof t=="object"||typeof t=="function")),Jae=yi([q(),Wt().int()]),jae=q(),ALt=Nn({ttl:yi([Wt(),Q_()]).optional(),pollInterval:Wt().optional()}),JJe=be({ttl:Wt().optional()}),jJe=be({taskId:q()}),w_=Nn({progressToken:Jae.optional(),[Ru]:jJe.optional()}),Vs=be({_meta:w_.optional()}),sI=Vs.extend({task:JJe.optional()}),Yae=t=>sI.safeParse(t).success,Ar=be({method:q(),params:Vs.loose().optional()}),bo=be({_meta:w_.optional()}),So=be({method:q(),params:bo.loose().optional()}),cr=Nn({_meta:w_.optional()}),ox=yi([q(),Wt().int()]),$ae=be({jsonrpc:Ge(sx),id:ox,...Ar.shape}).strict(),oI=t=>$ae.safeParse(t).success,qae=be({jsonrpc:Ge(sx),...So.shape}).strict(),zae=t=>qae.safeParse(t).success,b_=be({jsonrpc:Ge(sx),id:ox,result:cr}).strict(),fp=t=>b_.safeParse(t).success;(function(t){t[t.ConnectionClosed=-32e3]="ConnectionClosed",t[t.RequestTimeout=-32001]="RequestTimeout",t[t.ParseError=-32700]="ParseError",t[t.InvalidRequest=-32600]="InvalidRequest",t[t.MethodNotFound=-32601]="MethodNotFound",t[t.InvalidParams=-32602]="InvalidParams",t[t.InternalError=-32603]="InternalError",t[t.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Ve||(Ve={}));S_=be({jsonrpc:Ge(sx),id:ox.optional(),error:be({code:Wt().int(),message:q(),data:Gi().optional()})}).strict(),Vae=t=>S_.safeParse(t).success,Nu=yi([$ae,qae,b_,S_]),cLt=yi([b_,S_]),lc=cr.strict(),YJe=bo.extend({requestId:ox.optional(),reason:q().optional()}),ax=So.extend({method:Ge("notifications/cancelled"),params:YJe}),$Je=be({src:q(),mimeType:q().optional(),sizes:xe(q()).optional(),theme:bs(["light","dark"]).optional()}),aI=be({icons:xe($Je).optional()}),cm=be({name:q(),title:q().optional()}),Wae=cm.extend({...cm.shape,...aI.shape,version:q(),websiteUrl:q().optional(),description:q().optional()}),qJe=tx(be({applyDefaults:di().optional()}),Oi(q(),Gi())),zJe=D_(t=>t&&typeof t=="object"&&!Array.isArray(t)&&Object.keys(t).length===0?{form:{}}:t,tx(be({form:qJe.optional(),url:ar.optional()}),Oi(q(),Gi()).optional())),VJe=Nn({list:ar.optional(),cancel:ar.optional(),requests:Nn({sampling:Nn({createMessage:ar.optional()}).optional(),elicitation:Nn({create:ar.optional()}).optional()}).optional()}),WJe=Nn({list:ar.optional(),cancel:ar.optional(),requests:Nn({tools:Nn({call:ar.optional()}).optional()}).optional()}),ZJe=be({experimental:Oi(q(),ar).optional(),sampling:be({context:ar.optional(),tools:ar.optional()}).optional(),elicitation:zJe.optional(),roots:be({listChanged:di().optional()}).optional(),tasks:VJe.optional()}),XJe=Vs.extend({protocolVersion:q(),capabilities:ZJe,clientInfo:Wae}),F_=Ar.extend({method:Ge("initialize"),params:XJe}),e6e=be({experimental:Oi(q(),ar).optional(),logging:ar.optional(),completions:ar.optional(),prompts:be({listChanged:di().optional()}).optional(),resources:be({subscribe:di().optional(),listChanged:di().optional()}).optional(),tools:be({listChanged:di().optional()}).optional(),tasks:WJe.optional()}),k_=cr.extend({protocolVersion:q(),capabilities:e6e,serverInfo:Wae,instructions:q().optional()}),Ax=So.extend({method:Ge("notifications/initialized"),params:bo.optional()}),Zae=t=>Ax.safeParse(t).success,cx=Ar.extend({method:Ge("ping"),params:Vs.optional()}),t6e=be({progress:Wt(),total:Vi(Wt()),message:Vi(q())}),i6e=be({...bo.shape,...t6e.shape,progressToken:Jae}),ux=So.extend({method:Ge("notifications/progress"),params:i6e}),n6e=Vs.extend({cursor:jae.optional()}),AI=Ar.extend({params:n6e.optional()}),cI=cr.extend({nextCursor:jae.optional()}),r6e=bs(["working","input_required","completed","failed","cancelled"]),uI=be({taskId:q(),status:r6e,ttl:yi([Wt(),Q_()]),createdAt:q(),lastUpdatedAt:q(),pollInterval:Vi(Wt()),statusMessage:Vi(q())}),pc=cr.extend({task:uI}),s6e=bo.merge(uI),lI=So.extend({method:Ge("notifications/tasks/status"),params:s6e}),lx=Ar.extend({method:Ge("tasks/get"),params:Vs.extend({taskId:q()})}),px=cr.merge(uI),gx=Ar.extend({method:Ge("tasks/result"),params:Vs.extend({taskId:q()})}),uLt=cr.loose(),dx=AI.extend({method:Ge("tasks/list")}),mx=cI.extend({tasks:xe(uI)}),fx=Ar.extend({method:Ge("tasks/cancel"),params:Vs.extend({taskId:q()})}),Xae=cr.merge(uI),eAe=be({uri:q(),mimeType:Vi(q()),_meta:Oi(q(),Gi()).optional()}),tAe=eAe.extend({text:q()}),R_=q().refine(t=>{try{return atob(t),!0}catch{return!1}},{message:"Invalid Base64 string"}),iAe=eAe.extend({blob:R_}),pI=bs(["user","assistant"]),um=be({audience:xe(pI).optional(),priority:Wt().min(0).max(1).optional(),lastModified:nI.datetime({offset:!0}).optional()}),nAe=be({...cm.shape,...aI.shape,uri:q(),description:Vi(q()),mimeType:Vi(q()),annotations:um.optional(),_meta:Vi(Nn({}))}),o6e=be({...cm.shape,...aI.shape,uriTemplate:q(),description:Vi(q()),mimeType:Vi(q()),annotations:um.optional(),_meta:Vi(Nn({}))}),N_=AI.extend({method:Ge("resources/list")}),T_=cI.extend({resources:xe(nAe)}),M_=AI.extend({method:Ge("resources/templates/list")}),P_=cI.extend({resourceTemplates:xe(o6e)}),__=Vs.extend({uri:q()}),a6e=__,L_=Ar.extend({method:Ge("resources/read"),params:a6e}),U_=cr.extend({contents:xe(yi([tAe,iAe]))}),G_=So.extend({method:Ge("notifications/resources/list_changed"),params:bo.optional()}),A6e=__,c6e=Ar.extend({method:Ge("resources/subscribe"),params:A6e}),u6e=__,l6e=Ar.extend({method:Ge("resources/unsubscribe"),params:u6e}),p6e=bo.extend({uri:q()}),g6e=So.extend({method:Ge("notifications/resources/updated"),params:p6e}),d6e=be({name:q(),description:Vi(q()),required:Vi(di())}),m6e=be({...cm.shape,...aI.shape,description:Vi(q()),arguments:Vi(xe(d6e)),_meta:Vi(Nn({}))}),f6e=AI.extend({method:Ge("prompts/list")}),O_=cI.extend({prompts:xe(m6e)}),h6e=Vs.extend({name:q(),arguments:Oi(q(),q()).optional()}),C6e=Ar.extend({method:Ge("prompts/get"),params:h6e}),K_=be({type:Ge("text"),text:q(),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),H_=be({type:Ge("image"),data:R_,mimeType:q(),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),J_=be({type:Ge("audio"),data:R_,mimeType:q(),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),I6e=be({type:Ge("tool_use"),name:q(),id:q(),input:Oi(q(),Gi()),_meta:Oi(q(),Gi()).optional()}),E6e=be({type:Ge("resource"),resource:yi([tAe,iAe]),annotations:um.optional(),_meta:Oi(q(),Gi()).optional()}),B6e=nAe.extend({type:Ge("resource_link")}),j_=yi([K_,H_,J_,B6e,E6e]),Q6e=be({role:pI,content:j_}),Y_=cr.extend({description:q().optional(),messages:xe(Q6e)}),$_=So.extend({method:Ge("notifications/prompts/list_changed"),params:bo.optional()}),y6e=be({title:q().optional(),readOnlyHint:di().optional(),destructiveHint:di().optional(),idempotentHint:di().optional(),openWorldHint:di().optional()}),D6e=be({taskSupport:bs(["required","optional","forbidden"]).optional()}),rAe=be({...cm.shape,...aI.shape,description:q().optional(),inputSchema:be({type:Ge("object"),properties:Oi(q(),ar).optional(),required:xe(q()).optional()}).catchall(Gi()),outputSchema:be({type:Ge("object"),properties:Oi(q(),ar).optional(),required:xe(q()).optional()}).catchall(Gi()).optional(),annotations:y6e.optional(),execution:D6e.optional(),_meta:Oi(q(),Gi()).optional()}),q_=AI.extend({method:Ge("tools/list")}),z_=cI.extend({tools:xe(rAe)}),Tu=cr.extend({content:xe(j_).default([]),structuredContent:Oi(q(),Gi()).optional(),isError:di().optional()}),lLt=Tu.or(cr.extend({toolResult:Gi()})),x6e=sI.extend({name:q(),arguments:Oi(q(),Gi()).optional()}),gI=Ar.extend({method:Ge("tools/call"),params:x6e}),V_=So.extend({method:Ge("notifications/tools/list_changed"),params:bo.optional()}),sAe=be({autoRefresh:di().default(!0),debounceMs:Wt().int().nonnegative().default(300)}),dI=bs(["debug","info","notice","warning","error","critical","alert","emergency"]),v6e=Vs.extend({level:dI}),W_=Ar.extend({method:Ge("logging/setLevel"),params:v6e}),w6e=bo.extend({level:dI,logger:q().optional(),data:Gi()}),b6e=So.extend({method:Ge("notifications/message"),params:w6e}),S6e=be({name:q().optional()}),F6e=be({hints:xe(S6e).optional(),costPriority:Wt().min(0).max(1).optional(),speedPriority:Wt().min(0).max(1).optional(),intelligencePriority:Wt().min(0).max(1).optional()}),k6e=be({mode:bs(["auto","required","none"]).optional()}),R6e=be({type:Ge("tool_result"),toolUseId:q().describe("The unique identifier for the corresponding tool call."),content:xe(j_).default([]),structuredContent:be({}).loose().optional(),isError:di().optional(),_meta:Oi(q(),Gi()).optional()}),N6e=y_("type",[K_,H_,J_]),nx=y_("type",[K_,H_,J_,I6e,R6e]),T6e=be({role:pI,content:yi([nx,xe(nx)]),_meta:Oi(q(),Gi()).optional()}),M6e=sI.extend({messages:xe(T6e),modelPreferences:F6e.optional(),systemPrompt:q().optional(),includeContext:bs(["none","thisServer","allServers"]).optional(),temperature:Wt().optional(),maxTokens:Wt().int(),stopSequences:xe(q()).optional(),metadata:ar.optional(),tools:xe(rAe).optional(),toolChoice:k6e.optional()}),Z_=Ar.extend({method:Ge("sampling/createMessage"),params:M6e}),mI=cr.extend({model:q(),stopReason:Vi(bs(["endTurn","stopSequence","maxTokens"]).or(q())),role:pI,content:N6e}),fI=cr.extend({model:q(),stopReason:Vi(bs(["endTurn","stopSequence","maxTokens","toolUse"]).or(q())),role:pI,content:yi([nx,xe(nx)])}),P6e=be({type:Ge("boolean"),title:q().optional(),description:q().optional(),default:di().optional()}),_6e=be({type:Ge("string"),title:q().optional(),description:q().optional(),minLength:Wt().optional(),maxLength:Wt().optional(),format:bs(["email","uri","date","date-time"]).optional(),default:q().optional()}),L6e=be({type:bs(["number","integer"]),title:q().optional(),description:q().optional(),minimum:Wt().optional(),maximum:Wt().optional(),default:Wt().optional()}),U6e=be({type:Ge("string"),title:q().optional(),description:q().optional(),enum:xe(q()),default:q().optional()}),G6e=be({type:Ge("string"),title:q().optional(),description:q().optional(),oneOf:xe(be({const:q(),title:q()})),default:q().optional()}),O6e=be({type:Ge("string"),title:q().optional(),description:q().optional(),enum:xe(q()),enumNames:xe(q()).optional(),default:q().optional()}),K6e=yi([U6e,G6e]),H6e=be({type:Ge("array"),title:q().optional(),description:q().optional(),minItems:Wt().optional(),maxItems:Wt().optional(),items:be({type:Ge("string"),enum:xe(q())}),default:xe(q()).optional()}),J6e=be({type:Ge("array"),title:q().optional(),description:q().optional(),minItems:Wt().optional(),maxItems:Wt().optional(),items:be({anyOf:xe(be({const:q(),title:q()}))}),default:xe(q()).optional()}),j6e=yi([H6e,J6e]),Y6e=yi([O6e,K6e,j6e]),$6e=yi([Y6e,P6e,_6e,L6e]),q6e=sI.extend({mode:Ge("form").optional(),message:q(),requestedSchema:be({type:Ge("object"),properties:Oi(q(),$6e),required:xe(q()).optional()})}),z6e=sI.extend({mode:Ge("url"),message:q(),elicitationId:q(),url:q().url()}),V6e=yi([q6e,z6e]),X_=Ar.extend({method:Ge("elicitation/create"),params:V6e}),W6e=bo.extend({elicitationId:q()}),Z6e=So.extend({method:Ge("notifications/elicitation/complete"),params:W6e}),lm=cr.extend({action:bs(["accept","decline","cancel"]),content:D_(t=>t===null?void 0:t,Oi(q(),yi([q(),Wt(),di(),xe(q())])).optional())}),X6e=be({type:Ge("ref/resource"),uri:q()}),eje=be({type:Ge("ref/prompt"),name:q()}),tje=Vs.extend({ref:yi([eje,X6e]),argument:be({name:q(),value:q()}),context:be({arguments:Oi(q(),q()).optional()}).optional()}),ije=Ar.extend({method:Ge("completion/complete"),params:tje}),e2=cr.extend({completion:Nn({values:xe(q()).max(100),total:Vi(Wt().int()),hasMore:Vi(di())})}),nje=be({uri:q().startsWith("file://"),name:q().optional(),_meta:Oi(q(),Gi()).optional()}),rje=Ar.extend({method:Ge("roots/list"),params:Vs.optional()}),t2=cr.extend({roots:xe(nje)}),sje=So.extend({method:Ge("notifications/roots/list_changed"),params:bo.optional()}),pLt=yi([cx,F_,ije,W_,C6e,f6e,N_,M_,L_,c6e,l6e,gI,q_,lx,gx,dx,fx]),gLt=yi([ax,ux,Ax,sje,lI]),dLt=yi([lc,mI,fI,lm,t2,px,mx,pc]),mLt=yi([cx,Z_,X_,rje,lx,gx,dx,fx]),fLt=yi([ax,ux,b6e,g6e,G_,V_,$_,lI,Z6e]),hLt=yi([lc,k_,e2,Y_,O_,T_,P_,U_,Tu,z_,px,mx,pc]),Oe=class t extends Error{constructor(e,i,n){super(`MCP error ${e}: ${i}`),this.code=e,this.data=n,this.name="McpError"}static fromError(e,i,n){if(e===Ve.UrlElicitationRequired&&n){let r=n;if(r.elicitations)return new v_(r.elicitations,i)}return new t(e,i,n)}},v_=class extends Oe{constructor(e,i=`URL elicitation${e.length>1?"s":""} required`){super(Ve.UrlElicitationRequired,i,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}}});function Mu(t){return t==="completed"||t==="failed"||t==="cancelled"}var oAe=T(()=>{f()});var oje,hx=T(()=>{f();oje=Symbol("Let zodToJsonSchema decide on which parser to use")});var i2=T(()=>{f();hx()});var Pu=T(()=>{f()});var Cx=T(()=>{f()});var Fo=T(()=>{f();Cx()});var n2=T(()=>{f();Pu();bn()});var r2=T(()=>{f();Pu()});var s2=T(()=>{f()});var Ix=T(()=>{f();bn()});var o2=T(()=>{f();bn()});var a2=T(()=>{f();Pu()});var A2=T(()=>{f();bn()});var c2=T(()=>{f();bn();Fo()});var u2=T(()=>{f()});var l2=T(()=>{f();bn()});var p2=T(()=>{f()});var dUt,Ex=T(()=>{f();Pu();dUt=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});var Bx=T(()=>{f();bn();Ex();Ix();Fo()});var g2=T(()=>{f();bn();Bx();Fo()});var d2=T(()=>{f()});var m2=T(()=>{f();Fo()});var f2=T(()=>{f()});var Qx=T(()=>{f();bn()});var h2=T(()=>{f();bn();Qx()});var C2=T(()=>{f();Pu()});var I2=T(()=>{f();bn()});var E2=T(()=>{f();bn();Fo()});var B2=T(()=>{f();bn()});var Q2=T(()=>{f();bn()});var y2=T(()=>{f();Pu();bn()});var D2=T(()=>{f();bn()});var x2=T(()=>{f();Fo()});var v2=T(()=>{f();Fo()});var w2=T(()=>{f();bn()});var b2=T(()=>{f();Fo();n2();r2();s2();Ix();o2();a2();A2();c2();u2();l2();p2();g2();d2();m2();f2();h2();C2();I2();E2();B2();Q2();Bx();y2();Ex();D2();x2();Qx();v2();w2()});var bn=T(()=>{f();hx();b2();Cx();Fo()});var aAe=T(()=>{f()});var S2=T(()=>{f();bn();i2();Fo()});var AAe=T(()=>{f();hx();i2();Pu();Cx();bn();aAe();Fo();n2();r2();s2();Ix();o2();a2();A2();c2();u2();l2();p2();g2();d2();m2();f2();h2();C2();I2();E2();B2();Q2();w2();Bx();y2();Ex();D2();x2();Qx();v2();b2();S2();S2()});function F2(t){let i=Am(t)?.method;if(!i)throw new Error("Schema is missing a method literal");let n=lae(i);if(typeof n!="string")throw new Error("Schema method literal must be a string");return n}function k2(t,e){let i=ss(t,e);if(!i.success)throw i.error;return i.data}var cAe=T(()=>{f();iI();AAe()});function uAe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function yx(t,e){let i={...t};for(let n in e){let r=n,s=e[r];if(s===void 0)continue;let o=i[r];uAe(o)&&uAe(s)?i[r]={...o,...s}:i[r]=s}return i}var pje,pm,R2=T(()=>{f();iI();fA();oAe();cAe();pje=6e4,pm=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(ax,i=>{this._oncancel(i)}),this.setNotificationHandler(ux,i=>{this._onprogress(i)}),this.setRequestHandler(cx,i=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(lx,async(i,n)=>{let r=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!r)throw new Oe(Ve.InvalidParams,"Failed to retrieve task: Task not found");return{...r}}),this.setRequestHandler(gx,async(i,n)=>{let r=async()=>{let s=i.params.taskId;if(this._taskMessageQueue){let a;for(;a=await this._taskMessageQueue.dequeue(s,n.sessionId);){if(a.type==="response"||a.type==="error"){let A=a.message,c=A.id,u=this._requestResolvers.get(c);if(u)if(this._requestResolvers.delete(c),a.type==="response")u(A);else{let l=A,p=new Oe(l.error.code,l.error.message,l.error.data);u(p)}else{let l=a.type==="response"?"Response":"Error";this._onerror(new Error(`${l} handler missing for request ${c}`))}continue}await this._transport?.send(a.message,{relatedRequestId:n.requestId})}}let o=await this._taskStore.getTask(s,n.sessionId);if(!o)throw new Oe(Ve.InvalidParams,`Task not found: ${s}`);if(!Mu(o.status))return await this._waitForTaskUpdate(s,n.signal),await r();if(Mu(o.status)){let a=await this._taskStore.getTaskResult(s,n.sessionId);return this._clearTaskQueue(s),{...a,_meta:{...a._meta,[Ru]:{taskId:s}}}}return await r()};return await r()}),this.setRequestHandler(dx,async(i,n)=>{try{let{tasks:r,nextCursor:s}=await this._taskStore.listTasks(i.params?.cursor,n.sessionId);return{tasks:r,nextCursor:s,_meta:{}}}catch(r){throw new Oe(Ve.InvalidParams,`Failed to list tasks: ${r instanceof Error?r.message:String(r)}`)}}),this.setRequestHandler(fx,async(i,n)=>{try{let r=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!r)throw new Oe(Ve.InvalidParams,`Task not found: ${i.params.taskId}`);if(Mu(r.status))throw new Oe(Ve.InvalidParams,`Cannot cancel task in terminal status: ${r.status}`);await this._taskStore.updateTaskStatus(i.params.taskId,"cancelled","Client cancelled task execution.",n.sessionId),this._clearTaskQueue(i.params.taskId);let s=await this._taskStore.getTask(i.params.taskId,n.sessionId);if(!s)throw new Oe(Ve.InvalidParams,`Task not found after cancellation: ${i.params.taskId}`);return{_meta:{},...s}}catch(r){throw r instanceof Oe?r:new Oe(Ve.InvalidRequest,`Failed to cancel task: ${r instanceof Error?r.message:String(r)}`)}}))}async _oncancel(e){if(!e.params.requestId)return;this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,i,n,r,s=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(r,i),startTime:Date.now(),timeout:i,maxTotalTimeout:n,resetTimeoutOnProgress:s,onTimeout:r})}_resetTimeout(e){let i=this._timeoutInfo.get(e);if(!i)return!1;let n=Date.now()-i.startTime;if(i.maxTotalTimeout&&n>=i.maxTotalTimeout)throw this._timeoutInfo.delete(e),Oe.fromError(Ve.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:i.maxTotalTimeout,totalElapsed:n});return clearTimeout(i.timeoutId),i.timeoutId=setTimeout(i.onTimeout,i.timeout),!0}_cleanupTimeout(e){let i=this._timeoutInfo.get(e);i&&(clearTimeout(i.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=e;let i=this.transport?.onclose;this._transport.onclose=()=>{i?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=s=>{n?.(s),this._onerror(s)};let r=this._transport?.onmessage;this._transport.onmessage=(s,o)=>{r?.(s,o),fp(s)||Vae(s)?this._onresponse(s):oI(s)?this._onrequest(s,o):zae(s)?this._onnotification(s):this._onerror(new Error(`Unknown message type: ${JSON.stringify(s)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let n of this._requestHandlerAbortControllers.values())n.abort();this._requestHandlerAbortControllers.clear();let i=Oe.fromError(Ve.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let n of e.values())n(i)}_onerror(e){this.onerror?.(e)}_onnotification(e){let i=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;i!==void 0&&Promise.resolve().then(()=>i(e)).catch(n=>this._onerror(new Error(`Uncaught error in notification handler: ${n}`)))}_onrequest(e,i){let n=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,r=this._transport,s=e.params?._meta?.[Ru]?.taskId;if(n===void 0){let u={jsonrpc:"2.0",id:e.id,error:{code:Ve.MethodNotFound,message:"Method not found"}};s&&this._taskMessageQueue?this._enqueueTaskMessage(s,{type:"error",message:u,timestamp:Date.now()},r?.sessionId).catch(l=>this._onerror(new Error(`Failed to enqueue error response: ${l}`))):r?.send(u).catch(l=>this._onerror(new Error(`Failed to send an error response: ${l}`)));return}let o=new AbortController;this._requestHandlerAbortControllers.set(e.id,o);let a=Yae(e.params)?e.params.task:void 0,A=this._taskStore?this.requestTaskStore(e,r?.sessionId):void 0,c={signal:o.signal,sessionId:r?.sessionId,_meta:e.params?._meta,sendNotification:async u=>{if(o.signal.aborted)return;let l={relatedRequestId:e.id};s&&(l.relatedTask={taskId:s}),await this.notification(u,l)},sendRequest:async(u,l,p)=>{if(o.signal.aborted)throw new Oe(Ve.ConnectionClosed,"Request was cancelled");let g={...p,relatedRequestId:e.id};s&&!g.relatedTask&&(g.relatedTask={taskId:s});let d=g.relatedTask?.taskId??s;return d&&A&&await A.updateTaskStatus(d,"input_required"),await this.request(u,l,g)},authInfo:i?.authInfo,requestId:e.id,requestInfo:i?.requestInfo,taskId:s,taskStore:A,taskRequestedTtl:a?.ttl,closeSSEStream:i?.closeSSEStream,closeStandaloneSSEStream:i?.closeStandaloneSSEStream};Promise.resolve().then(()=>{a&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,c)).then(async u=>{if(o.signal.aborted)return;let l={result:u,jsonrpc:"2.0",id:e.id};s&&this._taskMessageQueue?await this._enqueueTaskMessage(s,{type:"response",message:l,timestamp:Date.now()},r?.sessionId):await r?.send(l)},async u=>{if(o.signal.aborted)return;let l={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(u.code)?u.code:Ve.InternalError,message:u.message??"Internal error",...u.data!==void 0&&{data:u.data}}};s&&this._taskMessageQueue?await this._enqueueTaskMessage(s,{type:"error",message:l,timestamp:Date.now()},r?.sessionId):await r?.send(l)}).catch(u=>this._onerror(new Error(`Failed to send response: ${u}`))).finally(()=>{this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:i,...n}=e.params,r=Number(i),s=this._progressHandlers.get(r);if(!s){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let o=this._responseHandlers.get(r),a=this._timeoutInfo.get(r);if(a&&o&&a.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(A){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),o(A);return}s(n)}_onresponse(e){let i=Number(e.id),n=this._requestResolvers.get(i);if(n){if(this._requestResolvers.delete(i),fp(e))n(e);else{let o=new Oe(e.error.code,e.error.message,e.error.data);n(o)}return}let r=this._responseHandlers.get(i);if(r===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(i),this._cleanupTimeout(i);let s=!1;if(fp(e)&&e.result&&typeof e.result=="object"){let o=e.result;if(o.task&&typeof o.task=="object"){let a=o.task;typeof a.taskId=="string"&&(s=!0,this._taskProgressTokens.set(a.taskId,i))}}if(s||this._progressHandlers.delete(i),fp(e))r(e);else{let o=Oe.fromError(e.error.code,e.error.message,e.error.data);r(o)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,i,n){let{task:r}=n??{};if(!r){try{yield{type:"result",result:await this.request(e,i,n)}}catch(o){yield{type:"error",error:o instanceof Oe?o:new Oe(Ve.InternalError,String(o))}}return}let s;try{let o=await this.request(e,pc,n);if(o.task)s=o.task.taskId,yield{type:"taskCreated",task:o.task};else throw new Oe(Ve.InternalError,"Task creation did not return a task");for(;;){let a=await this.getTask({taskId:s},n);if(yield{type:"taskStatus",task:a},Mu(a.status)){a.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:s},i,n)}:a.status==="failed"?yield{type:"error",error:new Oe(Ve.InternalError,`Task ${s} failed`)}:a.status==="cancelled"&&(yield{type:"error",error:new Oe(Ve.InternalError,`Task ${s} was cancelled`)});return}if(a.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:s},i,n)};return}let A=a.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(c=>setTimeout(c,A)),n?.signal?.throwIfAborted()}}catch(o){yield{type:"error",error:o instanceof Oe?o:new Oe(Ve.InternalError,String(o))}}}request(e,i,n){let{relatedRequestId:r,resumptionToken:s,onresumptiontoken:o,task:a,relatedTask:A}=n??{};return new Promise((c,u)=>{let l=I=>{u(I)};if(!this._transport){l(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),a&&this.assertTaskCapability(e.method)}catch(I){l(I);return}n?.signal?.throwIfAborted();let p=this._requestMessageId++,g={...e,jsonrpc:"2.0",id:p};n?.onprogress&&(this._progressHandlers.set(p,n.onprogress),g.params={...e.params,_meta:{...e.params?._meta||{},progressToken:p}}),a&&(g.params={...g.params,task:a}),A&&(g.params={...g.params,_meta:{...g.params?._meta||{},[Ru]:A}});let d=I=>{this._responseHandlers.delete(p),this._progressHandlers.delete(p),this._cleanupTimeout(p),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:p,reason:String(I)}},{relatedRequestId:r,resumptionToken:s,onresumptiontoken:o}).catch(E=>this._onerror(new Error(`Failed to send cancellation: ${E}`)));let B=I instanceof Oe?I:new Oe(Ve.RequestTimeout,String(I));u(B)};this._responseHandlers.set(p,I=>{if(!n?.signal?.aborted){if(I instanceof Error)return u(I);try{let B=ss(i,I.result);B.success?c(B.data):u(B.error)}catch(B){u(B)}}}),n?.signal?.addEventListener("abort",()=>{d(n?.signal?.reason)});let m=n?.timeout??pje,h=()=>d(Oe.fromError(Ve.RequestTimeout,"Request timed out",{timeout:m}));this._setupTimeout(p,m,n?.maxTotalTimeout,h,n?.resetTimeoutOnProgress??!1);let C=A?.taskId;if(C){let I=B=>{let E=this._responseHandlers.get(p);E?E(B):this._onerror(new Error(`Response handler missing for side-channeled request ${p}`))};this._requestResolvers.set(p,I),this._enqueueTaskMessage(C,{type:"request",message:g,timestamp:Date.now()}).catch(B=>{this._cleanupTimeout(p),u(B)})}else this._transport.send(g,{relatedRequestId:r,resumptionToken:s,onresumptiontoken:o}).catch(I=>{this._cleanupTimeout(p),u(I)})})}async getTask(e,i){return this.request({method:"tasks/get",params:e},px,i)}async getTaskResult(e,i,n){return this.request({method:"tasks/result",params:e},i,n)}async listTasks(e,i){return this.request({method:"tasks/list",params:e},mx,i)}async cancelTask(e,i){return this.request({method:"tasks/cancel",params:e},Xae,i)}async notification(e,i){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(e.method);let n=i?.relatedTask?.taskId;if(n){let a={...e,jsonrpc:"2.0",params:{...e.params,_meta:{...e.params?._meta||{},[Ru]:i.relatedTask}}};await this._enqueueTaskMessage(n,{type:"notification",message:a,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!i?.relatedRequestId&&!i?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let a={...e,jsonrpc:"2.0"};i?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[Ru]:i.relatedTask}}}),this._transport?.send(a,i).catch(A=>this._onerror(A))});return}let o={...e,jsonrpc:"2.0"};i?.relatedTask&&(o={...o,params:{...o.params,_meta:{...o.params?._meta||{},[Ru]:i.relatedTask}}}),await this._transport.send(o,i)}setRequestHandler(e,i){let n=F2(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(r,s)=>{let o=k2(e,r);return Promise.resolve(i(o,s))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,i){let n=F2(e);this._notificationHandlers.set(n,r=>{let s=k2(e,r);return Promise.resolve(i(s))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let i=this._taskProgressTokens.get(e);i!==void 0&&(this._progressHandlers.delete(i),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,i,n){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,i,n,r)}async _clearTaskQueue(e,i){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,i);for(let r of n)if(r.type==="request"&&oI(r.message)){let s=r.message.id,o=this._requestResolvers.get(s);o?(o(new Oe(Ve.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(s)):this._onerror(new Error(`Resolver missing for request ${s} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,i){let n=this._options?.defaultTaskPollInterval??1e3;try{let r=await this._taskStore?.getTask(e);r?.pollInterval&&(n=r.pollInterval)}catch{}return new Promise((r,s)=>{if(i.aborted){s(new Oe(Ve.InvalidRequest,"Request cancelled"));return}let o=setTimeout(r,n);i.addEventListener("abort",()=>{clearTimeout(o),s(new Oe(Ve.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(e,i){let n=this._taskStore;if(!n)throw new Error("No task store configured");return{createTask:async r=>{if(!e)throw new Error("No request provided");return await n.createTask(r,e.id,{method:e.method,params:e.params},i)},getTask:async r=>{let s=await n.getTask(r,i);if(!s)throw new Oe(Ve.InvalidParams,"Failed to retrieve task: Task not found");return s},storeTaskResult:async(r,s,o)=>{await n.storeTaskResult(r,s,o,i);let a=await n.getTask(r,i);if(a){let A=lI.parse({method:"notifications/tasks/status",params:a});await this.notification(A),Mu(a.status)&&this._cleanupTaskProgressHandler(r)}},getTaskResult:r=>n.getTaskResult(r,i),updateTaskStatus:async(r,s,o)=>{let a=await n.getTask(r,i);if(!a)throw new Oe(Ve.InvalidParams,`Task "${r}" not found - it may have been cleaned up`);if(Mu(a.status))throw new Oe(Ve.InvalidParams,`Cannot update task "${r}" from terminal status "${a.status}" to "${s}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(r,s,o,i);let A=await n.getTask(r,i);if(A){let c=lI.parse({method:"notifications/tasks/status",params:A});await this.notification(c),Mu(A.status)&&this._cleanupTaskProgressHandler(r)}},listTasks:r=>n.listTasks(r,i)}}}});var EI=b(jt=>{"use strict";f();Object.defineProperty(jt,"__esModule",{value:!0});jt.regexpCode=jt.getEsmExportName=jt.getProperty=jt.safeStringify=jt.stringify=jt.strConcat=jt.addCodeArg=jt.str=jt._=jt.nil=jt._Code=jt.Name=jt.IDENTIFIER=jt._CodeOrName=void 0;var CI=class{};jt._CodeOrName=CI;jt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var hp=class extends CI{constructor(e){if(super(),!jt.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};jt.Name=hp;var ko=class extends CI{constructor(e){super(),this._items=typeof e=="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((i,n)=>`${i}${n}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((i,n)=>(n instanceof hp&&(i[n.str]=(i[n.str]||0)+1),i),{})}};jt._Code=ko;jt.nil=new ko("");function lAe(t,...e){let i=[t[0]],n=0;for(;n<e.length;)T2(i,e[n]),i.push(t[++n]);return new ko(i)}jt._=lAe;var N2=new ko("+");function pAe(t,...e){let i=[II(t[0])],n=0;for(;n<e.length;)i.push(N2),T2(i,e[n]),i.push(N2,II(t[++n]));return gje(i),new ko(i)}jt.str=pAe;function T2(t,e){e instanceof ko?t.push(...e._items):e instanceof hp?t.push(e):t.push(fje(e))}jt.addCodeArg=T2;function gje(t){let e=1;for(;e<t.length-1;){if(t[e]===N2){let i=dje(t[e-1],t[e+1]);if(i!==void 0){t.splice(e-1,3,i);continue}t[e++]="+"}e++}}function dje(t,e){if(e==='""')return t;if(t==='""')return e;if(typeof t=="string")return e instanceof hp||t[t.length-1]!=='"'?void 0:typeof e!="string"?`${t.slice(0,-1)}${e}"`:e[0]==='"'?t.slice(0,-1)+e.slice(1):void 0;if(typeof e=="string"&&e[0]==='"'&&!(t instanceof hp))return`"${t}${e.slice(1)}`}function mje(t,e){return e.emptyStr()?t:t.emptyStr()?e:pAe`${t}${e}`}jt.strConcat=mje;function fje(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:II(Array.isArray(t)?t.join(","):t)}function hje(t){return new ko(II(t))}jt.stringify=hje;function II(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}jt.safeStringify=II;function Cje(t){return typeof t=="string"&&jt.IDENTIFIER.test(t)?new ko(`.${t}`):lAe`[${t}]`}jt.getProperty=Cje;function Ije(t){if(typeof t=="string"&&jt.IDENTIFIER.test(t))return new ko(`${t}`);throw new Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}jt.getEsmExportName=Ije;function Eje(t){return new ko(t.toString())}jt.regexpCode=Eje});var _2=b(Fs=>{"use strict";f();Object.defineProperty(Fs,"__esModule",{value:!0});Fs.ValueScope=Fs.ValueScopeName=Fs.Scope=Fs.varKinds=Fs.UsedValueState=void 0;var Ss=EI(),M2=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},Dx;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Dx||(Fs.UsedValueState=Dx={}));Fs.varKinds={const:new Ss.Name("const"),let:new Ss.Name("let"),var:new Ss.Name("var")};var xx=class{constructor({prefixes:e,parent:i}={}){this._names={},this._prefixes=e,this._parent=i}toName(e){return e instanceof Ss.Name?e:this.name(e)}name(e){return new Ss.Name(this._newName(e))}_newName(e){let i=this._names[e]||this._nameGroup(e);return`${e}${i.index++}`}_nameGroup(e){var i,n;if(!((n=(i=this._parent)===null||i===void 0?void 0:i._prefixes)===null||n===void 0)&&n.has(e)||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};Fs.Scope=xx;var vx=class extends Ss.Name{constructor(e,i){super(i),this.prefix=e}setValue(e,{property:i,itemIndex:n}){this.value=e,this.scopePath=(0,Ss._)`.${new Ss.Name(i)}[${n}]`}};Fs.ValueScopeName=vx;var Bje=(0,Ss._)`\n`,P2=class extends xx{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?Bje:Ss.nil}}get(){return this._scope}name(e){return new vx(e,this._newName(e))}value(e,i){var n;if(i.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let r=this.toName(e),{prefix:s}=r,o=(n=i.key)!==null&&n!==void 0?n:i.ref,a=this._values[s];if(a){let u=a.get(o);if(u)return u}else a=this._values[s]=new Map;a.set(o,r);let A=this._scope[s]||(this._scope[s]=[]),c=A.length;return A[c]=i.ref,r.setValue(i,{property:s,itemIndex:c}),r}getValue(e,i){let n=this._values[e];if(n)return n.get(i)}scopeRefs(e,i=this._values){return this._reduceValues(i,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,Ss._)`${e}${n.scopePath}`})}scopeCode(e=this._values,i,n){return this._reduceValues(e,r=>{if(r.value===void 0)throw new Error(`CodeGen: name "${r}" has no value`);return r.value.code},i,n)}_reduceValues(e,i,n={},r){let s=Ss.nil;for(let o in e){let a=e[o];if(!a)continue;let A=n[o]=n[o]||new Map;a.forEach(c=>{if(A.has(c))return;A.set(c,Dx.Started);let u=i(c);if(u){let l=this.opts.es5?Fs.varKinds.var:Fs.varKinds.const;s=(0,Ss._)`${s}${l} ${c} = ${u};${this.opts._n}`}else if(u=r?.(c))s=(0,Ss._)`${s}${u}${this.opts._n}`;else throw new M2(c);A.set(c,Dx.Completed)})}return s}};Fs.ValueScope=P2});var Ct=b(Qt=>{"use strict";f();Object.defineProperty(Qt,"__esModule",{value:!0});Qt.or=Qt.and=Qt.not=Qt.CodeGen=Qt.operators=Qt.varKinds=Qt.ValueScopeName=Qt.ValueScope=Qt.Scope=Qt.Name=Qt.regexpCode=Qt.stringify=Qt.getProperty=Qt.nil=Qt.strConcat=Qt.str=Qt._=void 0;var _t=EI(),ya=_2(),_u=EI();Object.defineProperty(Qt,"_",{enumerable:!0,get:function(){return _u._}});Object.defineProperty(Qt,"str",{enumerable:!0,get:function(){return _u.str}});Object.defineProperty(Qt,"strConcat",{enumerable:!0,get:function(){return _u.strConcat}});Object.defineProperty(Qt,"nil",{enumerable:!0,get:function(){return _u.nil}});Object.defineProperty(Qt,"getProperty",{enumerable:!0,get:function(){return _u.getProperty}});Object.defineProperty(Qt,"stringify",{enumerable:!0,get:function(){return _u.stringify}});Object.defineProperty(Qt,"regexpCode",{enumerable:!0,get:function(){return _u.regexpCode}});Object.defineProperty(Qt,"Name",{enumerable:!0,get:function(){return _u.Name}});var Fx=_2();Object.defineProperty(Qt,"Scope",{enumerable:!0,get:function(){return Fx.Scope}});Object.defineProperty(Qt,"ValueScope",{enumerable:!0,get:function(){return Fx.ValueScope}});Object.defineProperty(Qt,"ValueScopeName",{enumerable:!0,get:function(){return Fx.ValueScopeName}});Object.defineProperty(Qt,"varKinds",{enumerable:!0,get:function(){return Fx.varKinds}});Qt.operators={GT:new _t._Code(">"),GTE:new _t._Code(">="),LT:new _t._Code("<"),LTE:new _t._Code("<="),EQ:new _t._Code("==="),NEQ:new _t._Code("!=="),NOT:new _t._Code("!"),OR:new _t._Code("||"),AND:new _t._Code("&&"),ADD:new _t._Code("+")};var dc=class{optimizeNodes(){return this}optimizeNames(e,i){return this}},L2=class extends dc{constructor(e,i,n){super(),this.varKind=e,this.name=i,this.rhs=n}render({es5:e,_n:i}){let n=e?ya.varKinds.var:this.varKind,r=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+i}optimizeNames(e,i){if(e[this.name.str])return this.rhs&&(this.rhs=dm(this.rhs,e,i)),this}get names(){return this.rhs instanceof _t._CodeOrName?this.rhs.names:{}}},wx=class extends dc{constructor(e,i,n){super(),this.lhs=e,this.rhs=i,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,i){if(!(this.lhs instanceof _t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=dm(this.rhs,e,i),this}get names(){let e=this.lhs instanceof _t.Name?{}:{...this.lhs.names};return Sx(e,this.rhs)}},U2=class extends wx{constructor(e,i,n,r){super(e,n,r),this.op=i}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},G2=class extends dc{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},O2=class extends dc{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},K2=class extends dc{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},H2=class extends dc{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,i){return this.code=dm(this.code,e,i),this}get names(){return this.code instanceof _t._CodeOrName?this.code.names:{}}},BI=class extends dc{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((i,n)=>i+n.render(e),"")}optimizeNodes(){let{nodes:e}=this,i=e.length;for(;i--;){let n=e[i].optimizeNodes();Array.isArray(n)?e.splice(i,1,...n):n?e[i]=n:e.splice(i,1)}return e.length>0?this:void 0}optimizeNames(e,i){let{nodes:n}=this,r=n.length;for(;r--;){let s=n[r];s.optimizeNames(e,i)||(Qje(e,s.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,i)=>Ep(e,i.names),{})}},mc=class extends BI{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},J2=class extends BI{},gm=class extends mc{};gm.kind="else";var Cp=class t extends mc{constructor(e,i){super(i),this.condition=e}render(e){let i=`if(${this.condition})`+super.render(e);return this.else&&(i+="else "+this.else.render(e)),i}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(e===!0)return this.nodes;let i=this.else;if(i){let n=i.optimizeNodes();i=this.else=Array.isArray(n)?new gm(n):n}if(i)return e===!1?i instanceof t?i:i.nodes:this.nodes.length?this:new t(gAe(e),i instanceof t?[i]:i.nodes);if(!(e===!1||!this.nodes.length))return this}optimizeNames(e,i){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(e,i),!!(super.optimizeNames(e,i)||this.else))return this.condition=dm(this.condition,e,i),this}get names(){let e=super.names;return Sx(e,this.condition),this.else&&Ep(e,this.else.names),e}};Cp.kind="if";var Ip=class extends mc{};Ip.kind="for";var j2=class extends Ip{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,i){if(super.optimizeNames(e,i))return this.iteration=dm(this.iteration,e,i),this}get names(){return Ep(super.names,this.iteration.names)}},Y2=class extends Ip{constructor(e,i,n,r){super(),this.varKind=e,this.name=i,this.from=n,this.to=r}render(e){let i=e.es5?ya.varKinds.var:this.varKind,{name:n,from:r,to:s}=this;return`for(${i} ${n}=${r}; ${n}<${s}; ${n}++)`+super.render(e)}get names(){let e=Sx(super.names,this.from);return Sx(e,this.to)}},bx=class extends Ip{constructor(e,i,n,r){super(),this.loop=e,this.varKind=i,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,i){if(super.optimizeNames(e,i))return this.iterable=dm(this.iterable,e,i),this}get names(){return Ep(super.names,this.iterable.names)}},QI=class extends mc{constructor(e,i,n){super(),this.name=e,this.args=i,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}};QI.kind="func";var yI=class extends BI{render(e){return"return "+super.render(e)}};yI.kind="return";var $2=class extends mc{render(e){let i="try"+super.render(e);return this.catch&&(i+=this.catch.render(e)),this.finally&&(i+=this.finally.render(e)),i}optimizeNodes(){var e,i;return super.optimizeNodes(),(e=this.catch)===null||e===void 0||e.optimizeNodes(),(i=this.finally)===null||i===void 0||i.optimizeNodes(),this}optimizeNames(e,i){var n,r;return super.optimizeNames(e,i),(n=this.catch)===null||n===void 0||n.optimizeNames(e,i),(r=this.finally)===null||r===void 0||r.optimizeNames(e,i),this}get names(){let e=super.names;return this.catch&&Ep(e,this.catch.names),this.finally&&Ep(e,this.finally.names),e}},DI=class extends mc{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};DI.kind="catch";var xI=class extends mc{render(e){return"finally"+super.render(e)}};xI.kind="finally";var q2=class{constructor(e,i={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...i,_n:i.lines?`
1803
+ `:""},this._extScope=e,this._scope=new ya.Scope({parent:e}),this._nodes=[new J2]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,i){let n=this._extScope.value(e,i);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,i){return this._extScope.getValue(e,i)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,i,n,r){let s=this._scope.toName(i);return n!==void 0&&r&&(this._constants[s.str]=n),this._leafNode(new L2(e,s,n)),s}const(e,i,n){return this._def(ya.varKinds.const,e,i,n)}let(e,i,n){return this._def(ya.varKinds.let,e,i,n)}var(e,i,n){return this._def(ya.varKinds.var,e,i,n)}assign(e,i,n){return this._leafNode(new wx(e,i,n))}add(e,i){return this._leafNode(new U2(e,Qt.operators.ADD,i))}code(e){return typeof e=="function"?e():e!==_t.nil&&this._leafNode(new H2(e)),this}object(...e){let i=["{"];for(let[n,r]of e)i.length>1&&i.push(","),i.push(n),(n!==r||this.opts.es5)&&(i.push(":"),(0,_t.addCodeArg)(i,r));return i.push("}"),new _t._Code(i)}if(e,i,n){if(this._blockNode(new Cp(e)),i&&n)this.code(i).else().code(n).endIf();else if(i)this.code(i).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new Cp(e))}else(){return this._elseNode(new gm)}endIf(){return this._endBlockNode(Cp,gm)}_for(e,i){return this._blockNode(e),i&&this.code(i).endFor(),this}for(e,i){return this._for(new j2(e),i)}forRange(e,i,n,r,s=this.opts.es5?ya.varKinds.var:ya.varKinds.let){let o=this._scope.toName(e);return this._for(new Y2(s,o,i,n),()=>r(o))}forOf(e,i,n,r=ya.varKinds.const){let s=this._scope.toName(e);if(this.opts.es5){let o=i instanceof _t.Name?i:this.var("_arr",i);return this.forRange("_i",0,(0,_t._)`${o}.length`,a=>{this.var(s,(0,_t._)`${o}[${a}]`),n(s)})}return this._for(new bx("of",r,s,i),()=>n(s))}forIn(e,i,n,r=this.opts.es5?ya.varKinds.var:ya.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,_t._)`Object.keys(${i})`,n);let s=this._scope.toName(e);return this._for(new bx("in",r,s,i),()=>n(s))}endFor(){return this._endBlockNode(Ip)}label(e){return this._leafNode(new G2(e))}break(e){return this._leafNode(new O2(e))}return(e){let i=new yI;if(this._blockNode(i),this.code(e),i.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(yI)}try(e,i,n){if(!i&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let r=new $2;if(this._blockNode(r),this.code(e),i){let s=this.name("e");this._currNode=r.catch=new DI(s),i(s)}return n&&(this._currNode=r.finally=new xI,this.code(n)),this._endBlockNode(DI,xI)}throw(e){return this._leafNode(new K2(e))}block(e,i){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(i),this}endBlock(e){let i=this._blockStarts.pop();if(i===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-i;if(n<0||e!==void 0&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=i,this}func(e,i=_t.nil,n,r){return this._blockNode(new QI(e,i,n)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(QI)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,i){let n=this._currNode;if(n instanceof e||i&&n instanceof i)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${i?`${e.kind}/${i.kind}`:e.kind}"`)}_elseNode(e){let i=this._currNode;if(!(i instanceof Cp))throw new Error('CodeGen: "else" without "if"');return this._currNode=i.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let i=this._nodes;i[i.length-1]=e}};Qt.CodeGen=q2;function Ep(t,e){for(let i in e)t[i]=(t[i]||0)+(e[i]||0);return t}function Sx(t,e){return e instanceof _t._CodeOrName?Ep(t,e.names):t}function dm(t,e,i){if(t instanceof _t.Name)return n(t);if(!r(t))return t;return new _t._Code(t._items.reduce((s,o)=>(o instanceof _t.Name&&(o=n(o)),o instanceof _t._Code?s.push(...o._items):s.push(o),s),[]));function n(s){let o=i[s.str];return o===void 0||e[s.str]!==1?s:(delete e[s.str],o)}function r(s){return s instanceof _t._Code&&s._items.some(o=>o instanceof _t.Name&&e[o.str]===1&&i[o.str]!==void 0)}}function Qje(t,e){for(let i in e)t[i]=(t[i]||0)-(e[i]||0)}function gAe(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,_t._)`!${z2(t)}`}Qt.not=gAe;var yje=dAe(Qt.operators.AND);function Dje(...t){return t.reduce(yje)}Qt.and=Dje;var xje=dAe(Qt.operators.OR);function vje(...t){return t.reduce(xje)}Qt.or=vje;function dAe(t){return(e,i)=>e===_t.nil?i:i===_t.nil?e:(0,_t._)`${z2(e)} ${t} ${z2(i)}`}function z2(t){return t instanceof _t.Name?t:(0,_t._)`(${t})`}});var Yt=b(xt=>{"use strict";f();Object.defineProperty(xt,"__esModule",{value:!0});xt.checkStrictMode=xt.getErrorPath=xt.Type=xt.useFunc=xt.setEvaluated=xt.evaluatedPropsToName=xt.mergeEvaluated=xt.eachItem=xt.unescapeJsonPointer=xt.escapeJsonPointer=xt.escapeFragment=xt.unescapeFragment=xt.schemaRefOrVal=xt.schemaHasRulesButRef=xt.schemaHasRules=xt.checkUnknownRules=xt.alwaysValidSchema=xt.toHash=void 0;var mi=Ct(),wje=EI();function bje(t){let e={};for(let i of t)e[i]=!0;return e}xt.toHash=bje;function Sje(t,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(hAe(t,e),!CAe(e,t.self.RULES.all))}xt.alwaysValidSchema=Sje;function hAe(t,e=t.schema){let{opts:i,self:n}=t;if(!i.strictSchema||typeof e=="boolean")return;let r=n.RULES.keywords;for(let s in e)r[s]||BAe(t,`unknown keyword: "${s}"`)}xt.checkUnknownRules=hAe;function CAe(t,e){if(typeof t=="boolean")return!t;for(let i in t)if(e[i])return!0;return!1}xt.schemaHasRules=CAe;function Fje(t,e){if(typeof t=="boolean")return!t;for(let i in t)if(i!=="$ref"&&e.all[i])return!0;return!1}xt.schemaHasRulesButRef=Fje;function kje({topSchemaRef:t,schemaPath:e},i,n,r){if(!r){if(typeof i=="number"||typeof i=="boolean")return i;if(typeof i=="string")return(0,mi._)`${i}`}return(0,mi._)`${t}${e}${(0,mi.getProperty)(n)}`}xt.schemaRefOrVal=kje;function Rje(t){return IAe(decodeURIComponent(t))}xt.unescapeFragment=Rje;function Nje(t){return encodeURIComponent(W2(t))}xt.escapeFragment=Nje;function W2(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}xt.escapeJsonPointer=W2;function IAe(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}xt.unescapeJsonPointer=IAe;function Tje(t,e){if(Array.isArray(t))for(let i of t)e(i);else e(t)}xt.eachItem=Tje;function mAe({mergeNames:t,mergeToName:e,mergeValues:i,resultToName:n}){return(r,s,o,a)=>{let A=o===void 0?s:o instanceof mi.Name?(s instanceof mi.Name?t(r,s,o):e(r,s,o),o):s instanceof mi.Name?(e(r,o,s),s):i(s,o);return a===mi.Name&&!(A instanceof mi.Name)?n(r,A):A}}xt.mergeEvaluated={props:mAe({mergeNames:(t,e,i)=>t.if((0,mi._)`${i} !== true && ${e} !== undefined`,()=>{t.if((0,mi._)`${e} === true`,()=>t.assign(i,!0),()=>t.assign(i,(0,mi._)`${i} || {}`).code((0,mi._)`Object.assign(${i}, ${e})`))}),mergeToName:(t,e,i)=>t.if((0,mi._)`${i} !== true`,()=>{e===!0?t.assign(i,!0):(t.assign(i,(0,mi._)`${i} || {}`),Z2(t,i,e))}),mergeValues:(t,e)=>t===!0?!0:{...t,...e},resultToName:EAe}),items:mAe({mergeNames:(t,e,i)=>t.if((0,mi._)`${i} !== true && ${e} !== undefined`,()=>t.assign(i,(0,mi._)`${e} === true ? true : ${i} > ${e} ? ${i} : ${e}`)),mergeToName:(t,e,i)=>t.if((0,mi._)`${i} !== true`,()=>t.assign(i,e===!0?!0:(0,mi._)`${i} > ${e} ? ${i} : ${e}`)),mergeValues:(t,e)=>t===!0?!0:Math.max(t,e),resultToName:(t,e)=>t.var("items",e)})};function EAe(t,e){if(e===!0)return t.var("props",!0);let i=t.var("props",(0,mi._)`{}`);return e!==void 0&&Z2(t,i,e),i}xt.evaluatedPropsToName=EAe;function Z2(t,e,i){Object.keys(i).forEach(n=>t.assign((0,mi._)`${e}${(0,mi.getProperty)(n)}`,!0))}xt.setEvaluated=Z2;var fAe={};function Mje(t,e){return t.scopeValue("func",{ref:e,code:fAe[e.code]||(fAe[e.code]=new wje._Code(e.code))})}xt.useFunc=Mje;var V2;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(V2||(xt.Type=V2={}));function Pje(t,e,i){if(t instanceof mi.Name){let n=e===V2.Num;return i?n?(0,mi._)`"[" + ${t} + "]"`:(0,mi._)`"['" + ${t} + "']"`:n?(0,mi._)`"/" + ${t}`:(0,mi._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return i?(0,mi.getProperty)(t).toString():"/"+W2(t)}xt.getErrorPath=Pje;function BAe(t,e,i=t.opts.strictSchema){if(i){if(e=`strict mode: ${e}`,i===!0)throw new Error(e);t.self.logger.warn(e)}}xt.checkStrictMode=BAe});var fc=b(X2=>{"use strict";f();Object.defineProperty(X2,"__esModule",{value:!0});var Ur=Ct(),_je={data:new Ur.Name("data"),valCxt:new Ur.Name("valCxt"),instancePath:new Ur.Name("instancePath"),parentData:new Ur.Name("parentData"),parentDataProperty:new Ur.Name("parentDataProperty"),rootData:new Ur.Name("rootData"),dynamicAnchors:new Ur.Name("dynamicAnchors"),vErrors:new Ur.Name("vErrors"),errors:new Ur.Name("errors"),this:new Ur.Name("this"),self:new Ur.Name("self"),scope:new Ur.Name("scope"),json:new Ur.Name("json"),jsonPos:new Ur.Name("jsonPos"),jsonLen:new Ur.Name("jsonLen"),jsonPart:new Ur.Name("jsonPart")};X2.default=_je});var vI=b(Gr=>{"use strict";f();Object.defineProperty(Gr,"__esModule",{value:!0});Gr.extendErrors=Gr.resetErrorsCount=Gr.reportExtraError=Gr.reportError=Gr.keyword$DataError=Gr.keywordError=void 0;var Ot=Ct(),kx=Yt(),os=fc();Gr.keywordError={message:({keyword:t})=>(0,Ot.str)`must pass "${t}" keyword validation`};Gr.keyword$DataError={message:({keyword:t,schemaType:e})=>e?(0,Ot.str)`"${t}" keyword must be ${e} ($data)`:(0,Ot.str)`"${t}" keyword is invalid ($data)`};function Lje(t,e=Gr.keywordError,i,n){let{it:r}=t,{gen:s,compositeRule:o,allErrors:a}=r,A=DAe(t,e,i);n??(o||a)?QAe(s,A):yAe(r,(0,Ot._)`[${A}]`)}Gr.reportError=Lje;function Uje(t,e=Gr.keywordError,i){let{it:n}=t,{gen:r,compositeRule:s,allErrors:o}=n,a=DAe(t,e,i);QAe(r,a),s||o||yAe(n,os.default.vErrors)}Gr.reportExtraError=Uje;function Gje(t,e){t.assign(os.default.errors,e),t.if((0,Ot._)`${os.default.vErrors} !== null`,()=>t.if(e,()=>t.assign((0,Ot._)`${os.default.vErrors}.length`,e),()=>t.assign(os.default.vErrors,null)))}Gr.resetErrorsCount=Gje;function Oje({gen:t,keyword:e,schemaValue:i,data:n,errsCount:r,it:s}){if(r===void 0)throw new Error("ajv implementation error");let o=t.name("err");t.forRange("i",r,os.default.errors,a=>{t.const(o,(0,Ot._)`${os.default.vErrors}[${a}]`),t.if((0,Ot._)`${o}.instancePath === undefined`,()=>t.assign((0,Ot._)`${o}.instancePath`,(0,Ot.strConcat)(os.default.instancePath,s.errorPath))),t.assign((0,Ot._)`${o}.schemaPath`,(0,Ot.str)`${s.errSchemaPath}/${e}`),s.opts.verbose&&(t.assign((0,Ot._)`${o}.schema`,i),t.assign((0,Ot._)`${o}.data`,n))})}Gr.extendErrors=Oje;function QAe(t,e){let i=t.const("err",e);t.if((0,Ot._)`${os.default.vErrors} === null`,()=>t.assign(os.default.vErrors,(0,Ot._)`[${i}]`),(0,Ot._)`${os.default.vErrors}.push(${i})`),t.code((0,Ot._)`${os.default.errors}++`)}function yAe(t,e){let{gen:i,validateName:n,schemaEnv:r}=t;r.$async?i.throw((0,Ot._)`new ${t.ValidationError}(${e})`):(i.assign((0,Ot._)`${n}.errors`,e),i.return(!1))}var Bp={keyword:new Ot.Name("keyword"),schemaPath:new Ot.Name("schemaPath"),params:new Ot.Name("params"),propertyName:new Ot.Name("propertyName"),message:new Ot.Name("message"),schema:new Ot.Name("schema"),parentSchema:new Ot.Name("parentSchema")};function DAe(t,e,i){let{createErrors:n}=t.it;return n===!1?(0,Ot._)`{}`:Kje(t,e,i)}function Kje(t,e,i={}){let{gen:n,it:r}=t,s=[Hje(r,i),Jje(t,i)];return jje(t,e,s),n.object(...s)}function Hje({errorPath:t},{instancePath:e}){let i=e?(0,Ot.str)`${t}${(0,kx.getErrorPath)(e,kx.Type.Str)}`:t;return[os.default.instancePath,(0,Ot.strConcat)(os.default.instancePath,i)]}function Jje({keyword:t,it:{errSchemaPath:e}},{schemaPath:i,parentSchema:n}){let r=n?e:(0,Ot.str)`${e}/${t}`;return i&&(r=(0,Ot.str)`${r}${(0,kx.getErrorPath)(i,kx.Type.Str)}`),[Bp.schemaPath,r]}function jje(t,{params:e,message:i},n){let{keyword:r,data:s,schemaValue:o,it:a}=t,{opts:A,propertyName:c,topSchemaRef:u,schemaPath:l}=a;n.push([Bp.keyword,r],[Bp.params,typeof e=="function"?e(t):e||(0,Ot._)`{}`]),A.messages&&n.push([Bp.message,typeof i=="function"?i(t):i]),A.verbose&&n.push([Bp.schema,o],[Bp.parentSchema,(0,Ot._)`${u}${l}`],[os.default.data,s]),c&&n.push([Bp.propertyName,c])}});var vAe=b(mm=>{"use strict";f();Object.defineProperty(mm,"__esModule",{value:!0});mm.boolOrEmptySchema=mm.topBoolOrEmptySchema=void 0;var Yje=vI(),$je=Ct(),qje=fc(),zje={message:"boolean schema is false"};function Vje(t){let{gen:e,schema:i,validateName:n}=t;i===!1?xAe(t,!1):typeof i=="object"&&i.$async===!0?e.return(qje.default.data):(e.assign((0,$je._)`${n}.errors`,null),e.return(!0))}mm.topBoolOrEmptySchema=Vje;function Wje(t,e){let{gen:i,schema:n}=t;n===!1?(i.var(e,!1),xAe(t)):i.var(e,!0)}mm.boolOrEmptySchema=Wje;function xAe(t,e){let{gen:i,data:n}=t,r={gen:i,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};(0,Yje.reportError)(r,zje,void 0,e)}});var eL=b(fm=>{"use strict";f();Object.defineProperty(fm,"__esModule",{value:!0});fm.getRules=fm.isJSONType=void 0;var Zje=["string","number","integer","boolean","null","object","array"],Xje=new Set(Zje);function e9e(t){return typeof t=="string"&&Xje.has(t)}fm.isJSONType=e9e;function t9e(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...t,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}fm.getRules=t9e});var tL=b(Lu=>{"use strict";f();Object.defineProperty(Lu,"__esModule",{value:!0});Lu.shouldUseRule=Lu.shouldUseGroup=Lu.schemaHasRulesForType=void 0;function i9e({schema:t,self:e},i){let n=e.RULES.types[i];return n&&n!==!0&&wAe(t,n)}Lu.schemaHasRulesForType=i9e;function wAe(t,e){return e.rules.some(i=>bAe(t,i))}Lu.shouldUseGroup=wAe;function bAe(t,e){var i;return t[e.keyword]!==void 0||((i=e.definition.implements)===null||i===void 0?void 0:i.some(n=>t[n]!==void 0))}Lu.shouldUseRule=bAe});var wI=b(Or=>{"use strict";f();Object.defineProperty(Or,"__esModule",{value:!0});Or.reportTypeError=Or.checkDataTypes=Or.checkDataType=Or.coerceAndCheckDataType=Or.getJSONTypes=Or.getSchemaTypes=Or.DataType=void 0;var n9e=eL(),r9e=tL(),s9e=vI(),ft=Ct(),SAe=Yt(),hm;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(hm||(Or.DataType=hm={}));function o9e(t){let e=FAe(t.type);if(e.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!e.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&e.push("null")}return e}Or.getSchemaTypes=o9e;function FAe(t){let e=Array.isArray(t)?t:t?[t]:[];if(e.every(n9e.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}Or.getJSONTypes=FAe;function a9e(t,e){let{gen:i,data:n,opts:r}=t,s=A9e(e,r.coerceTypes),o=e.length>0&&!(s.length===0&&e.length===1&&(0,r9e.schemaHasRulesForType)(t,e[0]));if(o){let a=nL(e,n,r.strictNumbers,hm.Wrong);i.if(a,()=>{s.length?c9e(t,e,s):rL(t)})}return o}Or.coerceAndCheckDataType=a9e;var kAe=new Set(["string","number","integer","boolean","null"]);function A9e(t,e){return e?t.filter(i=>kAe.has(i)||e==="array"&&i==="array"):[]}function c9e(t,e,i){let{gen:n,data:r,opts:s}=t,o=n.let("dataType",(0,ft._)`typeof ${r}`),a=n.let("coerced",(0,ft._)`undefined`);s.coerceTypes==="array"&&n.if((0,ft._)`${o} == 'object' && Array.isArray(${r}) && ${r}.length == 1`,()=>n.assign(r,(0,ft._)`${r}[0]`).assign(o,(0,ft._)`typeof ${r}`).if(nL(e,r,s.strictNumbers),()=>n.assign(a,r))),n.if((0,ft._)`${a} !== undefined`);for(let c of i)(kAe.has(c)||c==="array"&&s.coerceTypes==="array")&&A(c);n.else(),rL(t),n.endIf(),n.if((0,ft._)`${a} !== undefined`,()=>{n.assign(r,a),u9e(t,a)});function A(c){switch(c){case"string":n.elseIf((0,ft._)`${o} == "number" || ${o} == "boolean"`).assign(a,(0,ft._)`"" + ${r}`).elseIf((0,ft._)`${r} === null`).assign(a,(0,ft._)`""`);return;case"number":n.elseIf((0,ft._)`${o} == "boolean" || ${r} === null
1804
1804
  || (${o} == "string" && ${r} && ${r} == +${r})`).assign(a,(0,ft._)`+${r}`);return;case"integer":n.elseIf((0,ft._)`${o} === "boolean" || ${r} === null
1805
1805
  || (${o} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(a,(0,ft._)`+${r}`);return;case"boolean":n.elseIf((0,ft._)`${r} === "false" || ${r} === 0 || ${r} === null`).assign(a,!1).elseIf((0,ft._)`${r} === "true" || ${r} === 1`).assign(a,!0);return;case"null":n.elseIf((0,ft._)`${r} === "" || ${r} === 0 || ${r} === false`),n.assign(a,null);return;case"array":n.elseIf((0,ft._)`${o} === "string" || ${o} === "number"
1806
1806
  || ${o} === "boolean" || ${r} === null`).assign(a,(0,ft._)`[${r}]`)}}}function u9e({gen:t,parentData:e,parentDataProperty:i},n){t.if((0,ft._)`${e} !== undefined`,()=>t.assign((0,ft._)`${e}[${i}]`,n))}function iL(t,e,i,n=hm.Correct){let r=n===hm.Correct?ft.operators.EQ:ft.operators.NEQ,s;switch(t){case"null":return(0,ft._)`${e} ${r} null`;case"array":s=(0,ft._)`Array.isArray(${e})`;break;case"object":s=(0,ft._)`${e} && typeof ${e} == "object" && !Array.isArray(${e})`;break;case"integer":s=o((0,ft._)`!(${e} % 1) && !isNaN(${e})`);break;case"number":s=o();break;default:return(0,ft._)`typeof ${e} ${r} ${t}`}return n===hm.Correct?s:(0,ft.not)(s);function o(a=ft.nil){return(0,ft.and)((0,ft._)`typeof ${e} == "number"`,a,i?(0,ft._)`isFinite(${e})`:ft.nil)}}Or.checkDataType=iL;function nL(t,e,i,n){if(t.length===1)return iL(t[0],e,i,n);let r,s=(0,SAe.toHash)(t);if(s.array&&s.object){let o=(0,ft._)`typeof ${e} != "object"`;r=s.null?o:(0,ft._)`!${e} || ${o}`,delete s.null,delete s.array,delete s.object}else r=ft.nil;s.number&&delete s.integer;for(let o in s)r=(0,ft.and)(r,iL(o,e,i,n));return r}Or.checkDataTypes=nL;var l9e={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:e})=>typeof t=="string"?(0,ft._)`{type: ${t}}`:(0,ft._)`{type: ${e}}`};function rL(t){let e=p9e(t);(0,s9e.reportError)(e,l9e)}Or.reportTypeError=rL;function p9e(t){let{gen:e,data:i,schema:n}=t,r=(0,SAe.schemaRefOrVal)(t,n,"type");return{gen:e,keyword:"type",data:i,schema:n.type,schemaCode:r,schemaValue:r,parentSchema:n,params:{},it:t}}});var NAe=b(Rx=>{"use strict";f();Object.defineProperty(Rx,"__esModule",{value:!0});Rx.assignDefaults=void 0;var Cm=Ct(),g9e=Yt();function d9e(t,e){let{properties:i,items:n}=t.schema;if(e==="object"&&i)for(let r in i)RAe(t,r,i[r].default);else e==="array"&&Array.isArray(n)&&n.forEach((r,s)=>RAe(t,s,r.default))}Rx.assignDefaults=d9e;function RAe(t,e,i){let{gen:n,compositeRule:r,data:s,opts:o}=t;if(i===void 0)return;let a=(0,Cm._)`${s}${(0,Cm.getProperty)(e)}`;if(r){(0,g9e.checkStrictMode)(t,`default is ignored for: ${a}`);return}let A=(0,Cm._)`${a} === undefined`;o.useDefaults==="empty"&&(A=(0,Cm._)`${A} || ${a} === null || ${a} === ""`),n.if(A,(0,Cm._)`${a} = ${(0,Cm.stringify)(i)}`)}});var Ro=b(ci=>{"use strict";f();Object.defineProperty(ci,"__esModule",{value:!0});ci.validateUnion=ci.validateArray=ci.usePattern=ci.callValidateCode=ci.schemaProperties=ci.allSchemaProperties=ci.noPropertyInData=ci.propertyInData=ci.isOwnProperty=ci.hasPropFunc=ci.reportMissingProp=ci.checkMissingProp=ci.checkReportMissingProp=void 0;var ki=Ct(),sL=Yt(),Uu=fc(),m9e=Yt();function f9e(t,e){let{gen:i,data:n,it:r}=t;i.if(aL(i,n,e,r.opts.ownProperties),()=>{t.setParams({missingProperty:(0,ki._)`${e}`},!0),t.error()})}ci.checkReportMissingProp=f9e;function h9e({gen:t,data:e,it:{opts:i}},n,r){return(0,ki.or)(...n.map(s=>(0,ki.and)(aL(t,e,s,i.ownProperties),(0,ki._)`${r} = ${s}`)))}ci.checkMissingProp=h9e;function C9e(t,e){t.setParams({missingProperty:e},!0),t.error()}ci.reportMissingProp=C9e;function TAe(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,ki._)`Object.prototype.hasOwnProperty`})}ci.hasPropFunc=TAe;function oL(t,e,i){return(0,ki._)`${TAe(t)}.call(${e}, ${i})`}ci.isOwnProperty=oL;function I9e(t,e,i,n){let r=(0,ki._)`${e}${(0,ki.getProperty)(i)} !== undefined`;return n?(0,ki._)`${r} && ${oL(t,e,i)}`:r}ci.propertyInData=I9e;function aL(t,e,i,n){let r=(0,ki._)`${e}${(0,ki.getProperty)(i)} === undefined`;return n?(0,ki.or)(r,(0,ki.not)(oL(t,e,i))):r}ci.noPropertyInData=aL;function MAe(t){return t?Object.keys(t).filter(e=>e!=="__proto__"):[]}ci.allSchemaProperties=MAe;function E9e(t,e){return MAe(e).filter(i=>!(0,sL.alwaysValidSchema)(t,e[i]))}ci.schemaProperties=E9e;function B9e({schemaCode:t,data:e,it:{gen:i,topSchemaRef:n,schemaPath:r,errorPath:s},it:o},a,A,c){let u=c?(0,ki._)`${t}, ${e}, ${n}${r}`:e,l=[[Uu.default.instancePath,(0,ki.strConcat)(Uu.default.instancePath,s)],[Uu.default.parentData,o.parentData],[Uu.default.parentDataProperty,o.parentDataProperty],[Uu.default.rootData,Uu.default.rootData]];o.opts.dynamicRef&&l.push([Uu.default.dynamicAnchors,Uu.default.dynamicAnchors]);let p=(0,ki._)`${u}, ${i.object(...l)}`;return A!==ki.nil?(0,ki._)`${a}.call(${A}, ${p})`:(0,ki._)`${a}(${p})`}ci.callValidateCode=B9e;var Q9e=(0,ki._)`new RegExp`;function y9e({gen:t,it:{opts:e}},i){let n=e.unicodeRegExp?"u":"",{regExp:r}=e.code,s=r(i,n);return t.scopeValue("pattern",{key:s.toString(),ref:s,code:(0,ki._)`${r.code==="new RegExp"?Q9e:(0,m9e.useFunc)(t,r)}(${i}, ${n})`})}ci.usePattern=y9e;function D9e(t){let{gen:e,data:i,keyword:n,it:r}=t,s=e.name("valid");if(r.allErrors){let a=e.let("valid",!0);return o(()=>e.assign(a,!1)),a}return e.var(s,!0),o(()=>e.break()),s;function o(a){let A=e.const("len",(0,ki._)`${i}.length`);e.forRange("i",0,A,c=>{t.subschema({keyword:n,dataProp:c,dataPropType:sL.Type.Num},s),e.if((0,ki.not)(s),a)})}}ci.validateArray=D9e;function x9e(t){let{gen:e,schema:i,keyword:n,it:r}=t;if(!Array.isArray(i))throw new Error("ajv implementation error");if(i.some(A=>(0,sL.alwaysValidSchema)(r,A))&&!r.opts.unevaluated)return;let o=e.let("valid",!1),a=e.name("_valid");e.block(()=>i.forEach((A,c)=>{let u=t.subschema({keyword:n,schemaProp:c,compositeRule:!0},a);e.assign(o,(0,ki._)`${o} || ${a}`),t.mergeValidEvaluated(u,a)||e.if((0,ki.not)(o))})),t.result(o,()=>t.reset(),()=>t.error(!0))}ci.validateUnion=x9e});var LAe=b(hA=>{"use strict";f();Object.defineProperty(hA,"__esModule",{value:!0});hA.validateKeywordUsage=hA.validSchemaType=hA.funcKeywordCode=hA.macroKeywordCode=void 0;var as=Ct(),Qp=fc(),v9e=Ro(),w9e=vI();function b9e(t,e){let{gen:i,keyword:n,schema:r,parentSchema:s,it:o}=t,a=e.macro.call(o.self,r,s,o),A=_Ae(i,n,a);o.opts.validateSchema!==!1&&o.self.validateSchema(a,!0);let c=i.name("valid");t.subschema({schema:a,schemaPath:as.nil,errSchemaPath:`${o.errSchemaPath}/${n}`,topSchemaRef:A,compositeRule:!0},c),t.pass(c,()=>t.error(!0))}hA.macroKeywordCode=b9e;function S9e(t,e){var i;let{gen:n,keyword:r,schema:s,parentSchema:o,$data:a,it:A}=t;k9e(A,e);let c=!a&&e.compile?e.compile.call(A.self,s,o,A):e.validate,u=_Ae(n,r,c),l=n.let("valid");t.block$data(l,p),t.ok((i=e.valid)!==null&&i!==void 0?i:l);function p(){if(e.errors===!1)m(),e.modifying&&PAe(t),h(()=>t.error());else{let C=e.async?g():d();e.modifying&&PAe(t),h(()=>F9e(t,C))}}function g(){let C=n.let("ruleErrs",null);return n.try(()=>m((0,as._)`await `),I=>n.assign(l,!1).if((0,as._)`${I} instanceof ${A.ValidationError}`,()=>n.assign(C,(0,as._)`${I}.errors`),()=>n.throw(I))),C}function d(){let C=(0,as._)`${u}.errors`;return n.assign(C,null),m(as.nil),C}function m(C=e.async?(0,as._)`await `:as.nil){let I=A.opts.passContext?Qp.default.this:Qp.default.self,B=!("compile"in e&&!a||e.schema===!1);n.assign(l,(0,as._)`${C}${(0,v9e.callValidateCode)(t,u,I,B)}`,e.modifying)}function h(C){var I;n.if((0,as.not)((I=e.valid)!==null&&I!==void 0?I:l),C)}}hA.funcKeywordCode=S9e;function PAe(t){let{gen:e,data:i,it:n}=t;e.if(n.parentData,()=>e.assign(i,(0,as._)`${n.parentData}[${n.parentDataProperty}]`))}function F9e(t,e){let{gen:i}=t;i.if((0,as._)`Array.isArray(${e})`,()=>{i.assign(Qp.default.vErrors,(0,as._)`${Qp.default.vErrors} === null ? ${e} : ${Qp.default.vErrors}.concat(${e})`).assign(Qp.default.errors,(0,as._)`${Qp.default.vErrors}.length`),(0,w9e.extendErrors)(t)},()=>t.error())}function k9e({schemaEnv:t},e){if(e.async&&!t.$async)throw new Error("async keyword in sync schema")}function _Ae(t,e,i){if(i===void 0)throw new Error(`keyword "${e}" failed to compile`);return t.scopeValue("keyword",typeof i=="function"?{ref:i}:{ref:i,code:(0,as.stringify)(i)})}function R9e(t,e,i=!1){return!e.length||e.some(n=>n==="array"?Array.isArray(t):n==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==n||i&&typeof t>"u")}hA.validSchemaType=R9e;function N9e({schema:t,opts:e,self:i,errSchemaPath:n},r,s){if(Array.isArray(r.keyword)?!r.keyword.includes(s):r.keyword!==s)throw new Error("ajv implementation error");let o=r.dependencies;if(o?.some(a=>!Object.prototype.hasOwnProperty.call(t,a)))throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`);if(r.validateSchema&&!r.validateSchema(t[s])){let A=`keyword "${s}" value is invalid at path "${n}": `+i.errorsText(r.validateSchema.errors);if(e.validateSchema==="log")i.logger.error(A);else throw new Error(A)}}hA.validateKeywordUsage=N9e});var GAe=b(Gu=>{"use strict";f();Object.defineProperty(Gu,"__esModule",{value:!0});Gu.extendSubschemaMode=Gu.extendSubschemaData=Gu.getSubschema=void 0;var CA=Ct(),UAe=Yt();function T9e(t,{keyword:e,schemaProp:i,schema:n,schemaPath:r,errSchemaPath:s,topSchemaRef:o}){if(e!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(e!==void 0){let a=t.schema[e];return i===void 0?{schema:a,schemaPath:(0,CA._)`${t.schemaPath}${(0,CA.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${e}`}:{schema:a[i],schemaPath:(0,CA._)`${t.schemaPath}${(0,CA.getProperty)(e)}${(0,CA.getProperty)(i)}`,errSchemaPath:`${t.errSchemaPath}/${e}/${(0,UAe.escapeFragment)(i)}`}}if(n!==void 0){if(r===void 0||s===void 0||o===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:r,topSchemaRef:o,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')}Gu.getSubschema=T9e;function M9e(t,e,{dataProp:i,dataPropType:n,data:r,dataTypes:s,propertyName:o}){if(r!==void 0&&i!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:a}=e;if(i!==void 0){let{errorPath:c,dataPathArr:u,opts:l}=e,p=a.let("data",(0,CA._)`${e.data}${(0,CA.getProperty)(i)}`,!0);A(p),t.errorPath=(0,CA.str)`${c}${(0,UAe.getErrorPath)(i,n,l.jsPropertySyntax)}`,t.parentDataProperty=(0,CA._)`${i}`,t.dataPathArr=[...u,t.parentDataProperty]}if(r!==void 0){let c=r instanceof CA.Name?r:a.let("data",r,!0);A(c),o!==void 0&&(t.propertyName=o)}s&&(t.dataTypes=s);function A(c){t.data=c,t.dataLevel=e.dataLevel+1,t.dataTypes=[],e.definedProperties=new Set,t.parentData=e.data,t.dataNames=[...e.dataNames,c]}}Gu.extendSubschemaData=M9e;function P9e(t,{jtdDiscriminator:e,jtdMetadata:i,compositeRule:n,createErrors:r,allErrors:s}){n!==void 0&&(t.compositeRule=n),r!==void 0&&(t.createErrors=r),s!==void 0&&(t.allErrors=s),t.jtdDiscriminator=e,t.jtdMetadata=i}Gu.extendSubschemaMode=P9e});var AL=b((l3t,OAe)=>{"use strict";f();OAe.exports=function t(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var n,r,s;if(Array.isArray(e)){if(n=e.length,n!=i.length)return!1;for(r=n;r--!==0;)if(!t(e[r],i[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(i).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,s[r]))return!1;for(r=n;r--!==0;){var o=s[r];if(!t(e[o],i[o]))return!1}return!0}return e!==e&&i!==i}});var HAe=b((g3t,KAe)=>{"use strict";f();var Ou=KAe.exports=function(t,e,i){typeof e=="function"&&(i=e,e={}),i=e.cb||i;var n=typeof i=="function"?i:i.pre||function(){},r=i.post||function(){};Nx(e,n,r,t,"",t)};Ou.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Ou.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Ou.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Ou.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Nx(t,e,i,n,r,s,o,a,A,c){if(n&&typeof n=="object"&&!Array.isArray(n)){e(n,r,s,o,a,A,c);for(var u in n){var l=n[u];if(Array.isArray(l)){if(u in Ou.arrayKeywords)for(var p=0;p<l.length;p++)Nx(t,e,i,l[p],r+"/"+u+"/"+p,s,r,u,n,p)}else if(u in Ou.propsKeywords){if(l&&typeof l=="object")for(var g in l)Nx(t,e,i,l[g],r+"/"+u+"/"+_9e(g),s,r,u,n,g)}else(u in Ou.keywords||t.allKeys&&!(u in Ou.skipKeywords))&&Nx(t,e,i,l,r+"/"+u,s,r,u,n)}i(n,r,s,o,a,A,c)}}function _9e(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var bI=b(ks=>{"use strict";f();Object.defineProperty(ks,"__esModule",{value:!0});ks.getSchemaRefs=ks.resolveUrl=ks.normalizeId=ks._getFullPath=ks.getFullPath=ks.inlineRef=void 0;var L9e=Yt(),U9e=AL(),G9e=HAe(),O9e=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function K9e(t,e=!0){return typeof t=="boolean"?!0:e===!0?!cL(t):e?JAe(t)<=e:!1}ks.inlineRef=K9e;var H9e=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function cL(t){for(let e in t){if(H9e.has(e))return!0;let i=t[e];if(Array.isArray(i)&&i.some(cL)||typeof i=="object"&&cL(i))return!0}return!1}function JAe(t){let e=0;for(let i in t){if(i==="$ref")return 1/0;if(e++,!O9e.has(i)&&(typeof t[i]=="object"&&(0,L9e.eachItem)(t[i],n=>e+=JAe(n)),e===1/0))return 1/0}return e}function jAe(t,e="",i){i!==!1&&(e=Im(e));let n=t.parse(e);return YAe(t,n)}ks.getFullPath=jAe;function YAe(t,e){return t.serialize(e).split("#")[0]+"#"}ks._getFullPath=YAe;var J9e=/#\/?$/;function Im(t){return t?t.replace(J9e,""):""}ks.normalizeId=Im;function j9e(t,e,i){return i=Im(i),t.resolve(e,i)}ks.resolveUrl=j9e;var Y9e=/^[a-z_][-a-z0-9._]*$/i;function $9e(t,e){if(typeof t=="boolean")return{};let{schemaId:i,uriResolver:n}=this.opts,r=Im(t[i]||e),s={"":r},o=jAe(n,r,!1),a={},A=new Set;return G9e(t,{allKeys:!0},(l,p,g,d)=>{if(d===void 0)return;let m=o+p,h=s[d];typeof l[i]=="string"&&(h=C.call(this,l[i])),I.call(this,l.$anchor),I.call(this,l.$dynamicAnchor),s[p]=h;function C(B){let E=this.opts.uriResolver.resolve;if(B=Im(h?E(h,B):B),A.has(B))throw u(B);A.add(B);let Q=this.refs[B];return typeof Q=="string"&&(Q=this.refs[Q]),typeof Q=="object"?c(l,Q.schema,B):B!==Im(m)&&(B[0]==="#"?(c(l,a[B],B),a[B]=l):this.refs[B]=m),B}function I(B){if(typeof B=="string"){if(!Y9e.test(B))throw new Error(`invalid anchor "${B}"`);C.call(this,`#${B}`)}}}),a;function c(l,p,g){if(p!==void 0&&!U9e(l,p))throw u(g)}function u(l){return new Error(`reference "${l}" resolves to more than one schema`)}}ks.getSchemaRefs=$9e});var kI=b(Ku=>{"use strict";f();Object.defineProperty(Ku,"__esModule",{value:!0});Ku.getData=Ku.KeywordCxt=Ku.validateFunctionCode=void 0;var WAe=vAe(),$Ae=wI(),lL=tL(),Tx=wI(),q9e=NAe(),FI=LAe(),uL=GAe(),je=Ct(),ot=fc(),z9e=bI(),hc=Yt(),SI=vI();function V9e(t){if(ece(t)&&(tce(t),XAe(t))){X9e(t);return}ZAe(t,()=>(0,WAe.topBoolOrEmptySchema)(t))}Ku.validateFunctionCode=V9e;function ZAe({gen:t,validateName:e,schema:i,schemaEnv:n,opts:r},s){r.code.es5?t.func(e,(0,je._)`${ot.default.data}, ${ot.default.valCxt}`,n.$async,()=>{t.code((0,je._)`"use strict"; ${qAe(i,r)}`),Z9e(t,r),t.code(s)}):t.func(e,(0,je._)`${ot.default.data}, ${W9e(r)}`,n.$async,()=>t.code(qAe(i,r)).code(s))}function W9e(t){return(0,je._)`{${ot.default.instancePath}="", ${ot.default.parentData}, ${ot.default.parentDataProperty}, ${ot.default.rootData}=${ot.default.data}${t.dynamicRef?(0,je._)`, ${ot.default.dynamicAnchors}={}`:je.nil}}={}`}function Z9e(t,e){t.if(ot.default.valCxt,()=>{t.var(ot.default.instancePath,(0,je._)`${ot.default.valCxt}.${ot.default.instancePath}`),t.var(ot.default.parentData,(0,je._)`${ot.default.valCxt}.${ot.default.parentData}`),t.var(ot.default.parentDataProperty,(0,je._)`${ot.default.valCxt}.${ot.default.parentDataProperty}`),t.var(ot.default.rootData,(0,je._)`${ot.default.valCxt}.${ot.default.rootData}`),e.dynamicRef&&t.var(ot.default.dynamicAnchors,(0,je._)`${ot.default.valCxt}.${ot.default.dynamicAnchors}`)},()=>{t.var(ot.default.instancePath,(0,je._)`""`),t.var(ot.default.parentData,(0,je._)`undefined`),t.var(ot.default.parentDataProperty,(0,je._)`undefined`),t.var(ot.default.rootData,ot.default.data),e.dynamicRef&&t.var(ot.default.dynamicAnchors,(0,je._)`{}`)})}function X9e(t){let{schema:e,opts:i,gen:n}=t;ZAe(t,()=>{i.$comment&&e.$comment&&nce(t),rYe(t),n.let(ot.default.vErrors,null),n.let(ot.default.errors,0),i.unevaluated&&eYe(t),ice(t),aYe(t)})}function eYe(t){let{gen:e,validateName:i}=t;t.evaluated=e.const("evaluated",(0,je._)`${i}.evaluated`),e.if((0,je._)`${t.evaluated}.dynamicProps`,()=>e.assign((0,je._)`${t.evaluated}.props`,(0,je._)`undefined`)),e.if((0,je._)`${t.evaluated}.dynamicItems`,()=>e.assign((0,je._)`${t.evaluated}.items`,(0,je._)`undefined`))}function qAe(t,e){let i=typeof t=="object"&&t[e.schemaId];return i&&(e.code.source||e.code.process)?(0,je._)`/*# sourceURL=${i} */`:je.nil}function tYe(t,e){if(ece(t)&&(tce(t),XAe(t))){iYe(t,e);return}(0,WAe.boolOrEmptySchema)(t,e)}function XAe({schema:t,self:e}){if(typeof t=="boolean")return!t;for(let i in t)if(e.RULES.all[i])return!0;return!1}function ece(t){return typeof t.schema!="boolean"}function iYe(t,e){let{schema:i,gen:n,opts:r}=t;r.$comment&&i.$comment&&nce(t),sYe(t),oYe(t);let s=n.const("_errs",ot.default.errors);ice(t,s),n.var(e,(0,je._)`${s} === ${ot.default.errors}`)}function tce(t){(0,hc.checkUnknownRules)(t),nYe(t)}function ice(t,e){if(t.opts.jtd)return zAe(t,[],!1,e);let i=(0,$Ae.getSchemaTypes)(t.schema),n=(0,$Ae.coerceAndCheckDataType)(t,i);zAe(t,i,!n,e)}function nYe(t){let{schema:e,errSchemaPath:i,opts:n,self:r}=t;e.$ref&&n.ignoreKeywordsWithRef&&(0,hc.schemaHasRulesButRef)(e,r.RULES)&&r.logger.warn(`$ref: keywords ignored in schema at path "${i}"`)}function rYe(t){let{schema:e,opts:i}=t;e.default!==void 0&&i.useDefaults&&i.strictSchema&&(0,hc.checkStrictMode)(t,"default is ignored in the schema root")}function sYe(t){let e=t.schema[t.opts.schemaId];e&&(t.baseId=(0,z9e.resolveUrl)(t.opts.uriResolver,t.baseId,e))}function oYe(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function nce({gen:t,schemaEnv:e,schema:i,errSchemaPath:n,opts:r}){let s=i.$comment;if(r.$comment===!0)t.code((0,je._)`${ot.default.self}.logger.log(${s})`);else if(typeof r.$comment=="function"){let o=(0,je.str)`${n}/$comment`,a=t.scopeValue("root",{ref:e.root});t.code((0,je._)`${ot.default.self}.opts.$comment(${s}, ${o}, ${a}.schema)`)}}function aYe(t){let{gen:e,schemaEnv:i,validateName:n,ValidationError:r,opts:s}=t;i.$async?e.if((0,je._)`${ot.default.errors} === 0`,()=>e.return(ot.default.data),()=>e.throw((0,je._)`new ${r}(${ot.default.vErrors})`)):(e.assign((0,je._)`${n}.errors`,ot.default.vErrors),s.unevaluated&&AYe(t),e.return((0,je._)`${ot.default.errors} === 0`))}function AYe({gen:t,evaluated:e,props:i,items:n}){i instanceof je.Name&&t.assign((0,je._)`${e}.props`,i),n instanceof je.Name&&t.assign((0,je._)`${e}.items`,n)}function zAe(t,e,i,n){let{gen:r,schema:s,data:o,allErrors:a,opts:A,self:c}=t,{RULES:u}=c;if(s.$ref&&(A.ignoreKeywordsWithRef||!(0,hc.schemaHasRulesButRef)(s,u))){r.block(()=>sce(t,"$ref",u.all.$ref.definition));return}A.jtd||cYe(t,e),r.block(()=>{for(let p of u.rules)l(p);l(u.post)});function l(p){(0,lL.shouldUseGroup)(s,p)&&(p.type?(r.if((0,Tx.checkDataType)(p.type,o,A.strictNumbers)),VAe(t,p),e.length===1&&e[0]===p.type&&i&&(r.else(),(0,Tx.reportTypeError)(t)),r.endIf()):VAe(t,p),a||r.if((0,je._)`${ot.default.errors} === ${n||0}`))}}function VAe(t,e){let{gen:i,schema:n,opts:{useDefaults:r}}=t;r&&(0,q9e.assignDefaults)(t,e.type),i.block(()=>{for(let s of e.rules)(0,lL.shouldUseRule)(n,s)&&sce(t,s.keyword,s.definition,e.type)})}function cYe(t,e){t.schemaEnv.meta||!t.opts.strictTypes||(uYe(t,e),t.opts.allowUnionTypes||lYe(t,e),pYe(t,t.dataTypes))}function uYe(t,e){if(e.length){if(!t.dataTypes.length){t.dataTypes=e;return}e.forEach(i=>{rce(t.dataTypes,i)||pL(t,`type "${i}" not allowed by context "${t.dataTypes.join(",")}"`)}),dYe(t,e)}}function lYe(t,e){e.length>1&&!(e.length===2&&e.includes("null"))&&pL(t,"use allowUnionTypes to allow union type keyword")}function pYe(t,e){let i=t.self.RULES.all;for(let n in i){let r=i[n];if(typeof r=="object"&&(0,lL.shouldUseRule)(t.schema,r)){let{type:s}=r.definition;s.length&&!s.some(o=>gYe(e,o))&&pL(t,`missing type "${s.join(",")}" for keyword "${n}"`)}}}function gYe(t,e){return t.includes(e)||e==="number"&&t.includes("integer")}function rce(t,e){return t.includes(e)||e==="integer"&&t.includes("number")}function dYe(t,e){let i=[];for(let n of t.dataTypes)rce(e,n)?i.push(n):e.includes("integer")&&n==="number"&&i.push("integer");t.dataTypes=i}function pL(t,e){let i=t.schemaEnv.baseId+t.errSchemaPath;e+=` at "${i}" (strictTypes)`,(0,hc.checkStrictMode)(t,e,t.opts.strictTypes)}var Mx=class{constructor(e,i,n){if((0,FI.validateKeywordUsage)(e,i,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=i.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,hc.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=i.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=i,this.$data)this.schemaCode=e.gen.const("vSchema",oce(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,FI.validSchemaType)(this.schema,i.schemaType,i.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(i.schemaType)}`);("code"in i?i.trackErrors:i.errors!==!1)&&(this.errsCount=e.gen.const("_errs",ot.default.errors))}result(e,i,n){this.failResult((0,je.not)(e),i,n)}failResult(e,i,n){this.gen.if(e),n?n():this.error(),i?(this.gen.else(),i(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,i){this.failResult((0,je.not)(e),void 0,i)}fail(e){if(e===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:i}=this;this.fail((0,je._)`${i} !== undefined && (${(0,je.or)(this.invalid$data(),e)})`)}error(e,i,n){if(i){this.setParams(i),this._error(e,n),this.setParams({});return}this._error(e,n)}_error(e,i){(e?SI.reportExtraError:SI.reportError)(this,this.def.error,i)}$dataError(){(0,SI.reportError)(this,this.def.$dataError||SI.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,SI.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,i){i?Object.assign(this.params,e):this.params=e}block$data(e,i,n=je.nil){this.gen.block(()=>{this.check$data(e,n),i()})}check$data(e=je.nil,i=je.nil){if(!this.$data)return;let{gen:n,schemaCode:r,schemaType:s,def:o}=this;n.if((0,je.or)((0,je._)`${r} === undefined`,i)),e!==je.nil&&n.assign(e,!0),(s.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==je.nil&&n.assign(e,!1)),n.else()}invalid$data(){let{gen:e,schemaCode:i,schemaType:n,def:r,it:s}=this;return(0,je.or)(o(),a());function o(){if(n.length){if(!(i instanceof je.Name))throw new Error("ajv implementation error");let A=Array.isArray(n)?n:[n];return(0,je._)`${(0,Tx.checkDataTypes)(A,i,s.opts.strictNumbers,Tx.DataType.Wrong)}`}return je.nil}function a(){if(r.validateSchema){let A=e.scopeValue("validate$data",{ref:r.validateSchema});return(0,je._)`!${A}(${i})`}return je.nil}}subschema(e,i){let n=(0,uL.getSubschema)(this.it,e);(0,uL.extendSubschemaData)(n,this.it,e),(0,uL.extendSubschemaMode)(n,e);let r={...this.it,...n,items:void 0,props:void 0};return tYe(r,i),r}mergeEvaluated(e,i){let{it:n,gen:r}=this;n.opts.unevaluated&&(n.props!==!0&&e.props!==void 0&&(n.props=hc.mergeEvaluated.props(r,e.props,n.props,i)),n.items!==!0&&e.items!==void 0&&(n.items=hc.mergeEvaluated.items(r,e.items,n.items,i)))}mergeValidEvaluated(e,i){let{it:n,gen:r}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return r.if(i,()=>this.mergeEvaluated(e,je.Name)),!0}};Ku.KeywordCxt=Mx;function sce(t,e,i,n){let r=new Mx(t,i,e);"code"in i?i.code(r,n):r.$data&&i.validate?(0,FI.funcKeywordCode)(r,i):"macro"in i?(0,FI.macroKeywordCode)(r,i):(i.compile||i.validate)&&(0,FI.funcKeywordCode)(r,i)}var mYe=/^\/(?:[^~]|~0|~1)*$/,fYe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function oce(t,{dataLevel:e,dataNames:i,dataPathArr:n}){let r,s;if(t==="")return ot.default.rootData;if(t[0]==="/"){if(!mYe.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);r=t,s=ot.default.rootData}else{let c=fYe.exec(t);if(!c)throw new Error(`Invalid JSON-pointer: ${t}`);let u=+c[1];if(r=c[2],r==="#"){if(u>=e)throw new Error(A("property/index",u));return n[e-u]}if(u>e)throw new Error(A("data",u));if(s=i[e-u],!r)return s}let o=s,a=r.split("/");for(let c of a)c&&(s=(0,je._)`${s}${(0,je.getProperty)((0,hc.unescapeJsonPointer)(c))}`,o=(0,je._)`${o} && ${s}`);return o;function A(c,u){return`Cannot access ${c} ${u} levels up, current level is ${e}`}}Ku.getData=oce});var Px=b(dL=>{"use strict";f();Object.defineProperty(dL,"__esModule",{value:!0});var gL=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}};dL.default=gL});var RI=b(hL=>{"use strict";f();Object.defineProperty(hL,"__esModule",{value:!0});var mL=bI(),fL=class extends Error{constructor(e,i,n,r){super(r||`can't resolve reference ${n} from id ${i}`),this.missingRef=(0,mL.resolveUrl)(e,i,n),this.missingSchema=(0,mL.normalizeId)((0,mL.getFullPath)(e,this.missingRef))}};hL.default=fL});var Lx=b(No=>{"use strict";f();Object.defineProperty(No,"__esModule",{value:!0});No.resolveSchema=No.getCompilingSchema=No.resolveRef=No.compileSchema=No.SchemaEnv=void 0;var Da=Ct(),hYe=Px(),yp=fc(),xa=bI(),ace=Yt(),CYe=kI(),Em=class{constructor(e){var i;this.refs={},this.dynamicAnchors={};let n;typeof e.schema=="object"&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=(i=e.baseId)!==null&&i!==void 0?i:(0,xa.normalizeId)(n?.[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=n?.$async,this.refs={}}};No.SchemaEnv=Em;function IL(t){let e=Ace.call(this,t);if(e)return e;let i=(0,xa.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:n,lines:r}=this.opts.code,{ownProperties:s}=this.opts,o=new Da.CodeGen(this.scope,{es5:n,lines:r,ownProperties:s}),a;t.$async&&(a=o.scopeValue("Error",{ref:hYe.default,code:(0,Da._)`require("ajv/dist/runtime/validation_error").default`}));let A=o.scopeName("validate");t.validateName=A;let c={gen:o,allErrors:this.opts.allErrors,data:yp.default.data,parentData:yp.default.parentData,parentDataProperty:yp.default.parentDataProperty,dataNames:[yp.default.data],dataPathArr:[Da.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:o.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,Da.stringify)(t.schema)}:{ref:t.schema}),validateName:A,ValidationError:a,schema:t.schema,schemaEnv:t,rootId:i,baseId:t.baseId||i,schemaPath:Da.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Da._)`""`,opts:this.opts,self:this},u;try{this._compilations.add(t),(0,CYe.validateFunctionCode)(c),o.optimize(this.opts.code.optimize);let l=o.toString();u=`${o.scopeRefs(yp.default.scope)}return ${l}`,this.opts.code.process&&(u=this.opts.code.process(u,t));let g=new Function(`${yp.default.self}`,`${yp.default.scope}`,u)(this,this.scope.get());if(this.scope.value(A,{ref:g}),g.errors=null,g.schema=t.schema,g.schemaEnv=t,t.$async&&(g.$async=!0),this.opts.code.source===!0&&(g.source={validateName:A,validateCode:l,scopeValues:o._values}),this.opts.unevaluated){let{props:d,items:m}=c;g.evaluated={props:d instanceof Da.Name?void 0:d,items:m instanceof Da.Name?void 0:m,dynamicProps:d instanceof Da.Name,dynamicItems:m instanceof Da.Name},g.source&&(g.source.evaluated=(0,Da.stringify)(g.evaluated))}return t.validate=g,t}catch(l){throw delete t.validate,delete t.validateName,u&&this.logger.error("Error compiling schema, function code:",u),l}finally{this._compilations.delete(t)}}No.compileSchema=IL;function IYe(t,e,i){var n;i=(0,xa.resolveUrl)(this.opts.uriResolver,e,i);let r=t.refs[i];if(r)return r;let s=QYe.call(this,t,i);if(s===void 0){let o=(n=t.localRefs)===null||n===void 0?void 0:n[i],{schemaId:a}=this.opts;o&&(s=new Em({schema:o,schemaId:a,root:t,baseId:e}))}if(s!==void 0)return t.refs[i]=EYe.call(this,s)}No.resolveRef=IYe;function EYe(t){return(0,xa.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:IL.call(this,t)}function Ace(t){for(let e of this._compilations)if(BYe(e,t))return e}No.getCompilingSchema=Ace;function BYe(t,e){return t.schema===e.schema&&t.root===e.root&&t.baseId===e.baseId}function QYe(t,e){let i;for(;typeof(i=this.refs[e])=="string";)e=i;return i||this.schemas[e]||_x.call(this,t,e)}function _x(t,e){let i=this.opts.uriResolver.parse(e),n=(0,xa._getFullPath)(this.opts.uriResolver,i),r=(0,xa.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&n===r)return CL.call(this,i,t);let s=(0,xa.normalizeId)(n),o=this.refs[s]||this.schemas[s];if(typeof o=="string"){let a=_x.call(this,t,o);return typeof a?.schema!="object"?void 0:CL.call(this,i,a)}if(typeof o?.schema=="object"){if(o.validate||IL.call(this,o),s===(0,xa.normalizeId)(e)){let{schema:a}=o,{schemaId:A}=this.opts,c=a[A];return c&&(r=(0,xa.resolveUrl)(this.opts.uriResolver,r,c)),new Em({schema:a,schemaId:A,root:t,baseId:r})}return CL.call(this,i,o)}}No.resolveSchema=_x;var yYe=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function CL(t,{baseId:e,schema:i,root:n}){var r;if(((r=t.fragment)===null||r===void 0?void 0:r[0])!=="/")return;for(let a of t.fragment.slice(1).split("/")){if(typeof i=="boolean")return;let A=i[(0,ace.unescapeFragment)(a)];if(A===void 0)return;i=A;let c=typeof i=="object"&&i[this.opts.schemaId];!yYe.has(a)&&c&&(e=(0,xa.resolveUrl)(this.opts.uriResolver,e,c))}let s;if(typeof i!="boolean"&&i.$ref&&!(0,ace.schemaHasRulesButRef)(i,this.RULES)){let a=(0,xa.resolveUrl)(this.opts.uriResolver,e,i.$ref);s=_x.call(this,n,a)}let{schemaId:o}=this.opts;if(s=s||new Em({schema:i,schemaId:o,root:n,baseId:e}),s.schema!==s.root.schema)return s}});var cce=b((x3t,DYe)=>{DYe.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var lce=b((v3t,uce)=>{"use strict";f();var xYe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};uce.exports={HEX:xYe}});var Ice=b((b3t,Cce)=>{"use strict";f();var{HEX:vYe}=lce(),wYe=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function mce(t){if(hce(t,".")<3)return{host:t,isIPV4:!1};let e=t.match(wYe)||[],[i]=e;return i?{host:SYe(i,"."),isIPV4:!0}:{host:t,isIPV4:!1}}function EL(t,e=!1){let i="",n=!0;for(let r of t){if(vYe[r]===void 0)return;r!=="0"&&n===!0&&(n=!1),n||(i+=r)}return e&&i.length===0&&(i="0"),i}function bYe(t){let e=0,i={error:!1,address:"",zone:""},n=[],r=[],s=!1,o=!1,a=!1;function A(){if(r.length){if(s===!1){let c=EL(r);if(c!==void 0)n.push(c);else return i.error=!0,!1}r.length=0}return!0}for(let c=0;c<t.length;c++){let u=t[c];if(!(u==="["||u==="]"))if(u===":"){if(o===!0&&(a=!0),!A())break;if(e++,n.push(":"),e>7){i.error=!0;break}c-1>=0&&t[c-1]===":"&&(o=!0);continue}else if(u==="%"){if(!A())break;s=!0}else{r.push(u);continue}}return r.length&&(s?i.zone=r.join(""):a?n.push(r.join("")):n.push(EL(r))),i.address=n.join(""),i}function fce(t){if(hce(t,":")<2)return{host:t,isIPV6:!1};let e=bYe(t);if(e.error)return{host:t,isIPV6:!1};{let i=e.address,n=e.address;return e.zone&&(i+="%"+e.zone,n+="%25"+e.zone),{host:i,escapedHost:n,isIPV6:!0}}}function SYe(t,e){let i="",n=!0,r=t.length;for(let s=0;s<r;s++){let o=t[s];o==="0"&&n?(s+1<=r&&t[s+1]===e||s+1===r)&&(i+=o,n=!1):(o===e?n=!0:n=!1,i+=o)}return i}function hce(t,e){let i=0;for(let n=0;n<t.length;n++)t[n]===e&&i++;return i}var pce=/^\.\.?\//u,gce=/^\/\.(?:\/|$)/u,dce=/^\/\.\.(?:\/|$)/u,FYe=/^\/?(?:.|\n)*?(?=\/|$)/u;function kYe(t){let e=[];for(;t.length;)if(t.match(pce))t=t.replace(pce,"");else if(t.match(gce))t=t.replace(gce,"/");else if(t.match(dce))t=t.replace(dce,"/"),e.pop();else if(t==="."||t==="..")t="";else{let i=t.match(FYe);if(i){let n=i[0];t=t.slice(n.length),e.push(n)}else throw new Error("Unexpected dot segment condition")}return e.join("")}function RYe(t,e){let i=e!==!0?escape:unescape;return t.scheme!==void 0&&(t.scheme=i(t.scheme)),t.userinfo!==void 0&&(t.userinfo=i(t.userinfo)),t.host!==void 0&&(t.host=i(t.host)),t.path!==void 0&&(t.path=i(t.path)),t.query!==void 0&&(t.query=i(t.query)),t.fragment!==void 0&&(t.fragment=i(t.fragment)),t}function NYe(t){let e=[];if(t.userinfo!==void 0&&(e.push(t.userinfo),e.push("@")),t.host!==void 0){let i=unescape(t.host),n=mce(i);if(n.isIPV4)i=n.host;else{let r=fce(n.host);r.isIPV6===!0?i=`[${r.escapedHost}]`:i=t.host}e.push(i)}return(typeof t.port=="number"||typeof t.port=="string")&&(e.push(":"),e.push(String(t.port))),e.length?e.join(""):void 0}Cce.exports={recomposeAuthority:NYe,normalizeComponentEncoding:RYe,removeDotSegments:kYe,normalizeIPv4:mce,normalizeIPv6:fce,stringArrayToHexStripped:EL}});var xce=b((F3t,Dce)=>{"use strict";f();var TYe=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,MYe=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function Ece(t){return typeof t.secure=="boolean"?t.secure:String(t.scheme).toLowerCase()==="wss"}function Bce(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function Qce(t){let e=String(t.scheme).toLowerCase()==="https";return(t.port===(e?443:80)||t.port==="")&&(t.port=void 0),t.path||(t.path="/"),t}function PYe(t){return t.secure=Ece(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function _Ye(t){if((t.port===(Ece(t)?443:80)||t.port==="")&&(t.port=void 0),typeof t.secure=="boolean"&&(t.scheme=t.secure?"wss":"ws",t.secure=void 0),t.resourceName){let[e,i]=t.resourceName.split("?");t.path=e&&e!=="/"?e:void 0,t.query=i,t.resourceName=void 0}return t.fragment=void 0,t}function LYe(t,e){if(!t.path)return t.error="URN can not be parsed",t;let i=t.path.match(MYe);if(i){let n=e.scheme||t.scheme||"urn";t.nid=i[1].toLowerCase(),t.nss=i[2];let r=`${n}:${e.nid||t.nid}`,s=BL[r];t.path=void 0,s&&(t=s.parse(t,e))}else t.error=t.error||"URN can not be parsed.";return t}function UYe(t,e){let i=e.scheme||t.scheme||"urn",n=t.nid.toLowerCase(),r=`${i}:${e.nid||n}`,s=BL[r];s&&(t=s.serialize(t,e));let o=t,a=t.nss;return o.path=`${n||e.nid}:${a}`,e.skipEscape=!0,o}function GYe(t,e){let i=t;return i.uuid=i.nss,i.nss=void 0,!e.tolerant&&(!i.uuid||!TYe.test(i.uuid))&&(i.error=i.error||"UUID is not valid."),i}function OYe(t){let e=t;return e.nss=(t.uuid||"").toLowerCase(),e}var yce={scheme:"http",domainHost:!0,parse:Bce,serialize:Qce},KYe={scheme:"https",domainHost:yce.domainHost,parse:Bce,serialize:Qce},Ux={scheme:"ws",domainHost:!0,parse:PYe,serialize:_Ye},HYe={scheme:"wss",domainHost:Ux.domainHost,parse:Ux.parse,serialize:Ux.serialize},JYe={scheme:"urn",parse:LYe,serialize:UYe,skipNormalize:!0},jYe={scheme:"urn:uuid",parse:GYe,serialize:OYe,skipNormalize:!0},BL={http:yce,https:KYe,ws:Ux,wss:HYe,urn:JYe,"urn:uuid":jYe};Dce.exports=BL});var wce=b((R3t,Ox)=>{"use strict";f();var{normalizeIPv6:YYe,normalizeIPv4:$Ye,removeDotSegments:NI,recomposeAuthority:qYe,normalizeComponentEncoding:Gx}=Ice(),QL=xce();function zYe(t,e){return typeof t=="string"?t=IA(Cc(t,e),e):typeof t=="object"&&(t=Cc(IA(t,e),e)),t}function VYe(t,e,i){let n=Object.assign({scheme:"null"},i),r=vce(Cc(t,n),Cc(e,n),n,!0);return IA(r,{...n,skipEscape:!0})}function vce(t,e,i,n){let r={};return n||(t=Cc(IA(t,i),i),e=Cc(IA(e,i),i)),i=i||{},!i.tolerant&&e.scheme?(r.scheme=e.scheme,r.userinfo=e.userinfo,r.host=e.host,r.port=e.port,r.path=NI(e.path||""),r.query=e.query):(e.userinfo!==void 0||e.host!==void 0||e.port!==void 0?(r.userinfo=e.userinfo,r.host=e.host,r.port=e.port,r.path=NI(e.path||""),r.query=e.query):(e.path?(e.path.charAt(0)==="/"?r.path=NI(e.path):((t.userinfo!==void 0||t.host!==void 0||t.port!==void 0)&&!t.path?r.path="/"+e.path:t.path?r.path=t.path.slice(0,t.path.lastIndexOf("/")+1)+e.path:r.path=e.path,r.path=NI(r.path)),r.query=e.query):(r.path=t.path,e.query!==void 0?r.query=e.query:r.query=t.query),r.userinfo=t.userinfo,r.host=t.host,r.port=t.port),r.scheme=t.scheme),r.fragment=e.fragment,r}function WYe(t,e,i){return typeof t=="string"?(t=unescape(t),t=IA(Gx(Cc(t,i),!0),{...i,skipEscape:!0})):typeof t=="object"&&(t=IA(Gx(t,!0),{...i,skipEscape:!0})),typeof e=="string"?(e=unescape(e),e=IA(Gx(Cc(e,i),!0),{...i,skipEscape:!0})):typeof e=="object"&&(e=IA(Gx(e,!0),{...i,skipEscape:!0})),t.toLowerCase()===e.toLowerCase()}function IA(t,e){let i={host:t.host,scheme:t.scheme,userinfo:t.userinfo,port:t.port,path:t.path,query:t.query,nid:t.nid,nss:t.nss,uuid:t.uuid,fragment:t.fragment,reference:t.reference,resourceName:t.resourceName,secure:t.secure,error:""},n=Object.assign({},e),r=[],s=QL[(n.scheme||i.scheme||"").toLowerCase()];s&&s.serialize&&s.serialize(i,n),i.path!==void 0&&(n.skipEscape?i.path=unescape(i.path):(i.path=escape(i.path),i.scheme!==void 0&&(i.path=i.path.split("%3A").join(":")))),n.reference!=="suffix"&&i.scheme&&r.push(i.scheme,":");let o=qYe(i);if(o!==void 0&&(n.reference!=="suffix"&&r.push("//"),r.push(o),i.path&&i.path.charAt(0)!=="/"&&r.push("/")),i.path!==void 0){let a=i.path;!n.absolutePath&&(!s||!s.absolutePath)&&(a=NI(a)),o===void 0&&(a=a.replace(/^\/\//u,"/%2F")),r.push(a)}return i.query!==void 0&&r.push("?",i.query),i.fragment!==void 0&&r.push("#",i.fragment),r.join("")}var ZYe=Array.from({length:127},(t,e)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(e)));function XYe(t){let e=0;for(let i=0,n=t.length;i<n;++i)if(e=t.charCodeAt(i),e>126||ZYe[e])return!0;return!1}var e5e=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function Cc(t,e){let i=Object.assign({},e),n={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},r=t.indexOf("%")!==-1,s=!1;i.reference==="suffix"&&(t=(i.scheme?i.scheme+":":"")+"//"+t);let o=t.match(e5e);if(o){if(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5]),n.host){let A=$Ye(n.host);if(A.isIPV4===!1){let c=YYe(A.host);n.host=c.host.toLowerCase(),s=c.isIPV6}else n.host=A.host,s=!0}n.scheme===void 0&&n.userinfo===void 0&&n.host===void 0&&n.port===void 0&&n.query===void 0&&!n.path?n.reference="same-document":n.scheme===void 0?n.reference="relative":n.fragment===void 0?n.reference="absolute":n.reference="uri",i.reference&&i.reference!=="suffix"&&i.reference!==n.reference&&(n.error=n.error||"URI is not a "+i.reference+" reference.");let a=QL[(i.scheme||n.scheme||"").toLowerCase()];if(!i.unicodeSupport&&(!a||!a.unicodeSupport)&&n.host&&(i.domainHost||a&&a.domainHost)&&s===!1&&XYe(n.host))try{n.host=URL.domainToASCII(n.host.toLowerCase())}catch(A){n.error=n.error||"Host's domain name can not be converted to ASCII: "+A}(!a||a&&!a.skipNormalize)&&(r&&n.scheme!==void 0&&(n.scheme=unescape(n.scheme)),r&&n.host!==void 0&&(n.host=unescape(n.host)),n.path&&(n.path=escape(unescape(n.path))),n.fragment&&(n.fragment=encodeURI(decodeURIComponent(n.fragment)))),a&&a.parse&&a.parse(n,i)}else n.error=n.error||"URI can not be parsed.";return n}var yL={SCHEMES:QL,normalize:zYe,resolve:VYe,resolveComponents:vce,equal:WYe,serialize:IA,parse:Cc};Ox.exports=yL;Ox.exports.default=yL;Ox.exports.fastUri=yL});var Sce=b(DL=>{"use strict";f();Object.defineProperty(DL,"__esModule",{value:!0});var bce=wce();bce.code='require("ajv/dist/runtime/uri").default';DL.default=bce});var _ce=b(lr=>{"use strict";f();Object.defineProperty(lr,"__esModule",{value:!0});lr.CodeGen=lr.Name=lr.nil=lr.stringify=lr.str=lr._=lr.KeywordCxt=void 0;var t5e=kI();Object.defineProperty(lr,"KeywordCxt",{enumerable:!0,get:function(){return t5e.KeywordCxt}});var Bm=Ct();Object.defineProperty(lr,"_",{enumerable:!0,get:function(){return Bm._}});Object.defineProperty(lr,"str",{enumerable:!0,get:function(){return Bm.str}});Object.defineProperty(lr,"stringify",{enumerable:!0,get:function(){return Bm.stringify}});Object.defineProperty(lr,"nil",{enumerable:!0,get:function(){return Bm.nil}});Object.defineProperty(lr,"Name",{enumerable:!0,get:function(){return Bm.Name}});Object.defineProperty(lr,"CodeGen",{enumerable:!0,get:function(){return Bm.CodeGen}});var i5e=Px(),Tce=RI(),n5e=eL(),TI=Lx(),r5e=Ct(),MI=bI(),Kx=wI(),vL=Yt(),Fce=cce(),s5e=Sce(),Mce=(t,e)=>new RegExp(t,e);Mce.code="new RegExp";var o5e=["removeAdditional","useDefaults","coerceTypes"],a5e=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),A5e={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},c5e={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},kce=200;function u5e(t){var e,i,n,r,s,o,a,A,c,u,l,p,g,d,m,h,C,I,B,E,Q,y,x,v,F;let w=t.strict,R=(e=t.code)===null||e===void 0?void 0:e.optimize,O=R===!0||R===void 0?1:R||0,J=(n=(i=t.code)===null||i===void 0?void 0:i.regExp)!==null&&n!==void 0?n:Mce,j=(r=t.uriResolver)!==null&&r!==void 0?r:s5e.default;return{strictSchema:(o=(s=t.strictSchema)!==null&&s!==void 0?s:w)!==null&&o!==void 0?o:!0,strictNumbers:(A=(a=t.strictNumbers)!==null&&a!==void 0?a:w)!==null&&A!==void 0?A:!0,strictTypes:(u=(c=t.strictTypes)!==null&&c!==void 0?c:w)!==null&&u!==void 0?u:"log",strictTuples:(p=(l=t.strictTuples)!==null&&l!==void 0?l:w)!==null&&p!==void 0?p:"log",strictRequired:(d=(g=t.strictRequired)!==null&&g!==void 0?g:w)!==null&&d!==void 0?d:!1,code:t.code?{...t.code,optimize:O,regExp:J}:{optimize:O,regExp:J},loopRequired:(m=t.loopRequired)!==null&&m!==void 0?m:kce,loopEnum:(h=t.loopEnum)!==null&&h!==void 0?h:kce,meta:(C=t.meta)!==null&&C!==void 0?C:!0,messages:(I=t.messages)!==null&&I!==void 0?I:!0,inlineRefs:(B=t.inlineRefs)!==null&&B!==void 0?B:!0,schemaId:(E=t.schemaId)!==null&&E!==void 0?E:"$id",addUsedSchema:(Q=t.addUsedSchema)!==null&&Q!==void 0?Q:!0,validateSchema:(y=t.validateSchema)!==null&&y!==void 0?y:!0,validateFormats:(x=t.validateFormats)!==null&&x!==void 0?x:!0,unicodeRegExp:(v=t.unicodeRegExp)!==null&&v!==void 0?v:!0,int32range:(F=t.int32range)!==null&&F!==void 0?F:!0,uriResolver:j}}var PI=class{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...u5e(e)};let{es5:i,lines:n}=this.opts.code;this.scope=new r5e.ValueScope({scope:{},prefixes:a5e,es5:i,lines:n}),this.logger=f5e(e.logger);let r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,n5e.getRules)(),Rce.call(this,A5e,e,"NOT SUPPORTED"),Rce.call(this,c5e,e,"DEPRECATED","warn"),this._metaOpts=d5e.call(this),e.formats&&p5e.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&g5e.call(this,e.keywords),typeof e.meta=="object"&&this.addMetaSchema(e.meta),l5e.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:i,schemaId:n}=this.opts,r=Fce;n==="id"&&(r={...Fce},r.id=r.$id,delete r.$id),i&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){let{meta:e,schemaId:i}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[i]||e:void 0}validate(e,i){let n;if(typeof e=="string"){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);let r=n(i);return"$async"in n||(this.errors=n.errors),r}compile(e,i){let n=this._addSchema(e,i);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,i){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return r.call(this,e,i);async function r(u,l){await s.call(this,u.$schema);let p=this._addSchema(u,l);return p.validate||o.call(this,p)}async function s(u){u&&!this.getSchema(u)&&await r.call(this,{$ref:u},!0)}async function o(u){try{return this._compileSchemaEnv(u)}catch(l){if(!(l instanceof Tce.default))throw l;return a.call(this,l),await A.call(this,l.missingSchema),o.call(this,u)}}function a({missingSchema:u,missingRef:l}){if(this.refs[u])throw new Error(`AnySchema ${u} is loaded but ${l} cannot be resolved`)}async function A(u){let l=await c.call(this,u);this.refs[u]||await s.call(this,l.$schema),this.refs[u]||this.addSchema(l,u,i)}async function c(u){let l=this._loading[u];if(l)return l;try{return await(this._loading[u]=n(u))}finally{delete this._loading[u]}}}addSchema(e,i,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(let o of e)this.addSchema(o,void 0,n,r);return this}let s;if(typeof e=="object"){let{schemaId:o}=this.opts;if(s=e[o],s!==void 0&&typeof s!="string")throw new Error(`schema ${o} must be string`)}return i=(0,MI.normalizeId)(i||s),this._checkUnique(i),this.schemas[i]=this._addSchema(e,n,i,r,!0),this}addMetaSchema(e,i,n=this.opts.validateSchema){return this.addSchema(e,i,!0,n),this}validateSchema(e,i){if(typeof e=="boolean")return!0;let n;if(n=e.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let r=this.validate(n,e);if(!r&&i){let s="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(s);else throw new Error(s)}return r}getSchema(e){let i;for(;typeof(i=Nce.call(this,e))=="string";)e=i;if(i===void 0){let{schemaId:n}=this.opts,r=new TI.SchemaEnv({schema:{},schemaId:n});if(i=TI.resolveSchema.call(this,r,e),!i)return;this.refs[e]=i}return i.validate||this._compileSchemaEnv(i)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let i=Nce.call(this,e);return typeof i=="object"&&this._cache.delete(i.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{let i=e;this._cache.delete(i);let n=e[this.opts.schemaId];return n&&(n=(0,MI.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let i of e)this.addKeyword(i);return this}addKeyword(e,i){let n;if(typeof e=="string")n=e,typeof i=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),i.keyword=n);else if(typeof e=="object"&&i===void 0){if(i=e,n=i.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(C5e.call(this,n,i),!i)return(0,vL.eachItem)(n,s=>xL.call(this,s)),this;E5e.call(this,i);let r={...i,type:(0,Kx.getJSONTypes)(i.type),schemaType:(0,Kx.getJSONTypes)(i.schemaType)};return(0,vL.eachItem)(n,r.type.length===0?s=>xL.call(this,s,r):s=>r.type.forEach(o=>xL.call(this,s,r,o))),this}getKeyword(e){let i=this.RULES.all[e];return typeof i=="object"?i.definition:!!i}removeKeyword(e){let{RULES:i}=this;delete i.keywords[e],delete i.all[e];for(let n of i.rules){let r=n.rules.findIndex(s=>s.keyword===e);r>=0&&n.rules.splice(r,1)}return this}addFormat(e,i){return typeof i=="string"&&(i=new RegExp(i)),this.formats[e]=i,this}errorsText(e=this.errors,{separator:i=", ",dataVar:n="data"}={}){return!e||e.length===0?"No errors":e.map(r=>`${n}${r.instancePath} ${r.message}`).reduce((r,s)=>r+i+s)}$dataMetaSchema(e,i){let n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(let r of i){let s=r.split("/").slice(1),o=e;for(let a of s)o=o[a];for(let a in n){let A=n[a];if(typeof A!="object")continue;let{$data:c}=A.definition,u=o[a];c&&u&&(o[a]=Pce(u))}}return e}_removeAllSchemas(e,i){for(let n in e){let r=e[n];(!i||i.test(n))&&(typeof r=="string"?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,i,n,r=this.opts.validateSchema,s=this.opts.addUsedSchema){let o,{schemaId:a}=this.opts;if(typeof e=="object")o=e[a];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let A=this._cache.get(e);if(A!==void 0)return A;n=(0,MI.normalizeId)(o||n);let c=MI.getSchemaRefs.call(this,e,n);return A=new TI.SchemaEnv({schema:e,schemaId:a,meta:i,baseId:n,localRefs:c}),this._cache.set(A.schema,A),s&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=A),r&&this.validateSchema(e,!0),A}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):TI.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let i=this.opts;this.opts=this._metaOpts;try{TI.compileSchema.call(this,e)}finally{this.opts=i}}};PI.ValidationError=i5e.default;PI.MissingRefError=Tce.default;lr.default=PI;function Rce(t,e,i,n="error"){for(let r in t){let s=r;s in e&&this.logger[n](`${i}: option ${r}. ${t[s]}`)}}function Nce(t){return t=(0,MI.normalizeId)(t),this.schemas[t]||this.refs[t]}function l5e(){let t=this.opts.schemas;if(t)if(Array.isArray(t))this.addSchema(t);else for(let e in t)this.addSchema(t[e],e)}function p5e(){for(let t in this.opts.formats){let e=this.opts.formats[t];e&&this.addFormat(t,e)}}function g5e(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let e in t){let i=t[e];i.keyword||(i.keyword=e),this.addKeyword(i)}}function d5e(){let t={...this.opts};for(let e of o5e)delete t[e];return t}var m5e={log(){},warn(){},error(){}};function f5e(t){if(t===!1)return m5e;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var h5e=/^[a-z_$][a-z0-9_$:-]*$/i;function C5e(t,e){let{RULES:i}=this;if((0,vL.eachItem)(t,n=>{if(i.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!h5e.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!e&&e.$data&&!("code"in e||"validate"in e))throw new Error('$data keyword must have "code" or "validate" function')}function xL(t,e,i){var n;let r=e?.post;if(i&&r)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:s}=this,o=r?s.post:s.rules.find(({type:A})=>A===i);if(o||(o={type:i,rules:[]},s.rules.push(o)),s.keywords[t]=!0,!e)return;let a={keyword:t,definition:{...e,type:(0,Kx.getJSONTypes)(e.type),schemaType:(0,Kx.getJSONTypes)(e.schemaType)}};e.before?I5e.call(this,o,a,e.before):o.rules.push(a),s.all[t]=a,(n=e.implements)===null||n===void 0||n.forEach(A=>this.addKeyword(A))}function I5e(t,e,i){let n=t.rules.findIndex(r=>r.keyword===i);n>=0?t.rules.splice(n,0,e):(t.rules.push(e),this.logger.warn(`rule ${i} is not defined`))}function E5e(t){let{metaSchema:e}=t;e!==void 0&&(t.$data&&this.opts.$data&&(e=Pce(e)),t.validateSchema=this.compile(e,!0))}var B5e={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Pce(t){return{anyOf:[t,B5e]}}});var Lce=b(wL=>{"use strict";f();Object.defineProperty(wL,"__esModule",{value:!0});var Q5e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};wL.default=Q5e});var Kce=b(Dp=>{"use strict";f();Object.defineProperty(Dp,"__esModule",{value:!0});Dp.callRef=Dp.getValidate=void 0;var y5e=RI(),Uce=Ro(),Rs=Ct(),Qm=fc(),Gce=Lx(),Hx=Yt(),D5e={keyword:"$ref",schemaType:"string",code(t){let{gen:e,schema:i,it:n}=t,{baseId:r,schemaEnv:s,validateName:o,opts:a,self:A}=n,{root:c}=s;if((i==="#"||i==="#/")&&r===c.baseId)return l();let u=Gce.resolveRef.call(A,c,r,i);if(u===void 0)throw new y5e.default(n.opts.uriResolver,r,i);if(u instanceof Gce.SchemaEnv)return p(u);return g(u);function l(){if(s===c)return Jx(t,o,s,s.$async);let d=e.scopeValue("root",{ref:c});return Jx(t,(0,Rs._)`${d}.validate`,c,c.$async)}function p(d){let m=Oce(t,d);Jx(t,m,d,d.$async)}function g(d){let m=e.scopeValue("schema",a.code.source===!0?{ref:d,code:(0,Rs.stringify)(d)}:{ref:d}),h=e.name("valid"),C=t.subschema({schema:d,dataTypes:[],schemaPath:Rs.nil,topSchemaRef:m,errSchemaPath:i},h);t.mergeEvaluated(C),t.ok(h)}}};function Oce(t,e){let{gen:i}=t;return e.validate?i.scopeValue("validate",{ref:e.validate}):(0,Rs._)`${i.scopeValue("wrapper",{ref:e})}.validate`}Dp.getValidate=Oce;function Jx(t,e,i,n){let{gen:r,it:s}=t,{allErrors:o,schemaEnv:a,opts:A}=s,c=A.passContext?Qm.default.this:Rs.nil;n?u():l();function u(){if(!a.$async)throw new Error("async schema referenced by sync schema");let d=r.let("valid");r.try(()=>{r.code((0,Rs._)`await ${(0,Uce.callValidateCode)(t,e,c)}`),g(e),o||r.assign(d,!0)},m=>{r.if((0,Rs._)`!(${m} instanceof ${s.ValidationError})`,()=>r.throw(m)),p(m),o||r.assign(d,!1)}),t.ok(d)}function l(){t.result((0,Uce.callValidateCode)(t,e,c),()=>g(e),()=>p(e))}function p(d){let m=(0,Rs._)`${d}.errors`;r.assign(Qm.default.vErrors,(0,Rs._)`${Qm.default.vErrors} === null ? ${m} : ${Qm.default.vErrors}.concat(${m})`),r.assign(Qm.default.errors,(0,Rs._)`${Qm.default.vErrors}.length`)}function g(d){var m;if(!s.opts.unevaluated)return;let h=(m=i?.validate)===null||m===void 0?void 0:m.evaluated;if(s.props!==!0)if(h&&!h.dynamicProps)h.props!==void 0&&(s.props=Hx.mergeEvaluated.props(r,h.props,s.props));else{let C=r.var("props",(0,Rs._)`${d}.evaluated.props`);s.props=Hx.mergeEvaluated.props(r,C,s.props,Rs.Name)}if(s.items!==!0)if(h&&!h.dynamicItems)h.items!==void 0&&(s.items=Hx.mergeEvaluated.items(r,h.items,s.items));else{let C=r.var("items",(0,Rs._)`${d}.evaluated.items`);s.items=Hx.mergeEvaluated.items(r,C,s.items,Rs.Name)}}}Dp.callRef=Jx;Dp.default=D5e});var Hce=b(bL=>{"use strict";f();Object.defineProperty(bL,"__esModule",{value:!0});var x5e=Lce(),v5e=Kce(),w5e=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",x5e.default,v5e.default];bL.default=w5e});var Jce=b(SL=>{"use strict";f();Object.defineProperty(SL,"__esModule",{value:!0});var jx=Ct(),Hu=jx.operators,Yx={maximum:{okStr:"<=",ok:Hu.LTE,fail:Hu.GT},minimum:{okStr:">=",ok:Hu.GTE,fail:Hu.LT},exclusiveMaximum:{okStr:"<",ok:Hu.LT,fail:Hu.GTE},exclusiveMinimum:{okStr:">",ok:Hu.GT,fail:Hu.LTE}},b5e={message:({keyword:t,schemaCode:e})=>(0,jx.str)`must be ${Yx[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,jx._)`{comparison: ${Yx[t].okStr}, limit: ${e}}`},S5e={keyword:Object.keys(Yx),type:"number",schemaType:"number",$data:!0,error:b5e,code(t){let{keyword:e,data:i,schemaCode:n}=t;t.fail$data((0,jx._)`${i} ${Yx[e].fail} ${n} || isNaN(${i})`)}};SL.default=S5e});var jce=b(FL=>{"use strict";f();Object.defineProperty(FL,"__esModule",{value:!0});var _I=Ct(),F5e={message:({schemaCode:t})=>(0,_I.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,_I._)`{multipleOf: ${t}}`},k5e={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:F5e,code(t){let{gen:e,data:i,schemaCode:n,it:r}=t,s=r.opts.multipleOfPrecision,o=e.let("res"),a=s?(0,_I._)`Math.abs(Math.round(${o}) - ${o}) > 1e-${s}`:(0,_I._)`${o} !== parseInt(${o})`;t.fail$data((0,_I._)`(${n} === 0 || (${o} = ${i}/${n}, ${a}))`)}};FL.default=k5e});var $ce=b(kL=>{"use strict";f();Object.defineProperty(kL,"__esModule",{value:!0});function Yce(t){let e=t.length,i=0,n=0,r;for(;n<e;)i++,r=t.charCodeAt(n++),r>=55296&&r<=56319&&n<e&&(r=t.charCodeAt(n),(r&64512)===56320&&n++);return i}kL.default=Yce;Yce.code='require("ajv/dist/runtime/ucs2length").default'});var qce=b(RL=>{"use strict";f();Object.defineProperty(RL,"__esModule",{value:!0});var xp=Ct(),R5e=Yt(),N5e=$ce(),T5e={message({keyword:t,schemaCode:e}){let i=t==="maxLength"?"more":"fewer";return(0,xp.str)`must NOT have ${i} than ${e} characters`},params:({schemaCode:t})=>(0,xp._)`{limit: ${t}}`},M5e={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:T5e,code(t){let{keyword:e,data:i,schemaCode:n,it:r}=t,s=e==="maxLength"?xp.operators.GT:xp.operators.LT,o=r.opts.unicode===!1?(0,xp._)`${i}.length`:(0,xp._)`${(0,R5e.useFunc)(t.gen,N5e.default)}(${i})`;t.fail$data((0,xp._)`${o} ${s} ${n}`)}};RL.default=M5e});var zce=b(NL=>{"use strict";f();Object.defineProperty(NL,"__esModule",{value:!0});var P5e=Ro(),$x=Ct(),_5e={message:({schemaCode:t})=>(0,$x.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,$x._)`{pattern: ${t}}`},L5e={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:_5e,code(t){let{data:e,$data:i,schema:n,schemaCode:r,it:s}=t,o=s.opts.unicodeRegExp?"u":"",a=i?(0,$x._)`(new RegExp(${r}, ${o}))`:(0,P5e.usePattern)(t,n);t.fail$data((0,$x._)`!${a}.test(${e})`)}};NL.default=L5e});var Vce=b(TL=>{"use strict";f();Object.defineProperty(TL,"__esModule",{value:!0});var LI=Ct(),U5e={message({keyword:t,schemaCode:e}){let i=t==="maxProperties"?"more":"fewer";return(0,LI.str)`must NOT have ${i} than ${e} properties`},params:({schemaCode:t})=>(0,LI._)`{limit: ${t}}`},G5e={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:U5e,code(t){let{keyword:e,data:i,schemaCode:n}=t,r=e==="maxProperties"?LI.operators.GT:LI.operators.LT;t.fail$data((0,LI._)`Object.keys(${i}).length ${r} ${n}`)}};TL.default=G5e});var Wce=b(ML=>{"use strict";f();Object.defineProperty(ML,"__esModule",{value:!0});var UI=Ro(),GI=Ct(),O5e=Yt(),K5e={message:({params:{missingProperty:t}})=>(0,GI.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,GI._)`{missingProperty: ${t}}`},H5e={keyword:"required",type:"object",schemaType:"array",$data:!0,error:K5e,code(t){let{gen:e,schema:i,schemaCode:n,data:r,$data:s,it:o}=t,{opts:a}=o;if(!s&&i.length===0)return;let A=i.length>=a.loopRequired;if(o.allErrors?c():u(),a.strictRequired){let g=t.parentSchema.properties,{definedProperties:d}=t.it;for(let m of i)if(g?.[m]===void 0&&!d.has(m)){let h=o.schemaEnv.baseId+o.errSchemaPath,C=`required property "${m}" is not defined at "${h}" (strictRequired)`;(0,O5e.checkStrictMode)(o,C,o.opts.strictRequired)}}function c(){if(A||s)t.block$data(GI.nil,l);else for(let g of i)(0,UI.checkReportMissingProp)(t,g)}function u(){let g=e.let("missing");if(A||s){let d=e.let("valid",!0);t.block$data(d,()=>p(g,d)),t.ok(d)}else e.if((0,UI.checkMissingProp)(t,i,g)),(0,UI.reportMissingProp)(t,g),e.else()}function l(){e.forOf("prop",n,g=>{t.setParams({missingProperty:g}),e.if((0,UI.noPropertyInData)(e,r,g,a.ownProperties),()=>t.error())})}function p(g,d){t.setParams({missingProperty:g}),e.forOf(g,n,()=>{e.assign(d,(0,UI.propertyInData)(e,r,g,a.ownProperties)),e.if((0,GI.not)(d),()=>{t.error(),e.break()})},GI.nil)}}};ML.default=H5e});var Zce=b(PL=>{"use strict";f();Object.defineProperty(PL,"__esModule",{value:!0});var OI=Ct(),J5e={message({keyword:t,schemaCode:e}){let i=t==="maxItems"?"more":"fewer";return(0,OI.str)`must NOT have ${i} than ${e} items`},params:({schemaCode:t})=>(0,OI._)`{limit: ${t}}`},j5e={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:J5e,code(t){let{keyword:e,data:i,schemaCode:n}=t,r=e==="maxItems"?OI.operators.GT:OI.operators.LT;t.fail$data((0,OI._)`${i}.length ${r} ${n}`)}};PL.default=j5e});var qx=b(_L=>{"use strict";f();Object.defineProperty(_L,"__esModule",{value:!0});var Xce=AL();Xce.code='require("ajv/dist/runtime/equal").default';_L.default=Xce});var eue=b(UL=>{"use strict";f();Object.defineProperty(UL,"__esModule",{value:!0});var LL=wI(),pr=Ct(),Y5e=Yt(),$5e=qx(),q5e={message:({params:{i:t,j:e}})=>(0,pr.str)`must NOT have duplicate items (items ## ${e} and ${t} are identical)`,params:({params:{i:t,j:e}})=>(0,pr._)`{i: ${t}, j: ${e}}`},z5e={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:q5e,code(t){let{gen:e,data:i,$data:n,schema:r,parentSchema:s,schemaCode:o,it:a}=t;if(!n&&!r)return;let A=e.let("valid"),c=s.items?(0,LL.getSchemaTypes)(s.items):[];t.block$data(A,u,(0,pr._)`${o} === false`),t.ok(A);function u(){let d=e.let("i",(0,pr._)`${i}.length`),m=e.let("j");t.setParams({i:d,j:m}),e.assign(A,!0),e.if((0,pr._)`${d} > 1`,()=>(l()?p:g)(d,m))}function l(){return c.length>0&&!c.some(d=>d==="object"||d==="array")}function p(d,m){let h=e.name("item"),C=(0,LL.checkDataTypes)(c,h,a.opts.strictNumbers,LL.DataType.Wrong),I=e.const("indices",(0,pr._)`{}`);e.for((0,pr._)`;${d}--;`,()=>{e.let(h,(0,pr._)`${i}[${d}]`),e.if(C,(0,pr._)`continue`),c.length>1&&e.if((0,pr._)`typeof ${h} == "string"`,(0,pr._)`${h} += "_"`),e.if((0,pr._)`typeof ${I}[${h}] == "number"`,()=>{e.assign(m,(0,pr._)`${I}[${h}]`),t.error(),e.assign(A,!1).break()}).code((0,pr._)`${I}[${h}] = ${d}`)})}function g(d,m){let h=(0,Y5e.useFunc)(e,$5e.default),C=e.name("outer");e.label(C).for((0,pr._)`;${d}--;`,()=>e.for((0,pr._)`${m} = ${d}; ${m}--;`,()=>e.if((0,pr._)`${h}(${i}[${d}], ${i}[${m}])`,()=>{t.error(),e.assign(A,!1).break(C)})))}}};UL.default=z5e});var tue=b(OL=>{"use strict";f();Object.defineProperty(OL,"__esModule",{value:!0});var GL=Ct(),V5e=Yt(),W5e=qx(),Z5e={message:"must be equal to constant",params:({schemaCode:t})=>(0,GL._)`{allowedValue: ${t}}`},X5e={keyword:"const",$data:!0,error:Z5e,code(t){let{gen:e,data:i,$data:n,schemaCode:r,schema:s}=t;n||s&&typeof s=="object"?t.fail$data((0,GL._)`!${(0,V5e.useFunc)(e,W5e.default)}(${i}, ${r})`):t.fail((0,GL._)`${s} !== ${i}`)}};OL.default=X5e});var iue=b(KL=>{"use strict";f();Object.defineProperty(KL,"__esModule",{value:!0});var KI=Ct(),e$e=Yt(),t$e=qx(),i$e={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,KI._)`{allowedValues: ${t}}`},n$e={keyword:"enum",schemaType:"array",$data:!0,error:i$e,code(t){let{gen:e,data:i,$data:n,schema:r,schemaCode:s,it:o}=t;if(!n&&r.length===0)throw new Error("enum must have non-empty array");let a=r.length>=o.opts.loopEnum,A,c=()=>A??(A=(0,e$e.useFunc)(e,t$e.default)),u;if(a||n)u=e.let("valid"),t.block$data(u,l);else{if(!Array.isArray(r))throw new Error("ajv implementation error");let g=e.const("vSchema",s);u=(0,KI.or)(...r.map((d,m)=>p(g,m)))}t.pass(u);function l(){e.assign(u,!1),e.forOf("v",s,g=>e.if((0,KI._)`${c()}(${i}, ${g})`,()=>e.assign(u,!0).break()))}function p(g,d){let m=r[d];return typeof m=="object"&&m!==null?(0,KI._)`${c()}(${i}, ${g}[${d}])`:(0,KI._)`${i} === ${m}`}}};KL.default=n$e});var nue=b(HL=>{"use strict";f();Object.defineProperty(HL,"__esModule",{value:!0});var r$e=Jce(),s$e=jce(),o$e=qce(),a$e=zce(),A$e=Vce(),c$e=Wce(),u$e=Zce(),l$e=eue(),p$e=tue(),g$e=iue(),d$e=[r$e.default,s$e.default,o$e.default,a$e.default,A$e.default,c$e.default,u$e.default,l$e.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},p$e.default,g$e.default];HL.default=d$e});var jL=b(HI=>{"use strict";f();Object.defineProperty(HI,"__esModule",{value:!0});HI.validateAdditionalItems=void 0;var vp=Ct(),JL=Yt(),m$e={message:({params:{len:t}})=>(0,vp.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,vp._)`{limit: ${t}}`},f$e={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:m$e,code(t){let{parentSchema:e,it:i}=t,{items:n}=e;if(!Array.isArray(n)){(0,JL.checkStrictMode)(i,'"additionalItems" is ignored when "items" is not an array of schemas');return}rue(t,n)}};function rue(t,e){let{gen:i,schema:n,data:r,keyword:s,it:o}=t;o.items=!0;let a=i.const("len",(0,vp._)`${r}.length`);if(n===!1)t.setParams({len:e.length}),t.pass((0,vp._)`${a} <= ${e.length}`);else if(typeof n=="object"&&!(0,JL.alwaysValidSchema)(o,n)){let c=i.var("valid",(0,vp._)`${a} <= ${e.length}`);i.if((0,vp.not)(c),()=>A(c)),t.ok(c)}function A(c){i.forRange("i",e.length,a,u=>{t.subschema({keyword:s,dataProp:u,dataPropType:JL.Type.Num},c),o.allErrors||i.if((0,vp.not)(c),()=>i.break())})}}HI.validateAdditionalItems=rue;HI.default=f$e});var YL=b(JI=>{"use strict";f();Object.defineProperty(JI,"__esModule",{value:!0});JI.validateTuple=void 0;var sue=Ct(),zx=Yt(),h$e=Ro(),C$e={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:e,it:i}=t;if(Array.isArray(e))return oue(t,"additionalItems",e);i.items=!0,!(0,zx.alwaysValidSchema)(i,e)&&t.ok((0,h$e.validateArray)(t))}};function oue(t,e,i=t.schema){let{gen:n,parentSchema:r,data:s,keyword:o,it:a}=t;u(r),a.opts.unevaluated&&i.length&&a.items!==!0&&(a.items=zx.mergeEvaluated.items(n,i.length,a.items));let A=n.name("valid"),c=n.const("len",(0,sue._)`${s}.length`);i.forEach((l,p)=>{(0,zx.alwaysValidSchema)(a,l)||(n.if((0,sue._)`${c} > ${p}`,()=>t.subschema({keyword:o,schemaProp:p,dataProp:p},A)),t.ok(A))});function u(l){let{opts:p,errSchemaPath:g}=a,d=i.length,m=d===l.minItems&&(d===l.maxItems||l[e]===!1);if(p.strictTuples&&!m){let h=`"${o}" is ${d}-tuple, but minItems or maxItems/${e} are not specified or different at path "${g}"`;(0,zx.checkStrictMode)(a,h,p.strictTuples)}}}JI.validateTuple=oue;JI.default=C$e});var aue=b($L=>{"use strict";f();Object.defineProperty($L,"__esModule",{value:!0});var I$e=YL(),E$e={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,I$e.validateTuple)(t,"items")};$L.default=E$e});var cue=b(qL=>{"use strict";f();Object.defineProperty(qL,"__esModule",{value:!0});var Aue=Ct(),B$e=Yt(),Q$e=Ro(),y$e=jL(),D$e={message:({params:{len:t}})=>(0,Aue.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,Aue._)`{limit: ${t}}`},x$e={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:D$e,code(t){let{schema:e,parentSchema:i,it:n}=t,{prefixItems:r}=i;n.items=!0,!(0,B$e.alwaysValidSchema)(n,e)&&(r?(0,y$e.validateAdditionalItems)(t,r):t.ok((0,Q$e.validateArray)(t)))}};qL.default=x$e});var uue=b(zL=>{"use strict";f();Object.defineProperty(zL,"__esModule",{value:!0});var To=Ct(),Vx=Yt(),v$e={message:({params:{min:t,max:e}})=>e===void 0?(0,To.str)`must contain at least ${t} valid item(s)`:(0,To.str)`must contain at least ${t} and no more than ${e} valid item(s)`,params:({params:{min:t,max:e}})=>e===void 0?(0,To._)`{minContains: ${t}}`:(0,To._)`{minContains: ${t}, maxContains: ${e}}`},w$e={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:v$e,code(t){let{gen:e,schema:i,parentSchema:n,data:r,it:s}=t,o,a,{minContains:A,maxContains:c}=n;s.opts.next?(o=A===void 0?1:A,a=c):o=1;let u=e.const("len",(0,To._)`${r}.length`);if(t.setParams({min:o,max:a}),a===void 0&&o===0){(0,Vx.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(a!==void 0&&o>a){(0,Vx.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,Vx.alwaysValidSchema)(s,i)){let m=(0,To._)`${u} >= ${o}`;a!==void 0&&(m=(0,To._)`${m} && ${u} <= ${a}`),t.pass(m);return}s.items=!0;let l=e.name("valid");a===void 0&&o===1?g(l,()=>e.if(l,()=>e.break())):o===0?(e.let(l,!0),a!==void 0&&e.if((0,To._)`${r}.length > 0`,p)):(e.let(l,!1),p()),t.result(l,()=>t.reset());function p(){let m=e.name("_valid"),h=e.let("count",0);g(m,()=>e.if(m,()=>d(h)))}function g(m,h){e.forRange("i",0,u,C=>{t.subschema({keyword:"contains",dataProp:C,dataPropType:Vx.Type.Num,compositeRule:!0},m),h()})}function d(m){e.code((0,To._)`${m}++`),a===void 0?e.if((0,To._)`${m} >= ${o}`,()=>e.assign(l,!0).break()):(e.if((0,To._)`${m} > ${a}`,()=>e.assign(l,!1).break()),o===1?e.assign(l,!0):e.if((0,To._)`${m} >= ${o}`,()=>e.assign(l,!0)))}}};zL.default=w$e});var gue=b(EA=>{"use strict";f();Object.defineProperty(EA,"__esModule",{value:!0});EA.validateSchemaDeps=EA.validatePropertyDeps=EA.error=void 0;var VL=Ct(),b$e=Yt(),jI=Ro();EA.error={message:({params:{property:t,depsCount:e,deps:i}})=>{let n=e===1?"property":"properties";return(0,VL.str)`must have ${n} ${i} when property ${t} is present`},params:({params:{property:t,depsCount:e,deps:i,missingProperty:n}})=>(0,VL._)`{property: ${t},
@@ -2700,7 +2700,7 @@ return fn.apply(this, arguments)
2700
2700
  `)+`\r
2701
2701
  \r
2702
2702
  `+i)}function eg(t,e,i,n,r,s){if(t.listenerCount("wsClientError")){let o=new Error(r);Error.captureStackTrace(o,eg),t.emit("wsClientError",o,i,e)}else aB(i,n,r,s)}});var o0e=b((Dei,s0e)=>{f();var q4=class{constructor(e,i,n){this.etaBufferLength=e||100,this.valueBuffer=[n],this.timeBuffer=[i],this.eta="0"}update(e,i,n){this.valueBuffer.push(i),this.timeBuffer.push(e),this.calculate(n-i)}getTime(){return this.eta}calculate(e){let i=this.valueBuffer.length,n=Math.min(this.etaBufferLength,i),r=this.valueBuffer[i-1]-this.valueBuffer[i-n],s=this.timeBuffer[i-1]-this.timeBuffer[i-n],o=r/s;this.valueBuffer=this.valueBuffer.slice(-this.etaBufferLength),this.timeBuffer=this.timeBuffer.slice(-this.etaBufferLength);let a=Math.ceil(e/o/1e3);isNaN(a)?this.eta="NULL":isFinite(a)?a>1e7?this.eta="INF":a<0?this.eta=0:this.eta=a:this.eta="INF"}};s0e.exports=q4});var V4=b((vei,a0e)=>{f();var tg=require("readline"),z4=class{constructor(e){this.stream=e,this.linewrap=!0,this.dy=0}cursorSave(){this.stream.isTTY&&this.stream.write("\x1B7")}cursorRestore(){this.stream.isTTY&&this.stream.write("\x1B8")}cursor(e){this.stream.isTTY&&(e?this.stream.write("\x1B[?25h"):this.stream.write("\x1B[?25l"))}cursorTo(e=null,i=null){this.stream.isTTY&&tg.cursorTo(this.stream,e,i)}cursorRelative(e=null,i=null){this.stream.isTTY&&(this.dy=this.dy+i,tg.moveCursor(this.stream,e,i))}cursorRelativeReset(){this.stream.isTTY&&(tg.moveCursor(this.stream,0,-this.dy),tg.cursorTo(this.stream,0,null),this.dy=0)}clearRight(){this.stream.isTTY&&tg.clearLine(this.stream,1)}clearLine(){this.stream.isTTY&&tg.clearLine(this.stream,0)}clearBottom(){this.stream.isTTY&&tg.clearScreenDown(this.stream)}newline(){this.stream.write(`
2703
- `),this.dy++}write(e,i=!1){this.linewrap===!0&&i===!1?this.stream.write(e.substr(0,this.getWidth())):this.stream.write(e)}lineWrapping(e){this.stream.isTTY&&(this.linewrap=e,e?this.stream.write("\x1B[?7h"):this.stream.write("\x1B[?7l"))}isTTY(){return this.stream.isTTY===!0}getWidth(){return this.stream.columns||(this.stream.isTTY?80:200)}};a0e.exports=z4});var c0e=b((bei,A0e)=>{"use strict";f();A0e.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 l0e=b((Fei,u0e)=>{"use strict";f();var Clt=c0e();u0e.exports=t=>typeof t=="string"?t.replace(Clt(),""):t});var g0e=b((Rei,W4)=>{"use strict";f();var p0e=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);W4.exports=p0e;W4.exports.default=p0e});var m0e=b((Tei,d0e)=>{"use strict";f();d0e.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 h0e=b((Pei,Z4)=>{"use strict";f();var Ilt=l0e(),Elt=g0e(),Blt=m0e(),f0e=t=>{if(typeof t!="string"||t.length===0||(t=Ilt(t),t.length===0))return 0;t=t.replace(Blt()," ");let e=0;for(let i=0;i<t.length;i++){let n=t.codePointAt(i);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&i++,e+=Elt(n)?2:1)}return e};Z4.exports=f0e;Z4.exports.default=f0e});var X4=b((Lei,C0e)=>{f();C0e.exports=function(e,i,n){if(i.autopadding!==!0)return e;function r(s,o){return(i.autopaddingChar+s).slice(-o)}switch(n){case"percentage":return r(e,3);default:return e}}});var eK=b((Gei,I0e)=>{f();I0e.exports=function(e,i){let n=Math.round(e*i.barsize),r=i.barsize-n;return i.barCompleteString.substr(0,n)+i.barGlue+i.barIncompleteString.substr(0,r)}});var tK=b((Kei,E0e)=>{f();E0e.exports=function(e,i,n){function r(o){return n?n*Math.round(o/n):o}function s(o){return(i.autopaddingChar+o).slice(-2)}return e>3600?s(Math.floor(e/3600))+"h"+s(r(e%3600/60))+"m":e>60?s(Math.floor(e/60))+"m"+s(r(e%60))+"s":e>10?s(r(e))+"s":s(e)+"s"}});var iK=b((Jei,B0e)=>{f();var Qlt=h0e(),ylt=X4(),Dlt=eK(),xlt=tK();B0e.exports=function(e,i,n){let r=e.format,s=e.formatTime||xlt,o=e.formatValue||ylt,a=e.formatBar||Dlt,A=Math.floor(i.progress*100)+"",c=i.stopTime||Date.now(),u=Math.round((c-i.startTime)/1e3),l=Object.assign({},n,{bar:a(i.progress,e),percentage:o(A,e,"percentage"),total:o(i.total,e,"total"),value:o(i.value,e,"value"),eta:o(i.eta,e,"eta"),eta_formatted:s(i.eta,e,5),duration:o(u,e,"duration"),duration_formatted:s(u,e,1)});r=r.replace(/\{(\w+)\}/g,function(d,m){return typeof l[m]<"u"?l[m]:d});let p=Math.max(0,i.maxWidth-Qlt(r)-2),g=Math.floor(p/2);switch(e.align){case"right":r=p>0?" ".repeat(p)+r:r;break;case"center":r=g>0?" ".repeat(g)+r:r;break;case"left":default:break}return r}});var wb=b((Yei,Q0e)=>{f();function fi(t,e){return typeof t>"u"||t===null?e:t}Q0e.exports={parse:function(e,i){let n={},r=Object.assign({},i,e);return n.throttleTime=1e3/fi(r.fps,10),n.stream=fi(r.stream,process.stderr),n.terminal=fi(r.terminal,null),n.clearOnComplete=fi(r.clearOnComplete,!1),n.stopOnComplete=fi(r.stopOnComplete,!1),n.barsize=fi(r.barsize,40),n.align=fi(r.align,"left"),n.hideCursor=fi(r.hideCursor,!1),n.linewrap=fi(r.linewrap,!1),n.barGlue=fi(r.barGlue,""),n.barCompleteChar=fi(r.barCompleteChar,"="),n.barIncompleteChar=fi(r.barIncompleteChar,"-"),n.format=fi(r.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),n.formatTime=fi(r.formatTime,null),n.formatValue=fi(r.formatValue,null),n.formatBar=fi(r.formatBar,null),n.etaBufferLength=fi(r.etaBuffer,10),n.etaAsynchronousUpdate=fi(r.etaAsynchronousUpdate,!1),n.progressCalculationRelative=fi(r.progressCalculationRelative,!1),n.synchronousUpdate=fi(r.synchronousUpdate,!0),n.noTTYOutput=fi(r.noTTYOutput,!1),n.notTTYSchedule=fi(r.notTTYSchedule,2e3),n.emptyOnZero=fi(r.emptyOnZero,!1),n.forceRedraw=fi(r.forceRedraw,!1),n.autopadding=fi(r.autopadding,!1),n.gracefulExit=fi(r.gracefulExit,!1),n},assignDerivedOptions:function(e){return e.barCompleteString=e.barCompleteChar.repeat(e.barsize+1),e.barIncompleteString=e.barIncompleteChar.repeat(e.barsize+1),e.autopaddingChar=e.autopadding?fi(e.autopaddingChar," "):"",e}}});var nK=b((zei,D0e)=>{f();var y0e=o0e(),vlt=V4(),wlt=iK(),blt=wb(),Slt=require("events");D0e.exports=class extends Slt{constructor(e){super(),this.options=blt.assignDerivedOptions(e),this.terminal=this.options.terminal?this.options.terminal:new vlt(this.options.stream),this.value=0,this.startValue=0,this.total=100,this.lastDrawnString=null,this.startTime=null,this.stopTime=null,this.lastRedraw=Date.now(),this.eta=new y0e(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format=="function"?this.options.format:wlt}render(e=!1){let i={progress:this.getProgress(),eta:this.eta.getTime(),startTime:this.startTime,stopTime:this.stopTime,total:this.total,value:this.value,maxWidth:this.terminal.getWidth()};this.options.etaAsynchronousUpdate&&this.updateETA();let n=this.formatter(this.options,i,this.payload);(e||this.options.forceRedraw||this.options.noTTYOutput&&!this.terminal.isTTY()||this.lastDrawnString!=n)&&(this.emit("redraw-pre"),this.terminal.cursorTo(0,null),this.terminal.write(n),this.terminal.clearRight(),this.lastDrawnString=n,this.lastRedraw=Date.now(),this.emit("redraw-post"))}start(e,i,n){this.value=i||0,this.total=typeof e<"u"&&e>=0?e:100,this.startValue=i||0,this.payload=n||{},this.startTime=Date.now(),this.stopTime=null,this.lastDrawnString="",this.eta=new y0e(this.options.etaBufferLength,this.startTime,this.value),this.isActive=!0,this.emit("start",e,i)}stop(){this.isActive=!1,this.stopTime=Date.now(),this.emit("stop",this.total,this.value)}update(e,i={}){typeof e=="number"&&(this.value=e,this.eta.update(Date.now(),e,this.total));let n=(typeof e=="object"?e:i)||{};this.emit("update",this.total,this.value);for(let r in n)this.payload[r]=n[r];this.value>=this.getTotal()&&this.options.stopOnComplete&&this.stop()}getProgress(){let e=this.value/this.total;return this.options.progressCalculationRelative&&(e=(this.value-this.startValue)/(this.total-this.startValue)),isNaN(e)&&(e=this.options&&this.options.emptyOnZero?0:1),e=Math.min(Math.max(e,0),1),e}increment(e=1,i={}){typeof e=="object"?this.update(this.value+1,e):this.update(this.value+e,i)}getTotal(){return this.total}setTotal(e){typeof e<"u"&&e>=0&&(this.total=e)}updateETA(){this.eta.update(Date.now(),this.value,this.total)}}});var v0e=b((Zei,x0e)=>{f();var Flt=nK(),klt=wb();x0e.exports=class extends Flt{constructor(e,i){super(klt.parse(e,i)),this.timer=null,this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.options.synchronousUpdate=!1),this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.sigintCallback=null}render(){this.timer&&(clearTimeout(this.timer),this.timer=null),super.render(),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&this.terminal.newline(),this.timer=setTimeout(this.render.bind(this),this.schedulingRate)}update(e,i){this.timer&&(super.update(e,i),this.options.synchronousUpdate&&this.lastRedraw+this.options.throttleTime*2<Date.now()&&this.render())}start(e,i,n){this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.terminal.cursorSave(),this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),super.start(e,i,n),this.render())}stop(){this.timer&&(this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.render(),super.stop(),clearTimeout(this.timer),this.timer=null,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRestore(),this.options.clearOnComplete?(this.terminal.cursorTo(0,null),this.terminal.clearLine()):this.terminal.newline())}}});var b0e=b((tti,w0e)=>{f();var Rlt=V4(),Nlt=nK(),Tlt=wb(),Mlt=require("events");w0e.exports=class extends Mlt{constructor(e,i){super(),this.bars=[],this.options=Tlt.parse(e,i),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new Rlt(this.options.stream),this.timer=null,this.isActive=!1,this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.loggingBuffer=[],this.sigintCallback=null}create(e,i,n,r={}){let s=new Nlt(Object.assign({},this.options,{terminal:this.terminal},r));return this.bars.push(s),this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.isActive||(this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),this.timer=setTimeout(this.update.bind(this),this.schedulingRate)),this.isActive=!0,s.start(e,i,n),this.emit("start")),s}remove(e){let i=this.bars.indexOf(e);return i<0?!1:(this.bars.splice(i,1),this.update(),this.terminal.newline(),this.terminal.clearBottom(),!0)}update(){if(this.timer&&(clearTimeout(this.timer),this.timer=null),this.emit("update-pre"),this.terminal.cursorRelativeReset(),this.emit("redraw-pre"),this.loggingBuffer.length>0)for(this.terminal.clearLine();this.loggingBuffer.length>0;)this.terminal.write(this.loggingBuffer.shift(),!0);for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render();this.emit("redraw-post"),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.terminal.newline(),this.terminal.newline()),this.timer=setTimeout(this.update.bind(this),this.schedulingRate),this.emit("update-post"),this.options.stopOnComplete&&!this.bars.find(e=>e.isActive)&&this.stop()}stop(){if(clearTimeout(this.timer),this.timer=null,this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.isActive=!1,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRelativeReset(),this.emit("stop-pre-clear"),this.options.clearOnComplete)this.terminal.clearBottom();else{for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render(),this.bars[e].stop();this.terminal.newline()}this.emit("stop")}log(e){this.loggingBuffer.push(e)}}});var F0e=b((nti,S0e)=>{f();S0e.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var R0e=b((sti,k0e)=>{f();k0e.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var T0e=b((ati,N0e)=>{f();N0e.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var P0e=b((cti,M0e)=>{f();M0e.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var L0e=b((lti,_0e)=>{f();var Plt=F0e(),_lt=R0e(),Llt=T0e(),Ult=P0e();_0e.exports={legacy:Plt,shades_classic:_lt,shades_grey:Llt,rect:Ult}});var O0e=b((gti,G0e)=>{f();var U0e=v0e(),Glt=b0e(),Olt=L0e(),Klt=iK(),Hlt=X4(),Jlt=eK(),jlt=tK();G0e.exports={Bar:U0e,SingleBar:U0e,MultiBar:Glt,Presets:Olt,Format:{Formatter:Klt,BarFormat:Jlt,ValueFormat:Hlt,TimeFormat:jlt}}});var $0e=b((Bti,Y0e)=>{f();Y0e.exports=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});var Xpt={};pl(Xpt,{default:()=>Zpt});module.exports=en(Xpt);f();f();try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="df5598c9-cb30-4316-aa89-8df7db71f5ba",t._sentryDebugIdIdentifier="sentry-dbid-df5598c9-cb30-4316-aa89-8df7db71f5ba")}catch{}f();var Cve=require("../core/index.cjs"),Ive=require("../node/index.cjs"),Eve=require("../server/index.cjs"),Bve=ee(vK(),1);f();f();var Jv=require("fs/promises");CB();mn();Td();ti();var Hi=ee(Ti(),1),nf=require("node:path");lo();Es();an();ln();Yl();var EZe="https://cdn.builder.io",_de=async(t,e)=>{console.log(""),Ht((0,Hi.bgCyan)((0,Hi.bold)((0,Hi.white)(" figma migrate ")))+" "+(0,Hi.dim)(lt));let{builderPrivateKey:i,builderPublicKey:n}=await ii(t,e,{forceSpaceId:e.spaceId,builderPrivateKey:!0,builderPublicKey:!0});await At("figma publish started",{spaceId:n});let r=await Zl(t);if(r.length>0){await At("figma migrate with existing files",{spaceId:n}),G.warning(`${(0,Hi.yellow)("This repo already has figma mappings in:")}
2703
+ `),this.dy++}write(e,i=!1){this.linewrap===!0&&i===!1?this.stream.write(e.substr(0,this.getWidth())):this.stream.write(e)}lineWrapping(e){this.stream.isTTY&&(this.linewrap=e,e?this.stream.write("\x1B[?7h"):this.stream.write("\x1B[?7l"))}isTTY(){return this.stream.isTTY===!0}getWidth(){return this.stream.columns||(this.stream.isTTY?80:200)}};a0e.exports=z4});var c0e=b((bei,A0e)=>{"use strict";f();A0e.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 l0e=b((Fei,u0e)=>{"use strict";f();var Clt=c0e();u0e.exports=t=>typeof t=="string"?t.replace(Clt(),""):t});var g0e=b((Rei,W4)=>{"use strict";f();var p0e=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);W4.exports=p0e;W4.exports.default=p0e});var m0e=b((Tei,d0e)=>{"use strict";f();d0e.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 h0e=b((Pei,Z4)=>{"use strict";f();var Ilt=l0e(),Elt=g0e(),Blt=m0e(),f0e=t=>{if(typeof t!="string"||t.length===0||(t=Ilt(t),t.length===0))return 0;t=t.replace(Blt()," ");let e=0;for(let i=0;i<t.length;i++){let n=t.codePointAt(i);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&i++,e+=Elt(n)?2:1)}return e};Z4.exports=f0e;Z4.exports.default=f0e});var X4=b((Lei,C0e)=>{f();C0e.exports=function(e,i,n){if(i.autopadding!==!0)return e;function r(s,o){return(i.autopaddingChar+s).slice(-o)}switch(n){case"percentage":return r(e,3);default:return e}}});var eK=b((Gei,I0e)=>{f();I0e.exports=function(e,i){let n=Math.round(e*i.barsize),r=i.barsize-n;return i.barCompleteString.substr(0,n)+i.barGlue+i.barIncompleteString.substr(0,r)}});var tK=b((Kei,E0e)=>{f();E0e.exports=function(e,i,n){function r(o){return n?n*Math.round(o/n):o}function s(o){return(i.autopaddingChar+o).slice(-2)}return e>3600?s(Math.floor(e/3600))+"h"+s(r(e%3600/60))+"m":e>60?s(Math.floor(e/60))+"m"+s(r(e%60))+"s":e>10?s(r(e))+"s":s(e)+"s"}});var iK=b((Jei,B0e)=>{f();var Qlt=h0e(),ylt=X4(),Dlt=eK(),xlt=tK();B0e.exports=function(e,i,n){let r=e.format,s=e.formatTime||xlt,o=e.formatValue||ylt,a=e.formatBar||Dlt,A=Math.floor(i.progress*100)+"",c=i.stopTime||Date.now(),u=Math.round((c-i.startTime)/1e3),l=Object.assign({},n,{bar:a(i.progress,e),percentage:o(A,e,"percentage"),total:o(i.total,e,"total"),value:o(i.value,e,"value"),eta:o(i.eta,e,"eta"),eta_formatted:s(i.eta,e,5),duration:o(u,e,"duration"),duration_formatted:s(u,e,1)});r=r.replace(/\{(\w+)\}/g,function(d,m){return typeof l[m]<"u"?l[m]:d});let p=Math.max(0,i.maxWidth-Qlt(r)-2),g=Math.floor(p/2);switch(e.align){case"right":r=p>0?" ".repeat(p)+r:r;break;case"center":r=g>0?" ".repeat(g)+r:r;break;case"left":default:break}return r}});var wb=b((Yei,Q0e)=>{f();function fi(t,e){return typeof t>"u"||t===null?e:t}Q0e.exports={parse:function(e,i){let n={},r=Object.assign({},i,e);return n.throttleTime=1e3/fi(r.fps,10),n.stream=fi(r.stream,process.stderr),n.terminal=fi(r.terminal,null),n.clearOnComplete=fi(r.clearOnComplete,!1),n.stopOnComplete=fi(r.stopOnComplete,!1),n.barsize=fi(r.barsize,40),n.align=fi(r.align,"left"),n.hideCursor=fi(r.hideCursor,!1),n.linewrap=fi(r.linewrap,!1),n.barGlue=fi(r.barGlue,""),n.barCompleteChar=fi(r.barCompleteChar,"="),n.barIncompleteChar=fi(r.barIncompleteChar,"-"),n.format=fi(r.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),n.formatTime=fi(r.formatTime,null),n.formatValue=fi(r.formatValue,null),n.formatBar=fi(r.formatBar,null),n.etaBufferLength=fi(r.etaBuffer,10),n.etaAsynchronousUpdate=fi(r.etaAsynchronousUpdate,!1),n.progressCalculationRelative=fi(r.progressCalculationRelative,!1),n.synchronousUpdate=fi(r.synchronousUpdate,!0),n.noTTYOutput=fi(r.noTTYOutput,!1),n.notTTYSchedule=fi(r.notTTYSchedule,2e3),n.emptyOnZero=fi(r.emptyOnZero,!1),n.forceRedraw=fi(r.forceRedraw,!1),n.autopadding=fi(r.autopadding,!1),n.gracefulExit=fi(r.gracefulExit,!1),n},assignDerivedOptions:function(e){return e.barCompleteString=e.barCompleteChar.repeat(e.barsize+1),e.barIncompleteString=e.barIncompleteChar.repeat(e.barsize+1),e.autopaddingChar=e.autopadding?fi(e.autopaddingChar," "):"",e}}});var nK=b((zei,D0e)=>{f();var y0e=o0e(),vlt=V4(),wlt=iK(),blt=wb(),Slt=require("events");D0e.exports=class extends Slt{constructor(e){super(),this.options=blt.assignDerivedOptions(e),this.terminal=this.options.terminal?this.options.terminal:new vlt(this.options.stream),this.value=0,this.startValue=0,this.total=100,this.lastDrawnString=null,this.startTime=null,this.stopTime=null,this.lastRedraw=Date.now(),this.eta=new y0e(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format=="function"?this.options.format:wlt}render(e=!1){let i={progress:this.getProgress(),eta:this.eta.getTime(),startTime:this.startTime,stopTime:this.stopTime,total:this.total,value:this.value,maxWidth:this.terminal.getWidth()};this.options.etaAsynchronousUpdate&&this.updateETA();let n=this.formatter(this.options,i,this.payload);(e||this.options.forceRedraw||this.options.noTTYOutput&&!this.terminal.isTTY()||this.lastDrawnString!=n)&&(this.emit("redraw-pre"),this.terminal.cursorTo(0,null),this.terminal.write(n),this.terminal.clearRight(),this.lastDrawnString=n,this.lastRedraw=Date.now(),this.emit("redraw-post"))}start(e,i,n){this.value=i||0,this.total=typeof e<"u"&&e>=0?e:100,this.startValue=i||0,this.payload=n||{},this.startTime=Date.now(),this.stopTime=null,this.lastDrawnString="",this.eta=new y0e(this.options.etaBufferLength,this.startTime,this.value),this.isActive=!0,this.emit("start",e,i)}stop(){this.isActive=!1,this.stopTime=Date.now(),this.emit("stop",this.total,this.value)}update(e,i={}){typeof e=="number"&&(this.value=e,this.eta.update(Date.now(),e,this.total));let n=(typeof e=="object"?e:i)||{};this.emit("update",this.total,this.value);for(let r in n)this.payload[r]=n[r];this.value>=this.getTotal()&&this.options.stopOnComplete&&this.stop()}getProgress(){let e=this.value/this.total;return this.options.progressCalculationRelative&&(e=(this.value-this.startValue)/(this.total-this.startValue)),isNaN(e)&&(e=this.options&&this.options.emptyOnZero?0:1),e=Math.min(Math.max(e,0),1),e}increment(e=1,i={}){typeof e=="object"?this.update(this.value+1,e):this.update(this.value+e,i)}getTotal(){return this.total}setTotal(e){typeof e<"u"&&e>=0&&(this.total=e)}updateETA(){this.eta.update(Date.now(),this.value,this.total)}}});var v0e=b((Zei,x0e)=>{f();var Flt=nK(),klt=wb();x0e.exports=class extends Flt{constructor(e,i){super(klt.parse(e,i)),this.timer=null,this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.options.synchronousUpdate=!1),this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.sigintCallback=null}render(){this.timer&&(clearTimeout(this.timer),this.timer=null),super.render(),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&this.terminal.newline(),this.timer=setTimeout(this.render.bind(this),this.schedulingRate)}update(e,i){this.timer&&(super.update(e,i),this.options.synchronousUpdate&&this.lastRedraw+this.options.throttleTime*2<Date.now()&&this.render())}start(e,i,n){this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.terminal.cursorSave(),this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),super.start(e,i,n),this.render())}stop(){this.timer&&(this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.render(),super.stop(),clearTimeout(this.timer),this.timer=null,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRestore(),this.options.clearOnComplete?(this.terminal.cursorTo(0,null),this.terminal.clearLine()):this.terminal.newline())}}});var b0e=b((tti,w0e)=>{f();var Rlt=V4(),Nlt=nK(),Tlt=wb(),Mlt=require("events");w0e.exports=class extends Mlt{constructor(e,i){super(),this.bars=[],this.options=Tlt.parse(e,i),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new Rlt(this.options.stream),this.timer=null,this.isActive=!1,this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.loggingBuffer=[],this.sigintCallback=null}create(e,i,n,r={}){let s=new Nlt(Object.assign({},this.options,{terminal:this.terminal},r));return this.bars.push(s),this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.isActive||(this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),this.timer=setTimeout(this.update.bind(this),this.schedulingRate)),this.isActive=!0,s.start(e,i,n),this.emit("start")),s}remove(e){let i=this.bars.indexOf(e);return i<0?!1:(this.bars.splice(i,1),this.update(),this.terminal.newline(),this.terminal.clearBottom(),!0)}update(){if(this.timer&&(clearTimeout(this.timer),this.timer=null),this.emit("update-pre"),this.terminal.cursorRelativeReset(),this.emit("redraw-pre"),this.loggingBuffer.length>0)for(this.terminal.clearLine();this.loggingBuffer.length>0;)this.terminal.write(this.loggingBuffer.shift(),!0);for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render();this.emit("redraw-post"),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.terminal.newline(),this.terminal.newline()),this.timer=setTimeout(this.update.bind(this),this.schedulingRate),this.emit("update-post"),this.options.stopOnComplete&&!this.bars.find(e=>e.isActive)&&this.stop()}stop(){if(clearTimeout(this.timer),this.timer=null,this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.isActive=!1,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRelativeReset(),this.emit("stop-pre-clear"),this.options.clearOnComplete)this.terminal.clearBottom();else{for(let e=0;e<this.bars.length;e++)e>0&&this.terminal.newline(),this.bars[e].render(),this.bars[e].stop();this.terminal.newline()}this.emit("stop")}log(e){this.loggingBuffer.push(e)}}});var F0e=b((nti,S0e)=>{f();S0e.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var R0e=b((sti,k0e)=>{f();k0e.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var T0e=b((ati,N0e)=>{f();N0e.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var P0e=b((cti,M0e)=>{f();M0e.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var L0e=b((lti,_0e)=>{f();var Plt=F0e(),_lt=R0e(),Llt=T0e(),Ult=P0e();_0e.exports={legacy:Plt,shades_classic:_lt,shades_grey:Llt,rect:Ult}});var O0e=b((gti,G0e)=>{f();var U0e=v0e(),Glt=b0e(),Olt=L0e(),Klt=iK(),Hlt=X4(),Jlt=eK(),jlt=tK();G0e.exports={Bar:U0e,SingleBar:U0e,MultiBar:Glt,Presets:Olt,Format:{Formatter:Klt,BarFormat:Jlt,ValueFormat:Hlt,TimeFormat:jlt}}});var $0e=b((Bti,Y0e)=>{f();Y0e.exports=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});var Xpt={};pl(Xpt,{default:()=>Zpt});module.exports=en(Xpt);f();f();try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="703e751c-2588-417d-b2ac-61ee7df66cc0",t._sentryDebugIdIdentifier="sentry-dbid-703e751c-2588-417d-b2ac-61ee7df66cc0")}catch{}f();var Cve=require("../core/index.cjs"),Ive=require("../node/index.cjs"),Eve=require("../server/index.cjs"),Bve=ee(vK(),1);f();f();var Jv=require("fs/promises");CB();mn();Td();ti();var Hi=ee(Ti(),1),nf=require("node:path");lo();Es();an();ln();Yl();var EZe="https://cdn.builder.io",_de=async(t,e)=>{console.log(""),Ht((0,Hi.bgCyan)((0,Hi.bold)((0,Hi.white)(" figma migrate ")))+" "+(0,Hi.dim)(lt));let{builderPrivateKey:i,builderPublicKey:n}=await ii(t,e,{forceSpaceId:e.spaceId,builderPrivateKey:!0,builderPublicKey:!0});await At("figma publish started",{spaceId:n});let r=await Zl(t);if(r.length>0){await At("figma migrate with existing files",{spaceId:n}),G.warning(`${(0,Hi.yellow)("This repo already has figma mappings in:")}
2704
2704
 
2705
2705
  ${r.map(c=>` - ${(0,nf.relative)(t.getAppRootDir(),c)}`).join(`
2706
2706
  `)}