@live-codes/browser-compilers 0.7.2 → 0.7.4
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/FUNDING.yml +3 -0
- package/dist/assemblyscript/assemblyscript.js +22994 -0
- package/dist/prettier/parser-pug.js +151 -160
- package/dist/pug/pug.min.js +1 -1
- package/package.json +3 -2
- package/scripts/vendors.js +41 -7
- package/vendor-licenses.md +2 -0
- package/vendor_modules/imports/assemblyscript.js +3 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
var pluginPug=(()=>{var gt=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var Gu=gt((Wy,Wo)=>{"use strict";var qo=Object.getOwnPropertySymbols,n0=Object.prototype.hasOwnProperty,i0=Object.prototype.propertyIsEnumerable;function s0(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function u0(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;var v=Object.getOwnPropertyNames(r).map(function(se){return r[se]});if(v.join("")!=="0123456789")return!1;var V={};return"abcdefghijklmnopqrst".split("").forEach(function(se){V[se]=se}),Object.keys(Object.assign({},V)).join("")==="abcdefghijklmnopqrst"}catch(se){return!1}}Wo.exports=u0()?Object.assign:function(t,r){for(var n,v=s0(t),V,se=1;se<arguments.length;se++){n=Object(arguments[se]);for(var ae in n)n0.call(n,ae)&&(v[ae]=n[ae]);if(qo){V=qo(n);for(var De=0;De<V.length;De++)i0.call(n,V[De])&&(v[V[De]]=n[V[De]])}}return v}});var zo=gt((Jy,Jo)=>{Jo.exports=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"}});var Xo=gt((zy,qu)=>{typeof Object.create=="function"?qu.exports=function(r,n){r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:qu.exports=function(r,n){r.super_=n;var v=function(){};v.prototype=n.prototype,r.prototype=new v,r.prototype.constructor=r}});var Ko=gt(Qt=>{var a0=/%[sdj%]/g;Qt.format=function(t){if(!hs(t)){for(var r=[],n=0;n<arguments.length;n++)r.push(cn(arguments[n]));return r.join(" ")}for(var n=1,v=arguments,V=v.length,se=String(t).replace(a0,function(De){if(De==="%%")return"%";if(n>=V)return De;switch(De){case"%s":return String(v[n++]);case"%d":return Number(v[n++]);case"%j":try{return JSON.stringify(v[n++])}catch(Le){return"[Circular]"}default:return De}}),ae=v[n];n<V;ae=v[++n])ds(ae)||!Jn(ae)?se+=" "+ae:se+=" "+cn(ae);return se};Qt.deprecate=function(t,r){if(tn(window.process))return function(){return Qt.deprecate(t,r).apply(this,arguments)};if(process.noDeprecation===!0)return t;var n=!1;function v(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return t.apply(this,arguments)}return v};var ps={},Wu;Qt.debuglog=function(t){if(tn(Wu)&&(Wu=process.env.NODE_DEBUG||""),t=t.toUpperCase(),!ps[t])if(new RegExp("\\b"+t+"\\b","i").test(Wu)){var r=process.pid;ps[t]=function(){var n=Qt.format.apply(Qt,arguments);console.error("%s %d: %s",t,r,n)}}else ps[t]=function(){};return ps[t]};function cn(t,r){var n={seen:[],stylize:l0};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Xu(r)?n.showHidden=r:r&&Qt._extend(n,r),tn(n.showHidden)&&(n.showHidden=!1),tn(n.depth)&&(n.depth=2),tn(n.colors)&&(n.colors=!1),tn(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o0),fs(n,t,n.depth)}Qt.inspect=cn;cn.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};cn.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function o0(t,r){var n=cn.styles[r];return n?"["+cn.colors[n][0]+"m"+t+"["+cn.colors[n][1]+"m":t}function l0(t,r){return t}function c0(t){var r={};return t.forEach(function(n,v){r[n]=!0}),r}function fs(t,r,n){if(t.customInspect&&r&&ys(r.inspect)&&r.inspect!==Qt.inspect&&!(r.constructor&&r.constructor.prototype===r)){var v=r.inspect(n,t);return hs(v)||(v=fs(t,v,n)),v}var V=p0(t,r);if(V)return V;var se=Object.keys(r),ae=c0(se);if(t.showHidden&&(se=Object.getOwnPropertyNames(r)),ms(r)&&(se.indexOf("message")>=0||se.indexOf("description")>=0))return Ju(r);if(se.length===0){if(ys(r)){var De=r.name?": "+r.name:"";return t.stylize("[Function"+De+"]","special")}if(gs(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(Hu(r))return t.stylize(Date.prototype.toString.call(r),"date");if(ms(r))return Ju(r)}var Le="",rt=!1,vt=["{","}"];if(Ho(r)&&(rt=!0,vt=["[","]"]),ys(r)){var Lt=r.name?": "+r.name:"";Le=" [Function"+Lt+"]"}if(gs(r)&&(Le=" "+RegExp.prototype.toString.call(r)),Hu(r)&&(Le=" "+Date.prototype.toUTCString.call(r)),ms(r)&&(Le=" "+Ju(r)),se.length===0&&(!rt||r.length==0))return vt[0]+Le+vt[1];if(n<0)return gs(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special");t.seen.push(r);var xt;return rt?xt=f0(t,r,n,ae,se):xt=se.map(function(jt){return zu(t,r,n,ae,jt,rt)}),t.seen.pop(),d0(xt,Le,vt)}function p0(t,r){if(tn(r))return t.stylize("undefined","undefined");if(hs(r)){var n="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(Yo(r))return t.stylize(""+r,"number");if(Xu(r))return t.stylize(""+r,"boolean");if(ds(r))return t.stylize("null","null")}function Ju(t){return"["+Error.prototype.toString.call(t)+"]"}function f0(t,r,n,v,V){for(var se=[],ae=0,De=r.length;ae<De;++ae)Qo(r,String(ae))?se.push(zu(t,r,n,v,String(ae),!0)):se.push("");return V.forEach(function(Le){Le.match(/^\d+$/)||se.push(zu(t,r,n,v,Le,!0))}),se}function zu(t,r,n,v,V,se){var ae,De,Le;if(Le=Object.getOwnPropertyDescriptor(r,V)||{value:r[V]},Le.get?Le.set?De=t.stylize("[Getter/Setter]","special"):De=t.stylize("[Getter]","special"):Le.set&&(De=t.stylize("[Setter]","special")),Qo(v,V)||(ae="["+V+"]"),De||(t.seen.indexOf(Le.value)<0?(ds(n)?De=fs(t,Le.value,null):De=fs(t,Le.value,n-1),De.indexOf(`
|
|
2
|
-
`)>-1&&(se
|
|
3
|
-
`).map(function(
|
|
4
|
-
`).substr(2):
|
|
5
|
-
`+
|
|
6
|
-
`).map(function(
|
|
7
|
-
`))):
|
|
8
|
-
`)>=0&&
|
|
1
|
+
var pluginPug=(()=>{var Uo=Object.defineProperty;var Kd=t=>Uo(t,"__esModule",{value:!0});var vn=(t,e)=>()=>(t&&(e=t(t=0)),e);var Ot=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Zd=(t,e)=>{Kd(t);for(var r in e)Uo(t,r,{get:e[r],enumerable:!0})};function Go(){throw new Error("setTimeout has not been defined")}function qo(){throw new Error("clearTimeout has not been defined")}function Wo(t){if(Cn===setTimeout)return setTimeout(t,0);if((Cn===Go||!Cn)&&setTimeout)return Cn=setTimeout,setTimeout(t,0);try{return Cn(t,0)}catch(e){try{return Cn.call(null,t,0)}catch(r){return Cn.call(this,t,0)}}}function e0(t){if(bn===clearTimeout)return clearTimeout(t);if((bn===qo||!bn)&&clearTimeout)return bn=clearTimeout,clearTimeout(t);try{return bn(t)}catch(e){try{return bn.call(null,t)}catch(r){return bn.call(this,t)}}}function t0(){!li||!Rn||(li=!1,Rn.length?pn=Rn.concat(pn):Fs=-1,pn.length&&Jo())}function Jo(){if(!li){var t=Wo(t0);li=!0;for(var e=pn.length;e;){for(Rn=pn,pn=[];++Fs<e;)Rn&&Rn[Fs].run();Fs=-1,e=pn.length}Rn=null,li=!1,e0(t)}}function r0(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];pn.push(new Yo(t,e)),pn.length===1&&!li&&Wo(Jo)}function Yo(t,e){this.fun=t,this.array=e}function jn(){}function E0(t){throw new Error("process.binding is not supported")}function x0(){return"/"}function v0(t){throw new Error("process.chdir is not supported")}function C0(){return 0}function A0(t){var e=b0.call(ci)*.001,r=Math.floor(e),i=Math.floor(e%1*1e9);return t&&(r=r-t[0],i=i-t[1],i<0&&(r--,i+=1e9)),[r,i]}function S0(){var t=new Date,e=t-F0;return e/1e3}var Cn,bn,pn,li,Rn,Fs,n0,i0,s0,u0,a0,o0,l0,c0,p0,f0,h0,d0,m0,g0,y0,D0,ci,b0,F0,_t,Xo,Ze=vn(()=>{Cn=Go,bn=qo;typeof window.setTimeout=="function"&&(Cn=setTimeout);typeof window.clearTimeout=="function"&&(bn=clearTimeout);pn=[],li=!1,Fs=-1;Yo.prototype.run=function(){this.fun.apply(null,this.array)};n0="browser",i0="browser",s0=!0,u0={},a0=[],o0="",l0={},c0={},p0={};f0=jn,h0=jn,d0=jn,m0=jn,g0=jn,y0=jn,D0=jn;ci=window.performance||{},b0=ci.now||ci.mozNow||ci.msNow||ci.oNow||ci.webkitNow||function(){return new Date().getTime()};F0=new Date;_t={nextTick:r0,title:n0,browser:s0,env:u0,argv:a0,version:o0,versions:l0,on:f0,addListener:h0,once:d0,off:m0,removeListener:g0,removeAllListeners:y0,emit:D0,binding:E0,cwd:x0,chdir:v0,umask:C0,hrtime:A0,platform:i0,release:c0,config:p0,uptime:S0},Xo={"env.NODE_ENV":"production"};Object.keys(Xo).forEach(t=>{let e=t.split("."),r=_t;for(let i=0;i<e.length;i++){let p=e[i];i===e.length-1?r[p]=Xo[t]:r=r[p]||(r[p]={})}})});function zo(){Hu=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)Qr[e]=t[e],$r[t.charCodeAt(e)]=e;$r["-".charCodeAt(0)]=62,$r["_".charCodeAt(0)]=63}function T0(t){Hu||zo();var e,r,i,p,k,B,se=t.length;if(se%4>0)throw new Error("Invalid string. Length must be a multiple of 4");k=t[se-2]==="="?2:t[se-1]==="="?1:0,B=new w0(se*3/4-k),i=k>0?se-4:se;var ye=0;for(e=0,r=0;e<i;e+=4,r+=3)p=$r[t.charCodeAt(e)]<<18|$r[t.charCodeAt(e+1)]<<12|$r[t.charCodeAt(e+2)]<<6|$r[t.charCodeAt(e+3)],B[ye++]=p>>16&255,B[ye++]=p>>8&255,B[ye++]=p&255;return k===2?(p=$r[t.charCodeAt(e)]<<2|$r[t.charCodeAt(e+1)]>>4,B[ye++]=p&255):k===1&&(p=$r[t.charCodeAt(e)]<<10|$r[t.charCodeAt(e+1)]<<4|$r[t.charCodeAt(e+2)]>>2,B[ye++]=p>>8&255,B[ye++]=p&255),B}function k0(t){return Qr[t>>18&63]+Qr[t>>12&63]+Qr[t>>6&63]+Qr[t&63]}function _0(t,e,r){for(var i,p=[],k=e;k<r;k+=3)i=(t[k]<<16)+(t[k+1]<<8)+t[k+2],p.push(k0(i));return p.join("")}function Ho(t){Hu||zo();for(var e,r=t.length,i=r%3,p="",k=[],B=16383,se=0,ye=r-i;se<ye;se+=B)k.push(_0(t,se,se+B>ye?ye:se+B));return i===1?(e=t[r-1],p+=Qr[e>>2],p+=Qr[e<<4&63],p+="=="):i===2&&(e=(t[r-2]<<8)+t[r-1],p+=Qr[e>>10],p+=Qr[e>>4&63],p+=Qr[e<<2&63],p+="="),k.push(p),k.join("")}function Ss(){return Re.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function fn(t,e){if(Ss()<e)throw new RangeError("Invalid typed array length");return Re.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=Re.prototype):(t===null&&(t=new Re(e)),t.length=e),t}function Re(t,e,r){if(!Re.TYPED_ARRAY_SUPPORT&&!(this instanceof Re))return new Re(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return Qu(this,t)}return Qo(this,t,e,r)}function Qo(t,e,r,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?I0(t,e,r,i):typeof e=="string"?B0(t,e,r):N0(t,e)}function Ko(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function P0(t,e,r,i){return Ko(e),e<=0?fn(t,e):r!==void 0?typeof i=="string"?fn(t,e).fill(r,i):fn(t,e).fill(r):fn(t,e)}function Qu(t,e){if(Ko(e),t=fn(t,e<0?0:Zu(e)|0),!Re.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function B0(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!Re.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=Zo(e,r)|0;t=fn(t,i);var p=t.write(e,r);return p!==i&&(t=t.slice(0,p)),t}function Ku(t,e){var r=e.length<0?0:Zu(e.length)|0;t=fn(t,r);for(var i=0;i<r;i+=1)t[i]=e[i]&255;return t}function I0(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return r===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,i),Re.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=Re.prototype):t=Ku(t,e),t}function N0(t,e){if(Kr(e)){var r=Zu(e.length)|0;return t=fn(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||Z0(e.length)?fn(t,0):Ku(t,e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ku(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Zu(t){if(t>=Ss())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ss().toString(16)+" bytes");return t|0}function Kr(t){return!!(t!=null&&t._isBuffer)}function Zo(t,e){if(Kr(t))return t.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return ks(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ol(t).length;default:if(i)return ks(t).length;e=(""+e).toLowerCase(),i=!0}}function L0(t,e,r){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return W0(this,e,r);case"utf8":case"utf-8":return nl(this,e,r);case"ascii":return G0(this,e,r);case"latin1":case"binary":return q0(this,e,r);case"base64":return V0(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J0(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function Mn(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function el(t,e,r,i,p){if(t.length===0)return-1;if(typeof r=="string"?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=p?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(p)return-1;r=t.length-1}else if(r<0)if(p)r=0;else return-1;if(typeof e=="string"&&(e=Re.from(e,i)),Kr(e))return e.length===0?-1:tl(t,e,r,i,p);if(typeof e=="number")return e=e&255,Re.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?p?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):tl(t,[e],r,i,p);throw new TypeError("val must be string, number or Buffer")}function tl(t,e,r,i,p){var k=1,B=t.length,se=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return-1;k=2,B/=2,se/=2,r/=2}function ye(Dt,Et){return k===1?Dt[Et]:Dt.readUInt16BE(Et*k)}var je;if(p){var Je=-1;for(je=r;je<B;je++)if(ye(t,je)===ye(e,Je===-1?0:je-Je)){if(Je===-1&&(Je=je),je-Je+1===se)return Je*k}else Je!==-1&&(je-=je-Je),Je=-1}else for(r+se>B&&(r=B-se),je=r;je>=0;je--){for(var Xe=!0,dt=0;dt<se;dt++)if(ye(t,je+dt)!==ye(e,dt)){Xe=!1;break}if(Xe)return je}return-1}function O0(t,e,r,i){r=Number(r)||0;var p=t.length-r;i?(i=Number(i),i>p&&(i=p)):i=p;var k=e.length;if(k%2!=0)throw new TypeError("Invalid hex string");i>k/2&&(i=k/2);for(var B=0;B<i;++B){var se=parseInt(e.substr(B*2,2),16);if(isNaN(se))return B;t[r+B]=se}return B}function R0(t,e,r,i){return _s(ks(e,t.length-r),t,r,i)}function rl(t,e,r,i){return _s(Q0(e),t,r,i)}function j0(t,e,r,i){return rl(t,e,r,i)}function M0(t,e,r,i){return _s(ol(e),t,r,i)}function $0(t,e,r,i){return _s(K0(e,t.length-r),t,r,i)}function V0(t,e,r){return e===0&&r===t.length?Ho(t):Ho(t.slice(e,r))}function nl(t,e,r){r=Math.min(t.length,r);for(var i=[],p=e;p<r;){var k=t[p],B=null,se=k>239?4:k>223?3:k>191?2:1;if(p+se<=r){var ye,je,Je,Xe;switch(se){case 1:k<128&&(B=k);break;case 2:ye=t[p+1],(ye&192)==128&&(Xe=(k&31)<<6|ye&63,Xe>127&&(B=Xe));break;case 3:ye=t[p+1],je=t[p+2],(ye&192)==128&&(je&192)==128&&(Xe=(k&15)<<12|(ye&63)<<6|je&63,Xe>2047&&(Xe<55296||Xe>57343)&&(B=Xe));break;case 4:ye=t[p+1],je=t[p+2],Je=t[p+3],(ye&192)==128&&(je&192)==128&&(Je&192)==128&&(Xe=(k&15)<<18|(ye&63)<<12|(je&63)<<6|Je&63,Xe>65535&&Xe<1114112&&(B=Xe))}}B===null?(B=65533,se=1):B>65535&&(B-=65536,i.push(B>>>10&1023|55296),B=56320|B&1023),i.push(B),p+=se}return U0(i)}function U0(t){var e=t.length;if(e<=il)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=il));return r}function G0(t,e,r){var i="";r=Math.min(t.length,r);for(var p=e;p<r;++p)i+=String.fromCharCode(t[p]&127);return i}function q0(t,e,r){var i="";r=Math.min(t.length,r);for(var p=e;p<r;++p)i+=String.fromCharCode(t[p]);return i}function W0(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var p="",k=e;k<r;++k)p+=H0(t[k]);return p}function J0(t,e,r){for(var i=t.slice(e,r),p="",k=0;k<i.length;k+=2)p+=String.fromCharCode(i[k]+i[k+1]*256);return p}function mr(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function Pr(t,e,r,i,p,k){if(!Kr(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>p||e<k)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}function ws(t,e,r,i){e<0&&(e=65535+e+1);for(var p=0,k=Math.min(t.length-r,2);p<k;++p)t[r+p]=(e&255<<8*(i?p:1-p))>>>(i?p:1-p)*8}function Ts(t,e,r,i){e<0&&(e=4294967295+e+1);for(var p=0,k=Math.min(t.length-r,4);p<k;++p)t[r+p]=e>>>(i?p:3-p)*8&255}function sl(t,e,r,i,p,k){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ul(t,e,r,i,p){return p||sl(t,e,r,4,34028234663852886e22,-34028234663852886e22),cl(t,e,r,i,23,4),r+4}function al(t,e,r,i,p){return p||sl(t,e,r,8,17976931348623157e292,-17976931348623157e292),cl(t,e,r,i,52,8),r+8}function X0(t){if(t=z0(t).replace(Y0,""),t.length<2)return"";for(;t.length%4!=0;)t=t+"=";return t}function z0(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H0(t){return t<16?"0"+t.toString(16):t.toString(16)}function ks(t,e){e=e||1/0;for(var r,i=t.length,p=null,k=[],B=0;B<i;++B){if(r=t.charCodeAt(B),r>55295&&r<57344){if(!p){if(r>56319){(e-=3)>-1&&k.push(239,191,189);continue}else if(B+1===i){(e-=3)>-1&&k.push(239,191,189);continue}p=r;continue}if(r<56320){(e-=3)>-1&&k.push(239,191,189),p=r;continue}r=(p-55296<<10|r-56320)+65536}else p&&(e-=3)>-1&&k.push(239,191,189);if(p=null,r<128){if((e-=1)<0)break;k.push(r)}else if(r<2048){if((e-=2)<0)break;k.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;k.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;k.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return k}function Q0(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function K0(t,e){for(var r,i,p,k=[],B=0;B<t.length&&!((e-=2)<0);++B)r=t.charCodeAt(B),i=r>>8,p=r%256,k.push(p),k.push(i);return k}function ol(t){return T0(X0(t))}function _s(t,e,r,i){for(var p=0;p<i&&!(p+r>=e.length||p>=t.length);++p)e[p+r]=t[p];return p}function Z0(t){return t!==t}function em(t){return t!=null&&(!!t._isBuffer||ll(t)||tm(t))}function ll(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function tm(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&ll(t.slice(0,0))}function Ps(t,e,r,i,p){var k,B,se=p*8-i-1,ye=(1<<se)-1,je=ye>>1,Je=-7,Xe=r?p-1:0,dt=r?-1:1,Dt=t[e+Xe];for(Xe+=dt,k=Dt&(1<<-Je)-1,Dt>>=-Je,Je+=se;Je>0;k=k*256+t[e+Xe],Xe+=dt,Je-=8);for(B=k&(1<<-Je)-1,k>>=-Je,Je+=i;Je>0;B=B*256+t[e+Xe],Xe+=dt,Je-=8);if(k===0)k=1-je;else{if(k===ye)return B?NaN:(Dt?-1:1)*(1/0);B=B+Math.pow(2,i),k=k-je}return(Dt?-1:1)*B*Math.pow(2,k-i)}function cl(t,e,r,i,p,k){var B,se,ye,je=k*8-p-1,Je=(1<<je)-1,Xe=Je>>1,dt=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,Dt=i?0:k-1,Et=i?1:-1,It=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(se=isNaN(e)?1:0,B=Je):(B=Math.floor(Math.log(e)/Math.LN2),e*(ye=Math.pow(2,-B))<1&&(B--,ye*=2),B+Xe>=1?e+=dt/ye:e+=dt*Math.pow(2,1-Xe),e*ye>=2&&(B++,ye/=2),B+Xe>=Je?(se=0,B=Je):B+Xe>=1?(se=(e*ye-1)*Math.pow(2,p),B=B+Xe):(se=e*Math.pow(2,Xe-1)*Math.pow(2,p),B=0));p>=8;t[r+Dt]=se&255,Dt+=Et,se/=256,p-=8);for(B=B<<p|se,je+=p;je>0;t[r+Dt]=B&255,Dt+=Et,B/=256,je-=8);t[r+Dt-Et]|=It*128}var Qr,$r,w0,Hu,il,Y0,pl=vn(()=>{Ze();et();Qr=[],$r=[],w0=typeof Uint8Array!="undefined"?Uint8Array:Array,Hu=!1;Re.TYPED_ARRAY_SUPPORT=window.TYPED_ARRAY_SUPPORT!==void 0?window.TYPED_ARRAY_SUPPORT:!0;Re.poolSize=8192;Re._augment=function(t){return t.__proto__=Re.prototype,t};Re.from=function(t,e,r){return Qo(null,t,e,r)};Re.kMaxLength=Ss();Re.TYPED_ARRAY_SUPPORT&&(Re.prototype.__proto__=Uint8Array.prototype,Re.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&Re[Symbol.species]===Re);Re.alloc=function(t,e,r){return P0(null,t,e,r)};Re.allocUnsafe=function(t){return Qu(null,t)};Re.allocUnsafeSlow=function(t){return Qu(null,t)};Re.isBuffer=em;Re.compare=function(e,r){if(!Kr(e)||!Kr(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var i=e.length,p=r.length,k=0,B=Math.min(i,p);k<B;++k)if(e[k]!==r[k]){i=e[k],p=r[k];break}return i<p?-1:p<i?1:0};Re.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Re.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return Re.alloc(0);var i;if(r===void 0)for(r=0,i=0;i<e.length;++i)r+=e[i].length;var p=Re.allocUnsafe(r),k=0;for(i=0;i<e.length;++i){var B=e[i];if(!Kr(B))throw new TypeError('"list" argument must be an Array of Buffers');B.copy(p,k),k+=B.length}return p};Re.byteLength=Zo;Re.prototype._isBuffer=!0;Re.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)Mn(this,r,r+1);return this};Re.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)Mn(this,r,r+3),Mn(this,r+1,r+2);return this};Re.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)Mn(this,r,r+7),Mn(this,r+1,r+6),Mn(this,r+2,r+5),Mn(this,r+3,r+4);return this};Re.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?nl(this,0,e):L0.apply(this,arguments)};Re.prototype.equals=function(e){if(!Kr(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:Re.compare(this,e)===0};Re.prototype.compare=function(e,r,i,p,k){if(!Kr(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),i===void 0&&(i=e?e.length:0),p===void 0&&(p=0),k===void 0&&(k=this.length),r<0||i>e.length||p<0||k>this.length)throw new RangeError("out of range index");if(p>=k&&r>=i)return 0;if(p>=k)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,p>>>=0,k>>>=0,this===e)return 0;for(var B=k-p,se=i-r,ye=Math.min(B,se),je=this.slice(p,k),Je=e.slice(r,i),Xe=0;Xe<ye;++Xe)if(je[Xe]!==Je[Xe]){B=je[Xe],se=Je[Xe];break}return B<se?-1:se<B?1:0};Re.prototype.includes=function(e,r,i){return this.indexOf(e,r,i)!==-1};Re.prototype.indexOf=function(e,r,i){return el(this,e,r,i,!0)};Re.prototype.lastIndexOf=function(e,r,i){return el(this,e,r,i,!1)};Re.prototype.write=function(e,r,i,p){if(r===void 0)p="utf8",i=this.length,r=0;else if(i===void 0&&typeof r=="string")p=r,i=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(i)?(i=i|0,p===void 0&&(p="utf8")):(p=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var k=this.length-r;if((i===void 0||i>k)&&(i=k),e.length>0&&(i<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");p||(p="utf8");for(var B=!1;;)switch(p){case"hex":return O0(this,e,r,i);case"utf8":case"utf-8":return R0(this,e,r,i);case"ascii":return rl(this,e,r,i);case"latin1":case"binary":return j0(this,e,r,i);case"base64":return M0(this,e,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $0(this,e,r,i);default:if(B)throw new TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),B=!0}};Re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};il=4096;Re.prototype.slice=function(e,r){var i=this.length;e=~~e,r=r===void 0?i:~~r,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),r<e&&(r=e);var p;if(Re.TYPED_ARRAY_SUPPORT)p=this.subarray(e,r),p.__proto__=Re.prototype;else{var k=r-e;p=new Re(k,void 0);for(var B=0;B<k;++B)p[B]=this[B+e]}return p};Re.prototype.readUIntLE=function(e,r,i){e=e|0,r=r|0,i||mr(e,r,this.length);for(var p=this[e],k=1,B=0;++B<r&&(k*=256);)p+=this[e+B]*k;return p};Re.prototype.readUIntBE=function(e,r,i){e=e|0,r=r|0,i||mr(e,r,this.length);for(var p=this[e+--r],k=1;r>0&&(k*=256);)p+=this[e+--r]*k;return p};Re.prototype.readUInt8=function(e,r){return r||mr(e,1,this.length),this[e]};Re.prototype.readUInt16LE=function(e,r){return r||mr(e,2,this.length),this[e]|this[e+1]<<8};Re.prototype.readUInt16BE=function(e,r){return r||mr(e,2,this.length),this[e]<<8|this[e+1]};Re.prototype.readUInt32LE=function(e,r){return r||mr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};Re.prototype.readUInt32BE=function(e,r){return r||mr(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};Re.prototype.readIntLE=function(e,r,i){e=e|0,r=r|0,i||mr(e,r,this.length);for(var p=this[e],k=1,B=0;++B<r&&(k*=256);)p+=this[e+B]*k;return k*=128,p>=k&&(p-=Math.pow(2,8*r)),p};Re.prototype.readIntBE=function(e,r,i){e=e|0,r=r|0,i||mr(e,r,this.length);for(var p=r,k=1,B=this[e+--p];p>0&&(k*=256);)B+=this[e+--p]*k;return k*=128,B>=k&&(B-=Math.pow(2,8*r)),B};Re.prototype.readInt8=function(e,r){return r||mr(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};Re.prototype.readInt16LE=function(e,r){r||mr(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};Re.prototype.readInt16BE=function(e,r){r||mr(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};Re.prototype.readInt32LE=function(e,r){return r||mr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};Re.prototype.readInt32BE=function(e,r){return r||mr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};Re.prototype.readFloatLE=function(e,r){return r||mr(e,4,this.length),Ps(this,e,!0,23,4)};Re.prototype.readFloatBE=function(e,r){return r||mr(e,4,this.length),Ps(this,e,!1,23,4)};Re.prototype.readDoubleLE=function(e,r){return r||mr(e,8,this.length),Ps(this,e,!0,52,8)};Re.prototype.readDoubleBE=function(e,r){return r||mr(e,8,this.length),Ps(this,e,!1,52,8)};Re.prototype.writeUIntLE=function(e,r,i,p){if(e=+e,r=r|0,i=i|0,!p){var k=Math.pow(2,8*i)-1;Pr(this,e,r,i,k,0)}var B=1,se=0;for(this[r]=e&255;++se<i&&(B*=256);)this[r+se]=e/B&255;return r+i};Re.prototype.writeUIntBE=function(e,r,i,p){if(e=+e,r=r|0,i=i|0,!p){var k=Math.pow(2,8*i)-1;Pr(this,e,r,i,k,0)}var B=i-1,se=1;for(this[r+B]=e&255;--B>=0&&(se*=256);)this[r+B]=e/se&255;return r+i};Re.prototype.writeUInt8=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,1,255,0),Re.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};Re.prototype.writeUInt16LE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,2,65535,0),Re.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):ws(this,e,r,!0),r+2};Re.prototype.writeUInt16BE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,2,65535,0),Re.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):ws(this,e,r,!1),r+2};Re.prototype.writeUInt32LE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,4,4294967295,0),Re.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):Ts(this,e,r,!0),r+4};Re.prototype.writeUInt32BE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,4,4294967295,0),Re.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Ts(this,e,r,!1),r+4};Re.prototype.writeIntLE=function(e,r,i,p){if(e=+e,r=r|0,!p){var k=Math.pow(2,8*i-1);Pr(this,e,r,i,k-1,-k)}var B=0,se=1,ye=0;for(this[r]=e&255;++B<i&&(se*=256);)e<0&&ye===0&&this[r+B-1]!==0&&(ye=1),this[r+B]=(e/se>>0)-ye&255;return r+i};Re.prototype.writeIntBE=function(e,r,i,p){if(e=+e,r=r|0,!p){var k=Math.pow(2,8*i-1);Pr(this,e,r,i,k-1,-k)}var B=i-1,se=1,ye=0;for(this[r+B]=e&255;--B>=0&&(se*=256);)e<0&&ye===0&&this[r+B+1]!==0&&(ye=1),this[r+B]=(e/se>>0)-ye&255;return r+i};Re.prototype.writeInt8=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,1,127,-128),Re.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1};Re.prototype.writeInt16LE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,2,32767,-32768),Re.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):ws(this,e,r,!0),r+2};Re.prototype.writeInt16BE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,2,32767,-32768),Re.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):ws(this,e,r,!1),r+2};Re.prototype.writeInt32LE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,4,2147483647,-2147483648),Re.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):Ts(this,e,r,!0),r+4};Re.prototype.writeInt32BE=function(e,r,i){return e=+e,r=r|0,i||Pr(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Re.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Ts(this,e,r,!1),r+4};Re.prototype.writeFloatLE=function(e,r,i){return ul(this,e,r,!0,i)};Re.prototype.writeFloatBE=function(e,r,i){return ul(this,e,r,!1,i)};Re.prototype.writeDoubleLE=function(e,r,i){return al(this,e,r,!0,i)};Re.prototype.writeDoubleBE=function(e,r,i){return al(this,e,r,!1,i)};Re.prototype.copy=function(e,r,i,p){if(i||(i=0),!p&&p!==0&&(p=this.length),r>=e.length&&(r=e.length),r||(r=0),p>0&&p<i&&(p=i),p===i||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(p<0)throw new RangeError("sourceEnd out of bounds");p>this.length&&(p=this.length),e.length-r<p-i&&(p=e.length-r+i);var k=p-i,B;if(this===e&&i<r&&r<p)for(B=k-1;B>=0;--B)e[B+r]=this[B+i];else if(k<1e3||!Re.TYPED_ARRAY_SUPPORT)for(B=0;B<k;++B)e[B+r]=this[B+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+k),r);return k};Re.prototype.fill=function(e,r,i,p){if(typeof e=="string"){if(typeof r=="string"?(p=r,r=0,i=this.length):typeof i=="string"&&(p=i,i=this.length),e.length===1){var k=e.charCodeAt(0);k<256&&(e=k)}if(p!==void 0&&typeof p!="string")throw new TypeError("encoding must be a string");if(typeof p=="string"&&!Re.isEncoding(p))throw new TypeError("Unknown encoding: "+p)}else typeof e=="number"&&(e=e&255);if(r<0||this.length<r||this.length<i)throw new RangeError("Out of range index");if(i<=r)return this;r=r>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var B;if(typeof e=="number")for(B=r;B<i;++B)this[B]=e;else{var se=Kr(e)?e:ks(new Re(e,p).toString()),ye=se.length;for(B=0;B<i-r;++B)this[B+r]=se[B%ye]}return this};Y0=/[^+\/0-9A-Za-z-_]/g});var et=vn(()=>{pl()});function fl(){ea=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)Zr[e]=t[e],Vr[t.charCodeAt(e)]=e;Vr["-".charCodeAt(0)]=62,Vr["_".charCodeAt(0)]=63}function nm(t){ea||fl();var e,r,i,p,k,B,se=t.length;if(se%4>0)throw new Error("Invalid string. Length must be a multiple of 4");k=t[se-2]==="="?2:t[se-1]==="="?1:0,B=new rm(se*3/4-k),i=k>0?se-4:se;var ye=0;for(e=0,r=0;e<i;e+=4,r+=3)p=Vr[t.charCodeAt(e)]<<18|Vr[t.charCodeAt(e+1)]<<12|Vr[t.charCodeAt(e+2)]<<6|Vr[t.charCodeAt(e+3)],B[ye++]=p>>16&255,B[ye++]=p>>8&255,B[ye++]=p&255;return k===2?(p=Vr[t.charCodeAt(e)]<<2|Vr[t.charCodeAt(e+1)]>>4,B[ye++]=p&255):k===1&&(p=Vr[t.charCodeAt(e)]<<10|Vr[t.charCodeAt(e+1)]<<4|Vr[t.charCodeAt(e+2)]>>2,B[ye++]=p>>8&255,B[ye++]=p&255),B}function im(t){return Zr[t>>18&63]+Zr[t>>12&63]+Zr[t>>6&63]+Zr[t&63]}function sm(t,e,r){for(var i,p=[],k=e;k<r;k+=3)i=(t[k]<<16)+(t[k+1]<<8)+t[k+2],p.push(im(i));return p.join("")}function hl(t){ea||fl();for(var e,r=t.length,i=r%3,p="",k=[],B=16383,se=0,ye=r-i;se<ye;se+=B)k.push(sm(t,se,se+B>ye?ye:se+B));return i===1?(e=t[r-1],p+=Zr[e>>2],p+=Zr[e<<4&63],p+="=="):i===2&&(e=(t[r-2]<<8)+t[r-1],p+=Zr[e>>10],p+=Zr[e>>4&63],p+=Zr[e<<2&63],p+="="),k.push(p),k.join("")}function Bs(t,e,r,i,p){var k,B,se=p*8-i-1,ye=(1<<se)-1,je=ye>>1,Je=-7,Xe=r?p-1:0,dt=r?-1:1,Dt=t[e+Xe];for(Xe+=dt,k=Dt&(1<<-Je)-1,Dt>>=-Je,Je+=se;Je>0;k=k*256+t[e+Xe],Xe+=dt,Je-=8);for(B=k&(1<<-Je)-1,k>>=-Je,Je+=i;Je>0;B=B*256+t[e+Xe],Xe+=dt,Je-=8);if(k===0)k=1-je;else{if(k===ye)return B?NaN:(Dt?-1:1)*(1/0);B=B+Math.pow(2,i),k=k-je}return(Dt?-1:1)*B*Math.pow(2,k-i)}function dl(t,e,r,i,p,k){var B,se,ye,je=k*8-p-1,Je=(1<<je)-1,Xe=Je>>1,dt=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,Dt=i?0:k-1,Et=i?1:-1,It=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(se=isNaN(e)?1:0,B=Je):(B=Math.floor(Math.log(e)/Math.LN2),e*(ye=Math.pow(2,-B))<1&&(B--,ye*=2),B+Xe>=1?e+=dt/ye:e+=dt*Math.pow(2,1-Xe),e*ye>=2&&(B++,ye/=2),B+Xe>=Je?(se=0,B=Je):B+Xe>=1?(se=(e*ye-1)*Math.pow(2,p),B=B+Xe):(se=e*Math.pow(2,Xe-1)*Math.pow(2,p),B=0));p>=8;t[r+Dt]=se&255,Dt+=Et,se/=256,p-=8);for(B=B<<p|se,je+=p;je>0;t[r+Dt]=B&255,Dt+=Et,B/=256,je-=8);t[r+Dt-Et]|=It*128}function Is(){return nt.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function hn(t,e){if(Is()<e)throw new RangeError("Invalid typed array length");return nt.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=nt.prototype):(t===null&&(t=new nt(e)),t.length=e),t}function nt(t,e,r){if(!nt.TYPED_ARRAY_SUPPORT&&!(this instanceof nt))return new nt(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return ta(this,t)}return gl(this,t,e,r)}function gl(t,e,r,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?cm(t,e,r,i):typeof e=="string"?lm(t,e,r):pm(t,e)}function yl(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function om(t,e,r,i){return yl(e),e<=0?hn(t,e):r!==void 0?typeof i=="string"?hn(t,e).fill(r,i):hn(t,e).fill(r):hn(t,e)}function ta(t,e){if(yl(e),t=hn(t,e<0?0:na(e)|0),!nt.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function lm(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!nt.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=Dl(e,r)|0;t=hn(t,i);var p=t.write(e,r);return p!==i&&(t=t.slice(0,p)),t}function ra(t,e){var r=e.length<0?0:na(e.length)|0;t=hn(t,r);for(var i=0;i<r;i+=1)t[i]=e[i]&255;return t}function cm(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return r===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,i),nt.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=nt.prototype):t=ra(t,e),t}function pm(t,e){if(en(e)){var r=na(e.length)|0;return t=hn(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||_m(e.length)?hn(t,0):ra(t,e);if(e.type==="Buffer"&&ml(e.data))return ra(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function na(t){if(t>=Is())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Is().toString(16)+" bytes");return t|0}function en(t){return!!(t!=null&&t._isBuffer)}function Dl(t,e){if(en(t))return t.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Os(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return wl(t).length;default:if(i)return Os(t).length;e=(""+e).toLowerCase(),i=!0}}function fm(t,e,r){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Cm(this,e,r);case"utf8":case"utf-8":return Cl(this,e,r);case"ascii":return xm(this,e,r);case"latin1":case"binary":return vm(this,e,r);case"base64":return Dm(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bm(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function $n(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function El(t,e,r,i,p){if(t.length===0)return-1;if(typeof r=="string"?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=p?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(p)return-1;r=t.length-1}else if(r<0)if(p)r=0;else return-1;if(typeof e=="string"&&(e=nt.from(e,i)),en(e))return e.length===0?-1:xl(t,e,r,i,p);if(typeof e=="number")return e=e&255,nt.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?p?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):xl(t,[e],r,i,p);throw new TypeError("val must be string, number or Buffer")}function xl(t,e,r,i,p){var k=1,B=t.length,se=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return-1;k=2,B/=2,se/=2,r/=2}function ye(Dt,Et){return k===1?Dt[Et]:Dt.readUInt16BE(Et*k)}var je;if(p){var Je=-1;for(je=r;je<B;je++)if(ye(t,je)===ye(e,Je===-1?0:je-Je)){if(Je===-1&&(Je=je),je-Je+1===se)return Je*k}else Je!==-1&&(je-=je-Je),Je=-1}else for(r+se>B&&(r=B-se),je=r;je>=0;je--){for(var Xe=!0,dt=0;dt<se;dt++)if(ye(t,je+dt)!==ye(e,dt)){Xe=!1;break}if(Xe)return je}return-1}function hm(t,e,r,i){r=Number(r)||0;var p=t.length-r;i?(i=Number(i),i>p&&(i=p)):i=p;var k=e.length;if(k%2!=0)throw new TypeError("Invalid hex string");i>k/2&&(i=k/2);for(var B=0;B<i;++B){var se=parseInt(e.substr(B*2,2),16);if(isNaN(se))return B;t[r+B]=se}return B}function dm(t,e,r,i){return Rs(Os(e,t.length-r),t,r,i)}function vl(t,e,r,i){return Rs(Tm(e),t,r,i)}function mm(t,e,r,i){return vl(t,e,r,i)}function gm(t,e,r,i){return Rs(wl(e),t,r,i)}function ym(t,e,r,i){return Rs(km(e,t.length-r),t,r,i)}function Dm(t,e,r){return e===0&&r===t.length?hl(t):hl(t.slice(e,r))}function Cl(t,e,r){r=Math.min(t.length,r);for(var i=[],p=e;p<r;){var k=t[p],B=null,se=k>239?4:k>223?3:k>191?2:1;if(p+se<=r){var ye,je,Je,Xe;switch(se){case 1:k<128&&(B=k);break;case 2:ye=t[p+1],(ye&192)==128&&(Xe=(k&31)<<6|ye&63,Xe>127&&(B=Xe));break;case 3:ye=t[p+1],je=t[p+2],(ye&192)==128&&(je&192)==128&&(Xe=(k&15)<<12|(ye&63)<<6|je&63,Xe>2047&&(Xe<55296||Xe>57343)&&(B=Xe));break;case 4:ye=t[p+1],je=t[p+2],Je=t[p+3],(ye&192)==128&&(je&192)==128&&(Je&192)==128&&(Xe=(k&15)<<18|(ye&63)<<12|(je&63)<<6|Je&63,Xe>65535&&Xe<1114112&&(B=Xe))}}B===null?(B=65533,se=1):B>65535&&(B-=65536,i.push(B>>>10&1023|55296),B=56320|B&1023),i.push(B),p+=se}return Em(i)}function Em(t){var e=t.length;if(e<=bl)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=bl));return r}function xm(t,e,r){var i="";r=Math.min(t.length,r);for(var p=e;p<r;++p)i+=String.fromCharCode(t[p]&127);return i}function vm(t,e,r){var i="";r=Math.min(t.length,r);for(var p=e;p<r;++p)i+=String.fromCharCode(t[p]);return i}function Cm(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var p="",k=e;k<r;++k)p+=wm(t[k]);return p}function bm(t,e,r){for(var i=t.slice(e,r),p="",k=0;k<i.length;k+=2)p+=String.fromCharCode(i[k]+i[k+1]*256);return p}function gr(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function Br(t,e,r,i,p,k){if(!en(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>p||e<k)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}function Ns(t,e,r,i){e<0&&(e=65535+e+1);for(var p=0,k=Math.min(t.length-r,2);p<k;++p)t[r+p]=(e&255<<8*(i?p:1-p))>>>(i?p:1-p)*8}function Ls(t,e,r,i){e<0&&(e=4294967295+e+1);for(var p=0,k=Math.min(t.length-r,4);p<k;++p)t[r+p]=e>>>(i?p:3-p)*8&255}function Al(t,e,r,i,p,k){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Fl(t,e,r,i,p){return p||Al(t,e,r,4),dl(t,e,r,i,23,4),r+4}function Sl(t,e,r,i,p){return p||Al(t,e,r,8),dl(t,e,r,i,52,8),r+8}function Fm(t){if(t=Sm(t).replace(Am,""),t.length<2)return"";for(;t.length%4!=0;)t=t+"=";return t}function Sm(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function wm(t){return t<16?"0"+t.toString(16):t.toString(16)}function Os(t,e){e=e||1/0;for(var r,i=t.length,p=null,k=[],B=0;B<i;++B){if(r=t.charCodeAt(B),r>55295&&r<57344){if(!p){if(r>56319){(e-=3)>-1&&k.push(239,191,189);continue}else if(B+1===i){(e-=3)>-1&&k.push(239,191,189);continue}p=r;continue}if(r<56320){(e-=3)>-1&&k.push(239,191,189),p=r;continue}r=(p-55296<<10|r-56320)+65536}else p&&(e-=3)>-1&&k.push(239,191,189);if(p=null,r<128){if((e-=1)<0)break;k.push(r)}else if(r<2048){if((e-=2)<0)break;k.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;k.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;k.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return k}function Tm(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function km(t,e){for(var r,i,p,k=[],B=0;B<t.length&&!((e-=2)<0);++B)r=t.charCodeAt(B),i=r>>8,p=r%256,k.push(p),k.push(i);return k}function wl(t){return nm(Fm(t))}function Rs(t,e,r,i){for(var p=0;p<i&&!(p+r>=e.length||p>=t.length);++p)e[p+r]=t[p];return p}function _m(t){return t!==t}function Vn(t){return t!=null&&(!!t._isBuffer||Tl(t)||Pm(t))}function Tl(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Pm(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Tl(t.slice(0,0))}var Zr,Vr,rm,ea,um,ml,am,tD,bl,Am,kl=vn(()=>{Ze();et();Zr=[],Vr=[],rm=typeof Uint8Array!="undefined"?Uint8Array:Array,ea=!1;um={}.toString,ml=Array.isArray||function(t){return um.call(t)=="[object Array]"};am=50;nt.TYPED_ARRAY_SUPPORT=window.TYPED_ARRAY_SUPPORT!==void 0?window.TYPED_ARRAY_SUPPORT:!0;tD=Is();nt.poolSize=8192;nt._augment=function(t){return t.__proto__=nt.prototype,t};nt.from=function(t,e,r){return gl(null,t,e,r)};nt.TYPED_ARRAY_SUPPORT&&(nt.prototype.__proto__=Uint8Array.prototype,nt.__proto__=Uint8Array);nt.alloc=function(t,e,r){return om(null,t,e,r)};nt.allocUnsafe=function(t){return ta(null,t)};nt.allocUnsafeSlow=function(t){return ta(null,t)};nt.isBuffer=Vn;nt.compare=function(e,r){if(!en(e)||!en(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var i=e.length,p=r.length,k=0,B=Math.min(i,p);k<B;++k)if(e[k]!==r[k]){i=e[k],p=r[k];break}return i<p?-1:p<i?1:0};nt.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};nt.concat=function(e,r){if(!ml(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return nt.alloc(0);var i;if(r===void 0)for(r=0,i=0;i<e.length;++i)r+=e[i].length;var p=nt.allocUnsafe(r),k=0;for(i=0;i<e.length;++i){var B=e[i];if(!en(B))throw new TypeError('"list" argument must be an Array of Buffers');B.copy(p,k),k+=B.length}return p};nt.byteLength=Dl;nt.prototype._isBuffer=!0;nt.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)$n(this,r,r+1);return this};nt.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)$n(this,r,r+3),$n(this,r+1,r+2);return this};nt.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)$n(this,r,r+7),$n(this,r+1,r+6),$n(this,r+2,r+5),$n(this,r+3,r+4);return this};nt.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?Cl(this,0,e):fm.apply(this,arguments)};nt.prototype.equals=function(e){if(!en(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:nt.compare(this,e)===0};nt.prototype.inspect=function(){var e="",r=am;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"};nt.prototype.compare=function(e,r,i,p,k){if(!en(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),i===void 0&&(i=e?e.length:0),p===void 0&&(p=0),k===void 0&&(k=this.length),r<0||i>e.length||p<0||k>this.length)throw new RangeError("out of range index");if(p>=k&&r>=i)return 0;if(p>=k)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,p>>>=0,k>>>=0,this===e)return 0;for(var B=k-p,se=i-r,ye=Math.min(B,se),je=this.slice(p,k),Je=e.slice(r,i),Xe=0;Xe<ye;++Xe)if(je[Xe]!==Je[Xe]){B=je[Xe],se=Je[Xe];break}return B<se?-1:se<B?1:0};nt.prototype.includes=function(e,r,i){return this.indexOf(e,r,i)!==-1};nt.prototype.indexOf=function(e,r,i){return El(this,e,r,i,!0)};nt.prototype.lastIndexOf=function(e,r,i){return El(this,e,r,i,!1)};nt.prototype.write=function(e,r,i,p){if(r===void 0)p="utf8",i=this.length,r=0;else if(i===void 0&&typeof r=="string")p=r,i=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(i)?(i=i|0,p===void 0&&(p="utf8")):(p=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var k=this.length-r;if((i===void 0||i>k)&&(i=k),e.length>0&&(i<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");p||(p="utf8");for(var B=!1;;)switch(p){case"hex":return hm(this,e,r,i);case"utf8":case"utf-8":return dm(this,e,r,i);case"ascii":return vl(this,e,r,i);case"latin1":case"binary":return mm(this,e,r,i);case"base64":return gm(this,e,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ym(this,e,r,i);default:if(B)throw new TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),B=!0}};nt.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};bl=4096;nt.prototype.slice=function(e,r){var i=this.length;e=~~e,r=r===void 0?i:~~r,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),r<e&&(r=e);var p;if(nt.TYPED_ARRAY_SUPPORT)p=this.subarray(e,r),p.__proto__=nt.prototype;else{var k=r-e;p=new nt(k,void 0);for(var B=0;B<k;++B)p[B]=this[B+e]}return p};nt.prototype.readUIntLE=function(e,r,i){e=e|0,r=r|0,i||gr(e,r,this.length);for(var p=this[e],k=1,B=0;++B<r&&(k*=256);)p+=this[e+B]*k;return p};nt.prototype.readUIntBE=function(e,r,i){e=e|0,r=r|0,i||gr(e,r,this.length);for(var p=this[e+--r],k=1;r>0&&(k*=256);)p+=this[e+--r]*k;return p};nt.prototype.readUInt8=function(e,r){return r||gr(e,1,this.length),this[e]};nt.prototype.readUInt16LE=function(e,r){return r||gr(e,2,this.length),this[e]|this[e+1]<<8};nt.prototype.readUInt16BE=function(e,r){return r||gr(e,2,this.length),this[e]<<8|this[e+1]};nt.prototype.readUInt32LE=function(e,r){return r||gr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};nt.prototype.readUInt32BE=function(e,r){return r||gr(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};nt.prototype.readIntLE=function(e,r,i){e=e|0,r=r|0,i||gr(e,r,this.length);for(var p=this[e],k=1,B=0;++B<r&&(k*=256);)p+=this[e+B]*k;return k*=128,p>=k&&(p-=Math.pow(2,8*r)),p};nt.prototype.readIntBE=function(e,r,i){e=e|0,r=r|0,i||gr(e,r,this.length);for(var p=r,k=1,B=this[e+--p];p>0&&(k*=256);)B+=this[e+--p]*k;return k*=128,B>=k&&(B-=Math.pow(2,8*r)),B};nt.prototype.readInt8=function(e,r){return r||gr(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};nt.prototype.readInt16LE=function(e,r){r||gr(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};nt.prototype.readInt16BE=function(e,r){r||gr(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};nt.prototype.readInt32LE=function(e,r){return r||gr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};nt.prototype.readInt32BE=function(e,r){return r||gr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};nt.prototype.readFloatLE=function(e,r){return r||gr(e,4,this.length),Bs(this,e,!0,23,4)};nt.prototype.readFloatBE=function(e,r){return r||gr(e,4,this.length),Bs(this,e,!1,23,4)};nt.prototype.readDoubleLE=function(e,r){return r||gr(e,8,this.length),Bs(this,e,!0,52,8)};nt.prototype.readDoubleBE=function(e,r){return r||gr(e,8,this.length),Bs(this,e,!1,52,8)};nt.prototype.writeUIntLE=function(e,r,i,p){if(e=+e,r=r|0,i=i|0,!p){var k=Math.pow(2,8*i)-1;Br(this,e,r,i,k,0)}var B=1,se=0;for(this[r]=e&255;++se<i&&(B*=256);)this[r+se]=e/B&255;return r+i};nt.prototype.writeUIntBE=function(e,r,i,p){if(e=+e,r=r|0,i=i|0,!p){var k=Math.pow(2,8*i)-1;Br(this,e,r,i,k,0)}var B=i-1,se=1;for(this[r+B]=e&255;--B>=0&&(se*=256);)this[r+B]=e/se&255;return r+i};nt.prototype.writeUInt8=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,1,255,0),nt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};nt.prototype.writeUInt16LE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,2,65535,0),nt.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):Ns(this,e,r,!0),r+2};nt.prototype.writeUInt16BE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,2,65535,0),nt.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):Ns(this,e,r,!1),r+2};nt.prototype.writeUInt32LE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,4,4294967295,0),nt.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):Ls(this,e,r,!0),r+4};nt.prototype.writeUInt32BE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,4,4294967295,0),nt.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Ls(this,e,r,!1),r+4};nt.prototype.writeIntLE=function(e,r,i,p){if(e=+e,r=r|0,!p){var k=Math.pow(2,8*i-1);Br(this,e,r,i,k-1,-k)}var B=0,se=1,ye=0;for(this[r]=e&255;++B<i&&(se*=256);)e<0&&ye===0&&this[r+B-1]!==0&&(ye=1),this[r+B]=(e/se>>0)-ye&255;return r+i};nt.prototype.writeIntBE=function(e,r,i,p){if(e=+e,r=r|0,!p){var k=Math.pow(2,8*i-1);Br(this,e,r,i,k-1,-k)}var B=i-1,se=1,ye=0;for(this[r+B]=e&255;--B>=0&&(se*=256);)e<0&&ye===0&&this[r+B+1]!==0&&(ye=1),this[r+B]=(e/se>>0)-ye&255;return r+i};nt.prototype.writeInt8=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,1,127,-128),nt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1};nt.prototype.writeInt16LE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,2,32767,-32768),nt.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):Ns(this,e,r,!0),r+2};nt.prototype.writeInt16BE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,2,32767,-32768),nt.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):Ns(this,e,r,!1),r+2};nt.prototype.writeInt32LE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,4,2147483647,-2147483648),nt.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):Ls(this,e,r,!0),r+4};nt.prototype.writeInt32BE=function(e,r,i){return e=+e,r=r|0,i||Br(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),nt.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Ls(this,e,r,!1),r+4};nt.prototype.writeFloatLE=function(e,r,i){return Fl(this,e,r,!0,i)};nt.prototype.writeFloatBE=function(e,r,i){return Fl(this,e,r,!1,i)};nt.prototype.writeDoubleLE=function(e,r,i){return Sl(this,e,r,!0,i)};nt.prototype.writeDoubleBE=function(e,r,i){return Sl(this,e,r,!1,i)};nt.prototype.copy=function(e,r,i,p){if(i||(i=0),!p&&p!==0&&(p=this.length),r>=e.length&&(r=e.length),r||(r=0),p>0&&p<i&&(p=i),p===i||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(p<0)throw new RangeError("sourceEnd out of bounds");p>this.length&&(p=this.length),e.length-r<p-i&&(p=e.length-r+i);var k=p-i,B;if(this===e&&i<r&&r<p)for(B=k-1;B>=0;--B)e[B+r]=this[B+i];else if(k<1e3||!nt.TYPED_ARRAY_SUPPORT)for(B=0;B<k;++B)e[B+r]=this[B+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+k),r);return k};nt.prototype.fill=function(e,r,i,p){if(typeof e=="string"){if(typeof r=="string"?(p=r,r=0,i=this.length):typeof i=="string"&&(p=i,i=this.length),e.length===1){var k=e.charCodeAt(0);k<256&&(e=k)}if(p!==void 0&&typeof p!="string")throw new TypeError("encoding must be a string");if(typeof p=="string"&&!nt.isEncoding(p))throw new TypeError("Unknown encoding: "+p)}else typeof e=="number"&&(e=e&255);if(r<0||this.length<r||this.length<i)throw new RangeError("Out of range index");if(i<=r)return this;r=r>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var B;if(typeof e=="number")for(B=r;B<i;++B)this[B]=e;else{var se=en(e)?e:Os(new nt(e,p).toString()),ye=se.length;for(B=0;B<i-r;++B)this[B+r]=se[B%ye]}return this};Am=/[^+\/0-9A-Za-z-_]/g});function Bm(){throw new Error("setTimeout has not been defined")}function Im(){throw new Error("clearTimeout has not been defined")}function Om(t,e){this.fun=t,this.array=e}var Nm,Lm,qi,nD,iD,_l=vn(()=>{Ze();et();Nm=Bm,Lm=Im;typeof window.setTimeout=="function"&&(Nm=setTimeout);typeof window.clearTimeout=="function"&&(Lm=clearTimeout);Om.prototype.run=function(){this.fun.apply(null,this.array)};qi=window.performance||{},nD=qi.now||qi.mozNow||qi.msNow||qi.oNow||qi.webkitNow||function(){return new Date().getTime()},iD=new Date});var ia,sa,Pl=vn(()=>{Ze();et();typeof Object.create=="function"?ia=function(e,r){e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:ia=function(e,r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e};sa=ia});function An(t,e){var r={seen:[],stylize:jm};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Bl(e)?r.showHidden=e:e&&Wm(r,e),pi(r.showHidden)&&(r.showHidden=!1),pi(r.depth)&&(r.depth=2),pi(r.colors)&&(r.colors=!1),pi(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Rm),js(r,t,r.depth)}function Rm(t,e){var r=An.styles[e];return r?"["+An.colors[r][0]+"m"+t+"["+An.colors[r][1]+"m":t}function jm(t,e){return t}function Mm(t){var e={};return t.forEach(function(r,i){e[r]=!0}),e}function js(t,e,r){if(t.customInspect&&e&&hi(e.inspect)&&e.inspect!==An&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(r,t);return Nl(i)||(i=js(t,i,r)),i}var p=$m(t,e);if(p)return p;var k=Object.keys(e),B=Mm(k);if(t.showHidden&&(k=Object.getOwnPropertyNames(e)),Ji(e)&&(k.indexOf("message")>=0||k.indexOf("description")>=0))return ua(e);if(k.length===0){if(hi(e)){var se=e.name?": "+e.name:"";return t.stylize("[Function"+se+"]","special")}if(fi(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(Wi(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Ji(e))return ua(e)}var ye="",je=!1,Je=["{","}"];if(Gm(e)&&(je=!0,Je=["[","]"]),hi(e)){var Xe=e.name?": "+e.name:"";ye=" [Function"+Xe+"]"}if(fi(e)&&(ye=" "+RegExp.prototype.toString.call(e)),Wi(e)&&(ye=" "+Date.prototype.toUTCString.call(e)),Ji(e)&&(ye=" "+ua(e)),k.length===0&&(!je||e.length==0))return Je[0]+ye+Je[1];if(r<0)return fi(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var dt;return je?dt=Vm(t,e,r,B,k):dt=k.map(function(Dt){return aa(t,e,r,B,Dt,je)}),t.seen.pop(),Um(dt,ye,Je)}function $m(t,e){if(pi(e))return t.stylize("undefined","undefined");if(Nl(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(qm(e))return t.stylize(""+e,"number");if(Bl(e))return t.stylize(""+e,"boolean");if(Il(e))return t.stylize("null","null")}function ua(t){return"["+Error.prototype.toString.call(t)+"]"}function Vm(t,e,r,i,p){for(var k=[],B=0,se=e.length;B<se;++B)Ll(e,String(B))?k.push(aa(t,e,r,i,String(B),!0)):k.push("");return p.forEach(function(ye){ye.match(/^\d+$/)||k.push(aa(t,e,r,i,ye,!0))}),k}function aa(t,e,r,i,p,k){var B,se,ye;if(ye=Object.getOwnPropertyDescriptor(e,p)||{value:e[p]},ye.get?ye.set?se=t.stylize("[Getter/Setter]","special"):se=t.stylize("[Getter]","special"):ye.set&&(se=t.stylize("[Setter]","special")),Ll(i,p)||(B="["+p+"]"),se||(t.seen.indexOf(ye.value)<0?(Il(r)?se=js(t,ye.value,null):se=js(t,ye.value,r-1),se.indexOf(`
|
|
2
|
+
`)>-1&&(k?se=se.split(`
|
|
3
|
+
`).map(function(je){return" "+je}).join(`
|
|
4
|
+
`).substr(2):se=`
|
|
5
|
+
`+se.split(`
|
|
6
|
+
`).map(function(je){return" "+je}).join(`
|
|
7
|
+
`))):se=t.stylize("[Circular]","special")),pi(B)){if(k&&p.match(/^\d+$/))return se;B=JSON.stringify(""+p),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=t.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=t.stylize(B,"string"))}return B+": "+se}function Um(t,e,r){var i=0,p=t.reduce(function(k,B){return i++,B.indexOf(`
|
|
8
|
+
`)>=0&&i++,k+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return p>60?r[0]+(e===""?"":e+`
|
|
9
9
|
`)+" "+t.join(`,
|
|
10
|
-
`)+" "+
|
|
11
|
-
`+
|
|
12
|
-
`,ae+1);V=V.substring(De+1)}this.stack=V}}};Vr.inherits(Xt.AssertionError,Error);function sl(t,r){return typeof t=="string"?t.length<r?t:t.slice(0,r):t}function ul(t){if(tl||!Vr.isFunction(t))return Vr.inspect(t);var r=il(t),n=r?": "+r:"";return"[Function"+n+"]"}function C0(t){return sl(ul(t.actual),128)+" "+t.operator+" "+sl(ul(t.expected),128)}function Fr(t,r,n,v,V){throw new Xt.AssertionError({message:n,actual:t,expected:r,operator:v,stackStartFunction:V})}Xt.fail=Fr;function al(t,r){t||Fr(t,!0,r,"==",Xt.ok)}Xt.ok=al;Xt.equal=function(r,n,v){r!=n&&Fr(r,n,v,"==",Xt.equal)};Xt.notEqual=function(r,n,v){r==n&&Fr(r,n,v,"!=",Xt.notEqual)};Xt.deepEqual=function(r,n,v){zn(r,n,!1)||Fr(r,n,v,"deepEqual",Xt.deepEqual)};Xt.deepStrictEqual=function(r,n,v){zn(r,n,!0)||Fr(r,n,v,"deepStrictEqual",Xt.deepStrictEqual)};function zn(t,r,n,v){if(t===r)return!0;if(Ti(t)&&Ti(r))return Zo(t,r)===0;if(Vr.isDate(t)&&Vr.isDate(r))return t.getTime()===r.getTime();if(Vr.isRegExp(t)&&Vr.isRegExp(r))return t.source===r.source&&t.global===r.global&&t.multiline===r.multiline&&t.lastIndex===r.lastIndex&&t.ignoreCase===r.ignoreCase;if((t===null||typeof t!="object")&&(r===null||typeof r!="object"))return n?t===r:t==r;if(nl(t)&&nl(r)&&rl(t)===rl(r)&&!(t instanceof Float32Array||t instanceof Float64Array))return Zo(new Uint8Array(t.buffer),new Uint8Array(r.buffer))===0;if(Ti(t)!==Ti(r))return!1;v=v||{actual:[],expected:[]};var V=v.actual.indexOf(t);return V!==-1&&V===v.expected.indexOf(r)?!0:(v.actual.push(t),v.expected.push(r),x0(t,r,n,v))}function ol(t){return Object.prototype.toString.call(t)=="[object Arguments]"}function x0(t,r,n,v){if(t==null||r===null||r===void 0)return!1;if(Vr.isPrimitive(t)||Vr.isPrimitive(r))return t===r;if(n&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(r))return!1;var V=ol(t),se=ol(r);if(V&&!se||!V&&se)return!1;if(V)return t=el.call(t),r=el.call(r),zn(t,r,n);var ae=dl(t),De=dl(r),Le,rt;if(ae.length!==De.length)return!1;for(ae.sort(),De.sort(),rt=ae.length-1;rt>=0;rt--)if(ae[rt]!==De[rt])return!1;for(rt=ae.length-1;rt>=0;rt--)if(Le=ae[rt],!zn(t[Le],r[Le],n,v))return!1;return!0}Xt.notDeepEqual=function(r,n,v){zn(r,n,!1)&&Fr(r,n,v,"notDeepEqual",Xt.notDeepEqual)};Xt.notDeepStrictEqual=ll;function ll(t,r,n){zn(t,r,!0)&&Fr(t,r,n,"notDeepStrictEqual",ll)}Xt.strictEqual=function(r,n,v){r!==n&&Fr(r,n,v,"===",Xt.strictEqual)};Xt.notStrictEqual=function(r,n,v){r===n&&Fr(r,n,v,"!==",Xt.notStrictEqual)};function cl(t,r){if(!t||!r)return!1;if(Object.prototype.toString.call(r)=="[object RegExp]")return r.test(t);try{if(t instanceof r)return!0}catch(n){}return Error.isPrototypeOf(r)?!1:r.call({},t)===!0}function A0(t){var r;try{t()}catch(n){r=n}return r}function pl(t,r,n,v){var V;if(typeof r!="function")throw new TypeError('"block" argument must be a function');typeof n=="string"&&(v=n,n=null),V=A0(r),v=(n&&n.name?" ("+n.name+").":".")+(v?" "+v:"."),t&&!V&&Fr(V,n,"Missing expected exception"+v);var se=typeof v=="string",ae=!t&&Vr.isError(V),De=!t&&V&&!n;if((ae&&se&&cl(V,n)||De)&&Fr(V,n,"Got unwanted exception"+v),t&&V&&n&&!cl(V,n)||!t&&V)throw V}Xt.throws=function(t,r,n){pl(!0,t,r,n)};Xt.doesNotThrow=function(t,r,n){pl(!1,t,r,n)};Xt.ifError=function(t){if(t)throw t};function fl(t,r){t||Fr(t,!0,r,"==",fl)}Xt.strict=E0(fl,Xt,{equal:Xt.strictEqual,deepEqual:Xt.deepStrictEqual,notEqual:Xt.notStrictEqual,notDeepEqual:Xt.notDeepStrictEqual});Xt.strict.strict=Xt.strict;var dl=Object.keys||function(t){var r=[];for(var n in t)v0.call(t,n)&&r.push(n);return r}});var yl=gt((Ds,ml)=>{(function(t,r){typeof Ds=="object"&&typeof ml!="undefined"?r(Ds):typeof define=="function"&&define.amd?define(["exports"],r):(t=t||self,r(t.acorn={}))})(Ds,function(t){"use strict";var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",v={5:n,"5module":n+" export import",6:n+" const class extends export import super"},V=/^in(stanceof)?$/,se="\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\u08A0-\u08B4\u08B6-\u08C7\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\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-\u170C\u170E-\u1711\u1720-\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-\u1B4B\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-\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\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-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\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",ae="\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\u08D3-\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\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\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-\u0ECD\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-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\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-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\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",De=new RegExp("["+se+"]"),Le=new RegExp("["+se+ae+"]");se=ae=null;var rt=[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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,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,85,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,230,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,35,56,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],vt=[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,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function Lt(e,u){for(var O=65536,J=0;J<u.length;J+=2){if(O+=u[J],O>e)return!1;if(O+=u[J+1],O>=e)return!0}}function xt(e,u){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&De.test(String.fromCharCode(e)):u===!1?!1:Lt(e,rt)}function jt(e,u){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Le.test(String.fromCharCode(e)):u===!1?!1:Lt(e,rt)||Lt(e,vt)}var Ft=function(u,O){O===void 0&&(O={}),this.label=u,this.keyword=O.keyword,this.beforeExpr=!!O.beforeExpr,this.startsExpr=!!O.startsExpr,this.isLoop=!!O.isLoop,this.isAssign=!!O.isAssign,this.prefix=!!O.prefix,this.postfix=!!O.postfix,this.binop=O.binop||null,this.updateContext=null};function wt(e,u){return new Ft(e,{beforeExpr:!0,binop:u})}var ar={beforeExpr:!0},lr={startsExpr:!0},Lr={};function Ut(e,u){return u===void 0&&(u={}),u.keyword=e,Lr[e]=new Ft(e,u)}var Y={num:new Ft("num",lr),regexp:new Ft("regexp",lr),string:new Ft("string",lr),name:new Ft("name",lr),eof:new Ft("eof"),bracketL:new Ft("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Ft("]"),braceL:new Ft("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Ft("}"),parenL:new Ft("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Ft(")"),comma:new Ft(",",ar),semi:new Ft(";",ar),colon:new Ft(":",ar),dot:new Ft("."),question:new Ft("?",ar),questionDot:new Ft("?."),arrow:new Ft("=>",ar),template:new Ft("template"),invalidTemplate:new Ft("invalidTemplate"),ellipsis:new Ft("...",ar),backQuote:new Ft("`",lr),dollarBraceL:new Ft("${",{beforeExpr:!0,startsExpr:!0}),eq:new Ft("=",{beforeExpr:!0,isAssign:!0}),assign:new Ft("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Ft("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Ft("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:wt("||",1),logicalAND:wt("&&",2),bitwiseOR:wt("|",3),bitwiseXOR:wt("^",4),bitwiseAND:wt("&",5),equality:wt("==/!=/===/!==",6),relational:wt("</>/<=/>=",7),bitShift:wt("<</>>/>>>",8),plusMin:new Ft("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:wt("%",10),star:wt("*",10),slash:wt("/",10),starstar:new Ft("**",{beforeExpr:!0}),coalesce:wt("??",1),_break:Ut("break"),_case:Ut("case",ar),_catch:Ut("catch"),_continue:Ut("continue"),_debugger:Ut("debugger"),_default:Ut("default",ar),_do:Ut("do",{isLoop:!0,beforeExpr:!0}),_else:Ut("else",ar),_finally:Ut("finally"),_for:Ut("for",{isLoop:!0}),_function:Ut("function",lr),_if:Ut("if"),_return:Ut("return",ar),_switch:Ut("switch"),_throw:Ut("throw",ar),_try:Ut("try"),_var:Ut("var"),_const:Ut("const"),_while:Ut("while",{isLoop:!0}),_with:Ut("with"),_new:Ut("new",{beforeExpr:!0,startsExpr:!0}),_this:Ut("this",lr),_super:Ut("super",lr),_class:Ut("class",lr),_extends:Ut("extends",ar),_export:Ut("export"),_import:Ut("import",lr),_null:Ut("null",lr),_true:Ut("true",lr),_false:Ut("false",lr),_in:Ut("in",{beforeExpr:!0,binop:7}),_instanceof:Ut("instanceof",{beforeExpr:!0,binop:7}),_typeof:Ut("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Ut("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Ut("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},vr=/\r\n?|\n|\u2028|\u2029/,Xr=new RegExp(vr.source,"g");function Hr(e,u){return e===10||e===13||!u&&(e===8232||e===8233)}var mn=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,yr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,kn=Object.prototype,ou=kn.hasOwnProperty,lu=kn.toString;function nn(e,u){return ou.call(e,u)}var Pn=Array.isArray||function(e){return lu.call(e)==="[object Array]"};function Gr(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var qr=function(u,O){this.line=u,this.column=O};qr.prototype.offset=function(u){return new qr(this.line,this.column+u)};var wr=function(u,O,J){this.start=O,this.end=J,u.sourceFile!==null&&(this.source=u.sourceFile)};function _n(e,u){for(var O=1,J=0;;){Xr.lastIndex=J;var oe=Xr.exec(e);if(oe&&oe.index<u)++O,J=oe.index+oe[0].length;else return new qr(O,u-J)}}var jr={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function cu(e){var u={};for(var O in jr)u[O]=e&&nn(e,O)?e[O]:jr[O];if(u.ecmaVersion>=2015&&(u.ecmaVersion-=2009),u.allowReserved==null&&(u.allowReserved=u.ecmaVersion<5),Pn(u.onToken)){var J=u.onToken;u.onToken=function(oe){return J.push(oe)}}return Pn(u.onComment)&&(u.onComment=li(u,u.onComment)),u}function li(e,u){return function(O,J,oe,Be,Re,tt){var dt={type:O?"Block":"Line",value:J,start:oe,end:Be};e.locations&&(dt.loc=new wr(this,Re,tt)),e.ranges&&(dt.range=[oe,Be]),u.push(dt)}}var yn=1,sn=2,Bn=yn|sn,ji=4,Yr=8,un=16,ci=32,Ri=64,pi=128;function fi(e,u){return sn|(e?ji:0)|(u?Yr:0)}var Mi=0,Nn=1,Rr=2,di=3,$i=4,Vi=5,rr=function(u,O,J){this.options=u=cu(u),this.sourceFile=u.sourceFile,this.keywords=Gr(v[u.ecmaVersion>=6?6:u.sourceType==="module"?"5module":5]);var oe="";if(u.allowReserved!==!0){for(var Be=u.ecmaVersion;!(oe=r[Be]);Be--);u.sourceType==="module"&&(oe+=" await")}this.reservedWords=Gr(oe);var Re=(oe?oe+" ":"")+r.strict;this.reservedWordsStrict=Gr(Re),this.reservedWordsStrictBind=Gr(Re+" "+r.strictBind),this.input=String(O),this.containsEsc=!1,J?(this.pos=J,this.lineStart=this.input.lastIndexOf(`
|
|
13
|
-
`,J-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(vr).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=Y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=u.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&u.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(yn),this.regexpState=null},Qr={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};rr.prototype.parse=function(){var u=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(u)},Qr.inFunction.get=function(){return(this.currentVarScope().flags&sn)>0},Qr.inGenerator.get=function(){return(this.currentVarScope().flags&Yr)>0},Qr.inAsync.get=function(){return(this.currentVarScope().flags&ji)>0},Qr.allowSuper.get=function(){return(this.currentThisScope().flags&Ri)>0},Qr.allowDirectSuper.get=function(){return(this.currentThisScope().flags&pi)>0},Qr.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},rr.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&sn)>0},rr.extend=function(){for(var u=[],O=arguments.length;O--;)u[O]=arguments[O];for(var J=this,oe=0;oe<u.length;oe++)J=u[oe](J);return J},rr.parse=function(u,O){return new this(O,u).parse()},rr.parseExpressionAt=function(u,O,J){var oe=new this(J,u,O);return oe.nextToken(),oe.parseExpression()},rr.tokenizer=function(u,O){return new this(O,u)},Object.defineProperties(rr.prototype,Qr);var Dr=rr.prototype,Dn=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Dr.strictDirective=function(e){for(;;){yr.lastIndex=e,e+=yr.exec(this.input)[0].length;var u=Dn.exec(this.input.slice(e));if(!u)return!1;if((u[1]||u[2])==="use strict"){yr.lastIndex=e+u[0].length;var O=yr.exec(this.input),J=O.index+O[0].length,oe=this.input.charAt(J);return oe===";"||oe==="}"||vr.test(O[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(oe)||oe==="!"&&this.input.charAt(J+1)==="=")}e+=u[0].length,yr.lastIndex=e,e+=yr.exec(this.input)[0].length,this.input[e]===";"&&e++}},Dr.eat=function(e){return this.type===e?(this.next(),!0):!1},Dr.isContextual=function(e){return this.type===Y.name&&this.value===e&&!this.containsEsc},Dr.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},Dr.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Dr.canInsertSemicolon=function(){return this.type===Y.eof||this.type===Y.braceR||vr.test(this.input.slice(this.lastTokEnd,this.start))},Dr.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Dr.semicolon=function(){!this.eat(Y.semi)&&!this.insertSemicolon()&&this.unexpected()},Dr.afterTrailingComma=function(e,u){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),u||this.next(),!0},Dr.expect=function(e){this.eat(e)||this.unexpected()},Dr.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function In(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Dr.checkPatternErrors=function(e,u){if(!!e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var O=u?e.parenthesizedAssign:e.parenthesizedBind;O>-1&&this.raiseRecoverable(O,"Parenthesized pattern")}},Dr.checkExpressionErrors=function(e,u){if(!e)return!1;var O=e.shorthandAssign,J=e.doubleProto;if(!u)return O>=0||J>=0;O>=0&&this.raise(O,"Shorthand property assignments are valid only in destructuring patterns"),J>=0&&this.raiseRecoverable(J,"Redefinition of __proto__ property")},Dr.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Dr.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var _t=rr.prototype;_t.parseTopLevel=function(e){var u={};for(e.body||(e.body=[]);this.type!==Y.eof;){var O=this.parseStatement(null,!0,u);e.body.push(O)}if(this.inModule)for(var J=0,oe=Object.keys(this.undefinedExports);J<oe.length;J+=1){var Be=oe[J];this.raiseRecoverable(this.undefinedExports[Be].start,"Export '"+Be+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var hi={kind:"loop"},pu={kind:"switch"};_t.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;yr.lastIndex=this.pos;var u=yr.exec(this.input),O=this.pos+u[0].length,J=this.input.charCodeAt(O);if(J===91)return!0;if(e)return!1;if(J===123)return!0;if(xt(J,!0)){for(var oe=O+1;jt(this.input.charCodeAt(oe),!0);)++oe;var Be=this.input.slice(O,oe);if(!V.test(Be))return!0}return!1},_t.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;yr.lastIndex=this.pos;var e=yr.exec(this.input),u=this.pos+e[0].length;return!vr.test(this.input.slice(this.pos,u))&&this.input.slice(u,u+8)==="function"&&(u+8===this.input.length||!jt(this.input.charAt(u+8)))},_t.parseStatement=function(e,u,O){var J=this.type,oe=this.startNode(),Be;switch(this.isLet(e)&&(J=Y._var,Be="let"),J){case Y._break:case Y._continue:return this.parseBreakContinueStatement(oe,J.keyword);case Y._debugger:return this.parseDebuggerStatement(oe);case Y._do:return this.parseDoStatement(oe);case Y._for:return this.parseForStatement(oe);case Y._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(oe,!1,!e);case Y._class:return e&&this.unexpected(),this.parseClass(oe,!0);case Y._if:return this.parseIfStatement(oe);case Y._return:return this.parseReturnStatement(oe);case Y._switch:return this.parseSwitchStatement(oe);case Y._throw:return this.parseThrowStatement(oe);case Y._try:return this.parseTryStatement(oe);case Y._const:case Y._var:return Be=Be||this.value,e&&Be!=="var"&&this.unexpected(),this.parseVarStatement(oe,Be);case Y._while:return this.parseWhileStatement(oe);case Y._with:return this.parseWithStatement(oe);case Y.braceL:return this.parseBlock(!0,oe);case Y.semi:return this.parseEmptyStatement(oe);case Y._export:case Y._import:if(this.options.ecmaVersion>10&&J===Y._import){yr.lastIndex=this.pos;var Re=yr.exec(this.input),tt=this.pos+Re[0].length,dt=this.input.charCodeAt(tt);if(dt===40||dt===46)return this.parseExpressionStatement(oe,this.parseExpression())}return this.options.allowImportExportEverywhere||(u||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),J===Y._import?this.parseImport(oe):this.parseExport(oe,O);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(oe,!0,!e);var $t=this.value,Ht=this.parseExpression();return J===Y.name&&Ht.type==="Identifier"&&this.eat(Y.colon)?this.parseLabeledStatement(oe,$t,Ht,e):this.parseExpressionStatement(oe,Ht)}},_t.parseBreakContinueStatement=function(e,u){var O=u==="break";this.next(),this.eat(Y.semi)||this.insertSemicolon()?e.label=null:this.type!==Y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var J=0;J<this.labels.length;++J){var oe=this.labels[J];if((e.label==null||oe.name===e.label.name)&&(oe.kind!=null&&(O||oe.kind==="loop")||e.label&&O))break}return J===this.labels.length&&this.raise(e.start,"Unsyntactic "+u),this.finishNode(e,O?"BreakStatement":"ContinueStatement")},_t.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},_t.parseDoStatement=function(e){return this.next(),this.labels.push(hi),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(Y._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(Y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},_t.parseForStatement=function(e){this.next();var u=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(hi),this.enterScope(0),this.expect(Y.parenL),this.type===Y.semi)return u>-1&&this.unexpected(u),this.parseFor(e,null);var O=this.isLet();if(this.type===Y._var||this.type===Y._const||O){var J=this.startNode(),oe=O?"let":this.value;return this.next(),this.parseVar(J,!0,oe),this.finishNode(J,"VariableDeclaration"),(this.type===Y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&J.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===Y._in?u>-1&&this.unexpected(u):e.await=u>-1),this.parseForIn(e,J)):(u>-1&&this.unexpected(u),this.parseFor(e,J))}var Be=new In,Re=this.parseExpression(!0,Be);return this.type===Y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===Y._in?u>-1&&this.unexpected(u):e.await=u>-1),this.toAssignable(Re,!1,Be),this.checkLVal(Re),this.parseForIn(e,Re)):(this.checkExpressionErrors(Be,!0),u>-1&&this.unexpected(u),this.parseFor(e,Re))},_t.parseFunctionStatement=function(e,u,O){return this.next(),this.parseFunction(e,En|(O?0:gi),!1,u)},_t.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(Y._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},_t.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(Y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},_t.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(Y.braceL),this.labels.push(pu),this.enterScope(0);for(var u,O=!1;this.type!==Y.braceR;)if(this.type===Y._case||this.type===Y._default){var J=this.type===Y._case;u&&this.finishNode(u,"SwitchCase"),e.cases.push(u=this.startNode()),u.consequent=[],this.next(),J?u.test=this.parseExpression():(O&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),O=!0,u.test=null),this.expect(Y.colon)}else u||this.unexpected(),u.consequent.push(this.parseStatement(null));return this.exitScope(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},_t.parseThrowStatement=function(e){return this.next(),vr.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var fu=[];_t.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===Y._catch){var u=this.startNode();if(this.next(),this.eat(Y.parenL)){u.param=this.parseBindingAtom();var O=u.param.type==="Identifier";this.enterScope(O?ci:0),this.checkLVal(u.param,O?$i:Rr),this.expect(Y.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),u.param=null,this.enterScope(0);u.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(u,"CatchClause")}return e.finalizer=this.eat(Y._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},_t.parseVarStatement=function(e,u){return this.next(),this.parseVar(e,!1,u),this.semicolon(),this.finishNode(e,"VariableDeclaration")},_t.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(hi),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},_t.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},_t.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},_t.parseLabeledStatement=function(e,u,O,J){for(var oe=0,Be=this.labels;oe<Be.length;oe+=1){var Re=Be[oe];Re.name===u&&this.raise(O.start,"Label '"+u+"' is already declared")}for(var tt=this.type.isLoop?"loop":this.type===Y._switch?"switch":null,dt=this.labels.length-1;dt>=0;dt--){var $t=this.labels[dt];if($t.statementStart===e.start)$t.statementStart=this.start,$t.kind=tt;else break}return this.labels.push({name:u,kind:tt,statementStart:this.start}),e.body=this.parseStatement(J?J.indexOf("label")===-1?J+"label":J:"label"),this.labels.pop(),e.label=O,this.finishNode(e,"LabeledStatement")},_t.parseExpressionStatement=function(e,u){return e.expression=u,this.semicolon(),this.finishNode(e,"ExpressionStatement")},_t.parseBlock=function(e,u,O){for(e===void 0&&(e=!0),u===void 0&&(u=this.startNode()),u.body=[],this.expect(Y.braceL),e&&this.enterScope(0);this.type!==Y.braceR;){var J=this.parseStatement(null);u.body.push(J)}return O&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(u,"BlockStatement")},_t.parseFor=function(e,u){return e.init=u,this.expect(Y.semi),e.test=this.type===Y.semi?null:this.parseExpression(),this.expect(Y.semi),e.update=this.type===Y.parenR?null:this.parseExpression(),this.expect(Y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},_t.parseForIn=function(e,u){var O=this.type===Y._in;return this.next(),u.type==="VariableDeclaration"&&u.declarations[0].init!=null&&(!O||this.options.ecmaVersion<8||this.strict||u.kind!=="var"||u.declarations[0].id.type!=="Identifier")?this.raise(u.start,(O?"for-in":"for-of")+" loop variable declaration may not have an initializer"):u.type==="AssignmentPattern"&&this.raise(u.start,"Invalid left-hand side in for-loop"),e.left=u,e.right=O?this.parseExpression():this.parseMaybeAssign(),this.expect(Y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,O?"ForInStatement":"ForOfStatement")},_t.parseVar=function(e,u,O){for(e.declarations=[],e.kind=O;;){var J=this.startNode();if(this.parseVarId(J,O),this.eat(Y.eq)?J.init=this.parseMaybeAssign(u):O==="const"&&!(this.type===Y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():J.id.type!=="Identifier"&&!(u&&(this.type===Y._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):J.init=null,e.declarations.push(this.finishNode(J,"VariableDeclarator")),!this.eat(Y.comma))break}return e},_t.parseVarId=function(e,u){e.id=this.parseBindingAtom(),this.checkLVal(e.id,u==="var"?Nn:Rr,!1)};var En=1,gi=2,Ui=4;_t.parseFunction=function(e,u,O,J){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!J)&&(this.type===Y.star&&u&gi&&this.unexpected(),e.generator=this.eat(Y.star)),this.options.ecmaVersion>=8&&(e.async=!!J),u&En&&(e.id=u&Ui&&this.type!==Y.name?null:this.parseIdent(),e.id&&!(u&gi)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Nn:Rr:di));var oe=this.yieldPos,Be=this.awaitPos,Re=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(fi(e.async,e.generator)),u&En||(e.id=this.type===Y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,O,!1),this.yieldPos=oe,this.awaitPos=Be,this.awaitIdentPos=Re,this.finishNode(e,u&En?"FunctionDeclaration":"FunctionExpression")},_t.parseFunctionParams=function(e){this.expect(Y.parenL),e.params=this.parseBindingList(Y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},_t.parseClass=function(e,u){this.next();var O=this.strict;this.strict=!0,this.parseClassId(e,u),this.parseClassSuper(e);var J=this.startNode(),oe=!1;for(J.body=[],this.expect(Y.braceL);this.type!==Y.braceR;){var Be=this.parseClassElement(e.superClass!==null);Be&&(J.body.push(Be),Be.type==="MethodDefinition"&&Be.kind==="constructor"&&(oe&&this.raise(Be.start,"Duplicate constructor in the same class"),oe=!0))}return this.strict=O,this.next(),e.body=this.finishNode(J,"ClassBody"),this.finishNode(e,u?"ClassDeclaration":"ClassExpression")},_t.parseClassElement=function(e){var u=this;if(this.eat(Y.semi))return null;var O=this.startNode(),J=function(dt,$t){$t===void 0&&($t=!1);var Ht=u.start,cr=u.startLoc;return u.eatContextual(dt)?u.type!==Y.parenL&&(!$t||!u.canInsertSemicolon())?!0:(O.key&&u.unexpected(),O.computed=!1,O.key=u.startNodeAt(Ht,cr),O.key.name=dt,u.finishNode(O.key,"Identifier"),!1):!1};O.kind="method",O.static=J("static");var oe=this.eat(Y.star),Be=!1;oe||(this.options.ecmaVersion>=8&&J("async",!0)?(Be=!0,oe=this.options.ecmaVersion>=9&&this.eat(Y.star)):J("get")?O.kind="get":J("set")&&(O.kind="set")),O.key||this.parsePropertyName(O);var Re=O.key,tt=!1;return!O.computed&&!O.static&&(Re.type==="Identifier"&&Re.name==="constructor"||Re.type==="Literal"&&Re.value==="constructor")?(O.kind!=="method"&&this.raise(Re.start,"Constructor can't have get/set modifier"),oe&&this.raise(Re.start,"Constructor can't be a generator"),Be&&this.raise(Re.start,"Constructor can't be an async method"),O.kind="constructor",tt=e):O.static&&Re.type==="Identifier"&&Re.name==="prototype"&&this.raise(Re.start,"Classes may not have a static property named prototype"),this.parseClassMethod(O,oe,Be,tt),O.kind==="get"&&O.value.params.length!==0&&this.raiseRecoverable(O.value.start,"getter should have no params"),O.kind==="set"&&O.value.params.length!==1&&this.raiseRecoverable(O.value.start,"setter should have exactly one param"),O.kind==="set"&&O.value.params[0].type==="RestElement"&&this.raiseRecoverable(O.value.params[0].start,"Setter cannot use rest params"),O},_t.parseClassMethod=function(e,u,O,J){return e.value=this.parseMethod(u,O,J),this.finishNode(e,"MethodDefinition")},_t.parseClassId=function(e,u){this.type===Y.name?(e.id=this.parseIdent(),u&&this.checkLVal(e.id,Rr,!1)):(u===!0&&this.unexpected(),e.id=null)},_t.parseClassSuper=function(e){e.superClass=this.eat(Y._extends)?this.parseExprSubscripts():null},_t.parseExport=function(e,u){if(this.next(),this.eat(Y.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(u,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==Y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(Y._default)){this.checkExport(u,"default",this.lastTokStart);var O;if(this.type===Y._function||(O=this.isAsyncFunction())){var J=this.startNode();this.next(),O&&this.next(),e.declaration=this.parseFunction(J,En|Ui,!1,O)}else if(this.type===Y._class){var oe=this.startNode();e.declaration=this.parseClass(oe,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(u,e.declaration.declarations):this.checkExport(u,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(u),this.eatContextual("from"))this.type!==Y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var Be=0,Re=e.specifiers;Be<Re.length;Be+=1){var tt=Re[Be];this.checkUnreserved(tt.local),this.checkLocalExport(tt.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},_t.checkExport=function(e,u,O){!e||(nn(e,u)&&this.raiseRecoverable(O,"Duplicate export '"+u+"'"),e[u]=!0)},_t.checkPatternExport=function(e,u){var O=u.type;if(O==="Identifier")this.checkExport(e,u.name,u.start);else if(O==="ObjectPattern")for(var J=0,oe=u.properties;J<oe.length;J+=1){var Be=oe[J];this.checkPatternExport(e,Be)}else if(O==="ArrayPattern")for(var Re=0,tt=u.elements;Re<tt.length;Re+=1){var dt=tt[Re];dt&&this.checkPatternExport(e,dt)}else O==="Property"?this.checkPatternExport(e,u.value):O==="AssignmentPattern"?this.checkPatternExport(e,u.left):O==="RestElement"?this.checkPatternExport(e,u.argument):O==="ParenthesizedExpression"&&this.checkPatternExport(e,u.expression)},_t.checkVariableExport=function(e,u){if(!!e)for(var O=0,J=u;O<J.length;O+=1){var oe=J[O];this.checkPatternExport(e,oe.id)}},_t.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},_t.parseExportSpecifiers=function(e){var u=[],O=!0;for(this.expect(Y.braceL);!this.eat(Y.braceR);){if(O)O=!1;else if(this.expect(Y.comma),this.afterTrailingComma(Y.braceR))break;var J=this.startNode();J.local=this.parseIdent(!0),J.exported=this.eatContextual("as")?this.parseIdent(!0):J.local,this.checkExport(e,J.exported.name,J.exported.start),u.push(this.finishNode(J,"ExportSpecifier"))}return u},_t.parseImport=function(e){return this.next(),this.type===Y.string?(e.specifiers=fu,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===Y.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},_t.parseImportSpecifiers=function(){var e=[],u=!0;if(this.type===Y.name){var O=this.startNode();if(O.local=this.parseIdent(),this.checkLVal(O.local,Rr),e.push(this.finishNode(O,"ImportDefaultSpecifier")),!this.eat(Y.comma))return e}if(this.type===Y.star){var J=this.startNode();return this.next(),this.expectContextual("as"),J.local=this.parseIdent(),this.checkLVal(J.local,Rr),e.push(this.finishNode(J,"ImportNamespaceSpecifier")),e}for(this.expect(Y.braceL);!this.eat(Y.braceR);){if(u)u=!1;else if(this.expect(Y.comma),this.afterTrailingComma(Y.braceR))break;var oe=this.startNode();oe.imported=this.parseIdent(!0),this.eatContextual("as")?oe.local=this.parseIdent():(this.checkUnreserved(oe.imported),oe.local=oe.imported),this.checkLVal(oe.local,Rr),e.push(this.finishNode(oe,"ImportSpecifier"))}return e},_t.adaptDirectivePrologue=function(e){for(var u=0;u<e.length&&this.isDirectiveCandidate(e[u]);++u)e[u].directive=e[u].expression.raw.slice(1,-1)},_t.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var xr=rr.prototype;xr.toAssignable=function(e,u,O){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",O&&this.checkPatternErrors(O,!0);for(var J=0,oe=e.properties;J<oe.length;J+=1){var Be=oe[J];this.toAssignable(Be,u),Be.type==="RestElement"&&(Be.argument.type==="ArrayPattern"||Be.argument.type==="ObjectPattern")&&this.raise(Be.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,u);break;case"ArrayExpression":e.type="ArrayPattern",O&&this.checkPatternErrors(O,!0),this.toAssignableList(e.elements,u);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,u),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,u);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,u,O);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!u)break;default:this.raise(e.start,"Assigning to rvalue")}else O&&this.checkPatternErrors(O,!0);return e},xr.toAssignableList=function(e,u){for(var O=e.length,J=0;J<O;J++){var oe=e[J];oe&&this.toAssignable(oe,u)}if(O){var Be=e[O-1];this.options.ecmaVersion===6&&u&&Be&&Be.type==="RestElement"&&Be.argument.type!=="Identifier"&&this.unexpected(Be.argument.start)}return e},xr.parseSpread=function(e){var u=this.startNode();return this.next(),u.argument=this.parseMaybeAssign(!1,e),this.finishNode(u,"SpreadElement")},xr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==Y.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},xr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case Y.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(Y.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case Y.braceL:return this.parseObj(!0)}return this.parseIdent()},xr.parseBindingList=function(e,u,O){for(var J=[],oe=!0;!this.eat(e);)if(oe?oe=!1:this.expect(Y.comma),u&&this.type===Y.comma)J.push(null);else{if(O&&this.afterTrailingComma(e))break;if(this.type===Y.ellipsis){var Be=this.parseRestBinding();this.parseBindingListItem(Be),J.push(Be),this.type===Y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var Re=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(Re),J.push(Re)}}return J},xr.parseBindingListItem=function(e){return e},xr.parseMaybeDefault=function(e,u,O){if(O=O||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(Y.eq))return O;var J=this.startNodeAt(e,u);return J.left=O,J.right=this.parseMaybeAssign(),this.finishNode(J,"AssignmentPattern")},xr.checkLVal=function(e,u,O){switch(u===void 0&&(u=Mi),e.type){case"Identifier":u===Rr&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(u?"Binding ":"Assigning to ")+e.name+" in strict mode"),O&&(nn(O,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),O[e.name]=!0),u!==Mi&&u!==Vi&&this.declareName(e.name,u,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":u&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var J=0,oe=e.properties;J<oe.length;J+=1){var Be=oe[J];this.checkLVal(Be,u,O)}break;case"Property":this.checkLVal(e.value,u,O);break;case"ArrayPattern":for(var Re=0,tt=e.elements;Re<tt.length;Re+=1){var dt=tt[Re];dt&&this.checkLVal(dt,u,O)}break;case"AssignmentPattern":this.checkLVal(e.left,u,O);break;case"RestElement":this.checkLVal(e.argument,u,O);break;case"ParenthesizedExpression":this.checkLVal(e.expression,u,O);break;default:this.raise(e.start,(u?"Binding":"Assigning to")+" rvalue")}};var Rt=rr.prototype;Rt.checkPropClash=function(e,u,O){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var J=e.key,oe;switch(J.type){case"Identifier":oe=J.name;break;case"Literal":oe=String(J.value);break;default:return}var Be=e.kind;if(this.options.ecmaVersion>=6){oe==="__proto__"&&Be==="init"&&(u.proto&&(O?O.doubleProto<0&&(O.doubleProto=J.start):this.raiseRecoverable(J.start,"Redefinition of __proto__ property")),u.proto=!0);return}oe="$"+oe;var Re=u[oe];if(Re){var tt;Be==="init"?tt=this.strict&&Re.init||Re.get||Re.set:tt=Re.init||Re[Be],tt&&this.raiseRecoverable(J.start,"Redefinition of property")}else Re=u[oe]={init:!1,get:!1,set:!1};Re[Be]=!0}},Rt.parseExpression=function(e,u){var O=this.start,J=this.startLoc,oe=this.parseMaybeAssign(e,u);if(this.type===Y.comma){var Be=this.startNodeAt(O,J);for(Be.expressions=[oe];this.eat(Y.comma);)Be.expressions.push(this.parseMaybeAssign(e,u));return this.finishNode(Be,"SequenceExpression")}return oe},Rt.parseMaybeAssign=function(e,u,O){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var J=!1,oe=-1,Be=-1;u?(oe=u.parenthesizedAssign,Be=u.trailingComma,u.parenthesizedAssign=u.trailingComma=-1):(u=new In,J=!0);var Re=this.start,tt=this.startLoc;(this.type===Y.parenL||this.type===Y.name)&&(this.potentialArrowAt=this.start);var dt=this.parseMaybeConditional(e,u);if(O&&(dt=O.call(this,dt,Re,tt)),this.type.isAssign){var $t=this.startNodeAt(Re,tt);return $t.operator=this.value,$t.left=this.type===Y.eq?this.toAssignable(dt,!1,u):dt,J||(u.parenthesizedAssign=u.trailingComma=u.doubleProto=-1),u.shorthandAssign>=$t.left.start&&(u.shorthandAssign=-1),this.checkLVal(dt),this.next(),$t.right=this.parseMaybeAssign(e),this.finishNode($t,"AssignmentExpression")}else J&&this.checkExpressionErrors(u,!0);return oe>-1&&(u.parenthesizedAssign=oe),Be>-1&&(u.trailingComma=Be),dt},Rt.parseMaybeConditional=function(e,u){var O=this.start,J=this.startLoc,oe=this.parseExprOps(e,u);if(this.checkExpressionErrors(u))return oe;if(this.eat(Y.question)){var Be=this.startNodeAt(O,J);return Be.test=oe,Be.consequent=this.parseMaybeAssign(),this.expect(Y.colon),Be.alternate=this.parseMaybeAssign(e),this.finishNode(Be,"ConditionalExpression")}return oe},Rt.parseExprOps=function(e,u){var O=this.start,J=this.startLoc,oe=this.parseMaybeUnary(u,!1);return this.checkExpressionErrors(u)||oe.start===O&&oe.type==="ArrowFunctionExpression"?oe:this.parseExprOp(oe,O,J,-1,e)},Rt.parseExprOp=function(e,u,O,J,oe){var Be=this.type.binop;if(Be!=null&&(!oe||this.type!==Y._in)&&Be>J){var Re=this.type===Y.logicalOR||this.type===Y.logicalAND,tt=this.type===Y.coalesce;tt&&(Be=Y.logicalAND.binop);var dt=this.value;this.next();var $t=this.start,Ht=this.startLoc,cr=this.parseExprOp(this.parseMaybeUnary(null,!1),$t,Ht,Be,oe),or=this.buildBinary(u,O,e,cr,dt,Re||tt);return(Re&&this.type===Y.coalesce||tt&&(this.type===Y.logicalOR||this.type===Y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(or,u,O,J,oe)}return e},Rt.buildBinary=function(e,u,O,J,oe,Be){var Re=this.startNodeAt(e,u);return Re.left=O,Re.operator=oe,Re.right=J,this.finishNode(Re,Be?"LogicalExpression":"BinaryExpression")},Rt.parseMaybeUnary=function(e,u){var O=this.start,J=this.startLoc,oe;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))oe=this.parseAwait(),u=!0;else if(this.type.prefix){var Be=this.startNode(),Re=this.type===Y.incDec;Be.operator=this.value,Be.prefix=!0,this.next(),Be.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),Re?this.checkLVal(Be.argument):this.strict&&Be.operator==="delete"&&Be.argument.type==="Identifier"?this.raiseRecoverable(Be.start,"Deleting local variable in strict mode"):u=!0,oe=this.finishNode(Be,Re?"UpdateExpression":"UnaryExpression")}else{if(oe=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return oe;for(;this.type.postfix&&!this.canInsertSemicolon();){var tt=this.startNodeAt(O,J);tt.operator=this.value,tt.prefix=!1,tt.argument=oe,this.checkLVal(oe),this.next(),oe=this.finishNode(tt,"UpdateExpression")}}return!u&&this.eat(Y.starstar)?this.buildBinary(O,J,oe,this.parseMaybeUnary(null,!1),"**",!1):oe},Rt.parseExprSubscripts=function(e){var u=this.start,O=this.startLoc,J=this.parseExprAtom(e);if(J.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return J;var oe=this.parseSubscripts(J,u,O);return e&&oe.type==="MemberExpression"&&(e.parenthesizedAssign>=oe.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=oe.start&&(e.parenthesizedBind=-1)),oe},Rt.parseSubscripts=function(e,u,O,J){for(var oe=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,Be=!1;;){var Re=this.parseSubscript(e,u,O,J,oe,Be);if(Re.optional&&(Be=!0),Re===e||Re.type==="ArrowFunctionExpression"){if(Be){var tt=this.startNodeAt(u,O);tt.expression=Re,Re=this.finishNode(tt,"ChainExpression")}return Re}e=Re}},Rt.parseSubscript=function(e,u,O,J,oe,Be){var Re=this.options.ecmaVersion>=11,tt=Re&&this.eat(Y.questionDot);J&&tt&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var dt=this.eat(Y.bracketL);if(dt||tt&&this.type!==Y.parenL&&this.type!==Y.backQuote||this.eat(Y.dot)){var $t=this.startNodeAt(u,O);$t.object=e,$t.property=dt?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),$t.computed=!!dt,dt&&this.expect(Y.bracketR),Re&&($t.optional=tt),e=this.finishNode($t,"MemberExpression")}else if(!J&&this.eat(Y.parenL)){var Ht=new In,cr=this.yieldPos,or=this.awaitPos,Kr=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Mn=this.parseExprList(Y.parenR,this.options.ecmaVersion>=8,!1,Ht);if(oe&&!tt&&!this.canInsertSemicolon()&&this.eat(Y.arrow))return this.checkPatternErrors(Ht,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=cr,this.awaitPos=or,this.awaitIdentPos=Kr,this.parseArrowExpression(this.startNodeAt(u,O),Mn,!0);this.checkExpressionErrors(Ht,!0),this.yieldPos=cr||this.yieldPos,this.awaitPos=or||this.awaitPos,this.awaitIdentPos=Kr||this.awaitIdentPos;var Zr=this.startNodeAt(u,O);Zr.callee=e,Zr.arguments=Mn,Re&&(Zr.optional=tt),e=this.finishNode(Zr,"CallExpression")}else if(this.type===Y.backQuote){(tt||Be)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var an=this.startNodeAt(u,O);an.tag=e,an.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(an,"TaggedTemplateExpression")}return e},Rt.parseExprAtom=function(e){this.type===Y.slash&&this.readRegexp();var u,O=this.potentialArrowAt===this.start;switch(this.type){case Y._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),u=this.startNode(),this.next(),this.type===Y.parenL&&!this.allowDirectSuper&&this.raise(u.start,"super() call outside constructor of a subclass"),this.type!==Y.dot&&this.type!==Y.bracketL&&this.type!==Y.parenL&&this.unexpected(),this.finishNode(u,"Super");case Y._this:return u=this.startNode(),this.next(),this.finishNode(u,"ThisExpression");case Y.name:var J=this.start,oe=this.startLoc,Be=this.containsEsc,Re=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Be&&Re.name==="async"&&!this.canInsertSemicolon()&&this.eat(Y._function))return this.parseFunction(this.startNodeAt(J,oe),0,!1,!0);if(O&&!this.canInsertSemicolon()){if(this.eat(Y.arrow))return this.parseArrowExpression(this.startNodeAt(J,oe),[Re],!1);if(this.options.ecmaVersion>=8&&Re.name==="async"&&this.type===Y.name&&!Be)return Re=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(Y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(J,oe),[Re],!0)}return Re;case Y.regexp:var tt=this.value;return u=this.parseLiteral(tt.value),u.regex={pattern:tt.pattern,flags:tt.flags},u;case Y.num:case Y.string:return this.parseLiteral(this.value);case Y._null:case Y._true:case Y._false:return u=this.startNode(),u.value=this.type===Y._null?null:this.type===Y._true,u.raw=this.type.keyword,this.next(),this.finishNode(u,"Literal");case Y.parenL:var dt=this.start,$t=this.parseParenAndDistinguishExpression(O);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget($t)&&(e.parenthesizedAssign=dt),e.parenthesizedBind<0&&(e.parenthesizedBind=dt)),$t;case Y.bracketL:return u=this.startNode(),this.next(),u.elements=this.parseExprList(Y.bracketR,!0,!0,e),this.finishNode(u,"ArrayExpression");case Y.braceL:return this.parseObj(!1,e);case Y._function:return u=this.startNode(),this.next(),this.parseFunction(u,0);case Y._class:return this.parseClass(this.startNode(),!1);case Y._new:return this.parseNew();case Y.backQuote:return this.parseTemplate();case Y._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Rt.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var u=this.parseIdent(!0);switch(this.type){case Y.parenL:return this.parseDynamicImport(e);case Y.dot:return e.meta=u,this.parseImportMeta(e);default:this.unexpected()}},Rt.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(Y.parenR)){var u=this.start;this.eat(Y.comma)&&this.eat(Y.parenR)?this.raiseRecoverable(u,"Trailing comma is not allowed in import()"):this.unexpected(u)}return this.finishNode(e,"ImportExpression")},Rt.parseImportMeta=function(e){this.next();var u=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),u&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Rt.parseLiteral=function(e){var u=this.startNode();return u.value=e,u.raw=this.input.slice(this.start,this.end),u.raw.charCodeAt(u.raw.length-1)===110&&(u.bigint=u.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(u,"Literal")},Rt.parseParenExpression=function(){this.expect(Y.parenL);var e=this.parseExpression();return this.expect(Y.parenR),e},Rt.parseParenAndDistinguishExpression=function(e){var u=this.start,O=this.startLoc,J,oe=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Be=this.start,Re=this.startLoc,tt=[],dt=!0,$t=!1,Ht=new In,cr=this.yieldPos,or=this.awaitPos,Kr;for(this.yieldPos=0,this.awaitPos=0;this.type!==Y.parenR;)if(dt?dt=!1:this.expect(Y.comma),oe&&this.afterTrailingComma(Y.parenR,!0)){$t=!0;break}else if(this.type===Y.ellipsis){Kr=this.start,tt.push(this.parseParenItem(this.parseRestBinding())),this.type===Y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else tt.push(this.parseMaybeAssign(!1,Ht,this.parseParenItem));var Mn=this.start,Zr=this.startLoc;if(this.expect(Y.parenR),e&&!this.canInsertSemicolon()&&this.eat(Y.arrow))return this.checkPatternErrors(Ht,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=cr,this.awaitPos=or,this.parseParenArrowList(u,O,tt);(!tt.length||$t)&&this.unexpected(this.lastTokStart),Kr&&this.unexpected(Kr),this.checkExpressionErrors(Ht,!0),this.yieldPos=cr||this.yieldPos,this.awaitPos=or||this.awaitPos,tt.length>1?(J=this.startNodeAt(Be,Re),J.expressions=tt,this.finishNodeAt(J,"SequenceExpression",Mn,Zr)):J=tt[0]}else J=this.parseParenExpression();if(this.options.preserveParens){var an=this.startNodeAt(u,O);return an.expression=J,this.finishNode(an,"ParenthesizedExpression")}else return J},Rt.parseParenItem=function(e){return e},Rt.parseParenArrowList=function(e,u,O){return this.parseArrowExpression(this.startNodeAt(e,u),O)};var du=[];Rt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),u=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(Y.dot)){e.meta=u;var O=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),O&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var J=this.start,oe=this.startLoc,Be=this.type===Y._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),J,oe,!0),Be&&e.callee.type==="ImportExpression"&&this.raise(J,"Cannot use new with import()"),this.eat(Y.parenL)?e.arguments=this.parseExprList(Y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=du,this.finishNode(e,"NewExpression")},Rt.parseTemplateElement=function(e){var u=e.isTagged,O=this.startNode();return this.type===Y.invalidTemplate?(u||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),O.value={raw:this.value,cooked:null}):O.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
14
|
-
`),cooked:this.value},this.next(),O.tail=this.type===Y.backQuote,this.finishNode(O,"TemplateElement")},Rt.parseTemplate=function(e){e===void 0&&(e={});var u=e.isTagged;u===void 0&&(u=!1);var O=this.startNode();this.next(),O.expressions=[];var J=this.parseTemplateElement({isTagged:u});for(O.quasis=[J];!J.tail;)this.type===Y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(Y.dollarBraceL),O.expressions.push(this.parseExpression()),this.expect(Y.braceR),O.quasis.push(J=this.parseTemplateElement({isTagged:u}));return this.next(),this.finishNode(O,"TemplateLiteral")},Rt.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===Y.name||this.type===Y.num||this.type===Y.string||this.type===Y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Y.star)&&!vr.test(this.input.slice(this.lastTokEnd,this.start))},Rt.parseObj=function(e,u){var O=this.startNode(),J=!0,oe={};for(O.properties=[],this.next();!this.eat(Y.braceR);){if(J)J=!1;else if(this.expect(Y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(Y.braceR))break;var Be=this.parseProperty(e,u);e||this.checkPropClash(Be,oe,u),O.properties.push(Be)}return this.finishNode(O,e?"ObjectPattern":"ObjectExpression")},Rt.parseProperty=function(e,u){var O=this.startNode(),J,oe,Be,Re;if(this.options.ecmaVersion>=9&&this.eat(Y.ellipsis))return e?(O.argument=this.parseIdent(!1),this.type===Y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(O,"RestElement")):(this.type===Y.parenL&&u&&(u.parenthesizedAssign<0&&(u.parenthesizedAssign=this.start),u.parenthesizedBind<0&&(u.parenthesizedBind=this.start)),O.argument=this.parseMaybeAssign(!1,u),this.type===Y.comma&&u&&u.trailingComma<0&&(u.trailingComma=this.start),this.finishNode(O,"SpreadElement"));this.options.ecmaVersion>=6&&(O.method=!1,O.shorthand=!1,(e||u)&&(Be=this.start,Re=this.startLoc),e||(J=this.eat(Y.star)));var tt=this.containsEsc;return this.parsePropertyName(O),!e&&!tt&&this.options.ecmaVersion>=8&&!J&&this.isAsyncProp(O)?(oe=!0,J=this.options.ecmaVersion>=9&&this.eat(Y.star),this.parsePropertyName(O,u)):oe=!1,this.parsePropertyValue(O,e,J,oe,Be,Re,u,tt),this.finishNode(O,"Property")},Rt.parsePropertyValue=function(e,u,O,J,oe,Be,Re,tt){if((O||J)&&this.type===Y.colon&&this.unexpected(),this.eat(Y.colon))e.value=u?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Re),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===Y.parenL)u&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(O,J);else if(!u&&!tt&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==Y.comma&&this.type!==Y.braceR&&this.type!==Y.eq){(O||J)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var dt=e.kind==="get"?0:1;if(e.value.params.length!==dt){var $t=e.value.start;e.kind==="get"?this.raiseRecoverable($t,"getter should have no params"):this.raiseRecoverable($t,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((O||J)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=oe),e.kind="init",u?e.value=this.parseMaybeDefault(oe,Be,e.key):this.type===Y.eq&&Re?(Re.shorthandAssign<0&&(Re.shorthandAssign=this.start),e.value=this.parseMaybeDefault(oe,Be,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},Rt.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(Y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(Y.bracketR),e.key;e.computed=!1}return e.key=this.type===Y.num||this.type===Y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Rt.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Rt.parseMethod=function(e,u,O){var J=this.startNode(),oe=this.yieldPos,Be=this.awaitPos,Re=this.awaitIdentPos;return this.initFunction(J),this.options.ecmaVersion>=6&&(J.generator=e),this.options.ecmaVersion>=8&&(J.async=!!u),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(fi(u,J.generator)|Ri|(O?pi:0)),this.expect(Y.parenL),J.params=this.parseBindingList(Y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(J,!1,!0),this.yieldPos=oe,this.awaitPos=Be,this.awaitIdentPos=Re,this.finishNode(J,"FunctionExpression")},Rt.parseArrowExpression=function(e,u,O){var J=this.yieldPos,oe=this.awaitPos,Be=this.awaitIdentPos;return this.enterScope(fi(O,!1)|un),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!O),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(u,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=J,this.awaitPos=oe,this.awaitIdentPos=Be,this.finishNode(e,"ArrowFunctionExpression")},Rt.parseFunctionBody=function(e,u,O){var J=u&&this.type!==Y.braceL,oe=this.strict,Be=!1;if(J)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var Re=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!oe||Re)&&(Be=this.strictDirective(this.end),Be&&Re&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var tt=this.labels;this.labels=[],Be&&(this.strict=!0),this.checkParams(e,!oe&&!Be&&!u&&!O&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Vi),e.body=this.parseBlock(!1,void 0,Be&&!oe),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=tt}this.exitScope()},Rt.isSimpleParamList=function(e){for(var u=0,O=e;u<O.length;u+=1){var J=O[u];if(J.type!=="Identifier")return!1}return!0},Rt.checkParams=function(e,u){for(var O={},J=0,oe=e.params;J<oe.length;J+=1){var Be=oe[J];this.checkLVal(Be,Nn,u?null:O)}},Rt.parseExprList=function(e,u,O,J){for(var oe=[],Be=!0;!this.eat(e);){if(Be)Be=!1;else if(this.expect(Y.comma),u&&this.afterTrailingComma(e))break;var Re=void 0;O&&this.type===Y.comma?Re=null:this.type===Y.ellipsis?(Re=this.parseSpread(J),J&&this.type===Y.comma&&J.trailingComma<0&&(J.trailingComma=this.start)):Re=this.parseMaybeAssign(!1,J),oe.push(Re)}return oe},Rt.checkUnreserved=function(e){var u=e.start,O=e.end,J=e.name;if(this.inGenerator&&J==="yield"&&this.raiseRecoverable(u,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&J==="await"&&this.raiseRecoverable(u,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(J)&&this.raise(u,"Unexpected keyword '"+J+"'"),!(this.options.ecmaVersion<6&&this.input.slice(u,O).indexOf("\\")!==-1)){var oe=this.strict?this.reservedWordsStrict:this.reservedWords;oe.test(J)&&(!this.inAsync&&J==="await"&&this.raiseRecoverable(u,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(u,"The keyword '"+J+"' is reserved"))}},Rt.parseIdent=function(e,u){var O=this.startNode();return this.type===Y.name?O.name=this.value:this.type.keyword?(O.name=this.type.keyword,(O.name==="class"||O.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(O,"Identifier"),e||(this.checkUnreserved(O),O.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=O.start)),O},Rt.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var u=this.startNode();return this.next(),this.type===Y.semi||this.canInsertSemicolon()||this.type!==Y.star&&!this.type.startsExpr?(u.delegate=!1,u.argument=null):(u.delegate=this.eat(Y.star),u.argument=this.parseMaybeAssign(e)),this.finishNode(u,"YieldExpression")},Rt.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")};var On=rr.prototype;On.raise=function(e,u){var O=_n(this.input,e);u+=" ("+O.line+":"+O.column+")";var J=new SyntaxError(u);throw J.pos=e,J.loc=O,J.raisedAt=this.pos,J},On.raiseRecoverable=On.raise,On.curPosition=function(){if(this.options.locations)return new qr(this.curLine,this.pos-this.lineStart)};var Mr=rr.prototype,Gi=function(u){this.flags=u,this.var=[],this.lexical=[],this.functions=[]};Mr.enterScope=function(e){this.scopeStack.push(new Gi(e))},Mr.exitScope=function(){this.scopeStack.pop()},Mr.treatFunctionsAsVarInScope=function(e){return e.flags&sn||!this.inModule&&e.flags&yn},Mr.declareName=function(e,u,O){var J=!1;if(u===Rr){var oe=this.currentScope();J=oe.lexical.indexOf(e)>-1||oe.functions.indexOf(e)>-1||oe.var.indexOf(e)>-1,oe.lexical.push(e),this.inModule&&oe.flags&yn&&delete this.undefinedExports[e]}else if(u===$i){var Be=this.currentScope();Be.lexical.push(e)}else if(u===di){var Re=this.currentScope();this.treatFunctionsAsVar?J=Re.lexical.indexOf(e)>-1:J=Re.lexical.indexOf(e)>-1||Re.var.indexOf(e)>-1,Re.functions.push(e)}else for(var tt=this.scopeStack.length-1;tt>=0;--tt){var dt=this.scopeStack[tt];if(dt.lexical.indexOf(e)>-1&&!(dt.flags&ci&&dt.lexical[0]===e)||!this.treatFunctionsAsVarInScope(dt)&&dt.functions.indexOf(e)>-1){J=!0;break}if(dt.var.push(e),this.inModule&&dt.flags&yn&&delete this.undefinedExports[e],dt.flags&Bn)break}J&&this.raiseRecoverable(O,"Identifier '"+e+"' has already been declared")},Mr.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},Mr.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Mr.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var u=this.scopeStack[e];if(u.flags&Bn)return u}},Mr.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var u=this.scopeStack[e];if(u.flags&Bn&&!(u.flags&un))return u}};var Ln=function(u,O,J){this.type="",this.start=O,this.end=0,u.options.locations&&(this.loc=new wr(u,J)),u.options.directSourceFile&&(this.sourceFile=u.options.directSourceFile),u.options.ranges&&(this.range=[O,0])},vn=rr.prototype;vn.startNode=function(){return new Ln(this,this.start,this.startLoc)},vn.startNodeAt=function(e,u){return new Ln(this,e,u)};function qi(e,u,O,J){return e.type=u,e.end=O,this.options.locations&&(e.loc.end=J),this.options.ranges&&(e.range[1]=O),e}vn.finishNode=function(e,u){return qi.call(this,e,u,this.lastTokEnd,this.lastTokEndLoc)},vn.finishNodeAt=function(e,u,O,J){return qi.call(this,e,u,O,J)};var Ar=function(u,O,J,oe,Be){this.token=u,this.isExpr=!!O,this.preserveSpace=!!J,this.override=oe,this.generator=!!Be},ur={b_stat:new Ar("{",!1),b_expr:new Ar("{",!0),b_tmpl:new Ar("${",!1),p_stat:new Ar("(",!1),p_expr:new Ar("(",!0),q_tmpl:new Ar("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Ar("function",!1),f_expr:new Ar("function",!0),f_expr_gen:new Ar("function",!0,!1,null,!0),f_gen:new Ar("function",!1,!1,null,!0)},jn=rr.prototype;jn.initialContext=function(){return[ur.b_stat]},jn.braceIsBlock=function(e){var u=this.curContext();return u===ur.f_expr||u===ur.f_stat?!0:e===Y.colon&&(u===ur.b_stat||u===ur.b_expr)?!u.isExpr:e===Y._return||e===Y.name&&this.exprAllowed?vr.test(this.input.slice(this.lastTokEnd,this.start)):e===Y._else||e===Y.semi||e===Y.eof||e===Y.parenR||e===Y.arrow?!0:e===Y.braceL?u===ur.b_stat:e===Y._var||e===Y._const||e===Y.name?!1:!this.exprAllowed},jn.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var u=this.context[e];if(u.token==="function")return u.generator}return!1},jn.updateContext=function(e){var u,O=this.type;O.keyword&&e===Y.dot?this.exprAllowed=!1:(u=O.updateContext)?u.call(this,e):this.exprAllowed=O.beforeExpr},Y.parenR.updateContext=Y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ur.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},Y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ur.b_stat:ur.b_expr),this.exprAllowed=!0},Y.dollarBraceL.updateContext=function(){this.context.push(ur.b_tmpl),this.exprAllowed=!0},Y.parenL.updateContext=function(e){var u=e===Y._if||e===Y._for||e===Y._with||e===Y._while;this.context.push(u?ur.p_stat:ur.p_expr),this.exprAllowed=!0},Y.incDec.updateContext=function(){},Y._function.updateContext=Y._class.updateContext=function(e){e.beforeExpr&&e!==Y.semi&&e!==Y._else&&!(e===Y._return&&vr.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===Y.colon||e===Y.braceL)&&this.curContext()===ur.b_stat)?this.context.push(ur.f_expr):this.context.push(ur.f_stat),this.exprAllowed=!1},Y.backQuote.updateContext=function(){this.curContext()===ur.q_tmpl?this.context.pop():this.context.push(ur.q_tmpl),this.exprAllowed=!1},Y.star.updateContext=function(e){if(e===Y._function){var u=this.context.length-1;this.context[u]===ur.f_expr?this.context[u]=ur.f_expr_gen:this.context[u]=ur.f_gen}this.exprAllowed=!0},Y.name.updateContext=function(e){var u=!1;this.options.ecmaVersion>=6&&e!==Y.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(u=!0),this.exprAllowed=u};var mi="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Wi=mi+" Extended_Pictographic",Ji=Wi,hu={9:mi,10:Wi,11:Ji},zi="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Xi="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Hi=Xi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",gu=Hi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",mu={9:Xi,10:Hi,11:gu},Yi={};function yi(e){var u=Yi[e]={binary:Gr(hu[e]+" "+zi),nonBinary:{General_Category:Gr(zi),Script:Gr(mu[e])}};u.nonBinary.Script_Extensions=u.nonBinary.Script,u.nonBinary.gc=u.nonBinary.General_Category,u.nonBinary.sc=u.nonBinary.Script,u.nonBinary.scx=u.nonBinary.Script_Extensions}yi(9),yi(10),yi(11);var bt=rr.prototype,$r=function(u){this.parser=u,this.validFlags="gim"+(u.options.ecmaVersion>=6?"uy":"")+(u.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Yi[u.options.ecmaVersion>=11?11:u.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};$r.prototype.reset=function(u,O,J){var oe=J.indexOf("u")!==-1;this.start=u|0,this.source=O+"",this.flags=J,this.switchU=oe&&this.parser.options.ecmaVersion>=6,this.switchN=oe&&this.parser.options.ecmaVersion>=9},$r.prototype.raise=function(u){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+u)},$r.prototype.at=function(u,O){O===void 0&&(O=!1);var J=this.source,oe=J.length;if(u>=oe)return-1;var Be=J.charCodeAt(u);if(!(O||this.switchU)||Be<=55295||Be>=57344||u+1>=oe)return Be;var Re=J.charCodeAt(u+1);return Re>=56320&&Re<=57343?(Be<<10)+Re-56613888:Be},$r.prototype.nextIndex=function(u,O){O===void 0&&(O=!1);var J=this.source,oe=J.length;if(u>=oe)return oe;var Be=J.charCodeAt(u),Re;return!(O||this.switchU)||Be<=55295||Be>=57344||u+1>=oe||(Re=J.charCodeAt(u+1))<56320||Re>57343?u+1:u+2},$r.prototype.current=function(u){return u===void 0&&(u=!1),this.at(this.pos,u)},$r.prototype.lookahead=function(u){return u===void 0&&(u=!1),this.at(this.nextIndex(this.pos,u),u)},$r.prototype.advance=function(u){u===void 0&&(u=!1),this.pos=this.nextIndex(this.pos,u)},$r.prototype.eat=function(u,O){return O===void 0&&(O=!1),this.current(O)===u?(this.advance(O),!0):!1};function Rn(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}bt.validateRegExpFlags=function(e){for(var u=e.validFlags,O=e.flags,J=0;J<O.length;J++){var oe=O.charAt(J);u.indexOf(oe)===-1&&this.raise(e.start,"Invalid regular expression flag"),O.indexOf(oe,J+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},bt.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},bt.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var u=0,O=e.backReferenceNames;u<O.length;u+=1){var J=O[u];e.groupNames.indexOf(J)===-1&&e.raise("Invalid named capture referenced")}},bt.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},bt.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},bt.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},bt.regexp_eatAssertion=function(e){var u=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=u}if(e.eat(40)&&e.eat(63)){var O=!1;if(this.options.ecmaVersion>=9&&(O=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!O,!0}return e.pos=u,!1},bt.regexp_eatQuantifier=function(e,u){return u===void 0&&(u=!1),this.regexp_eatQuantifierPrefix(e,u)?(e.eat(63),!0):!1},bt.regexp_eatQuantifierPrefix=function(e,u){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,u)},bt.regexp_eatBracedQuantifier=function(e,u){var O=e.pos;if(e.eat(123)){var J=0,oe=-1;if(this.regexp_eatDecimalDigits(e)&&(J=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(oe=e.lastIntValue),e.eat(125)))return oe!==-1&&oe<J&&!u&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!u&&e.raise("Incomplete quantifier"),e.pos=O}return!1},bt.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},bt.regexp_eatReverseSolidusAtomEscape=function(e){var u=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=u}return!1},bt.regexp_eatUncapturingGroup=function(e){var u=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=u}return!1},bt.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},bt.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},bt.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},bt.regexp_eatSyntaxCharacter=function(e){var u=e.current();return Qi(u)?(e.lastIntValue=u,e.advance(),!0):!1};function Qi(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}bt.regexp_eatPatternCharacters=function(e){for(var u=e.pos,O=0;(O=e.current())!==-1&&!Qi(O);)e.advance();return e.pos!==u},bt.regexp_eatExtendedPatternCharacter=function(e){var u=e.current();return u!==-1&&u!==36&&!(u>=40&&u<=43)&&u!==46&&u!==63&&u!==91&&u!==94&&u!==124?(e.advance(),!0):!1},bt.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},bt.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},bt.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Rn(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Rn(e.lastIntValue);return!0}return!1},bt.regexp_eatRegExpIdentifierStart=function(e){var u=e.pos,O=this.options.ecmaVersion>=11,J=e.current(O);return e.advance(O),J===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,O)&&(J=e.lastIntValue),He(J)?(e.lastIntValue=J,!0):(e.pos=u,!1)};function He(e){return xt(e,!0)||e===36||e===95}bt.regexp_eatRegExpIdentifierPart=function(e){var u=e.pos,O=this.options.ecmaVersion>=11,J=e.current(O);return e.advance(O),J===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,O)&&(J=e.lastIntValue),Ce(J)?(e.lastIntValue=J,!0):(e.pos=u,!1)};function Ce(e){return jt(e,!0)||e===36||e===95||e===8204||e===8205}bt.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},bt.regexp_eatBackReference=function(e){var u=e.pos;if(this.regexp_eatDecimalEscape(e)){var O=e.lastIntValue;if(e.switchU)return O>e.maxBackReference&&(e.maxBackReference=O),!0;if(O<=e.numCapturingParens)return!0;e.pos=u}return!1},bt.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},bt.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},bt.regexp_eatCControlLetter=function(e){var u=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=u}return!1},bt.regexp_eatZero=function(e){return e.current()===48&&!Je(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},bt.regexp_eatControlEscape=function(e){var u=e.current();return u===116?(e.lastIntValue=9,e.advance(),!0):u===110?(e.lastIntValue=10,e.advance(),!0):u===118?(e.lastIntValue=11,e.advance(),!0):u===102?(e.lastIntValue=12,e.advance(),!0):u===114?(e.lastIntValue=13,e.advance(),!0):!1},bt.regexp_eatControlLetter=function(e){var u=e.current();return me(u)?(e.lastIntValue=u%32,e.advance(),!0):!1};function me(e){return e>=65&&e<=90||e>=97&&e<=122}bt.regexp_eatRegExpUnicodeEscapeSequence=function(e,u){u===void 0&&(u=!1);var O=e.pos,J=u||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var oe=e.lastIntValue;if(J&&oe>=55296&&oe<=56319){var Be=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var Re=e.lastIntValue;if(Re>=56320&&Re<=57343)return e.lastIntValue=(oe-55296)*1024+(Re-56320)+65536,!0}e.pos=Be,e.lastIntValue=oe}return!0}if(J&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Ae(e.lastIntValue))return!0;J&&e.raise("Invalid unicode escape"),e.pos=O}return!1};function Ae(e){return e>=0&&e<=1114111}bt.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var u=e.current();return u!==99&&(!e.switchN||u!==107)?(e.lastIntValue=u,e.advance(),!0):!1},bt.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var u=e.current();if(u>=49&&u<=57){do e.lastIntValue=10*e.lastIntValue+(u-48),e.advance();while((u=e.current())>=48&&u<=57);return!0}return!1},bt.regexp_eatCharacterClassEscape=function(e){var u=e.current();if(be(u))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(u===80||u===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function be(e){return e===100||e===68||e===115||e===83||e===119||e===87}bt.regexp_eatUnicodePropertyValueExpression=function(e){var u=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var O=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var J=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,O,J),!0}}if(e.pos=u,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var oe=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,oe),!0}return!1},bt.regexp_validateUnicodePropertyNameAndValue=function(e,u,O){nn(e.unicodeProperties.nonBinary,u)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[u].test(O)||e.raise("Invalid property value")},bt.regexp_validateUnicodePropertyNameOrValue=function(e,u){e.unicodeProperties.binary.test(u)||e.raise("Invalid property name")},bt.regexp_eatUnicodePropertyName=function(e){var u=0;for(e.lastStringValue="";Oe(u=e.current());)e.lastStringValue+=Rn(u),e.advance();return e.lastStringValue!==""};function Oe(e){return me(e)||e===95}bt.regexp_eatUnicodePropertyValue=function(e){var u=0;for(e.lastStringValue="";$e(u=e.current());)e.lastStringValue+=Rn(u),e.advance();return e.lastStringValue!==""};function $e(e){return Oe(e)||Je(e)}bt.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},bt.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},bt.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var u=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var O=e.lastIntValue;e.switchU&&(u===-1||O===-1)&&e.raise("Invalid character class"),u!==-1&&O!==-1&&u>O&&e.raise("Range out of order in character class")}}},bt.regexp_eatClassAtom=function(e){var u=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var O=e.current();(O===99||ut(O))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=u}var J=e.current();return J!==93?(e.lastIntValue=J,e.advance(),!0):!1},bt.regexp_eatClassEscape=function(e){var u=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=u}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},bt.regexp_eatClassControlLetter=function(e){var u=e.current();return Je(u)||u===95?(e.lastIntValue=u%32,e.advance(),!0):!1},bt.regexp_eatHexEscapeSequence=function(e){var u=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=u}return!1},bt.regexp_eatDecimalDigits=function(e){var u=e.pos,O=0;for(e.lastIntValue=0;Je(O=e.current());)e.lastIntValue=10*e.lastIntValue+(O-48),e.advance();return e.pos!==u};function Je(e){return e>=48&&e<=57}bt.regexp_eatHexDigits=function(e){var u=e.pos,O=0;for(e.lastIntValue=0;qe(O=e.current());)e.lastIntValue=16*e.lastIntValue+Xe(O),e.advance();return e.pos!==u};function qe(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Xe(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}bt.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var u=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var O=e.lastIntValue;u<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=u*64+O*8+e.lastIntValue:e.lastIntValue=u*8+O}else e.lastIntValue=u;return!0}return!1},bt.regexp_eatOctalDigit=function(e){var u=e.current();return ut(u)?(e.lastIntValue=u-48,e.advance(),!0):(e.lastIntValue=0,!1)};function ut(e){return e>=48&&e<=55}bt.regexp_eatFixedHexDigits=function(e,u){var O=e.pos;e.lastIntValue=0;for(var J=0;J<u;++J){var oe=e.current();if(!qe(oe))return e.pos=O,!1;e.lastIntValue=16*e.lastIntValue+Xe(oe),e.advance()}return!0};var ot=function(u){this.type=u.type,this.value=u.value,this.start=u.start,this.end=u.end,u.options.locations&&(this.loc=new wr(u,u.startLoc,u.endLoc)),u.options.ranges&&(this.range=[u.start,u.end])},Ye=rr.prototype;Ye.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ot(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ye.getToken=function(){return this.next(),new ot(this)},typeof Symbol!="undefined"&&(Ye[Symbol.iterator]=function(){var e=this;return{next:function(){var u=e.getToken();return{done:u.type===Y.eof,value:u}}}}),Ye.curContext=function(){return this.context[this.context.length-1]},Ye.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(Y.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},Ye.readToken=function(e){return xt(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},Ye.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var u=this.input.charCodeAt(this.pos+1);return(e<<10)+u-56613888},Ye.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),u=this.pos,O=this.input.indexOf("*/",this.pos+=2);if(O===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=O+2,this.options.locations){Xr.lastIndex=u;for(var J;(J=Xr.exec(this.input))&&J.index<this.pos;)++this.curLine,this.lineStart=J.index+J[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(u+2,O),u,this.pos,e,this.curPosition())},Ye.skipLineComment=function(e){for(var u=this.pos,O=this.options.onComment&&this.curPosition(),J=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Hr(J);)J=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(u+e,this.pos),u,this.pos,O,this.curPosition())},Ye.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&mn.test(String.fromCharCode(e)))++this.pos;else break e}}},Ye.finishToken=function(e,u){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var O=this.type;this.type=e,this.value=u,this.updateContext(O)},Ye.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var u=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&u===46?(this.pos+=3,this.finishToken(Y.ellipsis)):(++this.pos,this.finishToken(Y.dot))},Ye.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(Y.assign,2):this.finishOp(Y.slash,1)},Ye.readToken_mult_modulo_exp=function(e){var u=this.input.charCodeAt(this.pos+1),O=1,J=e===42?Y.star:Y.modulo;return this.options.ecmaVersion>=7&&e===42&&u===42&&(++O,J=Y.starstar,u=this.input.charCodeAt(this.pos+2)),u===61?this.finishOp(Y.assign,O+1):this.finishOp(J,O)},Ye.readToken_pipe_amp=function(e){var u=this.input.charCodeAt(this.pos+1);if(u===e){if(this.options.ecmaVersion>=12){var O=this.input.charCodeAt(this.pos+2);if(O===61)return this.finishOp(Y.assign,3)}return this.finishOp(e===124?Y.logicalOR:Y.logicalAND,2)}return u===61?this.finishOp(Y.assign,2):this.finishOp(e===124?Y.bitwiseOR:Y.bitwiseAND,1)},Ye.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(Y.assign,2):this.finishOp(Y.bitwiseXOR,1)},Ye.readToken_plus_min=function(e){var u=this.input.charCodeAt(this.pos+1);return u===e?u===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||vr.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(Y.incDec,2):u===61?this.finishOp(Y.assign,2):this.finishOp(Y.plusMin,1)},Ye.readToken_lt_gt=function(e){var u=this.input.charCodeAt(this.pos+1),O=1;return u===e?(O=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+O)===61?this.finishOp(Y.assign,O+1):this.finishOp(Y.bitShift,O)):u===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(u===61&&(O=2),this.finishOp(Y.relational,O))},Ye.readToken_eq_excl=function(e){var u=this.input.charCodeAt(this.pos+1);return u===61?this.finishOp(Y.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&u===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(Y.arrow)):this.finishOp(e===61?Y.eq:Y.prefix,1)},Ye.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var u=this.input.charCodeAt(this.pos+1);if(u===46){var O=this.input.charCodeAt(this.pos+2);if(O<48||O>57)return this.finishOp(Y.questionDot,2)}if(u===63){if(e>=12){var J=this.input.charCodeAt(this.pos+2);if(J===61)return this.finishOp(Y.assign,3)}return this.finishOp(Y.coalesce,2)}}return this.finishOp(Y.question,1)},Ye.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(Y.parenL);case 41:return++this.pos,this.finishToken(Y.parenR);case 59:return++this.pos,this.finishToken(Y.semi);case 44:return++this.pos,this.finishToken(Y.comma);case 91:return++this.pos,this.finishToken(Y.bracketL);case 93:return++this.pos,this.finishToken(Y.bracketR);case 123:return++this.pos,this.finishToken(Y.braceL);case 125:return++this.pos,this.finishToken(Y.braceR);case 58:return++this.pos,this.finishToken(Y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(Y.backQuote);case 48:var u=this.input.charCodeAt(this.pos+1);if(u===120||u===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(u===111||u===79)return this.readRadixNumber(8);if(u===98||u===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(Y.prefix,1)}this.raise(this.pos,"Unexpected character '"+ft(e)+"'")},Ye.finishOp=function(e,u){var O=this.input.slice(this.pos,this.pos+u);return this.pos+=u,this.finishToken(e,O)},Ye.readRegexp=function(){for(var e,u,O=this.pos;;){this.pos>=this.input.length&&this.raise(O,"Unterminated regular expression");var J=this.input.charAt(this.pos);if(vr.test(J)&&this.raise(O,"Unterminated regular expression"),e)e=!1;else{if(J==="[")u=!0;else if(J==="]"&&u)u=!1;else if(J==="/"&&!u)break;e=J==="\\"}++this.pos}var oe=this.input.slice(O,this.pos);++this.pos;var Be=this.pos,Re=this.readWord1();this.containsEsc&&this.unexpected(Be);var tt=this.regexpState||(this.regexpState=new $r(this));tt.reset(O,oe,Re),this.validateRegExpFlags(tt),this.validateRegExpPattern(tt);var dt=null;try{dt=new RegExp(oe,Re)}catch($t){}return this.finishToken(Y.regexp,{pattern:oe,flags:Re,value:dt})},Ye.readInt=function(e,u,O){for(var J=this.options.ecmaVersion>=12&&u===void 0,oe=O&&this.input.charCodeAt(this.pos)===48,Be=this.pos,Re=0,tt=0,dt=0,$t=u??1/0;dt<$t;++dt,++this.pos){var Ht=this.input.charCodeAt(this.pos),cr=void 0;if(J&&Ht===95){oe&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),tt===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),dt===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),tt=Ht;continue}if(Ht>=97?cr=Ht-97+10:Ht>=65?cr=Ht-65+10:Ht>=48&&Ht<=57?cr=Ht-48:cr=1/0,cr>=e)break;tt=Ht,Re=Re*e+cr}return J&&tt===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Be||u!=null&&this.pos-Be!==u?null:Re};function at(e,u){return u?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function re(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}Ye.readRadixNumber=function(e){var u=this.pos;this.pos+=2;var O=this.readInt(e);return O==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(O=re(this.input.slice(u,this.pos)),++this.pos):xt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(Y.num,O)},Ye.readNumber=function(e){var u=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(u,"Invalid number");var O=this.pos-u>=2&&this.input.charCodeAt(u)===48;O&&this.strict&&this.raise(u,"Invalid number");var J=this.input.charCodeAt(this.pos);if(!O&&!e&&this.options.ecmaVersion>=11&&J===110){var oe=re(this.input.slice(u,this.pos));return++this.pos,xt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(Y.num,oe)}O&&/[89]/.test(this.input.slice(u,this.pos))&&(O=!1),J===46&&!O&&(++this.pos,this.readInt(10),J=this.input.charCodeAt(this.pos)),(J===69||J===101)&&!O&&(J=this.input.charCodeAt(++this.pos),(J===43||J===45)&&++this.pos,this.readInt(10)===null&&this.raise(u,"Invalid number")),xt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Be=at(this.input.slice(u,this.pos),O);return this.finishToken(Y.num,Be)},Ye.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),u;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var O=++this.pos;u=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,u>1114111&&this.invalidStringToken(O,"Code point out of bounds")}else u=this.readHexChar(4);return u};function ft(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}Ye.readString=function(e){for(var u="",O=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var J=this.input.charCodeAt(this.pos);if(J===e)break;J===92?(u+=this.input.slice(O,this.pos),u+=this.readEscapedChar(!1),O=this.pos):(Hr(J,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return u+=this.input.slice(O,this.pos++),this.finishToken(Y.string,u)};var St={};Ye.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===St)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},Ye.invalidStringToken=function(e,u){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw St;this.raise(e,u)},Ye.readTmplToken=function(){for(var e="",u=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var O=this.input.charCodeAt(this.pos);if(O===96||O===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===Y.template||this.type===Y.invalidTemplate)?O===36?(this.pos+=2,this.finishToken(Y.dollarBraceL)):(++this.pos,this.finishToken(Y.backQuote)):(e+=this.input.slice(u,this.pos),this.finishToken(Y.template,e));if(O===92)e+=this.input.slice(u,this.pos),e+=this.readEscapedChar(!0),u=this.pos;else if(Hr(O)){switch(e+=this.input.slice(u,this.pos),++this.pos,O){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
15
|
-
`;break;default:
|
|
16
|
-
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ft(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var O=this.pos-1;return this.invalidStringToken(O,"Invalid escape sequence in template string"),null}default:if(u>=48&&u<=55){var J=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],oe=parseInt(J,8);return oe>255&&(J=J.slice(0,-1),oe=parseInt(J,8)),this.pos+=J.length-1,u=this.input.charCodeAt(this.pos),(J!=="0"||u===56||u===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-J.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(oe)}return Hr(u)?"":String.fromCharCode(u)}},Ye.readHexChar=function(e){var u=this.pos,O=this.readInt(16,e);return O===null&&this.invalidStringToken(u,"Bad character escape sequence"),O},Ye.readWord1=function(){this.containsEsc=!1;for(var e="",u=!0,O=this.pos,J=this.options.ecmaVersion>=6;this.pos<this.input.length;){var oe=this.fullCharCodeAtPos();if(jt(oe,J))this.pos+=oe<=65535?1:2;else if(oe===92){this.containsEsc=!0,e+=this.input.slice(O,this.pos);var Be=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Re=this.readCodePoint();(u?xt:jt)(Re,J)||this.invalidStringToken(Be,"Invalid Unicode escape"),e+=ft(Re),O=this.pos}else break;u=!1}return e+this.input.slice(O,this.pos)},Ye.readWord=function(){var e=this.readWord1(),u=Y.name;return this.keywords.test(e)&&(u=Lr[e]),this.finishToken(u,e)};var Mt="7.4.1";rr.acorn={Parser:rr,version:Mt,defaultOptions:jr,Position:qr,SourceLocation:wr,getLineInfo:_n,Node:Ln,TokenType:Ft,tokTypes:Y,keywordTypes:Lr,TokContext:Ar,tokContexts:ur,isIdentifierChar:jt,isIdentifierStart:xt,Token:ot,isNewLine:Hr,lineBreak:vr,lineBreakG:Xr,nonASCIIwhitespace:mn};function Ot(e,u){return rr.parse(e,u)}function ir(e,u,O){return rr.parseExpressionAt(e,u,O)}function ce(e,u){return rr.tokenizer(e,u)}t.Node=Ln,t.Parser=rr,t.Position=qr,t.SourceLocation=wr,t.TokContext=Ar,t.Token=ot,t.TokenType=Ft,t.defaultOptions=jr,t.getLineInfo=_n,t.isIdentifierChar=jt,t.isIdentifierStart=xt,t.isNewLine=Hr,t.keywordTypes=Lr,t.lineBreak=vr,t.lineBreakG=Xr,t.nonASCIIwhitespace=mn,t.parse=Ot,t.parseExpressionAt=ir,t.tokContexts=ur,t.tokTypes=Y,t.tokenizer=ce,t.version=Mt,Object.defineProperty(t,"__esModule",{value:!0})})});var vl=gt((Yy,El)=>{"use strict";var Dl=yl(),S0=Gu();El.exports=T0;var F0={throw:!1,strict:!1,lineComment:!1};function T0(t,r){r=S0({},F0,r);try{var n=new Dl.Parser(r,t,0);r.strict&&(n.strict=!0),r.lineComment||(n.skipLineComment=function(v){this.raise(this.pos,"Line comments not allowed in an expression")}),n.nextToken(),n.parseExpression(),n.type!==Dl.tokTypes.eof&&n.unexpected()}catch(v){if(!r.throw)return!1;throw v}return!0}});var Ku=gt((Qy,bl)=>{"use strict";bl.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),v=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(v)!=="[object Symbol]")return!1;var V=42;r[n]=V;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var se=Object.getOwnPropertySymbols(r);if(se.length!==1||se[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ae=Object.getOwnPropertyDescriptor(r,n);if(ae.value!==V||ae.enumerable!==!0)return!1}return!0}});var Al=gt((Ky,xl)=>{"use strict";var Cl=typeof Symbol!="undefined"&&Symbol,w0=Ku();xl.exports=function(){return typeof Cl!="function"||typeof Symbol!="function"||typeof Cl("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:w0()}});var Tl=gt((Zy,Fl)=>{"use strict";var Sl={foo:{}},k0=Object;Fl.exports=function(){return{__proto__:Sl}.foo===Sl.foo&&!({__proto__:null}instanceof k0)}});var kl=gt((eD,wl)=>{"use strict";var P0="Function.prototype.bind called on incompatible ",Zu=Array.prototype.slice,_0=Object.prototype.toString,B0="[object Function]";wl.exports=function(r){var n=this;if(typeof n!="function"||_0.call(n)!==B0)throw new TypeError(P0+n);for(var v=Zu.call(arguments,1),V,se=function(){if(this instanceof V){var vt=n.apply(this,v.concat(Zu.call(arguments)));return Object(vt)===vt?vt:this}else return n.apply(r,v.concat(Zu.call(arguments)))},ae=Math.max(0,n.length-v.length),De=[],Le=0;Le<ae;Le++)De.push("$"+Le);if(V=Function("binder","return function ("+De.join(",")+"){ return binder.apply(this,arguments); }")(se),n.prototype){var rt=function(){};rt.prototype=n.prototype,V.prototype=new rt,rt.prototype=null}return V}});var Es=gt((tD,Pl)=>{"use strict";var N0=kl();Pl.exports=Function.prototype.bind||N0});var Bl=gt((rD,_l)=>{"use strict";var I0=Es();_l.exports=I0.call(Function.call,Object.prototype.hasOwnProperty)});var Cs=gt((nD,jl)=>{"use strict";var Wt,Xn=SyntaxError,Nl=Function,Hn=TypeError,ea=function(t){try{return Nl('"use strict"; return ('+t+").constructor;")()}catch(r){}},An=Object.getOwnPropertyDescriptor;if(An)try{An({},"")}catch(t){An=null}var ta=function(){throw new Hn},O0=An?function(){try{return arguments.callee,ta}catch(t){try{return An(arguments,"callee").get}catch(r){return ta}}}():ta,Yn=Al()(),L0=Tl()(),hr=Object.getPrototypeOf||(L0?function(t){return t.__proto__}:null),Qn={},j0=typeof Uint8Array=="undefined"||!hr?Wt:hr(Uint8Array),Sn={"%AggregateError%":typeof AggregateError=="undefined"?Wt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?Wt:ArrayBuffer,"%ArrayIteratorPrototype%":Yn&&hr?hr([][Symbol.iterator]()):Wt,"%AsyncFromSyncIteratorPrototype%":Wt,"%AsyncFunction%":Qn,"%AsyncGenerator%":Qn,"%AsyncGeneratorFunction%":Qn,"%AsyncIteratorPrototype%":Qn,"%Atomics%":typeof Atomics=="undefined"?Wt:Atomics,"%BigInt%":typeof BigInt=="undefined"?Wt:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?Wt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?Wt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?Wt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?Wt:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?Wt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?Wt:FinalizationRegistry,"%Function%":Nl,"%GeneratorFunction%":Qn,"%Int8Array%":typeof Int8Array=="undefined"?Wt:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?Wt:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?Wt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Yn&&hr?hr(hr([][Symbol.iterator]())):Wt,"%JSON%":typeof JSON=="object"?JSON:Wt,"%Map%":typeof Map=="undefined"?Wt:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Yn||!hr?Wt:hr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?Wt:Promise,"%Proxy%":typeof Proxy=="undefined"?Wt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?Wt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?Wt:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Yn||!hr?Wt:hr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?Wt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Yn&&hr?hr(""[Symbol.iterator]()):Wt,"%Symbol%":Yn?Symbol:Wt,"%SyntaxError%":Xn,"%ThrowTypeError%":O0,"%TypedArray%":j0,"%TypeError%":Hn,"%Uint8Array%":typeof Uint8Array=="undefined"?Wt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?Wt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?Wt:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?Wt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?Wt:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?Wt:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?Wt:WeakSet};if(hr)try{null.error}catch(t){Il=hr(hr(t)),Sn["%Error.prototype%"]=Il}var Il,R0=function t(r){var n;if(r==="%AsyncFunction%")n=ea("async function () {}");else if(r==="%GeneratorFunction%")n=ea("function* () {}");else if(r==="%AsyncGeneratorFunction%")n=ea("async function* () {}");else if(r==="%AsyncGenerator%"){var v=t("%AsyncGeneratorFunction%");v&&(n=v.prototype)}else if(r==="%AsyncIteratorPrototype%"){var V=t("%AsyncGenerator%");V&&hr&&(n=hr(V.prototype))}return Sn[r]=n,n},Ol={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},wi=Es(),vs=Bl(),M0=wi.call(Function.call,Array.prototype.concat),$0=wi.call(Function.apply,Array.prototype.splice),Ll=wi.call(Function.call,String.prototype.replace),bs=wi.call(Function.call,String.prototype.slice),V0=wi.call(Function.call,RegExp.prototype.exec),U0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G0=/\\(\\)?/g,q0=function(r){var n=bs(r,0,1),v=bs(r,-1);if(n==="%"&&v!=="%")throw new Xn("invalid intrinsic syntax, expected closing `%`");if(v==="%"&&n!=="%")throw new Xn("invalid intrinsic syntax, expected opening `%`");var V=[];return Ll(r,U0,function(se,ae,De,Le){V[V.length]=De?Ll(Le,G0,"$1"):ae||se}),V},W0=function(r,n){var v=r,V;if(vs(Ol,v)&&(V=Ol[v],v="%"+V[0]+"%"),vs(Sn,v)){var se=Sn[v];if(se===Qn&&(se=R0(v)),typeof se=="undefined"&&!n)throw new Hn("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:V,name:v,value:se}}throw new Xn("intrinsic "+r+" does not exist!")};jl.exports=function(r,n){if(typeof r!="string"||r.length===0)throw new Hn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Hn('"allowMissing" argument must be a boolean');if(V0(/^%?[^%]*%?$/,r)===null)throw new Xn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var v=q0(r),V=v.length>0?v[0]:"",se=W0("%"+V+"%",n),ae=se.name,De=se.value,Le=!1,rt=se.alias;rt&&(V=rt[0],$0(v,M0([0,1],rt)));for(var vt=1,Lt=!0;vt<v.length;vt+=1){var xt=v[vt],jt=bs(xt,0,1),Ft=bs(xt,-1);if((jt==='"'||jt==="'"||jt==="`"||Ft==='"'||Ft==="'"||Ft==="`")&&jt!==Ft)throw new Xn("property names with quotes must have matching quotes");if((xt==="constructor"||!Lt)&&(Le=!0),V+="."+xt,ae="%"+V+"%",vs(Sn,ae))De=Sn[ae];else if(De!=null){if(!(xt in De)){if(!n)throw new Hn("base intrinsic for "+r+" exists, but the property is not available.");return}if(An&&vt+1>=v.length){var wt=An(De,xt);Lt=!!wt,Lt&&"get"in wt&&!("originalValue"in wt.get)?De=wt.get:De=De[xt]}else Lt=vs(De,xt),De=De[xt];Lt&&!Le&&(Sn[ae]=De)}}return De}});var Gl=gt((iD,xs)=>{"use strict";var ra=Es(),Kn=Cs(),Rl=Kn("%Function.prototype.apply%"),Ml=Kn("%Function.prototype.call%"),$l=Kn("%Reflect.apply%",!0)||ra.call(Ml,Rl),Vl=Kn("%Object.getOwnPropertyDescriptor%",!0),Fn=Kn("%Object.defineProperty%",!0),J0=Kn("%Math.max%");if(Fn)try{Fn({},"a",{value:1})}catch(t){Fn=null}xs.exports=function(r){var n=$l(ra,Ml,arguments);if(Vl&&Fn){var v=Vl(n,"length");v.configurable&&Fn(n,"length",{value:1+J0(0,r.length-(arguments.length-1))})}return n};var Ul=function(){return $l(ra,Rl,arguments)};Fn?Fn(xs.exports,"apply",{value:Ul}):xs.exports.apply=Ul});var ki=gt((sD,Jl)=>{"use strict";var ql=Cs(),Wl=Gl(),z0=Wl(ql("String.prototype.indexOf"));Jl.exports=function(r,n){var v=ql(r,!!n);return typeof v=="function"&&z0(r,".prototype.")>-1?Wl(v):v}});var Zn=gt((uD,zl)=>{"use strict";var X0=Ku();zl.exports=function(){return X0()&&!!Symbol.toStringTag}});var Kl=gt((aD,Ql)=>{"use strict";var na=ki(),Xl=Zn()(),Hl,Yl,ia,sa;Xl&&(Hl=na("Object.prototype.hasOwnProperty"),Yl=na("RegExp.prototype.exec"),ia={},As=function(){throw ia},sa={toString:As,valueOf:As},typeof Symbol.toPrimitive=="symbol"&&(sa[Symbol.toPrimitive]=As));var As,H0=na("Object.prototype.toString"),Y0=Object.getOwnPropertyDescriptor,Q0="[object RegExp]";Ql.exports=Xl?function(r){if(!r||typeof r!="object")return!1;var n=Y0(r,"lastIndex"),v=n&&Hl(n,"value");if(!v)return!1;try{Yl(r,sa)}catch(V){return V===ia}}:function(r){return!r||typeof r!="object"&&typeof r!="function"?!1:H0(r)===Q0}});var nc=gt((Nr,rc)=>{"use strict";var K0=Kl();Nr=rc.exports=Zl;var gr=Nr.TOKEN_TYPES={LINE_COMMENT:"//",BLOCK_COMMENT:"/**/",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',TEMPLATE_QUOTE:"`",REGEXP:"//g"},ua=Nr.BRACKETS={"(":")","{":"}","[":"]"},Z0={")":"(","}":"{","]":"["};Nr.parse=Zl;function Zl(t,r,n){n=n||{},r=r||Nr.defaultState();for(var v=n.start||0,V=n.end||t.length,se=v;se<V;){try{aa(t[se],r)}catch(ae){throw ae.index=se,ae}se++}return r}Nr.parseUntil=eg;function eg(t,r,n){n=n||{};for(var v=n.start||0,V=v,se=Nr.defaultState();V<t.length;){if((n.ignoreNesting||!se.isNesting(n))&&tg(t,r,V)){var ae=V;return{start:v,end:ae,src:t.substring(v,ae)}}try{aa(t[V],se)}catch(Le){throw Le.index=V,Le}V++}var De=new Error("The end of the string was reached with no closing bracket found.");throw De.code="CHARACTER_PARSER:END_OF_STRING_REACHED",De.index=V,De}Nr.parseChar=aa;function aa(t,r){if(t.length!==1){var n=new Error("Character must be a string of length 1");throw n.name="InvalidArgumentError",n.code="CHARACTER_PARSER:CHAR_LENGTH_NOT_ONE",n}r=r||Nr.defaultState(),r.src+=t;var v=r.isComment(),V=r.history?r.history[0]:"";switch(r.regexpStart&&((t==="/"||t=="*")&&r.stack.pop(),r.regexpStart=!1),r.current()){case gr.LINE_COMMENT:t===`
|
|
17
|
-
`&&
|
|
18
|
-
`).length){var
|
|
19
|
-
`),
|
|
20
|
-
`,
|
|
21
|
-
`);
|
|
22
|
-
`+
|
|
10
|
+
`)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function Gm(t){return Array.isArray(t)}function Bl(t){return typeof t=="boolean"}function Il(t){return t===null}function qm(t){return typeof t=="number"}function Nl(t){return typeof t=="string"}function pi(t){return t===void 0}function fi(t){return Ms(t)&&la(t)==="[object RegExp]"}function Ms(t){return typeof t=="object"&&t!==null}function Wi(t){return Ms(t)&&la(t)==="[object Date]"}function Ji(t){return Ms(t)&&(la(t)==="[object Error]"||t instanceof Error)}function hi(t){return typeof t=="function"}function oa(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t=="undefined"}function la(t){return Object.prototype.toString.call(t)}function Wm(t,e){if(!e||!Ms(e))return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t}function Ll(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ol=vn(()=>{Ze();et();_l();Pl();An.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};An.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"}});var Kl={};Zd(Kl,{AssertionError:()=>$s,assert:()=>Vs,deepEqual:()=>ha,deepStrictEqual:()=>da,default:()=>Ym,doesNotThrow:()=>Hl,equal:()=>pa,fail:()=>Sr,ifError:()=>Ql,notDeepEqual:()=>ma,notDeepStrictEqual:()=>ga,notEqual:()=>fa,notStrictEqual:()=>Da,ok:()=>Vs,strictEqual:()=>ya,throws:()=>zl});function Rl(t,e){if(t===e)return 0;for(var r=t.length,i=e.length,p=0,k=Math.min(r,i);p<k;++p)if(t[p]!==e[p]){r=t[p],i=e[p];break}return r<i?-1:i<r?1:0}function $l(){return typeof ca!="undefined"?ca:ca=function(){return function(){}.name==="foo"}()}function Vl(t){return Object.prototype.toString.call(t)}function Ul(t){return Vn(t)||typeof window.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t?!!(t instanceof DataView||t.buffer&&t.buffer instanceof ArrayBuffer):!1}function Fr(t,e){t||Sr(t,!0,e,"==",Vs)}function Gl(t){if(!!hi(t)){if($l())return t.name;var e=t.toString(),r=e.match(Xm);return r&&r[1]}}function $s(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=zm(this),this.generatedMessage=!0);var e=t.stackStartFunction||Sr;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var i=r.stack,p=Gl(e),k=i.indexOf(`
|
|
11
|
+
`+p);if(k>=0){var B=i.indexOf(`
|
|
12
|
+
`,k+1);i=i.substring(B+1)}this.stack=i}}}function ql(t,e){return typeof t=="string"?t.length<e?t:t.slice(0,e):t}function Wl(t){if($l()||!hi(t))return An(t);var e=Gl(t),r=e?": "+e:"";return"[Function"+r+"]"}function zm(t){return ql(Wl(t.actual),128)+" "+t.operator+" "+ql(Wl(t.expected),128)}function Sr(t,e,r,i,p){throw new $s({message:r,actual:t,expected:e,operator:i,stackStartFunction:p})}function Vs(t,e){t||Sr(t,!0,e,"==",Vs)}function pa(t,e,r){t!=e&&Sr(t,e,r,"==",pa)}function fa(t,e,r){t==e&&Sr(t,e,r,"!=",fa)}function ha(t,e,r){di(t,e,!1)||Sr(t,e,r,"deepEqual",ha)}function da(t,e,r){di(t,e,!0)||Sr(t,e,r,"deepStrictEqual",da)}function di(t,e,r,i){if(t===e)return!0;if(Vn(t)&&Vn(e))return Rl(t,e)===0;if(Wi(t)&&Wi(e))return t.getTime()===e.getTime();if(fi(t)&&fi(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if((t===null||typeof t!="object")&&(e===null||typeof e!="object"))return r?t===e:t==e;if(Ul(t)&&Ul(e)&&Vl(t)===Vl(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return Rl(new Uint8Array(t.buffer),new Uint8Array(e.buffer))===0;if(Vn(t)!==Vn(e))return!1;i=i||{actual:[],expected:[]};var p=i.actual.indexOf(t);return p!==-1&&p===i.expected.indexOf(e)?!0:(i.actual.push(t),i.expected.push(e),Hm(t,e,r,i))}function Jl(t){return Object.prototype.toString.call(t)=="[object Arguments]"}function Hm(t,e,r,i){if(t==null||e===null||e===void 0)return!1;if(oa(t)||oa(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var p=Jl(t),k=Jl(e);if(p&&!k||!p&&k)return!1;if(p)return t=Ml.call(t),e=Ml.call(e),di(t,e,r);var B=jl(t),se=jl(e),ye,je;if(B.length!==se.length)return!1;for(B.sort(),se.sort(),je=B.length-1;je>=0;je--)if(B[je]!==se[je])return!1;for(je=B.length-1;je>=0;je--)if(ye=B[je],!di(t[ye],e[ye],r,i))return!1;return!0}function ma(t,e,r){di(t,e,!1)&&Sr(t,e,r,"notDeepEqual",ma)}function ga(t,e,r){di(t,e,!0)&&Sr(t,e,r,"notDeepStrictEqual",ga)}function ya(t,e,r){t!==e&&Sr(t,e,r,"===",ya)}function Da(t,e,r){t===e&&Sr(t,e,r,"!==",Da)}function Yl(t,e){if(!t||!e)return!1;if(Object.prototype.toString.call(e)=="[object RegExp]")return e.test(t);try{if(t instanceof e)return!0}catch(r){}return Error.isPrototypeOf(e)?!1:e.call({},t)===!0}function Qm(t){var e;try{t()}catch(r){e=r}return e}function Xl(t,e,r,i){var p;if(typeof e!="function")throw new TypeError('"block" argument must be a function');typeof r=="string"&&(i=r,r=null),p=Qm(e),i=(r&&r.name?" ("+r.name+").":".")+(i?" "+i:"."),t&&!p&&Sr(p,r,"Missing expected exception"+i);var k=typeof i=="string",B=!t&&Ji(p),se=!t&&p&&!r;if((B&&k&&Yl(p,r)||se)&&Sr(p,r,"Got unwanted exception"+i),t&&p&&r&&!Yl(p,r)||!t&&p)throw p}function zl(t,e,r){Xl(!0,t,e,r)}function Hl(t,e,r){Xl(!1,t,e,r)}function Ql(t){if(t)throw t}var Jm,jl,Ml,ca,Ym,Xm,Zl=vn(()=>{Ze();et();kl();Ol();Jm=Object.prototype.hasOwnProperty,jl=Object.keys||function(t){var e=[];for(var r in t)Jm.call(t,r)&&e.push(r);return e},Ml=Array.prototype.slice;Ym=Fr,Xm=/\s*function\s+([^\(\s]*)\s*/;Fr.AssertionError=$s;sa($s,Error);Fr.fail=Sr;Fr.ok=Vs;Fr.equal=pa;Fr.notEqual=fa;Fr.deepEqual=ha;Fr.deepStrictEqual=da;Fr.notDeepEqual=ma;Fr.notDeepStrictEqual=ga;Fr.strictEqual=ya;Fr.notStrictEqual=Da;Fr.throws=zl;Fr.doesNotThrow=Hl;Fr.ifError=Ql});var ec=Ot((hD,Us)=>{Ze();et();var Un=(Zl(),Kl);if(Un&&Un.default){Us.exports=Un.default;for(let t in Un)Us.exports[t]=Un[t]}else Un&&(Us.exports=Un)});var rc=Ot((Gs,tc)=>{Ze();et();(function(t,e){typeof Gs=="object"&&typeof tc!="undefined"?e(Gs):typeof define=="function"&&define.amd?define(["exports"],e):(t=t||self,e(t.acorn={}))})(Gs,function(t){"use strict";var e={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",i={5:r,"5module":r+" export import",6:r+" const class extends export import super"},p=/^in(stanceof)?$/,k="\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\u08A0-\u08B4\u08B6-\u08C7\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\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-\u170C\u170E-\u1711\u1720-\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-\u1B4B\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-\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\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-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\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",B="\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\u08D3-\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\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\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-\u0ECD\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-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\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-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\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",se=new RegExp("["+k+"]"),ye=new RegExp("["+k+B+"]");k=B=null;var je=[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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,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,85,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,230,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,35,56,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Je=[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,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function Xe(n,a){for(var j=65536,X=0;X<a.length;X+=2){if(j+=a[X],j>n)return!1;if(j+=a[X+1],j>=n)return!0}}function dt(n,a){return n<65?n===36:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&se.test(String.fromCharCode(n)):a===!1?!1:Xe(n,je)}function Dt(n,a){return n<48?n===36:n<58?!0:n<65?!1:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&ye.test(String.fromCharCode(n)):a===!1?!1:Xe(n,je)||Xe(n,Je)}var Et=function(a,j){j===void 0&&(j={}),this.label=a,this.keyword=j.keyword,this.beforeExpr=!!j.beforeExpr,this.startsExpr=!!j.startsExpr,this.isLoop=!!j.isLoop,this.isAssign=!!j.isAssign,this.prefix=!!j.prefix,this.postfix=!!j.postfix,this.binop=j.binop||null,this.updateContext=null};function It(n,a){return new Et(n,{beforeExpr:!0,binop:a})}var or={beforeExpr:!0},cr={startsExpr:!0},Ur={};function Yt(n,a){return a===void 0&&(a={}),a.keyword=n,Ur[n]=new Et(n,a)}var K={num:new Et("num",cr),regexp:new Et("regexp",cr),string:new Et("string",cr),name:new Et("name",cr),eof:new Et("eof"),bracketL:new Et("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Et("]"),braceL:new Et("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Et("}"),parenL:new Et("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Et(")"),comma:new Et(",",or),semi:new Et(";",or),colon:new Et(":",or),dot:new Et("."),question:new Et("?",or),questionDot:new Et("?."),arrow:new Et("=>",or),template:new Et("template"),invalidTemplate:new Et("invalidTemplate"),ellipsis:new Et("...",or),backQuote:new Et("`",cr),dollarBraceL:new Et("${",{beforeExpr:!0,startsExpr:!0}),eq:new Et("=",{beforeExpr:!0,isAssign:!0}),assign:new Et("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Et("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Et("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:It("||",1),logicalAND:It("&&",2),bitwiseOR:It("|",3),bitwiseXOR:It("^",4),bitwiseAND:It("&",5),equality:It("==/!=/===/!==",6),relational:It("</>/<=/>=",7),bitShift:It("<</>>/>>>",8),plusMin:new Et("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:It("%",10),star:It("*",10),slash:It("/",10),starstar:new Et("**",{beforeExpr:!0}),coalesce:It("??",1),_break:Yt("break"),_case:Yt("case",or),_catch:Yt("catch"),_continue:Yt("continue"),_debugger:Yt("debugger"),_default:Yt("default",or),_do:Yt("do",{isLoop:!0,beforeExpr:!0}),_else:Yt("else",or),_finally:Yt("finally"),_for:Yt("for",{isLoop:!0}),_function:Yt("function",cr),_if:Yt("if"),_return:Yt("return",or),_switch:Yt("switch"),_throw:Yt("throw",or),_try:Yt("try"),_var:Yt("var"),_const:Yt("const"),_while:Yt("while",{isLoop:!0}),_with:Yt("with"),_new:Yt("new",{beforeExpr:!0,startsExpr:!0}),_this:Yt("this",cr),_super:Yt("super",cr),_class:Yt("class",cr),_extends:Yt("extends",or),_export:Yt("export"),_import:Yt("import",cr),_null:Yt("null",cr),_true:Yt("true",cr),_false:Yt("false",cr),_in:Yt("in",{beforeExpr:!0,binop:7}),_instanceof:Yt("instanceof",{beforeExpr:!0,binop:7}),_typeof:Yt("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Yt("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Yt("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},br=/\r\n?|\n|\u2028|\u2029/,nn=new RegExp(br.source,"g");function sn(n,a){return n===10||n===13||!a&&(n===8232||n===8233)}var kn=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,xr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Jn=Object.prototype,mu=Jn.hasOwnProperty,gu=Jn.toString;function mn(n,a){return mu.call(n,a)}var Yn=Array.isArray||function(n){return gu.call(n)==="[object Array]"};function zr(n){return new RegExp("^(?:"+n.replace(/ /g,"|")+")$")}var Hr=function(a,j){this.line=a,this.column=j};Hr.prototype.offset=function(a){return new Hr(this.line,this.column+a)};var Nr=function(a,j,X){this.start=j,this.end=X,a.sourceFile!==null&&(this.source=a.sourceFile)};function Xn(n,a){for(var j=1,X=0;;){nn.lastIndex=X;var le=nn.exec(n);if(le&&le.index<a)++j,X=le.index+le[0].length;else return new Hr(j,a-X)}}var Gr={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function yu(n){var a={};for(var j in Gr)a[j]=n&&mn(n,j)?n[j]:Gr[j];if(a.ecmaVersion>=2015&&(a.ecmaVersion-=2009),a.allowReserved==null&&(a.allowReserved=a.ecmaVersion<5),Yn(a.onToken)){var X=a.onToken;a.onToken=function(le){return X.push(le)}}return Yn(a.onComment)&&(a.onComment=Si(a,a.onComment)),a}function Si(n,a){return function(j,X,le,Ie,$e,ot){var Ct={type:j?"Block":"Line",value:X,start:le,end:Ie};n.locations&&(Ct.loc=new Nr(this,$e,ot)),n.ranges&&(Ct.range=[le,Ie]),a.push(Ct)}}var _n=1,gn=2,zn=_n|gn,Qi=4,un=8,yn=16,wi=32,Ki=64,Ti=128;function ki(n,a){return gn|(n?Qi:0)|(a?un:0)}var Zi=0,Hn=1,qr=2,_i=3,es=4,ts=5,nr=function(a,j,X){this.options=a=yu(a),this.sourceFile=a.sourceFile,this.keywords=zr(i[a.ecmaVersion>=6?6:a.sourceType==="module"?"5module":5]);var le="";if(a.allowReserved!==!0){for(var Ie=a.ecmaVersion;!(le=e[Ie]);Ie--);a.sourceType==="module"&&(le+=" await")}this.reservedWords=zr(le);var $e=(le?le+" ":"")+e.strict;this.reservedWordsStrict=zr($e),this.reservedWordsStrictBind=zr($e+" "+e.strictBind),this.input=String(j),this.containsEsc=!1,X?(this.pos=X,this.lineStart=this.input.lastIndexOf(`
|
|
13
|
+
`,X-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(br).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=K.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=a.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&a.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(_n),this.regexpState=null},an={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};nr.prototype.parse=function(){var a=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(a)},an.inFunction.get=function(){return(this.currentVarScope().flags&gn)>0},an.inGenerator.get=function(){return(this.currentVarScope().flags&un)>0},an.inAsync.get=function(){return(this.currentVarScope().flags&Qi)>0},an.allowSuper.get=function(){return(this.currentThisScope().flags&Ki)>0},an.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ti)>0},an.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},nr.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&gn)>0},nr.extend=function(){for(var a=[],j=arguments.length;j--;)a[j]=arguments[j];for(var X=this,le=0;le<a.length;le++)X=a[le](X);return X},nr.parse=function(a,j){return new this(j,a).parse()},nr.parseExpressionAt=function(a,j,X){var le=new this(X,a,j);return le.nextToken(),le.parseExpression()},nr.tokenizer=function(a,j){return new this(j,a)},Object.defineProperties(nr.prototype,an);var vr=nr.prototype,Pn=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;vr.strictDirective=function(n){for(;;){xr.lastIndex=n,n+=xr.exec(this.input)[0].length;var a=Pn.exec(this.input.slice(n));if(!a)return!1;if((a[1]||a[2])==="use strict"){xr.lastIndex=n+a[0].length;var j=xr.exec(this.input),X=j.index+j[0].length,le=this.input.charAt(X);return le===";"||le==="}"||br.test(j[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(le)||le==="!"&&this.input.charAt(X+1)==="=")}n+=a[0].length,xr.lastIndex=n,n+=xr.exec(this.input)[0].length,this.input[n]===";"&&n++}},vr.eat=function(n){return this.type===n?(this.next(),!0):!1},vr.isContextual=function(n){return this.type===K.name&&this.value===n&&!this.containsEsc},vr.eatContextual=function(n){return this.isContextual(n)?(this.next(),!0):!1},vr.expectContextual=function(n){this.eatContextual(n)||this.unexpected()},vr.canInsertSemicolon=function(){return this.type===K.eof||this.type===K.braceR||br.test(this.input.slice(this.lastTokEnd,this.start))},vr.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},vr.semicolon=function(){!this.eat(K.semi)&&!this.insertSemicolon()&&this.unexpected()},vr.afterTrailingComma=function(n,a){if(this.type===n)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),a||this.next(),!0},vr.expect=function(n){this.eat(n)||this.unexpected()},vr.unexpected=function(n){this.raise(n??this.start,"Unexpected token")};function Qn(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}vr.checkPatternErrors=function(n,a){if(!!n){n.trailingComma>-1&&this.raiseRecoverable(n.trailingComma,"Comma is not permitted after the rest element");var j=a?n.parenthesizedAssign:n.parenthesizedBind;j>-1&&this.raiseRecoverable(j,"Parenthesized pattern")}},vr.checkExpressionErrors=function(n,a){if(!n)return!1;var j=n.shorthandAssign,X=n.doubleProto;if(!a)return j>=0||X>=0;j>=0&&this.raise(j,"Shorthand property assignments are valid only in destructuring patterns"),X>=0&&this.raiseRecoverable(X,"Redefinition of __proto__ property")},vr.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},vr.isSimpleAssignTarget=function(n){return n.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(n.expression):n.type==="Identifier"||n.type==="MemberExpression"};var jt=nr.prototype;jt.parseTopLevel=function(n){var a={};for(n.body||(n.body=[]);this.type!==K.eof;){var j=this.parseStatement(null,!0,a);n.body.push(j)}if(this.inModule)for(var X=0,le=Object.keys(this.undefinedExports);X<le.length;X+=1){var Ie=le[X];this.raiseRecoverable(this.undefinedExports[Ie].start,"Export '"+Ie+"' is not defined")}return this.adaptDirectivePrologue(n.body),this.next(),n.sourceType=this.options.sourceType,this.finishNode(n,"Program")};var Pi={kind:"loop"},Du={kind:"switch"};jt.isLet=function(n){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;xr.lastIndex=this.pos;var a=xr.exec(this.input),j=this.pos+a[0].length,X=this.input.charCodeAt(j);if(X===91)return!0;if(n)return!1;if(X===123)return!0;if(dt(X,!0)){for(var le=j+1;Dt(this.input.charCodeAt(le),!0);)++le;var Ie=this.input.slice(j,le);if(!p.test(Ie))return!0}return!1},jt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;xr.lastIndex=this.pos;var n=xr.exec(this.input),a=this.pos+n[0].length;return!br.test(this.input.slice(this.pos,a))&&this.input.slice(a,a+8)==="function"&&(a+8===this.input.length||!Dt(this.input.charAt(a+8)))},jt.parseStatement=function(n,a,j){var X=this.type,le=this.startNode(),Ie;switch(this.isLet(n)&&(X=K._var,Ie="let"),X){case K._break:case K._continue:return this.parseBreakContinueStatement(le,X.keyword);case K._debugger:return this.parseDebuggerStatement(le);case K._do:return this.parseDoStatement(le);case K._for:return this.parseForStatement(le);case K._function:return n&&(this.strict||n!=="if"&&n!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(le,!1,!n);case K._class:return n&&this.unexpected(),this.parseClass(le,!0);case K._if:return this.parseIfStatement(le);case K._return:return this.parseReturnStatement(le);case K._switch:return this.parseSwitchStatement(le);case K._throw:return this.parseThrowStatement(le);case K._try:return this.parseTryStatement(le);case K._const:case K._var:return Ie=Ie||this.value,n&&Ie!=="var"&&this.unexpected(),this.parseVarStatement(le,Ie);case K._while:return this.parseWhileStatement(le);case K._with:return this.parseWithStatement(le);case K.braceL:return this.parseBlock(!0,le);case K.semi:return this.parseEmptyStatement(le);case K._export:case K._import:if(this.options.ecmaVersion>10&&X===K._import){xr.lastIndex=this.pos;var $e=xr.exec(this.input),ot=this.pos+$e[0].length,Ct=this.input.charCodeAt(ot);if(Ct===40||Ct===46)return this.parseExpressionStatement(le,this.parseExpression())}return this.options.allowImportExportEverywhere||(a||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),X===K._import?this.parseImport(le):this.parseExport(le,j);default:if(this.isAsyncFunction())return n&&this.unexpected(),this.next(),this.parseFunctionStatement(le,!0,!n);var Wt=this.value,Qt=this.parseExpression();return X===K.name&&Qt.type==="Identifier"&&this.eat(K.colon)?this.parseLabeledStatement(le,Wt,Qt,n):this.parseExpressionStatement(le,Qt)}},jt.parseBreakContinueStatement=function(n,a){var j=a==="break";this.next(),this.eat(K.semi)||this.insertSemicolon()?n.label=null:this.type!==K.name?this.unexpected():(n.label=this.parseIdent(),this.semicolon());for(var X=0;X<this.labels.length;++X){var le=this.labels[X];if((n.label==null||le.name===n.label.name)&&(le.kind!=null&&(j||le.kind==="loop")||n.label&&j))break}return X===this.labels.length&&this.raise(n.start,"Unsyntactic "+a),this.finishNode(n,j?"BreakStatement":"ContinueStatement")},jt.parseDebuggerStatement=function(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")},jt.parseDoStatement=function(n){return this.next(),this.labels.push(Pi),n.body=this.parseStatement("do"),this.labels.pop(),this.expect(K._while),n.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(K.semi):this.semicolon(),this.finishNode(n,"DoWhileStatement")},jt.parseForStatement=function(n){this.next();var a=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Pi),this.enterScope(0),this.expect(K.parenL),this.type===K.semi)return a>-1&&this.unexpected(a),this.parseFor(n,null);var j=this.isLet();if(this.type===K._var||this.type===K._const||j){var X=this.startNode(),le=j?"let":this.value;return this.next(),this.parseVar(X,!0,le),this.finishNode(X,"VariableDeclaration"),(this.type===K._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&X.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===K._in?a>-1&&this.unexpected(a):n.await=a>-1),this.parseForIn(n,X)):(a>-1&&this.unexpected(a),this.parseFor(n,X))}var Ie=new Qn,$e=this.parseExpression(!0,Ie);return this.type===K._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===K._in?a>-1&&this.unexpected(a):n.await=a>-1),this.toAssignable($e,!1,Ie),this.checkLVal($e),this.parseForIn(n,$e)):(this.checkExpressionErrors(Ie,!0),a>-1&&this.unexpected(a),this.parseFor(n,$e))},jt.parseFunctionStatement=function(n,a,j){return this.next(),this.parseFunction(n,Bn|(j?0:Bi),!1,a)},jt.parseIfStatement=function(n){return this.next(),n.test=this.parseParenExpression(),n.consequent=this.parseStatement("if"),n.alternate=this.eat(K._else)?this.parseStatement("if"):null,this.finishNode(n,"IfStatement")},jt.parseReturnStatement=function(n){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(K.semi)||this.insertSemicolon()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")},jt.parseSwitchStatement=function(n){this.next(),n.discriminant=this.parseParenExpression(),n.cases=[],this.expect(K.braceL),this.labels.push(Du),this.enterScope(0);for(var a,j=!1;this.type!==K.braceR;)if(this.type===K._case||this.type===K._default){var X=this.type===K._case;a&&this.finishNode(a,"SwitchCase"),n.cases.push(a=this.startNode()),a.consequent=[],this.next(),X?a.test=this.parseExpression():(j&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),j=!0,a.test=null),this.expect(K.colon)}else a||this.unexpected(),a.consequent.push(this.parseStatement(null));return this.exitScope(),a&&this.finishNode(a,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(n,"SwitchStatement")},jt.parseThrowStatement=function(n){return this.next(),br.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")};var Eu=[];jt.parseTryStatement=function(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.type===K._catch){var a=this.startNode();if(this.next(),this.eat(K.parenL)){a.param=this.parseBindingAtom();var j=a.param.type==="Identifier";this.enterScope(j?wi:0),this.checkLVal(a.param,j?es:qr),this.expect(K.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),a.param=null,this.enterScope(0);a.body=this.parseBlock(!1),this.exitScope(),n.handler=this.finishNode(a,"CatchClause")}return n.finalizer=this.eat(K._finally)?this.parseBlock():null,!n.handler&&!n.finalizer&&this.raise(n.start,"Missing catch or finally clause"),this.finishNode(n,"TryStatement")},jt.parseVarStatement=function(n,a){return this.next(),this.parseVar(n,!1,a),this.semicolon(),this.finishNode(n,"VariableDeclaration")},jt.parseWhileStatement=function(n){return this.next(),n.test=this.parseParenExpression(),this.labels.push(Pi),n.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(n,"WhileStatement")},jt.parseWithStatement=function(n){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),n.object=this.parseParenExpression(),n.body=this.parseStatement("with"),this.finishNode(n,"WithStatement")},jt.parseEmptyStatement=function(n){return this.next(),this.finishNode(n,"EmptyStatement")},jt.parseLabeledStatement=function(n,a,j,X){for(var le=0,Ie=this.labels;le<Ie.length;le+=1){var $e=Ie[le];$e.name===a&&this.raise(j.start,"Label '"+a+"' is already declared")}for(var ot=this.type.isLoop?"loop":this.type===K._switch?"switch":null,Ct=this.labels.length-1;Ct>=0;Ct--){var Wt=this.labels[Ct];if(Wt.statementStart===n.start)Wt.statementStart=this.start,Wt.kind=ot;else break}return this.labels.push({name:a,kind:ot,statementStart:this.start}),n.body=this.parseStatement(X?X.indexOf("label")===-1?X+"label":X:"label"),this.labels.pop(),n.label=j,this.finishNode(n,"LabeledStatement")},jt.parseExpressionStatement=function(n,a){return n.expression=a,this.semicolon(),this.finishNode(n,"ExpressionStatement")},jt.parseBlock=function(n,a,j){for(n===void 0&&(n=!0),a===void 0&&(a=this.startNode()),a.body=[],this.expect(K.braceL),n&&this.enterScope(0);this.type!==K.braceR;){var X=this.parseStatement(null);a.body.push(X)}return j&&(this.strict=!1),this.next(),n&&this.exitScope(),this.finishNode(a,"BlockStatement")},jt.parseFor=function(n,a){return n.init=a,this.expect(K.semi),n.test=this.type===K.semi?null:this.parseExpression(),this.expect(K.semi),n.update=this.type===K.parenR?null:this.parseExpression(),this.expect(K.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,"ForStatement")},jt.parseForIn=function(n,a){var j=this.type===K._in;return this.next(),a.type==="VariableDeclaration"&&a.declarations[0].init!=null&&(!j||this.options.ecmaVersion<8||this.strict||a.kind!=="var"||a.declarations[0].id.type!=="Identifier")?this.raise(a.start,(j?"for-in":"for-of")+" loop variable declaration may not have an initializer"):a.type==="AssignmentPattern"&&this.raise(a.start,"Invalid left-hand side in for-loop"),n.left=a,n.right=j?this.parseExpression():this.parseMaybeAssign(),this.expect(K.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,j?"ForInStatement":"ForOfStatement")},jt.parseVar=function(n,a,j){for(n.declarations=[],n.kind=j;;){var X=this.startNode();if(this.parseVarId(X,j),this.eat(K.eq)?X.init=this.parseMaybeAssign(a):j==="const"&&!(this.type===K._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():X.id.type!=="Identifier"&&!(a&&(this.type===K._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):X.init=null,n.declarations.push(this.finishNode(X,"VariableDeclarator")),!this.eat(K.comma))break}return n},jt.parseVarId=function(n,a){n.id=this.parseBindingAtom(),this.checkLVal(n.id,a==="var"?Hn:qr,!1)};var Bn=1,Bi=2,rs=4;jt.parseFunction=function(n,a,j,X){this.initFunction(n),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!X)&&(this.type===K.star&&a&Bi&&this.unexpected(),n.generator=this.eat(K.star)),this.options.ecmaVersion>=8&&(n.async=!!X),a&Bn&&(n.id=a&rs&&this.type!==K.name?null:this.parseIdent(),n.id&&!(a&Bi)&&this.checkLVal(n.id,this.strict||n.generator||n.async?this.treatFunctionsAsVar?Hn:qr:_i));var le=this.yieldPos,Ie=this.awaitPos,$e=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ki(n.async,n.generator)),a&Bn||(n.id=this.type===K.name?this.parseIdent():null),this.parseFunctionParams(n),this.parseFunctionBody(n,j,!1),this.yieldPos=le,this.awaitPos=Ie,this.awaitIdentPos=$e,this.finishNode(n,a&Bn?"FunctionDeclaration":"FunctionExpression")},jt.parseFunctionParams=function(n){this.expect(K.parenL),n.params=this.parseBindingList(K.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},jt.parseClass=function(n,a){this.next();var j=this.strict;this.strict=!0,this.parseClassId(n,a),this.parseClassSuper(n);var X=this.startNode(),le=!1;for(X.body=[],this.expect(K.braceL);this.type!==K.braceR;){var Ie=this.parseClassElement(n.superClass!==null);Ie&&(X.body.push(Ie),Ie.type==="MethodDefinition"&&Ie.kind==="constructor"&&(le&&this.raise(Ie.start,"Duplicate constructor in the same class"),le=!0))}return this.strict=j,this.next(),n.body=this.finishNode(X,"ClassBody"),this.finishNode(n,a?"ClassDeclaration":"ClassExpression")},jt.parseClassElement=function(n){var a=this;if(this.eat(K.semi))return null;var j=this.startNode(),X=function(Ct,Wt){Wt===void 0&&(Wt=!1);var Qt=a.start,pr=a.startLoc;return a.eatContextual(Ct)?a.type!==K.parenL&&(!Wt||!a.canInsertSemicolon())?!0:(j.key&&a.unexpected(),j.computed=!1,j.key=a.startNodeAt(Qt,pr),j.key.name=Ct,a.finishNode(j.key,"Identifier"),!1):!1};j.kind="method",j.static=X("static");var le=this.eat(K.star),Ie=!1;le||(this.options.ecmaVersion>=8&&X("async",!0)?(Ie=!0,le=this.options.ecmaVersion>=9&&this.eat(K.star)):X("get")?j.kind="get":X("set")&&(j.kind="set")),j.key||this.parsePropertyName(j);var $e=j.key,ot=!1;return!j.computed&&!j.static&&($e.type==="Identifier"&&$e.name==="constructor"||$e.type==="Literal"&&$e.value==="constructor")?(j.kind!=="method"&&this.raise($e.start,"Constructor can't have get/set modifier"),le&&this.raise($e.start,"Constructor can't be a generator"),Ie&&this.raise($e.start,"Constructor can't be an async method"),j.kind="constructor",ot=n):j.static&&$e.type==="Identifier"&&$e.name==="prototype"&&this.raise($e.start,"Classes may not have a static property named prototype"),this.parseClassMethod(j,le,Ie,ot),j.kind==="get"&&j.value.params.length!==0&&this.raiseRecoverable(j.value.start,"getter should have no params"),j.kind==="set"&&j.value.params.length!==1&&this.raiseRecoverable(j.value.start,"setter should have exactly one param"),j.kind==="set"&&j.value.params[0].type==="RestElement"&&this.raiseRecoverable(j.value.params[0].start,"Setter cannot use rest params"),j},jt.parseClassMethod=function(n,a,j,X){return n.value=this.parseMethod(a,j,X),this.finishNode(n,"MethodDefinition")},jt.parseClassId=function(n,a){this.type===K.name?(n.id=this.parseIdent(),a&&this.checkLVal(n.id,qr,!1)):(a===!0&&this.unexpected(),n.id=null)},jt.parseClassSuper=function(n){n.superClass=this.eat(K._extends)?this.parseExprSubscripts():null},jt.parseExport=function(n,a){if(this.next(),this.eat(K.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(n.exported=this.parseIdent(!0),this.checkExport(a,n.exported.name,this.lastTokStart)):n.exported=null),this.expectContextual("from"),this.type!==K.string&&this.unexpected(),n.source=this.parseExprAtom(),this.semicolon(),this.finishNode(n,"ExportAllDeclaration");if(this.eat(K._default)){this.checkExport(a,"default",this.lastTokStart);var j;if(this.type===K._function||(j=this.isAsyncFunction())){var X=this.startNode();this.next(),j&&this.next(),n.declaration=this.parseFunction(X,Bn|rs,!1,j)}else if(this.type===K._class){var le=this.startNode();n.declaration=this.parseClass(le,"nullableID")}else n.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(n,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())n.declaration=this.parseStatement(null),n.declaration.type==="VariableDeclaration"?this.checkVariableExport(a,n.declaration.declarations):this.checkExport(a,n.declaration.id.name,n.declaration.id.start),n.specifiers=[],n.source=null;else{if(n.declaration=null,n.specifiers=this.parseExportSpecifiers(a),this.eatContextual("from"))this.type!==K.string&&this.unexpected(),n.source=this.parseExprAtom();else{for(var Ie=0,$e=n.specifiers;Ie<$e.length;Ie+=1){var ot=$e[Ie];this.checkUnreserved(ot.local),this.checkLocalExport(ot.local)}n.source=null}this.semicolon()}return this.finishNode(n,"ExportNamedDeclaration")},jt.checkExport=function(n,a,j){!n||(mn(n,a)&&this.raiseRecoverable(j,"Duplicate export '"+a+"'"),n[a]=!0)},jt.checkPatternExport=function(n,a){var j=a.type;if(j==="Identifier")this.checkExport(n,a.name,a.start);else if(j==="ObjectPattern")for(var X=0,le=a.properties;X<le.length;X+=1){var Ie=le[X];this.checkPatternExport(n,Ie)}else if(j==="ArrayPattern")for(var $e=0,ot=a.elements;$e<ot.length;$e+=1){var Ct=ot[$e];Ct&&this.checkPatternExport(n,Ct)}else j==="Property"?this.checkPatternExport(n,a.value):j==="AssignmentPattern"?this.checkPatternExport(n,a.left):j==="RestElement"?this.checkPatternExport(n,a.argument):j==="ParenthesizedExpression"&&this.checkPatternExport(n,a.expression)},jt.checkVariableExport=function(n,a){if(!!n)for(var j=0,X=a;j<X.length;j+=1){var le=X[j];this.checkPatternExport(n,le.id)}},jt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},jt.parseExportSpecifiers=function(n){var a=[],j=!0;for(this.expect(K.braceL);!this.eat(K.braceR);){if(j)j=!1;else if(this.expect(K.comma),this.afterTrailingComma(K.braceR))break;var X=this.startNode();X.local=this.parseIdent(!0),X.exported=this.eatContextual("as")?this.parseIdent(!0):X.local,this.checkExport(n,X.exported.name,X.exported.start),a.push(this.finishNode(X,"ExportSpecifier"))}return a},jt.parseImport=function(n){return this.next(),this.type===K.string?(n.specifiers=Eu,n.source=this.parseExprAtom()):(n.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),n.source=this.type===K.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(n,"ImportDeclaration")},jt.parseImportSpecifiers=function(){var n=[],a=!0;if(this.type===K.name){var j=this.startNode();if(j.local=this.parseIdent(),this.checkLVal(j.local,qr),n.push(this.finishNode(j,"ImportDefaultSpecifier")),!this.eat(K.comma))return n}if(this.type===K.star){var X=this.startNode();return this.next(),this.expectContextual("as"),X.local=this.parseIdent(),this.checkLVal(X.local,qr),n.push(this.finishNode(X,"ImportNamespaceSpecifier")),n}for(this.expect(K.braceL);!this.eat(K.braceR);){if(a)a=!1;else if(this.expect(K.comma),this.afterTrailingComma(K.braceR))break;var le=this.startNode();le.imported=this.parseIdent(!0),this.eatContextual("as")?le.local=this.parseIdent():(this.checkUnreserved(le.imported),le.local=le.imported),this.checkLVal(le.local,qr),n.push(this.finishNode(le,"ImportSpecifier"))}return n},jt.adaptDirectivePrologue=function(n){for(var a=0;a<n.length&&this.isDirectiveCandidate(n[a]);++a)n[a].directive=n[a].expression.raw.slice(1,-1)},jt.isDirectiveCandidate=function(n){return n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&typeof n.expression.value=="string"&&(this.input[n.start]==='"'||this.input[n.start]==="'")};var Tr=nr.prototype;Tr.toAssignable=function(n,a,j){if(this.options.ecmaVersion>=6&&n)switch(n.type){case"Identifier":this.inAsync&&n.name==="await"&&this.raise(n.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":n.type="ObjectPattern",j&&this.checkPatternErrors(j,!0);for(var X=0,le=n.properties;X<le.length;X+=1){var Ie=le[X];this.toAssignable(Ie,a),Ie.type==="RestElement"&&(Ie.argument.type==="ArrayPattern"||Ie.argument.type==="ObjectPattern")&&this.raise(Ie.argument.start,"Unexpected token")}break;case"Property":n.kind!=="init"&&this.raise(n.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(n.value,a);break;case"ArrayExpression":n.type="ArrayPattern",j&&this.checkPatternErrors(j,!0),this.toAssignableList(n.elements,a);break;case"SpreadElement":n.type="RestElement",this.toAssignable(n.argument,a),n.argument.type==="AssignmentPattern"&&this.raise(n.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":n.operator!=="="&&this.raise(n.left.end,"Only '=' operator can be used for specifying default value."),n.type="AssignmentPattern",delete n.operator,this.toAssignable(n.left,a);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(n.expression,a,j);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!a)break;default:this.raise(n.start,"Assigning to rvalue")}else j&&this.checkPatternErrors(j,!0);return n},Tr.toAssignableList=function(n,a){for(var j=n.length,X=0;X<j;X++){var le=n[X];le&&this.toAssignable(le,a)}if(j){var Ie=n[j-1];this.options.ecmaVersion===6&&a&&Ie&&Ie.type==="RestElement"&&Ie.argument.type!=="Identifier"&&this.unexpected(Ie.argument.start)}return n},Tr.parseSpread=function(n){var a=this.startNode();return this.next(),a.argument=this.parseMaybeAssign(!1,n),this.finishNode(a,"SpreadElement")},Tr.parseRestBinding=function(){var n=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==K.name&&this.unexpected(),n.argument=this.parseBindingAtom(),this.finishNode(n,"RestElement")},Tr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case K.bracketL:var n=this.startNode();return this.next(),n.elements=this.parseBindingList(K.bracketR,!0,!0),this.finishNode(n,"ArrayPattern");case K.braceL:return this.parseObj(!0)}return this.parseIdent()},Tr.parseBindingList=function(n,a,j){for(var X=[],le=!0;!this.eat(n);)if(le?le=!1:this.expect(K.comma),a&&this.type===K.comma)X.push(null);else{if(j&&this.afterTrailingComma(n))break;if(this.type===K.ellipsis){var Ie=this.parseRestBinding();this.parseBindingListItem(Ie),X.push(Ie),this.type===K.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(n);break}else{var $e=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem($e),X.push($e)}}return X},Tr.parseBindingListItem=function(n){return n},Tr.parseMaybeDefault=function(n,a,j){if(j=j||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(K.eq))return j;var X=this.startNodeAt(n,a);return X.left=j,X.right=this.parseMaybeAssign(),this.finishNode(X,"AssignmentPattern")},Tr.checkLVal=function(n,a,j){switch(a===void 0&&(a=Zi),n.type){case"Identifier":a===qr&&n.name==="let"&&this.raiseRecoverable(n.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(n.name)&&this.raiseRecoverable(n.start,(a?"Binding ":"Assigning to ")+n.name+" in strict mode"),j&&(mn(j,n.name)&&this.raiseRecoverable(n.start,"Argument name clash"),j[n.name]=!0),a!==Zi&&a!==ts&&this.declareName(n.name,a,n.start);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":a&&this.raiseRecoverable(n.start,"Binding member expression");break;case"ObjectPattern":for(var X=0,le=n.properties;X<le.length;X+=1){var Ie=le[X];this.checkLVal(Ie,a,j)}break;case"Property":this.checkLVal(n.value,a,j);break;case"ArrayPattern":for(var $e=0,ot=n.elements;$e<ot.length;$e+=1){var Ct=ot[$e];Ct&&this.checkLVal(Ct,a,j)}break;case"AssignmentPattern":this.checkLVal(n.left,a,j);break;case"RestElement":this.checkLVal(n.argument,a,j);break;case"ParenthesizedExpression":this.checkLVal(n.expression,a,j);break;default:this.raise(n.start,(a?"Binding":"Assigning to")+" rvalue")}};var Gt=nr.prototype;Gt.checkPropClash=function(n,a,j){if(!(this.options.ecmaVersion>=9&&n.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(n.computed||n.method||n.shorthand))){var X=n.key,le;switch(X.type){case"Identifier":le=X.name;break;case"Literal":le=String(X.value);break;default:return}var Ie=n.kind;if(this.options.ecmaVersion>=6){le==="__proto__"&&Ie==="init"&&(a.proto&&(j?j.doubleProto<0&&(j.doubleProto=X.start):this.raiseRecoverable(X.start,"Redefinition of __proto__ property")),a.proto=!0);return}le="$"+le;var $e=a[le];if($e){var ot;Ie==="init"?ot=this.strict&&$e.init||$e.get||$e.set:ot=$e.init||$e[Ie],ot&&this.raiseRecoverable(X.start,"Redefinition of property")}else $e=a[le]={init:!1,get:!1,set:!1};$e[Ie]=!0}},Gt.parseExpression=function(n,a){var j=this.start,X=this.startLoc,le=this.parseMaybeAssign(n,a);if(this.type===K.comma){var Ie=this.startNodeAt(j,X);for(Ie.expressions=[le];this.eat(K.comma);)Ie.expressions.push(this.parseMaybeAssign(n,a));return this.finishNode(Ie,"SequenceExpression")}return le},Gt.parseMaybeAssign=function(n,a,j){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(n);this.exprAllowed=!1}var X=!1,le=-1,Ie=-1;a?(le=a.parenthesizedAssign,Ie=a.trailingComma,a.parenthesizedAssign=a.trailingComma=-1):(a=new Qn,X=!0);var $e=this.start,ot=this.startLoc;(this.type===K.parenL||this.type===K.name)&&(this.potentialArrowAt=this.start);var Ct=this.parseMaybeConditional(n,a);if(j&&(Ct=j.call(this,Ct,$e,ot)),this.type.isAssign){var Wt=this.startNodeAt($e,ot);return Wt.operator=this.value,Wt.left=this.type===K.eq?this.toAssignable(Ct,!1,a):Ct,X||(a.parenthesizedAssign=a.trailingComma=a.doubleProto=-1),a.shorthandAssign>=Wt.left.start&&(a.shorthandAssign=-1),this.checkLVal(Ct),this.next(),Wt.right=this.parseMaybeAssign(n),this.finishNode(Wt,"AssignmentExpression")}else X&&this.checkExpressionErrors(a,!0);return le>-1&&(a.parenthesizedAssign=le),Ie>-1&&(a.trailingComma=Ie),Ct},Gt.parseMaybeConditional=function(n,a){var j=this.start,X=this.startLoc,le=this.parseExprOps(n,a);if(this.checkExpressionErrors(a))return le;if(this.eat(K.question)){var Ie=this.startNodeAt(j,X);return Ie.test=le,Ie.consequent=this.parseMaybeAssign(),this.expect(K.colon),Ie.alternate=this.parseMaybeAssign(n),this.finishNode(Ie,"ConditionalExpression")}return le},Gt.parseExprOps=function(n,a){var j=this.start,X=this.startLoc,le=this.parseMaybeUnary(a,!1);return this.checkExpressionErrors(a)||le.start===j&&le.type==="ArrowFunctionExpression"?le:this.parseExprOp(le,j,X,-1,n)},Gt.parseExprOp=function(n,a,j,X,le){var Ie=this.type.binop;if(Ie!=null&&(!le||this.type!==K._in)&&Ie>X){var $e=this.type===K.logicalOR||this.type===K.logicalAND,ot=this.type===K.coalesce;ot&&(Ie=K.logicalAND.binop);var Ct=this.value;this.next();var Wt=this.start,Qt=this.startLoc,pr=this.parseExprOp(this.parseMaybeUnary(null,!1),Wt,Qt,Ie,le),lr=this.buildBinary(a,j,n,pr,Ct,$e||ot);return($e&&this.type===K.coalesce||ot&&(this.type===K.logicalOR||this.type===K.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(lr,a,j,X,le)}return n},Gt.buildBinary=function(n,a,j,X,le,Ie){var $e=this.startNodeAt(n,a);return $e.left=j,$e.operator=le,$e.right=X,this.finishNode($e,Ie?"LogicalExpression":"BinaryExpression")},Gt.parseMaybeUnary=function(n,a){var j=this.start,X=this.startLoc,le;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))le=this.parseAwait(),a=!0;else if(this.type.prefix){var Ie=this.startNode(),$e=this.type===K.incDec;Ie.operator=this.value,Ie.prefix=!0,this.next(),Ie.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(n,!0),$e?this.checkLVal(Ie.argument):this.strict&&Ie.operator==="delete"&&Ie.argument.type==="Identifier"?this.raiseRecoverable(Ie.start,"Deleting local variable in strict mode"):a=!0,le=this.finishNode(Ie,$e?"UpdateExpression":"UnaryExpression")}else{if(le=this.parseExprSubscripts(n),this.checkExpressionErrors(n))return le;for(;this.type.postfix&&!this.canInsertSemicolon();){var ot=this.startNodeAt(j,X);ot.operator=this.value,ot.prefix=!1,ot.argument=le,this.checkLVal(le),this.next(),le=this.finishNode(ot,"UpdateExpression")}}return!a&&this.eat(K.starstar)?this.buildBinary(j,X,le,this.parseMaybeUnary(null,!1),"**",!1):le},Gt.parseExprSubscripts=function(n){var a=this.start,j=this.startLoc,X=this.parseExprAtom(n);if(X.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return X;var le=this.parseSubscripts(X,a,j);return n&&le.type==="MemberExpression"&&(n.parenthesizedAssign>=le.start&&(n.parenthesizedAssign=-1),n.parenthesizedBind>=le.start&&(n.parenthesizedBind=-1)),le},Gt.parseSubscripts=function(n,a,j,X){for(var le=this.options.ecmaVersion>=8&&n.type==="Identifier"&&n.name==="async"&&this.lastTokEnd===n.end&&!this.canInsertSemicolon()&&n.end-n.start==5&&this.potentialArrowAt===n.start,Ie=!1;;){var $e=this.parseSubscript(n,a,j,X,le,Ie);if($e.optional&&(Ie=!0),$e===n||$e.type==="ArrowFunctionExpression"){if(Ie){var ot=this.startNodeAt(a,j);ot.expression=$e,$e=this.finishNode(ot,"ChainExpression")}return $e}n=$e}},Gt.parseSubscript=function(n,a,j,X,le,Ie){var $e=this.options.ecmaVersion>=11,ot=$e&&this.eat(K.questionDot);X&&ot&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Ct=this.eat(K.bracketL);if(Ct||ot&&this.type!==K.parenL&&this.type!==K.backQuote||this.eat(K.dot)){var Wt=this.startNodeAt(a,j);Wt.object=n,Wt.property=Ct?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),Wt.computed=!!Ct,Ct&&this.expect(K.bracketR),$e&&(Wt.optional=ot),n=this.finishNode(Wt,"MemberExpression")}else if(!X&&this.eat(K.parenL)){var Qt=new Qn,pr=this.yieldPos,lr=this.awaitPos,on=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var ri=this.parseExprList(K.parenR,this.options.ecmaVersion>=8,!1,Qt);if(le&&!ot&&!this.canInsertSemicolon()&&this.eat(K.arrow))return this.checkPatternErrors(Qt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=pr,this.awaitPos=lr,this.awaitIdentPos=on,this.parseArrowExpression(this.startNodeAt(a,j),ri,!0);this.checkExpressionErrors(Qt,!0),this.yieldPos=pr||this.yieldPos,this.awaitPos=lr||this.awaitPos,this.awaitIdentPos=on||this.awaitIdentPos;var ln=this.startNodeAt(a,j);ln.callee=n,ln.arguments=ri,$e&&(ln.optional=ot),n=this.finishNode(ln,"CallExpression")}else if(this.type===K.backQuote){(ot||Ie)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Dn=this.startNodeAt(a,j);Dn.tag=n,Dn.quasi=this.parseTemplate({isTagged:!0}),n=this.finishNode(Dn,"TaggedTemplateExpression")}return n},Gt.parseExprAtom=function(n){this.type===K.slash&&this.readRegexp();var a,j=this.potentialArrowAt===this.start;switch(this.type){case K._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),a=this.startNode(),this.next(),this.type===K.parenL&&!this.allowDirectSuper&&this.raise(a.start,"super() call outside constructor of a subclass"),this.type!==K.dot&&this.type!==K.bracketL&&this.type!==K.parenL&&this.unexpected(),this.finishNode(a,"Super");case K._this:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case K.name:var X=this.start,le=this.startLoc,Ie=this.containsEsc,$e=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Ie&&$e.name==="async"&&!this.canInsertSemicolon()&&this.eat(K._function))return this.parseFunction(this.startNodeAt(X,le),0,!1,!0);if(j&&!this.canInsertSemicolon()){if(this.eat(K.arrow))return this.parseArrowExpression(this.startNodeAt(X,le),[$e],!1);if(this.options.ecmaVersion>=8&&$e.name==="async"&&this.type===K.name&&!Ie)return $e=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(K.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(X,le),[$e],!0)}return $e;case K.regexp:var ot=this.value;return a=this.parseLiteral(ot.value),a.regex={pattern:ot.pattern,flags:ot.flags},a;case K.num:case K.string:return this.parseLiteral(this.value);case K._null:case K._true:case K._false:return a=this.startNode(),a.value=this.type===K._null?null:this.type===K._true,a.raw=this.type.keyword,this.next(),this.finishNode(a,"Literal");case K.parenL:var Ct=this.start,Wt=this.parseParenAndDistinguishExpression(j);return n&&(n.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Wt)&&(n.parenthesizedAssign=Ct),n.parenthesizedBind<0&&(n.parenthesizedBind=Ct)),Wt;case K.bracketL:return a=this.startNode(),this.next(),a.elements=this.parseExprList(K.bracketR,!0,!0,n),this.finishNode(a,"ArrayExpression");case K.braceL:return this.parseObj(!1,n);case K._function:return a=this.startNode(),this.next(),this.parseFunction(a,0);case K._class:return this.parseClass(this.startNode(),!1);case K._new:return this.parseNew();case K.backQuote:return this.parseTemplate();case K._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Gt.parseExprImport=function(){var n=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var a=this.parseIdent(!0);switch(this.type){case K.parenL:return this.parseDynamicImport(n);case K.dot:return n.meta=a,this.parseImportMeta(n);default:this.unexpected()}},Gt.parseDynamicImport=function(n){if(this.next(),n.source=this.parseMaybeAssign(),!this.eat(K.parenR)){var a=this.start;this.eat(K.comma)&&this.eat(K.parenR)?this.raiseRecoverable(a,"Trailing comma is not allowed in import()"):this.unexpected(a)}return this.finishNode(n,"ImportExpression")},Gt.parseImportMeta=function(n){this.next();var a=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="meta"&&this.raiseRecoverable(n.property.start,"The only valid meta property for import is 'import.meta'"),a&&this.raiseRecoverable(n.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(n.start,"Cannot use 'import.meta' outside a module"),this.finishNode(n,"MetaProperty")},Gt.parseLiteral=function(n){var a=this.startNode();return a.value=n,a.raw=this.input.slice(this.start,this.end),a.raw.charCodeAt(a.raw.length-1)===110&&(a.bigint=a.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(a,"Literal")},Gt.parseParenExpression=function(){this.expect(K.parenL);var n=this.parseExpression();return this.expect(K.parenR),n},Gt.parseParenAndDistinguishExpression=function(n){var a=this.start,j=this.startLoc,X,le=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Ie=this.start,$e=this.startLoc,ot=[],Ct=!0,Wt=!1,Qt=new Qn,pr=this.yieldPos,lr=this.awaitPos,on;for(this.yieldPos=0,this.awaitPos=0;this.type!==K.parenR;)if(Ct?Ct=!1:this.expect(K.comma),le&&this.afterTrailingComma(K.parenR,!0)){Wt=!0;break}else if(this.type===K.ellipsis){on=this.start,ot.push(this.parseParenItem(this.parseRestBinding())),this.type===K.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else ot.push(this.parseMaybeAssign(!1,Qt,this.parseParenItem));var ri=this.start,ln=this.startLoc;if(this.expect(K.parenR),n&&!this.canInsertSemicolon()&&this.eat(K.arrow))return this.checkPatternErrors(Qt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=pr,this.awaitPos=lr,this.parseParenArrowList(a,j,ot);(!ot.length||Wt)&&this.unexpected(this.lastTokStart),on&&this.unexpected(on),this.checkExpressionErrors(Qt,!0),this.yieldPos=pr||this.yieldPos,this.awaitPos=lr||this.awaitPos,ot.length>1?(X=this.startNodeAt(Ie,$e),X.expressions=ot,this.finishNodeAt(X,"SequenceExpression",ri,ln)):X=ot[0]}else X=this.parseParenExpression();if(this.options.preserveParens){var Dn=this.startNodeAt(a,j);return Dn.expression=X,this.finishNode(Dn,"ParenthesizedExpression")}else return X},Gt.parseParenItem=function(n){return n},Gt.parseParenArrowList=function(n,a,j){return this.parseArrowExpression(this.startNodeAt(n,a),j)};var xu=[];Gt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var n=this.startNode(),a=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(K.dot)){n.meta=a;var j=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="target"&&this.raiseRecoverable(n.property.start,"The only valid meta property for new is 'new.target'"),j&&this.raiseRecoverable(n.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(n.start,"'new.target' can only be used in functions"),this.finishNode(n,"MetaProperty")}var X=this.start,le=this.startLoc,Ie=this.type===K._import;return n.callee=this.parseSubscripts(this.parseExprAtom(),X,le,!0),Ie&&n.callee.type==="ImportExpression"&&this.raise(X,"Cannot use new with import()"),this.eat(K.parenL)?n.arguments=this.parseExprList(K.parenR,this.options.ecmaVersion>=8,!1):n.arguments=xu,this.finishNode(n,"NewExpression")},Gt.parseTemplateElement=function(n){var a=n.isTagged,j=this.startNode();return this.type===K.invalidTemplate?(a||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),j.value={raw:this.value,cooked:null}):j.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
14
|
+
`),cooked:this.value},this.next(),j.tail=this.type===K.backQuote,this.finishNode(j,"TemplateElement")},Gt.parseTemplate=function(n){n===void 0&&(n={});var a=n.isTagged;a===void 0&&(a=!1);var j=this.startNode();this.next(),j.expressions=[];var X=this.parseTemplateElement({isTagged:a});for(j.quasis=[X];!X.tail;)this.type===K.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(K.dollarBraceL),j.expressions.push(this.parseExpression()),this.expect(K.braceR),j.quasis.push(X=this.parseTemplateElement({isTagged:a}));return this.next(),this.finishNode(j,"TemplateLiteral")},Gt.isAsyncProp=function(n){return!n.computed&&n.key.type==="Identifier"&&n.key.name==="async"&&(this.type===K.name||this.type===K.num||this.type===K.string||this.type===K.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===K.star)&&!br.test(this.input.slice(this.lastTokEnd,this.start))},Gt.parseObj=function(n,a){var j=this.startNode(),X=!0,le={};for(j.properties=[],this.next();!this.eat(K.braceR);){if(X)X=!1;else if(this.expect(K.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(K.braceR))break;var Ie=this.parseProperty(n,a);n||this.checkPropClash(Ie,le,a),j.properties.push(Ie)}return this.finishNode(j,n?"ObjectPattern":"ObjectExpression")},Gt.parseProperty=function(n,a){var j=this.startNode(),X,le,Ie,$e;if(this.options.ecmaVersion>=9&&this.eat(K.ellipsis))return n?(j.argument=this.parseIdent(!1),this.type===K.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(j,"RestElement")):(this.type===K.parenL&&a&&(a.parenthesizedAssign<0&&(a.parenthesizedAssign=this.start),a.parenthesizedBind<0&&(a.parenthesizedBind=this.start)),j.argument=this.parseMaybeAssign(!1,a),this.type===K.comma&&a&&a.trailingComma<0&&(a.trailingComma=this.start),this.finishNode(j,"SpreadElement"));this.options.ecmaVersion>=6&&(j.method=!1,j.shorthand=!1,(n||a)&&(Ie=this.start,$e=this.startLoc),n||(X=this.eat(K.star)));var ot=this.containsEsc;return this.parsePropertyName(j),!n&&!ot&&this.options.ecmaVersion>=8&&!X&&this.isAsyncProp(j)?(le=!0,X=this.options.ecmaVersion>=9&&this.eat(K.star),this.parsePropertyName(j,a)):le=!1,this.parsePropertyValue(j,n,X,le,Ie,$e,a,ot),this.finishNode(j,"Property")},Gt.parsePropertyValue=function(n,a,j,X,le,Ie,$e,ot){if((j||X)&&this.type===K.colon&&this.unexpected(),this.eat(K.colon))n.value=a?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,$e),n.kind="init";else if(this.options.ecmaVersion>=6&&this.type===K.parenL)a&&this.unexpected(),n.kind="init",n.method=!0,n.value=this.parseMethod(j,X);else if(!a&&!ot&&this.options.ecmaVersion>=5&&!n.computed&&n.key.type==="Identifier"&&(n.key.name==="get"||n.key.name==="set")&&this.type!==K.comma&&this.type!==K.braceR&&this.type!==K.eq){(j||X)&&this.unexpected(),n.kind=n.key.name,this.parsePropertyName(n),n.value=this.parseMethod(!1);var Ct=n.kind==="get"?0:1;if(n.value.params.length!==Ct){var Wt=n.value.start;n.kind==="get"?this.raiseRecoverable(Wt,"getter should have no params"):this.raiseRecoverable(Wt,"setter should have exactly one param")}else n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!n.computed&&n.key.type==="Identifier"?((j||X)&&this.unexpected(),this.checkUnreserved(n.key),n.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=le),n.kind="init",a?n.value=this.parseMaybeDefault(le,Ie,n.key):this.type===K.eq&&$e?($e.shorthandAssign<0&&($e.shorthandAssign=this.start),n.value=this.parseMaybeDefault(le,Ie,n.key)):n.value=n.key,n.shorthand=!0):this.unexpected()},Gt.parsePropertyName=function(n){if(this.options.ecmaVersion>=6){if(this.eat(K.bracketL))return n.computed=!0,n.key=this.parseMaybeAssign(),this.expect(K.bracketR),n.key;n.computed=!1}return n.key=this.type===K.num||this.type===K.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Gt.initFunction=function(n){n.id=null,this.options.ecmaVersion>=6&&(n.generator=n.expression=!1),this.options.ecmaVersion>=8&&(n.async=!1)},Gt.parseMethod=function(n,a,j){var X=this.startNode(),le=this.yieldPos,Ie=this.awaitPos,$e=this.awaitIdentPos;return this.initFunction(X),this.options.ecmaVersion>=6&&(X.generator=n),this.options.ecmaVersion>=8&&(X.async=!!a),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ki(a,X.generator)|Ki|(j?Ti:0)),this.expect(K.parenL),X.params=this.parseBindingList(K.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(X,!1,!0),this.yieldPos=le,this.awaitPos=Ie,this.awaitIdentPos=$e,this.finishNode(X,"FunctionExpression")},Gt.parseArrowExpression=function(n,a,j){var X=this.yieldPos,le=this.awaitPos,Ie=this.awaitIdentPos;return this.enterScope(ki(j,!1)|yn),this.initFunction(n),this.options.ecmaVersion>=8&&(n.async=!!j),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,n.params=this.toAssignableList(a,!0),this.parseFunctionBody(n,!0,!1),this.yieldPos=X,this.awaitPos=le,this.awaitIdentPos=Ie,this.finishNode(n,"ArrowFunctionExpression")},Gt.parseFunctionBody=function(n,a,j){var X=a&&this.type!==K.braceL,le=this.strict,Ie=!1;if(X)n.body=this.parseMaybeAssign(),n.expression=!0,this.checkParams(n,!1);else{var $e=this.options.ecmaVersion>=7&&!this.isSimpleParamList(n.params);(!le||$e)&&(Ie=this.strictDirective(this.end),Ie&&$e&&this.raiseRecoverable(n.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var ot=this.labels;this.labels=[],Ie&&(this.strict=!0),this.checkParams(n,!le&&!Ie&&!a&&!j&&this.isSimpleParamList(n.params)),this.strict&&n.id&&this.checkLVal(n.id,ts),n.body=this.parseBlock(!1,void 0,Ie&&!le),n.expression=!1,this.adaptDirectivePrologue(n.body.body),this.labels=ot}this.exitScope()},Gt.isSimpleParamList=function(n){for(var a=0,j=n;a<j.length;a+=1){var X=j[a];if(X.type!=="Identifier")return!1}return!0},Gt.checkParams=function(n,a){for(var j={},X=0,le=n.params;X<le.length;X+=1){var Ie=le[X];this.checkLVal(Ie,Hn,a?null:j)}},Gt.parseExprList=function(n,a,j,X){for(var le=[],Ie=!0;!this.eat(n);){if(Ie)Ie=!1;else if(this.expect(K.comma),a&&this.afterTrailingComma(n))break;var $e=void 0;j&&this.type===K.comma?$e=null:this.type===K.ellipsis?($e=this.parseSpread(X),X&&this.type===K.comma&&X.trailingComma<0&&(X.trailingComma=this.start)):$e=this.parseMaybeAssign(!1,X),le.push($e)}return le},Gt.checkUnreserved=function(n){var a=n.start,j=n.end,X=n.name;if(this.inGenerator&&X==="yield"&&this.raiseRecoverable(a,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&X==="await"&&this.raiseRecoverable(a,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(X)&&this.raise(a,"Unexpected keyword '"+X+"'"),!(this.options.ecmaVersion<6&&this.input.slice(a,j).indexOf("\\")!==-1)){var le=this.strict?this.reservedWordsStrict:this.reservedWords;le.test(X)&&(!this.inAsync&&X==="await"&&this.raiseRecoverable(a,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(a,"The keyword '"+X+"' is reserved"))}},Gt.parseIdent=function(n,a){var j=this.startNode();return this.type===K.name?j.name=this.value:this.type.keyword?(j.name=this.type.keyword,(j.name==="class"||j.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!n),this.finishNode(j,"Identifier"),n||(this.checkUnreserved(j),j.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=j.start)),j},Gt.parseYield=function(n){this.yieldPos||(this.yieldPos=this.start);var a=this.startNode();return this.next(),this.type===K.semi||this.canInsertSemicolon()||this.type!==K.star&&!this.type.startsExpr?(a.delegate=!1,a.argument=null):(a.delegate=this.eat(K.star),a.argument=this.parseMaybeAssign(n)),this.finishNode(a,"YieldExpression")},Gt.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var n=this.startNode();return this.next(),n.argument=this.parseMaybeUnary(null,!1),this.finishNode(n,"AwaitExpression")};var Kn=nr.prototype;Kn.raise=function(n,a){var j=Xn(this.input,n);a+=" ("+j.line+":"+j.column+")";var X=new SyntaxError(a);throw X.pos=n,X.loc=j,X.raisedAt=this.pos,X},Kn.raiseRecoverable=Kn.raise,Kn.curPosition=function(){if(this.options.locations)return new Hr(this.curLine,this.pos-this.lineStart)};var Wr=nr.prototype,ns=function(a){this.flags=a,this.var=[],this.lexical=[],this.functions=[]};Wr.enterScope=function(n){this.scopeStack.push(new ns(n))},Wr.exitScope=function(){this.scopeStack.pop()},Wr.treatFunctionsAsVarInScope=function(n){return n.flags&gn||!this.inModule&&n.flags&_n},Wr.declareName=function(n,a,j){var X=!1;if(a===qr){var le=this.currentScope();X=le.lexical.indexOf(n)>-1||le.functions.indexOf(n)>-1||le.var.indexOf(n)>-1,le.lexical.push(n),this.inModule&&le.flags&_n&&delete this.undefinedExports[n]}else if(a===es){var Ie=this.currentScope();Ie.lexical.push(n)}else if(a===_i){var $e=this.currentScope();this.treatFunctionsAsVar?X=$e.lexical.indexOf(n)>-1:X=$e.lexical.indexOf(n)>-1||$e.var.indexOf(n)>-1,$e.functions.push(n)}else for(var ot=this.scopeStack.length-1;ot>=0;--ot){var Ct=this.scopeStack[ot];if(Ct.lexical.indexOf(n)>-1&&!(Ct.flags&wi&&Ct.lexical[0]===n)||!this.treatFunctionsAsVarInScope(Ct)&&Ct.functions.indexOf(n)>-1){X=!0;break}if(Ct.var.push(n),this.inModule&&Ct.flags&_n&&delete this.undefinedExports[n],Ct.flags&zn)break}X&&this.raiseRecoverable(j,"Identifier '"+n+"' has already been declared")},Wr.checkLocalExport=function(n){this.scopeStack[0].lexical.indexOf(n.name)===-1&&this.scopeStack[0].var.indexOf(n.name)===-1&&(this.undefinedExports[n.name]=n)},Wr.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Wr.currentVarScope=function(){for(var n=this.scopeStack.length-1;;n--){var a=this.scopeStack[n];if(a.flags&zn)return a}},Wr.currentThisScope=function(){for(var n=this.scopeStack.length-1;;n--){var a=this.scopeStack[n];if(a.flags&zn&&!(a.flags&yn))return a}};var Zn=function(a,j,X){this.type="",this.start=j,this.end=0,a.options.locations&&(this.loc=new Nr(a,X)),a.options.directSourceFile&&(this.sourceFile=a.options.directSourceFile),a.options.ranges&&(this.range=[j,0])},In=nr.prototype;In.startNode=function(){return new Zn(this,this.start,this.startLoc)},In.startNodeAt=function(n,a){return new Zn(this,n,a)};function is(n,a,j,X){return n.type=a,n.end=j,this.options.locations&&(n.loc.end=X),this.options.ranges&&(n.range[1]=j),n}In.finishNode=function(n,a){return is.call(this,n,a,this.lastTokEnd,this.lastTokEndLoc)},In.finishNodeAt=function(n,a,j,X){return is.call(this,n,a,j,X)};var kr=function(a,j,X,le,Ie){this.token=a,this.isExpr=!!j,this.preserveSpace=!!X,this.override=le,this.generator=!!Ie},ar={b_stat:new kr("{",!1),b_expr:new kr("{",!0),b_tmpl:new kr("${",!1),p_stat:new kr("(",!1),p_expr:new kr("(",!0),q_tmpl:new kr("`",!0,!0,function(n){return n.tryReadTemplateToken()}),f_stat:new kr("function",!1),f_expr:new kr("function",!0),f_expr_gen:new kr("function",!0,!1,null,!0),f_gen:new kr("function",!1,!1,null,!0)},ei=nr.prototype;ei.initialContext=function(){return[ar.b_stat]},ei.braceIsBlock=function(n){var a=this.curContext();return a===ar.f_expr||a===ar.f_stat?!0:n===K.colon&&(a===ar.b_stat||a===ar.b_expr)?!a.isExpr:n===K._return||n===K.name&&this.exprAllowed?br.test(this.input.slice(this.lastTokEnd,this.start)):n===K._else||n===K.semi||n===K.eof||n===K.parenR||n===K.arrow?!0:n===K.braceL?a===ar.b_stat:n===K._var||n===K._const||n===K.name?!1:!this.exprAllowed},ei.inGeneratorContext=function(){for(var n=this.context.length-1;n>=1;n--){var a=this.context[n];if(a.token==="function")return a.generator}return!1},ei.updateContext=function(n){var a,j=this.type;j.keyword&&n===K.dot?this.exprAllowed=!1:(a=j.updateContext)?a.call(this,n):this.exprAllowed=j.beforeExpr},K.parenR.updateContext=K.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var n=this.context.pop();n===ar.b_stat&&this.curContext().token==="function"&&(n=this.context.pop()),this.exprAllowed=!n.isExpr},K.braceL.updateContext=function(n){this.context.push(this.braceIsBlock(n)?ar.b_stat:ar.b_expr),this.exprAllowed=!0},K.dollarBraceL.updateContext=function(){this.context.push(ar.b_tmpl),this.exprAllowed=!0},K.parenL.updateContext=function(n){var a=n===K._if||n===K._for||n===K._with||n===K._while;this.context.push(a?ar.p_stat:ar.p_expr),this.exprAllowed=!0},K.incDec.updateContext=function(){},K._function.updateContext=K._class.updateContext=function(n){n.beforeExpr&&n!==K.semi&&n!==K._else&&!(n===K._return&&br.test(this.input.slice(this.lastTokEnd,this.start)))&&!((n===K.colon||n===K.braceL)&&this.curContext()===ar.b_stat)?this.context.push(ar.f_expr):this.context.push(ar.f_stat),this.exprAllowed=!1},K.backQuote.updateContext=function(){this.curContext()===ar.q_tmpl?this.context.pop():this.context.push(ar.q_tmpl),this.exprAllowed=!1},K.star.updateContext=function(n){if(n===K._function){var a=this.context.length-1;this.context[a]===ar.f_expr?this.context[a]=ar.f_expr_gen:this.context[a]=ar.f_gen}this.exprAllowed=!0},K.name.updateContext=function(n){var a=!1;this.options.ecmaVersion>=6&&n!==K.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(a=!0),this.exprAllowed=a};var Ii="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ss=Ii+" Extended_Pictographic",us=ss,vu={9:Ii,10:ss,11:us},as="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",os="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ls=os+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Cu=ls+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",bu={9:os,10:ls,11:Cu},cs={};function Ni(n){var a=cs[n]={binary:zr(vu[n]+" "+as),nonBinary:{General_Category:zr(as),Script:zr(bu[n])}};a.nonBinary.Script_Extensions=a.nonBinary.Script,a.nonBinary.gc=a.nonBinary.General_Category,a.nonBinary.sc=a.nonBinary.Script,a.nonBinary.scx=a.nonBinary.Script_Extensions}Ni(9),Ni(10),Ni(11);var Tt=nr.prototype,Jr=function(a){this.parser=a,this.validFlags="gim"+(a.options.ecmaVersion>=6?"uy":"")+(a.options.ecmaVersion>=9?"s":""),this.unicodeProperties=cs[a.options.ecmaVersion>=11?11:a.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Jr.prototype.reset=function(a,j,X){var le=X.indexOf("u")!==-1;this.start=a|0,this.source=j+"",this.flags=X,this.switchU=le&&this.parser.options.ecmaVersion>=6,this.switchN=le&&this.parser.options.ecmaVersion>=9},Jr.prototype.raise=function(a){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+a)},Jr.prototype.at=function(a,j){j===void 0&&(j=!1);var X=this.source,le=X.length;if(a>=le)return-1;var Ie=X.charCodeAt(a);if(!(j||this.switchU)||Ie<=55295||Ie>=57344||a+1>=le)return Ie;var $e=X.charCodeAt(a+1);return $e>=56320&&$e<=57343?(Ie<<10)+$e-56613888:Ie},Jr.prototype.nextIndex=function(a,j){j===void 0&&(j=!1);var X=this.source,le=X.length;if(a>=le)return le;var Ie=X.charCodeAt(a),$e;return!(j||this.switchU)||Ie<=55295||Ie>=57344||a+1>=le||($e=X.charCodeAt(a+1))<56320||$e>57343?a+1:a+2},Jr.prototype.current=function(a){return a===void 0&&(a=!1),this.at(this.pos,a)},Jr.prototype.lookahead=function(a){return a===void 0&&(a=!1),this.at(this.nextIndex(this.pos,a),a)},Jr.prototype.advance=function(a){a===void 0&&(a=!1),this.pos=this.nextIndex(this.pos,a)},Jr.prototype.eat=function(a,j){return j===void 0&&(j=!1),this.current(j)===a?(this.advance(j),!0):!1};function ti(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}Tt.validateRegExpFlags=function(n){for(var a=n.validFlags,j=n.flags,X=0;X<j.length;X++){var le=j.charAt(X);a.indexOf(le)===-1&&this.raise(n.start,"Invalid regular expression flag"),j.indexOf(le,X+1)>-1&&this.raise(n.start,"Duplicate regular expression flag")}},Tt.validateRegExpPattern=function(n){this.regexp_pattern(n),!n.switchN&&this.options.ecmaVersion>=9&&n.groupNames.length>0&&(n.switchN=!0,this.regexp_pattern(n))},Tt.regexp_pattern=function(n){n.pos=0,n.lastIntValue=0,n.lastStringValue="",n.lastAssertionIsQuantifiable=!1,n.numCapturingParens=0,n.maxBackReference=0,n.groupNames.length=0,n.backReferenceNames.length=0,this.regexp_disjunction(n),n.pos!==n.source.length&&(n.eat(41)&&n.raise("Unmatched ')'"),(n.eat(93)||n.eat(125))&&n.raise("Lone quantifier brackets")),n.maxBackReference>n.numCapturingParens&&n.raise("Invalid escape");for(var a=0,j=n.backReferenceNames;a<j.length;a+=1){var X=j[a];n.groupNames.indexOf(X)===-1&&n.raise("Invalid named capture referenced")}},Tt.regexp_disjunction=function(n){for(this.regexp_alternative(n);n.eat(124);)this.regexp_alternative(n);this.regexp_eatQuantifier(n,!0)&&n.raise("Nothing to repeat"),n.eat(123)&&n.raise("Lone quantifier brackets")},Tt.regexp_alternative=function(n){for(;n.pos<n.source.length&&this.regexp_eatTerm(n););},Tt.regexp_eatTerm=function(n){return this.regexp_eatAssertion(n)?(n.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(n)&&n.switchU&&n.raise("Invalid quantifier"),!0):(n.switchU?this.regexp_eatAtom(n):this.regexp_eatExtendedAtom(n))?(this.regexp_eatQuantifier(n),!0):!1},Tt.regexp_eatAssertion=function(n){var a=n.pos;if(n.lastAssertionIsQuantifiable=!1,n.eat(94)||n.eat(36))return!0;if(n.eat(92)){if(n.eat(66)||n.eat(98))return!0;n.pos=a}if(n.eat(40)&&n.eat(63)){var j=!1;if(this.options.ecmaVersion>=9&&(j=n.eat(60)),n.eat(61)||n.eat(33))return this.regexp_disjunction(n),n.eat(41)||n.raise("Unterminated group"),n.lastAssertionIsQuantifiable=!j,!0}return n.pos=a,!1},Tt.regexp_eatQuantifier=function(n,a){return a===void 0&&(a=!1),this.regexp_eatQuantifierPrefix(n,a)?(n.eat(63),!0):!1},Tt.regexp_eatQuantifierPrefix=function(n,a){return n.eat(42)||n.eat(43)||n.eat(63)||this.regexp_eatBracedQuantifier(n,a)},Tt.regexp_eatBracedQuantifier=function(n,a){var j=n.pos;if(n.eat(123)){var X=0,le=-1;if(this.regexp_eatDecimalDigits(n)&&(X=n.lastIntValue,n.eat(44)&&this.regexp_eatDecimalDigits(n)&&(le=n.lastIntValue),n.eat(125)))return le!==-1&&le<X&&!a&&n.raise("numbers out of order in {} quantifier"),!0;n.switchU&&!a&&n.raise("Incomplete quantifier"),n.pos=j}return!1},Tt.regexp_eatAtom=function(n){return this.regexp_eatPatternCharacters(n)||n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)},Tt.regexp_eatReverseSolidusAtomEscape=function(n){var a=n.pos;if(n.eat(92)){if(this.regexp_eatAtomEscape(n))return!0;n.pos=a}return!1},Tt.regexp_eatUncapturingGroup=function(n){var a=n.pos;if(n.eat(40)){if(n.eat(63)&&n.eat(58)){if(this.regexp_disjunction(n),n.eat(41))return!0;n.raise("Unterminated group")}n.pos=a}return!1},Tt.regexp_eatCapturingGroup=function(n){if(n.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(n):n.current()===63&&n.raise("Invalid group"),this.regexp_disjunction(n),n.eat(41))return n.numCapturingParens+=1,!0;n.raise("Unterminated group")}return!1},Tt.regexp_eatExtendedAtom=function(n){return n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)||this.regexp_eatInvalidBracedQuantifier(n)||this.regexp_eatExtendedPatternCharacter(n)},Tt.regexp_eatInvalidBracedQuantifier=function(n){return this.regexp_eatBracedQuantifier(n,!0)&&n.raise("Nothing to repeat"),!1},Tt.regexp_eatSyntaxCharacter=function(n){var a=n.current();return ps(a)?(n.lastIntValue=a,n.advance(),!0):!1};function ps(n){return n===36||n>=40&&n<=43||n===46||n===63||n>=91&&n<=94||n>=123&&n<=125}Tt.regexp_eatPatternCharacters=function(n){for(var a=n.pos,j=0;(j=n.current())!==-1&&!ps(j);)n.advance();return n.pos!==a},Tt.regexp_eatExtendedPatternCharacter=function(n){var a=n.current();return a!==-1&&a!==36&&!(a>=40&&a<=43)&&a!==46&&a!==63&&a!==91&&a!==94&&a!==124?(n.advance(),!0):!1},Tt.regexp_groupSpecifier=function(n){if(n.eat(63)){if(this.regexp_eatGroupName(n)){n.groupNames.indexOf(n.lastStringValue)!==-1&&n.raise("Duplicate capture group name"),n.groupNames.push(n.lastStringValue);return}n.raise("Invalid group")}},Tt.regexp_eatGroupName=function(n){if(n.lastStringValue="",n.eat(60)){if(this.regexp_eatRegExpIdentifierName(n)&&n.eat(62))return!0;n.raise("Invalid capture group name")}return!1},Tt.regexp_eatRegExpIdentifierName=function(n){if(n.lastStringValue="",this.regexp_eatRegExpIdentifierStart(n)){for(n.lastStringValue+=ti(n.lastIntValue);this.regexp_eatRegExpIdentifierPart(n);)n.lastStringValue+=ti(n.lastIntValue);return!0}return!1},Tt.regexp_eatRegExpIdentifierStart=function(n){var a=n.pos,j=this.options.ecmaVersion>=11,X=n.current(j);return n.advance(j),X===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,j)&&(X=n.lastIntValue),tt(X)?(n.lastIntValue=X,!0):(n.pos=a,!1)};function tt(n){return dt(n,!0)||n===36||n===95}Tt.regexp_eatRegExpIdentifierPart=function(n){var a=n.pos,j=this.options.ecmaVersion>=11,X=n.current(j);return n.advance(j),X===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,j)&&(X=n.lastIntValue),be(X)?(n.lastIntValue=X,!0):(n.pos=a,!1)};function be(n){return Dt(n,!0)||n===36||n===95||n===8204||n===8205}Tt.regexp_eatAtomEscape=function(n){return this.regexp_eatBackReference(n)||this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)||n.switchN&&this.regexp_eatKGroupName(n)?!0:(n.switchU&&(n.current()===99&&n.raise("Invalid unicode escape"),n.raise("Invalid escape")),!1)},Tt.regexp_eatBackReference=function(n){var a=n.pos;if(this.regexp_eatDecimalEscape(n)){var j=n.lastIntValue;if(n.switchU)return j>n.maxBackReference&&(n.maxBackReference=j),!0;if(j<=n.numCapturingParens)return!0;n.pos=a}return!1},Tt.regexp_eatKGroupName=function(n){if(n.eat(107)){if(this.regexp_eatGroupName(n))return n.backReferenceNames.push(n.lastStringValue),!0;n.raise("Invalid named reference")}return!1},Tt.regexp_eatCharacterEscape=function(n){return this.regexp_eatControlEscape(n)||this.regexp_eatCControlLetter(n)||this.regexp_eatZero(n)||this.regexp_eatHexEscapeSequence(n)||this.regexp_eatRegExpUnicodeEscapeSequence(n,!1)||!n.switchU&&this.regexp_eatLegacyOctalEscapeSequence(n)||this.regexp_eatIdentityEscape(n)},Tt.regexp_eatCControlLetter=function(n){var a=n.pos;if(n.eat(99)){if(this.regexp_eatControlLetter(n))return!0;n.pos=a}return!1},Tt.regexp_eatZero=function(n){return n.current()===48&&!He(n.lookahead())?(n.lastIntValue=0,n.advance(),!0):!1},Tt.regexp_eatControlEscape=function(n){var a=n.current();return a===116?(n.lastIntValue=9,n.advance(),!0):a===110?(n.lastIntValue=10,n.advance(),!0):a===118?(n.lastIntValue=11,n.advance(),!0):a===102?(n.lastIntValue=12,n.advance(),!0):a===114?(n.lastIntValue=13,n.advance(),!0):!1},Tt.regexp_eatControlLetter=function(n){var a=n.current();return De(a)?(n.lastIntValue=a%32,n.advance(),!0):!1};function De(n){return n>=65&&n<=90||n>=97&&n<=122}Tt.regexp_eatRegExpUnicodeEscapeSequence=function(n,a){a===void 0&&(a=!1);var j=n.pos,X=a||n.switchU;if(n.eat(117)){if(this.regexp_eatFixedHexDigits(n,4)){var le=n.lastIntValue;if(X&&le>=55296&&le<=56319){var Ie=n.pos;if(n.eat(92)&&n.eat(117)&&this.regexp_eatFixedHexDigits(n,4)){var $e=n.lastIntValue;if($e>=56320&&$e<=57343)return n.lastIntValue=(le-55296)*1024+($e-56320)+65536,!0}n.pos=Ie,n.lastIntValue=le}return!0}if(X&&n.eat(123)&&this.regexp_eatHexDigits(n)&&n.eat(125)&&Fe(n.lastIntValue))return!0;X&&n.raise("Invalid unicode escape"),n.pos=j}return!1};function Fe(n){return n>=0&&n<=1114111}Tt.regexp_eatIdentityEscape=function(n){if(n.switchU)return this.regexp_eatSyntaxCharacter(n)?!0:n.eat(47)?(n.lastIntValue=47,!0):!1;var a=n.current();return a!==99&&(!n.switchN||a!==107)?(n.lastIntValue=a,n.advance(),!0):!1},Tt.regexp_eatDecimalEscape=function(n){n.lastIntValue=0;var a=n.current();if(a>=49&&a<=57){do n.lastIntValue=10*n.lastIntValue+(a-48),n.advance();while((a=n.current())>=48&&a<=57);return!0}return!1},Tt.regexp_eatCharacterClassEscape=function(n){var a=n.current();if(Ce(a))return n.lastIntValue=-1,n.advance(),!0;if(n.switchU&&this.options.ecmaVersion>=9&&(a===80||a===112)){if(n.lastIntValue=-1,n.advance(),n.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(n)&&n.eat(125))return!0;n.raise("Invalid property name")}return!1};function Ce(n){return n===100||n===68||n===115||n===83||n===119||n===87}Tt.regexp_eatUnicodePropertyValueExpression=function(n){var a=n.pos;if(this.regexp_eatUnicodePropertyName(n)&&n.eat(61)){var j=n.lastStringValue;if(this.regexp_eatUnicodePropertyValue(n)){var X=n.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(n,j,X),!0}}if(n.pos=a,this.regexp_eatLoneUnicodePropertyNameOrValue(n)){var le=n.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(n,le),!0}return!1},Tt.regexp_validateUnicodePropertyNameAndValue=function(n,a,j){mn(n.unicodeProperties.nonBinary,a)||n.raise("Invalid property name"),n.unicodeProperties.nonBinary[a].test(j)||n.raise("Invalid property value")},Tt.regexp_validateUnicodePropertyNameOrValue=function(n,a){n.unicodeProperties.binary.test(a)||n.raise("Invalid property name")},Tt.regexp_eatUnicodePropertyName=function(n){var a=0;for(n.lastStringValue="";Oe(a=n.current());)n.lastStringValue+=ti(a),n.advance();return n.lastStringValue!==""};function Oe(n){return De(n)||n===95}Tt.regexp_eatUnicodePropertyValue=function(n){var a=0;for(n.lastStringValue="";Ue(a=n.current());)n.lastStringValue+=ti(a),n.advance();return n.lastStringValue!==""};function Ue(n){return Oe(n)||He(n)}Tt.regexp_eatLoneUnicodePropertyNameOrValue=function(n){return this.regexp_eatUnicodePropertyValue(n)},Tt.regexp_eatCharacterClass=function(n){if(n.eat(91)){if(n.eat(94),this.regexp_classRanges(n),n.eat(93))return!0;n.raise("Unterminated character class")}return!1},Tt.regexp_classRanges=function(n){for(;this.regexp_eatClassAtom(n);){var a=n.lastIntValue;if(n.eat(45)&&this.regexp_eatClassAtom(n)){var j=n.lastIntValue;n.switchU&&(a===-1||j===-1)&&n.raise("Invalid character class"),a!==-1&&j!==-1&&a>j&&n.raise("Range out of order in character class")}}},Tt.regexp_eatClassAtom=function(n){var a=n.pos;if(n.eat(92)){if(this.regexp_eatClassEscape(n))return!0;if(n.switchU){var j=n.current();(j===99||ft(j))&&n.raise("Invalid class escape"),n.raise("Invalid escape")}n.pos=a}var X=n.current();return X!==93?(n.lastIntValue=X,n.advance(),!0):!1},Tt.regexp_eatClassEscape=function(n){var a=n.pos;if(n.eat(98))return n.lastIntValue=8,!0;if(n.switchU&&n.eat(45))return n.lastIntValue=45,!0;if(!n.switchU&&n.eat(99)){if(this.regexp_eatClassControlLetter(n))return!0;n.pos=a}return this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)},Tt.regexp_eatClassControlLetter=function(n){var a=n.current();return He(a)||a===95?(n.lastIntValue=a%32,n.advance(),!0):!1},Tt.regexp_eatHexEscapeSequence=function(n){var a=n.pos;if(n.eat(120)){if(this.regexp_eatFixedHexDigits(n,2))return!0;n.switchU&&n.raise("Invalid escape"),n.pos=a}return!1},Tt.regexp_eatDecimalDigits=function(n){var a=n.pos,j=0;for(n.lastIntValue=0;He(j=n.current());)n.lastIntValue=10*n.lastIntValue+(j-48),n.advance();return n.pos!==a};function He(n){return n>=48&&n<=57}Tt.regexp_eatHexDigits=function(n){var a=n.pos,j=0;for(n.lastIntValue=0;Ye(j=n.current());)n.lastIntValue=16*n.lastIntValue+Ke(j),n.advance();return n.pos!==a};function Ye(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function Ke(n){return n>=65&&n<=70?10+(n-65):n>=97&&n<=102?10+(n-97):n-48}Tt.regexp_eatLegacyOctalEscapeSequence=function(n){if(this.regexp_eatOctalDigit(n)){var a=n.lastIntValue;if(this.regexp_eatOctalDigit(n)){var j=n.lastIntValue;a<=3&&this.regexp_eatOctalDigit(n)?n.lastIntValue=a*64+j*8+n.lastIntValue:n.lastIntValue=a*8+j}else n.lastIntValue=a;return!0}return!1},Tt.regexp_eatOctalDigit=function(n){var a=n.current();return ft(a)?(n.lastIntValue=a-48,n.advance(),!0):(n.lastIntValue=0,!1)};function ft(n){return n>=48&&n<=55}Tt.regexp_eatFixedHexDigits=function(n,a){var j=n.pos;n.lastIntValue=0;for(var X=0;X<a;++X){var le=n.current();if(!Ye(le))return n.pos=j,!1;n.lastIntValue=16*n.lastIntValue+Ke(le),n.advance()}return!0};var mt=function(a){this.type=a.type,this.value=a.value,this.start=a.start,this.end=a.end,a.options.locations&&(this.loc=new Nr(a,a.startLoc,a.endLoc)),a.options.ranges&&(this.range=[a.start,a.end])},rt=nr.prototype;rt.next=function(n){!n&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new mt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},rt.getToken=function(){return this.next(),new mt(this)},typeof Symbol!="undefined"&&(rt[Symbol.iterator]=function(){var n=this;return{next:function(){var a=n.getToken();return{done:a.type===K.eof,value:a}}}}),rt.curContext=function(){return this.context[this.context.length-1]},rt.nextToken=function(){var n=this.curContext();if((!n||!n.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(K.eof);if(n.override)return n.override(this);this.readToken(this.fullCharCodeAtPos())},rt.readToken=function(n){return dt(n,this.options.ecmaVersion>=6)||n===92?this.readWord():this.getTokenFromCode(n)},rt.fullCharCodeAtPos=function(){var n=this.input.charCodeAt(this.pos);if(n<=55295||n>=57344)return n;var a=this.input.charCodeAt(this.pos+1);return(n<<10)+a-56613888},rt.skipBlockComment=function(){var n=this.options.onComment&&this.curPosition(),a=this.pos,j=this.input.indexOf("*/",this.pos+=2);if(j===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=j+2,this.options.locations){nn.lastIndex=a;for(var X;(X=nn.exec(this.input))&&X.index<this.pos;)++this.curLine,this.lineStart=X.index+X[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(a+2,j),a,this.pos,n,this.curPosition())},rt.skipLineComment=function(n){for(var a=this.pos,j=this.options.onComment&&this.curPosition(),X=this.input.charCodeAt(this.pos+=n);this.pos<this.input.length&&!sn(X);)X=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(a+n,this.pos),a,this.pos,j,this.curPosition())},rt.skipSpace=function(){e:for(;this.pos<this.input.length;){var n=this.input.charCodeAt(this.pos);switch(n){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(n>8&&n<14||n>=5760&&kn.test(String.fromCharCode(n)))++this.pos;else break e}}},rt.finishToken=function(n,a){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var j=this.type;this.type=n,this.value=a,this.updateContext(j)},rt.readToken_dot=function(){var n=this.input.charCodeAt(this.pos+1);if(n>=48&&n<=57)return this.readNumber(!0);var a=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&n===46&&a===46?(this.pos+=3,this.finishToken(K.ellipsis)):(++this.pos,this.finishToken(K.dot))},rt.readToken_slash=function(){var n=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):n===61?this.finishOp(K.assign,2):this.finishOp(K.slash,1)},rt.readToken_mult_modulo_exp=function(n){var a=this.input.charCodeAt(this.pos+1),j=1,X=n===42?K.star:K.modulo;return this.options.ecmaVersion>=7&&n===42&&a===42&&(++j,X=K.starstar,a=this.input.charCodeAt(this.pos+2)),a===61?this.finishOp(K.assign,j+1):this.finishOp(X,j)},rt.readToken_pipe_amp=function(n){var a=this.input.charCodeAt(this.pos+1);if(a===n){if(this.options.ecmaVersion>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61)return this.finishOp(K.assign,3)}return this.finishOp(n===124?K.logicalOR:K.logicalAND,2)}return a===61?this.finishOp(K.assign,2):this.finishOp(n===124?K.bitwiseOR:K.bitwiseAND,1)},rt.readToken_caret=function(){var n=this.input.charCodeAt(this.pos+1);return n===61?this.finishOp(K.assign,2):this.finishOp(K.bitwiseXOR,1)},rt.readToken_plus_min=function(n){var a=this.input.charCodeAt(this.pos+1);return a===n?a===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||br.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(K.incDec,2):a===61?this.finishOp(K.assign,2):this.finishOp(K.plusMin,1)},rt.readToken_lt_gt=function(n){var a=this.input.charCodeAt(this.pos+1),j=1;return a===n?(j=n===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+j)===61?this.finishOp(K.assign,j+1):this.finishOp(K.bitShift,j)):a===33&&n===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(a===61&&(j=2),this.finishOp(K.relational,j))},rt.readToken_eq_excl=function(n){var a=this.input.charCodeAt(this.pos+1);return a===61?this.finishOp(K.equality,this.input.charCodeAt(this.pos+2)===61?3:2):n===61&&a===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(K.arrow)):this.finishOp(n===61?K.eq:K.prefix,1)},rt.readToken_question=function(){var n=this.options.ecmaVersion;if(n>=11){var a=this.input.charCodeAt(this.pos+1);if(a===46){var j=this.input.charCodeAt(this.pos+2);if(j<48||j>57)return this.finishOp(K.questionDot,2)}if(a===63){if(n>=12){var X=this.input.charCodeAt(this.pos+2);if(X===61)return this.finishOp(K.assign,3)}return this.finishOp(K.coalesce,2)}}return this.finishOp(K.question,1)},rt.getTokenFromCode=function(n){switch(n){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(K.parenL);case 41:return++this.pos,this.finishToken(K.parenR);case 59:return++this.pos,this.finishToken(K.semi);case 44:return++this.pos,this.finishToken(K.comma);case 91:return++this.pos,this.finishToken(K.bracketL);case 93:return++this.pos,this.finishToken(K.bracketR);case 123:return++this.pos,this.finishToken(K.braceL);case 125:return++this.pos,this.finishToken(K.braceR);case 58:return++this.pos,this.finishToken(K.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(K.backQuote);case 48:var a=this.input.charCodeAt(this.pos+1);if(a===120||a===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(a===111||a===79)return this.readRadixNumber(8);if(a===98||a===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(n);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(n);case 124:case 38:return this.readToken_pipe_amp(n);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(n);case 60:case 62:return this.readToken_lt_gt(n);case 61:case 33:return this.readToken_eq_excl(n);case 63:return this.readToken_question();case 126:return this.finishOp(K.prefix,1)}this.raise(this.pos,"Unexpected character '"+vt(n)+"'")},rt.finishOp=function(n,a){var j=this.input.slice(this.pos,this.pos+a);return this.pos+=a,this.finishToken(n,j)},rt.readRegexp=function(){for(var n,a,j=this.pos;;){this.pos>=this.input.length&&this.raise(j,"Unterminated regular expression");var X=this.input.charAt(this.pos);if(br.test(X)&&this.raise(j,"Unterminated regular expression"),n)n=!1;else{if(X==="[")a=!0;else if(X==="]"&&a)a=!1;else if(X==="/"&&!a)break;n=X==="\\"}++this.pos}var le=this.input.slice(j,this.pos);++this.pos;var Ie=this.pos,$e=this.readWord1();this.containsEsc&&this.unexpected(Ie);var ot=this.regexpState||(this.regexpState=new Jr(this));ot.reset(j,le,$e),this.validateRegExpFlags(ot),this.validateRegExpPattern(ot);var Ct=null;try{Ct=new RegExp(le,$e)}catch(Wt){}return this.finishToken(K.regexp,{pattern:le,flags:$e,value:Ct})},rt.readInt=function(n,a,j){for(var X=this.options.ecmaVersion>=12&&a===void 0,le=j&&this.input.charCodeAt(this.pos)===48,Ie=this.pos,$e=0,ot=0,Ct=0,Wt=a??1/0;Ct<Wt;++Ct,++this.pos){var Qt=this.input.charCodeAt(this.pos),pr=void 0;if(X&&Qt===95){le&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),ot===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Ct===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),ot=Qt;continue}if(Qt>=97?pr=Qt-97+10:Qt>=65?pr=Qt-65+10:Qt>=48&&Qt<=57?pr=Qt-48:pr=1/0,pr>=n)break;ot=Qt,$e=$e*n+pr}return X&&ot===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Ie||a!=null&&this.pos-Ie!==a?null:$e};function ht(n,a){return a?parseInt(n,8):parseFloat(n.replace(/_/g,""))}function ie(n){return typeof BigInt!="function"?null:BigInt(n.replace(/_/g,""))}rt.readRadixNumber=function(n){var a=this.pos;this.pos+=2;var j=this.readInt(n);return j==null&&this.raise(this.start+2,"Expected number in radix "+n),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(j=ie(this.input.slice(a,this.pos)),++this.pos):dt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(K.num,j)},rt.readNumber=function(n){var a=this.pos;!n&&this.readInt(10,void 0,!0)===null&&this.raise(a,"Invalid number");var j=this.pos-a>=2&&this.input.charCodeAt(a)===48;j&&this.strict&&this.raise(a,"Invalid number");var X=this.input.charCodeAt(this.pos);if(!j&&!n&&this.options.ecmaVersion>=11&&X===110){var le=ie(this.input.slice(a,this.pos));return++this.pos,dt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(K.num,le)}j&&/[89]/.test(this.input.slice(a,this.pos))&&(j=!1),X===46&&!j&&(++this.pos,this.readInt(10),X=this.input.charCodeAt(this.pos)),(X===69||X===101)&&!j&&(X=this.input.charCodeAt(++this.pos),(X===43||X===45)&&++this.pos,this.readInt(10)===null&&this.raise(a,"Invalid number")),dt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Ie=ht(this.input.slice(a,this.pos),j);return this.finishToken(K.num,Ie)},rt.readCodePoint=function(){var n=this.input.charCodeAt(this.pos),a;if(n===123){this.options.ecmaVersion<6&&this.unexpected();var j=++this.pos;a=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,a>1114111&&this.invalidStringToken(j,"Code point out of bounds")}else a=this.readHexChar(4);return a};function vt(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}rt.readString=function(n){for(var a="",j=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var X=this.input.charCodeAt(this.pos);if(X===n)break;X===92?(a+=this.input.slice(j,this.pos),a+=this.readEscapedChar(!1),j=this.pos):(sn(X,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return a+=this.input.slice(j,this.pos++),this.finishToken(K.string,a)};var Bt={};rt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(n){if(n===Bt)this.readInvalidTemplateToken();else throw n}this.inTemplateElement=!1},rt.invalidStringToken=function(n,a){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Bt;this.raise(n,a)},rt.readTmplToken=function(){for(var n="",a=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var j=this.input.charCodeAt(this.pos);if(j===96||j===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===K.template||this.type===K.invalidTemplate)?j===36?(this.pos+=2,this.finishToken(K.dollarBraceL)):(++this.pos,this.finishToken(K.backQuote)):(n+=this.input.slice(a,this.pos),this.finishToken(K.template,n));if(j===92)n+=this.input.slice(a,this.pos),n+=this.readEscapedChar(!0),a=this.pos;else if(sn(j)){switch(n+=this.input.slice(a,this.pos),++this.pos,j){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:n+=`
|
|
15
|
+
`;break;default:n+=String.fromCharCode(j);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),a=this.pos}else++this.pos}},rt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(K.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},rt.readEscapedChar=function(n){var a=this.input.charCodeAt(++this.pos);switch(++this.pos,a){case 110:return`
|
|
16
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return vt(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(n){var j=this.pos-1;return this.invalidStringToken(j,"Invalid escape sequence in template string"),null}default:if(a>=48&&a<=55){var X=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],le=parseInt(X,8);return le>255&&(X=X.slice(0,-1),le=parseInt(X,8)),this.pos+=X.length-1,a=this.input.charCodeAt(this.pos),(X!=="0"||a===56||a===57)&&(this.strict||n)&&this.invalidStringToken(this.pos-1-X.length,n?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(le)}return sn(a)?"":String.fromCharCode(a)}},rt.readHexChar=function(n){var a=this.pos,j=this.readInt(16,n);return j===null&&this.invalidStringToken(a,"Bad character escape sequence"),j},rt.readWord1=function(){this.containsEsc=!1;for(var n="",a=!0,j=this.pos,X=this.options.ecmaVersion>=6;this.pos<this.input.length;){var le=this.fullCharCodeAtPos();if(Dt(le,X))this.pos+=le<=65535?1:2;else if(le===92){this.containsEsc=!0,n+=this.input.slice(j,this.pos);var Ie=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var $e=this.readCodePoint();(a?dt:Dt)($e,X)||this.invalidStringToken(Ie,"Invalid Unicode escape"),n+=vt($e),j=this.pos}else break;a=!1}return n+this.input.slice(j,this.pos)},rt.readWord=function(){var n=this.readWord1(),a=K.name;return this.keywords.test(n)&&(a=Ur[n]),this.finishToken(a,n)};var qt="7.4.1";nr.acorn={Parser:nr,version:qt,defaultOptions:Gr,Position:Hr,SourceLocation:Nr,getLineInfo:Xn,Node:Zn,TokenType:Et,tokTypes:K,keywordTypes:Ur,TokContext:kr,tokContexts:ar,isIdentifierChar:Dt,isIdentifierStart:dt,Token:mt,isNewLine:sn,lineBreak:br,lineBreakG:nn,nonASCIIwhitespace:kn};function Ut(n,a){return nr.parse(n,a)}function sr(n,a,j){return nr.parseExpressionAt(n,a,j)}function pe(n,a){return nr.tokenizer(n,a)}t.Node=Zn,t.Parser=nr,t.Position=Hr,t.SourceLocation=Nr,t.TokContext=kr,t.Token=mt,t.TokenType=Et,t.defaultOptions=Gr,t.getLineInfo=Xn,t.isIdentifierChar=Dt,t.isIdentifierStart=dt,t.isNewLine=sn,t.keywordTypes=Ur,t.lineBreak=br,t.lineBreakG=nn,t.nonASCIIwhitespace=kn,t.parse=Ut,t.parseExpressionAt=sr,t.tokContexts=ar,t.tokTypes=K,t.tokenizer=pe,t.version=qt,Object.defineProperty(t,"__esModule",{value:!0})})});var sc=Ot((dD,ic)=>{Ze();et();"use strict";var nc=Object.getOwnPropertySymbols,Km=Object.prototype.hasOwnProperty,Zm=Object.prototype.propertyIsEnumerable;function eg(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function tg(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var i=Object.getOwnPropertyNames(e).map(function(k){return e[k]});if(i.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(k){p[k]=k}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch(k){return!1}}ic.exports=tg()?Object.assign:function(t,e){for(var r,i=eg(t),p,k=1;k<arguments.length;k++){r=Object(arguments[k]);for(var B in r)Km.call(r,B)&&(i[B]=r[B]);if(nc){p=nc(r);for(var se=0;se<p.length;se++)Zm.call(r,p[se])&&(i[p[se]]=r[p[se]])}}return i}});var oc=Ot((mD,ac)=>{Ze();et();"use strict";var uc=rc(),rg=sc();ac.exports=ig;var ng={throw:!1,strict:!1,lineComment:!1};function ig(t,e){e=rg({},ng,e);try{var r=new uc.Parser(e,t,0);e.strict&&(r.strict=!0),e.lineComment||(r.skipLineComment=function(i){this.raise(this.pos,"Line comments not allowed in an expression")}),r.nextToken(),r.parseExpression(),r.type!==uc.tokTypes.eof&&r.unexpected()}catch(i){if(!e.throw)return!1;throw i}return!0}});var Ea=Ot((gD,lc)=>{Ze();et();"use strict";lc.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),i=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var p=42;e[r]=p;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var k=Object.getOwnPropertySymbols(e);if(k.length!==1||k[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var B=Object.getOwnPropertyDescriptor(e,r);if(B.value!==p||B.enumerable!==!0)return!1}return!0}});var fc=Ot((yD,pc)=>{Ze();et();"use strict";var cc=typeof Symbol!="undefined"&&Symbol,sg=Ea();pc.exports=function(){return typeof cc!="function"||typeof Symbol!="function"||typeof cc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:sg()}});var mc=Ot((DD,dc)=>{Ze();et();"use strict";var hc={foo:{}},ug=Object;dc.exports=function(){return{__proto__:hc}.foo===hc.foo&&!({__proto__:null}instanceof ug)}});var yc=Ot((ED,gc)=>{Ze();et();"use strict";var ag="Function.prototype.bind called on incompatible ",xa=Array.prototype.slice,og=Object.prototype.toString,lg="[object Function]";gc.exports=function(e){var r=this;if(typeof r!="function"||og.call(r)!==lg)throw new TypeError(ag+r);for(var i=xa.call(arguments,1),p,k=function(){if(this instanceof p){var Je=r.apply(this,i.concat(xa.call(arguments)));return Object(Je)===Je?Je:this}else return r.apply(e,i.concat(xa.call(arguments)))},B=Math.max(0,r.length-i.length),se=[],ye=0;ye<B;ye++)se.push("$"+ye);if(p=Function("binder","return function ("+se.join(",")+"){ return binder.apply(this,arguments); }")(k),r.prototype){var je=function(){};je.prototype=r.prototype,p.prototype=new je,je.prototype=null}return p}});var qs=Ot((xD,Dc)=>{Ze();et();"use strict";var cg=yc();Dc.exports=Function.prototype.bind||cg});var xc=Ot((vD,Ec)=>{Ze();et();"use strict";var pg=qs();Ec.exports=pg.call(Function.call,Object.prototype.hasOwnProperty)});var ba=Ot((CD,Fc)=>{Ze();et();"use strict";var Xt,mi=SyntaxError,vc=Function,gi=TypeError,va=function(t){try{return vc('"use strict"; return ('+t+").constructor;")()}catch(e){}},Gn=Object.getOwnPropertyDescriptor;if(Gn)try{Gn({},"")}catch(t){Gn=null}var Ca=function(){throw new gi},fg=Gn?function(){try{return arguments.callee,Ca}catch(t){try{return Gn(arguments,"callee").get}catch(e){return Ca}}}():Ca,yi=fc()(),hg=mc()(),yr=Object.getPrototypeOf||(hg?function(t){return t.__proto__}:null),Di={},dg=typeof Uint8Array=="undefined"||!yr?Xt:yr(Uint8Array),qn={"%AggregateError%":typeof AggregateError=="undefined"?Xt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?Xt:ArrayBuffer,"%ArrayIteratorPrototype%":yi&&yr?yr([][Symbol.iterator]()):Xt,"%AsyncFromSyncIteratorPrototype%":Xt,"%AsyncFunction%":Di,"%AsyncGenerator%":Di,"%AsyncGeneratorFunction%":Di,"%AsyncIteratorPrototype%":Di,"%Atomics%":typeof Atomics=="undefined"?Xt:Atomics,"%BigInt%":typeof BigInt=="undefined"?Xt:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?Xt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?Xt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?Xt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?Xt:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?Xt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?Xt:FinalizationRegistry,"%Function%":vc,"%GeneratorFunction%":Di,"%Int8Array%":typeof Int8Array=="undefined"?Xt:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?Xt:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?Xt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":yi&&yr?yr(yr([][Symbol.iterator]())):Xt,"%JSON%":typeof JSON=="object"?JSON:Xt,"%Map%":typeof Map=="undefined"?Xt:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!yi||!yr?Xt:yr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?Xt:Promise,"%Proxy%":typeof Proxy=="undefined"?Xt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?Xt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?Xt:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!yi||!yr?Xt:yr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?Xt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":yi&&yr?yr(""[Symbol.iterator]()):Xt,"%Symbol%":yi?Symbol:Xt,"%SyntaxError%":mi,"%ThrowTypeError%":fg,"%TypedArray%":dg,"%TypeError%":gi,"%Uint8Array%":typeof Uint8Array=="undefined"?Xt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?Xt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?Xt:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?Xt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?Xt:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?Xt:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?Xt:WeakSet};if(yr)try{null.error}catch(t){Cc=yr(yr(t)),qn["%Error.prototype%"]=Cc}var Cc,mg=function t(e){var r;if(e==="%AsyncFunction%")r=va("async function () {}");else if(e==="%GeneratorFunction%")r=va("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=va("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if(e==="%AsyncIteratorPrototype%"){var p=t("%AsyncGenerator%");p&&yr&&(r=yr(p.prototype))}return qn[e]=r,r},bc={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Yi=qs(),Ws=xc(),gg=Yi.call(Function.call,Array.prototype.concat),yg=Yi.call(Function.apply,Array.prototype.splice),Ac=Yi.call(Function.call,String.prototype.replace),Js=Yi.call(Function.call,String.prototype.slice),Dg=Yi.call(Function.call,RegExp.prototype.exec),Eg=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,xg=/\\(\\)?/g,vg=function(e){var r=Js(e,0,1),i=Js(e,-1);if(r==="%"&&i!=="%")throw new mi("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&r!=="%")throw new mi("invalid intrinsic syntax, expected opening `%`");var p=[];return Ac(e,Eg,function(k,B,se,ye){p[p.length]=se?Ac(ye,xg,"$1"):B||k}),p},Cg=function(e,r){var i=e,p;if(Ws(bc,i)&&(p=bc[i],i="%"+p[0]+"%"),Ws(qn,i)){var k=qn[i];if(k===Di&&(k=mg(i)),typeof k=="undefined"&&!r)throw new gi("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:p,name:i,value:k}}throw new mi("intrinsic "+e+" does not exist!")};Fc.exports=function(e,r){if(typeof e!="string"||e.length===0)throw new gi("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new gi('"allowMissing" argument must be a boolean');if(Dg(/^%?[^%]*%?$/,e)===null)throw new mi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=vg(e),p=i.length>0?i[0]:"",k=Cg("%"+p+"%",r),B=k.name,se=k.value,ye=!1,je=k.alias;je&&(p=je[0],yg(i,gg([0,1],je)));for(var Je=1,Xe=!0;Je<i.length;Je+=1){var dt=i[Je],Dt=Js(dt,0,1),Et=Js(dt,-1);if((Dt==='"'||Dt==="'"||Dt==="`"||Et==='"'||Et==="'"||Et==="`")&&Dt!==Et)throw new mi("property names with quotes must have matching quotes");if((dt==="constructor"||!Xe)&&(ye=!0),p+="."+dt,B="%"+p+"%",Ws(qn,B))se=qn[B];else if(se!=null){if(!(dt in se)){if(!r)throw new gi("base intrinsic for "+e+" exists, but the property is not available.");return}if(Gn&&Je+1>=i.length){var It=Gn(se,dt);Xe=!!It,Xe&&"get"in It&&!("originalValue"in It.get)?se=It.get:se=se[dt]}else Xe=Ws(se,dt),se=se[dt];Xe&&!ye&&(qn[B]=se)}}return se}});var Pc=Ot((bD,Ys)=>{Ze();et();"use strict";var Aa=qs(),Ei=ba(),Sc=Ei("%Function.prototype.apply%"),wc=Ei("%Function.prototype.call%"),Tc=Ei("%Reflect.apply%",!0)||Aa.call(wc,Sc),kc=Ei("%Object.getOwnPropertyDescriptor%",!0),Wn=Ei("%Object.defineProperty%",!0),bg=Ei("%Math.max%");if(Wn)try{Wn({},"a",{value:1})}catch(t){Wn=null}Ys.exports=function(e){var r=Tc(Aa,wc,arguments);if(kc&&Wn){var i=kc(r,"length");i.configurable&&Wn(r,"length",{value:1+bg(0,e.length-(arguments.length-1))})}return r};var _c=function(){return Tc(Aa,Sc,arguments)};Wn?Wn(Ys.exports,"apply",{value:_c}):Ys.exports.apply=_c});var Lc=Ot((AD,Nc)=>{Ze();et();"use strict";var Bc=ba(),Ic=Pc(),Ag=Ic(Bc("String.prototype.indexOf"));Nc.exports=function(e,r){var i=Bc(e,!!r);return typeof i=="function"&&Ag(e,".prototype.")>-1?Ic(i):i}});var Rc=Ot((FD,Oc)=>{Ze();et();"use strict";var Fg=Ea();Oc.exports=function(){return Fg()&&!!Symbol.toStringTag}});var Uc=Ot((SD,Vc)=>{Ze();et();"use strict";var Fa=Lc(),jc=Rc()(),Mc,$c,Sa,wa;jc&&(Mc=Fa("Object.prototype.hasOwnProperty"),$c=Fa("RegExp.prototype.exec"),Sa={},Xs=function(){throw Sa},wa={toString:Xs,valueOf:Xs},typeof Symbol.toPrimitive=="symbol"&&(wa[Symbol.toPrimitive]=Xs));var Xs,Sg=Fa("Object.prototype.toString"),wg=Object.getOwnPropertyDescriptor,Tg="[object RegExp]";Vc.exports=jc?function(e){if(!e||typeof e!="object")return!1;var r=wg(e,"lastIndex"),i=r&&Mc(r,"value");if(!i)return!1;try{$c(e,wa)}catch(p){return p===Sa}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Sg(e)===Tg}});var Yc=Ot((Mr,Jc)=>{Ze();et();"use strict";var kg=Uc();Mr=Jc.exports=Gc;var Dr=Mr.TOKEN_TYPES={LINE_COMMENT:"//",BLOCK_COMMENT:"/**/",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',TEMPLATE_QUOTE:"`",REGEXP:"//g"},Ta=Mr.BRACKETS={"(":")","{":"}","[":"]"},_g={")":"(","}":"{","]":"["};Mr.parse=Gc;function Gc(t,e,r){r=r||{},e=e||Mr.defaultState();for(var i=r.start||0,p=r.end||t.length,k=i;k<p;){try{ka(t[k],e)}catch(B){throw B.index=k,B}k++}return e}Mr.parseUntil=Pg;function Pg(t,e,r){r=r||{};for(var i=r.start||0,p=i,k=Mr.defaultState();p<t.length;){if((r.ignoreNesting||!k.isNesting(r))&&Bg(t,e,p)){var B=p;return{start:i,end:B,src:t.substring(i,B)}}try{ka(t[p],k)}catch(ye){throw ye.index=p,ye}p++}var se=new Error("The end of the string was reached with no closing bracket found.");throw se.code="CHARACTER_PARSER:END_OF_STRING_REACHED",se.index=p,se}Mr.parseChar=ka;function ka(t,e){if(t.length!==1){var r=new Error("Character must be a string of length 1");throw r.name="InvalidArgumentError",r.code="CHARACTER_PARSER:CHAR_LENGTH_NOT_ONE",r}e=e||Mr.defaultState(),e.src+=t;var i=e.isComment(),p=e.history?e.history[0]:"";switch(e.regexpStart&&((t==="/"||t=="*")&&e.stack.pop(),e.regexpStart=!1),e.current()){case Dr.LINE_COMMENT:t===`
|
|
17
|
+
`&&e.stack.pop();break;case Dr.BLOCK_COMMENT:e.lastChar==="*"&&t==="/"&&e.stack.pop();break;case Dr.SINGLE_QUOTE:t==="'"&&!e.escaped?e.stack.pop():t==="\\"&&!e.escaped?e.escaped=!0:e.escaped=!1;break;case Dr.DOUBLE_QUOTE:t==='"'&&!e.escaped?e.stack.pop():t==="\\"&&!e.escaped?e.escaped=!0:e.escaped=!1;break;case Dr.TEMPLATE_QUOTE:t==="`"&&!e.escaped?(e.stack.pop(),e.hasDollar=!1):t==="\\"&&!e.escaped?(e.escaped=!0,e.hasDollar=!1):t==="$"&&!e.escaped?e.hasDollar=!0:t==="{"&&e.hasDollar?e.stack.push(Ta[t]):(e.escaped=!1,e.hasDollar=!1);break;case Dr.REGEXP:t==="/"&&!e.escaped?e.stack.pop():t==="\\"&&!e.escaped?e.escaped=!0:e.escaped=!1;break;default:if(t in Ta)e.stack.push(Ta[t]);else if(t in _g){if(e.current()!==t){var r=new SyntaxError("Mismatched Bracket: "+t);throw r.code="CHARACTER_PARSER:MISMATCHED_BRACKET",r}e.stack.pop()}else p==="/"&&t==="/"?(e.history=e.history.substr(1),e.stack.push(Dr.LINE_COMMENT)):p==="/"&&t==="*"?(e.history=e.history.substr(1),e.stack.push(Dr.BLOCK_COMMENT)):t==="/"&&Ig(e.history)?(e.stack.push(Dr.REGEXP),e.regexpStart=!0):t==="'"?e.stack.push(Dr.SINGLE_QUOTE):t==='"'?e.stack.push(Dr.DOUBLE_QUOTE):t==="`"&&e.stack.push(Dr.TEMPLATE_QUOTE);break}return!e.isComment()&&!i&&(e.history=t+e.history),e.lastChar=t,e}Mr.defaultState=function(){return new Xi};function Xi(){this.stack=[],this.regexpStart=!1,this.escaped=!1,this.hasDollar=!1,this.src="",this.history="",this.lastChar=""}Xi.prototype.current=function(){return this.stack[this.stack.length-1]};Xi.prototype.isString=function(){return this.current()===Dr.SINGLE_QUOTE||this.current()===Dr.DOUBLE_QUOTE||this.current()===Dr.TEMPLATE_QUOTE};Xi.prototype.isComment=function(){return this.current()===Dr.LINE_COMMENT||this.current()===Dr.BLOCK_COMMENT};Xi.prototype.isNesting=function(t){return t&&t.ignoreLineComment&&this.stack.length===1&&this.stack[0]===Dr.LINE_COMMENT?!1:!!this.stack.length};function Bg(t,e,r){return kg(e)?e.test(t.substr(r||0)):t.substr(r||0,e.length)===e}Mr.isPunctuator=qc;function qc(t){if(!t)return!0;var e=t.charCodeAt(0);switch(e){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 33:case 61:return!0;default:return!1}}Mr.isKeyword=Wc;function Wc(t){return t==="if"||t==="in"||t==="do"||t==="var"||t==="for"||t==="new"||t==="try"||t==="let"||t==="this"||t==="else"||t==="case"||t==="void"||t==="with"||t==="enum"||t==="while"||t==="break"||t==="catch"||t==="throw"||t==="const"||t==="yield"||t==="class"||t==="super"||t==="return"||t==="typeof"||t==="delete"||t==="switch"||t==="export"||t==="import"||t==="default"||t==="finally"||t==="extends"||t==="function"||t==="continue"||t==="debugger"||t==="package"||t==="private"||t==="interface"||t==="instanceof"||t==="implements"||t==="protected"||t==="public"||t==="static"}function Ig(t){return t=t.replace(/^\s*/,""),t[0]===")"?!1:!!(t[0]==="}"||qc(t[0])||/^\w+\b/.test(t)&&Wc(/^\w+\b/.exec(t)[0].split("").reverse().join("")))}});var zc=Ot((wD,Xc)=>{Ze();et();"use strict";Xc.exports=Ng;function Ng(t,e,r){var i=r.line,p=r.column,k=r.filename,B=r.src,se,ye=i+(p?":"+p:"");if(B&&i>=1&&i<=B.split(`
|
|
18
|
+
`).length){var je=B.split(`
|
|
19
|
+
`),Je=Math.max(i-3,0),Xe=Math.min(je.length,i+3),dt=je.slice(Je,Xe).map(function(Et,It){var or=It+Je+1,cr=(or==i?" > ":" ")+or+"| ",Ur=cr+Et;return or===i&&p>0&&(Ur+=`
|
|
20
|
+
`,Ur+=Array(cr.length+p).join("-")+"^"),Ur}).join(`
|
|
21
|
+
`);se=(k||"Pug")+":"+ye+`
|
|
22
|
+
`+dt+`
|
|
23
23
|
|
|
24
|
-
`+
|
|
24
|
+
`+e}else se=(k||"Pug")+":"+ye+`
|
|
25
25
|
|
|
26
|
-
`+
|
|
27
|
-
`),this.originalInput=this.input,this.filename=
|
|
28
|
-
`),
|
|
29
|
-
`);this.incrementColumn(
|
|
30
|
-
`),
|
|
31
|
-
`?this.incrementLine(1):this.incrementColumn(1)}}return this.tokens.push(this.tokEnd(t)),!0}},mixin:function(){var t;if(t=/^mixin +([-\w]+)(?: *\((.*)\))? */.exec(this.input)){this.consume(t[0].length);var
|
|
32
|
-
`?this.incrementLine(1):this.incrementColumn(1);if(
|
|
33
|
-
`?this.incrementLine(1):this.incrementColumn(1)}
|
|
34
|
-
`?this.incrementLine(1):this.incrementColumn(1);return t[
|
|
35
|
-
`?(
|
|
36
|
-
`?this.incrementLine(1):this.incrementColumn(1);for(
|
|
37
|
-
`?(
|
|
38
|
-
`)return this.interpolationAllowed=!0,this.tokEnd(this.tok("newline"));if(
|
|
39
|
-
`);
|
|
40
|
-
`+
|
|
26
|
+
`+e;var Dt=new Error(se);return Dt.code="PUG:"+t,Dt.msg=e,Dt.line=i,Dt.column=p,Dt.filename=k,Dt.src=B,Dt.toJSON=function(){return{code:this.code,msg:this.msg,line:this.line,column:this.column,filename:this.filename}},Dt}});var Hc=Ot((TD,_a)=>{Ze();et();"use strict";var Lg=ec(),Og=oc(),tn=Yc(),Rg=zc();_a.exports=jg;_a.exports.Lexer=zs;function jg(t,e){var r=new zs(t,e);return JSON.parse(JSON.stringify(r.getTokens()))}function zs(t,e){if(e=e||{},typeof t!="string")throw new Error('Expected source code to be a string but got "'+typeof t+'"');if(typeof e!="object")throw new Error('Expected "options" to be an object but got "'+typeof e+'"');t=t.replace(/^\uFEFF/,""),this.input=t.replace(/\r\n|\r/g,`
|
|
27
|
+
`),this.originalInput=this.input,this.filename=e.filename,this.interpolated=e.interpolated||!1,this.lineno=e.startingLine||1,this.colno=e.startingColumn||1,this.plugins=e.plugins||[],this.indentStack=[0],this.indentRe=null,this.interpolationAllowed=!0,this.whitespaceRe=/[ \n\t]/,this.tokens=[],this.ended=!1}zs.prototype={constructor:zs,error:function(t,e){var r=Rg(t,e,{line:this.lineno,column:this.colno,filename:this.filename,src:this.originalInput});throw r},assert:function(t,e){t||this.error("ASSERT_FAILED",e)},isExpression:function(t){return Og(t,{throw:!0})},assertExpression:function(t,e){try{return this.callLexerFunction("isExpression",t),!0}catch(i){if(e)return!1;if(!i.loc)throw i;this.incrementLine(i.loc.line-1),this.incrementColumn(i.loc.column);var r="Syntax Error: "+i.message.replace(/ \([0-9]+:[0-9]+\)$/,"");this.error("SYNTAX_ERROR",r)}},assertNestingCorrect:function(t){var e=tn(t);e.isNesting()&&this.error("INCORRECT_NESTING","Nesting must match on expression `"+t+"`")},tok:function(t,e){var r={type:t,loc:{start:{line:this.lineno,column:this.colno},filename:this.filename}};return e!==void 0&&(r.val=e),r},tokEnd:function(t){return t.loc.end={line:this.lineno,column:this.colno},t},incrementLine:function(t){this.lineno+=t,t&&(this.colno=1)},incrementColumn:function(t){this.colno+=t},consume:function(t){this.input=this.input.substr(t)},scan:function(t,e){var r;if(r=t.exec(this.input)){var i=r[0].length,p=r[1],k=i-(p?p.length:0),B=this.tok(e,p);return this.consume(i),this.incrementColumn(k),B}},scanEndOfLine:function(t,e){var r;if(r=t.exec(this.input)){var i=0,p,k;(p=/^([ ]+)([^ ]*)/.exec(r[0]))&&(i=p[1].length,this.incrementColumn(i));var B=this.input.substr(r[0].length);if(B[0]===":")return this.input=B,k=this.tok(e,r[1]),this.incrementColumn(r[0].length-i),k;if(/^[ \t]*(\n|$)/.test(B))return this.input=B.substr(/^[ \t]*/.exec(B)[0].length),k=this.tok(e,r[1]),this.incrementColumn(r[0].length-i),k}},bracketExpression:function(t){t=t||0;var e=this.input[t];Lg(e==="("||e==="{"||e==="[",'The start character should be "(", "{" or "["');var r=tn.BRACKETS[e],i;try{i=tn.parseUntil(this.input,r,{start:t+1})}catch(ye){if(ye.index!==void 0){for(var p=ye.index,k=this.input.substr(t).indexOf(`
|
|
28
|
+
`),B=k+t,se=0;p>B&&k!==-1;)this.incrementLine(1),p-=B+1,se+=B+1,k=B=this.input.substr(se).indexOf(`
|
|
29
|
+
`);this.incrementColumn(p)}throw ye.code==="CHARACTER_PARSER:END_OF_STRING_REACHED"?this.error("NO_END_BRACKET","The end of the string reached with no closing bracket "+r+" found."):ye.code==="CHARACTER_PARSER:MISMATCHED_BRACKET"&&this.error("BRACKET_MISMATCH",ye.message),ye}return i},scanIndentation:function(){var t,e;return this.indentRe?t=this.indentRe.exec(this.input):(e=/^\n(\t*) */,t=e.exec(this.input),t&&!t[1].length&&(e=/^\n( *)/,t=e.exec(this.input)),t&&t[1].length&&(this.indentRe=e)),t},eos:function(){if(!this.input.length){this.interpolated&&this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");for(var t=0;this.indentStack[t];t++)this.tokens.push(this.tokEnd(this.tok("outdent")));return this.tokens.push(this.tokEnd(this.tok("eos"))),this.ended=!0,!0}},blank:function(){var t;if(t=/^\n[ \t]*\n/.exec(this.input))return this.consume(t[0].length-1),this.incrementLine(1),!0},comment:function(){var t;if(t=/^\/\/(-)?([^\n]*)/.exec(this.input)){this.consume(t[0].length);var e=this.tok("comment",t[2]);return e.buffer=t[1]!="-",this.interpolationAllowed=e.buffer,this.tokens.push(e),this.incrementColumn(t[0].length),this.tokEnd(e),this.callLexerFunction("pipelessText"),!0}},interpolation:function(){if(/^#\{/.test(this.input)){var t=this.bracketExpression(1);this.consume(t.end+1);var e=this.tok("interpolation",t.src);this.tokens.push(e),this.incrementColumn(2),this.assertExpression(t.src);var r=t.src.split(`
|
|
30
|
+
`),i=r.length-1;return this.incrementLine(i),this.incrementColumn(r[i].length+1),this.tokEnd(e),!0}},tag:function(){var t;if(t=/^(\w(?:[-:\w]*\w)?)/.exec(this.input)){var e,r=t[1],i=t[0].length;return this.consume(i),e=this.tok("tag",r),this.tokens.push(e),this.incrementColumn(i),this.tokEnd(e),!0}},filter:function(t){var e=this.scan(/^:([\w\-]+)/,"filter"),r=t&&t.inInclude;if(e)return this.tokens.push(e),this.incrementColumn(e.val.length),this.tokEnd(e),this.callLexerFunction("attrs"),r||(this.interpolationAllowed=!1,this.callLexerFunction("pipelessText")),!0},doctype:function(){var t=this.scanEndOfLine(/^doctype *([^\n]*)/,"doctype");if(t)return this.tokens.push(this.tokEnd(t)),!0},id:function(){var t=this.scan(/^#([\w-]+)/,"id");if(t)return this.tokens.push(t),this.incrementColumn(t.val.length),this.tokEnd(t),!0;/^#/.test(this.input)&&this.error("INVALID_ID",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid ID.')},className:function(){var t=this.scan(/^\.([_a-z0-9\-]*[_a-z][_a-z0-9\-]*)/i,"class");if(t)return this.tokens.push(t),this.incrementColumn(t.val.length),this.tokEnd(t),!0;/^\.[_a-z0-9\-]+/i.test(this.input)&&this.error("INVALID_CLASS_NAME","Class names must contain at least one letter or underscore."),/^\./.test(this.input)&&this.error("INVALID_CLASS_NAME",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid class name. Class names can only contain "_", "-", a-z and 0-9, and must contain at least one of "_", or a-z')},endInterpolation:function(){if(this.interpolated&&this.input[0]==="]")return this.input=this.input.substr(1),this.ended=!0,!0},addText:function(t,e,r,i){var p;if(e+r!==""){r=r||"",i=i||0;var k=this.interpolated?e.indexOf("]"):-1,B=this.interpolationAllowed?e.indexOf("#["):-1,se=this.interpolationAllowed?e.indexOf("\\#["):-1,ye=/(\\)?([#!]){((?:.|\n)*)$/.exec(e),je=this.interpolationAllowed&&ye?ye.index:1/0;if(k===-1&&(k=1/0),B===-1&&(B=1/0),se===-1&&(se=1/0),se!==1/0&&se<k&&se<B&&se<je)return r=r+e.substring(0,se)+"#[",this.addText(t,e.substring(se+3),r,i+1);if(B!==1/0&&B<k&&B<se&&B<je){p=this.tok(t,r+e.substring(0,B)),this.incrementColumn(r.length+B+i),this.tokens.push(this.tokEnd(p)),p=this.tok("start-pug-interpolation"),this.incrementColumn(2),this.tokens.push(this.tokEnd(p));var Je=new this.constructor(e.substr(B+2),{filename:this.filename,interpolated:!0,startingLine:this.lineno,startingColumn:this.colno,plugins:this.plugins}),Xe;try{Xe=Je.getTokens()}catch(It){throw It.code&&/^PUG:/.test(It.code)&&(this.colno=It.column,this.error(It.code.substr(4),It.msg)),It}this.colno=Je.colno,this.tokens=this.tokens.concat(Xe),p=this.tok("end-pug-interpolation"),this.incrementColumn(1),this.tokens.push(this.tokEnd(p)),this.addText(t,Je.input);return}if(k!==1/0&&k<B&&k<se&&k<je){r+e.substring(0,k)&&this.addText(t,e.substring(0,k),r),this.ended=!0,this.input=e.substr(e.indexOf("]")+1)+this.input;return}if(je!==1/0){if(ye[1])return r=r+e.substring(0,je)+ye[2]+"{",this.addText(t,e.substring(je+3),r,i+1);var dt=e.substr(0,je);(r||dt)&&(dt=r+dt,p=this.tok(t,dt),this.incrementColumn(dt.length+i),this.tokens.push(this.tokEnd(p)));var Dt=ye[3],Et;p=this.tok("interpolated-code"),this.incrementColumn(2);try{Et=tn.parseUntil(Dt,"}")}catch(It){if(It.index!==void 0&&this.incrementColumn(It.index),It.code==="CHARACTER_PARSER:END_OF_STRING_REACHED")this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");else if(It.code==="CHARACTER_PARSER:MISMATCHED_BRACKET")this.error("BRACKET_MISMATCH",It.message);else throw It}p.mustEscape=ye[2]==="#",p.buffer=!0,p.val=Et.src,this.assertExpression(Et.src),Et.end+1<Dt.length?(Dt=Dt.substr(Et.end+1),this.incrementColumn(Et.end+1),this.tokens.push(this.tokEnd(p)),this.addText(t,Dt)):(this.incrementColumn(Dt.length),this.tokens.push(this.tokEnd(p)));return}e=r+e,p=this.tok(t,e),this.incrementColumn(e.length+i),this.tokens.push(this.tokEnd(p))}},text:function(){var t=this.scan(/^(?:\| ?| )([^\n]+)/,"text")||this.scan(/^( )/,"text")||this.scan(/^\|( ?)/,"text");if(t)return this.addText("text",t.val),!0},textHtml:function(){var t=this.scan(/^(<[^\n]*)/,"text-html");if(t)return this.addText("text-html",t.val),!0},dot:function(){var t;if(t=this.scanEndOfLine(/^\./,"dot"))return this.tokens.push(this.tokEnd(t)),this.callLexerFunction("pipelessText"),!0},extends:function(){var t=this.scan(/^extends?(?= |$|\n)/,"extends");if(t)return this.tokens.push(this.tokEnd(t)),this.callLexerFunction("path")||this.error("NO_EXTENDS_PATH","missing path for extends"),!0;this.scan(/^extends?\b/)&&this.error("MALFORMED_EXTENDS","malformed extends")},prepend:function(){var t;if(t=/^(?:block +)?prepend +([^\n]+)/.exec(this.input)){var e=t[1].trim(),r="";if(e.indexOf("//")!==-1&&(r="//"+e.split("//").slice(1).join("//"),e=e.split("//")[0].trim()),!e)return;for(var i=this.tok("block",e),p=t[0].length-r.length;this.whitespaceRe.test(this.input.charAt(p-1));)p--;return this.incrementColumn(p),i.mode="prepend",this.tokens.push(this.tokEnd(i)),this.consume(t[0].length-r.length),this.incrementColumn(t[0].length-r.length-p),!0}},append:function(){var t;if(t=/^(?:block +)?append +([^\n]+)/.exec(this.input)){var e=t[1].trim(),r="";if(e.indexOf("//")!==-1&&(r="//"+e.split("//").slice(1).join("//"),e=e.split("//")[0].trim()),!e)return;for(var i=this.tok("block",e),p=t[0].length-r.length;this.whitespaceRe.test(this.input.charAt(p-1));)p--;return this.incrementColumn(p),i.mode="append",this.tokens.push(this.tokEnd(i)),this.consume(t[0].length-r.length),this.incrementColumn(t[0].length-r.length-p),!0}},block:function(){var t;if(t=/^block +([^\n]+)/.exec(this.input)){var e=t[1].trim(),r="";if(e.indexOf("//")!==-1&&(r="//"+e.split("//").slice(1).join("//"),e=e.split("//")[0].trim()),!e)return;for(var i=this.tok("block",e),p=t[0].length-r.length;this.whitespaceRe.test(this.input.charAt(p-1));)p--;return this.incrementColumn(p),i.mode="replace",this.tokens.push(this.tokEnd(i)),this.consume(t[0].length-r.length),this.incrementColumn(t[0].length-r.length-p),!0}},mixinBlock:function(){var t;if(t=this.scanEndOfLine(/^block/,"mixin-block"))return this.tokens.push(this.tokEnd(t)),!0},yield:function(){var t=this.scanEndOfLine(/^yield/,"yield");if(t)return this.tokens.push(this.tokEnd(t)),!0},include:function(){var t=this.scan(/^include(?=:| |$|\n)/,"include");if(t){for(this.tokens.push(this.tokEnd(t));this.callLexerFunction("filter",{inInclude:!0}););return this.callLexerFunction("path")||(/^[^ \n]+/.test(this.input)?this.fail():this.error("NO_INCLUDE_PATH","missing path for include")),!0}this.scan(/^include\b/)&&this.error("MALFORMED_INCLUDE","malformed include")},path:function(){var t=this.scanEndOfLine(/^ ([^\n]+)/,"path");if(t&&(t.val=t.val.trim()))return this.tokens.push(this.tokEnd(t)),!0},case:function(){var t=this.scanEndOfLine(/^case +([^\n]+)/,"case");if(t)return this.incrementColumn(-t.val.length),this.assertExpression(t.val),this.incrementColumn(t.val.length),this.tokens.push(this.tokEnd(t)),!0;this.scan(/^case\b/)&&this.error("NO_CASE_EXPRESSION","missing expression for case")},when:function(){var t=this.scanEndOfLine(/^when +([^:\n]+)/,"when");if(t){for(var e=tn(t.val);e.isNesting()||e.isString();){var r=/:([^:\n]+)/.exec(this.input);if(!r)break;t.val+=r[0],this.consume(r[0].length),this.incrementColumn(r[0].length),e=tn(t.val)}return this.incrementColumn(-t.val.length),this.assertExpression(t.val),this.incrementColumn(t.val.length),this.tokens.push(this.tokEnd(t)),!0}this.scan(/^when\b/)&&this.error("NO_WHEN_EXPRESSION","missing expression for when")},default:function(){var t=this.scanEndOfLine(/^default/,"default");if(t)return this.tokens.push(this.tokEnd(t)),!0;this.scan(/^default\b/)&&this.error("DEFAULT_WITH_EXPRESSION","default should not have an expression")},call:function(){var t,e,r;if(e=/^\+(\s*)(([-\w]+)|(#\{))/.exec(this.input)){if(e[3])r=e[0].length,this.consume(r),t=this.tok("call",e[3]);else{var i=this.bracketExpression(2+e[1].length);r=i.end+1,this.consume(r),this.assertExpression(i.src),t=this.tok("call","#{"+i.src+"}")}if(this.incrementColumn(r),t.args=null,e=/^ *\(/.exec(this.input)){var p=this.bracketExpression(e[0].length-1);if(!/^\s*[-\w]+ *=/.test(p.src)){this.incrementColumn(1),this.consume(p.end+1),t.args=p.src,this.assertExpression("["+t.args+"]");for(var k=0;k<=t.args.length;k++)t.args[k]===`
|
|
31
|
+
`?this.incrementLine(1):this.incrementColumn(1)}}return this.tokens.push(this.tokEnd(t)),!0}},mixin:function(){var t;if(t=/^mixin +([-\w]+)(?: *\((.*)\))? */.exec(this.input)){this.consume(t[0].length);var e=this.tok("mixin",t[1]);return e.args=t[2]||null,this.incrementColumn(t[0].length),this.tokens.push(this.tokEnd(e)),!0}},conditional:function(){var t;if(t=/^(if|unless|else if|else)\b([^\n]*)/.exec(this.input)){this.consume(t[0].length);var e=t[1].replace(/ /g,"-"),r=t[2]&&t[2].trim(),i=this.tok(e,r);switch(this.incrementColumn(t[0].length-r.length),e){case"if":case"else-if":this.assertExpression(r);break;case"unless":this.assertExpression(r),i.val="!("+r+")",i.type="if";break;case"else":r&&this.error("ELSE_CONDITION","`else` cannot have a condition, perhaps you meant `else if`");break}return this.incrementColumn(r.length),this.tokens.push(this.tokEnd(i)),!0}},while:function(){var t,e;if(t=/^while +([^\n]+)/.exec(this.input))return this.consume(t[0].length),this.assertExpression(t[1]),e=this.tok("while",t[1]),this.incrementColumn(t[0].length),this.tokens.push(this.tokEnd(e)),!0;this.scan(/^while\b/)&&this.error("NO_WHILE_EXPRESSION","missing expression for while")},each:function(){var t;if(t=/^(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? * in *([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=this.tok("each",t[1]);return e.key=t[2]||null,this.incrementColumn(t[0].length-t[3].length),this.assertExpression(t[3]),e.code=t[3],this.incrementColumn(t[3].length),this.tokens.push(this.tokEnd(e)),!0}let r=/^each\b/.exec(this.input)?"each":"for";this.scan(/^(?:each|for)\b/)&&this.error("MALFORMED_EACH","This `"+r+"` has a syntax error. `"+r+"` statements should be of the form: `"+r+" VARIABLE_NAME of JS_EXPRESSION`"),(t=/^- *(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? +in +([^\n]+)/.exec(this.input))&&this.error("MALFORMED_EACH",'Pug each and for should no longer be prefixed with a dash ("-"). They are pug keywords and not part of JavaScript.')},eachOf:function(){var t;if(t=/^(?:each|for) (.*?) of *([^\n]+)/.exec(this.input)){this.consume(t[0].length);var e=this.tok("eachOf",t[1]);return e.value=t[1],this.incrementColumn(t[0].length-t[2].length),this.assertExpression(t[2]),e.code=t[2],this.incrementColumn(t[2].length),this.tokens.push(this.tokEnd(e)),/^[a-zA-Z_$][\w$]*$/.test(e.value.trim())||/^\[ *[a-zA-Z_$][\w$]* *\, *[a-zA-Z_$][\w$]* *\]$/.test(e.value.trim())||this.error("MALFORMED_EACH_OF_LVAL","The value variable for each must either be a valid identifier (e.g. `item`) or a pair of identifiers in square brackets (e.g. `[key, value]`)."),!0}(t=/^- *(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? +of +([^\n]+)/.exec(this.input))&&this.error("MALFORMED_EACH",'Pug each and for should not be prefixed with a dash ("-"). They are pug keywords and not part of JavaScript.')},code:function(){var t;if(t=/^(!?=|-)[ \t]*([^\n]+)/.exec(this.input)){var e=t[1],r=t[2],i=0;if(this.interpolated){var p;try{p=tn.parseUntil(r,"]")}catch(se){if(se.index!==void 0&&this.incrementColumn(t[0].length-r.length+se.index),se.code==="CHARACTER_PARSER:END_OF_STRING_REACHED")this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");else if(se.code==="CHARACTER_PARSER:MISMATCHED_BRACKET")this.error("BRACKET_MISMATCH",se.message);else throw se}i=r.length-p.end,r=p.src}var k=t[0].length-i;this.consume(k);var B=this.tok("code",r);return B.mustEscape=e.charAt(0)==="=",B.buffer=e.charAt(0)==="="||e.charAt(1)==="=",this.incrementColumn(t[0].length-t[2].length),B.buffer&&this.assertExpression(r),this.tokens.push(B),this.incrementColumn(r.length),this.tokEnd(B),!0}},blockCode:function(){var t;if(t=this.scanEndOfLine(/^-/,"blockcode"))return this.tokens.push(this.tokEnd(t)),this.interpolationAllowed=!1,this.callLexerFunction("pipelessText"),!0},attribute:function(t){var e="",r=/['"]/,i="",p;for(p=0;p<t.length&&this.whitespaceRe.test(t[p]);p++)t[p]===`
|
|
32
|
+
`?this.incrementLine(1):this.incrementColumn(1);if(p===t.length)return"";var k=this.tok("attribute");for(r.test(t[p])&&(e=t[p],this.incrementColumn(1),p++);p<t.length;p++){if(e){if(t[p]===e){this.incrementColumn(1),p++;break}}else if(this.whitespaceRe.test(t[p])||t[p]==="!"||t[p]==="="||t[p]===",")break;i+=t[p],t[p]===`
|
|
33
|
+
`?this.incrementLine(1):this.incrementColumn(1)}k.name=i;var B=this.attributeValue(t.substr(p));for(B.val?(k.val=B.val,k.mustEscape=B.mustEscape):(k.val=!0,k.mustEscape=!0),t=B.remainingSource,this.tokens.push(this.tokEnd(k)),p=0;p<t.length&&this.whitespaceRe.test(t[p]);p++)t[p]===`
|
|
34
|
+
`?this.incrementLine(1):this.incrementColumn(1);return t[p]===","&&(this.incrementColumn(1),p++),t.substr(p)},attributeValue:function(t){var e=/['"]/,r="",i,p,k,B=!0,se=tn.defaultState(),ye=this.colno,je=this.lineno;for(p=0;p<t.length&&this.whitespaceRe.test(t[p]);p++)t[p]===`
|
|
35
|
+
`?(je++,ye=1):ye++;if(p===t.length)return{remainingSource:t};if(t[p]==="!"&&(B=!1,ye++,p++,t[p]!=="="&&this.error("INVALID_KEY_CHARACTER","Unexpected character "+t[p]+" expected `=`")),t[p]!=="=")if(p===0&&t&&!this.whitespaceRe.test(t[0])&&t[0]!==",")this.error("INVALID_KEY_CHARACTER","Unexpected character "+t[0]+" expected `=`");else return{remainingSource:t};for(this.lineno=je,this.colno=ye+1,p++;p<t.length&&this.whitespaceRe.test(t[p]);p++)t[p]===`
|
|
36
|
+
`?this.incrementLine(1):this.incrementColumn(1);for(je=this.lineno,ye=this.colno;p<t.length;p++){if(!(se.isNesting()||se.isString())){if(this.whitespaceRe.test(t[p])){for(i=!1,k=p;k<t.length;k++)if(!this.whitespaceRe.test(t[k])){let Je=!tn.isPunctuator(t[k]),Xe=e.test(t[k]),dt=t[k]===":",Dt=t[k]+t[k+1]+t[k+2]==="...";(Je||Xe||dt||Dt)&&this.assertExpression(r,!0)&&(i=!0);break}if(i||k===t.length)break}if(t[p]===","&&this.assertExpression(r,!0))break}se=tn.parseChar(t[p],se),r+=t[p],t[p]===`
|
|
37
|
+
`?(je++,ye=1):ye++}return this.assertExpression(r),this.lineno=je,this.colno=ye,{val:r,mustEscape:B,remainingSource:t.substr(p)}},attrs:function(){var t;if(this.input.charAt(0)=="("){t=this.tok("start-attributes");var e=this.bracketExpression().end,r=this.input.substr(1,e-1);for(this.incrementColumn(1),this.tokens.push(this.tokEnd(t)),this.assertNestingCorrect(r),this.consume(e+1);r;)r=this.attribute(r);return t=this.tok("end-attributes"),this.incrementColumn(1),this.tokens.push(this.tokEnd(t)),!0}},attributesBlock:function(){if(/^&attributes\b/.test(this.input)){var t=11;this.consume(t);var e=this.tok("&attributes");this.incrementColumn(t);var r=this.bracketExpression();return t=r.end+1,this.consume(t),e.val=r.src,this.incrementColumn(t),this.tokens.push(this.tokEnd(e)),!0}},indent:function(){var t=this.scanIndentation(),e;if(t){var r=t[1].length;if(this.incrementLine(1),this.consume(r+1),(this.input[0]==" "||this.input[0]==" ")&&this.error("INVALID_INDENTATION","Invalid indentation, you can use tabs or spaces but not both"),this.input[0]==`
|
|
38
|
+
`)return this.interpolationAllowed=!0,this.tokEnd(this.tok("newline"));if(r<this.indentStack[0]){for(var i=0;this.indentStack[0]>r;)this.indentStack[1]<r&&this.error("INCONSISTENT_INDENTATION","Inconsistent indentation. Expecting either "+this.indentStack[1]+" or "+this.indentStack[0]+" spaces/tabs."),i++,this.indentStack.shift();for(;i--;)this.colno=1,e=this.tok("outdent"),this.colno=this.indentStack[0]+1,this.tokens.push(this.tokEnd(e))}else r&&r!=this.indentStack[0]?(e=this.tok("indent",r),this.colno=1+r,this.tokens.push(this.tokEnd(e)),this.indentStack.unshift(r)):(e=this.tok("newline"),this.colno=1+Math.min(this.indentStack[0]||0,r),this.tokens.push(this.tokEnd(e)));return this.interpolationAllowed=!0,!0}},pipelessText:function t(e){for(;this.callLexerFunction("blank"););var r=this.scanIndentation();if(e=e||r&&r[1].length,e>this.indentStack[0]){this.tokens.push(this.tokEnd(this.tok("start-pipeless-text")));var i=[],p=[],k,B=0;do{var se=this.input.substr(B+1).indexOf(`
|
|
39
|
+
`);se==-1&&(se=this.input.length-B-1);var ye=this.input.substr(B+1,se),je=this.indentRe.exec(`
|
|
40
|
+
`+ye),Je=je&&je[1].length;if(k=Je>=e,p.push(k),k=k||!ye.trim(),k)B+=ye.length+1,i.push(ye.substr(e));else if(Je>this.indentStack[0])return this.tokens.pop(),t.call(this,je[1].length)}while(this.input.length-B&&k);for(this.consume(B);this.input.length===0&&i[i.length-1]==="";)i.pop();return i.forEach(function(Xe,dt){var Dt;this.incrementLine(1),dt!==0&&(Dt=this.tok("newline")),p[dt]&&this.incrementColumn(e),Dt&&this.tokens.push(this.tokEnd(Dt)),this.addText("text",Xe)}.bind(this)),this.tokens.push(this.tokEnd(this.tok("end-pipeless-text"))),!0}},slash:function(){var t=this.scan(/^\//,"slash");if(t)return this.tokens.push(this.tokEnd(t)),!0},colon:function(){var t=this.scan(/^: +/,":");if(t)return this.tokens.push(this.tokEnd(t)),!0},fail:function(){this.error("UNEXPECTED_TEXT",'unexpected text "'+this.input.substr(0,5)+'"')},callLexerFunction:function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);for(var i=[this].concat(e),r=0;r<this.plugins.length;r++){var p=this.plugins[r];if(p[t]&&p[t].apply(p,i))return!0}return this[t].apply(this,e)},advance:function(){return this.callLexerFunction("blank")||this.callLexerFunction("eos")||this.callLexerFunction("endInterpolation")||this.callLexerFunction("yield")||this.callLexerFunction("doctype")||this.callLexerFunction("interpolation")||this.callLexerFunction("case")||this.callLexerFunction("when")||this.callLexerFunction("default")||this.callLexerFunction("extends")||this.callLexerFunction("append")||this.callLexerFunction("prepend")||this.callLexerFunction("block")||this.callLexerFunction("mixinBlock")||this.callLexerFunction("include")||this.callLexerFunction("mixin")||this.callLexerFunction("call")||this.callLexerFunction("conditional")||this.callLexerFunction("eachOf")||this.callLexerFunction("each")||this.callLexerFunction("while")||this.callLexerFunction("tag")||this.callLexerFunction("filter")||this.callLexerFunction("blockCode")||this.callLexerFunction("code")||this.callLexerFunction("id")||this.callLexerFunction("dot")||this.callLexerFunction("className")||this.callLexerFunction("attrs")||this.callLexerFunction("attributesBlock")||this.callLexerFunction("indent")||this.callLexerFunction("text")||this.callLexerFunction("textHtml")||this.callLexerFunction("comment")||this.callLexerFunction("slash")||this.callLexerFunction("colon")||this.fail()},getTokens:function(){for(;!this.ended;)this.callLexerFunction("advance");return this.tokens}}});var Qs=Ot(Xr=>{Ze();et();"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.logger=Xr.createLogger=Xr.Logger=Xr.LogLevel=void 0;var Yr;(function(t){t.DEBUG="debug",t.LOG="log",t.INFO="info",t.WARN="warn",t.ERROR="error",t.OFF="off"})(Yr||(Xr.LogLevel=Yr={}));var Hs=class{logger;level;constructor(e=console,r=Yr.INFO){this.logger=e,this.level=r}static isSupportedLogLevel(e){return typeof e=="string"&&(e==="debug"||e==="log"||e==="info"||e==="warn"||e==="error"||e==="off")}setLogLevel(e){this.level=e}isDebugEnabled(){return this.level<=Yr.DEBUG}debug(e,...r){this.message(Yr.DEBUG,e,...r)}log(e,...r){this.message(Yr.LOG,e,...r)}info(e,...r){this.message(Yr.INFO,e,...r)}warn(e,...r){this.message(Yr.WARN,e,...r)}error(e,...r){this.message(Yr.ERROR,e,...r)}message(e,r,...i){this.level!==Yr.OFF&&this.level<=e&&e!==Yr.OFF&&this.logger[e](r,...i)}};Xr.Logger=Hs;function Qc(t=console){return new Hs(t)}Xr.createLogger=Qc;Xr.logger=Qc(console);var zi=_t.env.PRETTIER_PLUGIN_PUG_LOG_LEVEL;zi&&(zi=zi.toLowerCase(),Hs.isSupportedLogLevel(zi)&&Xr.logger.setLogLevel(zi))});var wr=Ot(Ks=>{Ze();et();"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.CATEGORY_PUG=void 0;Ks.CATEGORY_PUG="Pug"});var ep=Ot(Fn=>{Ze();et();"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.PUG_SORT_ATTRIBUTES_OPTION=Fn.PUG_SORT_ATTRIBUTES_END_OPTION=Fn.PUG_SORT_ATTRIBUTES_BEGINNING_OPTION=void 0;var Kc=wr(),Zc={since:"1.7.0",category:Kc.CATEGORY_PUG,type:"path",array:!0,default:[{value:[]}],description:""};Fn.PUG_SORT_ATTRIBUTES_BEGINNING_OPTION={...Zc,description:"Define a list of patterns for attributes that are sorted to the beginning."};Fn.PUG_SORT_ATTRIBUTES_END_OPTION={...Zc,description:"Define a list of patterns for attributes that are sorted at the end."};Fn.PUG_SORT_ATTRIBUTES_OPTION={since:"1.8.0",category:Kc.CATEGORY_PUG,type:"choice",default:"as-is",description:"Change how the attributes between _beginning_ and _end_ should be sorted.",choices:[{value:"asc",description:"Sort middle attributes ascending."},{value:"desc",description:"Sort middle attributes descending."},{value:"as-is",description:"Middle attributes are leave untouched."}]}});var tp=Ot(Er=>{Ze();et();"use strict";Object.defineProperty(Er,"__esModule",{value:!0});Er.PUG_BRACKET_SAME_LINE_OPTION=Er.PUG_ARROW_PARENS_OPTION=Er.PUG_SEMI_OPTION=Er.PUG_BRACKET_SPACING_OPTION=Er.PUG_USE_TABS_OPTION=Er.PUG_TAB_WIDTH_OPTION=Er.PUG_SINGLE_QUOTE_OPTION=Er.PUG_PRINT_WIDTH_OPTION=void 0;var Sn=wr();Er.PUG_PRINT_WIDTH_OPTION={since:"1.6.0",category:Sn.CATEGORY_PUG,type:"int",default:-1,description:"The line length where Prettier will try wrap.",range:{start:-1,end:1/0,step:1}};Er.PUG_SINGLE_QUOTE_OPTION={since:"1.6.0",category:Sn.CATEGORY_PUG,type:"choice",default:null,description:"",choices:[{value:null,description:"Use `singleQuote` value."},{value:!0,description:"Use single quotes instead of double quotes."},{value:"true",description:"Use single quotes instead of double quotes."},{value:!1,description:"Use double quotes instead of double quotes."}]};Er.PUG_TAB_WIDTH_OPTION={since:"1.6.0",category:Sn.CATEGORY_PUG,type:"int",default:-1,description:"Number of spaces per indentation level.",range:{start:-1,end:1/0,step:1}};Er.PUG_USE_TABS_OPTION={since:"1.6.0",category:Sn.CATEGORY_PUG,type:"choice",default:null,description:"",choices:[{value:null,description:"Use `useTabs` value."},{value:!0,description:"Indent with tabs instead of spaces."},{value:"true",description:"Indent with tabs instead of spaces."},{value:!1,description:"Indent with spaces instead of tabs."}]};Er.PUG_BRACKET_SPACING_OPTION={since:"1.6.0",category:Sn.CATEGORY_PUG,type:"choice",default:null,description:"",choices:[{value:null,description:"Use `bracketSpacing` value."},{value:!0,description:"Print spaces between brackets."},{value:"true",description:"Print spaces between brackets."},{value:!1,description:"Do not print spaces between brackets."}]};Er.PUG_SEMI_OPTION={since:"1.6.0",category:Sn.CATEGORY_PUG,type:"choice",default:null,description:"",choices:[{value:null,description:"Use `bracketSpacing` value."},{value:!0,description:"Print semicolons."},{value:"true",description:"Print semicolons."},{value:!1,description:"Do not print semicolons, except at the beginning of lines which may need them."}]};Er.PUG_ARROW_PARENS_OPTION={since:"1.7.0",category:Sn.CATEGORY_PUG,type:"choice",default:null,description:"Include parentheses around a sole arrow function parameter.",choices:[{value:null,description:"Use `arrowParens` value."},{value:"always",description:"Always add parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]};Er.PUG_BRACKET_SAME_LINE_OPTION={since:"1.17.0",category:Sn.CATEGORY_PUG,type:"choice",default:null,description:"Determines position of closing bracket which wraps attributes.",choices:[{value:null,description:"Use `bracketSameLine` value."},{value:!0,description:`
|
|
41
41
|
Closing bracket remains with last attribute's line.
|
|
42
42
|
Example:
|
|
43
43
|
input(
|
|
@@ -65,164 +65,155 @@ var pluginPug=(()=>{var gt=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.export
|
|
|
65
65
|
alt='my_alt',
|
|
66
66
|
autocomplete='on'
|
|
67
67
|
)
|
|
68
|
-
`}]}});var dc=gt(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION=ei.PUG_EMPTY_ATTRIBUTES_OPTION=void 0;var fc=Cr();ei.PUG_EMPTY_ATTRIBUTES_OPTION={since:"1.10.0",category:fc.CATEGORY_PUG,type:"choice",default:"as-is",description:"Change behavior of boolean attributes.",choices:[{value:"as-is",description:"Nothing is changed."},{value:"none",description:"Every attribute with empty quotes will have them removed."},{value:"all",description:"Every boolean attribute will be expressed with empty quotes."}]};ei.PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION={since:"1.10.0",category:fc.CATEGORY_PUG,type:"path",default:[{value:[]}],array:!0,description:'Define a list of patterns for attributes that will be forced to have empty quotes even with "none" selected.'}});var la=gt(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.resolvePugAttributeSeparatorOption=ti.PUG_ATTRIBUTE_SEPARATOR_OPTION=void 0;var og=Cr();ti.PUG_ATTRIBUTE_SEPARATOR_OPTION={since:"1.6.0",category:og.CATEGORY_PUG,type:"choice",default:"always",description:"Change when attributes are separated by commas in tags.",choices:[{value:"always",description:'Always separate attributes with commas. Example: `button(type="submit", (click)="play()", disabled)`'},{value:"as-needed",description:'Only add commas between attributes where required. Example: `button(type="submit", (click)="play()" disabled)`'},{value:"none",description:'Never add commas between attributes. Example: `button(type="submit" @click="play()" :style="style" disabled)`'}]};function lg(t){switch(t){case"always":case"as-needed":case"none":return t}throw new Error(`Invalid option for pugAttributeSeparator. Found '${t}'. Possible options: 'always', 'as-needed' or 'none'`)}ti.resolvePugAttributeSeparatorOption=lg});var hc=gt(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.PUG_CLASS_LOCATION=void 0;var cg=Cr();ks.PUG_CLASS_LOCATION={since:"1.19.0",category:cg.CATEGORY_PUG,type:"choice",default:"before-attributes",description:"Define where classes be placed.",choices:[{value:"before-attributes",description:"Forces all valid class literals to be placed before attributes."},{value:"after-attributes",description:"Forces all valid class literals to be placed after attributes."}]}});var gc=gt(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.PUG_CLASS_NOTATION=void 0;var pg=Cr();Ps.PUG_CLASS_NOTATION={since:"1.13.0",category:pg.CATEGORY_PUG,type:"choice",default:"literal",description:"Define how classes should be formatted.",choices:[{value:"literal",description:"Forces all valid classes to be printed as literals."},{value:"attribute",description:"Forces all valid classes to be printed in class attribute."},{value:"as-is",description:"Disables class formatting."}]}});var ca=gt(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.formatPugCommentPreserveSpaces=ri.PUG_COMMENT_PRESERVE_SPACES_OPTION=void 0;var fg=Cr();ri.PUG_COMMENT_PRESERVE_SPACES_OPTION={since:"1.6.0",category:fg.CATEGORY_PUG,type:"choice",default:"keep-all",description:"Change behavior of spaces within comments.",choices:[{value:"keep-all",description:"Keep all spaces within comments. Example: `// this is a comment`"},{value:"keep-leading",description:"Keep leading spaces within comments. Example: `// this is a comment`"},{value:"trim-all",description:"Trim all spaces within comments. Example: `// this is a comment`"}]};function dg(t,r,n=!1){switch(r){case"keep-leading":{let v="",V=0;for(V;V<t.length&&t[V]===" ";V++)v+=" ";return v+=t.slice(V).trim().replace(/\s\s+/g," "),v}case"trim-all":{let v=t.trim();return v=v.replace(/\s\s+/g," "),!n&&t[0]===" "&&(v=` ${v}`),v}case"keep-all":default:return t}}ri.formatPugCommentPreserveSpaces=dg});var mc=gt(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.PUG_EXPLICIT_DIV=void 0;var hg=Cr();_s.PUG_EXPLICIT_DIV={since:"1.16.0",category:hg.CATEGORY_PUG,type:"boolean",default:!1,description:"Include `div` tag when followed by literal class or id syntax"}});var yc=gt(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});Bs.PUG_FRAMEWORK=void 0;var gg=Cr();Bs.PUG_FRAMEWORK={since:"1.14.0",category:gg.CATEGORY_PUG,type:"choice",default:"auto",description:"Define which framework is used in the project.",choices:[{value:"auto",description:"Try to identify used framework, if there is one."},{value:"vue",description:"Uses Vue.js."},{value:"svelte",description:"Uses Svelte."},{value:"angular",description:"Uses Angular."}]}});var Dc=gt(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.PUG_ID_NOTATION=void 0;var mg=Cr();Ns.PUG_ID_NOTATION={since:"1.13.0",category:mg.CATEGORY_PUG,type:"choice",default:"literal",description:"Define how the id should be formatted.",choices:[{value:"literal",description:"Forces all valid ids to be printed as literals."},{value:"as-is",description:"Disables id formatting."}]}});var Ec=gt(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});Is.PUG_PRESERVE_ATTRIBUTE_BRACKETS=void 0;var yg=Cr();Is.PUG_PRESERVE_ATTRIBUTE_BRACKETS={since:"2.2.0",category:yg.CATEGORY_PUG,type:"boolean",default:!1,description:"Preserve attribute brackets."}});var vc=gt(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.PUG_SINGLE_FILE_COMPONENT_INDENTATION=void 0;var Dg=Cr();Os.PUG_SINGLE_FILE_COMPONENT_INDENTATION={since:"1.9.0",category:Dg.CATEGORY_PUG,type:"boolean",default:!1,description:"Indent pug in template tags in single file components such as from vue or svelte."}});var Cc=gt(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.PUG_WRAP_ATTRIBUTES_PATTERN=ni.PUG_WRAP_ATTRIBUTES_THRESHOLD=void 0;var bc=Cr();ni.PUG_WRAP_ATTRIBUTES_THRESHOLD={since:"1.8.0",category:bc.CATEGORY_PUG,type:"int",default:-1,description:"The maximum amount of attributes that an element can appear with on one line before it gets wrapped.",range:{start:-1,end:1/0,step:1}};ni.PUG_WRAP_ATTRIBUTES_PATTERN={since:"1.8.0",category:bc.CATEGORY_PUG,type:"path",default:"",description:"Regex pattern to match attributes against that should always trigger wrapping."}});var Sc=gt(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.CATEGORY_PUG=ii.options=void 0;var pa=cc(),dn=pc(),xc=dc(),Eg=la(),vg=hc(),bg=gc(),Cg=ca(),xg=mc(),Ag=yc(),Sg=Dc(),Fg=Ec(),Tg=vc(),Ac=Cc();ii.options={pugPrintWidth:dn.PUG_PRINT_WIDTH_OPTION,pugSingleQuote:dn.PUG_SINGLE_QUOTE_OPTION,pugTabWidth:dn.PUG_TAB_WIDTH_OPTION,pugUseTabs:dn.PUG_USE_TABS_OPTION,pugBracketSpacing:dn.PUG_BRACKET_SPACING_OPTION,pugArrowParens:dn.PUG_ARROW_PARENS_OPTION,pugSemi:dn.PUG_SEMI_OPTION,pugBracketSameLine:dn.PUG_BRACKET_SAME_LINE_OPTION,pugAttributeSeparator:Eg.PUG_ATTRIBUTE_SEPARATOR_OPTION,pugCommentPreserveSpaces:Cg.PUG_COMMENT_PRESERVE_SPACES_OPTION,pugSortAttributes:pa.PUG_SORT_ATTRIBUTES_OPTION,pugSortAttributesBeginning:pa.PUG_SORT_ATTRIBUTES_BEGINNING_OPTION,pugSortAttributesEnd:pa.PUG_SORT_ATTRIBUTES_END_OPTION,pugWrapAttributesThreshold:Ac.PUG_WRAP_ATTRIBUTES_THRESHOLD,pugWrapAttributesPattern:Ac.PUG_WRAP_ATTRIBUTES_PATTERN,pugEmptyAttributes:xc.PUG_EMPTY_ATTRIBUTES_OPTION,pugClassNotation:bg.PUG_CLASS_NOTATION,pugIdNotation:Sg.PUG_ID_NOTATION,pugClassLocation:vg.PUG_CLASS_LOCATION,pugExplicitDiv:xg.PUG_EXPLICIT_DIV,pugEmptyAttributesForceQuotes:xc.PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION,pugSingleFileComponentIndentation:Tg.PUG_SINGLE_FILE_COMPONENT_INDENTATION,pugFramework:Ag.PUG_FRAMEWORK,pugPreserveAttributeBrackets:Fg.PUG_PRESERVE_ATTRIBUTE_BRACKETS};var wg=Cr();Object.defineProperty(ii,"CATEGORY_PUG",{enumerable:!0,get:function(){return wg.CATEGORY_PUG}})});var Fc=gt(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.convergeOptions=void 0;function kg(t){return{printWidth:t.printWidth,pugPrintWidth:t.pugPrintWidth!==-1?t.pugPrintWidth:t.printWidth,singleQuote:t.singleQuote,pugSingleQuote:t.pugSingleQuote??t.singleQuote,tabWidth:t.tabWidth,pugTabWidth:t.pugTabWidth!==-1?t.pugTabWidth:t.tabWidth,useTabs:t.useTabs,pugUseTabs:t.pugUseTabs??t.useTabs,bracketSpacing:t.bracketSpacing,pugBracketSpacing:t.pugBracketSpacing??t.bracketSpacing,arrowParens:t.arrowParens,pugArrowParens:t.pugArrowParens??t.arrowParens,semi:t.semi,pugSemi:t.pugSemi??t.semi,bracketSameLine:t.bracketSameLine,pugBracketSameLine:t.pugBracketSameLine??t.bracketSameLine,pugAttributeSeparator:t.pugAttributeSeparator,pugCommentPreserveSpaces:t.pugCommentPreserveSpaces,pugSortAttributes:t.pugSortAttributes,pugSortAttributesBeginning:t.pugSortAttributesBeginning,pugSortAttributesEnd:t.pugSortAttributesEnd,pugWrapAttributesThreshold:t.pugWrapAttributesThreshold,pugWrapAttributesPattern:t.pugWrapAttributesPattern,pugClassNotation:t.pugClassNotation,pugIdNotation:t.pugIdNotation,pugClassLocation:t.pugClassLocation,pugEmptyAttributes:t.pugEmptyAttributes,pugEmptyAttributesForceQuotes:t.pugEmptyAttributesForceQuotes,pugSingleFileComponentIndentation:t.pugSingleFileComponentIndentation&&t.__embeddedInHtml===!0,pugFramework:t.pugFramework,pugExplicitDiv:t.pugExplicitDiv,pugPreserveAttributeBrackets:t.pugPreserveAttributeBrackets}}Ls.convergeOptions=kg});var wc=gt((Tc,fa)=>{(function(t){if(typeof Tc=="object"&&typeof fa=="object")fa.exports=t();else if(typeof define=="function"&&define.amd)define(t);else{var r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:this||{};r.prettier=t()}})(function(){"use strict";var t=(He,Ce)=>()=>(Ce||He((Ce={exports:{}}).exports,Ce),Ce.exports),r=t((He,Ce)=>{var me=function(Ae){return Ae&&Ae.Math==Math&&Ae};Ce.exports=me(typeof globalThis=="object"&&globalThis)||me(typeof window=="object"&&window)||me(typeof self=="object"&&self)||me(typeof window=="object"&&window)||function(){return this}()||Function("return this")()}),n=t((He,Ce)=>{Ce.exports=function(me){try{return!!me()}catch{return!0}}}),v=t((He,Ce)=>{var me=n();Ce.exports=!me(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),V=t((He,Ce)=>{var me=n();Ce.exports=!me(function(){var Ae=function(){}.bind();return typeof Ae!="function"||Ae.hasOwnProperty("prototype")})}),se=t((He,Ce)=>{var me=V(),Ae=Function.prototype.call;Ce.exports=me?Ae.bind(Ae):function(){return Ae.apply(Ae,arguments)}}),ae=t(He=>{"use strict";var Ce={}.propertyIsEnumerable,me=Object.getOwnPropertyDescriptor,Ae=me&&!Ce.call({1:2},1);He.f=Ae?function(be){var Oe=me(this,be);return!!Oe&&Oe.enumerable}:Ce}),De=t((He,Ce)=>{Ce.exports=function(me,Ae){return{enumerable:!(me&1),configurable:!(me&2),writable:!(me&4),value:Ae}}}),Le=t((He,Ce)=>{var me=V(),Ae=Function.prototype,be=Ae.call,Oe=me&&Ae.bind.bind(be,be);Ce.exports=me?Oe:function($e){return function(){return be.apply($e,arguments)}}}),rt=t((He,Ce)=>{var me=Le(),Ae=me({}.toString),be=me("".slice);Ce.exports=function(Oe){return be(Ae(Oe),8,-1)}}),vt=t((He,Ce)=>{var me=Le(),Ae=n(),be=rt(),Oe=Object,$e=me("".split);Ce.exports=Ae(function(){return!Oe("z").propertyIsEnumerable(0)})?function(Je){return be(Je)=="String"?$e(Je,""):Oe(Je)}:Oe}),Lt=t((He,Ce)=>{Ce.exports=function(me){return me==null}}),xt=t((He,Ce)=>{var me=Lt(),Ae=TypeError;Ce.exports=function(be){if(me(be))throw Ae("Can't call method on "+be);return be}}),jt=t((He,Ce)=>{var me=vt(),Ae=xt();Ce.exports=function(be){return me(Ae(be))}}),Ft=t((He,Ce)=>{var me=typeof document=="object"&&document.all,Ae=typeof me>"u"&&me!==void 0;Ce.exports={all:me,IS_HTMLDDA:Ae}}),wt=t((He,Ce)=>{var me=Ft(),Ae=me.all;Ce.exports=me.IS_HTMLDDA?function(be){return typeof be=="function"||be===Ae}:function(be){return typeof be=="function"}}),ar=t((He,Ce)=>{var me=wt(),Ae=Ft(),be=Ae.all;Ce.exports=Ae.IS_HTMLDDA?function(Oe){return typeof Oe=="object"?Oe!==null:me(Oe)||Oe===be}:function(Oe){return typeof Oe=="object"?Oe!==null:me(Oe)}}),lr=t((He,Ce)=>{var me=r(),Ae=wt(),be=function(Oe){return Ae(Oe)?Oe:void 0};Ce.exports=function(Oe,$e){return arguments.length<2?be(me[Oe]):me[Oe]&&me[Oe][$e]}}),Lr=t((He,Ce)=>{var me=Le();Ce.exports=me({}.isPrototypeOf)}),Ut=t((He,Ce)=>{var me=lr();Ce.exports=me("navigator","userAgent")||""}),Y=t((He,Ce)=>{var me=r(),Ae=Ut(),be=me.process,Oe=me.Deno,$e=be&&be.versions||Oe&&Oe.version,Je=$e&&$e.v8,qe,Xe;Je&&(qe=Je.split("."),Xe=qe[0]>0&&qe[0]<4?1:+(qe[0]+qe[1])),!Xe&&Ae&&(qe=Ae.match(/Edge\/(\d+)/),(!qe||qe[1]>=74)&&(qe=Ae.match(/Chrome\/(\d+)/),qe&&(Xe=+qe[1]))),Ce.exports=Xe}),vr=t((He,Ce)=>{var me=Y(),Ae=n();Ce.exports=!!Object.getOwnPropertySymbols&&!Ae(function(){var be=Symbol();return!String(be)||!(Object(be)instanceof Symbol)||!Symbol.sham&&me&&me<41})}),Xr=t((He,Ce)=>{var me=vr();Ce.exports=me&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Hr=t((He,Ce)=>{var me=lr(),Ae=wt(),be=Lr(),Oe=Xr(),$e=Object;Ce.exports=Oe?function(Je){return typeof Je=="symbol"}:function(Je){var qe=me("Symbol");return Ae(qe)&&be(qe.prototype,$e(Je))}}),mn=t((He,Ce)=>{var me=String;Ce.exports=function(Ae){try{return me(Ae)}catch{return"Object"}}}),yr=t((He,Ce)=>{var me=wt(),Ae=mn(),be=TypeError;Ce.exports=function(Oe){if(me(Oe))return Oe;throw be(Ae(Oe)+" is not a function")}}),kn=t((He,Ce)=>{var me=yr(),Ae=Lt();Ce.exports=function(be,Oe){var $e=be[Oe];return Ae($e)?void 0:me($e)}}),ou=t((He,Ce)=>{var me=se(),Ae=wt(),be=ar(),Oe=TypeError;Ce.exports=function($e,Je){var qe,Xe;if(Je==="string"&&Ae(qe=$e.toString)&&!be(Xe=me(qe,$e))||Ae(qe=$e.valueOf)&&!be(Xe=me(qe,$e))||Je!=="string"&&Ae(qe=$e.toString)&&!be(Xe=me(qe,$e)))return Xe;throw Oe("Can't convert object to primitive value")}}),lu=t((He,Ce)=>{Ce.exports=!1}),nn=t((He,Ce)=>{var me=r(),Ae=Object.defineProperty;Ce.exports=function(be,Oe){try{Ae(me,be,{value:Oe,configurable:!0,writable:!0})}catch{me[be]=Oe}return Oe}}),Pn=t((He,Ce)=>{var me=r(),Ae=nn(),be="__core-js_shared__",Oe=me[be]||Ae(be,{});Ce.exports=Oe}),Gr=t((He,Ce)=>{var me=lu(),Ae=Pn();(Ce.exports=function(be,Oe){return Ae[be]||(Ae[be]=Oe!==void 0?Oe:{})})("versions",[]).push({version:"3.26.1",mode:me?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),qr=t((He,Ce)=>{var me=xt(),Ae=Object;Ce.exports=function(be){return Ae(me(be))}}),wr=t((He,Ce)=>{var me=Le(),Ae=qr(),be=me({}.hasOwnProperty);Ce.exports=Object.hasOwn||function(Oe,$e){return be(Ae(Oe),$e)}}),_n=t((He,Ce)=>{var me=Le(),Ae=0,be=Math.random(),Oe=me(1 .toString);Ce.exports=function($e){return"Symbol("+($e===void 0?"":$e)+")_"+Oe(++Ae+be,36)}}),jr=t((He,Ce)=>{var me=r(),Ae=Gr(),be=wr(),Oe=_n(),$e=vr(),Je=Xr(),qe=Ae("wks"),Xe=me.Symbol,ut=Xe&&Xe.for,ot=Je?Xe:Xe&&Xe.withoutSetter||Oe;Ce.exports=function(Ye){if(!be(qe,Ye)||!($e||typeof qe[Ye]=="string")){var at="Symbol."+Ye;$e&&be(Xe,Ye)?qe[Ye]=Xe[Ye]:Je&&ut?qe[Ye]=ut(at):qe[Ye]=ot(at)}return qe[Ye]}}),cu=t((He,Ce)=>{var me=se(),Ae=ar(),be=Hr(),Oe=kn(),$e=ou(),Je=jr(),qe=TypeError,Xe=Je("toPrimitive");Ce.exports=function(ut,ot){if(!Ae(ut)||be(ut))return ut;var Ye=Oe(ut,Xe),at;if(Ye){if(ot===void 0&&(ot="default"),at=me(Ye,ut,ot),!Ae(at)||be(at))return at;throw qe("Can't convert object to primitive value")}return ot===void 0&&(ot="number"),$e(ut,ot)}}),li=t((He,Ce)=>{var me=cu(),Ae=Hr();Ce.exports=function(be){var Oe=me(be,"string");return Ae(Oe)?Oe:Oe+""}}),yn=t((He,Ce)=>{var me=r(),Ae=ar(),be=me.document,Oe=Ae(be)&&Ae(be.createElement);Ce.exports=function($e){return Oe?be.createElement($e):{}}}),sn=t((He,Ce)=>{var me=v(),Ae=n(),be=yn();Ce.exports=!me&&!Ae(function(){return Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a!=7})}),Bn=t(He=>{var Ce=v(),me=se(),Ae=ae(),be=De(),Oe=jt(),$e=li(),Je=wr(),qe=sn(),Xe=Object.getOwnPropertyDescriptor;He.f=Ce?Xe:function(ut,ot){if(ut=Oe(ut),ot=$e(ot),qe)try{return Xe(ut,ot)}catch{}if(Je(ut,ot))return be(!me(Ae.f,ut,ot),ut[ot])}}),ji=t((He,Ce)=>{var me=v(),Ae=n();Ce.exports=me&&Ae(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Yr=t((He,Ce)=>{var me=ar(),Ae=String,be=TypeError;Ce.exports=function(Oe){if(me(Oe))return Oe;throw be(Ae(Oe)+" is not an object")}}),un=t(He=>{var Ce=v(),me=sn(),Ae=ji(),be=Yr(),Oe=li(),$e=TypeError,Je=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,Xe="enumerable",ut="configurable",ot="writable";He.f=Ce?Ae?function(Ye,at,re){if(be(Ye),at=Oe(at),be(re),typeof Ye=="function"&&at==="prototype"&&"value"in re&&ot in re&&!re[ot]){var ft=qe(Ye,at);ft&&ft[ot]&&(Ye[at]=re.value,re={configurable:ut in re?re[ut]:ft[ut],enumerable:Xe in re?re[Xe]:ft[Xe],writable:!1})}return Je(Ye,at,re)}:Je:function(Ye,at,re){if(be(Ye),at=Oe(at),be(re),me)try{return Je(Ye,at,re)}catch{}if("get"in re||"set"in re)throw $e("Accessors not supported");return"value"in re&&(Ye[at]=re.value),Ye}}),ci=t((He,Ce)=>{var me=v(),Ae=un(),be=De();Ce.exports=me?function(Oe,$e,Je){return Ae.f(Oe,$e,be(1,Je))}:function(Oe,$e,Je){return Oe[$e]=Je,Oe}}),Ri=t((He,Ce)=>{var me=v(),Ae=wr(),be=Function.prototype,Oe=me&&Object.getOwnPropertyDescriptor,$e=Ae(be,"name"),Je=$e&&function(){}.name==="something",qe=$e&&(!me||me&&Oe(be,"name").configurable);Ce.exports={EXISTS:$e,PROPER:Je,CONFIGURABLE:qe}}),pi=t((He,Ce)=>{var me=Le(),Ae=wt(),be=Pn(),Oe=me(Function.toString);Ae(be.inspectSource)||(be.inspectSource=function($e){return Oe($e)}),Ce.exports=be.inspectSource}),fi=t((He,Ce)=>{var me=r(),Ae=wt(),be=me.WeakMap;Ce.exports=Ae(be)&&/native code/.test(String(be))}),Mi=t((He,Ce)=>{var me=Gr(),Ae=_n(),be=me("keys");Ce.exports=function(Oe){return be[Oe]||(be[Oe]=Ae(Oe))}}),Nn=t((He,Ce)=>{Ce.exports={}}),Rr=t((He,Ce)=>{var me=fi(),Ae=r(),be=ar(),Oe=ci(),$e=wr(),Je=Pn(),qe=Mi(),Xe=Nn(),ut="Object already initialized",ot=Ae.TypeError,Ye=Ae.WeakMap,at,re,ft,St=function(ce){return ft(ce)?re(ce):at(ce,{})},Mt=function(ce){return function(e){var u;if(!be(e)||(u=re(e)).type!==ce)throw ot("Incompatible receiver, "+ce+" required");return u}};me||Je.state?(Ot=Je.state||(Je.state=new Ye),Ot.get=Ot.get,Ot.has=Ot.has,Ot.set=Ot.set,at=function(ce,e){if(Ot.has(ce))throw ot(ut);return e.facade=ce,Ot.set(ce,e),e},re=function(ce){return Ot.get(ce)||{}},ft=function(ce){return Ot.has(ce)}):(ir=qe("state"),Xe[ir]=!0,at=function(ce,e){if($e(ce,ir))throw ot(ut);return e.facade=ce,Oe(ce,ir,e),e},re=function(ce){return $e(ce,ir)?ce[ir]:{}},ft=function(ce){return $e(ce,ir)});var Ot,ir;Ce.exports={set:at,get:re,has:ft,enforce:St,getterFor:Mt}}),di=t((He,Ce)=>{var me=n(),Ae=wt(),be=wr(),Oe=v(),$e=Ri().CONFIGURABLE,Je=pi(),qe=Rr(),Xe=qe.enforce,ut=qe.get,ot=Object.defineProperty,Ye=Oe&&!me(function(){return ot(function(){},"length",{value:8}).length!==8}),at=String(String).split("String"),re=Ce.exports=function(ft,St,Mt){String(St).slice(0,7)==="Symbol("&&(St="["+String(St).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Mt&&Mt.getter&&(St="get "+St),Mt&&Mt.setter&&(St="set "+St),(!be(ft,"name")||$e&&ft.name!==St)&&(Oe?ot(ft,"name",{value:St,configurable:!0}):ft.name=St),Ye&&Mt&&be(Mt,"arity")&&ft.length!==Mt.arity&&ot(ft,"length",{value:Mt.arity});try{Mt&&be(Mt,"constructor")&&Mt.constructor?Oe&&ot(ft,"prototype",{writable:!1}):ft.prototype&&(ft.prototype=void 0)}catch{}var Ot=Xe(ft);return be(Ot,"source")||(Ot.source=at.join(typeof St=="string"?St:"")),ft};Function.prototype.toString=re(function(){return Ae(this)&&ut(this).source||Je(this)},"toString")}),$i=t((He,Ce)=>{var me=wt(),Ae=un(),be=di(),Oe=nn();Ce.exports=function($e,Je,qe,Xe){Xe||(Xe={});var ut=Xe.enumerable,ot=Xe.name!==void 0?Xe.name:Je;if(me(qe)&&be(qe,ot,Xe),Xe.global)ut?$e[Je]=qe:Oe(Je,qe);else{try{Xe.unsafe?$e[Je]&&(ut=!0):delete $e[Je]}catch{}ut?$e[Je]=qe:Ae.f($e,Je,{value:qe,enumerable:!1,configurable:!Xe.nonConfigurable,writable:!Xe.nonWritable})}return $e}}),Vi=t((He,Ce)=>{var me=Math.ceil,Ae=Math.floor;Ce.exports=Math.trunc||function(be){var Oe=+be;return(Oe>0?Ae:me)(Oe)}}),rr=t((He,Ce)=>{var me=Vi();Ce.exports=function(Ae){var be=+Ae;return be!==be||be===0?0:me(be)}}),Qr=t((He,Ce)=>{var me=rr(),Ae=Math.max,be=Math.min;Ce.exports=function(Oe,$e){var Je=me(Oe);return Je<0?Ae(Je+$e,0):be(Je,$e)}}),Dr=t((He,Ce)=>{var me=rr(),Ae=Math.min;Ce.exports=function(be){return be>0?Ae(me(be),9007199254740991):0}}),Dn=t((He,Ce)=>{var me=Dr();Ce.exports=function(Ae){return me(Ae.length)}}),In=t((He,Ce)=>{var me=jt(),Ae=Qr(),be=Dn(),Oe=function($e){return function(Je,qe,Xe){var ut=me(Je),ot=be(ut),Ye=Ae(Xe,ot),at;if($e&&qe!=qe){for(;ot>Ye;)if(at=ut[Ye++],at!=at)return!0}else for(;ot>Ye;Ye++)if(($e||Ye in ut)&&ut[Ye]===qe)return $e||Ye||0;return!$e&&-1}};Ce.exports={includes:Oe(!0),indexOf:Oe(!1)}}),_t=t((He,Ce)=>{var me=Le(),Ae=wr(),be=jt(),Oe=In().indexOf,$e=Nn(),Je=me([].push);Ce.exports=function(qe,Xe){var ut=be(qe),ot=0,Ye=[],at;for(at in ut)!Ae($e,at)&&Ae(ut,at)&&Je(Ye,at);for(;Xe.length>ot;)Ae(ut,at=Xe[ot++])&&(~Oe(Ye,at)||Je(Ye,at));return Ye}}),hi=t((He,Ce)=>{Ce.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),pu=t(He=>{var Ce=_t(),me=hi(),Ae=me.concat("length","prototype");He.f=Object.getOwnPropertyNames||function(be){return Ce(be,Ae)}}),fu=t(He=>{He.f=Object.getOwnPropertySymbols}),En=t((He,Ce)=>{var me=lr(),Ae=Le(),be=pu(),Oe=fu(),$e=Yr(),Je=Ae([].concat);Ce.exports=me("Reflect","ownKeys")||function(qe){var Xe=be.f($e(qe)),ut=Oe.f;return ut?Je(Xe,ut(qe)):Xe}}),gi=t((He,Ce)=>{var me=wr(),Ae=En(),be=Bn(),Oe=un();Ce.exports=function($e,Je,qe){for(var Xe=Ae(Je),ut=Oe.f,ot=be.f,Ye=0;Ye<Xe.length;Ye++){var at=Xe[Ye];!me($e,at)&&!(qe&&me(qe,at))&&ut($e,at,ot(Je,at))}}}),Ui=t((He,Ce)=>{var me=n(),Ae=wt(),be=/#|\.prototype\./,Oe=function(ut,ot){var Ye=Je[$e(ut)];return Ye==Xe?!0:Ye==qe?!1:Ae(ot)?me(ot):!!ot},$e=Oe.normalize=function(ut){return String(ut).replace(be,".").toLowerCase()},Je=Oe.data={},qe=Oe.NATIVE="N",Xe=Oe.POLYFILL="P";Ce.exports=Oe}),xr=t((He,Ce)=>{var me=r(),Ae=Bn().f,be=ci(),Oe=$i(),$e=nn(),Je=gi(),qe=Ui();Ce.exports=function(Xe,ut){var ot=Xe.target,Ye=Xe.global,at=Xe.stat,re,ft,St,Mt,Ot,ir;if(Ye?ft=me:at?ft=me[ot]||$e(ot,{}):ft=(me[ot]||{}).prototype,ft)for(St in ut){if(Ot=ut[St],Xe.dontCallGetSet?(ir=Ae(ft,St),Mt=ir&&ir.value):Mt=ft[St],re=qe(Ye?St:ot+(at?".":"#")+St,Xe.forced),!re&&Mt!==void 0){if(typeof Ot==typeof Mt)continue;Je(Ot,Mt)}(Xe.sham||Mt&&Mt.sham)&&be(Ot,"sham",!0),Oe(ft,St,Ot,Xe)}}}),Rt=t((He,Ce)=>{var me=rt();Ce.exports=Array.isArray||function(Ae){return me(Ae)=="Array"}}),du=t((He,Ce)=>{var me=TypeError,Ae=9007199254740991;Ce.exports=function(be){if(be>Ae)throw me("Maximum allowed index exceeded");return be}}),On=t((He,Ce)=>{var me=rt(),Ae=Le();Ce.exports=function(be){if(me(be)==="Function")return Ae(be)}}),Mr=t((He,Ce)=>{var me=On(),Ae=yr(),be=V(),Oe=me(me.bind);Ce.exports=function($e,Je){return Ae($e),Je===void 0?$e:be?Oe($e,Je):function(){return $e.apply(Je,arguments)}}}),Gi=t((He,Ce)=>{"use strict";var me=Rt(),Ae=Dn(),be=du(),Oe=Mr(),$e=function(Je,qe,Xe,ut,ot,Ye,at,re){for(var ft=ot,St=0,Mt=at?Oe(at,re):!1,Ot,ir;St<ut;)St in Xe&&(Ot=Mt?Mt(Xe[St],St,qe):Xe[St],Ye>0&&me(Ot)?(ir=Ae(Ot),ft=$e(Je,qe,Ot,ir,ft,Ye-1)-1):(be(ft+1),Je[ft]=Ot),ft++),St++;return ft};Ce.exports=$e}),Ln=t((He,Ce)=>{var me=jr(),Ae=me("toStringTag"),be={};be[Ae]="z",Ce.exports=String(be)==="[object z]"}),vn=t((He,Ce)=>{var me=Ln(),Ae=wt(),be=rt(),Oe=jr(),$e=Oe("toStringTag"),Je=Object,qe=be(function(){return arguments}())=="Arguments",Xe=function(ut,ot){try{return ut[ot]}catch{}};Ce.exports=me?be:function(ut){var ot,Ye,at;return ut===void 0?"Undefined":ut===null?"Null":typeof(Ye=Xe(ot=Je(ut),$e))=="string"?Ye:qe?be(ot):(at=be(ot))=="Object"&&Ae(ot.callee)?"Arguments":at}}),qi=t((He,Ce)=>{var me=Le(),Ae=n(),be=wt(),Oe=vn(),$e=lr(),Je=pi(),qe=function(){},Xe=[],ut=$e("Reflect","construct"),ot=/^\s*(?:class|function)\b/,Ye=me(ot.exec),at=!ot.exec(qe),re=function(St){if(!be(St))return!1;try{return ut(qe,Xe,St),!0}catch{return!1}},ft=function(St){if(!be(St))return!1;switch(Oe(St)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return at||!!Ye(ot,Je(St))}catch{return!0}};ft.sham=!0,Ce.exports=!ut||Ae(function(){var St;return re(re.call)||!re(Object)||!re(function(){St=!0})||St})?ft:re}),Ar=t((He,Ce)=>{var me=Rt(),Ae=qi(),be=ar(),Oe=jr(),$e=Oe("species"),Je=Array;Ce.exports=function(qe){var Xe;return me(qe)&&(Xe=qe.constructor,Ae(Xe)&&(Xe===Je||me(Xe.prototype))?Xe=void 0:be(Xe)&&(Xe=Xe[$e],Xe===null&&(Xe=void 0))),Xe===void 0?Je:Xe}}),ur=t((He,Ce)=>{var me=Ar();Ce.exports=function(Ae,be){return new(me(Ae))(be===0?0:be)}}),jn=t(()=>{"use strict";var He=xr(),Ce=Gi(),me=yr(),Ae=qr(),be=Dn(),Oe=ur();He({target:"Array",proto:!0},{flatMap:function($e){var Je=Ae(this),qe=be(Je),Xe;return me($e),Xe=Oe(Je,0),Xe.length=Ce(Xe,Je,Je,qe,0,1,$e,arguments.length>1?arguments[1]:void 0),Xe}})}),mi=t((He,Ce)=>{Ce.exports={}}),Wi=t((He,Ce)=>{var me=jr(),Ae=mi(),be=me("iterator"),Oe=Array.prototype;Ce.exports=function($e){return $e!==void 0&&(Ae.Array===$e||Oe[be]===$e)}}),Ji=t((He,Ce)=>{var me=vn(),Ae=kn(),be=Lt(),Oe=mi(),$e=jr(),Je=$e("iterator");Ce.exports=function(qe){if(!be(qe))return Ae(qe,Je)||Ae(qe,"@@iterator")||Oe[me(qe)]}}),hu=t((He,Ce)=>{var me=se(),Ae=yr(),be=Yr(),Oe=mn(),$e=Ji(),Je=TypeError;Ce.exports=function(qe,Xe){var ut=arguments.length<2?$e(qe):Xe;if(Ae(ut))return be(me(ut,qe));throw Je(Oe(qe)+" is not iterable")}}),zi=t((He,Ce)=>{var me=se(),Ae=Yr(),be=kn();Ce.exports=function(Oe,$e,Je){var qe,Xe;Ae(Oe);try{if(qe=be(Oe,"return"),!qe){if($e==="throw")throw Je;return Je}qe=me(qe,Oe)}catch(ut){Xe=!0,qe=ut}if($e==="throw")throw Je;if(Xe)throw qe;return Ae(qe),Je}}),Xi=t((He,Ce)=>{var me=Mr(),Ae=se(),be=Yr(),Oe=mn(),$e=Wi(),Je=Dn(),qe=Lr(),Xe=hu(),ut=Ji(),ot=zi(),Ye=TypeError,at=function(ft,St){this.stopped=ft,this.result=St},re=at.prototype;Ce.exports=function(ft,St,Mt){var Ot=Mt&&Mt.that,ir=!!(Mt&&Mt.AS_ENTRIES),ce=!!(Mt&&Mt.IS_RECORD),e=!!(Mt&&Mt.IS_ITERATOR),u=!!(Mt&&Mt.INTERRUPTED),O=me(St,Ot),J,oe,Be,Re,tt,dt,$t,Ht=function(or){return J&&ot(J,"normal",or),new at(!0,or)},cr=function(or){return ir?(be(or),u?O(or[0],or[1],Ht):O(or[0],or[1])):u?O(or,Ht):O(or)};if(ce)J=ft.iterator;else if(e)J=ft;else{if(oe=ut(ft),!oe)throw Ye(Oe(ft)+" is not iterable");if($e(oe)){for(Be=0,Re=Je(ft);Re>Be;Be++)if(tt=cr(ft[Be]),tt&&qe(re,tt))return tt;return new at(!1)}J=Xe(ft,oe)}for(dt=ce?ft.next:J.next;!($t=Ae(dt,J)).done;){try{tt=cr($t.value)}catch(or){ot(J,"throw",or)}if(typeof tt=="object"&&tt&&qe(re,tt))return tt}return new at(!1)}}),Hi=t((He,Ce)=>{"use strict";var me=li(),Ae=un(),be=De();Ce.exports=function(Oe,$e,Je){var qe=me($e);qe in Oe?Ae.f(Oe,qe,be(0,Je)):Oe[qe]=Je}}),gu=t(()=>{var He=xr(),Ce=Xi(),me=Hi();He({target:"Object",stat:!0},{fromEntries:function(Ae){var be={};return Ce(Ae,function(Oe,$e){me(be,Oe,$e)},{AS_ENTRIES:!0}),be}})}),mu=t((He,Ce)=>{var me=di(),Ae=un();Ce.exports=function(be,Oe,$e){return $e.get&&me($e.get,Oe,{getter:!0}),$e.set&&me($e.set,Oe,{setter:!0}),Ae.f(be,Oe,$e)}}),Yi=t((He,Ce)=>{"use strict";var me=Yr();Ce.exports=function(){var Ae=me(this),be="";return Ae.hasIndices&&(be+="d"),Ae.global&&(be+="g"),Ae.ignoreCase&&(be+="i"),Ae.multiline&&(be+="m"),Ae.dotAll&&(be+="s"),Ae.unicode&&(be+="u"),Ae.unicodeSets&&(be+="v"),Ae.sticky&&(be+="y"),be}}),yi=t(()=>{var He=r(),Ce=v(),me=mu(),Ae=Yi(),be=n(),Oe=He.RegExp,$e=Oe.prototype,Je=Ce&&be(function(){var qe=!0;try{Oe(".","d")}catch{qe=!1}var Xe={},ut="",ot=qe?"dgimsy":"gimsy",Ye=function(St,Mt){Object.defineProperty(Xe,St,{get:function(){return ut+=Mt,!0}})},at={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};qe&&(at.hasIndices="d");for(var re in at)Ye(re,at[re]);var ft=Object.getOwnPropertyDescriptor($e,"flags").get.call(Xe);return ft!==ot||ut!==ot});Je&&me($e,"flags",{configurable:!0,get:Ae})}),bt=t(()=>{var He=xr(),Ce=r();He({global:!0,forced:Ce.globalThis!==Ce},{globalThis:Ce})}),$r=t(()=>{bt()}),Rn=t(()=>{"use strict";var He=xr(),Ce=Gi(),me=qr(),Ae=Dn(),be=rr(),Oe=ur();He({target:"Array",proto:!0},{flat:function(){var $e=arguments.length?arguments[0]:void 0,Je=me(this),qe=Ae(Je),Xe=Oe(Je,0);return Xe.length=Ce(Xe,Je,Je,qe,0,$e===void 0?1:be($e)),Xe}})}),Qi=t((He,Ce)=>{var me=["cliName","cliCategory","cliDescription"],Ae=["_"],be=["languageId"];function Oe(l,h){if(l==null)return{};var s=$e(l,h),f,p;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(l);for(p=0;p<i.length;p++)f=i[p],!(h.indexOf(f)>=0)&&Object.prototype.propertyIsEnumerable.call(l,f)&&(s[f]=l[f])}return s}function $e(l,h){if(l==null)return{};var s={},f=Object.keys(l),p,i;for(i=0;i<f.length;i++)p=f[i],!(h.indexOf(p)>=0)&&(s[p]=l[p]);return s}jn(),gu(),yi(),$r(),Rn();var Je=Object.create,qe=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,ut=Object.getOwnPropertyNames,ot=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty,at=(l,h)=>function(){return l&&(h=(0,l[ut(l)[0]])(l=0)),h},re=(l,h)=>function(){return h||(0,l[ut(l)[0]])((h={exports:{}}).exports,h),h.exports},ft=(l,h)=>{for(var s in h)qe(l,s,{get:h[s],enumerable:!0})},St=(l,h,s,f)=>{if(h&&typeof h=="object"||typeof h=="function")for(let p of ut(h))!Ye.call(l,p)&&p!==s&&qe(l,p,{get:()=>h[p],enumerable:!(f=Xe(h,p))||f.enumerable});return l},Mt=(l,h,s)=>(s=l!=null?Je(ot(l)):{},St(h||!l||!l.__esModule?qe(s,"default",{value:l,enumerable:!0}):s,l)),Ot=l=>St(qe({},"__esModule",{value:!0}),l),ir,ce=at({"<define:process>"(){ir={env:{},argv:[]}}}),e=re({"package.json"(l,h){h.exports={version:"2.8.8"}}}),u=re({"node_modules/diff/lib/diff/base.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0}),l.default=h;function h(){}h.prototype={diff:function(p,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=a.callback;typeof a=="function"&&(o=a,a={}),this.options=a;var d=this;function m(w){return o?(setTimeout(function(){o(void 0,w)},0),!0):w}p=this.castInput(p),i=this.castInput(i),p=this.removeEmpty(this.tokenize(p)),i=this.removeEmpty(this.tokenize(i));var x=i.length,A=p.length,b=1,g=x+A,y=[{newPos:-1,components:[]}],F=this.extractCommon(y[0],i,p,0);if(y[0].newPos+1>=x&&F+1>=A)return m([{value:this.join(i),count:i.length}]);function j(){for(var w=-1*b;w<=b;w+=2){var L=void 0,B=y[w-1],$=y[w+1],M=($?$.newPos:0)-w;B&&(y[w-1]=void 0);var K=B&&B.newPos+1<x,E=$&&0<=M&&M<A;if(!K&&!E){y[w]=void 0;continue}if(!K||E&&B.newPos<$.newPos?(L=f($),d.pushComponent(L.components,void 0,!0)):(L=B,L.newPos++,d.pushComponent(L.components,!0,void 0)),M=d.extractCommon(L,i,p,w),L.newPos+1>=x&&M+1>=A)return m(s(d,L.components,i,p,d.useLongestToken));y[w]=L}b++}if(o)(function w(){setTimeout(function(){if(b>g)return o();j()||w()},0)})();else for(;b<=g;){var R=j();if(R)return R}},pushComponent:function(p,i,a){var o=p[p.length-1];o&&o.added===i&&o.removed===a?p[p.length-1]={count:o.count+1,added:i,removed:a}:p.push({count:1,added:i,removed:a})},extractCommon:function(p,i,a,o){for(var d=i.length,m=a.length,x=p.newPos,A=x-o,b=0;x+1<d&&A+1<m&&this.equals(i[x+1],a[A+1]);)x++,A++,b++;return b&&p.components.push({count:b}),p.newPos=x,A},equals:function(p,i){return this.options.comparator?this.options.comparator(p,i):p===i||this.options.ignoreCase&&p.toLowerCase()===i.toLowerCase()},removeEmpty:function(p){for(var i=[],a=0;a<p.length;a++)p[a]&&i.push(p[a]);return i},castInput:function(p){return p},tokenize:function(p){return p.split("")},join:function(p){return p.join("")}};function s(p,i,a,o,d){for(var m=0,x=i.length,A=0,b=0;m<x;m++){var g=i[m];if(g.removed){if(g.value=p.join(o.slice(b,b+g.count)),b+=g.count,m&&i[m-1].added){var y=i[m-1];i[m-1]=i[m],i[m]=y}}else{if(!g.added&&d){var F=a.slice(A,A+g.count);F=F.map(function(R,w){var L=o[b+w];return L.length>R.length?L:R}),g.value=p.join(F)}else g.value=p.join(a.slice(A,A+g.count));A+=g.count,g.added||(b+=g.count)}}var j=i[x-1];return x>1&&typeof j.value=="string"&&(j.added||j.removed)&&p.equals("",j.value)&&(i[x-2].value+=j.value,i.pop()),i}function f(p){return{newPos:p.newPos,components:p.components.slice(0)}}}}),O=re({"node_modules/diff/lib/diff/array.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0}),l.diffArrays=p,l.arrayDiff=void 0;var h=s(u());function s(i){return i&&i.__esModule?i:{default:i}}var f=new h.default;l.arrayDiff=f,f.tokenize=function(i){return i.slice()},f.join=f.removeEmpty=function(i){return i};function p(i,a,o){return f.diff(i,a,o)}}}),J=re({"src/document/doc-builders.js"(l,h){"use strict";ce();function s(T){return{type:"concat",parts:T}}function f(T){return{type:"indent",contents:T}}function p(T,c){return{type:"align",contents:c,n:T}}function i(T){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:c.id,contents:T,break:Boolean(c.shouldBreak),expandedStates:c.expandedStates}}function a(T){return p(Number.NEGATIVE_INFINITY,T)}function o(T){return p({type:"root"},T)}function d(T){return p(-1,T)}function m(T,c){return i(T[0],Object.assign(Object.assign({},c),{},{expandedStates:T}))}function x(T){return{type:"fill",parts:T}}function A(T,c){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:T,flatContents:c,groupId:C.groupId}}function b(T,c){return{type:"indent-if-break",contents:T,groupId:c.groupId,negate:c.negate}}function g(T){return{type:"line-suffix",contents:T}}var y={type:"line-suffix-boundary"},F={type:"break-parent"},j={type:"trim"},R={type:"line",hard:!0},w={type:"line",hard:!0,literal:!0},L={type:"line"},B={type:"line",soft:!0},$=s([R,F]),M=s([w,F]),K={type:"cursor",placeholder:Symbol("cursor")};function E(T,c){let C=[];for(let S=0;S<c.length;S++)S!==0&&C.push(T),C.push(c[S]);return s(C)}function N(T,c,C){let S=T;if(c>0){for(let P=0;P<Math.floor(c/C);++P)S=f(S);S=p(c%C,S),S=p(Number.NEGATIVE_INFINITY,S)}return S}function D(T,c){return{type:"label",label:T,contents:c}}h.exports={concat:s,join:E,line:L,softline:B,hardline:$,literalline:M,group:i,conditionalGroup:m,fill:x,lineSuffix:g,lineSuffixBoundary:y,cursor:K,breakParent:F,ifBreak:A,trim:j,indent:f,indentIfBreak:b,align:p,addAlignmentToDoc:N,markAsRoot:o,dedentToRoot:a,dedent:d,hardlineWithoutBreakParent:R,literallineWithoutBreakParent:w,label:D}}}),oe=re({"src/common/end-of-line.js"(l,h){"use strict";ce();function s(a){let o=a.indexOf("\r");return o>=0?a.charAt(o+1)===`
|
|
69
|
-
`?"crlf":"cr":"lf"}function
|
|
68
|
+
`}]}});var np=Ot(xi=>{Ze();et();"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION=xi.PUG_EMPTY_ATTRIBUTES_OPTION=void 0;var rp=wr();xi.PUG_EMPTY_ATTRIBUTES_OPTION={since:"1.10.0",category:rp.CATEGORY_PUG,type:"choice",default:"as-is",description:"Change behavior of boolean attributes.",choices:[{value:"as-is",description:"Nothing is changed."},{value:"none",description:"Every attribute with empty quotes will have them removed."},{value:"all",description:"Every boolean attribute will be expressed with empty quotes."}]};xi.PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION={since:"1.10.0",category:rp.CATEGORY_PUG,type:"path",default:[{value:[]}],array:!0,description:'Define a list of patterns for attributes that will be forced to have empty quotes even with "none" selected.'}});var Pa=Ot(vi=>{Ze();et();"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.resolvePugAttributeSeparatorOption=vi.PUG_ATTRIBUTE_SEPARATOR_OPTION=void 0;var Mg=wr();vi.PUG_ATTRIBUTE_SEPARATOR_OPTION={since:"1.6.0",category:Mg.CATEGORY_PUG,type:"choice",default:"always",description:"Change when attributes are separated by commas in tags.",choices:[{value:"always",description:'Always separate attributes with commas. Example: `button(type="submit", (click)="play()", disabled)`'},{value:"as-needed",description:'Only add commas between attributes where required. Example: `button(type="submit", (click)="play()" disabled)`'},{value:"none",description:'Never add commas between attributes. Example: `button(type="submit" @click="play()" :style="style" disabled)`'}]};function $g(t){switch(t){case"always":case"as-needed":case"none":return t}throw new Error(`Invalid option for pugAttributeSeparator. Found '${t}'. Possible options: 'always', 'as-needed' or 'none'`)}vi.resolvePugAttributeSeparatorOption=$g});var ip=Ot(Zs=>{Ze();et();"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.PUG_CLASS_LOCATION=void 0;var Vg=wr();Zs.PUG_CLASS_LOCATION={since:"1.19.0",category:Vg.CATEGORY_PUG,type:"choice",default:"before-attributes",description:"Define where classes be placed.",choices:[{value:"before-attributes",description:"Forces all valid class literals to be placed before attributes."},{value:"after-attributes",description:"Forces all valid class literals to be placed after attributes."}]}});var sp=Ot(eu=>{Ze();et();"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.PUG_CLASS_NOTATION=void 0;var Ug=wr();eu.PUG_CLASS_NOTATION={since:"1.13.0",category:Ug.CATEGORY_PUG,type:"choice",default:"literal",description:"Define how classes should be formatted.",choices:[{value:"literal",description:"Forces all valid classes to be printed as literals."},{value:"attribute",description:"Forces all valid classes to be printed in class attribute."},{value:"as-is",description:"Disables class formatting."}]}});var Ba=Ot(Ci=>{Ze();et();"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.formatPugCommentPreserveSpaces=Ci.PUG_COMMENT_PRESERVE_SPACES_OPTION=void 0;var Gg=wr();Ci.PUG_COMMENT_PRESERVE_SPACES_OPTION={since:"1.6.0",category:Gg.CATEGORY_PUG,type:"choice",default:"keep-all",description:"Change behavior of spaces within comments.",choices:[{value:"keep-all",description:"Keep all spaces within comments. Example: `// this is a comment`"},{value:"keep-leading",description:"Keep leading spaces within comments. Example: `// this is a comment`"},{value:"trim-all",description:"Trim all spaces within comments. Example: `// this is a comment`"}]};function qg(t,e,r=!1){switch(e){case"keep-leading":{let i="",p=0;for(p;p<t.length&&t[p]===" ";p++)i+=" ";return i+=t.slice(p).trim().replace(/\s\s+/g," "),i}case"trim-all":{let i=t.trim();return i=i.replace(/\s\s+/g," "),!r&&t[0]===" "&&(i=` ${i}`),i}case"keep-all":default:return t}}Ci.formatPugCommentPreserveSpaces=qg});var up=Ot(tu=>{Ze();et();"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.PUG_EXPLICIT_DIV=void 0;var Wg=wr();tu.PUG_EXPLICIT_DIV={since:"1.16.0",category:Wg.CATEGORY_PUG,type:"boolean",default:!1,description:"Include `div` tag when followed by literal class or id syntax"}});var ap=Ot(ru=>{Ze();et();"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.PUG_FRAMEWORK=void 0;var Jg=wr();ru.PUG_FRAMEWORK={since:"1.14.0",category:Jg.CATEGORY_PUG,type:"choice",default:"auto",description:"Define which framework is used in the project.",choices:[{value:"auto",description:"Try to identify used framework, if there is one."},{value:"vue",description:"Uses Vue.js."},{value:"svelte",description:"Uses Svelte."},{value:"angular",description:"Uses Angular."}]}});var op=Ot(nu=>{Ze();et();"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.PUG_ID_NOTATION=void 0;var Yg=wr();nu.PUG_ID_NOTATION={since:"1.13.0",category:Yg.CATEGORY_PUG,type:"choice",default:"literal",description:"Define how the id should be formatted.",choices:[{value:"literal",description:"Forces all valid ids to be printed as literals."},{value:"as-is",description:"Disables id formatting."}]}});var lp=Ot(iu=>{Ze();et();"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.PUG_PRESERVE_ATTRIBUTE_BRACKETS=void 0;var Xg=wr();iu.PUG_PRESERVE_ATTRIBUTE_BRACKETS={since:"2.2.0",category:Xg.CATEGORY_PUG,type:"boolean",default:!1,description:"Preserve attribute brackets."}});var cp=Ot(su=>{Ze();et();"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.PUG_SINGLE_FILE_COMPONENT_INDENTATION=void 0;var zg=wr();su.PUG_SINGLE_FILE_COMPONENT_INDENTATION={since:"1.9.0",category:zg.CATEGORY_PUG,type:"boolean",default:!1,description:"Indent pug in template tags in single file components such as from vue or svelte."}});var fp=Ot(bi=>{Ze();et();"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.PUG_WRAP_ATTRIBUTES_PATTERN=bi.PUG_WRAP_ATTRIBUTES_THRESHOLD=void 0;var pp=wr();bi.PUG_WRAP_ATTRIBUTES_THRESHOLD={since:"1.8.0",category:pp.CATEGORY_PUG,type:"int",default:-1,description:"The maximum amount of attributes that an element can appear with on one line before it gets wrapped.",range:{start:-1,end:1/0,step:1}};bi.PUG_WRAP_ATTRIBUTES_PATTERN={since:"1.8.0",category:pp.CATEGORY_PUG,type:"path",default:"",description:"Regex pattern to match attributes against that should always trigger wrapping."}});var mp=Ot(Ai=>{Ze();et();"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.CATEGORY_PUG=Ai.options=void 0;var Ia=ep(),wn=tp(),hp=np(),Hg=Pa(),Qg=ip(),Kg=sp(),Zg=Ba(),ey=up(),ty=ap(),ry=op(),ny=lp(),iy=cp(),dp=fp();Ai.options={pugPrintWidth:wn.PUG_PRINT_WIDTH_OPTION,pugSingleQuote:wn.PUG_SINGLE_QUOTE_OPTION,pugTabWidth:wn.PUG_TAB_WIDTH_OPTION,pugUseTabs:wn.PUG_USE_TABS_OPTION,pugBracketSpacing:wn.PUG_BRACKET_SPACING_OPTION,pugArrowParens:wn.PUG_ARROW_PARENS_OPTION,pugSemi:wn.PUG_SEMI_OPTION,pugBracketSameLine:wn.PUG_BRACKET_SAME_LINE_OPTION,pugAttributeSeparator:Hg.PUG_ATTRIBUTE_SEPARATOR_OPTION,pugCommentPreserveSpaces:Zg.PUG_COMMENT_PRESERVE_SPACES_OPTION,pugSortAttributes:Ia.PUG_SORT_ATTRIBUTES_OPTION,pugSortAttributesBeginning:Ia.PUG_SORT_ATTRIBUTES_BEGINNING_OPTION,pugSortAttributesEnd:Ia.PUG_SORT_ATTRIBUTES_END_OPTION,pugWrapAttributesThreshold:dp.PUG_WRAP_ATTRIBUTES_THRESHOLD,pugWrapAttributesPattern:dp.PUG_WRAP_ATTRIBUTES_PATTERN,pugEmptyAttributes:hp.PUG_EMPTY_ATTRIBUTES_OPTION,pugClassNotation:Kg.PUG_CLASS_NOTATION,pugIdNotation:ry.PUG_ID_NOTATION,pugClassLocation:Qg.PUG_CLASS_LOCATION,pugExplicitDiv:ey.PUG_EXPLICIT_DIV,pugEmptyAttributesForceQuotes:hp.PUG_EMPTY_ATTRIBUTES_FORCE_QUOTES_OPTION,pugSingleFileComponentIndentation:iy.PUG_SINGLE_FILE_COMPONENT_INDENTATION,pugFramework:ty.PUG_FRAMEWORK,pugPreserveAttributeBrackets:ny.PUG_PRESERVE_ATTRIBUTE_BRACKETS};var sy=wr();Object.defineProperty(Ai,"CATEGORY_PUG",{enumerable:!0,get:function(){return sy.CATEGORY_PUG}})});var gp=Ot(uu=>{Ze();et();"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.convergeOptions=void 0;function uy(t){return{printWidth:t.printWidth,pugPrintWidth:t.pugPrintWidth!==-1?t.pugPrintWidth:t.printWidth,singleQuote:t.singleQuote,pugSingleQuote:t.pugSingleQuote??t.singleQuote,tabWidth:t.tabWidth,pugTabWidth:t.pugTabWidth!==-1?t.pugTabWidth:t.tabWidth,useTabs:t.useTabs,pugUseTabs:t.pugUseTabs??t.useTabs,bracketSpacing:t.bracketSpacing,pugBracketSpacing:t.pugBracketSpacing??t.bracketSpacing,arrowParens:t.arrowParens,pugArrowParens:t.pugArrowParens??t.arrowParens,semi:t.semi,pugSemi:t.pugSemi??t.semi,bracketSameLine:t.bracketSameLine,pugBracketSameLine:t.pugBracketSameLine??t.bracketSameLine,pugAttributeSeparator:t.pugAttributeSeparator,pugCommentPreserveSpaces:t.pugCommentPreserveSpaces,pugSortAttributes:t.pugSortAttributes,pugSortAttributesBeginning:t.pugSortAttributesBeginning,pugSortAttributesEnd:t.pugSortAttributesEnd,pugWrapAttributesThreshold:t.pugWrapAttributesThreshold,pugWrapAttributesPattern:t.pugWrapAttributesPattern,pugClassNotation:t.pugClassNotation,pugIdNotation:t.pugIdNotation,pugClassLocation:t.pugClassLocation,pugEmptyAttributes:t.pugEmptyAttributes,pugEmptyAttributesForceQuotes:t.pugEmptyAttributesForceQuotes,pugSingleFileComponentIndentation:t.pugSingleFileComponentIndentation&&t.__embeddedInHtml===!0,pugFramework:t.pugFramework,pugExplicitDiv:t.pugExplicitDiv,pugPreserveAttributeBrackets:t.pugPreserveAttributeBrackets}}uu.convergeOptions=uy});var Dp=Ot((yp,Na)=>{Ze();et();(function(t){if(typeof yp=="object"&&typeof Na=="object")Na.exports=t();else if(typeof define=="function"&&define.amd)define(t);else{var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:this||{};e.prettier=t()}})(function(){"use strict";var t=(tt,be)=>()=>(be||tt((be={exports:{}}).exports,be),be.exports),e=t((tt,be)=>{var De=function(Fe){return Fe&&Fe.Math==Math&&Fe};be.exports=De(typeof globalThis=="object"&&globalThis)||De(typeof window=="object"&&window)||De(typeof self=="object"&&self)||De(typeof window=="object"&&window)||function(){return this}()||Function("return this")()}),r=t((tt,be)=>{be.exports=function(De){try{return!!De()}catch{return!0}}}),i=t((tt,be)=>{var De=r();be.exports=!De(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),p=t((tt,be)=>{var De=r();be.exports=!De(function(){var Fe=function(){}.bind();return typeof Fe!="function"||Fe.hasOwnProperty("prototype")})}),k=t((tt,be)=>{var De=p(),Fe=Function.prototype.call;be.exports=De?Fe.bind(Fe):function(){return Fe.apply(Fe,arguments)}}),B=t(tt=>{"use strict";var be={}.propertyIsEnumerable,De=Object.getOwnPropertyDescriptor,Fe=De&&!be.call({1:2},1);tt.f=Fe?function(Ce){var Oe=De(this,Ce);return!!Oe&&Oe.enumerable}:be}),se=t((tt,be)=>{be.exports=function(De,Fe){return{enumerable:!(De&1),configurable:!(De&2),writable:!(De&4),value:Fe}}}),ye=t((tt,be)=>{var De=p(),Fe=Function.prototype,Ce=Fe.call,Oe=De&&Fe.bind.bind(Ce,Ce);be.exports=De?Oe:function(Ue){return function(){return Ce.apply(Ue,arguments)}}}),je=t((tt,be)=>{var De=ye(),Fe=De({}.toString),Ce=De("".slice);be.exports=function(Oe){return Ce(Fe(Oe),8,-1)}}),Je=t((tt,be)=>{var De=ye(),Fe=r(),Ce=je(),Oe=Object,Ue=De("".split);be.exports=Fe(function(){return!Oe("z").propertyIsEnumerable(0)})?function(He){return Ce(He)=="String"?Ue(He,""):Oe(He)}:Oe}),Xe=t((tt,be)=>{be.exports=function(De){return De==null}}),dt=t((tt,be)=>{var De=Xe(),Fe=TypeError;be.exports=function(Ce){if(De(Ce))throw Fe("Can't call method on "+Ce);return Ce}}),Dt=t((tt,be)=>{var De=Je(),Fe=dt();be.exports=function(Ce){return De(Fe(Ce))}}),Et=t((tt,be)=>{var De=typeof document=="object"&&document.all,Fe=typeof De>"u"&&De!==void 0;be.exports={all:De,IS_HTMLDDA:Fe}}),It=t((tt,be)=>{var De=Et(),Fe=De.all;be.exports=De.IS_HTMLDDA?function(Ce){return typeof Ce=="function"||Ce===Fe}:function(Ce){return typeof Ce=="function"}}),or=t((tt,be)=>{var De=It(),Fe=Et(),Ce=Fe.all;be.exports=Fe.IS_HTMLDDA?function(Oe){return typeof Oe=="object"?Oe!==null:De(Oe)||Oe===Ce}:function(Oe){return typeof Oe=="object"?Oe!==null:De(Oe)}}),cr=t((tt,be)=>{var De=e(),Fe=It(),Ce=function(Oe){return Fe(Oe)?Oe:void 0};be.exports=function(Oe,Ue){return arguments.length<2?Ce(De[Oe]):De[Oe]&&De[Oe][Ue]}}),Ur=t((tt,be)=>{var De=ye();be.exports=De({}.isPrototypeOf)}),Yt=t((tt,be)=>{var De=cr();be.exports=De("navigator","userAgent")||""}),K=t((tt,be)=>{var De=e(),Fe=Yt(),Ce=De.process,Oe=De.Deno,Ue=Ce&&Ce.versions||Oe&&Oe.version,He=Ue&&Ue.v8,Ye,Ke;He&&(Ye=He.split("."),Ke=Ye[0]>0&&Ye[0]<4?1:+(Ye[0]+Ye[1])),!Ke&&Fe&&(Ye=Fe.match(/Edge\/(\d+)/),(!Ye||Ye[1]>=74)&&(Ye=Fe.match(/Chrome\/(\d+)/),Ye&&(Ke=+Ye[1]))),be.exports=Ke}),br=t((tt,be)=>{var De=K(),Fe=r();be.exports=!!Object.getOwnPropertySymbols&&!Fe(function(){var Ce=Symbol();return!String(Ce)||!(Object(Ce)instanceof Symbol)||!Symbol.sham&&De&&De<41})}),nn=t((tt,be)=>{var De=br();be.exports=De&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),sn=t((tt,be)=>{var De=cr(),Fe=It(),Ce=Ur(),Oe=nn(),Ue=Object;be.exports=Oe?function(He){return typeof He=="symbol"}:function(He){var Ye=De("Symbol");return Fe(Ye)&&Ce(Ye.prototype,Ue(He))}}),kn=t((tt,be)=>{var De=String;be.exports=function(Fe){try{return De(Fe)}catch{return"Object"}}}),xr=t((tt,be)=>{var De=It(),Fe=kn(),Ce=TypeError;be.exports=function(Oe){if(De(Oe))return Oe;throw Ce(Fe(Oe)+" is not a function")}}),Jn=t((tt,be)=>{var De=xr(),Fe=Xe();be.exports=function(Ce,Oe){var Ue=Ce[Oe];return Fe(Ue)?void 0:De(Ue)}}),mu=t((tt,be)=>{var De=k(),Fe=It(),Ce=or(),Oe=TypeError;be.exports=function(Ue,He){var Ye,Ke;if(He==="string"&&Fe(Ye=Ue.toString)&&!Ce(Ke=De(Ye,Ue))||Fe(Ye=Ue.valueOf)&&!Ce(Ke=De(Ye,Ue))||He!=="string"&&Fe(Ye=Ue.toString)&&!Ce(Ke=De(Ye,Ue)))return Ke;throw Oe("Can't convert object to primitive value")}}),gu=t((tt,be)=>{be.exports=!1}),mn=t((tt,be)=>{var De=e(),Fe=Object.defineProperty;be.exports=function(Ce,Oe){try{Fe(De,Ce,{value:Oe,configurable:!0,writable:!0})}catch{De[Ce]=Oe}return Oe}}),Yn=t((tt,be)=>{var De=e(),Fe=mn(),Ce="__core-js_shared__",Oe=De[Ce]||Fe(Ce,{});be.exports=Oe}),zr=t((tt,be)=>{var De=gu(),Fe=Yn();(be.exports=function(Ce,Oe){return Fe[Ce]||(Fe[Ce]=Oe!==void 0?Oe:{})})("versions",[]).push({version:"3.26.1",mode:De?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Hr=t((tt,be)=>{var De=dt(),Fe=Object;be.exports=function(Ce){return Fe(De(Ce))}}),Nr=t((tt,be)=>{var De=ye(),Fe=Hr(),Ce=De({}.hasOwnProperty);be.exports=Object.hasOwn||function(Oe,Ue){return Ce(Fe(Oe),Ue)}}),Xn=t((tt,be)=>{var De=ye(),Fe=0,Ce=Math.random(),Oe=De(1 .toString);be.exports=function(Ue){return"Symbol("+(Ue===void 0?"":Ue)+")_"+Oe(++Fe+Ce,36)}}),Gr=t((tt,be)=>{var De=e(),Fe=zr(),Ce=Nr(),Oe=Xn(),Ue=br(),He=nn(),Ye=Fe("wks"),Ke=De.Symbol,ft=Ke&&Ke.for,mt=He?Ke:Ke&&Ke.withoutSetter||Oe;be.exports=function(rt){if(!Ce(Ye,rt)||!(Ue||typeof Ye[rt]=="string")){var ht="Symbol."+rt;Ue&&Ce(Ke,rt)?Ye[rt]=Ke[rt]:He&&ft?Ye[rt]=ft(ht):Ye[rt]=mt(ht)}return Ye[rt]}}),yu=t((tt,be)=>{var De=k(),Fe=or(),Ce=sn(),Oe=Jn(),Ue=mu(),He=Gr(),Ye=TypeError,Ke=He("toPrimitive");be.exports=function(ft,mt){if(!Fe(ft)||Ce(ft))return ft;var rt=Oe(ft,Ke),ht;if(rt){if(mt===void 0&&(mt="default"),ht=De(rt,ft,mt),!Fe(ht)||Ce(ht))return ht;throw Ye("Can't convert object to primitive value")}return mt===void 0&&(mt="number"),Ue(ft,mt)}}),Si=t((tt,be)=>{var De=yu(),Fe=sn();be.exports=function(Ce){var Oe=De(Ce,"string");return Fe(Oe)?Oe:Oe+""}}),_n=t((tt,be)=>{var De=e(),Fe=or(),Ce=De.document,Oe=Fe(Ce)&&Fe(Ce.createElement);be.exports=function(Ue){return Oe?Ce.createElement(Ue):{}}}),gn=t((tt,be)=>{var De=i(),Fe=r(),Ce=_n();be.exports=!De&&!Fe(function(){return Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a!=7})}),zn=t(tt=>{var be=i(),De=k(),Fe=B(),Ce=se(),Oe=Dt(),Ue=Si(),He=Nr(),Ye=gn(),Ke=Object.getOwnPropertyDescriptor;tt.f=be?Ke:function(ft,mt){if(ft=Oe(ft),mt=Ue(mt),Ye)try{return Ke(ft,mt)}catch{}if(He(ft,mt))return Ce(!De(Fe.f,ft,mt),ft[mt])}}),Qi=t((tt,be)=>{var De=i(),Fe=r();be.exports=De&&Fe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),un=t((tt,be)=>{var De=or(),Fe=String,Ce=TypeError;be.exports=function(Oe){if(De(Oe))return Oe;throw Ce(Fe(Oe)+" is not an object")}}),yn=t(tt=>{var be=i(),De=gn(),Fe=Qi(),Ce=un(),Oe=Si(),Ue=TypeError,He=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,Ke="enumerable",ft="configurable",mt="writable";tt.f=be?Fe?function(rt,ht,ie){if(Ce(rt),ht=Oe(ht),Ce(ie),typeof rt=="function"&&ht==="prototype"&&"value"in ie&&mt in ie&&!ie[mt]){var vt=Ye(rt,ht);vt&&vt[mt]&&(rt[ht]=ie.value,ie={configurable:ft in ie?ie[ft]:vt[ft],enumerable:Ke in ie?ie[Ke]:vt[Ke],writable:!1})}return He(rt,ht,ie)}:He:function(rt,ht,ie){if(Ce(rt),ht=Oe(ht),Ce(ie),De)try{return He(rt,ht,ie)}catch{}if("get"in ie||"set"in ie)throw Ue("Accessors not supported");return"value"in ie&&(rt[ht]=ie.value),rt}}),wi=t((tt,be)=>{var De=i(),Fe=yn(),Ce=se();be.exports=De?function(Oe,Ue,He){return Fe.f(Oe,Ue,Ce(1,He))}:function(Oe,Ue,He){return Oe[Ue]=He,Oe}}),Ki=t((tt,be)=>{var De=i(),Fe=Nr(),Ce=Function.prototype,Oe=De&&Object.getOwnPropertyDescriptor,Ue=Fe(Ce,"name"),He=Ue&&function(){}.name==="something",Ye=Ue&&(!De||De&&Oe(Ce,"name").configurable);be.exports={EXISTS:Ue,PROPER:He,CONFIGURABLE:Ye}}),Ti=t((tt,be)=>{var De=ye(),Fe=It(),Ce=Yn(),Oe=De(Function.toString);Fe(Ce.inspectSource)||(Ce.inspectSource=function(Ue){return Oe(Ue)}),be.exports=Ce.inspectSource}),ki=t((tt,be)=>{var De=e(),Fe=It(),Ce=De.WeakMap;be.exports=Fe(Ce)&&/native code/.test(String(Ce))}),Zi=t((tt,be)=>{var De=zr(),Fe=Xn(),Ce=De("keys");be.exports=function(Oe){return Ce[Oe]||(Ce[Oe]=Fe(Oe))}}),Hn=t((tt,be)=>{be.exports={}}),qr=t((tt,be)=>{var De=ki(),Fe=e(),Ce=or(),Oe=wi(),Ue=Nr(),He=Yn(),Ye=Zi(),Ke=Hn(),ft="Object already initialized",mt=Fe.TypeError,rt=Fe.WeakMap,ht,ie,vt,Bt=function(pe){return vt(pe)?ie(pe):ht(pe,{})},qt=function(pe){return function(n){var a;if(!Ce(n)||(a=ie(n)).type!==pe)throw mt("Incompatible receiver, "+pe+" required");return a}};De||He.state?(Ut=He.state||(He.state=new rt),Ut.get=Ut.get,Ut.has=Ut.has,Ut.set=Ut.set,ht=function(pe,n){if(Ut.has(pe))throw mt(ft);return n.facade=pe,Ut.set(pe,n),n},ie=function(pe){return Ut.get(pe)||{}},vt=function(pe){return Ut.has(pe)}):(sr=Ye("state"),Ke[sr]=!0,ht=function(pe,n){if(Ue(pe,sr))throw mt(ft);return n.facade=pe,Oe(pe,sr,n),n},ie=function(pe){return Ue(pe,sr)?pe[sr]:{}},vt=function(pe){return Ue(pe,sr)});var Ut,sr;be.exports={set:ht,get:ie,has:vt,enforce:Bt,getterFor:qt}}),_i=t((tt,be)=>{var De=r(),Fe=It(),Ce=Nr(),Oe=i(),Ue=Ki().CONFIGURABLE,He=Ti(),Ye=qr(),Ke=Ye.enforce,ft=Ye.get,mt=Object.defineProperty,rt=Oe&&!De(function(){return mt(function(){},"length",{value:8}).length!==8}),ht=String(String).split("String"),ie=be.exports=function(vt,Bt,qt){String(Bt).slice(0,7)==="Symbol("&&(Bt="["+String(Bt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),qt&&qt.getter&&(Bt="get "+Bt),qt&&qt.setter&&(Bt="set "+Bt),(!Ce(vt,"name")||Ue&&vt.name!==Bt)&&(Oe?mt(vt,"name",{value:Bt,configurable:!0}):vt.name=Bt),rt&&qt&&Ce(qt,"arity")&&vt.length!==qt.arity&&mt(vt,"length",{value:qt.arity});try{qt&&Ce(qt,"constructor")&&qt.constructor?Oe&&mt(vt,"prototype",{writable:!1}):vt.prototype&&(vt.prototype=void 0)}catch{}var Ut=Ke(vt);return Ce(Ut,"source")||(Ut.source=ht.join(typeof Bt=="string"?Bt:"")),vt};Function.prototype.toString=ie(function(){return Fe(this)&&ft(this).source||He(this)},"toString")}),es=t((tt,be)=>{var De=It(),Fe=yn(),Ce=_i(),Oe=mn();be.exports=function(Ue,He,Ye,Ke){Ke||(Ke={});var ft=Ke.enumerable,mt=Ke.name!==void 0?Ke.name:He;if(De(Ye)&&Ce(Ye,mt,Ke),Ke.global)ft?Ue[He]=Ye:Oe(He,Ye);else{try{Ke.unsafe?Ue[He]&&(ft=!0):delete Ue[He]}catch{}ft?Ue[He]=Ye:Fe.f(Ue,He,{value:Ye,enumerable:!1,configurable:!Ke.nonConfigurable,writable:!Ke.nonWritable})}return Ue}}),ts=t((tt,be)=>{var De=Math.ceil,Fe=Math.floor;be.exports=Math.trunc||function(Ce){var Oe=+Ce;return(Oe>0?Fe:De)(Oe)}}),nr=t((tt,be)=>{var De=ts();be.exports=function(Fe){var Ce=+Fe;return Ce!==Ce||Ce===0?0:De(Ce)}}),an=t((tt,be)=>{var De=nr(),Fe=Math.max,Ce=Math.min;be.exports=function(Oe,Ue){var He=De(Oe);return He<0?Fe(He+Ue,0):Ce(He,Ue)}}),vr=t((tt,be)=>{var De=nr(),Fe=Math.min;be.exports=function(Ce){return Ce>0?Fe(De(Ce),9007199254740991):0}}),Pn=t((tt,be)=>{var De=vr();be.exports=function(Fe){return De(Fe.length)}}),Qn=t((tt,be)=>{var De=Dt(),Fe=an(),Ce=Pn(),Oe=function(Ue){return function(He,Ye,Ke){var ft=De(He),mt=Ce(ft),rt=Fe(Ke,mt),ht;if(Ue&&Ye!=Ye){for(;mt>rt;)if(ht=ft[rt++],ht!=ht)return!0}else for(;mt>rt;rt++)if((Ue||rt in ft)&&ft[rt]===Ye)return Ue||rt||0;return!Ue&&-1}};be.exports={includes:Oe(!0),indexOf:Oe(!1)}}),jt=t((tt,be)=>{var De=ye(),Fe=Nr(),Ce=Dt(),Oe=Qn().indexOf,Ue=Hn(),He=De([].push);be.exports=function(Ye,Ke){var ft=Ce(Ye),mt=0,rt=[],ht;for(ht in ft)!Fe(Ue,ht)&&Fe(ft,ht)&&He(rt,ht);for(;Ke.length>mt;)Fe(ft,ht=Ke[mt++])&&(~Oe(rt,ht)||He(rt,ht));return rt}}),Pi=t((tt,be)=>{be.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Du=t(tt=>{var be=jt(),De=Pi(),Fe=De.concat("length","prototype");tt.f=Object.getOwnPropertyNames||function(Ce){return be(Ce,Fe)}}),Eu=t(tt=>{tt.f=Object.getOwnPropertySymbols}),Bn=t((tt,be)=>{var De=cr(),Fe=ye(),Ce=Du(),Oe=Eu(),Ue=un(),He=Fe([].concat);be.exports=De("Reflect","ownKeys")||function(Ye){var Ke=Ce.f(Ue(Ye)),ft=Oe.f;return ft?He(Ke,ft(Ye)):Ke}}),Bi=t((tt,be)=>{var De=Nr(),Fe=Bn(),Ce=zn(),Oe=yn();be.exports=function(Ue,He,Ye){for(var Ke=Fe(He),ft=Oe.f,mt=Ce.f,rt=0;rt<Ke.length;rt++){var ht=Ke[rt];!De(Ue,ht)&&!(Ye&&De(Ye,ht))&&ft(Ue,ht,mt(He,ht))}}}),rs=t((tt,be)=>{var De=r(),Fe=It(),Ce=/#|\.prototype\./,Oe=function(ft,mt){var rt=He[Ue(ft)];return rt==Ke?!0:rt==Ye?!1:Fe(mt)?De(mt):!!mt},Ue=Oe.normalize=function(ft){return String(ft).replace(Ce,".").toLowerCase()},He=Oe.data={},Ye=Oe.NATIVE="N",Ke=Oe.POLYFILL="P";be.exports=Oe}),Tr=t((tt,be)=>{var De=e(),Fe=zn().f,Ce=wi(),Oe=es(),Ue=mn(),He=Bi(),Ye=rs();be.exports=function(Ke,ft){var mt=Ke.target,rt=Ke.global,ht=Ke.stat,ie,vt,Bt,qt,Ut,sr;if(rt?vt=De:ht?vt=De[mt]||Ue(mt,{}):vt=(De[mt]||{}).prototype,vt)for(Bt in ft){if(Ut=ft[Bt],Ke.dontCallGetSet?(sr=Fe(vt,Bt),qt=sr&&sr.value):qt=vt[Bt],ie=Ye(rt?Bt:mt+(ht?".":"#")+Bt,Ke.forced),!ie&&qt!==void 0){if(typeof Ut==typeof qt)continue;He(Ut,qt)}(Ke.sham||qt&&qt.sham)&&Ce(Ut,"sham",!0),Oe(vt,Bt,Ut,Ke)}}}),Gt=t((tt,be)=>{var De=je();be.exports=Array.isArray||function(Fe){return De(Fe)=="Array"}}),xu=t((tt,be)=>{var De=TypeError,Fe=9007199254740991;be.exports=function(Ce){if(Ce>Fe)throw De("Maximum allowed index exceeded");return Ce}}),Kn=t((tt,be)=>{var De=je(),Fe=ye();be.exports=function(Ce){if(De(Ce)==="Function")return Fe(Ce)}}),Wr=t((tt,be)=>{var De=Kn(),Fe=xr(),Ce=p(),Oe=De(De.bind);be.exports=function(Ue,He){return Fe(Ue),He===void 0?Ue:Ce?Oe(Ue,He):function(){return Ue.apply(He,arguments)}}}),ns=t((tt,be)=>{"use strict";var De=Gt(),Fe=Pn(),Ce=xu(),Oe=Wr(),Ue=function(He,Ye,Ke,ft,mt,rt,ht,ie){for(var vt=mt,Bt=0,qt=ht?Oe(ht,ie):!1,Ut,sr;Bt<ft;)Bt in Ke&&(Ut=qt?qt(Ke[Bt],Bt,Ye):Ke[Bt],rt>0&&De(Ut)?(sr=Fe(Ut),vt=Ue(He,Ye,Ut,sr,vt,rt-1)-1):(Ce(vt+1),He[vt]=Ut),vt++),Bt++;return vt};be.exports=Ue}),Zn=t((tt,be)=>{var De=Gr(),Fe=De("toStringTag"),Ce={};Ce[Fe]="z",be.exports=String(Ce)==="[object z]"}),In=t((tt,be)=>{var De=Zn(),Fe=It(),Ce=je(),Oe=Gr(),Ue=Oe("toStringTag"),He=Object,Ye=Ce(function(){return arguments}())=="Arguments",Ke=function(ft,mt){try{return ft[mt]}catch{}};be.exports=De?Ce:function(ft){var mt,rt,ht;return ft===void 0?"Undefined":ft===null?"Null":typeof(rt=Ke(mt=He(ft),Ue))=="string"?rt:Ye?Ce(mt):(ht=Ce(mt))=="Object"&&Fe(mt.callee)?"Arguments":ht}}),is=t((tt,be)=>{var De=ye(),Fe=r(),Ce=It(),Oe=In(),Ue=cr(),He=Ti(),Ye=function(){},Ke=[],ft=Ue("Reflect","construct"),mt=/^\s*(?:class|function)\b/,rt=De(mt.exec),ht=!mt.exec(Ye),ie=function(Bt){if(!Ce(Bt))return!1;try{return ft(Ye,Ke,Bt),!0}catch{return!1}},vt=function(Bt){if(!Ce(Bt))return!1;switch(Oe(Bt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ht||!!rt(mt,He(Bt))}catch{return!0}};vt.sham=!0,be.exports=!ft||Fe(function(){var Bt;return ie(ie.call)||!ie(Object)||!ie(function(){Bt=!0})||Bt})?vt:ie}),kr=t((tt,be)=>{var De=Gt(),Fe=is(),Ce=or(),Oe=Gr(),Ue=Oe("species"),He=Array;be.exports=function(Ye){var Ke;return De(Ye)&&(Ke=Ye.constructor,Fe(Ke)&&(Ke===He||De(Ke.prototype))?Ke=void 0:Ce(Ke)&&(Ke=Ke[Ue],Ke===null&&(Ke=void 0))),Ke===void 0?He:Ke}}),ar=t((tt,be)=>{var De=kr();be.exports=function(Fe,Ce){return new(De(Fe))(Ce===0?0:Ce)}}),ei=t(()=>{"use strict";var tt=Tr(),be=ns(),De=xr(),Fe=Hr(),Ce=Pn(),Oe=ar();tt({target:"Array",proto:!0},{flatMap:function(Ue){var He=Fe(this),Ye=Ce(He),Ke;return De(Ue),Ke=Oe(He,0),Ke.length=be(Ke,He,He,Ye,0,1,Ue,arguments.length>1?arguments[1]:void 0),Ke}})}),Ii=t((tt,be)=>{be.exports={}}),ss=t((tt,be)=>{var De=Gr(),Fe=Ii(),Ce=De("iterator"),Oe=Array.prototype;be.exports=function(Ue){return Ue!==void 0&&(Fe.Array===Ue||Oe[Ce]===Ue)}}),us=t((tt,be)=>{var De=In(),Fe=Jn(),Ce=Xe(),Oe=Ii(),Ue=Gr(),He=Ue("iterator");be.exports=function(Ye){if(!Ce(Ye))return Fe(Ye,He)||Fe(Ye,"@@iterator")||Oe[De(Ye)]}}),vu=t((tt,be)=>{var De=k(),Fe=xr(),Ce=un(),Oe=kn(),Ue=us(),He=TypeError;be.exports=function(Ye,Ke){var ft=arguments.length<2?Ue(Ye):Ke;if(Fe(ft))return Ce(De(ft,Ye));throw He(Oe(Ye)+" is not iterable")}}),as=t((tt,be)=>{var De=k(),Fe=un(),Ce=Jn();be.exports=function(Oe,Ue,He){var Ye,Ke;Fe(Oe);try{if(Ye=Ce(Oe,"return"),!Ye){if(Ue==="throw")throw He;return He}Ye=De(Ye,Oe)}catch(ft){Ke=!0,Ye=ft}if(Ue==="throw")throw He;if(Ke)throw Ye;return Fe(Ye),He}}),os=t((tt,be)=>{var De=Wr(),Fe=k(),Ce=un(),Oe=kn(),Ue=ss(),He=Pn(),Ye=Ur(),Ke=vu(),ft=us(),mt=as(),rt=TypeError,ht=function(vt,Bt){this.stopped=vt,this.result=Bt},ie=ht.prototype;be.exports=function(vt,Bt,qt){var Ut=qt&&qt.that,sr=!!(qt&&qt.AS_ENTRIES),pe=!!(qt&&qt.IS_RECORD),n=!!(qt&&qt.IS_ITERATOR),a=!!(qt&&qt.INTERRUPTED),j=De(Bt,Ut),X,le,Ie,$e,ot,Ct,Wt,Qt=function(lr){return X&&mt(X,"normal",lr),new ht(!0,lr)},pr=function(lr){return sr?(Ce(lr),a?j(lr[0],lr[1],Qt):j(lr[0],lr[1])):a?j(lr,Qt):j(lr)};if(pe)X=vt.iterator;else if(n)X=vt;else{if(le=ft(vt),!le)throw rt(Oe(vt)+" is not iterable");if(Ue(le)){for(Ie=0,$e=He(vt);$e>Ie;Ie++)if(ot=pr(vt[Ie]),ot&&Ye(ie,ot))return ot;return new ht(!1)}X=Ke(vt,le)}for(Ct=pe?vt.next:X.next;!(Wt=Fe(Ct,X)).done;){try{ot=pr(Wt.value)}catch(lr){mt(X,"throw",lr)}if(typeof ot=="object"&&ot&&Ye(ie,ot))return ot}return new ht(!1)}}),ls=t((tt,be)=>{"use strict";var De=Si(),Fe=yn(),Ce=se();be.exports=function(Oe,Ue,He){var Ye=De(Ue);Ye in Oe?Fe.f(Oe,Ye,Ce(0,He)):Oe[Ye]=He}}),Cu=t(()=>{var tt=Tr(),be=os(),De=ls();tt({target:"Object",stat:!0},{fromEntries:function(Fe){var Ce={};return be(Fe,function(Oe,Ue){De(Ce,Oe,Ue)},{AS_ENTRIES:!0}),Ce}})}),bu=t((tt,be)=>{var De=_i(),Fe=yn();be.exports=function(Ce,Oe,Ue){return Ue.get&&De(Ue.get,Oe,{getter:!0}),Ue.set&&De(Ue.set,Oe,{setter:!0}),Fe.f(Ce,Oe,Ue)}}),cs=t((tt,be)=>{"use strict";var De=un();be.exports=function(){var Fe=De(this),Ce="";return Fe.hasIndices&&(Ce+="d"),Fe.global&&(Ce+="g"),Fe.ignoreCase&&(Ce+="i"),Fe.multiline&&(Ce+="m"),Fe.dotAll&&(Ce+="s"),Fe.unicode&&(Ce+="u"),Fe.unicodeSets&&(Ce+="v"),Fe.sticky&&(Ce+="y"),Ce}}),Ni=t(()=>{var tt=e(),be=i(),De=bu(),Fe=cs(),Ce=r(),Oe=tt.RegExp,Ue=Oe.prototype,He=be&&Ce(function(){var Ye=!0;try{Oe(".","d")}catch{Ye=!1}var Ke={},ft="",mt=Ye?"dgimsy":"gimsy",rt=function(Bt,qt){Object.defineProperty(Ke,Bt,{get:function(){return ft+=qt,!0}})},ht={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ye&&(ht.hasIndices="d");for(var ie in ht)rt(ie,ht[ie]);var vt=Object.getOwnPropertyDescriptor(Ue,"flags").get.call(Ke);return vt!==mt||ft!==mt});He&&De(Ue,"flags",{configurable:!0,get:Fe})}),Tt=t(()=>{var tt=Tr(),be=e();tt({global:!0,forced:be.globalThis!==be},{globalThis:be})}),Jr=t(()=>{Tt()}),ti=t(()=>{"use strict";var tt=Tr(),be=ns(),De=Hr(),Fe=Pn(),Ce=nr(),Oe=ar();tt({target:"Array",proto:!0},{flat:function(){var Ue=arguments.length?arguments[0]:void 0,He=De(this),Ye=Fe(He),Ke=Oe(He,0);return Ke.length=be(Ke,He,He,Ye,0,Ue===void 0?1:Ce(Ue)),Ke}})}),ps=t((tt,be)=>{var De=["cliName","cliCategory","cliDescription"],Fe=["_"],Ce=["languageId"];function Oe(c,g){if(c==null)return{};var u=Ue(c,g),d,h;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(c);for(h=0;h<s.length;h++)d=s[h],!(g.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(c,d)&&(u[d]=c[d])}return u}function Ue(c,g){if(c==null)return{};var u={},d=Object.keys(c),h,s;for(s=0;s<d.length;s++)h=d[s],!(g.indexOf(h)>=0)&&(u[h]=c[h]);return u}ei(),Cu(),Ni(),Jr(),ti();var He=Object.create,Ye=Object.defineProperty,Ke=Object.getOwnPropertyDescriptor,ft=Object.getOwnPropertyNames,mt=Object.getPrototypeOf,rt=Object.prototype.hasOwnProperty,ht=(c,g)=>function(){return c&&(g=(0,c[ft(c)[0]])(c=0)),g},ie=(c,g)=>function(){return g||(0,c[ft(c)[0]])((g={exports:{}}).exports,g),g.exports},vt=(c,g)=>{for(var u in g)Ye(c,u,{get:g[u],enumerable:!0})},Bt=(c,g,u,d)=>{if(g&&typeof g=="object"||typeof g=="function")for(let h of ft(g))!rt.call(c,h)&&h!==u&&Ye(c,h,{get:()=>g[h],enumerable:!(d=Ke(g,h))||d.enumerable});return c},qt=(c,g,u)=>(u=c!=null?He(mt(c)):{},Bt(g||!c||!c.__esModule?Ye(u,"default",{value:c,enumerable:!0}):u,c)),Ut=c=>Bt(Ye({},"__esModule",{value:!0}),c),sr,pe=ht({"<define:process>"(){sr={env:{},argv:[]}}}),n=ie({"package.json"(c,g){g.exports={version:"2.8.8"}}}),a=ie({"node_modules/diff/lib/diff/base.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0}),c.default=g;function g(){}g.prototype={diff:function(h,s){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=o.callback;typeof o=="function"&&(l=o,o={}),this.options=o;var m=this;function D(_){return l?(setTimeout(function(){l(void 0,_)},0),!0):_}h=this.castInput(h),s=this.castInput(s),h=this.removeEmpty(this.tokenize(h)),s=this.removeEmpty(this.tokenize(s));var A=s.length,F=h.length,C=1,y=A+F,E=[{newPos:-1,components:[]}],w=this.extractCommon(E[0],s,h,0);if(E[0].newPos+1>=A&&w+1>=F)return D([{value:this.join(s),count:s.length}]);function $(){for(var _=-1*C;_<=C;_+=2){var M=void 0,L=E[_-1],G=E[_+1],U=(G?G.newPos:0)-_;L&&(E[_-1]=void 0);var ee=L&&L.newPos+1<A,v=G&&0<=U&&U<F;if(!ee&&!v){E[_]=void 0;continue}if(!ee||v&&L.newPos<G.newPos?(M=d(G),m.pushComponent(M.components,void 0,!0)):(M=L,M.newPos++,m.pushComponent(M.components,!0,void 0)),U=m.extractCommon(M,s,h,_),M.newPos+1>=A&&U+1>=F)return D(u(m,M.components,s,h,m.useLongestToken));E[_]=M}C++}if(l)(function _(){setTimeout(function(){if(C>y)return l();$()||_()},0)})();else for(;C<=y;){var V=$();if(V)return V}},pushComponent:function(h,s,o){var l=h[h.length-1];l&&l.added===s&&l.removed===o?h[h.length-1]={count:l.count+1,added:s,removed:o}:h.push({count:1,added:s,removed:o})},extractCommon:function(h,s,o,l){for(var m=s.length,D=o.length,A=h.newPos,F=A-l,C=0;A+1<m&&F+1<D&&this.equals(s[A+1],o[F+1]);)A++,F++,C++;return C&&h.components.push({count:C}),h.newPos=A,F},equals:function(h,s){return this.options.comparator?this.options.comparator(h,s):h===s||this.options.ignoreCase&&h.toLowerCase()===s.toLowerCase()},removeEmpty:function(h){for(var s=[],o=0;o<h.length;o++)h[o]&&s.push(h[o]);return s},castInput:function(h){return h},tokenize:function(h){return h.split("")},join:function(h){return h.join("")}};function u(h,s,o,l,m){for(var D=0,A=s.length,F=0,C=0;D<A;D++){var y=s[D];if(y.removed){if(y.value=h.join(l.slice(C,C+y.count)),C+=y.count,D&&s[D-1].added){var E=s[D-1];s[D-1]=s[D],s[D]=E}}else{if(!y.added&&m){var w=o.slice(F,F+y.count);w=w.map(function(V,_){var M=l[C+_];return M.length>V.length?M:V}),y.value=h.join(w)}else y.value=h.join(o.slice(F,F+y.count));F+=y.count,y.added||(C+=y.count)}}var $=s[A-1];return A>1&&typeof $.value=="string"&&($.added||$.removed)&&h.equals("",$.value)&&(s[A-2].value+=$.value,s.pop()),s}function d(h){return{newPos:h.newPos,components:h.components.slice(0)}}}}),j=ie({"node_modules/diff/lib/diff/array.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0}),c.diffArrays=h,c.arrayDiff=void 0;var g=u(a());function u(s){return s&&s.__esModule?s:{default:s}}var d=new g.default;c.arrayDiff=d,d.tokenize=function(s){return s.slice()},d.join=d.removeEmpty=function(s){return s};function h(s,o,l){return d.diff(s,o,l)}}}),X=ie({"src/document/doc-builders.js"(c,g){"use strict";pe();function u(T){return{type:"concat",parts:T}}function d(T){return{type:"indent",contents:T}}function h(T,f){return{type:"align",contents:f,n:T}}function s(T){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:f.id,contents:T,break:Boolean(f.shouldBreak),expandedStates:f.expandedStates}}function o(T){return h(Number.NEGATIVE_INFINITY,T)}function l(T){return h({type:"root"},T)}function m(T){return h(-1,T)}function D(T,f){return s(T[0],Object.assign(Object.assign({},f),{},{expandedStates:T}))}function A(T){return{type:"fill",parts:T}}function F(T,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:T,flatContents:f,groupId:b.groupId}}function C(T,f){return{type:"indent-if-break",contents:T,groupId:f.groupId,negate:f.negate}}function y(T){return{type:"line-suffix",contents:T}}var E={type:"line-suffix-boundary"},w={type:"break-parent"},$={type:"trim"},V={type:"line",hard:!0},_={type:"line",hard:!0,literal:!0},M={type:"line"},L={type:"line",soft:!0},G=u([V,w]),U=u([_,w]),ee={type:"cursor",placeholder:Symbol("cursor")};function v(T,f){let b=[];for(let S=0;S<f.length;S++)S!==0&&b.push(T),b.push(f[S]);return u(b)}function O(T,f,b){let S=T;if(f>0){for(let I=0;I<Math.floor(f/b);++I)S=d(S);S=h(f%b,S),S=h(Number.NEGATIVE_INFINITY,S)}return S}function x(T,f){return{type:"label",label:T,contents:f}}g.exports={concat:u,join:v,line:M,softline:L,hardline:G,literalline:U,group:s,conditionalGroup:D,fill:A,lineSuffix:y,lineSuffixBoundary:E,cursor:ee,breakParent:w,ifBreak:F,trim:$,indent:d,indentIfBreak:C,align:h,addAlignmentToDoc:O,markAsRoot:l,dedentToRoot:o,dedent:m,hardlineWithoutBreakParent:V,literallineWithoutBreakParent:_,label:x}}}),le=ie({"src/common/end-of-line.js"(c,g){"use strict";pe();function u(o){let l=o.indexOf("\r");return l>=0?o.charAt(l+1)===`
|
|
69
|
+
`?"crlf":"cr":"lf"}function d(o){switch(o){case"cr":return"\r";case"crlf":return`\r
|
|
70
70
|
`;default:return`
|
|
71
|
-
`}}function
|
|
72
|
-
`:
|
|
73
|
-
`:
|
|
74
|
-
`)}h.exports={guessEndOfLine:s,convertEndOfLineToChars:f,countEndOfLineChars:p,normalizeEndOfLine:i}}}),Be=re({"src/utils/get-last.js"(l,h){"use strict";ce();var s=f=>f[f.length-1];h.exports=s}});function Re(){let{onlyFirst:l=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=["[\\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(h,l?void 0:"g")}var tt=at({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){ce()}});function dt(l){if(typeof l!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof l}\``);return l.replace(Re(),"")}var $t=at({"node_modules/strip-ansi/index.js"(){ce(),tt()}});function Ht(l){return Number.isInteger(l)?l>=4352&&(l<=4447||l===9001||l===9002||11904<=l&&l<=12871&&l!==12351||12880<=l&&l<=19903||19968<=l&&l<=42182||43360<=l&&l<=43388||44032<=l&&l<=55203||63744<=l&&l<=64255||65040<=l&&l<=65049||65072<=l&&l<=65131||65281<=l&&l<=65376||65504<=l&&l<=65510||110592<=l&&l<=110593||127488<=l&&l<=127569||131072<=l&&l<=262141):!1}var cr=at({"node_modules/is-fullwidth-code-point/index.js"(){ce()}}),or=re({"node_modules/emoji-regex/index.js"(l,h){"use strict";ce(),h.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\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])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\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|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\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]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\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\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\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-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*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\u26A7\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-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\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[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Kr={};ft(Kr,{default:()=>Mn});function Mn(l){if(typeof l!="string"||l.length===0||(l=dt(l),l.length===0))return 0;l=l.replace((0,Zr.default)()," ");let h=0;for(let s=0;s<l.length;s++){let f=l.codePointAt(s);f<=31||f>=127&&f<=159||f>=768&&f<=879||(f>65535&&s++,h+=Ht(f)?2:1)}return h}var Zr,an=at({"node_modules/string-width/index.js"(){ce(),$t(),cr(),Zr=Mt(or())}}),ja=re({"src/utils/get-string-width.js"(l,h){"use strict";ce();var s=(an(),Ot(Kr)).default,f=/[^\x20-\x7F]/;function p(i){return i?f.test(i)?s(i):i.length:0}h.exports=p}}),Di=re({"src/document/doc-utils.js"(l,h){"use strict";ce();var s=Be(),{literalline:f,join:p}=J(),i=c=>Array.isArray(c)||c&&c.type==="concat",a=c=>{if(Array.isArray(c))return c;if(c.type!=="concat"&&c.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return c.parts},o={};function d(c,C,S,P){let _=[c];for(;_.length>0;){let I=_.pop();if(I===o){S(_.pop());continue}if(S&&_.push(I,o),!C||C(I)!==!1)if(i(I)||I.type==="fill"){let U=a(I);for(let z=U.length,Q=z-1;Q>=0;--Q)_.push(U[Q])}else if(I.type==="if-break")I.flatContents&&_.push(I.flatContents),I.breakContents&&_.push(I.breakContents);else if(I.type==="group"&&I.expandedStates)if(P)for(let U=I.expandedStates.length,z=U-1;z>=0;--z)_.push(I.expandedStates[z]);else _.push(I.contents);else I.contents&&_.push(I.contents)}}function m(c,C){let S=new Map;return P(c);function P(I){if(S.has(I))return S.get(I);let U=_(I);return S.set(I,U),U}function _(I){if(Array.isArray(I))return C(I.map(P));if(I.type==="concat"||I.type==="fill"){let U=I.parts.map(P);return C(Object.assign(Object.assign({},I),{},{parts:U}))}if(I.type==="if-break"){let U=I.breakContents&&P(I.breakContents),z=I.flatContents&&P(I.flatContents);return C(Object.assign(Object.assign({},I),{},{breakContents:U,flatContents:z}))}if(I.type==="group"&&I.expandedStates){let U=I.expandedStates.map(P),z=U[0];return C(Object.assign(Object.assign({},I),{},{contents:z,expandedStates:U}))}if(I.contents){let U=P(I.contents);return C(Object.assign(Object.assign({},I),{},{contents:U}))}return C(I)}}function x(c,C,S){let P=S,_=!1;function I(U){let z=C(U);if(z!==void 0&&(_=!0,P=z),_)return!1}return d(c,I),P}function A(c){if(c.type==="group"&&c.break||c.type==="line"&&c.hard||c.type==="break-parent")return!0}function b(c){return x(c,A,!1)}function g(c){if(c.length>0){let C=s(c);!C.expandedStates&&!C.break&&(C.break="propagated")}return null}function y(c){let C=new Set,S=[];function P(I){if(I.type==="break-parent"&&g(S),I.type==="group"){if(S.push(I),C.has(I))return!1;C.add(I)}}function _(I){I.type==="group"&&S.pop().break&&g(S)}d(c,P,_,!0)}function F(c){return c.type==="line"&&!c.hard?c.soft?"":" ":c.type==="if-break"?c.flatContents||"":c}function j(c){return m(c,F)}var R=(c,C)=>c&&c.type==="line"&&c.hard&&C&&C.type==="break-parent";function w(c){if(!c)return c;if(i(c)||c.type==="fill"){let C=a(c);for(;C.length>1&&R(...C.slice(-2));)C.length-=2;if(C.length>0){let S=w(s(C));C[C.length-1]=S}return Array.isArray(c)?C:Object.assign(Object.assign({},c),{},{parts:C})}switch(c.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let C=w(c.contents);return Object.assign(Object.assign({},c),{},{contents:C})}case"if-break":{let C=w(c.breakContents),S=w(c.flatContents);return Object.assign(Object.assign({},c),{},{breakContents:C,flatContents:S})}}return c}function L(c){return w($(c))}function B(c){switch(c.type){case"fill":if(c.parts.every(S=>S===""))return"";break;case"group":if(!c.contents&&!c.id&&!c.break&&!c.expandedStates)return"";if(c.contents.type==="group"&&c.contents.id===c.id&&c.contents.break===c.break&&c.contents.expandedStates===c.expandedStates)return c.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!c.contents)return"";break;case"if-break":if(!c.flatContents&&!c.breakContents)return"";break}if(!i(c))return c;let C=[];for(let S of a(c)){if(!S)continue;let[P,..._]=i(S)?a(S):[S];typeof P=="string"&&typeof s(C)=="string"?C[C.length-1]+=P:C.push(P),C.push(..._)}return C.length===0?"":C.length===1?C[0]:Array.isArray(c)?C:Object.assign(Object.assign({},c),{},{parts:C})}function $(c){return m(c,C=>B(C))}function M(c){let C=[],S=c.filter(Boolean);for(;S.length>0;){let P=S.shift();if(P){if(i(P)){S.unshift(...a(P));continue}if(C.length>0&&typeof s(C)=="string"&&typeof P=="string"){C[C.length-1]+=P;continue}C.push(P)}}return C}function K(c){return m(c,C=>Array.isArray(C)?M(C):C.parts?Object.assign(Object.assign({},C),{},{parts:M(C.parts)}):C)}function E(c){return m(c,C=>typeof C=="string"&&C.includes(`
|
|
75
|
-
`)?
|
|
76
|
-
`)).parts}function
|
|
77
|
-
`?_.replace(/\n/g,K):_;D.push(I),E+=p(I)}else if(d(_)){let I=m(_);for(let U=I.length-1;U>=0;U--)N.push({ind:S,mode:P,doc:I[U]})}else switch(_.type){case"cursor":D.push(a.placeholder);break;case"indent":N.push({ind:y(S,$),mode:P,doc:_.contents});break;case"align":N.push({ind:F(S,_.n,$),mode:P,doc:_.contents});break;case"trim":E-=R(D);break;case"group":switch(P){case b:if(!T){N.push({ind:S,mode:_.break?A:b,doc:_.contents});break}case A:{T=!1;let I={ind:S,mode:b,doc:_.contents},U=M-E,z=c.length>0;if(!_.break&&w(I,N,U,z))N.push(I);else if(_.expandedStates){let Q=f(_.expandedStates);if(_.break){N.push({ind:S,mode:A,doc:Q});break}else for(let X=1;X<_.expandedStates.length+1;X++)if(X>=_.expandedStates.length){N.push({ind:S,mode:A,doc:Q});break}else{let ne=_.expandedStates[X],G={ind:S,mode:b,doc:ne};if(w(G,N,U,z)){N.push(G);break}}}else N.push({ind:S,mode:A,doc:_.contents});break}}_.id&&(x[_.id]=f(N).mode);break;case"fill":{let I=M-E,{parts:U}=_;if(U.length===0)break;let[z,Q]=U,X={ind:S,mode:b,doc:z},ne={ind:S,mode:A,doc:z},G=w(X,[],I,c.length>0,!0);if(U.length===1){G?N.push(X):N.push(ne);break}let de={ind:S,mode:b,doc:Q},H={ind:S,mode:A,doc:Q};if(U.length===2){G?N.push(de,X):N.push(H,ne);break}U.splice(0,2);let W={ind:S,mode:P,doc:i(U)},fe=U[0];w({ind:S,mode:b,doc:[z,Q,fe]},[],I,c.length>0,!0)?N.push(W,de,X):G?N.push(W,H,X):N.push(W,H,ne);break}case"if-break":case"indent-if-break":{let I=_.groupId?x[_.groupId]:P;if(I===A){let U=_.type==="if-break"?_.breakContents:_.negate?_.contents:o(_.contents);U&&N.push({ind:S,mode:P,doc:U})}if(I===b){let U=_.type==="if-break"?_.flatContents:_.negate?o(_.contents):_.contents;U&&N.push({ind:S,mode:P,doc:U})}break}case"line-suffix":c.push({ind:S,mode:P,doc:_.contents});break;case"line-suffix-boundary":c.length>0&&N.push({ind:S,mode:P,doc:{type:"line",hard:!0}});break;case"line":switch(P){case b:if(_.hard)T=!0;else{_.soft||(D.push(" "),E+=1);break}case A:if(c.length>0){N.push({ind:S,mode:P,doc:_},...c.reverse()),c.length=0;break}_.literal?S.root?(D.push(K,S.root.value),E=S.root.length):(D.push(K),E=0):(E-=R(D),D.push(K+S.value),E=S.length);break}break;case"label":N.push({ind:S,mode:P,doc:_.contents});break;default:}N.length===0&&c.length>0&&(N.push(...c.reverse()),c.length=0)}let C=D.indexOf(a.placeholder);if(C!==-1){let S=D.indexOf(a.placeholder,C+1),P=D.slice(0,C).join(""),_=D.slice(C+1,S).join(""),I=D.slice(S+1).join("");return{formatted:P+_+I,cursorNodeStart:P.length,cursorNodeText:_}}return{formatted:D.join("")}}h.exports={printDocToString:L}}}),$p=re({"src/document/doc-debug.js"(l,h){"use strict";ce();var{isConcat:s,getDocParts:f}=Di();function p(a){if(!a)return"";if(s(a)){let o=[];for(let d of f(a))if(s(d))o.push(...p(d).parts);else{let m=p(d);m!==""&&o.push(m)}return{type:"concat",parts:o}}return a.type==="if-break"?Object.assign(Object.assign({},a),{},{breakContents:p(a.breakContents),flatContents:p(a.flatContents)}):a.type==="group"?Object.assign(Object.assign({},a),{},{contents:p(a.contents),expandedStates:a.expandedStates&&a.expandedStates.map(p)}):a.type==="fill"?{type:"fill",parts:a.parts.map(p)}:a.contents?Object.assign(Object.assign({},a),{},{contents:p(a.contents)}):a}function i(a){let o=Object.create(null),d=new Set;return m(p(a));function m(A,b,g){if(typeof A=="string")return JSON.stringify(A);if(s(A)){let y=f(A).map(m).filter(Boolean);return y.length===1?y[0]:`[${y.join(", ")}]`}if(A.type==="line"){let y=Array.isArray(g)&&g[b+1]&&g[b+1].type==="break-parent";return A.literal?y?"literalline":"literallineWithoutBreakParent":A.hard?y?"hardline":"hardlineWithoutBreakParent":A.soft?"softline":"line"}if(A.type==="break-parent")return Array.isArray(g)&&g[b-1]&&g[b-1].type==="line"&&g[b-1].hard?void 0:"breakParent";if(A.type==="trim")return"trim";if(A.type==="indent")return"indent("+m(A.contents)+")";if(A.type==="align")return A.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+m(A.contents)+")":A.n<0?"dedent("+m(A.contents)+")":A.n.type==="root"?"markAsRoot("+m(A.contents)+")":"align("+JSON.stringify(A.n)+", "+m(A.contents)+")";if(A.type==="if-break")return"ifBreak("+m(A.breakContents)+(A.flatContents?", "+m(A.flatContents):"")+(A.groupId?(A.flatContents?"":', ""')+`, { groupId: ${x(A.groupId)} }`:"")+")";if(A.type==="indent-if-break"){let y=[];A.negate&&y.push("negate: true"),A.groupId&&y.push(`groupId: ${x(A.groupId)}`);let F=y.length>0?`, { ${y.join(", ")} }`:"";return`indentIfBreak(${m(A.contents)}${F})`}if(A.type==="group"){let y=[];A.break&&A.break!=="propagated"&&y.push("shouldBreak: true"),A.id&&y.push(`id: ${x(A.id)}`);let F=y.length>0?`, { ${y.join(", ")} }`:"";return A.expandedStates?`conditionalGroup([${A.expandedStates.map(j=>m(j)).join(",")}]${F})`:`group(${m(A.contents)}${F})`}if(A.type==="fill")return`fill([${A.parts.map(y=>m(y)).join(", ")}])`;if(A.type==="line-suffix")return"lineSuffix("+m(A.contents)+")";if(A.type==="line-suffix-boundary")return"lineSuffixBoundary";if(A.type==="label")return`label(${JSON.stringify(A.label)}, ${m(A.contents)})`;throw new Error("Unknown doc type "+A.type)}function x(A){if(typeof A!="symbol")return JSON.stringify(String(A));if(A in o)return o[A];let b=String(A).slice(7,-1)||"symbol";for(let g=0;;g++){let y=b+(g>0?` #${g}`:"");if(!d.has(y))return d.add(y),o[A]=`Symbol.for(${JSON.stringify(y)})`}}}h.exports={printDocToDebug:i}}}),yt=re({"src/document/index.js"(l,h){"use strict";ce(),h.exports={builders:J(),printer:Mp(),utils:Di(),debug:$p()}}}),Ra={};ft(Ra,{default:()=>Vp});function Vp(l){if(typeof l!="string")throw new TypeError("Expected a string");return l.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Up=at({"node_modules/escape-string-regexp/index.js"(){ce()}}),Ma=re({"node_modules/semver/internal/debug.js"(l,h){ce();var s=typeof ir=="object"&&ir.env&&ir.env.NODE_DEBUG&&/\bsemver\b/i.test(ir.env.NODE_DEBUG)?function(){for(var f=arguments.length,p=new Array(f),i=0;i<f;i++)p[i]=arguments[i];return console.error("SEMVER",...p)}:()=>{};h.exports=s}}),$a=re({"node_modules/semver/internal/constants.js"(l,h){ce();var s="2.0.0",f=256,p=Number.MAX_SAFE_INTEGER||9007199254740991,i=16;h.exports={SEMVER_SPEC_VERSION:s,MAX_LENGTH:f,MAX_SAFE_INTEGER:p,MAX_SAFE_COMPONENT_LENGTH:i}}}),Gp=re({"node_modules/semver/internal/re.js"(l,h){ce();var{MAX_SAFE_COMPONENT_LENGTH:s}=$a(),f=Ma();l=h.exports={};var p=l.re=[],i=l.src=[],a=l.t={},o=0,d=(m,x,A)=>{let b=o++;f(m,b,x),a[m]=b,i[b]=x,p[b]=new RegExp(x,A?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","[0-9]+"),d("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),d("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),d("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER","[0-9A-Za-z-]+"),d("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),d("FULL",`^${i[a.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),d("LOOSE",`^${i[a.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),d("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),d("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),d("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),d("COERCE",`(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?(?:$|[^\\d])`),d("COERCERTL",i[a.COERCE],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),l.tildeTrimReplace="$1~",d("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),l.caretTrimReplace="$1^",d("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),l.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),qp=re({"node_modules/semver/internal/parse-options.js"(l,h){ce();var s=["includePrerelease","loose","rtl"],f=p=>p?typeof p!="object"?{loose:!0}:s.filter(i=>p[i]).reduce((i,a)=>(i[a]=!0,i),{}):{};h.exports=f}}),Wp=re({"node_modules/semver/internal/identifiers.js"(l,h){ce();var s=/^[0-9]+$/,f=(i,a)=>{let o=s.test(i),d=s.test(a);return o&&d&&(i=+i,a=+a),i===a?0:o&&!d?-1:d&&!o?1:i<a?-1:1},p=(i,a)=>f(a,i);h.exports={compareIdentifiers:f,rcompareIdentifiers:p}}}),Jp=re({"node_modules/semver/classes/semver.js"(l,h){ce();var s=Ma(),{MAX_LENGTH:f,MAX_SAFE_INTEGER:p}=$a(),{re:i,t:a}=Gp(),o=qp(),{compareIdentifiers:d}=Wp(),m=class{constructor(x,A){if(A=o(A),x instanceof m){if(x.loose===!!A.loose&&x.includePrerelease===!!A.includePrerelease)return x;x=x.version}else if(typeof x!="string")throw new TypeError(`Invalid Version: ${x}`);if(x.length>f)throw new TypeError(`version is longer than ${f} characters`);s("SemVer",x,A),this.options=A,this.loose=!!A.loose,this.includePrerelease=!!A.includePrerelease;let b=x.trim().match(A.loose?i[a.LOOSE]:i[a.FULL]);if(!b)throw new TypeError(`Invalid Version: ${x}`);if(this.raw=x,this.major=+b[1],this.minor=+b[2],this.patch=+b[3],this.major>p||this.major<0)throw new TypeError("Invalid major version");if(this.minor>p||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>p||this.patch<0)throw new TypeError("Invalid patch version");b[4]?this.prerelease=b[4].split(".").map(g=>{if(/^[0-9]+$/.test(g)){let y=+g;if(y>=0&&y<p)return y}return g}):this.prerelease=[],this.build=b[5]?b[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(x){if(s("SemVer.compare",this.version,this.options,x),!(x instanceof m)){if(typeof x=="string"&&x===this.version)return 0;x=new m(x,this.options)}return x.version===this.version?0:this.compareMain(x)||this.comparePre(x)}compareMain(x){return x instanceof m||(x=new m(x,this.options)),d(this.major,x.major)||d(this.minor,x.minor)||d(this.patch,x.patch)}comparePre(x){if(x instanceof m||(x=new m(x,this.options)),this.prerelease.length&&!x.prerelease.length)return-1;if(!this.prerelease.length&&x.prerelease.length)return 1;if(!this.prerelease.length&&!x.prerelease.length)return 0;let A=0;do{let b=this.prerelease[A],g=x.prerelease[A];if(s("prerelease compare",A,b,g),b===void 0&&g===void 0)return 0;if(g===void 0)return 1;if(b===void 0)return-1;if(b!==g)return d(b,g)}while(++A)}compareBuild(x){x instanceof m||(x=new m(x,this.options));let A=0;do{let b=this.build[A],g=x.build[A];if(s("prerelease compare",A,b,g),b===void 0&&g===void 0)return 0;if(g===void 0)return 1;if(b===void 0)return-1;if(b!==g)return d(b,g)}while(++A)}inc(x,A){switch(x){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",A);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",A);break;case"prepatch":this.prerelease.length=0,this.inc("patch",A),this.inc("pre",A);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",A),this.inc("pre",A);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let b=this.prerelease.length;for(;--b>=0;)typeof this.prerelease[b]=="number"&&(this.prerelease[b]++,b=-2);b===-1&&this.prerelease.push(0)}A&&(d(this.prerelease[0],A)===0?isNaN(this.prerelease[1])&&(this.prerelease=[A,0]):this.prerelease=[A,0]);break;default:throw new Error(`invalid increment argument: ${x}`)}return this.format(),this.raw=this.version,this}};h.exports=m}}),yu=re({"node_modules/semver/functions/compare.js"(l,h){ce();var s=Jp(),f=(p,i,a)=>new s(p,a).compare(new s(i,a));h.exports=f}}),zp=re({"node_modules/semver/functions/lt.js"(l,h){ce();var s=yu(),f=(p,i,a)=>s(p,i,a)<0;h.exports=f}}),Xp=re({"node_modules/semver/functions/gte.js"(l,h){ce();var s=yu(),f=(p,i,a)=>s(p,i,a)>=0;h.exports=f}}),Hp=re({"src/utils/arrayify.js"(l,h){"use strict";ce(),h.exports=(s,f)=>Object.entries(s).map(p=>{let[i,a]=p;return Object.assign({[f]:i},a)})}}),Yp=re({"node_modules/outdent/lib/index.js"(l,h){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0}),l.outdent=void 0;function s(){for(var w=[],L=0;L<arguments.length;L++)w[L]=arguments[L]}function f(){return typeof WeakMap<"u"?new WeakMap:p()}function p(){return{add:s,delete:s,get:s,set:s,has:function(w){return!1}}}var i=Object.prototype.hasOwnProperty,a=function(w,L){return i.call(w,L)};function o(w,L){for(var B in L)a(L,B)&&(w[B]=L[B]);return w}var d=/^[ \t]*(?:\r\n|\r|\n)/,m=/(?:\r\n|\r|\n)[ \t]*$/,x=/^(?:[\r\n]|$)/,A=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,b=/^[ \t]*[\r\n][ \t\r\n]*$/;function g(w,L,B){var $=0,M=w[0].match(A);M&&($=M[1].length);var K="(\\r\\n|\\r|\\n).{0,"+$+"}",E=new RegExp(K,"g");L&&(w=w.slice(1));var N=B.newline,D=B.trimLeadingNewline,T=B.trimTrailingNewline,c=typeof N=="string",C=w.length,S=w.map(function(P,_){return P=P.replace(E,"$1"),_===0&&D&&(P=P.replace(d,"")),_===C-1&&T&&(P=P.replace(m,"")),c&&(P=P.replace(/\r\n|\n|\r/g,function(I){return N})),P});return S}function y(w,L){for(var B="",$=0,M=w.length;$<M;$++)B+=w[$],$<M-1&&(B+=L[$]);return B}function F(w){return a(w,"raw")&&a(w,"length")}function j(w){var L=f(),B=f();function $(K){for(var E=[],N=1;N<arguments.length;N++)E[N-1]=arguments[N];if(F(K)){var D=K,T=(E[0]===$||E[0]===R)&&b.test(D[0])&&x.test(D[1]),c=T?B:L,C=c.get(D);if(C||(C=g(D,T,w),c.set(D,C)),E.length===0)return C[0];var S=y(C,T?E.slice(1):E);return S}else return j(o(o({},w),K||{}))}var M=o($,{string:function(K){return g([K],!1,w)[0]}});return M}var R=j({trimLeadingNewline:!0,trimTrailingNewline:!0});if(l.outdent=R,l.default=R,typeof h<"u")try{h.exports=R,Object.defineProperty(R,"__esModule",{value:!0}),R.default=R,R.outdent=R}catch{}}}),Qp=re({"src/main/core-options.js"(l,h){"use strict";ce();var{outdent:s}=Yp(),f="Config",p="Editor",i="Format",a="Other",o="Output",d="Global",m="Special",x={cursorOffset:{since:"1.4.0",category:m,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:s`
|
|
71
|
+
`}}function h(o,l){let m;switch(l){case`
|
|
72
|
+
`:m=/\n/g;break;case"\r":m=/\r/g;break;case`\r
|
|
73
|
+
`:m=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(l)}.`)}let D=o.match(m);return D?D.length:0}function s(o){return o.replace(/\r\n?/g,`
|
|
74
|
+
`)}g.exports={guessEndOfLine:u,convertEndOfLineToChars:d,countEndOfLineChars:h,normalizeEndOfLine:s}}}),Ie=ie({"src/utils/get-last.js"(c,g){"use strict";pe();var u=d=>d[d.length-1];g.exports=u}});function $e(){let{onlyFirst:c=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=["[\\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(g,c?void 0:"g")}var ot=ht({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){pe()}});function Ct(c){if(typeof c!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof c}\``);return c.replace($e(),"")}var Wt=ht({"node_modules/strip-ansi/index.js"(){pe(),ot()}});function Qt(c){return Number.isInteger(c)?c>=4352&&(c<=4447||c===9001||c===9002||11904<=c&&c<=12871&&c!==12351||12880<=c&&c<=19903||19968<=c&&c<=42182||43360<=c&&c<=43388||44032<=c&&c<=55203||63744<=c&&c<=64255||65040<=c&&c<=65049||65072<=c&&c<=65131||65281<=c&&c<=65376||65504<=c&&c<=65510||110592<=c&&c<=110593||127488<=c&&c<=127569||131072<=c&&c<=262141):!1}var pr=ht({"node_modules/is-fullwidth-code-point/index.js"(){pe()}}),lr=ie({"node_modules/emoji-regex/index.js"(c,g){"use strict";pe(),g.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\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])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\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|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\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]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\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\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\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-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*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\u26A7\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-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\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[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),on={};vt(on,{default:()=>ri});function ri(c){if(typeof c!="string"||c.length===0||(c=Ct(c),c.length===0))return 0;c=c.replace((0,ln.default)()," ");let g=0;for(let u=0;u<c.length;u++){let d=c.codePointAt(u);d<=31||d>=127&&d<=159||d>=768&&d<=879||(d>65535&&u++,g+=Qt(d)?2:1)}return g}var ln,Dn=ht({"node_modules/string-width/index.js"(){pe(),Wt(),pr(),ln=qt(lr())}}),La=ie({"src/utils/get-string-width.js"(c,g){"use strict";pe();var u=(Dn(),Ut(on)).default,d=/[^\x20-\x7F]/;function h(s){return s?d.test(s)?u(s):s.length:0}g.exports=h}}),Li=ie({"src/document/doc-utils.js"(c,g){"use strict";pe();var u=Ie(),{literalline:d,join:h}=X(),s=f=>Array.isArray(f)||f&&f.type==="concat",o=f=>{if(Array.isArray(f))return f;if(f.type!=="concat"&&f.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return f.parts},l={};function m(f,b,S,I){let N=[f];for(;N.length>0;){let R=N.pop();if(R===l){S(N.pop());continue}if(S&&N.push(R,l),!b||b(R)!==!1)if(s(R)||R.type==="fill"){let q=o(R);for(let z=q.length,Z=z-1;Z>=0;--Z)N.push(q[Z])}else if(R.type==="if-break")R.flatContents&&N.push(R.flatContents),R.breakContents&&N.push(R.breakContents);else if(R.type==="group"&&R.expandedStates)if(I)for(let q=R.expandedStates.length,z=q-1;z>=0;--z)N.push(R.expandedStates[z]);else N.push(R.contents);else R.contents&&N.push(R.contents)}}function D(f,b){let S=new Map;return I(f);function I(R){if(S.has(R))return S.get(R);let q=N(R);return S.set(R,q),q}function N(R){if(Array.isArray(R))return b(R.map(I));if(R.type==="concat"||R.type==="fill"){let q=R.parts.map(I);return b(Object.assign(Object.assign({},R),{},{parts:q}))}if(R.type==="if-break"){let q=R.breakContents&&I(R.breakContents),z=R.flatContents&&I(R.flatContents);return b(Object.assign(Object.assign({},R),{},{breakContents:q,flatContents:z}))}if(R.type==="group"&&R.expandedStates){let q=R.expandedStates.map(I),z=q[0];return b(Object.assign(Object.assign({},R),{},{contents:z,expandedStates:q}))}if(R.contents){let q=I(R.contents);return b(Object.assign(Object.assign({},R),{},{contents:q}))}return b(R)}}function A(f,b,S){let I=S,N=!1;function R(q){let z=b(q);if(z!==void 0&&(N=!0,I=z),N)return!1}return m(f,R),I}function F(f){if(f.type==="group"&&f.break||f.type==="line"&&f.hard||f.type==="break-parent")return!0}function C(f){return A(f,F,!1)}function y(f){if(f.length>0){let b=u(f);!b.expandedStates&&!b.break&&(b.break="propagated")}return null}function E(f){let b=new Set,S=[];function I(R){if(R.type==="break-parent"&&y(S),R.type==="group"){if(S.push(R),b.has(R))return!1;b.add(R)}}function N(R){R.type==="group"&&S.pop().break&&y(S)}m(f,I,N,!0)}function w(f){return f.type==="line"&&!f.hard?f.soft?"":" ":f.type==="if-break"?f.flatContents||"":f}function $(f){return D(f,w)}var V=(f,b)=>f&&f.type==="line"&&f.hard&&b&&b.type==="break-parent";function _(f){if(!f)return f;if(s(f)||f.type==="fill"){let b=o(f);for(;b.length>1&&V(...b.slice(-2));)b.length-=2;if(b.length>0){let S=_(u(b));b[b.length-1]=S}return Array.isArray(f)?b:Object.assign(Object.assign({},f),{},{parts:b})}switch(f.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let b=_(f.contents);return Object.assign(Object.assign({},f),{},{contents:b})}case"if-break":{let b=_(f.breakContents),S=_(f.flatContents);return Object.assign(Object.assign({},f),{},{breakContents:b,flatContents:S})}}return f}function M(f){return _(G(f))}function L(f){switch(f.type){case"fill":if(f.parts.every(S=>S===""))return"";break;case"group":if(!f.contents&&!f.id&&!f.break&&!f.expandedStates)return"";if(f.contents.type==="group"&&f.contents.id===f.id&&f.contents.break===f.break&&f.contents.expandedStates===f.expandedStates)return f.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!f.contents)return"";break;case"if-break":if(!f.flatContents&&!f.breakContents)return"";break}if(!s(f))return f;let b=[];for(let S of o(f)){if(!S)continue;let[I,...N]=s(S)?o(S):[S];typeof I=="string"&&typeof u(b)=="string"?b[b.length-1]+=I:b.push(I),b.push(...N)}return b.length===0?"":b.length===1?b[0]:Array.isArray(f)?b:Object.assign(Object.assign({},f),{},{parts:b})}function G(f){return D(f,b=>L(b))}function U(f){let b=[],S=f.filter(Boolean);for(;S.length>0;){let I=S.shift();if(I){if(s(I)){S.unshift(...o(I));continue}if(b.length>0&&typeof u(b)=="string"&&typeof I=="string"){b[b.length-1]+=I;continue}b.push(I)}}return b}function ee(f){return D(f,b=>Array.isArray(b)?U(b):b.parts?Object.assign(Object.assign({},b),{},{parts:U(b.parts)}):b)}function v(f){return D(f,b=>typeof b=="string"&&b.includes(`
|
|
75
|
+
`)?O(b):b)}function O(f){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;return h(b,f.split(`
|
|
76
|
+
`)).parts}function x(f){if(f.type==="line")return!0}function T(f){return A(f,x,!1)}g.exports={isConcat:s,getDocParts:o,willBreak:C,traverseDoc:m,findInDoc:A,mapDoc:D,propagateBreaks:E,removeLines:$,stripTrailingHardline:M,normalizeParts:U,normalizeDoc:ee,cleanDoc:G,replaceTextEndOfLine:O,replaceEndOfLine:v,canBreak:T}}}),Np=ie({"src/document/doc-printer.js"(c,g){"use strict";pe();var{convertEndOfLineToChars:u}=le(),d=Ie(),h=La(),{fill:s,cursor:o,indent:l}=X(),{isConcat:m,getDocParts:D}=Li(),A,F=1,C=2;function y(){return{value:"",length:0,queue:[]}}function E(L,G){return $(L,{type:"indent"},G)}function w(L,G,U){return G===Number.NEGATIVE_INFINITY?L.root||y():G<0?$(L,{type:"dedent"},U):G?G.type==="root"?Object.assign(Object.assign({},L),{},{root:L}):$(L,{type:typeof G=="string"?"stringAlign":"numberAlign",n:G},U):L}function $(L,G,U){let ee=G.type==="dedent"?L.queue.slice(0,-1):[...L.queue,G],v="",O=0,x=0,T=0;for(let q of ee)switch(q.type){case"indent":S(),U.useTabs?f(1):b(U.tabWidth);break;case"stringAlign":S(),v+=q.n,O+=q.n.length;break;case"numberAlign":x+=1,T+=q.n;break;default:throw new Error(`Unexpected type '${q.type}'`)}return N(),Object.assign(Object.assign({},L),{},{value:v,length:O,queue:ee});function f(q){v+=" ".repeat(q),O+=U.tabWidth*q}function b(q){v+=" ".repeat(q),O+=q}function S(){U.useTabs?I():N()}function I(){x>0&&f(x),R()}function N(){T>0&&b(T),R()}function R(){x=0,T=0}}function V(L){if(L.length===0)return 0;let G=0;for(;L.length>0&&typeof d(L)=="string"&&/^[\t ]*$/.test(d(L));)G+=L.pop().length;if(L.length>0&&typeof d(L)=="string"){let U=d(L).replace(/[\t ]*$/,"");G+=d(L).length-U.length,L[L.length-1]=U}return G}function _(L,G,U,ee,v){let O=G.length,x=[L],T=[];for(;U>=0;){if(x.length===0){if(O===0)return!0;x.push(G[--O]);continue}let{mode:f,doc:b}=x.pop();if(typeof b=="string")T.push(b),U-=h(b);else if(m(b)||b.type==="fill"){let S=D(b);for(let I=S.length-1;I>=0;I--)x.push({mode:f,doc:S[I]})}else switch(b.type){case"indent":case"align":case"indent-if-break":case"label":x.push({mode:f,doc:b.contents});break;case"trim":U+=V(T);break;case"group":{if(v&&b.break)return!1;let S=b.break?F:f,I=b.expandedStates&&S===F?d(b.expandedStates):b.contents;x.push({mode:S,doc:I});break}case"if-break":{let S=(b.groupId?A[b.groupId]||C:f)===F?b.breakContents:b.flatContents;S&&x.push({mode:f,doc:S});break}case"line":if(f===F||b.hard)return!0;b.soft||(T.push(" "),U--);break;case"line-suffix":ee=!0;break;case"line-suffix-boundary":if(ee)return!1;break}}return!1}function M(L,G){A={};let U=G.printWidth,ee=u(G.endOfLine),v=0,O=[{ind:y(),mode:F,doc:L}],x=[],T=!1,f=[];for(;O.length>0;){let{ind:S,mode:I,doc:N}=O.pop();if(typeof N=="string"){let R=ee!==`
|
|
77
|
+
`?N.replace(/\n/g,ee):N;x.push(R),v+=h(R)}else if(m(N)){let R=D(N);for(let q=R.length-1;q>=0;q--)O.push({ind:S,mode:I,doc:R[q]})}else switch(N.type){case"cursor":x.push(o.placeholder);break;case"indent":O.push({ind:E(S,G),mode:I,doc:N.contents});break;case"align":O.push({ind:w(S,N.n,G),mode:I,doc:N.contents});break;case"trim":v-=V(x);break;case"group":switch(I){case C:if(!T){O.push({ind:S,mode:N.break?F:C,doc:N.contents});break}case F:{T=!1;let R={ind:S,mode:C,doc:N.contents},q=U-v,z=f.length>0;if(!N.break&&_(R,O,q,z))O.push(R);else if(N.expandedStates){let Z=d(N.expandedStates);if(N.break){O.push({ind:S,mode:F,doc:Z});break}else for(let H=1;H<N.expandedStates.length+1;H++)if(H>=N.expandedStates.length){O.push({ind:S,mode:F,doc:Z});break}else{let ue=N.expandedStates[H],W={ind:S,mode:C,doc:ue};if(_(W,O,q,z)){O.push(W);break}}}else O.push({ind:S,mode:F,doc:N.contents});break}}N.id&&(A[N.id]=d(O).mode);break;case"fill":{let R=U-v,{parts:q}=N;if(q.length===0)break;let[z,Z]=q,H={ind:S,mode:C,doc:z},ue={ind:S,mode:F,doc:z},W=_(H,[],R,f.length>0,!0);if(q.length===1){W?O.push(H):O.push(ue);break}let de={ind:S,mode:C,doc:Z},Q={ind:S,mode:F,doc:Z};if(q.length===2){W?O.push(de,H):O.push(Q,ue);break}q.splice(0,2);let Y={ind:S,mode:I,doc:s(q)},he=q[0];_({ind:S,mode:C,doc:[z,Z,he]},[],R,f.length>0,!0)?O.push(Y,de,H):W?O.push(Y,Q,H):O.push(Y,Q,ue);break}case"if-break":case"indent-if-break":{let R=N.groupId?A[N.groupId]:I;if(R===F){let q=N.type==="if-break"?N.breakContents:N.negate?N.contents:l(N.contents);q&&O.push({ind:S,mode:I,doc:q})}if(R===C){let q=N.type==="if-break"?N.flatContents:N.negate?l(N.contents):N.contents;q&&O.push({ind:S,mode:I,doc:q})}break}case"line-suffix":f.push({ind:S,mode:I,doc:N.contents});break;case"line-suffix-boundary":f.length>0&&O.push({ind:S,mode:I,doc:{type:"line",hard:!0}});break;case"line":switch(I){case C:if(N.hard)T=!0;else{N.soft||(x.push(" "),v+=1);break}case F:if(f.length>0){O.push({ind:S,mode:I,doc:N},...f.reverse()),f.length=0;break}N.literal?S.root?(x.push(ee,S.root.value),v=S.root.length):(x.push(ee),v=0):(v-=V(x),x.push(ee+S.value),v=S.length);break}break;case"label":O.push({ind:S,mode:I,doc:N.contents});break;default:}O.length===0&&f.length>0&&(O.push(...f.reverse()),f.length=0)}let b=x.indexOf(o.placeholder);if(b!==-1){let S=x.indexOf(o.placeholder,b+1),I=x.slice(0,b).join(""),N=x.slice(b+1,S).join(""),R=x.slice(S+1).join("");return{formatted:I+N+R,cursorNodeStart:I.length,cursorNodeText:N}}return{formatted:x.join("")}}g.exports={printDocToString:M}}}),Lp=ie({"src/document/doc-debug.js"(c,g){"use strict";pe();var{isConcat:u,getDocParts:d}=Li();function h(o){if(!o)return"";if(u(o)){let l=[];for(let m of d(o))if(u(m))l.push(...h(m).parts);else{let D=h(m);D!==""&&l.push(D)}return{type:"concat",parts:l}}return o.type==="if-break"?Object.assign(Object.assign({},o),{},{breakContents:h(o.breakContents),flatContents:h(o.flatContents)}):o.type==="group"?Object.assign(Object.assign({},o),{},{contents:h(o.contents),expandedStates:o.expandedStates&&o.expandedStates.map(h)}):o.type==="fill"?{type:"fill",parts:o.parts.map(h)}:o.contents?Object.assign(Object.assign({},o),{},{contents:h(o.contents)}):o}function s(o){let l=Object.create(null),m=new Set;return D(h(o));function D(F,C,y){if(typeof F=="string")return JSON.stringify(F);if(u(F)){let E=d(F).map(D).filter(Boolean);return E.length===1?E[0]:`[${E.join(", ")}]`}if(F.type==="line"){let E=Array.isArray(y)&&y[C+1]&&y[C+1].type==="break-parent";return F.literal?E?"literalline":"literallineWithoutBreakParent":F.hard?E?"hardline":"hardlineWithoutBreakParent":F.soft?"softline":"line"}if(F.type==="break-parent")return Array.isArray(y)&&y[C-1]&&y[C-1].type==="line"&&y[C-1].hard?void 0:"breakParent";if(F.type==="trim")return"trim";if(F.type==="indent")return"indent("+D(F.contents)+")";if(F.type==="align")return F.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+D(F.contents)+")":F.n<0?"dedent("+D(F.contents)+")":F.n.type==="root"?"markAsRoot("+D(F.contents)+")":"align("+JSON.stringify(F.n)+", "+D(F.contents)+")";if(F.type==="if-break")return"ifBreak("+D(F.breakContents)+(F.flatContents?", "+D(F.flatContents):"")+(F.groupId?(F.flatContents?"":', ""')+`, { groupId: ${A(F.groupId)} }`:"")+")";if(F.type==="indent-if-break"){let E=[];F.negate&&E.push("negate: true"),F.groupId&&E.push(`groupId: ${A(F.groupId)}`);let w=E.length>0?`, { ${E.join(", ")} }`:"";return`indentIfBreak(${D(F.contents)}${w})`}if(F.type==="group"){let E=[];F.break&&F.break!=="propagated"&&E.push("shouldBreak: true"),F.id&&E.push(`id: ${A(F.id)}`);let w=E.length>0?`, { ${E.join(", ")} }`:"";return F.expandedStates?`conditionalGroup([${F.expandedStates.map($=>D($)).join(",")}]${w})`:`group(${D(F.contents)}${w})`}if(F.type==="fill")return`fill([${F.parts.map(E=>D(E)).join(", ")}])`;if(F.type==="line-suffix")return"lineSuffix("+D(F.contents)+")";if(F.type==="line-suffix-boundary")return"lineSuffixBoundary";if(F.type==="label")return`label(${JSON.stringify(F.label)}, ${D(F.contents)})`;throw new Error("Unknown doc type "+F.type)}function A(F){if(typeof F!="symbol")return JSON.stringify(String(F));if(F in l)return l[F];let C=String(F).slice(7,-1)||"symbol";for(let y=0;;y++){let E=C+(y>0?` #${y}`:"");if(!m.has(E))return m.add(E),l[F]=`Symbol.for(${JSON.stringify(E)})`}}}g.exports={printDocToDebug:s}}}),Ft=ie({"src/document/index.js"(c,g){"use strict";pe(),g.exports={builders:X(),printer:Np(),utils:Li(),debug:Lp()}}}),Oa={};vt(Oa,{default:()=>Op});function Op(c){if(typeof c!="string")throw new TypeError("Expected a string");return c.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rp=ht({"node_modules/escape-string-regexp/index.js"(){pe()}}),Ra=ie({"node_modules/semver/internal/debug.js"(c,g){pe();var u=typeof sr=="object"&&sr.env&&sr.env.NODE_DEBUG&&/\bsemver\b/i.test(sr.env.NODE_DEBUG)?function(){for(var d=arguments.length,h=new Array(d),s=0;s<d;s++)h[s]=arguments[s];return console.error("SEMVER",...h)}:()=>{};g.exports=u}}),ja=ie({"node_modules/semver/internal/constants.js"(c,g){pe();var u="2.0.0",d=256,h=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;g.exports={SEMVER_SPEC_VERSION:u,MAX_LENGTH:d,MAX_SAFE_INTEGER:h,MAX_SAFE_COMPONENT_LENGTH:s}}}),jp=ie({"node_modules/semver/internal/re.js"(c,g){pe();var{MAX_SAFE_COMPONENT_LENGTH:u}=ja(),d=Ra();c=g.exports={};var h=c.re=[],s=c.src=[],o=c.t={},l=0,m=(D,A,F)=>{let C=l++;d(D,C,A),o[D]=C,s[C]=A,h[C]=new RegExp(A,F?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","[0-9]+"),m("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),m("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER","[0-9A-Za-z-]+"),m("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),m("FULL",`^${s[o.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),m("LOOSE",`^${s[o.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),m("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${u}})(?:\\.(\\d{1,${u}}))?(?:\\.(\\d{1,${u}}))?(?:$|[^\\d])`),m("COERCERTL",s[o.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),c.tildeTrimReplace="$1~",m("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),c.caretTrimReplace="$1^",m("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),c.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Mp=ie({"node_modules/semver/internal/parse-options.js"(c,g){pe();var u=["includePrerelease","loose","rtl"],d=h=>h?typeof h!="object"?{loose:!0}:u.filter(s=>h[s]).reduce((s,o)=>(s[o]=!0,s),{}):{};g.exports=d}}),$p=ie({"node_modules/semver/internal/identifiers.js"(c,g){pe();var u=/^[0-9]+$/,d=(s,o)=>{let l=u.test(s),m=u.test(o);return l&&m&&(s=+s,o=+o),s===o?0:l&&!m?-1:m&&!l?1:s<o?-1:1},h=(s,o)=>d(o,s);g.exports={compareIdentifiers:d,rcompareIdentifiers:h}}}),Vp=ie({"node_modules/semver/classes/semver.js"(c,g){pe();var u=Ra(),{MAX_LENGTH:d,MAX_SAFE_INTEGER:h}=ja(),{re:s,t:o}=jp(),l=Mp(),{compareIdentifiers:m}=$p(),D=class{constructor(A,F){if(F=l(F),A instanceof D){if(A.loose===!!F.loose&&A.includePrerelease===!!F.includePrerelease)return A;A=A.version}else if(typeof A!="string")throw new TypeError(`Invalid Version: ${A}`);if(A.length>d)throw new TypeError(`version is longer than ${d} characters`);u("SemVer",A,F),this.options=F,this.loose=!!F.loose,this.includePrerelease=!!F.includePrerelease;let C=A.trim().match(F.loose?s[o.LOOSE]:s[o.FULL]);if(!C)throw new TypeError(`Invalid Version: ${A}`);if(this.raw=A,this.major=+C[1],this.minor=+C[2],this.patch=+C[3],this.major>h||this.major<0)throw new TypeError("Invalid major version");if(this.minor>h||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>h||this.patch<0)throw new TypeError("Invalid patch version");C[4]?this.prerelease=C[4].split(".").map(y=>{if(/^[0-9]+$/.test(y)){let E=+y;if(E>=0&&E<h)return E}return y}):this.prerelease=[],this.build=C[5]?C[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(A){if(u("SemVer.compare",this.version,this.options,A),!(A instanceof D)){if(typeof A=="string"&&A===this.version)return 0;A=new D(A,this.options)}return A.version===this.version?0:this.compareMain(A)||this.comparePre(A)}compareMain(A){return A instanceof D||(A=new D(A,this.options)),m(this.major,A.major)||m(this.minor,A.minor)||m(this.patch,A.patch)}comparePre(A){if(A instanceof D||(A=new D(A,this.options)),this.prerelease.length&&!A.prerelease.length)return-1;if(!this.prerelease.length&&A.prerelease.length)return 1;if(!this.prerelease.length&&!A.prerelease.length)return 0;let F=0;do{let C=this.prerelease[F],y=A.prerelease[F];if(u("prerelease compare",F,C,y),C===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(C===void 0)return-1;if(C!==y)return m(C,y)}while(++F)}compareBuild(A){A instanceof D||(A=new D(A,this.options));let F=0;do{let C=this.build[F],y=A.build[F];if(u("prerelease compare",F,C,y),C===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(C===void 0)return-1;if(C!==y)return m(C,y)}while(++F)}inc(A,F){switch(A){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",F);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",F);break;case"prepatch":this.prerelease.length=0,this.inc("patch",F),this.inc("pre",F);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",F),this.inc("pre",F);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let C=this.prerelease.length;for(;--C>=0;)typeof this.prerelease[C]=="number"&&(this.prerelease[C]++,C=-2);C===-1&&this.prerelease.push(0)}F&&(m(this.prerelease[0],F)===0?isNaN(this.prerelease[1])&&(this.prerelease=[F,0]):this.prerelease=[F,0]);break;default:throw new Error(`invalid increment argument: ${A}`)}return this.format(),this.raw=this.version,this}};g.exports=D}}),Au=ie({"node_modules/semver/functions/compare.js"(c,g){pe();var u=Vp(),d=(h,s,o)=>new u(h,o).compare(new u(s,o));g.exports=d}}),Up=ie({"node_modules/semver/functions/lt.js"(c,g){pe();var u=Au(),d=(h,s,o)=>u(h,s,o)<0;g.exports=d}}),Gp=ie({"node_modules/semver/functions/gte.js"(c,g){pe();var u=Au(),d=(h,s,o)=>u(h,s,o)>=0;g.exports=d}}),qp=ie({"src/utils/arrayify.js"(c,g){"use strict";pe(),g.exports=(u,d)=>Object.entries(u).map(h=>{let[s,o]=h;return Object.assign({[d]:s},o)})}}),Wp=ie({"node_modules/outdent/lib/index.js"(c,g){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0}),c.outdent=void 0;function u(){for(var _=[],M=0;M<arguments.length;M++)_[M]=arguments[M]}function d(){return typeof WeakMap<"u"?new WeakMap:h()}function h(){return{add:u,delete:u,get:u,set:u,has:function(_){return!1}}}var s=Object.prototype.hasOwnProperty,o=function(_,M){return s.call(_,M)};function l(_,M){for(var L in M)o(M,L)&&(_[L]=M[L]);return _}var m=/^[ \t]*(?:\r\n|\r|\n)/,D=/(?:\r\n|\r|\n)[ \t]*$/,A=/^(?:[\r\n]|$)/,F=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,C=/^[ \t]*[\r\n][ \t\r\n]*$/;function y(_,M,L){var G=0,U=_[0].match(F);U&&(G=U[1].length);var ee="(\\r\\n|\\r|\\n).{0,"+G+"}",v=new RegExp(ee,"g");M&&(_=_.slice(1));var O=L.newline,x=L.trimLeadingNewline,T=L.trimTrailingNewline,f=typeof O=="string",b=_.length,S=_.map(function(I,N){return I=I.replace(v,"$1"),N===0&&x&&(I=I.replace(m,"")),N===b-1&&T&&(I=I.replace(D,"")),f&&(I=I.replace(/\r\n|\n|\r/g,function(R){return O})),I});return S}function E(_,M){for(var L="",G=0,U=_.length;G<U;G++)L+=_[G],G<U-1&&(L+=M[G]);return L}function w(_){return o(_,"raw")&&o(_,"length")}function $(_){var M=d(),L=d();function G(ee){for(var v=[],O=1;O<arguments.length;O++)v[O-1]=arguments[O];if(w(ee)){var x=ee,T=(v[0]===G||v[0]===V)&&C.test(x[0])&&A.test(x[1]),f=T?L:M,b=f.get(x);if(b||(b=y(x,T,_),f.set(x,b)),v.length===0)return b[0];var S=E(b,T?v.slice(1):v);return S}else return $(l(l({},_),ee||{}))}var U=l(G,{string:function(ee){return y([ee],!1,_)[0]}});return U}var V=$({trimLeadingNewline:!0,trimTrailingNewline:!0});if(c.outdent=V,c.default=V,typeof g<"u")try{g.exports=V,Object.defineProperty(V,"__esModule",{value:!0}),V.default=V,V.outdent=V}catch{}}}),Jp=ie({"src/main/core-options.js"(c,g){"use strict";pe();var{outdent:u}=Wp(),d="Config",h="Editor",s="Format",o="Other",l="Output",m="Global",D="Special",A={cursorOffset:{since:"1.4.0",category:D,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:u`
|
|
78
78
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
79
79
|
This option cannot be used with --range-start and --range-end.
|
|
80
|
-
`,cliCategory:
|
|
80
|
+
`,cliCategory:h},endOfLine:{since:"1.15.0",category:m,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:u`
|
|
81
81
|
Maintain existing
|
|
82
82
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
83
|
-
`}]},filepath:{since:"1.4.0",category:
|
|
83
|
+
`}]},filepath:{since:"1.4.0",category:D,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:o,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:D,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:o},parser:{since:"0.0.10",category:m,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:F=>typeof F=="string"||typeof F=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:m,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:F=>typeof F=="string"||typeof F=="object",cliName:"plugin",cliCategory:d},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:m,description:u`
|
|
84
84
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
85
85
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
86
86
|
Multiple values are accepted.
|
|
87
|
-
`,exception:
|
|
87
|
+
`,exception:F=>typeof F=="string"||typeof F=="object",cliName:"plugin-search-dir",cliCategory:d},printWidth:{since:"0.0.0",category:m,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:D,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u`
|
|
88
88
|
Format code ending at a given character offset (exclusive).
|
|
89
89
|
The range will extend forwards to the end of the selected statement.
|
|
90
90
|
This option cannot be used with --cursor-offset.
|
|
91
|
-
`,cliCategory:
|
|
91
|
+
`,cliCategory:h},rangeStart:{since:"1.4.0",category:D,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u`
|
|
92
92
|
Format code starting at a given character offset.
|
|
93
93
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
94
94
|
This option cannot be used with --cursor-offset.
|
|
95
|
-
`,cliCategory:
|
|
95
|
+
`,cliCategory:h},requirePragma:{since:"1.7.0",category:D,type:"boolean",default:!1,description:u`
|
|
96
96
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
97
97
|
in order for it to be formatted.
|
|
98
|
-
`,cliCategory:
|
|
99
|
-
`)return
|
|
100
|
-
`||
|
|
101
|
-
`)return
|
|
102
|
-
`||
|
|
103
|
-
`)return!0;return!1}function
|
|
104
|
-
`);return fe===-1?0:N(H.slice(fe+1).match(/^[\t ]*/)[0],W)}function T(H,W){let fe={quote:'"',regex:/"/g,escaped:"""},Ee={quote:"'",regex:/'/g,escaped:"'"},he=W==="'"?Ee:fe,Pe=he===Ee?fe:Ee,Z=he;if(H.includes(he.quote)||H.includes(Pe.quote)){let ue=(H.match(he.regex)||[]).length,Te=(H.match(Pe.regex)||[]).length;Z=ue>Te?Pe:he}return Z}function c(H,W){let fe=H.slice(1,-1),Ee=W.parser==="json"||W.parser==="json5"&&W.quoteProps==="preserve"&&!W.singleQuote?'"':W.__isInHtmlAttribute?"'":T(fe,W.singleQuote?"'":'"').quote;return C(fe,Ee,!(W.parser==="css"||W.parser==="less"||W.parser==="scss"||W.__embeddedInHtml))}function C(H,W,fe){let Ee=W==='"'?"'":'"',he=/\\(.)|(["'])/gs,Pe=H.replace(he,(Z,ue,Te)=>ue===Ee?ue:Te===W?"\\"+Te:Te||(fe&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(ue)?ue:"\\"+ue));return W+Pe+W}function S(H){return H.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function P(H,W){let fe=H.match(new RegExp(`(${s(W)})+`,"g"));return fe===null?0:fe.reduce((Ee,he)=>Math.max(Ee,he.length/W.length),0)}function _(H,W){let fe=H.match(new RegExp(`(${s(W)})+`,"g"));if(fe===null)return 0;let Ee=new Map,he=0;for(let Pe of fe){let Z=Pe.length/W.length;Ee.set(Z,!0),Z>he&&(he=Z)}for(let Pe=1;Pe<he;Pe++)if(!Ee.get(Pe))return Pe;return he+1}function I(H,W){(H.comments||(H.comments=[])).push(W),W.printed=!1,W.nodeDescription=de(H)}function U(H,W){W.leading=!0,W.trailing=!1,I(H,W)}function z(H,W,fe){W.leading=!1,W.trailing=!1,fe&&(W.marker=fe),I(H,W)}function Q(H,W){W.leading=!1,W.trailing=!0,I(H,W)}function X(H,W){let{languages:fe}=p({plugins:W.plugins}),Ee=fe.find(he=>{let{name:Pe}=he;return Pe.toLowerCase()===H})||fe.find(he=>{let{aliases:Pe}=he;return Array.isArray(Pe)&&Pe.includes(H)})||fe.find(he=>{let{extensions:Pe}=he;return Array.isArray(Pe)&&Pe.includes(`.${H}`)});return Ee&&Ee.parsers[0]}function ne(H){return H&&H.type==="front-matter"}function G(H){let W=new WeakMap;return function(fe){return W.has(fe)||W.set(fe,Symbol(H)),W.get(fe)}}function de(H){let W=H.type||H.kind||"(unknown type)",fe=String(H.name||H.id&&(typeof H.id=="object"?H.id.name:H.id)||H.key&&(typeof H.key=="object"?H.key.name:H.key)||H.value&&(typeof H.value=="object"?"":String(H.value))||H.operator||"");return fe.length>20&&(fe=fe.slice(0,19)+"\u2026"),W+(fe?" "+fe:"")}h.exports={inferParserByLanguage:X,getStringWidth:a,getMaxContinuousCount:P,getMinNotPresentContinuousCount:_,getPenultimate:F,getLast:f,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:y,getNextNonSpaceNonCommentCharacterIndex:M,getNextNonSpaceNonCommentCharacter:K,skip:j,skipWhitespace:o,skipSpaces:d,skipToLineEnd:m,skipEverythingButNewLine:x,skipInlineComment:A,skipTrailingComment:b,skipNewline:g,isNextLineEmptyAfterIndex:B,isNextLineEmpty:$,isPreviousLineEmpty:L,hasNewline:R,hasNewlineInRange:w,hasSpaces:E,getAlignmentSize:N,getIndentSize:D,getPreferredQuote:T,printString:c,printNumber:S,makeString:C,addLeadingComment:U,addDanglingComment:z,addTrailingComment:Q,isFrontMatterNode:ne,isNonEmptyArray:i,createGroupIdMapper:G}}}),qa={};ft(qa,{basename:()=>Ha,default:()=>Ka,delimiter:()=>Au,dirname:()=>Xa,extname:()=>Ya,isAbsolute:()=>bu,join:()=>Ja,normalize:()=>vu,relative:()=>za,resolve:()=>Zi,sep:()=>xu});function Wa(l,h){for(var s=0,f=l.length-1;f>=0;f--){var p=l[f];p==="."?l.splice(f,1):p===".."?(l.splice(f,1),s++):s&&(l.splice(f,1),s--)}if(h)for(;s--;s)l.unshift("..");return l}function Zi(){for(var l="",h=!1,s=arguments.length-1;s>=-1&&!h;s--){var f=s>=0?arguments[s]:"/";if(typeof f!="string")throw new TypeError("Arguments to path.resolve must be strings");!f||(l=f+"/"+l,h=f.charAt(0)==="/")}return l=Wa(Cu(l.split("/"),function(p){return!!p}),!h).join("/"),(h?"/":"")+l||"."}function vu(l){var h=bu(l),s=Za(l,-1)==="/";return l=Wa(Cu(l.split("/"),function(f){return!!f}),!h).join("/"),!l&&!h&&(l="."),l&&s&&(l+="/"),(h?"/":"")+l}function bu(l){return l.charAt(0)==="/"}function Ja(){var l=Array.prototype.slice.call(arguments,0);return vu(Cu(l,function(h,s){if(typeof h!="string")throw new TypeError("Arguments to path.join must be strings");return h}).join("/"))}function za(l,h){l=Zi(l).substr(1),h=Zi(h).substr(1);function s(m){for(var x=0;x<m.length&&m[x]==="";x++);for(var A=m.length-1;A>=0&&m[A]==="";A--);return x>A?[]:m.slice(x,A-x+1)}for(var f=s(l.split("/")),p=s(h.split("/")),i=Math.min(f.length,p.length),a=i,o=0;o<i;o++)if(f[o]!==p[o]){a=o;break}for(var d=[],o=a;o<f.length;o++)d.push("..");return d=d.concat(p.slice(a)),d.join("/")}function Xa(l){var h=es(l),s=h[0],f=h[1];return!s&&!f?".":(f&&(f=f.substr(0,f.length-1)),s+f)}function Ha(l,h){var s=es(l)[2];return h&&s.substr(-1*h.length)===h&&(s=s.substr(0,s.length-h.length)),s}function Ya(l){return es(l)[3]}function Cu(l,h){if(l.filter)return l.filter(h);for(var s=[],f=0;f<l.length;f++)h(l[f],f,l)&&s.push(l[f]);return s}var Qa,es,xu,Au,Ka,Za,Zp=at({"node-modules-polyfills:path"(){ce(),Qa=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,es=function(l){return Qa.exec(l).slice(1)},xu="/",Au=":",Ka={extname:Ya,basename:Ha,dirname:Xa,sep:xu,delimiter:Au,relative:za,join:Ja,isAbsolute:bu,normalize:vu,resolve:Zi},Za="ab".substr(-1)==="b"?function(l,h,s){return l.substr(h,s)}:function(l,h,s){return h<0&&(h=l.length+h),l.substr(h,s)}}}),ef=re({"node-modules-polyfills-commonjs:path"(l,h){ce();var s=(Zp(),Ot(qa));if(s&&s.default){h.exports=s.default;for(let f in s)h.exports[f]=s[f]}else s&&(h.exports=s)}}),Ei=re({"src/common/errors.js"(l,h){"use strict";ce();var s=class extends Error{},f=class extends Error{},p=class extends Error{},i=class extends Error{};h.exports={ConfigError:s,DebugError:f,UndefinedParserError:p,ArgExpansionBailout:i}}}),en={};ft(en,{__assign:()=>rs,__asyncDelegator:()=>hf,__asyncGenerator:()=>df,__asyncValues:()=>gf,__await:()=>vi,__awaiter:()=>af,__classPrivateFieldGet:()=>Ef,__classPrivateFieldSet:()=>vf,__createBinding:()=>lf,__decorate:()=>nf,__exportStar:()=>cf,__extends:()=>tf,__generator:()=>of,__importDefault:()=>Df,__importStar:()=>yf,__makeTemplateObject:()=>mf,__metadata:()=>uf,__param:()=>sf,__read:()=>eo,__rest:()=>rf,__spread:()=>pf,__spreadArrays:()=>ff,__values:()=>Su});function tf(l,h){ts(l,h);function s(){this.constructor=l}l.prototype=h===null?Object.create(h):(s.prototype=h.prototype,new s)}function rf(l,h){var s={};for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&h.indexOf(f)<0&&(s[f]=l[f]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,f=Object.getOwnPropertySymbols(l);p<f.length;p++)h.indexOf(f[p])<0&&Object.prototype.propertyIsEnumerable.call(l,f[p])&&(s[f[p]]=l[f[p]]);return s}function nf(l,h,s,f){var p=arguments.length,i=p<3?h:f===null?f=Object.getOwnPropertyDescriptor(h,s):f,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(l,h,s,f);else for(var o=l.length-1;o>=0;o--)(a=l[o])&&(i=(p<3?a(i):p>3?a(h,s,i):a(h,s))||i);return p>3&&i&&Object.defineProperty(h,s,i),i}function sf(l,h){return function(s,f){h(s,f,l)}}function uf(l,h){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(l,h)}function af(l,h,s,f){function p(i){return i instanceof s?i:new s(function(a){a(i)})}return new(s||(s=Promise))(function(i,a){function o(x){try{m(f.next(x))}catch(A){a(A)}}function d(x){try{m(f.throw(x))}catch(A){a(A)}}function m(x){x.done?i(x.value):p(x.value).then(o,d)}m((f=f.apply(l,h||[])).next())})}function of(l,h){var s={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},f,p,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(m){return function(x){return d([m,x])}}function d(m){if(f)throw new TypeError("Generator is already executing.");for(;s;)try{if(f=1,p&&(i=m[0]&2?p.return:m[0]?p.throw||((i=p.return)&&i.call(p),0):p.next)&&!(i=i.call(p,m[1])).done)return i;switch(p=0,i&&(m=[m[0]&2,i.value]),m[0]){case 0:case 1:i=m;break;case 4:return s.label++,{value:m[1],done:!1};case 5:s.label++,p=m[1],m=[0];continue;case 7:m=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(m[0]===6||m[0]===2)){s=0;continue}if(m[0]===3&&(!i||m[1]>i[0]&&m[1]<i[3])){s.label=m[1];break}if(m[0]===6&&s.label<i[1]){s.label=i[1],i=m;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(m);break}i[2]&&s.ops.pop(),s.trys.pop();continue}m=h.call(l,s)}catch(x){m=[6,x],p=0}finally{f=i=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function lf(l,h,s,f){f===void 0&&(f=s),l[f]=h[s]}function cf(l,h){for(var s in l)s!=="default"&&!h.hasOwnProperty(s)&&(h[s]=l[s])}function Su(l){var h=typeof Symbol=="function"&&Symbol.iterator,s=h&&l[h],f=0;if(s)return s.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&f>=l.length&&(l=void 0),{value:l&&l[f++],done:!l}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}function eo(l,h){var s=typeof Symbol=="function"&&l[Symbol.iterator];if(!s)return l;var f=s.call(l),p,i=[],a;try{for(;(h===void 0||h-- >0)&&!(p=f.next()).done;)i.push(p.value)}catch(o){a={error:o}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}return i}function pf(){for(var l=[],h=0;h<arguments.length;h++)l=l.concat(eo(arguments[h]));return l}function ff(){for(var l=0,h=0,s=arguments.length;h<s;h++)l+=arguments[h].length;for(var f=Array(l),p=0,h=0;h<s;h++)for(var i=arguments[h],a=0,o=i.length;a<o;a++,p++)f[p]=i[a];return f}function vi(l){return this instanceof vi?(this.v=l,this):new vi(l)}function df(l,h,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var f=s.apply(l,h||[]),p,i=[];return p={},a("next"),a("throw"),a("return"),p[Symbol.asyncIterator]=function(){return this},p;function a(b){f[b]&&(p[b]=function(g){return new Promise(function(y,F){i.push([b,g,y,F])>1||o(b,g)})})}function o(b,g){try{d(f[b](g))}catch(y){A(i[0][3],y)}}function d(b){b.value instanceof vi?Promise.resolve(b.value.v).then(m,x):A(i[0][2],b)}function m(b){o("next",b)}function x(b){o("throw",b)}function A(b,g){b(g),i.shift(),i.length&&o(i[0][0],i[0][1])}}function hf(l){var h,s;return h={},f("next"),f("throw",function(p){throw p}),f("return"),h[Symbol.iterator]=function(){return this},h;function f(p,i){h[p]=l[p]?function(a){return(s=!s)?{value:vi(l[p](a)),done:p==="return"}:i?i(a):a}:i}}function gf(l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var h=l[Symbol.asyncIterator],s;return h?h.call(l):(l=typeof Su=="function"?Su(l):l[Symbol.iterator](),s={},f("next"),f("throw"),f("return"),s[Symbol.asyncIterator]=function(){return this},s);function f(i){s[i]=l[i]&&function(a){return new Promise(function(o,d){a=l[i](a),p(o,d,a.done,a.value)})}}function p(i,a,o,d){Promise.resolve(d).then(function(m){i({value:m,done:o})},a)}}function mf(l,h){return Object.defineProperty?Object.defineProperty(l,"raw",{value:h}):l.raw=h,l}function yf(l){if(l&&l.__esModule)return l;var h={};if(l!=null)for(var s in l)Object.hasOwnProperty.call(l,s)&&(h[s]=l[s]);return h.default=l,h}function Df(l){return l&&l.__esModule?l:{default:l}}function Ef(l,h){if(!h.has(l))throw new TypeError("attempted to get private field on non-instance");return h.get(l)}function vf(l,h,s){if(!h.has(l))throw new TypeError("attempted to set private field on non-instance");return h.set(l,s),s}var ts,rs,on=at({"node_modules/tslib/tslib.es6.js"(){ce(),ts=function(l,h){return ts=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var p in f)f.hasOwnProperty(p)&&(s[p]=f[p])},ts(l,h)},rs=function(){return rs=Object.assign||function(l){for(var h,s=1,f=arguments.length;s<f;s++){h=arguments[s];for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(l[p]=h[p])}return l},rs.apply(this,arguments)}}}),to=re({"node_modules/vnopts/lib/descriptors/api.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0}),l.apiDescriptor={key:h=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(h)?h:JSON.stringify(h),value(h){if(h===null||typeof h!="object")return JSON.stringify(h);if(Array.isArray(h))return`[${h.map(f=>l.apiDescriptor.value(f)).join(", ")}]`;let s=Object.keys(h);return s.length===0?"{}":`{ ${s.map(f=>`${l.apiDescriptor.key(f)}: ${l.apiDescriptor.value(h[f])}`).join(", ")} }`},pair:h=>{let{key:s,value:f}=h;return l.apiDescriptor.value({[s]:f})}}}}),bf=re({"node_modules/vnopts/lib/descriptors/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en));h.__exportStar(to(),l)}}),ns=re({"scripts/build/shims/chalk.cjs"(l,h){"use strict";ce();var s=f=>f;s.grey=s,s.red=s,s.bold=s,s.yellow=s,s.blue=s,s.default=s,h.exports=s}}),ro=re({"node_modules/vnopts/lib/handlers/deprecated/common.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ns();l.commonDeprecatedHandler=(s,f,p)=>{let{descriptor:i}=p,a=[`${h.default.yellow(typeof s=="string"?i.key(s):i.pair(s))} is deprecated`];return f&&a.push(`we now treat it as ${h.default.blue(typeof f=="string"?i.key(f):i.pair(f))}`),a.join("; ")+"."}}}),Cf=re({"node_modules/vnopts/lib/handlers/deprecated/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en));h.__exportStar(ro(),l)}}),xf=re({"node_modules/vnopts/lib/handlers/invalid/common.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ns();l.commonInvalidHandler=(s,f,p)=>[`Invalid ${h.default.red(p.descriptor.key(s))} value.`,`Expected ${h.default.blue(p.schemas[s].expected(p))},`,`but received ${h.default.red(p.descriptor.value(f))}.`].join(" ")}}),no=re({"node_modules/vnopts/lib/handlers/invalid/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en));h.__exportStar(xf(),l)}}),Af=re({"node_modules/vnopts/node_modules/leven/index.js"(l,h){"use strict";ce();var s=[],f=[];h.exports=function(p,i){if(p===i)return 0;var a=p;p.length>i.length&&(p=i,i=a);var o=p.length,d=i.length;if(o===0)return d;if(d===0)return o;for(;o>0&&p.charCodeAt(~-o)===i.charCodeAt(~-d);)o--,d--;if(o===0)return d;for(var m=0;m<o&&p.charCodeAt(m)===i.charCodeAt(m);)m++;if(o-=m,d-=m,o===0)return d;for(var x,A,b,g,y=0,F=0;y<o;)f[m+y]=p.charCodeAt(m+y),s[y]=++y;for(;F<d;)for(x=i.charCodeAt(m+F),b=F++,A=F,y=0;y<o;y++)g=x===f[m+y]?b:b+1,b=s[y],A=s[y]=b>A?g>A?A+1:g:g>b?b+1:g;return A}}}),io=re({"node_modules/vnopts/lib/handlers/unknown/leven.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ns(),s=Af();l.levenUnknownHandler=(f,p,i)=>{let{descriptor:a,logger:o,schemas:d}=i,m=[`Ignored unknown option ${h.default.yellow(a.pair({key:f,value:p}))}.`],x=Object.keys(d).sort().find(A=>s(f,A)<3);x&&m.push(`Did you mean ${h.default.blue(a.key(x))}?`),o.warn(m.join(" "))}}}),Sf=re({"node_modules/vnopts/lib/handlers/unknown/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en));h.__exportStar(io(),l)}}),Ff=re({"node_modules/vnopts/lib/handlers/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en));h.__exportStar(Cf(),l),h.__exportStar(no(),l),h.__exportStar(Sf(),l)}}),ln=re({"node_modules/vnopts/lib/schema.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function s(i,a){let o=new i(a),d=Object.create(o);for(let m of h)m in a&&(d[m]=p(a[m],o,f.prototype[m].length));return d}l.createSchema=s;var f=class{constructor(i){this.name=i.name}static create(i){return s(this,i)}default(i){}expected(i){return"nothing"}validate(i,a){return!1}deprecated(i,a){return!1}forward(i,a){}redirect(i,a){}overlap(i,a,o){return i}preprocess(i,a){return i}postprocess(i,a){return i}};l.Schema=f;function p(i,a,o){return typeof i=="function"?function(){for(var d=arguments.length,m=new Array(d),x=0;x<d;x++)m[x]=arguments[x];return i(...m.slice(0,o-1),a,...m.slice(o-1))}:()=>i}}}),Tf=re({"node_modules/vnopts/lib/schemas/alias.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ln(),s=class extends h.Schema{constructor(f){super(f),this._sourceName=f.sourceName}expected(f){return f.schemas[this._sourceName].expected(f)}validate(f,p){return p.schemas[this._sourceName].validate(f,p)}redirect(f,p){return this._sourceName}};l.AliasSchema=s}}),wf=re({"node_modules/vnopts/lib/schemas/any.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ln(),s=class extends h.Schema{expected(){return"anything"}validate(){return!0}};l.AnySchema=s}}),kf=re({"node_modules/vnopts/lib/schemas/array.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en)),s=ln(),f=class extends s.Schema{constructor(i){var{valueSchema:a,name:o=a.name}=i,d=h.__rest(i,["valueSchema","name"]);super(Object.assign({},d,{name:o})),this._valueSchema=a}expected(i){return`an array of ${this._valueSchema.expected(i)}`}validate(i,a){if(!Array.isArray(i))return!1;let o=[];for(let d of i){let m=a.normalizeValidateResult(this._valueSchema.validate(d,a),d);m!==!0&&o.push(m.value)}return o.length===0?!0:{value:o}}deprecated(i,a){let o=[];for(let d of i){let m=a.normalizeDeprecatedResult(this._valueSchema.deprecated(d,a),d);m!==!1&&o.push(...m.map(x=>{let{value:A}=x;return{value:[A]}}))}return o}forward(i,a){let o=[];for(let d of i){let m=a.normalizeForwardResult(this._valueSchema.forward(d,a),d);o.push(...m.map(p))}return o}redirect(i,a){let o=[],d=[];for(let m of i){let x=a.normalizeRedirectResult(this._valueSchema.redirect(m,a),m);"remain"in x&&o.push(x.remain),d.push(...x.redirect.map(p))}return o.length===0?{redirect:d}:{redirect:d,remain:o}}overlap(i,a){return i.concat(a)}};l.ArraySchema=f;function p(i){let{from:a,to:o}=i;return{from:[a],to:o}}}}),Pf=re({"node_modules/vnopts/lib/schemas/boolean.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ln(),s=class extends h.Schema{expected(){return"true or false"}validate(f){return typeof f=="boolean"}};l.BooleanSchema=s}}),Fu=re({"node_modules/vnopts/lib/utils.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});function h(g,y){let F=Object.create(null);for(let j of g){let R=j[y];if(F[R])throw new Error(`Duplicate ${y} ${JSON.stringify(R)}`);F[R]=j}return F}l.recordFromArray=h;function s(g,y){let F=new Map;for(let j of g){let R=j[y];if(F.has(R))throw new Error(`Duplicate ${y} ${JSON.stringify(R)}`);F.set(R,j)}return F}l.mapFromArray=s;function f(){let g=Object.create(null);return y=>{let F=JSON.stringify(y);return g[F]?!0:(g[F]=!0,!1)}}l.createAutoChecklist=f;function p(g,y){let F=[],j=[];for(let R of g)y(R)?F.push(R):j.push(R);return[F,j]}l.partition=p;function i(g){return g===Math.floor(g)}l.isInt=i;function a(g,y){if(g===y)return 0;let F=typeof g,j=typeof y,R=["undefined","object","boolean","number","string"];return F!==j?R.indexOf(F)-R.indexOf(j):F!=="string"?Number(g)-Number(y):g.localeCompare(y)}l.comparePrimitive=a;function o(g){return g===void 0?{}:g}l.normalizeDefaultResult=o;function d(g,y){return g===!0?!0:g===!1?{value:y}:g}l.normalizeValidateResult=d;function m(g,y){let F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return g===!1?!1:g===!0?F?!0:[{value:y}]:"value"in g?[g]:g.length===0?!1:g}l.normalizeDeprecatedResult=m;function x(g,y){return typeof g=="string"||"key"in g?{from:y,to:g}:"from"in g?{from:g.from,to:g.to}:{from:y,to:g.to}}l.normalizeTransferResult=x;function A(g,y){return g===void 0?[]:Array.isArray(g)?g.map(F=>x(F,y)):[x(g,y)]}l.normalizeForwardResult=A;function b(g,y){let F=A(typeof g=="object"&&"redirect"in g?g.redirect:g,y);return F.length===0?{remain:y,redirect:F}:typeof g=="object"&&"remain"in g?{remain:g.remain,redirect:F}:{redirect:F}}l.normalizeRedirectResult=b}}),_f=re({"node_modules/vnopts/lib/schemas/choice.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ln(),s=Fu(),f=class extends h.Schema{constructor(p){super(p),this._choices=s.mapFromArray(p.choices.map(i=>i&&typeof i=="object"?i:{value:i}),"value")}expected(p){let{descriptor:i}=p,a=Array.from(this._choices.keys()).map(m=>this._choices.get(m)).filter(m=>!m.deprecated).map(m=>m.value).sort(s.comparePrimitive).map(i.value),o=a.slice(0,-2),d=a.slice(-2);return o.concat(d.join(" or ")).join(", ")}validate(p){return this._choices.has(p)}deprecated(p){let i=this._choices.get(p);return i&&i.deprecated?{value:p}:!1}forward(p){let i=this._choices.get(p);return i?i.forward:void 0}redirect(p){let i=this._choices.get(p);return i?i.redirect:void 0}};l.ChoiceSchema=f}}),so=re({"node_modules/vnopts/lib/schemas/number.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ln(),s=class extends h.Schema{expected(){return"a number"}validate(f,p){return typeof f=="number"}};l.NumberSchema=s}}),Bf=re({"node_modules/vnopts/lib/schemas/integer.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=Fu(),s=so(),f=class extends s.NumberSchema{expected(){return"an integer"}validate(p,i){return i.normalizeValidateResult(super.validate(p,i),p)===!0&&h.isInt(p)}};l.IntegerSchema=f}}),Nf=re({"node_modules/vnopts/lib/schemas/string.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=ln(),s=class extends h.Schema{expected(){return"a string"}validate(f){return typeof f=="string"}};l.StringSchema=s}}),If=re({"node_modules/vnopts/lib/schemas/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en));h.__exportStar(Tf(),l),h.__exportStar(wf(),l),h.__exportStar(kf(),l),h.__exportStar(Pf(),l),h.__exportStar(_f(),l),h.__exportStar(Bf(),l),h.__exportStar(so(),l),h.__exportStar(Nf(),l)}}),Of=re({"node_modules/vnopts/lib/defaults.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=to(),s=ro(),f=no(),p=io();l.defaultDescriptor=h.apiDescriptor,l.defaultUnknownHandler=p.levenUnknownHandler,l.defaultInvalidHandler=f.commonInvalidHandler,l.defaultDeprecatedHandler=s.commonDeprecatedHandler}}),Lf=re({"node_modules/vnopts/lib/normalize.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=Of(),s=Fu();l.normalize=(p,i,a)=>new f(i,a).normalize(p);var f=class{constructor(p,i){let{logger:a=console,descriptor:o=h.defaultDescriptor,unknown:d=h.defaultUnknownHandler,invalid:m=h.defaultInvalidHandler,deprecated:x=h.defaultDeprecatedHandler}=i||{};this._utils={descriptor:o,logger:a||{warn:()=>{}},schemas:s.recordFromArray(p,"name"),normalizeDefaultResult:s.normalizeDefaultResult,normalizeDeprecatedResult:s.normalizeDeprecatedResult,normalizeForwardResult:s.normalizeForwardResult,normalizeRedirectResult:s.normalizeRedirectResult,normalizeValidateResult:s.normalizeValidateResult},this._unknownHandler=d,this._invalidHandler=m,this._deprecatedHandler=x,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=s.createAutoChecklist()}normalize(p){let i={},a=[p],o=()=>{for(;a.length!==0;){let d=a.shift(),m=this._applyNormalization(d,i);a.push(...m)}};o();for(let d of Object.keys(this._utils.schemas)){let m=this._utils.schemas[d];if(!(d in i)){let x=s.normalizeDefaultResult(m.default(this._utils));"value"in x&&a.push({[d]:x.value})}}o();for(let d of Object.keys(this._utils.schemas)){let m=this._utils.schemas[d];d in i&&(i[d]=m.postprocess(i[d],this._utils))}return i}_applyNormalization(p,i){let a=[],[o,d]=s.partition(Object.keys(p),m=>m in this._utils.schemas);for(let m of o){let x=this._utils.schemas[m],A=x.preprocess(p[m],this._utils),b=s.normalizeValidateResult(x.validate(A,this._utils),A);if(b!==!0){let{value:j}=b,R=this._invalidHandler(m,j,this._utils);throw typeof R=="string"?new Error(R):R}let g=j=>{let{from:R,to:w}=j;a.push(typeof w=="string"?{[w]:R}:{[w.key]:w.value})},y=j=>{let{value:R,redirectTo:w}=j,L=s.normalizeDeprecatedResult(x.deprecated(R,this._utils),A,!0);if(L!==!1)if(L===!0)this._hasDeprecationWarned(m)||this._utils.logger.warn(this._deprecatedHandler(m,w,this._utils));else for(let{value:B}of L){let $={key:m,value:B};if(!this._hasDeprecationWarned($)){let M=typeof w=="string"?{key:w,value:B}:w;this._utils.logger.warn(this._deprecatedHandler($,M,this._utils))}}};s.normalizeForwardResult(x.forward(A,this._utils),A).forEach(g);let F=s.normalizeRedirectResult(x.redirect(A,this._utils),A);if(F.redirect.forEach(g),"remain"in F){let j=F.remain;i[m]=m in i?x.overlap(i[m],j,this._utils):j,y({value:j})}for(let{from:j,to:R}of F.redirect)y({value:j,redirectTo:R})}for(let m of d){let x=p[m],A=this._unknownHandler(m,x,this._utils);if(A)for(let b of Object.keys(A)){let g={[b]:A[b]};b in this._utils.schemas?a.push(g):Object.assign(i,g)}}return a}};l.Normalizer=f}}),jf=re({"node_modules/vnopts/lib/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0});var h=(on(),Ot(en));h.__exportStar(bf(),l),h.__exportStar(Ff(),l),h.__exportStar(If(),l),h.__exportStar(Lf(),l),h.__exportStar(ln(),l)}}),Rf=re({"src/main/options-normalizer.js"(l,h){"use strict";ce();var s=jf(),f=Be(),p={key:b=>b.length===1?`-${b}`:`--${b}`,value:b=>s.apiDescriptor.value(b),pair:b=>{let{key:g,value:y}=b;return y===!1?`--no-${g}`:y===!0?p.key(g):y===""?`${p.key(g)} without an argument`:`${p.key(g)}=${y}`}},i=b=>{let{colorsModule:g,levenshteinDistance:y}=b;return class extends s.ChoiceSchema{constructor(F){let{name:j,flags:R}=F;super({name:j,choices:R}),this._flags=[...R].sort()}preprocess(F,j){if(typeof F=="string"&&F.length>0&&!this._flags.includes(F)){let R=this._flags.find(w=>y(w,F)<3);if(R)return j.logger.warn([`Unknown flag ${g.yellow(j.descriptor.value(F))},`,`did you mean ${g.blue(j.descriptor.value(R))}?`].join(" ")),R}return F}expected(){return"a flag"}}},a;function o(b,g){let{logger:y=!1,isCLI:F=!1,passThrough:j=!1,colorsModule:R=null,levenshteinDistance:w=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},L=j?Array.isArray(j)?(N,D)=>j.includes(N)?{[N]:D}:void 0:(N,D)=>({[N]:D}):(N,D,T)=>{let c=T.schemas,{_:C}=c,S=Oe(c,Ae);return s.levenUnknownHandler(N,D,Object.assign(Object.assign({},T),{},{schemas:S}))},B=F?p:s.apiDescriptor,$=d(g,{isCLI:F,colorsModule:R,levenshteinDistance:w}),M=new s.Normalizer($,{logger:y,unknown:L,descriptor:B}),K=y!==!1;K&&a&&(M._hasDeprecationWarned=a);let E=M.normalize(b);return K&&(a=M._hasDeprecationWarned),F&&E["plugin-search"]===!1&&(E["plugin-search-dir"]=!1),E}function d(b,g){let{isCLI:y,colorsModule:F,levenshteinDistance:j}=g,R=[];y&&R.push(s.AnySchema.create({name:"_"}));for(let w of b)R.push(m(w,{isCLI:y,optionInfos:b,colorsModule:F,levenshteinDistance:j})),w.alias&&y&&R.push(s.AliasSchema.create({name:w.alias,sourceName:w.name}));return R}function m(b,g){let{isCLI:y,optionInfos:F,colorsModule:j,levenshteinDistance:R}=g,{name:w}=b;if(w==="plugin-search-dir"||w==="pluginSearchDirs")return s.AnySchema.create({name:w,preprocess(M){return M===!1||(M=Array.isArray(M)?M:[M]),M},validate(M){return M===!1?!0:M.every(K=>typeof K=="string")},expected(){return"false or paths to plugin search dir"}});let L={name:w},B,$={};switch(b.type){case"int":B=s.IntegerSchema,y&&(L.preprocess=Number);break;case"string":B=s.StringSchema;break;case"choice":B=s.ChoiceSchema,L.choices=b.choices.map(M=>typeof M=="object"&&M.redirect?Object.assign(Object.assign({},M),{},{redirect:{to:{key:b.name,value:M.redirect}}}):M);break;case"boolean":B=s.BooleanSchema;break;case"flag":B=i({colorsModule:j,levenshteinDistance:R}),L.flags=F.flatMap(M=>[M.alias,M.description&&M.name,M.oppositeDescription&&`no-${M.name}`].filter(Boolean));break;case"path":B=s.StringSchema;break;default:throw new Error(`Unexpected type ${b.type}`)}if(b.exception?L.validate=(M,K,E)=>b.exception(M)||K.validate(M,E):L.validate=(M,K,E)=>M===void 0||K.validate(M,E),b.redirect&&($.redirect=M=>M?{to:{key:b.redirect.option,value:b.redirect.value}}:void 0),b.deprecated&&($.deprecated=!0),y&&!b.array){let M=L.preprocess||(K=>K);L.preprocess=(K,E,N)=>E.preprocess(M(Array.isArray(K)?f(K):K),N)}return b.array?s.ArraySchema.create(Object.assign(Object.assign(Object.assign({},y?{preprocess:M=>Array.isArray(M)?M:[M]}:{}),$),{},{valueSchema:B.create(L)})):B.create(Object.assign(Object.assign({},L),$))}function x(b,g,y){return o(b,g,y)}function A(b,g,y){return o(b,g,Object.assign({isCLI:!0},y))}h.exports={normalizeApiOptions:x,normalizeCliOptions:A}}}),br=re({"src/language-js/loc.js"(l,h){"use strict";ce();var s=Eu();function f(d){var m,x;let A=d.range?d.range[0]:d.start,b=(m=(x=d.declaration)===null||x===void 0?void 0:x.decorators)!==null&&m!==void 0?m:d.decorators;return s(b)?Math.min(f(b[0]),A):A}function p(d){return d.range?d.range[1]:d.end}function i(d,m){let x=f(d);return Number.isInteger(x)&&x===f(m)}function a(d,m){let x=p(d);return Number.isInteger(x)&&x===p(m)}function o(d,m){return i(d,m)&&a(d,m)}h.exports={locStart:f,locEnd:p,hasSameLocStart:i,hasSameLoc:o}}}),Mf=re({"src/main/load-parser.js"(l,h){ce(),h.exports=()=>{}}}),$f=re({"scripts/build/shims/babel-highlight.cjs"(l,h){"use strict";ce();var s=ns(),f={shouldHighlight:()=>!1,getChalk:()=>s};h.exports=f}}),Vf=re({"node_modules/@babel/code-frame/lib/index.js"(l){"use strict";ce(),Object.defineProperty(l,"__esModule",{value:!0}),l.codeFrameColumns=a,l.default=o;var h=$f(),s=!1;function f(d){return{gutter:d.grey,marker:d.red.bold,message:d.red.bold}}var p=/\r\n|[\n\r\u2028\u2029]/;function i(d,m,x){let A=Object.assign({column:0,line:-1},d.start),b=Object.assign({},A,d.end),{linesAbove:g=2,linesBelow:y=3}=x||{},F=A.line,j=A.column,R=b.line,w=b.column,L=Math.max(F-(g+1),0),B=Math.min(m.length,R+y);F===-1&&(L=0),R===-1&&(B=m.length);let $=R-F,M={};if($)for(let K=0;K<=$;K++){let E=K+F;if(!j)M[E]=!0;else if(K===0){let N=m[E-1].length;M[E]=[j,N-j+1]}else if(K===$)M[E]=[0,w];else{let N=m[E-K].length;M[E]=[0,N]}}else j===w?j?M[F]=[j,0]:M[F]=!0:M[F]=[j,w-j];return{start:L,end:B,markerLines:M}}function a(d,m){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},A=(x.highlightCode||x.forceColor)&&(0,h.shouldHighlight)(x),b=(0,h.getChalk)(x),g=f(b),y=(M,K)=>A?M(K):K,F=d.split(p),{start:j,end:R,markerLines:w}=i(m,F,x),L=m.start&&typeof m.start.column=="number",B=String(R).length,$=(A?(0,h.default)(d,x):d).split(p,R).slice(j,R).map((M,K)=>{let E=j+1+K,N=` ${` ${E}`.slice(-B)} |`,D=w[E],T=!w[E+1];if(D){let c="";if(Array.isArray(D)){let C=M.slice(0,Math.max(D[0]-1,0)).replace(/[^\t]/g," "),S=D[1]||1;c=[`
|
|
105
|
-
`,y
|
|
106
|
-
`);return
|
|
107
|
-
${
|
|
108
|
-
`+R.codeFrame,R}throw R}}h.exports={parse:A,resolveParser:x}}}),uo=re({"src/main/options.js"(l,h){"use strict";ce();var s=ef(),{UndefinedParserError:f}=Ei(),{getSupportInfo:p}=Du(),i=Rf(),{resolveParser:a}=Tu(),o={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function d(A){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=Object.assign({},A),y=p({plugins:A.plugins,showUnreleased:!0,showDeprecated:!0}).options,F=Object.assign(Object.assign({},o),Object.fromEntries(y.filter(B=>B.default!==void 0).map(B=>[B.name,B.default])));if(!g.parser){if(!g.filepath)(b.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),g.parser="babel";else if(g.parser=x(g.filepath,g.plugins),!g.parser)throw new f(`No parser could be inferred for file: ${g.filepath}`)}let j=a(i.normalizeApiOptions(g,[y.find(B=>B.name==="parser")],{passThrough:!0,logger:!1}));g.astFormat=j.astFormat,g.locEnd=j.locEnd,g.locStart=j.locStart;let R=m(g);g.printer=R.printers[g.astFormat];let w=Object.fromEntries(y.filter(B=>B.pluginDefaults&&B.pluginDefaults[R.name]!==void 0).map(B=>[B.name,B.pluginDefaults[R.name]])),L=Object.assign(Object.assign({},F),w);for(let[B,$]of Object.entries(L))(g[B]===null||g[B]===void 0)&&(g[B]=$);return g.parser==="json"&&(g.trailingComma="none"),i.normalizeApiOptions(g,y,Object.assign({passThrough:Object.keys(o)},b))}function m(A){let{astFormat:b}=A;if(!b)throw new Error("getPlugin() requires astFormat to be set");let g=A.plugins.find(y=>y.printers&&y.printers[b]);if(!g)throw new Error(`Couldn't find plugin for AST format "${b}"`);return g}function x(A,b){let g=s.basename(A).toLowerCase(),y=p({plugins:b}).languages.filter(F=>F.since!==null).find(F=>F.extensions&&F.extensions.some(j=>g.endsWith(j))||F.filenames&&F.filenames.some(j=>j.toLowerCase()===g));return y&&y.parsers[0]}h.exports={normalize:d,hiddenDefaults:o,inferParser:x}}}),Uf=re({"src/main/massage-ast.js"(l,h){"use strict";ce();function s(f,p,i){if(Array.isArray(f))return f.map(m=>s(m,p,i)).filter(Boolean);if(!f||typeof f!="object")return f;let a=p.printer.massageAstNode,o;a&&a.ignoredProperties?o=a.ignoredProperties:o=new Set;let d={};for(let[m,x]of Object.entries(f))!o.has(m)&&typeof x!="function"&&(d[m]=s(x,p,f));if(a){let m=a(f,d,i);if(m===null)return;if(m)return m}return d}h.exports=s}}),bi=re({"scripts/build/shims/assert.cjs"(l,h){"use strict";ce();var s=()=>{};s.ok=s,s.strictEqual=s,h.exports=s}}),pr=re({"src/main/comments.js"(l,h){"use strict";ce();var s=bi(),{builders:{line:f,hardline:p,breakParent:i,indent:a,lineSuffix:o,join:d,cursor:m}}=yt(),{hasNewline:x,skipNewline:A,skipSpaces:b,isPreviousLineEmpty:g,addLeadingComment:y,addDanglingComment:F,addTrailingComment:j}=Bt(),R=new WeakMap;function w(U,z,Q){if(!U)return;let{printer:X,locStart:ne,locEnd:G}=z;if(Q){if(X.canAttachComment&&X.canAttachComment(U)){let H;for(H=Q.length-1;H>=0&&!(ne(Q[H])<=ne(U)&&G(Q[H])<=G(U));--H);Q.splice(H+1,0,U);return}}else if(R.has(U))return R.get(U);let de=X.getCommentChildNodes&&X.getCommentChildNodes(U,z)||typeof U=="object"&&Object.entries(U).filter(H=>{let[W]=H;return W!=="enclosingNode"&&W!=="precedingNode"&&W!=="followingNode"&&W!=="tokens"&&W!=="comments"&&W!=="parent"}).map(H=>{let[,W]=H;return W});if(de){Q||(Q=[],R.set(U,Q));for(let H of de)w(H,z,Q);return Q}}function L(U,z,Q,X){let{locStart:ne,locEnd:G}=Q,de=ne(z),H=G(z),W=w(U,Q),fe,Ee,he=0,Pe=W.length;for(;he<Pe;){let Z=he+Pe>>1,ue=W[Z],Te=ne(ue),we=G(ue);if(Te<=de&&H<=we)return L(ue,z,Q,ue);if(we<=de){fe=ue,he=Z+1;continue}if(H<=Te){Ee=ue,Pe=Z;continue}throw new Error("Comment location overlaps with node location")}if(X&&X.type==="TemplateLiteral"){let{quasis:Z}=X,ue=T(Z,z,Q);fe&&T(Z,fe,Q)!==ue&&(fe=null),Ee&&T(Z,Ee,Q)!==ue&&(Ee=null)}return{enclosingNode:X,precedingNode:fe,followingNode:Ee}}var B=()=>!1;function $(U,z,Q,X){if(!Array.isArray(U))return;let ne=[],{locStart:G,locEnd:de,printer:{handleComments:H={}}}=X,{avoidAstMutation:W,ownLine:fe=B,endOfLine:Ee=B,remaining:he=B}=H,Pe=U.map((Z,ue)=>Object.assign(Object.assign({},L(z,Z,X)),{},{comment:Z,text:Q,options:X,ast:z,isLastComment:U.length-1===ue}));for(let[Z,ue]of Pe.entries()){let{comment:Te,precedingNode:we,enclosingNode:ze,followingNode:pe,text:te,options:ge,ast:ye,isLastComment:Ne}=ue;if(ge.parser==="json"||ge.parser==="json5"||ge.parser==="__js_expression"||ge.parser==="__vue_expression"||ge.parser==="__vue_ts_expression"){if(G(Te)-G(ye)<=0){y(ye,Te);continue}if(de(Te)-de(ye)>=0){j(ye,Te);continue}}let je;if(W?je=[ue]:(Te.enclosingNode=ze,Te.precedingNode=we,Te.followingNode=pe,je=[Te,te,ge,ye,Ne]),K(te,ge,Pe,Z))Te.placement="ownLine",fe(...je)||(pe?y(pe,Te):we?j(we,Te):F(ze||ye,Te));else if(E(te,ge,Pe,Z))Te.placement="endOfLine",Ee(...je)||(we?j(we,Te):pe?y(pe,Te):F(ze||ye,Te));else if(Te.placement="remaining",!he(...je))if(we&&pe){let Ve=ne.length;Ve>0&&ne[Ve-1].followingNode!==pe&&N(ne,te,ge),ne.push(ue)}else we?j(we,Te):pe?y(pe,Te):F(ze||ye,Te)}if(N(ne,Q,X),!W)for(let Z of U)delete Z.precedingNode,delete Z.enclosingNode,delete Z.followingNode}var M=U=>!/[\S\n\u2028\u2029]/.test(U);function K(U,z,Q,X){let{comment:ne,precedingNode:G}=Q[X],{locStart:de,locEnd:H}=z,W=de(ne);if(G)for(let fe=X-1;fe>=0;fe--){let{comment:Ee,precedingNode:he}=Q[fe];if(he!==G||!M(U.slice(H(Ee),W)))break;W=de(Ee)}return x(U,W,{backwards:!0})}function E(U,z,Q,X){let{comment:ne,followingNode:G}=Q[X],{locStart:de,locEnd:H}=z,W=H(ne);if(G)for(let fe=X+1;fe<Q.length;fe++){let{comment:Ee,followingNode:he}=Q[fe];if(he!==G||!M(U.slice(W,de(Ee))))break;W=H(Ee)}return x(U,W)}function N(U,z,Q){let X=U.length;if(X===0)return;let{precedingNode:ne,followingNode:G,enclosingNode:de}=U[0],H=Q.printer.getGapRegex&&Q.printer.getGapRegex(de)||/^[\s(]*$/,W=Q.locStart(G),fe;for(fe=X;fe>0;--fe){let{comment:Ee,precedingNode:he,followingNode:Pe}=U[fe-1];s.strictEqual(he,ne),s.strictEqual(Pe,G);let Z=z.slice(Q.locEnd(Ee),W);if(H.test(Z))W=Q.locStart(Ee);else break}for(let[Ee,{comment:he}]of U.entries())Ee<fe?j(ne,he):y(G,he);for(let Ee of[ne,G])Ee.comments&&Ee.comments.length>1&&Ee.comments.sort((he,Pe)=>Q.locStart(he)-Q.locStart(Pe));U.length=0}function D(U,z){let Q=U.getValue();return Q.printed=!0,z.printer.printComment(U,z)}function T(U,z,Q){let X=Q.locStart(z)-1;for(let ne=1;ne<U.length;++ne)if(X<Q.locStart(U[ne]))return ne-1;return 0}function c(U,z){let Q=U.getValue(),X=[D(U,z)],{printer:ne,originalText:G,locStart:de,locEnd:H}=z;if(ne.isBlockComment&&ne.isBlockComment(Q)){let fe=x(G,H(Q))?x(G,de(Q),{backwards:!0})?p:f:" ";X.push(fe)}else X.push(p);let W=A(G,b(G,H(Q)));return W!==!1&&x(G,W)&&X.push(p),X}function C(U,z){let Q=U.getValue(),X=D(U,z),{printer:ne,originalText:G,locStart:de}=z,H=ne.isBlockComment&&ne.isBlockComment(Q);if(x(G,de(Q),{backwards:!0})){let fe=g(G,Q,de);return o([p,fe?p:"",X])}let W=[" ",X];return H||(W=[o(W),i]),W}function S(U,z,Q,X){let ne=[],G=U.getValue();return!G||!G.comments||(U.each(()=>{let de=U.getValue();!de.leading&&!de.trailing&&(!X||X(de))&&ne.push(D(U,z))},"comments"),ne.length===0)?"":Q?d(p,ne):a([p,d(p,ne)])}function P(U,z,Q){let X=U.getValue();if(!X)return{};let ne=X.comments||[];Q&&(ne=ne.filter(W=>!Q.has(W)));let G=X===z.cursorNode;if(ne.length===0){let W=G?m:"";return{leading:W,trailing:W}}let de=[],H=[];return U.each(()=>{let W=U.getValue();if(Q&&Q.has(W))return;let{leading:fe,trailing:Ee}=W;fe?de.push(c(U,z)):Ee&&H.push(C(U,z))},"comments"),G&&(de.unshift(m),H.push(m)),{leading:de,trailing:H}}function _(U,z,Q,X){let{leading:ne,trailing:G}=P(U,Q,X);return!ne&&!G?z:[ne,z,G]}function I(U){if(U)for(let z of U){if(!z.printed)throw new Error('Comment "'+z.value.trim()+'" was not printed. Please report this error!');delete z.printed}}h.exports={attach:$,printComments:_,printCommentsSeparately:P,printDanglingComments:S,getSortedChildNodes:w,ensureAllCommentsPrinted:I}}}),Gf=re({"src/common/ast-path.js"(l,h){"use strict";ce();var s=Be();function f(a,o){let d=p(a.stack,o);return d===-1?null:a.stack[d]}function p(a,o){for(let d=a.length-1;d>=0;d-=2){let m=a[d];if(m&&!Array.isArray(m)&&--o<0)return d}return-1}var i=class{constructor(a){this.stack=[a]}getName(){let{stack:a}=this,{length:o}=a;return o>1?a[o-2]:null}getValue(){return s(this.stack)}getNode(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return f(this,a)}getParentNode(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return f(this,a+1)}call(a){let{stack:o}=this,{length:d}=o,m=s(o);for(var x=arguments.length,A=new Array(x>1?x-1:0),b=1;b<x;b++)A[b-1]=arguments[b];for(let y of A)m=m[y],o.push(y,m);let g=a(this);return o.length=d,g}callParent(a){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=p(this.stack,o+1),m=this.stack.splice(d+1),x=a(this);return this.stack.push(...m),x}each(a){let{stack:o}=this,{length:d}=o,m=s(o);for(var x=arguments.length,A=new Array(x>1?x-1:0),b=1;b<x;b++)A[b-1]=arguments[b];for(let g of A)m=m[g],o.push(g,m);for(let g=0;g<m.length;++g)o.push(g,m[g]),a(this,g,m),o.length-=2;o.length=d}map(a){let o=[];for(var d=arguments.length,m=new Array(d>1?d-1:0),x=1;x<d;x++)m[x-1]=arguments[x];return this.each((A,b,g)=>{o[b]=a(A,b,g)},...m),o}try(a){let{stack:o}=this,d=[...o];try{return a()}finally{o.length=0,o.push(...d)}}match(){let a=this.stack.length-1,o=null,d=this.stack[a--];for(var m=arguments.length,x=new Array(m),A=0;A<m;A++)x[A]=arguments[A];for(let b of x){if(d===void 0)return!1;let g=null;if(typeof o=="number"&&(g=o,o=this.stack[a--],d=this.stack[a--]),b&&!b(d,o,g))return!1;o=this.stack[a--],d=this.stack[a--]}return!0}findAncestor(a){let o=this.stack.length-1,d=null,m=this.stack[o--];for(;m;){let x=null;if(typeof d=="number"&&(x=d,d=this.stack[o--],m=this.stack[o--]),d!==null&&a(m,d,x))return m;d=this.stack[o--],m=this.stack[o--]}}};h.exports=i}}),qf=re({"src/main/multiparser.js"(l,h){"use strict";ce();var{utils:{stripTrailingHardline:s}}=yt(),{normalize:f}=uo(),p=pr();function i(o,d,m,x){if(m.printer.embed&&m.embeddedLanguageFormatting==="auto")return m.printer.embed(o,d,(A,b,g)=>a(A,b,m,x,g),m)}function a(o,d,m,x){let{stripTrailingHardline:A=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},b=f(Object.assign(Object.assign(Object.assign({},m),d),{},{parentParser:m.parser,originalText:o}),{passThrough:!0}),g=Tu().parse(o,b),{ast:y}=g;o=g.text;let F=y.comments;delete y.comments,p.attach(F,y,o,b),b[Symbol.for("comments")]=F||[],b[Symbol.for("tokens")]=y.tokens||[];let j=x(y,b);return p.ensureAllCommentsPrinted(F),A?typeof j=="string"?j.replace(/(?:\r?\n)*$/,""):s(j):j}h.exports={printSubtree:i}}}),Wf=re({"src/main/ast-to-doc.js"(l,h){"use strict";ce();var s=Gf(),{builders:{hardline:f,addAlignmentToDoc:p},utils:{propagateBreaks:i}}=yt(),{printComments:a}=pr(),o=qf();function d(A,b){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:y}=b;y.preprocess&&(A=y.preprocess(A,b));let F=new Map,j=new s(A),R=w();return g>0&&(R=p([f,R],g,b.tabWidth)),i(R),R;function w(B,$){return B===void 0||B===j?L($):Array.isArray(B)?j.call(()=>L($),...B):j.call(()=>L($),B)}function L(B){let $=j.getValue(),M=$&&typeof $=="object"&&B===void 0;if(M&&F.has($))return F.get($);let K=x(j,b,w,B);return M&&F.set($,K),K}}function m(A,b){let{originalText:g,[Symbol.for("comments")]:y,locStart:F,locEnd:j}=b,R=F(A),w=j(A),L=new Set;for(let B of y)F(B)>=R&&j(B)<=w&&(B.printed=!0,L.add(B));return{doc:g.slice(R,w),printedComments:L}}function x(A,b,g,y){let F=A.getValue(),{printer:j}=b,R,w;if(j.hasPrettierIgnore&&j.hasPrettierIgnore(A))({doc:R,printedComments:w}=m(F,b));else{if(F)try{R=o.printSubtree(A,g,b,d)}catch(L){if(globalThis.PRETTIER_DEBUG)throw L}R||(R=j.print(A,b,g,y))}return(!j.willPrintOwnComments||!j.willPrintOwnComments(A,b))&&(R=a(A,R,b,w)),R}h.exports=d}}),Jf=re({"src/main/range-util.js"(l,h){"use strict";ce();var s=bi(),f=pr(),p=y=>{let{parser:F}=y;return F==="json"||F==="json5"||F==="json-stringify"};function i(y,F){let j=[y.node,...y.parentNodes],R=new Set([F.node,...F.parentNodes]);return j.find(w=>x.has(w.type)&&R.has(w))}function a(y){let F=y.length-1;for(;;){let j=y[F];if(j&&(j.type==="Program"||j.type==="File"))F--;else break}return y.slice(0,F+1)}function o(y,F,j){let{locStart:R,locEnd:w}=j,L=y.node,B=F.node;if(L===B)return{startNode:L,endNode:B};let $=R(y.node);for(let K of a(F.parentNodes))if(R(K)>=$)B=K;else break;let M=w(F.node);for(let K of a(y.parentNodes)){if(w(K)<=M)L=K;else break;if(L===B)break}return{startNode:L,endNode:B}}function d(y,F,j,R){let w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],L=arguments.length>5?arguments[5]:void 0,{locStart:B,locEnd:$}=j,M=B(y),K=$(y);if(!(F>K||F<M||L==="rangeEnd"&&F===M||L==="rangeStart"&&F===K)){for(let E of f.getSortedChildNodes(y,j)){let N=d(E,F,j,R,[y,...w],L);if(N)return N}if(!R||R(y,w[0]))return{node:y,parentNodes:w}}}function m(y,F){return F!=="DeclareExportDeclaration"&&y!=="TypeParameterDeclaration"&&(y==="Directive"||y==="TypeAlias"||y==="TSExportAssignment"||y.startsWith("Declare")||y.startsWith("TSDeclare")||y.endsWith("Statement")||y.endsWith("Declaration"))}var x=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),A=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function b(y,F,j){if(!F)return!1;switch(y.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return m(F.type,j&&j.type);case"json":case"json5":case"json-stringify":return x.has(F.type);case"graphql":return A.has(F.kind);case"vue":return F.tag!=="root"}return!1}function g(y,F,j){let{rangeStart:R,rangeEnd:w,locStart:L,locEnd:B}=F;s.ok(w>R);let $=y.slice(R,w).search(/\S/),M=$===-1;if(!M)for(R+=$;w>R&&!/\S/.test(y[w-1]);--w);let K=d(j,R,F,(T,c)=>b(F,T,c),[],"rangeStart"),E=M?K:d(j,w,F,T=>b(F,T),[],"rangeEnd");if(!K||!E)return{rangeStart:0,rangeEnd:0};let N,D;if(p(F)){let T=i(K,E);N=T,D=T}else({startNode:N,endNode:D}=o(K,E,F));return{rangeStart:Math.min(L(N),L(D)),rangeEnd:Math.max(B(N),B(D))}}h.exports={calculateRange:g,findNodeAtOffset:d}}}),zf=re({"src/main/core.js"(l,h){"use strict";ce();var{diffArrays:s}=O(),{printer:{printDocToString:f},debug:{printDocToDebug:p}}=yt(),{getAlignmentSize:i}=Bt(),{guessEndOfLine:a,convertEndOfLineToChars:o,countEndOfLineChars:d,normalizeEndOfLine:m}=oe(),x=uo().normalize,A=Uf(),b=pr(),g=Tu(),y=Wf(),F=Jf(),j="\uFEFF",R=Symbol("cursor");function w(D,T,c){let C=T.comments;return C&&(delete T.comments,b.attach(C,T,D,c)),c[Symbol.for("comments")]=C||[],c[Symbol.for("tokens")]=T.tokens||[],c.originalText=D,C}function L(D,T){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!D||D.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:C,text:S}=g.parse(D,T);if(T.cursorOffset>=0){let U=F.findNodeAtOffset(C,T.cursorOffset,T);U&&U.node&&(T.cursorNode=U.node)}let P=w(S,C,T),_=y(C,T,c),I=f(_,T);if(b.ensureAllCommentsPrinted(P),c>0){let U=I.formatted.trim();I.cursorNodeStart!==void 0&&(I.cursorNodeStart-=I.formatted.indexOf(U)),I.formatted=U+o(T.endOfLine)}if(T.cursorOffset>=0){let U,z,Q,X,ne;if(T.cursorNode&&I.cursorNodeText?(U=T.locStart(T.cursorNode),z=S.slice(U,T.locEnd(T.cursorNode)),Q=T.cursorOffset-U,X=I.cursorNodeStart,ne=I.cursorNodeText):(U=0,z=S,Q=T.cursorOffset,X=0,ne=I.formatted),z===ne)return{formatted:I.formatted,cursorOffset:X+Q,comments:P};let G=[...z];G.splice(Q,0,R);let de=[...ne],H=s(G,de),W=X;for(let fe of H)if(fe.removed){if(fe.value.includes(R))break}else W+=fe.count;return{formatted:I.formatted,cursorOffset:W,comments:P}}return{formatted:I.formatted,cursorOffset:-1,comments:P}}function B(D,T){let{ast:c,text:C}=g.parse(D,T),{rangeStart:S,rangeEnd:P}=F.calculateRange(C,T,c),_=C.slice(S,P),I=Math.min(S,C.lastIndexOf(`
|
|
109
|
-
`,S)+1),
|
|
110
|
-
`&&(
|
|
111
|
-
`)),
|
|
112
|
-
`);c-=I(c),C-=I(C),S-=I(S),D=m(D)}return{hasBOM:_,text:D,options:M(D,Object.assign(Object.assign({},T),{},{cursorOffset:c,rangeStart:C,rangeEnd:S,endOfLine:P}))}}function E(D,T){let c=g.resolveParser(T);return!c.hasPragma||c.hasPragma(D)}function N(D,T){let{hasBOM:c,text:C,options:S}=K(D,x(T));if(S.rangeStart>=S.rangeEnd&&C!==""||S.requirePragma&&!E(C,S))return{formatted:D,cursorOffset:T.cursorOffset,comments:[]};let P;return S.rangeStart>0||S.rangeEnd<C.length?P=B(C,S):(!S.requirePragma&&S.insertPragma&&S.printer.insertPragma&&!E(C,S)&&(C=S.printer.insertPragma(C)),P=L(C,S)),c&&(P.formatted=j+P.formatted,P.cursorOffset>=0&&P.cursorOffset++),P}h.exports={formatWithCursor:N,parse(D,T,c){let{text:C,options:S}=K(D,x(T)),P=g.parse(C,S);return c&&(P.ast=A(P.ast,S)),P},formatAST(D,T){T=x(T);let c=y(D,T);return f(c,T)},formatDoc(D,T){return N(p(D),Object.assign(Object.assign({},T),{},{parser:"__js_expression"})).formatted},printToDoc(D,T){T=x(T);let{ast:c,text:C}=g.parse(D,T);return w(C,c,T),y(c,T)},printDocToString(D,T){return f(D,x(T))}}}}),Xf=re({"src/common/util-shared.js"(l,h){"use strict";ce();var{getMaxContinuousCount:s,getStringWidth:f,getAlignmentSize:p,getIndentSize:i,skip:a,skipWhitespace:o,skipSpaces:d,skipNewline:m,skipToLineEnd:x,skipEverythingButNewLine:A,skipInlineComment:b,skipTrailingComment:g,hasNewline:y,hasNewlineInRange:F,hasSpaces:j,isNextLineEmpty:R,isNextLineEmptyAfterIndex:w,isPreviousLineEmpty:L,getNextNonSpaceNonCommentCharacterIndex:B,makeString:$,addLeadingComment:M,addDanglingComment:K,addTrailingComment:E}=Bt();h.exports={getMaxContinuousCount:s,getStringWidth:f,getAlignmentSize:p,getIndentSize:i,skip:a,skipWhitespace:o,skipSpaces:d,skipNewline:m,skipToLineEnd:x,skipEverythingButNewLine:A,skipInlineComment:b,skipTrailingComment:g,hasNewline:y,hasNewlineInRange:F,hasSpaces:j,isNextLineEmpty:R,isNextLineEmptyAfterIndex:w,isPreviousLineEmpty:L,getNextNonSpaceNonCommentCharacterIndex:B,makeString:$,addLeadingComment:M,addDanglingComment:K,addTrailingComment:E}}}),bn=re({"src/utils/create-language.js"(l,h){"use strict";ce(),h.exports=function(s,f){let{languageId:p}=s,i=Oe(s,be);return Object.assign(Object.assign({linguistLanguageId:p},i),f(s))}}}),Hf=re({"node_modules/esutils/lib/ast.js"(l,h){ce(),function(){"use strict";function s(d){if(d==null)return!1;switch(d.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function f(d){if(d==null)return!1;switch(d.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function p(d){if(d==null)return!1;switch(d.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(d){return p(d)||d!=null&&d.type==="FunctionDeclaration"}function a(d){switch(d.type){case"IfStatement":return d.alternate!=null?d.alternate:d.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return d.body}return null}function o(d){var m;if(d.type!=="IfStatement"||d.alternate==null)return!1;m=d.consequent;do{if(m.type==="IfStatement"&&m.alternate==null)return!0;m=a(m)}while(m);return!1}h.exports={isExpression:s,isStatement:p,isIterationStatement:f,isSourceElement:i,isProblematicIfStatement:o,trailingStatement:a}}()}}),ao=re({"node_modules/esutils/lib/code.js"(l,h){ce(),function(){"use strict";var s,f,p,i,a,o;f={NonAsciiIdentifierStart:/[\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\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\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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]/,NonAsciiIdentifierPart:/[\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\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\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\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\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-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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\u200C\u200D\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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]/},s={NonAsciiIdentifierStart:/[\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\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\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-\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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\uDF30-\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\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\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\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\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\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\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\u1369-\u1371\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-\u19DA\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-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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\uDF30-\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\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function d(w){return 48<=w&&w<=57}function m(w){return 48<=w&&w<=57||97<=w&&w<=102||65<=w&&w<=70}function x(w){return w>=48&&w<=55}p=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function A(w){return w===32||w===9||w===11||w===12||w===160||w>=5760&&p.indexOf(w)>=0}function b(w){return w===10||w===13||w===8232||w===8233}function g(w){if(w<=65535)return String.fromCharCode(w);var L=String.fromCharCode(Math.floor((w-65536)/1024)+55296),B=String.fromCharCode((w-65536)%1024+56320);return L+B}for(i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function y(w){return w<128?i[w]:f.NonAsciiIdentifierStart.test(g(w))}function F(w){return w<128?a[w]:f.NonAsciiIdentifierPart.test(g(w))}function j(w){return w<128?i[w]:s.NonAsciiIdentifierStart.test(g(w))}function R(w){return w<128?a[w]:s.NonAsciiIdentifierPart.test(g(w))}h.exports={isDecimalDigit:d,isHexDigit:m,isOctalDigit:x,isWhiteSpace:A,isLineTerminator:b,isIdentifierStartES5:y,isIdentifierPartES5:F,isIdentifierStartES6:j,isIdentifierPartES6:R}}()}}),Yf=re({"node_modules/esutils/lib/keyword.js"(l,h){ce(),function(){"use strict";var s=ao();function f(y){switch(y){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function p(y,F){return!F&&y==="yield"?!1:i(y,F)}function i(y,F){if(F&&f(y))return!0;switch(y.length){case 2:return y==="if"||y==="in"||y==="do";case 3:return y==="var"||y==="for"||y==="new"||y==="try";case 4:return y==="this"||y==="else"||y==="case"||y==="void"||y==="with"||y==="enum";case 5:return y==="while"||y==="break"||y==="catch"||y==="throw"||y==="const"||y==="yield"||y==="class"||y==="super";case 6:return y==="return"||y==="typeof"||y==="delete"||y==="switch"||y==="export"||y==="import";case 7:return y==="default"||y==="finally"||y==="extends";case 8:return y==="function"||y==="continue"||y==="debugger";case 10:return y==="instanceof";default:return!1}}function a(y,F){return y==="null"||y==="true"||y==="false"||p(y,F)}function o(y,F){return y==="null"||y==="true"||y==="false"||i(y,F)}function d(y){return y==="eval"||y==="arguments"}function m(y){var F,j,R;if(y.length===0||(R=y.charCodeAt(0),!s.isIdentifierStartES5(R)))return!1;for(F=1,j=y.length;F<j;++F)if(R=y.charCodeAt(F),!s.isIdentifierPartES5(R))return!1;return!0}function x(y,F){return(y-55296)*1024+(F-56320)+65536}function A(y){var F,j,R,w,L;if(y.length===0)return!1;for(L=s.isIdentifierStartES6,F=0,j=y.length;F<j;++F){if(R=y.charCodeAt(F),55296<=R&&R<=56319){if(++F,F>=j||(w=y.charCodeAt(F),!(56320<=w&&w<=57343)))return!1;R=x(R,w)}if(!L(R))return!1;L=s.isIdentifierPartES6}return!0}function b(y,F){return m(y)&&!a(y,F)}function g(y,F){return A(y)&&!o(y,F)}h.exports={isKeywordES5:p,isKeywordES6:i,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:d,isIdentifierNameES5:m,isIdentifierNameES6:A,isIdentifierES5:b,isIdentifierES6:g}}()}}),Qf=re({"node_modules/esutils/lib/utils.js"(l){ce(),function(){"use strict";l.ast=Hf(),l.code=ao(),l.keyword=Yf()}()}}),Cn=re({"src/language-js/utils/is-block-comment.js"(l,h){"use strict";ce();var s=new Set(["Block","CommentBlock","MultiLine"]),f=p=>s.has(p==null?void 0:p.type);h.exports=f}}),Kf=re({"src/language-js/utils/is-node-matches.js"(l,h){"use strict";ce();function s(p,i){let a=i.split(".");for(let o=a.length-1;o>=0;o--){let d=a[o];if(o===0)return p.type==="Identifier"&&p.name===d;if(p.type!=="MemberExpression"||p.optional||p.computed||p.property.type!=="Identifier"||p.property.name!==d)return!1;p=p.object}}function f(p,i){return i.some(a=>s(p,a))}h.exports=f}}),Yt=re({"src/language-js/utils/index.js"(l,h){"use strict";ce();var s=Qf().keyword.isIdentifierNameES5,{getLast:f,hasNewline:p,skipWhitespace:i,isNonEmptyArray:a,isNextLineEmptyAfterIndex:o,getStringWidth:d}=Bt(),{locStart:m,locEnd:x,hasSameLocStart:A}=br(),b=Cn(),g=Kf(),y="(?:(?=.)\\s)",F=new RegExp(`^${y}*:`),j=new RegExp(`^${y}*::`);function R(q){var Ie,lt;return((Ie=q.extra)===null||Ie===void 0?void 0:Ie.parenthesized)&&b((lt=q.trailingComments)===null||lt===void 0?void 0:lt[0])&&F.test(q.trailingComments[0].value)}function w(q){let Ie=q==null?void 0:q[0];return b(Ie)&&j.test(Ie.value)}function L(q,Ie){if(!q||typeof q!="object")return!1;if(Array.isArray(q))return q.some(Nt=>L(Nt,Ie));let lt=Ie(q);return typeof lt=="boolean"?lt:Object.values(q).some(Nt=>L(Nt,Ie))}function B(q){return q.type==="AssignmentExpression"||q.type==="BinaryExpression"||q.type==="LogicalExpression"||q.type==="NGPipeExpression"||q.type==="ConditionalExpression"||Te(q)||we(q)||q.type==="SequenceExpression"||q.type==="TaggedTemplateExpression"||q.type==="BindExpression"||q.type==="UpdateExpression"&&!q.prefix||_r(q)||q.type==="TSNonNullExpression"}function $(q){var Ie,lt,Nt,It,Sr,sr;return q.expressions?q.expressions[0]:(Ie=(lt=(Nt=(It=(Sr=(sr=q.left)!==null&&sr!==void 0?sr:q.test)!==null&&Sr!==void 0?Sr:q.callee)!==null&&It!==void 0?It:q.object)!==null&&Nt!==void 0?Nt:q.tag)!==null&<!==void 0?lt:q.argument)!==null&&Ie!==void 0?Ie:q.expression}function M(q,Ie){if(Ie.expressions)return["expressions",0];if(Ie.left)return["left"];if(Ie.test)return["test"];if(Ie.object)return["object"];if(Ie.callee)return["callee"];if(Ie.tag)return["tag"];if(Ie.argument)return["argument"];if(Ie.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function K(q){return q=new Set(q),Ie=>q.has(Ie==null?void 0:Ie.type)}var E=K(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),N=K(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function D(q){let Ie=q.getParentNode();return q.getName()==="declaration"&&N(Ie)?Ie:null}var T=K(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function c(q){return q.type==="NumericLiteral"||q.type==="Literal"&&typeof q.value=="number"}function C(q){return q.type==="UnaryExpression"&&(q.operator==="+"||q.operator==="-")&&c(q.argument)}function S(q){return q.type==="StringLiteral"||q.type==="Literal"&&typeof q.value=="string"}var P=K(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),_=K(["FunctionExpression","ArrowFunctionExpression"]);function I(q){return q.type==="FunctionExpression"||q.type==="ArrowFunctionExpression"&&q.body.type==="BlockStatement"}function U(q){return Te(q)&&q.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(q.callee.name)}var z=K(["JSXElement","JSXFragment"]);function Q(q,Ie){if(q.parentParser!=="markdown"&&q.parentParser!=="mdx")return!1;let lt=Ie.getNode();if(!lt.expression||!z(lt.expression))return!1;let Nt=Ie.getParentNode();return Nt.type==="Program"&&Nt.body.length===1}function X(q){return q.kind==="get"||q.kind==="set"}function ne(q){return X(q)||A(q,q.value)}function G(q){return(q.type==="ObjectTypeProperty"||q.type==="ObjectTypeInternalSlot")&&q.value.type==="FunctionTypeAnnotation"&&!q.static&&!ne(q)}function de(q){return(q.type==="TypeAnnotation"||q.type==="TSTypeAnnotation")&&q.typeAnnotation.type==="FunctionTypeAnnotation"&&!q.static&&!A(q,q.typeAnnotation)}var H=K(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function W(q){return we(q)||q.type==="BindExpression"&&Boolean(q.object)}var fe=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function Ee(q){return q?!!((q.type==="GenericTypeAnnotation"||q.type==="TSTypeReference")&&!q.typeParameters||fe.has(q.type)):!1}function he(q){let Ie=/^(?:before|after)(?:Each|All)$/;return q.callee.type==="Identifier"&&Ie.test(q.callee.name)&&q.arguments.length===1}var Pe=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Z(q){return g(q,Pe)}function ue(q,Ie){if(q.type!=="CallExpression")return!1;if(q.arguments.length===1){if(U(q)&&Ie&&ue(Ie))return _(q.arguments[0]);if(he(q))return U(q.arguments[0])}else if((q.arguments.length===2||q.arguments.length===3)&&(q.arguments[0].type==="TemplateLiteral"||S(q.arguments[0]))&&Z(q.callee))return q.arguments[2]&&!c(q.arguments[2])?!1:(q.arguments.length===2?_(q.arguments[1]):I(q.arguments[1])&&Ue(q.arguments[1]).length<=1)||U(q.arguments[1]);return!1}var Te=K(["CallExpression","OptionalCallExpression"]),we=K(["MemberExpression","OptionalMemberExpression"]);function ze(q){let Ie="expressions";q.type==="TSTemplateLiteralType"&&(Ie="types");let lt=q[Ie];return lt.length===0?!1:lt.every(Nt=>{if(ht(Nt))return!1;if(Nt.type==="Identifier"||Nt.type==="ThisExpression")return!0;if(we(Nt)){let It=Nt;for(;we(It);)if(It.property.type!=="Identifier"&&It.property.type!=="Literal"&&It.property.type!=="StringLiteral"&&It.property.type!=="NumericLiteral"||(It=It.object,ht(It)))return!1;return It.type==="Identifier"||It.type==="ThisExpression"}return!1})}function pe(q,Ie){return q==="+"||q==="-"?q+Ie:Ie}function te(q,Ie){let lt=m(Ie),Nt=i(q,x(Ie));return Nt!==!1&&q.slice(lt,lt+2)==="/*"&&q.slice(Nt,Nt+2)==="*/"}function ge(q,Ie){return z(Ie)?Ct(Ie):ht(Ie,et.Leading,lt=>p(q,x(lt)))}function ye(q,Ie){return Ie.parser!=="json"&&S(q.key)&&xe(q.key).slice(1,-1)===q.key.value&&(s(q.key.value)&&!(Ie.parser==="babel-ts"&&q.type==="ClassProperty"||Ie.parser==="typescript"&&q.type==="PropertyDefinition")||Ne(q.key.value)&&String(Number(q.key.value))===q.key.value&&(Ie.parser==="babel"||Ie.parser==="acorn"||Ie.parser==="espree"||Ie.parser==="meriyah"||Ie.parser==="__babel_estree"))}function Ne(q){return/^(?:\d+|\d+\.\d+)$/.test(q)}function je(q,Ie){let lt=/^[fx]?(?:describe|it|test)$/;return Ie.type==="TaggedTemplateExpression"&&Ie.quasi===q&&Ie.tag.type==="MemberExpression"&&Ie.tag.property.type==="Identifier"&&Ie.tag.property.name==="each"&&(Ie.tag.object.type==="Identifier"&<.test(Ie.tag.object.name)||Ie.tag.object.type==="MemberExpression"&&Ie.tag.object.property.type==="Identifier"&&(Ie.tag.object.property.name==="only"||Ie.tag.object.property.name==="skip")&&Ie.tag.object.object.type==="Identifier"&<.test(Ie.tag.object.object.name))}function Ve(q){return q.quasis.some(Ie=>Ie.value.raw.includes(`
|
|
113
|
-
`))}function
|
|
114
|
-
`))&&
|
|
115
|
-
`)?
|
|
116
|
-
`)&&(de.hasLineBreak=!0),S.quasis[
|
|
117
|
-
`)&&z.push({hasLineBreak:!1,cells:[]})}let
|
|
118
|
-
`),
|
|
119
|
-
`,
|
|
120
|
-
`).length,
|
|
98
|
+
`,cliCategory:o},tabWidth:{type:"int",category:m,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:m,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:m,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};g.exports={CATEGORY_CONFIG:d,CATEGORY_EDITOR:h,CATEGORY_FORMAT:s,CATEGORY_OTHER:o,CATEGORY_OUTPUT:l,CATEGORY_GLOBAL:m,CATEGORY_SPECIAL:D,options:A}}}),Fu=ie({"src/main/support.js"(c,g){"use strict";pe();var u={compare:Au(),lt:Up(),gte:Gp()},d=qp(),h=n().version,s=Jp().options;function o(){let{plugins:m=[],showUnreleased:D=!1,showDeprecated:A=!1,showInternal:F=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=h.split("-",1)[0],y=m.flatMap(_=>_.languages||[]).filter(w),E=d(Object.assign({},...m.map(_=>{let{options:M}=_;return M}),s),"name").filter(_=>w(_)&&$(_)).sort((_,M)=>_.name===M.name?0:_.name<M.name?-1:1).map(V).map(_=>{_=Object.assign({},_),Array.isArray(_.default)&&(_.default=_.default.length===1?_.default[0].value:_.default.filter(w).sort((L,G)=>u.compare(G.since,L.since))[0].value),Array.isArray(_.choices)&&(_.choices=_.choices.filter(L=>w(L)&&$(L)),_.name==="parser"&&l(_,y,m));let M=Object.fromEntries(m.filter(L=>L.defaultOptions&&L.defaultOptions[_.name]!==void 0).map(L=>[L.name,L.defaultOptions[_.name]]));return Object.assign(Object.assign({},_),{},{pluginDefaults:M})});return{languages:y,options:E};function w(_){return D||!("since"in _)||_.since&&u.gte(C,_.since)}function $(_){return A||!("deprecated"in _)||_.deprecated&&u.lt(C,_.deprecated)}function V(_){if(F)return _;let{cliName:M,cliCategory:L,cliDescription:G}=_;return Oe(_,De)}}function l(m,D,A){let F=new Set(m.choices.map(C=>C.value));for(let C of D)if(C.parsers){for(let y of C.parsers)if(!F.has(y)){F.add(y);let E=A.find($=>$.parsers&&$.parsers[y]),w=C.name;E&&E.name&&(w+=` (plugin: ${E.name})`),m.choices.push({value:y,description:w})}}}g.exports={getSupportInfo:o}}}),Su=ie({"src/utils/is-non-empty-array.js"(c,g){"use strict";pe();function u(d){return Array.isArray(d)&&d.length>0}g.exports=u}}),fs=ie({"src/utils/text/skip.js"(c,g){"use strict";pe();function u(l){return(m,D,A)=>{let F=A&&A.backwards;if(D===!1)return!1;let{length:C}=m,y=D;for(;y>=0&&y<C;){let E=m.charAt(y);if(l instanceof RegExp){if(!l.test(E))return y}else if(!l.includes(E))return y;F?y--:y++}return y===-1||y===C?y:!1}}var d=u(/\s/),h=u(" "),s=u(",; "),o=u(/[^\n\r]/);g.exports={skipWhitespace:d,skipSpaces:h,skipToLineEnd:s,skipEverythingButNewLine:o}}}),Ma=ie({"src/utils/text/skip-inline-comment.js"(c,g){"use strict";pe();function u(d,h){if(h===!1)return!1;if(d.charAt(h)==="/"&&d.charAt(h+1)==="*"){for(let s=h+2;s<d.length;++s)if(d.charAt(s)==="*"&&d.charAt(s+1)==="/")return s+2}return h}g.exports=u}}),$a=ie({"src/utils/text/skip-trailing-comment.js"(c,g){"use strict";pe();var{skipEverythingButNewLine:u}=fs();function d(h,s){return s===!1?!1:h.charAt(s)==="/"&&h.charAt(s+1)==="/"?u(h,s):s}g.exports=d}}),Va=ie({"src/utils/text/skip-newline.js"(c,g){"use strict";pe();function u(d,h,s){let o=s&&s.backwards;if(h===!1)return!1;let l=d.charAt(h);if(o){if(d.charAt(h-1)==="\r"&&l===`
|
|
99
|
+
`)return h-2;if(l===`
|
|
100
|
+
`||l==="\r"||l==="\u2028"||l==="\u2029")return h-1}else{if(l==="\r"&&d.charAt(h+1)===`
|
|
101
|
+
`)return h+2;if(l===`
|
|
102
|
+
`||l==="\r"||l==="\u2028"||l==="\u2029")return h+1}return h}g.exports=u}}),Yp=ie({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(c,g){"use strict";pe();var u=Ma(),d=Va(),h=$a(),{skipSpaces:s}=fs();function o(l,m){let D=null,A=m;for(;A!==D;)D=A,A=s(l,A),A=u(l,A),A=h(l,A),A=d(l,A);return A}g.exports=o}}),Mt=ie({"src/common/util.js"(c,g){"use strict";pe();var{default:u}=(Rp(),Ut(Oa)),d=Ie(),{getSupportInfo:h}=Fu(),s=Su(),o=La(),{skipWhitespace:l,skipSpaces:m,skipToLineEnd:D,skipEverythingButNewLine:A}=fs(),F=Ma(),C=$a(),y=Va(),E=Yp(),w=Q=>Q[Q.length-2];function $(Q){return(Y,he,xe)=>{let me=xe&&xe.backwards;if(he===!1)return!1;let{length:Pe}=Y,te=he;for(;te>=0&&te<Pe;){let oe=Y.charAt(te);if(Q instanceof RegExp){if(!Q.test(oe))return te}else if(!Q.includes(oe))return te;me?te--:te++}return te===-1||te===Pe?te:!1}}function V(Q,Y){let he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},xe=m(Q,he.backwards?Y-1:Y,he),me=y(Q,xe,he);return xe!==me}function _(Q,Y,he){for(let xe=Y;xe<he;++xe)if(Q.charAt(xe)===`
|
|
103
|
+
`)return!0;return!1}function M(Q,Y,he){let xe=he(Y)-1;xe=m(Q,xe,{backwards:!0}),xe=y(Q,xe,{backwards:!0}),xe=m(Q,xe,{backwards:!0});let me=y(Q,xe,{backwards:!0});return xe!==me}function L(Q,Y){let he=null,xe=Y;for(;xe!==he;)he=xe,xe=D(Q,xe),xe=F(Q,xe),xe=m(Q,xe);return xe=C(Q,xe),xe=y(Q,xe),xe!==!1&&V(Q,xe)}function G(Q,Y,he){return L(Q,he(Y))}function U(Q,Y,he){return E(Q,he(Y))}function ee(Q,Y,he){return Q.charAt(U(Q,Y,he))}function v(Q,Y){let he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m(Q,he.backwards?Y-1:Y,he)!==Y}function O(Q,Y){let he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,xe=0;for(let me=he;me<Q.length;++me)Q[me]===" "?xe=xe+Y-xe%Y:xe++;return xe}function x(Q,Y){let he=Q.lastIndexOf(`
|
|
104
|
+
`);return he===-1?0:O(Q.slice(he+1).match(/^[\t ]*/)[0],Y)}function T(Q,Y){let he={quote:'"',regex:/"/g,escaped:"""},xe={quote:"'",regex:/'/g,escaped:"'"},me=Y==="'"?xe:he,Pe=me===xe?he:xe,te=me;if(Q.includes(me.quote)||Q.includes(Pe.quote)){let oe=(Q.match(me.regex)||[]).length,Te=(Q.match(Pe.regex)||[]).length;te=oe>Te?Pe:me}return te}function f(Q,Y){let he=Q.slice(1,-1),xe=Y.parser==="json"||Y.parser==="json5"&&Y.quoteProps==="preserve"&&!Y.singleQuote?'"':Y.__isInHtmlAttribute?"'":T(he,Y.singleQuote?"'":'"').quote;return b(he,xe,!(Y.parser==="css"||Y.parser==="less"||Y.parser==="scss"||Y.__embeddedInHtml))}function b(Q,Y,he){let xe=Y==='"'?"'":'"',me=/\\(.)|(["'])/gs,Pe=Q.replace(me,(te,oe,Te)=>oe===xe?oe:Te===Y?"\\"+Te:Te||(he&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(oe)?oe:"\\"+oe));return Y+Pe+Y}function S(Q){return Q.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function I(Q,Y){let he=Q.match(new RegExp(`(${u(Y)})+`,"g"));return he===null?0:he.reduce((xe,me)=>Math.max(xe,me.length/Y.length),0)}function N(Q,Y){let he=Q.match(new RegExp(`(${u(Y)})+`,"g"));if(he===null)return 0;let xe=new Map,me=0;for(let Pe of he){let te=Pe.length/Y.length;xe.set(te,!0),te>me&&(me=te)}for(let Pe=1;Pe<me;Pe++)if(!xe.get(Pe))return Pe;return me+1}function R(Q,Y){(Q.comments||(Q.comments=[])).push(Y),Y.printed=!1,Y.nodeDescription=de(Q)}function q(Q,Y){Y.leading=!0,Y.trailing=!1,R(Q,Y)}function z(Q,Y,he){Y.leading=!1,Y.trailing=!1,he&&(Y.marker=he),R(Q,Y)}function Z(Q,Y){Y.leading=!1,Y.trailing=!0,R(Q,Y)}function H(Q,Y){let{languages:he}=h({plugins:Y.plugins}),xe=he.find(me=>{let{name:Pe}=me;return Pe.toLowerCase()===Q})||he.find(me=>{let{aliases:Pe}=me;return Array.isArray(Pe)&&Pe.includes(Q)})||he.find(me=>{let{extensions:Pe}=me;return Array.isArray(Pe)&&Pe.includes(`.${Q}`)});return xe&&xe.parsers[0]}function ue(Q){return Q&&Q.type==="front-matter"}function W(Q){let Y=new WeakMap;return function(he){return Y.has(he)||Y.set(he,Symbol(Q)),Y.get(he)}}function de(Q){let Y=Q.type||Q.kind||"(unknown type)",he=String(Q.name||Q.id&&(typeof Q.id=="object"?Q.id.name:Q.id)||Q.key&&(typeof Q.key=="object"?Q.key.name:Q.key)||Q.value&&(typeof Q.value=="object"?"":String(Q.value))||Q.operator||"");return he.length>20&&(he=he.slice(0,19)+"\u2026"),Y+(he?" "+he:"")}g.exports={inferParserByLanguage:H,getStringWidth:o,getMaxContinuousCount:I,getMinNotPresentContinuousCount:N,getPenultimate:w,getLast:d,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:E,getNextNonSpaceNonCommentCharacterIndex:U,getNextNonSpaceNonCommentCharacter:ee,skip:$,skipWhitespace:l,skipSpaces:m,skipToLineEnd:D,skipEverythingButNewLine:A,skipInlineComment:F,skipTrailingComment:C,skipNewline:y,isNextLineEmptyAfterIndex:L,isNextLineEmpty:G,isPreviousLineEmpty:M,hasNewline:V,hasNewlineInRange:_,hasSpaces:v,getAlignmentSize:O,getIndentSize:x,getPreferredQuote:T,printString:f,printNumber:S,makeString:b,addLeadingComment:q,addDanglingComment:z,addTrailingComment:Z,isFrontMatterNode:ue,isNonEmptyArray:s,createGroupIdMapper:W}}}),Ua={};vt(Ua,{basename:()=>Ya,default:()=>Ha,delimiter:()=>Pu,dirname:()=>Ja,extname:()=>Xa,isAbsolute:()=>Tu,join:()=>qa,normalize:()=>wu,relative:()=>Wa,resolve:()=>hs,sep:()=>_u});function Ga(c,g){for(var u=0,d=c.length-1;d>=0;d--){var h=c[d];h==="."?c.splice(d,1):h===".."?(c.splice(d,1),u++):u&&(c.splice(d,1),u--)}if(g)for(;u--;u)c.unshift("..");return c}function hs(){for(var c="",g=!1,u=arguments.length-1;u>=-1&&!g;u--){var d=u>=0?arguments[u]:"/";if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");!d||(c=d+"/"+c,g=d.charAt(0)==="/")}return c=Ga(ku(c.split("/"),function(h){return!!h}),!g).join("/"),(g?"/":"")+c||"."}function wu(c){var g=Tu(c),u=Qa(c,-1)==="/";return c=Ga(ku(c.split("/"),function(d){return!!d}),!g).join("/"),!c&&!g&&(c="."),c&&u&&(c+="/"),(g?"/":"")+c}function Tu(c){return c.charAt(0)==="/"}function qa(){var c=Array.prototype.slice.call(arguments,0);return wu(ku(c,function(g,u){if(typeof g!="string")throw new TypeError("Arguments to path.join must be strings");return g}).join("/"))}function Wa(c,g){c=hs(c).substr(1),g=hs(g).substr(1);function u(D){for(var A=0;A<D.length&&D[A]==="";A++);for(var F=D.length-1;F>=0&&D[F]==="";F--);return A>F?[]:D.slice(A,F-A+1)}for(var d=u(c.split("/")),h=u(g.split("/")),s=Math.min(d.length,h.length),o=s,l=0;l<s;l++)if(d[l]!==h[l]){o=l;break}for(var m=[],l=o;l<d.length;l++)m.push("..");return m=m.concat(h.slice(o)),m.join("/")}function Ja(c){var g=ds(c),u=g[0],d=g[1];return!u&&!d?".":(d&&(d=d.substr(0,d.length-1)),u+d)}function Ya(c,g){var u=ds(c)[2];return g&&u.substr(-1*g.length)===g&&(u=u.substr(0,u.length-g.length)),u}function Xa(c){return ds(c)[3]}function ku(c,g){if(c.filter)return c.filter(g);for(var u=[],d=0;d<c.length;d++)g(c[d],d,c)&&u.push(c[d]);return u}var za,ds,_u,Pu,Ha,Qa,Xp=ht({"node-modules-polyfills:path"(){pe(),za=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ds=function(c){return za.exec(c).slice(1)},_u="/",Pu=":",Ha={extname:Xa,basename:Ya,dirname:Ja,sep:_u,delimiter:Pu,relative:Wa,join:qa,isAbsolute:Tu,normalize:wu,resolve:hs},Qa="ab".substr(-1)==="b"?function(c,g,u){return c.substr(g,u)}:function(c,g,u){return g<0&&(g=c.length+g),c.substr(g,u)}}}),zp=ie({"node-modules-polyfills-commonjs:path"(c,g){pe();var u=(Xp(),Ut(Ua));if(u&&u.default){g.exports=u.default;for(let d in u)g.exports[d]=u[d]}else u&&(g.exports=u)}}),Oi=ie({"src/common/errors.js"(c,g){"use strict";pe();var u=class extends Error{},d=class extends Error{},h=class extends Error{},s=class extends Error{};g.exports={ConfigError:u,DebugError:d,UndefinedParserError:h,ArgExpansionBailout:s}}}),cn={};vt(cn,{__assign:()=>gs,__asyncDelegator:()=>lf,__asyncGenerator:()=>of,__asyncValues:()=>cf,__await:()=>Ri,__awaiter:()=>tf,__classPrivateFieldGet:()=>df,__classPrivateFieldSet:()=>mf,__createBinding:()=>nf,__decorate:()=>Kp,__exportStar:()=>sf,__extends:()=>Hp,__generator:()=>rf,__importDefault:()=>hf,__importStar:()=>ff,__makeTemplateObject:()=>pf,__metadata:()=>ef,__param:()=>Zp,__read:()=>Ka,__rest:()=>Qp,__spread:()=>uf,__spreadArrays:()=>af,__values:()=>Bu});function Hp(c,g){ms(c,g);function u(){this.constructor=c}c.prototype=g===null?Object.create(g):(u.prototype=g.prototype,new u)}function Qp(c,g){var u={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&g.indexOf(d)<0&&(u[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,d=Object.getOwnPropertySymbols(c);h<d.length;h++)g.indexOf(d[h])<0&&Object.prototype.propertyIsEnumerable.call(c,d[h])&&(u[d[h]]=c[d[h]]);return u}function Kp(c,g,u,d){var h=arguments.length,s=h<3?g:d===null?d=Object.getOwnPropertyDescriptor(g,u):d,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(c,g,u,d);else for(var l=c.length-1;l>=0;l--)(o=c[l])&&(s=(h<3?o(s):h>3?o(g,u,s):o(g,u))||s);return h>3&&s&&Object.defineProperty(g,u,s),s}function Zp(c,g){return function(u,d){g(u,d,c)}}function ef(c,g){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(c,g)}function tf(c,g,u,d){function h(s){return s instanceof u?s:new u(function(o){o(s)})}return new(u||(u=Promise))(function(s,o){function l(A){try{D(d.next(A))}catch(F){o(F)}}function m(A){try{D(d.throw(A))}catch(F){o(F)}}function D(A){A.done?s(A.value):h(A.value).then(l,m)}D((d=d.apply(c,g||[])).next())})}function rf(c,g){var u={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},d,h,s,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(D){return function(A){return m([D,A])}}function m(D){if(d)throw new TypeError("Generator is already executing.");for(;u;)try{if(d=1,h&&(s=D[0]&2?h.return:D[0]?h.throw||((s=h.return)&&s.call(h),0):h.next)&&!(s=s.call(h,D[1])).done)return s;switch(h=0,s&&(D=[D[0]&2,s.value]),D[0]){case 0:case 1:s=D;break;case 4:return u.label++,{value:D[1],done:!1};case 5:u.label++,h=D[1],D=[0];continue;case 7:D=u.ops.pop(),u.trys.pop();continue;default:if(s=u.trys,!(s=s.length>0&&s[s.length-1])&&(D[0]===6||D[0]===2)){u=0;continue}if(D[0]===3&&(!s||D[1]>s[0]&&D[1]<s[3])){u.label=D[1];break}if(D[0]===6&&u.label<s[1]){u.label=s[1],s=D;break}if(s&&u.label<s[2]){u.label=s[2],u.ops.push(D);break}s[2]&&u.ops.pop(),u.trys.pop();continue}D=g.call(c,u)}catch(A){D=[6,A],h=0}finally{d=s=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:!0}}}function nf(c,g,u,d){d===void 0&&(d=u),c[d]=g[u]}function sf(c,g){for(var u in c)u!=="default"&&!g.hasOwnProperty(u)&&(g[u]=c[u])}function Bu(c){var g=typeof Symbol=="function"&&Symbol.iterator,u=g&&c[g],d=0;if(u)return u.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&d>=c.length&&(c=void 0),{value:c&&c[d++],done:!c}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ka(c,g){var u=typeof Symbol=="function"&&c[Symbol.iterator];if(!u)return c;var d=u.call(c),h,s=[],o;try{for(;(g===void 0||g-- >0)&&!(h=d.next()).done;)s.push(h.value)}catch(l){o={error:l}}finally{try{h&&!h.done&&(u=d.return)&&u.call(d)}finally{if(o)throw o.error}}return s}function uf(){for(var c=[],g=0;g<arguments.length;g++)c=c.concat(Ka(arguments[g]));return c}function af(){for(var c=0,g=0,u=arguments.length;g<u;g++)c+=arguments[g].length;for(var d=Array(c),h=0,g=0;g<u;g++)for(var s=arguments[g],o=0,l=s.length;o<l;o++,h++)d[h]=s[o];return d}function Ri(c){return this instanceof Ri?(this.v=c,this):new Ri(c)}function of(c,g,u){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=u.apply(c,g||[]),h,s=[];return h={},o("next"),o("throw"),o("return"),h[Symbol.asyncIterator]=function(){return this},h;function o(C){d[C]&&(h[C]=function(y){return new Promise(function(E,w){s.push([C,y,E,w])>1||l(C,y)})})}function l(C,y){try{m(d[C](y))}catch(E){F(s[0][3],E)}}function m(C){C.value instanceof Ri?Promise.resolve(C.value.v).then(D,A):F(s[0][2],C)}function D(C){l("next",C)}function A(C){l("throw",C)}function F(C,y){C(y),s.shift(),s.length&&l(s[0][0],s[0][1])}}function lf(c){var g,u;return g={},d("next"),d("throw",function(h){throw h}),d("return"),g[Symbol.iterator]=function(){return this},g;function d(h,s){g[h]=c[h]?function(o){return(u=!u)?{value:Ri(c[h](o)),done:h==="return"}:s?s(o):o}:s}}function cf(c){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=c[Symbol.asyncIterator],u;return g?g.call(c):(c=typeof Bu=="function"?Bu(c):c[Symbol.iterator](),u={},d("next"),d("throw"),d("return"),u[Symbol.asyncIterator]=function(){return this},u);function d(s){u[s]=c[s]&&function(o){return new Promise(function(l,m){o=c[s](o),h(l,m,o.done,o.value)})}}function h(s,o,l,m){Promise.resolve(m).then(function(D){s({value:D,done:l})},o)}}function pf(c,g){return Object.defineProperty?Object.defineProperty(c,"raw",{value:g}):c.raw=g,c}function ff(c){if(c&&c.__esModule)return c;var g={};if(c!=null)for(var u in c)Object.hasOwnProperty.call(c,u)&&(g[u]=c[u]);return g.default=c,g}function hf(c){return c&&c.__esModule?c:{default:c}}function df(c,g){if(!g.has(c))throw new TypeError("attempted to get private field on non-instance");return g.get(c)}function mf(c,g,u){if(!g.has(c))throw new TypeError("attempted to set private field on non-instance");return g.set(c,u),u}var ms,gs,En=ht({"node_modules/tslib/tslib.es6.js"(){pe(),ms=function(c,g){return ms=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var h in d)d.hasOwnProperty(h)&&(u[h]=d[h])},ms(c,g)},gs=function(){return gs=Object.assign||function(c){for(var g,u=1,d=arguments.length;u<d;u++){g=arguments[u];for(var h in g)Object.prototype.hasOwnProperty.call(g,h)&&(c[h]=g[h])}return c},gs.apply(this,arguments)}}}),Za=ie({"node_modules/vnopts/lib/descriptors/api.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0}),c.apiDescriptor={key:g=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(g)?g:JSON.stringify(g),value(g){if(g===null||typeof g!="object")return JSON.stringify(g);if(Array.isArray(g))return`[${g.map(d=>c.apiDescriptor.value(d)).join(", ")}]`;let u=Object.keys(g);return u.length===0?"{}":`{ ${u.map(d=>`${c.apiDescriptor.key(d)}: ${c.apiDescriptor.value(g[d])}`).join(", ")} }`},pair:g=>{let{key:u,value:d}=g;return c.apiDescriptor.value({[u]:d})}}}}),gf=ie({"node_modules/vnopts/lib/descriptors/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn));g.__exportStar(Za(),c)}}),ys=ie({"scripts/build/shims/chalk.cjs"(c,g){"use strict";pe();var u=d=>d;u.grey=u,u.red=u,u.bold=u,u.yellow=u,u.blue=u,u.default=u,g.exports=u}}),eo=ie({"node_modules/vnopts/lib/handlers/deprecated/common.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=ys();c.commonDeprecatedHandler=(u,d,h)=>{let{descriptor:s}=h,o=[`${g.default.yellow(typeof u=="string"?s.key(u):s.pair(u))} is deprecated`];return d&&o.push(`we now treat it as ${g.default.blue(typeof d=="string"?s.key(d):s.pair(d))}`),o.join("; ")+"."}}}),yf=ie({"node_modules/vnopts/lib/handlers/deprecated/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn));g.__exportStar(eo(),c)}}),Df=ie({"node_modules/vnopts/lib/handlers/invalid/common.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=ys();c.commonInvalidHandler=(u,d,h)=>[`Invalid ${g.default.red(h.descriptor.key(u))} value.`,`Expected ${g.default.blue(h.schemas[u].expected(h))},`,`but received ${g.default.red(h.descriptor.value(d))}.`].join(" ")}}),to=ie({"node_modules/vnopts/lib/handlers/invalid/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn));g.__exportStar(Df(),c)}}),Ef=ie({"node_modules/vnopts/node_modules/leven/index.js"(c,g){"use strict";pe();var u=[],d=[];g.exports=function(h,s){if(h===s)return 0;var o=h;h.length>s.length&&(h=s,s=o);var l=h.length,m=s.length;if(l===0)return m;if(m===0)return l;for(;l>0&&h.charCodeAt(~-l)===s.charCodeAt(~-m);)l--,m--;if(l===0)return m;for(var D=0;D<l&&h.charCodeAt(D)===s.charCodeAt(D);)D++;if(l-=D,m-=D,l===0)return m;for(var A,F,C,y,E=0,w=0;E<l;)d[D+E]=h.charCodeAt(D+E),u[E]=++E;for(;w<m;)for(A=s.charCodeAt(D+w),C=w++,F=w,E=0;E<l;E++)y=A===d[D+E]?C:C+1,C=u[E],F=u[E]=C>F?y>F?F+1:y:y>C?C+1:y;return F}}}),ro=ie({"node_modules/vnopts/lib/handlers/unknown/leven.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=ys(),u=Ef();c.levenUnknownHandler=(d,h,s)=>{let{descriptor:o,logger:l,schemas:m}=s,D=[`Ignored unknown option ${g.default.yellow(o.pair({key:d,value:h}))}.`],A=Object.keys(m).sort().find(F=>u(d,F)<3);A&&D.push(`Did you mean ${g.default.blue(o.key(A))}?`),l.warn(D.join(" "))}}}),xf=ie({"node_modules/vnopts/lib/handlers/unknown/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn));g.__exportStar(ro(),c)}}),vf=ie({"node_modules/vnopts/lib/handlers/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn));g.__exportStar(yf(),c),g.__exportStar(to(),c),g.__exportStar(xf(),c)}}),xn=ie({"node_modules/vnopts/lib/schema.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function u(s,o){let l=new s(o),m=Object.create(l);for(let D of g)D in o&&(m[D]=h(o[D],l,d.prototype[D].length));return m}c.createSchema=u;var d=class{constructor(s){this.name=s.name}static create(s){return u(this,s)}default(s){}expected(s){return"nothing"}validate(s,o){return!1}deprecated(s,o){return!1}forward(s,o){}redirect(s,o){}overlap(s,o,l){return s}preprocess(s,o){return s}postprocess(s,o){return s}};c.Schema=d;function h(s,o,l){return typeof s=="function"?function(){for(var m=arguments.length,D=new Array(m),A=0;A<m;A++)D[A]=arguments[A];return s(...D.slice(0,l-1),o,...D.slice(l-1))}:()=>s}}}),Cf=ie({"node_modules/vnopts/lib/schemas/alias.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=xn(),u=class extends g.Schema{constructor(d){super(d),this._sourceName=d.sourceName}expected(d){return d.schemas[this._sourceName].expected(d)}validate(d,h){return h.schemas[this._sourceName].validate(d,h)}redirect(d,h){return this._sourceName}};c.AliasSchema=u}}),bf=ie({"node_modules/vnopts/lib/schemas/any.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=xn(),u=class extends g.Schema{expected(){return"anything"}validate(){return!0}};c.AnySchema=u}}),Af=ie({"node_modules/vnopts/lib/schemas/array.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn)),u=xn(),d=class extends u.Schema{constructor(s){var{valueSchema:o,name:l=o.name}=s,m=g.__rest(s,["valueSchema","name"]);super(Object.assign({},m,{name:l})),this._valueSchema=o}expected(s){return`an array of ${this._valueSchema.expected(s)}`}validate(s,o){if(!Array.isArray(s))return!1;let l=[];for(let m of s){let D=o.normalizeValidateResult(this._valueSchema.validate(m,o),m);D!==!0&&l.push(D.value)}return l.length===0?!0:{value:l}}deprecated(s,o){let l=[];for(let m of s){let D=o.normalizeDeprecatedResult(this._valueSchema.deprecated(m,o),m);D!==!1&&l.push(...D.map(A=>{let{value:F}=A;return{value:[F]}}))}return l}forward(s,o){let l=[];for(let m of s){let D=o.normalizeForwardResult(this._valueSchema.forward(m,o),m);l.push(...D.map(h))}return l}redirect(s,o){let l=[],m=[];for(let D of s){let A=o.normalizeRedirectResult(this._valueSchema.redirect(D,o),D);"remain"in A&&l.push(A.remain),m.push(...A.redirect.map(h))}return l.length===0?{redirect:m}:{redirect:m,remain:l}}overlap(s,o){return s.concat(o)}};c.ArraySchema=d;function h(s){let{from:o,to:l}=s;return{from:[o],to:l}}}}),Ff=ie({"node_modules/vnopts/lib/schemas/boolean.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=xn(),u=class extends g.Schema{expected(){return"true or false"}validate(d){return typeof d=="boolean"}};c.BooleanSchema=u}}),Iu=ie({"node_modules/vnopts/lib/utils.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});function g(y,E){let w=Object.create(null);for(let $ of y){let V=$[E];if(w[V])throw new Error(`Duplicate ${E} ${JSON.stringify(V)}`);w[V]=$}return w}c.recordFromArray=g;function u(y,E){let w=new Map;for(let $ of y){let V=$[E];if(w.has(V))throw new Error(`Duplicate ${E} ${JSON.stringify(V)}`);w.set(V,$)}return w}c.mapFromArray=u;function d(){let y=Object.create(null);return E=>{let w=JSON.stringify(E);return y[w]?!0:(y[w]=!0,!1)}}c.createAutoChecklist=d;function h(y,E){let w=[],$=[];for(let V of y)E(V)?w.push(V):$.push(V);return[w,$]}c.partition=h;function s(y){return y===Math.floor(y)}c.isInt=s;function o(y,E){if(y===E)return 0;let w=typeof y,$=typeof E,V=["undefined","object","boolean","number","string"];return w!==$?V.indexOf(w)-V.indexOf($):w!=="string"?Number(y)-Number(E):y.localeCompare(E)}c.comparePrimitive=o;function l(y){return y===void 0?{}:y}c.normalizeDefaultResult=l;function m(y,E){return y===!0?!0:y===!1?{value:E}:y}c.normalizeValidateResult=m;function D(y,E){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return y===!1?!1:y===!0?w?!0:[{value:E}]:"value"in y?[y]:y.length===0?!1:y}c.normalizeDeprecatedResult=D;function A(y,E){return typeof y=="string"||"key"in y?{from:E,to:y}:"from"in y?{from:y.from,to:y.to}:{from:E,to:y.to}}c.normalizeTransferResult=A;function F(y,E){return y===void 0?[]:Array.isArray(y)?y.map(w=>A(w,E)):[A(y,E)]}c.normalizeForwardResult=F;function C(y,E){let w=F(typeof y=="object"&&"redirect"in y?y.redirect:y,E);return w.length===0?{remain:E,redirect:w}:typeof y=="object"&&"remain"in y?{remain:y.remain,redirect:w}:{redirect:w}}c.normalizeRedirectResult=C}}),Sf=ie({"node_modules/vnopts/lib/schemas/choice.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=xn(),u=Iu(),d=class extends g.Schema{constructor(h){super(h),this._choices=u.mapFromArray(h.choices.map(s=>s&&typeof s=="object"?s:{value:s}),"value")}expected(h){let{descriptor:s}=h,o=Array.from(this._choices.keys()).map(D=>this._choices.get(D)).filter(D=>!D.deprecated).map(D=>D.value).sort(u.comparePrimitive).map(s.value),l=o.slice(0,-2),m=o.slice(-2);return l.concat(m.join(" or ")).join(", ")}validate(h){return this._choices.has(h)}deprecated(h){let s=this._choices.get(h);return s&&s.deprecated?{value:h}:!1}forward(h){let s=this._choices.get(h);return s?s.forward:void 0}redirect(h){let s=this._choices.get(h);return s?s.redirect:void 0}};c.ChoiceSchema=d}}),no=ie({"node_modules/vnopts/lib/schemas/number.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=xn(),u=class extends g.Schema{expected(){return"a number"}validate(d,h){return typeof d=="number"}};c.NumberSchema=u}}),wf=ie({"node_modules/vnopts/lib/schemas/integer.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=Iu(),u=no(),d=class extends u.NumberSchema{expected(){return"an integer"}validate(h,s){return s.normalizeValidateResult(super.validate(h,s),h)===!0&&g.isInt(h)}};c.IntegerSchema=d}}),Tf=ie({"node_modules/vnopts/lib/schemas/string.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=xn(),u=class extends g.Schema{expected(){return"a string"}validate(d){return typeof d=="string"}};c.StringSchema=u}}),kf=ie({"node_modules/vnopts/lib/schemas/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn));g.__exportStar(Cf(),c),g.__exportStar(bf(),c),g.__exportStar(Af(),c),g.__exportStar(Ff(),c),g.__exportStar(Sf(),c),g.__exportStar(wf(),c),g.__exportStar(no(),c),g.__exportStar(Tf(),c)}}),_f=ie({"node_modules/vnopts/lib/defaults.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=Za(),u=eo(),d=to(),h=ro();c.defaultDescriptor=g.apiDescriptor,c.defaultUnknownHandler=h.levenUnknownHandler,c.defaultInvalidHandler=d.commonInvalidHandler,c.defaultDeprecatedHandler=u.commonDeprecatedHandler}}),Pf=ie({"node_modules/vnopts/lib/normalize.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=_f(),u=Iu();c.normalize=(h,s,o)=>new d(s,o).normalize(h);var d=class{constructor(h,s){let{logger:o=console,descriptor:l=g.defaultDescriptor,unknown:m=g.defaultUnknownHandler,invalid:D=g.defaultInvalidHandler,deprecated:A=g.defaultDeprecatedHandler}=s||{};this._utils={descriptor:l,logger:o||{warn:()=>{}},schemas:u.recordFromArray(h,"name"),normalizeDefaultResult:u.normalizeDefaultResult,normalizeDeprecatedResult:u.normalizeDeprecatedResult,normalizeForwardResult:u.normalizeForwardResult,normalizeRedirectResult:u.normalizeRedirectResult,normalizeValidateResult:u.normalizeValidateResult},this._unknownHandler=m,this._invalidHandler=D,this._deprecatedHandler=A,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=u.createAutoChecklist()}normalize(h){let s={},o=[h],l=()=>{for(;o.length!==0;){let m=o.shift(),D=this._applyNormalization(m,s);o.push(...D)}};l();for(let m of Object.keys(this._utils.schemas)){let D=this._utils.schemas[m];if(!(m in s)){let A=u.normalizeDefaultResult(D.default(this._utils));"value"in A&&o.push({[m]:A.value})}}l();for(let m of Object.keys(this._utils.schemas)){let D=this._utils.schemas[m];m in s&&(s[m]=D.postprocess(s[m],this._utils))}return s}_applyNormalization(h,s){let o=[],[l,m]=u.partition(Object.keys(h),D=>D in this._utils.schemas);for(let D of l){let A=this._utils.schemas[D],F=A.preprocess(h[D],this._utils),C=u.normalizeValidateResult(A.validate(F,this._utils),F);if(C!==!0){let{value:$}=C,V=this._invalidHandler(D,$,this._utils);throw typeof V=="string"?new Error(V):V}let y=$=>{let{from:V,to:_}=$;o.push(typeof _=="string"?{[_]:V}:{[_.key]:_.value})},E=$=>{let{value:V,redirectTo:_}=$,M=u.normalizeDeprecatedResult(A.deprecated(V,this._utils),F,!0);if(M!==!1)if(M===!0)this._hasDeprecationWarned(D)||this._utils.logger.warn(this._deprecatedHandler(D,_,this._utils));else for(let{value:L}of M){let G={key:D,value:L};if(!this._hasDeprecationWarned(G)){let U=typeof _=="string"?{key:_,value:L}:_;this._utils.logger.warn(this._deprecatedHandler(G,U,this._utils))}}};u.normalizeForwardResult(A.forward(F,this._utils),F).forEach(y);let w=u.normalizeRedirectResult(A.redirect(F,this._utils),F);if(w.redirect.forEach(y),"remain"in w){let $=w.remain;s[D]=D in s?A.overlap(s[D],$,this._utils):$,E({value:$})}for(let{from:$,to:V}of w.redirect)E({value:$,redirectTo:V})}for(let D of m){let A=h[D],F=this._unknownHandler(D,A,this._utils);if(F)for(let C of Object.keys(F)){let y={[C]:F[C]};C in this._utils.schemas?o.push(y):Object.assign(s,y)}}return o}};c.Normalizer=d}}),Bf=ie({"node_modules/vnopts/lib/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=(En(),Ut(cn));g.__exportStar(gf(),c),g.__exportStar(vf(),c),g.__exportStar(kf(),c),g.__exportStar(Pf(),c),g.__exportStar(xn(),c)}}),If=ie({"src/main/options-normalizer.js"(c,g){"use strict";pe();var u=Bf(),d=Ie(),h={key:C=>C.length===1?`-${C}`:`--${C}`,value:C=>u.apiDescriptor.value(C),pair:C=>{let{key:y,value:E}=C;return E===!1?`--no-${y}`:E===!0?h.key(y):E===""?`${h.key(y)} without an argument`:`${h.key(y)}=${E}`}},s=C=>{let{colorsModule:y,levenshteinDistance:E}=C;return class extends u.ChoiceSchema{constructor(w){let{name:$,flags:V}=w;super({name:$,choices:V}),this._flags=[...V].sort()}preprocess(w,$){if(typeof w=="string"&&w.length>0&&!this._flags.includes(w)){let V=this._flags.find(_=>E(_,w)<3);if(V)return $.logger.warn([`Unknown flag ${y.yellow($.descriptor.value(w))},`,`did you mean ${y.blue($.descriptor.value(V))}?`].join(" ")),V}return w}expected(){return"a flag"}}},o;function l(C,y){let{logger:E=!1,isCLI:w=!1,passThrough:$=!1,colorsModule:V=null,levenshteinDistance:_=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},M=$?Array.isArray($)?(O,x)=>$.includes(O)?{[O]:x}:void 0:(O,x)=>({[O]:x}):(O,x,T)=>{let f=T.schemas,{_:b}=f,S=Oe(f,Fe);return u.levenUnknownHandler(O,x,Object.assign(Object.assign({},T),{},{schemas:S}))},L=w?h:u.apiDescriptor,G=m(y,{isCLI:w,colorsModule:V,levenshteinDistance:_}),U=new u.Normalizer(G,{logger:E,unknown:M,descriptor:L}),ee=E!==!1;ee&&o&&(U._hasDeprecationWarned=o);let v=U.normalize(C);return ee&&(o=U._hasDeprecationWarned),w&&v["plugin-search"]===!1&&(v["plugin-search-dir"]=!1),v}function m(C,y){let{isCLI:E,colorsModule:w,levenshteinDistance:$}=y,V=[];E&&V.push(u.AnySchema.create({name:"_"}));for(let _ of C)V.push(D(_,{isCLI:E,optionInfos:C,colorsModule:w,levenshteinDistance:$})),_.alias&&E&&V.push(u.AliasSchema.create({name:_.alias,sourceName:_.name}));return V}function D(C,y){let{isCLI:E,optionInfos:w,colorsModule:$,levenshteinDistance:V}=y,{name:_}=C;if(_==="plugin-search-dir"||_==="pluginSearchDirs")return u.AnySchema.create({name:_,preprocess(U){return U===!1||(U=Array.isArray(U)?U:[U]),U},validate(U){return U===!1?!0:U.every(ee=>typeof ee=="string")},expected(){return"false or paths to plugin search dir"}});let M={name:_},L,G={};switch(C.type){case"int":L=u.IntegerSchema,E&&(M.preprocess=Number);break;case"string":L=u.StringSchema;break;case"choice":L=u.ChoiceSchema,M.choices=C.choices.map(U=>typeof U=="object"&&U.redirect?Object.assign(Object.assign({},U),{},{redirect:{to:{key:C.name,value:U.redirect}}}):U);break;case"boolean":L=u.BooleanSchema;break;case"flag":L=s({colorsModule:$,levenshteinDistance:V}),M.flags=w.flatMap(U=>[U.alias,U.description&&U.name,U.oppositeDescription&&`no-${U.name}`].filter(Boolean));break;case"path":L=u.StringSchema;break;default:throw new Error(`Unexpected type ${C.type}`)}if(C.exception?M.validate=(U,ee,v)=>C.exception(U)||ee.validate(U,v):M.validate=(U,ee,v)=>U===void 0||ee.validate(U,v),C.redirect&&(G.redirect=U=>U?{to:{key:C.redirect.option,value:C.redirect.value}}:void 0),C.deprecated&&(G.deprecated=!0),E&&!C.array){let U=M.preprocess||(ee=>ee);M.preprocess=(ee,v,O)=>v.preprocess(U(Array.isArray(ee)?d(ee):ee),O)}return C.array?u.ArraySchema.create(Object.assign(Object.assign(Object.assign({},E?{preprocess:U=>Array.isArray(U)?U:[U]}:{}),G),{},{valueSchema:L.create(M)})):L.create(Object.assign(Object.assign({},M),G))}function A(C,y,E){return l(C,y,E)}function F(C,y,E){return l(C,y,Object.assign({isCLI:!0},E))}g.exports={normalizeApiOptions:A,normalizeCliOptions:F}}}),Ar=ie({"src/language-js/loc.js"(c,g){"use strict";pe();var u=Su();function d(m){var D,A;let F=m.range?m.range[0]:m.start,C=(D=(A=m.declaration)===null||A===void 0?void 0:A.decorators)!==null&&D!==void 0?D:m.decorators;return u(C)?Math.min(d(C[0]),F):F}function h(m){return m.range?m.range[1]:m.end}function s(m,D){let A=d(m);return Number.isInteger(A)&&A===d(D)}function o(m,D){let A=h(m);return Number.isInteger(A)&&A===h(D)}function l(m,D){return s(m,D)&&o(m,D)}g.exports={locStart:d,locEnd:h,hasSameLocStart:s,hasSameLoc:l}}}),Nf=ie({"src/main/load-parser.js"(c,g){pe(),g.exports=()=>{}}}),Lf=ie({"scripts/build/shims/babel-highlight.cjs"(c,g){"use strict";pe();var u=ys(),d={shouldHighlight:()=>!1,getChalk:()=>u};g.exports=d}}),Of=ie({"node_modules/@babel/code-frame/lib/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0}),c.codeFrameColumns=o,c.default=l;var g=Lf(),u=!1;function d(m){return{gutter:m.grey,marker:m.red.bold,message:m.red.bold}}var h=/\r\n|[\n\r\u2028\u2029]/;function s(m,D,A){let F=Object.assign({column:0,line:-1},m.start),C=Object.assign({},F,m.end),{linesAbove:y=2,linesBelow:E=3}=A||{},w=F.line,$=F.column,V=C.line,_=C.column,M=Math.max(w-(y+1),0),L=Math.min(D.length,V+E);w===-1&&(M=0),V===-1&&(L=D.length);let G=V-w,U={};if(G)for(let ee=0;ee<=G;ee++){let v=ee+w;if(!$)U[v]=!0;else if(ee===0){let O=D[v-1].length;U[v]=[$,O-$+1]}else if(ee===G)U[v]=[0,_];else{let O=D[v-ee].length;U[v]=[0,O]}}else $===_?$?U[w]=[$,0]:U[w]=!0:U[w]=[$,_-$];return{start:M,end:L,markerLines:U}}function o(m,D){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},F=(A.highlightCode||A.forceColor)&&(0,g.shouldHighlight)(A),C=(0,g.getChalk)(A),y=d(C),E=(U,ee)=>F?U(ee):ee,w=m.split(h),{start:$,end:V,markerLines:_}=s(D,w,A),M=D.start&&typeof D.start.column=="number",L=String(V).length,G=(F?(0,g.default)(m,A):m).split(h,V).slice($,V).map((U,ee)=>{let v=$+1+ee,O=` ${` ${v}`.slice(-L)} |`,x=_[v],T=!_[v+1];if(x){let f="";if(Array.isArray(x)){let b=U.slice(0,Math.max(x[0]-1,0)).replace(/[^\t]/g," "),S=x[1]||1;f=[`
|
|
105
|
+
`,E(y.gutter,O.replace(/\d/g," "))," ",b,E(y.marker,"^").repeat(S)].join(""),T&&A.message&&(f+=" "+E(y.message,A.message))}return[E(y.marker,">"),E(y.gutter,O),U.length>0?` ${U}`:"",f].join("")}else return` ${E(y.gutter,O)}${U.length>0?` ${U}`:""}`}).join(`
|
|
106
|
+
`);return A.message&&!M&&(G=`${" ".repeat(L+1)}${A.message}
|
|
107
|
+
${G}`),F?C.reset(G):G}function l(m,D,A){let F=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!u){u=!0;let C="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(sr.emitWarning)sr.emitWarning(C,"DeprecationWarning");else{let y=new Error(C);y.name="DeprecationWarning",console.warn(new Error(C))}}return A=Math.max(A,0),o(m,{start:{column:A,line:D}},F)}}}),Nu=ie({"src/main/parser.js"(c,g){"use strict";pe();var{ConfigError:u}=Oi(),d=Ar(),h=Nf(),{locStart:s,locEnd:o}=d,l=Object.getOwnPropertyNames,m=Object.getOwnPropertyDescriptor;function D(C){let y={};for(let E of C.plugins)if(E.parsers)for(let w of l(E.parsers))Object.defineProperty(y,w,m(E.parsers,w));return y}function A(C){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D(C);if(typeof C.parser=="function")return{parse:C.parser,astFormat:"estree",locStart:s,locEnd:o};if(typeof C.parser=="string"){if(Object.prototype.hasOwnProperty.call(y,C.parser))return y[C.parser];throw new u(`Couldn't resolve parser "${C.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function F(C,y){let E=D(y),w=Object.defineProperties({},Object.fromEntries(Object.keys(E).map(V=>[V,{enumerable:!0,get(){return E[V].parse}}]))),$=A(y,E);try{return $.preprocess&&(C=$.preprocess(C,y)),{text:C,ast:$.parse(C,w,y)}}catch(V){let{loc:_}=V;if(_){let{codeFrameColumns:M}=Of();throw V.codeFrame=M(C,_,{highlightCode:!0}),V.message+=`
|
|
108
|
+
`+V.codeFrame,V}throw V}}g.exports={parse:F,resolveParser:A}}}),io=ie({"src/main/options.js"(c,g){"use strict";pe();var u=zp(),{UndefinedParserError:d}=Oi(),{getSupportInfo:h}=Fu(),s=If(),{resolveParser:o}=Nu(),l={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function m(F){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=Object.assign({},F),E=h({plugins:F.plugins,showUnreleased:!0,showDeprecated:!0}).options,w=Object.assign(Object.assign({},l),Object.fromEntries(E.filter(L=>L.default!==void 0).map(L=>[L.name,L.default])));if(!y.parser){if(!y.filepath)(C.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),y.parser="babel";else if(y.parser=A(y.filepath,y.plugins),!y.parser)throw new d(`No parser could be inferred for file: ${y.filepath}`)}let $=o(s.normalizeApiOptions(y,[E.find(L=>L.name==="parser")],{passThrough:!0,logger:!1}));y.astFormat=$.astFormat,y.locEnd=$.locEnd,y.locStart=$.locStart;let V=D(y);y.printer=V.printers[y.astFormat];let _=Object.fromEntries(E.filter(L=>L.pluginDefaults&&L.pluginDefaults[V.name]!==void 0).map(L=>[L.name,L.pluginDefaults[V.name]])),M=Object.assign(Object.assign({},w),_);for(let[L,G]of Object.entries(M))(y[L]===null||y[L]===void 0)&&(y[L]=G);return y.parser==="json"&&(y.trailingComma="none"),s.normalizeApiOptions(y,E,Object.assign({passThrough:Object.keys(l)},C))}function D(F){let{astFormat:C}=F;if(!C)throw new Error("getPlugin() requires astFormat to be set");let y=F.plugins.find(E=>E.printers&&E.printers[C]);if(!y)throw new Error(`Couldn't find plugin for AST format "${C}"`);return y}function A(F,C){let y=u.basename(F).toLowerCase(),E=h({plugins:C}).languages.filter(w=>w.since!==null).find(w=>w.extensions&&w.extensions.some($=>y.endsWith($))||w.filenames&&w.filenames.some($=>$.toLowerCase()===y));return E&&E.parsers[0]}g.exports={normalize:m,hiddenDefaults:l,inferParser:A}}}),Rf=ie({"src/main/massage-ast.js"(c,g){"use strict";pe();function u(d,h,s){if(Array.isArray(d))return d.map(D=>u(D,h,s)).filter(Boolean);if(!d||typeof d!="object")return d;let o=h.printer.massageAstNode,l;o&&o.ignoredProperties?l=o.ignoredProperties:l=new Set;let m={};for(let[D,A]of Object.entries(d))!l.has(D)&&typeof A!="function"&&(m[D]=u(A,h,d));if(o){let D=o(d,m,s);if(D===null)return;if(D)return D}return m}g.exports=u}}),ji=ie({"scripts/build/shims/assert.cjs"(c,g){"use strict";pe();var u=()=>{};u.ok=u,u.strictEqual=u,g.exports=u}}),fr=ie({"src/main/comments.js"(c,g){"use strict";pe();var u=ji(),{builders:{line:d,hardline:h,breakParent:s,indent:o,lineSuffix:l,join:m,cursor:D}}=Ft(),{hasNewline:A,skipNewline:F,skipSpaces:C,isPreviousLineEmpty:y,addLeadingComment:E,addDanglingComment:w,addTrailingComment:$}=Mt(),V=new WeakMap;function _(q,z,Z){if(!q)return;let{printer:H,locStart:ue,locEnd:W}=z;if(Z){if(H.canAttachComment&&H.canAttachComment(q)){let Q;for(Q=Z.length-1;Q>=0&&!(ue(Z[Q])<=ue(q)&&W(Z[Q])<=W(q));--Q);Z.splice(Q+1,0,q);return}}else if(V.has(q))return V.get(q);let de=H.getCommentChildNodes&&H.getCommentChildNodes(q,z)||typeof q=="object"&&Object.entries(q).filter(Q=>{let[Y]=Q;return Y!=="enclosingNode"&&Y!=="precedingNode"&&Y!=="followingNode"&&Y!=="tokens"&&Y!=="comments"&&Y!=="parent"}).map(Q=>{let[,Y]=Q;return Y});if(de){Z||(Z=[],V.set(q,Z));for(let Q of de)_(Q,z,Z);return Z}}function M(q,z,Z,H){let{locStart:ue,locEnd:W}=Z,de=ue(z),Q=W(z),Y=_(q,Z),he,xe,me=0,Pe=Y.length;for(;me<Pe;){let te=me+Pe>>1,oe=Y[te],Te=ue(oe),ke=W(oe);if(Te<=de&&Q<=ke)return M(oe,z,Z,oe);if(ke<=de){he=oe,me=te+1;continue}if(Q<=Te){xe=oe,Pe=te;continue}throw new Error("Comment location overlaps with node location")}if(H&&H.type==="TemplateLiteral"){let{quasis:te}=H,oe=T(te,z,Z);he&&T(te,he,Z)!==oe&&(he=null),xe&&T(te,xe,Z)!==oe&&(xe=null)}return{enclosingNode:H,precedingNode:he,followingNode:xe}}var L=()=>!1;function G(q,z,Z,H){if(!Array.isArray(q))return;let ue=[],{locStart:W,locEnd:de,printer:{handleComments:Q={}}}=H,{avoidAstMutation:Y,ownLine:he=L,endOfLine:xe=L,remaining:me=L}=Q,Pe=q.map((te,oe)=>Object.assign(Object.assign({},M(z,te,H)),{},{comment:te,text:Z,options:H,ast:z,isLastComment:q.length-1===oe}));for(let[te,oe]of Pe.entries()){let{comment:Te,precedingNode:ke,enclosingNode:Qe,followingNode:fe,text:ne,options:ge,ast:Ee,isLastComment:Ne}=oe;if(ge.parser==="json"||ge.parser==="json5"||ge.parser==="__js_expression"||ge.parser==="__vue_expression"||ge.parser==="__vue_ts_expression"){if(W(Te)-W(Ee)<=0){E(Ee,Te);continue}if(de(Te)-de(Ee)>=0){$(Ee,Te);continue}}let Me;if(Y?Me=[oe]:(Te.enclosingNode=Qe,Te.precedingNode=ke,Te.followingNode=fe,Me=[Te,ne,ge,Ee,Ne]),ee(ne,ge,Pe,te))Te.placement="ownLine",he(...Me)||(fe?E(fe,Te):ke?$(ke,Te):w(Qe||Ee,Te));else if(v(ne,ge,Pe,te))Te.placement="endOfLine",xe(...Me)||(ke?$(ke,Te):fe?E(fe,Te):w(Qe||Ee,Te));else if(Te.placement="remaining",!me(...Me))if(ke&&fe){let Ge=ue.length;Ge>0&&ue[Ge-1].followingNode!==fe&&O(ue,ne,ge),ue.push(oe)}else ke?$(ke,Te):fe?E(fe,Te):w(Qe||Ee,Te)}if(O(ue,Z,H),!Y)for(let te of q)delete te.precedingNode,delete te.enclosingNode,delete te.followingNode}var U=q=>!/[\S\n\u2028\u2029]/.test(q);function ee(q,z,Z,H){let{comment:ue,precedingNode:W}=Z[H],{locStart:de,locEnd:Q}=z,Y=de(ue);if(W)for(let he=H-1;he>=0;he--){let{comment:xe,precedingNode:me}=Z[he];if(me!==W||!U(q.slice(Q(xe),Y)))break;Y=de(xe)}return A(q,Y,{backwards:!0})}function v(q,z,Z,H){let{comment:ue,followingNode:W}=Z[H],{locStart:de,locEnd:Q}=z,Y=Q(ue);if(W)for(let he=H+1;he<Z.length;he++){let{comment:xe,followingNode:me}=Z[he];if(me!==W||!U(q.slice(Y,de(xe))))break;Y=Q(xe)}return A(q,Y)}function O(q,z,Z){let H=q.length;if(H===0)return;let{precedingNode:ue,followingNode:W,enclosingNode:de}=q[0],Q=Z.printer.getGapRegex&&Z.printer.getGapRegex(de)||/^[\s(]*$/,Y=Z.locStart(W),he;for(he=H;he>0;--he){let{comment:xe,precedingNode:me,followingNode:Pe}=q[he-1];u.strictEqual(me,ue),u.strictEqual(Pe,W);let te=z.slice(Z.locEnd(xe),Y);if(Q.test(te))Y=Z.locStart(xe);else break}for(let[xe,{comment:me}]of q.entries())xe<he?$(ue,me):E(W,me);for(let xe of[ue,W])xe.comments&&xe.comments.length>1&&xe.comments.sort((me,Pe)=>Z.locStart(me)-Z.locStart(Pe));q.length=0}function x(q,z){let Z=q.getValue();return Z.printed=!0,z.printer.printComment(q,z)}function T(q,z,Z){let H=Z.locStart(z)-1;for(let ue=1;ue<q.length;++ue)if(H<Z.locStart(q[ue]))return ue-1;return 0}function f(q,z){let Z=q.getValue(),H=[x(q,z)],{printer:ue,originalText:W,locStart:de,locEnd:Q}=z;if(ue.isBlockComment&&ue.isBlockComment(Z)){let he=A(W,Q(Z))?A(W,de(Z),{backwards:!0})?h:d:" ";H.push(he)}else H.push(h);let Y=F(W,C(W,Q(Z)));return Y!==!1&&A(W,Y)&&H.push(h),H}function b(q,z){let Z=q.getValue(),H=x(q,z),{printer:ue,originalText:W,locStart:de}=z,Q=ue.isBlockComment&&ue.isBlockComment(Z);if(A(W,de(Z),{backwards:!0})){let he=y(W,Z,de);return l([h,he?h:"",H])}let Y=[" ",H];return Q||(Y=[l(Y),s]),Y}function S(q,z,Z,H){let ue=[],W=q.getValue();return!W||!W.comments||(q.each(()=>{let de=q.getValue();!de.leading&&!de.trailing&&(!H||H(de))&&ue.push(x(q,z))},"comments"),ue.length===0)?"":Z?m(h,ue):o([h,m(h,ue)])}function I(q,z,Z){let H=q.getValue();if(!H)return{};let ue=H.comments||[];Z&&(ue=ue.filter(Y=>!Z.has(Y)));let W=H===z.cursorNode;if(ue.length===0){let Y=W?D:"";return{leading:Y,trailing:Y}}let de=[],Q=[];return q.each(()=>{let Y=q.getValue();if(Z&&Z.has(Y))return;let{leading:he,trailing:xe}=Y;he?de.push(f(q,z)):xe&&Q.push(b(q,z))},"comments"),W&&(de.unshift(D),Q.push(D)),{leading:de,trailing:Q}}function N(q,z,Z,H){let{leading:ue,trailing:W}=I(q,Z,H);return!ue&&!W?z:[ue,z,W]}function R(q){if(q)for(let z of q){if(!z.printed)throw new Error('Comment "'+z.value.trim()+'" was not printed. Please report this error!');delete z.printed}}g.exports={attach:G,printComments:N,printCommentsSeparately:I,printDanglingComments:S,getSortedChildNodes:_,ensureAllCommentsPrinted:R}}}),jf=ie({"src/common/ast-path.js"(c,g){"use strict";pe();var u=Ie();function d(o,l){let m=h(o.stack,l);return m===-1?null:o.stack[m]}function h(o,l){for(let m=o.length-1;m>=0;m-=2){let D=o[m];if(D&&!Array.isArray(D)&&--l<0)return m}return-1}var s=class{constructor(o){this.stack=[o]}getName(){let{stack:o}=this,{length:l}=o;return l>1?o[l-2]:null}getValue(){return u(this.stack)}getNode(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return d(this,o)}getParentNode(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return d(this,o+1)}call(o){let{stack:l}=this,{length:m}=l,D=u(l);for(var A=arguments.length,F=new Array(A>1?A-1:0),C=1;C<A;C++)F[C-1]=arguments[C];for(let E of F)D=D[E],l.push(E,D);let y=o(this);return l.length=m,y}callParent(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,m=h(this.stack,l+1),D=this.stack.splice(m+1),A=o(this);return this.stack.push(...D),A}each(o){let{stack:l}=this,{length:m}=l,D=u(l);for(var A=arguments.length,F=new Array(A>1?A-1:0),C=1;C<A;C++)F[C-1]=arguments[C];for(let y of F)D=D[y],l.push(y,D);for(let y=0;y<D.length;++y)l.push(y,D[y]),o(this,y,D),l.length-=2;l.length=m}map(o){let l=[];for(var m=arguments.length,D=new Array(m>1?m-1:0),A=1;A<m;A++)D[A-1]=arguments[A];return this.each((F,C,y)=>{l[C]=o(F,C,y)},...D),l}try(o){let{stack:l}=this,m=[...l];try{return o()}finally{l.length=0,l.push(...m)}}match(){let o=this.stack.length-1,l=null,m=this.stack[o--];for(var D=arguments.length,A=new Array(D),F=0;F<D;F++)A[F]=arguments[F];for(let C of A){if(m===void 0)return!1;let y=null;if(typeof l=="number"&&(y=l,l=this.stack[o--],m=this.stack[o--]),C&&!C(m,l,y))return!1;l=this.stack[o--],m=this.stack[o--]}return!0}findAncestor(o){let l=this.stack.length-1,m=null,D=this.stack[l--];for(;D;){let A=null;if(typeof m=="number"&&(A=m,m=this.stack[l--],D=this.stack[l--]),m!==null&&o(D,m,A))return D;m=this.stack[l--],D=this.stack[l--]}}};g.exports=s}}),Mf=ie({"src/main/multiparser.js"(c,g){"use strict";pe();var{utils:{stripTrailingHardline:u}}=Ft(),{normalize:d}=io(),h=fr();function s(l,m,D,A){if(D.printer.embed&&D.embeddedLanguageFormatting==="auto")return D.printer.embed(l,m,(F,C,y)=>o(F,C,D,A,y),D)}function o(l,m,D,A){let{stripTrailingHardline:F=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},C=d(Object.assign(Object.assign(Object.assign({},D),m),{},{parentParser:D.parser,originalText:l}),{passThrough:!0}),y=Nu().parse(l,C),{ast:E}=y;l=y.text;let w=E.comments;delete E.comments,h.attach(w,E,l,C),C[Symbol.for("comments")]=w||[],C[Symbol.for("tokens")]=E.tokens||[];let $=A(E,C);return h.ensureAllCommentsPrinted(w),F?typeof $=="string"?$.replace(/(?:\r?\n)*$/,""):u($):$}g.exports={printSubtree:s}}}),$f=ie({"src/main/ast-to-doc.js"(c,g){"use strict";pe();var u=jf(),{builders:{hardline:d,addAlignmentToDoc:h},utils:{propagateBreaks:s}}=Ft(),{printComments:o}=fr(),l=Mf();function m(F,C){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:E}=C;E.preprocess&&(F=E.preprocess(F,C));let w=new Map,$=new u(F),V=_();return y>0&&(V=h([d,V],y,C.tabWidth)),s(V),V;function _(L,G){return L===void 0||L===$?M(G):Array.isArray(L)?$.call(()=>M(G),...L):$.call(()=>M(G),L)}function M(L){let G=$.getValue(),U=G&&typeof G=="object"&&L===void 0;if(U&&w.has(G))return w.get(G);let ee=A($,C,_,L);return U&&w.set(G,ee),ee}}function D(F,C){let{originalText:y,[Symbol.for("comments")]:E,locStart:w,locEnd:$}=C,V=w(F),_=$(F),M=new Set;for(let L of E)w(L)>=V&&$(L)<=_&&(L.printed=!0,M.add(L));return{doc:y.slice(V,_),printedComments:M}}function A(F,C,y,E){let w=F.getValue(),{printer:$}=C,V,_;if($.hasPrettierIgnore&&$.hasPrettierIgnore(F))({doc:V,printedComments:_}=D(w,C));else{if(w)try{V=l.printSubtree(F,y,C,m)}catch(M){if(globalThis.PRETTIER_DEBUG)throw M}V||(V=$.print(F,C,y,E))}return(!$.willPrintOwnComments||!$.willPrintOwnComments(F,C))&&(V=o(F,V,C,_)),V}g.exports=m}}),Vf=ie({"src/main/range-util.js"(c,g){"use strict";pe();var u=ji(),d=fr(),h=E=>{let{parser:w}=E;return w==="json"||w==="json5"||w==="json-stringify"};function s(E,w){let $=[E.node,...E.parentNodes],V=new Set([w.node,...w.parentNodes]);return $.find(_=>A.has(_.type)&&V.has(_))}function o(E){let w=E.length-1;for(;;){let $=E[w];if($&&($.type==="Program"||$.type==="File"))w--;else break}return E.slice(0,w+1)}function l(E,w,$){let{locStart:V,locEnd:_}=$,M=E.node,L=w.node;if(M===L)return{startNode:M,endNode:L};let G=V(E.node);for(let ee of o(w.parentNodes))if(V(ee)>=G)L=ee;else break;let U=_(w.node);for(let ee of o(E.parentNodes)){if(_(ee)<=U)M=ee;else break;if(M===L)break}return{startNode:M,endNode:L}}function m(E,w,$,V){let _=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],M=arguments.length>5?arguments[5]:void 0,{locStart:L,locEnd:G}=$,U=L(E),ee=G(E);if(!(w>ee||w<U||M==="rangeEnd"&&w===U||M==="rangeStart"&&w===ee)){for(let v of d.getSortedChildNodes(E,$)){let O=m(v,w,$,V,[E,..._],M);if(O)return O}if(!V||V(E,_[0]))return{node:E,parentNodes:_}}}function D(E,w){return w!=="DeclareExportDeclaration"&&E!=="TypeParameterDeclaration"&&(E==="Directive"||E==="TypeAlias"||E==="TSExportAssignment"||E.startsWith("Declare")||E.startsWith("TSDeclare")||E.endsWith("Statement")||E.endsWith("Declaration"))}var A=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),F=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function C(E,w,$){if(!w)return!1;switch(E.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return D(w.type,$&&$.type);case"json":case"json5":case"json-stringify":return A.has(w.type);case"graphql":return F.has(w.kind);case"vue":return w.tag!=="root"}return!1}function y(E,w,$){let{rangeStart:V,rangeEnd:_,locStart:M,locEnd:L}=w;u.ok(_>V);let G=E.slice(V,_).search(/\S/),U=G===-1;if(!U)for(V+=G;_>V&&!/\S/.test(E[_-1]);--_);let ee=m($,V,w,(T,f)=>C(w,T,f),[],"rangeStart"),v=U?ee:m($,_,w,T=>C(w,T),[],"rangeEnd");if(!ee||!v)return{rangeStart:0,rangeEnd:0};let O,x;if(h(w)){let T=s(ee,v);O=T,x=T}else({startNode:O,endNode:x}=l(ee,v,w));return{rangeStart:Math.min(M(O),M(x)),rangeEnd:Math.max(L(O),L(x))}}g.exports={calculateRange:y,findNodeAtOffset:m}}}),Uf=ie({"src/main/core.js"(c,g){"use strict";pe();var{diffArrays:u}=j(),{printer:{printDocToString:d},debug:{printDocToDebug:h}}=Ft(),{getAlignmentSize:s}=Mt(),{guessEndOfLine:o,convertEndOfLineToChars:l,countEndOfLineChars:m,normalizeEndOfLine:D}=le(),A=io().normalize,F=Rf(),C=fr(),y=Nu(),E=$f(),w=Vf(),$="\uFEFF",V=Symbol("cursor");function _(x,T,f){let b=T.comments;return b&&(delete T.comments,C.attach(b,T,x,f)),f[Symbol.for("comments")]=b||[],f[Symbol.for("tokens")]=T.tokens||[],f.originalText=x,b}function M(x,T){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!x||x.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:b,text:S}=y.parse(x,T);if(T.cursorOffset>=0){let q=w.findNodeAtOffset(b,T.cursorOffset,T);q&&q.node&&(T.cursorNode=q.node)}let I=_(S,b,T),N=E(b,T,f),R=d(N,T);if(C.ensureAllCommentsPrinted(I),f>0){let q=R.formatted.trim();R.cursorNodeStart!==void 0&&(R.cursorNodeStart-=R.formatted.indexOf(q)),R.formatted=q+l(T.endOfLine)}if(T.cursorOffset>=0){let q,z,Z,H,ue;if(T.cursorNode&&R.cursorNodeText?(q=T.locStart(T.cursorNode),z=S.slice(q,T.locEnd(T.cursorNode)),Z=T.cursorOffset-q,H=R.cursorNodeStart,ue=R.cursorNodeText):(q=0,z=S,Z=T.cursorOffset,H=0,ue=R.formatted),z===ue)return{formatted:R.formatted,cursorOffset:H+Z,comments:I};let W=[...z];W.splice(Z,0,V);let de=[...ue],Q=u(W,de),Y=H;for(let he of Q)if(he.removed){if(he.value.includes(V))break}else Y+=he.count;return{formatted:R.formatted,cursorOffset:Y,comments:I}}return{formatted:R.formatted,cursorOffset:-1,comments:I}}function L(x,T){let{ast:f,text:b}=y.parse(x,T),{rangeStart:S,rangeEnd:I}=w.calculateRange(b,T,f),N=b.slice(S,I),R=Math.min(S,b.lastIndexOf(`
|
|
109
|
+
`,S)+1),q=b.slice(R,S).match(/^\s*/)[0],z=s(q,T.tabWidth),Z=M(N,Object.assign(Object.assign({},T),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:T.cursorOffset>S&&T.cursorOffset<=I?T.cursorOffset-S:-1,endOfLine:"lf"}),z),H=Z.formatted.trimEnd(),{cursorOffset:ue}=T;ue>I?ue+=H.length-N.length:Z.cursorOffset>=0&&(ue=Z.cursorOffset+S);let W=b.slice(0,S)+H+b.slice(I);if(T.endOfLine!=="lf"){let de=l(T.endOfLine);ue>=0&&de===`\r
|
|
110
|
+
`&&(ue+=m(W.slice(0,ue),`
|
|
111
|
+
`)),W=W.replace(/\n/g,de)}return{formatted:W,cursorOffset:ue,comments:Z.comments}}function G(x,T,f){return typeof T!="number"||Number.isNaN(T)||T<0||T>x.length?f:T}function U(x,T){let{cursorOffset:f,rangeStart:b,rangeEnd:S}=T;return f=G(x,f,-1),b=G(x,b,0),S=G(x,S,x.length),Object.assign(Object.assign({},T),{},{cursorOffset:f,rangeStart:b,rangeEnd:S})}function ee(x,T){let{cursorOffset:f,rangeStart:b,rangeEnd:S,endOfLine:I}=U(x,T),N=x.charAt(0)===$;if(N&&(x=x.slice(1),f--,b--,S--),I==="auto"&&(I=o(x)),x.includes("\r")){let R=q=>m(x.slice(0,Math.max(q,0)),`\r
|
|
112
|
+
`);f-=R(f),b-=R(b),S-=R(S),x=D(x)}return{hasBOM:N,text:x,options:U(x,Object.assign(Object.assign({},T),{},{cursorOffset:f,rangeStart:b,rangeEnd:S,endOfLine:I}))}}function v(x,T){let f=y.resolveParser(T);return!f.hasPragma||f.hasPragma(x)}function O(x,T){let{hasBOM:f,text:b,options:S}=ee(x,A(T));if(S.rangeStart>=S.rangeEnd&&b!==""||S.requirePragma&&!v(b,S))return{formatted:x,cursorOffset:T.cursorOffset,comments:[]};let I;return S.rangeStart>0||S.rangeEnd<b.length?I=L(b,S):(!S.requirePragma&&S.insertPragma&&S.printer.insertPragma&&!v(b,S)&&(b=S.printer.insertPragma(b)),I=M(b,S)),f&&(I.formatted=$+I.formatted,I.cursorOffset>=0&&I.cursorOffset++),I}g.exports={formatWithCursor:O,parse(x,T,f){let{text:b,options:S}=ee(x,A(T)),I=y.parse(b,S);return f&&(I.ast=F(I.ast,S)),I},formatAST(x,T){T=A(T);let f=E(x,T);return d(f,T)},formatDoc(x,T){return O(h(x),Object.assign(Object.assign({},T),{},{parser:"__js_expression"})).formatted},printToDoc(x,T){T=A(T);let{ast:f,text:b}=y.parse(x,T);return _(b,f,T),E(f,T)},printDocToString(x,T){return d(x,A(T))}}}}),Gf=ie({"src/common/util-shared.js"(c,g){"use strict";pe();var{getMaxContinuousCount:u,getStringWidth:d,getAlignmentSize:h,getIndentSize:s,skip:o,skipWhitespace:l,skipSpaces:m,skipNewline:D,skipToLineEnd:A,skipEverythingButNewLine:F,skipInlineComment:C,skipTrailingComment:y,hasNewline:E,hasNewlineInRange:w,hasSpaces:$,isNextLineEmpty:V,isNextLineEmptyAfterIndex:_,isPreviousLineEmpty:M,getNextNonSpaceNonCommentCharacterIndex:L,makeString:G,addLeadingComment:U,addDanglingComment:ee,addTrailingComment:v}=Mt();g.exports={getMaxContinuousCount:u,getStringWidth:d,getAlignmentSize:h,getIndentSize:s,skip:o,skipWhitespace:l,skipSpaces:m,skipNewline:D,skipToLineEnd:A,skipEverythingButNewLine:F,skipInlineComment:C,skipTrailingComment:y,hasNewline:E,hasNewlineInRange:w,hasSpaces:$,isNextLineEmpty:V,isNextLineEmptyAfterIndex:_,isPreviousLineEmpty:M,getNextNonSpaceNonCommentCharacterIndex:L,makeString:G,addLeadingComment:U,addDanglingComment:ee,addTrailingComment:v}}}),Nn=ie({"src/utils/create-language.js"(c,g){"use strict";pe(),g.exports=function(u,d){let{languageId:h}=u,s=Oe(u,Ce);return Object.assign(Object.assign({linguistLanguageId:h},s),d(u))}}}),qf=ie({"node_modules/esutils/lib/ast.js"(c,g){pe(),function(){"use strict";function u(m){if(m==null)return!1;switch(m.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function d(m){if(m==null)return!1;switch(m.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function h(m){if(m==null)return!1;switch(m.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function s(m){return h(m)||m!=null&&m.type==="FunctionDeclaration"}function o(m){switch(m.type){case"IfStatement":return m.alternate!=null?m.alternate:m.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return m.body}return null}function l(m){var D;if(m.type!=="IfStatement"||m.alternate==null)return!1;D=m.consequent;do{if(D.type==="IfStatement"&&D.alternate==null)return!0;D=o(D)}while(D);return!1}g.exports={isExpression:u,isStatement:h,isIterationStatement:d,isSourceElement:s,isProblematicIfStatement:l,trailingStatement:o}}()}}),so=ie({"node_modules/esutils/lib/code.js"(c,g){pe(),function(){"use strict";var u,d,h,s,o,l;d={NonAsciiIdentifierStart:/[\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\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\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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]/,NonAsciiIdentifierPart:/[\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\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\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\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\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-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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\u200C\u200D\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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]/},u={NonAsciiIdentifierStart:/[\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\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\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-\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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\uDF30-\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\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\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\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\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\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\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\u1369-\u1371\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-\u19DA\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-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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\uDF30-\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\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function m(_){return 48<=_&&_<=57}function D(_){return 48<=_&&_<=57||97<=_&&_<=102||65<=_&&_<=70}function A(_){return _>=48&&_<=55}h=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function F(_){return _===32||_===9||_===11||_===12||_===160||_>=5760&&h.indexOf(_)>=0}function C(_){return _===10||_===13||_===8232||_===8233}function y(_){if(_<=65535)return String.fromCharCode(_);var M=String.fromCharCode(Math.floor((_-65536)/1024)+55296),L=String.fromCharCode((_-65536)%1024+56320);return M+L}for(s=new Array(128),l=0;l<128;++l)s[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function E(_){return _<128?s[_]:d.NonAsciiIdentifierStart.test(y(_))}function w(_){return _<128?o[_]:d.NonAsciiIdentifierPart.test(y(_))}function $(_){return _<128?s[_]:u.NonAsciiIdentifierStart.test(y(_))}function V(_){return _<128?o[_]:u.NonAsciiIdentifierPart.test(y(_))}g.exports={isDecimalDigit:m,isHexDigit:D,isOctalDigit:A,isWhiteSpace:F,isLineTerminator:C,isIdentifierStartES5:E,isIdentifierPartES5:w,isIdentifierStartES6:$,isIdentifierPartES6:V}}()}}),Wf=ie({"node_modules/esutils/lib/keyword.js"(c,g){pe(),function(){"use strict";var u=so();function d(E){switch(E){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function h(E,w){return!w&&E==="yield"?!1:s(E,w)}function s(E,w){if(w&&d(E))return!0;switch(E.length){case 2:return E==="if"||E==="in"||E==="do";case 3:return E==="var"||E==="for"||E==="new"||E==="try";case 4:return E==="this"||E==="else"||E==="case"||E==="void"||E==="with"||E==="enum";case 5:return E==="while"||E==="break"||E==="catch"||E==="throw"||E==="const"||E==="yield"||E==="class"||E==="super";case 6:return E==="return"||E==="typeof"||E==="delete"||E==="switch"||E==="export"||E==="import";case 7:return E==="default"||E==="finally"||E==="extends";case 8:return E==="function"||E==="continue"||E==="debugger";case 10:return E==="instanceof";default:return!1}}function o(E,w){return E==="null"||E==="true"||E==="false"||h(E,w)}function l(E,w){return E==="null"||E==="true"||E==="false"||s(E,w)}function m(E){return E==="eval"||E==="arguments"}function D(E){var w,$,V;if(E.length===0||(V=E.charCodeAt(0),!u.isIdentifierStartES5(V)))return!1;for(w=1,$=E.length;w<$;++w)if(V=E.charCodeAt(w),!u.isIdentifierPartES5(V))return!1;return!0}function A(E,w){return(E-55296)*1024+(w-56320)+65536}function F(E){var w,$,V,_,M;if(E.length===0)return!1;for(M=u.isIdentifierStartES6,w=0,$=E.length;w<$;++w){if(V=E.charCodeAt(w),55296<=V&&V<=56319){if(++w,w>=$||(_=E.charCodeAt(w),!(56320<=_&&_<=57343)))return!1;V=A(V,_)}if(!M(V))return!1;M=u.isIdentifierPartES6}return!0}function C(E,w){return D(E)&&!o(E,w)}function y(E,w){return F(E)&&!l(E,w)}g.exports={isKeywordES5:h,isKeywordES6:s,isReservedWordES5:o,isReservedWordES6:l,isRestrictedWord:m,isIdentifierNameES5:D,isIdentifierNameES6:F,isIdentifierES5:C,isIdentifierES6:y}}()}}),Jf=ie({"node_modules/esutils/lib/utils.js"(c){pe(),function(){"use strict";c.ast=qf(),c.code=so(),c.keyword=Wf()}()}}),Ln=ie({"src/language-js/utils/is-block-comment.js"(c,g){"use strict";pe();var u=new Set(["Block","CommentBlock","MultiLine"]),d=h=>u.has(h==null?void 0:h.type);g.exports=d}}),Yf=ie({"src/language-js/utils/is-node-matches.js"(c,g){"use strict";pe();function u(h,s){let o=s.split(".");for(let l=o.length-1;l>=0;l--){let m=o[l];if(l===0)return h.type==="Identifier"&&h.name===m;if(h.type!=="MemberExpression"||h.optional||h.computed||h.property.type!=="Identifier"||h.property.name!==m)return!1;h=h.object}}function d(h,s){return s.some(o=>u(h,o))}g.exports=d}}),Kt=ie({"src/language-js/utils/index.js"(c,g){"use strict";pe();var u=Jf().keyword.isIdentifierNameES5,{getLast:d,hasNewline:h,skipWhitespace:s,isNonEmptyArray:o,isNextLineEmptyAfterIndex:l,getStringWidth:m}=Mt(),{locStart:D,locEnd:A,hasSameLocStart:F}=Ar(),C=Ln(),y=Yf(),E="(?:(?=.)\\s)",w=new RegExp(`^${E}*:`),$=new RegExp(`^${E}*::`);function V(J){var Le,gt;return((Le=J.extra)===null||Le===void 0?void 0:Le.parenthesized)&&C((gt=J.trailingComments)===null||gt===void 0?void 0:gt[0])&&w.test(J.trailingComments[0].value)}function _(J){let Le=J==null?void 0:J[0];return C(Le)&&$.test(Le.value)}function M(J,Le){if(!J||typeof J!="object")return!1;if(Array.isArray(J))return J.some($t=>M($t,Le));let gt=Le(J);return typeof gt=="boolean"?gt:Object.values(J).some($t=>M($t,Le))}function L(J){return J.type==="AssignmentExpression"||J.type==="BinaryExpression"||J.type==="LogicalExpression"||J.type==="NGPipeExpression"||J.type==="ConditionalExpression"||Te(J)||ke(J)||J.type==="SequenceExpression"||J.type==="TaggedTemplateExpression"||J.type==="BindExpression"||J.type==="UpdateExpression"&&!J.prefix||Rr(J)||J.type==="TSNonNullExpression"}function G(J){var Le,gt,$t,Vt,_r,ur;return J.expressions?J.expressions[0]:(Le=(gt=($t=(Vt=(_r=(ur=J.left)!==null&&ur!==void 0?ur:J.test)!==null&&_r!==void 0?_r:J.callee)!==null&&Vt!==void 0?Vt:J.object)!==null&&$t!==void 0?$t:J.tag)!==null&>!==void 0?gt:J.argument)!==null&&Le!==void 0?Le:J.expression}function U(J,Le){if(Le.expressions)return["expressions",0];if(Le.left)return["left"];if(Le.test)return["test"];if(Le.object)return["object"];if(Le.callee)return["callee"];if(Le.tag)return["tag"];if(Le.argument)return["argument"];if(Le.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function ee(J){return J=new Set(J),Le=>J.has(Le==null?void 0:Le.type)}var v=ee(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),O=ee(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function x(J){let Le=J.getParentNode();return J.getName()==="declaration"&&O(Le)?Le:null}var T=ee(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function f(J){return J.type==="NumericLiteral"||J.type==="Literal"&&typeof J.value=="number"}function b(J){return J.type==="UnaryExpression"&&(J.operator==="+"||J.operator==="-")&&f(J.argument)}function S(J){return J.type==="StringLiteral"||J.type==="Literal"&&typeof J.value=="string"}var I=ee(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),N=ee(["FunctionExpression","ArrowFunctionExpression"]);function R(J){return J.type==="FunctionExpression"||J.type==="ArrowFunctionExpression"&&J.body.type==="BlockStatement"}function q(J){return Te(J)&&J.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(J.callee.name)}var z=ee(["JSXElement","JSXFragment"]);function Z(J,Le){if(J.parentParser!=="markdown"&&J.parentParser!=="mdx")return!1;let gt=Le.getNode();if(!gt.expression||!z(gt.expression))return!1;let $t=Le.getParentNode();return $t.type==="Program"&&$t.body.length===1}function H(J){return J.kind==="get"||J.kind==="set"}function ue(J){return H(J)||F(J,J.value)}function W(J){return(J.type==="ObjectTypeProperty"||J.type==="ObjectTypeInternalSlot")&&J.value.type==="FunctionTypeAnnotation"&&!J.static&&!ue(J)}function de(J){return(J.type==="TypeAnnotation"||J.type==="TSTypeAnnotation")&&J.typeAnnotation.type==="FunctionTypeAnnotation"&&!J.static&&!F(J,J.typeAnnotation)}var Q=ee(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Y(J){return ke(J)||J.type==="BindExpression"&&Boolean(J.object)}var he=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function xe(J){return J?!!((J.type==="GenericTypeAnnotation"||J.type==="TSTypeReference")&&!J.typeParameters||he.has(J.type)):!1}function me(J){let Le=/^(?:before|after)(?:Each|All)$/;return J.callee.type==="Identifier"&&Le.test(J.callee.name)&&J.arguments.length===1}var Pe=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function te(J){return y(J,Pe)}function oe(J,Le){if(J.type!=="CallExpression")return!1;if(J.arguments.length===1){if(q(J)&&Le&&oe(Le))return N(J.arguments[0]);if(me(J))return q(J.arguments[0])}else if((J.arguments.length===2||J.arguments.length===3)&&(J.arguments[0].type==="TemplateLiteral"||S(J.arguments[0]))&&te(J.callee))return J.arguments[2]&&!f(J.arguments[2])?!1:(J.arguments.length===2?N(J.arguments[1]):R(J.arguments[1])&&qe(J.arguments[1]).length<=1)||q(J.arguments[1]);return!1}var Te=ee(["CallExpression","OptionalCallExpression"]),ke=ee(["MemberExpression","OptionalMemberExpression"]);function Qe(J){let Le="expressions";J.type==="TSTemplateLiteralType"&&(Le="types");let gt=J[Le];return gt.length===0?!1:gt.every($t=>{if(bt($t))return!1;if($t.type==="Identifier"||$t.type==="ThisExpression")return!0;if(ke($t)){let Vt=$t;for(;ke(Vt);)if(Vt.property.type!=="Identifier"&&Vt.property.type!=="Literal"&&Vt.property.type!=="StringLiteral"&&Vt.property.type!=="NumericLiteral"||(Vt=Vt.object,bt(Vt)))return!1;return Vt.type==="Identifier"||Vt.type==="ThisExpression"}return!1})}function fe(J,Le){return J==="+"||J==="-"?J+Le:Le}function ne(J,Le){let gt=D(Le),$t=s(J,A(Le));return $t!==!1&&J.slice(gt,gt+2)==="/*"&&J.slice($t,$t+2)==="*/"}function ge(J,Le){return z(Le)?kt(Le):bt(Le,at.Leading,gt=>h(J,A(gt)))}function Ee(J,Le){return Le.parser!=="json"&&S(J.key)&&Ae(J.key).slice(1,-1)===J.key.value&&(u(J.key.value)&&!(Le.parser==="babel-ts"&&J.type==="ClassProperty"||Le.parser==="typescript"&&J.type==="PropertyDefinition")||Ne(J.key.value)&&String(Number(J.key.value))===J.key.value&&(Le.parser==="babel"||Le.parser==="acorn"||Le.parser==="espree"||Le.parser==="meriyah"||Le.parser==="__babel_estree"))}function Ne(J){return/^(?:\d+|\d+\.\d+)$/.test(J)}function Me(J,Le){let gt=/^[fx]?(?:describe|it|test)$/;return Le.type==="TaggedTemplateExpression"&&Le.quasi===J&&Le.tag.type==="MemberExpression"&&Le.tag.property.type==="Identifier"&&Le.tag.property.name==="each"&&(Le.tag.object.type==="Identifier"&>.test(Le.tag.object.name)||Le.tag.object.type==="MemberExpression"&&Le.tag.object.property.type==="Identifier"&&(Le.tag.object.property.name==="only"||Le.tag.object.property.name==="skip")&&Le.tag.object.object.type==="Identifier"&>.test(Le.tag.object.object.name))}function Ge(J){return J.quasis.some(Le=>Le.value.raw.includes(`
|
|
113
|
+
`))}function pt(J,Le){return(J.type==="TemplateLiteral"&&Ge(J)||J.type==="TaggedTemplateExpression"&&Ge(J.quasi))&&!h(Le,D(J),{backwards:!0})}function Pt(J){if(!bt(J))return!1;let Le=d(Se(J,at.Dangling));return Le&&!C(Le)}function wt(J){if(J.length<=1)return!1;let Le=0;for(let gt of J)if(N(gt)){if(Le+=1,Le>1)return!0}else if(Te(gt)){for(let $t of gt.arguments)if(N($t))return!0}return!1}function ct(J){let Le=J.getValue(),gt=J.getParentNode();return Te(Le)&&Te(gt)&>.callee===Le&&Le.arguments.length>gt.arguments.length&>.arguments.length>0}function yt(J,Le){if(Le>=2)return!1;let gt=ur=>yt(ur,Le+1),$t=J.type==="Literal"&&"regex"in J&&J.regex.pattern||J.type==="RegExpLiteral"&&J.pattern;if($t&&m($t)>5)return!1;if(J.type==="Literal"||J.type==="BigIntLiteral"||J.type==="DecimalLiteral"||J.type==="BooleanLiteral"||J.type==="NullLiteral"||J.type==="NumericLiteral"||J.type==="RegExpLiteral"||J.type==="StringLiteral"||J.type==="Identifier"||J.type==="ThisExpression"||J.type==="Super"||J.type==="PrivateName"||J.type==="PrivateIdentifier"||J.type==="ArgumentPlaceholder"||J.type==="Import")return!0;if(J.type==="TemplateLiteral")return J.quasis.every(ur=>!ur.value.raw.includes(`
|
|
114
|
+
`))&&J.expressions.every(gt);if(J.type==="ObjectExpression")return J.properties.every(ur=>!ur.computed&&(ur.shorthand||ur.value&>(ur.value)));if(J.type==="ArrayExpression")return J.elements.every(ur=>ur===null||gt(ur));if(dr(J))return(J.type==="ImportExpression"||yt(J.callee,Le))&&Zt(J).every(gt);if(ke(J))return yt(J.object,Le)&&yt(J.property,Le);let Vt={"!":!0,"-":!0,"+":!0,"~":!0};if(J.type==="UnaryExpression"&&Vt[J.operator])return yt(J.argument,Le);let _r={"++":!0,"--":!0};return J.type==="UpdateExpression"&&_r[J.operator]?yt(J.argument,Le):J.type==="TSNonNullExpression"?yt(J.expression,Le):!1}function Ae(J){var Le,gt;return(Le=(gt=J.extra)===null||gt===void 0?void 0:gt.raw)!==null&&Le!==void 0?Le:J.raw}function re(J){return J}function _e(J){return J.filepath&&/\.tsx$/i.test(J.filepath)}function ce(J){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return J.trailingComma==="es5"&&Le==="es5"||J.trailingComma==="all"&&(Le==="all"||Le==="es5")}function we(J,Le){switch(J.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return we(J.left,Le);case"MemberExpression":case"OptionalMemberExpression":return we(J.object,Le);case"TaggedTemplateExpression":return J.tag.type==="FunctionExpression"?!1:we(J.tag,Le);case"CallExpression":case"OptionalCallExpression":return J.callee.type==="FunctionExpression"?!1:we(J.callee,Le);case"ConditionalExpression":return we(J.test,Le);case"UpdateExpression":return!J.prefix&&we(J.argument,Le);case"BindExpression":return J.object&&we(J.object,Le);case"SequenceExpression":return we(J.expressions[0],Le);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return we(J.expression,Le);default:return Le(J)}}var it={"==":!0,"!=":!0,"===":!0,"!==":!0},ze={"*":!0,"/":!0,"%":!0},Be={">>":!0,">>>":!0,"<<":!0};function P(J,Le){return!(ve(Le)!==ve(J)||J==="**"||it[J]&&it[Le]||Le==="%"&&ze[J]||J==="%"&&ze[Le]||Le!==J&&ze[Le]&&ze[J]||Be[J]&&Be[Le])}var ae=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((J,Le)=>J.map(gt=>[gt,Le])));function ve(J){return ae.get(J)}function Ve(J){return Boolean(Be[J])||J==="|"||J==="^"||J==="&"}function We(J){var Le;if(J.rest)return!0;let gt=qe(J);return((Le=d(gt))===null||Le===void 0?void 0:Le.type)==="RestElement"}var lt=new WeakMap;function qe(J){if(lt.has(J))return lt.get(J);let Le=[];return J.this&&Le.push(J.this),Array.isArray(J.parameters)?Le.push(...J.parameters):Array.isArray(J.params)&&Le.push(...J.params),J.rest&&Le.push(J.rest),lt.set(J,Le),Le}function ir(J,Le){let gt=J.getValue(),$t=0,Vt=_r=>Le(_r,$t++);gt.this&&J.call(Vt,"this"),Array.isArray(gt.parameters)?J.each(Vt,"parameters"):Array.isArray(gt.params)&&J.each(Vt,"params"),gt.rest&&J.call(Vt,"rest")}var ut=new WeakMap;function Zt(J){if(ut.has(J))return ut.get(J);let Le=J.arguments;return J.type==="ImportExpression"&&(Le=[J.source],J.attributes&&Le.push(J.attributes)),ut.set(J,Le),Le}function st(J,Le){let gt=J.getValue();gt.type==="ImportExpression"?(J.call($t=>Le($t,0),"source"),gt.attributes&&J.call($t=>Le($t,1),"attributes")):J.each(Le,"arguments")}function xt(J){return J.value.trim()==="prettier-ignore"&&!J.unignore}function kt(J){return J&&(J.prettierIgnore||bt(J,at.PrettierIgnore))}function zt(J){let Le=J.getValue();return kt(Le)}var at={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},St=(J,Le)=>{if(typeof J=="function"&&(Le=J,J=0),J||Le)return(gt,$t,Vt)=>!(J&at.Leading&&!gt.leading||J&at.Trailing&&!gt.trailing||J&at.Dangling&&(gt.leading||gt.trailing)||J&at.Block&&!C(gt)||J&at.Line&&!v(gt)||J&at.First&&$t!==0||J&at.Last&&$t!==Vt.length-1||J&at.PrettierIgnore&&!xt(gt)||Le&&!Le(gt))};function bt(J,Le,gt){if(!o(J==null?void 0:J.comments))return!1;let $t=St(Le,gt);return $t?J.comments.some($t):!0}function Se(J,Le,gt){if(!Array.isArray(J==null?void 0:J.comments))return[];let $t=St(Le,gt);return $t?J.comments.filter($t):J.comments}var Or=(J,Le)=>{let{originalText:gt}=Le;return l(gt,A(J))};function dr(J){return Te(J)||J.type==="NewExpression"||J.type==="ImportExpression"}function Lt(J){return J&&(J.type==="ObjectProperty"||J.type==="Property"&&!J.method&&J.kind==="init")}function Rt(J){return Boolean(J.__isUsingHackPipeline)}var Ht=Symbol("ifWithoutBlockAndSameLineComment");function Rr(J){return J.type==="TSAsExpression"||J.type==="TSSatisfiesExpression"}g.exports={getFunctionParameters:qe,iterateFunctionParametersPath:ir,getCallArguments:Zt,iterateCallArgumentsPath:st,hasRestParameter:We,getLeftSide:G,getLeftSidePathName:U,getParentExportDeclaration:x,getTypeScriptMappedTypeModifier:fe,hasFlowAnnotationComment:_,hasFlowShorthandAnnotationComment:V,hasLeadingOwnLineComment:ge,hasNakedLeftSide:L,hasNode:M,hasIgnoreComment:zt,hasNodeIgnoreComment:kt,identity:re,isBinaryish:Q,isCallLikeExpression:dr,isEnabledHackPipeline:Rt,isLineComment:v,isPrettierIgnoreComment:xt,isCallExpression:Te,isMemberExpression:ke,isExportDeclaration:O,isFlowAnnotationComment:ne,isFunctionCompositionArgs:wt,isFunctionNotation:ue,isFunctionOrArrowExpression:N,isGetterOrSetter:H,isJestEachTemplateLiteral:Me,isJsxNode:z,isLiteral:T,isLongCurriedCallExpression:ct,isSimpleCallArgument:yt,isMemberish:Y,isNumericLiteral:f,isSignedNumericLiteral:b,isObjectProperty:Lt,isObjectType:I,isObjectTypePropertyAFunction:W,isSimpleType:xe,isSimpleNumber:Ne,isSimpleTemplateLiteral:Qe,isStringLiteral:S,isStringPropSafeToUnquote:Ee,isTemplateOnItsOwnLine:pt,isTestCall:oe,isTheOnlyJsxElementInMarkdown:Z,isTSXFile:_e,isTypeAnnotationAFunction:de,isNextLineEmpty:Or,needsHardlineAfterDanglingComment:Pt,rawText:Ae,shouldPrintComma:ce,isBitwiseOperator:Ve,shouldFlatten:P,startsWithNoLookaheadToken:we,getPrecedence:ve,hasComment:bt,getComments:Se,CommentCheckFlags:at,markerForIfWithoutBlockAndSameLineComment:Ht,isTSTypeExpression:Rr}}}),ni=ie({"src/language-js/print/template-literal.js"(c,g){"use strict";pe();var u=Ie(),{getStringWidth:d,getIndentSize:h}=Mt(),{builders:{join:s,hardline:o,softline:l,group:m,indent:D,align:A,lineSuffixBoundary:F,addAlignmentToDoc:C},printer:{printDocToString:y},utils:{mapDoc:E}}=Ft(),{isBinaryish:w,isJestEachTemplateLiteral:$,isSimpleTemplateLiteral:V,hasComment:_,isMemberExpression:M,isTSTypeExpression:L}=Kt();function G(T,f,b){let S=T.getValue();if(S.type==="TemplateLiteral"&&$(S,T.getParentNode())){let z=U(T,b,f);if(z)return z}let I="expressions";S.type==="TSTemplateLiteralType"&&(I="types");let N=[],R=T.map(f,I),q=V(S);return q&&(R=R.map(z=>y(z,Object.assign(Object.assign({},b),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),N.push(F,"`"),T.each(z=>{let Z=z.getName();if(N.push(f()),Z<R.length){let{tabWidth:H}=b,ue=z.getValue(),W=h(ue.value.raw,H),de=R[Z];if(!q){let Y=S[I][Z];(_(Y)||M(Y)||Y.type==="ConditionalExpression"||Y.type==="SequenceExpression"||L(Y)||w(Y))&&(de=[D([l,de]),l])}let Q=W===0&&ue.value.raw.endsWith(`
|
|
115
|
+
`)?A(Number.NEGATIVE_INFINITY,de):C(de,W,H);N.push(m(["${",Q,F,"}"]))}},"quasis"),N.push("`"),N}function U(T,f,b){let S=T.getNode(),I=S.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(I.length>1||I.some(N=>N.length>0)){f.__inJestEach=!0;let N=T.map(b,"expressions");f.__inJestEach=!1;let R=[],q=N.map(W=>"${"+y(W,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),z=[{hasLineBreak:!1,cells:[]}];for(let W=1;W<S.quasis.length;W++){let de=u(z),Q=q[W-1];de.cells.push(Q),Q.includes(`
|
|
116
|
+
`)&&(de.hasLineBreak=!0),S.quasis[W].value.raw.includes(`
|
|
117
|
+
`)&&z.push({hasLineBreak:!1,cells:[]})}let Z=Math.max(I.length,...z.map(W=>W.cells.length)),H=Array.from({length:Z}).fill(0),ue=[{cells:I},...z.filter(W=>W.cells.length>0)];for(let{cells:W}of ue.filter(de=>!de.hasLineBreak))for(let[de,Q]of W.entries())H[de]=Math.max(H[de],d(Q));return R.push(F,"`",D([o,s(o,ue.map(W=>s(" | ",W.cells.map((de,Q)=>W.hasLineBreak?de:de+" ".repeat(H[Q]-d(de))))))]),o,"`"),R}}function ee(T,f){let b=T.getValue(),S=f();return _(b)&&(S=m([D([l,S]),l])),["${",S,F,"}"]}function v(T,f){return T.map(b=>ee(b,f),"expressions")}function O(T,f){return E(T,b=>typeof b=="string"?f?b.replace(/(\\*)`/g,"$1$1\\`"):x(b):b)}function x(T){return T.replace(/([\\`]|\${)/g,"\\$1")}g.exports={printTemplateLiteral:G,printTemplateExpressions:v,escapeTemplateCharacters:O,uncookTemplateElementValue:x}}}),Xf=ie({"src/language-js/embed/markdown.js"(c,g){"use strict";pe();var{builders:{indent:u,softline:d,literalline:h,dedentToRoot:s}}=Ft(),{escapeTemplateCharacters:o}=ni();function l(D,A,F){let C=D.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,($,V)=>"\\".repeat(V.length/2)+"`"),y=m(C),E=y!=="";E&&(C=C.replace(new RegExp(`^${y}`,"gm"),""));let w=o(F(C,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",E?u([d,w]):[h,s(w)],d,"`"]}function m(D){let A=D.match(/^([^\S\n]*)\S/m);return A===null?"":A[1]}g.exports=l}}),zf=ie({"src/language-js/embed/css.js"(c,g){"use strict";pe();var{isNonEmptyArray:u}=Mt(),{builders:{indent:d,hardline:h,softline:s},utils:{mapDoc:o,replaceEndOfLine:l,cleanDoc:m}}=Ft(),{printTemplateExpressions:D}=ni();function A(y,E,w){let $=y.getValue(),V=$.quasis.map(U=>U.value.raw),_=0,M=V.reduce((U,ee,v)=>v===0?ee:U+"@prettier-placeholder-"+_+++"-id"+ee,""),L=w(M,{parser:"scss"},{stripTrailingHardline:!0}),G=D(y,E);return F(L,$,G)}function F(y,E,w){if(E.quasis.length===1&&!E.quasis[0].value.raw.trim())return"``";let $=C(y,w);if(!$)throw new Error("Couldn't insert all the expressions");return["`",d([h,$]),s,"`"]}function C(y,E){if(!u(E))return y;let w=0,$=o(m(y),V=>typeof V!="string"||!V.includes("@prettier-placeholder")?V:V.split(/@prettier-placeholder-(\d+)-id/).map((_,M)=>M%2==0?l(_):(w++,E[_])));return E.length===w?$:null}g.exports=A}}),Hf=ie({"src/language-js/embed/graphql.js"(c,g){"use strict";pe();var{builders:{indent:u,join:d,hardline:h}}=Ft(),{escapeTemplateCharacters:s,printTemplateExpressions:o}=ni();function l(D,A,F){let C=D.getValue(),y=C.quasis.length;if(y===1&&C.quasis[0].value.raw.trim()==="")return"``";let E=o(D,A),w=[];for(let $=0;$<y;$++){let V=C.quasis[$],_=$===0,M=$===y-1,L=V.value.cooked,G=L.split(`
|
|
118
|
+
`),U=G.length,ee=E[$],v=U>2&&G[0].trim()===""&&G[1].trim()==="",O=U>2&&G[U-1].trim()===""&&G[U-2].trim()==="",x=G.every(f=>/^\s*(?:#[^\n\r]*)?$/.test(f));if(!M&&/#[^\n\r]*$/.test(G[U-1]))return null;let T=null;x?T=m(G):T=F(L,{parser:"graphql"},{stripTrailingHardline:!0}),T?(T=s(T,!1),!_&&v&&w.push(""),w.push(T),!M&&O&&w.push("")):!_&&!M&&v&&w.push(""),ee&&w.push(ee)}return["`",u([h,d(h,w)]),h,"`"]}function m(D){let A=[],F=!1,C=D.map(y=>y.trim());for(let[y,E]of C.entries())E!==""&&(C[y-1]===""&&F?A.push([h,E]):A.push(E),F=!0);return A.length===0?null:d(h,A)}g.exports=l}}),Qf=ie({"src/language-js/embed/html.js"(c,g){"use strict";pe();var{builders:{indent:u,line:d,hardline:h,group:s},utils:{mapDoc:o}}=Ft(),{printTemplateExpressions:l,uncookTemplateElementValue:m}=ni(),D=0;function A(F,C,y,E,w){let{parser:$}=w,V=F.getValue(),_=D;D=D+1>>>0;let M=b=>`PRETTIER_HTML_PLACEHOLDER_${b}_${_}_IN_JS`,L=V.quasis.map((b,S,I)=>S===I.length-1?b.value.cooked:b.value.cooked+M(S)).join(""),G=l(F,C);if(G.length===0&&L.trim().length===0)return"``";let U=new RegExp(M("(\\d+)"),"g"),ee=0,v=y(L,{parser:$,__onHtmlRoot(b){ee=b.children.length}},{stripTrailingHardline:!0}),O=o(v,b=>{if(typeof b!="string")return b;let S=[],I=b.split(U);for(let N=0;N<I.length;N++){let R=I[N];if(N%2==0){R&&(R=m(R),E.__embeddedInHtml&&(R=R.replace(/<\/(script)\b/gi,"<\\/$1")),S.push(R));continue}let q=Number(R);S.push(G[q])}return S}),x=/^\s/.test(L)?" ":"",T=/\s$/.test(L)?" ":"",f=E.htmlWhitespaceSensitivity==="ignore"?h:x&&T?d:null;return s(f?["`",u([f,s(O)]),f,"`"]:["`",x,ee>1?u(s(O)):s(O),T,"`"])}g.exports=A}}),Kf=ie({"src/language-js/embed.js"(c,g){"use strict";pe();var{hasComment:u,CommentCheckFlags:d,isObjectProperty:h}=Kt(),s=Xf(),o=zf(),l=Hf(),m=Qf();function D(v){if(C(v)||$(v)||V(v)||y(v))return"css";if(L(v))return"graphql";if(U(v))return"html";if(E(v))return"angular";if(F(v))return"markdown"}function A(v,O,x,T){let f=v.getValue();if(f.type!=="TemplateLiteral"||ee(f))return;let b=D(v);if(b){if(b==="markdown")return s(v,O,x);if(b==="css")return o(v,O,x);if(b==="graphql")return l(v,O,x);if(b==="html"||b==="angular")return m(v,O,x,T,{parser:b})}}function F(v){let O=v.getValue(),x=v.getParentNode();return x&&x.type==="TaggedTemplateExpression"&&O.quasis.length===1&&x.tag.type==="Identifier"&&(x.tag.name==="md"||x.tag.name==="markdown")}function C(v){let O=v.getValue(),x=v.getParentNode(),T=v.getParentNode(1);return T&&O.quasis&&x.type==="JSXExpressionContainer"&&T.type==="JSXElement"&&T.openingElement.name.name==="style"&&T.openingElement.attributes.some(f=>f.name.name==="jsx")||x&&x.type==="TaggedTemplateExpression"&&x.tag.type==="Identifier"&&x.tag.name==="css"||x&&x.type==="TaggedTemplateExpression"&&x.tag.type==="MemberExpression"&&x.tag.object.name==="css"&&(x.tag.property.name==="global"||x.tag.property.name==="resolve")}function y(v){return v.match(O=>O.type==="TemplateLiteral",(O,x)=>O.type==="ArrayExpression"&&x==="elements",(O,x)=>h(O)&&O.key.type==="Identifier"&&O.key.name==="styles"&&x==="value",...w)}function E(v){return v.match(O=>O.type==="TemplateLiteral",(O,x)=>h(O)&&O.key.type==="Identifier"&&O.key.name==="template"&&x==="value",...w)}var w=[(v,O)=>v.type==="ObjectExpression"&&O==="properties",(v,O)=>v.type==="CallExpression"&&v.callee.type==="Identifier"&&v.callee.name==="Component"&&O==="arguments",(v,O)=>v.type==="Decorator"&&O==="expression"];function $(v){let O=v.getParentNode();if(!O||O.type!=="TaggedTemplateExpression")return!1;let x=O.tag.type==="ParenthesizedExpression"?O.tag.expression:O.tag;switch(x.type){case"MemberExpression":return _(x.object)||M(x);case"CallExpression":return _(x.callee)||x.callee.type==="MemberExpression"&&(x.callee.object.type==="MemberExpression"&&(_(x.callee.object.object)||M(x.callee.object))||x.callee.object.type==="CallExpression"&&_(x.callee.object.callee));case"Identifier":return x.name==="css";default:return!1}}function V(v){let O=v.getParentNode(),x=v.getParentNode(1);return x&&O.type==="JSXExpressionContainer"&&x.type==="JSXAttribute"&&x.name.type==="JSXIdentifier"&&x.name.name==="css"}function _(v){return v.type==="Identifier"&&v.name==="styled"}function M(v){return/^[A-Z]/.test(v.object.name)&&v.property.name==="extend"}function L(v){let O=v.getValue(),x=v.getParentNode();return G(O,"GraphQL")||x&&(x.type==="TaggedTemplateExpression"&&(x.tag.type==="MemberExpression"&&x.tag.object.name==="graphql"&&x.tag.property.name==="experimental"||x.tag.type==="Identifier"&&(x.tag.name==="gql"||x.tag.name==="graphql"))||x.type==="CallExpression"&&x.callee.type==="Identifier"&&x.callee.name==="graphql")}function G(v,O){return u(v,d.Block|d.Leading,x=>{let{value:T}=x;return T===` ${O} `})}function U(v){return G(v.getValue(),"HTML")||v.match(O=>O.type==="TemplateLiteral",(O,x)=>O.type==="TaggedTemplateExpression"&&O.tag.type==="Identifier"&&O.tag.name==="html"&&x==="quasi")}function ee(v){let{quasis:O}=v;return O.some(x=>{let{value:{cooked:T}}=x;return T===null})}g.exports=A}}),Zf=ie({"src/language-js/clean.js"(c,g){"use strict";pe();var u=Ln(),d=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),h=o=>{for(let l of o.quasis)delete l.value};function s(o,l,m){if(o.type==="Program"&&delete l.sourceType,(o.type==="BigIntLiteral"||o.type==="BigIntLiteralTypeAnnotation")&&l.value&&(l.value=l.value.toLowerCase()),(o.type==="BigIntLiteral"||o.type==="Literal")&&l.bigint&&(l.bigint=l.bigint.toLowerCase()),o.type==="DecimalLiteral"&&(l.value=Number(l.value)),o.type==="Literal"&&l.decimal&&(l.decimal=Number(l.decimal)),o.type==="EmptyStatement"||o.type==="JSXText"||o.type==="JSXExpressionContainer"&&(o.expression.type==="Literal"||o.expression.type==="StringLiteral")&&o.expression.value===" ")return null;if((o.type==="Property"||o.type==="ObjectProperty"||o.type==="MethodDefinition"||o.type==="ClassProperty"||o.type==="ClassMethod"||o.type==="PropertyDefinition"||o.type==="TSDeclareMethod"||o.type==="TSPropertySignature"||o.type==="ObjectTypeProperty")&&typeof o.key=="object"&&o.key&&(o.key.type==="Literal"||o.key.type==="NumericLiteral"||o.key.type==="StringLiteral"||o.key.type==="Identifier")&&delete l.key,o.type==="JSXElement"&&o.openingElement.name.name==="style"&&o.openingElement.attributes.some(F=>F.name.name==="jsx"))for(let{type:F,expression:C}of l.children)F==="JSXExpressionContainer"&&C.type==="TemplateLiteral"&&h(C);o.type==="JSXAttribute"&&o.name.name==="css"&&o.value.type==="JSXExpressionContainer"&&o.value.expression.type==="TemplateLiteral"&&h(l.value.expression),o.type==="JSXAttribute"&&o.value&&o.value.type==="Literal"&&/["']|"|'/.test(o.value.value)&&(l.value.value=l.value.value.replace(/["']|"|'/g,'"'));let D=o.expression||o.callee;if(o.type==="Decorator"&&D.type==="CallExpression"&&D.callee.name==="Component"&&D.arguments.length===1){let F=o.expression.arguments[0].properties;for(let[C,y]of l.expression.arguments[0].properties.entries())switch(F[C].key.name){case"styles":y.value.type==="ArrayExpression"&&h(y.value.elements[0]);break;case"template":y.value.type==="TemplateLiteral"&&h(y.value);break}}if(o.type==="TaggedTemplateExpression"&&(o.tag.type==="MemberExpression"||o.tag.type==="Identifier"&&(o.tag.name==="gql"||o.tag.name==="graphql"||o.tag.name==="css"||o.tag.name==="md"||o.tag.name==="markdown"||o.tag.name==="html")||o.tag.type==="CallExpression")&&h(l.quasi),o.type==="TemplateLiteral"){var A;(((A=o.leadingComments)===null||A===void 0?void 0:A.some(F=>u(F)&&["GraphQL","HTML"].some(C=>F.value===` ${C} `)))||m.type==="CallExpression"&&m.callee.name==="graphql"||!o.leadingComments)&&h(l)}if(o.type==="InterpreterDirective"&&(l.value=l.value.trimEnd()),(o.type==="TSIntersectionType"||o.type==="TSUnionType")&&o.types.length===1)return l.types[0]}s.ignoredProperties=d,g.exports=s}}),uo={};vt(uo,{EOL:()=>Ru,arch:()=>eh,cpus:()=>ho,default:()=>Eo,endianness:()=>ao,freemem:()=>po,getNetworkInterfaces:()=>Do,hostname:()=>oo,loadavg:()=>lo,networkInterfaces:()=>yo,platform:()=>th,release:()=>go,tmpDir:()=>Lu,tmpdir:()=>Ou,totalmem:()=>fo,type:()=>mo,uptime:()=>co});function ao(){if(typeof Ds>"u"){var c=new ArrayBuffer(2),g=new Uint8Array(c),u=new Uint16Array(c);if(g[0]=1,g[1]=2,u[0]===258)Ds="BE";else if(u[0]===513)Ds="LE";else throw new Error("unable to figure out endianess")}return Ds}function oo(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function lo(){return[]}function co(){return 0}function po(){return Number.MAX_VALUE}function fo(){return Number.MAX_VALUE}function ho(){return[]}function mo(){return"Browser"}function go(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function yo(){}function Do(){}function eh(){return"javascript"}function th(){return"browser"}function Lu(){return"/tmp"}var Ds,Ou,Ru,Eo,rh=ht({"node-modules-polyfills:os"(){pe(),Ou=Lu,Ru=`
|
|
119
|
+
`,Eo={EOL:Ru,tmpdir:Ou,tmpDir:Lu,networkInterfaces:yo,getNetworkInterfaces:Do,release:go,type:mo,cpus:ho,totalmem:fo,freemem:po,uptime:co,loadavg:lo,hostname:oo,endianness:ao}}}),nh=ie({"node-modules-polyfills-commonjs:os"(c,g){pe();var u=(rh(),Ut(uo));if(u&&u.default){g.exports=u.default;for(let d in u)g.exports[d]=u[d]}else u&&(g.exports=u)}}),ih=ie({"node_modules/detect-newline/index.js"(c,g){"use strict";pe();var u=d=>{if(typeof d!="string")throw new TypeError("Expected a string");let h=d.match(/(?:\r?\n)/g)||[];if(h.length===0)return;let s=h.filter(l=>l===`\r
|
|
120
|
+
`).length,o=h.length-s;return s>o?`\r
|
|
121
121
|
`:`
|
|
122
|
-
`};
|
|
123
|
-
`}}),
|
|
124
|
-
`);return
|
|
125
|
-
`:"")+
|
|
122
|
+
`};g.exports=u,g.exports.graceful=d=>typeof d=="string"&&u(d)||`
|
|
123
|
+
`}}),sh=ie({"node_modules/jest-docblock/build/index.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0}),c.extract=y,c.parse=w,c.parseWithComments=$,c.print=V,c.strip=E;function g(){let M=nh();return g=function(){return M},M}function u(){let M=d(ih());return u=function(){return M},M}function d(M){return M&&M.__esModule?M:{default:M}}var h=/\*\/$/,s=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,l=/(^|\s+)\/\/([^\r\n]*)/g,m=/^(\r?\n)+/,D=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,A=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,F=/(\r?\n|^) *\* ?/g,C=[];function y(M){let L=M.match(o);return L?L[0].trimLeft():""}function E(M){let L=M.match(o);return L&&L[0]?M.substring(L[0].length):M}function w(M){return $(M).pragmas}function $(M){let L=(0,u().default)(M)||g().EOL;M=M.replace(s,"").replace(h,"").replace(F,"$1");let G="";for(;G!==M;)G=M,M=M.replace(D,`${L}$1 $2${L}`);M=M.replace(m,"").trimRight();let U=Object.create(null),ee=M.replace(A,"").replace(m,"").trimRight(),v;for(;v=A.exec(M);){let O=v[2].replace(l,"");typeof U[v[1]]=="string"||Array.isArray(U[v[1]])?U[v[1]]=C.concat(U[v[1]],O):U[v[1]]=O}return{comments:ee,pragmas:U}}function V(M){let{comments:L="",pragmas:G={}}=M,U=(0,u().default)(L)||g().EOL,ee="/**",v=" *",O=" */",x=Object.keys(G),T=x.map(b=>_(b,G[b])).reduce((b,S)=>b.concat(S),[]).map(b=>`${v} ${b}${U}`).join("");if(!L){if(x.length===0)return"";if(x.length===1&&!Array.isArray(G[x[0]])){let b=G[x[0]];return`${ee} ${_(x[0],b)[0]}${O}`}}let f=L.split(U).map(b=>`${v} ${b}`).join(U)+U;return ee+U+(L?f:"")+(L&&x.length?v+U:"")+T+O}function _(M,L){return C.concat(L).map(G=>`@${M} ${G}`.trim())}}}),uh=ie({"src/language-js/utils/get-shebang.js"(c,g){"use strict";pe();function u(d){if(!d.startsWith("#!"))return"";let h=d.indexOf(`
|
|
124
|
+
`);return h===-1?d:d.slice(0,h)}g.exports=u}}),xo=ie({"src/language-js/pragma.js"(c,g){"use strict";pe();var{parseWithComments:u,strip:d,extract:h,print:s}=sh(),{normalizeEndOfLine:o}=le(),l=uh();function m(F){let C=l(F);C&&(F=F.slice(C.length+1));let y=h(F),{pragmas:E,comments:w}=u(y);return{shebang:C,text:F,pragmas:E,comments:w}}function D(F){let C=Object.keys(m(F).pragmas);return C.includes("prettier")||C.includes("format")}function A(F){let{shebang:C,text:y,pragmas:E,comments:w}=m(F),$=d(y),V=s({pragmas:Object.assign({format:""},E),comments:w.trimStart()});return(C?`${C}
|
|
125
|
+
`:"")+o(V)+($.startsWith(`
|
|
126
126
|
`)?`
|
|
127
127
|
`:`
|
|
128
128
|
|
|
129
|
-
`)+j}h.exports={hasPragma:m,insertPragma:x}}}),fd=re({"src/language-js/utils/is-type-cast-comment.js"(l,h){"use strict";ce();var s=Cn();function f(p){return s(p)&&p.value[0]==="*"&&/@(?:type|satisfies)\b/.test(p.value)}h.exports=f}}),xo=re({"src/language-js/comments.js"(l,h){"use strict";ce();var{getLast:s,hasNewline:f,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:p,getNextNonSpaceNonCommentCharacter:i,hasNewlineInRange:a,addLeadingComment:o,addTrailingComment:d,addDanglingComment:m,getNextNonSpaceNonCommentCharacterIndex:x,isNonEmptyArray:A}=Bt(),{getFunctionParameters:b,isPrettierIgnoreComment:g,isJsxNode:y,hasFlowShorthandAnnotationComment:F,hasFlowAnnotationComment:j,hasIgnoreComment:R,isCallLikeExpression:w,getCallArguments:L,isCallExpression:B,isMemberExpression:$,isObjectProperty:M,isLineComment:K,getComments:E,CommentCheckFlags:N,markerForIfWithoutBlockAndSameLineComment:D}=Yt(),{locStart:T,locEnd:c}=br(),C=Cn(),S=fd();function P(_e){return[ee,ze,de,X,ne,G,Ee,Ve,ye,je,st,At,Pe,pe,te].some(k=>k(_e))}function _(_e){return[Q,ze,H,st,X,ne,G,Ee,pe,ge,Ne,je,ct,te,le].some(k=>k(_e))}function I(_e){return[ee,X,ne,W,we,Pe,je,Te,ue,ke,te,xe].some(k=>k(_e))}function U(_e,k){let ie=(_e.body||_e.properties).find(ve=>{let{type:Me}=ve;return Me!=="EmptyStatement"});ie?o(ie,k):m(_e,k)}function z(_e,k){_e.type==="BlockStatement"?U(_e,k):o(_e,k)}function Q(_e){let{comment:k,followingNode:ie}=_e;return ie&&S(k)?(o(ie,k),!0):!1}function X(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me,text:Ge}=_e;if((ve==null?void 0:ve.type)!=="IfStatement"||!Me)return!1;if(i(Ge,k,c)===")")return d(ie,k),!0;if(ie===ve.consequent&&Me===ve.alternate){if(ie.type==="BlockStatement")d(ie,k);else{let nt=k.type==="SingleLine"||k.loc.start.line===k.loc.end.line,Ue=k.loc.start.line===ie.loc.start.line;nt&&Ue?m(ie,k,D):m(ve,k)}return!0}return Me.type==="BlockStatement"?(U(Me,k),!0):Me.type==="IfStatement"?(z(Me.consequent,k),!0):ve.consequent===Me?(o(Me,k),!0):!1}function ne(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me,text:Ge}=_e;return(ve==null?void 0:ve.type)!=="WhileStatement"||!Me?!1:i(Ge,k,c)===")"?(d(ie,k),!0):Me.type==="BlockStatement"?(U(Me,k),!0):ve.body===Me?(o(Me,k),!0):!1}function G(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me}=_e;return(ve==null?void 0:ve.type)!=="TryStatement"&&(ve==null?void 0:ve.type)!=="CatchClause"||!Me?!1:ve.type==="CatchClause"&&ie?(d(ie,k),!0):Me.type==="BlockStatement"?(U(Me,k),!0):Me.type==="TryStatement"?(z(Me.finalizer,k),!0):Me.type==="CatchClause"?(z(Me.body,k),!0):!1}function de(_e){let{comment:k,enclosingNode:ie,followingNode:ve}=_e;return $(ie)&&(ve==null?void 0:ve.type)==="Identifier"?(o(ie,k),!0):!1}function H(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me,text:Ge}=_e,nt=ie&&!a(Ge,c(ie),T(k));return(!ie||!nt)&&((ve==null?void 0:ve.type)==="ConditionalExpression"||(ve==null?void 0:ve.type)==="TSConditionalType")&&Me?(o(Me,k),!0):!1}function W(_e){let{comment:k,precedingNode:ie,enclosingNode:ve}=_e;return M(ve)&&ve.shorthand&&ve.key===ie&&ve.value.type==="AssignmentPattern"?(d(ve.value.left,k),!0):!1}var fe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Ee(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me}=_e;if(fe.has(ve==null?void 0:ve.type)){if(A(ve.decorators)&&!(Me&&Me.type==="Decorator"))return d(s(ve.decorators),k),!0;if(ve.body&&Me===ve.body)return U(ve.body,k),!0;if(Me){if(ve.superClass&&Me===ve.superClass&&ie&&(ie===ve.id||ie===ve.typeParameters))return d(ie,k),!0;for(let Ge of["implements","extends","mixins"])if(ve[Ge]&&Me===ve[Ge][0])return ie&&(ie===ve.id||ie===ve.typeParameters||ie===ve.superClass)?d(ie,k):m(ve,k,Ge),!0}}return!1}var he=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Pe(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,text:Me}=_e;return ve&&ie&&i(Me,k,c)==="("&&(ve.type==="Property"||ve.type==="TSDeclareMethod"||ve.type==="TSAbstractMethodDefinition")&&ie.type==="Identifier"&&ve.key===ie&&i(Me,ie,c)!==":"||(ie==null?void 0:ie.type)==="Decorator"&&he.has(ve==null?void 0:ve.type)?(d(ie,k),!0):!1}var Z=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function ue(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,text:Me}=_e;return i(Me,k,c)!=="("?!1:ie&&Z.has(ve==null?void 0:ve.type)?(d(ie,k),!0):!1}function Te(_e){let{comment:k,enclosingNode:ie,text:ve}=_e;if((ie==null?void 0:ie.type)!=="ArrowFunctionExpression")return!1;let Me=x(ve,k,c);return Me!==!1&&ve.slice(Me,Me+2)==="=>"?(m(ie,k),!0):!1}function we(_e){let{comment:k,enclosingNode:ie,text:ve}=_e;return i(ve,k,c)!==")"?!1:ie&&(Fe(ie)&&b(ie).length===0||w(ie)&&L(ie).length===0)?(m(ie,k),!0):((ie==null?void 0:ie.type)==="MethodDefinition"||(ie==null?void 0:ie.type)==="TSAbstractMethodDefinition")&&b(ie.value).length===0?(m(ie.value,k),!0):!1}function ze(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me,text:Ge}=_e;if((ie==null?void 0:ie.type)==="FunctionTypeParam"&&(ve==null?void 0:ve.type)==="FunctionTypeAnnotation"&&(Me==null?void 0:Me.type)!=="FunctionTypeParam"||((ie==null?void 0:ie.type)==="Identifier"||(ie==null?void 0:ie.type)==="AssignmentPattern")&&ve&&Fe(ve)&&i(Ge,k,c)===")")return d(ie,k),!0;if((ve==null?void 0:ve.type)==="FunctionDeclaration"&&(Me==null?void 0:Me.type)==="BlockStatement"){let nt=(()=>{let Ue=b(ve);if(Ue.length>0)return p(Ge,c(s(Ue)));let nr=p(Ge,c(ve.id));return nr!==!1&&p(Ge,nr+1)})();if(T(k)>nt)return U(Me,k),!0}return!1}function pe(_e){let{comment:k,enclosingNode:ie}=_e;return(ie==null?void 0:ie.type)==="LabeledStatement"?(o(ie,k),!0):!1}function te(_e){let{comment:k,enclosingNode:ie}=_e;return((ie==null?void 0:ie.type)==="ContinueStatement"||(ie==null?void 0:ie.type)==="BreakStatement")&&!ie.label?(d(ie,k),!0):!1}function ge(_e){let{comment:k,precedingNode:ie,enclosingNode:ve}=_e;return B(ve)&&ie&&ve.callee===ie&&ve.arguments.length>0?(o(ve.arguments[0],k),!0):!1}function ye(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me}=_e;return(ve==null?void 0:ve.type)==="UnionTypeAnnotation"||(ve==null?void 0:ve.type)==="TSUnionType"?(g(k)&&(Me.prettierIgnore=!0,k.unignore=!0),ie?(d(ie,k),!0):!1):(((Me==null?void 0:Me.type)==="UnionTypeAnnotation"||(Me==null?void 0:Me.type)==="TSUnionType")&&g(k)&&(Me.types[0].prettierIgnore=!0,k.unignore=!0),!1)}function Ne(_e){let{comment:k,enclosingNode:ie}=_e;return M(ie)?(o(ie,k),!0):!1}function je(_e){let{comment:k,enclosingNode:ie,followingNode:ve,ast:Me,isLastComment:Ge}=_e;return Me&&Me.body&&Me.body.length===0?(Ge?m(Me,k):o(Me,k),!0):(ie==null?void 0:ie.type)==="Program"&&(ie==null?void 0:ie.body.length)===0&&!A(ie.directives)?(Ge?m(ie,k):o(ie,k),!0):(ve==null?void 0:ve.type)==="Program"&&(ve==null?void 0:ve.body.length)===0&&(ie==null?void 0:ie.type)==="ModuleExpression"?(m(ve,k),!0):!1}function Ve(_e){let{comment:k,enclosingNode:ie}=_e;return(ie==null?void 0:ie.type)==="ForInStatement"||(ie==null?void 0:ie.type)==="ForOfStatement"?(o(ie,k),!0):!1}function st(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,text:Me}=_e;if((ve==null?void 0:ve.type)==="ImportSpecifier"||(ve==null?void 0:ve.type)==="ExportSpecifier")return o(ve,k),!0;let Ge=(ie==null?void 0:ie.type)==="ImportSpecifier"&&(ve==null?void 0:ve.type)==="ImportDeclaration",nt=(ie==null?void 0:ie.type)==="ExportSpecifier"&&(ve==null?void 0:ve.type)==="ExportNamedDeclaration";return(Ge||nt)&&f(Me,c(k))?(d(ie,k),!0):!1}function At(_e){let{comment:k,enclosingNode:ie}=_e;return(ie==null?void 0:ie.type)==="AssignmentPattern"?(o(ie,k),!0):!1}var Et=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),it=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ct(_e){let{comment:k,enclosingNode:ie,followingNode:ve}=_e;return Et.has(ie==null?void 0:ie.type)&&ve&&(it.has(ve.type)||C(k))?(o(ve,k),!0):!1}function xe(_e){let{comment:k,enclosingNode:ie,followingNode:ve,text:Me}=_e;return!ve&&((ie==null?void 0:ie.type)==="TSMethodSignature"||(ie==null?void 0:ie.type)==="TSDeclareFunction"||(ie==null?void 0:ie.type)==="TSAbstractMethodDefinition")&&i(Me,k,c)===";"?(d(ie,k),!0):!1}function ee(_e){let{comment:k,enclosingNode:ie,followingNode:ve}=_e;if(g(k)&&(ie==null?void 0:ie.type)==="TSMappedType"&&(ve==null?void 0:ve.type)==="TSTypeParameter"&&ve.constraint)return ie.prettierIgnore=!0,k.unignore=!0,!0}function ke(_e){let{comment:k,precedingNode:ie,enclosingNode:ve,followingNode:Me}=_e;return(ve==null?void 0:ve.type)!=="TSMappedType"?!1:(Me==null?void 0:Me.type)==="TSTypeParameter"&&Me.name?(o(Me.name,k),!0):(ie==null?void 0:ie.type)==="TSTypeParameter"&&ie.constraint?(d(ie.constraint,k),!0):!1}function le(_e){let{comment:k,enclosingNode:ie,followingNode:ve}=_e;return!ie||ie.type!=="SwitchCase"||ie.test||!ve||ve!==ie.consequent[0]?!1:(ve.type==="BlockStatement"&&K(k)?U(ve,k):m(ie,k),!0)}function Fe(_e){return _e.type==="ArrowFunctionExpression"||_e.type==="FunctionExpression"||_e.type==="FunctionDeclaration"||_e.type==="ObjectMethod"||_e.type==="ClassMethod"||_e.type==="TSDeclareFunction"||_e.type==="TSCallSignatureDeclaration"||_e.type==="TSConstructSignatureDeclaration"||_e.type==="TSMethodSignature"||_e.type==="TSConstructorType"||_e.type==="TSFunctionType"||_e.type==="TSDeclareMethod"}function Qe(_e,k){if((k.parser==="typescript"||k.parser==="flow"||k.parser==="acorn"||k.parser==="espree"||k.parser==="meriyah"||k.parser==="__babel_estree")&&_e.type==="MethodDefinition"&&_e.value&&_e.value.type==="FunctionExpression"&&b(_e.value).length===0&&!_e.value.returnType&&!A(_e.value.typeParameters)&&_e.value.body)return[..._e.decorators||[],_e.key,_e.value.body]}function We(_e){let k=_e.getValue(),ie=_e.getParentNode(),ve=Me=>j(E(Me,N.Leading))||j(E(Me,N.Trailing));return(k&&(y(k)||F(k)||B(ie)&&ve(k))||ie&&(ie.type==="JSXSpreadAttribute"||ie.type==="JSXSpreadChild"||ie.type==="UnionTypeAnnotation"||ie.type==="TSUnionType"||(ie.type==="ClassDeclaration"||ie.type==="ClassExpression")&&ie.superClass===k))&&(!R(_e)||ie.type==="UnionTypeAnnotation"||ie.type==="TSUnionType")}h.exports={handleOwnLineComment:P,handleEndOfLineComment:_,handleRemainingComment:I,getCommentChildNodes:Qe,willPrintOwnComments:We}}}),Vn=re({"src/language-js/needs-parens.js"(l,h){"use strict";ce();var s=Be(),f=Eu(),{getFunctionParameters:p,getLeftSidePathName:i,hasFlowShorthandAnnotationComment:a,hasNakedLeftSide:o,hasNode:d,isBitwiseOperator:m,startsWithNoLookaheadToken:x,shouldFlatten:A,getPrecedence:b,isCallExpression:g,isMemberExpression:y,isObjectProperty:F,isTSTypeExpression:j}=Yt();function R(E,N){let D=E.getParentNode();if(!D)return!1;let T=E.getName(),c=E.getNode();if(N.__isInHtmlInterpolation&&!N.bracketSpacing&&$(c)&&M(E))return!0;if(w(c))return!1;if(N.parser!=="flow"&&a(E.getValue()))return!0;if(c.type==="Identifier"){if(c.extra&&c.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(c.name)||T==="left"&&(c.name==="async"&&!D.await||c.name==="let")&&D.type==="ForOfStatement")return!0;if(c.name==="let"){var C;let P=(C=E.findAncestor(_=>_.type==="ForOfStatement"))===null||C===void 0?void 0:C.left;if(P&&x(P,_=>_===c))return!0}if(T==="object"&&c.name==="let"&&D.type==="MemberExpression"&&D.computed&&!D.optional){let P=E.findAncestor(I=>I.type==="ExpressionStatement"||I.type==="ForStatement"||I.type==="ForInStatement"),_=P?P.type==="ExpressionStatement"?P.expression:P.type==="ForStatement"?P.init:P.left:void 0;if(_&&x(_,I=>I===c))return!0}return!1}if(c.type==="ObjectExpression"||c.type==="FunctionExpression"||c.type==="ClassExpression"||c.type==="DoExpression"){var S;let P=(S=E.findAncestor(_=>_.type==="ExpressionStatement"))===null||S===void 0?void 0:S.expression;if(P&&x(P,_=>_===c))return!0}switch(D.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(T==="superClass"&&(c.type==="ArrowFunctionExpression"||c.type==="AssignmentExpression"||c.type==="AwaitExpression"||c.type==="BinaryExpression"||c.type==="ConditionalExpression"||c.type==="LogicalExpression"||c.type==="NewExpression"||c.type==="ObjectExpression"||c.type==="SequenceExpression"||c.type==="TaggedTemplateExpression"||c.type==="UnaryExpression"||c.type==="UpdateExpression"||c.type==="YieldExpression"||c.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return K(E,N)||c.type==="SequenceExpression";case"Decorator":{if(T==="expression"){if(y(c)&&c.computed)return!0;let P=!1,_=!1,I=c;for(;I;)switch(I.type){case"MemberExpression":_=!0,I=I.object;break;case"CallExpression":if(_||P)return N.parser!=="typescript";P=!0,I=I.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return N.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(T==="body"&&c.type!=="SequenceExpression"&&x(c,P=>P.type==="ObjectExpression"))return!0;break}}switch(c.type){case"UpdateExpression":if(D.type==="UnaryExpression")return c.prefix&&(c.operator==="++"&&D.operator==="+"||c.operator==="--"&&D.operator==="-");case"UnaryExpression":switch(D.type){case"UnaryExpression":return c.operator===D.operator&&(c.operator==="+"||c.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"BinaryExpression":return T==="left"&&D.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(D.type==="UpdateExpression"||c.operator==="in"&&L(E))return!0;if(c.operator==="|>"&&c.extra&&c.extra.parenthesized){let P=E.getParentNode(1);if(P.type==="BinaryExpression"&&P.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(D.type){case"TSSatisfiesExpression":case"TSAsExpression":return!j(c);case"ConditionalExpression":return j(c);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return T==="callee";case"ClassExpression":case"ClassDeclaration":return T==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"AssignmentExpression":case"AssignmentPattern":return T==="left"&&(c.type==="TSTypeAssertion"||j(c));case"LogicalExpression":if(c.type==="LogicalExpression")return D.operator!==c.operator;case"BinaryExpression":{let{operator:P,type:_}=c;if(!P&&_!=="TSTypeAssertion")return!0;let I=b(P),U=D.operator,z=b(U);return z>I||T==="right"&&z===I||z===I&&!A(U,P)?!0:z<I&&P==="%"?U==="+"||U==="-":!!m(U)}default:return!1}case"SequenceExpression":switch(D.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return T!=="expression";case"ArrowFunctionExpression":return T!=="body";default:return!0}case"YieldExpression":if(D.type==="UnaryExpression"||D.type==="AwaitExpression"||j(D)||D.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(D.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"ConditionalExpression":return T==="test";case"BinaryExpression":return!(!c.argument&&D.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(T==="extendsType"&&D.type==="TSConditionalType"){if(c.type==="TSConditionalType")return!0;let{typeAnnotation:P}=c.returnType||c.typeAnnotation;if(P.type==="TSTypePredicate"&&P.typeAnnotation&&(P=P.typeAnnotation.typeAnnotation),P.type==="TSInferType"&&P.typeParameter.constraint)return!0}if(T==="checkType"&&D.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((D.type==="TSUnionType"||D.type==="TSIntersectionType")&&D.types.length>1&&(!c.types||c.types.length>1))return!0;case"TSInferType":if(c.type==="TSInferType"&&D.type==="TSRestType")return!1;case"TSTypeOperator":return D.type==="TSArrayType"||D.type==="TSOptionalType"||D.type==="TSRestType"||T==="objectType"&&D.type==="TSIndexedAccessType"||D.type==="TSTypeOperator"||D.type==="TSTypeAnnotation"&&E.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return T==="objectType"&&D.type==="TSIndexedAccessType"||T==="elementType"&&D.type==="TSArrayType";case"TypeofTypeAnnotation":return T==="objectType"&&(D.type==="IndexedAccessType"||D.type==="OptionalIndexedAccessType")||T==="elementType"&&D.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return D.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return D.type==="ArrayTypeAnnotation"||D.type==="NullableTypeAnnotation"||D.type==="IntersectionTypeAnnotation"||D.type==="UnionTypeAnnotation"||T==="objectType"&&(D.type==="IndexedAccessType"||D.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return D.type==="ArrayTypeAnnotation"||T==="objectType"&&(D.type==="IndexedAccessType"||D.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let P=D.type==="NullableTypeAnnotation"?E.getParentNode(1):D;return P.type==="UnionTypeAnnotation"||P.type==="IntersectionTypeAnnotation"||P.type==="ArrayTypeAnnotation"||T==="objectType"&&(P.type==="IndexedAccessType"||P.type==="OptionalIndexedAccessType")||P.type==="NullableTypeAnnotation"||D.type==="FunctionTypeParam"&&D.name===null&&p(c).some(_=>_.typeAnnotation&&_.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return T==="objectType"&&D.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof c.value=="string"&&D.type==="ExpressionStatement"&&!D.directive){let P=E.getParentNode(1);return P.type==="Program"||P.type==="BlockStatement"}return T==="object"&&D.type==="MemberExpression"&&typeof c.value=="number";case"AssignmentExpression":{let P=E.getParentNode(1);return T==="body"&&D.type==="ArrowFunctionExpression"?!0:T==="key"&&(D.type==="ClassProperty"||D.type==="PropertyDefinition")&&D.computed||(T==="init"||T==="update")&&D.type==="ForStatement"?!1:D.type==="ExpressionStatement"?c.left.type==="ObjectPattern":!(T==="key"&&D.type==="TSPropertySignature"||D.type==="AssignmentExpression"||D.type==="SequenceExpression"&&P&&P.type==="ForStatement"&&(P.init===D||P.update===D)||T==="value"&&D.type==="Property"&&P&&P.type==="ObjectPattern"&&P.properties.includes(D)||D.type==="NGChainedExpression")}case"ConditionalExpression":switch(D.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"ConditionalExpression":return T==="test";case"MemberExpression":case"OptionalMemberExpression":return T==="object";default:return!1}case"FunctionExpression":switch(D.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(D.type){case"BinaryExpression":return D.operator!=="|>"||c.extra&&c.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return T==="test";default:return!1}case"ClassExpression":if(f(c.decorators))return!0;switch(D.type){case"NewExpression":return T==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let P=E.getParentNode(1);if(T==="object"&&D.type==="MemberExpression"||T==="callee"&&(D.type==="CallExpression"||D.type==="NewExpression")||D.type==="TSNonNullExpression"&&P.type==="MemberExpression"&&P.object===D)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(T==="callee"&&(D.type==="BindExpression"||D.type==="NewExpression")){let P=c;for(;P;)switch(P.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":P=P.object;break;case"TaggedTemplateExpression":P=P.tag;break;case"TSNonNullExpression":P=P.expression;break;default:return!1}}return!1;case"BindExpression":return T==="callee"&&(D.type==="BindExpression"||D.type==="NewExpression")||T==="object"&&y(D);case"NGPipeExpression":return!(D.type==="NGRoot"||D.type==="NGMicrosyntaxExpression"||D.type==="ObjectProperty"&&!(c.extra&&c.extra.parenthesized)||D.type==="ArrayExpression"||g(D)&&D.arguments[T]===c||T==="right"&&D.type==="NGPipeExpression"||T==="property"&&D.type==="MemberExpression"||D.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return T==="callee"||T==="left"&&D.type==="BinaryExpression"&&D.operator==="<"||D.type!=="ArrayExpression"&&D.type!=="ArrowFunctionExpression"&&D.type!=="AssignmentExpression"&&D.type!=="AssignmentPattern"&&D.type!=="BinaryExpression"&&D.type!=="NewExpression"&&D.type!=="ConditionalExpression"&&D.type!=="ExpressionStatement"&&D.type!=="JsExpressionRoot"&&D.type!=="JSXAttribute"&&D.type!=="JSXElement"&&D.type!=="JSXExpressionContainer"&&D.type!=="JSXFragment"&&D.type!=="LogicalExpression"&&!g(D)&&!F(D)&&D.type!=="ReturnStatement"&&D.type!=="ThrowStatement"&&D.type!=="TypeCastExpression"&&D.type!=="VariableDeclarator"&&D.type!=="YieldExpression";case"TypeAnnotation":return T==="returnType"&&D.type==="ArrowFunctionExpression"&&B(c)}return!1}function w(E){return E.type==="BlockStatement"||E.type==="BreakStatement"||E.type==="ClassBody"||E.type==="ClassDeclaration"||E.type==="ClassMethod"||E.type==="ClassProperty"||E.type==="PropertyDefinition"||E.type==="ClassPrivateProperty"||E.type==="ContinueStatement"||E.type==="DebuggerStatement"||E.type==="DeclareClass"||E.type==="DeclareExportAllDeclaration"||E.type==="DeclareExportDeclaration"||E.type==="DeclareFunction"||E.type==="DeclareInterface"||E.type==="DeclareModule"||E.type==="DeclareModuleExports"||E.type==="DeclareVariable"||E.type==="DoWhileStatement"||E.type==="EnumDeclaration"||E.type==="ExportAllDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExpressionStatement"||E.type==="ForInStatement"||E.type==="ForOfStatement"||E.type==="ForStatement"||E.type==="FunctionDeclaration"||E.type==="IfStatement"||E.type==="ImportDeclaration"||E.type==="InterfaceDeclaration"||E.type==="LabeledStatement"||E.type==="MethodDefinition"||E.type==="ReturnStatement"||E.type==="SwitchStatement"||E.type==="ThrowStatement"||E.type==="TryStatement"||E.type==="TSDeclareFunction"||E.type==="TSEnumDeclaration"||E.type==="TSImportEqualsDeclaration"||E.type==="TSInterfaceDeclaration"||E.type==="TSModuleDeclaration"||E.type==="TSNamespaceExportDeclaration"||E.type==="TypeAlias"||E.type==="VariableDeclaration"||E.type==="WhileStatement"||E.type==="WithStatement"}function L(E){let N=0,D=E.getValue();for(;D;){let T=E.getParentNode(N++);if(T&&T.type==="ForStatement"&&T.init===D)return!0;D=T}return!1}function B(E){return d(E,N=>N.type==="ObjectTypeAnnotation"&&d(N,D=>D.type==="FunctionTypeAnnotation"||void 0)||void 0)}function $(E){switch(E.type){case"ObjectExpression":return!0;default:return!1}}function M(E){let N=E.getValue(),D=E.getParentNode(),T=E.getName();switch(D.type){case"NGPipeExpression":if(typeof T=="number"&&D.arguments[T]===N&&D.arguments.length-1===T)return E.callParent(M);break;case"ObjectProperty":if(T==="value"){let c=E.getParentNode(1);return s(c.properties)===D}break;case"BinaryExpression":case"LogicalExpression":if(T==="right")return E.callParent(M);break;case"ConditionalExpression":if(T==="alternate")return E.callParent(M);break;case"UnaryExpression":if(D.prefix)return E.callParent(M);break}return!1}function K(E,N){let D=E.getValue(),T=E.getParentNode();return D.type==="FunctionExpression"||D.type==="ClassExpression"?T.type==="ExportDefaultDeclaration"||!R(E,N):!o(D)||T.type!=="ExportDefaultDeclaration"&&R(E,N)?!1:E.call(c=>K(c,N),...i(E,D))}h.exports=R}}),Ao=re({"src/language-js/print-preprocess.js"(l,h){"use strict";ce();function s(f,p){switch(p.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},f),{},{type:p.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:f,comments:[],rootMarker:p.rootMarker});default:return f}}h.exports=s}}),dd=re({"src/language-js/print/html-binding.js"(l,h){"use strict";ce();var{builders:{join:s,line:f,group:p,softline:i,indent:a}}=yt();function o(m,x,A){let b=m.getValue();if(x.__onHtmlBindingRoot&&m.getName()===null&&x.__onHtmlBindingRoot(b,x),b.type==="File"){if(x.__isVueForBindingLeft)return m.call(g=>{let y=s([",",f],g.map(A,"params")),{params:F}=g.getValue();return F.length===1?y:["(",a([i,p(y)]),i,")"]},"program","body",0);if(x.__isVueBindings)return m.call(g=>s([",",f],g.map(A,"params")),"program","body",0)}}function d(m){switch(m.type){case"MemberExpression":switch(m.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return d(m.object)}return!1;case"Identifier":return!0;default:return!1}}h.exports={isVueEventBindingExpression:d,printHtmlBinding:o}}}),_u=re({"src/language-js/print/binaryish.js"(l,h){"use strict";ce();var{printComments:s}=pr(),{getLast:f}=Bt(),{builders:{join:p,line:i,softline:a,group:o,indent:d,align:m,indentIfBreak:x},utils:{cleanDoc:A,getDocParts:b,isConcat:g}}=yt(),{hasLeadingOwnLineComment:y,isBinaryish:F,isJsxNode:j,shouldFlatten:R,hasComment:w,CommentCheckFlags:L,isCallExpression:B,isMemberExpression:$,isObjectProperty:M,isEnabledHackPipeline:K}=Yt(),E=0;function N(c,C,S){let P=c.getValue(),_=c.getParentNode(),I=c.getParentNode(1),U=P!==_.body&&(_.type==="IfStatement"||_.type==="WhileStatement"||_.type==="SwitchStatement"||_.type==="DoWhileStatement"),z=K(C)&&P.operator==="|>",Q=D(c,S,C,!1,U);if(U)return Q;if(z)return o(Q);if(B(_)&&_.callee===P||_.type==="UnaryExpression"||$(_)&&!_.computed)return o([d([a,...Q]),a]);let X=_.type==="ReturnStatement"||_.type==="ThrowStatement"||_.type==="JSXExpressionContainer"&&I.type==="JSXAttribute"||P.operator!=="|"&&_.type==="JsExpressionRoot"||P.type!=="NGPipeExpression"&&(_.type==="NGRoot"&&C.parser==="__ng_binding"||_.type==="NGMicrosyntaxExpression"&&I.type==="NGMicrosyntax"&&I.body.length===1)||P===_.body&&_.type==="ArrowFunctionExpression"||P!==_.body&&_.type==="ForStatement"||_.type==="ConditionalExpression"&&I.type!=="ReturnStatement"&&I.type!=="ThrowStatement"&&!B(I)||_.type==="TemplateLiteral",ne=_.type==="AssignmentExpression"||_.type==="VariableDeclarator"||_.type==="ClassProperty"||_.type==="PropertyDefinition"||_.type==="TSAbstractPropertyDefinition"||_.type==="ClassPrivateProperty"||M(_),G=F(P.left)&&R(P.operator,P.left.operator);if(X||T(P)&&!G||!T(P)&&ne)return o(Q);if(Q.length===0)return"";let de=j(P.right),H=Q.findIndex(Z=>typeof Z!="string"&&!Array.isArray(Z)&&Z.type==="group"),W=Q.slice(0,H===-1?1:H+1),fe=Q.slice(W.length,de?-1:void 0),Ee=Symbol("logicalChain-"+ ++E),he=o([...W,d(fe)],{id:Ee});if(!de)return he;let Pe=f(Q);return o([he,x(Pe,{groupId:Ee})])}function D(c,C,S,P,_){let I=c.getValue();if(!F(I))return[o(C())];let U=[];R(I.operator,I.left.operator)?U=c.call(fe=>D(fe,C,S,!0,_),"left"):U.push(o(C("left")));let z=T(I),Q=(I.operator==="|>"||I.type==="NGPipeExpression"||I.operator==="|"&&S.parser==="__vue_expression")&&!y(S.originalText,I.right),X=I.type==="NGPipeExpression"?"|":I.operator,ne=I.type==="NGPipeExpression"&&I.arguments.length>0?o(d([i,": ",p([i,": "],c.map(C,"arguments").map(fe=>m(2,o(fe))))])):"",G;if(z)G=[X," ",C("right"),ne];else{let fe=K(S)&&X==="|>"?c.call(Ee=>D(Ee,C,S,!0,_),"right"):C("right");G=[Q?i:"",X,Q?" ":i,fe,ne]}let de=c.getParentNode(),H=w(I.left,L.Trailing|L.Line),W=H||!(_&&I.type==="LogicalExpression")&&de.type!==I.type&&I.left.type!==I.type&&I.right.type!==I.type;if(U.push(Q?"":" ",W?o(G,{shouldBreak:H}):G),P&&w(I)){let fe=A(s(c,U,S));return g(fe)||fe.type==="fill"?b(fe):[fe]}return U}function T(c){return c.type!=="LogicalExpression"?!1:!!(c.right.type==="ObjectExpression"&&c.right.properties.length>0||c.right.type==="ArrayExpression"&&c.right.elements.length>0||j(c.right))}h.exports={printBinaryishExpression:N,shouldInlineLogicalExpression:T}}}),hd=re({"src/language-js/print/angular.js"(l,h){"use strict";ce();var{builders:{join:s,line:f,group:p}}=yt(),{hasNode:i,hasComment:a,getComments:o}=Yt(),{printBinaryishExpression:d}=_u();function m(b,g,y){let F=b.getValue();if(F.type.startsWith("NG"))switch(F.type){case"NGRoot":return[y("node"),a(F.node)?" //"+o(F.node)[0].value.trimEnd():""];case"NGPipeExpression":return d(b,g,y);case"NGChainedExpression":return p(s([";",f],b.map(j=>A(j)?y():["(",y(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[F.prefix,": ",F.value.trim()];case"NGMicrosyntax":return b.map((j,R)=>[R===0?"":x(j.getValue(),R,F)?" ":[";",f],y()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(F.name)?F.name:JSON.stringify(F.name);case"NGMicrosyntaxExpression":return[y("expression"),F.alias===null?"":[" as ",y("alias")]];case"NGMicrosyntaxKeyedExpression":{let j=b.getName(),R=b.getParentNode(),w=x(F,j,R)||(j===1&&(F.key.name==="then"||F.key.name==="else")||j===2&&F.key.name==="else"&&R.body[j-1].type==="NGMicrosyntaxKeyedExpression"&&R.body[j-1].key.name==="then")&&R.body[0].type==="NGMicrosyntaxExpression";return[y("key"),w?" ":": ",y("expression")]}case"NGMicrosyntaxLet":return["let ",y("key"),F.value===null?"":[" = ",y("value")]];case"NGMicrosyntaxAs":return[y("key")," as ",y("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(F.type)}.`)}}function x(b,g,y){return b.type==="NGMicrosyntaxKeyedExpression"&&b.key.name==="of"&&g===1&&y.body[0].type==="NGMicrosyntaxLet"&&y.body[0].value===null}function A(b){return i(b.getValue(),g=>{switch(g.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}h.exports={printAngular:m}}}),gd=re({"src/language-js/print/jsx.js"(l,h){"use strict";ce();var{printComments:s,printDanglingComments:f,printCommentsSeparately:p}=pr(),{builders:{line:i,hardline:a,softline:o,group:d,indent:m,conditionalGroup:x,fill:A,ifBreak:b,lineSuffixBoundary:g,join:y},utils:{willBreak:F}}=yt(),{getLast:j,getPreferredQuote:R}=Bt(),{isJsxNode:w,rawText:L,isCallExpression:B,isStringLiteral:$,isBinaryish:M,hasComment:K,CommentCheckFlags:E,hasNodeIgnoreComment:N}=Yt(),D=Vn(),{willPrintOwnComments:T}=xo(),c=te=>te===""||te===i||te===a||te===o;function C(te,ge,ye){let Ne=te.getValue();if(Ne.type==="JSXElement"&&Te(Ne))return[ye("openingElement"),ye("closingElement")];let je=Ne.type==="JSXElement"?ye("openingElement"):ye("openingFragment"),Ve=Ne.type==="JSXElement"?ye("closingElement"):ye("closingFragment");if(Ne.children.length===1&&Ne.children[0].type==="JSXExpressionContainer"&&(Ne.children[0].expression.type==="TemplateLiteral"||Ne.children[0].expression.type==="TaggedTemplateExpression"))return[je,...te.map(ye,"children"),Ve];Ne.children=Ne.children.map(k=>ze(k)?{type:"JSXText",value:" ",raw:" "}:k);let st=Ne.children.some(w),At=Ne.children.filter(k=>k.type==="JSXExpressionContainer").length>1,Et=Ne.type==="JSXElement"&&Ne.openingElement.attributes.length>1,it=F(je)||st||Et||At,ct=te.getParentNode().rootMarker==="mdx",xe=ge.singleQuote?"{' '}":'{" "}',ee=ct?" ":b([xe,o]," "),ke=Ne.openingElement&&Ne.openingElement.name&&Ne.openingElement.name.name==="fbt",le=S(te,ge,ye,ee,ke),Fe=Ne.children.some(k=>we(k));for(let k=le.length-2;k>=0;k--){let ie=le[k]===""&&le[k+1]==="",ve=le[k]===a&&le[k+1]===""&&le[k+2]===a,Me=(le[k]===o||le[k]===a)&&le[k+1]===""&&le[k+2]===ee,Ge=le[k]===ee&&le[k+1]===""&&(le[k+2]===o||le[k+2]===a),nt=le[k]===ee&&le[k+1]===""&&le[k+2]===ee,Ue=le[k]===o&&le[k+1]===""&&le[k+2]===a||le[k]===a&&le[k+1]===""&&le[k+2]===o;ve&&Fe||ie||Me||nt||Ue?le.splice(k,2):Ge&&le.splice(k+1,2)}for(;le.length>0&&c(j(le));)le.pop();for(;le.length>1&&c(le[0])&&c(le[1]);)le.shift(),le.shift();let Qe=[];for(let[k,ie]of le.entries()){if(ie===ee){if(k===1&&le[k-1]===""){if(le.length===2){Qe.push(xe);continue}Qe.push([xe,a]);continue}else if(k===le.length-1){Qe.push(xe);continue}else if(le[k-1]===""&&le[k-2]===a){Qe.push(xe);continue}}Qe.push(ie),F(ie)&&(it=!0)}let We=Fe?A(Qe):d(Qe,{shouldBreak:!0});if(ct)return We;let _e=d([je,m([a,We]),a,Ve]);return it?_e:x([d([je,...le,Ve]),_e])}function S(te,ge,ye,Ne,je){let Ve=[];return te.each((st,At,Et)=>{let it=st.getValue();if(it.type==="JSXText"){let ct=L(it);if(we(it)){let xe=ct.split(Pe);if(xe[0]===""){if(Ve.push(""),xe.shift(),/\n/.test(xe[0])){let ke=Et[At+1];Ve.push(_(je,xe[1],it,ke))}else Ve.push(Ne);xe.shift()}let ee;if(j(xe)===""&&(xe.pop(),ee=xe.pop()),xe.length===0)return;for(let[ke,le]of xe.entries())ke%2==1?Ve.push(i):Ve.push(le);if(ee!==void 0)if(/\n/.test(ee)){let ke=Et[At+1];Ve.push(_(je,j(Ve),it,ke))}else Ve.push(Ne);else{let ke=Et[At+1];Ve.push(P(je,j(Ve),it,ke))}}else/\n/.test(ct)?ct.match(/\n/g).length>1&&Ve.push("",a):Ve.push("",Ne)}else{let ct=ye();Ve.push(ct);let xe=Et[At+1];if(xe&&we(xe)){let ee=ue(L(xe)).split(Pe)[0];Ve.push(P(je,ee,it,xe))}else Ve.push(a)}},"children"),Ve}function P(te,ge,ye,Ne){return te?"":ye.type==="JSXElement"&&!ye.closingElement||Ne&&Ne.type==="JSXElement"&&!Ne.closingElement?ge.length===1?o:a:o}function _(te,ge,ye,Ne){return te?a:ge.length===1?ye.type==="JSXElement"&&!ye.closingElement||Ne&&Ne.type==="JSXElement"&&!Ne.closingElement?a:o:a}function I(te,ge,ye){let Ne=te.getParentNode();if(!Ne||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Ne.type])return ge;let je=te.match(void 0,st=>st.type==="ArrowFunctionExpression",B,st=>st.type==="JSXExpressionContainer"),Ve=D(te,ye);return d([Ve?"":b("("),m([o,ge]),o,Ve?"":b(")")],{shouldBreak:je})}function U(te,ge,ye){let Ne=te.getValue(),je=[];if(je.push(ye("name")),Ne.value){let Ve;if($(Ne.value)){let st=L(Ne.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:At,quote:Et,regex:it}=R(st,ge.jsxSingleQuote?"'":'"');st=st.replace(it,At);let{leading:ct,trailing:xe}=te.call(()=>p(te,ge),"value");Ve=[ct,Et,st,Et,xe]}else Ve=ye("value");je.push("=",Ve)}return je}function z(te,ge,ye){let Ne=te.getValue(),je=(Ve,st)=>Ve.type==="JSXEmptyExpression"||!K(Ve)&&(Ve.type==="ArrayExpression"||Ve.type==="ObjectExpression"||Ve.type==="ArrowFunctionExpression"||Ve.type==="AwaitExpression"&&(je(Ve.argument,Ve)||Ve.argument.type==="JSXElement")||B(Ve)||Ve.type==="FunctionExpression"||Ve.type==="TemplateLiteral"||Ve.type==="TaggedTemplateExpression"||Ve.type==="DoExpression"||w(st)&&(Ve.type==="ConditionalExpression"||M(Ve)));return je(Ne.expression,te.getParentNode(0))?d(["{",ye("expression"),g,"}"]):d(["{",m([o,ye("expression")]),o,g,"}"])}function Q(te,ge,ye){let Ne=te.getValue(),je=Ne.name&&K(Ne.name)||Ne.typeParameters&&K(Ne.typeParameters);if(Ne.selfClosing&&Ne.attributes.length===0&&!je)return["<",ye("name"),ye("typeParameters")," />"];if(Ne.attributes&&Ne.attributes.length===1&&Ne.attributes[0].value&&$(Ne.attributes[0].value)&&!Ne.attributes[0].value.value.includes(`
|
|
130
|
-
`)&&!
|
|
131
|
-
`)),
|
|
132
|
-
\r `,Pe=new RegExp("(["+he+"]+)"),Z=new RegExp("[^"+he+"]"),ue=te=>te.replace(new RegExp("(?:^"+Pe.source+"|"+Pe.source+"$)"),"");function Te(te){if(te.children.length===0)return!0;if(te.children.length>1)return!1;let ge=te.children[0];return ge.type==="JSXText"&&!we(ge)}function we(te){return te.type==="JSXText"&&(Z.test(L(te))||!/\n/.test(L(te)))}function ze(te){return te.type==="JSXExpressionContainer"&&$(te.expression)&&te.expression.value===" "&&!K(te.expression)}function pe(te){let ge=te.getValue(),ye=te.getParentNode();if(!ye||!ge||!w(ge)||!w(ye))return!1;let Ne=ye.children.indexOf(ge),je=null;for(let Ve=Ne;Ve>0;Ve--){let st=ye.children[Ve-1];if(!(st.type==="JSXText"&&!we(st))){je=st;break}}return je&&je.type==="JSXExpressionContainer"&&je.expression.type==="JSXEmptyExpression"&&N(je.expression)}h.exports={hasJsxIgnoreComment:pe,printJsx:Ee}}}),kr=re({"src/language-js/print/misc.js"(l,h){"use strict";ce();var{isNonEmptyArray:s}=Bt(),{builders:{indent:f,join:p,line:i}}=yt(),{isFlowAnnotationComment:a}=Yt();function o(j){let R=j.getValue();return!R.optional||R.type==="Identifier"&&R===j.getParentNode().key?"":R.type==="OptionalCallExpression"||R.type==="OptionalMemberExpression"&&R.computed?"?.":"?"}function d(j){return j.getValue().definite||j.match(void 0,(R,w)=>w==="id"&&R.type==="VariableDeclarator"&&R.definite)?"!":""}function m(j,R,w){let L=j.getValue();return L.typeArguments?w("typeArguments"):L.typeParameters?w("typeParameters"):""}function x(j,R,w){let L=j.getValue();if(!L.typeAnnotation)return"";let B=j.getParentNode(),$=B.type==="DeclareFunction"&&B.id===L;return a(R.originalText,L.typeAnnotation)?[" /*: ",w("typeAnnotation")," */"]:[$?"":": ",w("typeAnnotation")]}function A(j,R,w){return["::",w("callee")]}function b(j,R,w){let L=j.getValue();return s(L.modifiers)?[p(" ",j.map(w,"modifiers"))," "]:""}function g(j,R,w){return j.type==="EmptyStatement"?";":j.type==="BlockStatement"||w?[" ",R]:f([i,R])}function y(j,R,w){return["...",w("argument"),x(j,R,w)]}function F(j,R){let w=j.slice(1,-1);if(w.includes('"')||w.includes("'"))return j;let L=R.singleQuote?"'":'"';return L+w+L}h.exports={printOptionalToken:o,printDefiniteToken:d,printFunctionTypeParameters:m,printBindExpressionCallee:A,printTypeScriptModifiers:b,printTypeAnnotation:x,printRestSpread:y,adjustClause:g,printDirective:F}}}),Ci=re({"src/language-js/print/array.js"(l,h){"use strict";ce();var{printDanglingComments:s}=pr(),{builders:{line:f,softline:p,hardline:i,group:a,indent:o,ifBreak:d,fill:m}}=yt(),{getLast:x,hasNewline:A}=Bt(),{shouldPrintComma:b,hasComment:g,CommentCheckFlags:y,isNextLineEmpty:F,isNumericLiteral:j,isSignedNumericLiteral:R}=Yt(),{locStart:w}=br(),{printOptionalToken:L,printTypeAnnotation:B}=kr();function $(N,D,T){let c=N.getValue(),C=[],S=c.type==="TupleExpression"?"#[":"[",P="]";if(c.elements.length===0)g(c,y.Dangling)?C.push(a([S,s(N,D),p,P])):C.push(S,P);else{let _=x(c.elements),I=!(_&&_.type==="RestElement"),U=_===null,z=Symbol("array"),Q=!D.__inJestEach&&c.elements.length>1&&c.elements.every((G,de,H)=>{let W=G&&G.type;if(W!=="ArrayExpression"&&W!=="ObjectExpression")return!1;let fe=H[de+1];if(fe&&W!==fe.type)return!1;let Ee=W==="ArrayExpression"?"elements":"properties";return G[Ee]&&G[Ee].length>1}),X=M(c,D),ne=I?U?",":b(D)?X?d(",","",{groupId:z}):d(","):"":"";C.push(a([S,o([p,X?E(N,D,T,ne):[K(N,D,"elements",T),ne],s(N,D,!0)]),p,P],{shouldBreak:Q,id:z}))}return C.push(L(N),B(N,D,T)),C}function M(N,D){return N.elements.length>1&&N.elements.every(T=>T&&(j(T)||R(T)&&!g(T.argument))&&!g(T,y.Trailing|y.Line,c=>!A(D.originalText,w(c),{backwards:!0})))}function K(N,D,T,c){let C=[],S=[];return N.each(P=>{C.push(S,a(c())),S=[",",f],P.getValue()&&F(P.getValue(),D)&&S.push(p)},T),C}function E(N,D,T,c){let C=[];return N.each((S,P,_)=>{let I=P===_.length-1;C.push([T(),I?c:","]),I||C.push(F(S.getValue(),D)?[i,i]:g(_[P+1],y.Leading|y.Line)?i:f)},"elements"),m(C)}h.exports={printArray:$,printArrayItems:K,isConciselyPrintedArray:M}}}),So=re({"src/language-js/print/call-arguments.js"(l,h){"use strict";ce();var{printDanglingComments:s}=pr(),{getLast:f,getPenultimate:p}=Bt(),{getFunctionParameters:i,hasComment:a,CommentCheckFlags:o,isFunctionCompositionArgs:d,isJsxNode:m,isLongCurriedCallExpression:x,shouldPrintComma:A,getCallArguments:b,iterateCallArgumentsPath:g,isNextLineEmpty:y,isCallExpression:F,isStringLiteral:j,isObjectProperty:R,isTSTypeExpression:w}=Yt(),{builders:{line:L,hardline:B,softline:$,group:M,indent:K,conditionalGroup:E,ifBreak:N,breakParent:D},utils:{willBreak:T}}=yt(),{ArgExpansionBailout:c}=Ei(),{isConciselyPrintedArray:C}=Ci();function S(X,ne,G){let de=X.getValue(),H=de.type==="ImportExpression",W=b(de);if(W.length===0)return["(",s(X,ne,!0),")"];if(U(W))return["(",G(["arguments",0]),", ",G(["arguments",1]),")"];let fe=!1,Ee=!1,he=W.length-1,Pe=[];g(X,(pe,te)=>{let ge=pe.getNode(),ye=[G()];te===he||(y(ge,ne)?(te===0&&(Ee=!0),fe=!0,ye.push(",",B,B)):ye.push(",",L)),Pe.push(ye)});let Z=!(H||de.callee&&de.callee.type==="Import")&&A(ne,"all")?",":"";function ue(){return M(["(",K([L,...Pe]),Z,L,")"],{shouldBreak:!0})}if(fe||X.getParentNode().type!=="Decorator"&&d(W))return ue();let Te=I(W),we=_(W,ne);if(Te||we){if(Te?Pe.slice(1).some(T):Pe.slice(0,-1).some(T))return ue();let pe=[];try{X.try(()=>{g(X,(te,ge)=>{Te&&ge===0&&(pe=[[G([],{expandFirstArg:!0}),Pe.length>1?",":"",Ee?B:L,Ee?B:""],...Pe.slice(1)]),we&&ge===he&&(pe=[...Pe.slice(0,-1),G([],{expandLastArg:!0})])})})}catch(te){if(te instanceof c)return ue();throw te}return[Pe.some(T)?D:"",E([["(",...pe,")"],Te?["(",M(pe[0],{shouldBreak:!0}),...pe.slice(1),")"]:["(",...Pe.slice(0,-1),M(f(pe),{shouldBreak:!0}),")"],ue()])]}let ze=["(",K([$,...Pe]),N(Z),$,")"];return x(X)?ze:M(ze,{shouldBreak:Pe.some(T)||fe})}function P(X){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return X.type==="ObjectExpression"&&(X.properties.length>0||a(X))||X.type==="ArrayExpression"&&(X.elements.length>0||a(X))||X.type==="TSTypeAssertion"&&P(X.expression)||w(X)&&P(X.expression)||X.type==="FunctionExpression"||X.type==="ArrowFunctionExpression"&&(!X.returnType||!X.returnType.typeAnnotation||X.returnType.typeAnnotation.type!=="TSTypeReference"||z(X.body))&&(X.body.type==="BlockStatement"||X.body.type==="ArrowFunctionExpression"&&P(X.body,!0)||X.body.type==="ObjectExpression"||X.body.type==="ArrayExpression"||!ne&&(F(X.body)||X.body.type==="ConditionalExpression")||m(X.body))||X.type==="DoExpression"||X.type==="ModuleExpression"}function _(X,ne){let G=f(X),de=p(X);return!a(G,o.Leading)&&!a(G,o.Trailing)&&P(G)&&(!de||de.type!==G.type)&&(X.length!==2||de.type!=="ArrowFunctionExpression"||G.type!=="ArrayExpression")&&!(X.length>1&&G.type==="ArrayExpression"&&C(G,ne))}function I(X){if(X.length!==2)return!1;let[ne,G]=X;return ne.type==="ModuleExpression"&&Q(G)?!0:!a(ne)&&(ne.type==="FunctionExpression"||ne.type==="ArrowFunctionExpression"&&ne.body.type==="BlockStatement")&&G.type!=="FunctionExpression"&&G.type!=="ArrowFunctionExpression"&&G.type!=="ConditionalExpression"&&!P(G)}function U(X){return X.length===2&&X[0].type==="ArrowFunctionExpression"&&i(X[0]).length===0&&X[0].body.type==="BlockStatement"&&X[1].type==="ArrayExpression"&&!X.some(ne=>a(ne))}function z(X){return X.type==="BlockStatement"&&(X.body.some(ne=>ne.type!=="EmptyStatement")||a(X,o.Dangling))}function Q(X){return X.type==="ObjectExpression"&&X.properties.length===1&&R(X.properties[0])&&X.properties[0].key.type==="Identifier"&&X.properties[0].key.name==="type"&&j(X.properties[0].value)&&X.properties[0].value.value==="module"}h.exports=S}}),Fo=re({"src/language-js/print/member.js"(l,h){"use strict";ce();var{builders:{softline:s,group:f,indent:p,label:i}}=yt(),{isNumericLiteral:a,isMemberExpression:o,isCallExpression:d}=Yt(),{printOptionalToken:m}=kr();function x(b,g,y){let F=b.getValue(),j=b.getParentNode(),R,w=0;do R=b.getParentNode(w),w++;while(R&&(o(R)||R.type==="TSNonNullExpression"));let L=y("object"),B=A(b,g,y),$=R&&(R.type==="NewExpression"||R.type==="BindExpression"||R.type==="AssignmentExpression"&&R.left.type!=="Identifier")||F.computed||F.object.type==="Identifier"&&F.property.type==="Identifier"&&!o(j)||(j.type==="AssignmentExpression"||j.type==="VariableDeclarator")&&(d(F.object)&&F.object.arguments.length>0||F.object.type==="TSNonNullExpression"&&d(F.object.expression)&&F.object.expression.arguments.length>0||L.label==="member-chain");return i(L.label==="member-chain"?"member-chain":"member",[L,$?B:f(p([s,B]))])}function A(b,g,y){let F=y("property"),j=b.getValue(),R=m(b);return j.computed?!j.property||a(j.property)?[R,"[",F,"]"]:f([R,"[",p([s,F]),s,"]"]):[R,".",F]}h.exports={printMemberExpression:x,printMemberLookup:A}}}),md=re({"src/language-js/print/member-chain.js"(l,h){"use strict";ce();var{printComments:s}=pr(),{getLast:f,isNextLineEmptyAfterIndex:p,getNextNonSpaceNonCommentCharacterIndex:i}=Bt(),a=Vn(),{isCallExpression:o,isMemberExpression:d,isFunctionOrArrowExpression:m,isLongCurriedCallExpression:x,isMemberish:A,isNumericLiteral:b,isSimpleCallArgument:g,hasComment:y,CommentCheckFlags:F,isNextLineEmpty:j}=Yt(),{locEnd:R}=br(),{builders:{join:w,hardline:L,group:B,indent:$,conditionalGroup:M,breakParent:K,label:E},utils:{willBreak:N}}=yt(),D=So(),{printMemberLookup:T}=Fo(),{printOptionalToken:c,printFunctionTypeParameters:C,printBindExpressionCallee:S}=kr();function P(_,I,U){let z=_.getParentNode(),Q=!z||z.type==="ExpressionStatement",X=[];function ne(it){let{originalText:ct}=I,xe=i(ct,it,R);return ct.charAt(xe)===")"?xe!==!1&&p(ct,xe+1):j(it,I)}function G(it){let ct=it.getValue();o(ct)&&(A(ct.callee)||o(ct.callee))?(X.unshift({node:ct,printed:[s(it,[c(it),C(it,I,U),D(it,I,U)],I),ne(ct)?L:""]}),it.call(xe=>G(xe),"callee")):A(ct)?(X.unshift({node:ct,needsParens:a(it,I),printed:s(it,d(ct)?T(it,I,U):S(it,I,U),I)}),it.call(xe=>G(xe),"object")):ct.type==="TSNonNullExpression"?(X.unshift({node:ct,printed:s(it,"!",I)}),it.call(xe=>G(xe),"expression")):X.unshift({node:ct,printed:U()})}let de=_.getValue();X.unshift({node:de,printed:[c(_),C(_,I,U),D(_,I,U)]}),de.callee&&_.call(it=>G(it),"callee");let H=[],W=[X[0]],fe=1;for(;fe<X.length&&(X[fe].node.type==="TSNonNullExpression"||o(X[fe].node)||d(X[fe].node)&&X[fe].node.computed&&b(X[fe].node.property));++fe)W.push(X[fe]);if(!o(X[0].node))for(;fe+1<X.length&&A(X[fe].node)&&A(X[fe+1].node);++fe)W.push(X[fe]);H.push(W),W=[];let Ee=!1;for(;fe<X.length;++fe){if(Ee&&A(X[fe].node)){if(X[fe].node.computed&&b(X[fe].node.property)){W.push(X[fe]);continue}H.push(W),W=[],Ee=!1}(o(X[fe].node)||X[fe].node.type==="ImportExpression")&&(Ee=!0),W.push(X[fe]),y(X[fe].node,F.Trailing)&&(H.push(W),W=[],Ee=!1)}W.length>0&&H.push(W);function he(it){return/^[A-Z]|^[$_]+$/.test(it)}function Pe(it){return it.length<=I.tabWidth}function Z(it){let ct=it[1].length>0&&it[1][0].node.computed;if(it[0].length===1){let ee=it[0][0].node;return ee.type==="ThisExpression"||ee.type==="Identifier"&&(he(ee.name)||Q&&Pe(ee.name)||ct)}let xe=f(it[0]).node;return d(xe)&&xe.property.type==="Identifier"&&(he(xe.property.name)||ct)}let ue=H.length>=2&&!y(H[1][0].node)&&Z(H);function Te(it){let ct=it.map(xe=>xe.printed);return it.length>0&&f(it).needsParens?["(",...ct,")"]:ct}function we(it){return it.length===0?"":$(B([L,w(L,it.map(Te))]))}let ze=H.map(Te),pe=ze,te=ue?3:2,ge=H.flat(),ye=ge.slice(1,-1).some(it=>y(it.node,F.Leading))||ge.slice(0,-1).some(it=>y(it.node,F.Trailing))||H[te]&&y(H[te][0].node,F.Leading);if(H.length<=te&&!ye)return x(_)?pe:B(pe);let Ne=f(H[ue?1:0]).node,je=!o(Ne)&&ne(Ne),Ve=[Te(H[0]),ue?H.slice(1,2).map(Te):"",je?L:"",we(H.slice(ue?2:1))],st=X.map(it=>{let{node:ct}=it;return ct}).filter(o);function At(){let it=f(f(H)).node,ct=f(ze);return o(it)&&N(ct)&&st.slice(0,-1).some(xe=>xe.arguments.some(m))}let Et;return ye||st.length>2&&st.some(it=>!it.arguments.every(ct=>g(ct,0)))||ze.slice(0,-1).some(N)||At()?Et=B(Ve):Et=[N(pe)||je?K:"",M([pe,Ve])],E("member-chain",Et)}h.exports=P}}),To=re({"src/language-js/print/call-expression.js"(l,h){"use strict";ce();var{builders:{join:s,group:f}}=yt(),p=Vn(),{getCallArguments:i,hasFlowAnnotationComment:a,isCallExpression:o,isMemberish:d,isStringLiteral:m,isTemplateOnItsOwnLine:x,isTestCall:A,iterateCallArgumentsPath:b}=Yt(),g=md(),y=So(),{printOptionalToken:F,printFunctionTypeParameters:j}=kr();function R(L,B,$){let M=L.getValue(),K=L.getParentNode(),E=M.type==="NewExpression",N=M.type==="ImportExpression",D=F(L),T=i(M);if(T.length>0&&(!N&&!E&&w(M,K)||T.length===1&&x(T[0],B.originalText)||!E&&A(M,K))){let S=[];return b(L,()=>{S.push($())}),[E?"new ":"",$("callee"),D,j(L,B,$),"(",s(", ",S),")"]}let c=(B.parser==="babel"||B.parser==="babel-flow")&&M.callee&&M.callee.type==="Identifier"&&a(M.callee.trailingComments);if(c&&(M.callee.trailingComments[0].printed=!0),!N&&!E&&d(M.callee)&&!L.call(S=>p(S,B),"callee"))return g(L,B,$);let C=[E?"new ":"",N?"import":$("callee"),D,c?`/*:: ${M.callee.trailingComments[0].value.slice(2).trim()} */`:"",j(L,B,$),y(L,B,$)];return N||o(M.callee)?f(C):C}function w(L,B){if(L.callee.type!=="Identifier")return!1;if(L.callee.name==="require")return!0;if(L.callee.name==="define"){let $=i(L);return B.type==="ExpressionStatement"&&($.length===1||$.length===2&&$[0].type==="ArrayExpression"||$.length===3&&m($[0])&&$[1].type==="ArrayExpression")}return!1}h.exports={printCallExpression:R}}}),xi=re({"src/language-js/print/assignment.js"(l,h){"use strict";ce();var{isNonEmptyArray:s,getStringWidth:f}=Bt(),{builders:{line:p,group:i,indent:a,indentIfBreak:o,lineSuffixBoundary:d},utils:{cleanDoc:m,willBreak:x,canBreak:A}}=yt(),{hasLeadingOwnLineComment:b,isBinaryish:g,isStringLiteral:y,isLiteral:F,isNumericLiteral:j,isCallExpression:R,isMemberExpression:w,getCallArguments:L,rawText:B,hasComment:$,isSignedNumericLiteral:M,isObjectProperty:K}=Yt(),{shouldInlineLogicalExpression:E}=_u(),{printCallExpression:N}=To();function D(Z,ue,Te,we,ze,pe){let te=C(Z,ue,Te,we,pe),ge=Te(pe,{assignmentLayout:te});switch(te){case"break-after-operator":return i([i(we),ze,i(a([p,ge]))]);case"never-break-after-operator":return i([i(we),ze," ",ge]);case"fluid":{let ye=Symbol("assignment");return i([i(we),ze,i(a(p),{id:ye}),d,o(ge,{groupId:ye})])}case"break-lhs":return i([we,ze," ",i(ge)]);case"chain":return[i(we),ze,p,ge];case"chain-tail":return[i(we),ze,a([p,ge])];case"chain-tail-arrow-chain":return[i(we),ze,ge];case"only-left":return we}}function T(Z,ue,Te){let we=Z.getValue();return D(Z,ue,Te,Te("left"),[" ",we.operator],"right")}function c(Z,ue,Te){return D(Z,ue,Te,Te("id")," =","init")}function C(Z,ue,Te,we,ze){let pe=Z.getValue(),te=pe[ze];if(!te)return"only-left";let ge=!_(te);if(Z.match(_,I,Ne=>!ge||Ne.type!=="ExpressionStatement"&&Ne.type!=="VariableDeclaration"))return ge?te.type==="ArrowFunctionExpression"&&te.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!ge&&_(te.right)||b(ue.originalText,te))return"break-after-operator";if(te.type==="CallExpression"&&te.callee.name==="require"||ue.parser==="json5"||ue.parser==="json")return"never-break-after-operator";if(P(pe)||U(pe)||X(pe)||ne(pe)&&A(we))return"break-lhs";let ye=Ee(pe,we,ue);return Z.call(()=>S(Z,ue,Te,ye),ze)?"break-after-operator":ye||te.type==="TemplateLiteral"||te.type==="TaggedTemplateExpression"||te.type==="BooleanLiteral"||j(te)||te.type==="ClassExpression"?"never-break-after-operator":"fluid"}function S(Z,ue,Te,we){let ze=Z.getValue();if(g(ze)&&!E(ze))return!0;switch(ze.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:ge}=ze;return g(ge)&&!E(ge)}case"ClassExpression":return s(ze.decorators)}if(we)return!1;let pe=ze,te=[];for(;;)if(pe.type==="UnaryExpression")pe=pe.argument,te.push("argument");else if(pe.type==="TSNonNullExpression")pe=pe.expression,te.push("expression");else break;return!!(y(pe)||Z.call(()=>H(Z,ue,Te),...te))}function P(Z){if(I(Z)){let ue=Z.left||Z.id;return ue.type==="ObjectPattern"&&ue.properties.length>2&&ue.properties.some(Te=>K(Te)&&(!Te.shorthand||Te.value&&Te.value.type==="AssignmentPattern"))}return!1}function _(Z){return Z.type==="AssignmentExpression"}function I(Z){return _(Z)||Z.type==="VariableDeclarator"}function U(Z){let ue=z(Z);if(s(ue)){let Te=Z.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(ue.length>1&&ue.some(we=>we[Te]||we.default))return!0}return!1}function z(Z){return Q(Z)&&Z.typeParameters&&Z.typeParameters.params?Z.typeParameters.params:null}function Q(Z){return Z.type==="TSTypeAliasDeclaration"||Z.type==="TypeAlias"}function X(Z){if(Z.type!=="VariableDeclarator")return!1;let{typeAnnotation:ue}=Z.id;if(!ue||!ue.typeAnnotation)return!1;let Te=G(ue.typeAnnotation);return s(Te)&&Te.length>1&&Te.some(we=>s(G(we))||we.type==="TSConditionalType")}function ne(Z){return Z.type==="VariableDeclarator"&&Z.init&&Z.init.type==="ArrowFunctionExpression"}function G(Z){return de(Z)&&Z.typeParameters&&Z.typeParameters.params?Z.typeParameters.params:null}function de(Z){return Z.type==="TSTypeReference"||Z.type==="GenericTypeAnnotation"}function H(Z,ue,Te){let we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ze=Z.getValue(),pe=()=>H(Z,ue,Te,!0);if(ze.type==="TSNonNullExpression")return Z.call(pe,"expression");if(R(ze)){if(N(Z,ue,Te).label==="member-chain")return!1;let te=L(ze);return!(te.length===0||te.length===1&&fe(te[0],ue))||he(ze,Te)?!1:Z.call(pe,"callee")}return w(ze)?Z.call(pe,"object"):we&&(ze.type==="Identifier"||ze.type==="ThisExpression")}var W=.25;function fe(Z,ue){let{printWidth:Te}=ue;if($(Z))return!1;let we=Te*W;if(Z.type==="ThisExpression"||Z.type==="Identifier"&&Z.name.length<=we||M(Z)&&!$(Z.argument))return!0;let ze=Z.type==="Literal"&&"regex"in Z&&Z.regex.pattern||Z.type==="RegExpLiteral"&&Z.pattern;return ze?ze.length<=we:y(Z)?B(Z).length<=we:Z.type==="TemplateLiteral"?Z.expressions.length===0&&Z.quasis[0].value.raw.length<=we&&!Z.quasis[0].value.raw.includes(`
|
|
133
|
-
`):F(Z)}function Ee(Z,ue,Te){if(!K(Z))return!1;ue=m(ue);let we=3;return typeof ue=="string"&&f(ue)<Te.tabWidth+we}function he(Z,ue){let Te=Pe(Z);if(s(Te)){if(Te.length>1)return!0;if(Te.length===1){let ze=Te[0];if(ze.type==="TSUnionType"||ze.type==="UnionTypeAnnotation"||ze.type==="TSIntersectionType"||ze.type==="IntersectionTypeAnnotation"||ze.type==="TSTypeLiteral"||ze.type==="ObjectTypeAnnotation")return!0}let we=Z.typeParameters?"typeParameters":"typeArguments";if(x(ue(we)))return!0}return!1}function Pe(Z){return Z.typeParameters&&Z.typeParameters.params||Z.typeArguments&&Z.typeArguments.params}h.exports={printVariableDeclarator:c,printAssignmentExpression:T,printAssignment:D,isArrowFunctionVariableDeclarator:ne}}}),ss=re({"src/language-js/print/function-parameters.js"(l,h){"use strict";ce();var{getNextNonSpaceNonCommentCharacter:s}=Bt(),{printDanglingComments:f}=pr(),{builders:{line:p,hardline:i,softline:a,group:o,indent:d,ifBreak:m},utils:{removeLines:x,willBreak:A}}=yt(),{getFunctionParameters:b,iterateFunctionParametersPath:g,isSimpleType:y,isTestCall:F,isTypeAnnotationAFunction:j,isObjectType:R,isObjectTypePropertyAFunction:w,hasRestParameter:L,shouldPrintComma:B,hasComment:$,isNextLineEmpty:M}=Yt(),{locEnd:K}=br(),{ArgExpansionBailout:E}=Ei(),{printFunctionTypeParameters:N}=kr();function D(S,P,_,I,U){let z=S.getValue(),Q=b(z),X=U?N(S,_,P):"";if(Q.length===0)return[X,"(",f(S,_,!0,fe=>s(_.originalText,fe,K)===")"),")"];let ne=S.getParentNode(),G=F(ne),de=T(z),H=[];if(g(S,(fe,Ee)=>{let he=Ee===Q.length-1;he&&z.rest&&H.push("..."),H.push(P()),!he&&(H.push(","),G||de?H.push(" "):M(Q[Ee],_)?H.push(i,i):H.push(p))}),I){if(A(X)||A(H))throw new E;return o([x(X),"(",x(H),")"])}let W=Q.every(fe=>!fe.decorators);return de&&W?[X,"(",...H,")"]:G?[X,"(",...H,")"]:(w(ne)||j(ne)||ne.type==="TypeAlias"||ne.type==="UnionTypeAnnotation"||ne.type==="TSUnionType"||ne.type==="IntersectionTypeAnnotation"||ne.type==="FunctionTypeAnnotation"&&ne.returnType===z)&&Q.length===1&&Q[0].name===null&&z.this!==Q[0]&&Q[0].typeAnnotation&&z.typeParameters===null&&y(Q[0].typeAnnotation)&&!z.rest?_.arrowParens==="always"?["(",...H,")"]:H:[X,"(",d([a,...H]),m(!L(z)&&B(_,"all")?",":""),a,")"]}function T(S){if(!S)return!1;let P=b(S);if(P.length!==1)return!1;let[_]=P;return!$(_)&&(_.type==="ObjectPattern"||_.type==="ArrayPattern"||_.type==="Identifier"&&_.typeAnnotation&&(_.typeAnnotation.type==="TypeAnnotation"||_.typeAnnotation.type==="TSTypeAnnotation")&&R(_.typeAnnotation.typeAnnotation)||_.type==="FunctionTypeParam"&&R(_.typeAnnotation)||_.type==="AssignmentPattern"&&(_.left.type==="ObjectPattern"||_.left.type==="ArrayPattern")&&(_.right.type==="Identifier"||_.right.type==="ObjectExpression"&&_.right.properties.length===0||_.right.type==="ArrayExpression"&&_.right.elements.length===0))}function c(S){let P;return S.returnType?(P=S.returnType,P.typeAnnotation&&(P=P.typeAnnotation)):S.typeAnnotation&&(P=S.typeAnnotation),P}function C(S,P){let _=c(S);if(!_)return!1;let I=S.typeParameters&&S.typeParameters.params;if(I){if(I.length>1)return!1;if(I.length===1){let U=I[0];if(U.constraint||U.default)return!1}}return b(S).length===1&&(R(_)||A(P))}h.exports={printFunctionParameters:D,shouldHugFunctionParameters:T,shouldGroupFunctionParameters:C}}}),us=re({"src/language-js/print/type-annotation.js"(l,h){"use strict";ce();var{printComments:s,printDanglingComments:f}=pr(),{isNonEmptyArray:p}=Bt(),{builders:{group:i,join:a,line:o,softline:d,indent:m,align:x,ifBreak:A}}=yt(),b=Vn(),{locStart:g}=br(),{isSimpleType:y,isObjectType:F,hasLeadingOwnLineComment:j,isObjectTypePropertyAFunction:R,shouldPrintComma:w}=Yt(),{printAssignment:L}=xi(),{printFunctionParameters:B,shouldGroupFunctionParameters:$}=ss(),{printArrayItems:M}=Ci();function K(_){if(y(_)||F(_))return!0;if(_.type==="UnionTypeAnnotation"||_.type==="TSUnionType"){let I=_.types.filter(z=>z.type==="VoidTypeAnnotation"||z.type==="TSVoidKeyword"||z.type==="NullLiteralTypeAnnotation"||z.type==="TSNullKeyword").length,U=_.types.some(z=>z.type==="ObjectTypeAnnotation"||z.type==="TSTypeLiteral"||z.type==="GenericTypeAnnotation"||z.type==="TSTypeReference");if(_.types.length-1===I&&U)return!0}return!1}function E(_,I,U){let z=I.semi?";":"",Q=_.getValue(),X=[];return X.push("opaque type ",U("id"),U("typeParameters")),Q.supertype&&X.push(": ",U("supertype")),Q.impltype&&X.push(" = ",U("impltype")),X.push(z),X}function N(_,I,U){let z=I.semi?";":"",Q=_.getValue(),X=[];Q.declare&&X.push("declare "),X.push("type ",U("id"),U("typeParameters"));let ne=Q.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[L(_,I,U,X," =",ne),z]}function D(_,I,U){let z=_.getValue(),Q=_.map(U,"types"),X=[],ne=!1;for(let G=0;G<Q.length;++G)G===0?X.push(Q[G]):F(z.types[G-1])&&F(z.types[G])?X.push([" & ",ne?m(Q[G]):Q[G]]):!F(z.types[G-1])&&!F(z.types[G])?X.push(m([" &",o,Q[G]])):(G>1&&(ne=!0),X.push(" & ",G>1?m(Q[G]):Q[G]));return i(X)}function T(_,I,U){let z=_.getValue(),Q=_.getParentNode(),X=Q.type!=="TypeParameterInstantiation"&&Q.type!=="TSTypeParameterInstantiation"&&Q.type!=="GenericTypeAnnotation"&&Q.type!=="TSTypeReference"&&Q.type!=="TSTypeAssertion"&&Q.type!=="TupleTypeAnnotation"&&Q.type!=="TSTupleType"&&!(Q.type==="FunctionTypeParam"&&!Q.name&&_.getParentNode(1).this!==Q)&&!((Q.type==="TypeAlias"||Q.type==="VariableDeclarator"||Q.type==="TSTypeAliasDeclaration")&&j(I.originalText,z)),ne=K(z),G=_.map(W=>{let fe=U();return ne||(fe=x(2,fe)),s(W,fe,I)},"types");if(ne)return a(" | ",G);let de=X&&!j(I.originalText,z),H=[A([de?o:"","| "]),a([o,"| "],G)];return b(_,I)?i([m(H),d]):Q.type==="TupleTypeAnnotation"&&Q.types.length>1||Q.type==="TSTupleType"&&Q.elementTypes.length>1?i([m([A(["(",d]),H]),d,A(")")]):i(X?m(H):H)}function c(_,I,U){let z=_.getValue(),Q=[],X=_.getParentNode(0),ne=_.getParentNode(1),G=_.getParentNode(2),de=z.type==="TSFunctionType"||!((X.type==="ObjectTypeProperty"||X.type==="ObjectTypeInternalSlot")&&!X.variance&&!X.optional&&g(X)===g(z)||X.type==="ObjectTypeCallProperty"||G&&G.type==="DeclareFunction"),H=de&&(X.type==="TypeAnnotation"||X.type==="TSTypeAnnotation"),W=H&&de&&(X.type==="TypeAnnotation"||X.type==="TSTypeAnnotation")&&ne.type==="ArrowFunctionExpression";R(X)&&(de=!0,H=!0),W&&Q.push("(");let fe=B(_,U,I,!1,!0),Ee=z.returnType||z.predicate||z.typeAnnotation?[de?" => ":": ",U("returnType"),U("predicate"),U("typeAnnotation")]:"",he=$(z,Ee);return Q.push(he?i(fe):fe),Ee&&Q.push(Ee),W&&Q.push(")"),i(Q)}function C(_,I,U){let z=_.getValue(),Q=z.type==="TSTupleType"?"elementTypes":"types",X=z[Q],ne=p(X),G=ne?d:"";return i(["[",m([G,M(_,I,Q,U)]),A(ne&&w(I,"all")?",":""),f(_,I,!0),G,"]"])}function S(_,I,U){let z=_.getValue(),Q=z.type==="OptionalIndexedAccessType"&&z.optional?"?.[":"[";return[U("objectType"),Q,U("indexType"),"]"]}function P(_,I,U){let z=_.getValue();return[z.postfix?"":U,I("typeAnnotation"),z.postfix?U:""]}h.exports={printOpaqueType:E,printTypeAlias:N,printIntersectionType:D,printUnionType:T,printFunctionType:c,printTupleType:C,printIndexedAccessType:S,shouldHugType:K,printJSDocType:P}}}),as=re({"src/language-js/print/type-parameters.js"(l,h){"use strict";ce();var{printDanglingComments:s}=pr(),{builders:{join:f,line:p,hardline:i,softline:a,group:o,indent:d,ifBreak:m}}=yt(),{isTestCall:x,hasComment:A,CommentCheckFlags:b,isTSXFile:g,shouldPrintComma:y,getFunctionParameters:F,isObjectType:j,getTypeScriptMappedTypeModifier:R}=Yt(),{createGroupIdMapper:w}=Bt(),{shouldHugType:L}=us(),{isArrowFunctionVariableDeclarator:B}=xi(),$=w("typeParameters");function M(N,D,T,c){let C=N.getValue();if(!C[c])return"";if(!Array.isArray(C[c]))return T(c);let S=N.getNode(2),P=S&&x(S),_=N.match(U=>!(U[c].length===1&&j(U[c][0])),void 0,(U,z)=>z==="typeAnnotation",U=>U.type==="Identifier",B);if(C[c].length===0||!_&&(P||C[c].length===1&&(C[c][0].type==="NullableTypeAnnotation"||L(C[c][0]))))return["<",f(", ",N.map(T,c)),K(N,D),">"];let I=C.type==="TSTypeParameterInstantiation"?"":F(C).length===1&&g(D)&&!C[c][0].constraint&&N.getParentNode().type==="ArrowFunctionExpression"?",":y(D,"all")?m(","):"";return o(["<",d([a,f([",",p],N.map(T,c))]),I,a,">"],{id:$(C)})}function K(N,D){let T=N.getValue();if(!A(T,b.Dangling))return"";let c=!A(T,b.Line),C=s(N,D,c);return c?C:[C,i]}function E(N,D,T){let c=N.getValue(),C=[c.type==="TSTypeParameter"&&c.const?"const ":""],S=N.getParentNode();return S.type==="TSMappedType"?(S.readonly&&C.push(R(S.readonly,"readonly")," "),C.push("[",T("name")),c.constraint&&C.push(" in ",T("constraint")),S.nameType&&C.push(" as ",N.callParent(()=>T("nameType"))),C.push("]"),C):(c.variance&&C.push(T("variance")),c.in&&C.push("in "),c.out&&C.push("out "),C.push(T("name")),c.bound&&C.push(": ",T("bound")),c.constraint&&C.push(" extends ",T("constraint")),c.default&&C.push(" = ",T("default")),C)}h.exports={printTypeParameter:E,printTypeParameters:M,getTypeParametersGroupId:$}}}),Ai=re({"src/language-js/print/property.js"(l,h){"use strict";ce();var{printComments:s}=pr(),{printString:f,printNumber:p}=Bt(),{isNumericLiteral:i,isSimpleNumber:a,isStringLiteral:o,isStringPropSafeToUnquote:d,rawText:m}=Yt(),{printAssignment:x}=xi(),A=new WeakMap;function b(y,F,j){let R=y.getNode();if(R.computed)return["[",j("key"),"]"];let w=y.getParentNode(),{key:L}=R;if(F.quoteProps==="consistent"&&!A.has(w)){let B=(w.properties||w.body||w.members).some($=>!$.computed&&$.key&&o($.key)&&!d($,F));A.set(w,B)}if((L.type==="Identifier"||i(L)&&a(p(m(L)))&&String(L.value)===p(m(L))&&!(F.parser==="typescript"||F.parser==="babel-ts"))&&(F.parser==="json"||F.quoteProps==="consistent"&&A.get(w))){let B=f(JSON.stringify(L.type==="Identifier"?L.name:L.value.toString()),F);return y.call($=>s($,B,F),"key")}return d(R,F)&&(F.quoteProps==="as-needed"||F.quoteProps==="consistent"&&!A.get(w))?y.call(B=>s(B,/^\d/.test(L.value)?p(L.value):L.value,F),"key"):j("key")}function g(y,F,j){return y.getValue().shorthand?j("value"):x(y,F,j,b(y,F,j),":","value")}h.exports={printProperty:g,printPropertyKey:b}}}),os=re({"src/language-js/print/function.js"(l,h){"use strict";ce();var s=bi(),{printDanglingComments:f,printCommentsSeparately:p}=pr(),i=Be(),{getNextNonSpaceNonCommentCharacterIndex:a}=Bt(),{builders:{line:o,softline:d,group:m,indent:x,ifBreak:A,hardline:b,join:g,indentIfBreak:y},utils:{removeLines:F,willBreak:j}}=yt(),{ArgExpansionBailout:R}=Ei(),{getFunctionParameters:w,hasLeadingOwnLineComment:L,isFlowAnnotationComment:B,isJsxNode:$,isTemplateOnItsOwnLine:M,shouldPrintComma:K,startsWithNoLookaheadToken:E,isBinaryish:N,isLineComment:D,hasComment:T,getComments:c,CommentCheckFlags:C,isCallLikeExpression:S,isCallExpression:P,getCallArguments:_,hasNakedLeftSide:I,getLeftSide:U}=Yt(),{locEnd:z}=br(),{printFunctionParameters:Q,shouldGroupFunctionParameters:X}=ss(),{printPropertyKey:ne}=Ai(),{printFunctionTypeParameters:G}=kr();function de(te,ge,ye,Ne){let je=te.getValue(),Ve=!1;if((je.type==="FunctionDeclaration"||je.type==="FunctionExpression")&&Ne&&Ne.expandLastArg){let ct=te.getParentNode();P(ct)&&_(ct).length>1&&(Ve=!0)}let st=[];je.type==="TSDeclareFunction"&&je.declare&&st.push("declare "),je.async&&st.push("async "),je.generator?st.push("function* "):st.push("function "),je.id&&st.push(ge("id"));let At=Q(te,ge,ye,Ve),Et=ue(te,ge,ye),it=X(je,Et);return st.push(G(te,ye,ge),m([it?m(At):At,Et]),je.body?" ":"",ge("body")),ye.semi&&(je.declare||!je.body)&&st.push(";"),st}function H(te,ge,ye){let Ne=te.getNode(),{kind:je}=Ne,Ve=Ne.value||Ne,st=[];return!je||je==="init"||je==="method"||je==="constructor"?Ve.async&&st.push("async "):(s.ok(je==="get"||je==="set"),st.push(je," ")),Ve.generator&&st.push("*"),st.push(ne(te,ge,ye),Ne.optional||Ne.key.optional?"?":""),Ne===Ve?st.push(W(te,ge,ye)):Ve.type==="FunctionExpression"?st.push(te.call(At=>W(At,ge,ye),"value")):st.push(ye("value")),st}function W(te,ge,ye){let Ne=te.getNode(),je=Q(te,ye,ge),Ve=ue(te,ye,ge),st=X(Ne,Ve),At=[G(te,ge,ye),m([st?m(je):je,Ve])];return Ne.body?At.push(" ",ye("body")):At.push(ge.semi?";":""),At}function fe(te,ge,ye,Ne){let je=te.getValue(),Ve=[];if(je.async&&Ve.push("async "),Z(te,ge))Ve.push(ye(["params",0]));else{let At=Ne&&(Ne.expandLastArg||Ne.expandFirstArg),Et=ue(te,ye,ge);if(At){if(j(Et))throw new R;Et=m(F(Et))}Ve.push(m([Q(te,ye,ge,At,!0),Et]))}let st=f(te,ge,!0,At=>{let Et=a(ge.originalText,At,z);return Et!==!1&&ge.originalText.slice(Et,Et+2)==="=>"});return st&&Ve.push(" ",st),Ve}function Ee(te,ge,ye,Ne,je,Ve){let st=te.getName(),At=te.getParentNode(),Et=S(At)&&st==="callee",it=Boolean(ge&&ge.assignmentLayout),ct=Ve.body.type!=="BlockStatement"&&Ve.body.type!=="ObjectExpression"&&Ve.body.type!=="SequenceExpression",xe=Et&&ct||ge&&ge.assignmentLayout==="chain-tail-arrow-chain",ee=Symbol("arrow-chain");return Ve.body.type==="SequenceExpression"&&(je=m(["(",x([d,je]),d,")"])),m([m(x([Et||it?d:"",m(g([" =>",o],ye),{shouldBreak:Ne})]),{id:ee,shouldBreak:xe})," =>",y(ct?x([o,je]):[" ",je],{groupId:ee}),Et?A(d,"",{groupId:ee}):""])}function he(te,ge,ye,Ne){let je=te.getValue(),Ve=[],st=[],At=!1;if(function ee(){let ke=fe(te,ge,ye,Ne);if(Ve.length===0)Ve.push(ke);else{let{leading:le,trailing:Fe}=p(te,ge);Ve.push([le,ke]),st.unshift(Fe)}At=At||je.returnType&&w(je).length>0||je.typeParameters||w(je).some(le=>le.type!=="Identifier"),je.body.type!=="ArrowFunctionExpression"||Ne&&Ne.expandLastArg?st.unshift(ye("body",Ne)):(je=je.body,te.call(ee,"body"))}(),Ve.length>1)return Ee(te,Ne,Ve,At,st,je);let Et=Ve;if(Et.push(" =>"),!L(ge.originalText,je.body)&&(je.body.type==="ArrayExpression"||je.body.type==="ObjectExpression"||je.body.type==="BlockStatement"||$(je.body)||M(je.body,ge.originalText)||je.body.type==="ArrowFunctionExpression"||je.body.type==="DoExpression"))return m([...Et," ",st]);if(je.body.type==="SequenceExpression")return m([...Et,m([" (",x([d,st]),d,")"])]);let it=(Ne&&Ne.expandLastArg||te.getParentNode().type==="JSXExpressionContainer")&&!T(je),ct=Ne&&Ne.expandLastArg&&K(ge,"all"),xe=je.body.type==="ConditionalExpression"&&!E(je.body,ee=>ee.type==="ObjectExpression");return m([...Et,m([x([o,xe?A("","("):"",st,xe?A("",")"):""]),it?[A(ct?",":""),d]:""])])}function Pe(te){let ge=w(te);return ge.length===1&&!te.typeParameters&&!T(te,C.Dangling)&&ge[0].type==="Identifier"&&!ge[0].typeAnnotation&&!T(ge[0])&&!ge[0].optional&&!te.predicate&&!te.returnType}function Z(te,ge){if(ge.arrowParens==="always")return!1;if(ge.arrowParens==="avoid"){let ye=te.getValue();return Pe(ye)}return!1}function ue(te,ge,ye){let Ne=te.getValue(),je=ge("returnType");if(Ne.returnType&&B(ye.originalText,Ne.returnType))return[" /*: ",je," */"];let Ve=[je];return Ne.returnType&&Ne.returnType.typeAnnotation&&Ve.unshift(": "),Ne.predicate&&Ve.push(Ne.returnType?" ":": ",ge("predicate")),Ve}function Te(te,ge,ye){let Ne=te.getValue(),je=ge.semi?";":"",Ve=[];Ne.argument&&(pe(ge,Ne.argument)?Ve.push([" (",x([b,ye("argument")]),b,")"]):N(Ne.argument)||Ne.argument.type==="SequenceExpression"?Ve.push(m([A(" ("," "),x([d,ye("argument")]),d,A(")")])):Ve.push(" ",ye("argument")));let st=c(Ne),At=i(st),Et=At&&D(At);return Et&&Ve.push(je),T(Ne,C.Dangling)&&Ve.push(" ",f(te,ge,!0)),Et||Ve.push(je),Ve}function we(te,ge,ye){return["return",Te(te,ge,ye)]}function ze(te,ge,ye){return["throw",Te(te,ge,ye)]}function pe(te,ge){if(L(te.originalText,ge))return!0;if(I(ge)){let ye=ge,Ne;for(;Ne=U(ye);)if(ye=Ne,L(te.originalText,ye))return!0}return!1}h.exports={printFunction:de,printArrowFunction:he,printMethod:H,printReturnStatement:we,printThrowStatement:ze,printMethodInternal:W,shouldPrintParamsWithoutParens:Z}}}),Bu=re({"src/language-js/print/decorators.js"(l,h){"use strict";ce();var{isNonEmptyArray:s,hasNewline:f}=Bt(),{builders:{line:p,hardline:i,join:a,breakParent:o,group:d}}=yt(),{locStart:m,locEnd:x}=br(),{getParentExportDeclaration:A}=Yt();function b(R,w,L){let B=R.getValue();return d([a(p,R.map(L,"decorators")),F(B,w)?i:p])}function g(R,w,L){return[a(i,R.map(L,"declaration","decorators")),i]}function y(R,w,L){let B=R.getValue(),{decorators:$}=B;if(!s($)||j(R.getParentNode()))return;let M=B.type==="ClassExpression"||B.type==="ClassDeclaration"||F(B,w);return[A(R)?i:M?o:"",a(p,R.map(L,"decorators")),p]}function F(R,w){return R.decorators.some(L=>f(w.originalText,x(L)))}function j(R){if(R.type!=="ExportDefaultDeclaration"&&R.type!=="ExportNamedDeclaration"&&R.type!=="DeclareExportDeclaration")return!1;let w=R.declaration&&R.declaration.decorators;return s(w)&&m(R)===m(w[0])}h.exports={printDecorators:y,printClassMemberDecorators:b,printDecoratorsBeforeExport:g,hasDecoratorsBeforeExport:j}}}),Si=re({"src/language-js/print/class.js"(l,h){"use strict";ce();var{isNonEmptyArray:s,createGroupIdMapper:f}=Bt(),{printComments:p,printDanglingComments:i}=pr(),{builders:{join:a,line:o,hardline:d,softline:m,group:x,indent:A,ifBreak:b}}=yt(),{hasComment:g,CommentCheckFlags:y}=Yt(),{getTypeParametersGroupId:F}=as(),{printMethod:j}=os(),{printOptionalToken:R,printTypeAnnotation:w,printDefiniteToken:L}=kr(),{printPropertyKey:B}=Ai(),{printAssignment:$}=xi(),{printClassMemberDecorators:M}=Bu();function K(_,I,U){let z=_.getValue(),Q=[];z.declare&&Q.push("declare "),z.abstract&&Q.push("abstract "),Q.push("class");let X=z.id&&g(z.id,y.Trailing)||z.typeParameters&&g(z.typeParameters,y.Trailing)||z.superClass&&g(z.superClass)||s(z.extends)||s(z.mixins)||s(z.implements),ne=[],G=[];if(z.id&&ne.push(" ",U("id")),ne.push(U("typeParameters")),z.superClass){let de=[C(_,I,U),U("superTypeParameters")],H=_.call(W=>["extends ",p(W,de,I)],"superClass");X?G.push(o,x(H)):G.push(" ",H)}else G.push(c(_,I,U,"extends"));if(G.push(c(_,I,U,"mixins"),c(_,I,U,"implements")),X){let de;T(z)?de=[...ne,A(G)]:de=A([...ne,G]),Q.push(x(de,{id:E(z)}))}else Q.push(...ne,...G);return Q.push(" ",U("body")),Q}var E=f("heritageGroup");function N(_){return b(d,"",{groupId:E(_)})}function D(_){return["superClass","extends","mixins","implements"].filter(I=>Boolean(_[I])).length>1}function T(_){return _.typeParameters&&!g(_.typeParameters,y.Trailing|y.Line)&&!D(_)}function c(_,I,U,z){let Q=_.getValue();if(!s(Q[z]))return"";let X=i(_,I,!0,ne=>{let{marker:G}=ne;return G===z});return[T(Q)?b(" ",o,{groupId:F(Q.typeParameters)}):o,X,X&&d,z,x(A([o,a([",",o],_.map(U,z))]))]}function C(_,I,U){let z=U("superClass");return _.getParentNode().type==="AssignmentExpression"?x(b(["(",A([m,z]),m,")"],z)):z}function S(_,I,U){let z=_.getValue(),Q=[];return s(z.decorators)&&Q.push(M(_,I,U)),z.accessibility&&Q.push(z.accessibility+" "),z.readonly&&Q.push("readonly "),z.declare&&Q.push("declare "),z.static&&Q.push("static "),(z.type==="TSAbstractMethodDefinition"||z.abstract)&&Q.push("abstract "),z.override&&Q.push("override "),Q.push(j(_,I,U)),Q}function P(_,I,U){let z=_.getValue(),Q=[],X=I.semi?";":"";return s(z.decorators)&&Q.push(M(_,I,U)),z.accessibility&&Q.push(z.accessibility+" "),z.declare&&Q.push("declare "),z.static&&Q.push("static "),(z.type==="TSAbstractPropertyDefinition"||z.type==="TSAbstractAccessorProperty"||z.abstract)&&Q.push("abstract "),z.override&&Q.push("override "),z.readonly&&Q.push("readonly "),z.variance&&Q.push(U("variance")),(z.type==="ClassAccessorProperty"||z.type==="AccessorProperty"||z.type==="TSAbstractAccessorProperty")&&Q.push("accessor "),Q.push(B(_,I,U),R(_),L(_),w(_,I,U)),[$(_,I,U,Q," =","value"),X]}h.exports={printClass:K,printClassMethod:S,printClassProperty:P,printHardlineAfterHeritage:N}}}),wo=re({"src/language-js/print/interface.js"(l,h){"use strict";ce();var{isNonEmptyArray:s}=Bt(),{builders:{join:f,line:p,group:i,indent:a,ifBreak:o}}=yt(),{hasComment:d,identity:m,CommentCheckFlags:x}=Yt(),{getTypeParametersGroupId:A}=as(),{printTypeScriptModifiers:b}=kr();function g(y,F,j){let R=y.getValue(),w=[];R.declare&&w.push("declare "),R.type==="TSInterfaceDeclaration"&&w.push(R.abstract?"abstract ":"",b(y,F,j)),w.push("interface");let L=[],B=[];R.type!=="InterfaceTypeAnnotation"&&L.push(" ",j("id"),j("typeParameters"));let $=R.typeParameters&&!d(R.typeParameters,x.Trailing|x.Line);return s(R.extends)&&B.push($?o(" ",p,{groupId:A(R.typeParameters)}):p,"extends ",(R.extends.length===1?m:a)(f([",",p],y.map(j,"extends")))),R.id&&d(R.id,x.Trailing)||s(R.extends)?$?w.push(i([...L,a(B)])):w.push(i(a([...L,...B]))):w.push(...L,...B),w.push(" ",j("body")),i(w)}h.exports={printInterface:g}}}),ko=re({"src/language-js/print/module.js"(l,h){"use strict";ce();var{isNonEmptyArray:s}=Bt(),{builders:{softline:f,group:p,indent:i,join:a,line:o,ifBreak:d,hardline:m}}=yt(),{printDanglingComments:x}=pr(),{hasComment:A,CommentCheckFlags:b,shouldPrintComma:g,needsHardlineAfterDanglingComment:y,isStringLiteral:F,rawText:j}=Yt(),{locStart:R,hasSameLoc:w}=br(),{hasDecoratorsBeforeExport:L,printDecoratorsBeforeExport:B}=Bu();function $(P,_,I){let U=P.getValue(),z=_.semi?";":"",Q=[],{importKind:X}=U;return Q.push("import"),X&&X!=="value"&&Q.push(" ",X),Q.push(D(P,_,I),N(P,_,I),c(P,_,I),z),Q}function M(P,_,I){let U=P.getValue(),z=[];L(U)&&z.push(B(P,_,I));let{type:Q,exportKind:X,declaration:ne}=U;return z.push("export"),(U.default||Q==="ExportDefaultDeclaration")&&z.push(" default"),A(U,b.Dangling)&&(z.push(" ",x(P,_,!0)),y(U)&&z.push(m)),ne?z.push(" ",I("declaration")):z.push(X==="type"?" type":"",D(P,_,I),N(P,_,I),c(P,_,I)),E(U,_)&&z.push(";"),z}function K(P,_,I){let U=P.getValue(),z=_.semi?";":"",Q=[],{exportKind:X,exported:ne}=U;return Q.push("export"),X==="type"&&Q.push(" type"),Q.push(" *"),ne&&Q.push(" as ",I("exported")),Q.push(N(P,_,I),c(P,_,I),z),Q}function E(P,_){if(!_.semi)return!1;let{type:I,declaration:U}=P,z=P.default||I==="ExportDefaultDeclaration";if(!U)return!0;let{type:Q}=U;return!!(z&&Q!=="ClassDeclaration"&&Q!=="FunctionDeclaration"&&Q!=="TSInterfaceDeclaration"&&Q!=="DeclareClass"&&Q!=="DeclareFunction"&&Q!=="TSDeclareFunction"&&Q!=="EnumDeclaration")}function N(P,_,I){let U=P.getValue();if(!U.source)return"";let z=[];return T(U,_)||z.push(" from"),z.push(" ",I("source")),z}function D(P,_,I){let U=P.getValue();if(T(U,_))return"";let z=[" "];if(s(U.specifiers)){let Q=[],X=[];P.each(()=>{let ne=P.getValue().type;if(ne==="ExportNamespaceSpecifier"||ne==="ExportDefaultSpecifier"||ne==="ImportNamespaceSpecifier"||ne==="ImportDefaultSpecifier")Q.push(I());else if(ne==="ExportSpecifier"||ne==="ImportSpecifier")X.push(I());else throw new Error(`Unknown specifier type ${JSON.stringify(ne)}`)},"specifiers"),z.push(a(", ",Q)),X.length>0&&(Q.length>0&&z.push(", "),X.length>1||Q.length>0||U.specifiers.some(ne=>A(ne))?z.push(p(["{",i([_.bracketSpacing?o:f,a([",",o],X)]),d(g(_)?",":""),_.bracketSpacing?o:f,"}"])):z.push(["{",_.bracketSpacing?" ":"",...X,_.bracketSpacing?" ":"","}"]))}else z.push("{}");return z}function T(P,_){let{type:I,importKind:U,source:z,specifiers:Q}=P;return I!=="ImportDeclaration"||s(Q)||U==="type"?!1:!/{\s*}/.test(_.originalText.slice(R(P),R(z)))}function c(P,_,I){let U=P.getNode();return s(U.assertions)?[" assert {",_.bracketSpacing?" ":"",a(", ",P.map(I,"assertions")),_.bracketSpacing?" ":"","}"]:""}function C(P,_,I){let U=P.getNode(),{type:z}=U,Q=[],X=z==="ImportSpecifier"?U.importKind:U.exportKind;X&&X!=="value"&&Q.push(X," ");let ne=z.startsWith("Import"),G=ne?"imported":"local",de=ne?"local":"exported",H=U[G],W=U[de],fe="",Ee="";return z==="ExportNamespaceSpecifier"||z==="ImportNamespaceSpecifier"?fe="*":H&&(fe=I(G)),W&&!S(U)&&(Ee=I(de)),Q.push(fe,fe&&Ee?" as ":"",Ee),Q}function S(P){if(P.type!=="ImportSpecifier"&&P.type!=="ExportSpecifier")return!1;let{local:_,[P.type==="ImportSpecifier"?"imported":"exported"]:I}=P;if(_.type!==I.type||!w(_,I))return!1;if(F(_))return _.value===I.value&&j(_)===j(I);switch(_.type){case"Identifier":return _.name===I.name;default:return!1}}h.exports={printImportDeclaration:$,printExportDeclaration:M,printExportAllDeclaration:K,printModuleSpecifier:C}}}),Nu=re({"src/language-js/print/object.js"(l,h){"use strict";ce();var{printDanglingComments:s}=pr(),{builders:{line:f,softline:p,group:i,indent:a,ifBreak:o,hardline:d}}=yt(),{getLast:m,hasNewlineInRange:x,hasNewline:A,isNonEmptyArray:b}=Bt(),{shouldPrintComma:g,hasComment:y,getComments:F,CommentCheckFlags:j,isNextLineEmpty:R}=Yt(),{locStart:w,locEnd:L}=br(),{printOptionalToken:B,printTypeAnnotation:$}=kr(),{shouldHugFunctionParameters:M}=ss(),{shouldHugType:K}=us(),{printHardlineAfterHeritage:E}=Si();function N(D,T,c){let C=T.semi?";":"",S=D.getValue(),P;S.type==="TSTypeLiteral"?P="members":S.type==="TSInterfaceBody"?P="body":P="properties";let _=S.type==="ObjectTypeAnnotation",I=[P];_&&I.push("indexers","callProperties","internalSlots");let U=I.map(Z=>S[Z][0]).sort((Z,ue)=>w(Z)-w(ue))[0],z=D.getParentNode(0),Q=_&&z&&(z.type==="InterfaceDeclaration"||z.type==="DeclareInterface"||z.type==="DeclareClass")&&D.getName()==="body",X=S.type==="TSInterfaceBody"||Q||S.type==="ObjectPattern"&&z.type!=="FunctionDeclaration"&&z.type!=="FunctionExpression"&&z.type!=="ArrowFunctionExpression"&&z.type!=="ObjectMethod"&&z.type!=="ClassMethod"&&z.type!=="ClassPrivateMethod"&&z.type!=="AssignmentPattern"&&z.type!=="CatchClause"&&S.properties.some(Z=>Z.value&&(Z.value.type==="ObjectPattern"||Z.value.type==="ArrayPattern"))||S.type!=="ObjectPattern"&&U&&x(T.originalText,w(S),w(U)),ne=Q?";":S.type==="TSInterfaceBody"||S.type==="TSTypeLiteral"?o(C,";"):",",G=S.type==="RecordExpression"?"#{":S.exact?"{|":"{",de=S.exact?"|}":"}",H=[];for(let Z of I)D.each(ue=>{let Te=ue.getValue();H.push({node:Te,printed:c(),loc:w(Te)})},Z);I.length>1&&H.sort((Z,ue)=>Z.loc-ue.loc);let W=[],fe=H.map(Z=>{let ue=[...W,i(Z.printed)];return W=[ne,f],(Z.node.type==="TSPropertySignature"||Z.node.type==="TSMethodSignature"||Z.node.type==="TSConstructSignatureDeclaration")&&y(Z.node,j.PrettierIgnore)&&W.shift(),R(Z.node,T)&&W.push(d),ue});if(S.inexact){let Z;if(y(S,j.Dangling)){let ue=y(S,j.Line);Z=[s(D,T,!0),ue||A(T.originalText,L(m(F(S))))?d:f,"..."]}else Z=["..."];fe.push([...W,...Z])}let Ee=m(S[P]),he=!(S.inexact||Ee&&Ee.type==="RestElement"||Ee&&(Ee.type==="TSPropertySignature"||Ee.type==="TSCallSignatureDeclaration"||Ee.type==="TSMethodSignature"||Ee.type==="TSConstructSignatureDeclaration")&&y(Ee,j.PrettierIgnore)),Pe;if(fe.length===0){if(!y(S,j.Dangling))return[G,de,$(D,T,c)];Pe=i([G,s(D,T),p,de,B(D),$(D,T,c)])}else Pe=[Q&&b(S.properties)?E(z):"",G,a([T.bracketSpacing?f:p,...fe]),o(he&&(ne!==","||g(T))?ne:""),T.bracketSpacing?f:p,de,B(D),$(D,T,c)];return D.match(Z=>Z.type==="ObjectPattern"&&!Z.decorators,(Z,ue,Te)=>M(Z)&&(ue==="params"||ue==="parameters"||ue==="this"||ue==="rest")&&Te===0)||D.match(K,(Z,ue)=>ue==="typeAnnotation",(Z,ue)=>ue==="typeAnnotation",(Z,ue,Te)=>M(Z)&&(ue==="params"||ue==="parameters"||ue==="this"||ue==="rest")&&Te===0)||!X&&D.match(Z=>Z.type==="ObjectPattern",Z=>Z.type==="AssignmentExpression"||Z.type==="VariableDeclarator")?Pe:i(Pe,{shouldBreak:X})}h.exports={printObject:N}}}),yd=re({"src/language-js/print/flow.js"(l,h){"use strict";ce();var s=bi(),{printDanglingComments:f}=pr(),{printString:p,printNumber:i}=Bt(),{builders:{hardline:a,softline:o,group:d,indent:m}}=yt(),{getParentExportDeclaration:x,isFunctionNotation:A,isGetterOrSetter:b,rawText:g,shouldPrintComma:y}=Yt(),{locStart:F,locEnd:j}=br(),{replaceTextEndOfLine:R}=Di(),{printClass:w}=Si(),{printOpaqueType:L,printTypeAlias:B,printIntersectionType:$,printUnionType:M,printFunctionType:K,printTupleType:E,printIndexedAccessType:N}=us(),{printInterface:D}=wo(),{printTypeParameter:T,printTypeParameters:c}=as(),{printExportDeclaration:C,printExportAllDeclaration:S}=ko(),{printArrayItems:P}=Ci(),{printObject:_}=Nu(),{printPropertyKey:I}=Ai(),{printOptionalToken:U,printTypeAnnotation:z,printRestSpread:Q}=kr();function X(G,de,H){let W=G.getValue(),fe=de.semi?";":"",Ee=[];switch(W.type){case"DeclareClass":return ne(G,w(G,de,H));case"DeclareFunction":return ne(G,["function ",H("id"),W.predicate?" ":"",H("predicate"),fe]);case"DeclareModule":return ne(G,["module ",H("id")," ",H("body")]);case"DeclareModuleExports":return ne(G,["module.exports",": ",H("typeAnnotation"),fe]);case"DeclareVariable":return ne(G,["var ",H("id"),fe]);case"DeclareOpaqueType":return ne(G,L(G,de,H));case"DeclareInterface":return ne(G,D(G,de,H));case"DeclareTypeAlias":return ne(G,B(G,de,H));case"DeclareExportDeclaration":return ne(G,C(G,de,H));case"DeclareExportAllDeclaration":return ne(G,S(G,de,H));case"OpaqueType":return L(G,de,H);case"TypeAlias":return B(G,de,H);case"IntersectionTypeAnnotation":return $(G,de,H);case"UnionTypeAnnotation":return M(G,de,H);case"FunctionTypeAnnotation":return K(G,de,H);case"TupleTypeAnnotation":return E(G,de,H);case"GenericTypeAnnotation":return[H("id"),c(G,de,H,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return N(G,de,H);case"TypeAnnotation":return H("typeAnnotation");case"TypeParameter":return T(G,de,H);case"TypeofTypeAnnotation":return["typeof ",H("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[H("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(W.value);case"EnumDeclaration":return["enum ",H("id")," ",H("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(W.type==="EnumSymbolBody"||W.explicitType){let he=null;switch(W.type){case"EnumBooleanBody":he="boolean";break;case"EnumNumberBody":he="number";break;case"EnumStringBody":he="string";break;case"EnumSymbolBody":he="symbol";break}Ee.push("of ",he," ")}if(W.members.length===0&&!W.hasUnknownMembers)Ee.push(d(["{",f(G,de),o,"}"]));else{let he=W.members.length>0?[a,P(G,de,"members",H),W.hasUnknownMembers||y(de)?",":""]:[];Ee.push(d(["{",m([...he,...W.hasUnknownMembers?[a,"..."]:[]]),f(G,de,!0),a,"}"]))}return Ee}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[H("id")," = ",typeof W.init=="object"?H("init"):String(W.init)];case"EnumDefaultedMember":return H("id");case"FunctionTypeParam":{let he=W.name?H("name"):G.getParentNode().this===W?"this":"";return[he,U(G),he?": ":"",H("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return D(G,de,H);case"ClassImplements":case"InterfaceExtends":return[H("id"),H("typeParameters")];case"NullableTypeAnnotation":return["?",H("typeAnnotation")];case"Variance":{let{kind:he}=W;return s.ok(he==="plus"||he==="minus"),he==="plus"?"+":"-"}case"ObjectTypeCallProperty":return W.static&&Ee.push("static "),Ee.push(H("value")),Ee;case"ObjectTypeIndexer":return[W.static?"static ":"",W.variance?H("variance"):"","[",H("id"),W.id?": ":"",H("key"),"]: ",H("value")];case"ObjectTypeProperty":{let he="";return W.proto?he="proto ":W.static&&(he="static "),[he,b(W)?W.kind+" ":"",W.variance?H("variance"):"",I(G,de,H),U(G),A(W)?"":": ",H("value")]}case"ObjectTypeAnnotation":return _(G,de,H);case"ObjectTypeInternalSlot":return[W.static?"static ":"","[[",H("id"),"]]",U(G),W.method?"":": ",H("value")];case"ObjectTypeSpreadProperty":return Q(G,de,H);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[H("qualification"),".",H("id")];case"StringLiteralTypeAnnotation":return R(p(g(W),de));case"NumberLiteralTypeAnnotation":s.strictEqual(typeof W.value,"number");case"BigIntLiteralTypeAnnotation":return W.extra?i(W.extra.raw):i(W.raw);case"TypeCastExpression":return["(",H("expression"),z(G,de,H),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let he=c(G,de,H,"params");if(de.parser==="flow"){let Pe=F(W),Z=j(W),ue=de.originalText.lastIndexOf("/*",Pe),Te=de.originalText.indexOf("*/",Z);if(ue!==-1&&Te!==-1){let we=de.originalText.slice(ue+2,Te).trim();if(we.startsWith("::")&&!we.includes("/*")&&!we.includes("*/"))return["/*:: ",he," */"]}}return he}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",H("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(W.type))}}function ne(G,de){let H=x(G);return H?(s.strictEqual(H.type,"DeclareExportDeclaration"),de):["declare ",de]}h.exports={printFlow:X}}}),Dd=re({"src/language-js/utils/is-ts-keyword-type.js"(l,h){"use strict";ce();function s(f){let{type:p}=f;return p.startsWith("TS")&&p.endsWith("Keyword")}h.exports=s}}),Po=re({"src/language-js/print/ternary.js"(l,h){"use strict";ce();var{hasNewlineInRange:s}=Bt(),{isJsxNode:f,getComments:p,isCallExpression:i,isMemberExpression:a,isTSTypeExpression:o}=Yt(),{locStart:d,locEnd:m}=br(),x=Cn(),{builders:{line:A,softline:b,group:g,indent:y,align:F,ifBreak:j,dedent:R,breakParent:w}}=yt();function L(E){let N=[E];for(let D=0;D<N.length;D++){let T=N[D];for(let c of["test","consequent","alternate"]){let C=T[c];if(f(C))return!0;C.type==="ConditionalExpression"&&N.push(C)}}return!1}function B(E,N,D){let T=E.getValue(),c=T.type==="ConditionalExpression",C=c?"alternate":"falseType",S=E.getParentNode(),P=c?D("test"):[D("checkType")," ","extends"," ",D("extendsType")];return S.type===T.type&&S[C]===T?F(2,P):P}var $=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function M(E){let N=E.getValue();if(N.type!=="ConditionalExpression")return!1;let D,T=N;for(let c=0;!D;c++){let C=E.getParentNode(c);if(i(C)&&C.callee===T||a(C)&&C.object===T||C.type==="TSNonNullExpression"&&C.expression===T){T=C;continue}C.type==="NewExpression"&&C.callee===T||o(C)&&C.expression===T?(D=E.getParentNode(c+1),T=C):D=C}return T===N?!1:D[$.get(D.type)]===T}function K(E,N,D){let T=E.getValue(),c=T.type==="ConditionalExpression",C=c?"consequent":"trueType",S=c?"alternate":"falseType",P=c?["test"]:["checkType","extendsType"],_=T[C],I=T[S],U=[],z=!1,Q=E.getParentNode(),X=Q.type===T.type&&P.some(Te=>Q[Te]===T),ne=Q.type===T.type&&!X,G,de,H=0;do de=G||T,G=E.getParentNode(H),H++;while(G&&G.type===T.type&&P.every(Te=>G[Te]!==de));let W=G||Q,fe=de;if(c&&(f(T[P[0]])||f(_)||f(I)||L(fe))){z=!0,ne=!0;let Te=ze=>[j("("),y([b,ze]),b,j(")")],we=ze=>ze.type==="NullLiteral"||ze.type==="Literal"&&ze.value===null||ze.type==="Identifier"&&ze.name==="undefined";U.push(" ? ",we(_)?D(C):Te(D(C))," : ",I.type===T.type||we(I)?D(S):Te(D(S)))}else{let Te=[A,"? ",_.type===T.type?j("","("):"",F(2,D(C)),_.type===T.type?j("",")"):"",A,": ",I.type===T.type?D(S):F(2,D(S))];U.push(Q.type!==T.type||Q[S]===T||X?Te:N.useTabs?R(y(Te)):F(Math.max(0,N.tabWidth-2),Te))}let Ee=[...P.map(Te=>p(T[Te])),p(_),p(I)].flat().some(Te=>x(Te)&&s(N.originalText,d(Te),m(Te))),he=Te=>Q===W?g(Te,{shouldBreak:Ee}):Ee?[Te,w]:Te,Pe=!z&&(a(Q)||Q.type==="NGPipeExpression"&&Q.left===T)&&!Q.computed,Z=M(E),ue=he([B(E,N,D),ne?U:y(U),c&&Pe&&!Z?b:""]);return X||Z?g([y([b,ue]),b]):ue}h.exports={printTernary:K}}}),_o=re({"src/language-js/print/statement.js"(l,h){"use strict";ce();var{builders:{hardline:s}}=yt(),f=Vn(),{getLeftSidePathName:p,hasNakedLeftSide:i,isJsxNode:a,isTheOnlyJsxElementInMarkdown:o,hasComment:d,CommentCheckFlags:m,isNextLineEmpty:x}=Yt(),{shouldPrintParamsWithoutParens:A}=os();function b(B,$,M,K){let E=B.getValue(),N=[],D=E.type==="ClassBody",T=g(E[K]);return B.each((c,C,S)=>{let P=c.getValue();if(P.type==="EmptyStatement")return;let _=M();!$.semi&&!D&&!o($,c)&&y(c,$)?d(P,m.Leading)?N.push(M([],{needsSemi:!0})):N.push(";",_):N.push(_),!$.semi&&D&&w(P)&&L(P,S[C+1])&&N.push(";"),P!==T&&(N.push(s),x(P,$)&&N.push(s))},K),N}function g(B){for(let $=B.length-1;$>=0;$--){let M=B[$];if(M.type!=="EmptyStatement")return M}}function y(B,$){return B.getNode().type!=="ExpressionStatement"?!1:B.call(M=>F(M,$),"expression")}function F(B,$){let M=B.getValue();switch(M.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!A(B,$))return!0;break}case"UnaryExpression":{let{prefix:K,operator:E}=M;if(K&&(E==="+"||E==="-"))return!0;break}case"BindExpression":{if(!M.object)return!0;break}case"Literal":{if(M.regex)return!0;break}default:if(a(M))return!0}return f(B,$)?!0:i(M)?B.call(K=>F(K,$),...p(B,M)):!1}function j(B,$,M){return b(B,$,M,"body")}function R(B,$,M){return b(B,$,M,"consequent")}var w=B=>{let{type:$}=B;return $==="ClassProperty"||$==="PropertyDefinition"||$==="ClassPrivateProperty"||$==="ClassAccessorProperty"||$==="AccessorProperty"||$==="TSAbstractPropertyDefinition"||$==="TSAbstractAccessorProperty"};function L(B,$){let{type:M,name:K}=B.key;if(!B.computed&&M==="Identifier"&&(K==="static"||K==="get"||K==="set"||K==="accessor")&&!B.value&&!B.typeAnnotation)return!0;if(!$||$.static||$.accessibility)return!1;if(!$.computed){let E=$.key&&$.key.name;if(E==="in"||E==="instanceof")return!0}if(w($)&&$.variance&&!$.static&&!$.declare)return!0;switch($.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return $.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if(($.value?$.value.async:$.async)||$.kind==="get"||$.kind==="set")return!1;let E=$.value?$.value.generator:$.generator;return!!($.computed||E)}case"TSIndexSignature":return!0}return!1}h.exports={printBody:j,printSwitchCaseConsequent:R}}}),Bo=re({"src/language-js/print/block.js"(l,h){"use strict";ce();var{printDanglingComments:s}=pr(),{isNonEmptyArray:f}=Bt(),{builders:{hardline:p,indent:i}}=yt(),{hasComment:a,CommentCheckFlags:o,isNextLineEmpty:d}=Yt(),{printHardlineAfterHeritage:m}=Si(),{printBody:x}=_o();function A(g,y,F){let j=g.getValue(),R=[];if(j.type==="StaticBlock"&&R.push("static "),j.type==="ClassBody"&&f(j.body)){let L=g.getParentNode();R.push(m(L))}R.push("{");let w=b(g,y,F);if(w)R.push(i([p,w]),p);else{let L=g.getParentNode(),B=g.getParentNode(1);L.type==="ArrowFunctionExpression"||L.type==="FunctionExpression"||L.type==="FunctionDeclaration"||L.type==="ObjectMethod"||L.type==="ClassMethod"||L.type==="ClassPrivateMethod"||L.type==="ForStatement"||L.type==="WhileStatement"||L.type==="DoWhileStatement"||L.type==="DoExpression"||L.type==="CatchClause"&&!B.finalizer||L.type==="TSModuleDeclaration"||L.type==="TSDeclareFunction"||j.type==="StaticBlock"||j.type==="ClassBody"||R.push(p)}return R.push("}"),R}function b(g,y,F){let j=g.getValue(),R=f(j.directives),w=j.body.some($=>$.type!=="EmptyStatement"),L=a(j,o.Dangling);if(!R&&!w&&!L)return"";let B=[];if(R&&g.each(($,M,K)=>{B.push(F()),(M<K.length-1||w||L)&&(B.push(p),d($.getValue(),y)&&B.push(p))},"directives"),w&&B.push(x(g,y,F)),L&&B.push(s(g,y,!0)),j.type==="Program"){let $=g.getParentNode();(!$||$.type!=="ModuleExpression")&&B.push(p)}return B}h.exports={printBlock:A,printBlockBody:b}}}),Ed=re({"src/language-js/print/typescript.js"(l,h){"use strict";ce();var{printDanglingComments:s}=pr(),{hasNewlineInRange:f}=Bt(),{builders:{join:p,line:i,hardline:a,softline:o,group:d,indent:m,conditionalGroup:x,ifBreak:A}}=yt(),{isStringLiteral:b,getTypeScriptMappedTypeModifier:g,shouldPrintComma:y,isCallExpression:F,isMemberExpression:j}=Yt(),R=Dd(),{locStart:w,locEnd:L}=br(),{printOptionalToken:B,printTypeScriptModifiers:$}=kr(),{printTernary:M}=Po(),{printFunctionParameters:K,shouldGroupFunctionParameters:E}=ss(),{printTemplateLiteral:N}=$n(),{printArrayItems:D}=Ci(),{printObject:T}=Nu(),{printClassProperty:c,printClassMethod:C}=Si(),{printTypeParameter:S,printTypeParameters:P}=as(),{printPropertyKey:_}=Ai(),{printFunction:I,printMethodInternal:U}=os(),{printInterface:z}=wo(),{printBlock:Q}=Bo(),{printTypeAlias:X,printIntersectionType:ne,printUnionType:G,printFunctionType:de,printTupleType:H,printIndexedAccessType:W,printJSDocType:fe}=us();function Ee(he,Pe,Z){let ue=he.getValue();if(!ue.type.startsWith("TS"))return;if(R(ue))return ue.type.slice(2,-7).toLowerCase();let Te=Pe.semi?";":"",we=[];switch(ue.type){case"TSThisType":return"this";case"TSTypeAssertion":{let ze=!(ue.expression.type==="ArrayExpression"||ue.expression.type==="ObjectExpression"),pe=d(["<",m([o,Z("typeAnnotation")]),o,">"]),te=[A("("),m([o,Z("expression")]),o,A(")")];return ze?x([[pe,Z("expression")],[pe,d(te,{shouldBreak:!0})],[pe,Z("expression")]]):d([pe,Z("expression")])}case"TSDeclareFunction":return I(he,Z,Pe);case"TSExportAssignment":return["export = ",Z("expression"),Te];case"TSModuleBlock":return Q(he,Pe,Z);case"TSInterfaceBody":case"TSTypeLiteral":return T(he,Pe,Z);case"TSTypeAliasDeclaration":return X(he,Pe,Z);case"TSQualifiedName":return p(".",[Z("left"),Z("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return C(he,Pe,Z);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return c(he,Pe,Z);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return we.push(Z("expression")),ue.typeParameters&&we.push(Z("typeParameters")),we;case"TSTemplateLiteralType":return N(he,Z,Pe);case"TSNamedTupleMember":return[Z("label"),ue.optional?"?":"",": ",Z("elementType")];case"TSRestType":return["...",Z("typeAnnotation")];case"TSOptionalType":return[Z("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return z(he,Pe,Z);case"TSClassImplements":return[Z("expression"),Z("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return P(he,Pe,Z,"params");case"TSTypeParameter":return S(he,Pe,Z);case"TSSatisfiesExpression":case"TSAsExpression":{let ze=ue.type==="TSAsExpression"?"as":"satisfies";we.push(Z("expression"),` ${ze} `,Z("typeAnnotation"));let pe=he.getParentNode();return F(pe)&&pe.callee===ue||j(pe)&&pe.object===ue?d([m([o,...we]),o]):we}case"TSArrayType":return[Z("elementType"),"[]"];case"TSPropertySignature":return ue.readonly&&we.push("readonly "),we.push(_(he,Pe,Z),B(he)),ue.typeAnnotation&&we.push(": ",Z("typeAnnotation")),ue.initializer&&we.push(" = ",Z("initializer")),we;case"TSParameterProperty":return ue.accessibility&&we.push(ue.accessibility+" "),ue.export&&we.push("export "),ue.static&&we.push("static "),ue.override&&we.push("override "),ue.readonly&&we.push("readonly "),we.push(Z("parameter")),we;case"TSTypeQuery":return["typeof ",Z("exprName"),Z("typeParameters")];case"TSIndexSignature":{let ze=he.getParentNode(),pe=ue.parameters.length>1?A(y(Pe)?",":""):"",te=d([m([o,p([", ",o],he.map(Z,"parameters"))]),pe,o]);return[ue.export?"export ":"",ue.accessibility?[ue.accessibility," "]:"",ue.static?"static ":"",ue.readonly?"readonly ":"",ue.declare?"declare ":"","[",ue.parameters?te:"",ue.typeAnnotation?"]: ":"]",ue.typeAnnotation?Z("typeAnnotation"):"",ze.type==="ClassBody"?Te:""]}case"TSTypePredicate":return[ue.asserts?"asserts ":"",Z("parameterName"),ue.typeAnnotation?[" is ",Z("typeAnnotation")]:""];case"TSNonNullExpression":return[Z("expression"),"!"];case"TSImportType":return[ue.isTypeOf?"typeof ":"","import(",Z(ue.parameter?"parameter":"argument"),")",ue.qualifier?[".",Z("qualifier")]:"",P(he,Pe,Z,"typeParameters")];case"TSLiteralType":return Z("literal");case"TSIndexedAccessType":return W(he,Pe,Z);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(ue.type==="TSConstructorType"&&ue.abstract&&we.push("abstract "),ue.type!=="TSCallSignatureDeclaration"&&we.push("new "),we.push(d(K(he,Z,Pe,!1,!0))),ue.returnType||ue.typeAnnotation){let ze=ue.type==="TSConstructorType";we.push(ze?" => ":": ",Z("returnType"),Z("typeAnnotation"))}return we}case"TSTypeOperator":return[ue.operator," ",Z("typeAnnotation")];case"TSMappedType":{let ze=f(Pe.originalText,w(ue),L(ue));return d(["{",m([Pe.bracketSpacing?i:o,Z("typeParameter"),ue.optional?g(ue.optional,"?"):"",ue.typeAnnotation?": ":"",Z("typeAnnotation"),A(Te)]),s(he,Pe,!0),Pe.bracketSpacing?i:o,"}"],{shouldBreak:ze})}case"TSMethodSignature":{let ze=ue.kind&&ue.kind!=="method"?`${ue.kind} `:"";we.push(ue.accessibility?[ue.accessibility," "]:"",ze,ue.export?"export ":"",ue.static?"static ":"",ue.readonly?"readonly ":"",ue.abstract?"abstract ":"",ue.declare?"declare ":"",ue.computed?"[":"",Z("key"),ue.computed?"]":"",B(he));let pe=K(he,Z,Pe,!1,!0),te=ue.returnType?"returnType":"typeAnnotation",ge=ue[te],ye=ge?Z(te):"",Ne=E(ue,ye);return we.push(Ne?d(pe):pe),ge&&we.push(": ",d(ye)),d(we)}case"TSNamespaceExportDeclaration":return we.push("export as namespace ",Z("id")),Pe.semi&&we.push(";"),d(we);case"TSEnumDeclaration":return ue.declare&&we.push("declare "),ue.modifiers&&we.push($(he,Pe,Z)),ue.const&&we.push("const "),we.push("enum ",Z("id")," "),ue.members.length===0?we.push(d(["{",s(he,Pe),o,"}"])):we.push(d(["{",m([a,D(he,Pe,"members",Z),y(Pe,"es5")?",":""]),s(he,Pe,!0),a,"}"])),we;case"TSEnumMember":return ue.computed?we.push("[",Z("id"),"]"):we.push(Z("id")),ue.initializer&&we.push(" = ",Z("initializer")),we;case"TSImportEqualsDeclaration":return ue.isExport&&we.push("export "),we.push("import "),ue.importKind&&ue.importKind!=="value"&&we.push(ue.importKind," "),we.push(Z("id")," = ",Z("moduleReference")),Pe.semi&&we.push(";"),d(we);case"TSExternalModuleReference":return["require(",Z("expression"),")"];case"TSModuleDeclaration":{let ze=he.getParentNode(),pe=b(ue.id),te=ze.type==="TSModuleDeclaration",ge=ue.body&&ue.body.type==="TSModuleDeclaration";if(te)we.push(".");else{ue.declare&&we.push("declare "),we.push($(he,Pe,Z));let ye=Pe.originalText.slice(w(ue),w(ue.id));ue.id.type==="Identifier"&&ue.id.name==="global"&&!/namespace|module/.test(ye)||we.push(pe||/(?:^|\s)module(?:\s|$)/.test(ye)?"module ":"namespace ")}return we.push(Z("id")),ge?we.push(Z("body")):ue.body?we.push(" ",d(Z("body"))):we.push(Te),we}case"TSConditionalType":return M(he,Pe,Z);case"TSInferType":return["infer"," ",Z("typeParameter")];case"TSIntersectionType":return ne(he,Pe,Z);case"TSUnionType":return G(he,Pe,Z);case"TSFunctionType":return de(he,Pe,Z);case"TSTupleType":return H(he,Pe,Z);case"TSTypeReference":return[Z("typeName"),P(he,Pe,Z,"typeParameters")];case"TSTypeAnnotation":return Z("typeAnnotation");case"TSEmptyBodyFunctionExpression":return U(he,Pe,Z);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return fe(he,Z,"?");case"TSJSDocNonNullableType":return fe(he,Z,"!");case"TSInstantiationExpression":return[Z("expression"),Z("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(ue.type)}.`)}}h.exports={printTypescript:Ee}}}),vd=re({"src/language-js/print/comment.js"(l,h){"use strict";ce();var{hasNewline:s}=Bt(),{builders:{join:f,hardline:p},utils:{replaceTextEndOfLine:i}}=yt(),{isLineComment:a}=Yt(),{locStart:o,locEnd:d}=br(),m=Cn();function x(g,y){let F=g.getValue();if(a(F))return y.originalText.slice(o(F),d(F)).trimEnd();if(m(F)){if(A(F)){let w=b(F);return F.trailing&&!s(y.originalText,o(F),{backwards:!0})?[p,w]:w}let j=d(F),R=y.originalText.slice(j-3,j)==="*-/";return["/*",i(F.value),R?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(F))}function A(g){let y=`*${g.value}*`.split(`
|
|
134
|
-
`);return
|
|
135
|
-
`);return["/*",f(p,y.map((F,j)=>j===0?F.trimEnd():" "+(j<y.length-1?F.trim():F.trimStart()))),"*/"]}h.exports={printComment:x}}}),bd=re({"src/language-js/print/literal.js"(l,h){"use strict";ce();var{printString:s,printNumber:f}=Bt(),{replaceTextEndOfLine:p}=Di(),{printDirective:i}=kr();function a(x,A){let b=x.getNode();switch(b.type){case"RegExpLiteral":return m(b);case"BigIntLiteral":return d(b.bigint||b.extra.raw);case"NumericLiteral":return f(b.extra.raw);case"StringLiteral":return p(s(b.extra.raw,A));case"NullLiteral":return"null";case"BooleanLiteral":return String(b.value);case"DecimalLiteral":return f(b.value)+"m";case"Literal":{if(b.regex)return m(b.regex);if(b.bigint)return d(b.raw);if(b.decimal)return f(b.decimal)+"m";let{value:g}=b;return typeof g=="number"?f(b.raw):typeof g=="string"?o(x)?i(b.raw,A):p(s(b.raw,A)):String(g)}}}function o(x){if(x.getName()!=="expression")return;let A=x.getParentNode();return A.type==="ExpressionStatement"&&A.directive}function d(x){return x.toLowerCase()}function m(x){let{pattern:A,flags:b}=x;return b=[...b].sort().join(""),`/${A}/${b}`}h.exports={printLiteral:a}}}),Cd=re({"src/language-js/printer-estree.js"(l,h){"use strict";ce();var{printDanglingComments:s}=pr(),{hasNewline:f}=Bt(),{builders:{join:p,line:i,hardline:a,softline:o,group:d,indent:m},utils:{replaceTextEndOfLine:x}}=yt(),A=nd(),b=id(),{insertPragma:g}=Co(),y=xo(),F=Vn(),j=Ao(),{hasFlowShorthandAnnotationComment:R,hasComment:w,CommentCheckFlags:L,isTheOnlyJsxElementInMarkdown:B,isLineComment:$,isNextLineEmpty:M,needsHardlineAfterDanglingComment:K,hasIgnoreComment:E,isCallExpression:N,isMemberExpression:D,markerForIfWithoutBlockAndSameLineComment:T}=Yt(),{locStart:c,locEnd:C}=br(),S=Cn(),{printHtmlBinding:P,isVueEventBindingExpression:_}=dd(),{printAngular:I}=hd(),{printJsx:U,hasJsxIgnoreComment:z}=gd(),{printFlow:Q}=yd(),{printTypescript:X}=Ed(),{printOptionalToken:ne,printBindExpressionCallee:G,printTypeAnnotation:de,adjustClause:H,printRestSpread:W,printDefiniteToken:fe,printDirective:Ee}=kr(),{printImportDeclaration:he,printExportDeclaration:Pe,printExportAllDeclaration:Z,printModuleSpecifier:ue}=ko(),{printTernary:Te}=Po(),{printTemplateLiteral:we}=$n(),{printArray:ze}=Ci(),{printObject:pe}=Nu(),{printClass:te,printClassMethod:ge,printClassProperty:ye}=Si(),{printProperty:Ne}=Ai(),{printFunction:je,printArrowFunction:Ve,printMethod:st,printReturnStatement:At,printThrowStatement:Et}=os(),{printCallExpression:it}=To(),{printVariableDeclarator:ct,printAssignmentExpression:xe}=xi(),{printBinaryishExpression:ee}=_u(),{printSwitchCaseConsequent:ke}=_o(),{printMemberExpression:le}=Fo(),{printBlock:Fe,printBlockBody:Qe}=Bo(),{printComment:We}=vd(),{printLiteral:_e}=bd(),{printDecorators:k}=Bu();function ie(Ge,nt,Ue,nr){let Ze=ve(Ge,nt,Ue,nr);if(!Ze)return"";let Kt=Ge.getValue(),{type:Ke}=Kt;if(Ke==="ClassMethod"||Ke==="ClassPrivateMethod"||Ke==="ClassProperty"||Ke==="ClassAccessorProperty"||Ke==="AccessorProperty"||Ke==="TSAbstractAccessorProperty"||Ke==="PropertyDefinition"||Ke==="TSAbstractPropertyDefinition"||Ke==="ClassPrivateProperty"||Ke==="MethodDefinition"||Ke==="TSAbstractMethodDefinition"||Ke==="TSDeclareMethod")return Ze;let pt=[Ze],Ct=k(Ge,nt,Ue),Jt=Kt.type==="ClassExpression"&&Ct;if(Ct&&(pt=[...Ct,Ze],!Jt))return d(pt);if(!F(Ge,nt))return nr&&nr.needsSemi&&pt.unshift(";"),pt.length===1&&pt[0]===Ze?Ze:pt;if(Jt&&(pt=[m([i,...pt])]),pt.unshift("("),nr&&nr.needsSemi&&pt.unshift(";"),R(Kt)){let[et]=Kt.trailingComments;pt.push(" /*",et.value.trimStart(),"*/"),et.printed=!0}return Jt&&pt.push(i),pt.push(")"),pt}function ve(Ge,nt,Ue,nr){let Ze=Ge.getValue(),Kt=nt.semi?";":"";if(!Ze)return"";if(typeof Ze=="string")return Ze;for(let pt of[_e,P,I,U,Q,X]){let Ct=pt(Ge,nt,Ue);if(typeof Ct<"u")return Ct}let Ke=[];switch(Ze.type){case"JsExpressionRoot":return Ue("node");case"JsonRoot":return[Ue("node"),a];case"File":return Ze.program&&Ze.program.interpreter&&Ke.push(Ue(["program","interpreter"])),Ke.push(Ue("program")),Ke;case"Program":return Qe(Ge,nt,Ue);case"EmptyStatement":return"";case"ExpressionStatement":{if(nt.parser==="__vue_event_binding"||nt.parser==="__vue_ts_event_binding"){let Ct=Ge.getParentNode();if(Ct.type==="Program"&&Ct.body.length===1&&Ct.body[0]===Ze)return[Ue("expression"),_(Ze.expression)?";":""]}let pt=s(Ge,nt,!0,Ct=>{let{marker:Jt}=Ct;return Jt===T});return[Ue("expression"),B(nt,Ge)?"":Kt,pt?[" ",pt]:""]}case"ParenthesizedExpression":return!w(Ze.expression)&&(Ze.expression.type==="ObjectExpression"||Ze.expression.type==="ArrayExpression")?["(",Ue("expression"),")"]:d(["(",m([o,Ue("expression")]),o,")"]);case"AssignmentExpression":return xe(Ge,nt,Ue);case"VariableDeclarator":return ct(Ge,nt,Ue);case"BinaryExpression":case"LogicalExpression":return ee(Ge,nt,Ue);case"AssignmentPattern":return[Ue("left")," = ",Ue("right")];case"OptionalMemberExpression":case"MemberExpression":return le(Ge,nt,Ue);case"MetaProperty":return[Ue("meta"),".",Ue("property")];case"BindExpression":return Ze.object&&Ke.push(Ue("object")),Ke.push(d(m([o,G(Ge,nt,Ue)]))),Ke;case"Identifier":return[Ze.name,ne(Ge),fe(Ge),de(Ge,nt,Ue)];case"V8IntrinsicIdentifier":return["%",Ze.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return W(Ge,nt,Ue);case"FunctionDeclaration":case"FunctionExpression":return je(Ge,Ue,nt,nr);case"ArrowFunctionExpression":return Ve(Ge,nt,Ue,nr);case"YieldExpression":return Ke.push("yield"),Ze.delegate&&Ke.push("*"),Ze.argument&&Ke.push(" ",Ue("argument")),Ke;case"AwaitExpression":{if(Ke.push("await"),Ze.argument){Ke.push(" ",Ue("argument"));let pt=Ge.getParentNode();if(N(pt)&&pt.callee===Ze||D(pt)&&pt.object===Ze){Ke=[m([o,...Ke]),o];let Ct=Ge.findAncestor(Jt=>Jt.type==="AwaitExpression"||Jt.type==="BlockStatement");if(!Ct||Ct.type!=="AwaitExpression")return d(Ke)}}return Ke}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Pe(Ge,nt,Ue);case"ExportAllDeclaration":return Z(Ge,nt,Ue);case"ImportDeclaration":return he(Ge,nt,Ue);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return ue(Ge,nt,Ue);case"ImportAttribute":return[Ue("key"),": ",Ue("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Fe(Ge,nt,Ue);case"ThrowStatement":return Et(Ge,nt,Ue);case"ReturnStatement":return At(Ge,nt,Ue);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return it(Ge,nt,Ue);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return pe(Ge,nt,Ue);case"ObjectProperty":case"Property":return Ze.method||Ze.kind==="get"||Ze.kind==="set"?st(Ge,nt,Ue):Ne(Ge,nt,Ue);case"ObjectMethod":return st(Ge,nt,Ue);case"Decorator":return["@",Ue("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return ze(Ge,nt,Ue);case"SequenceExpression":{let pt=Ge.getParentNode(0);if(pt.type==="ExpressionStatement"||pt.type==="ForStatement"){let Ct=[];return Ge.each((Jt,et)=>{et===0?Ct.push(Ue()):Ct.push(",",m([i,Ue()]))},"expressions"),d(Ct)}return d(p([",",i],Ge.map(Ue,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Ue("value"),Kt];case"DirectiveLiteral":return Ee(Ze.extra.raw,nt);case"UnaryExpression":return Ke.push(Ze.operator),/[a-z]$/.test(Ze.operator)&&Ke.push(" "),w(Ze.argument)?Ke.push(d(["(",m([o,Ue("argument")]),o,")"])):Ke.push(Ue("argument")),Ke;case"UpdateExpression":return Ke.push(Ue("argument"),Ze.operator),Ze.prefix&&Ke.reverse(),Ke;case"ConditionalExpression":return Te(Ge,nt,Ue);case"VariableDeclaration":{let pt=Ge.map(Ue,"declarations"),Ct=Ge.getParentNode(),Jt=Ct.type==="ForStatement"||Ct.type==="ForInStatement"||Ct.type==="ForOfStatement",et=Ze.declarations.some(ht=>ht.init),Dt;return pt.length===1&&!w(Ze.declarations[0])?Dt=pt[0]:pt.length>0&&(Dt=m(pt[0])),Ke=[Ze.declare?"declare ":"",Ze.kind,Dt?[" ",Dt]:"",m(pt.slice(1).map(ht=>[",",et&&!Jt?a:i,ht]))],Jt&&Ct.body!==Ze||Ke.push(Kt),d(Ke)}case"WithStatement":return d(["with (",Ue("object"),")",H(Ze.body,Ue("body"))]);case"IfStatement":{let pt=H(Ze.consequent,Ue("consequent")),Ct=d(["if (",d([m([o,Ue("test")]),o]),")",pt]);if(Ke.push(Ct),Ze.alternate){let Jt=w(Ze.consequent,L.Trailing|L.Line)||K(Ze),et=Ze.consequent.type==="BlockStatement"&&!Jt;Ke.push(et?" ":a),w(Ze,L.Dangling)&&Ke.push(s(Ge,nt,!0),Jt?a:" "),Ke.push("else",d(H(Ze.alternate,Ue("alternate"),Ze.alternate.type==="IfStatement")))}return Ke}case"ForStatement":{let pt=H(Ze.body,Ue("body")),Ct=s(Ge,nt,!0),Jt=Ct?[Ct,o]:"";return!Ze.init&&!Ze.test&&!Ze.update?[Jt,d(["for (;;)",pt])]:[Jt,d(["for (",d([m([o,Ue("init"),";",i,Ue("test"),";",i,Ue("update")]),o]),")",pt])]}case"WhileStatement":return d(["while (",d([m([o,Ue("test")]),o]),")",H(Ze.body,Ue("body"))]);case"ForInStatement":return d(["for (",Ue("left")," in ",Ue("right"),")",H(Ze.body,Ue("body"))]);case"ForOfStatement":return d(["for",Ze.await?" await":""," (",Ue("left")," of ",Ue("right"),")",H(Ze.body,Ue("body"))]);case"DoWhileStatement":{let pt=H(Ze.body,Ue("body"));return Ke=[d(["do",pt])],Ze.body.type==="BlockStatement"?Ke.push(" "):Ke.push(a),Ke.push("while (",d([m([o,Ue("test")]),o]),")",Kt),Ke}case"DoExpression":return[Ze.async?"async ":"","do ",Ue("body")];case"BreakStatement":return Ke.push("break"),Ze.label&&Ke.push(" ",Ue("label")),Ke.push(Kt),Ke;case"ContinueStatement":return Ke.push("continue"),Ze.label&&Ke.push(" ",Ue("label")),Ke.push(Kt),Ke;case"LabeledStatement":return Ze.body.type==="EmptyStatement"?[Ue("label"),":;"]:[Ue("label"),": ",Ue("body")];case"TryStatement":return["try ",Ue("block"),Ze.handler?[" ",Ue("handler")]:"",Ze.finalizer?[" finally ",Ue("finalizer")]:""];case"CatchClause":if(Ze.param){let pt=w(Ze.param,Jt=>!S(Jt)||Jt.leading&&f(nt.originalText,C(Jt))||Jt.trailing&&f(nt.originalText,c(Jt),{backwards:!0})),Ct=Ue("param");return["catch ",pt?["(",m([o,Ct]),o,") "]:["(",Ct,") "],Ue("body")]}return["catch ",Ue("body")];case"SwitchStatement":return[d(["switch (",m([o,Ue("discriminant")]),o,")"])," {",Ze.cases.length>0?m([a,p(a,Ge.map((pt,Ct,Jt)=>{let et=pt.getValue();return[Ue(),Ct!==Jt.length-1&&M(et,nt)?a:""]},"cases"))]):"",a,"}"];case"SwitchCase":{Ze.test?Ke.push("case ",Ue("test"),":"):Ke.push("default:"),w(Ze,L.Dangling)&&Ke.push(" ",s(Ge,nt,!0));let pt=Ze.consequent.filter(Ct=>Ct.type!=="EmptyStatement");if(pt.length>0){let Ct=ke(Ge,nt,Ue);Ke.push(pt.length===1&&pt[0].type==="BlockStatement"?[" ",Ct]:m([a,Ct]))}return Ke}case"DebuggerStatement":return["debugger",Kt];case"ClassDeclaration":case"ClassExpression":return te(Ge,nt,Ue);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return ge(Ge,nt,Ue);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ye(Ge,nt,Ue);case"TemplateElement":return x(Ze.value.raw);case"TemplateLiteral":return we(Ge,Ue,nt);case"TaggedTemplateExpression":return[Ue("tag"),Ue("typeParameters"),Ue("quasi")];case"PrivateIdentifier":return["#",Ue("name")];case"PrivateName":return["#",Ue("id")];case"InterpreterDirective":return Ke.push("#!",Ze.value,a),M(Ze,nt)&&Ke.push(a),Ke;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Ke.push("module {");let pt=Ue("body");return pt&&Ke.push(m([a,pt]),a),Ke.push("}"),Ke}default:throw new Error("unknown type: "+JSON.stringify(Ze.type))}}function Me(Ge){return Ge.type&&!S(Ge)&&!$(Ge)&&Ge.type!=="EmptyStatement"&&Ge.type!=="TemplateElement"&&Ge.type!=="Import"&&Ge.type!=="TSEmptyBodyFunctionExpression"}h.exports={preprocess:j,print:ie,embed:A,insertPragma:g,massageAstNode:b,hasPrettierIgnore(Ge){return E(Ge)||z(Ge)},willPrintOwnComments:y.willPrintOwnComments,canAttachComment:Me,printComment:We,isBlockComment:S,handleComments:{avoidAstMutation:!0,ownLine:y.handleOwnLineComment,endOfLine:y.handleEndOfLineComment,remaining:y.handleRemainingComment},getCommentChildNodes:y.getCommentChildNodes}}}),xd=re({"src/language-js/printer-estree-json.js"(l,h){"use strict";ce();var{builders:{hardline:s,indent:f,join:p}}=yt(),i=Ao();function a(x,A,b){let g=x.getValue();switch(g.type){case"JsonRoot":return[b("node"),s];case"ArrayExpression":{if(g.elements.length===0)return"[]";let y=x.map(()=>x.getValue()===null?"null":b(),"elements");return["[",f([s,p([",",s],y)]),s,"]"]}case"ObjectExpression":return g.properties.length===0?"{}":["{",f([s,p([",",s],x.map(b,"properties"))]),s,"}"];case"ObjectProperty":return[b("key"),": ",b("value")];case"UnaryExpression":return[g.operator==="+"?"":g.operator,b("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return g.value?"true":"false";case"StringLiteral":return JSON.stringify(g.value);case"NumericLiteral":return o(x)?JSON.stringify(String(g.value)):JSON.stringify(g.value);case"Identifier":return o(x)?JSON.stringify(g.name):g.name;case"TemplateLiteral":return b(["quasis",0]);case"TemplateElement":return JSON.stringify(g.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(g.type))}}function o(x){return x.getName()==="key"&&x.getParentNode().type==="ObjectProperty"}var d=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function m(x,A){let{type:b}=x;if(b==="ObjectProperty"){let{key:g}=x;g.type==="Identifier"?A.key={type:"StringLiteral",value:g.name}:g.type==="NumericLiteral"&&(A.key={type:"StringLiteral",value:String(g.value)});return}if(b==="UnaryExpression"&&x.operator==="+")return A.argument;if(b==="ArrayExpression"){for(let[g,y]of x.elements.entries())y===null&&A.elements.splice(g,0,{type:"NullLiteral"});return}if(b==="TemplateLiteral")return{type:"StringLiteral",value:x.quasis[0].value.cooked}}m.ignoredProperties=d,h.exports={preprocess:i,print:a,massageAstNode:m}}}),Un=re({"src/common/common-options.js"(l,h){"use strict";ce();var s="Common";h.exports={bracketSpacing:{since:"0.0.0",category:s,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:s,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:s,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:s,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:s,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Ad=re({"src/language-js/options.js"(l,h){"use strict";ce();var s=Un(),f="JavaScript";h.exports={arrowParens:{since:"1.9.0",category:f,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:s.bracketSameLine,bracketSpacing:s.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:f,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:f,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:s.singleQuote,jsxSingleQuote:{since:"1.15.0",category:f,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:f,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:f,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:s.singleAttributePerLine}}}),Sd=re({"src/language-js/parse/parsers.js"(){ce()}}),Iu=re({"node_modules/linguist-languages/data/JavaScript.json"(l,h){h.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),Fd=re({"node_modules/linguist-languages/data/TypeScript.json"(l,h){h.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Td=re({"node_modules/linguist-languages/data/TSX.json"(l,h){h.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),No=re({"node_modules/linguist-languages/data/JSON.json"(l,h){h.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),wd=re({"node_modules/linguist-languages/data/JSON with Comments.json"(l,h){h.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),kd=re({"node_modules/linguist-languages/data/JSON5.json"(l,h){h.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Pd=re({"src/language-js/index.js"(l,h){"use strict";ce();var s=bn(),f=Cd(),p=xd(),i=Ad(),a=Sd(),o=[s(Iu(),m=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...m.interpreters,"zx"],extensions:[...m.extensions.filter(x=>x!==".jsx"),".wxs"]})),s(Iu(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),s(Iu(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),s(Fd(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),s(Td(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),s(No(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),s(No(),m=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:m.extensions.filter(x=>x!==".jsonl")})),s(wd(),m=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...m.filenames,".eslintrc",".swcrc"]})),s(kd(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],d={estree:f,"estree-json":p};h.exports={languages:o,options:i,printers:d,parsers:a}}}),_d=re({"src/language-css/clean.js"(l,h){"use strict";ce();var{isFrontMatterNode:s}=Bt(),f=Be(),p=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function i(o,d,m){if(s(o)&&o.lang==="yaml"&&delete d.value,o.type==="css-comment"&&m.type==="css-root"&&m.nodes.length>0&&((m.nodes[0]===o||s(m.nodes[0])&&m.nodes[1]===o)&&(delete d.text,/^\*\s*@(?:format|prettier)\s*$/.test(o.text))||m.type==="css-root"&&f(m.nodes)===o))return null;if(o.type==="value-root"&&delete d.text,(o.type==="media-query"||o.type==="media-query-list"||o.type==="media-feature-expression")&&delete d.value,o.type==="css-rule"&&delete d.params,o.type==="selector-combinator"&&(d.value=d.value.replace(/\s+/g," ")),o.type==="media-feature"&&(d.value=d.value.replace(/ /g,"")),(o.type==="value-word"&&(o.isColor&&o.isHex||["initial","inherit","unset","revert"].includes(d.value.replace().toLowerCase()))||o.type==="media-feature"||o.type==="selector-root-invalid"||o.type==="selector-pseudo")&&(d.value=d.value.toLowerCase()),o.type==="css-decl"&&(d.prop=d.prop.toLowerCase()),(o.type==="css-atrule"||o.type==="css-import")&&(d.name=d.name.toLowerCase()),o.type==="value-number"&&(d.unit=d.unit.toLowerCase()),(o.type==="media-feature"||o.type==="media-keyword"||o.type==="media-type"||o.type==="media-unknown"||o.type==="media-url"||o.type==="media-value"||o.type==="selector-attribute"||o.type==="selector-string"||o.type==="selector-class"||o.type==="selector-combinator"||o.type==="value-string")&&d.value&&(d.value=a(d.value)),o.type==="selector-attribute"&&(d.attribute=d.attribute.trim(),d.namespace&&typeof d.namespace=="string"&&(d.namespace=d.namespace.trim(),d.namespace.length===0&&(d.namespace=!0)),d.value&&(d.value=d.value.trim().replace(/^["']|["']$/g,""),delete d.quoted)),(o.type==="media-value"||o.type==="media-type"||o.type==="value-number"||o.type==="selector-root-invalid"||o.type==="selector-class"||o.type==="selector-combinator"||o.type==="selector-tag")&&d.value&&(d.value=d.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(x,A,b)=>{let g=Number(A);return Number.isNaN(g)?x:g+b.toLowerCase()})),o.type==="selector-tag"){let x=o.value.toLowerCase();["from","to"].includes(x)&&(d.value=x)}if(o.type==="css-atrule"&&o.name.toLowerCase()==="supports"&&delete d.value,o.type==="selector-unknown"&&delete d.value,o.type==="value-comma_group"){let x=o.groups.findIndex(A=>A.type==="value-number"&&A.unit==="...");x!==-1&&(d.groups[x].unit="",d.groups.splice(x+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(o.type==="value-comma_group"&&o.groups.some(x=>x.type==="value-atword"&&x.value.endsWith("[")||x.type==="value-word"&&x.value.startsWith("]")))return{type:"value-atword",value:o.groups.map(x=>x.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}i.ignoredProperties=p;function a(o){return o.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}h.exports=i}}),Ou=re({"src/utils/front-matter/print.js"(l,h){"use strict";ce();var{builders:{hardline:s,markAsRoot:f}}=yt();function p(i,a){if(i.lang==="yaml"){let o=i.value.trim(),d=o?a(o,{parser:"yaml"},{stripTrailingHardline:!0}):"";return f([i.startDelimiter,s,d,d?s:"",i.endDelimiter])}}h.exports=p}}),Bd=re({"src/language-css/embed.js"(l,h){"use strict";ce();var{builders:{hardline:s}}=yt(),f=Ou();function p(i,a,o){let d=i.getValue();if(d.type==="front-matter"){let m=f(d,o);return m?[m,s]:""}}h.exports=p}}),Io=re({"src/utils/front-matter/parse.js"(l,h){"use strict";ce();var s=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function f(p){let i=p.match(s);if(!i)return{content:p};let{startDelimiter:a,language:o,value:d="",endDelimiter:m}=i.groups,x=o.trim()||"yaml";if(a==="+++"&&(x="toml"),x!=="yaml"&&a!==m)return{content:p};let[A]=i;return{frontMatter:{type:"front-matter",lang:x,value:d,startDelimiter:a,endDelimiter:m,raw:A.replace(/\n$/,"")},content:A.replace(/[^\n]/g," ")+p.slice(A.length)}}h.exports=f}}),Nd=re({"src/language-css/pragma.js"(l,h){"use strict";ce();var s=Co(),f=Io();function p(a){return s.hasPragma(f(a).content)}function i(a){let{frontMatter:o,content:d}=f(a);return(o?o.raw+`
|
|
129
|
+
`)+$}g.exports={hasPragma:D,insertPragma:A}}}),ah=ie({"src/language-js/utils/is-type-cast-comment.js"(c,g){"use strict";pe();var u=Ln();function d(h){return u(h)&&h.value[0]==="*"&&/@(?:type|satisfies)\b/.test(h.value)}g.exports=d}}),vo=ie({"src/language-js/comments.js"(c,g){"use strict";pe();var{getLast:u,hasNewline:d,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:h,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:o,addLeadingComment:l,addTrailingComment:m,addDanglingComment:D,getNextNonSpaceNonCommentCharacterIndex:A,isNonEmptyArray:F}=Mt(),{getFunctionParameters:C,isPrettierIgnoreComment:y,isJsxNode:E,hasFlowShorthandAnnotationComment:w,hasFlowAnnotationComment:$,hasIgnoreComment:V,isCallLikeExpression:_,getCallArguments:M,isCallExpression:L,isMemberExpression:G,isObjectProperty:U,isLineComment:ee,getComments:v,CommentCheckFlags:O,markerForIfWithoutBlockAndSameLineComment:x}=Kt(),{locStart:T,locEnd:f}=Ar(),b=Ln(),S=ah();function I(Be){return[re,Qe,de,H,ue,W,xe,Ge,Ee,Me,pt,Pt,Pe,fe,ne].some(P=>P(Be))}function N(Be){return[Z,Qe,Q,pt,H,ue,W,xe,fe,ge,Ne,Me,yt,ne,ce].some(P=>P(Be))}function R(Be){return[re,H,ue,Y,ke,Pe,Me,Te,oe,_e,ne,Ae].some(P=>P(Be))}function q(Be,P){let ae=(Be.body||Be.properties).find(ve=>{let{type:Ve}=ve;return Ve!=="EmptyStatement"});ae?l(ae,P):D(Be,P)}function z(Be,P){Be.type==="BlockStatement"?q(Be,P):l(Be,P)}function Z(Be){let{comment:P,followingNode:ae}=Be;return ae&&S(P)?(l(ae,P),!0):!1}function H(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve,text:We}=Be;if((ve==null?void 0:ve.type)!=="IfStatement"||!Ve)return!1;if(s(We,P,f)===")")return m(ae,P),!0;if(ae===ve.consequent&&Ve===ve.alternate){if(ae.type==="BlockStatement")m(ae,P);else{let lt=P.type==="SingleLine"||P.loc.start.line===P.loc.end.line,qe=P.loc.start.line===ae.loc.start.line;lt&&qe?D(ae,P,x):D(ve,P)}return!0}return Ve.type==="BlockStatement"?(q(Ve,P),!0):Ve.type==="IfStatement"?(z(Ve.consequent,P),!0):ve.consequent===Ve?(l(Ve,P),!0):!1}function ue(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve,text:We}=Be;return(ve==null?void 0:ve.type)!=="WhileStatement"||!Ve?!1:s(We,P,f)===")"?(m(ae,P),!0):Ve.type==="BlockStatement"?(q(Ve,P),!0):ve.body===Ve?(l(Ve,P),!0):!1}function W(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve}=Be;return(ve==null?void 0:ve.type)!=="TryStatement"&&(ve==null?void 0:ve.type)!=="CatchClause"||!Ve?!1:ve.type==="CatchClause"&&ae?(m(ae,P),!0):Ve.type==="BlockStatement"?(q(Ve,P),!0):Ve.type==="TryStatement"?(z(Ve.finalizer,P),!0):Ve.type==="CatchClause"?(z(Ve.body,P),!0):!1}function de(Be){let{comment:P,enclosingNode:ae,followingNode:ve}=Be;return G(ae)&&(ve==null?void 0:ve.type)==="Identifier"?(l(ae,P),!0):!1}function Q(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve,text:We}=Be,lt=ae&&!o(We,f(ae),T(P));return(!ae||!lt)&&((ve==null?void 0:ve.type)==="ConditionalExpression"||(ve==null?void 0:ve.type)==="TSConditionalType")&&Ve?(l(Ve,P),!0):!1}function Y(Be){let{comment:P,precedingNode:ae,enclosingNode:ve}=Be;return U(ve)&&ve.shorthand&&ve.key===ae&&ve.value.type==="AssignmentPattern"?(m(ve.value.left,P),!0):!1}var he=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function xe(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve}=Be;if(he.has(ve==null?void 0:ve.type)){if(F(ve.decorators)&&!(Ve&&Ve.type==="Decorator"))return m(u(ve.decorators),P),!0;if(ve.body&&Ve===ve.body)return q(ve.body,P),!0;if(Ve){if(ve.superClass&&Ve===ve.superClass&&ae&&(ae===ve.id||ae===ve.typeParameters))return m(ae,P),!0;for(let We of["implements","extends","mixins"])if(ve[We]&&Ve===ve[We][0])return ae&&(ae===ve.id||ae===ve.typeParameters||ae===ve.superClass)?m(ae,P):D(ve,P,We),!0}}return!1}var me=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Pe(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,text:Ve}=Be;return ve&&ae&&s(Ve,P,f)==="("&&(ve.type==="Property"||ve.type==="TSDeclareMethod"||ve.type==="TSAbstractMethodDefinition")&&ae.type==="Identifier"&&ve.key===ae&&s(Ve,ae,f)!==":"||(ae==null?void 0:ae.type)==="Decorator"&&me.has(ve==null?void 0:ve.type)?(m(ae,P),!0):!1}var te=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function oe(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,text:Ve}=Be;return s(Ve,P,f)!=="("?!1:ae&&te.has(ve==null?void 0:ve.type)?(m(ae,P),!0):!1}function Te(Be){let{comment:P,enclosingNode:ae,text:ve}=Be;if((ae==null?void 0:ae.type)!=="ArrowFunctionExpression")return!1;let Ve=A(ve,P,f);return Ve!==!1&&ve.slice(Ve,Ve+2)==="=>"?(D(ae,P),!0):!1}function ke(Be){let{comment:P,enclosingNode:ae,text:ve}=Be;return s(ve,P,f)!==")"?!1:ae&&(we(ae)&&C(ae).length===0||_(ae)&&M(ae).length===0)?(D(ae,P),!0):((ae==null?void 0:ae.type)==="MethodDefinition"||(ae==null?void 0:ae.type)==="TSAbstractMethodDefinition")&&C(ae.value).length===0?(D(ae.value,P),!0):!1}function Qe(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve,text:We}=Be;if((ae==null?void 0:ae.type)==="FunctionTypeParam"&&(ve==null?void 0:ve.type)==="FunctionTypeAnnotation"&&(Ve==null?void 0:Ve.type)!=="FunctionTypeParam"||((ae==null?void 0:ae.type)==="Identifier"||(ae==null?void 0:ae.type)==="AssignmentPattern")&&ve&&we(ve)&&s(We,P,f)===")")return m(ae,P),!0;if((ve==null?void 0:ve.type)==="FunctionDeclaration"&&(Ve==null?void 0:Ve.type)==="BlockStatement"){let lt=(()=>{let qe=C(ve);if(qe.length>0)return h(We,f(u(qe)));let ir=h(We,f(ve.id));return ir!==!1&&h(We,ir+1)})();if(T(P)>lt)return q(Ve,P),!0}return!1}function fe(Be){let{comment:P,enclosingNode:ae}=Be;return(ae==null?void 0:ae.type)==="LabeledStatement"?(l(ae,P),!0):!1}function ne(Be){let{comment:P,enclosingNode:ae}=Be;return((ae==null?void 0:ae.type)==="ContinueStatement"||(ae==null?void 0:ae.type)==="BreakStatement")&&!ae.label?(m(ae,P),!0):!1}function ge(Be){let{comment:P,precedingNode:ae,enclosingNode:ve}=Be;return L(ve)&&ae&&ve.callee===ae&&ve.arguments.length>0?(l(ve.arguments[0],P),!0):!1}function Ee(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve}=Be;return(ve==null?void 0:ve.type)==="UnionTypeAnnotation"||(ve==null?void 0:ve.type)==="TSUnionType"?(y(P)&&(Ve.prettierIgnore=!0,P.unignore=!0),ae?(m(ae,P),!0):!1):(((Ve==null?void 0:Ve.type)==="UnionTypeAnnotation"||(Ve==null?void 0:Ve.type)==="TSUnionType")&&y(P)&&(Ve.types[0].prettierIgnore=!0,P.unignore=!0),!1)}function Ne(Be){let{comment:P,enclosingNode:ae}=Be;return U(ae)?(l(ae,P),!0):!1}function Me(Be){let{comment:P,enclosingNode:ae,followingNode:ve,ast:Ve,isLastComment:We}=Be;return Ve&&Ve.body&&Ve.body.length===0?(We?D(Ve,P):l(Ve,P),!0):(ae==null?void 0:ae.type)==="Program"&&(ae==null?void 0:ae.body.length)===0&&!F(ae.directives)?(We?D(ae,P):l(ae,P),!0):(ve==null?void 0:ve.type)==="Program"&&(ve==null?void 0:ve.body.length)===0&&(ae==null?void 0:ae.type)==="ModuleExpression"?(D(ve,P),!0):!1}function Ge(Be){let{comment:P,enclosingNode:ae}=Be;return(ae==null?void 0:ae.type)==="ForInStatement"||(ae==null?void 0:ae.type)==="ForOfStatement"?(l(ae,P),!0):!1}function pt(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,text:Ve}=Be;if((ve==null?void 0:ve.type)==="ImportSpecifier"||(ve==null?void 0:ve.type)==="ExportSpecifier")return l(ve,P),!0;let We=(ae==null?void 0:ae.type)==="ImportSpecifier"&&(ve==null?void 0:ve.type)==="ImportDeclaration",lt=(ae==null?void 0:ae.type)==="ExportSpecifier"&&(ve==null?void 0:ve.type)==="ExportNamedDeclaration";return(We||lt)&&d(Ve,f(P))?(m(ae,P),!0):!1}function Pt(Be){let{comment:P,enclosingNode:ae}=Be;return(ae==null?void 0:ae.type)==="AssignmentPattern"?(l(ae,P),!0):!1}var wt=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ct=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function yt(Be){let{comment:P,enclosingNode:ae,followingNode:ve}=Be;return wt.has(ae==null?void 0:ae.type)&&ve&&(ct.has(ve.type)||b(P))?(l(ve,P),!0):!1}function Ae(Be){let{comment:P,enclosingNode:ae,followingNode:ve,text:Ve}=Be;return!ve&&((ae==null?void 0:ae.type)==="TSMethodSignature"||(ae==null?void 0:ae.type)==="TSDeclareFunction"||(ae==null?void 0:ae.type)==="TSAbstractMethodDefinition")&&s(Ve,P,f)===";"?(m(ae,P),!0):!1}function re(Be){let{comment:P,enclosingNode:ae,followingNode:ve}=Be;if(y(P)&&(ae==null?void 0:ae.type)==="TSMappedType"&&(ve==null?void 0:ve.type)==="TSTypeParameter"&&ve.constraint)return ae.prettierIgnore=!0,P.unignore=!0,!0}function _e(Be){let{comment:P,precedingNode:ae,enclosingNode:ve,followingNode:Ve}=Be;return(ve==null?void 0:ve.type)!=="TSMappedType"?!1:(Ve==null?void 0:Ve.type)==="TSTypeParameter"&&Ve.name?(l(Ve.name,P),!0):(ae==null?void 0:ae.type)==="TSTypeParameter"&&ae.constraint?(m(ae.constraint,P),!0):!1}function ce(Be){let{comment:P,enclosingNode:ae,followingNode:ve}=Be;return!ae||ae.type!=="SwitchCase"||ae.test||!ve||ve!==ae.consequent[0]?!1:(ve.type==="BlockStatement"&&ee(P)?q(ve,P):D(ae,P),!0)}function we(Be){return Be.type==="ArrowFunctionExpression"||Be.type==="FunctionExpression"||Be.type==="FunctionDeclaration"||Be.type==="ObjectMethod"||Be.type==="ClassMethod"||Be.type==="TSDeclareFunction"||Be.type==="TSCallSignatureDeclaration"||Be.type==="TSConstructSignatureDeclaration"||Be.type==="TSMethodSignature"||Be.type==="TSConstructorType"||Be.type==="TSFunctionType"||Be.type==="TSDeclareMethod"}function it(Be,P){if((P.parser==="typescript"||P.parser==="flow"||P.parser==="acorn"||P.parser==="espree"||P.parser==="meriyah"||P.parser==="__babel_estree")&&Be.type==="MethodDefinition"&&Be.value&&Be.value.type==="FunctionExpression"&&C(Be.value).length===0&&!Be.value.returnType&&!F(Be.value.typeParameters)&&Be.value.body)return[...Be.decorators||[],Be.key,Be.value.body]}function ze(Be){let P=Be.getValue(),ae=Be.getParentNode(),ve=Ve=>$(v(Ve,O.Leading))||$(v(Ve,O.Trailing));return(P&&(E(P)||w(P)||L(ae)&&ve(P))||ae&&(ae.type==="JSXSpreadAttribute"||ae.type==="JSXSpreadChild"||ae.type==="UnionTypeAnnotation"||ae.type==="TSUnionType"||(ae.type==="ClassDeclaration"||ae.type==="ClassExpression")&&ae.superClass===P))&&(!V(Be)||ae.type==="UnionTypeAnnotation"||ae.type==="TSUnionType")}g.exports={handleOwnLineComment:I,handleEndOfLineComment:N,handleRemainingComment:R,getCommentChildNodes:it,willPrintOwnComments:ze}}}),ii=ie({"src/language-js/needs-parens.js"(c,g){"use strict";pe();var u=Ie(),d=Su(),{getFunctionParameters:h,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:l,hasNode:m,isBitwiseOperator:D,startsWithNoLookaheadToken:A,shouldFlatten:F,getPrecedence:C,isCallExpression:y,isMemberExpression:E,isObjectProperty:w,isTSTypeExpression:$}=Kt();function V(v,O){let x=v.getParentNode();if(!x)return!1;let T=v.getName(),f=v.getNode();if(O.__isInHtmlInterpolation&&!O.bracketSpacing&&G(f)&&U(v))return!0;if(_(f))return!1;if(O.parser!=="flow"&&o(v.getValue()))return!0;if(f.type==="Identifier"){if(f.extra&&f.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(f.name)||T==="left"&&(f.name==="async"&&!x.await||f.name==="let")&&x.type==="ForOfStatement")return!0;if(f.name==="let"){var b;let I=(b=v.findAncestor(N=>N.type==="ForOfStatement"))===null||b===void 0?void 0:b.left;if(I&&A(I,N=>N===f))return!0}if(T==="object"&&f.name==="let"&&x.type==="MemberExpression"&&x.computed&&!x.optional){let I=v.findAncestor(R=>R.type==="ExpressionStatement"||R.type==="ForStatement"||R.type==="ForInStatement"),N=I?I.type==="ExpressionStatement"?I.expression:I.type==="ForStatement"?I.init:I.left:void 0;if(N&&A(N,R=>R===f))return!0}return!1}if(f.type==="ObjectExpression"||f.type==="FunctionExpression"||f.type==="ClassExpression"||f.type==="DoExpression"){var S;let I=(S=v.findAncestor(N=>N.type==="ExpressionStatement"))===null||S===void 0?void 0:S.expression;if(I&&A(I,N=>N===f))return!0}switch(x.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(T==="superClass"&&(f.type==="ArrowFunctionExpression"||f.type==="AssignmentExpression"||f.type==="AwaitExpression"||f.type==="BinaryExpression"||f.type==="ConditionalExpression"||f.type==="LogicalExpression"||f.type==="NewExpression"||f.type==="ObjectExpression"||f.type==="SequenceExpression"||f.type==="TaggedTemplateExpression"||f.type==="UnaryExpression"||f.type==="UpdateExpression"||f.type==="YieldExpression"||f.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return ee(v,O)||f.type==="SequenceExpression";case"Decorator":{if(T==="expression"){if(E(f)&&f.computed)return!0;let I=!1,N=!1,R=f;for(;R;)switch(R.type){case"MemberExpression":N=!0,R=R.object;break;case"CallExpression":if(N||I)return O.parser!=="typescript";I=!0,R=R.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return O.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(T==="body"&&f.type!=="SequenceExpression"&&A(f,I=>I.type==="ObjectExpression"))return!0;break}}switch(f.type){case"UpdateExpression":if(x.type==="UnaryExpression")return f.prefix&&(f.operator==="++"&&x.operator==="+"||f.operator==="--"&&x.operator==="-");case"UnaryExpression":switch(x.type){case"UnaryExpression":return f.operator===x.operator&&(f.operator==="+"||f.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"BinaryExpression":return T==="left"&&x.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(x.type==="UpdateExpression"||f.operator==="in"&&M(v))return!0;if(f.operator==="|>"&&f.extra&&f.extra.parenthesized){let I=v.getParentNode(1);if(I.type==="BinaryExpression"&&I.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(x.type){case"TSSatisfiesExpression":case"TSAsExpression":return!$(f);case"ConditionalExpression":return $(f);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return T==="callee";case"ClassExpression":case"ClassDeclaration":return T==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"AssignmentExpression":case"AssignmentPattern":return T==="left"&&(f.type==="TSTypeAssertion"||$(f));case"LogicalExpression":if(f.type==="LogicalExpression")return x.operator!==f.operator;case"BinaryExpression":{let{operator:I,type:N}=f;if(!I&&N!=="TSTypeAssertion")return!0;let R=C(I),q=x.operator,z=C(q);return z>R||T==="right"&&z===R||z===R&&!F(q,I)?!0:z<R&&I==="%"?q==="+"||q==="-":!!D(q)}default:return!1}case"SequenceExpression":switch(x.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return T!=="expression";case"ArrowFunctionExpression":return T!=="body";default:return!0}case"YieldExpression":if(x.type==="UnaryExpression"||x.type==="AwaitExpression"||$(x)||x.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(x.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"ConditionalExpression":return T==="test";case"BinaryExpression":return!(!f.argument&&x.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(T==="extendsType"&&x.type==="TSConditionalType"){if(f.type==="TSConditionalType")return!0;let{typeAnnotation:I}=f.returnType||f.typeAnnotation;if(I.type==="TSTypePredicate"&&I.typeAnnotation&&(I=I.typeAnnotation.typeAnnotation),I.type==="TSInferType"&&I.typeParameter.constraint)return!0}if(T==="checkType"&&x.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((x.type==="TSUnionType"||x.type==="TSIntersectionType")&&x.types.length>1&&(!f.types||f.types.length>1))return!0;case"TSInferType":if(f.type==="TSInferType"&&x.type==="TSRestType")return!1;case"TSTypeOperator":return x.type==="TSArrayType"||x.type==="TSOptionalType"||x.type==="TSRestType"||T==="objectType"&&x.type==="TSIndexedAccessType"||x.type==="TSTypeOperator"||x.type==="TSTypeAnnotation"&&v.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return T==="objectType"&&x.type==="TSIndexedAccessType"||T==="elementType"&&x.type==="TSArrayType";case"TypeofTypeAnnotation":return T==="objectType"&&(x.type==="IndexedAccessType"||x.type==="OptionalIndexedAccessType")||T==="elementType"&&x.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return x.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return x.type==="ArrayTypeAnnotation"||x.type==="NullableTypeAnnotation"||x.type==="IntersectionTypeAnnotation"||x.type==="UnionTypeAnnotation"||T==="objectType"&&(x.type==="IndexedAccessType"||x.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return x.type==="ArrayTypeAnnotation"||T==="objectType"&&(x.type==="IndexedAccessType"||x.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let I=x.type==="NullableTypeAnnotation"?v.getParentNode(1):x;return I.type==="UnionTypeAnnotation"||I.type==="IntersectionTypeAnnotation"||I.type==="ArrayTypeAnnotation"||T==="objectType"&&(I.type==="IndexedAccessType"||I.type==="OptionalIndexedAccessType")||I.type==="NullableTypeAnnotation"||x.type==="FunctionTypeParam"&&x.name===null&&h(f).some(N=>N.typeAnnotation&&N.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return T==="objectType"&&x.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof f.value=="string"&&x.type==="ExpressionStatement"&&!x.directive){let I=v.getParentNode(1);return I.type==="Program"||I.type==="BlockStatement"}return T==="object"&&x.type==="MemberExpression"&&typeof f.value=="number";case"AssignmentExpression":{let I=v.getParentNode(1);return T==="body"&&x.type==="ArrowFunctionExpression"?!0:T==="key"&&(x.type==="ClassProperty"||x.type==="PropertyDefinition")&&x.computed||(T==="init"||T==="update")&&x.type==="ForStatement"?!1:x.type==="ExpressionStatement"?f.left.type==="ObjectPattern":!(T==="key"&&x.type==="TSPropertySignature"||x.type==="AssignmentExpression"||x.type==="SequenceExpression"&&I&&I.type==="ForStatement"&&(I.init===x||I.update===x)||T==="value"&&x.type==="Property"&&I&&I.type==="ObjectPattern"&&I.properties.includes(x)||x.type==="NGChainedExpression")}case"ConditionalExpression":switch(x.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"ConditionalExpression":return T==="test";case"MemberExpression":case"OptionalMemberExpression":return T==="object";default:return!1}case"FunctionExpression":switch(x.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(x.type){case"BinaryExpression":return x.operator!=="|>"||f.extra&&f.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return T==="callee";case"MemberExpression":case"OptionalMemberExpression":return T==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return T==="test";default:return!1}case"ClassExpression":if(d(f.decorators))return!0;switch(x.type){case"NewExpression":return T==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let I=v.getParentNode(1);if(T==="object"&&x.type==="MemberExpression"||T==="callee"&&(x.type==="CallExpression"||x.type==="NewExpression")||x.type==="TSNonNullExpression"&&I.type==="MemberExpression"&&I.object===x)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(T==="callee"&&(x.type==="BindExpression"||x.type==="NewExpression")){let I=f;for(;I;)switch(I.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":I=I.object;break;case"TaggedTemplateExpression":I=I.tag;break;case"TSNonNullExpression":I=I.expression;break;default:return!1}}return!1;case"BindExpression":return T==="callee"&&(x.type==="BindExpression"||x.type==="NewExpression")||T==="object"&&E(x);case"NGPipeExpression":return!(x.type==="NGRoot"||x.type==="NGMicrosyntaxExpression"||x.type==="ObjectProperty"&&!(f.extra&&f.extra.parenthesized)||x.type==="ArrayExpression"||y(x)&&x.arguments[T]===f||T==="right"&&x.type==="NGPipeExpression"||T==="property"&&x.type==="MemberExpression"||x.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return T==="callee"||T==="left"&&x.type==="BinaryExpression"&&x.operator==="<"||x.type!=="ArrayExpression"&&x.type!=="ArrowFunctionExpression"&&x.type!=="AssignmentExpression"&&x.type!=="AssignmentPattern"&&x.type!=="BinaryExpression"&&x.type!=="NewExpression"&&x.type!=="ConditionalExpression"&&x.type!=="ExpressionStatement"&&x.type!=="JsExpressionRoot"&&x.type!=="JSXAttribute"&&x.type!=="JSXElement"&&x.type!=="JSXExpressionContainer"&&x.type!=="JSXFragment"&&x.type!=="LogicalExpression"&&!y(x)&&!w(x)&&x.type!=="ReturnStatement"&&x.type!=="ThrowStatement"&&x.type!=="TypeCastExpression"&&x.type!=="VariableDeclarator"&&x.type!=="YieldExpression";case"TypeAnnotation":return T==="returnType"&&x.type==="ArrowFunctionExpression"&&L(f)}return!1}function _(v){return v.type==="BlockStatement"||v.type==="BreakStatement"||v.type==="ClassBody"||v.type==="ClassDeclaration"||v.type==="ClassMethod"||v.type==="ClassProperty"||v.type==="PropertyDefinition"||v.type==="ClassPrivateProperty"||v.type==="ContinueStatement"||v.type==="DebuggerStatement"||v.type==="DeclareClass"||v.type==="DeclareExportAllDeclaration"||v.type==="DeclareExportDeclaration"||v.type==="DeclareFunction"||v.type==="DeclareInterface"||v.type==="DeclareModule"||v.type==="DeclareModuleExports"||v.type==="DeclareVariable"||v.type==="DoWhileStatement"||v.type==="EnumDeclaration"||v.type==="ExportAllDeclaration"||v.type==="ExportDefaultDeclaration"||v.type==="ExportNamedDeclaration"||v.type==="ExpressionStatement"||v.type==="ForInStatement"||v.type==="ForOfStatement"||v.type==="ForStatement"||v.type==="FunctionDeclaration"||v.type==="IfStatement"||v.type==="ImportDeclaration"||v.type==="InterfaceDeclaration"||v.type==="LabeledStatement"||v.type==="MethodDefinition"||v.type==="ReturnStatement"||v.type==="SwitchStatement"||v.type==="ThrowStatement"||v.type==="TryStatement"||v.type==="TSDeclareFunction"||v.type==="TSEnumDeclaration"||v.type==="TSImportEqualsDeclaration"||v.type==="TSInterfaceDeclaration"||v.type==="TSModuleDeclaration"||v.type==="TSNamespaceExportDeclaration"||v.type==="TypeAlias"||v.type==="VariableDeclaration"||v.type==="WhileStatement"||v.type==="WithStatement"}function M(v){let O=0,x=v.getValue();for(;x;){let T=v.getParentNode(O++);if(T&&T.type==="ForStatement"&&T.init===x)return!0;x=T}return!1}function L(v){return m(v,O=>O.type==="ObjectTypeAnnotation"&&m(O,x=>x.type==="FunctionTypeAnnotation"||void 0)||void 0)}function G(v){switch(v.type){case"ObjectExpression":return!0;default:return!1}}function U(v){let O=v.getValue(),x=v.getParentNode(),T=v.getName();switch(x.type){case"NGPipeExpression":if(typeof T=="number"&&x.arguments[T]===O&&x.arguments.length-1===T)return v.callParent(U);break;case"ObjectProperty":if(T==="value"){let f=v.getParentNode(1);return u(f.properties)===x}break;case"BinaryExpression":case"LogicalExpression":if(T==="right")return v.callParent(U);break;case"ConditionalExpression":if(T==="alternate")return v.callParent(U);break;case"UnaryExpression":if(x.prefix)return v.callParent(U);break}return!1}function ee(v,O){let x=v.getValue(),T=v.getParentNode();return x.type==="FunctionExpression"||x.type==="ClassExpression"?T.type==="ExportDefaultDeclaration"||!V(v,O):!l(x)||T.type!=="ExportDefaultDeclaration"&&V(v,O)?!1:v.call(f=>ee(f,O),...s(v,x))}g.exports=V}}),Co=ie({"src/language-js/print-preprocess.js"(c,g){"use strict";pe();function u(d,h){switch(h.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},d),{},{type:h.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:d,comments:[],rootMarker:h.rootMarker});default:return d}}g.exports=u}}),oh=ie({"src/language-js/print/html-binding.js"(c,g){"use strict";pe();var{builders:{join:u,line:d,group:h,softline:s,indent:o}}=Ft();function l(D,A,F){let C=D.getValue();if(A.__onHtmlBindingRoot&&D.getName()===null&&A.__onHtmlBindingRoot(C,A),C.type==="File"){if(A.__isVueForBindingLeft)return D.call(y=>{let E=u([",",d],y.map(F,"params")),{params:w}=y.getValue();return w.length===1?E:["(",o([s,h(E)]),s,")"]},"program","body",0);if(A.__isVueBindings)return D.call(y=>u([",",d],y.map(F,"params")),"program","body",0)}}function m(D){switch(D.type){case"MemberExpression":switch(D.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return m(D.object)}return!1;case"Identifier":return!0;default:return!1}}g.exports={isVueEventBindingExpression:m,printHtmlBinding:l}}}),ju=ie({"src/language-js/print/binaryish.js"(c,g){"use strict";pe();var{printComments:u}=fr(),{getLast:d}=Mt(),{builders:{join:h,line:s,softline:o,group:l,indent:m,align:D,indentIfBreak:A},utils:{cleanDoc:F,getDocParts:C,isConcat:y}}=Ft(),{hasLeadingOwnLineComment:E,isBinaryish:w,isJsxNode:$,shouldFlatten:V,hasComment:_,CommentCheckFlags:M,isCallExpression:L,isMemberExpression:G,isObjectProperty:U,isEnabledHackPipeline:ee}=Kt(),v=0;function O(f,b,S){let I=f.getValue(),N=f.getParentNode(),R=f.getParentNode(1),q=I!==N.body&&(N.type==="IfStatement"||N.type==="WhileStatement"||N.type==="SwitchStatement"||N.type==="DoWhileStatement"),z=ee(b)&&I.operator==="|>",Z=x(f,S,b,!1,q);if(q)return Z;if(z)return l(Z);if(L(N)&&N.callee===I||N.type==="UnaryExpression"||G(N)&&!N.computed)return l([m([o,...Z]),o]);let H=N.type==="ReturnStatement"||N.type==="ThrowStatement"||N.type==="JSXExpressionContainer"&&R.type==="JSXAttribute"||I.operator!=="|"&&N.type==="JsExpressionRoot"||I.type!=="NGPipeExpression"&&(N.type==="NGRoot"&&b.parser==="__ng_binding"||N.type==="NGMicrosyntaxExpression"&&R.type==="NGMicrosyntax"&&R.body.length===1)||I===N.body&&N.type==="ArrowFunctionExpression"||I!==N.body&&N.type==="ForStatement"||N.type==="ConditionalExpression"&&R.type!=="ReturnStatement"&&R.type!=="ThrowStatement"&&!L(R)||N.type==="TemplateLiteral",ue=N.type==="AssignmentExpression"||N.type==="VariableDeclarator"||N.type==="ClassProperty"||N.type==="PropertyDefinition"||N.type==="TSAbstractPropertyDefinition"||N.type==="ClassPrivateProperty"||U(N),W=w(I.left)&&V(I.operator,I.left.operator);if(H||T(I)&&!W||!T(I)&&ue)return l(Z);if(Z.length===0)return"";let de=$(I.right),Q=Z.findIndex(te=>typeof te!="string"&&!Array.isArray(te)&&te.type==="group"),Y=Z.slice(0,Q===-1?1:Q+1),he=Z.slice(Y.length,de?-1:void 0),xe=Symbol("logicalChain-"+ ++v),me=l([...Y,m(he)],{id:xe});if(!de)return me;let Pe=d(Z);return l([me,A(Pe,{groupId:xe})])}function x(f,b,S,I,N){let R=f.getValue();if(!w(R))return[l(b())];let q=[];V(R.operator,R.left.operator)?q=f.call(he=>x(he,b,S,!0,N),"left"):q.push(l(b("left")));let z=T(R),Z=(R.operator==="|>"||R.type==="NGPipeExpression"||R.operator==="|"&&S.parser==="__vue_expression")&&!E(S.originalText,R.right),H=R.type==="NGPipeExpression"?"|":R.operator,ue=R.type==="NGPipeExpression"&&R.arguments.length>0?l(m([s,": ",h([s,": "],f.map(b,"arguments").map(he=>D(2,l(he))))])):"",W;if(z)W=[H," ",b("right"),ue];else{let he=ee(S)&&H==="|>"?f.call(xe=>x(xe,b,S,!0,N),"right"):b("right");W=[Z?s:"",H,Z?" ":s,he,ue]}let de=f.getParentNode(),Q=_(R.left,M.Trailing|M.Line),Y=Q||!(N&&R.type==="LogicalExpression")&&de.type!==R.type&&R.left.type!==R.type&&R.right.type!==R.type;if(q.push(Z?"":" ",Y?l(W,{shouldBreak:Q}):W),I&&_(R)){let he=F(u(f,q,S));return y(he)||he.type==="fill"?C(he):[he]}return q}function T(f){return f.type!=="LogicalExpression"?!1:!!(f.right.type==="ObjectExpression"&&f.right.properties.length>0||f.right.type==="ArrayExpression"&&f.right.elements.length>0||$(f.right))}g.exports={printBinaryishExpression:O,shouldInlineLogicalExpression:T}}}),lh=ie({"src/language-js/print/angular.js"(c,g){"use strict";pe();var{builders:{join:u,line:d,group:h}}=Ft(),{hasNode:s,hasComment:o,getComments:l}=Kt(),{printBinaryishExpression:m}=ju();function D(C,y,E){let w=C.getValue();if(w.type.startsWith("NG"))switch(w.type){case"NGRoot":return[E("node"),o(w.node)?" //"+l(w.node)[0].value.trimEnd():""];case"NGPipeExpression":return m(C,y,E);case"NGChainedExpression":return h(u([";",d],C.map($=>F($)?E():["(",E(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[w.prefix,": ",w.value.trim()];case"NGMicrosyntax":return C.map(($,V)=>[V===0?"":A($.getValue(),V,w)?" ":[";",d],E()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(w.name)?w.name:JSON.stringify(w.name);case"NGMicrosyntaxExpression":return[E("expression"),w.alias===null?"":[" as ",E("alias")]];case"NGMicrosyntaxKeyedExpression":{let $=C.getName(),V=C.getParentNode(),_=A(w,$,V)||($===1&&(w.key.name==="then"||w.key.name==="else")||$===2&&w.key.name==="else"&&V.body[$-1].type==="NGMicrosyntaxKeyedExpression"&&V.body[$-1].key.name==="then")&&V.body[0].type==="NGMicrosyntaxExpression";return[E("key"),_?" ":": ",E("expression")]}case"NGMicrosyntaxLet":return["let ",E("key"),w.value===null?"":[" = ",E("value")]];case"NGMicrosyntaxAs":return[E("key")," as ",E("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(w.type)}.`)}}function A(C,y,E){return C.type==="NGMicrosyntaxKeyedExpression"&&C.key.name==="of"&&y===1&&E.body[0].type==="NGMicrosyntaxLet"&&E.body[0].value===null}function F(C){return s(C.getValue(),y=>{switch(y.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}g.exports={printAngular:D}}}),ch=ie({"src/language-js/print/jsx.js"(c,g){"use strict";pe();var{printComments:u,printDanglingComments:d,printCommentsSeparately:h}=fr(),{builders:{line:s,hardline:o,softline:l,group:m,indent:D,conditionalGroup:A,fill:F,ifBreak:C,lineSuffixBoundary:y,join:E},utils:{willBreak:w}}=Ft(),{getLast:$,getPreferredQuote:V}=Mt(),{isJsxNode:_,rawText:M,isCallExpression:L,isStringLiteral:G,isBinaryish:U,hasComment:ee,CommentCheckFlags:v,hasNodeIgnoreComment:O}=Kt(),x=ii(),{willPrintOwnComments:T}=vo(),f=ne=>ne===""||ne===s||ne===o||ne===l;function b(ne,ge,Ee){let Ne=ne.getValue();if(Ne.type==="JSXElement"&&Te(Ne))return[Ee("openingElement"),Ee("closingElement")];let Me=Ne.type==="JSXElement"?Ee("openingElement"):Ee("openingFragment"),Ge=Ne.type==="JSXElement"?Ee("closingElement"):Ee("closingFragment");if(Ne.children.length===1&&Ne.children[0].type==="JSXExpressionContainer"&&(Ne.children[0].expression.type==="TemplateLiteral"||Ne.children[0].expression.type==="TaggedTemplateExpression"))return[Me,...ne.map(Ee,"children"),Ge];Ne.children=Ne.children.map(P=>Qe(P)?{type:"JSXText",value:" ",raw:" "}:P);let pt=Ne.children.some(_),Pt=Ne.children.filter(P=>P.type==="JSXExpressionContainer").length>1,wt=Ne.type==="JSXElement"&&Ne.openingElement.attributes.length>1,ct=w(Me)||pt||wt||Pt,yt=ne.getParentNode().rootMarker==="mdx",Ae=ge.singleQuote?"{' '}":'{" "}',re=yt?" ":C([Ae,l]," "),_e=Ne.openingElement&&Ne.openingElement.name&&Ne.openingElement.name.name==="fbt",ce=S(ne,ge,Ee,re,_e),we=Ne.children.some(P=>ke(P));for(let P=ce.length-2;P>=0;P--){let ae=ce[P]===""&&ce[P+1]==="",ve=ce[P]===o&&ce[P+1]===""&&ce[P+2]===o,Ve=(ce[P]===l||ce[P]===o)&&ce[P+1]===""&&ce[P+2]===re,We=ce[P]===re&&ce[P+1]===""&&(ce[P+2]===l||ce[P+2]===o),lt=ce[P]===re&&ce[P+1]===""&&ce[P+2]===re,qe=ce[P]===l&&ce[P+1]===""&&ce[P+2]===o||ce[P]===o&&ce[P+1]===""&&ce[P+2]===l;ve&&we||ae||Ve||lt||qe?ce.splice(P,2):We&&ce.splice(P+1,2)}for(;ce.length>0&&f($(ce));)ce.pop();for(;ce.length>1&&f(ce[0])&&f(ce[1]);)ce.shift(),ce.shift();let it=[];for(let[P,ae]of ce.entries()){if(ae===re){if(P===1&&ce[P-1]===""){if(ce.length===2){it.push(Ae);continue}it.push([Ae,o]);continue}else if(P===ce.length-1){it.push(Ae);continue}else if(ce[P-1]===""&&ce[P-2]===o){it.push(Ae);continue}}it.push(ae),w(ae)&&(ct=!0)}let ze=we?F(it):m(it,{shouldBreak:!0});if(yt)return ze;let Be=m([Me,D([o,ze]),o,Ge]);return ct?Be:A([m([Me,...ce,Ge]),Be])}function S(ne,ge,Ee,Ne,Me){let Ge=[];return ne.each((pt,Pt,wt)=>{let ct=pt.getValue();if(ct.type==="JSXText"){let yt=M(ct);if(ke(ct)){let Ae=yt.split(Pe);if(Ae[0]===""){if(Ge.push(""),Ae.shift(),/\n/.test(Ae[0])){let _e=wt[Pt+1];Ge.push(N(Me,Ae[1],ct,_e))}else Ge.push(Ne);Ae.shift()}let re;if($(Ae)===""&&(Ae.pop(),re=Ae.pop()),Ae.length===0)return;for(let[_e,ce]of Ae.entries())_e%2==1?Ge.push(s):Ge.push(ce);if(re!==void 0)if(/\n/.test(re)){let _e=wt[Pt+1];Ge.push(N(Me,$(Ge),ct,_e))}else Ge.push(Ne);else{let _e=wt[Pt+1];Ge.push(I(Me,$(Ge),ct,_e))}}else/\n/.test(yt)?yt.match(/\n/g).length>1&&Ge.push("",o):Ge.push("",Ne)}else{let yt=Ee();Ge.push(yt);let Ae=wt[Pt+1];if(Ae&&ke(Ae)){let re=oe(M(Ae)).split(Pe)[0];Ge.push(I(Me,re,ct,Ae))}else Ge.push(o)}},"children"),Ge}function I(ne,ge,Ee,Ne){return ne?"":Ee.type==="JSXElement"&&!Ee.closingElement||Ne&&Ne.type==="JSXElement"&&!Ne.closingElement?ge.length===1?l:o:l}function N(ne,ge,Ee,Ne){return ne?o:ge.length===1?Ee.type==="JSXElement"&&!Ee.closingElement||Ne&&Ne.type==="JSXElement"&&!Ne.closingElement?o:l:o}function R(ne,ge,Ee){let Ne=ne.getParentNode();if(!Ne||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Ne.type])return ge;let Me=ne.match(void 0,pt=>pt.type==="ArrowFunctionExpression",L,pt=>pt.type==="JSXExpressionContainer"),Ge=x(ne,Ee);return m([Ge?"":C("("),D([l,ge]),l,Ge?"":C(")")],{shouldBreak:Me})}function q(ne,ge,Ee){let Ne=ne.getValue(),Me=[];if(Me.push(Ee("name")),Ne.value){let Ge;if(G(Ne.value)){let pt=M(Ne.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Pt,quote:wt,regex:ct}=V(pt,ge.jsxSingleQuote?"'":'"');pt=pt.replace(ct,Pt);let{leading:yt,trailing:Ae}=ne.call(()=>h(ne,ge),"value");Ge=[yt,wt,pt,wt,Ae]}else Ge=Ee("value");Me.push("=",Ge)}return Me}function z(ne,ge,Ee){let Ne=ne.getValue(),Me=(Ge,pt)=>Ge.type==="JSXEmptyExpression"||!ee(Ge)&&(Ge.type==="ArrayExpression"||Ge.type==="ObjectExpression"||Ge.type==="ArrowFunctionExpression"||Ge.type==="AwaitExpression"&&(Me(Ge.argument,Ge)||Ge.argument.type==="JSXElement")||L(Ge)||Ge.type==="FunctionExpression"||Ge.type==="TemplateLiteral"||Ge.type==="TaggedTemplateExpression"||Ge.type==="DoExpression"||_(pt)&&(Ge.type==="ConditionalExpression"||U(Ge)));return Me(Ne.expression,ne.getParentNode(0))?m(["{",Ee("expression"),y,"}"]):m(["{",D([l,Ee("expression")]),l,y,"}"])}function Z(ne,ge,Ee){let Ne=ne.getValue(),Me=Ne.name&&ee(Ne.name)||Ne.typeParameters&&ee(Ne.typeParameters);if(Ne.selfClosing&&Ne.attributes.length===0&&!Me)return["<",Ee("name"),Ee("typeParameters")," />"];if(Ne.attributes&&Ne.attributes.length===1&&Ne.attributes[0].value&&G(Ne.attributes[0].value)&&!Ne.attributes[0].value.value.includes(`
|
|
130
|
+
`)&&!Me&&!ee(Ne.attributes[0]))return m(["<",Ee("name"),Ee("typeParameters")," ",...ne.map(Ee,"attributes"),Ne.selfClosing?" />":">"]);let Ge=Ne.attributes&&Ne.attributes.some(Pt=>Pt.value&&G(Pt.value)&&Pt.value.value.includes(`
|
|
131
|
+
`)),pt=ge.singleAttributePerLine&&Ne.attributes.length>1?o:s;return m(["<",Ee("name"),Ee("typeParameters"),D(ne.map(()=>[pt,Ee()],"attributes")),...H(Ne,ge,Me)],{shouldBreak:Ge})}function H(ne,ge,Ee){return ne.selfClosing?[s,"/>"]:ue(ne,ge,Ee)?[">"]:[l,">"]}function ue(ne,ge,Ee){let Ne=ne.attributes.length>0&&ee($(ne.attributes),v.Trailing);return ne.attributes.length===0&&!Ee||(ge.bracketSameLine||ge.jsxBracketSameLine)&&(!Ee||ne.attributes.length>0)&&!Ne}function W(ne,ge,Ee){let Ne=ne.getValue(),Me=[];Me.push("</");let Ge=Ee("name");return ee(Ne.name,v.Leading|v.Line)?Me.push(D([o,Ge]),o):ee(Ne.name,v.Leading|v.Block)?Me.push(" ",Ge):Me.push(Ge),Me.push(">"),Me}function de(ne,ge){let Ee=ne.getValue(),Ne=ee(Ee),Me=ee(Ee,v.Line),Ge=Ee.type==="JSXOpeningFragment";return[Ge?"<":"</",D([Me?o:Ne&&!Ge?" ":"",d(ne,ge,!0)]),Me?o:"",">"]}function Q(ne,ge,Ee){let Ne=u(ne,b(ne,ge,Ee),ge);return R(ne,Ne,ge)}function Y(ne,ge){let Ee=ne.getValue(),Ne=ee(Ee,v.Line);return[d(ne,ge,!Ne),Ne?o:""]}function he(ne,ge,Ee){let Ne=ne.getValue();return["{",ne.call(Me=>{let Ge=["...",Ee()],pt=Me.getValue();return!ee(pt)||!T(Me)?Ge:[D([l,u(Me,Ge,ge)]),l]},Ne.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function xe(ne,ge,Ee){let Ne=ne.getValue();if(Ne.type.startsWith("JSX"))switch(Ne.type){case"JSXAttribute":return q(ne,ge,Ee);case"JSXIdentifier":return String(Ne.name);case"JSXNamespacedName":return E(":",[Ee("namespace"),Ee("name")]);case"JSXMemberExpression":return E(".",[Ee("object"),Ee("property")]);case"JSXSpreadAttribute":return he(ne,ge,Ee);case"JSXSpreadChild":return he(ne,ge,Ee);case"JSXExpressionContainer":return z(ne,ge,Ee);case"JSXFragment":case"JSXElement":return Q(ne,ge,Ee);case"JSXOpeningElement":return Z(ne,ge,Ee);case"JSXClosingElement":return W(ne,ge,Ee);case"JSXOpeningFragment":case"JSXClosingFragment":return de(ne,ge);case"JSXEmptyExpression":return Y(ne,ge);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Ne.type)}.`)}}var me=`
|
|
132
|
+
\r `,Pe=new RegExp("(["+me+"]+)"),te=new RegExp("[^"+me+"]"),oe=ne=>ne.replace(new RegExp("(?:^"+Pe.source+"|"+Pe.source+"$)"),"");function Te(ne){if(ne.children.length===0)return!0;if(ne.children.length>1)return!1;let ge=ne.children[0];return ge.type==="JSXText"&&!ke(ge)}function ke(ne){return ne.type==="JSXText"&&(te.test(M(ne))||!/\n/.test(M(ne)))}function Qe(ne){return ne.type==="JSXExpressionContainer"&&G(ne.expression)&&ne.expression.value===" "&&!ee(ne.expression)}function fe(ne){let ge=ne.getValue(),Ee=ne.getParentNode();if(!Ee||!ge||!_(ge)||!_(Ee))return!1;let Ne=Ee.children.indexOf(ge),Me=null;for(let Ge=Ne;Ge>0;Ge--){let pt=Ee.children[Ge-1];if(!(pt.type==="JSXText"&&!ke(pt))){Me=pt;break}}return Me&&Me.type==="JSXExpressionContainer"&&Me.expression.type==="JSXEmptyExpression"&&O(Me.expression)}g.exports={hasJsxIgnoreComment:fe,printJsx:xe}}}),Lr=ie({"src/language-js/print/misc.js"(c,g){"use strict";pe();var{isNonEmptyArray:u}=Mt(),{builders:{indent:d,join:h,line:s}}=Ft(),{isFlowAnnotationComment:o}=Kt();function l($){let V=$.getValue();return!V.optional||V.type==="Identifier"&&V===$.getParentNode().key?"":V.type==="OptionalCallExpression"||V.type==="OptionalMemberExpression"&&V.computed?"?.":"?"}function m($){return $.getValue().definite||$.match(void 0,(V,_)=>_==="id"&&V.type==="VariableDeclarator"&&V.definite)?"!":""}function D($,V,_){let M=$.getValue();return M.typeArguments?_("typeArguments"):M.typeParameters?_("typeParameters"):""}function A($,V,_){let M=$.getValue();if(!M.typeAnnotation)return"";let L=$.getParentNode(),G=L.type==="DeclareFunction"&&L.id===M;return o(V.originalText,M.typeAnnotation)?[" /*: ",_("typeAnnotation")," */"]:[G?"":": ",_("typeAnnotation")]}function F($,V,_){return["::",_("callee")]}function C($,V,_){let M=$.getValue();return u(M.modifiers)?[h(" ",$.map(_,"modifiers"))," "]:""}function y($,V,_){return $.type==="EmptyStatement"?";":$.type==="BlockStatement"||_?[" ",V]:d([s,V])}function E($,V,_){return["...",_("argument"),A($,V,_)]}function w($,V){let _=$.slice(1,-1);if(_.includes('"')||_.includes("'"))return $;let M=V.singleQuote?"'":'"';return M+_+M}g.exports={printOptionalToken:l,printDefiniteToken:m,printFunctionTypeParameters:D,printBindExpressionCallee:F,printTypeScriptModifiers:C,printTypeAnnotation:A,printRestSpread:E,adjustClause:y,printDirective:w}}}),Mi=ie({"src/language-js/print/array.js"(c,g){"use strict";pe();var{printDanglingComments:u}=fr(),{builders:{line:d,softline:h,hardline:s,group:o,indent:l,ifBreak:m,fill:D}}=Ft(),{getLast:A,hasNewline:F}=Mt(),{shouldPrintComma:C,hasComment:y,CommentCheckFlags:E,isNextLineEmpty:w,isNumericLiteral:$,isSignedNumericLiteral:V}=Kt(),{locStart:_}=Ar(),{printOptionalToken:M,printTypeAnnotation:L}=Lr();function G(O,x,T){let f=O.getValue(),b=[],S=f.type==="TupleExpression"?"#[":"[",I="]";if(f.elements.length===0)y(f,E.Dangling)?b.push(o([S,u(O,x),h,I])):b.push(S,I);else{let N=A(f.elements),R=!(N&&N.type==="RestElement"),q=N===null,z=Symbol("array"),Z=!x.__inJestEach&&f.elements.length>1&&f.elements.every((W,de,Q)=>{let Y=W&&W.type;if(Y!=="ArrayExpression"&&Y!=="ObjectExpression")return!1;let he=Q[de+1];if(he&&Y!==he.type)return!1;let xe=Y==="ArrayExpression"?"elements":"properties";return W[xe]&&W[xe].length>1}),H=U(f,x),ue=R?q?",":C(x)?H?m(",","",{groupId:z}):m(","):"":"";b.push(o([S,l([h,H?v(O,x,T,ue):[ee(O,x,"elements",T),ue],u(O,x,!0)]),h,I],{shouldBreak:Z,id:z}))}return b.push(M(O),L(O,x,T)),b}function U(O,x){return O.elements.length>1&&O.elements.every(T=>T&&($(T)||V(T)&&!y(T.argument))&&!y(T,E.Trailing|E.Line,f=>!F(x.originalText,_(f),{backwards:!0})))}function ee(O,x,T,f){let b=[],S=[];return O.each(I=>{b.push(S,o(f())),S=[",",d],I.getValue()&&w(I.getValue(),x)&&S.push(h)},T),b}function v(O,x,T,f){let b=[];return O.each((S,I,N)=>{let R=I===N.length-1;b.push([T(),R?f:","]),R||b.push(w(S.getValue(),x)?[s,s]:y(N[I+1],E.Leading|E.Line)?s:d)},"elements"),D(b)}g.exports={printArray:G,printArrayItems:ee,isConciselyPrintedArray:U}}}),bo=ie({"src/language-js/print/call-arguments.js"(c,g){"use strict";pe();var{printDanglingComments:u}=fr(),{getLast:d,getPenultimate:h}=Mt(),{getFunctionParameters:s,hasComment:o,CommentCheckFlags:l,isFunctionCompositionArgs:m,isJsxNode:D,isLongCurriedCallExpression:A,shouldPrintComma:F,getCallArguments:C,iterateCallArgumentsPath:y,isNextLineEmpty:E,isCallExpression:w,isStringLiteral:$,isObjectProperty:V,isTSTypeExpression:_}=Kt(),{builders:{line:M,hardline:L,softline:G,group:U,indent:ee,conditionalGroup:v,ifBreak:O,breakParent:x},utils:{willBreak:T}}=Ft(),{ArgExpansionBailout:f}=Oi(),{isConciselyPrintedArray:b}=Mi();function S(H,ue,W){let de=H.getValue(),Q=de.type==="ImportExpression",Y=C(de);if(Y.length===0)return["(",u(H,ue,!0),")"];if(q(Y))return["(",W(["arguments",0]),", ",W(["arguments",1]),")"];let he=!1,xe=!1,me=Y.length-1,Pe=[];y(H,(fe,ne)=>{let ge=fe.getNode(),Ee=[W()];ne===me||(E(ge,ue)?(ne===0&&(xe=!0),he=!0,Ee.push(",",L,L)):Ee.push(",",M)),Pe.push(Ee)});let te=!(Q||de.callee&&de.callee.type==="Import")&&F(ue,"all")?",":"";function oe(){return U(["(",ee([M,...Pe]),te,M,")"],{shouldBreak:!0})}if(he||H.getParentNode().type!=="Decorator"&&m(Y))return oe();let Te=R(Y),ke=N(Y,ue);if(Te||ke){if(Te?Pe.slice(1).some(T):Pe.slice(0,-1).some(T))return oe();let fe=[];try{H.try(()=>{y(H,(ne,ge)=>{Te&&ge===0&&(fe=[[W([],{expandFirstArg:!0}),Pe.length>1?",":"",xe?L:M,xe?L:""],...Pe.slice(1)]),ke&&ge===me&&(fe=[...Pe.slice(0,-1),W([],{expandLastArg:!0})])})})}catch(ne){if(ne instanceof f)return oe();throw ne}return[Pe.some(T)?x:"",v([["(",...fe,")"],Te?["(",U(fe[0],{shouldBreak:!0}),...fe.slice(1),")"]:["(",...Pe.slice(0,-1),U(d(fe),{shouldBreak:!0}),")"],oe()])]}let Qe=["(",ee([G,...Pe]),O(te),G,")"];return A(H)?Qe:U(Qe,{shouldBreak:Pe.some(T)||he})}function I(H){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return H.type==="ObjectExpression"&&(H.properties.length>0||o(H))||H.type==="ArrayExpression"&&(H.elements.length>0||o(H))||H.type==="TSTypeAssertion"&&I(H.expression)||_(H)&&I(H.expression)||H.type==="FunctionExpression"||H.type==="ArrowFunctionExpression"&&(!H.returnType||!H.returnType.typeAnnotation||H.returnType.typeAnnotation.type!=="TSTypeReference"||z(H.body))&&(H.body.type==="BlockStatement"||H.body.type==="ArrowFunctionExpression"&&I(H.body,!0)||H.body.type==="ObjectExpression"||H.body.type==="ArrayExpression"||!ue&&(w(H.body)||H.body.type==="ConditionalExpression")||D(H.body))||H.type==="DoExpression"||H.type==="ModuleExpression"}function N(H,ue){let W=d(H),de=h(H);return!o(W,l.Leading)&&!o(W,l.Trailing)&&I(W)&&(!de||de.type!==W.type)&&(H.length!==2||de.type!=="ArrowFunctionExpression"||W.type!=="ArrayExpression")&&!(H.length>1&&W.type==="ArrayExpression"&&b(W,ue))}function R(H){if(H.length!==2)return!1;let[ue,W]=H;return ue.type==="ModuleExpression"&&Z(W)?!0:!o(ue)&&(ue.type==="FunctionExpression"||ue.type==="ArrowFunctionExpression"&&ue.body.type==="BlockStatement")&&W.type!=="FunctionExpression"&&W.type!=="ArrowFunctionExpression"&&W.type!=="ConditionalExpression"&&!I(W)}function q(H){return H.length===2&&H[0].type==="ArrowFunctionExpression"&&s(H[0]).length===0&&H[0].body.type==="BlockStatement"&&H[1].type==="ArrayExpression"&&!H.some(ue=>o(ue))}function z(H){return H.type==="BlockStatement"&&(H.body.some(ue=>ue.type!=="EmptyStatement")||o(H,l.Dangling))}function Z(H){return H.type==="ObjectExpression"&&H.properties.length===1&&V(H.properties[0])&&H.properties[0].key.type==="Identifier"&&H.properties[0].key.name==="type"&&$(H.properties[0].value)&&H.properties[0].value.value==="module"}g.exports=S}}),Ao=ie({"src/language-js/print/member.js"(c,g){"use strict";pe();var{builders:{softline:u,group:d,indent:h,label:s}}=Ft(),{isNumericLiteral:o,isMemberExpression:l,isCallExpression:m}=Kt(),{printOptionalToken:D}=Lr();function A(C,y,E){let w=C.getValue(),$=C.getParentNode(),V,_=0;do V=C.getParentNode(_),_++;while(V&&(l(V)||V.type==="TSNonNullExpression"));let M=E("object"),L=F(C,y,E),G=V&&(V.type==="NewExpression"||V.type==="BindExpression"||V.type==="AssignmentExpression"&&V.left.type!=="Identifier")||w.computed||w.object.type==="Identifier"&&w.property.type==="Identifier"&&!l($)||($.type==="AssignmentExpression"||$.type==="VariableDeclarator")&&(m(w.object)&&w.object.arguments.length>0||w.object.type==="TSNonNullExpression"&&m(w.object.expression)&&w.object.expression.arguments.length>0||M.label==="member-chain");return s(M.label==="member-chain"?"member-chain":"member",[M,G?L:d(h([u,L]))])}function F(C,y,E){let w=E("property"),$=C.getValue(),V=D(C);return $.computed?!$.property||o($.property)?[V,"[",w,"]"]:d([V,"[",h([u,w]),u,"]"]):[V,".",w]}g.exports={printMemberExpression:A,printMemberLookup:F}}}),ph=ie({"src/language-js/print/member-chain.js"(c,g){"use strict";pe();var{printComments:u}=fr(),{getLast:d,isNextLineEmptyAfterIndex:h,getNextNonSpaceNonCommentCharacterIndex:s}=Mt(),o=ii(),{isCallExpression:l,isMemberExpression:m,isFunctionOrArrowExpression:D,isLongCurriedCallExpression:A,isMemberish:F,isNumericLiteral:C,isSimpleCallArgument:y,hasComment:E,CommentCheckFlags:w,isNextLineEmpty:$}=Kt(),{locEnd:V}=Ar(),{builders:{join:_,hardline:M,group:L,indent:G,conditionalGroup:U,breakParent:ee,label:v},utils:{willBreak:O}}=Ft(),x=bo(),{printMemberLookup:T}=Ao(),{printOptionalToken:f,printFunctionTypeParameters:b,printBindExpressionCallee:S}=Lr();function I(N,R,q){let z=N.getParentNode(),Z=!z||z.type==="ExpressionStatement",H=[];function ue(ct){let{originalText:yt}=R,Ae=s(yt,ct,V);return yt.charAt(Ae)===")"?Ae!==!1&&h(yt,Ae+1):$(ct,R)}function W(ct){let yt=ct.getValue();l(yt)&&(F(yt.callee)||l(yt.callee))?(H.unshift({node:yt,printed:[u(ct,[f(ct),b(ct,R,q),x(ct,R,q)],R),ue(yt)?M:""]}),ct.call(Ae=>W(Ae),"callee")):F(yt)?(H.unshift({node:yt,needsParens:o(ct,R),printed:u(ct,m(yt)?T(ct,R,q):S(ct,R,q),R)}),ct.call(Ae=>W(Ae),"object")):yt.type==="TSNonNullExpression"?(H.unshift({node:yt,printed:u(ct,"!",R)}),ct.call(Ae=>W(Ae),"expression")):H.unshift({node:yt,printed:q()})}let de=N.getValue();H.unshift({node:de,printed:[f(N),b(N,R,q),x(N,R,q)]}),de.callee&&N.call(ct=>W(ct),"callee");let Q=[],Y=[H[0]],he=1;for(;he<H.length&&(H[he].node.type==="TSNonNullExpression"||l(H[he].node)||m(H[he].node)&&H[he].node.computed&&C(H[he].node.property));++he)Y.push(H[he]);if(!l(H[0].node))for(;he+1<H.length&&F(H[he].node)&&F(H[he+1].node);++he)Y.push(H[he]);Q.push(Y),Y=[];let xe=!1;for(;he<H.length;++he){if(xe&&F(H[he].node)){if(H[he].node.computed&&C(H[he].node.property)){Y.push(H[he]);continue}Q.push(Y),Y=[],xe=!1}(l(H[he].node)||H[he].node.type==="ImportExpression")&&(xe=!0),Y.push(H[he]),E(H[he].node,w.Trailing)&&(Q.push(Y),Y=[],xe=!1)}Y.length>0&&Q.push(Y);function me(ct){return/^[A-Z]|^[$_]+$/.test(ct)}function Pe(ct){return ct.length<=R.tabWidth}function te(ct){let yt=ct[1].length>0&&ct[1][0].node.computed;if(ct[0].length===1){let re=ct[0][0].node;return re.type==="ThisExpression"||re.type==="Identifier"&&(me(re.name)||Z&&Pe(re.name)||yt)}let Ae=d(ct[0]).node;return m(Ae)&&Ae.property.type==="Identifier"&&(me(Ae.property.name)||yt)}let oe=Q.length>=2&&!E(Q[1][0].node)&&te(Q);function Te(ct){let yt=ct.map(Ae=>Ae.printed);return ct.length>0&&d(ct).needsParens?["(",...yt,")"]:yt}function ke(ct){return ct.length===0?"":G(L([M,_(M,ct.map(Te))]))}let Qe=Q.map(Te),fe=Qe,ne=oe?3:2,ge=Q.flat(),Ee=ge.slice(1,-1).some(ct=>E(ct.node,w.Leading))||ge.slice(0,-1).some(ct=>E(ct.node,w.Trailing))||Q[ne]&&E(Q[ne][0].node,w.Leading);if(Q.length<=ne&&!Ee)return A(N)?fe:L(fe);let Ne=d(Q[oe?1:0]).node,Me=!l(Ne)&&ue(Ne),Ge=[Te(Q[0]),oe?Q.slice(1,2).map(Te):"",Me?M:"",ke(Q.slice(oe?2:1))],pt=H.map(ct=>{let{node:yt}=ct;return yt}).filter(l);function Pt(){let ct=d(d(Q)).node,yt=d(Qe);return l(ct)&&O(yt)&&pt.slice(0,-1).some(Ae=>Ae.arguments.some(D))}let wt;return Ee||pt.length>2&&pt.some(ct=>!ct.arguments.every(yt=>y(yt,0)))||Qe.slice(0,-1).some(O)||Pt()?wt=L(Ge):wt=[O(fe)||Me?ee:"",U([fe,Ge])],v("member-chain",wt)}g.exports=I}}),Fo=ie({"src/language-js/print/call-expression.js"(c,g){"use strict";pe();var{builders:{join:u,group:d}}=Ft(),h=ii(),{getCallArguments:s,hasFlowAnnotationComment:o,isCallExpression:l,isMemberish:m,isStringLiteral:D,isTemplateOnItsOwnLine:A,isTestCall:F,iterateCallArgumentsPath:C}=Kt(),y=ph(),E=bo(),{printOptionalToken:w,printFunctionTypeParameters:$}=Lr();function V(M,L,G){let U=M.getValue(),ee=M.getParentNode(),v=U.type==="NewExpression",O=U.type==="ImportExpression",x=w(M),T=s(U);if(T.length>0&&(!O&&!v&&_(U,ee)||T.length===1&&A(T[0],L.originalText)||!v&&F(U,ee))){let S=[];return C(M,()=>{S.push(G())}),[v?"new ":"",G("callee"),x,$(M,L,G),"(",u(", ",S),")"]}let f=(L.parser==="babel"||L.parser==="babel-flow")&&U.callee&&U.callee.type==="Identifier"&&o(U.callee.trailingComments);if(f&&(U.callee.trailingComments[0].printed=!0),!O&&!v&&m(U.callee)&&!M.call(S=>h(S,L),"callee"))return y(M,L,G);let b=[v?"new ":"",O?"import":G("callee"),x,f?`/*:: ${U.callee.trailingComments[0].value.slice(2).trim()} */`:"",$(M,L,G),E(M,L,G)];return O||l(U.callee)?d(b):b}function _(M,L){if(M.callee.type!=="Identifier")return!1;if(M.callee.name==="require")return!0;if(M.callee.name==="define"){let G=s(M);return L.type==="ExpressionStatement"&&(G.length===1||G.length===2&&G[0].type==="ArrayExpression"||G.length===3&&D(G[0])&&G[1].type==="ArrayExpression")}return!1}g.exports={printCallExpression:V}}}),$i=ie({"src/language-js/print/assignment.js"(c,g){"use strict";pe();var{isNonEmptyArray:u,getStringWidth:d}=Mt(),{builders:{line:h,group:s,indent:o,indentIfBreak:l,lineSuffixBoundary:m},utils:{cleanDoc:D,willBreak:A,canBreak:F}}=Ft(),{hasLeadingOwnLineComment:C,isBinaryish:y,isStringLiteral:E,isLiteral:w,isNumericLiteral:$,isCallExpression:V,isMemberExpression:_,getCallArguments:M,rawText:L,hasComment:G,isSignedNumericLiteral:U,isObjectProperty:ee}=Kt(),{shouldInlineLogicalExpression:v}=ju(),{printCallExpression:O}=Fo();function x(te,oe,Te,ke,Qe,fe){let ne=b(te,oe,Te,ke,fe),ge=Te(fe,{assignmentLayout:ne});switch(ne){case"break-after-operator":return s([s(ke),Qe,s(o([h,ge]))]);case"never-break-after-operator":return s([s(ke),Qe," ",ge]);case"fluid":{let Ee=Symbol("assignment");return s([s(ke),Qe,s(o(h),{id:Ee}),m,l(ge,{groupId:Ee})])}case"break-lhs":return s([ke,Qe," ",s(ge)]);case"chain":return[s(ke),Qe,h,ge];case"chain-tail":return[s(ke),Qe,o([h,ge])];case"chain-tail-arrow-chain":return[s(ke),Qe,ge];case"only-left":return ke}}function T(te,oe,Te){let ke=te.getValue();return x(te,oe,Te,Te("left"),[" ",ke.operator],"right")}function f(te,oe,Te){return x(te,oe,Te,Te("id")," =","init")}function b(te,oe,Te,ke,Qe){let fe=te.getValue(),ne=fe[Qe];if(!ne)return"only-left";let ge=!N(ne);if(te.match(N,R,Ne=>!ge||Ne.type!=="ExpressionStatement"&&Ne.type!=="VariableDeclaration"))return ge?ne.type==="ArrowFunctionExpression"&&ne.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!ge&&N(ne.right)||C(oe.originalText,ne))return"break-after-operator";if(ne.type==="CallExpression"&&ne.callee.name==="require"||oe.parser==="json5"||oe.parser==="json")return"never-break-after-operator";if(I(fe)||q(fe)||H(fe)||ue(fe)&&F(ke))return"break-lhs";let Ee=xe(fe,ke,oe);return te.call(()=>S(te,oe,Te,Ee),Qe)?"break-after-operator":Ee||ne.type==="TemplateLiteral"||ne.type==="TaggedTemplateExpression"||ne.type==="BooleanLiteral"||$(ne)||ne.type==="ClassExpression"?"never-break-after-operator":"fluid"}function S(te,oe,Te,ke){let Qe=te.getValue();if(y(Qe)&&!v(Qe))return!0;switch(Qe.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:ge}=Qe;return y(ge)&&!v(ge)}case"ClassExpression":return u(Qe.decorators)}if(ke)return!1;let fe=Qe,ne=[];for(;;)if(fe.type==="UnaryExpression")fe=fe.argument,ne.push("argument");else if(fe.type==="TSNonNullExpression")fe=fe.expression,ne.push("expression");else break;return!!(E(fe)||te.call(()=>Q(te,oe,Te),...ne))}function I(te){if(R(te)){let oe=te.left||te.id;return oe.type==="ObjectPattern"&&oe.properties.length>2&&oe.properties.some(Te=>ee(Te)&&(!Te.shorthand||Te.value&&Te.value.type==="AssignmentPattern"))}return!1}function N(te){return te.type==="AssignmentExpression"}function R(te){return N(te)||te.type==="VariableDeclarator"}function q(te){let oe=z(te);if(u(oe)){let Te=te.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(oe.length>1&&oe.some(ke=>ke[Te]||ke.default))return!0}return!1}function z(te){return Z(te)&&te.typeParameters&&te.typeParameters.params?te.typeParameters.params:null}function Z(te){return te.type==="TSTypeAliasDeclaration"||te.type==="TypeAlias"}function H(te){if(te.type!=="VariableDeclarator")return!1;let{typeAnnotation:oe}=te.id;if(!oe||!oe.typeAnnotation)return!1;let Te=W(oe.typeAnnotation);return u(Te)&&Te.length>1&&Te.some(ke=>u(W(ke))||ke.type==="TSConditionalType")}function ue(te){return te.type==="VariableDeclarator"&&te.init&&te.init.type==="ArrowFunctionExpression"}function W(te){return de(te)&&te.typeParameters&&te.typeParameters.params?te.typeParameters.params:null}function de(te){return te.type==="TSTypeReference"||te.type==="GenericTypeAnnotation"}function Q(te,oe,Te){let ke=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Qe=te.getValue(),fe=()=>Q(te,oe,Te,!0);if(Qe.type==="TSNonNullExpression")return te.call(fe,"expression");if(V(Qe)){if(O(te,oe,Te).label==="member-chain")return!1;let ne=M(Qe);return!(ne.length===0||ne.length===1&&he(ne[0],oe))||me(Qe,Te)?!1:te.call(fe,"callee")}return _(Qe)?te.call(fe,"object"):ke&&(Qe.type==="Identifier"||Qe.type==="ThisExpression")}var Y=.25;function he(te,oe){let{printWidth:Te}=oe;if(G(te))return!1;let ke=Te*Y;if(te.type==="ThisExpression"||te.type==="Identifier"&&te.name.length<=ke||U(te)&&!G(te.argument))return!0;let Qe=te.type==="Literal"&&"regex"in te&&te.regex.pattern||te.type==="RegExpLiteral"&&te.pattern;return Qe?Qe.length<=ke:E(te)?L(te).length<=ke:te.type==="TemplateLiteral"?te.expressions.length===0&&te.quasis[0].value.raw.length<=ke&&!te.quasis[0].value.raw.includes(`
|
|
133
|
+
`):w(te)}function xe(te,oe,Te){if(!ee(te))return!1;oe=D(oe);let ke=3;return typeof oe=="string"&&d(oe)<Te.tabWidth+ke}function me(te,oe){let Te=Pe(te);if(u(Te)){if(Te.length>1)return!0;if(Te.length===1){let Qe=Te[0];if(Qe.type==="TSUnionType"||Qe.type==="UnionTypeAnnotation"||Qe.type==="TSIntersectionType"||Qe.type==="IntersectionTypeAnnotation"||Qe.type==="TSTypeLiteral"||Qe.type==="ObjectTypeAnnotation")return!0}let ke=te.typeParameters?"typeParameters":"typeArguments";if(A(oe(ke)))return!0}return!1}function Pe(te){return te.typeParameters&&te.typeParameters.params||te.typeArguments&&te.typeArguments.params}g.exports={printVariableDeclarator:f,printAssignmentExpression:T,printAssignment:x,isArrowFunctionVariableDeclarator:ue}}}),Es=ie({"src/language-js/print/function-parameters.js"(c,g){"use strict";pe();var{getNextNonSpaceNonCommentCharacter:u}=Mt(),{printDanglingComments:d}=fr(),{builders:{line:h,hardline:s,softline:o,group:l,indent:m,ifBreak:D},utils:{removeLines:A,willBreak:F}}=Ft(),{getFunctionParameters:C,iterateFunctionParametersPath:y,isSimpleType:E,isTestCall:w,isTypeAnnotationAFunction:$,isObjectType:V,isObjectTypePropertyAFunction:_,hasRestParameter:M,shouldPrintComma:L,hasComment:G,isNextLineEmpty:U}=Kt(),{locEnd:ee}=Ar(),{ArgExpansionBailout:v}=Oi(),{printFunctionTypeParameters:O}=Lr();function x(S,I,N,R,q){let z=S.getValue(),Z=C(z),H=q?O(S,N,I):"";if(Z.length===0)return[H,"(",d(S,N,!0,he=>u(N.originalText,he,ee)===")"),")"];let ue=S.getParentNode(),W=w(ue),de=T(z),Q=[];if(y(S,(he,xe)=>{let me=xe===Z.length-1;me&&z.rest&&Q.push("..."),Q.push(I()),!me&&(Q.push(","),W||de?Q.push(" "):U(Z[xe],N)?Q.push(s,s):Q.push(h))}),R){if(F(H)||F(Q))throw new v;return l([A(H),"(",A(Q),")"])}let Y=Z.every(he=>!he.decorators);return de&&Y?[H,"(",...Q,")"]:W?[H,"(",...Q,")"]:(_(ue)||$(ue)||ue.type==="TypeAlias"||ue.type==="UnionTypeAnnotation"||ue.type==="TSUnionType"||ue.type==="IntersectionTypeAnnotation"||ue.type==="FunctionTypeAnnotation"&&ue.returnType===z)&&Z.length===1&&Z[0].name===null&&z.this!==Z[0]&&Z[0].typeAnnotation&&z.typeParameters===null&&E(Z[0].typeAnnotation)&&!z.rest?N.arrowParens==="always"?["(",...Q,")"]:Q:[H,"(",m([o,...Q]),D(!M(z)&&L(N,"all")?",":""),o,")"]}function T(S){if(!S)return!1;let I=C(S);if(I.length!==1)return!1;let[N]=I;return!G(N)&&(N.type==="ObjectPattern"||N.type==="ArrayPattern"||N.type==="Identifier"&&N.typeAnnotation&&(N.typeAnnotation.type==="TypeAnnotation"||N.typeAnnotation.type==="TSTypeAnnotation")&&V(N.typeAnnotation.typeAnnotation)||N.type==="FunctionTypeParam"&&V(N.typeAnnotation)||N.type==="AssignmentPattern"&&(N.left.type==="ObjectPattern"||N.left.type==="ArrayPattern")&&(N.right.type==="Identifier"||N.right.type==="ObjectExpression"&&N.right.properties.length===0||N.right.type==="ArrayExpression"&&N.right.elements.length===0))}function f(S){let I;return S.returnType?(I=S.returnType,I.typeAnnotation&&(I=I.typeAnnotation)):S.typeAnnotation&&(I=S.typeAnnotation),I}function b(S,I){let N=f(S);if(!N)return!1;let R=S.typeParameters&&S.typeParameters.params;if(R){if(R.length>1)return!1;if(R.length===1){let q=R[0];if(q.constraint||q.default)return!1}}return C(S).length===1&&(V(N)||F(I))}g.exports={printFunctionParameters:x,shouldHugFunctionParameters:T,shouldGroupFunctionParameters:b}}}),xs=ie({"src/language-js/print/type-annotation.js"(c,g){"use strict";pe();var{printComments:u,printDanglingComments:d}=fr(),{isNonEmptyArray:h}=Mt(),{builders:{group:s,join:o,line:l,softline:m,indent:D,align:A,ifBreak:F}}=Ft(),C=ii(),{locStart:y}=Ar(),{isSimpleType:E,isObjectType:w,hasLeadingOwnLineComment:$,isObjectTypePropertyAFunction:V,shouldPrintComma:_}=Kt(),{printAssignment:M}=$i(),{printFunctionParameters:L,shouldGroupFunctionParameters:G}=Es(),{printArrayItems:U}=Mi();function ee(N){if(E(N)||w(N))return!0;if(N.type==="UnionTypeAnnotation"||N.type==="TSUnionType"){let R=N.types.filter(z=>z.type==="VoidTypeAnnotation"||z.type==="TSVoidKeyword"||z.type==="NullLiteralTypeAnnotation"||z.type==="TSNullKeyword").length,q=N.types.some(z=>z.type==="ObjectTypeAnnotation"||z.type==="TSTypeLiteral"||z.type==="GenericTypeAnnotation"||z.type==="TSTypeReference");if(N.types.length-1===R&&q)return!0}return!1}function v(N,R,q){let z=R.semi?";":"",Z=N.getValue(),H=[];return H.push("opaque type ",q("id"),q("typeParameters")),Z.supertype&&H.push(": ",q("supertype")),Z.impltype&&H.push(" = ",q("impltype")),H.push(z),H}function O(N,R,q){let z=R.semi?";":"",Z=N.getValue(),H=[];Z.declare&&H.push("declare "),H.push("type ",q("id"),q("typeParameters"));let ue=Z.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[M(N,R,q,H," =",ue),z]}function x(N,R,q){let z=N.getValue(),Z=N.map(q,"types"),H=[],ue=!1;for(let W=0;W<Z.length;++W)W===0?H.push(Z[W]):w(z.types[W-1])&&w(z.types[W])?H.push([" & ",ue?D(Z[W]):Z[W]]):!w(z.types[W-1])&&!w(z.types[W])?H.push(D([" &",l,Z[W]])):(W>1&&(ue=!0),H.push(" & ",W>1?D(Z[W]):Z[W]));return s(H)}function T(N,R,q){let z=N.getValue(),Z=N.getParentNode(),H=Z.type!=="TypeParameterInstantiation"&&Z.type!=="TSTypeParameterInstantiation"&&Z.type!=="GenericTypeAnnotation"&&Z.type!=="TSTypeReference"&&Z.type!=="TSTypeAssertion"&&Z.type!=="TupleTypeAnnotation"&&Z.type!=="TSTupleType"&&!(Z.type==="FunctionTypeParam"&&!Z.name&&N.getParentNode(1).this!==Z)&&!((Z.type==="TypeAlias"||Z.type==="VariableDeclarator"||Z.type==="TSTypeAliasDeclaration")&&$(R.originalText,z)),ue=ee(z),W=N.map(Y=>{let he=q();return ue||(he=A(2,he)),u(Y,he,R)},"types");if(ue)return o(" | ",W);let de=H&&!$(R.originalText,z),Q=[F([de?l:"","| "]),o([l,"| "],W)];return C(N,R)?s([D(Q),m]):Z.type==="TupleTypeAnnotation"&&Z.types.length>1||Z.type==="TSTupleType"&&Z.elementTypes.length>1?s([D([F(["(",m]),Q]),m,F(")")]):s(H?D(Q):Q)}function f(N,R,q){let z=N.getValue(),Z=[],H=N.getParentNode(0),ue=N.getParentNode(1),W=N.getParentNode(2),de=z.type==="TSFunctionType"||!((H.type==="ObjectTypeProperty"||H.type==="ObjectTypeInternalSlot")&&!H.variance&&!H.optional&&y(H)===y(z)||H.type==="ObjectTypeCallProperty"||W&&W.type==="DeclareFunction"),Q=de&&(H.type==="TypeAnnotation"||H.type==="TSTypeAnnotation"),Y=Q&&de&&(H.type==="TypeAnnotation"||H.type==="TSTypeAnnotation")&&ue.type==="ArrowFunctionExpression";V(H)&&(de=!0,Q=!0),Y&&Z.push("(");let he=L(N,q,R,!1,!0),xe=z.returnType||z.predicate||z.typeAnnotation?[de?" => ":": ",q("returnType"),q("predicate"),q("typeAnnotation")]:"",me=G(z,xe);return Z.push(me?s(he):he),xe&&Z.push(xe),Y&&Z.push(")"),s(Z)}function b(N,R,q){let z=N.getValue(),Z=z.type==="TSTupleType"?"elementTypes":"types",H=z[Z],ue=h(H),W=ue?m:"";return s(["[",D([W,U(N,R,Z,q)]),F(ue&&_(R,"all")?",":""),d(N,R,!0),W,"]"])}function S(N,R,q){let z=N.getValue(),Z=z.type==="OptionalIndexedAccessType"&&z.optional?"?.[":"[";return[q("objectType"),Z,q("indexType"),"]"]}function I(N,R,q){let z=N.getValue();return[z.postfix?"":q,R("typeAnnotation"),z.postfix?q:""]}g.exports={printOpaqueType:v,printTypeAlias:O,printIntersectionType:x,printUnionType:T,printFunctionType:f,printTupleType:b,printIndexedAccessType:S,shouldHugType:ee,printJSDocType:I}}}),vs=ie({"src/language-js/print/type-parameters.js"(c,g){"use strict";pe();var{printDanglingComments:u}=fr(),{builders:{join:d,line:h,hardline:s,softline:o,group:l,indent:m,ifBreak:D}}=Ft(),{isTestCall:A,hasComment:F,CommentCheckFlags:C,isTSXFile:y,shouldPrintComma:E,getFunctionParameters:w,isObjectType:$,getTypeScriptMappedTypeModifier:V}=Kt(),{createGroupIdMapper:_}=Mt(),{shouldHugType:M}=xs(),{isArrowFunctionVariableDeclarator:L}=$i(),G=_("typeParameters");function U(O,x,T,f){let b=O.getValue();if(!b[f])return"";if(!Array.isArray(b[f]))return T(f);let S=O.getNode(2),I=S&&A(S),N=O.match(q=>!(q[f].length===1&&$(q[f][0])),void 0,(q,z)=>z==="typeAnnotation",q=>q.type==="Identifier",L);if(b[f].length===0||!N&&(I||b[f].length===1&&(b[f][0].type==="NullableTypeAnnotation"||M(b[f][0]))))return["<",d(", ",O.map(T,f)),ee(O,x),">"];let R=b.type==="TSTypeParameterInstantiation"?"":w(b).length===1&&y(x)&&!b[f][0].constraint&&O.getParentNode().type==="ArrowFunctionExpression"?",":E(x,"all")?D(","):"";return l(["<",m([o,d([",",h],O.map(T,f))]),R,o,">"],{id:G(b)})}function ee(O,x){let T=O.getValue();if(!F(T,C.Dangling))return"";let f=!F(T,C.Line),b=u(O,x,f);return f?b:[b,s]}function v(O,x,T){let f=O.getValue(),b=[f.type==="TSTypeParameter"&&f.const?"const ":""],S=O.getParentNode();return S.type==="TSMappedType"?(S.readonly&&b.push(V(S.readonly,"readonly")," "),b.push("[",T("name")),f.constraint&&b.push(" in ",T("constraint")),S.nameType&&b.push(" as ",O.callParent(()=>T("nameType"))),b.push("]"),b):(f.variance&&b.push(T("variance")),f.in&&b.push("in "),f.out&&b.push("out "),b.push(T("name")),f.bound&&b.push(": ",T("bound")),f.constraint&&b.push(" extends ",T("constraint")),f.default&&b.push(" = ",T("default")),b)}g.exports={printTypeParameter:v,printTypeParameters:U,getTypeParametersGroupId:G}}}),Vi=ie({"src/language-js/print/property.js"(c,g){"use strict";pe();var{printComments:u}=fr(),{printString:d,printNumber:h}=Mt(),{isNumericLiteral:s,isSimpleNumber:o,isStringLiteral:l,isStringPropSafeToUnquote:m,rawText:D}=Kt(),{printAssignment:A}=$i(),F=new WeakMap;function C(E,w,$){let V=E.getNode();if(V.computed)return["[",$("key"),"]"];let _=E.getParentNode(),{key:M}=V;if(w.quoteProps==="consistent"&&!F.has(_)){let L=(_.properties||_.body||_.members).some(G=>!G.computed&&G.key&&l(G.key)&&!m(G,w));F.set(_,L)}if((M.type==="Identifier"||s(M)&&o(h(D(M)))&&String(M.value)===h(D(M))&&!(w.parser==="typescript"||w.parser==="babel-ts"))&&(w.parser==="json"||w.quoteProps==="consistent"&&F.get(_))){let L=d(JSON.stringify(M.type==="Identifier"?M.name:M.value.toString()),w);return E.call(G=>u(G,L,w),"key")}return m(V,w)&&(w.quoteProps==="as-needed"||w.quoteProps==="consistent"&&!F.get(_))?E.call(L=>u(L,/^\d/.test(M.value)?h(M.value):M.value,w),"key"):$("key")}function y(E,w,$){return E.getValue().shorthand?$("value"):A(E,w,$,C(E,w,$),":","value")}g.exports={printProperty:y,printPropertyKey:C}}}),Cs=ie({"src/language-js/print/function.js"(c,g){"use strict";pe();var u=ji(),{printDanglingComments:d,printCommentsSeparately:h}=fr(),s=Ie(),{getNextNonSpaceNonCommentCharacterIndex:o}=Mt(),{builders:{line:l,softline:m,group:D,indent:A,ifBreak:F,hardline:C,join:y,indentIfBreak:E},utils:{removeLines:w,willBreak:$}}=Ft(),{ArgExpansionBailout:V}=Oi(),{getFunctionParameters:_,hasLeadingOwnLineComment:M,isFlowAnnotationComment:L,isJsxNode:G,isTemplateOnItsOwnLine:U,shouldPrintComma:ee,startsWithNoLookaheadToken:v,isBinaryish:O,isLineComment:x,hasComment:T,getComments:f,CommentCheckFlags:b,isCallLikeExpression:S,isCallExpression:I,getCallArguments:N,hasNakedLeftSide:R,getLeftSide:q}=Kt(),{locEnd:z}=Ar(),{printFunctionParameters:Z,shouldGroupFunctionParameters:H}=Es(),{printPropertyKey:ue}=Vi(),{printFunctionTypeParameters:W}=Lr();function de(ne,ge,Ee,Ne){let Me=ne.getValue(),Ge=!1;if((Me.type==="FunctionDeclaration"||Me.type==="FunctionExpression")&&Ne&&Ne.expandLastArg){let yt=ne.getParentNode();I(yt)&&N(yt).length>1&&(Ge=!0)}let pt=[];Me.type==="TSDeclareFunction"&&Me.declare&&pt.push("declare "),Me.async&&pt.push("async "),Me.generator?pt.push("function* "):pt.push("function "),Me.id&&pt.push(ge("id"));let Pt=Z(ne,ge,Ee,Ge),wt=oe(ne,ge,Ee),ct=H(Me,wt);return pt.push(W(ne,Ee,ge),D([ct?D(Pt):Pt,wt]),Me.body?" ":"",ge("body")),Ee.semi&&(Me.declare||!Me.body)&&pt.push(";"),pt}function Q(ne,ge,Ee){let Ne=ne.getNode(),{kind:Me}=Ne,Ge=Ne.value||Ne,pt=[];return!Me||Me==="init"||Me==="method"||Me==="constructor"?Ge.async&&pt.push("async "):(u.ok(Me==="get"||Me==="set"),pt.push(Me," ")),Ge.generator&&pt.push("*"),pt.push(ue(ne,ge,Ee),Ne.optional||Ne.key.optional?"?":""),Ne===Ge?pt.push(Y(ne,ge,Ee)):Ge.type==="FunctionExpression"?pt.push(ne.call(Pt=>Y(Pt,ge,Ee),"value")):pt.push(Ee("value")),pt}function Y(ne,ge,Ee){let Ne=ne.getNode(),Me=Z(ne,Ee,ge),Ge=oe(ne,Ee,ge),pt=H(Ne,Ge),Pt=[W(ne,ge,Ee),D([pt?D(Me):Me,Ge])];return Ne.body?Pt.push(" ",Ee("body")):Pt.push(ge.semi?";":""),Pt}function he(ne,ge,Ee,Ne){let Me=ne.getValue(),Ge=[];if(Me.async&&Ge.push("async "),te(ne,ge))Ge.push(Ee(["params",0]));else{let Pt=Ne&&(Ne.expandLastArg||Ne.expandFirstArg),wt=oe(ne,Ee,ge);if(Pt){if($(wt))throw new V;wt=D(w(wt))}Ge.push(D([Z(ne,Ee,ge,Pt,!0),wt]))}let pt=d(ne,ge,!0,Pt=>{let wt=o(ge.originalText,Pt,z);return wt!==!1&&ge.originalText.slice(wt,wt+2)==="=>"});return pt&&Ge.push(" ",pt),Ge}function xe(ne,ge,Ee,Ne,Me,Ge){let pt=ne.getName(),Pt=ne.getParentNode(),wt=S(Pt)&&pt==="callee",ct=Boolean(ge&&ge.assignmentLayout),yt=Ge.body.type!=="BlockStatement"&&Ge.body.type!=="ObjectExpression"&&Ge.body.type!=="SequenceExpression",Ae=wt&&yt||ge&&ge.assignmentLayout==="chain-tail-arrow-chain",re=Symbol("arrow-chain");return Ge.body.type==="SequenceExpression"&&(Me=D(["(",A([m,Me]),m,")"])),D([D(A([wt||ct?m:"",D(y([" =>",l],Ee),{shouldBreak:Ne})]),{id:re,shouldBreak:Ae})," =>",E(yt?A([l,Me]):[" ",Me],{groupId:re}),wt?F(m,"",{groupId:re}):""])}function me(ne,ge,Ee,Ne){let Me=ne.getValue(),Ge=[],pt=[],Pt=!1;if(function re(){let _e=he(ne,ge,Ee,Ne);if(Ge.length===0)Ge.push(_e);else{let{leading:ce,trailing:we}=h(ne,ge);Ge.push([ce,_e]),pt.unshift(we)}Pt=Pt||Me.returnType&&_(Me).length>0||Me.typeParameters||_(Me).some(ce=>ce.type!=="Identifier"),Me.body.type!=="ArrowFunctionExpression"||Ne&&Ne.expandLastArg?pt.unshift(Ee("body",Ne)):(Me=Me.body,ne.call(re,"body"))}(),Ge.length>1)return xe(ne,Ne,Ge,Pt,pt,Me);let wt=Ge;if(wt.push(" =>"),!M(ge.originalText,Me.body)&&(Me.body.type==="ArrayExpression"||Me.body.type==="ObjectExpression"||Me.body.type==="BlockStatement"||G(Me.body)||U(Me.body,ge.originalText)||Me.body.type==="ArrowFunctionExpression"||Me.body.type==="DoExpression"))return D([...wt," ",pt]);if(Me.body.type==="SequenceExpression")return D([...wt,D([" (",A([m,pt]),m,")"])]);let ct=(Ne&&Ne.expandLastArg||ne.getParentNode().type==="JSXExpressionContainer")&&!T(Me),yt=Ne&&Ne.expandLastArg&&ee(ge,"all"),Ae=Me.body.type==="ConditionalExpression"&&!v(Me.body,re=>re.type==="ObjectExpression");return D([...wt,D([A([l,Ae?F("","("):"",pt,Ae?F("",")"):""]),ct?[F(yt?",":""),m]:""])])}function Pe(ne){let ge=_(ne);return ge.length===1&&!ne.typeParameters&&!T(ne,b.Dangling)&&ge[0].type==="Identifier"&&!ge[0].typeAnnotation&&!T(ge[0])&&!ge[0].optional&&!ne.predicate&&!ne.returnType}function te(ne,ge){if(ge.arrowParens==="always")return!1;if(ge.arrowParens==="avoid"){let Ee=ne.getValue();return Pe(Ee)}return!1}function oe(ne,ge,Ee){let Ne=ne.getValue(),Me=ge("returnType");if(Ne.returnType&&L(Ee.originalText,Ne.returnType))return[" /*: ",Me," */"];let Ge=[Me];return Ne.returnType&&Ne.returnType.typeAnnotation&&Ge.unshift(": "),Ne.predicate&&Ge.push(Ne.returnType?" ":": ",ge("predicate")),Ge}function Te(ne,ge,Ee){let Ne=ne.getValue(),Me=ge.semi?";":"",Ge=[];Ne.argument&&(fe(ge,Ne.argument)?Ge.push([" (",A([C,Ee("argument")]),C,")"]):O(Ne.argument)||Ne.argument.type==="SequenceExpression"?Ge.push(D([F(" ("," "),A([m,Ee("argument")]),m,F(")")])):Ge.push(" ",Ee("argument")));let pt=f(Ne),Pt=s(pt),wt=Pt&&x(Pt);return wt&&Ge.push(Me),T(Ne,b.Dangling)&&Ge.push(" ",d(ne,ge,!0)),wt||Ge.push(Me),Ge}function ke(ne,ge,Ee){return["return",Te(ne,ge,Ee)]}function Qe(ne,ge,Ee){return["throw",Te(ne,ge,Ee)]}function fe(ne,ge){if(M(ne.originalText,ge))return!0;if(R(ge)){let Ee=ge,Ne;for(;Ne=q(Ee);)if(Ee=Ne,M(ne.originalText,Ee))return!0}return!1}g.exports={printFunction:de,printArrowFunction:me,printMethod:Q,printReturnStatement:ke,printThrowStatement:Qe,printMethodInternal:Y,shouldPrintParamsWithoutParens:te}}}),Mu=ie({"src/language-js/print/decorators.js"(c,g){"use strict";pe();var{isNonEmptyArray:u,hasNewline:d}=Mt(),{builders:{line:h,hardline:s,join:o,breakParent:l,group:m}}=Ft(),{locStart:D,locEnd:A}=Ar(),{getParentExportDeclaration:F}=Kt();function C(V,_,M){let L=V.getValue();return m([o(h,V.map(M,"decorators")),w(L,_)?s:h])}function y(V,_,M){return[o(s,V.map(M,"declaration","decorators")),s]}function E(V,_,M){let L=V.getValue(),{decorators:G}=L;if(!u(G)||$(V.getParentNode()))return;let U=L.type==="ClassExpression"||L.type==="ClassDeclaration"||w(L,_);return[F(V)?s:U?l:"",o(h,V.map(M,"decorators")),h]}function w(V,_){return V.decorators.some(M=>d(_.originalText,A(M)))}function $(V){if(V.type!=="ExportDefaultDeclaration"&&V.type!=="ExportNamedDeclaration"&&V.type!=="DeclareExportDeclaration")return!1;let _=V.declaration&&V.declaration.decorators;return u(_)&&D(V)===D(_[0])}g.exports={printDecorators:E,printClassMemberDecorators:C,printDecoratorsBeforeExport:y,hasDecoratorsBeforeExport:$}}}),Ui=ie({"src/language-js/print/class.js"(c,g){"use strict";pe();var{isNonEmptyArray:u,createGroupIdMapper:d}=Mt(),{printComments:h,printDanglingComments:s}=fr(),{builders:{join:o,line:l,hardline:m,softline:D,group:A,indent:F,ifBreak:C}}=Ft(),{hasComment:y,CommentCheckFlags:E}=Kt(),{getTypeParametersGroupId:w}=vs(),{printMethod:$}=Cs(),{printOptionalToken:V,printTypeAnnotation:_,printDefiniteToken:M}=Lr(),{printPropertyKey:L}=Vi(),{printAssignment:G}=$i(),{printClassMemberDecorators:U}=Mu();function ee(N,R,q){let z=N.getValue(),Z=[];z.declare&&Z.push("declare "),z.abstract&&Z.push("abstract "),Z.push("class");let H=z.id&&y(z.id,E.Trailing)||z.typeParameters&&y(z.typeParameters,E.Trailing)||z.superClass&&y(z.superClass)||u(z.extends)||u(z.mixins)||u(z.implements),ue=[],W=[];if(z.id&&ue.push(" ",q("id")),ue.push(q("typeParameters")),z.superClass){let de=[b(N,R,q),q("superTypeParameters")],Q=N.call(Y=>["extends ",h(Y,de,R)],"superClass");H?W.push(l,A(Q)):W.push(" ",Q)}else W.push(f(N,R,q,"extends"));if(W.push(f(N,R,q,"mixins"),f(N,R,q,"implements")),H){let de;T(z)?de=[...ue,F(W)]:de=F([...ue,W]),Z.push(A(de,{id:v(z)}))}else Z.push(...ue,...W);return Z.push(" ",q("body")),Z}var v=d("heritageGroup");function O(N){return C(m,"",{groupId:v(N)})}function x(N){return["superClass","extends","mixins","implements"].filter(R=>Boolean(N[R])).length>1}function T(N){return N.typeParameters&&!y(N.typeParameters,E.Trailing|E.Line)&&!x(N)}function f(N,R,q,z){let Z=N.getValue();if(!u(Z[z]))return"";let H=s(N,R,!0,ue=>{let{marker:W}=ue;return W===z});return[T(Z)?C(" ",l,{groupId:w(Z.typeParameters)}):l,H,H&&m,z,A(F([l,o([",",l],N.map(q,z))]))]}function b(N,R,q){let z=q("superClass");return N.getParentNode().type==="AssignmentExpression"?A(C(["(",F([D,z]),D,")"],z)):z}function S(N,R,q){let z=N.getValue(),Z=[];return u(z.decorators)&&Z.push(U(N,R,q)),z.accessibility&&Z.push(z.accessibility+" "),z.readonly&&Z.push("readonly "),z.declare&&Z.push("declare "),z.static&&Z.push("static "),(z.type==="TSAbstractMethodDefinition"||z.abstract)&&Z.push("abstract "),z.override&&Z.push("override "),Z.push($(N,R,q)),Z}function I(N,R,q){let z=N.getValue(),Z=[],H=R.semi?";":"";return u(z.decorators)&&Z.push(U(N,R,q)),z.accessibility&&Z.push(z.accessibility+" "),z.declare&&Z.push("declare "),z.static&&Z.push("static "),(z.type==="TSAbstractPropertyDefinition"||z.type==="TSAbstractAccessorProperty"||z.abstract)&&Z.push("abstract "),z.override&&Z.push("override "),z.readonly&&Z.push("readonly "),z.variance&&Z.push(q("variance")),(z.type==="ClassAccessorProperty"||z.type==="AccessorProperty"||z.type==="TSAbstractAccessorProperty")&&Z.push("accessor "),Z.push(L(N,R,q),V(N),M(N),_(N,R,q)),[G(N,R,q,Z," =","value"),H]}g.exports={printClass:ee,printClassMethod:S,printClassProperty:I,printHardlineAfterHeritage:O}}}),So=ie({"src/language-js/print/interface.js"(c,g){"use strict";pe();var{isNonEmptyArray:u}=Mt(),{builders:{join:d,line:h,group:s,indent:o,ifBreak:l}}=Ft(),{hasComment:m,identity:D,CommentCheckFlags:A}=Kt(),{getTypeParametersGroupId:F}=vs(),{printTypeScriptModifiers:C}=Lr();function y(E,w,$){let V=E.getValue(),_=[];V.declare&&_.push("declare "),V.type==="TSInterfaceDeclaration"&&_.push(V.abstract?"abstract ":"",C(E,w,$)),_.push("interface");let M=[],L=[];V.type!=="InterfaceTypeAnnotation"&&M.push(" ",$("id"),$("typeParameters"));let G=V.typeParameters&&!m(V.typeParameters,A.Trailing|A.Line);return u(V.extends)&&L.push(G?l(" ",h,{groupId:F(V.typeParameters)}):h,"extends ",(V.extends.length===1?D:o)(d([",",h],E.map($,"extends")))),V.id&&m(V.id,A.Trailing)||u(V.extends)?G?_.push(s([...M,o(L)])):_.push(s(o([...M,...L]))):_.push(...M,...L),_.push(" ",$("body")),s(_)}g.exports={printInterface:y}}}),wo=ie({"src/language-js/print/module.js"(c,g){"use strict";pe();var{isNonEmptyArray:u}=Mt(),{builders:{softline:d,group:h,indent:s,join:o,line:l,ifBreak:m,hardline:D}}=Ft(),{printDanglingComments:A}=fr(),{hasComment:F,CommentCheckFlags:C,shouldPrintComma:y,needsHardlineAfterDanglingComment:E,isStringLiteral:w,rawText:$}=Kt(),{locStart:V,hasSameLoc:_}=Ar(),{hasDecoratorsBeforeExport:M,printDecoratorsBeforeExport:L}=Mu();function G(I,N,R){let q=I.getValue(),z=N.semi?";":"",Z=[],{importKind:H}=q;return Z.push("import"),H&&H!=="value"&&Z.push(" ",H),Z.push(x(I,N,R),O(I,N,R),f(I,N,R),z),Z}function U(I,N,R){let q=I.getValue(),z=[];M(q)&&z.push(L(I,N,R));let{type:Z,exportKind:H,declaration:ue}=q;return z.push("export"),(q.default||Z==="ExportDefaultDeclaration")&&z.push(" default"),F(q,C.Dangling)&&(z.push(" ",A(I,N,!0)),E(q)&&z.push(D)),ue?z.push(" ",R("declaration")):z.push(H==="type"?" type":"",x(I,N,R),O(I,N,R),f(I,N,R)),v(q,N)&&z.push(";"),z}function ee(I,N,R){let q=I.getValue(),z=N.semi?";":"",Z=[],{exportKind:H,exported:ue}=q;return Z.push("export"),H==="type"&&Z.push(" type"),Z.push(" *"),ue&&Z.push(" as ",R("exported")),Z.push(O(I,N,R),f(I,N,R),z),Z}function v(I,N){if(!N.semi)return!1;let{type:R,declaration:q}=I,z=I.default||R==="ExportDefaultDeclaration";if(!q)return!0;let{type:Z}=q;return!!(z&&Z!=="ClassDeclaration"&&Z!=="FunctionDeclaration"&&Z!=="TSInterfaceDeclaration"&&Z!=="DeclareClass"&&Z!=="DeclareFunction"&&Z!=="TSDeclareFunction"&&Z!=="EnumDeclaration")}function O(I,N,R){let q=I.getValue();if(!q.source)return"";let z=[];return T(q,N)||z.push(" from"),z.push(" ",R("source")),z}function x(I,N,R){let q=I.getValue();if(T(q,N))return"";let z=[" "];if(u(q.specifiers)){let Z=[],H=[];I.each(()=>{let ue=I.getValue().type;if(ue==="ExportNamespaceSpecifier"||ue==="ExportDefaultSpecifier"||ue==="ImportNamespaceSpecifier"||ue==="ImportDefaultSpecifier")Z.push(R());else if(ue==="ExportSpecifier"||ue==="ImportSpecifier")H.push(R());else throw new Error(`Unknown specifier type ${JSON.stringify(ue)}`)},"specifiers"),z.push(o(", ",Z)),H.length>0&&(Z.length>0&&z.push(", "),H.length>1||Z.length>0||q.specifiers.some(ue=>F(ue))?z.push(h(["{",s([N.bracketSpacing?l:d,o([",",l],H)]),m(y(N)?",":""),N.bracketSpacing?l:d,"}"])):z.push(["{",N.bracketSpacing?" ":"",...H,N.bracketSpacing?" ":"","}"]))}else z.push("{}");return z}function T(I,N){let{type:R,importKind:q,source:z,specifiers:Z}=I;return R!=="ImportDeclaration"||u(Z)||q==="type"?!1:!/{\s*}/.test(N.originalText.slice(V(I),V(z)))}function f(I,N,R){let q=I.getNode();return u(q.assertions)?[" assert {",N.bracketSpacing?" ":"",o(", ",I.map(R,"assertions")),N.bracketSpacing?" ":"","}"]:""}function b(I,N,R){let q=I.getNode(),{type:z}=q,Z=[],H=z==="ImportSpecifier"?q.importKind:q.exportKind;H&&H!=="value"&&Z.push(H," ");let ue=z.startsWith("Import"),W=ue?"imported":"local",de=ue?"local":"exported",Q=q[W],Y=q[de],he="",xe="";return z==="ExportNamespaceSpecifier"||z==="ImportNamespaceSpecifier"?he="*":Q&&(he=R(W)),Y&&!S(q)&&(xe=R(de)),Z.push(he,he&&xe?" as ":"",xe),Z}function S(I){if(I.type!=="ImportSpecifier"&&I.type!=="ExportSpecifier")return!1;let{local:N,[I.type==="ImportSpecifier"?"imported":"exported"]:R}=I;if(N.type!==R.type||!_(N,R))return!1;if(w(N))return N.value===R.value&&$(N)===$(R);switch(N.type){case"Identifier":return N.name===R.name;default:return!1}}g.exports={printImportDeclaration:G,printExportDeclaration:U,printExportAllDeclaration:ee,printModuleSpecifier:b}}}),$u=ie({"src/language-js/print/object.js"(c,g){"use strict";pe();var{printDanglingComments:u}=fr(),{builders:{line:d,softline:h,group:s,indent:o,ifBreak:l,hardline:m}}=Ft(),{getLast:D,hasNewlineInRange:A,hasNewline:F,isNonEmptyArray:C}=Mt(),{shouldPrintComma:y,hasComment:E,getComments:w,CommentCheckFlags:$,isNextLineEmpty:V}=Kt(),{locStart:_,locEnd:M}=Ar(),{printOptionalToken:L,printTypeAnnotation:G}=Lr(),{shouldHugFunctionParameters:U}=Es(),{shouldHugType:ee}=xs(),{printHardlineAfterHeritage:v}=Ui();function O(x,T,f){let b=T.semi?";":"",S=x.getValue(),I;S.type==="TSTypeLiteral"?I="members":S.type==="TSInterfaceBody"?I="body":I="properties";let N=S.type==="ObjectTypeAnnotation",R=[I];N&&R.push("indexers","callProperties","internalSlots");let q=R.map(te=>S[te][0]).sort((te,oe)=>_(te)-_(oe))[0],z=x.getParentNode(0),Z=N&&z&&(z.type==="InterfaceDeclaration"||z.type==="DeclareInterface"||z.type==="DeclareClass")&&x.getName()==="body",H=S.type==="TSInterfaceBody"||Z||S.type==="ObjectPattern"&&z.type!=="FunctionDeclaration"&&z.type!=="FunctionExpression"&&z.type!=="ArrowFunctionExpression"&&z.type!=="ObjectMethod"&&z.type!=="ClassMethod"&&z.type!=="ClassPrivateMethod"&&z.type!=="AssignmentPattern"&&z.type!=="CatchClause"&&S.properties.some(te=>te.value&&(te.value.type==="ObjectPattern"||te.value.type==="ArrayPattern"))||S.type!=="ObjectPattern"&&q&&A(T.originalText,_(S),_(q)),ue=Z?";":S.type==="TSInterfaceBody"||S.type==="TSTypeLiteral"?l(b,";"):",",W=S.type==="RecordExpression"?"#{":S.exact?"{|":"{",de=S.exact?"|}":"}",Q=[];for(let te of R)x.each(oe=>{let Te=oe.getValue();Q.push({node:Te,printed:f(),loc:_(Te)})},te);R.length>1&&Q.sort((te,oe)=>te.loc-oe.loc);let Y=[],he=Q.map(te=>{let oe=[...Y,s(te.printed)];return Y=[ue,d],(te.node.type==="TSPropertySignature"||te.node.type==="TSMethodSignature"||te.node.type==="TSConstructSignatureDeclaration")&&E(te.node,$.PrettierIgnore)&&Y.shift(),V(te.node,T)&&Y.push(m),oe});if(S.inexact){let te;if(E(S,$.Dangling)){let oe=E(S,$.Line);te=[u(x,T,!0),oe||F(T.originalText,M(D(w(S))))?m:d,"..."]}else te=["..."];he.push([...Y,...te])}let xe=D(S[I]),me=!(S.inexact||xe&&xe.type==="RestElement"||xe&&(xe.type==="TSPropertySignature"||xe.type==="TSCallSignatureDeclaration"||xe.type==="TSMethodSignature"||xe.type==="TSConstructSignatureDeclaration")&&E(xe,$.PrettierIgnore)),Pe;if(he.length===0){if(!E(S,$.Dangling))return[W,de,G(x,T,f)];Pe=s([W,u(x,T),h,de,L(x),G(x,T,f)])}else Pe=[Z&&C(S.properties)?v(z):"",W,o([T.bracketSpacing?d:h,...he]),l(me&&(ue!==","||y(T))?ue:""),T.bracketSpacing?d:h,de,L(x),G(x,T,f)];return x.match(te=>te.type==="ObjectPattern"&&!te.decorators,(te,oe,Te)=>U(te)&&(oe==="params"||oe==="parameters"||oe==="this"||oe==="rest")&&Te===0)||x.match(ee,(te,oe)=>oe==="typeAnnotation",(te,oe)=>oe==="typeAnnotation",(te,oe,Te)=>U(te)&&(oe==="params"||oe==="parameters"||oe==="this"||oe==="rest")&&Te===0)||!H&&x.match(te=>te.type==="ObjectPattern",te=>te.type==="AssignmentExpression"||te.type==="VariableDeclarator")?Pe:s(Pe,{shouldBreak:H})}g.exports={printObject:O}}}),fh=ie({"src/language-js/print/flow.js"(c,g){"use strict";pe();var u=ji(),{printDanglingComments:d}=fr(),{printString:h,printNumber:s}=Mt(),{builders:{hardline:o,softline:l,group:m,indent:D}}=Ft(),{getParentExportDeclaration:A,isFunctionNotation:F,isGetterOrSetter:C,rawText:y,shouldPrintComma:E}=Kt(),{locStart:w,locEnd:$}=Ar(),{replaceTextEndOfLine:V}=Li(),{printClass:_}=Ui(),{printOpaqueType:M,printTypeAlias:L,printIntersectionType:G,printUnionType:U,printFunctionType:ee,printTupleType:v,printIndexedAccessType:O}=xs(),{printInterface:x}=So(),{printTypeParameter:T,printTypeParameters:f}=vs(),{printExportDeclaration:b,printExportAllDeclaration:S}=wo(),{printArrayItems:I}=Mi(),{printObject:N}=$u(),{printPropertyKey:R}=Vi(),{printOptionalToken:q,printTypeAnnotation:z,printRestSpread:Z}=Lr();function H(W,de,Q){let Y=W.getValue(),he=de.semi?";":"",xe=[];switch(Y.type){case"DeclareClass":return ue(W,_(W,de,Q));case"DeclareFunction":return ue(W,["function ",Q("id"),Y.predicate?" ":"",Q("predicate"),he]);case"DeclareModule":return ue(W,["module ",Q("id")," ",Q("body")]);case"DeclareModuleExports":return ue(W,["module.exports",": ",Q("typeAnnotation"),he]);case"DeclareVariable":return ue(W,["var ",Q("id"),he]);case"DeclareOpaqueType":return ue(W,M(W,de,Q));case"DeclareInterface":return ue(W,x(W,de,Q));case"DeclareTypeAlias":return ue(W,L(W,de,Q));case"DeclareExportDeclaration":return ue(W,b(W,de,Q));case"DeclareExportAllDeclaration":return ue(W,S(W,de,Q));case"OpaqueType":return M(W,de,Q);case"TypeAlias":return L(W,de,Q);case"IntersectionTypeAnnotation":return G(W,de,Q);case"UnionTypeAnnotation":return U(W,de,Q);case"FunctionTypeAnnotation":return ee(W,de,Q);case"TupleTypeAnnotation":return v(W,de,Q);case"GenericTypeAnnotation":return[Q("id"),f(W,de,Q,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return O(W,de,Q);case"TypeAnnotation":return Q("typeAnnotation");case"TypeParameter":return T(W,de,Q);case"TypeofTypeAnnotation":return["typeof ",Q("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[Q("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Y.value);case"EnumDeclaration":return["enum ",Q("id")," ",Q("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Y.type==="EnumSymbolBody"||Y.explicitType){let me=null;switch(Y.type){case"EnumBooleanBody":me="boolean";break;case"EnumNumberBody":me="number";break;case"EnumStringBody":me="string";break;case"EnumSymbolBody":me="symbol";break}xe.push("of ",me," ")}if(Y.members.length===0&&!Y.hasUnknownMembers)xe.push(m(["{",d(W,de),l,"}"]));else{let me=Y.members.length>0?[o,I(W,de,"members",Q),Y.hasUnknownMembers||E(de)?",":""]:[];xe.push(m(["{",D([...me,...Y.hasUnknownMembers?[o,"..."]:[]]),d(W,de,!0),o,"}"]))}return xe}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[Q("id")," = ",typeof Y.init=="object"?Q("init"):String(Y.init)];case"EnumDefaultedMember":return Q("id");case"FunctionTypeParam":{let me=Y.name?Q("name"):W.getParentNode().this===Y?"this":"";return[me,q(W),me?": ":"",Q("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return x(W,de,Q);case"ClassImplements":case"InterfaceExtends":return[Q("id"),Q("typeParameters")];case"NullableTypeAnnotation":return["?",Q("typeAnnotation")];case"Variance":{let{kind:me}=Y;return u.ok(me==="plus"||me==="minus"),me==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Y.static&&xe.push("static "),xe.push(Q("value")),xe;case"ObjectTypeIndexer":return[Y.static?"static ":"",Y.variance?Q("variance"):"","[",Q("id"),Y.id?": ":"",Q("key"),"]: ",Q("value")];case"ObjectTypeProperty":{let me="";return Y.proto?me="proto ":Y.static&&(me="static "),[me,C(Y)?Y.kind+" ":"",Y.variance?Q("variance"):"",R(W,de,Q),q(W),F(Y)?"":": ",Q("value")]}case"ObjectTypeAnnotation":return N(W,de,Q);case"ObjectTypeInternalSlot":return[Y.static?"static ":"","[[",Q("id"),"]]",q(W),Y.method?"":": ",Q("value")];case"ObjectTypeSpreadProperty":return Z(W,de,Q);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Q("qualification"),".",Q("id")];case"StringLiteralTypeAnnotation":return V(h(y(Y),de));case"NumberLiteralTypeAnnotation":u.strictEqual(typeof Y.value,"number");case"BigIntLiteralTypeAnnotation":return Y.extra?s(Y.extra.raw):s(Y.raw);case"TypeCastExpression":return["(",Q("expression"),z(W,de,Q),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let me=f(W,de,Q,"params");if(de.parser==="flow"){let Pe=w(Y),te=$(Y),oe=de.originalText.lastIndexOf("/*",Pe),Te=de.originalText.indexOf("*/",te);if(oe!==-1&&Te!==-1){let ke=de.originalText.slice(oe+2,Te).trim();if(ke.startsWith("::")&&!ke.includes("/*")&&!ke.includes("*/"))return["/*:: ",me," */"]}}return me}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",Q("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(Y.type))}}function ue(W,de){let Q=A(W);return Q?(u.strictEqual(Q.type,"DeclareExportDeclaration"),de):["declare ",de]}g.exports={printFlow:H}}}),hh=ie({"src/language-js/utils/is-ts-keyword-type.js"(c,g){"use strict";pe();function u(d){let{type:h}=d;return h.startsWith("TS")&&h.endsWith("Keyword")}g.exports=u}}),To=ie({"src/language-js/print/ternary.js"(c,g){"use strict";pe();var{hasNewlineInRange:u}=Mt(),{isJsxNode:d,getComments:h,isCallExpression:s,isMemberExpression:o,isTSTypeExpression:l}=Kt(),{locStart:m,locEnd:D}=Ar(),A=Ln(),{builders:{line:F,softline:C,group:y,indent:E,align:w,ifBreak:$,dedent:V,breakParent:_}}=Ft();function M(v){let O=[v];for(let x=0;x<O.length;x++){let T=O[x];for(let f of["test","consequent","alternate"]){let b=T[f];if(d(b))return!0;b.type==="ConditionalExpression"&&O.push(b)}}return!1}function L(v,O,x){let T=v.getValue(),f=T.type==="ConditionalExpression",b=f?"alternate":"falseType",S=v.getParentNode(),I=f?x("test"):[x("checkType")," ","extends"," ",x("extendsType")];return S.type===T.type&&S[b]===T?w(2,I):I}var G=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function U(v){let O=v.getValue();if(O.type!=="ConditionalExpression")return!1;let x,T=O;for(let f=0;!x;f++){let b=v.getParentNode(f);if(s(b)&&b.callee===T||o(b)&&b.object===T||b.type==="TSNonNullExpression"&&b.expression===T){T=b;continue}b.type==="NewExpression"&&b.callee===T||l(b)&&b.expression===T?(x=v.getParentNode(f+1),T=b):x=b}return T===O?!1:x[G.get(x.type)]===T}function ee(v,O,x){let T=v.getValue(),f=T.type==="ConditionalExpression",b=f?"consequent":"trueType",S=f?"alternate":"falseType",I=f?["test"]:["checkType","extendsType"],N=T[b],R=T[S],q=[],z=!1,Z=v.getParentNode(),H=Z.type===T.type&&I.some(Te=>Z[Te]===T),ue=Z.type===T.type&&!H,W,de,Q=0;do de=W||T,W=v.getParentNode(Q),Q++;while(W&&W.type===T.type&&I.every(Te=>W[Te]!==de));let Y=W||Z,he=de;if(f&&(d(T[I[0]])||d(N)||d(R)||M(he))){z=!0,ue=!0;let Te=Qe=>[$("("),E([C,Qe]),C,$(")")],ke=Qe=>Qe.type==="NullLiteral"||Qe.type==="Literal"&&Qe.value===null||Qe.type==="Identifier"&&Qe.name==="undefined";q.push(" ? ",ke(N)?x(b):Te(x(b))," : ",R.type===T.type||ke(R)?x(S):Te(x(S)))}else{let Te=[F,"? ",N.type===T.type?$("","("):"",w(2,x(b)),N.type===T.type?$("",")"):"",F,": ",R.type===T.type?x(S):w(2,x(S))];q.push(Z.type!==T.type||Z[S]===T||H?Te:O.useTabs?V(E(Te)):w(Math.max(0,O.tabWidth-2),Te))}let xe=[...I.map(Te=>h(T[Te])),h(N),h(R)].flat().some(Te=>A(Te)&&u(O.originalText,m(Te),D(Te))),me=Te=>Z===Y?y(Te,{shouldBreak:xe}):xe?[Te,_]:Te,Pe=!z&&(o(Z)||Z.type==="NGPipeExpression"&&Z.left===T)&&!Z.computed,te=U(v),oe=me([L(v,O,x),ue?q:E(q),f&&Pe&&!te?C:""]);return H||te?y([E([C,oe]),C]):oe}g.exports={printTernary:ee}}}),ko=ie({"src/language-js/print/statement.js"(c,g){"use strict";pe();var{builders:{hardline:u}}=Ft(),d=ii(),{getLeftSidePathName:h,hasNakedLeftSide:s,isJsxNode:o,isTheOnlyJsxElementInMarkdown:l,hasComment:m,CommentCheckFlags:D,isNextLineEmpty:A}=Kt(),{shouldPrintParamsWithoutParens:F}=Cs();function C(L,G,U,ee){let v=L.getValue(),O=[],x=v.type==="ClassBody",T=y(v[ee]);return L.each((f,b,S)=>{let I=f.getValue();if(I.type==="EmptyStatement")return;let N=U();!G.semi&&!x&&!l(G,f)&&E(f,G)?m(I,D.Leading)?O.push(U([],{needsSemi:!0})):O.push(";",N):O.push(N),!G.semi&&x&&_(I)&&M(I,S[b+1])&&O.push(";"),I!==T&&(O.push(u),A(I,G)&&O.push(u))},ee),O}function y(L){for(let G=L.length-1;G>=0;G--){let U=L[G];if(U.type!=="EmptyStatement")return U}}function E(L,G){return L.getNode().type!=="ExpressionStatement"?!1:L.call(U=>w(U,G),"expression")}function w(L,G){let U=L.getValue();switch(U.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!F(L,G))return!0;break}case"UnaryExpression":{let{prefix:ee,operator:v}=U;if(ee&&(v==="+"||v==="-"))return!0;break}case"BindExpression":{if(!U.object)return!0;break}case"Literal":{if(U.regex)return!0;break}default:if(o(U))return!0}return d(L,G)?!0:s(U)?L.call(ee=>w(ee,G),...h(L,U)):!1}function $(L,G,U){return C(L,G,U,"body")}function V(L,G,U){return C(L,G,U,"consequent")}var _=L=>{let{type:G}=L;return G==="ClassProperty"||G==="PropertyDefinition"||G==="ClassPrivateProperty"||G==="ClassAccessorProperty"||G==="AccessorProperty"||G==="TSAbstractPropertyDefinition"||G==="TSAbstractAccessorProperty"};function M(L,G){let{type:U,name:ee}=L.key;if(!L.computed&&U==="Identifier"&&(ee==="static"||ee==="get"||ee==="set"||ee==="accessor")&&!L.value&&!L.typeAnnotation)return!0;if(!G||G.static||G.accessibility)return!1;if(!G.computed){let v=G.key&&G.key.name;if(v==="in"||v==="instanceof")return!0}if(_(G)&&G.variance&&!G.static&&!G.declare)return!0;switch(G.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return G.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((G.value?G.value.async:G.async)||G.kind==="get"||G.kind==="set")return!1;let v=G.value?G.value.generator:G.generator;return!!(G.computed||v)}case"TSIndexSignature":return!0}return!1}g.exports={printBody:$,printSwitchCaseConsequent:V}}}),_o=ie({"src/language-js/print/block.js"(c,g){"use strict";pe();var{printDanglingComments:u}=fr(),{isNonEmptyArray:d}=Mt(),{builders:{hardline:h,indent:s}}=Ft(),{hasComment:o,CommentCheckFlags:l,isNextLineEmpty:m}=Kt(),{printHardlineAfterHeritage:D}=Ui(),{printBody:A}=ko();function F(y,E,w){let $=y.getValue(),V=[];if($.type==="StaticBlock"&&V.push("static "),$.type==="ClassBody"&&d($.body)){let M=y.getParentNode();V.push(D(M))}V.push("{");let _=C(y,E,w);if(_)V.push(s([h,_]),h);else{let M=y.getParentNode(),L=y.getParentNode(1);M.type==="ArrowFunctionExpression"||M.type==="FunctionExpression"||M.type==="FunctionDeclaration"||M.type==="ObjectMethod"||M.type==="ClassMethod"||M.type==="ClassPrivateMethod"||M.type==="ForStatement"||M.type==="WhileStatement"||M.type==="DoWhileStatement"||M.type==="DoExpression"||M.type==="CatchClause"&&!L.finalizer||M.type==="TSModuleDeclaration"||M.type==="TSDeclareFunction"||$.type==="StaticBlock"||$.type==="ClassBody"||V.push(h)}return V.push("}"),V}function C(y,E,w){let $=y.getValue(),V=d($.directives),_=$.body.some(G=>G.type!=="EmptyStatement"),M=o($,l.Dangling);if(!V&&!_&&!M)return"";let L=[];if(V&&y.each((G,U,ee)=>{L.push(w()),(U<ee.length-1||_||M)&&(L.push(h),m(G.getValue(),E)&&L.push(h))},"directives"),_&&L.push(A(y,E,w)),M&&L.push(u(y,E,!0)),$.type==="Program"){let G=y.getParentNode();(!G||G.type!=="ModuleExpression")&&L.push(h)}return L}g.exports={printBlock:F,printBlockBody:C}}}),dh=ie({"src/language-js/print/typescript.js"(c,g){"use strict";pe();var{printDanglingComments:u}=fr(),{hasNewlineInRange:d}=Mt(),{builders:{join:h,line:s,hardline:o,softline:l,group:m,indent:D,conditionalGroup:A,ifBreak:F}}=Ft(),{isStringLiteral:C,getTypeScriptMappedTypeModifier:y,shouldPrintComma:E,isCallExpression:w,isMemberExpression:$}=Kt(),V=hh(),{locStart:_,locEnd:M}=Ar(),{printOptionalToken:L,printTypeScriptModifiers:G}=Lr(),{printTernary:U}=To(),{printFunctionParameters:ee,shouldGroupFunctionParameters:v}=Es(),{printTemplateLiteral:O}=ni(),{printArrayItems:x}=Mi(),{printObject:T}=$u(),{printClassProperty:f,printClassMethod:b}=Ui(),{printTypeParameter:S,printTypeParameters:I}=vs(),{printPropertyKey:N}=Vi(),{printFunction:R,printMethodInternal:q}=Cs(),{printInterface:z}=So(),{printBlock:Z}=_o(),{printTypeAlias:H,printIntersectionType:ue,printUnionType:W,printFunctionType:de,printTupleType:Q,printIndexedAccessType:Y,printJSDocType:he}=xs();function xe(me,Pe,te){let oe=me.getValue();if(!oe.type.startsWith("TS"))return;if(V(oe))return oe.type.slice(2,-7).toLowerCase();let Te=Pe.semi?";":"",ke=[];switch(oe.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Qe=!(oe.expression.type==="ArrayExpression"||oe.expression.type==="ObjectExpression"),fe=m(["<",D([l,te("typeAnnotation")]),l,">"]),ne=[F("("),D([l,te("expression")]),l,F(")")];return Qe?A([[fe,te("expression")],[fe,m(ne,{shouldBreak:!0})],[fe,te("expression")]]):m([fe,te("expression")])}case"TSDeclareFunction":return R(me,te,Pe);case"TSExportAssignment":return["export = ",te("expression"),Te];case"TSModuleBlock":return Z(me,Pe,te);case"TSInterfaceBody":case"TSTypeLiteral":return T(me,Pe,te);case"TSTypeAliasDeclaration":return H(me,Pe,te);case"TSQualifiedName":return h(".",[te("left"),te("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return b(me,Pe,te);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return f(me,Pe,te);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return ke.push(te("expression")),oe.typeParameters&&ke.push(te("typeParameters")),ke;case"TSTemplateLiteralType":return O(me,te,Pe);case"TSNamedTupleMember":return[te("label"),oe.optional?"?":"",": ",te("elementType")];case"TSRestType":return["...",te("typeAnnotation")];case"TSOptionalType":return[te("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return z(me,Pe,te);case"TSClassImplements":return[te("expression"),te("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return I(me,Pe,te,"params");case"TSTypeParameter":return S(me,Pe,te);case"TSSatisfiesExpression":case"TSAsExpression":{let Qe=oe.type==="TSAsExpression"?"as":"satisfies";ke.push(te("expression"),` ${Qe} `,te("typeAnnotation"));let fe=me.getParentNode();return w(fe)&&fe.callee===oe||$(fe)&&fe.object===oe?m([D([l,...ke]),l]):ke}case"TSArrayType":return[te("elementType"),"[]"];case"TSPropertySignature":return oe.readonly&&ke.push("readonly "),ke.push(N(me,Pe,te),L(me)),oe.typeAnnotation&&ke.push(": ",te("typeAnnotation")),oe.initializer&&ke.push(" = ",te("initializer")),ke;case"TSParameterProperty":return oe.accessibility&&ke.push(oe.accessibility+" "),oe.export&&ke.push("export "),oe.static&&ke.push("static "),oe.override&&ke.push("override "),oe.readonly&&ke.push("readonly "),ke.push(te("parameter")),ke;case"TSTypeQuery":return["typeof ",te("exprName"),te("typeParameters")];case"TSIndexSignature":{let Qe=me.getParentNode(),fe=oe.parameters.length>1?F(E(Pe)?",":""):"",ne=m([D([l,h([", ",l],me.map(te,"parameters"))]),fe,l]);return[oe.export?"export ":"",oe.accessibility?[oe.accessibility," "]:"",oe.static?"static ":"",oe.readonly?"readonly ":"",oe.declare?"declare ":"","[",oe.parameters?ne:"",oe.typeAnnotation?"]: ":"]",oe.typeAnnotation?te("typeAnnotation"):"",Qe.type==="ClassBody"?Te:""]}case"TSTypePredicate":return[oe.asserts?"asserts ":"",te("parameterName"),oe.typeAnnotation?[" is ",te("typeAnnotation")]:""];case"TSNonNullExpression":return[te("expression"),"!"];case"TSImportType":return[oe.isTypeOf?"typeof ":"","import(",te(oe.parameter?"parameter":"argument"),")",oe.qualifier?[".",te("qualifier")]:"",I(me,Pe,te,"typeParameters")];case"TSLiteralType":return te("literal");case"TSIndexedAccessType":return Y(me,Pe,te);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(oe.type==="TSConstructorType"&&oe.abstract&&ke.push("abstract "),oe.type!=="TSCallSignatureDeclaration"&&ke.push("new "),ke.push(m(ee(me,te,Pe,!1,!0))),oe.returnType||oe.typeAnnotation){let Qe=oe.type==="TSConstructorType";ke.push(Qe?" => ":": ",te("returnType"),te("typeAnnotation"))}return ke}case"TSTypeOperator":return[oe.operator," ",te("typeAnnotation")];case"TSMappedType":{let Qe=d(Pe.originalText,_(oe),M(oe));return m(["{",D([Pe.bracketSpacing?s:l,te("typeParameter"),oe.optional?y(oe.optional,"?"):"",oe.typeAnnotation?": ":"",te("typeAnnotation"),F(Te)]),u(me,Pe,!0),Pe.bracketSpacing?s:l,"}"],{shouldBreak:Qe})}case"TSMethodSignature":{let Qe=oe.kind&&oe.kind!=="method"?`${oe.kind} `:"";ke.push(oe.accessibility?[oe.accessibility," "]:"",Qe,oe.export?"export ":"",oe.static?"static ":"",oe.readonly?"readonly ":"",oe.abstract?"abstract ":"",oe.declare?"declare ":"",oe.computed?"[":"",te("key"),oe.computed?"]":"",L(me));let fe=ee(me,te,Pe,!1,!0),ne=oe.returnType?"returnType":"typeAnnotation",ge=oe[ne],Ee=ge?te(ne):"",Ne=v(oe,Ee);return ke.push(Ne?m(fe):fe),ge&&ke.push(": ",m(Ee)),m(ke)}case"TSNamespaceExportDeclaration":return ke.push("export as namespace ",te("id")),Pe.semi&&ke.push(";"),m(ke);case"TSEnumDeclaration":return oe.declare&&ke.push("declare "),oe.modifiers&&ke.push(G(me,Pe,te)),oe.const&&ke.push("const "),ke.push("enum ",te("id")," "),oe.members.length===0?ke.push(m(["{",u(me,Pe),l,"}"])):ke.push(m(["{",D([o,x(me,Pe,"members",te),E(Pe,"es5")?",":""]),u(me,Pe,!0),o,"}"])),ke;case"TSEnumMember":return oe.computed?ke.push("[",te("id"),"]"):ke.push(te("id")),oe.initializer&&ke.push(" = ",te("initializer")),ke;case"TSImportEqualsDeclaration":return oe.isExport&&ke.push("export "),ke.push("import "),oe.importKind&&oe.importKind!=="value"&&ke.push(oe.importKind," "),ke.push(te("id")," = ",te("moduleReference")),Pe.semi&&ke.push(";"),m(ke);case"TSExternalModuleReference":return["require(",te("expression"),")"];case"TSModuleDeclaration":{let Qe=me.getParentNode(),fe=C(oe.id),ne=Qe.type==="TSModuleDeclaration",ge=oe.body&&oe.body.type==="TSModuleDeclaration";if(ne)ke.push(".");else{oe.declare&&ke.push("declare "),ke.push(G(me,Pe,te));let Ee=Pe.originalText.slice(_(oe),_(oe.id));oe.id.type==="Identifier"&&oe.id.name==="global"&&!/namespace|module/.test(Ee)||ke.push(fe||/(?:^|\s)module(?:\s|$)/.test(Ee)?"module ":"namespace ")}return ke.push(te("id")),ge?ke.push(te("body")):oe.body?ke.push(" ",m(te("body"))):ke.push(Te),ke}case"TSConditionalType":return U(me,Pe,te);case"TSInferType":return["infer"," ",te("typeParameter")];case"TSIntersectionType":return ue(me,Pe,te);case"TSUnionType":return W(me,Pe,te);case"TSFunctionType":return de(me,Pe,te);case"TSTupleType":return Q(me,Pe,te);case"TSTypeReference":return[te("typeName"),I(me,Pe,te,"typeParameters")];case"TSTypeAnnotation":return te("typeAnnotation");case"TSEmptyBodyFunctionExpression":return q(me,Pe,te);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return he(me,te,"?");case"TSJSDocNonNullableType":return he(me,te,"!");case"TSInstantiationExpression":return[te("expression"),te("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(oe.type)}.`)}}g.exports={printTypescript:xe}}}),mh=ie({"src/language-js/print/comment.js"(c,g){"use strict";pe();var{hasNewline:u}=Mt(),{builders:{join:d,hardline:h},utils:{replaceTextEndOfLine:s}}=Ft(),{isLineComment:o}=Kt(),{locStart:l,locEnd:m}=Ar(),D=Ln();function A(y,E){let w=y.getValue();if(o(w))return E.originalText.slice(l(w),m(w)).trimEnd();if(D(w)){if(F(w)){let _=C(w);return w.trailing&&!u(E.originalText,l(w),{backwards:!0})?[h,_]:_}let $=m(w),V=E.originalText.slice($-3,$)==="*-/";return["/*",s(w.value),V?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(w))}function F(y){let E=`*${y.value}*`.split(`
|
|
134
|
+
`);return E.length>1&&E.every(w=>w.trim()[0]==="*")}function C(y){let E=y.value.split(`
|
|
135
|
+
`);return["/*",d(h,E.map((w,$)=>$===0?w.trimEnd():" "+($<E.length-1?w.trim():w.trimStart()))),"*/"]}g.exports={printComment:A}}}),gh=ie({"src/language-js/print/literal.js"(c,g){"use strict";pe();var{printString:u,printNumber:d}=Mt(),{replaceTextEndOfLine:h}=Li(),{printDirective:s}=Lr();function o(A,F){let C=A.getNode();switch(C.type){case"RegExpLiteral":return D(C);case"BigIntLiteral":return m(C.bigint||C.extra.raw);case"NumericLiteral":return d(C.extra.raw);case"StringLiteral":return h(u(C.extra.raw,F));case"NullLiteral":return"null";case"BooleanLiteral":return String(C.value);case"DecimalLiteral":return d(C.value)+"m";case"Literal":{if(C.regex)return D(C.regex);if(C.bigint)return m(C.raw);if(C.decimal)return d(C.decimal)+"m";let{value:y}=C;return typeof y=="number"?d(C.raw):typeof y=="string"?l(A)?s(C.raw,F):h(u(C.raw,F)):String(y)}}}function l(A){if(A.getName()!=="expression")return;let F=A.getParentNode();return F.type==="ExpressionStatement"&&F.directive}function m(A){return A.toLowerCase()}function D(A){let{pattern:F,flags:C}=A;return C=[...C].sort().join(""),`/${F}/${C}`}g.exports={printLiteral:o}}}),yh=ie({"src/language-js/printer-estree.js"(c,g){"use strict";pe();var{printDanglingComments:u}=fr(),{hasNewline:d}=Mt(),{builders:{join:h,line:s,hardline:o,softline:l,group:m,indent:D},utils:{replaceTextEndOfLine:A}}=Ft(),F=Kf(),C=Zf(),{insertPragma:y}=xo(),E=vo(),w=ii(),$=Co(),{hasFlowShorthandAnnotationComment:V,hasComment:_,CommentCheckFlags:M,isTheOnlyJsxElementInMarkdown:L,isLineComment:G,isNextLineEmpty:U,needsHardlineAfterDanglingComment:ee,hasIgnoreComment:v,isCallExpression:O,isMemberExpression:x,markerForIfWithoutBlockAndSameLineComment:T}=Kt(),{locStart:f,locEnd:b}=Ar(),S=Ln(),{printHtmlBinding:I,isVueEventBindingExpression:N}=oh(),{printAngular:R}=lh(),{printJsx:q,hasJsxIgnoreComment:z}=ch(),{printFlow:Z}=fh(),{printTypescript:H}=dh(),{printOptionalToken:ue,printBindExpressionCallee:W,printTypeAnnotation:de,adjustClause:Q,printRestSpread:Y,printDefiniteToken:he,printDirective:xe}=Lr(),{printImportDeclaration:me,printExportDeclaration:Pe,printExportAllDeclaration:te,printModuleSpecifier:oe}=wo(),{printTernary:Te}=To(),{printTemplateLiteral:ke}=ni(),{printArray:Qe}=Mi(),{printObject:fe}=$u(),{printClass:ne,printClassMethod:ge,printClassProperty:Ee}=Ui(),{printProperty:Ne}=Vi(),{printFunction:Me,printArrowFunction:Ge,printMethod:pt,printReturnStatement:Pt,printThrowStatement:wt}=Cs(),{printCallExpression:ct}=Fo(),{printVariableDeclarator:yt,printAssignmentExpression:Ae}=$i(),{printBinaryishExpression:re}=ju(),{printSwitchCaseConsequent:_e}=ko(),{printMemberExpression:ce}=Ao(),{printBlock:we,printBlockBody:it}=_o(),{printComment:ze}=mh(),{printLiteral:Be}=gh(),{printDecorators:P}=Mu();function ae(We,lt,qe,ir){let ut=ve(We,lt,qe,ir);if(!ut)return"";let Zt=We.getValue(),{type:st}=Zt;if(st==="ClassMethod"||st==="ClassPrivateMethod"||st==="ClassProperty"||st==="ClassAccessorProperty"||st==="AccessorProperty"||st==="TSAbstractAccessorProperty"||st==="PropertyDefinition"||st==="TSAbstractPropertyDefinition"||st==="ClassPrivateProperty"||st==="MethodDefinition"||st==="TSAbstractMethodDefinition"||st==="TSDeclareMethod")return ut;let xt=[ut],kt=P(We,lt,qe),zt=Zt.type==="ClassExpression"&&kt;if(kt&&(xt=[...kt,ut],!zt))return m(xt);if(!w(We,lt))return ir&&ir.needsSemi&&xt.unshift(";"),xt.length===1&&xt[0]===ut?ut:xt;if(zt&&(xt=[D([s,...xt])]),xt.unshift("("),ir&&ir.needsSemi&&xt.unshift(";"),V(Zt)){let[at]=Zt.trailingComments;xt.push(" /*",at.value.trimStart(),"*/"),at.printed=!0}return zt&&xt.push(s),xt.push(")"),xt}function ve(We,lt,qe,ir){let ut=We.getValue(),Zt=lt.semi?";":"";if(!ut)return"";if(typeof ut=="string")return ut;for(let xt of[Be,I,R,q,Z,H]){let kt=xt(We,lt,qe);if(typeof kt<"u")return kt}let st=[];switch(ut.type){case"JsExpressionRoot":return qe("node");case"JsonRoot":return[qe("node"),o];case"File":return ut.program&&ut.program.interpreter&&st.push(qe(["program","interpreter"])),st.push(qe("program")),st;case"Program":return it(We,lt,qe);case"EmptyStatement":return"";case"ExpressionStatement":{if(lt.parser==="__vue_event_binding"||lt.parser==="__vue_ts_event_binding"){let kt=We.getParentNode();if(kt.type==="Program"&&kt.body.length===1&&kt.body[0]===ut)return[qe("expression"),N(ut.expression)?";":""]}let xt=u(We,lt,!0,kt=>{let{marker:zt}=kt;return zt===T});return[qe("expression"),L(lt,We)?"":Zt,xt?[" ",xt]:""]}case"ParenthesizedExpression":return!_(ut.expression)&&(ut.expression.type==="ObjectExpression"||ut.expression.type==="ArrayExpression")?["(",qe("expression"),")"]:m(["(",D([l,qe("expression")]),l,")"]);case"AssignmentExpression":return Ae(We,lt,qe);case"VariableDeclarator":return yt(We,lt,qe);case"BinaryExpression":case"LogicalExpression":return re(We,lt,qe);case"AssignmentPattern":return[qe("left")," = ",qe("right")];case"OptionalMemberExpression":case"MemberExpression":return ce(We,lt,qe);case"MetaProperty":return[qe("meta"),".",qe("property")];case"BindExpression":return ut.object&&st.push(qe("object")),st.push(m(D([l,W(We,lt,qe)]))),st;case"Identifier":return[ut.name,ue(We),he(We),de(We,lt,qe)];case"V8IntrinsicIdentifier":return["%",ut.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Y(We,lt,qe);case"FunctionDeclaration":case"FunctionExpression":return Me(We,qe,lt,ir);case"ArrowFunctionExpression":return Ge(We,lt,qe,ir);case"YieldExpression":return st.push("yield"),ut.delegate&&st.push("*"),ut.argument&&st.push(" ",qe("argument")),st;case"AwaitExpression":{if(st.push("await"),ut.argument){st.push(" ",qe("argument"));let xt=We.getParentNode();if(O(xt)&&xt.callee===ut||x(xt)&&xt.object===ut){st=[D([l,...st]),l];let kt=We.findAncestor(zt=>zt.type==="AwaitExpression"||zt.type==="BlockStatement");if(!kt||kt.type!=="AwaitExpression")return m(st)}}return st}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Pe(We,lt,qe);case"ExportAllDeclaration":return te(We,lt,qe);case"ImportDeclaration":return me(We,lt,qe);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return oe(We,lt,qe);case"ImportAttribute":return[qe("key"),": ",qe("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return we(We,lt,qe);case"ThrowStatement":return wt(We,lt,qe);case"ReturnStatement":return Pt(We,lt,qe);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ct(We,lt,qe);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return fe(We,lt,qe);case"ObjectProperty":case"Property":return ut.method||ut.kind==="get"||ut.kind==="set"?pt(We,lt,qe):Ne(We,lt,qe);case"ObjectMethod":return pt(We,lt,qe);case"Decorator":return["@",qe("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Qe(We,lt,qe);case"SequenceExpression":{let xt=We.getParentNode(0);if(xt.type==="ExpressionStatement"||xt.type==="ForStatement"){let kt=[];return We.each((zt,at)=>{at===0?kt.push(qe()):kt.push(",",D([s,qe()]))},"expressions"),m(kt)}return m(h([",",s],We.map(qe,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[qe("value"),Zt];case"DirectiveLiteral":return xe(ut.extra.raw,lt);case"UnaryExpression":return st.push(ut.operator),/[a-z]$/.test(ut.operator)&&st.push(" "),_(ut.argument)?st.push(m(["(",D([l,qe("argument")]),l,")"])):st.push(qe("argument")),st;case"UpdateExpression":return st.push(qe("argument"),ut.operator),ut.prefix&&st.reverse(),st;case"ConditionalExpression":return Te(We,lt,qe);case"VariableDeclaration":{let xt=We.map(qe,"declarations"),kt=We.getParentNode(),zt=kt.type==="ForStatement"||kt.type==="ForInStatement"||kt.type==="ForOfStatement",at=ut.declarations.some(bt=>bt.init),St;return xt.length===1&&!_(ut.declarations[0])?St=xt[0]:xt.length>0&&(St=D(xt[0])),st=[ut.declare?"declare ":"",ut.kind,St?[" ",St]:"",D(xt.slice(1).map(bt=>[",",at&&!zt?o:s,bt]))],zt&&kt.body!==ut||st.push(Zt),m(st)}case"WithStatement":return m(["with (",qe("object"),")",Q(ut.body,qe("body"))]);case"IfStatement":{let xt=Q(ut.consequent,qe("consequent")),kt=m(["if (",m([D([l,qe("test")]),l]),")",xt]);if(st.push(kt),ut.alternate){let zt=_(ut.consequent,M.Trailing|M.Line)||ee(ut),at=ut.consequent.type==="BlockStatement"&&!zt;st.push(at?" ":o),_(ut,M.Dangling)&&st.push(u(We,lt,!0),zt?o:" "),st.push("else",m(Q(ut.alternate,qe("alternate"),ut.alternate.type==="IfStatement")))}return st}case"ForStatement":{let xt=Q(ut.body,qe("body")),kt=u(We,lt,!0),zt=kt?[kt,l]:"";return!ut.init&&!ut.test&&!ut.update?[zt,m(["for (;;)",xt])]:[zt,m(["for (",m([D([l,qe("init"),";",s,qe("test"),";",s,qe("update")]),l]),")",xt])]}case"WhileStatement":return m(["while (",m([D([l,qe("test")]),l]),")",Q(ut.body,qe("body"))]);case"ForInStatement":return m(["for (",qe("left")," in ",qe("right"),")",Q(ut.body,qe("body"))]);case"ForOfStatement":return m(["for",ut.await?" await":""," (",qe("left")," of ",qe("right"),")",Q(ut.body,qe("body"))]);case"DoWhileStatement":{let xt=Q(ut.body,qe("body"));return st=[m(["do",xt])],ut.body.type==="BlockStatement"?st.push(" "):st.push(o),st.push("while (",m([D([l,qe("test")]),l]),")",Zt),st}case"DoExpression":return[ut.async?"async ":"","do ",qe("body")];case"BreakStatement":return st.push("break"),ut.label&&st.push(" ",qe("label")),st.push(Zt),st;case"ContinueStatement":return st.push("continue"),ut.label&&st.push(" ",qe("label")),st.push(Zt),st;case"LabeledStatement":return ut.body.type==="EmptyStatement"?[qe("label"),":;"]:[qe("label"),": ",qe("body")];case"TryStatement":return["try ",qe("block"),ut.handler?[" ",qe("handler")]:"",ut.finalizer?[" finally ",qe("finalizer")]:""];case"CatchClause":if(ut.param){let xt=_(ut.param,zt=>!S(zt)||zt.leading&&d(lt.originalText,b(zt))||zt.trailing&&d(lt.originalText,f(zt),{backwards:!0})),kt=qe("param");return["catch ",xt?["(",D([l,kt]),l,") "]:["(",kt,") "],qe("body")]}return["catch ",qe("body")];case"SwitchStatement":return[m(["switch (",D([l,qe("discriminant")]),l,")"])," {",ut.cases.length>0?D([o,h(o,We.map((xt,kt,zt)=>{let at=xt.getValue();return[qe(),kt!==zt.length-1&&U(at,lt)?o:""]},"cases"))]):"",o,"}"];case"SwitchCase":{ut.test?st.push("case ",qe("test"),":"):st.push("default:"),_(ut,M.Dangling)&&st.push(" ",u(We,lt,!0));let xt=ut.consequent.filter(kt=>kt.type!=="EmptyStatement");if(xt.length>0){let kt=_e(We,lt,qe);st.push(xt.length===1&&xt[0].type==="BlockStatement"?[" ",kt]:D([o,kt]))}return st}case"DebuggerStatement":return["debugger",Zt];case"ClassDeclaration":case"ClassExpression":return ne(We,lt,qe);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return ge(We,lt,qe);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Ee(We,lt,qe);case"TemplateElement":return A(ut.value.raw);case"TemplateLiteral":return ke(We,qe,lt);case"TaggedTemplateExpression":return[qe("tag"),qe("typeParameters"),qe("quasi")];case"PrivateIdentifier":return["#",qe("name")];case"PrivateName":return["#",qe("id")];case"InterpreterDirective":return st.push("#!",ut.value,o),U(ut,lt)&&st.push(o),st;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{st.push("module {");let xt=qe("body");return xt&&st.push(D([o,xt]),o),st.push("}"),st}default:throw new Error("unknown type: "+JSON.stringify(ut.type))}}function Ve(We){return We.type&&!S(We)&&!G(We)&&We.type!=="EmptyStatement"&&We.type!=="TemplateElement"&&We.type!=="Import"&&We.type!=="TSEmptyBodyFunctionExpression"}g.exports={preprocess:$,print:ae,embed:F,insertPragma:y,massageAstNode:C,hasPrettierIgnore(We){return v(We)||z(We)},willPrintOwnComments:E.willPrintOwnComments,canAttachComment:Ve,printComment:ze,isBlockComment:S,handleComments:{avoidAstMutation:!0,ownLine:E.handleOwnLineComment,endOfLine:E.handleEndOfLineComment,remaining:E.handleRemainingComment},getCommentChildNodes:E.getCommentChildNodes}}}),Dh=ie({"src/language-js/printer-estree-json.js"(c,g){"use strict";pe();var{builders:{hardline:u,indent:d,join:h}}=Ft(),s=Co();function o(A,F,C){let y=A.getValue();switch(y.type){case"JsonRoot":return[C("node"),u];case"ArrayExpression":{if(y.elements.length===0)return"[]";let E=A.map(()=>A.getValue()===null?"null":C(),"elements");return["[",d([u,h([",",u],E)]),u,"]"]}case"ObjectExpression":return y.properties.length===0?"{}":["{",d([u,h([",",u],A.map(C,"properties"))]),u,"}"];case"ObjectProperty":return[C("key"),": ",C("value")];case"UnaryExpression":return[y.operator==="+"?"":y.operator,C("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return y.value?"true":"false";case"StringLiteral":return JSON.stringify(y.value);case"NumericLiteral":return l(A)?JSON.stringify(String(y.value)):JSON.stringify(y.value);case"Identifier":return l(A)?JSON.stringify(y.name):y.name;case"TemplateLiteral":return C(["quasis",0]);case"TemplateElement":return JSON.stringify(y.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(y.type))}}function l(A){return A.getName()==="key"&&A.getParentNode().type==="ObjectProperty"}var m=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function D(A,F){let{type:C}=A;if(C==="ObjectProperty"){let{key:y}=A;y.type==="Identifier"?F.key={type:"StringLiteral",value:y.name}:y.type==="NumericLiteral"&&(F.key={type:"StringLiteral",value:String(y.value)});return}if(C==="UnaryExpression"&&A.operator==="+")return F.argument;if(C==="ArrayExpression"){for(let[y,E]of A.elements.entries())E===null&&F.elements.splice(y,0,{type:"NullLiteral"});return}if(C==="TemplateLiteral")return{type:"StringLiteral",value:A.quasis[0].value.cooked}}D.ignoredProperties=m,g.exports={preprocess:s,print:o,massageAstNode:D}}}),si=ie({"src/common/common-options.js"(c,g){"use strict";pe();var u="Common";g.exports={bracketSpacing:{since:"0.0.0",category:u,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:u,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:u,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:u,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:u,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Eh=ie({"src/language-js/options.js"(c,g){"use strict";pe();var u=si(),d="JavaScript";g.exports={arrowParens:{since:"1.9.0",category:d,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:u.bracketSameLine,bracketSpacing:u.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:d,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:d,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:u.singleQuote,jsxSingleQuote:{since:"1.15.0",category:d,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:d,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:d,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:u.singleAttributePerLine}}}),xh=ie({"src/language-js/parse/parsers.js"(){pe()}}),Vu=ie({"node_modules/linguist-languages/data/JavaScript.json"(c,g){g.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),vh=ie({"node_modules/linguist-languages/data/TypeScript.json"(c,g){g.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Ch=ie({"node_modules/linguist-languages/data/TSX.json"(c,g){g.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Po=ie({"node_modules/linguist-languages/data/JSON.json"(c,g){g.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),bh=ie({"node_modules/linguist-languages/data/JSON with Comments.json"(c,g){g.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),Ah=ie({"node_modules/linguist-languages/data/JSON5.json"(c,g){g.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Fh=ie({"src/language-js/index.js"(c,g){"use strict";pe();var u=Nn(),d=yh(),h=Dh(),s=Eh(),o=xh(),l=[u(Vu(),D=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...D.interpreters,"zx"],extensions:[...D.extensions.filter(A=>A!==".jsx"),".wxs"]})),u(Vu(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),u(Vu(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),u(vh(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),u(Ch(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),u(Po(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),u(Po(),D=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:D.extensions.filter(A=>A!==".jsonl")})),u(bh(),D=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...D.filenames,".eslintrc",".swcrc"]})),u(Ah(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],m={estree:d,"estree-json":h};g.exports={languages:l,options:s,printers:m,parsers:o}}}),Sh=ie({"src/language-css/clean.js"(c,g){"use strict";pe();var{isFrontMatterNode:u}=Mt(),d=Ie(),h=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(l,m,D){if(u(l)&&l.lang==="yaml"&&delete m.value,l.type==="css-comment"&&D.type==="css-root"&&D.nodes.length>0&&((D.nodes[0]===l||u(D.nodes[0])&&D.nodes[1]===l)&&(delete m.text,/^\*\s*@(?:format|prettier)\s*$/.test(l.text))||D.type==="css-root"&&d(D.nodes)===l))return null;if(l.type==="value-root"&&delete m.text,(l.type==="media-query"||l.type==="media-query-list"||l.type==="media-feature-expression")&&delete m.value,l.type==="css-rule"&&delete m.params,l.type==="selector-combinator"&&(m.value=m.value.replace(/\s+/g," ")),l.type==="media-feature"&&(m.value=m.value.replace(/ /g,"")),(l.type==="value-word"&&(l.isColor&&l.isHex||["initial","inherit","unset","revert"].includes(m.value.replace().toLowerCase()))||l.type==="media-feature"||l.type==="selector-root-invalid"||l.type==="selector-pseudo")&&(m.value=m.value.toLowerCase()),l.type==="css-decl"&&(m.prop=m.prop.toLowerCase()),(l.type==="css-atrule"||l.type==="css-import")&&(m.name=m.name.toLowerCase()),l.type==="value-number"&&(m.unit=m.unit.toLowerCase()),(l.type==="media-feature"||l.type==="media-keyword"||l.type==="media-type"||l.type==="media-unknown"||l.type==="media-url"||l.type==="media-value"||l.type==="selector-attribute"||l.type==="selector-string"||l.type==="selector-class"||l.type==="selector-combinator"||l.type==="value-string")&&m.value&&(m.value=o(m.value)),l.type==="selector-attribute"&&(m.attribute=m.attribute.trim(),m.namespace&&typeof m.namespace=="string"&&(m.namespace=m.namespace.trim(),m.namespace.length===0&&(m.namespace=!0)),m.value&&(m.value=m.value.trim().replace(/^["']|["']$/g,""),delete m.quoted)),(l.type==="media-value"||l.type==="media-type"||l.type==="value-number"||l.type==="selector-root-invalid"||l.type==="selector-class"||l.type==="selector-combinator"||l.type==="selector-tag")&&m.value&&(m.value=m.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(A,F,C)=>{let y=Number(F);return Number.isNaN(y)?A:y+C.toLowerCase()})),l.type==="selector-tag"){let A=l.value.toLowerCase();["from","to"].includes(A)&&(m.value=A)}if(l.type==="css-atrule"&&l.name.toLowerCase()==="supports"&&delete m.value,l.type==="selector-unknown"&&delete m.value,l.type==="value-comma_group"){let A=l.groups.findIndex(F=>F.type==="value-number"&&F.unit==="...");A!==-1&&(m.groups[A].unit="",m.groups.splice(A+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(l.type==="value-comma_group"&&l.groups.some(A=>A.type==="value-atword"&&A.value.endsWith("[")||A.type==="value-word"&&A.value.startsWith("]")))return{type:"value-atword",value:l.groups.map(A=>A.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}s.ignoredProperties=h;function o(l){return l.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}g.exports=s}}),Uu=ie({"src/utils/front-matter/print.js"(c,g){"use strict";pe();var{builders:{hardline:u,markAsRoot:d}}=Ft();function h(s,o){if(s.lang==="yaml"){let l=s.value.trim(),m=l?o(l,{parser:"yaml"},{stripTrailingHardline:!0}):"";return d([s.startDelimiter,u,m,m?u:"",s.endDelimiter])}}g.exports=h}}),wh=ie({"src/language-css/embed.js"(c,g){"use strict";pe();var{builders:{hardline:u}}=Ft(),d=Uu();function h(s,o,l){let m=s.getValue();if(m.type==="front-matter"){let D=d(m,l);return D?[D,u]:""}}g.exports=h}}),Bo=ie({"src/utils/front-matter/parse.js"(c,g){"use strict";pe();var u=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function d(h){let s=h.match(u);if(!s)return{content:h};let{startDelimiter:o,language:l,value:m="",endDelimiter:D}=s.groups,A=l.trim()||"yaml";if(o==="+++"&&(A="toml"),A!=="yaml"&&o!==D)return{content:h};let[F]=s;return{frontMatter:{type:"front-matter",lang:A,value:m,startDelimiter:o,endDelimiter:D,raw:F.replace(/\n$/,"")},content:F.replace(/[^\n]/g," ")+h.slice(F.length)}}g.exports=d}}),Th=ie({"src/language-css/pragma.js"(c,g){"use strict";pe();var u=xo(),d=Bo();function h(o){return u.hasPragma(d(o).content)}function s(o){let{frontMatter:l,content:m}=d(o);return(l?l.raw+`
|
|
136
136
|
|
|
137
|
-
`:"")+
|
|
138
|
-
`,
|
|
139
|
-
`||
|
|
140
|
-
`||
|
|
141
|
-
`||
|
|
142
|
-
`||B==="\r")&&(R&&w.push([j,L]),y="initial",R=!1);continue}}for(let[L,B]of w)g=g.slice(0,L)+g.slice(L,B).replace(/["'*]/g," ")+g.slice(B);return g}function A(g){return g.source.startOffset}function b(g){return g.source.endOffset}h.exports={locStart:A,locEnd:b,calculateLoc:o,replaceQuotesInInlineComments:x}}}),jd=re({"src/language-css/utils/is-less-parser.js"(l,h){"use strict";ce();function s(f){return f.parser==="css"||f.parser==="less"}h.exports=s}}),Rd=re({"src/language-css/utils/is-scss.js"(l,h){"use strict";ce();function s(f,p){return f==="less"||f==="scss"?f==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(p)}h.exports=s}}),Md=re({"src/language-css/utils/css-units.evaluate.js"(l,h){h.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),$d=re({"src/language-css/utils/print-unit.js"(l,h){"use strict";ce();var s=Md();function f(p){let i=p.toLowerCase();return Object.prototype.hasOwnProperty.call(s,i)?s[i]:p}h.exports=f}}),Vd=re({"src/language-css/printer-postcss.js"(l,h){"use strict";ce();var s=Be(),{printNumber:f,printString:p,hasNewline:i,isFrontMatterNode:a,isNextLineEmpty:o,isNonEmptyArray:d}=Bt(),{builders:{join:m,line:x,hardline:A,softline:b,group:g,fill:y,indent:F,dedent:j,ifBreak:R,breakParent:w},utils:{removeLines:L,getDocParts:B}}=yt(),$=_d(),M=Bd(),{insertPragma:K}=Nd(),{getAncestorNode:E,getPropOfDeclNode:N,maybeToLowerCase:D,insideValueFunctionNode:T,insideICSSRuleNode:c,insideAtRuleNode:C,insideURLFunctionInImportAtRuleNode:S,isKeyframeAtRuleKeywords:P,isWideKeywords:_,isLastNode:I,isSCSSControlDirectiveNode:U,isDetachedRulesetDeclarationNode:z,isRelationalOperatorNode:Q,isEqualityOperatorNode:X,isMultiplicationNode:ne,isDivisionNode:G,isAdditionNode:de,isSubtractionNode:H,isMathOperatorNode:W,isEachKeywordNode:fe,isForKeywordNode:Ee,isURLFunctionNode:he,isIfElseKeywordNode:Pe,hasComposesNode:Z,hasParensAroundNode:ue,hasEmptyRawBefore:Te,isKeyValuePairNode:we,isKeyInValuePairNode:ze,isDetachedRulesetCallNode:pe,isTemplatePlaceholderNode:te,isTemplatePropNode:ge,isPostcssSimpleVarNode:ye,isSCSSMapItemNode:Ne,isInlineValueCommentNode:je,isHashNode:Ve,isLeftCurlyBraceNode:st,isRightCurlyBraceNode:At,isWordNode:Et,isColonNode:it,isMediaAndSupportsKeywords:ct,isColorAdjusterFuncNode:xe,lastLineHasInlineComment:ee,isAtWordPlaceholderNode:ke,isConfigurationNode:le,isParenGroupNode:Fe}=Id(),{locStart:Qe,locEnd:We}=Ld(),_e=jd(),k=Rd(),ie=$d();function ve(et){return et.trailingComma==="es5"||et.trailingComma==="all"}function Me(et,Dt,ht){let Se=et.getValue();if(!Se)return"";if(typeof Se=="string")return Se;switch(Se.type){case"front-matter":return[Se.raw,A];case"css-root":{let kt=Ge(et,Dt,ht),Pt=Se.raws.after.trim();return Pt.startsWith(";")&&(Pt=Pt.slice(1).trim()),[kt,Pt?` ${Pt}`:"",B(kt).length>0?A:""]}case"css-comment":{let kt=Se.inline||Se.raws.inline,Pt=Dt.originalText.slice(Qe(Se),We(Se));return kt?Pt.trimEnd():Pt}case"css-rule":return[ht("selector"),Se.important?" !important":"",Se.nodes?[Se.selector&&Se.selector.type==="selector-unknown"&&ee(Se.selector.value)?x:" ","{",Se.nodes.length>0?F([A,Ge(et,Dt,ht)]):"",A,"}",z(Se)?";":""]:";"];case"css-decl":{let kt=et.getParentNode(),{between:Pt}=Se.raws,zt=Pt.trim(),_r=zt===":",q=Z(Se)?L(ht("value")):ht("value");return!_r&&ee(zt)&&(q=F([A,j(q)])),[Se.raws.before.replace(/[\s;]/g,""),kt.type==="css-atrule"&&kt.variable||c(et)?Se.prop:D(Se.prop),zt.startsWith("//")?" ":"",zt,Se.extend?"":" ",_e(Dt)&&Se.extend&&Se.selector?["extend(",ht("selector"),")"]:"",q,Se.raws.important?Se.raws.important.replace(/\s*!\s*important/i," !important"):Se.important?" !important":"",Se.raws.scssDefault?Se.raws.scssDefault.replace(/\s*!default/i," !default"):Se.scssDefault?" !default":"",Se.raws.scssGlobal?Se.raws.scssGlobal.replace(/\s*!global/i," !global"):Se.scssGlobal?" !global":"",Se.nodes?[" {",F([b,Ge(et,Dt,ht)]),b,"}"]:ge(Se)&&!kt.raws.semicolon&&Dt.originalText[We(Se)-1]!==";"?"":Dt.__isHTMLStyleAttribute&&I(et,Se)?R(";"):";"]}case"css-atrule":{let kt=et.getParentNode(),Pt=te(Se)&&!kt.raws.semicolon&&Dt.originalText[We(Se)-1]!==";";if(_e(Dt)){if(Se.mixin)return[ht("selector"),Se.important?" !important":"",Pt?"":";"];if(Se.function)return[Se.name,ht("params"),Pt?"":";"];if(Se.variable)return["@",Se.name,": ",Se.value?ht("value"):"",Se.raws.between.trim()?Se.raws.between.trim()+" ":"",Se.nodes?["{",F([Se.nodes.length>0?b:"",Ge(et,Dt,ht)]),b,"}"]:"",Pt?"":";"]}return["@",pe(Se)||Se.name.endsWith(":")?Se.name:D(Se.name),Se.params?[pe(Se)?"":te(Se)?Se.raws.afterName===""?"":Se.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Se.raws.afterName)?[A,A]:/^\s*\n/.test(Se.raws.afterName)?A:" ":" ",ht("params")]:"",Se.selector?F([" ",ht("selector")]):"",Se.value?g([" ",ht("value"),U(Se)?ue(Se)?" ":x:""]):Se.name==="else"?" ":"",Se.nodes?[U(Se)?"":Se.selector&&!Se.selector.nodes&&typeof Se.selector.value=="string"&&ee(Se.selector.value)||!Se.selector&&typeof Se.params=="string"&&ee(Se.params)?x:" ","{",F([Se.nodes.length>0?b:"",Ge(et,Dt,ht)]),b,"}"]:Pt?"":";"]}case"media-query-list":{let kt=[];return et.each(Pt=>{let zt=Pt.getValue();zt.type==="media-query"&&zt.value===""||kt.push(ht())},"nodes"),g(F(m(x,kt)))}case"media-query":return[m(" ",et.map(ht,"nodes")),I(et,Se)?"":","];case"media-type":return Ct(Ke(Se.value,Dt));case"media-feature-expression":return Se.nodes?["(",...et.map(ht,"nodes"),")"]:Se.value;case"media-feature":return D(Ke(Se.value.replace(/ +/g," "),Dt));case"media-colon":return[Se.value," "];case"media-value":return Ct(Ke(Se.value,Dt));case"media-keyword":return Ke(Se.value,Dt);case"media-url":return Ke(Se.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Dt);case"media-unknown":return Se.value;case"selector-root":return g([C(et,"custom-selector")?[E(et,"css-atrule").customSelector,x]:"",m([",",C(et,["extend","custom-selector","nest"])?x:A],et.map(ht,"nodes"))]);case"selector-selector":return g(F(et.map(ht,"nodes")));case"selector-comment":return Se.value;case"selector-string":return Ke(Se.value,Dt);case"selector-tag":{let kt=et.getParentNode(),Pt=kt&&kt.nodes.indexOf(Se),zt=Pt&&kt.nodes[Pt-1];return[Se.namespace?[Se.namespace===!0?"":Se.namespace.trim(),"|"]:"",zt.type==="selector-nesting"?Se.value:Ct(P(et,Se.value)?Se.value.toLowerCase():Se.value)]}case"selector-id":return["#",Se.value];case"selector-class":return[".",Ct(Ke(Se.value,Dt))];case"selector-attribute":{var Pr;return["[",Se.namespace?[Se.namespace===!0?"":Se.namespace.trim(),"|"]:"",Se.attribute.trim(),(Pr=Se.operator)!==null&&Pr!==void 0?Pr:"",Se.value?pt(Ke(Se.value.trim(),Dt),Dt):"",Se.insensitive?" i":"","]"]}case"selector-combinator":{if(Se.value==="+"||Se.value===">"||Se.value==="~"||Se.value===">>>"){let zt=et.getParentNode();return[zt.type==="selector-selector"&&zt.nodes[0]===Se?"":x,Se.value,I(et,Se)?"":" "]}let kt=Se.value.trim().startsWith("(")?x:"",Pt=Ct(Ke(Se.value.trim(),Dt))||x;return[kt,Pt]}case"selector-universal":return[Se.namespace?[Se.namespace===!0?"":Se.namespace.trim(),"|"]:"",Se.value];case"selector-pseudo":return[D(Se.value),d(Se.nodes)?g(["(",F([b,m([",",x],et.map(ht,"nodes"))]),b,")"]):""];case"selector-nesting":return Se.value;case"selector-unknown":{let kt=E(et,"css-rule");if(kt&&kt.isSCSSNesterProperty)return Ct(Ke(D(Se.value),Dt));let Pt=et.getParentNode();if(Pt.raws&&Pt.raws.selector){let _r=Qe(Pt),q=_r+Pt.raws.selector.length;return Dt.originalText.slice(_r,q).trim()}let zt=et.getParentNode(1);if(Pt.type==="value-paren_group"&&zt&&zt.type==="value-func"&&zt.value==="selector"){let _r=We(Pt.open)+1,q=Qe(Pt.close),Ie=Dt.originalText.slice(_r,q).trim();return ee(Ie)?[w,Ie]:Ie}return Se.value}case"value-value":case"value-root":return ht("group");case"value-comment":return Dt.originalText.slice(Qe(Se),We(Se));case"value-comma_group":{let kt=et.getParentNode(),Pt=et.getParentNode(1),zt=N(et),_r=zt&&kt.type==="value-value"&&(zt==="grid"||zt.startsWith("grid-template")),q=E(et,"css-atrule"),Ie=q&&U(q),lt=Se.groups.some(Br=>je(Br)),Nt=et.map(ht,"groups"),It=[],Sr=T(et,"url"),sr=!1,Er=!1;for(let Br=0;Br<Se.groups.length;++Br){var dr;It.push(Nt[Br]);let fr=Se.groups[Br-1],mt=Se.groups[Br],Tt=Se.groups[Br+1],cs=Se.groups[Br+2];if(Sr){(Tt&&de(Tt)||de(mt))&&It.push(" ");continue}if(C(et,"forward")&&mt.type==="value-word"&&mt.value&&fr!==void 0&&fr.type==="value-word"&&fr.value==="as"&&Tt.type==="value-operator"&&Tt.value==="*"||!Tt||mt.type==="value-word"&&mt.value.endsWith("-")&&ke(Tt))continue;if(mt.type==="value-string"&&mt.quoted){let Vu=mt.value.lastIndexOf("#{"),Uu=mt.value.lastIndexOf("}");Vu!==-1&&Uu!==-1?sr=Vu>Uu:Vu!==-1?sr=!0:Uu!==-1&&(sr=!1)}if(sr||it(mt)||it(Tt)||mt.type==="value-atword"&&(mt.value===""||mt.value.endsWith("["))||Tt.type==="value-word"&&Tt.value.startsWith("]")||mt.value==="~"||mt.value&&mt.value.includes("\\")&&Tt&&Tt.type!=="value-comment"||fr&&fr.value&&fr.value.indexOf("\\")===fr.value.length-1&&mt.type==="value-operator"&&mt.value==="/"||mt.value==="\\"||ye(mt,Tt)||Ve(mt)||st(mt)||At(Tt)||st(Tt)&&Te(Tt)||At(mt)&&Te(Tt)||mt.value==="--"&&Ve(Tt))continue;let $u=W(mt),Vo=W(Tt);if(($u&&Ve(Tt)||Vo&&At(mt))&&Te(Tt)||!fr&&G(mt)||T(et,"calc")&&(de(mt)||de(Tt)||H(mt)||H(Tt))&&Te(Tt))continue;let r0=(de(mt)||H(mt))&&Br===0&&(Tt.type==="value-number"||Tt.isHex)&&Pt&&xe(Pt)&&!Te(Tt),Uo=cs&&cs.type==="value-func"||cs&&Et(cs)||mt.type==="value-func"||Et(mt),Go=Tt.type==="value-func"||Et(Tt)||fr&&fr.type==="value-func"||fr&&Et(fr);if(!(!(ne(Tt)||ne(mt))&&!T(et,"calc")&&!r0&&(G(Tt)&&!Uo||G(mt)&&!Go||de(Tt)&&!Uo||de(mt)&&!Go||H(Tt)||H(mt))&&(Te(Tt)||$u&&(!fr||fr&&W(fr))))&&!((Dt.parser==="scss"||Dt.parser==="less")&&$u&&mt.value==="-"&&Fe(Tt)&&We(mt)===Qe(Tt.open)&&Tt.open.value==="(")){if(je(mt)){if(kt.type==="value-paren_group"){It.push(j(A));continue}It.push(A);continue}if(Ie&&(X(Tt)||Q(Tt)||Pe(Tt)||fe(mt)||Ee(mt))){It.push(" ");continue}if(q&&q.name.toLowerCase()==="namespace"){It.push(" ");continue}if(_r){mt.source&&Tt.source&&mt.source.start.line!==Tt.source.start.line?(It.push(A),Er=!0):It.push(" ");continue}if(Vo){It.push(" ");continue}if(!(Tt&&Tt.value==="...")&&!(ke(mt)&&ke(Tt)&&We(mt)===Qe(Tt))){if(ke(mt)&&Fe(Tt)&&We(mt)===Qe(Tt.open)){It.push(b);continue}if(mt.value==="with"&&Fe(Tt)){It.push(" ");continue}(dr=mt.value)!==null&&dr!==void 0&&dr.endsWith("#")&&Tt.value==="{"&&Fe(Tt.group)||It.push(x)}}}return lt&&It.push(w),Er&&It.unshift(A),Ie?g(F(It)):S(et)?g(y(It)):g(F(y(It)))}case"value-paren_group":{let kt=et.getParentNode();if(kt&&he(kt)&&(Se.groups.length===1||Se.groups.length>0&&Se.groups[0].type==="value-comma_group"&&Se.groups[0].groups.length>0&&Se.groups[0].groups[0].type==="value-word"&&Se.groups[0].groups[0].value.startsWith("data:")))return[Se.open?ht("open"):"",m(",",et.map(ht,"groups")),Se.close?ht("close"):""];if(!Se.open){let Sr=et.map(ht,"groups"),sr=[];for(let Er=0;Er<Sr.length;Er++)Er!==0&&sr.push([",",x]),sr.push(Sr[Er]);return g(F(y(sr)))}let Pt=Ne(et),zt=s(Se.groups),_r=zt&&zt.type==="value-comment",q=ze(Se,kt),Ie=le(Se,kt),lt=Ie||Pt&&!q,Nt=Ie||q,It=g([Se.open?ht("open"):"",F([b,m([x],et.map((Sr,sr)=>{let Er=Sr.getValue(),Br=sr===Se.groups.length-1,fr=[ht(),Br?"":","];if(we(Er)&&Er.type==="value-comma_group"&&Er.groups&&Er.groups[0].type!=="value-paren_group"&&Er.groups[2]&&Er.groups[2].type==="value-paren_group"){let mt=B(fr[0].contents.contents);mt[1]=g(mt[1]),fr=[g(j(fr))]}if(!Br&&Er.type==="value-comma_group"&&d(Er.groups)){let mt=s(Er.groups);!mt.source&&mt.close&&(mt=mt.close),mt.source&&o(Dt.originalText,mt,We)&&fr.push(A)}return fr},"groups"))]),R(!_r&&k(Dt.parser,Dt.originalText)&&Pt&&ve(Dt)?",":""),b,Se.close?ht("close"):""],{shouldBreak:lt});return Nt?j(It):It}case"value-func":return[Se.value,C(et,"supports")&&ct(Se)?" ":"",ht("group")];case"value-paren":return Se.value;case"value-number":return[Jt(Se.value),ie(Se.unit)];case"value-operator":return Se.value;case"value-word":return Se.isColor&&Se.isHex||_(Se.value)?Se.value.toLowerCase():Se.value;case"value-colon":{let kt=et.getParentNode(),Pt=kt&&kt.groups.indexOf(Se),zt=Pt&&kt.groups[Pt-1];return[Se.value,zt&&typeof zt.value=="string"&&s(zt.value)==="\\"||T(et,"url")?"":x]}case"value-comma":return[Se.value," "];case"value-string":return p(Se.raws.quote+Se.value+Se.raws.quote,Dt);case"value-atword":return["@",Se.value];case"value-unicode-range":return Se.value;case"value-unknown":return Se.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Se.type)}`)}}function Ge(et,Dt,ht){let Se=[];return et.each((Pr,dr,kt)=>{let Pt=kt[dr-1];if(Pt&&Pt.type==="css-comment"&&Pt.text.trim()==="prettier-ignore"){let zt=Pr.getValue();Se.push(Dt.originalText.slice(Qe(zt),We(zt)))}else Se.push(ht());dr!==kt.length-1&&(kt[dr+1].type==="css-comment"&&!i(Dt.originalText,Qe(kt[dr+1]),{backwards:!0})&&!a(kt[dr])||kt[dr+1].type==="css-atrule"&&kt[dr+1].name==="else"&&kt[dr].type!=="css-comment"?Se.push(" "):(Se.push(Dt.__isHTMLStyleAttribute?x:A),o(Dt.originalText,Pr.getValue(),We)&&!a(kt[dr])&&Se.push(A)))},"nodes"),Se}var nt=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ue=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,nr=/[A-Za-z]+/g,Ze=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Kt=new RegExp(nt.source+`|(${Ze.source})?(${Ue.source})(${nr.source})?`,"g");function Ke(et,Dt){return et.replace(nt,ht=>p(ht,Dt))}function pt(et,Dt){let ht=Dt.singleQuote?"'":'"';return et.includes('"')||et.includes("'")?et:ht+et+ht}function Ct(et){return et.replace(Kt,(Dt,ht,Se,Pr,dr)=>!Se&&Pr?Jt(Pr)+D(dr||""):Dt)}function Jt(et){return f(et).replace(/\.0(?=$|e)/,"")}h.exports={print:Me,embed:M,insertPragma:K,massageAstNode:$}}}),Ud=re({"src/language-css/options.js"(l,h){"use strict";ce();var s=Un();h.exports={singleQuote:s.singleQuote}}}),Gd=re({"src/language-css/parsers.js"(){ce()}}),qd=re({"node_modules/linguist-languages/data/CSS.json"(l,h){h.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Wd=re({"node_modules/linguist-languages/data/PostCSS.json"(l,h){h.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Jd=re({"node_modules/linguist-languages/data/Less.json"(l,h){h.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),zd=re({"node_modules/linguist-languages/data/SCSS.json"(l,h){h.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Xd=re({"src/language-css/index.js"(l,h){"use strict";ce();var s=bn(),f=Vd(),p=Ud(),i=Gd(),a=[s(qd(),d=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...d.extensions,".wxss"]})),s(Wd(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),s(Jd(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),s(zd(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],o={postcss:f};h.exports={languages:a,options:p,printers:o,parsers:i}}}),Hd=re({"src/language-handlebars/loc.js"(l,h){"use strict";ce();function s(p){return p.loc.start.offset}function f(p){return p.loc.end.offset}h.exports={locStart:s,locEnd:f}}}),Yd=re({"src/language-handlebars/clean.js"(l,h){"use strict";ce();function s(f,p){if(f.type==="TextNode"){let i=f.chars.trim();if(!i)return null;p.chars=i.replace(/[\t\n\f\r ]+/g," ")}f.type==="AttrNode"&&f.name.toLowerCase()==="class"&&delete p.value}s.ignoredProperties=new Set(["loc","selfClosing"]),h.exports=s}}),Qd=re({"src/language-handlebars/html-void-elements.evaluate.js"(l,h){h.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),Kd=re({"src/language-handlebars/utils.js"(l,h){"use strict";ce();var s=Be(),f=Qd();function p(B){let $=B.getValue(),M=B.getParentNode(0);return!!(b(B,["ElementNode"])&&s(M.children)===$||b(B,["Block"])&&s(M.body)===$)}function i(B){return B.toUpperCase()===B}function a(B){return A(B,["ElementNode"])&&typeof B.tag=="string"&&!B.tag.startsWith(":")&&(i(B.tag[0])||B.tag.includes("."))}var o=new Set(f);function d(B){return o.has(B.toLowerCase())&&!i(B[0])}function m(B){return B.selfClosing===!0||d(B.tag)||a(B)&&B.children.every($=>x($))}function x(B){return A(B,["TextNode"])&&!/\S/.test(B.chars)}function A(B,$){return B&&$.includes(B.type)}function b(B,$){let M=B.getParentNode(0);return A(M,$)}function g(B,$){let M=j(B);return A(M,$)}function y(B,$){let M=R(B);return A(M,$)}function F(B,$){var M,K,E,N;let D=B.getValue(),T=(M=B.getParentNode(0))!==null&&M!==void 0?M:{},c=(K=(E=(N=T.children)!==null&&N!==void 0?N:T.body)!==null&&E!==void 0?E:T.parts)!==null&&K!==void 0?K:[],C=c.indexOf(D);return C!==-1&&c[C+$]}function j(B){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return F(B,-$)}function R(B){return F(B,1)}function w(B){return A(B,["MustacheCommentStatement"])&&typeof B.value=="string"&&B.value.trim()==="prettier-ignore"}function L(B){let $=B.getValue(),M=j(B,2);return w($)||w(M)}h.exports={getNextNode:R,getPreviousNode:j,hasPrettierIgnore:L,isLastNodeOfSiblings:p,isNextNodeOfSomeType:y,isNodeOfSomeType:A,isParentOfSomeType:b,isPreviousNodeOfSomeType:g,isVoid:m,isWhitespaceNode:x}}}),Zd=re({"src/language-handlebars/printer-glimmer.js"(l,h){"use strict";ce();var{builders:{dedent:s,fill:f,group:p,hardline:i,ifBreak:a,indent:o,join:d,line:m,softline:x},utils:{getDocParts:A,replaceTextEndOfLine:b}}=yt(),{getPreferredQuote:g,isNonEmptyArray:y}=Bt(),{locStart:F,locEnd:j}=Hd(),R=Yd(),{getNextNode:w,getPreviousNode:L,hasPrettierIgnore:B,isLastNodeOfSiblings:$,isNextNodeOfSomeType:M,isNodeOfSomeType:K,isParentOfSomeType:E,isPreviousNodeOfSomeType:N,isVoid:D,isWhitespaceNode:T}=Kd(),c=2;function C(ee,ke,le){let Fe=ee.getValue();if(!Fe)return"";if(B(ee))return ke.originalText.slice(F(Fe),j(Fe));let Qe=ke.singleQuote?"'":'"';switch(Fe.type){case"Block":case"Program":case"Template":return p(ee.map(le,"body"));case"ElementNode":{let We=p(P(ee,le)),_e=ke.htmlWhitespaceSensitivity==="ignore"&&M(ee,["ElementNode"])?x:"";if(D(Fe))return[We,_e];let k=["</",Fe.tag,">"];return Fe.children.length===0?[We,o(k),_e]:ke.htmlWhitespaceSensitivity==="ignore"?[We,o(_(ee,ke,le)),i,o(k),_e]:[We,o(p(_(ee,ke,le))),o(k),_e]}case"BlockStatement":{let We=ee.getParentNode(1);return We&&We.inverse&&We.inverse.body.length===1&&We.inverse.body[0]===Fe&&We.inverse.body[0].path.parts[0]===We.path.parts[0]?[Ee(ee,le,We.inverse.body[0].path.parts[0]),Te(ee,le,ke),we(ee,le,ke)]:[W(ee,le),p([Te(ee,le,ke),we(ee,le,ke),he(ee,le,ke)])]}case"ElementModifierStatement":return p(["{{",Et(ee,le),"}}"]);case"MustacheStatement":return p([U(Fe),Et(ee,le),z(Fe)]);case"SubExpression":return p(["(",At(ee,le),x,")"]);case"AttrNode":{let We=Fe.value.type==="TextNode";if(We&&Fe.value.chars===""&&F(Fe.value)===j(Fe.value))return Fe.name;let _e=We?g(Fe.value.chars,Qe).quote:Fe.value.type==="ConcatStatement"?g(Fe.value.parts.filter(ie=>ie.type==="TextNode").map(ie=>ie.chars).join(""),Qe).quote:"",k=le("value");return[Fe.name,"=",_e,Fe.name==="class"&&_e?p(o(k)):k,_e]}case"ConcatStatement":return ee.map(le,"parts");case"Hash":return d(m,ee.map(le,"pairs"));case"HashPair":return[Fe.key,"=",le("value")];case"TextNode":{let We=Fe.chars.replace(/{{/g,"\\{{"),_e=te(ee);if(_e){if(_e==="class"){let Ze=We.trim().split(/\s+/).join(" "),Kt=!1,Ke=!1;return E(ee,["ConcatStatement"])&&(N(ee,["MustacheStatement"])&&/^\s/.test(We)&&(Kt=!0),M(ee,["MustacheStatement"])&&/\s$/.test(We)&&Ze!==""&&(Ke=!0)),[Kt?m:"",Ze,Ke?m:""]}return b(We)}let k=/^[\t\n\f\r ]*$/.test(We),ie=!L(ee),ve=!w(ee);if(ke.htmlWhitespaceSensitivity!=="ignore"){let Ze=/^[\t\n\f\r ]*/,Kt=/[\t\n\f\r ]*$/,Ke=ve&&E(ee,["Template"]),pt=ie&&E(ee,["Template"]);if(k){if(pt||Ke)return"";let ht=[m],Se=ge(We);return Se&&(ht=je(Se)),$(ee)&&(ht=ht.map(Pr=>s(Pr))),ht}let[Ct]=We.match(Ze),[Jt]=We.match(Kt),et=[];if(Ct){et=[m];let ht=ge(Ct);ht&&(et=je(ht)),We=We.replace(Ze,"")}let Dt=[];if(Jt){if(!Ke){Dt=[m];let ht=ge(Jt);ht&&(Dt=je(ht)),$(ee)&&(Dt=Dt.map(Se=>s(Se)))}We=We.replace(Kt,"")}return[...et,f(ze(We)),...Dt]}let Me=ge(We),Ge=ye(We),nt=Ne(We);if((ie||ve)&&k&&E(ee,["Block","ElementNode","Template"]))return"";k&&Me?(Ge=Math.min(Me,c),nt=0):(M(ee,["BlockStatement","ElementNode"])&&(nt=Math.max(nt,1)),N(ee,["BlockStatement","ElementNode"])&&(Ge=Math.max(Ge,1)));let Ue="",nr="";return nt===0&&M(ee,["MustacheStatement"])&&(nr=" "),Ge===0&&N(ee,["MustacheStatement"])&&(Ue=" "),ie&&(Ge=0,Ue=""),ve&&(nt=0,nr=""),We=We.replace(/^[\t\n\f\r ]+/g,Ue).replace(/[\t\n\f\r ]+$/,nr),[...je(Ge),f(ze(We)),...je(nt)]}case"MustacheCommentStatement":{let We=F(Fe),_e=j(Fe),k=ke.originalText.charAt(We+2)==="~",ie=ke.originalText.charAt(_e-3)==="~",ve=Fe.value.includes("}}")?"--":"";return["{{",k?"~":"","!",ve,Fe.value,ve,ie?"~":"","}}"]}case"PathExpression":return Fe.original;case"BooleanLiteral":return String(Fe.value);case"CommentStatement":return["<!--",Fe.value,"-->"];case"StringLiteral":{if(st(ee)){let We=ke.singleQuote?'"':"'";return Ve(Fe.value,We)}return Ve(Fe.value,Qe)}case"NumberLiteral":return String(Fe.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Fe.type))}}function S(ee,ke){return F(ee)-F(ke)}function P(ee,ke){let le=ee.getValue(),Fe=["attributes","modifiers","comments"].filter(We=>y(le[We])),Qe=Fe.flatMap(We=>le[We]).sort(S);for(let We of Fe)ee.each(_e=>{let k=Qe.indexOf(_e.getValue());Qe.splice(k,1,[m,ke()])},We);return y(le.blockParams)&&Qe.push(m,xe(le)),["<",le.tag,o(Qe),I(le)]}function _(ee,ke,le){let Fe=ee.getValue().children.every(Qe=>T(Qe));return ke.htmlWhitespaceSensitivity==="ignore"&&Fe?"":ee.map((Qe,We)=>{let _e=le();return We===0&&ke.htmlWhitespaceSensitivity==="ignore"?[x,_e]:_e},"children")}function I(ee){return D(ee)?a([x,"/>"],[" />",x]):a([x,">"],">")}function U(ee){let ke=ee.escaped===!1?"{{{":"{{",le=ee.strip&&ee.strip.open?"~":"";return[ke,le]}function z(ee){let ke=ee.escaped===!1?"}}}":"}}";return[ee.strip&&ee.strip.close?"~":"",ke]}function Q(ee){let ke=U(ee),le=ee.openStrip.open?"~":"";return[ke,le,"#"]}function X(ee){let ke=z(ee);return[ee.openStrip.close?"~":"",ke]}function ne(ee){let ke=U(ee),le=ee.closeStrip.open?"~":"";return[ke,le,"/"]}function G(ee){let ke=z(ee);return[ee.closeStrip.close?"~":"",ke]}function de(ee){let ke=U(ee),le=ee.inverseStrip.open?"~":"";return[ke,le]}function H(ee){let ke=z(ee);return[ee.inverseStrip.close?"~":"",ke]}function W(ee,ke){let le=ee.getValue(),Fe=[],Qe=ct(ee,ke);return Qe&&Fe.push(p(Qe)),y(le.program.blockParams)&&Fe.push(xe(le.program)),p([Q(le),it(ee,ke),Fe.length>0?o([m,d(m,Fe)]):"",x,X(le)])}function fe(ee,ke){return[ke.htmlWhitespaceSensitivity==="ignore"?i:"",de(ee),"else",H(ee)]}function Ee(ee,ke,le){let Fe=ee.getValue(),Qe=ee.getParentNode(1);return p([de(Qe),["else"," ",le],o([m,p(ct(ee,ke)),...y(Fe.program.blockParams)?[m,xe(Fe.program)]:[]]),x,H(Qe)])}function he(ee,ke,le){let Fe=ee.getValue();return le.htmlWhitespaceSensitivity==="ignore"?[Pe(Fe)?x:i,ne(Fe),ke("path"),G(Fe)]:[ne(Fe),ke("path"),G(Fe)]}function Pe(ee){return K(ee,["BlockStatement"])&&ee.program.body.every(ke=>T(ke))}function Z(ee){return ue(ee)&&ee.inverse.body.length===1&&K(ee.inverse.body[0],["BlockStatement"])&&ee.inverse.body[0].path.parts[0]===ee.path.parts[0]}function ue(ee){return K(ee,["BlockStatement"])&&ee.inverse}function Te(ee,ke,le){let Fe=ee.getValue();if(Pe(Fe))return"";let Qe=ke("program");return le.htmlWhitespaceSensitivity==="ignore"?o([i,Qe]):o(Qe)}function we(ee,ke,le){let Fe=ee.getValue(),Qe=ke("inverse"),We=le.htmlWhitespaceSensitivity==="ignore"?[i,Qe]:Qe;return Z(Fe)?We:ue(Fe)?[fe(Fe,le),o(We)]:""}function ze(ee){return A(d(m,pe(ee)))}function pe(ee){return ee.split(/[\t\n\f\r ]+/)}function te(ee){for(let ke=0;ke<2;ke++){let le=ee.getParentNode(ke);if(le&&le.type==="AttrNode")return le.name.toLowerCase()}}function ge(ee){return ee=typeof ee=="string"?ee:"",ee.split(`
|
|
143
|
-
`).length-1}function
|
|
137
|
+
`:"")+u.insertPragma(m)}g.exports={hasPragma:h,insertPragma:s}}}),kh=ie({"src/language-css/utils/index.js"(c,g){"use strict";pe();var u=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function d(fe,ne){let ge=Array.isArray(ne)?ne:[ne],Ee=-1,Ne;for(;Ne=fe.getParentNode(++Ee);)if(ge.includes(Ne.type))return Ee;return-1}function h(fe,ne){let ge=d(fe,ne);return ge===-1?null:fe.getParentNode(ge)}function s(fe){var ne;let ge=h(fe,"css-decl");return ge==null||(ne=ge.prop)===null||ne===void 0?void 0:ne.toLowerCase()}var o=new Set(["initial","inherit","unset","revert"]);function l(fe){return o.has(fe.toLowerCase())}function m(fe,ne){let ge=h(fe,"css-atrule");return(ge==null?void 0:ge.name)&&ge.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(ne.toLowerCase())}function D(fe){return fe.includes("$")||fe.includes("@")||fe.includes("#")||fe.startsWith("%")||fe.startsWith("--")||fe.startsWith(":--")||fe.includes("(")&&fe.includes(")")?fe:fe.toLowerCase()}function A(fe,ne){var ge;let Ee=h(fe,"value-func");return(Ee==null||(ge=Ee.value)===null||ge===void 0?void 0:ge.toLowerCase())===ne}function F(fe){var ne;let ge=h(fe,"css-rule"),Ee=ge==null||(ne=ge.raws)===null||ne===void 0?void 0:ne.selector;return Ee&&(Ee.startsWith(":import")||Ee.startsWith(":export"))}function C(fe,ne){let ge=Array.isArray(ne)?ne:[ne],Ee=h(fe,"css-atrule");return Ee&&ge.includes(Ee.name.toLowerCase())}function y(fe){let ne=fe.getValue(),ge=h(fe,"css-atrule");return(ge==null?void 0:ge.name)==="import"&&ne.groups[0].value==="url"&&ne.groups.length===2}function E(fe){return fe.type==="value-func"&&fe.value.toLowerCase()==="url"}function w(fe,ne){var ge;let Ee=(ge=fe.getParentNode())===null||ge===void 0?void 0:ge.nodes;return Ee&&Ee.indexOf(ne)===Ee.length-1}function $(fe){let{selector:ne}=fe;return ne?typeof ne=="string"&&/^@.+:.*$/.test(ne)||ne.value&&/^@.+:.*$/.test(ne.value):!1}function V(fe){return fe.type==="value-word"&&["from","through","end"].includes(fe.value)}function _(fe){return fe.type==="value-word"&&["and","or","not"].includes(fe.value)}function M(fe){return fe.type==="value-word"&&fe.value==="in"}function L(fe){return fe.type==="value-operator"&&fe.value==="*"}function G(fe){return fe.type==="value-operator"&&fe.value==="/"}function U(fe){return fe.type==="value-operator"&&fe.value==="+"}function ee(fe){return fe.type==="value-operator"&&fe.value==="-"}function v(fe){return fe.type==="value-operator"&&fe.value==="%"}function O(fe){return L(fe)||G(fe)||U(fe)||ee(fe)||v(fe)}function x(fe){return fe.type==="value-word"&&["==","!="].includes(fe.value)}function T(fe){return fe.type==="value-word"&&["<",">","<=",">="].includes(fe.value)}function f(fe){return fe.type==="css-atrule"&&["if","else","for","each","while"].includes(fe.name)}function b(fe){var ne;return((ne=fe.raws)===null||ne===void 0?void 0:ne.params)&&/^\(\s*\)$/.test(fe.raws.params)}function S(fe){return fe.name.startsWith("prettier-placeholder")}function I(fe){return fe.prop.startsWith("@prettier-placeholder")}function N(fe,ne){return fe.value==="$$"&&fe.type==="value-func"&&(ne==null?void 0:ne.type)==="value-word"&&!ne.raws.before}function R(fe){var ne,ge;return((ne=fe.value)===null||ne===void 0?void 0:ne.type)==="value-root"&&((ge=fe.value.group)===null||ge===void 0?void 0:ge.type)==="value-value"&&fe.prop.toLowerCase()==="composes"}function q(fe){var ne,ge,Ee;return((ne=fe.value)===null||ne===void 0||(ge=ne.group)===null||ge===void 0||(Ee=ge.group)===null||Ee===void 0?void 0:Ee.type)==="value-paren_group"&&fe.value.group.group.open!==null&&fe.value.group.group.close!==null}function z(fe){var ne;return((ne=fe.raws)===null||ne===void 0?void 0:ne.before)===""}function Z(fe){var ne,ge;return fe.type==="value-comma_group"&&((ne=fe.groups)===null||ne===void 0||(ge=ne[1])===null||ge===void 0?void 0:ge.type)==="value-colon"}function H(fe){var ne;return fe.type==="value-paren_group"&&((ne=fe.groups)===null||ne===void 0?void 0:ne[0])&&Z(fe.groups[0])}function ue(fe){var ne;let ge=fe.getValue();if(ge.groups.length===0)return!1;let Ee=fe.getParentNode(1);if(!H(ge)&&!(Ee&&H(Ee)))return!1;let Ne=h(fe,"css-decl");return!!(Ne!=null&&(ne=Ne.prop)!==null&&ne!==void 0&&ne.startsWith("$")||H(Ee)||Ee.type==="value-func")}function W(fe){return fe.type==="value-comment"&&fe.inline}function de(fe){return fe.type==="value-word"&&fe.value==="#"}function Q(fe){return fe.type==="value-word"&&fe.value==="{"}function Y(fe){return fe.type==="value-word"&&fe.value==="}"}function he(fe){return["value-word","value-atword"].includes(fe.type)}function xe(fe){return(fe==null?void 0:fe.type)==="value-colon"}function me(fe,ne){if(!Z(ne))return!1;let{groups:ge}=ne,Ee=ge.indexOf(fe);return Ee===-1?!1:xe(ge[Ee+1])}function Pe(fe){return fe.value&&["not","and","or"].includes(fe.value.toLowerCase())}function te(fe){return fe.type!=="value-func"?!1:u.has(fe.value.toLowerCase())}function oe(fe){return/\/\//.test(fe.split(/[\n\r]/).pop())}function Te(fe){return(fe==null?void 0:fe.type)==="value-atword"&&fe.value.startsWith("prettier-placeholder-")}function ke(fe,ne){var ge,Ee;if(((ge=fe.open)===null||ge===void 0?void 0:ge.value)!=="("||((Ee=fe.close)===null||Ee===void 0?void 0:Ee.value)!==")"||fe.groups.some(Ne=>Ne.type!=="value-comma_group"))return!1;if(ne.type==="value-comma_group"){let Ne=ne.groups.indexOf(fe)-1,Me=ne.groups[Ne];if((Me==null?void 0:Me.type)==="value-word"&&Me.value==="with")return!0}return!1}function Qe(fe){var ne,ge;return fe.type==="value-paren_group"&&((ne=fe.open)===null||ne===void 0?void 0:ne.value)==="("&&((ge=fe.close)===null||ge===void 0?void 0:ge.value)===")"}g.exports={getAncestorCounter:d,getAncestorNode:h,getPropOfDeclNode:s,maybeToLowerCase:D,insideValueFunctionNode:A,insideICSSRuleNode:F,insideAtRuleNode:C,insideURLFunctionInImportAtRuleNode:y,isKeyframeAtRuleKeywords:m,isWideKeywords:l,isLastNode:w,isSCSSControlDirectiveNode:f,isDetachedRulesetDeclarationNode:$,isRelationalOperatorNode:T,isEqualityOperatorNode:x,isMultiplicationNode:L,isDivisionNode:G,isAdditionNode:U,isSubtractionNode:ee,isModuloNode:v,isMathOperatorNode:O,isEachKeywordNode:M,isForKeywordNode:V,isURLFunctionNode:E,isIfElseKeywordNode:_,hasComposesNode:R,hasParensAroundNode:q,hasEmptyRawBefore:z,isDetachedRulesetCallNode:b,isTemplatePlaceholderNode:S,isTemplatePropNode:I,isPostcssSimpleVarNode:N,isKeyValuePairNode:Z,isKeyValuePairInParenGroupNode:H,isKeyInValuePairNode:me,isSCSSMapItemNode:ue,isInlineValueCommentNode:W,isHashNode:de,isLeftCurlyBraceNode:Q,isRightCurlyBraceNode:Y,isWordNode:he,isColonNode:xe,isMediaAndSupportsKeywords:Pe,isColorAdjusterFuncNode:te,lastLineHasInlineComment:oe,isAtWordPlaceholderNode:Te,isConfigurationNode:ke,isParenGroupNode:Qe}}}),_h=ie({"src/utils/line-column-to-index.js"(c,g){"use strict";pe(),g.exports=function(u,d){let h=0;for(let s=0;s<u.line-1;++s)h=d.indexOf(`
|
|
138
|
+
`,h)+1;return h+u.column}}}),Ph=ie({"src/language-css/loc.js"(c,g){"use strict";pe();var{skipEverythingButNewLine:u}=fs(),d=Ie(),h=_h();function s(y,E){return typeof y.sourceIndex=="number"?y.sourceIndex:y.source?h(y.source.start,E)-1:null}function o(y,E){if(y.type==="css-comment"&&y.inline)return u(E,y.source.startOffset);let w=y.nodes&&d(y.nodes);return w&&y.source&&!y.source.end&&(y=w),y.source&&y.source.end?h(y.source.end,E):null}function l(y,E){y.source&&(y.source.startOffset=s(y,E),y.source.endOffset=o(y,E));for(let w in y){let $=y[w];w==="source"||!$||typeof $!="object"||($.type==="value-root"||$.type==="value-unknown"?m($,D(y),$.text||$.value):l($,E))}}function m(y,E,w){y.source&&(y.source.startOffset=s(y,w)+E,y.source.endOffset=o(y,w)+E);for(let $ in y){let V=y[$];$==="source"||!V||typeof V!="object"||m(V,E,w)}}function D(y){let E=y.source.startOffset;return typeof y.prop=="string"&&(E+=y.prop.length),y.type==="css-atrule"&&typeof y.name=="string"&&(E+=1+y.name.length+y.raws.afterName.match(/^\s*:?\s*/)[0].length),y.type!=="css-atrule"&&y.raws&&typeof y.raws.between=="string"&&(E+=y.raws.between.length),E}function A(y){let E="initial",w="initial",$,V=!1,_=[];for(let M=0;M<y.length;M++){let L=y[M];switch(E){case"initial":if(L==="'"){E="single-quotes";continue}if(L==='"'){E="double-quotes";continue}if((L==="u"||L==="U")&&y.slice(M,M+4).toLowerCase()==="url("){E="url",M+=3;continue}if(L==="*"&&y[M-1]==="/"){E="comment-block";continue}if(L==="/"&&y[M-1]==="/"){E="comment-inline",$=M-1;continue}continue;case"single-quotes":if(L==="'"&&y[M-1]!=="\\"&&(E=w,w="initial"),L===`
|
|
139
|
+
`||L==="\r")return y;continue;case"double-quotes":if(L==='"'&&y[M-1]!=="\\"&&(E=w,w="initial"),L===`
|
|
140
|
+
`||L==="\r")return y;continue;case"url":if(L===")"&&(E="initial"),L===`
|
|
141
|
+
`||L==="\r")return y;if(L==="'"){E="single-quotes",w="url";continue}if(L==='"'){E="double-quotes",w="url";continue}continue;case"comment-block":L==="/"&&y[M-1]==="*"&&(E="initial");continue;case"comment-inline":(L==='"'||L==="'"||L==="*")&&(V=!0),(L===`
|
|
142
|
+
`||L==="\r")&&(V&&_.push([$,M]),E="initial",V=!1);continue}}for(let[M,L]of _)y=y.slice(0,M)+y.slice(M,L).replace(/["'*]/g," ")+y.slice(L);return y}function F(y){return y.source.startOffset}function C(y){return y.source.endOffset}g.exports={locStart:F,locEnd:C,calculateLoc:l,replaceQuotesInInlineComments:A}}}),Bh=ie({"src/language-css/utils/is-less-parser.js"(c,g){"use strict";pe();function u(d){return d.parser==="css"||d.parser==="less"}g.exports=u}}),Ih=ie({"src/language-css/utils/is-scss.js"(c,g){"use strict";pe();function u(d,h){return d==="less"||d==="scss"?d==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(h)}g.exports=u}}),Nh=ie({"src/language-css/utils/css-units.evaluate.js"(c,g){g.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Lh=ie({"src/language-css/utils/print-unit.js"(c,g){"use strict";pe();var u=Nh();function d(h){let s=h.toLowerCase();return Object.prototype.hasOwnProperty.call(u,s)?u[s]:h}g.exports=d}}),Oh=ie({"src/language-css/printer-postcss.js"(c,g){"use strict";pe();var u=Ie(),{printNumber:d,printString:h,hasNewline:s,isFrontMatterNode:o,isNextLineEmpty:l,isNonEmptyArray:m}=Mt(),{builders:{join:D,line:A,hardline:F,softline:C,group:y,fill:E,indent:w,dedent:$,ifBreak:V,breakParent:_},utils:{removeLines:M,getDocParts:L}}=Ft(),G=Sh(),U=wh(),{insertPragma:ee}=Th(),{getAncestorNode:v,getPropOfDeclNode:O,maybeToLowerCase:x,insideValueFunctionNode:T,insideICSSRuleNode:f,insideAtRuleNode:b,insideURLFunctionInImportAtRuleNode:S,isKeyframeAtRuleKeywords:I,isWideKeywords:N,isLastNode:R,isSCSSControlDirectiveNode:q,isDetachedRulesetDeclarationNode:z,isRelationalOperatorNode:Z,isEqualityOperatorNode:H,isMultiplicationNode:ue,isDivisionNode:W,isAdditionNode:de,isSubtractionNode:Q,isMathOperatorNode:Y,isEachKeywordNode:he,isForKeywordNode:xe,isURLFunctionNode:me,isIfElseKeywordNode:Pe,hasComposesNode:te,hasParensAroundNode:oe,hasEmptyRawBefore:Te,isKeyValuePairNode:ke,isKeyInValuePairNode:Qe,isDetachedRulesetCallNode:fe,isTemplatePlaceholderNode:ne,isTemplatePropNode:ge,isPostcssSimpleVarNode:Ee,isSCSSMapItemNode:Ne,isInlineValueCommentNode:Me,isHashNode:Ge,isLeftCurlyBraceNode:pt,isRightCurlyBraceNode:Pt,isWordNode:wt,isColonNode:ct,isMediaAndSupportsKeywords:yt,isColorAdjusterFuncNode:Ae,lastLineHasInlineComment:re,isAtWordPlaceholderNode:_e,isConfigurationNode:ce,isParenGroupNode:we}=kh(),{locStart:it,locEnd:ze}=Ph(),Be=Bh(),P=Ih(),ae=Lh();function ve(at){return at.trailingComma==="es5"||at.trailingComma==="all"}function Ve(at,St,bt){let Se=at.getValue();if(!Se)return"";if(typeof Se=="string")return Se;switch(Se.type){case"front-matter":return[Se.raw,F];case"css-root":{let Lt=We(at,St,bt),Rt=Se.raws.after.trim();return Rt.startsWith(";")&&(Rt=Rt.slice(1).trim()),[Lt,Rt?` ${Rt}`:"",L(Lt).length>0?F:""]}case"css-comment":{let Lt=Se.inline||Se.raws.inline,Rt=St.originalText.slice(it(Se),ze(Se));return Lt?Rt.trimEnd():Rt}case"css-rule":return[bt("selector"),Se.important?" !important":"",Se.nodes?[Se.selector&&Se.selector.type==="selector-unknown"&&re(Se.selector.value)?A:" ","{",Se.nodes.length>0?w([F,We(at,St,bt)]):"",F,"}",z(Se)?";":""]:";"];case"css-decl":{let Lt=at.getParentNode(),{between:Rt}=Se.raws,Ht=Rt.trim(),Rr=Ht===":",J=te(Se)?M(bt("value")):bt("value");return!Rr&&re(Ht)&&(J=w([F,$(J)])),[Se.raws.before.replace(/[\s;]/g,""),Lt.type==="css-atrule"&&Lt.variable||f(at)?Se.prop:x(Se.prop),Ht.startsWith("//")?" ":"",Ht,Se.extend?"":" ",Be(St)&&Se.extend&&Se.selector?["extend(",bt("selector"),")"]:"",J,Se.raws.important?Se.raws.important.replace(/\s*!\s*important/i," !important"):Se.important?" !important":"",Se.raws.scssDefault?Se.raws.scssDefault.replace(/\s*!default/i," !default"):Se.scssDefault?" !default":"",Se.raws.scssGlobal?Se.raws.scssGlobal.replace(/\s*!global/i," !global"):Se.scssGlobal?" !global":"",Se.nodes?[" {",w([C,We(at,St,bt)]),C,"}"]:ge(Se)&&!Lt.raws.semicolon&&St.originalText[ze(Se)-1]!==";"?"":St.__isHTMLStyleAttribute&&R(at,Se)?V(";"):";"]}case"css-atrule":{let Lt=at.getParentNode(),Rt=ne(Se)&&!Lt.raws.semicolon&&St.originalText[ze(Se)-1]!==";";if(Be(St)){if(Se.mixin)return[bt("selector"),Se.important?" !important":"",Rt?"":";"];if(Se.function)return[Se.name,bt("params"),Rt?"":";"];if(Se.variable)return["@",Se.name,": ",Se.value?bt("value"):"",Se.raws.between.trim()?Se.raws.between.trim()+" ":"",Se.nodes?["{",w([Se.nodes.length>0?C:"",We(at,St,bt)]),C,"}"]:"",Rt?"":";"]}return["@",fe(Se)||Se.name.endsWith(":")?Se.name:x(Se.name),Se.params?[fe(Se)?"":ne(Se)?Se.raws.afterName===""?"":Se.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Se.raws.afterName)?[F,F]:/^\s*\n/.test(Se.raws.afterName)?F:" ":" ",bt("params")]:"",Se.selector?w([" ",bt("selector")]):"",Se.value?y([" ",bt("value"),q(Se)?oe(Se)?" ":A:""]):Se.name==="else"?" ":"",Se.nodes?[q(Se)?"":Se.selector&&!Se.selector.nodes&&typeof Se.selector.value=="string"&&re(Se.selector.value)||!Se.selector&&typeof Se.params=="string"&&re(Se.params)?A:" ","{",w([Se.nodes.length>0?C:"",We(at,St,bt)]),C,"}"]:Rt?"":";"]}case"media-query-list":{let Lt=[];return at.each(Rt=>{let Ht=Rt.getValue();Ht.type==="media-query"&&Ht.value===""||Lt.push(bt())},"nodes"),y(w(D(A,Lt)))}case"media-query":return[D(" ",at.map(bt,"nodes")),R(at,Se)?"":","];case"media-type":return kt(st(Se.value,St));case"media-feature-expression":return Se.nodes?["(",...at.map(bt,"nodes"),")"]:Se.value;case"media-feature":return x(st(Se.value.replace(/ +/g," "),St));case"media-colon":return[Se.value," "];case"media-value":return kt(st(Se.value,St));case"media-keyword":return st(Se.value,St);case"media-url":return st(Se.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),St);case"media-unknown":return Se.value;case"selector-root":return y([b(at,"custom-selector")?[v(at,"css-atrule").customSelector,A]:"",D([",",b(at,["extend","custom-selector","nest"])?A:F],at.map(bt,"nodes"))]);case"selector-selector":return y(w(at.map(bt,"nodes")));case"selector-comment":return Se.value;case"selector-string":return st(Se.value,St);case"selector-tag":{let Lt=at.getParentNode(),Rt=Lt&&Lt.nodes.indexOf(Se),Ht=Rt&&Lt.nodes[Rt-1];return[Se.namespace?[Se.namespace===!0?"":Se.namespace.trim(),"|"]:"",Ht.type==="selector-nesting"?Se.value:kt(I(at,Se.value)?Se.value.toLowerCase():Se.value)]}case"selector-id":return["#",Se.value];case"selector-class":return[".",kt(st(Se.value,St))];case"selector-attribute":{var Or;return["[",Se.namespace?[Se.namespace===!0?"":Se.namespace.trim(),"|"]:"",Se.attribute.trim(),(Or=Se.operator)!==null&&Or!==void 0?Or:"",Se.value?xt(st(Se.value.trim(),St),St):"",Se.insensitive?" i":"","]"]}case"selector-combinator":{if(Se.value==="+"||Se.value===">"||Se.value==="~"||Se.value===">>>"){let Ht=at.getParentNode();return[Ht.type==="selector-selector"&&Ht.nodes[0]===Se?"":A,Se.value,R(at,Se)?"":" "]}let Lt=Se.value.trim().startsWith("(")?A:"",Rt=kt(st(Se.value.trim(),St))||A;return[Lt,Rt]}case"selector-universal":return[Se.namespace?[Se.namespace===!0?"":Se.namespace.trim(),"|"]:"",Se.value];case"selector-pseudo":return[x(Se.value),m(Se.nodes)?y(["(",w([C,D([",",A],at.map(bt,"nodes"))]),C,")"]):""];case"selector-nesting":return Se.value;case"selector-unknown":{let Lt=v(at,"css-rule");if(Lt&&Lt.isSCSSNesterProperty)return kt(st(x(Se.value),St));let Rt=at.getParentNode();if(Rt.raws&&Rt.raws.selector){let Rr=it(Rt),J=Rr+Rt.raws.selector.length;return St.originalText.slice(Rr,J).trim()}let Ht=at.getParentNode(1);if(Rt.type==="value-paren_group"&&Ht&&Ht.type==="value-func"&&Ht.value==="selector"){let Rr=ze(Rt.open)+1,J=it(Rt.close),Le=St.originalText.slice(Rr,J).trim();return re(Le)?[_,Le]:Le}return Se.value}case"value-value":case"value-root":return bt("group");case"value-comment":return St.originalText.slice(it(Se),ze(Se));case"value-comma_group":{let Lt=at.getParentNode(),Rt=at.getParentNode(1),Ht=O(at),Rr=Ht&&Lt.type==="value-value"&&(Ht==="grid"||Ht.startsWith("grid-template")),J=v(at,"css-atrule"),Le=J&&q(J),gt=Se.groups.some(jr=>Me(jr)),$t=at.map(bt,"groups"),Vt=[],_r=T(at,"url"),ur=!1,Cr=!1;for(let jr=0;jr<Se.groups.length;++jr){var dr;Vt.push($t[jr]);let hr=Se.groups[jr-1],At=Se.groups[jr],Nt=Se.groups[jr+1],As=Se.groups[jr+2];if(_r){(Nt&&de(Nt)||de(At))&&Vt.push(" ");continue}if(b(at,"forward")&&At.type==="value-word"&&At.value&&hr!==void 0&&hr.type==="value-word"&&hr.value==="as"&&Nt.type==="value-operator"&&Nt.value==="*"||!Nt||At.type==="value-word"&&At.value.endsWith("-")&&_e(Nt))continue;if(At.type==="value-string"&&At.quoted){let Xu=At.value.lastIndexOf("#{"),zu=At.value.lastIndexOf("}");Xu!==-1&&zu!==-1?ur=Xu>zu:Xu!==-1?ur=!0:zu!==-1&&(ur=!1)}if(ur||ct(At)||ct(Nt)||At.type==="value-atword"&&(At.value===""||At.value.endsWith("["))||Nt.type==="value-word"&&Nt.value.startsWith("]")||At.value==="~"||At.value&&At.value.includes("\\")&&Nt&&Nt.type!=="value-comment"||hr&&hr.value&&hr.value.indexOf("\\")===hr.value.length-1&&At.type==="value-operator"&&At.value==="/"||At.value==="\\"||Ee(At,Nt)||Ge(At)||pt(At)||Pt(Nt)||pt(Nt)&&Te(Nt)||Pt(At)&&Te(Nt)||At.value==="--"&&Ge(Nt))continue;let Yu=Y(At),Mo=Y(Nt);if((Yu&&Ge(Nt)||Mo&&Pt(At))&&Te(Nt)||!hr&&W(At)||T(at,"calc")&&(de(At)||de(Nt)||Q(At)||Q(Nt))&&Te(Nt))continue;let Qd=(de(At)||Q(At))&&jr===0&&(Nt.type==="value-number"||Nt.isHex)&&Rt&&Ae(Rt)&&!Te(Nt),$o=As&&As.type==="value-func"||As&&wt(As)||At.type==="value-func"||wt(At),Vo=Nt.type==="value-func"||wt(Nt)||hr&&hr.type==="value-func"||hr&&wt(hr);if(!(!(ue(Nt)||ue(At))&&!T(at,"calc")&&!Qd&&(W(Nt)&&!$o||W(At)&&!Vo||de(Nt)&&!$o||de(At)&&!Vo||Q(Nt)||Q(At))&&(Te(Nt)||Yu&&(!hr||hr&&Y(hr))))&&!((St.parser==="scss"||St.parser==="less")&&Yu&&At.value==="-"&&we(Nt)&&ze(At)===it(Nt.open)&&Nt.open.value==="(")){if(Me(At)){if(Lt.type==="value-paren_group"){Vt.push($(F));continue}Vt.push(F);continue}if(Le&&(H(Nt)||Z(Nt)||Pe(Nt)||he(At)||xe(At))){Vt.push(" ");continue}if(J&&J.name.toLowerCase()==="namespace"){Vt.push(" ");continue}if(Rr){At.source&&Nt.source&&At.source.start.line!==Nt.source.start.line?(Vt.push(F),Cr=!0):Vt.push(" ");continue}if(Mo){Vt.push(" ");continue}if(!(Nt&&Nt.value==="...")&&!(_e(At)&&_e(Nt)&&ze(At)===it(Nt))){if(_e(At)&&we(Nt)&&ze(At)===it(Nt.open)){Vt.push(C);continue}if(At.value==="with"&&we(Nt)){Vt.push(" ");continue}(dr=At.value)!==null&&dr!==void 0&&dr.endsWith("#")&&Nt.value==="{"&&we(Nt.group)||Vt.push(A)}}}return gt&&Vt.push(_),Cr&&Vt.unshift(F),Le?y(w(Vt)):S(at)?y(E(Vt)):y(w(E(Vt)))}case"value-paren_group":{let Lt=at.getParentNode();if(Lt&&me(Lt)&&(Se.groups.length===1||Se.groups.length>0&&Se.groups[0].type==="value-comma_group"&&Se.groups[0].groups.length>0&&Se.groups[0].groups[0].type==="value-word"&&Se.groups[0].groups[0].value.startsWith("data:")))return[Se.open?bt("open"):"",D(",",at.map(bt,"groups")),Se.close?bt("close"):""];if(!Se.open){let _r=at.map(bt,"groups"),ur=[];for(let Cr=0;Cr<_r.length;Cr++)Cr!==0&&ur.push([",",A]),ur.push(_r[Cr]);return y(w(E(ur)))}let Rt=Ne(at),Ht=u(Se.groups),Rr=Ht&&Ht.type==="value-comment",J=Qe(Se,Lt),Le=ce(Se,Lt),gt=Le||Rt&&!J,$t=Le||J,Vt=y([Se.open?bt("open"):"",w([C,D([A],at.map((_r,ur)=>{let Cr=_r.getValue(),jr=ur===Se.groups.length-1,hr=[bt(),jr?"":","];if(ke(Cr)&&Cr.type==="value-comma_group"&&Cr.groups&&Cr.groups[0].type!=="value-paren_group"&&Cr.groups[2]&&Cr.groups[2].type==="value-paren_group"){let At=L(hr[0].contents.contents);At[1]=y(At[1]),hr=[y($(hr))]}if(!jr&&Cr.type==="value-comma_group"&&m(Cr.groups)){let At=u(Cr.groups);!At.source&&At.close&&(At=At.close),At.source&&l(St.originalText,At,ze)&&hr.push(F)}return hr},"groups"))]),V(!Rr&&P(St.parser,St.originalText)&&Rt&&ve(St)?",":""),C,Se.close?bt("close"):""],{shouldBreak:gt});return $t?$(Vt):Vt}case"value-func":return[Se.value,b(at,"supports")&&yt(Se)?" ":"",bt("group")];case"value-paren":return Se.value;case"value-number":return[zt(Se.value),ae(Se.unit)];case"value-operator":return Se.value;case"value-word":return Se.isColor&&Se.isHex||N(Se.value)?Se.value.toLowerCase():Se.value;case"value-colon":{let Lt=at.getParentNode(),Rt=Lt&&Lt.groups.indexOf(Se),Ht=Rt&&Lt.groups[Rt-1];return[Se.value,Ht&&typeof Ht.value=="string"&&u(Ht.value)==="\\"||T(at,"url")?"":A]}case"value-comma":return[Se.value," "];case"value-string":return h(Se.raws.quote+Se.value+Se.raws.quote,St);case"value-atword":return["@",Se.value];case"value-unicode-range":return Se.value;case"value-unknown":return Se.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Se.type)}`)}}function We(at,St,bt){let Se=[];return at.each((Or,dr,Lt)=>{let Rt=Lt[dr-1];if(Rt&&Rt.type==="css-comment"&&Rt.text.trim()==="prettier-ignore"){let Ht=Or.getValue();Se.push(St.originalText.slice(it(Ht),ze(Ht)))}else Se.push(bt());dr!==Lt.length-1&&(Lt[dr+1].type==="css-comment"&&!s(St.originalText,it(Lt[dr+1]),{backwards:!0})&&!o(Lt[dr])||Lt[dr+1].type==="css-atrule"&&Lt[dr+1].name==="else"&&Lt[dr].type!=="css-comment"?Se.push(" "):(Se.push(St.__isHTMLStyleAttribute?A:F),l(St.originalText,Or.getValue(),ze)&&!o(Lt[dr])&&Se.push(F)))},"nodes"),Se}var lt=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,qe=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,ir=/[A-Za-z]+/g,ut=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Zt=new RegExp(lt.source+`|(${ut.source})?(${qe.source})(${ir.source})?`,"g");function st(at,St){return at.replace(lt,bt=>h(bt,St))}function xt(at,St){let bt=St.singleQuote?"'":'"';return at.includes('"')||at.includes("'")?at:bt+at+bt}function kt(at){return at.replace(Zt,(St,bt,Se,Or,dr)=>!Se&&Or?zt(Or)+x(dr||""):St)}function zt(at){return d(at).replace(/\.0(?=$|e)/,"")}g.exports={print:Ve,embed:U,insertPragma:ee,massageAstNode:G}}}),Rh=ie({"src/language-css/options.js"(c,g){"use strict";pe();var u=si();g.exports={singleQuote:u.singleQuote}}}),jh=ie({"src/language-css/parsers.js"(){pe()}}),Mh=ie({"node_modules/linguist-languages/data/CSS.json"(c,g){g.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),$h=ie({"node_modules/linguist-languages/data/PostCSS.json"(c,g){g.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Vh=ie({"node_modules/linguist-languages/data/Less.json"(c,g){g.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Uh=ie({"node_modules/linguist-languages/data/SCSS.json"(c,g){g.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Gh=ie({"src/language-css/index.js"(c,g){"use strict";pe();var u=Nn(),d=Oh(),h=Rh(),s=jh(),o=[u(Mh(),m=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...m.extensions,".wxss"]})),u($h(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),u(Vh(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),u(Uh(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],l={postcss:d};g.exports={languages:o,options:h,printers:l,parsers:s}}}),qh=ie({"src/language-handlebars/loc.js"(c,g){"use strict";pe();function u(h){return h.loc.start.offset}function d(h){return h.loc.end.offset}g.exports={locStart:u,locEnd:d}}}),Wh=ie({"src/language-handlebars/clean.js"(c,g){"use strict";pe();function u(d,h){if(d.type==="TextNode"){let s=d.chars.trim();if(!s)return null;h.chars=s.replace(/[\t\n\f\r ]+/g," ")}d.type==="AttrNode"&&d.name.toLowerCase()==="class"&&delete h.value}u.ignoredProperties=new Set(["loc","selfClosing"]),g.exports=u}}),Jh=ie({"src/language-handlebars/html-void-elements.evaluate.js"(c,g){g.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),Yh=ie({"src/language-handlebars/utils.js"(c,g){"use strict";pe();var u=Ie(),d=Jh();function h(L){let G=L.getValue(),U=L.getParentNode(0);return!!(C(L,["ElementNode"])&&u(U.children)===G||C(L,["Block"])&&u(U.body)===G)}function s(L){return L.toUpperCase()===L}function o(L){return F(L,["ElementNode"])&&typeof L.tag=="string"&&!L.tag.startsWith(":")&&(s(L.tag[0])||L.tag.includes("."))}var l=new Set(d);function m(L){return l.has(L.toLowerCase())&&!s(L[0])}function D(L){return L.selfClosing===!0||m(L.tag)||o(L)&&L.children.every(G=>A(G))}function A(L){return F(L,["TextNode"])&&!/\S/.test(L.chars)}function F(L,G){return L&&G.includes(L.type)}function C(L,G){let U=L.getParentNode(0);return F(U,G)}function y(L,G){let U=$(L);return F(U,G)}function E(L,G){let U=V(L);return F(U,G)}function w(L,G){var U,ee,v,O;let x=L.getValue(),T=(U=L.getParentNode(0))!==null&&U!==void 0?U:{},f=(ee=(v=(O=T.children)!==null&&O!==void 0?O:T.body)!==null&&v!==void 0?v:T.parts)!==null&&ee!==void 0?ee:[],b=f.indexOf(x);return b!==-1&&f[b+G]}function $(L){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return w(L,-G)}function V(L){return w(L,1)}function _(L){return F(L,["MustacheCommentStatement"])&&typeof L.value=="string"&&L.value.trim()==="prettier-ignore"}function M(L){let G=L.getValue(),U=$(L,2);return _(G)||_(U)}g.exports={getNextNode:V,getPreviousNode:$,hasPrettierIgnore:M,isLastNodeOfSiblings:h,isNextNodeOfSomeType:E,isNodeOfSomeType:F,isParentOfSomeType:C,isPreviousNodeOfSomeType:y,isVoid:D,isWhitespaceNode:A}}}),Xh=ie({"src/language-handlebars/printer-glimmer.js"(c,g){"use strict";pe();var{builders:{dedent:u,fill:d,group:h,hardline:s,ifBreak:o,indent:l,join:m,line:D,softline:A},utils:{getDocParts:F,replaceTextEndOfLine:C}}=Ft(),{getPreferredQuote:y,isNonEmptyArray:E}=Mt(),{locStart:w,locEnd:$}=qh(),V=Wh(),{getNextNode:_,getPreviousNode:M,hasPrettierIgnore:L,isLastNodeOfSiblings:G,isNextNodeOfSomeType:U,isNodeOfSomeType:ee,isParentOfSomeType:v,isPreviousNodeOfSomeType:O,isVoid:x,isWhitespaceNode:T}=Yh(),f=2;function b(re,_e,ce){let we=re.getValue();if(!we)return"";if(L(re))return _e.originalText.slice(w(we),$(we));let it=_e.singleQuote?"'":'"';switch(we.type){case"Block":case"Program":case"Template":return h(re.map(ce,"body"));case"ElementNode":{let ze=h(I(re,ce)),Be=_e.htmlWhitespaceSensitivity==="ignore"&&U(re,["ElementNode"])?A:"";if(x(we))return[ze,Be];let P=["</",we.tag,">"];return we.children.length===0?[ze,l(P),Be]:_e.htmlWhitespaceSensitivity==="ignore"?[ze,l(N(re,_e,ce)),s,l(P),Be]:[ze,l(h(N(re,_e,ce))),l(P),Be]}case"BlockStatement":{let ze=re.getParentNode(1);return ze&&ze.inverse&&ze.inverse.body.length===1&&ze.inverse.body[0]===we&&ze.inverse.body[0].path.parts[0]===ze.path.parts[0]?[xe(re,ce,ze.inverse.body[0].path.parts[0]),Te(re,ce,_e),ke(re,ce,_e)]:[Y(re,ce),h([Te(re,ce,_e),ke(re,ce,_e),me(re,ce,_e)])]}case"ElementModifierStatement":return h(["{{",wt(re,ce),"}}"]);case"MustacheStatement":return h([q(we),wt(re,ce),z(we)]);case"SubExpression":return h(["(",Pt(re,ce),A,")"]);case"AttrNode":{let ze=we.value.type==="TextNode";if(ze&&we.value.chars===""&&w(we.value)===$(we.value))return we.name;let Be=ze?y(we.value.chars,it).quote:we.value.type==="ConcatStatement"?y(we.value.parts.filter(ae=>ae.type==="TextNode").map(ae=>ae.chars).join(""),it).quote:"",P=ce("value");return[we.name,"=",Be,we.name==="class"&&Be?h(l(P)):P,Be]}case"ConcatStatement":return re.map(ce,"parts");case"Hash":return m(D,re.map(ce,"pairs"));case"HashPair":return[we.key,"=",ce("value")];case"TextNode":{let ze=we.chars.replace(/{{/g,"\\{{"),Be=ne(re);if(Be){if(Be==="class"){let ut=ze.trim().split(/\s+/).join(" "),Zt=!1,st=!1;return v(re,["ConcatStatement"])&&(O(re,["MustacheStatement"])&&/^\s/.test(ze)&&(Zt=!0),U(re,["MustacheStatement"])&&/\s$/.test(ze)&&ut!==""&&(st=!0)),[Zt?D:"",ut,st?D:""]}return C(ze)}let P=/^[\t\n\f\r ]*$/.test(ze),ae=!M(re),ve=!_(re);if(_e.htmlWhitespaceSensitivity!=="ignore"){let ut=/^[\t\n\f\r ]*/,Zt=/[\t\n\f\r ]*$/,st=ve&&v(re,["Template"]),xt=ae&&v(re,["Template"]);if(P){if(xt||st)return"";let bt=[D],Se=ge(ze);return Se&&(bt=Me(Se)),G(re)&&(bt=bt.map(Or=>u(Or))),bt}let[kt]=ze.match(ut),[zt]=ze.match(Zt),at=[];if(kt){at=[D];let bt=ge(kt);bt&&(at=Me(bt)),ze=ze.replace(ut,"")}let St=[];if(zt){if(!st){St=[D];let bt=ge(zt);bt&&(St=Me(bt)),G(re)&&(St=St.map(Se=>u(Se)))}ze=ze.replace(Zt,"")}return[...at,d(Qe(ze)),...St]}let Ve=ge(ze),We=Ee(ze),lt=Ne(ze);if((ae||ve)&&P&&v(re,["Block","ElementNode","Template"]))return"";P&&Ve?(We=Math.min(Ve,f),lt=0):(U(re,["BlockStatement","ElementNode"])&&(lt=Math.max(lt,1)),O(re,["BlockStatement","ElementNode"])&&(We=Math.max(We,1)));let qe="",ir="";return lt===0&&U(re,["MustacheStatement"])&&(ir=" "),We===0&&O(re,["MustacheStatement"])&&(qe=" "),ae&&(We=0,qe=""),ve&&(lt=0,ir=""),ze=ze.replace(/^[\t\n\f\r ]+/g,qe).replace(/[\t\n\f\r ]+$/,ir),[...Me(We),d(Qe(ze)),...Me(lt)]}case"MustacheCommentStatement":{let ze=w(we),Be=$(we),P=_e.originalText.charAt(ze+2)==="~",ae=_e.originalText.charAt(Be-3)==="~",ve=we.value.includes("}}")?"--":"";return["{{",P?"~":"","!",ve,we.value,ve,ae?"~":"","}}"]}case"PathExpression":return we.original;case"BooleanLiteral":return String(we.value);case"CommentStatement":return["<!--",we.value,"-->"];case"StringLiteral":{if(pt(re)){let ze=_e.singleQuote?'"':"'";return Ge(we.value,ze)}return Ge(we.value,it)}case"NumberLiteral":return String(we.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(we.type))}}function S(re,_e){return w(re)-w(_e)}function I(re,_e){let ce=re.getValue(),we=["attributes","modifiers","comments"].filter(ze=>E(ce[ze])),it=we.flatMap(ze=>ce[ze]).sort(S);for(let ze of we)re.each(Be=>{let P=it.indexOf(Be.getValue());it.splice(P,1,[D,_e()])},ze);return E(ce.blockParams)&&it.push(D,Ae(ce)),["<",ce.tag,l(it),R(ce)]}function N(re,_e,ce){let we=re.getValue().children.every(it=>T(it));return _e.htmlWhitespaceSensitivity==="ignore"&&we?"":re.map((it,ze)=>{let Be=ce();return ze===0&&_e.htmlWhitespaceSensitivity==="ignore"?[A,Be]:Be},"children")}function R(re){return x(re)?o([A,"/>"],[" />",A]):o([A,">"],">")}function q(re){let _e=re.escaped===!1?"{{{":"{{",ce=re.strip&&re.strip.open?"~":"";return[_e,ce]}function z(re){let _e=re.escaped===!1?"}}}":"}}";return[re.strip&&re.strip.close?"~":"",_e]}function Z(re){let _e=q(re),ce=re.openStrip.open?"~":"";return[_e,ce,"#"]}function H(re){let _e=z(re);return[re.openStrip.close?"~":"",_e]}function ue(re){let _e=q(re),ce=re.closeStrip.open?"~":"";return[_e,ce,"/"]}function W(re){let _e=z(re);return[re.closeStrip.close?"~":"",_e]}function de(re){let _e=q(re),ce=re.inverseStrip.open?"~":"";return[_e,ce]}function Q(re){let _e=z(re);return[re.inverseStrip.close?"~":"",_e]}function Y(re,_e){let ce=re.getValue(),we=[],it=yt(re,_e);return it&&we.push(h(it)),E(ce.program.blockParams)&&we.push(Ae(ce.program)),h([Z(ce),ct(re,_e),we.length>0?l([D,m(D,we)]):"",A,H(ce)])}function he(re,_e){return[_e.htmlWhitespaceSensitivity==="ignore"?s:"",de(re),"else",Q(re)]}function xe(re,_e,ce){let we=re.getValue(),it=re.getParentNode(1);return h([de(it),["else"," ",ce],l([D,h(yt(re,_e)),...E(we.program.blockParams)?[D,Ae(we.program)]:[]]),A,Q(it)])}function me(re,_e,ce){let we=re.getValue();return ce.htmlWhitespaceSensitivity==="ignore"?[Pe(we)?A:s,ue(we),_e("path"),W(we)]:[ue(we),_e("path"),W(we)]}function Pe(re){return ee(re,["BlockStatement"])&&re.program.body.every(_e=>T(_e))}function te(re){return oe(re)&&re.inverse.body.length===1&&ee(re.inverse.body[0],["BlockStatement"])&&re.inverse.body[0].path.parts[0]===re.path.parts[0]}function oe(re){return ee(re,["BlockStatement"])&&re.inverse}function Te(re,_e,ce){let we=re.getValue();if(Pe(we))return"";let it=_e("program");return ce.htmlWhitespaceSensitivity==="ignore"?l([s,it]):l(it)}function ke(re,_e,ce){let we=re.getValue(),it=_e("inverse"),ze=ce.htmlWhitespaceSensitivity==="ignore"?[s,it]:it;return te(we)?ze:oe(we)?[he(we,ce),l(ze)]:""}function Qe(re){return F(m(D,fe(re)))}function fe(re){return re.split(/[\t\n\f\r ]+/)}function ne(re){for(let _e=0;_e<2;_e++){let ce=re.getParentNode(_e);if(ce&&ce.type==="AttrNode")return ce.name.toLowerCase()}}function ge(re){return re=typeof re=="string"?re:"",re.split(`
|
|
143
|
+
`).length-1}function Ee(re){re=typeof re=="string"?re:"";let _e=(re.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return ge(_e)}function Ne(re){re=typeof re=="string"?re:"";let _e=(re.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return ge(_e)}function Me(){let re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(re,f)}).fill(s)}function Ge(re,_e){let{quote:ce,regex:we}=y(re,_e);return[ce,re.replace(we,`\\${ce}`),ce]}function pt(re){let _e=0,ce=re.getParentNode(_e);for(;ce&&ee(ce,["SubExpression"]);)_e++,ce=re.getParentNode(_e);return!!(ce&&ee(re.getParentNode(_e+1),["ConcatStatement"])&&ee(re.getParentNode(_e+2),["AttrNode"]))}function Pt(re,_e){let ce=ct(re,_e),we=yt(re,_e);return we?l([ce,D,h(we)]):ce}function wt(re,_e){let ce=ct(re,_e),we=yt(re,_e);return we?[l([ce,D,we]),A]:ce}function ct(re,_e){return _e("path")}function yt(re,_e){let ce=re.getValue(),we=[];if(ce.params.length>0){let it=re.map(_e,"params");we.push(...it)}if(ce.hash&&ce.hash.pairs.length>0){let it=_e("hash");we.push(it)}return we.length===0?"":m(D,we)}function Ae(re){return["as |",re.blockParams.join(" "),"|"]}g.exports={print:b,massageAstNode:V}}}),zh=ie({"src/language-handlebars/parsers.js"(){pe()}}),Hh=ie({"node_modules/linguist-languages/data/Handlebars.json"(c,g){g.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Qh=ie({"src/language-handlebars/index.js"(c,g){"use strict";pe();var u=Nn(),d=Xh(),h=zh(),s=[u(Hh(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],o={glimmer:d};g.exports={languages:s,printers:o,parsers:h}}}),Kh=ie({"src/language-graphql/pragma.js"(c,g){"use strict";pe();function u(h){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(h)}function d(h){return`# @format
|
|
144
144
|
|
|
145
|
-
`+
|
|
146
|
-
`);return
|
|
147
|
-
`)&&(
|
|
148
|
-
(${
|
|
149
|
-
`:" "});continue}if((T===0||T===
|
|
150
|
-
`)&&
|
|
151
|
-
`)?
|
|
145
|
+
`+h}g.exports={hasPragma:u,insertPragma:d}}}),Zh=ie({"src/language-graphql/loc.js"(c,g){"use strict";pe();function u(h){return typeof h.start=="number"?h.start:h.loc&&h.loc.start}function d(h){return typeof h.end=="number"?h.end:h.loc&&h.loc.end}g.exports={locStart:u,locEnd:d}}}),ed=ie({"src/language-graphql/printer-graphql.js"(c,g){"use strict";pe();var{builders:{join:u,hardline:d,line:h,softline:s,group:o,indent:l,ifBreak:m}}=Ft(),{isNextLineEmpty:D,isNonEmptyArray:A}=Mt(),{insertPragma:F}=Kh(),{locStart:C,locEnd:y}=Zh();function E(U,ee,v){let O=U.getValue();if(!O)return"";if(typeof O=="string")return O;switch(O.kind){case"Document":{let x=[];return U.each((T,f,b)=>{x.push(v()),f!==b.length-1&&(x.push(d),D(ee.originalText,T.getValue(),y)&&x.push(d))},"definitions"),[...x,d]}case"OperationDefinition":{let x=ee.originalText[C(O)]!=="{",T=Boolean(O.name);return[x?O.operation:"",x&&T?[" ",v("name")]:"",x&&!T&&A(O.variableDefinitions)?" ":"",A(O.variableDefinitions)?o(["(",l([s,u([m("",", "),s],U.map(v,"variableDefinitions"))]),s,")"]):"",w(U,v,O),O.selectionSet?!x&&!T?"":" ":"",v("selectionSet")]}case"FragmentDefinition":return["fragment ",v("name"),A(O.variableDefinitions)?o(["(",l([s,u([m("",", "),s],U.map(v,"variableDefinitions"))]),s,")"]):""," on ",v("typeCondition"),w(U,v,O)," ",v("selectionSet")];case"SelectionSet":return["{",l([d,u(d,$(U,ee,v,"selections"))]),d,"}"];case"Field":return o([O.alias?[v("alias"),": "]:"",v("name"),O.arguments.length>0?o(["(",l([s,u([m("",", "),s],$(U,ee,v,"arguments"))]),s,")"]):"",w(U,v,O),O.selectionSet?" ":"",v("selectionSet")]);case"Name":return O.value;case"StringValue":{if(O.block){let x=O.value.replace(/"""/g,"\\$&").split(`
|
|
146
|
+
`);return x.length===1&&(x[0]=x[0].trim()),x.every(T=>T==="")&&(x.length=0),u(d,['"""',...x,'"""'])}return['"',O.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return O.value;case"BooleanValue":return O.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",v("name")];case"ListValue":return o(["[",l([s,u([m("",", "),s],U.map(v,"values"))]),s,"]"]);case"ObjectValue":return o(["{",ee.bracketSpacing&&O.fields.length>0?" ":"",l([s,u([m("",", "),s],U.map(v,"fields"))]),s,m("",ee.bracketSpacing&&O.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[v("name"),": ",v("value")];case"Directive":return["@",v("name"),O.arguments.length>0?o(["(",l([s,u([m("",", "),s],$(U,ee,v,"arguments"))]),s,")"]):""];case"NamedType":return v("name");case"VariableDefinition":return[v("variable"),": ",v("type"),O.defaultValue?[" = ",v("defaultValue")]:"",w(U,v,O)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[v("description"),O.description?d:"",O.kind==="ObjectTypeExtension"?"extend ":"","type ",v("name"),O.interfaces.length>0?[" implements ",...M(U,ee,v)]:"",w(U,v,O),O.fields.length>0?[" {",l([d,u(d,$(U,ee,v,"fields"))]),d,"}"]:""];case"FieldDefinition":return[v("description"),O.description?d:"",v("name"),O.arguments.length>0?o(["(",l([s,u([m("",", "),s],$(U,ee,v,"arguments"))]),s,")"]):"",": ",v("type"),w(U,v,O)];case"DirectiveDefinition":return[v("description"),O.description?d:"","directive ","@",v("name"),O.arguments.length>0?o(["(",l([s,u([m("",", "),s],$(U,ee,v,"arguments"))]),s,")"]):"",O.repeatable?" repeatable":""," on ",u(" | ",U.map(v,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[v("description"),O.description?d:"",O.kind==="EnumTypeExtension"?"extend ":"","enum ",v("name"),w(U,v,O),O.values.length>0?[" {",l([d,u(d,$(U,ee,v,"values"))]),d,"}"]:""];case"EnumValueDefinition":return[v("description"),O.description?d:"",v("name"),w(U,v,O)];case"InputValueDefinition":return[v("description"),O.description?O.description.block?d:h:"",v("name"),": ",v("type"),O.defaultValue?[" = ",v("defaultValue")]:"",w(U,v,O)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[v("description"),O.description?d:"",O.kind==="InputObjectTypeExtension"?"extend ":"","input ",v("name"),w(U,v,O),O.fields.length>0?[" {",l([d,u(d,$(U,ee,v,"fields"))]),d,"}"]:""];case"SchemaExtension":return["extend schema",w(U,v,O),...O.operationTypes.length>0?[" {",l([d,u(d,$(U,ee,v,"operationTypes"))]),d,"}"]:[]];case"SchemaDefinition":return[v("description"),O.description?d:"","schema",w(U,v,O)," {",O.operationTypes.length>0?l([d,u(d,$(U,ee,v,"operationTypes"))]):"",d,"}"];case"OperationTypeDefinition":return[v("operation"),": ",v("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[v("description"),O.description?d:"",O.kind==="InterfaceTypeExtension"?"extend ":"","interface ",v("name"),O.interfaces.length>0?[" implements ",...M(U,ee,v)]:"",w(U,v,O),O.fields.length>0?[" {",l([d,u(d,$(U,ee,v,"fields"))]),d,"}"]:""];case"FragmentSpread":return["...",v("name"),w(U,v,O)];case"InlineFragment":return["...",O.typeCondition?[" on ",v("typeCondition")]:"",w(U,v,O)," ",v("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([v("description"),O.description?d:"",o([O.kind==="UnionTypeExtension"?"extend ":"","union ",v("name"),w(U,v,O),O.types.length>0?[" =",m(""," "),l([m([h," "]),u([h,"| "],U.map(v,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[v("description"),O.description?d:"",O.kind==="ScalarTypeExtension"?"extend ":"","scalar ",v("name"),w(U,v,O)];case"NonNullType":return[v("type"),"!"];case"ListType":return["[",v("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(O.kind))}}function w(U,ee,v){if(v.directives.length===0)return"";let O=u(h,U.map(ee,"directives"));return v.kind==="FragmentDefinition"||v.kind==="OperationDefinition"?o([h,O]):[" ",o(l([s,O]))]}function $(U,ee,v,O){return U.map((x,T,f)=>{let b=v();return T<f.length-1&&D(ee.originalText,x.getValue(),y)?[b,d]:b},O)}function V(U){return U.kind&&U.kind!=="Comment"}function _(U){let ee=U.getValue();if(ee.kind==="Comment")return"#"+ee.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(ee))}function M(U,ee,v){let O=U.getNode(),x=[],{interfaces:T}=O,f=U.map(b=>v(b),"interfaces");for(let b=0;b<T.length;b++){let S=T[b];x.push(f[b]);let I=T[b+1];if(I){let N=ee.originalText.slice(S.loc.end,I.loc.start),R=N.includes("#"),q=N.replace(/#.*/g,"").trim();x.push(q===","?",":" &",R?h:" ")}}return x}function L(U,ee){U.kind==="StringValue"&&U.block&&!U.value.includes(`
|
|
147
|
+
`)&&(ee.value=ee.value.trim())}L.ignoredProperties=new Set(["loc","comments"]);function G(U){var ee;let v=U.getValue();return v==null||(ee=v.comments)===null||ee===void 0?void 0:ee.some(O=>O.value.trim()==="prettier-ignore")}g.exports={print:E,massageAstNode:L,hasPrettierIgnore:G,insertPragma:F,printComment:_,canAttachComment:V}}}),td=ie({"src/language-graphql/options.js"(c,g){"use strict";pe();var u=si();g.exports={bracketSpacing:u.bracketSpacing}}}),rd=ie({"src/language-graphql/parsers.js"(){pe()}}),nd=ie({"node_modules/linguist-languages/data/GraphQL.json"(c,g){g.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),id=ie({"src/language-graphql/index.js"(c,g){"use strict";pe();var u=Nn(),d=ed(),h=td(),s=rd(),o=[u(nd(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],l={graphql:d};g.exports={languages:o,options:h,printers:l,parsers:s}}}),Io=ie({"node_modules/collapse-white-space/index.js"(c,g){"use strict";pe(),g.exports=u;function u(d){return String(d).replace(/\s+/g," ")}}}),No=ie({"src/language-markdown/loc.js"(c,g){"use strict";pe();function u(h){return h.position.start.offset}function d(h){return h.position.end.offset}g.exports={locStart:u,locEnd:d}}}),sd=ie({"src/language-markdown/constants.evaluate.js"(c,g){g.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\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])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Gu=ie({"src/language-markdown/utils.js"(c,g){"use strict";pe();var{getLast:u}=Mt(),{locStart:d,locEnd:h}=No(),{cjkPattern:s,kPattern:o,punctuationPattern:l}=sd(),m=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],D=[...m,"tableCell","paragraph","heading"],A=new RegExp(o),F=new RegExp(l);function C(_,M){let L="non-cjk",G="cj-letter",U="k-letter",ee="cjk-punctuation",v=[],O=(M.proseWrap==="preserve"?_:_.replace(new RegExp(`(${s})
|
|
148
|
+
(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[T,f]of O.entries()){if(T%2==1){v.push({type:"whitespace",value:/\n/.test(f)?`
|
|
149
|
+
`:" "});continue}if((T===0||T===O.length-1)&&f==="")continue;let b=f.split(new RegExp(`(${s})`));for(let[S,I]of b.entries())if(!((S===0||S===b.length-1)&&I==="")){if(S%2==0){I!==""&&x({type:"word",value:I,kind:L,hasLeadingPunctuation:F.test(I[0]),hasTrailingPunctuation:F.test(u(I))});continue}x(F.test(I)?{type:"word",value:I,kind:ee,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:I,kind:A.test(I)?U:G,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return v;function x(T){let f=u(v);f&&f.type==="word"&&(f.kind===L&&T.kind===G&&!f.hasTrailingPunctuation||f.kind===G&&T.kind===L&&!T.hasLeadingPunctuation?v.push({type:"whitespace",value:" "}):!b(L,ee)&&![f.value,T.value].some(S=>/\u3000/.test(S))&&v.push({type:"whitespace",value:""})),v.push(T);function b(S,I){return f.kind===S&&T.kind===I||f.kind===I&&T.kind===S}}}function y(_,M){let[,L,G,U]=M.slice(_.position.start.offset,_.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:L,marker:G,leadingSpaces:U}}function E(_,M){if(!_.ordered||_.children.length<2)return!1;let L=Number(y(_.children[0],M.originalText).numberText),G=Number(y(_.children[1],M.originalText).numberText);if(L===0&&_.children.length>2){let U=Number(y(_.children[2],M.originalText).numberText);return G===1&&U===1}return G===1}function w(_,M){let{value:L}=_;return _.position.end.offset===M.length&&L.endsWith(`
|
|
150
|
+
`)&&M.endsWith(`
|
|
151
|
+
`)?L.slice(0,-1):L}function $(_,M){return function L(G,U,ee){let v=Object.assign({},M(G,U,ee));return v.children&&(v.children=v.children.map((O,x)=>L(O,x,[v,...ee]))),v}(_,null,[])}function V(_){if((_==null?void 0:_.type)!=="link"||_.children.length!==1)return!1;let[M]=_.children;return d(_)===d(M)&&h(_)===h(M)}g.exports={mapAst:$,splitText:C,punctuationPattern:l,getFencedCodeBlockValue:w,getOrderedListItemInfo:y,hasGitDiffFriendlyOrderedList:E,INLINE_NODE_TYPES:m,INLINE_NODE_WRAPPER_TYPES:D,isAutolink:V}}}),ud=ie({"src/language-markdown/embed.js"(c,g){"use strict";pe();var{inferParserByLanguage:u,getMaxContinuousCount:d}=Mt(),{builders:{hardline:h,markAsRoot:s},utils:{replaceEndOfLine:o}}=Ft(),l=Uu(),{getFencedCodeBlockValue:m}=Gu();function D(A,F,C,y){let E=A.getValue();if(E.type==="code"&&E.lang!==null){let w=u(E.lang,y);if(w){let $=y.__inJsTemplate?"~":"`",V=$.repeat(Math.max(3,d(E.value,$)+1)),_={parser:w};E.lang==="tsx"&&(_.filepath="dummy.tsx");let M=C(m(E,y.originalText),_,{stripTrailingHardline:!0});return s([V,E.lang,E.meta?" "+E.meta:"",h,o(M),h,V])}}switch(E.type){case"front-matter":return l(E,C);case"importExport":return[C(E.value,{parser:"babel"},{stripTrailingHardline:!0}),h];case"jsx":return C(`<$>${E.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}g.exports=D}}),Lo=ie({"src/language-markdown/pragma.js"(c,g){"use strict";pe();var u=Bo(),d=["format","prettier"];function h(s){let o=`@(${d.join("|")})`,l=new RegExp([`<!--\\s*${o}\\s*-->`,`{\\s*\\/\\*\\s*${o}\\s*\\*\\/\\s*}`,`<!--.*\r?
|
|
152
152
|
[\\s\\S]*(^|
|
|
153
153
|
)[^\\S
|
|
154
|
-
]*${
|
|
154
|
+
]*${o}[^\\S
|
|
155
155
|
]*($|
|
|
156
156
|
)[\\s\\S]*
|
|
157
|
-
.*-->`].join("|"),"m"),
|
|
157
|
+
.*-->`].join("|"),"m"),m=s.match(l);return(m==null?void 0:m.index)===0}g.exports={startWithPragma:h,hasPragma:s=>h(u(s).content.trimStart()),insertPragma:s=>{let o=u(s),l=`<!-- @${d[0]} -->`;return o.frontMatter?`${o.frontMatter.raw}
|
|
158
158
|
|
|
159
|
-
${
|
|
159
|
+
${l}
|
|
160
160
|
|
|
161
|
-
${
|
|
161
|
+
${o.content}`:`${l}
|
|
162
162
|
|
|
163
|
-
${
|
|
163
|
+
${o.content}`}}}}),ad=ie({"src/language-markdown/print-preprocess.js"(c,g){"use strict";pe();var u=Ie(),{getOrderedListItemInfo:d,mapAst:h,splitText:s}=Gu(),o=/^.$/su;function l(V,_){return V=A(V,_),V=y(V),V=D(V,_),V=w(V,_),V=$(V,_),V=E(V,_),V=m(V),V=F(V),V}function m(V){return h(V,_=>_.type!=="import"&&_.type!=="export"?_:Object.assign(Object.assign({},_),{},{type:"importExport"}))}function D(V,_){return h(V,M=>M.type!=="inlineCode"||_.proseWrap==="preserve"?M:Object.assign(Object.assign({},M),{},{value:M.value.replace(/\s+/g," ")}))}function A(V,_){return h(V,M=>M.type!=="text"||M.value==="*"||M.value==="_"||!o.test(M.value)||M.position.end.offset-M.position.start.offset===M.value.length?M:Object.assign(Object.assign({},M),{},{value:_.originalText.slice(M.position.start.offset,M.position.end.offset)}))}function F(V){return C(V,(_,M)=>_.type==="importExport"&&M.type==="importExport",(_,M)=>({type:"importExport",value:_.value+`
|
|
164
164
|
|
|
165
|
-
`+
|
|
166
|
-
`)return
|
|
167
|
-
`,"\f","\r"," "]),
|
|
168
|
-
`)){if(ve.length===0)continue;if(!
|
|
169
|
-
`).map(ve=>ve.slice(
|
|
170
|
-
`)}function
|
|
171
|
-
`);return S===-1?
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
`){let S=
|
|
165
|
+
`+M.value,position:{start:_.position.start,end:M.position.end}}))}function C(V,_,M){return h(V,L=>{if(!L.children)return L;let G=L.children.reduce((U,ee)=>{let v=u(U);return v&&_(v,ee)?U.splice(-1,1,M(v,ee)):U.push(ee),U},[]);return Object.assign(Object.assign({},L),{},{children:G})})}function y(V){return C(V,(_,M)=>_.type==="text"&&M.type==="text",(_,M)=>({type:"text",value:_.value+M.value,position:{start:_.position.start,end:M.position.end}}))}function E(V,_){return h(V,(M,L,G)=>{let[U]=G;if(M.type!=="text")return M;let{value:ee}=M;return U.type==="paragraph"&&(L===0&&(ee=ee.trimStart()),L===U.children.length-1&&(ee=ee.trimEnd())),{type:"sentence",position:M.position,children:s(ee,_)}})}function w(V,_){return h(V,(M,L,G)=>{if(M.type==="code"){let U=/^\n?(?: {4,}|\t)/.test(_.originalText.slice(M.position.start.offset,M.position.end.offset));if(M.isIndented=U,U)for(let ee=0;ee<G.length;ee++){let v=G[ee];if(v.hasIndentedCodeblock)break;v.type==="list"&&(v.hasIndentedCodeblock=!0)}}return M})}function $(V,_){return h(V,(G,U,ee)=>{if(G.type==="list"&&G.children.length>0){for(let v=0;v<ee.length;v++){let O=ee[v];if(O.type==="list"&&!O.isAligned)return G.isAligned=!1,G}G.isAligned=L(G)}return G});function M(G){return G.children.length===0?-1:G.children[0].position.start.column-1}function L(G){if(!G.ordered)return!0;let[U,ee]=G.children;if(d(U,_.originalText).leadingSpaces.length>1)return!0;let v=M(U);if(v===-1)return!1;if(G.children.length===1)return v%_.tabWidth==0;let O=M(ee);return v!==O?!1:v%_.tabWidth==0?!0:d(ee,_.originalText).leadingSpaces.length>1}}g.exports=l}}),od=ie({"src/language-markdown/clean.js"(c,g){"use strict";pe();var u=Io(),{isFrontMatterNode:d}=Mt(),{startWithPragma:h}=Lo(),s=new Set(["position","raw"]);function o(l,m,D){if((l.type==="front-matter"||l.type==="code"||l.type==="yaml"||l.type==="import"||l.type==="export"||l.type==="jsx")&&delete m.value,l.type==="list"&&delete m.isAligned,(l.type==="list"||l.type==="listItem")&&(delete m.spread,delete m.loose),l.type==="text"||(l.type==="inlineCode"&&(m.value=l.value.replace(/[\t\n ]+/g," ")),l.type==="wikiLink"&&(m.value=l.value.trim().replace(/[\t\n]+/g," ")),(l.type==="definition"||l.type==="linkReference"||l.type==="imageReference")&&(m.label=u(l.label)),(l.type==="definition"||l.type==="link"||l.type==="image")&&l.title&&(m.title=l.title.replace(/\\(["')])/g,"$1")),D&&D.type==="root"&&D.children.length>0&&(D.children[0]===l||d(D.children[0])&&D.children[1]===l)&&l.type==="html"&&h(l.value)))return null}o.ignoredProperties=s,g.exports=o}}),ld=ie({"src/language-markdown/printer-markdown.js"(c,g){"use strict";pe();var u=Io(),{getLast:d,getMinNotPresentContinuousCount:h,getMaxContinuousCount:s,getStringWidth:o,isNonEmptyArray:l}=Mt(),{builders:{breakParent:m,join:D,line:A,literalline:F,markAsRoot:C,hardline:y,softline:E,ifBreak:w,fill:$,align:V,indent:_,group:M,hardlineWithoutBreakParent:L},utils:{normalizeDoc:G,replaceTextEndOfLine:U},printer:{printDocToString:ee}}=Ft(),v=ud(),{insertPragma:O}=Lo(),{locStart:x,locEnd:T}=No(),f=ad(),b=od(),{getFencedCodeBlockValue:S,hasGitDiffFriendlyOrderedList:I,splitText:N,punctuationPattern:R,INLINE_NODE_TYPES:q,INLINE_NODE_WRAPPER_TYPES:z,isAutolink:Z}=Gu(),H=new Set(["importExport"]),ue=["heading","tableCell","link","wikiLink"],W=new Set(["listItem","definition","footnoteDefinition"]);function de(Ae,re,_e){let ce=Ae.getValue();if(Me(Ae))return N(re.originalText.slice(ce.position.start.offset,ce.position.end.offset),re).map(we=>we.type==="word"?we.value:we.value===""?"":te(Ae,we.value,re));switch(ce.type){case"front-matter":return re.originalText.slice(ce.position.start.offset,ce.position.end.offset);case"root":return ce.children.length===0?"":[G(Te(Ae,re,_e)),H.has(fe(ce).type)?"":y];case"paragraph":return ke(Ae,re,_e,{postprocessor:$});case"sentence":return ke(Ae,re,_e);case"word":{let we=ce.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${R})(_+)`,`(_+)(${R}|$)`].join("|"),"g"),(Be,P,ae,ve,Ve)=>(ae?`${P}${ae}`:`${ve}${Ve}`).replace(/_/g,"\\_")),it=(Be,P,ae)=>Be.type==="sentence"&&ae===0,ze=(Be,P,ae)=>Z(Be.children[ae-1]);return we!==ce.value&&(Ae.match(void 0,it,ze)||Ae.match(void 0,it,(Be,P,ae)=>Be.type==="emphasis"&&ae===0,ze))&&(we=we.replace(/^(\\?[*_])+/,Be=>Be.replace(/\\/g,""))),we}case"whitespace":{let we=Ae.getParentNode(),it=we.children.indexOf(ce),ze=we.children[it+1],Be=ze&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(ze.value)?"never":re.proseWrap;return te(Ae,ce.value,{proseWrap:Be})}case"emphasis":{let we;if(Z(ce.children[0]))we=re.originalText[ce.position.start.offset];else{let it=Ae.getParentNode(),ze=it.children.indexOf(ce),Be=it.children[ze-1],P=it.children[ze+1];we=Be&&Be.type==="sentence"&&Be.children.length>0&&d(Be.children).type==="word"&&!d(Be.children).hasTrailingPunctuation||P&&P.type==="sentence"&&P.children.length>0&&P.children[0].type==="word"&&!P.children[0].hasLeadingPunctuation||Pe(Ae,"emphasis")?"*":"_"}return[we,ke(Ae,re,_e),we]}case"strong":return["**",ke(Ae,re,_e),"**"];case"delete":return["~~",ke(Ae,re,_e),"~~"];case"inlineCode":{let we=h(ce.value,"`"),it="`".repeat(we||1),ze=we&&!/^\s/.test(ce.value)?" ":"";return[it,ze,ce.value,ze,it]}case"wikiLink":{let we="";return re.proseWrap==="preserve"?we=ce.value:we=ce.value.replace(/[\t\n]+/g," "),["[[",we,"]]"]}case"link":switch(re.originalText[ce.position.start.offset]){case"<":{let we="mailto:";return["<",ce.url.startsWith(we)&&re.originalText.slice(ce.position.start.offset+1,ce.position.start.offset+1+we.length)!==we?ce.url.slice(we.length):ce.url,">"]}case"[":return["[",ke(Ae,re,_e),"](",Ge(ce.url,")"),pt(ce.title,re),")"];default:return re.originalText.slice(ce.position.start.offset,ce.position.end.offset)}case"image":return[""),pt(ce.title,re),")"];case"blockquote":return["> ",V("> ",ke(Ae,re,_e))];case"heading":return["#".repeat(ce.depth)+" ",ke(Ae,re,_e)];case"code":{if(ce.isIndented){let ze=" ".repeat(4);return V(ze,[ze,...U(ce.value,y)])}let we=re.__inJsTemplate?"~":"`",it=we.repeat(Math.max(3,s(ce.value,we)+1));return[it,ce.lang||"",ce.meta?" "+ce.meta:"",y,...U(S(ce,re.originalText),y),y,it]}case"html":{let we=Ae.getParentNode(),it=we.type==="root"&&d(we.children)===ce?ce.value.trimEnd():ce.value,ze=/^<!--.*-->$/s.test(it);return U(it,ze?y:C(F))}case"list":{let we=he(ce,Ae.getParentNode()),it=I(ce,re);return ke(Ae,re,_e,{processor:(ze,Be)=>{let P=ve(),ae=ze.getValue();if(ae.children.length===2&&ae.children[1].type==="html"&&ae.children[0].position.start.column!==ae.children[1].position.start.column)return[P,Q(ze,re,_e,P)];return[P,V(" ".repeat(P.length),Q(ze,re,_e,P))];function ve(){let Ve=ce.ordered?(Be===0?ce.start:it?1:ce.start+Be)+(we%2==0?". ":") "):we%2==0?"- ":"* ";return ce.isAligned||ce.hasIndentedCodeblock?Y(Ve,re):Ve}}})}case"thematicBreak":{let we=me(Ae,"list");return we===-1?"---":he(Ae.getParentNode(we),Ae.getParentNode(we+1))%2==0?"***":"---"}case"linkReference":return["[",ke(Ae,re,_e),"]",ce.referenceType==="full"?ct(ce):ce.referenceType==="collapsed"?"[]":""];case"imageReference":switch(ce.referenceType){case"full":return["![",ce.alt||"","]",ct(ce)];default:return["![",ce.alt,"]",ce.referenceType==="collapsed"?"[]":""]}case"definition":{let we=re.proseWrap==="always"?A:" ";return M([ct(ce),":",_([we,Ge(ce.url),ce.title===null?"":[we,pt(ce.title,re,!1)]])])}case"footnote":return["[^",ke(Ae,re,_e),"]"];case"footnoteReference":return yt(ce);case"footnoteDefinition":{let we=Ae.getParentNode().children[Ae.getName()+1],it=ce.children.length===1&&ce.children[0].type==="paragraph"&&(re.proseWrap==="never"||re.proseWrap==="preserve"&&ce.children[0].position.start.line===ce.children[0].position.end.line);return[yt(ce),": ",it?ke(Ae,re,_e):M([V(" ".repeat(4),ke(Ae,re,_e,{processor:(ze,Be)=>Be===0?M([E,_e()]):_e()})),we&&we.type==="footnoteDefinition"?E:""])]}case"table":return oe(Ae,re,_e);case"tableCell":return ke(Ae,re,_e);case"break":return/\s/.test(re.originalText[ce.position.start.offset])?[" ",C(F)]:["\\",y];case"liquidNode":return U(ce.value,y);case"importExport":return[ce.value,y];case"esComment":return["{/* ",ce.value," */}"];case"jsx":return ce.value;case"math":return["$$",y,ce.value?[...U(ce.value,y),y]:"","$$"];case"inlineMath":return re.originalText.slice(x(ce),T(ce));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(ce.type)}`)}}function Q(Ae,re,_e,ce){let we=Ae.getValue(),it=we.checked===null?"":we.checked?"[x] ":"[ ] ";return[it,ke(Ae,re,_e,{processor:(ze,Be)=>{if(Be===0&&ze.getValue().type!=="list")return V(" ".repeat(it.length),_e());let P=" ".repeat(Pt(re.tabWidth-ce.length,0,3));return[P,V(P,_e())]}})]}function Y(Ae,re){let _e=ce();return Ae+" ".repeat(_e>=4?0:_e);function ce(){let we=Ae.length%re.tabWidth;return we===0?0:re.tabWidth-we}}function he(Ae,re){return xe(Ae,re,_e=>_e.ordered===Ae.ordered)}function xe(Ae,re,_e){let ce=-1;for(let we of re.children)if(we.type===Ae.type&&_e(we)?ce++:ce=-1,we===Ae)return ce}function me(Ae,re){let _e=Array.isArray(re)?re:[re],ce=-1,we;for(;we=Ae.getParentNode(++ce);)if(_e.includes(we.type))return ce;return-1}function Pe(Ae,re){let _e=me(Ae,re);return _e===-1?null:Ae.getParentNode(_e)}function te(Ae,re,_e){if(_e.proseWrap==="preserve"&&re===`
|
|
166
|
+
`)return y;let ce=_e.proseWrap==="always"&&!Pe(Ae,ue);return re!==""?ce?A:" ":ce?E:""}function oe(Ae,re,_e){let ce=Ae.getValue(),we=[],it=Ae.map(Ve=>Ve.map((We,lt)=>{let qe=ee(_e(),re).formatted,ir=o(qe);return we[lt]=Math.max(we[lt]||3,ir),{text:qe,width:ir}},"children"),"children"),ze=P(!1);if(re.proseWrap!=="never")return[m,ze];let Be=P(!0);return[m,M(w(Be,ze))];function P(Ve){let We=[ve(it[0],Ve),ae(Ve)];return it.length>1&&We.push(D(L,it.slice(1).map(lt=>ve(lt,Ve)))),D(L,We)}function ae(Ve){return`| ${we.map((We,lt)=>{let qe=ce.align[lt],ir=qe==="center"||qe==="left"?":":"-",ut=qe==="center"||qe==="right"?":":"-",Zt=Ve?"-":"-".repeat(We-2);return`${ir}${Zt}${ut}`}).join(" | ")} |`}function ve(Ve,We){return`| ${Ve.map((lt,qe)=>{let{text:ir,width:ut}=lt;if(We)return ir;let Zt=we[qe]-ut,st=ce.align[qe],xt=0;st==="right"?xt=Zt:st==="center"&&(xt=Math.floor(Zt/2));let kt=Zt-xt;return`${" ".repeat(xt)}${ir}${" ".repeat(kt)}`}).join(" | ")} |`}}function Te(Ae,re,_e){let ce=[],we=null,{children:it}=Ae.getValue();for(let[ze,Be]of it.entries())switch(ne(Be)){case"start":we===null&&(we={index:ze,offset:Be.position.end.offset});break;case"end":we!==null&&(ce.push({start:we,end:{index:ze,offset:Be.position.start.offset}}),we=null);break;default:break}return ke(Ae,re,_e,{processor:(ze,Be)=>{if(ce.length>0){let P=ce[0];if(Be===P.start.index)return[Qe(it[P.start.index]),re.originalText.slice(P.start.offset,P.end.offset),Qe(it[P.end.index])];if(P.start.index<Be&&Be<P.end.index)return!1;if(Be===P.end.index)return ce.shift(),!1}return _e()}})}function ke(Ae,re,_e){let ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:we}=ce,it=ce.processor||(()=>_e()),ze=Ae.getValue(),Be=[],P;return Ae.each((ae,ve)=>{let Ve=ae.getValue(),We=it(ae,ve);if(We!==!1){let lt={parts:Be,prevNode:P,parentNode:ze,options:re};ge(Ve,lt)&&(Be.push(y),P&&H.has(P.type)||(Ee(Ve,lt)||Ne(Ve,lt))&&Be.push(y),Ne(Ve,lt)&&Be.push(y)),Be.push(We),P=Ve}},"children"),we?we(Be):Be}function Qe(Ae){if(Ae.type==="html")return Ae.value;if(Ae.type==="paragraph"&&Array.isArray(Ae.children)&&Ae.children.length===1&&Ae.children[0].type==="esComment")return["{/* ",Ae.children[0].value," */}"]}function fe(Ae){let re=Ae;for(;l(re.children);)re=d(re.children);return re}function ne(Ae){let re;if(Ae.type==="html")re=Ae.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let _e;Ae.type==="esComment"?_e=Ae:Ae.type==="paragraph"&&Ae.children.length===1&&Ae.children[0].type==="esComment"&&(_e=Ae.children[0]),_e&&(re=_e.value.match(/^prettier-ignore(?:-(start|end))?$/))}return re?re[1]||"next":!1}function ge(Ae,re){let _e=re.parts.length===0,ce=q.includes(Ae.type),we=Ae.type==="html"&&z.includes(re.parentNode.type);return!_e&&!ce&&!we}function Ee(Ae,re){var _e,ce,we;let it=(re.prevNode&&re.prevNode.type)===Ae.type&&W.has(Ae.type),ze=re.parentNode.type==="listItem"&&!re.parentNode.loose,Be=((_e=re.prevNode)===null||_e===void 0?void 0:_e.type)==="listItem"&&re.prevNode.loose,P=ne(re.prevNode)==="next",ae=Ae.type==="html"&&((ce=re.prevNode)===null||ce===void 0?void 0:ce.type)==="html"&&re.prevNode.position.end.line+1===Ae.position.start.line,ve=Ae.type==="html"&&re.parentNode.type==="listItem"&&((we=re.prevNode)===null||we===void 0?void 0:we.type)==="paragraph"&&re.prevNode.position.end.line+1===Ae.position.start.line;return Be||!(it||ze||P||ae||ve)}function Ne(Ae,re){let _e=re.prevNode&&re.prevNode.type==="list",ce=Ae.type==="code"&&Ae.isIndented;return _e&&ce}function Me(Ae){let re=Pe(Ae,["linkReference","imageReference"]);return re&&(re.type!=="linkReference"||re.referenceType!=="full")}function Ge(Ae){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],_e=[" ",...Array.isArray(re)?re:[re]];return new RegExp(_e.map(ce=>`\\${ce}`).join("|")).test(Ae)?`<${Ae}>`:Ae}function pt(Ae,re){let _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Ae)return"";if(_e)return" "+pt(Ae,re,!1);if(Ae=Ae.replace(/\\(["')])/g,"$1"),Ae.includes('"')&&Ae.includes("'")&&!Ae.includes(")"))return`(${Ae})`;let ce=Ae.split("'").length-1,we=Ae.split('"').length-1,it=ce>we?'"':we>ce||re.singleQuote?"'":'"';return Ae=Ae.replace(/\\/,"\\\\"),Ae=Ae.replace(new RegExp(`(${it})`,"g"),"\\$1"),`${it}${Ae}${it}`}function Pt(Ae,re,_e){return Ae<re?re:Ae>_e?_e:Ae}function wt(Ae){let re=Number(Ae.getName());if(re===0)return!1;let _e=Ae.getParentNode().children[re-1];return ne(_e)==="next"}function ct(Ae){return`[${u(Ae.label)}]`}function yt(Ae){return`[^${Ae.label}]`}g.exports={preprocess:f,print:de,embed:v,massageAstNode:b,hasPrettierIgnore:wt,insertPragma:O}}}),cd=ie({"src/language-markdown/options.js"(c,g){"use strict";pe();var u=si();g.exports={proseWrap:u.proseWrap,singleQuote:u.singleQuote}}}),pd=ie({"src/language-markdown/parsers.js"(){pe()}}),Oo=ie({"node_modules/linguist-languages/data/Markdown.json"(c,g){g.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),fd=ie({"src/language-markdown/index.js"(c,g){"use strict";pe();var u=Nn(),d=ld(),h=cd(),s=pd(),o=[u(Oo(),m=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...m.filenames,"README"],extensions:m.extensions.filter(D=>D!==".mdx")})),u(Oo(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],l={mdast:d};g.exports={languages:o,options:h,printers:l,parsers:s}}}),hd=ie({"src/language-html/clean.js"(c,g){"use strict";pe();var{isFrontMatterNode:u}=Mt(),d=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function h(s,o){if(s.type==="text"||s.type==="comment"||u(s)||s.type==="yaml"||s.type==="toml")return null;s.type==="attribute"&&delete o.value,s.type==="docType"&&delete o.value}h.ignoredProperties=d,g.exports=h}}),dd=ie({"src/language-html/constants.evaluate.js"(c,g){g.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),md=ie({"src/language-html/utils/is-unknown-namespace.js"(c,g){"use strict";pe();function u(d){return d.type==="element"&&!d.hasExplicitNamespace&&!["html","svg"].includes(d.namespace)}g.exports=u}}),ui=ie({"src/language-html/utils/index.js"(c,g){"use strict";pe();var{inferParserByLanguage:u,isFrontMatterNode:d}=Mt(),{builders:{line:h,hardline:s,join:o},utils:{getDocParts:l,replaceTextEndOfLine:m}}=Ft(),{CSS_DISPLAY_TAGS:D,CSS_DISPLAY_DEFAULT:A,CSS_WHITE_SPACE_TAGS:F,CSS_WHITE_SPACE_DEFAULT:C}=dd(),y=md(),E=new Set([" ",`
|
|
167
|
+
`,"\f","\r"," "]),w=P=>P.replace(/^[\t\n\f\r ]+/,""),$=P=>P.replace(/[\t\n\f\r ]+$/,""),V=P=>w($(P)),_=P=>P.replace(/^[\t\f\r ]*\n/g,""),M=P=>_($(P)),L=P=>P.split(/[\t\n\f\r ]+/),G=P=>P.match(/^[\t\n\f\r ]*/)[0],U=P=>{let[,ae,ve,Ve]=P.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:ae,trailingWhitespace:Ve,text:ve}},ee=P=>/[\t\n\f\r ]/.test(P);function v(P,ae){return!!(P.type==="ieConditionalComment"&&P.lastChild&&!P.lastChild.isSelfClosing&&!P.lastChild.endSourceSpan||P.type==="ieConditionalComment"&&!P.complete||Ee(P)&&P.children.some(ve=>ve.type!=="text"&&ve.type!=="interpolation")||ce(P,ae)&&!f(P)&&P.type!=="interpolation")}function O(P){return P.type==="attribute"||!P.parent||!P.prev?!1:x(P.prev)}function x(P){return P.type==="comment"&&P.value.trim()==="prettier-ignore"}function T(P){return P.type==="text"||P.type==="comment"}function f(P){return P.type==="element"&&(P.fullName==="script"||P.fullName==="style"||P.fullName==="svg:style"||y(P)&&(P.name==="script"||P.name==="style"))}function b(P){return P.children&&!f(P)}function S(P){return f(P)||P.type==="interpolation"||I(P)}function I(P){return pt(P).startsWith("pre")}function N(P,ae){let ve=Ve();if(ve&&!P.prev&&P.parent&&P.parent.tagDefinition&&P.parent.tagDefinition.ignoreFirstLf)return P.type==="interpolation";return ve;function Ve(){return d(P)?!1:(P.type==="text"||P.type==="interpolation")&&P.prev&&(P.prev.type==="text"||P.prev.type==="interpolation")?!0:!P.parent||P.parent.cssDisplay==="none"?!1:Ee(P.parent)?!0:!(!P.prev&&(P.parent.type==="root"||Ee(P)&&P.parent||f(P.parent)||re(P.parent,ae)||!ke(P.parent.cssDisplay))||P.prev&&!ne(P.prev.cssDisplay))}}function R(P,ae){return d(P)?!1:(P.type==="text"||P.type==="interpolation")&&P.next&&(P.next.type==="text"||P.next.type==="interpolation")?!0:!P.parent||P.parent.cssDisplay==="none"?!1:Ee(P.parent)?!0:!(!P.next&&(P.parent.type==="root"||Ee(P)&&P.parent||f(P.parent)||re(P.parent,ae)||!Qe(P.parent.cssDisplay))||P.next&&!fe(P.next.cssDisplay))}function q(P){return ge(P.cssDisplay)&&!f(P)}function z(P){return d(P)||P.next&&P.sourceSpan.end&&P.sourceSpan.end.line+1<P.next.sourceSpan.start.line}function Z(P){return H(P)||P.type==="element"&&P.children.length>0&&(["body","script","style"].includes(P.name)||P.children.some(ae=>me(ae)))||P.firstChild&&P.firstChild===P.lastChild&&P.firstChild.type!=="text"&&Q(P.firstChild)&&(!P.lastChild.isTrailingSpaceSensitive||Y(P.lastChild))}function H(P){return P.type==="element"&&P.children.length>0&&(["html","head","ul","ol","select"].includes(P.name)||P.cssDisplay.startsWith("table")&&P.cssDisplay!=="table-cell")}function ue(P){return he(P)||P.prev&&W(P.prev)||de(P)}function W(P){return he(P)||P.type==="element"&&P.fullName==="br"||de(P)}function de(P){return Q(P)&&Y(P)}function Q(P){return P.hasLeadingSpaces&&(P.prev?P.prev.sourceSpan.end.line<P.sourceSpan.start.line:P.parent.type==="root"||P.parent.startSourceSpan.end.line<P.sourceSpan.start.line)}function Y(P){return P.hasTrailingSpaces&&(P.next?P.next.sourceSpan.start.line>P.sourceSpan.end.line:P.parent.type==="root"||P.parent.endSourceSpan&&P.parent.endSourceSpan.start.line>P.sourceSpan.end.line)}function he(P){switch(P.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(P.name)}return!1}function xe(P){return P.lastChild?xe(P.lastChild):P}function me(P){return P.children&&P.children.some(ae=>ae.type!=="text")}function Pe(P){let{type:ae,lang:ve}=P.attrMap;if(ae==="module"||ae==="text/javascript"||ae==="text/babel"||ae==="application/javascript"||ve==="jsx")return"babel";if(ae==="application/x-typescript"||ve==="ts"||ve==="tsx")return"typescript";if(ae==="text/markdown")return"markdown";if(ae==="text/html")return"html";if(ae&&(ae.endsWith("json")||ae.endsWith("importmap"))||ae==="speculationrules")return"json";if(ae==="text/x-handlebars-template")return"glimmer"}function te(P,ae){let{lang:ve}=P.attrMap;if(!ve||ve==="postcss"||ve==="css")return"css";if(ve==="scss")return"scss";if(ve==="less")return"less";if(ve==="stylus")return u("stylus",ae)}function oe(P,ae){if(P.name==="script"&&!P.attrMap.src)return!P.attrMap.lang&&!P.attrMap.type?"babel":Pe(P);if(P.name==="style")return te(P,ae);if(ae&&ce(P,ae))return Pe(P)||!("src"in P.attrMap)&&u(P.attrMap.lang,ae)}function Te(P){return P==="block"||P==="list-item"||P.startsWith("table")}function ke(P){return!Te(P)&&P!=="inline-block"}function Qe(P){return!Te(P)&&P!=="inline-block"}function fe(P){return!Te(P)}function ne(P){return!Te(P)}function ge(P){return!Te(P)&&P!=="inline-block"}function Ee(P){return pt(P).startsWith("pre")}function Ne(P,ae){let ve=0;for(let Ve=P.stack.length-1;Ve>=0;Ve--){let We=P.stack[Ve];We&&typeof We=="object"&&!Array.isArray(We)&&ae(We)&&ve++}return ve}function Me(P,ae){let ve=P;for(;ve;){if(ae(ve))return!0;ve=ve.parent}return!1}function Ge(P,ae){if(P.prev&&P.prev.type==="comment"){let Ve=P.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(Ve)return Ve[1]}let ve=!1;if(P.type==="element"&&P.namespace==="svg")if(Me(P,Ve=>Ve.fullName==="svg:foreignObject"))ve=!0;else return P.name==="svg"?"inline-block":"block";switch(ae.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return ae.parser==="vue"&&P.parent&&P.parent.type==="root"?"block":P.type==="element"&&(!P.namespace||ve||y(P))&&D[P.name]||A}}function pt(P){return P.type==="element"&&(!P.namespace||y(P))&&F[P.name]||C}function Pt(P){let ae=Number.POSITIVE_INFINITY;for(let ve of P.split(`
|
|
168
|
+
`)){if(ve.length===0)continue;if(!E.has(ve[0]))return 0;let Ve=G(ve).length;ve.length!==Ve&&Ve<ae&&(ae=Ve)}return ae===Number.POSITIVE_INFINITY?0:ae}function wt(P){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pt(P);return ae===0?P:P.split(`
|
|
169
|
+
`).map(ve=>ve.slice(ae)).join(`
|
|
170
|
+
`)}function ct(P,ae){let ve=0;for(let Ve=0;Ve<P.length;Ve++)P[Ve]===ae&&ve++;return ve}function yt(P){return P.replace(/'/g,"'").replace(/"/g,'"')}var Ae=new Set(["template","style","script"]);function re(P,ae){return _e(P,ae)&&!Ae.has(P.fullName)}function _e(P,ae){return ae.parser==="vue"&&P.type==="element"&&P.parent.type==="root"&&P.fullName.toLowerCase()!=="html"}function ce(P,ae){return _e(P,ae)&&(re(P,ae)||P.attrMap.lang&&P.attrMap.lang!=="html")}function we(P){let ae=P.fullName;return ae.charAt(0)==="#"||ae==="slot-scope"||ae==="v-slot"||ae.startsWith("v-slot:")}function it(P,ae){let ve=P.parent;if(!_e(ve,ae))return!1;let Ve=ve.fullName,We=P.fullName;return Ve==="script"&&We==="setup"||Ve==="style"&&We==="vars"}function ze(P){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P.value;return P.parent.isWhitespaceSensitive?P.parent.isIndentationSensitive?m(ae):m(wt(M(ae)),s):l(o(h,L(ae)))}function Be(P,ae){return _e(P,ae)&&P.name==="script"}g.exports={htmlTrim:V,htmlTrimPreserveIndentation:M,hasHtmlWhitespace:ee,getLeadingAndTrailingHtmlWhitespace:U,canHaveInterpolation:b,countChars:ct,countParents:Ne,dedentString:wt,forceBreakChildren:H,forceBreakContent:Z,forceNextEmptyLine:z,getLastDescendant:xe,getNodeCssStyleDisplay:Ge,getNodeCssStyleWhiteSpace:pt,hasPrettierIgnore:O,inferScriptParser:oe,isVueCustomBlock:re,isVueNonHtmlBlock:ce,isVueScriptTag:Be,isVueSlotAttribute:we,isVueSfcBindingsAttribute:it,isVueSfcBlock:_e,isDanglingSpaceSensitiveNode:q,isIndentationSensitiveNode:I,isLeadingSpaceSensitiveNode:N,isPreLikeNode:Ee,isScriptLikeTag:f,isTextLikeNode:T,isTrailingSpaceSensitiveNode:R,isWhitespaceSensitiveNode:S,isUnknownNamespace:y,preferHardlineAsLeadingSpaces:ue,preferHardlineAsTrailingSpaces:W,shouldPreserveContent:v,unescapeQuoteEntities:yt,getTextValueParts:ze}}}),gd=ie({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0}),c.$EOF=0,c.$BSPACE=8,c.$TAB=9,c.$LF=10,c.$VTAB=11,c.$FF=12,c.$CR=13,c.$SPACE=32,c.$BANG=33,c.$DQ=34,c.$HASH=35,c.$$=36,c.$PERCENT=37,c.$AMPERSAND=38,c.$SQ=39,c.$LPAREN=40,c.$RPAREN=41,c.$STAR=42,c.$PLUS=43,c.$COMMA=44,c.$MINUS=45,c.$PERIOD=46,c.$SLASH=47,c.$COLON=58,c.$SEMICOLON=59,c.$LT=60,c.$EQ=61,c.$GT=62,c.$QUESTION=63,c.$0=48,c.$7=55,c.$9=57,c.$A=65,c.$E=69,c.$F=70,c.$X=88,c.$Z=90,c.$LBRACKET=91,c.$BACKSLASH=92,c.$RBRACKET=93,c.$CARET=94,c.$_=95,c.$a=97,c.$b=98,c.$e=101,c.$f=102,c.$n=110,c.$r=114,c.$t=116,c.$u=117,c.$v=118,c.$x=120,c.$z=122,c.$LBRACE=123,c.$BAR=124,c.$RBRACE=125,c.$NBSP=160,c.$PIPE=124,c.$TILDA=126,c.$AT=64,c.$BT=96;function g(l){return l>=c.$TAB&&l<=c.$SPACE||l==c.$NBSP}c.isWhitespace=g;function u(l){return c.$0<=l&&l<=c.$9}c.isDigit=u;function d(l){return l>=c.$a&&l<=c.$z||l>=c.$A&&l<=c.$Z}c.isAsciiLetter=d;function h(l){return l>=c.$a&&l<=c.$f||l>=c.$A&&l<=c.$F||u(l)}c.isAsciiHexDigit=h;function s(l){return l===c.$LF||l===c.$CR}c.isNewLine=s;function o(l){return c.$0<=l&&l<=c.$7}c.isOctalDigit=o}}),yd=ie({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=class{constructor(d,h,s){this.filePath=d,this.name=h,this.members=s}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};c.StaticSymbol=g;var u=class{constructor(){this.cache=new Map}get(d,h,s){s=s||[];let o=s.length?`.${s.join(".")}`:"",l=`"${d}".${h}${o}`,m=this.cache.get(l);return m||(m=new g(d,h,s),this.cache.set(l,m)),m}};c.StaticSymbolCache=u}}),Dd=ie({"node_modules/angular-html-parser/lib/compiler/src/util.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=/-+([a-z0-9])/g;function u(f){return f.replace(g,function(){for(var b=arguments.length,S=new Array(b),I=0;I<b;I++)S[I]=arguments[I];return S[1].toUpperCase()})}c.dashCaseToCamelCase=u;function d(f,b){return s(f,":",b)}c.splitAtColon=d;function h(f,b){return s(f,".",b)}c.splitAtPeriod=h;function s(f,b,S){let I=f.indexOf(b);return I==-1?S:[f.slice(0,I).trim(),f.slice(I+1).trim()]}function o(f,b,S){return Array.isArray(f)?b.visitArray(f,S):_(f)?b.visitStringMap(f,S):f==null||typeof f=="string"||typeof f=="number"||typeof f=="boolean"?b.visitPrimitive(f,S):b.visitOther(f,S)}c.visitValue=o;function l(f){return f!=null}c.isDefined=l;function m(f){return f===void 0?null:f}c.noUndefined=m;var D=class{visitArray(f,b){return f.map(S=>o(S,this,b))}visitStringMap(f,b){let S={};return Object.keys(f).forEach(I=>{S[I]=o(f[I],this,b)}),S}visitPrimitive(f,b){return f}visitOther(f,b){return f}};c.ValueTransformer=D,c.SyncAsync={assertSync:f=>{if(U(f))throw new Error("Illegal state: value cannot be a promise");return f},then:(f,b)=>U(f)?f.then(b):b(f),all:f=>f.some(U)?Promise.all(f):f};function A(f){throw new Error(`Internal Error: ${f}`)}c.error=A;function F(f,b){let S=Error(f);return S[C]=!0,b&&(S[y]=b),S}c.syntaxError=F;var C="ngSyntaxError",y="ngParseErrors";function E(f){return f[C]}c.isSyntaxError=E;function w(f){return f[y]||[]}c.getParseErrors=w;function $(f){return f.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}c.escapeRegExp=$;var V=Object.getPrototypeOf({});function _(f){return typeof f=="object"&&f!==null&&Object.getPrototypeOf(f)===V}function M(f){let b="";for(let S=0;S<f.length;S++){let I=f.charCodeAt(S);if(I>=55296&&I<=56319&&f.length>S+1){let N=f.charCodeAt(S+1);N>=56320&&N<=57343&&(S++,I=(I-55296<<10)+N-56320+65536)}I<=127?b+=String.fromCharCode(I):I<=2047?b+=String.fromCharCode(I>>6&31|192,I&63|128):I<=65535?b+=String.fromCharCode(I>>12|224,I>>6&63|128,I&63|128):I<=2097151&&(b+=String.fromCharCode(I>>18&7|240,I>>12&63|128,I>>6&63|128,I&63|128))}return b}c.utf8Encode=M;function L(f){if(typeof f=="string")return f;if(f instanceof Array)return"["+f.map(L).join(", ")+"]";if(f==null)return""+f;if(f.overriddenName)return`${f.overriddenName}`;if(f.name)return`${f.name}`;if(!f.toString)return"object";let b=f.toString();if(b==null)return""+b;let S=b.indexOf(`
|
|
171
|
+
`);return S===-1?b:b.substring(0,S)}c.stringify=L;function G(f){return typeof f=="function"&&f.hasOwnProperty("__forward_ref__")?f():f}c.resolveForwardRef=G;function U(f){return!!f&&typeof f.then=="function"}c.isPromise=U;var ee=class{constructor(f){this.full=f;let b=f.split(".");this.major=b[0],this.minor=b[1],this.patch=b.slice(2).join(".")}};c.Version=ee;var v=typeof window<"u"&&window,O=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,x=typeof globalThis<"u"&&globalThis,T=x||v||O;c.global=T}}),Ed=ie({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=yd(),u=Dd(),d=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function h(S){return S.replace(/\W/g,"_")}c.sanitizeIdentifier=h;var s=0;function o(S){if(!S||!S.reference)return null;let I=S.reference;if(I instanceof g.StaticSymbol)return I.name;if(I.__anonymousType)return I.__anonymousType;let N=u.stringify(I);return N.indexOf("(")>=0?(N=`anonymous_${s++}`,I.__anonymousType=N):N=h(N),N}c.identifierName=o;function l(S){let I=S.reference;return I instanceof g.StaticSymbol?I.filePath:`./${u.stringify(I)}`}c.identifierModuleUrl=l;function m(S,I){return`View_${o({reference:S})}_${I}`}c.viewClassName=m;function D(S){return`RenderType_${o({reference:S})}`}c.rendererTypeName=D;function A(S){return`HostView_${o({reference:S})}`}c.hostViewClassName=A;function F(S){return`${o({reference:S})}NgFactory`}c.componentFactoryName=F;var C;(function(S){S[S.Pipe=0]="Pipe",S[S.Directive=1]="Directive",S[S.NgModule=2]="NgModule",S[S.Injectable=3]="Injectable"})(C=c.CompileSummaryKind||(c.CompileSummaryKind={}));function y(S){return S.value!=null?h(S.value):o(S.identifier)}c.tokenName=y;function E(S){return S.identifier!=null?S.identifier.reference:S.value}c.tokenReference=E;var w=class{constructor(){let{moduleUrl:S,styles:I,styleUrls:N}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=S||null,this.styles=U(I),this.styleUrls=U(N)}};c.CompileStylesheetMetadata=w;var $=class{constructor(S){let{encapsulation:I,template:N,templateUrl:R,htmlAst:q,styles:z,styleUrls:Z,externalStylesheets:H,animations:ue,ngContentSelectors:W,interpolation:de,isInline:Q,preserveWhitespaces:Y}=S;if(this.encapsulation=I,this.template=N,this.templateUrl=R,this.htmlAst=q,this.styles=U(z),this.styleUrls=U(Z),this.externalStylesheets=U(H),this.animations=ue?v(ue):[],this.ngContentSelectors=W||[],de&&de.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=de,this.isInline=Q,this.preserveWhitespaces=Y}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};c.CompileTemplateMetadata=$;var V=class{static create(S){let{isHost:I,type:N,isComponent:R,selector:q,exportAs:z,changeDetection:Z,inputs:H,outputs:ue,host:W,providers:de,viewProviders:Q,queries:Y,guards:he,viewQueries:xe,entryComponents:me,template:Pe,componentViewType:te,rendererType:oe,componentFactory:Te}=S,ke={},Qe={},fe={};W!=null&&Object.keys(W).forEach(Ee=>{let Ne=W[Ee],Me=Ee.match(d);Me===null?fe[Ee]=Ne:Me[1]!=null?Qe[Me[1]]=Ne:Me[2]!=null&&(ke[Me[2]]=Ne)});let ne={};H!=null&&H.forEach(Ee=>{let Ne=u.splitAtColon(Ee,[Ee,Ee]);ne[Ne[0]]=Ne[1]});let ge={};return ue!=null&&ue.forEach(Ee=>{let Ne=u.splitAtColon(Ee,[Ee,Ee]);ge[Ne[0]]=Ne[1]}),new V({isHost:I,type:N,isComponent:!!R,selector:q,exportAs:z,changeDetection:Z,inputs:ne,outputs:ge,hostListeners:ke,hostProperties:Qe,hostAttributes:fe,providers:de,viewProviders:Q,queries:Y,guards:he,viewQueries:xe,entryComponents:me,template:Pe,componentViewType:te,rendererType:oe,componentFactory:Te})}constructor(S){let{isHost:I,type:N,isComponent:R,selector:q,exportAs:z,changeDetection:Z,inputs:H,outputs:ue,hostListeners:W,hostProperties:de,hostAttributes:Q,providers:Y,viewProviders:he,queries:xe,guards:me,viewQueries:Pe,entryComponents:te,template:oe,componentViewType:Te,rendererType:ke,componentFactory:Qe}=S;this.isHost=!!I,this.type=N,this.isComponent=R,this.selector=q,this.exportAs=z,this.changeDetection=Z,this.inputs=H,this.outputs=ue,this.hostListeners=W,this.hostProperties=de,this.hostAttributes=Q,this.providers=U(Y),this.viewProviders=U(he),this.queries=U(xe),this.guards=me,this.viewQueries=U(Pe),this.entryComponents=U(te),this.template=oe,this.componentViewType=Te,this.rendererType=ke,this.componentFactory=Qe}toSummary(){return{summaryKind:C.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};c.CompileDirectiveMetadata=V;var _=class{constructor(S){let{type:I,name:N,pure:R}=S;this.type=I,this.name=N,this.pure=!!R}toSummary(){return{summaryKind:C.Pipe,type:this.type,name:this.name,pure:this.pure}}};c.CompilePipeMetadata=_;var M=class{};c.CompileShallowModuleMetadata=M;var L=class{constructor(S){let{type:I,providers:N,declaredDirectives:R,exportedDirectives:q,declaredPipes:z,exportedPipes:Z,entryComponents:H,bootstrapComponents:ue,importedModules:W,exportedModules:de,schemas:Q,transitiveModule:Y,id:he}=S;this.type=I||null,this.declaredDirectives=U(R),this.exportedDirectives=U(q),this.declaredPipes=U(z),this.exportedPipes=U(Z),this.providers=U(N),this.entryComponents=U(H),this.bootstrapComponents=U(ue),this.importedModules=U(W),this.exportedModules=U(de),this.schemas=U(Q),this.id=he||null,this.transitiveModule=Y||null}toSummary(){let S=this.transitiveModule;return{summaryKind:C.NgModule,type:this.type,entryComponents:S.entryComponents,providers:S.providers,modules:S.modules,exportedDirectives:S.exportedDirectives,exportedPipes:S.exportedPipes}}};c.CompileNgModuleMetadata=L;var G=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(S,I){this.providers.push({provider:S,module:I})}addDirective(S){this.directivesSet.has(S.reference)||(this.directivesSet.add(S.reference),this.directives.push(S))}addExportedDirective(S){this.exportedDirectivesSet.has(S.reference)||(this.exportedDirectivesSet.add(S.reference),this.exportedDirectives.push(S))}addPipe(S){this.pipesSet.has(S.reference)||(this.pipesSet.add(S.reference),this.pipes.push(S))}addExportedPipe(S){this.exportedPipesSet.has(S.reference)||(this.exportedPipesSet.add(S.reference),this.exportedPipes.push(S))}addModule(S){this.modulesSet.has(S.reference)||(this.modulesSet.add(S.reference),this.modules.push(S))}addEntryComponent(S){this.entryComponentsSet.has(S.componentType)||(this.entryComponentsSet.add(S.componentType),this.entryComponents.push(S))}};c.TransitiveCompileNgModuleMetadata=G;function U(S){return S||[]}var ee=class{constructor(S,I){let{useClass:N,useValue:R,useExisting:q,useFactory:z,deps:Z,multi:H}=I;this.token=S,this.useClass=N||null,this.useValue=R,this.useExisting=q,this.useFactory=z||null,this.dependencies=Z||null,this.multi=!!H}};c.ProviderMeta=ee;function v(S){return S.reduce((I,N)=>{let R=Array.isArray(N)?v(N):N;return I.concat(R)},[])}c.flatten=v;function O(S){return S.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function x(S,I,N){let R;return N.isInline?I.type.reference instanceof g.StaticSymbol?R=`${I.type.reference.filePath}.${I.type.reference.name}.html`:R=`${o(S)}/${o(I.type)}.html`:R=N.templateUrl,I.type.reference instanceof g.StaticSymbol?R:O(R)}c.templateSourceUrl=x;function T(S,I){let N=S.moduleUrl.split(/\/\\/g),R=N[N.length-1];return O(`css/${I}${R}.ngstyle.js`)}c.sharedStylesheetJitUrl=T;function f(S){return O(`${o(S.type)}/module.ngfactory.js`)}c.ngModuleJitUrl=f;function b(S,I){return O(`${o(S)}/${o(I.type)}.ngfactory.js`)}c.templateJitUrl=b}}),xd=ie({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(c){"use strict";pe(),Object.defineProperty(c,"__esModule",{value:!0});var g=gd(),u=Ed(),d=class{constructor(A,F,C,y){this.file=A,this.offset=F,this.line=C,this.col=y}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(A){let F=this.file.content,C=F.length,y=this.offset,E=this.line,w=this.col;for(;y>0&&A<0;)if(y--,A++,F.charCodeAt(y)==g.$LF){E--;let $=F.substr(0,y-1).lastIndexOf(String.fromCharCode(g.$LF));w=$>0?y-$:y}else w--;for(;y<C&&A>0;){let $=F.charCodeAt(y);y++,A--,$==g.$LF?(E++,w=0):w++}return new d(this.file,y,E,w)}getContext(A,F){let C=this.file.content,y=this.offset;if(y!=null){y>C.length-1&&(y=C.length-1);let E=y,w=0,$=0;for(;w<A&&y>0&&(y--,w++,!(C[y]==`
|
|
172
|
+
`&&++$==F)););for(w=0,$=0;w<A&&E<C.length-1&&(E++,w++,!(C[E]==`
|
|
173
|
+
`&&++$==F)););return{before:C.substring(y,this.offset),after:C.substring(this.offset,E+1)}}return null}};c.ParseLocation=d;var h=class{constructor(A,F){this.content=A,this.url=F}};c.ParseSourceFile=h;var s=class{constructor(A,F){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=A,this.end=F,this.details=C}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};c.ParseSourceSpan=s,c.EMPTY_PARSE_LOCATION=new d(new h("",""),0,0,0),c.EMPTY_SOURCE_SPAN=new s(c.EMPTY_PARSE_LOCATION,c.EMPTY_PARSE_LOCATION);var o;(function(A){A[A.WARNING=0]="WARNING",A[A.ERROR=1]="ERROR"})(o=c.ParseErrorLevel||(c.ParseErrorLevel={}));var l=class{constructor(A,F){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:o.ERROR;this.span=A,this.msg=F,this.level=C}contextualMessage(){let A=this.span.start.getContext(100,3);return A?`${this.msg} ("${A.before}[${o[this.level]} ->]${A.after}")`:this.msg}toString(){let A=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${A}`}};c.ParseError=l;function m(A,F){let C=u.identifierModuleUrl(F),y=C!=null?`in ${A} ${u.identifierName(F)} in ${C}`:`in ${A} ${u.identifierName(F)}`,E=new h("",y);return new s(new d(E,-1,-1,-1),new d(E,-1,-1,-1))}c.typeSourceSpan=m;function D(A,F,C){let y=`in ${A} ${F} in ${C}`,E=new h("",y);return new s(new d(E,-1,-1,-1),new d(E,-1,-1,-1))}c.r3JitTypeSourceSpan=D}}),vd=ie({"src/language-html/print-preprocess.js"(c,g){"use strict";pe();var{ParseSourceSpan:u}=xd(),{htmlTrim:d,getLeadingAndTrailingHtmlWhitespace:h,hasHtmlWhitespace:s,canHaveInterpolation:o,getNodeCssStyleDisplay:l,isDanglingSpaceSensitiveNode:m,isIndentationSensitiveNode:D,isLeadingSpaceSensitiveNode:A,isTrailingSpaceSensitiveNode:F,isWhitespaceSensitiveNode:C,isVueScriptTag:y}=ui(),E=[$,V,M,G,U,O,ee,v,x,L,T];function w(f,b){for(let S of E)S(f,b);return f}function $(f){f.walk(b=>{if(b.type==="element"&&b.tagDefinition.ignoreFirstLf&&b.children.length>0&&b.children[0].type==="text"&&b.children[0].value[0]===`
|
|
174
|
+
`){let S=b.children[0];S.value.length===1?b.removeChild(S):S.value=S.value.slice(1)}})}function V(f){let b=S=>S.type==="element"&&S.prev&&S.prev.type==="ieConditionalStartComment"&&S.prev.sourceSpan.end.offset===S.startSourceSpan.start.offset&&S.firstChild&&S.firstChild.type==="ieConditionalEndComment"&&S.firstChild.sourceSpan.start.offset===S.startSourceSpan.end.offset;f.walk(S=>{if(S.children)for(let I=0;I<S.children.length;I++){let N=S.children[I];if(!b(N))continue;let R=N.prev,q=N.firstChild;S.removeChild(R),I--;let z=new u(R.sourceSpan.start,q.sourceSpan.end),Z=new u(z.start,N.sourceSpan.end);N.condition=R.condition,N.sourceSpan=Z,N.startSourceSpan=z,N.removeChild(q)}})}function _(f,b,S){f.walk(I=>{if(I.children)for(let N=0;N<I.children.length;N++){let R=I.children[N];if(R.type!=="text"&&!b(R))continue;R.type!=="text"&&(R.type="text",R.value=S(R));let q=R.prev;!q||q.type!=="text"||(q.value+=R.value,q.sourceSpan=new u(q.sourceSpan.start,R.sourceSpan.end),I.removeChild(R),N--)}})}function M(f){return _(f,b=>b.type==="cdata",b=>`<![CDATA[${b.value}]]>`)}function L(f){let b=S=>S.type==="element"&&S.attrs.length===0&&S.children.length===1&&S.firstChild.type==="text"&&!s(S.children[0].value)&&!S.firstChild.hasLeadingSpaces&&!S.firstChild.hasTrailingSpaces&&S.isLeadingSpaceSensitive&&!S.hasLeadingSpaces&&S.isTrailingSpaceSensitive&&!S.hasTrailingSpaces&&S.prev&&S.prev.type==="text"&&S.next&&S.next.type==="text";f.walk(S=>{if(S.children)for(let I=0;I<S.children.length;I++){let N=S.children[I];if(!b(N))continue;let R=N.prev,q=N.next;R.value+=`<${N.rawName}>`+N.firstChild.value+`</${N.rawName}>`+q.value,R.sourceSpan=new u(R.sourceSpan.start,q.sourceSpan.end),R.isTrailingSpaceSensitive=q.isTrailingSpaceSensitive,R.hasTrailingSpaces=q.hasTrailingSpaces,S.removeChild(N),I--,S.removeChild(q)}})}function G(f,b){if(b.parser==="html")return;let S=/{{(.+?)}}/s;f.walk(I=>{if(o(I))for(let N of I.children){if(N.type!=="text")continue;let R=N.sourceSpan.start,q=null,z=N.value.split(S);for(let Z=0;Z<z.length;Z++,R=q){let H=z[Z];if(Z%2==0){q=R.moveBy(H.length),H.length>0&&I.insertChildBefore(N,{type:"text",value:H,sourceSpan:new u(R,q)});continue}q=R.moveBy(H.length+4),I.insertChildBefore(N,{type:"interpolation",sourceSpan:new u(R,q),children:H.length===0?[]:[{type:"text",value:H,sourceSpan:new u(R.moveBy(2),q.moveBy(-2))}]})}I.removeChild(N)}})}function U(f){f.walk(b=>{if(!b.children)return;if(b.children.length===0||b.children.length===1&&b.children[0].type==="text"&&d(b.children[0].value).length===0){b.hasDanglingSpaces=b.children.length>0,b.children=[];return}let S=C(b),I=D(b);if(!S)for(let N=0;N<b.children.length;N++){let R=b.children[N];if(R.type!=="text")continue;let{leadingWhitespace:q,text:z,trailingWhitespace:Z}=h(R.value),H=R.prev,ue=R.next;z?(R.value=z,R.sourceSpan=new u(R.sourceSpan.start.moveBy(q.length),R.sourceSpan.end.moveBy(-Z.length)),q&&(H&&(H.hasTrailingSpaces=!0),R.hasLeadingSpaces=!0),Z&&(R.hasTrailingSpaces=!0,ue&&(ue.hasLeadingSpaces=!0))):(b.removeChild(R),N--,(q||Z)&&(H&&(H.hasTrailingSpaces=!0),ue&&(ue.hasLeadingSpaces=!0)))}b.isWhitespaceSensitive=S,b.isIndentationSensitive=I})}function ee(f){f.walk(b=>{b.isSelfClosing=!b.children||b.type==="element"&&(b.tagDefinition.isVoid||b.startSourceSpan===b.endSourceSpan)})}function v(f,b){f.walk(S=>{S.type==="element"&&(S.hasHtmComponentClosingTag=S.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(b.originalText.slice(S.endSourceSpan.start.offset,S.endSourceSpan.end.offset)))})}function O(f,b){f.walk(S=>{S.cssDisplay=l(S,b)})}function x(f,b){f.walk(S=>{let{children:I}=S;if(I){if(I.length===0){S.isDanglingSpaceSensitive=m(S);return}for(let N of I)N.isLeadingSpaceSensitive=A(N,b),N.isTrailingSpaceSensitive=F(N,b);for(let N=0;N<I.length;N++){let R=I[N];R.isLeadingSpaceSensitive=(N===0||R.prev.isTrailingSpaceSensitive)&&R.isLeadingSpaceSensitive,R.isTrailingSpaceSensitive=(N===I.length-1||R.next.isLeadingSpaceSensitive)&&R.isTrailingSpaceSensitive}}})}function T(f,b){if(b.parser==="vue"){let S=f.children.find(N=>y(N,b));if(!S)return;let{lang:I}=S.attrMap;(I==="ts"||I==="typescript")&&(b.__should_parse_vue_template_with_ts=!0)}}g.exports=w}}),Cd=ie({"src/language-html/pragma.js"(c,g){"use strict";pe();function u(h){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(h)}function d(h){return`<!-- @format -->
|
|
175
175
|
|
|
176
|
-
`+
|
|
177
|
-
`||K==="\f"||K==="\r"}function a(K){var E,N=K.exec(s.substring(L));if(N)return E=N[0],L+=E.length,E}for(var o=s.length,d=/^[ \t\n\r\u000c]+/,m=/^[, \t\n\r\u000c]+/,x=/^[^ \t\n\r\u000c]+/,A=/[,]+$/,b=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y,F,j,R,w,L=0,B=[];;){if(a(m),L>=o)return B;y=a(x),F=[],y.slice(-1)===","?(y=y.replace(A,""),M()):$()}function $(){for(a(d),j="",R="in descriptor";;){if(w=s.charAt(L),R==="in descriptor")if(i(w))j&&(F.push(j),j="",R="after descriptor");else if(w===","){L+=1,j&&F.push(j),M();return}else if(w==="(")j=j+w,R="in parens";else if(w===""){j&&F.push(j),M();return}else j=j+w;else if(R==="in parens")if(w===")")j=j+w,R="in descriptor";else if(w===""){F.push(j),M();return}else j=j+w;else if(R==="after descriptor"&&!i(w))if(w===""){M();return}else R="in descriptor",L-=1;L+=1}}function M(){var K=!1,E,N,D,T,c={},C,S,P,_,I;for(T=0;T<F.length;T++)C=F[T],S=C[C.length-1],P=C.substring(0,C.length-1),_=parseInt(P,10),I=parseFloat(P),b.test(P)&&S==="w"?((E||N)&&(K=!0),_===0?K=!0:E=_):g.test(P)&&S==="x"?((E||N||D)&&(K=!0),I<0?K=!0:N=I):b.test(P)&&S==="h"?((D||N)&&(K=!0),_===0?K=!0:D=_):K=!0;K?p&&p.error&&p.error("Invalid srcset descriptor found in '"+s+"' at '"+C+"'."):(c.url=y,E&&(c.w=E),N&&(c.d=N),D&&(c.h=D),B.push(c))}}})}}),kh=re({"src/language-html/syntax-attribute.js"(l,h){"use strict";ce();var s=wh(),{builders:{ifBreak:f,join:p,line:i}}=yt();function a(d){let m=s(d,{logger:{error($){throw new Error($)}}}),x=m.some($=>{let{w:M}=$;return M}),A=m.some($=>{let{h:M}=$;return M}),b=m.some($=>{let{d:M}=$;return M});if(x+A+b>1)throw new Error("Mixed descriptor in srcset is not supported");let g=x?"w":A?"h":"d",y=x?"w":A?"h":"x",F=$=>Math.max(...$),j=m.map($=>$.url),R=F(j.map($=>$.length)),w=m.map($=>$[g]).map($=>$?$.toString():""),L=w.map($=>{let M=$.indexOf(".");return M===-1?$.length:M}),B=F(L);return p([",",i],j.map(($,M)=>{let K=[$],E=w[M];if(E){let N=R-$.length+1,D=B-L[M],T=" ".repeat(N+D);K.push(f(T," "),E+y)}return K}))}function o(d){return d.trim().split(/\s+/).join(" ")}h.exports={printImgSrcset:a,printClassNames:o}}}),Ph=re({"src/language-html/syntax-vue.js"(l,h){"use strict";ce();var{builders:{group:s}}=yt();function f(o,d){let{left:m,operator:x,right:A}=p(o);return[s(d(`function _(${m}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",x," ",d(A,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function p(o){let d=/(.*?)\s+(in|of)\s+(.*)/s,m=/,([^,\]}]*)(?:,([^,\]}]*))?$/,x=/^\(|\)$/g,A=o.match(d);if(!A)return;let b={};if(b.for=A[3].trim(),!b.for)return;let g=A[1].trim().replace(x,""),y=g.match(m);y?(b.alias=g.replace(m,""),b.iterator1=y[1].trim(),y[2]&&(b.iterator2=y[2].trim())):b.alias=g;let F=[b.alias,b.iterator1,b.iterator2];if(!F.some((j,R)=>!j&&(R===0||F.slice(R+1).some(Boolean))))return{left:F.filter(Boolean).join(","),operator:A[2],right:b.for}}function i(o,d){return d(`function _(${o}) {}`,{parser:"babel",__isVueBindings:!0})}function a(o){let d=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,m=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,x=o.trim();return d.test(x)||m.test(x)}h.exports={isVueEventBindingExpression:a,printVueFor:f,printVueBindings:i}}}),Mo=re({"src/language-html/get-node-content.js"(l,h){"use strict";ce();var{needsToBorrowParentClosingTagStartMarker:s,printClosingTagStartMarker:f,needsToBorrowLastChildClosingTagEndMarker:p,printClosingTagEndMarker:i,needsToBorrowParentOpeningTagEndMarker:a,printOpeningTagEndMarker:o}=Fi();function d(m,x){let A=m.startSourceSpan.end.offset;m.firstChild&&a(m.firstChild)&&(A-=o(m).length);let b=m.endSourceSpan.start.offset;return m.lastChild&&s(m.lastChild)?b+=f(m,x).length:p(m)&&(b-=i(m.lastChild,x).length),x.originalText.slice(A,b)}h.exports=d}}),_h=re({"src/language-html/embed.js"(l,h){"use strict";ce();var{builders:{breakParent:s,group:f,hardline:p,indent:i,line:a,fill:o,softline:d},utils:{mapDoc:m,replaceTextEndOfLine:x}}=yt(),A=Ou(),{printClosingTag:b,printClosingTagSuffix:g,needsToBorrowPrevClosingTagEndMarker:y,printOpeningTagPrefix:F,printOpeningTag:j}=Fi(),{printImgSrcset:R,printClassNames:w}=kh(),{printVueFor:L,printVueBindings:B,isVueEventBindingExpression:$}=Ph(),{isScriptLikeTag:M,isVueNonHtmlBlock:K,inferScriptParser:E,htmlTrimPreserveIndentation:N,dedentString:D,unescapeQuoteEntities:T,isVueSlotAttribute:c,isVueSfcBindingsAttribute:C,getTextValueParts:S}=Gn(),P=Mo();function _(U,z,Q){let X=he=>new RegExp(he.join("|")).test(U.fullName),ne=()=>T(U.value),G=!1,de=(he,Pe)=>{let Z=he.type==="NGRoot"?he.node.type==="NGMicrosyntax"&&he.node.body.length===1&&he.node.body[0].type==="NGMicrosyntaxExpression"?he.node.body[0].expression:he.node:he.type==="JsExpressionRoot"?he.node:he;Z&&(Z.type==="ObjectExpression"||Z.type==="ArrayExpression"||Pe.parser==="__vue_expression"&&(Z.type==="TemplateLiteral"||Z.type==="StringLiteral"))&&(G=!0)},H=he=>f(he),W=function(he){let Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return f([i([d,he]),Pe?d:""])},fe=he=>G?H(he):W(he),Ee=(he,Pe)=>z(he,Object.assign({__onHtmlBindingRoot:de,__embeddedInHtml:!0},Pe));if(U.fullName==="srcset"&&(U.parent.fullName==="img"||U.parent.fullName==="source"))return W(R(ne()));if(U.fullName==="class"&&!Q.parentParser){let he=ne();if(!he.includes("{{"))return w(he)}if(U.fullName==="style"&&!Q.parentParser){let he=ne();if(!he.includes("{{"))return W(Ee(he,{parser:"css",__isHTMLStyleAttribute:!0}))}if(Q.parser==="vue"){if(U.fullName==="v-for")return L(ne(),Ee);if(c(U)||C(U,Q))return B(ne(),Ee);let he=["^@","^v-on:"],Pe=["^:","^v-bind:"],Z=["^v-"];if(X(he)){let ue=ne(),Te=$(ue)?"__js_expression":Q.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return fe(Ee(ue,{parser:Te}))}if(X(Pe))return fe(Ee(ne(),{parser:"__vue_expression"}));if(X(Z))return fe(Ee(ne(),{parser:"__js_expression"}))}if(Q.parser==="angular"){let he=(pe,te)=>Ee(pe,Object.assign(Object.assign({},te),{},{trailingComma:"none"})),Pe=["^\\*"],Z=["^\\(.+\\)$","^on-"],ue=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],Te=["^i18n(-.+)?$"];if(X(Z))return fe(he(ne(),{parser:"__ng_action"}));if(X(ue))return fe(he(ne(),{parser:"__ng_binding"}));if(X(Te)){let pe=ne().trim();return W(o(S(U,pe)),!pe.includes("@@"))}if(X(Pe))return fe(he(ne(),{parser:"__ng_directive"}));let we=/{{(.+?)}}/s,ze=ne();if(we.test(ze)){let pe=[];for(let[te,ge]of ze.split(we).entries())if(te%2==0)pe.push(x(ge));else try{pe.push(f(["{{",i([a,he(ge,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),a,"}}"]))}catch{pe.push("{{",x(ge),"}}")}return f(pe)}}return null}function I(U,z,Q,X){let ne=U.getValue();switch(ne.type){case"element":{if(M(ne)||ne.type==="interpolation")return;if(!ne.isSelfClosing&&K(ne,X)){let G=E(ne,X);if(!G)return;let de=P(ne,X),H=/^\s*$/.test(de),W="";return H||(W=Q(N(de),{parser:G,__embeddedInHtml:!0},{stripTrailingHardline:!0}),H=W===""),[F(ne,X),f(j(U,X,z)),H?"":p,W,H?"":p,b(ne,X),g(ne,X)]}break}case"text":{if(M(ne.parent)){let G=E(ne.parent,X);if(G){let de=G==="markdown"?D(ne.value.replace(/^[^\S\n]*\n/,"")):ne.value,H={parser:G,__embeddedInHtml:!0};if(X.parser==="html"&&G==="babel"){let W="script",{attrMap:fe}=ne.parent;fe&&(fe.type==="module"||fe.type==="text/babel"&&fe["data-type"]==="module")&&(W="module"),H.__babelSourceType=W}return[s,F(ne,X),Q(de,H,{stripTrailingHardline:!0}),g(ne,X)]}}else if(ne.parent.type==="interpolation"){let G={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return X.parser==="angular"?(G.parser="__ng_interpolation",G.trailingComma="none"):X.parser==="vue"?G.parser=X.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":G.parser="__js_expression",[i([a,Q(ne.value,G,{stripTrailingHardline:!0})]),ne.parent.next&&y(ne.parent.next)?" ":a]}break}case"attribute":{if(!ne.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(X.originalText.slice(ne.valueSpan.start.offset,ne.valueSpan.end.offset)))return[ne.rawName,"=",ne.value];if(X.parser==="lwc"&&/^{.*}$/s.test(X.originalText.slice(ne.valueSpan.start.offset,ne.valueSpan.end.offset)))return[ne.rawName,"=",ne.value];let G=_(ne,(de,H)=>Q(de,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},H),{stripTrailingHardline:!0}),X);if(G)return[ne.rawName,'="',f(m(G,de=>typeof de=="string"?de.replace(/"/g,"""):de)),'"'];break}case"front-matter":return A(ne,Q)}}h.exports=I}}),$o=re({"src/language-html/print/children.js"(l,h){"use strict";ce();var{builders:{breakParent:s,group:f,ifBreak:p,line:i,softline:a,hardline:o},utils:{replaceTextEndOfLine:d}}=yt(),{locStart:m,locEnd:x}=ju(),{forceBreakChildren:A,forceNextEmptyLine:b,isTextLikeNode:g,hasPrettierIgnore:y,preferHardlineAsLeadingSpaces:F}=Gn(),{printOpeningTagPrefix:j,needsToBorrowNextOpeningTagStartMarker:R,printOpeningTagStartMarker:w,needsToBorrowPrevClosingTagEndMarker:L,printClosingTagEndMarker:B,printClosingTagSuffix:$,needsToBorrowParentClosingTagStartMarker:M}=Fi();function K(D,T,c){let C=D.getValue();return y(C)?[j(C,T),...d(T.originalText.slice(m(C)+(C.prev&&R(C.prev)?w(C).length:0),x(C)-(C.next&&L(C.next)?B(C,T).length:0))),$(C,T)]:c()}function E(D,T){return g(D)&&g(T)?D.isTrailingSpaceSensitive?D.hasTrailingSpaces?F(T)?o:i:"":F(T)?o:a:R(D)&&(y(T)||T.firstChild||T.isSelfClosing||T.type==="element"&&T.attrs.length>0)||D.type==="element"&&D.isSelfClosing&&L(T)?"":!T.isLeadingSpaceSensitive||F(T)||L(T)&&D.lastChild&&M(D.lastChild)&&D.lastChild.lastChild&&M(D.lastChild.lastChild)?o:T.hasLeadingSpaces?i:a}function N(D,T,c){let C=D.getValue();if(A(C))return[s,...D.map(P=>{let _=P.getValue(),I=_.prev?E(_.prev,_):"";return[I?[I,b(_.prev)?o:""]:"",K(P,T,c)]},"children")];let S=C.children.map(()=>Symbol(""));return D.map((P,_)=>{let I=P.getValue();if(g(I)){if(I.prev&&g(I.prev)){let de=E(I.prev,I);if(de)return b(I.prev)?[o,o,K(P,T,c)]:[de,K(P,T,c)]}return K(P,T,c)}let U=[],z=[],Q=[],X=[],ne=I.prev?E(I.prev,I):"",G=I.next?E(I,I.next):"";return ne&&(b(I.prev)?U.push(o,o):ne===o?U.push(o):g(I.prev)?z.push(ne):z.push(p("",a,{groupId:S[_-1]}))),G&&(b(I)?g(I.next)&&X.push(o,o):G===o?g(I.next)&&X.push(o):Q.push(G)),[...U,f([...z,f([K(P,T,c),...Q],{id:S[_]})]),...X]},"children")}h.exports={printChildren:N}}}),Bh=re({"src/language-html/print/element.js"(l,h){"use strict";ce();var{builders:{breakParent:s,dedentToRoot:f,group:p,ifBreak:i,indentIfBreak:a,indent:o,line:d,softline:m},utils:{replaceTextEndOfLine:x}}=yt(),A=Mo(),{shouldPreserveContent:b,isScriptLikeTag:g,isVueCustomBlock:y,countParents:F,forceBreakContent:j}=Gn(),{printOpeningTagPrefix:R,printOpeningTag:w,printClosingTagSuffix:L,printClosingTag:B,needsToBorrowPrevClosingTagEndMarker:$,needsToBorrowLastChildClosingTagEndMarker:M}=Fi(),{printChildren:K}=$o();function E(N,D,T){let c=N.getValue();if(b(c,D))return[R(c,D),p(w(N,D,T)),...x(A(c,D)),...B(c,D),L(c,D)];let C=c.children.length===1&&c.firstChild.type==="interpolation"&&c.firstChild.isLeadingSpaceSensitive&&!c.firstChild.hasLeadingSpaces&&c.lastChild.isTrailingSpaceSensitive&&!c.lastChild.hasTrailingSpaces,S=Symbol("element-attr-group-id"),P=z=>p([p(w(N,D,T),{id:S}),z,B(c,D)]),_=z=>C?a(z,{groupId:S}):(g(c)||y(c,D))&&c.parent.type==="root"&&D.parser==="vue"&&!D.vueIndentScriptAndStyle?z:o(z),I=()=>C?i(m,"",{groupId:S}):c.firstChild.hasLeadingSpaces&&c.firstChild.isLeadingSpaceSensitive?d:c.firstChild.type==="text"&&c.isWhitespaceSensitive&&c.isIndentationSensitive?f(m):m,U=()=>(c.next?$(c.next):M(c.parent))?c.lastChild.hasTrailingSpaces&&c.lastChild.isTrailingSpaceSensitive?" ":"":C?i(m,"",{groupId:S}):c.lastChild.hasTrailingSpaces&&c.lastChild.isTrailingSpaceSensitive?d:(c.lastChild.type==="comment"||c.lastChild.type==="text"&&c.isWhitespaceSensitive&&c.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${D.tabWidth*F(N,z=>z.parent&&z.parent.type!=="root")}}$`).test(c.lastChild.value)?"":m;return c.children.length===0?P(c.hasDanglingSpaces&&c.isDanglingSpaceSensitive?d:""):P([j(c)?s:"",_([I(),K(N,D,T)]),U()])}h.exports={printElement:E}}}),Nh=re({"src/language-html/printer-html.js"(l,h){"use strict";ce();var{builders:{fill:s,group:f,hardline:p,literalline:i},utils:{cleanDoc:a,getDocParts:o,isConcat:d,replaceTextEndOfLine:m}}=yt(),x=Dh(),{countChars:A,unescapeQuoteEntities:b,getTextValueParts:g}=Gn(),y=Fh(),{insertPragma:F}=Th(),{locStart:j,locEnd:R}=ju(),w=_h(),{printClosingTagSuffix:L,printClosingTagEnd:B,printOpeningTagPrefix:$,printOpeningTagStart:M}=Fi(),{printElement:K}=Bh(),{printChildren:E}=$o();function N(D,T,c){let C=D.getValue();switch(C.type){case"front-matter":return m(C.raw);case"root":return T.__onHtmlRoot&&T.__onHtmlRoot(C),[f(E(D,T,c)),p];case"element":case"ieConditionalComment":return K(D,T,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[M(C),B(C)];case"interpolation":return[M(C,T),...D.map(c,"children"),B(C,T)];case"text":{if(C.parent.type==="interpolation"){let P=/\n[^\S\n]*$/,_=P.test(C.value),I=_?C.value.replace(P,""):C.value;return[...m(I),_?p:""]}let S=a([$(C,T),...g(C),L(C,T)]);return d(S)||S.type==="fill"?s(o(S)):S}case"docType":return[f([M(C,T)," ",C.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),B(C,T)];case"comment":return[$(C,T),...m(T.originalText.slice(j(C),R(C)),i),L(C,T)];case"attribute":{if(C.value===null)return C.rawName;let S=b(C.value),P=A(S,"'"),_=A(S,'"'),I=P<_?"'":'"';return[C.rawName,"=",I,...m(I==='"'?S.replace(/"/g,"""):S.replace(/'/g,"'")),I]}default:throw new Error(`Unexpected node type ${C.type}`)}}h.exports={preprocess:y,print:N,insertPragma:F,massageAstNode:x,embed:w}}}),Ih=re({"src/language-html/options.js"(l,h){"use strict";ce();var s=Un(),f="HTML";h.exports={bracketSameLine:s.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:f,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:s.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:f,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),Oh=re({"src/language-html/parsers.js"(){ce()}}),Ru=re({"node_modules/linguist-languages/data/HTML.json"(l,h){h.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Lh=re({"node_modules/linguist-languages/data/Vue.json"(l,h){h.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),jh=re({"src/language-html/index.js"(l,h){"use strict";ce();var s=bn(),f=Nh(),p=Ih(),i=Oh(),a=[s(Ru(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),s(Ru(),d=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...d.extensions,".mjml"]})),s(Ru(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),s(Lh(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],o={html:f};h.exports={languages:a,printers:o,options:p,parsers:i}}}),Rh=re({"src/language-yaml/pragma.js"(l,h){"use strict";ce();function s(i){return/^\s*@(?:prettier|format)\s*$/.test(i)}function f(i){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(i)}function p(i){return`# @format
|
|
176
|
+
`+h.replace(/^\s*\n/,"")}g.exports={hasPragma:u,insertPragma:d}}}),qu=ie({"src/language-html/loc.js"(c,g){"use strict";pe();function u(h){return h.sourceSpan.start.offset}function d(h){return h.sourceSpan.end.offset}g.exports={locStart:u,locEnd:d}}}),Gi=ie({"src/language-html/print/tag.js"(c,g){"use strict";pe();var u=ji(),{isNonEmptyArray:d}=Mt(),{builders:{indent:h,join:s,line:o,softline:l,hardline:m},utils:{replaceTextEndOfLine:D}}=Ft(),{locStart:A,locEnd:F}=qu(),{isTextLikeNode:C,getLastDescendant:y,isPreLikeNode:E,hasPrettierIgnore:w,shouldPreserveContent:$,isVueSfcBlock:V}=ui();function _(W,de){return[W.isSelfClosing?"":M(W,de),L(W,de)]}function M(W,de){return W.lastChild&&f(W.lastChild)?"":[G(W,de),ee(W,de)]}function L(W,de){return(W.next?x(W.next):T(W.parent))?"":[v(W,de),U(W,de)]}function G(W,de){return T(W)?v(W.lastChild,de):""}function U(W,de){return f(W)?ee(W.parent,de):b(W)?H(W.next):""}function ee(W,de){if(u(!W.isSelfClosing),O(W,de))return"";switch(W.type){case"ieConditionalComment":return"<!";case"element":if(W.hasHtmComponentClosingTag)return"<//";default:return`</${W.rawName}`}}function v(W,de){if(O(W,de))return"";switch(W.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(W.isSelfClosing)return"/>";default:return">"}}function O(W,de){return!W.isSelfClosing&&!W.endSourceSpan&&(w(W)||$(W.parent,de))}function x(W){return W.prev&&W.prev.type!=="docType"&&!C(W.prev)&&W.isLeadingSpaceSensitive&&!W.hasLeadingSpaces}function T(W){return W.lastChild&&W.lastChild.isTrailingSpaceSensitive&&!W.lastChild.hasTrailingSpaces&&!C(y(W.lastChild))&&!E(W)}function f(W){return!W.next&&!W.hasTrailingSpaces&&W.isTrailingSpaceSensitive&&C(y(W))}function b(W){return W.next&&!C(W.next)&&C(W)&&W.isTrailingSpaceSensitive&&!W.hasTrailingSpaces}function S(W){let de=W.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return de?de[1]?de[1].split(/\s+/):!0:!1}function I(W){return!W.prev&&W.isLeadingSpaceSensitive&&!W.hasLeadingSpaces}function N(W,de,Q){let Y=W.getValue();if(!d(Y.attrs))return Y.isSelfClosing?" ":"";let he=Y.prev&&Y.prev.type==="comment"&&S(Y.prev.value),xe=typeof he=="boolean"?()=>he:Array.isArray(he)?Te=>he.includes(Te.rawName):()=>!1,me=W.map(Te=>{let ke=Te.getValue();return xe(ke)?D(de.originalText.slice(A(ke),F(ke))):Q()},"attrs"),Pe=Y.type==="element"&&Y.fullName==="script"&&Y.attrs.length===1&&Y.attrs[0].fullName==="src"&&Y.children.length===0,te=de.singleAttributePerLine&&Y.attrs.length>1&&!V(Y,de)?m:o,oe=[h([Pe?" ":o,s(te,me)])];return Y.firstChild&&I(Y.firstChild)||Y.isSelfClosing&&T(Y.parent)||Pe?oe.push(Y.isSelfClosing?" ":""):oe.push(de.bracketSameLine?Y.isSelfClosing?" ":"":Y.isSelfClosing?o:l),oe}function R(W){return W.firstChild&&I(W.firstChild)?"":ue(W)}function q(W,de,Q){let Y=W.getValue();return[z(Y,de),N(W,de,Q),Y.isSelfClosing?"":R(Y)]}function z(W,de){return W.prev&&b(W.prev)?"":[Z(W,de),H(W)]}function Z(W,de){return I(W)?ue(W.parent):x(W)?v(W.prev,de):""}function H(W){switch(W.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${W.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(W.condition)return`<!--[if ${W.condition}]><!--><${W.rawName}`;default:return`<${W.rawName}`}}function ue(W){switch(u(!W.isSelfClosing),W.type){case"ieConditionalComment":return"]>";case"element":if(W.condition)return"><!--<![endif]-->";default:return">"}}g.exports={printClosingTag:_,printClosingTagStart:M,printClosingTagStartMarker:ee,printClosingTagEndMarker:v,printClosingTagSuffix:U,printClosingTagEnd:L,needsToBorrowLastChildClosingTagEndMarker:T,needsToBorrowParentClosingTagStartMarker:f,needsToBorrowPrevClosingTagEndMarker:x,printOpeningTag:q,printOpeningTagStart:z,printOpeningTagPrefix:Z,printOpeningTagStartMarker:H,printOpeningTagEndMarker:ue,needsToBorrowNextOpeningTagStartMarker:b,needsToBorrowParentOpeningTagEndMarker:I}}}),bd=ie({"node_modules/parse-srcset/src/parse-srcset.js"(c,g){pe(),function(u,d){typeof define=="function"&&define.amd?define([],d):typeof g=="object"&&g.exports?g.exports=d():u.parseSrcset=d()}(c,function(){return function(u,d){var h=d&&d.logger||console;function s(ee){return ee===" "||ee===" "||ee===`
|
|
177
|
+
`||ee==="\f"||ee==="\r"}function o(ee){var v,O=ee.exec(u.substring(M));if(O)return v=O[0],M+=v.length,v}for(var l=u.length,m=/^[ \t\n\r\u000c]+/,D=/^[, \t\n\r\u000c]+/,A=/^[^ \t\n\r\u000c]+/,F=/[,]+$/,C=/^\d+$/,y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,E,w,$,V,_,M=0,L=[];;){if(o(D),M>=l)return L;E=o(A),w=[],E.slice(-1)===","?(E=E.replace(F,""),U()):G()}function G(){for(o(m),$="",V="in descriptor";;){if(_=u.charAt(M),V==="in descriptor")if(s(_))$&&(w.push($),$="",V="after descriptor");else if(_===","){M+=1,$&&w.push($),U();return}else if(_==="(")$=$+_,V="in parens";else if(_===""){$&&w.push($),U();return}else $=$+_;else if(V==="in parens")if(_===")")$=$+_,V="in descriptor";else if(_===""){w.push($),U();return}else $=$+_;else if(V==="after descriptor"&&!s(_))if(_===""){U();return}else V="in descriptor",M-=1;M+=1}}function U(){var ee=!1,v,O,x,T,f={},b,S,I,N,R;for(T=0;T<w.length;T++)b=w[T],S=b[b.length-1],I=b.substring(0,b.length-1),N=parseInt(I,10),R=parseFloat(I),C.test(I)&&S==="w"?((v||O)&&(ee=!0),N===0?ee=!0:v=N):y.test(I)&&S==="x"?((v||O||x)&&(ee=!0),R<0?ee=!0:O=R):C.test(I)&&S==="h"?((x||O)&&(ee=!0),N===0?ee=!0:x=N):ee=!0;ee?h&&h.error&&h.error("Invalid srcset descriptor found in '"+u+"' at '"+b+"'."):(f.url=E,v&&(f.w=v),O&&(f.d=O),x&&(f.h=x),L.push(f))}}})}}),Ad=ie({"src/language-html/syntax-attribute.js"(c,g){"use strict";pe();var u=bd(),{builders:{ifBreak:d,join:h,line:s}}=Ft();function o(m){let D=u(m,{logger:{error(G){throw new Error(G)}}}),A=D.some(G=>{let{w:U}=G;return U}),F=D.some(G=>{let{h:U}=G;return U}),C=D.some(G=>{let{d:U}=G;return U});if(A+F+C>1)throw new Error("Mixed descriptor in srcset is not supported");let y=A?"w":F?"h":"d",E=A?"w":F?"h":"x",w=G=>Math.max(...G),$=D.map(G=>G.url),V=w($.map(G=>G.length)),_=D.map(G=>G[y]).map(G=>G?G.toString():""),M=_.map(G=>{let U=G.indexOf(".");return U===-1?G.length:U}),L=w(M);return h([",",s],$.map((G,U)=>{let ee=[G],v=_[U];if(v){let O=V-G.length+1,x=L-M[U],T=" ".repeat(O+x);ee.push(d(T," "),v+E)}return ee}))}function l(m){return m.trim().split(/\s+/).join(" ")}g.exports={printImgSrcset:o,printClassNames:l}}}),Fd=ie({"src/language-html/syntax-vue.js"(c,g){"use strict";pe();var{builders:{group:u}}=Ft();function d(l,m){let{left:D,operator:A,right:F}=h(l);return[u(m(`function _(${D}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",A," ",m(F,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function h(l){let m=/(.*?)\s+(in|of)\s+(.*)/s,D=/,([^,\]}]*)(?:,([^,\]}]*))?$/,A=/^\(|\)$/g,F=l.match(m);if(!F)return;let C={};if(C.for=F[3].trim(),!C.for)return;let y=F[1].trim().replace(A,""),E=y.match(D);E?(C.alias=y.replace(D,""),C.iterator1=E[1].trim(),E[2]&&(C.iterator2=E[2].trim())):C.alias=y;let w=[C.alias,C.iterator1,C.iterator2];if(!w.some(($,V)=>!$&&(V===0||w.slice(V+1).some(Boolean))))return{left:w.filter(Boolean).join(","),operator:F[2],right:C.for}}function s(l,m){return m(`function _(${l}) {}`,{parser:"babel",__isVueBindings:!0})}function o(l){let m=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,D=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,A=l.trim();return m.test(A)||D.test(A)}g.exports={isVueEventBindingExpression:o,printVueFor:d,printVueBindings:s}}}),Ro=ie({"src/language-html/get-node-content.js"(c,g){"use strict";pe();var{needsToBorrowParentClosingTagStartMarker:u,printClosingTagStartMarker:d,needsToBorrowLastChildClosingTagEndMarker:h,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:l}=Gi();function m(D,A){let F=D.startSourceSpan.end.offset;D.firstChild&&o(D.firstChild)&&(F-=l(D).length);let C=D.endSourceSpan.start.offset;return D.lastChild&&u(D.lastChild)?C+=d(D,A).length:h(D)&&(C-=s(D.lastChild,A).length),A.originalText.slice(F,C)}g.exports=m}}),Sd=ie({"src/language-html/embed.js"(c,g){"use strict";pe();var{builders:{breakParent:u,group:d,hardline:h,indent:s,line:o,fill:l,softline:m},utils:{mapDoc:D,replaceTextEndOfLine:A}}=Ft(),F=Uu(),{printClosingTag:C,printClosingTagSuffix:y,needsToBorrowPrevClosingTagEndMarker:E,printOpeningTagPrefix:w,printOpeningTag:$}=Gi(),{printImgSrcset:V,printClassNames:_}=Ad(),{printVueFor:M,printVueBindings:L,isVueEventBindingExpression:G}=Fd(),{isScriptLikeTag:U,isVueNonHtmlBlock:ee,inferScriptParser:v,htmlTrimPreserveIndentation:O,dedentString:x,unescapeQuoteEntities:T,isVueSlotAttribute:f,isVueSfcBindingsAttribute:b,getTextValueParts:S}=ui(),I=Ro();function N(q,z,Z){let H=me=>new RegExp(me.join("|")).test(q.fullName),ue=()=>T(q.value),W=!1,de=(me,Pe)=>{let te=me.type==="NGRoot"?me.node.type==="NGMicrosyntax"&&me.node.body.length===1&&me.node.body[0].type==="NGMicrosyntaxExpression"?me.node.body[0].expression:me.node:me.type==="JsExpressionRoot"?me.node:me;te&&(te.type==="ObjectExpression"||te.type==="ArrayExpression"||Pe.parser==="__vue_expression"&&(te.type==="TemplateLiteral"||te.type==="StringLiteral"))&&(W=!0)},Q=me=>d(me),Y=function(me){let Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return d([s([m,me]),Pe?m:""])},he=me=>W?Q(me):Y(me),xe=(me,Pe)=>z(me,Object.assign({__onHtmlBindingRoot:de,__embeddedInHtml:!0},Pe));if(q.fullName==="srcset"&&(q.parent.fullName==="img"||q.parent.fullName==="source"))return Y(V(ue()));if(q.fullName==="class"&&!Z.parentParser){let me=ue();if(!me.includes("{{"))return _(me)}if(q.fullName==="style"&&!Z.parentParser){let me=ue();if(!me.includes("{{"))return Y(xe(me,{parser:"css",__isHTMLStyleAttribute:!0}))}if(Z.parser==="vue"){if(q.fullName==="v-for")return M(ue(),xe);if(f(q)||b(q,Z))return L(ue(),xe);let me=["^@","^v-on:"],Pe=["^:","^v-bind:"],te=["^v-"];if(H(me)){let oe=ue(),Te=G(oe)?"__js_expression":Z.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return he(xe(oe,{parser:Te}))}if(H(Pe))return he(xe(ue(),{parser:"__vue_expression"}));if(H(te))return he(xe(ue(),{parser:"__js_expression"}))}if(Z.parser==="angular"){let me=(fe,ne)=>xe(fe,Object.assign(Object.assign({},ne),{},{trailingComma:"none"})),Pe=["^\\*"],te=["^\\(.+\\)$","^on-"],oe=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],Te=["^i18n(-.+)?$"];if(H(te))return he(me(ue(),{parser:"__ng_action"}));if(H(oe))return he(me(ue(),{parser:"__ng_binding"}));if(H(Te)){let fe=ue().trim();return Y(l(S(q,fe)),!fe.includes("@@"))}if(H(Pe))return he(me(ue(),{parser:"__ng_directive"}));let ke=/{{(.+?)}}/s,Qe=ue();if(ke.test(Qe)){let fe=[];for(let[ne,ge]of Qe.split(ke).entries())if(ne%2==0)fe.push(A(ge));else try{fe.push(d(["{{",s([o,me(ge,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{fe.push("{{",A(ge),"}}")}return d(fe)}}return null}function R(q,z,Z,H){let ue=q.getValue();switch(ue.type){case"element":{if(U(ue)||ue.type==="interpolation")return;if(!ue.isSelfClosing&&ee(ue,H)){let W=v(ue,H);if(!W)return;let de=I(ue,H),Q=/^\s*$/.test(de),Y="";return Q||(Y=Z(O(de),{parser:W,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Q=Y===""),[w(ue,H),d($(q,H,z)),Q?"":h,Y,Q?"":h,C(ue,H),y(ue,H)]}break}case"text":{if(U(ue.parent)){let W=v(ue.parent,H);if(W){let de=W==="markdown"?x(ue.value.replace(/^[^\S\n]*\n/,"")):ue.value,Q={parser:W,__embeddedInHtml:!0};if(H.parser==="html"&&W==="babel"){let Y="script",{attrMap:he}=ue.parent;he&&(he.type==="module"||he.type==="text/babel"&&he["data-type"]==="module")&&(Y="module"),Q.__babelSourceType=Y}return[u,w(ue,H),Z(de,Q,{stripTrailingHardline:!0}),y(ue,H)]}}else if(ue.parent.type==="interpolation"){let W={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return H.parser==="angular"?(W.parser="__ng_interpolation",W.trailingComma="none"):H.parser==="vue"?W.parser=H.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":W.parser="__js_expression",[s([o,Z(ue.value,W,{stripTrailingHardline:!0})]),ue.parent.next&&E(ue.parent.next)?" ":o]}break}case"attribute":{if(!ue.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(H.originalText.slice(ue.valueSpan.start.offset,ue.valueSpan.end.offset)))return[ue.rawName,"=",ue.value];if(H.parser==="lwc"&&/^{.*}$/s.test(H.originalText.slice(ue.valueSpan.start.offset,ue.valueSpan.end.offset)))return[ue.rawName,"=",ue.value];let W=N(ue,(de,Q)=>Z(de,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Q),{stripTrailingHardline:!0}),H);if(W)return[ue.rawName,'="',d(D(W,de=>typeof de=="string"?de.replace(/"/g,"""):de)),'"'];break}case"front-matter":return F(ue,Z)}}g.exports=R}}),jo=ie({"src/language-html/print/children.js"(c,g){"use strict";pe();var{builders:{breakParent:u,group:d,ifBreak:h,line:s,softline:o,hardline:l},utils:{replaceTextEndOfLine:m}}=Ft(),{locStart:D,locEnd:A}=qu(),{forceBreakChildren:F,forceNextEmptyLine:C,isTextLikeNode:y,hasPrettierIgnore:E,preferHardlineAsLeadingSpaces:w}=ui(),{printOpeningTagPrefix:$,needsToBorrowNextOpeningTagStartMarker:V,printOpeningTagStartMarker:_,needsToBorrowPrevClosingTagEndMarker:M,printClosingTagEndMarker:L,printClosingTagSuffix:G,needsToBorrowParentClosingTagStartMarker:U}=Gi();function ee(x,T,f){let b=x.getValue();return E(b)?[$(b,T),...m(T.originalText.slice(D(b)+(b.prev&&V(b.prev)?_(b).length:0),A(b)-(b.next&&M(b.next)?L(b,T).length:0))),G(b,T)]:f()}function v(x,T){return y(x)&&y(T)?x.isTrailingSpaceSensitive?x.hasTrailingSpaces?w(T)?l:s:"":w(T)?l:o:V(x)&&(E(T)||T.firstChild||T.isSelfClosing||T.type==="element"&&T.attrs.length>0)||x.type==="element"&&x.isSelfClosing&&M(T)?"":!T.isLeadingSpaceSensitive||w(T)||M(T)&&x.lastChild&&U(x.lastChild)&&x.lastChild.lastChild&&U(x.lastChild.lastChild)?l:T.hasLeadingSpaces?s:o}function O(x,T,f){let b=x.getValue();if(F(b))return[u,...x.map(I=>{let N=I.getValue(),R=N.prev?v(N.prev,N):"";return[R?[R,C(N.prev)?l:""]:"",ee(I,T,f)]},"children")];let S=b.children.map(()=>Symbol(""));return x.map((I,N)=>{let R=I.getValue();if(y(R)){if(R.prev&&y(R.prev)){let de=v(R.prev,R);if(de)return C(R.prev)?[l,l,ee(I,T,f)]:[de,ee(I,T,f)]}return ee(I,T,f)}let q=[],z=[],Z=[],H=[],ue=R.prev?v(R.prev,R):"",W=R.next?v(R,R.next):"";return ue&&(C(R.prev)?q.push(l,l):ue===l?q.push(l):y(R.prev)?z.push(ue):z.push(h("",o,{groupId:S[N-1]}))),W&&(C(R)?y(R.next)&&H.push(l,l):W===l?y(R.next)&&H.push(l):Z.push(W)),[...q,d([...z,d([ee(I,T,f),...Z],{id:S[N]})]),...H]},"children")}g.exports={printChildren:O}}}),wd=ie({"src/language-html/print/element.js"(c,g){"use strict";pe();var{builders:{breakParent:u,dedentToRoot:d,group:h,ifBreak:s,indentIfBreak:o,indent:l,line:m,softline:D},utils:{replaceTextEndOfLine:A}}=Ft(),F=Ro(),{shouldPreserveContent:C,isScriptLikeTag:y,isVueCustomBlock:E,countParents:w,forceBreakContent:$}=ui(),{printOpeningTagPrefix:V,printOpeningTag:_,printClosingTagSuffix:M,printClosingTag:L,needsToBorrowPrevClosingTagEndMarker:G,needsToBorrowLastChildClosingTagEndMarker:U}=Gi(),{printChildren:ee}=jo();function v(O,x,T){let f=O.getValue();if(C(f,x))return[V(f,x),h(_(O,x,T)),...A(F(f,x)),...L(f,x),M(f,x)];let b=f.children.length===1&&f.firstChild.type==="interpolation"&&f.firstChild.isLeadingSpaceSensitive&&!f.firstChild.hasLeadingSpaces&&f.lastChild.isTrailingSpaceSensitive&&!f.lastChild.hasTrailingSpaces,S=Symbol("element-attr-group-id"),I=z=>h([h(_(O,x,T),{id:S}),z,L(f,x)]),N=z=>b?o(z,{groupId:S}):(y(f)||E(f,x))&&f.parent.type==="root"&&x.parser==="vue"&&!x.vueIndentScriptAndStyle?z:l(z),R=()=>b?s(D,"",{groupId:S}):f.firstChild.hasLeadingSpaces&&f.firstChild.isLeadingSpaceSensitive?m:f.firstChild.type==="text"&&f.isWhitespaceSensitive&&f.isIndentationSensitive?d(D):D,q=()=>(f.next?G(f.next):U(f.parent))?f.lastChild.hasTrailingSpaces&&f.lastChild.isTrailingSpaceSensitive?" ":"":b?s(D,"",{groupId:S}):f.lastChild.hasTrailingSpaces&&f.lastChild.isTrailingSpaceSensitive?m:(f.lastChild.type==="comment"||f.lastChild.type==="text"&&f.isWhitespaceSensitive&&f.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${x.tabWidth*w(O,z=>z.parent&&z.parent.type!=="root")}}$`).test(f.lastChild.value)?"":D;return f.children.length===0?I(f.hasDanglingSpaces&&f.isDanglingSpaceSensitive?m:""):I([$(f)?u:"",N([R(),ee(O,x,T)]),q()])}g.exports={printElement:v}}}),Td=ie({"src/language-html/printer-html.js"(c,g){"use strict";pe();var{builders:{fill:u,group:d,hardline:h,literalline:s},utils:{cleanDoc:o,getDocParts:l,isConcat:m,replaceTextEndOfLine:D}}=Ft(),A=hd(),{countChars:F,unescapeQuoteEntities:C,getTextValueParts:y}=ui(),E=vd(),{insertPragma:w}=Cd(),{locStart:$,locEnd:V}=qu(),_=Sd(),{printClosingTagSuffix:M,printClosingTagEnd:L,printOpeningTagPrefix:G,printOpeningTagStart:U}=Gi(),{printElement:ee}=wd(),{printChildren:v}=jo();function O(x,T,f){let b=x.getValue();switch(b.type){case"front-matter":return D(b.raw);case"root":return T.__onHtmlRoot&&T.__onHtmlRoot(b),[d(v(x,T,f)),h];case"element":case"ieConditionalComment":return ee(x,T,f);case"ieConditionalStartComment":case"ieConditionalEndComment":return[U(b),L(b)];case"interpolation":return[U(b,T),...x.map(f,"children"),L(b,T)];case"text":{if(b.parent.type==="interpolation"){let I=/\n[^\S\n]*$/,N=I.test(b.value),R=N?b.value.replace(I,""):b.value;return[...D(R),N?h:""]}let S=o([G(b,T),...y(b),M(b,T)]);return m(S)||S.type==="fill"?u(l(S)):S}case"docType":return[d([U(b,T)," ",b.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),L(b,T)];case"comment":return[G(b,T),...D(T.originalText.slice($(b),V(b)),s),M(b,T)];case"attribute":{if(b.value===null)return b.rawName;let S=C(b.value),I=F(S,"'"),N=F(S,'"'),R=I<N?"'":'"';return[b.rawName,"=",R,...D(R==='"'?S.replace(/"/g,"""):S.replace(/'/g,"'")),R]}default:throw new Error(`Unexpected node type ${b.type}`)}}g.exports={preprocess:E,print:O,insertPragma:w,massageAstNode:A,embed:_}}}),kd=ie({"src/language-html/options.js"(c,g){"use strict";pe();var u=si(),d="HTML";g.exports={bracketSameLine:u.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:d,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:u.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:d,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),_d=ie({"src/language-html/parsers.js"(){pe()}}),Wu=ie({"node_modules/linguist-languages/data/HTML.json"(c,g){g.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Pd=ie({"node_modules/linguist-languages/data/Vue.json"(c,g){g.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Bd=ie({"src/language-html/index.js"(c,g){"use strict";pe();var u=Nn(),d=Td(),h=kd(),s=_d(),o=[u(Wu(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),u(Wu(),m=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...m.extensions,".mjml"]})),u(Wu(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),u(Pd(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],l={html:d};g.exports={languages:o,printers:l,options:h,parsers:s}}}),Id=ie({"src/language-yaml/pragma.js"(c,g){"use strict";pe();function u(s){return/^\s*@(?:prettier|format)\s*$/.test(s)}function d(s){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(s)}function h(s){return`# @format
|
|
178
178
|
|
|
179
|
-
${
|
|
180
|
-
`&&
|
|
181
|
-
`).map((
|
|
182
|
-
`).map(
|
|
183
|
-
`);case"always":return!/[\n ]/.test(B.value);default:return!1}}function w(B){return B.key.content&&B.key.content.type==="alias"}function L(B){if(!B)return!0;switch(B.type){case"plain":case"quoteDouble":case"quoteSingle":return B.position.start.line===B.position.end.line;case"alias":return!0;default:return!1}}h.exports=j}}),qh=re({"src/language-yaml/print/block.js"(l,h){"use strict";ce();var{builders:{dedent:s,dedentToRoot:f,fill:p,hardline:i,join:a,line:o,literalline:d,markAsRoot:m},utils:{getDocParts:x}}=yt(),{getAncestorCount:A,getBlockValueLineContents:b,hasIndicatorComment:g,isLastDescendantNode:y,isNode:F}=qn(),{alignWithSpaces:j}=ls();function R(w,L,B){let $=w.getValue(),M=A(w,T=>F(T,["sequence","mapping"])),K=y(w),E=[$.type==="blockFolded"?">":"|"];$.indent!==null&&E.push($.indent.toString()),$.chomping!=="clip"&&E.push($.chomping==="keep"?"+":"-"),g($)&&E.push(" ",L("indicatorComment"));let N=b($,{parentIndent:M,isLastDescendant:K,options:B}),D=[];for(let[T,c]of N.entries())T===0&&D.push(i),D.push(p(x(a(o,c)))),T!==N.length-1?D.push(c.length===0?i:m(d)):$.chomping==="keep"&&K&&D.push(f(c.length===0?i:d));return $.indent===null?E.push(s(j(B.tabWidth,D))):E.push(f(j($.indent-1+M,D))),E}h.exports=R}}),Wh=re({"src/language-yaml/printer-yaml.js"(l,h){"use strict";ce();var{builders:{breakParent:s,fill:f,group:p,hardline:i,join:a,line:o,lineSuffix:d,literalline:m},utils:{getDocParts:x,replaceTextEndOfLine:A}}=yt(),{isPreviousLineEmpty:b}=Bt(),{insertPragma:g,isPragma:y}=Rh(),{locStart:F}=Mh(),j=$h(),{getFlowScalarLineContents:R,getLastDescendantNode:w,hasLeadingComments:L,hasMiddleComments:B,hasTrailingComment:$,hasEndComments:M,hasPrettierIgnore:K,isLastDescendantNode:E,isNode:N,isInlineNode:D}=qn(),T=Vh(),{alignWithSpaces:c,printNextEmptyLine:C,shouldPrintEndComments:S}=ls(),{printFlowMapping:P,printFlowSequence:_}=Uh(),I=Gh(),U=qh();function z(W,fe,Ee){let he=W.getValue(),Pe=[];he.type!=="mappingValue"&&L(he)&&Pe.push([a(i,W.map(Ee,"leadingComments")),i]);let{tag:Z,anchor:ue}=he;Z&&Pe.push(Ee("tag")),Z&&ue&&Pe.push(" "),ue&&Pe.push(Ee("anchor"));let Te="";N(he,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!E(W)&&(Te=C(W,fe.originalText)),(Z||ue)&&(N(he,["sequence","mapping"])&&!B(he)?Pe.push(i):Pe.push(" ")),B(he)&&Pe.push([he.middleComments.length===1?"":i,a(i,W.map(Ee,"middleComments")),i]);let we=W.getParentNode();return K(W)?Pe.push(A(fe.originalText.slice(he.position.start.offset,he.position.end.offset).trimEnd(),m)):Pe.push(p(Q(he,we,W,fe,Ee))),$(he)&&!N(he,["document","documentHead"])&&Pe.push(d([he.type==="mappingValue"&&!he.content?"":" ",we.type==="mappingKey"&&W.getParentNode(2).type==="mapping"&&D(he)?"":s,Ee("trailingComment")])),S(he)&&Pe.push(c(he.type==="sequenceItem"?2:0,[i,a(i,W.map(ze=>[b(fe.originalText,ze.getValue(),F)?i:"",Ee()],"endComments"))])),Pe.push(Te),Pe}function Q(W,fe,Ee,he,Pe){switch(W.type){case"root":{let{children:Z}=W,ue=[];Ee.each((we,ze)=>{let pe=Z[ze],te=Z[ze+1];ze!==0&&ue.push(i),ue.push(Pe()),ne(pe,te)?(ue.push(i,"..."),$(pe)&&ue.push(" ",Pe("trailingComment"))):te&&!$(te.head)&&ue.push(i,"---")},"children");let Te=w(W);return(!N(Te,["blockLiteral","blockFolded"])||Te.chomping!=="keep")&&ue.push(i),ue}case"document":{let Z=fe.children[Ee.getName()+1],ue=[];return G(W,Z,fe,he)==="head"&&((W.head.children.length>0||W.head.endComments.length>0)&&ue.push(Pe("head")),$(W.head)?ue.push(["---"," ",Pe(["head","trailingComment"])]):ue.push("---")),X(W)&&ue.push(Pe("body")),a(i,ue)}case"documentHead":return a(i,[...Ee.map(Pe,"children"),...Ee.map(Pe,"endComments")]);case"documentBody":{let{children:Z,endComments:ue}=W,Te="";if(Z.length>0&&ue.length>0){let we=w(W);N(we,["blockFolded","blockLiteral"])?we.chomping!=="keep"&&(Te=[i,i]):Te=i}return[a(i,Ee.map(Pe,"children")),Te,a(i,Ee.map(Pe,"endComments"))]}case"directive":return["%",a(" ",[W.name,...W.parameters])];case"comment":return["#",W.value];case"alias":return["*",W.value];case"tag":return he.originalText.slice(W.position.start.offset,W.position.end.offset);case"anchor":return["&",W.value];case"plain":return de(W.type,he.originalText.slice(W.position.start.offset,W.position.end.offset),he);case"quoteDouble":case"quoteSingle":{let Z="'",ue='"',Te=he.originalText.slice(W.position.start.offset+1,W.position.end.offset-1);if(W.type==="quoteSingle"&&Te.includes("\\")||W.type==="quoteDouble"&&/\\[^"]/.test(Te)){let ze=W.type==="quoteDouble"?ue:Z;return[ze,de(W.type,Te,he),ze]}if(Te.includes(ue))return[Z,de(W.type,W.type==="quoteDouble"?Te.replace(/\\"/g,ue).replace(/'/g,Z.repeat(2)):Te,he),Z];if(Te.includes(Z))return[ue,de(W.type,W.type==="quoteSingle"?Te.replace(/''/g,Z):Te,he),ue];let we=he.singleQuote?Z:ue;return[we,de(W.type,Te,he),we]}case"blockFolded":case"blockLiteral":return U(Ee,Pe,he);case"mapping":case"sequence":return a(i,Ee.map(Pe,"children"));case"sequenceItem":return["- ",c(2,W.content?Pe("content"):"")];case"mappingKey":case"mappingValue":return W.content?Pe("content"):"";case"mappingItem":case"flowMappingItem":return I(W,fe,Ee,Pe,he);case"flowMapping":return P(Ee,Pe,he);case"flowSequence":return _(Ee,Pe,he);case"flowSequenceItem":return Pe("content");default:throw new Error(`Unexpected node type ${W.type}`)}}function X(W){return W.body.children.length>0||M(W.body)}function ne(W,fe){return $(W)||fe&&(fe.head.children.length>0||M(fe.head))}function G(W,fe,Ee,he){return Ee.children[0]===W&&/---(?:\s|$)/.test(he.originalText.slice(F(W),F(W)+4))||W.head.children.length>0||M(W.head)||$(W.head)?"head":ne(W,fe)?!1:fe?"root":!1}function de(W,fe,Ee){let he=R(W,fe,Ee);return a(i,he.map(Pe=>f(x(a(o,Pe)))))}function H(W,fe){if(N(fe))switch(delete fe.position,fe.type){case"comment":if(y(fe.value))return null;break;case"quoteDouble":case"quoteSingle":fe.type="quote";break}}h.exports={preprocess:T,embed:j,print:z,massageAstNode:H,insertPragma:g}}}),Jh=re({"src/language-yaml/options.js"(l,h){"use strict";ce();var s=Un();h.exports={bracketSpacing:s.bracketSpacing,singleQuote:s.singleQuote,proseWrap:s.proseWrap}}}),zh=re({"src/language-yaml/parsers.js"(){ce()}}),Xh=re({"node_modules/linguist-languages/data/YAML.json"(l,h){h.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),Hh=re({"src/language-yaml/index.js"(l,h){"use strict";ce();var s=bn(),f=Wh(),p=Jh(),i=zh(),a=[s(Xh(),o=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...o.filenames.filter(d=>d!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];h.exports={languages:a,printers:{yaml:f},options:p,parsers:i}}}),Yh=re({"src/languages.js"(l,h){"use strict";ce(),h.exports=[Pd(),Xd(),rh(),lh(),yh(),jh(),Hh()]}});ce();var{version:Qh}=e(),Wn=zf(),{getSupportInfo:Kh}=Du(),Zh=Xf(),e0=Yh(),t0=yt();function xn(l){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var s=arguments.length,f=new Array(s),p=0;p<s;p++)f[p]=arguments[p];let i=f[h]||{},a=i.plugins||[];return f[h]=Object.assign(Object.assign({},i),{},{plugins:[...e0,...Array.isArray(a)?a:Object.values(a)]}),l(...f)}}var Mu=xn(Wn.formatWithCursor);Ce.exports={formatWithCursor:Mu,format(l,h){return Mu(l,h).formatted},check(l,h){let{formatted:s}=Mu(l,h);return s===l},doc:t0,getSupportInfo:xn(Kh,0),version:Qh,util:Zh,__debug:{parse:xn(Wn.parse),formatAST:xn(Wn.formatAST),formatDoc:xn(Wn.formatDoc),printToDoc:xn(Wn.printToDoc),printDocToString:xn(Wn.printDocToString)}}});return Qi()})});var _c=gt((TD,Pc)=>{"use strict";var Pg=Zn()(),_g=ki(),da=_g("Object.prototype.toString"),js=function(r){return Pg&&r&&typeof r=="object"&&Symbol.toStringTag in r?!1:da(r)==="[object Arguments]"},kc=function(r){return js(r)?!0:r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&da(r)!=="[object Array]"&&da(r.callee)==="[object Function]"},Bg=function(){return js(arguments)}();js.isLegacyArguments=kc;Pc.exports=Bg?js:kc});var Ic=gt((wD,Nc)=>{"use strict";var Ng=Object.prototype.toString,Ig=Function.prototype.toString,Og=/^\s*(?:function)?\*/,Bc=Zn()(),ha=Object.getPrototypeOf,Lg=function(){if(!Bc)return!1;try{return Function("return function*() {}")()}catch(t){}},ga;Nc.exports=function(r){if(typeof r!="function")return!1;if(Og.test(Ig.call(r)))return!0;if(!Bc){var n=Ng.call(r);return n==="[object GeneratorFunction]"}if(!ha)return!1;if(typeof ga=="undefined"){var v=Lg();ga=v?ha(v):!1}return ha(r)===ga}});var Rc=gt((kD,jc)=>{"use strict";var Oc=Function.prototype.toString,si=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ma,Rs;if(typeof si=="function"&&typeof Object.defineProperty=="function")try{ma=Object.defineProperty({},"length",{get:function(){throw Rs}}),Rs={},si(function(){throw 42},null,ma)}catch(t){t!==Rs&&(si=null)}else si=null;var jg=/^\s*class\b/,ya=function(r){try{var n=Oc.call(r);return jg.test(n)}catch(v){return!1}},Da=function(r){try{return ya(r)?!1:(Oc.call(r),!0)}catch(n){return!1}},Ms=Object.prototype.toString,Rg="[object Object]",Mg="[object Function]",$g="[object GeneratorFunction]",Vg="[object HTMLAllCollection]",Ug="[object HTML document.all class]",Gg="[object HTMLCollection]",qg=typeof Symbol=="function"&&!!Symbol.toStringTag,Wg=!(0 in[,]),Ea=function(){return!1};typeof document=="object"&&(Lc=document.all,Ms.call(Lc)===Ms.call(document.all)&&(Ea=function(r){if((Wg||!r)&&(typeof r=="undefined"||typeof r=="object"))try{var n=Ms.call(r);return(n===Vg||n===Ug||n===Gg||n===Rg)&&r("")==null}catch(v){}return!1}));var Lc;jc.exports=si?function(r){if(Ea(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{si(r,null,ma)}catch(n){if(n!==Rs)return!1}return!ya(r)&&Da(r)}:function(r){if(Ea(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(qg)return Da(r);if(ya(r))return!1;var n=Ms.call(r);return n!==Mg&&n!==$g&&!/^\[object HTML/.test(n)?!1:Da(r)}});var va=gt((PD,$c)=>{"use strict";var Jg=Rc(),zg=Object.prototype.toString,Mc=Object.prototype.hasOwnProperty,Xg=function(r,n,v){for(var V=0,se=r.length;V<se;V++)Mc.call(r,V)&&(v==null?n(r[V],V,r):n.call(v,r[V],V,r))},Hg=function(r,n,v){for(var V=0,se=r.length;V<se;V++)v==null?n(r.charAt(V),V,r):n.call(v,r.charAt(V),V,r)},Yg=function(r,n,v){for(var V in r)Mc.call(r,V)&&(v==null?n(r[V],V,r):n.call(v,r[V],V,r))},Qg=function(r,n,v){if(!Jg(n))throw new TypeError("iterator must be a function");var V;arguments.length>=3&&(V=v),zg.call(r)==="[object Array]"?Xg(r,n,V):typeof r=="string"?Hg(r,n,V):Yg(r,n,V)};$c.exports=Qg});var Ca=gt((_D,Vc)=>{"use strict";var ba=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Kg=typeof globalThis=="undefined"?window:globalThis;Vc.exports=function(){for(var r=[],n=0;n<ba.length;n++)typeof Kg[ba[n]]=="function"&&(r[r.length]=ba[n]);return r}});var xa=gt((BD,Uc)=>{"use strict";var Zg=Cs(),$s=Zg("%Object.getOwnPropertyDescriptor%",!0);if($s)try{$s([],"length")}catch(t){$s=null}Uc.exports=$s});var Fa=gt((ND,zc)=>{"use strict";var Gc=va(),em=Ca(),Aa=ki(),tm=Aa("Object.prototype.toString"),qc=Zn()(),Vs=xa(),rm=typeof globalThis=="undefined"?window:globalThis,Wc=em(),nm=Aa("Array.prototype.indexOf",!0)||function(r,n){for(var v=0;v<r.length;v+=1)if(r[v]===n)return v;return-1},im=Aa("String.prototype.slice"),Jc={},Sa=Object.getPrototypeOf;qc&&Vs&&Sa&&Gc(Wc,function(t){var r=new rm[t];if(Symbol.toStringTag in r){var n=Sa(r),v=Vs(n,Symbol.toStringTag);if(!v){var V=Sa(n);v=Vs(V,Symbol.toStringTag)}Jc[t]=v.get}});var sm=function(r){var n=!1;return Gc(Jc,function(v,V){if(!n)try{n=v.call(r)===V}catch(se){}}),n};zc.exports=function(r){if(!r||typeof r!="object")return!1;if(!qc||!(Symbol.toStringTag in r)){var n=im(tm(r),8,-1);return nm(Wc,n)>-1}return Vs?sm(r):!1}});var ep=gt((ID,Zc)=>{"use strict";var Xc=va(),um=Ca(),Hc=ki(),Ta=xa(),am=Hc("Object.prototype.toString"),Yc=Zn()(),Qc=typeof globalThis=="undefined"?window:globalThis,om=um(),lm=Hc("String.prototype.slice"),Kc={},wa=Object.getPrototypeOf;Yc&&Ta&&wa&&Xc(om,function(t){if(typeof Qc[t]=="function"){var r=new Qc[t];if(Symbol.toStringTag in r){var n=wa(r),v=Ta(n,Symbol.toStringTag);if(!v){var V=wa(n);v=Ta(V,Symbol.toStringTag)}Kc[t]=v.get}}});var cm=function(r){var n=!1;return Xc(Kc,function(v,V){if(!n)try{var se=v.call(r);se===V&&(n=se)}catch(ae){}}),n},pm=Fa();Zc.exports=function(r){return pm(r)?!Yc||!(Symbol.toStringTag in r)?lm(am(r),8,-1):cm(r):!1}});var hp=gt(Gt=>{"use strict";var fm=_c(),dm=Ic(),Ur=ep(),tp=Fa();function ui(t){return t.call.bind(t)}var rp=typeof BigInt!="undefined",np=typeof Symbol!="undefined",Or=ui(Object.prototype.toString),hm=ui(Number.prototype.valueOf),gm=ui(String.prototype.valueOf),mm=ui(Boolean.prototype.valueOf);rp&&(ip=ui(BigInt.prototype.valueOf));var ip;np&&(sp=ui(Symbol.prototype.valueOf));var sp;function Bi(t,r){if(typeof t!="object")return!1;try{return r(t),!0}catch(n){return!1}}Gt.isArgumentsObject=fm;Gt.isGeneratorFunction=dm;Gt.isTypedArray=tp;function ym(t){return typeof Promise!="undefined"&&t instanceof Promise||t!==null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function"}Gt.isPromise=ym;function Dm(t){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(t):tp(t)||ap(t)}Gt.isArrayBufferView=Dm;function Em(t){return Ur(t)==="Uint8Array"}Gt.isUint8Array=Em;function vm(t){return Ur(t)==="Uint8ClampedArray"}Gt.isUint8ClampedArray=vm;function bm(t){return Ur(t)==="Uint16Array"}Gt.isUint16Array=bm;function Cm(t){return Ur(t)==="Uint32Array"}Gt.isUint32Array=Cm;function xm(t){return Ur(t)==="Int8Array"}Gt.isInt8Array=xm;function Am(t){return Ur(t)==="Int16Array"}Gt.isInt16Array=Am;function Sm(t){return Ur(t)==="Int32Array"}Gt.isInt32Array=Sm;function Fm(t){return Ur(t)==="Float32Array"}Gt.isFloat32Array=Fm;function Tm(t){return Ur(t)==="Float64Array"}Gt.isFloat64Array=Tm;function wm(t){return Ur(t)==="BigInt64Array"}Gt.isBigInt64Array=wm;function km(t){return Ur(t)==="BigUint64Array"}Gt.isBigUint64Array=km;function Us(t){return Or(t)==="[object Map]"}Us.working=typeof Map!="undefined"&&Us(new Map);function Pm(t){return typeof Map=="undefined"?!1:Us.working?Us(t):t instanceof Map}Gt.isMap=Pm;function Gs(t){return Or(t)==="[object Set]"}Gs.working=typeof Set!="undefined"&&Gs(new Set);function _m(t){return typeof Set=="undefined"?!1:Gs.working?Gs(t):t instanceof Set}Gt.isSet=_m;function qs(t){return Or(t)==="[object WeakMap]"}qs.working=typeof WeakMap!="undefined"&&qs(new WeakMap);function Bm(t){return typeof WeakMap=="undefined"?!1:qs.working?qs(t):t instanceof WeakMap}Gt.isWeakMap=Bm;function ka(t){return Or(t)==="[object WeakSet]"}ka.working=typeof WeakSet!="undefined"&&ka(new WeakSet);function Nm(t){return ka(t)}Gt.isWeakSet=Nm;function Ws(t){return Or(t)==="[object ArrayBuffer]"}Ws.working=typeof ArrayBuffer!="undefined"&&Ws(new ArrayBuffer);function up(t){return typeof ArrayBuffer=="undefined"?!1:Ws.working?Ws(t):t instanceof ArrayBuffer}Gt.isArrayBuffer=up;function Js(t){return Or(t)==="[object DataView]"}Js.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&Js(new DataView(new ArrayBuffer(1),0,1));function ap(t){return typeof DataView=="undefined"?!1:Js.working?Js(t):t instanceof DataView}Gt.isDataView=ap;var Pa=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Ni(t){return Or(t)==="[object SharedArrayBuffer]"}function op(t){return typeof Pa=="undefined"?!1:(typeof Ni.working=="undefined"&&(Ni.working=Ni(new Pa)),Ni.working?Ni(t):t instanceof Pa)}Gt.isSharedArrayBuffer=op;function Im(t){return Or(t)==="[object AsyncFunction]"}Gt.isAsyncFunction=Im;function Om(t){return Or(t)==="[object Map Iterator]"}Gt.isMapIterator=Om;function Lm(t){return Or(t)==="[object Set Iterator]"}Gt.isSetIterator=Lm;function jm(t){return Or(t)==="[object Generator]"}Gt.isGeneratorObject=jm;function Rm(t){return Or(t)==="[object WebAssembly.Module]"}Gt.isWebAssemblyCompiledModule=Rm;function lp(t){return Bi(t,hm)}Gt.isNumberObject=lp;function cp(t){return Bi(t,gm)}Gt.isStringObject=cp;function pp(t){return Bi(t,mm)}Gt.isBooleanObject=pp;function fp(t){return rp&&Bi(t,ip)}Gt.isBigIntObject=fp;function dp(t){return np&&Bi(t,sp)}Gt.isSymbolObject=dp;function Mm(t){return lp(t)||cp(t)||pp(t)||fp(t)||dp(t)}Gt.isBoxedPrimitive=Mm;function $m(t){return typeof Uint8Array!="undefined"&&(up(t)||op(t))}Gt.isAnyArrayBuffer=$m;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(Gt,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})});var mp=gt((LD,gp)=>{gp.exports=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"}});var yp=gt((jD,_a)=>{typeof Object.create=="function"?_a.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:_a.exports=function(r,n){if(n){r.super_=n;var v=function(){};v.prototype=n.prototype,r.prototype=new v,r.prototype.constructor=r}}});var xp=gt(qt=>{var Dp=Object.getOwnPropertyDescriptors||function(r){for(var n=Object.keys(r),v={},V=0;V<n.length;V++)v[n[V]]=Object.getOwnPropertyDescriptor(r,n[V]);return v},Vm=/%[sdj%]/g;qt.format=function(t){if(!Qs(t)){for(var r=[],n=0;n<arguments.length;n++)r.push(hn(arguments[n]));return r.join(" ")}for(var n=1,v=arguments,V=v.length,se=String(t).replace(Vm,function(De){if(De==="%%")return"%";if(n>=V)return De;switch(De){case"%s":return String(v[n++]);case"%d":return Number(v[n++]);case"%j":try{return JSON.stringify(v[n++])}catch(Le){return"[Circular]"}default:return De}}),ae=v[n];n<V;ae=v[++n])Ys(ae)||!ai(ae)?se+=" "+ae:se+=" "+hn(ae);return se};qt.deprecate=function(t,r){if(typeof process!="undefined"&&process.noDeprecation===!0)return t;if(typeof process=="undefined")return function(){return qt.deprecate(t,r).apply(this,arguments)};var n=!1;function v(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return t.apply(this,arguments)}return v};var zs={},Ep=/^$/;process.env.NODE_DEBUG&&(Xs=process.env.NODE_DEBUG,Xs=Xs.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),Ep=new RegExp("^"+Xs+"$","i"));var Xs;qt.debuglog=function(t){if(t=t.toUpperCase(),!zs[t])if(Ep.test(t)){var r=process.pid;zs[t]=function(){var n=qt.format.apply(qt,arguments);console.error("%s %d: %s",t,r,n)}}else zs[t]=function(){};return zs[t]};function hn(t,r){var n={seen:[],stylize:Gm};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Ia(r)?n.showHidden=r:r&&qt._extend(n,r),Tn(n.showHidden)&&(n.showHidden=!1),Tn(n.depth)&&(n.depth=2),Tn(n.colors)&&(n.colors=!1),Tn(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Um),Hs(n,t,n.depth)}qt.inspect=hn;hn.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};hn.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Um(t,r){var n=hn.styles[r];return n?"["+hn.colors[n][0]+"m"+t+"["+hn.colors[n][1]+"m":t}function Gm(t,r){return t}function qm(t){var r={};return t.forEach(function(n,v){r[n]=!0}),r}function Hs(t,r,n){if(t.customInspect&&r&&Zs(r.inspect)&&r.inspect!==qt.inspect&&!(r.constructor&&r.constructor.prototype===r)){var v=r.inspect(n,t);return Qs(v)||(v=Hs(t,v,n)),v}var V=Wm(t,r);if(V)return V;var se=Object.keys(r),ae=qm(se);if(t.showHidden&&(se=Object.getOwnPropertyNames(r)),Oi(r)&&(se.indexOf("message")>=0||se.indexOf("description")>=0))return Ba(r);if(se.length===0){if(Zs(r)){var De=r.name?": "+r.name:"";return t.stylize("[Function"+De+"]","special")}if(Ii(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(Ks(r))return t.stylize(Date.prototype.toString.call(r),"date");if(Oi(r))return Ba(r)}var Le="",rt=!1,vt=["{","}"];if(vp(r)&&(rt=!0,vt=["[","]"]),Zs(r)){var Lt=r.name?": "+r.name:"";Le=" [Function"+Lt+"]"}if(Ii(r)&&(Le=" "+RegExp.prototype.toString.call(r)),Ks(r)&&(Le=" "+Date.prototype.toUTCString.call(r)),Oi(r)&&(Le=" "+Ba(r)),se.length===0&&(!rt||r.length==0))return vt[0]+Le+vt[1];if(n<0)return Ii(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special");t.seen.push(r);var xt;return rt?xt=Jm(t,r,n,ae,se):xt=se.map(function(jt){return Na(t,r,n,ae,jt,rt)}),t.seen.pop(),zm(xt,Le,vt)}function Wm(t,r){if(Tn(r))return t.stylize("undefined","undefined");if(Qs(r)){var n="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(bp(r))return t.stylize(""+r,"number");if(Ia(r))return t.stylize(""+r,"boolean");if(Ys(r))return t.stylize("null","null")}function Ba(t){return"["+Error.prototype.toString.call(t)+"]"}function Jm(t,r,n,v,V){for(var se=[],ae=0,De=r.length;ae<De;++ae)Cp(r,String(ae))?se.push(Na(t,r,n,v,String(ae),!0)):se.push("");return V.forEach(function(Le){Le.match(/^\d+$/)||se.push(Na(t,r,n,v,Le,!0))}),se}function Na(t,r,n,v,V,se){var ae,De,Le;if(Le=Object.getOwnPropertyDescriptor(r,V)||{value:r[V]},Le.get?Le.set?De=t.stylize("[Getter/Setter]","special"):De=t.stylize("[Getter]","special"):Le.set&&(De=t.stylize("[Setter]","special")),Cp(v,V)||(ae="["+V+"]"),De||(t.seen.indexOf(Le.value)<0?(Ys(n)?De=Hs(t,Le.value,null):De=Hs(t,Le.value,n-1),De.indexOf(`
|
|
184
|
-
`)>-1&&(se?De=De.split(`
|
|
185
|
-
`).map(function(rt){return" "+rt}).join(`
|
|
186
|
-
`).slice(2):De=`
|
|
187
|
-
`+De.split(`
|
|
188
|
-
`).map(function(rt){return" "+rt}).join(`
|
|
189
|
-
`))):De=t.stylize("[Circular]","special")),Tn(ae)){if(se&&V.match(/^\d+$/))return De;ae=JSON.stringify(""+V),ae.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ae=ae.slice(1,-1),ae=t.stylize(ae,"name")):(ae=ae.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ae=t.stylize(ae,"string"))}return ae+": "+De}function zm(t,r,n){var v=0,V=t.reduce(function(se,ae){return v++,ae.indexOf(`
|
|
190
|
-
`)>=0&&v++,se+ae.replace(/\u001b\[\d\d?m/g,"").length+1},0);return V>60?n[0]+(r===""?"":r+`
|
|
191
|
-
`)+" "+t.join(`,
|
|
192
|
-
`)+" "+n[1]:n[0]+r+" "+t.join(", ")+" "+n[1]}qt.types=hp();function vp(t){return Array.isArray(t)}qt.isArray=vp;function Ia(t){return typeof t=="boolean"}qt.isBoolean=Ia;function Ys(t){return t===null}qt.isNull=Ys;function Xm(t){return t==null}qt.isNullOrUndefined=Xm;function bp(t){return typeof t=="number"}qt.isNumber=bp;function Qs(t){return typeof t=="string"}qt.isString=Qs;function Hm(t){return typeof t=="symbol"}qt.isSymbol=Hm;function Tn(t){return t===void 0}qt.isUndefined=Tn;function Ii(t){return ai(t)&&Oa(t)==="[object RegExp]"}qt.isRegExp=Ii;qt.types.isRegExp=Ii;function ai(t){return typeof t=="object"&&t!==null}qt.isObject=ai;function Ks(t){return ai(t)&&Oa(t)==="[object Date]"}qt.isDate=Ks;qt.types.isDate=Ks;function Oi(t){return ai(t)&&(Oa(t)==="[object Error]"||t instanceof Error)}qt.isError=Oi;qt.types.isNativeError=Oi;function Zs(t){return typeof t=="function"}qt.isFunction=Zs;function Ym(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t=="undefined"}qt.isPrimitive=Ym;qt.isBuffer=mp();function Oa(t){return Object.prototype.toString.call(t)}function La(t){return t<10?"0"+t.toString(10):t.toString(10)}var Qm=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Km(){var t=new Date,r=[La(t.getHours()),La(t.getMinutes()),La(t.getSeconds())].join(":");return[t.getDate(),Qm[t.getMonth()],r].join(" ")}qt.log=function(){console.log("%s - %s",Km(),qt.format.apply(qt,arguments))};qt.inherits=yp();qt._extend=function(t,r){if(!r||!ai(r))return t;for(var n=Object.keys(r),v=n.length;v--;)t[n[v]]=r[n[v]];return t};function Cp(t,r){return Object.prototype.hasOwnProperty.call(t,r)}var wn=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;qt.promisify=function(r){if(typeof r!="function")throw new TypeError('The "original" argument must be of type Function');if(wn&&r[wn]){var n=r[wn];if(typeof n!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,wn,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var v,V,se=new Promise(function(Le,rt){v=Le,V=rt}),ae=[],De=0;De<arguments.length;De++)ae.push(arguments[De]);ae.push(function(Le,rt){Le?V(Le):v(rt)});try{r.apply(this,ae)}catch(Le){V(Le)}return se}return Object.setPrototypeOf(n,Object.getPrototypeOf(r)),wn&&Object.defineProperty(n,wn,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,Dp(r))};qt.promisify.custom=wn;function Zm(t,r){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return r(t)}function ey(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function r(){for(var n=[],v=0;v<arguments.length;v++)n.push(arguments[v]);var V=n.pop();if(typeof V!="function")throw new TypeError("The last argument must be of type Function");var se=this,ae=function(){return V.apply(se,arguments)};t.apply(this,n).then(function(De){process.nextTick(ae.bind(null,null,De))},function(De){process.nextTick(Zm.bind(null,De,ae))})}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,Dp(t)),r}qt.callbackify=ey});var Ap=gt(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.DOCTYPE_SHORTCUT_REGISTRY=void 0;eu.DOCTYPE_SHORTCUT_REGISTRY={"<!doctype html>":"doctype html",'<?xml version="1.0" encoding="utf-8" ?>':"doctype xml",'<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">':"doctype transitional",'<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">':"doctype strict",'<!doctype html public "-//w3c//dtd xhtml 1.0 frameset//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-frameset.dtd">':"doctype frameset",'<!doctype html public "-//w3c//dtd xhtml 1.1//en" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">':"doctype 1.1",'<!doctype html public "-//w3c//dtd xhtml basic 1.1//en" "http://www.w3.org/tr/xhtml-basic/xhtml-basic11.dtd">':"doctype basic",'<!doctype html public "-//wapforum//dtd xhtml mobile 1.2//en" "http://www.openmobilealliance.org/tech/dtd/xhtml-mobile12.dtd">':"doctype mobile",'<!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd">':"doctype plist"}});var Fp=gt(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.partialSort=gn.stableSort=gn.compareAttributeToken=void 0;function ty(t,r,n,v,V){let se=v.map(rt=>new RegExp(rt)).reverse(),ae=V.map(rt=>new RegExp(rt)),De=t.name,Le=r.name;if(se.length>0){let rt=se.findIndex(xt=>xt.test(De)),vt=se.findIndex(xt=>xt.test(Le)),Lt=rt-vt;if(Lt>0)return-1;if(Lt<0)return 1}if(ae.length>0){let rt=ae.findIndex(xt=>xt.test(De)),vt=ae.findIndex(xt=>xt.test(Le)),Lt=rt-vt;if(Lt>0)return 1;if(Lt<0)return-1}switch(n){case"asc":{if(De>Le)return 1;if(De<Le)return-1;break}case"desc":{if(De>Le)return-1;if(De<Le)return 1;break}}return 0}gn.compareAttributeToken=ty;function Sp(t,r){let n=t.map((v,V)=>[v,V]);return n.sort((v,V)=>{let se=r(v[0],V[0]);return se!==0?se:v[1]-V[1]}),n.map(([v])=>v)}gn.stableSort=Sp;function ry(t,r,n,v){let V=t.slice(0,r),se=t.slice(n),ae=t.slice(r,n),De=Sp(ae,v);return[...V,...De,...se]}gn.partialSort=ry});var Tp=gt(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.formatEmptyAttribute=void 0;var ny=[!0,'""',"''"];function iy(t,r,n){let{val:v,name:V}=t;if(n.map(De=>new RegExp(De)).some(De=>De.test(V))){t.val===!0&&(t.val='""');return}if(!(r==="as-is"||!ny.includes(v)))switch(r){case"all":{t.val===!0&&(t.val='""');break}case"none":{(t.val==='""'||t.val==="''")&&(t.val=!0);break}}}tu.formatEmptyAttribute=iy});var ru=gt(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});tr.detectFramework=tr.detectDangerousQuoteCombination=tr.makeString=tr.handleBracketSpacing=tr.isMultilineInterpolation=tr.isSingleLineWithInterpolation=tr.isQuoted=tr.isWrappedWith=tr.isStyleAttribute=tr.unwrapLineFeeds=tr.previousTypeAttributeToken=tr.previousNormalAttributeToken=tr.previousTagToken=void 0;function sy(t,r){for(let n=r-1;n>=0;n--){let v=t[n];if(!v)return;if(v.type==="tag")return v}}tr.previousTagToken=sy;function uy(t,r){for(let n=r-1;n>0;n--){let v=t[n];if(!v||v.type==="start-attributes")return;if(v.type==="attribute"&&v.name!=="class"&&v.name!=="id")return v}}tr.previousNormalAttributeToken=uy;function ay(t,r){for(let n=r-1;n>0;n--){let v=t[n];if(!v||v.type==="start-attributes"||v.type==="tag")return;if(v.type==="attribute"&&v.name==="type")return v}}tr.previousTypeAttributeToken=ay;function oy(t){return t.includes(`
|
|
179
|
+
${s}`}g.exports={isPragma:u,hasPragma:d,insertPragma:h}}}),Nd=ie({"src/language-yaml/loc.js"(c,g){"use strict";pe();function u(h){return h.position.start.offset}function d(h){return h.position.end.offset}g.exports={locStart:u,locEnd:d}}}),Ld=ie({"src/language-yaml/embed.js"(c,g){"use strict";pe();function u(d,h,s,o){if(d.getValue().type==="root"&&o.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(o.filepath))return s(o.originalText,Object.assign(Object.assign({},o),{},{parser:"json"}))}g.exports=u}}),ai=ie({"src/language-yaml/utils.js"(c,g){"use strict";pe();var{getLast:u,isNonEmptyArray:d}=Mt();function h(v,O){let x=0,T=v.stack.length-1;for(let f=0;f<T;f++){let b=v.stack[f];s(b)&&O(b)&&x++}return x}function s(v,O){return v&&typeof v.type=="string"&&(!O||O.includes(v.type))}function o(v,O,x){return O("children"in v?Object.assign(Object.assign({},v),{},{children:v.children.map(T=>o(T,O,v))}):v,x)}function l(v,O,x){Object.defineProperty(v,O,{get:x,enumerable:!1})}function m(v,O){let x=0,T=O.length;for(let f=v.position.end.offset-1;f<T;f++){let b=O[f];if(b===`
|
|
180
|
+
`&&x++,x===1&&/\S/.test(b))return!1;if(x===2)return!0}return!1}function D(v){switch(v.getValue().type){case"tag":case"anchor":case"comment":return!1}let O=v.stack.length;for(let x=1;x<O;x++){let T=v.stack[x],f=v.stack[x-1];if(Array.isArray(f)&&typeof T=="number"&&T!==f.length-1)return!1}return!0}function A(v){return d(v.children)?A(u(v.children)):v}function F(v){return v.value.trim()==="prettier-ignore"}function C(v){let O=v.getValue();if(O.type==="documentBody"){let x=v.getParentNode();return M(x.head)&&F(u(x.head.endComments))}return w(O)&&F(u(O.leadingComments))}function y(v){return!d(v.children)&&!E(v)}function E(v){return w(v)||$(v)||V(v)||_(v)||M(v)}function w(v){return d(v==null?void 0:v.leadingComments)}function $(v){return d(v==null?void 0:v.middleComments)}function V(v){return v==null?void 0:v.indicatorComment}function _(v){return v==null?void 0:v.trailingComment}function M(v){return d(v==null?void 0:v.endComments)}function L(v){let O=[],x;for(let T of v.split(/( +)/))T!==" "?x===" "?O.push(T):O.push((O.pop()||"")+T):x===void 0&&O.unshift(""),x=T;return x===" "&&O.push((O.pop()||"")+" "),O[0]===""&&(O.shift(),O.unshift(" "+(O.shift()||""))),O}function G(v,O,x){let T=O.split(`
|
|
181
|
+
`).map((f,b,S)=>b===0&&b===S.length-1?f:b!==0&&b!==S.length-1?f.trim():b===0?f.trimEnd():f.trimStart());return x.proseWrap==="preserve"?T.map(f=>f.length===0?[]:[f]):T.map(f=>f.length===0?[]:L(f)).reduce((f,b,S)=>S!==0&&T[S-1].length>0&&b.length>0&&!(v==="quoteDouble"&&u(u(f)).endsWith("\\"))?[...f.slice(0,-1),[...u(f),...b]]:[...f,b],[]).map(f=>x.proseWrap==="never"?[f.join(" ")]:f)}function U(v,O){let{parentIndent:x,isLastDescendant:T,options:f}=O,b=v.position.start.line===v.position.end.line?"":f.originalText.slice(v.position.start.offset,v.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],S;if(v.indent===null){let R=b.match(/^(?<leadingSpace> *)[^\n\r ]/m);S=R?R.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else S=v.indent-1+x;let I=b.split(`
|
|
182
|
+
`).map(R=>R.slice(S));if(f.proseWrap==="preserve"||v.type==="blockLiteral")return N(I.map(R=>R.length===0?[]:[R]));return N(I.map(R=>R.length===0?[]:L(R)).reduce((R,q,z)=>z!==0&&I[z-1].length>0&&q.length>0&&!/^\s/.test(q[0])&&!/^\s|\s$/.test(u(R))?[...R.slice(0,-1),[...u(R),...q]]:[...R,q],[]).map(R=>R.reduce((q,z)=>q.length>0&&/\s$/.test(u(q))?[...q.slice(0,-1),u(q)+" "+z]:[...q,z],[])).map(R=>f.proseWrap==="never"?[R.join(" ")]:R));function N(R){if(v.chomping==="keep")return u(R).length===0?R.slice(0,-1):R;let q=0;for(let z=R.length-1;z>=0&&R[z].length===0;z--)q++;return q===0?R:q>=2&&!T?R.slice(0,-(q-1)):R.slice(0,-q)}}function ee(v){if(!v)return!0;switch(v.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}g.exports={getLast:u,getAncestorCount:h,isNode:s,isEmptyNode:y,isInlineNode:ee,mapNode:o,defineShortcut:l,isNextLineEmpty:m,isLastDescendantNode:D,getBlockValueLineContents:U,getFlowScalarLineContents:G,getLastDescendantNode:A,hasPrettierIgnore:C,hasLeadingComments:w,hasMiddleComments:$,hasIndicatorComment:V,hasTrailingComment:_,hasEndComments:M}}}),Od=ie({"src/language-yaml/print-preprocess.js"(c,g){"use strict";pe();var{defineShortcut:u,mapNode:d}=ai();function h(o){return d(o,s)}function s(o){switch(o.type){case"document":u(o,"head",()=>o.children[0]),u(o,"body",()=>o.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":u(o,"content",()=>o.children[0]);break;case"mappingItem":case"flowMappingItem":u(o,"key",()=>o.children[0]),u(o,"value",()=>o.children[1]);break}return o}g.exports=h}}),bs=ie({"src/language-yaml/print/misc.js"(c,g){"use strict";pe();var{builders:{softline:u,align:d}}=Ft(),{hasEndComments:h,isNextLineEmpty:s,isNode:o}=ai(),l=new WeakMap;function m(F,C){let y=F.getValue(),E=F.stack[0],w;return l.has(E)?w=l.get(E):(w=new Set,l.set(E,w)),!w.has(y.position.end.line)&&(w.add(y.position.end.line),s(y,C)&&!D(F.getParentNode()))?u:""}function D(F){return h(F)&&!o(F,["documentHead","documentBody","flowMapping","flowSequence"])}function A(F,C){return d(" ".repeat(F),C)}g.exports={alignWithSpaces:A,shouldPrintEndComments:D,printNextEmptyLine:m}}}),Rd=ie({"src/language-yaml/print/flow-mapping-sequence.js"(c,g){"use strict";pe();var{builders:{ifBreak:u,line:d,softline:h,hardline:s,join:o}}=Ft(),{isEmptyNode:l,getLast:m,hasEndComments:D}=ai(),{printNextEmptyLine:A,alignWithSpaces:F}=bs();function C(E,w,$){let V=E.getValue(),_=V.type==="flowMapping",M=_?"{":"[",L=_?"}":"]",G=h;_&&V.children.length>0&&$.bracketSpacing&&(G=d);let U=m(V.children),ee=U&&U.type==="flowMappingItem"&&l(U.key)&&l(U.value);return[M,F($.tabWidth,[G,y(E,w,$),$.trailingComma==="none"?"":u(","),D(V)?[s,o(s,E.map(w,"endComments"))]:""]),ee?"":G,L]}function y(E,w,$){let V=E.getValue();return E.map((_,M)=>[w(),M===V.children.length-1?"":[",",d,V.children[M].position.start.line!==V.children[M+1].position.start.line?A(_,$.originalText):""]],"children")}g.exports={printFlowMapping:C,printFlowSequence:C}}}),jd=ie({"src/language-yaml/print/mapping-item.js"(c,g){"use strict";pe();var{builders:{conditionalGroup:u,group:d,hardline:h,ifBreak:s,join:o,line:l}}=Ft(),{hasLeadingComments:m,hasMiddleComments:D,hasTrailingComment:A,hasEndComments:F,isNode:C,isEmptyNode:y,isInlineNode:E}=ai(),{alignWithSpaces:w}=bs();function $(L,G,U,ee,v){let{key:O,value:x}=L,T=y(O),f=y(x);if(T&&f)return": ";let b=ee("key"),S=_(L)?" ":"";if(f)return L.type==="flowMappingItem"&&G.type==="flowMapping"?b:L.type==="mappingItem"&&V(O.content,v)&&!A(O.content)&&(!G.tag||G.tag.value!=="tag:yaml.org,2002:set")?[b,S,":"]:["? ",w(2,b)];let I=ee("value");if(T)return[": ",w(2,I)];if(m(x)||!E(O.content))return["? ",w(2,b),h,o("",U.map(ee,"value","leadingComments").map(H=>[H,h])),": ",w(2,I)];if(M(O.content)&&!m(O.content)&&!D(O.content)&&!A(O.content)&&!F(O)&&!m(x.content)&&!D(x.content)&&!F(x)&&V(x.content,v))return[b,S,": ",I];let N=Symbol("mappingKey"),R=d([s("? "),d(w(2,b),{id:N})]),q=[h,": ",w(2,I)],z=[S,":"];m(x.content)||F(x)&&x.content&&!C(x.content,["mapping","sequence"])||G.type==="mapping"&&A(O.content)&&E(x.content)||C(x.content,["mapping","sequence"])&&x.content.tag===null&&x.content.anchor===null?z.push(h):x.content&&z.push(l),z.push(I);let Z=w(v.tabWidth,z);return V(O.content,v)&&!m(O.content)&&!D(O.content)&&!F(O)?u([[b,Z]]):u([[R,s(q,Z,{groupId:N})]])}function V(L,G){if(!L)return!0;switch(L.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(G.proseWrap==="preserve")return L.position.start.line===L.position.end.line;if(/\\$/m.test(G.originalText.slice(L.position.start.offset,L.position.end.offset)))return!1;switch(G.proseWrap){case"never":return!L.value.includes(`
|
|
183
|
+
`);case"always":return!/[\n ]/.test(L.value);default:return!1}}function _(L){return L.key.content&&L.key.content.type==="alias"}function M(L){if(!L)return!0;switch(L.type){case"plain":case"quoteDouble":case"quoteSingle":return L.position.start.line===L.position.end.line;case"alias":return!0;default:return!1}}g.exports=$}}),Md=ie({"src/language-yaml/print/block.js"(c,g){"use strict";pe();var{builders:{dedent:u,dedentToRoot:d,fill:h,hardline:s,join:o,line:l,literalline:m,markAsRoot:D},utils:{getDocParts:A}}=Ft(),{getAncestorCount:F,getBlockValueLineContents:C,hasIndicatorComment:y,isLastDescendantNode:E,isNode:w}=ai(),{alignWithSpaces:$}=bs();function V(_,M,L){let G=_.getValue(),U=F(_,T=>w(T,["sequence","mapping"])),ee=E(_),v=[G.type==="blockFolded"?">":"|"];G.indent!==null&&v.push(G.indent.toString()),G.chomping!=="clip"&&v.push(G.chomping==="keep"?"+":"-"),y(G)&&v.push(" ",M("indicatorComment"));let O=C(G,{parentIndent:U,isLastDescendant:ee,options:L}),x=[];for(let[T,f]of O.entries())T===0&&x.push(s),x.push(h(A(o(l,f)))),T!==O.length-1?x.push(f.length===0?s:D(m)):G.chomping==="keep"&&ee&&x.push(d(f.length===0?s:m));return G.indent===null?v.push(u($(L.tabWidth,x))):v.push(d($(G.indent-1+U,x))),v}g.exports=V}}),$d=ie({"src/language-yaml/printer-yaml.js"(c,g){"use strict";pe();var{builders:{breakParent:u,fill:d,group:h,hardline:s,join:o,line:l,lineSuffix:m,literalline:D},utils:{getDocParts:A,replaceTextEndOfLine:F}}=Ft(),{isPreviousLineEmpty:C}=Mt(),{insertPragma:y,isPragma:E}=Id(),{locStart:w}=Nd(),$=Ld(),{getFlowScalarLineContents:V,getLastDescendantNode:_,hasLeadingComments:M,hasMiddleComments:L,hasTrailingComment:G,hasEndComments:U,hasPrettierIgnore:ee,isLastDescendantNode:v,isNode:O,isInlineNode:x}=ai(),T=Od(),{alignWithSpaces:f,printNextEmptyLine:b,shouldPrintEndComments:S}=bs(),{printFlowMapping:I,printFlowSequence:N}=Rd(),R=jd(),q=Md();function z(Y,he,xe){let me=Y.getValue(),Pe=[];me.type!=="mappingValue"&&M(me)&&Pe.push([o(s,Y.map(xe,"leadingComments")),s]);let{tag:te,anchor:oe}=me;te&&Pe.push(xe("tag")),te&&oe&&Pe.push(" "),oe&&Pe.push(xe("anchor"));let Te="";O(me,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!v(Y)&&(Te=b(Y,he.originalText)),(te||oe)&&(O(me,["sequence","mapping"])&&!L(me)?Pe.push(s):Pe.push(" ")),L(me)&&Pe.push([me.middleComments.length===1?"":s,o(s,Y.map(xe,"middleComments")),s]);let ke=Y.getParentNode();return ee(Y)?Pe.push(F(he.originalText.slice(me.position.start.offset,me.position.end.offset).trimEnd(),D)):Pe.push(h(Z(me,ke,Y,he,xe))),G(me)&&!O(me,["document","documentHead"])&&Pe.push(m([me.type==="mappingValue"&&!me.content?"":" ",ke.type==="mappingKey"&&Y.getParentNode(2).type==="mapping"&&x(me)?"":u,xe("trailingComment")])),S(me)&&Pe.push(f(me.type==="sequenceItem"?2:0,[s,o(s,Y.map(Qe=>[C(he.originalText,Qe.getValue(),w)?s:"",xe()],"endComments"))])),Pe.push(Te),Pe}function Z(Y,he,xe,me,Pe){switch(Y.type){case"root":{let{children:te}=Y,oe=[];xe.each((ke,Qe)=>{let fe=te[Qe],ne=te[Qe+1];Qe!==0&&oe.push(s),oe.push(Pe()),ue(fe,ne)?(oe.push(s,"..."),G(fe)&&oe.push(" ",Pe("trailingComment"))):ne&&!G(ne.head)&&oe.push(s,"---")},"children");let Te=_(Y);return(!O(Te,["blockLiteral","blockFolded"])||Te.chomping!=="keep")&&oe.push(s),oe}case"document":{let te=he.children[xe.getName()+1],oe=[];return W(Y,te,he,me)==="head"&&((Y.head.children.length>0||Y.head.endComments.length>0)&&oe.push(Pe("head")),G(Y.head)?oe.push(["---"," ",Pe(["head","trailingComment"])]):oe.push("---")),H(Y)&&oe.push(Pe("body")),o(s,oe)}case"documentHead":return o(s,[...xe.map(Pe,"children"),...xe.map(Pe,"endComments")]);case"documentBody":{let{children:te,endComments:oe}=Y,Te="";if(te.length>0&&oe.length>0){let ke=_(Y);O(ke,["blockFolded","blockLiteral"])?ke.chomping!=="keep"&&(Te=[s,s]):Te=s}return[o(s,xe.map(Pe,"children")),Te,o(s,xe.map(Pe,"endComments"))]}case"directive":return["%",o(" ",[Y.name,...Y.parameters])];case"comment":return["#",Y.value];case"alias":return["*",Y.value];case"tag":return me.originalText.slice(Y.position.start.offset,Y.position.end.offset);case"anchor":return["&",Y.value];case"plain":return de(Y.type,me.originalText.slice(Y.position.start.offset,Y.position.end.offset),me);case"quoteDouble":case"quoteSingle":{let te="'",oe='"',Te=me.originalText.slice(Y.position.start.offset+1,Y.position.end.offset-1);if(Y.type==="quoteSingle"&&Te.includes("\\")||Y.type==="quoteDouble"&&/\\[^"]/.test(Te)){let Qe=Y.type==="quoteDouble"?oe:te;return[Qe,de(Y.type,Te,me),Qe]}if(Te.includes(oe))return[te,de(Y.type,Y.type==="quoteDouble"?Te.replace(/\\"/g,oe).replace(/'/g,te.repeat(2)):Te,me),te];if(Te.includes(te))return[oe,de(Y.type,Y.type==="quoteSingle"?Te.replace(/''/g,te):Te,me),oe];let ke=me.singleQuote?te:oe;return[ke,de(Y.type,Te,me),ke]}case"blockFolded":case"blockLiteral":return q(xe,Pe,me);case"mapping":case"sequence":return o(s,xe.map(Pe,"children"));case"sequenceItem":return["- ",f(2,Y.content?Pe("content"):"")];case"mappingKey":case"mappingValue":return Y.content?Pe("content"):"";case"mappingItem":case"flowMappingItem":return R(Y,he,xe,Pe,me);case"flowMapping":return I(xe,Pe,me);case"flowSequence":return N(xe,Pe,me);case"flowSequenceItem":return Pe("content");default:throw new Error(`Unexpected node type ${Y.type}`)}}function H(Y){return Y.body.children.length>0||U(Y.body)}function ue(Y,he){return G(Y)||he&&(he.head.children.length>0||U(he.head))}function W(Y,he,xe,me){return xe.children[0]===Y&&/---(?:\s|$)/.test(me.originalText.slice(w(Y),w(Y)+4))||Y.head.children.length>0||U(Y.head)||G(Y.head)?"head":ue(Y,he)?!1:he?"root":!1}function de(Y,he,xe){let me=V(Y,he,xe);return o(s,me.map(Pe=>d(A(o(l,Pe)))))}function Q(Y,he){if(O(he))switch(delete he.position,he.type){case"comment":if(E(he.value))return null;break;case"quoteDouble":case"quoteSingle":he.type="quote";break}}g.exports={preprocess:T,embed:$,print:z,massageAstNode:Q,insertPragma:y}}}),Vd=ie({"src/language-yaml/options.js"(c,g){"use strict";pe();var u=si();g.exports={bracketSpacing:u.bracketSpacing,singleQuote:u.singleQuote,proseWrap:u.proseWrap}}}),Ud=ie({"src/language-yaml/parsers.js"(){pe()}}),Gd=ie({"node_modules/linguist-languages/data/YAML.json"(c,g){g.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),qd=ie({"src/language-yaml/index.js"(c,g){"use strict";pe();var u=Nn(),d=$d(),h=Vd(),s=Ud(),o=[u(Gd(),l=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...l.filenames.filter(m=>m!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];g.exports={languages:o,printers:{yaml:d},options:h,parsers:s}}}),Wd=ie({"src/languages.js"(c,g){"use strict";pe(),g.exports=[Fh(),Gh(),Qh(),id(),fd(),Bd(),qd()]}});pe();var{version:Jd}=n(),oi=Uf(),{getSupportInfo:Yd}=Fu(),Xd=Gf(),zd=Wd(),Hd=Ft();function On(c){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];let s=d[g]||{},o=s.plugins||[];return d[g]=Object.assign(Object.assign({},s),{},{plugins:[...zd,...Array.isArray(o)?o:Object.values(o)]}),c(...d)}}var Ju=On(oi.formatWithCursor);be.exports={formatWithCursor:Ju,format(c,g){return Ju(c,g).formatted},check(c,g){let{formatted:u}=Ju(c,g);return u===c},doc:Hd,getSupportInfo:On(Yd,0),version:Jd,util:Xd,__debug:{parse:On(oi.parse),formatAST:On(oi.formatAST),formatDoc:On(oi.formatDoc),printToDoc:On(oi.printToDoc),printDocToString:On(oi.printDocToString)}}});return ps()})});var Ep=Ot(au=>{Ze();et();"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.DOCTYPE_SHORTCUT_REGISTRY=void 0;au.DOCTYPE_SHORTCUT_REGISTRY={"<!doctype html>":"doctype html",'<?xml version="1.0" encoding="utf-8" ?>':"doctype xml",'<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">':"doctype transitional",'<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">':"doctype strict",'<!doctype html public "-//w3c//dtd xhtml 1.0 frameset//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-frameset.dtd">':"doctype frameset",'<!doctype html public "-//w3c//dtd xhtml 1.1//en" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">':"doctype 1.1",'<!doctype html public "-//w3c//dtd xhtml basic 1.1//en" "http://www.w3.org/tr/xhtml-basic/xhtml-basic11.dtd">':"doctype basic",'<!doctype html public "-//wapforum//dtd xhtml mobile 1.2//en" "http://www.openmobilealliance.org/tech/dtd/xhtml-mobile12.dtd">':"doctype mobile",'<!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd">':"doctype plist"}});var vp=Ot(Tn=>{Ze();et();"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.partialSort=Tn.stableSort=Tn.compareAttributeToken=void 0;function ay(t,e,r,i,p){let k=i.map(je=>new RegExp(je)).reverse(),B=p.map(je=>new RegExp(je)),se=t.name,ye=e.name;if(k.length>0){let je=k.findIndex(dt=>dt.test(se)),Je=k.findIndex(dt=>dt.test(ye)),Xe=je-Je;if(Xe>0)return-1;if(Xe<0)return 1}if(B.length>0){let je=B.findIndex(dt=>dt.test(se)),Je=B.findIndex(dt=>dt.test(ye)),Xe=je-Je;if(Xe>0)return 1;if(Xe<0)return-1}switch(r){case"asc":{if(se>ye)return 1;if(se<ye)return-1;break}case"desc":{if(se>ye)return-1;if(se<ye)return 1;break}}return 0}Tn.compareAttributeToken=ay;function xp(t,e){let r=t.map((i,p)=>[i,p]);return r.sort((i,p)=>{let k=e(i[0],p[0]);return k!==0?k:i[1]-p[1]}),r.map(([i])=>i)}Tn.stableSort=xp;function oy(t,e,r,i){let p=t.slice(0,e),k=t.slice(r),B=t.slice(e,r),se=xp(B,i);return[...p,...se,...k]}Tn.partialSort=oy});var Cp=Ot(ou=>{Ze();et();"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.formatEmptyAttribute=void 0;var ly=[!0,'""',"''"];function cy(t,e,r){let{val:i,name:p}=t;if(r.map(se=>new RegExp(se)).some(se=>se.test(p))){t.val===!0&&(t.val='""');return}if(!(e==="as-is"||!ly.includes(i)))switch(e){case"all":{t.val===!0&&(t.val='""');break}case"none":{(t.val==='""'||t.val==="''")&&(t.val=!0);break}}}ou.formatEmptyAttribute=cy});var lu=Ot(rr=>{Ze();et();"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.detectFramework=rr.detectDangerousQuoteCombination=rr.makeString=rr.handleBracketSpacing=rr.isMultilineInterpolation=rr.isSingleLineWithInterpolation=rr.isQuoted=rr.isWrappedWith=rr.isStyleAttribute=rr.unwrapLineFeeds=rr.previousTypeAttributeToken=rr.previousNormalAttributeToken=rr.previousTagToken=void 0;function py(t,e){for(let r=e-1;r>=0;r--){let i=t[r];if(!i)return;if(i.type==="tag")return i}}rr.previousTagToken=py;function fy(t,e){for(let r=e-1;r>0;r--){let i=t[r];if(!i||i.type==="start-attributes")return;if(i.type==="attribute"&&i.name!=="class"&&i.name!=="id")return i}}rr.previousNormalAttributeToken=fy;function hy(t,e){for(let r=e-1;r>0;r--){let i=t[r];if(!i||i.type==="start-attributes"||i.type==="tag")return;if(i.type==="attribute"&&i.name==="type")return i}}rr.previousTypeAttributeToken=hy;function dy(t){return t.includes(`
|
|
193
184
|
`)?t.split(`
|
|
194
|
-
`).map(
|
|
195
|
-
`)}tr.isMultilineInterpolation=fy;function dy(t,r,[n,v]=["{{","}}"]){return t?`${n} ${r} ${v}`:`${n}${r}${v}`}tr.handleBracketSpacing=dy;function hy(t,r,n=!1){let v=r==='"'?"'":'"',V=t.replace(/\\([\s\S])|(['"])/g,(se,ae,De)=>ae===v?ae:De===r?`\\${De}`:De||(n&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(ae)?ae:`\\${ae}`));return r+V+r}tr.makeString=hy;function gy(t,r,n,v){let V=t.indexOf(r),se=t.indexOf(n),ae=t.indexOf("`");return V>=0&&se>=0&&se>V&&(ae<0||V<ae)?(v.log({code:t,quotes:r,otherQuotes:n,q1:V,q2:se,qb:ae}),!0):!1}tr.detectDangerousQuoteCombination=gy;function my(){try{let t=Object.keys(process.env).filter(r=>r.startsWith("npm_package_")).filter(r=>/(dev)?[Dd]ependencies_+/.test(r));if(t.some(r=>r.includes("vue")&&!r.includes("vuepress")))return"vue";if(t.some(r=>r.includes("svelte")))return"svelte";if(t.some(r=>r.includes("angular")))return"angular"}catch{return"auto"}return"auto"}tr.detectFramework=my});var Pp=gt(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.isAngularInterpolation=zr.isAngularDirective=zr.isAngularAction=zr.isAngularBinding=void 0;var kp=ru();function yy(t){return t.length>=3&&t[0]==="["&&t[t.length-1]==="]"}zr.isAngularBinding=yy;function Dy(t){return t.length>=3&&t[0]==="("&&t[t.length-1]===")"}zr.isAngularAction=Dy;function Ey(t){return t.length>=2&&t[0]==="*"}zr.isAngularDirective=Ey;function vy(t){return t.length>=5&&(0,kp.isQuoted)(t)&&(0,kp.isWrappedWith)(t,"{{","}}",1)&&!t.includes("{{",3)}zr.isAngularInterpolation=vy});var _p=gt(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.getScriptParserName=void 0;var by=/\+(json|yaml)$/i,Cy=/(^("|'|`))|(("|'|`)$)/g,xy=new Map([["application/ecmascript","babel"],["application/javascript","babel"],["application/json","json"],["text/ecmascript","babel"],["text/javascript","babel"],["text/markdown","markdown"],["text/typescript","typescript"],["module","babel"]]);function Ay(t){if(!t)return"babel";let r=t.val;if(typeof r!="string")return;let n=r.replace(Cy,"");if(!n)return"babel";let v=by.exec(n);return v?v[1]:xy.get(n)}nu.getScriptParserName=Ay});var Np=gt(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.isSvelteInterpolation=void 0;var Bp=ru();function Sy(t){return t.length>=3&&(0,Bp.isQuoted)(t)&&(0,Bp.isWrappedWith)(t,"{","}",1)&&!t.includes("{",2)}iu.isSvelteInterpolation=Sy});var Ip=gt(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.isVueVDirective=Tr.isVueVOnExpression=Tr.isVueVBindExpression=Tr.isVueVForWithOf=Tr.isVueExpression=Tr.isVueEventBinding=void 0;function Fy(t){return/^(v-on:|@).*/.test(t)}Tr.isVueEventBinding=Fy;function Ty(t){return/^((v-(bind|slot))?:|v-(model|slot|if|for|else-if|text|html|t)|#).*/.test(t)}Tr.isVueExpression=Ty;function wy(t,r){return t==="v-for"&&r.includes("of")}Tr.isVueVForWithOf=wy;function ky(t){return t==="v-bind"}Tr.isVueVBindExpression=ky;function Py(t){return t==="v-on"}Tr.isVueVOnExpression=Py;function _y(t){return t.startsWith("v-")}Tr.isVueVDirective=_y});var Rp=gt(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.PugPrinter=void 0;var rn=wc(),By=xp(),Ny=Ap(),Vt=Ts(),Op=Fp(),Iy=Tp(),Oy=la(),Lp=ca(),su=Pp(),Zt=ru(),Ly=_p(),jy=Np(),oi=Ip(),jp=class{constructor(r,n,v){this.content=r,this.tokens=n,this.options=v,this.result="",this.currentIndex=-1,this.currentLineLength=0,this.indentLevel=0,this.framework="auto",this.currentTagPosition=0,this.possibleIdPosition=0,this.possibleClassPosition=0,this.previousAttributeRemapped=!1,this.wrapAttributes=!1,this.pipelessText=!1,this.pipelessComment=!1,this.currentlyInPugInterpolation=!1,this.classLiteralToAttribute=[],this.classLiteralAfterAttributes=[],this.indentString=v.pugUseTabs?" ":" ".repeat(v.pugTabWidth),v.pugSingleFileComponentIndentation&&this.indentLevel++,this.framework=v.pugFramework!=="auto"?v.pugFramework:(0,Zt.detectFramework)(),this.quotes=this.options.pugSingleQuote?"'":'"',this.otherQuotes=this.options.pugSingleQuote?'"':"'";let V=(0,Oy.resolvePugAttributeSeparatorOption)(v.pugAttributeSeparator);this.alwaysUseAttributeSeparator=V==="always",this.neverUseAttributeSeparator=V==="none";let se=v.pugWrapAttributesPattern;this.wrapAttributesPattern=se?new RegExp(se):null,this.codeInterpolationOptions={semi:v.pugSemi??v.semi,singleQuote:v.pugSingleQuote??v.singleQuote,bracketSpacing:v.pugBracketSpacing??v.bracketSpacing,arrowParens:v.pugArrowParens??v.arrowParens,printWidth:9e3,endOfLine:"lf",useTabs:v.pugUseTabs??v.useTabs,tabWidth:v.pugTabWidth??v.tabWidth,bracketSameLine:v.pugBracketSameLine??v.bracketSameLine}}get computedIndent(){switch(this.previousToken?.type){case"newline":case"outdent":return this.indentString.repeat(this.indentLevel);case"indent":return this.indentString;case"start-pug-interpolation":return""}return this.options.pugSingleFileComponentIndentation?this.indentString:""}get previousToken(){return this.tokens[this.currentIndex-1]}get nextToken(){return this.tokens[this.currentIndex+1]}build(){Vt.logger.isDebugEnabled()&&Vt.logger.debug("[PugPrinter]:",JSON.stringify(this.tokens));let r=[];if(this.tokens[0]?.type==="text")r.push("| ");else if(this.tokens[0]?.type==="eos")return"";let n=this.getNextToken();for(;n;){Vt.logger.debug("[PugPrinter]:",JSON.stringify(n));try{switch(n.type){case"attribute":case"class":case"end-attributes":case"id":case"eos":this.result=r.join(""),this[n.type](n),r.length=0,r.push(this.result);break;case"tag":case"start-attributes":case"interpolation":case"call":case":":this.result=r.join("");default:{if(typeof this[n.type]!="function")throw new Error("Unhandled token: "+JSON.stringify(n));r.push(this[n.type](n));break}}}catch(v){throw new Error(v)}n=this.getNextToken()}return r.join("")}getNextToken(){return this.currentIndex++,this.tokens[this.currentIndex]??null}quoteString(r){return`${this.quotes}${r}${this.quotes}`}checkTokenType(r,n,v=!1){return!!r&&n.includes(r.type)!==v}tokenNeedsSeparator(r){return this.neverUseAttributeSeparator?!1:this.alwaysUseAttributeSeparator||/^(\(|\[|:).*/.test(r.name)}getUnformattedContentLines(r,n){let{start:v}=r.loc,{end:V}=n.loc,se=this.content.split(/\r\n|\n|\r/),ae=v.line-1,De=V.line-1,Le=[],rt=se[ae];rt!==void 0&&Le.push(rt.slice(v.column-1));for(let Lt=ae+1;Lt<De;Lt++){let xt=se[Lt];xt!==void 0&&Le.push(xt)}let vt=se[De];return vt!==void 0&&Le.push(vt.slice(0,V.column-1)),Le}replaceTagWithLiteralIfPossible(r,n){if(this.options.pugExplicitDiv)return;let v=Math.max(this.possibleIdPosition,this.possibleClassPosition),V=this.result.slice(this.currentTagPosition,v),se=V.replace(r,n);if(se!==V){let ae=this.result.slice(0,this.currentTagPosition),De=this.result.slice(v);this.result=`${ae}${se}${De}`;let Le=V.length-se.length;this.possibleIdPosition-=Le,this.possibleClassPosition-=Le}}frameworkFormat(r){let n={...this.codeInterpolationOptions,singleQuote:this.options.singleQuote};switch(this.framework){case"angular":n.parser="__ng_interpolation";break;case"svelte":case"vue":default:n.parser="babel",n.semi=!1}let v=(0,rn.format)(r,n);return v[0]===";"&&(v=v.slice(1)),v}formatText(r){let n="";for(;r;){let v=r.indexOf("{{");if(v!==-1){n+=r.slice(0,v),r=r.slice(v+2);let V=r.indexOf("}}");if(V!==-1){let se=r.slice(0,V);try{if((0,Zt.detectDangerousQuoteCombination)(se,this.quotes,this.otherQuotes,Vt.logger)){Vt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",se),n+=(0,Zt.handleBracketSpacing)(this.options.pugBracketSpacing,se),r=r.slice(V+2);continue}else se=this.frameworkFormat(se)}catch(ae){typeof ae=="string"?ae.includes("Unexpected token Lexer Error")?ae.includes("Unexpected character [`]")||Vt.logger.debug("[PugPrinter:formatText]: Using fallback strategy"):ae.includes("Bindings cannot contain assignments")?Vt.logger.warn("[PugPrinter:formatText]: Bindings should not contain assignments:",`code: \`${se.trim()}\``):ae.includes("Unexpected token '('")?this.framework!=="vue"&&Vt.logger.warn("[PugPrinter:formatText]: Found unexpected token `(`.",`code: \`${se.trim()}\``):ae.includes("Missing expected `)`")?this.framework!=="vue"&&Vt.logger.warn("[PugPrinter:formatText]: Missing expected `)`.",`code: \`${se.trim()}\``):ae.includes("Missing expected `:`")?this.framework!=="vue"&&Vt.logger.warn("[PugPrinter:formatText]: Missing expected `:`.",`code: \`${se.trim()}\``):Vt.logger.warn("[PugPrinter:formatText]: ",ae):Vt.logger.warn("[PugPrinter:formatText]: ",ae);try{se=(0,rn.format)(se,{parser:"babel",...this.codeInterpolationOptions,semi:!1}),se[0]===";"&&(se=se.slice(1))}catch(De){Vt.logger.warn(De)}}se=(0,Zt.unwrapLineFeeds)(se),n+=(0,Zt.handleBracketSpacing)(this.options.pugBracketSpacing,se),r=r.slice(V+2)}else n+="{{",n+=r,r=""}else{let V=r.indexOf("{");if(this.options.pugFramework==="svelte"&&V!==-1){n+=r.slice(0,V),r=r.slice(V+1);let se=r.indexOf("}");if(se!==-1){let ae=r.slice(0,se);try{if((0,Zt.detectDangerousQuoteCombination)(ae,this.quotes,this.otherQuotes,Vt.logger)){Vt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",ae),n+=(0,Zt.handleBracketSpacing)(this.options.pugBracketSpacing,ae),r=r.slice(se+1);continue}else ae=this.frameworkFormat(ae)}catch(De){Vt.logger.warn("[PugPrinter:formatText]: ",De);try{ae=(0,rn.format)(ae,{parser:"babel",...this.codeInterpolationOptions,semi:!1}),ae[0]===";"&&(ae=ae.slice(1))}catch(Le){Vt.logger.warn(Le)}}ae=(0,Zt.unwrapLineFeeds)(ae),n+=(0,Zt.handleBracketSpacing)(this.options.pugBracketSpacing,ae,["{","}"]),r=r.slice(se+1)}else n+="{",n+=r,r=""}else n+=r,r=""}}return n}formatDelegatePrettier(r,n,{trimTrailingSemicolon:v=!1}={}){r=r.trim();let V={...this.codeInterpolationOptions},se=(0,Zt.isQuoted)(r);return se&&(V.singleQuote=!this.options.pugSingleQuote,r=r.slice(1,-1)),r=(0,rn.format)(r,{parser:n,...V}),this.quotes==='"'?r=r.replace(/"/g,'\\"'):r=r.replace(/'/g,"\\'"),r=(0,Zt.unwrapLineFeeds)(r),v&&r[r.length-1]===";"&&(r=r.slice(0,-1)),se?this.quoteString(r):r}formatStyleAttribute(r){return this.formatDelegatePrettier(r,"css",{trimTrailingSemicolon:!0})}formatVueEventBinding(r){return this.formatDelegatePrettier(r,"__vue_event_binding",{trimTrailingSemicolon:!0})}formatVueExpression(r){return this.formatDelegatePrettier(r,"__vue_expression")}formatAngularBinding(r){return this.formatDelegatePrettier(r,"__ng_binding")}formatAngularAction(r){return this.formatDelegatePrettier(r,"__ng_action")}formatAngularDirective(r){return this.formatDelegatePrettier(r,"__ng_directive")}formatFrameworkInterpolation(r,n,[v,V]){if(r=r.slice(1,-1),r=r.slice(v.length,-V.length),r=r.trim(),r.includes(`\\${this.otherQuotes}`))Vt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",r);else{let se={...this.codeInterpolationOptions,singleQuote:!this.options.pugSingleQuote};try{r=(0,rn.format)(r,{parser:n,...se})}catch(ae){Vt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",r)}r=(0,Zt.unwrapLineFeeds)(r)}return r=(0,Zt.handleBracketSpacing)(this.options.pugBracketSpacing,r,[v,V]),this.quoteString(r)}formatAngularInterpolation(r){return this.formatFrameworkInterpolation(r,"__ng_interpolation",["{{","}}"])}formatSvelteInterpolation(r){return this.formatFrameworkInterpolation(r,"__ng_interpolation",["{","}"])}tag(r){let n=r.val;n==="div"&&!this.options.pugExplicitDiv&&this.nextToken&&(this.nextToken.type==="class"&&this.options.pugClassLocation==="before-attributes"||this.nextToken.type==="id")&&(n=""),this.currentLineLength+=n.length;let v=`${this.computedIndent}${n}`;return Vt.logger.debug("tag",{result:v,val:r.val,length:r.val.length},this.currentLineLength),this.currentTagPosition=this.result.length+this.computedIndent.length,this.possibleIdPosition=this.result.length+v.length,this.possibleClassPosition=this.result.length+v.length,v}["start-attributes"](r){let n="";if(this.nextToken?.type==="attribute"){this.previousAttributeRemapped=!1,this.possibleClassPosition=this.result.length,n="(",Vt.logger.debug(this.currentLineLength);let v=this.nextToken,V=this.currentIndex+1,se=!1,ae=0;for(;v.type==="attribute";){switch(!this.currentlyInPugInterpolation&&!this.wrapAttributes&&this.wrapAttributesPattern?.test(v.name)&&(this.wrapAttributes=!0),v.name){case"class":case"id":{se=!0;let De=v.val.toString();(0,Zt.isQuoted)(De)&&(this.currentLineLength-=2),this.currentLineLength+=1+De.length,Vt.logger.debug({tokenName:v.name,length:v.name.length},this.currentLineLength);break}default:{this.currentLineLength+=v.name.length,ae>0&&(this.currentLineLength+=1,this.tokenNeedsSeparator(v)&&(this.currentLineLength+=1)),Vt.logger.debug({tokenName:v.name,length:v.name.length},this.currentLineLength);let De=v.val.toString();De.length>0&&De!=="true"&&(this.currentLineLength+=1+De.length,Vt.logger.debug({tokenVal:De,length:De.length},this.currentLineLength)),ae++;break}}v=this.tokens[++V]}if(Vt.logger.debug("after token",this.currentLineLength),se&&this.previousToken?.type==="tag"&&this.previousToken.val==="div"&&!this.options.pugExplicitDiv&&(this.currentLineLength-=3),ae>0&&(this.currentLineLength+=2),this.options.pugClassLocation==="after-attributes"){let De=V,Le=this.tokens[++De];for(;Le.type==="class";){let rt=Le.val.toString();this.currentLineLength+=1+rt.length,Vt.logger.debug({tokenVal:rt,length:rt.length},this.currentLineLength),Le=this.tokens[++De]}}if(Vt.logger.debug("final line length",{currentLineLength:this.currentLineLength}),!this.currentlyInPugInterpolation&&!this.wrapAttributes&&(this.currentLineLength>this.options.pugPrintWidth||this.options.pugWrapAttributesThreshold>=0&&ae>this.options.pugWrapAttributesThreshold)&&(this.wrapAttributes=!0),this.options.pugSortAttributes!=="as-is"||this.options.pugSortAttributesEnd.length>0||this.options.pugSortAttributesBeginning.length>0){let De=this.tokens.indexOf(r),Le=V;Le-De>2&&(this.tokens=(0,Op.partialSort)(this.tokens,De+1,Le,(rt,vt)=>(0,Op.compareAttributeToken)(rt,vt,this.options.pugSortAttributes,this.options.pugSortAttributesBeginning,this.options.pugSortAttributesEnd)))}}return n}attribute(r){if((0,Iy.formatEmptyAttribute)(r,this.options.pugEmptyAttributes,this.options.pugEmptyAttributesForceQuotes),typeof r.val=="string"&&(0,Zt.isQuoted)(r.val)&&r.val[0]!=="`"){if(r.name==="class"&&this.options.pugClassNotation==="literal"){let V=r.val.slice(1,-1).trim().split(/\s+/),se=[],ae=[],De=/^-?[_a-zA-Z]+[_a-zA-Z0-9-]*$/;for(let Le of V)De.test(Le)?this.options.pugClassLocation==="after-attributes"?this.classLiteralAfterAttributes.push(Le):ae.push(Le):se.push(Le);if(ae.length>0){let Le=this.possibleClassPosition;this.result=[this.result.slice(0,Le),".",ae.join("."),this.result.slice(Le)].join(""),this.possibleClassPosition+=1+ae.join(".").length,this.options.pugClassLocation==="before-attributes"&&this.replaceTagWithLiteralIfPossible(/div\./,".")}if(se.length>0)r.val=(0,Zt.makeString)(se.join(" "),this.quotes),this.previousAttributeRemapped=!1;else{this.previousAttributeRemapped=!0;return}}else if(r.name==="id"&&this.options.pugIdNotation!=="as-is"){let v=r.val;if(v=v.slice(1,-1),v=v.trim(),!/^-?[_a-zA-Z]+[_a-zA-Z0-9-]*$/.test(v)){v=(0,Zt.makeString)(v,this.quotes),this.result+="id",r.mustEscape===!1&&(this.result+="!"),this.result+=`=${v}`;return}let se=this.possibleIdPosition,ae=`#${v}`;this.result=[this.result.slice(0,se),ae,this.result.slice(se)].join(""),this.possibleClassPosition+=ae.length,this.replaceTagWithLiteralIfPossible(/div#/,"#"),this.previousAttributeRemapped=!0;return}}let n=(0,Zt.previousNormalAttributeToken)(this.tokens,this.currentIndex);if(this.previousToken?.type==="attribute"&&(!this.previousAttributeRemapped||n)&&(this.tokenNeedsSeparator(r)&&(this.result+=","),this.wrapAttributes||(this.result+=" ")),this.previousAttributeRemapped=!1,this.wrapAttributes&&(this.result+=`
|
|
196
|
-
`,this.result+=this.indentString.repeat(this.indentLevel+1)),this.result+=`${
|
|
197
|
-
`),
|
|
198
|
-
`,
|
|
199
|
-
`),this.result+=this.indentString.repeat(this.indentLevel)),this.wrapAttributes=!1,this.classLiteralToAttribute.length){this.previousToken?.type==="start-attributes"?this.result+="(":this.previousToken?.type==="attribute"&&(this.result+=" ");let
|
|
200
|
-
${this.indentString.repeat(this.indentLevel)}`;return this.indentLevel++,this.currentLineLength=
|
|
201
|
-
`),
|
|
202
|
-
`),this.indentLevel--,this.currentLineLength=1+this.indentString.repeat(this.indentLevel).length,
|
|
185
|
+
`).map(e=>e.trim()).map(e=>(e[0]==="."?"":" ")+e).join("").trim():t}rr.unwrapLineFeeds=dy;function my(t,e){return t==="style"&&bp(e)}rr.isStyleAttribute=my;function gy(t,e,r,i=0){return t.startsWith(e,i)&&t.endsWith(r,t.length-i)}rr.isWrappedWith=gy;function bp(t){return/^(["'`])(.*)\1$/.test(t)?!new RegExp(`${t[0]}(?<!\\\\${t[0]})`).test(t.slice(1,-1)):!1}rr.isQuoted=bp;function yy(t){return/^`[\s\S]*`$/.test(t)&&t.includes("${")}rr.isSingleLineWithInterpolation=yy;function Dy(t){return/^`[\s\S]*`$/m.test(t)&&t.includes(`
|
|
186
|
+
`)}rr.isMultilineInterpolation=Dy;function Ey(t,e,[r,i]=["{{","}}"]){return t?`${r} ${e} ${i}`:`${r}${e}${i}`}rr.handleBracketSpacing=Ey;function xy(t,e,r=!1){let i=e==='"'?"'":'"',p=t.replace(/\\([\s\S])|(['"])/g,(k,B,se)=>B===i?B:se===e?`\\${se}`:se||(r&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(B)?B:`\\${B}`));return e+p+e}rr.makeString=xy;function vy(t,e,r,i){let p=t.indexOf(e),k=t.indexOf(r),B=t.indexOf("`");return p>=0&&k>=0&&k>p&&(B<0||p<B)?(i.log({code:t,quotes:e,otherQuotes:r,q1:p,q2:k,qb:B}),!0):!1}rr.detectDangerousQuoteCombination=vy;function Cy(){try{let t=Object.keys(_t.env).filter(e=>e.startsWith("npm_package_")).filter(e=>/(dev)?[Dd]ependencies_+/.test(e));if(t.some(e=>e.includes("vue")&&!e.includes("vuepress")))return"vue";if(t.some(e=>e.includes("svelte")))return"svelte";if(t.some(e=>e.includes("angular")))return"angular"}catch{return"auto"}return"auto"}rr.detectFramework=Cy});var Fp=Ot(rn=>{Ze();et();"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.isAngularInterpolation=rn.isAngularDirective=rn.isAngularAction=rn.isAngularBinding=void 0;var Ap=lu();function by(t){return t.length>=3&&t[0]==="["&&t[t.length-1]==="]"}rn.isAngularBinding=by;function Ay(t){return t.length>=3&&t[0]==="("&&t[t.length-1]===")"}rn.isAngularAction=Ay;function Fy(t){return t.length>=2&&t[0]==="*"}rn.isAngularDirective=Fy;function Sy(t){return t.length>=5&&(0,Ap.isQuoted)(t)&&(0,Ap.isWrappedWith)(t,"{{","}}",1)&&!t.includes("{{",3)}rn.isAngularInterpolation=Sy});var Sp=Ot(cu=>{Ze();et();"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.getScriptParserName=void 0;var wy=/\+(json|yaml)$/i,Ty=/(^("|'|`))|(("|'|`)$)/g,ky=new Map([["application/ecmascript","babel"],["application/javascript","babel"],["application/json","json"],["text/ecmascript","babel"],["text/javascript","babel"],["text/markdown","markdown"],["text/typescript","typescript"],["module","babel"]]);function _y(t){if(!t)return"babel";let e=t.val;if(typeof e!="string")return;let r=e.replace(Ty,"");if(!r)return"babel";let i=wy.exec(r);return i?i[1]:ky.get(r)}cu.getScriptParserName=_y});var Tp=Ot(pu=>{Ze();et();"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.isSvelteInterpolation=void 0;var wp=lu();function Py(t){return t.length>=3&&(0,wp.isQuoted)(t)&&(0,wp.isWrappedWith)(t,"{","}",1)&&!t.includes("{",2)}pu.isSvelteInterpolation=Py});var kp=Ot(Ir=>{Ze();et();"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Ir.isVueVDirective=Ir.isVueVOnExpression=Ir.isVueVBindExpression=Ir.isVueVForWithOf=Ir.isVueExpression=Ir.isVueEventBinding=void 0;function By(t){return/^(v-on:|@).*/.test(t)}Ir.isVueEventBinding=By;function Iy(t){return/^((v-(bind|slot))?:|v-(model|slot|if|for|else-if|text|html|t)|#).*/.test(t)}Ir.isVueExpression=Iy;function Ny(t,e){return t==="v-for"&&e.includes("of")}Ir.isVueVForWithOf=Ny;function Ly(t){return t==="v-bind"}Ir.isVueVBindExpression=Ly;function Oy(t){return t==="v-on"}Ir.isVueVOnExpression=Oy;function Ry(t){return t.startsWith("v-")}Ir.isVueVDirective=Ry});var Ip=Ot(hu=>{Ze();et();"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.PugPrinter=void 0;var jy={types:{isNativeError:()=>!1}},dn=Dp(),My=Ep(),Jt=Qs(),_p=vp(),$y=Cp(),Vy=Pa(),Pp=Ba(),fu=Fp(),er=lu(),Uy=Sp(),Gy=Tp(),Fi=kp(),Bp=class{content;tokens;options;result="";currentIndex=-1;currentLineLength=0;indentString;indentLevel=0;framework="auto";quotes;otherQuotes;alwaysUseAttributeSeparator;neverUseAttributeSeparator;wrapAttributesPattern;codeInterpolationOptions;currentTagPosition=0;possibleIdPosition=0;possibleClassPosition=0;previousAttributeRemapped=!1;wrapAttributes=!1;pipelessText=!1;pipelessComment=!1;currentlyInPugInterpolation=!1;classLiteralToAttribute=[];classLiteralAfterAttributes=[];constructor(e,r,i){this.content=e,this.tokens=r,this.options=i,this.indentString=i.pugUseTabs?" ":" ".repeat(i.pugTabWidth),i.pugSingleFileComponentIndentation&&this.indentLevel++,this.framework=i.pugFramework!=="auto"?i.pugFramework:(0,er.detectFramework)(),this.quotes=this.options.pugSingleQuote?"'":'"',this.otherQuotes=this.options.pugSingleQuote?'"':"'";let p=(0,Vy.resolvePugAttributeSeparatorOption)(i.pugAttributeSeparator);this.alwaysUseAttributeSeparator=p==="always",this.neverUseAttributeSeparator=p==="none";let k=i.pugWrapAttributesPattern;this.wrapAttributesPattern=k?new RegExp(k):null,this.codeInterpolationOptions={semi:i.pugSemi??i.semi,singleQuote:i.pugSingleQuote??i.singleQuote,bracketSpacing:i.pugBracketSpacing??i.bracketSpacing,arrowParens:i.pugArrowParens??i.arrowParens,printWidth:9e3,endOfLine:"lf",useTabs:i.pugUseTabs??i.useTabs,tabWidth:i.pugTabWidth??i.tabWidth,bracketSameLine:i.pugBracketSameLine??i.bracketSameLine}}get computedIndent(){switch(this.previousToken?.type){case"newline":case"outdent":return this.indentString.repeat(this.indentLevel);case"indent":return this.indentString;case"start-pug-interpolation":return""}return this.options.pugSingleFileComponentIndentation?this.indentString:""}get previousToken(){return this.tokens[this.currentIndex-1]}get nextToken(){return this.tokens[this.currentIndex+1]}build(){Jt.logger.isDebugEnabled()&&Jt.logger.debug("[PugPrinter]:",JSON.stringify(this.tokens));let e=[];if(this.tokens[0]?.type==="text")e.push("| ");else if(this.tokens[0]?.type==="eos")return"";let r=this.getNextToken();for(;r;){Jt.logger.debug("[PugPrinter]:",JSON.stringify(r));try{switch(r.type){case"attribute":case"class":case"end-attributes":case"id":case"eos":this.result=e.join(""),this[r.type](r),e.length=0,e.push(this.result);break;case"tag":case"start-attributes":case"interpolation":case"call":case":":this.result=e.join("");default:{if(typeof this[r.type]!="function")throw new Error("Unhandled token: "+JSON.stringify(r));e.push(this[r.type](r));break}}}catch(i){throw new Error(i)}r=this.getNextToken()}return e.join("")}getNextToken(){return this.currentIndex++,this.tokens[this.currentIndex]??null}quoteString(e){return`${this.quotes}${e}${this.quotes}`}checkTokenType(e,r,i=!1){return!!e&&r.includes(e.type)!==i}tokenNeedsSeparator(e){return this.neverUseAttributeSeparator?!1:this.alwaysUseAttributeSeparator||/^(\(|\[|:).*/.test(e.name)}getUnformattedContentLines(e,r){let{start:i}=e.loc,{end:p}=r.loc,k=this.content.split(/\r\n|\n|\r/),B=i.line-1,se=p.line-1,ye=[],je=k[B];je!==void 0&&ye.push(je.slice(i.column-1));for(let Xe=B+1;Xe<se;Xe++){let dt=k[Xe];dt!==void 0&&ye.push(dt)}let Je=k[se];return Je!==void 0&&ye.push(Je.slice(0,p.column-1)),ye}replaceTagWithLiteralIfPossible(e,r){if(this.options.pugExplicitDiv)return;let i=Math.max(this.possibleIdPosition,this.possibleClassPosition),p=this.result.slice(this.currentTagPosition,i),k=p.replace(e,r);if(k!==p){let B=this.result.slice(0,this.currentTagPosition),se=this.result.slice(i);this.result=`${B}${k}${se}`;let ye=p.length-k.length;this.possibleIdPosition-=ye,this.possibleClassPosition-=ye}}frameworkFormat(e){let r={...this.codeInterpolationOptions,singleQuote:this.options.singleQuote};switch(this.framework){case"angular":r.parser="__ng_interpolation";break;case"svelte":case"vue":default:r.parser="babel",r.semi=!1}let i=(0,dn.format)(e,r);return i[0]===";"&&(i=i.slice(1)),i}formatText(e){let r="";for(;e;){let i=e.indexOf("{{");if(i!==-1){r+=e.slice(0,i),e=e.slice(i+2);let p=e.indexOf("}}");if(p!==-1){let k=e.slice(0,p);try{if((0,er.detectDangerousQuoteCombination)(k,this.quotes,this.otherQuotes,Jt.logger)){Jt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",k),r+=(0,er.handleBracketSpacing)(this.options.pugBracketSpacing,k),e=e.slice(p+2);continue}else k=this.frameworkFormat(k)}catch(B){typeof B=="string"?B.includes("Unexpected token Lexer Error")?B.includes("Unexpected character [`]")||Jt.logger.debug("[PugPrinter:formatText]: Using fallback strategy"):B.includes("Bindings cannot contain assignments")?Jt.logger.warn("[PugPrinter:formatText]: Bindings should not contain assignments:",`code: \`${k.trim()}\``):B.includes("Unexpected token '('")?this.framework!=="vue"&&Jt.logger.warn("[PugPrinter:formatText]: Found unexpected token `(`.",`code: \`${k.trim()}\``):B.includes("Missing expected `)`")?this.framework!=="vue"&&Jt.logger.warn("[PugPrinter:formatText]: Missing expected `)`.",`code: \`${k.trim()}\``):B.includes("Missing expected `:`")?this.framework!=="vue"&&Jt.logger.warn("[PugPrinter:formatText]: Missing expected `:`.",`code: \`${k.trim()}\``):Jt.logger.warn("[PugPrinter:formatText]: ",B):Jt.logger.warn("[PugPrinter:formatText]: ",B);try{k=(0,dn.format)(k,{parser:"babel",...this.codeInterpolationOptions,semi:!1}),k[0]===";"&&(k=k.slice(1))}catch(se){Jt.logger.warn(se)}}k=(0,er.unwrapLineFeeds)(k),r+=(0,er.handleBracketSpacing)(this.options.pugBracketSpacing,k),e=e.slice(p+2)}else r+="{{",r+=e,e=""}else{let p=e.indexOf("{");if(this.options.pugFramework==="svelte"&&p!==-1){r+=e.slice(0,p),e=e.slice(p+1);let k=e.indexOf("}");if(k!==-1){let B=e.slice(0,k);try{if((0,er.detectDangerousQuoteCombination)(B,this.quotes,this.otherQuotes,Jt.logger)){Jt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",B),r+=(0,er.handleBracketSpacing)(this.options.pugBracketSpacing,B),e=e.slice(k+1);continue}else B=this.frameworkFormat(B)}catch(se){Jt.logger.warn("[PugPrinter:formatText]: ",se);try{B=(0,dn.format)(B,{parser:"babel",...this.codeInterpolationOptions,semi:!1}),B[0]===";"&&(B=B.slice(1))}catch(ye){Jt.logger.warn(ye)}}B=(0,er.unwrapLineFeeds)(B),r+=(0,er.handleBracketSpacing)(this.options.pugBracketSpacing,B,["{","}"]),e=e.slice(k+1)}else r+="{",r+=e,e=""}else r+=e,e=""}}return r}formatDelegatePrettier(e,r,i={}){let{trimTrailingSemicolon:p=!1,trimLeadingSemicolon:k=!0}=i;e=e.trim();let B={...this.codeInterpolationOptions},se=(0,er.isQuoted)(e);return se&&(B.singleQuote=!this.options.pugSingleQuote,e=e.slice(1,-1)),e=(0,dn.format)(e,{parser:r,...B}),this.quotes==='"'?e=e.replace(/"/g,'\\"'):e=e.replace(/'/g,"\\'"),e=(0,er.unwrapLineFeeds)(e),p&&e[e.length-1]===";"&&(e=e.slice(0,-1)),k&&e[0]===";"&&(e=e.slice(1)),se?this.quoteString(e):e}formatStyleAttribute(e){return this.formatDelegatePrettier(e,"css",{trimTrailingSemicolon:!0})}formatVueEventBinding(e){return this.formatDelegatePrettier(e,"__vue_event_binding",{trimTrailingSemicolon:!0})}formatVueExpression(e){return this.formatDelegatePrettier(e,"__vue_expression")}formatAngularBinding(e){return this.formatDelegatePrettier(e,"__ng_binding")}formatAngularAction(e){return this.formatDelegatePrettier(e,"__ng_action")}formatAngularDirective(e){return this.formatDelegatePrettier(e,"__ng_directive")}formatFrameworkInterpolation(e,r,[i,p]){if(e=e.slice(1,-1),e=e.slice(i.length,-p.length),e=e.trim(),e.includes(`\\${this.otherQuotes}`))Jt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",e);else{let k={...this.codeInterpolationOptions,singleQuote:!this.options.pugSingleQuote};try{e=(0,dn.format)(e,{parser:r,...k})}catch(B){Jt.logger.warn("The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue:",e)}e=(0,er.unwrapLineFeeds)(e)}return e=(0,er.handleBracketSpacing)(this.options.pugBracketSpacing,e,[i,p]),this.quoteString(e)}formatAngularInterpolation(e){return this.formatFrameworkInterpolation(e,"__ng_interpolation",["{{","}}"])}formatSvelteInterpolation(e){return this.formatFrameworkInterpolation(e,"__ng_interpolation",["{","}"])}tag(e){let r=e.val;r==="div"&&!this.options.pugExplicitDiv&&this.nextToken&&(this.nextToken.type==="class"&&this.options.pugClassLocation==="before-attributes"||this.nextToken.type==="id")&&(r=""),this.currentLineLength+=r.length;let i=`${this.computedIndent}${r}`;return Jt.logger.debug("tag",{result:i,val:e.val,length:e.val.length},this.currentLineLength),this.currentTagPosition=this.result.length+this.computedIndent.length,this.possibleIdPosition=this.result.length+i.length,this.possibleClassPosition=this.result.length+i.length,i}["start-attributes"](e){let r="";if(this.nextToken?.type==="attribute"){this.previousAttributeRemapped=!1,this.possibleClassPosition=this.result.length,r="(",Jt.logger.debug(this.currentLineLength);let i=this.nextToken,p=this.currentIndex+1,k=!1,B=0;for(;i.type==="attribute";){switch(!this.currentlyInPugInterpolation&&!this.wrapAttributes&&this.wrapAttributesPattern?.test(i.name)&&(this.wrapAttributes=!0),i.name){case"class":case"id":{k=!0;let se=i.val.toString();(0,er.isQuoted)(se)&&(this.currentLineLength-=2),this.currentLineLength+=1+se.length,Jt.logger.debug({tokenName:i.name,length:i.name.length},this.currentLineLength);break}default:{this.currentLineLength+=i.name.length,B>0&&(this.currentLineLength+=1,this.tokenNeedsSeparator(i)&&(this.currentLineLength+=1)),Jt.logger.debug({tokenName:i.name,length:i.name.length},this.currentLineLength);let se=i.val.toString();se.length>0&&se!=="true"&&(this.currentLineLength+=1+se.length,Jt.logger.debug({tokenVal:se,length:se.length},this.currentLineLength)),B++;break}}i=this.tokens[++p]}if(Jt.logger.debug("after token",this.currentLineLength),k&&this.previousToken?.type==="tag"&&this.previousToken.val==="div"&&!this.options.pugExplicitDiv&&(this.currentLineLength-=3),B>0&&(this.currentLineLength+=2),this.options.pugClassLocation==="after-attributes"){let se=p,ye=this.tokens[++se];for(;ye.type==="class";){let je=ye.val.toString();this.currentLineLength+=1+je.length,Jt.logger.debug({tokenVal:je,length:je.length},this.currentLineLength),ye=this.tokens[++se]}}if(Jt.logger.debug("final line length",{currentLineLength:this.currentLineLength}),!this.currentlyInPugInterpolation&&!this.wrapAttributes&&(this.currentLineLength>this.options.pugPrintWidth||this.options.pugWrapAttributesThreshold>=0&&B>this.options.pugWrapAttributesThreshold)&&(this.wrapAttributes=!0),this.options.pugSortAttributes!=="as-is"||this.options.pugSortAttributesEnd.length>0||this.options.pugSortAttributesBeginning.length>0){let se=this.tokens.indexOf(e),ye=p;ye-se>2&&(this.tokens=(0,_p.partialSort)(this.tokens,se+1,ye,(je,Je)=>(0,_p.compareAttributeToken)(je,Je,this.options.pugSortAttributes,this.options.pugSortAttributesBeginning,this.options.pugSortAttributesEnd)))}}return r}attribute(e){if((0,$y.formatEmptyAttribute)(e,this.options.pugEmptyAttributes,this.options.pugEmptyAttributesForceQuotes),typeof e.val=="string"&&(0,er.isQuoted)(e.val)&&e.val[0]!=="`"){if(e.name==="class"&&this.options.pugClassNotation==="literal"){let p=e.val.slice(1,-1).trim().split(/\s+/),k=[],B=[],se=/^-?[_a-zA-Z]+[_a-zA-Z0-9-]*$/;for(let ye of p)se.test(ye)?this.options.pugClassLocation==="after-attributes"?this.classLiteralAfterAttributes.push(ye):B.push(ye):k.push(ye);if(B.length>0){let ye=this.possibleClassPosition;this.result=[this.result.slice(0,ye),".",B.join("."),this.result.slice(ye)].join(""),this.possibleClassPosition+=1+B.join(".").length,this.options.pugClassLocation==="before-attributes"&&this.replaceTagWithLiteralIfPossible(/div\./,".")}if(k.length>0)e.val=(0,er.makeString)(k.join(" "),this.quotes),this.previousAttributeRemapped=!1;else{this.previousAttributeRemapped=!0;return}}else if(e.name==="id"&&this.options.pugIdNotation!=="as-is"){let i=e.val;if(i=i.slice(1,-1),i=i.trim(),!/^-?[_a-zA-Z]+[_a-zA-Z0-9-]*$/.test(i)){i=(0,er.makeString)(i,this.quotes),this.result+="id",e.mustEscape===!1&&(this.result+="!"),this.result+=`=${i}`;return}let k=this.possibleIdPosition,B=`#${i}`;this.result=[this.result.slice(0,k),B,this.result.slice(k)].join(""),this.possibleClassPosition+=B.length,this.replaceTagWithLiteralIfPossible(/div#/,"#"),this.previousAttributeRemapped=!0;return}}let r=(0,er.previousNormalAttributeToken)(this.tokens,this.currentIndex);if(this.previousToken?.type==="attribute"&&(!this.previousAttributeRemapped||r)&&(this.tokenNeedsSeparator(e)&&(this.result+=","),this.wrapAttributes||(this.result+=" ")),this.previousAttributeRemapped=!1,this.wrapAttributes&&(this.result+=`
|
|
187
|
+
`,this.result+=this.indentString.repeat(this.indentLevel+1)),this.result+=`${e.name}`,typeof e.val=="boolean")e.val!==!0&&(this.result+=`=${e.val}`);else if(e.name==="class"&&this.options.pugClassNotation==="attribute"){let p=((0,er.isQuoted)(e.val)?e.val.slice(1,-1).trim():e.val).split(/\s+/);if(this.classLiteralToAttribute.length)for(let k=this.classLiteralToAttribute.length-1;k>-1;k--){let B=this.classLiteralToAttribute.splice(k,1)[0];B&&p.unshift(B)}this.result+=`=${(0,er.isQuoted)(e.val)?this.quoteString(p.join(" ")):p.join(" ")}`}else{let i=e.val;if(!(0,er.isMultilineInterpolation)(i)){if(!(0,er.isSingleLineWithInterpolation)(i))if((0,Fi.isVueVForWithOf)(e.name,i))i=this.formatDelegatePrettier(i,"vue");else if((0,Fi.isVueExpression)(e.name))i=this.formatVueExpression(i);else if((0,Fi.isVueEventBinding)(e.name))i=this.formatVueEventBinding(i);else if(this.framework==="vue"&&(0,Fi.isVueVDirective)(e.name))i=this.formatVueExpression(i);else if((0,Fi.isVueVBindExpression)(e.name))i=this.formatDelegatePrettier(i,"__js_expression");else if((0,Fi.isVueVOnExpression)(e.name))i=this.formatDelegatePrettier(i,"__js_expression");else if((0,fu.isAngularBinding)(e.name))i=this.formatAngularBinding(i);else if((0,fu.isAngularAction)(e.name))i=this.formatAngularAction(i);else if((0,fu.isAngularDirective)(e.name))i=this.formatAngularDirective(i);else if((0,fu.isAngularInterpolation)(i))i=this.formatAngularInterpolation(i);else if((0,Gy.isSvelteInterpolation)(i))i=this.formatSvelteInterpolation(i);else if((0,er.isStyleAttribute)(e.name,e.val))i=this.formatStyleAttribute(i);else{let p=i.trimEnd();if((0,er.isQuoted)(p))i=(0,er.makeString)(p.slice(1,-1),this.quotes);else{if(i==="true")return;if(e.mustEscape){i=(0,dn.format)(i,{parser:"__js_expression",...this.codeInterpolationOptions});let k=i.split(`
|
|
188
|
+
`),B=this.wrapAttributes?this.indentLevel+1:this.indentLevel;if(k.length>1){i=k[0]??"";for(let se=1;se<k.length;se++)i+=`
|
|
189
|
+
`,i+=this.indentString.repeat(B),i+=k[se]}}else i=i.trim(),i=i.replace(/\s\s+/g," "),i[0]==="{"&&i[1]===" "&&(i=`{${i.slice(2,i.length)}`)}}}e.mustEscape===!1&&(this.result+="!"),this.result+=`=${i}`}}["end-attributes"](e){if(this.wrapAttributes&&this.result[this.result.length-1]!=="("&&(this.options.pugBracketSameLine||(this.result+=`
|
|
190
|
+
`),this.result+=this.indentString.repeat(this.indentLevel)),this.wrapAttributes=!1,this.classLiteralToAttribute.length){this.previousToken?.type==="start-attributes"?this.result+="(":this.previousToken?.type==="attribute"&&(this.result+=" ");let r=this.classLiteralToAttribute.splice(0,this.classLiteralToAttribute.length);this.result+=`class=${this.quoteString(r.join(" "))}`,this.previousToken?.type==="start-attributes"&&(this.result+=")")}if(this.result[this.result.length-1]==="("?this.result=this.result.slice(0,-1):this.previousToken?.type==="attribute"?(this.options.pugBracketSameLine&&(this.result=this.result.trimEnd()),this.result+=")"):this.options.pugPreserveAttributeBrackets&&this.previousToken?.type==="start-attributes"&&(this.result+="()"),this.result[this.result.length-1]===")"&&this.classLiteralAfterAttributes.length>0){let r=this.classLiteralAfterAttributes.splice(0,this.classLiteralAfterAttributes.length);this.result+=`.${r.join(".")}`}this.options.pugClassLocation==="after-attributes"&&(this.possibleClassPosition=this.result.length),(this.nextToken?.type==="text"||this.nextToken?.type==="path")&&(this.result+=" ")}indent(e){let r=`
|
|
191
|
+
${this.indentString.repeat(this.indentLevel)}`;return this.indentLevel++,this.currentLineLength=r.length-1+1+this.options.pugTabWidth,Jt.logger.debug("indent",{result:r,indentLevel:this.indentLevel,pugTabWidth:this.options.pugTabWidth},this.currentLineLength),r}outdent(e){let r="";return this.previousToken&&this.previousToken.type!=="outdent"&&(e.loc.start.line-this.previousToken.loc.end.line>1&&(r+=`
|
|
192
|
+
`),r+=`
|
|
193
|
+
`),this.indentLevel--,this.currentLineLength=1+this.indentString.repeat(this.indentLevel).length,Jt.logger.debug("outdent",{result:r,indentLevel:this.indentLevel},this.currentLineLength),r}class(e){if(this.options.pugClassNotation==="attribute"){if(this.classLiteralToAttribute.push(e.val),this.previousToken?.type!=="tag"&&this.previousToken?.type!=="class"&&(this.result+=`${this.computedIndent}div`),this.nextToken&&["text","newline","indent","outdent","eos"].includes(this.nextToken.type)){let r=this.classLiteralToAttribute.splice(0,this.classLiteralToAttribute.length);this.result+=`(class=${this.quoteString(r.join(" "))})`,this.nextToken.type==="text"&&(this.result+=" ")}}else{let r=`.${e.val}`;switch(this.currentLineLength+=r.length,Jt.logger.debug("before class",{result:this.result,val:r,length:r.length,previousToken:this.previousToken},this.currentLineLength),this.previousToken?.type){case void 0:case"newline":case"outdent":case"indent":{let i=this.options.pugExplicitDiv||this.options.pugClassLocation==="after-attributes"?"div":"",p=`${this.computedIndent}${i}`;this.options.pugClassLocation==="after-attributes"?this.classLiteralAfterAttributes.push(r.slice(1)):p+=r,this.currentLineLength+=i.length,this.possibleIdPosition=this.result.length+this.computedIndent.length+i.length,this.result+=p,this.possibleClassPosition=this.result.length;break}case"end-attributes":{let i=this.result.slice(0,this.possibleClassPosition);this.result=[i,r,this.result.slice(this.possibleClassPosition)].join(""),this.possibleClassPosition+=r.length;break}default:{if(this.options.pugClassLocation==="after-attributes")this.classLiteralAfterAttributes.push(r.slice(1));else{let i=this.result.slice(0,this.possibleClassPosition);this.result=[i,r,this.result.slice(this.possibleClassPosition)].join(""),this.possibleClassPosition+=r.length}break}}if(this.options.pugClassLocation==="after-attributes"&&this.classLiteralAfterAttributes.length>0){let i=this.result.slice(0,this.possibleClassPosition);if(["text","newline","indent","outdent","eos","code",":",void 0].includes(this.nextToken?.type)){let p=this.classLiteralAfterAttributes.splice(0,this.classLiteralAfterAttributes.length);i+="."+p.join(".")}this.result=[i,this.result.slice(this.possibleClassPosition)].join(""),this.possibleClassPosition=this.result.length,this.replaceTagWithLiteralIfPossible(/div\./,".")}Jt.logger.debug("after class",{result:this.result,val:r,length:r.length},this.currentLineLength),this.nextToken?.type==="text"&&!/^\s+$/.test(this.nextToken.val)&&(this.currentLineLength+=1,this.result+=" ")}}eos(e){for(;this.result[this.result.length-1]===`
|
|
203
194
|
`;)this.result=this.result.slice(0,-1);this.result+=`
|
|
204
|
-
`}comment(
|
|
205
|
-
`),
|
|
206
|
-
`)}}}else this.checkTokenType(this.previousToken,["newline","indent","outdent"],!0)&&(
|
|
207
|
-
`),
|
|
208
|
-
`,this.currentLineLength=1+this.indentString.repeat(this.indentLevel).length,
|
|
209
|
-
`,
|
|
210
|
-
`,
|
|
211
|
-
`+this.indentString.repeat(this.indentLevel+1)+"|"),
|
|
212
|
-
`)&&(
|
|
213
|
-
${this.indentString.repeat(this.indentLevel)}`;if(this.previousToken?.type==="dot"){let
|
|
214
|
-
`;break;case"interpolated-code":
|
|
215
|
-
code: \`${
|
|
216
|
-
You used interpolated code in your pipeless script tag, so you may ignore this warning.`),
|
|
217
|
-
Found ${
|
|
218
|
-
Unexpected error for parser ${
|
|
219
|
-
`).map(
|
|
220
|
-
`),
|
|
221
|
-
${
|
|
222
|
-
`),this.currentIndex=
|
|
195
|
+
`}comment(e){let r=this.computedIndent;if(/^ prettier-ignore($|[: ])/.test(e.val)){let i=this.getNextToken();if(i){let p=i.type==="newline",k=0;for(;i;){let{type:B}=i;if(B==="newline"&&k===0)if(p)p=!1;else break;else if(B==="indent")k++;else if(B==="outdent"){if(k--,k<=0){k<0&&this.indentLevel--;break}}else if(B==="eos")break;i=this.getNextToken()}if(i){let B=this.getUnformattedContentLines(e,i),se=B.pop();se!==void 0&&B.push(se.trimEnd()),r+=B.join(`
|
|
196
|
+
`),i.type==="eos"&&(r+=`
|
|
197
|
+
`)}}}else this.checkTokenType(this.previousToken,["newline","indent","outdent"],!0)&&(r+=" "),r+="//",e.buffer||(r+="-"),r+=(0,Pp.formatPugCommentPreserveSpaces)(e.val,this.options.pugCommentPreserveSpaces),this.nextToken?.type==="start-pipeless-text"&&(this.pipelessComment=!0);return r}newline(e){let r="";return this.previousToken&&e.loc.start.line-this.previousToken.loc.end.line>1&&(r+=`
|
|
198
|
+
`),r+=`
|
|
199
|
+
`,this.currentLineLength=1+this.indentString.repeat(this.indentLevel).length,Jt.logger.debug("newline",{result:r,indentLevel:this.indentLevel},this.currentLineLength),r}text(e){let r="",i=e.val,p=!1,k=i[i.length-1]===" "&&!/^\s+$/.test(i);if(this.pipelessText){switch(this.previousToken?.type){case"newline":i.trim().length>0&&(r+=this.indentString.repeat(this.indentLevel+1));break;case"start-pipeless-text":r+=this.indentString;break}this.pipelessComment&&(i=(0,Pp.formatPugCommentPreserveSpaces)(i,this.options.pugCommentPreserveSpaces,!0))}else{if(this.nextToken&&k)switch(this.nextToken.type){case"interpolated-code":case"start-pug-interpolation":p=!0;break}switch(i=i.replace(/\s\s+/g," "),this.previousToken?.type){case"newline":r+=this.indentString.repeat(this.indentLevel),/^ .+$/.test(i)&&(r+=`|
|
|
200
|
+
`,r+=this.indentString.repeat(this.indentLevel)),r+="|",(/.*\S.*/.test(e.val)||this.nextToken?.type==="start-pug-interpolation")&&(r+=" ");break;case"indent":case"outdent":r+=this.computedIndent,/^ .+$/.test(i)&&(r+=`|
|
|
201
|
+
`,r+=this.indentString.repeat(this.indentLevel)),r+="|",/.*\S.*/.test(e.val)&&(r+=" ");break;case"interpolated-code":case"end-pug-interpolation":/^ .+$/.test(i)||i===" "?r+=" ":/^.+ $/.test(i)&&(p=!0);break}i=i.trim(),i=this.formatText(i),i=i.replace(/#(\{|\[)/g,"\\#$1")}return this.checkTokenType(this.previousToken,["tag","id","interpolation","call","&attributes","filter"])&&(i.length===0&&this.nextToken?.type==="indent"?k=!1:i=` ${i}`),r+=i,p&&(r+=" "),k&&this.nextToken?.type==="indent"&&(r+=`
|
|
202
|
+
`+this.indentString.repeat(this.indentLevel+1)+"|"),r}["interpolated-code"](e){let r="";switch(this.previousToken?.type){case"tag":case"class":case"id":case"end-attributes":r=" ";break;case"start-pug-interpolation":r="| ";break;case"indent":case"newline":case"outdent":r=this.computedIndent,r+=this.pipelessText?this.indentString:"| ";break}return r+=e.mustEscape?"#":"!",r+=(0,er.handleBracketSpacing)(this.options.pugBracketSpacing,e.val.trim(),["{","}"]),r}code(e){let r=this.computedIndent;!e.mustEscape&&e.buffer&&(r+="!"),r+=e.buffer?"=":"-";let i=this.options.pugSemi;i&&(e.mustEscape||e.buffer)&&(i=!1);let p=e.val;try{let k=p;p=(0,dn.format)(p,{parser:"babel",...this.codeInterpolationOptions,semi:i,endOfLine:"lf"}),p=p.slice(0,-1),p[0]===";"&&(p=p.slice(1)),p.includes(`
|
|
203
|
+
`)&&(p=k)}catch(k){Jt.logger.warn("[PugPrinter]:",k)}return r+=` ${p}`,r}id(e){let r=`#${e.val}`;switch(this.currentLineLength+=r.length,this.previousToken?.type){case void 0:case"newline":case"outdent":case"indent":{let i=this.options.pugExplicitDiv?"div":"",p=`${this.computedIndent}${i}${r}`;this.currentLineLength+=i.length,this.result+=p,this.possibleClassPosition=this.result.length;break}default:{let i=this.result.slice(0,this.possibleIdPosition);this.possibleClassPosition+=r.length,this.result=[i,r,this.result.slice(this.possibleIdPosition)].join("");break}}}["start-pipeless-text"](e){this.pipelessText=!0;let r=`
|
|
204
|
+
${this.indentString.repeat(this.indentLevel)}`;if(this.previousToken?.type==="dot"){let i=(0,er.previousTagToken)(this.tokens,this.currentIndex),p;switch(i?.val){case"script":p=(0,Uy.getScriptParserName)((0,er.previousTypeAttributeToken)(this.tokens,this.currentIndex));break;case"style":p="css";break;default:break}if(p){let k=this.currentIndex+1,B=this.tokens[k],se="",ye=!1;for(;B&&B?.type!=="end-pipeless-text";){switch(B.type){case"text":se+=B.val;break;case"newline":se+=`
|
|
205
|
+
`;break;case"interpolated-code":ye=!0,se+=B.mustEscape?"#":"!",se+=`{${B.val}}`;break;default:Jt.logger.warn("[PugPrinter:start-pipeless-text]:","Unhandled token for pipeless script tag:",JSON.stringify(B));break}k++,B=this.tokens[k]}try{r=(0,dn.format)(se,{parser:p,...this.codeInterpolationOptions})}catch(Je){if(!ye)throw Jt.logger.error(Je),Je;let Xe=["[PugPrinter:start-pipeless-text]:","The following expression could not be formatted correctly.","This is likely a syntax error or an issue caused by the missing execution context.","If you think this is a bug, please open a bug issue."];Xe.push(`
|
|
206
|
+
code: \`${se.trim()}\``),Xe.push(`
|
|
207
|
+
You used interpolated code in your pipeless script tag, so you may ignore this warning.`),jy.types.isNativeError(Je)?Xe.push(`
|
|
208
|
+
Found ${p} ${Je.name}: ${Je.message}.`):(Jt.logger.debug("typeof error:",typeof Je),Xe.push(`
|
|
209
|
+
Unexpected error for parser ${p}.`,Je)),Jt.logger.warn(...Xe),r=se}r=r.trimEnd();let je=this.indentString.repeat(this.indentLevel+1);r=r.split(`
|
|
210
|
+
`).map(Je=>Je?je+Je:"").join(`
|
|
211
|
+
`),r=`
|
|
212
|
+
${r}`,B=this.tokens[k-1],B?.type==="text"&&B.val===""&&(r+=`
|
|
213
|
+
`),this.currentIndex=k-1}}return r}["end-pipeless-text"](e){return this.pipelessText=!1,this.pipelessComment=!1,""}doctype(e){let r=`${this.computedIndent}doctype`;return e.val&&(r+=` ${e.val}`),r}dot(e){return"."}block(e){let r=`${this.computedIndent}block `;return e.mode!=="replace"&&(r+=`${e.mode} `),r+=e.val,r}extends(e){return`${this.options.pugSingleFileComponentIndentation?this.indentString:""}extends `}path(e){let r="";return this.checkTokenType(this.previousToken,["include","filter"])&&(r+=" "),r+=e.val,r}["start-pug-interpolation"](e){let r="";return this.tokens[this.currentIndex-2]?.type==="newline"&&this.previousToken?.type==="text"&&this.previousToken.val.trim().length===0&&(r+=this.indentString.repeat(this.indentLevel+1)),this.currentlyInPugInterpolation=!0,r+="#[",r}["end-pug-interpolation"](e){return this.currentlyInPugInterpolation=!1,"]"}interpolation(e){let r=`${this.computedIndent}#{${e.val}}`;return this.currentLineLength+=r.length,this.possibleIdPosition=this.result.length+r.length,this.possibleClassPosition=this.result.length+r.length,r}include(e){return`${this.computedIndent}include`}filter(e){return`${this.computedIndent}:${e.val}`}call(e){let r=`${this.computedIndent}+${e.val}`,i=e.args;return i&&(i=i.trim(),i=i.replace(/\s\s+/g," "),r+=`(${i})`),this.currentLineLength+=r.length,this.possibleIdPosition=this.result.length+r.length,this.possibleClassPosition=this.result.length+r.length,r}mixin(e){let r=`${this.computedIndent}mixin ${e.val}`,i=e.args;return i&&(i=i.trim(),i=i.replace(/\s\s+/g," "),r+=`(${i})`),r}if(e){let r=this.computedIndent,i=/^!\((.*)\)$/.exec(e.val);return Jt.logger.debug("[PugPrinter]:",i),r+=i?`unless ${i[1]}`:`if ${e.val}`,r}["mixin-block"](e){return`${this.computedIndent}block`}else(e){return`${this.computedIndent}else`}["&attributes"](e){let r=`&attributes(${e.val})`;return this.currentLineLength+=r.length,r}["text-html"](e){let r=/^<(.*?)>(.*)<\/(.*?)>$/.exec(e.val);if(Jt.logger.debug("[PugPrinter]:",r),r)return`${this.computedIndent}${r[1]} ${r[2]}`;let i=Object.entries(My.DOCTYPE_SHORTCUT_REGISTRY).find(([p])=>p===e.val.toLowerCase());return i?`${this.computedIndent}${i[1]}`:`${this.computedIndent}${e.val}`}each(e){let r=`${this.computedIndent}each ${e.val}`;return e.key!==null&&(r+=`, ${e.key}`),r+=` in ${e.code}`,r}eachOf(e){let r=e.value.trim();r=(0,dn.format)(r,{parser:"babel",...this.codeInterpolationOptions,semi:!1}),r[0]===";"&&(r=r.slice(1)),r=(0,er.unwrapLineFeeds)(r);let i=e.code.trim();return`${this.computedIndent}each ${r} of ${i}`}while(e){return`${this.computedIndent}while ${e.val}`}case(e){return`${this.computedIndent}case ${e.val}`}when(e){return`${this.computedIndent}when ${e.val}`}[":"](e){return this.possibleIdPosition=this.result.length+2,this.possibleClassPosition=this.result.length+2,": "}default(e){return`${this.computedIndent}default`}["else-if"](e){return`${this.computedIndent}else if ${e.val}`}blockcode(e){return`${this.computedIndent}-`}yield(e){return`${this.computedIndent}yield`}slash(e){let r="/";return this.nextToken?.type==="text"&&(r+=" "),r}};hu.PugPrinter=Bp});var zy=Ot(tr=>{Ze();et();"use strict";var qy=tr&&tr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tr,"__esModule",{value:!0});tr.logger=tr.createLogger=tr.Logger=tr.LogLevel=tr.defaultOptions=tr.options=tr.printers=tr.parsers=tr.languages=tr.plugin=void 0;var Wy=qy(Hc()),Hi=Qs(),Jy=mp(),Yy=gp(),Xy=Ip();tr.plugin={languages:[{name:"Pug",parsers:["pug"],tmScope:"text.jade",aceMode:"jade",codemirrorMode:"pug",codemirrorMimeType:"text/x-pug",extensions:[".jade",".pug"],linguistLanguageId:179,vscodeLanguageIds:["jade","pug"]}],parsers:{pug:{parse(t,e,r){Hi.logger.debug("[parsers:pug:parse]:",{text:t});let i=t.replace(/^\s*\n/,""),p=/^\s*/.exec(i);if(p?.[0]){let se=new RegExp(`(^|\\n)${p[0]}`,"g");i=i.replace(se,"$1")}let k=i,B=(0,Wy.default)(k);return{content:k,tokens:B}},astFormat:"pug-ast",hasPragma(t){return t.startsWith(`//- @prettier
|
|
223
214
|
`)||t.startsWith(`//- @format
|
|
224
|
-
`)},locStart(t){return
|
|
225
|
-
${t}`}}},options
|
|
215
|
+
`)},locStart(t){return Hi.logger.debug("[parsers:pug:locStart]:",{node:t}),0},locEnd(t){return Hi.logger.debug("[parsers:pug:locEnd]:",{node:t}),0},preprocess(t,e){return Hi.logger.debug("[parsers:pug:preprocess]:",{text:t}),t}}},printers:{"pug-ast":{print(t,e,r){let i=t.stack[0],{content:p,tokens:k}=i,B=(0,Yy.convergeOptions)(e),ye=new Xy.PugPrinter(p,k,B).build();return Hi.logger.debug("[printers:pug-ast:print]:",ye),ye},embed(t,e,r,i){return null},insertPragma(t){return`//- @prettier
|
|
216
|
+
${t}`}}},options:Jy.options,defaultOptions:{}};tr.languages=tr.plugin.languages;tr.parsers=tr.plugin.parsers;tr.printers=tr.plugin.printers;tr.options=tr.plugin.options;tr.defaultOptions=tr.plugin.defaultOptions;var du=Qs();Object.defineProperty(tr,"LogLevel",{enumerable:!0,get:function(){return du.LogLevel}});Object.defineProperty(tr,"Logger",{enumerable:!0,get:function(){return du.Logger}});Object.defineProperty(tr,"createLogger",{enumerable:!0,get:function(){return du.createLogger}});Object.defineProperty(tr,"logger",{enumerable:!0,get:function(){return du.logger}})});return zy();})();
|
|
226
217
|
/*
|
|
227
218
|
object-assign
|
|
228
219
|
(c) Sindre Sorhus
|