@mongodb-js/compass-web 0.30.2 → 0.30.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/120.mjs +2 -0
- package/dist/305.mjs +1 -1
- package/dist/737.mjs +352 -0
- package/dist/752.mjs +2 -0
- package/dist/790.mjs +1 -1
- package/dist/858.mjs +2 -0
- package/dist/compass-web.mjs +11 -11
- package/package.json +34 -34
- package/dist/267.mjs +0 -352
- package/dist/276.mjs +0 -2
- package/dist/36.mjs +0 -2
- package/dist/876.mjs +0 -2
- /package/dist/{876.mjs.LICENSE.txt → 120.mjs.LICENSE.txt} +0 -0
- /package/dist/{267.mjs.LICENSE.txt → 737.mjs.LICENSE.txt} +0 -0
- /package/dist/{276.mjs.LICENSE.txt → 752.mjs.LICENSE.txt} +0 -0
- /package/dist/{36.mjs.LICENSE.txt → 858.mjs.LICENSE.txt} +0 -0
package/dist/305.mjs
CHANGED
|
@@ -20,4 +20,4 @@ export const __webpack_esm_id__=305;export const __webpack_esm_ids__=[305];expor
|
|
|
20
20
|
`,cliCategory:i},requirePragma:{since:"1.7.0",category:a,type:"boolean",default:!1,description:r`
|
|
21
21
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
22
22
|
in order for it to be formatted.
|
|
23
|
-
`,cliCategory:s},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:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:s,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:a,options:u}}}),oe=v({"src/main/support.js"(e,t){w();var r={compare:ee(),lt:te(),gte:re()},n=ne(),i=S().version,s=se().options;t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:o=!1,showInternal:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=i.split("-",1)[0],p=e.flatMap((e=>e.languages||[])).filter(d),h=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),s),"name").filter((e=>d(e)&&f(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(e){if(u)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return c(e,a)})).map((t=>{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)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>d(e)&&f(e))),"parser"===t.name&&function(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;s&&s.name&&(o+=` (plugin: ${s.name})`),e.choices.push({value:t,description:o})}}(t,p,e));let n=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:n})}));return{languages:p,options:h};function d(e){return t||!("since"in e)||e.since&&r.gte(l,e.since)}function f(e){return o||!("deprecated"in e)||e.deprecated&&r.lt(l,e.deprecated)}}}}}),ae=v({"src/utils/is-non-empty-array.js"(e,t){w(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),ue=v({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}w();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),le=v({"src/utils/text/skip-inline-comment.js"(e,t){w(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),ce=v({"src/utils/text/skip-trailing-comment.js"(e,t){w();var{skipEverythingButNewLine:r}=ue();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),pe=v({"src/utils/text/skip-newline.js"(e,t){w(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),he=v({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){w();var r=le(),n=pe(),i=ce(),{skipSpaces:s}=ue();t.exports=function(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}}}),de=v({"src/common/util.js"(e,t){w();var{default:r}=(G(),x(H)),n=F(),{getSupportInfo:i}=oe(),s=ae(),o=$(),{skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c}=ue(),p=le(),h=ce(),d=pe(),f=he();function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function g(e,t){let r=null,n=t;for(;n!==r;)r=n,n=l(e,n),n=p(e,n),n=u(e,n);return n=h(e,n),n=d(e,n),!1!==n&&m(e,n)}function y(e,t,r){return f(e,r(t))}function b(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function v(e,t){let r={quote:'"',regex:/"/g,escaped:"""},n={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?n:r,s=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(s.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i),o}function D(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function E(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",r=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 r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)}));return n&&n.parsers[0]},getStringWidth:o,getMaxContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>s&&(s=r)}for(let e=1;e<s;e++)if(!i.get(e))return e;return s+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(y(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}},skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:g,isNextLineEmpty:function(e,t,r){return g(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=u(e,n,{backwards:!0}),n=d(e,n,{backwards:!0}),n=u(e,n,{backwards:!0}),n!==d(e,n,{backwards:!0})},hasNewline:m,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:b,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:b(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:v,printString:function(e,t){let r=e.slice(1,-1);return D(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":v(r,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:D,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,E(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),E(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,E(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:s,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),fe={};function me(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function ge(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=me(Se(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function ye(e){var t=be(e),r="/"===Ne(e,-1);return!(e=me(Se(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function be(e){return"/"===e.charAt(0)}function ve(){return ye(Se(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function De(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=ge(e).substr(1),t=ge(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;a<s;a++)if(n[a]!==i[a]){o=a;break}var u=[];for(a=o;a<n.length;a++)u.push("..");return(u=u.concat(i.slice(o))).join("/")}function Ee(e){var t=Ae(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function xe(e,t){var r=Ae(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function we(e){return Ae(e)[3]}function Se(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}D(fe,{basename:()=>xe,default:()=>Ie,delimiter:()=>Pe,dirname:()=>Ee,extname:()=>we,isAbsolute:()=>be,join:()=>ve,normalize:()=>ye,relative:()=>De,resolve:()=>ge,sep:()=>Te});var Ce,Ae,Te,Pe,Ie,Ne,ke=b({"node-modules-polyfills:path"(){w(),Ce=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ae=function(e){return Ce.exec(e).slice(1)},Ie={extname:we,basename:xe,dirname:Ee,sep:Te="/",delimiter:Pe=":",relative:De,join:ve,isAbsolute:be,normalize:ye,resolve:ge},Ne=function(e,t,r){return e.substr(t,r)}}}),_e=v({"node-modules-polyfills-commonjs:path"(e,t){w();var r=(ke(),x(fe));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Oe=v({"src/common/errors.js"(e,t){w();var r=class extends Error{},n=class extends Error{},i=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:s}}}),Me={};function Le(e,t){function r(){this.constructor=e}ut(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Re(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function je(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function Ue(e,t){return function(r,n){t(r,n,e)}}function We(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function He(e,t,r,n){return new(r||(r=Promise))((function(i,s){function o(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(o,a)}u((n=n.apply(e,t||[])).next())}))}function qe(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function Ge(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function Ke(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Xe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function Ye(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Je(arguments[t]));return e}function Ze(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function Qe(e){return this instanceof Qe?(this.v=e,this):new Qe(e)}function et(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{!function(e){e.value instanceof Qe?Promise.resolve(e.value.v).then(u,l):c(s[0][2],e)}(i[e](t))}catch(e){c(s[0][3],e)}}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function tt(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:Qe(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function rt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Xe(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function nt(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function it(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function st(e){return e&&e.__esModule?e:{default:e}}function ot(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function at(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}D(Me,{__assign:()=>lt,__asyncDelegator:()=>tt,__asyncGenerator:()=>et,__asyncValues:()=>rt,__await:()=>Qe,__awaiter:()=>He,__classPrivateFieldGet:()=>ot,__classPrivateFieldSet:()=>at,__createBinding:()=>Ge,__decorate:()=>je,__exportStar:()=>Ke,__extends:()=>Le,__generator:()=>qe,__importDefault:()=>st,__importStar:()=>it,__makeTemplateObject:()=>nt,__metadata:()=>We,__param:()=>Ue,__read:()=>Je,__rest:()=>Re,__spread:()=>Ye,__spreadArrays:()=>Ze,__values:()=>Xe});var ut,lt,ct=b({"node_modules/tslib/tslib.es6.js"(){w(),ut=function(e,t){return(ut=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},lt=function(){return lt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lt.apply(this,arguments)}}}),pt=v({"node_modules/vnopts/lib/descriptors/api.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_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 r=Object.keys(t);return 0===r.length?"{}":`{ ${r.map((r=>`${e.apiDescriptor.key(r)}: ${e.apiDescriptor.value(t[r])}`)).join(", ")} }`},pair:t=>{let{key:r,value:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),ht=v({"node_modules/vnopts/lib/descriptors/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(pt(),e)}}),dt=v({"scripts/build/shims/chalk.cjs"(e,t){w();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),ft=v({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:i}=n,s=[`${t.default.yellow("string"==typeof e?i.key(e):i.pair(e))} is deprecated`];return r&&s.push(`we now treat it as ${t.default.blue("string"==typeof r?i.key(r):i.pair(r))}`),s.join("; ")+"."}}}),mt=v({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(ft(),e)}}),gt=v({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();e.commonInvalidHandler=(e,r,n)=>[`Invalid ${t.default.red(n.descriptor.key(e))} value.`,`Expected ${t.default.blue(n.schemas[e].expected(n))},`,`but received ${t.default.red(n.descriptor.value(r))}.`].join(" ")}}),yt=v({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(gt(),e)}}),bt=v({"node_modules/vnopts/node_modules/leven/index.js"(e,t){w();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var s=e.length,o=t.length;if(0===s)return o;if(0===o)return s;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-o);)s--,o--;if(0===s)return o;for(var a=0;a<s&&e.charCodeAt(a)===t.charCodeAt(a);)a++;if(o-=a,0==(s-=a))return o;for(var u,l,c,p,h=0,d=0;h<s;)n[a+h]=e.charCodeAt(a+h),r[h]=++h;for(;d<o;)for(u=t.charCodeAt(a+d),c=d++,l=d,h=0;h<s;h++)p=u===n[a+h]?c:c+1,c=r[h],l=r[h]=c>l?p>l?l+1:p:p>c?c+1:p;return l}}}),vt=v({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt(),r=bt();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:o,schemas:a}=i,u=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:n}))}.`],l=Object.keys(a).sort().find((t=>r(e,t)<3));l&&u.push(`Did you mean ${t.default.blue(s.key(l))}?`),o.warn(u.join(" "))}}}),Dt=v({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(vt(),e)}}),Et=v({"node_modules/vnopts/lib/handlers/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(mt(),e),t.__exportStar(yt(),e),t.__exportStar(Dt(),e)}}),xt=v({"node_modules/vnopts/lib/schema.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let s=new e(r),o=Object.create(s);for(let e of t)e in r&&(o[e]=i(r[e],s,n.prototype[e].length));return o}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(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,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e(...i.slice(0,r-1),t,...i.slice(r-1))}:()=>e}e.Schema=n}}),wt=v({"node_modules/vnopts/lib/schemas/alias.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=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=r}}),St=v({"node_modules/vnopts/lib/schemas/any.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),Ct=v({"node_modules/vnopts/lib/schemas/array.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me)),r=xt(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(i))}return r}redirect(e,t){let r=[],n=[];for(let s of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(s,t),s);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(i))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),At=v({"node_modules/vnopts/lib/schemas/boolean.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),Tt=v({"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 r(e,r){return void 0===e?[]:Array.isArray(e)?e.map((e=>t(e,r))):[t(e,r)]}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r[e]=n}return r},e.mapFromArray=function(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r.set(e,n)}return r},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}},e.partition=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?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){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},e.normalizeTransferResult=t,e.normalizeForwardResult=r,e.normalizeRedirectResult=function(e,t){let n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}}),Pt=v({"node_modules/vnopts/lib/schemas/choice.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=Tt(),n=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(r.comparePrimitive).map(t.value),i=n.slice(0,-2),s=n.slice(-2);return i.concat(s.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=n}}),Ft=v({"node_modules/vnopts/lib/schemas/number.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),It=v({"node_modules/vnopts/lib/schemas/integer.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Tt(),r=Ft(),n=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=n}}),Nt=v({"node_modules/vnopts/lib/schemas/string.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),kt=v({"node_modules/vnopts/lib/schemas/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(wt(),e),t.__exportStar(St(),e),t.__exportStar(Ct(),e),t.__exportStar(At(),e),t.__exportStar(Pt(),e),t.__exportStar(It(),e),t.__exportStar(Ft(),e),t.__exportStar(Nt(),e)}}),_t=v({"node_modules/vnopts/lib/defaults.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=pt(),r=ft(),n=yt(),i=vt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Ot=v({"node_modules/vnopts/lib/normalize.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=Tt();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:i=console,descriptor:s=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:a=t.defaultInvalidHandler,deprecated:u=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:s,logger:i||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=a,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],i=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};i();for(let e of Object.keys(this._utils.schemas)){let i=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(i.default(this._utils));"value"in t&&n.push({[e]:t.value})}}i();for(let e of Object.keys(this._utils.schemas)){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,s]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let s of i){let i=this._utils.schemas[s],o=i.preprocess(e[s],this._utils),a=r.normalizeValidateResult(i.validate(o,this._utils),o);if(!0!==a){let{value:e}=a,t=this._invalidHandler(s,e,this._utils);throw"string"==typeof t?new Error(t):t}let u=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},l=e=>{let{value:t,redirectTo:n}=e,a=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),o,!0);if(!1!==a)if(!0===a)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,n,this._utils));else for(let{value:e}of a){let t={key:s,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};r.normalizeForwardResult(i.forward(o,this._utils),o).forEach(u);let c=r.normalizeRedirectResult(i.redirect(o,this._utils),o);if(c.redirect.forEach(u),"remain"in c){let e=c.remain;t[s]=s in t?i.overlap(t[s],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of c.redirect)l({value:e,redirectTo:t})}for(let r of s){let i=e[r],s=this._unknownHandler(r,i,this._utils);if(s)for(let e of Object.keys(s)){let r={[e]:s[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),Mt=v({"node_modules/vnopts/lib/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(ht(),e),t.__exportStar(Et(),e),t.__exportStar(kt(),e),t.__exportStar(Ot(),e),t.__exportStar(xt(),e)}}),Lt=v({"src/main/options-normalizer.js"(e,t){w();var r,n=Mt(),i=F(),s={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?`--no-${t}`:!0===r?s.key(t):""===r?`${s.key(t)} without an argument`:`${s.key(t)}=${r}`}},o=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find((t=>r(t,e)<3));if(i)return n.logger.warn([`Unknown flag ${t.yellow(n.descriptor.value(e))},`,`did you mean ${t.blue(n.descriptor.value(i))}?`].join(" ")),i}return e}expected(){return"a flag"}}};function a(e,t){let{logger:i=!1,isCLI:o=!1,passThrough:a=!1,colorsModule:p=null,levenshteinDistance:h=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=a?Array.isArray(a)?(e,t)=>a.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let i=r.schemas,{_:s}=i,o=c(i,u);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:o}))},f=o?s:n.apiDescriptor,m=function(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,o=[];r&&o.push(n.AnySchema.create({name:"_"}));for(let t of e)o.push(l(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),t.alias&&r&&o.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}(t,{isCLI:o,colorsModule:p,levenshteinDistance:h}),g=new n.Normalizer(m,{logger:i,unknown:d,descriptor:f}),y=!1!==i;y&&r&&(g._hasDeprecationWarned=r);let b=g.normalize(e);return y&&(r=g._hasDeprecationWarned),o&&!1===b["plugin-search"]&&(b["plugin-search-dir"]=!1),b}function l(e,t){let{isCLI:r,optionInfos:s,colorsModule:a,levenshteinDistance:u}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return n.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},h={};switch(e.type){case"int":c=n.IntegerSchema,r&&(p.preprocess=Number);break;case"string":case"path":c=n.StringSchema;break;case"choice":c=n.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=n.BooleanSchema;break;case"flag":c=o({colorsModule:a,levenshteinDistance:u}),p.flags=s.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,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(h.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(h.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?i(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),h),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),h))}t.exports={normalizeApiOptions:function(e,t,r){return a(e,t,r)},normalizeCliOptions:function(e,t,r){return a(e,t,Object.assign({isCLI:!0},r))}}}}),Bt=v({"src/language-js/loc.js"(e,t){w();var r=ae();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:function(e,t){return s(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),Rt=v({"src/main/load-parser.js"(e,t){w(),t.exports=()=>{}}}),jt=v({"scripts/build/shims/babel-highlight.cjs"(e,t){w();var r=dt(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),$t=v({"node_modules/@babel/code-frame/lib/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=i,e.default=function(e,t,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";p.emitWarning?p.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return i(e,{start:{column:n=Math.max(n,0),line:t}},s)};var t=jt(),r=!1;var n=/\r\n|[\n\r\u2028\u2029]/;function i(e,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(i.highlightCode||i.forceColor)&&(0,t.shouldHighlight)(i),o=(0,t.getChalk)(i),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(o),u=(e,t)=>s?e(t):t,l=e.split(n),{start:c,end:p,markerLines:h}=function(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:o=3}=r||{},a=n.line,u=n.column,l=i.line,c=i.column,p=Math.max(a-(s+1),0),h=Math.min(t.length,l+o);-1===a&&(p=0),-1===l&&(h=t.length);let d=l-a,f={};if(d)for(let e=0;e<=d;e++){let r=e+a;if(u)if(0===e){let e=t[r-1].length;f[r]=[u,e-u+1]}else if(e===d)f[r]=[0,c];else{let n=t[r-e].length;f[r]=[0,n]}else f[r]=!0}else f[a]=u===c?!u||[u,0]:[u,c-u];return{start:p,end:h,markerLines:f}}(r,l,i),d=r.start&&"number"==typeof r.start.column,f=String(p).length,m=(s?(0,t.default)(e,i):e).split(n,p).slice(c,p).map(((e,t)=>{let r=c+1+t,n=` ${` ${r}`.slice(-f)} |`,s=h[r],o=!h[r+1];if(s){let t="";if(Array.isArray(s)){let r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),l=s[1]||1;t=["\n ",u(a.gutter,n.replace(/\d/g," "))," ",r,u(a.marker,"^").repeat(l)].join(""),o&&i.message&&(t+=" "+u(a.message,i.message))}return[u(a.marker,">"),u(a.gutter,n),e.length>0?` ${e}`:"",t].join("")}return` ${u(a.gutter,n)}${e.length>0?` ${e}`:""}`})).join("\n");return i.message&&!d&&(m=`${" ".repeat(f+1)}${i.message}\n${m}`),s?o.reset(m):m}}}),Ut=v({"src/main/parser.js"(e,t){w();var{ConfigError:r}=Oe(),n=Bt(),{locStart:i,locEnd:s}=(Rt(),n),o=Object.getOwnPropertyNames,a=Object.getOwnPropertyDescriptor;function u(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of o(r.parsers))Object.defineProperty(t,e,a(r.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:s};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}t.exports={parse:function(e,t){let r=u(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get:()=>r[e].parse}])))),i=l(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(t){let{loc:r}=t;if(r){let{codeFrameColumns:n}=$t();throw t.codeFrame=n(e,r,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t}},resolveParser:l}}}),zt=v({"src/main/options.js"(e,t){w();var r=_e(),{UndefinedParserError:n}=Oe(),{getSupportInfo:i}=oe(),s=Lt(),{resolveParser:o}=Ut(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function u(e,t){let n=r.basename(e).toLowerCase(),s=i({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));return s&&s.parsers[0]}t.exports={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),l=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,c=Object.assign(Object.assign({},a),Object.fromEntries(l.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=u(r.filepath,r.plugins),!r.parser)throw new n(`No parser could be inferred for file: ${r.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."),r.parser="babel";let p=o(s.normalizeApiOptions(r,[l.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=p.astFormat,r.locEnd=p.locEnd,r.locStart=p.locStart;let h=function(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find((e=>e.printers&&e.printers[t]));if(!r)throw new Error(`Couldn't find plugin for AST format "${t}"`);return r}(r);r.printer=h.printers[r.astFormat];let d=Object.fromEntries(l.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[h.name])).map((e=>[e.name,e.pluginDefaults[h.name]]))),f=Object.assign(Object.assign({},c),d);for(let[e,t]of Object.entries(f))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,l,Object.assign({passThrough:Object.keys(a)},t))},hiddenDefaults:a,inferParser:u}}}),Vt=v({"src/main/massage-ast.js"(e,t){w(),t.exports=function e(t,r,n){if(Array.isArray(t))return t.map((t=>e(t,r,n))).filter(Boolean);if(!t||"object"!=typeof t)return t;let i,s=r.printer.massageAstNode;i=s&&s.ignoredProperties?s.ignoredProperties:new Set;let o={};for(let[n,s]of Object.entries(t))!i.has(n)&&"function"!=typeof s&&(o[n]=e(s,r,t));if(s){let e=s(t,o,n);if(null===e)return;if(e)return e}return o}}}),Wt=v({"scripts/build/shims/assert.cjs"(e,t){w();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),Ht=v({"src/main/comments.js"(e,t){w();var r=Wt(),{builders:{line:n,hardline:i,breakParent:s,indent:o,lineSuffix:a,join:u,cursor:l}}=W(),{hasNewline:c,skipNewline:p,skipSpaces:h,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:g}=de(),y=new WeakMap;function b(e,t,r){if(!e)return;let{printer:n,locStart:i,locEnd:s}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(i(r[t])<=i(e)&&s(r[t])<=s(e));--t);return void r.splice(t+1,0,e)}}else if(y.has(e))return y.get(e);let o=n.getCommentChildNodes&&n.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){r||(r=[],y.set(e,r));for(let e of o)b(e,t,r);return r}}function v(e,t,r,n){let i,s,{locStart:o,locEnd:a}=r,u=o(t),l=a(t),c=b(e,r),p=0,h=c.length;for(;p<h;){let e=p+h>>1,n=c[e],d=o(n),f=a(n);if(d<=u&&l<=f)return v(n,t,r,n);if(f<=u)i=n,p=e+1;else{if(!(l<=d))throw new Error("Comment location overlaps with node location");s=n,h=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,o=T(e,t,r);i&&T(e,i,r)!==o&&(i=null),s&&T(e,s,r)!==o&&(s=null)}return{enclosingNode:n,precedingNode:i,followingNode:s}}var D=()=>!1;var E=e=>!/[\S\n\u2028\u2029]/.test(e);function x(e,t,r,n){let{comment:i,precedingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=o(i);if(s)for(let t=n-1;t>=0;t--){let{comment:n,precedingNode:i}=r[t];if(i!==s||!E(e.slice(a(n),u)))break;u=o(n)}return c(e,u,{backwards:!0})}function S(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=a(i);if(s)for(let t=n+1;t<r.length;t++){let{comment:n,followingNode:i}=r[t];if(i!==s||!E(e.slice(u,o(n))))break;u=a(n)}return c(e,u)}function C(e,t,n){let i=e.length;if(0===i)return;let s,{precedingNode:o,followingNode:a,enclosingNode:u}=e[0],l=n.printer.getGapRegex&&n.printer.getGapRegex(u)||/^[\s(]*$/,c=n.locStart(a);for(s=i;s>0;--s){let{comment:i,precedingNode:u,followingNode:p}=e[s-1];r.strictEqual(u,o),r.strictEqual(p,a);let h=t.slice(n.locEnd(i),c);if(!l.test(h))break;c=n.locStart(i)}for(let[t,{comment:r}]of e.entries())t<s?g(o,r):f(a,r);for(let e of[o,a])e.comments&&e.comments.length>1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function A(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function T(e,t,r){let n=r.locStart(t)-1;for(let t=1;t<e.length;++t)if(n<r.locStart(e[t]))return t-1;return 0}function P(e,t,r){let o=e.getValue();if(!o)return{};let u=o.comments||[];r&&(u=u.filter((e=>!r.has(e))));let f=o===t.cursorNode;if(0===u.length){let e=f?l:"";return{leading:e,trailing:e}}let m=[],g=[];return e.each((()=>{let o=e.getValue();if(r&&r.has(o))return;let{leading:u,trailing:l}=o;u?m.push(function(e,t){let r=e.getValue(),s=[A(e,t)],{printer:o,originalText:a,locStart:u,locEnd:l}=t;if(o.isBlockComment&&o.isBlockComment(r)){let e=c(a,l(r))?c(a,u(r),{backwards:!0})?i:n:" ";s.push(e)}else s.push(i);let d=p(a,h(a,l(r)));return!1!==d&&c(a,d)&&s.push(i),s}(e,t)):l&&g.push(function(e,t){let r=e.getValue(),n=A(e,t),{printer:o,originalText:u,locStart:l}=t,p=o.isBlockComment&&o.isBlockComment(r);if(c(u,l(r),{backwards:!0})){let e=d(u,r,l);return a([i,e?i:"",n])}let h=[" ",n];return p||(h=[a(h),s]),h}(e,t))}),"comments"),f&&(m.unshift(l),g.push(l)),{leading:m,trailing:g}}t.exports={attach:function(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:s,locEnd:o,printer:{handleComments:a={}}}=n,{avoidAstMutation:u,ownLine:l=D,endOfLine:c=D,remaining:p=D}=a,h=e.map(((i,s)=>Object.assign(Object.assign({},v(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===s})));for(let[e,t]of h.entries()){let r,{comment:n,precedingNode:a,enclosingNode:d,followingNode:y,text:b,options:v,ast:D,isLastComment:E}=t;if("json"===v.parser||"json5"===v.parser||"__js_expression"===v.parser||"__vue_expression"===v.parser||"__vue_ts_expression"===v.parser){if(s(n)-s(D)<=0){f(D,n);continue}if(o(n)-o(D)>=0){g(D,n);continue}}if(u?r=[t]:(n.enclosingNode=d,n.precedingNode=a,n.followingNode=y,r=[n,b,v,D,E]),x(b,v,h,e))n.placement="ownLine",l(...r)||(y?f(y,n):a?g(a,n):m(d||D,n));else if(S(b,v,h,e))n.placement="endOfLine",c(...r)||(a?g(a,n):y?f(y,n):m(d||D,n));else if(n.placement="remaining",!p(...r))if(a&&y){let e=i.length;e>0&&i[e-1].followingNode!==y&&C(i,b,v),i.push(t)}else a?g(a,n):y?f(y,n):m(d||D,n)}if(C(i,r,n),!u)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,r,n){let{leading:i,trailing:s}=P(e,r,n);return i||s?[i,t,s]:t},printCommentsSeparately:P,printDanglingComments:function(e,t,r,n){let s=[],a=e.getValue();return a&&a.comments&&(e.each((()=>{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&s.push(A(e,t))}),"comments"),0!==s.length)?r?u(i,s):o([i,u(i,s)]):""},getSortedChildNodes:b,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}}}}}),qt=v({"src/common/ast-path.js"(e,t){w();var r=F();function n(e,t){let r=i(e.stack,t);return-1===r?null:e.stack[r]}function i(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}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 r(this.stack)}getNode(){return n(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return n(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);let u=e(this);return t.length=n,u}callParent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),s=e(this);return this.stack.push(...n),s}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);for(let r=0;r<i.length;++r)t.push(r,i[r]),e(this,r,i),t.length-=2;t.length=n}map(e){let t=[];for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this.each(((r,n,i)=>{t[n]=e(r,n,i)}),...n),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];for(let n of i){if(void 0===r)return!1;let i=null;if("number"==typeof t&&(i=t,t=this.stack[e--],r=this.stack[e--]),n&&!n(r,t,i))return!1;t=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(;n;){let i=null;if("number"==typeof r&&(i=r,r=this.stack[t--],n=this.stack[t--]),null!==r&&e(n,r,i))return n;r=this.stack[t--],n=this.stack[t--]}}}}}),Gt=v({"src/main/multiparser.js"(e,t){w();var{utils:{stripTrailingHardline:r}}=W(),{normalize:n}=zt(),i=Ht();t.exports={printSubtree:function(e,t,s,o){if(s.printer.embed&&"auto"===s.embeddedLanguageFormatting)return s.printer.embed(e,t,((e,t,a)=>function(e,t,s,o){let{stripTrailingHardline:a=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=n(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),l=Ut().parse(e,u),{ast:c}=l;e=l.text;let p=c.comments;delete c.comments,i.attach(p,c,e,u),u[Symbol.for("comments")]=p||[],u[Symbol.for("tokens")]=c.tokens||[];let h=o(c,u);return i.ensureAllCommentsPrinted(p),a?"string"==typeof h?h.replace(/(?:\r?\n)*$/,""):r(h):h}(e,t,s,o,a)),s)}}}}),Kt=v({"src/main/ast-to-doc.js"(e,t){w();var r=qt(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:s}}=W(),{printComments:o}=Ht(),a=Gt();function u(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:c}=t;c.preprocess&&(e=c.preprocess(e,t));let p=new Map,h=new r(e),d=f();return l>0&&(d=i([n,d],l,t.tabWidth)),s(d),d;function f(e,t){return void 0===e||e===h?m(t):Array.isArray(e)?h.call((()=>m(t)),...e):h.call((()=>m(t)),e)}function m(e){let r=h.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&p.has(r))return p.get(r);let i=function(e,t,r,n){let i,s,l=e.getValue(),{printer:c}=t;if(c.hasPrettierIgnore&&c.hasPrettierIgnore(e))({doc:i,printedComments:s}=function(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:s}=t,o=i(e),a=s(e),u=new Set;for(let e of n)i(e)>=o&&s(e)<=a&&(e.printed=!0,u.add(e));return{doc:r.slice(o,a),printedComments:u}}(l,t));else{if(l)try{i=a.printSubtree(e,r,t,u)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}i||(i=c.print(e,t,r,n))}return(!c.willPrintOwnComments||!c.willPrintOwnComments(e,t))&&(i=o(e,i,t,s)),i}(h,t,f,e);return n&&p.set(r,i),i}}t.exports=u}}),Xt=v({"src/main/range-util.js"(e,t){w();var r=Wt(),n=Ht();function i(e){let t=e.length-1;for(;;){let r=e[t];if(!r||"Program"!==r.type&&"File"!==r.type)break;t--}return e.slice(0,t+1)}function s(e,t,r,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,{locStart:u,locEnd:l}=r,c=u(e),p=l(e);if(!(t>p||t<c||"rangeEnd"===a&&t===c||"rangeStart"===a&&t===p)){for(let u of n.getSortedChildNodes(e,r)){let n=s(u,t,r,i,[e,...o],a);if(n)return n}if(!i||i(e,o[0]))return{node:e,parentNodes:o}}}var o=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),a=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function u(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,r&&r.type);case"json":case"json5":case"json-stringify":return o.has(t.type);case"graphql":return a.has(t.kind);case"vue":return"root"!==t.tag}return!1}t.exports={calculateRange:function(e,t,n){let{rangeStart:a,rangeEnd:l,locStart:c,locEnd:p}=t;r.ok(l>a);let h=e.slice(a,l).search(/\S/),d=-1===h;if(!d)for(a+=h;l>a&&!/\S/.test(e[l-1]);--l);let f,m,g=s(n,a,t,((e,r)=>u(t,e,r)),[],"rangeStart"),y=d?g:s(n,l,t,(e=>u(t,e)),[],"rangeEnd");if(!g||!y)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 r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((e=>o.has(e.type)&&n.has(e)))}(g,y);f=e,m=e}else({startNode:f,endNode:m}=function(e,t,r){let{locStart:n,locEnd:s}=r,o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let u=n(e.node);for(let e of i(t.parentNodes)){if(!(n(e)>=u))break;a=e}let l=s(t.node);for(let t of i(e.parentNodes)){if(!(s(t)<=l))break;if(o=t,o===a)break}return{startNode:o,endNode:a}}(g,y,t));return{rangeStart:Math.min(c(f),c(m)),rangeEnd:Math.max(p(f),p(m))}},findNodeAtOffset:s}}}),Jt=v({"src/main/core.js"(e,t){w();var{diffArrays:r}=A(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=W(),{getAlignmentSize:s}=de(),{guessEndOfLine:o,convertEndOfLineToChars:a,countEndOfLineChars:u,normalizeEndOfLine:l}=P(),c=zt().normalize,p=Vt(),h=Ht(),d=Ut(),f=Kt(),m=Xt(),g=Symbol("cursor");function y(e,t,r){let n=t.comments;return n&&(delete t.comments,h.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function b(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:s,text:o}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(s,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let u=y(o,s,t),l=f(s,t,i),c=n(l,t);if(h.ensureAllCommentsPrinted(u),i>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,n,i,s,a;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,s=c.cursorNodeStart,a=c.cursorNodeText):(e=0,n=o,i=t.cursorOffset,s=0,a=c.formatted),n===a)return{formatted:c.formatted,cursorOffset:s+i,comments:u};let l=[...n];l.splice(i,0,g);let p=[...a],h=r(l,p),d=s;for(let e of h)if(e.removed){if(e.value.includes(g))break}else d+=e.count;return{formatted:c.formatted,cursorOffset:d,comments:u}}return{formatted:c.formatted,cursorOffset:-1,comments:u}}function v(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function D(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=v(e,r,-1),n=v(e,n,0),i=v(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function E(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=D(e,t),a="\ufeff"===e.charAt(0);if(a&&(e=e.slice(1),r--,n--,i--),"auto"===s&&(s=o(e)),e.includes("\r")){let t=t=>u(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=l(e)}return{hasBOM:a,text:e,options:D(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}))}}function x(e,t){let r=d.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function S(e,t){let r,{hasBOM:n,text:i,options:o}=E(e,c(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!x(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<i.length?r=function(e,t){let{ast:r,text:n}=d.parse(e,t),{rangeStart:i,rangeEnd:o}=m.calculateRange(n,t,r),l=n.slice(i,o),c=Math.min(i,n.lastIndexOf("\n",i)+1),p=n.slice(c,i).match(/^\s*/)[0],h=s(p,t.tabWidth),f=b(l,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"}),h),g=f.formatted.trimEnd(),{cursorOffset:y}=t;y>o?y+=g.length-l.length:f.cursorOffset>=0&&(y=f.cursorOffset+i);let v=n.slice(0,i)+g+n.slice(o);if("lf"!==t.endOfLine){let e=a(t.endOfLine);y>=0&&"\r\n"===e&&(y+=u(v.slice(0,y),"\n")),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:y,comments:f.comments}}(i,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!x(i,o)&&(i=o.printer.insertPragma(i)),r=b(i,o)),n&&(r.formatted="\ufeff"+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:S,parse(e,t,r){let{text:n,options:i}=E(e,c(t)),s=d.parse(n,i);return r&&(s.ast=p(s.ast,i)),s},formatAST(e,t){t=c(t);let r=f(e,t);return n(r,t)},formatDoc:(e,t)=>S(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:r,text:n}=d.parse(e,t);return y(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,c(t))}}}),Yt=v({"src/common/util-shared.js"(e,t){w();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:E,addLeadingComment:x,addDanglingComment:S,addTrailingComment:C}=de();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:E,addLeadingComment:x,addDanglingComment:S,addTrailingComment:C}}}),Zt=v({"src/utils/create-language.js"(e,t){w(),t.exports=function(e,t){let{languageId:r}=e,n=c(e,l);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),Qt=v({"node_modules/esutils/lib/ast.js"(e,t){w(),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 r(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=r(t)}while(t);return!1},trailingStatement:r}}()}}),er=v({"node_modules/esutils/lib/code.js"(e,t){w(),function(){var e,r,n,i,s,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(r={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]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(s=new Array(128),o=0;o<128;++o)s[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&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(a(t))},isIdentifierPartES6:function(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(a(t))}}}()}}),tr=v({"node_modules/esutils/lib/keyword.js"(e,t){w(),function(){var e=er();function r(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(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 i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(t){var r,n,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(r=1,n=t.length;r<n;++r)if(i=t.charCodeAt(r),!e.isIdentifierPartES5(i))return!1;return!0}function a(e,t){return 1024*(e-55296)+(t-56320)+65536}function u(t){var r,n,i,s,o;if(0===t.length)return!1;for(o=e.isIdentifierStartES6,r=0,n=t.length;r<n;++r){if(55296<=(i=t.charCodeAt(r))&&i<=56319){if(++r>=n||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;i=a(i,s)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:i,isReservedWordES6:s,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:u,isIdentifierES5:function(e,t){return o(e)&&!i(e,t)},isIdentifierES6:function(e,t){return u(e)&&!s(e,t)}}}()}}),rr=v({"node_modules/esutils/lib/utils.js"(e){w(),e.ast=Qt(),e.code=er(),e.keyword=tr()}}),nr=v({"src/language-js/utils/is-block-comment.js"(e,t){w();var r=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>r.has(null==e?void 0:e.type)}}),ir=v({"src/language-js/utils/is-node-matches.js"(e,t){w(),t.exports=function(e,t){return t.some((t=>function(e,t){let r=t.split(".");for(let t=r.length-1;t>=0;t--){let n=r[t];if(0===t)return"Identifier"===e.type&&e.name===n;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}(e,t)))}}}),sr=v({"src/language-js/utils/index.js"(e,t){w();var r=rr().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:s,isNonEmptyArray:o,isNextLineEmptyAfterIndex:a,getStringWidth:u}=de(),{locStart:l,locEnd:c,hasSameLocStart:p}=Bt(),h=nr(),d=ir(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),g=new RegExp(`^${f}*::`);function y(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var b=y(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),v=y(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);var D=y(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function E(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function x(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var S=y(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),C=y(["FunctionExpression","ArrowFunctionExpression"]);function A(e){return _(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var T=y(["JSXElement","JSXFragment"]);function P(e){return"get"===e.kind||"set"===e.kind}function F(e){return P(e)||p(e,e.value)}var I=y(["BinaryExpression","LogicalExpression","NGPipeExpression"]);var N=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 k=["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 _=y(["CallExpression","OptionalCallExpression"]),O=y(["MemberExpression","OptionalMemberExpression"]);function M(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function L(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function B(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}var R={"==":!0,"!=":!0,"===":!0,"!==":!0},j={"*":!0,"/":!0,"%":!0},$={">>":!0,">>>":!0,"<<":!0};var U=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function z(e){return U.get(e)}var V=new WeakMap;function W(e){if(V.has(e))return V.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),V.set(e,t),t}var H=new WeakMap;function q(e){if(H.has(e))return H.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),H.set(e,t),t}function G(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function K(e){return e&&(e.prettierIgnore||Y(e,X.PrettierIgnore))}var X={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},J=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&X.Leading&&!r.leading||e&X.Trailing&&!r.trailing||e&X.Dangling&&(r.leading||r.trailing)||e&X.Block&&!h(r)||e&X.Line&&!b(r)||e&X.First&&0!==n||e&X.Last&&n!==i.length-1||e&X.PrettierIgnore&&!G(r)||t&&!t(r))};function Y(e,t,r){if(!o(null==e?void 0:e.comments))return!1;let n=J(t,r);return!n||e.comments.some(n)}function Z(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=J(t,r);return n?e.comments.filter(n):e.comments}function Q(e){return _(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var ee=Symbol("ifWithoutBlockAndSameLineComment");function te(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:W,iterateFunctionParametersPath:function(e,t){let r=e.getValue(),n=0,i=e=>t(e,n++);r.this&&e.call(i,"this"),Array.isArray(r.parameters)?e.each(i,"parameters"):Array.isArray(r.params)&&e.each(i,"params"),r.rest&&e.call(i,"rest")},getCallArguments:q,iterateCallArgumentsPath:function(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call((e=>t(e,0)),"source"),r.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){var t;if(e.rest)return!0;let r=W(e);return"RestElement"===(null===(t=n(r))||void 0===t?void 0:t.type)},getLeftSide:function(e){var t,r,n,i,s,o;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e.left)&&void 0!==o?o:e.test)&&void 0!==s?s:e.callee)&&void 0!==i?i:e.object)&&void 0!==n?n:e.tag)&&void 0!==r?r: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()&&v(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 h(t)&&g.test(t.value)},hasFlowShorthandAnnotationComment:function(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&h(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&m.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return T(t)?K(t):Y(t,X.Leading,(t=>i(e,c(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||_(e)||O(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||te(e)||"TSNonNullExpression"===e.type},hasNode:function e(t,r){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,r)));let n=r(t);return"boolean"==typeof n?n:Object.values(t).some((t=>e(t,r)))},hasIgnoreComment:function(e){return K(e.getValue())},hasNodeIgnoreComment:K,identity:function(e){return e},isBinaryish:I,isCallLikeExpression:Q,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:b,isPrettierIgnoreComment:G,isCallExpression:_,isMemberExpression:O,isExportDeclaration:v,isFlowAnnotationComment:function(e,t){let r=l(t),n=s(e,c(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(C(r)){if(t+=1,t>1)return!0}else if(_(r))for(let e of r.arguments)if(C(e))return!0;return!1},isFunctionNotation:F,isFunctionOrArrowExpression:C,isGetterOrSetter:P,isJestEachTemplateLiteral:function(e,t){let r=/^[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&&r.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&&r.test(t.tag.object.object.name))},isJsxNode:T,isLiteral:D,isLongCurriedCallExpression:function(e){let t=e.getValue(),r=e.getParentNode();return _(t)&&_(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0},isSimpleCallArgument:function e(t,r){if(r>=2)return!1;let n=t=>e(t,r+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&u(i)>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(n):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&n(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||n(e))):Q(t)?("ImportExpression"===t.type||e(t.callee,r))&&q(t).every(n):O(t)?e(t.object,r)&&e(t.property,r):"UnaryExpression"===t.type&&{"!":!0,"-":!0,"+":!0,"~":!0}[t.operator]||"UpdateExpression"===t.type&&{"++":!0,"--":!0}[t.operator]?e(t.argument,r):"TSNonNullExpression"===t.type&&e(t.expression,r)))},isMemberish:function(e){return O(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:E,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&E(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:S,isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||F(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!N.has(e.type))},isSimpleNumber:M,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(Y(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(O(e)){let t=e;for(;O(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,Y(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:x,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&x(e.key)&&B(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||M(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&&L(e)||"TaggedTemplateExpression"===e.type&&L(e.quasi))&&!i(t,l(e),{backwards:!0})},isTestCall:function e(t,r){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(A(t)&&r&&e(r))return C(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 A(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("TemplateLiteral"===t.arguments[0].type||x(t.arguments[0]))&&function(e){return d(e,k)}(t.callee))return!(t.arguments[2]&&!E(t.arguments[2]))&&((2===t.arguments.length?C(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)||A(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!T(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.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:r}=t;return a(r,c(e))},needsHardlineAfterDanglingComment:function(e){if(!Y(e))return!1;let t=n(Z(e,X.Dangling));return t&&!h(t)},rawText:B,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!(z(t)!==z(e)||"**"===e||R[e]&&R[t]||"%"===t&&j[e]||"%"===e&&j[t]||t!==e&&j[t]&&j[e]||$[e]&&$[t])},startsWithNoLookaheadToken:function e(t,r){switch(t.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return e(t.left,r);case"MemberExpression":case"OptionalMemberExpression":return e(t.object,r);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,r);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,r);case"ConditionalExpression":return e(t.test,r);case"UpdateExpression":return!t.prefix&&e(t.argument,r);case"BindExpression":return t.object&&e(t.object,r);case"SequenceExpression":return e(t.expressions[0],r);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,r);default:return r(t)}},getPrecedence:z,hasComment:Y,getComments:Z,CommentCheckFlags:X,markerForIfWithoutBlockAndSameLineComment:ee,isTSTypeExpression:te}}}),or=v({"src/language-js/print/template-literal.js"(e,t){w();var r=F(),{getStringWidth:n,getIndentSize:i}=de(),{builders:{join:s,hardline:o,softline:a,group:u,indent:l,align:c,lineSuffixBoundary:p,addAlignmentToDoc:h},printer:{printDocToString:d},utils:{mapDoc:f}}=W(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:y,hasComment:b,isMemberExpression:v,isTSTypeExpression:D}=sr();function E(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,f){let E=e.getValue();if("TemplateLiteral"===E.type&&g(E,e.getParentNode())){let i=function(e,t,i){let a=e.getNode(),u=a.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(u.length>1||u.some((e=>e.length>0))){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let h=[],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;e<a.quasis.length;e++){let t=r(m),n=f[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),a.quasis[e].value.raw.includes("\n")&&m.push({hasLineBreak:!1,cells:[]})}let g=Math.max(u.length,...m.map((e=>e.cells.length))),y=Array.from({length:g}).fill(0),b=[{cells:u},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of b.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())y[t]=Math.max(y[t],n(r));return h.push(p,"`",l([o,s(o,b.map((e=>s(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(y[r]-n(t))))))))]),o,"`"),h}}(e,f,t);if(i)return i}let x="expressions";"TSTemplateLiteralType"===E.type&&(x="types");let w=[],S=e.map(t,x),C=y(E);return C&&(S=S.map((e=>d(e,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),w.push(p,"`"),e.each((e=>{let r=e.getName();if(w.push(t()),r<S.length){let{tabWidth:t}=f,n=e.getValue(),s=i(n.value.raw,t),o=S[r];if(!C){let e=E[x][r];(b(e)||v(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||D(e)||m(e))&&(o=[l([a,o]),a])}let d=0===s&&n.value.raw.endsWith("\n")?c(Number.NEGATIVE_INFINITY,o):h(o,s,t);w.push(u(["${",d,p,"}"]))}}),"quasis"),w.push("`"),w},printTemplateExpressions:function(e,t){return e.map((e=>function(e,t){let r=e.getValue(),n=t();return b(r)&&(n=u([l([a,n]),a])),["${",n,p,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return f(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):E(e):e))},uncookTemplateElementValue:E}}}),ar=v({"src/language-js/embed/markdown.js"(e,t){w();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:s}}=W(),{escapeTemplateCharacters:o}=or();t.exports=function(e,t,a){let u=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]}(u),c=""!==l;c&&(u=u.replace(new RegExp(`^${l}`,"gm"),""));let p=o(a(u,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",c?r([n,p]):[i,s(p)],n,"`"]}}}),ur=v({"src/language-js/embed/css.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{indent:n,hardline:i,softline:s},utils:{mapDoc:o,replaceEndOfLine:a,cleanDoc:u}}=W(),{printTemplateExpressions:l}=or();t.exports=function(e,t,c){let p=e.getValue(),h=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(!r(t))return e;let n=0,i=o(u(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?a(e):(n++,t[e]))):e));return t.length===n?i:null}(e,l);if(!c)throw new Error("Couldn't insert all the expressions");return["`",n([i,c]),s,"`"]}(c(h.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+d+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),p,l(e,t))}}}),lr=v({"src/language-js/embed/graphql.js"(e,t){w();var{builders:{indent:r,join:n,hardline:i}}=W(),{escapeTemplateCharacters:s,printTemplateExpressions:o}=or();function a(e){let t=[],r=!1,s=e.map((e=>e.trim()));for(let[e,n]of s.entries())""!==n&&(""===s[e-1]&&r?t.push([i,n]):t.push(n),r=!0);return 0===t.length?null:n(i,t)}t.exports=function(e,t,u){let l=e.getValue(),c=l.quasis.length;if(1===c&&""===l.quasis[0].value.raw.trim())return"``";let p=o(e,t),h=[];for(let e=0;e<c;e++){let t=0===e,r=e===c-1,n=l.quasis[e].value.cooked,i=n.split("\n"),o=i.length,d=p[e],f=o>2&&""===i[0].trim()&&""===i[1].trim(),m=o>2&&""===i[o-1].trim()&&""===i[o-2].trim(),g=i.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!r&&/#[^\n\r]*$/.test(i[o-1]))return null;let y=null;y=g?a(i):u(n,{parser:"graphql"},{stripTrailingHardline:!0}),y?(y=s(y,!1),!t&&f&&h.push(""),h.push(y),!r&&m&&h.push("")):!t&&!r&&f&&h.push(""),d&&h.push(d)}return["`",r([i,n(i,h)]),i,"`"]}}}),cr=v({"src/language-js/embed/html.js"(e,t){w();var{builders:{indent:r,line:n,hardline:i,group:s},utils:{mapDoc:o}}=W(),{printTemplateExpressions:a,uncookTemplateElementValue:u}=or(),l=0;t.exports=function(e,t,c,p,h){let{parser:d}=h,f=e.getValue(),m=l;l=l+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,y=f.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+g(t))).join(""),b=a(e,t);if(0===b.length&&0===y.trim().length)return"``";let v=new RegExp(g("(\\d+)"),"g"),D=0,E=c(y,{parser:d,__onHtmlRoot(e){D=e.children.length}},{stripTrailingHardline:!0}),x=o(E,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(v);for(let e=0;e<r.length;e++){let n=r[e];if(e%2==0){n&&(n=u(n),p.__embeddedInHtml&&(n=n.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(n));continue}let i=Number(n);t.push(b[i])}return t})),w=/^\s/.test(y)?" ":"",S=/\s$/.test(y)?" ":"",C="ignore"===p.htmlWhitespaceSensitivity?i:w&&S?n:null;return s(C?["`",r([C,s(x)]),C,"`"]:["`",w,D>1?r(s(x)):s(x),S,"`"])}}}),pr=v({"src/language-js/embed.js"(e,t){w();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=sr(),s=ar(),o=ur(),a=lr(),u=cr();function l(e){return function(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.openingElement.attributes.some((e=>"jsx"===e.name.name))||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}(e)||function(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return p(r.object)||h(r);case"CallExpression":return p(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(p(r.callee.object.object)||h(r.callee.object))||"CallExpression"===r.callee.object.type&&p(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}(e)||function(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...c)}(e)?"css":function(e){let t=e.getValue(),r=e.getParentNode();return d(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.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)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...c)}(e)?"angular":function(e){let t=e.getValue(),r=e.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===t.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.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 h(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function d(e,t){return r(e,n.Block|n.Leading,(e=>{let{value:r}=e;return r===` ${t} `}))}t.exports=function(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||function(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}(i))return;let c=l(e);if(c){if("markdown"===c)return s(e,t,r);if("css"===c)return o(e,t,r);if("graphql"===c)return a(e,t,r);if("html"===c||"angular"===c)return u(e,t,r,n,{parser:c})}}}}),hr=v({"src/language-js/clean.js"(e,t){w();var r=nr(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function s(e,t,n){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:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&i(r);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(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 s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&i(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&i(n.value)}}var o;return"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)&&i(t.quasi),"TemplateLiteral"===e.type&&((null===(o=e.leadingComments)||void 0===o?void 0:o.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `)))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&i(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}s.ignoredProperties=n,t.exports=s}}),dr={};function fr(){if(typeof Pr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])Pr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");Pr="LE"}}return Pr}function mr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function gr(){return[]}function yr(){return 0}function br(){return Number.MAX_VALUE}function vr(){return Number.MAX_VALUE}function Dr(){return[]}function Er(){return"Browser"}function xr(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function wr(){}function Sr(){}function Cr(){return"javascript"}function Ar(){return"browser"}function Tr(){return"/tmp"}D(dr,{EOL:()=>Ir,arch:()=>Cr,cpus:()=>Dr,default:()=>Nr,endianness:()=>fr,freemem:()=>br,getNetworkInterfaces:()=>Sr,hostname:()=>mr,loadavg:()=>gr,networkInterfaces:()=>wr,platform:()=>Ar,release:()=>xr,tmpDir:()=>Tr,tmpdir:()=>Fr,totalmem:()=>vr,type:()=>Er,uptime:()=>yr});var Pr,Fr,Ir,Nr,kr=b({"node-modules-polyfills:os"(){w(),Nr={EOL:Ir="\n",tmpdir:Fr=Tr,tmpDir:Tr,networkInterfaces:wr,getNetworkInterfaces:Sr,release:xr,type:Er,cpus:Dr,totalmem:vr,freemem:br,uptime:yr,loadavg:gr,hostname:mr,endianness:fr}}}),_r=v({"node-modules-polyfills-commonjs:os"(e,t){w();var r=(kr(),x(dr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Or=v({"node_modules/detect-newline/index.js"(e,t){w();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),Mr=v({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=_r();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(Or());return r=function(){return e},e}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(s);return t?t[0].trimLeft():""},e.parse=function(e){return h(e).pragmas},e.parseWithComments=h,e.print=function(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o=" *",a=Object.keys(i),u=a.map((e=>d(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${o} ${e}${s}`)).join("");if(!n){if(0===a.length)return"";if(1===a.length&&!Array.isArray(i[a[0]])){let e=i[a[0]];return`/** ${d(a[0],e)[0]} */`}}let l=n.split(s).map((e=>`${o} ${e}`)).join(s)+s;return"/**"+s+(n?l:"")+(n&&a.length?o+s:"")+u+" */"},e.strip=function(e){let t=e.match(s);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*?/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,a=/^(\r?\n)+/,u=/(?:^|\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 h(e){let s=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(c,"$1");let h="";for(;h!==e;)h=e,e=e.replace(u,`${s}$1 $2${s}`);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()))}}}),Lr=v({"src/language-js/utils/get-shebang.js"(e,t){w(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),Br=v({"src/language-js/pragma.js"(e,t){w();var{parseWithComments:r,strip:n,extract:i,print:s}=Mr(),{normalizeEndOfLine:o}=P(),a=Lr();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}}}}),Rr=v({"src/language-js/utils/is-type-cast-comment.js"(e,t){w();var r=nr();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),jr=v({"src/language-js/comments.js"(e,t){w();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:o,addLeadingComment:a,addTrailingComment:u,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=de(),{getFunctionParameters:h,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:y,isCallLikeExpression:b,getCallArguments:v,isCallExpression:D,isMemberExpression:E,isObjectProperty:x,isLineComment:S,getComments:C,CommentCheckFlags:A,markerForIfWithoutBlockAndSameLineComment:T}=sr(),{locStart:P,locEnd:F}=Bt(),I=nr(),N=Rr();function k(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?a(r,t):l(e,t)}function _(e,t){"BlockStatement"===e.type?k(e,t):a(e,t)}function O(e){let{comment:t,followingNode:r}=e;return!(!r||!N(t)||(a(r,t),0))}function M(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;if("IfStatement"!==(null==n?void 0:n.type)||!i)return!1;if(")"===s(o,t,F))return u(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)u(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===r.loc.start.line;e&&i?l(r,t,T):l(n,t)}return!0}return"BlockStatement"===i.type?(k(i,t),!0):"IfStatement"===i.type?(_(i.consequent,t),!0):n.consequent===i&&(a(i,t),!0)}function L(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;return!("WhileStatement"!==(null==n?void 0:n.type)||!i||(")"===s(o,t,F)?(u(r,t),0):"BlockStatement"===i.type?(k(i,t),0):n.body!==i||(a(i,t),0)))}function B(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TryStatement"!==(null==n?void 0:n.type)&&"CatchClause"!==(null==n?void 0:n.type)||!i||("CatchClause"===n.type&&r?(u(r,t),0):"BlockStatement"===i.type?(k(i,t),0):"TryStatement"===i.type?(_(i.finalizer,t),0):"CatchClause"!==i.type||(_(i.body,t),0)))}function R(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!E(r)||"Identifier"!==(null==n?void 0:n.type)||(a(r,t),0))}function j(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}=e,u=r&&!o(s,F(r),P(t));return!(r&&u||"ConditionalExpression"!==(null==n?void 0:n.type)&&"TSConditionalType"!==(null==n?void 0:n.type)||!i||(a(i,t),0))}function $(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!x(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type||(u(n.value.left,t),0))}var U=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function z(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:s}=e;if(U.has(null==i?void 0:i.type)){if(p(i.decorators)&&(!s||"Decorator"!==s.type))return u(r(i.decorators),t),!0;if(i.body&&s===i.body)return k(i.body,t),!0;if(s){if(i.superClass&&s===i.superClass&&n&&(n===i.id||n===i.typeParameters))return u(n,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&s===i[e][0])return!n||n!==i.id&&n!==i.typeParameters&&n!==i.superClass?l(i,t,e):u(n,t),!0}}return!1}var V=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function W(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!!(n&&r&&"("===s(i,t,F)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==s(i,r,F)||"Decorator"===(null==r?void 0:r.type)&&V.has(null==n?void 0:n.type))&&(u(r,t),!0)}var H=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function q(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!("("!==s(i,t,F)||!r||!H.has(null==n?void 0:n.type)||(u(r,t),0))}function G(e){let{comment:t,enclosingNode:r,text:n}=e;if("ArrowFunctionExpression"!==(null==r?void 0:r.type))return!1;let i=c(n,t,F);return!1!==i&&"=>"===n.slice(i,i+2)&&(l(r,t),!0)}function K(e){let{comment:t,enclosingNode:r,text:n}=e;return!(")"!==s(n,t,F)||(r&&(he(r)&&0===h(r).length||b(r)&&0===v(r).length)?(l(r,t),0):"MethodDefinition"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||0!==h(r.value).length||(l(r.value,t),0)))}function X(e){let{comment:t,precedingNode:n,enclosingNode:o,followingNode:a,text:l}=e;if("FunctionTypeParam"===(null==n?void 0:n.type)&&"FunctionTypeAnnotation"===(null==o?void 0:o.type)&&"FunctionTypeParam"!==(null==a?void 0:a.type)||("Identifier"===(null==n?void 0:n.type)||"AssignmentPattern"===(null==n?void 0:n.type))&&o&&he(o)&&")"===s(l,t,F))return u(n,t),!0;if("FunctionDeclaration"===(null==o?void 0:o.type)&&"BlockStatement"===(null==a?void 0:a.type)){let e=(()=>{let e=h(o);if(e.length>0)return i(l,F(r(e)));let t=i(l,F(o.id));return!1!==t&&i(l,t+1)})();if(P(t)>e)return k(a,t),!0}return!1}function J(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(a(r,t),!0)}function Y(e){let{comment:t,enclosingNode:r}=e;return!("ContinueStatement"!==(null==r?void 0:r.type)&&"BreakStatement"!==(null==r?void 0:r.type)||r.label||(u(r,t),0))}function Z(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(D(n)&&r&&n.callee===r&&n.arguments.length>0)&&(a(n.arguments[0],t),!0)}function Q(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"UnionTypeAnnotation"===(null==n?void 0:n.type)||"TSUnionType"===(null==n?void 0:n.type)?(d(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!r&&(u(r,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&d(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ee(e){let{comment:t,enclosingNode:r}=e;return!!x(r)&&(a(r,t),!0)}function te(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:s}=e;return i&&i.body&&0===i.body.length?(s?l(i,t):a(i,t),!0):"Program"!==(null==r?void 0:r.type)||0!==(null==r?void 0:r.body.length)||p(r.directives)?"Program"===(null==n?void 0:n.type)&&0===(null==n?void 0:n.body.length)&&"ModuleExpression"===(null==r?void 0:r.type)&&(l(n,t),!0):(s?l(r,t):a(r,t),!0)}function re(e){let{comment:t,enclosingNode:r}=e;return("ForInStatement"===(null==r?void 0:r.type)||"ForOfStatement"===(null==r?void 0:r.type))&&(a(r,t),!0)}function ne(e){let{comment:t,precedingNode:r,enclosingNode:i,text:s}=e;if("ImportSpecifier"===(null==i?void 0:i.type)||"ExportSpecifier"===(null==i?void 0:i.type))return a(i,t),!0;let o="ImportSpecifier"===(null==r?void 0:r.type)&&"ImportDeclaration"===(null==i?void 0:i.type),l="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!o&&!l||!n(s,F(t))||(u(r,t),0))}function ie(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(a(r,t),!0)}var se=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),oe=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ae(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!se.has(null==r?void 0:r.type)||!n||!oe.has(n.type)&&!I(t)||(a(n,t),0))}function ue(e){let{comment:t,enclosingNode:r,followingNode:n,text:i}=e;return!(n||"TSMethodSignature"!==(null==r?void 0:r.type)&&"TSDeclareFunction"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||";"!==s(i,t,F)||(u(r,t),0))}function le(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(d(t)&&"TSMappedType"===(null==r?void 0:r.type)&&"TSTypeParameter"===(null==n?void 0:n.type)&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function ce(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TSMappedType"!==(null==n?void 0:n.type)||("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(a(i.name,t),0):"TSTypeParameter"!==(null==r?void 0:r.type)||!r.constraint||(u(r.constraint,t),0)))}function pe(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||!n||n!==r.consequent[0]||("BlockStatement"===n.type&&S(t)?k(n,t):l(r,t),0))}function he(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}t.exports={handleOwnLineComment:function(e){return[le,X,R,M,L,B,z,re,Q,te,ne,ie,W,J,Y].some((t=>t(e)))},handleEndOfLineComment:function(e){return[O,X,j,ne,M,L,B,z,J,Z,ee,te,ae,Y,pe].some((t=>t(e)))},handleRemainingComment:function(e){return[le,M,L,$,K,W,te,G,q,ce,Y,ue].some((t=>t(e)))},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===h(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(),r=e.getParentNode();return(t&&(f(t)||m(t)||D(r)&&(g(C(n=t,A.Leading))||g(C(n,A.Trailing))))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!y(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type);var n}}}}),$r=v({"src/language-js/needs-parens.js"(e,t){w();var r=F(),n=ae(),{getFunctionParameters:i,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:a,hasNode:u,isBitwiseOperator:l,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:h,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:g}=sr();function y(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(a)&&b(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"===s&&("async"===a.name&&!r.await||"let"===a.name)&&"ForOfStatement"===r.type)return!0;if("let"===a.name){var y;let t=null===(y=e.findAncestor((e=>"ForOfStatement"===e.type)))||void 0===y?void 0:y.left;if(t&&c(t,(e=>e===a)))return!0}if("object"===s&&"let"===a.name&&"MemberExpression"===r.type&&r.computed&&!r.optional){let t=e.findAncestor((e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type)),r=t?"ExpressionStatement"===t.type?t.expression:"ForStatement"===t.type?t.init:t.left:void 0;if(r&&c(r,(e=>e===a)))return!0}return!1}if("ObjectExpression"===a.type||"FunctionExpression"===a.type||"ClassExpression"===a.type||"DoExpression"===a.type){var D;let t=null===(D=e.findAncestor((e=>"ExpressionStatement"===e.type)))||void 0===D?void 0:D.expression;if(t&&c(t,(e=>e===a)))return!0}switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===s&&("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 v(e,t)||"SequenceExpression"===a.type;case"Decorator":if("expression"===s){if(f(a)&&a.computed)return!0;let e=!1,r=!1,n=a;for(;n;)switch(n.type){case"MemberExpression":r=!0,n=n.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===s&&"SequenceExpression"!==a.type&&c(a,(e=>"ObjectExpression"===e.type)))return!0}switch(a.type){case"UpdateExpression":if("UnaryExpression"===r.type)return a.prefix&&("++"===a.operator&&"+"===r.operator||"--"===a.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return a.operator===r.operator&&("+"===a.operator||"-"===a.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"BinaryExpression":return"left"===s&&"**"===r.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type||"in"===a.operator&&function(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}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(r.type){case"TSSatisfiesExpression":case"TSAsExpression":return!g(a);case"ConditionalExpression":return g(a);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===s;case"ClassExpression":case"ClassDeclaration":return"superClass"===s;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"===s;case"AssignmentExpression":case"AssignmentPattern":return"left"===s&&("TSTypeAssertion"===a.type||g(a));case"LogicalExpression":if("LogicalExpression"===a.type)return r.operator!==a.operator;case"BinaryExpression":{let{operator:e,type:t}=a;if(!e&&"TSTypeAssertion"!==t)return!0;let n=h(e),i=r.operator,o=h(i);return o>n||"right"===s&&o===n||o===n&&!p(i,e)||(o<n&&"%"===e?"+"===i||"-"===i:!!l(i))}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==s;case"ArrowFunctionExpression":return"body"!==s;default:return!0}case"YieldExpression":if("UnaryExpression"===r.type||"AwaitExpression"===r.type||g(r)||"TSNonNullExpression"===r.type)return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"BinaryExpression":return!(!a.argument&&"|>"===r.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===s&&"TSConditionalType"===r.type){if("TSConditionalType"===a.type)return!0;let{typeAnnotation:e}=a.returnType||a.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===s&&"TSConditionalType"===r.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===r.type||"TSIntersectionType"===r.type)&&r.types.length>1&&(!a.types||a.types.length>1))return!0;case"TSInferType":if("TSInferType"===a.type&&"TSRestType"===r.type)return!1;case"TSTypeOperator":return"TSArrayType"===r.type||"TSOptionalType"===r.type||"TSRestType"===r.type||"objectType"===s&&"TSIndexedAccessType"===r.type||"TSTypeOperator"===r.type||"TSTypeAnnotation"===r.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===s&&"TSIndexedAccessType"===r.type||"elementType"===s&&"TSArrayType"===r.type;case"TypeofTypeAnnotation":return"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type)||"elementType"===s&&"ArrayTypeAnnotation"===r.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===s&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===r.type&&null===r.name&&i(a).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===s&&"IndexedAccessType"===r.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof a.value&&"ExpressionStatement"===r.type&&!r.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===s&&"MemberExpression"===r.type&&"number"==typeof a.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===s&&"ArrowFunctionExpression"===r.type||("key"!==s||"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type||!r.computed)&&("init"!==s&&"update"!==s||"ForStatement"!==r.type)&&("ExpressionStatement"===r.type?"ObjectPattern"===a.left.type:!("key"===s&&"TSPropertySignature"===r.type||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&t&&"ForStatement"===t.type&&(t.init===r||t.update===r)||"value"===s&&"Property"===r.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(r)||"NGChainedExpression"===r.type))}case"ConditionalExpression":switch(r.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"===s;case"ConditionalExpression":return"test"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return"|>"!==r.operator||a.extra&&a.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===s;default:return!1}case"ClassExpression":return!!n(a.decorators)||"NewExpression"===r.type&&"callee"===s;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===s&&"MemberExpression"===r.type||"callee"===s&&("CallExpression"===r.type||"NewExpression"===r.type)||"TSNonNullExpression"===r.type&&"MemberExpression"===t.type&&t.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===s&&("BindExpression"===r.type||"NewExpression"===r.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"===s&&("BindExpression"===r.type||"NewExpression"===r.type)||"object"===s&&f(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!a.extra||!a.extra.parenthesized)||"ArrayExpression"===r.type||d(r)&&r.arguments[s]===a||"right"===s&&"NGPipeExpression"===r.type||"property"===s&&"MemberExpression"===r.type||"AssignmentExpression"===r.type);case"JSXFragment":case"JSXElement":return"callee"===s||"left"===s&&"BinaryExpression"===r.type&&"<"===r.operator||"ArrayExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"AssignmentExpression"!==r.type&&"AssignmentPattern"!==r.type&&"BinaryExpression"!==r.type&&"NewExpression"!==r.type&&"ConditionalExpression"!==r.type&&"ExpressionStatement"!==r.type&&"JsExpressionRoot"!==r.type&&"JSXAttribute"!==r.type&&"JSXElement"!==r.type&&"JSXExpressionContainer"!==r.type&&"JSXFragment"!==r.type&&"LogicalExpression"!==r.type&&!d(r)&&!m(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===s&&"ArrowFunctionExpression"===r.type&&function(e){return u(e,(e=>"ObjectTypeAnnotation"===e.type&&u(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(a)}return!1}function b(e){let t=e.getValue(),n=e.getParentNode(),i=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof i&&n.arguments[i]===t&&n.arguments.length-1===i)return e.callParent(b);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return r(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(b);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(b);break;case"UnaryExpression":if(n.prefix)return e.callParent(b)}return!1}function v(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!y(e,t):!(!a(r)||"ExportDefaultDeclaration"!==n.type&&y(e,t))&&e.call((e=>v(e,t)),...s(e,r))}t.exports=y}}),Ur=v({"src/language-js/print-preprocess.js"(e,t){w(),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}}}}),zr=v({"src/language-js/print/html-binding.js"(e,t){w();var{builders:{join:r,line:n,group:i,softline:s,indent:o}}=W();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 u=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(u,t),"File"===u.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",n],e.map(a,"params")),{params:u}=e.getValue();return 1===u.length?t:["(",o([s,i(t)]),s,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",n],e.map(a,"params"))),"program","body",0)}}}}}),Vr=v({"src/language-js/print/binaryish.js"(e,t){w();var{printComments:r}=Ht(),{getLast:n}=de(),{builders:{join:i,line:s,softline:o,group:a,indent:u,align:l,indentIfBreak:c},utils:{cleanDoc:p,getDocParts:h,isConcat:d}}=W(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:g,shouldFlatten:y,hasComment:b,CommentCheckFlags:v,isCallExpression:D,isMemberExpression:E,isObjectProperty:x,isEnabledHackPipeline:S}=sr(),C=0;function A(e,t,n,o,c){let g=e.getValue();if(!m(g))return[a(t())];let D=[];y(g.operator,g.left.operator)?D=e.call((e=>A(e,t,n,!0,c)),"left"):D.push(a(t("left")));let E,x=T(g),w=("|>"===g.operator||"NGPipeExpression"===g.type||"|"===g.operator&&"__vue_expression"===n.parser)&&!f(n.originalText,g.right),C="NGPipeExpression"===g.type?"|":g.operator,P="NGPipeExpression"===g.type&&g.arguments.length>0?a(u([s,": ",i([s,": "],e.map(t,"arguments").map((e=>l(2,a(e)))))])):"";if(x)E=[C," ",t("right"),P];else{let r=S(n)&&"|>"===C?e.call((e=>A(e,t,n,!0,c)),"right"):t("right");E=[w?s:"",C,w?" ":s,r,P]}let F=e.getParentNode(),I=b(g.left,v.Trailing|v.Line),N=I||!(c&&"LogicalExpression"===g.type)&&F.type!==g.type&&g.left.type!==g.type&&g.right.type!==g.type;if(D.push(w?"":" ",N?a(E,{shouldBreak:I}):E),o&&b(g)){let t=p(r(e,D,n));return d(t)||"fill"===t.type?h(t):[t]}return D}function T(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,r){let i=e.getValue(),s=e.getParentNode(),l=e.getParentNode(1),p=i!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),h=S(t)&&"|>"===i.operator,d=A(e,r,t,!1,p);if(p)return d;if(h)return a(d);if(D(s)&&s.callee===i||"UnaryExpression"===s.type||E(s)&&!s.computed)return a([u([o,...d]),o]);let f="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===l.type||"|"!==i.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==i.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===l.type&&1===l.body.length)||i===s.body&&"ArrowFunctionExpression"===s.type||i!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==l.type&&"ThrowStatement"!==l.type&&!D(l)||"TemplateLiteral"===s.type,b="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||x(s),v=m(i.left)&&y(i.operator,i.left.operator);if(f||T(i)&&!v||!T(i)&&b)return a(d);if(0===d.length)return"";let w=g(i.right),P=d.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),F=d.slice(0,-1===P?1:P+1),I=d.slice(F.length,w?-1:void 0),N=Symbol("logicalChain-"+ ++C),k=a([...F,u(I)],{id:N});if(!w)return k;let _=n(d);return a([k,c(_,{groupId:N})])},shouldInlineLogicalExpression:T}}}),Wr=v({"src/language-js/print/angular.js"(e,t){w();var{builders:{join:r,line:n,group:i}}=W(),{hasNode:s,hasComment:o,getComments:a}=sr(),{printBinaryishExpression:u}=Vr();function l(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.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 u(e,t,c);case"NGChainedExpression":return i(r([";",n],e.map((e=>function(e){return s(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)?" ":[";",n],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(),r=e.getParentNode(),n=l(p,t,r)||(1===t&&("then"===p.key.name||"else"===p.key.name)||2===t&&"else"===p.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[c("key"),n?" ":": ",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)}.`)}}}}}),Hr=v({"src/language-js/print/jsx.js"(e,t){w();var{printComments:r,printDanglingComments:n,printCommentsSeparately:i}=Ht(),{builders:{line:s,hardline:o,softline:a,group:u,indent:l,conditionalGroup:c,fill:p,ifBreak:h,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=W(),{getLast:g,getPreferredQuote:y}=de(),{isJsxNode:b,rawText:v,isCallExpression:D,isStringLiteral:E,isBinaryish:x,hasComment:S,CommentCheckFlags:C,hasNodeIgnoreComment:A}=sr(),T=$r(),{willPrintOwnComments:P}=jr(),F=e=>""===e||e===s||e===o||e===a;function I(e,t,r){let n=e.getValue();if("JSXElement"===n.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&&!R(t)}(n))return[r("openingElement"),r("closingElement")];let i="JSXElement"===n.type?r("openingElement"):r("openingFragment"),d="JSXElement"===n.type?r("closingElement"):r("closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return[i,...e.map(r,"children"),d];n.children=n.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&E(e.expression)&&" "===e.expression.value&&!S(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));let f=n.children.some(b),y=n.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,D="JSXElement"===n.type&&n.openingElement.attributes.length>1,x=m(i)||f||D||y,w="mdx"===e.getParentNode().rootMarker,C=t.singleQuote?"{' '}":'{" "}',A=w?" ":h([C,a]," "),T=function(e,t,r,n,i){let a=[];return e.each(((e,t,u)=>{let l=e.getValue();if("JSXText"===l.type){let e=v(l);if(R(l)){let r,o=e.split(M);if(""===o[0]){if(a.push(""),o.shift(),/\n/.test(o[0])){let e=u[t+1];a.push(k(i,o[1],l,e))}else a.push(n);o.shift()}if(""===g(o)&&(o.pop(),r=o.pop()),0===o.length)return;for(let[e,t]of o.entries())e%2==1?a.push(s):a.push(t);if(void 0!==r)if(/\n/.test(r)){let e=u[t+1];a.push(k(i,g(a),l,e))}else a.push(n);else{let e=u[t+1];a.push(N(i,g(a),l,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&a.push("",o):a.push("",n)}else{let e=r();a.push(e);let n=u[t+1];if(n&&R(n)){let e=B(v(n)).split(M)[0];a.push(N(i,e,l,n))}else a.push(o)}}),"children"),a}(e,0,r,A,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),P=n.children.some((e=>R(e)));for(let e=T.length-2;e>=0;e--){let t=""===T[e]&&""===T[e+1],r=T[e]===o&&""===T[e+1]&&T[e+2]===o,n=(T[e]===a||T[e]===o)&&""===T[e+1]&&T[e+2]===A,i=T[e]===A&&""===T[e+1]&&(T[e+2]===a||T[e+2]===o),s=T[e]===A&&""===T[e+1]&&T[e+2]===A,u=T[e]===a&&""===T[e+1]&&T[e+2]===o||T[e]===o&&""===T[e+1]&&T[e+2]===a;r&&P||t||n||s||u?T.splice(e,2):i&&T.splice(e+1,2)}for(;T.length>0&&F(g(T));)T.pop();for(;T.length>1&&F(T[0])&&F(T[1]);)T.shift(),T.shift();let I=[];for(let[e,t]of T.entries()){if(t===A){if(1===e&&""===T[e-1]){if(2===T.length){I.push(C);continue}I.push([C,o]);continue}if(e===T.length-1){I.push(C);continue}if(""===T[e-1]&&T[e-2]===o){I.push(C);continue}}I.push(t),m(t)&&(x=!0)}let _=P?p(I):u(I,{shouldBreak:!0});if(w)return _;let O=u([i,l([o,_]),o,d]);return x?O:c([u([i,...T,d]),O])}function N(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?a:o:a}function k(e,t,r,n){return e?o:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?o:a:o}function _(e,t,r){return e.selfClosing?[s,"/>"]:function(e,t,r){let n=e.attributes.length>0&&S(g(e.attributes),C.Trailing);return 0===e.attributes.length&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}(e,t,r)?[">"]:[a,">"]}function O(e,t,n){return function(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),D,(e=>"JSXExpressionContainer"===e.type)),s=T(e,r);return u([s?"":h("("),l([a,t]),a,s?"":h(")")],{shouldBreak:i})}(e,r(e,I(e,t,n),t),t)}var M=new RegExp("([ \n\r\t]+)"),L=new RegExp("[^ \n\r\t]"),B=e=>e.replace(new RegExp("(?:^"+M.source+"|"+M.source+"$)"),"");function R(e){return"JSXText"===e.type&&(L.test(v(e))||!/\n/.test(v(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&b(t)&&b(r)))return!1;let n=null;for(let e=r.children.indexOf(t);e>0;e--){let t=r.children[e-1];if("JSXText"!==t.type||R(t)){n=t;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&A(n.expression)},printJsx:function(e,t,c){let p=e.getValue();if(p.type.startsWith("JSX"))switch(p.type){case"JSXAttribute":return function(e,t,r){let n=e.getValue(),s=[];if(s.push(r("name")),n.value){let o;if(E(n.value)){let r=v(n.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:s,quote:a,regex:u}=y(r,t.jsxSingleQuote?"'":'"');r=r.replace(u,s);let{leading:l,trailing:c}=e.call((()=>i(e,t)),"value");o=[l,a,r,a,c]}else o=r("value");s.push("=",o)}return s}(e,t,c);case"JSXIdentifier":return String(p.name);case"JSXNamespacedName":return f(":",[c("namespace"),c("name")]);case"JSXMemberExpression":return f(".",[c("object"),c("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){let i=e.getValue();return["{",e.call((e=>{let i=["...",n()],s=e.getValue();return S(s)&&P(e)?[l([a,r(e,i,t)]),a]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}(e,t,c);case"JSXExpressionContainer":return function(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!S(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||D(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||b(t)&&("ConditionalExpression"===e.type||x(e)));return i(n.expression,e.getParentNode(0))?u(["{",r("expression"),d,"}"]):u(["{",l([a,r("expression")]),a,d,"}"])}(e,0,c);case"JSXFragment":case"JSXElement":return O(e,t,c);case"JSXOpeningElement":return function(e,t,r){let n=e.getValue(),i=n.name&&S(n.name)||n.typeParameters&&S(n.typeParameters);if(n.selfClosing&&0===n.attributes.length&&!i)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&1===n.attributes.length&&n.attributes[0].value&&E(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!i&&!S(n.attributes[0]))return u(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let a=n.attributes&&n.attributes.some((e=>e.value&&E(e.value)&&e.value.value.includes("\n"))),c=t.singleAttributePerLine&&n.attributes.length>1?o:s;return u(["<",r("name"),r("typeParameters"),l(e.map((()=>[c,r()]),"attributes")),..._(n,t,i)],{shouldBreak:a})}(e,t,c);case"JSXClosingElement":return function(e,t,r){let n=e.getValue(),i=[];i.push("</");let s=r("name");return S(n.name,C.Leading|C.Line)?i.push(l([o,s]),o):S(n.name,C.Leading|C.Block)?i.push(" ",s):i.push(s),i.push(">"),i}(e,0,c);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){let r=e.getValue(),i=S(r),s=S(r,C.Line),a="JSXOpeningFragment"===r.type;return[a?"<":"</",l([s?o:i&&!a?" ":"",n(e,t,!0)]),s?o:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){let r=e.getValue(),i=S(r,C.Line);return[n(e,t,!i),i?o:""]}(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(p.type)}.`)}}}}}),qr=v({"src/language-js/print/misc.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{indent:n,join:i,line:s}}=W(),{isFlowAnnotationComment:o}=sr();function a(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let i=e.getParentNode(),s="DeclareFunction"===i.type&&i.id===n;return o(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[s?"":": ",r("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,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""},printBindExpressionCallee:function(e,t,r){return["::",r("callee")]},printTypeScriptModifiers:function(e,t,n){let s=e.getValue();return r(s.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:a,printRestSpread:function(e,t,r){return["...",r("argument"),a(e,t,r)]},adjustClause:function(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([s,t])},printDirective:function(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}}}}),Gr=v({"src/language-js/print/array.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{line:n,softline:i,hardline:s,group:o,indent:a,ifBreak:u,fill:l}}=W(),{getLast:c,hasNewline:p}=de(),{shouldPrintComma:h,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:y}=sr(),{locStart:b}=Bt(),{printOptionalToken:v,printTypeAnnotation:D}=qr();function E(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(g(e)||y(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,(e=>!p(t.originalText,b(e),{backwards:!0})))))}function x(e,t,r,s){let a=[],u=[];return e.each((e=>{a.push(u,o(s())),u=[",",n],e.getValue()&&m(e.getValue(),t)&&u.push(i)}),r),a}function S(e,t,r,i){let o=[];return e.each(((e,a,u)=>{let l=a===u.length-1;o.push([r(),l?i:","]),l||o.push(m(e.getValue(),t)?[s,s]:d(u[a+1],f.Leading|f.Line)?s:n)}),"elements"),l(o)}t.exports={printArray:function(e,t,n){let s=e.getValue(),l=[],p="TupleExpression"===s.type?"#[":"[";if(0===s.elements.length)d(s,f.Dangling)?l.push(o([p,r(e,t),i,"]"])):l.push(p,"]");else{let d=c(s.elements),f=!(d&&"RestElement"===d.type),m=null===d,g=Symbol("array"),y=!t.__inJestEach&&s.elements.length>1&&s.elements.every(((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let i=r[t+1];if(i&&n!==i.type)return!1;let s="ArrayExpression"===n?"elements":"properties";return e[s]&&e[s].length>1})),b=E(s,t),v=f?m?",":h(t)?b?u(",","",{groupId:g}):u(","):"":"";l.push(o([p,a([i,b?S(e,t,n,v):[x(e,t,"elements",n),v],r(e,t,!0)]),i,"]"],{shouldBreak:y,id:g}))}return l.push(v(e),D(e,t,n)),l},printArrayItems:x,isConciselyPrintedArray:E}}}),Kr=v({"src/language-js/print/call-arguments.js"(e,t){w();var{printDanglingComments:r}=Ht(),{getLast:n,getPenultimate:i}=de(),{getFunctionParameters:s,hasComment:o,CommentCheckFlags:a,isFunctionCompositionArgs:u,isJsxNode:l,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:h,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:g,isObjectProperty:y,isTSTypeExpression:b}=sr(),{builders:{line:v,hardline:D,softline:E,group:x,indent:S,conditionalGroup:C,ifBreak:A,breakParent:T},utils:{willBreak:P}}=W(),{ArgExpansionBailout:F}=Oe(),{isConciselyPrintedArray:I}=Gr();function N(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&&N(e.expression)||b(e)&&N(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||function(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||o(e,a.Dangling))}(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&N(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}t.exports=function(e,t,l){let m=e.getValue(),b="ImportExpression"===m.type,w=h(m);if(0===w.length)return["(",r(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===s(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>o(e)))}(w))return["(",l(["arguments",0]),", ",l(["arguments",1]),")"];let k=!1,_=!1,O=w.length-1,M=[];d(e,((e,r)=>{let n=e.getNode(),i=[l()];r===O||(f(n,t)?(0===r&&(_=!0),k=!0,i.push(",",D,D)):i.push(",",v)),M.push(i)}));let L=b||m.callee&&"Import"===m.callee.type||!p(t,"all")?"":",";function B(){return x(["(",S([v,...M]),L,v,")"],{shouldBreak:!0})}if(k||"Decorator"!==e.getParentNode().type&&u(w))return B();let R=function(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&y(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}(r))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!N(r)}(w),j=function(e,t){let r=n(e),s=i(e);return!o(r,a.Leading)&&!o(r,a.Trailing)&&N(r)&&(!s||s.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==s.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&I(r,t))}(w,t);if(R||j){if(R?M.slice(1).some(P):M.slice(0,-1).some(P))return B();let t=[];try{e.try((()=>{d(e,((e,r)=>{R&&0===r&&(t=[[l([],{expandFirstArg:!0}),M.length>1?",":"",_?D:v,_?D:""],...M.slice(1)]),j&&r===O&&(t=[...M.slice(0,-1),l([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof F)return B();throw e}return[M.some(P)?T:"",C([["(",...t,")"],R?["(",x(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...M.slice(0,-1),x(n(t),{shouldBreak:!0}),")"],B()])]}let $=["(",S([E,...M]),A(L),E,")"];return c(e)?$:x($,{shouldBreak:M.some(P)||k})}}}),Xr=v({"src/language-js/print/member.js"(e,t){w();var{builders:{softline:r,group:n,indent:i,label:s}}=W(),{isNumericLiteral:o,isMemberExpression:a,isCallExpression:u}=sr(),{printOptionalToken:l}=qr();function c(e,t,s){let a=s("property"),u=e.getValue(),c=l(e);return u.computed?!u.property||o(u.property)?[c,"[",a,"]"]:n([c,"[",i([r,a]),r,"]"]):[c,".",a]}t.exports={printMemberExpression:function(e,t,o){let l,p=e.getValue(),h=e.getParentNode(),d=0;do{l=e.getParentNode(d),d++}while(l&&(a(l)||"TSNonNullExpression"===l.type));let f=o("object"),m=c(e,0,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(h)||("AssignmentExpression"===h.type||"VariableDeclarator"===h.type)&&(u(p.object)&&p.object.arguments.length>0||"TSNonNullExpression"===p.object.type&&u(p.object.expression)&&p.object.expression.arguments.length>0||"member-chain"===f.label);return s("member-chain"===f.label?"member-chain":"member",[f,g?m:n(i([r,m]))])},printMemberLookup:c}}}),Jr=v({"src/language-js/print/member-chain.js"(e,t){w();var{printComments:r}=Ht(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:s}=de(),o=$r(),{isCallExpression:a,isMemberExpression:u,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:h,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:g}=sr(),{locEnd:y}=Bt(),{builders:{join:b,hardline:v,group:D,indent:E,conditionalGroup:x,breakParent:S,label:C},utils:{willBreak:A}}=W(),T=Kr(),{printMemberLookup:P}=Xr(),{printOptionalToken:F,printFunctionTypeParameters:I,printBindExpressionCallee:N}=qr();t.exports=function(e,t,w){let k=e.getParentNode(),_=!k||"ExpressionStatement"===k.type,O=[];function M(e){let{originalText:r}=t,n=s(r,e,y);return")"===r.charAt(n)?!1!==n&&i(r,n+1):g(e,t)}function L(e){let n=e.getValue();a(n)&&(p(n.callee)||a(n.callee))?(O.unshift({node:n,printed:[r(e,[F(e),I(e,t,w),T(e,t,w)],t),M(n)?v:""]}),e.call((e=>L(e)),"callee")):p(n)?(O.unshift({node:n,needsParens:o(e,t),printed:r(e,u(n)?P(e,t,w):N(e,t,w),t)}),e.call((e=>L(e)),"object")):"TSNonNullExpression"===n.type?(O.unshift({node:n,printed:r(e,"!",t)}),e.call((e=>L(e)),"expression")):O.unshift({node:n,printed:w()})}let B=e.getValue();O.unshift({node:B,printed:[F(e),I(e,t,w),T(e,t,w)]}),B.callee&&e.call((e=>L(e)),"callee");let R=[],j=[O[0]],$=1;for(;$<O.length&&("TSNonNullExpression"===O[$].node.type||a(O[$].node)||u(O[$].node)&&O[$].node.computed&&h(O[$].node.property));++$)j.push(O[$]);if(!a(O[0].node))for(;$+1<O.length&&p(O[$].node)&&p(O[$+1].node);++$)j.push(O[$]);R.push(j),j=[];let U=!1;for(;$<O.length;++$){if(U&&p(O[$].node)){if(O[$].node.computed&&h(O[$].node.property)){j.push(O[$]);continue}R.push(j),j=[],U=!1}(a(O[$].node)||"ImportExpression"===O[$].node.type)&&(U=!0),j.push(O[$]),f(O[$].node,m.Trailing)&&(R.push(j),j=[],U=!1)}function z(e){return/^[A-Z]|^[$_]+$/.test(e)}j.length>0&&R.push(j);let V=R.length>=2&&!f(R[1][0].node)&&function(e){let r=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&(z(n.name)||_&&function(e){return e.length<=t.tabWidth}(n.name)||r)}let i=n(e[0]).node;return u(i)&&"Identifier"===i.property.type&&(z(i.property.name)||r)}(R);function W(e){let t=e.map((e=>e.printed));return e.length>0&&n(e).needsParens?["(",...t,")"]:t}let H=R.map(W),q=H,G=V?3:2,K=R.flat(),X=K.slice(1,-1).some((e=>f(e.node,m.Leading)))||K.slice(0,-1).some((e=>f(e.node,m.Trailing)))||R[G]&&f(R[G][0].node,m.Leading);if(R.length<=G&&!X)return c(e)?q:D(q);let J,Y=n(R[V?1:0]).node,Z=!a(Y)&&M(Y),Q=[W(R[0]),V?R.slice(1,2).map(W):"",Z?v:"",(te=R.slice(V?2:1),0===te.length?"":E(D([v,b(v,te.map(W))])))],ee=O.map((e=>{let{node:t}=e;return t})).filter(a);var te;return J=X||ee.length>2&&ee.some((e=>!e.arguments.every((e=>d(e,0)))))||H.slice(0,-1).some(A)||function(){let e=n(n(R)).node,t=n(H);return a(e)&&A(t)&&ee.slice(0,-1).some((e=>e.arguments.some(l)))}()?D(Q):[A(q)||Z?S:"",x([q,Q])],C("member-chain",J)}}}),Yr=v({"src/language-js/print/call-expression.js"(e,t){w();var{builders:{join:r,group:n}}=W(),i=$r(),{getCallArguments:s,hasFlowAnnotationComment:o,isCallExpression:a,isMemberish:u,isStringLiteral:l,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:h}=sr(),d=Jr(),f=Kr(),{printOptionalToken:m,printFunctionTypeParameters:g}=qr();t.exports={printCallExpression:function(e,t,y){let b=e.getValue(),v=e.getParentNode(),D="NewExpression"===b.type,E="ImportExpression"===b.type,x=m(e),w=s(b);if(w.length>0&&(!E&&!D&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=s(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&l(r[0])&&"ArrayExpression"===r[1].type)}return!1}(b,v)||1===w.length&&c(w[0],t.originalText)||!D&&p(b,v))){let n=[];return h(e,(()=>{n.push(y())})),[D?"new ":"",y("callee"),x,g(e,t,y),"(",r(", ",n),")"]}let S=("babel"===t.parser||"babel-flow"===t.parser)&&b.callee&&"Identifier"===b.callee.type&&o(b.callee.trailingComments);if(S&&(b.callee.trailingComments[0].printed=!0),!E&&!D&&u(b.callee)&&!e.call((e=>i(e,t)),"callee"))return d(e,t,y);let C=[D?"new ":"",E?"import":y("callee"),x,S?`/*:: ${b.callee.trailingComments[0].value.slice(2).trim()} */`:"",g(e,t,y),f(e,t,y)];return E||a(b.callee)?n(C):C}}}}),Zr=v({"src/language-js/print/assignment.js"(e,t){w();var{isNonEmptyArray:r,getStringWidth:n}=de(),{builders:{line:i,group:s,indent:o,indentIfBreak:a,lineSuffixBoundary:u},utils:{cleanDoc:l,willBreak:c,canBreak:p}}=W(),{hasLeadingOwnLineComment:h,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:g,isCallExpression:y,isMemberExpression:b,getCallArguments:v,rawText:D,hasComment:E,isSignedNumericLiteral:x,isObjectProperty:S}=sr(),{shouldInlineLogicalExpression:C}=Vr(),{printCallExpression:A}=Yr();function T(e,t,c,m,y,b){let v=function(e,t,i,s,o){let a=e.getValue(),u=a[o];if(!u)return"only-left";let c=!P(u);if(e.match(P,F,(e=>!c||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return c?"ArrowFunctionExpression"===u.type&&"ArrowFunctionExpression"===u.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!c&&P(u.right)||h(t.originalText,u))return"break-after-operator";if("CallExpression"===u.type&&"require"===u.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(F(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>S(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(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[r]||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 n=N(t.typeAnnotation);return r(n)&&n.length>1&&n.some((e=>r(N(e))||"TSConditionalType"===e.type))}(a)||I(a)&&p(s))return"break-lhs";let m=function(e,t,r){if(!S(e))return!1;let i=3;return"string"==typeof(t=l(t))&&n(t)<r.tabWidth+i}(a,s,t);return e.call((()=>function(e,t,n,i){let s=e.getValue();if(d(s)&&!C(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return d(e)&&!C(e)}case"ClassExpression":return r(s.decorators)}if(i)return!1;let o=s,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((()=>k(e,t,n)),...a))}(e,t,i,m)),o)?"break-after-operator":m||"TemplateLiteral"===u.type||"TaggedTemplateExpression"===u.type||"BooleanLiteral"===u.type||g(u)||"ClassExpression"===u.type?"never-break-after-operator":"fluid"}(e,t,c,m,b),D=c(b,{assignmentLayout:v});switch(v){case"break-after-operator":return s([s(m),y,s(o([i,D]))]);case"never-break-after-operator":return s([s(m),y," ",D]);case"fluid":{let e=Symbol("assignment");return s([s(m),y,s(o(i),{id:e}),u,a(D,{groupId:e})])}case"break-lhs":return s([m,y," ",s(D)]);case"chain":return[s(m),y,i,D];case"chain-tail":return[s(m),y,o([i,D])];case"chain-tail-arrow-chain":return[s(m),y,D];case"only-left":return m}}function P(e){return"AssignmentExpression"===e.type}function F(e){return P(e)||"VariableDeclarator"===e.type}function I(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function N(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function k(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=e.getValue(),o=()=>k(e,t,n,!0);if("TSNonNullExpression"===s.type)return e.call(o,"expression");if(y(s)){if("member-chain"===A(e,t,n).label)return!1;let i=v(s);return!(!(0===i.length||1===i.length&&function(e,t){let{printWidth:r}=t;if(E(e))return!1;let n=.25*r;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||x(e)&&!E(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=n:f(e)?D(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):m(e)}(i[0],t))||function(e,t){let n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(r(n)){if(n.length>1)return!0;if(1===n.length){let e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(c(t(r)))return!0}return!1}(s,n))&&e.call(o,"callee")}return b(s)?e.call(o,"object"):i&&("Identifier"===s.type||"ThisExpression"===s.type)}t.exports={printVariableDeclarator:function(e,t,r){return T(e,t,r,r("id")," =","init")},printAssignmentExpression:function(e,t,r){let n=e.getValue();return T(e,t,r,r("left"),[" ",n.operator],"right")},printAssignment:T,isArrowFunctionVariableDeclarator:I}}}),Qr=v({"src/language-js/print/function-parameters.js"(e,t){w();var{getNextNonSpaceNonCommentCharacter:r}=de(),{printDanglingComments:n}=Ht(),{builders:{line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l},utils:{removeLines:c,willBreak:p}}=W(),{getFunctionParameters:h,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:y,isObjectTypePropertyAFunction:b,hasRestParameter:v,shouldPrintComma:D,hasComment:E,isNextLineEmpty:x}=sr(),{locEnd:S}=Bt(),{ArgExpansionBailout:C}=Oe(),{printFunctionTypeParameters:A}=qr();function T(e){if(!e)return!1;let t=h(e);if(1!==t.length)return!1;let[r]=t;return!E(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&y(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&y(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}t.exports={printFunctionParameters:function(e,t,y,E,w){let P=e.getValue(),F=h(P),I=w?A(e,y,t):"";if(0===F.length)return[I,"(",n(e,y,!0,(e=>")"===r(y.originalText,e,S))),")"];let N=e.getParentNode(),k=m(N),_=T(P),O=[];if(d(e,((e,r)=>{let n=r===F.length-1;n&&P.rest&&O.push("..."),O.push(t()),!n&&(O.push(","),k||_?O.push(" "):x(F[r],y)?O.push(s,s):O.push(i))})),E){if(p(I)||p(O))throw new C;return a([c(I),"(",c(O),")"])}let M=F.every((e=>!e.decorators));return _&&M||k?[I,"(",...O,")"]:(b(N)||g(N)||"TypeAlias"===N.type||"UnionTypeAnnotation"===N.type||"TSUnionType"===N.type||"IntersectionTypeAnnotation"===N.type||"FunctionTypeAnnotation"===N.type&&N.returnType===P)&&1===F.length&&null===F[0].name&&P.this!==F[0]&&F[0].typeAnnotation&&null===P.typeParameters&&f(F[0].typeAnnotation)&&!P.rest?"always"===y.arrowParens?["(",...O,")"]:O:[I,"(",u([o,...O]),l(!v(P)&&D(y,"all")?",":""),o,")"]},shouldHugFunctionParameters:T,shouldGroupFunctionParameters:function(e,t){let r=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(1===n.length){let e=n[0];if(e.constraint||e.default)return!1}}return 1===h(e).length&&(y(r)||p(t))}}}}),en=v({"src/language-js/print/type-annotation.js"(e,t){w();var{printComments:r,printDanglingComments:n}=Ht(),{isNonEmptyArray:i}=de(),{builders:{group:s,join:o,line:a,softline:u,indent:l,align:c,ifBreak:p}}=W(),h=$r(),{locStart:d}=Bt(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:y,shouldPrintComma:b}=sr(),{printAssignment:v}=Zr(),{printFunctionParameters:D,shouldGroupFunctionParameters:E}=Qr(),{printArrayItems:x}=Gr();function S(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,r=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&r)return!0}return!1}t.exports={printOpaqueType:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];return s.push("opaque type ",r("id"),r("typeParameters")),i.supertype&&s.push(": ",r("supertype")),i.impltype&&s.push(" = ",r("impltype")),s.push(n),s},printTypeAlias:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];i.declare&&s.push("declare "),s.push("type ",r("id"),r("typeParameters"));let o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[v(e,t,r,s," =",o),n]},printIntersectionType:function(e,t,r){let n=e.getValue(),i=e.map(r,"types"),o=[],u=!1;for(let e=0;e<i.length;++e)0===e?o.push(i[e]):m(n.types[e-1])&&m(n.types[e])?o.push([" & ",u?l(i[e]):i[e]]):m(n.types[e-1])||m(n.types[e])?(e>1&&(u=!0),o.push(" & ",e>1?l(i[e]):i[e])):o.push(l([" &",a,i[e]]));return s(o)},printUnionType:function(e,t,n){let i=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,i)),m=S(i),y=e.map((e=>{let i=n();return m||(i=c(2,i)),r(e,i,t)}),"types");if(m)return o(" | ",y);let b=f&&!g(t.originalText,i),v=[p([b?a:"","| "]),o([a,"| "],y)];return h(e,t)?s([l(v),u]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?s([l([p(["(",u]),v]),u,p(")")]):s(f?l(v):v)},printFunctionType:function(e,t,r){let n=e.getValue(),i=[],o=e.getParentNode(0),a=e.getParentNode(1),u=e.getParentNode(2),l="TSFunctionType"===n.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&d(o)===d(n)||"ObjectTypeCallProperty"===o.type||u&&"DeclareFunction"===u.type),c=l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=c&&l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;y(o)&&(l=!0,c=!0),p&&i.push("(");let h=D(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[l?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=E(n,f);return i.push(m?s(h):h),f&&i.push(f),p&&i.push(")"),s(i)},printTupleType:function(e,t,r){let o=e.getValue(),a="TSTupleType"===o.type?"elementTypes":"types",c=o[a],h=i(c),d=h?u:"";return s(["[",l([d,x(e,t,a,r)]),p(h&&b(t,"all")?",":""),n(e,t,!0),d,"]"])},printIndexedAccessType:function(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]},shouldHugType:S,printJSDocType:function(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}}}}),tn=v({"src/language-js/print/type-parameters.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{join:n,line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l}}=W(),{isTestCall:c,hasComment:p,CommentCheckFlags:h,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:g,getTypeScriptMappedTypeModifier:y}=sr(),{createGroupIdMapper:b}=de(),{shouldHugType:v}=en(),{isArrowFunctionVariableDeclarator:D}=Zr(),E=b("typeParameters");function x(e,t){let n=e.getValue();if(!p(n,h.Dangling))return"";let i=!p(n,h.Line),o=r(e,t,i);return i?o:[o,s]}t.exports={printTypeParameter:function(e,t,r){let n=e.getValue(),i=["TSTypeParameter"===n.type&&n.const?"const ":""],s=e.getParentNode();return"TSMappedType"===s.type?(s.readonly&&i.push(y(s.readonly,"readonly")," "),i.push("[",r("name")),n.constraint&&i.push(" in ",r("constraint")),s.nameType&&i.push(" as ",e.callParent((()=>r("nameType")))),i.push("]"),i):(n.variance&&i.push(r("variance")),n.in&&i.push("in "),n.out&&i.push("out "),i.push(r("name")),n.bound&&i.push(": ",r("bound")),n.constraint&&i.push(" extends ",r("constraint")),n.default&&i.push(" = ",r("default")),i)},printTypeParameters:function(e,t,r,s){let p=e.getValue();if(!p[s])return"";if(!Array.isArray(p[s]))return r(s);let h=e.getNode(2),y=h&&c(h),b=e.match((e=>!(1===e[s].length&&g(e[s][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),D);if(0===p[s].length||!b&&(y||1===p[s].length&&("NullableTypeAnnotation"===p[s][0].type||v(p[s][0]))))return["<",n(", ",e.map(r,s)),x(e,t),">"];let w="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return a(["<",u([o,n([",",i],e.map(r,s))]),w,o,">"],{id:E(p)})},getTypeParametersGroupId:E}}}),rn=v({"src/language-js/print/property.js"(e,t){w();var{printComments:r}=Ht(),{printString:n,printNumber:i}=de(),{isNumericLiteral:s,isSimpleNumber:o,isStringLiteral:a,isStringPropSafeToUnquote:u,rawText:l}=sr(),{printAssignment:c}=Zr(),p=new WeakMap;function h(e,t,c){let h=e.getNode();if(h.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=h;if("consistent"===t.quoteProps&&!p.has(d)){let e=(d.properties||d.body||d.members).some((e=>!e.computed&&e.key&&a(e.key)&&!u(e,t)));p.set(d,e)}if(("Identifier"===f.type||s(f)&&o(i(l(f)))&&String(f.value)===i(l(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(d))){let i=n(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call((e=>r(e,i,t)),"key")}return u(h,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(d))?e.call((e=>r(e,/^\d/.test(f.value)?i(f.value):f.value,t)),"key"):c("key")}t.exports={printProperty:function(e,t,r){return e.getValue().shorthand?r("value"):c(e,t,r,h(e,t,r),":","value")},printPropertyKey:h}}}),nn=v({"src/language-js/print/function.js"(e,t){w();var r=Wt(),{printDanglingComments:n,printCommentsSeparately:i}=Ht(),s=F(),{getNextNonSpaceNonCommentCharacterIndex:o}=de(),{builders:{line:a,softline:u,group:l,indent:c,ifBreak:p,hardline:h,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:g}}=W(),{ArgExpansionBailout:y}=Oe(),{getFunctionParameters:b,hasLeadingOwnLineComment:v,isFlowAnnotationComment:D,isJsxNode:E,isTemplateOnItsOwnLine:x,shouldPrintComma:S,startsWithNoLookaheadToken:C,isBinaryish:A,isLineComment:T,hasComment:P,getComments:I,CommentCheckFlags:N,isCallLikeExpression:k,isCallExpression:_,getCallArguments:O,hasNakedLeftSide:M,getLeftSide:L}=sr(),{locEnd:B}=Bt(),{printFunctionParameters:R,shouldGroupFunctionParameters:j}=Qr(),{printPropertyKey:$}=rn(),{printFunctionTypeParameters:U}=qr();function z(e,t,r){let n=e.getNode(),i=R(e,r,t),s=H(e,r,t),o=j(n,s),a=[U(e,t,r),l([o?l(i):i,s])];return n.body?a.push(" ",r("body")):a.push(t.semi?";":""),a}function V(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){let t=b(e);return!(1!==t.length||e.typeParameters||P(e,N.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||P(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function H(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&D(r.originalText,n.returnType))return[" /*: ",i," */"];let s=[i];return n.returnType&&n.returnType.typeAnnotation&&s.unshift(": "),n.predicate&&s.push(n.returnType?" ":": ",t("predicate")),s}function q(e,t,r){let i=e.getValue(),o=t.semi?";":"",a=[];i.argument&&(function(e,t){if(v(e.originalText,t))return!0;if(M(t)){let r,n=t;for(;r=L(n);)if(n=r,v(e.originalText,n))return!0}return!1}(t,i.argument)?a.push([" (",c([h,r("argument")]),h,")"]):A(i.argument)||"SequenceExpression"===i.argument.type?a.push(l([p(" ("," "),c([u,r("argument")]),u,p(")")])):a.push(" ",r("argument")));let d=I(i),f=s(d),m=f&&T(f);return m&&a.push(o),P(i,N.Dangling)&&a.push(" ",n(e,t,!0)),m||a.push(o),a}t.exports={printFunction:function(e,t,r,n){let i=e.getValue(),s=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();_(t)&&O(t).length>1&&(s=!0)}let o=[];"TSDeclareFunction"===i.type&&i.declare&&o.push("declare "),i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(t("id"));let a=R(e,t,r,s),u=H(e,t,r),c=j(i,u);return o.push(U(e,r,t),l([c?l(a):a,u]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&o.push(";"),o},printArrowFunction:function(e,t,r,s){let h=e.getValue(),D=[],w=[],A=!1;if(function a(){let u=function(e,t,r,i){let s=[];if(e.getValue().async&&s.push("async "),V(e,t))s.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),o=H(e,r,t);if(n){if(g(o))throw new y;o=l(m(o))}s.push(l([R(e,r,t,n,!0),o]))}let a=n(e,t,!0,(e=>{let r=o(t.originalText,e,B);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return a&&s.push(" ",a),s}(e,t,r,s);if(0===D.length)D.push(u);else{let{leading:r,trailing:n}=i(e,t);D.push([r,u]),w.unshift(n)}A=A||h.returnType&&b(h).length>0||h.typeParameters||b(h).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==h.body.type||s&&s.expandLastArg?w.unshift(r("body",s)):(h=h.body,e.call(a,"body"))}(),D.length>1)return function(e,t,r,n,i,s){let o=e.getName(),h=e.getParentNode(),m=k(h)&&"callee"===o,g=Boolean(t&&t.assignmentLayout),y="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,b=m&&y||t&&"chain-tail-arrow-chain"===t.assignmentLayout,v=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(i=l(["(",c([u,i]),u,")"])),l([l(c([m||g?u:"",l(d([" =>",a],r),{shouldBreak:n})]),{id:v,shouldBreak:b})," =>",f(y?c([a,i]):[" ",i],{groupId:v}),m?p(u,"",{groupId:v}):""])}(e,s,D,A,w,h);let T=D;if(T.push(" =>"),!v(t.originalText,h.body)&&("ArrayExpression"===h.body.type||"ObjectExpression"===h.body.type||"BlockStatement"===h.body.type||E(h.body)||x(h.body,t.originalText)||"ArrowFunctionExpression"===h.body.type||"DoExpression"===h.body.type))return l([...T," ",w]);if("SequenceExpression"===h.body.type)return l([...T,l([" (",c([u,w]),u,")"])]);let F=(s&&s.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!P(h),I=s&&s.expandLastArg&&S(t,"all"),N="ConditionalExpression"===h.body.type&&!C(h.body,(e=>"ObjectExpression"===e.type));return l([...T,l([c([a,N?p("","("):"",w,N?p("",")"):""]),F?[p(I?",":""),u]:""])])},printMethod:function(e,t,n){let i=e.getNode(),{kind:s}=i,o=i.value||i,a=[];return s&&"init"!==s&&"method"!==s&&"constructor"!==s?(r.ok("get"===s||"set"===s),a.push(s," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push($(e,t,n),i.optional||i.key.optional?"?":""),i===o?a.push(z(e,t,n)):"FunctionExpression"===o.type?a.push(e.call((e=>z(e,t,n)),"value")):a.push(n("value")),a},printReturnStatement:function(e,t,r){return["return",q(e,t,r)]},printThrowStatement:function(e,t,r){return["throw",q(e,t,r)]},printMethodInternal:z,shouldPrintParamsWithoutParens:V}}}),sn=v({"src/language-js/print/decorators.js"(e,t){w();var{isNonEmptyArray:r,hasNewline:n}=de(),{builders:{line:i,hardline:s,join:o,breakParent:a,group:u}}=W(),{locStart:l,locEnd:c}=Bt(),{getParentExportDeclaration:p}=sr();function h(e,t){return e.decorators.some((e=>n(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 r(t)&&l(e)===l(t[0])}t.exports={printDecorators:function(e,t,n){let u=e.getValue(),{decorators:l}=u;if(!r(l)||d(e.getParentNode()))return;let c="ClassExpression"===u.type||"ClassDeclaration"===u.type||h(u,t);return[p(e)?s:c?a:"",o(i,e.map(n,"decorators")),i]},printClassMemberDecorators:function(e,t,r){let n=e.getValue();return u([o(i,e.map(r,"decorators")),h(n,t)?s:i])},printDecoratorsBeforeExport:function(e,t,r){return[o(s,e.map(r,"declaration","decorators")),s]},hasDecoratorsBeforeExport:d}}}),on=v({"src/language-js/print/class.js"(e,t){w();var{isNonEmptyArray:r,createGroupIdMapper:n}=de(),{printComments:i,printDanglingComments:s}=Ht(),{builders:{join:o,line:a,hardline:u,softline:l,group:c,indent:p,ifBreak:h}}=W(),{hasComment:d,CommentCheckFlags:f}=sr(),{getTypeParametersGroupId:m}=tn(),{printMethod:g}=nn(),{printOptionalToken:y,printTypeAnnotation:b,printDefiniteToken:v}=qr(),{printPropertyKey:D}=rn(),{printAssignment:E}=Zr(),{printClassMemberDecorators:x}=sn();var S=n("heritageGroup");function C(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 A(e,t,n,i){let l=e.getValue();if(!r(l[i]))return"";let d=s(e,t,!0,(e=>{let{marker:t}=e;return t===i}));return[C(l)?h(" ",a,{groupId:m(l.typeParameters)}):a,d,d&&u,i,c(p([a,o([",",a],e.map(n,i))]))]}function T(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?c(h(["(",p([l,n]),l,")"],n)):n}t.exports={printClass:function(e,t,n){let s=e.getValue(),o=[];s.declare&&o.push("declare "),s.abstract&&o.push("abstract "),o.push("class");let u=s.id&&d(s.id,f.Trailing)||s.typeParameters&&d(s.typeParameters,f.Trailing)||s.superClass&&d(s.superClass)||r(s.extends)||r(s.mixins)||r(s.implements),l=[],h=[];if(s.id&&l.push(" ",n("id")),l.push(n("typeParameters")),s.superClass){let r=[T(e,0,n),n("superTypeParameters")],s=e.call((e=>["extends ",i(e,r,t)]),"superClass");u?h.push(a,c(s)):h.push(" ",s)}else h.push(A(e,t,n,"extends"));if(h.push(A(e,t,n,"mixins"),A(e,t,n,"implements")),u){let e;e=C(s)?[...l,p(h)]:p([...l,h]),o.push(c(e,{id:S(s)}))}else o.push(...l,...h);return o.push(" ",n("body")),o},printClassMethod:function(e,t,n){let i=e.getValue(),s=[];return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.readonly&&s.push("readonly "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),s.push(g(e,t,n)),s},printClassProperty:function(e,t,n){let i=e.getValue(),s=[],o=t.semi?";":"";return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractPropertyDefinition"===i.type||"TSAbstractAccessorProperty"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),i.readonly&&s.push("readonly "),i.variance&&s.push(n("variance")),("ClassAccessorProperty"===i.type||"AccessorProperty"===i.type||"TSAbstractAccessorProperty"===i.type)&&s.push("accessor "),s.push(D(e,t,n),y(e),v(e),b(e,t,n)),[E(e,t,n,s," =","value"),o]},printHardlineAfterHeritage:function(e){return h(u,"",{groupId:S(e)})}}}}),an=v({"src/language-js/print/interface.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{join:n,line:i,group:s,indent:o,ifBreak:a}}=W(),{hasComment:u,identity:l,CommentCheckFlags:c}=sr(),{getTypeParametersGroupId:p}=tn(),{printTypeScriptModifiers:h}=qr();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 ":"",h(e,t,d)),m.push("interface");let g=[],y=[];"InterfaceTypeAnnotation"!==f.type&&g.push(" ",d("id"),d("typeParameters"));let b=f.typeParameters&&!u(f.typeParameters,c.Trailing|c.Line);return r(f.extends)&&y.push(b?a(" ",i,{groupId:p(f.typeParameters)}):i,"extends ",(1===f.extends.length?l:o)(n([",",i],e.map(d,"extends")))),f.id&&u(f.id,c.Trailing)||r(f.extends)?b?m.push(s([...g,o(y)])):m.push(s(o([...g,...y]))):m.push(...g,...y),m.push(" ",d("body")),s(m)}}}}),un=v({"src/language-js/print/module.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{softline:n,group:i,indent:s,join:o,line:a,ifBreak:u,hardline:l}}=W(),{printDanglingComments:c}=Ht(),{hasComment:p,CommentCheckFlags:h,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:g}=sr(),{locStart:y,hasSameLoc:b}=Bt(),{hasDecoratorsBeforeExport:v,printDecoratorsBeforeExport:D}=sn();function E(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return S(n,t)||i.push(" from"),i.push(" ",r("source")),i}function x(e,t,l){let c=e.getValue();if(S(c,t))return"";let h=[" "];if(r(c.specifiers)){let r=[],f=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(l());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);f.push(l())}}),"specifiers"),h.push(o(", ",r)),f.length>0&&(r.length>0&&h.push(", "),f.length>1||r.length>0||c.specifiers.some((e=>p(e)))?h.push(i(["{",s([t.bracketSpacing?a:n,o([",",a],f)]),u(d(t)?",":""),t.bracketSpacing?a:n,"}"])):h.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else h.push("{}");return h}function S(e,t){let{type:n,importKind:i,source:s,specifiers:o}=e;return"ImportDeclaration"===n&&!r(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(y(e),y(s)))}function C(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{importKind:o}=n;return s.push("import"),o&&"value"!==o&&s.push(" ",o),s.push(x(e,t,r),E(e,t,r),C(e,t,r),i),s},printExportDeclaration:function(e,t,r){let n=e.getValue(),i=[];v(n)&&i.push(D(e,t,r));let{type:s,exportKind:o,declaration:a}=n;return i.push("export"),(n.default||"ExportDefaultDeclaration"===s)&&i.push(" default"),p(n,h.Dangling)&&(i.push(" ",c(e,t,!0)),f(n)&&i.push(l)),a?i.push(" ",r("declaration")):i.push("type"===o?" type":"",x(e,t,r),E(e,t,r),C(e,t,r)),function(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,i=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:s}=n;return!(!i||"ClassDeclaration"===s||"FunctionDeclaration"===s||"TSInterfaceDeclaration"===s||"DeclareClass"===s||"DeclareFunction"===s||"TSDeclareFunction"===s||"EnumDeclaration"===s)}(n,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{exportKind:o,exported:a}=n;return s.push("export"),"type"===o&&s.push(" type"),s.push(" *"),a&&s.push(" as ",r("exported")),s.push(E(e,t,r),C(e,t,r),i),s},printModuleSpecifier:function(e,t,r){let n=e.getNode(),{type:i}=n,s=[],o="ImportSpecifier"===i?n.importKind:n.exportKind;o&&"value"!==o&&s.push(o," ");let a=i.startsWith("Import"),u=a?"imported":"local",l=a?"local":"exported",c=n[u],p=n[l],h="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?h="*":c&&(h=r(u)),p&&!function(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!(t.type!==r.type||!b(t,r))&&(m(t)?t.value===r.value&&g(t)===g(r):"Identifier"===t.type&&t.name===r.name)}(n)&&(d=r(l)),s.push(h,h&&d?" as ":"",d),s}}}}),ln=v({"src/language-js/print/object.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{line:n,softline:i,group:s,indent:o,ifBreak:a,hardline:u}}=W(),{getLast:l,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:h}=de(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:g,isNextLineEmpty:y}=sr(),{locStart:b,locEnd:v}=Bt(),{printOptionalToken:D,printTypeAnnotation:E}=qr(),{shouldHugFunctionParameters:x}=Qr(),{shouldHugType:S}=en(),{printHardlineAfterHeritage:C}=on();t.exports={printObject:function(e,t,w){let A,T=t.semi?";":"",P=e.getValue();A="TSTypeLiteral"===P.type?"members":"TSInterfaceBody"===P.type?"body":"properties";let F="ObjectTypeAnnotation"===P.type,I=[A];F&&I.push("indexers","callProperties","internalSlots");let N=I.map((e=>P[e][0])).sort(((e,t)=>b(e)-b(t)))[0],k=e.getParentNode(0),_=F&&k&&("InterfaceDeclaration"===k.type||"DeclareInterface"===k.type||"DeclareClass"===k.type)&&"body"===e.getName(),O="TSInterfaceBody"===P.type||_||"ObjectPattern"===P.type&&"FunctionDeclaration"!==k.type&&"FunctionExpression"!==k.type&&"ArrowFunctionExpression"!==k.type&&"ObjectMethod"!==k.type&&"ClassMethod"!==k.type&&"ClassPrivateMethod"!==k.type&&"AssignmentPattern"!==k.type&&"CatchClause"!==k.type&&P.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==P.type&&N&&c(t.originalText,b(P),b(N)),M=_?";":"TSInterfaceBody"===P.type||"TSTypeLiteral"===P.type?a(T,";"):",",L="RecordExpression"===P.type?"#{":P.exact?"{|":"{",B=P.exact?"|}":"}",R=[];for(let t of I)e.each((e=>{let t=e.getValue();R.push({node:t,printed:w(),loc:b(t)})}),t);I.length>1&&R.sort(((e,t)=>e.loc-t.loc));let j=[],$=R.map((e=>{let r=[...j,s(e.printed)];return j=[M,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,g.PrettierIgnore)&&j.shift(),y(e.node,t)&&j.push(u),r}));if(P.inexact){let i;if(f(P,g.Dangling)){let s=f(P,g.Line);i=[r(e,t,!0),s||p(t.originalText,v(l(m(P))))?u:n,"..."]}else i=["..."];$.push([...j,...i])}let U,z=l(P[A]),V=!(P.inexact||z&&"RestElement"===z.type||z&&("TSPropertySignature"===z.type||"TSCallSignatureDeclaration"===z.type||"TSMethodSignature"===z.type||"TSConstructSignatureDeclaration"===z.type)&&f(z,g.PrettierIgnore));if(0===$.length){if(!f(P,g.Dangling))return[L,B,E(e,t,w)];U=s([L,r(e,t),i,B,D(e),E(e,t,w)])}else U=[_&&h(P.properties)?C(k):"",L,o([t.bracketSpacing?n:i,...$]),a(V&&(","!==M||d(t))?M:""),t.bracketSpacing?n:i,B,D(e),E(e,t,w)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(S,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!O&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?U:s(U,{shouldBreak:O})}}}}),cn=v({"src/language-js/print/flow.js"(e,t){w();var r=Wt(),{printDanglingComments:n}=Ht(),{printString:i,printNumber:s}=de(),{builders:{hardline:o,softline:a,group:u,indent:l}}=W(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:h,rawText:d,shouldPrintComma:f}=sr(),{locStart:m,locEnd:g}=Bt(),{replaceTextEndOfLine:y}=U(),{printClass:b}=on(),{printOpaqueType:v,printTypeAlias:D,printIntersectionType:E,printUnionType:x,printFunctionType:S,printTupleType:C,printIndexedAccessType:A}=en(),{printInterface:T}=an(),{printTypeParameter:P,printTypeParameters:F}=tn(),{printExportDeclaration:I,printExportAllDeclaration:N}=un(),{printArrayItems:k}=Gr(),{printObject:_}=ln(),{printPropertyKey:O}=rn(),{printOptionalToken:M,printTypeAnnotation:L,printRestSpread:B}=qr();function R(e,t){let n=c(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,c){let w=e.getValue(),j=t.semi?";":"",$=[];switch(w.type){case"DeclareClass":return R(e,b(e,t,c));case"DeclareFunction":return R(e,["function ",c("id"),w.predicate?" ":"",c("predicate"),j]);case"DeclareModule":return R(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return R(e,["module.exports",": ",c("typeAnnotation"),j]);case"DeclareVariable":return R(e,["var ",c("id"),j]);case"DeclareOpaqueType":return R(e,v(e,t,c));case"DeclareInterface":return R(e,T(e,t,c));case"DeclareTypeAlias":return R(e,D(e,t,c));case"DeclareExportDeclaration":return R(e,I(e,t,c));case"DeclareExportAllDeclaration":return R(e,N(e,t,c));case"OpaqueType":return v(e,t,c);case"TypeAlias":return D(e,t,c);case"IntersectionTypeAnnotation":return E(e,t,c);case"UnionTypeAnnotation":return x(e,t,c);case"FunctionTypeAnnotation":return S(e,t,c);case"TupleTypeAnnotation":return C(e,t,c);case"GenericTypeAnnotation":return[c("id"),F(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return A(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return P(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(w.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===w.type||w.explicitType){let e=null;switch(w.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}$.push("of ",e," ")}if(0!==w.members.length||w.hasUnknownMembers){let r=w.members.length>0?[o,k(e,t,"members",c),w.hasUnknownMembers||f(t)?",":""]:[];$.push(u(["{",l([...r,...w.hasUnknownMembers?[o,"..."]:[]]),n(e,t,!0),o,"}"]))}else $.push(u(["{",n(e,t),a,"}"]));return $;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof w.init?c("init"):String(w.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=w.name?c("name"):e.getParentNode().this===w?"this":"";return[t,M(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return T(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=w;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return w.static&&$.push("static "),$.push(c("value")),$;case"ObjectTypeIndexer":return[w.static?"static ":"",w.variance?c("variance"):"","[",c("id"),w.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let r="";return w.proto?r="proto ":w.static&&(r="static "),[r,h(w)?w.kind+" ":"",w.variance?c("variance"):"",O(e,t,c),M(e),p(w)?"":": ",c("value")]}case"ObjectTypeAnnotation":return _(e,t,c);case"ObjectTypeInternalSlot":return[w.static?"static ":"","[[",c("id"),"]]",M(e),w.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return B(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return y(i(d(w),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof w.value,"number");case"BigIntLiteralTypeAnnotation":return w.extra?s(w.extra.raw):s(w.raw);case"TypeCastExpression":return["(",c("expression"),L(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=F(e,t,c,"params");if("flow"===t.parser){let e=m(w),n=g(w),i=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==s){let e=t.originalText.slice(i+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}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(w.type))}}}}}),pn=v({"src/language-js/utils/is-ts-keyword-type.js"(e,t){w(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),hn=v({"src/language-js/print/ternary.js"(e,t){w();var{hasNewlineInRange:r}=de(),{isJsxNode:n,getComments:i,isCallExpression:s,isMemberExpression:o,isTSTypeExpression:a}=sr(),{locStart:u,locEnd:l}=Bt(),c=nr(),{builders:{line:p,softline:h,group:d,indent:f,align:m,ifBreak:g,dedent:y,breakParent:b}}=W();function v(e,t,r){let n=e.getValue(),i="ConditionalExpression"===n.type,s=i?"alternate":"falseType",o=e.getParentNode(),a=i?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return o.type===n.type&&o[s]===n?m(2,a):a}var D=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,E){let x,w,S=e.getValue(),C="ConditionalExpression"===S.type,A=C?"consequent":"trueType",T=C?"alternate":"falseType",P=C?["test"]:["checkType","extendsType"],F=S[A],I=S[T],N=[],k=!1,_=e.getParentNode(),O=_.type===S.type&&P.some((e=>_[e]===S)),M=_.type===S.type&&!O,L=0;do{w=x||S,x=e.getParentNode(L),L++}while(x&&x.type===S.type&&P.every((e=>x[e]!==w)));let B=x||_,R=w;if(C&&(n(S[P[0]])||n(F)||n(I)||function(e){let t=[e];for(let e=0;e<t.length;e++){let r=t[e];for(let e of["test","consequent","alternate"]){let i=r[e];if(n(i))return!0;"ConditionalExpression"===i.type&&t.push(i)}}return!1}(R))){k=!0,M=!0;let e=e=>[g("("),f([h,e]),h,g(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;N.push(" ? ",t(F)?E(A):e(E(A))," : ",I.type===S.type||t(I)?E(T):e(E(T)))}else{let e=[p,"? ",F.type===S.type?g("","("):"",m(2,E(A)),F.type===S.type?g("",")"):"",p,": ",I.type===S.type?E(T):m(2,E(T))];N.push(_.type!==S.type||_[T]===S||O?e:t.useTabs?y(f(e)):m(Math.max(0,t.tabWidth-2),e))}let j=[...P.map((e=>i(S[e]))),i(F),i(I)].flat().some((e=>c(e)&&r(t.originalText,u(e),l(e)))),$=!k&&(o(_)||"NGPipeExpression"===_.type&&_.left===S)&&!_.computed,U=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let r,n=t;for(let t=0;!r;t++){let i=e.getParentNode(t);s(i)&&i.callee===n||o(i)&&i.object===n||"TSNonNullExpression"===i.type&&i.expression===n?n=i:"NewExpression"===i.type&&i.callee===n||a(i)&&i.expression===n?(r=e.getParentNode(t+1),n=i):r=i}return n!==t&&r[D.get(r.type)]===n}(e),z=(V=[v(e,0,E),M?N:f(N),C&&$&&!U?h:""],_===B?d(V,{shouldBreak:j}):j?[V,b]:V);var V;return O||U?d([f([h,z]),h]):z}}}}),dn=v({"src/language-js/print/statement.js"(e,t){w();var{builders:{hardline:r}}=W(),n=$r(),{getLeftSidePathName:i,hasNakedLeftSide:s,isJsxNode:o,isTheOnlyJsxElementInMarkdown:a,hasComment:u,CommentCheckFlags:l,isNextLineEmpty:c}=sr(),{shouldPrintParamsWithoutParens:p}=nn();function h(e,t,n,i){let s=e.getValue(),o=[],p="ClassBody"===s.type,h=function(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}(s[i]);return e.each(((e,i,s)=>{let m=e.getValue();if("EmptyStatement"===m.type)return;let g=n();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):u(m,l.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",g),!t.semi&&p&&f(m)&&function(e,t){let{type:r,name:n}=e.key;if(!(e.computed||"Identifier"!==r||"static"!==n&&"get"!==n&&"set"!==n&&"accessor"!==n||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,s[i+1])&&o.push(";"),m!==h&&(o.push(r),c(m,t)&&o.push(r))}),i),o}function d(e,t){let r=e.getValue();switch(r.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}=r;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(o(r))return!0}return!!n(e,t)||!!s(r)&&e.call((e=>d(e,t)),...i(e,r))}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,r){return h(e,t,r,"body")},printSwitchCaseConsequent:function(e,t,r){return h(e,t,r,"consequent")}}}}),fn=v({"src/language-js/print/block.js"(e,t){w();var{printDanglingComments:r}=Ht(),{isNonEmptyArray:n}=de(),{builders:{hardline:i,indent:s}}=W(),{hasComment:o,CommentCheckFlags:a,isNextLineEmpty:u}=sr(),{printHardlineAfterHeritage:l}=on(),{printBody:c}=dn();function p(e,t,s){let l=e.getValue(),p=n(l.directives),h=l.body.some((e=>"EmptyStatement"!==e.type)),d=o(l,a.Dangling);if(!p&&!h&&!d)return"";let f=[];if(p&&e.each(((e,r,n)=>{f.push(s()),(r<n.length-1||h||d)&&(f.push(i),u(e.getValue(),t)&&f.push(i))}),"directives"),h&&f.push(c(e,t,s)),d&&f.push(r(e,t,!0)),"Program"===l.type){let t=e.getParentNode();(!t||"ModuleExpression"!==t.type)&&f.push(i)}return f}t.exports={printBlock:function(e,t,r){let o=e.getValue(),a=[];if("StaticBlock"===o.type&&a.push("static "),"ClassBody"===o.type&&n(o.body)){let t=e.getParentNode();a.push(l(t))}a.push("{");let u=p(e,t,r);if(u)a.push(s([i,u]),i);else{let t=e.getParentNode(),r=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!r.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===o.type||"ClassBody"===o.type||a.push(i)}return a.push("}"),a},printBlockBody:p}}}),mn=v({"src/language-js/print/typescript.js"(e,t){w();var{printDanglingComments:r}=Ht(),{hasNewlineInRange:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:u,indent:l,conditionalGroup:c,ifBreak:p}}=W(),{isStringLiteral:h,getTypeScriptMappedTypeModifier:d,shouldPrintComma:f,isCallExpression:m,isMemberExpression:g}=sr(),y=pn(),{locStart:b,locEnd:v}=Bt(),{printOptionalToken:D,printTypeScriptModifiers:E}=qr(),{printTernary:x}=hn(),{printFunctionParameters:S,shouldGroupFunctionParameters:C}=Qr(),{printTemplateLiteral:A}=or(),{printArrayItems:T}=Gr(),{printObject:P}=ln(),{printClassProperty:F,printClassMethod:I}=on(),{printTypeParameter:N,printTypeParameters:k}=tn(),{printPropertyKey:_}=rn(),{printFunction:O,printMethodInternal:M}=nn(),{printInterface:L}=an(),{printBlock:B}=fn(),{printTypeAlias:R,printIntersectionType:j,printUnionType:$,printFunctionType:U,printTupleType:z,printIndexedAccessType:V,printJSDocType:H}=en();t.exports={printTypescript:function(e,t,w){let W=e.getValue();if(!W.type.startsWith("TS"))return;if(y(W))return W.type.slice(2,-7).toLowerCase();let q=t.semi?";":"",G=[];switch(W.type){case"TSThisType":return"this";case"TSTypeAssertion":{let e=!("ArrayExpression"===W.expression.type||"ObjectExpression"===W.expression.type),t=u(["<",l([a,w("typeAnnotation")]),a,">"]),r=[p("("),l([a,w("expression")]),a,p(")")];return e?c([[t,w("expression")],[t,u(r,{shouldBreak:!0})],[t,w("expression")]]):u([t,w("expression")])}case"TSDeclareFunction":return O(e,w,t);case"TSExportAssignment":return["export = ",w("expression"),q];case"TSModuleBlock":return B(e,t,w);case"TSInterfaceBody":case"TSTypeLiteral":return P(e,t,w);case"TSTypeAliasDeclaration":return R(e,t,w);case"TSQualifiedName":return i(".",[w("left"),w("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return I(e,t,w);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return F(e,t,w);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return G.push(w("expression")),W.typeParameters&&G.push(w("typeParameters")),G;case"TSTemplateLiteralType":return A(e,w,t);case"TSNamedTupleMember":return[w("label"),W.optional?"?":"",": ",w("elementType")];case"TSRestType":return["...",w("typeAnnotation")];case"TSOptionalType":return[w("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return L(e,t,w);case"TSClassImplements":case"TSInstantiationExpression":return[w("expression"),w("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return k(e,t,w,"params");case"TSTypeParameter":return N(e,t,w);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===W.type?"as":"satisfies";G.push(w("expression"),` ${t} `,w("typeAnnotation"));let r=e.getParentNode();return m(r)&&r.callee===W||g(r)&&r.object===W?u([l([a,...G]),a]):G}case"TSArrayType":return[w("elementType"),"[]"];case"TSPropertySignature":return W.readonly&&G.push("readonly "),G.push(_(e,t,w),D(e)),W.typeAnnotation&&G.push(": ",w("typeAnnotation")),W.initializer&&G.push(" = ",w("initializer")),G;case"TSParameterProperty":return W.accessibility&&G.push(W.accessibility+" "),W.export&&G.push("export "),W.static&&G.push("static "),W.override&&G.push("override "),W.readonly&&G.push("readonly "),G.push(w("parameter")),G;case"TSTypeQuery":return["typeof ",w("exprName"),w("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=W.parameters.length>1?p(f(t)?",":""):"",s=u([l([a,i([", ",a],e.map(w,"parameters"))]),n,a]);return[W.export?"export ":"",W.accessibility?[W.accessibility," "]:"",W.static?"static ":"",W.readonly?"readonly ":"",W.declare?"declare ":"","[",W.parameters?s:"",W.typeAnnotation?"]: ":"]",W.typeAnnotation?w("typeAnnotation"):"","ClassBody"===r.type?q:""]}case"TSTypePredicate":return[W.asserts?"asserts ":"",w("parameterName"),W.typeAnnotation?[" is ",w("typeAnnotation")]:""];case"TSNonNullExpression":return[w("expression"),"!"];case"TSImportType":return[W.isTypeOf?"typeof ":"","import(",w(W.parameter?"parameter":"argument"),")",W.qualifier?[".",w("qualifier")]:"",k(e,t,w,"typeParameters")];case"TSLiteralType":return w("literal");case"TSIndexedAccessType":return V(e,t,w);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===W.type&&W.abstract&&G.push("abstract "),"TSCallSignatureDeclaration"!==W.type&&G.push("new "),G.push(u(S(e,w,t,!1,!0))),W.returnType||W.typeAnnotation){let e="TSConstructorType"===W.type;G.push(e?" => ":": ",w("returnType"),w("typeAnnotation"))}return G;case"TSTypeOperator":return[W.operator," ",w("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,b(W),v(W));return u(["{",l([t.bracketSpacing?s:a,w("typeParameter"),W.optional?d(W.optional,"?"):"",W.typeAnnotation?": ":"",w("typeAnnotation"),p(q)]),r(e,t,!0),t.bracketSpacing?s:a,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=W.kind&&"method"!==W.kind?`${W.kind} `:"";G.push(W.accessibility?[W.accessibility," "]:"",r,W.export?"export ":"",W.static?"static ":"",W.readonly?"readonly ":"",W.abstract?"abstract ":"",W.declare?"declare ":"",W.computed?"[":"",w("key"),W.computed?"]":"",D(e));let n=S(e,w,t,!1,!0),i=W.returnType?"returnType":"typeAnnotation",s=W[i],o=s?w(i):"",a=C(W,o);return G.push(a?u(n):n),s&&G.push(": ",u(o)),u(G)}case"TSNamespaceExportDeclaration":return G.push("export as namespace ",w("id")),t.semi&&G.push(";"),u(G);case"TSEnumDeclaration":return W.declare&&G.push("declare "),W.modifiers&&G.push(E(e,t,w)),W.const&&G.push("const "),G.push("enum ",w("id")," "),0===W.members.length?G.push(u(["{",r(e,t),a,"}"])):G.push(u(["{",l([o,T(e,t,"members",w),f(t,"es5")?",":""]),r(e,t,!0),o,"}"])),G;case"TSEnumMember":return W.computed?G.push("[",w("id"),"]"):G.push(w("id")),W.initializer&&G.push(" = ",w("initializer")),G;case"TSImportEqualsDeclaration":return W.isExport&&G.push("export "),G.push("import "),W.importKind&&"value"!==W.importKind&&G.push(W.importKind," "),G.push(w("id")," = ",w("moduleReference")),t.semi&&G.push(";"),u(G);case"TSExternalModuleReference":return["require(",w("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=h(W.id),i="TSModuleDeclaration"===r.type,s=W.body&&"TSModuleDeclaration"===W.body.type;if(i)G.push(".");else{W.declare&&G.push("declare "),G.push(E(e,t,w));let r=t.originalText.slice(b(W),b(W.id));"Identifier"===W.id.type&&"global"===W.id.name&&!/namespace|module/.test(r)||G.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return G.push(w("id")),s?G.push(w("body")):W.body?G.push(" ",u(w("body"))):G.push(q),G}case"TSConditionalType":return x(e,t,w);case"TSInferType":return["infer"," ",w("typeParameter")];case"TSIntersectionType":return j(e,t,w);case"TSUnionType":return $(e,t,w);case"TSFunctionType":return U(e,t,w);case"TSTupleType":return z(e,t,w);case"TSTypeReference":return[w("typeName"),k(e,t,w,"typeParameters")];case"TSTypeAnnotation":return w("typeAnnotation");case"TSEmptyBodyFunctionExpression":return M(e,t,w);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return H(e,w,"?");case"TSJSDocNonNullableType":return H(e,w,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(W.type)}.`)}}}}}),gn=v({"src/language-js/print/comment.js"(e,t){w();var{hasNewline:r}=de(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:s}}=W(),{isLineComment:o}=sr(),{locStart:a,locEnd:u}=Bt(),l=nr();t.exports={printComment:function(e,t){let c=e.getValue();if(o(c))return t.originalText.slice(a(c),u(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["/*",n(i,t.map(((e,r)=>0===r?e.trimEnd():" "+(r<t.length-1?e.trim():e.trimStart())))),"*/"]}(c);return c.trailing&&!r(t.originalText,a(c),{backwards:!0})?[i,e]:e}let e=u(c),o="*-/"===t.originalText.slice(e-3,e);return["/*",s(c.value),o?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(c))}}}}),yn=v({"src/language-js/print/literal.js"(e,t){w();var{printString:r,printNumber:n}=de(),{replaceTextEndOfLine:i}=U(),{printDirective:s}=qr();function o(e){return e.toLowerCase()}function a(e){let{pattern:t,flags:r}=e;return r=[...r].sort().join(""),`/${t}/${r}`}t.exports={printLiteral:function(e,t){let u=e.getNode();switch(u.type){case"RegExpLiteral":return a(u);case"BigIntLiteral":return o(u.bigint||u.extra.raw);case"NumericLiteral":return n(u.extra.raw);case"StringLiteral":return i(r(u.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(u.value);case"DecimalLiteral":return n(u.value)+"m";case"Literal":{if(u.regex)return a(u.regex);if(u.bigint)return o(u.raw);if(u.decimal)return n(u.decimal)+"m";let{value:l}=u;return"number"==typeof l?n(u.raw):"string"==typeof l?function(e){if("expression"!==e.getName())return;let t=e.getParentNode();return"ExpressionStatement"===t.type&&t.directive}(e)?s(u.raw,t):i(r(u.raw,t)):String(l)}}}}}}),bn=v({"src/language-js/printer-estree.js"(e,t){w();var{printDanglingComments:r}=Ht(),{hasNewline:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:u,indent:l},utils:{replaceTextEndOfLine:c}}=W(),p=pr(),h=hr(),{insertPragma:d}=Br(),f=jr(),m=$r(),g=Ur(),{hasFlowShorthandAnnotationComment:y,hasComment:b,CommentCheckFlags:v,isTheOnlyJsxElementInMarkdown:D,isLineComment:E,isNextLineEmpty:x,needsHardlineAfterDanglingComment:S,hasIgnoreComment:C,isCallExpression:A,isMemberExpression:T,markerForIfWithoutBlockAndSameLineComment:P}=sr(),{locStart:F,locEnd:I}=Bt(),N=nr(),{printHtmlBinding:k,isVueEventBindingExpression:_}=zr(),{printAngular:O}=Wr(),{printJsx:M,hasJsxIgnoreComment:L}=Hr(),{printFlow:B}=cn(),{printTypescript:R}=mn(),{printOptionalToken:j,printBindExpressionCallee:$,printTypeAnnotation:U,adjustClause:z,printRestSpread:V,printDefiniteToken:H,printDirective:q}=qr(),{printImportDeclaration:G,printExportDeclaration:K,printExportAllDeclaration:X,printModuleSpecifier:J}=un(),{printTernary:Y}=hn(),{printTemplateLiteral:Z}=or(),{printArray:Q}=Gr(),{printObject:ee}=ln(),{printClass:te,printClassMethod:re,printClassProperty:ne}=on(),{printProperty:ie}=rn(),{printFunction:se,printArrowFunction:oe,printMethod:ae,printReturnStatement:ue,printThrowStatement:le}=nn(),{printCallExpression:ce}=Yr(),{printVariableDeclarator:pe,printAssignmentExpression:he}=Zr(),{printBinaryishExpression:fe}=Vr(),{printSwitchCaseConsequent:me}=dn(),{printMemberExpression:ge}=Xr(),{printBlock:ye,printBlockBody:be}=fn(),{printComment:ve}=gn(),{printLiteral:De}=yn(),{printDecorators:Ee}=sn();t.exports={preprocess:g,print:function(e,t,p,h){let d=function(e,t,p,h){let d=e.getValue(),f=t.semi?";":"";if(!d)return"";if("string"==typeof d)return d;for(let r of[De,k,O,M,B,R]){let n=r(e,t,p);if(typeof n<"u")return n}let m=[];switch(d.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),o];case"File":return d.program&&d.program.interpreter&&m.push(p(["program","interpreter"])),m.push(p("program")),m;case"Program":return be(e,t,p);case"EmptyStatement":return"";case"ExpressionStatement":{if("__vue_event_binding"===t.parser||"__vue_ts_event_binding"===t.parser){let t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===d)return[p("expression"),_(d.expression)?";":""]}let n=r(e,t,!0,(e=>{let{marker:t}=e;return t===P}));return[p("expression"),D(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return b(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?u(["(",l([a,p("expression")]),a,")"]):["(",p("expression"),")"];case"AssignmentExpression":return he(e,t,p);case"VariableDeclarator":return pe(e,t,p);case"BinaryExpression":case"LogicalExpression":return fe(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return ge(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(u(l([a,$(e,t,p)]))),m;case"Identifier":return[d.name,j(e),H(e),U(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return V(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return se(e,p,t,h);case"ArrowFunctionExpression":return oe(e,t,p,h);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(A(t)&&t.callee===d||T(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 u(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return K(e,t,p);case"ExportAllDeclaration":return X(e,t,p);case"ImportDeclaration":return G(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return J(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ye(e,t,p);case"ThrowStatement":return le(e,t,p);case"ReturnStatement":return ue(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ce(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,p);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?ae(e,t,p):ie(e,t,p);case"ObjectMethod":return ae(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Q(e,t,p);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,r)=>{0===r?t.push(p()):t.push(",",l([s,p()]))}),"expressions"),u(t)}return u(i([",",s],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return q(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),b(d.argument)?m.push(u(["(",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 Y(e,t,p);case"VariableDeclaration":{let t,r=e.map(p,"declarations"),n=e.getParentNode(),i="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,a=d.declarations.some((e=>e.init));return 1!==r.length||b(d.declarations[0])?r.length>0&&(t=l(r[0])):t=r[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",l(r.slice(1).map((e=>[",",a&&!i?o:s,e])))],i&&n.body!==d||m.push(f),u(m)}case"WithStatement":return u(["with (",p("object"),")",z(d.body,p("body"))]);case"IfStatement":{let n=z(d.consequent,p("consequent")),i=u(["if (",u([l([a,p("test")]),a]),")",n]);if(m.push(i),d.alternate){let n=b(d.consequent,v.Trailing|v.Line)||S(d),i="BlockStatement"===d.consequent.type&&!n;m.push(i?" ":o),b(d,v.Dangling)&&m.push(r(e,t,!0),n?o:" "),m.push("else",u(z(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let n=z(d.body,p("body")),i=r(e,t,!0),o=i?[i,a]:"";return d.init||d.test||d.update?[o,u(["for (",u([l([a,p("init"),";",s,p("test"),";",s,p("update")]),a]),")",n])]:[o,u(["for (;;)",n])]}case"WhileStatement":return u(["while (",u([l([a,p("test")]),a]),")",z(d.body,p("body"))]);case"ForInStatement":return u(["for (",p("left")," in ",p("right"),")",z(d.body,p("body"))]);case"ForOfStatement":return u(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",z(d.body,p("body"))]);case"DoWhileStatement":{let e=z(d.body,p("body"));return m=[u(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(o),m.push("while (",u([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=b(d.param,(e=>!N(e)||e.leading&&n(t.originalText,I(e))||e.trailing&&n(t.originalText,F(e),{backwards:!0}))),r=p("param");return["catch ",e?["(",l([a,r]),a,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[u(["switch (",l([a,p("discriminant")]),a,")"])," {",d.cases.length>0?l([o,i(o,e.map(((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&x(i,t)?o:""]}),"cases"))]):"",o,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),b(d,v.Dangling)&&m.push(" ",r(e,t,!0));let n=d.consequent.filter((e=>"EmptyStatement"!==e.type));if(n.length>0){let r=me(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:l([o,r]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return te(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ne(e,t,p);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return Z(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),x(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,h);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 E=[d],w=Ee(e,t,p),C="ClassExpression"===f.type&&w;if(w&&(E=[...w,d],!C))return u(E);if(!m(e,t))return h&&h.needsSemi&&E.unshift(";"),1===E.length&&E[0]===d?d:E;if(C&&(E=[l([s,...E])]),E.unshift("("),h&&h.needsSemi&&E.unshift(";"),y(f)){let[e]=f.trailingComments;E.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return C&&E.push(s),E.push(")"),E},embed:p,insertPragma:d,massageAstNode:h,hasPrettierIgnore:e=>C(e)||L(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function(e){return e.type&&!N(e)&&!E(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:ve,isBlockComment:N,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),vn=v({"src/language-js/printer-estree-json.js"(e,t){w();var{builders:{hardline:r,indent:n,join:i}}=W(),s=Ur();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 u(e,t){let{type:r}=e;if("ObjectProperty"!==r){if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"!==r)return"TemplateLiteral"===r?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,n]of e.elements.entries())null===n&&t.elements.splice(r,0,{type:"NullLiteral"})}else{let{key:r}=e;"Identifier"===r.type?t.key={type:"StringLiteral",value:r.name}:"NumericLiteral"===r.type&&(t.key={type:"StringLiteral",value:String(r.value)})}}u.ignoredProperties=a,t.exports={preprocess:s,print:function(e,t,s){let a=e.getValue();switch(a.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===a.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":s()),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===a.properties.length?"{}":["{",n([r,i([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===a.operator?"":a.operator,s("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 s(["quasis",0]);case"TemplateElement":return JSON.stringify(a.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(a.type))}},massageAstNode:u}}}),Dn=v({"src/common/common-options.js"(e,t){w();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,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:r,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:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),En=v({"src/language-js/options.js"(e,t){w();var r=Dn(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,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:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,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:n,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:r.singleAttributePerLine}}}),xn=v({"src/language-js/parse/parsers.js"(){w()}}),wn=v({"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}}}),Sn=v({"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}}}),Cn=v({"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}}}),An=v({"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}}}),Tn=v({"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}}}),Pn=v({"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}}}),Fn=v({"src/language-js/index.js"(e,t){w();var r=Zt(),n=bn(),i=vn(),s=En(),o=xn(),a=[r(wn(),(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"]}))),r(wn(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(wn(),(()=>({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}))),r(Sn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),r(Cn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(An(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),r(An(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(Tn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(Pn(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],u={estree:n,"estree-json":i};t.exports={languages:a,options:s,printers:u,parsers:o}}}),In=v({"src/language-css/clean.js"(e,t){w();var{isFrontMatterNode:r}=de(),n=F(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(e,t,i){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||r(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&n(i.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,r)=>{let n=Number(t);return Number.isNaN(n)?e:n+r.toLowerCase()}))),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}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 r=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==r&&(t.groups[r].unit="",t.groups.splice(r+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}s.ignoredProperties=i,t.exports=s}}),Nn=v({"src/utils/front-matter/print.js"(e,t){w();var{builders:{hardline:r,markAsRoot:n}}=W();t.exports=function(e,t){if("yaml"===e.lang){let i=e.value.trim(),s=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,s,s?r:"",e.endDelimiter])}}}}),kn=v({"src/language-css/embed.js"(e,t){w();var{builders:{hardline:r}}=W(),n=Nn();t.exports=function(e,t,i){let s=e.getValue();if("front-matter"===s.type){let e=n(s,i);return e?[e,r]:""}}}}),_n=v({"src/utils/front-matter/parse.js"(e,t){w();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}}}),On=v({"src/language-css/pragma.js"(e,t){w();var r=Br(),n=_n();t.exports={hasPragma:function(e){return r.hasPragma(n(e).content)},insertPragma:function(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}}}}),Mn=v({"src/language-css/utils/index.js"(e,t){w();var r=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 n(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function i(e,t){let r=n(e,t);return-1===r?null:e.getParentNode(r)}var s=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 u(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,r;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.type)}function h(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:n,getAncestorNode:i,getPropOfDeclNode:function(e){var t;let r=i(e,"css-decl");return null==r||null===(t=r.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 r;let n=i(e,"value-func");return(null==n||null===(r=n.value)||void 0===r?void 0:r.toLowerCase())===t},insideICSSRuleNode:function(e){var t;let r=i(e,"css-rule"),n=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))},insideAtRuleNode:function(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),r=i(e,"css-atrule");return"import"===(null==r?void 0:r.name)&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){let r=i(e,"css-atrule");return(null==r?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return s.has(e.toLowerCase())},isLastNode:function(e,t){var r;let n=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return n&&n.indexOf(t)===n.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:u,isSubtractionNode:l,isModuloNode:c,isMathOperatorNode:function(e){return o(e)||a(e)||u(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,r;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(r=e.value.group)||void 0===r?void 0:r.type)&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){var t,r,n;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(n=r.group)||void 0===n?void 0:n.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:h,isKeyInValuePairNode:function(e,t){if(!p(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&d(r[n+1])},isSCSSMapItemNode:function(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!(h(r)||n&&h(n)))return!1;let s=i(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||h(n)||"value-func"===n.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&&r.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 r,n;if("("!==(null===(r=e.open)||void 0===r?void 0:r.value)||")"!==(null===(n=e.close)||void 0===n?void 0:n.value)||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,n=t.groups[r];if("value-word"===(null==n?void 0:n.type)&&"with"===n.value)return!0}return!1},isParenGroupNode:function(e){var t,r;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(r=e.close)||void 0===r?void 0:r.value)}}}}),Ln=v({"src/utils/line-column-to-index.js"(e,t){w(),t.exports=function(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf("\n",r)+1;return r+e.column}}}),Bn=v({"src/language-css/loc.js"(e,t){w();var{skipEverythingButNewLine:r}=ue(),n=F(),i=Ln();function s(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if("css-comment"===e.type&&e.inline)return r(t,e.source.startOffset);let s=e.nodes&&n(e.nodes);return s&&e.source&&!e.source.end&&(e=s),e.source&&e.source.end?i(e.source.end,t):null}function a(e,t,r){e.source&&(e.source.startOffset=s(e,r)+t,e.source.endOffset=o(e,r)+t);for(let n in e){let i=e[n];"source"===n||!i||"object"!=typeof i||a(i,t,r)}}function u(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}t.exports={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,r){t.source&&(t.source.startOffset=s(t,r),t.source.endOffset=o(t,r));for(let n in t){let i=t[n];"source"===n||!i||"object"!=typeof i||("value-root"===i.type||"value-unknown"===i.type?a(i,u(t),i.text||i.value):e(i,r))}},replaceQuotesInInlineComments:function(e){let t,r="initial",n="initial",i=!1,s=[];for(let o=0;o<e.length;o++){let a=e[o];switch(r){case"initial":if("'"===a){r="single-quotes";continue}if('"'===a){r="double-quotes";continue}if(("u"===a||"U"===a)&&"url("===e.slice(o,o+4).toLowerCase()){r="url",o+=3;continue}if("*"===a&&"/"===e[o-1]){r="comment-block";continue}if("/"===a&&"/"===e[o-1]){r="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"double-quotes":if('"'===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"url":if(")"===a&&(r="initial"),"\n"===a||"\r"===a)return e;if("'"===a){r="single-quotes",n="url";continue}if('"'===a){r="double-quotes",n="url";continue}continue;case"comment-block":"/"===a&&"*"===e[o-1]&&(r="initial");continue;case"comment-inline":('"'===a||"'"===a||"*"===a)&&(i=!0),("\n"===a||"\r"===a)&&(i&&s.push([t,o]),r="initial",i=!1);continue}}for(let[t,r]of s)e=e.slice(0,t)+e.slice(t,r).replace(/["'*]/g," ")+e.slice(r);return e}}}}),Rn=v({"src/language-css/utils/is-less-parser.js"(e,t){w(),t.exports=function(e){return"css"===e.parser||"less"===e.parser}}}),jn=v({"src/language-css/utils/is-scss.js"(e,t){w(),t.exports=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}}}),$n=v({"src/language-css/utils/css-units.evaluate.js"(e,t){t.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Un=v({"src/language-css/utils/print-unit.js"(e,t){w();var r=$n();t.exports=function(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:e}}}),zn=v({"src/language-css/printer-postcss.js"(e,t){w();var r=F(),{printNumber:n,printString:i,hasNewline:s,isFrontMatterNode:o,isNextLineEmpty:a,isNonEmptyArray:u}=de(),{builders:{join:l,line:c,hardline:p,softline:h,group:d,fill:f,indent:m,dedent:g,ifBreak:y,breakParent:b},utils:{removeLines:v,getDocParts:D}}=W(),E=In(),x=kn(),{insertPragma:S}=On(),{getAncestorNode:C,getPropOfDeclNode:A,maybeToLowerCase:T,insideValueFunctionNode:P,insideICSSRuleNode:I,insideAtRuleNode:N,insideURLFunctionInImportAtRuleNode:k,isKeyframeAtRuleKeywords:_,isWideKeywords:O,isLastNode:M,isSCSSControlDirectiveNode:L,isDetachedRulesetDeclarationNode:B,isRelationalOperatorNode:R,isEqualityOperatorNode:j,isMultiplicationNode:$,isDivisionNode:U,isAdditionNode:z,isSubtractionNode:V,isMathOperatorNode:H,isEachKeywordNode:q,isForKeywordNode:G,isURLFunctionNode:K,isIfElseKeywordNode:X,hasComposesNode:J,hasParensAroundNode:Y,hasEmptyRawBefore:Z,isKeyValuePairNode:Q,isKeyInValuePairNode:ee,isDetachedRulesetCallNode:te,isTemplatePlaceholderNode:re,isTemplatePropNode:ne,isPostcssSimpleVarNode:ie,isSCSSMapItemNode:se,isInlineValueCommentNode:oe,isHashNode:ae,isLeftCurlyBraceNode:ue,isRightCurlyBraceNode:le,isWordNode:ce,isColonNode:pe,isMediaAndSupportsKeywords:he,isColorAdjusterFuncNode:fe,lastLineHasInlineComment:me,isAtWordPlaceholderNode:ge,isConfigurationNode:ye,isParenGroupNode:be}=Mn(),{locStart:ve,locEnd:De}=Bn(),Ee=Rn(),xe=jn(),we=Un();function Se(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Ce(e,t,r){let n=[];return e.each(((e,i,u)=>{let l=u[i-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let r=e.getValue();n.push(t.originalText.slice(ve(r),De(r)))}else n.push(r());i!==u.length-1&&("css-comment"===u[i+1].type&&!s(t.originalText,ve(u[i+1]),{backwards:!0})&&!o(u[i])||"css-atrule"===u[i+1].type&&"else"===u[i+1].name&&"css-comment"!==u[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?c:p),a(t.originalText,e.getValue(),De)&&!o(u[i])&&n.push(p)))}),"nodes"),n}var Ae=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Te=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 Pe(e,t){return e.replace(Ae,(e=>i(e,t)))}function Fe(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Ie(e){return e.replace(Te,((e,t,r,n,i)=>!r&&n?Ne(n)+T(i||""):e))}function Ne(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,n){let s=e.getValue();if(!s)return"";if("string"==typeof s)return s;switch(s.type){case"front-matter":return[s.raw,p];case"css-root":{let r=Ce(e,t,n),i=s.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[r,i?` ${i}`:"",D(r).length>0?p:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(ve(s),De(s));return e?r.trimEnd():r}case"css-rule":return[n("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&me(s.selector.value)?c:" ","{",s.nodes.length>0?m([p,Ce(e,t,n)]):"",p,"}",B(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=s.raws,o=i.trim(),a=":"===o,u=J(s)?v(n("value")):n("value");return!a&&me(o)&&(u=m([p,g(u)])),[s.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||I(e)?s.prop:T(s.prop),o.startsWith("//")?" ":"",o,s.extend?"":" ",Ee(t)&&s.extend&&s.selector?["extend(",n("selector"),")"]:"",u,s.raws.important?s.raws.important.replace(/\s*!\s*important/i," !important"):s.important?" !important":"",s.raws.scssDefault?s.raws.scssDefault.replace(/\s*!default/i," !default"):s.scssDefault?" !default":"",s.raws.scssGlobal?s.raws.scssGlobal.replace(/\s*!global/i," !global"):s.scssGlobal?" !global":"",s.nodes?[" {",m([h,Ce(e,t,n)]),h,"}"]:ne(s)&&!r.raws.semicolon&&";"!==t.originalText[De(s)-1]?"":t.__isHTMLStyleAttribute&&M(e,s)?y(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(s)&&!r.raws.semicolon&&";"!==t.originalText[De(s)-1];if(Ee(t)){if(s.mixin)return[n("selector"),s.important?" !important":"",i?"":";"];if(s.function)return[s.name,n("params"),i?"":";"];if(s.variable)return["@",s.name,": ",s.value?n("value"):"",s.raws.between.trim()?s.raws.between.trim()+" ":"",s.nodes?["{",m([s.nodes.length>0?h:"",Ce(e,t,n)]),h,"}"]:"",i?"":";"]}return["@",te(s)||s.name.endsWith(":")?s.name:T(s.name),s.params?[te(s)?"":re(s)?""===s.raws.afterName?"":s.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(s.raws.afterName)?[p,p]:/^\s*\n/.test(s.raws.afterName)?p:" ":" ",n("params")]:"",s.selector?m([" ",n("selector")]):"",s.value?d([" ",n("value"),L(s)?Y(s)?" ":c:""]):"else"===s.name?" ":"",s.nodes?[L(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&me(s.selector.value)||!s.selector&&"string"==typeof s.params&&me(s.params)?c:" ","{",m([s.nodes.length>0?h:"",Ce(e,t,n)]),h,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),d(m(l(c,t)))}case"media-query":return[l(" ",e.map(n,"nodes")),M(e,s)?"":","];case"media-type":case"media-value":return Ie(Pe(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(n,"nodes"),")"]:s.value;case"media-feature":return T(Pe(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return Pe(s.value,t);case"media-url":return Pe(s.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 s.value;case"selector-root":return d([N(e,"custom-selector")?[C(e,"css-atrule").customSelector,c]:"",l([",",N(e,["extend","custom-selector","nest"])?c:p],e.map(n,"nodes"))]);case"selector-selector":return d(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(s),n=r&&t.nodes[r-1];return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"","selector-nesting"===n.type?s.value:Ie(_(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",Ie(Pe(s.value,t))];case"selector-attribute":var o;return["[",s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.attribute.trim(),null!==(o=s.operator)&&void 0!==o?o:"",s.value?Fe(Pe(s.value.trim(),t),t):"",s.insensitive?" i":"","]"];case"selector-combinator":if("+"===s.value||">"===s.value||"~"===s.value||">>>"===s.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===s?"":c,s.value,M(e,s)?"":" "]}return[s.value.trim().startsWith("(")?c:"",Ie(Pe(s.value.trim(),t))||c];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[T(s.value),u(s.nodes)?d(["(",m([h,l([",",c],e.map(n,"nodes"))]),h,")"]):""];case"selector-unknown":{let r=C(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Ie(Pe(T(s.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=ve(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let i=e.getParentNode(1);if("value-paren_group"===n.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=De(n.open)+1,r=ve(n.close),i=t.originalText.slice(e,r).trim();return me(i)?[b,i]:i}return s.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(ve(s),De(s));case"value-comma_group":{let r=e.getParentNode(),i=e.getParentNode(1),o=A(e),a=o&&"value-value"===r.type&&("grid"===o||o.startsWith("grid-template")),u=C(e,"css-atrule"),l=u&&L(u),y=s.groups.some((e=>oe(e))),v=e.map(n,"groups"),D=[],x=P(e,"url"),w=!1,S=!1;for(let n=0;n<s.groups.length;++n){var E;D.push(v[n]);let o=s.groups[n-1],d=s.groups[n],f=s.groups[n+1],m=s.groups[n+2];if(x){(f&&z(f)||z(d))&&D.push(" ");continue}if(N(e,"forward")&&"value-word"===d.type&&d.value&&void 0!==o&&"value-word"===o.type&&"as"===o.value&&"value-operator"===f.type&&"*"===f.value||!f||"value-word"===d.type&&d.value.endsWith("-")&&ge(f))continue;if("value-string"===d.type&&d.quoted){let e=d.value.lastIndexOf("#{"),t=d.value.lastIndexOf("}");-1!==e&&-1!==t?w=e>t:-1!==e?w=!0:-1!==t&&(w=!1)}if(w||pe(d)||pe(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||ie(d,f)||ae(d)||ue(d)||le(f)||ue(f)&&Z(f)||le(d)&&Z(f)||"--"===d.value&&ae(f))continue;let y=H(d),b=H(f);if((y&&ae(f)||b&&le(d))&&Z(f)||!o&&U(d)||P(e,"calc")&&(z(d)||z(f)||V(d)||V(f))&&Z(f))continue;let C=(z(d)||V(d))&&0===n&&("value-number"===f.type||f.isHex)&&i&&fe(i)&&!Z(f),A=m&&"value-func"===m.type||m&&ce(m)||"value-func"===d.type||ce(d),T="value-func"===f.type||ce(f)||o&&"value-func"===o.type||o&&ce(o);if(($(f)||$(d)||P(e,"calc")||C||!(U(f)&&!A||U(d)&&!T||z(f)&&!A||z(d)&&!T||V(f)||V(d))||!(Z(f)||y&&(!o||o&&H(o))))&&("scss"!==t.parser&&"less"!==t.parser||!y||"-"!==d.value||!be(f)||De(d)!==ve(f.open)||"("!==f.open.value)){if(oe(d)){if("value-paren_group"===r.type){D.push(g(p));continue}D.push(p);continue}if(l&&(j(f)||R(f)||X(f)||q(d)||G(d))){D.push(" ");continue}if(u&&"namespace"===u.name.toLowerCase()){D.push(" ");continue}if(a){d.source&&f.source&&d.source.start.line!==f.source.start.line?(D.push(p),S=!0):D.push(" ");continue}if(b){D.push(" ");continue}if(!(f&&"..."===f.value||ge(d)&&ge(f)&&De(d)===ve(f))){if(ge(d)&&be(f)&&De(d)===ve(f.open)){D.push(h);continue}if("with"===d.value&&be(f)){D.push(" ");continue}null!==(E=d.value)&&void 0!==E&&E.endsWith("#")&&"{"===f.value&&be(f.group)||D.push(c)}}}return y&&D.push(b),S&&D.unshift(p),l?d(m(D)):k(e)?d(f(D)):d(m(f(D)))}case"value-paren_group":{let i=e.getParentNode();if(i&&K(i)&&(1===s.groups.length||s.groups.length>0&&"value-comma_group"===s.groups[0].type&&s.groups[0].groups.length>0&&"value-word"===s.groups[0].groups[0].type&&s.groups[0].groups[0].value.startsWith("data:")))return[s.open?n("open"):"",l(",",e.map(n,"groups")),s.close?n("close"):""];if(!s.open){let t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",c]),r.push(t[e]);return d(m(f(r)))}let o=se(e),b=r(s.groups),v=b&&"value-comment"===b.type,E=ee(s,i),x=ye(s,i),w=x||o&&!E,S=x||E,C=d([s.open?n("open"):"",m([h,l([c],e.map(((e,i)=>{let o=e.getValue(),l=i===s.groups.length-1,c=[n(),l?"":","];if(Q(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=D(c[0].contents.contents);e[1]=d(e[1]),c=[d(g(c))]}if(!l&&"value-comma_group"===o.type&&u(o.groups)){let e=r(o.groups);!e.source&&e.close&&(e=e.close),e.source&&a(t.originalText,e,De)&&c.push(p)}return c}),"groups"))]),y(!v&&xe(t.parser,t.originalText)&&o&&Se(t)?",":""),h,s.close?n("close"):""],{shouldBreak:w});return S?g(C):C}case"value-func":return[s.value,N(e,"supports")&&he(s)?" ":"",n("group")];case"value-number":return[Ne(s.value),we(s.unit)];case"value-word":return s.isColor&&s.isHex||O(s.value)?s.value.toLowerCase():s.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(s),i=n&&t.groups[n-1];return[s.value,i&&"string"==typeof i.value&&"\\"===r(i.value)||P(e,"url")?"":c]}case"value-string":return i(s.raws.quote+s.value+s.raws.quote,t);case"value-atword":return["@",s.value];default:throw new Error(`Unknown postcss type ${JSON.stringify(s.type)}`)}},embed:x,insertPragma:S,massageAstNode:E}}}),Vn=v({"src/language-css/options.js"(e,t){w();var r=Dn();t.exports={singleQuote:r.singleQuote}}}),Wn=v({"src/language-css/parsers.js"(){w()}}),Hn=v({"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}}}),qn=v({"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}}}),Gn=v({"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}}}),Kn=v({"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}}}),Xn=v({"src/language-css/index.js"(e,t){w();var r=Zt(),n=zn(),i=Vn(),s=Wn(),o=[r(Hn(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r(qn(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(Gn(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(Kn(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],a={postcss:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Jn=v({"src/language-handlebars/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),Yn=v({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}w(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),Zn=v({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),Qn=v({"src/language-handlebars/utils.js"(e,t){w();var r=F(),n=Zn();function i(e){return e.toUpperCase()===e}var s=new Set(n);function o(e){return a(e,["TextNode"])&&!/\S/.test(e.chars)}function a(e,t){return e&&t.includes(e.type)}function u(e,t){return a(e.getParentNode(0),t)}function l(e,t){var r,n,i,s;let o=e.getValue(),a=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},u=null!==(n=null!==(i=null!==(s=a.children)&&void 0!==s?s:a.body)&&void 0!==i?i:a.parts)&&void 0!==n?n:[],l=u.indexOf(o);return-1!==l&&u[l+t]}function c(e){return l(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function p(e){return l(e,1)}function h(e){return a(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:p,getPreviousNode:c,hasPrettierIgnore:function(e){let t=e.getValue(),r=c(e,2);return h(t)||h(r)},isLastNodeOfSiblings:function(e){let t=e.getValue(),n=e.getParentNode(0);return!!(u(e,["ElementNode"])&&r(n.children)===t||u(e,["Block"])&&r(n.body)===t)},isNextNodeOfSomeType:function(e,t){return a(p(e),t)},isNodeOfSomeType:a,isParentOfSomeType:u,isPreviousNodeOfSomeType:function(e,t){return a(c(e),t)},isVoid:function(e){return!0===e.selfClosing||function(e){return s.has(e.toLowerCase())&&!i(e[0])}(e.tag)||function(e){return a(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(i(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>o(e)))},isWhitespaceNode:o}}}),ei=v({"src/language-handlebars/printer-glimmer.js"(e,t){w();var{builders:{dedent:r,fill:n,group:i,hardline:s,ifBreak:o,indent:a,join:u,line:l,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:h}}=W(),{getPreferredQuote:d,isNonEmptyArray:f}=de(),{locStart:m,locEnd:g}=Jn(),y=Yn(),{getNextNode:b,getPreviousNode:v,hasPrettierIgnore:D,isLastNodeOfSiblings:E,isNextNodeOfSomeType:x,isNodeOfSomeType:S,isParentOfSomeType:C,isPreviousNodeOfSomeType:A,isVoid:T,isWhitespaceNode:P}=Qn();function F(e,t){return m(e)-m(t)}function I(e,t,r){let n=e.getValue().children.every((e=>P(e)));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map(((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i}),"children")}function N(e){return T(e)?o([c,"/>"],[" />",c]):o([c,">"],">")}function k(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function _(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function O(e){return[k(e),e.openStrip.open?"~":"","#"]}function M(e){let t=_(e);return[e.openStrip.close?"~":"",t]}function L(e){return[k(e),e.closeStrip.open?"~":"","/"]}function B(e){let t=_(e);return[e.closeStrip.close?"~":"",t]}function R(e){return[k(e),e.inverseStrip.open?"~":""]}function j(e){let t=_(e);return[e.inverseStrip.close?"~":"",t]}function $(e,t){let r=e.getValue(),n=[],s=re(e,t);return s&&n.push(i(s)),f(r.program.blockParams)&&n.push(ne(r.program)),i([O(r),te(0,t),n.length>0?a([l,u(l,n)]):"",c,M(r)])}function U(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",R(e),"else",j(e)]}function z(e,t,r){let n=e.getValue(),s=e.getParentNode(1);return i([R(s),["else"," ",r],a([l,i(re(e,t)),...f(n.program.blockParams)?[l,ne(n.program)]:[]]),c,j(s)])}function V(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[H(n)?c:s,L(n),t("path"),B(n)]:[L(n),t("path"),B(n)]}function H(e){return S(e,["BlockStatement"])&&e.program.body.every((e=>P(e)))}function q(e){return S(e,["BlockStatement"])&&e.inverse}function G(e,t,r){if(H(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?a([s,n]):a(n)}function K(e,t,r){let n=e.getValue(),i=t("inverse"),o="ignore"===r.htmlWhitespaceSensitivity?[s,i]:i;return function(e){return q(e)&&1===e.inverse.body.length&&S(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}(n)?o:q(n)?[U(n,r),a(o)]:""}function X(e){return p(u(l,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function J(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(s)}function Z(e,t){let{quote:r,regex:n}=d(e,t);return[r,e.replace(n,`\\${r}`),r]}function Q(e,t){let r=te(0,t),n=re(e,t);return n?a([r,l,i(n)]):r}function ee(e,t){let r=te(0,t),n=re(e,t);return n?[a([r,l,n]),c]:r}function te(e,t){return t("path")}function re(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":u(l,n)}function ne(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,o){let p=e.getValue();if(!p)return"";if(D(e))return t.originalText.slice(m(p),g(p));let y=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(o,"body"));case"ElementNode":{let r=i(function(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter((e=>f(r[e]))),i=n.flatMap((e=>r[e])).sort(F);for(let r of n)e.each((e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[l,t()])}),r);return f(r.blockParams)&&i.push(l,ne(r)),["<",r.tag,a(i),N(r)]}(e,o)),n="ignore"===t.htmlWhitespaceSensitivity&&x(e,["ElementNode"])?c:"";if(T(p))return[r,n];let u=["</",p.tag,">"];return 0===p.children.length?[r,a(u),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,a(I(e,t,o)),s,a(u),n]:[r,a(i(I(e,t,o))),a(u),n]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===p&&r.inverse.body[0].path.parts[0]===r.path.parts[0]?[z(e,o,r.inverse.body[0].path.parts[0]),G(e,o,t),K(e,o,t)]:[$(e,o),i([G(e,o,t),K(e,o,t),V(e,o,t)])]}case"ElementModifierStatement":return i(["{{",ee(e,o),"}}"]);case"MustacheStatement":return i([k(p),ee(e,o),_(p)]);case"SubExpression":return i(["(",Q(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,y).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),y).quote:"",r=o("value");return[p.name,"=",t,"class"===p.name&&t?i(a(r)):r,t]}case"ConcatStatement":return e.map(o,"parts");case"Hash":return u(l,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),s=function(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}(e);if(s){if("class"===s){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return C(e,["ConcatStatement"])&&(A(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),x(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?l:"",t,n?l:""]}return h(i)}let o=/^[\t\n\f\r ]*$/.test(i),a=!v(e),u=!b(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,c=u&&C(e,["Template"]),p=a&&C(e,["Template"]);if(o){if(p||c)return"";let t=[l],n=J(i);return n&&(t=Y(n)),E(e)&&(t=t.map((e=>r(e)))),t}let[h]=i.match(t),[d]=i.match(s),f=[];if(h){f=[l];let e=J(h);e&&(f=Y(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[l];let t=J(d);t&&(m=Y(t)),E(e)&&(m=m.map((e=>r(e))))}i=i.replace(s,"")}return[...f,n(X(i)),...m]}let c=J(i),d=function(e){return J(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(i),f=function(e){return J(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(i);if((a||u)&&o&&C(e,["Block","ElementNode","Template"]))return"";o&&c?(d=Math.min(c,2),f=0):(x(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),A(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",g="";return 0===f&&x(e,["MustacheStatement"])&&(g=" "),0===d&&A(e,["MustacheStatement"])&&(m=" "),a&&(d=0,m=""),u&&(f=0,g=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,g),[...Y(d),n(X(i)),...Y(f)]}case"MustacheCommentStatement":{let e=m(p),r=g(p),n="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(r-3),s=p.value.includes("}}")?"--":"";return["{{",n?"~":"","!",s,p.value,s,i?"~":"","}}"]}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,r=e.getParentNode(t);for(;r&&S(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&S(e.getParentNode(t+1),["ConcatStatement"])&&S(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return Z(p.value,e)}return Z(p.value,y);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}},massageAstNode:y}}}),ti=v({"src/language-handlebars/parsers.js"(){w()}}),ri=v({"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}}}),ni=v({"src/language-handlebars/index.js"(e,t){w();var r=Zt(),n=ei(),i=ti(),s=[r(ri(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],o={glimmer:n};t.exports={languages:s,printers:o,parsers:i}}}),ii=v({"src/language-graphql/pragma.js"(e,t){w(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}}}}),si=v({"src/language-graphql/loc.js"(e,t){w(),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}}}}),oi=v({"src/language-graphql/printer-graphql.js"(e,t){w();var{builders:{join:r,hardline:n,line:i,softline:s,group:o,indent:a,ifBreak:u}}=W(),{isNextLineEmpty:l,isNonEmptyArray:c}=de(),{insertPragma:p}=ii(),{locStart:h,locEnd:d}=si();function f(e,t,n){if(0===n.directives.length)return"";let u=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?o([i,u]):[" ",o(a([s,u]))]}function m(e,t,r,i){return e.map(((e,i,s)=>{let o=r();return i<s.length-1&&l(t.originalText,e.getValue(),d)?[o,n]:o}),i)}function g(e,t,r){let n=e.getNode(),s=[],{interfaces:o}=n,a=e.map((e=>r(e)),"interfaces");for(let e=0;e<o.length;e++){let r=o[e];s.push(a[e]);let n=o[e+1];if(n){let e=t.originalText.slice(r.loc.end,n.loc.start),o=e.includes("#"),a=e.replace(/#.*/g,"").trim();s.push(","===a?",":" &",o?i:" ")}}return s}function y(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes("\n")&&(t.value=t.value.trim())}y.ignoredProperties=new Set(["loc","comments"]),t.exports={print:function(e,t,p){let y=e.getValue();if(!y)return"";if("string"==typeof y)return y;switch(y.kind){case"Document":{let r=[];return e.each(((e,i,s)=>{r.push(p()),i!==s.length-1&&(r.push(n),l(t.originalText,e.getValue(),d)&&r.push(n))}),"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[h(y)],i=Boolean(y.name);return[n?y.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&c(y.variableDefinitions)?" ":"",c(y.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):"",f(e,p,y),y.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(y.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):""," on ",p("typeCondition"),f(e,p,y)," ",p("selectionSet")];case"SelectionSet":return["{",a([n,r(n,m(e,t,p,"selections"))]),n,"}"];case"Field":return o([y.alias?[p("alias"),": "]:"",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",f(e,p,y),y.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return y.value;case"StringValue":if(y.block){let e=y.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),r(n,['"""',...e,'"""'])}return['"',y.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return y.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",a([s,r([u("",", "),s],e.map(p,"values"))]),s,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&y.fields.length>0?" ":"",a([s,r([u("",", "),s],e.map(p,"fields"))]),s,u("",t.bracketSpacing&&y.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),y.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,y)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),y.description?n:"","ObjectTypeExtension"===y.kind?"extend ":"","type ",p("name"),y.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),y.description?n:"",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",": ",p("type"),f(e,p,y)];case"DirectiveDefinition":return[p("description"),y.description?n:"","directive ","@",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",y.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),y.description?n:"","EnumTypeExtension"===y.kind?"extend ":"","enum ",p("name"),f(e,p,y),y.values.length>0?[" {",a([n,r(n,m(e,t,p,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),y.description?n:"",p("name"),f(e,p,y)];case"InputValueDefinition":return[p("description"),y.description?y.description.block?n:i:"",p("name"),": ",p("type"),y.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,y)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),y.description?n:"","InputObjectTypeExtension"===y.kind?"extend ":"","input ",p("name"),f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",f(e,p,y),...y.operationTypes.length>0?[" {",a([n,r(n,m(e,t,p,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[p("description"),y.description?n:"","schema",f(e,p,y)," {",y.operationTypes.length>0?a([n,r(n,m(e,t,p,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),y.description?n:"","InterfaceTypeExtension"===y.kind?"extend ":"","interface ",p("name"),y.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),f(e,p,y)];case"InlineFragment":return["...",y.typeCondition?[" on ",p("typeCondition")]:"",f(e,p,y)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),y.description?n:"",o(["UnionTypeExtension"===y.kind?"extend ":"","union ",p("name"),f(e,p,y),y.types.length>0?[" =",u(""," "),a([u([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),y.description?n:"","ScalarTypeExtension"===y.kind?"extend ":"","scalar ",p("name"),f(e,p,y)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(y.kind))}},massageAstNode:y,hasPrettierIgnore:function(e){var t;let r=e.getValue();return null==r||null===(t=r.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}}}}),ai=v({"src/language-graphql/options.js"(e,t){w();var r=Dn();t.exports={bracketSpacing:r.bracketSpacing}}}),ui=v({"src/language-graphql/parsers.js"(){w()}}),li=v({"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}}}),ci=v({"src/language-graphql/index.js"(e,t){w();var r=Zt(),n=oi(),i=ai(),s=ui(),o=[r(li(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],a={graphql:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),pi=v({"node_modules/collapse-white-space/index.js"(e,t){w(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),hi=v({"src/language-markdown/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),di=v({"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]"}}}),fi=v({"src/language-markdown/utils.js"(e,t){w();var{getLast:r}=de(),{locStart:n,locEnd:i}=hi(),{cjkPattern:s,kPattern:o,punctuationPattern:a}=di(),u=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...u,"tableCell","paragraph","heading"],c=new RegExp(o),p=new RegExp(a);function h(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}t.exports={mapAst:function(e,t){return function e(r,n,i){let s=Object.assign({},t(r,n,i));return s.children&&(s.children=s.children.map(((t,r)=>e(t,r,[s,...i])))),s}(e,null,[])},splitText:function(e,t){let n="non-cjk",i="cj-letter",o="cjk-punctuation",a=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${s})\n(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of u.entries()){if(e%2==1){a.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===u.length-1)&&""===t)continue;let h=t.split(new RegExp(`(${s})`));for(let[e,t]of h.entries())if(0!==e&&e!==h.length-1||""!==t){if(e%2==0){""!==t&&l({type:"word",value:t,kind:n,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(r(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":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return a;function l(e){let t=r(a);var s,u;t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?a.push({type:"whitespace",value:" "}):(s=n,u=o,!(t.kind===s&&e.kind===u||t.kind===u&&e.kind===s||[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:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:h,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(h(e.children[0],t.originalText).numberText),n=Number(h(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(h(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:u,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 n(e)===n(t)&&i(e)===i(t)}}}}),mi=v({"src/language-markdown/embed.js"(e,t){w();var{inferParserByLanguage:r,getMaxContinuousCount:n}=de(),{builders:{hardline:i,markAsRoot:s},utils:{replaceEndOfLine:o}}=W(),a=Nn(),{getFencedCodeBlockValue:u}=fi();t.exports=function(e,t,l,c){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=r(p.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(p.value,t)+1)),a={parser:e};"tsx"===p.lang&&(a.filepath="dummy.tsx");let h=l(u(p,c.originalText),a,{stripTrailingHardline:!0});return s([r,p.lang,p.meta?" "+p.meta:"",i,o(h),i,r])}}switch(p.type){case"front-matter":return a(p,l);case"importExport":return[l(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return l(`<$>${p.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),gi=v({"src/language-markdown/pragma.js"(e,t){w();var r=_n(),n=["format","prettier"];function i(e){let t=`@(${n.join("|")})`,r=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"),i=e.match(r);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i=`\x3c!-- @${n[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${i}\n\n${t.content}`:`${i}\n\n${t.content}`}}}}),yi=v({"src/language-markdown/print-preprocess.js"(e,t){w();var r=F(),{getOrderedListItemInfo:n,mapAst:i,splitText:s}=fi(),o=/^.$/su;function a(e,t,n){return i(e,(e=>{if(!e.children)return e;let i=e.children.reduce(((e,i)=>{let s=r(e);return s&&t(s,i)?e.splice(-1,1,n(s,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}t.exports=function(e,t){return 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 i(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}(e=function(e,t){return i(e,((e,r,n)=>{let[i]=n;if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===i.type&&(0===r&&(o=o.trimStart()),r===i.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:s(o,t)}}))}(e=function(e,t){return i(e,((e,t,r)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<r.length;t++){let n=r[t];if("list"===n.type&&!n.isAligned)return e.isAligned=!1,e}e.isAligned=s(e)}return e}));function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function s(e){if(!e.ordered)return!0;let[i,s]=e.children;if(n(i,t.originalText).leadingSpaces.length>1)return!0;let o=r(i);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===r(s)&&(o%t.tabWidth==0||n(s,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return i(e,((e,r,n)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e<n.length;e++){let t=n[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}(e=function(e,t){return i(e,(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 i(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)))}}}),bi=v({"src/language-markdown/clean.js"(e,t){w();var r=pi(),{isFrontMatterNode:n}=de(),{startWithPragma:i}=gi(),s=new Set(["position","raw"]);function o(e,t,s){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=r(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),s&&"root"===s.type&&s.children.length>0&&(s.children[0]===e||n(s.children[0])&&s.children[1]===e)&&"html"===e.type&&i(e.value)))return null}o.ignoredProperties=s,t.exports=o}}),vi=v({"src/language-markdown/printer-markdown.js"(e,t){w();var r=pi(),{getLast:n,getMinNotPresentContinuousCount:i,getMaxContinuousCount:s,getStringWidth:o,isNonEmptyArray:a}=de(),{builders:{breakParent:u,join:l,line:c,literalline:p,markAsRoot:h,hardline:d,softline:f,ifBreak:m,fill:g,align:y,indent:b,group:v,hardlineWithoutBreakParent:D},utils:{normalizeDoc:E,replaceTextEndOfLine:x},printer:{printDocToString:S}}=W(),C=mi(),{insertPragma:A}=gi(),{locStart:T,locEnd:P}=hi(),F=yi(),I=bi(),{getFencedCodeBlockValue:N,hasGitDiffFriendlyOrderedList:k,splitText:_,punctuationPattern:O,INLINE_NODE_TYPES:M,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:B}=fi(),R=new Set(["importExport"]),j=["heading","tableCell","link","wikiLink"],$=new Set(["listItem","definition","footnoteDefinition"]);function U(e,t,r,n){let i=e.getValue(),s=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[s,K(e,t,r,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return y(" ".repeat(s.length),r());let o=" ".repeat(function(e,t,r){return e<t?t:e>r?r:e}(t.tabWidth-n.length,0,3));return[o,y(o,r())]}})]}function z(e,t){return function(e,t,r){let n=-1;for(let i of t.children)if(i.type===e.type&&r(i)?n++:n=-1,i===e)return n}(e,t,(t=>t.ordered===e.ordered))}function V(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function H(e,t){let r=V(e,t);return-1===r?null:e.getParentNode(r)}function q(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return d;let n="always"===r.proseWrap&&!H(e,j);return""!==t?n?c:" ":n?f:""}function G(e,t,r){let n=[],i=null,{children:s}=e.getValue();for(let[e,t]of s.entries())switch(Y(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null)}return K(e,t,r,{processor:(e,i)=>{if(n.length>0){let e=n[0];if(i===e.start.index)return[X(s[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),X(s[e.end.index])];if(e.start.index<i&&i<e.end.index)return!1;if(i===e.end.index)return n.shift(),!1}return r()}})}function K(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=i,o=i.processor||(()=>r()),a=e.getValue(),u=[];return e.each(((e,r)=>{let i=e.getValue(),s=o(e,r);if(!1!==s){let e={parts:u,prevNode:n,parentNode:a,options:t};(function(e,t){let r=0===t.parts.length,n=M.includes(e.type),i="html"===e.type&&L.includes(t.parentNode.type);return!r&&!n&&!i})(i,e)&&(u.push(d),n&&R.has(n.type)||(function(e,t){var r,n,i;let s=(t.prevNode&&t.prevNode.type)===e.type&&$.has(e.type),o="listItem"===t.parentNode.type&&!t.parentNode.loose,a="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,u="next"===Y(t.prevNode),l="html"===e.type&&"html"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return a||!(s||o||u||l||c)}(i,e)||Z(i,e))&&u.push(d),Z(i,e)&&u.push(d)),u.push(s),n=i}}),"children"),s?s(u):u}function X(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 J(e){let t=e;for(;a(t.children);)t=n(t.children);return t}function Y(e){let t;if("html"===e.type)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function Z(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function Q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function ee(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+ee(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,n=e.split('"').length-1,i=r>n?'"':n>r||t.singleQuote?"'":'"';return`${i}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${i})`,"g"),"\\$1")}${i}`}function te(e){return`[${r(e.label)}]`}function re(e){return`[^${e.label}]`}t.exports={preprocess:F,print:function(e,t,r){let a=e.getValue();if(function(e){let t=H(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return _(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":q(e,r.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?"":[E(G(e,t,r)),R.has(J(a).type)?"":d];case"paragraph":return K(e,t,r,{postprocessor:g});case"sentence":return K(e,t,r);case"word":{let t=a.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${O})(_+)`,`(_+)(${O}|$)`].join("|"),"g"),((e,t,r,n,i)=>(r?`${t}${r}`:`${n}${i}`).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>B(e.children[r-1]);return t!==a.value&&(e.match(void 0,r,n)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),n))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(a),i=r.children[n+1],s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return q(e,a.value,{proseWrap:s})}case"emphasis":{let i;if(B(a.children[0]))i=t.originalText[a.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(a),s=t.children[r-1],o=t.children[r+1];i=s&&"sentence"===s.type&&s.children.length>0&&"word"===n(s.children).type&&!n(s.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||H(e,"emphasis")?"*":"_"}return[i,K(e,t,r),i]}case"strong":return["**",K(e,t,r),"**"];case"delete":return["~~",K(e,t,r),"~~"];case"inlineCode":{let e=i(a.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(a.value)?" ":"";return[t,r,a.value,r,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["[",K(e,t,r),"](",Q(a.url,")"),ee(a.title,t),")"];default:return t.originalText.slice(a.position.start.offset,a.position.end.offset)}case"image":return[""),ee(a.title,t),")"];case"blockquote":return["> ",y("> ",K(e,t,r))];case"heading":return["#".repeat(a.depth)+" ",K(e,t,r)];case"code":{if(a.isIndented){let e=" ".repeat(4);return y(e,[e,...x(a.value,d)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,s(a.value,e)+1));return[r,a.lang||"",a.meta?" "+a.meta:"",d,...x(N(a,t.originalText),d),d,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&n(t.children)===a?a.value.trimEnd():a.value,i=/^<!--.*-->$/s.test(r);return x(r,i?d:h(p))}case"list":{let n=z(a,e.getParentNode()),i=k(a,t);return K(e,t,r,{processor:(e,s)=>{let o=function(){let e=a.ordered?(0===s?a.start:i?1:a.start+s)+(n%2==0?". ":") "):n%2==0?"- ":"* ";return a.isAligned||a.hasIndentedCodeblock?function(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}(e,t):e}(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?[o,U(e,t,r,o)]:[o,y(" ".repeat(o.length),U(e,t,r,o))]}})}case"thematicBreak":{let t=V(e,"list");return-1===t?"---":z(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",K(e,t,r),"]","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 v([te(a),":",b([e,Q(a.url),null===a.title?"":[e,ee(a.title,t,!1)]])])}case"footnote":return["[^",K(e,t,r),"]"];case"footnoteReference":return re(a);case"footnoteDefinition":{let n=e.getParentNode().children[e.getName()+1],i=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[re(a),": ",i?K(e,t,r):v([y(" ".repeat(4),K(e,t,r,{processor:(e,t)=>0===t?v([f,r()]):r()})),n&&"footnoteDefinition"===n.type?f:""])]}case"table":return function(e,t,r){let n=e.getValue(),i=[],s=e.map((e=>e.map(((e,n)=>{let s=S(r(),t).formatted,a=o(s);return i[n]=Math.max(i[n]||3,a),{text:s,width:a}}),"children")),"children"),a=p(!1);if("never"!==t.proseWrap)return[u,a];let c=p(!0);return[u,v(m(c,a))];function p(e){let t=[d(s[0],e),h(e)];return s.length>1&&t.push(l(D,s.slice(1).map((t=>d(t,e))))),l(D,t)}function h(e){return`| ${i.map(((t,r)=>{let i=n.align[r],s="center"===i||"right"===i?":":"-";return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${s}`})).join(" | ")} |`}function d(e,t){return`| ${e.map(((e,r)=>{let{text:s,width:o}=e;if(t)return s;let a=i[r]-o,u=n.align[r],l=0;"right"===u?l=a:"center"===u&&(l=Math.floor(a/2));let c=a-l;return`${" ".repeat(l)}${s}${" ".repeat(c)}`})).join(" | ")} |`}}(e,t,r);case"tableCell":return K(e,t,r);case"break":return/\s/.test(t.originalText[a.position.start.offset])?[" ",h(p)]:["\\",d];case"liquidNode":return x(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?[...x(a.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(T(a),P(a));default:throw new Error(`Unknown markdown type ${JSON.stringify(a.type)}`)}},embed:C,massageAstNode:I,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===Y(e.getParentNode().children[t-1])},insertPragma:A}}}),Di=v({"src/language-markdown/options.js"(e,t){w();var r=Dn();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),Ei=v({"src/language-markdown/parsers.js"(){w()}}),xi=v({"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}}}),wi=v({"src/language-markdown/index.js"(e,t){w();var r=Zt(),n=vi(),i=Di(),s=Ei(),o=[r(xi(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(xi(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],a={mdast:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Si=v({"src/language-html/clean.js"(e,t){w();var{isFrontMatterNode:r}=de(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=n,t.exports=i}}),Ci=v({"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"}}}),Ai=v({"src/language-html/utils/is-unknown-namespace.js"(e,t){w(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),Ti=v({"src/language-html/utils/index.js"(e,t){w();var{inferParserByLanguage:r,isFrontMatterNode:n}=de(),{builders:{line:i,hardline:s,join:o},utils:{getDocParts:a,replaceTextEndOfLine:u}}=W(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:h}=Ci(),d=Ai(),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)),y=e=>e.match(/^[\t\n\f\r ]*/)[0];function b(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function v(e){return I(e).startsWith("pre")}function D(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 E(e){return A(e)||"element"===e.type&&"br"===e.fullName||x(e)}function x(e){return S(e)&&C(e)}function S(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function C(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function A(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function T(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"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 P(e){return"block"===e||"list-item"===e||e.startsWith("table")}function F(e){return I(e).startsWith("pre")}function I(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||h}function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!f.has(r[0]))return 0;let e=y(r).length;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}var k=new Set(["template","style","script"]);function _(e,t){return O(e,t)&&!k.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)&&(_(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,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},canHaveInterpolation:function(e){return e.children&&!b(e)},countChars:function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r},countParents:function(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let i=e.stack[n];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&r++}return r},dedentString:N,forceBreakChildren:D,forceBreakContent:function(e){return D(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&&S(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||C(e.lastChild))},forceNextEmptyLine:function(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!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||r||d(e))&&l[e.name]||c}},getNodeCssStyleWhiteSpace:I,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:n}=e.attrMap;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}(e,t):t&&M(e,t)?T(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?T(e):"babel"},isVueCustomBlock:_,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 r=e.parent;if(!O(r,t))return!1;let n=r.fullName,i=e.fullName;return"script"===n&&"setup"===i||"style"===n&&"vars"===i},isVueSfcBlock:O,isDanglingSpaceSensitiveNode:function(e){return function(e){return!P(e)&&"inline-block"!==e}(e.cssDisplay)&&!b(e)},isIndentationSensitiveNode:v,isLeadingSpaceSensitiveNode:function(e,t){let r=!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!F(e.parent)&&(!e.prev&&("root"===e.parent.type||F(e)&&e.parent||b(e.parent)||_(e.parent,t)||!function(e){return!P(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.prev&&!function(e){return!P(e)}(e.prev.cssDisplay))));return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r},isPreLikeNode:F,isScriptLikeTag:b,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!F(e.parent)&&(!e.next&&("root"===e.parent.type||F(e)&&e.parent||b(e.parent)||_(e.parent,t)||!function(e){return!P(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.next&&!function(e){return!P(e)}(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return b(e)||"interpolation"===e.type||v(e)},isUnknownNamespace:d,preferHardlineAsLeadingSpaces:function(e){return A(e)||e.prev&&E(e.prev)||x(e)},preferHardlineAsTrailingSpaces:E,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||F(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||M(e,t)&&!b(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?u(t):u(N(g(t)),s):a(o(i,(e=>e.split(/[\t\n\f\r ]+/))(t)))}}}}),Pi=v({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}w(),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(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),Fi=v({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}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,r,n){let i=`"${e}".${r}${(n=n||[]).length?`.${n.join(".")}`:""}`,s=this.cache.get(i);return s||(s=new t(e,r,n),this.cache.set(i,s)),s}}}}),Ii=v({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))},e.splitAtColon=function(e,t){return r(e,":",t)},e.splitAtPeriod=function(e,t){return r(e,".",t)},e.visitValue=n,e.isDefined=function(e){return null!=e},e.noUndefined=function(e){return void 0===e?null:e};e.ValueTransformer=class{visitArray(e,t){return e.map((e=>n(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((i=>{r[i]=n(e[i],this,t)})),r}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 r=Error(e);return r[i]=!0,t&&(r[s]=t),r};var i="ngSyntaxError",s="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[s]||[]},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 r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|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 r=t.toString();if(null==r)return""+r;let n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},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 u=typeof window<"u"&&window,l=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,c=typeof globalThis<"u"&&globalThis||u||l;e.global=c}}),Ni=v({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Fi(),r=Ii(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function u(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_"+a++,n.__anonymousType=s):s=i(s),s}e.identifierName=u,e.identifierModuleUrl=function(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`},e.viewClassName=function(e,t){return`View_${u({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${u({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${u({reference:e})}`},e.componentFactoryName=function(e){return`${u({reference:e})}NgFactory`},(o=s=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?i(e.value):u(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:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(r)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:u,ngContentSelectors:l,interpolation:h,isInline:d,preserveWhitespaces:f}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=c(s),this.styleUrls=c(o),this.externalStylesheets=c(a),this.animations=u?p(u):[],this.ngContentSelectors=l||[],h&&2!=h.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=h,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:i,isComponent:s,selector:o,exportAs:a,changeDetection:u,inputs:c,outputs:p,host:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x}=e,w={},S={},C={};null!=h&&Object.keys(h).forEach((e=>{let t=h[e],r=e.match(n);null===r?C[e]=t:null!=r[1]?S[r[1]]=t:null!=r[2]&&(w[r[2]]=t)}));let A={};null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);A[t[0]]=t[1]}));let T={};return null!=p&&p.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new l({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:u,inputs:A,outputs:T,hostListeners:w,hostProperties:S,hostAttributes:C,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:u,hostListeners:l,hostProperties:p,hostAttributes:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=u,this.hostListeners=l,this.hostProperties=p,this.hostAttributes=h,this.providers=c(d),this.viewProviders=c(f),this.queries=c(m),this.guards=g,this.viewQueries=c(y),this.entryComponents=c(b),this.template=v,this.componentViewType=D,this.rendererType=E,this.componentFactory=x}toSummary(){return{summaryKind:s.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:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:u,importedModules:l,exportedModules:p,schemas:h,transitiveModule:d,id:f}=e;this.type=t||null,this.declaredDirectives=c(n),this.exportedDirectives=c(i),this.declaredPipes=c(s),this.exportedPipes=c(o),this.providers=c(r),this.entryComponents=c(a),this.bootstrapComponents=c(u),this.importedModules=c(l),this.exportedModules=c(p),this.schemas=c(h),this.id=f||null,this.transitiveModule=d||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.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 r=Array.isArray(t)?p(t):t;return e.concat(r)}),[])}function h(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:o,multi:a}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=o||null,this.multi=!!a}},e.flatten=p,e.templateSourceUrl=function(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${u(e)}/${u(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:h(i)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g);return h(`css/${t}${r[r.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return h(`${u(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return h(`${u(e)}/${u(t.type)}.ngfactory.js`)}}}),ki=v({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pi(),r=Ni(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,o=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){o--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?s-e:s}else a--;for(;s<i&&e>0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(o++,a=0):a++}return new n(this.file,s,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var s,o,a=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";e.ParseError=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${s[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 s=r.identifierModuleUrl(t),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,u=new i("",o);return new a(new n(u,-1,-1,-1),new n(u,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,r){let s=new i("",`in ${e} ${t} in ${r}`);return new a(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}}}),_i=v({"src/language-html/print-preprocess.js"(e,t){w();var{ParseSourceSpan:r}=ki(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:s,canHaveInterpolation:o,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:u,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:h,isVueScriptTag:d}=Ti(),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 n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.firstChild;e.removeChild(s),n--;let a=new r(s.sourceSpan.start,o.sourceSpan.end),u=new r(a.start,i.sourceSpan.end);i.condition=s.condition,i.sourceSpan=u,i.startSourceSpan=a,i.removeChild(o)}}))},function(e){return function(e,t,n){e.walk((e=>{if(e.children)for(let i=0;i<e.children.length;i++){let s=e.children[i];if("text"!==s.type&&!t(s))continue;"text"!==s.type&&(s.type="text",s.value=n(s));let o=s.prev;!o||"text"!==o.type||(o.value+=s.value,o.sourceSpan=new r(o.sourceSpan.start,s.sourceSpan.end),e.removeChild(s),i--)}}))}(e,(e=>"cdata"===e.type),(e=>`<![CDATA[${e.value}]]>`))},function(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk((e=>{if(o(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,s=null,o=t.value.split(n);for(let n=0;n<o.length;n++,i=s){let a=o[n];n%2!=0?(s=i.moveBy(a.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new r(i,s),children:0===a.length?[]:[{type:"text",value:a,sourceSpan:new r(i.moveBy(2),s.moveBy(-2))}]})):(s=i.moveBy(a.length),a.length>0&&e.insertChildBefore(t,{type:"text",value:a,sourceSpan:new r(i,s)}))}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===n(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=h(e),s=l(e);if(!t)for(let t=0;t<e.children.length;t++){let n=e.children[t];if("text"!==n.type)continue;let{leadingWhitespace:s,text:o,trailingWhitespace:a}=i(n.value),u=n.prev,l=n.next;o?(n.value=o,n.sourceSpan=new r(n.sourceSpan.start.moveBy(s.length),n.sourceSpan.end.moveBy(-a.length)),s&&(u&&(u.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),a&&(n.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(s||a)&&(u&&(u.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=s}))},function(e,t){e.walk((e=>{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:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=u(e));for(let e of r)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}}))},function(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!s(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 n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.next;s.value+=`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+o.value,s.sourceSpan=new r(s.sourceSpan.start,o.sourceSpan.end),s.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,s.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),n--,e.removeChild(o)}}))},function(e,t){if("vue"===t.parser){let r=e.children.find((e=>d(e,t)));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}];t.exports=function(e,t){for(let r of f)r(e,t);return e}}}),Oi=v({"src/language-html/pragma.js"(e,t){w(),t.exports={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),Mi=v({"src/language-html/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),Li=v({"src/language-html/print/tag.js"(e,t){w();var r=Wt(),{isNonEmptyArray:n}=de(),{builders:{indent:i,join:s,line:o,softline:a,hardline:u},utils:{replaceTextEndOfLine:l}}=W(),{locStart:c,locEnd:p}=Mi(),{isTextLikeNode:h,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:g,isVueSfcBlock:y}=Ti();function b(e,t){return e.lastChild&&P(e.lastChild)?"":[D(e,t),x(e,t)]}function v(e,t){return(e.next?A(e.next):T(e.parent))?"":[S(e,t),E(e,t)]}function D(e,t){return T(e)?S(e.lastChild,t):""}function E(e,t){return P(e)?x(e.parent,t):F(e)?M(e.next):""}function x(e,t){if(r(!e.isSelfClosing),C(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function S(e,t){if(C(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function C(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function A(e){return e.prev&&"docType"!==e.prev.type&&!h(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function T(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!h(d(e.lastChild))&&!f(e)}function P(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&h(d(e))}function F(e){return e.next&&!h(e.next)&&h(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function I(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function N(e,t,r){let h=e.getValue();if(!n(h.attrs))return h.isSelfClosing?" ":"";let d=h.prev&&"comment"===h.prev.type&&function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(h.prev.value),f="boolean"==typeof d?()=>d:Array.isArray(d)?e=>d.includes(e.rawName):()=>!1,m=e.map((e=>{let n=e.getValue();return f(n)?l(t.originalText.slice(c(n),p(n))):r()}),"attrs"),g="element"===h.type&&"script"===h.fullName&&1===h.attrs.length&&"src"===h.attrs[0].fullName&&0===h.children.length,b=t.singleAttributePerLine&&h.attrs.length>1&&!y(h,t)?u:o,v=[i([g?" ":o,s(b,m)])];return h.firstChild&&I(h.firstChild)||h.isSelfClosing&&T(h.parent)||g?v.push(h.isSelfClosing?" ":""):v.push(t.bracketSameLine?h.isSelfClosing?" ":"":h.isSelfClosing?o:a),v}function k(e){return e.firstChild&&I(e.firstChild)?"":L(e)}function _(e,t){return e.prev&&F(e.prev)?"":[O(e,t),M(e)]}function O(e,t){return I(e)?L(e.parent):A(e)?S(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return`\x3c!--[if ${e.condition}]>\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function L(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":b(e,t),v(e,t)]},printClosingTagStart:b,printClosingTagStartMarker:x,printClosingTagEndMarker:S,printClosingTagSuffix:E,printClosingTagEnd:v,needsToBorrowLastChildClosingTagEndMarker:T,needsToBorrowParentClosingTagStartMarker:P,needsToBorrowPrevClosingTagEndMarker:A,printOpeningTag:function(e,t,r){let n=e.getValue();return[_(n,t),N(e,t,r),n.isSelfClosing?"":k(n)]},printOpeningTagStart:_,printOpeningTagPrefix:O,printOpeningTagStartMarker:M,printOpeningTagEndMarker:L,needsToBorrowNextOpeningTagStartMarker:F,needsToBorrowParentOpeningTagEndMarker:I}}}),Bi=v({"node_modules/parse-srcset/src/parse-srcset.js"(r,o){w(),i=[],void 0===(s="function"==typeof(n=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(y));if(n)return r=n[0],y+=r.length,r}for(var s,o,a,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,b=[];;){if(i(h),y>=c)return b;s=i(d),o=[],","===s.slice(-1)?(s=s.replace(f,""),D()):v()}function v(){for(i(p),a="",u="in descriptor";;){if(l=e.charAt(y),"in descriptor"===u)if(n(l))a&&(o.push(a),a="",u="after descriptor");else{if(","===l)return y+=1,a&&o.push(a),void D();if("("===l)a+=l,u="in parens";else{if(""===l)return a&&o.push(a),void D();a+=l}}else if("in parens"===u)if(")"===l)a+=l,u="in descriptor";else{if(""===l)return o.push(a),void D();a+=l}else if("after descriptor"===u&&!n(l)){if(""===l)return void D();u="in descriptor",y-=1}y+=1}}function D(){var t,n,i,a,u,l,c,p,h,d=!1,f={};for(a=0;a<o.length;a++)l=(u=o[a])[u.length-1],c=u.substring(0,u.length-1),p=parseInt(c,10),h=parseFloat(c),m.test(c)&&"w"===l?((t||n)&&(d=!0),0===p?d=!0:t=p):g.test(c)&&"x"===l?((t||n||i)&&(d=!0),h<0?d=!0:n=h):m.test(c)&&"h"===l?((i||n)&&(d=!0),0===p?d=!0:i=p):d=!0;d?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+u+"'."):(f.url=s,t&&(f.w=t),n&&(f.d=n),i&&(f.h=i),b.push(f))}}})?n.apply(t,i):n)||(e.exports=s)}}),Ri=v({"src/language-html/syntax-attribute.js"(e,t){w();var r=Bi(),{builders:{ifBreak:n,join:i,line:s}}=W();t.exports={printImgSrcset:function(e){let t=r(e,{logger:{error(e){throw new Error(e)}}}),o=t.some((e=>{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 u=o?"w":a?"h":"d",l=o?"w":a?"h":"x",c=e=>Math.max(...e),p=t.map((e=>e.url)),h=c(p.map((e=>e.length))),d=t.map((e=>e[u])).map((e=>e?e.toString():"")),f=d.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=c(f);return i([",",s],p.map(((e,t)=>{let r=[e],i=d[t];if(i){let s=h-e.length+1,o=m-f[t],a=" ".repeat(s+o);r.push(n(a," "),i+l)}return r})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),ji=v({"src/language-html/syntax-vue.js"(e,t){w();var{builders:{group:r}}=W();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:n,operator:i,right:s}=function(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let s={};if(s.for=i[3].trim(),!s.for)return;let o=i[1].trim().replace(n,""),a=o.match(r);a?(s.alias=o.replace(r,""),s.iterator1=a[1].trim(),a[2]&&(s.iterator2=a[2].trim())):s.alias=o;let u=[s.alias,s.iterator1,s.iterator2];return u.some(((e,t)=>!e&&(0===t||u.slice(t+1).some(Boolean))))?void 0:{left:u.filter(Boolean).join(","),operator:i[2],right:s.for}}(e);return[r(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(s,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),$i=v({"src/language-html/get-node-content.js"(e,t){w();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:a}=Li();t.exports=function(e,t){let u=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(u-=a(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=n(e,t).length:i(e)&&(l-=s(e.lastChild,t).length),t.originalText.slice(u,l)}}}),Ui=v({"src/language-html/embed.js"(e,t){w();var{builders:{breakParent:r,group:n,hardline:i,indent:s,line:o,fill:a,softline:u},utils:{mapDoc:l,replaceTextEndOfLine:c}}=W(),p=Nn(),{printClosingTag:h,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:g}=Li(),{printImgSrcset:y,printClassNames:b}=Ri(),{printVueFor:v,printVueBindings:D,isVueEventBindingExpression:E}=ji(),{isScriptLikeTag:x,isVueNonHtmlBlock:S,inferScriptParser:C,htmlTrimPreserveIndentation:A,dedentString:T,unescapeQuoteEntities:P,isVueSlotAttribute:F,isVueSfcBindingsAttribute:I,getTextValueParts:N}=Ti(),k=$i();function _(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>P(e.value),p=!1,h=(e,t)=>{let r="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;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(p=!0)},d=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([s([u,e]),t?u:""])},f=e=>p?(e=>n(e))(e):d(e),m=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return d(y(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return b(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return d(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return v(l(),m);if(F(e)||I(e,r))return D(l(),m);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=l(),t=E(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return f(m(e,{parser:t}))}if(i(t))return f(m(l(),{parser:"__vue_expression"}));if(i(n))return f(m(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],u=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return f(t(l(),{parser:"__ng_action"}));if(i(u))return f(t(l(),{parser:"__ng_binding"}));if(i(p)){let t=l().trim();return d(a(N(e,t)),!t.includes("@@"))}if(i(r))return f(t(l(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,g=l();if(h.test(g)){let e=[];for(let[r,i]of g.split(h).entries())if(r%2==0)e.push(c(i));else try{e.push(n(["{{",s([o,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{e.push("{{",c(i),"}}")}return n(e)}}return null}t.exports=function(e,t,a,u){let c=e.getValue();switch(c.type){case"element":if(x(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&S(c,u)){let r=C(c,u);if(!r)return;let s=k(c,u),o=/^\s*$/.test(s),l="";return o||(l=a(A(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===l),[m(c,u),n(g(e,u,t)),o?"":i,l,o?"":i,h(c,u),d(c,u)]}break;case"text":if(x(c.parent)){let e=C(c.parent,u);if(e){let t="markdown"===e?T(c.value.replace(/^[^\S\n]*\n/,"")):c.value,n={parser:e,__embeddedInHtml:!0};if("html"===u.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(c,u),a(t,n,{stripTrailingHardline:!0}),d(c,u)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===u.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===u.parser?e.parser=u.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([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(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===u.parser&&/^{.*}$/s.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=_(c,((e,t)=>a(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),u);if(e)return[c.rawName,'="',n(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return p(c,a)}}}}),zi=v({"src/language-html/print/children.js"(e,t){w();var{builders:{breakParent:r,group:n,ifBreak:i,line:s,softline:o,hardline:a},utils:{replaceTextEndOfLine:u}}=W(),{locStart:l,locEnd:c}=Mi(),{forceBreakChildren:p,forceNextEmptyLine:h,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=Ti(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:y,printOpeningTagStartMarker:b,needsToBorrowPrevClosingTagEndMarker:v,printClosingTagEndMarker:D,printClosingTagSuffix:E,needsToBorrowParentClosingTagStartMarker:x}=Li();function S(e,t,r){let n=e.getValue();return f(n)?[g(n,t),...u(t.originalText.slice(l(n)+(n.prev&&y(n.prev)?b(n).length:0),c(n)-(n.next&&v(n.next)?D(n,t).length:0))),E(n,t)]:r()}function C(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?a:s:"":m(t)?a:o:y(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&v(t)?"":!t.isLeadingSpaceSensitive||m(t)||v(t)&&e.lastChild&&x(e.lastChild)&&e.lastChild.lastChild&&x(e.lastChild.lastChild)?a:t.hasLeadingSpaces?s:o}t.exports={printChildren:function(e,t,s){let u=e.getValue();if(p(u))return[r,...e.map((e=>{let r=e.getValue(),n=r.prev?C(r.prev,r):"";return[n?[n,h(r.prev)?a:""]:"",S(e,t,s)]}),"children")];let l=u.children.map((()=>Symbol("")));return e.map(((e,r)=>{let u=e.getValue();if(d(u)){if(u.prev&&d(u.prev)){let r=C(u.prev,u);if(r)return h(u.prev)?[a,a,S(e,t,s)]:[r,S(e,t,s)]}return S(e,t,s)}let c=[],p=[],f=[],m=[],g=u.prev?C(u.prev,u):"",y=u.next?C(u,u.next):"";return g&&(h(u.prev)?c.push(a,a):g===a?c.push(a):d(u.prev)?p.push(g):p.push(i("",o,{groupId:l[r-1]}))),y&&(h(u)?d(u.next)&&m.push(a,a):y===a?d(u.next)&&m.push(a):f.push(y)),[...c,n([...p,n([S(e,t,s),...f],{id:l[r]})]),...m]}),"children")}}}}),Vi=v({"src/language-html/print/element.js"(e,t){w();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:s,indentIfBreak:o,indent:a,line:u,softline:l},utils:{replaceTextEndOfLine:c}}=W(),p=$i(),{shouldPreserveContent:h,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:g}=Ti(),{printOpeningTagPrefix:y,printOpeningTag:b,printClosingTagSuffix:v,printClosingTag:D,needsToBorrowPrevClosingTagEndMarker:E,needsToBorrowLastChildClosingTagEndMarker:x}=Li(),{printChildren:S}=zi();t.exports={printElement:function(e,t,w){let C=e.getValue();if(h(C,t))return[y(C,t),i(b(e,t,w)),...c(p(C,t)),...D(C,t),v(C,t)];let A=1===C.children.length&&"interpolation"===C.firstChild.type&&C.firstChild.isLeadingSpaceSensitive&&!C.firstChild.hasLeadingSpaces&&C.lastChild.isTrailingSpaceSensitive&&!C.lastChild.hasTrailingSpaces,T=Symbol("element-attr-group-id"),P=r=>i([i(b(e,t,w),{id:T}),r,D(C,t)]);return 0===C.children.length?P(C.hasDanglingSpaces&&C.isDanglingSpaceSensitive?u:""):P([g(C)?r:"",(F=[A?s(l,"",{groupId:T}):C.firstChild.hasLeadingSpaces&&C.firstChild.isLeadingSpaceSensitive?u:"text"===C.firstChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive?n(l):l,S(e,t,w)],A?o(F,{groupId:T}):!d(C)&&!f(C,t)||"root"!==C.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?a(F):F),(C.next?E(C.next):x(C.parent))?C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?" ":"":A?s(l,"",{groupId:T}):C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?u:("comment"===C.lastChild.type||"text"===C.lastChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(C.lastChild.value)?"":l]);var F}}}}),Wi=v({"src/language-html/printer-html.js"(e,t){w();var{builders:{fill:r,group:n,hardline:i,literalline:s},utils:{cleanDoc:o,getDocParts:a,isConcat:u,replaceTextEndOfLine:l}}=W(),c=Si(),{countChars:p,unescapeQuoteEntities:h,getTextValueParts:d}=Ti(),f=_i(),{insertPragma:m}=Oi(),{locStart:g,locEnd:y}=Mi(),b=Ui(),{printClosingTagSuffix:v,printClosingTagEnd:D,printOpeningTagPrefix:E,printOpeningTagStart:x}=Li(),{printElement:S}=Vi(),{printChildren:C}=zi();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),[n(C(e,t,c)),i];case"element":case"ieConditionalComment":return S(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[x(f),D(f)];case"interpolation":return[x(f,t),...e.map(c,"children"),D(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),r=t?f.value.replace(e,""):f.value;return[...l(r),t?i:""]}let e=o([E(f,t),...d(f),v(f,t)]);return u(e)||"fill"===e.type?r(a(e)):e}case"docType":return[n([x(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),D(f,t)];case"comment":return[E(f,t),...l(t.originalText.slice(g(f),y(f)),s),v(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=h(f.value),t=p(e,"'")<p(e,'"')?"'":'"';return[f.rawName,"=",t,...l('"'===t?e.replace(/"/g,"""):e.replace(/'/g,"'")),t]}default:throw new Error(`Unexpected node type ${f.type}`)}},insertPragma:m,massageAstNode:c,embed:b}}}),Hi=v({"src/language-html/options.js"(e,t){w();var r=Dn(),n="HTML";t.exports={bracketSameLine:r.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:n,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:r.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:n,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),qi=v({"src/language-html/parsers.js"(){w()}}),Gi=v({"node_modules/linguist-languages/data/HTML.json"(e,t){t.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Ki=v({"node_modules/linguist-languages/data/Vue.json"(e,t){t.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Xi=v({"src/language-html/index.js"(e,t){w();var r=Zt(),n=Wi(),i=Hi(),s=qi(),o=[r(Gi(),(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Gi(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Gi(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Ki(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],a={html:n};t.exports={languages:o,printers:a,options:i,parsers:s}}}),Ji=v({"src/language-yaml/pragma.js"(e,t){w(),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}`}}}}),Yi=v({"src/language-yaml/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),Zi=v({"src/language-yaml/embed.js"(e,t){w(),t.exports=function(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}}}),Qi=v({"src/language-yaml/utils.js"(e,t){w();var{getLast:r,isNonEmptyArray:n}=de();function i(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function s(e){return"prettier-ignore"===e.value.trim()}function o(e){return n(null==e?void 0:e.leadingComments)}function a(e){return n(null==e?void 0:e.middleComments)}function u(e){return null==e?void 0:e.indicatorComment}function l(e){return null==e?void 0:e.trailingComment}function c(e){return n(null==e?void 0:e.endComments)}function p(e){let t,r=[];for(let n of e.split(/( +)/))" "!==n?" "===t?r.push(n):r.push((r.pop()||"")+n):void 0===t&&r.unshift(""),t=n;return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}t.exports={getLast:r,getAncestorCount:function(e,t){let r=0,n=e.stack.length-1;for(let s=0;s<n;s++){let n=e.stack[s];i(n)&&t(n)&&r++}return r},isNode:i,isEmptyNode:function(e){return!n(e.children)&&!function(e){return o(e)||a(e)||u(e)||l(e)||c(e)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function e(t,r,n){return r("children"in t?Object.assign(Object.assign({},t),{},{children:t.children.map((n=>e(n,r,t)))}):t,n)},defineShortcut:function(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})},isNextLineEmpty:function(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i<n;i++){let e=t[i];if("\n"===e&&r++,1===r&&/\S/.test(e))return!1;if(2===r)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let t=e.stack.length;for(let r=1;r<t;r++){let t=e.stack[r],n=e.stack[r-1];if(Array.isArray(n)&&"number"==typeof t&&t!==n.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){let n,{parentIndent:i,isLastDescendant:s,options:o}=t,a=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=a.match(/^(?<leadingSpace> *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let u=a.split("\n").map((e=>e.slice(n)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?l(u.map((e=>0===e.length?[]:[e]))):l(u.map((e=>0===e.length?[]:p(e))).reduce(((e,t,n)=>0!==n&&u[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===o.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!s?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){let i=t.split("\n").map(((e,t,r)=>0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?i.map((e=>0===e.length?[]:[e])):i.map((e=>0===e.length?[]:p(e))).reduce(((t,n,s)=>0!==s&&i[s-1].length>0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return n(t.children)?e(r(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return c(t.head)&&s(r(t.head.endComments))}return o(t)&&s(r(t.leadingComments))},hasLeadingComments:o,hasMiddleComments:a,hasIndicatorComment:u,hasTrailingComment:l,hasEndComments:c}}}),es=v({"src/language-yaml/print-preprocess.js"(e,t){w();var{defineShortcut:r,mapNode:n}=Qi();function i(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=function(e){return n(e,i)}}}),ts=v({"src/language-yaml/print/misc.js"(e,t){w();var{builders:{softline:r,align:n}}=W(),{hasEndComments:i,isNextLineEmpty:s,isNode:o}=Qi(),a=new WeakMap;function u(e){return i(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return n(" ".repeat(e),t)},shouldPrintEndComments:u,printNextEmptyLine:function(e,t){let n,i=e.getValue(),o=e.stack[0];return a.has(o)?n=a.get(o):(n=new Set,a.set(o,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!s(i,t)||u(e.getParentNode()))?"":r}}}}),rs=v({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){w();var{builders:{ifBreak:r,line:n,softline:i,hardline:s,join:o}}=W(),{isEmptyNode:a,getLast:u,hasEndComments:l}=Qi(),{printNextEmptyLine:c,alignWithSpaces:p}=ts();function h(e,t,c){let h=e.getValue(),f="flowMapping"===h.type,m=f?"{":"[",g=f?"}":"]",y=i;f&&h.children.length>0&&c.bracketSpacing&&(y=n);let b=u(h.children),v=b&&"flowMappingItem"===b.type&&a(b.key)&&a(b.value);return[m,p(c.tabWidth,[y,d(e,t,c),"none"===c.trailingComma?"":r(","),l(h)?[s,o(s,e.map(t,"endComments"))]:""]),v?"":y,g]}function d(e,t,r){let i=e.getValue();return e.map(((e,s)=>[t(),s===i.children.length-1?"":[",",n,i.children[s].position.start.line!==i.children[s+1].position.start.line?c(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:h,printFlowSequence:h}}}),ns=v({"src/language-yaml/print/mapping-item.js"(e,t){w();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:s,join:o,line:a}}=W(),{hasLeadingComments:u,hasMiddleComments:l,hasTrailingComment:c,hasEndComments:p,isNode:h,isEmptyNode:d,isInlineNode:f}=Qi(),{alignWithSpaces:m}=ts();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,y,b,v){let{key:D,value:E}=e,x=d(D),w=d(E);if(x&&w)return": ";let S=b("key"),C=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(w)return"flowMappingItem"===e.type&&"flowMapping"===t.type?S:"mappingItem"!==e.type||!g(D.content,v)||c(D.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,S)]:[S,C,":"];let A=b("value");if(x)return[": ",m(2,A)];if(u(E)||!f(D.content))return["? ",m(2,S),i,o("",y.map(b,"value","leadingComments").map((e=>[e,i]))),": ",m(2,A)];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}}(D.content)&&!u(D.content)&&!l(D.content)&&!c(D.content)&&!p(D)&&!u(E.content)&&!l(E.content)&&!p(E)&&g(E.content,v))return[S,C,": ",A];let T=Symbol("mappingKey"),P=n([s("? "),n(m(2,S),{id:T})]),F=[i,": ",m(2,A)],I=[C,":"];u(E.content)||p(E)&&E.content&&!h(E.content,["mapping","sequence"])||"mapping"===t.type&&c(D.content)&&f(E.content)||h(E.content,["mapping","sequence"])&&null===E.content.tag&&null===E.content.anchor?I.push(i):E.content&&I.push(a),I.push(A);let N=m(v.tabWidth,I);return!g(D.content,v)||u(D.content)||l(D.content)||p(D)?r([[P,s(F,N,{groupId:T})]]):r([[S,N]])}}}),is=v({"src/language-yaml/print/block.js"(e,t){w();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:s,join:o,line:a,literalline:u,markAsRoot:l},utils:{getDocParts:c}}=W(),{getAncestorCount:p,getBlockValueLineContents:h,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=Qi(),{alignWithSpaces:g}=ts();t.exports=function(e,t,y){let b=e.getValue(),v=p(e,(e=>m(e,["sequence","mapping"]))),D=f(e),E=["blockFolded"===b.type?">":"|"];null!==b.indent&&E.push(b.indent.toString()),"clip"!==b.chomping&&E.push("keep"===b.chomping?"+":"-"),d(b)&&E.push(" ",t("indicatorComment"));let x=h(b,{parentIndent:v,isLastDescendant:D,options:y}),w=[];for(let[e,t]of x.entries())0===e&&w.push(s),w.push(i(c(o(a,t)))),e!==x.length-1?w.push(0===t.length?s:l(u)):"keep"===b.chomping&&D&&w.push(n(0===t.length?s:u));return null===b.indent?E.push(r(g(y.tabWidth,w))):E.push(n(g(b.indent-1+v,w))),E}}}),ss=v({"src/language-yaml/printer-yaml.js"(e,t){w();var{builders:{breakParent:r,fill:n,group:i,hardline:s,join:o,line:a,lineSuffix:u,literalline:l},utils:{getDocParts:c,replaceTextEndOfLine:p}}=W(),{isPreviousLineEmpty:h}=de(),{insertPragma:d,isPragma:f}=Ji(),{locStart:m}=Yi(),g=Zi(),{getFlowScalarLineContents:y,getLastDescendantNode:b,hasLeadingComments:v,hasMiddleComments:D,hasTrailingComment:E,hasEndComments:x,hasPrettierIgnore:S,isLastDescendantNode:C,isNode:A,isInlineNode:T}=Qi(),P=es(),{alignWithSpaces:F,printNextEmptyLine:I,shouldPrintEndComments:N}=ts(),{printFlowMapping:k,printFlowSequence:_}=rs(),O=ns(),M=is();function L(e,t){return E(e)||t&&(t.head.children.length>0||x(t.head))}function B(e,t,r){let i=y(e,t,r);return o(s,i.map((e=>n(c(o(a,e))))))}t.exports={preprocess:P,embed:g,print:function(e,t,n){let a=e.getValue(),c=[];"mappingValue"!==a.type&&v(a)&&c.push([o(s,e.map(n,"leadingComments")),s]);let{tag:d,anchor:f}=a;d&&c.push(n("tag")),d&&f&&c.push(" "),f&&c.push(n("anchor"));let g="";A(a,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!C(e)&&(g=I(e,t.originalText)),(d||f)&&(A(a,["sequence","mapping"])&&!D(a)?c.push(s):c.push(" ")),D(a)&&c.push([1===a.middleComments.length?"":s,o(s,e.map(n,"middleComments")),s]);let y=e.getParentNode();return S(e)?c.push(p(t.originalText.slice(a.position.start.offset,a.position.end.offset).trimEnd(),l)):c.push(i(function(e,t,r,n,i){switch(e.type){case"root":{let{children:t}=e,n=[];r.each(((e,r)=>{let o=t[r],a=t[r+1];0!==r&&n.push(s),n.push(i()),L(o,a)?(n.push(s,"..."),E(o)&&n.push(" ",i("trailingComment"))):a&&!E(a.head)&&n.push(s,"---")}),"children");let o=b(e);return(!A(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&n.push(s),n}case"document":{let a=[];return"head"===function(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||x(e.head)||E(e.head)?"head":!L(e,t)&&!!t&&"root"}(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&a.push(i("head")),E(e.head)?a.push(["---"," ",i(["head","trailingComment"])]):a.push("---")),function(e){return e.body.children.length>0||x(e.body)}(e)&&a.push(i("body")),o(s,a)}case"documentHead":return o(s,[...r.map(i,"children"),...r.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,a="";if(t.length>0&&n.length>0){let t=b(e);A(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(a=[s,s]):a=s}return[o(s,r.map(i,"children")),a,o(s,r.map(i,"endComments"))]}case"directive":return["%",o(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return B(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t="'",r='"',i=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let s="quoteDouble"===e.type?r:t;return[s,B(e.type,i,n),s]}if(i.includes(r))return[t,B(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,B(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let s=n.singleQuote?t:r;return[s,B(e.type,i,n),s]}case"blockFolded":case"blockLiteral":return M(r,i,n);case"mapping":case"sequence":return o(s,r.map(i,"children"));case"sequenceItem":return["- ",F(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return O(e,t,r,i,n);case"flowMapping":return k(r,i,n);case"flowSequence":return _(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error(`Unexpected node type ${e.type}`)}}(a,y,e,t,n))),E(a)&&!A(a,["document","documentHead"])&&c.push(u(["mappingValue"!==a.type||a.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&T(a)?"":r,n("trailingComment")])),N(a)&&c.push(F("sequenceItem"===a.type?2:0,[s,o(s,e.map((e=>[h(t.originalText,e.getValue(),m)?s:"",n()]),"endComments"))])),c.push(g),c},massageAstNode:function(e,t){if(A(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}}}),os=v({"src/language-yaml/options.js"(e,t){w();var r=Dn();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),as=v({"src/language-yaml/parsers.js"(){w()}}),us=v({"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}}}),ls=v({"src/language-yaml/index.js"(e,t){w();var r=Zt(),n=ss(),i=os(),s=as(),o=[r(us(),(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:n},options:i,parsers:s}}}),cs=v({"src/languages.js"(e,t){w(),t.exports=[Fn(),Xn(),ni(),ci(),wi(),Xi(),ls()]}});w();var{version:ps}=S(),hs=Jt(),{getSupportInfo:ds}=oe(),fs=Yt(),ms=cs(),gs=W();function ys(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];let s=n[t]||{},o=s.plugins||[];return n[t]=Object.assign(Object.assign({},s),{},{plugins:[...ms,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}var bs=ys(hs.formatWithCursor);o.exports={formatWithCursor:bs,format:(e,t)=>bs(e,t).formatted,check(e,t){let{formatted:r}=bs(e,t);return r===e},doc:gs,getSupportInfo:ys(ds,0),version:ps,util:fs,__debug:{parse:ys(hs.parse),formatAST:ys(hs.formatAST),formatDoc:ys(hs.formatDoc),printToDoc:ys(hs.printToDoc),printDocToString:ys(hs.printDocToString)}}}))())},49657:(e,t,r)=>{e.exports=r(83109)},49659:(e,t,r)=>{var n,i,s=r(79696).Buffer,o=r(94677),a=r(30118),u=r(31289),l=r(83153),c=r.g.crypto&&r.g.crypto.subtle,p={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(){return i||(i=r.g.process&&r.g.process.nextTick?r.g.process.nextTick:r.g.queueMicrotask?r.g.queueMicrotask:r.g.setImmediate?r.g.setImmediate:r.g.setTimeout)}function f(e,t,r,n,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return s.from(e)}))}e.exports=function(e,t,i,m,g,y){"function"==typeof g&&(y=g,g=void 0);var b=p[(g=g||"sha1").toLowerCase()];if(b&&"function"==typeof r.g.Promise){if(o(i,m),e=l(e,a,"Password"),t=l(t,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){d()((function(){t(null,e)}))}),(function(e){d()((function(){t(e)}))}))}(function(e){if(r.g.process&&!r.g.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=f(n=n||s.alloc(8),n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=t,t}(b).then((function(r){return r?f(e,t,i,m,b):u(e,t,i,m,g)})),y)}else d()((function(){var r;try{r=u(e,t,i,m,g)}catch(e){return y(e)}y(null,r)}))}},49888:(__unused_webpack_module,exports)=>{var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),(function(t){r[t]=e[t]})),forEach(globals,(function(t){e[t]&&(r[t]=e[t])}));var s=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),(function(t){(t in e||-1===indexOf(s,t))&&(e[t]=r[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,r[t])})),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),(function(r){e[r]=t[r]})),r},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),(function(r){t[r]=e[r]})),t}},50093:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70161),i=r(6022),s=r(62537),o=r.n(s),a=r(44707),u=["stroke","color","weight","opacity","lineCap","lineJoin","dashArray","dashOffset","fill","fillColor","fillOpacity","fillRule","bubblingMouseEvents","renderer","className","interactive","pane","attribution"],l=function(e){function t(t){var r;return null==(r=e.call(this,t)||this).contextValue&&(r.contextValue=(0,n.A)({},t.leaflet,{popupContainer:r.leafletElement})),r}(0,i.A)(t,e);var r=t.prototype;return r.componentDidUpdate=function(t){e.prototype.componentDidUpdate.call(this,t),this.setStyleIfChanged(t,this.props)},r.getPathOptions=function(e){return t=e,u.reduce((function(e,r){return t[r]&&(e[r]=t[r]),e}),{});var t},r.setStyle=function(e){void 0===e&&(e={}),this.leafletElement.setStyle(e)},r.setStyleIfChanged=function(e,t){var r=this.getPathOptions(t);o()(r,this.getPathOptions(e))||this.setStyle(r)},t}(a.A)},50192:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},50515:e=>{var t=Object.prototype.hasOwnProperty,r="function"!=typeof Object.create&&"~";function n(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(){}i.prototype._events=void 0,i.prototype.eventNames=function(){var e,n=this._events,i=[];if(!n)return i;for(e in n)t.call(n,e)&&i.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(n)):i},i.prototype.listeners=function(e,t){var n=r?r+e:e,i=this._events&&this._events[n];if(t)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var s=0,o=i.length,a=new Array(o);s<o;s++)a[s]=i[s].fn;return a},i.prototype.emit=function(e,t,n,i,s,o){var a=r?r+e:e;if(!this._events||!this._events[a])return!1;var u,l,c=this._events[a],p=arguments.length;if("function"==typeof c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),p){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,s),!0;case 6:return c.fn.call(c.context,t,n,i,s,o),!0}for(l=1,u=new Array(p-1);l<p;l++)u[l-1]=arguments[l];c.fn.apply(c.context,u)}else{var h,d=c.length;for(l=0;l<d;l++)switch(c[l].once&&this.removeListener(e,c[l].fn,void 0,!0),p){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,t);break;case 3:c[l].fn.call(c[l].context,t,n);break;default:if(!u)for(h=1,u=new Array(p-1);h<p;h++)u[h-1]=arguments[h];c[l].fn.apply(c[l].context,u)}}return!0},i.prototype.on=function(e,t,i){var s=new n(t,i||this),o=r?r+e:e;return this._events||(this._events=r?{}:Object.create(null)),this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],s]:this._events[o].push(s):this._events[o]=s,this},i.prototype.once=function(e,t,i){var s=new n(t,i||this,!0),o=r?r+e:e;return this._events||(this._events=r?{}:Object.create(null)),this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],s]:this._events[o].push(s):this._events[o]=s,this},i.prototype.removeListener=function(e,t,n,i){var s=r?r+e:e;if(!this._events||!this._events[s])return this;var o=this._events[s],a=[];if(t)if(o.fn)(o.fn!==t||i&&!o.once||n&&o.context!==n)&&a.push(o);else for(var u=0,l=o.length;u<l;u++)(o[u].fn!==t||i&&!o[u].once||n&&o[u].context!==n)&&a.push(o[u]);return a.length?this._events[s]=1===a.length?a[0]:a:delete this._events[s],this},i.prototype.removeAllListeners=function(e){return this._events?(e?delete this._events[r?r+e:e]:this._events=r?{}:Object.create(null),this):this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=r,e.exports=i},51048:(e,t,r)=>{var n=r(65994).e,i=65536,s=r(79696).Buffer,o=r.g.crypto||r.g.msCrypto;o&&o.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var r=s.allocUnsafe(e);if(e>0)if(e>i)for(var a=0;a<e;a+=i)o.getRandomValues(r.slice(a,a+i));else o.getRandomValues(r);return"function"==typeof t?n.nextTick((function(){t(null,r)})):r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},51152:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function s(e,o){if(e===o)return!0;if(e&&o&&"object"==typeof e&&"object"==typeof o){if(e.constructor!==o.constructor)return!1;var a,u,l,c;if(Array.isArray(e)){if((a=e.length)!=o.length)return!1;for(u=a;0!=u--;)if(!s(e[u],o[u]))return!1;return!0}if(r&&e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!o.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!s(u.value[1],o.get(u.value[0])))return!1;return!0}if(n&&e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!o.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(o)){if((a=e.length)!=o.length)return!1;for(u=a;0!=u--;)if(e[u]!==o[u])return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof o.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof o.toString)return e.toString()===o.toString();if((a=(l=Object.keys(e)).length)!==Object.keys(o).length)return!1;for(u=a;0!=u--;)if(!Object.prototype.hasOwnProperty.call(o,l[u]))return!1;if(t&&e instanceof Element)return!1;for(u=a;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!e.$$typeof)&&!s(e[l[u]],o[l[u]]))return!1;return!0}return e!=e&&o!=o}e.exports=function(e,t){try{return s(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},51182:(e,t,r)=>{const{Buffer:n}=r(67787),{ObjectDefineProperty:i,ObjectKeys:s,ReflectApply:o}=r(12450),{promisify:{custom:a}}=r(46108),{streamReturningOperators:u,promiseReturningOperators:l}=r(7915),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(26503),p=r(16362),{setDefaultHighWaterMark:h,getDefaultHighWaterMark:d}=r(97863),{pipeline:f}=r(55930),{destroyer:m}=r(28476),g=r(42882),y=r(83803),b=r(97967),v=e.exports=r(39831).Stream;v.isDestroyed=b.isDestroyed,v.isDisturbed=b.isDisturbed,v.isErrored=b.isErrored,v.isReadable=b.isReadable,v.isWritable=b.isWritable,v.Readable=r(11444);for(const E of s(u)){const x=u[E];function w(...e){if(new.target)throw c();return v.Readable.from(o(x,this,e))}i(w,"name",{__proto__:null,value:x.name}),i(w,"length",{__proto__:null,value:x.length}),i(v.Readable.prototype,E,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}for(const S of s(l)){const C=l[S];function A(...e){if(new.target)throw c();return o(C,this,e)}i(A,"name",{__proto__:null,value:C.name}),i(A,"length",{__proto__:null,value:C.length}),i(v.Readable.prototype,S,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}v.Writable=r(12244),v.Duplex=r(758),v.Transform=r(84450),v.PassThrough=r(41472),v.pipeline=f;const{addAbortSignal:D}=r(90951);v.addAbortSignal=D,v.finished=g,v.destroy=m,v.compose=p,v.setDefaultHighWaterMark=h,v.getDefaultHighWaterMark=d,i(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>y}),i(f,a,{__proto__:null,enumerable:!0,get:()=>y.pipeline}),i(g,a,{__proto__:null,enumerable:!0,get:()=>y.finished}),v.Stream=v,v._isUint8Array=function(e){return e instanceof Uint8Array},v._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}},52162:(e,t,r)=>{r.d(t,{uv:()=>s});var n=r(16299),i=r(38612);function s(e,t,{timeout:r}={}){try{return(0,n.A)((()=>(0,i.A)(e).test(t)),{timeout:r})()}catch(e){if((0,n.c)(e))return!1;throw e}}},52244:(e,t,r)=>{var n=r(79696).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=p,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},52682:(e,t,r)=>{r.d(t,{BC:()=>m,Bq:()=>a,FK:()=>f,HC:()=>l,HT:()=>i,K5:()=>c,YW:()=>u,b2:()=>d,c1:()=>h,kg:()=>g,kp:()=>s,tW:()=>o,tn:()=>n,wN:()=>p});var n=Math.abs,i=String.fromCharCode,s=Object.assign;function o(e,t){return 45^p(e,0)?(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3):0}function a(e){return e.trim()}function u(e,t){return(e=t.exec(e))?e[0]:e}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function m(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}},52753:(e,t,r)=>{var n=r(63713),i=r(91471),s=r(79101),o=r(13607),a={preEmit:1,shouldEmit:1};e.exports=function(e){var t=r(61255),u=r(68),l=r(67670);for(var c in e=e||{},t)if(!a[c]&&(u[c]||l[c]))throw new Error("Cannot override API method "+c+" in Reflux.StoreMethods. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");for(var p in e)if(!a[p]&&(u[p]||l[p]))throw new Error("Cannot override API method "+p+" in store creation. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");function h(){var t,r=0;if(this.subscriptions=[],this.emitter=new n.EventEmitter,this.eventLabel="change",o(this,e),this.init&&n.isFunction(this.init)&&this.init(),this.listenables)for(t=[].concat(this.listenables);r<t.length;r++)this.listenToMany(t[r])}e=s(e),n.extend(h.prototype,l,u,t,e);var d=new h;return i.createdStores.push(d),d}},53692:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(60752),i=r(70161),s=r(96196),o=r(6022),a=r(96652),u=r.n(a),l=r(28104);function c(e,t){var r=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),r}function p(e,t,r){return null!=r[t]?r[t]:e.props[t]}function h(e,t,r){var n=c(e.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),s=[];for(var o in e)o in t?s.length&&(i[o]=s,s=[]):s.push(o);var a={};for(var u in t){if(i[u])for(n=0;n<i[u].length;n++){var l=i[u][n];a[i[u][n]]=r(l)}a[u]=r(u)}for(n=0;n<s.length;n++)a[s[n]]=r(s[n]);return a}(t,n);return Object.keys(i).forEach((function(s){var o=i[s];if((0,a.isValidElement)(o)){var u=s in t,l=s in n,c=t[s],h=(0,a.isValidElement)(c)&&!c.props.in;!l||u&&!h?l||!u||h?l&&u&&(0,a.isValidElement)(c)&&(i[s]=(0,a.cloneElement)(o,{onExited:r.bind(null,o),in:c.props.in,exit:p(o,"exit",e),enter:p(o,"enter",e)})):i[s]=(0,a.cloneElement)(o,{in:!1}):i[s]=(0,a.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:p(o,"exit",e),enter:p(o,"enter",e)})}})),i}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind((0,s.A)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,o.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,s=t.handleExited;return{children:t.firstRender?(r=e,n=s,c(r.children,(function(e){return(0,a.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:p(e,"appear",r),enter:p(e,"enter",r),exit:p(e,"exit",r)})}))):h(e,i,s),firstRender:!1}},r.handleExited=function(e,t){var r=c(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,i.A)({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,n.A)(e,["component","childFactory"]),s=this.state.contextValue,o=d(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===t?u().createElement(l.A.Provider,{value:s},o):u().createElement(l.A.Provider,{value:s},u().createElement(t,i,o))},t}(u().Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};const m=f},53786:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(70161),i=r(6022),s=r(63706),o=r(41381),a=function(e){function t(){return e.apply(this,arguments)||this}(0,i.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){var t=new s.CircleMarker(e.center,this.getOptions(e));return this.contextValue=(0,n.A)({},e.leaflet,{popupContainer:t}),t},r.updateLeafletElement=function(e,t){t.center!==e.center&&this.leafletElement.setLatLng(t.center),t.radius!==e.radius&&this.leafletElement.setRadius(t.radius)},t}(r(50093).A);const u=(0,o.k0)(a)},54284:(e,t,r)=>{r.d(t,{A:()=>o,l:()=>s});var n=r(62189),i=r(52682);function s(e,t){for(var r="",n=(0,i.FK)(e),s=0;s<n;s++)r+=t(e[s],s,e,t)||"";return r}function o(e,t,r,o){switch(e.type){case n.IO:if(e.children.length)break;case n.yE:case n.LU:return e.return=e.return||e.value;case n.YK:return"";case n.Sv:return e.return=e.value+"{"+s(e.children,o)+"}";case n.XZ:e.value=e.props.join(",")}return(0,i.b2)(r=s(e.children,o))?e.return=e.value+"{"+r+"}":""}},54447:(e,t,r)=>{var n=r(67670),i=r(36180),s=r(63713);e.exports=function(e,t){return s.throwIf(void 0===t,"Reflux.connect() requires a key."),{getInitialState:function(){return s.isFunction(e.getInitialState)?s.object([t],[e.getInitialState()]):{}},componentDidMount:function(){var r=this;s.extend(r,n),this.listenTo(e,(function(e){r.setState(s.object([t],[e]))}))},componentWillUnmount:i.componentWillUnmount}}},54808:(e,t,r)=>{e.exports=r(27540)},54845:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).minor},54856:(e,t,r)=>{var n=r(67670);e.exports=function(e){return{componentDidMount:function(){for(var t in n)if(this[t]!==n[t]){if(this[t])throw"Can't have other property '"+t+"' when using Reflux.listenToMany!";this[t]=n[t]}this.listenToMany(e)},componentWillUnmount:n.stopListeningToAll}}},55242:(e,t,r)=>{r.d(t,{Kq:()=>z,Ng:()=>U,iI:()=>H,jO:()=>b,Nk:()=>V});var n=r(58695),i=r(44949),s=r(46410);let o=function(e){e()};const a=()=>o;var u=r(96652);const l=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{};function p(){var e;if(!u.createContext)return{};const t=null!=(e=c[l])?e:c[l]=new Map;let r=t.get(u.createContext);return r||(r=u.createContext(null),t.set(u.createContext,r)),r}const h=p();function d(e=h){return function(){return(0,u.useContext)(e)}}const f=d(),m=()=>{throw new Error("uSES not initialized!")};let g=m;const y=(e,t)=>e===t;function b(e=h){const t=e===h?f:d(e);return function(e,r={}){const{equalityFn:n=y,stabilityCheck:i,noopCheck:s}="function"==typeof r?{equalityFn:r}:r,{store:o,subscription:a,getServerState:l,stabilityCheck:c,noopCheck:p}=t(),h=((0,u.useRef)(!0),(0,u.useCallback)({[e.name]:t=>e(t)}[e.name],[e,c,i])),d=g(a.addNestedSub,o.getState,l||o.getState,h,n);return(0,u.useDebugValue)(d),d}}var v=r(70161),D=r(60752),E=r(80997),x=r.n(E),w=r(54808);const S=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function C(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:s,areStatePropsEqual:o}){let a,u,l,c,p,h=!1;return function(d,f){return h?function(h,d){const f=!s(d,u),m=!i(h,a,d,u);return a=h,u=d,f&&m?(l=e(a,u),t.dependsOnOwnProps&&(c=t(n,u)),p=r(l,c,u),p):f?(e.dependsOnOwnProps&&(l=e(a,u)),t.dependsOnOwnProps&&(c=t(n,u)),p=r(l,c,u),p):m?function(){const t=e(a,u),n=!o(t,l);return l=t,n&&(p=r(l,c,u)),p}():p}(d,f):(a=d,u=f,l=e(a,u),c=t(n,u),p=r(l,c,u),h=!0,p)}}function A(e){return function(t){const r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function T(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(e,t){return function(t,{displayName:r}){const n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=T(e);let i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=T(i),i=n(t,r)),i},n}}function F(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function I(e,t,r){return(0,v.A)({},r,e,t)}const N={notify(){},get:()=>[]};function k(e,t){let r,n=N,i=0,s=!1;function o(){c.onStateChange&&c.onStateChange()}function u(){i++,r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){const e=a();let t=null,r=null;return{clear(){t=null,r=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}function l(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=N)}const c={addNestedSub:function(e){u();const t=n.subscribe(e);let r=!1;return()=>{r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,u())},tryUnsubscribe:function(){s&&(s=!1,l())},getListeners:()=>n};return c}const _="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?u.useLayoutEffect:u.useEffect;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function M(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!O(e[r[n]],t[r[n]]))return!1;return!0}const L=["reactReduxForwardedRef"];let B=m;const R=[null,null];function j(e,t,r,n,i,s){e.current=n,r.current=!1,i.current&&(i.current=null,s())}function $(e,t){return e===t}const U=function(e,t,r,{pure:n,areStatesEqual:i=$,areOwnPropsEqual:s=M,areStatePropsEqual:o=M,areMergedPropsEqual:a=M,forwardRef:l=!1,context:c=h}={}){const p=c,d=function(e){return e?"function"==typeof e?P(e):F(e,"mapStateToProps"):A((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?A((t=>function(e,t){const r={};for(const n in e){const i=e[n];"function"==typeof i&&(r[n]=(...e)=>t(i(...e)))}return r}(e,t))):e?"function"==typeof e?P(e):F(e,"mapDispatchToProps"):A((e=>({dispatch:e})))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:r,areMergedPropsEqual:n}){let i,s=!1;return function(t,r,o){const a=e(t,r,o);return s?n(a,i)||(i=a):(s=!0,i=a),i}}}(e):F(e,"mergeProps"):()=>I}(r),g=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:g,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:s,areMergedPropsEqual:a};function c(t){const[r,i,s]=u.useMemo((()=>{const{reactReduxForwardedRef:e}=t,r=(0,D.A)(t,L);return[t.context,e,r]}),[t]),o=u.useMemo((()=>r&&r.Consumer&&(0,w.isContextConsumer)(u.createElement(r.Consumer,null))?r:p),[r,p]),a=u.useContext(o),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(a)&&Boolean(a.store),h=l?t.store:a.store,d=c?a.getServerState:h.getState,f=u.useMemo((()=>function(e,t){let{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:i}=t,s=(0,D.A)(t,S);return C(r(e,s),n(e,s),i(e,s),e,s)}(h.dispatch,n)),[h]),[m,y]=u.useMemo((()=>{if(!g)return R;const e=k(h,l?void 0:a.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,l,a]),b=u.useMemo((()=>l?a:(0,v.A)({},a,{subscription:m})),[l,a,m]),E=u.useRef(),x=u.useRef(s),A=u.useRef(),T=u.useRef(!1),P=(u.useRef(!1),u.useRef(!1)),F=u.useRef();_((()=>(P.current=!0,()=>{P.current=!1})),[]);const I=u.useMemo((()=>()=>A.current&&s===x.current?A.current:f(h.getState(),s)),[h,s]),N=u.useMemo((()=>e=>m?function(e,t,r,n,i,s,o,a,u,l,c){if(!e)return()=>{};let p=!1,h=null;const d=()=>{if(p||!a.current)return;const e=t.getState();let r,d;try{r=n(e,i.current)}catch(e){d=e,h=e}d||(h=null),r===s.current?o.current||l():(s.current=r,u.current=r,o.current=!0,c())};return r.onStateChange=d,r.trySubscribe(),d(),()=>{if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,h)throw h}}(g,h,m,f,x,E,T,P,A,y,e):()=>{}),[m]);var O,M;let $;O=j,M=[x,E,T,s,A,y],_((()=>O(...M)),undefined);try{$=B(N,I,d?()=>f(d(),s):I)}catch(e){throw F.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${F.current.stack}\n\n`),e}_((()=>{F.current=void 0,A.current=void 0,E.current=$}));const U=u.useMemo((()=>u.createElement(e,(0,v.A)({},$,{ref:i}))),[i,e,$]);return u.useMemo((()=>g?u.createElement(o.Provider,{value:b},U):U),[o,U,b])}const h=u.memo(c);if(h.WrappedComponent=e,h.displayName=c.displayName=r,l){const t=u.forwardRef((function(e,t){return u.createElement(h,(0,v.A)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=r,t.WrappedComponent=e,x()(t,e)}return x()(h,e)}},z=function({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",noopCheck:s="once"}){const o=u.useMemo((()=>{const t=k(e);return{store:e,subscription:t,getServerState:n?()=>n:void 0,stabilityCheck:i,noopCheck:s}}),[e,n,i,s]),a=u.useMemo((()=>e.getState()),[e]);_((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a]);const l=t||h;return u.createElement(l.Provider,{value:o},r)};function V(e=h){const t=e===h?f:d(e);return function(){const{store:e}=t();return e}}const W=V();function H(e=h){const t=e===h?W:V(e);return function(){return t().dispatch}}var q,G;q=i.useSyncExternalStoreWithSelector,g=q,(e=>{B=e})(n.useSyncExternalStore),G=s.unstable_batchedUpdates,o=G},55520:(e,t,r)=>{const n=r(29161);t.implementation=class{constructor(e,t,{doNotStripQMark:r=!1}){let i=t[0];if(this._list=[],this._url=null,r||"string"!=typeof i||"?"!==i[0]||(i=i.slice(1)),Array.isArray(i))for(const e of i){if(2!==e.length)throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not contain exactly two elements.");this._list.push([e[0],e[1]])}else if("object"==typeof i&&null===Object.getPrototypeOf(i))for(const e of Object.keys(i)){const t=i[e];this._list.push([e,t])}else this._list=n.parseUrlencodedString(i)}_updateSteps(){if(null!==this._url){let e=n.serializeUrlencoded(this._list);""===e&&(e=null),this._url._url.query=e,null===e&&this._url._potentiallyStripTrailingSpacesFromAnOpaquePath()}}get size(){return this._list.length}append(e,t){this._list.push([e,t]),this._updateSteps()}delete(e,t){let r=0;for(;r<this._list.length;)this._list[r][0]!==e||void 0!==t&&this._list[r][1]!==t?r++:this._list.splice(r,1);this._updateSteps()}get(e){for(const t of this._list)if(t[0]===e)return t[1];return null}getAll(e){const t=[];for(const r of this._list)r[0]===e&&t.push(r[1]);return t}has(e,t){for(const r of this._list)if(r[0]===e&&(void 0===t||r[1]===t))return!0;return!1}set(e,t){let r=!1,n=0;for(;n<this._list.length;)this._list[n][0]===e?r?this._list.splice(n,1):(r=!0,this._list[n][1]=t,n++):n++;r||this._list.push([e,t]),this._updateSteps()}sort(){this._list.sort(((e,t)=>e[0]<t[0]?-1:e[0]>t[0]?1:0)),this._updateSteps()}[Symbol.iterator](){return this._list[Symbol.iterator]()}toString(){return n.serializeUrlencoded(this._list)}}},55930:(e,t,r)=>{const n=r(98999),{ArrayIsArray:i,Promise:s,SymbolAsyncIterator:o,SymbolDispose:a}=r(12450),u=r(42882),{once:l}=r(46108),c=r(28476),p=r(758),{aggregateTwoErrors:h,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:f,ERR_MISSING_ARGS:m,ERR_STREAM_DESTROYED:g,ERR_STREAM_PREMATURE_CLOSE:y},AbortError:b}=r(26503),{validateFunction:v,validateAbortSignal:D}=r(79337),{isIterable:E,isReadable:x,isReadableNodeStream:w,isNodeStream:S,isTransformStream:C,isWebStream:A,isReadableStream:T,isReadableFinished:P}=r(97967),F=globalThis.AbortController||r(64279).AbortController;let I,N,k;function _(e,t,r){let n=!1;return e.on("close",(()=>{n=!0})),{destroy:t=>{n||(n=!0,c.destroyer(e,t||new g("pipe")))},cleanup:u(e,{readable:t,writable:r},(e=>{n=!e}))}}function O(e){if(E(e))return e;if(w(e))return async function*(e){N||(N=r(11444)),yield*N.prototype[o].call(e)}(e);throw new d("val",["Readable","Iterable","AsyncIterable"],e)}async function M(e,t,r,{end:n}){let i,o=null;const a=e=>{if(e&&(i=e),o){const e=o;o=null,e()}},l=()=>new s(((e,t)=>{i?t(i):o=()=>{i?t(i):e()}}));t.on("drain",a);const c=u(t,{readable:!1},a);try{t.writableNeedDrain&&await l();for await(const r of e)t.write(r)||await l();n&&(t.end(),await l()),r()}catch(e){r(i!==e?h(i,e):e)}finally{c(),t.off("drain",a)}}async function L(e,t,r,{end:n}){C(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch((()=>{}));await i.ready,n&&await i.close(),r()}catch(e){try{await i.abort(e),r(e)}catch(e){r(e)}}}function B(e,t,s){if(1===e.length&&i(e[0])&&(e=e[0]),e.length<2)throw new m("streams");const o=new F,u=o.signal,l=null==s?void 0:s.signal,c=[];function h(){$(new b)}let g,y,v;D(l,"options.signal"),k=k||r(46108).addAbortListener,l&&(g=k(l,h));const P=[];let N,B=0;function j(e){$(e,0==--B)}function $(e,r){var i;if(!e||y&&"ERR_STREAM_PREMATURE_CLOSE"!==y.code||(y=e),y||r){for(;P.length;)P.shift()(y);null===(i=g)||void 0===i||i[a](),o.abort(),r&&(y||c.forEach((e=>e())),n.nextTick(t,y,v))}}for(let V=0;V<e.length;V++){const W=e[V],H=V<e.length-1,q=V>0,G=H||!1!==(null==s?void 0:s.end),K=V===e.length-1;if(S(W)){if(G){const{destroy:J,cleanup:Y}=_(W,H,q);P.push(J),x(W)&&K&&c.push(Y)}function X(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&j(e)}W.on("error",X),x(W)&&K&&c.push((()=>{W.removeListener("error",X)}))}if(0===V)if("function"==typeof W){if(N=W({signal:u}),!E(N))throw new f("Iterable, AsyncIterable or Stream","source",N)}else N=E(W)||w(W)||C(W)?W:p.from(W);else if("function"==typeof W){var U;if(N=C(N)?O(null===(U=N)||void 0===U?void 0:U.readable):O(N),N=W(N,{signal:u}),H){if(!E(N,!0))throw new f("AsyncIterable",`transform[${V-1}]`,N)}else{var z;I||(I=r(41472));const Z=new I({objectMode:!0}),Q=null===(z=N)||void 0===z?void 0:z.then;if("function"==typeof Q)B++,Q.call(N,(e=>{v=e,null!=e&&Z.write(e),G&&Z.end(),n.nextTick(j)}),(e=>{Z.destroy(e),n.nextTick(j,e)}));else if(E(N,!0))B++,M(N,Z,j,{end:G});else{if(!T(N)&&!C(N))throw new f("AsyncIterable or Promise","destination",N);{const re=N.readable||N;B++,M(re,Z,j,{end:G})}}N=Z;const{destroy:ee,cleanup:te}=_(N,!1,!0);P.push(ee),K&&c.push(te)}}else if(S(W)){if(w(N)){B+=2;const ne=R(N,W,j,{end:G});x(W)&&K&&c.push(ne)}else if(C(N)||T(N)){const ie=N.readable||N;B++,M(ie,W,j,{end:G})}else{if(!E(N))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);B++,M(N,W,j,{end:G})}N=W}else if(A(W)){if(w(N))B++,L(O(N),W,j,{end:G});else if(T(N)||E(N))B++,L(N,W,j,{end:G});else{if(!C(N))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);B++,L(N.readable,W,j,{end:G})}N=W}else N=p.from(W)}return(null!=u&&u.aborted||null!=l&&l.aborted)&&n.nextTick(h),N}function R(e,t,r,{end:i}){let s=!1;if(t.on("close",(()=>{s||r(new y)})),e.pipe(t,{end:!1}),i){function o(){s=!0,t.end()}P(e)?n.nextTick(o):e.once("end",o)}else r();return u(e,{readable:!0,writable:!1},(t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)})),u(t,{readable:!1,writable:!0},r)}e.exports={pipelineImpl:B,pipeline:function(...e){return B(e,l(function(e){return v(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},57094:(e,t,r)=>{r.d(t,{G:()=>o});const n="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:r}=t||{};function n(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,s,o){let a=[],u=/^@(\w+)\b/.exec(e[0]),l=u&&"keyframes"==u[1];if(u&&null==t)return s.push(e[0]+";");for(let r in t){let o=t[r];if(/&/.test(r))i(r.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),o,s);else if(o&&"object"==typeof o){if(!u)throw new RangeError("The value of a property ("+r+") should be a primitive value.");i(n(r),o,a,l)}else null!=o&&a.push(r.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+o+";")}(a.length||l)&&s.push((!r||u||o?e:e.map(r)).join(", ")+" {"+a.join(" ")+"}")}for(let t in e)i(n(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[n]||1;return s[n]=e+1,"ͼ"+e.toString(36)}static mount(e,t,r){let n=e[i],s=r&&r.nonce;n?s&&n.setNonce(s):n=new u(e,s),n.mount(Array.isArray(t)?t:[t],e)}}let a=new Map;class u{constructor(e,t){let r=e.ownerDocument||e,n=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let t=a.get(r);if(t)return e[i]=t;this.sheet=new n.CSSStyleSheet,a.set(r,this)}else this.styleTag=r.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let r=this.sheet,n=0,i=0;for(let t=0;t<e.length;t++){let s=e[t],o=this.modules.indexOf(s);if(o<i&&o>-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),r)for(let e=0;e<s.rules.length;e++)r.insertRule(s.rules[e],n++)}else{for(;i<o;)n+=this.modules[i++].rules.length;n+=s.rules.length,i++}}if(r)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let r=t.head||t;this.styleTag.parentNode!=r&&r.insertBefore(this.styleTag,r.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},57148:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(96652),i=r(49657);function s(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=[]),n.Children.toArray(e).reduce((function(e,o,a){return(0,i.isFragment)(o)?e.push.apply(e,s(o.props.children,t+1,r.concat(o.key||a))):(0,n.isValidElement)(o)?e.push((0,n.cloneElement)(o,{key:r.concat(String(o.key)).join(".")})):"string"!=typeof o&&"number"!=typeof o||e.push(o),e}),[])}},57282:function(e){e.exports=function(e,t){var r=t||Math.random,n=(e=Math.max(1,0|Math.floor(e)||1),0),i=-1,s=function(){var e,t=n,i=r(),u=0;if(n<=o){for(t++,e=++a/t;e>i;)u++,t++,e=e*++a/t;return u}return(s=h)()},o=22*e,a=0,u=Math.exp(-Math.log(r())/e),l=null,c=[];c.pushSome=function(){this.length=Math.min(this.length,e);for(var t=0;t<arguments.length;t++)p.call(this,arguments[t]);return this.length};var p=function(t){return n<e?this.push(t):(i<0&&(i=s()),0===i&&function(t,n){var i;null!==l?(i=l,l=null):i=Math.floor(r()*e),n.splice(i,1),n.push(t)}(t,this),i--),n++,this};function h(){for(var t,i,s,o=n-e+1;;){var a=r(),l=n*(u-1),c=Math.floor(l),p=(n+1)/o;p*=p;var h=o+c,d=Math.exp(Math.log(a*p*h/(n+l))/e),f=(n+l)/h*o/n;if(d<=f){u=f/d;break}var m=a*(n+1)/o*(n+c+1)/(n+l);for(e<c?(t=n,s=o+c):(t=n-e+c,s=n+1),i=n+c;i>=s;i--)m=m*i/t,t--;if(u=Math.exp(-Math.log(r())/e),Math.exp(Math.log(m)/e)<=(n+l)/n)break}return c}return c}},57931:(e,t)=>{const r=Function.prototype.call.bind(Object.prototype.hasOwnProperty),n=Symbol("wrapper"),i=Symbol("impl"),s=Symbol("SameObject caches"),o=Symbol.for("[webidl2js] constructor registry"),a=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function u(e){if(r(e,o))return e[o];const t=Object.create(null);t["%Object.prototype%"]=e.Object.prototype,t["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new e.Array)[Symbol.iterator]()));try{t["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(e.eval("(async function* () {})").prototype))}catch{t["%AsyncIteratorPrototype%"]=a}return e[o]=t,t}function l(e){return e?e[n]:null}function c(e){return e?e[i]:null}const p=Symbol("internal"),h=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,d=Symbol("supports property index"),f=Symbol("supported property indices"),m=Symbol("supports property name"),g=Symbol("supported property names"),y=Symbol("indexed property get"),b=Symbol("indexed property set new"),v=Symbol("indexed property set existing"),D=Symbol("named property get"),E=Symbol("named property set new"),x=Symbol("named property set existing"),w=Symbol("named property delete"),S=Symbol("async iterator get the next iteration result"),C=Symbol("async iterator return steps"),A=Symbol("async iterator initialization steps"),T=Symbol("async iterator end of iteration");e.exports={isObject:function(e){return"object"==typeof e&&null!==e||"function"==typeof e},hasOwn:r,define:function(e,t){for(const r of Reflect.ownKeys(t)){const n=Reflect.getOwnPropertyDescriptor(t,r);if(n&&!Reflect.defineProperty(e,r,n))throw new TypeError(`Cannot redefine property: ${String(r)}`)}},newObjectInRealm:function(e,t){const r=u(e);return Object.defineProperties(Object.create(r["%Object.prototype%"]),Object.getOwnPropertyDescriptors(t))},wrapperSymbol:n,implSymbol:i,getSameObject:function(e,t,r){return e[s]||(e[s]=Object.create(null)),t in e[s]||(e[s][t]=r()),e[s][t]},ctorRegistrySymbol:o,initCtorRegistry:u,wrapperForImpl:l,implForWrapper:c,tryWrapperForImpl:function(e){return l(e)||e},tryImplForWrapper:function(e){return c(e)||e},iterInternalSymbol:p,isArrayBuffer:function(e){try{return h.call(e),!0}catch(e){return!1}},isArrayIndexPropName:function(e){if("string"!=typeof e)return!1;const t=e>>>0;return t!==2**32-1&&e===`${t}`},supportsPropertyIndex:d,supportedPropertyIndices:f,supportsPropertyName:m,supportedPropertyNames:g,indexedGet:y,indexedSetNew:b,indexedSetExisting:v,namedGet:D,namedSetNew:E,namedSetExisting:x,namedDelete:w,asyncIteratorNext:S,asyncIteratorReturn:C,asyncIteratorInit:A,asyncIteratorEOI:T,iteratorResult:function([e,t],r){let n;switch(r){case"key":n=e;break;case"value":n=t;break;case"key+value":n=[e,t]}return{value:n,done:!1}}}},58073:(e,t,r)=>{var n=r(52753),i=r(63713),s=Array.prototype.slice,o={strict:"joinStrict",first:"joinLeading",last:"joinTrailing",all:"joinConcat"};function a(e){e.listenablesEmitted=new Array(e.numberOfListenables),e.args=new Array(e.numberOfListenables)}function u(e,t){return function(){var r=s.call(arguments);if(t.listenablesEmitted[e])switch(t.strategy){case"strict":throw new Error("Strict join failed because listener triggered twice.");case"last":t.args[e]=r;break;case"all":t.args[e].push(r)}else t.listenablesEmitted[e]=!0,t.args[e]="all"===t.strategy?[r]:r;!function(e){for(var t=0;t<e.numberOfListenables;t++)if(!e.listenablesEmitted[t])return;e.callback.apply(e.listener,e.args),a(e)}(t)}}t.T=function(e){return function(){var t=s.call(arguments);return n({init:function(){this[o[e]].apply(this,t.concat("triggerAsync"))}})}},t.Y=function(e){return function(){i.throwIf(arguments.length<2,"Cannot create a join with less than 2 listenables!");var t,r,n=s.call(arguments),o=n.pop(),l=n.length,c={numberOfListenables:l,callback:this[o]||o,listener:this,strategy:e},p=[];for(t=0;t<l;t++)i.throwIf(this.validateListening(n[t]));for(t=0;t<l;t++)p.push(n[t].listen(u(t,c),this));return a(c),(r={listenable:n}).stop=function(e,t,r){return function(){var n,s=r.subscriptions,o=s?s.indexOf(e):-1;for(i.throwIf(-1===o,"Tried to remove join already gone from subscriptions list!"),n=0;n<t.length;n++)t[n]();s.splice(o,1)}}(r,p,this),this.subscriptions=(this.subscriptions||[]).concat(r),r}}},58407:(e,t,r)=>{var n=r(25003),i=r(38049),s=r(79696).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function c(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,u=0|this._e,p=0;p<16;++p)r[p]=e.readInt32BE(4*p);for(;p<80;++p)r[p]=r[p-3]^r[p-8]^r[p-14]^r[p-16];for(var h=0;h<80;++h){var d=~~(h/20),f=0|((t=n)<<5|t>>>27)+c(d,i,s,a)+u+r[h]+o[d];u=a,a=s,s=l(i),i=n,n=f}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},58695:(e,t,r)=>{e.exports=r(39628)},59417:(e,t,r)=>{const n=r(10659),i=r(57931),s=r(14896),o=i.newObjectInRealm,a=i.implSymbol,u=i.ctorRegistrySymbol,l="URLSearchParams";function c(e,t){let r;return void 0!==t&&(r=t.prototype),i.isObject(r)||(r=e[u].URLSearchParams.prototype),Object.create(r)}t.is=e=>i.isObject(e)&&i.hasOwn(e,a)&&e[a]instanceof h.implementation,t.isImpl=e=>i.isObject(e)&&e instanceof h.implementation,t.convert=(e,r,{context:n="The provided value"}={})=>{if(t.is(r))return i.implForWrapper(r);throw new e.TypeError(`${n} is not of type 'URLSearchParams'.`)},t.createDefaultIterator=(e,t,r)=>{const n=e[u]["URLSearchParams Iterator"],s=Object.create(n);return Object.defineProperty(s,i.iterInternalSymbol,{value:{target:t,kind:r,index:0},configurable:!0}),s},t.create=(e,r,n)=>{const i=c(e);return t.setup(i,e,r,n)},t.createImpl=(e,r,n)=>{const s=t.create(e,r,n);return i.implForWrapper(s)},t._internalSetup=(e,t)=>{},t.setup=(e,r,n=[],s={})=>(s.wrapper=e,t._internalSetup(e,r),Object.defineProperty(e,a,{value:new h.implementation(r,n,s),configurable:!0}),e[a][i.wrapperSymbol]=e,h.init&&h.init(e[a]),e),t.new=(e,r)=>{const n=c(e,r);return t._internalSetup(n,e),Object.defineProperty(n,a,{value:Object.create(h.implementation.prototype),configurable:!0}),n[a][i.wrapperSymbol]=n,h.init&&h.init(n[a]),n[a]};const p=new Set(["Window","Worker"]);t.install=(e,r)=>{if(!r.some((e=>p.has(e))))return;const u=i.initCtorRegistry(e);class c{constructor(){const r=[];{let t=arguments[0];if(void 0!==t)if(i.isObject(t))if(void 0!==t[Symbol.iterator]){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");{const r=[],s=t;for(let t of s){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");{const r=[],i=t;for(let t of i)t=n.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element",globals:e}),r.push(t);t=r}r.push(t)}t=r}}else{if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");{const r=Object.create(null);for(const i of Reflect.ownKeys(t)){const s=Object.getOwnPropertyDescriptor(t,i);if(s&&s.enumerable){let s=i;s=n.USVString(s,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key",globals:e});let o=t[i];o=n.USVString(o,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value",globals:e}),r[s]=o}}t=r}}else t=n.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1",globals:e});else t="";r.push(t)}return t.setup(Object.create(new.target.prototype),e,r)}append(r,s){const o=null!=this?this:e;if(!t.is(o))throw new e.TypeError("'append' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError(`Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const u=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1",globals:e}),u.push(t)}{let t=arguments[1];t=n.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2",globals:e}),u.push(t)}return i.tryWrapperForImpl(o[a].append(...u))}delete(r){const s=null!=this?this:e;if(!t.is(s))throw new e.TypeError("'delete' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const o=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 2",globals:e})),o.push(t)}return i.tryWrapperForImpl(s[a].delete(...o))}get(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'get' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const s=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1",globals:e}),s.push(t)}return i[a].get(...s)}getAll(r){const s=null!=this?this:e;if(!t.is(s))throw new e.TypeError("'getAll' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const o=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}return i.tryWrapperForImpl(s[a].getAll(...o))}has(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'has' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const s=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1",globals:e}),s.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 2",globals:e})),s.push(t)}return i[a].has(...s)}set(r,s){const o=null!=this?this:e;if(!t.is(o))throw new e.TypeError("'set' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError(`Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const u=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1",globals:e}),u.push(t)}{let t=arguments[1];t=n.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2",globals:e}),u.push(t)}return i.tryWrapperForImpl(o[a].set(...u))}sort(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'sort' called on an object that is not a valid instance of URLSearchParams.");return i.tryWrapperForImpl(r[a].sort())}toString(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'toString' called on an object that is not a valid instance of URLSearchParams.");return r[a].toString()}keys(){if(!t.is(this))throw new e.TypeError("'keys' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key")}values(){if(!t.is(this))throw new e.TypeError("'values' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"value")}entries(){if(!t.is(this))throw new e.TypeError("'entries' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key+value")}forEach(r){if(!t.is(this))throw new e.TypeError("'forEach' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");r=s.convert(e,r,{context:"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1"});const n=arguments[1];let o=Array.from(this[a]),u=0;for(;u<o.length;){const[e,t]=o[u].map(i.tryWrapperForImpl);r.call(n,t,e,this),o=Array.from(this[a]),u++}}get size(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get size' called on an object that is not a valid instance of URLSearchParams.");return r[a].size}}Object.defineProperties(c.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},getAll:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},sort:{enumerable:!0},toString:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},size:{enumerable:!0},[Symbol.toStringTag]:{value:"URLSearchParams",configurable:!0},[Symbol.iterator]:{value:c.prototype.entries,configurable:!0,writable:!0}}),u[l]=c,u["URLSearchParams Iterator"]=Object.create(u["%IteratorPrototype%"],{[Symbol.toStringTag]:{configurable:!0,value:"URLSearchParams Iterator"}}),i.define(u["URLSearchParams Iterator"],{next(){const t=this&&this[i.iterInternalSymbol];if(!t)throw new e.TypeError("next() called on a value that is not a URLSearchParams iterator object");const{target:r,kind:n,index:s}=t,u=Array.from(r[a]);if(s>=u.length)return o(e,{value:void 0,done:!0});const l=u[s];return t.index=s+1,o(e,i.iteratorResult(l.map(i.tryWrapperForImpl),n))}}),Object.defineProperty(e,l,{configurable:!0,writable:!0,value:c})};const h=r(55520)},59827:(e,t,r)=>{const n=r(66089),i=r(92248);e.exports=(e,t,r)=>{let s=null,o=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==o.compare(e)||(s=e,o=new n(s,r)))})),s}},60494:(e,t,r)=>{const n=r(28783),i=r(29161),s=r(59417);t.implementation=class{constructor(e,t){const r=t[0],i=t[1];let o=null;if(void 0!==i&&(o=n.basicURLParse(i),null===o))throw new TypeError(`Invalid base URL: ${i}`);const a=n.basicURLParse(r,{baseURL:o});if(null===a)throw new TypeError(`Invalid URL: ${r}`);const u=null!==a.query?a.query:"";this._url=a,this._query=s.createImpl(e,[u],{doNotStripQMark:!0}),this._query._url=this}static canParse(e,t){let r=null;return(void 0===t||(r=n.basicURLParse(t),null!==r))&&null!==n.basicURLParse(e,{baseURL:r})}get href(){return n.serializeURL(this._url)}set href(e){const t=n.basicURLParse(e);if(null===t)throw new TypeError(`Invalid URL: ${e}`);this._url=t,this._query._list.splice(0);const{query:r}=t;null!==r&&(this._query._list=i.parseUrlencodedString(r))}get origin(){return n.serializeURLOrigin(this._url)}get protocol(){return`${this._url.scheme}:`}set protocol(e){n.basicURLParse(`${e}:`,{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?n.serializeHost(e.host):`${n.serializeHost(e.host)}:${n.serializeInteger(e.port)}`}set host(e){n.hasAnOpaquePath(this._url)||n.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":n.serializeHost(this._url.host)}set hostname(e){n.hasAnOpaquePath(this._url)||n.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":n.serializeInteger(this._url.port)}set port(e){n.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:n.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return n.serializePath(this._url)}set pathname(e){n.hasAnOpaquePath(this._url)||(this._url.path=[],n.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":`?${this._url.query}`}set search(e){const t=this._url;if(""===e)return t.query=null,this._query._list=[],void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const r="?"===e[0]?e.substring(1):e;t.query="",n.basicURLParse(r,{url:t,stateOverride:"query"}),this._query._list=i.parseUrlencodedString(r)}get searchParams(){return this._query}get hash(){return null===this._url.fragment||""===this._url.fragment?"":`#${this._url.fragment}`}set hash(e){if(""===e)return this._url.fragment=null,void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const t="#"===e[0]?e.substring(1):e;this._url.fragment="",n.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}_potentiallyStripTrailingSpacesFromAnOpaquePath(){n.hasAnOpaquePath(this._url)&&null===this._url.fragment&&null===this._url.query&&(this._url.path=this._url.path.replace(/\u0020+$/u,""))}}},60558:(e,t,r)=>{const n=r(98999),i=r(67787),{isReadable:s,isWritable:o,isIterable:a,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:p,isReadableStream:h,isWritableStream:d}=r(97967),f=r(42882),{AbortError:m,codes:{ERR_INVALID_ARG_TYPE:g,ERR_INVALID_RETURN_VALUE:y}}=r(26503),{destroyer:b}=r(28476),v=r(758),D=r(11444),E=r(12244),{createDeferredPromise:x}=r(46108),w=r(79112),S=globalThis.Blob||i.Blob,C=void 0!==S?function(e){return e instanceof S}:function(e){return!1},A=globalThis.AbortController||r(64279).AbortController,{FunctionPrototypeCall:T}=r(12450);class P extends v{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function F(e){const t=e.readable&&"function"!=typeof e.readable.read?D.wrap(e.readable):e.readable,r=e.writable;let n,i,a,u,l,c=!!s(t),p=!!o(r);function h(e){const t=u;u=null,t?t(e):e&&l.destroy(e)}return l=new P({readableObjectMode:!(null==t||!t.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:p}),p&&(f(r,(e=>{p=!1,e&&b(t,e),h(e)})),l._write=function(e,t,i){r.write(e,t)?i():n=i},l._final=function(e){r.end(),i=e},r.on("drain",(function(){if(n){const e=n;n=null,e()}})),r.on("finish",(function(){if(i){const e=i;i=null,e()}}))),c&&(f(t,(e=>{c=!1,e&&b(t,e),h(e)})),t.on("readable",(function(){if(a){const e=a;a=null,e()}})),t.on("end",(function(){l.push(null)})),l._read=function(){for(;;){const e=t.read();if(null===e)return void(a=l._read);if(!l.push(e))return}}),l._destroy=function(e,s){e||null===u||(e=new m),a=null,n=null,i=null,null===u?s(e):(u=s,b(r,e),b(t,e))},l}e.exports=function e(t,r){if(p(t))return t;if(l(t))return F({readable:t});if(c(t))return F({writable:t});if(u(t))return F({writable:!1,readable:!1});if(h(t))return F({readable:D.fromWeb(t)});if(d(t))return F({writable:E.fromWeb(t)});if("function"==typeof t){const{value:e,write:i,final:s,destroy:o}=function(e){let{promise:t,resolve:r}=x();const i=new A,s=i.signal;return{value:e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:o,cb:a}=await e;if(n.nextTick(a),o)return;if(s.aborted)throw new m(void 0,{cause:s.reason});({promise:t,resolve:r}=x()),yield i}}(),{signal:s}),write(e,t,n){const i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(a(e))return w(P,e,{objectMode:!0,write:i,final:s,destroy:o});const u=null==e?void 0:e.then;if("function"==typeof u){let t;const r=T(u,e,(e=>{if(null!=e)throw new y("nully","body",e)}),(e=>{b(t,e)}));return t=new P({objectMode:!0,readable:!1,write:i,final(e){s((async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}}))},destroy:o})}throw new y("Iterable, AsyncIterable or AsyncFunction",r,e)}if(C(t))return e(t.arrayBuffer());if(a(t))return w(P,t,{objectMode:!0,writable:!1});if(h(null==t?void 0:t.readable)&&d(null==t?void 0:t.writable))return P.fromWeb(t);if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable))return F({readable:null!=t&&t.readable?l(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0});const i=null==t?void 0:t.then;if("function"==typeof i){let e;return T(i,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{b(e,t)})),e=new P({objectMode:!0,writable:!1,read(){}})}throw new g(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}},61255:e=>{e.exports={}},61603:(e,t,r)=>{r.r(t),r.d(t,{focusable:()=>v,isFocusable:()=>x,isTabbable:()=>D,tabbable:()=>b});var n=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],i=n.join(","),s="undefined"==typeof Element,o=s?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!s&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},u=function(e,t,r){var n=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&o.call(e,i)&&n.unshift(e),n.filter(r)},l=function e(t,r,n){for(var s=[],a=Array.from(t);a.length;){var u=a.shift();if("SLOT"===u.tagName){var l=u.assignedElements(),c=e(l.length?l:u.children,!0,n);n.flatten?s.push.apply(s,c):s.push({scope:u,candidates:c})}else{o.call(u,i)&&n.filter(u)&&(r||!t.includes(u))&&s.push(u);var p=u.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(u),h=!n.shadowRootFilter||n.shadowRootFilter(u);if(p&&h){var d=e(!0===p?u.children:p.children,!0,n);n.flatten?s.push.apply(s,d):s.push({scope:u,candidates:d})}else a.unshift.apply(a,u.children)}}return s},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},d=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},f=function(e,t){return!(t.disabled||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=o.call(e,"details>summary:first-of-type")?e.parentElement:e;if(o.call(i,"details:not([open]) *"))return!0;var s=a(e).host,u=(null==s?void 0:s.ownerDocument.contains(s))||e.ownerDocument.contains(e);if(r&&"full"!==r){if("non-zero-area"===r)return d(e)}else{if("function"==typeof n){for(var l=e;e;){var c=e.parentElement,p=a(e);if(c&&!c.shadowRoot&&!0===n(c))return d(e);e=e.assignedSlot?e.assignedSlot:c||p===e.ownerDocument?c:p.host}e=l}if(u)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!o.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||a(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!i||i===e}(e)}(t)||c(t)<0||!f(e,t))},g=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},y=function e(t){var r=[],n=[];return t.forEach((function(t,i){var s=!!t.scope,o=s?t.scope:t,a=c(o,s),u=s?e(t.candidates):o;0===a?s?r.push.apply(r,u):r.push(o):n.push({documentOrder:i,tabIndex:a,item:t,isScope:s,content:u})})),n.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},b=function(e,t){var r;return r=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:g}):u(e,t.includeContainer,m.bind(null,t)),y(r)},v=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:f.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,f.bind(null,t))},D=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==o.call(e,i)&&m(t,e)},E=n.concat("iframe").join(","),x=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==o.call(e,E)&&f(t,e)}},62189:(e,t,r)=>{r.d(t,{IO:()=>p,LU:()=>u,MS:()=>n,Sv:()=>c,XZ:()=>a,YK:()=>o,j:()=>s,vd:()=>i,yE:()=>l});var n="-ms-",i="-moz-",s="-webkit-",o="comm",a="rule",u="decl",l="@import",c="@keyframes",p="@layer"},62537:e=>{var t=Array.isArray,r=Object.keys,n=Object.prototype.hasOwnProperty;e.exports=function e(i,s){if(i===s)return!0;if(i&&s&&"object"==typeof i&&"object"==typeof s){var o,a,u,l=t(i),c=t(s);if(l&&c){if((a=i.length)!=s.length)return!1;for(o=a;0!=o--;)if(!e(i[o],s[o]))return!1;return!0}if(l!=c)return!1;var p=i instanceof Date,h=s instanceof Date;if(p!=h)return!1;if(p&&h)return i.getTime()==s.getTime();var d=i instanceof RegExp,f=s instanceof RegExp;if(d!=f)return!1;if(d&&f)return i.toString()==s.toString();var m=r(i);if((a=m.length)!==r(s).length)return!1;for(o=a;0!=o--;)if(!n.call(s,m[o]))return!1;for(o=a;0!=o--;)if(!e(i[u=m[o]],s[u]))return!1;return!0}return i!=i&&s!=s}},62591:(e,t,r)=>{function n(e,t){return"function"==typeof e?e(t):e}function i(e,t){return r=>{t.setState((t=>({...t,[e]:n(r,t[e])})))}}function s(e){return e instanceof Function}function o(e,t,r){let n,i=[];return s=>{let o;r.key&&r.debug&&(o=Date.now());const a=e(s);if(a.length===i.length&&!a.some(((e,t)=>i[t]!==e)))return n;let u;if(i=a,r.key&&r.debug&&(u=Date.now()),n=t(...a),null==r||null==r.onChange||r.onChange(n),r.key&&r.debug&&null!=r&&r.debug()){const e=Math.round(100*(Date.now()-o))/100,t=Math.round(100*(Date.now()-u))/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return n}}function a(e,t,r,n){return{debug:()=>{var r;return null!=(r=null==e?void 0:e.debugAll)?r:e[t]},key:!1,onChange:n}}r.d(t,{D0:()=>X,HT:()=>K,ZR:()=>G,h5:()=>Q,hM:()=>Y,kW:()=>Z});const u="debugHeaders";function l(e,t,r){var n;let i={id:null!=(n=r.id)?n:t.id,column:t,index:r.index,isPlaceholder:!!r.isPlaceholder,placeholderId:r.placeholderId,depth:r.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=r=>{r.subHeaders&&r.subHeaders.length&&r.subHeaders.map(t),e.push(r)};return t(i),e},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(i,e)})),i}const c={createTable:e=>{e.getHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,r,n,i)=>{var s,o;const a=null!=(s=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?s:[],u=null!=(o=null==i?void 0:i.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?o:[];return p(t,[...a,...r.filter((e=>!(null!=n&&n.includes(e.id)||null!=i&&i.includes(e.id)))),...u],e)}),a(e.options,u)),e.getCenterHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,r,n,i)=>p(t,r=r.filter((e=>!(null!=n&&n.includes(e.id)||null!=i&&i.includes(e.id)))),e,"center")),a(e.options,u)),e.getLeftHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,r,n)=>{var i;return p(t,null!=(i=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"left")}),a(e.options,u)),e.getRightHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,r,n)=>{var i;return p(t,null!=(i=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"right")}),a(e.options,u)),e.getFooterGroups=o((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getLeftFooterGroups=o((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getCenterFooterGroups=o((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getRightFooterGroups=o((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getFlatHeaders=o((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getLeftFlatHeaders=o((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getCenterFlatHeaders=o((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getRightFlatHeaders=o((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getCenterLeafHeaders=o((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,u)),e.getLeftLeafHeaders=o((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,u)),e.getRightLeafHeaders=o((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,u)),e.getLeafHeaders=o((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,r)=>{var n,i,s,o,a,u;return[...null!=(n=null==(i=e[0])?void 0:i.headers)?n:[],...null!=(s=null==(o=t[0])?void 0:o.headers)?s:[],...null!=(a=null==(u=r[0])?void 0:u.headers)?a:[]].map((e=>e.getLeafHeaders())).flat()}),a(e.options,u))}};function p(e,t,r,n){var i,s;let o=0;const a=function(e,t){void 0===t&&(t=1),o=Math.max(o,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var r;null!=(r=e.columns)&&r.length&&a(e.columns,t+1)}),0)};a(e);let u=[];const c=(e,t)=>{const i={depth:t,id:[n,`${t}`].filter(Boolean).join("_"),headers:[]},s=[];e.forEach((e=>{const o=[...s].reverse()[0];let a,u=!1;if(e.column.depth===i.depth&&e.column.parent?a=e.column.parent:(a=e.column,u=!0),o&&(null==o?void 0:o.column)===a)o.subHeaders.push(e);else{const i=l(r,a,{id:[n,t,a.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:u,placeholderId:u?`${s.filter((e=>e.column===a)).length}`:void 0,depth:t,index:s.length});i.subHeaders.push(e),s.push(i)}i.headers.push(e),e.headerGroup=i})),u.push(i),t>0&&c(s,t-1)},p=t.map(((e,t)=>l(r,e,{depth:o,index:t})));c(p,o-1),u.reverse();const h=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,r=0,n=[0];return e.subHeaders&&e.subHeaders.length?(n=[],h(e.subHeaders).forEach((e=>{let{colSpan:r,rowSpan:i}=e;t+=r,n.push(i)}))):t=1,r+=Math.min(...n),e.colSpan=t,e.rowSpan=r,{colSpan:t,rowSpan:r}}));return h(null!=(i=null==(s=u[0])?void 0:s.headers)?i:[]),u}const h=(e,t,r,n,i,s,u)=>{let l={id:t,index:n,original:r,depth:i,parentId:u,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t];const r=e.getColumn(t);return null!=r&&r.accessorFn?(l._valuesCache[t]=r.accessorFn(l.original,n),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const r=e.getColumn(t);return null!=r&&r.accessorFn?r.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=r.columnDef.getUniqueValues(l.original,n),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var r;return null!=(r=l.getValue(t))?r:e.options.renderFallbackValue},subRows:null!=s?s:[],getLeafRows:()=>function(e,t){const r=[],n=e=>{e.forEach((e=>{r.push(e);const i=t(e);null!=i&&i.length&&n(i)}))};return n(e),r}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const r=t.getParentRow();if(!r)break;e.push(r),t=r}return e.reverse()},getAllCells:o((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,r,n){const i={id:`${t.id}_${r.id}`,row:t,column:r,getValue:()=>t.getValue(n),renderValue:()=>{var t;return null!=(t=i.getValue())?t:e.options.renderFallbackValue},getContext:o((()=>[e,r,t,i]),((e,t,r,n)=>({table:e,column:t,row:r,cell:n,getValue:n.getValue,renderValue:n.renderValue})),a(e.options,"debugCells"))};return e._features.forEach((n=>{null==n.createCell||n.createCell(i,r,t,e)}),{}),i}(e,l,t,t.id)))),a(e.options,"debugRows")),_getAllCellsByColumnId:o((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),a(e.options,"debugRows"))};for(let t=0;t<e._features.length;t++){const r=e._features[t];null==r||null==r.createRow||r.createRow(l,e)}return l},d={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},f=(e,t,r)=>{var n,i;const s=null==r||null==(n=r.toString())?void 0:n.toLowerCase();return Boolean(null==(i=e.getValue(t))||null==(i=i.toString())||null==(i=i.toLowerCase())?void 0:i.includes(s))};f.autoRemove=e=>S(e);const m=(e,t,r)=>{var n;return Boolean(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.includes(r))};m.autoRemove=e=>S(e);const g=(e,t,r)=>{var n;return(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.toLowerCase())===(null==r?void 0:r.toLowerCase())};g.autoRemove=e=>S(e);const y=(e,t,r)=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)};y.autoRemove=e=>S(e)||!(null!=e&&e.length);const b=(e,t,r)=>!r.some((r=>{var n;return!(null!=(n=e.getValue(t))&&n.includes(r))}));b.autoRemove=e=>S(e)||!(null!=e&&e.length);const v=(e,t,r)=>r.some((r=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)}));v.autoRemove=e=>S(e)||!(null!=e&&e.length);const D=(e,t,r)=>e.getValue(t)===r;D.autoRemove=e=>S(e);const E=(e,t,r)=>e.getValue(t)==r;E.autoRemove=e=>S(e);const x=(e,t,r)=>{let[n,i]=r;const s=e.getValue(t);return s>=n&&s<=i};x.resolveFilterValue=e=>{let[t,r]=e,n="number"!=typeof t?parseFloat(t):t,i="number"!=typeof r?parseFloat(r):r,s=null===t||Number.isNaN(n)?-1/0:n,o=null===r||Number.isNaN(i)?1/0:i;if(s>o){const e=s;s=o,o=e}return[s,o]},x.autoRemove=e=>S(e)||S(e[0])&&S(e[1]);const w={includesString:f,includesStringSensitive:m,equalsString:g,arrIncludes:y,arrIncludesAll:b,arrIncludesSome:v,equals:D,weakEquals:E,inNumberRange:x};function S(e){return null==e||""===e}const C={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:i("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"string"==typeof n?w.includesString:"number"==typeof n?w.inNumberRange:"boolean"==typeof n||null!==n&&"object"==typeof n?w.equals:Array.isArray(n)?w.arrIncludes:w.weakEquals},e.getFilterFn=()=>{var r,n;return s(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(r=null==(n=t.options.filterFns)?void 0:n[e.columnDef.filterFn])?r:w[e.columnDef.filterFn]},e.getCanFilter=()=>{var r,n,i;return(null==(r=e.columnDef.enableColumnFilter)||r)&&(null==(n=t.options.enableColumnFilters)||n)&&(null==(i=t.options.enableFilters)||i)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var r;return null==(r=t.getState().columnFilters)||null==(r=r.find((t=>t.id===e.id)))?void 0:r.value},e.getFilterIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().columnFilters)?void 0:n.findIndex((t=>t.id===e.id)))?r:-1},e.setFilterValue=r=>{t.setColumnFilters((t=>{const i=e.getFilterFn(),s=null==t?void 0:t.find((t=>t.id===e.id)),o=n(r,s?s.value:void 0);var a;if(A(i,o,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const u={id:e.id,value:o};var l;return s?null!=(l=null==t?void 0:t.map((t=>t.id===e.id?u:t)))?l:[]:null!=t&&t.length?[...t,u]:[u]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const r=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var i;return null==(i=n(t,e))?void 0:i.filter((e=>{const t=r.find((t=>t.id===e.id));return!t||!A(t.getFilterFn(),e.value,t)}))}))},e.resetColumnFilters=t=>{var r,n;e.setColumnFilters(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.columnFilters)?r:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function A(e,t,r){return!(!e||!e.autoRemove)&&e.autoRemove(t,r)||void 0===t||"string"==typeof t&&!t}const T={sum:(e,t,r)=>r.reduce(((t,r)=>{const n=r.getValue(e);return t+("number"==typeof n?n:0)}),0),min:(e,t,r)=>{let n;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(n>r||void 0===n&&r>=r)&&(n=r)})),n},max:(e,t,r)=>{let n;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(n<r||void 0===n&&r>=r)&&(n=r)})),n},extent:(e,t,r)=>{let n,i;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(void 0===n?r>=r&&(n=i=r):(n>r&&(n=r),i<r&&(i=r)))})),[n,i]},mean:(e,t)=>{let r=0,n=0;if(t.forEach((t=>{let i=t.getValue(e);null!=i&&(i=+i)>=i&&(++r,n+=i)})),r)return n/r},median:(e,t)=>{if(!t.length)return;const r=t.map((t=>t.getValue(e)));if(n=r,!Array.isArray(n)||!n.every((e=>"number"==typeof e)))return;var n;if(1===r.length)return r[0];const i=Math.floor(r.length/2),s=r.sort(((e,t)=>e-t));return r.length%2!=0?s[i]:(s[i-1]+s[i])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},P={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,r;return null!=(t=null==(r=e.getValue())||null==r.toString?void 0:r.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:i("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var r,n;return(null==(r=e.columnDef.enableGrouping)||r)&&(null==(n=t.options.enableGrouping)||n)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.includes(e.id)},e.getGroupedIndex=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"number"==typeof n?T.sum:"[object Date]"===Object.prototype.toString.call(n)?T.extent:void 0},e.getAggregationFn=()=>{var r,n;if(!e)throw new Error;return s(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(r=null==(n=t.options.aggregationFns)?void 0:n[e.columnDef.aggregationFn])?r:T[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var r,n;e.setGrouping(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.grouping)?r:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=r=>{if(e._groupingValuesCache.hasOwnProperty(r))return e._groupingValuesCache[r];const n=t.getColumn(r);return null!=n&&n.columnDef.getGroupingValue?(e._groupingValuesCache[r]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[r]):e.getValue(r)},e._groupingValuesCache={}},createCell:(e,t,r,n)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===r.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=r.subRows)||!t.length)}}},F={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:i("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=o((e=>[M(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),a(t.options,"debugColumns")),e.getIsFirstColumn=r=>{var n;return(null==(n=M(t,r)[0])?void 0:n.id)===e.id},e.getIsLastColumn=r=>{var n;const i=M(t,r);return(null==(n=i[i.length-1])?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var r;e.setColumnOrder(t?[]:null!=(r=e.initialState.columnOrder)?r:[])},e._getOrderColumnsFn=o((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,r)=>n=>{let i=[];if(null!=e&&e.length){const t=[...e],r=[...n];for(;r.length&&t.length;){const e=t.shift(),n=r.findIndex((t=>t.id===e));n>-1&&i.push(r.splice(n,1)[0])}i=[...i,...r]}else i=n;return function(e,t,r){if(null==t||!t.length||!r)return e;const n=e.filter((e=>!t.includes(e.id)));return"remove"===r?n:[...t.map((t=>e.find((e=>e.id===t)))).filter(Boolean),...n]}(i,t,r)}),a(e.options,"debugTable"))}},I={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:i("columnPinning",e)}),createColumn:(e,t)=>{e.pin=r=>{const n=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,i,s,o,a,u;return"right"===r?{left:(null!=(s=null==e?void 0:e.left)?s:[]).filter((e=>!(null!=n&&n.includes(e)))),right:[...(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=n&&n.includes(e)))),...n]}:"left"===r?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=n&&n.includes(e)))),...n],right:(null!=(u=null==e?void 0:e.right)?u:[]).filter((e=>!(null!=n&&n.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=n&&n.includes(e)))),right:(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=n&&n.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var r,n,i;return(null==(r=e.columnDef.enablePinning)||r)&&(null==(n=null!=(i=t.options.enableColumnPinning)?i:t.options.enablePinning)||n)})),e.getIsPinned=()=>{const r=e.getLeafColumns().map((e=>e.id)),{left:n,right:i}=t.getState().columnPinning,s=r.some((e=>null==n?void 0:n.includes(e))),o=r.some((e=>null==i?void 0:i.includes(e)));return s?"left":!!o&&"right"},e.getPinnedIndex=()=>{var r,n;const i=e.getIsPinned();return i?null!=(r=null==(n=t.getState().columnPinning)||null==(n=n[i])?void 0:n.indexOf(e.id))?r:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,r)=>{const n=[...null!=t?t:[],...null!=r?r:[]];return e.filter((e=>!n.includes(e.column.id)))}),a(t.options,"debugRows")),e.getLeftVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),a(t.options,"debugRows")),e.getRightVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),a(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var r,n;return e.setColumnPinning(t?{left:[],right:[]}:null!=(r=null==(n=e.initialState)?void 0:n.columnPinning)?r:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var r;const n=e.getState().columnPinning;var i,s;return t?Boolean(null==(r=n[t])?void 0:r.length):Boolean((null==(i=n.left)?void 0:i.length)||(null==(s=n.right)?void 0:s.length))},e.getLeftLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),a(e.options,"debugColumns")),e.getRightLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),a(e.options,"debugColumns")),e.getCenterLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,r)=>{const n=[...null!=t?t:[],...null!=r?r:[]];return e.filter((e=>!n.includes(e.id)))}),a(e.options,"debugColumns"))}},N={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},k={getDefaultColumnDef:()=>N,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:i("columnSizing",e),onColumnSizingInfoChange:i("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var r,n,i;const s=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(r=e.columnDef.minSize)?r:N.minSize,null!=(n=null!=s?s:e.columnDef.size)?n:N.size),null!=(i=e.columnDef.maxSize)?i:N.maxSize)},e.getStart=o((e=>[e,M(t,e),t.getState().columnSizing]),((t,r)=>r.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),a(t.options,"debugColumns")),e.getAfter=o((e=>[e,M(t,e),t.getState().columnSizing]),((t,r)=>r.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),a(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:r,...n}=t;return n}))},e.getCanResize=()=>{var r,n;return(null==(r=e.columnDef.enableResizing)||r)&&(null==(n=t.options.enableColumnResizing)||n)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const r=e=>{var n;e.subHeaders.length?e.subHeaders.forEach(r):t+=null!=(n=e.column.getSize())?n:0};return r(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=r=>{const n=t.getColumn(e.column.id),i=null==n?void 0:n.getCanResize();return s=>{if(!n||!i)return;if(null==s.persist||s.persist(),O(s)&&s.touches&&s.touches.length>1)return;const o=e.getSize(),a=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[n.id,n.getSize()]],u=O(s)?Math.round(s.touches[0].clientX):s.clientX,l={},c=(e,r)=>{"number"==typeof r&&(t.setColumnSizingInfo((e=>{var n,i;const s="rtl"===t.options.columnResizeDirection?-1:1,o=(r-(null!=(n=null==e?void 0:e.startOffset)?n:0))*s,a=Math.max(o/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,r]=e;l[t]=Math.round(100*Math.max(r+r*a,0))/100})),{...e,deltaOffset:o,deltaPercentage:a}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...l}))))},p=e=>c("move",e),h=e=>{c("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},d=r||"undefined"!=typeof document?document:null,f={moveHandler:e=>p(e.clientX),upHandler:e=>{null==d||d.removeEventListener("mousemove",f.moveHandler),null==d||d.removeEventListener("mouseup",f.upHandler),h(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(e.touches[0].clientX),!1),upHandler:e=>{var t;null==d||d.removeEventListener("touchmove",m.moveHandler),null==d||d.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},g=!!function(){if("boolean"==typeof _)return _;let e=!1;try{const t={get passive(){return e=!0,!1}},r=()=>{};window.addEventListener("test",r,t),window.removeEventListener("test",r)}catch(t){e=!1}return _=e,_}()&&{passive:!1};O(s)?(null==d||d.addEventListener("touchmove",m.moveHandler,g),null==d||d.addEventListener("touchend",m.upHandler,g)):(null==d||d.addEventListener("mousemove",f.moveHandler,g),null==d||d.addEventListener("mouseup",f.upHandler,g)),t.setColumnSizingInfo((e=>({...e,startOffset:u,startSize:o,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,isResizingColumn:n.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var r;e.setColumnSizing(t?{}:null!=(r=e.initialState.columnSizing)?r:{})},e.resetHeaderSizeInfo=t=>{var r;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(r=e.initialState.columnSizingInfo)?r:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getLeftHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getCenterHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getRightHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let _=null;function O(e){return"touchstart"===e.type}function M(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const L={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:i("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var r;return e.setRowSelection(t?{}:null!=(r=e.initialState.rowSelection)?r:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((r=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const n={...r},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach((e=>{e.getCanSelect()&&(n[e.id]=!0)})):i.forEach((e=>{delete n[e.id]})),n}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((r=>{const n=void 0!==t?t:!e.getIsAllPageRowsSelected(),i={...r};return e.getRowModel().rows.forEach((t=>{B(i,t.id,n,!0,e)})),i})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=o((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getFilteredSelectedRowModel=o((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getGroupedSelectedRowModel=o((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:r}=e.getState();let n=Boolean(t.length&&Object.keys(r).length);return n&&t.some((e=>e.getCanSelect()&&!r[e.id]))&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:r}=e.getState();let n=!!t.length;return n&&t.some((e=>!r[e.id]))&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var t;const r=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return r>0&&r<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(r,n)=>{const i=e.getIsSelected();t.setRowSelection((s=>{var o;if(r=void 0!==r?r:!i,e.getCanSelect()&&i===r)return s;const a={...s};return B(a,e.id,r,null==(o=null==n?void 0:n.selectChildren)||o,t),a}))},e.getIsSelected=()=>{const{rowSelection:r}=t.getState();return j(e,r)},e.getIsSomeSelected=()=>{const{rowSelection:r}=t.getState();return"some"===$(e,r)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:r}=t.getState();return"all"===$(e,r)},e.getCanSelect=()=>{var r;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(r=t.options.enableRowSelection)||r},e.getCanSelectSubRows=()=>{var r;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(r=t.options.enableSubRowSelection)||r},e.getCanMultiSelect=()=>{var r;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(r=t.options.enableMultiRowSelection)||r},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return r=>{var n;t&&e.toggleSelected(null==(n=r.target)?void 0:n.checked)}}}},B=(e,t,r,n,i)=>{var s;const o=i.getRow(t,!0);r?(o.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),o.getCanSelect()&&(e[t]=!0)):delete e[t],n&&null!=(s=o.subRows)&&s.length&&o.getCanSelectSubRows()&&o.subRows.forEach((t=>B(e,t.id,r,n,i)))};function R(e,t){const r=e.getState().rowSelection,n=[],i={},s=function(e,t){return e.map((e=>{var t;const o=j(e,r);if(o&&(n.push(e),i[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:s(e.subRows)}),o)return e})).filter(Boolean)};return{rows:s(t.rows),flatRows:n,rowsById:i}}function j(e,t){var r;return null!=(r=t[e.id])&&r}function $(e,t,r){var n;if(null==(n=e.subRows)||!n.length)return!1;let i=!0,s=!1;return e.subRows.forEach((e=>{if((!s||i)&&(e.getCanSelect()&&(j(e,t)?s=!0:i=!1),e.subRows&&e.subRows.length)){const r=$(e,t);"all"===r?s=!0:"some"===r?(s=!0,i=!1):i=!1}})),i?"all":!!s&&"some"}const U=/([0-9]+)/gm;function z(e,t){return e===t?0:e>t?1:-1}function V(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function W(e,t){const r=e.split(U).filter(Boolean),n=t.split(U).filter(Boolean);for(;r.length&&n.length;){const e=r.shift(),t=n.shift(),i=parseInt(e,10),s=parseInt(t,10),o=[i,s].sort();if(isNaN(o[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(o[1]))return isNaN(i)?-1:1;if(i>s)return 1;if(s>i)return-1}}return r.length-n.length}const H={alphanumeric:(e,t,r)=>W(V(e.getValue(r)).toLowerCase(),V(t.getValue(r)).toLowerCase()),alphanumericCaseSensitive:(e,t,r)=>W(V(e.getValue(r)),V(t.getValue(r))),text:(e,t,r)=>z(V(e.getValue(r)).toLowerCase(),V(t.getValue(r)).toLowerCase()),textCaseSensitive:(e,t,r)=>z(V(e.getValue(r)),V(t.getValue(r))),datetime:(e,t,r)=>{const n=e.getValue(r),i=t.getValue(r);return n>i?1:n<i?-1:0},basic:(e,t,r)=>z(e.getValue(r),t.getValue(r))},q=[c,{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:i("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=r=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=r?r:!e.getIsVisible()})))},e.getIsVisible=()=>{var r,n;const i=e.columns;return null==(r=i.length?i.some((e=>e.getIsVisible())):null==(n=t.getState().columnVisibility)?void 0:n[e.id])||r},e.getCanHide=()=>{var r,n;return(null==(r=e.columnDef.enableHiding)||r)&&(null==(n=t.options.enableHiding)||n)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=o((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),a(t.options,"debugRows")),e.getVisibleCells=o((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,r)=>[...e,...t,...r]),a(t.options,"debugRows"))},createTable:e=>{const t=(t,r)=>o((()=>[r(),r().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),a(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t(0,(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t(0,(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t(0,(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t(0,(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var r;e.setColumnVisibility(t?{}:null!=(r=e.initialState.columnVisibility)?r:{})},e.toggleAllColumnsVisible=t=>{var r;t=null!=(r=t)?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,r)=>({...e,[r.id]:t||!(null!=r.getCanHide&&r.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var r;e.toggleAllColumnsVisible(null==(r=t.target)?void 0:r.checked)}}},F,I,d,C,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:i("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var r;const n=null==(r=e.getCoreRowModel().flatRows[0])||null==(r=r._getAllCellsByColumnId()[t.id])?void 0:r.getValue();return"string"==typeof n||"number"==typeof n}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var r,n,i,s;return(null==(r=e.columnDef.enableGlobalFilter)||r)&&(null==(n=t.options.enableGlobalFilter)||n)&&(null==(i=t.options.enableFilters)||i)&&(null==(s=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||s)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>w.includesString,e.getGlobalFilterFn=()=>{var t,r;const{globalFilterFn:n}=e.options;return s(n)?n:"auto"===n?e.getGlobalAutoFilterFn():null!=(t=null==(r=e.options.filterFns)?void 0:r[n])?t:w[n]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:i("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const r=t.getFilteredRowModel().flatRows.slice(10);let n=!1;for(const t of r){const r=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(r))return H.datetime;if("string"==typeof r&&(n=!0,r.split(U).length>1))return H.alphanumeric}return n?H.text:H.basic},e.getAutoSortDir=()=>{const r=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==r?void 0:r.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var r,n;if(!e)throw new Error;return s(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(r=null==(n=t.options.sortingFns)?void 0:n[e.columnDef.sortingFn])?r:H[e.columnDef.sortingFn]},e.toggleSorting=(r,n)=>{const i=e.getNextSortingOrder(),s=null!=r;t.setSorting((o=>{const a=null==o?void 0:o.find((t=>t.id===e.id)),u=null==o?void 0:o.findIndex((t=>t.id===e.id));let l,c=[],p=s?r:"desc"===i;var h;return l=null!=o&&o.length&&e.getCanMultiSort()&&n?a?"toggle":"add":null!=o&&o.length&&u!==o.length-1?"replace":a?"toggle":"replace","toggle"===l&&(s||i||(l="remove")),"add"===l?(c=[...o,{id:e.id,desc:p}],c.splice(0,c.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):c="toggle"===l?o.map((t=>t.id===e.id?{...t,desc:p}:t)):"remove"===l?o.filter((t=>t.id!==e.id)):[{id:e.id,desc:p}],c}))},e.getFirstSortDir=()=>{var r,n;return(null!=(r=null!=(n=e.columnDef.sortDescFirst)?n:t.options.sortDescFirst)?r:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=r=>{var n,i;const s=e.getFirstSortDir(),o=e.getIsSorted();return o?!!(o===s||null!=(n=t.options.enableSortingRemoval)&&!n||r&&null!=(i=t.options.enableMultiRemove)&&!i)&&("desc"===o?"asc":"desc"):s},e.getCanSort=()=>{var r,n;return(null==(r=e.columnDef.enableSorting)||r)&&(null==(n=t.options.enableSorting)||n)&&!!e.accessorFn},e.getCanMultiSort=()=>{var r,n;return null!=(r=null!=(n=e.columnDef.enableMultiSort)?n:t.options.enableMultiSort)?r:!!e.accessorFn},e.getIsSorted=()=>{var r;const n=null==(r=t.getState().sorting)?void 0:r.find((t=>t.id===e.id));return!!n&&(n.desc?"desc":"asc")},e.getSortIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().sorting)?void 0:n.findIndex((t=>t.id===e.id)))?r:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const r=e.getCanSort();return n=>{r&&(null==n.persist||n.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(n))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var r,n;e.setSorting(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.sorting)?r:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},P,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:i("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,r=!1;e._autoResetExpanded=()=>{var n,i;if(t){if(null!=(n=null!=(i=e.options.autoResetAll)?i:e.options.autoResetExpanded)?n:!e.options.manualExpanding){if(r)return;r=!0,e._queue((()=>{e.resetExpanded(),r=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var r,n;e.setExpanded(t?{}:null!=(r=null==(n=e.initialState)?void 0:n.expanded)?r:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const r=e.split(".");t=Math.max(t,r.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=r=>{t.setExpanded((n=>{var i;const s=!0===n||!(null==n||!n[e.id]);let o={};if(!0===n?Object.keys(t.getRowModel().rowsById).forEach((e=>{o[e]=!0})):o=n,r=null!=(i=r)?i:!s,!s&&r)return{...o,[e.id]:!0};if(s&&!r){const{[e.id]:t,...r}=o;return r}return n}))},e.getIsExpanded=()=>{var r;const n=t.getState().expanded;return!!(null!=(r=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?r:!0===n||(null==n?void 0:n[e.id]))},e.getCanExpand=()=>{var r,n,i;return null!=(r=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?r:(null==(n=t.options.enableExpanding)||n)&&!(null==(i=e.subRows)||!i.length)},e.getIsAllParentsExpanded=()=>{let r=!0,n=e;for(;r&&n.parentId;)n=t.getRow(n.parentId,!0),r=n.getIsExpanded();return r},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:i("pagination",e)}),createTable:e=>{let t=!1,r=!1;e._autoResetPageIndex=()=>{var n,i;if(t){if(null!=(n=null!=(i=e.options.autoResetAll)?i:e.options.autoResetPageIndex)?n:!e.options.manualPagination){if(r)return;r=!0,e._queue((()=>{e.resetPageIndex(),r=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>n(t,e))),e.resetPagination=t=>{var r;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(r=e.initialState.pagination)?r:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((r=>{let i=n(t,r.pageIndex);const s=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,s)),{...r,pageIndex:i}}))},e.resetPageIndex=t=>{var r,n;e.setPageIndex(t?0:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageIndex)?r:0)},e.resetPageSize=t=>{var r,n;e.setPageSize(t?10:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageSize)?r:10)},e.setPageSize=t=>{e.setPagination((e=>{const r=Math.max(1,n(t,e.pageSize)),i=e.pageSize*e.pageIndex,s=Math.floor(i/r);return{...e,pageIndex:s,pageSize:r}}))},e.setPageCount=t=>e.setPagination((r=>{var i;let s=n(t,null!=(i=e.options.pageCount)?i:-1);return"number"==typeof s&&(s=Math.max(-1,s)),{...r,pageCount:s}})),e.getPageOptions=o((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),a(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,r=e.getPageCount();return-1===r||0!==r&&t<r-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:i("rowPinning",e)}),createRow:(e,t)=>{e.pin=(r,n,i)=>{const s=n?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],o=i?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],a=new Set([...o,e.id,...s]);t.setRowPinning((e=>{var t,n,i,s,o,u;return"bottom"===r?{top:(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:[...(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)]}:"top"===r?{top:[...(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)],bottom:(null!=(u=null==e?void 0:e.bottom)?u:[]).filter((e=>!(null!=a&&a.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:(null!=(n=null==e?void 0:e.bottom)?n:[]).filter((e=>!(null!=a&&a.has(e))))}}))},e.getCanPin=()=>{var r;const{enableRowPinning:n,enablePinning:i}=t.options;return"function"==typeof n?n(e):null==(r=null!=n?n:i)||r},e.getIsPinned=()=>{const r=[e.id],{top:n,bottom:i}=t.getState().rowPinning,s=r.some((e=>null==n?void 0:n.includes(e))),o=r.some((e=>null==i?void 0:i.includes(e)));return s?"top":!!o&&"bottom"},e.getPinnedIndex=()=>{var r,n;const i=e.getIsPinned();if(!i)return-1;const s=null==(r="top"===i?t.getTopRows():t.getBottomRows())?void 0:r.map((e=>{let{id:t}=e;return t}));return null!=(n=null==s?void 0:s.indexOf(e.id))?n:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var r,n;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(r=null==(n=e.initialState)?void 0:n.rowPinning)?r:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var r;const n=e.getState().rowPinning;var i,s;return t?Boolean(null==(r=n[t])?void 0:r.length):Boolean((null==(i=n.top)?void 0:i.length)||(null==(s=n.bottom)?void 0:s.length))},e._getPinnedRows=(t,r,n)=>{var i;return(null==(i=e.options.keepPinnedRows)||i?(null!=r?r:[]).map((t=>{const r=e.getRow(t,!0);return r.getIsAllParentsExpanded()?r:null})):(null!=r?r:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:n})))},e.getTopRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((t,r)=>e._getPinnedRows(t,r,"top")),a(e.options,"debugRows")),e.getBottomRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((t,r)=>e._getPinnedRows(t,r,"bottom")),a(e.options,"debugRows")),e.getCenterRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,r)=>{const n=new Set([...null!=t?t:[],...null!=r?r:[]]);return e.filter((e=>!n.has(e.id)))}),a(e.options,"debugRows"))}},L,k];function G(e){var t,r;const i=[...q,...null!=(t=e._features)?t:[]];let s={_features:i};const u=s._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(s))),{});let l={...null!=(r=e.initialState)?r:{}};s._features.forEach((e=>{var t;l=null!=(t=null==e.getInitialState?void 0:e.getInitialState(l))?t:l}));const c=[];let p=!1;const h={_features:i,options:{...u,...e},initialState:l,_queue:e=>{c.push(e),p||(p=!0,Promise.resolve().then((()=>{for(;c.length;)c.shift()();p=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{s.setState(s.initialState)},setOptions:e=>{const t=n(e,s.options);s.options=(e=>s.options.mergeOptions?s.options.mergeOptions(u,e):{...u,...e})(t)},getState:()=>s.options.state,setState:e=>{null==s.options.onStateChange||s.options.onStateChange(e)},_getRowId:(e,t,r)=>{var n;return null!=(n=null==s.options.getRowId?void 0:s.options.getRowId(e,t,r))?n:`${r?[r.id,t].join("."):t}`},getCoreRowModel:()=>(s._getCoreRowModel||(s._getCoreRowModel=s.options.getCoreRowModel(s)),s._getCoreRowModel()),getRowModel:()=>s.getPaginationRowModel(),getRow:(e,t)=>{let r=(t?s.getPrePaginationRowModel():s.getRowModel()).rowsById[e];if(!r&&(r=s.getCoreRowModel().rowsById[e],!r))throw new Error;return r},_getDefaultColumnDef:o((()=>[s.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,r;return null!=(t=null==(r=e.renderValue())||null==r.toString?void 0:r.toString())?t:null},...s._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),a(e,"debugColumns")),_getColumnDefs:()=>s.options.columns,getAllColumns:o((()=>[s._getColumnDefs()]),(e=>{const t=function(e,r,n){return void 0===n&&(n=0),e.map((e=>{const i=function(e,t,r,n){var i,s;const u={...e._getDefaultColumnDef(),...t},l=u.accessorKey;let c,p=null!=(i=null!=(s=u.id)?s:l?"function"==typeof String.prototype.replaceAll?l.replaceAll(".","_"):l.replace(/\./g,"_"):void 0)?i:"string"==typeof u.header?u.header:void 0;if(u.accessorFn?c=u.accessorFn:l&&(c=l.includes(".")?e=>{let t=e;for(const e of l.split(".")){var r;t=null==(r=t)?void 0:r[e]}return t}:e=>e[u.accessorKey]),!p)throw new Error;let h={id:`${String(p)}`,accessorFn:c,parent:n,depth:r,columnDef:u,columns:[],getFlatColumns:o((()=>[!0]),(()=>{var e;return[h,...null==(e=h.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),a(e.options,"debugColumns")),getLeafColumns:o((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=h.columns)&&t.length){let t=h.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[h]}),a(e.options,"debugColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(h,e);return h}(s,e,n,r),u=e;return i.columns=u.columns?t(u.columns,i,n+1):[],i}))};return t(e)}),a(e,"debugColumns")),getAllFlatColumns:o((()=>[s.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),a(e,"debugColumns")),_getAllFlatColumnsById:o((()=>[s.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),a(e,"debugColumns")),getAllLeafColumns:o((()=>[s.getAllColumns(),s._getOrderColumnsFn()]),((e,t)=>t(e.flatMap((e=>e.getLeafColumns())))),a(e,"debugColumns")),getColumn:e=>s._getAllFlatColumnsById()[e]};Object.assign(s,h);for(let e=0;e<s._features.length;e++){const t=s._features[e];null==t||null==t.createTable||t.createTable(s)}return s}function K(){return e=>o((()=>[e.options.data]),(t=>{const r={rows:[],flatRows:[],rowsById:{}},n=function(t,i,s){void 0===i&&(i=0);const o=[];for(let u=0;u<t.length;u++){const l=h(e,e._getRowId(t[u],u,s),t[u],u,i,void 0,null==s?void 0:s.id);var a;r.flatRows.push(l),r.rowsById[l.id]=l,o.push(l),e.options.getSubRows&&(l.originalSubRows=e.options.getSubRows(t[u],u),null!=(a=l.originalSubRows)&&a.length&&(l.subRows=n(l.originalSubRows,i+1,l)))}return o};return r.rows=n(t),r}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}function X(){return e=>o((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,r)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:r?J(t):t),a(e.options,"debugTable"))}function J(e){const t=[],r=e=>{var n;t.push(e),null!=(n=e.subRows)&&n.length&&e.getIsExpanded()&&e.subRows.forEach(r)};return e.rows.forEach(r),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Y(){return e=>o((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,r,n)=>{if(!t.rows.length||(null==r||!r.length)&&!n){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const i=[],s=[];(null!=r?r:[]).forEach((t=>{var r;const n=e.getColumn(t.id);if(!n)return;const s=n.getFilterFn();s&&i.push({id:t.id,filterFn:s,resolvedValue:null!=(r=null==s.resolveFilterValue?void 0:s.resolveFilterValue(t.value))?r:t.value})}));const o=(null!=r?r:[]).map((e=>e.id)),a=e.getGlobalFilterFn(),u=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let l,c;n&&a&&u.length&&(o.push("__global__"),u.forEach((e=>{var t;s.push({id:e.id,filterFn:a,resolvedValue:null!=(t=null==a.resolveFilterValue?void 0:a.resolveFilterValue(n))?t:n})})));for(let e=0;e<t.flatRows.length;e++){const r=t.flatRows[e];if(r.columnFilters={},i.length)for(let e=0;e<i.length;e++){l=i[e];const t=l.id;r.columnFilters[t]=l.filterFn(r,t,l.resolvedValue,(e=>{r.columnFiltersMeta[t]=e}))}if(s.length){for(let e=0;e<s.length;e++){c=s[e];const t=c.id;if(c.filterFn(r,t,c.resolvedValue,(e=>{r.columnFiltersMeta[t]=e}))){r.columnFilters.__global__=!0;break}}!0!==r.columnFilters.__global__&&(r.columnFilters.__global__=!1)}}return function(e,t,r){return r.options.filterFromLeafRows?function(e,t,r){var n;const i=[],s={},o=null!=(n=r.options.maxLeafRowFilterDepth)?n:100,a=function(e,n){void 0===n&&(n=0);const u=[];for(let c=0;c<e.length;c++){var l;let p=e[c];const d=h(r,p.id,p.original,p.index,p.depth,void 0,p.parentId);if(d.columnFilters=p.columnFilters,null!=(l=p.subRows)&&l.length&&n<o){if(d.subRows=a(p.subRows,n+1),p=d,t(p)&&!d.subRows.length){u.push(p),s[p.id]=p,i.push(p);continue}if(t(p)||d.subRows.length){u.push(p),s[p.id]=p,i.push(p);continue}}else p=d,t(p)&&(u.push(p),s[p.id]=p,i.push(p))}return u};return{rows:a(e),flatRows:i,rowsById:s}}(e,t,r):function(e,t,r){var n;const i=[],s={},o=null!=(n=r.options.maxLeafRowFilterDepth)?n:100,a=function(e,n){void 0===n&&(n=0);const u=[];for(let c=0;c<e.length;c++){let p=e[c];if(t(p)){var l;if(null!=(l=p.subRows)&&l.length&&n<o){const e=h(r,p.id,p.original,p.index,p.depth,void 0,p.parentId);e.subRows=a(p.subRows,n+1),p=e}u.push(p),i.push(p),s[p.id]=p}}return u};return{rows:a(e),flatRows:i,rowsById:s}}(e,t,r)}(t.rows,(e=>{for(let t=0;t<o.length;t++)if(!1===e.columnFilters[o[t]])return!1;return!0}),e)}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}function Z(e){return e=>o((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,r)=>{if(!r.rows.length)return r;const{pageSize:n,pageIndex:i}=t;let{rows:s,flatRows:o,rowsById:a}=r;const u=n*i,l=u+n;let c;s=s.slice(u,l),c=e.options.paginateExpandedRows?{rows:s,flatRows:o,rowsById:a}:J({rows:s,flatRows:o,rowsById:a}),c.flatRows=[];const p=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(p)};return c.rows.forEach(p),c}),a(e.options,"debugTable"))}function Q(){return e=>o((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,r)=>{if(!r.rows.length||null==t||!t.length)return r;const n=e.getState().sorting,i=[],s=n.filter((t=>{var r;return null==(r=e.getColumn(t.id))?void 0:r.getCanSort()})),o={};s.forEach((t=>{const r=e.getColumn(t.id);r&&(o[t.id]={sortUndefined:r.columnDef.sortUndefined,invertSorting:r.columnDef.invertSorting,sortingFn:r.getSortingFn()})}));const a=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let n=0;n<s.length;n+=1){var r;const i=s[n],a=o[i.id],u=a.sortUndefined,l=null!=(r=null==i?void 0:i.desc)&&r;let c=0;if(u){const r=void 0===e.getValue(i.id),n=void 0===t.getValue(i.id);if(r||n){if("first"===u)return r?-1:1;if("last"===u)return r?1:-1;c=r&&n?0:r?u:-u}}if(0===c&&(c=a.sortingFn(e,t,i.id)),0!==c)return l&&(c*=-1),a.invertSorting&&(c*=-1),c}return e.index-t.index})),t.forEach((e=>{var t;i.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t};return{rows:a(r.rows),flatRows:i,rowsById:r.rowsById}}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}},62655:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(t,e,r)},62670:(e,t,r)=>{var n=r(75722),i=r(79696).Buffer;e.exports=function(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},62955:(e,t,r)=>{var n=r(43596);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,s,o){if(o!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return r.PropTypes=r,r}},63574:(e,t,r)=>{var n=r(67787).Buffer,i=r(25003),s=r(33820),o=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],p=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}function m(e,t,r,n,i,s,o,a){return f(e+(t^r^n)+s+o|0,a)+i|0}function g(e,t,r,n,i,s,o,a){return f(e+(t&r|~t&n)+s+o|0,a)+i|0}function y(e,t,r,n,i,s,o,a){return f(e+((t|~r)^n)+s+o|0,a)+i|0}function b(e,t,r,n,i,s,o,a){return f(e+(t&n|r&~n)+s+o|0,a)+i|0}function v(e,t,r,n,i,s,o,a){return f(e+(t^(r|~n))+s+o|0,a)+i|0}i(d,s),d.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,s=0|this._d,d=0|this._e,D=0|this._a,E=0|this._b,x=0|this._c,w=0|this._d,S=0|this._e,C=0;C<80;C+=1){var A,T;C<16?(A=m(r,n,i,s,d,e[a[C]],p[0],l[C]),T=v(D,E,x,w,S,e[u[C]],h[0],c[C])):C<32?(A=g(r,n,i,s,d,e[a[C]],p[1],l[C]),T=b(D,E,x,w,S,e[u[C]],h[1],c[C])):C<48?(A=y(r,n,i,s,d,e[a[C]],p[2],l[C]),T=y(D,E,x,w,S,e[u[C]],h[2],c[C])):C<64?(A=b(r,n,i,s,d,e[a[C]],p[3],l[C]),T=g(D,E,x,w,S,e[u[C]],h[3],c[C])):(A=v(r,n,i,s,d,e[a[C]],p[4],l[C]),T=m(D,E,x,w,S,e[u[C]],h[4],c[C])),r=d,d=s,s=f(i,10),i=n,n=A,D=S,S=w,w=f(x,10),x=E,E=T}var P=this._b+i+w|0;this._b=this._c+s+S|0,this._c=this._d+d+D|0,this._d=this._e+r+E|0,this._e=this._a+n+x|0,this._a=P},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=d},63713:(e,t,r)=>{function n(e){var t=typeof e;return"function"===t||"object"===t&&!!e}Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.callbackName=function(e,r){return(r=r||"on")+t.capitalize(e)},t.isObject=n,t.extend=function(e){if(!n(e))return e;for(var t,r,i=1,s=arguments.length;i<s;i++)for(r in t=arguments[i])if(Object.getOwnPropertyDescriptor&&Object.defineProperty){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}else e[r]=t[r];return e},t.isFunction=function(e){return"function"==typeof e},t.object=function(e,t){for(var r={},n=0;n<e.length;n++)r[e[n]]=t[n];return r},t.isArguments=function(e){return"object"==typeof e&&"callee"in e&&"number"==typeof e.length},t.throwIf=function(e,t){if(e)throw Error(t||e)},t.EventEmitter=r(50515),t.nextTick=function(e){setTimeout(e,0)}},63793:(e,t,r)=>{var n=r(49453),i=r(79696).Buffer;function s(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,o=i.alloc(0),a=0;o.length<t;)r=s(a++),o=i.concat([o,n("sha1").update(e).update(r).digest()]);return o.slice(0,t)}},63977:(e,t,r)=>{var n=r(63602);function i(e,t){var r,i=null;if(!e||"string"!=typeof e)return i;for(var s,o,a=n(e),u="function"==typeof t,l=0,c=a.length;l<c;l++)s=(r=a[l]).property,o=r.value,u?t(s,o,r):o&&(i||(i={}),i[s]=o);return i}e.exports=i,e.exports.default=i},64518:(e,t,r)=>{r.d(t,{c:()=>C});var n,i=r(96652),s=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return s(t,e),t.prototype.render=function(){return i.createElement("div",{className:this.props.className||"",style:o(o({position:"absolute",userSelect:"none"},a[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(i.PureComponent),l=r(61632),c=r.n(l),p=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),h=function(){return h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},h.apply(this,arguments)},d={width:"auto",height:"auto"},f=c()((function(e,t,r){return Math.max(Math.min(e,r),t)})),m=c()((function(e,t){return Math.round(e/t)*t})),g=c()((function(e,t){return new RegExp(e,"i").test(t)})),y=function(e){return Boolean(e.touches&&e.touches.length)},b=c()((function(e,t,r){void 0===r&&(r=0);var n=t.reduce((function(r,n,i){return Math.abs(n-e)<Math.abs(t[r]-e)?i:r}),0),i=Math.abs(t[n]-e);return 0===r||i<r?t[n]:e})),v=c()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),D=c()((function(e){return"auto"===(e=e.toString())||v(e,"px")||v(e,"%")||v(e,"vh")||v(e,"vw")||v(e,"vmax")||v(e,"vmin")?e:e+"px"})),E=function(e,t,r,n){if(e&&"string"==typeof e){if(v(e,"px"))return Number(e.replace("px",""));if(v(e,"%"))return t*(Number(e.replace("%",""))/100);if(v(e,"vw"))return r*(Number(e.replace("vw",""))/100);if(v(e,"vh"))return n*(Number(e.replace("vh",""))/100)}return e},x=c()((function(e,t,r,n,i,s,o){return n=E(n,e.width,t,r),i=E(i,e.height,t,r),s=E(s,e.width,t,r),o=E(o,e.height,t,r),{maxWidth:void 0===n?void 0:Number(n),maxHeight:void 0===i?void 0:Number(i),minWidth:void 0===s?void 0:Number(s),minHeight:void 0===o?void 0:Number(o)}})),w=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],S="__resizable_base__",C=function(e){function t(t){var r=e.call(this,t)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var e=r.parentNode;if(!e)return null;var t=r.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add(S):t.className+=S,e.appendChild(t),t},r.removeBase=function(e){var t=r.parentNode;t&&t.removeChild(e)},r.ref=function(e){e&&(r.resizable=e)},r.state={isResizing:!1,width:void 0===(r.propsSize&&r.propsSize.width)?"auto":r.propsSize&&r.propsSize.width,height:void 0===(r.propsSize&&r.propsSize.height)?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return p(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||d},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var r=this.resizable.offsetWidth,n=this.resizable.offsetHeight,i=this.resizable.style.position;"relative"!==i&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:r,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:n,this.resizable.style.position=i}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,r=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&v(e.propsSize[t].toString(),"%")){if(v(e.state[t].toString(),"%"))return e.state[t].toString();var r=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/r[t]*100+"%"}return D(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?D(t.width):r("width"),height:t&&void 0!==t.height&&!this.state.isResizing?D(t.height):r("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,r=this.parentNode.style.flexWrap;"wrap"!==r&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var n={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=r),this.removeBase(e),n},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var r=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==r&&"auto"!==r?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var r,n,i=this.props.boundsByDirection,s=this.state.direction,o=i&&g("left",s),a=i&&g("top",s);if("parent"===this.props.bounds){var u=this.parentNode;u&&(r=o?this.resizableRight-this.parentLeft:u.offsetWidth+(this.parentLeft-this.resizableLeft),n=a?this.resizableBottom-this.parentTop:u.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(r=o?this.resizableRight:this.window.innerWidth-this.resizableLeft,n=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(r=o?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),n=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return r&&Number.isFinite(r)&&(e=e&&e<r?e:r),n&&Number.isFinite(n)&&(t=t&&t<n?t:n),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var r=this.props.scale||1,n=this.props.resizeRatio||1,i=this.state,s=i.direction,o=i.original,a=this.props,u=a.lockAspectRatio,l=a.lockAspectRatioExtraHeight,c=a.lockAspectRatioExtraWidth,p=o.width,h=o.height,d=l||0,f=c||0;return g("right",s)&&(p=o.width+(e-o.x)*n/r,u&&(h=(p-f)/this.ratio+d)),g("left",s)&&(p=o.width-(e-o.x)*n/r,u&&(h=(p-f)/this.ratio+d)),g("bottom",s)&&(h=o.height+(t-o.y)*n/r,u&&(p=(h-d)*this.ratio+f)),g("top",s)&&(h=o.height-(t-o.y)*n/r,u&&(p=(h-d)*this.ratio+f)),{newWidth:p,newHeight:h}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,r,n){var i=this.props,s=i.lockAspectRatio,o=i.lockAspectRatioExtraHeight,a=i.lockAspectRatioExtraWidth,u=void 0===n.width?10:n.width,l=void 0===r.width||r.width<0?e:r.width,c=void 0===n.height?10:n.height,p=void 0===r.height||r.height<0?t:r.height,h=o||0,d=a||0;if(s){var m=(c-h)*this.ratio+d,g=(p-h)*this.ratio+d,y=(u-d)/this.ratio+h,b=(l-d)/this.ratio+h,v=Math.max(u,m),D=Math.min(l,g),E=Math.max(c,y),x=Math.min(p,b);e=f(e,v,D),t=f(t,E,x)}else e=f(e,u,l),t=f(t,c,p);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var r=this.props.bounds.getBoundingClientRect();this.targetLeft=r.left,this.targetTop=r.top}if(this.resizable){var n=this.resizable.getBoundingClientRect(),i=n.left,s=n.top,o=n.right,a=n.bottom;this.resizableLeft=i,this.resizableRight=o,this.resizableTop=s,this.resizableBottom=a}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var r,n=0,i=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)){if(n=e.nativeEvent.clientX,i=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent&&y(e.nativeEvent)&&(n=e.nativeEvent.touches[0].clientX,i=e.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable&&!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var s=this.window.getComputedStyle(this.resizable);if("auto"!==s.flexBasis){var o=this.parentNode;if(o){var a=this.window.getComputedStyle(o).flexDirection;this.flexDir=a.startsWith("row")?"row":"column",r=s.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var u={original:{x:n,y:i,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:h(h({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:r};this.setState(u)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&y(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var t=this.props,r=t.maxWidth,n=t.maxHeight,i=t.minWidth,s=t.minHeight,o=y(e)?e.touches[0].clientX:e.clientX,a=y(e)?e.touches[0].clientY:e.clientY,u=this.state,l=u.direction,c=u.original,p=u.width,h=u.height,d=this.getParentSize(),f=x(d,this.window.innerWidth,this.window.innerHeight,r,n,i,s);r=f.maxWidth,n=f.maxHeight,i=f.minWidth,s=f.minHeight;var g=this.calculateNewSizeFromDirection(o,a),D=g.newHeight,E=g.newWidth,w=this.calculateNewMaxFromBoundary(r,n),S=this.calculateNewSizeFromAspectRatio(E,D,{width:w.maxWidth,height:w.maxHeight},{width:i,height:s});if(E=S.newWidth,D=S.newHeight,this.props.grid){var C=m(E,this.props.grid[0]),A=m(D,this.props.grid[1]),T=this.props.snapGap||0;E=0===T||Math.abs(C-E)<=T?C:E,D=0===T||Math.abs(A-D)<=T?A:D}this.props.snap&&this.props.snap.x&&(E=b(E,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(D=b(D,this.props.snap.y,this.props.snapGap));var P={width:E-c.width,height:D-c.height};p&&"string"==typeof p&&(v(p,"%")?E=E/d.width*100+"%":v(p,"vw")?E=E/this.window.innerWidth*100+"vw":v(p,"vh")&&(E=E/this.window.innerHeight*100+"vh")),h&&"string"==typeof h&&(v(h,"%")?D=D/d.height*100+"%":v(h,"vw")?D=D/this.window.innerWidth*100+"vw":v(h,"vh")&&(D=D/this.window.innerHeight*100+"vh"));var F={width:this.createSizeForCssProperty(E,"width"),height:this.createSizeForCssProperty(D,"height")};"row"===this.flexDir?F.flexBasis=F.width:"column"===this.flexDir&&(F.flexBasis=F.height),this.setState(F),this.props.onResize&&this.props.onResize(e,l,this.resizable,P)}},t.prototype.onMouseUp=function(e){var t=this.state,r=t.isResizing,n=t.direction,i=t.original;if(r&&this.resizable){var s={width:this.size.width-i.width,height:this.size.height-i.height};this.props.onResizeStop&&this.props.onResizeStop(e,n,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:h(h({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,r=t.enable,n=t.handleStyles,s=t.handleClasses,o=t.handleWrapperStyle,a=t.handleWrapperClass,l=t.handleComponent;if(!r)return null;var c=Object.keys(r).map((function(t){return!1!==r[t]?i.createElement(u,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:n&&n[t],className:s&&s[t]},l&&l[t]?l[t]:null):null}));return i.createElement("div",{className:a,style:o},c)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,r){return-1!==w.indexOf(r)||(t[r]=e.props[r]),t}),{}),r=h(h(h({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(r.flexBasis=this.state.flexBasis);var n=this.props.as||"div";return i.createElement(n,h({ref:this.ref,style:r,className:this.props.className},t),this.state.isResizing&&i.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(i.PureComponent)},66089:(e,t,r)=>{const n=r(7341),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=r(76843),{safeRe:o,t:a}=r(42229),u=r(85890),{compareIdentifiers:l}=r(69690);class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<s)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return l(r,i)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("build compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return l(r,i)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?o[a.PRERELEASELOOSE]:o[a.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},66413:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},66858:function(e,t,r){var n=r(65994).e;!function(e){if(!e.setImmediate){var t,r,i,s,o,a=1,u={},l=!1,c=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?t=function(e){n.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(s="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&d(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){d(e.data)},t=function(e){i.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,t=function(e){var t=c.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(d,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return u[a]=i,t(a),a++},p.clearImmediate=h}function h(e){delete u[e]}function d(e){if(l)setTimeout(d,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(undefined,r)}}(t)}finally{h(e),l=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)},67526:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)>=0},67670:(e,t,r)=>{var n=r(63713),i=r(58073).Y,s=function(e){for(var t,r=0,n={};r<(e.children||[]).length;++r)e[t=e.children[r]]&&(n[t]=e[t]);return n},o=function e(t){var r={};for(var i in t){var o=t[i],a=e(s(o));for(var u in r[i]=o,a){var l=a[u];r[i+n.capitalize(u)]=l}}return r};e.exports={hasListener:function(e){for(var t,r,n,i=0;i<(this.subscriptions||[]).length;++i)for(n=[].concat(this.subscriptions[i].listenable),t=0;t<n.length;t++)if((r=n[t])===e||r.hasListener&&r.hasListener(e))return!0;return!1},listenToMany:function(e){var t=o(e);for(var r in t){var i=n.callbackName(r),s=this[i]?i:this[r]?r:void 0;s&&this.listenTo(t[r],s,this[i+"Default"]||this[s+"Default"]||s)}},validateListening:function(e){return e===this?"Listener is not able to listen to itself":n.isFunction(e.listen)?e.hasListener&&e.hasListener(this)?"Listener cannot listen to this listenable because of circular loop":void 0:e+" is missing a listen method"},listenTo:function(e,t,r){var i,s,o=this.subscriptions=this.subscriptions||[];return n.throwIf(this.validateListening(e)),this.fetchInitialState(e,r),i=e.listen(this[t]||t,this),s={stop:function(){var e=o.indexOf(s);n.throwIf(-1===e,"Tried to remove listen already gone from subscriptions list!"),o.splice(e,1),i()},listenable:e},o.push(s),s},stopListeningTo:function(e){for(var t,r=0,i=this.subscriptions||[];r<i.length;r++)if((t=i[r]).listenable===e)return t.stop(),n.throwIf(-1!==i.indexOf(t),"Failed to remove listen from subscriptions list!"),!0;return!1},stopListeningToAll:function(){for(var e,t=this.subscriptions||[];e=t.length;)t[0].stop(),n.throwIf(t.length!==e-1,"Failed to remove listen from subscriptions list!")},fetchInitialState:function(e,t){t=t&&this[t]||t;var r=this;if(n.isFunction(t)&&n.isFunction(e.getInitialState)){var i=e.getInitialState();i&&n.isFunction(i.then)?i.then((function(){t.apply(r,arguments)})):t.call(this,i)}},joinTrailing:i("last"),joinLeading:i("first"),joinConcat:i("all"),joinStrict:i("strict")}},68434:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)<0},69064:(e,t,r)=>{r.d(t,{Ay:()=>s});var n=r(63706),i=function(e){return void 0===e&&(e=""),e.split(" ").filter(Boolean)};const s=function(e,t,r){null!=e&&r!==t&&(null!=t&&t.length>0&&function(e,t){i(t).forEach((function(t){n.DomUtil.removeClass(e,t)}))}(e,t),null!=r&&r.length>0&&function(e,t){i(t).forEach((function(t){n.DomUtil.addClass(e,t)}))}(e,r))}},69192:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r,i,s)=>{"string"==typeof r&&(s=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,s).version}catch(e){return null}}},69433:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(70161),i=r(60752),s=r(96652),o=r.n(s),a=s.useLayoutEffect,u=function(e,t){"function"!=typeof e?e.current=t:e(t)},l={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},c=function(e){Object.keys(l).forEach((function(t){e.style.setProperty(t,l[t],"important")}))},p=null,h=function(e,t){var r=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?r+t.borderSize:r-t.paddingSize},d=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],m=!!document.documentElement.currentStyle;function g(e,t,r){var n,i,u=(n=r,i=o().useRef(n),a((function(){i.current=n})),i);s.useLayoutEffect((function(){var r=function(e){return u.current(e)};if(e)return e.addEventListener(t,r),function(){return e.removeEventListener(t,r)}}),[])}var y=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],b=function(e,t){var r,a=e.cacheMeasurements,l=e.maxRows,b=e.minRows,v=e.onChange,D=void 0===v?d:v,E=e.onHeightChange,x=void 0===E?d:E,w=(0,i.A)(e,y),S=void 0!==w.value,C=s.useRef(null),A=function(e,t){var r=o().useRef();return o().useCallback((function(n){e.current=n,r.current&&u(r.current,null),r.current=t,t&&u(t,n)}),[t])}(C,t),T=s.useRef(0),P=s.useRef(),F=function(){var e=C.current,t=a&&P.current?P.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var r,n=(r=t,f.reduce((function(e,t){return e[t]=r[t],e}),{})),i=n.boxSizing;return""===i?null:(m&&"border-box"===i&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px"),{sizingStyle:n,paddingSize:parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),borderSize:parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth)})}(e);if(t){P.current=t;var r=function(e,t,r,n){void 0===r&&(r=1),void 0===n&&(n=1/0),p||((p=document.createElement("textarea")).setAttribute("tabindex","-1"),p.setAttribute("aria-hidden","true"),c(p)),null===p.parentNode&&document.body.appendChild(p);var i=e.paddingSize,s=e.borderSize,o=e.sizingStyle,a=o.boxSizing;Object.keys(o).forEach((function(e){var t=e;p.style[t]=o[t]})),c(p),p.value=t;var u=h(p,e);p.value=t,u=h(p,e),p.value="x";var l=p.scrollHeight-i,d=l*r;"border-box"===a&&(d=d+i+s),u=Math.max(d,u);var f=l*n;return"border-box"===a&&(f=f+i+s),[u=Math.min(f,u),l]}(t,e.value||e.placeholder||"x",b,l),n=r[0],i=r[1];T.current!==n&&(T.current=n,e.style.setProperty("height",n+"px","important"),x(n,{rowHeight:i}))}};return s.useLayoutEffect(F),function(e,t){g(document.body,"reset",(function(r){e.current.form===r.target&&t()}))}(C,(function(){if(!S){var e=C.current.value;requestAnimationFrame((function(){var t=C.current;t&&e!==t.value&&F()}))}})),g(window,"resize",F),r=F,g(document.fonts,"loadingdone",r),s.createElement("textarea",(0,n.A)({},w,{onChange:function(e){S||F(),D(e)},ref:A}))},v=s.forwardRef(b)},69657:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).major},69690:e=>{const t=/^[0-9]+$/,r=(e,r)=>{if("number"==typeof e&&"number"==typeof r)return e===r?0:e<r?-1:1;const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},69971:(e,t,r)=>{r.d(t,{M:()=>w});var n=r(4855),i=(r(66218),r(79722)),s=r(96196),o=r(6022),a=r(31500),u=r(63706),l=r.n(u),c=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,a.A)((0,s.A)(r),"leafletElement",void 0),r.leafletElement=r.createLeafletElement(r.props),r}(0,o.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},r.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setPosition(t.position)},r.componentDidMount=function(){this.leafletElement.addTo(this.props.leaflet.map)},r.componentDidUpdate=function(e){this.updateLeafletElement(e,this.props)},r.componentWillUnmount=function(){this.leafletElement.remove()},r.render=function(){return null},t}(r(96652).Component),p=r(41381);function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){v(e,t,r[t])}))}return e}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},m(e,t,r||e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var D={onEdited:"draw:edited",onDrawStart:"draw:drawstart",onDrawStop:"draw:drawstop",onDrawVertex:"draw:drawvertex",onEditStart:"draw:editstart",onEditMove:"draw:editmove",onEditResize:"draw:editresize",onEditVertex:"draw:editvertex",onEditStop:"draw:editstop",onDeleted:"draw:deleted",onDeleteStart:"draw:deletestart",onDeleteStop:"draw:deletestop"},E=function(e){function t(){var e,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return r=function(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?b(e):t}(this,(e=g(t)).call.apply(e,[this].concat(i))),v(b(b(r)),"onDrawCreate",(function(e){var t=r.props.onCreated;r.props.leaflet.layerContainer.addLayer(e.layer),t&&t(e)})),r}var r,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),r=t,(n=[{key:"createLeafletElement",value:function(e){return x(e)}},{key:"componentDidMount",value:function(){m(g(t.prototype),"componentDidMount",this).call(this);var e=this.props.leaflet.map,r=this.props.onMounted;for(var n in D)this.props[n]&&e.on(D[n],this.props[n]);e.on(l().Draw.Event.CREATED,this.onDrawCreate),r&&r(this.leafletElement)}},{key:"componentWillUnmount",value:function(){m(g(t.prototype),"componentWillUnmount",this).call(this);var e=this.props.leaflet.map;for(var r in e.off(l().Draw.Event.CREATED,this.onDrawCreate),D)this.props[r]&&e.off(D[r],this.props[r])}},{key:"componentDidUpdate",value:function(e){if(m(g(t.prototype),"componentDidUpdate",this).call(this,e),(0,i.A)(this.props.draw,e.draw)||this.props.position!==e.position)return!1;var r=this.props.leaflet.map;return this.leafletElement.remove(r),this.leafletElement=x(this.props),this.leafletElement.addTo(r),null}}])&&f(r.prototype,n),t}(c);function x(e){var t=e.leaflet.layerContainer,r=e.draw,n=e.edit,i=e.position,s={edit:h({},n,{featureGroup:t})};return r&&(s.draw=h({},r)),i&&(s.position=i),new u.Control.Draw(s)}v(E,"propTypes",h({},Object.keys(D).reduce((function(e,t){return e[t]=n.PropTypes.func,e}),{}),{onCreated:n.PropTypes.func,onMounted:n.PropTypes.func,draw:n.PropTypes.shape({polyline:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),polygon:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),rectangle:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),circle:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),marker:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool])}),edit:n.PropTypes.shape({edit:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),remove:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),poly:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),allowIntersection:n.PropTypes.bool}),position:n.PropTypes.oneOf(["topright","topleft","bottomright","bottomleft"]),leaflet:n.PropTypes.shape({map:n.PropTypes.instanceOf(u.Map),layerContainer:n.PropTypes.shape({addLayer:n.PropTypes.func.isRequired,removeLayer:n.PropTypes.func.isRequired})})}));const w=(0,p.k0)(E)},70035:(e,t)=>{var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case a:case o:case h:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case p:case m:case f:case u:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=s,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===l},t.isContextProvider=function(e){return y(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return y(e)===p},t.isFragment=function(e){return y(e)===s},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===f},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===a},t.isStrictMode=function(e){return y(e)===o},t.isSuspense=function(e){return y(e)===h},t.isSuspenseList=function(e){return y(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===a||e===o||e===h||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},70508:(e,t,r)=>{r.d(t,{Y1:()=>E,_m:()=>D});var n=r(70161),i=r(96196),s=r(6022),o=r(58716),a=r(96652),u="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function l(e){cancelAnimationFrame(e.id)}var c=-1;function p(e){if(void 0===e&&(e=!1),-1===c||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),c=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return c}var h=null;function d(e){if(void 0===e&&(e=!1),null===h||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?h="positive-descending":(t.scrollLeft=1,h=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),h}return h}var f=function(e,t){return e};function m(e){var t,r=e.getItemOffset,c=e.getEstimatedTotalSize,h=e.getItemSize,m=e.getOffsetForIndexAndAlignment,y=e.getStartIndexForOffset,b=e.getStopIndexForStartIndex,v=e.initInstanceProps,D=e.shouldResetStyleCacheOnItemSizeChange,E=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=v(n.props,(0,i.A)(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:(0,i.A)(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=(0,o.A)((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=(0,o.A)((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,s=i.direction,o=i.itemSize,a=i.layout,u=n._getItemStyleCache(D&&o,D&&a,D&&s);if(u.hasOwnProperty(e))t=u[e];else{var l=r(n.props,e,n._instanceProps),c=h(n.props,e,n._instanceProps),p="horizontal"===s||"horizontal"===a,d="rtl"===s,f=p?l:0;u[e]=t={position:"absolute",left:d?void 0:f,right:d?f:void 0,top:p?0:l,height:p?"100%":c,width:p?c:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=(0,o.A)((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,s=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=n.props.direction,o=i;if("rtl"===t)switch(d()){case"negative":o=-i;break;case"positive-descending":o=s-r-i}return o=Math.max(0,Math.min(o,s-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:o,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,s=t.scrollTop;n.setState((function(e){if(e.scrollOffset===s)return null;var t=Math.max(0,Math.min(s,i-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r,i;null!==n._resetIsScrollingTimeoutId&&l(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=150,r=u(),i={id:requestAnimationFrame((function n(){u()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}(0,s.A)(t,e),t.getDerivedStateFromProps=function(e,t){return g(e,t),E(e),null};var x=t.prototype;return x.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},x.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,i=r.layout,s=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var o=0;if(this._outerRef){var a=this._outerRef;o="vertical"===i?a.scrollWidth>a.clientWidth?p():0:a.scrollHeight>a.clientHeight?p():0}this.scrollTo(m(this.props,e,t,s,this._instanceProps,o))},x.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var i=this._outerRef;"horizontal"===t||"horizontal"===n?i.scrollLeft=r:i.scrollTop=r}this._callPropsCallbacks()},x.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,i=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var s=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(d()){case"negative":s.scrollLeft=-i;break;case"positive-ascending":s.scrollLeft=i;break;default:var o=s.clientWidth,a=s.scrollWidth;s.scrollLeft=a-o-i}else s.scrollLeft=i;else s.scrollTop=i}this._callPropsCallbacks()},x.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&l(this._resetIsScrollingTimeoutId)},x.render=function(){var e=this.props,t=e.children,r=e.className,i=e.direction,s=e.height,o=e.innerRef,u=e.innerElementType,l=e.innerTagName,p=e.itemCount,h=e.itemData,d=e.itemKey,m=void 0===d?f:d,g=e.layout,y=e.outerElementType,b=e.outerTagName,v=e.style,D=e.useIsScrolling,E=e.width,x=this.state.isScrolling,w="horizontal"===i||"horizontal"===g,S=w?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),A=C[0],T=C[1],P=[];if(p>0)for(var F=A;F<=T;F++)P.push((0,a.createElement)(t,{data:h,key:m(F,h),index:F,isScrolling:D?x:void 0,style:this._getItemStyle(F)}));var I=c(this.props,this._instanceProps);return(0,a.createElement)(y||b||"div",{className:r,onScroll:S,ref:this._outerRefSetter,style:(0,n.A)({position:"relative",height:s,width:E,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},v)},(0,a.createElement)(u||l||"div",{children:P,ref:o,style:{height:w?"100%":I,pointerEvents:x?"none":void 0,width:w?I:"100%"}}))},x._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],i=e[3];this._callOnItemsRendered(t,r,n,i)}if("function"==typeof this.props.onScroll){var s=this.state,o=s.scrollDirection,a=s.scrollOffset,u=s.scrollUpdateWasRequested;this._callOnScroll(o,a,u)}},x._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,i=n.isScrolling,s=n.scrollDirection,o=n.scrollOffset;if(0===t)return[0,0,0,0];var a=y(this.props,o,this._instanceProps),u=b(this.props,a,o,this._instanceProps),l=i&&"backward"!==s?1:Math.max(1,r),c=i&&"forward"!==s?1:Math.max(1,r);return[Math.max(0,a-l),Math.max(0,Math.min(t-1,u+c)),a,u]},t}(a.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var g=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},y=function(e,t,r){var n=e.itemSize,i=r.itemMetadataMap,s=r.lastMeasuredIndex;if(t>s){var o=0;if(s>=0){var a=i[s];o=a.offset+a.size}for(var u=s+1;u<=t;u++){var l=n(u);i[u]={offset:o,size:l},o+=l}r.lastMeasuredIndex=t}return i[t]},b=function(e,t,r,n,i){for(;n<=r;){var s=n+Math.floor((r-n)/2),o=y(e,s,t).offset;if(o===i)return s;o<i?n=s+1:o>i&&(r=s-1)}return n>0?n-1:0},v=function(e,t){var r=e.itemCount,n=t.itemMetadataMap,i=t.estimatedItemSize,s=t.lastMeasuredIndex,o=0;if(s>=r&&(s=r-1),s>=0){var a=n[s];o=a.offset+a.size}return o+(r-s-1)*i},D=m({getItemOffset:function(e,t,r){return y(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:v,getOffsetForIndexAndAlignment:function(e,t,r,n,i,s){var o=e.direction,a=e.height,u=e.layout,l=e.width,c="horizontal"===o||"horizontal"===u?l:a,p=y(e,t,i),h=v(e,i),d=Math.max(0,Math.min(h-c,p.offset)),f=Math.max(0,p.offset-c+p.size+s);switch("smart"===r&&(r=n>=f-c&&n<=d+c?"auto":"center"),r){case"start":return d;case"end":return f;case"center":return Math.round(f+(d-f)/2);default:return n>=f&&n<=d?n:n<f?f:d}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var n=t.itemMetadataMap,i=t.lastMeasuredIndex;return(i>0?n[i].offset:0)>=r?b(e,t,i,0,r):function(e,t,r,n){for(var i=e.itemCount,s=1;r<i&&y(e,r,t).offset<n;)r+=s,s*=2;return b(e,t,Math.min(r,i-1),Math.floor(r/2),n)}(e,t,Math.max(0,i),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,n){for(var i=e.direction,s=e.height,o=e.itemCount,a=e.layout,u=e.width,l="horizontal"===i||"horizontal"===a?u:s,c=y(e,t,n),p=r+l,h=c.offset+c.size,d=t;d<o-1&&h<p;)d++,h+=y(e,d,n).size;return d},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),n&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),E=m({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,r,n,i,s){var o=e.direction,a=e.height,u=e.itemCount,l=e.itemSize,c=e.layout,p=e.width,h="horizontal"===o||"horizontal"===c?p:a,d=Math.max(0,u*l-h),f=Math.min(d,t*l),m=Math.max(0,t*l-h+l+s);switch("smart"===r&&(r=n>=m-h&&n<=f+h?"auto":"center"),r){case"start":return f;case"end":return m;case"center":var g=Math.round(m+(f-m)/2);return g<Math.ceil(h/2)?0:g>d+Math.floor(h/2)?d:g;default:return n>=m&&n<=f?n:n<m?m:f}},getStartIndexForOffset:function(e,t){var r=e.itemCount,n=e.itemSize;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getStopIndexForStartIndex:function(e,t,r){var n=e.direction,i=e.height,s=e.itemCount,o=e.itemSize,a=e.layout,u=e.width,l=t*o,c="horizontal"===n||"horizontal"===a?u:i,p=Math.ceil((c+r-l)/o);return Math.max(0,Math.min(s-1,t+p-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}})},71267:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},71524:(e,t,r)=>{var n=r(65994).e;function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=r(79696),o=r(51048),a=s.Buffer,u=s.kMaxLength,l=r.g.crypto||r.g.msCrypto,c=Math.pow(2,32)-1;function p(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function d(e,t,r,i){if(n.browser){var s=e.buffer,a=new Uint8Array(s,t,r);return l.getRandomValues(a),i?void n.nextTick((function(){i(null,e)})):e}if(!i)return o(r).copy(e,t),e;o(r,(function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)}))}l&&l.getRandomValues||!n.browser?(t.randomFill=function(e,t,n,i){if(!(a.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,n=e.length;else if("function"==typeof n)i=n,n=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return p(t,e.length),h(n,t,e.length),d(e,t,n,i)},t.randomFillSync=function(e,t,n){if(void 0===t&&(t=0),!(a.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return p(t,e.length),void 0===n&&(n=e.length-t),h(n,t,e.length),d(e,t,n)}):(t.randomFill=i,t.randomFillSync=i)},71563:(e,t,r)=>{const n=r(92248);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},71607:e=>{e.exports=function(e,t){if("function"!=typeof e)throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let r,n=0;return function(...i){clearTimeout(r);const s=Date.now(),o=t-(s-n);o<=0?(n=s,e.apply(this,i)):r=setTimeout((()=>{n=Date.now(),e.apply(this,i)}),o)}}},72287:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70161),i=r(96196),s=r(6022),o=r(31500),a=r(96652),u=/^on(.+)$/i,l=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,o.A)((0,i.A)(r),"_leafletEvents",void 0),(0,o.A)((0,i.A)(r),"leafletElement",void 0),r._leafletEvents=r.extractLeafletEvents(t),r}(0,s.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.bindLeafletEvents(this._leafletEvents)},r.componentDidUpdate=function(e){this._leafletEvents=this.bindLeafletEvents(this.extractLeafletEvents(this.props),this._leafletEvents)},r.componentWillUnmount=function(){var e=this,t=this.leafletElement;t&&Object.keys(this._leafletEvents).forEach((function(r){t.off(r,e._leafletEvents[r])}))},r.extractLeafletEvents=function(e){return Object.keys(e).reduce((function(t,r){return u.test(r)&&null!=e[r]&&(t[r.replace(u,(function(e,t){return t.toLowerCase()}))]=e[r]),t}),{})},r.bindLeafletEvents=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var r=this.leafletElement;if(null==r||null==r.on)return{};var i=(0,n.A)({},t);return Object.keys(t).forEach((function(n){null!=e[n]&&t[n]===e[n]||(delete i[n],r.off(n,t[n]))})),Object.keys(e).forEach((function(n){null!=t[n]&&e[n]===t[n]||(i[n]=e[n],r.on(n,e[n]))})),i},r.fireLeafletEvent=function(e,t){var r=this.leafletElement;r&&r.fire(e,t)},t}(a.Component)},73047:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},73429:(e,t,r)=>{function n(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}r.d(t,{g:()=>n})},75722:function(e,t,r){!function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function s(e,t,r){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=s:t.BN=s,s.BN=s,s.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(67787).Buffer}catch(e){}function a(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function u(e,t,r){var n=a(e,r);return r-1>=t&&(n|=a(e,r-1)<<4),n}function l(e,t,r,n){for(var i=0,s=Math.min(e.length,r),o=t;o<s;o++){var a=e.charCodeAt(o)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var s,o,a=0;if("be"===r)for(i=e.length-1,s=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===r)for(i=0,s=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,s=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=u(e,t,n)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=u(e,t,n)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;this.strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var s=e.length-r,o=s%n,a=Math.min(s,s-o)+r,u=0,c=r;c<a;c+=n)u=l(e,c,c+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var p=1;for(u=l(e,c,e.length,t),c=0;c<o;c++)p*=t;this.imuln(p),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},s.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},s.prototype.clone=function(){var e=new s(null);return this.copy(e),e},s.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],s=0|t.words[0],o=i*s,a=67108863&o,u=o/67108864|0;r.words[0]=a;for(var l=1;l<n;l++){for(var c=u>>>26,p=67108863&u,h=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=h;d++){var f=l-d|0;c+=(o=(i=0|e.words[f])*(s=0|t.words[d])+p)/67108864|0,p=67108863&o}r.words[l]=0|p,u=0|c}return 0!==u?r.words[l]=0|u:r.length--,r.strip()}s.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,s=0,o=0;o<this.length;o++){var a=this.words[o],u=(16777215&(a<<i|s)).toString(16);r=0!=(s=a>>>24-i&16777215)||o!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,o--)}for(0!==s&&(r=s.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var l=p[e],d=h[e];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modn(d).toString(e);r=(f=f.idivn(d)).isZero()?m+r:c[l-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),s=r||Math.max(1,i);n(i<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var o,a,u="le"===t,l=new e(s),c=this.clone();if(u){for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),l[a]=o;for(;a<s;a++)l[a]=0}else{for(a=0;a<s-i;a++)l[a]=0;for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),l[s-a-1]=o}return l},Math.clz32?s.prototype._countBits=function(e){return 32-Math.clz32(e)}:s.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},s.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},s.prototype.ior=function(e){return n(!(this.negative|e.negative)),this.iuor(e)},s.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},s.prototype.iand=function(e){return n(!(this.negative|e.negative)),this.iuand(e)},s.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},s.prototype.ixor=function(e){return n(!(this.negative|e.negative)),this.iuxor(e)},s.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},s.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s<n.length;s++)t=(0|r.words[s])+(0|n.words[s])+i,this.words[s]=67108863&t,i=t>>>26;for(;0!==i&&s<r.length;s++)t=(0|r.words[s])+i,this.words[s]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this},s.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var s=0,o=0;o<n.length;o++)s=(t=(0|r.words[o])-(0|n.words[o])+s)>>26,this.words[o]=67108863&t;for(;0!==s&&o<r.length;o++)s=(t=(0|r.words[o])+s)>>26,this.words[o]=67108863&t;if(0===s&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,s,o=e.words,a=t.words,u=r.words,l=0,c=0|o[0],p=8191&c,h=c>>>13,d=0|o[1],f=8191&d,m=d>>>13,g=0|o[2],y=8191&g,b=g>>>13,v=0|o[3],D=8191&v,E=v>>>13,x=0|o[4],w=8191&x,S=x>>>13,C=0|o[5],A=8191&C,T=C>>>13,P=0|o[6],F=8191&P,I=P>>>13,N=0|o[7],k=8191&N,_=N>>>13,O=0|o[8],M=8191&O,L=O>>>13,B=0|o[9],R=8191&B,j=B>>>13,$=0|a[0],U=8191&$,z=$>>>13,V=0|a[1],W=8191&V,H=V>>>13,q=0|a[2],G=8191&q,K=q>>>13,X=0|a[3],J=8191&X,Y=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],se=8191&ie,oe=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],pe=8191&ce,he=ce>>>13,de=0|a[9],fe=8191&de,me=de>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(l+(n=Math.imul(p,U))|0)+((8191&(i=(i=Math.imul(p,z))+Math.imul(h,U)|0))<<13)|0;l=((s=Math.imul(h,z))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=(i=Math.imul(f,z))+Math.imul(m,U)|0,s=Math.imul(m,z);var ye=(l+(n=n+Math.imul(p,W)|0)|0)+((8191&(i=(i=i+Math.imul(p,H)|0)+Math.imul(h,W)|0))<<13)|0;l=((s=s+Math.imul(h,H)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,U),i=(i=Math.imul(y,z))+Math.imul(b,U)|0,s=Math.imul(b,z),n=n+Math.imul(f,W)|0,i=(i=i+Math.imul(f,H)|0)+Math.imul(m,W)|0,s=s+Math.imul(m,H)|0;var be=(l+(n=n+Math.imul(p,G)|0)|0)+((8191&(i=(i=i+Math.imul(p,K)|0)+Math.imul(h,G)|0))<<13)|0;l=((s=s+Math.imul(h,K)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(D,U),i=(i=Math.imul(D,z))+Math.imul(E,U)|0,s=Math.imul(E,z),n=n+Math.imul(y,W)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(b,W)|0,s=s+Math.imul(b,H)|0,n=n+Math.imul(f,G)|0,i=(i=i+Math.imul(f,K)|0)+Math.imul(m,G)|0,s=s+Math.imul(m,K)|0;var ve=(l+(n=n+Math.imul(p,J)|0)|0)+((8191&(i=(i=i+Math.imul(p,Y)|0)+Math.imul(h,J)|0))<<13)|0;l=((s=s+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(w,U),i=(i=Math.imul(w,z))+Math.imul(S,U)|0,s=Math.imul(S,z),n=n+Math.imul(D,W)|0,i=(i=i+Math.imul(D,H)|0)+Math.imul(E,W)|0,s=s+Math.imul(E,H)|0,n=n+Math.imul(y,G)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(b,G)|0,s=s+Math.imul(b,K)|0,n=n+Math.imul(f,J)|0,i=(i=i+Math.imul(f,Y)|0)+Math.imul(m,J)|0,s=s+Math.imul(m,Y)|0;var De=(l+(n=n+Math.imul(p,Q)|0)|0)+((8191&(i=(i=i+Math.imul(p,ee)|0)+Math.imul(h,Q)|0))<<13)|0;l=((s=s+Math.imul(h,ee)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(T,U)|0,s=Math.imul(T,z),n=n+Math.imul(w,W)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(S,W)|0,s=s+Math.imul(S,H)|0,n=n+Math.imul(D,G)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(E,G)|0,s=s+Math.imul(E,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(b,J)|0,s=s+Math.imul(b,Y)|0,n=n+Math.imul(f,Q)|0,i=(i=i+Math.imul(f,ee)|0)+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0;var Ee=(l+(n=n+Math.imul(p,re)|0)|0)+((8191&(i=(i=i+Math.imul(p,ne)|0)+Math.imul(h,re)|0))<<13)|0;l=((s=s+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(F,U),i=(i=Math.imul(F,z))+Math.imul(I,U)|0,s=Math.imul(I,z),n=n+Math.imul(A,W)|0,i=(i=i+Math.imul(A,H)|0)+Math.imul(T,W)|0,s=s+Math.imul(T,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(S,G)|0,s=s+Math.imul(S,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(E,J)|0,s=s+Math.imul(E,Y)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(b,Q)|0,s=s+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=(i=i+Math.imul(f,ne)|0)+Math.imul(m,re)|0,s=s+Math.imul(m,ne)|0;var xe=(l+(n=n+Math.imul(p,se)|0)|0)+((8191&(i=(i=i+Math.imul(p,oe)|0)+Math.imul(h,se)|0))<<13)|0;l=((s=s+Math.imul(h,oe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,U),i=(i=Math.imul(k,z))+Math.imul(_,U)|0,s=Math.imul(_,z),n=n+Math.imul(F,W)|0,i=(i=i+Math.imul(F,H)|0)+Math.imul(I,W)|0,s=s+Math.imul(I,H)|0,n=n+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(T,G)|0,s=s+Math.imul(T,K)|0,n=n+Math.imul(w,J)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(S,J)|0,s=s+Math.imul(S,Y)|0,n=n+Math.imul(D,Q)|0,i=(i=i+Math.imul(D,ee)|0)+Math.imul(E,Q)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(y,re)|0,i=(i=i+Math.imul(y,ne)|0)+Math.imul(b,re)|0,s=s+Math.imul(b,ne)|0,n=n+Math.imul(f,se)|0,i=(i=i+Math.imul(f,oe)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,oe)|0;var we=(l+(n=n+Math.imul(p,ue)|0)|0)+((8191&(i=(i=i+Math.imul(p,le)|0)+Math.imul(h,ue)|0))<<13)|0;l=((s=s+Math.imul(h,le)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(L,U)|0,s=Math.imul(L,z),n=n+Math.imul(k,W)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(_,W)|0,s=s+Math.imul(_,H)|0,n=n+Math.imul(F,G)|0,i=(i=i+Math.imul(F,K)|0)+Math.imul(I,G)|0,s=s+Math.imul(I,K)|0,n=n+Math.imul(A,J)|0,i=(i=i+Math.imul(A,Y)|0)+Math.imul(T,J)|0,s=s+Math.imul(T,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(S,Q)|0,s=s+Math.imul(S,ee)|0,n=n+Math.imul(D,re)|0,i=(i=i+Math.imul(D,ne)|0)+Math.imul(E,re)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(y,se)|0,i=(i=i+Math.imul(y,oe)|0)+Math.imul(b,se)|0,s=s+Math.imul(b,oe)|0,n=n+Math.imul(f,ue)|0,i=(i=i+Math.imul(f,le)|0)+Math.imul(m,ue)|0,s=s+Math.imul(m,le)|0;var Se=(l+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,he)|0)+Math.imul(h,pe)|0))<<13)|0;l=((s=s+Math.imul(h,he)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,s=Math.imul(j,z),n=n+Math.imul(M,W)|0,i=(i=i+Math.imul(M,H)|0)+Math.imul(L,W)|0,s=s+Math.imul(L,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(_,G)|0,s=s+Math.imul(_,K)|0,n=n+Math.imul(F,J)|0,i=(i=i+Math.imul(F,Y)|0)+Math.imul(I,J)|0,s=s+Math.imul(I,Y)|0,n=n+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(T,Q)|0,s=s+Math.imul(T,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(S,re)|0,s=s+Math.imul(S,ne)|0,n=n+Math.imul(D,se)|0,i=(i=i+Math.imul(D,oe)|0)+Math.imul(E,se)|0,s=s+Math.imul(E,oe)|0,n=n+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(b,ue)|0,s=s+Math.imul(b,le)|0,n=n+Math.imul(f,pe)|0,i=(i=i+Math.imul(f,he)|0)+Math.imul(m,pe)|0,s=s+Math.imul(m,he)|0;var Ce=(l+(n=n+Math.imul(p,fe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(h,fe)|0))<<13)|0;l=((s=s+Math.imul(h,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(R,W),i=(i=Math.imul(R,H))+Math.imul(j,W)|0,s=Math.imul(j,H),n=n+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(L,G)|0,s=s+Math.imul(L,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(_,J)|0,s=s+Math.imul(_,Y)|0,n=n+Math.imul(F,Q)|0,i=(i=i+Math.imul(F,ee)|0)+Math.imul(I,Q)|0,s=s+Math.imul(I,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(T,re)|0,s=s+Math.imul(T,ne)|0,n=n+Math.imul(w,se)|0,i=(i=i+Math.imul(w,oe)|0)+Math.imul(S,se)|0,s=s+Math.imul(S,oe)|0,n=n+Math.imul(D,ue)|0,i=(i=i+Math.imul(D,le)|0)+Math.imul(E,ue)|0,s=s+Math.imul(E,le)|0,n=n+Math.imul(y,pe)|0,i=(i=i+Math.imul(y,he)|0)+Math.imul(b,pe)|0,s=s+Math.imul(b,he)|0;var Ae=(l+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(m,fe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(R,G),i=(i=Math.imul(R,K))+Math.imul(j,G)|0,s=Math.imul(j,K),n=n+Math.imul(M,J)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(L,J)|0,s=s+Math.imul(L,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(_,Q)|0,s=s+Math.imul(_,ee)|0,n=n+Math.imul(F,re)|0,i=(i=i+Math.imul(F,ne)|0)+Math.imul(I,re)|0,s=s+Math.imul(I,ne)|0,n=n+Math.imul(A,se)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(T,se)|0,s=s+Math.imul(T,oe)|0,n=n+Math.imul(w,ue)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(S,ue)|0,s=s+Math.imul(S,le)|0,n=n+Math.imul(D,pe)|0,i=(i=i+Math.imul(D,he)|0)+Math.imul(E,pe)|0,s=s+Math.imul(E,he)|0;var Te=(l+(n=n+Math.imul(y,fe)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(b,fe)|0))<<13)|0;l=((s=s+Math.imul(b,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(R,J),i=(i=Math.imul(R,Y))+Math.imul(j,J)|0,s=Math.imul(j,Y),n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(L,Q)|0,s=s+Math.imul(L,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(_,re)|0,s=s+Math.imul(_,ne)|0,n=n+Math.imul(F,se)|0,i=(i=i+Math.imul(F,oe)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,oe)|0,n=n+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(T,ue)|0,s=s+Math.imul(T,le)|0,n=n+Math.imul(w,pe)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(S,pe)|0,s=s+Math.imul(S,he)|0;var Pe=(l+(n=n+Math.imul(D,fe)|0)|0)+((8191&(i=(i=i+Math.imul(D,me)|0)+Math.imul(E,fe)|0))<<13)|0;l=((s=s+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(R,Q),i=(i=Math.imul(R,ee))+Math.imul(j,Q)|0,s=Math.imul(j,ee),n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(L,re)|0,s=s+Math.imul(L,ne)|0,n=n+Math.imul(k,se)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(_,se)|0,s=s+Math.imul(_,oe)|0,n=n+Math.imul(F,ue)|0,i=(i=i+Math.imul(F,le)|0)+Math.imul(I,ue)|0,s=s+Math.imul(I,le)|0,n=n+Math.imul(A,pe)|0,i=(i=i+Math.imul(A,he)|0)+Math.imul(T,pe)|0,s=s+Math.imul(T,he)|0;var Fe=(l+(n=n+Math.imul(w,fe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(S,fe)|0))<<13)|0;l=((s=s+Math.imul(S,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,n=Math.imul(R,re),i=(i=Math.imul(R,ne))+Math.imul(j,re)|0,s=Math.imul(j,ne),n=n+Math.imul(M,se)|0,i=(i=i+Math.imul(M,oe)|0)+Math.imul(L,se)|0,s=s+Math.imul(L,oe)|0,n=n+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,le)|0)+Math.imul(_,ue)|0,s=s+Math.imul(_,le)|0,n=n+Math.imul(F,pe)|0,i=(i=i+Math.imul(F,he)|0)+Math.imul(I,pe)|0,s=s+Math.imul(I,he)|0;var Ie=(l+(n=n+Math.imul(A,fe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(T,fe)|0))<<13)|0;l=((s=s+Math.imul(T,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(R,se),i=(i=Math.imul(R,oe))+Math.imul(j,se)|0,s=Math.imul(j,oe),n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(L,ue)|0,s=s+Math.imul(L,le)|0,n=n+Math.imul(k,pe)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(_,pe)|0,s=s+Math.imul(_,he)|0;var Ne=(l+(n=n+Math.imul(F,fe)|0)|0)+((8191&(i=(i=i+Math.imul(F,me)|0)+Math.imul(I,fe)|0))<<13)|0;l=((s=s+Math.imul(I,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(R,ue),i=(i=Math.imul(R,le))+Math.imul(j,ue)|0,s=Math.imul(j,le),n=n+Math.imul(M,pe)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(L,pe)|0,s=s+Math.imul(L,he)|0;var ke=(l+(n=n+Math.imul(k,fe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(_,fe)|0))<<13)|0;l=((s=s+Math.imul(_,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(R,pe),i=(i=Math.imul(R,he))+Math.imul(j,pe)|0,s=Math.imul(j,he);var _e=(l+(n=n+Math.imul(M,fe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(L,fe)|0))<<13)|0;l=((s=s+Math.imul(L,me)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863;var Oe=(l+(n=Math.imul(R,fe))|0)+((8191&(i=(i=Math.imul(R,me))+Math.imul(j,fe)|0))<<13)|0;return l=((s=Math.imul(j,me))+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,u[0]=ge,u[1]=ye,u[2]=be,u[3]=ve,u[4]=De,u[5]=Ee,u[6]=xe,u[7]=we,u[8]=Se,u[9]=Ce,u[10]=Ae,u[11]=Te,u[12]=Pe,u[13]=Fe,u[14]=Ie,u[15]=Ne,u[16]=ke,u[17]=_e,u[18]=Oe,0!==l&&(u[19]=l,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=d),s.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,s=0;s<r.length-1;s++){var o=i;i=0;for(var a=67108863&n,u=Math.min(s,t.length-1),l=Math.max(0,s-e.length+1);l<=u;l++){var c=s-l,p=(0|e.words[c])*(0|t.words[l]),h=67108863&p;a=67108863&(h=h+a|0),i+=(o=(o=o+(p/67108864|0)|0)+(h>>>26)|0)>>>26,o&=67108863}r.words[s]=a,n=o,o=i}return 0!==n?r.words[s]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,s){for(var o=0;o<s;o++)n[o]=t[e[o]],i[o]=r[e[o]]},g.prototype.transform=function(e,t,r,n,i,s){this.permute(s,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var a=o<<1,u=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),c=0;c<i;c+=a)for(var p=u,h=l,d=0;d<o;d++){var f=r[c+d],m=n[c+d],g=r[c+d+o],y=n[c+d+o],b=p*g-h*y;y=p*y+h*g,g=b,r[c+d]=f+g,n[c+d]=m+y,r[c+d+o]=f-g,n[c+d+o]=m-y,d!==a&&(b=u*p-l*h,h=u*h+l*p,p=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var s=0,o=0;o<t;o++)s+=0|e[o],r[2*o]=8191&s,s>>>=13,r[2*o+1]=8191&s,s>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===s),n(!(-8192&s))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),s=this.stub(n),o=new Array(n),a=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),p=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,l,n),this.transform(o,s,a,u,n,i),this.transform(l,s,c,p,n,i);for(var d=0;d<n;d++){var f=a[d]*c[d]-u[d]*p[d];u[d]=a[d]*p[d]+u[d]*c[d],a[d]=f}return this.conjugate(a,u,n),this.transform(a,u,h,s,n,i),this.conjugate(h,s,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},s.prototype.mul=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},s.prototype.mulf=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),m(this,e,t)},s.prototype.imul=function(e){return this.clone().mulTo(e,this)},s.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,s=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=s>>>26,this.words[r]=67108863&s}return 0!==t&&(this.words[r]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new s(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},s.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,u=(0|this.words[t])-a<<r;this.words[t]=u|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},s.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var s=e%26,o=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,u=r;if(i-=o,i=Math.max(0,i),u){for(var l=0;l<o;l++)u.words[l]=this.words[l];u.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var c=0;for(l=this.length-1;l>=0&&(0!==c||l>=i);l--){var p=0|this.words[l];this.words[l]=c<<26-s|p>>>s,c=p&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r||!(this.words[r]&i))},s.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},s.prototype.maskn=function(e){return this.clone().imaskn(e)},s.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},s.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},s.prototype.addn=function(e){return this.clone().iaddn(e)},s.prototype.subn=function(e){return this.clone().isubn(e)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(e,t,r){var i,s,o=e.length+r;this._expand(o);var a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+r])+a;var u=(0|e.words[i])*t;a=((s-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&s}for(;i<this.length-r;i++)a=(s=(0|this.words[i+r])+a)>>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,o=0|i.words[i.length-1];0!=(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var a,u=n.length-i.length;if("mod"!==t){(a=new s(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var c=n.clone()._ishlnsubmul(i,1,u);0===c.negative&&(n=c,a&&(a.words[u]=1));for(var p=u-1;p>=0;p--){var h=67108864*(0|n.words[i.length+p])+(0|n.words[i.length+p-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,p);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,p),n.isZero()||(n.negative^=1);a&&(a.words[p]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},s.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,a},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),s=r.cmp(n);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new s(1),o=new s(0),a=new s(0),u=new s(1),l=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++l;for(var c=r.clone(),p=t.clone();!t.isZero();){for(var h=0,d=1;!(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(p)),i.iushrn(1),o.iushrn(1);for(var f=0,m=1;!(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(p)),a.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a),o.isub(u)):(r.isub(t),a.isub(i),u.isub(o))}return{a,b:u,gcd:r.iushln(l)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new s(1),a=new s(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var l=0,c=1;!(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(u),o.iushrn(1);for(var p=0,h=1;!(r.words[0]&h)&&p<26;++p,h<<=1);if(p>0)for(r.iushrn(p);p-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(i=0===t.cmpn(1)?o:a).cmpn(0)<0&&i.iadd(e),i},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var s=t;t=r,r=s}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return!(1&this.words[0])},s.prototype.isOdd=function(){return!(1&~this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var s=i,o=r;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,a&=67108863,this.words[o]=a}return 0!==s&&(this.words[o]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},s.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},s.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new w(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function D(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function w(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){w.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(v,b),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var s=e.words[9];for(t.words[t.length++]=s&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|s>>>22,s=o}s>>>=22,e.words[i-10]=s,0===s&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(D,b),i(E,b),i(x,b),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new D;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return y[e]=t,t},w.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},w.prototype._verify2=function(e,t){n(!(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},w.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},w.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},w.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},w.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},w.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},w.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},w.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},w.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},w.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},w.prototype.isqr=function(e){return this.imul(e,e.clone())},w.prototype.sqr=function(e){return this.mul(e,e)},w.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var a=new s(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new s(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var p=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),f=o;0!==d.cmp(a);){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();n(g<f);var y=this.pow(p,new s(1).iushln(f-g-1));h=h.redMul(y),p=y.redSqr(),d=d.redMul(p),f=g}return h},w.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},w.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new s(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],o=0,a=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var l=t.words[n],c=u-1;c>=0;c--){var p=l>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==p||0!==o?(o<<=1,o|=p,(4==++a||0===n&&0===c)&&(i=this.mul(i,r[o]),a=0,o=0)):a=0}u=26}return i},w.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},w.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new S(e)},i(S,w),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},76023:(e,t,r)=>{t.pbkdf2=r(49659),t.pbkdf2Sync=r(31289)},76213:(e,t,r)=>{r.d(t,{s:()=>p});var n=r(95497),i=r(96652),s=r.n(i),o=r(33658);function a(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var u={};a(u,"useVisuallyHidden",(()=>c)),a(u,"VisuallyHidden",(()=>p));const l={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function c(e={}){let{style:t,isFocusable:r}=e,[n,s]=(0,i.useState)(!1),{focusProps:a}=(0,o.iQ)({isDisabled:!r,onFocusChange:s});return{visuallyHiddenProps:{...a,style:(0,i.useMemo)((()=>n?t:t?{...l,...t}:l),[n])}}}function p(e){let{children:t,elementType:r="div",isFocusable:i,style:o,...a}=e,{visuallyHiddenProps:u}=c(e);return s().createElement(r,(0,n.v6)(a,u),t)}},76843:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},78606:(e,t,r)=>{r.d(t,{vC:()=>x});var n=r(96652);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}r(10873);var s=["shift","alt","meta","mod","ctrl"],o={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function a(e){return(o[e]||e).trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function u(e,t){return void 0===t&&(t=","),"string"==typeof e?e.split(t):e}function l(e,t){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map((function(e){return a(e)}));return i({},{alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},{keys:r.filter((function(e){return!s.includes(e)}))})}"undefined"!=typeof document&&(document.addEventListener("keydown",(function(e){void 0!==e.key&&p([a(e.key),a(e.code)])})),document.addEventListener("keyup",(function(e){void 0!==e.key&&h([a(e.key),a(e.code)])}))),"undefined"!=typeof window&&window.addEventListener("blur",(function(){c.clear()}));var c=new Set;function p(e){var t=Array.isArray(e)?e:[e];c.has("meta")&&c.forEach((function(e){return!function(e){return s.includes(e)}(e)&&c.delete(e.toLowerCase())})),t.forEach((function(e){return c.add(e.toLowerCase())}))}function h(e){var t=Array.isArray(e)?e:[e];"meta"===e?c.clear():t.forEach((function(e){return c.delete(e.toLowerCase())}))}function d(e,t){var r=e.target;void 0===t&&(t=!1);var n=r&&r.tagName;return t instanceof Array?Boolean(n&&t&&t.some((function(e){return e.toLowerCase()===n.toLowerCase()}))):Boolean(n&&t&&!0===t)}var f=function(e,t,r){void 0===r&&(r=!1);var n,i,s=t.alt,o=t.meta,u=t.mod,l=t.shift,p=t.ctrl,h=t.keys,d=e.key,f=e.code,m=e.ctrlKey,g=e.metaKey,y=e.shiftKey,b=e.altKey,v=a(f),D=d.toLowerCase();if(!r){if(s===!b&&"alt"!==D)return!1;if(l===!y&&"shift"!==D)return!1;if(u){if(!g&&!m)return!1}else{if(o===!g&&"meta"!==D&&"os"!==D)return!1;if(p===!m&&"ctrl"!==D&&"control"!==D)return!1}}return!(!h||1!==h.length||!h.includes(D)&&!h.includes(v))||(h?(n=h,void 0===i&&(i=","),(Array.isArray(n)?n:n.split(i)).every((function(e){return c.has(e.trim().toLowerCase())}))):!h)},m=(0,n.createContext)(void 0),g=function(){return(0,n.useContext)(m)};function y(e,t){return e&&t&&"object"==typeof e&&"object"==typeof t?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce((function(r,n){return r&&y(e[n],t[n])}),!0):e===t}var b=(0,n.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),v=function(){return(0,n.useContext)(b)},D=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},E="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;function x(e,t,r,i){var s=(0,n.useRef)(null),o=(0,n.useRef)(!1),c=r instanceof Array?i instanceof Array?void 0:i:r,m=r instanceof Array?r:i instanceof Array?i:void 0,b=(0,n.useCallback)(t,null!=m?m:[]),x=(0,n.useRef)(b);x.current=m?b:t;var w=function(e){var t=(0,n.useRef)(void 0);return y(t.current,e)||(t.current=e),t.current}(c),S=v().enabledScopes,C=g();return E((function(){if(!1!==(null==w?void 0:w.enabled)&&(t=S,r=null==w?void 0:w.scopes,0===t.length&&r?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),1):!r||t.some((function(e){return r.includes(e)}))||t.includes("*"))){var t,r,n=function(t,r){var n;void 0===r&&(r=!1),(!d(t,["input","textarea","select"])||d(t,null==w?void 0:w.enableOnFormTags))&&(null===s.current||document.activeElement===s.current||s.current.contains(document.activeElement)?(null==(n=t.target)||!n.isContentEditable||null!=w&&w.enableOnContentEditable)&&u(e,null==w?void 0:w.splitKey).forEach((function(e){var n,i=l(e,null==w?void 0:w.combinationKey);if(f(t,i,null==w?void 0:w.ignoreModifiers)||null!=(n=i.keys)&&n.includes("*")){if(r&&o.current)return;if(function(e,t,r){("function"==typeof r&&r(e,t)||!0===r)&&e.preventDefault()}(t,i,null==w?void 0:w.preventDefault),!function(e,t,r){return"function"==typeof r?r(e,t):!0===r||void 0===r}(t,i,null==w?void 0:w.enabled))return void D(t);x.current(t,i),r||(o.current=!0)}})):D(t))},i=function(e){void 0!==e.key&&(p(a(e.code)),(void 0===(null==w?void 0:w.keydown)&&!0!==(null==w?void 0:w.keyup)||null!=w&&w.keydown)&&n(e))},m=function(e){void 0!==e.key&&(h(a(e.code)),o.current=!1,null!=w&&w.keyup&&n(e,!0))},g=s.current||(null==c?void 0:c.document)||document;return g.addEventListener("keyup",m),g.addEventListener("keydown",i),C&&u(e,null==w?void 0:w.splitKey).forEach((function(e){return C.addHotkey(l(e,null==w?void 0:w.combinationKey))})),function(){g.removeEventListener("keyup",m),g.removeEventListener("keydown",i),C&&u(e,null==w?void 0:w.splitKey).forEach((function(e){return C.removeHotkey(l(e,null==w?void 0:w.combinationKey))}))}}}),[e,w,S]),s}},79023:(e,t,r)=>{var n=r(25003),i=r(5038),s=r(38049),o=r(79696).Buffer,a=new Array(64);function u(){this.init(),this._w=a,s.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=u},79101:(e,t,r)=>{var n=r(63713);e.exports=function(e){var t={init:[],preEmit:[],shouldEmit:[]},r=function e(r){var i={};return r.mixins&&r.mixins.forEach((function(t){n.extend(i,e(t))})),n.extend(i,r),Object.keys(t).forEach((function(e){r.hasOwnProperty(e)&&t[e].push(r[e])})),i}(e);return t.init.length>1&&(r.init=function(){var e=arguments;t.init.forEach((function(t){t.apply(this,e)}),this)}),t.preEmit.length>1&&(r.preEmit=function(){return t.preEmit.reduce(function(e,t){var r=t.apply(this,e);return void 0===r?e:[r]}.bind(this),arguments)}),t.shouldEmit.length>1&&(r.shouldEmit=function(){var e=arguments;return!t.shouldEmit.some((function(t){return!t.apply(this,e)}),this)}),Object.keys(t).forEach((function(e){1===t[e].length&&(r[e]=t[e][0])})),r}},79112:(e,t,r)=>{const n=r(98999),{PromisePrototypeThen:i,SymbolAsyncIterator:s,SymbolIterator:o}=r(12450),{Buffer:a}=r(67787),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=r(26503).codes;e.exports=function(e,t,r){let c,p;if("string"==typeof t||t instanceof a)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[s])p=!0,c=t[s]();else{if(!t||!t[o])throw new u("iterable",["Iterable"],t);p=!1,c=t[o]()}const h=new e({objectMode:!0,highWaterMark:1,...r});let d=!1;return h._read=function(){d||(d=!0,async function(){for(;;){try{const{value:e,done:t}=p?await c.next():c.next();if(t)h.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw d=!1,new l;if(h.push(t))continue;d=!1}}catch(e){h.destroy(e)}break}}())},h._destroy=function(e,t){i(async function(e){const t=null!=e,r="function"==typeof c.throw;if(t&&r){const{value:t,done:r}=await c.throw(e);if(await t,r)return}if("function"==typeof c.return){const{value:e}=await c.return();await e}}(e),(()=>n.nextTick(t,e)),(r=>n.nextTick(t,r||e)))},h}},79337:(e,t,r)=>{const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:s,ArrayPrototypeMap:o,NumberIsInteger:a,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:p,ObjectPrototypeHasOwnProperty:h,RegExpPrototypeExec:d,String:f,StringPrototypeToUpperCase:m,StringPrototypeTrim:g}=r(12450),{hideStackFrames:y,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:v,ERR_INVALID_ARG_VALUE:D,ERR_OUT_OF_RANGE:E,ERR_UNKNOWN_SIGNAL:x}}=r(26503),{normalizeEncoding:w}=r(46108),{isAsyncFunction:S,isArrayBufferView:C}=r(46108).types,A={},T=/^[0-7]+$/,P=y(((e,t,r=c,n=l)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,`>= ${r} && <= ${n}`,e)})),F=y(((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,`>= ${r} && <= ${n}`,e)})),I=y(((e,t,r=!1)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new E(t,`>= ${n} && <= ${i}`,e)}));function N(e,t){if("string"!=typeof e)throw new v(t,"string",e)}const k=y(((e,t,r)=>{if(!i(r,e)){const n=s(o(r,(e=>"string"==typeof e?`'${e}'`:f(e))),", ");throw new D(t,e,"must be one of: "+n)}}));function _(e,t){if("boolean"!=typeof e)throw new v(t,"boolean",e)}function O(e,t,r){return null!=e&&h(e,t)?e[t]:r}const M=y(((e,t,r=null)=>{const i=O(r,"allowArray",!1),s=O(r,"allowFunction",!1);if(!O(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!s||"function"!=typeof e))throw new v(t,"Object",e)})),L=y(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new v(t,"a dictionary",e)})),B=y(((e,t,r=0)=>{if(!n(e))throw new v(t,"Array",e);if(e.length<r)throw new D(t,e,`must be longer than ${r}`)})),R=y(((e,t="buffer")=>{if(!C(e))throw new v(t,["Buffer","TypedArray","DataView"],e)})),j=y(((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new v(t,"AbortSignal",e)})),$=y(((e,t)=>{if("function"!=typeof e)throw new v(t,"Function",e)})),U=y(((e,t)=>{if("function"!=typeof e||S(e))throw new v(t,"Function",e)})),z=y(((e,t)=>{if(void 0!==e)throw new v(t,"undefined",e)})),V=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W(e,t){if(void 0===e||!d(V,e))throw new D(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===d(T,e))throw new D(t,e,"must be a 32-bit unsigned integer or an octal string");e=p(e,8)}return I(e,t),e},validateArray:B,validateStringArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++)N(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++)_(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new v(i,"AbortSignal",n);j(n,i)}},validateBoolean:_,validateBuffer:R,validateDictionary:L,validateEncoding:function(e,t){const r=w(t),n=e.length;if("hex"===r&&n%2!=0)throw new D("encoding",t,`is invalid for data of length ${n}`)},validateFunction:$,validateInt32:F,validateInteger:P,validateNumber:function(e,t,r=void 0,n){if("number"!=typeof e)throw new v(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&u(e))throw new E(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:M,validateOneOf:k,validatePlainFunction:U,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===g(e).length||+e!=+e>>>0||e>65535||0===e&&!r)throw new b(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(N(e,t),void 0===A[e]){if(void 0!==A[m(e)])throw new x(e+" (signals must use all capital letters)");throw new x(e)}},validateString:N,validateUint32:I,validateUndefined:z,validateUnion:function(e,t,r){if(!i(r,e))throw new v(t,`('${s(r,"|")}')`,e)},validateAbortSignal:j,validateLinkHeaderValue:function(e){if("string"==typeof e)return W(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const i=e[n];W(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new D("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},79696:(e,t,r)=>{var n=r(67787),i=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},79865:(e,t,r)=>{const n=r(66089),i=r(92248);e.exports=(e,t,r)=>{let s=null,o=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==o.compare(e)||(s=e,o=new n(s,r)))})),s}},81247:(e,t,r)=>{const n=r(92248);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},82822:(e,t,r)=>{const n=r(49002);e.exports=(e,t,r)=>n(e,t,">",r)},82960:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(70161),i=r(60752),s=r(96196),o=r(6022),a=r(31500),u=r(63706),l=r(96652),c=r.n(l),p=r(41381),h=r(72287),d=r(69064);function f(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.keys(e).reduce((function(t,n){return-1===r.indexOf(n)&&(t[n]=e[n]),t}),{})}var m=["children","className","id","style","useFlyTo","whenReady"],g=function(e){return Array.isArray(e)?[e[0],e[1]]:[e.lat,e.lon?e.lon:e.lng]},y=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,a.A)((0,s.A)(r),"className",void 0),(0,a.A)((0,s.A)(r),"contextValue",void 0),(0,a.A)((0,s.A)(r),"container",void 0),(0,a.A)((0,s.A)(r),"viewport",{center:void 0,zoom:void 0}),(0,a.A)((0,s.A)(r),"_ready",!1),(0,a.A)((0,s.A)(r),"_updating",!1),(0,a.A)((0,s.A)(r),"onViewportChange",(function(){var e=r.leafletElement.getCenter();r.viewport={center:e?[e.lat,e.lng]:void 0,zoom:r.leafletElement.getZoom()},r.props.onViewportChange&&!r._updating&&r.props.onViewportChange(r.viewport)})),(0,a.A)((0,s.A)(r),"onViewportChanged",(function(){r.props.onViewportChanged&&!r._updating&&r.props.onViewportChanged(r.viewport)})),(0,a.A)((0,s.A)(r),"bindContainer",(function(e){r.container=e})),r.className=t.className,r}(0,o.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){var t=e.viewport,r=(0,i.A)(e,["viewport"]);return t&&(t.center&&(r.center=t.center),"number"==typeof t.zoom&&(r.zoom=t.zoom)),new u.Map(this.container,r)},r.updateLeafletElement=function(e,t){this._updating=!0;var r=t.bounds,n=t.boundsOptions,i=t.boxZoom,s=t.center,o=t.className,a=t.doubleClickZoom,u=t.dragging,l=t.keyboard,c=t.maxBounds,p=t.scrollWheelZoom,h=t.tap,f=t.touchZoom,m=t.useFlyTo,g=t.viewport,y=t.zoom;if((0,d.Ay)(this.container,e.className,o),g&&g!==e.viewport){var b=g.center?g.center:s,v=null==g.zoom?y:g.zoom;!0===m?this.leafletElement.flyTo(b,v,this.getZoomPanOptions(t)):this.leafletElement.setView(b,v,this.getZoomPanOptions(t))}else s&&this.shouldUpdateCenter(s,e.center)?!0===m?this.leafletElement.flyTo(s,y,this.getZoomPanOptions(t)):this.leafletElement.setView(s,y,this.getZoomPanOptions(t)):"number"==typeof y&&y!==e.zoom&&(null==e.zoom?this.leafletElement.setView(s,y,this.getZoomPanOptions(t)):this.leafletElement.setZoom(y,this.getZoomPanOptions(t)));c&&this.shouldUpdateBounds(c,e.maxBounds)&&this.leafletElement.setMaxBounds(c),r&&(this.shouldUpdateBounds(r,e.bounds)||n!==e.boundsOptions)&&(!0===m?this.leafletElement.flyToBounds(r,this.getFitBoundsOptions(t)):this.leafletElement.fitBounds(r,this.getFitBoundsOptions(t))),i!==e.boxZoom&&(!0===i?this.leafletElement.boxZoom.enable():this.leafletElement.boxZoom.disable()),a!==e.doubleClickZoom&&(!0===a?this.leafletElement.doubleClickZoom.enable():this.leafletElement.doubleClickZoom.disable()),u!==e.dragging&&(!0===u?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),l!==e.keyboard&&(!0===l?this.leafletElement.keyboard.enable():this.leafletElement.keyboard.disable()),p!==e.scrollWheelZoom&&(!0===p||"string"==typeof p?(this.leafletElement.options.scrollWheelZoom=p,this.leafletElement.scrollWheelZoom.enable()):this.leafletElement.scrollWheelZoom.disable()),h!==e.tap&&(!0===h?this.leafletElement.tap.enable():this.leafletElement.tap.disable()),f!==e.touchZoom&&(!0===f||"string"==typeof f?(this.leafletElement.options.touchZoom=f,this.leafletElement.touchZoom.enable()):this.leafletElement.touchZoom.disable()),this._updating=!1},r.getZoomPanOptions=function(e){return{animate:e.animate,duration:e.duration,easeLinearity:e.easeLinearity,noMoveStart:e.noMoveStart}},r.getFitBoundsOptions=function(e){var t=this.getZoomPanOptions(e);return(0,n.A)({},t,e.boundsOptions)},r.componentDidMount=function(){var t=f.apply(void 0,[this.props].concat(m));this.leafletElement=this.createLeafletElement(t),this.leafletElement.on("move",this.onViewportChange),this.leafletElement.on("moveend",this.onViewportChanged),null!=t.bounds&&this.leafletElement.fitBounds(t.bounds,this.getFitBoundsOptions(t)),this.contextValue={layerContainer:this.leafletElement,map:this.leafletElement},e.prototype.componentDidMount.call(this),this.forceUpdate()},r.componentDidUpdate=function(t){!1===this._ready&&(this._ready=!0,this.props.whenReady&&this.leafletElement.whenReady(this.props.whenReady)),e.prototype.componentDidUpdate.call(this,t),this.updateLeafletElement(t,this.props)},r.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.leafletElement.off("move",this.onViewportChange),this.leafletElement.off("moveend",this.onViewportChanged),!0===this.props.preferCanvas?(this.leafletElement._initEvents(!0),this.leafletElement._stop()):this.leafletElement.remove()},r.shouldUpdateCenter=function(e,t){return!t||(e=g(e),t=g(t),e[0]!==t[0]||e[1]!==t[1])},r.shouldUpdateBounds=function(e,t){return!t||!(0,u.latLngBounds)(e).equals((0,u.latLngBounds)(t))},r.render=function(){return c().createElement("div",{className:this.className,id:this.props.id,ref:this.bindContainer,style:this.props.style},this.contextValue?c().createElement(p.hL,{value:this.contextValue},this.props.children):null)},t}(h.A)},83109:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.isFragment=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case o:case s:case p:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case c:case f:case d:case a:return e;default:return t}}case n:return t}}}(e)===i}},83153:(e,t,r)=>{var n=r(79696).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"==typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},83198:(e,t,r)=>{const n=r(42229),i=r(76843),s=r(66089),o=r(69690),a=r(73047),u=r(84046),l=r(66413),c=r(69192),p=r(96065),h=r(69657),d=r(54845),f=r(86678),m=r(50192),g=r(2943),y=r(62655),b=r(28800),v=r(87998),D=r(34894),E=r(96750),x=r(37109),w=r(68434),S=r(18604),C=r(14600),A=r(67526),T=r(44411),P=r(31288),F=r(4683),I=r(37553),N=r(92248),k=r(27681),_=r(85576),O=r(59827),M=r(79865),L=r(84068),B=r(81247),R=r(49002),j=r(82822),$=r(45579),U=r(71563),z=r(90226),V=r(46019);e.exports={parse:a,valid:u,clean:l,inc:c,diff:p,major:h,minor:d,patch:f,prerelease:m,compare:g,rcompare:y,compareLoose:b,compareBuild:v,sort:D,rsort:E,gt:x,lt:w,eq:S,neq:C,gte:A,lte:T,cmp:P,coerce:F,Comparator:I,Range:N,satisfies:k,toComparators:_,maxSatisfying:O,minSatisfying:M,minVersion:L,validRange:B,outside:R,gtr:j,ltr:$,intersects:U,simplifyRange:z,subset:V,SemVer:s,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},83803:(e,t,r)=>{const{ArrayPrototypePop:n,Promise:i}=r(12450),{isIterable:s,isNodeStream:o,isWebStream:a}=r(97967),{pipelineImpl:u}=r(55930),{finished:l}=r(42882);r(51182),e.exports={finished:l,pipeline:function(...e){return new i(((t,r)=>{let i,l;const c=e[e.length-1];if(c&&"object"==typeof c&&!o(c)&&!s(c)&&!a(c)){const t=n(e);i=t.signal,l=t.end}u(e,((e,n)=>{e?r(e):t(n)}),{signal:i,end:l})}))}}},84046:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},84068:(e,t,r)=>{const n=r(66089),i=r(92248),s=r(37109);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let o=null;i.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!s(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||r&&!s(r,o)||(r=o)}return r&&e.test(r)?r:null}},84213:(e,t,r)=>{var n=r(28113),i=r(51048),s=r(49453),o=r(63793),a=r(90978),u=r(75722),l=r(62670),c=r(32427),p=r(79696).Buffer;e.exports=function(e,t,r){var h;h=e.padding?e.padding:r?1:4;var d,f=n(e);if(4===h)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,l=s("sha1").update(p.alloc(0)).digest(),c=l.length,h=2*c;if(n>r-h-2)throw new Error("message too long");var d=p.alloc(r-n-h-2),f=r-c-1,m=i(c),g=a(p.concat([l,d,p.alloc(1,1),t],f),o(m,f)),y=a(m,o(g,c));return new u(p.concat([p.alloc(1),y,g],r))}(f,t);else if(1===h)d=function(e,t,r){var n,s=t.length,o=e.modulus.byteLength();if(s>o-11)throw new Error("message too long");return n=r?p.alloc(o-s-3,255):function(e){for(var t,r=p.allocUnsafe(e),n=0,s=i(2*e),o=0;n<e;)o===s.length&&(s=i(2*e),o=0),(t=s[o++])&&(r[n++]=t);return r}(o-s-3),new u(p.concat([p.from([0,r?1:2]),n,p.alloc(1),t],o))}(f,t,r);else{if(3!==h)throw new Error("unknown padding");if((d=new u(t)).cmp(f.modulus)>=0)throw new Error("data too long for modulus")}return r?c(d,f):l(d,f)}},84450:(e,t,r)=>{const{ObjectSetPrototypeOf:n,Symbol:i}=r(12450);e.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:s}=r(26503).codes,o=r(758),{getHighWaterMark:a}=r(97863);n(l.prototype,o.prototype),n(l,o);const u=i("kCallback");function l(e){if(!(this instanceof l))return new l(e);const t=e?a(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),o.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",p)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())}))}function p(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,r){throw new s("_transform()")},l.prototype._write=function(e,t,r){const n=this._readableState,i=this._writableState,s=n.length;this._transform(e,t,((e,t)=>{e?r(e):(null!=t&&this.push(t),i.ended||s===n.length||n.length<n.highWaterMark?r():this[u]=r)}))},l.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}},85576:(e,t,r)=>{const n=r(92248);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},85890:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},86678:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).patch},87998:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r)=>{const i=new n(e,r),s=new n(t,r);return i.compare(s)||i.compareBuild(s)}},88878:(e,t,r)=>{var n=r(25003),i=r(47439),s=r(38049),o=r(79696).Buffer,a=new Array(160);function u(){this.init(),this._w=a,s.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=u},89963:(e,t,r)=>{r.d(t,{Te:()=>v});var n=r(96652),i=r(46410);function s(e,t,r){let n,i=r.initialDeps??[];return()=>{var s,o,a,u;let l;r.key&&(null==(s=r.debug)?void 0:s.call(r))&&(l=Date.now());const c=e();if(c.length===i.length&&!c.some(((e,t)=>i[t]!==e)))return n;let p;if(i=c,r.key&&(null==(o=r.debug)?void 0:o.call(r))&&(p=Date.now()),n=t(...c),r.key&&(null==(a=r.debug)?void 0:a.call(r))){const e=Math.round(100*(Date.now()-l))/100,t=Math.round(100*(Date.now()-p))/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return null==(u=null==r?void 0:r.onChange)||u.call(r,n),n}}function o(e,t){if(void 0===e)throw new Error("Unexpected undefined"+(t?`: ${t}`:""));return e}const a=(e,t,r)=>{let n;return function(...i){e.clearTimeout(n),n=e.setTimeout((()=>t.apply(this,i)),r)}},u=e=>e,l=e=>{const t=Math.max(e.startIndex-e.overscan,0),r=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let e=t;e<=r;e++)n.push(e);return n},c=(e,t)=>{const r=e.scrollElement;if(!r)return;const n=e.targetWindow;if(!n)return;const i=e=>{const{width:r,height:n}=e;t({width:Math.round(r),height:Math.round(n)})};if(i(r.getBoundingClientRect()),!n.ResizeObserver)return()=>{};const s=new n.ResizeObserver((e=>{const t=e[0];if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return void i({width:e.inlineSize,height:e.blockSize})}i(r.getBoundingClientRect())}));return s.observe(r,{box:"border-box"}),()=>{s.unobserve(r)}},p={passive:!0},h="undefined"==typeof window||"onscrollend"in window,d=(e,t)=>{const r=e.scrollElement;if(!r)return;const n=e.targetWindow;if(!n)return;let i=0;const s=e.options.useScrollendEvent&&h?()=>{}:a(n,(()=>{t(i,!1)}),e.options.isScrollingResetDelay),o=n=>()=>{const{horizontal:o,isRtl:a}=e.options;i=o?r.scrollLeft*(a?-1:1):r.scrollTop,s(),t(i,n)},u=o(!0),l=o(!1);return l(),r.addEventListener("scroll",u,p),r.addEventListener("scrollend",l,p),()=>{r.removeEventListener("scroll",u),r.removeEventListener("scrollend",l)}},f=(e,t,r)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return Math.round(e[r.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[r.options.horizontal?"width":"height"])},m=(e,{adjustments:t=0,behavior:r},n)=>{var i,s;const o=e+t;null==(s=null==(i=n.scrollElement)?void 0:i.scrollTo)||s.call(i,{[n.options.horizontal?"left":"top"]:o,behavior:r})};class g{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver((e=>{e.forEach((e=>{this._measureElement(e.target,e)}))})):null);return{disconnect:()=>{var r;null==(r=t())||r.disconnect(),e=null},observe:e=>{var r;return null==(r=t())?void 0:r.observe(e,{box:"border-box"})},unobserve:e=>{var r;return null==(r=t())?void 0:r.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,r])=>{void 0===r&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:u,rangeExtractor:l,onChange:()=>{},measureElement:f,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var t,r;null==(r=(t=this.options).onChange)||r.call(t,this,e)},this.maybeNotify=s((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(e=>{this.notify(e)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach((e=>{this.observer.observe(e)})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const r=new Map,n=new Map;for(let i=t-1;i>=0;i--){const t=e[i];if(r.has(t.lane))continue;const s=n.get(t.lane);if(null==s||t.end>s.end?n.set(t.lane,t):t.end<s.end&&r.set(t.lane,!0),r.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurementOptions=s((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled]),((e,t,r,n,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i})),{key:!1}),this.getMeasurements=s((()=>[this.getMeasurementOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i},s)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})));const o=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const a=this.measurementsCache.slice(0,o);for(let i=o;i<e;i++){const e=n(i),o=1===this.options.lanes?a[i-1]:this.getFurthestMeasurement(a,i),u=o?o.end+this.options.gap:t+r,l=s.get(e),c="number"==typeof l?l:this.options.estimateSize(i),p=u+c,h=o?o.lane:i%this.options.lanes;a[i]={index:i,start:u,size:c,end:p,key:e,lane:h}}return this.measurementsCache=a,a}),{key:!1,debug:()=>this.options.debug}),this.calculateRange=s((()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()]),((e,t,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:r}){const n=e.length-1,i=y(0,n,(t=>e[t].start),r);let s=i;for(;s<n&&e[s].end<r+t;)s++;return{startIndex:i,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:r}):null),{key:!1,debug:()=>this.options.debug}),this.getIndexes=s((()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count]),((e,t,r,n)=>null===t?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:r,count:n})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,r=e.getAttribute(t);return r?parseInt(r,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const r=this.indexFromElement(e),n=this.measurementsCache[r];if(!n)return;const i=n.key,s=this.elementsCache.get(i);s!==e&&(s&&this.observer.unobserve(s),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(r,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const r=this.measurementsCache[e];if(!r)return;const n=t-(this.itemSizeCache.get(r.key)??r.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(r,n,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=n,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,t)),this.notify(!1))},this.measureElement=e=>{e?this._measureElement(e,void 0):this.elementsCache.forEach(((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))}))},this.getVirtualItems=s((()=>[this.getIndexes(),this.getMeasurements()]),((e,t)=>{const r=[];for(let n=0,i=e.length;n<i;n++){const i=t[e[n]];r.push(i)}return r}),{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();if(0!==t.length)return o(t[y(0,t.length-1,(e=>o(t[e]).start),e)])},this.getOffsetForAlignment=(e,t)=>{const r=this.getSize(),n=this.getScrollOffset();"auto"===t&&e>=n+r&&(t="end"),"end"===t&&(e-=r);const i=this.options.horizontal?"scrollWidth":"scrollHeight",s=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[i]:this.scrollElement[i]:0)-r;return Math.max(Math.min(s,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const r=this.measurementsCache[e];if(!r)return;const n=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(r.end>=i+n-this.options.scrollPaddingEnd)t="end";else{if(!(r.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}const s=r.start-this.options.scrollPaddingStart+(r.size-n)/2;switch(t){case"center":return[this.getOffsetForAlignment(s,t),t];case"end":return[this.getOffsetForAlignment(r.end+this.options.scrollPaddingEnd,t),t];default:return[this.getOffsetForAlignment(r.start-this.options.scrollPaddingStart,t),t]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:r}={})=>{this.cancelScrollToIndex(),"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:r})},this.scrollToIndex=(e,{align:t="auto",behavior:r}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const n=this.getOffsetForIndex(e,t);if(!n)return;const[i,s]=n;this._scrollToOffset(i,{adjustments:void 0,behavior:r}),"smooth"!==r&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout((()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){const[i]=o(this.getOffsetForIndex(e,s));t=i,n=this.getScrollOffset(),Math.abs(t-n)<1||this.scrollToIndex(e,{align:s,behavior:r})}else this.scrollToIndex(e,{align:s,behavior:r});var t,n})))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let r;return r=0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map((e=>e.end))),Math.max(r-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:r})=>{this.options.scrollToFn(e,{behavior:r,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}const y=(e,t,r,n)=>{for(;e<=t;){const i=(e+t)/2|0,s=r(i);if(s<n)e=i+1;else{if(!(s>n))return i;t=i-1}}return e>0?e-1:0},b="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function v(e){return function(e){const t=n.useReducer((()=>({})),{})[1],r={...e,onChange:(r,n)=>{var s;n?(0,i.flushSync)(t):t(),null==(s=e.onChange)||s.call(e,r,n)}},[s]=n.useState((()=>new g(r)));return s.setOptions(r),b((()=>s._didMount()),[]),b((()=>s._willUpdate())),s}({observeElementRect:c,observeElementOffset:d,scrollToFn:m,...e})}},90226:(e,t,r)=>{const n=r(27681),i=r(2943);e.exports=(e,t,r)=>{const s=[];let o=null,a=null;const u=e.sort(((e,t)=>i(e,t,r)));for(const e of u)n(e,t,r)?(a=e,o||(o=e)):(a&&s.push([o,a]),a=null,o=null);o&&s.push([o,null]);const l=[];for(const[e,t]of s)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const c=l.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return c.length<p.length?c:t}},90951:(e,t,r)=>{const{SymbolDispose:n}=r(12450),{AbortError:i,codes:s}=r(26503),{isNodeStream:o,isWebStream:a,kControllerErrorFunction:u}=r(97967),l=r(42882),{ERR_INVALID_ARG_TYPE:c}=s;let p;e.exports.addAbortSignal=function(t,r){if((e=>{if("object"!=typeof e||!("aborted"in e))throw new c("signal","AbortSignal",e)})(t),!o(r)&&!a(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return e.exports.addAbortSignalNoValidate(t,r)},e.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;const s=o(t)?()=>{t.destroy(new i(void 0,{cause:e.reason}))}:()=>{t[u](new i(void 0,{cause:e.reason}))};if(e.aborted)s();else{p=p||r(46108).addAbortListener;const i=p(e,s);l(t,i[n])}return t}},90978:e=>{e.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},91471:(e,t)=>{t.createdStores=[],t.createdActions=[],t.reset=function(){for(;t.createdStores.length;)t.createdStores.pop();for(;t.createdActions.length;)t.createdActions.pop()}},92161:(e,t,r)=>{const{isASCIIHex:n}=r(39080),{utf8Encode:i}=r(94989);function s(e){return e.codePointAt(0)}function o(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t=`0${t}`),`%${t}`}function a(e){const t=new Uint8Array(e.byteLength);let r=0;for(let i=0;i<e.byteLength;++i){const s=e[i];if(37!==s)t[r++]=s;else if(37!==s||n(e[i+1])&&n(e[i+2])){const n=parseInt(String.fromCodePoint(e[i+1],e[i+2]),16);t[r++]=n,i+=2}else t[r++]=s}return t.slice(0,r)}function u(e){return e<=31||e>126}const l=new Set([s(" "),s('"'),s("<"),s(">"),s("`")]),c=new Set([s(" "),s('"'),s("#"),s("<"),s(">")]);function p(e){return u(e)||c.has(e)}const h=new Set([s("?"),s("`"),s("{"),s("}")]);function d(e){return p(e)||h.has(e)}const f=new Set([s("/"),s(":"),s(";"),s("="),s("@"),s("["),s("\\"),s("]"),s("^"),s("|")]);function m(e){return d(e)||f.has(e)}const g=new Set([s("$"),s("%"),s("&"),s("+"),s(",")]),y=new Set([s("!"),s("'"),s("("),s(")"),s("~")]);function b(e,t){const r=i(e);let n="";for(const e of r)t(e)?n+=o(e):n+=String.fromCharCode(e);return n}e.exports={isC0ControlPercentEncode:u,isFragmentPercentEncode:function(e){return u(e)||l.has(e)},isQueryPercentEncode:p,isSpecialQueryPercentEncode:function(e){return p(e)||e===s("'")},isPathPercentEncode:d,isUserinfoPercentEncode:m,isURLEncodedPercentEncode:function(e){return function(e){return m(e)||g.has(e)}(e)||y.has(e)},percentDecodeString:function(e){return a(i(e))},percentDecodeBytes:a,utf8PercentEncodeString:function(e,t,r=!1){let n="";for(const i of e)n+=r&&" "===i?"+":b(i,t);return n},utf8PercentEncodeCodePoint:function(e,t){return b(String.fromCodePoint(e),t)}}},92248:(e,t,r)=>{const n=/\s+/g;class i{constructor(e,t){if(t=o(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!y(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,r=s.get(t);if(r)return r;const n=this.options.loose,i=n?c[p.HYPHENRANGELOOSE]:c[p.HYPHENRANGE];e=e.replace(i,I(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[p.COMPARATORTRIM],h),u("comparator trim",e),e=e.replace(c[p.TILDETRIM],d),u("tilde trim",e),e=e.replace(c[p.CARETTRIM],f),u("caret trim",e);let o=e.split(" ").map((e=>D(e,this.options))).join(" ").split(/\s+/).map((e=>F(e,this.options)));n&&(o=o.filter((e=>(u("loose invalid filter",e,this.options),!!e.match(c[p.COMPARATORLOOSE]))))),u("range list",o);const l=new Map,b=o.map((e=>new a(e,this.options)));for(const e of b){if(y(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const v=[...l.values()];return s.set(t,v),v}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(N(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const s=new(r(41013)),o=r(85890),a=r(37553),u=r(7341),l=r(66089),{safeRe:c,t:p,comparatorTrimReplace:h,tildeTrimReplace:d,caretTrimReplace:f}=r(42229),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:g}=r(76843),y=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,v=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every((e=>i.intersects(e,t))),i=n.pop();return r},D=(e,t)=>(e=e.replace(c[p.BUILD],""),u("comp",e,t),e=S(e,t),u("caret",e),e=x(e,t),u("tildes",e),e=A(e,t),u("xrange",e),e=P(e,t),u("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{const r=t.loose?c[p.TILDELOOSE]:c[p.TILDE];return e.replace(r,((t,r,n,i,s)=>{let o;return u("tilde",e,t,r,n,i,s),E(r)?o="":E(n)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:E(i)?o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(u("replaceTilde pr",s),o=`>=${r}.${n}.${i}-${s} <${r}.${+n+1}.0-0`):o=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,u("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>C(e,t))).join(" "),C=(e,t)=>{u("caret",e,t);const r=t.loose?c[p.CARETLOOSE]:c[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,i,s,o)=>{let a;return u("caret",e,t,r,i,s,o),E(r)?a="":E(i)?a=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(s)?a="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:o?(u("replaceCaret pr",o),a="0"===r?"0"===i?`>=${r}.${i}.${s}-${o} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}-${o} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s}-${o} <${+r+1}.0.0-0`):(u("no pr"),a="0"===r?"0"===i?`>=${r}.${i}.${s}${n} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s} <${+r+1}.0.0-0`),u("caret return",a),a}))},A=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map((e=>T(e,t))).join(" ")),T=(e,t)=>{e=e.trim();const r=t.loose?c[p.XRANGELOOSE]:c[p.XRANGE];return e.replace(r,((r,n,i,s,o,a)=>{u("xRange",e,r,n,i,s,o,a);const l=E(i),c=l||E(s),p=c||E(o),h=p;return"="===n&&h&&(n=""),a=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(c&&(s=0),o=0,">"===n?(n=">=",c?(i=+i+1,s=0,o=0):(s=+s+1,o=0)):"<="===n&&(n="<",c?i=+i+1:s=+s+1),"<"===n&&(a="-0"),r=`${n+i}.${s}.${o}${a}`):c?r=`>=${i}.0.0${a} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${s}.0${a} <${i}.${+s+1}.0-0`),u("xRange return",r),r}))},P=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[p.STAR],"")),F=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),I=e=>(t,r,n,i,s,o,a,u,l,c,p,h)=>`${r=E(n)?"":E(i)?`>=${n}.0.0${e?"-0":""}`:E(s)?`>=${n}.${i}.0${e?"-0":""}`:o?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=E(l)?"":E(c)?`<${+l+1}.0.0-0`:E(p)?`<${l}.${+c+1}.0-0`:h?`<=${l}.${c}.${p}-${h}`:e?`<${l}.${c}.${+p+1}-0`:`<=${u}`}`.trim(),N=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(u(e[r].semver),e[r].semver!==a.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},93099:(e,t,r)=>{r(95421);var n=r(96652),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var s=Symbol.for;i=s("react.element"),t.Fragment=s("react.fragment")}var o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,s={},l=null,c=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!u.hasOwnProperty(n)&&(s[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===s[n]&&(s[n]=t[n]);return{$$typeof:i,type:e,key:l,ref:c,props:s,_owner:o.current}}t.jsx=l,t.jsxs=l},93369:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(96652);function i(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:"contentBoxSize"===t?e.contentRect["inlineSize"===r?"width":"height"]:void 0}function s(e){void 0===e&&(e={});var t=e.onResize,r=(0,n.useRef)(void 0);r.current=t;var s=e.round||Math.round,o=(0,n.useRef)(),a=(0,n.useState)({width:void 0,height:void 0}),u=a[0],l=a[1],c=(0,n.useRef)(!1);(0,n.useEffect)((function(){return c.current=!1,function(){c.current=!0}}),[]);var p=(0,n.useRef)({width:void 0,height:void 0}),h=function(e,t){var r=(0,n.useRef)(null),i=(0,n.useRef)(null);i.current=t;var s=(0,n.useRef)(null);(0,n.useEffect)((function(){o()}));var o=(0,n.useCallback)((function(){var t=s.current,n=i.current,o=t||(n?n instanceof Element?n:n.current:null);r.current&&r.current.element===o&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:o,subscriber:e,cleanup:o?e(o):void 0})}),[e]);return(0,n.useEffect)((function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}}),[]),(0,n.useCallback)((function(e){s.current=e,o()}),[o])}((0,n.useCallback)((function(t){return o.current&&o.current.box===e.box&&o.current.round===s||(o.current={box:e.box,round:s,instance:new ResizeObserver((function(t){var n=t[0],o="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",a=i(n,o,"inlineSize"),u=i(n,o,"blockSize"),h=a?s(a):void 0,d=u?s(u):void 0;if(p.current.width!==h||p.current.height!==d){var f={width:h,height:d};p.current.width=h,p.current.height=d,r.current?r.current(f):c.current||l(f)}}))}),o.current.instance.observe(t,{box:e.box}),function(){o.current&&o.current.instance.unobserve(t)}}),[e.box,s]),e.ref);return(0,n.useMemo)((function(){return{ref:h,width:u.width,height:u.height}}),[h,u.width,u.height])}},93874:(e,t,r)=>{const n=r(51182),i=r(83803),s=n.Readable.destroy;e.exports=n.Readable,e.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,e.exports._isUint8Array=n._isUint8Array,e.exports.isDisturbed=n.isDisturbed,e.exports.isErrored=n.isErrored,e.exports.isReadable=n.isReadable,e.exports.Readable=n.Readable,e.exports.Writable=n.Writable,e.exports.Duplex=n.Duplex,e.exports.Transform=n.Transform,e.exports.PassThrough=n.PassThrough,e.exports.addAbortSignal=n.addAbortSignal,e.exports.finished=n.finished,e.exports.destroy=n.destroy,e.exports.destroy=s,e.exports.pipeline=n.pipeline,e.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),e.exports.Stream=n.Stream,e.exports.default=e.exports},94271:(e,t,r)=>{function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?s(e.position):"start"in e||"end"in e?s(e):"line"in e||"column"in e?i(e):"":""}function i(e){return o(e&&e.line)+":"+o(e&&e.column)}function s(e){return i(e&&e.start)+"-"+i(e&&e.end)}function o(e){return e&&"number"==typeof e?e:1}r.d(t,{L:()=>n})},94677:e=>{var t=Math.pow(2,30)-1;e.exports=function(e,r){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof r)throw new TypeError("Key length not a number");if(r<0||r>t||r!=r)throw new TypeError("Bad key length")}},94989:e=>{const t=new TextEncoder,r=new TextDecoder("utf-8",{ignoreBOM:!0});e.exports={utf8Encode:function(e){return t.encode(e)},utf8DecodeWithoutBOM:function(e){return r.decode(e)}}},95497:(e,t,r)=>{r.d(t,{eC:()=>O,un:()=>ce,cX:()=>ae,v6:()=>P,vg:()=>U,I8:()=>ne,_q:()=>me,A5:()=>W,Bi:()=>S,Nf:()=>x,wt:()=>X});var n=r(96652),i=r.n(n);function s(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var o={};s(o,"SSRProvider",(()=>l)),s(o,"useSSRSafeId",(()=>p)),s(o,"useIsSSR",(()=>h));const a={prefix:String(Math.round(1e10*Math.random())),current:0},u=i().createContext(a);function l(e){let t=(0,n.useContext)(u),r=(0,n.useMemo)((()=>({prefix:t===a?"":`${t.prefix}-${++t.current}`,current:0})),[t]);return i().createElement(u.Provider,{value:r},e.children)}let c=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function p(e){let t=(0,n.useContext)(u);return t!==a||c||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,n.useMemo)((()=>e||`react-aria${t.prefix}-${++t.current}`),[e])}function h(){let e=(0,n.useContext)(u)!==a,[t,r]=(0,n.useState)(e);return"undefined"!=typeof window&&e&&(0,n.useLayoutEffect)((()=>{r(!1)}),[]),t}var d=r(83718);function f(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function m(e,t,r){let[i,s]=(0,n.useState)(e||t),o=(0,n.useRef)(void 0!==e),a=o.current,u=void 0!==e,l=(0,n.useRef)(i);a!==u&&console.warn(`WARN: A component changed from ${a?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}.`),o.current=u;let c=(0,n.useCallback)(((e,...t)=>{let n=(e,...t)=>{r&&(Object.is(l.current,e)||r(e,...t)),u||(l.current=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),s(((r,...i)=>{let s=e(u?l.current:r,...i);return n(s,...t),u?r:s}))):(u||s(e),n(e,...t))}),[u,r]);return u?l.current=e:e=i,[e,c]}f({},"useControlledState",(()=>m));var g={};function y(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function b(e,t,r,n){let i=(e-(isNaN(t)?0:t))%n,s=2*Math.abs(i)>=n?e+Math.sign(i)*(n-Math.abs(i)):e-i;isNaN(t)?!isNaN(r)&&s>r&&(s=Math.floor(r/n)*n):s<t?s=t:!isNaN(r)&&s>r&&(s=t+Math.floor((r-t)/n)*n);let o=n.toString(),a=o.indexOf("."),u=a>=0?o.length-a:0;if(u>0){let e=Math.pow(10,u);s=Math.round(s*e)/e}return s}function v(e,t,r=10){const n=Math.pow(r,t);return Math.round(e*n)/n}function D(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}f(g,"clamp",(()=>y)),f(g,"snapValueToStep",(()=>b)),f(g,"toFixedNumber",(()=>v));var E={};D(E,"useId",(()=>S)),D(E,"mergeIds",(()=>C)),D(E,"useSlotId",(()=>A)),D({},"useLayoutEffect",(()=>x));const x="undefined"!=typeof window?i().useLayoutEffect:()=>{};let w=new Map;function S(e){let[t,r]=(0,n.useState)(e),i=(0,n.useRef)(null),s=p(t),o=(0,n.useCallback)((e=>{i.current=e}),[]);return w.set(s,o),x((()=>{let e=s;return()=>{w.delete(e)}}),[s]),(0,n.useEffect)((()=>{let e=i.current;e&&(i.current=null,r(e))})),s}function C(e,t){if(e===t)return e;let r=w.get(e);if(r)return r(t),t;let n=w.get(t);return n?(n(e),e):t}function A(e=[]){let t=S(),[r,i]=ge(t),s=(0,n.useCallback)((()=>{i((function*(){yield t,yield document.getElementById(t)?t:null}))}),[t,i]);return x(s,[t,s,...e]),r}function T(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}function P(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],i=n[e];"function"==typeof r&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=T(r,i):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof r||"string"!=typeof i?"id"===e&&r&&i?t.id=C(r,i):t[e]=void 0!==i?i:r:t[e]=(0,d.A)(r,i)}}return t}function F(...e){return t=>{for(let r of e)"function"==typeof r?r(t):null!=r&&(r.current=t)}}D({},"chain",(()=>T)),D({},"mergeProps",(()=>P)),D({},"mergeRefs",(()=>F)),D({},"filterDOMProps",(()=>_));const I=new Set(["id"]),N=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),k=/^(data-.*)$/;function _(e,t={}){let{labelable:r,propNames:n}=t,i={};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(I.has(t)||r&&N.has(t)||(null==n?void 0:n.has(t))||k.test(t))&&(i[t]=e[t]);return i}function O(e){if(function(){if(null==M){M=!1;try{document.createElement("div").focus({get preventScroll(){return M=!0,!0}})}catch(e){}}return M}())e.focus({preventScroll:!0});else{let t=function(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}D({},"focusWithoutScrolling",(()=>O));let M=null;function L(e,t,r="horizontal"){let n=e.getBoundingClientRect();return t?"horizontal"===r?n.right:n.bottom:"horizontal"===r?n.left:n.top}D({},"getOffset",(()=>L));var B={};D(B,"clamp",(()=>y)),D(B,"snapValueToStep",(()=>b)),D({},"runAfterTransition",(()=>U));let R=new Map,j=new Set;function $(){if("undefined"==typeof window)return;let e=t=>{let r=R.get(t.target);if(r&&(r.delete(t.propertyName),0===r.size&&(t.target.removeEventListener("transitioncancel",e),R.delete(t.target)),0===R.size)){for(let e of j)e();j.clear()}};document.body.addEventListener("transitionrun",(t=>{let r=R.get(t.target);r||(r=new Set,R.set(t.target,r),t.target.addEventListener("transitioncancel",e)),r.add(t.propertyName)})),document.body.addEventListener("transitionend",e)}function U(e){requestAnimationFrame((()=>{0===R.size?e():j.add(e)}))}"undefined"!=typeof document&&("loading"!==document.readyState?$():document.addEventListener("DOMContentLoaded",$)),D({},"useDrag1D",(()=>V));const z=[];function V(e){console.warn("useDrag1D is deprecated, please use `useMove` instead https://react-spectrum.adobe.com/react-aria/useMove.html");let{containerRef:t,reverse:r,orientation:i,onHover:s,onDrag:o,onPositionChange:a,onIncrement:u,onDecrement:l,onIncrementToMax:c,onDecrementToMin:p,onCollapseToggle:h}=e,d=e=>{let n=L(t.current,r,i),s=(e=>"horizontal"===i?e.clientX:e.clientY)(e);return r?n-s:s-n},f=(0,n.useRef)(!1),m=(0,n.useRef)(0),g=(0,n.useRef)({onPositionChange:a,onDrag:o});g.current.onDrag=o,g.current.onPositionChange=a;let y=e=>{e.preventDefault();let t=d(e);f.current||(f.current=!0,g.current.onDrag&&g.current.onDrag(!0),g.current.onPositionChange&&g.current.onPositionChange(t)),m.current!==t&&(m.current=t,a&&a(t))},b=e=>{const t=e.target;f.current=!1;let r=d(e);g.current.onDrag&&g.current.onDrag(!1),g.current.onPositionChange&&g.current.onPositionChange(r),z.splice(z.indexOf(t),1),window.removeEventListener("mouseup",b,!1),window.removeEventListener("mousemove",y,!1)};return{onMouseDown:e=>{const t=e.currentTarget;z.some((e=>t.contains(e)))||(z.push(t),window.addEventListener("mousemove",y,!1),window.addEventListener("mouseup",b,!1))},onMouseEnter:()=>{s&&s(!0)},onMouseOut:()=>{s&&s(!1)},onKeyDown:e=>{switch(e.key){case"Left":case"ArrowLeft":"horizontal"===i&&(e.preventDefault(),l&&!r?l():u&&r&&u());break;case"Up":case"ArrowUp":"vertical"===i&&(e.preventDefault(),l&&!r?l():u&&r&&u());break;case"Right":case"ArrowRight":"horizontal"===i&&(e.preventDefault(),u&&!r?u():l&&r&&l());break;case"Down":case"ArrowDown":"vertical"===i&&(e.preventDefault(),u&&!r?u():l&&r&&l());break;case"Home":e.preventDefault(),p&&p();break;case"End":e.preventDefault(),c&&c();break;case"Enter":e.preventDefault(),h&&h()}}}}function W(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)(((t,r,n,i)=>{let s=(null==i?void 0:i.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:s,options:i}),t.addEventListener(r,n,i)}),[]),r=(0,n.useCallback)(((t,r,n,i)=>{var s;let o=(null===(s=e.current.get(n))||void 0===s?void 0:s.fn)||n;t.removeEventListener(r,o,i),e.current.delete(n)}),[]),i=(0,n.useCallback)((()=>{e.current.forEach(((e,t)=>{r(e.eventTarget,e.type,t,e.options)}))}),[r]);return(0,n.useEffect)((()=>i),[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}function H(e,t){let{id:r,"aria-label":n,"aria-labelledby":i}=e;if(r=S(r),i&&n){let e=new Set([...i.trim().split(/\s+/),r]);i=[...e].join(" ")}else i&&(i=i.trim().split(/\s+/).join(" "));return n||i||!t||(n=t),{id:r,"aria-label":n,"aria-labelledby":i}}function q(e){const t=(0,n.useRef)();return x((()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)}),[e]),t}function G(e,t){const r=(0,n.useRef)(!0);(0,n.useEffect)((()=>{r.current?r.current=!1:e()}),t)}function K(e){const{ref:t,onResize:r}=e;(0,n.useEffect)((()=>{let e=null==t?void 0:t.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};{const t=new window.ResizeObserver((e=>{e.length&&r()}));return t.observe(e),()=>{e&&t.unobserve(e)}}}}),[r,t])}function X(e,t){x((()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}}),[e,t])}function J(e){for(;e&&!Y(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Y(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}D({},"useGlobalListeners",(()=>W)),D({},"useLabels",(()=>H)),D({},"useObjectRef",(()=>q)),D({},"useUpdateEffect",(()=>G)),D({},"useResizeObserver",(()=>K)),D({},"useSyncRef",(()=>X)),D({},"getScrollParent",(()=>J)),D({},"useViewportSize",(()=>Q));let Z="undefined"!=typeof window&&window.visualViewport;function Q(){let[e,t]=(0,n.useState)((()=>ee()));return(0,n.useEffect)((()=>{let e=()=>{t((e=>{let t=ee();return t.width===e.width&&t.height===e.height?e:t}))};return Z?Z.addEventListener("resize",e):window.addEventListener("resize",e),()=>{Z?Z.removeEventListener("resize",e):window.removeEventListener("resize",e)}}),[]),e}function ee(){return{width:(null==Z?void 0:Z.width)||window.innerWidth,height:(null==Z?void 0:Z.height)||window.innerHeight}}D({},"useDescription",(()=>ne));let te=0;const re=new Map;function ne(e){let[t,r]=(0,n.useState)(null);return x((()=>{if(!e)return;let t=re.get(e);if(t)r(t.element.id);else{let n="react-aria-description-"+te++;r(n);let i=document.createElement("div");i.id=n,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},re.set(e,t)}return t.refCount++,()=>{0==--t.refCount&&(t.element.remove(),re.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}var ie={};function se(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function oe(e){return"undefined"!=typeof window&&null!=window.navigator&&e.test((window.navigator.userAgentData||window.navigator).platform)}function ae(){return oe(/^Mac/i)}function ue(){return oe(/^iPhone/i)}function le(){return oe(/^iPad/i)||ae()&&navigator.maxTouchPoints>1}function ce(){return ue()||le()}function pe(){return ae()||ce()}function he(){return se(/AppleWebKit/i)&&!de()}function de(){return se(/Chrome/i)}function fe(){return se(/Android/i)}function me(e,t,r,i){let s=(0,n.useRef)(r);s.current=r;let o=null==r;(0,n.useEffect)((()=>{if(o)return;let r=e.current,n=e=>s.current.call(this,e);return r.addEventListener(t,n,i),()=>{r.removeEventListener(t,n,i)}}),[e,t,i,o])}function ge(e){let[t,r]=(0,n.useState)(e),i=(0,n.useRef)(t),s=(0,n.useRef)(null);i.current=t;let o=(0,n.useRef)(null);o.current=()=>{let e=s.current.next();e.done?s.current=null:t===e.value?o.current():r(e.value)},x((()=>{s.current&&o.current()}));let a=(0,n.useCallback)((e=>{s.current=e(i.current),o.current()}),[s,o]);return[t,a]}function ye(e,t){let r=be(e,t,"left"),n=be(e,t,"top"),i=t.offsetWidth,s=t.offsetHeight,o=e.scrollLeft,a=e.scrollTop,u=o+e.offsetWidth,l=a+e.offsetHeight;r<=o?o=r:r+i>u&&(o+=r+i-u),n<=a?a=n:n+s>l&&(a+=n+s-l),e.scrollLeft=o,e.scrollTop=a}function be(e,t,r){const n="left"===r?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[n];break}t=t.offsetParent}return i}D(ie,"isMac",(()=>ae)),D(ie,"isIPhone",(()=>ue)),D(ie,"isIPad",(()=>le)),D(ie,"isIOS",(()=>ce)),D(ie,"isAppleDevice",(()=>pe)),D(ie,"isWebKit",(()=>he)),D(ie,"isChrome",(()=>de)),D(ie,"isAndroid",(()=>fe)),D({},"useEvent",(()=>me)),D({},"useValueEffect",(()=>ge)),D({},"scrollIntoView",(()=>ye))},95815:(e,t,r)=>{r.d(t,{HY:()=>c,Tw:()=>h,Yl:()=>l,y$:()=>u});var n=r(48122);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",o=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(i(1));return r(u)(e,t)}if("function"!=typeof e)throw new Error(i(2));var o=e,l=t,c=[],p=c,h=!1;function d(){p===c&&(p=c.slice())}function f(){if(h)throw new Error(i(3));return l}function m(e){if("function"!=typeof e)throw new Error(i(4));if(h)throw new Error(i(5));var t=!0;return d(),p.push(e),function(){if(t){if(h)throw new Error(i(6));t=!1,d();var r=p.indexOf(e);p.splice(r,1),c=null}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(i(7));if(void 0===e.type)throw new Error(i(8));if(h)throw new Error(i(9));try{h=!0,l=o(l,e)}finally{h=!1}for(var t=c=p,r=0;r<t.length;r++)(0,t[r])();return e}return g({type:a.INIT}),(n={dispatch:g,subscribe:m,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw new Error(i(10));o=e,g({type:a.REPLACE})}})[s]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(i(11));function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[s]=function(){return this},e},n}var l=u;function c(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var s=t[n];"function"==typeof e[s]&&(r[s]=e[s])}var o,u=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:a.INIT}))throw new Error(i(12));if(void 0===r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(r)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var n=!1,s={},a=0;a<u.length;a++){var l=u[a],c=r[l],p=e[l],h=c(p,t);if(void 0===h)throw t&&t.type,new Error(i(14));s[l]=h,n=n||h!==p}return(n=n||u.length!==Object.keys(e).length)?s:e}}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),s=function(){throw new Error(i(15))},o={getState:r.getState,dispatch:function(){return s.apply(void 0,arguments)}},a=t.map((function(e){return e(o)}));return s=p.apply(void 0,a)(r.dispatch),(0,n.A)((0,n.A)({},r),{},{dispatch:s})}}}},96065:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,null,!0),i=n(t,null,!0),s=r.compare(i);if(0===s)return null;const o=s>0,a=o?r:i,u=o?i:r,l=!!a.prerelease.length;if(u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(a))return u.minor&&!u.patch?"minor":"patch"}const c=l?"pre":"";return r.major!==i.major?c+"major":r.minor!==i.minor?c+"minor":r.patch!==i.patch?c+"patch":"prerelease"}},96073:e=>{e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},96208:(e,t,r)=>{function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},96362:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(6022),i=r(63706),s=r(41381),o=r(70161),a=function(e){function t(){return e.apply(this,arguments)||this}(0,n.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){return new i.TileLayer(e.url,this.getOptions(e))},r.updateLeafletElement=function(t,r){e.prototype.updateLeafletElement.call(this,t,r),r.url!==t.url&&this.leafletElement.setUrl(r.url)},t}(function(e){function t(){return e.apply(this,arguments)||this}(0,n.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){return new i.GridLayer(this.getOptions(e))},r.updateLeafletElement=function(e,t){var r=t.opacity,n=t.zIndex;r!==e.opacity&&this.leafletElement.setOpacity(r),n!==e.zIndex&&this.leafletElement.setZIndex(n)},r.getOptions=function(t){var r=e.prototype.getOptions.call(this,t);return null==t.leaflet.map?r:(0,o.A)({maxZoom:t.leaflet.map.options.maxZoom,minZoom:t.leaflet.map.options.minZoom},r)},r.render=function(){return null},t}(r(44707).A));const u=(0,s.k0)(a)},96750:(e,t,r)=>{const n=r(87998);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},97199:(e,t,r)=>{var n=r(96652),i=r(58695),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,a=n.useRef,u=n.useEffect,l=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var p=a(null);if(null===p.current){var h={hasValue:!1,value:null};p.current=h}else h=p.current;p=l((function(){function e(e){if(!u){if(u=!0,o=e,e=n(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return a=t}return a=e}if(t=a,s(o,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(o=e,t):(o=e,a=r)}var o,a,u=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,r,n,i]);var d=o(e,p[0],p[1]);return u((function(){h.hasValue=!0,h.value=d}),[d]),c(d),d}},97863:(e,t,r)=>{const{MathFloor:n,NumberIsInteger:i}=r(12450),{validateInteger:s}=r(79337),{ERR_INVALID_ARG_VALUE:o}=r(26503).codes;let a=16384,u=16;function l(e){return e?u:a}e.exports={getHighWaterMark:function(e,t,r,s){const a=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,r);if(null!=a){if(!i(a)||a<0)throw new o(s?`options.${r}`:"options.highWaterMark",a);return n(a)}return l(e.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(e,t){s(t,"value",0),e?u=t:a=t}}},97957:(e,t,r)=>{const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:s,Uint8Array:o}=r(12450),{Buffer:a}=r(67787),{inspect:u}=r(46108);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return a.alloc(0);const t=a.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)s(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,i=0;do{const s=r.data;if(!(e>s.length)){e===s.length?(t+=s,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(s,0,e),this.head=r,r.data=n(s,e));break}t+=s,e-=s.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){const t=a.allocUnsafe(e),r=e;let n=this.head,i=0;do{const a=n.data;if(!(e>a.length)){e===a.length?(s(t,a,r-e),++i,n.next?this.head=n.next:this.head=this.tail=null):(s(t,new o(a.buffer,a.byteOffset,e),r-e),this.head=n,n.data=a.slice(e));break}s(t,a,r-e),e-=a.length,++i}while(null!==(n=n.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}},97967:(e,t,r)=>{const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:s}=r(12450),o=s("nodejs.stream.destroyed"),a=s("nodejs.stream.errored"),u=s("nodejs.stream.readable"),l=s("nodejs.stream.writable"),c=s("nodejs.stream.disturbed"),p=s("nodejs.webstream.isClosedPromise"),h=s("nodejs.webstream.controllerErrorFunction");function d(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||void 0===r?void 0:r.readable)||e._writableState&&!e._readableState)}function f(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function m(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function g(e){return!(!e||m(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function y(e){return!(!e||m(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function b(e){return!(!e||m(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function v(e){if(!m(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[o]||null!=n&&n.destroyed)}function D(e){if(!f(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function E(e,t){if(!d(e))return null;const r=e._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function x(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!v(e)&&d(e)&&e.readable&&!E(e)}function w(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null==e?void 0:e.writable)?null:!v(e)&&f(e)&&e.writable&&!D(e)}function S(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function C(e){return"boolean"==typeof e._sent100&&S(e)}e.exports={isDestroyed:v,kIsDestroyed:o,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,i,s,o,u,l,c,p;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e[a])&&void 0!==o?o:e.readableErrored)&&void 0!==s?s:e.writableErrored)&&void 0!==i?i:null===(u=e._readableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==n?n:null===(l=e._writableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==t?t:null===(p=e._writableState)||void 0===p?void 0:p.errored))},kIsErrored:a,isReadable:x,kIsReadable:u,kIsClosedPromise:p,kControllerErrorFunction:h,kIsWritable:l,isClosed:function(e){if(!m(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==t?void 0:t.closed)||(null==r?void 0:r.closed):"boolean"==typeof e._closed&&S(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return m(e)?!(!v(e)&&(!1!==(null==t?void 0:t.readable)&&x(e)||!1!==(null==t?void 0:t.writable)&&w(e))):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[i]:"function"==typeof e[n]||"function"==typeof e[i])},isReadableNodeStream:d,isReadableStream:g,isReadableEnded:function(e){if(!d(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:E,isReadableErrored:function(e){var t,r;return m(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:m,isWebStream:function(e){return g(e)||y(e)||b(e)},isWritable:w,isWritableNodeStream:f,isWritableStream:y,isWritableEnded:D,isWritableFinished:function(e,t){if(!f(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return m(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:C,willEmitClose:function(e){if(!m(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&C(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:b}},98437:(e,t,r)=>{var n=r(65994).e,i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},s=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(l(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(s,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])y(a)||!x(a)?o+=" "+a:o+=" "+l(a);return o},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var o={},a=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+u+"$","i")}function l(e,r){var n={seen:[],stylize:p};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),D(n.showHidden)&&(n.showHidden=!1),D(n.depth)&&(n.depth=2),D(n.colors)&&(n.colors=!1),D(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),h(n,e,n.depth)}function c(e,t){var r=l.styles[t];return r?"["+l.colors[r][0]+"m"+e+"["+l.colors[r][1]+"m":e}function p(e,t){return e}function h(e,r,n){if(e.customInspect&&r&&C(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return v(i)||(i=h(e,i,n)),i}var s=function(e,t){if(D(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return b(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}(e,r);if(s)return s;var o=Object.keys(r),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),S(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return d(r);if(0===o.length){if(C(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return d(r)}var l,c="",p=!1,x=["{","}"];return m(r)&&(p=!0,x=["[","]"]),C(r)&&(c=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(c=" "+RegExp.prototype.toString.call(r)),w(r)&&(c=" "+Date.prototype.toUTCString.call(r)),S(r)&&(c=" "+d(r)),0!==o.length||p&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=p?function(e,t,r,n,i){for(var s=[],o=0,a=t.length;o<a;++o)F(t,String(o))?s.push(f(e,t,r,n,String(o),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(f(e,t,r,n,i,!0))})),s}(e,r,n,a,o):o.map((function(t){return f(e,r,n,a,t,p)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(l,c,x)):x[0]+c+x[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,s){var o,a,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),F(n,i)||(o="["+i+"]"),a||(e.seen.indexOf(u.value)<0?(a=y(r)?h(e,u.value,null):h(e,u.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),D(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function b(e){return"number"==typeof e}function v(e){return"string"==typeof e}function D(e){return void 0===e}function E(e){return x(e)&&"[object RegExp]"===A(e)}function x(e){return"object"==typeof e&&null!==e}function w(e){return x(e)&&"[object Date]"===A(e)}function S(e){return x(e)&&("[object Error]"===A(e)||e instanceof Error)}function C(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var r=n.pid;o[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else o[e]=function(){};return o[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(29892),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=D,t.isRegExp=E,t.types.isRegExp=E,t.isObject=x,t.isDate=w,t.types.isDate=w,t.isError=S,t.types.isNativeError=S,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(71267);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[T((e=new Date).getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":"),[e.getDate(),P[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(25003),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function N(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(I&&e[I]){var t;if("function"!=typeof(t=e[I]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),I&&Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=I,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};e.apply(this,t).then((function(e){n.nextTick(o.bind(null,null,e))}),(function(e){n.nextTick(N.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},98999:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,u=[],l=!1,c=-1;function p(){l&&a&&(l=!1,a.length?u=a.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=o(p);l=!0;for(var t=u.length;t;){for(a=u,u=[];++c<t;)a&&a[c].run();c=-1,t=u.length}a=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function f(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new d(e,t)),1!==u.length||l||o(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}};
|
|
23
|
+
`,cliCategory:s},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:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:s,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:a,options:u}}}),oe=v({"src/main/support.js"(e,t){w();var r={compare:ee(),lt:te(),gte:re()},n=ne(),i=S().version,s=se().options;t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:o=!1,showInternal:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=i.split("-",1)[0],p=e.flatMap((e=>e.languages||[])).filter(d),h=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),s),"name").filter((e=>d(e)&&f(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(e){if(u)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return c(e,a)})).map((t=>{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)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>d(e)&&f(e))),"parser"===t.name&&function(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;s&&s.name&&(o+=` (plugin: ${s.name})`),e.choices.push({value:t,description:o})}}(t,p,e));let n=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:n})}));return{languages:p,options:h};function d(e){return t||!("since"in e)||e.since&&r.gte(l,e.since)}function f(e){return o||!("deprecated"in e)||e.deprecated&&r.lt(l,e.deprecated)}}}}}),ae=v({"src/utils/is-non-empty-array.js"(e,t){w(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),ue=v({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}w();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),le=v({"src/utils/text/skip-inline-comment.js"(e,t){w(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),ce=v({"src/utils/text/skip-trailing-comment.js"(e,t){w();var{skipEverythingButNewLine:r}=ue();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),pe=v({"src/utils/text/skip-newline.js"(e,t){w(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),he=v({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){w();var r=le(),n=pe(),i=ce(),{skipSpaces:s}=ue();t.exports=function(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}}}),de=v({"src/common/util.js"(e,t){w();var{default:r}=(G(),x(H)),n=F(),{getSupportInfo:i}=oe(),s=ae(),o=$(),{skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c}=ue(),p=le(),h=ce(),d=pe(),f=he();function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function g(e,t){let r=null,n=t;for(;n!==r;)r=n,n=l(e,n),n=p(e,n),n=u(e,n);return n=h(e,n),n=d(e,n),!1!==n&&m(e,n)}function y(e,t,r){return f(e,r(t))}function b(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function v(e,t){let r={quote:'"',regex:/"/g,escaped:"""},n={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?n:r,s=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(s.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i),o}function D(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function E(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",r=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 r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)}));return n&&n.parsers[0]},getStringWidth:o,getMaxContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>s&&(s=r)}for(let e=1;e<s;e++)if(!i.get(e))return e;return s+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(y(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}},skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:g,isNextLineEmpty:function(e,t,r){return g(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=u(e,n,{backwards:!0}),n=d(e,n,{backwards:!0}),n=u(e,n,{backwards:!0}),n!==d(e,n,{backwards:!0})},hasNewline:m,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:b,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:b(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:v,printString:function(e,t){let r=e.slice(1,-1);return D(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":v(r,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:D,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,E(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),E(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,E(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:s,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),fe={};function me(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function ge(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=me(Se(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function ye(e){var t=be(e),r="/"===Ne(e,-1);return!(e=me(Se(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function be(e){return"/"===e.charAt(0)}function ve(){return ye(Se(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function De(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=ge(e).substr(1),t=ge(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;a<s;a++)if(n[a]!==i[a]){o=a;break}var u=[];for(a=o;a<n.length;a++)u.push("..");return(u=u.concat(i.slice(o))).join("/")}function Ee(e){var t=Ae(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function xe(e,t){var r=Ae(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function we(e){return Ae(e)[3]}function Se(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}D(fe,{basename:()=>xe,default:()=>Ie,delimiter:()=>Pe,dirname:()=>Ee,extname:()=>we,isAbsolute:()=>be,join:()=>ve,normalize:()=>ye,relative:()=>De,resolve:()=>ge,sep:()=>Te});var Ce,Ae,Te,Pe,Ie,Ne,ke=b({"node-modules-polyfills:path"(){w(),Ce=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ae=function(e){return Ce.exec(e).slice(1)},Ie={extname:we,basename:xe,dirname:Ee,sep:Te="/",delimiter:Pe=":",relative:De,join:ve,isAbsolute:be,normalize:ye,resolve:ge},Ne=function(e,t,r){return e.substr(t,r)}}}),_e=v({"node-modules-polyfills-commonjs:path"(e,t){w();var r=(ke(),x(fe));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Oe=v({"src/common/errors.js"(e,t){w();var r=class extends Error{},n=class extends Error{},i=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:s}}}),Me={};function Le(e,t){function r(){this.constructor=e}ut(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Re(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function je(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function Ue(e,t){return function(r,n){t(r,n,e)}}function We(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function He(e,t,r,n){return new(r||(r=Promise))((function(i,s){function o(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(o,a)}u((n=n.apply(e,t||[])).next())}))}function qe(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function Ge(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function Ke(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Xe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function Ye(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Je(arguments[t]));return e}function Ze(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function Qe(e){return this instanceof Qe?(this.v=e,this):new Qe(e)}function et(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{!function(e){e.value instanceof Qe?Promise.resolve(e.value.v).then(u,l):c(s[0][2],e)}(i[e](t))}catch(e){c(s[0][3],e)}}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function tt(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:Qe(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function rt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Xe(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function nt(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function it(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function st(e){return e&&e.__esModule?e:{default:e}}function ot(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function at(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}D(Me,{__assign:()=>lt,__asyncDelegator:()=>tt,__asyncGenerator:()=>et,__asyncValues:()=>rt,__await:()=>Qe,__awaiter:()=>He,__classPrivateFieldGet:()=>ot,__classPrivateFieldSet:()=>at,__createBinding:()=>Ge,__decorate:()=>je,__exportStar:()=>Ke,__extends:()=>Le,__generator:()=>qe,__importDefault:()=>st,__importStar:()=>it,__makeTemplateObject:()=>nt,__metadata:()=>We,__param:()=>Ue,__read:()=>Je,__rest:()=>Re,__spread:()=>Ye,__spreadArrays:()=>Ze,__values:()=>Xe});var ut,lt,ct=b({"node_modules/tslib/tslib.es6.js"(){w(),ut=function(e,t){return(ut=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},lt=function(){return lt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lt.apply(this,arguments)}}}),pt=v({"node_modules/vnopts/lib/descriptors/api.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_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 r=Object.keys(t);return 0===r.length?"{}":`{ ${r.map((r=>`${e.apiDescriptor.key(r)}: ${e.apiDescriptor.value(t[r])}`)).join(", ")} }`},pair:t=>{let{key:r,value:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),ht=v({"node_modules/vnopts/lib/descriptors/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(pt(),e)}}),dt=v({"scripts/build/shims/chalk.cjs"(e,t){w();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),ft=v({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:i}=n,s=[`${t.default.yellow("string"==typeof e?i.key(e):i.pair(e))} is deprecated`];return r&&s.push(`we now treat it as ${t.default.blue("string"==typeof r?i.key(r):i.pair(r))}`),s.join("; ")+"."}}}),mt=v({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(ft(),e)}}),gt=v({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();e.commonInvalidHandler=(e,r,n)=>[`Invalid ${t.default.red(n.descriptor.key(e))} value.`,`Expected ${t.default.blue(n.schemas[e].expected(n))},`,`but received ${t.default.red(n.descriptor.value(r))}.`].join(" ")}}),yt=v({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(gt(),e)}}),bt=v({"node_modules/vnopts/node_modules/leven/index.js"(e,t){w();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var s=e.length,o=t.length;if(0===s)return o;if(0===o)return s;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-o);)s--,o--;if(0===s)return o;for(var a=0;a<s&&e.charCodeAt(a)===t.charCodeAt(a);)a++;if(o-=a,0==(s-=a))return o;for(var u,l,c,p,h=0,d=0;h<s;)n[a+h]=e.charCodeAt(a+h),r[h]=++h;for(;d<o;)for(u=t.charCodeAt(a+d),c=d++,l=d,h=0;h<s;h++)p=u===n[a+h]?c:c+1,c=r[h],l=r[h]=c>l?p>l?l+1:p:p>c?c+1:p;return l}}}),vt=v({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt(),r=bt();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:o,schemas:a}=i,u=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:n}))}.`],l=Object.keys(a).sort().find((t=>r(e,t)<3));l&&u.push(`Did you mean ${t.default.blue(s.key(l))}?`),o.warn(u.join(" "))}}}),Dt=v({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(vt(),e)}}),Et=v({"node_modules/vnopts/lib/handlers/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(mt(),e),t.__exportStar(yt(),e),t.__exportStar(Dt(),e)}}),xt=v({"node_modules/vnopts/lib/schema.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let s=new e(r),o=Object.create(s);for(let e of t)e in r&&(o[e]=i(r[e],s,n.prototype[e].length));return o}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(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,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e(...i.slice(0,r-1),t,...i.slice(r-1))}:()=>e}e.Schema=n}}),wt=v({"node_modules/vnopts/lib/schemas/alias.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=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=r}}),St=v({"node_modules/vnopts/lib/schemas/any.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),Ct=v({"node_modules/vnopts/lib/schemas/array.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me)),r=xt(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(i))}return r}redirect(e,t){let r=[],n=[];for(let s of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(s,t),s);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(i))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),At=v({"node_modules/vnopts/lib/schemas/boolean.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),Tt=v({"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 r(e,r){return void 0===e?[]:Array.isArray(e)?e.map((e=>t(e,r))):[t(e,r)]}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r[e]=n}return r},e.mapFromArray=function(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r.set(e,n)}return r},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}},e.partition=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?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){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},e.normalizeTransferResult=t,e.normalizeForwardResult=r,e.normalizeRedirectResult=function(e,t){let n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}}),Pt=v({"node_modules/vnopts/lib/schemas/choice.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=Tt(),n=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(r.comparePrimitive).map(t.value),i=n.slice(0,-2),s=n.slice(-2);return i.concat(s.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=n}}),Ft=v({"node_modules/vnopts/lib/schemas/number.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),It=v({"node_modules/vnopts/lib/schemas/integer.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Tt(),r=Ft(),n=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=n}}),Nt=v({"node_modules/vnopts/lib/schemas/string.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),kt=v({"node_modules/vnopts/lib/schemas/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(wt(),e),t.__exportStar(St(),e),t.__exportStar(Ct(),e),t.__exportStar(At(),e),t.__exportStar(Pt(),e),t.__exportStar(It(),e),t.__exportStar(Ft(),e),t.__exportStar(Nt(),e)}}),_t=v({"node_modules/vnopts/lib/defaults.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=pt(),r=ft(),n=yt(),i=vt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Ot=v({"node_modules/vnopts/lib/normalize.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=Tt();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:i=console,descriptor:s=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:a=t.defaultInvalidHandler,deprecated:u=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:s,logger:i||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=a,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],i=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};i();for(let e of Object.keys(this._utils.schemas)){let i=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(i.default(this._utils));"value"in t&&n.push({[e]:t.value})}}i();for(let e of Object.keys(this._utils.schemas)){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,s]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let s of i){let i=this._utils.schemas[s],o=i.preprocess(e[s],this._utils),a=r.normalizeValidateResult(i.validate(o,this._utils),o);if(!0!==a){let{value:e}=a,t=this._invalidHandler(s,e,this._utils);throw"string"==typeof t?new Error(t):t}let u=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},l=e=>{let{value:t,redirectTo:n}=e,a=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),o,!0);if(!1!==a)if(!0===a)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,n,this._utils));else for(let{value:e}of a){let t={key:s,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};r.normalizeForwardResult(i.forward(o,this._utils),o).forEach(u);let c=r.normalizeRedirectResult(i.redirect(o,this._utils),o);if(c.redirect.forEach(u),"remain"in c){let e=c.remain;t[s]=s in t?i.overlap(t[s],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of c.redirect)l({value:e,redirectTo:t})}for(let r of s){let i=e[r],s=this._unknownHandler(r,i,this._utils);if(s)for(let e of Object.keys(s)){let r={[e]:s[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),Mt=v({"node_modules/vnopts/lib/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(ht(),e),t.__exportStar(Et(),e),t.__exportStar(kt(),e),t.__exportStar(Ot(),e),t.__exportStar(xt(),e)}}),Lt=v({"src/main/options-normalizer.js"(e,t){w();var r,n=Mt(),i=F(),s={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?`--no-${t}`:!0===r?s.key(t):""===r?`${s.key(t)} without an argument`:`${s.key(t)}=${r}`}},o=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find((t=>r(t,e)<3));if(i)return n.logger.warn([`Unknown flag ${t.yellow(n.descriptor.value(e))},`,`did you mean ${t.blue(n.descriptor.value(i))}?`].join(" ")),i}return e}expected(){return"a flag"}}};function a(e,t){let{logger:i=!1,isCLI:o=!1,passThrough:a=!1,colorsModule:p=null,levenshteinDistance:h=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=a?Array.isArray(a)?(e,t)=>a.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let i=r.schemas,{_:s}=i,o=c(i,u);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:o}))},f=o?s:n.apiDescriptor,m=function(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,o=[];r&&o.push(n.AnySchema.create({name:"_"}));for(let t of e)o.push(l(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),t.alias&&r&&o.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}(t,{isCLI:o,colorsModule:p,levenshteinDistance:h}),g=new n.Normalizer(m,{logger:i,unknown:d,descriptor:f}),y=!1!==i;y&&r&&(g._hasDeprecationWarned=r);let b=g.normalize(e);return y&&(r=g._hasDeprecationWarned),o&&!1===b["plugin-search"]&&(b["plugin-search-dir"]=!1),b}function l(e,t){let{isCLI:r,optionInfos:s,colorsModule:a,levenshteinDistance:u}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return n.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},h={};switch(e.type){case"int":c=n.IntegerSchema,r&&(p.preprocess=Number);break;case"string":case"path":c=n.StringSchema;break;case"choice":c=n.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=n.BooleanSchema;break;case"flag":c=o({colorsModule:a,levenshteinDistance:u}),p.flags=s.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,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(h.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(h.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?i(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),h),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),h))}t.exports={normalizeApiOptions:function(e,t,r){return a(e,t,r)},normalizeCliOptions:function(e,t,r){return a(e,t,Object.assign({isCLI:!0},r))}}}}),Bt=v({"src/language-js/loc.js"(e,t){w();var r=ae();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:function(e,t){return s(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),Rt=v({"src/main/load-parser.js"(e,t){w(),t.exports=()=>{}}}),jt=v({"scripts/build/shims/babel-highlight.cjs"(e,t){w();var r=dt(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),$t=v({"node_modules/@babel/code-frame/lib/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=i,e.default=function(e,t,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";p.emitWarning?p.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return i(e,{start:{column:n=Math.max(n,0),line:t}},s)};var t=jt(),r=!1;var n=/\r\n|[\n\r\u2028\u2029]/;function i(e,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(i.highlightCode||i.forceColor)&&(0,t.shouldHighlight)(i),o=(0,t.getChalk)(i),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(o),u=(e,t)=>s?e(t):t,l=e.split(n),{start:c,end:p,markerLines:h}=function(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:o=3}=r||{},a=n.line,u=n.column,l=i.line,c=i.column,p=Math.max(a-(s+1),0),h=Math.min(t.length,l+o);-1===a&&(p=0),-1===l&&(h=t.length);let d=l-a,f={};if(d)for(let e=0;e<=d;e++){let r=e+a;if(u)if(0===e){let e=t[r-1].length;f[r]=[u,e-u+1]}else if(e===d)f[r]=[0,c];else{let n=t[r-e].length;f[r]=[0,n]}else f[r]=!0}else f[a]=u===c?!u||[u,0]:[u,c-u];return{start:p,end:h,markerLines:f}}(r,l,i),d=r.start&&"number"==typeof r.start.column,f=String(p).length,m=(s?(0,t.default)(e,i):e).split(n,p).slice(c,p).map(((e,t)=>{let r=c+1+t,n=` ${` ${r}`.slice(-f)} |`,s=h[r],o=!h[r+1];if(s){let t="";if(Array.isArray(s)){let r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),l=s[1]||1;t=["\n ",u(a.gutter,n.replace(/\d/g," "))," ",r,u(a.marker,"^").repeat(l)].join(""),o&&i.message&&(t+=" "+u(a.message,i.message))}return[u(a.marker,">"),u(a.gutter,n),e.length>0?` ${e}`:"",t].join("")}return` ${u(a.gutter,n)}${e.length>0?` ${e}`:""}`})).join("\n");return i.message&&!d&&(m=`${" ".repeat(f+1)}${i.message}\n${m}`),s?o.reset(m):m}}}),Ut=v({"src/main/parser.js"(e,t){w();var{ConfigError:r}=Oe(),n=Bt(),{locStart:i,locEnd:s}=(Rt(),n),o=Object.getOwnPropertyNames,a=Object.getOwnPropertyDescriptor;function u(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of o(r.parsers))Object.defineProperty(t,e,a(r.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:s};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}t.exports={parse:function(e,t){let r=u(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get:()=>r[e].parse}])))),i=l(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(t){let{loc:r}=t;if(r){let{codeFrameColumns:n}=$t();throw t.codeFrame=n(e,r,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t}},resolveParser:l}}}),zt=v({"src/main/options.js"(e,t){w();var r=_e(),{UndefinedParserError:n}=Oe(),{getSupportInfo:i}=oe(),s=Lt(),{resolveParser:o}=Ut(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function u(e,t){let n=r.basename(e).toLowerCase(),s=i({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));return s&&s.parsers[0]}t.exports={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),l=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,c=Object.assign(Object.assign({},a),Object.fromEntries(l.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=u(r.filepath,r.plugins),!r.parser)throw new n(`No parser could be inferred for file: ${r.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."),r.parser="babel";let p=o(s.normalizeApiOptions(r,[l.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=p.astFormat,r.locEnd=p.locEnd,r.locStart=p.locStart;let h=function(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find((e=>e.printers&&e.printers[t]));if(!r)throw new Error(`Couldn't find plugin for AST format "${t}"`);return r}(r);r.printer=h.printers[r.astFormat];let d=Object.fromEntries(l.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[h.name])).map((e=>[e.name,e.pluginDefaults[h.name]]))),f=Object.assign(Object.assign({},c),d);for(let[e,t]of Object.entries(f))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,l,Object.assign({passThrough:Object.keys(a)},t))},hiddenDefaults:a,inferParser:u}}}),Vt=v({"src/main/massage-ast.js"(e,t){w(),t.exports=function e(t,r,n){if(Array.isArray(t))return t.map((t=>e(t,r,n))).filter(Boolean);if(!t||"object"!=typeof t)return t;let i,s=r.printer.massageAstNode;i=s&&s.ignoredProperties?s.ignoredProperties:new Set;let o={};for(let[n,s]of Object.entries(t))!i.has(n)&&"function"!=typeof s&&(o[n]=e(s,r,t));if(s){let e=s(t,o,n);if(null===e)return;if(e)return e}return o}}}),Wt=v({"scripts/build/shims/assert.cjs"(e,t){w();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),Ht=v({"src/main/comments.js"(e,t){w();var r=Wt(),{builders:{line:n,hardline:i,breakParent:s,indent:o,lineSuffix:a,join:u,cursor:l}}=W(),{hasNewline:c,skipNewline:p,skipSpaces:h,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:g}=de(),y=new WeakMap;function b(e,t,r){if(!e)return;let{printer:n,locStart:i,locEnd:s}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(i(r[t])<=i(e)&&s(r[t])<=s(e));--t);return void r.splice(t+1,0,e)}}else if(y.has(e))return y.get(e);let o=n.getCommentChildNodes&&n.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){r||(r=[],y.set(e,r));for(let e of o)b(e,t,r);return r}}function v(e,t,r,n){let i,s,{locStart:o,locEnd:a}=r,u=o(t),l=a(t),c=b(e,r),p=0,h=c.length;for(;p<h;){let e=p+h>>1,n=c[e],d=o(n),f=a(n);if(d<=u&&l<=f)return v(n,t,r,n);if(f<=u)i=n,p=e+1;else{if(!(l<=d))throw new Error("Comment location overlaps with node location");s=n,h=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,o=T(e,t,r);i&&T(e,i,r)!==o&&(i=null),s&&T(e,s,r)!==o&&(s=null)}return{enclosingNode:n,precedingNode:i,followingNode:s}}var D=()=>!1;var E=e=>!/[\S\n\u2028\u2029]/.test(e);function x(e,t,r,n){let{comment:i,precedingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=o(i);if(s)for(let t=n-1;t>=0;t--){let{comment:n,precedingNode:i}=r[t];if(i!==s||!E(e.slice(a(n),u)))break;u=o(n)}return c(e,u,{backwards:!0})}function S(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=a(i);if(s)for(let t=n+1;t<r.length;t++){let{comment:n,followingNode:i}=r[t];if(i!==s||!E(e.slice(u,o(n))))break;u=a(n)}return c(e,u)}function C(e,t,n){let i=e.length;if(0===i)return;let s,{precedingNode:o,followingNode:a,enclosingNode:u}=e[0],l=n.printer.getGapRegex&&n.printer.getGapRegex(u)||/^[\s(]*$/,c=n.locStart(a);for(s=i;s>0;--s){let{comment:i,precedingNode:u,followingNode:p}=e[s-1];r.strictEqual(u,o),r.strictEqual(p,a);let h=t.slice(n.locEnd(i),c);if(!l.test(h))break;c=n.locStart(i)}for(let[t,{comment:r}]of e.entries())t<s?g(o,r):f(a,r);for(let e of[o,a])e.comments&&e.comments.length>1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function A(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function T(e,t,r){let n=r.locStart(t)-1;for(let t=1;t<e.length;++t)if(n<r.locStart(e[t]))return t-1;return 0}function P(e,t,r){let o=e.getValue();if(!o)return{};let u=o.comments||[];r&&(u=u.filter((e=>!r.has(e))));let f=o===t.cursorNode;if(0===u.length){let e=f?l:"";return{leading:e,trailing:e}}let m=[],g=[];return e.each((()=>{let o=e.getValue();if(r&&r.has(o))return;let{leading:u,trailing:l}=o;u?m.push(function(e,t){let r=e.getValue(),s=[A(e,t)],{printer:o,originalText:a,locStart:u,locEnd:l}=t;if(o.isBlockComment&&o.isBlockComment(r)){let e=c(a,l(r))?c(a,u(r),{backwards:!0})?i:n:" ";s.push(e)}else s.push(i);let d=p(a,h(a,l(r)));return!1!==d&&c(a,d)&&s.push(i),s}(e,t)):l&&g.push(function(e,t){let r=e.getValue(),n=A(e,t),{printer:o,originalText:u,locStart:l}=t,p=o.isBlockComment&&o.isBlockComment(r);if(c(u,l(r),{backwards:!0})){let e=d(u,r,l);return a([i,e?i:"",n])}let h=[" ",n];return p||(h=[a(h),s]),h}(e,t))}),"comments"),f&&(m.unshift(l),g.push(l)),{leading:m,trailing:g}}t.exports={attach:function(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:s,locEnd:o,printer:{handleComments:a={}}}=n,{avoidAstMutation:u,ownLine:l=D,endOfLine:c=D,remaining:p=D}=a,h=e.map(((i,s)=>Object.assign(Object.assign({},v(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===s})));for(let[e,t]of h.entries()){let r,{comment:n,precedingNode:a,enclosingNode:d,followingNode:y,text:b,options:v,ast:D,isLastComment:E}=t;if("json"===v.parser||"json5"===v.parser||"__js_expression"===v.parser||"__vue_expression"===v.parser||"__vue_ts_expression"===v.parser){if(s(n)-s(D)<=0){f(D,n);continue}if(o(n)-o(D)>=0){g(D,n);continue}}if(u?r=[t]:(n.enclosingNode=d,n.precedingNode=a,n.followingNode=y,r=[n,b,v,D,E]),x(b,v,h,e))n.placement="ownLine",l(...r)||(y?f(y,n):a?g(a,n):m(d||D,n));else if(S(b,v,h,e))n.placement="endOfLine",c(...r)||(a?g(a,n):y?f(y,n):m(d||D,n));else if(n.placement="remaining",!p(...r))if(a&&y){let e=i.length;e>0&&i[e-1].followingNode!==y&&C(i,b,v),i.push(t)}else a?g(a,n):y?f(y,n):m(d||D,n)}if(C(i,r,n),!u)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,r,n){let{leading:i,trailing:s}=P(e,r,n);return i||s?[i,t,s]:t},printCommentsSeparately:P,printDanglingComments:function(e,t,r,n){let s=[],a=e.getValue();return a&&a.comments&&(e.each((()=>{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&s.push(A(e,t))}),"comments"),0!==s.length)?r?u(i,s):o([i,u(i,s)]):""},getSortedChildNodes:b,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}}}}}),qt=v({"src/common/ast-path.js"(e,t){w();var r=F();function n(e,t){let r=i(e.stack,t);return-1===r?null:e.stack[r]}function i(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}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 r(this.stack)}getNode(){return n(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return n(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);let u=e(this);return t.length=n,u}callParent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),s=e(this);return this.stack.push(...n),s}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);for(let r=0;r<i.length;++r)t.push(r,i[r]),e(this,r,i),t.length-=2;t.length=n}map(e){let t=[];for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this.each(((r,n,i)=>{t[n]=e(r,n,i)}),...n),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];for(let n of i){if(void 0===r)return!1;let i=null;if("number"==typeof t&&(i=t,t=this.stack[e--],r=this.stack[e--]),n&&!n(r,t,i))return!1;t=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(;n;){let i=null;if("number"==typeof r&&(i=r,r=this.stack[t--],n=this.stack[t--]),null!==r&&e(n,r,i))return n;r=this.stack[t--],n=this.stack[t--]}}}}}),Gt=v({"src/main/multiparser.js"(e,t){w();var{utils:{stripTrailingHardline:r}}=W(),{normalize:n}=zt(),i=Ht();t.exports={printSubtree:function(e,t,s,o){if(s.printer.embed&&"auto"===s.embeddedLanguageFormatting)return s.printer.embed(e,t,((e,t,a)=>function(e,t,s,o){let{stripTrailingHardline:a=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=n(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),l=Ut().parse(e,u),{ast:c}=l;e=l.text;let p=c.comments;delete c.comments,i.attach(p,c,e,u),u[Symbol.for("comments")]=p||[],u[Symbol.for("tokens")]=c.tokens||[];let h=o(c,u);return i.ensureAllCommentsPrinted(p),a?"string"==typeof h?h.replace(/(?:\r?\n)*$/,""):r(h):h}(e,t,s,o,a)),s)}}}}),Kt=v({"src/main/ast-to-doc.js"(e,t){w();var r=qt(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:s}}=W(),{printComments:o}=Ht(),a=Gt();function u(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:c}=t;c.preprocess&&(e=c.preprocess(e,t));let p=new Map,h=new r(e),d=f();return l>0&&(d=i([n,d],l,t.tabWidth)),s(d),d;function f(e,t){return void 0===e||e===h?m(t):Array.isArray(e)?h.call((()=>m(t)),...e):h.call((()=>m(t)),e)}function m(e){let r=h.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&p.has(r))return p.get(r);let i=function(e,t,r,n){let i,s,l=e.getValue(),{printer:c}=t;if(c.hasPrettierIgnore&&c.hasPrettierIgnore(e))({doc:i,printedComments:s}=function(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:s}=t,o=i(e),a=s(e),u=new Set;for(let e of n)i(e)>=o&&s(e)<=a&&(e.printed=!0,u.add(e));return{doc:r.slice(o,a),printedComments:u}}(l,t));else{if(l)try{i=a.printSubtree(e,r,t,u)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}i||(i=c.print(e,t,r,n))}return(!c.willPrintOwnComments||!c.willPrintOwnComments(e,t))&&(i=o(e,i,t,s)),i}(h,t,f,e);return n&&p.set(r,i),i}}t.exports=u}}),Xt=v({"src/main/range-util.js"(e,t){w();var r=Wt(),n=Ht();function i(e){let t=e.length-1;for(;;){let r=e[t];if(!r||"Program"!==r.type&&"File"!==r.type)break;t--}return e.slice(0,t+1)}function s(e,t,r,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,{locStart:u,locEnd:l}=r,c=u(e),p=l(e);if(!(t>p||t<c||"rangeEnd"===a&&t===c||"rangeStart"===a&&t===p)){for(let u of n.getSortedChildNodes(e,r)){let n=s(u,t,r,i,[e,...o],a);if(n)return n}if(!i||i(e,o[0]))return{node:e,parentNodes:o}}}var o=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),a=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function u(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,r&&r.type);case"json":case"json5":case"json-stringify":return o.has(t.type);case"graphql":return a.has(t.kind);case"vue":return"root"!==t.tag}return!1}t.exports={calculateRange:function(e,t,n){let{rangeStart:a,rangeEnd:l,locStart:c,locEnd:p}=t;r.ok(l>a);let h=e.slice(a,l).search(/\S/),d=-1===h;if(!d)for(a+=h;l>a&&!/\S/.test(e[l-1]);--l);let f,m,g=s(n,a,t,((e,r)=>u(t,e,r)),[],"rangeStart"),y=d?g:s(n,l,t,(e=>u(t,e)),[],"rangeEnd");if(!g||!y)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 r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((e=>o.has(e.type)&&n.has(e)))}(g,y);f=e,m=e}else({startNode:f,endNode:m}=function(e,t,r){let{locStart:n,locEnd:s}=r,o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let u=n(e.node);for(let e of i(t.parentNodes)){if(!(n(e)>=u))break;a=e}let l=s(t.node);for(let t of i(e.parentNodes)){if(!(s(t)<=l))break;if(o=t,o===a)break}return{startNode:o,endNode:a}}(g,y,t));return{rangeStart:Math.min(c(f),c(m)),rangeEnd:Math.max(p(f),p(m))}},findNodeAtOffset:s}}}),Jt=v({"src/main/core.js"(e,t){w();var{diffArrays:r}=A(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=W(),{getAlignmentSize:s}=de(),{guessEndOfLine:o,convertEndOfLineToChars:a,countEndOfLineChars:u,normalizeEndOfLine:l}=P(),c=zt().normalize,p=Vt(),h=Ht(),d=Ut(),f=Kt(),m=Xt(),g=Symbol("cursor");function y(e,t,r){let n=t.comments;return n&&(delete t.comments,h.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function b(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:s,text:o}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(s,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let u=y(o,s,t),l=f(s,t,i),c=n(l,t);if(h.ensureAllCommentsPrinted(u),i>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,n,i,s,a;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,s=c.cursorNodeStart,a=c.cursorNodeText):(e=0,n=o,i=t.cursorOffset,s=0,a=c.formatted),n===a)return{formatted:c.formatted,cursorOffset:s+i,comments:u};let l=[...n];l.splice(i,0,g);let p=[...a],h=r(l,p),d=s;for(let e of h)if(e.removed){if(e.value.includes(g))break}else d+=e.count;return{formatted:c.formatted,cursorOffset:d,comments:u}}return{formatted:c.formatted,cursorOffset:-1,comments:u}}function v(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function D(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=v(e,r,-1),n=v(e,n,0),i=v(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function E(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=D(e,t),a="\ufeff"===e.charAt(0);if(a&&(e=e.slice(1),r--,n--,i--),"auto"===s&&(s=o(e)),e.includes("\r")){let t=t=>u(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=l(e)}return{hasBOM:a,text:e,options:D(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}))}}function x(e,t){let r=d.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function S(e,t){let r,{hasBOM:n,text:i,options:o}=E(e,c(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!x(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<i.length?r=function(e,t){let{ast:r,text:n}=d.parse(e,t),{rangeStart:i,rangeEnd:o}=m.calculateRange(n,t,r),l=n.slice(i,o),c=Math.min(i,n.lastIndexOf("\n",i)+1),p=n.slice(c,i).match(/^\s*/)[0],h=s(p,t.tabWidth),f=b(l,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"}),h),g=f.formatted.trimEnd(),{cursorOffset:y}=t;y>o?y+=g.length-l.length:f.cursorOffset>=0&&(y=f.cursorOffset+i);let v=n.slice(0,i)+g+n.slice(o);if("lf"!==t.endOfLine){let e=a(t.endOfLine);y>=0&&"\r\n"===e&&(y+=u(v.slice(0,y),"\n")),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:y,comments:f.comments}}(i,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!x(i,o)&&(i=o.printer.insertPragma(i)),r=b(i,o)),n&&(r.formatted="\ufeff"+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:S,parse(e,t,r){let{text:n,options:i}=E(e,c(t)),s=d.parse(n,i);return r&&(s.ast=p(s.ast,i)),s},formatAST(e,t){t=c(t);let r=f(e,t);return n(r,t)},formatDoc:(e,t)=>S(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:r,text:n}=d.parse(e,t);return y(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,c(t))}}}),Yt=v({"src/common/util-shared.js"(e,t){w();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:E,addLeadingComment:x,addDanglingComment:S,addTrailingComment:C}=de();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:E,addLeadingComment:x,addDanglingComment:S,addTrailingComment:C}}}),Zt=v({"src/utils/create-language.js"(e,t){w(),t.exports=function(e,t){let{languageId:r}=e,n=c(e,l);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),Qt=v({"node_modules/esutils/lib/ast.js"(e,t){w(),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 r(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=r(t)}while(t);return!1},trailingStatement:r}}()}}),er=v({"node_modules/esutils/lib/code.js"(e,t){w(),function(){var e,r,n,i,s,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(r={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]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(s=new Array(128),o=0;o<128;++o)s[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&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(a(t))},isIdentifierPartES6:function(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(a(t))}}}()}}),tr=v({"node_modules/esutils/lib/keyword.js"(e,t){w(),function(){var e=er();function r(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(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 i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(t){var r,n,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(r=1,n=t.length;r<n;++r)if(i=t.charCodeAt(r),!e.isIdentifierPartES5(i))return!1;return!0}function a(e,t){return 1024*(e-55296)+(t-56320)+65536}function u(t){var r,n,i,s,o;if(0===t.length)return!1;for(o=e.isIdentifierStartES6,r=0,n=t.length;r<n;++r){if(55296<=(i=t.charCodeAt(r))&&i<=56319){if(++r>=n||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;i=a(i,s)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:i,isReservedWordES6:s,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:u,isIdentifierES5:function(e,t){return o(e)&&!i(e,t)},isIdentifierES6:function(e,t){return u(e)&&!s(e,t)}}}()}}),rr=v({"node_modules/esutils/lib/utils.js"(e){w(),e.ast=Qt(),e.code=er(),e.keyword=tr()}}),nr=v({"src/language-js/utils/is-block-comment.js"(e,t){w();var r=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>r.has(null==e?void 0:e.type)}}),ir=v({"src/language-js/utils/is-node-matches.js"(e,t){w(),t.exports=function(e,t){return t.some((t=>function(e,t){let r=t.split(".");for(let t=r.length-1;t>=0;t--){let n=r[t];if(0===t)return"Identifier"===e.type&&e.name===n;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}(e,t)))}}}),sr=v({"src/language-js/utils/index.js"(e,t){w();var r=rr().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:s,isNonEmptyArray:o,isNextLineEmptyAfterIndex:a,getStringWidth:u}=de(),{locStart:l,locEnd:c,hasSameLocStart:p}=Bt(),h=nr(),d=ir(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),g=new RegExp(`^${f}*::`);function y(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var b=y(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),v=y(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);var D=y(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function E(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function x(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var S=y(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),C=y(["FunctionExpression","ArrowFunctionExpression"]);function A(e){return _(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var T=y(["JSXElement","JSXFragment"]);function P(e){return"get"===e.kind||"set"===e.kind}function F(e){return P(e)||p(e,e.value)}var I=y(["BinaryExpression","LogicalExpression","NGPipeExpression"]);var N=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 k=["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 _=y(["CallExpression","OptionalCallExpression"]),O=y(["MemberExpression","OptionalMemberExpression"]);function M(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function L(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function B(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}var R={"==":!0,"!=":!0,"===":!0,"!==":!0},j={"*":!0,"/":!0,"%":!0},$={">>":!0,">>>":!0,"<<":!0};var U=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function z(e){return U.get(e)}var V=new WeakMap;function W(e){if(V.has(e))return V.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),V.set(e,t),t}var H=new WeakMap;function q(e){if(H.has(e))return H.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),H.set(e,t),t}function G(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function K(e){return e&&(e.prettierIgnore||Y(e,X.PrettierIgnore))}var X={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},J=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&X.Leading&&!r.leading||e&X.Trailing&&!r.trailing||e&X.Dangling&&(r.leading||r.trailing)||e&X.Block&&!h(r)||e&X.Line&&!b(r)||e&X.First&&0!==n||e&X.Last&&n!==i.length-1||e&X.PrettierIgnore&&!G(r)||t&&!t(r))};function Y(e,t,r){if(!o(null==e?void 0:e.comments))return!1;let n=J(t,r);return!n||e.comments.some(n)}function Z(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=J(t,r);return n?e.comments.filter(n):e.comments}function Q(e){return _(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var ee=Symbol("ifWithoutBlockAndSameLineComment");function te(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:W,iterateFunctionParametersPath:function(e,t){let r=e.getValue(),n=0,i=e=>t(e,n++);r.this&&e.call(i,"this"),Array.isArray(r.parameters)?e.each(i,"parameters"):Array.isArray(r.params)&&e.each(i,"params"),r.rest&&e.call(i,"rest")},getCallArguments:q,iterateCallArgumentsPath:function(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call((e=>t(e,0)),"source"),r.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){var t;if(e.rest)return!0;let r=W(e);return"RestElement"===(null===(t=n(r))||void 0===t?void 0:t.type)},getLeftSide:function(e){var t,r,n,i,s,o;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e.left)&&void 0!==o?o:e.test)&&void 0!==s?s:e.callee)&&void 0!==i?i:e.object)&&void 0!==n?n:e.tag)&&void 0!==r?r: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()&&v(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 h(t)&&g.test(t.value)},hasFlowShorthandAnnotationComment:function(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&h(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&m.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return T(t)?K(t):Y(t,X.Leading,(t=>i(e,c(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||_(e)||O(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||te(e)||"TSNonNullExpression"===e.type},hasNode:function e(t,r){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,r)));let n=r(t);return"boolean"==typeof n?n:Object.values(t).some((t=>e(t,r)))},hasIgnoreComment:function(e){return K(e.getValue())},hasNodeIgnoreComment:K,identity:function(e){return e},isBinaryish:I,isCallLikeExpression:Q,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:b,isPrettierIgnoreComment:G,isCallExpression:_,isMemberExpression:O,isExportDeclaration:v,isFlowAnnotationComment:function(e,t){let r=l(t),n=s(e,c(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(C(r)){if(t+=1,t>1)return!0}else if(_(r))for(let e of r.arguments)if(C(e))return!0;return!1},isFunctionNotation:F,isFunctionOrArrowExpression:C,isGetterOrSetter:P,isJestEachTemplateLiteral:function(e,t){let r=/^[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&&r.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&&r.test(t.tag.object.object.name))},isJsxNode:T,isLiteral:D,isLongCurriedCallExpression:function(e){let t=e.getValue(),r=e.getParentNode();return _(t)&&_(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0},isSimpleCallArgument:function e(t,r){if(r>=2)return!1;let n=t=>e(t,r+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&u(i)>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(n):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&n(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||n(e))):Q(t)?("ImportExpression"===t.type||e(t.callee,r))&&q(t).every(n):O(t)?e(t.object,r)&&e(t.property,r):"UnaryExpression"===t.type&&{"!":!0,"-":!0,"+":!0,"~":!0}[t.operator]||"UpdateExpression"===t.type&&{"++":!0,"--":!0}[t.operator]?e(t.argument,r):"TSNonNullExpression"===t.type&&e(t.expression,r)))},isMemberish:function(e){return O(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:E,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&E(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:S,isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||F(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!N.has(e.type))},isSimpleNumber:M,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(Y(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(O(e)){let t=e;for(;O(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,Y(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:x,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&x(e.key)&&B(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||M(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&&L(e)||"TaggedTemplateExpression"===e.type&&L(e.quasi))&&!i(t,l(e),{backwards:!0})},isTestCall:function e(t,r){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(A(t)&&r&&e(r))return C(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 A(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("TemplateLiteral"===t.arguments[0].type||x(t.arguments[0]))&&function(e){return d(e,k)}(t.callee))return!(t.arguments[2]&&!E(t.arguments[2]))&&((2===t.arguments.length?C(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)||A(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!T(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.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:r}=t;return a(r,c(e))},needsHardlineAfterDanglingComment:function(e){if(!Y(e))return!1;let t=n(Z(e,X.Dangling));return t&&!h(t)},rawText:B,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!(z(t)!==z(e)||"**"===e||R[e]&&R[t]||"%"===t&&j[e]||"%"===e&&j[t]||t!==e&&j[t]&&j[e]||$[e]&&$[t])},startsWithNoLookaheadToken:function e(t,r){switch(t.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return e(t.left,r);case"MemberExpression":case"OptionalMemberExpression":return e(t.object,r);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,r);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,r);case"ConditionalExpression":return e(t.test,r);case"UpdateExpression":return!t.prefix&&e(t.argument,r);case"BindExpression":return t.object&&e(t.object,r);case"SequenceExpression":return e(t.expressions[0],r);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,r);default:return r(t)}},getPrecedence:z,hasComment:Y,getComments:Z,CommentCheckFlags:X,markerForIfWithoutBlockAndSameLineComment:ee,isTSTypeExpression:te}}}),or=v({"src/language-js/print/template-literal.js"(e,t){w();var r=F(),{getStringWidth:n,getIndentSize:i}=de(),{builders:{join:s,hardline:o,softline:a,group:u,indent:l,align:c,lineSuffixBoundary:p,addAlignmentToDoc:h},printer:{printDocToString:d},utils:{mapDoc:f}}=W(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:y,hasComment:b,isMemberExpression:v,isTSTypeExpression:D}=sr();function E(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,f){let E=e.getValue();if("TemplateLiteral"===E.type&&g(E,e.getParentNode())){let i=function(e,t,i){let a=e.getNode(),u=a.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(u.length>1||u.some((e=>e.length>0))){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let h=[],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;e<a.quasis.length;e++){let t=r(m),n=f[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),a.quasis[e].value.raw.includes("\n")&&m.push({hasLineBreak:!1,cells:[]})}let g=Math.max(u.length,...m.map((e=>e.cells.length))),y=Array.from({length:g}).fill(0),b=[{cells:u},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of b.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())y[t]=Math.max(y[t],n(r));return h.push(p,"`",l([o,s(o,b.map((e=>s(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(y[r]-n(t))))))))]),o,"`"),h}}(e,f,t);if(i)return i}let x="expressions";"TSTemplateLiteralType"===E.type&&(x="types");let w=[],S=e.map(t,x),C=y(E);return C&&(S=S.map((e=>d(e,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),w.push(p,"`"),e.each((e=>{let r=e.getName();if(w.push(t()),r<S.length){let{tabWidth:t}=f,n=e.getValue(),s=i(n.value.raw,t),o=S[r];if(!C){let e=E[x][r];(b(e)||v(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||D(e)||m(e))&&(o=[l([a,o]),a])}let d=0===s&&n.value.raw.endsWith("\n")?c(Number.NEGATIVE_INFINITY,o):h(o,s,t);w.push(u(["${",d,p,"}"]))}}),"quasis"),w.push("`"),w},printTemplateExpressions:function(e,t){return e.map((e=>function(e,t){let r=e.getValue(),n=t();return b(r)&&(n=u([l([a,n]),a])),["${",n,p,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return f(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):E(e):e))},uncookTemplateElementValue:E}}}),ar=v({"src/language-js/embed/markdown.js"(e,t){w();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:s}}=W(),{escapeTemplateCharacters:o}=or();t.exports=function(e,t,a){let u=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]}(u),c=""!==l;c&&(u=u.replace(new RegExp(`^${l}`,"gm"),""));let p=o(a(u,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",c?r([n,p]):[i,s(p)],n,"`"]}}}),ur=v({"src/language-js/embed/css.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{indent:n,hardline:i,softline:s},utils:{mapDoc:o,replaceEndOfLine:a,cleanDoc:u}}=W(),{printTemplateExpressions:l}=or();t.exports=function(e,t,c){let p=e.getValue(),h=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(!r(t))return e;let n=0,i=o(u(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?a(e):(n++,t[e]))):e));return t.length===n?i:null}(e,l);if(!c)throw new Error("Couldn't insert all the expressions");return["`",n([i,c]),s,"`"]}(c(h.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+d+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),p,l(e,t))}}}),lr=v({"src/language-js/embed/graphql.js"(e,t){w();var{builders:{indent:r,join:n,hardline:i}}=W(),{escapeTemplateCharacters:s,printTemplateExpressions:o}=or();function a(e){let t=[],r=!1,s=e.map((e=>e.trim()));for(let[e,n]of s.entries())""!==n&&(""===s[e-1]&&r?t.push([i,n]):t.push(n),r=!0);return 0===t.length?null:n(i,t)}t.exports=function(e,t,u){let l=e.getValue(),c=l.quasis.length;if(1===c&&""===l.quasis[0].value.raw.trim())return"``";let p=o(e,t),h=[];for(let e=0;e<c;e++){let t=0===e,r=e===c-1,n=l.quasis[e].value.cooked,i=n.split("\n"),o=i.length,d=p[e],f=o>2&&""===i[0].trim()&&""===i[1].trim(),m=o>2&&""===i[o-1].trim()&&""===i[o-2].trim(),g=i.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!r&&/#[^\n\r]*$/.test(i[o-1]))return null;let y=null;y=g?a(i):u(n,{parser:"graphql"},{stripTrailingHardline:!0}),y?(y=s(y,!1),!t&&f&&h.push(""),h.push(y),!r&&m&&h.push("")):!t&&!r&&f&&h.push(""),d&&h.push(d)}return["`",r([i,n(i,h)]),i,"`"]}}}),cr=v({"src/language-js/embed/html.js"(e,t){w();var{builders:{indent:r,line:n,hardline:i,group:s},utils:{mapDoc:o}}=W(),{printTemplateExpressions:a,uncookTemplateElementValue:u}=or(),l=0;t.exports=function(e,t,c,p,h){let{parser:d}=h,f=e.getValue(),m=l;l=l+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,y=f.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+g(t))).join(""),b=a(e,t);if(0===b.length&&0===y.trim().length)return"``";let v=new RegExp(g("(\\d+)"),"g"),D=0,E=c(y,{parser:d,__onHtmlRoot(e){D=e.children.length}},{stripTrailingHardline:!0}),x=o(E,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(v);for(let e=0;e<r.length;e++){let n=r[e];if(e%2==0){n&&(n=u(n),p.__embeddedInHtml&&(n=n.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(n));continue}let i=Number(n);t.push(b[i])}return t})),w=/^\s/.test(y)?" ":"",S=/\s$/.test(y)?" ":"",C="ignore"===p.htmlWhitespaceSensitivity?i:w&&S?n:null;return s(C?["`",r([C,s(x)]),C,"`"]:["`",w,D>1?r(s(x)):s(x),S,"`"])}}}),pr=v({"src/language-js/embed.js"(e,t){w();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=sr(),s=ar(),o=ur(),a=lr(),u=cr();function l(e){return function(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.openingElement.attributes.some((e=>"jsx"===e.name.name))||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}(e)||function(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return p(r.object)||h(r);case"CallExpression":return p(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(p(r.callee.object.object)||h(r.callee.object))||"CallExpression"===r.callee.object.type&&p(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}(e)||function(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...c)}(e)?"css":function(e){let t=e.getValue(),r=e.getParentNode();return d(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.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)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...c)}(e)?"angular":function(e){let t=e.getValue(),r=e.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===t.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.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 h(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function d(e,t){return r(e,n.Block|n.Leading,(e=>{let{value:r}=e;return r===` ${t} `}))}t.exports=function(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||function(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}(i))return;let c=l(e);if(c){if("markdown"===c)return s(e,t,r);if("css"===c)return o(e,t,r);if("graphql"===c)return a(e,t,r);if("html"===c||"angular"===c)return u(e,t,r,n,{parser:c})}}}}),hr=v({"src/language-js/clean.js"(e,t){w();var r=nr(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function s(e,t,n){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:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&i(r);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(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 s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&i(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&i(n.value)}}var o;return"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)&&i(t.quasi),"TemplateLiteral"===e.type&&((null===(o=e.leadingComments)||void 0===o?void 0:o.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `)))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&i(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}s.ignoredProperties=n,t.exports=s}}),dr={};function fr(){if(typeof Pr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])Pr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");Pr="LE"}}return Pr}function mr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function gr(){return[]}function yr(){return 0}function br(){return Number.MAX_VALUE}function vr(){return Number.MAX_VALUE}function Dr(){return[]}function Er(){return"Browser"}function xr(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function wr(){}function Sr(){}function Cr(){return"javascript"}function Ar(){return"browser"}function Tr(){return"/tmp"}D(dr,{EOL:()=>Ir,arch:()=>Cr,cpus:()=>Dr,default:()=>Nr,endianness:()=>fr,freemem:()=>br,getNetworkInterfaces:()=>Sr,hostname:()=>mr,loadavg:()=>gr,networkInterfaces:()=>wr,platform:()=>Ar,release:()=>xr,tmpDir:()=>Tr,tmpdir:()=>Fr,totalmem:()=>vr,type:()=>Er,uptime:()=>yr});var Pr,Fr,Ir,Nr,kr=b({"node-modules-polyfills:os"(){w(),Nr={EOL:Ir="\n",tmpdir:Fr=Tr,tmpDir:Tr,networkInterfaces:wr,getNetworkInterfaces:Sr,release:xr,type:Er,cpus:Dr,totalmem:vr,freemem:br,uptime:yr,loadavg:gr,hostname:mr,endianness:fr}}}),_r=v({"node-modules-polyfills-commonjs:os"(e,t){w();var r=(kr(),x(dr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Or=v({"node_modules/detect-newline/index.js"(e,t){w();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),Mr=v({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=_r();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(Or());return r=function(){return e},e}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(s);return t?t[0].trimLeft():""},e.parse=function(e){return h(e).pragmas},e.parseWithComments=h,e.print=function(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o=" *",a=Object.keys(i),u=a.map((e=>d(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${o} ${e}${s}`)).join("");if(!n){if(0===a.length)return"";if(1===a.length&&!Array.isArray(i[a[0]])){let e=i[a[0]];return`/** ${d(a[0],e)[0]} */`}}let l=n.split(s).map((e=>`${o} ${e}`)).join(s)+s;return"/**"+s+(n?l:"")+(n&&a.length?o+s:"")+u+" */"},e.strip=function(e){let t=e.match(s);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*?/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,a=/^(\r?\n)+/,u=/(?:^|\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 h(e){let s=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(c,"$1");let h="";for(;h!==e;)h=e,e=e.replace(u,`${s}$1 $2${s}`);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()))}}}),Lr=v({"src/language-js/utils/get-shebang.js"(e,t){w(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),Br=v({"src/language-js/pragma.js"(e,t){w();var{parseWithComments:r,strip:n,extract:i,print:s}=Mr(),{normalizeEndOfLine:o}=P(),a=Lr();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}}}}),Rr=v({"src/language-js/utils/is-type-cast-comment.js"(e,t){w();var r=nr();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),jr=v({"src/language-js/comments.js"(e,t){w();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:o,addLeadingComment:a,addTrailingComment:u,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=de(),{getFunctionParameters:h,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:y,isCallLikeExpression:b,getCallArguments:v,isCallExpression:D,isMemberExpression:E,isObjectProperty:x,isLineComment:S,getComments:C,CommentCheckFlags:A,markerForIfWithoutBlockAndSameLineComment:T}=sr(),{locStart:P,locEnd:F}=Bt(),I=nr(),N=Rr();function k(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?a(r,t):l(e,t)}function _(e,t){"BlockStatement"===e.type?k(e,t):a(e,t)}function O(e){let{comment:t,followingNode:r}=e;return!(!r||!N(t)||(a(r,t),0))}function M(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;if("IfStatement"!==(null==n?void 0:n.type)||!i)return!1;if(")"===s(o,t,F))return u(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)u(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===r.loc.start.line;e&&i?l(r,t,T):l(n,t)}return!0}return"BlockStatement"===i.type?(k(i,t),!0):"IfStatement"===i.type?(_(i.consequent,t),!0):n.consequent===i&&(a(i,t),!0)}function L(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;return!("WhileStatement"!==(null==n?void 0:n.type)||!i||(")"===s(o,t,F)?(u(r,t),0):"BlockStatement"===i.type?(k(i,t),0):n.body!==i||(a(i,t),0)))}function B(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TryStatement"!==(null==n?void 0:n.type)&&"CatchClause"!==(null==n?void 0:n.type)||!i||("CatchClause"===n.type&&r?(u(r,t),0):"BlockStatement"===i.type?(k(i,t),0):"TryStatement"===i.type?(_(i.finalizer,t),0):"CatchClause"!==i.type||(_(i.body,t),0)))}function R(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!E(r)||"Identifier"!==(null==n?void 0:n.type)||(a(r,t),0))}function j(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}=e,u=r&&!o(s,F(r),P(t));return!(r&&u||"ConditionalExpression"!==(null==n?void 0:n.type)&&"TSConditionalType"!==(null==n?void 0:n.type)||!i||(a(i,t),0))}function $(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!x(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type||(u(n.value.left,t),0))}var U=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function z(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:s}=e;if(U.has(null==i?void 0:i.type)){if(p(i.decorators)&&(!s||"Decorator"!==s.type))return u(r(i.decorators),t),!0;if(i.body&&s===i.body)return k(i.body,t),!0;if(s){if(i.superClass&&s===i.superClass&&n&&(n===i.id||n===i.typeParameters))return u(n,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&s===i[e][0])return!n||n!==i.id&&n!==i.typeParameters&&n!==i.superClass?l(i,t,e):u(n,t),!0}}return!1}var V=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function W(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!!(n&&r&&"("===s(i,t,F)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==s(i,r,F)||"Decorator"===(null==r?void 0:r.type)&&V.has(null==n?void 0:n.type))&&(u(r,t),!0)}var H=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function q(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!("("!==s(i,t,F)||!r||!H.has(null==n?void 0:n.type)||(u(r,t),0))}function G(e){let{comment:t,enclosingNode:r,text:n}=e;if("ArrowFunctionExpression"!==(null==r?void 0:r.type))return!1;let i=c(n,t,F);return!1!==i&&"=>"===n.slice(i,i+2)&&(l(r,t),!0)}function K(e){let{comment:t,enclosingNode:r,text:n}=e;return!(")"!==s(n,t,F)||(r&&(he(r)&&0===h(r).length||b(r)&&0===v(r).length)?(l(r,t),0):"MethodDefinition"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||0!==h(r.value).length||(l(r.value,t),0)))}function X(e){let{comment:t,precedingNode:n,enclosingNode:o,followingNode:a,text:l}=e;if("FunctionTypeParam"===(null==n?void 0:n.type)&&"FunctionTypeAnnotation"===(null==o?void 0:o.type)&&"FunctionTypeParam"!==(null==a?void 0:a.type)||("Identifier"===(null==n?void 0:n.type)||"AssignmentPattern"===(null==n?void 0:n.type))&&o&&he(o)&&")"===s(l,t,F))return u(n,t),!0;if("FunctionDeclaration"===(null==o?void 0:o.type)&&"BlockStatement"===(null==a?void 0:a.type)){let e=(()=>{let e=h(o);if(e.length>0)return i(l,F(r(e)));let t=i(l,F(o.id));return!1!==t&&i(l,t+1)})();if(P(t)>e)return k(a,t),!0}return!1}function J(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(a(r,t),!0)}function Y(e){let{comment:t,enclosingNode:r}=e;return!("ContinueStatement"!==(null==r?void 0:r.type)&&"BreakStatement"!==(null==r?void 0:r.type)||r.label||(u(r,t),0))}function Z(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(D(n)&&r&&n.callee===r&&n.arguments.length>0)&&(a(n.arguments[0],t),!0)}function Q(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"UnionTypeAnnotation"===(null==n?void 0:n.type)||"TSUnionType"===(null==n?void 0:n.type)?(d(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!r&&(u(r,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&d(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ee(e){let{comment:t,enclosingNode:r}=e;return!!x(r)&&(a(r,t),!0)}function te(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:s}=e;return i&&i.body&&0===i.body.length?(s?l(i,t):a(i,t),!0):"Program"!==(null==r?void 0:r.type)||0!==(null==r?void 0:r.body.length)||p(r.directives)?"Program"===(null==n?void 0:n.type)&&0===(null==n?void 0:n.body.length)&&"ModuleExpression"===(null==r?void 0:r.type)&&(l(n,t),!0):(s?l(r,t):a(r,t),!0)}function re(e){let{comment:t,enclosingNode:r}=e;return("ForInStatement"===(null==r?void 0:r.type)||"ForOfStatement"===(null==r?void 0:r.type))&&(a(r,t),!0)}function ne(e){let{comment:t,precedingNode:r,enclosingNode:i,text:s}=e;if("ImportSpecifier"===(null==i?void 0:i.type)||"ExportSpecifier"===(null==i?void 0:i.type))return a(i,t),!0;let o="ImportSpecifier"===(null==r?void 0:r.type)&&"ImportDeclaration"===(null==i?void 0:i.type),l="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!o&&!l||!n(s,F(t))||(u(r,t),0))}function ie(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(a(r,t),!0)}var se=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),oe=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ae(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!se.has(null==r?void 0:r.type)||!n||!oe.has(n.type)&&!I(t)||(a(n,t),0))}function ue(e){let{comment:t,enclosingNode:r,followingNode:n,text:i}=e;return!(n||"TSMethodSignature"!==(null==r?void 0:r.type)&&"TSDeclareFunction"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||";"!==s(i,t,F)||(u(r,t),0))}function le(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(d(t)&&"TSMappedType"===(null==r?void 0:r.type)&&"TSTypeParameter"===(null==n?void 0:n.type)&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function ce(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TSMappedType"!==(null==n?void 0:n.type)||("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(a(i.name,t),0):"TSTypeParameter"!==(null==r?void 0:r.type)||!r.constraint||(u(r.constraint,t),0)))}function pe(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||!n||n!==r.consequent[0]||("BlockStatement"===n.type&&S(t)?k(n,t):l(r,t),0))}function he(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}t.exports={handleOwnLineComment:function(e){return[le,X,R,M,L,B,z,re,Q,te,ne,ie,W,J,Y].some((t=>t(e)))},handleEndOfLineComment:function(e){return[O,X,j,ne,M,L,B,z,J,Z,ee,te,ae,Y,pe].some((t=>t(e)))},handleRemainingComment:function(e){return[le,M,L,$,K,W,te,G,q,ce,Y,ue].some((t=>t(e)))},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===h(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(),r=e.getParentNode();return(t&&(f(t)||m(t)||D(r)&&(g(C(n=t,A.Leading))||g(C(n,A.Trailing))))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!y(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type);var n}}}}),$r=v({"src/language-js/needs-parens.js"(e,t){w();var r=F(),n=ae(),{getFunctionParameters:i,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:a,hasNode:u,isBitwiseOperator:l,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:h,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:g}=sr();function y(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(a)&&b(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"===s&&("async"===a.name&&!r.await||"let"===a.name)&&"ForOfStatement"===r.type)return!0;if("let"===a.name){var y;let t=null===(y=e.findAncestor((e=>"ForOfStatement"===e.type)))||void 0===y?void 0:y.left;if(t&&c(t,(e=>e===a)))return!0}if("object"===s&&"let"===a.name&&"MemberExpression"===r.type&&r.computed&&!r.optional){let t=e.findAncestor((e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type)),r=t?"ExpressionStatement"===t.type?t.expression:"ForStatement"===t.type?t.init:t.left:void 0;if(r&&c(r,(e=>e===a)))return!0}return!1}if("ObjectExpression"===a.type||"FunctionExpression"===a.type||"ClassExpression"===a.type||"DoExpression"===a.type){var D;let t=null===(D=e.findAncestor((e=>"ExpressionStatement"===e.type)))||void 0===D?void 0:D.expression;if(t&&c(t,(e=>e===a)))return!0}switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===s&&("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 v(e,t)||"SequenceExpression"===a.type;case"Decorator":if("expression"===s){if(f(a)&&a.computed)return!0;let e=!1,r=!1,n=a;for(;n;)switch(n.type){case"MemberExpression":r=!0,n=n.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===s&&"SequenceExpression"!==a.type&&c(a,(e=>"ObjectExpression"===e.type)))return!0}switch(a.type){case"UpdateExpression":if("UnaryExpression"===r.type)return a.prefix&&("++"===a.operator&&"+"===r.operator||"--"===a.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return a.operator===r.operator&&("+"===a.operator||"-"===a.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"BinaryExpression":return"left"===s&&"**"===r.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type||"in"===a.operator&&function(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}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(r.type){case"TSSatisfiesExpression":case"TSAsExpression":return!g(a);case"ConditionalExpression":return g(a);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===s;case"ClassExpression":case"ClassDeclaration":return"superClass"===s;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"===s;case"AssignmentExpression":case"AssignmentPattern":return"left"===s&&("TSTypeAssertion"===a.type||g(a));case"LogicalExpression":if("LogicalExpression"===a.type)return r.operator!==a.operator;case"BinaryExpression":{let{operator:e,type:t}=a;if(!e&&"TSTypeAssertion"!==t)return!0;let n=h(e),i=r.operator,o=h(i);return o>n||"right"===s&&o===n||o===n&&!p(i,e)||(o<n&&"%"===e?"+"===i||"-"===i:!!l(i))}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==s;case"ArrowFunctionExpression":return"body"!==s;default:return!0}case"YieldExpression":if("UnaryExpression"===r.type||"AwaitExpression"===r.type||g(r)||"TSNonNullExpression"===r.type)return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"BinaryExpression":return!(!a.argument&&"|>"===r.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===s&&"TSConditionalType"===r.type){if("TSConditionalType"===a.type)return!0;let{typeAnnotation:e}=a.returnType||a.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===s&&"TSConditionalType"===r.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===r.type||"TSIntersectionType"===r.type)&&r.types.length>1&&(!a.types||a.types.length>1))return!0;case"TSInferType":if("TSInferType"===a.type&&"TSRestType"===r.type)return!1;case"TSTypeOperator":return"TSArrayType"===r.type||"TSOptionalType"===r.type||"TSRestType"===r.type||"objectType"===s&&"TSIndexedAccessType"===r.type||"TSTypeOperator"===r.type||"TSTypeAnnotation"===r.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===s&&"TSIndexedAccessType"===r.type||"elementType"===s&&"TSArrayType"===r.type;case"TypeofTypeAnnotation":return"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type)||"elementType"===s&&"ArrayTypeAnnotation"===r.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===s&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===r.type&&null===r.name&&i(a).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===s&&"IndexedAccessType"===r.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof a.value&&"ExpressionStatement"===r.type&&!r.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===s&&"MemberExpression"===r.type&&"number"==typeof a.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===s&&"ArrowFunctionExpression"===r.type||("key"!==s||"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type||!r.computed)&&("init"!==s&&"update"!==s||"ForStatement"!==r.type)&&("ExpressionStatement"===r.type?"ObjectPattern"===a.left.type:!("key"===s&&"TSPropertySignature"===r.type||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&t&&"ForStatement"===t.type&&(t.init===r||t.update===r)||"value"===s&&"Property"===r.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(r)||"NGChainedExpression"===r.type))}case"ConditionalExpression":switch(r.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"===s;case"ConditionalExpression":return"test"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return"|>"!==r.operator||a.extra&&a.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===s;default:return!1}case"ClassExpression":return!!n(a.decorators)||"NewExpression"===r.type&&"callee"===s;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===s&&"MemberExpression"===r.type||"callee"===s&&("CallExpression"===r.type||"NewExpression"===r.type)||"TSNonNullExpression"===r.type&&"MemberExpression"===t.type&&t.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===s&&("BindExpression"===r.type||"NewExpression"===r.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"===s&&("BindExpression"===r.type||"NewExpression"===r.type)||"object"===s&&f(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!a.extra||!a.extra.parenthesized)||"ArrayExpression"===r.type||d(r)&&r.arguments[s]===a||"right"===s&&"NGPipeExpression"===r.type||"property"===s&&"MemberExpression"===r.type||"AssignmentExpression"===r.type);case"JSXFragment":case"JSXElement":return"callee"===s||"left"===s&&"BinaryExpression"===r.type&&"<"===r.operator||"ArrayExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"AssignmentExpression"!==r.type&&"AssignmentPattern"!==r.type&&"BinaryExpression"!==r.type&&"NewExpression"!==r.type&&"ConditionalExpression"!==r.type&&"ExpressionStatement"!==r.type&&"JsExpressionRoot"!==r.type&&"JSXAttribute"!==r.type&&"JSXElement"!==r.type&&"JSXExpressionContainer"!==r.type&&"JSXFragment"!==r.type&&"LogicalExpression"!==r.type&&!d(r)&&!m(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===s&&"ArrowFunctionExpression"===r.type&&function(e){return u(e,(e=>"ObjectTypeAnnotation"===e.type&&u(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(a)}return!1}function b(e){let t=e.getValue(),n=e.getParentNode(),i=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof i&&n.arguments[i]===t&&n.arguments.length-1===i)return e.callParent(b);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return r(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(b);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(b);break;case"UnaryExpression":if(n.prefix)return e.callParent(b)}return!1}function v(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!y(e,t):!(!a(r)||"ExportDefaultDeclaration"!==n.type&&y(e,t))&&e.call((e=>v(e,t)),...s(e,r))}t.exports=y}}),Ur=v({"src/language-js/print-preprocess.js"(e,t){w(),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}}}}),zr=v({"src/language-js/print/html-binding.js"(e,t){w();var{builders:{join:r,line:n,group:i,softline:s,indent:o}}=W();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 u=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(u,t),"File"===u.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",n],e.map(a,"params")),{params:u}=e.getValue();return 1===u.length?t:["(",o([s,i(t)]),s,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",n],e.map(a,"params"))),"program","body",0)}}}}}),Vr=v({"src/language-js/print/binaryish.js"(e,t){w();var{printComments:r}=Ht(),{getLast:n}=de(),{builders:{join:i,line:s,softline:o,group:a,indent:u,align:l,indentIfBreak:c},utils:{cleanDoc:p,getDocParts:h,isConcat:d}}=W(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:g,shouldFlatten:y,hasComment:b,CommentCheckFlags:v,isCallExpression:D,isMemberExpression:E,isObjectProperty:x,isEnabledHackPipeline:S}=sr(),C=0;function A(e,t,n,o,c){let g=e.getValue();if(!m(g))return[a(t())];let D=[];y(g.operator,g.left.operator)?D=e.call((e=>A(e,t,n,!0,c)),"left"):D.push(a(t("left")));let E,x=T(g),w=("|>"===g.operator||"NGPipeExpression"===g.type||"|"===g.operator&&"__vue_expression"===n.parser)&&!f(n.originalText,g.right),C="NGPipeExpression"===g.type?"|":g.operator,P="NGPipeExpression"===g.type&&g.arguments.length>0?a(u([s,": ",i([s,": "],e.map(t,"arguments").map((e=>l(2,a(e)))))])):"";if(x)E=[C," ",t("right"),P];else{let r=S(n)&&"|>"===C?e.call((e=>A(e,t,n,!0,c)),"right"):t("right");E=[w?s:"",C,w?" ":s,r,P]}let F=e.getParentNode(),I=b(g.left,v.Trailing|v.Line),N=I||!(c&&"LogicalExpression"===g.type)&&F.type!==g.type&&g.left.type!==g.type&&g.right.type!==g.type;if(D.push(w?"":" ",N?a(E,{shouldBreak:I}):E),o&&b(g)){let t=p(r(e,D,n));return d(t)||"fill"===t.type?h(t):[t]}return D}function T(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,r){let i=e.getValue(),s=e.getParentNode(),l=e.getParentNode(1),p=i!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),h=S(t)&&"|>"===i.operator,d=A(e,r,t,!1,p);if(p)return d;if(h)return a(d);if(D(s)&&s.callee===i||"UnaryExpression"===s.type||E(s)&&!s.computed)return a([u([o,...d]),o]);let f="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===l.type||"|"!==i.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==i.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===l.type&&1===l.body.length)||i===s.body&&"ArrowFunctionExpression"===s.type||i!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==l.type&&"ThrowStatement"!==l.type&&!D(l)||"TemplateLiteral"===s.type,b="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||x(s),v=m(i.left)&&y(i.operator,i.left.operator);if(f||T(i)&&!v||!T(i)&&b)return a(d);if(0===d.length)return"";let w=g(i.right),P=d.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),F=d.slice(0,-1===P?1:P+1),I=d.slice(F.length,w?-1:void 0),N=Symbol("logicalChain-"+ ++C),k=a([...F,u(I)],{id:N});if(!w)return k;let _=n(d);return a([k,c(_,{groupId:N})])},shouldInlineLogicalExpression:T}}}),Wr=v({"src/language-js/print/angular.js"(e,t){w();var{builders:{join:r,line:n,group:i}}=W(),{hasNode:s,hasComment:o,getComments:a}=sr(),{printBinaryishExpression:u}=Vr();function l(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.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 u(e,t,c);case"NGChainedExpression":return i(r([";",n],e.map((e=>function(e){return s(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)?" ":[";",n],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(),r=e.getParentNode(),n=l(p,t,r)||(1===t&&("then"===p.key.name||"else"===p.key.name)||2===t&&"else"===p.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[c("key"),n?" ":": ",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)}.`)}}}}}),Hr=v({"src/language-js/print/jsx.js"(e,t){w();var{printComments:r,printDanglingComments:n,printCommentsSeparately:i}=Ht(),{builders:{line:s,hardline:o,softline:a,group:u,indent:l,conditionalGroup:c,fill:p,ifBreak:h,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=W(),{getLast:g,getPreferredQuote:y}=de(),{isJsxNode:b,rawText:v,isCallExpression:D,isStringLiteral:E,isBinaryish:x,hasComment:S,CommentCheckFlags:C,hasNodeIgnoreComment:A}=sr(),T=$r(),{willPrintOwnComments:P}=jr(),F=e=>""===e||e===s||e===o||e===a;function I(e,t,r){let n=e.getValue();if("JSXElement"===n.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&&!R(t)}(n))return[r("openingElement"),r("closingElement")];let i="JSXElement"===n.type?r("openingElement"):r("openingFragment"),d="JSXElement"===n.type?r("closingElement"):r("closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return[i,...e.map(r,"children"),d];n.children=n.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&E(e.expression)&&" "===e.expression.value&&!S(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));let f=n.children.some(b),y=n.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,D="JSXElement"===n.type&&n.openingElement.attributes.length>1,x=m(i)||f||D||y,w="mdx"===e.getParentNode().rootMarker,C=t.singleQuote?"{' '}":'{" "}',A=w?" ":h([C,a]," "),T=function(e,t,r,n,i){let a=[];return e.each(((e,t,u)=>{let l=e.getValue();if("JSXText"===l.type){let e=v(l);if(R(l)){let r,o=e.split(M);if(""===o[0]){if(a.push(""),o.shift(),/\n/.test(o[0])){let e=u[t+1];a.push(k(i,o[1],l,e))}else a.push(n);o.shift()}if(""===g(o)&&(o.pop(),r=o.pop()),0===o.length)return;for(let[e,t]of o.entries())e%2==1?a.push(s):a.push(t);if(void 0!==r)if(/\n/.test(r)){let e=u[t+1];a.push(k(i,g(a),l,e))}else a.push(n);else{let e=u[t+1];a.push(N(i,g(a),l,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&a.push("",o):a.push("",n)}else{let e=r();a.push(e);let n=u[t+1];if(n&&R(n)){let e=B(v(n)).split(M)[0];a.push(N(i,e,l,n))}else a.push(o)}}),"children"),a}(e,0,r,A,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),P=n.children.some((e=>R(e)));for(let e=T.length-2;e>=0;e--){let t=""===T[e]&&""===T[e+1],r=T[e]===o&&""===T[e+1]&&T[e+2]===o,n=(T[e]===a||T[e]===o)&&""===T[e+1]&&T[e+2]===A,i=T[e]===A&&""===T[e+1]&&(T[e+2]===a||T[e+2]===o),s=T[e]===A&&""===T[e+1]&&T[e+2]===A,u=T[e]===a&&""===T[e+1]&&T[e+2]===o||T[e]===o&&""===T[e+1]&&T[e+2]===a;r&&P||t||n||s||u?T.splice(e,2):i&&T.splice(e+1,2)}for(;T.length>0&&F(g(T));)T.pop();for(;T.length>1&&F(T[0])&&F(T[1]);)T.shift(),T.shift();let I=[];for(let[e,t]of T.entries()){if(t===A){if(1===e&&""===T[e-1]){if(2===T.length){I.push(C);continue}I.push([C,o]);continue}if(e===T.length-1){I.push(C);continue}if(""===T[e-1]&&T[e-2]===o){I.push(C);continue}}I.push(t),m(t)&&(x=!0)}let _=P?p(I):u(I,{shouldBreak:!0});if(w)return _;let O=u([i,l([o,_]),o,d]);return x?O:c([u([i,...T,d]),O])}function N(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?a:o:a}function k(e,t,r,n){return e?o:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?o:a:o}function _(e,t,r){return e.selfClosing?[s,"/>"]:function(e,t,r){let n=e.attributes.length>0&&S(g(e.attributes),C.Trailing);return 0===e.attributes.length&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}(e,t,r)?[">"]:[a,">"]}function O(e,t,n){return function(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),D,(e=>"JSXExpressionContainer"===e.type)),s=T(e,r);return u([s?"":h("("),l([a,t]),a,s?"":h(")")],{shouldBreak:i})}(e,r(e,I(e,t,n),t),t)}var M=new RegExp("([ \n\r\t]+)"),L=new RegExp("[^ \n\r\t]"),B=e=>e.replace(new RegExp("(?:^"+M.source+"|"+M.source+"$)"),"");function R(e){return"JSXText"===e.type&&(L.test(v(e))||!/\n/.test(v(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&b(t)&&b(r)))return!1;let n=null;for(let e=r.children.indexOf(t);e>0;e--){let t=r.children[e-1];if("JSXText"!==t.type||R(t)){n=t;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&A(n.expression)},printJsx:function(e,t,c){let p=e.getValue();if(p.type.startsWith("JSX"))switch(p.type){case"JSXAttribute":return function(e,t,r){let n=e.getValue(),s=[];if(s.push(r("name")),n.value){let o;if(E(n.value)){let r=v(n.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:s,quote:a,regex:u}=y(r,t.jsxSingleQuote?"'":'"');r=r.replace(u,s);let{leading:l,trailing:c}=e.call((()=>i(e,t)),"value");o=[l,a,r,a,c]}else o=r("value");s.push("=",o)}return s}(e,t,c);case"JSXIdentifier":return String(p.name);case"JSXNamespacedName":return f(":",[c("namespace"),c("name")]);case"JSXMemberExpression":return f(".",[c("object"),c("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){let i=e.getValue();return["{",e.call((e=>{let i=["...",n()],s=e.getValue();return S(s)&&P(e)?[l([a,r(e,i,t)]),a]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}(e,t,c);case"JSXExpressionContainer":return function(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!S(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||D(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||b(t)&&("ConditionalExpression"===e.type||x(e)));return i(n.expression,e.getParentNode(0))?u(["{",r("expression"),d,"}"]):u(["{",l([a,r("expression")]),a,d,"}"])}(e,0,c);case"JSXFragment":case"JSXElement":return O(e,t,c);case"JSXOpeningElement":return function(e,t,r){let n=e.getValue(),i=n.name&&S(n.name)||n.typeParameters&&S(n.typeParameters);if(n.selfClosing&&0===n.attributes.length&&!i)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&1===n.attributes.length&&n.attributes[0].value&&E(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!i&&!S(n.attributes[0]))return u(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let a=n.attributes&&n.attributes.some((e=>e.value&&E(e.value)&&e.value.value.includes("\n"))),c=t.singleAttributePerLine&&n.attributes.length>1?o:s;return u(["<",r("name"),r("typeParameters"),l(e.map((()=>[c,r()]),"attributes")),..._(n,t,i)],{shouldBreak:a})}(e,t,c);case"JSXClosingElement":return function(e,t,r){let n=e.getValue(),i=[];i.push("</");let s=r("name");return S(n.name,C.Leading|C.Line)?i.push(l([o,s]),o):S(n.name,C.Leading|C.Block)?i.push(" ",s):i.push(s),i.push(">"),i}(e,0,c);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){let r=e.getValue(),i=S(r),s=S(r,C.Line),a="JSXOpeningFragment"===r.type;return[a?"<":"</",l([s?o:i&&!a?" ":"",n(e,t,!0)]),s?o:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){let r=e.getValue(),i=S(r,C.Line);return[n(e,t,!i),i?o:""]}(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(p.type)}.`)}}}}}),qr=v({"src/language-js/print/misc.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{indent:n,join:i,line:s}}=W(),{isFlowAnnotationComment:o}=sr();function a(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let i=e.getParentNode(),s="DeclareFunction"===i.type&&i.id===n;return o(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[s?"":": ",r("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,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""},printBindExpressionCallee:function(e,t,r){return["::",r("callee")]},printTypeScriptModifiers:function(e,t,n){let s=e.getValue();return r(s.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:a,printRestSpread:function(e,t,r){return["...",r("argument"),a(e,t,r)]},adjustClause:function(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([s,t])},printDirective:function(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}}}}),Gr=v({"src/language-js/print/array.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{line:n,softline:i,hardline:s,group:o,indent:a,ifBreak:u,fill:l}}=W(),{getLast:c,hasNewline:p}=de(),{shouldPrintComma:h,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:y}=sr(),{locStart:b}=Bt(),{printOptionalToken:v,printTypeAnnotation:D}=qr();function E(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(g(e)||y(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,(e=>!p(t.originalText,b(e),{backwards:!0})))))}function x(e,t,r,s){let a=[],u=[];return e.each((e=>{a.push(u,o(s())),u=[",",n],e.getValue()&&m(e.getValue(),t)&&u.push(i)}),r),a}function S(e,t,r,i){let o=[];return e.each(((e,a,u)=>{let l=a===u.length-1;o.push([r(),l?i:","]),l||o.push(m(e.getValue(),t)?[s,s]:d(u[a+1],f.Leading|f.Line)?s:n)}),"elements"),l(o)}t.exports={printArray:function(e,t,n){let s=e.getValue(),l=[],p="TupleExpression"===s.type?"#[":"[";if(0===s.elements.length)d(s,f.Dangling)?l.push(o([p,r(e,t),i,"]"])):l.push(p,"]");else{let d=c(s.elements),f=!(d&&"RestElement"===d.type),m=null===d,g=Symbol("array"),y=!t.__inJestEach&&s.elements.length>1&&s.elements.every(((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let i=r[t+1];if(i&&n!==i.type)return!1;let s="ArrayExpression"===n?"elements":"properties";return e[s]&&e[s].length>1})),b=E(s,t),v=f?m?",":h(t)?b?u(",","",{groupId:g}):u(","):"":"";l.push(o([p,a([i,b?S(e,t,n,v):[x(e,t,"elements",n),v],r(e,t,!0)]),i,"]"],{shouldBreak:y,id:g}))}return l.push(v(e),D(e,t,n)),l},printArrayItems:x,isConciselyPrintedArray:E}}}),Kr=v({"src/language-js/print/call-arguments.js"(e,t){w();var{printDanglingComments:r}=Ht(),{getLast:n,getPenultimate:i}=de(),{getFunctionParameters:s,hasComment:o,CommentCheckFlags:a,isFunctionCompositionArgs:u,isJsxNode:l,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:h,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:g,isObjectProperty:y,isTSTypeExpression:b}=sr(),{builders:{line:v,hardline:D,softline:E,group:x,indent:S,conditionalGroup:C,ifBreak:A,breakParent:T},utils:{willBreak:P}}=W(),{ArgExpansionBailout:F}=Oe(),{isConciselyPrintedArray:I}=Gr();function N(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&&N(e.expression)||b(e)&&N(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||function(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||o(e,a.Dangling))}(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&N(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}t.exports=function(e,t,l){let m=e.getValue(),b="ImportExpression"===m.type,w=h(m);if(0===w.length)return["(",r(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===s(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>o(e)))}(w))return["(",l(["arguments",0]),", ",l(["arguments",1]),")"];let k=!1,_=!1,O=w.length-1,M=[];d(e,((e,r)=>{let n=e.getNode(),i=[l()];r===O||(f(n,t)?(0===r&&(_=!0),k=!0,i.push(",",D,D)):i.push(",",v)),M.push(i)}));let L=b||m.callee&&"Import"===m.callee.type||!p(t,"all")?"":",";function B(){return x(["(",S([v,...M]),L,v,")"],{shouldBreak:!0})}if(k||"Decorator"!==e.getParentNode().type&&u(w))return B();let R=function(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&y(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}(r))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!N(r)}(w),j=function(e,t){let r=n(e),s=i(e);return!o(r,a.Leading)&&!o(r,a.Trailing)&&N(r)&&(!s||s.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==s.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&I(r,t))}(w,t);if(R||j){if(R?M.slice(1).some(P):M.slice(0,-1).some(P))return B();let t=[];try{e.try((()=>{d(e,((e,r)=>{R&&0===r&&(t=[[l([],{expandFirstArg:!0}),M.length>1?",":"",_?D:v,_?D:""],...M.slice(1)]),j&&r===O&&(t=[...M.slice(0,-1),l([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof F)return B();throw e}return[M.some(P)?T:"",C([["(",...t,")"],R?["(",x(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...M.slice(0,-1),x(n(t),{shouldBreak:!0}),")"],B()])]}let $=["(",S([E,...M]),A(L),E,")"];return c(e)?$:x($,{shouldBreak:M.some(P)||k})}}}),Xr=v({"src/language-js/print/member.js"(e,t){w();var{builders:{softline:r,group:n,indent:i,label:s}}=W(),{isNumericLiteral:o,isMemberExpression:a,isCallExpression:u}=sr(),{printOptionalToken:l}=qr();function c(e,t,s){let a=s("property"),u=e.getValue(),c=l(e);return u.computed?!u.property||o(u.property)?[c,"[",a,"]"]:n([c,"[",i([r,a]),r,"]"]):[c,".",a]}t.exports={printMemberExpression:function(e,t,o){let l,p=e.getValue(),h=e.getParentNode(),d=0;do{l=e.getParentNode(d),d++}while(l&&(a(l)||"TSNonNullExpression"===l.type));let f=o("object"),m=c(e,0,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(h)||("AssignmentExpression"===h.type||"VariableDeclarator"===h.type)&&(u(p.object)&&p.object.arguments.length>0||"TSNonNullExpression"===p.object.type&&u(p.object.expression)&&p.object.expression.arguments.length>0||"member-chain"===f.label);return s("member-chain"===f.label?"member-chain":"member",[f,g?m:n(i([r,m]))])},printMemberLookup:c}}}),Jr=v({"src/language-js/print/member-chain.js"(e,t){w();var{printComments:r}=Ht(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:s}=de(),o=$r(),{isCallExpression:a,isMemberExpression:u,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:h,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:g}=sr(),{locEnd:y}=Bt(),{builders:{join:b,hardline:v,group:D,indent:E,conditionalGroup:x,breakParent:S,label:C},utils:{willBreak:A}}=W(),T=Kr(),{printMemberLookup:P}=Xr(),{printOptionalToken:F,printFunctionTypeParameters:I,printBindExpressionCallee:N}=qr();t.exports=function(e,t,w){let k=e.getParentNode(),_=!k||"ExpressionStatement"===k.type,O=[];function M(e){let{originalText:r}=t,n=s(r,e,y);return")"===r.charAt(n)?!1!==n&&i(r,n+1):g(e,t)}function L(e){let n=e.getValue();a(n)&&(p(n.callee)||a(n.callee))?(O.unshift({node:n,printed:[r(e,[F(e),I(e,t,w),T(e,t,w)],t),M(n)?v:""]}),e.call((e=>L(e)),"callee")):p(n)?(O.unshift({node:n,needsParens:o(e,t),printed:r(e,u(n)?P(e,t,w):N(e,t,w),t)}),e.call((e=>L(e)),"object")):"TSNonNullExpression"===n.type?(O.unshift({node:n,printed:r(e,"!",t)}),e.call((e=>L(e)),"expression")):O.unshift({node:n,printed:w()})}let B=e.getValue();O.unshift({node:B,printed:[F(e),I(e,t,w),T(e,t,w)]}),B.callee&&e.call((e=>L(e)),"callee");let R=[],j=[O[0]],$=1;for(;$<O.length&&("TSNonNullExpression"===O[$].node.type||a(O[$].node)||u(O[$].node)&&O[$].node.computed&&h(O[$].node.property));++$)j.push(O[$]);if(!a(O[0].node))for(;$+1<O.length&&p(O[$].node)&&p(O[$+1].node);++$)j.push(O[$]);R.push(j),j=[];let U=!1;for(;$<O.length;++$){if(U&&p(O[$].node)){if(O[$].node.computed&&h(O[$].node.property)){j.push(O[$]);continue}R.push(j),j=[],U=!1}(a(O[$].node)||"ImportExpression"===O[$].node.type)&&(U=!0),j.push(O[$]),f(O[$].node,m.Trailing)&&(R.push(j),j=[],U=!1)}function z(e){return/^[A-Z]|^[$_]+$/.test(e)}j.length>0&&R.push(j);let V=R.length>=2&&!f(R[1][0].node)&&function(e){let r=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&(z(n.name)||_&&function(e){return e.length<=t.tabWidth}(n.name)||r)}let i=n(e[0]).node;return u(i)&&"Identifier"===i.property.type&&(z(i.property.name)||r)}(R);function W(e){let t=e.map((e=>e.printed));return e.length>0&&n(e).needsParens?["(",...t,")"]:t}let H=R.map(W),q=H,G=V?3:2,K=R.flat(),X=K.slice(1,-1).some((e=>f(e.node,m.Leading)))||K.slice(0,-1).some((e=>f(e.node,m.Trailing)))||R[G]&&f(R[G][0].node,m.Leading);if(R.length<=G&&!X)return c(e)?q:D(q);let J,Y=n(R[V?1:0]).node,Z=!a(Y)&&M(Y),Q=[W(R[0]),V?R.slice(1,2).map(W):"",Z?v:"",(te=R.slice(V?2:1),0===te.length?"":E(D([v,b(v,te.map(W))])))],ee=O.map((e=>{let{node:t}=e;return t})).filter(a);var te;return J=X||ee.length>2&&ee.some((e=>!e.arguments.every((e=>d(e,0)))))||H.slice(0,-1).some(A)||function(){let e=n(n(R)).node,t=n(H);return a(e)&&A(t)&&ee.slice(0,-1).some((e=>e.arguments.some(l)))}()?D(Q):[A(q)||Z?S:"",x([q,Q])],C("member-chain",J)}}}),Yr=v({"src/language-js/print/call-expression.js"(e,t){w();var{builders:{join:r,group:n}}=W(),i=$r(),{getCallArguments:s,hasFlowAnnotationComment:o,isCallExpression:a,isMemberish:u,isStringLiteral:l,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:h}=sr(),d=Jr(),f=Kr(),{printOptionalToken:m,printFunctionTypeParameters:g}=qr();t.exports={printCallExpression:function(e,t,y){let b=e.getValue(),v=e.getParentNode(),D="NewExpression"===b.type,E="ImportExpression"===b.type,x=m(e),w=s(b);if(w.length>0&&(!E&&!D&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=s(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&l(r[0])&&"ArrayExpression"===r[1].type)}return!1}(b,v)||1===w.length&&c(w[0],t.originalText)||!D&&p(b,v))){let n=[];return h(e,(()=>{n.push(y())})),[D?"new ":"",y("callee"),x,g(e,t,y),"(",r(", ",n),")"]}let S=("babel"===t.parser||"babel-flow"===t.parser)&&b.callee&&"Identifier"===b.callee.type&&o(b.callee.trailingComments);if(S&&(b.callee.trailingComments[0].printed=!0),!E&&!D&&u(b.callee)&&!e.call((e=>i(e,t)),"callee"))return d(e,t,y);let C=[D?"new ":"",E?"import":y("callee"),x,S?`/*:: ${b.callee.trailingComments[0].value.slice(2).trim()} */`:"",g(e,t,y),f(e,t,y)];return E||a(b.callee)?n(C):C}}}}),Zr=v({"src/language-js/print/assignment.js"(e,t){w();var{isNonEmptyArray:r,getStringWidth:n}=de(),{builders:{line:i,group:s,indent:o,indentIfBreak:a,lineSuffixBoundary:u},utils:{cleanDoc:l,willBreak:c,canBreak:p}}=W(),{hasLeadingOwnLineComment:h,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:g,isCallExpression:y,isMemberExpression:b,getCallArguments:v,rawText:D,hasComment:E,isSignedNumericLiteral:x,isObjectProperty:S}=sr(),{shouldInlineLogicalExpression:C}=Vr(),{printCallExpression:A}=Yr();function T(e,t,c,m,y,b){let v=function(e,t,i,s,o){let a=e.getValue(),u=a[o];if(!u)return"only-left";let c=!P(u);if(e.match(P,F,(e=>!c||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return c?"ArrowFunctionExpression"===u.type&&"ArrowFunctionExpression"===u.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!c&&P(u.right)||h(t.originalText,u))return"break-after-operator";if("CallExpression"===u.type&&"require"===u.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(F(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>S(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(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[r]||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 n=N(t.typeAnnotation);return r(n)&&n.length>1&&n.some((e=>r(N(e))||"TSConditionalType"===e.type))}(a)||I(a)&&p(s))return"break-lhs";let m=function(e,t,r){if(!S(e))return!1;let i=3;return"string"==typeof(t=l(t))&&n(t)<r.tabWidth+i}(a,s,t);return e.call((()=>function(e,t,n,i){let s=e.getValue();if(d(s)&&!C(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return d(e)&&!C(e)}case"ClassExpression":return r(s.decorators)}if(i)return!1;let o=s,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((()=>k(e,t,n)),...a))}(e,t,i,m)),o)?"break-after-operator":m||"TemplateLiteral"===u.type||"TaggedTemplateExpression"===u.type||"BooleanLiteral"===u.type||g(u)||"ClassExpression"===u.type?"never-break-after-operator":"fluid"}(e,t,c,m,b),D=c(b,{assignmentLayout:v});switch(v){case"break-after-operator":return s([s(m),y,s(o([i,D]))]);case"never-break-after-operator":return s([s(m),y," ",D]);case"fluid":{let e=Symbol("assignment");return s([s(m),y,s(o(i),{id:e}),u,a(D,{groupId:e})])}case"break-lhs":return s([m,y," ",s(D)]);case"chain":return[s(m),y,i,D];case"chain-tail":return[s(m),y,o([i,D])];case"chain-tail-arrow-chain":return[s(m),y,D];case"only-left":return m}}function P(e){return"AssignmentExpression"===e.type}function F(e){return P(e)||"VariableDeclarator"===e.type}function I(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function N(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function k(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=e.getValue(),o=()=>k(e,t,n,!0);if("TSNonNullExpression"===s.type)return e.call(o,"expression");if(y(s)){if("member-chain"===A(e,t,n).label)return!1;let i=v(s);return!(!(0===i.length||1===i.length&&function(e,t){let{printWidth:r}=t;if(E(e))return!1;let n=.25*r;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||x(e)&&!E(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=n:f(e)?D(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):m(e)}(i[0],t))||function(e,t){let n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(r(n)){if(n.length>1)return!0;if(1===n.length){let e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(c(t(r)))return!0}return!1}(s,n))&&e.call(o,"callee")}return b(s)?e.call(o,"object"):i&&("Identifier"===s.type||"ThisExpression"===s.type)}t.exports={printVariableDeclarator:function(e,t,r){return T(e,t,r,r("id")," =","init")},printAssignmentExpression:function(e,t,r){let n=e.getValue();return T(e,t,r,r("left"),[" ",n.operator],"right")},printAssignment:T,isArrowFunctionVariableDeclarator:I}}}),Qr=v({"src/language-js/print/function-parameters.js"(e,t){w();var{getNextNonSpaceNonCommentCharacter:r}=de(),{printDanglingComments:n}=Ht(),{builders:{line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l},utils:{removeLines:c,willBreak:p}}=W(),{getFunctionParameters:h,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:y,isObjectTypePropertyAFunction:b,hasRestParameter:v,shouldPrintComma:D,hasComment:E,isNextLineEmpty:x}=sr(),{locEnd:S}=Bt(),{ArgExpansionBailout:C}=Oe(),{printFunctionTypeParameters:A}=qr();function T(e){if(!e)return!1;let t=h(e);if(1!==t.length)return!1;let[r]=t;return!E(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&y(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&y(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}t.exports={printFunctionParameters:function(e,t,y,E,w){let P=e.getValue(),F=h(P),I=w?A(e,y,t):"";if(0===F.length)return[I,"(",n(e,y,!0,(e=>")"===r(y.originalText,e,S))),")"];let N=e.getParentNode(),k=m(N),_=T(P),O=[];if(d(e,((e,r)=>{let n=r===F.length-1;n&&P.rest&&O.push("..."),O.push(t()),!n&&(O.push(","),k||_?O.push(" "):x(F[r],y)?O.push(s,s):O.push(i))})),E){if(p(I)||p(O))throw new C;return a([c(I),"(",c(O),")"])}let M=F.every((e=>!e.decorators));return _&&M||k?[I,"(",...O,")"]:(b(N)||g(N)||"TypeAlias"===N.type||"UnionTypeAnnotation"===N.type||"TSUnionType"===N.type||"IntersectionTypeAnnotation"===N.type||"FunctionTypeAnnotation"===N.type&&N.returnType===P)&&1===F.length&&null===F[0].name&&P.this!==F[0]&&F[0].typeAnnotation&&null===P.typeParameters&&f(F[0].typeAnnotation)&&!P.rest?"always"===y.arrowParens?["(",...O,")"]:O:[I,"(",u([o,...O]),l(!v(P)&&D(y,"all")?",":""),o,")"]},shouldHugFunctionParameters:T,shouldGroupFunctionParameters:function(e,t){let r=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(1===n.length){let e=n[0];if(e.constraint||e.default)return!1}}return 1===h(e).length&&(y(r)||p(t))}}}}),en=v({"src/language-js/print/type-annotation.js"(e,t){w();var{printComments:r,printDanglingComments:n}=Ht(),{isNonEmptyArray:i}=de(),{builders:{group:s,join:o,line:a,softline:u,indent:l,align:c,ifBreak:p}}=W(),h=$r(),{locStart:d}=Bt(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:y,shouldPrintComma:b}=sr(),{printAssignment:v}=Zr(),{printFunctionParameters:D,shouldGroupFunctionParameters:E}=Qr(),{printArrayItems:x}=Gr();function S(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,r=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&r)return!0}return!1}t.exports={printOpaqueType:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];return s.push("opaque type ",r("id"),r("typeParameters")),i.supertype&&s.push(": ",r("supertype")),i.impltype&&s.push(" = ",r("impltype")),s.push(n),s},printTypeAlias:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];i.declare&&s.push("declare "),s.push("type ",r("id"),r("typeParameters"));let o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[v(e,t,r,s," =",o),n]},printIntersectionType:function(e,t,r){let n=e.getValue(),i=e.map(r,"types"),o=[],u=!1;for(let e=0;e<i.length;++e)0===e?o.push(i[e]):m(n.types[e-1])&&m(n.types[e])?o.push([" & ",u?l(i[e]):i[e]]):m(n.types[e-1])||m(n.types[e])?(e>1&&(u=!0),o.push(" & ",e>1?l(i[e]):i[e])):o.push(l([" &",a,i[e]]));return s(o)},printUnionType:function(e,t,n){let i=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,i)),m=S(i),y=e.map((e=>{let i=n();return m||(i=c(2,i)),r(e,i,t)}),"types");if(m)return o(" | ",y);let b=f&&!g(t.originalText,i),v=[p([b?a:"","| "]),o([a,"| "],y)];return h(e,t)?s([l(v),u]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?s([l([p(["(",u]),v]),u,p(")")]):s(f?l(v):v)},printFunctionType:function(e,t,r){let n=e.getValue(),i=[],o=e.getParentNode(0),a=e.getParentNode(1),u=e.getParentNode(2),l="TSFunctionType"===n.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&d(o)===d(n)||"ObjectTypeCallProperty"===o.type||u&&"DeclareFunction"===u.type),c=l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=c&&l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;y(o)&&(l=!0,c=!0),p&&i.push("(");let h=D(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[l?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=E(n,f);return i.push(m?s(h):h),f&&i.push(f),p&&i.push(")"),s(i)},printTupleType:function(e,t,r){let o=e.getValue(),a="TSTupleType"===o.type?"elementTypes":"types",c=o[a],h=i(c),d=h?u:"";return s(["[",l([d,x(e,t,a,r)]),p(h&&b(t,"all")?",":""),n(e,t,!0),d,"]"])},printIndexedAccessType:function(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]},shouldHugType:S,printJSDocType:function(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}}}}),tn=v({"src/language-js/print/type-parameters.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{join:n,line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l}}=W(),{isTestCall:c,hasComment:p,CommentCheckFlags:h,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:g,getTypeScriptMappedTypeModifier:y}=sr(),{createGroupIdMapper:b}=de(),{shouldHugType:v}=en(),{isArrowFunctionVariableDeclarator:D}=Zr(),E=b("typeParameters");function x(e,t){let n=e.getValue();if(!p(n,h.Dangling))return"";let i=!p(n,h.Line),o=r(e,t,i);return i?o:[o,s]}t.exports={printTypeParameter:function(e,t,r){let n=e.getValue(),i=["TSTypeParameter"===n.type&&n.const?"const ":""],s=e.getParentNode();return"TSMappedType"===s.type?(s.readonly&&i.push(y(s.readonly,"readonly")," "),i.push("[",r("name")),n.constraint&&i.push(" in ",r("constraint")),s.nameType&&i.push(" as ",e.callParent((()=>r("nameType")))),i.push("]"),i):(n.variance&&i.push(r("variance")),n.in&&i.push("in "),n.out&&i.push("out "),i.push(r("name")),n.bound&&i.push(": ",r("bound")),n.constraint&&i.push(" extends ",r("constraint")),n.default&&i.push(" = ",r("default")),i)},printTypeParameters:function(e,t,r,s){let p=e.getValue();if(!p[s])return"";if(!Array.isArray(p[s]))return r(s);let h=e.getNode(2),y=h&&c(h),b=e.match((e=>!(1===e[s].length&&g(e[s][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),D);if(0===p[s].length||!b&&(y||1===p[s].length&&("NullableTypeAnnotation"===p[s][0].type||v(p[s][0]))))return["<",n(", ",e.map(r,s)),x(e,t),">"];let w="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return a(["<",u([o,n([",",i],e.map(r,s))]),w,o,">"],{id:E(p)})},getTypeParametersGroupId:E}}}),rn=v({"src/language-js/print/property.js"(e,t){w();var{printComments:r}=Ht(),{printString:n,printNumber:i}=de(),{isNumericLiteral:s,isSimpleNumber:o,isStringLiteral:a,isStringPropSafeToUnquote:u,rawText:l}=sr(),{printAssignment:c}=Zr(),p=new WeakMap;function h(e,t,c){let h=e.getNode();if(h.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=h;if("consistent"===t.quoteProps&&!p.has(d)){let e=(d.properties||d.body||d.members).some((e=>!e.computed&&e.key&&a(e.key)&&!u(e,t)));p.set(d,e)}if(("Identifier"===f.type||s(f)&&o(i(l(f)))&&String(f.value)===i(l(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(d))){let i=n(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call((e=>r(e,i,t)),"key")}return u(h,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(d))?e.call((e=>r(e,/^\d/.test(f.value)?i(f.value):f.value,t)),"key"):c("key")}t.exports={printProperty:function(e,t,r){return e.getValue().shorthand?r("value"):c(e,t,r,h(e,t,r),":","value")},printPropertyKey:h}}}),nn=v({"src/language-js/print/function.js"(e,t){w();var r=Wt(),{printDanglingComments:n,printCommentsSeparately:i}=Ht(),s=F(),{getNextNonSpaceNonCommentCharacterIndex:o}=de(),{builders:{line:a,softline:u,group:l,indent:c,ifBreak:p,hardline:h,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:g}}=W(),{ArgExpansionBailout:y}=Oe(),{getFunctionParameters:b,hasLeadingOwnLineComment:v,isFlowAnnotationComment:D,isJsxNode:E,isTemplateOnItsOwnLine:x,shouldPrintComma:S,startsWithNoLookaheadToken:C,isBinaryish:A,isLineComment:T,hasComment:P,getComments:I,CommentCheckFlags:N,isCallLikeExpression:k,isCallExpression:_,getCallArguments:O,hasNakedLeftSide:M,getLeftSide:L}=sr(),{locEnd:B}=Bt(),{printFunctionParameters:R,shouldGroupFunctionParameters:j}=Qr(),{printPropertyKey:$}=rn(),{printFunctionTypeParameters:U}=qr();function z(e,t,r){let n=e.getNode(),i=R(e,r,t),s=H(e,r,t),o=j(n,s),a=[U(e,t,r),l([o?l(i):i,s])];return n.body?a.push(" ",r("body")):a.push(t.semi?";":""),a}function V(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){let t=b(e);return!(1!==t.length||e.typeParameters||P(e,N.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||P(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function H(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&D(r.originalText,n.returnType))return[" /*: ",i," */"];let s=[i];return n.returnType&&n.returnType.typeAnnotation&&s.unshift(": "),n.predicate&&s.push(n.returnType?" ":": ",t("predicate")),s}function q(e,t,r){let i=e.getValue(),o=t.semi?";":"",a=[];i.argument&&(function(e,t){if(v(e.originalText,t))return!0;if(M(t)){let r,n=t;for(;r=L(n);)if(n=r,v(e.originalText,n))return!0}return!1}(t,i.argument)?a.push([" (",c([h,r("argument")]),h,")"]):A(i.argument)||"SequenceExpression"===i.argument.type?a.push(l([p(" ("," "),c([u,r("argument")]),u,p(")")])):a.push(" ",r("argument")));let d=I(i),f=s(d),m=f&&T(f);return m&&a.push(o),P(i,N.Dangling)&&a.push(" ",n(e,t,!0)),m||a.push(o),a}t.exports={printFunction:function(e,t,r,n){let i=e.getValue(),s=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();_(t)&&O(t).length>1&&(s=!0)}let o=[];"TSDeclareFunction"===i.type&&i.declare&&o.push("declare "),i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(t("id"));let a=R(e,t,r,s),u=H(e,t,r),c=j(i,u);return o.push(U(e,r,t),l([c?l(a):a,u]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&o.push(";"),o},printArrowFunction:function(e,t,r,s){let h=e.getValue(),D=[],w=[],A=!1;if(function a(){let u=function(e,t,r,i){let s=[];if(e.getValue().async&&s.push("async "),V(e,t))s.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),o=H(e,r,t);if(n){if(g(o))throw new y;o=l(m(o))}s.push(l([R(e,r,t,n,!0),o]))}let a=n(e,t,!0,(e=>{let r=o(t.originalText,e,B);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return a&&s.push(" ",a),s}(e,t,r,s);if(0===D.length)D.push(u);else{let{leading:r,trailing:n}=i(e,t);D.push([r,u]),w.unshift(n)}A=A||h.returnType&&b(h).length>0||h.typeParameters||b(h).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==h.body.type||s&&s.expandLastArg?w.unshift(r("body",s)):(h=h.body,e.call(a,"body"))}(),D.length>1)return function(e,t,r,n,i,s){let o=e.getName(),h=e.getParentNode(),m=k(h)&&"callee"===o,g=Boolean(t&&t.assignmentLayout),y="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,b=m&&y||t&&"chain-tail-arrow-chain"===t.assignmentLayout,v=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(i=l(["(",c([u,i]),u,")"])),l([l(c([m||g?u:"",l(d([" =>",a],r),{shouldBreak:n})]),{id:v,shouldBreak:b})," =>",f(y?c([a,i]):[" ",i],{groupId:v}),m?p(u,"",{groupId:v}):""])}(e,s,D,A,w,h);let T=D;if(T.push(" =>"),!v(t.originalText,h.body)&&("ArrayExpression"===h.body.type||"ObjectExpression"===h.body.type||"BlockStatement"===h.body.type||E(h.body)||x(h.body,t.originalText)||"ArrowFunctionExpression"===h.body.type||"DoExpression"===h.body.type))return l([...T," ",w]);if("SequenceExpression"===h.body.type)return l([...T,l([" (",c([u,w]),u,")"])]);let F=(s&&s.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!P(h),I=s&&s.expandLastArg&&S(t,"all"),N="ConditionalExpression"===h.body.type&&!C(h.body,(e=>"ObjectExpression"===e.type));return l([...T,l([c([a,N?p("","("):"",w,N?p("",")"):""]),F?[p(I?",":""),u]:""])])},printMethod:function(e,t,n){let i=e.getNode(),{kind:s}=i,o=i.value||i,a=[];return s&&"init"!==s&&"method"!==s&&"constructor"!==s?(r.ok("get"===s||"set"===s),a.push(s," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push($(e,t,n),i.optional||i.key.optional?"?":""),i===o?a.push(z(e,t,n)):"FunctionExpression"===o.type?a.push(e.call((e=>z(e,t,n)),"value")):a.push(n("value")),a},printReturnStatement:function(e,t,r){return["return",q(e,t,r)]},printThrowStatement:function(e,t,r){return["throw",q(e,t,r)]},printMethodInternal:z,shouldPrintParamsWithoutParens:V}}}),sn=v({"src/language-js/print/decorators.js"(e,t){w();var{isNonEmptyArray:r,hasNewline:n}=de(),{builders:{line:i,hardline:s,join:o,breakParent:a,group:u}}=W(),{locStart:l,locEnd:c}=Bt(),{getParentExportDeclaration:p}=sr();function h(e,t){return e.decorators.some((e=>n(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 r(t)&&l(e)===l(t[0])}t.exports={printDecorators:function(e,t,n){let u=e.getValue(),{decorators:l}=u;if(!r(l)||d(e.getParentNode()))return;let c="ClassExpression"===u.type||"ClassDeclaration"===u.type||h(u,t);return[p(e)?s:c?a:"",o(i,e.map(n,"decorators")),i]},printClassMemberDecorators:function(e,t,r){let n=e.getValue();return u([o(i,e.map(r,"decorators")),h(n,t)?s:i])},printDecoratorsBeforeExport:function(e,t,r){return[o(s,e.map(r,"declaration","decorators")),s]},hasDecoratorsBeforeExport:d}}}),on=v({"src/language-js/print/class.js"(e,t){w();var{isNonEmptyArray:r,createGroupIdMapper:n}=de(),{printComments:i,printDanglingComments:s}=Ht(),{builders:{join:o,line:a,hardline:u,softline:l,group:c,indent:p,ifBreak:h}}=W(),{hasComment:d,CommentCheckFlags:f}=sr(),{getTypeParametersGroupId:m}=tn(),{printMethod:g}=nn(),{printOptionalToken:y,printTypeAnnotation:b,printDefiniteToken:v}=qr(),{printPropertyKey:D}=rn(),{printAssignment:E}=Zr(),{printClassMemberDecorators:x}=sn();var S=n("heritageGroup");function C(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 A(e,t,n,i){let l=e.getValue();if(!r(l[i]))return"";let d=s(e,t,!0,(e=>{let{marker:t}=e;return t===i}));return[C(l)?h(" ",a,{groupId:m(l.typeParameters)}):a,d,d&&u,i,c(p([a,o([",",a],e.map(n,i))]))]}function T(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?c(h(["(",p([l,n]),l,")"],n)):n}t.exports={printClass:function(e,t,n){let s=e.getValue(),o=[];s.declare&&o.push("declare "),s.abstract&&o.push("abstract "),o.push("class");let u=s.id&&d(s.id,f.Trailing)||s.typeParameters&&d(s.typeParameters,f.Trailing)||s.superClass&&d(s.superClass)||r(s.extends)||r(s.mixins)||r(s.implements),l=[],h=[];if(s.id&&l.push(" ",n("id")),l.push(n("typeParameters")),s.superClass){let r=[T(e,0,n),n("superTypeParameters")],s=e.call((e=>["extends ",i(e,r,t)]),"superClass");u?h.push(a,c(s)):h.push(" ",s)}else h.push(A(e,t,n,"extends"));if(h.push(A(e,t,n,"mixins"),A(e,t,n,"implements")),u){let e;e=C(s)?[...l,p(h)]:p([...l,h]),o.push(c(e,{id:S(s)}))}else o.push(...l,...h);return o.push(" ",n("body")),o},printClassMethod:function(e,t,n){let i=e.getValue(),s=[];return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.readonly&&s.push("readonly "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),s.push(g(e,t,n)),s},printClassProperty:function(e,t,n){let i=e.getValue(),s=[],o=t.semi?";":"";return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractPropertyDefinition"===i.type||"TSAbstractAccessorProperty"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),i.readonly&&s.push("readonly "),i.variance&&s.push(n("variance")),("ClassAccessorProperty"===i.type||"AccessorProperty"===i.type||"TSAbstractAccessorProperty"===i.type)&&s.push("accessor "),s.push(D(e,t,n),y(e),v(e),b(e,t,n)),[E(e,t,n,s," =","value"),o]},printHardlineAfterHeritage:function(e){return h(u,"",{groupId:S(e)})}}}}),an=v({"src/language-js/print/interface.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{join:n,line:i,group:s,indent:o,ifBreak:a}}=W(),{hasComment:u,identity:l,CommentCheckFlags:c}=sr(),{getTypeParametersGroupId:p}=tn(),{printTypeScriptModifiers:h}=qr();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 ":"",h(e,t,d)),m.push("interface");let g=[],y=[];"InterfaceTypeAnnotation"!==f.type&&g.push(" ",d("id"),d("typeParameters"));let b=f.typeParameters&&!u(f.typeParameters,c.Trailing|c.Line);return r(f.extends)&&y.push(b?a(" ",i,{groupId:p(f.typeParameters)}):i,"extends ",(1===f.extends.length?l:o)(n([",",i],e.map(d,"extends")))),f.id&&u(f.id,c.Trailing)||r(f.extends)?b?m.push(s([...g,o(y)])):m.push(s(o([...g,...y]))):m.push(...g,...y),m.push(" ",d("body")),s(m)}}}}),un=v({"src/language-js/print/module.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{softline:n,group:i,indent:s,join:o,line:a,ifBreak:u,hardline:l}}=W(),{printDanglingComments:c}=Ht(),{hasComment:p,CommentCheckFlags:h,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:g}=sr(),{locStart:y,hasSameLoc:b}=Bt(),{hasDecoratorsBeforeExport:v,printDecoratorsBeforeExport:D}=sn();function E(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return S(n,t)||i.push(" from"),i.push(" ",r("source")),i}function x(e,t,l){let c=e.getValue();if(S(c,t))return"";let h=[" "];if(r(c.specifiers)){let r=[],f=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(l());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);f.push(l())}}),"specifiers"),h.push(o(", ",r)),f.length>0&&(r.length>0&&h.push(", "),f.length>1||r.length>0||c.specifiers.some((e=>p(e)))?h.push(i(["{",s([t.bracketSpacing?a:n,o([",",a],f)]),u(d(t)?",":""),t.bracketSpacing?a:n,"}"])):h.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else h.push("{}");return h}function S(e,t){let{type:n,importKind:i,source:s,specifiers:o}=e;return"ImportDeclaration"===n&&!r(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(y(e),y(s)))}function C(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{importKind:o}=n;return s.push("import"),o&&"value"!==o&&s.push(" ",o),s.push(x(e,t,r),E(e,t,r),C(e,t,r),i),s},printExportDeclaration:function(e,t,r){let n=e.getValue(),i=[];v(n)&&i.push(D(e,t,r));let{type:s,exportKind:o,declaration:a}=n;return i.push("export"),(n.default||"ExportDefaultDeclaration"===s)&&i.push(" default"),p(n,h.Dangling)&&(i.push(" ",c(e,t,!0)),f(n)&&i.push(l)),a?i.push(" ",r("declaration")):i.push("type"===o?" type":"",x(e,t,r),E(e,t,r),C(e,t,r)),function(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,i=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:s}=n;return!(!i||"ClassDeclaration"===s||"FunctionDeclaration"===s||"TSInterfaceDeclaration"===s||"DeclareClass"===s||"DeclareFunction"===s||"TSDeclareFunction"===s||"EnumDeclaration"===s)}(n,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{exportKind:o,exported:a}=n;return s.push("export"),"type"===o&&s.push(" type"),s.push(" *"),a&&s.push(" as ",r("exported")),s.push(E(e,t,r),C(e,t,r),i),s},printModuleSpecifier:function(e,t,r){let n=e.getNode(),{type:i}=n,s=[],o="ImportSpecifier"===i?n.importKind:n.exportKind;o&&"value"!==o&&s.push(o," ");let a=i.startsWith("Import"),u=a?"imported":"local",l=a?"local":"exported",c=n[u],p=n[l],h="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?h="*":c&&(h=r(u)),p&&!function(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!(t.type!==r.type||!b(t,r))&&(m(t)?t.value===r.value&&g(t)===g(r):"Identifier"===t.type&&t.name===r.name)}(n)&&(d=r(l)),s.push(h,h&&d?" as ":"",d),s}}}}),ln=v({"src/language-js/print/object.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{line:n,softline:i,group:s,indent:o,ifBreak:a,hardline:u}}=W(),{getLast:l,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:h}=de(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:g,isNextLineEmpty:y}=sr(),{locStart:b,locEnd:v}=Bt(),{printOptionalToken:D,printTypeAnnotation:E}=qr(),{shouldHugFunctionParameters:x}=Qr(),{shouldHugType:S}=en(),{printHardlineAfterHeritage:C}=on();t.exports={printObject:function(e,t,w){let A,T=t.semi?";":"",P=e.getValue();A="TSTypeLiteral"===P.type?"members":"TSInterfaceBody"===P.type?"body":"properties";let F="ObjectTypeAnnotation"===P.type,I=[A];F&&I.push("indexers","callProperties","internalSlots");let N=I.map((e=>P[e][0])).sort(((e,t)=>b(e)-b(t)))[0],k=e.getParentNode(0),_=F&&k&&("InterfaceDeclaration"===k.type||"DeclareInterface"===k.type||"DeclareClass"===k.type)&&"body"===e.getName(),O="TSInterfaceBody"===P.type||_||"ObjectPattern"===P.type&&"FunctionDeclaration"!==k.type&&"FunctionExpression"!==k.type&&"ArrowFunctionExpression"!==k.type&&"ObjectMethod"!==k.type&&"ClassMethod"!==k.type&&"ClassPrivateMethod"!==k.type&&"AssignmentPattern"!==k.type&&"CatchClause"!==k.type&&P.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==P.type&&N&&c(t.originalText,b(P),b(N)),M=_?";":"TSInterfaceBody"===P.type||"TSTypeLiteral"===P.type?a(T,";"):",",L="RecordExpression"===P.type?"#{":P.exact?"{|":"{",B=P.exact?"|}":"}",R=[];for(let t of I)e.each((e=>{let t=e.getValue();R.push({node:t,printed:w(),loc:b(t)})}),t);I.length>1&&R.sort(((e,t)=>e.loc-t.loc));let j=[],$=R.map((e=>{let r=[...j,s(e.printed)];return j=[M,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,g.PrettierIgnore)&&j.shift(),y(e.node,t)&&j.push(u),r}));if(P.inexact){let i;if(f(P,g.Dangling)){let s=f(P,g.Line);i=[r(e,t,!0),s||p(t.originalText,v(l(m(P))))?u:n,"..."]}else i=["..."];$.push([...j,...i])}let U,z=l(P[A]),V=!(P.inexact||z&&"RestElement"===z.type||z&&("TSPropertySignature"===z.type||"TSCallSignatureDeclaration"===z.type||"TSMethodSignature"===z.type||"TSConstructSignatureDeclaration"===z.type)&&f(z,g.PrettierIgnore));if(0===$.length){if(!f(P,g.Dangling))return[L,B,E(e,t,w)];U=s([L,r(e,t),i,B,D(e),E(e,t,w)])}else U=[_&&h(P.properties)?C(k):"",L,o([t.bracketSpacing?n:i,...$]),a(V&&(","!==M||d(t))?M:""),t.bracketSpacing?n:i,B,D(e),E(e,t,w)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(S,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!O&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?U:s(U,{shouldBreak:O})}}}}),cn=v({"src/language-js/print/flow.js"(e,t){w();var r=Wt(),{printDanglingComments:n}=Ht(),{printString:i,printNumber:s}=de(),{builders:{hardline:o,softline:a,group:u,indent:l}}=W(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:h,rawText:d,shouldPrintComma:f}=sr(),{locStart:m,locEnd:g}=Bt(),{replaceTextEndOfLine:y}=U(),{printClass:b}=on(),{printOpaqueType:v,printTypeAlias:D,printIntersectionType:E,printUnionType:x,printFunctionType:S,printTupleType:C,printIndexedAccessType:A}=en(),{printInterface:T}=an(),{printTypeParameter:P,printTypeParameters:F}=tn(),{printExportDeclaration:I,printExportAllDeclaration:N}=un(),{printArrayItems:k}=Gr(),{printObject:_}=ln(),{printPropertyKey:O}=rn(),{printOptionalToken:M,printTypeAnnotation:L,printRestSpread:B}=qr();function R(e,t){let n=c(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,c){let w=e.getValue(),j=t.semi?";":"",$=[];switch(w.type){case"DeclareClass":return R(e,b(e,t,c));case"DeclareFunction":return R(e,["function ",c("id"),w.predicate?" ":"",c("predicate"),j]);case"DeclareModule":return R(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return R(e,["module.exports",": ",c("typeAnnotation"),j]);case"DeclareVariable":return R(e,["var ",c("id"),j]);case"DeclareOpaqueType":return R(e,v(e,t,c));case"DeclareInterface":return R(e,T(e,t,c));case"DeclareTypeAlias":return R(e,D(e,t,c));case"DeclareExportDeclaration":return R(e,I(e,t,c));case"DeclareExportAllDeclaration":return R(e,N(e,t,c));case"OpaqueType":return v(e,t,c);case"TypeAlias":return D(e,t,c);case"IntersectionTypeAnnotation":return E(e,t,c);case"UnionTypeAnnotation":return x(e,t,c);case"FunctionTypeAnnotation":return S(e,t,c);case"TupleTypeAnnotation":return C(e,t,c);case"GenericTypeAnnotation":return[c("id"),F(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return A(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return P(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(w.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===w.type||w.explicitType){let e=null;switch(w.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}$.push("of ",e," ")}if(0!==w.members.length||w.hasUnknownMembers){let r=w.members.length>0?[o,k(e,t,"members",c),w.hasUnknownMembers||f(t)?",":""]:[];$.push(u(["{",l([...r,...w.hasUnknownMembers?[o,"..."]:[]]),n(e,t,!0),o,"}"]))}else $.push(u(["{",n(e,t),a,"}"]));return $;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof w.init?c("init"):String(w.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=w.name?c("name"):e.getParentNode().this===w?"this":"";return[t,M(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return T(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=w;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return w.static&&$.push("static "),$.push(c("value")),$;case"ObjectTypeIndexer":return[w.static?"static ":"",w.variance?c("variance"):"","[",c("id"),w.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let r="";return w.proto?r="proto ":w.static&&(r="static "),[r,h(w)?w.kind+" ":"",w.variance?c("variance"):"",O(e,t,c),M(e),p(w)?"":": ",c("value")]}case"ObjectTypeAnnotation":return _(e,t,c);case"ObjectTypeInternalSlot":return[w.static?"static ":"","[[",c("id"),"]]",M(e),w.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return B(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return y(i(d(w),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof w.value,"number");case"BigIntLiteralTypeAnnotation":return w.extra?s(w.extra.raw):s(w.raw);case"TypeCastExpression":return["(",c("expression"),L(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=F(e,t,c,"params");if("flow"===t.parser){let e=m(w),n=g(w),i=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==s){let e=t.originalText.slice(i+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}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(w.type))}}}}}),pn=v({"src/language-js/utils/is-ts-keyword-type.js"(e,t){w(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),hn=v({"src/language-js/print/ternary.js"(e,t){w();var{hasNewlineInRange:r}=de(),{isJsxNode:n,getComments:i,isCallExpression:s,isMemberExpression:o,isTSTypeExpression:a}=sr(),{locStart:u,locEnd:l}=Bt(),c=nr(),{builders:{line:p,softline:h,group:d,indent:f,align:m,ifBreak:g,dedent:y,breakParent:b}}=W();function v(e,t,r){let n=e.getValue(),i="ConditionalExpression"===n.type,s=i?"alternate":"falseType",o=e.getParentNode(),a=i?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return o.type===n.type&&o[s]===n?m(2,a):a}var D=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,E){let x,w,S=e.getValue(),C="ConditionalExpression"===S.type,A=C?"consequent":"trueType",T=C?"alternate":"falseType",P=C?["test"]:["checkType","extendsType"],F=S[A],I=S[T],N=[],k=!1,_=e.getParentNode(),O=_.type===S.type&&P.some((e=>_[e]===S)),M=_.type===S.type&&!O,L=0;do{w=x||S,x=e.getParentNode(L),L++}while(x&&x.type===S.type&&P.every((e=>x[e]!==w)));let B=x||_,R=w;if(C&&(n(S[P[0]])||n(F)||n(I)||function(e){let t=[e];for(let e=0;e<t.length;e++){let r=t[e];for(let e of["test","consequent","alternate"]){let i=r[e];if(n(i))return!0;"ConditionalExpression"===i.type&&t.push(i)}}return!1}(R))){k=!0,M=!0;let e=e=>[g("("),f([h,e]),h,g(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;N.push(" ? ",t(F)?E(A):e(E(A))," : ",I.type===S.type||t(I)?E(T):e(E(T)))}else{let e=[p,"? ",F.type===S.type?g("","("):"",m(2,E(A)),F.type===S.type?g("",")"):"",p,": ",I.type===S.type?E(T):m(2,E(T))];N.push(_.type!==S.type||_[T]===S||O?e:t.useTabs?y(f(e)):m(Math.max(0,t.tabWidth-2),e))}let j=[...P.map((e=>i(S[e]))),i(F),i(I)].flat().some((e=>c(e)&&r(t.originalText,u(e),l(e)))),$=!k&&(o(_)||"NGPipeExpression"===_.type&&_.left===S)&&!_.computed,U=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let r,n=t;for(let t=0;!r;t++){let i=e.getParentNode(t);s(i)&&i.callee===n||o(i)&&i.object===n||"TSNonNullExpression"===i.type&&i.expression===n?n=i:"NewExpression"===i.type&&i.callee===n||a(i)&&i.expression===n?(r=e.getParentNode(t+1),n=i):r=i}return n!==t&&r[D.get(r.type)]===n}(e),z=(V=[v(e,0,E),M?N:f(N),C&&$&&!U?h:""],_===B?d(V,{shouldBreak:j}):j?[V,b]:V);var V;return O||U?d([f([h,z]),h]):z}}}}),dn=v({"src/language-js/print/statement.js"(e,t){w();var{builders:{hardline:r}}=W(),n=$r(),{getLeftSidePathName:i,hasNakedLeftSide:s,isJsxNode:o,isTheOnlyJsxElementInMarkdown:a,hasComment:u,CommentCheckFlags:l,isNextLineEmpty:c}=sr(),{shouldPrintParamsWithoutParens:p}=nn();function h(e,t,n,i){let s=e.getValue(),o=[],p="ClassBody"===s.type,h=function(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}(s[i]);return e.each(((e,i,s)=>{let m=e.getValue();if("EmptyStatement"===m.type)return;let g=n();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):u(m,l.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",g),!t.semi&&p&&f(m)&&function(e,t){let{type:r,name:n}=e.key;if(!(e.computed||"Identifier"!==r||"static"!==n&&"get"!==n&&"set"!==n&&"accessor"!==n||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,s[i+1])&&o.push(";"),m!==h&&(o.push(r),c(m,t)&&o.push(r))}),i),o}function d(e,t){let r=e.getValue();switch(r.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}=r;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(o(r))return!0}return!!n(e,t)||!!s(r)&&e.call((e=>d(e,t)),...i(e,r))}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,r){return h(e,t,r,"body")},printSwitchCaseConsequent:function(e,t,r){return h(e,t,r,"consequent")}}}}),fn=v({"src/language-js/print/block.js"(e,t){w();var{printDanglingComments:r}=Ht(),{isNonEmptyArray:n}=de(),{builders:{hardline:i,indent:s}}=W(),{hasComment:o,CommentCheckFlags:a,isNextLineEmpty:u}=sr(),{printHardlineAfterHeritage:l}=on(),{printBody:c}=dn();function p(e,t,s){let l=e.getValue(),p=n(l.directives),h=l.body.some((e=>"EmptyStatement"!==e.type)),d=o(l,a.Dangling);if(!p&&!h&&!d)return"";let f=[];if(p&&e.each(((e,r,n)=>{f.push(s()),(r<n.length-1||h||d)&&(f.push(i),u(e.getValue(),t)&&f.push(i))}),"directives"),h&&f.push(c(e,t,s)),d&&f.push(r(e,t,!0)),"Program"===l.type){let t=e.getParentNode();(!t||"ModuleExpression"!==t.type)&&f.push(i)}return f}t.exports={printBlock:function(e,t,r){let o=e.getValue(),a=[];if("StaticBlock"===o.type&&a.push("static "),"ClassBody"===o.type&&n(o.body)){let t=e.getParentNode();a.push(l(t))}a.push("{");let u=p(e,t,r);if(u)a.push(s([i,u]),i);else{let t=e.getParentNode(),r=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!r.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===o.type||"ClassBody"===o.type||a.push(i)}return a.push("}"),a},printBlockBody:p}}}),mn=v({"src/language-js/print/typescript.js"(e,t){w();var{printDanglingComments:r}=Ht(),{hasNewlineInRange:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:u,indent:l,conditionalGroup:c,ifBreak:p}}=W(),{isStringLiteral:h,getTypeScriptMappedTypeModifier:d,shouldPrintComma:f,isCallExpression:m,isMemberExpression:g}=sr(),y=pn(),{locStart:b,locEnd:v}=Bt(),{printOptionalToken:D,printTypeScriptModifiers:E}=qr(),{printTernary:x}=hn(),{printFunctionParameters:S,shouldGroupFunctionParameters:C}=Qr(),{printTemplateLiteral:A}=or(),{printArrayItems:T}=Gr(),{printObject:P}=ln(),{printClassProperty:F,printClassMethod:I}=on(),{printTypeParameter:N,printTypeParameters:k}=tn(),{printPropertyKey:_}=rn(),{printFunction:O,printMethodInternal:M}=nn(),{printInterface:L}=an(),{printBlock:B}=fn(),{printTypeAlias:R,printIntersectionType:j,printUnionType:$,printFunctionType:U,printTupleType:z,printIndexedAccessType:V,printJSDocType:H}=en();t.exports={printTypescript:function(e,t,w){let W=e.getValue();if(!W.type.startsWith("TS"))return;if(y(W))return W.type.slice(2,-7).toLowerCase();let q=t.semi?";":"",G=[];switch(W.type){case"TSThisType":return"this";case"TSTypeAssertion":{let e=!("ArrayExpression"===W.expression.type||"ObjectExpression"===W.expression.type),t=u(["<",l([a,w("typeAnnotation")]),a,">"]),r=[p("("),l([a,w("expression")]),a,p(")")];return e?c([[t,w("expression")],[t,u(r,{shouldBreak:!0})],[t,w("expression")]]):u([t,w("expression")])}case"TSDeclareFunction":return O(e,w,t);case"TSExportAssignment":return["export = ",w("expression"),q];case"TSModuleBlock":return B(e,t,w);case"TSInterfaceBody":case"TSTypeLiteral":return P(e,t,w);case"TSTypeAliasDeclaration":return R(e,t,w);case"TSQualifiedName":return i(".",[w("left"),w("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return I(e,t,w);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return F(e,t,w);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return G.push(w("expression")),W.typeParameters&&G.push(w("typeParameters")),G;case"TSTemplateLiteralType":return A(e,w,t);case"TSNamedTupleMember":return[w("label"),W.optional?"?":"",": ",w("elementType")];case"TSRestType":return["...",w("typeAnnotation")];case"TSOptionalType":return[w("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return L(e,t,w);case"TSClassImplements":case"TSInstantiationExpression":return[w("expression"),w("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return k(e,t,w,"params");case"TSTypeParameter":return N(e,t,w);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===W.type?"as":"satisfies";G.push(w("expression"),` ${t} `,w("typeAnnotation"));let r=e.getParentNode();return m(r)&&r.callee===W||g(r)&&r.object===W?u([l([a,...G]),a]):G}case"TSArrayType":return[w("elementType"),"[]"];case"TSPropertySignature":return W.readonly&&G.push("readonly "),G.push(_(e,t,w),D(e)),W.typeAnnotation&&G.push(": ",w("typeAnnotation")),W.initializer&&G.push(" = ",w("initializer")),G;case"TSParameterProperty":return W.accessibility&&G.push(W.accessibility+" "),W.export&&G.push("export "),W.static&&G.push("static "),W.override&&G.push("override "),W.readonly&&G.push("readonly "),G.push(w("parameter")),G;case"TSTypeQuery":return["typeof ",w("exprName"),w("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=W.parameters.length>1?p(f(t)?",":""):"",s=u([l([a,i([", ",a],e.map(w,"parameters"))]),n,a]);return[W.export?"export ":"",W.accessibility?[W.accessibility," "]:"",W.static?"static ":"",W.readonly?"readonly ":"",W.declare?"declare ":"","[",W.parameters?s:"",W.typeAnnotation?"]: ":"]",W.typeAnnotation?w("typeAnnotation"):"","ClassBody"===r.type?q:""]}case"TSTypePredicate":return[W.asserts?"asserts ":"",w("parameterName"),W.typeAnnotation?[" is ",w("typeAnnotation")]:""];case"TSNonNullExpression":return[w("expression"),"!"];case"TSImportType":return[W.isTypeOf?"typeof ":"","import(",w(W.parameter?"parameter":"argument"),")",W.qualifier?[".",w("qualifier")]:"",k(e,t,w,"typeParameters")];case"TSLiteralType":return w("literal");case"TSIndexedAccessType":return V(e,t,w);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===W.type&&W.abstract&&G.push("abstract "),"TSCallSignatureDeclaration"!==W.type&&G.push("new "),G.push(u(S(e,w,t,!1,!0))),W.returnType||W.typeAnnotation){let e="TSConstructorType"===W.type;G.push(e?" => ":": ",w("returnType"),w("typeAnnotation"))}return G;case"TSTypeOperator":return[W.operator," ",w("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,b(W),v(W));return u(["{",l([t.bracketSpacing?s:a,w("typeParameter"),W.optional?d(W.optional,"?"):"",W.typeAnnotation?": ":"",w("typeAnnotation"),p(q)]),r(e,t,!0),t.bracketSpacing?s:a,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=W.kind&&"method"!==W.kind?`${W.kind} `:"";G.push(W.accessibility?[W.accessibility," "]:"",r,W.export?"export ":"",W.static?"static ":"",W.readonly?"readonly ":"",W.abstract?"abstract ":"",W.declare?"declare ":"",W.computed?"[":"",w("key"),W.computed?"]":"",D(e));let n=S(e,w,t,!1,!0),i=W.returnType?"returnType":"typeAnnotation",s=W[i],o=s?w(i):"",a=C(W,o);return G.push(a?u(n):n),s&&G.push(": ",u(o)),u(G)}case"TSNamespaceExportDeclaration":return G.push("export as namespace ",w("id")),t.semi&&G.push(";"),u(G);case"TSEnumDeclaration":return W.declare&&G.push("declare "),W.modifiers&&G.push(E(e,t,w)),W.const&&G.push("const "),G.push("enum ",w("id")," "),0===W.members.length?G.push(u(["{",r(e,t),a,"}"])):G.push(u(["{",l([o,T(e,t,"members",w),f(t,"es5")?",":""]),r(e,t,!0),o,"}"])),G;case"TSEnumMember":return W.computed?G.push("[",w("id"),"]"):G.push(w("id")),W.initializer&&G.push(" = ",w("initializer")),G;case"TSImportEqualsDeclaration":return W.isExport&&G.push("export "),G.push("import "),W.importKind&&"value"!==W.importKind&&G.push(W.importKind," "),G.push(w("id")," = ",w("moduleReference")),t.semi&&G.push(";"),u(G);case"TSExternalModuleReference":return["require(",w("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=h(W.id),i="TSModuleDeclaration"===r.type,s=W.body&&"TSModuleDeclaration"===W.body.type;if(i)G.push(".");else{W.declare&&G.push("declare "),G.push(E(e,t,w));let r=t.originalText.slice(b(W),b(W.id));"Identifier"===W.id.type&&"global"===W.id.name&&!/namespace|module/.test(r)||G.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return G.push(w("id")),s?G.push(w("body")):W.body?G.push(" ",u(w("body"))):G.push(q),G}case"TSConditionalType":return x(e,t,w);case"TSInferType":return["infer"," ",w("typeParameter")];case"TSIntersectionType":return j(e,t,w);case"TSUnionType":return $(e,t,w);case"TSFunctionType":return U(e,t,w);case"TSTupleType":return z(e,t,w);case"TSTypeReference":return[w("typeName"),k(e,t,w,"typeParameters")];case"TSTypeAnnotation":return w("typeAnnotation");case"TSEmptyBodyFunctionExpression":return M(e,t,w);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return H(e,w,"?");case"TSJSDocNonNullableType":return H(e,w,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(W.type)}.`)}}}}}),gn=v({"src/language-js/print/comment.js"(e,t){w();var{hasNewline:r}=de(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:s}}=W(),{isLineComment:o}=sr(),{locStart:a,locEnd:u}=Bt(),l=nr();t.exports={printComment:function(e,t){let c=e.getValue();if(o(c))return t.originalText.slice(a(c),u(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["/*",n(i,t.map(((e,r)=>0===r?e.trimEnd():" "+(r<t.length-1?e.trim():e.trimStart())))),"*/"]}(c);return c.trailing&&!r(t.originalText,a(c),{backwards:!0})?[i,e]:e}let e=u(c),o="*-/"===t.originalText.slice(e-3,e);return["/*",s(c.value),o?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(c))}}}}),yn=v({"src/language-js/print/literal.js"(e,t){w();var{printString:r,printNumber:n}=de(),{replaceTextEndOfLine:i}=U(),{printDirective:s}=qr();function o(e){return e.toLowerCase()}function a(e){let{pattern:t,flags:r}=e;return r=[...r].sort().join(""),`/${t}/${r}`}t.exports={printLiteral:function(e,t){let u=e.getNode();switch(u.type){case"RegExpLiteral":return a(u);case"BigIntLiteral":return o(u.bigint||u.extra.raw);case"NumericLiteral":return n(u.extra.raw);case"StringLiteral":return i(r(u.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(u.value);case"DecimalLiteral":return n(u.value)+"m";case"Literal":{if(u.regex)return a(u.regex);if(u.bigint)return o(u.raw);if(u.decimal)return n(u.decimal)+"m";let{value:l}=u;return"number"==typeof l?n(u.raw):"string"==typeof l?function(e){if("expression"!==e.getName())return;let t=e.getParentNode();return"ExpressionStatement"===t.type&&t.directive}(e)?s(u.raw,t):i(r(u.raw,t)):String(l)}}}}}}),bn=v({"src/language-js/printer-estree.js"(e,t){w();var{printDanglingComments:r}=Ht(),{hasNewline:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:u,indent:l},utils:{replaceTextEndOfLine:c}}=W(),p=pr(),h=hr(),{insertPragma:d}=Br(),f=jr(),m=$r(),g=Ur(),{hasFlowShorthandAnnotationComment:y,hasComment:b,CommentCheckFlags:v,isTheOnlyJsxElementInMarkdown:D,isLineComment:E,isNextLineEmpty:x,needsHardlineAfterDanglingComment:S,hasIgnoreComment:C,isCallExpression:A,isMemberExpression:T,markerForIfWithoutBlockAndSameLineComment:P}=sr(),{locStart:F,locEnd:I}=Bt(),N=nr(),{printHtmlBinding:k,isVueEventBindingExpression:_}=zr(),{printAngular:O}=Wr(),{printJsx:M,hasJsxIgnoreComment:L}=Hr(),{printFlow:B}=cn(),{printTypescript:R}=mn(),{printOptionalToken:j,printBindExpressionCallee:$,printTypeAnnotation:U,adjustClause:z,printRestSpread:V,printDefiniteToken:H,printDirective:q}=qr(),{printImportDeclaration:G,printExportDeclaration:K,printExportAllDeclaration:X,printModuleSpecifier:J}=un(),{printTernary:Y}=hn(),{printTemplateLiteral:Z}=or(),{printArray:Q}=Gr(),{printObject:ee}=ln(),{printClass:te,printClassMethod:re,printClassProperty:ne}=on(),{printProperty:ie}=rn(),{printFunction:se,printArrowFunction:oe,printMethod:ae,printReturnStatement:ue,printThrowStatement:le}=nn(),{printCallExpression:ce}=Yr(),{printVariableDeclarator:pe,printAssignmentExpression:he}=Zr(),{printBinaryishExpression:fe}=Vr(),{printSwitchCaseConsequent:me}=dn(),{printMemberExpression:ge}=Xr(),{printBlock:ye,printBlockBody:be}=fn(),{printComment:ve}=gn(),{printLiteral:De}=yn(),{printDecorators:Ee}=sn();t.exports={preprocess:g,print:function(e,t,p,h){let d=function(e,t,p,h){let d=e.getValue(),f=t.semi?";":"";if(!d)return"";if("string"==typeof d)return d;for(let r of[De,k,O,M,B,R]){let n=r(e,t,p);if(typeof n<"u")return n}let m=[];switch(d.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),o];case"File":return d.program&&d.program.interpreter&&m.push(p(["program","interpreter"])),m.push(p("program")),m;case"Program":return be(e,t,p);case"EmptyStatement":return"";case"ExpressionStatement":{if("__vue_event_binding"===t.parser||"__vue_ts_event_binding"===t.parser){let t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===d)return[p("expression"),_(d.expression)?";":""]}let n=r(e,t,!0,(e=>{let{marker:t}=e;return t===P}));return[p("expression"),D(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return b(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?u(["(",l([a,p("expression")]),a,")"]):["(",p("expression"),")"];case"AssignmentExpression":return he(e,t,p);case"VariableDeclarator":return pe(e,t,p);case"BinaryExpression":case"LogicalExpression":return fe(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return ge(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(u(l([a,$(e,t,p)]))),m;case"Identifier":return[d.name,j(e),H(e),U(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return V(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return se(e,p,t,h);case"ArrowFunctionExpression":return oe(e,t,p,h);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(A(t)&&t.callee===d||T(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 u(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return K(e,t,p);case"ExportAllDeclaration":return X(e,t,p);case"ImportDeclaration":return G(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return J(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ye(e,t,p);case"ThrowStatement":return le(e,t,p);case"ReturnStatement":return ue(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ce(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,p);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?ae(e,t,p):ie(e,t,p);case"ObjectMethod":return ae(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Q(e,t,p);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,r)=>{0===r?t.push(p()):t.push(",",l([s,p()]))}),"expressions"),u(t)}return u(i([",",s],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return q(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),b(d.argument)?m.push(u(["(",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 Y(e,t,p);case"VariableDeclaration":{let t,r=e.map(p,"declarations"),n=e.getParentNode(),i="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,a=d.declarations.some((e=>e.init));return 1!==r.length||b(d.declarations[0])?r.length>0&&(t=l(r[0])):t=r[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",l(r.slice(1).map((e=>[",",a&&!i?o:s,e])))],i&&n.body!==d||m.push(f),u(m)}case"WithStatement":return u(["with (",p("object"),")",z(d.body,p("body"))]);case"IfStatement":{let n=z(d.consequent,p("consequent")),i=u(["if (",u([l([a,p("test")]),a]),")",n]);if(m.push(i),d.alternate){let n=b(d.consequent,v.Trailing|v.Line)||S(d),i="BlockStatement"===d.consequent.type&&!n;m.push(i?" ":o),b(d,v.Dangling)&&m.push(r(e,t,!0),n?o:" "),m.push("else",u(z(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let n=z(d.body,p("body")),i=r(e,t,!0),o=i?[i,a]:"";return d.init||d.test||d.update?[o,u(["for (",u([l([a,p("init"),";",s,p("test"),";",s,p("update")]),a]),")",n])]:[o,u(["for (;;)",n])]}case"WhileStatement":return u(["while (",u([l([a,p("test")]),a]),")",z(d.body,p("body"))]);case"ForInStatement":return u(["for (",p("left")," in ",p("right"),")",z(d.body,p("body"))]);case"ForOfStatement":return u(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",z(d.body,p("body"))]);case"DoWhileStatement":{let e=z(d.body,p("body"));return m=[u(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(o),m.push("while (",u([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=b(d.param,(e=>!N(e)||e.leading&&n(t.originalText,I(e))||e.trailing&&n(t.originalText,F(e),{backwards:!0}))),r=p("param");return["catch ",e?["(",l([a,r]),a,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[u(["switch (",l([a,p("discriminant")]),a,")"])," {",d.cases.length>0?l([o,i(o,e.map(((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&x(i,t)?o:""]}),"cases"))]):"",o,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),b(d,v.Dangling)&&m.push(" ",r(e,t,!0));let n=d.consequent.filter((e=>"EmptyStatement"!==e.type));if(n.length>0){let r=me(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:l([o,r]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return te(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ne(e,t,p);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return Z(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),x(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,h);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 E=[d],w=Ee(e,t,p),C="ClassExpression"===f.type&&w;if(w&&(E=[...w,d],!C))return u(E);if(!m(e,t))return h&&h.needsSemi&&E.unshift(";"),1===E.length&&E[0]===d?d:E;if(C&&(E=[l([s,...E])]),E.unshift("("),h&&h.needsSemi&&E.unshift(";"),y(f)){let[e]=f.trailingComments;E.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return C&&E.push(s),E.push(")"),E},embed:p,insertPragma:d,massageAstNode:h,hasPrettierIgnore:e=>C(e)||L(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function(e){return e.type&&!N(e)&&!E(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:ve,isBlockComment:N,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),vn=v({"src/language-js/printer-estree-json.js"(e,t){w();var{builders:{hardline:r,indent:n,join:i}}=W(),s=Ur();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 u(e,t){let{type:r}=e;if("ObjectProperty"!==r){if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"!==r)return"TemplateLiteral"===r?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,n]of e.elements.entries())null===n&&t.elements.splice(r,0,{type:"NullLiteral"})}else{let{key:r}=e;"Identifier"===r.type?t.key={type:"StringLiteral",value:r.name}:"NumericLiteral"===r.type&&(t.key={type:"StringLiteral",value:String(r.value)})}}u.ignoredProperties=a,t.exports={preprocess:s,print:function(e,t,s){let a=e.getValue();switch(a.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===a.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":s()),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===a.properties.length?"{}":["{",n([r,i([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===a.operator?"":a.operator,s("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 s(["quasis",0]);case"TemplateElement":return JSON.stringify(a.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(a.type))}},massageAstNode:u}}}),Dn=v({"src/common/common-options.js"(e,t){w();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,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:r,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:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),En=v({"src/language-js/options.js"(e,t){w();var r=Dn(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,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:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,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:n,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:r.singleAttributePerLine}}}),xn=v({"src/language-js/parse/parsers.js"(){w()}}),wn=v({"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}}}),Sn=v({"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}}}),Cn=v({"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}}}),An=v({"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}}}),Tn=v({"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}}}),Pn=v({"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}}}),Fn=v({"src/language-js/index.js"(e,t){w();var r=Zt(),n=bn(),i=vn(),s=En(),o=xn(),a=[r(wn(),(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"]}))),r(wn(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(wn(),(()=>({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}))),r(Sn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),r(Cn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(An(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),r(An(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(Tn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(Pn(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],u={estree:n,"estree-json":i};t.exports={languages:a,options:s,printers:u,parsers:o}}}),In=v({"src/language-css/clean.js"(e,t){w();var{isFrontMatterNode:r}=de(),n=F(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(e,t,i){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||r(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&n(i.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,r)=>{let n=Number(t);return Number.isNaN(n)?e:n+r.toLowerCase()}))),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}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 r=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==r&&(t.groups[r].unit="",t.groups.splice(r+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}s.ignoredProperties=i,t.exports=s}}),Nn=v({"src/utils/front-matter/print.js"(e,t){w();var{builders:{hardline:r,markAsRoot:n}}=W();t.exports=function(e,t){if("yaml"===e.lang){let i=e.value.trim(),s=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,s,s?r:"",e.endDelimiter])}}}}),kn=v({"src/language-css/embed.js"(e,t){w();var{builders:{hardline:r}}=W(),n=Nn();t.exports=function(e,t,i){let s=e.getValue();if("front-matter"===s.type){let e=n(s,i);return e?[e,r]:""}}}}),_n=v({"src/utils/front-matter/parse.js"(e,t){w();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}}}),On=v({"src/language-css/pragma.js"(e,t){w();var r=Br(),n=_n();t.exports={hasPragma:function(e){return r.hasPragma(n(e).content)},insertPragma:function(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}}}}),Mn=v({"src/language-css/utils/index.js"(e,t){w();var r=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 n(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function i(e,t){let r=n(e,t);return-1===r?null:e.getParentNode(r)}var s=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 u(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,r;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.type)}function h(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:n,getAncestorNode:i,getPropOfDeclNode:function(e){var t;let r=i(e,"css-decl");return null==r||null===(t=r.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 r;let n=i(e,"value-func");return(null==n||null===(r=n.value)||void 0===r?void 0:r.toLowerCase())===t},insideICSSRuleNode:function(e){var t;let r=i(e,"css-rule"),n=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))},insideAtRuleNode:function(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),r=i(e,"css-atrule");return"import"===(null==r?void 0:r.name)&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){let r=i(e,"css-atrule");return(null==r?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return s.has(e.toLowerCase())},isLastNode:function(e,t){var r;let n=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return n&&n.indexOf(t)===n.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:u,isSubtractionNode:l,isModuloNode:c,isMathOperatorNode:function(e){return o(e)||a(e)||u(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,r;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(r=e.value.group)||void 0===r?void 0:r.type)&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){var t,r,n;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(n=r.group)||void 0===n?void 0:n.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:h,isKeyInValuePairNode:function(e,t){if(!p(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&d(r[n+1])},isSCSSMapItemNode:function(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!(h(r)||n&&h(n)))return!1;let s=i(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||h(n)||"value-func"===n.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&&r.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 r,n;if("("!==(null===(r=e.open)||void 0===r?void 0:r.value)||")"!==(null===(n=e.close)||void 0===n?void 0:n.value)||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,n=t.groups[r];if("value-word"===(null==n?void 0:n.type)&&"with"===n.value)return!0}return!1},isParenGroupNode:function(e){var t,r;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(r=e.close)||void 0===r?void 0:r.value)}}}}),Ln=v({"src/utils/line-column-to-index.js"(e,t){w(),t.exports=function(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf("\n",r)+1;return r+e.column}}}),Bn=v({"src/language-css/loc.js"(e,t){w();var{skipEverythingButNewLine:r}=ue(),n=F(),i=Ln();function s(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if("css-comment"===e.type&&e.inline)return r(t,e.source.startOffset);let s=e.nodes&&n(e.nodes);return s&&e.source&&!e.source.end&&(e=s),e.source&&e.source.end?i(e.source.end,t):null}function a(e,t,r){e.source&&(e.source.startOffset=s(e,r)+t,e.source.endOffset=o(e,r)+t);for(let n in e){let i=e[n];"source"===n||!i||"object"!=typeof i||a(i,t,r)}}function u(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}t.exports={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,r){t.source&&(t.source.startOffset=s(t,r),t.source.endOffset=o(t,r));for(let n in t){let i=t[n];"source"===n||!i||"object"!=typeof i||("value-root"===i.type||"value-unknown"===i.type?a(i,u(t),i.text||i.value):e(i,r))}},replaceQuotesInInlineComments:function(e){let t,r="initial",n="initial",i=!1,s=[];for(let o=0;o<e.length;o++){let a=e[o];switch(r){case"initial":if("'"===a){r="single-quotes";continue}if('"'===a){r="double-quotes";continue}if(("u"===a||"U"===a)&&"url("===e.slice(o,o+4).toLowerCase()){r="url",o+=3;continue}if("*"===a&&"/"===e[o-1]){r="comment-block";continue}if("/"===a&&"/"===e[o-1]){r="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"double-quotes":if('"'===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"url":if(")"===a&&(r="initial"),"\n"===a||"\r"===a)return e;if("'"===a){r="single-quotes",n="url";continue}if('"'===a){r="double-quotes",n="url";continue}continue;case"comment-block":"/"===a&&"*"===e[o-1]&&(r="initial");continue;case"comment-inline":('"'===a||"'"===a||"*"===a)&&(i=!0),("\n"===a||"\r"===a)&&(i&&s.push([t,o]),r="initial",i=!1);continue}}for(let[t,r]of s)e=e.slice(0,t)+e.slice(t,r).replace(/["'*]/g," ")+e.slice(r);return e}}}}),Rn=v({"src/language-css/utils/is-less-parser.js"(e,t){w(),t.exports=function(e){return"css"===e.parser||"less"===e.parser}}}),jn=v({"src/language-css/utils/is-scss.js"(e,t){w(),t.exports=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}}}),$n=v({"src/language-css/utils/css-units.evaluate.js"(e,t){t.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Un=v({"src/language-css/utils/print-unit.js"(e,t){w();var r=$n();t.exports=function(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:e}}}),zn=v({"src/language-css/printer-postcss.js"(e,t){w();var r=F(),{printNumber:n,printString:i,hasNewline:s,isFrontMatterNode:o,isNextLineEmpty:a,isNonEmptyArray:u}=de(),{builders:{join:l,line:c,hardline:p,softline:h,group:d,fill:f,indent:m,dedent:g,ifBreak:y,breakParent:b},utils:{removeLines:v,getDocParts:D}}=W(),E=In(),x=kn(),{insertPragma:S}=On(),{getAncestorNode:C,getPropOfDeclNode:A,maybeToLowerCase:T,insideValueFunctionNode:P,insideICSSRuleNode:I,insideAtRuleNode:N,insideURLFunctionInImportAtRuleNode:k,isKeyframeAtRuleKeywords:_,isWideKeywords:O,isLastNode:M,isSCSSControlDirectiveNode:L,isDetachedRulesetDeclarationNode:B,isRelationalOperatorNode:R,isEqualityOperatorNode:j,isMultiplicationNode:$,isDivisionNode:U,isAdditionNode:z,isSubtractionNode:V,isMathOperatorNode:H,isEachKeywordNode:q,isForKeywordNode:G,isURLFunctionNode:K,isIfElseKeywordNode:X,hasComposesNode:J,hasParensAroundNode:Y,hasEmptyRawBefore:Z,isKeyValuePairNode:Q,isKeyInValuePairNode:ee,isDetachedRulesetCallNode:te,isTemplatePlaceholderNode:re,isTemplatePropNode:ne,isPostcssSimpleVarNode:ie,isSCSSMapItemNode:se,isInlineValueCommentNode:oe,isHashNode:ae,isLeftCurlyBraceNode:ue,isRightCurlyBraceNode:le,isWordNode:ce,isColonNode:pe,isMediaAndSupportsKeywords:he,isColorAdjusterFuncNode:fe,lastLineHasInlineComment:me,isAtWordPlaceholderNode:ge,isConfigurationNode:ye,isParenGroupNode:be}=Mn(),{locStart:ve,locEnd:De}=Bn(),Ee=Rn(),xe=jn(),we=Un();function Se(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Ce(e,t,r){let n=[];return e.each(((e,i,u)=>{let l=u[i-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let r=e.getValue();n.push(t.originalText.slice(ve(r),De(r)))}else n.push(r());i!==u.length-1&&("css-comment"===u[i+1].type&&!s(t.originalText,ve(u[i+1]),{backwards:!0})&&!o(u[i])||"css-atrule"===u[i+1].type&&"else"===u[i+1].name&&"css-comment"!==u[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?c:p),a(t.originalText,e.getValue(),De)&&!o(u[i])&&n.push(p)))}),"nodes"),n}var Ae=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Te=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 Pe(e,t){return e.replace(Ae,(e=>i(e,t)))}function Fe(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Ie(e){return e.replace(Te,((e,t,r,n,i)=>!r&&n?Ne(n)+T(i||""):e))}function Ne(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,n){let s=e.getValue();if(!s)return"";if("string"==typeof s)return s;switch(s.type){case"front-matter":return[s.raw,p];case"css-root":{let r=Ce(e,t,n),i=s.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[r,i?` ${i}`:"",D(r).length>0?p:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(ve(s),De(s));return e?r.trimEnd():r}case"css-rule":return[n("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&me(s.selector.value)?c:" ","{",s.nodes.length>0?m([p,Ce(e,t,n)]):"",p,"}",B(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=s.raws,o=i.trim(),a=":"===o,u=J(s)?v(n("value")):n("value");return!a&&me(o)&&(u=m([p,g(u)])),[s.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||I(e)?s.prop:T(s.prop),o.startsWith("//")?" ":"",o,s.extend?"":" ",Ee(t)&&s.extend&&s.selector?["extend(",n("selector"),")"]:"",u,s.raws.important?s.raws.important.replace(/\s*!\s*important/i," !important"):s.important?" !important":"",s.raws.scssDefault?s.raws.scssDefault.replace(/\s*!default/i," !default"):s.scssDefault?" !default":"",s.raws.scssGlobal?s.raws.scssGlobal.replace(/\s*!global/i," !global"):s.scssGlobal?" !global":"",s.nodes?[" {",m([h,Ce(e,t,n)]),h,"}"]:ne(s)&&!r.raws.semicolon&&";"!==t.originalText[De(s)-1]?"":t.__isHTMLStyleAttribute&&M(e,s)?y(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(s)&&!r.raws.semicolon&&";"!==t.originalText[De(s)-1];if(Ee(t)){if(s.mixin)return[n("selector"),s.important?" !important":"",i?"":";"];if(s.function)return[s.name,n("params"),i?"":";"];if(s.variable)return["@",s.name,": ",s.value?n("value"):"",s.raws.between.trim()?s.raws.between.trim()+" ":"",s.nodes?["{",m([s.nodes.length>0?h:"",Ce(e,t,n)]),h,"}"]:"",i?"":";"]}return["@",te(s)||s.name.endsWith(":")?s.name:T(s.name),s.params?[te(s)?"":re(s)?""===s.raws.afterName?"":s.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(s.raws.afterName)?[p,p]:/^\s*\n/.test(s.raws.afterName)?p:" ":" ",n("params")]:"",s.selector?m([" ",n("selector")]):"",s.value?d([" ",n("value"),L(s)?Y(s)?" ":c:""]):"else"===s.name?" ":"",s.nodes?[L(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&me(s.selector.value)||!s.selector&&"string"==typeof s.params&&me(s.params)?c:" ","{",m([s.nodes.length>0?h:"",Ce(e,t,n)]),h,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),d(m(l(c,t)))}case"media-query":return[l(" ",e.map(n,"nodes")),M(e,s)?"":","];case"media-type":case"media-value":return Ie(Pe(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(n,"nodes"),")"]:s.value;case"media-feature":return T(Pe(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return Pe(s.value,t);case"media-url":return Pe(s.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 s.value;case"selector-root":return d([N(e,"custom-selector")?[C(e,"css-atrule").customSelector,c]:"",l([",",N(e,["extend","custom-selector","nest"])?c:p],e.map(n,"nodes"))]);case"selector-selector":return d(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(s),n=r&&t.nodes[r-1];return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"","selector-nesting"===n.type?s.value:Ie(_(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",Ie(Pe(s.value,t))];case"selector-attribute":var o;return["[",s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.attribute.trim(),null!==(o=s.operator)&&void 0!==o?o:"",s.value?Fe(Pe(s.value.trim(),t),t):"",s.insensitive?" i":"","]"];case"selector-combinator":if("+"===s.value||">"===s.value||"~"===s.value||">>>"===s.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===s?"":c,s.value,M(e,s)?"":" "]}return[s.value.trim().startsWith("(")?c:"",Ie(Pe(s.value.trim(),t))||c];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[T(s.value),u(s.nodes)?d(["(",m([h,l([",",c],e.map(n,"nodes"))]),h,")"]):""];case"selector-unknown":{let r=C(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Ie(Pe(T(s.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=ve(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let i=e.getParentNode(1);if("value-paren_group"===n.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=De(n.open)+1,r=ve(n.close),i=t.originalText.slice(e,r).trim();return me(i)?[b,i]:i}return s.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(ve(s),De(s));case"value-comma_group":{let r=e.getParentNode(),i=e.getParentNode(1),o=A(e),a=o&&"value-value"===r.type&&("grid"===o||o.startsWith("grid-template")),u=C(e,"css-atrule"),l=u&&L(u),y=s.groups.some((e=>oe(e))),v=e.map(n,"groups"),D=[],x=P(e,"url"),w=!1,S=!1;for(let n=0;n<s.groups.length;++n){var E;D.push(v[n]);let o=s.groups[n-1],d=s.groups[n],f=s.groups[n+1],m=s.groups[n+2];if(x){(f&&z(f)||z(d))&&D.push(" ");continue}if(N(e,"forward")&&"value-word"===d.type&&d.value&&void 0!==o&&"value-word"===o.type&&"as"===o.value&&"value-operator"===f.type&&"*"===f.value||!f||"value-word"===d.type&&d.value.endsWith("-")&&ge(f))continue;if("value-string"===d.type&&d.quoted){let e=d.value.lastIndexOf("#{"),t=d.value.lastIndexOf("}");-1!==e&&-1!==t?w=e>t:-1!==e?w=!0:-1!==t&&(w=!1)}if(w||pe(d)||pe(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||ie(d,f)||ae(d)||ue(d)||le(f)||ue(f)&&Z(f)||le(d)&&Z(f)||"--"===d.value&&ae(f))continue;let y=H(d),b=H(f);if((y&&ae(f)||b&&le(d))&&Z(f)||!o&&U(d)||P(e,"calc")&&(z(d)||z(f)||V(d)||V(f))&&Z(f))continue;let C=(z(d)||V(d))&&0===n&&("value-number"===f.type||f.isHex)&&i&&fe(i)&&!Z(f),A=m&&"value-func"===m.type||m&&ce(m)||"value-func"===d.type||ce(d),T="value-func"===f.type||ce(f)||o&&"value-func"===o.type||o&&ce(o);if(($(f)||$(d)||P(e,"calc")||C||!(U(f)&&!A||U(d)&&!T||z(f)&&!A||z(d)&&!T||V(f)||V(d))||!(Z(f)||y&&(!o||o&&H(o))))&&("scss"!==t.parser&&"less"!==t.parser||!y||"-"!==d.value||!be(f)||De(d)!==ve(f.open)||"("!==f.open.value)){if(oe(d)){if("value-paren_group"===r.type){D.push(g(p));continue}D.push(p);continue}if(l&&(j(f)||R(f)||X(f)||q(d)||G(d))){D.push(" ");continue}if(u&&"namespace"===u.name.toLowerCase()){D.push(" ");continue}if(a){d.source&&f.source&&d.source.start.line!==f.source.start.line?(D.push(p),S=!0):D.push(" ");continue}if(b){D.push(" ");continue}if(!(f&&"..."===f.value||ge(d)&&ge(f)&&De(d)===ve(f))){if(ge(d)&&be(f)&&De(d)===ve(f.open)){D.push(h);continue}if("with"===d.value&&be(f)){D.push(" ");continue}null!==(E=d.value)&&void 0!==E&&E.endsWith("#")&&"{"===f.value&&be(f.group)||D.push(c)}}}return y&&D.push(b),S&&D.unshift(p),l?d(m(D)):k(e)?d(f(D)):d(m(f(D)))}case"value-paren_group":{let i=e.getParentNode();if(i&&K(i)&&(1===s.groups.length||s.groups.length>0&&"value-comma_group"===s.groups[0].type&&s.groups[0].groups.length>0&&"value-word"===s.groups[0].groups[0].type&&s.groups[0].groups[0].value.startsWith("data:")))return[s.open?n("open"):"",l(",",e.map(n,"groups")),s.close?n("close"):""];if(!s.open){let t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",c]),r.push(t[e]);return d(m(f(r)))}let o=se(e),b=r(s.groups),v=b&&"value-comment"===b.type,E=ee(s,i),x=ye(s,i),w=x||o&&!E,S=x||E,C=d([s.open?n("open"):"",m([h,l([c],e.map(((e,i)=>{let o=e.getValue(),l=i===s.groups.length-1,c=[n(),l?"":","];if(Q(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=D(c[0].contents.contents);e[1]=d(e[1]),c=[d(g(c))]}if(!l&&"value-comma_group"===o.type&&u(o.groups)){let e=r(o.groups);!e.source&&e.close&&(e=e.close),e.source&&a(t.originalText,e,De)&&c.push(p)}return c}),"groups"))]),y(!v&&xe(t.parser,t.originalText)&&o&&Se(t)?",":""),h,s.close?n("close"):""],{shouldBreak:w});return S?g(C):C}case"value-func":return[s.value,N(e,"supports")&&he(s)?" ":"",n("group")];case"value-number":return[Ne(s.value),we(s.unit)];case"value-word":return s.isColor&&s.isHex||O(s.value)?s.value.toLowerCase():s.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(s),i=n&&t.groups[n-1];return[s.value,i&&"string"==typeof i.value&&"\\"===r(i.value)||P(e,"url")?"":c]}case"value-string":return i(s.raws.quote+s.value+s.raws.quote,t);case"value-atword":return["@",s.value];default:throw new Error(`Unknown postcss type ${JSON.stringify(s.type)}`)}},embed:x,insertPragma:S,massageAstNode:E}}}),Vn=v({"src/language-css/options.js"(e,t){w();var r=Dn();t.exports={singleQuote:r.singleQuote}}}),Wn=v({"src/language-css/parsers.js"(){w()}}),Hn=v({"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}}}),qn=v({"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}}}),Gn=v({"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}}}),Kn=v({"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}}}),Xn=v({"src/language-css/index.js"(e,t){w();var r=Zt(),n=zn(),i=Vn(),s=Wn(),o=[r(Hn(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r(qn(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(Gn(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(Kn(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],a={postcss:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Jn=v({"src/language-handlebars/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),Yn=v({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}w(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),Zn=v({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),Qn=v({"src/language-handlebars/utils.js"(e,t){w();var r=F(),n=Zn();function i(e){return e.toUpperCase()===e}var s=new Set(n);function o(e){return a(e,["TextNode"])&&!/\S/.test(e.chars)}function a(e,t){return e&&t.includes(e.type)}function u(e,t){return a(e.getParentNode(0),t)}function l(e,t){var r,n,i,s;let o=e.getValue(),a=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},u=null!==(n=null!==(i=null!==(s=a.children)&&void 0!==s?s:a.body)&&void 0!==i?i:a.parts)&&void 0!==n?n:[],l=u.indexOf(o);return-1!==l&&u[l+t]}function c(e){return l(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function p(e){return l(e,1)}function h(e){return a(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:p,getPreviousNode:c,hasPrettierIgnore:function(e){let t=e.getValue(),r=c(e,2);return h(t)||h(r)},isLastNodeOfSiblings:function(e){let t=e.getValue(),n=e.getParentNode(0);return!!(u(e,["ElementNode"])&&r(n.children)===t||u(e,["Block"])&&r(n.body)===t)},isNextNodeOfSomeType:function(e,t){return a(p(e),t)},isNodeOfSomeType:a,isParentOfSomeType:u,isPreviousNodeOfSomeType:function(e,t){return a(c(e),t)},isVoid:function(e){return!0===e.selfClosing||function(e){return s.has(e.toLowerCase())&&!i(e[0])}(e.tag)||function(e){return a(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(i(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>o(e)))},isWhitespaceNode:o}}}),ei=v({"src/language-handlebars/printer-glimmer.js"(e,t){w();var{builders:{dedent:r,fill:n,group:i,hardline:s,ifBreak:o,indent:a,join:u,line:l,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:h}}=W(),{getPreferredQuote:d,isNonEmptyArray:f}=de(),{locStart:m,locEnd:g}=Jn(),y=Yn(),{getNextNode:b,getPreviousNode:v,hasPrettierIgnore:D,isLastNodeOfSiblings:E,isNextNodeOfSomeType:x,isNodeOfSomeType:S,isParentOfSomeType:C,isPreviousNodeOfSomeType:A,isVoid:T,isWhitespaceNode:P}=Qn();function F(e,t){return m(e)-m(t)}function I(e,t,r){let n=e.getValue().children.every((e=>P(e)));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map(((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i}),"children")}function N(e){return T(e)?o([c,"/>"],[" />",c]):o([c,">"],">")}function k(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function _(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function O(e){return[k(e),e.openStrip.open?"~":"","#"]}function M(e){let t=_(e);return[e.openStrip.close?"~":"",t]}function L(e){return[k(e),e.closeStrip.open?"~":"","/"]}function B(e){let t=_(e);return[e.closeStrip.close?"~":"",t]}function R(e){return[k(e),e.inverseStrip.open?"~":""]}function j(e){let t=_(e);return[e.inverseStrip.close?"~":"",t]}function $(e,t){let r=e.getValue(),n=[],s=re(e,t);return s&&n.push(i(s)),f(r.program.blockParams)&&n.push(ne(r.program)),i([O(r),te(0,t),n.length>0?a([l,u(l,n)]):"",c,M(r)])}function U(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",R(e),"else",j(e)]}function z(e,t,r){let n=e.getValue(),s=e.getParentNode(1);return i([R(s),["else"," ",r],a([l,i(re(e,t)),...f(n.program.blockParams)?[l,ne(n.program)]:[]]),c,j(s)])}function V(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[H(n)?c:s,L(n),t("path"),B(n)]:[L(n),t("path"),B(n)]}function H(e){return S(e,["BlockStatement"])&&e.program.body.every((e=>P(e)))}function q(e){return S(e,["BlockStatement"])&&e.inverse}function G(e,t,r){if(H(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?a([s,n]):a(n)}function K(e,t,r){let n=e.getValue(),i=t("inverse"),o="ignore"===r.htmlWhitespaceSensitivity?[s,i]:i;return function(e){return q(e)&&1===e.inverse.body.length&&S(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}(n)?o:q(n)?[U(n,r),a(o)]:""}function X(e){return p(u(l,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function J(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(s)}function Z(e,t){let{quote:r,regex:n}=d(e,t);return[r,e.replace(n,`\\${r}`),r]}function Q(e,t){let r=te(0,t),n=re(e,t);return n?a([r,l,i(n)]):r}function ee(e,t){let r=te(0,t),n=re(e,t);return n?[a([r,l,n]),c]:r}function te(e,t){return t("path")}function re(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":u(l,n)}function ne(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,o){let p=e.getValue();if(!p)return"";if(D(e))return t.originalText.slice(m(p),g(p));let y=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(o,"body"));case"ElementNode":{let r=i(function(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter((e=>f(r[e]))),i=n.flatMap((e=>r[e])).sort(F);for(let r of n)e.each((e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[l,t()])}),r);return f(r.blockParams)&&i.push(l,ne(r)),["<",r.tag,a(i),N(r)]}(e,o)),n="ignore"===t.htmlWhitespaceSensitivity&&x(e,["ElementNode"])?c:"";if(T(p))return[r,n];let u=["</",p.tag,">"];return 0===p.children.length?[r,a(u),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,a(I(e,t,o)),s,a(u),n]:[r,a(i(I(e,t,o))),a(u),n]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===p&&r.inverse.body[0].path.parts[0]===r.path.parts[0]?[z(e,o,r.inverse.body[0].path.parts[0]),G(e,o,t),K(e,o,t)]:[$(e,o),i([G(e,o,t),K(e,o,t),V(e,o,t)])]}case"ElementModifierStatement":return i(["{{",ee(e,o),"}}"]);case"MustacheStatement":return i([k(p),ee(e,o),_(p)]);case"SubExpression":return i(["(",Q(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,y).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),y).quote:"",r=o("value");return[p.name,"=",t,"class"===p.name&&t?i(a(r)):r,t]}case"ConcatStatement":return e.map(o,"parts");case"Hash":return u(l,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),s=function(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}(e);if(s){if("class"===s){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return C(e,["ConcatStatement"])&&(A(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),x(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?l:"",t,n?l:""]}return h(i)}let o=/^[\t\n\f\r ]*$/.test(i),a=!v(e),u=!b(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,c=u&&C(e,["Template"]),p=a&&C(e,["Template"]);if(o){if(p||c)return"";let t=[l],n=J(i);return n&&(t=Y(n)),E(e)&&(t=t.map((e=>r(e)))),t}let[h]=i.match(t),[d]=i.match(s),f=[];if(h){f=[l];let e=J(h);e&&(f=Y(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[l];let t=J(d);t&&(m=Y(t)),E(e)&&(m=m.map((e=>r(e))))}i=i.replace(s,"")}return[...f,n(X(i)),...m]}let c=J(i),d=function(e){return J(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(i),f=function(e){return J(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(i);if((a||u)&&o&&C(e,["Block","ElementNode","Template"]))return"";o&&c?(d=Math.min(c,2),f=0):(x(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),A(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",g="";return 0===f&&x(e,["MustacheStatement"])&&(g=" "),0===d&&A(e,["MustacheStatement"])&&(m=" "),a&&(d=0,m=""),u&&(f=0,g=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,g),[...Y(d),n(X(i)),...Y(f)]}case"MustacheCommentStatement":{let e=m(p),r=g(p),n="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(r-3),s=p.value.includes("}}")?"--":"";return["{{",n?"~":"","!",s,p.value,s,i?"~":"","}}"]}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,r=e.getParentNode(t);for(;r&&S(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&S(e.getParentNode(t+1),["ConcatStatement"])&&S(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return Z(p.value,e)}return Z(p.value,y);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}},massageAstNode:y}}}),ti=v({"src/language-handlebars/parsers.js"(){w()}}),ri=v({"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}}}),ni=v({"src/language-handlebars/index.js"(e,t){w();var r=Zt(),n=ei(),i=ti(),s=[r(ri(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],o={glimmer:n};t.exports={languages:s,printers:o,parsers:i}}}),ii=v({"src/language-graphql/pragma.js"(e,t){w(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}}}}),si=v({"src/language-graphql/loc.js"(e,t){w(),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}}}}),oi=v({"src/language-graphql/printer-graphql.js"(e,t){w();var{builders:{join:r,hardline:n,line:i,softline:s,group:o,indent:a,ifBreak:u}}=W(),{isNextLineEmpty:l,isNonEmptyArray:c}=de(),{insertPragma:p}=ii(),{locStart:h,locEnd:d}=si();function f(e,t,n){if(0===n.directives.length)return"";let u=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?o([i,u]):[" ",o(a([s,u]))]}function m(e,t,r,i){return e.map(((e,i,s)=>{let o=r();return i<s.length-1&&l(t.originalText,e.getValue(),d)?[o,n]:o}),i)}function g(e,t,r){let n=e.getNode(),s=[],{interfaces:o}=n,a=e.map((e=>r(e)),"interfaces");for(let e=0;e<o.length;e++){let r=o[e];s.push(a[e]);let n=o[e+1];if(n){let e=t.originalText.slice(r.loc.end,n.loc.start),o=e.includes("#"),a=e.replace(/#.*/g,"").trim();s.push(","===a?",":" &",o?i:" ")}}return s}function y(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes("\n")&&(t.value=t.value.trim())}y.ignoredProperties=new Set(["loc","comments"]),t.exports={print:function(e,t,p){let y=e.getValue();if(!y)return"";if("string"==typeof y)return y;switch(y.kind){case"Document":{let r=[];return e.each(((e,i,s)=>{r.push(p()),i!==s.length-1&&(r.push(n),l(t.originalText,e.getValue(),d)&&r.push(n))}),"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[h(y)],i=Boolean(y.name);return[n?y.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&c(y.variableDefinitions)?" ":"",c(y.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):"",f(e,p,y),y.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(y.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):""," on ",p("typeCondition"),f(e,p,y)," ",p("selectionSet")];case"SelectionSet":return["{",a([n,r(n,m(e,t,p,"selections"))]),n,"}"];case"Field":return o([y.alias?[p("alias"),": "]:"",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",f(e,p,y),y.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return y.value;case"StringValue":if(y.block){let e=y.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),r(n,['"""',...e,'"""'])}return['"',y.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return y.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",a([s,r([u("",", "),s],e.map(p,"values"))]),s,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&y.fields.length>0?" ":"",a([s,r([u("",", "),s],e.map(p,"fields"))]),s,u("",t.bracketSpacing&&y.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),y.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,y)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),y.description?n:"","ObjectTypeExtension"===y.kind?"extend ":"","type ",p("name"),y.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),y.description?n:"",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",": ",p("type"),f(e,p,y)];case"DirectiveDefinition":return[p("description"),y.description?n:"","directive ","@",p("name"),y.arguments.length>0?o(["(",a([s,r([u("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",y.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),y.description?n:"","EnumTypeExtension"===y.kind?"extend ":"","enum ",p("name"),f(e,p,y),y.values.length>0?[" {",a([n,r(n,m(e,t,p,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),y.description?n:"",p("name"),f(e,p,y)];case"InputValueDefinition":return[p("description"),y.description?y.description.block?n:i:"",p("name"),": ",p("type"),y.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,y)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),y.description?n:"","InputObjectTypeExtension"===y.kind?"extend ":"","input ",p("name"),f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",f(e,p,y),...y.operationTypes.length>0?[" {",a([n,r(n,m(e,t,p,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[p("description"),y.description?n:"","schema",f(e,p,y)," {",y.operationTypes.length>0?a([n,r(n,m(e,t,p,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),y.description?n:"","InterfaceTypeExtension"===y.kind?"extend ":"","interface ",p("name"),y.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),f(e,p,y)];case"InlineFragment":return["...",y.typeCondition?[" on ",p("typeCondition")]:"",f(e,p,y)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),y.description?n:"",o(["UnionTypeExtension"===y.kind?"extend ":"","union ",p("name"),f(e,p,y),y.types.length>0?[" =",u(""," "),a([u([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),y.description?n:"","ScalarTypeExtension"===y.kind?"extend ":"","scalar ",p("name"),f(e,p,y)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(y.kind))}},massageAstNode:y,hasPrettierIgnore:function(e){var t;let r=e.getValue();return null==r||null===(t=r.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}}}}),ai=v({"src/language-graphql/options.js"(e,t){w();var r=Dn();t.exports={bracketSpacing:r.bracketSpacing}}}),ui=v({"src/language-graphql/parsers.js"(){w()}}),li=v({"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}}}),ci=v({"src/language-graphql/index.js"(e,t){w();var r=Zt(),n=oi(),i=ai(),s=ui(),o=[r(li(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],a={graphql:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),pi=v({"node_modules/collapse-white-space/index.js"(e,t){w(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),hi=v({"src/language-markdown/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),di=v({"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]"}}}),fi=v({"src/language-markdown/utils.js"(e,t){w();var{getLast:r}=de(),{locStart:n,locEnd:i}=hi(),{cjkPattern:s,kPattern:o,punctuationPattern:a}=di(),u=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...u,"tableCell","paragraph","heading"],c=new RegExp(o),p=new RegExp(a);function h(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}t.exports={mapAst:function(e,t){return function e(r,n,i){let s=Object.assign({},t(r,n,i));return s.children&&(s.children=s.children.map(((t,r)=>e(t,r,[s,...i])))),s}(e,null,[])},splitText:function(e,t){let n="non-cjk",i="cj-letter",o="cjk-punctuation",a=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${s})\n(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of u.entries()){if(e%2==1){a.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===u.length-1)&&""===t)continue;let h=t.split(new RegExp(`(${s})`));for(let[e,t]of h.entries())if(0!==e&&e!==h.length-1||""!==t){if(e%2==0){""!==t&&l({type:"word",value:t,kind:n,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(r(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":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return a;function l(e){let t=r(a);var s,u;t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?a.push({type:"whitespace",value:" "}):(s=n,u=o,!(t.kind===s&&e.kind===u||t.kind===u&&e.kind===s||[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:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:h,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(h(e.children[0],t.originalText).numberText),n=Number(h(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(h(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:u,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 n(e)===n(t)&&i(e)===i(t)}}}}),mi=v({"src/language-markdown/embed.js"(e,t){w();var{inferParserByLanguage:r,getMaxContinuousCount:n}=de(),{builders:{hardline:i,markAsRoot:s},utils:{replaceEndOfLine:o}}=W(),a=Nn(),{getFencedCodeBlockValue:u}=fi();t.exports=function(e,t,l,c){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=r(p.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(p.value,t)+1)),a={parser:e};"tsx"===p.lang&&(a.filepath="dummy.tsx");let h=l(u(p,c.originalText),a,{stripTrailingHardline:!0});return s([r,p.lang,p.meta?" "+p.meta:"",i,o(h),i,r])}}switch(p.type){case"front-matter":return a(p,l);case"importExport":return[l(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return l(`<$>${p.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),gi=v({"src/language-markdown/pragma.js"(e,t){w();var r=_n(),n=["format","prettier"];function i(e){let t=`@(${n.join("|")})`,r=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"),i=e.match(r);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i=`\x3c!-- @${n[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${i}\n\n${t.content}`:`${i}\n\n${t.content}`}}}}),yi=v({"src/language-markdown/print-preprocess.js"(e,t){w();var r=F(),{getOrderedListItemInfo:n,mapAst:i,splitText:s}=fi(),o=/^.$/su;function a(e,t,n){return i(e,(e=>{if(!e.children)return e;let i=e.children.reduce(((e,i)=>{let s=r(e);return s&&t(s,i)?e.splice(-1,1,n(s,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}t.exports=function(e,t){return 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 i(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}(e=function(e,t){return i(e,((e,r,n)=>{let[i]=n;if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===i.type&&(0===r&&(o=o.trimStart()),r===i.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:s(o,t)}}))}(e=function(e,t){return i(e,((e,t,r)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<r.length;t++){let n=r[t];if("list"===n.type&&!n.isAligned)return e.isAligned=!1,e}e.isAligned=s(e)}return e}));function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function s(e){if(!e.ordered)return!0;let[i,s]=e.children;if(n(i,t.originalText).leadingSpaces.length>1)return!0;let o=r(i);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===r(s)&&(o%t.tabWidth==0||n(s,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return i(e,((e,r,n)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e<n.length;e++){let t=n[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}(e=function(e,t){return i(e,(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 i(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)))}}}),bi=v({"src/language-markdown/clean.js"(e,t){w();var r=pi(),{isFrontMatterNode:n}=de(),{startWithPragma:i}=gi(),s=new Set(["position","raw"]);function o(e,t,s){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=r(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),s&&"root"===s.type&&s.children.length>0&&(s.children[0]===e||n(s.children[0])&&s.children[1]===e)&&"html"===e.type&&i(e.value)))return null}o.ignoredProperties=s,t.exports=o}}),vi=v({"src/language-markdown/printer-markdown.js"(e,t){w();var r=pi(),{getLast:n,getMinNotPresentContinuousCount:i,getMaxContinuousCount:s,getStringWidth:o,isNonEmptyArray:a}=de(),{builders:{breakParent:u,join:l,line:c,literalline:p,markAsRoot:h,hardline:d,softline:f,ifBreak:m,fill:g,align:y,indent:b,group:v,hardlineWithoutBreakParent:D},utils:{normalizeDoc:E,replaceTextEndOfLine:x},printer:{printDocToString:S}}=W(),C=mi(),{insertPragma:A}=gi(),{locStart:T,locEnd:P}=hi(),F=yi(),I=bi(),{getFencedCodeBlockValue:N,hasGitDiffFriendlyOrderedList:k,splitText:_,punctuationPattern:O,INLINE_NODE_TYPES:M,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:B}=fi(),R=new Set(["importExport"]),j=["heading","tableCell","link","wikiLink"],$=new Set(["listItem","definition","footnoteDefinition"]);function U(e,t,r,n){let i=e.getValue(),s=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[s,K(e,t,r,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return y(" ".repeat(s.length),r());let o=" ".repeat(function(e,t,r){return e<t?t:e>r?r:e}(t.tabWidth-n.length,0,3));return[o,y(o,r())]}})]}function z(e,t){return function(e,t,r){let n=-1;for(let i of t.children)if(i.type===e.type&&r(i)?n++:n=-1,i===e)return n}(e,t,(t=>t.ordered===e.ordered))}function V(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function H(e,t){let r=V(e,t);return-1===r?null:e.getParentNode(r)}function q(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return d;let n="always"===r.proseWrap&&!H(e,j);return""!==t?n?c:" ":n?f:""}function G(e,t,r){let n=[],i=null,{children:s}=e.getValue();for(let[e,t]of s.entries())switch(Y(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null)}return K(e,t,r,{processor:(e,i)=>{if(n.length>0){let e=n[0];if(i===e.start.index)return[X(s[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),X(s[e.end.index])];if(e.start.index<i&&i<e.end.index)return!1;if(i===e.end.index)return n.shift(),!1}return r()}})}function K(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=i,o=i.processor||(()=>r()),a=e.getValue(),u=[];return e.each(((e,r)=>{let i=e.getValue(),s=o(e,r);if(!1!==s){let e={parts:u,prevNode:n,parentNode:a,options:t};(function(e,t){let r=0===t.parts.length,n=M.includes(e.type),i="html"===e.type&&L.includes(t.parentNode.type);return!r&&!n&&!i})(i,e)&&(u.push(d),n&&R.has(n.type)||(function(e,t){var r,n,i;let s=(t.prevNode&&t.prevNode.type)===e.type&&$.has(e.type),o="listItem"===t.parentNode.type&&!t.parentNode.loose,a="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,u="next"===Y(t.prevNode),l="html"===e.type&&"html"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return a||!(s||o||u||l||c)}(i,e)||Z(i,e))&&u.push(d),Z(i,e)&&u.push(d)),u.push(s),n=i}}),"children"),s?s(u):u}function X(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 J(e){let t=e;for(;a(t.children);)t=n(t.children);return t}function Y(e){let t;if("html"===e.type)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function Z(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function Q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function ee(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+ee(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,n=e.split('"').length-1,i=r>n?'"':n>r||t.singleQuote?"'":'"';return`${i}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${i})`,"g"),"\\$1")}${i}`}function te(e){return`[${r(e.label)}]`}function re(e){return`[^${e.label}]`}t.exports={preprocess:F,print:function(e,t,r){let a=e.getValue();if(function(e){let t=H(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return _(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":q(e,r.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?"":[E(G(e,t,r)),R.has(J(a).type)?"":d];case"paragraph":return K(e,t,r,{postprocessor:g});case"sentence":return K(e,t,r);case"word":{let t=a.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${O})(_+)`,`(_+)(${O}|$)`].join("|"),"g"),((e,t,r,n,i)=>(r?`${t}${r}`:`${n}${i}`).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>B(e.children[r-1]);return t!==a.value&&(e.match(void 0,r,n)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),n))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(a),i=r.children[n+1],s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return q(e,a.value,{proseWrap:s})}case"emphasis":{let i;if(B(a.children[0]))i=t.originalText[a.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(a),s=t.children[r-1],o=t.children[r+1];i=s&&"sentence"===s.type&&s.children.length>0&&"word"===n(s.children).type&&!n(s.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||H(e,"emphasis")?"*":"_"}return[i,K(e,t,r),i]}case"strong":return["**",K(e,t,r),"**"];case"delete":return["~~",K(e,t,r),"~~"];case"inlineCode":{let e=i(a.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(a.value)?" ":"";return[t,r,a.value,r,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["[",K(e,t,r),"](",Q(a.url,")"),ee(a.title,t),")"];default:return t.originalText.slice(a.position.start.offset,a.position.end.offset)}case"image":return[""),ee(a.title,t),")"];case"blockquote":return["> ",y("> ",K(e,t,r))];case"heading":return["#".repeat(a.depth)+" ",K(e,t,r)];case"code":{if(a.isIndented){let e=" ".repeat(4);return y(e,[e,...x(a.value,d)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,s(a.value,e)+1));return[r,a.lang||"",a.meta?" "+a.meta:"",d,...x(N(a,t.originalText),d),d,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&n(t.children)===a?a.value.trimEnd():a.value,i=/^<!--.*-->$/s.test(r);return x(r,i?d:h(p))}case"list":{let n=z(a,e.getParentNode()),i=k(a,t);return K(e,t,r,{processor:(e,s)=>{let o=function(){let e=a.ordered?(0===s?a.start:i?1:a.start+s)+(n%2==0?". ":") "):n%2==0?"- ":"* ";return a.isAligned||a.hasIndentedCodeblock?function(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}(e,t):e}(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?[o,U(e,t,r,o)]:[o,y(" ".repeat(o.length),U(e,t,r,o))]}})}case"thematicBreak":{let t=V(e,"list");return-1===t?"---":z(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",K(e,t,r),"]","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 v([te(a),":",b([e,Q(a.url),null===a.title?"":[e,ee(a.title,t,!1)]])])}case"footnote":return["[^",K(e,t,r),"]"];case"footnoteReference":return re(a);case"footnoteDefinition":{let n=e.getParentNode().children[e.getName()+1],i=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[re(a),": ",i?K(e,t,r):v([y(" ".repeat(4),K(e,t,r,{processor:(e,t)=>0===t?v([f,r()]):r()})),n&&"footnoteDefinition"===n.type?f:""])]}case"table":return function(e,t,r){let n=e.getValue(),i=[],s=e.map((e=>e.map(((e,n)=>{let s=S(r(),t).formatted,a=o(s);return i[n]=Math.max(i[n]||3,a),{text:s,width:a}}),"children")),"children"),a=p(!1);if("never"!==t.proseWrap)return[u,a];let c=p(!0);return[u,v(m(c,a))];function p(e){let t=[d(s[0],e),h(e)];return s.length>1&&t.push(l(D,s.slice(1).map((t=>d(t,e))))),l(D,t)}function h(e){return`| ${i.map(((t,r)=>{let i=n.align[r],s="center"===i||"right"===i?":":"-";return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${s}`})).join(" | ")} |`}function d(e,t){return`| ${e.map(((e,r)=>{let{text:s,width:o}=e;if(t)return s;let a=i[r]-o,u=n.align[r],l=0;"right"===u?l=a:"center"===u&&(l=Math.floor(a/2));let c=a-l;return`${" ".repeat(l)}${s}${" ".repeat(c)}`})).join(" | ")} |`}}(e,t,r);case"tableCell":return K(e,t,r);case"break":return/\s/.test(t.originalText[a.position.start.offset])?[" ",h(p)]:["\\",d];case"liquidNode":return x(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?[...x(a.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(T(a),P(a));default:throw new Error(`Unknown markdown type ${JSON.stringify(a.type)}`)}},embed:C,massageAstNode:I,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===Y(e.getParentNode().children[t-1])},insertPragma:A}}}),Di=v({"src/language-markdown/options.js"(e,t){w();var r=Dn();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),Ei=v({"src/language-markdown/parsers.js"(){w()}}),xi=v({"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}}}),wi=v({"src/language-markdown/index.js"(e,t){w();var r=Zt(),n=vi(),i=Di(),s=Ei(),o=[r(xi(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(xi(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],a={mdast:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Si=v({"src/language-html/clean.js"(e,t){w();var{isFrontMatterNode:r}=de(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=n,t.exports=i}}),Ci=v({"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"}}}),Ai=v({"src/language-html/utils/is-unknown-namespace.js"(e,t){w(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),Ti=v({"src/language-html/utils/index.js"(e,t){w();var{inferParserByLanguage:r,isFrontMatterNode:n}=de(),{builders:{line:i,hardline:s,join:o},utils:{getDocParts:a,replaceTextEndOfLine:u}}=W(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:h}=Ci(),d=Ai(),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)),y=e=>e.match(/^[\t\n\f\r ]*/)[0];function b(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function v(e){return I(e).startsWith("pre")}function D(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 E(e){return A(e)||"element"===e.type&&"br"===e.fullName||x(e)}function x(e){return S(e)&&C(e)}function S(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function C(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function A(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function T(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"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 P(e){return"block"===e||"list-item"===e||e.startsWith("table")}function F(e){return I(e).startsWith("pre")}function I(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||h}function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!f.has(r[0]))return 0;let e=y(r).length;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}var k=new Set(["template","style","script"]);function _(e,t){return O(e,t)&&!k.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)&&(_(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,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},canHaveInterpolation:function(e){return e.children&&!b(e)},countChars:function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r},countParents:function(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let i=e.stack[n];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&r++}return r},dedentString:N,forceBreakChildren:D,forceBreakContent:function(e){return D(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&&S(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||C(e.lastChild))},forceNextEmptyLine:function(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!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||r||d(e))&&l[e.name]||c}},getNodeCssStyleWhiteSpace:I,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:n}=e.attrMap;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}(e,t):t&&M(e,t)?T(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?T(e):"babel"},isVueCustomBlock:_,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 r=e.parent;if(!O(r,t))return!1;let n=r.fullName,i=e.fullName;return"script"===n&&"setup"===i||"style"===n&&"vars"===i},isVueSfcBlock:O,isDanglingSpaceSensitiveNode:function(e){return function(e){return!P(e)&&"inline-block"!==e}(e.cssDisplay)&&!b(e)},isIndentationSensitiveNode:v,isLeadingSpaceSensitiveNode:function(e,t){let r=!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!F(e.parent)&&(!e.prev&&("root"===e.parent.type||F(e)&&e.parent||b(e.parent)||_(e.parent,t)||!function(e){return!P(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.prev&&!function(e){return!P(e)}(e.prev.cssDisplay))));return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r},isPreLikeNode:F,isScriptLikeTag:b,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!F(e.parent)&&(!e.next&&("root"===e.parent.type||F(e)&&e.parent||b(e.parent)||_(e.parent,t)||!function(e){return!P(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.next&&!function(e){return!P(e)}(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return b(e)||"interpolation"===e.type||v(e)},isUnknownNamespace:d,preferHardlineAsLeadingSpaces:function(e){return A(e)||e.prev&&E(e.prev)||x(e)},preferHardlineAsTrailingSpaces:E,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||F(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||M(e,t)&&!b(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?u(t):u(N(g(t)),s):a(o(i,(e=>e.split(/[\t\n\f\r ]+/))(t)))}}}}),Pi=v({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}w(),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(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),Fi=v({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}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,r,n){let i=`"${e}".${r}${(n=n||[]).length?`.${n.join(".")}`:""}`,s=this.cache.get(i);return s||(s=new t(e,r,n),this.cache.set(i,s)),s}}}}),Ii=v({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))},e.splitAtColon=function(e,t){return r(e,":",t)},e.splitAtPeriod=function(e,t){return r(e,".",t)},e.visitValue=n,e.isDefined=function(e){return null!=e},e.noUndefined=function(e){return void 0===e?null:e};e.ValueTransformer=class{visitArray(e,t){return e.map((e=>n(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((i=>{r[i]=n(e[i],this,t)})),r}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 r=Error(e);return r[i]=!0,t&&(r[s]=t),r};var i="ngSyntaxError",s="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[s]||[]},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 r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|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 r=t.toString();if(null==r)return""+r;let n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},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 u=typeof window<"u"&&window,l=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,c=typeof globalThis<"u"&&globalThis||u||l;e.global=c}}),Ni=v({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Fi(),r=Ii(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function u(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_"+a++,n.__anonymousType=s):s=i(s),s}e.identifierName=u,e.identifierModuleUrl=function(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`},e.viewClassName=function(e,t){return`View_${u({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${u({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${u({reference:e})}`},e.componentFactoryName=function(e){return`${u({reference:e})}NgFactory`},(o=s=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?i(e.value):u(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:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(r)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:u,ngContentSelectors:l,interpolation:h,isInline:d,preserveWhitespaces:f}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=c(s),this.styleUrls=c(o),this.externalStylesheets=c(a),this.animations=u?p(u):[],this.ngContentSelectors=l||[],h&&2!=h.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=h,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:i,isComponent:s,selector:o,exportAs:a,changeDetection:u,inputs:c,outputs:p,host:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x}=e,w={},S={},C={};null!=h&&Object.keys(h).forEach((e=>{let t=h[e],r=e.match(n);null===r?C[e]=t:null!=r[1]?S[r[1]]=t:null!=r[2]&&(w[r[2]]=t)}));let A={};null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);A[t[0]]=t[1]}));let T={};return null!=p&&p.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new l({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:u,inputs:A,outputs:T,hostListeners:w,hostProperties:S,hostAttributes:C,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:u,hostListeners:l,hostProperties:p,hostAttributes:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=u,this.hostListeners=l,this.hostProperties=p,this.hostAttributes=h,this.providers=c(d),this.viewProviders=c(f),this.queries=c(m),this.guards=g,this.viewQueries=c(y),this.entryComponents=c(b),this.template=v,this.componentViewType=D,this.rendererType=E,this.componentFactory=x}toSummary(){return{summaryKind:s.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:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:u,importedModules:l,exportedModules:p,schemas:h,transitiveModule:d,id:f}=e;this.type=t||null,this.declaredDirectives=c(n),this.exportedDirectives=c(i),this.declaredPipes=c(s),this.exportedPipes=c(o),this.providers=c(r),this.entryComponents=c(a),this.bootstrapComponents=c(u),this.importedModules=c(l),this.exportedModules=c(p),this.schemas=c(h),this.id=f||null,this.transitiveModule=d||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.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 r=Array.isArray(t)?p(t):t;return e.concat(r)}),[])}function h(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:o,multi:a}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=o||null,this.multi=!!a}},e.flatten=p,e.templateSourceUrl=function(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${u(e)}/${u(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:h(i)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g);return h(`css/${t}${r[r.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return h(`${u(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return h(`${u(e)}/${u(t.type)}.ngfactory.js`)}}}),ki=v({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pi(),r=Ni(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,o=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){o--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?s-e:s}else a--;for(;s<i&&e>0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(o++,a=0):a++}return new n(this.file,s,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var s,o,a=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";e.ParseError=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${s[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 s=r.identifierModuleUrl(t),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,u=new i("",o);return new a(new n(u,-1,-1,-1),new n(u,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,r){let s=new i("",`in ${e} ${t} in ${r}`);return new a(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}}}),_i=v({"src/language-html/print-preprocess.js"(e,t){w();var{ParseSourceSpan:r}=ki(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:s,canHaveInterpolation:o,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:u,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:h,isVueScriptTag:d}=Ti(),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 n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.firstChild;e.removeChild(s),n--;let a=new r(s.sourceSpan.start,o.sourceSpan.end),u=new r(a.start,i.sourceSpan.end);i.condition=s.condition,i.sourceSpan=u,i.startSourceSpan=a,i.removeChild(o)}}))},function(e){return function(e,t,n){e.walk((e=>{if(e.children)for(let i=0;i<e.children.length;i++){let s=e.children[i];if("text"!==s.type&&!t(s))continue;"text"!==s.type&&(s.type="text",s.value=n(s));let o=s.prev;!o||"text"!==o.type||(o.value+=s.value,o.sourceSpan=new r(o.sourceSpan.start,s.sourceSpan.end),e.removeChild(s),i--)}}))}(e,(e=>"cdata"===e.type),(e=>`<![CDATA[${e.value}]]>`))},function(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk((e=>{if(o(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,s=null,o=t.value.split(n);for(let n=0;n<o.length;n++,i=s){let a=o[n];n%2!=0?(s=i.moveBy(a.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new r(i,s),children:0===a.length?[]:[{type:"text",value:a,sourceSpan:new r(i.moveBy(2),s.moveBy(-2))}]})):(s=i.moveBy(a.length),a.length>0&&e.insertChildBefore(t,{type:"text",value:a,sourceSpan:new r(i,s)}))}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===n(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=h(e),s=l(e);if(!t)for(let t=0;t<e.children.length;t++){let n=e.children[t];if("text"!==n.type)continue;let{leadingWhitespace:s,text:o,trailingWhitespace:a}=i(n.value),u=n.prev,l=n.next;o?(n.value=o,n.sourceSpan=new r(n.sourceSpan.start.moveBy(s.length),n.sourceSpan.end.moveBy(-a.length)),s&&(u&&(u.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),a&&(n.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(s||a)&&(u&&(u.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=s}))},function(e,t){e.walk((e=>{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:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=u(e));for(let e of r)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}}))},function(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!s(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 n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.next;s.value+=`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+o.value,s.sourceSpan=new r(s.sourceSpan.start,o.sourceSpan.end),s.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,s.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),n--,e.removeChild(o)}}))},function(e,t){if("vue"===t.parser){let r=e.children.find((e=>d(e,t)));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}];t.exports=function(e,t){for(let r of f)r(e,t);return e}}}),Oi=v({"src/language-html/pragma.js"(e,t){w(),t.exports={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),Mi=v({"src/language-html/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),Li=v({"src/language-html/print/tag.js"(e,t){w();var r=Wt(),{isNonEmptyArray:n}=de(),{builders:{indent:i,join:s,line:o,softline:a,hardline:u},utils:{replaceTextEndOfLine:l}}=W(),{locStart:c,locEnd:p}=Mi(),{isTextLikeNode:h,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:g,isVueSfcBlock:y}=Ti();function b(e,t){return e.lastChild&&P(e.lastChild)?"":[D(e,t),x(e,t)]}function v(e,t){return(e.next?A(e.next):T(e.parent))?"":[S(e,t),E(e,t)]}function D(e,t){return T(e)?S(e.lastChild,t):""}function E(e,t){return P(e)?x(e.parent,t):F(e)?M(e.next):""}function x(e,t){if(r(!e.isSelfClosing),C(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function S(e,t){if(C(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function C(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function A(e){return e.prev&&"docType"!==e.prev.type&&!h(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function T(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!h(d(e.lastChild))&&!f(e)}function P(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&h(d(e))}function F(e){return e.next&&!h(e.next)&&h(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function I(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function N(e,t,r){let h=e.getValue();if(!n(h.attrs))return h.isSelfClosing?" ":"";let d=h.prev&&"comment"===h.prev.type&&function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(h.prev.value),f="boolean"==typeof d?()=>d:Array.isArray(d)?e=>d.includes(e.rawName):()=>!1,m=e.map((e=>{let n=e.getValue();return f(n)?l(t.originalText.slice(c(n),p(n))):r()}),"attrs"),g="element"===h.type&&"script"===h.fullName&&1===h.attrs.length&&"src"===h.attrs[0].fullName&&0===h.children.length,b=t.singleAttributePerLine&&h.attrs.length>1&&!y(h,t)?u:o,v=[i([g?" ":o,s(b,m)])];return h.firstChild&&I(h.firstChild)||h.isSelfClosing&&T(h.parent)||g?v.push(h.isSelfClosing?" ":""):v.push(t.bracketSameLine?h.isSelfClosing?" ":"":h.isSelfClosing?o:a),v}function k(e){return e.firstChild&&I(e.firstChild)?"":L(e)}function _(e,t){return e.prev&&F(e.prev)?"":[O(e,t),M(e)]}function O(e,t){return I(e)?L(e.parent):A(e)?S(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return`\x3c!--[if ${e.condition}]>\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function L(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":b(e,t),v(e,t)]},printClosingTagStart:b,printClosingTagStartMarker:x,printClosingTagEndMarker:S,printClosingTagSuffix:E,printClosingTagEnd:v,needsToBorrowLastChildClosingTagEndMarker:T,needsToBorrowParentClosingTagStartMarker:P,needsToBorrowPrevClosingTagEndMarker:A,printOpeningTag:function(e,t,r){let n=e.getValue();return[_(n,t),N(e,t,r),n.isSelfClosing?"":k(n)]},printOpeningTagStart:_,printOpeningTagPrefix:O,printOpeningTagStartMarker:M,printOpeningTagEndMarker:L,needsToBorrowNextOpeningTagStartMarker:F,needsToBorrowParentOpeningTagEndMarker:I}}}),Bi=v({"node_modules/parse-srcset/src/parse-srcset.js"(r,o){w(),i=[],void 0===(s="function"==typeof(n=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(y));if(n)return r=n[0],y+=r.length,r}for(var s,o,a,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,b=[];;){if(i(h),y>=c)return b;s=i(d),o=[],","===s.slice(-1)?(s=s.replace(f,""),D()):v()}function v(){for(i(p),a="",u="in descriptor";;){if(l=e.charAt(y),"in descriptor"===u)if(n(l))a&&(o.push(a),a="",u="after descriptor");else{if(","===l)return y+=1,a&&o.push(a),void D();if("("===l)a+=l,u="in parens";else{if(""===l)return a&&o.push(a),void D();a+=l}}else if("in parens"===u)if(")"===l)a+=l,u="in descriptor";else{if(""===l)return o.push(a),void D();a+=l}else if("after descriptor"===u&&!n(l)){if(""===l)return void D();u="in descriptor",y-=1}y+=1}}function D(){var t,n,i,a,u,l,c,p,h,d=!1,f={};for(a=0;a<o.length;a++)l=(u=o[a])[u.length-1],c=u.substring(0,u.length-1),p=parseInt(c,10),h=parseFloat(c),m.test(c)&&"w"===l?((t||n)&&(d=!0),0===p?d=!0:t=p):g.test(c)&&"x"===l?((t||n||i)&&(d=!0),h<0?d=!0:n=h):m.test(c)&&"h"===l?((i||n)&&(d=!0),0===p?d=!0:i=p):d=!0;d?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+u+"'."):(f.url=s,t&&(f.w=t),n&&(f.d=n),i&&(f.h=i),b.push(f))}}})?n.apply(t,i):n)||(e.exports=s)}}),Ri=v({"src/language-html/syntax-attribute.js"(e,t){w();var r=Bi(),{builders:{ifBreak:n,join:i,line:s}}=W();t.exports={printImgSrcset:function(e){let t=r(e,{logger:{error(e){throw new Error(e)}}}),o=t.some((e=>{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 u=o?"w":a?"h":"d",l=o?"w":a?"h":"x",c=e=>Math.max(...e),p=t.map((e=>e.url)),h=c(p.map((e=>e.length))),d=t.map((e=>e[u])).map((e=>e?e.toString():"")),f=d.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=c(f);return i([",",s],p.map(((e,t)=>{let r=[e],i=d[t];if(i){let s=h-e.length+1,o=m-f[t],a=" ".repeat(s+o);r.push(n(a," "),i+l)}return r})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),ji=v({"src/language-html/syntax-vue.js"(e,t){w();var{builders:{group:r}}=W();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:n,operator:i,right:s}=function(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let s={};if(s.for=i[3].trim(),!s.for)return;let o=i[1].trim().replace(n,""),a=o.match(r);a?(s.alias=o.replace(r,""),s.iterator1=a[1].trim(),a[2]&&(s.iterator2=a[2].trim())):s.alias=o;let u=[s.alias,s.iterator1,s.iterator2];return u.some(((e,t)=>!e&&(0===t||u.slice(t+1).some(Boolean))))?void 0:{left:u.filter(Boolean).join(","),operator:i[2],right:s.for}}(e);return[r(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(s,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),$i=v({"src/language-html/get-node-content.js"(e,t){w();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:a}=Li();t.exports=function(e,t){let u=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(u-=a(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=n(e,t).length:i(e)&&(l-=s(e.lastChild,t).length),t.originalText.slice(u,l)}}}),Ui=v({"src/language-html/embed.js"(e,t){w();var{builders:{breakParent:r,group:n,hardline:i,indent:s,line:o,fill:a,softline:u},utils:{mapDoc:l,replaceTextEndOfLine:c}}=W(),p=Nn(),{printClosingTag:h,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:g}=Li(),{printImgSrcset:y,printClassNames:b}=Ri(),{printVueFor:v,printVueBindings:D,isVueEventBindingExpression:E}=ji(),{isScriptLikeTag:x,isVueNonHtmlBlock:S,inferScriptParser:C,htmlTrimPreserveIndentation:A,dedentString:T,unescapeQuoteEntities:P,isVueSlotAttribute:F,isVueSfcBindingsAttribute:I,getTextValueParts:N}=Ti(),k=$i();function _(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>P(e.value),p=!1,h=(e,t)=>{let r="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;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(p=!0)},d=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([s([u,e]),t?u:""])},f=e=>p?(e=>n(e))(e):d(e),m=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return d(y(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return b(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return d(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return v(l(),m);if(F(e)||I(e,r))return D(l(),m);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=l(),t=E(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return f(m(e,{parser:t}))}if(i(t))return f(m(l(),{parser:"__vue_expression"}));if(i(n))return f(m(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],u=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return f(t(l(),{parser:"__ng_action"}));if(i(u))return f(t(l(),{parser:"__ng_binding"}));if(i(p)){let t=l().trim();return d(a(N(e,t)),!t.includes("@@"))}if(i(r))return f(t(l(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,g=l();if(h.test(g)){let e=[];for(let[r,i]of g.split(h).entries())if(r%2==0)e.push(c(i));else try{e.push(n(["{{",s([o,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{e.push("{{",c(i),"}}")}return n(e)}}return null}t.exports=function(e,t,a,u){let c=e.getValue();switch(c.type){case"element":if(x(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&S(c,u)){let r=C(c,u);if(!r)return;let s=k(c,u),o=/^\s*$/.test(s),l="";return o||(l=a(A(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===l),[m(c,u),n(g(e,u,t)),o?"":i,l,o?"":i,h(c,u),d(c,u)]}break;case"text":if(x(c.parent)){let e=C(c.parent,u);if(e){let t="markdown"===e?T(c.value.replace(/^[^\S\n]*\n/,"")):c.value,n={parser:e,__embeddedInHtml:!0};if("html"===u.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(c,u),a(t,n,{stripTrailingHardline:!0}),d(c,u)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===u.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===u.parser?e.parser=u.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([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(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===u.parser&&/^{.*}$/s.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=_(c,((e,t)=>a(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),u);if(e)return[c.rawName,'="',n(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return p(c,a)}}}}),zi=v({"src/language-html/print/children.js"(e,t){w();var{builders:{breakParent:r,group:n,ifBreak:i,line:s,softline:o,hardline:a},utils:{replaceTextEndOfLine:u}}=W(),{locStart:l,locEnd:c}=Mi(),{forceBreakChildren:p,forceNextEmptyLine:h,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=Ti(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:y,printOpeningTagStartMarker:b,needsToBorrowPrevClosingTagEndMarker:v,printClosingTagEndMarker:D,printClosingTagSuffix:E,needsToBorrowParentClosingTagStartMarker:x}=Li();function S(e,t,r){let n=e.getValue();return f(n)?[g(n,t),...u(t.originalText.slice(l(n)+(n.prev&&y(n.prev)?b(n).length:0),c(n)-(n.next&&v(n.next)?D(n,t).length:0))),E(n,t)]:r()}function C(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?a:s:"":m(t)?a:o:y(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&v(t)?"":!t.isLeadingSpaceSensitive||m(t)||v(t)&&e.lastChild&&x(e.lastChild)&&e.lastChild.lastChild&&x(e.lastChild.lastChild)?a:t.hasLeadingSpaces?s:o}t.exports={printChildren:function(e,t,s){let u=e.getValue();if(p(u))return[r,...e.map((e=>{let r=e.getValue(),n=r.prev?C(r.prev,r):"";return[n?[n,h(r.prev)?a:""]:"",S(e,t,s)]}),"children")];let l=u.children.map((()=>Symbol("")));return e.map(((e,r)=>{let u=e.getValue();if(d(u)){if(u.prev&&d(u.prev)){let r=C(u.prev,u);if(r)return h(u.prev)?[a,a,S(e,t,s)]:[r,S(e,t,s)]}return S(e,t,s)}let c=[],p=[],f=[],m=[],g=u.prev?C(u.prev,u):"",y=u.next?C(u,u.next):"";return g&&(h(u.prev)?c.push(a,a):g===a?c.push(a):d(u.prev)?p.push(g):p.push(i("",o,{groupId:l[r-1]}))),y&&(h(u)?d(u.next)&&m.push(a,a):y===a?d(u.next)&&m.push(a):f.push(y)),[...c,n([...p,n([S(e,t,s),...f],{id:l[r]})]),...m]}),"children")}}}}),Vi=v({"src/language-html/print/element.js"(e,t){w();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:s,indentIfBreak:o,indent:a,line:u,softline:l},utils:{replaceTextEndOfLine:c}}=W(),p=$i(),{shouldPreserveContent:h,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:g}=Ti(),{printOpeningTagPrefix:y,printOpeningTag:b,printClosingTagSuffix:v,printClosingTag:D,needsToBorrowPrevClosingTagEndMarker:E,needsToBorrowLastChildClosingTagEndMarker:x}=Li(),{printChildren:S}=zi();t.exports={printElement:function(e,t,w){let C=e.getValue();if(h(C,t))return[y(C,t),i(b(e,t,w)),...c(p(C,t)),...D(C,t),v(C,t)];let A=1===C.children.length&&"interpolation"===C.firstChild.type&&C.firstChild.isLeadingSpaceSensitive&&!C.firstChild.hasLeadingSpaces&&C.lastChild.isTrailingSpaceSensitive&&!C.lastChild.hasTrailingSpaces,T=Symbol("element-attr-group-id"),P=r=>i([i(b(e,t,w),{id:T}),r,D(C,t)]);return 0===C.children.length?P(C.hasDanglingSpaces&&C.isDanglingSpaceSensitive?u:""):P([g(C)?r:"",(F=[A?s(l,"",{groupId:T}):C.firstChild.hasLeadingSpaces&&C.firstChild.isLeadingSpaceSensitive?u:"text"===C.firstChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive?n(l):l,S(e,t,w)],A?o(F,{groupId:T}):!d(C)&&!f(C,t)||"root"!==C.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?a(F):F),(C.next?E(C.next):x(C.parent))?C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?" ":"":A?s(l,"",{groupId:T}):C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?u:("comment"===C.lastChild.type||"text"===C.lastChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(C.lastChild.value)?"":l]);var F}}}}),Wi=v({"src/language-html/printer-html.js"(e,t){w();var{builders:{fill:r,group:n,hardline:i,literalline:s},utils:{cleanDoc:o,getDocParts:a,isConcat:u,replaceTextEndOfLine:l}}=W(),c=Si(),{countChars:p,unescapeQuoteEntities:h,getTextValueParts:d}=Ti(),f=_i(),{insertPragma:m}=Oi(),{locStart:g,locEnd:y}=Mi(),b=Ui(),{printClosingTagSuffix:v,printClosingTagEnd:D,printOpeningTagPrefix:E,printOpeningTagStart:x}=Li(),{printElement:S}=Vi(),{printChildren:C}=zi();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),[n(C(e,t,c)),i];case"element":case"ieConditionalComment":return S(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[x(f),D(f)];case"interpolation":return[x(f,t),...e.map(c,"children"),D(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),r=t?f.value.replace(e,""):f.value;return[...l(r),t?i:""]}let e=o([E(f,t),...d(f),v(f,t)]);return u(e)||"fill"===e.type?r(a(e)):e}case"docType":return[n([x(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),D(f,t)];case"comment":return[E(f,t),...l(t.originalText.slice(g(f),y(f)),s),v(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=h(f.value),t=p(e,"'")<p(e,'"')?"'":'"';return[f.rawName,"=",t,...l('"'===t?e.replace(/"/g,"""):e.replace(/'/g,"'")),t]}default:throw new Error(`Unexpected node type ${f.type}`)}},insertPragma:m,massageAstNode:c,embed:b}}}),Hi=v({"src/language-html/options.js"(e,t){w();var r=Dn(),n="HTML";t.exports={bracketSameLine:r.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:n,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:r.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:n,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),qi=v({"src/language-html/parsers.js"(){w()}}),Gi=v({"node_modules/linguist-languages/data/HTML.json"(e,t){t.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Ki=v({"node_modules/linguist-languages/data/Vue.json"(e,t){t.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Xi=v({"src/language-html/index.js"(e,t){w();var r=Zt(),n=Wi(),i=Hi(),s=qi(),o=[r(Gi(),(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Gi(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Gi(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Ki(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],a={html:n};t.exports={languages:o,printers:a,options:i,parsers:s}}}),Ji=v({"src/language-yaml/pragma.js"(e,t){w(),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}`}}}}),Yi=v({"src/language-yaml/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),Zi=v({"src/language-yaml/embed.js"(e,t){w(),t.exports=function(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}}}),Qi=v({"src/language-yaml/utils.js"(e,t){w();var{getLast:r,isNonEmptyArray:n}=de();function i(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function s(e){return"prettier-ignore"===e.value.trim()}function o(e){return n(null==e?void 0:e.leadingComments)}function a(e){return n(null==e?void 0:e.middleComments)}function u(e){return null==e?void 0:e.indicatorComment}function l(e){return null==e?void 0:e.trailingComment}function c(e){return n(null==e?void 0:e.endComments)}function p(e){let t,r=[];for(let n of e.split(/( +)/))" "!==n?" "===t?r.push(n):r.push((r.pop()||"")+n):void 0===t&&r.unshift(""),t=n;return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}t.exports={getLast:r,getAncestorCount:function(e,t){let r=0,n=e.stack.length-1;for(let s=0;s<n;s++){let n=e.stack[s];i(n)&&t(n)&&r++}return r},isNode:i,isEmptyNode:function(e){return!n(e.children)&&!function(e){return o(e)||a(e)||u(e)||l(e)||c(e)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function e(t,r,n){return r("children"in t?Object.assign(Object.assign({},t),{},{children:t.children.map((n=>e(n,r,t)))}):t,n)},defineShortcut:function(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})},isNextLineEmpty:function(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i<n;i++){let e=t[i];if("\n"===e&&r++,1===r&&/\S/.test(e))return!1;if(2===r)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let t=e.stack.length;for(let r=1;r<t;r++){let t=e.stack[r],n=e.stack[r-1];if(Array.isArray(n)&&"number"==typeof t&&t!==n.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){let n,{parentIndent:i,isLastDescendant:s,options:o}=t,a=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=a.match(/^(?<leadingSpace> *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let u=a.split("\n").map((e=>e.slice(n)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?l(u.map((e=>0===e.length?[]:[e]))):l(u.map((e=>0===e.length?[]:p(e))).reduce(((e,t,n)=>0!==n&&u[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===o.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!s?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){let i=t.split("\n").map(((e,t,r)=>0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?i.map((e=>0===e.length?[]:[e])):i.map((e=>0===e.length?[]:p(e))).reduce(((t,n,s)=>0!==s&&i[s-1].length>0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return n(t.children)?e(r(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return c(t.head)&&s(r(t.head.endComments))}return o(t)&&s(r(t.leadingComments))},hasLeadingComments:o,hasMiddleComments:a,hasIndicatorComment:u,hasTrailingComment:l,hasEndComments:c}}}),es=v({"src/language-yaml/print-preprocess.js"(e,t){w();var{defineShortcut:r,mapNode:n}=Qi();function i(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=function(e){return n(e,i)}}}),ts=v({"src/language-yaml/print/misc.js"(e,t){w();var{builders:{softline:r,align:n}}=W(),{hasEndComments:i,isNextLineEmpty:s,isNode:o}=Qi(),a=new WeakMap;function u(e){return i(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return n(" ".repeat(e),t)},shouldPrintEndComments:u,printNextEmptyLine:function(e,t){let n,i=e.getValue(),o=e.stack[0];return a.has(o)?n=a.get(o):(n=new Set,a.set(o,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!s(i,t)||u(e.getParentNode()))?"":r}}}}),rs=v({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){w();var{builders:{ifBreak:r,line:n,softline:i,hardline:s,join:o}}=W(),{isEmptyNode:a,getLast:u,hasEndComments:l}=Qi(),{printNextEmptyLine:c,alignWithSpaces:p}=ts();function h(e,t,c){let h=e.getValue(),f="flowMapping"===h.type,m=f?"{":"[",g=f?"}":"]",y=i;f&&h.children.length>0&&c.bracketSpacing&&(y=n);let b=u(h.children),v=b&&"flowMappingItem"===b.type&&a(b.key)&&a(b.value);return[m,p(c.tabWidth,[y,d(e,t,c),"none"===c.trailingComma?"":r(","),l(h)?[s,o(s,e.map(t,"endComments"))]:""]),v?"":y,g]}function d(e,t,r){let i=e.getValue();return e.map(((e,s)=>[t(),s===i.children.length-1?"":[",",n,i.children[s].position.start.line!==i.children[s+1].position.start.line?c(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:h,printFlowSequence:h}}}),ns=v({"src/language-yaml/print/mapping-item.js"(e,t){w();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:s,join:o,line:a}}=W(),{hasLeadingComments:u,hasMiddleComments:l,hasTrailingComment:c,hasEndComments:p,isNode:h,isEmptyNode:d,isInlineNode:f}=Qi(),{alignWithSpaces:m}=ts();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,y,b,v){let{key:D,value:E}=e,x=d(D),w=d(E);if(x&&w)return": ";let S=b("key"),C=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(w)return"flowMappingItem"===e.type&&"flowMapping"===t.type?S:"mappingItem"!==e.type||!g(D.content,v)||c(D.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,S)]:[S,C,":"];let A=b("value");if(x)return[": ",m(2,A)];if(u(E)||!f(D.content))return["? ",m(2,S),i,o("",y.map(b,"value","leadingComments").map((e=>[e,i]))),": ",m(2,A)];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}}(D.content)&&!u(D.content)&&!l(D.content)&&!c(D.content)&&!p(D)&&!u(E.content)&&!l(E.content)&&!p(E)&&g(E.content,v))return[S,C,": ",A];let T=Symbol("mappingKey"),P=n([s("? "),n(m(2,S),{id:T})]),F=[i,": ",m(2,A)],I=[C,":"];u(E.content)||p(E)&&E.content&&!h(E.content,["mapping","sequence"])||"mapping"===t.type&&c(D.content)&&f(E.content)||h(E.content,["mapping","sequence"])&&null===E.content.tag&&null===E.content.anchor?I.push(i):E.content&&I.push(a),I.push(A);let N=m(v.tabWidth,I);return!g(D.content,v)||u(D.content)||l(D.content)||p(D)?r([[P,s(F,N,{groupId:T})]]):r([[S,N]])}}}),is=v({"src/language-yaml/print/block.js"(e,t){w();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:s,join:o,line:a,literalline:u,markAsRoot:l},utils:{getDocParts:c}}=W(),{getAncestorCount:p,getBlockValueLineContents:h,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=Qi(),{alignWithSpaces:g}=ts();t.exports=function(e,t,y){let b=e.getValue(),v=p(e,(e=>m(e,["sequence","mapping"]))),D=f(e),E=["blockFolded"===b.type?">":"|"];null!==b.indent&&E.push(b.indent.toString()),"clip"!==b.chomping&&E.push("keep"===b.chomping?"+":"-"),d(b)&&E.push(" ",t("indicatorComment"));let x=h(b,{parentIndent:v,isLastDescendant:D,options:y}),w=[];for(let[e,t]of x.entries())0===e&&w.push(s),w.push(i(c(o(a,t)))),e!==x.length-1?w.push(0===t.length?s:l(u)):"keep"===b.chomping&&D&&w.push(n(0===t.length?s:u));return null===b.indent?E.push(r(g(y.tabWidth,w))):E.push(n(g(b.indent-1+v,w))),E}}}),ss=v({"src/language-yaml/printer-yaml.js"(e,t){w();var{builders:{breakParent:r,fill:n,group:i,hardline:s,join:o,line:a,lineSuffix:u,literalline:l},utils:{getDocParts:c,replaceTextEndOfLine:p}}=W(),{isPreviousLineEmpty:h}=de(),{insertPragma:d,isPragma:f}=Ji(),{locStart:m}=Yi(),g=Zi(),{getFlowScalarLineContents:y,getLastDescendantNode:b,hasLeadingComments:v,hasMiddleComments:D,hasTrailingComment:E,hasEndComments:x,hasPrettierIgnore:S,isLastDescendantNode:C,isNode:A,isInlineNode:T}=Qi(),P=es(),{alignWithSpaces:F,printNextEmptyLine:I,shouldPrintEndComments:N}=ts(),{printFlowMapping:k,printFlowSequence:_}=rs(),O=ns(),M=is();function L(e,t){return E(e)||t&&(t.head.children.length>0||x(t.head))}function B(e,t,r){let i=y(e,t,r);return o(s,i.map((e=>n(c(o(a,e))))))}t.exports={preprocess:P,embed:g,print:function(e,t,n){let a=e.getValue(),c=[];"mappingValue"!==a.type&&v(a)&&c.push([o(s,e.map(n,"leadingComments")),s]);let{tag:d,anchor:f}=a;d&&c.push(n("tag")),d&&f&&c.push(" "),f&&c.push(n("anchor"));let g="";A(a,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!C(e)&&(g=I(e,t.originalText)),(d||f)&&(A(a,["sequence","mapping"])&&!D(a)?c.push(s):c.push(" ")),D(a)&&c.push([1===a.middleComments.length?"":s,o(s,e.map(n,"middleComments")),s]);let y=e.getParentNode();return S(e)?c.push(p(t.originalText.slice(a.position.start.offset,a.position.end.offset).trimEnd(),l)):c.push(i(function(e,t,r,n,i){switch(e.type){case"root":{let{children:t}=e,n=[];r.each(((e,r)=>{let o=t[r],a=t[r+1];0!==r&&n.push(s),n.push(i()),L(o,a)?(n.push(s,"..."),E(o)&&n.push(" ",i("trailingComment"))):a&&!E(a.head)&&n.push(s,"---")}),"children");let o=b(e);return(!A(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&n.push(s),n}case"document":{let a=[];return"head"===function(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||x(e.head)||E(e.head)?"head":!L(e,t)&&!!t&&"root"}(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&a.push(i("head")),E(e.head)?a.push(["---"," ",i(["head","trailingComment"])]):a.push("---")),function(e){return e.body.children.length>0||x(e.body)}(e)&&a.push(i("body")),o(s,a)}case"documentHead":return o(s,[...r.map(i,"children"),...r.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,a="";if(t.length>0&&n.length>0){let t=b(e);A(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(a=[s,s]):a=s}return[o(s,r.map(i,"children")),a,o(s,r.map(i,"endComments"))]}case"directive":return["%",o(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return B(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t="'",r='"',i=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let s="quoteDouble"===e.type?r:t;return[s,B(e.type,i,n),s]}if(i.includes(r))return[t,B(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,B(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let s=n.singleQuote?t:r;return[s,B(e.type,i,n),s]}case"blockFolded":case"blockLiteral":return M(r,i,n);case"mapping":case"sequence":return o(s,r.map(i,"children"));case"sequenceItem":return["- ",F(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return O(e,t,r,i,n);case"flowMapping":return k(r,i,n);case"flowSequence":return _(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error(`Unexpected node type ${e.type}`)}}(a,y,e,t,n))),E(a)&&!A(a,["document","documentHead"])&&c.push(u(["mappingValue"!==a.type||a.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&T(a)?"":r,n("trailingComment")])),N(a)&&c.push(F("sequenceItem"===a.type?2:0,[s,o(s,e.map((e=>[h(t.originalText,e.getValue(),m)?s:"",n()]),"endComments"))])),c.push(g),c},massageAstNode:function(e,t){if(A(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}}}),os=v({"src/language-yaml/options.js"(e,t){w();var r=Dn();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),as=v({"src/language-yaml/parsers.js"(){w()}}),us=v({"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}}}),ls=v({"src/language-yaml/index.js"(e,t){w();var r=Zt(),n=ss(),i=os(),s=as(),o=[r(us(),(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:n},options:i,parsers:s}}}),cs=v({"src/languages.js"(e,t){w(),t.exports=[Fn(),Xn(),ni(),ci(),wi(),Xi(),ls()]}});w();var{version:ps}=S(),hs=Jt(),{getSupportInfo:ds}=oe(),fs=Yt(),ms=cs(),gs=W();function ys(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];let s=n[t]||{},o=s.plugins||[];return n[t]=Object.assign(Object.assign({},s),{},{plugins:[...ms,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}var bs=ys(hs.formatWithCursor);o.exports={formatWithCursor:bs,format:(e,t)=>bs(e,t).formatted,check(e,t){let{formatted:r}=bs(e,t);return r===e},doc:gs,getSupportInfo:ys(ds,0),version:ps,util:fs,__debug:{parse:ys(hs.parse),formatAST:ys(hs.formatAST),formatDoc:ys(hs.formatDoc),printToDoc:ys(hs.printToDoc),printDocToString:ys(hs.printDocToString)}}}))())},49657:(e,t,r)=>{e.exports=r(83109)},49659:(e,t,r)=>{var n,i,s=r(79696).Buffer,o=r(94677),a=r(30118),u=r(31289),l=r(83153),c=r.g.crypto&&r.g.crypto.subtle,p={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(){return i||(i=r.g.process&&r.g.process.nextTick?r.g.process.nextTick:r.g.queueMicrotask?r.g.queueMicrotask:r.g.setImmediate?r.g.setImmediate:r.g.setTimeout)}function f(e,t,r,n,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return s.from(e)}))}e.exports=function(e,t,i,m,g,y){"function"==typeof g&&(y=g,g=void 0);var b=p[(g=g||"sha1").toLowerCase()];if(b&&"function"==typeof r.g.Promise){if(o(i,m),e=l(e,a,"Password"),t=l(t,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){d()((function(){t(null,e)}))}),(function(e){d()((function(){t(e)}))}))}(function(e){if(r.g.process&&!r.g.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=f(n=n||s.alloc(8),n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=t,t}(b).then((function(r){return r?f(e,t,i,m,b):u(e,t,i,m,g)})),y)}else d()((function(){var r;try{r=u(e,t,i,m,g)}catch(e){return y(e)}y(null,r)}))}},49888:(__unused_webpack_module,exports)=>{var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),(function(t){r[t]=e[t]})),forEach(globals,(function(t){e[t]&&(r[t]=e[t])}));var s=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),(function(t){(t in e||-1===indexOf(s,t))&&(e[t]=r[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,r[t])})),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),(function(r){e[r]=t[r]})),r},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),(function(r){t[r]=e[r]})),t}},50093:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70161),i=r(6022),s=r(62537),o=r.n(s),a=r(44707),u=["stroke","color","weight","opacity","lineCap","lineJoin","dashArray","dashOffset","fill","fillColor","fillOpacity","fillRule","bubblingMouseEvents","renderer","className","interactive","pane","attribution"],l=function(e){function t(t){var r;return null==(r=e.call(this,t)||this).contextValue&&(r.contextValue=(0,n.A)({},t.leaflet,{popupContainer:r.leafletElement})),r}(0,i.A)(t,e);var r=t.prototype;return r.componentDidUpdate=function(t){e.prototype.componentDidUpdate.call(this,t),this.setStyleIfChanged(t,this.props)},r.getPathOptions=function(e){return t=e,u.reduce((function(e,r){return t[r]&&(e[r]=t[r]),e}),{});var t},r.setStyle=function(e){void 0===e&&(e={}),this.leafletElement.setStyle(e)},r.setStyleIfChanged=function(e,t){var r=this.getPathOptions(t);o()(r,this.getPathOptions(e))||this.setStyle(r)},t}(a.A)},50192:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},50515:e=>{var t=Object.prototype.hasOwnProperty,r="function"!=typeof Object.create&&"~";function n(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(){}i.prototype._events=void 0,i.prototype.eventNames=function(){var e,n=this._events,i=[];if(!n)return i;for(e in n)t.call(n,e)&&i.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(n)):i},i.prototype.listeners=function(e,t){var n=r?r+e:e,i=this._events&&this._events[n];if(t)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var s=0,o=i.length,a=new Array(o);s<o;s++)a[s]=i[s].fn;return a},i.prototype.emit=function(e,t,n,i,s,o){var a=r?r+e:e;if(!this._events||!this._events[a])return!1;var u,l,c=this._events[a],p=arguments.length;if("function"==typeof c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),p){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,s),!0;case 6:return c.fn.call(c.context,t,n,i,s,o),!0}for(l=1,u=new Array(p-1);l<p;l++)u[l-1]=arguments[l];c.fn.apply(c.context,u)}else{var h,d=c.length;for(l=0;l<d;l++)switch(c[l].once&&this.removeListener(e,c[l].fn,void 0,!0),p){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,t);break;case 3:c[l].fn.call(c[l].context,t,n);break;default:if(!u)for(h=1,u=new Array(p-1);h<p;h++)u[h-1]=arguments[h];c[l].fn.apply(c[l].context,u)}}return!0},i.prototype.on=function(e,t,i){var s=new n(t,i||this),o=r?r+e:e;return this._events||(this._events=r?{}:Object.create(null)),this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],s]:this._events[o].push(s):this._events[o]=s,this},i.prototype.once=function(e,t,i){var s=new n(t,i||this,!0),o=r?r+e:e;return this._events||(this._events=r?{}:Object.create(null)),this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],s]:this._events[o].push(s):this._events[o]=s,this},i.prototype.removeListener=function(e,t,n,i){var s=r?r+e:e;if(!this._events||!this._events[s])return this;var o=this._events[s],a=[];if(t)if(o.fn)(o.fn!==t||i&&!o.once||n&&o.context!==n)&&a.push(o);else for(var u=0,l=o.length;u<l;u++)(o[u].fn!==t||i&&!o[u].once||n&&o[u].context!==n)&&a.push(o[u]);return a.length?this._events[s]=1===a.length?a[0]:a:delete this._events[s],this},i.prototype.removeAllListeners=function(e){return this._events?(e?delete this._events[r?r+e:e]:this._events=r?{}:Object.create(null),this):this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=r,e.exports=i},51048:(e,t,r)=>{var n=r(65994).e,i=65536,s=r(79696).Buffer,o=r.g.crypto||r.g.msCrypto;o&&o.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var r=s.allocUnsafe(e);if(e>0)if(e>i)for(var a=0;a<e;a+=i)o.getRandomValues(r.slice(a,a+i));else o.getRandomValues(r);return"function"==typeof t?n.nextTick((function(){t(null,r)})):r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},51152:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function s(e,o){if(e===o)return!0;if(e&&o&&"object"==typeof e&&"object"==typeof o){if(e.constructor!==o.constructor)return!1;var a,u,l,c;if(Array.isArray(e)){if((a=e.length)!=o.length)return!1;for(u=a;0!=u--;)if(!s(e[u],o[u]))return!1;return!0}if(r&&e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!o.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!s(u.value[1],o.get(u.value[0])))return!1;return!0}if(n&&e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!o.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(o)){if((a=e.length)!=o.length)return!1;for(u=a;0!=u--;)if(e[u]!==o[u])return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof o.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof o.toString)return e.toString()===o.toString();if((a=(l=Object.keys(e)).length)!==Object.keys(o).length)return!1;for(u=a;0!=u--;)if(!Object.prototype.hasOwnProperty.call(o,l[u]))return!1;if(t&&e instanceof Element)return!1;for(u=a;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!e.$$typeof)&&!s(e[l[u]],o[l[u]]))return!1;return!0}return e!=e&&o!=o}e.exports=function(e,t){try{return s(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},51182:(e,t,r)=>{const{Buffer:n}=r(67787),{ObjectDefineProperty:i,ObjectKeys:s,ReflectApply:o}=r(12450),{promisify:{custom:a}}=r(46108),{streamReturningOperators:u,promiseReturningOperators:l}=r(7915),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(26503),p=r(16362),{setDefaultHighWaterMark:h,getDefaultHighWaterMark:d}=r(97863),{pipeline:f}=r(55930),{destroyer:m}=r(28476),g=r(42882),y=r(83803),b=r(97967),v=e.exports=r(39831).Stream;v.isDestroyed=b.isDestroyed,v.isDisturbed=b.isDisturbed,v.isErrored=b.isErrored,v.isReadable=b.isReadable,v.isWritable=b.isWritable,v.Readable=r(11444);for(const E of s(u)){const x=u[E];function w(...e){if(new.target)throw c();return v.Readable.from(o(x,this,e))}i(w,"name",{__proto__:null,value:x.name}),i(w,"length",{__proto__:null,value:x.length}),i(v.Readable.prototype,E,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}for(const S of s(l)){const C=l[S];function A(...e){if(new.target)throw c();return o(C,this,e)}i(A,"name",{__proto__:null,value:C.name}),i(A,"length",{__proto__:null,value:C.length}),i(v.Readable.prototype,S,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}v.Writable=r(12244),v.Duplex=r(758),v.Transform=r(84450),v.PassThrough=r(41472),v.pipeline=f;const{addAbortSignal:D}=r(90951);v.addAbortSignal=D,v.finished=g,v.destroy=m,v.compose=p,v.setDefaultHighWaterMark=h,v.getDefaultHighWaterMark=d,i(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>y}),i(f,a,{__proto__:null,enumerable:!0,get:()=>y.pipeline}),i(g,a,{__proto__:null,enumerable:!0,get:()=>y.finished}),v.Stream=v,v._isUint8Array=function(e){return e instanceof Uint8Array},v._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}},52162:(e,t,r)=>{r.d(t,{uv:()=>s});var n=r(16299),i=r(38612);function s(e,t,{timeout:r}={}){try{return(0,n.A)((()=>(0,i.A)(e).test(t)),{timeout:r})()}catch(e){if((0,n.c)(e))return!1;throw e}}},52244:(e,t,r)=>{var n=r(79696).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=p,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},52682:(e,t,r)=>{r.d(t,{BC:()=>m,Bq:()=>a,FK:()=>f,HC:()=>l,HT:()=>i,K5:()=>c,YW:()=>u,b2:()=>d,c1:()=>h,kg:()=>g,kp:()=>s,tW:()=>o,tn:()=>n,wN:()=>p});var n=Math.abs,i=String.fromCharCode,s=Object.assign;function o(e,t){return 45^p(e,0)?(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3):0}function a(e){return e.trim()}function u(e,t){return(e=t.exec(e))?e[0]:e}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function m(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}},52753:(e,t,r)=>{var n=r(63713),i=r(91471),s=r(79101),o=r(13607),a={preEmit:1,shouldEmit:1};e.exports=function(e){var t=r(61255),u=r(68),l=r(67670);for(var c in e=e||{},t)if(!a[c]&&(u[c]||l[c]))throw new Error("Cannot override API method "+c+" in Reflux.StoreMethods. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");for(var p in e)if(!a[p]&&(u[p]||l[p]))throw new Error("Cannot override API method "+p+" in store creation. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");function h(){var t,r=0;if(this.subscriptions=[],this.emitter=new n.EventEmitter,this.eventLabel="change",o(this,e),this.init&&n.isFunction(this.init)&&this.init(),this.listenables)for(t=[].concat(this.listenables);r<t.length;r++)this.listenToMany(t[r])}e=s(e),n.extend(h.prototype,l,u,t,e);var d=new h;return i.createdStores.push(d),d}},53692:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(60752),i=r(70161),s=r(96196),o=r(6022),a=r(96652),u=r.n(a),l=r(28104);function c(e,t){var r=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),r}function p(e,t,r){return null!=r[t]?r[t]:e.props[t]}function h(e,t,r){var n=c(e.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),s=[];for(var o in e)o in t?s.length&&(i[o]=s,s=[]):s.push(o);var a={};for(var u in t){if(i[u])for(n=0;n<i[u].length;n++){var l=i[u][n];a[i[u][n]]=r(l)}a[u]=r(u)}for(n=0;n<s.length;n++)a[s[n]]=r(s[n]);return a}(t,n);return Object.keys(i).forEach((function(s){var o=i[s];if((0,a.isValidElement)(o)){var u=s in t,l=s in n,c=t[s],h=(0,a.isValidElement)(c)&&!c.props.in;!l||u&&!h?l||!u||h?l&&u&&(0,a.isValidElement)(c)&&(i[s]=(0,a.cloneElement)(o,{onExited:r.bind(null,o),in:c.props.in,exit:p(o,"exit",e),enter:p(o,"enter",e)})):i[s]=(0,a.cloneElement)(o,{in:!1}):i[s]=(0,a.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:p(o,"exit",e),enter:p(o,"enter",e)})}})),i}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind((0,s.A)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,o.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,s=t.handleExited;return{children:t.firstRender?(r=e,n=s,c(r.children,(function(e){return(0,a.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:p(e,"appear",r),enter:p(e,"enter",r),exit:p(e,"exit",r)})}))):h(e,i,s),firstRender:!1}},r.handleExited=function(e,t){var r=c(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,i.A)({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,n.A)(e,["component","childFactory"]),s=this.state.contextValue,o=d(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===t?u().createElement(l.A.Provider,{value:s},o):u().createElement(l.A.Provider,{value:s},u().createElement(t,i,o))},t}(u().Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};const m=f},53786:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(70161),i=r(6022),s=r(63706),o=r(41381),a=function(e){function t(){return e.apply(this,arguments)||this}(0,i.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){var t=new s.CircleMarker(e.center,this.getOptions(e));return this.contextValue=(0,n.A)({},e.leaflet,{popupContainer:t}),t},r.updateLeafletElement=function(e,t){t.center!==e.center&&this.leafletElement.setLatLng(t.center),t.radius!==e.radius&&this.leafletElement.setRadius(t.radius)},t}(r(50093).A);const u=(0,o.k0)(a)},54284:(e,t,r)=>{r.d(t,{A:()=>o,l:()=>s});var n=r(62189),i=r(52682);function s(e,t){for(var r="",n=(0,i.FK)(e),s=0;s<n;s++)r+=t(e[s],s,e,t)||"";return r}function o(e,t,r,o){switch(e.type){case n.IO:if(e.children.length)break;case n.yE:case n.LU:return e.return=e.return||e.value;case n.YK:return"";case n.Sv:return e.return=e.value+"{"+s(e.children,o)+"}";case n.XZ:e.value=e.props.join(",")}return(0,i.b2)(r=s(e.children,o))?e.return=e.value+"{"+r+"}":""}},54447:(e,t,r)=>{var n=r(67670),i=r(36180),s=r(63713);e.exports=function(e,t){return s.throwIf(void 0===t,"Reflux.connect() requires a key."),{getInitialState:function(){return s.isFunction(e.getInitialState)?s.object([t],[e.getInitialState()]):{}},componentDidMount:function(){var r=this;s.extend(r,n),this.listenTo(e,(function(e){r.setState(s.object([t],[e]))}))},componentWillUnmount:i.componentWillUnmount}}},54808:(e,t,r)=>{e.exports=r(27540)},54845:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).minor},54856:(e,t,r)=>{var n=r(67670);e.exports=function(e){return{componentDidMount:function(){for(var t in n)if(this[t]!==n[t]){if(this[t])throw"Can't have other property '"+t+"' when using Reflux.listenToMany!";this[t]=n[t]}this.listenToMany(e)},componentWillUnmount:n.stopListeningToAll}}},55242:(e,t,r)=>{r.d(t,{Kq:()=>z,Ng:()=>U,iI:()=>H,jO:()=>b,Nk:()=>V});var n=r(58695),i=r(44949),s=r(46410);let o=function(e){e()};const a=()=>o;var u=r(96652);const l=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{};function p(){var e;if(!u.createContext)return{};const t=null!=(e=c[l])?e:c[l]=new Map;let r=t.get(u.createContext);return r||(r=u.createContext(null),t.set(u.createContext,r)),r}const h=p();function d(e=h){return function(){return(0,u.useContext)(e)}}const f=d(),m=()=>{throw new Error("uSES not initialized!")};let g=m;const y=(e,t)=>e===t;function b(e=h){const t=e===h?f:d(e);return function(e,r={}){const{equalityFn:n=y,stabilityCheck:i,noopCheck:s}="function"==typeof r?{equalityFn:r}:r,{store:o,subscription:a,getServerState:l,stabilityCheck:c,noopCheck:p}=t(),h=((0,u.useRef)(!0),(0,u.useCallback)({[e.name]:t=>e(t)}[e.name],[e,c,i])),d=g(a.addNestedSub,o.getState,l||o.getState,h,n);return(0,u.useDebugValue)(d),d}}var v=r(70161),D=r(60752),E=r(80997),x=r.n(E),w=r(54808);const S=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function C(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:s,areStatePropsEqual:o}){let a,u,l,c,p,h=!1;return function(d,f){return h?function(h,d){const f=!s(d,u),m=!i(h,a,d,u);return a=h,u=d,f&&m?(l=e(a,u),t.dependsOnOwnProps&&(c=t(n,u)),p=r(l,c,u),p):f?(e.dependsOnOwnProps&&(l=e(a,u)),t.dependsOnOwnProps&&(c=t(n,u)),p=r(l,c,u),p):m?function(){const t=e(a,u),n=!o(t,l);return l=t,n&&(p=r(l,c,u)),p}():p}(d,f):(a=d,u=f,l=e(a,u),c=t(n,u),p=r(l,c,u),h=!0,p)}}function A(e){return function(t){const r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function T(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(e,t){return function(t,{displayName:r}){const n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=T(e);let i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=T(i),i=n(t,r)),i},n}}function F(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function I(e,t,r){return(0,v.A)({},r,e,t)}const N={notify(){},get:()=>[]};function k(e,t){let r,n=N,i=0,s=!1;function o(){c.onStateChange&&c.onStateChange()}function u(){i++,r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){const e=a();let t=null,r=null;return{clear(){t=null,r=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}function l(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=N)}const c={addNestedSub:function(e){u();const t=n.subscribe(e);let r=!1;return()=>{r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,u())},tryUnsubscribe:function(){s&&(s=!1,l())},getListeners:()=>n};return c}const _="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?u.useLayoutEffect:u.useEffect;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function M(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!O(e[r[n]],t[r[n]]))return!1;return!0}const L=["reactReduxForwardedRef"];let B=m;const R=[null,null];function j(e,t,r,n,i,s){e.current=n,r.current=!1,i.current&&(i.current=null,s())}function $(e,t){return e===t}const U=function(e,t,r,{pure:n,areStatesEqual:i=$,areOwnPropsEqual:s=M,areStatePropsEqual:o=M,areMergedPropsEqual:a=M,forwardRef:l=!1,context:c=h}={}){const p=c,d=function(e){return e?"function"==typeof e?P(e):F(e,"mapStateToProps"):A((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?A((t=>function(e,t){const r={};for(const n in e){const i=e[n];"function"==typeof i&&(r[n]=(...e)=>t(i(...e)))}return r}(e,t))):e?"function"==typeof e?P(e):F(e,"mapDispatchToProps"):A((e=>({dispatch:e})))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:r,areMergedPropsEqual:n}){let i,s=!1;return function(t,r,o){const a=e(t,r,o);return s?n(a,i)||(i=a):(s=!0,i=a),i}}}(e):F(e,"mergeProps"):()=>I}(r),g=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:g,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:s,areMergedPropsEqual:a};function c(t){const[r,i,s]=u.useMemo((()=>{const{reactReduxForwardedRef:e}=t,r=(0,D.A)(t,L);return[t.context,e,r]}),[t]),o=u.useMemo((()=>r&&r.Consumer&&(0,w.isContextConsumer)(u.createElement(r.Consumer,null))?r:p),[r,p]),a=u.useContext(o),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(a)&&Boolean(a.store),h=l?t.store:a.store,d=c?a.getServerState:h.getState,f=u.useMemo((()=>function(e,t){let{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:i}=t,s=(0,D.A)(t,S);return C(r(e,s),n(e,s),i(e,s),e,s)}(h.dispatch,n)),[h]),[m,y]=u.useMemo((()=>{if(!g)return R;const e=k(h,l?void 0:a.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,l,a]),b=u.useMemo((()=>l?a:(0,v.A)({},a,{subscription:m})),[l,a,m]),E=u.useRef(),x=u.useRef(s),A=u.useRef(),T=u.useRef(!1),P=(u.useRef(!1),u.useRef(!1)),F=u.useRef();_((()=>(P.current=!0,()=>{P.current=!1})),[]);const I=u.useMemo((()=>()=>A.current&&s===x.current?A.current:f(h.getState(),s)),[h,s]),N=u.useMemo((()=>e=>m?function(e,t,r,n,i,s,o,a,u,l,c){if(!e)return()=>{};let p=!1,h=null;const d=()=>{if(p||!a.current)return;const e=t.getState();let r,d;try{r=n(e,i.current)}catch(e){d=e,h=e}d||(h=null),r===s.current?o.current||l():(s.current=r,u.current=r,o.current=!0,c())};return r.onStateChange=d,r.trySubscribe(),d(),()=>{if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,h)throw h}}(g,h,m,f,x,E,T,P,A,y,e):()=>{}),[m]);var O,M;let $;O=j,M=[x,E,T,s,A,y],_((()=>O(...M)),undefined);try{$=B(N,I,d?()=>f(d(),s):I)}catch(e){throw F.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${F.current.stack}\n\n`),e}_((()=>{F.current=void 0,A.current=void 0,E.current=$}));const U=u.useMemo((()=>u.createElement(e,(0,v.A)({},$,{ref:i}))),[i,e,$]);return u.useMemo((()=>g?u.createElement(o.Provider,{value:b},U):U),[o,U,b])}const h=u.memo(c);if(h.WrappedComponent=e,h.displayName=c.displayName=r,l){const t=u.forwardRef((function(e,t){return u.createElement(h,(0,v.A)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=r,t.WrappedComponent=e,x()(t,e)}return x()(h,e)}},z=function({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",noopCheck:s="once"}){const o=u.useMemo((()=>{const t=k(e);return{store:e,subscription:t,getServerState:n?()=>n:void 0,stabilityCheck:i,noopCheck:s}}),[e,n,i,s]),a=u.useMemo((()=>e.getState()),[e]);_((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a]);const l=t||h;return u.createElement(l.Provider,{value:o},r)};function V(e=h){const t=e===h?f:d(e);return function(){const{store:e}=t();return e}}const W=V();function H(e=h){const t=e===h?W:V(e);return function(){return t().dispatch}}var q,G;q=i.useSyncExternalStoreWithSelector,g=q,(e=>{B=e})(n.useSyncExternalStore),G=s.unstable_batchedUpdates,o=G},55520:(e,t,r)=>{const n=r(29161);t.implementation=class{constructor(e,t,{doNotStripQMark:r=!1}){let i=t[0];if(this._list=[],this._url=null,r||"string"!=typeof i||"?"!==i[0]||(i=i.slice(1)),Array.isArray(i))for(const e of i){if(2!==e.length)throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not contain exactly two elements.");this._list.push([e[0],e[1]])}else if("object"==typeof i&&null===Object.getPrototypeOf(i))for(const e of Object.keys(i)){const t=i[e];this._list.push([e,t])}else this._list=n.parseUrlencodedString(i)}_updateSteps(){if(null!==this._url){let e=n.serializeUrlencoded(this._list);""===e&&(e=null),this._url._url.query=e,null===e&&this._url._potentiallyStripTrailingSpacesFromAnOpaquePath()}}get size(){return this._list.length}append(e,t){this._list.push([e,t]),this._updateSteps()}delete(e,t){let r=0;for(;r<this._list.length;)this._list[r][0]!==e||void 0!==t&&this._list[r][1]!==t?r++:this._list.splice(r,1);this._updateSteps()}get(e){for(const t of this._list)if(t[0]===e)return t[1];return null}getAll(e){const t=[];for(const r of this._list)r[0]===e&&t.push(r[1]);return t}has(e,t){for(const r of this._list)if(r[0]===e&&(void 0===t||r[1]===t))return!0;return!1}set(e,t){let r=!1,n=0;for(;n<this._list.length;)this._list[n][0]===e?r?this._list.splice(n,1):(r=!0,this._list[n][1]=t,n++):n++;r||this._list.push([e,t]),this._updateSteps()}sort(){this._list.sort(((e,t)=>e[0]<t[0]?-1:e[0]>t[0]?1:0)),this._updateSteps()}[Symbol.iterator](){return this._list[Symbol.iterator]()}toString(){return n.serializeUrlencoded(this._list)}}},55930:(e,t,r)=>{const n=r(98999),{ArrayIsArray:i,Promise:s,SymbolAsyncIterator:o,SymbolDispose:a}=r(12450),u=r(42882),{once:l}=r(46108),c=r(28476),p=r(758),{aggregateTwoErrors:h,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:f,ERR_MISSING_ARGS:m,ERR_STREAM_DESTROYED:g,ERR_STREAM_PREMATURE_CLOSE:y},AbortError:b}=r(26503),{validateFunction:v,validateAbortSignal:D}=r(79337),{isIterable:E,isReadable:x,isReadableNodeStream:w,isNodeStream:S,isTransformStream:C,isWebStream:A,isReadableStream:T,isReadableFinished:P}=r(97967),F=globalThis.AbortController||r(64279).AbortController;let I,N,k;function _(e,t,r){let n=!1;return e.on("close",(()=>{n=!0})),{destroy:t=>{n||(n=!0,c.destroyer(e,t||new g("pipe")))},cleanup:u(e,{readable:t,writable:r},(e=>{n=!e}))}}function O(e){if(E(e))return e;if(w(e))return async function*(e){N||(N=r(11444)),yield*N.prototype[o].call(e)}(e);throw new d("val",["Readable","Iterable","AsyncIterable"],e)}async function M(e,t,r,{end:n}){let i,o=null;const a=e=>{if(e&&(i=e),o){const e=o;o=null,e()}},l=()=>new s(((e,t)=>{i?t(i):o=()=>{i?t(i):e()}}));t.on("drain",a);const c=u(t,{readable:!1},a);try{t.writableNeedDrain&&await l();for await(const r of e)t.write(r)||await l();n&&(t.end(),await l()),r()}catch(e){r(i!==e?h(i,e):e)}finally{c(),t.off("drain",a)}}async function L(e,t,r,{end:n}){C(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch((()=>{}));await i.ready,n&&await i.close(),r()}catch(e){try{await i.abort(e),r(e)}catch(e){r(e)}}}function B(e,t,s){if(1===e.length&&i(e[0])&&(e=e[0]),e.length<2)throw new m("streams");const o=new F,u=o.signal,l=null==s?void 0:s.signal,c=[];function h(){$(new b)}let g,y,v;D(l,"options.signal"),k=k||r(46108).addAbortListener,l&&(g=k(l,h));const P=[];let N,B=0;function j(e){$(e,0==--B)}function $(e,r){var i;if(!e||y&&"ERR_STREAM_PREMATURE_CLOSE"!==y.code||(y=e),y||r){for(;P.length;)P.shift()(y);null===(i=g)||void 0===i||i[a](),o.abort(),r&&(y||c.forEach((e=>e())),n.nextTick(t,y,v))}}for(let V=0;V<e.length;V++){const W=e[V],H=V<e.length-1,q=V>0,G=H||!1!==(null==s?void 0:s.end),K=V===e.length-1;if(S(W)){if(G){const{destroy:J,cleanup:Y}=_(W,H,q);P.push(J),x(W)&&K&&c.push(Y)}function X(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&j(e)}W.on("error",X),x(W)&&K&&c.push((()=>{W.removeListener("error",X)}))}if(0===V)if("function"==typeof W){if(N=W({signal:u}),!E(N))throw new f("Iterable, AsyncIterable or Stream","source",N)}else N=E(W)||w(W)||C(W)?W:p.from(W);else if("function"==typeof W){var U;if(N=C(N)?O(null===(U=N)||void 0===U?void 0:U.readable):O(N),N=W(N,{signal:u}),H){if(!E(N,!0))throw new f("AsyncIterable",`transform[${V-1}]`,N)}else{var z;I||(I=r(41472));const Z=new I({objectMode:!0}),Q=null===(z=N)||void 0===z?void 0:z.then;if("function"==typeof Q)B++,Q.call(N,(e=>{v=e,null!=e&&Z.write(e),G&&Z.end(),n.nextTick(j)}),(e=>{Z.destroy(e),n.nextTick(j,e)}));else if(E(N,!0))B++,M(N,Z,j,{end:G});else{if(!T(N)&&!C(N))throw new f("AsyncIterable or Promise","destination",N);{const re=N.readable||N;B++,M(re,Z,j,{end:G})}}N=Z;const{destroy:ee,cleanup:te}=_(N,!1,!0);P.push(ee),K&&c.push(te)}}else if(S(W)){if(w(N)){B+=2;const ne=R(N,W,j,{end:G});x(W)&&K&&c.push(ne)}else if(C(N)||T(N)){const ie=N.readable||N;B++,M(ie,W,j,{end:G})}else{if(!E(N))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);B++,M(N,W,j,{end:G})}N=W}else if(A(W)){if(w(N))B++,L(O(N),W,j,{end:G});else if(T(N)||E(N))B++,L(N,W,j,{end:G});else{if(!C(N))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);B++,L(N.readable,W,j,{end:G})}N=W}else N=p.from(W)}return(null!=u&&u.aborted||null!=l&&l.aborted)&&n.nextTick(h),N}function R(e,t,r,{end:i}){let s=!1;if(t.on("close",(()=>{s||r(new y)})),e.pipe(t,{end:!1}),i){function o(){s=!0,t.end()}P(e)?n.nextTick(o):e.once("end",o)}else r();return u(e,{readable:!0,writable:!1},(t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)})),u(t,{readable:!1,writable:!0},r)}e.exports={pipelineImpl:B,pipeline:function(...e){return B(e,l(function(e){return v(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},57094:(e,t,r)=>{r.d(t,{G:()=>o});const n="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:r}=t||{};function n(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,s,o){let a=[],u=/^@(\w+)\b/.exec(e[0]),l=u&&"keyframes"==u[1];if(u&&null==t)return s.push(e[0]+";");for(let r in t){let o=t[r];if(/&/.test(r))i(r.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),o,s);else if(o&&"object"==typeof o){if(!u)throw new RangeError("The value of a property ("+r+") should be a primitive value.");i(n(r),o,a,l)}else null!=o&&a.push(r.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+o+";")}(a.length||l)&&s.push((!r||u||o?e:e.map(r)).join(", ")+" {"+a.join(" ")+"}")}for(let t in e)i(n(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[n]||1;return s[n]=e+1,"ͼ"+e.toString(36)}static mount(e,t,r){let n=e[i],s=r&&r.nonce;n?s&&n.setNonce(s):n=new u(e,s),n.mount(Array.isArray(t)?t:[t],e)}}let a=new Map;class u{constructor(e,t){let r=e.ownerDocument||e,n=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let t=a.get(r);if(t)return e[i]=t;this.sheet=new n.CSSStyleSheet,a.set(r,this)}else this.styleTag=r.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let r=this.sheet,n=0,i=0;for(let t=0;t<e.length;t++){let s=e[t],o=this.modules.indexOf(s);if(o<i&&o>-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),r)for(let e=0;e<s.rules.length;e++)r.insertRule(s.rules[e],n++)}else{for(;i<o;)n+=this.modules[i++].rules.length;n+=s.rules.length,i++}}if(r)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let r=t.head||t;this.styleTag.parentNode!=r&&r.insertBefore(this.styleTag,r.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},57148:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(96652),i=r(49657);function s(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=[]),n.Children.toArray(e).reduce((function(e,o,a){return(0,i.isFragment)(o)?e.push.apply(e,s(o.props.children,t+1,r.concat(o.key||a))):(0,n.isValidElement)(o)?e.push((0,n.cloneElement)(o,{key:r.concat(String(o.key)).join(".")})):"string"!=typeof o&&"number"!=typeof o||e.push(o),e}),[])}},57282:function(e){e.exports=function(e,t){var r=t||Math.random,n=(e=Math.max(1,0|Math.floor(e)||1),0),i=-1,s=function(){var e,t=n,i=r(),u=0;if(n<=o){for(t++,e=++a/t;e>i;)u++,t++,e=e*++a/t;return u}return(s=h)()},o=22*e,a=0,u=Math.exp(-Math.log(r())/e),l=null,c=[];c.pushSome=function(){this.length=Math.min(this.length,e);for(var t=0;t<arguments.length;t++)p.call(this,arguments[t]);return this.length};var p=function(t){return n<e?this.push(t):(i<0&&(i=s()),0===i&&function(t,n){var i;null!==l?(i=l,l=null):i=Math.floor(r()*e),n.splice(i,1),n.push(t)}(t,this),i--),n++,this};function h(){for(var t,i,s,o=n-e+1;;){var a=r(),l=n*(u-1),c=Math.floor(l),p=(n+1)/o;p*=p;var h=o+c,d=Math.exp(Math.log(a*p*h/(n+l))/e),f=(n+l)/h*o/n;if(d<=f){u=f/d;break}var m=a*(n+1)/o*(n+c+1)/(n+l);for(e<c?(t=n,s=o+c):(t=n-e+c,s=n+1),i=n+c;i>=s;i--)m=m*i/t,t--;if(u=Math.exp(-Math.log(r())/e),Math.exp(Math.log(m)/e)<=(n+l)/n)break}return c}return c}},57931:(e,t)=>{const r=Function.prototype.call.bind(Object.prototype.hasOwnProperty),n=Symbol("wrapper"),i=Symbol("impl"),s=Symbol("SameObject caches"),o=Symbol.for("[webidl2js] constructor registry"),a=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function u(e){if(r(e,o))return e[o];const t=Object.create(null);t["%Object.prototype%"]=e.Object.prototype,t["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new e.Array)[Symbol.iterator]()));try{t["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(e.eval("(async function* () {})").prototype))}catch{t["%AsyncIteratorPrototype%"]=a}return e[o]=t,t}function l(e){return e?e[n]:null}function c(e){return e?e[i]:null}const p=Symbol("internal"),h=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,d=Symbol("supports property index"),f=Symbol("supported property indices"),m=Symbol("supports property name"),g=Symbol("supported property names"),y=Symbol("indexed property get"),b=Symbol("indexed property set new"),v=Symbol("indexed property set existing"),D=Symbol("named property get"),E=Symbol("named property set new"),x=Symbol("named property set existing"),w=Symbol("named property delete"),S=Symbol("async iterator get the next iteration result"),C=Symbol("async iterator return steps"),A=Symbol("async iterator initialization steps"),T=Symbol("async iterator end of iteration");e.exports={isObject:function(e){return"object"==typeof e&&null!==e||"function"==typeof e},hasOwn:r,define:function(e,t){for(const r of Reflect.ownKeys(t)){const n=Reflect.getOwnPropertyDescriptor(t,r);if(n&&!Reflect.defineProperty(e,r,n))throw new TypeError(`Cannot redefine property: ${String(r)}`)}},newObjectInRealm:function(e,t){const r=u(e);return Object.defineProperties(Object.create(r["%Object.prototype%"]),Object.getOwnPropertyDescriptors(t))},wrapperSymbol:n,implSymbol:i,getSameObject:function(e,t,r){return e[s]||(e[s]=Object.create(null)),t in e[s]||(e[s][t]=r()),e[s][t]},ctorRegistrySymbol:o,initCtorRegistry:u,wrapperForImpl:l,implForWrapper:c,tryWrapperForImpl:function(e){return l(e)||e},tryImplForWrapper:function(e){return c(e)||e},iterInternalSymbol:p,isArrayBuffer:function(e){try{return h.call(e),!0}catch(e){return!1}},isArrayIndexPropName:function(e){if("string"!=typeof e)return!1;const t=e>>>0;return t!==2**32-1&&e===`${t}`},supportsPropertyIndex:d,supportedPropertyIndices:f,supportsPropertyName:m,supportedPropertyNames:g,indexedGet:y,indexedSetNew:b,indexedSetExisting:v,namedGet:D,namedSetNew:E,namedSetExisting:x,namedDelete:w,asyncIteratorNext:S,asyncIteratorReturn:C,asyncIteratorInit:A,asyncIteratorEOI:T,iteratorResult:function([e,t],r){let n;switch(r){case"key":n=e;break;case"value":n=t;break;case"key+value":n=[e,t]}return{value:n,done:!1}}}},58073:(e,t,r)=>{var n=r(52753),i=r(63713),s=Array.prototype.slice,o={strict:"joinStrict",first:"joinLeading",last:"joinTrailing",all:"joinConcat"};function a(e){e.listenablesEmitted=new Array(e.numberOfListenables),e.args=new Array(e.numberOfListenables)}function u(e,t){return function(){var r=s.call(arguments);if(t.listenablesEmitted[e])switch(t.strategy){case"strict":throw new Error("Strict join failed because listener triggered twice.");case"last":t.args[e]=r;break;case"all":t.args[e].push(r)}else t.listenablesEmitted[e]=!0,t.args[e]="all"===t.strategy?[r]:r;!function(e){for(var t=0;t<e.numberOfListenables;t++)if(!e.listenablesEmitted[t])return;e.callback.apply(e.listener,e.args),a(e)}(t)}}t.T=function(e){return function(){var t=s.call(arguments);return n({init:function(){this[o[e]].apply(this,t.concat("triggerAsync"))}})}},t.Y=function(e){return function(){i.throwIf(arguments.length<2,"Cannot create a join with less than 2 listenables!");var t,r,n=s.call(arguments),o=n.pop(),l=n.length,c={numberOfListenables:l,callback:this[o]||o,listener:this,strategy:e},p=[];for(t=0;t<l;t++)i.throwIf(this.validateListening(n[t]));for(t=0;t<l;t++)p.push(n[t].listen(u(t,c),this));return a(c),(r={listenable:n}).stop=function(e,t,r){return function(){var n,s=r.subscriptions,o=s?s.indexOf(e):-1;for(i.throwIf(-1===o,"Tried to remove join already gone from subscriptions list!"),n=0;n<t.length;n++)t[n]();s.splice(o,1)}}(r,p,this),this.subscriptions=(this.subscriptions||[]).concat(r),r}}},58407:(e,t,r)=>{var n=r(25003),i=r(38049),s=r(79696).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function c(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,u=0|this._e,p=0;p<16;++p)r[p]=e.readInt32BE(4*p);for(;p<80;++p)r[p]=r[p-3]^r[p-8]^r[p-14]^r[p-16];for(var h=0;h<80;++h){var d=~~(h/20),f=0|((t=n)<<5|t>>>27)+c(d,i,s,a)+u+r[h]+o[d];u=a,a=s,s=l(i),i=n,n=f}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},58695:(e,t,r)=>{e.exports=r(39628)},59417:(e,t,r)=>{const n=r(10659),i=r(57931),s=r(14896),o=i.newObjectInRealm,a=i.implSymbol,u=i.ctorRegistrySymbol,l="URLSearchParams";function c(e,t){let r;return void 0!==t&&(r=t.prototype),i.isObject(r)||(r=e[u].URLSearchParams.prototype),Object.create(r)}t.is=e=>i.isObject(e)&&i.hasOwn(e,a)&&e[a]instanceof h.implementation,t.isImpl=e=>i.isObject(e)&&e instanceof h.implementation,t.convert=(e,r,{context:n="The provided value"}={})=>{if(t.is(r))return i.implForWrapper(r);throw new e.TypeError(`${n} is not of type 'URLSearchParams'.`)},t.createDefaultIterator=(e,t,r)=>{const n=e[u]["URLSearchParams Iterator"],s=Object.create(n);return Object.defineProperty(s,i.iterInternalSymbol,{value:{target:t,kind:r,index:0},configurable:!0}),s},t.create=(e,r,n)=>{const i=c(e);return t.setup(i,e,r,n)},t.createImpl=(e,r,n)=>{const s=t.create(e,r,n);return i.implForWrapper(s)},t._internalSetup=(e,t)=>{},t.setup=(e,r,n=[],s={})=>(s.wrapper=e,t._internalSetup(e,r),Object.defineProperty(e,a,{value:new h.implementation(r,n,s),configurable:!0}),e[a][i.wrapperSymbol]=e,h.init&&h.init(e[a]),e),t.new=(e,r)=>{const n=c(e,r);return t._internalSetup(n,e),Object.defineProperty(n,a,{value:Object.create(h.implementation.prototype),configurable:!0}),n[a][i.wrapperSymbol]=n,h.init&&h.init(n[a]),n[a]};const p=new Set(["Window","Worker"]);t.install=(e,r)=>{if(!r.some((e=>p.has(e))))return;const u=i.initCtorRegistry(e);class c{constructor(){const r=[];{let t=arguments[0];if(void 0!==t)if(i.isObject(t))if(void 0!==t[Symbol.iterator]){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");{const r=[],s=t;for(let t of s){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");{const r=[],i=t;for(let t of i)t=n.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element",globals:e}),r.push(t);t=r}r.push(t)}t=r}}else{if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");{const r=Object.create(null);for(const i of Reflect.ownKeys(t)){const s=Object.getOwnPropertyDescriptor(t,i);if(s&&s.enumerable){let s=i;s=n.USVString(s,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key",globals:e});let o=t[i];o=n.USVString(o,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value",globals:e}),r[s]=o}}t=r}}else t=n.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1",globals:e});else t="";r.push(t)}return t.setup(Object.create(new.target.prototype),e,r)}append(r,s){const o=null!=this?this:e;if(!t.is(o))throw new e.TypeError("'append' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError(`Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const u=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1",globals:e}),u.push(t)}{let t=arguments[1];t=n.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2",globals:e}),u.push(t)}return i.tryWrapperForImpl(o[a].append(...u))}delete(r){const s=null!=this?this:e;if(!t.is(s))throw new e.TypeError("'delete' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const o=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 2",globals:e})),o.push(t)}return i.tryWrapperForImpl(s[a].delete(...o))}get(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'get' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const s=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1",globals:e}),s.push(t)}return i[a].get(...s)}getAll(r){const s=null!=this?this:e;if(!t.is(s))throw new e.TypeError("'getAll' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const o=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}return i.tryWrapperForImpl(s[a].getAll(...o))}has(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'has' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const s=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1",globals:e}),s.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 2",globals:e})),s.push(t)}return i[a].has(...s)}set(r,s){const o=null!=this?this:e;if(!t.is(o))throw new e.TypeError("'set' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError(`Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const u=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1",globals:e}),u.push(t)}{let t=arguments[1];t=n.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2",globals:e}),u.push(t)}return i.tryWrapperForImpl(o[a].set(...u))}sort(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'sort' called on an object that is not a valid instance of URLSearchParams.");return i.tryWrapperForImpl(r[a].sort())}toString(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'toString' called on an object that is not a valid instance of URLSearchParams.");return r[a].toString()}keys(){if(!t.is(this))throw new e.TypeError("'keys' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key")}values(){if(!t.is(this))throw new e.TypeError("'values' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"value")}entries(){if(!t.is(this))throw new e.TypeError("'entries' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key+value")}forEach(r){if(!t.is(this))throw new e.TypeError("'forEach' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");r=s.convert(e,r,{context:"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1"});const n=arguments[1];let o=Array.from(this[a]),u=0;for(;u<o.length;){const[e,t]=o[u].map(i.tryWrapperForImpl);r.call(n,t,e,this),o=Array.from(this[a]),u++}}get size(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get size' called on an object that is not a valid instance of URLSearchParams.");return r[a].size}}Object.defineProperties(c.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},getAll:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},sort:{enumerable:!0},toString:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},size:{enumerable:!0},[Symbol.toStringTag]:{value:"URLSearchParams",configurable:!0},[Symbol.iterator]:{value:c.prototype.entries,configurable:!0,writable:!0}}),u[l]=c,u["URLSearchParams Iterator"]=Object.create(u["%IteratorPrototype%"],{[Symbol.toStringTag]:{configurable:!0,value:"URLSearchParams Iterator"}}),i.define(u["URLSearchParams Iterator"],{next(){const t=this&&this[i.iterInternalSymbol];if(!t)throw new e.TypeError("next() called on a value that is not a URLSearchParams iterator object");const{target:r,kind:n,index:s}=t,u=Array.from(r[a]);if(s>=u.length)return o(e,{value:void 0,done:!0});const l=u[s];return t.index=s+1,o(e,i.iteratorResult(l.map(i.tryWrapperForImpl),n))}}),Object.defineProperty(e,l,{configurable:!0,writable:!0,value:c})};const h=r(55520)},59827:(e,t,r)=>{const n=r(66089),i=r(92248);e.exports=(e,t,r)=>{let s=null,o=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==o.compare(e)||(s=e,o=new n(s,r)))})),s}},60494:(e,t,r)=>{const n=r(28783),i=r(29161),s=r(59417);t.implementation=class{constructor(e,t){const r=t[0],i=t[1];let o=null;if(void 0!==i&&(o=n.basicURLParse(i),null===o))throw new TypeError(`Invalid base URL: ${i}`);const a=n.basicURLParse(r,{baseURL:o});if(null===a)throw new TypeError(`Invalid URL: ${r}`);const u=null!==a.query?a.query:"";this._url=a,this._query=s.createImpl(e,[u],{doNotStripQMark:!0}),this._query._url=this}static canParse(e,t){let r=null;return(void 0===t||(r=n.basicURLParse(t),null!==r))&&null!==n.basicURLParse(e,{baseURL:r})}get href(){return n.serializeURL(this._url)}set href(e){const t=n.basicURLParse(e);if(null===t)throw new TypeError(`Invalid URL: ${e}`);this._url=t,this._query._list.splice(0);const{query:r}=t;null!==r&&(this._query._list=i.parseUrlencodedString(r))}get origin(){return n.serializeURLOrigin(this._url)}get protocol(){return`${this._url.scheme}:`}set protocol(e){n.basicURLParse(`${e}:`,{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?n.serializeHost(e.host):`${n.serializeHost(e.host)}:${n.serializeInteger(e.port)}`}set host(e){n.hasAnOpaquePath(this._url)||n.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":n.serializeHost(this._url.host)}set hostname(e){n.hasAnOpaquePath(this._url)||n.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":n.serializeInteger(this._url.port)}set port(e){n.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:n.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return n.serializePath(this._url)}set pathname(e){n.hasAnOpaquePath(this._url)||(this._url.path=[],n.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":`?${this._url.query}`}set search(e){const t=this._url;if(""===e)return t.query=null,this._query._list=[],void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const r="?"===e[0]?e.substring(1):e;t.query="",n.basicURLParse(r,{url:t,stateOverride:"query"}),this._query._list=i.parseUrlencodedString(r)}get searchParams(){return this._query}get hash(){return null===this._url.fragment||""===this._url.fragment?"":`#${this._url.fragment}`}set hash(e){if(""===e)return this._url.fragment=null,void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const t="#"===e[0]?e.substring(1):e;this._url.fragment="",n.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}_potentiallyStripTrailingSpacesFromAnOpaquePath(){n.hasAnOpaquePath(this._url)&&null===this._url.fragment&&null===this._url.query&&(this._url.path=this._url.path.replace(/\u0020+$/u,""))}}},60558:(e,t,r)=>{const n=r(98999),i=r(67787),{isReadable:s,isWritable:o,isIterable:a,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:p,isReadableStream:h,isWritableStream:d}=r(97967),f=r(42882),{AbortError:m,codes:{ERR_INVALID_ARG_TYPE:g,ERR_INVALID_RETURN_VALUE:y}}=r(26503),{destroyer:b}=r(28476),v=r(758),D=r(11444),E=r(12244),{createDeferredPromise:x}=r(46108),w=r(79112),S=globalThis.Blob||i.Blob,C=void 0!==S?function(e){return e instanceof S}:function(e){return!1},A=globalThis.AbortController||r(64279).AbortController,{FunctionPrototypeCall:T}=r(12450);class P extends v{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function F(e){const t=e.readable&&"function"!=typeof e.readable.read?D.wrap(e.readable):e.readable,r=e.writable;let n,i,a,u,l,c=!!s(t),p=!!o(r);function h(e){const t=u;u=null,t?t(e):e&&l.destroy(e)}return l=new P({readableObjectMode:!(null==t||!t.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:p}),p&&(f(r,(e=>{p=!1,e&&b(t,e),h(e)})),l._write=function(e,t,i){r.write(e,t)?i():n=i},l._final=function(e){r.end(),i=e},r.on("drain",(function(){if(n){const e=n;n=null,e()}})),r.on("finish",(function(){if(i){const e=i;i=null,e()}}))),c&&(f(t,(e=>{c=!1,e&&b(t,e),h(e)})),t.on("readable",(function(){if(a){const e=a;a=null,e()}})),t.on("end",(function(){l.push(null)})),l._read=function(){for(;;){const e=t.read();if(null===e)return void(a=l._read);if(!l.push(e))return}}),l._destroy=function(e,s){e||null===u||(e=new m),a=null,n=null,i=null,null===u?s(e):(u=s,b(r,e),b(t,e))},l}e.exports=function e(t,r){if(p(t))return t;if(l(t))return F({readable:t});if(c(t))return F({writable:t});if(u(t))return F({writable:!1,readable:!1});if(h(t))return F({readable:D.fromWeb(t)});if(d(t))return F({writable:E.fromWeb(t)});if("function"==typeof t){const{value:e,write:i,final:s,destroy:o}=function(e){let{promise:t,resolve:r}=x();const i=new A,s=i.signal;return{value:e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:o,cb:a}=await e;if(n.nextTick(a),o)return;if(s.aborted)throw new m(void 0,{cause:s.reason});({promise:t,resolve:r}=x()),yield i}}(),{signal:s}),write(e,t,n){const i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(a(e))return w(P,e,{objectMode:!0,write:i,final:s,destroy:o});const u=null==e?void 0:e.then;if("function"==typeof u){let t;const r=T(u,e,(e=>{if(null!=e)throw new y("nully","body",e)}),(e=>{b(t,e)}));return t=new P({objectMode:!0,readable:!1,write:i,final(e){s((async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}}))},destroy:o})}throw new y("Iterable, AsyncIterable or AsyncFunction",r,e)}if(C(t))return e(t.arrayBuffer());if(a(t))return w(P,t,{objectMode:!0,writable:!1});if(h(null==t?void 0:t.readable)&&d(null==t?void 0:t.writable))return P.fromWeb(t);if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable))return F({readable:null!=t&&t.readable?l(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0});const i=null==t?void 0:t.then;if("function"==typeof i){let e;return T(i,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{b(e,t)})),e=new P({objectMode:!0,writable:!1,read(){}})}throw new g(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}},61255:e=>{e.exports={}},61603:(e,t,r)=>{r.r(t),r.d(t,{focusable:()=>v,isFocusable:()=>x,isTabbable:()=>D,tabbable:()=>b});var n=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],i=n.join(","),s="undefined"==typeof Element,o=s?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!s&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},u=function(e,t,r){var n=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&o.call(e,i)&&n.unshift(e),n.filter(r)},l=function e(t,r,n){for(var s=[],a=Array.from(t);a.length;){var u=a.shift();if("SLOT"===u.tagName){var l=u.assignedElements(),c=e(l.length?l:u.children,!0,n);n.flatten?s.push.apply(s,c):s.push({scope:u,candidates:c})}else{o.call(u,i)&&n.filter(u)&&(r||!t.includes(u))&&s.push(u);var p=u.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(u),h=!n.shadowRootFilter||n.shadowRootFilter(u);if(p&&h){var d=e(!0===p?u.children:p.children,!0,n);n.flatten?s.push.apply(s,d):s.push({scope:u,candidates:d})}else a.unshift.apply(a,u.children)}}return s},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},d=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},f=function(e,t){return!(t.disabled||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=o.call(e,"details>summary:first-of-type")?e.parentElement:e;if(o.call(i,"details:not([open]) *"))return!0;var s=a(e).host,u=(null==s?void 0:s.ownerDocument.contains(s))||e.ownerDocument.contains(e);if(r&&"full"!==r){if("non-zero-area"===r)return d(e)}else{if("function"==typeof n){for(var l=e;e;){var c=e.parentElement,p=a(e);if(c&&!c.shadowRoot&&!0===n(c))return d(e);e=e.assignedSlot?e.assignedSlot:c||p===e.ownerDocument?c:p.host}e=l}if(u)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!o.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||a(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!i||i===e}(e)}(t)||c(t)<0||!f(e,t))},g=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},y=function e(t){var r=[],n=[];return t.forEach((function(t,i){var s=!!t.scope,o=s?t.scope:t,a=c(o,s),u=s?e(t.candidates):o;0===a?s?r.push.apply(r,u):r.push(o):n.push({documentOrder:i,tabIndex:a,item:t,isScope:s,content:u})})),n.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},b=function(e,t){var r;return r=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:g}):u(e,t.includeContainer,m.bind(null,t)),y(r)},v=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:f.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,f.bind(null,t))},D=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==o.call(e,i)&&m(t,e)},E=n.concat("iframe").join(","),x=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==o.call(e,E)&&f(t,e)}},62189:(e,t,r)=>{r.d(t,{IO:()=>p,LU:()=>u,MS:()=>n,Sv:()=>c,XZ:()=>a,YK:()=>o,j:()=>s,vd:()=>i,yE:()=>l});var n="-ms-",i="-moz-",s="-webkit-",o="comm",a="rule",u="decl",l="@import",c="@keyframes",p="@layer"},62537:e=>{var t=Array.isArray,r=Object.keys,n=Object.prototype.hasOwnProperty;e.exports=function e(i,s){if(i===s)return!0;if(i&&s&&"object"==typeof i&&"object"==typeof s){var o,a,u,l=t(i),c=t(s);if(l&&c){if((a=i.length)!=s.length)return!1;for(o=a;0!=o--;)if(!e(i[o],s[o]))return!1;return!0}if(l!=c)return!1;var p=i instanceof Date,h=s instanceof Date;if(p!=h)return!1;if(p&&h)return i.getTime()==s.getTime();var d=i instanceof RegExp,f=s instanceof RegExp;if(d!=f)return!1;if(d&&f)return i.toString()==s.toString();var m=r(i);if((a=m.length)!==r(s).length)return!1;for(o=a;0!=o--;)if(!n.call(s,m[o]))return!1;for(o=a;0!=o--;)if(!e(i[u=m[o]],s[u]))return!1;return!0}return i!=i&&s!=s}},62591:(e,t,r)=>{function n(e,t){return"function"==typeof e?e(t):e}function i(e,t){return r=>{t.setState((t=>({...t,[e]:n(r,t[e])})))}}function s(e){return e instanceof Function}function o(e,t,r){let n,i=[];return s=>{let o;r.key&&r.debug&&(o=Date.now());const a=e(s);if(a.length===i.length&&!a.some(((e,t)=>i[t]!==e)))return n;let u;if(i=a,r.key&&r.debug&&(u=Date.now()),n=t(...a),null==r||null==r.onChange||r.onChange(n),r.key&&r.debug&&null!=r&&r.debug()){const e=Math.round(100*(Date.now()-o))/100,t=Math.round(100*(Date.now()-u))/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return n}}function a(e,t,r,n){return{debug:()=>{var r;return null!=(r=null==e?void 0:e.debugAll)?r:e[t]},key:!1,onChange:n}}r.d(t,{D0:()=>X,HT:()=>K,ZR:()=>G,h5:()=>Q,hM:()=>Y,kW:()=>Z});const u="debugHeaders";function l(e,t,r){var n;let i={id:null!=(n=r.id)?n:t.id,column:t,index:r.index,isPlaceholder:!!r.isPlaceholder,placeholderId:r.placeholderId,depth:r.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=r=>{r.subHeaders&&r.subHeaders.length&&r.subHeaders.map(t),e.push(r)};return t(i),e},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(i,e)})),i}const c={createTable:e=>{e.getHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,r,n,i)=>{var s,o;const a=null!=(s=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?s:[],u=null!=(o=null==i?void 0:i.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?o:[];return p(t,[...a,...r.filter((e=>!(null!=n&&n.includes(e.id)||null!=i&&i.includes(e.id)))),...u],e)}),a(e.options,u)),e.getCenterHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,r,n,i)=>p(t,r=r.filter((e=>!(null!=n&&n.includes(e.id)||null!=i&&i.includes(e.id)))),e,"center")),a(e.options,u)),e.getLeftHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,r,n)=>{var i;return p(t,null!=(i=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"left")}),a(e.options,u)),e.getRightHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,r,n)=>{var i;return p(t,null!=(i=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"right")}),a(e.options,u)),e.getFooterGroups=o((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getLeftFooterGroups=o((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getCenterFooterGroups=o((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getRightFooterGroups=o((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),a(e.options,u)),e.getFlatHeaders=o((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getLeftFlatHeaders=o((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getCenterFlatHeaders=o((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getRightFlatHeaders=o((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,u)),e.getCenterLeafHeaders=o((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,u)),e.getLeftLeafHeaders=o((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,u)),e.getRightLeafHeaders=o((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,u)),e.getLeafHeaders=o((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,r)=>{var n,i,s,o,a,u;return[...null!=(n=null==(i=e[0])?void 0:i.headers)?n:[],...null!=(s=null==(o=t[0])?void 0:o.headers)?s:[],...null!=(a=null==(u=r[0])?void 0:u.headers)?a:[]].map((e=>e.getLeafHeaders())).flat()}),a(e.options,u))}};function p(e,t,r,n){var i,s;let o=0;const a=function(e,t){void 0===t&&(t=1),o=Math.max(o,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var r;null!=(r=e.columns)&&r.length&&a(e.columns,t+1)}),0)};a(e);let u=[];const c=(e,t)=>{const i={depth:t,id:[n,`${t}`].filter(Boolean).join("_"),headers:[]},s=[];e.forEach((e=>{const o=[...s].reverse()[0];let a,u=!1;if(e.column.depth===i.depth&&e.column.parent?a=e.column.parent:(a=e.column,u=!0),o&&(null==o?void 0:o.column)===a)o.subHeaders.push(e);else{const i=l(r,a,{id:[n,t,a.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:u,placeholderId:u?`${s.filter((e=>e.column===a)).length}`:void 0,depth:t,index:s.length});i.subHeaders.push(e),s.push(i)}i.headers.push(e),e.headerGroup=i})),u.push(i),t>0&&c(s,t-1)},p=t.map(((e,t)=>l(r,e,{depth:o,index:t})));c(p,o-1),u.reverse();const h=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,r=0,n=[0];return e.subHeaders&&e.subHeaders.length?(n=[],h(e.subHeaders).forEach((e=>{let{colSpan:r,rowSpan:i}=e;t+=r,n.push(i)}))):t=1,r+=Math.min(...n),e.colSpan=t,e.rowSpan=r,{colSpan:t,rowSpan:r}}));return h(null!=(i=null==(s=u[0])?void 0:s.headers)?i:[]),u}const h=(e,t,r,n,i,s,u)=>{let l={id:t,index:n,original:r,depth:i,parentId:u,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t];const r=e.getColumn(t);return null!=r&&r.accessorFn?(l._valuesCache[t]=r.accessorFn(l.original,n),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const r=e.getColumn(t);return null!=r&&r.accessorFn?r.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=r.columnDef.getUniqueValues(l.original,n),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var r;return null!=(r=l.getValue(t))?r:e.options.renderFallbackValue},subRows:null!=s?s:[],getLeafRows:()=>function(e,t){const r=[],n=e=>{e.forEach((e=>{r.push(e);const i=t(e);null!=i&&i.length&&n(i)}))};return n(e),r}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const r=t.getParentRow();if(!r)break;e.push(r),t=r}return e.reverse()},getAllCells:o((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,r,n){const i={id:`${t.id}_${r.id}`,row:t,column:r,getValue:()=>t.getValue(n),renderValue:()=>{var t;return null!=(t=i.getValue())?t:e.options.renderFallbackValue},getContext:o((()=>[e,r,t,i]),((e,t,r,n)=>({table:e,column:t,row:r,cell:n,getValue:n.getValue,renderValue:n.renderValue})),a(e.options,"debugCells"))};return e._features.forEach((n=>{null==n.createCell||n.createCell(i,r,t,e)}),{}),i}(e,l,t,t.id)))),a(e.options,"debugRows")),_getAllCellsByColumnId:o((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),a(e.options,"debugRows"))};for(let t=0;t<e._features.length;t++){const r=e._features[t];null==r||null==r.createRow||r.createRow(l,e)}return l},d={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},f=(e,t,r)=>{var n,i;const s=null==r||null==(n=r.toString())?void 0:n.toLowerCase();return Boolean(null==(i=e.getValue(t))||null==(i=i.toString())||null==(i=i.toLowerCase())?void 0:i.includes(s))};f.autoRemove=e=>S(e);const m=(e,t,r)=>{var n;return Boolean(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.includes(r))};m.autoRemove=e=>S(e);const g=(e,t,r)=>{var n;return(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.toLowerCase())===(null==r?void 0:r.toLowerCase())};g.autoRemove=e=>S(e);const y=(e,t,r)=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)};y.autoRemove=e=>S(e);const b=(e,t,r)=>!r.some((r=>{var n;return!(null!=(n=e.getValue(t))&&n.includes(r))}));b.autoRemove=e=>S(e)||!(null!=e&&e.length);const v=(e,t,r)=>r.some((r=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)}));v.autoRemove=e=>S(e)||!(null!=e&&e.length);const D=(e,t,r)=>e.getValue(t)===r;D.autoRemove=e=>S(e);const E=(e,t,r)=>e.getValue(t)==r;E.autoRemove=e=>S(e);const x=(e,t,r)=>{let[n,i]=r;const s=e.getValue(t);return s>=n&&s<=i};x.resolveFilterValue=e=>{let[t,r]=e,n="number"!=typeof t?parseFloat(t):t,i="number"!=typeof r?parseFloat(r):r,s=null===t||Number.isNaN(n)?-1/0:n,o=null===r||Number.isNaN(i)?1/0:i;if(s>o){const e=s;s=o,o=e}return[s,o]},x.autoRemove=e=>S(e)||S(e[0])&&S(e[1]);const w={includesString:f,includesStringSensitive:m,equalsString:g,arrIncludes:y,arrIncludesAll:b,arrIncludesSome:v,equals:D,weakEquals:E,inNumberRange:x};function S(e){return null==e||""===e}const C={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:i("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"string"==typeof n?w.includesString:"number"==typeof n?w.inNumberRange:"boolean"==typeof n||null!==n&&"object"==typeof n?w.equals:Array.isArray(n)?w.arrIncludes:w.weakEquals},e.getFilterFn=()=>{var r,n;return s(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(r=null==(n=t.options.filterFns)?void 0:n[e.columnDef.filterFn])?r:w[e.columnDef.filterFn]},e.getCanFilter=()=>{var r,n,i;return(null==(r=e.columnDef.enableColumnFilter)||r)&&(null==(n=t.options.enableColumnFilters)||n)&&(null==(i=t.options.enableFilters)||i)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var r;return null==(r=t.getState().columnFilters)||null==(r=r.find((t=>t.id===e.id)))?void 0:r.value},e.getFilterIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().columnFilters)?void 0:n.findIndex((t=>t.id===e.id)))?r:-1},e.setFilterValue=r=>{t.setColumnFilters((t=>{const i=e.getFilterFn(),s=null==t?void 0:t.find((t=>t.id===e.id)),o=n(r,s?s.value:void 0);var a;if(A(i,o,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const u={id:e.id,value:o};var l;return s?null!=(l=null==t?void 0:t.map((t=>t.id===e.id?u:t)))?l:[]:null!=t&&t.length?[...t,u]:[u]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const r=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var i;return null==(i=n(t,e))?void 0:i.filter((e=>{const t=r.find((t=>t.id===e.id));return!t||!A(t.getFilterFn(),e.value,t)}))}))},e.resetColumnFilters=t=>{var r,n;e.setColumnFilters(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.columnFilters)?r:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function A(e,t,r){return!(!e||!e.autoRemove)&&e.autoRemove(t,r)||void 0===t||"string"==typeof t&&!t}const T={sum:(e,t,r)=>r.reduce(((t,r)=>{const n=r.getValue(e);return t+("number"==typeof n?n:0)}),0),min:(e,t,r)=>{let n;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(n>r||void 0===n&&r>=r)&&(n=r)})),n},max:(e,t,r)=>{let n;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(n<r||void 0===n&&r>=r)&&(n=r)})),n},extent:(e,t,r)=>{let n,i;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(void 0===n?r>=r&&(n=i=r):(n>r&&(n=r),i<r&&(i=r)))})),[n,i]},mean:(e,t)=>{let r=0,n=0;if(t.forEach((t=>{let i=t.getValue(e);null!=i&&(i=+i)>=i&&(++r,n+=i)})),r)return n/r},median:(e,t)=>{if(!t.length)return;const r=t.map((t=>t.getValue(e)));if(n=r,!Array.isArray(n)||!n.every((e=>"number"==typeof e)))return;var n;if(1===r.length)return r[0];const i=Math.floor(r.length/2),s=r.sort(((e,t)=>e-t));return r.length%2!=0?s[i]:(s[i-1]+s[i])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},P={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,r;return null!=(t=null==(r=e.getValue())||null==r.toString?void 0:r.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:i("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var r,n;return(null==(r=e.columnDef.enableGrouping)||r)&&(null==(n=t.options.enableGrouping)||n)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.includes(e.id)},e.getGroupedIndex=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"number"==typeof n?T.sum:"[object Date]"===Object.prototype.toString.call(n)?T.extent:void 0},e.getAggregationFn=()=>{var r,n;if(!e)throw new Error;return s(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(r=null==(n=t.options.aggregationFns)?void 0:n[e.columnDef.aggregationFn])?r:T[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var r,n;e.setGrouping(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.grouping)?r:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=r=>{if(e._groupingValuesCache.hasOwnProperty(r))return e._groupingValuesCache[r];const n=t.getColumn(r);return null!=n&&n.columnDef.getGroupingValue?(e._groupingValuesCache[r]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[r]):e.getValue(r)},e._groupingValuesCache={}},createCell:(e,t,r,n)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===r.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=r.subRows)||!t.length)}}},F={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:i("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=o((e=>[M(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),a(t.options,"debugColumns")),e.getIsFirstColumn=r=>{var n;return(null==(n=M(t,r)[0])?void 0:n.id)===e.id},e.getIsLastColumn=r=>{var n;const i=M(t,r);return(null==(n=i[i.length-1])?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var r;e.setColumnOrder(t?[]:null!=(r=e.initialState.columnOrder)?r:[])},e._getOrderColumnsFn=o((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,r)=>n=>{let i=[];if(null!=e&&e.length){const t=[...e],r=[...n];for(;r.length&&t.length;){const e=t.shift(),n=r.findIndex((t=>t.id===e));n>-1&&i.push(r.splice(n,1)[0])}i=[...i,...r]}else i=n;return function(e,t,r){if(null==t||!t.length||!r)return e;const n=e.filter((e=>!t.includes(e.id)));return"remove"===r?n:[...t.map((t=>e.find((e=>e.id===t)))).filter(Boolean),...n]}(i,t,r)}),a(e.options,"debugTable"))}},I={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:i("columnPinning",e)}),createColumn:(e,t)=>{e.pin=r=>{const n=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,i,s,o,a,u;return"right"===r?{left:(null!=(s=null==e?void 0:e.left)?s:[]).filter((e=>!(null!=n&&n.includes(e)))),right:[...(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=n&&n.includes(e)))),...n]}:"left"===r?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=n&&n.includes(e)))),...n],right:(null!=(u=null==e?void 0:e.right)?u:[]).filter((e=>!(null!=n&&n.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=n&&n.includes(e)))),right:(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=n&&n.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var r,n,i;return(null==(r=e.columnDef.enablePinning)||r)&&(null==(n=null!=(i=t.options.enableColumnPinning)?i:t.options.enablePinning)||n)})),e.getIsPinned=()=>{const r=e.getLeafColumns().map((e=>e.id)),{left:n,right:i}=t.getState().columnPinning,s=r.some((e=>null==n?void 0:n.includes(e))),o=r.some((e=>null==i?void 0:i.includes(e)));return s?"left":!!o&&"right"},e.getPinnedIndex=()=>{var r,n;const i=e.getIsPinned();return i?null!=(r=null==(n=t.getState().columnPinning)||null==(n=n[i])?void 0:n.indexOf(e.id))?r:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,r)=>{const n=[...null!=t?t:[],...null!=r?r:[]];return e.filter((e=>!n.includes(e.column.id)))}),a(t.options,"debugRows")),e.getLeftVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),a(t.options,"debugRows")),e.getRightVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),a(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var r,n;return e.setColumnPinning(t?{left:[],right:[]}:null!=(r=null==(n=e.initialState)?void 0:n.columnPinning)?r:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var r;const n=e.getState().columnPinning;var i,s;return t?Boolean(null==(r=n[t])?void 0:r.length):Boolean((null==(i=n.left)?void 0:i.length)||(null==(s=n.right)?void 0:s.length))},e.getLeftLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),a(e.options,"debugColumns")),e.getRightLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),a(e.options,"debugColumns")),e.getCenterLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,r)=>{const n=[...null!=t?t:[],...null!=r?r:[]];return e.filter((e=>!n.includes(e.id)))}),a(e.options,"debugColumns"))}},N={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},k={getDefaultColumnDef:()=>N,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:i("columnSizing",e),onColumnSizingInfoChange:i("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var r,n,i;const s=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(r=e.columnDef.minSize)?r:N.minSize,null!=(n=null!=s?s:e.columnDef.size)?n:N.size),null!=(i=e.columnDef.maxSize)?i:N.maxSize)},e.getStart=o((e=>[e,M(t,e),t.getState().columnSizing]),((t,r)=>r.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),a(t.options,"debugColumns")),e.getAfter=o((e=>[e,M(t,e),t.getState().columnSizing]),((t,r)=>r.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),a(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:r,...n}=t;return n}))},e.getCanResize=()=>{var r,n;return(null==(r=e.columnDef.enableResizing)||r)&&(null==(n=t.options.enableColumnResizing)||n)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const r=e=>{var n;e.subHeaders.length?e.subHeaders.forEach(r):t+=null!=(n=e.column.getSize())?n:0};return r(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=r=>{const n=t.getColumn(e.column.id),i=null==n?void 0:n.getCanResize();return s=>{if(!n||!i)return;if(null==s.persist||s.persist(),O(s)&&s.touches&&s.touches.length>1)return;const o=e.getSize(),a=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[n.id,n.getSize()]],u=O(s)?Math.round(s.touches[0].clientX):s.clientX,l={},c=(e,r)=>{"number"==typeof r&&(t.setColumnSizingInfo((e=>{var n,i;const s="rtl"===t.options.columnResizeDirection?-1:1,o=(r-(null!=(n=null==e?void 0:e.startOffset)?n:0))*s,a=Math.max(o/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,r]=e;l[t]=Math.round(100*Math.max(r+r*a,0))/100})),{...e,deltaOffset:o,deltaPercentage:a}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...l}))))},p=e=>c("move",e),h=e=>{c("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},d=r||("undefined"!=typeof document?document:null),f={moveHandler:e=>p(e.clientX),upHandler:e=>{null==d||d.removeEventListener("mousemove",f.moveHandler),null==d||d.removeEventListener("mouseup",f.upHandler),h(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(e.touches[0].clientX),!1),upHandler:e=>{var t;null==d||d.removeEventListener("touchmove",m.moveHandler),null==d||d.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},g=!!function(){if("boolean"==typeof _)return _;let e=!1;try{const t={get passive(){return e=!0,!1}},r=()=>{};window.addEventListener("test",r,t),window.removeEventListener("test",r)}catch(t){e=!1}return _=e,_}()&&{passive:!1};O(s)?(null==d||d.addEventListener("touchmove",m.moveHandler,g),null==d||d.addEventListener("touchend",m.upHandler,g)):(null==d||d.addEventListener("mousemove",f.moveHandler,g),null==d||d.addEventListener("mouseup",f.upHandler,g)),t.setColumnSizingInfo((e=>({...e,startOffset:u,startSize:o,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,isResizingColumn:n.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var r;e.setColumnSizing(t?{}:null!=(r=e.initialState.columnSizing)?r:{})},e.resetHeaderSizeInfo=t=>{var r;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(r=e.initialState.columnSizingInfo)?r:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getLeftHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getCenterHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getRightHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let _=null;function O(e){return"touchstart"===e.type}function M(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const L={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:i("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var r;return e.setRowSelection(t?{}:null!=(r=e.initialState.rowSelection)?r:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((r=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const n={...r},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach((e=>{e.getCanSelect()&&(n[e.id]=!0)})):i.forEach((e=>{delete n[e.id]})),n}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((r=>{const n=void 0!==t?t:!e.getIsAllPageRowsSelected(),i={...r};return e.getRowModel().rows.forEach((t=>{B(i,t.id,n,!0,e)})),i})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=o((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getFilteredSelectedRowModel=o((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getGroupedSelectedRowModel=o((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:r}=e.getState();let n=Boolean(t.length&&Object.keys(r).length);return n&&t.some((e=>e.getCanSelect()&&!r[e.id]))&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:r}=e.getState();let n=!!t.length;return n&&t.some((e=>!r[e.id]))&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var t;const r=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return r>0&&r<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(r,n)=>{const i=e.getIsSelected();t.setRowSelection((s=>{var o;if(r=void 0!==r?r:!i,e.getCanSelect()&&i===r)return s;const a={...s};return B(a,e.id,r,null==(o=null==n?void 0:n.selectChildren)||o,t),a}))},e.getIsSelected=()=>{const{rowSelection:r}=t.getState();return j(e,r)},e.getIsSomeSelected=()=>{const{rowSelection:r}=t.getState();return"some"===$(e,r)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:r}=t.getState();return"all"===$(e,r)},e.getCanSelect=()=>{var r;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(r=t.options.enableRowSelection)||r},e.getCanSelectSubRows=()=>{var r;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(r=t.options.enableSubRowSelection)||r},e.getCanMultiSelect=()=>{var r;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(r=t.options.enableMultiRowSelection)||r},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return r=>{var n;t&&e.toggleSelected(null==(n=r.target)?void 0:n.checked)}}}},B=(e,t,r,n,i)=>{var s;const o=i.getRow(t,!0);r?(o.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),o.getCanSelect()&&(e[t]=!0)):delete e[t],n&&null!=(s=o.subRows)&&s.length&&o.getCanSelectSubRows()&&o.subRows.forEach((t=>B(e,t.id,r,n,i)))};function R(e,t){const r=e.getState().rowSelection,n=[],i={},s=function(e,t){return e.map((e=>{var t;const o=j(e,r);if(o&&(n.push(e),i[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:s(e.subRows)}),o)return e})).filter(Boolean)};return{rows:s(t.rows),flatRows:n,rowsById:i}}function j(e,t){var r;return null!=(r=t[e.id])&&r}function $(e,t,r){var n;if(null==(n=e.subRows)||!n.length)return!1;let i=!0,s=!1;return e.subRows.forEach((e=>{if((!s||i)&&(e.getCanSelect()&&(j(e,t)?s=!0:i=!1),e.subRows&&e.subRows.length)){const r=$(e,t);"all"===r?s=!0:"some"===r?(s=!0,i=!1):i=!1}})),i?"all":!!s&&"some"}const U=/([0-9]+)/gm;function z(e,t){return e===t?0:e>t?1:-1}function V(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function W(e,t){const r=e.split(U).filter(Boolean),n=t.split(U).filter(Boolean);for(;r.length&&n.length;){const e=r.shift(),t=n.shift(),i=parseInt(e,10),s=parseInt(t,10),o=[i,s].sort();if(isNaN(o[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(o[1]))return isNaN(i)?-1:1;if(i>s)return 1;if(s>i)return-1}}return r.length-n.length}const H={alphanumeric:(e,t,r)=>W(V(e.getValue(r)).toLowerCase(),V(t.getValue(r)).toLowerCase()),alphanumericCaseSensitive:(e,t,r)=>W(V(e.getValue(r)),V(t.getValue(r))),text:(e,t,r)=>z(V(e.getValue(r)).toLowerCase(),V(t.getValue(r)).toLowerCase()),textCaseSensitive:(e,t,r)=>z(V(e.getValue(r)),V(t.getValue(r))),datetime:(e,t,r)=>{const n=e.getValue(r),i=t.getValue(r);return n>i?1:n<i?-1:0},basic:(e,t,r)=>z(e.getValue(r),t.getValue(r))},q=[c,{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:i("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=r=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=r?r:!e.getIsVisible()})))},e.getIsVisible=()=>{var r,n;const i=e.columns;return null==(r=i.length?i.some((e=>e.getIsVisible())):null==(n=t.getState().columnVisibility)?void 0:n[e.id])||r},e.getCanHide=()=>{var r,n;return(null==(r=e.columnDef.enableHiding)||r)&&(null==(n=t.options.enableHiding)||n)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=o((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),a(t.options,"debugRows")),e.getVisibleCells=o((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,r)=>[...e,...t,...r]),a(t.options,"debugRows"))},createTable:e=>{const t=(t,r)=>o((()=>[r(),r().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),a(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t(0,(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t(0,(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t(0,(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t(0,(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var r;e.setColumnVisibility(t?{}:null!=(r=e.initialState.columnVisibility)?r:{})},e.toggleAllColumnsVisible=t=>{var r;t=null!=(r=t)?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,r)=>({...e,[r.id]:t||!(null!=r.getCanHide&&r.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var r;e.toggleAllColumnsVisible(null==(r=t.target)?void 0:r.checked)}}},F,I,d,C,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:i("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var r;const n=null==(r=e.getCoreRowModel().flatRows[0])||null==(r=r._getAllCellsByColumnId()[t.id])?void 0:r.getValue();return"string"==typeof n||"number"==typeof n}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var r,n,i,s;return(null==(r=e.columnDef.enableGlobalFilter)||r)&&(null==(n=t.options.enableGlobalFilter)||n)&&(null==(i=t.options.enableFilters)||i)&&(null==(s=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||s)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>w.includesString,e.getGlobalFilterFn=()=>{var t,r;const{globalFilterFn:n}=e.options;return s(n)?n:"auto"===n?e.getGlobalAutoFilterFn():null!=(t=null==(r=e.options.filterFns)?void 0:r[n])?t:w[n]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:i("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const r=t.getFilteredRowModel().flatRows.slice(10);let n=!1;for(const t of r){const r=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(r))return H.datetime;if("string"==typeof r&&(n=!0,r.split(U).length>1))return H.alphanumeric}return n?H.text:H.basic},e.getAutoSortDir=()=>{const r=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==r?void 0:r.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var r,n;if(!e)throw new Error;return s(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(r=null==(n=t.options.sortingFns)?void 0:n[e.columnDef.sortingFn])?r:H[e.columnDef.sortingFn]},e.toggleSorting=(r,n)=>{const i=e.getNextSortingOrder(),s=null!=r;t.setSorting((o=>{const a=null==o?void 0:o.find((t=>t.id===e.id)),u=null==o?void 0:o.findIndex((t=>t.id===e.id));let l,c=[],p=s?r:"desc"===i;var h;return l=null!=o&&o.length&&e.getCanMultiSort()&&n?a?"toggle":"add":null!=o&&o.length&&u!==o.length-1?"replace":a?"toggle":"replace","toggle"===l&&(s||i||(l="remove")),"add"===l?(c=[...o,{id:e.id,desc:p}],c.splice(0,c.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):c="toggle"===l?o.map((t=>t.id===e.id?{...t,desc:p}:t)):"remove"===l?o.filter((t=>t.id!==e.id)):[{id:e.id,desc:p}],c}))},e.getFirstSortDir=()=>{var r,n;return(null!=(r=null!=(n=e.columnDef.sortDescFirst)?n:t.options.sortDescFirst)?r:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=r=>{var n,i;const s=e.getFirstSortDir(),o=e.getIsSorted();return o?!!(o===s||null!=(n=t.options.enableSortingRemoval)&&!n||r&&null!=(i=t.options.enableMultiRemove)&&!i)&&("desc"===o?"asc":"desc"):s},e.getCanSort=()=>{var r,n;return(null==(r=e.columnDef.enableSorting)||r)&&(null==(n=t.options.enableSorting)||n)&&!!e.accessorFn},e.getCanMultiSort=()=>{var r,n;return null!=(r=null!=(n=e.columnDef.enableMultiSort)?n:t.options.enableMultiSort)?r:!!e.accessorFn},e.getIsSorted=()=>{var r;const n=null==(r=t.getState().sorting)?void 0:r.find((t=>t.id===e.id));return!!n&&(n.desc?"desc":"asc")},e.getSortIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().sorting)?void 0:n.findIndex((t=>t.id===e.id)))?r:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const r=e.getCanSort();return n=>{r&&(null==n.persist||n.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(n))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var r,n;e.setSorting(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.sorting)?r:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},P,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:i("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,r=!1;e._autoResetExpanded=()=>{var n,i;if(t){if(null!=(n=null!=(i=e.options.autoResetAll)?i:e.options.autoResetExpanded)?n:!e.options.manualExpanding){if(r)return;r=!0,e._queue((()=>{e.resetExpanded(),r=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var r,n;e.setExpanded(t?{}:null!=(r=null==(n=e.initialState)?void 0:n.expanded)?r:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const r=e.split(".");t=Math.max(t,r.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=r=>{t.setExpanded((n=>{var i;const s=!0===n||!(null==n||!n[e.id]);let o={};if(!0===n?Object.keys(t.getRowModel().rowsById).forEach((e=>{o[e]=!0})):o=n,r=null!=(i=r)?i:!s,!s&&r)return{...o,[e.id]:!0};if(s&&!r){const{[e.id]:t,...r}=o;return r}return n}))},e.getIsExpanded=()=>{var r;const n=t.getState().expanded;return!!(null!=(r=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?r:!0===n||(null==n?void 0:n[e.id]))},e.getCanExpand=()=>{var r,n,i;return null!=(r=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?r:(null==(n=t.options.enableExpanding)||n)&&!(null==(i=e.subRows)||!i.length)},e.getIsAllParentsExpanded=()=>{let r=!0,n=e;for(;r&&n.parentId;)n=t.getRow(n.parentId,!0),r=n.getIsExpanded();return r},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:i("pagination",e)}),createTable:e=>{let t=!1,r=!1;e._autoResetPageIndex=()=>{var n,i;if(t){if(null!=(n=null!=(i=e.options.autoResetAll)?i:e.options.autoResetPageIndex)?n:!e.options.manualPagination){if(r)return;r=!0,e._queue((()=>{e.resetPageIndex(),r=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>n(t,e))),e.resetPagination=t=>{var r;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(r=e.initialState.pagination)?r:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((r=>{let i=n(t,r.pageIndex);const s=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,s)),{...r,pageIndex:i}}))},e.resetPageIndex=t=>{var r,n;e.setPageIndex(t?0:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageIndex)?r:0)},e.resetPageSize=t=>{var r,n;e.setPageSize(t?10:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageSize)?r:10)},e.setPageSize=t=>{e.setPagination((e=>{const r=Math.max(1,n(t,e.pageSize)),i=e.pageSize*e.pageIndex,s=Math.floor(i/r);return{...e,pageIndex:s,pageSize:r}}))},e.setPageCount=t=>e.setPagination((r=>{var i;let s=n(t,null!=(i=e.options.pageCount)?i:-1);return"number"==typeof s&&(s=Math.max(-1,s)),{...r,pageCount:s}})),e.getPageOptions=o((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),a(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,r=e.getPageCount();return-1===r||0!==r&&t<r-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:i("rowPinning",e)}),createRow:(e,t)=>{e.pin=(r,n,i)=>{const s=n?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],o=i?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],a=new Set([...o,e.id,...s]);t.setRowPinning((e=>{var t,n,i,s,o,u;return"bottom"===r?{top:(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:[...(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)]}:"top"===r?{top:[...(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)],bottom:(null!=(u=null==e?void 0:e.bottom)?u:[]).filter((e=>!(null!=a&&a.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:(null!=(n=null==e?void 0:e.bottom)?n:[]).filter((e=>!(null!=a&&a.has(e))))}}))},e.getCanPin=()=>{var r;const{enableRowPinning:n,enablePinning:i}=t.options;return"function"==typeof n?n(e):null==(r=null!=n?n:i)||r},e.getIsPinned=()=>{const r=[e.id],{top:n,bottom:i}=t.getState().rowPinning,s=r.some((e=>null==n?void 0:n.includes(e))),o=r.some((e=>null==i?void 0:i.includes(e)));return s?"top":!!o&&"bottom"},e.getPinnedIndex=()=>{var r,n;const i=e.getIsPinned();if(!i)return-1;const s=null==(r="top"===i?t.getTopRows():t.getBottomRows())?void 0:r.map((e=>{let{id:t}=e;return t}));return null!=(n=null==s?void 0:s.indexOf(e.id))?n:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var r,n;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(r=null==(n=e.initialState)?void 0:n.rowPinning)?r:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var r;const n=e.getState().rowPinning;var i,s;return t?Boolean(null==(r=n[t])?void 0:r.length):Boolean((null==(i=n.top)?void 0:i.length)||(null==(s=n.bottom)?void 0:s.length))},e._getPinnedRows=(t,r,n)=>{var i;return(null==(i=e.options.keepPinnedRows)||i?(null!=r?r:[]).map((t=>{const r=e.getRow(t,!0);return r.getIsAllParentsExpanded()?r:null})):(null!=r?r:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:n})))},e.getTopRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((t,r)=>e._getPinnedRows(t,r,"top")),a(e.options,"debugRows")),e.getBottomRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((t,r)=>e._getPinnedRows(t,r,"bottom")),a(e.options,"debugRows")),e.getCenterRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,r)=>{const n=new Set([...null!=t?t:[],...null!=r?r:[]]);return e.filter((e=>!n.has(e.id)))}),a(e.options,"debugRows"))}},L,k];function G(e){var t,r;const i=[...q,...null!=(t=e._features)?t:[]];let s={_features:i};const u=s._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(s))),{});let l={...null!=(r=e.initialState)?r:{}};s._features.forEach((e=>{var t;l=null!=(t=null==e.getInitialState?void 0:e.getInitialState(l))?t:l}));const c=[];let p=!1;const h={_features:i,options:{...u,...e},initialState:l,_queue:e=>{c.push(e),p||(p=!0,Promise.resolve().then((()=>{for(;c.length;)c.shift()();p=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{s.setState(s.initialState)},setOptions:e=>{const t=n(e,s.options);s.options=(e=>s.options.mergeOptions?s.options.mergeOptions(u,e):{...u,...e})(t)},getState:()=>s.options.state,setState:e=>{null==s.options.onStateChange||s.options.onStateChange(e)},_getRowId:(e,t,r)=>{var n;return null!=(n=null==s.options.getRowId?void 0:s.options.getRowId(e,t,r))?n:`${r?[r.id,t].join("."):t}`},getCoreRowModel:()=>(s._getCoreRowModel||(s._getCoreRowModel=s.options.getCoreRowModel(s)),s._getCoreRowModel()),getRowModel:()=>s.getPaginationRowModel(),getRow:(e,t)=>{let r=(t?s.getPrePaginationRowModel():s.getRowModel()).rowsById[e];if(!r&&(r=s.getCoreRowModel().rowsById[e],!r))throw new Error;return r},_getDefaultColumnDef:o((()=>[s.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,r;return null!=(t=null==(r=e.renderValue())||null==r.toString?void 0:r.toString())?t:null},...s._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),a(e,"debugColumns")),_getColumnDefs:()=>s.options.columns,getAllColumns:o((()=>[s._getColumnDefs()]),(e=>{const t=function(e,r,n){return void 0===n&&(n=0),e.map((e=>{const i=function(e,t,r,n){var i,s;const u={...e._getDefaultColumnDef(),...t},l=u.accessorKey;let c,p=null!=(i=null!=(s=u.id)?s:l?"function"==typeof String.prototype.replaceAll?l.replaceAll(".","_"):l.replace(/\./g,"_"):void 0)?i:"string"==typeof u.header?u.header:void 0;if(u.accessorFn?c=u.accessorFn:l&&(c=l.includes(".")?e=>{let t=e;for(const e of l.split(".")){var r;t=null==(r=t)?void 0:r[e]}return t}:e=>e[u.accessorKey]),!p)throw new Error;let h={id:`${String(p)}`,accessorFn:c,parent:n,depth:r,columnDef:u,columns:[],getFlatColumns:o((()=>[!0]),(()=>{var e;return[h,...null==(e=h.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),a(e.options,"debugColumns")),getLeafColumns:o((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=h.columns)&&t.length){let t=h.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[h]}),a(e.options,"debugColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(h,e);return h}(s,e,n,r),u=e;return i.columns=u.columns?t(u.columns,i,n+1):[],i}))};return t(e)}),a(e,"debugColumns")),getAllFlatColumns:o((()=>[s.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),a(e,"debugColumns")),_getAllFlatColumnsById:o((()=>[s.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),a(e,"debugColumns")),getAllLeafColumns:o((()=>[s.getAllColumns(),s._getOrderColumnsFn()]),((e,t)=>t(e.flatMap((e=>e.getLeafColumns())))),a(e,"debugColumns")),getColumn:e=>s._getAllFlatColumnsById()[e]};Object.assign(s,h);for(let e=0;e<s._features.length;e++){const t=s._features[e];null==t||null==t.createTable||t.createTable(s)}return s}function K(){return e=>o((()=>[e.options.data]),(t=>{const r={rows:[],flatRows:[],rowsById:{}},n=function(t,i,s){void 0===i&&(i=0);const o=[];for(let u=0;u<t.length;u++){const l=h(e,e._getRowId(t[u],u,s),t[u],u,i,void 0,null==s?void 0:s.id);var a;r.flatRows.push(l),r.rowsById[l.id]=l,o.push(l),e.options.getSubRows&&(l.originalSubRows=e.options.getSubRows(t[u],u),null!=(a=l.originalSubRows)&&a.length&&(l.subRows=n(l.originalSubRows,i+1,l)))}return o};return r.rows=n(t),r}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}function X(){return e=>o((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,r)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:r?J(t):t),a(e.options,"debugTable"))}function J(e){const t=[],r=e=>{var n;t.push(e),null!=(n=e.subRows)&&n.length&&e.getIsExpanded()&&e.subRows.forEach(r)};return e.rows.forEach(r),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Y(){return e=>o((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,r,n)=>{if(!t.rows.length||(null==r||!r.length)&&!n){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const i=[],s=[];(null!=r?r:[]).forEach((t=>{var r;const n=e.getColumn(t.id);if(!n)return;const s=n.getFilterFn();s&&i.push({id:t.id,filterFn:s,resolvedValue:null!=(r=null==s.resolveFilterValue?void 0:s.resolveFilterValue(t.value))?r:t.value})}));const o=(null!=r?r:[]).map((e=>e.id)),a=e.getGlobalFilterFn(),u=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let l,c;n&&a&&u.length&&(o.push("__global__"),u.forEach((e=>{var t;s.push({id:e.id,filterFn:a,resolvedValue:null!=(t=null==a.resolveFilterValue?void 0:a.resolveFilterValue(n))?t:n})})));for(let e=0;e<t.flatRows.length;e++){const r=t.flatRows[e];if(r.columnFilters={},i.length)for(let e=0;e<i.length;e++){l=i[e];const t=l.id;r.columnFilters[t]=l.filterFn(r,t,l.resolvedValue,(e=>{r.columnFiltersMeta[t]=e}))}if(s.length){for(let e=0;e<s.length;e++){c=s[e];const t=c.id;if(c.filterFn(r,t,c.resolvedValue,(e=>{r.columnFiltersMeta[t]=e}))){r.columnFilters.__global__=!0;break}}!0!==r.columnFilters.__global__&&(r.columnFilters.__global__=!1)}}return function(e,t,r){return r.options.filterFromLeafRows?function(e,t,r){var n;const i=[],s={},o=null!=(n=r.options.maxLeafRowFilterDepth)?n:100,a=function(e,n){void 0===n&&(n=0);const u=[];for(let c=0;c<e.length;c++){var l;let p=e[c];const d=h(r,p.id,p.original,p.index,p.depth,void 0,p.parentId);if(d.columnFilters=p.columnFilters,null!=(l=p.subRows)&&l.length&&n<o){if(d.subRows=a(p.subRows,n+1),p=d,t(p)&&!d.subRows.length){u.push(p),s[p.id]=p,i.push(p);continue}if(t(p)||d.subRows.length){u.push(p),s[p.id]=p,i.push(p);continue}}else p=d,t(p)&&(u.push(p),s[p.id]=p,i.push(p))}return u};return{rows:a(e),flatRows:i,rowsById:s}}(e,t,r):function(e,t,r){var n;const i=[],s={},o=null!=(n=r.options.maxLeafRowFilterDepth)?n:100,a=function(e,n){void 0===n&&(n=0);const u=[];for(let c=0;c<e.length;c++){let p=e[c];if(t(p)){var l;if(null!=(l=p.subRows)&&l.length&&n<o){const e=h(r,p.id,p.original,p.index,p.depth,void 0,p.parentId);e.subRows=a(p.subRows,n+1),p=e}u.push(p),i.push(p),s[p.id]=p}}return u};return{rows:a(e),flatRows:i,rowsById:s}}(e,t,r)}(t.rows,(e=>{for(let t=0;t<o.length;t++)if(!1===e.columnFilters[o[t]])return!1;return!0}),e)}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}function Z(e){return e=>o((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,r)=>{if(!r.rows.length)return r;const{pageSize:n,pageIndex:i}=t;let{rows:s,flatRows:o,rowsById:a}=r;const u=n*i,l=u+n;let c;s=s.slice(u,l),c=e.options.paginateExpandedRows?{rows:s,flatRows:o,rowsById:a}:J({rows:s,flatRows:o,rowsById:a}),c.flatRows=[];const p=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(p)};return c.rows.forEach(p),c}),a(e.options,"debugTable"))}function Q(){return e=>o((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,r)=>{if(!r.rows.length||null==t||!t.length)return r;const n=e.getState().sorting,i=[],s=n.filter((t=>{var r;return null==(r=e.getColumn(t.id))?void 0:r.getCanSort()})),o={};s.forEach((t=>{const r=e.getColumn(t.id);r&&(o[t.id]={sortUndefined:r.columnDef.sortUndefined,invertSorting:r.columnDef.invertSorting,sortingFn:r.getSortingFn()})}));const a=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let n=0;n<s.length;n+=1){var r;const i=s[n],a=o[i.id],u=a.sortUndefined,l=null!=(r=null==i?void 0:i.desc)&&r;let c=0;if(u){const r=void 0===e.getValue(i.id),n=void 0===t.getValue(i.id);if(r||n){if("first"===u)return r?-1:1;if("last"===u)return r?1:-1;c=r&&n?0:r?u:-u}}if(0===c&&(c=a.sortingFn(e,t,i.id)),0!==c)return l&&(c*=-1),a.invertSorting&&(c*=-1),c}return e.index-t.index})),t.forEach((e=>{var t;i.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t};return{rows:a(r.rows),flatRows:i,rowsById:r.rowsById}}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}},62655:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(t,e,r)},62670:(e,t,r)=>{var n=r(75722),i=r(79696).Buffer;e.exports=function(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},62955:(e,t,r)=>{var n=r(43596);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,s,o){if(o!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return r.PropTypes=r,r}},63574:(e,t,r)=>{var n=r(67787).Buffer,i=r(25003),s=r(33820),o=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],p=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}function m(e,t,r,n,i,s,o,a){return f(e+(t^r^n)+s+o|0,a)+i|0}function g(e,t,r,n,i,s,o,a){return f(e+(t&r|~t&n)+s+o|0,a)+i|0}function y(e,t,r,n,i,s,o,a){return f(e+((t|~r)^n)+s+o|0,a)+i|0}function b(e,t,r,n,i,s,o,a){return f(e+(t&n|r&~n)+s+o|0,a)+i|0}function v(e,t,r,n,i,s,o,a){return f(e+(t^(r|~n))+s+o|0,a)+i|0}i(d,s),d.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,s=0|this._d,d=0|this._e,D=0|this._a,E=0|this._b,x=0|this._c,w=0|this._d,S=0|this._e,C=0;C<80;C+=1){var A,T;C<16?(A=m(r,n,i,s,d,e[a[C]],p[0],l[C]),T=v(D,E,x,w,S,e[u[C]],h[0],c[C])):C<32?(A=g(r,n,i,s,d,e[a[C]],p[1],l[C]),T=b(D,E,x,w,S,e[u[C]],h[1],c[C])):C<48?(A=y(r,n,i,s,d,e[a[C]],p[2],l[C]),T=y(D,E,x,w,S,e[u[C]],h[2],c[C])):C<64?(A=b(r,n,i,s,d,e[a[C]],p[3],l[C]),T=g(D,E,x,w,S,e[u[C]],h[3],c[C])):(A=v(r,n,i,s,d,e[a[C]],p[4],l[C]),T=m(D,E,x,w,S,e[u[C]],h[4],c[C])),r=d,d=s,s=f(i,10),i=n,n=A,D=S,S=w,w=f(x,10),x=E,E=T}var P=this._b+i+w|0;this._b=this._c+s+S|0,this._c=this._d+d+D|0,this._d=this._e+r+E|0,this._e=this._a+n+x|0,this._a=P},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=d},63713:(e,t,r)=>{function n(e){var t=typeof e;return"function"===t||"object"===t&&!!e}Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.callbackName=function(e,r){return(r=r||"on")+t.capitalize(e)},t.isObject=n,t.extend=function(e){if(!n(e))return e;for(var t,r,i=1,s=arguments.length;i<s;i++)for(r in t=arguments[i])if(Object.getOwnPropertyDescriptor&&Object.defineProperty){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}else e[r]=t[r];return e},t.isFunction=function(e){return"function"==typeof e},t.object=function(e,t){for(var r={},n=0;n<e.length;n++)r[e[n]]=t[n];return r},t.isArguments=function(e){return"object"==typeof e&&"callee"in e&&"number"==typeof e.length},t.throwIf=function(e,t){if(e)throw Error(t||e)},t.EventEmitter=r(50515),t.nextTick=function(e){setTimeout(e,0)}},63793:(e,t,r)=>{var n=r(49453),i=r(79696).Buffer;function s(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,o=i.alloc(0),a=0;o.length<t;)r=s(a++),o=i.concat([o,n("sha1").update(e).update(r).digest()]);return o.slice(0,t)}},63977:(e,t,r)=>{var n=r(63602);function i(e,t){var r,i=null;if(!e||"string"!=typeof e)return i;for(var s,o,a=n(e),u="function"==typeof t,l=0,c=a.length;l<c;l++)s=(r=a[l]).property,o=r.value,u?t(s,o,r):o&&(i||(i={}),i[s]=o);return i}e.exports=i,e.exports.default=i},64518:(e,t,r)=>{r.d(t,{c:()=>C});var n,i=r(96652),s=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return s(t,e),t.prototype.render=function(){return i.createElement("div",{className:this.props.className||"",style:o(o({position:"absolute",userSelect:"none"},a[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(i.PureComponent),l=r(61632),c=r.n(l),p=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),h=function(){return h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},h.apply(this,arguments)},d={width:"auto",height:"auto"},f=c()((function(e,t,r){return Math.max(Math.min(e,r),t)})),m=c()((function(e,t){return Math.round(e/t)*t})),g=c()((function(e,t){return new RegExp(e,"i").test(t)})),y=function(e){return Boolean(e.touches&&e.touches.length)},b=c()((function(e,t,r){void 0===r&&(r=0);var n=t.reduce((function(r,n,i){return Math.abs(n-e)<Math.abs(t[r]-e)?i:r}),0),i=Math.abs(t[n]-e);return 0===r||i<r?t[n]:e})),v=c()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),D=c()((function(e){return"auto"===(e=e.toString())||v(e,"px")||v(e,"%")||v(e,"vh")||v(e,"vw")||v(e,"vmax")||v(e,"vmin")?e:e+"px"})),E=function(e,t,r,n){if(e&&"string"==typeof e){if(v(e,"px"))return Number(e.replace("px",""));if(v(e,"%"))return t*(Number(e.replace("%",""))/100);if(v(e,"vw"))return r*(Number(e.replace("vw",""))/100);if(v(e,"vh"))return n*(Number(e.replace("vh",""))/100)}return e},x=c()((function(e,t,r,n,i,s,o){return n=E(n,e.width,t,r),i=E(i,e.height,t,r),s=E(s,e.width,t,r),o=E(o,e.height,t,r),{maxWidth:void 0===n?void 0:Number(n),maxHeight:void 0===i?void 0:Number(i),minWidth:void 0===s?void 0:Number(s),minHeight:void 0===o?void 0:Number(o)}})),w=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],S="__resizable_base__",C=function(e){function t(t){var r=e.call(this,t)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var e=r.parentNode;if(!e)return null;var t=r.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add(S):t.className+=S,e.appendChild(t),t},r.removeBase=function(e){var t=r.parentNode;t&&t.removeChild(e)},r.ref=function(e){e&&(r.resizable=e)},r.state={isResizing:!1,width:void 0===(r.propsSize&&r.propsSize.width)?"auto":r.propsSize&&r.propsSize.width,height:void 0===(r.propsSize&&r.propsSize.height)?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return p(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||d},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var r=this.resizable.offsetWidth,n=this.resizable.offsetHeight,i=this.resizable.style.position;"relative"!==i&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:r,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:n,this.resizable.style.position=i}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,r=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&v(e.propsSize[t].toString(),"%")){if(v(e.state[t].toString(),"%"))return e.state[t].toString();var r=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/r[t]*100+"%"}return D(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?D(t.width):r("width"),height:t&&void 0!==t.height&&!this.state.isResizing?D(t.height):r("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,r=this.parentNode.style.flexWrap;"wrap"!==r&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var n={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=r),this.removeBase(e),n},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var r=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==r&&"auto"!==r?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var r,n,i=this.props.boundsByDirection,s=this.state.direction,o=i&&g("left",s),a=i&&g("top",s);if("parent"===this.props.bounds){var u=this.parentNode;u&&(r=o?this.resizableRight-this.parentLeft:u.offsetWidth+(this.parentLeft-this.resizableLeft),n=a?this.resizableBottom-this.parentTop:u.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(r=o?this.resizableRight:this.window.innerWidth-this.resizableLeft,n=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(r=o?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),n=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return r&&Number.isFinite(r)&&(e=e&&e<r?e:r),n&&Number.isFinite(n)&&(t=t&&t<n?t:n),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var r=this.props.scale||1,n=this.props.resizeRatio||1,i=this.state,s=i.direction,o=i.original,a=this.props,u=a.lockAspectRatio,l=a.lockAspectRatioExtraHeight,c=a.lockAspectRatioExtraWidth,p=o.width,h=o.height,d=l||0,f=c||0;return g("right",s)&&(p=o.width+(e-o.x)*n/r,u&&(h=(p-f)/this.ratio+d)),g("left",s)&&(p=o.width-(e-o.x)*n/r,u&&(h=(p-f)/this.ratio+d)),g("bottom",s)&&(h=o.height+(t-o.y)*n/r,u&&(p=(h-d)*this.ratio+f)),g("top",s)&&(h=o.height-(t-o.y)*n/r,u&&(p=(h-d)*this.ratio+f)),{newWidth:p,newHeight:h}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,r,n){var i=this.props,s=i.lockAspectRatio,o=i.lockAspectRatioExtraHeight,a=i.lockAspectRatioExtraWidth,u=void 0===n.width?10:n.width,l=void 0===r.width||r.width<0?e:r.width,c=void 0===n.height?10:n.height,p=void 0===r.height||r.height<0?t:r.height,h=o||0,d=a||0;if(s){var m=(c-h)*this.ratio+d,g=(p-h)*this.ratio+d,y=(u-d)/this.ratio+h,b=(l-d)/this.ratio+h,v=Math.max(u,m),D=Math.min(l,g),E=Math.max(c,y),x=Math.min(p,b);e=f(e,v,D),t=f(t,E,x)}else e=f(e,u,l),t=f(t,c,p);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var r=this.props.bounds.getBoundingClientRect();this.targetLeft=r.left,this.targetTop=r.top}if(this.resizable){var n=this.resizable.getBoundingClientRect(),i=n.left,s=n.top,o=n.right,a=n.bottom;this.resizableLeft=i,this.resizableRight=o,this.resizableTop=s,this.resizableBottom=a}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var r,n=0,i=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)){if(n=e.nativeEvent.clientX,i=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent&&y(e.nativeEvent)&&(n=e.nativeEvent.touches[0].clientX,i=e.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable&&!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var s=this.window.getComputedStyle(this.resizable);if("auto"!==s.flexBasis){var o=this.parentNode;if(o){var a=this.window.getComputedStyle(o).flexDirection;this.flexDir=a.startsWith("row")?"row":"column",r=s.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var u={original:{x:n,y:i,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:h(h({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:r};this.setState(u)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&y(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var t=this.props,r=t.maxWidth,n=t.maxHeight,i=t.minWidth,s=t.minHeight,o=y(e)?e.touches[0].clientX:e.clientX,a=y(e)?e.touches[0].clientY:e.clientY,u=this.state,l=u.direction,c=u.original,p=u.width,h=u.height,d=this.getParentSize(),f=x(d,this.window.innerWidth,this.window.innerHeight,r,n,i,s);r=f.maxWidth,n=f.maxHeight,i=f.minWidth,s=f.minHeight;var g=this.calculateNewSizeFromDirection(o,a),D=g.newHeight,E=g.newWidth,w=this.calculateNewMaxFromBoundary(r,n),S=this.calculateNewSizeFromAspectRatio(E,D,{width:w.maxWidth,height:w.maxHeight},{width:i,height:s});if(E=S.newWidth,D=S.newHeight,this.props.grid){var C=m(E,this.props.grid[0]),A=m(D,this.props.grid[1]),T=this.props.snapGap||0;E=0===T||Math.abs(C-E)<=T?C:E,D=0===T||Math.abs(A-D)<=T?A:D}this.props.snap&&this.props.snap.x&&(E=b(E,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(D=b(D,this.props.snap.y,this.props.snapGap));var P={width:E-c.width,height:D-c.height};p&&"string"==typeof p&&(v(p,"%")?E=E/d.width*100+"%":v(p,"vw")?E=E/this.window.innerWidth*100+"vw":v(p,"vh")&&(E=E/this.window.innerHeight*100+"vh")),h&&"string"==typeof h&&(v(h,"%")?D=D/d.height*100+"%":v(h,"vw")?D=D/this.window.innerWidth*100+"vw":v(h,"vh")&&(D=D/this.window.innerHeight*100+"vh"));var F={width:this.createSizeForCssProperty(E,"width"),height:this.createSizeForCssProperty(D,"height")};"row"===this.flexDir?F.flexBasis=F.width:"column"===this.flexDir&&(F.flexBasis=F.height),this.setState(F),this.props.onResize&&this.props.onResize(e,l,this.resizable,P)}},t.prototype.onMouseUp=function(e){var t=this.state,r=t.isResizing,n=t.direction,i=t.original;if(r&&this.resizable){var s={width:this.size.width-i.width,height:this.size.height-i.height};this.props.onResizeStop&&this.props.onResizeStop(e,n,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:h(h({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,r=t.enable,n=t.handleStyles,s=t.handleClasses,o=t.handleWrapperStyle,a=t.handleWrapperClass,l=t.handleComponent;if(!r)return null;var c=Object.keys(r).map((function(t){return!1!==r[t]?i.createElement(u,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:n&&n[t],className:s&&s[t]},l&&l[t]?l[t]:null):null}));return i.createElement("div",{className:a,style:o},c)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,r){return-1!==w.indexOf(r)||(t[r]=e.props[r]),t}),{}),r=h(h(h({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(r.flexBasis=this.state.flexBasis);var n=this.props.as||"div";return i.createElement(n,h({ref:this.ref,style:r,className:this.props.className},t),this.state.isResizing&&i.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(i.PureComponent)},66089:(e,t,r)=>{const n=r(7341),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=r(76843),{safeRe:o,t:a}=r(42229),u=r(85890),{compareIdentifiers:l}=r(69690);class c{constructor(e,t){if(t=u(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<s)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return l(r,i)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("build compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return l(r,i)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?o[a.PRERELEASELOOSE]:o[a.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},66413:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},66858:function(e,t,r){var n=r(65994).e;!function(e){if(!e.setImmediate){var t,r,i,s,o,a=1,u={},l=!1,c=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?t=function(e){n.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(s="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&d(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){d(e.data)},t=function(e){i.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,t=function(e){var t=c.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(d,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return u[a]=i,t(a),a++},p.clearImmediate=h}function h(e){delete u[e]}function d(e){if(l)setTimeout(d,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(undefined,r)}}(t)}finally{h(e),l=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)},67526:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)>=0},67670:(e,t,r)=>{var n=r(63713),i=r(58073).Y,s=function(e){for(var t,r=0,n={};r<(e.children||[]).length;++r)e[t=e.children[r]]&&(n[t]=e[t]);return n},o=function e(t){var r={};for(var i in t){var o=t[i],a=e(s(o));for(var u in r[i]=o,a){var l=a[u];r[i+n.capitalize(u)]=l}}return r};e.exports={hasListener:function(e){for(var t,r,n,i=0;i<(this.subscriptions||[]).length;++i)for(n=[].concat(this.subscriptions[i].listenable),t=0;t<n.length;t++)if((r=n[t])===e||r.hasListener&&r.hasListener(e))return!0;return!1},listenToMany:function(e){var t=o(e);for(var r in t){var i=n.callbackName(r),s=this[i]?i:this[r]?r:void 0;s&&this.listenTo(t[r],s,this[i+"Default"]||this[s+"Default"]||s)}},validateListening:function(e){return e===this?"Listener is not able to listen to itself":n.isFunction(e.listen)?e.hasListener&&e.hasListener(this)?"Listener cannot listen to this listenable because of circular loop":void 0:e+" is missing a listen method"},listenTo:function(e,t,r){var i,s,o=this.subscriptions=this.subscriptions||[];return n.throwIf(this.validateListening(e)),this.fetchInitialState(e,r),i=e.listen(this[t]||t,this),s={stop:function(){var e=o.indexOf(s);n.throwIf(-1===e,"Tried to remove listen already gone from subscriptions list!"),o.splice(e,1),i()},listenable:e},o.push(s),s},stopListeningTo:function(e){for(var t,r=0,i=this.subscriptions||[];r<i.length;r++)if((t=i[r]).listenable===e)return t.stop(),n.throwIf(-1!==i.indexOf(t),"Failed to remove listen from subscriptions list!"),!0;return!1},stopListeningToAll:function(){for(var e,t=this.subscriptions||[];e=t.length;)t[0].stop(),n.throwIf(t.length!==e-1,"Failed to remove listen from subscriptions list!")},fetchInitialState:function(e,t){t=t&&this[t]||t;var r=this;if(n.isFunction(t)&&n.isFunction(e.getInitialState)){var i=e.getInitialState();i&&n.isFunction(i.then)?i.then((function(){t.apply(r,arguments)})):t.call(this,i)}},joinTrailing:i("last"),joinLeading:i("first"),joinConcat:i("all"),joinStrict:i("strict")}},68434:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)<0},69064:(e,t,r)=>{r.d(t,{Ay:()=>s});var n=r(63706),i=function(e){return void 0===e&&(e=""),e.split(" ").filter(Boolean)};const s=function(e,t,r){null!=e&&r!==t&&(null!=t&&t.length>0&&function(e,t){i(t).forEach((function(t){n.DomUtil.removeClass(e,t)}))}(e,t),null!=r&&r.length>0&&function(e,t){i(t).forEach((function(t){n.DomUtil.addClass(e,t)}))}(e,r))}},69192:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r,i,s)=>{"string"==typeof r&&(s=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,s).version}catch(e){return null}}},69433:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(70161),i=r(60752),s=r(96652),o=r.n(s),a=s.useLayoutEffect,u=function(e,t){"function"!=typeof e?e.current=t:e(t)},l={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},c=function(e){Object.keys(l).forEach((function(t){e.style.setProperty(t,l[t],"important")}))},p=null,h=function(e,t){var r=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?r+t.borderSize:r-t.paddingSize},d=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],m=!!document.documentElement.currentStyle;function g(e,t,r){var n,i,u=(n=r,i=o().useRef(n),a((function(){i.current=n})),i);s.useLayoutEffect((function(){var r=function(e){return u.current(e)};if(e)return e.addEventListener(t,r),function(){return e.removeEventListener(t,r)}}),[])}var y=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],b=function(e,t){var r,a=e.cacheMeasurements,l=e.maxRows,b=e.minRows,v=e.onChange,D=void 0===v?d:v,E=e.onHeightChange,x=void 0===E?d:E,w=(0,i.A)(e,y),S=void 0!==w.value,C=s.useRef(null),A=function(e,t){var r=o().useRef();return o().useCallback((function(n){e.current=n,r.current&&u(r.current,null),r.current=t,t&&u(t,n)}),[t])}(C,t),T=s.useRef(0),P=s.useRef(),F=function(){var e=C.current,t=a&&P.current?P.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var r,n=(r=t,f.reduce((function(e,t){return e[t]=r[t],e}),{})),i=n.boxSizing;return""===i?null:(m&&"border-box"===i&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px"),{sizingStyle:n,paddingSize:parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),borderSize:parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth)})}(e);if(t){P.current=t;var r=function(e,t,r,n){void 0===r&&(r=1),void 0===n&&(n=1/0),p||((p=document.createElement("textarea")).setAttribute("tabindex","-1"),p.setAttribute("aria-hidden","true"),c(p)),null===p.parentNode&&document.body.appendChild(p);var i=e.paddingSize,s=e.borderSize,o=e.sizingStyle,a=o.boxSizing;Object.keys(o).forEach((function(e){var t=e;p.style[t]=o[t]})),c(p),p.value=t;var u=h(p,e);p.value=t,u=h(p,e),p.value="x";var l=p.scrollHeight-i,d=l*r;"border-box"===a&&(d=d+i+s),u=Math.max(d,u);var f=l*n;return"border-box"===a&&(f=f+i+s),[u=Math.min(f,u),l]}(t,e.value||e.placeholder||"x",b,l),n=r[0],i=r[1];T.current!==n&&(T.current=n,e.style.setProperty("height",n+"px","important"),x(n,{rowHeight:i}))}};return s.useLayoutEffect(F),function(e,t){g(document.body,"reset",(function(r){e.current.form===r.target&&t()}))}(C,(function(){if(!S){var e=C.current.value;requestAnimationFrame((function(){var t=C.current;t&&e!==t.value&&F()}))}})),g(window,"resize",F),r=F,g(document.fonts,"loadingdone",r),s.createElement("textarea",(0,n.A)({},w,{onChange:function(e){S||F(),D(e)},ref:A}))},v=s.forwardRef(b)},69657:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).major},69690:e=>{const t=/^[0-9]+$/,r=(e,r)=>{if("number"==typeof e&&"number"==typeof r)return e===r?0:e<r?-1:1;const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},69971:(e,t,r)=>{r.d(t,{M:()=>w});var n=r(4855),i=(r(66218),r(79722)),s=r(96196),o=r(6022),a=r(31500),u=r(63706),l=r.n(u),c=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,a.A)((0,s.A)(r),"leafletElement",void 0),r.leafletElement=r.createLeafletElement(r.props),r}(0,o.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},r.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setPosition(t.position)},r.componentDidMount=function(){this.leafletElement.addTo(this.props.leaflet.map)},r.componentDidUpdate=function(e){this.updateLeafletElement(e,this.props)},r.componentWillUnmount=function(){this.leafletElement.remove()},r.render=function(){return null},t}(r(96652).Component),p=r(41381);function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){v(e,t,r[t])}))}return e}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},m(e,t,r||e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var D={onEdited:"draw:edited",onDrawStart:"draw:drawstart",onDrawStop:"draw:drawstop",onDrawVertex:"draw:drawvertex",onEditStart:"draw:editstart",onEditMove:"draw:editmove",onEditResize:"draw:editresize",onEditVertex:"draw:editvertex",onEditStop:"draw:editstop",onDeleted:"draw:deleted",onDeleteStart:"draw:deletestart",onDeleteStop:"draw:deletestop"},E=function(e){function t(){var e,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return r=function(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?b(e):t}(this,(e=g(t)).call.apply(e,[this].concat(i))),v(b(b(r)),"onDrawCreate",(function(e){var t=r.props.onCreated;r.props.leaflet.layerContainer.addLayer(e.layer),t&&t(e)})),r}var r,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),r=t,(n=[{key:"createLeafletElement",value:function(e){return x(e)}},{key:"componentDidMount",value:function(){m(g(t.prototype),"componentDidMount",this).call(this);var e=this.props.leaflet.map,r=this.props.onMounted;for(var n in D)this.props[n]&&e.on(D[n],this.props[n]);e.on(l().Draw.Event.CREATED,this.onDrawCreate),r&&r(this.leafletElement)}},{key:"componentWillUnmount",value:function(){m(g(t.prototype),"componentWillUnmount",this).call(this);var e=this.props.leaflet.map;for(var r in e.off(l().Draw.Event.CREATED,this.onDrawCreate),D)this.props[r]&&e.off(D[r],this.props[r])}},{key:"componentDidUpdate",value:function(e){if(m(g(t.prototype),"componentDidUpdate",this).call(this,e),(0,i.A)(this.props.draw,e.draw)||this.props.position!==e.position)return!1;var r=this.props.leaflet.map;return this.leafletElement.remove(r),this.leafletElement=x(this.props),this.leafletElement.addTo(r),null}}])&&f(r.prototype,n),t}(c);function x(e){var t=e.leaflet.layerContainer,r=e.draw,n=e.edit,i=e.position,s={edit:h({},n,{featureGroup:t})};return r&&(s.draw=h({},r)),i&&(s.position=i),new u.Control.Draw(s)}v(E,"propTypes",h({},Object.keys(D).reduce((function(e,t){return e[t]=n.PropTypes.func,e}),{}),{onCreated:n.PropTypes.func,onMounted:n.PropTypes.func,draw:n.PropTypes.shape({polyline:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),polygon:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),rectangle:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),circle:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),marker:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool])}),edit:n.PropTypes.shape({edit:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),remove:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),poly:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),allowIntersection:n.PropTypes.bool}),position:n.PropTypes.oneOf(["topright","topleft","bottomright","bottomleft"]),leaflet:n.PropTypes.shape({map:n.PropTypes.instanceOf(u.Map),layerContainer:n.PropTypes.shape({addLayer:n.PropTypes.func.isRequired,removeLayer:n.PropTypes.func.isRequired})})}));const w=(0,p.k0)(E)},70035:(e,t)=>{var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case a:case o:case h:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case p:case m:case f:case u:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=s,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===l},t.isContextProvider=function(e){return y(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return y(e)===p},t.isFragment=function(e){return y(e)===s},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===f},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===a},t.isStrictMode=function(e){return y(e)===o},t.isSuspense=function(e){return y(e)===h},t.isSuspenseList=function(e){return y(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===a||e===o||e===h||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},70508:(e,t,r)=>{r.d(t,{Y1:()=>E,_m:()=>D});var n=r(70161),i=r(96196),s=r(6022),o=r(58716),a=r(96652),u="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function l(e){cancelAnimationFrame(e.id)}var c=-1;function p(e){if(void 0===e&&(e=!1),-1===c||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),c=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return c}var h=null;function d(e){if(void 0===e&&(e=!1),null===h||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?h="positive-descending":(t.scrollLeft=1,h=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),h}return h}var f=function(e,t){return e};function m(e){var t,r=e.getItemOffset,c=e.getEstimatedTotalSize,h=e.getItemSize,m=e.getOffsetForIndexAndAlignment,y=e.getStartIndexForOffset,b=e.getStopIndexForStartIndex,v=e.initInstanceProps,D=e.shouldResetStyleCacheOnItemSizeChange,E=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=v(n.props,(0,i.A)(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:(0,i.A)(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=(0,o.A)((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=(0,o.A)((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,s=i.direction,o=i.itemSize,a=i.layout,u=n._getItemStyleCache(D&&o,D&&a,D&&s);if(u.hasOwnProperty(e))t=u[e];else{var l=r(n.props,e,n._instanceProps),c=h(n.props,e,n._instanceProps),p="horizontal"===s||"horizontal"===a,d="rtl"===s,f=p?l:0;u[e]=t={position:"absolute",left:d?void 0:f,right:d?f:void 0,top:p?0:l,height:p?"100%":c,width:p?c:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=(0,o.A)((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,s=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=n.props.direction,o=i;if("rtl"===t)switch(d()){case"negative":o=-i;break;case"positive-descending":o=s-r-i}return o=Math.max(0,Math.min(o,s-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:o,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,s=t.scrollTop;n.setState((function(e){if(e.scrollOffset===s)return null;var t=Math.max(0,Math.min(s,i-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r,i;null!==n._resetIsScrollingTimeoutId&&l(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=150,r=u(),i={id:requestAnimationFrame((function n(){u()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}(0,s.A)(t,e),t.getDerivedStateFromProps=function(e,t){return g(e,t),E(e),null};var x=t.prototype;return x.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},x.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,i=r.layout,s=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var o=0;if(this._outerRef){var a=this._outerRef;o="vertical"===i?a.scrollWidth>a.clientWidth?p():0:a.scrollHeight>a.clientHeight?p():0}this.scrollTo(m(this.props,e,t,s,this._instanceProps,o))},x.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var i=this._outerRef;"horizontal"===t||"horizontal"===n?i.scrollLeft=r:i.scrollTop=r}this._callPropsCallbacks()},x.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,i=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var s=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(d()){case"negative":s.scrollLeft=-i;break;case"positive-ascending":s.scrollLeft=i;break;default:var o=s.clientWidth,a=s.scrollWidth;s.scrollLeft=a-o-i}else s.scrollLeft=i;else s.scrollTop=i}this._callPropsCallbacks()},x.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&l(this._resetIsScrollingTimeoutId)},x.render=function(){var e=this.props,t=e.children,r=e.className,i=e.direction,s=e.height,o=e.innerRef,u=e.innerElementType,l=e.innerTagName,p=e.itemCount,h=e.itemData,d=e.itemKey,m=void 0===d?f:d,g=e.layout,y=e.outerElementType,b=e.outerTagName,v=e.style,D=e.useIsScrolling,E=e.width,x=this.state.isScrolling,w="horizontal"===i||"horizontal"===g,S=w?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),A=C[0],T=C[1],P=[];if(p>0)for(var F=A;F<=T;F++)P.push((0,a.createElement)(t,{data:h,key:m(F,h),index:F,isScrolling:D?x:void 0,style:this._getItemStyle(F)}));var I=c(this.props,this._instanceProps);return(0,a.createElement)(y||b||"div",{className:r,onScroll:S,ref:this._outerRefSetter,style:(0,n.A)({position:"relative",height:s,width:E,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},v)},(0,a.createElement)(u||l||"div",{children:P,ref:o,style:{height:w?"100%":I,pointerEvents:x?"none":void 0,width:w?I:"100%"}}))},x._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],i=e[3];this._callOnItemsRendered(t,r,n,i)}if("function"==typeof this.props.onScroll){var s=this.state,o=s.scrollDirection,a=s.scrollOffset,u=s.scrollUpdateWasRequested;this._callOnScroll(o,a,u)}},x._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,i=n.isScrolling,s=n.scrollDirection,o=n.scrollOffset;if(0===t)return[0,0,0,0];var a=y(this.props,o,this._instanceProps),u=b(this.props,a,o,this._instanceProps),l=i&&"backward"!==s?1:Math.max(1,r),c=i&&"forward"!==s?1:Math.max(1,r);return[Math.max(0,a-l),Math.max(0,Math.min(t-1,u+c)),a,u]},t}(a.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var g=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},y=function(e,t,r){var n=e.itemSize,i=r.itemMetadataMap,s=r.lastMeasuredIndex;if(t>s){var o=0;if(s>=0){var a=i[s];o=a.offset+a.size}for(var u=s+1;u<=t;u++){var l=n(u);i[u]={offset:o,size:l},o+=l}r.lastMeasuredIndex=t}return i[t]},b=function(e,t,r,n,i){for(;n<=r;){var s=n+Math.floor((r-n)/2),o=y(e,s,t).offset;if(o===i)return s;o<i?n=s+1:o>i&&(r=s-1)}return n>0?n-1:0},v=function(e,t){var r=e.itemCount,n=t.itemMetadataMap,i=t.estimatedItemSize,s=t.lastMeasuredIndex,o=0;if(s>=r&&(s=r-1),s>=0){var a=n[s];o=a.offset+a.size}return o+(r-s-1)*i},D=m({getItemOffset:function(e,t,r){return y(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:v,getOffsetForIndexAndAlignment:function(e,t,r,n,i,s){var o=e.direction,a=e.height,u=e.layout,l=e.width,c="horizontal"===o||"horizontal"===u?l:a,p=y(e,t,i),h=v(e,i),d=Math.max(0,Math.min(h-c,p.offset)),f=Math.max(0,p.offset-c+p.size+s);switch("smart"===r&&(r=n>=f-c&&n<=d+c?"auto":"center"),r){case"start":return d;case"end":return f;case"center":return Math.round(f+(d-f)/2);default:return n>=f&&n<=d?n:n<f?f:d}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var n=t.itemMetadataMap,i=t.lastMeasuredIndex;return(i>0?n[i].offset:0)>=r?b(e,t,i,0,r):function(e,t,r,n){for(var i=e.itemCount,s=1;r<i&&y(e,r,t).offset<n;)r+=s,s*=2;return b(e,t,Math.min(r,i-1),Math.floor(r/2),n)}(e,t,Math.max(0,i),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,n){for(var i=e.direction,s=e.height,o=e.itemCount,a=e.layout,u=e.width,l="horizontal"===i||"horizontal"===a?u:s,c=y(e,t,n),p=r+l,h=c.offset+c.size,d=t;d<o-1&&h<p;)d++,h+=y(e,d,n).size;return d},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),n&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),E=m({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,r,n,i,s){var o=e.direction,a=e.height,u=e.itemCount,l=e.itemSize,c=e.layout,p=e.width,h="horizontal"===o||"horizontal"===c?p:a,d=Math.max(0,u*l-h),f=Math.min(d,t*l),m=Math.max(0,t*l-h+l+s);switch("smart"===r&&(r=n>=m-h&&n<=f+h?"auto":"center"),r){case"start":return f;case"end":return m;case"center":var g=Math.round(m+(f-m)/2);return g<Math.ceil(h/2)?0:g>d+Math.floor(h/2)?d:g;default:return n>=m&&n<=f?n:n<m?m:f}},getStartIndexForOffset:function(e,t){var r=e.itemCount,n=e.itemSize;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getStopIndexForStartIndex:function(e,t,r){var n=e.direction,i=e.height,s=e.itemCount,o=e.itemSize,a=e.layout,u=e.width,l=t*o,c="horizontal"===n||"horizontal"===a?u:i,p=Math.ceil((c+r-l)/o);return Math.max(0,Math.min(s-1,t+p-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}})},71267:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},71524:(e,t,r)=>{var n=r(65994).e;function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=r(79696),o=r(51048),a=s.Buffer,u=s.kMaxLength,l=r.g.crypto||r.g.msCrypto,c=Math.pow(2,32)-1;function p(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function d(e,t,r,i){if(n.browser){var s=e.buffer,a=new Uint8Array(s,t,r);return l.getRandomValues(a),i?void n.nextTick((function(){i(null,e)})):e}if(!i)return o(r).copy(e,t),e;o(r,(function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)}))}l&&l.getRandomValues||!n.browser?(t.randomFill=function(e,t,n,i){if(!(a.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,n=e.length;else if("function"==typeof n)i=n,n=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return p(t,e.length),h(n,t,e.length),d(e,t,n,i)},t.randomFillSync=function(e,t,n){if(void 0===t&&(t=0),!(a.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return p(t,e.length),void 0===n&&(n=e.length-t),h(n,t,e.length),d(e,t,n)}):(t.randomFill=i,t.randomFillSync=i)},71563:(e,t,r)=>{const n=r(92248);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},71607:e=>{e.exports=function(e,t){if("function"!=typeof e)throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let r,n=0;return function(...i){clearTimeout(r);const s=Date.now(),o=t-(s-n);o<=0?(n=s,e.apply(this,i)):r=setTimeout((()=>{n=Date.now(),e.apply(this,i)}),o)}}},72287:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70161),i=r(96196),s=r(6022),o=r(31500),a=r(96652),u=/^on(.+)$/i,l=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,o.A)((0,i.A)(r),"_leafletEvents",void 0),(0,o.A)((0,i.A)(r),"leafletElement",void 0),r._leafletEvents=r.extractLeafletEvents(t),r}(0,s.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.bindLeafletEvents(this._leafletEvents)},r.componentDidUpdate=function(e){this._leafletEvents=this.bindLeafletEvents(this.extractLeafletEvents(this.props),this._leafletEvents)},r.componentWillUnmount=function(){var e=this,t=this.leafletElement;t&&Object.keys(this._leafletEvents).forEach((function(r){t.off(r,e._leafletEvents[r])}))},r.extractLeafletEvents=function(e){return Object.keys(e).reduce((function(t,r){return u.test(r)&&null!=e[r]&&(t[r.replace(u,(function(e,t){return t.toLowerCase()}))]=e[r]),t}),{})},r.bindLeafletEvents=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var r=this.leafletElement;if(null==r||null==r.on)return{};var i=(0,n.A)({},t);return Object.keys(t).forEach((function(n){null!=e[n]&&t[n]===e[n]||(delete i[n],r.off(n,t[n]))})),Object.keys(e).forEach((function(n){null!=t[n]&&e[n]===t[n]||(i[n]=e[n],r.on(n,e[n]))})),i},r.fireLeafletEvent=function(e,t){var r=this.leafletElement;r&&r.fire(e,t)},t}(a.Component)},73047:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},73429:(e,t,r)=>{function n(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}r.d(t,{g:()=>n})},75722:function(e,t,r){!function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function s(e,t,r){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=s:t.BN=s,s.BN=s,s.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(67787).Buffer}catch(e){}function a(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function u(e,t,r){var n=a(e,r);return r-1>=t&&(n|=a(e,r-1)<<4),n}function l(e,t,r,n){for(var i=0,s=Math.min(e.length,r),o=t;o<s;o++){var a=e.charCodeAt(o)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var s,o,a=0;if("be"===r)for(i=e.length-1,s=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===r)for(i=0,s=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,s=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=u(e,t,n)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=u(e,t,n)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;this.strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var s=e.length-r,o=s%n,a=Math.min(s,s-o)+r,u=0,c=r;c<a;c+=n)u=l(e,c,c+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var p=1;for(u=l(e,c,e.length,t),c=0;c<o;c++)p*=t;this.imuln(p),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},s.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},s.prototype.clone=function(){var e=new s(null);return this.copy(e),e},s.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],s=0|t.words[0],o=i*s,a=67108863&o,u=o/67108864|0;r.words[0]=a;for(var l=1;l<n;l++){for(var c=u>>>26,p=67108863&u,h=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=h;d++){var f=l-d|0;c+=(o=(i=0|e.words[f])*(s=0|t.words[d])+p)/67108864|0,p=67108863&o}r.words[l]=0|p,u=0|c}return 0!==u?r.words[l]=0|u:r.length--,r.strip()}s.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,s=0,o=0;o<this.length;o++){var a=this.words[o],u=(16777215&(a<<i|s)).toString(16);r=0!=(s=a>>>24-i&16777215)||o!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,o--)}for(0!==s&&(r=s.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var l=p[e],d=h[e];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modn(d).toString(e);r=(f=f.idivn(d)).isZero()?m+r:c[l-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),s=r||Math.max(1,i);n(i<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var o,a,u="le"===t,l=new e(s),c=this.clone();if(u){for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),l[a]=o;for(;a<s;a++)l[a]=0}else{for(a=0;a<s-i;a++)l[a]=0;for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),l[s-a-1]=o}return l},Math.clz32?s.prototype._countBits=function(e){return 32-Math.clz32(e)}:s.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},s.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},s.prototype.ior=function(e){return n(!(this.negative|e.negative)),this.iuor(e)},s.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},s.prototype.iand=function(e){return n(!(this.negative|e.negative)),this.iuand(e)},s.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},s.prototype.ixor=function(e){return n(!(this.negative|e.negative)),this.iuxor(e)},s.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},s.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s<n.length;s++)t=(0|r.words[s])+(0|n.words[s])+i,this.words[s]=67108863&t,i=t>>>26;for(;0!==i&&s<r.length;s++)t=(0|r.words[s])+i,this.words[s]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this},s.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var s=0,o=0;o<n.length;o++)s=(t=(0|r.words[o])-(0|n.words[o])+s)>>26,this.words[o]=67108863&t;for(;0!==s&&o<r.length;o++)s=(t=(0|r.words[o])+s)>>26,this.words[o]=67108863&t;if(0===s&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,s,o=e.words,a=t.words,u=r.words,l=0,c=0|o[0],p=8191&c,h=c>>>13,d=0|o[1],f=8191&d,m=d>>>13,g=0|o[2],y=8191&g,b=g>>>13,v=0|o[3],D=8191&v,E=v>>>13,x=0|o[4],w=8191&x,S=x>>>13,C=0|o[5],A=8191&C,T=C>>>13,P=0|o[6],F=8191&P,I=P>>>13,N=0|o[7],k=8191&N,_=N>>>13,O=0|o[8],M=8191&O,L=O>>>13,B=0|o[9],R=8191&B,j=B>>>13,$=0|a[0],U=8191&$,z=$>>>13,V=0|a[1],W=8191&V,H=V>>>13,q=0|a[2],G=8191&q,K=q>>>13,X=0|a[3],J=8191&X,Y=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],se=8191&ie,oe=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],pe=8191&ce,he=ce>>>13,de=0|a[9],fe=8191&de,me=de>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(l+(n=Math.imul(p,U))|0)+((8191&(i=(i=Math.imul(p,z))+Math.imul(h,U)|0))<<13)|0;l=((s=Math.imul(h,z))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=(i=Math.imul(f,z))+Math.imul(m,U)|0,s=Math.imul(m,z);var ye=(l+(n=n+Math.imul(p,W)|0)|0)+((8191&(i=(i=i+Math.imul(p,H)|0)+Math.imul(h,W)|0))<<13)|0;l=((s=s+Math.imul(h,H)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,U),i=(i=Math.imul(y,z))+Math.imul(b,U)|0,s=Math.imul(b,z),n=n+Math.imul(f,W)|0,i=(i=i+Math.imul(f,H)|0)+Math.imul(m,W)|0,s=s+Math.imul(m,H)|0;var be=(l+(n=n+Math.imul(p,G)|0)|0)+((8191&(i=(i=i+Math.imul(p,K)|0)+Math.imul(h,G)|0))<<13)|0;l=((s=s+Math.imul(h,K)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(D,U),i=(i=Math.imul(D,z))+Math.imul(E,U)|0,s=Math.imul(E,z),n=n+Math.imul(y,W)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(b,W)|0,s=s+Math.imul(b,H)|0,n=n+Math.imul(f,G)|0,i=(i=i+Math.imul(f,K)|0)+Math.imul(m,G)|0,s=s+Math.imul(m,K)|0;var ve=(l+(n=n+Math.imul(p,J)|0)|0)+((8191&(i=(i=i+Math.imul(p,Y)|0)+Math.imul(h,J)|0))<<13)|0;l=((s=s+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(w,U),i=(i=Math.imul(w,z))+Math.imul(S,U)|0,s=Math.imul(S,z),n=n+Math.imul(D,W)|0,i=(i=i+Math.imul(D,H)|0)+Math.imul(E,W)|0,s=s+Math.imul(E,H)|0,n=n+Math.imul(y,G)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(b,G)|0,s=s+Math.imul(b,K)|0,n=n+Math.imul(f,J)|0,i=(i=i+Math.imul(f,Y)|0)+Math.imul(m,J)|0,s=s+Math.imul(m,Y)|0;var De=(l+(n=n+Math.imul(p,Q)|0)|0)+((8191&(i=(i=i+Math.imul(p,ee)|0)+Math.imul(h,Q)|0))<<13)|0;l=((s=s+Math.imul(h,ee)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(T,U)|0,s=Math.imul(T,z),n=n+Math.imul(w,W)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(S,W)|0,s=s+Math.imul(S,H)|0,n=n+Math.imul(D,G)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(E,G)|0,s=s+Math.imul(E,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(b,J)|0,s=s+Math.imul(b,Y)|0,n=n+Math.imul(f,Q)|0,i=(i=i+Math.imul(f,ee)|0)+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0;var Ee=(l+(n=n+Math.imul(p,re)|0)|0)+((8191&(i=(i=i+Math.imul(p,ne)|0)+Math.imul(h,re)|0))<<13)|0;l=((s=s+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(F,U),i=(i=Math.imul(F,z))+Math.imul(I,U)|0,s=Math.imul(I,z),n=n+Math.imul(A,W)|0,i=(i=i+Math.imul(A,H)|0)+Math.imul(T,W)|0,s=s+Math.imul(T,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(S,G)|0,s=s+Math.imul(S,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(E,J)|0,s=s+Math.imul(E,Y)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(b,Q)|0,s=s+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=(i=i+Math.imul(f,ne)|0)+Math.imul(m,re)|0,s=s+Math.imul(m,ne)|0;var xe=(l+(n=n+Math.imul(p,se)|0)|0)+((8191&(i=(i=i+Math.imul(p,oe)|0)+Math.imul(h,se)|0))<<13)|0;l=((s=s+Math.imul(h,oe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,U),i=(i=Math.imul(k,z))+Math.imul(_,U)|0,s=Math.imul(_,z),n=n+Math.imul(F,W)|0,i=(i=i+Math.imul(F,H)|0)+Math.imul(I,W)|0,s=s+Math.imul(I,H)|0,n=n+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(T,G)|0,s=s+Math.imul(T,K)|0,n=n+Math.imul(w,J)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(S,J)|0,s=s+Math.imul(S,Y)|0,n=n+Math.imul(D,Q)|0,i=(i=i+Math.imul(D,ee)|0)+Math.imul(E,Q)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(y,re)|0,i=(i=i+Math.imul(y,ne)|0)+Math.imul(b,re)|0,s=s+Math.imul(b,ne)|0,n=n+Math.imul(f,se)|0,i=(i=i+Math.imul(f,oe)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,oe)|0;var we=(l+(n=n+Math.imul(p,ue)|0)|0)+((8191&(i=(i=i+Math.imul(p,le)|0)+Math.imul(h,ue)|0))<<13)|0;l=((s=s+Math.imul(h,le)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(L,U)|0,s=Math.imul(L,z),n=n+Math.imul(k,W)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(_,W)|0,s=s+Math.imul(_,H)|0,n=n+Math.imul(F,G)|0,i=(i=i+Math.imul(F,K)|0)+Math.imul(I,G)|0,s=s+Math.imul(I,K)|0,n=n+Math.imul(A,J)|0,i=(i=i+Math.imul(A,Y)|0)+Math.imul(T,J)|0,s=s+Math.imul(T,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(S,Q)|0,s=s+Math.imul(S,ee)|0,n=n+Math.imul(D,re)|0,i=(i=i+Math.imul(D,ne)|0)+Math.imul(E,re)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(y,se)|0,i=(i=i+Math.imul(y,oe)|0)+Math.imul(b,se)|0,s=s+Math.imul(b,oe)|0,n=n+Math.imul(f,ue)|0,i=(i=i+Math.imul(f,le)|0)+Math.imul(m,ue)|0,s=s+Math.imul(m,le)|0;var Se=(l+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,he)|0)+Math.imul(h,pe)|0))<<13)|0;l=((s=s+Math.imul(h,he)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,s=Math.imul(j,z),n=n+Math.imul(M,W)|0,i=(i=i+Math.imul(M,H)|0)+Math.imul(L,W)|0,s=s+Math.imul(L,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(_,G)|0,s=s+Math.imul(_,K)|0,n=n+Math.imul(F,J)|0,i=(i=i+Math.imul(F,Y)|0)+Math.imul(I,J)|0,s=s+Math.imul(I,Y)|0,n=n+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(T,Q)|0,s=s+Math.imul(T,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(S,re)|0,s=s+Math.imul(S,ne)|0,n=n+Math.imul(D,se)|0,i=(i=i+Math.imul(D,oe)|0)+Math.imul(E,se)|0,s=s+Math.imul(E,oe)|0,n=n+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(b,ue)|0,s=s+Math.imul(b,le)|0,n=n+Math.imul(f,pe)|0,i=(i=i+Math.imul(f,he)|0)+Math.imul(m,pe)|0,s=s+Math.imul(m,he)|0;var Ce=(l+(n=n+Math.imul(p,fe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(h,fe)|0))<<13)|0;l=((s=s+Math.imul(h,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(R,W),i=(i=Math.imul(R,H))+Math.imul(j,W)|0,s=Math.imul(j,H),n=n+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(L,G)|0,s=s+Math.imul(L,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(_,J)|0,s=s+Math.imul(_,Y)|0,n=n+Math.imul(F,Q)|0,i=(i=i+Math.imul(F,ee)|0)+Math.imul(I,Q)|0,s=s+Math.imul(I,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(T,re)|0,s=s+Math.imul(T,ne)|0,n=n+Math.imul(w,se)|0,i=(i=i+Math.imul(w,oe)|0)+Math.imul(S,se)|0,s=s+Math.imul(S,oe)|0,n=n+Math.imul(D,ue)|0,i=(i=i+Math.imul(D,le)|0)+Math.imul(E,ue)|0,s=s+Math.imul(E,le)|0,n=n+Math.imul(y,pe)|0,i=(i=i+Math.imul(y,he)|0)+Math.imul(b,pe)|0,s=s+Math.imul(b,he)|0;var Ae=(l+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(m,fe)|0))<<13)|0;l=((s=s+Math.imul(m,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(R,G),i=(i=Math.imul(R,K))+Math.imul(j,G)|0,s=Math.imul(j,K),n=n+Math.imul(M,J)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(L,J)|0,s=s+Math.imul(L,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(_,Q)|0,s=s+Math.imul(_,ee)|0,n=n+Math.imul(F,re)|0,i=(i=i+Math.imul(F,ne)|0)+Math.imul(I,re)|0,s=s+Math.imul(I,ne)|0,n=n+Math.imul(A,se)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(T,se)|0,s=s+Math.imul(T,oe)|0,n=n+Math.imul(w,ue)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(S,ue)|0,s=s+Math.imul(S,le)|0,n=n+Math.imul(D,pe)|0,i=(i=i+Math.imul(D,he)|0)+Math.imul(E,pe)|0,s=s+Math.imul(E,he)|0;var Te=(l+(n=n+Math.imul(y,fe)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(b,fe)|0))<<13)|0;l=((s=s+Math.imul(b,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(R,J),i=(i=Math.imul(R,Y))+Math.imul(j,J)|0,s=Math.imul(j,Y),n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(L,Q)|0,s=s+Math.imul(L,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(_,re)|0,s=s+Math.imul(_,ne)|0,n=n+Math.imul(F,se)|0,i=(i=i+Math.imul(F,oe)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,oe)|0,n=n+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(T,ue)|0,s=s+Math.imul(T,le)|0,n=n+Math.imul(w,pe)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(S,pe)|0,s=s+Math.imul(S,he)|0;var Pe=(l+(n=n+Math.imul(D,fe)|0)|0)+((8191&(i=(i=i+Math.imul(D,me)|0)+Math.imul(E,fe)|0))<<13)|0;l=((s=s+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(R,Q),i=(i=Math.imul(R,ee))+Math.imul(j,Q)|0,s=Math.imul(j,ee),n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(L,re)|0,s=s+Math.imul(L,ne)|0,n=n+Math.imul(k,se)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(_,se)|0,s=s+Math.imul(_,oe)|0,n=n+Math.imul(F,ue)|0,i=(i=i+Math.imul(F,le)|0)+Math.imul(I,ue)|0,s=s+Math.imul(I,le)|0,n=n+Math.imul(A,pe)|0,i=(i=i+Math.imul(A,he)|0)+Math.imul(T,pe)|0,s=s+Math.imul(T,he)|0;var Fe=(l+(n=n+Math.imul(w,fe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(S,fe)|0))<<13)|0;l=((s=s+Math.imul(S,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,n=Math.imul(R,re),i=(i=Math.imul(R,ne))+Math.imul(j,re)|0,s=Math.imul(j,ne),n=n+Math.imul(M,se)|0,i=(i=i+Math.imul(M,oe)|0)+Math.imul(L,se)|0,s=s+Math.imul(L,oe)|0,n=n+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,le)|0)+Math.imul(_,ue)|0,s=s+Math.imul(_,le)|0,n=n+Math.imul(F,pe)|0,i=(i=i+Math.imul(F,he)|0)+Math.imul(I,pe)|0,s=s+Math.imul(I,he)|0;var Ie=(l+(n=n+Math.imul(A,fe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(T,fe)|0))<<13)|0;l=((s=s+Math.imul(T,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(R,se),i=(i=Math.imul(R,oe))+Math.imul(j,se)|0,s=Math.imul(j,oe),n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(L,ue)|0,s=s+Math.imul(L,le)|0,n=n+Math.imul(k,pe)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(_,pe)|0,s=s+Math.imul(_,he)|0;var Ne=(l+(n=n+Math.imul(F,fe)|0)|0)+((8191&(i=(i=i+Math.imul(F,me)|0)+Math.imul(I,fe)|0))<<13)|0;l=((s=s+Math.imul(I,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(R,ue),i=(i=Math.imul(R,le))+Math.imul(j,ue)|0,s=Math.imul(j,le),n=n+Math.imul(M,pe)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(L,pe)|0,s=s+Math.imul(L,he)|0;var ke=(l+(n=n+Math.imul(k,fe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(_,fe)|0))<<13)|0;l=((s=s+Math.imul(_,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(R,pe),i=(i=Math.imul(R,he))+Math.imul(j,pe)|0,s=Math.imul(j,he);var _e=(l+(n=n+Math.imul(M,fe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(L,fe)|0))<<13)|0;l=((s=s+Math.imul(L,me)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863;var Oe=(l+(n=Math.imul(R,fe))|0)+((8191&(i=(i=Math.imul(R,me))+Math.imul(j,fe)|0))<<13)|0;return l=((s=Math.imul(j,me))+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,u[0]=ge,u[1]=ye,u[2]=be,u[3]=ve,u[4]=De,u[5]=Ee,u[6]=xe,u[7]=we,u[8]=Se,u[9]=Ce,u[10]=Ae,u[11]=Te,u[12]=Pe,u[13]=Fe,u[14]=Ie,u[15]=Ne,u[16]=ke,u[17]=_e,u[18]=Oe,0!==l&&(u[19]=l,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=d),s.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,s=0;s<r.length-1;s++){var o=i;i=0;for(var a=67108863&n,u=Math.min(s,t.length-1),l=Math.max(0,s-e.length+1);l<=u;l++){var c=s-l,p=(0|e.words[c])*(0|t.words[l]),h=67108863&p;a=67108863&(h=h+a|0),i+=(o=(o=o+(p/67108864|0)|0)+(h>>>26)|0)>>>26,o&=67108863}r.words[s]=a,n=o,o=i}return 0!==n?r.words[s]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,s){for(var o=0;o<s;o++)n[o]=t[e[o]],i[o]=r[e[o]]},g.prototype.transform=function(e,t,r,n,i,s){this.permute(s,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var a=o<<1,u=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),c=0;c<i;c+=a)for(var p=u,h=l,d=0;d<o;d++){var f=r[c+d],m=n[c+d],g=r[c+d+o],y=n[c+d+o],b=p*g-h*y;y=p*y+h*g,g=b,r[c+d]=f+g,n[c+d]=m+y,r[c+d+o]=f-g,n[c+d+o]=m-y,d!==a&&(b=u*p-l*h,h=u*h+l*p,p=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var s=0,o=0;o<t;o++)s+=0|e[o],r[2*o]=8191&s,s>>>=13,r[2*o+1]=8191&s,s>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===s),n(!(-8192&s))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),s=this.stub(n),o=new Array(n),a=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),p=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,l,n),this.transform(o,s,a,u,n,i),this.transform(l,s,c,p,n,i);for(var d=0;d<n;d++){var f=a[d]*c[d]-u[d]*p[d];u[d]=a[d]*p[d]+u[d]*c[d],a[d]=f}return this.conjugate(a,u,n),this.transform(a,u,h,s,n,i),this.conjugate(h,s,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},s.prototype.mul=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},s.prototype.mulf=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),m(this,e,t)},s.prototype.imul=function(e){return this.clone().mulTo(e,this)},s.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,s=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=s>>>26,this.words[r]=67108863&s}return 0!==t&&(this.words[r]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new s(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},s.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,u=(0|this.words[t])-a<<r;this.words[t]=u|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},s.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var s=e%26,o=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,u=r;if(i-=o,i=Math.max(0,i),u){for(var l=0;l<o;l++)u.words[l]=this.words[l];u.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var c=0;for(l=this.length-1;l>=0&&(0!==c||l>=i);l--){var p=0|this.words[l];this.words[l]=c<<26-s|p>>>s,c=p&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r||!(this.words[r]&i))},s.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},s.prototype.maskn=function(e){return this.clone().imaskn(e)},s.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},s.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},s.prototype.addn=function(e){return this.clone().iaddn(e)},s.prototype.subn=function(e){return this.clone().isubn(e)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(e,t,r){var i,s,o=e.length+r;this._expand(o);var a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+r])+a;var u=(0|e.words[i])*t;a=((s-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&s}for(;i<this.length-r;i++)a=(s=(0|this.words[i+r])+a)>>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,o=0|i.words[i.length-1];0!=(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var a,u=n.length-i.length;if("mod"!==t){(a=new s(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var c=n.clone()._ishlnsubmul(i,1,u);0===c.negative&&(n=c,a&&(a.words[u]=1));for(var p=u-1;p>=0;p--){var h=67108864*(0|n.words[i.length+p])+(0|n.words[i.length+p-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,p);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,p),n.isZero()||(n.negative^=1);a&&(a.words[p]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},s.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,a},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),s=r.cmp(n);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new s(1),o=new s(0),a=new s(0),u=new s(1),l=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++l;for(var c=r.clone(),p=t.clone();!t.isZero();){for(var h=0,d=1;!(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(p)),i.iushrn(1),o.iushrn(1);for(var f=0,m=1;!(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(p)),a.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a),o.isub(u)):(r.isub(t),a.isub(i),u.isub(o))}return{a,b:u,gcd:r.iushln(l)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new s(1),a=new s(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var l=0,c=1;!(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(u),o.iushrn(1);for(var p=0,h=1;!(r.words[0]&h)&&p<26;++p,h<<=1);if(p>0)for(r.iushrn(p);p-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(i=0===t.cmpn(1)?o:a).cmpn(0)<0&&i.iadd(e),i},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var s=t;t=r,r=s}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return!(1&this.words[0])},s.prototype.isOdd=function(){return!(1&~this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var s=i,o=r;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,a&=67108863,this.words[o]=a}return 0!==s&&(this.words[o]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},s.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},s.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new w(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function D(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function w(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){w.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(v,b),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var s=e.words[9];for(t.words[t.length++]=s&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|s>>>22,s=o}s>>>=22,e.words[i-10]=s,0===s&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(D,b),i(E,b),i(x,b),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new D;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return y[e]=t,t},w.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},w.prototype._verify2=function(e,t){n(!(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},w.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},w.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},w.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},w.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},w.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},w.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},w.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},w.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},w.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},w.prototype.isqr=function(e){return this.imul(e,e.clone())},w.prototype.sqr=function(e){return this.mul(e,e)},w.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var a=new s(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new s(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var p=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),f=o;0!==d.cmp(a);){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();n(g<f);var y=this.pow(p,new s(1).iushln(f-g-1));h=h.redMul(y),p=y.redSqr(),d=d.redMul(p),f=g}return h},w.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},w.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new s(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],o=0,a=0,u=t.bitLength()%26;for(0===u&&(u=26),n=t.length-1;n>=0;n--){for(var l=t.words[n],c=u-1;c>=0;c--){var p=l>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==p||0!==o?(o<<=1,o|=p,(4==++a||0===n&&0===c)&&(i=this.mul(i,r[o]),a=0,o=0)):a=0}u=26}return i},w.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},w.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new S(e)},i(S,w),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},76023:(e,t,r)=>{t.pbkdf2=r(49659),t.pbkdf2Sync=r(31289)},76213:(e,t,r)=>{r.d(t,{s:()=>p});var n=r(95497),i=r(96652),s=r.n(i),o=r(33658);function a(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var u={};a(u,"useVisuallyHidden",(()=>c)),a(u,"VisuallyHidden",(()=>p));const l={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function c(e={}){let{style:t,isFocusable:r}=e,[n,s]=(0,i.useState)(!1),{focusProps:a}=(0,o.iQ)({isDisabled:!r,onFocusChange:s});return{visuallyHiddenProps:{...a,style:(0,i.useMemo)((()=>n?t:t?{...l,...t}:l),[n])}}}function p(e){let{children:t,elementType:r="div",isFocusable:i,style:o,...a}=e,{visuallyHiddenProps:u}=c(e);return s().createElement(r,(0,n.v6)(a,u),t)}},76843:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},78606:(e,t,r)=>{r.d(t,{vC:()=>x});var n=r(96652);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}r(10873);var s=["shift","alt","meta","mod","ctrl"],o={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function a(e){return(o[e]||e).trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function u(e,t){return void 0===t&&(t=","),"string"==typeof e?e.split(t):e}function l(e,t){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map((function(e){return a(e)}));return i({},{alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},{keys:r.filter((function(e){return!s.includes(e)}))})}"undefined"!=typeof document&&(document.addEventListener("keydown",(function(e){void 0!==e.key&&p([a(e.key),a(e.code)])})),document.addEventListener("keyup",(function(e){void 0!==e.key&&h([a(e.key),a(e.code)])}))),"undefined"!=typeof window&&window.addEventListener("blur",(function(){c.clear()}));var c=new Set;function p(e){var t=Array.isArray(e)?e:[e];c.has("meta")&&c.forEach((function(e){return!function(e){return s.includes(e)}(e)&&c.delete(e.toLowerCase())})),t.forEach((function(e){return c.add(e.toLowerCase())}))}function h(e){var t=Array.isArray(e)?e:[e];"meta"===e?c.clear():t.forEach((function(e){return c.delete(e.toLowerCase())}))}function d(e,t){var r=e.target;void 0===t&&(t=!1);var n=r&&r.tagName;return t instanceof Array?Boolean(n&&t&&t.some((function(e){return e.toLowerCase()===n.toLowerCase()}))):Boolean(n&&t&&!0===t)}var f=function(e,t,r){void 0===r&&(r=!1);var n,i,s=t.alt,o=t.meta,u=t.mod,l=t.shift,p=t.ctrl,h=t.keys,d=e.key,f=e.code,m=e.ctrlKey,g=e.metaKey,y=e.shiftKey,b=e.altKey,v=a(f),D=d.toLowerCase();if(!r){if(s===!b&&"alt"!==D)return!1;if(l===!y&&"shift"!==D)return!1;if(u){if(!g&&!m)return!1}else{if(o===!g&&"meta"!==D&&"os"!==D)return!1;if(p===!m&&"ctrl"!==D&&"control"!==D)return!1}}return!(!h||1!==h.length||!h.includes(D)&&!h.includes(v))||(h?(n=h,void 0===i&&(i=","),(Array.isArray(n)?n:n.split(i)).every((function(e){return c.has(e.trim().toLowerCase())}))):!h)},m=(0,n.createContext)(void 0),g=function(){return(0,n.useContext)(m)};function y(e,t){return e&&t&&"object"==typeof e&&"object"==typeof t?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce((function(r,n){return r&&y(e[n],t[n])}),!0):e===t}var b=(0,n.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),v=function(){return(0,n.useContext)(b)},D=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},E="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;function x(e,t,r,i){var s=(0,n.useRef)(null),o=(0,n.useRef)(!1),c=r instanceof Array?i instanceof Array?void 0:i:r,m=r instanceof Array?r:i instanceof Array?i:void 0,b=(0,n.useCallback)(t,null!=m?m:[]),x=(0,n.useRef)(b);x.current=m?b:t;var w=function(e){var t=(0,n.useRef)(void 0);return y(t.current,e)||(t.current=e),t.current}(c),S=v().enabledScopes,C=g();return E((function(){if(!1!==(null==w?void 0:w.enabled)&&(t=S,r=null==w?void 0:w.scopes,0===t.length&&r?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),1):!r||t.some((function(e){return r.includes(e)}))||t.includes("*"))){var t,r,n=function(t,r){var n;void 0===r&&(r=!1),(!d(t,["input","textarea","select"])||d(t,null==w?void 0:w.enableOnFormTags))&&(null===s.current||document.activeElement===s.current||s.current.contains(document.activeElement)?(null==(n=t.target)||!n.isContentEditable||null!=w&&w.enableOnContentEditable)&&u(e,null==w?void 0:w.splitKey).forEach((function(e){var n,i=l(e,null==w?void 0:w.combinationKey);if(f(t,i,null==w?void 0:w.ignoreModifiers)||null!=(n=i.keys)&&n.includes("*")){if(r&&o.current)return;if(function(e,t,r){("function"==typeof r&&r(e,t)||!0===r)&&e.preventDefault()}(t,i,null==w?void 0:w.preventDefault),!function(e,t,r){return"function"==typeof r?r(e,t):!0===r||void 0===r}(t,i,null==w?void 0:w.enabled))return void D(t);x.current(t,i),r||(o.current=!0)}})):D(t))},i=function(e){void 0!==e.key&&(p(a(e.code)),(void 0===(null==w?void 0:w.keydown)&&!0!==(null==w?void 0:w.keyup)||null!=w&&w.keydown)&&n(e))},m=function(e){void 0!==e.key&&(h(a(e.code)),o.current=!1,null!=w&&w.keyup&&n(e,!0))},g=s.current||(null==c?void 0:c.document)||document;return g.addEventListener("keyup",m),g.addEventListener("keydown",i),C&&u(e,null==w?void 0:w.splitKey).forEach((function(e){return C.addHotkey(l(e,null==w?void 0:w.combinationKey))})),function(){g.removeEventListener("keyup",m),g.removeEventListener("keydown",i),C&&u(e,null==w?void 0:w.splitKey).forEach((function(e){return C.removeHotkey(l(e,null==w?void 0:w.combinationKey))}))}}}),[e,w,S]),s}},79023:(e,t,r)=>{var n=r(25003),i=r(5038),s=r(38049),o=r(79696).Buffer,a=new Array(64);function u(){this.init(),this._w=a,s.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=u},79101:(e,t,r)=>{var n=r(63713);e.exports=function(e){var t={init:[],preEmit:[],shouldEmit:[]},r=function e(r){var i={};return r.mixins&&r.mixins.forEach((function(t){n.extend(i,e(t))})),n.extend(i,r),Object.keys(t).forEach((function(e){r.hasOwnProperty(e)&&t[e].push(r[e])})),i}(e);return t.init.length>1&&(r.init=function(){var e=arguments;t.init.forEach((function(t){t.apply(this,e)}),this)}),t.preEmit.length>1&&(r.preEmit=function(){return t.preEmit.reduce(function(e,t){var r=t.apply(this,e);return void 0===r?e:[r]}.bind(this),arguments)}),t.shouldEmit.length>1&&(r.shouldEmit=function(){var e=arguments;return!t.shouldEmit.some((function(t){return!t.apply(this,e)}),this)}),Object.keys(t).forEach((function(e){1===t[e].length&&(r[e]=t[e][0])})),r}},79112:(e,t,r)=>{const n=r(98999),{PromisePrototypeThen:i,SymbolAsyncIterator:s,SymbolIterator:o}=r(12450),{Buffer:a}=r(67787),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=r(26503).codes;e.exports=function(e,t,r){let c,p;if("string"==typeof t||t instanceof a)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[s])p=!0,c=t[s]();else{if(!t||!t[o])throw new u("iterable",["Iterable"],t);p=!1,c=t[o]()}const h=new e({objectMode:!0,highWaterMark:1,...r});let d=!1;return h._read=function(){d||(d=!0,async function(){for(;;){try{const{value:e,done:t}=p?await c.next():c.next();if(t)h.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw d=!1,new l;if(h.push(t))continue;d=!1}}catch(e){h.destroy(e)}break}}())},h._destroy=function(e,t){i(async function(e){const t=null!=e,r="function"==typeof c.throw;if(t&&r){const{value:t,done:r}=await c.throw(e);if(await t,r)return}if("function"==typeof c.return){const{value:e}=await c.return();await e}}(e),(()=>n.nextTick(t,e)),(r=>n.nextTick(t,r||e)))},h}},79337:(e,t,r)=>{const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:s,ArrayPrototypeMap:o,NumberIsInteger:a,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:p,ObjectPrototypeHasOwnProperty:h,RegExpPrototypeExec:d,String:f,StringPrototypeToUpperCase:m,StringPrototypeTrim:g}=r(12450),{hideStackFrames:y,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:v,ERR_INVALID_ARG_VALUE:D,ERR_OUT_OF_RANGE:E,ERR_UNKNOWN_SIGNAL:x}}=r(26503),{normalizeEncoding:w}=r(46108),{isAsyncFunction:S,isArrayBufferView:C}=r(46108).types,A={},T=/^[0-7]+$/,P=y(((e,t,r=c,n=l)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,`>= ${r} && <= ${n}`,e)})),F=y(((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,`>= ${r} && <= ${n}`,e)})),I=y(((e,t,r=!1)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new E(t,`>= ${n} && <= ${i}`,e)}));function N(e,t){if("string"!=typeof e)throw new v(t,"string",e)}const k=y(((e,t,r)=>{if(!i(r,e)){const n=s(o(r,(e=>"string"==typeof e?`'${e}'`:f(e))),", ");throw new D(t,e,"must be one of: "+n)}}));function _(e,t){if("boolean"!=typeof e)throw new v(t,"boolean",e)}function O(e,t,r){return null!=e&&h(e,t)?e[t]:r}const M=y(((e,t,r=null)=>{const i=O(r,"allowArray",!1),s=O(r,"allowFunction",!1);if(!O(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!s||"function"!=typeof e))throw new v(t,"Object",e)})),L=y(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new v(t,"a dictionary",e)})),B=y(((e,t,r=0)=>{if(!n(e))throw new v(t,"Array",e);if(e.length<r)throw new D(t,e,`must be longer than ${r}`)})),R=y(((e,t="buffer")=>{if(!C(e))throw new v(t,["Buffer","TypedArray","DataView"],e)})),j=y(((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new v(t,"AbortSignal",e)})),$=y(((e,t)=>{if("function"!=typeof e)throw new v(t,"Function",e)})),U=y(((e,t)=>{if("function"!=typeof e||S(e))throw new v(t,"Function",e)})),z=y(((e,t)=>{if(void 0!==e)throw new v(t,"undefined",e)})),V=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W(e,t){if(void 0===e||!d(V,e))throw new D(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===d(T,e))throw new D(t,e,"must be a 32-bit unsigned integer or an octal string");e=p(e,8)}return I(e,t),e},validateArray:B,validateStringArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++)N(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++)_(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new v(i,"AbortSignal",n);j(n,i)}},validateBoolean:_,validateBuffer:R,validateDictionary:L,validateEncoding:function(e,t){const r=w(t),n=e.length;if("hex"===r&&n%2!=0)throw new D("encoding",t,`is invalid for data of length ${n}`)},validateFunction:$,validateInt32:F,validateInteger:P,validateNumber:function(e,t,r=void 0,n){if("number"!=typeof e)throw new v(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&u(e))throw new E(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:M,validateOneOf:k,validatePlainFunction:U,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===g(e).length||+e!=+e>>>0||e>65535||0===e&&!r)throw new b(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(N(e,t),void 0===A[e]){if(void 0!==A[m(e)])throw new x(e+" (signals must use all capital letters)");throw new x(e)}},validateString:N,validateUint32:I,validateUndefined:z,validateUnion:function(e,t,r){if(!i(r,e))throw new v(t,`('${s(r,"|")}')`,e)},validateAbortSignal:j,validateLinkHeaderValue:function(e){if("string"==typeof e)return W(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const i=e[n];W(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new D("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},79696:(e,t,r)=>{var n=r(67787),i=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},79865:(e,t,r)=>{const n=r(66089),i=r(92248);e.exports=(e,t,r)=>{let s=null,o=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==o.compare(e)||(s=e,o=new n(s,r)))})),s}},81247:(e,t,r)=>{const n=r(92248);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},82822:(e,t,r)=>{const n=r(49002);e.exports=(e,t,r)=>n(e,t,">",r)},82960:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(70161),i=r(60752),s=r(96196),o=r(6022),a=r(31500),u=r(63706),l=r(96652),c=r.n(l),p=r(41381),h=r(72287),d=r(69064);function f(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.keys(e).reduce((function(t,n){return-1===r.indexOf(n)&&(t[n]=e[n]),t}),{})}var m=["children","className","id","style","useFlyTo","whenReady"],g=function(e){return Array.isArray(e)?[e[0],e[1]]:[e.lat,e.lon?e.lon:e.lng]},y=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,a.A)((0,s.A)(r),"className",void 0),(0,a.A)((0,s.A)(r),"contextValue",void 0),(0,a.A)((0,s.A)(r),"container",void 0),(0,a.A)((0,s.A)(r),"viewport",{center:void 0,zoom:void 0}),(0,a.A)((0,s.A)(r),"_ready",!1),(0,a.A)((0,s.A)(r),"_updating",!1),(0,a.A)((0,s.A)(r),"onViewportChange",(function(){var e=r.leafletElement.getCenter();r.viewport={center:e?[e.lat,e.lng]:void 0,zoom:r.leafletElement.getZoom()},r.props.onViewportChange&&!r._updating&&r.props.onViewportChange(r.viewport)})),(0,a.A)((0,s.A)(r),"onViewportChanged",(function(){r.props.onViewportChanged&&!r._updating&&r.props.onViewportChanged(r.viewport)})),(0,a.A)((0,s.A)(r),"bindContainer",(function(e){r.container=e})),r.className=t.className,r}(0,o.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){var t=e.viewport,r=(0,i.A)(e,["viewport"]);return t&&(t.center&&(r.center=t.center),"number"==typeof t.zoom&&(r.zoom=t.zoom)),new u.Map(this.container,r)},r.updateLeafletElement=function(e,t){this._updating=!0;var r=t.bounds,n=t.boundsOptions,i=t.boxZoom,s=t.center,o=t.className,a=t.doubleClickZoom,u=t.dragging,l=t.keyboard,c=t.maxBounds,p=t.scrollWheelZoom,h=t.tap,f=t.touchZoom,m=t.useFlyTo,g=t.viewport,y=t.zoom;if((0,d.Ay)(this.container,e.className,o),g&&g!==e.viewport){var b=g.center?g.center:s,v=null==g.zoom?y:g.zoom;!0===m?this.leafletElement.flyTo(b,v,this.getZoomPanOptions(t)):this.leafletElement.setView(b,v,this.getZoomPanOptions(t))}else s&&this.shouldUpdateCenter(s,e.center)?!0===m?this.leafletElement.flyTo(s,y,this.getZoomPanOptions(t)):this.leafletElement.setView(s,y,this.getZoomPanOptions(t)):"number"==typeof y&&y!==e.zoom&&(null==e.zoom?this.leafletElement.setView(s,y,this.getZoomPanOptions(t)):this.leafletElement.setZoom(y,this.getZoomPanOptions(t)));c&&this.shouldUpdateBounds(c,e.maxBounds)&&this.leafletElement.setMaxBounds(c),r&&(this.shouldUpdateBounds(r,e.bounds)||n!==e.boundsOptions)&&(!0===m?this.leafletElement.flyToBounds(r,this.getFitBoundsOptions(t)):this.leafletElement.fitBounds(r,this.getFitBoundsOptions(t))),i!==e.boxZoom&&(!0===i?this.leafletElement.boxZoom.enable():this.leafletElement.boxZoom.disable()),a!==e.doubleClickZoom&&(!0===a?this.leafletElement.doubleClickZoom.enable():this.leafletElement.doubleClickZoom.disable()),u!==e.dragging&&(!0===u?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),l!==e.keyboard&&(!0===l?this.leafletElement.keyboard.enable():this.leafletElement.keyboard.disable()),p!==e.scrollWheelZoom&&(!0===p||"string"==typeof p?(this.leafletElement.options.scrollWheelZoom=p,this.leafletElement.scrollWheelZoom.enable()):this.leafletElement.scrollWheelZoom.disable()),h!==e.tap&&(!0===h?this.leafletElement.tap.enable():this.leafletElement.tap.disable()),f!==e.touchZoom&&(!0===f||"string"==typeof f?(this.leafletElement.options.touchZoom=f,this.leafletElement.touchZoom.enable()):this.leafletElement.touchZoom.disable()),this._updating=!1},r.getZoomPanOptions=function(e){return{animate:e.animate,duration:e.duration,easeLinearity:e.easeLinearity,noMoveStart:e.noMoveStart}},r.getFitBoundsOptions=function(e){var t=this.getZoomPanOptions(e);return(0,n.A)({},t,e.boundsOptions)},r.componentDidMount=function(){var t=f.apply(void 0,[this.props].concat(m));this.leafletElement=this.createLeafletElement(t),this.leafletElement.on("move",this.onViewportChange),this.leafletElement.on("moveend",this.onViewportChanged),null!=t.bounds&&this.leafletElement.fitBounds(t.bounds,this.getFitBoundsOptions(t)),this.contextValue={layerContainer:this.leafletElement,map:this.leafletElement},e.prototype.componentDidMount.call(this),this.forceUpdate()},r.componentDidUpdate=function(t){!1===this._ready&&(this._ready=!0,this.props.whenReady&&this.leafletElement.whenReady(this.props.whenReady)),e.prototype.componentDidUpdate.call(this,t),this.updateLeafletElement(t,this.props)},r.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.leafletElement.off("move",this.onViewportChange),this.leafletElement.off("moveend",this.onViewportChanged),!0===this.props.preferCanvas?(this.leafletElement._initEvents(!0),this.leafletElement._stop()):this.leafletElement.remove()},r.shouldUpdateCenter=function(e,t){return!t||(e=g(e),t=g(t),e[0]!==t[0]||e[1]!==t[1])},r.shouldUpdateBounds=function(e,t){return!t||!(0,u.latLngBounds)(e).equals((0,u.latLngBounds)(t))},r.render=function(){return c().createElement("div",{className:this.className,id:this.props.id,ref:this.bindContainer,style:this.props.style},this.contextValue?c().createElement(p.hL,{value:this.contextValue},this.props.children):null)},t}(h.A)},83109:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.isFragment=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case o:case s:case p:case h:return e;default:switch(e=e&&e.$$typeof){case l:case u:case c:case f:case d:case a:return e;default:return t}}case n:return t}}}(e)===i}},83153:(e,t,r)=>{var n=r(79696).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"==typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},83198:(e,t,r)=>{const n=r(42229),i=r(76843),s=r(66089),o=r(69690),a=r(73047),u=r(84046),l=r(66413),c=r(69192),p=r(96065),h=r(69657),d=r(54845),f=r(86678),m=r(50192),g=r(2943),y=r(62655),b=r(28800),v=r(87998),D=r(34894),E=r(96750),x=r(37109),w=r(68434),S=r(18604),C=r(14600),A=r(67526),T=r(44411),P=r(31288),F=r(4683),I=r(37553),N=r(92248),k=r(27681),_=r(85576),O=r(59827),M=r(79865),L=r(84068),B=r(81247),R=r(49002),j=r(82822),$=r(45579),U=r(71563),z=r(90226),V=r(46019);e.exports={parse:a,valid:u,clean:l,inc:c,diff:p,major:h,minor:d,patch:f,prerelease:m,compare:g,rcompare:y,compareLoose:b,compareBuild:v,sort:D,rsort:E,gt:x,lt:w,eq:S,neq:C,gte:A,lte:T,cmp:P,coerce:F,Comparator:I,Range:N,satisfies:k,toComparators:_,maxSatisfying:O,minSatisfying:M,minVersion:L,validRange:B,outside:R,gtr:j,ltr:$,intersects:U,simplifyRange:z,subset:V,SemVer:s,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},83803:(e,t,r)=>{const{ArrayPrototypePop:n,Promise:i}=r(12450),{isIterable:s,isNodeStream:o,isWebStream:a}=r(97967),{pipelineImpl:u}=r(55930),{finished:l}=r(42882);r(51182),e.exports={finished:l,pipeline:function(...e){return new i(((t,r)=>{let i,l;const c=e[e.length-1];if(c&&"object"==typeof c&&!o(c)&&!s(c)&&!a(c)){const t=n(e);i=t.signal,l=t.end}u(e,((e,n)=>{e?r(e):t(n)}),{signal:i,end:l})}))}}},84046:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},84068:(e,t,r)=>{const n=r(66089),i=r(92248),s=r(37109);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let o=null;i.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!s(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||r&&!s(r,o)||(r=o)}return r&&e.test(r)?r:null}},84213:(e,t,r)=>{var n=r(28113),i=r(51048),s=r(49453),o=r(63793),a=r(90978),u=r(75722),l=r(62670),c=r(32427),p=r(79696).Buffer;e.exports=function(e,t,r){var h;h=e.padding?e.padding:r?1:4;var d,f=n(e);if(4===h)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,l=s("sha1").update(p.alloc(0)).digest(),c=l.length,h=2*c;if(n>r-h-2)throw new Error("message too long");var d=p.alloc(r-n-h-2),f=r-c-1,m=i(c),g=a(p.concat([l,d,p.alloc(1,1),t],f),o(m,f)),y=a(m,o(g,c));return new u(p.concat([p.alloc(1),y,g],r))}(f,t);else if(1===h)d=function(e,t,r){var n,s=t.length,o=e.modulus.byteLength();if(s>o-11)throw new Error("message too long");return n=r?p.alloc(o-s-3,255):function(e){for(var t,r=p.allocUnsafe(e),n=0,s=i(2*e),o=0;n<e;)o===s.length&&(s=i(2*e),o=0),(t=s[o++])&&(r[n++]=t);return r}(o-s-3),new u(p.concat([p.from([0,r?1:2]),n,p.alloc(1),t],o))}(f,t,r);else{if(3!==h)throw new Error("unknown padding");if((d=new u(t)).cmp(f.modulus)>=0)throw new Error("data too long for modulus")}return r?c(d,f):l(d,f)}},84450:(e,t,r)=>{const{ObjectSetPrototypeOf:n,Symbol:i}=r(12450);e.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:s}=r(26503).codes,o=r(758),{getHighWaterMark:a}=r(97863);n(l.prototype,o.prototype),n(l,o);const u=i("kCallback");function l(e){if(!(this instanceof l))return new l(e);const t=e?a(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),o.call(this,e),this._readableState.sync=!1,this[u]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",p)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())}))}function p(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,r){throw new s("_transform()")},l.prototype._write=function(e,t,r){const n=this._readableState,i=this._writableState,s=n.length;this._transform(e,t,((e,t)=>{e?r(e):(null!=t&&this.push(t),i.ended||s===n.length||n.length<n.highWaterMark?r():this[u]=r)}))},l.prototype._read=function(){if(this[u]){const e=this[u];this[u]=null,e()}}},85576:(e,t,r)=>{const n=r(92248);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},85890:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},86678:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).patch},87998:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r)=>{const i=new n(e,r),s=new n(t,r);return i.compare(s)||i.compareBuild(s)}},88878:(e,t,r)=>{var n=r(25003),i=r(47439),s=r(38049),o=r(79696).Buffer,a=new Array(160);function u(){this.init(),this._w=a,s.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=u},89963:(e,t,r)=>{r.d(t,{Te:()=>D});var n=r(96652),i=r(46410);function s(e,t,r){let n,i=r.initialDeps??[];function s(){var s,o,a,u;let l;r.key&&(null==(s=r.debug)?void 0:s.call(r))&&(l=Date.now());const c=e();if(c.length===i.length&&!c.some(((e,t)=>i[t]!==e)))return n;let p;if(i=c,r.key&&(null==(o=r.debug)?void 0:o.call(r))&&(p=Date.now()),n=t(...c),r.key&&(null==(a=r.debug)?void 0:a.call(r))){const e=Math.round(100*(Date.now()-l))/100,t=Math.round(100*(Date.now()-p))/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return null==(u=null==r?void 0:r.onChange)||u.call(r,n),n}return s.updateDeps=e=>{i=e},s}function o(e,t){if(void 0===e)throw new Error("Unexpected undefined"+(t?`: ${t}`:""));return e}const a=(e,t,r)=>{let n;return function(...i){e.clearTimeout(n),n=e.setTimeout((()=>t.apply(this,i)),r)}},u=e=>{const{offsetWidth:t,offsetHeight:r}=e;return{width:t,height:r}},l=e=>e,c=e=>{const t=Math.max(e.startIndex-e.overscan,0),r=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let e=t;e<=r;e++)n.push(e);return n},p=(e,t)=>{const r=e.scrollElement;if(!r)return;const n=e.targetWindow;if(!n)return;const i=e=>{const{width:r,height:n}=e;t({width:Math.round(r),height:Math.round(n)})};if(i(u(r)),!n.ResizeObserver)return()=>{};const s=new n.ResizeObserver((t=>{const n=()=>{const e=t[0];if(null==e?void 0:e.borderBoxSize){const t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(u(r))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(n):n()}));return s.observe(r,{box:"border-box"}),()=>{s.unobserve(r)}},h={passive:!0},d="undefined"==typeof window||"onscrollend"in window,f=(e,t)=>{const r=e.scrollElement;if(!r)return;const n=e.targetWindow;if(!n)return;let i=0;const s=e.options.useScrollendEvent&&d?()=>{}:a(n,(()=>{t(i,!1)}),e.options.isScrollingResetDelay),o=n=>()=>{const{horizontal:o,isRtl:a}=e.options;i=o?r.scrollLeft*(a?-1:1):r.scrollTop,s(),t(i,n)},u=o(!0),l=o(!1);l(),r.addEventListener("scroll",u,h);const c=e.options.useScrollendEvent&&d;return c&&r.addEventListener("scrollend",l,h),()=>{r.removeEventListener("scroll",u),c&&r.removeEventListener("scrollend",l)}},m=(e,t,r)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return Math.round(e[r.options.horizontal?"inlineSize":"blockSize"])}return e[r.options.horizontal?"offsetWidth":"offsetHeight"]},g=(e,{adjustments:t=0,behavior:r},n)=>{var i,s;const o=e+t;null==(s=null==(i=n.scrollElement)?void 0:i.scrollTo)||s.call(i,{[n.options.horizontal?"left":"top"]:o,behavior:r})};class y{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver((e=>{e.forEach((e=>{const t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()}))})):null);return{disconnect:()=>{var r;null==(r=t())||r.disconnect(),e=null},observe:e=>{var r;return null==(r=t())?void 0:r.observe(e,{box:"border-box"})},unobserve:e=>{var r;return null==(r=t())?void 0:r.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,r])=>{void 0===r&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:l,rangeExtractor:c,onChange:()=>{},measureElement:m,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,r;null==(r=(t=this.options).onChange)||r.call(t,this,e)},this.maybeNotify=s((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(e=>{this.notify(e)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach((e=>{this.observer.observe(e)})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const r=new Map,n=new Map;for(let i=t-1;i>=0;i--){const t=e[i];if(r.has(t.lane))continue;const s=n.get(t.lane);if(null==s||t.end>s.end?n.set(t.lane,t):t.end<s.end&&r.set(t.lane,!0),r.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurementOptions=s((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled]),((e,t,r,n,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i})),{key:!1}),this.getMeasurements=s((()=>[this.getMeasurementOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i},s)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})));const o=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const a=this.measurementsCache.slice(0,o);for(let i=o;i<e;i++){const e=n(i),o=1===this.options.lanes?a[i-1]:this.getFurthestMeasurement(a,i),u=o?o.end+this.options.gap:t+r,l=s.get(e),c="number"==typeof l?l:this.options.estimateSize(i),p=u+c,h=o?o.lane:i%this.options.lanes;a[i]={index:i,start:u,size:c,end:p,key:e,lane:h}}return this.measurementsCache=a,a}),{key:!1,debug:()=>this.options.debug}),this.calculateRange=s((()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes]),((e,t,r,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:r,lanes:n}){const i=e.length-1;if(e.length<=n)return{startIndex:0,endIndex:i};let s=b(0,i,(t=>e[t].start),r),o=s;if(1===n)for(;o<i&&e[o].end<r+t;)o++;else if(n>1){const a=Array(n).fill(0);for(;o<i&&a.some((e=>e<r+t));){const t=e[o];a[t.lane]=t.end,o++}const u=Array(n).fill(r+t);for(;s>=0&&u.some((e=>e>=r));){const t=e[s];u[t.lane]=t.start,s--}s=Math.max(0,s-s%n),o=Math.min(i,o+(n-1-o%n))}return{startIndex:s,endIndex:o}}({measurements:e,outerSize:t,scrollOffset:r,lanes:n}):null),{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=s((()=>{let e=null,t=null;const r=this.calculateRange();return r&&(e=r.startIndex,t=r.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]}),((e,t,r,n,i)=>null===n||null===i?[]:e({startIndex:n,endIndex:i,overscan:t,count:r})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,r=e.getAttribute(t);return r?parseInt(r,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const r=this.indexFromElement(e),n=this.measurementsCache[r];if(!n)return;const i=n.key,s=this.elementsCache.get(i);s!==e&&(s&&this.observer.unobserve(s),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(r,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const r=this.measurementsCache[e];if(!r)return;const n=t-(this.itemSizeCache.get(r.key)??r.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(r,n,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=n,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,t)),this.notify(!1))},this.measureElement=e=>{e?this._measureElement(e,void 0):this.elementsCache.forEach(((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))}))},this.getVirtualItems=s((()=>[this.getVirtualIndexes(),this.getMeasurements()]),((e,t)=>{const r=[];for(let n=0,i=e.length;n<i;n++){const i=t[e[n]];r.push(i)}return r}),{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();if(0!==t.length)return o(t[b(0,t.length-1,(e=>o(t[e]).start),e)])},this.getOffsetForAlignment=(e,t,r=0)=>{const n=this.getSize(),i=this.getScrollOffset();"auto"===t&&(t=e>=i+n?"end":"start"),"center"===t?e+=(r-n)/2:"end"===t&&(e-=n);const s=this.getTotalSize()+this.options.scrollMargin-n;return Math.max(Math.min(s,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const r=this.measurementsCache[e];if(!r)return;const n=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(r.end>=i+n-this.options.scrollPaddingEnd)t="end";else{if(!(r.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}const s="end"===t?r.end+this.options.scrollPaddingEnd:r.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(s,t,r.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(e,{align:t="start",behavior:r}={})=>{"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:r})},this.scrollToIndex=(e,{align:t="auto",behavior:r}={})=>{"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),e=Math.max(0,Math.min(e,this.options.count-1));let n=0;const i=t=>{if(!this.targetWindow)return;const n=this.getOffsetForIndex(e,t);if(!n)return void console.warn("Failed to get offset for index:",e);const[i,o]=n;this._scrollToOffset(i,{adjustments:void 0,behavior:r}),this.targetWindow.requestAnimationFrame((()=>{const t=this.getScrollOffset(),r=this.getOffsetForIndex(e,o);var n,i;r?(n=r[0],i=t,Math.abs(n-i)<1.01||s(o)):console.warn("Failed to get offset for index:",e)}))},s=t=>{this.targetWindow&&(n++,n<10?this.targetWindow.requestAnimationFrame((()=>i(t))):console.warn(`Failed to scroll to index ${e} after 10 attempts.`))};i(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let r;if(0===t.length)r=this.options.paddingStart;else if(1===this.options.lanes)r=(null==(e=t[t.length-1])?void 0:e.end)??0;else{const e=Array(this.options.lanes).fill(null);let n=t.length-1;for(;n>=0&&e.some((e=>null===e));){const r=t[n];null===e[r.lane]&&(e[r.lane]=r.end),n--}r=Math.max(...e.filter((e=>null!==e)))}return Math.max(r-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:r})=>{this.options.scrollToFn(e,{behavior:r,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}const b=(e,t,r,n)=>{for(;e<=t;){const i=(e+t)/2|0,s=r(i);if(s<n)e=i+1;else{if(!(s>n))return i;t=i-1}}return e>0?e-1:0},v="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function D(e){return function(e){const t=n.useReducer((()=>({})),{})[1],r={...e,onChange:(r,n)=>{var s;n?(0,i.flushSync)(t):t(),null==(s=e.onChange)||s.call(e,r,n)}},[s]=n.useState((()=>new y(r)));return s.setOptions(r),v((()=>s._didMount()),[]),v((()=>s._willUpdate())),s}({observeElementRect:p,observeElementOffset:f,scrollToFn:g,...e})}},90226:(e,t,r)=>{const n=r(27681),i=r(2943);e.exports=(e,t,r)=>{const s=[];let o=null,a=null;const u=e.sort(((e,t)=>i(e,t,r)));for(const e of u)n(e,t,r)?(a=e,o||(o=e)):(a&&s.push([o,a]),a=null,o=null);o&&s.push([o,null]);const l=[];for(const[e,t]of s)e===t?l.push(e):t||e!==u[0]?t?e===u[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const c=l.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return c.length<p.length?c:t}},90951:(e,t,r)=>{const{SymbolDispose:n}=r(12450),{AbortError:i,codes:s}=r(26503),{isNodeStream:o,isWebStream:a,kControllerErrorFunction:u}=r(97967),l=r(42882),{ERR_INVALID_ARG_TYPE:c}=s;let p;e.exports.addAbortSignal=function(t,r){if((e=>{if("object"!=typeof e||!("aborted"in e))throw new c("signal","AbortSignal",e)})(t),!o(r)&&!a(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return e.exports.addAbortSignalNoValidate(t,r)},e.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;const s=o(t)?()=>{t.destroy(new i(void 0,{cause:e.reason}))}:()=>{t[u](new i(void 0,{cause:e.reason}))};if(e.aborted)s();else{p=p||r(46108).addAbortListener;const i=p(e,s);l(t,i[n])}return t}},90978:e=>{e.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},91471:(e,t)=>{t.createdStores=[],t.createdActions=[],t.reset=function(){for(;t.createdStores.length;)t.createdStores.pop();for(;t.createdActions.length;)t.createdActions.pop()}},92161:(e,t,r)=>{const{isASCIIHex:n}=r(39080),{utf8Encode:i}=r(94989);function s(e){return e.codePointAt(0)}function o(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t=`0${t}`),`%${t}`}function a(e){const t=new Uint8Array(e.byteLength);let r=0;for(let i=0;i<e.byteLength;++i){const s=e[i];if(37!==s)t[r++]=s;else if(37!==s||n(e[i+1])&&n(e[i+2])){const n=parseInt(String.fromCodePoint(e[i+1],e[i+2]),16);t[r++]=n,i+=2}else t[r++]=s}return t.slice(0,r)}function u(e){return e<=31||e>126}const l=new Set([s(" "),s('"'),s("<"),s(">"),s("`")]),c=new Set([s(" "),s('"'),s("#"),s("<"),s(">")]);function p(e){return u(e)||c.has(e)}const h=new Set([s("?"),s("`"),s("{"),s("}")]);function d(e){return p(e)||h.has(e)}const f=new Set([s("/"),s(":"),s(";"),s("="),s("@"),s("["),s("\\"),s("]"),s("^"),s("|")]);function m(e){return d(e)||f.has(e)}const g=new Set([s("$"),s("%"),s("&"),s("+"),s(",")]),y=new Set([s("!"),s("'"),s("("),s(")"),s("~")]);function b(e,t){const r=i(e);let n="";for(const e of r)t(e)?n+=o(e):n+=String.fromCharCode(e);return n}e.exports={isC0ControlPercentEncode:u,isFragmentPercentEncode:function(e){return u(e)||l.has(e)},isQueryPercentEncode:p,isSpecialQueryPercentEncode:function(e){return p(e)||e===s("'")},isPathPercentEncode:d,isUserinfoPercentEncode:m,isURLEncodedPercentEncode:function(e){return function(e){return m(e)||g.has(e)}(e)||y.has(e)},percentDecodeString:function(e){return a(i(e))},percentDecodeBytes:a,utf8PercentEncodeString:function(e,t,r=!1){let n="";for(const i of e)n+=r&&" "===i?"+":b(i,t);return n},utf8PercentEncodeCodePoint:function(e,t){return b(String.fromCodePoint(e),t)}}},92248:(e,t,r)=>{const n=/\s+/g;class i{constructor(e,t){if(t=o(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!y(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,r=s.get(t);if(r)return r;const n=this.options.loose,i=n?c[p.HYPHENRANGELOOSE]:c[p.HYPHENRANGE];e=e.replace(i,I(this.options.includePrerelease)),u("hyphen replace",e),e=e.replace(c[p.COMPARATORTRIM],h),u("comparator trim",e),e=e.replace(c[p.TILDETRIM],d),u("tilde trim",e),e=e.replace(c[p.CARETTRIM],f),u("caret trim",e);let o=e.split(" ").map((e=>D(e,this.options))).join(" ").split(/\s+/).map((e=>F(e,this.options)));n&&(o=o.filter((e=>(u("loose invalid filter",e,this.options),!!e.match(c[p.COMPARATORLOOSE]))))),u("range list",o);const l=new Map,b=o.map((e=>new a(e,this.options)));for(const e of b){if(y(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const v=[...l.values()];return s.set(t,v),v}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(N(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const s=new(r(41013)),o=r(85890),a=r(37553),u=r(7341),l=r(66089),{safeRe:c,t:p,comparatorTrimReplace:h,tildeTrimReplace:d,caretTrimReplace:f}=r(42229),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:g}=r(76843),y=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,v=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every((e=>i.intersects(e,t))),i=n.pop();return r},D=(e,t)=>(e=e.replace(c[p.BUILD],""),u("comp",e,t),e=S(e,t),u("caret",e),e=x(e,t),u("tildes",e),e=A(e,t),u("xrange",e),e=P(e,t),u("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{const r=t.loose?c[p.TILDELOOSE]:c[p.TILDE];return e.replace(r,((t,r,n,i,s)=>{let o;return u("tilde",e,t,r,n,i,s),E(r)?o="":E(n)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:E(i)?o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(u("replaceTilde pr",s),o=`>=${r}.${n}.${i}-${s} <${r}.${+n+1}.0-0`):o=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,u("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>C(e,t))).join(" "),C=(e,t)=>{u("caret",e,t);const r=t.loose?c[p.CARETLOOSE]:c[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,i,s,o)=>{let a;return u("caret",e,t,r,i,s,o),E(r)?a="":E(i)?a=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(s)?a="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:o?(u("replaceCaret pr",o),a="0"===r?"0"===i?`>=${r}.${i}.${s}-${o} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}-${o} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s}-${o} <${+r+1}.0.0-0`):(u("no pr"),a="0"===r?"0"===i?`>=${r}.${i}.${s}${n} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s} <${+r+1}.0.0-0`),u("caret return",a),a}))},A=(e,t)=>(u("replaceXRanges",e,t),e.split(/\s+/).map((e=>T(e,t))).join(" ")),T=(e,t)=>{e=e.trim();const r=t.loose?c[p.XRANGELOOSE]:c[p.XRANGE];return e.replace(r,((r,n,i,s,o,a)=>{u("xRange",e,r,n,i,s,o,a);const l=E(i),c=l||E(s),p=c||E(o),h=p;return"="===n&&h&&(n=""),a=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(c&&(s=0),o=0,">"===n?(n=">=",c?(i=+i+1,s=0,o=0):(s=+s+1,o=0)):"<="===n&&(n="<",c?i=+i+1:s=+s+1),"<"===n&&(a="-0"),r=`${n+i}.${s}.${o}${a}`):c?r=`>=${i}.0.0${a} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${s}.0${a} <${i}.${+s+1}.0-0`),u("xRange return",r),r}))},P=(e,t)=>(u("replaceStars",e,t),e.trim().replace(c[p.STAR],"")),F=(e,t)=>(u("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),I=e=>(t,r,n,i,s,o,a,u,l,c,p,h)=>`${r=E(n)?"":E(i)?`>=${n}.0.0${e?"-0":""}`:E(s)?`>=${n}.${i}.0${e?"-0":""}`:o?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=E(l)?"":E(c)?`<${+l+1}.0.0-0`:E(p)?`<${l}.${+c+1}.0-0`:h?`<=${l}.${c}.${p}-${h}`:e?`<${l}.${c}.${+p+1}-0`:`<=${u}`}`.trim(),N=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(u(e[r].semver),e[r].semver!==a.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},93099:(e,t,r)=>{r(95421);var n=r(96652),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var s=Symbol.for;i=s("react.element"),t.Fragment=s("react.fragment")}var o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,s={},l=null,c=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!u.hasOwnProperty(n)&&(s[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===s[n]&&(s[n]=t[n]);return{$$typeof:i,type:e,key:l,ref:c,props:s,_owner:o.current}}t.jsx=l,t.jsxs=l},93369:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(96652);function i(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:"contentBoxSize"===t?e.contentRect["inlineSize"===r?"width":"height"]:void 0}function s(e){void 0===e&&(e={});var t=e.onResize,r=(0,n.useRef)(void 0);r.current=t;var s=e.round||Math.round,o=(0,n.useRef)(),a=(0,n.useState)({width:void 0,height:void 0}),u=a[0],l=a[1],c=(0,n.useRef)(!1);(0,n.useEffect)((function(){return c.current=!1,function(){c.current=!0}}),[]);var p=(0,n.useRef)({width:void 0,height:void 0}),h=function(e,t){var r=(0,n.useRef)(null),i=(0,n.useRef)(null);i.current=t;var s=(0,n.useRef)(null);(0,n.useEffect)((function(){o()}));var o=(0,n.useCallback)((function(){var t=s.current,n=i.current,o=t||(n?n instanceof Element?n:n.current:null);r.current&&r.current.element===o&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:o,subscriber:e,cleanup:o?e(o):void 0})}),[e]);return(0,n.useEffect)((function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}}),[]),(0,n.useCallback)((function(e){s.current=e,o()}),[o])}((0,n.useCallback)((function(t){return o.current&&o.current.box===e.box&&o.current.round===s||(o.current={box:e.box,round:s,instance:new ResizeObserver((function(t){var n=t[0],o="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",a=i(n,o,"inlineSize"),u=i(n,o,"blockSize"),h=a?s(a):void 0,d=u?s(u):void 0;if(p.current.width!==h||p.current.height!==d){var f={width:h,height:d};p.current.width=h,p.current.height=d,r.current?r.current(f):c.current||l(f)}}))}),o.current.instance.observe(t,{box:e.box}),function(){o.current&&o.current.instance.unobserve(t)}}),[e.box,s]),e.ref);return(0,n.useMemo)((function(){return{ref:h,width:u.width,height:u.height}}),[h,u.width,u.height])}},93874:(e,t,r)=>{const n=r(51182),i=r(83803),s=n.Readable.destroy;e.exports=n.Readable,e.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,e.exports._isUint8Array=n._isUint8Array,e.exports.isDisturbed=n.isDisturbed,e.exports.isErrored=n.isErrored,e.exports.isReadable=n.isReadable,e.exports.Readable=n.Readable,e.exports.Writable=n.Writable,e.exports.Duplex=n.Duplex,e.exports.Transform=n.Transform,e.exports.PassThrough=n.PassThrough,e.exports.addAbortSignal=n.addAbortSignal,e.exports.finished=n.finished,e.exports.destroy=n.destroy,e.exports.destroy=s,e.exports.pipeline=n.pipeline,e.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),e.exports.Stream=n.Stream,e.exports.default=e.exports},94271:(e,t,r)=>{function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?s(e.position):"start"in e||"end"in e?s(e):"line"in e||"column"in e?i(e):"":""}function i(e){return o(e&&e.line)+":"+o(e&&e.column)}function s(e){return i(e&&e.start)+"-"+i(e&&e.end)}function o(e){return e&&"number"==typeof e?e:1}r.d(t,{L:()=>n})},94677:e=>{var t=Math.pow(2,30)-1;e.exports=function(e,r){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof r)throw new TypeError("Key length not a number");if(r<0||r>t||r!=r)throw new TypeError("Bad key length")}},94989:e=>{const t=new TextEncoder,r=new TextDecoder("utf-8",{ignoreBOM:!0});e.exports={utf8Encode:function(e){return t.encode(e)},utf8DecodeWithoutBOM:function(e){return r.decode(e)}}},95497:(e,t,r)=>{r.d(t,{eC:()=>O,un:()=>ce,cX:()=>ae,v6:()=>P,vg:()=>U,I8:()=>ne,_q:()=>me,A5:()=>W,Bi:()=>S,Nf:()=>x,wt:()=>X});var n=r(96652),i=r.n(n);function s(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var o={};s(o,"SSRProvider",(()=>l)),s(o,"useSSRSafeId",(()=>p)),s(o,"useIsSSR",(()=>h));const a={prefix:String(Math.round(1e10*Math.random())),current:0},u=i().createContext(a);function l(e){let t=(0,n.useContext)(u),r=(0,n.useMemo)((()=>({prefix:t===a?"":`${t.prefix}-${++t.current}`,current:0})),[t]);return i().createElement(u.Provider,{value:r},e.children)}let c=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function p(e){let t=(0,n.useContext)(u);return t!==a||c||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,n.useMemo)((()=>e||`react-aria${t.prefix}-${++t.current}`),[e])}function h(){let e=(0,n.useContext)(u)!==a,[t,r]=(0,n.useState)(e);return"undefined"!=typeof window&&e&&(0,n.useLayoutEffect)((()=>{r(!1)}),[]),t}var d=r(83718);function f(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function m(e,t,r){let[i,s]=(0,n.useState)(e||t),o=(0,n.useRef)(void 0!==e),a=o.current,u=void 0!==e,l=(0,n.useRef)(i);a!==u&&console.warn(`WARN: A component changed from ${a?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}.`),o.current=u;let c=(0,n.useCallback)(((e,...t)=>{let n=(e,...t)=>{r&&(Object.is(l.current,e)||r(e,...t)),u||(l.current=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),s(((r,...i)=>{let s=e(u?l.current:r,...i);return n(s,...t),u?r:s}))):(u||s(e),n(e,...t))}),[u,r]);return u?l.current=e:e=i,[e,c]}f({},"useControlledState",(()=>m));var g={};function y(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function b(e,t,r,n){let i=(e-(isNaN(t)?0:t))%n,s=2*Math.abs(i)>=n?e+Math.sign(i)*(n-Math.abs(i)):e-i;isNaN(t)?!isNaN(r)&&s>r&&(s=Math.floor(r/n)*n):s<t?s=t:!isNaN(r)&&s>r&&(s=t+Math.floor((r-t)/n)*n);let o=n.toString(),a=o.indexOf("."),u=a>=0?o.length-a:0;if(u>0){let e=Math.pow(10,u);s=Math.round(s*e)/e}return s}function v(e,t,r=10){const n=Math.pow(r,t);return Math.round(e*n)/n}function D(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}f(g,"clamp",(()=>y)),f(g,"snapValueToStep",(()=>b)),f(g,"toFixedNumber",(()=>v));var E={};D(E,"useId",(()=>S)),D(E,"mergeIds",(()=>C)),D(E,"useSlotId",(()=>A)),D({},"useLayoutEffect",(()=>x));const x="undefined"!=typeof window?i().useLayoutEffect:()=>{};let w=new Map;function S(e){let[t,r]=(0,n.useState)(e),i=(0,n.useRef)(null),s=p(t),o=(0,n.useCallback)((e=>{i.current=e}),[]);return w.set(s,o),x((()=>{let e=s;return()=>{w.delete(e)}}),[s]),(0,n.useEffect)((()=>{let e=i.current;e&&(i.current=null,r(e))})),s}function C(e,t){if(e===t)return e;let r=w.get(e);if(r)return r(t),t;let n=w.get(t);return n?(n(e),e):t}function A(e=[]){let t=S(),[r,i]=ge(t),s=(0,n.useCallback)((()=>{i((function*(){yield t,yield document.getElementById(t)?t:null}))}),[t,i]);return x(s,[t,s,...e]),r}function T(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}function P(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],i=n[e];"function"==typeof r&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=T(r,i):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof r||"string"!=typeof i?"id"===e&&r&&i?t.id=C(r,i):t[e]=void 0!==i?i:r:t[e]=(0,d.A)(r,i)}}return t}function F(...e){return t=>{for(let r of e)"function"==typeof r?r(t):null!=r&&(r.current=t)}}D({},"chain",(()=>T)),D({},"mergeProps",(()=>P)),D({},"mergeRefs",(()=>F)),D({},"filterDOMProps",(()=>_));const I=new Set(["id"]),N=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),k=/^(data-.*)$/;function _(e,t={}){let{labelable:r,propNames:n}=t,i={};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(I.has(t)||r&&N.has(t)||(null==n?void 0:n.has(t))||k.test(t))&&(i[t]=e[t]);return i}function O(e){if(function(){if(null==M){M=!1;try{document.createElement("div").focus({get preventScroll(){return M=!0,!0}})}catch(e){}}return M}())e.focus({preventScroll:!0});else{let t=function(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}D({},"focusWithoutScrolling",(()=>O));let M=null;function L(e,t,r="horizontal"){let n=e.getBoundingClientRect();return t?"horizontal"===r?n.right:n.bottom:"horizontal"===r?n.left:n.top}D({},"getOffset",(()=>L));var B={};D(B,"clamp",(()=>y)),D(B,"snapValueToStep",(()=>b)),D({},"runAfterTransition",(()=>U));let R=new Map,j=new Set;function $(){if("undefined"==typeof window)return;let e=t=>{let r=R.get(t.target);if(r&&(r.delete(t.propertyName),0===r.size&&(t.target.removeEventListener("transitioncancel",e),R.delete(t.target)),0===R.size)){for(let e of j)e();j.clear()}};document.body.addEventListener("transitionrun",(t=>{let r=R.get(t.target);r||(r=new Set,R.set(t.target,r),t.target.addEventListener("transitioncancel",e)),r.add(t.propertyName)})),document.body.addEventListener("transitionend",e)}function U(e){requestAnimationFrame((()=>{0===R.size?e():j.add(e)}))}"undefined"!=typeof document&&("loading"!==document.readyState?$():document.addEventListener("DOMContentLoaded",$)),D({},"useDrag1D",(()=>V));const z=[];function V(e){console.warn("useDrag1D is deprecated, please use `useMove` instead https://react-spectrum.adobe.com/react-aria/useMove.html");let{containerRef:t,reverse:r,orientation:i,onHover:s,onDrag:o,onPositionChange:a,onIncrement:u,onDecrement:l,onIncrementToMax:c,onDecrementToMin:p,onCollapseToggle:h}=e,d=e=>{let n=L(t.current,r,i),s=(e=>"horizontal"===i?e.clientX:e.clientY)(e);return r?n-s:s-n},f=(0,n.useRef)(!1),m=(0,n.useRef)(0),g=(0,n.useRef)({onPositionChange:a,onDrag:o});g.current.onDrag=o,g.current.onPositionChange=a;let y=e=>{e.preventDefault();let t=d(e);f.current||(f.current=!0,g.current.onDrag&&g.current.onDrag(!0),g.current.onPositionChange&&g.current.onPositionChange(t)),m.current!==t&&(m.current=t,a&&a(t))},b=e=>{const t=e.target;f.current=!1;let r=d(e);g.current.onDrag&&g.current.onDrag(!1),g.current.onPositionChange&&g.current.onPositionChange(r),z.splice(z.indexOf(t),1),window.removeEventListener("mouseup",b,!1),window.removeEventListener("mousemove",y,!1)};return{onMouseDown:e=>{const t=e.currentTarget;z.some((e=>t.contains(e)))||(z.push(t),window.addEventListener("mousemove",y,!1),window.addEventListener("mouseup",b,!1))},onMouseEnter:()=>{s&&s(!0)},onMouseOut:()=>{s&&s(!1)},onKeyDown:e=>{switch(e.key){case"Left":case"ArrowLeft":"horizontal"===i&&(e.preventDefault(),l&&!r?l():u&&r&&u());break;case"Up":case"ArrowUp":"vertical"===i&&(e.preventDefault(),l&&!r?l():u&&r&&u());break;case"Right":case"ArrowRight":"horizontal"===i&&(e.preventDefault(),u&&!r?u():l&&r&&l());break;case"Down":case"ArrowDown":"vertical"===i&&(e.preventDefault(),u&&!r?u():l&&r&&l());break;case"Home":e.preventDefault(),p&&p();break;case"End":e.preventDefault(),c&&c();break;case"Enter":e.preventDefault(),h&&h()}}}}function W(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)(((t,r,n,i)=>{let s=(null==i?void 0:i.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:s,options:i}),t.addEventListener(r,n,i)}),[]),r=(0,n.useCallback)(((t,r,n,i)=>{var s;let o=(null===(s=e.current.get(n))||void 0===s?void 0:s.fn)||n;t.removeEventListener(r,o,i),e.current.delete(n)}),[]),i=(0,n.useCallback)((()=>{e.current.forEach(((e,t)=>{r(e.eventTarget,e.type,t,e.options)}))}),[r]);return(0,n.useEffect)((()=>i),[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}function H(e,t){let{id:r,"aria-label":n,"aria-labelledby":i}=e;if(r=S(r),i&&n){let e=new Set([...i.trim().split(/\s+/),r]);i=[...e].join(" ")}else i&&(i=i.trim().split(/\s+/).join(" "));return n||i||!t||(n=t),{id:r,"aria-label":n,"aria-labelledby":i}}function q(e){const t=(0,n.useRef)();return x((()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)}),[e]),t}function G(e,t){const r=(0,n.useRef)(!0);(0,n.useEffect)((()=>{r.current?r.current=!1:e()}),t)}function K(e){const{ref:t,onResize:r}=e;(0,n.useEffect)((()=>{let e=null==t?void 0:t.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};{const t=new window.ResizeObserver((e=>{e.length&&r()}));return t.observe(e),()=>{e&&t.unobserve(e)}}}}),[r,t])}function X(e,t){x((()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}}),[e,t])}function J(e){for(;e&&!Y(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Y(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}D({},"useGlobalListeners",(()=>W)),D({},"useLabels",(()=>H)),D({},"useObjectRef",(()=>q)),D({},"useUpdateEffect",(()=>G)),D({},"useResizeObserver",(()=>K)),D({},"useSyncRef",(()=>X)),D({},"getScrollParent",(()=>J)),D({},"useViewportSize",(()=>Q));let Z="undefined"!=typeof window&&window.visualViewport;function Q(){let[e,t]=(0,n.useState)((()=>ee()));return(0,n.useEffect)((()=>{let e=()=>{t((e=>{let t=ee();return t.width===e.width&&t.height===e.height?e:t}))};return Z?Z.addEventListener("resize",e):window.addEventListener("resize",e),()=>{Z?Z.removeEventListener("resize",e):window.removeEventListener("resize",e)}}),[]),e}function ee(){return{width:(null==Z?void 0:Z.width)||window.innerWidth,height:(null==Z?void 0:Z.height)||window.innerHeight}}D({},"useDescription",(()=>ne));let te=0;const re=new Map;function ne(e){let[t,r]=(0,n.useState)(null);return x((()=>{if(!e)return;let t=re.get(e);if(t)r(t.element.id);else{let n="react-aria-description-"+te++;r(n);let i=document.createElement("div");i.id=n,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},re.set(e,t)}return t.refCount++,()=>{0==--t.refCount&&(t.element.remove(),re.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}var ie={};function se(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function oe(e){return"undefined"!=typeof window&&null!=window.navigator&&e.test((window.navigator.userAgentData||window.navigator).platform)}function ae(){return oe(/^Mac/i)}function ue(){return oe(/^iPhone/i)}function le(){return oe(/^iPad/i)||ae()&&navigator.maxTouchPoints>1}function ce(){return ue()||le()}function pe(){return ae()||ce()}function he(){return se(/AppleWebKit/i)&&!de()}function de(){return se(/Chrome/i)}function fe(){return se(/Android/i)}function me(e,t,r,i){let s=(0,n.useRef)(r);s.current=r;let o=null==r;(0,n.useEffect)((()=>{if(o)return;let r=e.current,n=e=>s.current.call(this,e);return r.addEventListener(t,n,i),()=>{r.removeEventListener(t,n,i)}}),[e,t,i,o])}function ge(e){let[t,r]=(0,n.useState)(e),i=(0,n.useRef)(t),s=(0,n.useRef)(null);i.current=t;let o=(0,n.useRef)(null);o.current=()=>{let e=s.current.next();e.done?s.current=null:t===e.value?o.current():r(e.value)},x((()=>{s.current&&o.current()}));let a=(0,n.useCallback)((e=>{s.current=e(i.current),o.current()}),[s,o]);return[t,a]}function ye(e,t){let r=be(e,t,"left"),n=be(e,t,"top"),i=t.offsetWidth,s=t.offsetHeight,o=e.scrollLeft,a=e.scrollTop,u=o+e.offsetWidth,l=a+e.offsetHeight;r<=o?o=r:r+i>u&&(o+=r+i-u),n<=a?a=n:n+s>l&&(a+=n+s-l),e.scrollLeft=o,e.scrollTop=a}function be(e,t,r){const n="left"===r?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[n];break}t=t.offsetParent}return i}D(ie,"isMac",(()=>ae)),D(ie,"isIPhone",(()=>ue)),D(ie,"isIPad",(()=>le)),D(ie,"isIOS",(()=>ce)),D(ie,"isAppleDevice",(()=>pe)),D(ie,"isWebKit",(()=>he)),D(ie,"isChrome",(()=>de)),D(ie,"isAndroid",(()=>fe)),D({},"useEvent",(()=>me)),D({},"useValueEffect",(()=>ge)),D({},"scrollIntoView",(()=>ye))},95815:(e,t,r)=>{r.d(t,{HY:()=>c,Tw:()=>h,Yl:()=>l,y$:()=>u});var n=r(48122);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",o=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(i(1));return r(u)(e,t)}if("function"!=typeof e)throw new Error(i(2));var o=e,l=t,c=[],p=c,h=!1;function d(){p===c&&(p=c.slice())}function f(){if(h)throw new Error(i(3));return l}function m(e){if("function"!=typeof e)throw new Error(i(4));if(h)throw new Error(i(5));var t=!0;return d(),p.push(e),function(){if(t){if(h)throw new Error(i(6));t=!1,d();var r=p.indexOf(e);p.splice(r,1),c=null}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(i(7));if(void 0===e.type)throw new Error(i(8));if(h)throw new Error(i(9));try{h=!0,l=o(l,e)}finally{h=!1}for(var t=c=p,r=0;r<t.length;r++)(0,t[r])();return e}return g({type:a.INIT}),(n={dispatch:g,subscribe:m,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw new Error(i(10));o=e,g({type:a.REPLACE})}})[s]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(i(11));function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[s]=function(){return this},e},n}var l=u;function c(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var s=t[n];"function"==typeof e[s]&&(r[s]=e[s])}var o,u=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:a.INIT}))throw new Error(i(12));if(void 0===r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(r)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var n=!1,s={},a=0;a<u.length;a++){var l=u[a],c=r[l],p=e[l],h=c(p,t);if(void 0===h)throw t&&t.type,new Error(i(14));s[l]=h,n=n||h!==p}return(n=n||u.length!==Object.keys(e).length)?s:e}}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),s=function(){throw new Error(i(15))},o={getState:r.getState,dispatch:function(){return s.apply(void 0,arguments)}},a=t.map((function(e){return e(o)}));return s=p.apply(void 0,a)(r.dispatch),(0,n.A)((0,n.A)({},r),{},{dispatch:s})}}}},96065:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,null,!0),i=n(t,null,!0),s=r.compare(i);if(0===s)return null;const o=s>0,a=o?r:i,u=o?i:r,l=!!a.prerelease.length;if(u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(0===u.compareMain(a))return u.minor&&!u.patch?"minor":"patch"}const c=l?"pre":"";return r.major!==i.major?c+"major":r.minor!==i.minor?c+"minor":r.patch!==i.patch?c+"patch":"prerelease"}},96073:e=>{e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},96208:(e,t,r)=>{function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},96362:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(6022),i=r(63706),s=r(41381),o=r(70161),a=function(e){function t(){return e.apply(this,arguments)||this}(0,n.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){return new i.TileLayer(e.url,this.getOptions(e))},r.updateLeafletElement=function(t,r){e.prototype.updateLeafletElement.call(this,t,r),r.url!==t.url&&this.leafletElement.setUrl(r.url)},t}(function(e){function t(){return e.apply(this,arguments)||this}(0,n.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){return new i.GridLayer(this.getOptions(e))},r.updateLeafletElement=function(e,t){var r=t.opacity,n=t.zIndex;r!==e.opacity&&this.leafletElement.setOpacity(r),n!==e.zIndex&&this.leafletElement.setZIndex(n)},r.getOptions=function(t){var r=e.prototype.getOptions.call(this,t);return null==t.leaflet.map?r:(0,o.A)({maxZoom:t.leaflet.map.options.maxZoom,minZoom:t.leaflet.map.options.minZoom},r)},r.render=function(){return null},t}(r(44707).A));const u=(0,s.k0)(a)},96750:(e,t,r)=>{const n=r(87998);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},97199:(e,t,r)=>{var n=r(96652),i=r(58695),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,a=n.useRef,u=n.useEffect,l=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var p=a(null);if(null===p.current){var h={hasValue:!1,value:null};p.current=h}else h=p.current;p=l((function(){function e(e){if(!u){if(u=!0,o=e,e=n(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return a=t}return a=e}if(t=a,s(o,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(o=e,t):(o=e,a=r)}var o,a,u=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,r,n,i]);var d=o(e,p[0],p[1]);return u((function(){h.hasValue=!0,h.value=d}),[d]),c(d),d}},97863:(e,t,r)=>{const{MathFloor:n,NumberIsInteger:i}=r(12450),{validateInteger:s}=r(79337),{ERR_INVALID_ARG_VALUE:o}=r(26503).codes;let a=16384,u=16;function l(e){return e?u:a}e.exports={getHighWaterMark:function(e,t,r,s){const a=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,r);if(null!=a){if(!i(a)||a<0)throw new o(s?`options.${r}`:"options.highWaterMark",a);return n(a)}return l(e.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(e,t){s(t,"value",0),e?u=t:a=t}}},97957:(e,t,r)=>{const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:s,Uint8Array:o}=r(12450),{Buffer:a}=r(67787),{inspect:u}=r(46108);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return a.alloc(0);const t=a.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)s(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,i=0;do{const s=r.data;if(!(e>s.length)){e===s.length?(t+=s,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(s,0,e),this.head=r,r.data=n(s,e));break}t+=s,e-=s.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){const t=a.allocUnsafe(e),r=e;let n=this.head,i=0;do{const a=n.data;if(!(e>a.length)){e===a.length?(s(t,a,r-e),++i,n.next?this.head=n.next:this.head=this.tail=null):(s(t,new o(a.buffer,a.byteOffset,e),r-e),this.head=n,n.data=a.slice(e));break}s(t,a,r-e),e-=a.length,++i}while(null!==(n=n.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return u(this,{...t,depth:0,customInspect:!1})}}},97967:(e,t,r)=>{const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:s}=r(12450),o=s("nodejs.stream.destroyed"),a=s("nodejs.stream.errored"),u=s("nodejs.stream.readable"),l=s("nodejs.stream.writable"),c=s("nodejs.stream.disturbed"),p=s("nodejs.webstream.isClosedPromise"),h=s("nodejs.webstream.controllerErrorFunction");function d(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||void 0===r?void 0:r.readable)||e._writableState&&!e._readableState)}function f(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function m(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function g(e){return!(!e||m(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function y(e){return!(!e||m(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function b(e){return!(!e||m(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function v(e){if(!m(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[o]||null!=n&&n.destroyed)}function D(e){if(!f(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function E(e,t){if(!d(e))return null;const r=e._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function x(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!v(e)&&d(e)&&e.readable&&!E(e)}function w(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null==e?void 0:e.writable)?null:!v(e)&&f(e)&&e.writable&&!D(e)}function S(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function C(e){return"boolean"==typeof e._sent100&&S(e)}e.exports={isDestroyed:v,kIsDestroyed:o,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,i,s,o,u,l,c,p;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e[a])&&void 0!==o?o:e.readableErrored)&&void 0!==s?s:e.writableErrored)&&void 0!==i?i:null===(u=e._readableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==n?n:null===(l=e._writableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==t?t:null===(p=e._writableState)||void 0===p?void 0:p.errored))},kIsErrored:a,isReadable:x,kIsReadable:u,kIsClosedPromise:p,kControllerErrorFunction:h,kIsWritable:l,isClosed:function(e){if(!m(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==t?void 0:t.closed)||(null==r?void 0:r.closed):"boolean"==typeof e._closed&&S(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return m(e)?!(!v(e)&&(!1!==(null==t?void 0:t.readable)&&x(e)||!1!==(null==t?void 0:t.writable)&&w(e))):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[i]:"function"==typeof e[n]||"function"==typeof e[i])},isReadableNodeStream:d,isReadableStream:g,isReadableEnded:function(e){if(!d(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:E,isReadableErrored:function(e){var t,r;return m(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:m,isWebStream:function(e){return g(e)||y(e)||b(e)},isWritable:w,isWritableNodeStream:f,isWritableStream:y,isWritableEnded:D,isWritableFinished:function(e,t){if(!f(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return m(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:C,willEmitClose:function(e){if(!m(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&C(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:b}},98437:(e,t,r)=>{var n=r(65994).e,i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},s=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(l(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(s,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])y(a)||!x(a)?o+=" "+a:o+=" "+l(a);return o},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var o={},a=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+u+"$","i")}function l(e,r){var n={seen:[],stylize:p};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),D(n.showHidden)&&(n.showHidden=!1),D(n.depth)&&(n.depth=2),D(n.colors)&&(n.colors=!1),D(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),h(n,e,n.depth)}function c(e,t){var r=l.styles[t];return r?"["+l.colors[r][0]+"m"+e+"["+l.colors[r][1]+"m":e}function p(e,t){return e}function h(e,r,n){if(e.customInspect&&r&&C(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return v(i)||(i=h(e,i,n)),i}var s=function(e,t){if(D(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return b(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}(e,r);if(s)return s;var o=Object.keys(r),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),S(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return d(r);if(0===o.length){if(C(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return d(r)}var l,c="",p=!1,x=["{","}"];return m(r)&&(p=!0,x=["[","]"]),C(r)&&(c=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(c=" "+RegExp.prototype.toString.call(r)),w(r)&&(c=" "+Date.prototype.toUTCString.call(r)),S(r)&&(c=" "+d(r)),0!==o.length||p&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=p?function(e,t,r,n,i){for(var s=[],o=0,a=t.length;o<a;++o)F(t,String(o))?s.push(f(e,t,r,n,String(o),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(f(e,t,r,n,i,!0))})),s}(e,r,n,a,o):o.map((function(t){return f(e,r,n,a,t,p)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(l,c,x)):x[0]+c+x[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,s){var o,a,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),F(n,i)||(o="["+i+"]"),a||(e.seen.indexOf(u.value)<0?(a=y(r)?h(e,u.value,null):h(e,u.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),D(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function b(e){return"number"==typeof e}function v(e){return"string"==typeof e}function D(e){return void 0===e}function E(e){return x(e)&&"[object RegExp]"===A(e)}function x(e){return"object"==typeof e&&null!==e}function w(e){return x(e)&&"[object Date]"===A(e)}function S(e){return x(e)&&("[object Error]"===A(e)||e instanceof Error)}function C(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var r=n.pid;o[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else o[e]=function(){};return o[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(29892),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=D,t.isRegExp=E,t.types.isRegExp=E,t.isObject=x,t.isDate=w,t.types.isDate=w,t.isError=S,t.types.isNativeError=S,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(71267);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[T((e=new Date).getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":"),[e.getDate(),P[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(25003),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function N(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(I&&e[I]){var t;if("function"!=typeof(t=e[I]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),I&&Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=I,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};e.apply(this,t).then((function(e){n.nextTick(o.bind(null,null,e))}),(function(e){n.nextTick(N.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},98999:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,u=[],l=!1,c=-1;function p(){l&&a&&(l=!1,a.length?u=a.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=o(p);l=!0;for(var t=u.length;t;){for(a=u,u=[];++c<t;)a&&a[c].run();c=-1,t=u.length}a=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function f(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new d(e,t)),1!==u.length||l||o(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}};
|