!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).unlatex={})}(this,(function(e){"use strict";var t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),n=t(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||function(){return this}()||Function("return this")()})),r=t(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),u=t(((e,t)=>{var n=r();t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),i=t(((e,t)=>{var n=r();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=t(((e,t)=>{var n=i(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),a=t((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),s=t(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),l=t(((e,t)=>{var n=i(),r=Function.prototype,u=r.call,o=n&&r.bind.bind(u,u);t.exports=n?o:function(e){return function(){return u.apply(e,arguments)}}})),c=t(((e,t)=>{var n=l(),r=n({}.toString),u=n("".slice);t.exports=function(e){return u(r(e),8,-1)}})),p=t(((e,t)=>{var n=l(),u=r(),i=c(),o=Object,a=n("".split);t.exports=u((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o})),D=t(((e,t)=>{t.exports=function(e){return null==e}})),d=t(((e,t)=>{var n=D(),r=TypeError;t.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}})),f=t(((e,t)=>{var n=p(),r=d();t.exports=function(e){return n(r(e))}})),m=t(((e,t)=>{var n="object"==typeof document&&document.all,r=typeof n>"u"&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}})),g=t(((e,t)=>{var n=m(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}})),h=t(((e,t)=>{var n=g(),r=m(),u=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===u}:function(e){return"object"==typeof e?null!==e:n(e)}})),y=t(((e,t)=>{var r=n(),u=g(),i=function(e){return u(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}})),C=t(((e,t)=>{var n=l();t.exports=n({}.isPrototypeOf)})),E=t(((e,t)=>{var n=y();t.exports=n("navigator","userAgent")||""})),F=t(((e,t)=>{var r,u,i=n(),o=E(),a=i.process,s=i.Deno,l=a&&a.versions||s&&s.version,c=l&&l.v8;c&&(u=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!u&&o&&((!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&((r=o.match(/Chrome\/(\d+)/))&&(u=+r[1]))),t.exports=u})),A=t(((e,t)=>{var n=F(),u=r();t.exports=!!Object.getOwnPropertySymbols&&!u((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),b=t(((e,t)=>{var n=A();t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),v=t(((e,t)=>{var n=y(),r=g(),u=C(),i=b(),o=Object;t.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&u(t.prototype,o(e))}})),x=t(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return"Object"}}})),S=t(((e,t)=>{var n=g(),r=x(),u=TypeError;t.exports=function(e){if(n(e))return e;throw u(r(e)+" is not a function")}})),B=t(((e,t)=>{var n=S(),r=D();t.exports=function(e,t){var u=e[t];return r(u)?void 0:n(u)}})),k=t(((e,t)=>{var n=o(),r=g(),u=h(),i=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&r(o=e.toString)&&!u(a=n(o,e))||r(o=e.valueOf)&&!u(a=n(o,e))||"string"!==t&&r(o=e.toString)&&!u(a=n(o,e)))return a;throw i("Can't convert object to primitive value")}})),T=t(((e,t)=>{t.exports=!1})),w=t(((e,t)=>{var r=n(),u=Object.defineProperty;t.exports=function(e,t){try{u(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),N=t(((e,t)=>{var r=n(),u=w(),i="__core-js_shared__",o=r[i]||u(i,{});t.exports=o})),I=t(((e,t)=>{var n=T(),r=N();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 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"})})),j=t(((e,t)=>{var n=d(),r=Object;t.exports=function(e){return r(n(e))}})),P=t(((e,t)=>{var n=l(),r=j(),u=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return u(r(e),t)}})),O=t(((e,t)=>{var n=l(),r=0,u=Math.random(),i=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+u,36)}})),M=t(((e,t)=>{var r=n(),u=I(),i=P(),o=O(),a=A(),s=b(),l=u("wks"),c=r.Symbol,p=c&&c.for,D=s?c:c&&c.withoutSetter||o;t.exports=function(e){if(!i(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&i(c,e)?l[e]=c[e]:l[e]=s&&p?p(t):D(t)}return l[e]}})),L=t(((e,t)=>{var n=o(),r=h(),u=v(),i=B(),a=k(),s=M(),l=TypeError,c=s("toPrimitive");t.exports=function(e,t){if(!r(e)||u(e))return e;var o,s=i(e,c);if(s){if(void 0===t&&(t="default"),o=n(s,e,t),!r(o)||u(o))return o;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),_=t(((e,t)=>{var n=L(),r=v();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),$=t(((e,t)=>{var r=n(),u=h(),i=r.document,o=u(i)&&u(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}})),R=t(((e,t)=>{var n=u(),i=r(),o=$();t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),V=t((e=>{var t=u(),n=o(),r=a(),i=s(),l=f(),c=_(),p=P(),D=R(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=l(e),t=c(t),D)try{return d(e,t)}catch{}if(p(e,t))return i(!n(r.f,e,t),e[t])}})),q=t(((e,t)=>{var n=u(),i=r();t.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),W=t(((e,t)=>{var n=h(),r=String,u=TypeError;t.exports=function(e){if(n(e))return e;throw u(r(e)+" is not an object")}})),U=t((e=>{var t=u(),n=R(),r=q(),i=W(),o=_(),a=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",D="writable";e.f=t?r?function(e,t,n){if(i(e),t=o(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&D in n&&!n[D]){var r=l(e,t);r&&r[D]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:c in n?n[c]:r[c],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=o(t),i(r),n)try{return s(e,t,r)}catch{}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),J=t(((e,t)=>{var n=u(),r=U(),i=s();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),z=t(((e,t)=>{var n=u(),r=P(),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=r(i,"name"),s=a&&"something"===function(){}.name,l=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:s,CONFIGURABLE:l}})),H=t(((e,t)=>{var n=l(),r=g(),u=N(),i=n(Function.toString);r(u.inspectSource)||(u.inspectSource=function(e){return i(e)}),t.exports=u.inspectSource})),G=t(((e,t)=>{var r=n(),u=g(),i=r.WeakMap;t.exports=u(i)&&/native code/.test(String(i))})),X=t(((e,t)=>{var n=I(),r=O(),u=n("keys");t.exports=function(e){return u[e]||(u[e]=r(e))}})),K=t(((e,t)=>{t.exports={}})),Y=t(((e,t)=>{var r,u,i,o,a,s=G(),l=n(),c=h(),p=J(),D=P(),d=N(),f=X(),m=K(),g="Object already initialized",y=l.TypeError,C=l.WeakMap;s||d.state?((o=d.state||(d.state=new C)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw y(g);return t.facade=e,o.set(e,t),t},u=function(e){return o.get(e)||{}},i=function(e){return o.has(e)}):(m[a=f("state")]=!0,r=function(e,t){if(D(e,a))throw y(g);return t.facade=e,p(e,a,t),t},u=function(e){return D(e,a)?e[a]:{}},i=function(e){return D(e,a)}),t.exports={set:r,get:u,has:i,enforce:function(e){return i(e)?u(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=u(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return n}}}})),Q=t(((e,t)=>{var n=r(),i=g(),o=P(),a=u(),s=z().CONFIGURABLE,l=H(),c=Y(),p=c.enforce,D=c.get,d=Object.defineProperty,f=a&&!n((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),h=t.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&n&&o(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var r=p(e);return o(r,"source")||(r.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=h((function(){return i(this)&&D(this).source||l(this)}),"toString")})),Z=t(((e,t)=>{var n=g(),r=U(),u=Q(),i=w();t.exports=function(e,t,o,a){a||(a={});var s=a.enumerable,l=void 0!==a.name?a.name:t;if(n(o)&&u(o,l,a),a.global)s?e[t]=o:i(t,o);else{try{a.unsafe?e[t]&&(s=!0):delete e[t]}catch{}s?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),ee=t(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),te=t(((e,t)=>{var n=ee();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),ne=t(((e,t)=>{var n=te(),r=Math.max,u=Math.min;t.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):u(i,t)}})),re=t(((e,t)=>{var n=te(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}})),ue=t(((e,t)=>{var n=re();t.exports=function(e){return n(e.length)}})),ie=t(((e,t)=>{var n=f(),r=ne(),u=ue(),i=function(e){return function(t,i,o){var a,s=n(t),l=u(s),c=r(o,l);if(e&&i!=i){for(;l>c;)if((a=s[c++])!=a)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===i)return e||c||0;return!e&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}})),oe=t(((e,t)=>{var n=l(),r=P(),u=f(),i=ie().indexOf,o=K(),a=n([].push);t.exports=function(e,t){var n,s=u(e),l=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&a(c,n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||a(c,n));return c}})),ae=t(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),se=t((e=>{var t=oe(),n=ae().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}})),le=t((e=>{e.f=Object.getOwnPropertySymbols})),ce=t(((e,t)=>{var n=y(),r=l(),u=se(),i=le(),o=W(),a=r([].concat);t.exports=n("Reflect","ownKeys")||function(e){var t=u.f(o(e)),n=i.f;return n?a(t,n(e)):t}})),pe=t(((e,t)=>{var n=P(),r=ce(),u=V(),i=U();t.exports=function(e,t,o){for(var a=r(t),s=i.f,l=u.f,c=0;c{var n=r(),u=g(),i=/#|\.prototype\./,o=function(e,t){var r=s[a(e)];return r==c||r!=l&&(u(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),de=t(((e,t)=>{var r=n(),u=V().f,i=J(),o=Z(),a=w(),s=pe(),l=De();t.exports=function(e,t){var n,c,p,D,d,f=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[f]||a(f,{}):(r[f]||{}).prototype)for(c in t){if(D=t[c],e.dontCallGetSet?p=(d=u(n,c))&&d.value:p=n[c],!l(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof D==typeof p)continue;s(D,p)}(e.sham||p&&p.sham)&&i(D,"sham",!0),o(n,c,D,e)}}})),fe=t(((e,t)=>{var n=c();t.exports=Array.isArray||function(e){return"Array"==n(e)}})),me=t(((e,t)=>{var n=TypeError;t.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}})),ge=t(((e,t)=>{var n=c(),r=l();t.exports=function(e){if("Function"===n(e))return r(e)}})),he=t(((e,t)=>{var n=ge(),r=S(),u=i(),o=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:u?o(e,t):function(){return e.apply(t,arguments)}}})),ye=t(((e,t)=>{var n=fe(),r=ue(),u=me(),i=he(),o=function(e,t,a,s,l,c,p,D){for(var d,f,m=l,g=0,h=!!p&&i(p,D);g0&&n(d)?(f=r(d),m=o(e,t,d,f,m,c-1)-1):(u(m+1),e[m]=d),m++),g++;return m};t.exports=o})),Ce=t(((e,t)=>{var n={};n[M()("toStringTag")]="z",t.exports="[object z]"===String(n)})),Ee=t(((e,t)=>{var n=Ce(),r=g(),u=c(),i=M()("toStringTag"),o=Object,a="Arguments"==u(function(){return arguments}());t.exports=n?u:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch{}}(t=o(e),i))?n:a?u(t):"Object"==(s=u(t))&&r(t.callee)?"Arguments":s}})),Fe=t(((e,t)=>{var n=l(),u=r(),i=g(),o=Ee(),a=y(),s=H(),c=function(){},p=[],D=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=n(d.exec),m=!d.exec(c),h=function(e){if(!i(e))return!1;try{return D(c,p,e),!0}catch{return!1}},C=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,s(e))}catch{return!0}};C.sham=!0,t.exports=!D||u((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?C:h})),Ae=t(((e,t)=>{var n=fe(),r=Fe(),u=h(),i=M()("species"),o=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,r(t)&&(t===o||n(t.prototype))?t=void 0:u(t)&&(null===(t=t[i])&&(t=void 0))),void 0===t?o:t}})),be=t(((e,t)=>{var n=Ae();t.exports=function(e,t){return new(n(e))(0===t?0:t)}})),ve=t(((e,t)=>{t.exports={}})),xe=t(((e,t)=>{var n=M(),r=ve(),u=n("iterator"),i=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||i[u]===e)}})),Se=t(((e,t)=>{var n=Ee(),r=B(),u=D(),i=ve(),o=M()("iterator");t.exports=function(e){if(!u(e))return r(e,o)||r(e,"@@iterator")||i[n(e)]}})),Be=t(((e,t)=>{var n=o(),r=S(),u=W(),i=x(),a=Se(),s=TypeError;t.exports=function(e,t){var o=arguments.length<2?a(e):t;if(r(o))return u(n(o,e));throw s(i(e)+" is not iterable")}})),ke=t(((e,t)=>{var n=o(),r=W(),u=B();t.exports=function(e,t,i){var o,a;r(e);try{if(!(o=u(e,"return"))){if("throw"===t)throw i;return i}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw i;if(a)throw o;return r(o),i}})),Te=t(((e,t)=>{var n=he(),r=o(),u=W(),i=x(),a=xe(),s=ue(),l=C(),c=Be(),p=Se(),D=ke(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,o){var g,h,y,C,E,F,A,b=o&&o.that,v=!(!o||!o.AS_ENTRIES),x=!(!o||!o.IS_RECORD),S=!(!o||!o.IS_ITERATOR),B=!(!o||!o.INTERRUPTED),k=n(t,b),T=function(e){return g&&D(g,"normal",e),new f(!0,e)},w=function(e){return v?(u(e),B?k(e[0],e[1],T):k(e[0],e[1])):B?k(e,T):k(e)};if(x)g=e.iterator;else if(S)g=e;else{if(!(h=p(e)))throw d(i(e)+" is not iterable");if(a(h)){for(y=0,C=s(e);C>y;y++)if((E=w(e[y]))&&l(m,E))return E;return new f(!1)}g=c(e,h)}for(F=x?e.next:g.next;!(A=r(F,g)).done;){try{E=w(A.value)}catch(e){D(g,"throw",e)}if("object"==typeof E&&E&&l(m,E))return E}return new f(!1)}})),we=t(((e,t)=>{var n=_(),r=U(),u=s();t.exports=function(e,t,i){var o=n(t);o in e?r.f(e,o,u(0,i)):e[o]=i}})),Ne=t(((e,t)=>{var n=Q(),r=U();t.exports=function(e,t,u){return u.get&&n(u.get,t,{getter:!0}),u.set&&n(u.set,t,{setter:!0}),r.f(e,t,u)}})),Ie=t(((e,t)=>{var n=W();t.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),je=t((()=>{var e=de(),t=n();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),Pe=de(),Oe=ye(),Me=S(),Le=j(),_e=ue(),$e=be();Pe({target:"Array",proto:!0},{flatMap:function(e){var t,n=Le(this),r=_e(n);return Me(e),(t=$e(n,0)).length=Oe(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Re=de(),Ve=Te(),qe=we();Re({target:"Object",stat:!0},{fromEntries:function(e){var t={};return Ve(e,(function(e,n){qe(t,e,n)}),{AS_ENTRIES:!0}),t}});var We=n(),Ue=u(),Je=Ne(),ze=Ie(),He=r(),Ge=We.RegExp,Xe=Ge.prototype,Ke=Ue&&He((function(){var e=!0;try{Ge(".","d")}catch{e=!1}var t={},n="",r=e?"dgimsy":"gimsy",u=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(i.hasIndices="d"),i)u(o,i[o]);return Object.getOwnPropertyDescriptor(Xe,"flags").get.call(t)!==r||n!==r}));Ke&&Je(Xe,"flags",{configurable:!0,get:ze}),je();var Ye=de(),Qe=ye(),Ze=j(),et=ue(),tt=te(),nt=be();Ye({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=Ze(this),n=et(t),r=nt(t,0);return r.length=Qe(r,t,t,n,0,void 0===e?1:tt(e)),r}});var rt=["cliName","cliCategory","cliDescription"],ut=["_"],it=["languageId"];function ot(e,t){if(null==e)return{};var n,r,u=function(e,t){if(null==e)return{};var n,r,u={},i=Object.keys(e);for(r=0;r=0)&&(u[n]=e[n]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}var at,st=Object.create,lt=Object.defineProperty,ct=Object.getOwnPropertyDescriptor,pt=Object.getOwnPropertyNames,Dt=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty,ft=(e,t)=>function(){return e&&(t=(0,e[pt(e)[0]])(e=0)),t},mt=(e,t)=>function(){return t||(0,e[pt(e)[0]])((t={exports:{}}).exports,t),t.exports},gt=(e,t)=>{for(var n in t)lt(e,n,{get:t[n],enumerable:!0})},ht=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of pt(t))!dt.call(e,u)&&u!==n&<(e,u,{get:()=>t[u],enumerable:!(r=ct(t,u))||r.enumerable});return e},yt=e=>ht(lt({},"__esModule",{value:!0}),e),Ct=ft({""(){at={env:{},argv:[]}}}),Et=mt({"package.json"(e,t){t.exports={version:"2.8.3"}}}),Ft=mt({"node_modules/diff/lib/diff/base.js"(e){function t(){}function n(e,t,n,r,u){for(var i=0,o=t.length,a=0,s=0;ie.length?n:e})),l.value=e.join(p)}else l.value=e.join(n.slice(a,a+l.count));a+=l.count,l.added||(s+=l.count)}}var D=t[o-1];return o>1&&"string"==typeof D.value&&(D.added||D.removed)&&e.equals("",D.value)&&(t[o-2].value+=D.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}Ct(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=u.callback;"function"==typeof u&&(i=u,u={}),this.options=u;var o=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var s=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=s+l,D=[{newPos:-1,components:[]}],d=this.extractCommon(D[0],t,e,0);if(D[0].newPos+1>=s&&d+1>=l)return a([{value:this.join(t),count:t.length}]);function f(){for(var u=-1*c;u<=c;u+=2){var i=void 0,p=D[u-1],d=D[u+1],f=(d?d.newPos:0)-u;p&&(D[u-1]=void 0);var m=p&&p.newPos+1=s&&f+1>=l)return a(n(o,i.components,t,e,o.useLongestToken));D[u]=i}else D[u]=void 0}c++}if(i)!function e(){setTimeout((function(){if(c>p)return i();f()||e()}),0)}();else for(;c<=p;){var m=f();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var u=t.length,i=n.length,o=e.newPos,a=o-r,s=0;o+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}Ct();var o={type:"break-parent"},a={type:"line",hard:!0},s={type:"line",hard:!0,literal:!0},l=n([a,o]),c=n([s,o]),p={type:"cursor",placeholder:Symbol("cursor")};t.exports={concat:n,join:function(e,t){let r=[];for(let n=0;n2&&void 0!==arguments[2]?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:r,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:u,addAlignmentToDoc:function(e,t,n){let i=e;if(t>0){for(let e=0;e=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;switch(t){case"\n":n=/\n/g;break;case"\r":n=/\r/g;break;case"\r\n":n=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),xt=mt({"src/utils/get-last.js"(e,t){Ct();t.exports=e=>e[e.length-1]}});var St=ft({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Ct()}});function Bt(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\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(t,e?void 0:"g")}(),"")}var kt=ft({"node_modules/strip-ansi/index.js"(){Ct(),St()}});function Tt(e){return!!Number.isInteger(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141))}var wt=ft({"node_modules/is-fullwidth-code-point/index.js"(){Ct()}}),Nt=mt({"node_modules/emoji-regex/index.js"(e,t){Ct(),t.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}}}),It={};function jt(e){if("string"!=typeof e||0===e.length||0===(e=Bt(e)).length)return 0;e=e.replace((0,Pt.default)()," ");let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=Tt(r)?2:1)}return t}gt(It,{default:()=>jt});var Pt,Ot=ft({"node_modules/string-width/index.js"(){var e,t,n;Ct(),kt(),wt(),e=Nt(),n=null!=e?st(Dt(e)):{},Pt=ht(!t&&e&&e.__esModule?n:lt(n,"default",{value:e,enumerable:!0}),e)}}),Mt=mt({"src/utils/get-string-width.js"(e,t){Ct();var n=(Ot(),yt(It)).default,r=/[^\x20-\x7F]/;t.exports=function(e){return e?r.test(e)?n(e):e.length:0}}}),Lt=mt({"src/document/doc-utils.js"(e,t){Ct();var n=xt(),{literalline:r,join:u}=bt(),i=e=>Array.isArray(e)||e&&"concat"===e.type,o=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},a={};function s(e,t,n,r){let u=[e];for(;u.length>0;){let e=u.pop();if(e!==a){if(n&&u.push(e,a),!t||!1!==t(e))if(i(e)||"fill"===e.type){let t=o(e);for(let e=t.length-1;e>=0;--e)u.push(t[e])}else if("if-break"===e.type)e.flatContents&&u.push(e.flatContents),e.breakContents&&u.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)u.push(e.expandedStates[t]);else u.push(e.contents);else e.contents&&u.push(e.contents)}else n(u.pop())}}function l(e,t){let n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);let u=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){let n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){let n=e.breakContents&&r(e.breakContents),u=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:n,flatContents:u}))}if("group"===e.type&&e.expandedStates){let n=e.expandedStates.map(r),u=n[0];return t(Object.assign(Object.assign({},e),{},{contents:u,expandedStates:n}))}if(e.contents){let n=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:n}))}return t(e)}(e);return n.set(e,u),u}}function c(e,t,n){let r=n,u=!1;return s(e,(function(e){let n=t(e);if(void 0!==n&&(u=!0,r=n),u)return!1})),r}function p(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function D(e){if(e.length>0){let t=n(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function d(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var f=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function m(e){if(!e)return e;if(i(e)||"fill"===e.type){let t=o(e);for(;t.length>1&&f(...t.slice(-2));)t.length-=2;if(t.length>0){let e=m(n(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let t=m(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=m(e.breakContents),n=m(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:n})}}return e}function g(e){return l(e,(e=>function(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!i(e))return e;let t=[];for(let r of o(e)){if(!r)continue;let[e,...u]=i(r)?o(r):[r];"string"==typeof e&&"string"==typeof n(t)?t[t.length-1]+=e:t.push(e),t.push(...u)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e)))}function h(e){let t=[],r=e.filter(Boolean);for(;r.length>0;){let e=r.shift();if(e){if(i(e)){r.unshift(...o(e));continue}if(t.length>0&&"string"==typeof n(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;return u(t,e.split("\n")).parts}function C(e){if("line"===e.type)return!0}t.exports={isConcat:i,getDocParts:o,willBreak:function(e){return c(e,p,!1)},traverseDoc:s,findInDoc:c,mapDoc:l,propagateBreaks:function(e){let t=new Set,n=[];s(e,(function(e){if("break-parent"===e.type&&D(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&D(n)}),!0)},removeLines:function(e){return l(e,d)},stripTrailingHardline:function(e){return m(g(e))},normalizeParts:h,normalizeDoc:function(e){return l(e,(e=>Array.isArray(e)?h(e):e.parts?Object.assign(Object.assign({},e),{},{parts:h(e.parts)}):e))},cleanDoc:g,replaceTextEndOfLine:y,replaceEndOfLine:function(e){return l(e,(e=>"string"==typeof e&&e.includes("\n")?y(e):e))},canBreak:function(e){return c(e,C,!1)}}}}),_t=mt({"src/document/doc-printer.js"(e,t){Ct();var n,{convertEndOfLineToChars:r}=vt(),u=xt(),i=Mt(),{fill:o,cursor:a,indent:s}=bt(),{isConcat:l,getDocParts:c}=Lt();function p(e,t){return d(e,{type:"indent"},t)}function D(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?d(e,{type:"dedent"},n):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):d(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function d(e,t,n){let r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,o=0,a=0;for(let e of r)switch(e.type){case"indent":c(),n.useTabs?s(1):l(n.tabWidth);break;case"stringAlign":c(),u+=e.n,i+=e.n.length;break;case"numberAlign":o+=1,a+=e.n;break;default:throw new Error(`Unexpected type '${e.type}'`)}return p(),Object.assign(Object.assign({},e),{},{value:u,length:i,queue:r});function s(e){u+="\t".repeat(e),i+=n.tabWidth*e}function l(e){u+=" ".repeat(e),i+=e}function c(){n.useTabs?(o>0&&s(o),D()):p()}function p(){a>0&&l(a),D()}function D(){o=0,a=0}}function f(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof u(e)&&/^[\t ]*$/.test(u(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof u(e)){let n=u(e).replace(/[\t ]*$/,"");t+=u(e).length-n.length,e[e.length-1]=n}return t}function m(e,t,r,o,a){let s=t.length,p=[e],D=[];for(;r>=0;){if(0===p.length){if(0===s)return!0;p.push(t[--s]);continue}let{mode:e,doc:d}=p.pop();if("string"==typeof d)D.push(d),r-=i(d);else if(l(d)||"fill"===d.type){let t=c(d);for(let n=t.length-1;n>=0;n--)p.push({mode:e,doc:t[n]})}else switch(d.type){case"indent":case"align":case"indent-if-break":case"label":p.push({mode:e,doc:d.contents});break;case"trim":r+=f(D);break;case"group":{if(a&&d.break)return!1;let t=d.break?1:e,n=d.expandedStates&&1===t?u(d.expandedStates):d.contents;p.push({mode:t,doc:n});break}case"if-break":{let t=1===(d.groupId?n[d.groupId]||2:e)?d.breakContents:d.flatContents;t&&p.push({mode:e,doc:t});break}case"line":if(1===e||d.hard)return!0;d.soft||(D.push(" "),r--);break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1}}return!1}t.exports={printDocToString:function(e,t){n={};let d=t.printWidth,g=r(t.endOfLine),h=0,y=[{ind:{value:"",length:0,queue:[]},mode:1,doc:e}],C=[],E=!1,F=[];for(;y.length>0;){let{ind:e,mode:r,doc:A}=y.pop();if("string"==typeof A){let e="\n"!==g?A.replace(/\n/g,g):A;C.push(e),h+=i(e)}else if(l(A)){let t=c(A);for(let n=t.length-1;n>=0;n--)y.push({ind:e,mode:r,doc:t[n]})}else switch(A.type){case"cursor":C.push(a.placeholder);break;case"indent":y.push({ind:p(e,t),mode:r,doc:A.contents});break;case"align":y.push({ind:D(e,A.n,t),mode:r,doc:A.contents});break;case"trim":h-=f(C);break;case"group":switch(r){case 2:if(!E){y.push({ind:e,mode:A.break?1:2,doc:A.contents});break}case 1:{E=!1;let t={ind:e,mode:2,doc:A.contents},n=d-h,r=F.length>0;if(!A.break&&m(t,y,n,r))y.push(t);else if(A.expandedStates){let t=u(A.expandedStates);if(A.break){y.push({ind:e,mode:1,doc:t});break}for(let u=1;u=A.expandedStates.length){y.push({ind:e,mode:1,doc:t});break}{let t={ind:e,mode:2,doc:A.expandedStates[u]};if(m(t,y,n,r)){y.push(t);break}}}}else y.push({ind:e,mode:1,doc:A.contents});break}}A.id&&(n[A.id]=u(y).mode);break;case"fill":{let t=d-h,{parts:n}=A;if(0===n.length)break;let[u,i]=n,a={ind:e,mode:2,doc:u},s={ind:e,mode:1,doc:u},l=m(a,[],t,F.length>0,!0);if(1===n.length){l?y.push(a):y.push(s);break}let c={ind:e,mode:2,doc:i},p={ind:e,mode:1,doc:i};if(2===n.length){l?y.push(c,a):y.push(p,s);break}n.splice(0,2);let D={ind:e,mode:r,doc:o(n)};m({ind:e,mode:2,doc:[u,i,n[0]]},[],t,F.length>0,!0)?y.push(D,c,a):l?y.push(D,p,a):y.push(D,p,s);break}case"if-break":case"indent-if-break":{let t=A.groupId?n[A.groupId]:r;if(1===t){let t="if-break"===A.type?A.breakContents:A.negate?A.contents:s(A.contents);t&&y.push({ind:e,mode:r,doc:t})}if(2===t){let t="if-break"===A.type?A.flatContents:A.negate?s(A.contents):A.contents;t&&y.push({ind:e,mode:r,doc:t})}break}case"line-suffix":F.push({ind:e,mode:r,doc:A.contents});break;case"line-suffix-boundary":F.length>0&&y.push({ind:e,mode:r,doc:{type:"line",hard:!0}});break;case"line":switch(r){case 2:if(!A.hard){A.soft||(C.push(" "),h+=1);break}E=!0;case 1:if(F.length>0){y.push({ind:e,mode:r,doc:A},...F.reverse()),F.length=0;break}A.literal?e.root?(C.push(g,e.root.value),h=e.root.length):(C.push(g),h=0):(h-=f(C),C.push(g+e.value),h=e.length)}break;case"label":y.push({ind:e,mode:r,doc:A.contents})}0===y.length&&F.length>0&&(y.push(...F.reverse()),F.length=0)}let A=C.indexOf(a.placeholder);if(-1!==A){let e=C.indexOf(a.placeholder,A+1),t=C.slice(0,A).join(""),n=C.slice(A+1,e).join("");return{formatted:t+n+C.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:C.join("")}}}}}),$t=mt({"src/document/doc-debug.js"(e,t){Ct();var{isConcat:n,getDocParts:r}=Lt();function u(e){if(!e)return"";if(n(e)){let t=[];for(let i of r(e))if(n(i))t.push(...u(i).parts);else{let e=u(i);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:u(e.breakContents),flatContents:u(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:u(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(u)}):"fill"===e.type?{type:"fill",parts:e.parts.map(u)}:e.contents?Object.assign(Object.assign({},e),{},{contents:u(e.contents)}):e}t.exports={printDocToDebug:function(e){let t=Object.create(null),i=new Set;return function e(t,u,i){if("string"==typeof t)return JSON.stringify(t);if(n(t)){let n=r(t).map(e).filter(Boolean);return 1===n.length?n[0]:`[${n.join(", ")}]`}if("line"===t.type){let e=Array.isArray(i)&&i[u+1]&&"break-parent"===i[u+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(i)&&i[u-1]&&"line"===i[u-1].type&&i[u-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+`, { groupId: ${o(t.groupId)} }`:"")+")";if("indent-if-break"===t.type){let n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push(`groupId: ${o(t.groupId)}`);let r=n.length>0?`, { ${n.join(", ")} }`:"";return`indentIfBreak(${e(t.contents)}${r})`}if("group"===t.type){let n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push(`id: ${o(t.id)}`);let r=n.length>0?`, { ${n.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map((t=>e(t))).join(",")}]${r})`:`group(${e(t.contents)}${r})`}if("fill"===t.type)return`fill([${t.parts.map((t=>e(t))).join(", ")}])`;if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return`label(${JSON.stringify(t.label)}, ${e(t.contents)})`;throw new Error("Unknown doc type "+t.type)}(u(e));function o(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let n=String(e).slice(7,-1)||"symbol";for(let r=0;;r++){let u=n+(r>0?` #${r}`:"");if(!i.has(u))return i.add(u),t[e]=`Symbol.for(${JSON.stringify(u)})`}}}}}}),Rt=mt({"src/document/index.js"(e,t){Ct(),t.exports={builders:bt(),printer:_t(),utils:Lt(),debug:$t()}}}),Vt={};function qt(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}gt(Vt,{default:()=>qt});var Wt=ft({"node_modules/escape-string-regexp/index.js"(){Ct()}}),Ut=mt({"node_modules/semver/internal/debug.js"(e,t){Ct();var n="object"==typeof at&&at.env&&at.env.NODE_DEBUG&&/\bsemver\b/i.test(at.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),n=0;n{};t.exports=n}}),Jt=mt({"node_modules/semver/internal/constants.js"(e,t){Ct();var n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}}}),zt=mt({"node_modules/semver/internal/re.js"(e,t){Ct();var{MAX_SAFE_COMPONENT_LENGTH:n}=Jt(),r=Ut(),u=(e=t.exports={}).re=[],i=e.src=[],o=e.t={},a=0,s=(e,t,n)=>{let s=a++;r(e,s,t),o[e]=s,i[s]=t,u[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION",`(${i[o.NUMERICIDENTIFIER]})\\.(${i[o.NUMERICIDENTIFIER]})\\.(${i[o.NUMERICIDENTIFIER]})`),s("MAINVERSIONLOOSE",`(${i[o.NUMERICIDENTIFIERLOOSE]})\\.(${i[o.NUMERICIDENTIFIERLOOSE]})\\.(${i[o.NUMERICIDENTIFIERLOOSE]})`),s("PRERELEASEIDENTIFIER",`(?:${i[o.NUMERICIDENTIFIER]}|${i[o.NONNUMERICIDENTIFIER]})`),s("PRERELEASEIDENTIFIERLOOSE",`(?:${i[o.NUMERICIDENTIFIERLOOSE]}|${i[o.NONNUMERICIDENTIFIER]})`),s("PRERELEASE",`(?:-(${i[o.PRERELEASEIDENTIFIER]}(?:\\.${i[o.PRERELEASEIDENTIFIER]})*))`),s("PRERELEASELOOSE",`(?:-?(${i[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[o.PRERELEASEIDENTIFIERLOOSE]})*))`),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD",`(?:\\+(${i[o.BUILDIDENTIFIER]}(?:\\.${i[o.BUILDIDENTIFIER]})*))`),s("FULLPLAIN",`v?${i[o.MAINVERSION]}${i[o.PRERELEASE]}?${i[o.BUILD]}?`),s("FULL",`^${i[o.FULLPLAIN]}$`),s("LOOSEPLAIN",`[v=\\s]*${i[o.MAINVERSIONLOOSE]}${i[o.PRERELEASELOOSE]}?${i[o.BUILD]}?`),s("LOOSE",`^${i[o.LOOSEPLAIN]}$`),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE",`${i[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),s("XRANGEIDENTIFIER",`${i[o.NUMERICIDENTIFIER]}|x|X|\\*`),s("XRANGEPLAIN",`[v=\\s]*(${i[o.XRANGEIDENTIFIER]})(?:\\.(${i[o.XRANGEIDENTIFIER]})(?:\\.(${i[o.XRANGEIDENTIFIER]})(?:${i[o.PRERELEASE]})?${i[o.BUILD]}?)?)?`),s("XRANGEPLAINLOOSE",`[v=\\s]*(${i[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[o.XRANGEIDENTIFIERLOOSE]})(?:${i[o.PRERELEASELOOSE]})?${i[o.BUILD]}?)?)?`),s("XRANGE",`^${i[o.GTLT]}\\s*${i[o.XRANGEPLAIN]}$`),s("XRANGELOOSE",`^${i[o.GTLT]}\\s*${i[o.XRANGEPLAINLOOSE]}$`),s("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),s("COERCERTL",i[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM",`(\\s*)${i[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",s("TILDE",`^${i[o.LONETILDE]}${i[o.XRANGEPLAIN]}$`),s("TILDELOOSE",`^${i[o.LONETILDE]}${i[o.XRANGEPLAINLOOSE]}$`),s("LONECARET","(?:\\^)"),s("CARETTRIM",`(\\s*)${i[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",s("CARET",`^${i[o.LONECARET]}${i[o.XRANGEPLAIN]}$`),s("CARETLOOSE",`^${i[o.LONECARET]}${i[o.XRANGEPLAINLOOSE]}$`),s("COMPARATORLOOSE",`^${i[o.GTLT]}\\s*(${i[o.LOOSEPLAIN]})$|^$`),s("COMPARATOR",`^${i[o.GTLT]}\\s*(${i[o.FULLPLAIN]})$|^$`),s("COMPARATORTRIM",`(\\s*)${i[o.GTLT]}\\s*(${i[o.LOOSEPLAIN]}|${i[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE",`^\\s*(${i[o.XRANGEPLAIN]})\\s+-\\s+(${i[o.XRANGEPLAIN]})\\s*$`),s("HYPHENRANGELOOSE",`^\\s*(${i[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[o.XRANGEPLAINLOOSE]})\\s*$`),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Ht=mt({"node_modules/semver/internal/parse-options.js"(e,t){Ct();var n=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:n.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}}}),Gt=mt({"node_modules/semver/internal/identifiers.js"(e,t){Ct();var n=/^[0-9]+$/,r=(e,t)=>{let r=n.test(e),u=n.test(t);return r&&u&&(e=+e,t=+t),e===t?0:r&&!u?-1:u&&!r?1:er(t,e)}}}),Xt=mt({"node_modules/semver/classes/semver.js"(e,t){Ct();var n=Ut(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:u}=Jt(),{re:i,t:o}=zt(),a=Ht(),{compareIdentifiers:s}=Gt(),l=class{constructor(e,t){if(t=a(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>r)throw new TypeError(`version is longer than ${r} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let s=e.trim().match(t.loose?i[o.LOOSE]:i[o.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>u||this.major<0)throw new TypeError("Invalid major version");if(this.minor>u||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>u||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===s(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),Kt=mt({"node_modules/semver/functions/compare.js"(e,t){Ct();var n=Xt();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))}}),Yt=mt({"node_modules/semver/functions/lt.js"(e,t){Ct();var n=Kt();t.exports=(e,t,r)=>n(e,t,r)<0}}),Qt=mt({"node_modules/semver/functions/gte.js"(e,t){Ct();var n=Kt();t.exports=(e,t,r)=>n(e,t,r)>=0}}),Zt=mt({"src/utils/arrayify.js"(e,t){Ct(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[n,r]=e;return Object.assign({[t]:n},r)}))}}),en=mt({"node_modules/outdent/lib/index.js"(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,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:o,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:r},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:o,description:n` Custom directory that contains prettier plugins in node_modules subdirectory. Overrides default behavior when plugins are searched relatively to the location of Prettier. Multiple values are accepted. `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:r},printWidth:{since:"0.0.0",category:o,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:a,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n` Format code ending at a given character offset (exclusive). The range will extend forwards to the end of the selected statement. This option cannot be used with --cursor-offset. `,cliCategory:u},rangeStart:{since:"1.4.0",category:a,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n` Format code starting at a given character offset. The range will extend backwards to the start of the first line containing the selected statement. This option cannot be used with --cursor-offset. `,cliCategory:u},requirePragma:{since:"1.7.0",category:a,type:"boolean",default:!1,description:n` Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted. `,cliCategory:i},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,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."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:u,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:i,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:a,options:s}}}),nn=mt({"src/main/support.js"(e,t){Ct();var n={compare:Kt(),lt:Yt(),gte:Qt()},r=Zt(),u=Et().version,i=tn().options;function o(e,t,n){let r=new Set(e.choices.map((e=>e.value)));for(let u of t)if(u.parsers)for(let t of u.parsers)if(!r.has(t)){r.add(t);let i=n.find((e=>e.parsers&&e.parsers[t])),o=u.name;i&&i.name&&(o+=` (plugin: ${i.name})`),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:a=!1,showInternal:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=u.split("-",1)[0],c=e.flatMap((e=>e.languages||[])).filter(D),p=r(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),i),"name").filter((e=>D(e)&&d(e))).sort(((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(D).sort(((e,t)=>n.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>D(e)&&d(e))),"parser"===t.name&&o(t,c,e));let r=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:r})}));return{languages:c,options:p};function D(e){return t||!("since"in e)||e.since&&n.gte(l,e.since)}function d(e){return a||!("deprecated"in e)||e.deprecated&&n.lt(l,e.deprecated)}function f(e){return s?e:ot(e,rt)}}}}}),rn=mt({"src/utils/is-non-empty-array.js"(e,t){Ct(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),un=mt({"src/utils/text/skip.js"(e,t){function n(e){return(t,n,r)=>{let u=r&&r.backwards;if(!1===n)return!1;let{length:i}=t,o=n;for(;o>=0&&o2&&void 0!==arguments[2]?arguments[2]:{},r=s(e,n.backwards?t-1:t,n),u=d(e,r,n);return r!==u}function g(e,t){let n=null,r=t;for(;r!==n;)n=r,r=l(e,r),r=p(e,r),r=s(e,r);return r=D(e,r),r=d(e,r),!1!==r&&m(e,r)}function h(e,t,n){return f(e,n(t))}function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;for(let u=n;u(e.match(i.regex)||[]).length?i:u}return o}function E(e,t,n){let r='"'===t?"'":'"',u=e.replace(/\\(.)|(["'])/gs,((e,u,i)=>u===r?u:i===t?"\\"+i:i||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(u)?u:"\\"+u)));return t+u+t}function F(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:n}=u({plugins:t.plugins}),r=n.find((t=>{let{name:n}=t;return n.toLowerCase()===e}))||n.find((t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)}))||n.find((t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes(`.${e}`)}));return r&&r.parsers[0]},getStringWidth:o,getMaxContinuousCount:function(e,t){let r=e.match(new RegExp(`(${n(t)})+`,"g"));return null===r?0:r.reduce(((e,n)=>Math.max(e,n.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){let r=e.match(new RegExp(`(${n(t)})+`,"g"));if(null===r)return 0;let u=new Map,i=0;for(let e of r){let n=e.length/t.length;u.set(n,!0),n>i&&(i=n)}for(let e=1;ee[e.length-2],getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:h,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(h(e,t,n))},skip:function(e){return(t,n,r)=>{let u=r&&r.backwards;if(!1===n)return!1;let{length:i}=t,o=n;for(;o>=0&&o2&&void 0!==arguments[2]?arguments[2]:{};return s(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:y,getIndentSize:function(e,t){let n=e.lastIndexOf("\n");return-1===n?0:y(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:C,printString:function(e,t){let n=e.slice(1,-1);return E(n,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":C(n,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:E,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,F(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),F(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,F(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:i,createGroupIdMapper:function(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}}}}),pn={};function Dn(e,t){for(var n=0,r=e.length-1;r>=0;r--){var u=e[r];"."===u?e.splice(r,1):".."===u?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function dn(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=Dn(Fn(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function fn(e){var t=mn(e),n="/"===Bn(e,-1);return e=Dn(Fn(e.split("/"),(function(e){return!!e})),!t).join("/"),!e&&!t&&(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function mn(e){return"/"===e.charAt(0)}function gn(){var e=Array.prototype.slice.call(arguments,0);return fn(Fn(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function hn(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=dn(e).substr(1),t=dn(t).substr(1);for(var r=n(e.split("/")),u=n(t.split("/")),i=Math.min(r.length,u.length),o=i,a=0;aCn,default:()=>Sn,delimiter:()=>xn,dirname:()=>yn,extname:()=>En,isAbsolute:()=>mn,join:()=>gn,normalize:()=>fn,relative:()=>hn,resolve:()=>dn,sep:()=>vn});var An,bn,vn,xn,Sn,Bn,kn=ft({"node-modules-polyfills:path"(){Ct(),An=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,bn=function(e){return An.exec(e).slice(1)},Sn={extname:En,basename:Cn,dirname:yn,sep:vn="/",delimiter:xn=":",relative:hn,join:gn,isAbsolute:mn,normalize:fn,resolve:dn},Bn="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}}),Tn=mt({"node-modules-polyfills-commonjs:path"(e,t){Ct();var n=(kn(),yt(pn));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),wn=mt({"src/common/errors.js"(e,t){Ct();var n=class extends Error{},r=class extends Error{},u=class extends Error{},i=class extends Error{};t.exports={ConfigError:n,DebugError:r,UndefinedParserError:u,ArgExpansionBailout:i}}}),Nn={};function In(e,t){function n(){this.constructor=e}er(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function jn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var u=0;for(r=Object.getOwnPropertySymbols(e);u=0;a--)(u=e[a])&&(o=(i<3?u(o):i>3?u(t,n,o):u(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function On(e,t){return function(n,r){t(n,r,e)}}function Mn(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function Ln(e,t,n,r){return new(n||(n=Promise))((function(u,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function a(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?u(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(o,a)}s((r=r.apply(e,t||[])).next())}))}function _n(e,t){var n,r,u,i,o={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=2&i[0]?r.return:i[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,i[1])).done)return u;switch(r=0,u&&(i=[2&i[0],u.value]),i[0]){case 0:case 1:u=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(u=(u=o.trys).length>0&&u[u.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!u||i[1]>u[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qn(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,u,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){u={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(u)throw u.error}}return o}function Wn(){for(var e=[],t=0;t1||a(e,t)}))})}function a(e,t){try{!function(e){e.value instanceof Jn?Promise.resolve(e.value.v).then(s,l):c(i[0][2],e)}(u[e](t))}catch(e){c(i[0][3],e)}}function s(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Hn(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,u){t[r]=e[r]?function(t){return(n=!n)?{value:Jn(e[r](t)),done:"return"===r}:u?u(t):t}:u}}function Gn(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Vn(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,u){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,u,(t=e[n](t)).done,t.value)}))}}}function Xn(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Kn(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function Yn(e){return e&&e.__esModule?e:{default:e}}function Qn(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function Zn(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}gt(Nn,{__assign:()=>tr,__asyncDelegator:()=>Hn,__asyncGenerator:()=>zn,__asyncValues:()=>Gn,__await:()=>Jn,__awaiter:()=>Ln,__classPrivateFieldGet:()=>Qn,__classPrivateFieldSet:()=>Zn,__createBinding:()=>$n,__decorate:()=>Pn,__exportStar:()=>Rn,__extends:()=>In,__generator:()=>_n,__importDefault:()=>Yn,__importStar:()=>Kn,__makeTemplateObject:()=>Xn,__metadata:()=>Mn,__param:()=>On,__read:()=>qn,__rest:()=>jn,__spread:()=>Wn,__spreadArrays:()=>Un,__values:()=>Vn});var er,tr,nr=ft({"node_modules/tslib/tslib.es6.js"(){Ct(),er=function(e,t){return er=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},er(e,t)},tr=function(){return tr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map((t=>e.apiDescriptor.value(t))).join(", ")}]`;let n=Object.keys(t);return 0===n.length?"{}":`{ ${n.map((n=>`${e.apiDescriptor.key(n)}: ${e.apiDescriptor.value(t[n])}`)).join(", ")} }`},pair:t=>{let{key:n,value:r}=t;return e.apiDescriptor.value({[n]:r})}}}}),ur=mt({"node_modules/vnopts/lib/descriptors/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0}),(nr(),yt(Nn)).__exportStar(rr(),e)}}),ir=mt({"scripts/build/shims/chalk.cjs"(e,t){Ct();var n=e=>e;n.grey=n,n.red=n,n.bold=n,n.yellow=n,n.blue=n,n.default=n,t.exports=n}}),or=mt({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=ir();e.commonDeprecatedHandler=(e,n,r)=>{let{descriptor:u}=r,i=[`${t.default.yellow("string"==typeof e?u.key(e):u.pair(e))} is deprecated`];return n&&i.push(`we now treat it as ${t.default.blue("string"==typeof n?u.key(n):u.pair(n))}`),i.join("; ")+"."}}}),ar=mt({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0}),(nr(),yt(Nn)).__exportStar(or(),e)}}),sr=mt({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=ir();e.commonInvalidHandler=(e,n,r)=>[`Invalid ${t.default.red(r.descriptor.key(e))} value.`,`Expected ${t.default.blue(r.schemas[e].expected(r))},`,`but received ${t.default.red(r.descriptor.value(n))}.`].join(" ")}}),lr=mt({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0}),(nr(),yt(Nn)).__exportStar(sr(),e)}}),cr=mt({"node_modules/vnopts/node_modules/leven/index.js"(e,t){Ct();var n=[],r=[];t.exports=function(e,t){if(e===t)return 0;var u=e;e.length>t.length&&(e=t,t=u);var i=e.length,o=t.length;if(0===i)return o;if(0===o)return i;for(;i>0&&e.charCodeAt(~-i)===t.charCodeAt(~-o);)i--,o--;if(0===i)return o;for(var a=0;al?p>l?l+1:p:p>c?c+1:p;return l}}}),pr=mt({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=ir(),n=cr();e.levenUnknownHandler=(e,r,u)=>{let{descriptor:i,logger:o,schemas:a}=u,s=[`Ignored unknown option ${t.default.yellow(i.pair({key:e,value:r}))}.`],l=Object.keys(a).sort().find((t=>n(e,t)<3));l&&s.push(`Did you mean ${t.default.blue(i.key(l))}?`),o.warn(s.join(" "))}}}),Dr=mt({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0}),(nr(),yt(Nn)).__exportStar(pr(),e)}}),dr=mt({"node_modules/vnopts/lib/handlers/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=(nr(),yt(Nn));t.__exportStar(ar(),e),t.__exportStar(lr(),e),t.__exportStar(Dr(),e)}}),fr=mt({"node_modules/vnopts/lib/schema.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function n(e,n){let i=new e(n),o=Object.create(i);for(let e of t)e in n&&(o[e]=u(n[e],i,r.prototype[e].length));return o}e.createSchema=n;var r=class{constructor(e){this.name=e.name}static create(e){return n(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function u(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,u=new Array(r),i=0;ie}e.Schema=r}}),mr=mt({"node_modules/vnopts/lib/schemas/alias.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=fr(),n=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=n}}),gr=mt({"node_modules/vnopts/lib/schemas/any.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=fr(),n=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=n}}),hr=mt({"node_modules/vnopts/lib/schemas/array.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=(nr(),yt(Nn)),n=fr(),r=class extends n.Schema{constructor(e){var{valueSchema:n,name:r=n.name}=e,u=t.__rest(e,["valueSchema","name"]);super(Object.assign({},u,{name:r})),this._valueSchema=n}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){let n=[];for(let r of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return n}forward(e,t){let n=[];for(let r of e){let e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(u))}return n}redirect(e,t){let n=[],r=[];for(let i of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(u))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function u(e){let{from:t,to:n}=e;return{from:[t],to:n}}e.ArraySchema=r}}),yr=mt({"node_modules/vnopts/lib/schemas/boolean.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=fr(),n=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=n}}),Cr=mt({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function n(e,n){return void 0===e?[]:Array.isArray(e)?e.map((e=>t(e,n))):[t(e,n)]}Ct(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(e,t){let n=Object.create(null);for(let r of e){let e=r[t];if(n[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n[e]=r}return n},e.mapFromArray=function(e,t){let n=new Map;for(let r of e){let e=r[t];if(n.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n.set(e,r)}return n},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},e.partition=function(e,t){let n=[],r=[];for(let u of e)t(u)?n.push(u):r.push(u);return[n,r]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,u=["undefined","object","boolean","number","string"];return n!==r?u.indexOf(n)-u.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},e.normalizeDefaultResult=function(e){return void 0===e?{}:e},e.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},e.normalizeDeprecatedResult=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},e.normalizeTransferResult=t,e.normalizeForwardResult=n,e.normalizeRedirectResult=function(e,t){let r=n("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===r.length?{remain:t,redirect:r}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}}}),Er=mt({"node_modules/vnopts/lib/schemas/choice.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=fr(),n=Cr(),r=class extends t.Schema{constructor(e){super(e),this._choices=n.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,r=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(n.comparePrimitive).map(t.value),u=r.slice(0,-2),i=r.slice(-2);return u.concat(i.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=r}}),Fr=mt({"node_modules/vnopts/lib/schemas/number.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=fr(),n=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=n}}),Ar=mt({"node_modules/vnopts/lib/schemas/integer.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=Cr(),n=Fr(),r=class extends n.NumberSchema{expected(){return"an integer"}validate(e,n){return!0===n.normalizeValidateResult(super.validate(e,n),e)&&t.isInt(e)}};e.IntegerSchema=r}}),br=mt({"node_modules/vnopts/lib/schemas/string.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=fr(),n=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=n}}),vr=mt({"node_modules/vnopts/lib/schemas/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=(nr(),yt(Nn));t.__exportStar(mr(),e),t.__exportStar(gr(),e),t.__exportStar(hr(),e),t.__exportStar(yr(),e),t.__exportStar(Er(),e),t.__exportStar(Ar(),e),t.__exportStar(Fr(),e),t.__exportStar(br(),e)}}),xr=mt({"node_modules/vnopts/lib/defaults.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=rr(),n=or(),r=lr(),u=pr();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=u.levenUnknownHandler,e.defaultInvalidHandler=r.commonInvalidHandler,e.defaultDeprecatedHandler=n.commonDeprecatedHandler}}),Sr=mt({"node_modules/vnopts/lib/normalize.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=xr(),n=Cr();e.normalize=(e,t,n)=>new r(t,n).normalize(e);var r=class{constructor(e,r){let{logger:u=console,descriptor:i=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:a=t.defaultInvalidHandler,deprecated:s=t.defaultDeprecatedHandler}=r||{};this._utils={descriptor:i,logger:u||{warn:()=>{}},schemas:n.recordFromArray(e,"name"),normalizeDefaultResult:n.normalizeDefaultResult,normalizeDeprecatedResult:n.normalizeDeprecatedResult,normalizeForwardResult:n.normalizeForwardResult,normalizeRedirectResult:n.normalizeRedirectResult,normalizeValidateResult:n.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=a,this._deprecatedHandler=s,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=n.createAutoChecklist()}normalize(e){let t={},r=[e],u=()=>{for(;0!==r.length;){let e=r.shift(),n=this._applyNormalization(e,t);r.push(...n)}};u();for(let e of Object.keys(this._utils.schemas)){let u=this._utils.schemas[e];if(!(e in t)){let t=n.normalizeDefaultResult(u.default(this._utils));"value"in t&&r.push({[e]:t.value})}}u();for(let e of Object.keys(this._utils.schemas)){let n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let r=[],[u,i]=n.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let i of u){let u=this._utils.schemas[i],o=u.preprocess(e[i],this._utils),a=n.normalizeValidateResult(u.validate(o,this._utils),o);if(!0!==a){let{value:e}=a,t=this._invalidHandler(i,e,this._utils);throw"string"==typeof t?new Error(t):t}let s=e=>{let{from:t,to:n}=e;r.push("string"==typeof n?{[n]:t}:{[n.key]:n.value})},l=e=>{let{value:t,redirectTo:r}=e,a=n.normalizeDeprecatedResult(u.deprecated(t,this._utils),o,!0);if(!1!==a)if(!0===a)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,r,this._utils));else for(let{value:e}of a){let t={key:i,value:e};if(!this._hasDeprecationWarned(t)){let n="string"==typeof r?{key:r,value:e}:r;this._utils.logger.warn(this._deprecatedHandler(t,n,this._utils))}}};n.normalizeForwardResult(u.forward(o,this._utils),o).forEach(s);let c=n.normalizeRedirectResult(u.redirect(o,this._utils),o);if(c.redirect.forEach(s),"remain"in c){let e=c.remain;t[i]=i in t?u.overlap(t[i],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of c.redirect)l({value:e,redirectTo:t})}for(let n of i){let u=e[n],i=this._unknownHandler(n,u,this._utils);if(i)for(let e of Object.keys(i)){let n={[e]:i[e]};e in this._utils.schemas?r.push(n):Object.assign(t,n)}}return r}};e.Normalizer=r}}),Br=mt({"node_modules/vnopts/lib/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=(nr(),yt(Nn));t.__exportStar(ur(),e),t.__exportStar(dr(),e),t.__exportStar(vr(),e),t.__exportStar(Sr(),e),t.__exportStar(fr(),e)}}),kr=mt({"src/main/options-normalizer.js"(e,t){Ct();var n,r=Br(),u=xt(),i={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>r.apiDescriptor.value(e),pair:e=>{let{key:t,value:n}=e;return!1===n?`--no-${t}`:!0===n?i.key(t):""===n?`${i.key(t)} without an argument`:`${i.key(t)}=${n}`}},o=e=>{let{colorsModule:t,levenshteinDistance:n}=e;return class extends r.ChoiceSchema{constructor(e){let{name:t,flags:n}=e;super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(e,r){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let u=this._flags.find((t=>n(t,e)<3));if(u)return r.logger.warn([`Unknown flag ${t.yellow(r.descriptor.value(e))},`,`did you mean ${t.blue(r.descriptor.value(u))}?`].join(" ")),u}return e}expected(){return"a flag"}}};function a(e,t){let{logger:u=!1,isCLI:o=!1,passThrough:a=!1,colorsModule:l=null,levenshteinDistance:c=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},p=a?Array.isArray(a)?(e,t)=>a.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,n)=>{let u=ot(n.schemas,ut);return r.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:u}))},D=o?i:r.apiDescriptor,d=s(t,{isCLI:o,colorsModule:l,levenshteinDistance:c}),f=new r.Normalizer(d,{logger:u,unknown:p,descriptor:D}),m=!1!==u;m&&n&&(f._hasDeprecationWarned=n);let g=f.normalize(e);return m&&(n=f._hasDeprecationWarned),o&&!1===g["plugin-search"]&&(g["plugin-search-dir"]=!1),g}function s(e,t){let{isCLI:n,colorsModule:u,levenshteinDistance:i}=t,o=[];n&&o.push(r.AnySchema.create({name:"_"}));for(let t of e)o.push(l(t,{isCLI:n,optionInfos:e,colorsModule:u,levenshteinDistance:i})),t.alias&&n&&o.push(r.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}function l(e,t){let{isCLI:n,optionInfos:i,colorsModule:a,levenshteinDistance:s}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return r.AnySchema.create({name:l,preprocess:e=>(!1===e||(e=Array.isArray(e)?e:[e]),e),validate:e=>!1===e||e.every((e=>"string"==typeof e)),expected:()=>"false or paths to plugin search dir"});let c,p={name:l},D={};switch(e.type){case"int":c=r.IntegerSchema,n&&(p.preprocess=Number);break;case"string":case"path":c=r.StringSchema;break;case"choice":c=r.ChoiceSchema,p.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":c=r.BooleanSchema;break;case"flag":c=o({colorsModule:a,levenshteinDistance:s}),p.flags=i.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?p.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):p.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(D.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(D.deprecated=!0),n&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?u(t):t),r)}return e.array?r.ArraySchema.create(Object.assign(Object.assign(Object.assign({},n?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),D),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),D))}t.exports={normalizeApiOptions:function(e,t,n){return a(e,t,n)},normalizeCliOptions:function(e,t,n){return a(e,t,Object.assign({isCLI:!0},n))}}}}),Tr=mt({"src/language-js/loc.js"(e,t){Ct();var n=rn();function r(e){var t,u;let i=e.range?e.range[0]:e.start,o=null!==(t=null===(u=e.declaration)||void 0===u?void 0:u.decorators)&&void 0!==t?t:e.decorators;return n(o)?Math.min(r(o[0]),i):i}function u(e){return e.range?e.range[1]:e.end}function i(e,t){let n=r(e);return Number.isInteger(n)&&n===r(t)}t.exports={locStart:r,locEnd:u,hasSameLocStart:i,hasSameLoc:function(e,t){return i(e,t)&&function(e,t){let n=u(e);return Number.isInteger(n)&&n===u(t)}(e,t)}}}}),wr=mt({"src/main/load-parser.js"(e,t){Ct(),t.exports=()=>{}}}),Nr=mt({"scripts/build/shims/babel-highlight.cjs"(e,t){Ct();var n=ir(),r={shouldHighlight:()=>!1,getChalk:()=>n};t.exports=r}}),Ir=mt({"node_modules/@babel/code-frame/lib/index.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=o,e.default=function(e,t,r){let u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!n){n=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(at.emitWarning)at.emitWarning(e,"DeprecationWarning");else{new Error(e).name="DeprecationWarning",console.warn(new Error(e))}}return r=Math.max(r,0),o(e,{start:{column:r,line:t}},u)};var t=Nr(),n=!1;function r(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var u=/\r\n|[\n\r\u2028\u2029]/;function i(e,t,n){let r=Object.assign({column:0,line:-1},e.start),u=Object.assign({},r,e.end),{linesAbove:i=2,linesBelow:o=3}=n||{},a=r.line,s=r.column,l=u.line,c=u.column,p=Math.max(a-(i+1),0),D=Math.min(t.length,l+o);-1===a&&(p=0),-1===l&&(D=t.length);let d=l-a,f={};if(d)for(let e=0;e<=d;e++){let n=e+a;if(s)if(0===e){let e=t[n-1].length;f[n]=[s,e-s+1]}else if(e===d)f[n]=[0,c];else{let r=t[n-e].length;f[n]=[0,r]}else f[n]=!0}else f[a]=s===c?!s||[s,0]:[s,c-s];return{start:p,end:D,markerLines:f}}function o(e,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(o.highlightCode||o.forceColor)&&(0,t.shouldHighlight)(o),s=(0,t.getChalk)(o),l=r(s),c=(e,t)=>a?e(t):t,p=e.split(u),{start:D,end:d,markerLines:f}=i(n,p,o),m=n.start&&"number"==typeof n.start.column,g=String(d).length,h=(a?(0,t.default)(e,o):e).split(u,d).slice(D,d).map(((e,t)=>{let n=D+1+t,r=` ${` ${n}`.slice(-g)} |`,u=f[n],i=!f[n+1];if(u){let t="";if(Array.isArray(u)){let n=e.slice(0,Math.max(u[0]-1,0)).replace(/[^\t]/g," "),a=u[1]||1;t=["\n ",c(l.gutter,r.replace(/\d/g," "))," ",n,c(l.marker,"^").repeat(a)].join(""),i&&o.message&&(t+=" "+c(l.message,o.message))}return[c(l.marker,">"),c(l.gutter,r),e.length>0?` ${e}`:"",t].join("")}return` ${c(l.gutter,r)}${e.length>0?` ${e}`:""}`})).join("\n");return o.message&&!m&&(h=`${" ".repeat(g+1)}${o.message}\n${h}`),a?s.reset(h):h}}}),jr=mt({"src/main/parser.js"(e,t){Ct();var{ConfigError:n}=wn(),r=Tr();wr();var{locStart:u,locEnd:i}=r,o=Object.getOwnPropertyNames,a=Object.getOwnPropertyDescriptor;function s(e){let t={};for(let n of e.plugins)if(n.parsers)for(let e of o(n.parsers))Object.defineProperty(t,e,a(n.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:u,locEnd:i};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new n(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}t.exports={parse:function(e,t){let n=s(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map((e=>[e,{enumerable:!0,get:()=>n[e].parse}])))),u=l(t,n);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,r,t)}}catch(t){let{loc:n}=t;if(n){let{codeFrameColumns:r}=Ir();throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t}},resolveParser:l}}}),Pr=mt({"src/main/options.js"(e,t){Ct();var n=Tn(),{UndefinedParserError:r}=wn(),{getSupportInfo:u}=nn(),i=kr(),{resolveParser:o}=jr(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function s(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let n=e.plugins.find((e=>e.printers&&e.printers[t]));if(!n)throw new Error(`Couldn't find plugin for AST format "${t}"`);return n}function l(e,t){let r=n.basename(e).toLowerCase(),i=u({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>r.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===r))));return i&&i.parsers[0]}t.exports={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),c=u({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,p=Object.assign(Object.assign({},a),Object.fromEntries(c.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!n.parser)if(n.filepath){if(n.parser=l(n.filepath,n.plugins),!n.parser)throw new r(`No parser could be inferred for file: ${n.filepath}`)}else(t.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."),n.parser="babel";let D=o(i.normalizeApiOptions(n,[c.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));n.astFormat=D.astFormat,n.locEnd=D.locEnd,n.locStart=D.locStart;let d=s(n);n.printer=d.printers[n.astFormat];let f=Object.fromEntries(c.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[d.name])).map((e=>[e.name,e.pluginDefaults[d.name]]))),m=Object.assign(Object.assign({},p),f);for(let[e,t]of Object.entries(m))(null===n[e]||void 0===n[e])&&(n[e]=t);return"json"===n.parser&&(n.trailingComma="none"),i.normalizeApiOptions(n,c,Object.assign({passThrough:Object.keys(a)},t))},hiddenDefaults:a,inferParser:l}}}),Or=mt({"src/main/massage-ast.js"(e,t){Ct(),t.exports=function e(t,n,r){if(Array.isArray(t))return t.map((t=>e(t,n,r))).filter(Boolean);if(!t||"object"!=typeof t)return t;let u,i=n.printer.massageAstNode;u=i&&i.ignoredProperties?i.ignoredProperties:new Set;let o={};for(let[r,i]of Object.entries(t))!u.has(r)&&"function"!=typeof i&&(o[r]=e(i,n,t));if(i){let e=i(t,o,r);if(null===e)return;if(e)return e}return o}}}),Mr=mt({"scripts/build/shims/assert.cjs"(e,t){Ct();var n=()=>{};n.ok=n,n.strictEqual=n,t.exports=n}}),Lr=mt({"src/main/comments.js"(e,t){Ct();var n=Mr(),{builders:{line:r,hardline:u,breakParent:i,indent:o,lineSuffix:a,join:s,cursor:l}}=Rt(),{hasNewline:c,skipNewline:p,skipSpaces:D,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:g}=cn(),h=new WeakMap;function y(e,t,n){if(!e)return;let{printer:r,locStart:u,locEnd:i}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(u(n[t])<=u(e)&&i(n[t])<=i(e));--t);return void n.splice(t+1,0,e)}}else if(h.has(e))return h.get(e);let o=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t})).map((e=>{let[,t]=e;return t}));if(o){n||(n=[],h.set(e,n));for(let e of o)y(e,t,n);return n}}function C(e,t,n,r){let u,i,{locStart:o,locEnd:a}=n,s=o(t),l=a(t),c=y(e,n),p=0,D=c.length;for(;p>1,r=c[e],d=o(r),f=a(r);if(d<=s&&l<=f)return C(r,t,n,r);if(f<=s)u=r,p=e+1;else{if(!(l<=d))throw new Error("Comment location overlaps with node location");i=r,D=e}}if(r&&"TemplateLiteral"===r.type){let{quasis:e}=r,o=S(e,t,n);u&&S(e,u,n)!==o&&(u=null),i&&S(e,i,n)!==o&&(i=null)}return{enclosingNode:r,precedingNode:u,followingNode:i}}var E=()=>!1;var F=e=>!/[\S\n\u2028\u2029]/.test(e);function A(e,t,n,r){let{comment:u,precedingNode:i}=n[r],{locStart:o,locEnd:a}=t,s=o(u);if(i)for(let t=r-1;t>=0;t--){let{comment:r,precedingNode:u}=n[t];if(u!==i||!F(e.slice(a(r),s)))break;s=o(r)}return c(e,s,{backwards:!0})}function b(e,t,n,r){let{comment:u,followingNode:i}=n[r],{locStart:o,locEnd:a}=t,s=a(u);if(i)for(let t=r+1;t0;--i){let{comment:u,precedingNode:s,followingNode:p}=e[i-1];n.strictEqual(s,o),n.strictEqual(p,a);let D=t.slice(r.locEnd(u),c);if(!l.test(D))break;c=r.locStart(u)}for(let[t,{comment:n}]of e.entries())t1&&e.comments.sort(((e,t)=>r.locStart(e)-r.locStart(t)));e.length=0}function x(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function S(e,t,n){let r=n.locStart(t)-1;for(let t=1;t!n.has(e))));let f=o===t.cursorNode;if(0===s.length){let e=f?l:"";return{leading:e,trailing:e}}let m=[],g=[];return e.each((()=>{let o=e.getValue();if(n&&n.has(o))return;let{leading:s,trailing:l}=o;s?m.push(function(e,t){let n=e.getValue(),i=[x(e,t)],{printer:o,originalText:a,locStart:s,locEnd:l}=t;if(o.isBlockComment&&o.isBlockComment(n)){let e=c(a,l(n))?c(a,s(n),{backwards:!0})?u:r:" ";i.push(e)}else i.push(u);let d=p(a,D(a,l(n)));return!1!==d&&c(a,d)&&i.push(u),i}(e,t)):l&&g.push(function(e,t){let n=e.getValue(),r=x(e,t),{printer:o,originalText:s,locStart:l}=t,p=o.isBlockComment&&o.isBlockComment(n);if(c(s,l(n),{backwards:!0})){let e=d(s,n,l);return a([u,e?u:"",r])}let D=[" ",r];return p||(D=[a(D),i]),D}(e,t))}),"comments"),f&&(m.unshift(l),g.push(l)),{leading:m,trailing:g}}t.exports={attach:function(e,t,n,r){if(!Array.isArray(e))return;let u=[],{locStart:i,locEnd:o,printer:{handleComments:a={}}}=r,{avoidAstMutation:s,ownLine:l=E,endOfLine:c=E,remaining:p=E}=a,D=e.map(((u,i)=>Object.assign(Object.assign({},C(t,u,r)),{},{comment:u,text:n,options:r,ast:t,isLastComment:e.length-1===i})));for(let[e,t]of D.entries()){let n,{comment:r,precedingNode:a,enclosingNode:d,followingNode:h,text:y,options:C,ast:E,isLastComment:F}=t;if("json"===C.parser||"json5"===C.parser||"__js_expression"===C.parser||"__vue_expression"===C.parser||"__vue_ts_expression"===C.parser){if(i(r)-i(E)<=0){f(E,r);continue}if(o(r)-o(E)>=0){g(E,r);continue}}if(s?n=[t]:(r.enclosingNode=d,r.precedingNode=a,r.followingNode=h,n=[r,y,C,E,F]),A(y,C,D,e))r.placement="ownLine",l(...n)||(h?f(h,r):a?g(a,r):m(d||E,r));else if(b(y,C,D,e))r.placement="endOfLine",c(...n)||(a?g(a,r):h?f(h,r):m(d||E,r));else if(r.placement="remaining",!p(...n))if(a&&h){let e=u.length;e>0&&u[e-1].followingNode!==h&&v(u,y,C),u.push(t)}else a?g(a,r):h?f(h,r):m(d||E,r)}if(v(u,n,r),!s)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,n,r){let{leading:u,trailing:i}=B(e,n,r);return u||i?[u,t,i]:t},printCommentsSeparately:B,printDanglingComments:function(e,t,n,r){let i=[],a=e.getValue();return a&&a.comments&&(e.each((()=>{let n=e.getValue();!n.leading&&!n.trailing&&(!r||r(n))&&i.push(x(e,t))}),"comments"),0!==i.length)?n?s(u,i):o([u,s(u,i)]):""},getSortedChildNodes:y,ensureAllCommentsPrinted:function(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}}}}),_r=mt({"src/common/ast-path.js"(e,t){Ct();var n=xt();function r(e,t){let n=u(e.stack,t);return-1===n?null:e.stack[n]}function u(e,t){for(let n=e.length-1;n>=0;n-=2){let r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}t.exports=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return n(this.stack)}getNode(){return r(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return r(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:r}=t,u=n(t);for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:0,n=u(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e){let{stack:t}=this,{length:r}=t,u=n(t);for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a1?n-1:0),u=1;u{t[r]=e(n,r,u)}),...r),t}try(e){let{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(){let e=this.stack.length-1,t=null,n=this.stack[e--];for(var r=arguments.length,u=new Array(r),i=0;ifunction(e,t,i,o){let{stripTrailingHardline:a=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},s=r(Object.assign(Object.assign(Object.assign({},i),t),{},{parentParser:i.parser,originalText:e}),{passThrough:!0}),l=jr().parse(e,s),{ast:c}=l;e=l.text;let p=c.comments;delete c.comments,u.attach(p,c,e,s),s[Symbol.for("comments")]=p||[],s[Symbol.for("tokens")]=c.tokens||[];let D=o(c,s);return u.ensureAllCommentsPrinted(p),a?"string"==typeof D?D.replace(/(?:\r?\n)*$/,""):n(D):D}(e,t,i,o,a)),i)}}}}),Rr=mt({"src/main/ast-to-doc.js"(e,t){Ct();var n=_r(),{builders:{hardline:r,addAlignmentToDoc:u},utils:{propagateBreaks:i}}=Rt(),{printComments:o}=Lr(),a=$r();function s(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:a}=t;a.preprocess&&(e=a.preprocess(e,t));let s=new Map,c=new n(e),p=D();return o>0&&(p=u([r,p],o,t.tabWidth)),i(p),p;function D(e,t){return void 0===e||e===c?d(t):Array.isArray(e)?c.call((()=>d(t)),...e):c.call((()=>d(t)),e)}function d(e){let n=c.getValue(),r=n&&"object"==typeof n&&void 0===e;if(r&&s.has(n))return s.get(n);let u=l(c,t,D,e);return r&&s.set(n,u),u}}function l(e,t,n,r){let u,i,l=e.getValue(),{printer:c}=t;if(c.hasPrettierIgnore&&c.hasPrettierIgnore(e))({doc:u,printedComments:i}=function(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:u,locEnd:i}=t,o=u(e),a=i(e),s=new Set;for(let e of r)u(e)>=o&&i(e)<=a&&(e.printed=!0,s.add(e));return{doc:n.slice(o,a),printedComments:s}}(l,t));else{if(l)try{u=a.printSubtree(e,n,t,s)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}u||(u=c.print(e,t,n,r))}return(!c.willPrintOwnComments||!c.willPrintOwnComments(e,t))&&(u=o(e,u,t,i)),u}t.exports=s}}),Vr=mt({"src/main/range-util.js"(e,t){Ct();var n=Mr(),r=Lr();function u(e){let t=e.length-1;for(;;){let n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function i(e,t,n,u){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,{locStart:s,locEnd:l}=n,c=s(e),p=l(e);if(!(t>p||ta);let D=e.slice(a,l).search(/\S/),d=-1===D;if(!d)for(a+=D;l>a&&!/\S/.test(e[l-1]);--l);let f,m,g=i(r,a,t,((e,n)=>s(t,e,n)),[],"rangeStart"),h=d?g:i(r,l,t,(e=>s(t,e)),[],"rangeEnd");if(!g||!h)return{rangeStart:0,rangeEnd:0};if((e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t})(t)){let e=function(e,t){let n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find((e=>o.has(e.type)&&r.has(e)))}(g,h);f=e,m=e}else({startNode:f,endNode:m}=function(e,t,n){let{locStart:r,locEnd:i}=n,o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let s=r(e.node);for(let e of u(t.parentNodes)){if(!(r(e)>=s))break;a=e}let l=i(t.node);for(let t of u(e.parentNodes)){if(!(i(t)<=l))break;if(o=t,o===a)break}return{startNode:o,endNode:a}}(g,h,t));return{rangeStart:Math.min(c(f),c(m)),rangeEnd:Math.max(p(f),p(m))}},findNodeAtOffset:i}}}),qr=mt({"src/main/core.js"(e,t){Ct();var{diffArrays:n}=At(),{printer:{printDocToString:r},debug:{printDocToDebug:u}}=Rt(),{getAlignmentSize:i}=cn(),{guessEndOfLine:o,convertEndOfLineToChars:a,countEndOfLineChars:s,normalizeEndOfLine:l}=vt(),c=Pr().normalize,p=Or(),D=Lr(),d=jr(),f=Rr(),m=Vr(),g=Symbol("cursor");function h(e,t,n){let r=t.comments;return r&&(delete t.comments,D.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function y(e,t){let u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:i,text:o}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(i,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let s=h(o,i,t),l=f(i,t,u),c=r(l,t);if(D.ensureAllCommentsPrinted(s),u>0){let e=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(e)),c.formatted=e+a(t.endOfLine)}if(t.cursorOffset>=0){let e,r,u,i,a;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),r=o.slice(e,t.locEnd(t.cursorNode)),u=t.cursorOffset-e,i=c.cursorNodeStart,a=c.cursorNodeText):(e=0,r=o,u=t.cursorOffset,i=0,a=c.formatted),r===a)return{formatted:c.formatted,cursorOffset:i+u,comments:s};let l=[...r];l.splice(u,0,g);let p=[...a],D=n(l,p),d=i;for(let e of D)if(e.removed){if(e.value.includes(g))break}else d+=e.count;return{formatted:c.formatted,cursorOffset:d,comments:s}}return{formatted:c.formatted,cursorOffset:-1,comments:s}}function C(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function E(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:u}=t;return n=C(e,n,-1),r=C(e,r,0),u=C(e,u,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:u})}function F(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:u,endOfLine:i}=E(e,t),a="\ufeff"===e.charAt(0);if(a&&(e=e.slice(1),n--,r--,u--),"auto"===i&&(i=o(e)),e.includes("\r")){let t=t=>s(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),u-=t(u),e=l(e)}return{hasBOM:a,text:e,options:E(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:u,endOfLine:i}))}}function A(e,t){let n=d.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function b(e,t){let n,{hasBOM:r,text:u,options:o}=F(e,c(t));return o.rangeStart>=o.rangeEnd&&""!==u||o.requirePragma&&!A(u,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEndu&&t.cursorOffset<=o?t.cursorOffset-u:-1,endOfLine:"lf"}),D),g=f.formatted.trimEnd(),{cursorOffset:h}=t;h>o?h+=g.length-l.length:f.cursorOffset>=0&&(h=f.cursorOffset+u);let C=r.slice(0,u)+g+r.slice(o);if("lf"!==t.endOfLine){let e=a(t.endOfLine);h>=0&&"\r\n"===e&&(h+=s(C.slice(0,h),"\n")),C=C.replace(/\n/g,e)}return{formatted:C,cursorOffset:h,comments:f.comments}}(u,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!A(u,o)&&(u=o.printer.insertPragma(u)),n=y(u,o)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}t.exports={formatWithCursor:b,parse(e,t,n){let{text:r,options:u}=F(e,c(t)),i=d.parse(r,u);return n&&(i.ast=p(i.ast,u)),i},formatAST(e,t){t=c(t);let n=f(e,t);return r(n,t)},formatDoc:(e,t)=>b(u(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:n,text:r}=d.parse(e,t);return h(r,n,t),f(n,t)},printDocToString:(e,t)=>r(e,c(t))}}}),Wr=mt({"src/common/util-shared.js"(e,t){Ct();var{getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:u,getIndentSize:i,skip:o,skipWhitespace:a,skipSpaces:s,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:D,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:h,isNextLineEmptyAfterIndex:y,isPreviousLineEmpty:C,getNextNonSpaceNonCommentCharacterIndex:E,makeString:F,addLeadingComment:A,addDanglingComment:b,addTrailingComment:v}=cn();t.exports={getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:u,getIndentSize:i,skip:o,skipWhitespace:a,skipSpaces:s,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:D,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:h,isNextLineEmptyAfterIndex:y,isPreviousLineEmpty:C,getNextNonSpaceNonCommentCharacterIndex:E,makeString:F,addLeadingComment:A,addDanglingComment:b,addTrailingComment:v}}}),Ur=mt({"src/utils/create-language.js"(e,t){Ct(),t.exports=function(e,t){let{languageId:n}=e,r=ot(e,it);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))}}}),Jr=mt({"node_modules/esutils/lib/ast.js"(e,t){Ct(),function(){function e(e){if(null==e)return!1;switch(e.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 n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}t.exports={isExpression:function(e){if(null==e)return!1;switch(e.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},isStatement:e,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()}}),zr=mt({"node_modules/esutils/lib/code.js"(e,t){Ct(),function(){var e,n,r,u,i,o;function a(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={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]/},e={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]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),o=0;o<128;++o)u[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||36===o||95===o;t.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?u[e]:n.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(t){return t<128?u[t]:e.NonAsciiIdentifierStart.test(a(t))},isIdentifierPartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierPart.test(a(t))}}}()}}),Hr=mt({"node_modules/esutils/lib/keyword.js"(e,t){Ct(),function(){var e=zr();function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function u(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function o(t){var n,r,u;if(0===t.length||(u=t.charCodeAt(0),!e.isIdentifierStartES5(u)))return!1;for(n=1,r=t.length;n=r||!(56320<=(i=t.charCodeAt(n))&&i<=57343))return!1;u=a(u,i)}if(!o(u))return!1;o=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return o(e)&&!u(e,t)},isIdentifierES6:function(e,t){return s(e)&&!i(e,t)}}}()}}),Gr=mt({"node_modules/esutils/lib/utils.js"(e){Ct(),e.ast=Jr(),e.code=zr(),e.keyword=Hr()}}),Xr=mt({"src/language-js/utils/is-block-comment.js"(e,t){Ct();var n=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>n.has(null==e?void 0:e.type)}}),Kr=mt({"src/language-js/utils/is-node-matches.js"(e,t){Ct(),t.exports=function(e,t){return t.some((t=>function(e,t){let n=t.split(".");for(let t=n.length-1;t>=0;t--){let r=n[t];if(0===t)return"Identifier"===e.type&&e.name===r;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==r)return!1;e=e.object}}(e,t)))}}}),Yr=mt({"src/language-js/utils/index.js"(e,t){Ct();var n=Gr().keyword.isIdentifierNameES5,{getLast:r,hasNewline:u,skipWhitespace:i,isNonEmptyArray:o,isNextLineEmptyAfterIndex:a,getStringWidth:s}=cn(),{locStart:l,locEnd:c,hasSameLocStart:p}=Tr(),D=Xr(),d=Kr(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),g=new RegExp(`^${f}*::`);function h(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var y=h(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),C=h(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);var E=h(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function F(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function A(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var b=h(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),v=h(["FunctionExpression","ArrowFunctionExpression"]);function x(e){return I(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var S=h(["JSXElement","JSXFragment"]);function B(e){return"get"===e.kind||"set"===e.kind}function k(e){return B(e)||p(e,e.value)}var T=h(["BinaryExpression","LogicalExpression","NGPipeExpression"]);var w=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"]);var N=["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"];var I=h(["CallExpression","OptionalCallExpression"]),j=h(["MemberExpression","OptionalMemberExpression"]);function P(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function O(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function M(e){var t,n;return null!==(t=null===(n=e.extra)||void 0===n?void 0:n.raw)&&void 0!==t?t:e.raw}var L={"==":!0,"!=":!0,"===":!0,"!==":!0},_={"*":!0,"/":!0,"%":!0},$={">>":!0,">>>":!0,"<<":!0};var R=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function V(e){return R.get(e)}var q=new WeakMap;function W(e){if(q.has(e))return q.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),q.set(e,t),t}var U=new WeakMap;function J(e){if(U.has(e))return U.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),U.set(e,t),t}function z(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function H(e){return e&&(e.prettierIgnore||K(e,G.PrettierIgnore))}var G={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},X=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,u)=>!(e&G.Leading&&!n.leading||e&G.Trailing&&!n.trailing||e&G.Dangling&&(n.leading||n.trailing)||e&G.Block&&!D(n)||e&G.Line&&!y(n)||e&G.First&&0!==r||e&G.Last&&r!==u.length-1||e&G.PrettierIgnore&&!z(n)||t&&!t(n))};function K(e,t,n){if(!o(null==e?void 0:e.comments))return!1;let r=X(t,n);return!r||e.comments.some(r)}function Y(e,t,n){if(!Array.isArray(null==e?void 0:e.comments))return[];let r=X(t,n);return r?e.comments.filter(r):e.comments}function Q(e){return I(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var Z=Symbol("ifWithoutBlockAndSameLineComment");function ee(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:W,iterateFunctionParametersPath:function(e,t){let n=e.getValue(),r=0,u=e=>t(e,r++);n.this&&e.call(u,"this"),Array.isArray(n.parameters)?e.each(u,"parameters"):Array.isArray(n.params)&&e.each(u,"params"),n.rest&&e.call(u,"rest")},getCallArguments:J,iterateCallArgumentsPath:function(e,t){let n=e.getValue();"ImportExpression"===n.type?(e.call((e=>t(e,0)),"source"),n.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){var t;if(e.rest)return!0;let n=W(e);return"RestElement"===(null===(t=r(n))||void 0===t?void 0:t.type)},getLeftSide:function(e){var t,n,r,u,i,o;return e.expressions?e.expressions[0]:null!==(t=null!==(n=null!==(r=null!==(u=null!==(i=null!==(o=e.left)&&void 0!==o?o:e.test)&&void 0!==i?i:e.callee)&&void 0!==u?u:e.object)&&void 0!==r?r:e.tag)&&void 0!==n?n:e.argument)&&void 0!==t?t:e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){let t=e.getParentNode();return"declaration"===e.getName()&&C(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e||"-"===e?e+t:t},hasFlowAnnotationComment:function(e){let t=null==e?void 0:e[0];return D(t)&&g.test(t.value)},hasFlowShorthandAnnotationComment:function(e){var t,n;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&D(null===(n=e.trailingComments)||void 0===n?void 0:n[0])&&m.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return S(t)?H(t):K(t,G.Leading,(t=>u(e,c(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||I(e)||j(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||ee(e)||"TSNonNullExpression"===e.type},hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,n)));let r=n(t);return"boolean"==typeof r?r:Object.values(t).some((t=>e(t,n)))},hasIgnoreComment:function(e){return H(e.getValue())},hasNodeIgnoreComment:H,identity:function(e){return e},isBinaryish:T,isCallLikeExpression:Q,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:y,isPrettierIgnoreComment:z,isCallExpression:I,isMemberExpression:j,isExportDeclaration:C,isFlowAnnotationComment:function(e,t){let n=l(t),r=i(e,c(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let n of e)if(v(n)){if(t+=1,t>1)return!0}else if(I(n))for(let e of n.arguments)if(v(e))return!0;return!1},isFunctionNotation:k,isFunctionOrArrowExpression:v,isGetterOrSetter:B,isJestEachTemplateLiteral:function(e,t){let n=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJsxNode:S,isLiteral:E,isLongCurriedCallExpression:function(e){let t=e.getValue(),n=e.getParentNode();return I(t)&&I(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;let r=t=>e(t,n+1),u="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(u&&s(u)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((e=>!e.value.raw.includes("\n")))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||r(e))):Q(t)?("ImportExpression"===t.type||e(t.callee,n))&&J(t).every(r):j(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"===t.type&&{"!":!0,"-":!0,"+":!0,"~":!0}[t.operator]||"UpdateExpression"===t.type&&{"++":!0,"--":!0}[t.operator]?e(t.argument,n):"TSNonNullExpression"===t.type&&e(t.expression,n)))},isMemberish:function(e){return j(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:F,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&F(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:b,isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||k(e))},isSimpleType:function(e){return!!e&&!(("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!w.has(e.type))},isSimpleNumber:P,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let n=e[t];return 0!==n.length&&n.every((e=>{if(K(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(j(e)){let t=e;for(;j(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,K(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:A,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&A(e.key)&&M(e.key).slice(1,-1)===e.key.value&&(n(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||P(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&O(e)||"TaggedTemplateExpression"===e.type&&O(e.quasi))&&!u(t,l(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(x(t)&&n&&e(n))return v(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return x(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("TemplateLiteral"===t.arguments[0].type||A(t.arguments[0]))&&function(e){return d(e,N)}(t.callee))return!(t.arguments[2]&&!F(t.arguments[2]))&&((2===t.arguments.length?v(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&W(t.arguments[1]).length<=1)||x(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let n=t.getNode();if(!n.expression||!S(n.expression))return!1;let r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||p(e,e.typeAnnotation))},isNextLineEmpty:(e,t)=>{let{originalText:n}=t;return a(n,c(e))},needsHardlineAfterDanglingComment:function(e){if(!K(e))return!1;let t=r(Y(e,G.Dangling));return t&&!D(t)},rawText:M,shouldPrintComma:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean($[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(V(t)!==V(e)||"**"===e||L[e]&&L[t]||"%"===t&&_[e]||"%"===e&&_[t]||t!==e&&_[t]&&_[e]||$[e]&&$[t])},startsWithNoLookaheadToken:function e(t,n){switch(t.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return e(t.left,n);case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return n(t)}},getPrecedence:V,hasComment:K,getComments:Y,CommentCheckFlags:G,markerForIfWithoutBlockAndSameLineComment:Z,isTSTypeExpression:ee}}}),Qr=mt({"src/language-js/print/template-literal.js"(e,t){Ct();var n=xt(),{getStringWidth:r,getIndentSize:u}=cn(),{builders:{join:i,hardline:o,softline:a,group:s,indent:l,align:c,lineSuffixBoundary:p,addAlignmentToDoc:D},printer:{printDocToString:d},utils:{mapDoc:f}}=Rt(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:h,hasComment:y,isMemberExpression:C,isTSTypeExpression:E}=Yr();function F(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,f){let F=e.getValue();if("TemplateLiteral"===F.type&&g(F,e.getParentNode())){let u=function(e,t,u){let a=e.getNode(),s=a.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(s.length>1||s.some((e=>e.length>0))){t.__inJestEach=!0;let c=e.map(u,"expressions");t.__inJestEach=!1;let D=[],f=c.map((e=>"${"+d(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length))),h=Array.from({length:g}).fill(0),y=[{cells:s},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of y.filter((e=>!e.hasLineBreak)))for(let[t,n]of e.entries())h[t]=Math.max(h[t],r(n));return D.push(p,"`",l([o,i(o,y.map((e=>i(" | ",e.cells.map(((t,n)=>e.hasLineBreak?t:t+" ".repeat(h[n]-r(t))))))))]),o,"`"),D}}(e,f,t);if(u)return u}let A="expressions";"TSTemplateLiteralType"===F.type&&(A="types");let b=[],v=e.map(t,A),x=h(F);return x&&(v=v.map((e=>d(e,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),b.push(p,"`"),e.each((e=>{let n=e.getName();if(b.push(t()),nfunction(e,t){let n=e.getValue(),r=t();return y(n)&&(r=s([l([a,r]),a])),["${",r,p,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return f(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):F(e):e))},uncookTemplateElementValue:F}}}),Zr=mt({"src/language-js/embed/markdown.js"(e,t){Ct();var{builders:{indent:n,softline:r,literalline:u,dedentToRoot:i}}=Rt(),{escapeTemplateCharacters:o}=Qr();t.exports=function(e,t,a){let s=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`")),l=function(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(s),c=""!==l;c&&(s=s.replace(new RegExp(`^${l}`,"gm"),""));let p=o(a(s,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",c?n([r,p]):[u,i(p)],r,"`"]}}}),eu=mt({"src/language-js/embed/css.js"(e,t){Ct();var{isNonEmptyArray:n}=cn(),{builders:{indent:r,hardline:u,softline:i},utils:{mapDoc:o,replaceEndOfLine:a,cleanDoc:s}}=Rt(),{printTemplateExpressions:l}=Qr();t.exports=function(e,t,c){let p=e.getValue(),D=p.quasis.map((e=>e.value.raw)),d=0;return function(e,t,l){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let c=function(e,t){if(!n(t))return e;let r=0,u=o(s(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,n)=>n%2==0?a(e):(r++,t[e]))):e));return t.length===r?u:null}(e,l);if(!c)throw new Error("Couldn't insert all the expressions");return["`",r([u,c]),i,"`"]}(c(D.reduce(((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+d+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),p,l(e,t))}}}),tu=mt({"src/language-js/embed/graphql.js"(e,t){Ct();var{builders:{indent:n,join:r,hardline:u}}=Rt(),{escapeTemplateCharacters:i,printTemplateExpressions:o}=Qr();function a(e){let t=[],n=!1,i=e.map((e=>e.trim()));for(let[e,r]of i.entries())""!==r&&(""===i[e-1]&&n?t.push([u,r]):t.push(r),n=!0);return 0===t.length?null:r(u,t)}t.exports=function(e,t,s){let l=e.getValue(),c=l.quasis.length;if(1===c&&""===l.quasis[0].value.raw.trim())return"``";let p=o(e,t),D=[];for(let e=0;e2&&""===u[0].trim()&&""===u[1].trim(),m=o>2&&""===u[o-1].trim()&&""===u[o-2].trim(),g=u.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!n&&/#[^\n\r]*$/.test(u[o-1]))return null;let h=null;h=g?a(u):s(r,{parser:"graphql"},{stripTrailingHardline:!0}),h?(h=i(h,!1),!t&&f&&D.push(""),D.push(h),!n&&m&&D.push("")):!t&&!n&&f&&D.push(""),d&&D.push(d)}return["`",n([u,r(u,D)]),u,"`"]}}}),nu=mt({"src/language-js/embed/html.js"(e,t){Ct();var{builders:{indent:n,line:r,hardline:u,group:i},utils:{mapDoc:o}}=Rt(),{printTemplateExpressions:a,uncookTemplateElementValue:s}=Qr(),l=0;t.exports=function(e,t,c,p,D){let{parser:d}=D,f=e.getValue(),m=l;l=l+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,h=f.quasis.map(((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+g(t))).join(""),y=a(e,t);if(0===y.length&&0===h.trim().length)return"``";let C=new RegExp(g("(\\d+)"),"g"),E=0,F=c(h,{parser:d,__onHtmlRoot(e){E=e.children.length}},{stripTrailingHardline:!0}),A=o(F,(e=>{if("string"!=typeof e)return e;let t=[],n=e.split(C);for(let e=0;e1?n(i(A)):i(A),v,"`"])}}}),ru=mt({"src/language-js/embed.js"(e,t){Ct();var{hasComment:n,CommentCheckFlags:r,isObjectProperty:u}=Yr(),i=Zr(),o=eu(),a=tu(),s=nu();function l(e){return function(e){let t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((e=>"jsx"===e.name.name))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return p(n.object)||D(n);case"CallExpression":return p(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(p(n.callee.object.object)||D(n.callee.object))||"CallExpression"===n.callee.object.type&&p(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){let t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>u(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...c)}(e)?"css":function(e){let t=e.getValue(),n=e.getParentNode();return d(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return d(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}(e)?"html":function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>u(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...c)}(e)?"angular":function(e){let t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}var c=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function p(e){return"Identifier"===e.type&&"styled"===e.name}function D(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function d(e,t){return n(e,r.Block|r.Leading,(e=>{let{value:n}=e;return n===` ${t} `}))}t.exports=function(e,t,n,r){let u=e.getValue();if("TemplateLiteral"!==u.type||function(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}(u))return;let c=l(e);if(c){if("markdown"===c)return i(e,t,n);if("css"===c)return o(e,t,n);if("graphql"===c)return a(e,t,n);if("html"===c||"angular"===c)return s(e,t,n,r,{parser:c})}}}}),uu=mt({"src/language-js/clean.js"(e,t){Ct();var n=Xr(),r=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),u=e=>{for(let t of e.quasis)delete t.value};function i(e,t,r){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(let{type:e,expression:n}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===n.type&&u(n);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&u(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let i=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===i.type&&"Component"===i.callee.name&&1===i.arguments.length){let n=e.expression.arguments[0].properties;for(let[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&u(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&u(r.value)}}var o;("TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&u(t.quasi),"TemplateLiteral"===e.type)&&(((null===(o=e.leadingComments)||void 0===o?void 0:o.some((e=>n(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `)))))||"CallExpression"===r.type&&"graphql"===r.callee.name||!e.leadingComments)&&u(t));return"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}i.ignoredProperties=r,t.exports=i}}),iu={};function ou(){if(typeof Eu>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Eu="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Eu="LE"}}return Eu}function au(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function su(){return[]}function lu(){return 0}function cu(){return Number.MAX_VALUE}function pu(){return Number.MAX_VALUE}function Du(){return[]}function du(){return"Browser"}function fu(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function mu(){}function gu(){}function hu(){return"javascript"}function yu(){return"browser"}function Cu(){return"/tmp"}gt(iu,{EOL:()=>Au,arch:()=>hu,cpus:()=>Du,default:()=>bu,endianness:()=>ou,freemem:()=>cu,getNetworkInterfaces:()=>gu,hostname:()=>au,loadavg:()=>su,networkInterfaces:()=>mu,platform:()=>yu,release:()=>fu,tmpDir:()=>Cu,tmpdir:()=>Fu,totalmem:()=>pu,type:()=>du,uptime:()=>lu});var Eu,Fu,Au,bu,vu=ft({"node-modules-polyfills:os"(){Ct(),bu={EOL:Au="\n",tmpdir:Fu=Cu,tmpDir:Cu,networkInterfaces:mu,getNetworkInterfaces:gu,release:fu,type:du,cpus:Du,totalmem:pu,freemem:cu,uptime:lu,loadavg:su,hostname:au,endianness:ou}}}),xu=mt({"node-modules-polyfills-commonjs:os"(e,t){Ct();var n=(vu(),yt(iu));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),Su=mt({"node_modules/detect-newline/index.js"(e,t){Ct();var n=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let n=t.filter((e=>"\r\n"===e)).length;return n>t.length-n?"\r\n":"\n"};t.exports=n,t.exports.graceful=e=>"string"==typeof e&&n(e)||"\n"}}),Bu=mt({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=xu();return t=function(){return e},e}function n(){let e=function(e){return e&&e.__esModule?e:{default:e}}(Su());return n=function(){return e},e}Ct(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(i);return t?t[0].trimLeft():""},e.parse=function(e){return D(e).pragmas},e.parseWithComments=D,e.print=function(e){let{comments:r="",pragmas:u={}}=e,i=(0,n().default)(r)||t().EOL,o=" *",a=Object.keys(u),s=a.map((e=>d(e,u[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${o} ${e}${i}`)).join("");if(!r){if(0===a.length)return"";if(1===a.length&&!Array.isArray(u[a[0]])){let e=u[a[0]];return`/** ${d(a[0],e)[0]} */`}}let l=r.split(i).map((e=>`${o} ${e}`)).join(i)+i;return"/**"+i+(r?l:"")+(r&&a.length?o+i:"")+s+" */"},e.strip=function(e){let t=e.match(i);return t&&t[0]?e.substring(t[0].length):e};var r=/\*\/$/,u=/^\/\*\*?/,i=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,a=/^(\r?\n)+/,s=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,c=/(\r?\n|^) *\* ?/g,p=[];function D(e){let i=(0,n().default)(e)||t().EOL;e=e.replace(u,"").replace(r,"").replace(c,"$1");let D="";for(;D!==e;)D=e,e=e.replace(s,`${i}$1 $2${i}`);e=e.replace(a,"").trimRight();let d,f=Object.create(null),m=e.replace(l,"").replace(a,"").trimRight();for(;d=l.exec(e);){let e=d[2].replace(o,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=p.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function d(e,t){return p.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),ku=mt({"src/language-js/utils/get-shebang.js"(e,t){Ct(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),Tu=mt({"src/language-js/pragma.js"(e,t){Ct();var{parseWithComments:n,strip:r,extract:u,print:i}=Bu(),{normalizeEndOfLine:o}=vt(),a=ku();function s(e){let t=a(e);t&&(e=e.slice(t.length+1));let r=u(e),{pragmas:i,comments:o}=n(r);return{shebang:t,text:e,pragmas:i,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(s(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:n,pragmas:u,comments:a}=s(e),l=r(n),c=i({pragmas:Object.assign({format:""},u),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}}}}),wu=mt({"src/language-js/comments.js"(e,t){Ct();var{getLast:n,hasNewline:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:u,getNextNonSpaceNonCommentCharacter:i,hasNewlineInRange:o,addLeadingComment:a,addTrailingComment:s,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=cn(),{getFunctionParameters:D,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:h,isCallLikeExpression:y,getCallArguments:C,isCallExpression:E,isMemberExpression:F,isObjectProperty:A,isLineComment:b,getComments:v,CommentCheckFlags:x,markerForIfWithoutBlockAndSameLineComment:S}=Yr(),{locStart:B,locEnd:k}=Tr(),T=Xr();function w(e,t){let n=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));n?a(n,t):l(e,t)}function N(e,t){"BlockStatement"===e.type?w(e,t):a(e,t)}function I(e){let{comment:t,followingNode:n}=e;return!(!n||!pe(t))&&(a(n,t),!0)}function j(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:u,text:o}=e;if("IfStatement"!==(null==r?void 0:r.type)||!u)return!1;if(")"===i(o,t,k))return s(n,t),!0;if(n===r.consequent&&u===r.alternate){if("BlockStatement"===n.type)s(n,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,u=t.loc.start.line===n.loc.start.line;e&&u?l(n,t,S):l(r,t)}return!0}return"BlockStatement"===u.type?(w(u,t),!0):"IfStatement"===u.type?(N(u.consequent,t),!0):r.consequent===u&&(a(u,t),!0)}function P(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:u,text:o}=e;return!("WhileStatement"!==(null==r?void 0:r.type)||!u)&&(")"===i(o,t,k)?(s(n,t),!0):"BlockStatement"===u.type?(w(u,t),!0):r.body===u&&(a(u,t),!0))}function O(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:u}=e;return!("TryStatement"!==(null==r?void 0:r.type)&&"CatchClause"!==(null==r?void 0:r.type)||!u)&&("CatchClause"===r.type&&n?(s(n,t),!0):"BlockStatement"===u.type?(w(u,t),!0):"TryStatement"===u.type?(N(u.finalizer,t),!0):"CatchClause"===u.type&&(N(u.body,t),!0))}function M(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!F(n)||"Identifier"!==(null==r?void 0:r.type))&&(a(n,t),!0)}function L(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:u,text:i}=e,s=n&&!o(i,k(n),B(t));return!(n&&s||"ConditionalExpression"!==(null==r?void 0:r.type)&&"TSConditionalType"!==(null==r?void 0:r.type)||!u)&&(a(u,t),!0)}function _(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!(!A(r)||!r.shorthand||r.key!==n||"AssignmentPattern"!==r.value.type)&&(s(r.value.left,t),!0)}var $=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function R(e){let{comment:t,precedingNode:r,enclosingNode:u,followingNode:i}=e;if($.has(null==u?void 0:u.type)){if(p(u.decorators)&&(!i||"Decorator"!==i.type))return s(n(u.decorators),t),!0;if(u.body&&i===u.body)return w(u.body,t),!0;if(i){if(u.superClass&&i===u.superClass&&r&&(r===u.id||r===u.typeParameters))return s(r,t),!0;for(let e of["implements","extends","mixins"])if(u[e]&&i===u[e][0])return!r||r!==u.id&&r!==u.typeParameters&&r!==u.superClass?l(u,t,e):s(r,t),!0}}return!1}var V=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function q(e){let{comment:t,precedingNode:n,enclosingNode:r,text:u}=e;return!!(r&&n&&"("===i(u,t,k)&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==i(u,n,k)||"Decorator"===(null==n?void 0:n.type)&&V.has(null==r?void 0:r.type))&&(s(n,t),!0)}var W=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function U(e){let{comment:t,precedingNode:n,enclosingNode:r,text:u}=e;return"("===i(u,t,k)&&(!(!n||!W.has(null==r?void 0:r.type))&&(s(n,t),!0))}function J(e){let{comment:t,enclosingNode:n,text:r}=e;if("ArrowFunctionExpression"!==(null==n?void 0:n.type))return!1;let u=c(r,t,k);return!1!==u&&"=>"===r.slice(u,u+2)&&(l(n,t),!0)}function z(e){let{comment:t,enclosingNode:n,text:r}=e;return")"===i(r,t,k)&&(n&&(ce(n)&&0===D(n).length||y(n)&&0===C(n).length)?(l(n,t),!0):("MethodDefinition"===(null==n?void 0:n.type)||"TSAbstractMethodDefinition"===(null==n?void 0:n.type))&&0===D(n.value).length&&(l(n.value,t),!0))}function H(e){let{comment:t,precedingNode:r,enclosingNode:o,followingNode:a,text:l}=e;if("FunctionTypeParam"===(null==r?void 0:r.type)&&"FunctionTypeAnnotation"===(null==o?void 0:o.type)&&"FunctionTypeParam"!==(null==a?void 0:a.type)||("Identifier"===(null==r?void 0:r.type)||"AssignmentPattern"===(null==r?void 0:r.type))&&o&&ce(o)&&")"===i(l,t,k))return s(r,t),!0;if("FunctionDeclaration"===(null==o?void 0:o.type)&&"BlockStatement"===(null==a?void 0:a.type)){let e=(()=>{let e=D(o);if(e.length>0)return u(l,k(n(e)));let t=u(l,k(o.id));return!1!==t&&u(l,t+1)})();if(B(t)>e)return w(a,t),!0}return!1}function G(e){let{comment:t,enclosingNode:n}=e;return"LabeledStatement"===(null==n?void 0:n.type)&&(a(n,t),!0)}function X(e){let{comment:t,enclosingNode:n}=e;return!("ContinueStatement"!==(null==n?void 0:n.type)&&"BreakStatement"!==(null==n?void 0:n.type)||n.label)&&(s(n,t),!0)}function K(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!!(E(r)&&n&&r.callee===n&&r.arguments.length>0)&&(a(r.arguments[0],t),!0)}function Y(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:u}=e;return"UnionTypeAnnotation"===(null==r?void 0:r.type)||"TSUnionType"===(null==r?void 0:r.type)?(d(t)&&(u.prettierIgnore=!0,t.unignore=!0),!!n&&(s(n,t),!0)):(("UnionTypeAnnotation"===(null==u?void 0:u.type)||"TSUnionType"===(null==u?void 0:u.type))&&d(t)&&(u.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function Q(e){let{comment:t,enclosingNode:n}=e;return!!A(n)&&(a(n,t),!0)}function Z(e){let{comment:t,enclosingNode:n,followingNode:r,ast:u,isLastComment:i}=e;return u&&u.body&&0===u.body.length?(i?l(u,t):a(u,t),!0):"Program"!==(null==n?void 0:n.type)||0!==(null==n?void 0:n.body.length)||p(n.directives)?"Program"===(null==r?void 0:r.type)&&0===(null==r?void 0:r.body.length)&&"ModuleExpression"===(null==n?void 0:n.type)&&(l(r,t),!0):(i?l(n,t):a(n,t),!0)}function ee(e){let{comment:t,enclosingNode:n}=e;return("ForInStatement"===(null==n?void 0:n.type)||"ForOfStatement"===(null==n?void 0:n.type))&&(a(n,t),!0)}function te(e){let{comment:t,precedingNode:n,enclosingNode:u,text:i}=e;if("ImportSpecifier"===(null==u?void 0:u.type)||"ExportSpecifier"===(null==u?void 0:u.type))return a(u,t),!0;let o="ImportSpecifier"===(null==n?void 0:n.type)&&"ImportDeclaration"===(null==u?void 0:u.type),l="ExportSpecifier"===(null==n?void 0:n.type)&&"ExportNamedDeclaration"===(null==u?void 0:u.type);return!(!o&&!l||!r(i,k(t)))&&(s(n,t),!0)}function ne(e){let{comment:t,enclosingNode:n}=e;return"AssignmentPattern"===(null==n?void 0:n.type)&&(a(n,t),!0)}var re=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ue=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ie(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!re.has(null==n?void 0:n.type)||!r||!ue.has(r.type)&&!T(t))&&(a(r,t),!0)}function oe(e){let{comment:t,enclosingNode:n,followingNode:r,text:u}=e;return!(r||"TSMethodSignature"!==(null==n?void 0:n.type)&&"TSDeclareFunction"!==(null==n?void 0:n.type)&&"TSAbstractMethodDefinition"!==(null==n?void 0:n.type)||";"!==i(u,t,k))&&(s(n,t),!0)}function ae(e){let{comment:t,enclosingNode:n,followingNode:r}=e;if(d(t)&&"TSMappedType"===(null==n?void 0:n.type)&&"TSTypeParameter"===(null==r?void 0:r.type)&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function se(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:u}=e;return"TSMappedType"===(null==r?void 0:r.type)&&("TSTypeParameter"===(null==u?void 0:u.type)&&u.name?(a(u.name,t),!0):!("TSTypeParameter"!==(null==n?void 0:n.type)||!n.constraint)&&(s(n.constraint,t),!0))}function le(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!n||"SwitchCase"!==n.type||n.test||!r||r!==n.consequent[0])&&("BlockStatement"===r.type&&b(t)?w(r,t):l(n,t),!0)}function ce(e){return"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"===e.type}function pe(e){return T(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}t.exports={handleOwnLineComment:function(e){return[ae,H,M,j,P,O,R,ee,Y,Z,te,ne,q,G,X].some((t=>t(e)))},handleEndOfLineComment:function(e){return[I,H,L,te,j,P,O,R,G,K,Q,Z,ie,X,le].some((t=>t(e)))},handleRemainingComment:function(e){return[ae,j,P,_,z,q,Z,J,U,se,X,oe].some((t=>t(e)))},isTypeCastComment:pe,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===D(e.value).length&&!e.value.returnType&&!p(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){let t=e.getValue(),n=e.getParentNode();return(t&&(f(t)||m(t)||E(n)&&(g(v(r=t,x.Leading))||g(v(r,x.Trailing))))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!h(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type);var r}}}}),Nu=mt({"src/language-js/needs-parens.js"(e,t){Ct();var n=xt(),r=rn(),{getFunctionParameters:u,getLeftSidePathName:i,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:a,hasNode:s,isBitwiseOperator:l,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:D,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:g}=Yr();function h(e,t){let n=e.getParentNode();if(!n)return!1;let i=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){if("ObjectExpression"===e.type)return!0;return!1}(a)&&y(e))return!0;if(function(e){return"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"===e.type}(a))return!1;if("flow"!==t.parser&&o(e.getValue()))return!0;if("Identifier"===a.type){if(a.extra&&a.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(a.name)||"left"===i&&("async"===a.name&&!n.await||"let"===a.name)&&"ForOfStatement"===n.type)return!0;if("let"===a.name){var h;let t=null===(h=e.findAncestor((e=>"ForOfStatement"===e.type)))||void 0===h?void 0:h.left;if(t&&c(t,(e=>e===a)))return!0}if("object"===i&&"let"===a.name&&"MemberExpression"===n.type&&n.computed&&!n.optional){let t=e.findAncestor((e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type)),n=t?"ExpressionStatement"===t.type?t.expression:"ForStatement"===t.type?t.init:t.left:void 0;if(n&&c(n,(e=>e===a)))return!0}return!1}if("ObjectExpression"===a.type||"FunctionExpression"===a.type||"ClassExpression"===a.type||"DoExpression"===a.type){var E;let t=null===(E=e.findAncestor((e=>"ExpressionStatement"===e.type)))||void 0===E?void 0:E.expression;if(t&&c(t,(e=>e===a)))return!0}switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===i&&("ArrowFunctionExpression"===a.type||"AssignmentExpression"===a.type||"AwaitExpression"===a.type||"BinaryExpression"===a.type||"ConditionalExpression"===a.type||"LogicalExpression"===a.type||"NewExpression"===a.type||"ObjectExpression"===a.type||"SequenceExpression"===a.type||"TaggedTemplateExpression"===a.type||"UnaryExpression"===a.type||"UpdateExpression"===a.type||"YieldExpression"===a.type||"TSNonNullExpression"===a.type))return!0;break;case"ExportDefaultDeclaration":return C(e,t)||"SequenceExpression"===a.type;case"Decorator":if("expression"===i){let e=!1,n=!1,r=a;for(;r;)switch(r.type){case"MemberExpression":n=!0,r=r.object;break;case"CallExpression":if(n||e)return"typescript"!==t.parser;e=!0,r=r.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===i&&"SequenceExpression"!==a.type&&c(a,(e=>"ObjectExpression"===e.type)))return!0}switch(a.type){case"UpdateExpression":if("UnaryExpression"===n.type)return a.prefix&&("++"===a.operator&&"+"===n.operator||"--"===a.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return a.operator===n.operator&&("+"===a.operator||"-"===a.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===i;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===i;case"BinaryExpression":return"left"===i&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"in"===a.operator&&function(e){let t=0,n=e.getValue();for(;n;){let r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===a.operator&&a.extra&&a.extra.parenthesized){let t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(n.type){case"TSSatisfiesExpression":case"TSAsExpression":return!g(a);case"ConditionalExpression":return g(a);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===i;case"ClassExpression":case"ClassDeclaration":return"superClass"===i;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"object"===i;case"AssignmentExpression":case"AssignmentPattern":return"left"===i&&("TSTypeAssertion"===a.type||g(a));case"LogicalExpression":if("LogicalExpression"===a.type)return n.operator!==a.operator;case"BinaryExpression":{let{operator:e,type:t}=a;if(!e&&"TSTypeAssertion"!==t)return!0;let r=D(e),u=n.operator,o=D(u);return o>r||"right"===i&&o===r||o===r&&!p(u,e)||(o"===n.operator);default:return!1}case"TSConditionalType":if("extendsType"===i&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("extendsType"===i&&"TSConditionalType"===n.type){let e=(a.returnType||a.typeAnnotation).typeAnnotation;if("TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===i&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!a.types||a.types.length>1))return!0;case"TSInferType":if("TSInferType"===a.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===i&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===i&&"TSIndexedAccessType"===n.type||"elementType"===i&&"TSArrayType"===n.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type||"objectType"===i&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"objectType"===i&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===i&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&u(a).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===i&&"IndexedAccessType"===n.type;case"TypeofTypeAnnotation":return"objectType"===i&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof a.value&&"ExpressionStatement"===n.type&&!n.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===i&&"MemberExpression"===n.type&&"number"==typeof a.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===i&&"ArrowFunctionExpression"===n.type||("key"!==i||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==i&&"update"!==i||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===a.left.type:!("key"===i&&"TSPropertySignature"===n.type||"AssignmentExpression"===n.type||"SequenceExpression"===n.type&&t&&"ForStatement"===t.type&&(t.init===n||t.update===n)||"value"===i&&"Property"===n.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(n)||"NGChainedExpression"===n.type))}case"ConditionalExpression":switch(n.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"callee"===i;case"ConditionalExpression":return"test"===i;case"MemberExpression":case"OptionalMemberExpression":return"object"===i;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===i;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"BinaryExpression":return"|>"!==n.operator||a.extra&&a.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===i;case"MemberExpression":case"OptionalMemberExpression":return"object"===i;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===i;default:return!1}case"ClassExpression":return!!r(a.decorators)||"NewExpression"===n.type&&"callee"===i;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===i&&"MemberExpression"===n.type||"callee"===i&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===i&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=a;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===i&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===i&&f(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!a.extra||!a.extra.parenthesized)||"ArrayExpression"===n.type||d(n)&&n.arguments[i]===a||"right"===i&&"NGPipeExpression"===n.type||"property"===i&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===i||"left"===i&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&!d(n)&&!m(n)&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===i&&"ArrowFunctionExpression"===n.type&&function(e){return s(e,(e=>"ObjectTypeAnnotation"===e.type&&s(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(a)}return!1}function y(e){let t=e.getValue(),r=e.getParentNode(),u=e.getName();switch(r.type){case"NGPipeExpression":if("number"==typeof u&&r.arguments[u]===t&&r.arguments.length-1===u)return e.callParent(y);break;case"ObjectProperty":if("value"===u){let t=e.getParentNode(1);return n(t.properties)===r}break;case"BinaryExpression":case"LogicalExpression":if("right"===u)return e.callParent(y);break;case"ConditionalExpression":if("alternate"===u)return e.callParent(y);break;case"UnaryExpression":if(r.prefix)return e.callParent(y)}return!1}function C(e,t){let n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!h(e,t):!(!a(n)||"ExportDefaultDeclaration"!==r.type&&h(e,t))&&e.call((e=>C(e,t)),...i(e,n))}t.exports=h}}),Iu=mt({"src/language-js/print-preprocess.js"(e,t){Ct(),t.exports=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}}}),ju=mt({"src/language-js/print/html-binding.js"(e,t){Ct();var{builders:{join:n,line:r,group:u,softline:i,indent:o}}=Rt();t.exports={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,a){let s=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(s,t),"File"===s.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=n([",",r],e.map(a,"params")),{params:s}=e.getValue();return 1===s.length?t:["(",o([i,u(t)]),i,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>n([",",r],e.map(a,"params"))),"program","body",0)}}}}}),Pu=mt({"src/language-js/print/binaryish.js"(e,t){Ct();var{printComments:n}=Lr(),{getLast:r}=cn(),{builders:{join:u,line:i,softline:o,group:a,indent:s,align:l,indentIfBreak:c},utils:{cleanDoc:p,getDocParts:D,isConcat:d}}=Rt(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:g,shouldFlatten:h,hasComment:y,CommentCheckFlags:C,isCallExpression:E,isMemberExpression:F,isObjectProperty:A,isEnabledHackPipeline:b}=Yr(),v=0;function x(e,t,r,o,c){let g=e.getValue();if(!m(g))return[a(t())];let E=[];h(g.operator,g.left.operator)?E=e.call((e=>x(e,t,r,!0,c)),"left"):E.push(a(t("left")));let F,A=S(g),v=("|>"===g.operator||"NGPipeExpression"===g.type||"|"===g.operator&&"__vue_expression"===r.parser)&&!f(r.originalText,g.right),B="NGPipeExpression"===g.type?"|":g.operator,k="NGPipeExpression"===g.type&&g.arguments.length>0?a(s([i,": ",u([i,": "],e.map(t,"arguments").map((e=>l(2,a(e)))))])):"";if(A)F=[B," ",t("right"),k];else{let n=b(r)&&"|>"===B?e.call((e=>x(e,t,r,!0,c)),"right"):t("right");F=[v?i:"",B,v?" ":i,n,k]}let T=e.getParentNode(),w=y(g.left,C.Trailing|C.Line),N=w||!(c&&"LogicalExpression"===g.type)&&T.type!==g.type&&g.left.type!==g.type&&g.right.type!==g.type;if(E.push(v?"":" ",N?a(F,{shouldBreak:w}):F),o&&y(g)){let t=p(n(e,E,r));return d(t)||"fill"===t.type?D(t):[t]}return E}function S(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||g(e.right))}t.exports={printBinaryishExpression:function(e,t,n){let u=e.getValue(),i=e.getParentNode(),l=e.getParentNode(1),p=u!==i.body&&("IfStatement"===i.type||"WhileStatement"===i.type||"SwitchStatement"===i.type||"DoWhileStatement"===i.type),D=b(t)&&"|>"===u.operator,d=x(e,n,t,!1,p);if(p)return d;if(D)return a(d);if(E(i)&&i.callee===u||"UnaryExpression"===i.type||F(i)&&!i.computed)return a([s([o,...d]),o]);let f="ReturnStatement"===i.type||"ThrowStatement"===i.type||"JSXExpressionContainer"===i.type&&"JSXAttribute"===l.type||"|"!==u.operator&&"JsExpressionRoot"===i.type||"NGPipeExpression"!==u.type&&("NGRoot"===i.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===i.type&&"NGMicrosyntax"===l.type&&1===l.body.length)||u===i.body&&"ArrowFunctionExpression"===i.type||u!==i.body&&"ForStatement"===i.type||"ConditionalExpression"===i.type&&"ReturnStatement"!==l.type&&"ThrowStatement"!==l.type&&!E(l)||"TemplateLiteral"===i.type,y="AssignmentExpression"===i.type||"VariableDeclarator"===i.type||"ClassProperty"===i.type||"PropertyDefinition"===i.type||"TSAbstractPropertyDefinition"===i.type||"ClassPrivateProperty"===i.type||A(i),C=m(u.left)&&h(u.operator,u.left.operator);if(f||S(u)&&!C||!S(u)&&y)return a(d);if(0===d.length)return"";let B=g(u.right),k=d.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),T=d.slice(0,-1===k?1:k+1),w=d.slice(T.length,B?-1:void 0),N=Symbol("logicalChain-"+ ++v),I=a([...T,s(w)],{id:N});if(!B)return I;let j=r(d);return a([I,c(j,{groupId:N})])},shouldInlineLogicalExpression:S}}}),Ou=mt({"src/language-js/print/angular.js"(e,t){Ct();var{builders:{join:n,line:r,group:u}}=Rt(),{hasNode:i,hasComment:o,getComments:a}=Yr(),{printBinaryishExpression:s}=Pu();function l(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}t.exports={printAngular:function(e,t,c){let p=e.getValue();if(p.type.startsWith("NG"))switch(p.type){case"NGRoot":return[c("node"),o(p.node)?" //"+a(p.node)[0].value.trimEnd():""];case"NGPipeExpression":return s(e,t,c);case"NGChainedExpression":return u(n([";",r],e.map((e=>function(e){return i(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?c():["(",c(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[p.prefix,": ",p.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":l(e.getValue(),t,p)?" ":[";",r],c()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(p.name)?p.name:JSON.stringify(p.name);case"NGMicrosyntaxExpression":return[c("expression"),null===p.alias?"":[" as ",c("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),n=e.getParentNode(),r=l(p,t,n)||(1===t&&("then"===p.key.name||"else"===p.key.name)||2===t&&"else"===p.key.name&&"NGMicrosyntaxKeyedExpression"===n.body[t-1].type&&"then"===n.body[t-1].key.name)&&"NGMicrosyntaxExpression"===n.body[0].type;return[c("key"),r?" ":": ",c("expression")]}case"NGMicrosyntaxLet":return["let ",c("key"),null===p.value?"":[" = ",c("value")]];case"NGMicrosyntaxAs":return[c("key")," as ",c("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(p.type)}.`)}}}}}),Mu=mt({"src/language-js/print/jsx.js"(e,t){Ct();var{printComments:n,printDanglingComments:r,printCommentsSeparately:u}=Lr(),{builders:{line:i,hardline:o,softline:a,group:s,indent:l,conditionalGroup:c,fill:p,ifBreak:D,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=Rt(),{getLast:g,getPreferredQuote:h}=cn(),{isJsxNode:y,rawText:C,isCallExpression:E,isStringLiteral:F,isBinaryish:A,hasComment:b,CommentCheckFlags:v,hasNodeIgnoreComment:x}=Yr(),S=Nu(),{willPrintOwnComments:B}=wu(),k=e=>""===e||e===i||e===o||e===a;function T(e,t,n){let r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!_(t)}(r))return[n("openingElement"),n("closingElement")];let u="JSXElement"===r.type?n("openingElement"):n("openingFragment"),d="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[u,...e.map(n,"children"),d];r.children=r.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&F(e.expression)&&" "===e.expression.value&&!b(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));let f=r.children.some(y),h=r.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,E="JSXElement"===r.type&&r.openingElement.attributes.length>1,A=m(u)||f||E||h,v="mdx"===e.getParentNode().rootMarker,x=t.singleQuote?"{' '}":'{" "}',S=v?" ":D([x,a]," "),B=function(e,t,n,r,u){let a=[];return e.each(((e,t,s)=>{let l=e.getValue();if("JSXText"===l.type){let e=C(l);if(_(l)){let n,o=e.split(O);if(""===o[0]){if(a.push(""),o.shift(),/\n/.test(o[0])){let e=s[t+1];a.push(N(u,o[1],l,e))}else a.push(r);o.shift()}if(""===g(o)&&(o.pop(),n=o.pop()),0===o.length)return;for(let[e,t]of o.entries())e%2==1?a.push(i):a.push(t);if(void 0!==n)if(/\n/.test(n)){let e=s[t+1];a.push(N(u,g(a),l,e))}else a.push(r);else{let e=s[t+1];a.push(w(u,g(a),l,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&a.push("",o):a.push("",r)}else{let e=n();a.push(e);let r=s[t+1];if(r&&_(r)){let e=L(C(r)).split(O)[0];a.push(w(u,e,l,r))}else a.push(o)}}),"children"),a}(e,0,n,S,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),T=r.children.some((e=>_(e)));for(let e=B.length-2;e>=0;e--){let t=""===B[e]&&""===B[e+1],n=B[e]===o&&""===B[e+1]&&B[e+2]===o,r=(B[e]===a||B[e]===o)&&""===B[e+1]&&B[e+2]===S,u=B[e]===S&&""===B[e+1]&&(B[e+2]===a||B[e+2]===o),i=B[e]===S&&""===B[e+1]&&B[e+2]===S,s=B[e]===a&&""===B[e+1]&&B[e+2]===o||B[e]===o&&""===B[e+1]&&B[e+2]===a;n&&T||t||r||i||s?B.splice(e,2):u&&B.splice(e+1,2)}for(;B.length>0&&k(g(B));)B.pop();for(;B.length>1&&k(B[0])&&k(B[1]);)B.shift(),B.shift();let I=[];for(let[e,t]of B.entries()){if(t===S){if(1===e&&""===B[e-1]){if(2===B.length){I.push(x);continue}I.push([x,o]);continue}if(e===B.length-1){I.push(x);continue}if(""===B[e-1]&&B[e-2]===o){I.push(x);continue}}I.push(t),m(t)&&(A=!0)}let j=T?p(I):s(I,{shouldBreak:!0});if(v)return j;let P=s([u,l([o,j]),o,d]);return A?P:c([s([u,...B,d]),P])}function w(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?a:o:a}function N(e,t,n,r){return e?o:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?o:a:o}function I(e,t,n){return e.selfClosing?[i,"/>"]:function(e,t,n){let r=e.attributes.length>0&&b(g(e.attributes),v.Trailing);return 0===e.attributes.length&&!n||(t.bracketSameLine||t.jsxBracketSameLine)&&(!n||e.attributes.length>0)&&!r}(e,t,n)?[">"]:[a,">"]}function j(e,t,r){return function(e,t,n){let r=e.getParentNode();if(!r||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;let u=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),E,(e=>"JSXExpressionContainer"===e.type)),i=S(e,n);return s([i?"":D("("),l([a,t]),a,i?"":D(")")],{shouldBreak:u})}(e,n(e,T(e,t,r),t),t)}function P(e,t,r){let u=e.getValue();return["{",e.call((e=>{let u=["...",r()],i=e.getValue();return b(i)&&B(e)?[l([a,n(e,u,t)]),a]:u}),"JSXSpreadAttribute"===u.type?"argument":"expression"),"}"]}var O=new RegExp("([ \n\r\t]+)"),M=new RegExp("[^ \n\r\t]"),L=e=>e.replace(new RegExp("(?:^"+O.source+"|"+O.source+"$)"),"");function _(e){return"JSXText"===e.type&&(M.test(C(e))||!/\n/.test(C(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),n=e.getParentNode();if(!(n&&t&&y(t)&&y(n)))return!1;let r=null;for(let e=n.children.indexOf(t);e>0;e--){let t=n.children[e-1];if("JSXText"!==t.type||_(t)){r=t;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&x(r.expression)},printJsx:function(e,t,n){let c=e.getValue();if(c.type.startsWith("JSX"))switch(c.type){case"JSXAttribute":return function(e,t,n){let r=e.getValue(),i=[];if(i.push(n("name")),r.value){let o;if(F(r.value)){let n=C(r.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:i,quote:a,regex:s}=h(n,t.jsxSingleQuote?"'":'"');n=n.replace(s,i);let{leading:l,trailing:c}=e.call((()=>u(e,t)),"value");o=[l,a,n,a,c]}else o=n("value");i.push("=",o)}return i}(e,t,n);case"JSXIdentifier":return String(c.name);case"JSXNamespacedName":return f(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return f(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return P(e,t,n);case"JSXExpressionContainer":return function(e,t,n){let r=e.getValue(),u=(e,t)=>"JSXEmptyExpression"===e.type||!b(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(u(e.argument,e)||"JSXElement"===e.argument.type)||E(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||y(t)&&("ConditionalExpression"===e.type||A(e)));return u(r.expression,e.getParentNode(0))?s(["{",n("expression"),d,"}"]):s(["{",l([a,n("expression")]),a,d,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return j(e,t,n);case"JSXOpeningElement":return function(e,t,n){let r=e.getValue(),u=r.name&&b(r.name)||r.typeParameters&&b(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!u)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&F(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!u&&!b(r.attributes[0]))return s(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);let a=r.attributes&&r.attributes.some((e=>e.value&&F(e.value)&&e.value.value.includes("\n"))),c=t.singleAttributePerLine&&r.attributes.length>1?o:i;return s(["<",n("name"),n("typeParameters"),l(e.map((()=>[c,n()]),"attributes")),...I(r,t,u)],{shouldBreak:a})}(e,t,n);case"JSXClosingElement":return function(e,t,n){let r=e.getValue(),u=[];u.push(""),u}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){let n=e.getValue(),u=b(n),i=b(n,v.Line),a="JSXOpeningFragment"===n.type;return[a?"<":""]}(e,t);case"JSXEmptyExpression":return function(e,t){let n=e.getValue(),u=b(n,v.Line);return[r(e,t,!u),u?o:""]}(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(c.type)}.`)}}}}}),Lu=mt({"src/language-js/print/misc.js"(e,t){Ct();var{isNonEmptyArray:n}=cn(),{builders:{indent:r,join:u,line:i}}=Rt(),{isFlowAnnotationComment:o}=Yr();function a(e,t,n){let r=e.getValue();if(!r.typeAnnotation)return"";let u=e.getParentNode(),i="DeclareFunction"===u.type&&u.id===r;return o(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[i?"":": ",n("typeAnnotation")]}t.exports={printOptionalToken:function(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printDefiniteToken:function(e){return e.getValue().definite||e.match(void 0,((e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite))?"!":""},printFunctionTypeParameters:function(e,t,n){let r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function(e,t,r){let i=e.getValue();return n(i.modifiers)?[u(" ",e.map(r,"modifiers"))," "]:""},printTypeAnnotation:a,printRestSpread:function(e,t,n){return["...",n("argument"),a(e,t,n)]},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:r([i,t])},printDirective:function(e,t){let n=e.slice(1,-1);if(n.includes('"')||n.includes("'"))return e;let r=t.singleQuote?"'":'"';return r+n+r}}}}),_u=mt({"src/language-js/print/array.js"(e,t){Ct();var{printDanglingComments:n}=Lr(),{builders:{line:r,softline:u,hardline:i,group:o,indent:a,ifBreak:s,fill:l}}=Rt(),{getLast:c,hasNewline:p}=cn(),{shouldPrintComma:D,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:h}=Yr(),{locStart:y}=Tr(),{printOptionalToken:C,printTypeAnnotation:E}=Lu();function F(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(g(e)||h(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,(e=>!p(t.originalText,y(e),{backwards:!0})))))}function A(e,t,n,i){let a=[],s=[];return e.each((e=>{a.push(s,o(i())),s=[",",r],e.getValue()&&m(e.getValue(),t)&&s.push(u)}),n),a}function b(e,t,n,u){let o=[];return e.each(((e,a,s)=>{let l=a===s.length-1;o.push([n(),l?u:","]),l||o.push(m(e.getValue(),t)?[i,i]:d(s[a+1],f.Leading|f.Line)?i:r)}),"elements"),l(o)}t.exports={printArray:function(e,t,r){let i=e.getValue(),l=[],p="TupleExpression"===i.type?"#[":"[";if(0===i.elements.length)d(i,f.Dangling)?l.push(o([p,n(e,t),u,"]"])):l.push(p,"]");else{let d=c(i.elements),f=!(d&&"RestElement"===d.type),m=null===d,g=Symbol("array"),h=!t.__inJestEach&&i.elements.length>1&&i.elements.every(((e,t,n)=>{let r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;let u=n[t+1];if(u&&r!==u.type)return!1;let i="ArrayExpression"===r?"elements":"properties";return e[i]&&e[i].length>1})),y=F(i,t),C=f?m?",":D(t)?y?s(",","",{groupId:g}):s(","):"":"";l.push(o([p,a([u,y?b(e,t,r,C):[A(e,t,"elements",r),C],n(e,t,!0)]),u,"]"],{shouldBreak:h,id:g}))}return l.push(C(e),E(e,t,r)),l},printArrayItems:A,isConciselyPrintedArray:F}}}),$u=mt({"src/language-js/print/call-arguments.js"(e,t){Ct();var{printDanglingComments:n}=Lr(),{getLast:r,getPenultimate:u}=cn(),{getFunctionParameters:i,hasComment:o,CommentCheckFlags:a,isFunctionCompositionArgs:s,isJsxNode:l,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:D,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:g,isObjectProperty:h,isTSTypeExpression:y}=Yr(),{builders:{line:C,hardline:E,softline:F,group:A,indent:b,conditionalGroup:v,ifBreak:x,breakParent:S},utils:{willBreak:B}}=Rt(),{ArgExpansionBailout:k}=wn(),{isConciselyPrintedArray:T}=_u();function w(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||o(e))||"ArrayExpression"===e.type&&(e.elements.length>0||o(e))||"TSTypeAssertion"===e.type&&w(e.expression)||y(e)&&w(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||N(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&w(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||l(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function N(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||o(e,a.Dangling))}t.exports=function(e,t,l){let m=e.getValue(),y="ImportExpression"===m.type,N=D(m);if(0===N.length)return["(",n(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===i(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>o(e)))}(N))return["(",l(["arguments",0]),", ",l(["arguments",1]),")"];let I=!1,j=!1,P=N.length-1,O=[];d(e,((e,n)=>{let r=e.getNode(),u=[l()];n===P||(f(r,t)?(0===n&&(j=!0),I=!0,u.push(",",E,E)):u.push(",",C)),O.push(u)}));let M=y||m.callee&&"Import"===m.callee.type||!p(t,"all")?"":",";function L(){return A(["(",b([C,...O]),M,C,")"],{shouldBreak:!0})}if(I||"Decorator"!==e.getParentNode().type&&s(N))return L();let _=function(e){if(2!==e.length)return!1;let[t,n]=e;return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&h(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&g(e.properties[0].value)&&"module"===e.properties[0].value.value}(n))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!w(n)}(N),$=function(e,t){let n=r(e),i=u(e);return!o(n,a.Leading)&&!o(n,a.Trailing)&&w(n)&&(!i||i.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==i.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&T(n,t))}(N,t);if(_||$){if(_?O.slice(1).some(B):O.slice(0,-1).some(B))return L();let t=[];try{e.try((()=>{d(e,((e,n)=>{_&&0===n&&(t=[[l([],{expandFirstArg:!0}),O.length>1?",":"",j?E:C,j?E:""],...O.slice(1)]),$&&n===P&&(t=[...O.slice(0,-1),l([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof k)return L();throw e}return[O.some(B)?S:"",v([["(",...t,")"],_?["(",A(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...O.slice(0,-1),A(r(t),{shouldBreak:!0}),")"],L()])]}let R=["(",b([F,...O]),x(M),F,")"];return c(e)?R:A(R,{shouldBreak:O.some(B)||I})}}}),Ru=mt({"src/language-js/print/member.js"(e,t){Ct();var{builders:{softline:n,group:r,indent:u,label:i}}=Rt(),{isNumericLiteral:o,isMemberExpression:a,isCallExpression:s}=Yr(),{printOptionalToken:l}=Lu();function c(e,t,i){let a=i("property"),s=e.getValue(),c=l(e);return s.computed?!s.property||o(s.property)?[c,"[",a,"]"]:r([c,"[",u([n,a]),n,"]"]):[c,".",a]}t.exports={printMemberExpression:function(e,t,o){let l,p=e.getValue(),D=e.getParentNode(),d=0;do{l=e.getParentNode(d),d++}while(l&&(a(l)||"TSNonNullExpression"===l.type));let f=o("object"),m=c(e,t,o),g=l&&("NewExpression"===l.type||"BindExpression"===l.type||"AssignmentExpression"===l.type&&"Identifier"!==l.left.type)||p.computed||"Identifier"===p.object.type&&"Identifier"===p.property.type&&!a(D)||("AssignmentExpression"===D.type||"VariableDeclarator"===D.type)&&(s(p.object)&&p.object.arguments.length>0||"TSNonNullExpression"===p.object.type&&s(p.object.expression)&&p.object.expression.arguments.length>0||"member-chain"===f.label);return i("member-chain"===f.label?"member-chain":"member",[f,g?m:r(u([n,m]))])},printMemberLookup:c}}}),Vu=mt({"src/language-js/print/member-chain.js"(e,t){Ct();var{printComments:n}=Lr(),{getLast:r,isNextLineEmptyAfterIndex:u,getNextNonSpaceNonCommentCharacterIndex:i}=cn(),o=Nu(),{isCallExpression:a,isMemberExpression:s,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:D,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:g}=Yr(),{locEnd:h}=Tr(),{builders:{join:y,hardline:C,group:E,indent:F,conditionalGroup:A,breakParent:b,label:v},utils:{willBreak:x}}=Rt(),S=$u(),{printMemberLookup:B}=Ru(),{printOptionalToken:k,printFunctionTypeParameters:T,printBindExpressionCallee:w}=Lu();t.exports=function(e,t,N){let I=e.getParentNode(),j=!I||"ExpressionStatement"===I.type,P=[];function O(e){let{originalText:n}=t,r=i(n,e,h);return")"===n.charAt(r)?!1!==r&&u(n,r+1):g(e,t)}function M(e){let r=e.getValue();a(r)&&(p(r.callee)||a(r.callee))?(P.unshift({node:r,printed:[n(e,[k(e),T(e,t,N),S(e,t,N)],t),O(r)?C:""]}),e.call((e=>M(e)),"callee")):p(r)?(P.unshift({node:r,needsParens:o(e,t),printed:n(e,s(r)?B(e,t,N):w(e,t,N),t)}),e.call((e=>M(e)),"object")):"TSNonNullExpression"===r.type?(P.unshift({node:r,printed:n(e,"!",t)}),e.call((e=>M(e)),"expression")):P.unshift({node:r,printed:N()})}let L=e.getValue();P.unshift({node:L,printed:[k(e),T(e,t,N),S(e,t,N)]}),L.callee&&e.call((e=>M(e)),"callee");let _=[],$=[P[0]],R=1;for(;R0&&_.push($);let W=_.length>=2&&!f(_[1][0].node)&&function(e){let n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(q(r.name)||j&&function(e){return e.length<=t.tabWidth}(r.name)||n)}let u=r(e[0]).node;return s(u)&&"Identifier"===u.property.type&&(q(u.property.name)||n)}(_);function U(e){let t=e.map((e=>e.printed));return e.length>0&&r(e).needsParens?["(",...t,")"]:t}let J=_.map(U),z=J,H=W?3:2,G=_.flat(),X=G.slice(1,-1).some((e=>f(e.node,m.Leading)))||G.slice(0,-1).some((e=>f(e.node,m.Trailing)))||_[H]&&f(_[H][0].node,m.Leading);if(_.length<=H&&!X)return c(e)?z:E(z);let K=r(_[W?1:0]).node,Y=!a(K)&&O(K),Q=[U(_[0]),W?_.slice(1,2).map(U):"",Y?C:"",(ee=_.slice(W?2:1),0===ee.length?"":F(E([C,y(C,ee.map(U))])))],Z=P.map((e=>{let{node:t}=e;return t})).filter(a);var ee;let te;return te=X||Z.length>2&&Z.some((e=>!e.arguments.every((e=>d(e,0)))))||J.slice(0,-1).some(x)||function(){let e=r(r(_)).node,t=r(J);return a(e)&&x(t)&&Z.slice(0,-1).some((e=>e.arguments.some(l)))}()?E(Q):[x(z)||Y?b:"",A([z,Q])],v("member-chain",te)}}}),qu=mt({"src/language-js/print/call-expression.js"(e,t){Ct();var{builders:{join:n,group:r}}=Rt(),u=Nu(),{getCallArguments:i,hasFlowAnnotationComment:o,isCallExpression:a,isMemberish:s,isStringLiteral:l,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:D}=Yr(),d=Vu(),f=$u(),{printOptionalToken:m,printFunctionTypeParameters:g}=Lu();t.exports={printCallExpression:function(e,t,h){let y=e.getValue(),C=e.getParentNode(),E="NewExpression"===y.type,F="ImportExpression"===y.type,A=m(e),b=i(y);if(b.length>0&&(!F&&!E&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let n=i(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&l(n[0])&&"ArrayExpression"===n[1].type)}return!1}(y,C)||1===b.length&&c(b[0],t.originalText)||!E&&p(y,C))){let r=[];return D(e,(()=>{r.push(h())})),[E?"new ":"",h("callee"),A,g(e,t,h),"(",n(", ",r),")"]}let v=("babel"===t.parser||"babel-flow"===t.parser)&&y.callee&&"Identifier"===y.callee.type&&o(y.callee.trailingComments);if(v&&(y.callee.trailingComments[0].printed=!0),!F&&!E&&s(y.callee)&&!e.call((e=>u(e,t)),"callee"))return d(e,t,h);let x=[E?"new ":"",F?"import":h("callee"),A,v?`/*:: ${y.callee.trailingComments[0].value.slice(2).trim()} */`:"",g(e,t,h),f(e,t,h)];return F||a(y.callee)?r(x):x}}}}),Wu=mt({"src/language-js/print/assignment.js"(e,t){Ct();var{isNonEmptyArray:n,getStringWidth:r}=cn(),{builders:{line:u,group:i,indent:o,indentIfBreak:a,lineSuffixBoundary:s},utils:{cleanDoc:l,willBreak:c,canBreak:p}}=Rt(),{hasLeadingOwnLineComment:D,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:g,isCallExpression:h,isMemberExpression:y,getCallArguments:C,rawText:E,hasComment:F,isSignedNumericLiteral:A,isObjectProperty:b}=Yr(),{shouldInlineLogicalExpression:v}=Pu(),{printCallExpression:x}=qu();function S(e,t,c,m,h,y){let C=function(e,t,u,i,o){let a=e.getValue(),s=a[o];if(!s)return"only-left";let c=!B(s);if(e.match(B,k,(e=>!c||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return c?"ArrowFunctionExpression"===s.type&&"ArrowFunctionExpression"===s.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!c&&B(s.right)||D(t.originalText,s))return"break-after-operator";if("CallExpression"===s.type&&"require"===s.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(k(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>b(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}(a)||function(e){let t=function(e){return function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}(e);if(n(t)){let n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[n]||e.default)))return!0}return!1}(a)||function(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=w(t.typeAnnotation);return n(r)&&r.length>1&&r.some((e=>n(w(e))||"TSConditionalType"===e.type))}(a)||T(a)&&p(i))return"break-lhs";let m=function(e,t,n){if(!b(e))return!1;t=l(t);let u=3;return"string"==typeof t&&r(t)function(e,t,r,u){let i=e.getValue();if(d(i)&&!v(i))return!0;switch(i.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=i;return d(e)&&!v(e)}case"ClassExpression":return n(i.decorators)}if(u)return!1;let o=i,a=[];for(;;)if("UnaryExpression"===o.type)o=o.argument,a.push("argument");else{if("TSNonNullExpression"!==o.type)break;o=o.expression,a.push("expression")}return!(!f(o)&&!e.call((()=>N(e,t,r)),...a))}(e,t,u,m)),o)?"break-after-operator":m||"TemplateLiteral"===s.type||"TaggedTemplateExpression"===s.type||"BooleanLiteral"===s.type||g(s)||"ClassExpression"===s.type?"never-break-after-operator":"fluid"}(e,t,c,m,y),E=c(y,{assignmentLayout:C});switch(C){case"break-after-operator":return i([i(m),h,i(o([u,E]))]);case"never-break-after-operator":return i([i(m),h," ",E]);case"fluid":{let e=Symbol("assignment");return i([i(m),h,i(o(u),{id:e}),s,a(E,{groupId:e})])}case"break-lhs":return i([m,h," ",i(E)]);case"chain":return[i(m),h,u,E];case"chain-tail":return[i(m),h,o([u,E])];case"chain-tail-arrow-chain":return[i(m),h,E];case"only-left":return m}}function B(e){return"AssignmentExpression"===e.type}function k(e){return B(e)||"VariableDeclarator"===e.type}function T(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function w(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function N(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=e.getValue(),i=()=>N(e,t,n,!0);if("TSNonNullExpression"===u.type)return e.call(i,"expression");if(h(u)){if("member-chain"===x(e,t,n).label)return!1;let r=C(u);return!(!(0===r.length||1===r.length&&I(r[0],t))||j(u,n))&&e.call(i,"callee")}return y(u)?e.call(i,"object"):r&&("Identifier"===u.type||"ThisExpression"===u.type)}function I(e,t){let{printWidth:n}=t;if(F(e))return!1;let r=.25*n;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=r||A(e)&&!F(e.argument))return!0;let u="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return u?u.length<=r:f(e)?E(e).length<=r:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes("\n"):m(e)}function j(e,t){let r=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(n(r)){if(r.length>1)return!0;if(1===r.length){let e=r[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let n=e.typeParameters?"typeParameters":"typeArguments";if(c(t(n)))return!0}return!1}t.exports={printVariableDeclarator:function(e,t,n){return S(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){let r=e.getValue();return S(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:S,isArrowFunctionVariableDeclarator:T}}}),Uu=mt({"src/language-js/print/function-parameters.js"(e,t){Ct();var{getNextNonSpaceNonCommentCharacter:n}=cn(),{printDanglingComments:r}=Lr(),{builders:{line:u,hardline:i,softline:o,group:a,indent:s,ifBreak:l},utils:{removeLines:c,willBreak:p}}=Rt(),{getFunctionParameters:D,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:h,isObjectTypePropertyAFunction:y,hasRestParameter:C,shouldPrintComma:E,hasComment:F,isNextLineEmpty:A}=Yr(),{locEnd:b}=Tr(),{ArgExpansionBailout:v}=wn(),{printFunctionTypeParameters:x}=Lu();function S(e){if(!e)return!1;let t=D(e);if(1!==t.length)return!1;let[n]=t;return!F(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&h(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&h(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}t.exports={printFunctionParameters:function(e,t,h,F,B){let k=e.getValue(),T=D(k),w=B?x(e,h,t):"";if(0===T.length)return[w,"(",r(e,h,!0,(e=>")"===n(h.originalText,e,b))),")"];let N=e.getParentNode(),I=m(N),j=S(k),P=[];if(d(e,((e,n)=>{let r=n===T.length-1;r&&k.rest&&P.push("..."),P.push(t()),!r&&(P.push(","),I||j?P.push(" "):A(T[n],h)?P.push(i,i):P.push(u))})),F){if(p(w)||p(P))throw new v;return a([c(w),"(",c(P),")"])}let O=T.every((e=>!e.decorators));return j&&O||I?[w,"(",...P,")"]:(y(N)||g(N)||"TypeAlias"===N.type||"UnionTypeAnnotation"===N.type||"TSUnionType"===N.type||"IntersectionTypeAnnotation"===N.type||"FunctionTypeAnnotation"===N.type&&N.returnType===k)&&1===T.length&&null===T[0].name&&k.this!==T[0]&&T[0].typeAnnotation&&null===k.typeParameters&&f(T[0].typeAnnotation)&&!k.rest?"always"===h.arrowParens?["(",...P,")"]:P:[w,"(",s([o,...P]),l(!C(k)&&E(h,"all")?",":""),o,")"]},shouldHugFunctionParameters:S,shouldGroupFunctionParameters:function(e,t){let n=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;let r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){let e=r[0];if(e.constraint||e.default)return!1}}return 1===D(e).length&&(h(n)||p(t))}}}}),Ju=mt({"src/language-js/print/type-annotation.js"(e,t){Ct();var{printComments:n,printDanglingComments:r}=Lr(),{isNonEmptyArray:u}=cn(),{builders:{group:i,join:o,line:a,softline:s,indent:l,align:c,ifBreak:p}}=Rt(),D=Nu(),{locStart:d}=Tr(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:h,shouldPrintComma:y}=Yr(),{printAssignment:C}=Wu(),{printFunctionParameters:E,shouldGroupFunctionParameters:F}=Uu(),{printArrayItems:A}=_u();function b(e){if(f(e)||m(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,n=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&n)return!0}return!1}t.exports={printOpaqueType:function(e,t,n){let r=t.semi?";":"",u=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),u.supertype&&i.push(": ",n("supertype")),u.impltype&&i.push(" = ",n("impltype")),i.push(r),i},printTypeAlias:function(e,t,n){let r=t.semi?";":"",u=e.getValue(),i=[];u.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));let o="TSTypeAliasDeclaration"===u.type?"typeAnnotation":"right";return[C(e,t,n,i," =",o),r]},printIntersectionType:function(e,t,n){let r=e.getValue(),u=e.map(n,"types"),o=[],s=!1;for(let e=0;e1&&(s=!0),o.push(" & ",e>1?l(u[e]):u[e])):o.push(l([" &",a,u[e]]));return i(o)},printUnionType:function(e,t,r){let u=e.getValue(),d=e.getParentNode(),f=!("TypeParameterInstantiation"===d.type||"TSTypeParameterInstantiation"===d.type||"GenericTypeAnnotation"===d.type||"TSTypeReference"===d.type||"TSTypeAssertion"===d.type||"TupleTypeAnnotation"===d.type||"TSTupleType"===d.type||"FunctionTypeParam"===d.type&&!d.name&&e.getParentNode(1).this!==d||("TypeAlias"===d.type||"VariableDeclarator"===d.type||"TSTypeAliasDeclaration"===d.type)&&g(t.originalText,u)),m=b(u),h=e.map((e=>{let u=r();return m||(u=c(2,u)),n(e,u,t)}),"types");if(m)return o(" | ",h);let y=f&&!g(t.originalText,u),C=[p([y?a:"","| "]),o([a,"| "],h)];return D(e,t)?i([l(C),s]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?i([l([p(["(",s]),C]),s,p(")")]):i(f?l(C):C)},printFunctionType:function(e,t,n){let r=e.getValue(),u=[],o=e.getParentNode(0),a=e.getParentNode(1),s=e.getParentNode(2),l="TSFunctionType"===r.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&d(o)===d(r)||"ObjectTypeCallProperty"===o.type||s&&"DeclareFunction"===s.type),c=l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=c&&l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;h(o)&&(l=!0,c=!0),p&&u.push("(");let D=E(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[l?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",m=F(r,f);return u.push(m?i(D):D),f&&u.push(f),p&&u.push(")"),i(u)},printTupleType:function(e,t,n){let o=e.getValue(),a="TSTupleType"===o.type?"elementTypes":"types",c=o[a],D=u(c),d=D?s:"";return i(["[",l([d,A(e,t,a,n)]),p(D&&y(t,"all")?",":""),r(e,t,!0),d,"]"])},printIndexedAccessType:function(e,t,n){let r=e.getValue(),u="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),u,n("indexType"),"]"]},shouldHugType:b,printJSDocType:function(e,t,n){let r=e.getValue();return[r.postfix?"":n,t("typeAnnotation"),r.postfix?n:""]}}}}),zu=mt({"src/language-js/print/type-parameters.js"(e,t){Ct();var{printDanglingComments:n}=Lr(),{builders:{join:r,line:u,hardline:i,softline:o,group:a,indent:s,ifBreak:l}}=Rt(),{isTestCall:c,hasComment:p,CommentCheckFlags:D,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:g}=Yr(),{createGroupIdMapper:h}=cn(),{shouldHugType:y}=Ju(),{isArrowFunctionVariableDeclarator:C}=Wu(),E=h("typeParameters");function F(e,t){let r=e.getValue();if(!p(r,D.Dangling))return"";let u=!p(r,D.Line),o=n(e,t,u);return u?o:[o,i]}t.exports={printTypeParameter:function(e,t,n){let r=e.getValue(),u=[],i=e.getParentNode();return"TSMappedType"===i.type?(u.push("[",n("name")),r.constraint&&u.push(" in ",n("constraint")),i.nameType&&u.push(" as ",e.callParent((()=>n("nameType")))),u.push("]"),u):(r.variance&&u.push(n("variance")),r.in&&u.push("in "),r.out&&u.push("out "),u.push(n("name")),r.bound&&u.push(": ",n("bound")),r.constraint&&u.push(" extends ",n("constraint")),r.default&&u.push(" = ",n("default")),u)},printTypeParameters:function(e,t,n,i){let p=e.getValue();if(!p[i])return"";if(!Array.isArray(p[i]))return n(i);let D=e.getNode(2),h=D&&c(D),A=e.match((e=>!(1===e[i].length&&g(e[i][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),C);if(0===p[i].length||!A&&(h||1===p[i].length&&("NullableTypeAnnotation"===p[i][0].type||y(p[i][0]))))return["<",r(", ",e.map(n,i)),F(e,t),">"];let b="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[i][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return a(["<",s([o,r([",",u],e.map(n,i))]),b,o,">"],{id:E(p)})},getTypeParametersGroupId:E}}}),Hu=mt({"src/language-js/print/property.js"(e,t){Ct();var{printComments:n}=Lr(),{printString:r,printNumber:u}=cn(),{isNumericLiteral:i,isSimpleNumber:o,isStringLiteral:a,isStringPropSafeToUnquote:s,rawText:l}=Yr(),{printAssignment:c}=Wu(),p=new WeakMap;function D(e,t,c){let D=e.getNode();if(D.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=D;if("consistent"===t.quoteProps&&!p.has(d)){let e=(d.properties||d.body||d.members).some((e=>!e.computed&&e.key&&a(e.key)&&!s(e,t)));p.set(d,e)}if(("Identifier"===f.type||i(f)&&o(u(l(f)))&&String(f.value)===u(l(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(d))){let u=r(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call((e=>n(e,u,t)),"key")}return s(D,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(d))?e.call((e=>n(e,/^\d/.test(f.value)?u(f.value):f.value,t)),"key"):c("key")}t.exports={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):c(e,t,n,D(e,t,n),":","value")},printPropertyKey:D}}}),Gu=mt({"src/language-js/print/function.js"(e,t){Ct();var n=Mr(),{printDanglingComments:r,printCommentsSeparately:u}=Lr(),i=xt(),{getNextNonSpaceNonCommentCharacterIndex:o}=cn(),{builders:{line:a,softline:s,group:l,indent:c,ifBreak:p,hardline:D,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:g}}=Rt(),{ArgExpansionBailout:h}=wn(),{getFunctionParameters:y,hasLeadingOwnLineComment:C,isFlowAnnotationComment:E,isJsxNode:F,isTemplateOnItsOwnLine:A,shouldPrintComma:b,startsWithNoLookaheadToken:v,isBinaryish:x,isLineComment:S,hasComment:B,getComments:k,CommentCheckFlags:T,isCallLikeExpression:w,isCallExpression:N,getCallArguments:I,hasNakedLeftSide:j,getLeftSide:P}=Yr(),{locEnd:O}=Tr(),{printFunctionParameters:M,shouldGroupFunctionParameters:L}=Uu(),{printPropertyKey:_}=Hu(),{printFunctionTypeParameters:$}=Lu();function R(e,t,n){let r=e.getNode(),u=M(e,n,t),i=q(e,n,t),o=L(r,i),a=[$(e,t,n),l([o?l(u):u,i])];return r.body?a.push(" ",n("body")):a.push(t.semi?";":""),a}function V(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){return function(e){let t=y(e);return!(1!==t.length||e.typeParameters||B(e,T.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||B(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}return!1}function q(e,t,n){let r=e.getValue(),u=t("returnType");if(r.returnType&&E(n.originalText,r.returnType))return[" /*: ",u," */"];let i=[u];return r.returnType&&r.returnType.typeAnnotation&&i.unshift(": "),r.predicate&&i.push(r.returnType?" ":": ",t("predicate")),i}function W(e,t,n){let u=e.getValue(),o=t.semi?";":"",a=[];u.argument&&(function(e,t){if(C(e.originalText,t))return!0;if(j(t)){let n,r=t;for(;n=P(r);)if(r=n,C(e.originalText,r))return!0}return!1}(t,u.argument)?a.push([" (",c([D,n("argument")]),D,")"]):x(u.argument)||"SequenceExpression"===u.argument.type?a.push(l([p(" ("," "),c([s,n("argument")]),s,p(")")])):a.push(" ",n("argument")));let d=k(u),f=i(d),m=f&&S(f);return m&&a.push(o),B(u,T.Dangling)&&a.push(" ",r(e,t,!0)),m||a.push(o),a}t.exports={printFunction:function(e,t,n,r){let u=e.getValue(),i=!1;if(("FunctionDeclaration"===u.type||"FunctionExpression"===u.type)&&r&&r.expandLastArg){let t=e.getParentNode();N(t)&&I(t).length>1&&(i=!0)}let o=[];"TSDeclareFunction"===u.type&&u.declare&&o.push("declare "),u.async&&o.push("async "),u.generator?o.push("function* "):o.push("function "),u.id&&o.push(t("id"));let a=M(e,t,n,i),s=q(e,t,n),c=L(u,s);return o.push($(e,n,t),l([c?l(a):a,s]),u.body?" ":"",t("body")),n.semi&&(u.declare||!u.body)&&o.push(";"),o},printArrowFunction:function(e,t,n,i){let D=e.getValue(),E=[],x=[],S=!1;if(function a(){let s=function(e,t,n,u){let i=[];if(e.getValue().async&&i.push("async "),V(e,t))i.push(n(["params",0]));else{let r=u&&(u.expandLastArg||u.expandFirstArg),o=q(e,n,t);if(r){if(g(o))throw new h;o=l(m(o))}i.push(l([M(e,n,t,r,!0),o]))}let a=r(e,t,!0,(e=>{let n=o(t.originalText,e,O);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return a&&i.push(" ",a),i}(e,t,n,i);if(0===E.length)E.push(s);else{let{leading:n,trailing:r}=u(e,t);E.push([n,s]),x.unshift(r)}S=S||D.returnType&&y(D).length>0||D.typeParameters||y(D).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==D.body.type||i&&i.expandLastArg?x.unshift(n("body",i)):(D=D.body,e.call(a,"body"))}(),E.length>1)return function(e,t,n,r,u,i){let o=e.getName(),D=e.getParentNode(),m=w(D)&&"callee"===o,g=Boolean(t&&t.assignmentLayout),h="BlockStatement"!==i.body.type&&"ObjectExpression"!==i.body.type&&"SequenceExpression"!==i.body.type,y=m&&h||t&&"chain-tail-arrow-chain"===t.assignmentLayout,C=Symbol("arrow-chain");return"SequenceExpression"===i.body.type&&(u=l(["(",c([s,u]),s,")"])),l([l(c([m||g?s:"",l(d([" =>",a],n),{shouldBreak:r})]),{id:C,shouldBreak:y})," =>",f(h?c([a,u]):[" ",u],{groupId:C}),m?p(s,"",{groupId:C}):""])}(e,i,E,S,x,D);let k=E;if(k.push(" =>"),!C(t.originalText,D.body)&&("ArrayExpression"===D.body.type||"ObjectExpression"===D.body.type||"BlockStatement"===D.body.type||F(D.body)||A(D.body,t.originalText)||"ArrowFunctionExpression"===D.body.type||"DoExpression"===D.body.type))return l([...k," ",x]);if("SequenceExpression"===D.body.type)return l([...k,l([" (",c([s,x]),s,")"])]);let T=(i&&i.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!B(D),N=i&&i.expandLastArg&&b(t,"all"),I="ConditionalExpression"===D.body.type&&!v(D.body,(e=>"ObjectExpression"===e.type));return l([...k,l([c([a,I?p("","("):"",x,I?p("",")"):""]),T?[p(N?",":""),s]:""])])},printMethod:function(e,t,r){let u=e.getNode(),{kind:i}=u,o=u.value||u,a=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(n.ok("get"===i||"set"===i),a.push(i," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push(_(e,t,r),u.optional||u.key.optional?"?":""),u===o?a.push(R(e,t,r)):"FunctionExpression"===o.type?a.push(e.call((e=>R(e,t,r)),"value")):a.push(r("value")),a},printReturnStatement:function(e,t,n){return["return",W(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",W(e,t,n)]},printMethodInternal:R,shouldPrintParamsWithoutParens:V}}}),Xu=mt({"src/language-js/print/decorators.js"(e,t){Ct();var{isNonEmptyArray:n,hasNewline:r}=cn(),{builders:{line:u,hardline:i,join:o,breakParent:a,group:s}}=Rt(),{locStart:l,locEnd:c}=Tr(),{getParentExportDeclaration:p}=Yr();function D(e,t){return e.decorators.some((e=>r(t.originalText,c(e))))}function d(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return n(t)&&l(e)===l(t[0])}t.exports={printDecorators:function(e,t,r){let s=e.getValue(),{decorators:l}=s;if(!n(l)||d(e.getParentNode()))return;let c="ClassExpression"===s.type||"ClassDeclaration"===s.type||D(s,t);return[p(e)?i:c?a:"",o(u,e.map(r,"decorators")),u]},printClassMemberDecorators:function(e,t,n){let r=e.getValue();return s([o(u,e.map(n,"decorators")),D(r,t)?i:u])},printDecoratorsBeforeExport:function(e,t,n){return[o(i,e.map(n,"declaration","decorators")),i]},hasDecoratorsBeforeExport:d}}}),Ku=mt({"src/language-js/print/class.js"(e,t){Ct();var{isNonEmptyArray:n,createGroupIdMapper:r}=cn(),{printComments:u,printDanglingComments:i}=Lr(),{builders:{join:o,line:a,hardline:s,softline:l,group:c,indent:p,ifBreak:D}}=Rt(),{hasComment:d,CommentCheckFlags:f}=Yr(),{getTypeParametersGroupId:m}=zu(),{printMethod:g}=Gu(),{printOptionalToken:h,printTypeAnnotation:y,printDefiniteToken:C}=Lu(),{printPropertyKey:E}=Hu(),{printAssignment:F}=Wu(),{printClassMemberDecorators:A}=Xu();var b=r("heritageGroup");function v(e){return e.typeParameters&&!d(e.typeParameters,f.Trailing|f.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}(e)}function x(e,t,r,u){let l=e.getValue();if(!n(l[u]))return"";let d=i(e,t,!0,(e=>{let{marker:t}=e;return t===u}));return[v(l)?D(" ",a,{groupId:m(l.typeParameters)}):a,d,d&&s,u,c(p([a,o([",",a],e.map(r,u))]))]}function S(e,t,n){let r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?c(D(["(",p([l,r]),l,")"],r)):r}t.exports={printClass:function(e,t,r){let i=e.getValue(),o=[];i.declare&&o.push("declare "),i.abstract&&o.push("abstract "),o.push("class");let s=i.id&&d(i.id,f.Trailing)||i.typeParameters&&d(i.typeParameters,f.Trailing)||i.superClass&&d(i.superClass)||n(i.extends)||n(i.mixins)||n(i.implements),l=[],D=[];if(i.id&&l.push(" ",r("id")),l.push(r("typeParameters")),i.superClass){let n=[S(e,t,r),r("superTypeParameters")],i=e.call((e=>["extends ",u(e,n,t)]),"superClass");s?D.push(a,c(i)):D.push(" ",i)}else D.push(x(e,t,r,"extends"));if(D.push(x(e,t,r,"mixins"),x(e,t,r,"implements")),s){let e;e=v(i)?[...l,p(D)]:p([...l,D]),o.push(c(e,{id:b(i)}))}else o.push(...l,...D);return o.push(" ",r("body")),o},printClassMethod:function(e,t,r){let u=e.getValue(),i=[];return n(u.decorators)&&i.push(A(e,t,r)),u.accessibility&&i.push(u.accessibility+" "),u.readonly&&i.push("readonly "),u.declare&&i.push("declare "),u.static&&i.push("static "),("TSAbstractMethodDefinition"===u.type||u.abstract)&&i.push("abstract "),u.override&&i.push("override "),i.push(g(e,t,r)),i},printClassProperty:function(e,t,r){let u=e.getValue(),i=[],o=t.semi?";":"";return n(u.decorators)&&i.push(A(e,t,r)),u.accessibility&&i.push(u.accessibility+" "),u.declare&&i.push("declare "),u.static&&i.push("static "),("TSAbstractPropertyDefinition"===u.type||"TSAbstractAccessorProperty"===u.type||u.abstract)&&i.push("abstract "),u.override&&i.push("override "),u.readonly&&i.push("readonly "),u.variance&&i.push(r("variance")),("ClassAccessorProperty"===u.type||"AccessorProperty"===u.type||"TSAbstractAccessorProperty"===u.type)&&i.push("accessor "),i.push(E(e,t,r),h(e),C(e),y(e,t,r)),[F(e,t,r,i," =","value"),o]},printHardlineAfterHeritage:function(e){return D(s,"",{groupId:b(e)})}}}}),Yu=mt({"src/language-js/print/interface.js"(e,t){Ct();var{isNonEmptyArray:n}=cn(),{builders:{join:r,line:u,group:i,indent:o,ifBreak:a}}=Rt(),{hasComment:s,identity:l,CommentCheckFlags:c}=Yr(),{getTypeParametersGroupId:p}=zu(),{printTypeScriptModifiers:D}=Lu();t.exports={printInterface:function(e,t,d){let f=e.getValue(),m=[];f.declare&&m.push("declare "),"TSInterfaceDeclaration"===f.type&&m.push(f.abstract?"abstract ":"",D(e,t,d)),m.push("interface");let g=[],h=[];"InterfaceTypeAnnotation"!==f.type&&g.push(" ",d("id"),d("typeParameters"));let y=f.typeParameters&&!s(f.typeParameters,c.Trailing|c.Line);return n(f.extends)&&h.push(y?a(" ",u,{groupId:p(f.typeParameters)}):u,"extends ",(1===f.extends.length?l:o)(r([",",u],e.map(d,"extends")))),f.id&&s(f.id,c.Trailing)||n(f.extends)?y?m.push(i([...g,o(h)])):m.push(i(o([...g,...h]))):m.push(...g,...h),m.push(" ",d("body")),i(m)}}}}),Qu=mt({"src/language-js/print/module.js"(e,t){Ct();var{isNonEmptyArray:n}=cn(),{builders:{softline:r,group:u,indent:i,join:o,line:a,ifBreak:s,hardline:l}}=Rt(),{printDanglingComments:c}=Lr(),{hasComment:p,CommentCheckFlags:D,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:g}=Yr(),{locStart:h,hasSameLoc:y}=Tr(),{hasDecoratorsBeforeExport:C,printDecoratorsBeforeExport:E}=Xu();function F(e,t,n){let r=e.getValue();if(!r.source)return"";let u=[];return b(r,t)||u.push(" from"),u.push(" ",n("source")),u}function A(e,t,l){let c=e.getValue();if(b(c,t))return"";let D=[" "];if(n(c.specifiers)){let n=[],f=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)n.push(l());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);f.push(l())}}),"specifiers"),D.push(o(", ",n)),f.length>0&&(n.length>0&&D.push(", "),f.length>1||n.length>0||c.specifiers.some((e=>p(e)))?D.push(u(["{",i([t.bracketSpacing?a:r,o([",",a],f)]),s(d(t)?",":""),t.bracketSpacing?a:r,"}"])):D.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else D.push("{}");return D}function b(e,t){let{type:r,importKind:u,source:i,specifiers:o}=e;return"ImportDeclaration"===r&&!n(o)&&"type"!==u&&!/{\s*}/.test(t.originalText.slice(h(e),h(i)))}function v(e,t,r){let u=e.getNode();return n(u.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(r,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(e,t,n){let r=e.getValue(),u=t.semi?";":"",i=[],{importKind:o}=r;return i.push("import"),o&&"value"!==o&&i.push(" ",o),i.push(A(e,t,n),F(e,t,n),v(e,t,n),u),i},printExportDeclaration:function(e,t,n){let r=e.getValue(),u=[];C(r)&&u.push(E(e,t,n));let{type:i,exportKind:o,declaration:a}=r;return u.push("export"),(r.default||"ExportDefaultDeclaration"===i)&&u.push(" default"),p(r,D.Dangling)&&(u.push(" ",c(e,t,!0)),f(r)&&u.push(l)),a?u.push(" ",n("declaration")):u.push("type"===o?" type":"",A(e,t,n),F(e,t,n),v(e,t,n)),function(e,t){if(!t.semi)return!1;let{type:n,declaration:r}=e,u=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;let{type:i}=r;return!(!u||"ClassDeclaration"===i||"FunctionDeclaration"===i||"TSInterfaceDeclaration"===i||"DeclareClass"===i||"DeclareFunction"===i||"TSDeclareFunction"===i||"EnumDeclaration"===i)}(r,t)&&u.push(";"),u},printExportAllDeclaration:function(e,t,n){let r=e.getValue(),u=t.semi?";":"",i=[],{exportKind:o,exported:a}=r;return i.push("export"),"type"===o&&i.push(" type"),i.push(" *"),a&&i.push(" as ",n("exported")),i.push(F(e,t,n),v(e,t,n),u),i},printModuleSpecifier:function(e,t,n){let r=e.getNode(),{type:u}=r,i=[],o="ImportSpecifier"===u?r.importKind:r.exportKind;o&&"value"!==o&&i.push(o," ");let a=u.startsWith("Import"),s=a?"imported":"local",l=a?"local":"exported",c=r[s],p=r[l],D="",d="";return"ExportNamespaceSpecifier"===u||"ImportNamespaceSpecifier"===u?D="*":c&&(D=n(s)),p&&!function(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:n}=e;if(t.type!==n.type||!y(t,n))return!1;if(m(t))return t.value===n.value&&g(t)===g(n);if("Identifier"===t.type)return t.name===n.name;return!1}(r)&&(d=n(l)),i.push(D,D&&d?" as ":"",d),i}}}}),Zu=mt({"src/language-js/print/object.js"(e,t){Ct();var{printDanglingComments:n}=Lr(),{builders:{line:r,softline:u,group:i,indent:o,ifBreak:a,hardline:s}}=Rt(),{getLast:l,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:D}=cn(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:g,isNextLineEmpty:h}=Yr(),{locStart:y,locEnd:C}=Tr(),{printOptionalToken:E,printTypeAnnotation:F}=Lu(),{shouldHugFunctionParameters:A}=Uu(),{shouldHugType:b}=Ju(),{printHardlineAfterHeritage:v}=Ku();t.exports={printObject:function(e,t,x){let S,B=t.semi?";":"",k=e.getValue();S="TSTypeLiteral"===k.type?"members":"TSInterfaceBody"===k.type?"body":"properties";let T="ObjectTypeAnnotation"===k.type,w=[S];T&&w.push("indexers","callProperties","internalSlots");let N=w.map((e=>k[e][0])).sort(((e,t)=>y(e)-y(t)))[0],I=e.getParentNode(0),j=T&&I&&("InterfaceDeclaration"===I.type||"DeclareInterface"===I.type||"DeclareClass"===I.type)&&"body"===e.getName(),P="TSInterfaceBody"===k.type||j||"ObjectPattern"===k.type&&"FunctionDeclaration"!==I.type&&"FunctionExpression"!==I.type&&"ArrowFunctionExpression"!==I.type&&"ObjectMethod"!==I.type&&"ClassMethod"!==I.type&&"ClassPrivateMethod"!==I.type&&"AssignmentPattern"!==I.type&&"CatchClause"!==I.type&&k.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==k.type&&N&&c(t.originalText,y(k),y(N)),O=j?";":"TSInterfaceBody"===k.type||"TSTypeLiteral"===k.type?a(B,";"):",",M="RecordExpression"===k.type?"#{":k.exact?"{|":"{",L=k.exact?"|}":"}",_=[];for(let t of w)e.each((e=>{let t=e.getValue();_.push({node:t,printed:x(),loc:y(t)})}),t);w.length>1&&_.sort(((e,t)=>e.loc-t.loc));let $=[],R=_.map((e=>{let n=[...$,i(e.printed)];return $=[O,r],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,g.PrettierIgnore)&&$.shift(),h(e.node,t)&&$.push(s),n}));if(k.inexact){let u;if(f(k,g.Dangling)){let i=f(k,g.Line);u=[n(e,t,!0),i||p(t.originalText,C(l(m(k))))?s:r,"..."]}else u=["..."];R.push([...$,...u])}let V,q=l(k[S]),W=!(k.inexact||q&&"RestElement"===q.type||q&&("TSPropertySignature"===q.type||"TSCallSignatureDeclaration"===q.type||"TSMethodSignature"===q.type||"TSConstructSignatureDeclaration"===q.type)&&f(q,g.PrettierIgnore));if(0===R.length){if(!f(k,g.Dangling))return[M,L,F(e,t,x)];V=i([M,n(e,t),u,L,E(e),F(e,t,x)])}else V=[j&&D(k.properties)?v(I):"",M,o([t.bracketSpacing?r:u,...R]),a(W&&(","!==O||d(t))?O:""),t.bracketSpacing?r:u,L,E(e),F(e,t,x)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,n)=>A(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))||e.match(b,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,n)=>A(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n))||!P&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?V:i(V,{shouldBreak:P})}}}}),ei=mt({"src/language-js/print/flow.js"(e,t){Ct();var n=Mr(),{printDanglingComments:r}=Lr(),{printString:u,printNumber:i}=cn(),{builders:{hardline:o,softline:a,group:s,indent:l}}=Rt(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:D,rawText:d,shouldPrintComma:f}=Yr(),{locStart:m,locEnd:g}=Tr(),{replaceTextEndOfLine:h}=Lt(),{printClass:y}=Ku(),{printOpaqueType:C,printTypeAlias:E,printIntersectionType:F,printUnionType:A,printFunctionType:b,printTupleType:v,printIndexedAccessType:x}=Ju(),{printInterface:S}=Yu(),{printTypeParameter:B,printTypeParameters:k}=zu(),{printExportDeclaration:T,printExportAllDeclaration:w}=Qu(),{printArrayItems:N}=_u(),{printObject:I}=Zu(),{printPropertyKey:j}=Hu(),{printOptionalToken:P,printTypeAnnotation:O,printRestSpread:M}=Lu();function L(e,t){let r=c(e);return r?(n.strictEqual(r.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,c){let _=e.getValue(),$=t.semi?";":"",R=[];switch(_.type){case"DeclareClass":return L(e,y(e,t,c));case"DeclareFunction":return L(e,["function ",c("id"),_.predicate?" ":"",c("predicate"),$]);case"DeclareModule":return L(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return L(e,["module.exports",": ",c("typeAnnotation"),$]);case"DeclareVariable":return L(e,["var ",c("id"),$]);case"DeclareOpaqueType":return L(e,C(e,t,c));case"DeclareInterface":return L(e,S(e,t,c));case"DeclareTypeAlias":return L(e,E(e,t,c));case"DeclareExportDeclaration":return L(e,T(e,t,c));case"DeclareExportAllDeclaration":return L(e,w(e,t,c));case"OpaqueType":return C(e,t,c);case"TypeAlias":return E(e,t,c);case"IntersectionTypeAnnotation":return F(e,t,c);case"UnionTypeAnnotation":return A(e,t,c);case"FunctionTypeAnnotation":return b(e,t,c);case"TupleTypeAnnotation":return v(e,t,c);case"GenericTypeAnnotation":return[c("id"),k(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return x(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return B(e,t,c);case"TypeofTypeAnnotation":return["typeof ",c("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[c("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(_.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===_.type||_.explicitType){let e=null;switch(_.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}R.push("of ",e," ")}if(0!==_.members.length||_.hasUnknownMembers){let n=_.members.length>0?[o,N(e,t,"members",c),_.hasUnknownMembers||f(t)?",":""]:[];R.push(s(["{",l([...n,..._.hasUnknownMembers?[o,"..."]:[]]),r(e,t,!0),o,"}"]))}else R.push(s(["{",r(e,t),a,"}"]));return R;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof _.init?c("init"):String(_.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=_.name?c("name"):e.getParentNode().this===_?"this":"";return[t,P(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return S(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=_;return n.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return _.static&&R.push("static "),R.push(c("value")),R;case"ObjectTypeIndexer":return[_.static?"static ":"",_.variance?c("variance"):"","[",c("id"),_.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let n="";return _.proto?n="proto ":_.static&&(n="static "),[n,D(_)?_.kind+" ":"",_.variance?c("variance"):"",j(e,t,c),P(e),p(_)?"":": ",c("value")]}case"ObjectTypeAnnotation":return I(e,t,c);case"ObjectTypeInternalSlot":return[_.static?"static ":"","[[",c("id"),"]]",P(e),_.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return M(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return h(u(d(_),t));case"NumberLiteralTypeAnnotation":n.strictEqual(typeof _.value,"number");case"BigIntLiteralTypeAnnotation":return _.extra?i(_.extra.raw):i(_.raw);case"TypeCastExpression":return["(",c("expression"),O(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let n=k(e,t,c,"params");if("flow"===t.parser){let e=m(_),r=g(_),u=t.originalText.lastIndexOf("/*",e),i=t.originalText.indexOf("*/",r);if(-1!==u&&-1!==i){let e=t.originalText.slice(u+2,i).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",n," */"]}}return n}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",c("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(_.type))}}}}}),ti=mt({"src/language-js/utils/is-ts-keyword-type.js"(e,t){Ct(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),ni=mt({"src/language-js/print/ternary.js"(e,t){Ct();var{hasNewlineInRange:n}=cn(),{isJsxNode:r,getComments:u,isCallExpression:i,isMemberExpression:o,isTSTypeExpression:a}=Yr(),{locStart:s,locEnd:l}=Tr(),c=Xr(),{builders:{line:p,softline:D,group:d,indent:f,align:m,ifBreak:g,dedent:h,breakParent:y}}=Rt();function C(e,t,n){let r=e.getValue(),u="ConditionalExpression"===r.type,i=u?"alternate":"falseType",o=e.getParentNode(),a=u?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return o.type===r.type&&o[i]===r?m(2,a):a}var E=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,F){let A,b,v=e.getValue(),x="ConditionalExpression"===v.type,S=x?"consequent":"trueType",B=x?"alternate":"falseType",k=x?["test"]:["checkType","extendsType"],T=v[S],w=v[B],N=[],I=!1,j=e.getParentNode(),P=j.type===v.type&&k.some((e=>j[e]===v)),O=j.type===v.type&&!P,M=0;do{b=A||v,A=e.getParentNode(M),M++}while(A&&A.type===v.type&&k.every((e=>A[e]!==b)));let L=A||j,_=b;if(x&&(r(v[k[0]])||r(T)||r(w)||function(e){let t=[e];for(let e=0;e[g("("),f([D,e]),D,g(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;N.push(" ? ",t(T)?F(S):e(F(S))," : ",w.type===v.type||t(w)?F(B):e(F(B)))}else{let e=[p,"? ",T.type===v.type?g("","("):"",m(2,F(S)),T.type===v.type?g("",")"):"",p,": ",w.type===v.type?F(B):m(2,F(B))];N.push(j.type!==v.type||j[B]===v||P?e:t.useTabs?h(f(e)):m(Math.max(0,t.tabWidth-2),e))}let $=[...k.map((e=>u(v[e]))),u(T),u(w)].flat().some((e=>c(e)&&n(t.originalText,s(e),l(e)))),R=!I&&(o(j)||"NGPipeExpression"===j.type&&j.left===v)&&!j.computed,V=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let n,r=t;for(let t=0;!n;t++){let u=e.getParentNode(t);i(u)&&u.callee===r||o(u)&&u.object===r||"TSNonNullExpression"===u.type&&u.expression===r?r=u:"NewExpression"===u.type&&u.callee===r||a(u)&&u.expression===r?(n=e.getParentNode(t+1),r=u):n=u}return r!==t&&n[E.get(n.type)]===r}(e),q=(W=[C(e,0,F),O?N:f(N),x&&R&&!V?D:""],j===L?d(W,{shouldBreak:$}):$?[W,y]:W);var W;return P||V?d([f([D,q]),D]):q}}}}),ri=mt({"src/language-js/print/statement.js"(e,t){Ct();var{builders:{hardline:n}}=Rt(),r=Nu(),{getLeftSidePathName:u,hasNakedLeftSide:i,isJsxNode:o,isTheOnlyJsxElementInMarkdown:a,hasComment:s,CommentCheckFlags:l,isNextLineEmpty:c}=Yr(),{shouldPrintParamsWithoutParens:p}=Gu();function D(e,t,r,u){let i=e.getValue(),o=[],p="ClassBody"===i.type,D=function(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if("EmptyStatement"!==n.type)return n}}(i[u]);return e.each(((e,u,i)=>{let m=e.getValue();if("EmptyStatement"===m.type)return;let g=r();t.semi||p||a(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((e=>d(e,t)),"expression")}(e,t)?o.push(g):s(m,l.Leading)?o.push(r([],{needsSemi:!0})):o.push(";",g),!t.semi&&p&&f(m)&&function(e,t){let{type:n,name:r}=e.key;if(!(e.computed||"Identifier"!==n||"static"!==r&&"get"!==r&&"set"!==r&&"accessor"!==r||e.value||e.typeAnnotation))return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(f(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}(m,i[u+1])&&o.push(";"),m!==D&&(o.push(n),c(m,t)&&o.push(n))}),u),o}function d(e,t){let n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!p(e,t))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=n;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(o(n))return!0}return!!r(e,t)||!!i(n)&&e.call((e=>d(e,t)),...u(e,n))}var f=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};t.exports={printBody:function(e,t,n){return D(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return D(e,t,n,"consequent")}}}}),ui=mt({"src/language-js/print/block.js"(e,t){Ct();var{printDanglingComments:n}=Lr(),{isNonEmptyArray:r}=cn(),{builders:{hardline:u,indent:i}}=Rt(),{hasComment:o,CommentCheckFlags:a,isNextLineEmpty:s}=Yr(),{printHardlineAfterHeritage:l}=Ku(),{printBody:c}=ri();function p(e,t,i){let l=e.getValue(),p=r(l.directives),D=l.body.some((e=>"EmptyStatement"!==e.type)),d=o(l,a.Dangling);if(!p&&!D&&!d)return"";let f=[];if(p&&e.each(((e,n,r)=>{f.push(i()),(n"]),n=[p("("),l([a,U("expression")]),a,p(")")];return e?c([[t,U("expression")],[t,s(n,{shouldBreak:!0})],[t,U("expression")]]):s([t,U("expression")])}case"TSDeclareFunction":return j(e,U,t);case"TSExportAssignment":return["export = ",U("expression"),z];case"TSModuleBlock":return M(e,t,U);case"TSInterfaceBody":case"TSTypeLiteral":return B(e,t,U);case"TSTypeAliasDeclaration":return L(e,t,U);case"TSQualifiedName":return u(".",[U("left"),U("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return T(e,t,U);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return k(e,t,U);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return H.push(U("expression")),J.typeParameters&&H.push(U("typeParameters")),H;case"TSTemplateLiteralType":return x(e,U,t);case"TSNamedTupleMember":return[U("label"),J.optional?"?":"",": ",U("elementType")];case"TSRestType":return["...",U("typeAnnotation")];case"TSOptionalType":return[U("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return O(e,t,U);case"TSClassImplements":case"TSInstantiationExpression":return[U("expression"),U("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return N(e,t,U,"params");case"TSTypeParameter":return w(e,t,U);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===J.type?"as":"satisfies";H.push(U("expression"),` ${t} `,U("typeAnnotation"));let n=e.getParentNode();return m(n)&&n.callee===J||g(n)&&n.object===J?s([l([a,...H]),a]):H}case"TSArrayType":return[U("elementType"),"[]"];case"TSPropertySignature":return J.readonly&&H.push("readonly "),H.push(I(e,t,U),E(e)),J.typeAnnotation&&H.push(": ",U("typeAnnotation")),J.initializer&&H.push(" = ",U("initializer")),H;case"TSParameterProperty":return J.accessibility&&H.push(J.accessibility+" "),J.export&&H.push("export "),J.static&&H.push("static "),J.override&&H.push("override "),J.readonly&&H.push("readonly "),H.push(U("parameter")),H;case"TSTypeQuery":return["typeof ",U("exprName"),U("typeParameters")];case"TSIndexSignature":{let n=e.getParentNode(),r=J.parameters.length>1?p(f(t)?",":""):"",i=s([l([a,u([", ",a],e.map(U,"parameters"))]),r,a]);return[J.export?"export ":"",J.accessibility?[J.accessibility," "]:"",J.static?"static ":"",J.readonly?"readonly ":"",J.declare?"declare ":"","[",J.parameters?i:"",J.typeAnnotation?"]: ":"]",J.typeAnnotation?U("typeAnnotation"):"","ClassBody"===n.type?z:""]}case"TSTypePredicate":return[J.asserts?"asserts ":"",U("parameterName"),J.typeAnnotation?[" is ",U("typeAnnotation")]:""];case"TSNonNullExpression":return[U("expression"),"!"];case"TSImportType":return[J.isTypeOf?"typeof ":"","import(",U(J.parameter?"parameter":"argument"),")",J.qualifier?[".",U("qualifier")]:"",N(e,t,U,"typeParameters")];case"TSLiteralType":return U("literal");case"TSIndexedAccessType":return q(e,t,U);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===J.type&&J.abstract&&H.push("abstract "),"TSCallSignatureDeclaration"!==J.type&&H.push("new "),H.push(s(b(e,U,t,!1,!0))),J.returnType||J.typeAnnotation){let e="TSConstructorType"===J.type;H.push(e?" => ":": ",U("returnType"),U("typeAnnotation"))}return H;case"TSTypeOperator":return[J.operator," ",U("typeAnnotation")];case"TSMappedType":{let u=r(t.originalText,y(J),C(J));return s(["{",l([t.bracketSpacing?i:a,J.readonly?[d(J.readonly,"readonly")," "]:"",F(e,t,U),U("typeParameter"),J.optional?d(J.optional,"?"):"",J.typeAnnotation?": ":"",U("typeAnnotation"),p(z)]),n(e,t,!0),t.bracketSpacing?i:a,"}"],{shouldBreak:u})}case"TSMethodSignature":{let n=J.kind&&"method"!==J.kind?`${J.kind} `:"";H.push(J.accessibility?[J.accessibility," "]:"",n,J.export?"export ":"",J.static?"static ":"",J.readonly?"readonly ":"",J.abstract?"abstract ":"",J.declare?"declare ":"",J.computed?"[":"",U("key"),J.computed?"]":"",E(e));let r=b(e,U,t,!1,!0),u=J.returnType?"returnType":"typeAnnotation",i=J[u],o=i?U(u):"",a=v(J,o);return H.push(a?s(r):r),i&&H.push(": ",s(o)),s(H)}case"TSNamespaceExportDeclaration":return H.push("export as namespace ",U("id")),t.semi&&H.push(";"),s(H);case"TSEnumDeclaration":return J.declare&&H.push("declare "),J.modifiers&&H.push(F(e,t,U)),J.const&&H.push("const "),H.push("enum ",U("id")," "),0===J.members.length?H.push(s(["{",n(e,t),a,"}"])):H.push(s(["{",l([o,S(e,t,"members",U),f(t,"es5")?",":""]),n(e,t,!0),o,"}"])),H;case"TSEnumMember":return J.computed?H.push("[",U("id"),"]"):H.push(U("id")),J.initializer&&H.push(" = ",U("initializer")),H;case"TSImportEqualsDeclaration":return J.isExport&&H.push("export "),H.push("import "),J.importKind&&"value"!==J.importKind&&H.push(J.importKind," "),H.push(U("id")," = ",U("moduleReference")),t.semi&&H.push(";"),s(H);case"TSExternalModuleReference":return["require(",U("expression"),")"];case"TSModuleDeclaration":{let n=e.getParentNode(),r=D(J.id),u="TSModuleDeclaration"===n.type,i=J.body&&"TSModuleDeclaration"===J.body.type;if(u)H.push(".");else{J.declare&&H.push("declare "),H.push(F(e,t,U));let n=t.originalText.slice(y(J),y(J.id));"Identifier"===J.id.type&&"global"===J.id.name&&!/namespace|module/.test(n)||H.push(r||/(?:^|\s)module(?:\s|$)/.test(n)?"module ":"namespace ")}return H.push(U("id")),i?H.push(U("body")):J.body?H.push(" ",s(U("body"))):H.push(z),H}case"TSConditionalType":return A(e,t,U);case"TSInferType":return["infer"," ",U("typeParameter")];case"TSIntersectionType":return _(e,t,U);case"TSUnionType":return $(e,t,U);case"TSFunctionType":return R(e,t,U);case"TSTupleType":return V(e,t,U);case"TSTypeReference":return[U("typeName"),N(e,t,U,"typeParameters")];case"TSTypeAnnotation":return U("typeAnnotation");case"TSEmptyBodyFunctionExpression":return P(e,t,U);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return W(e,U,"?");case"TSJSDocNonNullableType":return W(e,U,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(J.type)}.`)}}}}}),oi=mt({"src/language-js/print/comment.js"(e,t){Ct();var{hasNewline:n}=cn(),{builders:{join:r,hardline:u},utils:{replaceTextEndOfLine:i}}=Rt(),{isLineComment:o}=Yr(),{locStart:a,locEnd:s}=Tr(),l=Xr();t.exports={printComment:function(e,t){let c=e.getValue();if(o(c))return t.originalText.slice(a(c),s(c)).trimEnd();if(l(c)){if(function(e){let t=`*${e.value}*`.split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}(c)){let e=function(e){let t=e.value.split("\n");return["/*",r(u,t.map(((e,n)=>0===n?e.trimEnd():" "+(n{let{marker:t}=e;return t===B}));return[p("expression"),E(t,e)?"":f,r?[" ",r]:""]}case"ParenthesizedExpression":return y(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?s(["(",l([a,p("expression")]),a,")"]):["(",p("expression"),")"];case"AssignmentExpression":return ce(e,t,p);case"VariableDeclarator":return le(e,t,p);case"BinaryExpression":case"LogicalExpression":return pe(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return de(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(s(l([a,$(e,t,p)]))),m;case"Identifier":return[d.name,_(e),W(e),R(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return q(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return re(e,p,t,D);case"ArrowFunctionExpression":return ue(e,t,p,D);case"YieldExpression":return m.push("yield"),d.delegate&&m.push("*"),d.argument&&m.push(" ",p("argument")),m;case"AwaitExpression":if(m.push("await"),d.argument){m.push(" ",p("argument"));let t=e.getParentNode();if(x(t)&&t.callee===d||S(t)&&t.object===d){m=[l([a,...m]),a];let t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return s(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return z(e,t,p);case"ExportAllDeclaration":return H(e,t,p);case"ImportDeclaration":return J(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return G(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return fe(e,t,p);case"ThrowStatement":return ae(e,t,p);case"ReturnStatement":return oe(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return se(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Q(e,t,p);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?ie(e,t,p):ne(e,t,p);case"ObjectMethod":return ie(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Y(e,t,p);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,n)=>{0===n?t.push(p()):t.push(",",l([i,p()]))}),"expressions"),s(t)}return s(u([",",i],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return U(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),y(d.argument)?m.push(s(["(",l([a,p("argument")]),a,")"])):m.push(p("argument")),m;case"UpdateExpression":return m.push(p("argument"),d.operator),d.prefix&&m.reverse(),m;case"ConditionalExpression":return X(e,t,p);case"VariableDeclaration":{let t,n=e.map(p,"declarations"),r=e.getParentNode(),u="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,a=d.declarations.some((e=>e.init));return 1!==n.length||y(d.declarations[0])?n.length>0&&(t=l(n[0])):t=n[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",l(n.slice(1).map((e=>[",",a&&!u?o:i,e])))],u&&r.body!==d||m.push(f),s(m)}case"WithStatement":return s(["with (",p("object"),")",V(d.body,p("body"))]);case"IfStatement":{let r=V(d.consequent,p("consequent")),u=s(["if (",s([l([a,p("test")]),a]),")",r]);if(m.push(u),d.alternate){let r=y(d.consequent,C.Trailing|C.Line)||b(d),u="BlockStatement"===d.consequent.type&&!r;m.push(u?" ":o),y(d,C.Dangling)&&m.push(n(e,t,!0),r?o:" "),m.push("else",s(V(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let r=V(d.body,p("body")),u=n(e,t,!0),o=u?[u,a]:"";return d.init||d.test||d.update?[o,s(["for (",s([l([a,p("init"),";",i,p("test"),";",i,p("update")]),a]),")",r])]:[o,s(["for (;;)",r])]}case"WhileStatement":return s(["while (",s([l([a,p("test")]),a]),")",V(d.body,p("body"))]);case"ForInStatement":return s(["for (",p("left")," in ",p("right"),")",V(d.body,p("body"))]);case"ForOfStatement":return s(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",V(d.body,p("body"))]);case"DoWhileStatement":{let e=V(d.body,p("body"));return m=[s(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(o),m.push("while (",s([l([a,p("test")]),a]),")",f),m}case"DoExpression":return[d.async?"async ":"","do ",p("body")];case"BreakStatement":return m.push("break"),d.label&&m.push(" ",p("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),d.label&&m.push(" ",p("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===d.body.type?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),d.handler?[" ",p("handler")]:"",d.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(d.param){let e=y(d.param,(e=>!w(e)||e.leading&&r(t.originalText,T(e))||e.trailing&&r(t.originalText,k(e),{backwards:!0}))),n=p("param");return["catch ",e?["(",l([a,n]),a,") "]:["(",n,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[s(["switch (",l([a,p("discriminant")]),a,")"])," {",d.cases.length>0?l([o,u(o,e.map(((e,n,r)=>{let u=e.getValue();return[p(),n!==r.length-1&&A(u,t)?o:""]}),"cases"))]):"",o,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),y(d,C.Dangling)&&m.push(" ",n(e,t,!0));let r=d.consequent.filter((e=>"EmptyStatement"!==e.type));if(r.length>0){let n=De(e,t,p);m.push(1===r.length&&"BlockStatement"===r[0].type?[" ",n]:l([o,n]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return Z(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return ee(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return te(e,t,p);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return K(e,p,t);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("quasi")];case"PrivateIdentifier":return["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return m.push("#!",d.value,o),A(d,t)&&m.push(o),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=p("body");return e&&m.push(l([o,e]),o),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(d.type))}}(e,t,p,D);if(!d)return"";let f=e.getValue(),{type:g}=f;if("ClassMethod"===g||"ClassPrivateMethod"===g||"ClassProperty"===g||"ClassAccessorProperty"===g||"AccessorProperty"===g||"TSAbstractAccessorProperty"===g||"PropertyDefinition"===g||"TSAbstractPropertyDefinition"===g||"ClassPrivateProperty"===g||"MethodDefinition"===g||"TSAbstractMethodDefinition"===g||"TSDeclareMethod"===g)return d;let F=[d],v=ye(e,t,p),O="ClassExpression"===f.type&&v;if(v&&(F=[...v,d],!O))return s(F);if(!m(e,t))return D&&D.needsSemi&&F.unshift(";"),1===F.length&&F[0]===d?d:F;if(O&&(F=[l([i,...F])]),F.unshift("("),D&&D.needsSemi&&F.unshift(";"),h(f)){let[e]=f.trailingComments;F.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return O&&F.push(i),F.push(")"),F},embed:p,insertPragma:d,massageAstNode:D,hasPrettierIgnore:e=>v(e)||O(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function(e){return e.type&&!w(e)&&!F(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:ge,isBlockComment:w,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),li=mt({"src/language-js/printer-estree-json.js"(e,t){Ct();var{builders:{hardline:n,indent:r,join:u}}=Rt(),i=Iu();function o(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var a=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function s(e,t){let{type:n}=e;if("ObjectProperty"!==n){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[n,r]of e.elements.entries())null===r&&t.elements.splice(n,0,{type:"NullLiteral"})}else{let{key:n}=e;"Identifier"===n.type?t.key={type:"StringLiteral",value:n.name}:"NumericLiteral"===n.type&&(t.key={type:"StringLiteral",value:String(n.value)})}}s.ignoredProperties=a,t.exports={preprocess:i,print:function(e,t,i){let a=e.getValue();switch(a.type){case"JsonRoot":return[i("node"),n];case"ArrayExpression":{if(0===a.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":i()),"elements");return["[",r([n,u([",",n],t)]),n,"]"]}case"ObjectExpression":return 0===a.properties.length?"{}":["{",r([n,u([",",n],e.map(i,"properties"))]),n,"}"];case"ObjectProperty":return[i("key"),": ",i("value")];case"UnaryExpression":return["+"===a.operator?"":a.operator,i("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return a.value?"true":"false";case"StringLiteral":return JSON.stringify(a.value);case"NumericLiteral":return o(e)?JSON.stringify(String(a.value)):JSON.stringify(a.value);case"Identifier":return o(e)?JSON.stringify(a.name):a.name;case"TemplateLiteral":return i(["quasis",0]);case"TemplateElement":return JSON.stringify(a.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(a.type))}},massageAstNode:s}}}),ci=mt({"src/common/common-options.js"(e,t){Ct();var n="Common";t.exports={bracketSpacing:{since:"0.0.0",category:n,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:n,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:n,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:n,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:n,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),pi=mt({"src/language-js/options.js"(e,t){Ct();var n=ci(),r="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:r,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:n.bracketSameLine,bracketSpacing:n.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:r,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:r,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:n.singleQuote,jsxSingleQuote:{since:"1.15.0",category:r,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:r,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:r,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:n.singleAttributePerLine}}}),Di=mt({"src/language-js/parse/parsers.js"(){Ct()}}),di=mt({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.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}}}),fi=mt({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.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}}}),mi=mt({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),gi=mt({"node_modules/linguist-languages/data/JSON.json"(e,t){t.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}}}),hi=mt({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.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}}}),yi=mt({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Ci=mt({"src/language-js/index.js"(e,t){Ct();var n=Ur(),r=si(),u=li(),i=pi(),o=Di(),a=[n(di(),(e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),n(di(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),n(di(),(()=>({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}))),n(fi(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),n(mi(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),n(gi(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),n(gi(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),n(hi(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),n(yi(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],s={estree:r,"estree-json":u};t.exports={languages:a,options:i,printers:s,parsers:o}}}),Ei=mt({"src/language-css/clean.js"(e,t){Ct();var{isFrontMatterNode:n}=cn(),r=xt(),u=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function i(e,t,u){if(n(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===u.type&&u.nodes.length>0&&((u.nodes[0]===e||n(u.nodes[0])&&u.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===u.type&&r(u.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=function(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,n)=>{let r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){let n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let n=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==n&&(t.groups[n].unit="",t.groups.splice(n+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}return"value-comma_group"===e.type&&e.groups.some((e=>"value-atword"===e.type&&e.value.endsWith("[")||"value-word"===e.type&&e.value.startsWith("]")))?{type:"value-atword",value:e.groups.map((e=>e.value)).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}:void 0}i.ignoredProperties=u,t.exports=i}}),Fi=mt({"src/utils/front-matter/print.js"(e,t){Ct();var{builders:{hardline:n,markAsRoot:r}}=Rt();t.exports=function(e,t){if("yaml"===e.lang){let u=e.value.trim(),i=u?t(u,{parser:"yaml"},{stripTrailingHardline:!0}):"";return r([e.startDelimiter,n,i,i?n:"",e.endDelimiter])}}}}),Ai=mt({"src/language-css/embed.js"(e,t){Ct();var{builders:{hardline:n}}=Rt(),r=Fi();t.exports=function(e,t,u){let i=e.getValue();if("front-matter"===i.type){let e=r(i,u);return e?[e,n]:""}}}}),bi=mt({"src/utils/front-matter/parse.js"(e,t){Ct();var n=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(n);if(!t)return{content:e};let{startDelimiter:r,language:u,value:i="",endDelimiter:o}=t.groups,a=u.trim()||"yaml";if("+++"===r&&(a="toml"),"yaml"!==a&&r!==o)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:a,value:i,startDelimiter:r,endDelimiter:o,raw:s.replace(/\n$/,"")},content:s.replace(/[^\n]/g," ")+e.slice(s.length)}}}}),vi=mt({"src/language-css/pragma.js"(e,t){Ct();var n=Tu(),r=bi();t.exports={hasPragma:function(e){return n.hasPragma(r(e).content)},insertPragma:function(e){let{frontMatter:t,content:u}=r(e);return(t?t.raw+"\n\n":"")+n.insertPragma(u)}}}}),xi=mt({"src/language-css/utils/index.js"(e,t){Ct();var n=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 r(e,t){let n,r=Array.isArray(t)?t:[t],u=-1;for(;n=e.getParentNode(++u);)if(r.includes(n.type))return u;return-1}function u(e,t){let n=r(e,t);return-1===n?null:e.getParentNode(n)}var i=new Set(["initial","inherit","unset","revert"]);function o(e){return"value-operator"===e.type&&"*"===e.value}function a(e){return"value-operator"===e.type&&"/"===e.value}function s(e){return"value-operator"===e.type&&"+"===e.value}function l(e){return"value-operator"===e.type&&"-"===e.value}function c(e){return"value-operator"===e.type&&"%"===e.value}function p(e){var t,n;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(n=t[1])||void 0===n?void 0:n.type)}function D(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&p(e.groups[0])}function d(e){return"value-colon"===(null==e?void 0:e.type)}t.exports={getAncestorCounter:r,getAncestorNode:u,getPropOfDeclNode:function(e){var t;let n=u(e,"css-decl");return null==n||null===(t=n.prop)||void 0===t?void 0:t.toLowerCase()},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){var n;let r=u(e,"value-func");return(null==r||null===(n=r.value)||void 0===n?void 0:n.toLowerCase())===t},insideICSSRuleNode:function(e){var t;let n=u(e,"css-rule"),r=null==n||null===(t=n.raws)||void 0===t?void 0:t.selector;return r&&(r.startsWith(":import")||r.startsWith(":export"))},insideAtRuleNode:function(e,t){let n=Array.isArray(t)?t:[t],r=u(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),n=u(e,"css-atrule");return"import"===(null==n?void 0:n.name)&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){let n=u(e,"css-atrule");return(null==n?void 0:n.name)&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return i.has(e.toLowerCase())},isLastNode:function(e,t){var n;let r=null===(n=e.getParentNode())||void 0===n?void 0:n.nodes;return r&&r.indexOf(t)===r.length-1},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:o,isDivisionNode:a,isAdditionNode:s,isSubtractionNode:l,isModuloNode:c,isMathOperatorNode:function(e){return o(e)||a(e)||s(e)||l(e)||c(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){var t,n;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(n=e.value.group)||void 0===n?void 0:n.type)&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){var t,n,r;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(n=t.group)||void 0===n||null===(r=n.group)||void 0===r?void 0:r.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)},isDetachedRulesetCallNode:function(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before},isKeyValuePairNode:p,isKeyValuePairInParenGroupNode:D,isKeyInValuePairNode:function(e,t){if(!p(t))return!1;let{groups:n}=t,r=n.indexOf(e);return-1!==r&&d(n[r+1])},isSCSSMapItemNode:function(e){var t;let n=e.getValue();if(0===n.groups.length)return!1;let r=e.getParentNode(1);if(!(D(n)||r&&D(r)))return!1;let i=u(e,"css-decl");return!!(null!=i&&null!==(t=i.prop)&&void 0!==t&&t.startsWith("$")||D(r)||"value-func"===r.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:d,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&n.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},isAtWordPlaceholderNode:function(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")},isConfigurationNode:function(e,t){var n,r;if("("!==(null===(n=e.open)||void 0===n?void 0:n.value)||")"!==(null===(r=e.close)||void 0===r?void 0:r.value)||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let n=t.groups.indexOf(e)-1,r=t.groups[n];if("value-word"===(null==r?void 0:r.type)&&"with"===r.value)return!0}return!1},isParenGroupNode:function(e){var t,n;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(n=e.close)||void 0===n?void 0:n.value)}}}}),Si=mt({"src/utils/line-column-to-index.js"(e,t){Ct(),t.exports=function(e,t){let n=0;for(let r=0;r{let l=s[u-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let n=e.getValue();r.push(t.originalText.slice(me(n),ge(n)))}else r.push(n());u!==s.length-1&&("css-comment"===s[u+1].type&&!i(t.originalText,me(s[u+1]),{backwards:!0})&&!o(s[u])||"css-atrule"===s[u+1].type&&"else"===s[u+1].name&&"css-comment"!==s[u].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?c:p),a(t.originalText,e.getValue(),ge)&&!o(s[u])&&r.push(p)))}),"nodes"),r}var Ae=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,be=new RegExp(Ae.source+`|(${/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source})?(${/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source})(${/[A-Za-z]+/g.source})?`,"g");function ve(e,t){return e.replace(Ae,(e=>u(e,t)))}function xe(e,t){let n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Se(e){return e.replace(be,((e,t,n,r,u)=>!n&&r?Be(r)+S(u||""):e))}function Be(e){return r(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,r){let i=e.getValue();if(!i)return"";if("string"==typeof i)return i;switch(i.type){case"front-matter":return[i.raw,p];case"css-root":{let n=Fe(e,t,r),u=i.raws.after.trim();return u.startsWith(";")&&(u=u.slice(1).trim()),[n,u?` ${u}`:"",E(n).length>0?p:""]}case"css-comment":{let e=i.inline||i.raws.inline,n=t.originalText.slice(me(i),ge(i));return e?n.trimEnd():n}case"css-rule":return[r("selector"),i.important?" !important":"",i.nodes?[i.selector&&"selector-unknown"===i.selector.type&&pe(i.selector.value)?c:" ","{",i.nodes.length>0?m([p,Fe(e,t,r)]):"",p,"}",O(i)?";":""]:";"];case"css-decl":{let n=e.getParentNode(),{between:u}=i.raws,o=u.trim(),a=":"===o,s=H(i)?C(r("value")):r("value");return!a&&pe(o)&&(s=m([p,g(s)])),[i.raws.before.replace(/[\s;]/g,""),"css-atrule"===n.type&&n.variable||k(e)?i.prop:S(i.prop),o.startsWith("//")?" ":"",o,i.extend?"":" ",he(t)&&i.extend&&i.selector?["extend(",r("selector"),")"]:"",s,i.raws.important?i.raws.important.replace(/\s*!\s*important/i," !important"):i.important?" !important":"",i.raws.scssDefault?i.raws.scssDefault.replace(/\s*!default/i," !default"):i.scssDefault?" !default":"",i.raws.scssGlobal?i.raws.scssGlobal.replace(/\s*!global/i," !global"):i.scssGlobal?" !global":"",i.nodes?[" {",m([D,Fe(e,t,r)]),D,"}"]:ee(i)&&!n.raws.semicolon&&";"!==t.originalText[ge(i)-1]?"":t.__isHTMLStyleAttribute&&j(e,i)?h(";"):";"]}case"css-atrule":{let n=e.getParentNode(),u=Z(i)&&!n.raws.semicolon&&";"!==t.originalText[ge(i)-1];if(he(t)){if(i.mixin)return[r("selector"),i.important?" !important":"",u?"":";"];if(i.function)return[i.name,r("params"),u?"":";"];if(i.variable)return["@",i.name,": ",i.value?r("value"):"",i.raws.between.trim()?i.raws.between.trim()+" ":"",i.nodes?["{",m([i.nodes.length>0?D:"",Fe(e,t,r)]),D,"}"]:"",u?"":";"]}return["@",Q(i)||i.name.endsWith(":")?i.name:S(i.name),i.params?[Q(i)?"":Z(i)?""===i.raws.afterName?"":i.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(i.raws.afterName)?[p,p]:/^\s*\n/.test(i.raws.afterName)?p:" ":" ",r("params")]:"",i.selector?m([" ",r("selector")]):"",i.value?d([" ",r("value"),P(i)?G(i)?" ":c:""]):"else"===i.name?" ":"",i.nodes?[P(i)?"":i.selector&&!i.selector.nodes&&"string"==typeof i.selector.value&&pe(i.selector.value)||!i.selector&&"string"==typeof i.params&&pe(i.params)?c:" ","{",m([i.nodes.length>0?D:"",Fe(e,t,r)]),D,"}"]:u?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let n=e.getValue();"media-query"===n.type&&""===n.value||t.push(r())}),"nodes"),d(m(l(c,t)))}case"media-query":return[l(" ",e.map(r,"nodes")),j(e,i)?"":","];case"media-type":case"media-value":return Se(ve(i.value,t));case"media-feature-expression":return i.nodes?["(",...e.map(r,"nodes"),")"]:i.value;case"media-feature":return S(ve(i.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[i.value," "];case"media-keyword":case"selector-string":return ve(i.value,t);case"media-url":return ve(i.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return i.value;case"selector-root":return d([T(e,"custom-selector")?[v(e,"css-atrule").customSelector,c]:"",l([",",T(e,["extend","custom-selector","nest"])?c:p],e.map(r,"nodes"))]);case"selector-selector":return d(m(e.map(r,"nodes")));case"selector-tag":{let t=e.getParentNode(),n=t&&t.nodes.indexOf(i),r=n&&t.nodes[n-1];return[i.namespace?[!0===i.namespace?"":i.namespace.trim(),"|"]:"","selector-nesting"===r.type?i.value:Se(N(e,i.value)?i.value.toLowerCase():i.value)]}case"selector-id":return["#",i.value];case"selector-class":return[".",Se(ve(i.value,t))];case"selector-attribute":var o;return["[",i.namespace?[!0===i.namespace?"":i.namespace.trim(),"|"]:"",i.attribute.trim(),null!==(o=i.operator)&&void 0!==o?o:"",i.value?xe(ve(i.value.trim(),t),t):"",i.insensitive?" i":"","]"];case"selector-combinator":if("+"===i.value||">"===i.value||"~"===i.value||">>>"===i.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===i?"":c,i.value,j(e,i)?"":" "]}return[i.value.trim().startsWith("(")?c:"",Se(ve(i.value.trim(),t))||c];case"selector-universal":return[i.namespace?[!0===i.namespace?"":i.namespace.trim(),"|"]:"",i.value];case"selector-pseudo":return[S(i.value),s(i.nodes)?d(["(",m([D,l([",",c],e.map(r,"nodes"))]),D,")"]):""];case"selector-unknown":{let n=v(e,"css-rule");if(n&&n.isSCSSNesterProperty)return Se(ve(S(i.value),t));let r=e.getParentNode();if(r.raws&&r.raws.selector){let e=me(r),n=e+r.raws.selector.length;return t.originalText.slice(e,n).trim()}let u=e.getParentNode(1);if("value-paren_group"===r.type&&u&&"value-func"===u.type&&"selector"===u.value){let e=ge(r.open)+1,n=me(r.close),u=t.originalText.slice(e,n).trim();return pe(u)?[y,u]:u}return i.value}case"value-value":case"value-root":return r("group");case"value-comment":return t.originalText.slice(me(i),ge(i));case"value-comma_group":{let n=e.getParentNode(),u=e.getParentNode(1),o=x(e),a=o&&"value-value"===n.type&&("grid"===o||o.startsWith("grid-template")),s=v(e,"css-atrule"),l=s&&P(s),h=i.groups.some((e=>re(e))),C=e.map(r,"groups"),E=[],A=B(e,"url"),b=!1,S=!1;for(let r=0;rt:-1!==e?b=!0:-1!==t&&(b=!1)}if(b||se(d)||se(f)||"value-atword"===d.type&&(""===d.value||d.value.endsWith("["))||"value-word"===f.type&&f.value.startsWith("]")||"~"===d.value||d.value&&d.value.includes("\\")&&f&&"value-comment"!==f.type||o&&o.value&&o.value.indexOf("\\")===o.value.length-1&&"value-operator"===d.type&&"/"===d.value||"\\"===d.value||te(d,f)||ue(d)||ie(d)||oe(f)||ie(f)&&X(f)||oe(d)&&X(f)||"--"===d.value&&ue(f))continue;let h=q(d),y=q(f);if((h&&ue(f)||y&&oe(d))&&X(f)||!o&&$(d)||B(e,"calc")&&(R(d)||R(f)||V(d)||V(f))&&X(f))continue;let v=(R(d)||V(d))&&0===r&&("value-number"===f.type||f.isHex)&&u&&ce(u)&&!X(f),x=m&&"value-func"===m.type||m&&ae(m)||"value-func"===d.type||ae(d),k="value-func"===f.type||ae(f)||o&&"value-func"===o.type||o&&ae(o);if((_(f)||_(d)||B(e,"calc")||v||!($(f)&&!x||$(d)&&!k||R(f)&&!x||R(d)&&!k||V(f)||V(d))||!(X(f)||h&&(!o||o&&q(o))))&&("scss"!==t.parser&&"less"!==t.parser||!h||"-"!==d.value||!fe(f)||ge(d)!==me(f.open)||"("!==f.open.value)){if(re(d)){if("value-paren_group"===n.type){E.push(g(p));continue}E.push(p);continue}if(l&&(L(f)||M(f)||z(f)||W(d)||U(d))){E.push(" ");continue}if(s&&"namespace"===s.name.toLowerCase()){E.push(" ");continue}if(a){d.source&&f.source&&d.source.start.line!==f.source.start.line?(E.push(p),S=!0):E.push(" ");continue}if(y){E.push(" ");continue}if(!(f&&"..."===f.value||De(d)&&De(f)&&ge(d)===me(f))){if(De(d)&&fe(f)&&ge(d)===me(f.open)){E.push(D);continue}if("with"===d.value&&fe(f)){E.push(" ");continue}null!==(F=d.value)&&void 0!==F&&F.endsWith("#")&&"{"===f.value&&fe(f.group)||E.push(c)}}}return h&&E.push(y),S&&E.unshift(p),l?d(m(E)):w(e)?d(f(E)):d(m(f(E)))}case"value-paren_group":{let u=e.getParentNode();if(u&&J(u)&&(1===i.groups.length||i.groups.length>0&&"value-comma_group"===i.groups[0].type&&i.groups[0].groups.length>0&&"value-word"===i.groups[0].groups[0].type&&i.groups[0].groups[0].value.startsWith("data:")))return[i.open?r("open"):"",l(",",e.map(r,"groups")),i.close?r("close"):""];if(!i.open){let t=e.map(r,"groups"),n=[];for(let e=0;e{let o=e.getValue(),l=u===i.groups.length-1,c=[r(),l?"":","];if(K(o)&&"value-comma_group"===o.type&&o.groups&&"value-paren_group"!==o.groups[0].type&&o.groups[2]&&"value-paren_group"===o.groups[2].type){let e=E(c[0].contents.contents);e[1]=d(e[1]),c=[d(g(c))]}if(!l&&"value-comma_group"===o.type&&s(o.groups)){let e=n(o.groups);!e.source&&e.close&&(e=e.close),e.source&&a(t.originalText,e,ge)&&c.push(p)}return c}),"groups"))]),h(!C&&ye(t.parser,t.originalText)&&o&&Ee(t)?",":""),D,i.close?r("close"):""],{shouldBreak:b});return v?g(x):x}case"value-func":return[i.value,T(e,"supports")&&le(i)?" ":"",r("group")];case"value-number":return[Be(i.value),Ce(i.unit)];case"value-word":return i.isColor&&i.isHex||I(i.value)?i.value.toLowerCase():i.value;case"value-colon":{let t=e.getParentNode(),r=t&&t.groups.indexOf(i),u=r&&t.groups[r-1];return[i.value,u&&"string"==typeof u.value&&"\\"===n(u.value)||B(e,"url")?"":c]}case"value-string":return u(i.raws.quote+i.value+i.raws.quote,t);case"value-atword":return["@",i.value];default:throw new Error(`Unknown postcss type ${JSON.stringify(i.type)}`)}},embed:A,insertPragma:b,massageAstNode:F}}}),ji=mt({"src/language-css/options.js"(e,t){Ct();var n=ci();t.exports={singleQuote:n.singleQuote}}}),Pi=mt({"src/language-css/parsers.js"(){Ct()}}),Oi=mt({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Mi=mt({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Li=mt({"node_modules/linguist-languages/data/Less.json"(e,t){t.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}}}),_i=mt({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),$i=mt({"src/language-css/index.js"(e,t){Ct();var n=Ur(),r=Ii(),u=ji(),i=Pi(),o=[n(Oi(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),n(Mi(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),n(Li(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),n(_i(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],a={postcss:r};t.exports={languages:o,options:u,printers:a,parsers:i}}}),Ri=mt({"src/language-handlebars/loc.js"(e,t){Ct(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),Vi=mt({"src/language-handlebars/clean.js"(e,t){function n(e,t){if("TextNode"===e.type){let n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}Ct(),n.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=n}}),qi=mt({"vendors/html-void-elements.json"(e,t){t.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),Wi=mt({"src/language-handlebars/utils.js"(e,t){Ct();var{htmlVoidElements:n}=qi(),r=xt();var u=new Set(n);function i(e){return o(e,["TextNode"])&&!/\S/.test(e.chars)}function o(e,t){return e&&t.includes(e.type)}function a(e,t){return o(e.getParentNode(0),t)}function s(e,t){var n,r,u,i;let o=e.getValue(),a=null!==(n=e.getParentNode(0))&&void 0!==n?n:{},s=null!==(r=null!==(u=null!==(i=a.children)&&void 0!==i?i:a.body)&&void 0!==u?u:a.parts)&&void 0!==r?r:[],l=s.indexOf(o);return-1!==l&&s[l+t]}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return s(e,-t)}function c(e){return s(e,1)}function p(e){return o(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:c,getPreviousNode:l,hasPrettierIgnore:function(e){let t=e.getValue(),n=l(e,2);return p(t)||p(n)},isLastNodeOfSiblings:function(e){let t=e.getValue(),n=e.getParentNode(0);return!!(a(e,["ElementNode"])&&r(n.children)===t||a(e,["Block"])&&r(n.body)===t)},isNextNodeOfSomeType:function(e,t){return o(c(e),t)},isNodeOfSomeType:o,isParentOfSomeType:a,isPreviousNodeOfSomeType:function(e,t){return o(l(e),t)},isVoid:function(e){return u.has(e.tag)||!0===e.selfClosing||function(e){return o(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>i(e)))},isWhitespaceNode:i}}}),Ui=mt({"src/language-handlebars/printer-glimmer.js"(e,t){Ct();var{builders:{dedent:n,fill:r,group:u,hardline:i,ifBreak:o,indent:a,join:s,line:l,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:D}}=Rt(),{getPreferredQuote:d,isNonEmptyArray:f}=cn(),{locStart:m,locEnd:g}=Ri(),h=Vi(),{getNextNode:y,getPreviousNode:C,hasPrettierIgnore:E,isLastNodeOfSiblings:F,isNextNodeOfSomeType:A,isNodeOfSomeType:b,isParentOfSomeType:v,isPreviousNodeOfSomeType:x,isVoid:S,isWhitespaceNode:B}=Wi();function k(e,t){return m(e)-m(t)}function T(e,t,n){let r=e.getValue().children.every((e=>B(e)));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map(((e,r)=>{let u=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[c,u]:u}),"children")}function w(e){return S(e)?o([c,"/>"],[" />",c]):o([c,">"],">")}function N(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function I(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function j(e){return[N(e),e.closeStrip.open?"~":"","/"]}function P(e){let t=I(e);return[e.closeStrip.close?"~":"",t]}function O(e){return[N(e),e.inverseStrip.open?"~":""]}function M(e){let t=I(e);return[e.inverseStrip.close?"~":"",t]}function L(e,t){let n=e.getValue(),r=function(e){return[N(e),e.openStrip.open?"~":"","#"]}(n),i=function(e){let t=I(e);return[e.openStrip.close?"~":"",t]}(n),o=[Y(e,t)],s=Q(e,t);if(s&&o.push(l,s),f(n.program.blockParams)){let e=Z(n.program);o.push(l,e)}return u([r,a(o),c,i])}function _(e,t){return["ignore"===t.htmlWhitespaceSensitivity?i:"",O(e),"else",M(e)]}function $(e,t,n){let r=e.getValue(),i=[];f(r.program.blockParams)&&(i=[l,Z(r.program)]);let o=e.getParentNode(1);return u([O(o),a(u([u(["else",l,n]),l,Q(e,t)])),a(i),c,M(o)])}function R(e,t,n){let r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[V(r)?c:i,j(r),t("path"),P(r)]:[j(r),t("path"),P(r)]}function V(e){return b(e,["BlockStatement"])&&e.program.body.every((e=>B(e)))}function q(e){return b(e,["BlockStatement"])&&e.inverse}function W(e,t,n){if(V(e.getValue()))return"";let r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?a([i,r]):a(r)}function U(e,t,n){let r=e.getValue(),u=t("inverse"),o="ignore"===n.htmlWhitespaceSensitivity?[i,u]:u;return function(e){return q(e)&&1===e.inverse.body.length&&b(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}(r)?o:q(r)?[_(r,n),a(o)]:""}function J(e){return p(s(l,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function z(e){return(e="string"==typeof e?e:"").split("\n").length-1}function H(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(i)}function G(e,t){let{quote:n,regex:r}=d(e,t);return[n,e.replace(r,`\\${n}`),n]}function X(e,t){let n=Y(e,t),r=Q(e,t);return r?a([n,l,u(r)]):n}function K(e,t){let n=Y(e,t),r=Q(e,t);return r?[a([n,l,r]),c]:n}function Y(e,t){return t("path")}function Q(e,t){let n=e.getValue(),r=[];if(n.params.length>0){let n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){let e=t("hash");r.push(e)}return 0===r.length?"":s(l,r)}function Z(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,o){let p=e.getValue();if(!p)return"";if(E(e))return t.originalText.slice(m(p),g(p));let h=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return u(e.map(o,"body"));case"ElementNode":{let n=u(function(e,t){let n=e.getValue(),r=["attributes","modifiers","comments"].filter((e=>f(n[e]))),u=r.flatMap((e=>n[e])).sort(k);for(let n of r)e.each((e=>{let n=u.indexOf(e.getValue());u.splice(n,1,[l,t()])}),n);return f(n.blockParams)&&u.push(l,Z(n)),["<",n.tag,a(u),w(n)]}(e,o)),r="ignore"===t.htmlWhitespaceSensitivity&&A(e,["ElementNode"])?c:"";if(S(p))return[n,r];let s=[""];return 0===p.children.length?[n,a(s),r]:"ignore"===t.htmlWhitespaceSensitivity?[n,a(T(e,t,o)),i,a(s),r]:[n,a(u(T(e,t,o))),a(s),r]}case"BlockStatement":{let n=e.getParentNode(1);return n&&n.inverse&&1===n.inverse.body.length&&n.inverse.body[0]===p&&n.inverse.body[0].path.parts[0]===n.path.parts[0]?[$(e,o,n.inverse.body[0].path.parts[0]),W(e,o,t),U(e,o,t)]:[L(e,o),u([W(e,o,t),U(e,o,t),R(e,o,t)])]}case"ElementModifierStatement":return u(["{{",K(e,o),"}}"]);case"MustacheStatement":return u([N(p),K(e,o),I(p)]);case"SubExpression":return u(["(",X(e,o),c,")"]);case"AttrNode":{let e="TextNode"===p.value.type;if(e&&""===p.value.chars&&m(p.value)===g(p.value))return p.name;let t=e?d(p.value.chars,h).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),h).quote:"",n=o("value");return[p.name,"=",t,"class"===p.name&&t?u(a(n)):n,t]}case"ConcatStatement":return e.map(o,"parts");case"Hash":return s(l,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let u=p.chars.replace(/{{/g,"\\{{"),i=function(e){for(let t=0;t<2;t++){let n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}(e);if(i){if("class"===i){let t=u.trim().split(/\s+/).join(" "),n=!1,r=!1;return v(e,["ConcatStatement"])&&(x(e,["MustacheStatement"])&&/^\s/.test(u)&&(n=!0),A(e,["MustacheStatement"])&&/\s$/.test(u)&&""!==t&&(r=!0)),[n?l:"",t,r?l:""]}return D(u)}let o=/^[\t\n\f\r ]*$/.test(u),a=!C(e),s=!y(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,i=/[\t\n\f\r ]*$/,c=s&&v(e,["Template"]),p=a&&v(e,["Template"]);if(o){if(p||c)return"";let t=[l],r=z(u);return r&&(t=H(r)),F(e)&&(t=t.map((e=>n(e)))),t}let[D]=u.match(t),[d]=u.match(i),f=[];if(D){f=[l];let e=z(D);e&&(f=H(e)),u=u.replace(t,"")}let m=[];if(d){if(!c){m=[l];let t=z(d);t&&(m=H(t)),F(e)&&(m=m.map((e=>n(e))))}u=u.replace(i,"")}return[...f,r(J(u)),...m]}let c=z(u),d=function(e){e="string"==typeof e?e:"";let t=(e.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return z(t)}(u),f=function(e){e="string"==typeof e?e:"";let t=(e.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return z(t)}(u);if((a||s)&&o&&v(e,["Block","ElementNode","Template"]))return"";o&&c?(d=Math.min(c,2),f=0):(A(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),x(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",g="";return 0===f&&A(e,["MustacheStatement"])&&(g=" "),0===d&&x(e,["MustacheStatement"])&&(m=" "),a&&(d=0,m=""),s&&(f=0,g=""),u=u.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,g),[...H(d),r(J(u)),...H(f)]}case"MustacheCommentStatement":{let e=m(p),n=g(p),r="~"===t.originalText.charAt(e+2),u="~"===t.originalText.charAt(n-3),i=p.value.includes("}}")?"--":"";return["{{",r?"~":"","!",i,p.value,i,u?"~":"","}}"]}case"PathExpression":return p.original;case"BooleanLiteral":case"NumberLiteral":return String(p.value);case"CommentStatement":return["\x3c!--",p.value,"--\x3e"];case"StringLiteral":if(function(e){let t=0,n=e.getParentNode(t);for(;n&&b(n,["SubExpression"]);)t++,n=e.getParentNode(t);return!!(n&&b(e.getParentNode(t+1),["ConcatStatement"])&&b(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return G(p.value,e)}return G(p.value,h);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}},massageAstNode:h}}}),Ji=mt({"src/language-handlebars/parsers.js"(){Ct()}}),zi=mt({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Hi=mt({"src/language-handlebars/index.js"(e,t){Ct();var n=Ur(),r=Ui(),u=Ji(),i=[n(zi(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],o={glimmer:r};t.exports={languages:i,printers:o,parsers:u}}}),Gi=mt({"src/language-graphql/pragma.js"(e,t){Ct(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}}}}),Xi=mt({"src/language-graphql/loc.js"(e,t){Ct(),t.exports={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}}),Ki=mt({"src/language-graphql/printer-graphql.js"(e,t){Ct();var{builders:{join:n,hardline:r,line:u,softline:i,group:o,indent:a,ifBreak:s}}=Rt(),{isNextLineEmpty:l,isNonEmptyArray:c}=cn(),{insertPragma:p}=Gi(),{locStart:D,locEnd:d}=Xi();function f(e,t,r){if(0===r.directives.length)return"";let s=n(u,e.map(t,"directives"));return"FragmentDefinition"===r.kind||"OperationDefinition"===r.kind?o([u,s]):[" ",o(a([i,s]))]}function m(e,t,n,u){return e.map(((e,u,i)=>{let o=n();return un(e)),"interfaces");for(let e=0;e{n.push(p()),u!==i.length-1&&(n.push(r),l(t.originalText,e.getValue(),d)&&n.push(r))}),"definitions"),[...n,r]}case"OperationDefinition":{let r="{"!==t.originalText[D(h)],u=Boolean(h.name);return[r?h.operation:"",r&&u?[" ",p("name")]:"",r&&!u&&c(h.variableDefinitions)?" ":"",c(h.variableDefinitions)?o(["(",a([i,n([s("",", "),i],e.map(p,"variableDefinitions"))]),i,")"]):"",f(e,p,h),h.selectionSet&&(r||u)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(h.variableDefinitions)?o(["(",a([i,n([s("",", "),i],e.map(p,"variableDefinitions"))]),i,")"]):""," on ",p("typeCondition"),f(e,p,h)," ",p("selectionSet")];case"SelectionSet":return["{",a([r,n(r,m(e,t,p,"selections"))]),r,"}"];case"Field":return o([h.alias?[p("alias"),": "]:"",p("name"),h.arguments.length>0?o(["(",a([i,n([s("",", "),i],m(e,t,p,"arguments"))]),i,")"]):"",f(e,p,h),h.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return h.value;case"StringValue":if(h.block){let e=h.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),n(r,['"""',...e,'"""'])}return['"',h.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return h.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",a([i,n([s("",", "),i],e.map(p,"values"))]),i,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&h.fields.length>0?" ":"",a([i,n([s("",", "),i],e.map(p,"fields"))]),i,s("",t.bracketSpacing&&h.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),h.arguments.length>0?o(["(",a([i,n([s("",", "),i],m(e,t,p,"arguments"))]),i,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),h.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,h)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),h.description?r:"","ObjectTypeExtension"===h.kind?"extend ":"","type ",p("name"),h.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,h),h.fields.length>0?[" {",a([r,n(r,m(e,t,p,"fields"))]),r,"}"]:""];case"FieldDefinition":return[p("description"),h.description?r:"",p("name"),h.arguments.length>0?o(["(",a([i,n([s("",", "),i],m(e,t,p,"arguments"))]),i,")"]):"",": ",p("type"),f(e,p,h)];case"DirectiveDefinition":return[p("description"),h.description?r:"","directive ","@",p("name"),h.arguments.length>0?o(["(",a([i,n([s("",", "),i],m(e,t,p,"arguments"))]),i,")"]):"",h.repeatable?" repeatable":""," on ",n(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),h.description?r:"","EnumTypeExtension"===h.kind?"extend ":"","enum ",p("name"),f(e,p,h),h.values.length>0?[" {",a([r,n(r,m(e,t,p,"values"))]),r,"}"]:""];case"EnumValueDefinition":return[p("description"),h.description?r:"",p("name"),f(e,p,h)];case"InputValueDefinition":return[p("description"),h.description?h.description.block?r:u:"",p("name"),": ",p("type"),h.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,h)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),h.description?r:"","InputObjectTypeExtension"===h.kind?"extend ":"","input ",p("name"),f(e,p,h),h.fields.length>0?[" {",a([r,n(r,m(e,t,p,"fields"))]),r,"}"]:""];case"SchemaExtension":return["extend schema",f(e,p,h),...h.operationTypes.length>0?[" {",a([r,n(r,m(e,t,p,"operationTypes"))]),r,"}"]:[]];case"SchemaDefinition":return[p("description"),h.description?r:"","schema",f(e,p,h)," {",h.operationTypes.length>0?a([r,n(r,m(e,t,p,"operationTypes"))]):"",r,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),h.description?r:"","InterfaceTypeExtension"===h.kind?"extend ":"","interface ",p("name"),h.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,h),h.fields.length>0?[" {",a([r,n(r,m(e,t,p,"fields"))]),r,"}"]:""];case"FragmentSpread":return["...",p("name"),f(e,p,h)];case"InlineFragment":return["...",h.typeCondition?[" on ",p("typeCondition")]:"",f(e,p,h)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),h.description?r:"",o(["UnionTypeExtension"===h.kind?"extend ":"","union ",p("name"),f(e,p,h),h.types.length>0?[" =",s(""," "),a([s([u," "]),n([u,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),h.description?r:"","ScalarTypeExtension"===h.kind?"extend ":"","scalar ",p("name"),f(e,p,h)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(h.kind))}},massageAstNode:h,hasPrettierIgnore:function(e){var t;let n=e.getValue();return null==n||null===(t=n.comments)||void 0===t?void 0:t.some((e=>"prettier-ignore"===e.value.trim()))},insertPragma:p,printComment:function(e){let t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}}}}),Yi=mt({"src/language-graphql/options.js"(e,t){Ct();var n=ci();t.exports={bracketSpacing:n.bracketSpacing}}}),Qi=mt({"src/language-graphql/parsers.js"(){Ct()}}),Zi=mt({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),eo=mt({"src/language-graphql/index.js"(e,t){Ct();var n=Ur(),r=Ki(),u=Yi(),i=Qi(),o=[n(Zi(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],a={graphql:r};t.exports={languages:o,options:u,printers:a,parsers:i}}}),to=mt({"node_modules/collapse-white-space/index.js"(e,t){Ct(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),no=mt({"src/language-markdown/loc.js"(e,t){Ct(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),ro=mt({"src/language-markdown/constants.evaluate.js"(e,t){t.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]"}}}),uo=mt({"src/language-markdown/utils.js"(e,t){Ct();var{getLast:n}=cn(),{locStart:r,locEnd:u}=no(),{cjkPattern:i,kPattern:o,punctuationPattern:a}=ro(),s=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...s,"tableCell","paragraph","heading"],c=new RegExp(o),p=new RegExp(a);function D(e,t){let[,n,r,u]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:u}}t.exports={mapAst:function(e,t){return function e(n,r,u){let i=Object.assign({},t(n,r,u));return i.children&&(i.children=i.children.map(((t,n)=>e(t,n,[i,...u])))),i}(e,null,[])},splitText:function(e,t){let r="non-cjk",u="cj-letter",o="cjk-punctuation",a=[],s=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${i})\n(${i})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of s.entries()){if(e%2==1){a.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===s.length-1)&&""===t)continue;let D=t.split(new RegExp(`(${i})`));for(let[e,t]of D.entries())if(0!==e&&e!==D.length-1||""!==t){if(e%2==0){""!==t&&l({type:"word",value:t,kind:r,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(n(t))});continue}l(p.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:c.test(t)?"k-letter":u,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return a;function l(e){let t=n(a);var i,s;t&&"word"===t.type&&(t.kind===r&&e.kind===u&&!t.hasTrailingPunctuation||t.kind===u&&e.kind===r&&!e.hasLeadingPunctuation?a.push({type:"whitespace",value:" "}):(i=r,s=o,!(t.kind===i&&e.kind===s||t.kind===s&&e.kind===i||[t.value,e.value].some((e=>/\u3000/.test(e))))&&a.push({type:"whitespace",value:""}))),a.push(e)}},punctuationPattern:a,getFencedCodeBlockValue:function(e,t){let{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:D,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let n=Number(D(e.children[0],t.originalText).numberText),r=Number(D(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){let n=Number(D(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:s,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:function(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;let[t]=e.children;return r(e)===r(t)&&u(e)===u(t)}}}}),io=mt({"src/language-markdown/embed.js"(e,t){Ct();var{inferParserByLanguage:n,getMaxContinuousCount:r}=cn(),{builders:{hardline:u,markAsRoot:i},utils:{replaceEndOfLine:o}}=Rt(),a=Fi(),{getFencedCodeBlockValue:s}=uo();t.exports=function(e,t,l,c){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=n(p.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",n=t.repeat(Math.max(3,r(p.value,t)+1)),a={parser:e};"tsx"===p.lang&&(a.filepath="dummy.tsx");let D=l(s(p,c.originalText),a,{stripTrailingHardline:!0});return i([n,p.lang,p.meta?" "+p.meta:"",u,o(D),u,n])}}switch(p.type){case"front-matter":return a(p,l);case"importExport":return[l(p.value,{parser:"babel"},{stripTrailingHardline:!0}),u];case"jsx":return l(`<$>${p.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),oo=mt({"src/language-markdown/pragma.js"(e,t){Ct();var n=bi(),r=["format","prettier"];function u(e){let t=`@(${r.join("|")})`,n=new RegExp([`\x3c!--\\s*${t}\\s*--\x3e`,`{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${t}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),u=e.match(n);return 0===(null==u?void 0:u.index)}t.exports={startWithPragma:u,hasPragma:e=>u(n(e).content.trimStart()),insertPragma:e=>{let t=n(e),u=`\x3c!-- @${r[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${u}\n\n${t.content}`:`${u}\n\n${t.content}`}}}}),ao=mt({"src/language-markdown/print-preprocess.js"(e,t){Ct();var n=xt(),{getOrderedListItemInfo:r,mapAst:u,splitText:i}=uo(),o=/^.$/su;function a(e,t,r){return u(e,(e=>{if(!e.children)return e;let u=e.children.reduce(((e,u)=>{let i=n(e);return i&&t(i,u)?e.splice(-1,1,r(i,u)):e.push(u),e}),[]);return Object.assign(Object.assign({},e),{},{children:u})}))}t.exports=function(e,t){return e=function(e){return a(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e){return u(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}(e=function(e,t){return u(e,((e,n,r)=>{let[u]=r;if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===u.type&&(0===n&&(o=o.trimStart()),n===u.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:i(o,t)}}))}(e=function(e,t){return u(e,((e,t,n)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;let o=n(u);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(i)&&(o%t.tabWidth==0||r(i,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return u(e,((e,n,r)=>{if("code"===e.type){let n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}(e=function(e){return a(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e,t){return u(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&o.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}(e,t)),t),t),t),t)))}}}),so=mt({"src/language-markdown/clean.js"(e,t){Ct();var n=to(),{isFrontMatterNode:r}=cn(),{startWithPragma:u}=oo(),i=new Set(["position","raw"]);function o(e,t,i){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type||"imageReference"===e.type)&&(t.label=n(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),i&&"root"===i.type&&i.children.length>0&&(i.children[0]===e||r(i.children[0])&&i.children[1]===e)&&"html"===e.type&&u(e.value)))return null}o.ignoredProperties=i,t.exports=o}}),lo=mt({"src/language-markdown/printer-markdown.js"(e,t){Ct();var n=to(),{getLast:r,getMinNotPresentContinuousCount:u,getMaxContinuousCount:i,getStringWidth:o,isNonEmptyArray:a}=cn(),{builders:{breakParent:s,join:l,line:c,literalline:p,markAsRoot:D,hardline:d,softline:f,ifBreak:m,fill:g,align:h,indent:y,group:C,hardlineWithoutBreakParent:E},utils:{normalizeDoc:F,replaceTextEndOfLine:A},printer:{printDocToString:b}}=Rt(),v=io(),{insertPragma:x}=oo(),{locStart:S,locEnd:B}=no(),k=ao(),T=so(),{getFencedCodeBlockValue:w,hasGitDiffFriendlyOrderedList:N,splitText:I,punctuationPattern:j,INLINE_NODE_TYPES:P,INLINE_NODE_WRAPPER_TYPES:O,isAutolink:M}=uo(),L=new Set(["importExport"]),_=["heading","tableCell","link","wikiLink"],$=new Set(["listItem","definition","footnoteDefinition"]);function R(e,t,n,r){let u=e.getValue(),i=null===u.checked?"":u.checked?"[x] ":"[ ] ";return[i,z(e,t,n,{processor:(e,u)=>{if(0===u&&"list"!==e.getValue().type)return h(" ".repeat(i.length),n());let o=" ".repeat(function(e,t,n){return en?n:e}(t.tabWidth-r.length,0,3));return[o,h(o,n())]}})]}function V(e,t){return function(e,t,n){let r=-1;for(let u of t.children)if(u.type===e.type&&n(u)?r++:r=-1,u===e)return r}(e,t,(t=>t.ordered===e.ordered))}function q(e,t){let n,r=Array.isArray(t)?t:[t],u=-1;for(;n=e.getParentNode(++u);)if(r.includes(n.type))return u;return-1}function W(e,t){let n=q(e,t);return-1===n?null:e.getParentNode(n)}function U(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return d;let r="always"===n.proseWrap&&!W(e,_);return""!==t?r?c:" ":r?f:""}function J(e,t,n){let r=[],u=null,{children:i}=e.getValue();for(let[e,t]of i.entries())switch(X(t)){case"start":null===u&&(u={index:e,offset:t.position.end.offset});break;case"end":null!==u&&(r.push({start:u,end:{index:e,offset:t.position.start.offset}}),u=null)}return z(e,t,n,{processor:(e,u)=>{if(r.length>0){let e=r[0];if(u===e.start.index)return[H(i[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),H(i[e.end.index])];if(e.start.index3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:i}=u,o=u.processor||(()=>n()),a=e.getValue(),s=[];return e.each(((e,n)=>{let u=e.getValue(),i=o(e,n);if(!1!==i){let e={parts:s,prevNode:r,parentNode:a,options:t};K(u,e)&&(s.push(d),r&&L.has(r.type)||(Y(u,e)||Q(u,e))&&s.push(d),Q(u,e)&&s.push(d)),s.push(i),r=u}}),"children"),i?i(s):s}function H(e){return"html"===e.type?e.value:"paragraph"===e.type&&Array.isArray(e.children)&&1===e.children.length&&"esComment"===e.children[0].type?["{/* ",e.children[0].value," */}"]:void 0}function G(e){let t=e;for(;a(t.children);)t=r(t.children);return t}function X(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let n;"esComment"===e.type?n=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(n=e.children[0]),n&&(t=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function K(e,t){let n=0===t.parts.length,r=P.includes(e.type),u="html"===e.type&&O.includes(t.parentNode.type);return!n&&!r&&!u}function Y(e,t){var n,r,u;let i=(t.prevNode&&t.prevNode.type)===e.type&&$.has(e.type),o="listItem"===t.parentNode.type&&!t.parentNode.loose,a="listItem"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.loose,s="next"===X(t.prevNode),l="html"===e.type&&"html"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(u=t.prevNode)||void 0===u?void 0:u.type)&&t.prevNode.position.end.line+1===e.position.start.line;return a||!(i||o||s||l||c)}function Q(e,t){let n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function Z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function ee(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return"";if(n)return" "+ee(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,u=e.split('"').length-1,i=r>u?'"':u>r||t.singleQuote?"'":'"';return`${i}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${i})`,"g"),"\\$1")}${i}`}function te(e){return`[${n(e.label)}]`}function ne(e){return`[^${e.label}]`}t.exports={preprocess:k,print:function(e,t,n){let a=e.getValue();if(function(e){let t=W(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return I(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map((n=>"word"===n.type?n.value:""===n.value?"":U(e,n.value,t)));switch(a.type){case"front-matter":return t.originalText.slice(a.position.start.offset,a.position.end.offset);case"root":return 0===a.children.length?"":[F(J(e,t,n)),L.has(G(a).type)?"":d];case"paragraph":return z(e,t,n,{postprocessor:g});case"sentence":return z(e,t,n);case"word":{let t=a.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${j})(_+)`,`(_+)(${j}|$)`].join("|"),"g"),((e,t,n,r,u)=>(n?`${t}${n}`:`${r}${u}`).replace(/_/g,"\\_"))),n=(e,t,n)=>"sentence"===e.type&&0===n,r=(e,t,n)=>M(e.children[n-1]);return t!==a.value&&(e.match(void 0,n,r)||e.match(void 0,n,((e,t,n)=>"emphasis"===e.type&&0===n),r))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let n=e.getParentNode(),r=n.children.indexOf(a),u=n.children[r+1],i=u&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(u.value)?"never":t.proseWrap;return U(e,a.value,{proseWrap:i})}case"emphasis":{let u;if(M(a.children[0]))u=t.originalText[a.position.start.offset];else{let t=e.getParentNode(),n=t.children.indexOf(a),i=t.children[n-1],o=t.children[n+1];u=i&&"sentence"===i.type&&i.children.length>0&&"word"===r(i.children).type&&!r(i.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||W(e,"emphasis")?"*":"_"}return[u,z(e,t,n),u]}case"strong":return["**",z(e,t,n),"**"];case"delete":return["~~",z(e,t,n),"~~"];case"inlineCode":{let e=u(a.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(a.value)?" ":"";return[t,n,a.value,n,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?a.value:a.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[a.position.start.offset]){case"<":{let e="mailto:";return["<",a.url.startsWith(e)&&t.originalText.slice(a.position.start.offset+1,a.position.start.offset+1+e.length)!==e?a.url.slice(e.length):a.url,">"]}case"[":return["[",z(e,t,n),"](",Z(a.url,")"),ee(a.title,t),")"];default:return t.originalText.slice(a.position.start.offset,a.position.end.offset)}case"image":return["![",a.alt||"","](",Z(a.url,")"),ee(a.title,t),")"];case"blockquote":return["> ",h("> ",z(e,t,n))];case"heading":return["#".repeat(a.depth)+" ",z(e,t,n)];case"code":{if(a.isIndented){let e=" ".repeat(4);return h(e,[e,...A(a.value,d)])}let e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,i(a.value,e)+1));return[n,a.lang||"",a.meta?" "+a.meta:"",d,...A(w(a,t.originalText),d),d,n]}case"html":{let t=e.getParentNode(),n="root"===t.type&&r(t.children)===a?a.value.trimEnd():a.value,u=/^$/s.test(n);return A(n,u?d:D(p))}case"list":{let r=V(a,e.getParentNode()),u=N(a,t);return z(e,t,n,{processor:(e,i)=>{let o=function(){let e=a.ordered?(0===i?a.start:u?1:a.start+i)+(r%2==0?". ":") "):r%2==0?"- ":"* ";return a.isAligned||a.hasIndentedCodeblock?function(e,t){let n=r();return e+" ".repeat(n>=4?0:n);function r(){let n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),s=e.getValue();return 2===s.children.length&&"html"===s.children[1].type&&s.children[0].position.start.column!==s.children[1].position.start.column?[o,R(e,t,n,o)]:[o,h(" ".repeat(o.length),R(e,t,n,o))]}})}case"thematicBreak":{let t=q(e,"list");return-1===t?"---":V(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",z(e,t,n),"]","full"===a.referenceType?te(a):"collapsed"===a.referenceType?"[]":""];case"imageReference":return"full"===a.referenceType?["![",a.alt||"","]",te(a)]:["![",a.alt,"]","collapsed"===a.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?c:" ";return C([te(a),":",y([e,Z(a.url),null===a.title?"":[e,ee(a.title,t,!1)]])])}case"footnote":return["[^",z(e,t,n),"]"];case"footnoteReference":return ne(a);case"footnoteDefinition":{let r=e.getParentNode().children[e.getName()+1],u=1===a.children.length&&"paragraph"===a.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&a.children[0].position.start.line===a.children[0].position.end.line);return[ne(a),": ",u?z(e,t,n):C([h(" ".repeat(4),z(e,t,n,{processor:(e,t)=>0===t?C([f,n()]):n()})),r&&"footnoteDefinition"===r.type?f:""])]}case"table":return function(e,t,n){let r=e.getValue(),u=[],i=e.map((e=>e.map(((e,r)=>{let i=b(n(),t).formatted,a=o(i);return u[r]=Math.max(u[r]||3,a),{text:i,width:a}}),"children")),"children"),a=p(!1);if("never"!==t.proseWrap)return[s,a];let c=p(!0);return[s,C(m(c,a))];function p(e){let t=[d(i[0],e),D(e)];return i.length>1&&t.push(l(E,i.slice(1).map((t=>d(t,e))))),l(E,t)}function D(e){return`| ${u.map(((t,n)=>{let u=r.align[n],i="center"===u||"right"===u?":":"-";return`${"center"===u||"left"===u?":":"-"}${e?"-":"-".repeat(t-2)}${i}`})).join(" | ")} |`}function d(e,t){return`| ${e.map(((e,n)=>{let{text:i,width:o}=e;if(t)return i;let a=u[n]-o,s=r.align[n],l=0;"right"===s?l=a:"center"===s&&(l=Math.floor(a/2));let c=a-l;return`${" ".repeat(l)}${i}${" ".repeat(c)}`})).join(" | ")} |`}}(e,t,n);case"tableCell":return z(e,t,n);case"break":return/\s/.test(t.originalText[a.position.start.offset])?[" ",D(p)]:["\\",d];case"liquidNode":return A(a.value,d);case"importExport":return[a.value,d];case"esComment":return["{/* ",a.value," */}"];case"jsx":return a.value;case"math":return["$$",d,a.value?[...A(a.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(S(a),B(a));default:throw new Error(`Unknown markdown type ${JSON.stringify(a.type)}`)}},embed:v,massageAstNode:T,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===X(e.getParentNode().children[t-1])},insertPragma:x}}}),co=mt({"src/language-markdown/options.js"(e,t){Ct();var n=ci();t.exports={proseWrap:n.proseWrap,singleQuote:n.singleQuote}}}),po=mt({"src/language-markdown/parsers.js"(){Ct()}}),Do=mt({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.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}}}),fo=mt({"src/language-markdown/index.js"(e,t){Ct();var n=Ur(),r=lo(),u=co(),i=po(),o=[n(Do(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),n(Do(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],a={mdast:r};t.exports={languages:o,options:u,printers:a,parsers:i}}}),mo=mt({"src/language-html/clean.js"(e,t){Ct();var{isFrontMatterNode:n}=cn(),r=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function u(e,t){if("text"===e.type||"comment"===e.type||n(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}u.ignoredProperties=r,t.exports=u}}),go=mt({"src/language-html/constants.evaluate.js"(e,t){t.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"}}}),ho=mt({"src/language-html/utils/is-unknown-namespace.js"(e,t){Ct(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),yo=mt({"src/language-html/utils/index.js"(e,t){Ct();var{inferParserByLanguage:n,isFrontMatterNode:r}=cn(),{builders:{line:u,hardline:i,join:o},utils:{getDocParts:a,replaceTextEndOfLine:s}}=Rt(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:D}=go(),d=ho(),f=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/[\t\n\f\r ]+$/,""),g=e=>(e=>e.replace(/^[\t\f\r ]*\n/g,""))(m(e)),h=e=>e.split(/[\t\n\f\r ]+/),y=e=>e.match(/^[\t\n\f\r ]*/)[0];function C(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function E(e){return w(e).startsWith("pre")}function F(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function A(e){return S(e)||"element"===e.type&&"br"===e.fullName||b(e)}function b(e){return v(e)&&x(e)}function v(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function S(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function B(e){let{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function k(e){return"block"===e||"list-item"===e||e.startsWith("table")}function T(e){return w(e).startsWith("pre")}function w(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||D}function N(e){let t=Number.POSITIVE_INFINITY;for(let n of e.split("\n")){if(0===n.length)continue;if(!f.has(n[0]))return 0;let e=y(n).length;n.length!==e&&e1&&void 0!==arguments[1]?arguments[1]:N(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}var j=new Set(["template","style","script"]);function P(e,t){return O(e,t)&&!j.has(e.fullName)}function O(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function M(e,t){return O(e,t)&&(P(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}t.exports={htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(m(e)),htmlTrimPreserveIndentation:g,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{let[,t,n,r]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!C(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){let u=e.stack[r];u&&"object"==typeof u&&!Array.isArray(u)&&t(u)&&n++}return n},dedentString:I,forceBreakChildren:F,forceBreakContent:function(e){return F(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((e=>function(e){return e.children&&e.children.some((e=>"text"!==e.type))}(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&v(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||x(e.lastChild))},forceNextEmptyLine:function(e){return r(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||d(e))&&l[e.name]||c}},getNodeCssStyleWhiteSpace:w,hasPrettierIgnore:function(e){return!("attribute"===e.type||!e.parent||!e.prev)&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.prev)},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e,t){let{lang:r}=e.attrMap;return r&&"postcss"!==r&&"css"!==r?"scss"===r?"scss":"less"===r?"less":"stylus"===r?n("stylus",t):void 0:"css"}(e,t):t&&M(e,t)?B(e)||!("src"in e.attrMap)&&n(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?B(e):"babel"},isVueCustomBlock:P,isVueNonHtmlBlock:M,isVueScriptTag:function(e,t){return O(e,t)&&"script"===e.name},isVueSlotAttribute:function(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){let n=e.parent;if(!O(n,t))return!1;let r=n.fullName,u=e.fullName;return"script"===r&&"setup"===u||"style"===r&&"vars"===u},isVueSfcBlock:O,isDanglingSpaceSensitiveNode:function(e){return function(e){return!k(e)&&"inline-block"!==e}(e.cssDisplay)&&!C(e)},isIndentationSensitiveNode:E,isLeadingSpaceSensitiveNode:function(e,t){let n=!(r(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!T(e.parent)&&(!e.prev&&("root"===e.parent.type||T(e)&&e.parent||C(e.parent)||P(e.parent,t)||!function(e){return!k(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.prev&&!function(e){return!k(e)}(e.prev.cssDisplay))));return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:T,isScriptLikeTag:C,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!r(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!T(e.parent)||!(!e.next&&("root"===e.parent.type||T(e)&&e.parent||C(e.parent)||P(e.parent,t)||!function(e){return!k(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.next&&!function(e){return!k(e)}(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return C(e)||"interpolation"===e.type||E(e)},isUnknownNamespace:d,preferHardlineAsLeadingSpaces:function(e){return S(e)||e.prev&&A(e.prev)||b(e)},preferHardlineAsTrailingSpaces:A,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||T(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||M(e,t)&&!C(e)&&"interpolation"!==e.type)},unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')},getTextValueParts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?s(t):s(I(g(t)),i):a(o(u,h(t)))}}}}),Co=mt({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}Ct(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(n){return n>=e.$a&&n<=e.$f||n>=e.$A&&n<=e.$F||t(n)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),Eo=mt({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,n,r){let u=`"${e}".${n}${(r=r||[]).length?`.${r.join(".")}`:""}`,i=this.cache.get(u);return i||(i=new t(e,n,r),this.cache.set(u,i)),i}}}}),Fo=mt({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function n(e,t,n){let r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function r(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}e.dashCaseToCamelCase=function(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),n=0;nr(e,this,t)))}visitStringMap(e,t){let n={};return Object.keys(e).forEach((u=>{n[u]=r(e[u],this,t)})),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(a(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>a(e)?e.then(t):t(e),all:e=>e.some(a)?Promise.all(e):e},e.error=function(e){throw new Error(`Internal Error: ${e}`)},e.syntaxError=function(e,t){let n=Error(e);return n[u]=!0,t&&(n[i]=t),n};var u="ngSyntaxError",i="ngParseErrors";e.isSyntaxError=function(e){return e[u]},e.getParseErrors=function(e){return e[i]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var o=Object.getPrototypeOf({});function a(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let n=0;n=55296&&r<=56319&&e.length>n+1){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},e.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;if(!t.toString)return"object";let n=t.toString();if(null==n)return""+n;let r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=a;e.Version=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};var s=typeof window<"u"&&window,l=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,c=typeof globalThis<"u"&&globalThis||s||l;e.global=c}}),Ao=mt({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=Eo(),n=Fo(),r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function u(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=u;var i,o,a=0;function s(e){if(!e||!e.reference)return null;let r=e.reference;if(r instanceof t.StaticSymbol)return r.name;if(r.__anonymousType)return r.__anonymousType;let i=n.stringify(r);return i.indexOf("(")>=0?(i="anonymous_"+a++,r.__anonymousType=i):i=u(i),i}e.identifierName=s,e.identifierModuleUrl=function(e){let r=e.reference;return r instanceof t.StaticSymbol?r.filePath:`./${n.stringify(r)}`},e.viewClassName=function(e,t){return`View_${s({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${s({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${s({reference:e})}`},e.componentFactoryName=function(e){return`${s({reference:e})}NgFactory`},(o=i=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=function(e){return null!=e.value?u(e.value):s(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(n)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:n,templateUrl:r,htmlAst:u,styles:i,styleUrls:o,externalStylesheets:a,animations:s,ngContentSelectors:l,interpolation:D,isInline:d,preserveWhitespaces:f}=e;if(this.encapsulation=t,this.template=n,this.templateUrl=r,this.htmlAst=u,this.styles=c(i),this.styleUrls=c(o),this.externalStylesheets=c(a),this.animations=s?p(s):[],this.ngContentSelectors=l||[],D&&2!=D.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=D,this.isInline=d,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var l=class{static create(e){let{isHost:t,type:u,isComponent:i,selector:o,exportAs:a,changeDetection:s,inputs:c,outputs:p,host:D,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:h,entryComponents:y,template:C,componentViewType:E,rendererType:F,componentFactory:A}=e,b={},v={},x={};null!=D&&Object.keys(D).forEach((e=>{let t=D[e],n=e.match(r);null===n?x[e]=t:null!=n[1]?v[n[1]]=t:null!=n[2]&&(b[n[2]]=t)}));let S={};null!=c&&c.forEach((e=>{let t=n.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));let B={};return null!=p&&p.forEach((e=>{let t=n.splitAtColon(e,[e,e]);B[t[0]]=t[1]})),new l({isHost:t,type:u,isComponent:!!i,selector:o,exportAs:a,changeDetection:s,inputs:S,outputs:B,hostListeners:b,hostProperties:v,hostAttributes:x,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:h,entryComponents:y,template:C,componentViewType:E,rendererType:F,componentFactory:A})}constructor(e){let{isHost:t,type:n,isComponent:r,selector:u,exportAs:i,changeDetection:o,inputs:a,outputs:s,hostListeners:l,hostProperties:p,hostAttributes:D,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:h,entryComponents:y,template:C,componentViewType:E,rendererType:F,componentFactory:A}=e;this.isHost=!!t,this.type=n,this.isComponent=r,this.selector=u,this.exportAs=i,this.changeDetection=o,this.inputs=a,this.outputs=s,this.hostListeners=l,this.hostProperties=p,this.hostAttributes=D,this.providers=c(d),this.viewProviders=c(f),this.queries=c(m),this.guards=g,this.viewQueries=c(h),this.entryComponents=c(y),this.template=C,this.componentViewType=E,this.rendererType=F,this.componentFactory=A}toSummary(){return{summaryKind:i.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}}};e.CompileDirectiveMetadata=l;e.CompilePipeMetadata=class{constructor(e){let{type:t,name:n,pure:r}=e;this.type=t,this.name=n,this.pure=!!r}toSummary(){return{summaryKind:i.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:n,declaredDirectives:r,exportedDirectives:u,declaredPipes:i,exportedPipes:o,entryComponents:a,bootstrapComponents:s,importedModules:l,exportedModules:p,schemas:D,transitiveModule:d,id:f}=e;this.type=t||null,this.declaredDirectives=c(r),this.exportedDirectives=c(u),this.declaredPipes=c(i),this.exportedPipes=c(o),this.providers=c(n),this.entryComponents=c(a),this.bootstrapComponents=c(s),this.importedModules=c(l),this.exportedModules=c(p),this.schemas=c(D),this.id=f||null,this.transitiveModule=d||null}toSummary(){let e=this.transitiveModule;return{summaryKind:i.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};function c(e){return e||[]}e.TransitiveCompileNgModuleMetadata=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(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function p(e){return e.reduce(((e,t)=>{let n=Array.isArray(t)?p(t):t;return e.concat(n)}),[])}function D(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(e,t){let{useClass:n,useValue:r,useExisting:u,useFactory:i,deps:o,multi:a}=t;this.token=e,this.useClass=n||null,this.useValue=r,this.useExisting=u,this.useFactory=i||null,this.dependencies=o||null,this.multi=!!a}},e.flatten=p,e.templateSourceUrl=function(e,n,r){let u;return u=r.isInline?n.type.reference instanceof t.StaticSymbol?`${n.type.reference.filePath}.${n.type.reference.name}.html`:`${s(e)}/${s(n.type)}.html`:r.templateUrl,n.type.reference instanceof t.StaticSymbol?u:D(u)},e.sharedStylesheetJitUrl=function(e,t){let n=e.moduleUrl.split(/\/\\/g);return D(`css/${t}${n[n.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return D(`${s(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return D(`${s(e)}/${s(t.type)}.ngfactory.js`)}}}),bo=mt({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){Ct(),Object.defineProperty(e,"__esModule",{value:!0});var t=Co(),n=Ao(),r=class{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let n=this.file.content,u=n.length,i=this.offset,o=this.line,a=this.col;for(;i>0&&e<0;)if(i--,e++,n.charCodeAt(i)==t.$LF){o--;let e=n.substr(0,i-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?i-e:i}else a--;for(;i0;){let r=n.charCodeAt(i);i++,e--,r==t.$LF?(o++,a=0):a++}return new r(this.file,i,o,a)}getContext(e,t){let n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let u=r,i=0,o=0;for(;i0&&(r--,i++,"\n"!=n[r]||++o!=t););for(i=0,o=0;i2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new r(new u("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=i=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";e.ParseError=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.ERROR;this.span=e,this.msg=t,this.level=n}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${i[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},e.typeSourceSpan=function(e,t){let i=n.identifierModuleUrl(t),o=null!=i?`in ${e} ${n.identifierName(t)} in ${i}`:`in ${e} ${n.identifierName(t)}`,s=new u("",o);return new a(new r(s,-1,-1,-1),new r(s,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,n){let i=new u("",`in ${e} ${t} in ${n}`);return new a(new r(i,-1,-1,-1),new r(i,-1,-1,-1))}}}),vo=mt({"src/language-html/print-preprocess.js"(e,t){Ct();var{ParseSourceSpan:n}=bo(),{htmlTrim:r,getLeadingAndTrailingHtmlWhitespace:u,hasHtmlWhitespace:i,canHaveInterpolation:o,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:s,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:D,isVueScriptTag:d}=yo(),f=[function(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))},function(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children)for(let r=0;r{if(e.children)for(let u=0;u"cdata"===e.type),(e=>``))},function(e,t){if("html"===t.parser)return;let r=/{{(.+?)}}/s;e.walk((e=>{if(o(e))for(let t of e.children){if("text"!==t.type)continue;let u=t.sourceSpan.start,i=null,o=t.value.split(r);for(let r=0;r0&&e.insertChildBefore(t,{type:"text",value:a,sourceSpan:new n(u,i)}))}e.removeChild(t)}}))},function(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===r(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=D(e),i=l(e);if(!t)for(let t=0;t{e.cssDisplay=a(e,t)}))},function(e){e.walk((e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))},function(e,t){e.walk((e=>{let{children:n}=e;if(n){if(0===n.length)return void(e.isDanglingSpaceSensitive=s(e));for(let e of n)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;e"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!i(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children)for(let r=0;r`+u.firstChild.value+``+o.value,i.sourceSpan=new n(i.sourceSpan.start,o.sourceSpan.end),i.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,i.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(u),r--,e.removeChild(o)}}))},function(e,t){if("vue"===t.parser){let n=e.children.find((e=>d(e,t)));if(!n)return;let{lang:r}=n.attrMap;("ts"===r||"typescript"===r)&&(t.__should_parse_vue_template_with_ts=!0)}}];t.exports=function(e,t){for(let n of f)n(e,t);return e}}}),xo=mt({"src/language-html/pragma.js"(e,t){Ct(),t.exports={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),So=mt({"src/language-html/loc.js"(e,t){Ct(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),Bo=mt({"src/language-html/print/tag.js"(e,t){Ct();var n=Mr(),{isNonEmptyArray:r}=cn(),{builders:{indent:u,join:i,line:o,softline:a,hardline:s},utils:{replaceTextEndOfLine:l}}=Rt(),{locStart:c,locEnd:p}=So(),{isTextLikeNode:D,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:g,isVueSfcBlock:h}=yo();function y(e,t){return e.lastChild&&B(e.lastChild)?"":[E(e,t),A(e,t)]}function C(e,t){return(e.next?x(e.next):S(e.parent))?"":[b(e,t),F(e,t)]}function E(e,t){return S(e)?b(e.lastChild,t):""}function F(e,t){return B(e)?A(e.parent,t):k(e)?P(e.next):""}function A(e,t){if(n(!e.isSelfClosing),v(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function v(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function x(e){return e.prev&&"docType"!==e.prev.type&&!D(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function S(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!D(d(e.lastChild))&&!f(e)}function B(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&D(d(e))}function k(e){return e.next&&!D(e.next)&&D(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function T(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function w(e,t,n){let D=e.getValue();if(!r(D.attrs))return D.isSelfClosing?" ":"";let d=D.prev&&"comment"===D.prev.type&&function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(D.prev.value),f="boolean"==typeof d?()=>d:Array.isArray(d)?e=>d.includes(e.rawName):()=>!1,m=e.map((e=>{let r=e.getValue();return f(r)?l(t.originalText.slice(c(r),p(r))):n()}),"attrs"),g="element"===D.type&&"script"===D.fullName&&1===D.attrs.length&&"src"===D.attrs[0].fullName&&0===D.children.length,y=t.singleAttributePerLine&&D.attrs.length>1&&!h(D,t)?s:o,C=[u([g?" ":o,i(y,m)])];return D.firstChild&&T(D.firstChild)||D.isSelfClosing&&S(D.parent)||g?C.push(D.isSelfClosing?" ":""):C.push(t.bracketSameLine?D.isSelfClosing?" ":"":D.isSelfClosing?o:a),C}function N(e){return e.firstChild&&T(e.firstChild)?"":O(e)}function I(e,t){return e.prev&&k(e.prev)?"":[j(e,t),P(e)]}function j(e,t){return T(e)?O(e.parent):x(e)?b(e.prev,t):""}function P(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function O(e){switch(n(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":y(e,t),C(e,t)]},printClosingTagStart:y,printClosingTagStartMarker:A,printClosingTagEndMarker:b,printClosingTagSuffix:F,printClosingTagEnd:C,needsToBorrowLastChildClosingTagEndMarker:S,needsToBorrowParentClosingTagStartMarker:B,needsToBorrowPrevClosingTagEndMarker:x,printOpeningTag:function(e,t,n){let r=e.getValue();return[I(r,t),w(e,t,n),r.isSelfClosing?"":N(r)]},printOpeningTagStart:I,printOpeningTagPrefix:j,printOpeningTagStartMarker:P,printOpeningTagEndMarker:O,needsToBorrowNextOpeningTagStartMarker:k,needsToBorrowParentOpeningTagEndMarker:T}}}),ko=mt({"node_modules/parse-srcset/src/parse-srcset.js"(e,t){Ct(),function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof t&&t.exports?t.exports=n():e.parseSrcset=n()}(e,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function u(t){var n,r=t.exec(e.substring(h));if(r)return n=r[0],h+=n.length,n}for(var i,o,a,s,l,c=e.length,p=/^[ \t\n\r\u000c]+/,D=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,h=0,y=[];;){if(u(D),h>=c)return y;i=u(d),o=[],","===i.slice(-1)?(i=i.replace(f,""),E()):C()}function C(){for(u(p),a="",s="in descriptor";;){if(l=e.charAt(h),"in descriptor"===s)if(r(l))a&&(o.push(a),a="",s="after descriptor");else{if(","===l)return h+=1,a&&o.push(a),void E();if("("===l)a+=l,s="in parens";else{if(""===l)return a&&o.push(a),void E();a+=l}}else if("in parens"===s)if(")"===l)a+=l,s="in descriptor";else{if(""===l)return o.push(a),void E();a+=l}else if("after descriptor"===s&&!r(l)){if(""===l)return void E();s="in descriptor",h-=1}h+=1}}function E(){var t,r,u,a,s,l,c,p,D,d=!1,f={};for(a=0;a{let{w:t}=e;return t})),a=t.some((e=>{let{h:t}=e;return t}));if(o+a+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let s=o?"w":a?"h":"d",l=o?"w":a?"h":"x",c=e=>Math.max(...e),p=t.map((e=>e.url)),D=c(p.map((e=>e.length))),d=t.map((e=>e[s])).map((e=>e?e.toString():"")),f=d.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=c(f);return u([",",i],p.map(((e,t)=>{let n=[e],u=d[t];if(u){let i=D-e.length+1,o=m-f[t],a=" ".repeat(i+o);n.push(r(a," "),u+l)}return n})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),wo=mt({"src/language-html/syntax-vue.js"(e,t){Ct();var{builders:{group:n}}=Rt();t.exports={isVueEventBindingExpression:function(e){let t=e.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){let{left:r,operator:u,right:i}=function(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,u=e.match(t);if(!u)return;let i={};if(i.for=u[3].trim(),!i.for)return;let o=u[1].trim().replace(r,""),a=o.match(n);a?(i.alias=o.replace(n,""),i.iterator1=a[1].trim(),a[2]&&(i.iterator2=a[2].trim())):i.alias=o;let s=[i.alias,i.iterator1,i.iterator2];if(!s.some(((e,t)=>!e&&(0===t||s.slice(t+1).some(Boolean)))))return{left:s.filter(Boolean).join(","),operator:u[2],right:i.for}}(e);return[n(t(`function _(${r}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",u," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),No=mt({"src/language-html/get-node-content.js"(e,t){Ct();var{needsToBorrowParentClosingTagStartMarker:n,printClosingTagStartMarker:r,needsToBorrowLastChildClosingTagEndMarker:u,printClosingTagEndMarker:i,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:a}=Bo();t.exports=function(e,t){let s=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(s-=a(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&n(e.lastChild)?l+=r(e,t).length:u(e)&&(l-=i(e.lastChild,t).length),t.originalText.slice(s,l)}}}),Io=mt({"src/language-html/embed.js"(e,t){Ct();var{builders:{breakParent:n,group:r,hardline:u,indent:i,line:o,fill:a,softline:s},utils:{mapDoc:l,replaceTextEndOfLine:c}}=Rt(),p=Fi(),{printClosingTag:D,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:g}=Bo(),{printImgSrcset:h,printClassNames:y}=To(),{printVueFor:C,printVueBindings:E,isVueEventBindingExpression:F}=wo(),{isScriptLikeTag:A,isVueNonHtmlBlock:b,inferScriptParser:v,htmlTrimPreserveIndentation:x,dedentString:S,unescapeQuoteEntities:B,isVueSlotAttribute:k,isVueSfcBindingsAttribute:T,getTextValueParts:w}=yo(),N=No();function I(e,t,n){let u=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>B(e.value),p=!1,D=(e,t)=>{let n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;n&&("ObjectExpression"===n.type||"ArrayExpression"===n.type||"__vue_expression"===t.parser&&("TemplateLiteral"===n.type||"StringLiteral"===n.type))&&(p=!0)},d=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return r([i([s,e]),t?s:""])},f=e=>p?(e=>r(e))(e):d(e),m=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:D,__embeddedInHtml:!0},n));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return d(h(l()));if("class"===e.fullName&&!n.parentParser){let e=l();if(!e.includes("{{"))return y(e)}if("style"===e.fullName&&!n.parentParser){let e=l();if(!e.includes("{{"))return d(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return C(l(),m);if(k(e)||T(e,n))return E(l(),m);let t=["^:","^v-bind:"],r=["^v-"];if(u(["^@","^v-on:"])){let e=l(),t=F(e)?"__js_expression":n.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return f(m(e,{parser:t}))}if(u(t))return f(m(l(),{parser:"__vue_expression"}));if(u(r))return f(m(l(),{parser:"__js_expression"}))}if("angular"===n.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),n=["^\\*"],s=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(u(["^\\(.+\\)$","^on-"]))return f(t(l(),{parser:"__ng_action"}));if(u(s))return f(t(l(),{parser:"__ng_binding"}));if(u(p)){let t=l().trim();return d(a(w(e,t)),!t.includes("@@"))}if(u(n))return f(t(l(),{parser:"__ng_directive"}));let D=/{{(.+?)}}/s,g=l();if(D.test(g)){let e=[];for(let[n,u]of g.split(D).entries())if(n%2==0)e.push(c(u));else try{e.push(r(["{{",i([o,t(u,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{e.push("{{",c(u),"}}")}return r(e)}}return null}t.exports=function(e,t,a,s){let c=e.getValue();switch(c.type){case"element":if(A(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&b(c,s)){let n=v(c,s);if(!n)return;let i=N(c,s),o=/^\s*$/.test(i),l="";return o||(l=a(x(i),{parser:n,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===l),[m(c,s),r(g(e,s,t)),o?"":u,l,o?"":u,D(c,s),d(c,s)]}break;case"text":if(A(c.parent)){let e=v(c.parent,s);if(e){let t="markdown"===e?S(c.value.replace(/^[^\S\n]*\n/,"")):c.value,r={parser:e,__embeddedInHtml:!0};if("html"===s.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),r.__babelSourceType=e}return[n,m(c,s),a(t,r,{stripTrailingHardline:!0}),d(c,s)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===s.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===s.parser?e.parser=s.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[i([o,a(c.value,e,{stripTrailingHardline:!0})]),c.parent.next&&f(c.parent.next)?" ":o]}break;case"attribute":{if(!c.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(s.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===s.parser&&/^{.*}$/s.test(s.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=I(c,((e,t)=>a(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),s);if(e)return[c.rawName,'="',r(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return p(c,a)}}}}),jo=mt({"src/language-html/print/children.js"(e,t){Ct();var{builders:{breakParent:n,group:r,ifBreak:u,line:i,softline:o,hardline:a},utils:{replaceTextEndOfLine:s}}=Rt(),{locStart:l,locEnd:c}=So(),{forceBreakChildren:p,forceNextEmptyLine:D,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=yo(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:h,printOpeningTagStartMarker:y,needsToBorrowPrevClosingTagEndMarker:C,printClosingTagEndMarker:E,printClosingTagSuffix:F,needsToBorrowParentClosingTagStartMarker:A}=Bo();function b(e,t,n){let r=e.getValue();return f(r)?[g(r,t),...s(t.originalText.slice(l(r)+(r.prev&&h(r.prev)?y(r).length:0),c(r)-(r.next&&C(r.next)?E(r,t).length:0))),F(r,t)]:n()}function v(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?a:i:"":m(t)?a:o:h(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&C(t)?"":!t.isLeadingSpaceSensitive||m(t)||C(t)&&e.lastChild&&A(e.lastChild)&&e.lastChild.lastChild&&A(e.lastChild.lastChild)?a:t.hasLeadingSpaces?i:o}t.exports={printChildren:function(e,t,i){let s=e.getValue();if(p(s))return[n,...e.map((e=>{let n=e.getValue(),r=n.prev?v(n.prev,n):"";return[r?[r,D(n.prev)?a:""]:"",b(e,t,i)]}),"children")];let l=s.children.map((()=>Symbol("")));return e.map(((e,n)=>{let s=e.getValue();if(d(s)){if(s.prev&&d(s.prev)){let n=v(s.prev,s);if(n)return D(s.prev)?[a,a,b(e,t,i)]:[n,b(e,t,i)]}return b(e,t,i)}let c=[],p=[],f=[],m=[],g=s.prev?v(s.prev,s):"",h=s.next?v(s,s.next):"";return g&&(D(s.prev)?c.push(a,a):g===a?c.push(a):d(s.prev)?p.push(g):p.push(u("",o,{groupId:l[n-1]}))),h&&(D(s)?d(s.next)&&m.push(a,a):h===a?d(s.next)&&m.push(a):f.push(h)),[...c,r([...p,r([b(e,t,i),...f],{id:l[n]})]),...m]}),"children")}}}}),Po=mt({"src/language-html/print/element.js"(e,t){Ct();var{builders:{breakParent:n,dedentToRoot:r,group:u,ifBreak:i,indentIfBreak:o,indent:a,line:s,softline:l},utils:{replaceTextEndOfLine:c}}=Rt(),p=No(),{shouldPreserveContent:D,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:g}=yo(),{printOpeningTagPrefix:h,printOpeningTag:y,printClosingTagSuffix:C,printClosingTag:E,needsToBorrowPrevClosingTagEndMarker:F,needsToBorrowLastChildClosingTagEndMarker:A}=Bo(),{printChildren:b}=jo();t.exports={printElement:function(e,t,v){let x=e.getValue();if(D(x,t))return[h(x,t),u(y(e,t,v)),...c(p(x,t)),...E(x,t),C(x,t)];let S=1===x.children.length&&"interpolation"===x.firstChild.type&&x.firstChild.isLeadingSpaceSensitive&&!x.firstChild.hasLeadingSpaces&&x.lastChild.isTrailingSpaceSensitive&&!x.lastChild.hasTrailingSpaces,B=Symbol("element-attr-group-id"),k=n=>u([u(y(e,t,v),{id:B}),n,E(x,t)]);return 0===x.children.length?k(x.hasDanglingSpaces&&x.isDanglingSpaceSensitive?s:""):k([g(x)?n:"",(T=[S?i(l,"",{groupId:B}):x.firstChild.hasLeadingSpaces&&x.firstChild.isLeadingSpaceSensitive?s:"text"===x.firstChild.type&&x.isWhitespaceSensitive&&x.isIndentationSensitive?r(l):l,b(e,t,v)],S?o(T,{groupId:B}):!d(x)&&!f(x,t)||"root"!==x.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?a(T):T),(x.next?F(x.next):A(x.parent))?x.lastChild.hasTrailingSpaces&&x.lastChild.isTrailingSpaceSensitive?" ":"":S?i(l,"",{groupId:B}):x.lastChild.hasTrailingSpaces&&x.lastChild.isTrailingSpaceSensitive?s:("comment"===x.lastChild.type||"text"===x.lastChild.type&&x.isWhitespaceSensitive&&x.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(x.lastChild.value)?"":l]);var T}}}}),Oo=mt({"src/language-html/printer-html.js"(e,t){Ct();var{builders:{fill:n,group:r,hardline:u,literalline:i},utils:{cleanDoc:o,getDocParts:a,isConcat:s,replaceTextEndOfLine:l}}=Rt(),c=mo(),{countChars:p,unescapeQuoteEntities:D,getTextValueParts:d}=yo(),f=vo(),{insertPragma:m}=xo(),{locStart:g,locEnd:h}=So(),y=Io(),{printClosingTagSuffix:C,printClosingTagEnd:E,printOpeningTagPrefix:F,printOpeningTagStart:A}=Bo(),{printElement:b}=Po(),{printChildren:v}=jo();t.exports={preprocess:f,print:function(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return l(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[r(v(e,t,c)),u];case"element":case"ieConditionalComment":return b(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[A(f),E(f)];case"interpolation":return[A(f,t),...e.map(c,"children"),E(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),n=t?f.value.replace(e,""):f.value;return[...l(n),t?u:""]}let e=o([F(f,t),...d(f),C(f,t)]);return s(e)||"fill"===e.type?n(a(e)):e}case"docType":return[r([A(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),E(f,t)];case"comment":return[F(f,t),...l(t.originalText.slice(g(f),h(f)),i),C(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=D(f.value),t=p(e,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),n(_o(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),n(_o(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),n($o(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],a={html:r};t.exports={languages:o,printers:a,options:u,parsers:i}}}),Vo=mt({"src/language-yaml/pragma.js"(e,t){Ct(),t.exports={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return`# @format\n\n${e}`}}}}),qo=mt({"src/language-yaml/loc.js"(e,t){Ct(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),Wo=mt({"src/language-yaml/embed.js"(e,t){Ct(),t.exports=function(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))}}}),Uo=mt({"src/language-yaml/utils.js"(e,t){Ct();var{getLast:n,isNonEmptyArray:r}=cn();function u(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function i(e){return"prettier-ignore"===e.value.trim()}function o(e){return r(null==e?void 0:e.leadingComments)}function a(e){return r(null==e?void 0:e.middleComments)}function s(e){return null==e?void 0:e.indicatorComment}function l(e){return null==e?void 0:e.trailingComment}function c(e){return r(null==e?void 0:e.endComments)}function p(e){let t,n=[];for(let r of e.split(/( +)/))" "!==r?" "===t?n.push(r):n.push((n.pop()||"")+r):void 0===t&&n.unshift(""),t=r;return" "===t&&n.push((n.pop()||"")+" "),""===n[0]&&(n.shift(),n.unshift(" "+(n.shift()||""))),n}t.exports={getLast:n,getAncestorCount:function(e,t){let n=0,r=e.stack.length-1;for(let i=0;ie(r,n,t)))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0,r=t.length;for(let u=e.position.end.offset-1;u *)[^\n\r ]/m);r=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else r=e.indent-1+u;let s=a.split("\n").map((e=>e.slice(r)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?l(s.map((e=>0===e.length?[]:[e]))):l(s.map((e=>0===e.length?[]:p(e))).reduce(((e,t,r)=>0!==r&&s[r-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(n(e))?[...e.slice(0,-1),[...n(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(n(e))?[...e.slice(0,-1),n(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===o.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===n(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!i?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,r){let u=t.split("\n").map(((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===r.proseWrap?u.map((e=>0===e.length?[]:[e])):u.map((e=>0===e.length?[]:p(e))).reduce(((t,r,i)=>0!==i&&u[i-1].length>0&&r.length>0&&("quoteDouble"!==e||!n(n(t)).endsWith("\\"))?[...t.slice(0,-1),[...n(t),...r]]:[...t,r]),[]).map((e=>"never"===r.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return r(t.children)?e(n(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return c(t.head)&&i(n(t.head.endComments))}return o(t)&&i(n(t.leadingComments))},hasLeadingComments:o,hasMiddleComments:a,hasIndicatorComment:s,hasTrailingComment:l,hasEndComments:c}}}),Jo=mt({"src/language-yaml/print-preprocess.js"(e,t){Ct();var{defineShortcut:n,mapNode:r}=Uo();function u(e){switch(e.type){case"document":n(e,"head",(()=>e.children[0])),n(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":n(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":n(e,"key",(()=>e.children[0])),n(e,"value",(()=>e.children[1]))}return e}t.exports=function(e){return r(e,u)}}}),zo=mt({"src/language-yaml/print/misc.js"(e,t){Ct();var{builders:{softline:n,align:r}}=Rt(),{hasEndComments:u,isNextLineEmpty:i,isNode:o}=Uo(),a=new WeakMap;function s(e){return u(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return r(" ".repeat(e),t)},shouldPrintEndComments:s,printNextEmptyLine:function(e,t){let r,u=e.getValue(),o=e.stack[0];return a.has(o)?r=a.get(o):(r=new Set,a.set(o,r)),r.has(u.position.end.line)||(r.add(u.position.end.line),!i(u,t)||s(e.getParentNode()))?"":n}}}}),Ho=mt({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){Ct();var{builders:{ifBreak:n,line:r,softline:u,hardline:i,join:o}}=Rt(),{isEmptyNode:a,getLast:s,hasEndComments:l}=Uo(),{printNextEmptyLine:c,alignWithSpaces:p}=zo();function D(e,t,c){let D=e.getValue(),f="flowMapping"===D.type,m=f?"{":"[",g=f?"}":"]",h=u;f&&D.children.length>0&&c.bracketSpacing&&(h=r);let y=s(D.children),C=y&&"flowMappingItem"===y.type&&a(y.key)&&a(y.value);return[m,p(c.tabWidth,[h,d(e,t,c),"none"===c.trailingComma?"":n(","),l(D)?[i,o(i,e.map(t,"endComments"))]:""]),C?"":h,g]}function d(e,t,n){let u=e.getValue();return e.map(((e,i)=>[t(),i===u.children.length-1?"":[",",r,u.children[i].position.start.line!==u.children[i+1].position.start.line?c(e,n.originalText):""]]),"children")}t.exports={printFlowMapping:D,printFlowSequence:D}}}),Go=mt({"src/language-yaml/print/mapping-item.js"(e,t){Ct();var{builders:{conditionalGroup:n,group:r,hardline:u,ifBreak:i,join:o,line:a}}=Rt(),{hasLeadingComments:s,hasMiddleComments:l,hasTrailingComment:c,hasEndComments:p,isNode:D,isEmptyNode:d,isInlineNode:f}=Uo(),{alignWithSpaces:m}=zo();function g(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}t.exports=function(e,t,h,y,C){let{key:E,value:F}=e,A=d(E),b=d(F);if(A&&b)return": ";let v=y("key"),x=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(b)return"flowMappingItem"===e.type&&"flowMapping"===t.type?v:"mappingItem"!==e.type||!g(E.content,C)||c(E.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,v)]:[v,x,":"];let S=y("value");if(A)return[": ",m(2,S)];if(s(F)||!f(E.content))return["? ",m(2,v),u,o("",h.map(y,"value","leadingComments").map((e=>[e,u]))),": ",m(2,S)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(E.content)&&!s(E.content)&&!l(E.content)&&!c(E.content)&&!p(E)&&!s(F.content)&&!l(F.content)&&!p(F)&&g(F.content,C))return[v,x,": ",S];let B=Symbol("mappingKey"),k=r([i("? "),r(m(2,v),{id:B})]),T=[u,": ",m(2,S)],w=[x,":"];s(F.content)||p(F)&&F.content&&!D(F.content,["mapping","sequence"])||"mapping"===t.type&&c(E.content)&&f(F.content)||D(F.content,["mapping","sequence"])&&null===F.content.tag&&null===F.content.anchor?w.push(u):F.content&&w.push(a),w.push(S);let N=m(C.tabWidth,w);return!g(E.content,C)||s(E.content)||l(E.content)||p(E)?n([[k,i(T,N,{groupId:B})]]):n([[v,N]])}}}),Xo=mt({"src/language-yaml/print/block.js"(e,t){Ct();var{builders:{dedent:n,dedentToRoot:r,fill:u,hardline:i,join:o,line:a,literalline:s,markAsRoot:l},utils:{getDocParts:c}}=Rt(),{getAncestorCount:p,getBlockValueLineContents:D,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=Uo(),{alignWithSpaces:g}=zo();t.exports=function(e,t,h){let y=e.getValue(),C=p(e,(e=>m(e,["sequence","mapping"]))),E=f(e),F=["blockFolded"===y.type?">":"|"];null!==y.indent&&F.push(y.indent.toString()),"clip"!==y.chomping&&F.push("keep"===y.chomping?"+":"-"),d(y)&&F.push(" ",t("indicatorComment"));let A=D(y,{parentIndent:C,isLastDescendant:E,options:h}),b=[];for(let[e,t]of A.entries())0===e&&b.push(i),b.push(u(c(o(a,t)))),e!==A.length-1?b.push(0===t.length?i:l(s)):"keep"===y.chomping&&E&&b.push(r(0===t.length?i:s));return null===y.indent?F.push(n(g(h.tabWidth,b))):F.push(r(g(y.indent-1+C,b))),F}}}),Ko=mt({"src/language-yaml/printer-yaml.js"(e,t){Ct();var{builders:{breakParent:n,fill:r,group:u,hardline:i,join:o,line:a,lineSuffix:s,literalline:l},utils:{getDocParts:c,replaceTextEndOfLine:p}}=Rt(),{isPreviousLineEmpty:D}=cn(),{insertPragma:d,isPragma:f}=Vo(),{locStart:m}=qo(),g=Wo(),{getFlowScalarLineContents:h,getLastDescendantNode:y,hasLeadingComments:C,hasMiddleComments:E,hasTrailingComment:F,hasEndComments:A,hasPrettierIgnore:b,isLastDescendantNode:v,isNode:x,isInlineNode:S}=Uo(),B=Jo(),{alignWithSpaces:k,printNextEmptyLine:T,shouldPrintEndComments:w}=zo(),{printFlowMapping:N,printFlowSequence:I}=Ho(),j=Go(),P=Xo();function O(e,t){return F(e)||t&&(t.head.children.length>0||A(t.head))}function M(e,t,n){let u=h(e,t,n);return o(i,u.map((e=>r(c(o(a,e))))))}t.exports={preprocess:B,embed:g,print:function(e,t,r){let a=e.getValue(),c=[];"mappingValue"!==a.type&&C(a)&&c.push([o(i,e.map(r,"leadingComments")),i]);let{tag:d,anchor:f}=a;d&&c.push(r("tag")),d&&f&&c.push(" "),f&&c.push(r("anchor"));let g="";x(a,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!v(e)&&(g=T(e,t.originalText)),(d||f)&&(x(a,["sequence","mapping"])&&!E(a)?c.push(i):c.push(" ")),E(a)&&c.push([1===a.middleComments.length?"":i,o(i,e.map(r,"middleComments")),i]);let h=e.getParentNode();return b(e)?c.push(p(t.originalText.slice(a.position.start.offset,a.position.end.offset).trimEnd(),l)):c.push(u(function(e,t,n,r,u){switch(e.type){case"root":{let{children:t}=e,r=[];n.each(((e,n)=>{let o=t[n],a=t[n+1];0!==n&&r.push(i),r.push(u()),O(o,a)?(r.push(i,"..."),F(o)&&r.push(" ",u("trailingComment"))):a&&!F(a.head)&&r.push(i,"---")}),"children");let o=y(e);return(!x(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&r.push(i),r}case"document":{let a=[];return"head"===function(e,t,n,r){return n.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||A(e.head)||F(e.head)?"head":!O(e,t)&&(!!t&&"root")}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&a.push(u("head")),F(e.head)?a.push(["---"," ",u(["head","trailingComment"])]):a.push("---")),function(e){return e.body.children.length>0||A(e.body)}(e)&&a.push(u("body")),o(i,a)}case"documentHead":return o(i,[...n.map(u,"children"),...n.map(u,"endComments")]);case"documentBody":{let{children:t,endComments:r}=e,a="";if(t.length>0&&r.length>0){let t=y(e);x(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(a=[i,i]):a=i}return[o(i,n.map(u,"children")),a,o(i,n.map(u,"endComments"))]}case"directive":return["%",o(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return M(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{let t="'",n='"',u=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&u.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(u)){let i="quoteDouble"===e.type?n:t;return[i,M(e.type,u,r),i]}if(u.includes(n))return[t,M(e.type,"quoteDouble"===e.type?u.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):u,r),t];if(u.includes(t))return[n,M(e.type,"quoteSingle"===e.type?u.replace(/''/g,t):u,r),n];let i=r.singleQuote?t:n;return[i,M(e.type,u,r),i]}case"blockFolded":case"blockLiteral":return P(n,u,r);case"mapping":case"sequence":return o(i,n.map(u,"children"));case"sequenceItem":return["- ",k(2,e.content?u("content"):"")];case"mappingKey":case"mappingValue":return e.content?u("content"):"";case"mappingItem":case"flowMappingItem":return j(e,t,n,u,r);case"flowMapping":return N(n,u,r);case"flowSequence":return I(n,u,r);case"flowSequenceItem":return u("content");default:throw new Error(`Unexpected node type ${e.type}`)}}(a,h,e,t,r))),F(a)&&!x(a,["document","documentHead"])&&c.push(s(["mappingValue"!==a.type||a.content?" ":"","mappingKey"===h.type&&"mapping"===e.getParentNode(2).type&&S(a)?"":n,r("trailingComment")])),w(a)&&c.push(k("sequenceItem"===a.type?2:0,[i,o(i,e.map((e=>[D(t.originalText,e.getValue(),m)?i:"",r()]),"endComments"))])),c.push(g),c},massageAstNode:function(e,t){if(x(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:d}}}),Yo=mt({"src/language-yaml/options.js"(e,t){Ct();var n=ci();t.exports={bracketSpacing:n.bracketSpacing,singleQuote:n.singleQuote,proseWrap:n.proseWrap}}}),Qo=mt({"src/language-yaml/parsers.js"(){Ct()}}),Zo=mt({"node_modules/linguist-languages/data/YAML.json"(e,t){t.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}}}),ea=mt({"src/language-yaml/index.js"(e,t){Ct();var n=Ur(),r=Ko(),u=Yo(),i=Qo(),o=[n(Zo(),(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc",".lintstagedrc"]})))];t.exports={languages:o,printers:{yaml:r},options:u,parsers:i}}}),ta=mt({"src/languages.js"(e,t){Ct(),t.exports=[Ci(),$i(),Hi(),eo(),fo(),Ro(),ea()]}}),na=mt({"src/standalone.js"(e,t){Ct();var{version:n}=Et(),r=qr(),{getSupportInfo:u}=nn(),i=Wr(),o=ta(),a=Rt();function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=new Array(n),u=0;ul(e,t).formatted,check(e,t){let{formatted:n}=l(e,t);return n===e},doc:a,getSupportInfo:s(u,0),version:n,util:i,__debug:{parse:s(r.parse),formatAST:s(r.formatAST),formatDoc:s(r.formatDoc),printToDoc:s(r.printToDoc),printDocToString:s(r.printDocToString)}}}}),ra=na();function ua(e){if(e)throw e} /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */var ia=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},oa=Object.prototype.hasOwnProperty,aa=Object.prototype.toString,sa=Object.defineProperty,la=Object.getOwnPropertyDescriptor,ca=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===aa.call(e)},pa=function(e){if(!e||"[object Object]"!==aa.call(e))return!1;var t,n=oa.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&oa.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||oa.call(e,t)},Da=function(e,t){sa&&"__proto__"===t.name?sa(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},da=function(e,t){if("__proto__"===t){if(!oa.call(e,t))return;if(la)return la(e,t).value}return e[t]},fa=function e(){var t,n,r,u,i,o,a=arguments[0],s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},s=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});st.length;let o;r&&t.push(u);try{o=e.apply(this,t)}catch(e){if(r&&n)throw e;return u(e)}r||(o instanceof Promise?o.then(i,u):o instanceof Error?u(o):i(o))}function u(e,...r){n||(n=!0,t(e,...r))}function i(e){u(null,e)}}(a,u)(...o):r(null,...o)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}function ha(e){return e&&"object"==typeof e?"position"in e||"type"in e?Ca(e.position):"start"in e||"end"in e?Ca(e):"line"in e||"column"in e?ya(e):"":""}function ya(e){return Ea(e&&e.line)+":"+Ea(e&&e.column)}function Ca(e){return ya(e&&e.start)+"-"+ya(e&&e.end)}function Ea(e){return e&&"number"==typeof e?e:1}class Fa extends Error{constructor(e,t,n){const r=[null,null];let u={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(u=t.position):"start"in t||"end"in t?u=t:("line"in t||"column"in t)&&(u.start=t)),this.name=ha(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=u.start.line,this.column=u.start.column,this.position=u,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}function Aa(e,t){for(var n=0,r=e.length-1;r>=0;r--){var u=e[r];"."===u?e.splice(r,1):".."===u?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}Fa.prototype.file="",Fa.prototype.name="",Fa.prototype.reason="",Fa.prototype.message="",Fa.prototype.stack="",Fa.prototype.fatal=null,Fa.prototype.column=null,Fa.prototype.line=null,Fa.prototype.source=null,Fa.prototype.ruleId=null,Fa.prototype.position=null;var ba=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,va=function(e){return ba.exec(e).slice(1)};function xa(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=Aa(Ta(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Sa(e){var t=Ba(e),n="/"===wa(e,-1);return(e=Aa(Ta(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Ba(e){return"/"===e.charAt(0)}var ka={extname:function(e){return va(e)[3]},basename:function(e,t){var n=va(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},dirname:function(e){var t=va(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},sep:"/",delimiter:":",relative:function(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=xa(e).substr(1),t=xa(t).substr(1);for(var r=n(e.split("/")),u=n(t.split("/")),i=Math.min(r.length,u.length),o=i,a=0;a1)for(var n=1;n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},os=Math.floor,as=String.fromCharCode; /*! https://mths.be/punycode v1.4.1 by @mathias */function ss(e){throw new RangeError(is[e])}function ls(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function cs(e,t,n){var r=0;for(e=n?os(e/700):e>>1,e+=os(e/t);e>455;r+=36)e=os(e/35);return os(r+36*e/(e+38))}function ps(e){return function(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var u=function(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}((e=e.replace(us,".")).split("."),t).join(".");return r+u}(e,(function(e){return rs.test(e)?"xn--"+function(e){var t,n,r,u,i,o,a,s,l,c,p,D,d,f,m,g=[];for(e=function(e){for(var t,n,r=[],u=0,i=e.length;u=55296&&t<=56319&&u=t&&pos((ns-n)/(d=r+1))&&ss("overflow"),n+=(a-t)*d,t=a,o=0;ons&&ss("overflow"),p==t){for(s=n,l=36;!(s<(c=l<=i?1:l>=i+26?26:l-i));l+=36)m=s-c,f=36-c,g.push(as(ls(c+m%f,0))),s=os(m/f);g.push(as(ls(s,0))),i=cs(n,d,r==u),n=0,++r}++n,++t}return g.join("")}(e):e}))}function Ds(e){return null===e}function ds(e){return"string"==typeof e}function fs(e){return"object"==typeof e&&null!==e}function ms(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var gs=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function hs(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function ys(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r0&&a>o&&(a=o);for(var s=0;s=0?(l=d.substr(0,f),c=d.substr(f+1)):(l=d,c=""),p=decodeURIComponent(l),D=decodeURIComponent(c),ms(u,p)?gs(u[p])?u[p].push(D):u[p]=[u[p],D]:u[p]=D}return u}function Fs(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}Na.URL,Na.URLSearchParams;var As=/^([a-z0-9.+-]+:)/i,bs=/:[0-9]*$/,vs=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,xs=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Ss=["'"].concat(xs),Bs=["%","/","?",";","#"].concat(Ss),ks=["/","?","#"],Ts=/^[+a-z0-9A-Z_-]{0,63}$/,ws=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ns={javascript:!0,"javascript:":!0},Is={javascript:!0,"javascript:":!0},js={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ps(e){if("string"==typeof e)e=(new Fs).parse(e);else if(!(e instanceof Fs))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return function(e){const t=e.pathname;for(let e=0;e127?b+="x":b+=A[v];if(!b.match(Ts)){var S=F.slice(0,c),B=F.slice(c+1),k=A.match(ws);k&&(S.push(k[1]),B.unshift(k[2])),B.length&&(s="/"+B.join(".")+s),e.hostname=S.join(".");break}}}}e.hostname.length>255?e.hostname="":e.hostname=e.hostname.toLowerCase(),E||(e.hostname=ps(e.hostname)),d=e.port?":"+e.port:"";var T=e.hostname||"";e.host=T+d,e.href+=e.host,E&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!Ns[m])for(c=0,D=Ss.length;c0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),r.search=e.search,r.query=e.query,Ds(r.pathname)&&Ds(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=E.slice(-1)[0],b=(r.host||e.host||E.length>1)&&("."===A||".."===A)||""===A,v=0,x=E.length;x>=0;x--)"."===(A=E[x])?E.splice(x,1):".."===A?(E.splice(x,1),v++):v&&(E.splice(x,1),v--);if(!y&&!C)for(;v--;v)E.unshift("..");!y||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),b&&"/"!==E.join("/").substr(-1)&&E.push("");var S=""===E[0]||E[0]&&"/"===E[0].charAt(0);return F&&(r.hostname=r.host=S?"":E.length?E.shift():"",(m=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),(y=y||r.host&&E.length)&&!S&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),Ds(r.pathname)&&Ds(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},Fs.prototype.parseHost=function(){return Ms(this)};const _s=["history","path","basename","stem","extname","dirname"];class $s{constructor(e){let t;t=e?"string"==typeof e||ia(e)?{value:e}:Ls(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=ts.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<_s.length;){const e=_s[r];e in t&&void 0!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)_s.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){Ls(e)&&(e=Ps(e)),Vs(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?ka.dirname(this.path):void 0}set dirname(e){qs(this.basename,"dirname"),this.path=ka.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?ka.basename(this.path):void 0}set basename(e){Vs(e,"basename"),Rs(e,"basename"),this.path=ka.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?ka.extname(this.path):void 0}set extname(e){if(Rs(e,"extname"),qs(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ka.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?ka.basename(this.path,this.extname):void 0}set stem(e){Vs(e,"stem"),Rs(e,"stem"),this.path=ka.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,n){const r=new Fa(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function Rs(e,t){if(e&&e.includes(ka.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ka.sep+"`")}function Vs(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function qs(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const Ws=function e(){const t=ga(),n=[];let r,u={},i=-1;return o.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(Gs("data",r),u[e]=t,o):Us.call(u,e)&&u[e]||null;if(e)return Gs("data",r),u=e,o;return u},o.Parser=void 0,o.Compiler=void 0,o.freeze=function(){if(r)return o;for(;++i{if(!e&&t&&n){const u=o.stringify(t,n);null==u||("string"==typeof(r=u)||ia(r)?n.value=u:n.result=u),i(e,n)}else i(e);var r}))}n(null,t)},o.processSync=function(e){let t;o.freeze(),zs("processSync",o.Parser),Hs("processSync",o.Compiler);const n=Ys(e);return o.process(n,r),Ks("processSync","process",t),n;function r(e){t=!0,ua(e)}},o;function o(){const t=e();let r=-1;for(;++r"}},Zs=new Set(Object.values(Qs).map((e=>e.closeMark)).filter((e=>e)));function el(e,t){if(null==e)return{type:"argument",content:[],openMark:"",closeMark:""};if("string"==typeof e&&(e=function(e){if("string"==typeof e)return{type:"string",content:e};return e}(e)),!Array.isArray(e)&&"argument"===e.type)return e;let n=(null==t?void 0:t.openMark)??"{",r=(null==t?void 0:t.closeMark)??"}";if(null==t?void 0:t.braces){const e=function(e){const t=[];for(const n of e.split("")){if(Zs.has(n))continue;const e=Qs[n];if(null==e)throw new Error(`Unknown open/close mark type "${n}"`);t.push(e)}return t}(t.braces);e[0]&&(n=e[0].openMark,r=e[0].closeMark)}return Array.isArray(e)||(e=[e]),{type:"argument",content:e,openMark:n,closeMark:r}}var tl=Symbol("linebreak"),nl="\\";function rl(e){if("string"==typeof e)return[e];if(Array.isArray(e))return[].concat(...e.map((e=>rl(e))));let t,n;switch(e.type){case"root":return rl(e.content);case"argument":return[e.openMark,...rl(e.content),e.closeMark];case"comment":var r=e.suffixParbreak?"":tl,u="";return e.sameline&&e.leadingWhitespace&&(u=" "),e.sameline?[u,"%",...rl(e.content),r]:[tl,"%",...rl(e.content),r];case"environment":case"mathenv":case"verbatim":var i=rl(e.env),o=["\\begin{",...i,"}"],a=["\\end{",...i,"}"];return t=null==e.args?[]:rl(e.args),[...o,...t,...rl(e.content),...a];case"displaymath":return["\\[",...rl(e.content),"\\]"];case"group":return["{",...rl(e.content),"}"];case"inlinemath":return["$",...rl(e.content),"$"];case"macro":return t=null==e.args?[]:rl(e.args),n=null==e.escapeToken?nl:e.escapeToken,[n,...rl(e.content),...t];case"parbreak":return[tl,tl];case"string":return[e.content];case"verb":return[nl,e.env,e.escape,...rl(e.content),e.escape];case"whitespace":return[" "];default:return console.warn("Cannot find render for node ",e,`(of type ${typeof e})`),[""+e]}}function ul(e,t){const n=null!=t&&t.asArray,r=rl(e);return n?r:r.map((e=>e===tl?"\n":e)).join("")}var il={macro:(e,t)=>null!=e&&("macro"===e.type&&(null==t||e.content===t)),anyMacro:e=>il.macro(e),environment:(e,t)=>null!=e&&!("environment"!==e.type&&"mathenv"!==e.type||null!=t&&ul(e.env)!==t),anyEnvironment:e=>il.environment(e),comment:e=>null!=e&&"comment"===e.type,parbreak:e=>null!=e&&"parbreak"===e.type,whitespace:e=>null!=e&&"whitespace"===e.type,whitespaceLike:e=>null!=e&&("whitespace"===e.type||"whitespace"===e.type&&!0===e.leadingWhitespace),string:(e,t)=>null!=e&&("string"===e.type&&(null==t||e.content===t)),anyString:e=>il.string(e),group:e=>null!=e&&"group"===e.type,argument:e=>null!=e&&"argument"===e.type,blankArgument:e=>!!il.argument(e)&&(""===e.openMark&&""===e.closeMark&&0===e.content.length),math:e=>null!=e&&("displaymath"===e.type||"inlinemath"===e.type),createMacroMatcher:function(e){const t=Array.isArray(e)?e.length>0?"string"==typeof e[0]?Object.fromEntries(e.map((e=>{if("string"!=typeof e)throw new Error("Wrong branch of map function");return[e,{}]}))):Object.fromEntries(e.map((e=>{if("string"==typeof e)throw new Error("Wrong branch of map function");return null!=e.escapeToken?[e.content,{escapeToken:e.escapeToken}]:[e.content,{}]}))):{}:e;return function(e){if(null==e||"macro"!==e.type)return!1;const n=t[e.content];return!!n&&("object"!=typeof n||!("escapeToken"in n)||(null==n.escapeToken||n.escapeToken===e.escapeToken))}},createEnvironmentMatcher:function(e){const t=Array.isArray(e)?Object.fromEntries(e.map((e=>[e,{}]))):e;return function(e){if(!il.anyEnvironment(e))return!1;const n=ul(e.env);return!!t[n]}}};var ol=Symbol("continue"),al=Symbol("skip"),sl=Symbol("exit"),ll={inMathMode:!1,hasMathModeAncestor:!1};function cl(e,t,n){const{startingContext:r=ll,test:u=(()=>!0),includeArrays:i=!1}=n||{};let o,a;"function"==typeof t?o=t:t&&"object"==typeof t&&(o=t.enter,a=t.leave),function e(t,{key:n,index:r,parents:s,context:l,containingArray:c}){const p=(i||!Array.isArray(t))&&u(t,{key:n,index:r,parents:s,context:l,containingArray:c}),D=o&&p?pl(o(t,{key:n,index:r,parents:s,context:l,containingArray:c})):[ol];if(D[0]===sl)return D;if(D[0]===al)return a&&p?pl(a(t,{key:n,index:r,parents:s,context:l,containingArray:c})):D;if(Array.isArray(t))for(let r=0;r>-1&&r0&&n.sameline&&(n.sameline=!1,delete n.position)}return{trimmedStart:t}}function ml(e){const{end:t}=gl(e);e.splice(e.length-t,t);for(let t=e.length-1;t>=0;t--){const n=e[t];if(!il.comment(n))break;delete n.suffixParbreak,il.comment(n)&&n.leadingWhitespace&&!n.sameline&&(n.leadingWhitespace=!1,delete n.position)}return{trimmedEnd:t}}function gl(e){let t=0,n=0;for(const n of e){if(!il.whitespace(n)&&!il.parbreak(n))break;t++}if(t===e.length)return{start:t,end:0};for(let t=e.length-1;t>=0;t--){const r=e[t];if(!il.whitespace(r)&&!il.parbreak(r))break;n++}return{start:t,end:n}}var hl=function(){return e=>{cl(e,(e=>{if(!il.math(e)&&!il.anyEnvironment(e))return;let t=e.content[0];if(il.comment(t)&&t.sameline){t.suffixParbreak=!1,ml(e.content);const{trimmedStart:n}=fl(e.content.slice(1));e.content.splice(1,n)}else dl(e.content)}))}},yl=function(){return e=>{dl(e.content)}};function Cl(e,t){if("string"==typeof t&&(t=[t]),!Array.isArray(t))throw new Error("Type coercion failed");const n=il.createMacroMatcher(t),{segments:r,separators:u}=function(e,t=(()=>!1),n){if(!Array.isArray(e))throw new Error(`Can only split an Array, not ${e}`);const{onlySplitOnFirstOccurrence:r=!1}=n||{},u=[];for(let n=0;ne[t])),o=u.map(((t,n)=>{const r=0===n?0:u[n-1]+1;return e.slice(r,t)}));return o.push(e.slice(u[u.length-1]+1,e.length)),{segments:o,separators:i}}(e,n);return{segments:r,macros:u}}function El(e){return e.charAt=function(e){return this[e]},e.charCodeAt=()=>0,e.substring=function(e,t){return this.slice(e,t)},e.replace=function(e,t){return JSON.stringify(this).replace(e,t)},e}var Fl=function(){function e(t,n,r,u){var i=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(i,e.prototype),i.expected=n,i.found=r,i.location=u,i.name="SyntaxError",i}function t(e,t,n){return n=n||" ",e.length>t?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;t[\]`'"~]/,R=Ct("document"),V=Ct("math"),q=Ct("token"),W={type:"any"},U=Ct("parbreak"),J=Ct("math token"),z=Ct("nonchar token"),H=ht("%",!1),G=Ct("whitespace"),X=Ct("number"),K=ht(".",!1),Y=Ct("special macro"),Q=ht("verb*",!1),Z=ht("verb",!1),ee=Ct("verbatim environment"),te=ht("verbatim*",!1),ne=ht("verbatim",!1),re=ht("filecontents*",!1),ue=ht("filecontents",!1),ie=ht("comment",!1),oe=ht("lstlisting",!1),ae=Ct("macro"),se=Ct("group"),le=Ct("environment"),ce=Ct("math environment"),pe=ht("[",!1),De=ht("]",!1),de=ht("(",!1),fe=ht(")",!1),me=ht("begin",!1),ge=ht("end",!1),he=ht("equation*",!1),ye=ht("equation",!1),Ce=ht("align*",!1),Ee=ht("align",!1),Fe=ht("alignat*",!1),Ae=ht("alignat",!1),be=ht("gather*",!1),ve=ht("gather",!1),xe=ht("multline*",!1),Se=ht("multline",!1),Be=ht("flalign*",!1),ke=ht("flalign",!1),Te=ht("split",!1),we=ht("math",!1),Ne=ht("displaymath",!1),Ie=Ct("escape"),je=ht("\\",!1),Pe=ht("{",!1),Oe=ht("}",!1),Me=ht("$",!1),Le=ht("&",!1),_e=Ct("newline"),$e=ht("\r",!1),Re=ht("\n",!1),Ve=ht("\r\n",!1),qe=ht("#",!1),We=ht("^",!1),Ue=ht("_",!1),Je=ht("\0",!1),ze=yt([" ","\t"],!1,!1),He=Ct("letter"),Ge=yt([["a","z"],["A","Z"]],!1,!1),Xe=Ct("digit"),Ke=yt([["0","9"]],!1,!1),Ye=Ct("punctuation"),Qe=yt([".",",",";",":","-","*","/","(",")","!","?","=","+","<",">","[","]","`","'",'"',"~"],!1,!1),Ze=Ct("full comment"),et=Ct("comment"),tt=function(e,t,n){return n==t},nt=function(e,t,n){return n},rt=function(e,t){return rn({content:[e]},t)},ut=function(e,t){return t},it=function(e){return t.substring(pt,ct).slice(1,-1)},ot=function(e,t,n){return rn(e,n)},at=function(e,t,n){return n},st=function(e,t,n){return rn({content:[e]},n)},lt=function(e,t,n){return n},ct=0,pt=0,Dt=[{line:1,column:1}],dt=0,ft=[],mt=0;if("startRule"in n){if(!(n.startRule in l))throw new Error("Can't start parsing from rule \""+n.startRule+'".');c=l[n.startRule]}function gt(){return Ft(pt,ct)}function ht(e,t){return{type:"literal",text:e,ignoreCase:t}}function yt(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Ct(e){return{type:"other",description:e}}function Et(e){var n,r=Dt[e];if(r)return r;for(n=e-1;!Dt[n];)n--;for(r={line:(r=Dt[n]).line,column:r.column};ndt&&(dt=ct,ft=[]),ft.push(e))}function bt(){var e,t,n;for(mt++,e=ct,t=[],n=vt();n!==a;)t.push(n),n=vt();return pt=e,e=t=un("root",{content:t}),mt--,t=a,0===mt&&At(R),e}function vt(){var e,n,r,u,i,o;if(mt++,(e=Tt())===a&&(e=Nt())===a&&(e=Qt())===a&&(e=It())===a){if(e=ct,(n=qt())!==a){if(r=[],u=ct,i=ct,mt++,o=qt(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a&&(o=St())!==a?(pt=u,u=o):(ct=u,u=a),u!==a)for(;u!==a;)r.push(u),u=ct,i=ct,mt++,o=qt(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a&&(o=St())!==a?(pt=u,u=o):(ct=u,u=a);else r=a;r!==a&&(u=qt())!==a?(pt=e,e=un("inlinemath",{content:r})):(ct=e,e=a)}else ct=e,e=a;if(e===a&&(e=Wt())===a&&(e=xt())===a&&(e=Jt())===a&&(e=zt())===a&&(e=function(){var e,n,r,u,i,o;if(mt++,e=ct,n=ct,r=[],u=Xt(),u!==a)for(;u!==a;)r.push(u),u=Xt();else r=a;if(r!==a)if(46===t.charCodeAt(ct)?(u=p,ct++):(u=a,0===mt&&At(K)),u!==a){if(i=[],(o=Xt())!==a)for(;o!==a;)i.push(o),o=Xt();else i=a;i!==a?(pt=n,s=i,n=r.join("")+"."+s.join("")):(ct=n,n=a)}else ct=n,n=a;else ct=n,n=a;var s;if(n===a){if(n=ct,46===t.charCodeAt(ct)?(r=p,ct++):(r=a,0===mt&&At(K)),r!==a){if(u=[],(i=Xt())!==a)for(;i!==a;)u.push(i),i=Xt();else u=a;u!==a?(pt=n,n=function(e){return"."+e.join("")}(u)):(ct=n,n=a)}else ct=n,n=a;if(n===a){if(n=ct,r=[],(u=Xt())!==a)for(;u!==a;)r.push(u),u=Xt();else r=a;r!==a?(46===t.charCodeAt(ct)?(u=p,ct++):(u=a,0===mt&&At(K)),u!==a?(pt=n,n=function(e){return e.join("")+"."}(r)):(ct=n,n=a)):(ct=n,n=a)}}n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n));e=n,mt--,e===a&&(n=a,0===mt&&At(X));return e}(),e===a&&(e=kt())===a&&(e=Kt())===a)){if(e=ct,n=ct,r=[],u=ct,i=ct,mt++,o=Bt(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a?(t.length>ct?(o=t.charAt(ct),ct++):(o=a,0===mt&&At(W)),o!==a?u=i=[i,o]:(ct=u,u=a)):(ct=u,u=a),u!==a)for(;u!==a;)r.push(u),u=ct,i=ct,mt++,o=Bt(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a?(t.length>ct?(o=t.charAt(ct),ct++):(o=a,0===mt&&At(W)),o!==a?u=i=[i,o]:(ct=u,u=a)):(ct=u,u=a);else r=a;(n=r!==a?t.substring(n,ct):r)!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),(e=n)===a&&(e=Rt())===a&&(e=Vt())===a&&(e=qt())===a&&(e=ct,t.length>ct?(n=t.charAt(ct),ct++):(n=a,0===mt&&At(W)),n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),e=n)}}return mt--,e===a&&(n=a,0===mt&&At(q)),e}function xt(){var e,t,n,r,u,i,o,s;for(mt++,e=ct,t=ct,n=[],r=Ht();r!==a;)n.push(r),r=Ht();if((r=Ut())!==a){for(u=[],i=ct,o=[],s=Ht();s!==a;)o.push(s),s=Ht();if((s=Ut())!==a?i=o=[o,s]:(ct=i,i=a),i!==a)for(;i!==a;){for(u.push(i),i=ct,o=[],s=Ht();s!==a;)o.push(s),s=Ht();(s=Ut())!==a?i=o=[o,s]:(ct=i,i=a)}else u=a;if(u!==a){for(i=[],o=Ht();o!==a;)i.push(o),o=Ht();o=ct,mt++,s=Yt(),mt--,s===a?o=void 0:(ct=o,o=a),o!==a?t=n=[n,r,u,i,o]:(ct=t,t=a)}else ct=t,t=a}else ct=t,t=a;if(t===a){for(t=ct,n=[],r=Ht();r!==a;)n.push(r),r=Ht();if((r=Ut())!==a){for(u=[],i=ct,o=[],s=Ht();s!==a;)o.push(s),s=Ht();if((s=Ut())!==a?i=o=[o,s]:(ct=i,i=a),i!==a)for(;i!==a;){for(u.push(i),i=ct,o=[],s=Ht();s!==a;)o.push(s),s=Ht();(s=Ut())!==a?i=o=[o,s]:(ct=i,i=a)}else u=a;u!==a?t=n=[n,r,u]:(ct=t,t=a)}else ct=t,t=a}return t!==a&&(pt=e,t=un("parbreak")),mt--,(e=t)===a&&(t=a,0===mt&&At(U)),e}function St(){var e,n,r,u,i;if(mt++,(e=Tt())===a&&(e=Nt())===a&&(e=Qt())===a){for(e=ct,n=[],r=kt();r!==a;)n.push(r),r=kt();if((r=It())!==a){for(u=[],i=kt();i!==a;)u.push(i),i=kt();pt=e,e=r}else ct=e,e=a;if(e===a){for(e=ct,n=[],r=kt();r!==a;)n.push(r),r=kt();if((r=Wt())!==a){for(u=[],i=kt();i!==a;)u.push(i),i=kt();pt=e,e=r}else ct=e,e=a;if(e===a&&(e=Jt())===a){for(e=ct,n=[],r=kt();r!==a;)n.push(r),r=kt();if(r=function(){var e,n;e=ct,94===t.charCodeAt(ct)?(n="^",ct++):(n=a,0===mt&&At(We));n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n));return e=n,e}(),r!==a){for(u=[],i=kt();i!==a;)u.push(i),i=kt();pt=e,e=un("macro",{content:"^",escapeToken:""})}else ct=e,e=a;if(e===a){for(e=ct,n=[],r=kt();r!==a;)n.push(r),r=kt();if(r=function(){var e,n;e=ct,95===t.charCodeAt(ct)?(n="_",ct++):(n=a,0===mt&&At(Ue));n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n));return e=n,e}(),r!==a){for(u=[],i=kt();i!==a;)u.push(i),i=kt();pt=e,e=un("macro",{content:"_",escapeToken:""})}else ct=e,e=a;e===a&&(e=zt())===a&&(e=kt())===a&&(e=ct,t.length>ct?(n=t.charAt(ct),ct++):(n=a,0===mt&&At(W)),n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),e=n)}}}}return mt--,e===a&&(n=a,0===mt&&At(J)),e}function Bt(){var e;return mt++,(e=$t())===a&&(37===t.charCodeAt(ct)?(e="%",ct++):(e=a,0===mt&&At(H)),e===a&&(e=Rt())===a&&(e=Vt())===a&&(e=qt())===a&&(e=Wt())===a&&(e=Ut())===a&&(e=Jt())===a&&(e=zt())===a&&(e=Ht())===a&&(e=Kt())===a&&(e=tn())),mt--,e===a&&0===mt&&At(z),e}function kt(){var e,t,n,r,u,i,o,s;if(mt++,e=ct,t=ct,(n=Ut())!==a){for(r=[],u=Ht();u!==a;)r.push(u),u=Ht();t=n=[n,r]}else ct=t,t=a;if(t===a){if(t=ct,n=[],(r=Ht())!==a)for(;r!==a;)n.push(r),r=Ht();else n=a;if(n!==a)if((r=Ut())!==a)if(u=ct,mt++,i=Yt(),mt--,i===a?u=void 0:(ct=u,u=a),u!==a){for(i=[],o=Ht();o!==a;)i.push(o),o=Ht();o=ct,mt++,s=Ut(),mt--,s===a?o=void 0:(ct=o,o=a),o!==a?t=n=[n,r,u,i,o]:(ct=t,t=a)}else ct=t,t=a;else ct=t,t=a;else ct=t,t=a;if(t===a)if(t=[],(n=Ht())!==a)for(;n!==a;)t.push(n),n=Ht();else t=a}return t!==a&&(pt=e,t=un("whitespace")),mt--,(e=t)===a&&(t=a,0===mt&&At(G)),e}function Tt(){var e,n,r,u,i,o,s,l,c,p;if(mt++,e=ct,(n=$t())!==a)if(t.substr(ct,5)===D?(r=D,ct+=5):(r=a,0===mt&&At(Q)),r===a&&(t.substr(ct,4)===d?(r=d,ct+=4):(r=a,0===mt&&At(Z))),r!==a)if(t.length>ct?(u=t.charAt(ct),ct++):(u=a,0===mt&&At(W)),u!==a){for(i=[],o=ct,s=ct,mt++,l=ct,t.length>ct?(c=t.charAt(ct),ct++):(c=a,0===mt&&At(W)),c!==a?(pt=ct,(p=(p=tt(0,u,c))?void 0:a)!==a?l=c=[c,p]:(ct=l,l=a)):(ct=l,l=a),mt--,l===a?s=void 0:(ct=s,s=a),s!==a?(t.length>ct?(l=t.charAt(ct),ct++):(l=a,0===mt&&At(W)),l!==a?(pt=o,o=nt(0,0,l)):(ct=o,o=a)):(ct=o,o=a);o!==a;)i.push(o),o=ct,s=ct,mt++,l=ct,t.length>ct?(c=t.charAt(ct),ct++):(c=a,0===mt&&At(W)),c!==a?(pt=ct,(p=(p=tt(0,u,c))?void 0:a)!==a?l=c=[c,p]:(ct=l,l=a)):(ct=l,l=a),mt--,l===a?s=void 0:(ct=s,s=a),s!==a?(t.length>ct?(l=t.charAt(ct),ct++):(l=a,0===mt&&At(W)),l!==a?(pt=o,o=nt(0,0,l)):(ct=o,o=a)):(ct=o,o=a);o=ct,t.length>ct?(s=t.charAt(ct),ct++):(s=a,0===mt&&At(W)),s!==a?(pt=ct,(l=(l=s==u)?void 0:a)!==a?o=s=[s,l]:(ct=o,o=a)):(ct=o,o=a),o!==a?(pt=e,e=function(e,t,n){return un("verb",{env:e,escape:t,content:n.join("")})}(r,u,i)):(ct=e,e=a)}else ct=e,e=a;else ct=e,e=a;else ct=e,e=a;if(e===a&&(e=function(){var e,n,r,u,i,o,s,l,c,p;if(mt++,e=ct,n=Mt(),n!==a)if(Rt()!==a)if((r=wt())!==a)if(Vt()!==a){for(u=[],i=ct,o=ct,mt++,s=ct,(l=Lt())!==a&&(c=It())!==a?(pt=ct,(p=(p=rt(r,c))?void 0:a)!==a?s=l=[l,c,p]:(ct=s,s=a)):(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a?(t.length>ct?(s=t.charAt(ct),ct++):(s=a,0===mt&&At(W)),s!==a?(pt=i,i=ut(0,s)):(ct=i,i=a)):(ct=i,i=a);i!==a;)u.push(i),i=ct,o=ct,mt++,s=ct,(l=Lt())!==a&&(c=It())!==a?(pt=ct,(p=(p=rt(r,c))?void 0:a)!==a?s=l=[l,c,p]:(ct=s,s=a)):(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a?(t.length>ct?(s=t.charAt(ct),ct++):(s=a,0===mt&&At(W)),s!==a?(pt=i,i=ut(0,s)):(ct=i,i=a)):(ct=i,i=a);(i=Lt())!==a&&(o=Rt())!==a&&(s=wt())!==a&&(l=Vt())!==a?(pt=e,e=function(e,t){return un("verbatim",{env:e,content:t.join("")})}(r,u)):(ct=e,e=a)}else ct=e,e=a;else ct=e,e=a;else ct=e,e=a;else ct=e,e=a;mt--,e===a&&(n=a,0===mt&&At(ee));return e}(),e===a)){if(e=ct,n=function(){var e,n,r;e=ct,n=$t(),n!==a?(91===t.charCodeAt(ct)?(r="[",ct++):(r=a,0===mt&&At(pe)),r!==a?e=n=[n,r]:(ct=e,e=a)):(ct=e,e=a);return e}(),n!==a){for(r=[],u=ct,i=ct,mt++,o=Pt(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a&&(o=St())!==a?(pt=u,u=o):(ct=u,u=a);u!==a;)r.push(u),u=ct,i=ct,mt++,o=Pt(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a&&(o=St())!==a?(pt=u,u=o):(ct=u,u=a);(u=Pt())!==a?(pt=e,e=un("displaymath",{content:r})):(ct=e,e=a)}else ct=e,e=a;if(e===a){if(e=ct,n=function(){var e,n,r;e=ct,n=$t(),n!==a?(40===t.charCodeAt(ct)?(r="(",ct++):(r=a,0===mt&&At(de)),r!==a?e=n=[n,r]:(ct=e,e=a)):(ct=e,e=a);return e}(),n!==a){for(r=[],u=ct,i=ct,mt++,o=Ot(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a&&(o=St())!==a?(pt=u,u=o):(ct=u,u=a);u!==a;)r.push(u),u=ct,i=ct,mt++,o=Ot(),mt--,o===a?i=void 0:(ct=i,i=a),i!==a&&(o=St())!==a?(pt=u,u=o):(ct=u,u=a);(u=Ot())!==a?(pt=e,e=function(e){return un("inlinemath",{content:e})}(r)):(ct=e,e=a)}else ct=e,e=a;if(e===a){if(e=ct,(n=qt())!==a)if((r=qt())!==a){for(u=[],i=ct,o=ct,mt++,s=ct,(l=qt())!==a&&(c=qt())!==a?s=l=[l,c]:(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a&&(s=St())!==a?(pt=i,i=s):(ct=i,i=a);i!==a;)u.push(i),i=ct,o=ct,mt++,s=ct,(l=qt())!==a&&(c=qt())!==a?s=l=[l,c]:(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a&&(s=St())!==a?(pt=i,i=s):(ct=i,i=a);(i=qt())!==a&&(o=qt())!==a?(pt=e,e=function(e){return un("displaymath",{content:e})}(u)):(ct=e,e=a)}else ct=e,e=a;else ct=e,e=a;e===a&&(e=function(){var e,t,n,r,u,i,o,s,l,c,p;if(mt++,e=ct,t=Mt(),t!==a)if(Rt()!==a)if((n=_t())!==a)if(Vt()!==a){for((r=Zt())===a&&(r=null),u=[],i=ct,o=ct,mt++,s=ct,(l=Lt())!==a&&(c=It())!==a?(pt=ct,(p=(p=st(n,0,c))?void 0:a)!==a?s=l=[l,c,p]:(ct=s,s=a)):(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a&&(s=St())!==a?(pt=i,i=lt(0,0,s)):(ct=i,i=a);i!==a;)u.push(i),i=ct,o=ct,mt++,s=ct,(l=Lt())!==a&&(c=It())!==a?(pt=ct,(p=(p=st(n,0,c))?void 0:a)!==a?s=l=[l,c,p]:(ct=s,s=a)):(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a&&(s=St())!==a?(pt=i,i=lt(0,0,s)):(ct=i,i=a);(i=Lt())!==a&&(o=Rt())!==a&&(s=_t())!==a&&(l=Vt())!==a?(pt=e,e=function(e,t,n){return un("mathenv",{env:e,content:t?[t,...n]:n})}(n,r,u)):(ct=e,e=a)}else ct=e,e=a;else ct=e,e=a;else ct=e,e=a;else ct=e,e=a;mt--,e===a&&(t=a,0===mt&&At(ce));return e}(),e===a&&(e=function(){var e,t,n,r,u,i,o,s,l,c,p;if(mt++,e=ct,t=Mt(),t!==a)if((n=jt())!==a){for((r=Zt())===a&&(r=null),u=[],i=ct,o=ct,mt++,s=ct,(l=Lt())!==a&&(c=jt())!==a?(pt=ct,(p=(p=ot(n,0,c))?void 0:a)!==a?s=l=[l,c,p]:(ct=s,s=a)):(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a&&(s=vt())!==a?(pt=i,i=at(0,0,s)):(ct=i,i=a);i!==a;)u.push(i),i=ct,o=ct,mt++,s=ct,(l=Lt())!==a&&(c=jt())!==a?(pt=ct,(p=(p=ot(n,0,c))?void 0:a)!==a?s=l=[l,c,p]:(ct=s,s=a)):(ct=s,s=a),mt--,s===a?o=void 0:(ct=o,o=a),o!==a&&(s=vt())!==a?(pt=i,i=at(0,0,s)):(ct=i,i=a);(i=Lt())!==a&&(o=jt())!==a?(pt=e,e=function(e,t,n){return un("environment",{env:e,content:t?[t,...n]:n})}(n,r,u)):(ct=e,e=a)}else ct=e,e=a;else ct=e,e=a;mt--,e===a&&(t=a,0===mt&&At(le));return e}()))}}}return mt--,e===a&&(n=a,0===mt&&At(Y)),e}function wt(){var e;return t.substr(ct,9)===f?(e=f,ct+=9):(e=a,0===mt&&At(te)),e===a&&(t.substr(ct,8)===m?(e=m,ct+=8):(e=a,0===mt&&At(ne)),e===a&&(t.substr(ct,13)===g?(e=g,ct+=13):(e=a,0===mt&&At(re)),e===a&&(t.substr(ct,12)===h?(e=h,ct+=12):(e=a,0===mt&&At(ue)),e===a&&(t.substr(ct,7)===y?(e=y,ct+=7):(e=a,0===mt&&At(ie)),e===a&&(t.substr(ct,10)===C?(e=C,ct+=10):(e=a,0===mt&&At(oe))))))),e}function Nt(){var e,n,r,u;if(mt++,e=ct,n=ct,$t()!==a){if(r=[],(u=Gt())!==a)for(;u!==a;)r.push(u),u=Gt();else r=a;r!==a?(pt=n,n=r.join("")):(ct=n,n=a)}else ct=n,n=a;return n===a&&(n=ct,$t()!==a?(t.length>ct?(r=t.charAt(ct),ct++):(r=a,0===mt&&At(W)),r!==a?(pt=n,n=r):(ct=n,n=a)):(ct=n,n=a)),n!==a&&(pt=e,n=un("macro",{content:n})),mt--,(e=n)===a&&(n=a,0===mt&&At(ae)),e}function It(){var e,t,n,r,u;if(mt++,e=ct,Rt()!==a){for(t=[],n=ct,r=ct,mt++,u=Vt(),mt--,u===a?r=void 0:(ct=r,r=a),r!==a&&(u=vt())!==a?(pt=n,n=u):(ct=n,n=a);n!==a;)t.push(n),n=ct,r=ct,mt++,u=Vt(),mt--,u===a?r=void 0:(ct=r,r=a),r!==a&&(u=vt())!==a?(pt=n,n=u):(ct=n,n=a);(n=Vt())!==a?(pt=e,e=un("group",{content:t})):(ct=e,e=a)}else ct=e,e=a;return mt--,e===a&&(a,0===mt&&At(se)),e}function jt(){var e,t;return e=ct,(t=It())!==a&&(pt=e,t=it()),e=t}function Pt(){var e,n,r;return e=ct,(n=$t())!==a?(93===t.charCodeAt(ct)?(r="]",ct++):(r=a,0===mt&&At(De)),r!==a?e=n=[n,r]:(ct=e,e=a)):(ct=e,e=a),e}function Ot(){var e,n,r;return e=ct,(n=$t())!==a?(41===t.charCodeAt(ct)?(r=")",ct++):(r=a,0===mt&&At(fe)),r!==a?e=n=[n,r]:(ct=e,e=a)):(ct=e,e=a),e}function Mt(){var e,n,r;return e=ct,(n=$t())!==a?(t.substr(ct,5)===E?(r=E,ct+=5):(r=a,0===mt&&At(me)),r!==a?e=n=[n,r]:(ct=e,e=a)):(ct=e,e=a),e}function Lt(){var e,n,r;return e=ct,(n=$t())!==a?("end"===t.substr(ct,3)?(r="end",ct+=3):(r=a,0===mt&&At(ge)),r!==a?e=n=[n,r]:(ct=e,e=a)):(ct=e,e=a),e}function _t(){var e,n;return e=ct,t.substr(ct,9)===F?(n=F,ct+=9):(n=a,0===mt&&At(he)),n===a&&(t.substr(ct,8)===A?(n=A,ct+=8):(n=a,0===mt&&At(ye)),n===a&&(t.substr(ct,6)===b?(n=b,ct+=6):(n=a,0===mt&&At(Ce)),n===a&&(t.substr(ct,5)===v?(n=v,ct+=5):(n=a,0===mt&&At(Ee)),n===a&&(t.substr(ct,8)===x?(n=x,ct+=8):(n=a,0===mt&&At(Fe)),n===a&&(t.substr(ct,7)===S?(n=S,ct+=7):(n=a,0===mt&&At(Ae)),n===a&&(t.substr(ct,7)===B?(n=B,ct+=7):(n=a,0===mt&&At(be)),n===a&&(t.substr(ct,6)===k?(n=k,ct+=6):(n=a,0===mt&&At(ve)),n===a&&(t.substr(ct,9)===T?(n=T,ct+=9):(n=a,0===mt&&At(xe)),n===a&&(t.substr(ct,8)===w?(n=w,ct+=8):(n=a,0===mt&&At(Se)),n===a&&(t.substr(ct,8)===N?(n=N,ct+=8):(n=a,0===mt&&At(Be)),n===a&&(t.substr(ct,7)===I?(n=I,ct+=7):(n=a,0===mt&&At(ke)),n===a&&(t.substr(ct,5)===j?(n=j,ct+=5):(n=a,0===mt&&At(Te)),n===a&&(t.substr(ct,4)===P?(n=P,ct+=4):(n=a,0===mt&&At(we)),n===a&&(t.substr(ct,11)===O?(n=O,ct+=11):(n=a,0===mt&&At(Ne)))))))))))))))),n!==a&&(pt=e,n=un("string",{content:n})),e=n}function $t(){var e,n;return mt++,e=ct,92===t.charCodeAt(ct)?(n="\\",ct++):(n=a,0===mt&&At(je)),n!==a&&(pt=e,n=un("string",{content:"\\"})),mt--,(e=n)===a&&(n=a,0===mt&&At(Ie)),e}function Rt(){var e,n;return e=ct,123===t.charCodeAt(ct)?(n="{",ct++):(n=a,0===mt&&At(Pe)),n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),e=n}function Vt(){var e,n;return e=ct,125===t.charCodeAt(ct)?(n="}",ct++):(n=a,0===mt&&At(Oe)),n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),e=n}function qt(){var e,n;return e=ct,36===t.charCodeAt(ct)?(n="$",ct++):(n=a,0===mt&&At(Me)),n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),e=n}function Wt(){var e,n;return e=ct,38===t.charCodeAt(ct)?(n="&",ct++):(n=a,0===mt&&At(Le)),n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),e=n}function Ut(){var e,n,r;return mt++,e=ct,n=ct,mt++,13===t.charCodeAt(ct)?(r="\r",ct++):(r=a,0===mt&&At($e)),mt--,r===a?n=void 0:(ct=n,n=a),n!==a?(10===t.charCodeAt(ct)?(r="\n",ct++):(r=a,0===mt&&At(Re)),r!==a?e=n=[n,r]:(ct=e,e=a)):(ct=e,e=a),e===a&&(13===t.charCodeAt(ct)?(e="\r",ct++):(e=a,0===mt&&At($e)),e===a&&("\r\n"===t.substr(ct,2)?(e="\r\n",ct+=2):(e=a,0===mt&&At(Ve)))),mt--,e===a&&(n=a,0===mt&&At(_e)),e}function Jt(){var e,n;return e=ct,35===t.charCodeAt(ct)?(n="#",ct++):(n=a,0===mt&&At(qe)),n!==a&&(pt=e,n=function(e){return un("string",{content:e})}(n)),e=n}function zt(){var e;return 0===t.charCodeAt(ct)?(e="\0",ct++):(e=a,0===mt&&At(Je)),e}function Ht(){var e,n,r;if(mt++,e=ct,n=[],M.test(t.charAt(ct))?(r=t.charAt(ct),ct++):(r=a,0===mt&&At(ze)),r!==a)for(;r!==a;)n.push(r),M.test(t.charAt(ct))?(r=t.charAt(ct),ct++):(r=a,0===mt&&At(ze));else n=a;return n!==a&&(pt=e,n=" "),mt--,(e=n)===a&&(n=a,0===mt&&At(G)),e}function Gt(){var e;return mt++,L.test(t.charAt(ct))?(e=t.charAt(ct),ct++):(e=a,0===mt&&At(Ge)),mt--,e===a&&0===mt&&At(He),e}function Xt(){var e;return mt++,_.test(t.charAt(ct))?(e=t.charAt(ct),ct++):(e=a,0===mt&&At(Ke)),mt--,e===a&&0===mt&&At(Xe),e}function Kt(){var e,n;return mt++,e=ct,$.test(t.charAt(ct))?(n=t.charAt(ct),ct++):(n=a,0===mt&&At(Qe)),n!==a&&(pt=e,n=un("string",{content:n})),mt--,(e=n)===a&&(n=a,0===mt&&At(Ye)),e}function Yt(){var e;return 37===t.charCodeAt(ct)?(e="%",ct++):(e=a,0===mt&&At(H)),e}function Qt(){var e;return mt++,(e=function(){var e,n,r,u;e=ct,n=ct,r=[],u=Ht();for(;u!==a;)r.push(u),u=Ht();(u=Ut())!==a?n=r=[r,u]:(ct=n,n=a);n===a&&(n=null);r=function(){var e,n,r,u,i;if(e=ct,n=ct,r=function(){var e;pt=ct,e=function(){return 1===gt().start.column}(),e=e?void 0:a;return e}(),r!==a){for(u=[],i=Ht();i!==a;)u.push(i),i=Ht();n=r=[r,u]}else ct=n,n=a;e=n!==a?t.substring(e,ct):n;return e}(),r!==a&&(u=en())!==a?(pt=e,i=r,o=u,e=un("comment",{...o,sameline:!1,leadingWhitespace:i.length>0})):(ct=e,e=a);var i,o;return e}())===a&&(e=Zt()),mt--,e===a&&0===mt&&At(Ze),e}function Zt(){var e,t,n,r,u;for(e=ct,t=[],n=Ht();n!==a;)t.push(n),n=Ht();return(n=en())!==a?(pt=e,r=t,u=n,e=un("comment",{...u,sameline:!0,leadingWhitespace:r.length>0})):(ct=e,e=a),e}function en(){var e,n,r,u,i,o,s;if(mt++,e=ct,Yt()!==a){for(n=[],r=ct,u=ct,mt++,i=Ut(),mt--,i===a?u=void 0:(ct=u,u=a),u!==a?(t.length>ct?(i=t.charAt(ct),ct++):(i=a,0===mt&&At(W)),i!==a?(pt=r,r=i):(ct=r,r=a)):(ct=r,r=a);r!==a;)n.push(r),r=ct,u=ct,mt++,i=Ut(),mt--,i===a?u=void 0:(ct=u,u=a),u!==a?(t.length>ct?(i=t.charAt(ct),ct++):(i=a,0===mt&&At(W)),i!==a?(pt=r,r=i):(ct=r,r=a)):(ct=r,r=a);r=ct,mt++,u=xt(),mt--,u!==a?(ct=r,r=void 0):r=a,r!==a?(pt=e,e={content:n.join(""),suffixParbreak:!0}):(ct=e,e=a)}else ct=e,e=a;if(e===a)if(e=ct,Yt()!==a){for(n=[],r=ct,u=ct,mt++,i=Ut(),mt--,i===a?u=void 0:(ct=u,u=a),u!==a?(t.length>ct?(i=t.charAt(ct),ct++):(i=a,0===mt&&At(W)),i!==a?(pt=r,r=i):(ct=r,r=a)):(ct=r,r=a);r!==a;)n.push(r),r=ct,u=ct,mt++,i=Ut(),mt--,i===a?u=void 0:(ct=u,u=a),u!==a?(t.length>ct?(i=t.charAt(ct),ct++):(i=a,0===mt&&At(W)),i!==a?(pt=r,r=i):(ct=r,r=a)):(ct=r,r=a);if(r=ct,(u=Ut())!==a){for(i=[],o=Ht();o!==a;)i.push(o),o=Ht();o=ct,mt++,s=Yt(),mt--,s===a?o=void 0:(ct=o,o=a),o!==a?r=u=[u,i,o]:(ct=r,r=a)}else ct=r,r=a;r===a&&(r=Ut())===a&&(r=tn()),r!==a?(pt=e,e=function(e){return{content:e.join("")}}(n)):(ct=e,e=a)}else ct=e,e=a;return mt--,e===a&&(a,0===mt&&At(et)),e}function tn(){var e,n;return e=ct,mt++,t.length>ct?(n=t.charAt(ct),ct++):(n=a,0===mt&&At(W)),mt--,n===a?e=void 0:(ct=e,e=a),e}function nn(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e&&"whitespace"===e.type?" ":e}function rn(e,t){return("string"==typeof e?e:e.content.map(nn).join(""))===("string"==typeof t?t:t.content.map(nn).join(""))}function un(e,t={}){return{type:e,...t,position:gt()}}if((r=c())!==a&&ct===t.length)return r;throw r!==a&&ctt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tf&&(f=D,m=[]),m.push(e))}function E(){var e,n;if(e=[],(n=v())===a&&(n=F())===a&&(n=A()),n!==a)for(;n!==a;)e.push(n),(n=v())===a&&(n=F())===a&&(n=A());else e=a;return e===a&&(e=D,n=function(){var e,n;e=D,g++,t.length>D?(n=t.charAt(D),D++):(n=a,0===g&&C(p));g--,n===a?e=void 0:(D=e,e=a);return e}(),n!==a&&(n=[]),e=n),e}function F(){var e,t,n,r,u,i,o,s;return e=D,D,(n=k())===a&&(n=null),u=n,t=n={cells:[],colSeps:[],...u},(n=N())!==a?((r=b())===a&&(r=null),i=t,o=n,s=r,e={...i,rowSep:o,trailingComment:s}):(D=e,e=a),e}function A(){var e,t,n,r,u;return e=D,(t=k())!==a?((n=b())===a&&(n=null),r=t,u=n,e={...r,rowSep:null,trailingComment:u}):(D=e,e=a),e}function b(){var e,r,u;for(e=D,r=[],u=w();u!==a;)r.push(u),u=w();return u=function(){var e,r;e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p));r!==a?(u=r,(n.isSameLineComment(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a);var u;return e}(),u!==a?e=u:(D=e,e=a),e}function v(){var e,t,n;for(e=D,t=[],n=w();n!==a;)t.push(n),n=w();return(n=T())!==a?e={cells:[],colSeps:[],rowSep:null,trailingComment:n}:(D=e,e=a),e}function x(){var e,n,r;return e=D,n=D,g++,(r=N())===a&&(r=I())===a&&(r=b())===a&&(r=T()),g--,r===a?n=void 0:(D=n,n=a),n!==a?(t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function S(){var e,n,r;if(e=D,n=[],(r=x())!==a)for(;r!==a;)n.push(r),r=x();else n=a;return e=n!==a?t.substring(e,D):n}function B(){var e,t,n;return e=D,(t=I())!==a&&(n=S())!==a?e={colSep:t,cell:n}:(D=e,e=a),e===a&&(e=D,(t=I())!==a&&(t=function(e){return{colSep:e}}(t)),e=t),e}function k(){var e,t,n,r;if(e=D,(t=S())!==a){for(n=[],r=B();r!==a;)n.push(r),r=B();e=j(t,n)}else D=e,e=a;if(e===a){if(e=D,t=[],(n=B())!==a)for(;n!==a;)t.push(n),n=B();else t=a;t!==a&&(t=function(e){return j(null,e)}(t)),e=t}return e}function T(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isOwnLineComment(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function w(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isWhitespace(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function N(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isRowSep(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function I(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isColSep(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function j(e,t){const n=[e||[]],r=[];for(const e of t)n.push(e.cell||[]),r.push(e.colSep);return{cells:n,colSeps:r}}if(!n.isWhitespace)try{Object.assign(n,createMatchers(["\\","hline","cr"],["&"]))}catch(e){console.warn("Error when initializing parser",e)}if((r=c())!==a&&D===t.length)return r;throw r!==a&&Dt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tN&&(N=T,I=[]),I.push(e))}function _(){var e,t,n;for(T,e=[],t=T,q(),(n=$())!==u?t=n:(T=t,t=u);t!==u;)e.push(t),t=T,q(),(n=$())!==u?t=n:(T=t,t=u);return t=q(),e}function $(){var e,n;return e=T,43===t.charCodeAt(T)?T++:0===j&&L(s),n=function(){var e,n,r;e=T,33===t.charCodeAt(T)?(n="!",T++):(n=u,0===j&&L(D));n===u&&(n=null);r=function(){var e,n;e=T,115===t.charCodeAt(T)?(n="s",T++):(n=u,0===j&&L(m));n!==u&&(n=J("optionalStar"));return e=n,e}(),r===u&&(r=function(){var e,n,r;e=T,79===t.charCodeAt(T)?(n="O",T++):(n=u,0===j&&L(g));n!==u&&(r=V())!==u?e=J("optional",{defaultArg:r}):(T=e,e=u);e===u&&(e=T,111===t.charCodeAt(T)?(n="o",T++):(n=u,0===j&&L(h)),n!==u&&(n=J("optional")),e=n);return e}(),r===u&&(r=function(){var e,n,r,i;e=T,68===t.charCodeAt(T)?(n="D",T++):(n=u,0===j&&L(d));n!==u?(r=R(),(i=V())!==u?(o=r,a=i,e=J("optional",{...o,defaultArg:a})):(T=e,e=u)):(T=e,e=u);var o,a;e===u&&(e=T,100===t.charCodeAt(T)?(n="d",T++):(n=u,0===j&&L(f)),n!==u?e=function(e){return J("optional",e)}(r=R()):(T=e,e=u));return e}(),r===u&&(r=function(){var e,n,r,i;e=T,101===t.charCodeAt(T)?(n="e",T++):(n=u,0===j&&L(y));n!==u&&(r=V())!==u?e=J("embellishment",{embellishmentTokens:r.content}):(T=e,e=u);e===u&&(e=T,69===t.charCodeAt(T)?(n="E",T++):(n=u,0===j&&L(C)),n!==u&&(r=V())!==u&&(i=V())!==u?e=function(e,t){return J("embellishment",{embellishmentTokens:e.content,defaultArg:t})}(r,i):(T=e,e=u));return e}(),r===u&&(r=function(){var e,n,r;e=T,116===t.charCodeAt(T)?(n="t",T++):(n=u,0===j&&L(E));n!==u?(t.length>T?(r=t.charAt(T),T++):(r=u,0===j&&L(c)),r!==u?e=J("optionalToken",{token:r}):(T=e,e=u)):(T=e,e=u);return e}()))));r!==u?(i=r,e=n?{...i,noLeadingWhitespace:!0}:i):(T=e,e=u);var i;return e}(),n===u&&(n=function(){var e,n;e=T,109===t.charCodeAt(T)?(n="m",T++):(n=u,0===j&&L(b));n!==u&&(n=J("mandatory"));return e=n,e}(),n===u&&(n=function(){var e,n,r;e=T,118===t.charCodeAt(T)?(n="v",T++):(n=u,0===j&&L(l));n!==u?(t.length>T?(r=t.charAt(T),T++):(r=u,0===j&&L(c)),r!==u?e=J("verbatim",{openBrace:i=r,closeBrace:i}):(T=e,e=u)):(T=e,e=u);var i;return e}(),n===u&&(n=function(){var e,n,r,i;e=T,82===t.charCodeAt(T)?(n="R",T++):(n=u,0===j&&L(F));n!==u?(r=R(),(i=V())!==u?(o=r,a=i,e=J("mandatory",{...o,defaultArg:a})):(T=e,e=u)):(T=e,e=u);var o,a;e===u&&(e=T,114===t.charCodeAt(T)?(n="r",T++):(n=u,0===j&&L(A)),n!==u?e=function(e){return J("mandatory",e)}(r=R()):(T=e,e=u));return e}(),n===u&&(n=function(){var e,n;e=T,98===t.charCodeAt(T)?(n="b",T++):(n=u,0===j&&L(p));n!==u&&(n=J("body"));return e=n,e}())))),n!==u?e=n:(T=e,e=u),e}function R(){var e,n,r,i,o;return T,e=T,n=T,r=T,j++,i=W(),j--,i===u?r=void 0:(T=r,r=u),r!==u?(t.length>T?(i=t.charAt(T),T++):(i=u,0===j&&L(c)),i!==u?n=r=[r,i]:(T=n,n=u)):(T=n,n=u),n===u&&(n=null),e=t.substring(e,T),n=T,r=T,i=T,j++,o=W(),j--,o===u?i=void 0:(T=i,i=u),i!==u?(t.length>T?(o=t.charAt(T),T++):(o=u,0===j&&L(c)),o!==u?r=i=[i,o]:(T=r,r=u)):(T=r,r=u),r===u&&(r=null),n=t.substring(n,T),{openBrace:e,closeBrace:n}}function V(){var e,n,r,i,o,a,s,l;if(e=T,123===t.charCodeAt(T)?(n="{",T++):(n=u,0===j&&L(v)),n!==u){for(r=[],i=T,o=T,a=T,j++,125===t.charCodeAt(T)?(s="}",T++):(s=u,0===j&&L(x)),j--,s===u?a=void 0:(T=a,a=u),a!==u?(s=T,j++,l=V(),j--,l===u?s=void 0:(T=s,s=u),s!==u?(t.length>T?(l=t.charAt(T),T++):(l=u,0===j&&L(c)),l!==u?o=a=[a,s,l]:(T=o,o=u)):(T=o,o=u)):(T=o,o=u),(i=o!==u?t.substring(i,T):o)===u&&(i=V());i!==u;)r.push(i),i=T,o=T,a=T,j++,125===t.charCodeAt(T)?(s="}",T++):(s=u,0===j&&L(x)),j--,s===u?a=void 0:(T=a,a=u),a!==u?(s=T,j++,l=V(),j--,l===u?s=void 0:(T=s,s=u),s!==u?(t.length>T?(l=t.charAt(T),T++):(l=u,0===j&&L(c)),l!==u?o=a=[a,s,l]:(T=o,o=u)):(T=o,o=u)):(T=o,o=u),(i=o!==u?t.substring(i,T):o)===u&&(i=V());125===t.charCodeAt(T)?(i="}",T++):(i=u,0===j&&L(x)),i!==u?e={type:"group",content:r}:(T=e,e=u)}else T=e,e=u;return e}function q(){var e,t;for(T,e=[],t=W();t!==u;)e.push(t),t=W();return e=""}function W(){var e;return 32===t.charCodeAt(T)?(e=" ",T++):(e=u,0===j&&L(S)),e===u&&(10===t.charCodeAt(T)?(e="\n",T++):(e=u,0===j&&L(B)),e===u&&(13===t.charCodeAt(T)?(e="\r",T++):(e=u,0===j&&L(k)))),e}const U={optional:{openBrace:"[",closeBrace:"]"},mandatory:{openBrace:"{",closeBrace:"}"}};function J(e,t){return{type:e,...U[e]||{},...t}}if((r=a())!==u&&T===t.length)return r;throw r!==u&&Tt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tf&&(f=D,m=[]),m.push(e))}function E(){var e,n,r;if(e=[],(n=B())===a&&(n=F())===a&&(n=A()),n!==a)for(;n!==a;)e.push(n),(n=B())===a&&(n=F())===a&&(n=A());else e=a;if(e===a){for(e=D,n=[],r=I();r!==a;)n.push(r),r=I();r=function(){var e,n;e=D,g++,t.length>D?(n=t.charAt(D),D++):(n=a,0===g&&C(p));g--,n===a?e=void 0:(D=e,e=a);return e}(),r!==a?e=[]:(D=e,e=a)}return e}function F(){var e,t,n,r,u,i,o,s;if(e=D,w(),(t=b())===a&&(t=null),w(),P()!==a){for(n=[],r=I();r!==a;)n.push(r),r=I();for((r=S())===a&&(r=null),u=[],i=I();i!==a;)u.push(i),i=I();o=t,s=r,e={itemParts:[],...o,trailingComment:s,trailingComma:!0}}else D=e,e=a;return e}function A(){var e,t,n,r,u;return e=D,w(),(t=b())!==a?((n=S())===a&&(n=null),r=t,u=n,e={...r,trailingComment:u}):(D=e,e=a),e}function b(){var e,t,n,r;if(e=D,(t=x())!==a){for(n=[],r=v();r!==a;)n.push(r),r=v();e=M(t,n)}else D=e,e=a;if(e===a){if(e=D,t=[],(n=v())!==a)for(;n!==a;)t.push(n),n=v();else t=a;t!==a&&(t=function(e){return M(null,e)}(t)),e=t}return e}function v(){var e,t,n,r,u;for(e=D,t=[],n=j();n!==a;)t.push(n),n=j();if((n=O())!==a){for(r=[],u=j();u!==a;)r.push(u),u=j();(u=x())!==a?e={cell:u}:(D=e,e=a)}else D=e,e=a;if(e===a){for(e=D,t=[],n=j();n!==a;)t.push(n),n=j();(n=O())!==a?e={}:(D=e,e=a)}return e}function x(){var e,n,r,u,i,o,s,l,c,p;for(e=D,n=[],r=I();r!==a;)n.push(r),r=I();if(r=D,u=[],(i=T())===a)if(i=D,(o=I())===a&&(o=j()),o!==a){for(s=D,g++,l=D,c=[],(p=I())===a&&(p=j());p!==a;)c.push(p),(p=I())===a&&(p=j());(p=T())!==a?l=c=[c,p]:(D=l,l=a),g--,l!==a?(D=s,s=void 0):s=a,s!==a?i=o=[o,s]:(D=i,i=a)}else D=i,i=a;if(i!==a){for(;i!==a;)if(u.push(i),(i=T())===a)if(i=D,(o=I())===a&&(o=j()),o!==a){for(s=D,g++,l=D,c=[],(p=I())===a&&(p=j());p!==a;)c.push(p),(p=I())===a&&(p=j());(p=T())!==a?l=c=[c,p]:(D=l,l=a),g--,l!==a?(D=s,s=void 0):s=a,s!==a?i=o=[o,s]:(D=i,i=a)}else D=i,i=a}else u=a;if((r=u!==a?t.substring(r,D):u)!==a){for(u=[],i=I();i!==a;)u.push(i),i=I();e=r}else D=e,e=a;return e}function S(){var e,r,u;for(e=D,r=[],u=I();u!==a;)r.push(u),u=I();return u=function(){var e,r;e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p));r!==a?(u=r,(n.isSameLineComment(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a);var u;return e}(),u!==a?e=u:(D=e,e=a),e}function B(){var e,t,n;return e=D,t=w(),(n=N())!==a?e={trailingComment:n,leadingParbreak:t.parbreak>0}:(D=e,e=a),e}function k(){var e,n,r,u;return e=D,n=D,r=D,g++,u=function(){var e;e=P(),e===a&&(e=O())===a&&(e=S())===a&&(e=N());return e}(),g--,u===a?r=void 0:(D=r,r=a),r!==a?(t.length>D?(u=t.charAt(D),D++):(u=a,0===g&&C(p)),u!==a?n=r=[r,u]:(D=n,n=a)):(D=n,n=a),e=n!==a?t.substring(e,D):n}function T(){var e,n,r,u;return e=D,n=D,r=D,g++,(u=I())===a&&(u=j()),g--,u===a?r=void 0:(D=r,r=a),r!==a&&(u=k())!==a?n=r=[r,u]:(D=n,n=a),e=n!==a?t.substring(e,D):n}function w(){var e,t,r;for(D,e=[],(t=I())===a&&(t=j());t!==a;)e.push(t),(t=I())===a&&(t=j());return e={whitespace:(r=e).filter((e=>n.isWhitespace(e))).length,parbreak:r.filter((e=>n.isParbreak(e))).length}}function N(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isOwnLineComment(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function I(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isWhitespace(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function j(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isParbreak(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function P(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isComma(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function O(){var e,r,u;return e=D,t.length>D?(r=t.charAt(D),D++):(r=a,0===g&&C(p)),r!==a?(u=r,(n.isEquals(u)?void 0:a)!==a?e=r:(D=e,e=a)):(D=e,e=a),e}function M(e,t){const n=[e||[]];for(const e of t)n.push(e.cell||[]);return{itemParts:n}}if(!n.isWhitespace)try{Object.assign(n,createMatchers(["\\","hline","cr"],["&"])),Object.assign(n,{isComma:e=>"string"===e.type&&","===e.content,isEquals:e=>"string"===e.type&&"="===e.content,isParbreak:e=>"parbreak"===e.type})}catch(e){console.warn("Error when initializing parser",e)}if((r=c())!==a&&D===t.length)return r;throw r!==a&&Dt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}(function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n})(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}(function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n})(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}(function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n})(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}(function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n})(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}(function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n})(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;tt?e:(t-=e.length,e+(n+=n.repeat(t)).slice(0,t))}(function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n})(e,Error),e.prototype.format=function(e){var n="Error: "+this.message;if(this.location){var r,u=null;for(r=0;r0){for(t=1,n=1;t{}:()=>{for(;ut>=u&&il.string(e,o))),tn>=t+1&&il.string(e,a))),n=0&&!r(e[n]);)n--}for(n=e.length-1;n>=0;){if(u(),n<0)return;const r=n,i=e[r],o=t[i.content];if(Dl(i,o.renderInfo),null==o.signature){n--;continue}if(null!=i.args){n=r-1;continue}n++;const{args:a}=Nl(e,o.signature,n);i.args=a,n=r-1}}var jl={},Pl={get exports(){return jl},set exports(e){jl=e}},Ol={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Ml={},Ll={get exports(){return Ml},set exports(e){Ml=e}},_l=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))},$l=Array.prototype.concat,Rl=Array.prototype.slice,Vl=Ll.exports=function(e){for(var t=[],n=0,r=e.length;n=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},Hl.to.keyword=function(e){return Jl[e.slice(0,3)]};const Kl=Ol,Yl={};for(const e of Object.keys(Kl))Yl[Kl[e]]=e;const Ql={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Zl=Ql;for(const e of Object.keys(Ql)){if(!("channels"in Ql[e]))throw new Error("missing channels property: "+e);if(!("labels"in Ql[e]))throw new Error("missing channel labels property: "+e);if(Ql[e].labels.length!==Ql[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=Ql[e];delete Ql[e].channels,delete Ql[e].labels,Object.defineProperty(Ql[e],"channels",{value:t}),Object.defineProperty(Ql[e],"labels",{value:n})}Ql.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.min(t,n,r),i=Math.max(t,n,r),o=i-u;let a,s;i===u?a=0:t===i?a=(n-r)/o:n===i?a=2+(r-t)/o:r===i&&(a=4+(t-n)/o),a=Math.min(60*a,360),a<0&&(a+=360);const l=(u+i)/2;return s=i===u?0:l<=.5?o/(i+u):o/(2-i-u),[a,100*s,100*l]},Ql.rgb.hsv=function(e){let t,n,r,u,i;const o=e[0]/255,a=e[1]/255,s=e[2]/255,l=Math.max(o,a,s),c=l-Math.min(o,a,s),p=function(e){return(l-e)/6/c+.5};return 0===c?(u=0,i=0):(i=c/l,t=p(o),n=p(a),r=p(s),o===l?u=r-n:a===l?u=1/3+t-r:s===l&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*i,100*l]},Ql.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const u=Ql.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[u,100*i,100*r]},Ql.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.min(1-t,1-n,1-r);return[100*((1-t-u)/(1-u)||0),100*((1-n-u)/(1-u)||0),100*((1-r-u)/(1-u)||0),100*u]},Ql.rgb.keyword=function(e){const t=Yl[e];if(t)return t;let n,r=1/0;for(const t of Object.keys(Kl)){const o=(i=Kl[t],((u=e)[0]-i[0])**2+(u[1]-i[1])**2+(u[2]-i[2])**2);o.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Ql.rgb.lab=function(e){const t=Ql.rgb.xyz(e);let n=t[0],r=t[1],u=t[2];n/=95.047,r/=100,u/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;return[116*r-16,500*(n-r),200*(r-u)]},Ql.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let u,i,o;if(0===n)return o=255*r,[o,o,o];u=r<.5?r*(1+n):r+n-r*n;const a=2*r-u,s=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,o=6*i<1?a+6*(u-a)*i:2*i<1?u:3*i<2?a+(u-a)*(2/3-i)*6:a,s[e]=255*o;return s},Ql.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,u=n;const i=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,u*=i<=1?i:2-i;return[t,100*(0===r?2*u/(i+u):2*n/(r+n)),100*((r+n)/2)]},Ql.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const u=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),a=255*r*(1-n*i),s=255*r*(1-n*(1-i));switch(r*=255,u){case 0:return[r,s,o];case 1:return[a,r,o];case 2:return[o,r,s];case 3:return[o,a,r];case 4:return[s,o,r];case 5:return[r,o,a]}},Ql.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,u=Math.max(r,.01);let i,o;o=(2-n)*r;const a=(2-n)*u;return i=n*u,i/=a<=1?a:2-a,i=i||0,o/=2,[t,100*i,100*o]},Ql.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const u=n+r;let i;u>1&&(n/=u,r/=u);const o=Math.floor(6*t),a=1-r;i=6*t-o,0!=(1&o)&&(i=1-i);const s=n+i*(a-n);let l,c,p;switch(o){default:case 6:case 0:l=a,c=s,p=n;break;case 1:l=s,c=a,p=n;break;case 2:l=n,c=a,p=s;break;case 3:l=n,c=s,p=a;break;case 4:l=s,c=n,p=a;break;case 5:l=a,c=n,p=s}return[255*l,255*c,255*p]},Ql.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},Ql.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let u,i,o;return u=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,o=.0557*t+-.204*n+1.057*r,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,u=Math.min(Math.max(0,u),1),i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),[255*u,255*i,255*o]},Ql.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},Ql.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const u=n**3,i=t**3,o=r**3;return n=u>.008856?u:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Ql.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let u;u=360*Math.atan2(r,n)/2/Math.PI,u<0&&(u+=360);return[t,Math.sqrt(n*n+r*r),u]},Ql.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Ql.rgb.ansi16=function(e,t=null){const[n,r,u]=e;let i=null===t?Ql.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let o=30+(Math.round(u/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(o+=60),o},Ql.hsv.ansi16=function(e){return Ql.rgb.ansi16(Ql.hsv.rgb(e),e[2])},Ql.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Ql.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Ql.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Ql.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Ql.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Ql.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),o=u-i;let a,s;return a=o<1?i/(1-o):0,s=o<=0?0:u===t?(n-r)/o%6:u===n?2+(r-t)/o:4+(t-n)/o,s/=6,s%=1,[360*s,100*o,100*a]},Ql.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let u=0;return r<1&&(u=(n-.5*r)/(1-r)),[e[0],100*r,100*u]},Ql.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},Ql.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const u=[0,0,0],i=t%1*6,o=i%1,a=1-o;let s=0;switch(Math.floor(i)){case 0:u[0]=1,u[1]=o,u[2]=0;break;case 1:u[0]=a,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=o;break;case 3:u[0]=0,u[1]=a,u[2]=1;break;case 4:u[0]=o,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=a}return s=(1-n)*r,[255*(n*u[0]+s),255*(n*u[1]+s),255*(n*u[2]+s)]},Ql.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Ql.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Ql.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Ql.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},Ql.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Ql.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Ql.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Ql.gray.hsl=function(e){return[0,0,e[0]]},Ql.gray.hsv=Ql.gray.hsl,Ql.gray.hwb=function(e){return[0,100,e[0]]},Ql.gray.cmyk=function(e){return[0,0,0,e[0]]},Ql.gray.lab=function(e){return[e[0],0,0]},Ql.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Ql.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const ec=Zl;function tc(e){const t=function(){const e={},t=Object.keys(ec);for(let n=t.length,r=0;r{oc[e]={},Object.defineProperty(oc[e],"channels",{value:uc[e].channels}),Object.defineProperty(oc[e],"labels",{value:uc[e].labels});const t=ic(e);Object.keys(t).forEach((n=>{const r=t[n];oc[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));const ac=jl,sc=oc,lc=["keyword","gray","hex"],cc={};for(const e of Object.keys(sc))cc[[...sc[e].labels].sort().join("")]=e;const pc={};function Dc(e,t){if(!(this instanceof Dc))return new Dc(e,t);if(t&&t in lc&&(t=null),t&&!(t in sc))throw new Error("Unknown model: "+t);let n,r;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Dc)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=ac.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,r=sc[this.model].channels,this.color=t.value.slice(0,r),this.valpha="number"==typeof t.value[r]?t.value[r]:1}else if(e.length>0){this.model=t||"rgb",r=sc[this.model].channels;const n=Array.prototype.slice.call(e,0,r);this.color=gc(n,r),this.valpha="number"==typeof e[r]?e[r]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const r=t.sort().join("");if(!(r in cc))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=cc[r];const{labels:u}=sc[this.model],i=[];for(n=0;n(e%360+360)%360)),saturationl:fc("hsl",1,mc(100)),lightness:fc("hsl",2,mc(100)),saturationv:fc("hsv",1,mc(100)),value:fc("hsv",2,mc(100)),chroma:fc("hcg",1,mc(100)),gray:fc("hcg",2,mc(100)),white:fc("hwb",1,mc(100)),wblack:fc("hwb",2,mc(100)),cyan:fc("cmyk",0,mc(100)),magenta:fc("cmyk",1,mc(100)),yellow:fc("cmyk",2,mc(100)),black:fc("cmyk",3,mc(100)),x:fc("xyz",0,mc(95.047)),y:fc("xyz",1,mc(100)),z:fc("xyz",2,mc(108.833)),l:fc("lab",0,mc(100)),a:fc("lab",1),b:fc("lab",2),keyword(e){return void 0!==e?new Dc(e):sc[this.model].keyword(this.color)},hex(e){return void 0!==e?new Dc(e):ac.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new Dc(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),ac.to.hex(t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const e=r/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return Dc.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),u=void 0===t?.5:t,i=2*u-1,o=n.alpha()-r.alpha(),a=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,s=1-a;return Dc.rgb(a*n.red()+s*r.red(),a*n.green()+s*r.green(),a*n.blue()+s*r.blue(),n.alpha()*u+r.alpha()*(1-u))}};for(const e of Object.keys(sc)){if(lc.includes(e))continue;const{channels:t}=sc[e];Dc.prototype[e]=function(...t){return this.model===e?new Dc(this):t.length>0?new Dc(t,e):new Dc([...(n=sc[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},Dc[e]=function(...n){let r=n[0];return"number"==typeof r&&(r=gc(n,t)),new Dc(r,e)}}function dc(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function fc(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(pc[r]||(pc[r]=[]))[t]=n;return e=e[0],function(r){let u;return void 0!==r?(n&&(r=n(r)),u=this[e](),u.color[t]=r,u):(u=this[e]().color[t],n&&(u=n(u)),u)}}function mc(e){return function(t){return Math.max(0,Math.min(e,t))}}function gc(e,t){for(let n=0;n0&&e>0&&t.unshift({type:"whitespace"})}let u=new WeakSet,i=r.flatMap(((e,t)=>{var r;const i=n[t+1],o=function(e){let t=function(e,t){for(let n=e.length-1;n>=0;n--){const r=e[n];if(!(il.whitespace(r)||il.comment(r)||t&&il.parbreak(r)))return n}}(e,!0);if(t===e.length-1||null==t&&0===e.length)return[];null==t&&(t=-1);return e.splice(t+1)}(i);return e.args=e.args||[],e.args.push(el(i,{openMark:"",closeMark:""})),Dl(e,{inParMode:!0}),(t>0||(null==(r=n[0])?void 0:r.length)>0)&&u.add(e),[e,...o]}));i=i.flatMap((e=>u.has(e)?[{type:"parbreak"},e]:e)),i.unshift(...n[0]);for(let e=0;eyc(e,"choice")},checkboxes:{signature:"o",processContent:e=>yc(e,"choice")},oneparchoices:{signature:"o",processContent:e=>yc(e,"choice")},oneparcheckboxes:{signature:"o",processContent:e=>yc(e,"choice")},parts:{signature:"o",processContent:e=>yc(e,"part")},subparts:{signature:"o",processContent:e=>yc(e,"subpart")},subsubparts:{signature:"o",processContent:e=>yc(e,"subsubpart")},questions:{signature:"o",processContent:e=>yc(e,"question")}},Ec={document:{processContent:e=>(dl(e),e)},array:{signature:"o m",renderInfo:{alignContent:!0}},description:{signature:"o",processContent:yc},enumerate:{signature:"o",processContent:yc,renderInfo:{pgfkeysArgs:!0}},itemize:{signature:"o",processContent:yc},trivlist:{signature:"o",processContent:yc},list:{signature:"m m",processContent:yc},figure:{signature:"o"},"figure*":{signature:"o"},filecontents:{signature:"o m"},"filecontents*":{signature:"o m"},minipage:{signature:"o o o m"},picture:{signature:"r() d()"},tabbing:{renderInfo:{alignContent:!0}},table:{signature:"o"},tabular:{signature:"o m",renderInfo:{alignContent:!0}},"tabular*":{signature:"m o m",renderInfo:{alignContent:!0}},thebibliography:{signature:"m",processContent:e=>yc(e,"bibitem")},math:{renderInfo:{inMathMode:!0}}};"object"!=typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var Fc=([e,t,n])=>hc([255*e,255*t,255*n],"rgb"),Ac=(hc("#FBB982"),hc("#00B5BE"),hc("#C04F17"),hc("#221E1F"),hc("#2D2F92"),hc("#00B3B8"),hc("#473992"),hc("#B6321C"),hc("#792500"),hc("#F7921D"),hc("#74729A"),hc("#F282B4"),hc("#00A2E3"),hc("#41B0E4"),hc("#00AEEF"),hc("#FDBC42"),hc("#A4538A"),hc("#00A99D"),hc("#009B55"),hc("#8C368C"),hc("#FFDF42"),hc("#949698"),hc("#00A64F"),hc("#DFE674"),hc("#00A99A"),hc("#F49EC4"),hc("#8DC73E"),hc("#EC008C"),hc("#A9341F"),hc("#AF3235"),hc("#F89E7B"),hc("#006795"),hc("#A93C93"),hc("#006EB8"),hc("#3C8031"),hc("#F58137"),hc("#ED135A"),hc("#AF72B0"),hc("#F7965A"),hc("#7977B8"),hc("#008B72"),hc("#92268F"),hc("#00B0F0"),hc("#99479B"),hc("#974006"),hc("#ED1B23"),hc("#F26035"),hc("#A1246B"),hc("#EF559F"),hc("#0071BC"),hc("#613F99"),hc("#ED017D"),hc("#F69289"),hc("#3FBC9D"),hc("#671800"),hc("#46C5DD"),hc("#C6DC67"),hc("#DA9D76"),hc("#00AEB3"),hc("#D883B7"),hc("#00B4CE"),hc("#58429B"),hc("#EF58A0"),hc("#FFFFFF"),hc("#EE2967"),hc("#FFF200"),hc("#98CC70"),hc("#FAA21A"),Fc([.94,.972,1]),Fc([.98,.92,.844]),Fc([0,1,1]),Fc([.498,1,.83]),Fc([.94,1,1]),Fc([.96,.96,.864]),Fc([1,.894,.77]),Fc([0,0,0]),Fc([1,.92,.804]),Fc([0,0,1]),Fc([.54,.17,.888]),Fc([.648,.165,.165]),Fc([.87,.72,.53]),Fc([.372,.62,.628]),Fc([.498,1,0]),Fc([.824,.41,.116]),Fc([1,.498,.312]),Fc([.392,.585,.93]),Fc([1,.972,.864]),Fc([.864,.08,.235]),Fc([0,1,1]),Fc([0,0,.545]),Fc([0,.545,.545]),Fc([.72,.525,.044]),Fc([.664,.664,.664]),Fc([0,.392,0]),Fc([.664,.664,.664]),Fc([.74,.716,.42]),Fc([.545,0,.545]),Fc([.332,.42,.185]),Fc([1,.55,0]),Fc([.6,.196,.8]),Fc([.545,0,0]),Fc([.912,.59,.48]),Fc([.56,.736,.56]),Fc([.284,.24,.545]),Fc([.185,.31,.31]),Fc([.185,.31,.31]),Fc([0,.808,.82]),Fc([.58,0,.828]),Fc([1,.08,.576]),Fc([0,.75,1]),Fc([.41,.41,.41]),Fc([.41,.41,.41]),Fc([.116,.565,1]),Fc([.698,.132,.132]),Fc([1,.98,.94]),Fc([.132,.545,.132]),Fc([1,0,1]),Fc([.864,.864,.864]),Fc([.972,.972,1]),Fc([1,.844,0]),Fc([.855,.648,.125]),Fc([.5,.5,.5]),Fc([0,.5,0]),Fc([.68,1,.185]),Fc([.5,.5,.5]),Fc([.94,1,.94]),Fc([1,.41,.705]),Fc([.804,.36,.36]),Fc([.294,0,.51]),Fc([1,1,.94]),Fc([.94,.9,.55]),Fc([.9,.9,.98]),Fc([1,.94,.96]),Fc([.488,.99,0]),Fc([1,.98,.804]),Fc([.68,.848,.9]),Fc([.94,.5,.5]),Fc([.88,1,1]),Fc([.933,.867,.51]),Fc([.98,.98,.824]),Fc([.828,.828,.828]),Fc([.565,.932,.565]),Fc([.828,.828,.828]),Fc([1,.712,.756]),Fc([1,.628,.48]),Fc([.125,.698,.668]),Fc([.53,.808,.98]),Fc([.518,.44,1]),Fc([.468,.532,.6]),Fc([.468,.532,.6]),Fc([.69,.77,.87]),Fc([1,1,.88]),Fc([0,1,0]),Fc([.196,.804,.196]),Fc([.98,.94,.9]),Fc([1,0,1]),Fc([.5,0,0]),Fc([.4,.804,.668]),Fc([0,0,.804]),Fc([.73,.332,.828]),Fc([.576,.44,.86]),Fc([.235,.7,.444]),Fc([.484,.408,.932]),Fc([0,.98,.604]),Fc([.284,.82,.8]),Fc([.78,.084,.52]),Fc([.098,.098,.44]),Fc([.96,1,.98]),Fc([1,.894,.884]),Fc([1,.894,.71]),Fc([1,.87,.68]),Fc([0,0,.5]),Fc([0,0,.5]),Fc([.992,.96,.9]),Fc([.5,.5,0]),Fc([.42,.556,.136]),Fc([1,.648,0]),Fc([1,.27,0]),Fc([.855,.44,.84]),Fc([.932,.91,.668]),Fc([.596,.985,.596]),Fc([.688,.932,.932]),Fc([.86,.44,.576]),Fc([1,.936,.835]),Fc([1,.855,.725]),Fc([.804,.52,.248]),Fc([1,.752,.796]),Fc([.868,.628,.868]),Fc([.69,.88,.9]),Fc([.5,0,.5]),Fc([1,0,0]),Fc([.736,.56,.56]),Fc([.255,.41,.884]),Fc([.545,.27,.075]),Fc([.98,.5,.448]),Fc([.956,.644,.376]),Fc([.18,.545,.34]),Fc([1,.96,.932]),Fc([.628,.32,.176]),Fc([.752,.752,.752]),Fc([.53,.808,.92]),Fc([.415,.352,.804]),Fc([.44,.5,.565]),Fc([.44,.5,.565]),Fc([1,.98,.98]),Fc([0,1,.498]),Fc([.275,.51,.705]),Fc([.824,.705,.55]),Fc([0,.5,.5]),Fc([.848,.75,.848]),Fc([1,.39,.28]),Fc([.25,.88,.815]),Fc([.932,.51,.932]),Fc([.816,.125,.565]),Fc([.96,.87,.7]),Fc([1,1,1]),Fc([.96,.96,.96]),Fc([1,1,0]),Fc([.604,.804,.196]),Fc([1,.936,.86]),Fc([.932,.875,.8]),Fc([.804,.752,.69]),Fc([.545,.512,.47]),Fc([.498,1,.83]),Fc([.464,.932,.776]),Fc([.4,.804,.668]),Fc([.27,.545,.455]),Fc([.94,1,1]),Fc([.88,.932,.932]),Fc([.756,.804,.804]),Fc([.512,.545,.545]),Fc([1,.894,.77]),Fc([.932,.835,.716]),Fc([.804,.716,.62]),Fc([.545,.49,.42]),Fc([0,0,1]),Fc([0,0,.932]),Fc([0,0,.804]),Fc([0,0,.545]),Fc([1,.25,.25]),Fc([.932,.23,.23]),Fc([.804,.2,.2]),Fc([.545,.136,.136]),Fc([1,.828,.608]),Fc([.932,.772,.57]),Fc([.804,.668,.49]),Fc([.545,.45,.332]),Fc([.596,.96,1]),Fc([.556,.898,.932]),Fc([.48,.772,.804]),Fc([.325,.525,.545]),Fc([.498,1,0]),Fc([.464,.932,0]),Fc([.4,.804,0]),Fc([.27,.545,0]),Fc([1,.498,.14]),Fc([.932,.464,.13]),Fc([.804,.4,.112]),Fc([.545,.27,.075]),Fc([1,.448,.336]),Fc([.932,.415,.312]),Fc([.804,.356,.27]),Fc([.545,.244,.185]),Fc([1,.972,.864]),Fc([.932,.91,.804]),Fc([.804,.785,.694]),Fc([.545,.532,.47]),Fc([0,1,1]),Fc([0,.932,.932]),Fc([0,.804,.804]),Fc([0,.545,.545]),Fc([1,.725,.06]),Fc([.932,.68,.055]),Fc([.804,.585,.048]),Fc([.545,.396,.03]),Fc([.792,1,.44]),Fc([.736,.932,.408]),Fc([.635,.804,.352]),Fc([.43,.545,.24]),Fc([1,.498,0]),Fc([.932,.464,0]),Fc([.804,.4,0]),Fc([.545,.27,0]),Fc([.75,.244,1]),Fc([.698,.228,.932]),Fc([.604,.196,.804]),Fc([.408,.132,.545]),Fc([.756,1,.756]),Fc([.705,.932,.705]),Fc([.608,.804,.608]),Fc([.41,.545,.41]),Fc([.592,1,1]),Fc([.552,.932,.932]),Fc([.475,.804,.804]),Fc([.32,.545,.545]),Fc([1,.08,.576]),Fc([.932,.07,.536]),Fc([.804,.064,.464]),Fc([.545,.04,.312]),Fc([0,.75,1]),Fc([0,.698,.932]),Fc([0,.604,.804]),Fc([0,.408,.545]),Fc([.116,.565,1]),Fc([.11,.525,.932]),Fc([.094,.455,.804]),Fc([.064,.305,.545]),Fc([1,.19,.19]),Fc([.932,.172,.172]),Fc([.804,.15,.15]),Fc([.545,.1,.1]),Fc([1,.844,0]),Fc([.932,.79,0]),Fc([.804,.68,0]),Fc([.545,.46,0]),Fc([1,.756,.145]),Fc([.932,.705,.132]),Fc([.804,.608,.112]),Fc([.545,.41,.08]),Fc([0,1,0]),Fc([0,.932,0]),Fc([0,.804,0]),Fc([0,.545,0]),Fc([.94,1,.94]),Fc([.88,.932,.88]),Fc([.756,.804,.756]),Fc([.512,.545,.512]),Fc([1,.43,.705]),Fc([.932,.415,.655]),Fc([.804,.376,.565]),Fc([.545,.228,.385]),Fc([1,.415,.415]),Fc([.932,.39,.39]),Fc([.804,.332,.332]),Fc([.545,.228,.228]),Fc([1,1,.94]),Fc([.932,.932,.88]),Fc([.804,.804,.756]),Fc([.545,.545,.512]),Fc([1,.965,.56]),Fc([.932,.9,.52]),Fc([.804,.776,.45]),Fc([.545,.525,.305]),Fc([1,.94,.96]),Fc([.932,.88,.898]),Fc([.804,.756,.772]),Fc([.545,.512,.525]),Fc([1,.98,.804]),Fc([.932,.912,.75]),Fc([.804,.79,.648]),Fc([.545,.536,.44]),Fc([.75,.936,1]),Fc([.698,.875,.932]),Fc([.604,.752,.804]),Fc([.408,.512,.545]),Fc([.88,1,1]),Fc([.82,.932,.932]),Fc([.705,.804,.804]),Fc([.48,.545,.545]),Fc([1,.925,.545]),Fc([.932,.864,.51]),Fc([.804,.745,.44]),Fc([.545,.505,.298]),Fc([1,.684,.725]),Fc([.932,.635,.68]),Fc([.804,.55,.585]),Fc([.545,.372,.396]),Fc([1,.628,.48]),Fc([.932,.585,.448]),Fc([.804,.505,.385]),Fc([.545,.34,.26]),Fc([.69,.888,1]),Fc([.644,.828,.932]),Fc([.552,.712,.804]),Fc([.376,.484,.545]),Fc([.792,.884,1]),Fc([.736,.824,.932]),Fc([.635,.71,.804]),Fc([.43,.484,.545]),Fc([1,1,.88]),Fc([.932,.932,.82]),Fc([.804,.804,.705]),Fc([.545,.545,.48]),Fc([1,0,1]),Fc([.932,0,.932]),Fc([.804,0,.804]),Fc([.545,0,.545]),Fc([1,.204,.7]),Fc([.932,.19,.655]),Fc([.804,.16,.565]),Fc([.545,.11,.385]),Fc([.88,.4,1]),Fc([.82,.372,.932]),Fc([.705,.32,.804]),Fc([.48,.215,.545]),Fc([.67,.51,1]),Fc([.624,.475,.932]),Fc([.536,.408,.804]),Fc([.365,.28,.545]),Fc([1,.894,.884]),Fc([.932,.835,.824]),Fc([.804,.716,.71]),Fc([.545,.49,.484]),Fc([1,.87,.68]),Fc([.932,.81,.63]),Fc([.804,.7,.545]),Fc([.545,.475,.37]),Fc([.752,1,.244]),Fc([.7,.932,.228]),Fc([.604,.804,.196]),Fc([.41,.545,.132]),Fc([1,.648,0]),Fc([.932,.604,0]),Fc([.804,.52,0]),Fc([.545,.352,0]),Fc([1,.27,0]),Fc([.932,.25,0]),Fc([.804,.215,0]),Fc([.545,.145,0]),Fc([1,.512,.98]),Fc([.932,.48,.912]),Fc([.804,.41,.79]),Fc([.545,.28,.536]),Fc([.604,1,.604]),Fc([.565,.932,.565]),Fc([.488,.804,.488]),Fc([.33,.545,.33]),Fc([.732,1,1]),Fc([.684,.932,.932]),Fc([.59,.804,.804]),Fc([.4,.545,.545]),Fc([1,.51,.67]),Fc([.932,.475,.624]),Fc([.804,.408,.536]),Fc([.545,.28,.365]),Fc([1,.855,.725]),Fc([.932,.796,.68]),Fc([.804,.688,.585]),Fc([.545,.468,.396]),Fc([1,.71,.772]),Fc([.932,.664,.72]),Fc([.804,.57,.62]),Fc([.545,.39,.424]),Fc([1,.732,1]),Fc([.932,.684,.932]),Fc([.804,.59,.804]),Fc([.545,.4,.545]),Fc([.608,.19,1]),Fc([.57,.172,.932]),Fc([.49,.15,.804]),Fc([.332,.1,.545]),Fc([1,0,0]),Fc([.932,0,0]),Fc([.804,0,0]),Fc([.545,0,0]),Fc([1,.756,.756]),Fc([.932,.705,.705]),Fc([.804,.608,.608]),Fc([.545,.41,.41]),Fc([.284,.464,1]),Fc([.264,.43,.932]),Fc([.228,.372,.804]),Fc([.152,.25,.545]),Fc([1,.55,.41]),Fc([.932,.51,.385]),Fc([.804,.44,.33]),Fc([.545,.298,.224]),Fc([.33,1,.624]),Fc([.305,.932,.58]),Fc([.264,.804,.5]),Fc([.18,.545,.34]),Fc([1,.96,.932]),Fc([.932,.898,.87]),Fc([.804,.772,.75]),Fc([.545,.525,.51]),Fc([1,.51,.28]),Fc([.932,.475,.26]),Fc([.804,.408,.224]),Fc([.545,.28,.15]),Fc([.53,.808,1]),Fc([.494,.752,.932]),Fc([.424,.65,.804]),Fc([.29,.44,.545]),Fc([.512,.435,1]),Fc([.48,.404,.932]),Fc([.41,.35,.804]),Fc([.28,.235,.545]),Fc([.776,.888,1]),Fc([.725,.828,.932]),Fc([.624,.712,.804]),Fc([.424,.484,.545]),Fc([1,.98,.98]),Fc([.932,.912,.912]),Fc([.804,.79,.79]),Fc([.545,.536,.536]),Fc([0,1,.498]),Fc([0,.932,.464]),Fc([0,.804,.4]),Fc([0,.545,.27]),Fc([.39,.72,1]),Fc([.36,.675,.932]),Fc([.31,.58,.804]),Fc([.21,.392,.545]),Fc([1,.648,.31]),Fc([.932,.604,.288]),Fc([.804,.52,.248]),Fc([.545,.352,.17]),Fc([1,.884,1]),Fc([.932,.824,.932]),Fc([.804,.71,.804]),Fc([.545,.484,.545]),Fc([1,.39,.28]),Fc([.932,.36,.26]),Fc([.804,.31,.224]),Fc([.545,.21,.15]),Fc([0,.96,1]),Fc([0,.898,.932]),Fc([0,.772,.804]),Fc([0,.525,.545]),Fc([1,.244,.59]),Fc([.932,.228,.55]),Fc([.804,.196,.47]),Fc([.545,.132,.32]),Fc([1,.905,.73]),Fc([.932,.848,.684]),Fc([.804,.73,.59]),Fc([.545,.494,.4]),Fc([1,1,0]),Fc([.932,.932,0]),Fc([.804,.804,0]),Fc([.545,.545,0]),Fc([.745,.745,.745]),Fc([0,1,0]),Fc([.745,.745,.745]),Fc([.69,.19,.376]),Fc([.628,.125,.94]),{rgb:([e,t,n])=>hc([255*e,255*t,255*n],"rgb"),cmy:([e,t,n])=>Ac.rgb([1-e,1-t,1-n]),cmyk:([e,t,n,r])=>hc([255*e,255*t,255*n,100*r],"cmyk"),hsb:([e,t,n])=>hc([360*e,100*t,100*n],"hsv"),gray:([e])=>hc([255*e,255*e,255*e],"rgb")});Ac.rgb([1,0,0]),Ac.rgb([0,1,0]),Ac.rgb([0,0,1]),Ac.rgb([.75,.5,.25]),Ac.rgb([.75,1,0]),Ac.rgb([1,.5,0]),Ac.rgb([1,.75,.75]),Ac.rgb([.75,0,.25]),Ac.rgb([0,.5,.5]),Ac.rgb([.5,0,.5]),Ac.rgb([0,1,1]),Ac.rgb([1,0,1]),Ac.rgb([1,1,0]),Ac.rgb([.5,.5,0]),Ac.rgb([0,0,0]),Ac.rgb([.25,.25,.25]),Ac.rgb([.5,.5,.5]),Ac.rgb([.75,.75,.75]),Ac.rgb([1,1,1]);var bc={cleveref:{cref:{signature:"s m"},Cref:{signature:"s m"},crefrange:{signature:"s m m"},Crefrange:{signature:"s m m"},cpageref:{signature:"s m"},Cpageref:{signature:"s m"},ref:{signature:"m"},pageref:{signature:"m"},namecref:{signature:"m"},nameCref:{signature:"m"},lcnamecref:{signature:"m"},namecrefs:{signature:"m"},nameCrefs:{signature:"m"},lcnamecrefs:{signature:"m"},labelcref:{signature:"m"},labelcpageref:{signature:"m"},crefalias:{signature:"m m"},crefname:{signature:"m m m"},crefdefaultlabelformat:{signature:"m"},crefrangeconjunction:{signature:"m"}},exam:{answerline:{signature:"o"},fillin:{signature:"o o"},fullwidth:{signature:"m"},fillwidthlines:{signature:"m"},fillwidthdottedlines:{signature:"m"},fillwidthgrid:{signature:"m"},makeemptybox:{signature:"m"},CorrectChoiceEmphasis:{signature:"m",renderInfo:{breakAround:!0}},SolutionEmphasis:{signature:"m",renderInfo:{breakAround:!0}},uplevel:{signature:"m",renderInfo:{breakAround:!0}},checkboxchar:{signature:"m",renderInfo:{breakAround:!0}},checkedchar:{signature:"m",renderInfo:{breakAround:!0}},pointname:{signature:"m",renderInfo:{breakAround:!0}},marginpointname:{signature:"m",renderInfo:{breakAround:!0}},extrawidth:{signature:"m",renderInfo:{breakAround:!0}},pointformat:{signature:"m",renderInfo:{breakAround:!0}},bonuspointformat:{signature:"m",renderInfo:{breakAround:!0}},totalformat:{signature:"m",renderInfo:{breakAround:!0}},qformat:{signature:"m",renderInfo:{breakAround:!0}},titledquestion:{signature:"m o",renderInfo:{breakAround:!0}},pointpoints:{signature:"m m",renderInfo:{breakAround:!0}},bonuspointpoints:{signature:"m m",renderInfo:{breakAround:!0}}},geometry:{geometry:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}}},hyperref:{hypersetup:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},href:{signature:"o m m"},url:{signature:"m"},nolinkurl:{signature:"m"},hyperbaseurl:{signature:"m"},hyperimage:{signature:"m m"},hyperdef:{signature:"m m m"},hyperref:{signature:"o m"},hyperlink:{signature:"m m"},hypertarget:{signature:"m m"},autoref:{signature:"s m"},pageref:{signature:"s m"},autopageref:{signature:"s m"},pdfstringdef:{signature:"m m"},pdfbookmark:{signature:"o m m"},currentpdfbookmark:{signature:"m m"},subpdfbookmark:{signature:"m m"},belowpdfbookmark:{signature:"m m"},texorpdfstring:{signature:"m m"},thispdfpagelabel:{signature:"m"},hypercalcbp:{signature:"m"}},latex2e:{"\\":{signature:"!s o"},_:{signature:"m",escapeToken:""},"^":{signature:"m",escapeToken:""},newcommand:{signature:"s +m o +o +m",renderInfo:{breakAround:!0,namedArguments:["starred","name","numArgs","default","body"]}},renewcommand:{signature:"s +m o +o +m",renderInfo:{breakAround:!0,namedArguments:["starred","name","numArgs","default","body"]}},providecommand:{signature:"s +m o +o +m",renderInfo:{breakAround:!0}},newcounter:{signature:"m o",renderInfo:{breakAround:!0}},usecounter:{signature:"m"},setcounter:{signature:"m m",renderInfo:{breakAround:!0}},addtocounter:{signature:"m m",renderInfo:{breakAround:!0}},stepcounter:{signature:"m",renderInfo:{breakAround:!0}},refstepcounter:{signature:"m",renderInfo:{breakAround:!0}},newlength:{signature:"m",renderInfo:{breakAround:!0}},addtolength:{signature:"m m",renderInfo:{breakAround:!0}},settodepth:{signature:"m m",renderInfo:{breakAround:!0}},settoheight:{signature:"m m",renderInfo:{breakAround:!0}},settowidth:{signature:"m m",renderInfo:{breakAround:!0}},stretch:{signature:"m"},hspace:{signature:"s m"},vspace:{signature:"s m",renderInfo:{breakAround:!0}},vfill:{renderInfo:{breakAround:!0}},indent:{renderInfo:{breakAround:!0}},phantom:{signature:"m"},vphantom:{signature:"m"},hphantom:{signature:"m"},noindent:{renderInfo:{breakAround:!0}},smallskip:{renderInfo:{breakAround:!0}},medskip:{renderInfo:{breakAround:!0}},bigskip:{renderInfo:{breakAround:!0}},smallbreak:{renderInfo:{breakAround:!0}},medbreak:{renderInfo:{breakAround:!0}},bigbreak:{renderInfo:{breakAround:!0}},newline:{renderInfo:{breakAround:!0}},linebreak:{signature:"o",renderInfo:{breakAround:!0}},nolinebreak:{signature:"o",renderInfo:{breakAround:!0}},clearpage:{renderInfo:{breakAround:!0}},cleardoublepage:{renderInfo:{breakAround:!0}},newpage:{renderInfo:{breakAround:!0}},enlargethispage:{signature:"s",renderInfo:{breakAround:!0}},pagebreak:{signature:"o",renderInfo:{breakAround:!0}},nopagebreak:{signature:"o",renderInfo:{breakAround:!0}},newsavebox:{signature:"m",renderInfo:{breakAround:!0}},sbox:{signature:"m m",renderInfo:{breakAround:!0}},savebox:{signature:"m o o m",renderInfo:{breakAround:!0}},mbox:{signature:"m"},makebox:{signature:"d() o o m",renderInfo:{breakAround:!0}},fbox:{signature:"m"},framebox:{signature:"o o m",renderInfo:{breakAround:!0}},frame:{signature:"m",renderInfo:{breakAround:!0}},parbox:{signature:"o o o m m",renderInfo:{breakAround:!0}},raisebox:{signature:"m o o m"},marginpar:{signature:"o m",renderInfo:{breakAround:!0}},colorbox:{signature:"o m m",renderInfo:{breakAround:!0}},fcolorbox:{signature:"o m m",renderInfo:{breakAround:!0}},rotatebox:{signature:"o m m"},scalebox:{signature:"m o m"},reflectbox:{signature:"m"},resizebox:{signature:"s m m m"},newenvironment:{signature:"s m o o m m",renderInfo:{breakAround:!0}},renewenvironment:{signature:"s m o o m m",renderInfo:{breakAround:!0}},newtheorem:{signature:"s m o m o",renderInfo:{breakAround:!0}},newfont:{signature:"m m",renderInfo:{breakAround:!0}},alph:{signature:"m"},Alph:{signature:"m"},arabic:{signature:"m"},roman:{signature:"m"},Roman:{signature:"m"},fnsymbol:{signature:"m"},documentclass:{signature:"o m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},usepackage:{signature:"o m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},item:{signature:"o",renderInfo:{hangingIndent:!0,namedArguments:["label"]}},value:{signature:"m"},centering:{renderInfo:{breakAround:!0}},input:{signature:"m",renderInfo:{breakAround:!0}},include:{signature:"m",renderInfo:{breakAround:!0}},includeonly:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},discretionary:{signature:"m m m"},hyphenation:{signature:"m m m"},footnote:{signature:"o m",renderInfo:{inParMode:!0}},footnotemark:{signature:"o"},footnotetext:{signature:"o m",renderInfo:{inParMode:!0}},caption:{signature:"o m",renderInfo:{inParMode:!0,breakAround:!0}},sqrt:{signature:"o m",renderInfo:{inMathMode:!0}},frac:{signature:"m m",renderInfo:{inMathMode:!0}},stackrel:{signature:"m m"},ensuremath:{signature:"m",renderInfo:{inMathMode:!0}},abstract:{signature:"m",renderInfo:{breakAround:!0,inParMode:!0}},maketitle:{renderInfo:{breakAround:!0}},doublespacing:{renderInfo:{breakAround:!0}},singlespacing:{renderInfo:{breakAround:!0}},author:{signature:"m",renderInfo:{breakAround:!0,inParMode:!0}},date:{signature:"o m",renderInfo:{breakAround:!0}},thanks:{signature:"m",renderInfo:{breakAround:!0,inParMode:!0}},title:{signature:"o m",renderInfo:{breakAround:!0,inParMode:!0}},pagenumbering:{signature:"m",renderInfo:{breakAround:!0}},pagestyle:{signature:"m",renderInfo:{breakAround:!0}},thispagestyle:{signature:"m",renderInfo:{breakAround:!0}},definecolor:{signature:"m m m",renderInfo:{breakAround:!0}},pagecolor:{signature:"o m",renderInfo:{breakAround:!0}},nopagecolor:{renderInfo:{breakAround:!0}},multicolumn:{signature:"m m m"},includegraphics:{signature:"s o o m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},rule:{signature:"o m m"},part:{signature:"s o m",renderInfo:{breakAround:!0,inParMode:!0,namedArguments:["starred","tocTitle","title"]}},chapter:{signature:"s o m",renderInfo:{breakAround:!0,inParMode:!0,namedArguments:["starred","tocTitle","title"]}},section:{signature:"s o m",renderInfo:{breakAround:!0,inParMode:!0,namedArguments:["starred","tocTitle","title"]}},subsection:{signature:"s o m",renderInfo:{breakAround:!0,inParMode:!0,namedArguments:["starred","tocTitle","title"]}},subsubsection:{signature:"s o m",renderInfo:{breakAround:!0,inParMode:!0,namedArguments:["starred","tocTitle","title"]}},paragraph:{signature:"s o m",renderInfo:{breakAround:!0,inParMode:!0,namedArguments:["starred","tocTitle","title"]}},subparagraph:{signature:"s o m",renderInfo:{breakAround:!0,inParMode:!0,namedArguments:["starred","tocTitle","title"]}},appendix:{renderInfo:{breakAround:!0,inParMode:!0}},frontmatter:{renderInfo:{breakAround:!0,inParMode:!0}},mainmatter:{renderInfo:{breakAround:!0,inParMode:!0}},backmatter:{renderInfo:{breakAround:!0,inParMode:!0}},bibitem:{signature:"o m",renderInfo:{hangingIndent:!0}},cite:{signature:"o m"},textrm:{signature:"m",renderInfo:{inParMode:!0}},textit:{signature:"m",renderInfo:{inParMode:!0}},textmd:{signature:"m",renderInfo:{inParMode:!0}},textbf:{signature:"m",renderInfo:{inParMode:!0}},textup:{signature:"m",renderInfo:{inParMode:!0}},textsl:{signature:"m",renderInfo:{inParMode:!0}},textsf:{signature:"m",renderInfo:{inParMode:!0}},textsc:{signature:"m",renderInfo:{inParMode:!0}},texttt:{signature:"m",renderInfo:{inParMode:!0}},emph:{signature:"m",renderInfo:{inParMode:!0}},textnormal:{signature:"m",renderInfo:{inParMode:!0}},uppercase:{signature:"m",renderInfo:{inParMode:!0}},mathbf:{signature:"m"},mathsf:{signature:"m"},mathtt:{signature:"m"},mathit:{signature:"m"},mathnormal:{signature:"m"},mathcal:{signature:"m"},mathrm:{signature:"m"},setlength:{signature:"m m",renderInfo:{breakAround:!0}},ref:{signature:"s m"},label:{signature:"o m"},printbibliography:{renderInfo:{breakAround:!0}},addtocontents:{signature:"m m",renderInfo:{breakAround:!0}},addcontentsline:{signature:"m m m",renderInfo:{breakAround:!0}},contentsline:{signature:"m m m",renderInfo:{breakAround:!0}},bibliography:{signature:"m",renderInfo:{breakAround:!0}},bibliographystyle:{signature:"m",renderInfo:{breakAround:!0}}},makeidx:{see:{signature:"m m"},seealso:{signature:"m m"},seename:{signature:"m"},alsoname:{signature:"m"},index:{signature:"m"}},mathtools:{mathtoolsset:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},mathllap:{signature:"o m"},mathrlap:{signature:"o m"},mathclap:{signature:"o m"},clap:{signature:"m"},mathmbox:{signature:"m"},mathmakebox:{signature:"o o m"},cramped:{signature:"o m"},crampedllap:{signature:"o m"},crampedrlap:{signature:"o m"},crampedclap:{signature:"o m"},crampedsubstack:{signature:"o m"},smashoperator:{signature:"o m"},newtagform:{signature:"m o m m"},renewtagform:{signature:"m o m m"},usetagform:{signature:"m"},xleftrightarrow:{signature:"o m"},xLeftarrow:{signature:"o m"},xhookleftarrow:{signature:"o m"},xmapsto:{signature:"o m"},xRightarrow:{signature:"o m"},xLeftrightarrow:{signature:"o m"},xhookrightarrow:{signature:"o m"},underbracket:{signature:"o o m"},overbracket:{signature:"o o m"},underbrace:{signature:"m"},overbrace:{signature:"m"},shoveleft:{signature:"o m"},shoveright:{signature:"o m"},ArrowBetweenLines:{signature:"s o"},vdotswithin:{signature:"m"},shortdotswithin:{signature:"s m"},DeclarePairedDelimiter:{signature:"m m m",renderInfo:{breakAround:!0}},DeclarePairedDelimiterX:{signature:"m o m m m",renderInfo:{breakAround:!0}},DeclarePairedDelimiterXPP:{signature:"m o m m m m m",renderInfo:{breakAround:!0}},prescript:{signature:"m m m"},DeclareMathSizes:{signature:"m m m m"},newgathered:{signature:"m m m m"},renewgathered:{signature:"m m m m"},splitfrac:{signature:"m m"},splitdfrac:{signature:"m m"},xmathstrut:{signature:"o m"},newtheorem:{signature:"s m o m o",renderInfo:{breakAround:!0}},theoremstyle:{signature:"m",renderInfo:{breakAround:!0}},newtheoremstyle:{signature:"m m m m m m m m m",renderInfo:{breakAround:!0}},text:{signature:"m",renderInfo:{inMathMode:!1}},mathbb:{signature:"m"},mathscr:{signature:"m"},mathfrak:{signature:"m"},frak:{signature:"m"},Bdd:{signature:"m"},bold:{signature:"m"},operatorname:{signature:"s m"},DeclareMathOperator:{signature:"s m m",renderInfo:{breakAround:!0}}},nicematrix:{NiceMatrixOptions:{signature:"m",renderInfo:{pgfkeysArgs:!0,breakAround:!0}}},systeme:{systeme:{signature:"s o o m",renderInfo:{inMathMode:!0}},sysdelim:{signature:"m m"},syseqsep:{signature:"m"},sysalign:{signature:"m"},syssignspace:{signature:"m"},syseqspace:{signature:"m"},syslineskipcoeff:{signature:"m"},syseqivsign:{signature:"m"},sysaddeqsign:{signature:"m"},sysremoveeqsign:{signature:"m"},sysextracolonsign:{signature:"m"},syscodeextracol:{signature:"m"},sysautonum:{signature:"m"},syssubstitute:{signature:"m"}},tikz:{pgfkeys:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},tikzoption:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},tikzstyle:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},usetikzlibrary:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},pgfplotsset:{signature:"m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},pgfplotstabletypeset:{signature:"o m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}}},xcolor:{substitutecolormodel:{signature:"m m",renderInfo:{breakAround:!0}},selectcolormodel:{signature:"m",renderInfo:{breakAround:!0}},definecolor:{signature:"o m m m",renderInfo:{breakAround:!0}},providecolor:{signature:"o m m m",renderInfo:{breakAround:!0}},colorlet:{signature:"o m o m",renderInfo:{breakAround:!0}},definecolorset:{signature:"o m m m",renderInfo:{breakAround:!0}},providecolorset:{signature:"o m m m m",renderInfo:{breakAround:!0}},preparecolor:{signature:"o m m m",renderInfo:{breakAround:!0}},preparecolorset:{signature:"o m m m m",renderInfo:{breakAround:!0}},DefineNamedColor:{signature:"m m m m",renderInfo:{breakAround:!0}},definecolors:{signature:"m",renderInfo:{breakAround:!0}},providecolors:{signature:"m",renderInfo:{breakAround:!0}},color:{signature:"o m",renderInfo:{breakAround:!0}},textcolor:{signature:"o m m",renderInfo:{inParMode:!0}},pagecolor:{signature:"o m"},colorbox:{signature:"o m m"},fcolorbox:{signature:"o m o m m"},boxframe:{signature:"o m"},testcolor:{signature:"o m"},blendcolors:{signature:"s m"},maskcolors:{signature:"o m"},definecolorseries:{signature:"m m m o m o m",renderInfo:{breakAround:!0}},resetcolorseries:{signature:"o m",renderInfo:{breakAround:!0}},rowcolors:{signature:"s o m m m"},extractcolorspec:{signature:"m m"},extractcolorspecs:{signature:"m m m"},convertcolorspec:{signature:"m m m m"}},xparse:{NewDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},RenewDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},ProvideDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},DeclareDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},NewDocumentEnvironment:{signature:"m m m m",renderInfo:{breakAround:!0}},RenewDocumentEnvironment:{signature:"m m m m",renderInfo:{breakAround:!0}},ProvideDocumentEnvironment:{signature:"m m m m",renderInfo:{breakAround:!0}},DeclareDocumentEnvironment:{signature:"m m m m",renderInfo:{breakAround:!0}},NewExpandableDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},RenewExpandableDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},ProvideExpandableDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},DeclareExpandableDocumentCommand:{signature:"m m m",renderInfo:{breakAround:!0}},RequirePackage:{signature:"o m",renderInfo:{pgfkeysArgs:!0,breakAround:!0}},DeclareOption:{signature:"m m",renderInfo:{breakAround:!0}}},beamer:{mode:{signature:"s d<> d{}",renderInfo:{breakAround:!0}},insertnavigation:{signature:"m",renderInfo:{breakAround:!0}},insertsectionnavigation:{signature:"m",renderInfo:{breakAround:!0}},insertsectionnavigationhorizontal:{signature:"m m m",renderInfo:{breakAround:!0}},insertauthor:{signature:"o",renderInfo:{breakAround:!0}},insertshortauthor:{signature:"o",renderInfo:{breakAround:!0}},insertshortdate:{signature:"o",renderInfo:{breakAround:!0}},insertshortinstitute:{signature:"o",renderInfo:{breakAround:!0}},insertshortpart:{signature:"o",renderInfo:{breakAround:!0}},insertshorttitle:{signature:"o",renderInfo:{breakAround:!0}},insertsubsectionnavigation:{signature:"m",renderInfo:{breakAround:!0}},insertsubsectionnavigationhorizontal:{signature:"m m m",renderInfo:{breakAround:!0}},insertverticalnavigation:{signature:"m",renderInfo:{breakAround:!0}},usebeamercolor:{signature:"s m",renderInfo:{breakAround:!0}},usebeamertemplate:{signature:"s m",renderInfo:{breakAround:!0}},setbeamercolor:{signature:"m m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},setbeamersize:{signature:"m o o",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},setbeamertemplate:{signature:"m o o d{}",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},newcommand:{signature:"s d<> +m o +o +m",renderInfo:{breakAround:!0,namedArguments:["starred",null,"name","numArgs","default","body"]}},renewcommand:{signature:"s d<> +m o +o +m",renderInfo:{breakAround:!0,namedArguments:["starred",null,"name","numArgs","default","body"]}},newenvironment:{signature:"s d<> m o o m m",renderInfo:{breakAround:!0}},renewenvironment:{signature:"s d<> m o o m m",renderInfo:{breakAround:!0}},resetcounteronoverlays:{signature:"m",renderInfo:{breakAround:!0}},resetcountonoverlays:{signature:"m",renderInfo:{breakAround:!0}},logo:{signature:"m",renderInfo:{breakAround:!0}},frametitle:{signature:"d<> o m",renderInfo:{breakAround:!0}},framesubtitle:{signature:"d<> m",renderInfo:{breakAround:!0}},pause:{signature:"o"},onslide:{signature:"t+ t* d<> d{}"},only:{signature:"d<> m d<>"},uncover:{signature:"d<> m"},visible:{signature:"d<> m"},invisible:{signature:"d<> m"},alt:{signature:"d<> m m d<>"},temporal:{signature:"r<> m m m"},item:{signature:"d<> o d<>",renderInfo:{hangingIndent:!0,namedArguments:[null,"label",null]}},label:{signature:"d<> o m"},action:{signature:"d<> m"},beamerdefaultoverlayspecification:{signature:"m"},titlegraphic:{signature:"m",renderInfo:{breakAround:!0}},subject:{signature:"m",renderInfo:{breakAround:!0}},keywords:{signature:"m",renderInfo:{breakAround:!0}},lecture:{signature:"o m m",renderInfo:{breakAround:!0}},partpage:{renderInfo:{breakAround:!0}},sectionpage:{renderInfo:{breakAround:!0}},subsectionpage:{renderInfo:{breakAround:!0}},AtBeginLecture:{signature:"m",renderInfo:{breakAround:!0}},AtBeginPart:{signature:"m",renderInfo:{breakAround:!0}},tableofcontents:{signature:"o",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},againframe:{signature:"d<> o o m",renderInfo:{breakAround:!0}},framezoom:{signature:"r<> r<> o r() r()",renderInfo:{breakAround:!0}},column:{signature:"d<> o m",renderInfo:{breakAround:!0}},animate:{signature:"r<>",renderInfo:{breakAround:!0}},animatevalue:{signature:"r<> m m m",renderInfo:{breakAround:!0}},sound:{signature:"o m m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},hyperlinksound:{signature:"o m m",renderInfo:{breakAround:!0,pgfkeysArgs:!0}},hyperlinkmute:{signature:"m",renderInfo:{breakAround:!0}},section:{signature:"s d<> o m",renderInfo:{breakAround:!0,namedArguments:["starred",null,"tocTitle","title"]}},subsection:{signature:"s d<> o m",renderInfo:{breakAround:!0,namedArguments:["starred",null,"tocTitle","title"]}},subsubsection:{signature:"s d<> o m",renderInfo:{breakAround:!0,namedArguments:["starred",null,"tocTitle","title"]}},part:{signature:"s d<> o m",renderInfo:{breakAround:!0,namedArguments:["starred",null,"tocTitle","title"]}},bibitem:{signature:"s d<> o m",renderInfo:{hangingIndent:!0,namedArguments:["starred",null,"tocTitle","title"]}}},multicol:{columnbreak:{renderInfo:{breakAround:!0}}}},vc={cleveref:{},exam:Cc,geometry:{},hyperref:{},latex2e:Ec,makeidx:{},mathtools:{crampedsubarray:{signature:"m",renderInfo:{alignContent:!0,inMathMode:!0}},matrix:{renderInfo:{alignContent:!0,inMathMode:!0}},bmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},pmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},vmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},Bmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},Vmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},smallmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},psmallmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},vsmallmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},bsmallmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},Bsmallmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},Vsmallmatrix:{renderInfo:{alignContent:!0,inMathMode:!0}},"matrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"bmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"pmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"vmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"Bmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"Vmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"smallmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"psmallmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"bsmallmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"vsmallmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"Bsmallmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},"Vsmallmatrix*":{signature:"o",renderInfo:{alignContent:!0,inMathMode:!0}},multilined:{signature:"o o",renderInfo:{inMathMode:!0}},cases:{renderInfo:{alignContent:!0,inMathMode:!0}},"cases*":{renderInfo:{alignContent:!0,inMathMode:!0}},dcases:{renderInfo:{alignContent:!0,inMathMode:!0}},"dcases*":{renderInfo:{alignContent:!0,inMathMode:!0}},rcases:{renderInfo:{alignContent:!0,inMathMode:!0}},"rcases*":{renderInfo:{alignContent:!0,inMathMode:!0}},drcases:{renderInfo:{alignContent:!0,inMathMode:!0}},"drcases*":{renderInfo:{alignContent:!0,inMathMode:!0}},spreadlines:{signature:"m",renderInfo:{inMathMode:!0}},lgathered:{signature:"o",renderInfo:{inMathMode:!0}},rgathered:{signature:"o",renderInfo:{inMathMode:!0}},"align*":{renderInfo:{inMathMode:!0,alignContent:!0}},align:{renderInfo:{inMathMode:!0,alignContent:!0}},aligned:{renderInfo:{inMathMode:!0,alignContent:!0}},"alignat*":{renderInfo:{inMathMode:!0,alignContent:!0}},alignat:{renderInfo:{inMathMode:!0,alignContent:!0}},"equation*":{renderInfo:{inMathMode:!0}},equation:{renderInfo:{inMathMode:!0}},"gather*":{renderInfo:{inMathMode:!0}},gather:{renderInfo:{inMathMode:!0}},"multline*":{renderInfo:{inMathMode:!0}},multline:{renderInfo:{inMathMode:!0}},"flalign*":{renderInfo:{inMathMode:!0,alignContent:!0}},flalign:{renderInfo:{inMathMode:!0,alignContent:!0}},split:{renderInfo:{inMathMode:!0}},displaymath:{renderInfo:{inMathMode:!0}},theorem:{signature:"o"},lemma:{signature:"o"},definition:{signature:"o"},proposition:{signature:"o"},corollary:{signature:"o"},remark:{signature:"!o"},example:{signature:"!o"},proof:{signature:"o"}},nicematrix:{NiceTabular:{signature:"o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},NiceMatrixBlock:{signature:"!o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},NiceArrayWithDelims:{signature:"m m o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},NiceArray:{signature:"o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},pNiceArray:{signature:"o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},bNiceArray:{signature:"o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},BNiceArray:{signature:"o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},vNiceArray:{signature:"o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},VNiceArray:{signature:"o m !o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},NiceMatrix:{signature:"!o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},pNiceMatrix:{signature:"!o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},bNiceMatrix:{signature:"!o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},BNiceMatrix:{signature:"!o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},vNiceMatrix:{signature:"!o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}},VNiceMatrix:{signature:"!o",renderInfo:{pgfkeysArgs:!0,alignContent:!0}}},systeme:{},tikz:{tikzpicture:{signature:"o",renderInfo:{pgfkeysArgs:!0}},axis:{signature:"o",renderInfo:{pgfkeysArgs:!0}}},xcolor:{testcolors:{signature:"o",renderInfo:{pgfkeysArgs:!0}}},xparse:{},beamer:{frame:{signature:"!d<> !o !o !d{} !d{}"},block:{signature:"!d<> !d{} !d<>"},alertblock:{signature:"!d<> !d{} !d<>"},exampleblock:{signature:"!d<> !d{} !d<>"},onlyenv:{signature:"!d<>"},altenv:{signature:"!d<> m m m m !d<>"},overlayarea:{signature:"m m"},overprint:{signature:"o"},actionenv:{signature:"!d<>"},columns:{signature:"d<> o"},column:{signature:"d<> o m"}},multicol:{multicols:{signature:"m o o"},"multicols*":{signature:"m o o"}}};function xc(e,t){if(t.signature&&null==e.args){const{args:n}=Nl(e.content,t.signature);e.args=n}Dl(e,t.renderInfo),"function"==typeof t.processContent&&(e.content=t.processContent(e.content))}function Sc(e,t,n){const r=[];let u={start:void 0,end:e.length};for(let i=0;i1)throw new Error(`Only single characters are allowed as \`allowedTokens\` when reparsing macro names, not \`${e}\`.`);let r=!1;return cl(e,(e=>{if(function(e,t){for(let n=0;n0?l.length===s.content.length?(a.content+=s.content,e.splice(o+1,1),a.position&&(null==(n=s.position)?void 0:n.end)&&(a.position.end=s.position.end)):(a.content+=l,s.content=s.content.slice(l.length),(null==(r=a.position)?void 0:r.end)&&(a.position.end.offset+=l.length,a.position.end.column+=l.length),(null==(u=s.position)?void 0:u.start)&&(s.position.start.offset+=l.length,s.position.start.column+=l.length)):o++}else++o}}function wc(e,t){"string"==typeof t&&(t=new Set(t.split("")));const n=t;for(const e of n)if(e.length>1)throw new Error(`Only single characters are allowed as \`allowedTokens\` when reparsing macro names, not \`${e}\`.`);cl(e,(e=>{Tc(e,n)}),{includeArrays:!0,test:Array.isArray})}var Nc={start:il.createMacroMatcher(["ExplSyntaxOn"]),end:il.createMacroMatcher(["ExplSyntaxOff"])},Ic={start:il.createMacroMatcher(["makeatletter"]),end:il.createMacroMatcher(["makeatother"])};function jc(e){const t=Sc(e,Nc.start,Nc.end),n=Sc(e,Ic.start,Ic.end),r=new Map([...t.map((e=>[e,"expl"])),...n.map((e=>[e,"atLetter"]))]),u=function(e){const t=[...e];t.sort(((e,t)=>e.start-t.start));const n=new Set(t.flatMap((e=>[e.start,e.end]))),r=Array.from(n);r.sort(((e,t)=>e-t));const u=[],i=[];let o=0;for(let e=0;e=s.start&&(c=!0),!c&&n.enda)break;n.start<=s.start&&n.end>=s.end&&(c=!0,l.add(n))}}l.size>0&&(u.push(s),i.push(l))}return{regions:u,regionsContainedIn:i}}([...t,...n]),i={explOnly:[],atLetterOnly:[],both:[]};for(let e=0;ee.end-e.start>1)),i.atLetterOnly=i.atLetterOnly.filter((e=>e.end-e.start>1)),i.both=i.both.filter((e=>e.end-e.start>1)),i}var Pc=new Set(["@"]),Oc=new Set(["_",":"]),Mc=new Set(["_",":","@"]);function Lc(e){cl(e,{leave:e=>{const t=jc(e);if(0===t.both.length+t.atLetterOnly.length+t.explOnly.length)return;const n=function(e,t){const n=[],r=[0,e.length],u={};for(const[e,n]of Object.entries(t))r.push(...n.flatMap((t=>(u[""+[t.start,t.end]]=e,[t.start,t.end]))));r.sort(((e,t)=>e-t));for(let t=0;te})};function $c(e){return xl.parse(e,{startRule:"math"})}var Rc=function(e){Object.assign(this,{Parser:t=>"math"===(null==e?void 0:e.mode)?{type:"root",content:$c(t),_renderInfo:{inMathMode:!0}}:function(e){return xl.parse(e)}(t)})};function Vc(e){return!e.some((e=>il.anyString(e)&&e.content.length>1||il.string(e,"^")||il.string(e,"_")))}var qc=function(e){const{environments:t={},macros:n={}}=e||{},r=Object.fromEntries(Object.entries(n).filter((([e,t])=>{var n;return!0===(null==(n=t.renderInfo)?void 0:n.inMathMode)}))),u=Object.fromEntries(Object.entries(t).filter((([e,t])=>{var n;return!0===(null==(n=t.renderInfo)?void 0:n.inMathMode)}))),i=function({mathEnvs:e,mathMacros:t}){const n=il.createEnvironmentMatcher(e),r=il.createMacroMatcher(t);return e=>{cl(e,(e=>{if(il.anyMacro(e))for(const t of e.args||[])t.content.length>0&&!Vc(t.content)&&(t.content=$c(ul(t.content)));il.anyEnvironment(e)&&(Vc(e.content)||(e.content=$c(ul(e.content))))}),{test:e=>n(e)||r(e)})}}({mathEnvs:Object.keys(u),mathMacros:Object.keys(r)}),o=il.createEnvironmentMatcher(t),a=il.createEnvironmentMatcher(u);return e=>{cl(e,{enter:e=>{Array.isArray(e)&&Il(e,r)},leave:e=>{if(!a(e))return;const n=ul(e.env),r=t[n];if(!r)throw new Error(`Could not find environment info for environment "${n}"`);xc(e,r)}},{includeArrays:!0}),i(e),cl(e,{enter:e=>{Array.isArray(e)&&Il(e,n)},leave:e=>{if(!o(e))return;const n=ul(e.env),r=t[n];if(!r)throw new Error(`Could not find environment info for environment "${n}"`);xc(e,r)}},{includeArrays:!0})}},Wc=function(e){let{atLetter:t=!1,expl3:n=!1,autodetectExpl3AndAtLetter:r=!1}=e||{};return e=>{Lc(e),(t||n)&&(r=!1),r&&(t=kc(e,"@"),n=kc(e,"_"));const u=new Set;t&&u.add("@"),n&&(u.add(":"),u.add("_")),u.size>0&&wc(e,u)}},Uc=Ws().use((function(e){const{mode:t="regular",macros:n={},environments:r={},flags:{atLetter:u=!1,expl3:i=!1,autodetectExpl3AndAtLetter:o=!1}={}}=e||{},a=Object.assign({},...Object.values(bc),n),s=Object.assign({},...Object.values(vc),r),l=Ws().use(Rc,{mode:t}).use(Wc,{atLetter:u,expl3:i,autodetectExpl3AndAtLetter:o}).use(qc,{macros:a,environments:s}).use(hl).use(yl).use(_c);Object.assign(this,{Parser:e=>l.processSync({value:e}).result})})).freeze();function Jc(e){return Uc.parse(e)}function zc(e){if(!Array.isArray(e))throw new Error("You must pass an array of nodes");return e=El([...e]),kl.parse(e,{isComma:e=>il.string(e,","),isEquals:e=>il.string(e,"="),isWhitespace:e=>il.whitespace(e),isParbreak:e=>il.parbreak(e),isSameLineComment:e=>il.comment(e)&&e.sameline,isOwnLineComment:e=>il.comment(e)&&!e.sameline})}function Hc(e,t=["&"],n=["\\","hline","cr"]){if(!Array.isArray(e))throw new Error("You must pass an array of nodes");return e=El([...e]),Sl.parse(e,function(e,t){return{isRowSep:il.createMacroMatcher(e),isColSep:e=>t.some((t=>il.string(e,t))),isWhitespace:e=>il.whitespace(e),isSameLineComment:e=>il.comment(e)&&e.sameline,isOwnLineComment:e=>il.comment(e)&&!e.sameline}}(n,t))}var Gc,Xc,Kc=Object.create,Yc=Object.defineProperty,Qc=Object.getOwnPropertyDescriptor,Zc=Object.getOwnPropertyNames,ep=Object.getPrototypeOf,tp=Object.prototype.hasOwnProperty,np=(Gc={"../../node_modules/prettier/doc.js"(e,t){!function(n){"object"==typeof e&&"object"==typeof t?t.exports=n():"function"==typeof define&&define.amd?define(n):("undefined"!=typeof globalThis?globalThis:void 0!==Na?Na:"undefined"!=typeof self?self:this||{}).doc=n()}((function(){var e,t,n=Object.getOwnPropertyNames,r=(e={"dist/_doc.js.umd.js"(e,t){var n=Object.create,r=Object.defineProperty,u=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,s=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},l=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},c=(e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of i(t))a.call(e,s)||s===n||r(e,s,{get:()=>t[s],enumerable:!(o=u(t,s))||o.enumerable});return e},p=s({""(){}}),D=l({"src/document/doc-builders.js"(e,t){function n(e){return{type:"concat",parts:e}}function r(e){return{type:"indent",contents:e}}function u(e,t){return{type:"align",contents:t,n:e}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}p();var o={type:"break-parent"},a={type:"line",hard:!0},s={type:"line",hard:!0,literal:!0},l=n([a,o]),c=n([s,o]),D={type:"cursor",placeholder:Symbol("cursor")};t.exports={concat:n,join:function(e,t){const r=[];for(let n=0;n2&&void 0!==arguments[2]?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:r,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:u,addAlignmentToDoc:function(e,t,n){let i=e;if(t>0){for(let e=0;e=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;switch(t){case"\n":n=/\n/g;break;case"\r":n=/\r/g;break;case"\r\n":n=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),f=l({"src/utils/get-last.js"(e,t){p(),t.exports=e=>e[e.length-1]}}),m=s({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){p()}});function g(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["[\\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(t,e?void 0:"g")}(),"")}var h=s({"node_modules/strip-ansi/index.js"(){p(),m()}});function y(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var C,E=s({"node_modules/is-fullwidth-code-point/index.js"(){p()}}),F=l({"node_modules/emoji-regex/index.js"(e,t){p(),t.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}}}),A={};function b(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=g(e)).length)return 0;e=e.replace((0,C.default)()," ");let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=y(r)?2:1)}return t}((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(A,{default:()=>b});var v=s({"node_modules/string-width/index.js"(){var e,t,u;p(),h(),E(),e=F(),u=null!=e?n(o(e)):{},C=c(!t&&e&&e.__esModule?u:r(u,"default",{value:e,enumerable:!0}),e)}}),x=l({"src/utils/get-string-width.js"(e,t){p();var n,u=(v(),n=A,c(r({},"__esModule",{value:!0}),n)).default,i=/[^\x20-\x7F]/;t.exports=function(e){return e?i.test(e)?u(e):e.length:0}}}),S=l({"src/document/doc-utils.js"(e,t){p();var n=f(),{literalline:r,join:u}=D(),i=e=>Array.isArray(e)||e&&"concat"===e.type,o=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},a={};function s(e,t,n,r){const u=[e];for(;u.length>0;){const e=u.pop();if(e!==a){if(n&&u.push(e,a),!t||!1!==t(e))if(i(e)||"fill"===e.type){const t=o(e);for(let e=t.length-1;e>=0;--e)u.push(t[e])}else if("if-break"===e.type)e.flatContents&&u.push(e.flatContents),e.breakContents&&u.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)u.push(e.expandedStates[t]);else u.push(e.contents);else e.contents&&u.push(e.contents)}else n(u.pop())}}function l(e,t){const n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);const u=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){const n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&r(e.breakContents),u=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:n,flatContents:u}))}if("group"===e.type&&e.expandedStates){const n=e.expandedStates.map(r),u=n[0];return t(Object.assign(Object.assign({},e),{},{contents:u,expandedStates:n}))}if(e.contents){const n=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:n}))}return t(e)}(e);return n.set(e,u),u}}function c(e,t,n){let r=n,u=!1;return s(e,(function(e){const n=t(e);if(void 0!==n&&(u=!0,r=n),u)return!1})),r}function d(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function m(e){if(e.length>0){const t=n(e);t.expandedStates||t.break||(t.break="propagated")}return null}function g(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var h=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function y(e){if(!e)return e;if(i(e)||"fill"===e.type){const t=o(e);for(;t.length>1&&h(...t.slice(-2));)t.length-=2;if(t.length>0){const e=y(n(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{const t=y(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{const t=y(e.breakContents),n=y(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:n})}}return e}function C(e){return l(e,(e=>function(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!i(e))return e;const t=[];for(const r of o(e)){if(!r)continue;const[e,...u]=i(r)?o(r):[r];"string"==typeof e&&"string"==typeof n(t)?t[t.length-1]+=e:t.push(e),t.push(...u)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e)))}function E(e){const t=[],r=e.filter(Boolean);for(;r.length>0;){const e=r.shift();e&&(i(e)?r.unshift(...o(e)):t.length>0&&"string"==typeof n(t)&&"string"==typeof e?t[t.length-1]+=e:t.push(e))}return t}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;return u(t,e.split("\n")).parts}function A(e){if("line"===e.type)return!0}t.exports={isConcat:i,getDocParts:o,willBreak:function(e){return c(e,d,!1)},traverseDoc:s,findInDoc:c,mapDoc:l,propagateBreaks:function(e){const t=new Set,n=[];s(e,(function(e){if("break-parent"===e.type&&m(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&m(n)}),!0)},removeLines:function(e){return l(e,g)},stripTrailingHardline:function(e){return y(C(e))},normalizeParts:E,normalizeDoc:function(e){return l(e,(e=>Array.isArray(e)?E(e):e.parts?Object.assign(Object.assign({},e),{},{parts:E(e.parts)}):e))},cleanDoc:C,replaceTextEndOfLine:F,replaceEndOfLine:function(e){return l(e,(e=>"string"==typeof e&&e.includes("\n")?F(e):e))},canBreak:function(e){return c(e,A,!1)}}}}),B=l({"src/document/doc-printer.js"(e,t){p();var n,{convertEndOfLineToChars:r}=d(),u=f(),i=x(),{fill:o,cursor:a,indent:s}=D(),{isConcat:l,getDocParts:c}=S();function m(e,t){return h(e,{type:"indent"},t)}function g(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?h(e,{type:"dedent"},n):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):h(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function h(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t];let u="",i=0,o=0,a=0;for(const e of r)switch(e.type){case"indent":c(),n.useTabs?s(1):l(n.tabWidth);break;case"stringAlign":c(),u+=e.n,i+=e.n.length;break;case"numberAlign":o+=1,a+=e.n;break;default:throw new Error(`Unexpected type '${e.type}'`)}return p(),Object.assign(Object.assign({},e),{},{value:u,length:i,queue:r});function s(e){u+="\t".repeat(e),i+=n.tabWidth*e}function l(e){u+=" ".repeat(e),i+=e}function c(){n.useTabs?(o>0&&s(o),D()):p()}function p(){a>0&&l(a),D()}function D(){o=0,a=0}}function y(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof u(e)&&/^[\t ]*$/.test(u(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof u(e)){const n=u(e).replace(/[\t ]*$/,"");t+=u(e).length-n.length,e[e.length-1]=n}return t}function C(e,t,r,o,a){let s=t.length;const p=[e],D=[];for(;r>=0;){if(0===p.length){if(0===s)return!0;p.push(t[--s]);continue}const{mode:e,doc:d}=p.pop();if("string"==typeof d)D.push(d),r-=i(d);else if(l(d)||"fill"===d.type){const t=c(d);for(let n=t.length-1;n>=0;n--)p.push({mode:e,doc:t[n]})}else switch(d.type){case"indent":case"align":case"indent-if-break":case"label":p.push({mode:e,doc:d.contents});break;case"trim":r+=y(D);break;case"group":{if(a&&d.break)return!1;const t=d.break?1:e,n=d.expandedStates&&1===t?u(d.expandedStates):d.contents;p.push({mode:t,doc:n});break}case"if-break":{const t=1===(d.groupId?n[d.groupId]||2:e)?d.breakContents:d.flatContents;t&&p.push({mode:e,doc:t});break}case"line":if(1===e||d.hard)return!0;d.soft||(D.push(" "),r--);break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1}}return!1}t.exports={printDocToString:function(e,t){n={};const p=t.printWidth,D=r(t.endOfLine);let d=0;const f=[{ind:{value:"",length:0,queue:[]},mode:1,doc:e}],h=[];let E=!1;const F=[];for(;f.length>0;){const{ind:e,mode:r,doc:A}=f.pop();if("string"==typeof A){const e="\n"!==D?A.replace(/\n/g,D):A;h.push(e),d+=i(e)}else if(l(A)){const t=c(A);for(let n=t.length-1;n>=0;n--)f.push({ind:e,mode:r,doc:t[n]})}else switch(A.type){case"cursor":h.push(a.placeholder);break;case"indent":f.push({ind:m(e,t),mode:r,doc:A.contents});break;case"align":f.push({ind:g(e,A.n,t),mode:r,doc:A.contents});break;case"trim":d-=y(h);break;case"group":switch(r){case 2:if(!E){f.push({ind:e,mode:A.break?1:2,doc:A.contents});break}case 1:{E=!1;const t={ind:e,mode:2,doc:A.contents},n=p-d,r=F.length>0;if(!A.break&&C(t,f,n,r))f.push(t);else if(A.expandedStates){const t=u(A.expandedStates);if(A.break){f.push({ind:e,mode:1,doc:t});break}for(let u=1;u=A.expandedStates.length){f.push({ind:e,mode:1,doc:t});break}{const t={ind:e,mode:2,doc:A.expandedStates[u]};if(C(t,f,n,r)){f.push(t);break}}}}else f.push({ind:e,mode:1,doc:A.contents});break}}A.id&&(n[A.id]=u(f).mode);break;case"fill":{const t=p-d,{parts:n}=A;if(0===n.length)break;const[u,i]=n,a={ind:e,mode:2,doc:u},s={ind:e,mode:1,doc:u},l=C(a,[],t,F.length>0,!0);if(1===n.length){l?f.push(a):f.push(s);break}const c={ind:e,mode:2,doc:i},D={ind:e,mode:1,doc:i};if(2===n.length){l?f.push(c,a):f.push(D,s);break}n.splice(0,2);const m={ind:e,mode:r,doc:o(n)};C({ind:e,mode:2,doc:[u,i,n[0]]},[],t,F.length>0,!0)?f.push(m,c,a):l?f.push(m,D,a):f.push(m,D,s);break}case"if-break":case"indent-if-break":{const t=A.groupId?n[A.groupId]:r;if(1===t){const t="if-break"===A.type?A.breakContents:A.negate?A.contents:s(A.contents);t&&f.push({ind:e,mode:r,doc:t})}if(2===t){const t="if-break"===A.type?A.flatContents:A.negate?s(A.contents):A.contents;t&&f.push({ind:e,mode:r,doc:t})}break}case"line-suffix":F.push({ind:e,mode:r,doc:A.contents});break;case"line-suffix-boundary":F.length>0&&f.push({ind:e,mode:r,doc:{type:"line",hard:!0}});break;case"line":switch(r){case 2:if(!A.hard){A.soft||(h.push(" "),d+=1);break}E=!0;case 1:if(F.length>0){f.push({ind:e,mode:r,doc:A},...F.reverse()),F.length=0;break}A.literal?e.root?(h.push(D,e.root.value),d=e.root.length):(h.push(D),d=0):(d-=y(h),h.push(D+e.value),d=e.length)}break;case"label":f.push({ind:e,mode:r,doc:A.contents})}0===f.length&&F.length>0&&(f.push(...F.reverse()),F.length=0)}const A=h.indexOf(a.placeholder);if(-1!==A){const e=h.indexOf(a.placeholder,A+1),t=h.slice(0,A).join(""),n=h.slice(A+1,e).join("");return{formatted:t+n+h.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:h.join("")}}}}}),k=l({"src/document/doc-debug.js"(e,t){p();var{isConcat:n,getDocParts:r}=S();function u(e){if(!e)return"";if(n(e)){const t=[];for(const i of r(e))if(n(i))t.push(...u(i).parts);else{const e=u(i);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:u(e.breakContents),flatContents:u(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:u(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(u)}):"fill"===e.type?{type:"fill",parts:e.parts.map(u)}:e.contents?Object.assign(Object.assign({},e),{},{contents:u(e.contents)}):e}t.exports={printDocToDebug:function(e){const t=Object.create(null),i=new Set;return function e(t,u,i){if("string"==typeof t)return JSON.stringify(t);if(n(t)){const n=r(t).map(e).filter(Boolean);return 1===n.length?n[0]:`[${n.join(", ")}]`}if("line"===t.type){const e=Array.isArray(i)&&i[u+1]&&"break-parent"===i[u+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(i)&&i[u-1]&&"line"===i[u-1].type&&i[u-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+`, { groupId: ${o(t.groupId)} }`:"")+")";if("indent-if-break"===t.type){const n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push(`groupId: ${o(t.groupId)}`);const r=n.length>0?`, { ${n.join(", ")} }`:"";return`indentIfBreak(${e(t.contents)}${r})`}if("group"===t.type){const n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push(`id: ${o(t.id)}`);const r=n.length>0?`, { ${n.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map((t=>e(t))).join(",")}]${r})`:`group(${e(t.contents)}${r})`}if("fill"===t.type)return`fill([${t.parts.map((t=>e(t))).join(", ")}])`;if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return`label(${JSON.stringify(t.label)}, ${e(t.contents)})`;throw new Error("Unknown doc type "+t.type)}(u(e));function o(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];const n=String(e).slice(7,-1)||"symbol";for(let r=0;;r++){const u=n+(r>0?` #${r}`:"");if(!i.has(u))return i.add(u),t[e]=`Symbol.for(${JSON.stringify(u)})`}}}}}});p(),t.exports={builders:D(),printer:B(),utils:S(),debug:k()}}},function(){return t||(0,e[n(e)[0]])((t={exports:{}}).exports,t),t.exports});return r()}))}},function(){return Xc||(0,Gc[Zc(Gc)[0]])((Xc={exports:{}}).exports,Xc),Xc.exports}),rp=((e,t,n)=>(n=null!=e?Kc(ep(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of Zc(t))tp.call(e,u)||u===n||Yc(e,u,{get:()=>t[u],enumerable:!(r=Qc(t,u))||r.enumerable});return e})(!t&&e&&e.__esModule?n:Yc(n,"default",{value:e,enumerable:!0}),e)))(np(),1);function up(e){const t=ul(e.env);return{envName:t,start:sp+"begin{"+t+"}",end:sp+"end{"+t+"}"}}function ip(e){return null!=e&&"string"!=typeof e&&(Array.isArray(e)?ip(e[0]):"concat"===e.type?ip(e.parts):"line"===e.type)}function op(e){if(0===e.length||1===e.length)return e;const t=[e[0]];for(let n=1;n0&&il.comment(r.content[0])&&r.content[0].sameline?r.content[0]:null,t=e?r.content.slice(1):r.content;return dl(t),function(e,t){const n=zc(e),r=[];for(const e of n){const t=e===n[n.length-1];if(e.itemParts){const t=e.itemParts.map((e=>ul(e,{asArray:!0}).map((e=>e===tl?fp:e)))),n=Ep("=",t);r.push(n),e.trailingComma&&r.push(",")}if(e.trailingComment){const t=e.itemParts?[" "]:[];e.leadingParbreak&&t.push(fp),r.push(...t,"%",e.trailingComment.content,hp)}t||r.push(Dp)}let u=[""];t.leadingComment&&(t.leadingComment.leadingWhitespace&&u.push(" "),u.push("%"+t.leadingComment.content,hp));return lp([t.openMark,...u,r.length>0?yp([dp,...r]):"",dp,t.closeMark])}(t,{openMark:r.openMark,closeMark:r.closeMark,leadingComment:e})}}return p}function vp(e,t,n){const r=e.getNode();ap(r,n);const u=e.map(t,"content"),i=Fp(r.content,u,n);return(r.content.some((e=>il.macro(e,"documentclass")))?e=>e:cp)(i)}function xp(e,t,n){const r=e.getNode();ap(r,n);const u=r.args?e.map(t,"args"):[],i=up(r),o=r.content[0]&&"comment"===r.content[0].type&&r.content[0].sameline?r.content[0]:null,{rows:a,rowSeps:s,trailingComments:l}=function(e){function t(e=1){return" ".repeat(e)}const n=Hc(e),r=Math.max(...n.map((e=>e.cells.length))),u=n.map((({rowSep:e})=>ul(e||[]))),i=n.map((({trailingComment:e})=>e)),o=n.map((({cells:e,colSeps:t})=>({cells:e.map((e=>(dl(e),ul(e)))),seps:t.map((e=>ul(e)))}))),a=[];for(let e=0;e((t[e]||"")+(n[e]||"")).length))));return{rows:o.map((({cells:e,seps:n})=>{if(1===e.length&&""===e[0])return"";let r="";for(let u=0;u{for(let t=0;te===tl?fp:e)),"}"];case"inlinemath":return function(e,t,n){const r=e.getNode();if(0===r.content.length)return["$"," ","$"];let u=e.map(t,"content");return u=Fp(r.content,u,n),u=op(u),"comment"===r.content[r.content.length-1].type&&u.push(fp),cp(["$",...u,"$"])}(e,n,t);case"macro":return Ap(e,n,t);case"parbreak":return[fp,fp];case"string":return r.content;case"verb":return[sp,r.env,r.escape,ul(r.content),r.escape];case"verbatim":return function(e,t,n){const r=e.getNode(),u=up(r);return[u.start,r.content,u.end]}(e);case"whitespace":return Dp;default:return console.warn("Printing unknown type",r),ul(r)}}}},Bp={languages:[{name:"latex",extensions:[".tex"],parsers:["latex-parser"]}],parsers:{"latex-parser":{parse:Jc,astFormat:"latex-ast",locStart:e=>e.position?e.position.start.offset:0,locEnd:e=>e.position?e.position.end.offset:1}},printers:Sp};e.latexFormat=function(e,t=80,n=!1,r=2,u=!1){let i=e.search(/\\begin{document}/);return(!u||i<0)&&(i=0),ra.format(e,{printWidth:t,useTabs:n,tabWidth:r,rangeStart:i,parser:"latex-parser",plugins:[Bp]})},e.latexJParse=function(e){return JSON.stringify(Jc(e))},e.latexParse=function(e){return Jc(e)}}));