/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/vite-plugin-remove-console@2.2.0/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";var path=require("path"),zB=Object.create,D1=Object.defineProperty,XB=Object.getOwnPropertyDescriptor,KB=Object.getOwnPropertyNames,JB=Object.getPrototypeOf,WB=Object.prototype.hasOwnProperty,am=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):e)((function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')})),GB=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),YB=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of KB(t))!WB.call(e,i)&&i!==r&&D1(e,i,{get:()=>t[i],enumerable:!(n=XB(t,i))||n.enumerable});return e},HB=(e,t,r)=>(r=null!=e?zB(JB(e)):{},YB(!t&&e&&e.__esModule?r:D1(r,"default",{value:e,enumerable:!0}),e)),C1=GB(((e,t)=>{var r,n;r=e,n=function(){var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}var r=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}var s=n,a=i;function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch{try{return s.call(null,e,0)}catch{return s.call(this,e,0)}}}"function"==typeof r.setTimeout&&(s=setTimeout),"function"==typeof r.clearTimeout&&(a=clearTimeout);var l,u=[],c=!1,p=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):p=-1,u.length&&d())}function d(){if(!c){var e=o(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++p<t;)l&&l[p].run();p=-1,t=u.length}l=null,c=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===i||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch{try{return a.call(null,e)}catch{return a.call(this,e)}}}(e)}}function f(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 m(e,t)),1!==u.length||c||o(d)}function m(e,t){this.fun=e,this.array=t}function y(){}m.prototype.run=function(){this.fun.apply(null,this.array)};var g=y,x=y,v=y,E=y,b=y,S=y,T=y,A=r.performance||{},D=A.now||A.mozNow||A.msNow||A.oNow||A.webkitNow||function(){return(new Date).getTime()},C=new Date,w={nextTick:f,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:g,addListener:x,once:v,off:E,removeListener:b,removeAllListeners:S,emit:T,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*D.call(A),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-C)/1e3}},P={},k=t(Object.freeze({__proto__:null,default:{}})),N={},_=function(e,t){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},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)},F=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function I(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 B(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.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 a}function L(e){return this instanceof L?(this.v=e,this):new L(e)}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},R=Object.freeze({__proto__:null,__extends:function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},get __assign(){return O},__rest:function(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},__decorate:function(e,t,r,n){var i,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(a=(s<3?i(a):s>3?i(t,r,a):i(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},__param:function(e,t){return function(r,n){t(r,n,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,r,n){return new(r||(r=Promise))((function(i,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,o)}l((n=n.apply(e,t||[])).next())}))},__generator:function(e,t){var r,n,i,s,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}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,o])}}},__createBinding:F,__exportStar:function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||F(t,e,r)},__values:I,__read:B,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(B(arguments[t]));return e},__spreadArrays:function(){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],a=0,o=s.length;a<o;a++,i++)n[i]=s[a];return n},__spreadArray:function(e,t,r){if(r||2===arguments.length)for(var n,i=0,s=t.length;i<s;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},__await:L,__asyncGenerator:function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||o(e,t)}))})}function o(e,t){try{(r=i[e](t)).value instanceof L?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}var r}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}},__asyncDelegator:function(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:L(e[n](t)),done:"return"===n}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=I(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){var s,a,o,l;s=n,a=i,o=(t=e[r](t)).done,l=t.value,Promise.resolve(l).then((function(e){s({value:e,done:o})}),a)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&F(t,e,r);return M(t,e),t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},__classPrivateFieldSet:function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},__classPrivateFieldIn:function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}}),j=t(R),U={exports:{}},$={};Object.defineProperty($,"__esModule",{value:!0}),$.Def=void 0;var q=j,V=Object.prototype,z=V.toString,X=V.hasOwnProperty,J=function(){function e(){}return e.prototype.assert=function(e,t){if(!this.check(e,t)){var r=ee(e);throw new Error(r+" does not match type "+this)}return!0},e.prototype.arrayOf=function(){return new K(this)},e}(),K=function(e){function t(t){var r=e.call(this)||this;return r.elemType=t,r.kind="ArrayType",r}return q.__extends(t,e),t.prototype.toString=function(){return"["+this.elemType+"]"},t.prototype.check=function(e,t){var r=this;return Array.isArray(e)&&e.every((function(e){return r.elemType.check(e,t)}))},t}(J),W=function(e){function t(t){var r=e.call(this)||this;return r.value=t,r.kind="IdentityType",r}return q.__extends(t,e),t.prototype.toString=function(){return String(this.value)},t.prototype.check=function(e,t){var r=e===this.value;return r||"function"!=typeof t||t(this,e),r},t}(J),G=function(e){function t(t){var r=e.call(this)||this;return r.fields=t,r.kind="ObjectType",r}return q.__extends(t,e),t.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},t.prototype.check=function(e,t){return z.call(e)===z.call({})&&this.fields.every((function(r){return r.type.check(e[r.name],t)}))},t}(J),Y=function(e){function t(t){var r=e.call(this)||this;return r.types=t,r.kind="OrType",r}return q.__extends(t,e),t.prototype.toString=function(){return this.types.join(" | ")},t.prototype.check=function(e,t){return this.types.some((function(r){return r.check(e,t)}))},t}(J),H=function(e){function t(t,r){var n=e.call(this)||this;return n.name=t,n.predicate=r,n.kind="PredicateType",n}return q.__extends(t,e),t.prototype.toString=function(){return this.name},t.prototype.check=function(e,t){var r=this.predicate(e,t);return r||"function"!=typeof t||t(this,e),r},t}(J),Q=function(){function e(e,t){this.type=e,this.typeName=t,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return e.prototype.isSupertypeOf=function(t){if(t instanceof e){if(!0!==this.finalized||!0!==t.finalized)throw new Error("");return X.call(t.allSupertypes,this.typeName)}throw new Error(t+" is not a Def")},e.prototype.checkAllFields=function(e,t){var r=this.allFields;if(!0!==this.finalized)throw new Error(""+this.typeName);return null!==e&&"object"==typeof e&&Object.keys(r).every((function(n){var i=r[n],s=i.type,a=i.getValue(e);return s.check(a,t)}))},e.prototype.bases=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.baseNames;if(this.finalized){if(e.length!==r.length)throw new Error("");for(var n=0;n<e.length;n++)if(e[n]!==r[n])throw new Error("");return this}return e.forEach((function(e){r.indexOf(e)<0&&r.push(e)})),this},e}();$.Def=Q;var Z=function(){function e(e,t,r,n){this.name=e,this.type=t,this.defaultFn=r,this.hidden=!!n}return e.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},e.prototype.getValue=function(e){var t=e[this.name];return void 0!==t||"function"==typeof this.defaultFn&&(t=this.defaultFn.call(e)),t},e}();function ee(e){return Array.isArray(e)?"["+e.map(ee).join(", ")+"]":e&&"object"==typeof e?"{ "+Object.keys(e).map((function(t){return t+": "+e[t]})).join(", ")+" }":JSON.stringify(e)}$.default=function(e){var t={or:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new Y(e.map((function(e){return t.from(e)})))},from:function(e,i){if(e instanceof K||e instanceof W||e instanceof G||e instanceof Y||e instanceof H)return e;if(e instanceof Q)return e.type;if(o.check(e)){if(1!==e.length)throw new Error("only one element type is permitted for typed arrays");return new K(t.from(e[0]))}if(l.check(e))return new G(Object.keys(e).map((function(r){return new Z(r,t.from(e[r],r))})));if("function"==typeof e){var s=r.indexOf(e);if(s>=0)return n[s];if("string"!=typeof i)throw new Error("missing name");return new H(i,e)}return new W(e)},def:function(e){return X.call(y,e)?y[e]:y[e]=new x(e)},hasDef:function(e){return X.call(y,e)}},r=[],n=[];function i(e,t){var i=z.call(t),s=new H(e,(function(e){return z.call(e)===i}));return t&&"function"==typeof t.constructor&&(r.push(t.constructor),n.push(s)),s}var s=i("string","truthy"),a=i("function",(function(){})),o=i("array",[]),l=i("object",{}),u=i("RegExp",/./),c=i("Date",new Date),p=i("number",3),h=i("boolean",!0),d=i("null",null),f=i("undefined",void 0),m={string:s,function:a,array:o,object:l,RegExp:u,Date:c,number:p,boolean:h,null:d,undefined:f},y=Object.create(null);function g(e){if(e&&"object"==typeof e){var t=e.type;if("string"==typeof t&&X.call(y,t)){var r=y[t];if(r.finalized)return r}}return null}var x=function(e){function r(t){var r=e.call(this,new H(t,(function(e,t){return r.check(e,t)})),t)||this;return r}return q.__extends(r,e),r.prototype.check=function(e,t){if(!0!==this.finalized)throw new Error("prematurely checking unfinalized type "+this.typeName);if(null===e||"object"!=typeof e)return!1;var r=g(e);return r?t&&r===this?this.checkAllFields(e,t):!!this.isSupertypeOf(r)&&(!t||r.checkAllFields(e,t)&&this.checkAllFields(e,!1)):("SourceLocation"===this.typeName||"Position"===this.typeName)&&this.checkAllFields(e,t)},r.prototype.build=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(this.buildParams=t,this.buildable)return this;this.field("type",String,(function(){return e.typeName})),this.buildable=!0;var n=function(t,r,n,i){if(!X.call(t,r)){var s=e.allFields;if(!X.call(s,r))throw new Error(""+r);var a,o=s[r],l=o.type;if(i)a=n;else{if(!o.defaultFn){var u="no value or default function given for field "+JSON.stringify(r)+" of "+e.typeName+"("+e.buildParams.map((function(e){return s[e]})).join(", ")+")";throw new Error(u)}a=o.defaultFn.call(t)}if(!l.check(a))throw new Error(ee(a)+" does not match field "+o+" of type "+e.typeName);t[r]=a}},i=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=t.length;if(!e.finalized)throw new Error("attempting to instantiate unfinalized type "+e.typeName);var s=Object.create(E);if(e.buildParams.forEach((function(e,r){r<i?n(s,e,t[r],!0):n(s,e,null,!1)})),Object.keys(e.allFields).forEach((function(e){n(s,e,null,!1)})),s.type!==e.typeName)throw new Error("");return s};return i.from=function(t){if(!e.finalized)throw new Error("attempting to instantiate unfinalized type "+e.typeName);var r=Object.create(E);if(Object.keys(e.allFields).forEach((function(e){X.call(t,e)?n(r,e,t[e],!0):n(r,e,null,!1)})),r.type!==e.typeName)throw new Error("");return r},Object.defineProperty(v,b(this.typeName),{enumerable:!0,value:i}),this},r.prototype.field=function(e,r,n,i){return this.finalized?(console.error("Ignoring attempt to redefine field "+JSON.stringify(e)+" of finalized type "+JSON.stringify(this.typeName)),this):(this.ownFields[e]=new Z(e,t.from(r),n,i),this)},r.prototype.finalize=function(){var e=this;if(!this.finalized){var t=this.allFields,r=this.allSupertypes;for(var n in this.baseNames.forEach((function(n){var i=y[n];if(!(i instanceof Q)){var s="unknown supertype name "+JSON.stringify(n)+" for subtype "+JSON.stringify(e.typeName);throw new Error(s)}i.finalize(),C(t,i.allFields),C(r,i.allSupertypes)})),C(t,this.ownFields),r[this.typeName]=this,this.fieldNames.length=0,t)X.call(t,n)&&!t[n].hidden&&this.fieldNames.push(n);Object.defineProperty(T,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,function(e,t){t.length=0,t.push(e);for(var r=Object.create(null),n=0;n<t.length;++n){e=t[n];var i=y[e];if(!0!==i.finalized)throw new Error("");X.call(r,e)&&delete t[r[e]],r[e]=n,t.push.apply(t,i.baseNames)}for(var s=0,a=s,o=t.length;a<o;++a)X.call(t,a)&&(t[s++]=t[a]);t.length=s}(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&function(e){var t=S(e);if(!v[t]){var r=v[b(e)];if(r){var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v.expressionStatement(r.apply(v,e))};n.from=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v.expressionStatement(r.from.apply(v,e))},v[t]=n}}}(this.typeName)}},r}(Q),v=Object.create(null),E={};function b(e){return e.replace(/^[A-Z]+/,(function(e){var t=e.length;switch(t){case 0:return"";case 1:return e.toLowerCase();default:return e.slice(0,t-1).toLowerCase()+e.charAt(t-1)}}))}function S(e){return(e=b(e)).replace(/(Expression)?$/,"Statement")}var T={};function A(e){var t=g(e);if(t)return t.fieldNames.slice(0);if("type"in e)throw new Error("did not recognize object of type "+JSON.stringify(e.type));return Object.keys(e)}function D(e,t){var r=g(e);if(r){var n=r.allFields[t];if(n)return n.getValue(e)}return e&&e[t]}function C(e,t){return Object.keys(t).forEach((function(r){e[r]=t[r]})),e}return{Type:t,builtInTypes:m,getSupertypeNames:function(e){if(!X.call(y,e))throw new Error("");var t=y[e];if(!0!==t.finalized)throw new Error("");return t.supertypeList.slice(1)},computeSupertypeLookupTable:function(e){for(var t={},r=Object.keys(y),n=r.length,i=0;i<n;++i){var s=r[i],a=y[s];if(!0!==a.finalized)throw new Error(""+s);for(var o=0;o<a.supertypeList.length;++o){var l=a.supertypeList[o];if(X.call(e,l)){t[s]=l;break}}}return t},builders:v,defineMethod:function(e,t){var r=E[e];return f.check(t)?delete E[e]:(a.assert(t),Object.defineProperty(E,e,{enumerable:!0,configurable:!0,value:t})),r},getBuilderName:b,getStatementBuilderName:S,namedTypes:T,getFieldNames:A,getFieldValue:D,eachField:function(e,t,r){A(e).forEach((function(r){t.call(this,r,D(e,r))}),r)},someField:function(e,t,r){return A(e).some((function(r){return t.call(this,r,D(e,r))}),r)},finalize:function(){Object.keys(y).forEach((function(e){y[e].finalize()}))}}};var te={exports:{}},re={exports:{}},ne={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j.__importDefault($),n=Object.prototype.hasOwnProperty;t.default=function(e){var t=e.use(r.default),i=t.builtInTypes.array,s=t.builtInTypes.number,a=function e(t,r,n){if(!(this instanceof e))throw new Error("Path constructor cannot be invoked without 'new'");if(r){if(!(r instanceof e))throw new Error("")}else r=null,n=null;this.value=t,this.parentPath=r,this.name=n,this.__childCache=null},o=a.prototype;function l(e){return e.__childCache||(e.__childCache=Object.create(null))}function u(e,t){var r=l(e),i=e.getValueProperty(t),s=r[t];return n.call(r,t)&&s.value===i||(s=r[t]=new e.constructor(i,e,t)),s}function c(){}function p(e,t,r,a){if(i.assert(e.value),0===t)return c;var o=e.value.length;if(o<1)return c;var u=arguments.length;2===u?(r=0,a=o):3===u?(r=Math.max(r,0),a=o):(r=Math.max(r,0),a=Math.min(a,o)),s.assert(r),s.assert(a);for(var p=Object.create(null),h=l(e),d=r;d<a;++d)if(n.call(e.value,d)){var f=e.get(d);if(f.name!==d)throw new Error("");var m=d+t;f.name=m,p[m]=f,delete h[d]}return delete h.length,function(){for(var t in p){var r=p[t];if(r.name!==+t)throw new Error("");h[t]=r,e.value[t]=r.value}}}return o.getValueProperty=function(e){return this.value[e]},o.get=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=this,n=e.length,i=0;i<n;++i)r=u(r,e[i]);return r},o.each=function(e,t){var r=[],i=this.value.length,s=0;for(s=0;s<i;++s)n.call(this.value,s)&&(r[s]=this.get(s));for(t=t||this,s=0;s<i;++s)n.call(r,s)&&e.call(t,r[s])},o.map=function(e,t){var r=[];return this.each((function(t){r.push(e.call(this,t))}),t),r},o.filter=function(e,t){var r=[];return this.each((function(t){e.call(this,t)&&r.push(t)}),t),r},o.shift=function(){var e=p(this,-1),t=this.value.shift();return e(),t},o.unshift=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=p(this,e.length),n=this.value.unshift.apply(this.value,e);return r(),n},o.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.assert(this.value),delete l(this).length,this.value.push.apply(this.value,e)},o.pop=function(){i.assert(this.value);var e=l(this);return delete e[this.value.length-1],delete e.length,this.value.pop()},o.insertAt=function(e){var t=arguments.length,r=p(this,t-1,e);if(r===c&&t<=1)return this;e=Math.max(e,0);for(var n=1;n<t;++n)this.value[e+n-1]=arguments[n];return r(),this},o.insertBefore=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=this.parentPath,n=e.length,i=[this.name],s=0;s<n;++s)i.push(e[s]);return r.insertAt.apply(r,i)},o.insertAfter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=this.parentPath,n=e.length,i=[this.name+1],s=0;s<n;++s)i.push(e[s]);return r.insertAt.apply(r,i)},o.replace=function(e){var t=[],r=this.parentPath.value,n=l(this.parentPath),s=arguments.length;if(function(e){if(!(e instanceof a))throw new Error("");var t=e.parentPath;if(!t)return e;var r=t.value,n=l(t);if(r[e.name]===e.value)n[e.name]=e;else if(i.check(r)){var s=r.indexOf(e.value);s>=0&&(n[e.name=s]=e)}else r[e.name]=e.value,n[e.name]=e;if(r[e.name]!==e.value)throw new Error("");if(e.parentPath.get(e.name)!==e)throw new Error("")}(this),i.check(r)){for(var o=r.length,u=p(this.parentPath,s-1,this.name+1),c=[this.name,1],h=0;h<s;++h)c.push(arguments[h]);if(r.splice.apply(r,c)[0]!==this.value)throw new Error("");if(r.length!==o-1+s)throw new Error("");if(u(),0===s)delete this.value,delete n[this.name],this.__childCache=null;else{if(r[this.name]!==e)throw new Error("");for(this.value!==e&&(this.value=e,this.__childCache=null),h=0;h<s;++h)t.push(this.parentPath.get(this.name+h));if(t[0]!==this)throw new Error("")}}else if(1===s)this.value!==e&&(this.__childCache=null),this.value=r[this.name]=e,t.push(this);else{if(0!==s)throw new Error("Could not replace path");delete r[this.name],delete this.value,this.__childCache=null}return t},a},e.exports=t.default}(ne,ne.exports);var ie={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j.__importDefault($),n=Object.prototype.hasOwnProperty;t.default=function(e){var t=e.use(r.default),i=t.Type,s=t.namedTypes,a=s.Node,o=s.Expression,l=t.builtInTypes.array,u=t.builders,c=function e(t,r){if(!(this instanceof e))throw new Error("Scope constructor cannot be invoked without 'new'");var n;if(h.assert(t.value),r){if(!(r instanceof e))throw new Error("");n=r.depth+1}else r=null,n=0;Object.defineProperties(this,{path:{value:t},node:{value:t.value},isGlobal:{value:!r,enumerable:!0},depth:{value:n},parent:{value:r},bindings:{value:{}},types:{value:{}}})},p=[s.Program,s.Function,s.CatchClause],h=i.or.apply(i,p);c.isEstablishedBy=function(e){return h.check(e)};var d=c.prototype;function f(e,r,i){var u,c,p,h=e.value;if(e.parent&&s.FunctionExpression.check(e.parent.node)&&e.parent.node.id&&y(e.parent.get("id"),r),h)if(l.check(h))e.each((function(e){m(e,r,i)}));else if(s.Function.check(h))e.get("params").each((function(e){y(e,r)})),m(e.get("body"),r,i);else if(s.TypeAlias&&s.TypeAlias.check(h)||s.InterfaceDeclaration&&s.InterfaceDeclaration.check(h)||s.TSTypeAliasDeclaration&&s.TSTypeAliasDeclaration.check(h)||s.TSInterfaceDeclaration&&s.TSInterfaceDeclaration.check(h))u=e.get("id"),c=i,p=u.value,s.Pattern.assert(p),s.Identifier.check(p)&&(n.call(c,p.name)?c[p.name].push(u):c[p.name]=[u]);else if(s.VariableDeclarator.check(h)){var d=e.get("id");s.ObjectPattern.check(d.node)?d.node.properties.forEach((function(t,n){y(e.get("id","properties",n,"key"),r)})):y(e.get("id"),r),m(e.get("init"),r,i)}else"ImportSpecifier"===h.type||"ImportNamespaceSpecifier"===h.type||"ImportDefaultSpecifier"===h.type?y(e.get(h.local?"local":h.name?"name":"id"),r):a.check(h)&&!o.check(h)&&t.eachField(h,(function(t,n){var s,a,o=e.get(t);if(a=n,!((s=o).value===a||Array.isArray(s.value)&&0===s.value.length&&Array.isArray(a)&&0===a.length))throw new Error("");m(o,r,i)}))}function m(e,t,r){var i=e.value;if(i&&!o.check(i))if(s.FunctionDeclaration.check(i)&&null!==i.id)y(e.get("id"),t);else if(s.ClassDeclaration&&s.ClassDeclaration.check(i))y(e.get("id"),t);else if(h.check(i)){if(s.CatchClause.check(i)&&s.Identifier.check(i.param)){var a=i.param.name,l=n.call(t,a);f(e.get("body"),t,r),l||delete t[a]}}else f(e,t,r)}function y(e,t){var r=e.value;s.Pattern.assert(r),s.Identifier.check(r)?n.call(t,r.name)?t[r.name].push(e):t[r.name]=[e]:s.AssignmentPattern&&s.AssignmentPattern.check(r)?y(e.get("left"),t):s.ObjectPattern&&s.ObjectPattern.check(r)?e.get("properties").each((function(e){var r=e.value;s.Pattern.check(r)?y(e,t):s.Property.check(r)?y(e.get("value"),t):s.SpreadProperty&&s.SpreadProperty.check(r)&&y(e.get("argument"),t)})):s.ArrayPattern&&s.ArrayPattern.check(r)?e.get("elements").each((function(e){var r=e.value;s.Pattern.check(r)?y(e,t):s.SpreadElement&&s.SpreadElement.check(r)&&y(e.get("argument"),t)})):s.PropertyPattern&&s.PropertyPattern.check(r)?y(e.get("pattern"),t):(s.SpreadElementPattern&&s.SpreadElementPattern.check(r)||s.RestElement&&s.RestElement.check(r)||s.SpreadPropertyPattern&&s.SpreadPropertyPattern.check(r))&&y(e.get("argument"),t)}return d.didScan=!1,d.declares=function(e){return this.scan(),n.call(this.bindings,e)},d.declaresType=function(e){return this.scan(),n.call(this.types,e)},d.declareTemporary=function(e){if(e){if(!/^[a-z$_]/i.test(e))throw new Error("")}else e="t$";e+=this.depth.toString(36)+"$",this.scan();for(var r=0;this.declares(e+r);)++r;var n=e+r;return this.bindings[n]=t.builders.identifier(n)},d.injectTemporary=function(e,t){e||(e=this.declareTemporary());var r=this.path.get("body");return s.BlockStatement.check(r.value)&&(r=r.get("body")),r.unshift(u.variableDeclaration("var",[u.variableDeclarator(e,t||null)])),e},d.scan=function(e){if(e||!this.didScan){for(var t in this.bindings)delete this.bindings[t];(function(e,t,r){var n=e.value;if(h.assert(n),s.CatchClause.check(n)){var i=e.get("param");i.value&&y(i,t)}else f(e,t,r)})(this.path,this.bindings,this.types),this.didScan=!0}},d.getBindings=function(){return this.scan(),this.bindings},d.getTypes=function(){return this.scan(),this.types},d.lookup=function(e){for(var t=this;t&&!t.declares(e);t=t.parent);return t},d.lookupType=function(e){for(var t=this;t&&!t.declaresType(e);t=t.parent);return t},d.getGlobalScope=function(){for(var e=this;!e.isGlobal;)e=e.parent;return e},c},e.exports=t.default})(ie,ie.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault($),i=r.__importDefault(ne.exports),s=r.__importDefault(ie.exports);t.default=function(e){var t=e.use(n.default),r=t.namedTypes,a=t.builders,o=t.builtInTypes.number,l=t.builtInTypes.array,u=e.use(i.default),c=e.use(s.default),p=function e(t,r,n){if(!(this instanceof e))throw new Error("NodePath constructor cannot be invoked without 'new'");u.call(this,t,r,n)},h=p.prototype=Object.create(u.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}});function d(e){return r.BinaryExpression.check(e)||r.LogicalExpression.check(e)}Object.defineProperties(h,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),h.replace=function(){return delete this.node,delete this.parent,delete this.scope,u.prototype.replace.apply(this,arguments)},h.prune=function(){var e=this.parent;return this.replace(),function(e){if(r.VariableDeclaration.check(e.node)){var t=e.get("declarations").value;if(!t||0===t.length)return e.prune()}else if(r.ExpressionStatement.check(e.node)){if(!e.get("expression").value)return e.prune()}else r.IfStatement.check(e.node)&&function(e){var t=e.get("test").value,n=e.get("alternate").value,i=e.get("consequent").value;if(i||n){if(!i&&n){var s=a.unaryExpression("!",t,!0);r.UnaryExpression.check(t)&&"!"===t.operator&&(s=t.argument),e.get("test").replace(s),e.get("consequent").replace(n),e.get("alternate").replace()}}else{var o=a.expressionStatement(t);e.replace(o)}}(e);return e}(e)},h._computeNode=function(){var e=this.value;if(r.Node.check(e))return e;var t=this.parentPath;return t&&t.node||null},h._computeParent=function(){var e=this.value,t=this.parentPath;if(!r.Node.check(e)){for(;t&&!r.Node.check(t.value);)t=t.parentPath;t&&(t=t.parentPath)}for(;t&&!r.Node.check(t.value);)t=t.parentPath;return t||null},h._computeScope=function(){var e=this.value,t=this.parentPath,n=t&&t.scope;return r.Node.check(e)&&c.isEstablishedBy(e)&&(n=new c(this,n)),n||null},h.getValueProperty=function(e){return t.getFieldValue(this.value,e)},h.needsParens=function(e){var t=this.parentPath;if(!t)return!1;var n=this.value;if(!r.Expression.check(n)||"Identifier"===n.type)return!1;for(;!r.Node.check(t.value);)if(!(t=t.parentPath))return!1;var i=t.value;switch(n.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return"MemberExpression"===i.type&&"object"===this.name&&i.object===n;case"BinaryExpression":case"LogicalExpression":switch(i.type){case"CallExpression":return"callee"===this.name&&i.callee===n;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return"object"===this.name&&i.object===n;case"BinaryExpression":case"LogicalExpression":var s=n,a=i.operator,l=f[a],u=s.operator,c=f[u];if(l>c)return!0;if(l===c&&"right"===this.name){if(i.right!==s)throw new Error("Nodes must be equal");return!0}default:return!1}case"SequenceExpression":switch(i.type){case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==this.name;default:return!0}case"YieldExpression":switch(i.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return"MemberExpression"===i.type&&o.check(n.value)&&"object"===this.name&&i.object===n;case"AssignmentExpression":case"ConditionalExpression":switch(i.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return"callee"===this.name&&i.callee===n;case"ConditionalExpression":return"test"===this.name&&i.test===n;case"MemberExpression":return"object"===this.name&&i.object===n;default:return!1}default:if("NewExpression"===i.type&&"callee"===this.name&&i.callee===n)return m(n)}return!(!0===e||this.canBeFirstInStatement()||!this.firstInStatement())};var f={};function m(e){return!!r.CallExpression.check(e)||(l.check(e)?e.some(m):!!r.Node.check(e)&&t.someField(e,(function(e,t){return m(t)})))}return[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach((function(e,t){e.forEach((function(e){f[e]=t}))})),h.canBeFirstInStatement=function(){var e=this.node;return!r.FunctionExpression.check(e)&&!r.ObjectExpression.check(e)},h.firstInStatement=function(){return function(e){for(var t,n;e.parent;e=e.parent){if(t=e.node,n=e.parent.node,r.BlockStatement.check(n)&&"body"===e.parent.name&&0===e.name){if(n.body[0]!==t)throw new Error("Nodes must be equal");return!0}if(r.ExpressionStatement.check(n)&&"expression"===e.name){if(n.expression!==t)throw new Error("Nodes must be equal");return!0}if(r.SequenceExpression.check(n)&&"expressions"===e.parent.name&&0===e.name){if(n.expressions[0]!==t)throw new Error("Nodes must be equal")}else if(r.CallExpression.check(n)&&"callee"===e.name){if(n.callee!==t)throw new Error("Nodes must be equal")}else if(r.MemberExpression.check(n)&&"object"===e.name){if(n.object!==t)throw new Error("Nodes must be equal")}else if(r.ConditionalExpression.check(n)&&"test"===e.name){if(n.test!==t)throw new Error("Nodes must be equal")}else if(d(n)&&"left"===e.name){if(n.left!==t)throw new Error("Nodes must be equal")}else{if(!r.UnaryExpression.check(n)||n.prefix||"argument"!==e.name)return!1;if(n.argument!==t)throw new Error("Nodes must be equal")}}return!0}(this)},p},e.exports=t.default}(re,re.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault($),i=r.__importDefault(re.exports),s=Object.prototype.hasOwnProperty;t.default=function(e){var t=e.use(n.default),r=e.use(i.default),a=t.builtInTypes.array,o=t.builtInTypes.object,l=t.builtInTypes.function,u=function e(){if(!(this instanceof e))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=function(e){var r=Object.create(null);for(var n in e)/^visit[A-Z]/.test(n)&&(r[n.slice(5)]=!0);for(var i=t.computeSupertypeLookupTable(r),s=Object.create(null),a=Object.keys(i),o=a.length,u=0;u<o;++u){var c=a[u];n="visit"+i[c],l.check(e[n])&&(s[c]=n)}return s}(this),this._shouldVisitComments=s.call(this._methodNameTable,"Block")||s.call(this._methodNameTable,"Line"),this.Context=function(e){function t(n){if(!(this instanceof t))throw new Error("");if(!(this instanceof u))throw new Error("");if(!(n instanceof r))throw new Error("");Object.defineProperty(this,"visitor",{value:e,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=n,this.needToCallTraverse=!0,Object.seal(this)}if(!(e instanceof u))throw new Error("");var n=t.prototype=Object.create(e);return n.constructor=t,c(n,d),t}(this),this._visiting=!1,this._changeReported=!1};function c(e,t){for(var r in t)s.call(t,r)&&(e[r]=t[r]);return e}u.fromMethodsObject=function(e){if(e instanceof u)return e;if(!o.check(e))return new u;var t=function e(){if(!(this instanceof e))throw new Error("Visitor constructor cannot be invoked without 'new'");u.call(this)},r=t.prototype=Object.create(p);return r.constructor=t,c(r,e),c(t,u),l.assert(t.fromMethodsObject),l.assert(t.visit),new t},u.visit=function(e,t){return u.fromMethodsObject(t).visit(e)};var p=u.prototype;function h(e,n){if(!(e instanceof r))throw new Error("");if(!(n instanceof u))throw new Error("");var i=e.value;if(a.check(i))e.each(n.visitWithoutReset,n);else if(o.check(i)){var l=t.getFieldNames(i);n._shouldVisitComments&&i.comments&&l.indexOf("comments")<0&&l.push("comments");for(var c=l.length,p=[],h=0;h<c;++h){var d=l[h];s.call(i,d)||(i[d]=t.getFieldValue(i,d)),p.push(e.get(d))}for(h=0;h<c;++h)n.visitWithoutReset(p[h])}return e.value}p.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;for(var e,t=arguments.length,n=new Array(t),i=0;i<t;++i)n[i]=arguments[i];n[0]instanceof r||(n[0]=new r({root:n[0]}).get("root")),this.reset.apply(this,n);try{var s=this.visitWithoutReset(n[0]);e=!0}finally{if(this._visiting=!1,!e&&this._abortRequested)return n[0].value}return s},p.AbortRequest=function(){},p.abort=function(){var e=this;e._abortRequested=!0;var t=new e.AbortRequest;throw t.cancel=function(){e._abortRequested=!1},t},p.reset=function(e){},p.visitWithoutReset=function(e){if(this instanceof this.Context)return this.visitor.visitWithoutReset(e);if(!(e instanceof r))throw new Error("");var t=e.value,n=t&&"object"==typeof t&&"string"==typeof t.type&&this._methodNameTable[t.type];if(!n)return h(e,this);var i=this.acquireContext(e);try{return i.invokeVisitorMethod(n)}finally{this.releaseContext(i)}},p.acquireContext=function(e){return 0===this._reusableContextStack.length?new this.Context(e):this._reusableContextStack.pop().reset(e)},p.releaseContext=function(e){if(!(e instanceof this.Context))throw new Error("");this._reusableContextStack.push(e),e.currentPath=null},p.reportChanged=function(){this._changeReported=!0},p.wasChangeReported=function(){return this._changeReported};var d=Object.create(null);return d.reset=function(e){if(!(this instanceof this.Context))throw new Error("");if(!(e instanceof r))throw new Error("");return this.currentPath=e,this.needToCallTraverse=!0,this},d.invokeVisitorMethod=function(e){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");var t=this.visitor[e].call(this,this.currentPath);if(!1===t?this.needToCallTraverse=!1:void 0!==t&&(this.currentPath=this.currentPath.replace(t)[0],this.needToCallTraverse&&this.traverse(this.currentPath)),!1!==this.needToCallTraverse)throw new Error("Must either call this.traverse or return false in "+e);var n=this.currentPath;return n&&n.value},d.traverse=function(e,t){if(!(this instanceof this.Context))throw new Error("");if(!(e instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,h(e,u.fromMethodsObject(t||this.visitor))},d.visit=function(e,t){if(!(this instanceof this.Context))throw new Error("");if(!(e instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,u.fromMethodsObject(t||this.visitor).visitWithoutReset(e)},d.reportChanged=function(){this.visitor.reportChanged()},d.abort=function(){this.needToCallTraverse=!1,this.visitor.abort()},u},e.exports=t.default}(te,te.exports);var se={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j.__importDefault($);t.default=function(e){var t=e.use(r.default),n=t.getFieldNames,i=t.getFieldValue,s=t.builtInTypes.array,a=t.builtInTypes.object,o=t.builtInTypes.Date,l=t.builtInTypes.RegExp,u=Object.prototype.hasOwnProperty;function c(e,t,r){return s.check(r)?r.length=0:r=null,h(e,t,r)}function p(e){return/[_$a-z][_$a-z0-9]*/i.test(e)?"."+e:"["+JSON.stringify(e)+"]"}function h(e,t,r){return e===t||(s.check(e)?function(e,t,r){s.assert(e);var n=e.length;if(!s.check(t)||t.length!==n)return r&&r.push("length"),!1;for(var i=0;i<n;++i){if(r&&r.push(i),i in e!=i in t||!h(e[i],t[i],r))return!1;if(r){var a=r.pop();if(a!==i)throw new Error(""+a)}}return!0}(e,t,r):a.check(e)?function(e,t,r){if(a.assert(e),!a.check(t))return!1;if(e.type!==t.type)return r&&r.push("type"),!1;var s=n(e),o=s.length,l=n(t),c=l.length;if(o===c){for(var p=0;p<o;++p){var d=s[p],f=i(e,d),m=i(t,d);if(r&&r.push(d),!h(f,m,r))return!1;if(r){var y=r.pop();if(y!==d)throw new Error(""+y)}}return!0}if(!r)return!1;var g=Object.create(null);for(p=0;p<o;++p)g[s[p]]=!0;for(p=0;p<c;++p){if(d=l[p],!u.call(g,d))return r.push(d),!1;delete g[d]}for(d in g){r.push(d);break}return!1}(e,t,r):o.check(e)?o.check(t)&&+e==+t:l.check(e)?l.check(t)&&e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.ignoreCase===t.ignoreCase:e==t)}return c.assert=function(e,t){var r=[];if(!c(e,t,r)){if(0!==r.length)throw new Error("Nodes differ in the following path: "+r.map(p).join(""));if(e!==t)throw new Error("Nodes must be equal")}},c},e.exports=t.default})(se,se.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault($),i=r.__importDefault(te.exports),s=r.__importDefault(se.exports),a=r.__importDefault(ne.exports),o=r.__importDefault(re.exports);t.default=function(e){var t,r,l,u=(t=[],r=[],l={use:function(e){var n=t.indexOf(e);return-1===n&&(n=t.length,t.push(e),r[n]=e(l)),r[n]}}),c=u.use(n.default);e.forEach(u.use),c.finalize();var p=u.use(i.default);return{Type:c.Type,builtInTypes:c.builtInTypes,namedTypes:c.namedTypes,builders:c.builders,defineMethod:c.defineMethod,getFieldNames:c.getFieldNames,getFieldValue:c.getFieldValue,eachField:c.eachField,someField:c.someField,getSupertypeNames:c.getSupertypeNames,getBuilderName:c.getBuilderName,astNodesAreEquivalent:u.use(s.default),finalize:c.finalize,Path:u.use(a.default),NodePath:u.use(o.default),PathVisitor:p,use:u.use,visit:p.visit}},e.exports=t.default}(U,U.exports);var ae={exports:{}},oe={};Object.defineProperty(oe,"__esModule",{value:!0}),oe.LogicalOperators=oe.AssignmentOperators=oe.BinaryOperators=void 0,oe.BinaryOperators=["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],oe.AssignmentOperators=["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],oe.LogicalOperators=["||","&&"];var le={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j.__importDefault($);t.default=function(e){var t=e.use(r.default),n=t.Type,i=t.builtInTypes,s=i.number,a=n.or(i.string,i.number,i.boolean,i.null,i.undefined);return{geq:function(e){return n.from((function(t){return s.check(t)&&t>=e}),s+" >= "+e)},defaults:{null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},isPrimitive:n.from((function(e){if(null===e)return!0;var t=typeof e;return"object"!==t&&"function"!==t}),a.toString())}},e.exports=t.default})(le,le.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=oe,i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){var t=e.use(i.default).Type,r=t.def,a=t.or,o=e.use(s.default),l=o.defaults,u=o.geq;r("Printable").field("loc",a(r("SourceLocation"),null),l.null,!0),r("Node").bases("Printable").field("type",String).field("comments",a([r("Comment")],null),l.null,!0),r("SourceLocation").field("start",r("Position")).field("end",r("Position")).field("source",a(String,null),l.null),r("Position").field("line",u(1)).field("column",u(0)),r("File").bases("Node").build("program","name").field("program",r("Program")).field("name",a(String,null),l.null),r("Program").bases("Node").build("body").field("body",[r("Statement")]),r("Function").bases("Node").field("id",a(r("Identifier"),null),l.null).field("params",[r("Pattern")]).field("body",r("BlockStatement")).field("generator",Boolean,l.false).field("async",Boolean,l.false),r("Statement").bases("Node"),r("EmptyStatement").bases("Statement").build(),r("BlockStatement").bases("Statement").build("body").field("body",[r("Statement")]),r("ExpressionStatement").bases("Statement").build("expression").field("expression",r("Expression")),r("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",r("Expression")).field("consequent",r("Statement")).field("alternate",a(r("Statement"),null),l.null),r("LabeledStatement").bases("Statement").build("label","body").field("label",r("Identifier")).field("body",r("Statement")),r("BreakStatement").bases("Statement").build("label").field("label",a(r("Identifier"),null),l.null),r("ContinueStatement").bases("Statement").build("label").field("label",a(r("Identifier"),null),l.null),r("WithStatement").bases("Statement").build("object","body").field("object",r("Expression")).field("body",r("Statement")),r("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",r("Expression")).field("cases",[r("SwitchCase")]).field("lexical",Boolean,l.false),r("ReturnStatement").bases("Statement").build("argument").field("argument",a(r("Expression"),null)),r("ThrowStatement").bases("Statement").build("argument").field("argument",r("Expression")),r("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",r("BlockStatement")).field("handler",a(r("CatchClause"),null),(function(){return this.handlers&&this.handlers[0]||null})).field("handlers",[r("CatchClause")],(function(){return this.handler?[this.handler]:[]}),!0).field("guardedHandlers",[r("CatchClause")],l.emptyArray).field("finalizer",a(r("BlockStatement"),null),l.null),r("CatchClause").bases("Node").build("param","guard","body").field("param",r("Pattern")).field("guard",a(r("Expression"),null),l.null).field("body",r("BlockStatement")),r("WhileStatement").bases("Statement").build("test","body").field("test",r("Expression")).field("body",r("Statement")),r("DoWhileStatement").bases("Statement").build("body","test").field("body",r("Statement")).field("test",r("Expression")),r("ForStatement").bases("Statement").build("init","test","update","body").field("init",a(r("VariableDeclaration"),r("Expression"),null)).field("test",a(r("Expression"),null)).field("update",a(r("Expression"),null)).field("body",r("Statement")),r("ForInStatement").bases("Statement").build("left","right","body").field("left",a(r("VariableDeclaration"),r("Expression"))).field("right",r("Expression")).field("body",r("Statement")),r("DebuggerStatement").bases("Statement").build(),r("Declaration").bases("Statement"),r("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",r("Identifier")),r("FunctionExpression").bases("Function","Expression").build("id","params","body"),r("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",a("var","let","const")).field("declarations",[r("VariableDeclarator")]),r("VariableDeclarator").bases("Node").build("id","init").field("id",r("Pattern")).field("init",a(r("Expression"),null),l.null),r("Expression").bases("Node"),r("ThisExpression").bases("Expression").build(),r("ArrayExpression").bases("Expression").build("elements").field("elements",[a(r("Expression"),null)]),r("ObjectExpression").bases("Expression").build("properties").field("properties",[r("Property")]),r("Property").bases("Node").build("kind","key","value").field("kind",a("init","get","set")).field("key",a(r("Literal"),r("Identifier"))).field("value",r("Expression")),r("SequenceExpression").bases("Expression").build("expressions").field("expressions",[r("Expression")]);var c=a("-","+","!","~","typeof","void","delete");r("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",c).field("argument",r("Expression")).field("prefix",Boolean,l.true);var p=a.apply(void 0,n.BinaryOperators);r("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",p).field("left",r("Expression")).field("right",r("Expression"));var h=a.apply(void 0,n.AssignmentOperators);r("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",h).field("left",a(r("Pattern"),r("MemberExpression"))).field("right",r("Expression"));var d=a("++","--");r("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",d).field("argument",r("Expression")).field("prefix",Boolean);var f=a.apply(void 0,n.LogicalOperators);r("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",f).field("left",r("Expression")).field("right",r("Expression")),r("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",r("Expression")).field("consequent",r("Expression")).field("alternate",r("Expression")),r("NewExpression").bases("Expression").build("callee","arguments").field("callee",r("Expression")).field("arguments",[r("Expression")]),r("CallExpression").bases("Expression").build("callee","arguments").field("callee",r("Expression")).field("arguments",[r("Expression")]),r("MemberExpression").bases("Expression").build("object","property","computed").field("object",r("Expression")).field("property",a(r("Identifier"),r("Expression"))).field("computed",Boolean,(function(){var e=this.property.type;return"Literal"===e||"MemberExpression"===e||"BinaryExpression"===e})),r("Pattern").bases("Node"),r("SwitchCase").bases("Node").build("test","consequent").field("test",a(r("Expression"),null)).field("consequent",[r("Statement")]),r("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,l.false),r("Literal").bases("Expression").build("value").field("value",a(String,Boolean,null,Number,RegExp)).field("regex",a({pattern:String,flags:String},null),(function(){if(this.value instanceof RegExp){var e="";return this.value.ignoreCase&&(e+="i"),this.value.multiline&&(e+="m"),this.value.global&&(e+="g"),{pattern:this.value.source,flags:e}}return null})),r("Comment").bases("Printable").field("value",String).field("leading",Boolean,l.true).field("trailing",Boolean,l.false)},e.exports=t.default}(ae,ae.exports);var ue={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(ae.exports),i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,o=e.use(s.default).defaults;r("Function").field("generator",Boolean,o.false).field("expression",Boolean,o.false).field("defaults",[a(r("Expression"),null)],o.emptyArray).field("rest",a(r("Identifier"),null),o.null),r("RestElement").bases("Pattern").build("argument").field("argument",r("Pattern")).field("typeAnnotation",a(r("TypeAnnotation"),r("TSTypeAnnotation"),null),o.null),r("SpreadElementPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("FunctionDeclaration").build("id","params","body","generator","expression").field("id",a(r("Identifier"),null)),r("FunctionExpression").build("id","params","body","generator","expression"),r("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,o.null).field("body",a(r("BlockStatement"),r("Expression"))).field("generator",!1,o.false),r("ForOfStatement").bases("Statement").build("left","right","body").field("left",a(r("VariableDeclaration"),r("Pattern"))).field("right",r("Expression")).field("body",r("Statement")),r("YieldExpression").bases("Expression").build("argument","delegate").field("argument",a(r("Expression"),null)).field("delegate",Boolean,o.false),r("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",a(r("Expression"),null)),r("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",a(r("Expression"),null)),r("ComprehensionBlock").bases("Node").build("left","right","each").field("left",r("Pattern")).field("right",r("Expression")).field("each",Boolean),r("Property").field("key",a(r("Literal"),r("Identifier"),r("Expression"))).field("value",a(r("Expression"),r("Pattern"))).field("method",Boolean,o.false).field("shorthand",Boolean,o.false).field("computed",Boolean,o.false),r("ObjectProperty").field("shorthand",Boolean,o.false),r("PropertyPattern").bases("Pattern").build("key","pattern").field("key",a(r("Literal"),r("Identifier"),r("Expression"))).field("pattern",r("Pattern")).field("computed",Boolean,o.false),r("ObjectPattern").bases("Pattern").build("properties").field("properties",[a(r("PropertyPattern"),r("Property"))]),r("ArrayPattern").bases("Pattern").build("elements").field("elements",[a(r("Pattern"),null)]),r("SpreadElement").bases("Node").build("argument").field("argument",r("Expression")),r("ArrayExpression").field("elements",[a(r("Expression"),r("SpreadElement"),r("RestElement"),null)]),r("NewExpression").field("arguments",[a(r("Expression"),r("SpreadElement"))]),r("CallExpression").field("arguments",[a(r("Expression"),r("SpreadElement"))]),r("AssignmentPattern").bases("Pattern").build("left","right").field("left",r("Pattern")).field("right",r("Expression")),r("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",a("constructor","method","get","set")).field("key",r("Expression")).field("value",r("Function")).field("computed",Boolean,o.false).field("static",Boolean,o.false);var l=a(r("MethodDefinition"),r("VariableDeclarator"),r("ClassPropertyDefinition"),r("ClassProperty"));r("ClassProperty").bases("Declaration").build("key").field("key",a(r("Literal"),r("Identifier"),r("Expression"))).field("computed",Boolean,o.false),r("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",l),r("ClassBody").bases("Declaration").build("body").field("body",[l]),r("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",a(r("Identifier"),null)).field("body",r("ClassBody")).field("superClass",a(r("Expression"),null),o.null),r("ClassExpression").bases("Expression").build("id","body","superClass").field("id",a(r("Identifier"),null),o.null).field("body",r("ClassBody")).field("superClass",a(r("Expression"),null),o.null),r("Super").bases("Expression").build(),r("Specifier").bases("Node"),r("ModuleSpecifier").bases("Specifier").field("local",a(r("Identifier"),null),o.null).field("id",a(r("Identifier"),null),o.null).field("name",a(r("Identifier"),null),o.null),r("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",r("Identifier")),r("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),r("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),r("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[a(r("ImportSpecifier"),r("ImportNamespaceSpecifier"),r("ImportDefaultSpecifier"))],o.emptyArray).field("source",r("Literal")).field("importKind",a("value","type"),(function(){return"value"})),r("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",a(r("Declaration"),null)).field("specifiers",[r("ExportSpecifier")],o.emptyArray).field("source",a(r("Literal"),null),o.null),r("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",r("Identifier")),r("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",a(r("Declaration"),r("Expression"))),r("ExportAllDeclaration").bases("Declaration").build("source").field("source",r("Literal")),r("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",r("Expression")).field("quasi",r("TemplateLiteral")),r("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[r("TemplateElement")]).field("expressions",[r("Expression")]),r("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),r("MetaProperty").bases("Expression").build("meta","property").field("meta",r("Identifier")).field("property",r("Identifier"))},e.exports=t.default}(ue,ue.exports);var ce={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=oe,i=r.__importDefault(ue.exports),s=r.__importDefault($);t.default=function(e){e.use(i.default);var t=e.use(s.default),a=t.Type.def,o=t.Type.or,l=o.apply(void 0,r.__spreadArrays(n.BinaryOperators,["**"]));a("BinaryExpression").field("operator",l);var u=o.apply(void 0,r.__spreadArrays(n.AssignmentOperators,["**="]));a("AssignmentExpression").field("operator",u)},e.exports=t.default}(ce,ce.exports);var pe={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(ce.exports),i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default).Type.def,r=e.use(s.default).defaults;t("Function").field("async",Boolean,r.false),t("AwaitExpression").bases("Expression").build("argument").field("argument",t("Expression"))},e.exports=t.default}(pe,pe.exports);var he={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(pe.exports),i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,o=e.use(s.default).defaults;r("ForOfStatement").field("await",Boolean,o.false),r("SpreadProperty").bases("Node").build("argument").field("argument",r("Expression")),r("ObjectExpression").field("properties",[a(r("Property"),r("SpreadProperty"),r("SpreadElement"))]),r("TemplateElement").field("value",{cooked:a(String,null),raw:String}),r("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("ObjectPattern").field("properties",[a(r("PropertyPattern"),r("Property"),r("RestElement"),r("SpreadPropertyPattern"))])},e.exports=t.default}(he,he.exports);var de={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(he.exports),i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,o=e.use(s.default).defaults;r("CatchClause").field("param",a(r("Pattern"),null),o.null)},e.exports=t.default}(de,de.exports);var fe={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=oe,i=r.__importDefault(de.exports),s=r.__importDefault($),a=r.__importDefault(le.exports);t.default=function(e){e.use(i.default);var t=e.use(s.default),o=t.Type.def,l=t.Type.or,u=e.use(a.default).defaults;o("ImportExpression").bases("Expression").build("source").field("source",o("Expression")),o("ExportAllDeclaration").build("source","exported").field("source",o("Literal")).field("exported",l(o("Identifier"),null)),o("ChainElement").bases("Node").field("optional",Boolean,u.false),o("CallExpression").bases("Expression","ChainElement"),o("MemberExpression").bases("Expression","ChainElement"),o("ChainExpression").bases("Expression").build("expression").field("expression",o("ChainElement")),o("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,u.true),o("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,u.true);var c=l.apply(void 0,r.__spreadArrays(n.LogicalOperators,["??"]));o("LogicalExpression").field("operator",c)},e.exports=t.default}(fe,fe.exports);var me={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(fe.exports),i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,o=e.use(s.default).defaults;r("JSXAttribute").bases("Node").build("name","value").field("name",a(r("JSXIdentifier"),r("JSXNamespacedName"))).field("value",a(r("Literal"),r("JSXExpressionContainer"),r("JSXElement"),r("JSXFragment"),null),o.null),r("JSXIdentifier").bases("Identifier").build("name").field("name",String),r("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",r("JSXIdentifier")).field("name",r("JSXIdentifier")),r("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",a(r("JSXIdentifier"),r("JSXMemberExpression"))).field("property",r("JSXIdentifier")).field("computed",Boolean,o.false);var l=a(r("JSXIdentifier"),r("JSXNamespacedName"),r("JSXMemberExpression"));r("JSXSpreadAttribute").bases("Node").build("argument").field("argument",r("Expression"));var u=[a(r("JSXAttribute"),r("JSXSpreadAttribute"))];r("JSXExpressionContainer").bases("Expression").build("expression").field("expression",a(r("Expression"),r("JSXEmptyExpression")));var c=[a(r("JSXText"),r("JSXExpressionContainer"),r("JSXSpreadChild"),r("JSXElement"),r("JSXFragment"),r("Literal"))];r("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",r("JSXOpeningElement")).field("closingElement",a(r("JSXClosingElement"),null),o.null).field("children",c,o.emptyArray).field("name",l,(function(){return this.openingElement.name}),!0).field("selfClosing",Boolean,(function(){return this.openingElement.selfClosing}),!0).field("attributes",u,(function(){return this.openingElement.attributes}),!0),r("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",l).field("attributes",u,o.emptyArray).field("selfClosing",Boolean,o.false),r("JSXClosingElement").bases("Node").build("name").field("name",l),r("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",r("JSXOpeningFragment")).field("closingFragment",r("JSXClosingFragment")).field("children",c,o.emptyArray),r("JSXOpeningFragment").bases("Node").build(),r("JSXClosingFragment").bases("Node").build(),r("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,(function(){return this.value})),r("JSXEmptyExpression").bases("Node").build(),r("JSXSpreadChild").bases("Node").build("expression").field("expression",r("Expression"))},e.exports=t.default}(me,me.exports);var ye={exports:{}},ge={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault($),i=r.__importDefault(le.exports),s=r.__importDefault(fe.exports);t.default=function(e){e.use(s.default);var t=e.use(n.default),r=t.Type,a=t.Type.def,o=r.or,l=e.use(i.default).defaults;a("AwaitExpression").build("argument","all").field("argument",o(a("Expression"),null)).field("all",Boolean,l.false),a("Decorator").bases("Node").build("expression").field("expression",a("Expression")),a("Property").field("decorators",o([a("Decorator")],null),l.null),a("MethodDefinition").field("decorators",o([a("Decorator")],null),l.null),a("PrivateName").bases("Expression","Pattern").build("id").field("id",a("Identifier")),a("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",a("PrivateName")).field("value",o(a("Expression"),null),l.null)},e.exports=t.default}(ge,ge.exports);var xe={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault($),i=r.__importDefault(le.exports);t.default=function(e){var t=e.use(n.default),r=t.Type.def,s=t.Type.or,a=e.use(i.default).defaults,o=s(r("TypeAnnotation"),r("TSTypeAnnotation"),null),l=s(r("TypeParameterDeclaration"),r("TSTypeParameterDeclaration"),null);r("Identifier").field("typeAnnotation",o,a.null),r("ObjectPattern").field("typeAnnotation",o,a.null),r("Function").field("returnType",o,a.null).field("typeParameters",l,a.null),r("ClassProperty").build("key","value","typeAnnotation","static").field("value",s(r("Expression"),null)).field("static",Boolean,a.false).field("typeAnnotation",o,a.null),["ClassDeclaration","ClassExpression"].forEach((function(e){r(e).field("typeParameters",l,a.null).field("superTypeParameters",s(r("TypeParameterInstantiation"),r("TSTypeParameterInstantiation"),null),a.null).field("implements",s([r("ClassImplements")],[r("TSExpressionWithTypeArguments")]),a.emptyArray)}))},e.exports=t.default})(xe,xe.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(ge.exports),i=r.__importDefault(xe.exports),s=r.__importDefault($),a=r.__importDefault(le.exports);t.default=function(e){e.use(n.default),e.use(i.default);var t=e.use(s.default),r=t.Type.def,o=t.Type.or,l=e.use(a.default).defaults;r("Flow").bases("Node"),r("FlowType").bases("Flow"),r("AnyTypeAnnotation").bases("FlowType").build(),r("EmptyTypeAnnotation").bases("FlowType").build(),r("MixedTypeAnnotation").bases("FlowType").build(),r("VoidTypeAnnotation").bases("FlowType").build(),r("SymbolTypeAnnotation").bases("FlowType").build(),r("NumberTypeAnnotation").bases("FlowType").build(),r("BigIntTypeAnnotation").bases("FlowType").build(),r("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),r("StringTypeAnnotation").bases("FlowType").build(),r("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),r("BooleanTypeAnnotation").bases("FlowType").build(),r("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),r("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullLiteralTypeAnnotation").bases("FlowType").build(),r("NullTypeAnnotation").bases("FlowType").build(),r("ThisTypeAnnotation").bases("FlowType").build(),r("ExistsTypeAnnotation").bases("FlowType").build(),r("ExistentialTypeParam").bases("FlowType").build(),r("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[r("FunctionTypeParam")]).field("returnType",r("FlowType")).field("rest",o(r("FunctionTypeParam"),null)).field("typeParameters",o(r("TypeParameterDeclaration"),null)),r("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",o(r("Identifier"),null)).field("typeAnnotation",r("FlowType")).field("optional",Boolean),r("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",r("FlowType")),r("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[o(r("ObjectTypeProperty"),r("ObjectTypeSpreadProperty"))]).field("indexers",[r("ObjectTypeIndexer")],l.emptyArray).field("callProperties",[r("ObjectTypeCallProperty")],l.emptyArray).field("inexact",o(Boolean,void 0),l[void 0]).field("exact",Boolean,l.false).field("internalSlots",[r("ObjectTypeInternalSlot")],l.emptyArray),r("Variance").bases("Node").build("kind").field("kind",o("plus","minus"));var u=o(r("Variance"),"plus","minus",null);r("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",o(r("Literal"),r("Identifier"))).field("value",r("FlowType")).field("optional",Boolean).field("variance",u,l.null),r("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",r("Identifier")).field("key",r("FlowType")).field("value",r("FlowType")).field("variance",u,l.null).field("static",Boolean,l.false),r("ObjectTypeCallProperty").bases("Node").build("value").field("value",r("FunctionTypeAnnotation")).field("static",Boolean,l.false),r("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",o(r("Identifier"),r("QualifiedTypeIdentifier"))).field("id",r("Identifier")),r("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",o(r("Identifier"),r("QualifiedTypeIdentifier"))).field("typeParameters",o(r("TypeParameterInstantiation"),null)),r("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",r("Identifier")).field("property",o(r("MemberTypeAnnotation"),r("GenericTypeAnnotation"))),r("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",r("FlowType")),r("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",r("FlowType")),r("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",r("Identifier")).field("value",r("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),r("TypeParameterDeclaration").bases("Node").build("params").field("params",[r("TypeParameter")]),r("TypeParameterInstantiation").bases("Node").build("params").field("params",[r("FlowType")]),r("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",u,l.null).field("bound",o(r("TypeAnnotation"),null),l.null).field("default",o(r("FlowType"),null),l.null),r("ClassProperty").field("variance",u,l.null),r("ClassImplements").bases("Node").build("id").field("id",r("Identifier")).field("superClass",o(r("Expression"),null),l.null).field("typeParameters",o(r("TypeParameterInstantiation"),null),l.null),r("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",r("ObjectTypeAnnotation")).field("extends",o([r("InterfaceExtends")],null),l.null),r("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",r("Identifier")).field("typeParameters",o(r("TypeParameterDeclaration"),null),l.null).field("body",r("ObjectTypeAnnotation")).field("extends",[r("InterfaceExtends")]),r("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),r("InterfaceExtends").bases("Node").build("id").field("id",r("Identifier")).field("typeParameters",o(r("TypeParameterInstantiation"),null),l.null),r("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",r("Identifier")).field("typeParameters",o(r("TypeParameterDeclaration"),null)).field("right",r("FlowType")),r("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),r("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",r("Identifier")).field("typeParameters",o(r("TypeParameterDeclaration"),null)).field("impltype",r("FlowType")).field("supertype",o(r("FlowType"),null)),r("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",o(r("FlowType"),null)),r("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",r("Expression")).field("typeAnnotation",r("TypeAnnotation")),r("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("DeclareVariable").bases("Statement").build("id").field("id",r("Identifier")),r("DeclareFunction").bases("Statement").build("id").field("id",r("Identifier")).field("predicate",o(r("FlowPredicate"),null),l.null),r("DeclareClass").bases("InterfaceDeclaration").build("id"),r("DeclareModule").bases("Statement").build("id","body").field("id",o(r("Identifier"),r("Literal"))).field("body",r("BlockStatement")),r("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",r("TypeAnnotation")),r("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",o(r("DeclareVariable"),r("DeclareFunction"),r("DeclareClass"),r("FlowType"),r("TypeAlias"),r("DeclareOpaqueType"),r("InterfaceDeclaration"),null)).field("specifiers",[o(r("ExportSpecifier"),r("ExportBatchSpecifier"))],l.emptyArray).field("source",o(r("Literal"),null),l.null),r("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",o(r("Literal"),null),l.null),r("ImportDeclaration").field("importKind",o("value","type","typeof"),(function(){return"value"})),r("FlowPredicate").bases("Flow"),r("InferredPredicate").bases("FlowPredicate").build(),r("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",r("Expression")),r("Function").field("predicate",o(r("FlowPredicate"),null),l.null),r("CallExpression").field("typeArguments",o(null,r("TypeParameterInstantiation")),l.null),r("NewExpression").field("typeArguments",o(null,r("TypeParameterInstantiation")),l.null),r("EnumDeclaration").bases("Declaration").build("id","body").field("id",r("Identifier")).field("body",o(r("EnumBooleanBody"),r("EnumNumberBody"),r("EnumStringBody"),r("EnumSymbolBody"))),r("EnumBooleanBody").build("members","explicitType").field("members",[r("EnumBooleanMember")]).field("explicitType",Boolean),r("EnumNumberBody").build("members","explicitType").field("members",[r("EnumNumberMember")]).field("explicitType",Boolean),r("EnumStringBody").build("members","explicitType").field("members",o([r("EnumStringMember")],[r("EnumDefaultedMember")])).field("explicitType",Boolean),r("EnumSymbolBody").build("members").field("members",[r("EnumDefaultedMember")]),r("EnumBooleanMember").build("id","init").field("id",r("Identifier")).field("init",o(r("Literal"),Boolean)),r("EnumNumberMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumStringMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumDefaultedMember").build("id").field("id",r("Identifier"))},e.exports=t.default}(ye,ye.exports);var ve={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(fe.exports),i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=e.use(s.default).defaults,a=t.Type.def,o=t.Type.or;a("VariableDeclaration").field("declarations",[o(a("VariableDeclarator"),a("Identifier"))]),a("Property").field("value",o(a("Expression"),a("Pattern"))),a("ArrayPattern").field("elements",[o(a("Pattern"),a("SpreadElement"),null)]),a("ObjectPattern").field("properties",[o(a("Property"),a("PropertyPattern"),a("SpreadPropertyPattern"),a("SpreadProperty"))]),a("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),a("ExportBatchSpecifier").bases("Specifier").build(),a("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",o(a("Declaration"),a("Expression"),null)).field("specifiers",[o(a("ExportSpecifier"),a("ExportBatchSpecifier"))],r.emptyArray).field("source",o(a("Literal"),null),r.null),a("Block").bases("Comment").build("value","leading","trailing"),a("Line").bases("Comment").build("value","leading","trailing")},e.exports=t.default}(ve,ve.exports);var Ee={exports:{}},be={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(ge.exports),i=r.__importDefault($),s=r.__importDefault(le.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=e.use(s.default).defaults,a=t.Type.def,o=t.Type.or;a("Noop").bases("Statement").build(),a("DoExpression").bases("Expression").build("body").field("body",[a("Statement")]),a("BindExpression").bases("Expression").build("object","callee").field("object",o(a("Expression"),null)).field("callee",a("Expression")),a("ParenthesizedExpression").bases("Expression").build("expression").field("expression",a("Expression")),a("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",a("Identifier")),a("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",a("Identifier")),a("CommentBlock").bases("Comment").build("value","leading","trailing"),a("CommentLine").bases("Comment").build("value","leading","trailing"),a("Directive").bases("Node").build("value").field("value",a("DirectiveLiteral")),a("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,r["use strict"]),a("InterpreterDirective").bases("Node").build("value").field("value",String),a("BlockStatement").bases("Statement").build("body").field("body",[a("Statement")]).field("directives",[a("Directive")],r.emptyArray),a("Program").bases("Node").build("body").field("body",[a("Statement")]).field("directives",[a("Directive")],r.emptyArray).field("interpreter",o(a("InterpreterDirective"),null),r.null),a("StringLiteral").bases("Literal").build("value").field("value",String),a("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",o(String,null),r.null).field("extra",{rawValue:Number,raw:String},(function(){return{rawValue:this.value,raw:this.value+""}})),a("BigIntLiteral").bases("Literal").build("value").field("value",o(String,Number)).field("extra",{rawValue:String,raw:String},(function(){return{rawValue:String(this.value),raw:this.value+"n"}})),a("NullLiteral").bases("Literal").build().field("value",null,r.null),a("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),a("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,(function(){return new RegExp(this.pattern,this.flags)}));var l=o(a("Property"),a("ObjectMethod"),a("ObjectProperty"),a("SpreadProperty"),a("SpreadElement"));a("ObjectExpression").bases("Expression").build("properties").field("properties",[l]),a("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",o("method","get","set")).field("key",o(a("Literal"),a("Identifier"),a("Expression"))).field("params",[a("Pattern")]).field("body",a("BlockStatement")).field("computed",Boolean,r.false).field("generator",Boolean,r.false).field("async",Boolean,r.false).field("accessibility",o(a("Literal"),null),r.null).field("decorators",o([a("Decorator")],null),r.null),a("ObjectProperty").bases("Node").build("key","value").field("key",o(a("Literal"),a("Identifier"),a("Expression"))).field("value",o(a("Expression"),a("Pattern"))).field("accessibility",o(a("Literal"),null),r.null).field("computed",Boolean,r.false);var u=o(a("MethodDefinition"),a("VariableDeclarator"),a("ClassPropertyDefinition"),a("ClassProperty"),a("ClassPrivateProperty"),a("ClassMethod"),a("ClassPrivateMethod"));a("ClassBody").bases("Declaration").build("body").field("body",[u]),a("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",o(a("Literal"),a("Identifier"),a("Expression"))),a("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",a("PrivateName")),["ClassMethod","ClassPrivateMethod"].forEach((function(e){a(e).field("kind",o("get","set","method","constructor"),(function(){return"method"})).field("body",a("BlockStatement")).field("computed",Boolean,r.false).field("static",o(Boolean,null),r.null).field("abstract",o(Boolean,null),r.null).field("access",o("public","private","protected",null),r.null).field("accessibility",o("public","private","protected",null),r.null).field("decorators",o([a("Decorator")],null),r.null).field("optional",o(Boolean,null),r.null)}));var c=o(a("Property"),a("PropertyPattern"),a("SpreadPropertyPattern"),a("SpreadProperty"),a("ObjectProperty"),a("RestProperty"));a("ObjectPattern").bases("Pattern").build("properties").field("properties",[c]).field("decorators",o([a("Decorator")],null),r.null),a("SpreadProperty").bases("Node").build("argument").field("argument",a("Expression")),a("RestProperty").bases("Node").build("argument").field("argument",a("Expression")),a("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",o(a("VariableDeclaration"),a("Expression"))).field("right",a("Expression")).field("body",a("Statement")),a("Import").bases("Expression").build()},e.exports=t.default})(be,be.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(be.exports),i=r.__importDefault(ye.exports);t.default=function(e){e.use(n.default),e.use(i.default)},e.exports=t.default}(Ee,Ee.exports);var Se={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=j,n=r.__importDefault(be.exports),i=r.__importDefault(xe.exports),s=r.__importDefault($),a=r.__importDefault(le.exports);t.default=function(e){e.use(n.default),e.use(i.default);var t=e.use(s.default),r=t.namedTypes,o=t.Type.def,l=t.Type.or,u=e.use(a.default).defaults,c=t.Type.from((function(e,t){return!(!r.StringLiteral||!r.StringLiteral.check(e,t))||!(!r.Literal||!r.Literal.check(e,t)||"string"!=typeof e.value)}),"StringLiteral");o("TSType").bases("Node");var p=l(o("Identifier"),o("TSQualifiedName"));o("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",p),o("TSHasOptionalTypeParameterInstantiation").field("typeParameters",l(o("TSTypeParameterInstantiation"),null),u.null),o("TSHasOptionalTypeParameters").field("typeParameters",l(o("TSTypeParameterDeclaration"),null,void 0),u.null),o("TSHasOptionalTypeAnnotation").field("typeAnnotation",l(o("TSTypeAnnotation"),null),u.null),o("TSQualifiedName").bases("Node").build("left","right").field("left",p).field("right",p),o("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",o("Expression")).field("typeAnnotation",o("TSType")).field("extra",l({parenthesized:Boolean},null),u.null),o("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",o("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSThisType"].forEach((function(e){o(e).bases("TSType").build()})),o("TSArrayType").bases("TSType").build("elementType").field("elementType",o("TSType")),o("TSLiteralType").bases("TSType").build("literal").field("literal",l(o("NumericLiteral"),o("StringLiteral"),o("BooleanLiteral"),o("TemplateLiteral"),o("UnaryExpression"))),["TSUnionType","TSIntersectionType"].forEach((function(e){o(e).bases("TSType").build("types").field("types",[o("TSType")])})),o("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",o("TSType")).field("extendsType",o("TSType")).field("trueType",o("TSType")).field("falseType",o("TSType")),o("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",o("TSTypeParameter")),o("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",o("TSType"));var h=[l(o("Identifier"),o("RestElement"),o("ArrayPattern"),o("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach((function(e){o(e).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",h)})),o("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,u.false).field("async",Boolean,u.false).field("generator",Boolean,u.false).field("id",l(o("Identifier"),null),u.null).field("params",[o("Pattern")]).field("returnType",l(o("TSTypeAnnotation"),o("Noop"),null),u.null),o("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,u.false).field("generator",Boolean,u.false).field("params",[o("Pattern")]).field("abstract",Boolean,u.false).field("accessibility",l("public","private","protected",void 0),u[void 0]).field("static",Boolean,u.false).field("computed",Boolean,u.false).field("optional",Boolean,u.false).field("key",l(o("Identifier"),o("StringLiteral"),o("NumericLiteral"),o("Expression"))).field("kind",l("get","set","method","constructor"),(function(){return"method"})).field("access",l("public","private","protected",void 0),u[void 0]).field("decorators",l([o("Decorator")],null),u.null).field("returnType",l(o("TSTypeAnnotation"),o("Noop"),null),u.null),o("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",l(Boolean,"+","-"),u.false).field("typeParameter",o("TSTypeParameter")).field("optional",l(Boolean,"+","-"),u.false).field("typeAnnotation",l(o("TSType"),null),u.null),o("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[l(o("TSType"),o("TSNamedTupleMember"))]),o("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",o("Identifier")).field("optional",Boolean,u.false).field("elementType",o("TSType")),o("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",o("TSType")),o("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",o("TSType")),o("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",o("TSType")).field("indexType",o("TSType")),o("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",o("TSType")),o("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",l(o("TSType"),o("TSTypeAnnotation"))),o("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[o("Identifier")]).field("readonly",Boolean,u.false),o("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",o("Expression")).field("computed",Boolean,u.false).field("readonly",Boolean,u.false).field("optional",Boolean,u.false).field("initializer",l(o("Expression"),null),u.null),o("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",o("Expression")).field("computed",Boolean,u.false).field("optional",Boolean,u.false).field("parameters",h),o("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",l(o("Identifier"),o("TSThisType"))).field("typeAnnotation",l(o("TSTypeAnnotation"),null),u.null).field("asserts",Boolean,u.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach((function(e){o(e).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",h)})),o("TSEnumMember").bases("Node").build("id","initializer").field("id",l(o("Identifier"),c)).field("initializer",l(o("Expression"),null),u.null),o("TSTypeQuery").bases("TSType").build("exprName").field("exprName",l(p,o("TSImportType")));var d=l(o("TSCallSignatureDeclaration"),o("TSConstructSignatureDeclaration"),o("TSIndexSignature"),o("TSMethodSignature"),o("TSPropertySignature"));o("TSTypeLiteral").bases("TSType").build("members").field("members",[d]),o("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",l(o("TSType"),void 0),u[void 0]).field("default",l(o("TSType"),void 0),u[void 0]),o("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",o("TSType")).field("expression",o("Expression")).field("extra",l({parenthesized:Boolean},null),u.null),o("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[o("TSTypeParameter")]),o("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[o("TSType")]),o("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",o("Identifier")).field("const",Boolean,u.false).field("declare",Boolean,u.false).field("members",[o("TSEnumMember")]).field("initializer",l(o("Expression"),null),u.null),o("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",o("Identifier")).field("declare",Boolean,u.false).field("typeAnnotation",o("TSType")),o("TSModuleBlock").bases("Node").build("body").field("body",[o("Statement")]),o("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",l(c,p)).field("declare",Boolean,u.false).field("global",Boolean,u.false).field("body",l(o("TSModuleBlock"),o("TSModuleDeclaration"),null),u.null),o("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",c).field("qualifier",l(p,void 0),u[void 0]),o("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",o("Identifier")).field("isExport",Boolean,u.false).field("moduleReference",l(p,o("TSExternalModuleReference"))),o("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",c),o("TSExportAssignment").bases("Statement").build("expression").field("expression",o("Expression")),o("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",o("Identifier")),o("TSInterfaceBody").bases("Node").build("body").field("body",[d]),o("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",p),o("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",p).field("declare",Boolean,u.false).field("extends",l([o("TSExpressionWithTypeArguments")],null),u.null).field("body",o("TSInterfaceBody")),o("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",l("public","private","protected",void 0),u[void 0]).field("readonly",Boolean,u.false).field("parameter",l(o("Identifier"),o("AssignmentPattern"))),o("ClassProperty").field("access",l("public","private","protected",void 0),u[void 0]),o("ClassBody").field("body",[l(o("MethodDefinition"),o("VariableDeclarator"),o("ClassPropertyDefinition"),o("ClassProperty"),o("ClassPrivateProperty"),o("ClassMethod"),o("ClassPrivateMethod"),o("TSDeclareMethod"),d)])},e.exports=t.default}(Se,Se.exports);var Te,Ae={};Te=Ae,Object.defineProperty(Te,"__esModule",{value:!0}),Te.namedTypes=void 0,Te.namedTypes||(Te.namedTypes={}),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.visit=e.use=e.Type=e.someField=e.PathVisitor=e.Path=e.NodePath=e.namedTypes=e.getSupertypeNames=e.getFieldValue=e.getFieldNames=e.getBuilderName=e.finalize=e.eachField=e.defineMethod=e.builtInTypes=e.builders=e.astNodesAreEquivalent=void 0;var t=j,r=t.__importDefault(U.exports),n=t.__importDefault(ae.exports),i=t.__importDefault(ue.exports),s=t.__importDefault(ce.exports),a=t.__importDefault(pe.exports),o=t.__importDefault(he.exports),l=t.__importDefault(de.exports),u=t.__importDefault(fe.exports),c=t.__importDefault(me.exports),p=t.__importDefault(ye.exports),h=t.__importDefault(ve.exports),d=t.__importDefault(Ee.exports),f=t.__importDefault(Se.exports),m=t.__importDefault(ge.exports),y=Ae;Object.defineProperty(e,"namedTypes",{enumerable:!0,get:function(){return y.namedTypes}});var g=r.default([n.default,i.default,s.default,a.default,o.default,l.default,u.default,c.default,p.default,h.default,d.default,f.default,m.default]),x=g.astNodesAreEquivalent,v=g.builders,E=g.builtInTypes,b=g.defineMethod,S=g.eachField,T=g.finalize,A=g.getBuilderName,D=g.getFieldNames,C=g.getFieldValue,w=g.getSupertypeNames,P=g.namedTypes,k=g.NodePath,N=g.Path,_=g.PathVisitor,O=g.someField,F=g.Type,I=g.use,B=g.visit;e.astNodesAreEquivalent=x,e.builders=v,e.builtInTypes=E,e.defineMethod=b,e.eachField=S,e.finalize=T,e.getBuilderName=A,e.getFieldNames=D,e.getFieldValue=C,e.getSupertypeNames=w,e.NodePath=k,e.Path=N,e.PathVisitor=_,e.someField=O,e.Type=F,e.use=I,e.visit=B,Object.assign(y.namedTypes,P)}(N);var De={},Ce=[],we=[],Pe=typeof Uint8Array<"u"?Uint8Array:Array,ke=!1;function Ne(){ke=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Ce[t]=e[t],we[e.charCodeAt(t)]=t;we["-".charCodeAt(0)]=62,we["_".charCodeAt(0)]=63}function _e(e,t,r){for(var n,i,s=[],a=t;a<r;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],s.push(Ce[(i=n)>>18&63]+Ce[i>>12&63]+Ce[i>>6&63]+Ce[63&i]);return s.join("")}function Oe(e){var t;ke||Ne();for(var r=e.length,n=r%3,i="",s=[],a=16383,o=0,l=r-n;o<l;o+=a)s.push(_e(e,o,o+a>l?l:o+a));return 1===n?(t=e[r-1],i+=Ce[t>>2],i+=Ce[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=Ce[t>>10],i+=Ce[t>>4&63],i+=Ce[t<<2&63],i+="="),s.push(i),s.join("")}function Fe(e,t,r,n,i){var s,a,o=8*i-n-1,l=(1<<o)-1,u=l>>1,c=-7,p=r?i-1:0,h=r?-1:1,d=e[t+p];for(p+=h,s=d&(1<<-c)-1,d>>=-c,c+=o;c>0;s=256*s+e[t+p],p+=h,c-=8);for(a=s&(1<<-c)-1,s>>=-c,c+=n;c>0;a=256*a+e[t+p],p+=h,c-=8);if(0===s)s=1-u;else{if(s===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),s-=u}return(d?-1:1)*a*Math.pow(2,s-n)}function Ie(e,t,r,n,i,s){var a,o,l,u=8*s-i-1,c=(1<<u)-1,p=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:s-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?h/l:h*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(o=0,a=c):a+p>=1?(o=(t*l-1)*Math.pow(2,i),a+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&o,d+=f,o/=256,i-=8);for(a=a<<i|o,u+=i;u>0;e[r+d]=255&a,d+=f,a/=256,u-=8);e[r+d-f]|=128*m}var Be={}.toString,Le=Array.isArray||function(e){return"[object Array]"==Be.call(e)};Ue.TYPED_ARRAY_SUPPORT=void 0===r.TYPED_ARRAY_SUPPORT||r.TYPED_ARRAY_SUPPORT;var Me=Re();function Re(){return Ue.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function je(e,t){if(Re()<t)throw new RangeError("Invalid typed array length");return Ue.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Ue.prototype:(null===e&&(e=new Ue(t)),e.length=t),e}function Ue(e,t,r){if(!(Ue.TYPED_ARRAY_SUPPORT||this instanceof Ue))return new Ue(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Ve(this,e)}return $e(this,e,t,r)}function $e(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),Ue.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Ue.prototype:e=ze(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!Ue.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Ke(t,r),i=(e=je(e,n)).write(t,r);return i!==n&&(e=e.slice(0,i)),e}(e,t,r):function(e,t){if(Je(t)){var r=0|Xe(t.length);return 0===(e=je(e,r)).length||t.copy(e,0,0,r),e}if(t){if(typeof ArrayBuffer<"u"&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?je(e,0):ze(e,t);if("Buffer"===t.type&&Le(t.data))return ze(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function qe(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Ve(e,t){if(qe(t),e=je(e,t<0?0:0|Xe(t)),!Ue.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function ze(e,t){var r=t.length<0?0:0|Xe(t.length);e=je(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Xe(e){if(e>=Re())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Re().toString(16)+" bytes");return 0|e}function Je(e){return!(null==e||!e._isBuffer)}function Ke(e,t){if(Je(e))return e.length;if(typeof ArrayBuffer<"u"&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Et(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return bt(e).length;default:if(n)return Et(e).length;t=(""+t).toLowerCase(),n=!0}}function We(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ut(this,t,r);case"utf8":case"utf-8":return st(this,t,r);case"ascii":return ot(this,t,r);case"latin1":case"binary":return lt(this,t,r);case"base64":return it(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ct(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Ge(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Ye(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=Ue.from(t,n)),Je(t))return 0===t.length?-1:He(e,t,r,n,i);if("number"==typeof t)return t&=255,Ue.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):He(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function He(e,t,r,n,i){var s,a=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(s=r;s<o;s++)if(u(e,s)===u(t,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===l)return c*a}else-1!==c&&(s-=s-c),c=-1}else for(r+l>o&&(r=o-l),s=r;s>=0;s--){for(var p=!0,h=0;h<l;h++)if(u(e,s+h)!==u(t,h)){p=!1;break}if(p)return s}return-1}function Qe(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a<n;++a){var o=parseInt(t.substr(2*a,2),16);if(isNaN(o))return a;e[r+a]=o}return a}function Ze(e,t,r,n){return St(Et(t,e.length-r),e,r,n)}function et(e,t,r,n){return St(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function tt(e,t,r,n){return et(e,t,r,n)}function rt(e,t,r,n){return St(bt(t),e,r,n)}function nt(e,t,r,n){return St(function(e,t){for(var r,n,i,s=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,s.push(i),s.push(n);return s}(t,e.length-r),e,r,n)}function it(e,t,r){return 0===t&&r===e.length?Oe(e):Oe(e.slice(t,r))}function st(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var s,a,o,l,u=e[i],c=null,p=u>239?4:u>223?3:u>191?2:1;if(i+p<=r)switch(p){case 1:u<128&&(c=u);break;case 2:128==(192&(s=e[i+1]))&&(l=(31&u)<<6|63&s)>127&&(c=l);break;case 3:s=e[i+1],a=e[i+2],128==(192&s)&&128==(192&a)&&(l=(15&u)<<12|(63&s)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:s=e[i+1],a=e[i+2],o=e[i+3],128==(192&s)&&128==(192&a)&&128==(192&o)&&(l=(15&u)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,p=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=p}return function(e){var t=e.length;if(t<=at)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=at));return r}(n)}Ue.poolSize=8192,Ue._augment=function(e){return e.__proto__=Ue.prototype,e},Ue.from=function(e,t,r){return $e(null,e,t,r)},Ue.TYPED_ARRAY_SUPPORT&&(Ue.prototype.__proto__=Uint8Array.prototype,Ue.__proto__=Uint8Array),Ue.alloc=function(e,t,r){return n=null,s=t,a=r,qe(i=e),i<=0?je(n,i):void 0!==s?"string"==typeof a?je(n,i).fill(s,a):je(n,i).fill(s):je(n,i);var n,i,s,a},Ue.allocUnsafe=function(e){return Ve(null,e)},Ue.allocUnsafeSlow=function(e){return Ve(null,e)},Ue.isBuffer=Tt,Ue.compare=function(e,t){if(!Je(e)||!Je(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},Ue.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Ue.concat=function(e,t){if(!Le(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Ue.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Ue.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var s=e[r];if(!Je(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,i),i+=s.length}return n},Ue.byteLength=Ke,Ue.prototype._isBuffer=!0,Ue.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Ge(this,t,t+1);return this},Ue.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Ge(this,t,t+3),Ge(this,t+1,t+2);return this},Ue.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Ge(this,t,t+7),Ge(this,t+1,t+6),Ge(this,t+2,t+5),Ge(this,t+3,t+4);return this},Ue.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?st(this,0,e):We.apply(this,arguments)},Ue.prototype.equals=function(e){if(!Je(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Ue.compare(this,e)},Ue.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Ue.prototype.compare=function(e,t,r,n,i){if(!Je(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),o=Math.min(s,a),l=this.slice(n,i),u=e.slice(t,r),c=0;c<o;++c)if(l[c]!==u[c]){s=l[c],a=u[c];break}return s<a?-1:a<s?1:0},Ue.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Ue.prototype.indexOf=function(e,t,r){return Ye(this,e,t,r,!0)},Ue.prototype.lastIndexOf=function(e,t,r){return Ye(this,e,t,r,!1)},Ue.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return Qe(this,e,t,r);case"utf8":case"utf-8":return Ze(this,e,t,r);case"ascii":return et(this,e,t,r);case"latin1":case"binary":return tt(this,e,t,r);case"base64":return rt(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nt(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},Ue.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var at=4096;function ot(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function lt(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function ut(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",s=t;s<r;++s)i+=vt(e[s]);return i}function ct(e,t,r){for(var n=e.slice(t,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}function pt(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function ht(e,t,r,n,i,s){if(!Je(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function dt(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i<s;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function ft(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i<s;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function mt(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function yt(e,t,r,n,i){return i||mt(e,0,r,4),Ie(e,t,r,n,23,4),r+4}function gt(e,t,r,n,i){return i||mt(e,0,r,8),Ie(e,t,r,n,52,8),r+8}Ue.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),Ue.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Ue.prototype;else{var i=t-e;r=new Ue(i,void 0);for(var s=0;s<i;++s)r[s]=this[s+e]}return r},Ue.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||pt(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n},Ue.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||pt(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},Ue.prototype.readUInt8=function(e,t){return t||pt(e,1,this.length),this[e]},Ue.prototype.readUInt16LE=function(e,t){return t||pt(e,2,this.length),this[e]|this[e+1]<<8},Ue.prototype.readUInt16BE=function(e,t){return t||pt(e,2,this.length),this[e]<<8|this[e+1]},Ue.prototype.readUInt32LE=function(e,t){return t||pt(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ue.prototype.readUInt32BE=function(e,t){return t||pt(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ue.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||pt(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},Ue.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||pt(e,t,this.length);for(var n=t,i=1,s=this[e+--n];n>0&&(i*=256);)s+=this[e+--n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},Ue.prototype.readInt8=function(e,t){return t||pt(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ue.prototype.readInt16LE=function(e,t){t||pt(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Ue.prototype.readInt16BE=function(e,t){t||pt(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Ue.prototype.readInt32LE=function(e,t){return t||pt(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ue.prototype.readInt32BE=function(e,t){return t||pt(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ue.prototype.readFloatLE=function(e,t){return t||pt(e,4,this.length),Fe(this,e,!0,23,4)},Ue.prototype.readFloatBE=function(e,t){return t||pt(e,4,this.length),Fe(this,e,!1,23,4)},Ue.prototype.readDoubleLE=function(e,t){return t||pt(e,8,this.length),Fe(this,e,!0,52,8)},Ue.prototype.readDoubleBE=function(e,t){return t||pt(e,8,this.length),Fe(this,e,!1,52,8)},Ue.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||ht(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},Ue.prototype.writeUIntBE=function(e,t,r,n){e=+e,t|=0,r|=0,n||ht(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},Ue.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,1,255,0),Ue.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Ue.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,2,65535,0),Ue.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):dt(this,e,t,!0),t+2},Ue.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,2,65535,0),Ue.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):dt(this,e,t,!1),t+2},Ue.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,4,4294967295,0),Ue.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):ft(this,e,t,!0),t+4},Ue.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,4,4294967295,0),Ue.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ft(this,e,t,!1),t+4},Ue.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);ht(this,e,t,r,i-1,-i)}var s=0,a=1,o=0;for(this[t]=255&e;++s<r&&(a*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},Ue.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);ht(this,e,t,r,i-1,-i)}var s=r-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},Ue.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,1,127,-128),Ue.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ue.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,2,32767,-32768),Ue.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):dt(this,e,t,!0),t+2},Ue.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,2,32767,-32768),Ue.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):dt(this,e,t,!1),t+2},Ue.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,4,2147483647,-2147483648),Ue.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ft(this,e,t,!0),t+4},Ue.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||ht(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Ue.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ft(this,e,t,!1),t+4},Ue.prototype.writeFloatLE=function(e,t,r){return yt(this,e,t,!0,r)},Ue.prototype.writeFloatBE=function(e,t,r){return yt(this,e,t,!1,r)},Ue.prototype.writeDoubleLE=function(e,t,r){return gt(this,e,t,!0,r)},Ue.prototype.writeDoubleBE=function(e,t,r){return gt(this,e,t,!1,r)},Ue.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,s=n-r;if(this===e&&r<t&&t<n)for(i=s-1;i>=0;--i)e[i+t]=this[i+r];else if(s<1e3||!Ue.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+s),t);return s},Ue.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Ue.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var s;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s<r;++s)this[s]=e;else{var a=Je(e)?e:Et(new Ue(e,n).toString()),o=a.length;for(s=0;s<r-t;++s)this[s+t]=a[s%o]}return this};var xt=/[^+\/0-9A-Za-z-_]/g;function vt(e){return e<16?"0"+e.toString(16):e.toString(16)}function Et(e,t){var r;t=t||1/0;for(var n=e.length,i=null,s=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function bt(e){return function(e){var t,r,n,i,s,a;ke||Ne();var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:"="===e[o-1]?1:0,a=new Pe(3*o/4-s),n=s>0?o-4:o;var l=0;for(t=0,r=0;t<n;t+=4,r+=3)i=we[e.charCodeAt(t)]<<18|we[e.charCodeAt(t+1)]<<12|we[e.charCodeAt(t+2)]<<6|we[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===s?(i=we[e.charCodeAt(t)]<<2|we[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===s&&(i=we[e.charCodeAt(t)]<<10|we[e.charCodeAt(t+1)]<<4|we[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){if((e=(t=e,t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(xt,"")).length<2)return"";for(var t;e.length%4!=0;)e+="=";return e}(e))}function St(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Tt(e){return null!=e&&(!!e._isBuffer||At(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&At(t.slice(0,0)));var t}function At(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Dt=Object.freeze({__proto__:null,Buffer:Ue,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),Ue.alloc(+e)},isBuffer:Tt,kMaxLength:Me}),Ct="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},wt=/%[sdj%]/g;function Pt(e){if(!Ut(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Ot(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,s=String(e).replace(wt,(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{return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])jt(a)||!Vt(a)?s+=" "+a:s+=" "+Ot(a);return s}function kt(e,t){if($t(r.process))return function(){return kt(e,t).apply(this,arguments)};if(!0===w.noDeprecation)return e;var n=!1;return function(){if(!n){if(w.throwDeprecation)throw new Error(t);w.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}}var Nt,_t={};function Ot(e,t){var r={seen:[],stylize:It};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Rt(t)?r.showHidden=t:t&&function(e,t){if(!t||!Vt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]]}(r,t),$t(r.showHidden)&&(r.showHidden=!1),$t(r.depth)&&(r.depth=2),$t(r.colors)&&(r.colors=!1),$t(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Ft),Bt(r,e,r.depth)}function Ft(e,t){var r=Ot.styles[t];return r?"["+Ot.colors[r][0]+"m"+e+"["+Ot.colors[r][1]+"m":e}function It(e,t){return e}function Bt(e,t,r){if(e.customInspect&&t&&Jt(t.inspect)&&t.inspect!==Ot&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Ut(n)||(n=Bt(e,n,r)),n}var i=function(e,t){if($t(t))return e.stylize("undefined","undefined");if(Ut(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return"number"==typeof t?e.stylize(""+t,"number"):Rt(t)?e.stylize(""+t,"boolean"):jt(t)?e.stylize("null","null"):void 0}(e,t);if(i)return i;var s,a=Object.keys(t),o=(s={},a.forEach((function(e,t){s[e]=!0})),s);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),Xt(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return Lt(t);if(0===a.length){if(Jt(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(qt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(zt(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Xt(t))return Lt(t)}var u,c,p="",h=!1,d=["{","}"];return u=t,Array.isArray(u)&&(h=!0,d=["[","]"]),Jt(t)&&(p=" [Function"+(t.name?": "+t.name:"")+"]"),qt(t)&&(p=" "+RegExp.prototype.toString.call(t)),zt(t)&&(p=" "+Date.prototype.toUTCString.call(t)),Xt(t)&&(p=" "+Lt(t)),0!==a.length||h&&0!=t.length?r<0?qt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=h?function(e,t,r,n,i){for(var s=[],a=0,o=t.length;a<o;++a)Gt(t,String(a))?s.push(Mt(e,t,r,n,String(a),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(Mt(e,t,r,n,i,!0))})),s}(e,t,r,o,a):a.map((function(n){return Mt(e,t,r,o,n,h)})),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]}(c,p,d)):d[0]+p+d[1]}function Lt(e){return"["+Error.prototype.toString.call(e)+"]"}function Mt(e,t,r,n,i,s){var a,o,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?o=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(o=e.stylize("[Setter]","special")),Gt(n,i)||(a="["+i+"]"),o||(e.seen.indexOf(l.value)<0?(o=jt(r)?Bt(e,l.value,null):Bt(e,l.value,r-1)).indexOf("\n")>-1&&(o=s?o.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+o.split("\n").map((function(e){return"   "+e})).join("\n")):o=e.stylize("[Circular]","special")),$t(a)){if(s&&i.match(/^\d+$/))return o;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function Rt(e){return"boolean"==typeof e}function jt(e){return null===e}function Ut(e){return"string"==typeof e}function $t(e){return void 0===e}function qt(e){return Vt(e)&&"[object RegExp]"===Wt(e)}function Vt(e){return"object"==typeof e&&null!==e}function zt(e){return Vt(e)&&"[object Date]"===Wt(e)}function Xt(e){return Vt(e)&&("[object Error]"===Wt(e)||e instanceof Error)}function Jt(e){return"function"==typeof e}function Kt(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Wt(e){return Object.prototype.toString.call(e)}function Gt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Yt(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}Ot.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]},Ot.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Ht,Qt=Object.prototype.hasOwnProperty,Zt=Object.keys||function(e){var t=[];for(var r in e)Qt.call(e,r)&&t.push(r);return t},er=Array.prototype.slice;function tr(){return void 0!==Ht?Ht:Ht="foo"===function(){}.name}function rr(e){return Object.prototype.toString.call(e)}function nr(e){return!Tt(e)&&"function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}function ir(e,t){e||cr(e,!0,t,"==",pr)}var sr=/\s*function\s+([^\(\s]*)\s*/;function ar(e){if(Jt(e)){if(tr())return e.name;var t=e.toString().match(sr);return t&&t[1]}}function or(e){var t;this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=lr(ur((t=this).actual),128)+" "+t.operator+" "+lr(ur(t.expected),128),this.generatedMessage=!0);var r=e.stackStartFunction||cr;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var n=new Error;if(n.stack){var i=n.stack,s=ar(r),a=i.indexOf("\n"+s);if(a>=0){var o=i.indexOf("\n",a+1);i=i.substring(o+1)}this.stack=i}}}function lr(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function ur(e){if(tr()||!Jt(e))return Ot(e);var t=ar(e);return"[Function"+(t?": "+t:"")+"]"}function cr(e,t,r,n,i){throw new or({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function pr(e,t){e||cr(e,!0,t,"==",pr)}function hr(e,t,r){e!=t&&cr(e,t,r,"==",hr)}function dr(e,t,r){e==t&&cr(e,t,r,"!=",dr)}function fr(e,t,r){yr(e,t,!1)||cr(e,t,r,"deepEqual",fr)}function mr(e,t,r){yr(e,t,!0)||cr(e,t,r,"deepStrictEqual",mr)}function yr(e,t,r,n){if(e===t)return!0;if(Tt(e)&&Tt(t))return 0===Yt(e,t);if(zt(e)&&zt(t))return e.getTime()===t.getTime();if(qt(e)&&qt(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(nr(e)&&nr(t)&&rr(e)===rr(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===Yt(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(Tt(e)!==Tt(t))return!1;var i=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==i&&i===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,r,n){if(null==e||null==t)return!1;if(Kt(e)||Kt(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=gr(e),s=gr(t);if(i&&!s||!i&&s)return!1;if(i)return yr(e=er.call(e),t=er.call(t),r);var a,o,l=Zt(e),u=Zt(t);if(l.length!==u.length)return!1;for(l.sort(),u.sort(),o=l.length-1;o>=0;o--)if(l[o]!==u[o])return!1;for(o=l.length-1;o>=0;o--)if(!yr(e[a=l[o]],t[a],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function gr(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function xr(e,t,r){yr(e,t,!1)&&cr(e,t,r,"notDeepEqual",xr)}function vr(e,t,r){yr(e,t,!0)&&cr(e,t,r,"notDeepStrictEqual",vr)}function Er(e,t,r){e!==t&&cr(e,t,r,"===",Er)}function br(e,t,r){e===t&&cr(e,t,r,"!==",br)}function Sr(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch{}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function Tr(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&cr(i,r,"Missing expected exception"+n);var s="string"==typeof n,a=!e&&i&&!r;if((!e&&Xt(i)&&s&&Sr(i,r)||a)&&cr(i,r,"Got unwanted exception"+n),e&&i&&r&&!Sr(i,r)||!e&&i)throw i}function Ar(e,t,r){Tr(!0,e,t,r)}function Dr(e,t,r){Tr(!1,e,t,r)}function Cr(e){if(e)throw e}ir.AssertionError=or,Ct(or,Error),ir.fail=cr,ir.ok=pr,ir.equal=hr,ir.notEqual=dr,ir.deepEqual=fr,ir.deepStrictEqual=mr,ir.notDeepEqual=xr,ir.notDeepStrictEqual=vr,ir.strictEqual=Er,ir.notStrictEqual=br,ir.throws=Ar,ir.doesNotThrow=Dr,ir.ifError=Cr;var wr=t(Object.freeze({__proto__:null,default:ir,AssertionError:or,fail:cr,ok:pr,assert:pr,equal:hr,notEqual:dr,deepEqual:fr,deepStrictEqual:mr,notDeepEqual:xr,notDeepStrictEqual:vr,strictEqual:Er,notStrictEqual:br,throws:Ar,doesNotThrow:Dr,ifError:Cr})),Pr={},kr={},Nr={},_r={},Or={},Fr={},Ir={},Br="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Ir.encode=function(e){if(0<=e&&e<Br.length)return Br[e];throw new TypeError("Must be between 0 and 63: "+e)},Ir.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var Lr=Ir;Fr.encode=function(e){var t,r,n="",i=(r=e)<0?1+(-r<<1):0+(r<<1);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=Lr.encode(t)}while(i>0);return n},Fr.decode=function(e,t,r){var n,i,s,a,o=e.length,l=0,u=0;do{if(t>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=Lr.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));n=!!(32&i),l+=(i&=31)<<u,u+=5}while(n);r.value=(a=(s=l)>>1,1&~s?a:-a),r.rest=t};var Mr={};!function(e){e.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function n(e){var r=e.match(t);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function s(t){var r=t,s=n(t);if(s){if(!s.path)return t;r=s.path}for(var a,o=e.isAbsolute(r),l=r.split(/\/+/),u=0,c=l.length-1;c>=0;c--)"."===(a=l[c])?l.splice(c,1):".."===a?u++:u>0&&(""===a?(l.splice(c+1,u),u=0):(l.splice(c,2),u--));return""===(r=l.join("/"))&&(r=o?"/":"."),s?(s.path=r,i(s)):r}function a(e,t){""===e&&(e="."),""===t&&(t=".");var a=n(t),o=n(e);if(o&&(e=o.path||"/"),a&&!a.scheme)return o&&(a.scheme=o.scheme),i(a);if(a||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,i(o);var l="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=l,i(o)):l}e.urlParse=n,e.urlGenerate=i,e.normalize=s,e.join=a,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var o=!("__proto__"in Object.create(null));function l(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function c(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=o?l:function(e){return u(e)?"$"+e:e},e.fromSetString=o?l:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,r){var n=c(e.source,t.source);return 0!==n||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)||r||0!=(n=e.generatedColumn-t.generatedColumn)||0!=(n=e.generatedLine-t.generatedLine)?n:c(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||r||0!==(n=c(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:c(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||0!==(r=c(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var o=n(r);if(!o)throw new Error("sourceMapURL could not be parsed");if(o.path){var l=o.path.lastIndexOf("/");l>=0&&(o.path=o.path.substring(0,l+1))}t=a(i(o),t)}return s(t)}}(Mr);var Rr={},jr=Mr,Ur=Object.prototype.hasOwnProperty,$r=typeof Map<"u";function qr(){this._array=[],this._set=$r?new Map:Object.create(null)}qr.fromArray=function(e,t){for(var r=new qr,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},qr.prototype.size=function(){return $r?this._set.size:Object.getOwnPropertyNames(this._set).length},qr.prototype.add=function(e,t){var r=$r?e:jr.toSetString(e),n=$r?this.has(e):Ur.call(this._set,r),i=this._array.length;n&&!t||this._array.push(e),n||($r?this._set.set(e,i):this._set[r]=i)},qr.prototype.has=function(e){if($r)return this._set.has(e);var t=jr.toSetString(e);return Ur.call(this._set,t)},qr.prototype.indexOf=function(e){if($r){var t=this._set.get(e);if(t>=0)return t}else{var r=jr.toSetString(e);if(Ur.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},qr.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},qr.prototype.toArray=function(){return this._array.slice()},Rr.ArraySet=qr;var Vr={},zr=Mr;function Xr(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Xr.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Xr.prototype.add=function(e){var t,r,n,i,s,a;r=e,n=(t=this._last).generatedLine,i=r.generatedLine,s=t.generatedColumn,a=r.generatedColumn,i>n||i==n&&a>=s||zr.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Xr.prototype.toArray=function(){return this._sorted||(this._array.sort(zr.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Vr.MappingList=Xr;var Jr=Fr,Kr=Mr,Wr=Rr.ArraySet,Gr=Vr.MappingList;function Yr(e){e||(e={}),this._file=Kr.getArg(e,"file",null),this._sourceRoot=Kr.getArg(e,"sourceRoot",null),this._skipValidation=Kr.getArg(e,"skipValidation",!1),this._sources=new Wr,this._names=new Wr,this._mappings=new Gr,this._sourcesContents=null}Yr.prototype._version=3,Yr.fromSourceMap=function(e){var t=e.sourceRoot,r=new Yr({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=Kr.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)})),e.sources.forEach((function(n){var i=n;null!==t&&(i=Kr.relative(t,n)),r._sources.has(i)||r._sources.add(i);var s=e.sourceContentFor(n);null!=s&&r.setSourceContent(n,s)})),r},Yr.prototype.addMapping=function(e){var t=Kr.getArg(e,"generated"),r=Kr.getArg(e,"original",null),n=Kr.getArg(e,"source",null),i=Kr.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,i),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:i})},Yr.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=Kr.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Kr.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[Kr.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Yr.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var i=this._sourceRoot;null!=i&&(n=Kr.relative(i,n));var s=new Wr,a=new Wr;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=r&&(t.source=Kr.join(r,t.source)),null!=i&&(t.source=Kr.relative(i,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var l=t.source;null==l||s.has(l)||s.add(l);var u=t.name;null==u||a.has(u)||a.add(u)}),this),this._sources=s,this._names=a,e.sources.forEach((function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=Kr.join(r,t)),null!=i&&(t=Kr.relative(i,t)),this.setSourceContent(t,n))}),this)},Yr.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},Yr.prototype._serializeMappings=function(){for(var e,t,r,n,i=0,s=1,a=0,o=0,l=0,u=0,c="",p=this._mappings.toArray(),h=0,d=p.length;h<d;h++){if(e="",(t=p[h]).generatedLine!==s)for(i=0;t.generatedLine!==s;)e+=";",s++;else if(h>0){if(!Kr.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=Jr.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(n=this._sources.indexOf(t.source),e+=Jr.encode(n-u),u=n,e+=Jr.encode(t.originalLine-1-o),o=t.originalLine-1,e+=Jr.encode(t.originalColumn-a),a=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Jr.encode(r-l),l=r)),c+=e}return c},Yr.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=Kr.relative(t,e));var r=Kr.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},Yr.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},Yr.prototype.toString=function(){return JSON.stringify(this.toJSON())},Or.SourceMapGenerator=Yr;var Hr={},Qr={};!function(e){function t(r,n,i,s,a,o){var l=Math.floor((n-r)/2)+r,u=a(i,s[l],!0);return 0===u?l:u>0?n-l>1?t(l,n,i,s,a,o):o==e.LEAST_UPPER_BOUND?n<s.length?n:-1:l:l-r>1?t(r,l,i,s,a,o):o==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(r,n,i,s){if(0===n.length)return-1;var a=t(-1,n.length,r,n,i,s||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(n[a],n[a-1],!0);)--a;return a}}(Qr);var Zr={};function en(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function tn(e,t,r,n){if(r<n){var i=r-1;en(e,(l=r,u=n,Math.round(l+Math.random()*(u-l))),n);for(var s=e[n],a=r;a<n;a++)t(e[a],s)<=0&&en(e,i+=1,a);en(e,i+1,a);var o=i+1;tn(e,t,r,o-1),tn(e,t,o+1,n)}var l,u}Zr.quickSort=function(e,t){tn(e,t,0,e.length-1)};var rn=Mr,nn=Qr,sn=Rr.ArraySet,an=Fr,on=Zr.quickSort;function ln(e,t){var r=e;return"string"==typeof e&&(r=rn.parseSourceMapInput(e)),null!=r.sections?new pn(r,t):new un(r,t)}function un(e,t){var r=e;"string"==typeof e&&(r=rn.parseSourceMapInput(e));var n=rn.getArg(r,"version"),i=rn.getArg(r,"sources"),s=rn.getArg(r,"names",[]),a=rn.getArg(r,"sourceRoot",null),o=rn.getArg(r,"sourcesContent",null),l=rn.getArg(r,"mappings"),u=rn.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=rn.normalize(a)),i=i.map(String).map(rn.normalize).map((function(e){return a&&rn.isAbsolute(a)&&rn.isAbsolute(e)?rn.relative(a,e):e})),this._names=sn.fromArray(s.map(String),!0),this._sources=sn.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map((function(e){return rn.computeSourceURL(a,e,t)})),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=t,this.file=u}function cn(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function pn(e,t){var r=e;"string"==typeof e&&(r=rn.parseSourceMapInput(e));var n=rn.getArg(r,"version"),i=rn.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new sn,this._names=new sn;var s={line:-1,column:0};this._sections=i.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=rn.getArg(e,"offset"),n=rn.getArg(r,"line"),i=rn.getArg(r,"column");if(n<s.line||n===s.line&&i<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=r,{generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:new ln(rn.getArg(e,"map"),t)}}))}ln.fromSourceMap=function(e,t){return un.fromSourceMap(e,t)},ln.prototype._version=3,ln.prototype.__generatedMappings=null,Object.defineProperty(ln.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),ln.prototype.__originalMappings=null,Object.defineProperty(ln.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),ln.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},ln.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},ln.GENERATED_ORDER=1,ln.ORIGINAL_ORDER=2,ln.GREATEST_LOWER_BOUND=1,ln.LEAST_UPPER_BOUND=2,ln.prototype.eachMapping=function(e,t,r){var n,i=t||null;switch(r||ln.GENERATED_ORDER){case ln.GENERATED_ORDER:n=this._generatedMappings;break;case ln.ORIGINAL_ORDER:n=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;n.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=rn.computeSourceURL(s,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,i)},ln.prototype.allGeneratedPositionsFor=function(e){var t=rn.getArg(e,"line"),r={source:rn.getArg(e,"source"),originalLine:t,originalColumn:rn.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var n=[],i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",rn.compareByOriginalPositions,nn.LEAST_UPPER_BOUND);if(i>=0){var s=this._originalMappings[i];if(void 0===e.column)for(var a=s.originalLine;s&&s.originalLine===a;)n.push({line:rn.getArg(s,"generatedLine",null),column:rn.getArg(s,"generatedColumn",null),lastColumn:rn.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var o=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==o;)n.push({line:rn.getArg(s,"generatedLine",null),column:rn.getArg(s,"generatedColumn",null),lastColumn:rn.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i]}return n},Hr.SourceMapConsumer=ln,un.prototype=Object.create(ln.prototype),un.prototype.consumer=ln,un.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=rn.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},un.fromSourceMap=function(e,t){var r=Object.create(un.prototype),n=r._names=sn.fromArray(e._names.toArray(),!0),i=r._sources=sn.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return rn.computeSourceURL(r.sourceRoot,e,t)}));for(var s=e._mappings.toArray().slice(),a=r.__generatedMappings=[],o=r.__originalMappings=[],l=0,u=s.length;l<u;l++){var c=s[l],p=new cn;p.generatedLine=c.generatedLine,p.generatedColumn=c.generatedColumn,c.source&&(p.source=i.indexOf(c.source),p.originalLine=c.originalLine,p.originalColumn=c.originalColumn,c.name&&(p.name=n.indexOf(c.name)),o.push(p)),a.push(p)}return on(r.__originalMappings,rn.compareByOriginalPositions),r},un.prototype._version=3,Object.defineProperty(un.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),un.prototype._parseMappings=function(e,t){for(var r,n,i,s,a,o=1,l=0,u=0,c=0,p=0,h=0,d=e.length,f=0,m={},y={},g=[],x=[];f<d;)if(";"===e.charAt(f))o++,f++,l=0;else if(","===e.charAt(f))f++;else{for((r=new cn).generatedLine=o,s=f;s<d&&!this._charIsMappingSeparator(e,s);s++);if(i=m[n=e.slice(f,s)])f+=n.length;else{for(i=[];f<s;)an.decode(e,f,y),a=y.value,f=y.rest,i.push(a);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");m[n]=i}r.generatedColumn=l+i[0],l=r.generatedColumn,i.length>1&&(r.source=p+i[1],p+=i[1],r.originalLine=u+i[2],u=r.originalLine,r.originalLine+=1,r.originalColumn=c+i[3],c=r.originalColumn,i.length>4&&(r.name=h+i[4],h+=i[4])),x.push(r),"number"==typeof r.originalLine&&g.push(r)}on(x,rn.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,on(g,rn.compareByOriginalPositions),this.__originalMappings=g},un.prototype._findMapping=function(e,t,r,n,i,s){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return nn.search(e,t,i,s)},un.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},un.prototype.originalPositionFor=function(e){var t={generatedLine:rn.getArg(e,"line"),generatedColumn:rn.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",rn.compareByGeneratedPositionsDeflated,rn.getArg(e,"bias",ln.GREATEST_LOWER_BOUND));if(r>=0){var n=this._generatedMappings[r];if(n.generatedLine===t.generatedLine){var i=rn.getArg(n,"source",null);null!==i&&(i=this._sources.at(i),i=rn.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var s=rn.getArg(n,"name",null);return null!==s&&(s=this._names.at(s)),{source:i,line:rn.getArg(n,"originalLine",null),column:rn.getArg(n,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},un.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},un.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var n,i=e;if(null!=this.sourceRoot&&(i=rn.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(n=rn.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!n.path||"/"==n.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')},un.prototype.generatedPositionFor=function(e){var t=rn.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:rn.getArg(e,"line"),originalColumn:rn.getArg(e,"column")},n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",rn.compareByOriginalPositions,rn.getArg(e,"bias",ln.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===r.source)return{line:rn.getArg(i,"generatedLine",null),column:rn.getArg(i,"generatedColumn",null),lastColumn:rn.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Hr.BasicSourceMapConsumer=un,pn.prototype=Object.create(ln.prototype),pn.prototype.constructor=ln,pn.prototype._version=3,Object.defineProperty(pn.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),pn.prototype.originalPositionFor=function(e){var t={generatedLine:rn.getArg(e,"line"),generatedColumn:rn.getArg(e,"column")},r=nn.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),n=this._sections[r];return n?n.consumer.originalPositionFor({line:t.generatedLine-(n.generatedOffset.generatedLine-1),column:t.generatedColumn-(n.generatedOffset.generatedLine===t.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},pn.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},pn.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},pn.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(rn.getArg(e,"source"))){var n=r.consumer.generatedPositionFor(e);if(n)return{line:n.line+(r.generatedOffset.generatedLine-1),column:n.column+(r.generatedOffset.generatedLine===n.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},pn.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var n=this._sections[r],i=n.consumer._generatedMappings,s=0;s<i.length;s++){var a=i[s],o=n.consumer._sources.at(a.source);o=rn.computeSourceURL(n.consumer.sourceRoot,o,this._sourceMapURL),this._sources.add(o),o=this._sources.indexOf(o);var l=null;a.name&&(l=n.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var u={source:o,generatedLine:a.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(n.generatedOffset.generatedLine===a.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(u),"number"==typeof u.originalLine&&this.__originalMappings.push(u)}on(this.__generatedMappings,rn.compareByGeneratedPositionsDeflated),on(this.__originalMappings,rn.compareByOriginalPositions)},Hr.IndexedSourceMapConsumer=pn;var hn={},dn=Or.SourceMapGenerator,fn=Mr,mn=/(\r?\n)/,yn="$$$isSourceNode$$$";function gn(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=r??null,this.name=i??null,this[yn]=!0,null!=n&&this.add(n)}gn.fromStringWithSourceMap=function(e,t,r){var n=new gn,i=e.split(mn),s=0,a=function(){return e()+(e()||"");function e(){return s<i.length?i[s++]:void 0}},o=1,l=0,u=null;return t.eachMapping((function(e){if(null!==u){if(!(o<e.generatedLine)){var t=(r=i[s]||"").substr(0,e.generatedColumn-l);return i[s]=r.substr(e.generatedColumn-l),l=e.generatedColumn,c(u,t),void(u=e)}c(u,a()),o++,l=0}for(;o<e.generatedLine;)n.add(a()),o++;if(l<e.generatedColumn){var r=i[s]||"";n.add(r.substr(0,e.generatedColumn)),i[s]=r.substr(e.generatedColumn),l=e.generatedColumn}u=e}),this),s<i.length&&(u&&c(u,a()),n.add(i.splice(s).join(""))),t.sources.forEach((function(e){var i=t.sourceContentFor(e);null!=i&&(null!=r&&(e=fn.join(r,e)),n.setSourceContent(e,i))})),n;function c(e,t){if(null===e||void 0===e.source)n.add(t);else{var i=r?fn.join(r,e.source):e.source;n.add(new gn(e.originalLine,e.originalColumn,i,t,e.name))}}},gn.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[yn]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},gn.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[yn]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},gn.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r<n;r++)(t=this.children[r])[yn]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},gn.prototype.join=function(e){var t,r,n=this.children.length;if(n>0){for(t=[],r=0;r<n-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},gn.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[yn]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},gn.prototype.setSourceContent=function(e,t){this.sourceContents[fn.toSetString(e)]=t},gn.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][yn]&&this.children[t].walkSourceContents(e);var n=Object.keys(this.sourceContents);for(t=0,r=n.length;t<r;t++)e(fn.fromSetString(n[t]),this.sourceContents[n[t]])},gn.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},gn.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new dn(e),n=!1,i=null,s=null,a=null,o=null;return this.walk((function(e,l){t.code+=e,null!==l.source&&null!==l.line&&null!==l.column?(i===l.source&&s===l.line&&a===l.column&&o===l.name||r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name}),i=l.source,s=l.line,a=l.column,o=l.name,n=!0):n&&(r.addMapping({generated:{line:t.line,column:t.column}}),i=null,n=!1);for(var u=0,c=e.length;u<c;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===c?(i=null,n=!1):n&&r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},hn.SourceNode=gn,_r.SourceMapGenerator=Or.SourceMapGenerator,_r.SourceMapConsumer=Hr.SourceMapConsumer,_r.SourceNode=hn.SourceNode;var xn=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},vn=e&&e.__importStar||function(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};Object.defineProperty(Nr,"__esModule",{value:!0});var En=xn(wr),bn=vn(N).namedTypes,Sn=xn(_r),Tn=Sn.default.SourceMapConsumer,An=Sn.default.SourceMapGenerator,Dn=Object.prototype.hasOwnProperty;function Cn(e,t){return e.line-t.line||e.column-t.column}function wn(e){return{line:e.line,column:e.column}}function Pn(e,t){e&&t&&(Cn(t.start,e.start)<0&&(e.start=t.start),Cn(e.end,t.end)<0&&(e.end=t.end))}function kn(e){if(e)switch(e.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}Nr.getOption=function(e,t,r){return e&&Dn.call(e,t)?e[t]:r},Nr.getUnionOfKeys=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r={},n=e.length,i=0;i<n;++i)for(var s=Object.keys(e[i]),a=s.length,o=0;o<a;++o)r[s[o]]=!0;return r},Nr.comparePos=Cn,Nr.copyPos=wn,Nr.composeSourceMaps=function(e,t){if(!e)return t||null;if(!t)return e;var r=new Tn(e),n=new Tn(t),i=new An({file:t.file,sourceRoot:t.sourceRoot}),s={};return n.eachMapping((function(e){var t=r.originalPositionFor({line:e.originalLine,column:e.originalColumn}),n=t.source;if(null!==n){i.addMapping({source:n,original:wn(t),generated:{line:e.generatedLine,column:e.generatedColumn},name:e.name});var a=r.sourceContentFor(n);a&&!Dn.call(s,n)&&(s[n]=a,i.setSourceContent(n,a))}})),i.toJSON()},Nr.getTrueLoc=function(e,t){if(!e.loc)return null;var r={start:e.loc.start,end:e.loc.end};function n(e){Pn(r,e.loc)}return e.declaration&&e.declaration.decorators&&kn(e)&&e.declaration.decorators.forEach(n),Cn(r.start,r.end)<0&&(r.start=wn(r.start),t.skipSpaces(r.start,!1,!0),Cn(r.start,r.end)<0&&(r.end=wn(r.end),t.skipSpaces(r.end,!0,!0))),e.comments&&e.comments.forEach(n),r},Nr.fixFaultyLocations=function(e,t){if((n=e.loc)&&(n.start.line<1&&(n.start.line=1),n.end.line<1&&(n.end.line=1)),"File"===e.type&&(n.start=t.firstPos(),n.end=t.lastPos()),function(e,t){function r(e){for(var r=e&&e.loc,n=r&&r.start,i=r&&wn(r.end);n&&i&&Cn(n,i)<0&&(t.prevPos(i),";"===t.charAt(i));)r.end.line=i.line,r.end.column=i.column}"ForStatement"===e.type&&(r(e.init),r(e.test),r(e.update))}(e,t),function(e,t){if("TemplateLiteral"===e.type&&0!==e.quasis.length){if(e.loc){var r=wn(e.loc.start);En.default.strictEqual(t.charAt(r),"`"),En.default.ok(t.nextPos(r));var n=e.quasis[0];Cn(n.loc.start,r)<0&&(n.loc.start=r);var i=wn(e.loc.end);En.default.ok(t.prevPos(i)),En.default.strictEqual(t.charAt(i),"`");var s=e.quasis[e.quasis.length-1];Cn(i,s.loc.end)<0&&(s.loc.end=i)}e.expressions.forEach((function(r,n){var i=t.skipSpaces(r.loc.start,!0,!1);if(t.prevPos(i)&&"{"===t.charAt(i)&&t.prevPos(i)&&"$"===t.charAt(i)){var s=e.quasis[n];Cn(i,s.loc.end)<0&&(s.loc.end=i)}var a=t.skipSpaces(r.loc.end,!1,!1);if("}"===t.charAt(a)){En.default.ok(t.nextPos(a));var o=e.quasis[n+1];Cn(o.loc.start,a)<0&&(o.loc.start=a)}}))}}(e,t),n&&e.decorators)e.decorators.forEach((function(e){Pn(n,e.loc)}));else if(e.declaration&&kn(e)){e.declaration.loc=null;var r=e.declaration.decorators;r&&r.forEach((function(e){Pn(n,e.loc)}))}else if(bn.MethodDefinition&&bn.MethodDefinition.check(e)||bn.Property.check(e)&&(e.method||e.shorthand))e.value.loc=null,bn.FunctionExpression.check(e.value)&&(e.value.id=null);else if("ObjectTypeProperty"===e.type){var n,i=(n=e.loc)&&n.end;i&&(i=wn(i),t.prevPos(i)&&","===t.charAt(i)&&(i=t.skipSpaces(i,!0,!0))&&(n.end=i))}},Nr.isExportDeclaration=kn,Nr.getParentExportDeclaration=function(e){var t=e.getParentNode();return"declaration"===e.getName()&&kn(t)?t:null},Nr.isTrailingCommaEnabled=function(e,t){var r=e.trailingComma;return"object"==typeof r?!!r[t]:!!r};var Nn={exports:{}};(function(e){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),i=r(3),s=r(8),a=r(15);function o(e,t,r){var a=null,o=function(e,t){r&&r(e,t),a&&a.visit(e,t)},l="function"==typeof r?o:null,u=!1;if(t){u="boolean"==typeof t.comment&&t.comment;var c="boolean"==typeof t.attachComment&&t.attachComment;(u||c)&&((a=new n.CommentHandler).attach=c,t.comment=!0,l=o)}var p,h=!1;t&&"string"==typeof t.sourceType&&(h="module"===t.sourceType),p=t&&"boolean"==typeof t.jsx&&t.jsx?new i.JSXParser(e,t,l):new s.Parser(e,t,l);var d=h?p.parseModule():p.parseScript();return u&&a&&(d.comments=a.comments),p.config.tokens&&(d.tokens=p.tokens),p.config.tolerant&&(d.errors=p.errorHandler.errors),d}t.parse=o,t.parseModule=function(e,t,r){var n=t||{};return n.sourceType="module",o(e,n,r)},t.parseScript=function(e,t,r){var n=t||{};return n.sourceType="script",o(e,n,r)},t.tokenize=function(e,t,r){var n,i=new a.Tokenizer(e,t);n=[];try{for(;;){var s=i.getNextToken();if(!s)break;r&&(s=r(s)),n.push(s)}}catch(e){i.errorHandler.tolerate(e)}return i.errorHandler.tolerant&&(n.errors=i.errors()),n};var l=r(2);t.Syntax=l.Syntax,t.version="4.0.1"},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(e,t){if(e.type===n.Syntax.BlockStatement&&0===e.body.length){for(var r=[],i=this.leading.length-1;i>=0;--i){var s=this.leading[i];t.end.offset>=s.start&&(r.unshift(s.comment),this.leading.splice(i,1),this.trailing.splice(i,1))}r.length&&(e.innerComments=r)}},e.prototype.findTrailingComments=function(e){var t=[];if(this.trailing.length>0){for(var r=this.trailing.length-1;r>=0;--r){var n=this.trailing[r];n.start>=e.end.offset&&t.unshift(n.comment)}return this.trailing.length=0,t}var i=this.stack[this.stack.length-1];if(i&&i.node.trailingComments){var s=i.node.trailingComments[0];s&&s.range[0]>=e.end.offset&&(t=i.node.trailingComments,delete i.node.trailingComments)}return t},e.prototype.findLeadingComments=function(e){for(var t,r=[];this.stack.length>0&&(s=this.stack[this.stack.length-1])&&s.start>=e.start.offset;)t=s.node,this.stack.pop();if(t){for(var n=(t.leadingComments?t.leadingComments.length:0)-1;n>=0;--n){var i=t.leadingComments[n];i.range[1]<=e.start.offset&&(r.unshift(i),t.leadingComments.splice(n,1))}return t.leadingComments&&0===t.leadingComments.length&&delete t.leadingComments,r}for(n=this.leading.length-1;n>=0;--n){var s;(s=this.leading[n]).start<=e.start.offset&&(r.unshift(s.comment),this.leading.splice(n,1))}return r},e.prototype.visitNode=function(e,t){if(!(e.type===n.Syntax.Program&&e.body.length>0)){this.insertInnerComments(e,t);var r=this.findTrailingComments(t),i=this.findLeadingComments(t);i.length>0&&(e.leadingComments=i),r.length>0&&(e.trailingComments=r),this.stack.push({node:e,start:t.start.offset})}},e.prototype.visitComment=function(e,t){var r="L"===e.type[0]?"Line":"Block",n={type:r,value:e.value};if(e.range&&(n.range=e.range),e.loc&&(n.loc=e.loc),this.comments.push(n),this.attach){var i={comment:{type:r,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};e.loc&&(i.comment.loc=e.loc),e.type=r,this.leading.push(i),this.trailing.push(i)}},e.prototype.visit=function(e,t){"LineComment"===e.type||"BlockComment"===e.type?this.visitComment(e,t):this.attach&&this.visitNode(e,t)},e}();t.CommentHandler=i},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,r){var n,i=this&&this.__extends||(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])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s=r(4),a=r(5),o=r(6),l=r(7),u=r(8),c=r(13),p=r(14);function h(e){var t;switch(e.type){case o.JSXSyntax.JSXIdentifier:t=e.name;break;case o.JSXSyntax.JSXNamespacedName:var r=e;t=h(r.namespace)+":"+h(r.name);break;case o.JSXSyntax.JSXMemberExpression:var n=e;t=h(n.object)+"."+h(n.property)}return t}c.TokenName[100]="JSXIdentifier",c.TokenName[101]="JSXText";var d=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return i(t,e),t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(e){for(var t="&",r=!0,n=!1,i=!1,a=!1;!this.scanner.eof()&&r&&!n;){var o=this.scanner.source[this.scanner.index];if(o===e)break;if(n=";"===o,t+=o,++this.scanner.index,!n)switch(t.length){case 2:i="#"===o;break;case 3:i&&(r=(a="x"===o)||s.Character.isDecimalDigit(o.charCodeAt(0)),i=i&&!a);break;default:r=(r=r&&!(i&&!s.Character.isDecimalDigit(o.charCodeAt(0))))&&!(a&&!s.Character.isHexDigit(o.charCodeAt(0)))}}if(r&&n&&t.length>2){var l=t.substr(1,t.length-2);i&&l.length>1?t=String.fromCharCode(parseInt(l.substr(1),10)):a&&l.length>2?t=String.fromCharCode(parseInt("0"+l.substr(1),16)):i||a||!p.XHTMLEntities[l]||(t=p.XHTMLEntities[l])}return t},t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(60===e||62===e||47===e||58===e||61===e||123===e||125===e)return{type:7,value:o=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===e||39===e){for(var t=this.scanner.index,r=this.scanner.source[this.scanner.index++],n="";!this.scanner.eof()&&(l=this.scanner.source[this.scanner.index++])!==r;)n+="&"===l?this.scanXHTMLEntity(r):l;return{type:8,value:n,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(46===e){var i=this.scanner.source.charCodeAt(this.scanner.index+1),a=this.scanner.source.charCodeAt(this.scanner.index+2),o=46===i&&46===a?"...":".";return t=this.scanner.index,this.scanner.index+=o.length,{type:7,value:o,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(96===e)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(s.Character.isIdentifierStart(e)&&92!==e){for(t=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var l=this.scanner.source.charCodeAt(this.scanner.index);if(s.Character.isIdentifierPart(l)&&92!==l)++this.scanner.index;else{if(45!==l)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(t,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(e)),e},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var e=this.scanner.index,t="";!this.scanner.eof();){var r=this.scanner.source[this.scanner.index];if("{"===r||"<"===r)break;++this.scanner.index,t+=r,s.Character.isLineTerminator(r.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===r&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var n={type:101,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};return t.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(n)),n},t.prototype.peekJSXToken=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.lexJSX();return this.scanner.restoreState(e),t},t.prototype.expectJSX=function(e){var t=this.nextJSXToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return 7===t.type&&t.value===e},t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode(),t=this.nextJSXToken();return 100!==t.type&&this.throwUnexpectedToken(t),this.finalize(e,new a.JSXIdentifier(t.value))},t.prototype.parseJSXElementName=function(){var e=this.createJSXNode(),t=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=t;this.expectJSX(":");var n=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXNamespacedName(r,n))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var i=t;this.expectJSX(".");var s=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXMemberExpression(i,s))}return t},t.prototype.parseJSXAttributeName=function(){var e,t=this.createJSXNode(),r=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=r;this.expectJSX(":");var i=this.parseJSXIdentifier();e=this.finalize(t,new a.JSXNamespacedName(n,i))}else e=r;return e},t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode(),t=this.nextJSXToken();8!==t.type&&this.throwUnexpectedToken(t);var r=this.getTokenRaw(t);return this.finalize(e,new l.Literal(t.value,r))},t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new a.JSXExpressionContainer(t))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode(),t=this.parseJSXAttributeName(),r=null;return this.matchJSX("=")&&(this.expectJSX("="),r=this.parseJSXAttributeValue()),this.finalize(e,new a.JSXAttribute(t,r))},t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new a.JSXSpreadAttribute(t))},t.prototype.parseJSXAttributes=function(){for(var e=[];!this.matchJSX("/")&&!this.matchJSX(">");){var t=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e},t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX("<");var t=this.parseJSXElementName(),r=this.parseJSXAttributes(),n=this.matchJSX("/");return n&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new a.JSXOpeningElement(t,n,r))},t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var t=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(e,new a.JSXClosingElement(t))}var r=this.parseJSXElementName(),n=this.parseJSXAttributes(),i=this.matchJSX("/");return i&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new a.JSXOpeningElement(r,i,n))},t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(e,new a.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var e,t=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(e=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),e=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(t,new a.JSXExpressionContainer(e))},t.prototype.parseJSXChildren=function(){for(var e=[];!this.scanner.eof();){var t=this.createJSXChildNode(),r=this.nextJSXText();if(r.start<r.end){var n=this.getTokenRaw(r),i=this.finalize(t,new a.JSXText(r.value,n));e.push(i)}if("{"!==this.scanner.source[this.scanner.index])break;var s=this.parseJSXExpressionContainer();e.push(s)}return e},t.prototype.parseComplexJSXElement=function(e){for(var t=[];!this.scanner.eof();){e.children=e.children.concat(this.parseJSXChildren());var r=this.createJSXChildNode(),n=this.parseJSXBoundaryElement();if(n.type===o.JSXSyntax.JSXOpeningElement){var i=n;if(i.selfClosing){var s=this.finalize(r,new a.JSXElement(i,[],null));e.children.push(s)}else t.push(e),e={node:r,opening:i,closing:null,children:[]}}if(n.type===o.JSXSyntax.JSXClosingElement){e.closing=n;var l=h(e.opening.name);if(l!==h(e.closing.name)&&this.tolerateError("Expected corresponding JSX closing tag for %0",l),!(t.length>0))break;s=this.finalize(e.node,new a.JSXElement(e.opening,e.children,e.closing)),(e=t[t.length-1]).children.push(s),t.pop()}}return e},t.prototype.parseJSXElement=function(){var e=this.createJSXNode(),t=this.parseJSXOpeningElement(),r=[],n=null;if(!t.selfClosing){var i=this.parseComplexJSXElement({node:e,opening:t,closing:n,children:r});r=i.children,n=i.closing}return this.finalize(e,new a.JSXElement(t,r,n))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var e=this.parseJSXElement();return this.finishJSX(),e},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")},t}(u.Parser);t.JSXParser=d},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var 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\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\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\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\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-\uA7AD\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\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[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\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]|\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]|\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\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\u0C81-\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\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\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\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\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\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[\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]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\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]|\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]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\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]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&r.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&r.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},isOctalDigit:function(e){return e>=48&&e<=55}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),i=function(e){this.type=n.JSXSyntax.JSXClosingElement,this.name=e};t.JSXClosingElement=i;var s=function(e,t,r){this.type=n.JSXSyntax.JSXElement,this.openingElement=e,this.children=t,this.closingElement=r};t.JSXElement=s;var a=function(){this.type=n.JSXSyntax.JSXEmptyExpression};t.JSXEmptyExpression=a;var o=function(e){this.type=n.JSXSyntax.JSXExpressionContainer,this.expression=e};t.JSXExpressionContainer=o;var l=function(e){this.type=n.JSXSyntax.JSXIdentifier,this.name=e};t.JSXIdentifier=l;var u=function(e,t){this.type=n.JSXSyntax.JSXMemberExpression,this.object=e,this.property=t};t.JSXMemberExpression=u;var c=function(e,t){this.type=n.JSXSyntax.JSXAttribute,this.name=e,this.value=t};t.JSXAttribute=c;var p=function(e,t){this.type=n.JSXSyntax.JSXNamespacedName,this.namespace=e,this.name=t};t.JSXNamespacedName=p;var h=function(e,t,r){this.type=n.JSXSyntax.JSXOpeningElement,this.name=e,this.selfClosing=t,this.attributes=r};t.JSXOpeningElement=h;var d=function(e){this.type=n.JSXSyntax.JSXSpreadAttribute,this.argument=e};t.JSXSpreadAttribute=d;var f=function(e,t){this.type=n.JSXSyntax.JSXText,this.value=e,this.raw=t};t.JSXText=f},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=function(e){this.type=n.Syntax.ArrayExpression,this.elements=e};t.ArrayExpression=i;var s=function(e){this.type=n.Syntax.ArrayPattern,this.elements=e};t.ArrayPattern=s;var a=function(e,t,r){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=r,this.async=!1};t.ArrowFunctionExpression=a;var o=function(e,t,r){this.type=n.Syntax.AssignmentExpression,this.operator=e,this.left=t,this.right=r};t.AssignmentExpression=o;var l=function(e,t){this.type=n.Syntax.AssignmentPattern,this.left=e,this.right=t};t.AssignmentPattern=l;var u=function(e,t,r){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=r,this.async=!0};t.AsyncArrowFunctionExpression=u;var c=function(e,t,r){this.type=n.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=r,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionDeclaration=c;var p=function(e,t,r){this.type=n.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=r,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionExpression=p;var h=function(e){this.type=n.Syntax.AwaitExpression,this.argument=e};t.AwaitExpression=h;var d=function(e,t,r){var i="||"===e||"&&"===e;this.type=i?n.Syntax.LogicalExpression:n.Syntax.BinaryExpression,this.operator=e,this.left=t,this.right=r};t.BinaryExpression=d;var f=function(e){this.type=n.Syntax.BlockStatement,this.body=e};t.BlockStatement=f;var m=function(e){this.type=n.Syntax.BreakStatement,this.label=e};t.BreakStatement=m;var y=function(e,t){this.type=n.Syntax.CallExpression,this.callee=e,this.arguments=t};t.CallExpression=y;var g=function(e,t){this.type=n.Syntax.CatchClause,this.param=e,this.body=t};t.CatchClause=g;var x=function(e){this.type=n.Syntax.ClassBody,this.body=e};t.ClassBody=x;var v=function(e,t,r){this.type=n.Syntax.ClassDeclaration,this.id=e,this.superClass=t,this.body=r};t.ClassDeclaration=v;var E=function(e,t,r){this.type=n.Syntax.ClassExpression,this.id=e,this.superClass=t,this.body=r};t.ClassExpression=E;var b=function(e,t){this.type=n.Syntax.MemberExpression,this.computed=!0,this.object=e,this.property=t};t.ComputedMemberExpression=b;var S=function(e,t,r){this.type=n.Syntax.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=r};t.ConditionalExpression=S;var T=function(e){this.type=n.Syntax.ContinueStatement,this.label=e};t.ContinueStatement=T;var A=function(){this.type=n.Syntax.DebuggerStatement};t.DebuggerStatement=A;var D=function(e,t){this.type=n.Syntax.ExpressionStatement,this.expression=e,this.directive=t};t.Directive=D;var C=function(e,t){this.type=n.Syntax.DoWhileStatement,this.body=e,this.test=t};t.DoWhileStatement=C;var w=function(){this.type=n.Syntax.EmptyStatement};t.EmptyStatement=w;var P=function(e){this.type=n.Syntax.ExportAllDeclaration,this.source=e};t.ExportAllDeclaration=P;var k=function(e){this.type=n.Syntax.ExportDefaultDeclaration,this.declaration=e};t.ExportDefaultDeclaration=k;var N=function(e,t,r){this.type=n.Syntax.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=r};t.ExportNamedDeclaration=N;var _=function(e,t){this.type=n.Syntax.ExportSpecifier,this.exported=t,this.local=e};t.ExportSpecifier=_;var O=function(e){this.type=n.Syntax.ExpressionStatement,this.expression=e};t.ExpressionStatement=O;var F=function(e,t,r){this.type=n.Syntax.ForInStatement,this.left=e,this.right=t,this.body=r,this.each=!1};t.ForInStatement=F;var I=function(e,t,r){this.type=n.Syntax.ForOfStatement,this.left=e,this.right=t,this.body=r};t.ForOfStatement=I;var B=function(e,t,r,i){this.type=n.Syntax.ForStatement,this.init=e,this.test=t,this.update=r,this.body=i};t.ForStatement=B;var L=function(e,t,r,i){this.type=n.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=r,this.generator=i,this.expression=!1,this.async=!1};t.FunctionDeclaration=L;var M=function(e,t,r,i){this.type=n.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=r,this.generator=i,this.expression=!1,this.async=!1};t.FunctionExpression=M;var R=function(e){this.type=n.Syntax.Identifier,this.name=e};t.Identifier=R;var j=function(e,t,r){this.type=n.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=r};t.IfStatement=j;var U=function(e,t){this.type=n.Syntax.ImportDeclaration,this.specifiers=e,this.source=t};t.ImportDeclaration=U;var $=function(e){this.type=n.Syntax.ImportDefaultSpecifier,this.local=e};t.ImportDefaultSpecifier=$;var q=function(e){this.type=n.Syntax.ImportNamespaceSpecifier,this.local=e};t.ImportNamespaceSpecifier=q;var V=function(e,t){this.type=n.Syntax.ImportSpecifier,this.local=e,this.imported=t};t.ImportSpecifier=V;var z=function(e,t){this.type=n.Syntax.LabeledStatement,this.label=e,this.body=t};t.LabeledStatement=z;var X=function(e,t){this.type=n.Syntax.Literal,this.value=e,this.raw=t};t.Literal=X;var J=function(e,t){this.type=n.Syntax.MetaProperty,this.meta=e,this.property=t};t.MetaProperty=J;var K=function(e,t,r,i,s){this.type=n.Syntax.MethodDefinition,this.key=e,this.computed=t,this.value=r,this.kind=i,this.static=s};t.MethodDefinition=K;var W=function(e){this.type=n.Syntax.Program,this.body=e,this.sourceType="module"};t.Module=W;var G=function(e,t){this.type=n.Syntax.NewExpression,this.callee=e,this.arguments=t};t.NewExpression=G;var Y=function(e){this.type=n.Syntax.ObjectExpression,this.properties=e};t.ObjectExpression=Y;var H=function(e){this.type=n.Syntax.ObjectPattern,this.properties=e};t.ObjectPattern=H;var Q=function(e,t,r,i,s,a){this.type=n.Syntax.Property,this.key=t,this.computed=r,this.value=i,this.kind=e,this.method=s,this.shorthand=a};t.Property=Q;var Z=function(e,t,r,i){this.type=n.Syntax.Literal,this.value=e,this.raw=t,this.regex={pattern:r,flags:i}};t.RegexLiteral=Z;var ee=function(e){this.type=n.Syntax.RestElement,this.argument=e};t.RestElement=ee;var te=function(e){this.type=n.Syntax.ReturnStatement,this.argument=e};t.ReturnStatement=te;var re=function(e){this.type=n.Syntax.Program,this.body=e,this.sourceType="script"};t.Script=re;var ne=function(e){this.type=n.Syntax.SequenceExpression,this.expressions=e};t.SequenceExpression=ne;var ie=function(e){this.type=n.Syntax.SpreadElement,this.argument=e};t.SpreadElement=ie;var se=function(e,t){this.type=n.Syntax.MemberExpression,this.computed=!1,this.object=e,this.property=t};t.StaticMemberExpression=se;var ae=function(){this.type=n.Syntax.Super};t.Super=ae;var oe=function(e,t){this.type=n.Syntax.SwitchCase,this.test=e,this.consequent=t};t.SwitchCase=oe;var le=function(e,t){this.type=n.Syntax.SwitchStatement,this.discriminant=e,this.cases=t};t.SwitchStatement=le;var ue=function(e,t){this.type=n.Syntax.TaggedTemplateExpression,this.tag=e,this.quasi=t};t.TaggedTemplateExpression=ue;var ce=function(e,t){this.type=n.Syntax.TemplateElement,this.value=e,this.tail=t};t.TemplateElement=ce;var pe=function(e,t){this.type=n.Syntax.TemplateLiteral,this.quasis=e,this.expressions=t};t.TemplateLiteral=pe;var he=function(){this.type=n.Syntax.ThisExpression};t.ThisExpression=he;var de=function(e){this.type=n.Syntax.ThrowStatement,this.argument=e};t.ThrowStatement=de;var fe=function(e,t,r){this.type=n.Syntax.TryStatement,this.block=e,this.handler=t,this.finalizer=r};t.TryStatement=fe;var me=function(e,t){this.type=n.Syntax.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0};t.UnaryExpression=me;var ye=function(e,t,r){this.type=n.Syntax.UpdateExpression,this.operator=e,this.argument=t,this.prefix=r};t.UpdateExpression=ye;var ge=function(e,t){this.type=n.Syntax.VariableDeclaration,this.declarations=e,this.kind=t};t.VariableDeclaration=ge;var xe=function(e,t){this.type=n.Syntax.VariableDeclarator,this.id=e,this.init=t};t.VariableDeclarator=xe;var ve=function(e,t){this.type=n.Syntax.WhileStatement,this.test=e,this.body=t};t.WhileStatement=ve;var Ee=function(e,t){this.type=n.Syntax.WithStatement,this.object=e,this.body=t};t.WithStatement=Ee;var be=function(e,t){this.type=n.Syntax.YieldExpression,this.argument=e,this.delegate=t};t.YieldExpression=be},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(9),i=r(10),s=r(11),a=r(7),o=r(12),l=r(2),u=r(13),c="ArrowParameterPlaceHolder",p=function(){function e(e,t,r){void 0===t&&(t={}),this.config={range:"boolean"==typeof t.range&&t.range,loc:"boolean"==typeof t.loc&&t.loc,source:null,tokens:"boolean"==typeof t.tokens&&t.tokens,comment:"boolean"==typeof t.comment&&t.comment,tolerant:"boolean"==typeof t.tolerant&&t.tolerant},this.config.loc&&t.source&&null!==t.source&&(this.config.source=String(t.source)),this.delegate=r,this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new o.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return e.prototype.throwError=function(e){var t=Array.prototype.slice.call(arguments,1),r=e.replace(/%(\d)/g,(function(e,r){return n.assert(r<t.length,"Message reference must be in range"),t[r]})),i=this.lastMarker.index,s=this.lastMarker.line,a=this.lastMarker.column+1;throw this.errorHandler.createError(i,s,a,r)},e.prototype.tolerateError=function(e){var t=Array.prototype.slice.call(arguments,1),r=e.replace(/%(\d)/g,(function(e,r){return n.assert(r<t.length,"Message reference must be in range"),t[r]})),i=this.lastMarker.index,s=this.scanner.lineNumber,a=this.lastMarker.column+1;this.errorHandler.tolerateError(i,s,a,r)},e.prototype.unexpectedTokenError=function(e,t){var r,n=t||s.Messages.UnexpectedToken;if(e?(t||(n=2===e.type?s.Messages.UnexpectedEOS:3===e.type?s.Messages.UnexpectedIdentifier:6===e.type?s.Messages.UnexpectedNumber:8===e.type?s.Messages.UnexpectedString:10===e.type?s.Messages.UnexpectedTemplate:s.Messages.UnexpectedToken,4===e.type&&(this.scanner.isFutureReservedWord(e.value)?n=s.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)&&(n=s.Messages.StrictReservedWord))),r=e.value):r="ILLEGAL",n=n.replace("%0",r),e&&"number"==typeof e.lineNumber){var i=e.start,a=e.lineNumber,o=this.lastMarker.index-this.lastMarker.column,l=e.start-o+1;return this.errorHandler.createError(i,a,l,n)}return i=this.lastMarker.index,a=this.lastMarker.line,l=this.lastMarker.column+1,this.errorHandler.createError(i,a,l,n)},e.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)},e.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))},e.prototype.collectComments=function(){if(this.config.comment){var e=this.scanner.scanComments();if(e.length>0&&this.delegate)for(var t=0;t<e.length;++t){var r=e[t],n=void 0;n={type:r.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(r.slice[0],r.slice[1])},this.config.range&&(n.range=r.range),this.config.loc&&(n.loc=r.loc);var i={start:{line:r.loc.start.line,column:r.loc.start.column,offset:r.range[0]},end:{line:r.loc.end.line,column:r.loc.end.column,offset:r.range[1]}};this.delegate(n,i)}}else this.scanner.scanComments()},e.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)},e.prototype.convertToken=function(e){var t={type:u.TokenName[e.type],value:this.getTokenRaw(e)};if(this.config.range&&(t.range=[e.start,e.end]),this.config.loc&&(t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),9===e.type){var r=e.pattern,n=e.flags;t.regex={pattern:r,flags:n}}return t},e.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var t=this.scanner.lex();return this.hasLineTerminator=e.lineNumber!==t.lineNumber,t&&this.context.strict&&3===t.type&&this.scanner.isStrictModeReservedWord(t.value)&&(t.type=4),this.lookahead=t,this.config.tokens&&2!==t.type&&this.tokens.push(this.convertToken(t)),e},e.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(e))),this.lookahead=e,this.nextToken(),e},e.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},e.prototype.startNode=function(e,t){void 0===t&&(t=0);var r=e.start-e.lineStart,n=e.lineNumber;return r<0&&(r+=t,n--),{index:e.start,line:n,column:r}},e.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var r={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,r)}return t},e.prototype.expect=function(e){var t=this.nextToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;7===e.type&&","===e.value?this.nextToken():7===e.type&&";"===e.value?(this.nextToken(),this.tolerateUnexpectedToken(e)):this.tolerateUnexpectedToken(e,s.Messages.UnexpectedToken)}else this.expect(",")},e.prototype.expectKeyword=function(e){var t=this.nextToken();4===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.match=function(e){return 7===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchKeyword=function(e){return 4===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchContextualKeyword=function(e){return 3===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchAssign=function(){if(7!==this.lookahead.type)return!1;var e=this.lookahead.value;return"="===e||"*="===e||"**="===e||"/="===e||"%="===e||"+="===e||"-="===e||"<<="===e||">>="===e||">>>="===e||"&="===e||"^="===e||"|="===e},e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,r=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=r,this.context.firstCoverInitializedNameError=n,i},e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,r=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&r,this.context.firstCoverInitializedNameError=n||this.context.firstCoverInitializedNameError,i},e.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},e.prototype.parsePrimaryExpression=function(){var e,t,r,n=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),e=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(n,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,s.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),r=this.getTokenRaw(t),e=this.finalize(n,new a.Literal(t.value,r));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),r=this.getTokenRaw(t),e=this.finalize(n,new a.Literal("true"===t.value,r));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),r=this.getTokenRaw(t),e=this.finalize(n,new a.Literal(null,r));break;case 10:e=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,t=this.nextRegexToken(),r=this.getTokenRaw(t),e=this.finalize(n,new a.RegexLiteral(t.regex,r,t.pattern,t.flags));break;default:e=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?e=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?e=this.finalize(n,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?e=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),e=this.finalize(n,new a.ThisExpression)):e=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:e=this.throwUnexpectedToken(this.nextToken())}return e},e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new a.SpreadElement(t))},e.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var r=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(r)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new a.ArrayExpression(t))},e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,r=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var n=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=r,n},e.prototype.parsePropertyMethodFunction=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters(),n=this.parsePropertyMethod(r);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,r.params,n,!1))},e.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,r=this.context.await;this.context.allowYield=!1,this.context.await=!0;var n=this.parseFormalParameters(),i=this.parsePropertyMethod(n);return this.context.allowYield=t,this.context.await=r,this.finalize(e,new a.AsyncFunctionExpression(null,n.params,i))},e.prototype.parseObjectPropertyKey=function(){var e,t=this.createNode(),r=this.nextToken();switch(r.type){case 8:case 6:this.context.strict&&r.octal&&this.tolerateUnexpectedToken(r,s.Messages.StrictOctalLiteral);var n=this.getTokenRaw(r);e=this.finalize(t,new a.Literal(r.value,n));break;case 3:case 1:case 5:case 4:e=this.finalize(t,new a.Identifier(r.value));break;case 7:"["===r.value?(e=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):e=this.throwUnexpectedToken(r);break;default:e=this.throwUnexpectedToken(r)}return e},e.prototype.isPropertyKey=function(e,t){return e.type===l.Syntax.Identifier&&e.name===t||e.type===l.Syntax.Literal&&e.value===t},e.prototype.parseObjectProperty=function(e){var t,r=this.createNode(),n=this.lookahead,i=null,o=null,l=!1,u=!1,c=!1,p=!1;if(3===n.type){var h=n.value;this.nextToken(),l=this.match("["),i=(p=!(this.hasLineTerminator||"async"!==h||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(r,new a.Identifier(h))}else this.match("*")?this.nextToken():(l=this.match("["),i=this.parseObjectPropertyKey());var d=this.qualifiedPropertyName(this.lookahead);if(3===n.type&&!p&&"get"===n.value&&d)t="get",l=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,o=this.parseGetterMethod();else if(3===n.type&&!p&&"set"===n.value&&d)t="set",l=this.match("["),i=this.parseObjectPropertyKey(),o=this.parseSetterMethod();else if(7===n.type&&"*"===n.value&&d)t="init",l=this.match("["),i=this.parseObjectPropertyKey(),o=this.parseGeneratorMethod(),u=!0;else if(i||this.throwUnexpectedToken(this.lookahead),t="init",this.match(":")&&!p)!l&&this.isPropertyKey(i,"__proto__")&&(e.value&&this.tolerateError(s.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),o=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))o=p?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),u=!0;else if(3===n.type)if(h=this.finalize(r,new a.Identifier(n.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),c=!0;var f=this.isolateCoverGrammar(this.parseAssignmentExpression);o=this.finalize(r,new a.AssignmentPattern(h,f))}else c=!0,o=h;else this.throwUnexpectedToken(this.nextToken());return this.finalize(r,new a.Property(t,i,l,o,u,c))},e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],r={value:!1};!this.match("}");)t.push(this.parseObjectProperty(r)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new a.ObjectExpression(t))},e.prototype.parseTemplateHead=function(){n.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),r=t.value,i=t.cooked;return this.finalize(e,new a.TemplateElement({raw:r,cooked:i},t.tail))},e.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),r=t.value,n=t.cooked;return this.finalize(e,new a.TemplateElement({raw:r,cooked:n},t.tail))},e.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],r=[],n=this.parseTemplateHead();for(r.push(n);!n.tail;)t.push(this.parseExpression()),n=this.parseTemplateElement(),r.push(n);return this.finalize(e,new a.TemplateLiteral(r,t))},e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case l.Syntax.Identifier:case l.Syntax.MemberExpression:case l.Syntax.RestElement:case l.Syntax.AssignmentPattern:break;case l.Syntax.SpreadElement:e.type=l.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case l.Syntax.ArrayExpression:e.type=l.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++)null!==e.elements[t]&&this.reinterpretExpressionAsPattern(e.elements[t]);break;case l.Syntax.ObjectExpression:for(e.type=l.Syntax.ObjectPattern,t=0;t<e.properties.length;t++)this.reinterpretExpressionAsPattern(e.properties[t].value);break;case l.Syntax.AssignmentExpression:e.type=l.Syntax.AssignmentPattern,delete e.operator,this.reinterpretExpressionAsPattern(e.left)}},e.prototype.parseGroupExpression=function(){var e;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),e={type:c,params:[],async:!1};else{var t=this.lookahead,r=[];if(this.match("..."))e=this.parseRestElement(r),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:c,params:[e],async:!1};else{var n=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var i=[];for(this.context.isAssignmentTarget=!1,i.push(e);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var s=0;s<i.length;s++)this.reinterpretExpressionAsPattern(i[s]);n=!0,e={type:c,params:i,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),i.push(this.parseRestElement(r)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,s=0;s<i.length;s++)this.reinterpretExpressionAsPattern(i[s]);n=!0,e={type:c,params:i,async:!1}}else i.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(n)break}n||(e=this.finalize(this.startNode(t),new a.SequenceExpression(i)))}if(!n){if(this.expect(")"),this.match("=>")&&(e.type===l.Syntax.Identifier&&"yield"===e.name&&(n=!0,e={type:c,params:[e],async:!1}),!n)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===l.Syntax.SequenceExpression)for(s=0;s<e.expressions.length;s++)this.reinterpretExpressionAsPattern(e.expressions[s]);else this.reinterpretExpressionAsPattern(e);var o=e.type===l.Syntax.SequenceExpression?e.expressions:[e];e={type:c,params:o,async:!1}}this.context.isBindingElement=!1}}}return e},e.prototype.parseArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(e.push(t),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),e},e.prototype.isIdentifierName=function(e){return 3===e.type||4===e.type||1===e.type||5===e.type},e.prototype.parseIdentifierName=function(){var e=this.createNode(),t=this.nextToken();return this.isIdentifierName(t)||this.throwUnexpectedToken(t),this.finalize(e,new a.Identifier(t.value))},e.prototype.parseNewExpression=function(){var e,t=this.createNode(),r=this.parseIdentifierName();if(n.assert("new"===r.name,"New expression must start with `new`"),this.match("."))if(this.nextToken(),3===this.lookahead.type&&this.context.inFunctionBody&&"target"===this.lookahead.value){var i=this.parseIdentifierName();e=new a.MetaProperty(r,i)}else this.throwUnexpectedToken(this.lookahead);else{var s=this.isolateCoverGrammar(this.parseLeftHandSideExpression),o=this.match("(")?this.parseArguments():[];e=new a.NewExpression(s,o),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(t,e)},e.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,e},e.prototype.parseAsyncArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(e.push(t),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),e},e.prototype.parseLeftHandSideExpressionAllowCall=function(){var e,t=this.lookahead,r=this.matchContextualKeyword("async"),n=this.context.allowIn;for(this.context.allowIn=!0,this.matchKeyword("super")&&this.context.inFunctionBody?(e=this.createNode(),this.nextToken(),e=this.finalize(e,new a.Super),this.match("(")||this.match(".")||this.match("[")||this.throwUnexpectedToken(this.lookahead)):e=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var i=this.parseIdentifierName();e=this.finalize(this.startNode(t),new a.StaticMemberExpression(e,i))}else if(this.match("(")){var s=r&&t.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var o=s?this.parseAsyncArguments():this.parseArguments();if(e=this.finalize(this.startNode(t),new a.CallExpression(e,o)),s&&this.match("=>")){for(var l=0;l<o.length;++l)this.reinterpretExpressionAsPattern(o[l]);e={type:c,params:o,async:!0}}}else if(this.match("["))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("["),i=this.isolateCoverGrammar(this.parseExpression),this.expect("]"),e=this.finalize(this.startNode(t),new a.ComputedMemberExpression(e,i));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var u=this.parseTemplateLiteral();e=this.finalize(this.startNode(t),new a.TaggedTemplateExpression(e,u))}return this.context.allowIn=n,e},e.prototype.parseSuper=function(){var e=this.createNode();return this.expectKeyword("super"),this.match("[")||this.match(".")||this.throwUnexpectedToken(this.lookahead),this.finalize(e,new a.Super)},e.prototype.parseLeftHandSideExpression=function(){n.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var e=this.startNode(this.lookahead),t=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var r=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),t=this.finalize(e,new a.ComputedMemberExpression(t,r))}else if(this.match("."))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("."),r=this.parseIdentifierName(),t=this.finalize(e,new a.StaticMemberExpression(t,r));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var i=this.parseTemplateLiteral();t=this.finalize(e,new a.TaggedTemplateExpression(t,i))}return t},e.prototype.parseUpdateExpression=function(){var e,t=this.lookahead;if(this.match("++")||this.match("--")){var r=this.startNode(t),n=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(s.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment);var i=!0;e=this.finalize(r,new a.UpdateExpression(n.value,e,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&7===this.lookahead.type&&(this.match("++")||this.match("--"))){this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(s.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var o=this.nextToken().value;i=!1,e=this.finalize(this.startNode(t),new a.UpdateExpression(o,e,i))}return e},e.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new a.AwaitExpression(t))},e.prototype.parseUnaryExpression=function(){var e;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var t=this.startNode(this.lookahead),r=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),e=this.finalize(t,new a.UnaryExpression(r.value,e)),this.context.strict&&"delete"===e.operator&&e.argument.type===l.Syntax.Identifier&&this.tolerateError(s.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else e=this.context.await&&this.matchContextualKeyword("await")?this.parseAwaitExpression():this.parseUpdateExpression();return e},e.prototype.parseExponentiationExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==l.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var r=t,n=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new a.BinaryExpression("**",r,n))}return t},e.prototype.binaryPrecedence=function(e){var t=e.value;return 7===e.type?this.operatorPrecedence[t]||0:4===e.type&&("instanceof"===t||this.context.allowIn&&"in"===t)?7:0},e.prototype.parseBinaryExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseExponentiationExpression),r=this.lookahead,n=this.binaryPrecedence(r);if(n>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var i=[e,this.lookahead],s=t,o=this.isolateCoverGrammar(this.parseExponentiationExpression),l=[s,r.value,o],u=[n];!((n=this.binaryPrecedence(this.lookahead))<=0);){for(;l.length>2&&n<=u[u.length-1];){o=l.pop();var c=l.pop();u.pop(),s=l.pop(),i.pop();var p=this.startNode(i[i.length-1]);l.push(this.finalize(p,new a.BinaryExpression(c,s,o)))}l.push(this.nextToken().value),u.push(n),i.push(this.lookahead),l.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var h=l.length-1;t=l[h];for(var d=i.pop();h>1;){var f=i.pop(),m=d&&d.lineStart;p=this.startNode(f,m),c=l[h-1],t=this.finalize(p,new a.BinaryExpression(c,l[h-2],t)),h-=2,d=f}}return t},e.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var r=this.context.allowIn;this.context.allowIn=!0;var n=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=r,this.expect(":");var i=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new a.ConditionalExpression(t,n,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},e.prototype.checkPatternParam=function(e,t){switch(t.type){case l.Syntax.Identifier:this.validateParam(e,t,t.name);break;case l.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case l.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case l.Syntax.ArrayPattern:for(var r=0;r<t.elements.length;r++)null!==t.elements[r]&&this.checkPatternParam(e,t.elements[r]);break;case l.Syntax.ObjectPattern:for(r=0;r<t.properties.length;r++)this.checkPatternParam(e,t.properties[r].value)}e.simple=e.simple&&t instanceof a.Identifier},e.prototype.reinterpretAsCoverFormalsList=function(e){var t,r=[e],n=!1;switch(e.type){case l.Syntax.Identifier:break;case c:r=e.params,n=e.async;break;default:return null}t={simple:!0,paramSet:{}};for(var i=0;i<r.length;++i)(a=r[i]).type===l.Syntax.AssignmentPattern?a.right.type===l.Syntax.YieldExpression&&(a.right.argument&&this.throwUnexpectedToken(this.lookahead),a.right.type=l.Syntax.Identifier,a.right.name="yield",delete a.right.argument,delete a.right.delegate):n&&a.type===l.Syntax.Identifier&&"await"===a.name&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(t,a),r[i]=a;if(this.context.strict||!this.context.allowYield)for(i=0;i<r.length;++i){var a;(a=r[i]).type===l.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(t.message===s.Messages.StrictParamDupe){var o=this.context.strict?t.stricted:t.firstRestricted;this.throwUnexpectedToken(o,t.message)}return{simple:t.simple,params:r,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword("yield"))e=this.parseYieldExpression();else{var t=this.lookahead,r=t;if(e=this.parseConditionalExpression(),3===r.type&&r.lineNumber===this.lookahead.lineNumber&&"async"===r.value&&(3===this.lookahead.type||this.matchKeyword("yield"))){var n=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(n),e={type:c,params:[n],async:!0}}if(e.type===c||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=e.async,o=this.reinterpretAsCoverFormalsList(e);if(o){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var u=this.context.strict,p=this.context.allowStrictDirective;this.context.allowStrictDirective=o.simple;var h=this.context.allowYield,d=this.context.await;this.context.allowYield=!0,this.context.await=i;var f=this.startNode(t);this.expect("=>");var m=void 0;if(this.match("{")){var y=this.context.allowIn;this.context.allowIn=!0,m=this.parseFunctionSourceElements(),this.context.allowIn=y}else m=this.isolateCoverGrammar(this.parseAssignmentExpression);var g=m.type!==l.Syntax.BlockStatement;this.context.strict&&o.firstRestricted&&this.throwUnexpectedToken(o.firstRestricted,o.message),this.context.strict&&o.stricted&&this.tolerateUnexpectedToken(o.stricted,o.message),e=i?this.finalize(f,new a.AsyncArrowFunctionExpression(o.params,m,g)):this.finalize(f,new a.ArrowFunctionExpression(o.params,m,g)),this.context.strict=u,this.context.allowStrictDirective=p,this.context.allowYield=h,this.context.await=d}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===l.Syntax.Identifier){var x=e;this.scanner.isRestrictedWord(x.name)&&this.tolerateUnexpectedToken(r,s.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(x.name)&&this.tolerateUnexpectedToken(r,s.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var v=(r=this.nextToken()).value,E=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new a.AssignmentExpression(v,e,E)),this.context.firstCoverInitializedNameError=null}}return e},e.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var r=[];for(r.push(t);2!==this.lookahead.type&&this.match(",");)this.nextToken(),r.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new a.SequenceExpression(r))}return t},e.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:!1});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement()}else e=this.parseStatement();return e},e.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.finalize(e,new a.BlockStatement(t))},e.prototype.parseLexicalBinding=function(e,t){var r=this.createNode(),n=this.parsePattern([],e);this.context.strict&&n.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(s.Messages.StrictVarName);var i=null;return"const"===e?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),i=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(s.Messages.DeclarationMissingInitializer,"const")):(!t.inFor&&n.type!==l.Syntax.Identifier||this.match("="))&&(this.expect("="),i=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(r,new a.VariableDeclarator(n,i))},e.prototype.parseBindingList=function(e,t){for(var r=[this.parseLexicalBinding(e,t)];this.match(",");)this.nextToken(),r.push(this.parseLexicalBinding(e,t));return r},e.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),3===t.type||7===t.type&&"["===t.value||7===t.type&&"{"===t.value||4===t.type&&"let"===t.value||4===t.type&&"yield"===t.value},e.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),r=this.nextToken().value;n.assert("let"===r||"const"===r,"Lexical declaration must be either let or const");var i=this.parseBindingList(r,e);return this.consumeSemicolon(),this.finalize(t,new a.VariableDeclaration(i,r))},e.prototype.parseBindingRestElement=function(e,t){var r=this.createNode();this.expect("...");var n=this.parsePattern(e,t);return this.finalize(r,new a.RestElement(n))},e.prototype.parseArrayPattern=function(e,t){var r=this.createNode();this.expect("[");for(var n=[];!this.match("]");)if(this.match(","))this.nextToken(),n.push(null);else{if(this.match("...")){n.push(this.parseBindingRestElement(e,t));break}n.push(this.parsePatternWithDefault(e,t)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(r,new a.ArrayPattern(n))},e.prototype.parsePropertyPattern=function(e,t){var r,n,i=this.createNode(),s=!1,o=!1;if(3===this.lookahead.type){var l=this.lookahead;r=this.parseVariableIdentifier();var u=this.finalize(i,new a.Identifier(l.value));if(this.match("=")){e.push(l),o=!0,this.nextToken();var c=this.parseAssignmentExpression();n=this.finalize(this.startNode(l),new a.AssignmentPattern(u,c))}else this.match(":")?(this.expect(":"),n=this.parsePatternWithDefault(e,t)):(e.push(l),o=!0,n=u)}else s=this.match("["),r=this.parseObjectPropertyKey(),this.expect(":"),n=this.parsePatternWithDefault(e,t);return this.finalize(i,new a.Property("init",r,s,n,!1,o))},e.prototype.parseObjectPattern=function(e,t){var r=this.createNode(),n=[];for(this.expect("{");!this.match("}");)n.push(this.parsePropertyPattern(e,t)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(r,new a.ObjectPattern(n))},e.prototype.parsePattern=function(e,t){var r;return this.match("[")?r=this.parseArrayPattern(e,t):this.match("{")?r=this.parseObjectPattern(e,t):(!this.matchKeyword("let")||"const"!==t&&"let"!==t||this.tolerateUnexpectedToken(this.lookahead,s.Messages.LetInLexicalBinding),e.push(this.lookahead),r=this.parseVariableIdentifier(t)),r},e.prototype.parsePatternWithDefault=function(e,t){var r=this.lookahead,n=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var i=this.context.allowYield;this.context.allowYield=!0;var s=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=i,n=this.finalize(this.startNode(r),new a.AssignmentPattern(n,s))}return n},e.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),r=this.nextToken();return 4===r.type&&"yield"===r.value?this.context.strict?this.tolerateUnexpectedToken(r,s.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(r):3!==r.type?this.context.strict&&4===r.type&&this.scanner.isStrictModeReservedWord(r.value)?this.tolerateUnexpectedToken(r,s.Messages.StrictReservedWord):(this.context.strict||"let"!==r.value||"var"!==e)&&this.throwUnexpectedToken(r):(this.context.isModule||this.context.await)&&3===r.type&&"await"===r.value&&this.tolerateUnexpectedToken(r),this.finalize(t,new a.Identifier(r.value))},e.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),r=this.parsePattern([],"var");this.context.strict&&r.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(s.Messages.StrictVarName);var n=null;return this.match("=")?(this.nextToken(),n=this.isolateCoverGrammar(this.parseAssignmentExpression)):r.type===l.Syntax.Identifier||e.inFor||this.expect("="),this.finalize(t,new a.VariableDeclarator(r,n))},e.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},r=[];for(r.push(this.parseVariableDeclaration(t));this.match(",");)this.nextToken(),r.push(this.parseVariableDeclaration(t));return r},e.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(t,"var"))},e.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(";"),this.finalize(e,new a.EmptyStatement)},e.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ExpressionStatement(t))},e.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(s.Messages.StrictFunction),this.parseStatement()},e.prototype.parseIfStatement=function(){var e,t=this.createNode(),r=null;this.expectKeyword("if"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),e=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),r=this.parseIfClause())),this.finalize(t,new a.IfStatement(n,e,r))},e.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=!0;var r=this.parseStatement();this.context.inIteration=t,this.expectKeyword("while"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(e,new a.DoWhileStatement(r,n))},e.prototype.parseWhileStatement=function(){var e,t=this.createNode();this.expectKeyword("while"),this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var n=this.context.inIteration;this.context.inIteration=!0,e=this.parseStatement(),this.context.inIteration=n}return this.finalize(t,new a.WhileStatement(r,e))},e.prototype.parseForStatement=function(){var e,t,r,n=null,i=null,o=null,u=!0,c=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){n=this.createNode(),this.nextToken();var p=this.context.allowIn;this.context.allowIn=!1;var h=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=p,1===h.length&&this.matchKeyword("in")){var d=h[0];d.init&&(d.id.type===l.Syntax.ArrayPattern||d.id.type===l.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(s.Messages.ForInOfLoopInitializer,"for-in"),n=this.finalize(n,new a.VariableDeclaration(h,"var")),this.nextToken(),e=n,t=this.parseExpression(),n=null}else 1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new a.VariableDeclaration(h,"var")),this.nextToken(),e=n,t=this.parseAssignmentExpression(),n=null,u=!1):(n=this.finalize(n,new a.VariableDeclaration(h,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){n=this.createNode();var f=this.nextToken().value;this.context.strict||"in"!==this.lookahead.value?(p=this.context.allowIn,this.context.allowIn=!1,h=this.parseBindingList(f,{inFor:!0}),this.context.allowIn=p,1===h.length&&null===h[0].init&&this.matchKeyword("in")?(n=this.finalize(n,new a.VariableDeclaration(h,f)),this.nextToken(),e=n,t=this.parseExpression(),n=null):1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new a.VariableDeclaration(h,f)),this.nextToken(),e=n,t=this.parseAssignmentExpression(),n=null,u=!1):(this.consumeSemicolon(),n=this.finalize(n,new a.VariableDeclaration(h,f)))):(n=this.finalize(n,new a.Identifier(f)),this.nextToken(),e=n,t=this.parseExpression(),n=null)}else{var m=this.lookahead;if(p=this.context.allowIn,this.context.allowIn=!1,n=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=p,this.matchKeyword("in"))this.context.isAssignmentTarget&&n.type!==l.Syntax.AssignmentExpression||this.tolerateError(s.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(n),e=n,t=this.parseExpression(),n=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&n.type!==l.Syntax.AssignmentExpression||this.tolerateError(s.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(n),e=n,t=this.parseAssignmentExpression(),n=null,u=!1;else{if(this.match(",")){for(var y=[n];this.match(",");)this.nextToken(),y.push(this.isolateCoverGrammar(this.parseAssignmentExpression));n=this.finalize(this.startNode(m),new a.SequenceExpression(y))}this.expect(";")}}if(void 0===e&&(this.match(";")||(i=this.parseExpression()),this.expect(";"),this.match(")")||(o=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var g=this.context.inIteration;this.context.inIteration=!0,r=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=g}return void 0===e?this.finalize(c,new a.ForStatement(n,i,o,r)):u?this.finalize(c,new a.ForInStatement(e,t,r)):this.finalize(c,new a.ForOfStatement(e,t,r))},e.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var r=this.parseVariableIdentifier();t=r;var n="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(s.Messages.UnknownLabel,r.name)}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.throwError(s.Messages.IllegalContinue),this.finalize(e,new a.ContinueStatement(t))},e.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var r=this.parseVariableIdentifier(),n="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(s.Messages.UnknownLabel,r.name),t=r}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.context.inSwitch||this.throwError(s.Messages.IllegalBreak),this.finalize(e,new a.BreakStatement(t))},e.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(s.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword("return");var t=(this.match(";")||this.match("}")||this.hasLineTerminator||2===this.lookahead.type)&&8!==this.lookahead.type&&10!==this.lookahead.type?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ReturnStatement(t))},e.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(s.Messages.StrictModeWith);var e,t=this.createNode();this.expectKeyword("with"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),e=this.parseStatement()),this.finalize(t,new a.WithStatement(r,e))},e.prototype.parseSwitchCase=function(){var e,t=this.createNode();this.matchKeyword("default")?(this.nextToken(),e=null):(this.expectKeyword("case"),e=this.parseExpression()),this.expect(":");for(var r=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)r.push(this.parseStatementListItem());return this.finalize(t,new a.SwitchCase(e,r))},e.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch"),this.expect("(");var t=this.parseExpression();this.expect(")");var r=this.context.inSwitch;this.context.inSwitch=!0;var n=[],i=!1;for(this.expect("{");!this.match("}");){var o=this.parseSwitchCase();null===o.test&&(i&&this.throwError(s.Messages.MultipleDefaultsInSwitch),i=!0),n.push(o)}return this.expect("}"),this.context.inSwitch=r,this.finalize(e,new a.SwitchStatement(t,n))},e.prototype.parseLabelledStatement=function(){var e,t=this.createNode(),r=this.parseExpression();if(r.type===l.Syntax.Identifier&&this.match(":")){this.nextToken();var n=r,i="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,i)&&this.throwError(s.Messages.Redeclaration,"Label",n.name),this.context.labelSet[i]=!0;var o=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),o=this.parseClassDeclaration();else if(this.matchKeyword("function")){var u=this.lookahead,c=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(u,s.Messages.StrictFunction):c.generator&&this.tolerateUnexpectedToken(u,s.Messages.GeneratorInLegacyContext),o=c}else o=this.parseStatement();delete this.context.labelSet[i],e=new a.LabeledStatement(n,o)}else this.consumeSemicolon(),e=new a.ExpressionStatement(r);return this.finalize(t,e)},e.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(s.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ThrowStatement(t))},e.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var t=[],r=this.parsePattern(t),n={},i=0;i<t.length;i++){var o="$"+t[i].value;Object.prototype.hasOwnProperty.call(n,o)&&this.tolerateError(s.Messages.DuplicateBinding,t[i].value),n[o]=!0}this.context.strict&&r.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(s.Messages.StrictCatchVariable),this.expect(")");var u=this.parseBlock();return this.finalize(e,new a.CatchClause(r,u))},e.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},e.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword("try");var t=this.parseBlock(),r=this.matchKeyword("catch")?this.parseCatchClause():null,n=this.matchKeyword("finally")?this.parseFinallyClause():null;return r||n||this.throwError(s.Messages.NoCatchOrFinally),this.finalize(e,new a.TryStatement(t,r,n))},e.prototype.parseDebuggerStatement=function(){var e=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(e,new a.DebuggerStatement)},e.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;e="{"===t?this.parseBlock():"("===t?this.parseExpressionStatement():";"===t?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":e=this.parseBreakStatement();break;case"continue":e=this.parseContinueStatement();break;case"debugger":e=this.parseDebuggerStatement();break;case"do":e=this.parseDoWhileStatement();break;case"for":e=this.parseForStatement();break;case"function":e=this.parseFunctionDeclaration();break;case"if":e=this.parseIfStatement();break;case"return":e=this.parseReturnStatement();break;case"switch":e=this.parseSwitchStatement();break;case"throw":e=this.parseThrowStatement();break;case"try":e=this.parseTryStatement();break;case"var":e=this.parseVariableStatement();break;case"while":e=this.parseWhileStatement();break;case"with":e=this.parseWithStatement();break;default:e=this.parseExpressionStatement()}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e},e.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect("{");var t=this.parseDirectivePrologues(),r=this.context.labelSet,n=this.context.inIteration,i=this.context.inSwitch,s=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;2!==this.lookahead.type&&!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=r,this.context.inIteration=n,this.context.inSwitch=i,this.context.inFunctionBody=s,this.finalize(e,new a.BlockStatement(t))},e.prototype.validateParam=function(e,t,r){var n="$"+r;this.context.strict?(this.scanner.isRestrictedWord(r)&&(e.stricted=t,e.message=s.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,n)&&(e.stricted=t,e.message=s.Messages.StrictParamDupe)):e.firstRestricted||(this.scanner.isRestrictedWord(r)?(e.firstRestricted=t,e.message=s.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(r)?(e.firstRestricted=t,e.message=s.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,n)&&(e.stricted=t,e.message=s.Messages.StrictParamDupe)),"function"==typeof Object.defineProperty?Object.defineProperty(e.paramSet,n,{value:!0,enumerable:!0,writable:!0,configurable:!0}):e.paramSet[n]=!0},e.prototype.parseRestElement=function(e){var t=this.createNode();this.expect("...");var r=this.parsePattern(e);return this.match("=")&&this.throwError(s.Messages.DefaultRestParameter),this.match(")")||this.throwError(s.Messages.ParameterAfterRestParameter),this.finalize(t,new a.RestElement(r))},e.prototype.parseFormalParameter=function(e){for(var t=[],r=this.match("...")?this.parseRestElement(t):this.parsePatternWithDefault(t),n=0;n<t.length;n++)this.validateParam(e,t[n],t[n].value);e.simple=e.simple&&r instanceof a.Identifier,e.params.push(r)},e.prototype.parseFormalParameters=function(e){var t;if(t={simple:!0,params:[],firstRestricted:e},this.expect("("),!this.match(")"))for(t.paramSet={};2!==this.lookahead.type&&(this.parseFormalParameter(t),!this.match(")"))&&(this.expect(","),!this.match(")")););return this.expect(")"),{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword("async");if(e){var t=this.scanner.saveState();this.scanner.scanComments();var r=this.scanner.lex();this.scanner.restoreState(t),e=t.lineNumber===r.lineNumber&&4===r.type&&"function"===r.value}return e},e.prototype.parseFunctionDeclaration=function(e){var t=this.createNode(),r=this.matchContextualKeyword("async");r&&this.nextToken(),this.expectKeyword("function");var n,i=!r&&this.match("*");i&&this.nextToken();var o=null,l=null;if(!e||!this.match("(")){var u=this.lookahead;o=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(u.value)&&this.tolerateUnexpectedToken(u,s.Messages.StrictFunctionName):this.scanner.isRestrictedWord(u.value)?(l=u,n=s.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(u.value)&&(l=u,n=s.Messages.StrictReservedWord)}var c=this.context.await,p=this.context.allowYield;this.context.await=r,this.context.allowYield=!i;var h=this.parseFormalParameters(l),d=h.params,f=h.stricted;l=h.firstRestricted,h.message&&(n=h.message);var m=this.context.strict,y=this.context.allowStrictDirective;this.context.allowStrictDirective=h.simple;var g=this.parseFunctionSourceElements();return this.context.strict&&l&&this.throwUnexpectedToken(l,n),this.context.strict&&f&&this.tolerateUnexpectedToken(f,n),this.context.strict=m,this.context.allowStrictDirective=y,this.context.await=c,this.context.allowYield=p,r?this.finalize(t,new a.AsyncFunctionDeclaration(o,d,g)):this.finalize(t,new a.FunctionDeclaration(o,d,g,i))},e.prototype.parseFunctionExpression=function(){var e=this.createNode(),t=this.matchContextualKeyword("async");t&&this.nextToken(),this.expectKeyword("function");var r,n=!t&&this.match("*");n&&this.nextToken();var i,o=null,l=this.context.await,u=this.context.allowYield;if(this.context.await=t,this.context.allowYield=!n,!this.match("(")){var c=this.lookahead;o=this.context.strict||n||!this.matchKeyword("yield")?this.parseVariableIdentifier():this.parseIdentifierName(),this.context.strict?this.scanner.isRestrictedWord(c.value)&&this.tolerateUnexpectedToken(c,s.Messages.StrictFunctionName):this.scanner.isRestrictedWord(c.value)?(i=c,r=s.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(c.value)&&(i=c,r=s.Messages.StrictReservedWord)}var p=this.parseFormalParameters(i),h=p.params,d=p.stricted;i=p.firstRestricted,p.message&&(r=p.message);var f=this.context.strict,m=this.context.allowStrictDirective;this.context.allowStrictDirective=p.simple;var y=this.parseFunctionSourceElements();return this.context.strict&&i&&this.throwUnexpectedToken(i,r),this.context.strict&&d&&this.tolerateUnexpectedToken(d,r),this.context.strict=f,this.context.allowStrictDirective=m,this.context.await=l,this.context.allowYield=u,t?this.finalize(e,new a.AsyncFunctionExpression(o,h,y)):this.finalize(e,new a.FunctionExpression(o,h,y,n))},e.prototype.parseDirective=function(){var e=this.lookahead,t=this.createNode(),r=this.parseExpression(),n=r.type===l.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(t,n?new a.Directive(r,n):new a.ExpressionStatement(r))},e.prototype.parseDirectivePrologues=function(){for(var e=null,t=[];;){var r=this.lookahead;if(8!==r.type)break;var n=this.parseDirective();t.push(n);var i=n.directive;if("string"!=typeof i)break;"use strict"===i?(this.context.strict=!0,e&&this.tolerateUnexpectedToken(e,s.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(r,s.Messages.IllegalLanguageModeDirective)):!e&&r.octal&&(e=r)}return t},e.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return"["===e.value}return!1},e.prototype.parseGetterMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();r.params.length>0&&this.tolerateError(s.Messages.BadGetterArity);var n=this.parsePropertyMethod(r);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,r.params,n,!1))},e.prototype.parseSetterMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();1!==r.params.length?this.tolerateError(s.Messages.BadSetterArity):r.params[0]instanceof a.RestElement&&this.tolerateError(s.Messages.BadSetterRestParameter);var n=this.parsePropertyMethod(r);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,r.params,n,!1))},e.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();this.context.allowYield=!1;var n=this.parsePropertyMethod(r);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,r.params,n,!0))},e.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e="["===t||"("===t||"{"===t||"+"===t||"-"===t||"!"===t||"~"===t||"++"===t||"--"===t||"/"===t||"/="===t;break;case 4:e="class"===t||"delete"===t||"function"===t||"let"===t||"new"===t||"super"===t||"this"===t||"typeof"===t||"void"===t||"yield"===t}return e},e.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null,r=!1;if(!this.hasLineTerminator){var n=this.context.allowYield;this.context.allowYield=!1,(r=this.match("*"))?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=n}return this.finalize(e,new a.YieldExpression(t,r))},e.prototype.parseClassElement=function(e){var t=this.lookahead,r=this.createNode(),n="",i=null,o=null,l=!1,u=!1,c=!1,p=!1;if(this.match("*"))this.nextToken();else if(l=this.match("["),"static"===(i=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(t=this.lookahead,c=!0,l=this.match("["),this.match("*")?this.nextToken():i=this.parseObjectPropertyKey()),3===t.type&&!this.hasLineTerminator&&"async"===t.value){var h=this.lookahead.value;":"!==h&&"("!==h&&"*"!==h&&(p=!0,t=this.lookahead,i=this.parseObjectPropertyKey(),3===t.type&&"constructor"===t.value&&this.tolerateUnexpectedToken(t,s.Messages.ConstructorIsAsync))}var d=this.qualifiedPropertyName(this.lookahead);return 3===t.type?"get"===t.value&&d?(n="get",l=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,o=this.parseGetterMethod()):"set"===t.value&&d&&(n="set",l=this.match("["),i=this.parseObjectPropertyKey(),o=this.parseSetterMethod()):7===t.type&&"*"===t.value&&d&&(n="init",l=this.match("["),i=this.parseObjectPropertyKey(),o=this.parseGeneratorMethod(),u=!0),!n&&i&&this.match("(")&&(n="init",o=p?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),u=!0),n||this.throwUnexpectedToken(this.lookahead),"init"===n&&(n="method"),l||(c&&this.isPropertyKey(i,"prototype")&&this.throwUnexpectedToken(t,s.Messages.StaticPrototype),!c&&this.isPropertyKey(i,"constructor")&&(("method"!==n||!u||o&&o.generator)&&this.throwUnexpectedToken(t,s.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,s.Messages.DuplicateConstructor):e.value=!0,n="constructor")),this.finalize(r,new a.MethodDefinition(i,l,o,n,c))},e.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():e.push(this.parseClassElement(t));return this.expect("}"),e},e.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new a.ClassBody(t))},e.prototype.parseClassDeclaration=function(e){var t=this.createNode(),r=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var n=e&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),i=null;this.matchKeyword("extends")&&(this.nextToken(),i=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var s=this.parseClassBody();return this.context.strict=r,this.finalize(t,new a.ClassDeclaration(n,i,s))},e.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var r=3===this.lookahead.type?this.parseVariableIdentifier():null,n=null;this.matchKeyword("extends")&&(this.nextToken(),n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var i=this.parseClassBody();return this.context.strict=t,this.finalize(e,new a.ClassExpression(r,n,i))},e.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new a.Module(t))},e.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new a.Script(t))},e.prototype.parseModuleSpecifier=function(){var e=this.createNode();8!==this.lookahead.type&&this.throwError(s.Messages.InvalidModuleSpecifier);var t=this.nextToken(),r=this.getTokenRaw(t);return this.finalize(e,new a.Literal(t.value,r))},e.prototype.parseImportSpecifier=function(){var e,t,r=this.createNode();return 3===this.lookahead.type?(t=e=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),t=this.parseVariableIdentifier())):(t=e=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),t=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(r,new a.ImportSpecifier(t,e))},e.prototype.parseNamedImports=function(){this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),e},e.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new a.ImportDefaultSpecifier(t))},e.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(s.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new a.ImportNamespaceSpecifier(t))},e.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(s.Messages.IllegalImportDeclaration);var e,t=this.createNode();this.expectKeyword("import");var r=[];if(8===this.lookahead.type)e=this.parseModuleSpecifier();else{if(this.match("{")?r=r.concat(this.parseNamedImports()):this.match("*")?r.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(r.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?r.push(this.parseImportNamespaceSpecifier()):this.match("{")?r=r.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var n=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken(),e=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(t,new a.ImportDeclaration(r,e))},e.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),r=t;return this.matchContextualKeyword("as")&&(this.nextToken(),r=this.parseIdentifierName()),this.finalize(e,new a.ExportSpecifier(t,r))},e.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(s.Messages.IllegalExportDeclaration);var e,t=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var r=this.parseFunctionDeclaration(!0);e=this.finalize(t,new a.ExportDefaultDeclaration(r))}else this.matchKeyword("class")?(r=this.parseClassDeclaration(!0),e=this.finalize(t,new a.ExportDefaultDeclaration(r))):this.matchContextualKeyword("async")?(r=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),e=this.finalize(t,new a.ExportDefaultDeclaration(r))):(this.matchContextualKeyword("from")&&this.throwError(s.Messages.UnexpectedToken,this.lookahead.value),r=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),e=this.finalize(t,new a.ExportDefaultDeclaration(r)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var n=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken();var i=this.parseModuleSpecifier();this.consumeSemicolon(),e=this.finalize(t,new a.ExportAllDeclaration(i))}else if(4===this.lookahead.type){switch(r=void 0,this.lookahead.value){case"let":case"const":r=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":r=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}e=this.finalize(t,new a.ExportNamedDeclaration(r,[],null))}else if(this.matchAsyncFunction())r=this.parseFunctionDeclaration(),e=this.finalize(t,new a.ExportNamedDeclaration(r,[],null));else{var o=[],l=null,u=!1;for(this.expect("{");!this.match("}");)u=u||this.matchKeyword("default"),o.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),l=this.parseModuleSpecifier(),this.consumeSemicolon()):u?(n=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause,this.throwError(n,this.lookahead.value)):this.consumeSemicolon(),e=this.finalize(t,new a.ExportNamedDeclaration(null,o,l))}return e},e}();t.Parser=p},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.assert=function(e,t){if(!e)throw new Error("ASSERT: "+t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.errors=[],this.tolerant=!1}return e.prototype.recordError=function(e){this.errors.push(e)},e.prototype.tolerate=function(e){if(!this.tolerant)throw e;this.recordError(e)},e.prototype.constructError=function(e,t){var r=new Error(e);try{throw r}catch(e){Object.create&&Object.defineProperty&&(r=Object.create(e),Object.defineProperty(r,"column",{value:t}))}return r},e.prototype.createError=function(e,t,r,n){var i="Line "+t+": "+n,s=this.constructError(i,r);return s.index=e,s.lineNumber=t,s.description=n,s},e.prototype.throwError=function(e,t,r,n){throw this.createError(e,t,r,n)},e.prototype.tolerateError=function(e,t,r,n){var i=this.createError(e,t,r,n);if(!this.tolerant)throw i;this.recordError(i)},e}();t.ErrorHandler=r},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(9),i=r(4),s=r(11);function a(e){return"0123456789abcdef".indexOf(e.toLowerCase())}function o(e){return"01234567".indexOf(e)}var l=function(){function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,this.isModule=!1,this.length=e.length,this.index=0,this.lineNumber=e.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return e.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},e.prototype.restoreState=function(e){this.index=e.index,this.lineNumber=e.lineNumber,this.lineStart=e.lineStart},e.prototype.eof=function(){return this.index>=this.length},e.prototype.throwUnexpectedToken=function(e){return void 0===e&&(e=s.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.tolerateUnexpectedToken=function(e){void 0===e&&(e=s.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.skipSingleLineComment=function(e){var t,r,n=[];for(this.trackComment&&(n=[],t=this.index-e,r={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}});!this.eof();){var s=this.source.charCodeAt(this.index);if(++this.index,i.Character.isLineTerminator(s)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var a={multiLine:!1,slice:[t+e,this.index-1],range:[t,this.index-1],loc:r};n.push(a)}return 13===s&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,n}}return this.trackComment&&(r.end={line:this.lineNumber,column:this.index-this.lineStart},a={multiLine:!1,slice:[t+e,this.index],range:[t,this.index],loc:r},n.push(a)),n},e.prototype.skipMultiLineComment=function(){var e,t,r=[];for(this.trackComment&&(r=[],e=this.index-2,t={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var n=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(n))13===n&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===n){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart};var s={multiLine:!0,slice:[e+2,this.index-2],range:[e,this.index],loc:t};r.push(s)}return r}++this.index}else++this.index}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},s={multiLine:!0,slice:[e+2,this.index],range:[e,this.index],loc:t},r.push(s)),this.tolerateUnexpectedToken(),r},e.prototype.scanComments=function(){var e;this.trackComment&&(e=[]);for(var t=0===this.index;!this.eof();){var r=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(r))++this.index;else if(i.Character.isLineTerminator(r))++this.index,13===r&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,t=!0;else if(47===r)if(47===(r=this.source.charCodeAt(this.index+1))){this.index+=2;var n=this.skipSingleLineComment(2);this.trackComment&&(e=e.concat(n)),t=!0}else{if(42!==r)break;this.index+=2,n=this.skipMultiLineComment(),this.trackComment&&(e=e.concat(n))}else if(t&&45===r){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3,n=this.skipSingleLineComment(3),this.trackComment&&(e=e.concat(n))}else{if(60!==r||this.isModule||"!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4,n=this.skipSingleLineComment(4),this.trackComment&&(e=e.concat(n))}}return e},e.prototype.isFutureReservedWord=function(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}},e.prototype.isStrictModeReservedWord=function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},e.prototype.isRestrictedWord=function(e){return"eval"===e||"arguments"===e},e.prototype.isKeyword=function(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===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}},e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var r=this.source.charCodeAt(e+1);r>=56320&&r<=57343&&(t=1024*(t-55296)+r-56320+65536)}return t},e.prototype.scanHexEscape=function(e){for(var t="u"===e?4:2,r=0,n=0;n<t;++n){if(this.eof()||!i.Character.isHexDigit(this.source.charCodeAt(this.index)))return null;r=16*r+a(this.source[this.index++])}return String.fromCharCode(r)},e.prototype.scanUnicodeCodePointEscape=function(){var e=this.source[this.index],t=0;for("}"===e&&this.throwUnexpectedToken();!this.eof()&&(e=this.source[this.index++],i.Character.isHexDigit(e.charCodeAt(0)));)t=16*t+a(e);return(t>1114111||"}"!==e)&&this.throwUnexpectedToken(),i.Character.fromCodePoint(t)},e.prototype.getIdentifier=function(){for(var e=this.index++;!this.eof();){var t=this.source.charCodeAt(this.index);if(92===t)return this.index=e,this.getComplexIdentifier();if(t>=55296&&t<57343)return this.index=e,this.getComplexIdentifier();if(!i.Character.isIdentifierPart(t))break;++this.index}return this.source.slice(e,this.index)},e.prototype.getComplexIdentifier=function(){var e,t=this.codePointAt(this.index),r=i.Character.fromCodePoint(t);for(this.index+=r.length,92===t&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&i.Character.isIdentifierStart(e.charCodeAt(0))||this.throwUnexpectedToken(),r=e);!this.eof()&&(t=this.codePointAt(this.index),i.Character.isIdentifierPart(t));)r+=e=i.Character.fromCodePoint(t),this.index+=e.length,92===t&&(r=r.substr(0,r.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&i.Character.isIdentifierPart(e.charCodeAt(0))||this.throwUnexpectedToken(),r+=e);return r},e.prototype.octalToDecimal=function(e){var t="0"!==e,r=o(e);return!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=!0,r=8*r+o(this.source[this.index++]),"0123".indexOf(e)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(r=8*r+o(this.source[this.index++]))),{code:r,octal:t}},e.prototype.scanIdentifier=function(){var e,t=this.index,r=92===this.source.charCodeAt(t)?this.getComplexIdentifier():this.getIdentifier();if(3!=(e=1===r.length?3:this.isKeyword(r)?4:"null"===r?5:"true"===r||"false"===r?1:3)&&t+r.length!==this.index){var n=this.index;this.index=t,this.tolerateUnexpectedToken(s.Messages.InvalidEscapedReservedWord),this.index=n}return{type:e,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.scanPunctuator=function(){var e=this.index,t=this.source[this.index];switch(t){case"(":case"{":"{"===t&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,t="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(t=this.source.substr(this.index,4))?this.index+=4:"==="===(t=t.substr(0,3))||"!=="===t||">>>"===t||"<<="===t||">>="===t||"**="===t?this.index+=3:"&&"===(t=t.substr(0,2))||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t||"**"===t?this.index+=2:(t=this.source[this.index],"<>=!+-*%&|^/".indexOf(t)>=0&&++this.index)}return this.index===e&&this.throwUnexpectedToken(),{type:7,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanHexLiteral=function(e){for(var t="";!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return 0===t.length&&this.throwUnexpectedToken(),i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanBinaryLiteral=function(e){for(var t,r="";!this.eof()&&("0"===(t=this.source[this.index])||"1"===t);)r+=this.source[this.index++];return 0===r.length&&this.throwUnexpectedToken(),this.eof()||(t=this.source.charCodeAt(this.index),(i.Character.isIdentifierStart(t)||i.Character.isDecimalDigit(t))&&this.throwUnexpectedToken()),{type:6,value:parseInt(r,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanOctalLiteral=function(e,t){var r="",n=!1;for(i.Character.isOctalDigit(e.charCodeAt(0))?(n=!0,r="0"+this.source[this.index++]):++this.index;!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];return n||0!==r.length||this.throwUnexpectedToken(),(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(r,8),octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e<this.length;++e){var t=this.source[e];if("8"===t||"9"===t)return!1;if(!i.Character.isOctalDigit(t.charCodeAt(0)))return!0}return!0},e.prototype.scanNumericLiteral=function(){var e=this.index,t=this.source[e];n.assert(i.Character.isDecimalDigit(t.charCodeAt(0))||"."===t,"Numeric literal must start with a decimal digit or a decimal point");var r="";if("."!==t){if(r=this.source[this.index++],t=this.source[this.index],"0"===r){if("x"===t||"X"===t)return++this.index,this.scanHexLiteral(e);if("b"===t||"B"===t)return++this.index,this.scanBinaryLiteral(e);if("o"===t||"O"===t)return this.scanOctalLiteral(t,e);if(t&&i.Character.isOctalDigit(t.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(t,e)}for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];t=this.source[this.index]}if("."===t){for(r+=this.source[this.index++];i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];t=this.source[this.index]}if("e"===t||"E"===t)if(r+=this.source[this.index++],"+"!==(t=this.source[this.index])&&"-"!==t||(r+=this.source[this.index++]),i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];else this.throwUnexpectedToken();return i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(r),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanStringLiteral=function(){var e=this.index,t=this.source[e];n.assert("'"===t||'"'===t,"String literal must starts with a quote"),++this.index;for(var r=!1,a="";!this.eof();){var o=this.source[this.index++];if(o===t){t="";break}if("\\"===o)if((o=this.source[this.index++])&&i.Character.isLineTerminator(o.charCodeAt(0)))++this.lineNumber,"\r"===o&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(o){case"u":if("{"===this.source[this.index])++this.index,a+=this.scanUnicodeCodePointEscape();else{var l=this.scanHexEscape(o);null===l&&this.throwUnexpectedToken(),a+=l}break;case"x":var u=this.scanHexEscape(o);null===u&&this.throwUnexpectedToken(s.Messages.InvalidHexEscapeSequence),a+=u;break;case"n":a+="\n";break;case"r":a+="\r";break;case"t":a+="\t";break;case"b":a+="\b";break;case"f":a+="\f";break;case"v":a+="\v";break;case"8":case"9":a+=o,this.tolerateUnexpectedToken();break;default:if(o&&i.Character.isOctalDigit(o.charCodeAt(0))){var c=this.octalToDecimal(o);r=c.octal||r,a+=String.fromCharCode(c.code)}else a+=o}else{if(i.Character.isLineTerminator(o.charCodeAt(0)))break;a+=o}}return""!==t&&(this.index=e,this.throwUnexpectedToken()),{type:8,value:a,octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanTemplate=function(){var e="",t=!1,r=this.index,n="`"===this.source[r],a=!1,o=2;for(++this.index;!this.eof();){var l=this.source[this.index++];if("`"===l){o=1,a=!0,t=!0;break}if("$"===l){if("{"===this.source[this.index]){this.curlyStack.push("${"),++this.index,t=!0;break}e+=l}else if("\\"===l)if(l=this.source[this.index++],i.Character.isLineTerminator(l.charCodeAt(0)))++this.lineNumber,"\r"===l&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(l){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"u":if("{"===this.source[this.index])++this.index,e+=this.scanUnicodeCodePointEscape();else{var u=this.index,c=this.scanHexEscape(l);null!==c?e+=c:(this.index=u,e+=l)}break;case"x":var p=this.scanHexEscape(l);null===p&&this.throwUnexpectedToken(s.Messages.InvalidHexEscapeSequence),e+=p;break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:"0"===l?(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(s.Messages.TemplateOctalLiteral),e+="\0"):i.Character.isOctalDigit(l.charCodeAt(0))?this.throwUnexpectedToken(s.Messages.TemplateOctalLiteral):e+=l}else i.Character.isLineTerminator(l.charCodeAt(0))?(++this.lineNumber,"\r"===l&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index,e+="\n"):e+=l}return t||this.throwUnexpectedToken(),n||this.curlyStack.pop(),{type:10,value:this.source.slice(r+1,this.index-o),cooked:e,head:n,tail:a,lineNumber:this.lineNumber,lineStart:this.lineStart,start:r,end:this.index}},e.prototype.testRegExp=function(e,t){var r=e,n=this;t.indexOf("u")>=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,(function(e,t,r){var i=parseInt(t||r,16);return i>1114111&&n.throwUnexpectedToken(s.Messages.InvalidRegExp),i<=65535?String.fromCharCode(i):"￿"})).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"￿"));try{RegExp(r)}catch{this.throwUnexpectedToken(s.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch{return null}},e.prototype.scanRegExpBody=function(){var e=this.source[this.index];n.assert("/"===e,"Regular expression literal must start with a slash");for(var t=this.source[this.index++],r=!1,a=!1;!this.eof();)if(t+=e=this.source[this.index++],"\\"===e)e=this.source[this.index++],i.Character.isLineTerminator(e.charCodeAt(0))&&this.throwUnexpectedToken(s.Messages.UnterminatedRegExp),t+=e;else if(i.Character.isLineTerminator(e.charCodeAt(0)))this.throwUnexpectedToken(s.Messages.UnterminatedRegExp);else if(r)"]"===e&&(r=!1);else{if("/"===e){a=!0;break}"["===e&&(r=!0)}return a||this.throwUnexpectedToken(s.Messages.UnterminatedRegExp),t.substr(1,t.length-2)},e.prototype.scanRegExpFlags=function(){for(var e="";!this.eof();){var t=this.source[this.index];if(!i.Character.isIdentifierPart(t.charCodeAt(0)))break;if(++this.index,"\\"!==t||this.eof())e+=t;else if("u"===(t=this.source[this.index])){++this.index;var r=this.index,n=this.scanHexEscape("u");if(null!==n)for(e+=n;r<this.index;++r)this.source[r];else this.index=r,e+="u";this.tolerateUnexpectedToken()}else this.tolerateUnexpectedToken()}return e},e.prototype.scanRegExp=function(){var e=this.index,t=this.scanRegExpBody(),r=this.scanRegExpFlags();return{type:9,value:"",pattern:t,flags:r,regex:this.testRegExp(t,r),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var e=this.source.charCodeAt(this.index);return i.Character.isIdentifierStart(e)?this.scanIdentifier():40===e||41===e||59===e?this.scanPunctuator():39===e||34===e?this.scanStringLiteral():46===e?i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():i.Character.isDecimalDigit(e)?this.scanNumericLiteral():96===e||125===e&&"${"===this.curlyStack[this.curlyStack.length-1]?this.scanTemplate():e>=55296&&e<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},e}();t.Scanner=l},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TokenName={},t.TokenName[1]="Boolean",t.TokenName[2]="<end>",t.TokenName[3]="Identifier",t.TokenName[4]="Keyword",t.TokenName[5]="Null",t.TokenName[6]="Numeric",t.TokenName[7]="Punctuator",t.TokenName[8]="String",t.TokenName[9]="RegularExpression",t.TokenName[10]="Template"},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(10),i=r(12),s=r(13),a=function(){function e(){this.values=[],this.curly=this.paren=-1}return e.prototype.beforeFunctionExpression=function(e){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(e)>=0},e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1],t=null!==e;switch(e){case"this":case"]":t=!1;break;case")":var r=this.values[this.paren-1];t="if"===r||"while"===r||"for"===r||"with"===r;break;case"}":if(t=!1,"function"===this.values[this.curly-3])t=!!(n=this.values[this.curly-4])&&!this.beforeFunctionExpression(n);else if("function"===this.values[this.curly-4]){var n;t=!(n=this.values[this.curly-5])||!this.beforeFunctionExpression(n)}}return t},e.prototype.push=function(e){7===e.type||4===e.type?("{"===e.value?this.curly=this.values.length:"("===e.value&&(this.paren=this.values.length),this.values.push(e.value)):this.values.push(null)},e}(),o=function(){function e(e,t){this.errorHandler=new n.ErrorHandler,this.errorHandler.tolerant=!!t&&"boolean"==typeof t.tolerant&&t.tolerant,this.scanner=new i.Scanner(e,this.errorHandler),this.scanner.trackComment=!!t&&"boolean"==typeof t.comment&&t.comment,this.trackRange=!!t&&"boolean"==typeof t.range&&t.range,this.trackLoc=!!t&&"boolean"==typeof t.loc&&t.loc,this.buffer=[],this.reader=new a}return e.prototype.errors=function(){return this.errorHandler.errors},e.prototype.getNextToken=function(){if(0===this.buffer.length){var e=this.scanner.scanComments();if(this.scanner.trackComment)for(var t=0;t<e.length;++t){var r=e[t],n=this.scanner.source.slice(r.slice[0],r.slice[1]),i={type:r.multiLine?"BlockComment":"LineComment",value:n};this.trackRange&&(i.range=r.range),this.trackLoc&&(i.loc=r.loc),this.buffer.push(i)}if(!this.scanner.eof()){var a=void 0;this.trackLoc&&(a={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var o="/"===this.scanner.source[this.scanner.index]&&this.reader.isRegexStart()?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(o);var l={type:s.TokenName[o.type],value:this.scanner.source.slice(o.start,o.end)};if(this.trackRange&&(l.range=[o.start,o.end]),this.trackLoc&&(a.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},l.loc=a),9===o.type){var u=o.pattern,c=o.flags;l.regex={pattern:u,flags:c}}this.buffer.push(l)}}return this.buffer.shift()},e}();t.Tokenizer=o}])})(Nn),Object.defineProperty(kr,"__esModule",{value:!0});var _n,On=Nr;function Fn(){if(void 0===_n){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])_n="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");_n="LE"}}return _n}function In(){return void 0!==r.location?r.location.hostname:""}function Bn(){return[]}function Ln(){return 0}function Mn(){return Number.MAX_VALUE}function Rn(){return Number.MAX_VALUE}function jn(){return[]}function Un(){return"Browser"}function $n(){return void 0!==r.navigator?r.navigator.appVersion:""}function qn(){return{}}function Vn(){return{}}function zn(){return"javascript"}function Xn(){return"browser"}function Jn(){return"/tmp"}kr.parse=function(e,t){var r=[],n=Nn.exports.parse(e,{loc:!0,locations:!0,comment:!0,onComment:r,range:On.getOption(t,"range",!1),tolerant:On.getOption(t,"tolerant",!0),tokens:!0,jsx:On.getOption(t,"jsx",!1)});return Array.isArray(n.comments)||(n.comments=r),n};var Kn=Jn,Wn={EOL:"\n",arch:zn,platform:Xn,tmpdir:Kn,tmpDir:Jn,networkInterfaces:qn,getNetworkInterfaces:Vn,release:$n,type:Un,cpus:jn,totalmem:Rn,freemem:Mn,uptime:Ln,loadavg:Bn,hostname:In,endianness:Fn},Gn=t(Object.freeze({__proto__:null,endianness:Fn,hostname:In,loadavg:Bn,uptime:Ln,freemem:Mn,totalmem:Rn,cpus:jn,type:Un,release:$n,networkInterfaces:qn,getNetworkInterfaces:Vn,arch:zn,platform:Xn,tmpDir:Jn,tmpdir:Kn,EOL:"\n",default:Wn}));Object.defineProperty(Pr,"__esModule",{value:!0});var Yn={parser:kr,tabWidth:4,useTabs:!1,reuseWhitespace:!0,lineTerminator:Gn.EOL||"\n",wrapColumn:74,sourceFileName:null,sourceMapName:null,sourceRoot:null,inputSourceMap:null,range:!1,tolerant:!0,quote:null,trailingComma:!1,arrayBracketSpacing:!1,objectCurlySpacing:!0,arrowParensAlways:!1,flowObjectCommas:!0,tokens:!0},Hn=Yn.hasOwnProperty;Pr.normalize=function(e){var t=e||Yn;function r(e){return Hn.call(t,e)?t[e]:Yn[e]}return{tabWidth:+r("tabWidth"),useTabs:!!r("useTabs"),reuseWhitespace:!!r("reuseWhitespace"),lineTerminator:r("lineTerminator"),wrapColumn:Math.max(r("wrapColumn"),0),sourceFileName:r("sourceFileName"),sourceMapName:r("sourceMapName"),sourceRoot:r("sourceRoot"),inputSourceMap:r("inputSourceMap"),parser:r("esprima")||r("parser"),range:r("range"),tolerant:r("tolerant"),quote:r("quote"),trailingComma:r("trailingComma"),arrayBracketSpacing:r("arrayBracketSpacing"),objectCurlySpacing:r("objectCurlySpacing"),arrowParensAlways:r("arrowParensAlways"),flowObjectCommas:r("flowObjectCommas"),tokens:!!r("tokens")}};var Qn={},Zn={},ei=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zn,"__esModule",{value:!0});var ti=ei(wr),ri=Nr,ni=function(){function e(e,t,r){void 0===r&&(r=t),this.sourceLines=e,this.sourceLoc=t,this.targetLoc=r}return e.prototype.slice=function(t,r,n){void 0===n&&(n=t.lastPos());var i=this.sourceLines,s=this.sourceLoc,a=this.targetLoc;function o(e){var o=s[e],l=a[e],u=r;return"end"===e?u=n:ti.default.strictEqual(e,"start"),function(e,t,r,n,i){var s=ri.comparePos(n,i);if(0===s)return t;if(s<0){var a=e.skipSpaces(t)||e.lastPos(),o=r.skipSpaces(n)||r.lastPos(),l=i.line-o.line;for(a.line+=l,o.line+=l,l>0?(a.column=0,o.column=0):ti.default.strictEqual(l,0);ri.comparePos(o,i)<0&&r.nextPos(o,!0);)ti.default.ok(e.nextPos(a,!0)),ti.default.strictEqual(e.charAt(a),r.charAt(o))}else for(a=e.skipSpaces(t,!0)||e.firstPos(),o=r.skipSpaces(n,!0)||r.firstPos(),l=i.line-o.line,a.line+=l,o.line+=l,l<0?(a.column=e.getLineLength(a.line),o.column=r.getLineLength(o.line)):ti.default.strictEqual(l,0);ri.comparePos(i,o)<0&&r.prevPos(o,!0);)ti.default.ok(e.prevPos(a,!0)),ti.default.strictEqual(e.charAt(a),r.charAt(o));return a}(i,o,t,l,u)}if(ri.comparePos(r,a.start)<=0)if(ri.comparePos(a.end,n)<=0)a={start:si(a.start,r.line,r.column),end:si(a.end,r.line,r.column)};else{if(ri.comparePos(n,a.start)<=0)return null;s={start:s.start,end:o("end")},a={start:si(a.start,r.line,r.column),end:si(n,r.line,r.column)}}else{if(ri.comparePos(a.end,r)<=0)return null;ri.comparePos(a.end,n)<=0?(s={start:o("start"),end:s.end},a={start:{line:1,column:0},end:si(a.end,r.line,r.column)}):(s={start:o("start"),end:o("end")},a={start:{line:1,column:0},end:si(n,r.line,r.column)})}return new e(this.sourceLines,s,a)},e.prototype.add=function(t,r){return new e(this.sourceLines,this.sourceLoc,{start:ii(this.targetLoc.start,t,r),end:ii(this.targetLoc.end,t,r)})},e.prototype.subtract=function(t,r){return new e(this.sourceLines,this.sourceLoc,{start:si(this.targetLoc.start,t,r),end:si(this.targetLoc.end,t,r)})},e.prototype.indent=function(t,r,n){if(void 0===r&&(r=!1),void 0===n&&(n=!1),0===t)return this;var i=this.targetLoc,s=i.start.line,a=i.end.line;if(r&&1===s&&1===a)return this;if(i={start:i.start,end:i.end},!r||s>1){var o=i.start.column+t;i.start={line:s,column:n?Math.max(0,o):o}}if(!r||a>1){var l=i.end.column+t;i.end={line:a,column:n?Math.max(0,l):l}}return new e(this.sourceLines,this.sourceLoc,i)},e}();function ii(e,t,r){return{line:e.line+t-1,column:1===e.line?e.column+r:e.column}}function si(e,t,r){return{line:e.line-t+1,column:e.line===t?e.column-r:e.column}}Zn.default=ni;var ai=e&&e.__assign||function(){return ai=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},ai.apply(this,arguments)},oi=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qn,"__esModule",{value:!0});var li=oi(wr),ui=oi(_r),ci=Pr,pi=Nr,hi=oi(Zn),di=function(){function e(e,t){void 0===t&&(t=null),this.infos=e,this.mappings=[],this.cachedSourceMap=null,this.cachedTabWidth=void 0,li.default.ok(e.length>0),this.length=e.length,this.name=t||null,this.name&&this.mappings.push(new hi.default(this,{start:this.firstPos(),end:this.lastPos()}))}return e.prototype.toString=function(e){return this.sliceString(this.firstPos(),this.lastPos(),e)},e.prototype.getSourceMap=function(e,t){if(!e)return null;var r=this;function n(r){return(r=r||{}).file=e,t&&(r.sourceRoot=t),r}if(r.cachedSourceMap)return n(r.cachedSourceMap.toJSON());var i=new ui.default.SourceMapGenerator(n()),s={};return r.mappings.forEach((function(e){for(var t=e.sourceLines.skipSpaces(e.sourceLoc.start)||e.sourceLines.lastPos(),n=r.skipSpaces(e.targetLoc.start)||r.lastPos();pi.comparePos(t,e.sourceLoc.end)<0&&pi.comparePos(n,e.targetLoc.end)<0;){var a=e.sourceLines.charAt(t),o=r.charAt(n);li.default.strictEqual(a,o);var l=e.sourceLines.name;if(i.addMapping({source:l,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column}}),!mi.call(s,l)){var u=e.sourceLines.toString();i.setSourceContent(l,u),s[l]=u}r.nextPos(n,!0),e.sourceLines.nextPos(t,!0)}})),r.cachedSourceMap=i,i.toJSON()},e.prototype.bootstrapCharAt=function(e){li.default.strictEqual(typeof e,"object"),li.default.strictEqual(typeof e.line,"number"),li.default.strictEqual(typeof e.column,"number");var t=e.line,r=e.column,n=this.toString().split(xi),i=n[t-1];return void 0===i?"":r===i.length&&t<n.length?"\n":r>=i.length?"":i.charAt(r)},e.prototype.charAt=function(e){li.default.strictEqual(typeof e,"object"),li.default.strictEqual(typeof e.line,"number"),li.default.strictEqual(typeof e.column,"number");var t=e.line,r=e.column,n=this.infos[t-1],i=r;if(void 0===n||i<0)return"";var s=this.getIndentAt(t);return i<s?" ":(i+=n.sliceStart-s)===n.sliceEnd&&t<this.length?"\n":i>=n.sliceEnd?"":n.line.charAt(i)},e.prototype.stripMargin=function(t,r){if(0===t)return this;if(li.default.ok(t>0,"negative margin: "+t),r&&1===this.length)return this;var n=new e(this.infos.map((function(e,n){return e.line&&(n>0||!r)&&(e=ai(ai({},e),{indent:Math.max(0,e.indent-t)})),e})));if(this.mappings.length>0){var i=n.mappings;li.default.strictEqual(i.length,0),this.mappings.forEach((function(e){i.push(e.indent(t,r,!0))}))}return n},e.prototype.indent=function(t){if(0===t)return this;var r=new e(this.infos.map((function(e){return e.line&&!e.locked&&(e=ai(ai({},e),{indent:e.indent+t})),e})));if(this.mappings.length>0){var n=r.mappings;li.default.strictEqual(n.length,0),this.mappings.forEach((function(e){n.push(e.indent(t))}))}return r},e.prototype.indentTail=function(t){if(0===t)return this;if(this.length<2)return this;var r=new e(this.infos.map((function(e,r){return r>0&&e.line&&!e.locked&&(e=ai(ai({},e),{indent:e.indent+t})),e})));if(this.mappings.length>0){var n=r.mappings;li.default.strictEqual(n.length,0),this.mappings.forEach((function(e){n.push(e.indent(t,!0))}))}return r},e.prototype.lockIndentTail=function(){return this.length<2?this:new e(this.infos.map((function(e,t){return ai(ai({},e),{locked:t>0})})))},e.prototype.getIndentAt=function(e){return li.default.ok(e>=1,"no line "+e+" (line numbers start from 1)"),Math.max(this.infos[e-1].indent,0)},e.prototype.guessTabWidth=function(){if("number"==typeof this.cachedTabWidth)return this.cachedTabWidth;for(var e=[],t=0,r=1,n=this.length;r<=n;++r){var i=this.infos[r-1];if(!Ei(i.line.slice(i.sliceStart,i.sliceEnd))){var s=Math.abs(i.indent-t);e[s]=1+~~e[s],t=i.indent}}for(var a=-1,o=2,l=1;l<e.length;l+=1)mi.call(e,l)&&e[l]>a&&(a=e[l],o=l);return this.cachedTabWidth=o},e.prototype.startsWithComment=function(){if(0===this.infos.length)return!1;var e=this.infos[0],t=e.sliceStart,r=e.sliceEnd,n=e.line.slice(t,r).trim();return 0===n.length||"//"===n.slice(0,2)||"/*"===n.slice(0,2)},e.prototype.isOnlyWhitespace=function(){return Ei(this.toString())},e.prototype.isPrecededOnlyByWhitespace=function(e){var t=this.infos[e.line-1],r=Math.max(t.indent,0),n=e.column-r;if(n<=0)return!0;var i=t.sliceStart,s=Math.min(i+n,t.sliceEnd);return Ei(t.line.slice(i,s))},e.prototype.getLineLength=function(e){var t=this.infos[e-1];return this.getIndentAt(e)+t.sliceEnd-t.sliceStart},e.prototype.nextPos=function(e,t){void 0===t&&(t=!1);var r=Math.max(e.line,0);return Math.max(e.column,0)<this.getLineLength(r)?(e.column+=1,!t||!!this.skipSpaces(e,!1,!0)):r<this.length&&(e.line+=1,e.column=0,!t||!!this.skipSpaces(e,!1,!0))},e.prototype.prevPos=function(e,t){void 0===t&&(t=!1);var r=e.line,n=e.column;if(n<1){if((r-=1)<1)return!1;n=this.getLineLength(r)}else n=Math.min(n-1,this.getLineLength(r));return e.line=r,e.column=n,!t||!!this.skipSpaces(e,!0,!0)},e.prototype.firstPos=function(){return{line:1,column:0}},e.prototype.lastPos=function(){return{line:this.length,column:this.getLineLength(this.length)}},e.prototype.skipSpaces=function(e,t,r){if(void 0===t&&(t=!1),void 0===r&&(r=!1),e=e?r?e:{line:e.line,column:e.column}:t?this.lastPos():this.firstPos(),t){for(;this.prevPos(e);)if(!Ei(this.charAt(e))&&this.nextPos(e))return e;return null}for(;Ei(this.charAt(e));)if(!this.nextPos(e))return null;return e},e.prototype.trimLeft=function(){var e=this.skipSpaces(this.firstPos(),!1,!0);return e?this.slice(e):Si},e.prototype.trimRight=function(){var e=this.skipSpaces(this.lastPos(),!0,!0);return e?this.slice(this.firstPos(),e):Si},e.prototype.trim=function(){var e=this.skipSpaces(this.firstPos(),!1,!0);if(null===e)return Si;var t=this.skipSpaces(this.lastPos(),!0,!0);return null===t?Si:this.slice(e,t)},e.prototype.eachPos=function(e,t,r){void 0===t&&(t=this.firstPos()),void 0===r&&(r=!1);var n=this.firstPos();if(t&&(n.line=t.line,n.column=t.column),!r||this.skipSpaces(n,!1,!0))do{e.call(this,n)}while(this.nextPos(n,r))},e.prototype.bootstrapSlice=function(e,t){var r=this.toString().split(xi).slice(e.line-1,t.line);return r.length>0&&(r.push(r.pop().slice(0,t.column)),r[0]=r[0].slice(e.column)),vi(r.join("\n"))},e.prototype.slice=function(t,r){if(!r){if(!t)return this;r=this.lastPos()}if(!t)throw new Error("cannot slice with end but not start");var n=this.infos.slice(t.line-1,r.line);t.line===r.line?n[0]=bi(n[0],t.column,r.column):(li.default.ok(t.line<r.line),n[0]=bi(n[0],t.column),n.push(bi(n.pop(),0,r.column)));var i=new e(n);if(this.mappings.length>0){var s=i.mappings;li.default.strictEqual(s.length,0),this.mappings.forEach((function(e){var n=e.slice(this,t,r);n&&s.push(n)}),this)}return i},e.prototype.bootstrapSliceString=function(e,t,r){return this.slice(e,t).toString(r)},e.prototype.sliceString=function(e,t,r){void 0===e&&(e=this.firstPos()),void 0===t&&(t=this.lastPos());for(var n=[],i=(r=ci.normalize(r)).tabWidth,s=void 0===i?2:i,a=e.line;a<=t.line;++a){var o=this.infos[a-1];a===e.line?o=a===t.line?bi(o,e.column,t.column):bi(o,e.column):a===t.line&&(o=bi(o,0,t.column));var l=Math.max(o.indent,0),u=o.line.slice(0,o.sliceStart);if(r.reuseWhitespace&&Ei(u)&&yi(u,r.tabWidth)===l)n.push(o.line.slice(0,o.sliceEnd));else{var c=0,p=l;r.useTabs&&(p-=(c=Math.floor(l/s))*s);var h="";c>0&&(h+=new Array(c+1).join("\t")),p>0&&(h+=new Array(p+1).join(" ")),h+=o.line.slice(o.sliceStart,o.sliceEnd),n.push(h)}}return n.join(r.lineTerminator)},e.prototype.isEmpty=function(){return this.length<2&&this.getLineLength(1)<1},e.prototype.join=function(t){var r,n=this,i=[],s=[];function a(e){if(null!==e){if(r){var t=e.infos[0],n=new Array(t.indent+1).join(" "),a=i.length,o=Math.max(r.indent,0)+r.sliceEnd-r.sliceStart;r.line=r.line.slice(0,r.sliceEnd)+n+t.line.slice(t.sliceStart,t.sliceEnd),r.locked=r.locked||t.locked,r.sliceEnd=r.line.length,e.mappings.length>0&&e.mappings.forEach((function(e){s.push(e.add(a,o))}))}else e.mappings.length>0&&s.push.apply(s,e.mappings);e.infos.forEach((function(e,t){(!r||t>0)&&(r=ai({},e),i.push(r))}))}}if(t.map((function(e){var t=vi(e);return t.isEmpty()?null:t})).forEach((function(e,t){var r;n.isEmpty()?a(e):(r=e,t>0&&a(n),a(r))})),i.length<1)return Si;var o=new e(i);return o.mappings=s,o},e.prototype.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=[this];return r.push.apply(r,e),li.default.strictEqual(r.length,e.length+1),Si.join(r)},e}();Qn.Lines=di;var fi={},mi=fi.hasOwnProperty;function yi(e,t){for(var r=0,n=e.length,i=0;i<n;++i)switch(e.charCodeAt(i)){case 9:li.default.strictEqual(typeof t,"number"),li.default.ok(t>0);var s=Math.ceil(r/t)*t;s===r?r+=t:r=s;break;case 11:case 12:case 13:case 65279:break;default:r+=1}return r}Qn.countSpaces=yi;var gi=/^\s*/,xi=/\u000D\u000A|\u000D(?!\u000A)|\u000A|\u2028|\u2029/;function vi(e,t){if(e instanceof di)return e;e+="";var r=t&&t.tabWidth,n=e.indexOf("\t")<0,i=!t&&n&&e.length<=10;if(li.default.ok(r||n,"No tab width specified but encountered tabs in string\n"+e),i&&mi.call(fi,e))return fi[e];var s=new di(e.split(xi).map((function(e){var t=gi.exec(e)[0];return{line:e,indent:yi(t,r),locked:!1,sliceStart:t.length,sliceEnd:e.length}})),ci.normalize(t).sourceFileName);return i&&(fi[e]=s),s}function Ei(e){return!/\S/.test(e)}function bi(e,t,r){var n=e.sliceStart,i=e.sliceEnd,s=Math.max(e.indent,0),a=s+i-n;return void 0===r&&(r=a),t=Math.max(t,0),r=Math.min(r,a),(r=Math.max(r,t))<s?(s=r,i=n):i-=a-r,a=r,a-=t,t<s?s-=t:(t-=s,s=0,n+=t),li.default.ok(s>=0),li.default.ok(n<=i),li.default.strictEqual(a,s+i-n),e.indent===s&&e.sliceStart===n&&e.sliceEnd===i?e:{line:e.line,indent:s,locked:!1,sliceStart:n,sliceEnd:i}}Qn.fromString=vi,Qn.concat=function(e){return Si.join(e)};var Si=vi(""),Ti={},Ai={},Di=Object,Ci=Object.defineProperty,wi=Object.create;function Pi(e,t,r){if(Ci)try{Ci.call(Di,e,t,{value:r})}catch{e[t]=r}else e[t]=r}function ki(e){return e&&(Pi(e,"call",e.call),Pi(e,"apply",e.apply)),e}ki(Ci),ki(wi);var Ni=ki(Object.prototype.hasOwnProperty),_i=ki(Number.prototype.toString),Oi=ki(String.prototype.slice),Fi=function(){};function Ii(e){return wi?wi.call(Di,e):(Fi.prototype=e||null,new Fi)}var Bi=Math.random,Li=Ii(null);function Mi(){do{var e=Ri(Oi.call(_i.call(Bi(),36),2))}while(Ni.call(Li,e));return Li[e]=e}function Ri(e){var t={};return t[e]=!0,Object.keys(t)[0]}Ai.makeUniqueKey=Mi;var ji=Object.getOwnPropertyNames;function Ui(e){return Ii(null)}Object.getOwnPropertyNames=function(e){for(var t=ji(e),r=0,n=0,i=t.length;r<i;++r)Ni.call(Li,t[r])||(r>n&&(t[n]=t[r]),++n);return t.length=n,t},Ai.makeAccessor=function(e){var t=Mi(),r=Ii(null);function n(n){return Ni.call(n,t)||Pi(i=n,t,(function(t,n){if(t===r)return n?s=null:s||(s=e(i))})),n[t](r);var i,s}return e=e||Ui,n.forget=function(e){Ni.call(e,t)&&e[t](r,!0)},n};var $i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},qi=e&&e.__importStar||function(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};Object.defineProperty(Ti,"__esModule",{value:!0});var Vi=$i(wr),zi=qi(N),Xi=zi.namedTypes,Ji=zi.builtInTypes.array,Ki=zi.builtInTypes.object,Wi=Qn,Gi=Nr,Yi=Ai.makeUniqueKey();function Hi(e,t,r){if(e){if(Gi.fixFaultyLocations(e,t),r){if(Xi.Node.check(e)&&Xi.SourceLocation.check(e.loc)){for(var n=r.length-1;n>=0&&!(Gi.comparePos(r[n].loc.end,e.loc.start)<=0);--n);return void r.splice(n+1,0,e)}}else if(e[Yi])return e[Yi];var i;if(Ji.check(e))i=Object.keys(e);else{if(!Ki.check(e))return;i=zi.getFieldNames(e)}r||Object.defineProperty(e,Yi,{value:r=[],enumerable:!1}),n=0;for(var s=i.length;n<s;++n)Hi(e[i[n]],t,r);return r}}function Qi(e,t,r){for(var n=Hi(e,r),i=0,s=n.length;i<s;){var a=i+s>>1,o=n[a];if(Gi.comparePos(o.loc.start,t.loc.start)<=0&&Gi.comparePos(t.loc.end,o.loc.end)<=0)return void Qi(t.enclosingNode=o,t,r);if(Gi.comparePos(o.loc.end,t.loc.start)<=0){var l=o;i=a+1}else{if(!(Gi.comparePos(t.loc.end,o.loc.start)<=0))throw new Error("Comment location overlaps with node location");var u=o;s=a}}l&&(t.precedingNode=l),u&&(t.followingNode=u)}function Zi(e,t){var r=e.length;if(0!==r){for(var n=e[0].precedingNode,i=e[0].followingNode,s=i.loc.start,a=r;a>0;--a){var o=e[a-1];Vi.default.strictEqual(o.precedingNode,n),Vi.default.strictEqual(o.followingNode,i);var l=t.sliceString(o.loc.end,s);if(/\S/.test(l))break;s=o.loc.start}for(;a<=r&&(o=e[a])&&("Line"===o.type||"CommentLine"===o.type)&&o.loc.start.column>i.loc.start.column;)++a;e.forEach((function(e,t){t<a?rs(n,e):ts(i,e)})),e.length=0}}function es(e,t){(e.comments||(e.comments=[])).push(t)}function ts(e,t){t.leading=!0,t.trailing=!1,es(e,t)}function rs(e,t){t.leading=!1,t.trailing=!0,es(e,t)}Ti.attach=function(e,t,r){if(Ji.check(e)){var n=[];e.forEach((function(e){e.loc.lines=r,Qi(t,e,r);var i,s,a=e.precedingNode,o=e.enclosingNode,l=e.followingNode;if(a&&l){var u=n.length;if(u>0){var c=n[u-1];Vi.default.strictEqual(c.precedingNode===e.precedingNode,c.followingNode===e.followingNode),c.followingNode!==e.followingNode&&Zi(n,r)}n.push(e)}else if(a)Zi(n,r),rs(a,e);else if(l)Zi(n,r),ts(l,e);else{if(!o)throw new Error("AST contains no nodes at all?");Zi(n,r),i=o,(s=e).leading=!1,s.trailing=!1,es(i,s)}})),Zi(n,r),e.forEach((function(e){delete e.precedingNode,delete e.enclosingNode,delete e.followingNode}))}},Ti.printComments=function(e,t){var r=e.getValue(),n=t(e),i=Xi.Node.check(r)&&zi.getFieldValue(r,"comments");if(!i||0===i.length)return n;var s=[],a=[n];return e.each((function(e){var n=e.getValue(),i=zi.getFieldValue(n,"leading"),o=zi.getFieldValue(n,"trailing");i||o&&!Xi.Statement.check(r)&&"Block"!==n.type&&"CommentBlock"!==n.type?s.push(function(e,t){var r=e.getValue();Xi.Comment.assert(r);var n=r.loc,i=n&&n.lines,s=[t(e)];if(r.trailing)s.push("\n");else if(i instanceof Wi.Lines){var a=i.slice(n.end,i.skipSpaces(n.end)||i.lastPos());1===a.length?s.push(a):s.push(new Array(a.length).join("\n"))}else s.push("\n");return Wi.concat(s)}(e,t)):o&&a.push(function(e,t){var r=e.getValue(e);Xi.Comment.assert(r);var n=r.loc,i=n&&n.lines,s=[];if(i instanceof Wi.Lines){var a=i.skipSpaces(n.start,!0)||i.firstPos(),o=i.slice(a,n.start);1===o.length?s.push(o):s.push(new Array(o.length).join("\n"))}return s.push(t(e)),Wi.concat(s)}(e,t))}),"comments"),s.push.apply(s,a),Wi.concat(s)};var ns=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},is=e&&e.__importStar||function(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};Object.defineProperty(De,"__esModule",{value:!0});var ss=ns(wr),as=is(N),os=as.builders,ls=as.builtInTypes.object,us=as.builtInTypes.array,cs=Pr,ps=Qn,hs=Ti,ds=is(Nr);De.parse=function(e,t){t=cs.normalize(t);var r,n,i=ps.fromString(e,t),s=i.toString({tabWidth:t.tabWidth,reuseWhitespace:!1,useTabs:!1}),a=[],o=t.parser.parse(s,{jsx:!0,loc:!0,locations:!0,range:t.range,comment:!0,onComment:a,tolerant:ds.getOption(t,"tolerant",!0),ecmaVersion:6,sourceType:ds.getOption(t,"sourceType","module")}),l=Array.isArray(o.tokens)?o.tokens:Nn.exports.tokenize(s,{loc:!0});delete o.tokens,l.forEach((function(e){"string"!=typeof e.value&&(e.value=i.sliceString(e.loc.start,e.loc.end))})),Array.isArray(o.comments)&&(a=o.comments,delete o.comments),o.loc?ds.fixFaultyLocations(o,i):o.loc={start:i.firstPos(),end:i.lastPos()},o.loc.lines=i,o.loc.indent=0,"Program"===o.type?(n=o,(r=os.file(o,t.sourceFileName||null)).loc={start:i.firstPos(),end:i.lastPos(),lines:i,indent:0}):"File"===o.type&&(n=(r=o).program),t.tokens&&(r.tokens=l);var u=ds.getTrueLoc({type:n.type,loc:n.loc,body:[],comments:a},i);return n.loc.start=u.start,n.loc.end=u.end,hs.attach(a,n.body.length?r.program:r,i),new fs(i,l).copy(r)};var fs=function e(t,r){ss.default.ok(this instanceof e),this.lines=t,this.tokens=r,this.startTokenIndex=0,this.endTokenIndex=r.length,this.indent=0,this.seen=new Map},ms=fs.prototype;ms.copy=function(e){if(this.seen.has(e))return this.seen.get(e);if(us.check(e)){var t=new Array(e.length);return this.seen.set(e,t),e.forEach((function(e,r){t[r]=this.copy(e)}),this),t}if(!ls.check(e))return e;ds.fixFaultyLocations(e,this.lines),t=Object.create(Object.getPrototypeOf(e),{original:{value:e,configurable:!1,enumerable:!1,writable:!0}}),this.seen.set(e,t);var r=e.loc,n=this.indent,i=n,s=this.startTokenIndex,a=this.endTokenIndex;r&&(("Block"===e.type||"Line"===e.type||"CommentBlock"===e.type||"CommentLine"===e.type||this.lines.isPrecededOnlyByWhitespace(r.start))&&(i=this.indent=r.start.column),r.lines=this.lines,r.tokens=this.tokens,r.indent=i,this.findTokenRange(r));for(var o=Object.keys(e),l=o.length,u=0;u<l;++u){var c=o[u];"loc"===c||"tokens"===c&&"File"===e.type?t[c]=e[c]:t[c]=this.copy(e[c])}return this.indent=n,this.startTokenIndex=s,this.endTokenIndex=a,t},ms.findTokenRange=function(e){for(;this.startTokenIndex>0;){var t=e.tokens[this.startTokenIndex];if(!(ds.comparePos(e.start,t.loc.start)<0))break;--this.startTokenIndex}for(;this.endTokenIndex<e.tokens.length&&(t=e.tokens[this.endTokenIndex],ds.comparePos(t.loc.end,e.end)<0);)++this.endTokenIndex;for(;this.startTokenIndex<this.endTokenIndex&&(t=e.tokens[this.startTokenIndex],ds.comparePos(t.loc.start,e.start)<0);)++this.startTokenIndex;for(e.start.token=this.startTokenIndex;this.endTokenIndex>this.startTokenIndex&&(t=e.tokens[this.endTokenIndex-1],ds.comparePos(e.end,t.loc.end)<0);)--this.endTokenIndex;e.end.token=this.endTokenIndex};var ys={},gs={},xs={},vs=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Es=e&&e.__importStar||function(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};Object.defineProperty(xs,"__esModule",{value:!0});var bs=vs(wr),Ss=Es(N),Ts=Ss.namedTypes,As=Ss.builtInTypes.array,Ds=Ss.builtInTypes.number,Cs=Es(Nr),ws=function e(t){bs.default.ok(this instanceof e),this.stack=[t]},Ps=ws.prototype;function ks(e,t){for(var r=e.stack,n=r.length-1;n>=0;n-=2){var i=r[n];if(Ts.Node.check(i)&&--t<0)return i}return null}function Ns(e){return Ts.BinaryExpression.check(e)||Ts.LogicalExpression.check(e)}ws.from=function(e){if(e instanceof ws)return e.copy();if(e instanceof Ss.NodePath){for(var t,r=Object.create(ws.prototype),n=[e.value];t=e.parentPath;e=t)n.push(e.name,t.value);return r.stack=n.reverse(),r}return new ws(e)},Ps.copy=function(){var e=Object.create(ws.prototype);return e.stack=this.stack.slice(0),e},Ps.getName=function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null},Ps.getValue=function(){var e=this.stack;return e[e.length-1]},Ps.valueIsDuplicate=function(){var e=this.stack,t=e.length-1;return e.lastIndexOf(e[t],t-1)>=0},Ps.getNode=function(e){return void 0===e&&(e=0),ks(this,~~e)},Ps.getParentNode=function(e){return void 0===e&&(e=0),ks(this,1+~~e)},Ps.getRootValue=function(){var e=this.stack;return e.length%2==0?e[1]:e[0]},Ps.call=function(e){for(var t=this.stack,r=t.length,n=t[r-1],i=arguments.length,s=1;s<i;++s){var a=arguments[s];n=n[a],t.push(a,n)}var o=e(this);return t.length=r,o},Ps.each=function(e){for(var t=this.stack,r=t.length,n=t[r-1],i=arguments.length,s=1;s<i;++s){var a=arguments[s];n=n[a],t.push(a,n)}for(s=0;s<n.length;++s)s in n&&(t.push(s,n[s]),e(this),t.length-=2);t.length=r},Ps.map=function(e){for(var t=this.stack,r=t.length,n=t[r-1],i=arguments.length,s=1;s<i;++s){var a=arguments[s];n=n[a],t.push(a,n)}var o=new Array(n.length);for(s=0;s<n.length;++s)s in n&&(t.push(s,n[s]),o[s]=e(this,s),t.length-=2);return t.length=r,o},Ps.hasParens=function(){var e=this.getNode(),t=this.getPrevToken(e);if(!t)return!1;var r=this.getNextToken(e);return!!r&&!("("!==t.value||")"!==r.value&&(this.canBeFirstInStatement()||!this.firstInStatement()||this.needsParens(!0)))},Ps.getPrevToken=function(e){var t=(e=e||this.getNode())&&e.loc,r=t&&t.tokens;if(r&&t.start.token>0){var n=r[t.start.token-1];if(n){var i=this.getRootValue().loc;if(Cs.comparePos(i.start,n.loc.start)<=0)return n}}return null},Ps.getNextToken=function(e){var t=(e=e||this.getNode())&&e.loc,r=t&&t.tokens;if(r&&t.end.token<r.length){var n=r[t.end.token];if(n){var i=this.getRootValue().loc;if(Cs.comparePos(n.loc.end,i.end)<=0)return n}}return null},Ps.needsParens=function(e){var t=this.getNode();if("AssignmentExpression"===t.type&&"ObjectPattern"===t.left.type)return!0;var r=this.getParentNode();if(!r)return!1;var n=this.getName();if(this.getValue()!==t||Ts.Statement.check(t)||"Identifier"===t.type||"ParenthesizedExpression"===r.type)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return"MemberExpression"===r.type&&"object"===n&&r.object===t;case"BinaryExpression":case"LogicalExpression":switch(r.type){case"CallExpression":return"callee"===n&&r.callee===t;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return"object"===n&&r.object===t;case"BinaryExpression":case"LogicalExpression":var i=r.operator,s=_s[i],a=t.operator,o=_s[a];if(s>o)return!0;if(s===o&&"right"===n)return bs.default.strictEqual(r.right,t),!0;default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==n;default:return!0}case"YieldExpression":switch(r.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"Literal":return"MemberExpression"===r.type&&Ds.check(t.value)&&"object"===n&&r.object===t;case"NumericLiteral":return"MemberExpression"===r.type&&"object"===n&&r.object===t;case"AssignmentExpression":case"ConditionalExpression":switch(r.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":case"NewExpression":return"callee"===n&&r.callee===t;case"ConditionalExpression":return"test"===n&&r.test===t;case"MemberExpression":return"object"===n&&r.object===t;default:return!1}case"ArrowFunctionExpression":return!(!Ts.CallExpression.check(r)||"callee"!==n)||!(!Ts.MemberExpression.check(r)||"object"!==n)||Ns(r);case"ObjectExpression":if("ArrowFunctionExpression"===r.type&&"body"===n)return!0;break;case"TSAsExpression":if("ArrowFunctionExpression"===r.type&&"body"===n&&"ObjectExpression"===t.expression.type)return!0;break;case"CallExpression":if("declaration"===n&&Ts.ExportDefaultDeclaration.check(r)&&Ts.FunctionExpression.check(t.callee))return!0}return"NewExpression"===r.type&&"callee"===n&&r.callee===t?Os(t):!(!0===e||this.canBeFirstInStatement()||!this.firstInStatement())};var _s={};function Os(e){return!!Ts.CallExpression.check(e)||(As.check(e)?e.some(Os):!!Ts.Node.check(e)&&Ss.someField(e,(function(e,t){return Os(t)})))}[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((function(e,t){e.forEach((function(e){_s[e]=t}))})),Ps.canBeFirstInStatement=function(){var e=this.getNode();return!Ts.FunctionExpression.check(e)&&!Ts.ObjectExpression.check(e)&&!Ts.ClassExpression.check(e)},Ps.firstInStatement=function(){for(var e,t,r,n,i=this.stack,s=i.length-1;s>=0;s-=2)if(Ts.Node.check(i[s])&&(r=e,n=t,e=i[s-1],t=i[s]),t&&n){if(Ts.BlockStatement.check(t)&&"body"===e&&0===r)return bs.default.strictEqual(t.body[0],n),!0;if(Ts.ExpressionStatement.check(t)&&"expression"===r)return bs.default.strictEqual(t.expression,n),!0;if(Ts.AssignmentExpression.check(t)&&"left"===r)return bs.default.strictEqual(t.left,n),!0;if(Ts.ArrowFunctionExpression.check(t)&&"body"===r)return bs.default.strictEqual(t.body,n),!0;if(Ts.SequenceExpression.check(t)&&"expressions"===e&&0===r)bs.default.strictEqual(t.expressions[0],n);else if(Ts.CallExpression.check(t)&&"callee"===r)bs.default.strictEqual(t.callee,n);else if(Ts.MemberExpression.check(t)&&"object"===r)bs.default.strictEqual(t.object,n);else if(Ts.ConditionalExpression.check(t)&&"test"===r)bs.default.strictEqual(t.test,n);else if(Ns(t)&&"left"===r)bs.default.strictEqual(t.left,n);else{if(!Ts.UnaryExpression.check(t)||t.prefix||"argument"!==r)return!1;bs.default.strictEqual(t.argument,n)}}return!0},xs.default=ws;var Fs=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Is=e&&e.__importStar||function(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};Object.defineProperty(gs,"__esModule",{value:!0});var Bs=Fs(wr),Ls=Is(Qn),Ms=Is(N),Rs=Ms.namedTypes.Printable,js=Ms.namedTypes.Expression,Us=Ms.namedTypes.ReturnStatement,$s=Ms.namedTypes.SourceLocation,qs=Nr,Vs=Fs(xs),zs=Ms.builtInTypes.object,Xs=Ms.builtInTypes.array,Js=Ms.builtInTypes.string,Ks=/[0-9a-z_$]/i,Ws=function e(t){Bs.default.ok(this instanceof e),Bs.default.ok(t instanceof Ls.Lines);var r=[];this.replace=function(e,t){Js.check(t)&&(t=Ls.fromString(t)),r.push({lines:t,start:e.start,end:e.end})},this.get=function(e){var n=(e=e||{start:{line:1,column:0},end:{line:t.length,column:t.getLineLength(t.length)}}).start,i=[];function s(e,r){Bs.default.ok(qs.comparePos(e,r)<=0),i.push(t.slice(e,r))}return r.sort((function(e,t){return qs.comparePos(e.start,t.start)})).forEach((function(e){qs.comparePos(n,e.start)>0||(s(n,e.start),i.push(e.lines),n=e.end)})),s(n,e.end),Ls.concat(i)}};gs.Patcher=Ws;var Gs=Ws.prototype;function Ys(e){var t=[];return e.comments&&e.comments.length>0&&e.comments.forEach((function(e){(e.leading||e.trailing)&&t.push(e)})),t}function Hs(e,t,r){var n=e.getValue();return n===t.getValue()||(Xs.check(n)?Qs(e,t,r):!!zs.check(n)&&function(e,t,r){var n=e.getValue();if(zs.assert(n),null===n.original)return!1;var i=t.getValue();if(!zs.check(i))return!1;if(n===i||e.valueIsDuplicate()||t.valueIsDuplicate())return!0;if(Rs.check(n)){if(!Rs.check(i))return!1;var s=e.getParentNode(),a=t.getParentNode();if(null!==a&&"FunctionTypeAnnotation"===a.type&&null!==s&&"FunctionTypeAnnotation"===s.type){var o=1!==a.params.length||!!a.params[0].name,l=1!==s.params.length||!!s.params[0].name;if(!o&&l)return!1}if(n.type===i.type){var u=[];if(Zs(e,t,u))r.push.apply(r,u);else{if(!i.loc)return!1;r.push({oldPath:t.copy(),newPath:e.copy()})}return!0}return!!(js.check(n)&&js.check(i)&&i.loc)&&(r.push({oldPath:t.copy(),newPath:e.copy()}),!0)}return Zs(e,t,r)}(e,t,r))}function Qs(e,t,r){var n=e.getValue(),i=t.getValue();if(n===i||e.valueIsDuplicate()||t.valueIsDuplicate())return!0;Xs.assert(n);var s=n.length;if(!Xs.check(i)||i.length!==s)return!1;for(var a=0;a<s;++a){e.stack.push(a,n[a]),t.stack.push(a,i[a]);var o=Hs(e,t,r);if(e.stack.length-=2,t.stack.length-=2,!o)return!1}return!0}function Zs(e,t,r){var n=e.getValue(),i=t.getValue();if(zs.assert(n),zs.assert(i),null===n.original||e.needsParens()&&!t.hasParens())return!1;var s=qs.getUnionOfKeys(i,n);"File"!==i.type&&"File"!==n.type||delete s.tokens,delete s.loc;var a=r.length;for(var o in s)if("_"!==o.charAt(0)){e.stack.push(o,Ms.getFieldValue(n,o)),t.stack.push(o,Ms.getFieldValue(i,o));var l=Hs(e,t,r);if(e.stack.length-=2,t.stack.length-=2,!l)return!1}return!(Us.check(e.getNode())&&r.length>a)}Gs.tryToReprintComments=function(e,t,r){var n=this;if(!e.comments&&!t.comments)return!0;var i=Vs.default.from(e),s=Vs.default.from(t);i.stack.push("comments",Ys(e)),s.stack.push("comments",Ys(t));var a=[],o=Qs(i,s,a);return o&&a.length>0&&a.forEach((function(e){var t=e.oldPath.getValue();Bs.default.ok(t.leading||t.trailing),n.replace(t.loc,r(e.newPath).indentTail(t.loc.indent))})),o},Gs.deleteComments=function(e){if(e.comments){var t=this;e.comments.forEach((function(r){r.leading?t.replace({start:r.loc.start,end:e.loc.lines.skipSpaces(r.loc.end,!1,!1)},""):r.trailing&&t.replace({start:e.loc.lines.skipSpaces(r.loc.start,!0,!1),end:r.loc.end},"")}))}},gs.getReprinter=function(e){Bs.default.ok(e instanceof Vs.default);var t=e.getValue();if(Rs.check(t)){var r=t.original,n=r&&r.loc,i=n&&n.lines,s=[];if(i&&function(e,t){var r=e.getValue();Rs.assert(r);var n=r.original;if(Rs.assert(n),Bs.default.deepEqual(t,[]),r.type!==n.type)return!1;var i=Zs(e,new Vs.default(n),t);return i||(t.length=0),i}(e,s))return function(t){var a=new Ws(i);s.forEach((function(e){var r=e.newPath.getValue(),n=e.oldPath.getValue();$s.assert(n.loc,!0);var s=!a.tryToReprintComments(r,n,t);s&&a.deleteComments(n);var o,l,u,c,p,h,d=t(e.newPath,{includeComments:s,avoidRootParens:n.type===r.type&&e.oldPath.hasParens()}).indentTail(n.loc.indent),f=(o=i,l=n.loc,u=d,c=qs.copyPos(l.start),p=o.prevPos(c)&&o.charAt(c),h=u.charAt(u.firstPos()),p&&Ks.test(p)&&h&&Ks.test(h)),m=function(e,t,r){var n=e.charAt(t.end),i=r.lastPos(),s=r.prevPos(i)&&r.charAt(i);return s&&Ks.test(s)&&n&&Ks.test(n)}(i,n.loc,d);if(f||m){var y=[];f&&y.push(" "),y.push(d),m&&y.push(" "),d=Ls.concat(y)}a.replace(n.loc,d)}));var o=a.get(n).indentTail(-r.loc.indent);return e.needsParens()?Ls.concat(["(",o,")"]):o}}};var ea=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},ta=e&&e.__importStar||function(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};Object.defineProperty(ys,"__esModule",{value:!0});var ra=ea(wr),na=Ti,ia=Qn,sa=Pr,aa=gs,oa=ta(N),la=oa.namedTypes,ua=oa.builtInTypes.string,ca=oa.builtInTypes.object,pa=ea(xs),ha=ta(Nr),da=function e(t,r){ra.default.ok(this instanceof e),ua.assert(t),this.code=t,r&&(ca.assert(r),this.map=r)},fa=!1;da.prototype.toString=function(){return fa||(console.warn("Deprecation warning: recast.print now returns an object with a .code property. You appear to be treating the object as a string, which might still work but is strongly discouraged."),fa=!0),this.code};var ma=new da("");function ya(e,t,r,n){ra.default.ok(e instanceof pa.default);var i=e.getValue(),s=[],a=function(e,t,r){var n=e.getValue();if(!n)return ia.fromString("");if("string"==typeof n)return ia.fromString(n,t);la.Printable.assert(n);var i=[];switch(n.type){case"File":return e.call(r,"program");case"Program":return n.directives&&e.each((function(e){i.push(r(e),";\n")}),"directives"),n.interpreter&&i.push(e.call(r,"interpreter")),i.push(e.call((function(e){return ga(e,t,r)}),"body")),ia.concat(i);case"Noop":case"EmptyStatement":return ia.fromString("");case"ExpressionStatement":return ia.concat([e.call(r,"expression"),";"]);case"ParenthesizedExpression":return ia.concat(["(",e.call(r,"expression"),")"]);case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":return ia.fromString(" ").join([e.call(r,"left"),n.operator,e.call(r,"right")]);case"AssignmentPattern":return ia.concat([e.call(r,"left")," = ",e.call(r,"right")]);case"MemberExpression":case"OptionalMemberExpression":i.push(e.call(r,"object"));var s=e.call(r,"property"),a="OptionalMemberExpression"===n.type&&n.optional;return n.computed?i.push(a?"?.[":"[",s,"]"):i.push(a?"?.":".",s),ia.concat(i);case"MetaProperty":return ia.concat([e.call(r,"meta"),".",e.call(r,"property")]);case"BindExpression":return n.object&&i.push(e.call(r,"object")),i.push("::",e.call(r,"callee")),ia.concat(i);case"Path":return ia.fromString(".").join(n.body);case"Identifier":return ia.concat([ia.fromString(n.name,t),n.optional?"?":"",e.call(r,"typeAnnotation")]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"ObjectTypeSpreadProperty":case"RestElement":return ia.concat(["...",e.call(r,"argument"),e.call(r,"typeAnnotation")]);case"FunctionDeclaration":case"FunctionExpression":case"TSDeclareFunction":return n.declare&&i.push("declare "),n.async&&i.push("async "),i.push("function"),n.generator&&i.push("*"),n.id?i.push(" ",e.call(r,"id"),e.call(r,"typeParameters")):n.typeParameters&&i.push(e.call(r,"typeParameters")),i.push("(",Ea(e,t,r),")",e.call(r,"returnType")),n.body&&i.push(" ",e.call(r,"body")),ia.concat(i);case"ArrowFunctionExpression":return n.async&&i.push("async "),n.typeParameters&&i.push(e.call(r,"typeParameters")),t.arrowParensAlways||1!==n.params.length||n.rest||"Identifier"!==n.params[0].type||n.params[0].typeAnnotation||n.returnType?i.push("(",Ea(e,t,r),")",e.call(r,"returnType")):i.push(e.call(r,"params",0)),i.push(" => ",e.call(r,"body")),ia.concat(i);case"MethodDefinition":return xa(e,t,r);case"YieldExpression":return i.push("yield"),n.delegate&&i.push("*"),n.argument&&i.push(" ",e.call(r,"argument")),ia.concat(i);case"AwaitExpression":return i.push("await"),n.all&&i.push("*"),n.argument&&i.push(" ",e.call(r,"argument")),ia.concat(i);case"ModuleDeclaration":return i.push("module",e.call(r,"id")),n.source?(ra.default.ok(!n.body),i.push("from",e.call(r,"source"))):i.push(e.call(r,"body")),ia.fromString(" ").join(i);case"ImportSpecifier":return n.importKind&&"value"!==n.importKind&&i.push(n.importKind+" "),n.imported?(i.push(e.call(r,"imported")),n.local&&n.local.name!==n.imported.name&&i.push(" as ",e.call(r,"local"))):n.id&&(i.push(e.call(r,"id")),n.name&&i.push(" as ",e.call(r,"name"))),ia.concat(i);case"ExportSpecifier":return n.local?(i.push(e.call(r,"local")),n.exported&&n.exported.name!==n.local.name&&i.push(" as ",e.call(r,"exported"))):n.id&&(i.push(e.call(r,"id")),n.name&&i.push(" as ",e.call(r,"name"))),ia.concat(i);case"ExportBatchSpecifier":return ia.fromString("*");case"ImportNamespaceSpecifier":return i.push("* as "),n.local?i.push(e.call(r,"local")):n.id&&i.push(e.call(r,"id")),ia.concat(i);case"ImportDefaultSpecifier":return n.local?e.call(r,"local"):e.call(r,"id");case"TSExportAssignment":return ia.concat(["export = ",e.call(r,"expression")]);case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return ba(e,t,r);case"ExportAllDeclaration":return i.push("export *"),n.exported&&i.push(" as ",e.call(r,"exported")),i.push(" from ",e.call(r,"source"),";"),ia.concat(i);case"TSNamespaceExportDeclaration":return i.push("export as namespace ",e.call(r,"id")),ka(ia.concat(i));case"ExportNamespaceSpecifier":return ia.concat(["* as ",e.call(r,"exported")]);case"ExportDefaultSpecifier":return e.call(r,"exported");case"Import":return ia.fromString("import",t);case"ImportExpression":return ia.concat(["import(",e.call(r,"source"),")"]);case"ImportDeclaration":if(i.push("import "),n.importKind&&"value"!==n.importKind&&i.push(n.importKind+" "),n.specifiers&&n.specifiers.length>0){var o=[],l=[];if(e.each((function(e){var t=e.getValue();"ImportSpecifier"===t.type?l.push(r(e)):"ImportDefaultSpecifier"!==t.type&&"ImportNamespaceSpecifier"!==t.type||o.push(r(e))}),"specifiers"),o.forEach((function(e,t){t>0&&i.push(", "),i.push(e)})),l.length>0){var u=ia.fromString(", ").join(l);u.getLineLength(1)>t.wrapColumn&&(u=ia.concat([ia.fromString(",\n").join(l).indent(t.tabWidth),","])),o.length>0&&i.push(", "),u.length>1?i.push("{\n",u,"\n}"):t.objectCurlySpacing?i.push("{ ",u," }"):i.push("{",u,"}")}i.push(" from ")}return i.push(e.call(r,"source"),";"),ia.concat(i);case"BlockStatement":var c=e.call((function(e){return ga(e,t,r)}),"body");return!c.isEmpty()||n.directives&&0!==n.directives.length?(i.push("{\n"),n.directives&&e.each((function(e){i.push(ka(r(e).indent(t.tabWidth)),n.directives.length>1||!c.isEmpty()?"\n":"")}),"directives"),i.push(c.indent(t.tabWidth)),i.push("\n}"),ia.concat(i)):ia.fromString("{}");case"ReturnStatement":if(i.push("return"),n.argument){var p=e.call(r,"argument");p.startsWithComment()||p.length>1&&la.JSXElement&&la.JSXElement.check(n.argument)?i.push(" (\n",p.indent(t.tabWidth),"\n)"):i.push(" ",p)}return i.push(";"),ia.concat(i);case"CallExpression":case"OptionalCallExpression":return i.push(e.call(r,"callee")),n.typeParameters&&i.push(e.call(r,"typeParameters")),n.typeArguments&&i.push(e.call(r,"typeArguments")),"OptionalCallExpression"===n.type&&"OptionalMemberExpression"!==n.callee.type&&i.push("?."),i.push(va(e,t,r)),ia.concat(i);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":var h=!1,d="ObjectTypeAnnotation"===n.type,f=t.flowObjectCommas?",":d?";":",",m=[];d&&(m.push("indexers","callProperties"),null!=n.internalSlots&&m.push("internalSlots")),m.push("properties");var y=0;m.forEach((function(e){y+=n[e].length}));var g=d&&1===y||0===y,x=n.exact?"{|":"{",v=n.exact?"|}":"}";i.push(g?x:x+"\n");var E=i.length-1,b=0;if(m.forEach((function(n){e.each((function(e){var n=r(e);g||(n=n.indent(t.tabWidth));var s=!d&&n.length>1;s&&h&&i.push("\n"),i.push(n),b<y-1?(i.push(f+(s?"\n\n":"\n")),h=!s):(1!==y&&d||!g&&ha.isTrailingCommaEnabled(t,"objects"))&&i.push(f),b++}),n)})),n.inexact){var S=ia.fromString("...",t);g?(y>0&&i.push(f," "),i.push(S)):i.push("\n",S.indent(t.tabWidth))}return i.push(g?v:"\n"+v),0!==b&&g&&t.objectCurlySpacing&&(i[E]=x+" ",i[i.length-1]=" "+v),n.typeAnnotation&&i.push(e.call(r,"typeAnnotation")),ia.concat(i);case"PropertyPattern":return ia.concat([e.call(r,"key"),": ",e.call(r,"pattern")]);case"ObjectProperty":case"Property":if(n.method||"get"===n.kind||"set"===n.kind)return xa(e,t,r);if(n.shorthand&&"AssignmentPattern"===n.value.type)return e.call(r,"value");var T=e.call(r,"key");return n.computed?i.push("[",T,"]"):i.push(T),n.shorthand||i.push(": ",e.call(r,"value")),ia.concat(i);case"ClassMethod":case"ObjectMethod":case"ClassPrivateMethod":case"TSDeclareMethod":return xa(e,t,r);case"PrivateName":return ia.concat(["#",e.call(r,"id")]);case"Decorator":return ia.concat(["@",e.call(r,"expression")]);case"ArrayExpression":case"ArrayPattern":y=n.elements.length;var A=e.map(r,"elements"),D=ia.fromString(", ").join(A);return(g=D.getLineLength(1)<=t.wrapColumn)?t.arrayBracketSpacing?i.push("[ "):i.push("["):i.push("[\n"),e.each((function(e){var r=e.getName();if(e.getValue()){var n=A[r];g?r>0&&i.push(" "):n=n.indent(t.tabWidth),i.push(n),(r<y-1||!g&&ha.isTrailingCommaEnabled(t,"arrays"))&&i.push(","),g||i.push("\n")}else i.push(",")}),"elements"),g&&t.arrayBracketSpacing?i.push(" ]"):i.push("]"),n.typeAnnotation&&i.push(e.call(r,"typeAnnotation")),ia.concat(i);case"SequenceExpression":return ia.fromString(", ").join(e.map(r,"expressions"));case"ThisExpression":return ia.fromString("this");case"Super":return ia.fromString("super");case"NullLiteral":return ia.fromString("null");case"RegExpLiteral":return ia.fromString(n.extra.raw);case"BigIntLiteral":return ia.fromString(n.value+"n");case"NumericLiteral":return n.extra&&"string"==typeof n.extra.raw&&Number(n.extra.raw)===n.value?ia.fromString(n.extra.raw,t):ia.fromString(n.value,t);case"BooleanLiteral":case"StringLiteral":case"Literal":return"number"==typeof n.value&&"string"==typeof n.raw&&Number(n.raw)===n.value?ia.fromString(n.raw,t):"string"!=typeof n.value?ia.fromString(n.value,t):ia.fromString(Pa(n.value,t),t);case"Directive":return e.call(r,"value");case"DirectiveLiteral":return ia.fromString(Pa(n.value,t));case"InterpreterDirective":return ia.fromString("#!"+n.value+"\n",t);case"ModuleSpecifier":if(n.local)throw new Error("The ESTree ModuleSpecifier type should be abstract");return ia.fromString(Pa(n.value,t),t);case"UnaryExpression":return i.push(n.operator),/[a-z]$/.test(n.operator)&&i.push(" "),i.push(e.call(r,"argument")),ia.concat(i);case"UpdateExpression":return i.push(e.call(r,"argument"),n.operator),n.prefix&&i.reverse(),ia.concat(i);case"ConditionalExpression":return ia.concat([e.call(r,"test")," ? ",e.call(r,"consequent")," : ",e.call(r,"alternate")]);case"NewExpression":return i.push("new ",e.call(r,"callee")),n.typeParameters&&i.push(e.call(r,"typeParameters")),n.typeArguments&&i.push(e.call(r,"typeArguments")),n.arguments&&i.push(va(e,t,r)),ia.concat(i);case"VariableDeclaration":n.declare&&i.push("declare "),i.push(n.kind," ");var C=0;A=e.map((function(e){var t=r(e);return C=Math.max(t.length,C),t}),"declarations"),1===C?i.push(ia.fromString(", ").join(A)):A.length>1?i.push(ia.fromString(",\n").join(A).indentTail(n.kind.length+1)):i.push(A[0]);var w=e.getParentNode();return la.ForStatement.check(w)||la.ForInStatement.check(w)||la.ForOfStatement&&la.ForOfStatement.check(w)||la.ForAwaitStatement&&la.ForAwaitStatement.check(w)||i.push(";"),ia.concat(i);case"VariableDeclarator":return n.init?ia.fromString(" = ").join([e.call(r,"id"),e.call(r,"init")]):e.call(r,"id");case"WithStatement":return ia.concat(["with (",e.call(r,"object"),") ",e.call(r,"body")]);case"IfStatement":var P=Aa(e.call(r,"consequent"),t);return i.push("if (",e.call(r,"test"),")",P),n.alternate&&i.push(Ca(P)?" else":"\nelse",Aa(e.call(r,"alternate"),t)),ia.concat(i);case"ForStatement":var k=e.call(r,"init"),N=k.length>1?";\n":"; ",_="for (",O=ia.fromString(N).join([k,e.call(r,"test"),e.call(r,"update")]).indentTail(5),F=ia.concat([_,O,")"]),I=Aa(e.call(r,"body"),t);return i.push(F),F.length>1&&(i.push("\n"),I=I.trimLeft()),i.push(I),ia.concat(i);case"WhileStatement":return ia.concat(["while (",e.call(r,"test"),")",Aa(e.call(r,"body"),t)]);case"ForInStatement":return ia.concat([n.each?"for each (":"for (",e.call(r,"left")," in ",e.call(r,"right"),")",Aa(e.call(r,"body"),t)]);case"ForOfStatement":case"ForAwaitStatement":return i.push("for "),(n.await||"ForAwaitStatement"===n.type)&&i.push("await "),i.push("(",e.call(r,"left")," of ",e.call(r,"right"),")",Aa(e.call(r,"body"),t)),ia.concat(i);case"DoWhileStatement":var B=ia.concat(["do",Aa(e.call(r,"body"),t)]);return i.push(B),Ca(B)?i.push(" while"):i.push("\nwhile"),i.push(" (",e.call(r,"test"),");"),ia.concat(i);case"DoExpression":var L=e.call((function(e){return ga(e,t,r)}),"body");return ia.concat(["do {\n",L.indent(t.tabWidth),"\n}"]);case"BreakStatement":return i.push("break"),n.label&&i.push(" ",e.call(r,"label")),i.push(";"),ia.concat(i);case"ContinueStatement":return i.push("continue"),n.label&&i.push(" ",e.call(r,"label")),i.push(";"),ia.concat(i);case"LabeledStatement":return ia.concat([e.call(r,"label"),":\n",e.call(r,"body")]);case"TryStatement":return i.push("try ",e.call(r,"block")),n.handler?i.push(" ",e.call(r,"handler")):n.handlers&&e.each((function(e){i.push(" ",r(e))}),"handlers"),n.finalizer&&i.push(" finally ",e.call(r,"finalizer")),ia.concat(i);case"CatchClause":return i.push("catch "),n.param&&i.push("(",e.call(r,"param")),n.guard&&i.push(" if ",e.call(r,"guard")),n.param&&i.push(") "),i.push(e.call(r,"body")),ia.concat(i);case"ThrowStatement":return ia.concat(["throw ",e.call(r,"argument"),";"]);case"SwitchStatement":return ia.concat(["switch (",e.call(r,"discriminant"),") {\n",ia.fromString("\n").join(e.map(r,"cases")),"\n}"]);case"SwitchCase":return n.test?i.push("case ",e.call(r,"test"),":"):i.push("default:"),n.consequent.length>0&&i.push("\n",e.call((function(e){return ga(e,t,r)}),"consequent").indent(t.tabWidth)),ia.concat(i);case"DebuggerStatement":return ia.fromString("debugger;");case"JSXAttribute":return i.push(e.call(r,"name")),n.value&&i.push("=",e.call(r,"value")),ia.concat(i);case"JSXIdentifier":return ia.fromString(n.name,t);case"JSXNamespacedName":return ia.fromString(":").join([e.call(r,"namespace"),e.call(r,"name")]);case"JSXMemberExpression":return ia.fromString(".").join([e.call(r,"object"),e.call(r,"property")]);case"JSXSpreadAttribute":return ia.concat(["{...",e.call(r,"argument"),"}"]);case"JSXSpreadChild":return ia.concat(["{...",e.call(r,"expression"),"}"]);case"JSXExpressionContainer":return ia.concat(["{",e.call(r,"expression"),"}"]);case"JSXElement":case"JSXFragment":var M="opening"+("JSXElement"===n.type?"Element":"Fragment"),R="closing"+("JSXElement"===n.type?"Element":"Fragment"),j=e.call(r,M);if(n[M].selfClosing)return ra.default.ok(!n[R],"unexpected "+R+" element in self-closing "+n.type),j;var U=ia.concat(e.map((function(e){var t=e.getValue();if(la.Literal.check(t)&&"string"==typeof t.value){if(/\S/.test(t.value))return t.value.replace(/^\s+|\s+$/g,"");if(/\n/.test(t.value))return"\n"}return r(e)}),"children")).indentTail(t.tabWidth),$=e.call(r,R);return ia.concat([j,U,$]);case"JSXOpeningElement":i.push("<",e.call(r,"name"));var q=[];e.each((function(e){q.push(" ",r(e))}),"attributes");var V=ia.concat(q);return(V.length>1||V.getLineLength(1)>t.wrapColumn)&&(q.forEach((function(e,t){" "===e&&(ra.default.strictEqual(t%2,0),q[t]="\n")})),V=ia.concat(q).indentTail(t.tabWidth)),i.push(V,n.selfClosing?" />":">"),ia.concat(i);case"JSXClosingElement":return ia.concat(["</",e.call(r,"name"),">"]);case"JSXOpeningFragment":return ia.fromString("<>");case"JSXClosingFragment":return ia.fromString("</>");case"JSXText":return ia.fromString(n.value,t);case"JSXEmptyExpression":return ia.fromString("");case"TypeAnnotatedIdentifier":return ia.concat([e.call(r,"annotation")," ",e.call(r,"identifier")]);case"ClassBody":return 0===n.body.length?ia.fromString("{}"):ia.concat(["{\n",e.call((function(e){return ga(e,t,r)}),"body").indent(t.tabWidth),"\n}"]);case"ClassPropertyDefinition":return i.push("static ",e.call(r,"definition")),la.MethodDefinition.check(n.definition)||i.push(";"),ia.concat(i);case"ClassProperty":n.declare&&i.push("declare ");var z=n.accessibility||n.access;return"string"==typeof z&&i.push(z," "),n.static&&i.push("static "),n.abstract&&i.push("abstract "),n.readonly&&i.push("readonly "),T=e.call(r,"key"),n.computed&&(T=ia.concat(["[",T,"]"])),n.variance&&(T=ia.concat([Ta(e,r),T])),i.push(T),n.optional&&i.push("?"),n.typeAnnotation&&i.push(e.call(r,"typeAnnotation")),n.value&&i.push(" = ",e.call(r,"value")),i.push(";"),ia.concat(i);case"ClassPrivateProperty":return n.static&&i.push("static "),i.push(e.call(r,"key")),n.typeAnnotation&&i.push(e.call(r,"typeAnnotation")),n.value&&i.push(" = ",e.call(r,"value")),i.push(";"),ia.concat(i);case"ClassDeclaration":case"ClassExpression":return n.declare&&i.push("declare "),n.abstract&&i.push("abstract "),i.push("class"),n.id&&i.push(" ",e.call(r,"id")),n.typeParameters&&i.push(e.call(r,"typeParameters")),n.superClass&&i.push(" extends ",e.call(r,"superClass"),e.call(r,"superTypeParameters")),n.implements&&n.implements.length>0&&i.push(" implements ",ia.fromString(", ").join(e.map(r,"implements"))),i.push(" ",e.call(r,"body")),ia.concat(i);case"TemplateElement":return ia.fromString(n.value.raw,t).lockIndentTail();case"TemplateLiteral":var X=e.map(r,"expressions");return i.push("`"),e.each((function(e){var t=e.getName();i.push(r(e)),t<X.length&&i.push("${",X[t],"}")}),"quasis"),i.push("`"),ia.concat(i).lockIndentTail();case"TaggedTemplateExpression":return ia.concat([e.call(r,"tag"),e.call(r,"quasi")]);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"Flow":case"FlowType":case"FlowPredicate":case"MemberTypeAnnotation":case"Type":case"TSHasOptionalTypeParameterInstantiation":case"TSHasOptionalTypeParameters":case"TSHasOptionalTypeAnnotation":throw new Error("unprintable type: "+JSON.stringify(n.type));case"CommentBlock":case"Block":return ia.concat(["/*",ia.fromString(n.value,t),"*/"]);case"CommentLine":case"Line":return ia.concat(["//",ia.fromString(n.value,t)]);case"TypeAnnotation":return n.typeAnnotation?("FunctionTypeAnnotation"!==n.typeAnnotation.type&&i.push(": "),i.push(e.call(r,"typeAnnotation")),ia.concat(i)):ia.fromString("");case"ExistentialTypeParam":case"ExistsTypeAnnotation":return ia.fromString("*",t);case"EmptyTypeAnnotation":return ia.fromString("empty",t);case"AnyTypeAnnotation":return ia.fromString("any",t);case"MixedTypeAnnotation":return ia.fromString("mixed",t);case"ArrayTypeAnnotation":return ia.concat([e.call(r,"elementType"),"[]"]);case"TupleTypeAnnotation":return A=e.map(r,"types"),D=ia.fromString(", ").join(A),(g=D.getLineLength(1)<=t.wrapColumn)?t.arrayBracketSpacing?i.push("[ "):i.push("["):i.push("[\n"),e.each((function(e){var r=e.getName();if(e.getValue()){var s=A[r];g?r>0&&i.push(" "):s=s.indent(t.tabWidth),i.push(s),(r<n.types.length-1||!g&&ha.isTrailingCommaEnabled(t,"arrays"))&&i.push(","),g||i.push("\n")}else i.push(",")}),"types"),g&&t.arrayBracketSpacing?i.push(" ]"):i.push("]"),ia.concat(i);case"BooleanTypeAnnotation":return ia.fromString("boolean",t);case"BooleanLiteralTypeAnnotation":return ra.default.strictEqual(typeof n.value,"boolean"),ia.fromString(""+n.value,t);case"InterfaceTypeAnnotation":return i.push("interface"),n.extends&&n.extends.length>0&&i.push(" extends ",ia.fromString(", ").join(e.map(r,"extends"))),i.push(" ",e.call(r,"body")),ia.concat(i);case"DeclareClass":return Sa(e,["class ",e.call(r,"id")," ",e.call(r,"body")]);case"DeclareFunction":return Sa(e,["function ",e.call(r,"id"),";"]);case"DeclareModule":return Sa(e,["module ",e.call(r,"id")," ",e.call(r,"body")]);case"DeclareModuleExports":return Sa(e,["module.exports",e.call(r,"typeAnnotation")]);case"DeclareVariable":return Sa(e,["var ",e.call(r,"id"),";"]);case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return ia.concat(["declare ",ba(e,t,r)]);case"InferredPredicate":return ia.fromString("%checks",t);case"DeclaredPredicate":return ia.concat(["%checks(",e.call(r,"value"),")"]);case"FunctionTypeAnnotation":var J=e.getParentNode(0),K=!(la.ObjectTypeCallProperty.check(J)||la.ObjectTypeInternalSlot.check(J)&&J.method||la.DeclareFunction.check(e.getParentNode(2)));K&&!la.FunctionTypeParam.check(J)&&!la.TypeAlias.check(J)&&i.push(": ");var W=1!==n.params.length||n.params[0].name;return i.push(W?"(":"",Ea(e,t,r),W?")":""),n.returnType&&i.push(K?" => ":": ",e.call(r,"returnType")),ia.concat(i);case"FunctionTypeParam":var G=e.call(r,"name");return i.push(G),n.optional&&i.push("?"),G.infos[0].line&&i.push(": "),i.push(e.call(r,"typeAnnotation")),ia.concat(i);case"GenericTypeAnnotation":return ia.concat([e.call(r,"id"),e.call(r,"typeParameters")]);case"DeclareInterface":i.push("declare ");case"InterfaceDeclaration":case"TSInterfaceDeclaration":return n.declare&&i.push("declare "),i.push("interface ",e.call(r,"id"),e.call(r,"typeParameters")," "),n.extends&&n.extends.length>0&&i.push("extends ",ia.fromString(", ").join(e.map(r,"extends"))," "),n.body&&i.push(e.call(r,"body")),ia.concat(i);case"ClassImplements":case"InterfaceExtends":return ia.concat([e.call(r,"id"),e.call(r,"typeParameters")]);case"IntersectionTypeAnnotation":return ia.fromString(" & ").join(e.map(r,"types"));case"NullableTypeAnnotation":return ia.concat(["?",e.call(r,"typeAnnotation")]);case"NullLiteralTypeAnnotation":return ia.fromString("null",t);case"ThisTypeAnnotation":return ia.fromString("this",t);case"NumberTypeAnnotation":return ia.fromString("number",t);case"ObjectTypeCallProperty":return e.call(r,"value");case"ObjectTypeIndexer":return ia.concat([Ta(e,r),"[",e.call(r,"id"),": ",e.call(r,"key"),"]: ",e.call(r,"value")]);case"ObjectTypeProperty":return ia.concat([Ta(e,r),e.call(r,"key"),n.optional?"?":"",": ",e.call(r,"value")]);case"ObjectTypeInternalSlot":return ia.concat([n.static?"static ":"","[[",e.call(r,"id"),"]]",n.optional?"?":"","FunctionTypeAnnotation"!==n.value.type?": ":"",e.call(r,"value")]);case"QualifiedTypeIdentifier":return ia.concat([e.call(r,"qualification"),".",e.call(r,"id")]);case"StringLiteralTypeAnnotation":return ia.fromString(Pa(n.value,t),t);case"NumberLiteralTypeAnnotation":case"NumericLiteralTypeAnnotation":return ra.default.strictEqual(typeof n.value,"number"),ia.fromString(JSON.stringify(n.value),t);case"StringTypeAnnotation":return ia.fromString("string",t);case"DeclareTypeAlias":i.push("declare ");case"TypeAlias":return ia.concat(["type ",e.call(r,"id"),e.call(r,"typeParameters")," = ",e.call(r,"right"),";"]);case"DeclareOpaqueType":i.push("declare ");case"OpaqueType":return i.push("opaque type ",e.call(r,"id"),e.call(r,"typeParameters")),n.supertype&&i.push(": ",e.call(r,"supertype")),n.impltype&&i.push(" = ",e.call(r,"impltype")),i.push(";"),ia.concat(i);case"TypeCastExpression":return ia.concat(["(",e.call(r,"expression"),e.call(r,"typeAnnotation"),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return ia.concat(["<",ia.fromString(", ").join(e.map(r,"params")),">"]);case"Variance":return"plus"===n.kind?ia.fromString("+"):"minus"===n.kind?ia.fromString("-"):ia.fromString("");case"TypeParameter":return n.variance&&i.push(Ta(e,r)),i.push(e.call(r,"name")),n.bound&&i.push(e.call(r,"bound")),n.default&&i.push("=",e.call(r,"default")),ia.concat(i);case"TypeofTypeAnnotation":return ia.concat([ia.fromString("typeof ",t),e.call(r,"argument")]);case"UnionTypeAnnotation":return ia.fromString(" | ").join(e.map(r,"types"));case"VoidTypeAnnotation":return ia.fromString("void",t);case"NullTypeAnnotation":return ia.fromString("null",t);case"TSType":throw new Error("unprintable type: "+JSON.stringify(n.type));case"TSNumberKeyword":return ia.fromString("number",t);case"TSBigIntKeyword":return ia.fromString("bigint",t);case"TSObjectKeyword":return ia.fromString("object",t);case"TSBooleanKeyword":return ia.fromString("boolean",t);case"TSStringKeyword":return ia.fromString("string",t);case"TSSymbolKeyword":return ia.fromString("symbol",t);case"TSAnyKeyword":return ia.fromString("any",t);case"TSVoidKeyword":return ia.fromString("void",t);case"TSThisType":return ia.fromString("this",t);case"TSNullKeyword":return ia.fromString("null",t);case"TSUndefinedKeyword":return ia.fromString("undefined",t);case"TSUnknownKeyword":return ia.fromString("unknown",t);case"TSNeverKeyword":return ia.fromString("never",t);case"TSArrayType":return ia.concat([e.call(r,"elementType"),"[]"]);case"TSLiteralType":return e.call(r,"literal");case"TSUnionType":return ia.fromString(" | ").join(e.map(r,"types"));case"TSIntersectionType":return ia.fromString(" & ").join(e.map(r,"types"));case"TSConditionalType":return i.push(e.call(r,"checkType")," extends ",e.call(r,"extendsType")," ? ",e.call(r,"trueType")," : ",e.call(r,"falseType")),ia.concat(i);case"TSInferType":return i.push("infer ",e.call(r,"typeParameter")),ia.concat(i);case"TSParenthesizedType":return ia.concat(["(",e.call(r,"typeAnnotation"),")"]);case"TSFunctionType":return ia.concat([e.call(r,"typeParameters"),"(",Ea(e,t,r),")",e.call(r,"typeAnnotation")]);case"TSConstructorType":return ia.concat(["new ",e.call(r,"typeParameters"),"(",Ea(e,t,r),")",e.call(r,"typeAnnotation")]);case"TSMappedType":return i.push(n.readonly?"readonly ":"","[",e.call(r,"typeParameter"),"]",n.optional?"?":""),n.typeAnnotation&&i.push(": ",e.call(r,"typeAnnotation"),";"),ia.concat(["{\n",ia.concat(i).indent(t.tabWidth),"\n}"]);case"TSTupleType":return ia.concat(["[",ia.fromString(", ").join(e.map(r,"elementTypes")),"]"]);case"TSRestType":return ia.concat(["...",e.call(r,"typeAnnotation"),"[]"]);case"TSOptionalType":return ia.concat([e.call(r,"typeAnnotation"),"?"]);case"TSIndexedAccessType":return ia.concat([e.call(r,"objectType"),"[",e.call(r,"indexType"),"]"]);case"TSTypeOperator":return ia.concat([e.call(r,"operator")," ",e.call(r,"typeAnnotation")]);case"TSTypeLiteral":var Y=ia.fromString(",\n").join(e.map(r,"members"));return Y.isEmpty()?ia.fromString("{}",t):(i.push("{\n",Y.indent(t.tabWidth),"\n}"),ia.concat(i));case"TSEnumMember":return i.push(e.call(r,"id")),n.initializer&&i.push(" = ",e.call(r,"initializer")),ia.concat(i);case"TSTypeQuery":return ia.concat(["typeof ",e.call(r,"exprName")]);case"TSParameterProperty":return n.accessibility&&i.push(n.accessibility," "),n.export&&i.push("export "),n.static&&i.push("static "),n.readonly&&i.push("readonly "),i.push(e.call(r,"parameter")),ia.concat(i);case"TSTypeReference":return ia.concat([e.call(r,"typeName"),e.call(r,"typeParameters")]);case"TSQualifiedName":return ia.concat([e.call(r,"left"),".",e.call(r,"right")]);case"TSAsExpression":(re=n.extra&&!0===n.extra.parenthesized)&&i.push("(");var H=e.call(r,"expression"),Q=e.getValue().expression.type,Z="ArrowFunctionExpression"===Q||"FunctionExpression"===Q;return i.push(Z?"("+H+")":H,ia.fromString(" as "),e.call(r,"typeAnnotation")),re&&i.push(")"),ia.concat(i);case"TSNonNullExpression":return ia.concat([e.call(r,"expression"),"!"]);case"TSTypeAnnotation":J=e.getParentNode(0);var ee=": ";return(la.TSFunctionType.check(J)||la.TSConstructorType.check(J))&&(ee=" => "),la.TSTypePredicate.check(J)&&(ee=" is "),ia.concat([ee,e.call(r,"typeAnnotation")]);case"TSIndexSignature":return ia.concat([n.readonly?"readonly ":"","[",e.map(r,"parameters"),"]",e.call(r,"typeAnnotation")]);case"TSPropertySignature":return i.push(Ta(e,r),n.readonly?"readonly ":""),n.computed?i.push("[",e.call(r,"key"),"]"):i.push(e.call(r,"key")),i.push(n.optional?"?":"",e.call(r,"typeAnnotation")),ia.concat(i);case"TSMethodSignature":return n.computed?i.push("[",e.call(r,"key"),"]"):i.push(e.call(r,"key")),n.optional&&i.push("?"),i.push(e.call(r,"typeParameters"),"(",Ea(e,t,r),")",e.call(r,"typeAnnotation")),ia.concat(i);case"TSTypePredicate":return ia.concat([e.call(r,"parameterName"),e.call(r,"typeAnnotation")]);case"TSCallSignatureDeclaration":return ia.concat([e.call(r,"typeParameters"),"(",Ea(e,t,r),")",e.call(r,"typeAnnotation")]);case"TSConstructSignatureDeclaration":return n.typeParameters?i.push("new",e.call(r,"typeParameters")):i.push("new "),i.push("(",Ea(e,t,r),")",e.call(r,"typeAnnotation")),ia.concat(i);case"TSTypeAliasDeclaration":return ia.concat([n.declare?"declare ":"","type ",e.call(r,"id"),e.call(r,"typeParameters")," = ",e.call(r,"typeAnnotation"),";"]);case"TSTypeParameter":i.push(e.call(r,"name")),J=e.getParentNode(0);var te=la.TSMappedType.check(J);return n.constraint&&i.push(te?" in ":" extends ",e.call(r,"constraint")),n.default&&i.push(" = ",e.call(r,"default")),ia.concat(i);case"TSTypeAssertion":var re;return(re=n.extra&&!0===n.extra.parenthesized)&&i.push("("),i.push("<",e.call(r,"typeAnnotation"),"> ",e.call(r,"expression")),re&&i.push(")"),ia.concat(i);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return ia.concat(["<",ia.fromString(", ").join(e.map(r,"params")),">"]);case"TSEnumDeclaration":i.push(n.declare?"declare ":"",n.const?"const ":"","enum ",e.call(r,"id"));var ne=ia.fromString(",\n").join(e.map(r,"members"));return ne.isEmpty()?i.push(" {}"):i.push(" {\n",ne.indent(t.tabWidth),"\n}"),ia.concat(i);case"TSExpressionWithTypeArguments":return ia.concat([e.call(r,"expression"),e.call(r,"typeParameters")]);case"TSInterfaceBody":var ie=ia.fromString(";\n").join(e.map(r,"body"));return ie.isEmpty()?ia.fromString("{}",t):ia.concat(["{\n",ie.indent(t.tabWidth),";","\n}"]);case"TSImportType":return i.push("import(",e.call(r,"argument"),")"),n.qualifier&&i.push(".",e.call(r,"qualifier")),n.typeParameters&&i.push(e.call(r,"typeParameters")),ia.concat(i);case"TSImportEqualsDeclaration":return n.isExport&&i.push("export "),i.push("import ",e.call(r,"id")," = ",e.call(r,"moduleReference")),ka(ia.concat(i));case"TSExternalModuleReference":return ia.concat(["require(",e.call(r,"expression"),")"]);case"TSModuleDeclaration":if("TSModuleDeclaration"===e.getParentNode().type?i.push("."):(n.declare&&i.push("declare "),!n.global&&("StringLiteral"===n.id.type||"Literal"===n.id.type&&"string"==typeof n.id.value||n.loc&&n.loc.lines&&n.id.loc&&(ee=n.loc.lines.sliceString(n.loc.start,n.id.loc.start)).indexOf("module")>=0?i.push("module "):i.push("namespace "))),i.push(e.call(r,"id")),n.body&&"TSModuleDeclaration"===n.body.type)i.push(e.call(r,"body"));else if(n.body){var se=e.call(r,"body");se.isEmpty()?i.push(" {}"):i.push(" {\n",se.indent(t.tabWidth),"\n}")}return ia.concat(i);case"TSModuleBlock":return e.call((function(e){return ga(e,t,r)}),"body");default:throw new Error("unknown type: "+JSON.stringify(n.type))}}(e,t,n);if(!i||a.isEmpty())return a;var o,l,u,c,p=!1,h=(l=n,u=[],(c=(o=e).getValue()).decorators&&c.decorators.length>0&&!ha.getParentExportDeclaration(o)?o.each((function(e){u.push(l(e),"\n")}),"decorators"):ha.isExportDeclaration(c)&&c.declaration&&c.declaration.decorators&&o.each((function(e){u.push(l(e),"\n")}),"declaration","decorators"),ia.concat(u));return h.isEmpty()?r.avoidRootParens||(p=e.needsParens()):s.push(h),p&&s.unshift("("),s.push(a),p&&s.push(")"),ia.concat(s)}function ga(e,t,r){var n=[],i=!1,s=!1;e.each((function(e){var t=e.getValue();t&&("EmptyStatement"!==t.type||t.comments&&t.comments.length>0)&&(la.Comment.check(t)?i=!0:la.Statement.check(t)?s=!0:ua.assert(t),n.push({node:t,printed:r(e)}))})),i&&ra.default.strictEqual(s,!1,"Comments may appear as statements in otherwise empty statement lists, but may not coexist with non-Comment nodes.");var a=null,o=n.length,l=[];return n.forEach((function(e,r){var n,i,s=e.printed,u=e.node,c=s.length>1,p=r>0,h=r<o-1,d=u&&u.loc&&u.loc.lines,f=d&&t.reuseWhitespace&&ha.getTrueLoc(u,d);if(p)if(f){var m=d.skipSpaces(f.start,!0),y=m?m.line:1,g=f.start.line-y;n=Array(g+1).join("\n")}else n=c?"\n\n":"\n";else n="";if(h)if(f){var x=d.skipSpaces(f.end),v=(x?x.line:d.length)-f.end.line;i=Array(v+1).join("\n")}else i=c?"\n\n":"\n";else i="";l.push(function(e,t){if(!e&&!t)return ia.fromString("");if(!e)return ia.fromString(t);if(!t)return ia.fromString(e);var r=ia.fromString(e),n=ia.fromString(t);return n.length>r.length?n:r}(a,n),s),h?a=i:i&&l.push(i)})),ia.concat(l)}function xa(e,t,r){var n=e.getNode(),i=n.kind,s=[],a=n.value;la.FunctionExpression.check(a)||(a=n);var o=n.accessibility||n.access;"string"==typeof o&&s.push(o," "),n.static&&s.push("static "),n.abstract&&s.push("abstract "),n.readonly&&s.push("readonly "),a.async&&s.push("async "),a.generator&&s.push("*"),"get"!==i&&"set"!==i||s.push(i," ");var l=e.call(r,"key");return n.computed&&(l=ia.concat(["[",l,"]"])),s.push(l),n.optional&&s.push("?"),n===a?(s.push(e.call(r,"typeParameters"),"(",Ea(e,t,r),")",e.call(r,"returnType")),n.body?s.push(" ",e.call(r,"body")):s.push(";")):(s.push(e.call(r,"value","typeParameters"),"(",e.call((function(e){return Ea(e,t,r)}),"value"),")",e.call(r,"value","returnType")),a.body?s.push(" ",e.call(r,"value","body")):s.push(";")),ia.concat(s)}function va(e,t,r){var n=e.map(r,"arguments"),i=ha.isTrailingCommaEnabled(t,"parameters"),s=ia.fromString(", ").join(n);return s.getLineLength(1)>t.wrapColumn?(s=ia.fromString(",\n").join(n),ia.concat(["(\n",s.indent(t.tabWidth),i?",\n)":"\n)"])):ia.concat(["(",s,")"])}function Ea(e,t,r){var n=e.getValue();if(n.params)var i=n.params,s=e.map(r,"params");else n.parameters&&(i=n.parameters,s=e.map(r,"parameters"));n.defaults&&e.each((function(e){var t=e.getName(),n=s[t];n&&e.getValue()&&(s[t]=ia.concat([n," = ",r(e)]))}),"defaults"),n.rest&&s.push(ia.concat(["...",e.call(r,"rest")]));var a=ia.fromString(", ").join(s);return a.length>1||a.getLineLength(1)>t.wrapColumn?(a=ia.fromString(",\n").join(s),a=ha.isTrailingCommaEnabled(t,"parameters")&&!n.rest&&"RestElement"!==i[i.length-1].type?ia.concat([a,",\n"]):ia.concat([a,"\n"]),ia.concat(["\n",a.indent(t.tabWidth)])):a}function ba(e,t,r){var n=e.getValue(),i=["export "];n.exportKind&&"type"===n.exportKind&&(n.declaration||i.push("type "));var s=t.objectCurlySpacing;if(la.Declaration.assert(n),(n.default||"ExportDefaultDeclaration"===n.type)&&i.push("default "),n.declaration)i.push(e.call(r,"declaration"));else if(n.specifiers){if(1===n.specifiers.length&&"ExportBatchSpecifier"===n.specifiers[0].type)i.push("*");else if(0===n.specifiers.length)i.push("{}");else if("ExportDefaultSpecifier"===n.specifiers[0].type){var a=[],o=[];if(e.each((function(e){"ExportDefaultSpecifier"===e.getValue().type?a.push(r(e)):o.push(r(e))}),"specifiers"),a.forEach((function(e,t){t>0&&i.push(", "),i.push(e)})),o.length>0){var l=ia.fromString(", ").join(o);l.getLineLength(1)>t.wrapColumn&&(l=ia.concat([ia.fromString(",\n").join(o).indent(t.tabWidth),","])),a.length>0&&i.push(", "),l.length>1?i.push("{\n",l,"\n}"):t.objectCurlySpacing?i.push("{ ",l," }"):i.push("{",l,"}")}}else i.push(s?"{ ":"{",ia.fromString(", ").join(e.map(r,"specifiers")),s?" }":"}");n.source&&i.push(" from ",e.call(r,"source"))}var u=ia.concat(i);return";"===Da(u)||n.declaration&&("FunctionDeclaration"===n.declaration.type||"ClassDeclaration"===n.declaration.type||"TSModuleDeclaration"===n.declaration.type||"TSInterfaceDeclaration"===n.declaration.type||"TSEnumDeclaration"===n.declaration.type)||(u=ia.concat([u,";"])),u}function Sa(e,t){var r=ha.getParentExportDeclaration(e);return r?ra.default.strictEqual(r.type,"DeclareExportDeclaration"):t.unshift("declare "),ia.concat(t)}function Ta(e,t){return e.call((function(e){var r=e.getValue();return r?"plus"===r?ia.fromString("+"):"minus"===r?ia.fromString("-"):t(e):ia.fromString("")}),"variance")}function Aa(e,t){return e.length>1?ia.concat([" ",e]):ia.concat(["\n",ka(e).indent(t.tabWidth)])}function Da(e){var t=e.lastPos();do{var r=e.charAt(t);if(/\S/.test(r))return r}while(e.prevPos(t))}function Ca(e){return"}"===Da(e)}function wa(e){return e.replace(/['"]/g,(function(e){return'"'===e?"'":'"'}))}function Pa(e,t){switch(ua.assert(e),t.quote){case"auto":var r=JSON.stringify(e),n=wa(JSON.stringify(wa(e)));return r.length>n.length?n:r;case"single":return wa(JSON.stringify(wa(e)));default:return JSON.stringify(e)}}function ka(e){var t=Da(e);return!t||"\n};".indexOf(t)<0?ia.concat([e,";"]):e}ys.Printer=function e(t){ra.default.ok(this instanceof e);var r=t&&t.tabWidth;function n(e,t){return e=Object.assign({},e,t),function(t){return i(t,e)}}function i(e,s){if(ra.default.ok(e instanceof pa.default),(s=s||{}).includeComments)return na.printComments(e,n(s,{includeComments:!1}));var a=t.tabWidth;if(!r){var o=e.getNode().loc;o&&o.lines&&o.lines.guessTabWidth&&(t.tabWidth=o.lines.guessTabWidth())}var l=aa.getReprinter(e),u=l?l(i):ya(e,t,s,n(s,{includeComments:!0,avoidRootParens:!1}));return t.tabWidth=a,u}(t=sa.normalize(t)).sourceFileName=null,this.print=function(e){if(!e)return ma;var r=i(pa.default.from(e),{includeComments:!0,avoidRootParens:!1});return new da(r.toString(t),ha.composeSourceMaps(t.inputSourceMap,r.getSourceMap(t.sourceMapName,t.sourceRoot)))},this.printGenerically=function(e){if(!e)return ma;var r=pa.default.from(e),n=t.reuseWhitespace;t.reuseWhitespace=!1;var i=new da(function e(r){return na.printComments(r,(function(r){return ya(r,t,{includeComments:!0,avoidRootParens:!1},e)}))}(r).toString(t));return t.reuseWhitespace=n,i}};var Na=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},_a=e&&e.__importStar||function(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};Object.defineProperty(P,"__esModule",{value:!0});var Oa=Na(k),Fa=_a(N);P.types=Fa;var Ia=De;P.parse=Ia.parse;var Ba=ys,La=N;function Ma(e,t){return new Ba.Printer(t).print(e)}function Ra(e){w.stdout.write(e)}P.visit=La.visit,P.print=Ma,P.prettyPrint=function(e,t){return new Ba.Printer(t).printGenerically(e)},P.run=function(e,t){return r=w.argv[2],n=e,i=t,void Oa.default.readFile(r,"utf-8",(function(e,t){var r,s,a,o;e?console.error(e):(r=t,s=n,o=(a=i)&&a.writeback||Ra,s(Ia.parse(r,a),(function(e){o(Ma(e,a).code)})))}));var r,n,i};var ja={};function Ua(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}Object.defineProperty(ja,"__esModule",{value:!0});class $a{constructor(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}}class qa{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}function Va(e,t){let{line:r,column:n,index:i}=e;return new $a(r,n+t,i+t)}let za=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),Xa=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,i)=>i===t?e[n]=r:e[n]),this)}}),Ja={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Ka=({type:e,prefix:t})=>"UpdateExpression"===e?Ja.UpdateExpression[String(t)]:Ja[e],Wa=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Ga=["toMessage"];function Ya(e){let{toMessage:t}=e,r=Ua(e,Ga);return function e({loc:n,details:i}){return s=SyntaxError,a=Object.assign({},r,{loc:n}),o={clone(t={}){let r=t.loc||{};return e({loc:new $a("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:i,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in i&&{reflect:"details.missingPlugin",enumerable:!0}},Object.keys(o).map((e=>[e,o[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,"function"==typeof t?{value:t,enumerable:!1}:"string"==typeof t.reflect?Object.assign({},t,Xa(t.reflect.split("."))):t])).reduce(((e,[t,r])=>Object.defineProperty(e,t,Object.assign({configurable:!0},r))),Object.assign(new s,a));var s,a,o}}function Ha(e,t){return Object.assign({toMessage:"string"==typeof e?()=>e:e},t)}function Qa(e,t){if(Array.isArray(e))return t=>Qa(t,e[0]);let r=e(Ha),n={};for(let e of Object.keys(r))n[e]=Ya(Object.assign({code:za.SyntaxError,reasonCode:e},t?{syntaxPlugin:t}:{},r[e]));return n}let Za=Object.assign({},Qa((e=>({ImportMetaOutsideModule:e("import.meta may appear only with 'sourceType: \"module\"'",{code:za.SourceTypeModuleError}),ImportOutsideModule:e("'import' and 'export' may appear only with 'sourceType: \"module\"'",{code:za.SourceTypeModuleError})}))),Qa((e=>({AccessorIsGenerator:e((({kind:e})=>`A ${e}ter cannot be a generator.`)),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((({kind:e})=>`Missing initializer in ${e} declaration.`)),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`)),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`)),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((({type:e})=>`'${"ForInStatement"===e?"for-in":"for-of"}' loop variable declaration may not have an initializer.`)),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`)),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`)),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((({maxArgumentCount:e})=>`\`import()\` requires exactly ${1===e?"one argument":"one or two arguments"}.`)),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((({radix:e})=>`Expected number in radix ${e}.`)),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((({reservedWord:e})=>`Escape sequence in keyword ${e}.`)),InvalidIdentifier:e((({identifierName:e})=>`Invalid identifier ${e}.`)),InvalidLhs:e((({ancestor:e})=>`Invalid left-hand side in ${Ka(e)}.`)),InvalidLhsBinding:e((({ancestor:e})=>`Binding invalid left-hand side in ${Ka(e)}.`)),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((({unexpected:e})=>`Unexpected character '${e}'.`)),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((({identifierName:e})=>`Private name #${e} is not defined.`)),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((({labelName:e})=>`Label '${e}' is already declared.`)),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingOneOfPlugins:e((({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`)),ModuleExportNameHasLoneSurrogate:e((({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`)),ModuleExportUndefined:e((({localName:e})=>`Export '${e}' is not defined.`)),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`)),PrivateNameRedeclaration:e((({identifierName:e})=>`Duplicate private name #${e}.`)),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement."),StaticPrototype:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?"),SuperPrivateField:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((({keyword:e})=>`Unexpected keyword '${e}'.`)),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((({reservedWord:e})=>`Unexpected reserved word '${e}'.`)),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`)),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`)),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((({identifierName:e})=>`Identifier '${e}' has already been declared.`)),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")}))),Qa((e=>({StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((({referenceName:e})=>`Assigning to '${e}' in strict mode.`)),StrictEvalArgumentsBinding:e((({bindingName:e})=>`Binding '${e}' in strict mode.`)),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")}))),Qa`pipelineOperator`((e=>({PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`)),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${Ka({type:e})}; please wrap it in parentheses.`)),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')})))),{defineProperty:eo}=Object,to=(e,t)=>eo(e,t,{enumerable:!1,value:e[t]});function ro(e){return e.loc.start&&to(e.loc.start,"index"),e.loc.end&&to(e.loc.end,"index"),e}class no{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}let io={brace:new no("{"),j_oTag:new no("<tag"),j_cTag:new no("</tag"),j_expr:new no("<tag>...</tag>",!0)};io.template=new no("`",!0);let so=!0,ao=!0,oo=!0,lo=!0,uo=!0;class co{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}let po=new Map;function ho(e,t={}){t.keyword=e;let r=So(e,t);return po.set(e,r),r}function fo(e,t){return So(e,{beforeExpr:so,binop:t})}let mo=-1,yo=[],go=[],xo=[],vo=[],Eo=[],bo=[];function So(e,t={}){var r,n,i,s;return++mo,go.push(e),xo.push(null!=(r=t.binop)?r:-1),vo.push(null!=(n=t.beforeExpr)&&n),Eo.push(null!=(i=t.startsExpr)&&i),bo.push(null!=(s=t.prefix)&&s),yo.push(new co(e,t)),mo}function To(e,t={}){var r,n,i,s;return++mo,po.set(e,mo),go.push(e),xo.push(null!=(r=t.binop)?r:-1),vo.push(null!=(n=t.beforeExpr)&&n),Eo.push(null!=(i=t.startsExpr)&&i),bo.push(null!=(s=t.prefix)&&s),yo.push(new co("name",t)),mo}let Ao={bracketL:So("[",{beforeExpr:so,startsExpr:ao}),bracketHashL:So("#[",{beforeExpr:so,startsExpr:ao}),bracketBarL:So("[|",{beforeExpr:so,startsExpr:ao}),bracketR:So("]"),bracketBarR:So("|]"),braceL:So("{",{beforeExpr:so,startsExpr:ao}),braceBarL:So("{|",{beforeExpr:so,startsExpr:ao}),braceHashL:So("#{",{beforeExpr:so,startsExpr:ao}),braceR:So("}"),braceBarR:So("|}"),parenL:So("(",{beforeExpr:so,startsExpr:ao}),parenR:So(")"),comma:So(",",{beforeExpr:so}),semi:So(";",{beforeExpr:so}),colon:So(":",{beforeExpr:so}),doubleColon:So("::",{beforeExpr:so}),dot:So("."),question:So("?",{beforeExpr:so}),questionDot:So("?."),arrow:So("=>",{beforeExpr:so}),template:So("template"),ellipsis:So("...",{beforeExpr:so}),backQuote:So("`",{startsExpr:ao}),dollarBraceL:So("${",{beforeExpr:so,startsExpr:ao}),templateTail:So("...`",{startsExpr:ao}),templateNonTail:So("...${",{beforeExpr:so,startsExpr:ao}),at:So("@"),hash:So("#",{startsExpr:ao}),interpreterDirective:So("#!..."),eq:So("=",{beforeExpr:so,isAssign:lo}),assign:So("_=",{beforeExpr:so,isAssign:lo}),slashAssign:So("_=",{beforeExpr:so,isAssign:lo}),xorAssign:So("_=",{beforeExpr:so,isAssign:lo}),moduloAssign:So("_=",{beforeExpr:so,isAssign:lo}),incDec:So("++/--",{prefix:uo,postfix:!0,startsExpr:ao}),bang:So("!",{beforeExpr:so,prefix:uo,startsExpr:ao}),tilde:So("~",{beforeExpr:so,prefix:uo,startsExpr:ao}),doubleCaret:So("^^",{startsExpr:ao}),doubleAt:So("@@",{startsExpr:ao}),pipeline:fo("|>",0),nullishCoalescing:fo("??",1),logicalOR:fo("||",1),logicalAND:fo("&&",2),bitwiseOR:fo("|",3),bitwiseXOR:fo("^",4),bitwiseAND:fo("&",5),equality:fo("==/!=/===/!==",6),lt:fo("</>/<=/>=",7),gt:fo("</>/<=/>=",7),relational:fo("</>/<=/>=",7),bitShift:fo("<</>>/>>>",8),bitShiftL:fo("<</>>/>>>",8),bitShiftR:fo("<</>>/>>>",8),plusMin:So("+/-",{beforeExpr:so,binop:9,prefix:uo,startsExpr:ao}),modulo:So("%",{binop:10,startsExpr:ao}),star:So("*",{binop:10}),slash:fo("/",10),exponent:So("**",{beforeExpr:so,binop:11,rightAssociative:!0}),_in:ho("in",{beforeExpr:so,binop:7}),_instanceof:ho("instanceof",{beforeExpr:so,binop:7}),_break:ho("break"),_case:ho("case",{beforeExpr:so}),_catch:ho("catch"),_continue:ho("continue"),_debugger:ho("debugger"),_default:ho("default",{beforeExpr:so}),_else:ho("else",{beforeExpr:so}),_finally:ho("finally"),_function:ho("function",{startsExpr:ao}),_if:ho("if"),_return:ho("return",{beforeExpr:so}),_switch:ho("switch"),_throw:ho("throw",{beforeExpr:so,prefix:uo,startsExpr:ao}),_try:ho("try"),_var:ho("var"),_const:ho("const"),_with:ho("with"),_new:ho("new",{beforeExpr:so,startsExpr:ao}),_this:ho("this",{startsExpr:ao}),_super:ho("super",{startsExpr:ao}),_class:ho("class",{startsExpr:ao}),_extends:ho("extends",{beforeExpr:so}),_export:ho("export"),_import:ho("import",{startsExpr:ao}),_null:ho("null",{startsExpr:ao}),_true:ho("true",{startsExpr:ao}),_false:ho("false",{startsExpr:ao}),_typeof:ho("typeof",{beforeExpr:so,prefix:uo,startsExpr:ao}),_void:ho("void",{beforeExpr:so,prefix:uo,startsExpr:ao}),_delete:ho("delete",{beforeExpr:so,prefix:uo,startsExpr:ao}),_do:ho("do",{isLoop:oo,beforeExpr:so}),_for:ho("for",{isLoop:oo}),_while:ho("while",{isLoop:oo}),_as:To("as",{startsExpr:ao}),_assert:To("assert",{startsExpr:ao}),_async:To("async",{startsExpr:ao}),_await:To("await",{startsExpr:ao}),_from:To("from",{startsExpr:ao}),_get:To("get",{startsExpr:ao}),_let:To("let",{startsExpr:ao}),_meta:To("meta",{startsExpr:ao}),_of:To("of",{startsExpr:ao}),_sent:To("sent",{startsExpr:ao}),_set:To("set",{startsExpr:ao}),_static:To("static",{startsExpr:ao}),_yield:To("yield",{startsExpr:ao}),_asserts:To("asserts",{startsExpr:ao}),_checks:To("checks",{startsExpr:ao}),_exports:To("exports",{startsExpr:ao}),_global:To("global",{startsExpr:ao}),_implements:To("implements",{startsExpr:ao}),_intrinsic:To("intrinsic",{startsExpr:ao}),_infer:To("infer",{startsExpr:ao}),_is:To("is",{startsExpr:ao}),_mixins:To("mixins",{startsExpr:ao}),_proto:To("proto",{startsExpr:ao}),_require:To("require",{startsExpr:ao}),_keyof:To("keyof",{startsExpr:ao}),_readonly:To("readonly",{startsExpr:ao}),_unique:To("unique",{startsExpr:ao}),_abstract:To("abstract",{startsExpr:ao}),_declare:To("declare",{startsExpr:ao}),_enum:To("enum",{startsExpr:ao}),_module:To("module",{startsExpr:ao}),_namespace:To("namespace",{startsExpr:ao}),_interface:To("interface",{startsExpr:ao}),_type:To("type",{startsExpr:ao}),_opaque:To("opaque",{startsExpr:ao}),name:So("name",{startsExpr:ao}),string:So("string",{startsExpr:ao}),num:So("num",{startsExpr:ao}),bigint:So("bigint",{startsExpr:ao}),decimal:So("decimal",{startsExpr:ao}),regexp:So("regexp",{startsExpr:ao}),privateName:So("#name",{startsExpr:ao}),eof:So("eof"),jsxName:So("jsxName"),jsxText:So("jsxText",{beforeExpr:!0}),jsxTagStart:So("jsxTagStart",{startsExpr:!0}),jsxTagEnd:So("jsxTagEnd"),placeholder:So("%%",{startsExpr:!0})};function Do(e){return e>=93&&e<=128}function Co(e){return e>=58&&e<=128}function wo(e){return e>=58&&e<=132}function Po(e){return Eo[e]}function ko(e){return e>=125&&e<=127}function No(e){return e>=58&&e<=92}function _o(e){return go[e]}function Oo(e){return xo[e]}function Fo(e){return e>=24&&e<=25}function Io(e){return yo[e]}yo[8].updateContext=e=>{e.pop()},yo[5].updateContext=yo[7].updateContext=yo[23].updateContext=e=>{e.push(io.brace)},yo[22].updateContext=e=>{e[e.length-1]===io.template?e.pop():e.push(io.template)},yo[138].updateContext=e=>{e.push(io.j_expr,io.j_oTag)};let Bo="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ",Lo="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏０-９＿",Mo=new RegExp("["+Bo+"]"),Ro=new RegExp("["+Bo+Lo+"]");Bo=Lo=null;let jo=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Uo=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function $o(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function qo(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Mo.test(String.fromCharCode(e)):$o(e,jo)))}function Vo(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ro.test(String.fromCharCode(e)):$o(e,jo)||$o(e,Uo))))}let zo=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Xo=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),Jo=new Set(["eval","arguments"]);function Ko(e,t){return t&&"await"===e||"enum"===e}function Wo(e,t){return Ko(e,t)||Xo.has(e)}function Go(e){return Jo.has(e)}function Yo(e,t){return Wo(e,t)||Go(e)}let Ho=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]),Qo=64;function Zo(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function el(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function tl(e,t,r){let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?el(e,r.comments):Zo(n,r.comments)}let rl=/\r\n?|[\n\u2028\u2029]/,nl=new RegExp(rl.source,"g");function il(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}let sl=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,al=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function ol(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class ll{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=135,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[io.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:n}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=r,this.lineStart=-n,this.startLoc=this.endLoc=new $a(r,n,0)}curPosition(){return new $a(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){let t=new ll,r=Object.keys(this);for(let n=0,i=r.length;n<i;n++){let i=r[n],s=this[i];!e&&Array.isArray(s)&&(s=s.slice()),t[i]=s}return t}}let ul=["at"],cl=["at"];var pl=function(e){return e>=48&&e<=57};let hl=new Set([103,109,115,105,121,117,100,118]),dl={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},fl={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};class ml{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new qa(e.startLoc,e.endLoc)}}class yl{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class gl{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(64&e)>0&&!(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(128&t)return!0;if(323&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new yl(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,r){let n=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(n,e,t,r),16&t?n.functions.add(e):n.lexical.add(e),8&t&&this.maybeExportDefined(n,e);else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.add(e),this.maybeExportDefined(n,e),!(259&n.flags));--i);this.parser.inModule&&1&n.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(Za.VarRedeclaration,{at:n,identifierName:t})}isRedeclaredInScope(e,t,r){return!!(1&r)&&(8&r?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&r?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,r=this.scopeStack[0];r.lexical.has(t)||r.var.has(t)||r.functions.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(259&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(323&t&&!(4&t))return t}}}class xl extends yl{constructor(...e){super(...e),this.declareFunctions=new Set}}class vl extends gl{createScope(e){return new xl(e)}declareName(e,t,r){let n=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(2048&r)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class El{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class bl{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new El)}exit(){let e=this.stack.pop(),t=this.current();for(let[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.parser.raise(Za.InvalidPrivateFieldResolution,{at:n,identifierName:r})}declarePrivateName(e,t,r){let{privateNames:n,loneAccessors:i,undefinedPrivateNames:s}=this.current(),a=n.has(e);if(3&t){let r=a&&i.get(e);r?(a=(3&r)==(3&t)||(4&r)!=(4&t),a||i.delete(e)):a||i.set(e,t)}a&&this.parser.raise(Za.PrivateNameRedeclaration,{at:r,identifierName:e}),n.add(e),s.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.parser.raise(Za.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}class Sl{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Tl extends Sl{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){let r=t.index;this.declarationErrors.set(r,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class Al{constructor(e){this.parser=void 0,this.stack=[new Sl],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){let r={at:t.loc.start},{stack:n}=this,i=n.length-1,s=n[i];for(;!s.isCertainlyParameterDeclaration();){if(!s.canBeArrowParameterDeclaration())return;s.recordDeclarationError(e,r),s=n[--i]}this.parser.raise(e,r)}recordArrowParemeterBindingError(e,{at:t}){let{stack:r}=this,n=r[r.length-1],i={at:t.loc.start};if(n.isCertainlyParameterDeclaration())this.parser.raise(e,i);else{if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,i)}}recordAsyncArrowParametersError({at:e}){let{stack:t}=this,r=t.length-1,n=t[r];for(;n.canBeArrowParameterDeclaration();)2===n.type&&n.recordDeclarationError(Za.AwaitBindingIdentifier,{at:e}),n=t[--r]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((([t,r])=>{this.parser.raise(t,{at:r});let n=e.length-2,i=e[n];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(r.index),i=e[--n]}))}}function Dl(){return new Sl}class Cl{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function wl(e,t){return(e?2:0)|(t?1:0)}class Pl{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class kl{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new qa(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}}let Nl=kl.prototype;function _l(e){let{type:t,start:r,end:n,loc:i,range:s,extra:a,name:o}=e,l=Object.create(Nl);return l.type=t,l.start=r,l.end=n,l.loc=i,l.range=s,l.extra=a,l.name=o,"Placeholder"===t&&(l.expectedNode=e.expectedNode),l}Nl.__clone=function(){let e=new kl,t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){let n=t[r];"leadingComments"!==n&&"trailingComments"!==n&&"innerComments"!==n&&(e[n]=this[n])}return e};let Ol=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Fl=Qa`flow`((e=>({AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module."),AssignReservedType:e((({reservedType:e})=>`Cannot overwrite reserved type ${e}.`)),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`)),EnumDuplicateMemberName:e((({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`)),EnumInconsistentMemberValues:e((({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`)),EnumInvalidExplicitType:e((({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`)),EnumInvalidExplicitTypeUnknownSupplied:e((({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerPrimaryType:e((({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`)),EnumInvalidMemberInitializerSymbolType:e((({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerUnknownType:e((({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`)),EnumInvalidMemberName:e((({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`)),EnumNumberMemberNotInitialized:e((({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`)),EnumStringMemberInconsistentlyInitailized:e((({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`)),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements."),InexactInsideExact:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((({reservedType:e})=>`Unexpected reserved type ${e}.`)),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`."),UnsupportedDeclareExportKind:e((({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`)),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")})));function Il(e){return"type"===e.importKind||"typeof"===e.importKind}function Bl(e){return Co(e)&&97!==e}let Ll={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Ml=/\*?\s*@((?:no)?flow)\b/,Rl={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},jl=Qa`jsx`((e=>({AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`)),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`)),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?")})));function Ul(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function $l(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return $l(e.object)+"."+$l(e.property);throw new Error("Node had unexpected type: "+e.type)}class ql extends yl{constructor(...e){super(...e),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class Vl extends gl{createScope(e){return new ql(e)}declareName(e,t,r){let n=this.currentScope();if(1024&t)return this.maybeExportDefined(n,e),void n.exportOnlyBindings.add(e);super.declareName(...arguments),2&t&&(1&t||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),n.types.add(e)),256&t&&n.enums.add(e),512&t&&n.constEnums.add(e),128&t&&n.classes.add(e)}isRedeclaredInScope(e,t,r){return e.enums.has(t)?!(256&r)||!!(512&r)!==e.constEnums.has(t):128&r&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&r):!!(2&r&&e.types.has(t))||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){let t=this.scopeStack[0],{name:r}=e;t.types.has(r)||t.exportOnlyBindings.has(r)||super.checkLocalExport(e)}}function zl(e){if(!e)throw new Error("Assert fail")}let Xl=Qa`typescript`((e=>({AbstractMethodHasImplementation:e((({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`)),AbstractPropertyHasInitializer:e((({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`)),AccesorCannotDeclareThisParameter:e("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:e("An accessor cannot have type parameters."),CannotFindName:e((({name:e})=>`Cannot find name '${e}'.`)),ClassMethodHasDeclare:e("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:e("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:e("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:e("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:e((({kind:e})=>`'declare' is not allowed in ${e}ters.`)),DeclareClassFieldHasInitializer:e("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:e("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:e((({modifier:e})=>"Accessibility modifier already seen.")),DuplicateModifier:e((({modifier:e})=>`Duplicate modifier: '${e}'.`)),EmptyHeritageClauseType:e((({token:e})=>`'${e}' list cannot be empty.`)),EmptyTypeArguments:e("Type argument list cannot be empty."),EmptyTypeParameters:e("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:e("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:e("An import alias can not use 'import type'."),IncompatibleModifiers:e((({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`)),IndexSignatureHasAbstract:e("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:e((({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`)),IndexSignatureHasDeclare:e("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:e("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:e("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:e("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:e((({modifier:e})=>`'${e}' modifier cannot appear on a type member.`)),InvalidModifierOnTypeParameter:e((({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`)),InvalidModifierOnTypeParameterPositions:e((({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`)),InvalidModifiersOrder:e((({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`)),InvalidTupleMemberLabel:e("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:e("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:e("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:e("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:e("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:e("A required element cannot follow an optional element."),OverrideNotInSubClass:e("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:e("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:e((({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`)),ReadonlyForMethodSignature:e("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:e("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`)),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`))})));function Jl(e){return"private"===e||"public"===e||"protected"===e}function Kl(e){return"in"===e||"out"===e}function Wl(e){if("MemberExpression"!==e.type)return!1;let{computed:t,property:r}=e;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&Gl(e.object)}function Gl(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Gl(e.object)}let Yl=Qa`placeholders`((e=>({ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")})));function Hl(e,t){let[r,n]="string"==typeof t?[t,{}]:t,i=Object.keys(n),s=0===i.length;return e.some((e=>{if("string"==typeof e)return s&&e===r;{let[t,s]=e;if(t!==r)return!1;for(let e of i)if(s[e]!==n[e])return!1;return!0}}))}function Ql(e,t,r){let n=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return n&&Array.isArray(n)?n[1][r]:null}let Zl=["minimal","fsharp","hack","smart"],eu=["^^","@@","^","%","#"],tu=["hash","bar"],ru={estree:e=>class extends e{parse(){let e=ro(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(ro)),e}parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch{}let n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:t},n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.extra.expressionValue,n.raw=t.extra.raw,r.expression=this.finishNodeAt(n,"Literal",t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,...t){super.parseBlockBody(e,...t);let r=e.directives.map((e=>this.directiveToStmt(e)));e.body=r.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,s){this.parseMethod(t,r,n,i,s,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t,r=!1){super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,n,i,s,a=!1){let o=this.startNode();return o.kind=e.kind,o=super.parseMethod(o,t,r,n,i,s,a),o.type="FunctionExpression",delete o.kind,e.value=o,"ClassPrivateMethod"===s&&(e.computed=!1),s="MethodDefinition",this.finishNode(e,s)}parseClassProperty(...e){let t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(t.type="PropertyDefinition"),t}parseClassPrivateProperty(...e){let t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(t.type="PropertyDefinition",t.computed=!1),t}parseObjectMethod(e,t,r,n,i){let s=super.parseObjectMethod(e,t,r,n,i);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s}parseObjectProperty(e,t,r,n,i){let s=super.parseObjectProperty(e,t,r,n,i);return s&&(s.kind="init",s.type="Property"),s}isValidLVal(e,...t){return"Property"===e?"value":super.isValidLVal(e,...t)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(null!=e&&this.isObjectProperty(e)){let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e){"get"===e.kind||"set"===e.kind?this.raise(Za.PatternHasAccessor,{at:e.key}):e.method?this.raise(Za.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(...arguments)}finishCallExpression(e,t){var r;return super.finishCallExpression(e,t),"Import"===e.callee.type&&(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")&&(e.attributes=null!=(r=e.arguments[1])?r:null),delete e.arguments,delete e.callee),e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,n,i){let s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if("OptionalMemberExpression"!==s.type&&"OptionalCallExpression"!==s.type||(s.type=s.type.substring(8)),i.stop){let e=this.startNodeAtNode(s);return e.expression=s,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==s.type&&"CallExpression"!==s.type||(s.optional=!1);return s}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,r){return ro(super.finishNodeAt(e,t,r))}resetStartLocation(e,t,r){super.resetStartLocation(e,t,r),ro(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),ro(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(jl.UnterminatedJsxContent,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(137,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:il(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Za.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):il(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(129,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,r=!1;for(;t++<10&&this.state.pos<this.length&&!(r=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(r){let t=this.input.slice(e,this.state.pos),r=Rl[t];if(++this.state.pos,r)return r}}return this.state.pos=e,"&"}jsxReadWord(){let e,t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Vo(e)||45===e);return this.finishToken(136,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(136)?e.name=this.state.value:No(this.state.type)?e.name=_o(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){let e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(14))return r;let n=this.startNodeAt(e,t);return n.namespace=r,n.name=this.jsxParseIdentifier(),this.finishNode(n,"JSXNamespacedName")}jsxParseElementName(){let e=this.state.start,t=this.state.startLoc,r=this.jsxParseNamespacedName();if("JSXNamespacedName"===r.type)return r;for(;this.eat(16);){let n=this.startNodeAt(e,t);n.object=r,n.property=this.jsxParseIdentifier(),r=this.finishNode(n,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(io.brace),this.next(),e=this.jsxParseExpressionContainer(e,io.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(jl.AttributeIsEmpty,{at:e}),e;case 138:case 129:return this.parseExprAtom();default:throw this.raise(jl.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc.index,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(io.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(io.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(io.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,t){let r=this.startNodeAt(e,t);return this.eat(139)?this.finishNode(r,"JSXOpeningFragment"):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(139);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(139),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){let r=this.startNodeAt(e,t);return this.eat(139)?this.finishNode(r,"JSXClosingFragment"):(r.name=this.jsxParseElementName(),this.expect(139),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(e,t){let r=this.startNodeAt(e,t),n=[],i=this.jsxParseOpeningElementAt(e,t),s=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 138:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(56)){s=this.jsxParseClosingElementAt(e,t);break e}n.push(this.jsxParseElementAt(e,t));break;case 137:n.push(this.parseExprAtom());break;case 5:{let e=this.startNode();this.setContext(io.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,io.j_expr));break}default:throw this.unexpected()}Ul(i)&&!Ul(s)&&null!==s?this.raise(jl.MissingClosingTagFragment,{at:s}):!Ul(i)&&Ul(s)?this.raise(jl.MissingClosingTagElement,{at:s,openingTagName:$l(i.name)}):Ul(i)||Ul(s)||$l(s.name)!==$l(i.name)&&this.raise(jl.MissingClosingTagElement,{at:s,openingTagName:$l(i.name)})}if(Ul(i)?(r.openingFragment=i,r.closingFragment=s):(r.openingElement=i,r.closingElement=s),r.children=n,this.match(47))throw this.raise(jl.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Ul(i)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){let e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(137)?this.parseLiteral(this.state.value,"JSXText"):this.match(138)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(138),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t===io.j_expr)return this.jsxReadToken();if(t===io.j_oTag||t===io.j_cTag){if(qo(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(139);if((34===e||39===e)&&t===io.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(e)}updateContext(e){let{context:t,type:r}=this.state;if(56===r&&138===e)t.splice(-2,2,io.j_cTag),this.state.canStartJSXElement=!1;else if(138===r)t.push(io.j_oTag);else if(139===r){let r=t[t.length-1];r===io.j_oTag&&56===e||r===io.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===io.j_expr):(this.setContext(io.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=vo[r]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return vl}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 129!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=Ml.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(107),this.state.lastTokStart>t.index+1&&this.raise(Fl.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(123))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Fl.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(125))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(129)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),this.isContextual(126)||this.match(87)||this.raise(Fl.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(e)):(this.expectContextual(121,Fl.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let n=null,i=!1;return r.forEach((e=>{var t;"DeclareExportAllDeclaration"===(t=e).type||"DeclareExportDeclaration"===t.type&&(!t.declaration||"TypeAlias"!==t.declaration.type&&"InterfaceDeclaration"!==t.declaration.type)?("CommonJS"===n&&this.raise(Fl.AmbiguousDeclareModuleKind,{at:e}),n="ES"):"DeclareModuleExports"===e.type&&(i&&this.raise(Fl.DuplicateDeclareModuleExports,{at:e}),"ES"===n&&this.raise(Fl.AmbiguousDeclareModuleKind,{at:e}),n="CommonJS",i=!0)})),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!t){let e=this.state.value;throw this.raise(Fl.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Ll[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(108),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=!1){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:9,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Fl.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){Ol.has(e)&&this.raise(r?Fl.AssignReservedType:Fl.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,9,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(126),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,9,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let t=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Fl.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();let r=!1;do{let e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(125),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){let r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){let s=this.state.inType;this.state.inType=!0;let a,o,l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let u=!1;for(t&&this.match(6)?(this.expect(6),a=9,o=!0):(this.expect(5),a=8,o=!1),l.exact=o;!this.match(a);){let t=!1,s=null,a=null,c=this.startNode();if(n&&this.isContextual(115)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),s=this.state.startLoc,e=!1)}if(e&&this.isContextual(104)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}let p=this.flowParseVariance();if(this.eat(0))null!=s&&this.unexpected(s),this.eat(0)?(p&&this.unexpected(p.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,t))):l.indexers.push(this.flowParseObjectTypeIndexer(c,t,p));else if(this.match(10)||this.match(47))null!=s&&this.unexpected(s),p&&this.unexpected(p.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(c,t));else{let e="init";(this.isContextual(98)||this.isContextual(103))&&wo(this.lookahead().type)&&(e=this.state.value,this.next());let n=this.flowParseObjectTypeProperty(c,t,s,p,e,r,i??!o);null===n?(u=!0,a=this.state.lastTokStartLoc):l.properties.push(n)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(Fl.UnexpectedExplicitInexactInObject,{at:a})}this.expect(a),r&&(l.inexact=u);let c=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=s,c}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?a||this.raise(Fl.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Fl.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),n&&this.raise(Fl.InexactVariance,{at:n}),null):(s||this.raise(Fl.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),n&&this.raise(Fl.SpreadVariance,{at:n}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let a=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(Fl.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(a=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=a,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Fl.GetterMayNotHaveThisParam:Fl.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?Za.BadGetterArity:Za.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(Za.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let r=this.startNodeAt(e,t);r.qualification=n,r.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){let n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,r=!1,n=null,i=this.startNode(),s=this.lookahead(),a=78===this.state.type;return 14===s.type||17===s.type?(a&&!e&&this.raise(Fl.ThisParamMustBeFirst,{at:i}),t=this.parseIdentifier(a),this.eat(17)&&(r=!0,a&&this.raise(Fl.ThisParamMayNotBeOptional,{at:i})),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),i.name=t,i.optional=r,i.typeAnnotation=n,this.finishNode(i,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,t,n)}}flowParsePrimaryType(){let e,t,r=this.state.start,n=this.state.startLoc,i=this.startNode(),s=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,t=this.flowParseTupleType(),this.state.noAnonFunctionType=a,t;case 47:return i.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),this.finishNode(i,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(Do(this.state.type)||this.match(78)){let e=this.lookahead().type;s=17!==e&&14!==e}else s=!0;if(s){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(Fl.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(No(this.state.type)){let e=_o(this.state.type);return this.next(),super.createIdentifier(i,e)}if(Do(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,i,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.start,t=this.state.startLoc,r=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let i=this.startNodeAt(e,t),s=this.eat(18);n=n||s,this.expect(0),!s&&this.match(3)?(i.elementType=r,this.next(),r=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=r,i.indexType=this.flowParseType(),this.expect(3),n?(i.optional=s,r=this.finishNode(i,"OptionalIndexedAccessType")):r=this.finishNode(i,"IndexedAccessType"))}return r}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(128===this.state.type&&"_"===this.state.value){let e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,t,r=!1){return t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t,r=!1){if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.isContextual(125)){if(Co(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let r=super.parseStatement(e,t);return void 0!==this.flowPragma||this.isValidDirective(r)||(this.flowPragma=null),r}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||Do(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(Do(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){let{type:e}=this.state;return ko(e)||this.shouldParseEnums()&&122===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return ko(e)||this.shouldParseEnums()&&122===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(n),e}this.expect(17);let i=this.state.clone(),s=this.state.noArrowAt,a=this.startNodeAt(t,r),{consequent:o,failed:l}=this.tryParseConditionalConsequent(),[u,c]=this.getArrowLikeExpressions(o);if(l||c.length>0){let e=[...s];if(c.length>0){this.state=i,this.state.noArrowAt=e;for(let t=0;t<c.length;t++)e.push(c[t].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent()),[u,c]=this.getArrowLikeExpressions(o)}l&&u.length>1&&this.raise(Fl.AmbiguousConditionalArrow,{at:i.startLoc}),l&&1===u.length&&(this.state=i,e.push(u[0].start),this.state.noArrowAt=e,({consequent:o,failed:l}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=s,this.expect(14),a.test=e,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let r=[e],n=[];for(;0!==r.length;){let e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach((e=>this.finishArrowValidation(e))),[n,[]]):function(e,t){let r=[],n=[];for(let i=0;i<e.length;i++)(t(e[i])?r:n).push(e[i]);return[r,n]}(n,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){let t=super.parseExport(e);return"ExportNamedDeclaration"!==t.type&&"ExportAllDeclaration"!==t.type||(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(126)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(125)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(122)){e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(126)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){let{startLoc:n}=this.state;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Fl.DeclareClassElement,{at:n}):t.value&&this.raise(Fl.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(Za.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(128,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):(r=e,n=t,i=this.input.charCodeAt(this.state.pos+2),64===r&&64===n&&qo(i)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)):this.finishOp(62===e?48:47,1);var r,n,i}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){t||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),super.toAssignable(...arguments)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){let r=e[t];"TypeCastExpression"===r?.type&&(e[t]=this.typeCastToParameter(r))}super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;let i=e[n];!i||"TypeCastExpression"!==i.type||null!=(r=i.extra)&&r.parenthesized||!(e.length>1)&&t||this.raise(Fl.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e,...t){return"TypeCastExpression"===e||super.isValidLVal(e,...t)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,n,i,s),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Fl.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Fl.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(Fl.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Fl.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,i,s,a,o){let l;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!a&&(l=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,r,n,i,s,a,o),l&&((e.value||e).typeParameters=l)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Fl.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Fl.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Fl.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Fl.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){let n=super.parseMaybeDefault(e,t,r);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(Fl.TypeBeforeInitializer,{at:n.typeAnnotation}),n}shouldParseDefaultImport(e){return Il(e)?Bl(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,r){t.local=Il(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)?t="typeof":this.isContextual(126)&&(t="type"),t){let r=this.lookahead(),{type:n}=r;"type"===t&&55===n&&this.unexpected(null,r.type),(Bl(n)||5===n||55===n)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,n){let i=e.imported,s=null;"Identifier"===i.type&&("type"===i.name?s="type":"typeof"===i.name&&(s="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let t=this.parseIdentifier(!0);null===s||Co(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=s,e.local=_l(t))}else{if(null!==s&&Co(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=s;else{if(t)throw this.raise(Za.ImportBindingIsString,{at:e,importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=_l(e.imported))}let o=Il(e);return r&&o&&this.raise(Fl.ImportTypeShorthandOnlyInPureImport,{at:e}),(r||o)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!a||r||o||this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){let r=e.kind;"get"!==r&&"set"!==r&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let n,i=null;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(i=this.state.clone(),n=this.tryParse((()=>super.parseMaybeAssign(e,t)),i),!n.error)return n.node;let{context:r}=this.state,s=r[r.length-1];s!==io.j_oTag&&s!==io.j_expr||r.pop()}if(null!=(r=n)&&r.error||this.match(47)){var s,a;let r;i=i||this.state.clone();let o=this.tryParse((n=>{var i;r=this.flowParseTypeParameterDeclaration();let s=this.forwardNoArrowParamsConversionAt(r,(()=>{let n=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(n,r),n}));null!=(i=s.extra)&&i.parenthesized&&n();let a=this.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==a.type&&n(),a.typeParameters=r,this.resetStartLocationFromNode(a,r),s}),i),l=null;if(o.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(o.node).type){if(!o.error&&!o.aborted)return o.node.async&&this.raise(Fl.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),o.node;l=o.node}if(null!=(s=n)&&s.node)return this.state=n.failState,n.node;if(l)return this.state=o.failState,l;throw null!=(a=n)&&a.thrown?n.error:o.thrown?o.error:this.raise(Fl.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Fl.ThisParamMustBeFirst,{at:e.params[t]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,n){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();let n=this.startNodeAt(t,r);n.callee=e,n.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(n,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let i=this.state.clone(),s=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,r)||e()),i);if(!s.error&&!s.aborted)return s.node;let a=this.tryParse((()=>super.parseSubscripts(e,t,r,n)),i);if(a.node&&!a.error)return a.node;if(s.node)return this.state=s.failState,s.node;if(a.node)return this.state=a.failState,a.node;throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,n)return i.stop=!0,e;this.next();let s=this.startNodeAt(t,r);return s.callee=e,s.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),s.arguments=this.parseCallExpressionArguments(11,!1),s.optional=!0,this.finishCallExpression(s,!0)}if(!n&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(t,r);n.callee=e;let s=this.tryParse((()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),i.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,i.optionalChainMember))));if(s.node)return s.error&&(this.state=s.failState),s.node}return super.parseSubscript(e,t,r,n,i)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e,t){let r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){let r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Fl.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Fl.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return super.skipBlockComment();{let e=this.input.indexOf("*-/",this.state.pos+2);if(-1===e)throw this.raise(Za.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=e+2+3}}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(Za.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(Fl.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Fl.EnumInvalidMemberInitializerSymbolType:Fl.EnumInvalidMemberInitializerPrimaryType:Fl.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(Fl.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(Fl.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{let r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 129:{let r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){let{explicitType:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){let r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},i=!1;for(;!this.match(8);){if(this.eat(21)){i=!0;break}let s=this.startNode(),{id:a,init:o}=this.flowEnumMemberRaw(),l=a.name;if(""===l)continue;/^[a-z]/.test(l)&&this.raise(Fl.EnumInvalidMemberName,{at:a,memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e}),r.has(l)&&this.raise(Fl.EnumDuplicateMemberName,{at:a,memberName:l,enumName:e}),r.add(l);let u={enumName:e,explicitType:t,memberName:l};switch(s.id=a,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"boolean"),s.init=o.value,n.booleanMembers.push(this.finishNode(s,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"number"),s.init=o.value,n.numberMembers.push(this.finishNode(s,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.loc,u,"string"),s.init=o.value,n.stringMembers.push(this.finishNode(s,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.loc,u);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,u);break;default:n.defaultedMembers.push(this.finishNode(s,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r});return t}for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!Do(this.state.type))throw this.raise(Fl.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e});let{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(Fl.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){let r=t.name,n=t.loc.start,i=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:s,hasUnknownMembers:a}=this.flowEnumMembers({enumName:r,explicitType:i});switch(e.hasUnknownMembers=a,i){case"boolean":return e.explicitType=!0,e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=s.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let i=s.booleanMembers.length,a=s.numberMembers.length,o=s.stringMembers.length,l=s.defaultedMembers.length;if(i||a||o||l){if(i||a){if(!a&&!o&&i>=l){for(let e of s.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!o&&a>=l){for(let e of s.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Fl.EnumInconsistentMemberValues,{at:n,enumName:r}),t()}return e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody")}return t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return Vl}tsIsIdentifier(){return Do(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!Do(this.state.type)&&58!==this.state.type)return;let r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({modified:e,allowedModifiers:t,disallowedModifiers:r,stopOnStartOfClassStaticBlock:n,errorTemplate:i=Xl.InvalidModifierOnTypeMember}){let s=(t,r,n,i)=>{r===n&&e[i]&&this.raise(Xl.InvalidModifiersOrder,{at:t,orderedModifiers:[n,i]})},a=(t,r,n,i)=>{(e[n]&&r===i||e[i]&&r===n)&&this.raise(Xl.IncompatibleModifiers,{at:t,modifiers:[n,i]})};for(;;){let{startLoc:o}=this.state,l=this.tsParseModifier(t.concat(r??[]),n);if(!l)break;Jl(l)?e.accessibility?this.raise(Xl.DuplicateAccessibilityModifier,{at:o,modifier:l}):(s(o,l,l,"override"),s(o,l,l,"static"),s(o,l,l,"readonly"),e.accessibility=l):Kl(l)?(e[l]&&this.raise(Xl.DuplicateModifier,{at:o,modifier:l}),e[l]=!0,s(o,l,"in","out")):(Object.hasOwnProperty.call(e,l)?this.raise(Xl.DuplicateModifier,{at:o,modifier:l}):(s(o,l,"static","readonly"),s(o,l,"static","override"),s(o,l,"override","readonly"),s(o,l,"abstract","override"),a(o,l,"declare","override"),a(o,l,"static","abstract")),e[l]=!0),null!=r&&r.includes(l)&&this.raise(i,{at:o,modifier:l})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}tsParseList(e,t){let r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,n){let i=[],s=-1;for(;!this.tsIsListTerminator(e);){s=-1;let n=t();if(null==n)return;if(i.push(n),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}s=this.state.lastTokStart}return n&&(n.value=s),i}tsParseBracketedList(e,t,r,n,i){n||(r?this.expect(0):this.expect(47));let s=this.tsParseDelimitedList(e,t,i);return r?this.expect(3):this.expect(48),s}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(Xl.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let t=this.parseIdentifier(e);for(;this.eat(16);){let r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseInOutModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Xl.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Xl.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(e=this.tsParseNoneModifiers.bind(this)){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();let r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(Xl.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(75!==this.lookahead().type)return null;this.next();let e=this.tsParseTypeReference();return e.typeParameters&&this.raise(Xl.CannotFindName,{at:e.typeName,name:"const"}),e}tsFillSignature(e,t){let r=19===e;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(Xl.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e)))}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!Do(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let r=e;if(this.match(10)||this.match(47)){t&&this.raise(Xl.ReadonlyForMethodSignature,{at:e});let n=r;n.kind&&this.match(47)&&this.raise(Xl.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let i="parameters",s="typeAnnotation";if("get"===n.kind)n[i].length>0&&(this.raise(Za.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(n[i][0])&&this.raise(Xl.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===n.kind){if(1!==n[i].length)this.raise(Za.BadSetterArity,{at:this.state.curPosition()});else{let e=n[i][0];this.isThisParam(e)&&this.raise(Xl.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(Xl.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(Xl.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}n[s]&&this.raise(Xl.SetAccesorCannotHaveReturnType,{at:n[s]})}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}{let e=r;t&&(e.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{var n;let{type:i}=e;!t||"TSRestType"===i||"TSOptionalType"===i||"TSNamedTupleMember"===i&&e.optional||this.raise(Xl.OptionalTypeBeforeRequired,{at:e}),t=t||"TSNamedTupleMember"===i&&e.optional||"TSOptionalType"===i,"TSRestType"===i&&(i=(e=e.typeAnnotation).type);let s="TSNamedTupleMember"===i;r=null!=(n=r)?n:s,r!==s&&this.raise(Xl.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{start:e,startLoc:t}=this.state,r=this.eat(21),n=this.tsParseType(),i=this.eat(17);if(this.eat(14)){let e=this.startNodeAtNode(n);e.optional=i,"TSTypeReference"!==n.type||n.typeParameters||"Identifier"!==n.typeName.type?(this.raise(Xl.InvalidTupleMemberLabel,{at:n}),e.label=n):e.label=n.typeName,e.elementType=this.tsParseType(),n=this.finishNode(e,"TSNamedTupleMember")}else if(i){let e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(r){let r=this.startNodeAt(e,t);r.typeAnnotation=n,n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,r))),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();if(130!==t.type&&131!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(Do(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Xl.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(112);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=117&&e<=119&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){let n=this.startNode(),i=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||i?(n.types=s,this.finishNode(n,e)):s[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Do(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return this.parseBindingList(3,93,!0),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{let t=this.startNode();this.expect(e);let r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let s=this.tsParseTypeAnnotation(!1);return r.parameterName=i,r.typeAnnotation=s,r.asserts=n,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(106!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!(!Do(this.state.type)&&!this.match(78)||(e&&this.raise(Za.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),0))}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){zl(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Xl.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(Xl.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(125),t.declare&&(e.declare=!0),Do(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Xl.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(29),this.isContextual(111)&&16!==this.lookahead().type){let e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(122),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?779:267),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(109)?(e.global=!0,e.id=this.parseIdentifier()):this.match(129)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,9),this.expect(29);let r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(Xl.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){let t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(99)&&(r=74,t="let"),this.tsInAmbientContext((()=>{if(68===r)return e.declare=!0,this.parseFunctionStatement(e,!1,!0);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(122===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(109===r)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(125===r){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return Do(r)?this.tsParseDeclaration(e,this.state.value,!0):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||Do(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(e);if(Do(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&Do(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&Do(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(47))return;let r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let n=this.tsTryParseAndCatch((()=>{let r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r}));return this.state.maybeInArrowParameters=r,n?this.parseArrowExpression(n,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(Xl.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=120&&e<=126;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let r,n=this.state.start,i=this.state.startLoc,s=!1,a=!1;if(void 0!==e){let t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]}),r=t.accessibility,a=t.override,s=t.readonly,!1===e&&(r||s||a)&&this.raise(Xl.UnexpectedParameterModifier,{at:i})}let o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);let l=this.parseMaybeDefault(o.start,o.loc.start,o);if(r||s||a){let e=this.startNodeAt(n,i);return t.length&&(e.decorators=t),r&&(e.accessibility=r),s&&(e.readonly=s),a&&(e.override=a),"Identifier"!==l.type&&"AssignmentPattern"!==l.type&&this.raise(Xl.UnsupportedParameterPropertyKind,{at:e}),e.parameter=l,this.finishNode(e,"TSParameterProperty")}return t.length&&(o.decorators=t),l}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):"TSDeclareFunction"===n&&this.state.isAmbientContext&&(this.raise(Xl.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===e?.type&&this.raise(Xl.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(...e){let t=super.parseArrayLike(...e);return"ArrayExpression"===t.type&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(t,r);return n.expression=e,this.finishNode(n,"TSNonNullExpression")}let s=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(n)return i.stop=!0,e;i.optionalChainMember=s=!0,this.next()}if(this.match(47)||this.match(51)){let a,o=this.tsTryParseAndCatch((()=>{if(!n&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}let o=this.tsParseTypeArgumentsInExpression();if(!o)throw this.unexpected();if(s&&!this.match(10))throw a=this.state.curPosition(),this.unexpected();if(Fo(this.state.type)){let n=this.parseTaggedTemplateExpression(e,t,r,i);return n.typeParameters=o,n}if(!n&&this.eat(10)){let n=this.startNodeAt(t,r);return n.callee=e,n.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(n.arguments),n.typeParameters=o,i.optionalChainMember&&(n.optional=s),this.finishCallExpression(n,i.optionalChainMember)}if(function(e){return Po(e)||-1!==xo[e]}(this.state.type)&&10!==this.state.type)throw this.unexpected();let l=this.startNodeAt(t,r);return l.expression=e,l.typeParameters=o,this.finishNode(l,"TSInstantiationExpression")}));if(a&&this.unexpected(a,10),o)return o}return super.parseSubscript(e,t,r,n,i)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:r}=e;"TSInstantiationExpression"!==r.type||null!=(t=r.extra)&&t.parenthesized||(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,t,r,n){if(Oo(58)>n&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let i=this.startNodeAt(t,r);i.expression=e;let s=this.tsTryNextParseConstantContext();return i.typeAnnotation=s||this.tsNextThenParseType(),this.finishNode(i,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){this.state.isAmbientContext||super.checkReservedWord(e,t,r,n)}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",Do(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),Do(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(Xl.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e){if(this.match(83))return this.next(),this.isContextual(126)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){let t=e;return this.expectContextual(124),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(126)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(120)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(125)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,r=!1){let{isAmbientContext:n}=this.state,i=super.parseVarStatement(e,t,r||n);if(!n)return i;for(let{id:e,init:r}of i.declarations)r&&("const"!==t||e.typeAnnotation?this.raise(Xl.InitializerNotAllowedInAmbientContext,{at:r}):"StringLiteral"!==r.type&&"BooleanLiteral"!==r.type&&"NumericLiteral"!==r.type&&"BigIntLiteral"!==r.type&&("TemplateLiteral"!==r.type||r.expressions.length>0)&&!Wl(r)&&this.raise(Xl.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>Jl(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Xl.InvalidModifierOnTypeParameterPositions});let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,n)&&this.raise(Xl.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){let i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(Xl.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(Xl.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(Xl.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(Xl.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(Xl.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(Xl.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Xl.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(Xl.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r,n);let i=this.tryParse((()=>super.parseConditional(e,t,r)));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(n,i.error),e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));let t=this.state.start,r=this.state.startLoc,n=this.eatContextual(121);if(n&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(Xl.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let i=Do(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return i?(("TSInterfaceDeclaration"===i.type||"TSTypeAliasDeclaration"===i.type||n)&&(e.exportKind="type"),n&&(this.resetStartLocation(i,t,r),i.declare=!0),i):null}parseClassId(e,t,r){if((!t||r)&&this.isContextual(110))return;super.parseClassId(e,t,r,e.declare?1024:139);let n=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(35)&&(e.definite=!0);let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(29)&&this.raise(Xl.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(Xl.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Xl.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(Xl.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){let a=this.tsTryParseTypeParameters();a&&i&&this.raise(Xl.ConstructorHasTypeParameters,{at:a});let{declare:o=!1,kind:l}=t;!o||"get"!==l&&"set"!==l||this.raise(Xl.DeclareAccessor,{at:t,kind:l}),a&&(t.typeParameters=a),super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){let i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"!==e.type||e.value.body)&&super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(110)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,...t){let r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){let r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l,u,c,p;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(l=this.state.clone(),u=this.tryParse((()=>super.parseMaybeAssign(...e)),l),!u.error)return u.node;let{context:t}=this.state,r=t[t.length-1];r!==io.j_oTag&&r!==io.j_expr||t.pop()}if(!(null!=(t=u)&&t.error||this.match(47)))return super.parseMaybeAssign(...e);l&&l!==this.state||(l=this.state.clone());let h=this.tryParse((t=>{var r,n;p=this.tsParseTypeParameters();let i=super.parseMaybeAssign(...e);return("ArrowFunctionExpression"!==i.type||null!=(r=i.extra)&&r.parenthesized)&&t(),0!==(null==(n=p)?void 0:n.params.length)&&this.resetStartLocationFromNode(i,p),i.typeParameters=p,i}),l);if(!h.error&&!h.aborted)return p&&this.reportReservedArrowTypeParam(p),h.node;if(!u&&(zl(!this.hasPlugin("jsx")),c=this.tryParse((()=>super.parseMaybeAssign(...e)),l),!c.error))return c.node;if(null!=(r=u)&&r.node)return this.state=u.failState,u.node;if(h.node)return this.state=h.failState,p&&this.reportReservedArrowTypeParam(p),h.node;if(null!=(n=c)&&n.node)return this.state=c.failState,c.node;throw null!=(i=u)&&i.thrown?u.error:h.thrown?h.error:null!=(s=c)&&s.thrown?c.error:(null==(a=u)?void 0:a.error)||h.error||(null==(o=c)?void 0:o.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Xl.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(14)){let t=this.tryParse((e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(17)&&("Identifier"===e.type||this.state.isAmbientContext||this.state.inType||this.raise(Xl.PatternIsOptional,{at:e}),e.optional=!0);let t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParemeterBindingError(Xl.UnexpectedTypeCastInParameter,{at:e}):this.raise(Xl.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":t||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return n={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==Qo||!t)&&["expression",!0],TSTypeAssertion:(r!==Qo||!t)&&["expression",!0]},i=e,Object.hasOwnProperty.call(n,i)&&n[i]||super.isValidLVal(e,t,r);var n,i}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...e){let t=super.parseMaybeDefault(...e);return"AssignmentPattern"===t.type&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(Xl.TypeAnnotationAfterAssign,{at:t.typeAnnotation}),t}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(48,1);if(60===e)return this.finishOp(47,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e){for(let t=0;t<e.length;t++){let r=e[t];"TSTypeCastExpression"===r?.type&&(e[t]=this.typeCastToParameter(r))}super.toAssignableList(...arguments)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every((e=>this.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){let r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(80))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(125)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Xl.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(...e){let t=super.parseMethod(...e);if(t.abstract&&(this.hasPlugin("estree")?t.value.body:t.body)){let{key:e}=t;this.raise(Xl.AbstractMethodHasImplementation,{at:t,methodName:"Identifier"!==e.type||t.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return t}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,n))}parseImportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,n))}parseTypeOnlyImportExportSpecifier(e,t,r){let n,i=t?"imported":"local",s=t?"local":"exported",a=e[i],o=!1,l=!0,u=a.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let r=this.parseIdentifier();Co(this.state.type)?(o=!0,a=e,n=t?this.parseIdentifier():this.parseModuleExportName(),l=!1):(n=r,l=!1)}else Co(this.state.type)?(l=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,a=e)}else Co(this.state.type)&&(o=!0,t?(a=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(a.name,a.loc.start,!0,!0)):a=this.parseModuleExportName());o&&r&&this.raise(t?Xl.TypeModifierIsUsedInTypeImports:Xl.TypeModifierIsUsedInTypeExports,{at:u}),e[i]=a,e[s]=n,e[t?"importKind":"exportKind"]=o?"type":"value",l&&this.eatContextual(93)&&(e[s]=t?this.parseIdentifier():this.parseModuleExportName()),e[s]||(e[s]=_l(e[i])),t&&this.checkIdentifier(e[s],9)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),Do(this.state.type)){let e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(140)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(140,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}isValidLVal(e,...t){return"Placeholder"===e||super.isValidLVal(e,...t)}toAssignable(e){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(...arguments)}isLet(e){return!!super.isLet(e)||!(!this.isContextual(99)||e)&&140===this.lookahead().type}verifyBreakContinue(e){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=this.parseStatement("label"),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){let n=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);let i=this.state.strict,s=this.parsePlaceholder("Identifier");if(s){if(!(this.match(81)||this.match(140)||this.match(5))){if(r||!t)return e.id=null,e.body=this.finishPlaceholder(s,"ClassBody"),this.finishNode(e,n);throw this.raise(Yl.ClassNameIsRequired,{at:this.state.startLoc})}e.id=s}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i),this.finishNode(e,n)}parseExport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let r=this.startNode();return r.exported=t,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(_o(140),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(t);return r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Yl.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},nu=Object.keys(ru),iu={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0},su=e=>"ParenthesizedExpression"===e.type?su(e.expression):e,au={kind:"loop"},ou={kind:"switch"},lu=/[\uD800-\uDFFF]/u,uu=/in(?:stanceof)?/y;class cu extends class extends class extends class extends class extends class extends class extends class extends class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,r]=e;if(!this.hasPlugin(t))return!1;let n=this.plugins.get(t);for(let e of Object.keys(r))if(n?.[e]!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}}{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,r=t.length;if(0===r)return;let n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);let{start:s}=e;for(;n>=0;n--){let r=t[n],i=r.end;if(!(i>s)){i===s&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(n,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Zo(e.leadingNode,t),null!==e.trailingNode&&(r=e.trailingNode,n=t,void 0===r.leadingComments?r.leadingComments=n:r.leadingComments.unshift(...n));else{let{containingNode:r,start:n}=e;if(44===this.input.charCodeAt(n-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":tl(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":tl(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":tl(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":tl(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":tl(r,r.specifiers,e);break;default:el(r,t)}else el(r,t)}var r,n}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:r}=t;if(0===r)return;let n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:n}=this.state,i=n.length;if(0===i)return;let s=i-1;for(;s>=0;s--){let i=n[s],a=i.end;if(i.start===r)i.leadingNode=e;else if(a===t)i.trailingNode=e;else if(a<t)break}}}{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new ll,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ml(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return sl.lastIndex=e,sl.test(this.input)?sl.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){let r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((([e,t])=>this.raise(e,{at:t}))),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(135):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());let t=this.state.pos,r=this.input.indexOf("*/",t+2);if(-1===r)throw this.raise(Za.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=r+2,nl.lastIndex=t+2;nl.test(this.input)&&nl.lastIndex<=r;)++this.state.curLine,this.state.lineStart=nl.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new qa(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(e){let t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!il(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,s={type:"CommentLine",value:this.input.slice(r+e,i),start:r,end:i,loc:new qa(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(s),s}skipSpace(){let e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let e=this.skipBlockComment();void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{let e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(ol(r))++this.state.pos;else if(45!==r||this.inModule){if(60!==r||this.inModule)break e;{let e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{let e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}else{let r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))break e;{let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){let r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(Za.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?Za.RecordExpressionHashIncorrectStartSyntaxType:Za.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else qo(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!il(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let r=this.input.slice(t+2,this.state.pos);return this.finishToken(28,r),!0}readToken_mult_modulo(e){let t=42===e?55:54,r=1,n=this.input.charCodeAt(this.state.pos+1);42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=57),61!==n||this.state.inType||(r++,t=37===e?33:30),this.finishOp(t,r)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Za.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Za.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);if(61!==e||this.state.inType)if(94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos))throw this.unexpected()}else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){let t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Za.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Za.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(qo(e))return void this.readWord(e)}throw this.raise(Za.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){let e,t,r=this.state.startLoc,n=this.state.start+1,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(Za.UnterminatedRegExp,{at:Va(r,1)});let n=this.input.charCodeAt(i);if(il(n))throw this.raise(Za.UnterminatedRegExp,{at:Va(r,1)});if(e)e=!1;else{if(91===n)t=!0;else if(93===n&&t)t=!1;else if(47===n&&!t)break;e=92===n}}let s=this.input.slice(n,i);++i;let a="",o=()=>Va(r,i+2-n);for(;i<this.length;){let e=this.codePointAtPos(i),t=String.fromCharCode(e);if(hl.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",o()),a.includes("u")&&this.raise(Za.IncompatibleRegExpUVFlags,{at:o()})):117===e&&a.includes("v")&&this.raise(Za.IncompatibleRegExpUVFlags,{at:o()}),a.includes(t)&&this.raise(Za.DuplicateRegExpFlags,{at:o()});else{if(!Vo(e)&&92!==e)break;this.raise(Za.MalformedRegExpFlags,{at:o()})}++i,a+=t}this.state.pos=i,this.finishToken(133,{pattern:s,flags:a})}readInt(e,t,r,n=!0){let i=this.state.pos,s=16===e?dl.hex:dl.decBinOct,a=16===e?fl.hex:10===e?fl.dec:8===e?fl.oct:fl.bin,o=!1,l=0;for(let i=0,u=t??1/0;i<u;++i){let t,i=this.input.charCodeAt(this.state.pos);if(95!==i||"bail"===n){if(t=i>=97?i-97+10:i>=65?i-65+10:pl(i)?i-48:1/0,t>=e)if(this.options.errorRecovery&&t<=9)t=0,this.raise(Za.InvalidDigit,{at:this.state.curPosition(),radix:e});else{if(!r)break;t=0,o=!0}++this.state.pos,l=l*e+t}else{let e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);n?(Number.isNaN(t)||!a(t)||s.has(e)||s.has(t))&&this.raise(Za.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(Za.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===i||null!=t&&this.state.pos-i!==t||o?null:l}readRadixNumber(e){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(e);null==n&&this.raise(Za.InvalidDigit,{at:Va(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(Za.InvalidDecimal,{at:t});if(qo(this.codePointAtPos(this.state.pos)))throw this.raise(Za.NumberIdentifier,{at:this.state.curPosition()});if(r){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e)}else this.finishToken(130,n)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,s=!1,a=!1,o=!1;e||null!==this.readInt(10)||this.raise(Za.InvalidNumber,{at:this.state.curPosition()});let l=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(l){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(Za.StrictOctalLiteral,{at:r}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(Za.ZeroDigitNumericSeparator,{at:Va(r,t)})}o=l&&!/[89]/.test(e)}let u=this.input.charCodeAt(this.state.pos);if(46!==u||o||(++this.state.pos,this.readInt(10),n=!0,u=this.input.charCodeAt(this.state.pos)),69!==u&&101!==u||o||(u=this.input.charCodeAt(++this.state.pos),43!==u&&45!==u||++this.state.pos,null===this.readInt(10)&&this.raise(Za.InvalidOrMissingExponent,{at:r}),n=!0,a=!0,u=this.input.charCodeAt(this.state.pos)),110===u&&((n||l)&&this.raise(Za.InvalidBigIntLiteral,{at:r}),++this.state.pos,i=!0),109===u&&(this.expectPlugin("decimal",this.state.curPosition()),(a||l)&&this.raise(Za.InvalidDecimal,{at:r}),++this.state.pos,s=!0),qo(this.codePointAtPos(this.state.pos)))throw this.raise(Za.NumberIdentifier,{at:this.state.curPosition()});let c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(131,c);if(s)return void this.finishToken(132,c);let p=o?parseInt(c,8):parseFloat(c);this.finishToken(130,p)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){if(++this.state.pos,t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(Za.InvalidCodePoint,{at:this.state.curPosition()})}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Za.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(92===n)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===n||8233===n)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(il(n))throw this.raise(Za.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(129,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,r=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(Za.UnterminatedTemplate,{at:Va(this.state.startLoc,1)});let n=this.input.charCodeAt(this.state.pos);if(96===n)return++this.state.pos,e+=this.input.slice(t,this.state.pos),void this.finishToken(24,r?null:e);if(36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos+=2,e+=this.input.slice(t,this.state.pos),void this.finishToken(25,r?null:e);if(92===n){e+=this.input.slice(t,this.state.pos);let n=this.readEscapedChar(!0);null===n?r=!0:e+=n,t=this.state.pos}else if(il(n)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,n){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,{at:t}){let r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,{at:t}):this.state.strictErrors.set(r,[e,t])}readEscapedChar(e){let t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:{let e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{let e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(Za.StrictNumericEscape,{at:Va(this.state.curPosition(),-1)});default:if(r>=48&&r<=55){let t=Va(this.state.curPosition(),-1),r=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/)[0],n=parseInt(r,8);n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),this.state.pos+=r.length-1;let i=this.input.charCodeAt(this.state.pos);if("0"!==r||56===i||57===i){if(e)return null;this.recordStrictModeErrors(Za.StrictNumericEscape,{at:t})}return String.fromCharCode(n)}return String.fromCharCode(r)}}readHexChar(e,t,r){let n=this.state.curPosition(),i=this.readInt(16,e,t,!1);return null===i&&(r?this.raise(Za.InvalidEscapeSequence,{at:n}):this.state.pos=n.index-1),i}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(Vo(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(n,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===r?qo:Vo;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(Za.MissingUnicodeEscape,{at:this.state.curPosition()}),n=this.state.pos-1;continue}++this.state.pos;let s=this.readCodePoint(!0);null!==s&&(i(s)||this.raise(Za.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(s)),n=this.state.pos}}}return t+this.input.slice(n,this.state.pos)}readWord(e){let t=this.readWord1(e),r=po.get(t);void 0!==r?this.finishToken(r,_o(r)):this.finishToken(128,t)}checkKeywordEscapes(){let{type:e}=this.state;No(e)&&this.state.containsEsc&&this.raise(Za.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:_o(e)})}raise(e,t){let{at:r}=t,n=Ua(t,ul),i=e({loc:r instanceof $a?r:r.loc.start,details:n});if(!this.options.errorRecovery)throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,t){let{at:r}=t,n=Ua(t,cl),i=r instanceof $a?r:r.loc.start,s=i.index,a=this.state.errors;for(let t=a.length-1;t>=0;t--){let r=a[t];if(r.loc.index===s)return a[t]=e({loc:i,details:n});if(r.loc.index<s)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(Za.UnexpectedToken,{expected:t?_o(t):null,at:e??this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(Za.MissingPlugin,{at:t??this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(Za.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}}{addExtra(e,t,r,n=!0){if(!e)return;let i=e.extra=e.extra||{};n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let r=e+t.length;if(this.input.slice(e,r)===t){let e=this.input.charCodeAt(r);return!(Vo(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e))throw null!=t?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,e)}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return rl.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return al.lastIndex=this.state.end,al.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(Za.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){let r={node:null};try{let n=e(((e=null)=>{throw r.node=e,r}));if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let n=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:n};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:n};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:i,optionalParametersLoc:s}=e;if(!t)return!!(r||n||s||i);null!=r&&this.raise(Za.InvalidCoverInitializedName,{at:r}),null!=n&&this.raise(Za.DuplicateProto,{at:n}),null!=i&&this.raise(Za.UnexpectedPrivateField,{at:i}),null!=s&&this.unexpected(s)}isLiteralPropertyName(){return wo(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){let t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let n=this.inModule;this.inModule=e;let i=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let a=this.prodParam;this.prodParam=new Cl;let o=this.classScope;this.classScope=new bl(this);let l=this.expressionScope;return this.expressionScope=new Al(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=l}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}{startNode(){return new kl(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new kl(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){return e.type=t,e.end=r.index,e.loc.end=r,this.options.ranges&&(e.range[1]=r.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}{toAssignable(e,t=!1){var r,n;let i;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=su(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParemeterBindingError(Za.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(Za.InvalidParenthesizedAssignment,{at:e}):this.raise(Za.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r<n;r++){var s;let n=e.properties[r],a=r===i;this.toAssignableObjectExpressionProp(n,a,t),a&&"RestElement"===n.type&&null!=(s=e.extra)&&s.trailingCommaLoc&&this.raise(Za.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(n=e.extra)?void 0:n.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(Za.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?Za.PatternHasAccessor:Za.PatternHasMethod,{at:e.key});else if("SpreadElement"===e.type){e.type="RestElement";let n=e.argument;this.checkToRestConversion(n,!1),this.toAssignable(n,r),t||this.raise(Za.RestTrailingComma,{at:e})}else this.toAssignable(e,r)}toAssignableList(e,t,r){let n=e.length-1;for(let i=0;i<=n;i++){let s=e[i];if(s){if("SpreadElement"===s.type){s.type="RestElement";let e=s.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,r)}else this.toAssignable(s,r);"RestElement"===s.type&&(i<n?this.raise(Za.RestTrailingComma,{at:s}):t&&this.raise(Za.RestTrailingComma,{at:t}))}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let t=e.properties.length-1;return e.properties.every(((e,r)=>"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)"ArrayExpression"===t?.type&&this.toReferencedListDeep(t.elements)}parseSpread(e,t){let r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0,t),this.finishNode(r,"SpreadElement")}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Za.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(n,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,start:r,startLoc:n}=this.state;return 21===t?this.parseBindingRestProperty(e):(134===t?(this.expectPlugin("destructuringPrivate",n),this.classScope.usePrivateName(this.state.value,n),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,n,!1,!1,!0,!1),e)}parseAssignableListItem(e,t){let r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);let n=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var n,i,s;if(t=null!=(n=t)?n:this.state.startLoc,e=null!=(i=e)?i:this.state.start,r=null!=(s=r)?s:this.parseBindingAtom(),!this.eat(29))return r;let a=this.startNodeAt(e,t);return a.left=r,a.right=this.parseMaybeAssignAllowIn(),this.finishNode(a,"AssignmentPattern")}isValidLVal(e,t,r){return n={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},i=e,Object.hasOwnProperty.call(n,i)&&n[i];var n,i}checkLVal(e,{in:t,binding:r=64,checkClashes:n=!1,strictModeChanged:i=!1,allowingSloppyLetBinding:s=!(8&r),hasParenthesizedAncestor:a=!1}){var o;let l=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===l)return void(r!==Qo&&this.raise(Za.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===e.type){this.checkIdentifier(e,r,i,s);let{name:t}=e;return void(n&&(n.has(t)?this.raise(Za.ParamDupe,{at:e}):n.add(t)))}let u=this.isValidLVal(e.type,!(a||null!=(o=e.extra)&&o.parenthesized)&&"AssignmentExpression"===t.type,r);if(!0===u)return;if(!1===u){let n=r===Qo?Za.InvalidLhs:Za.InvalidLhsBinding;return void this.raise(n,{at:e,ancestor:"UpdateExpression"===t.type?{type:"UpdateExpression",prefix:t.prefix}:{type:t.type}})}let[c,p]=Array.isArray(u)?u:[u,"ParenthesizedExpression"===l],h="ArrayPattern"===e.type||"ObjectPattern"===e.type||"ParenthesizedExpression"===e.type?e:t;for(let t of[].concat(e[c]))t&&this.checkLVal(t,{in:h,binding:r,checkClashes:n,allowingSloppyLetBinding:s,strictModeChanged:i,hasParenthesizedAncestor:p})}checkIdentifier(e,t,r=!1,n=!(8&t)){this.state.strict&&(r?Yo(e.name,this.inModule):Go(e.name))&&(t===Qo?this.raise(Za.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(Za.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),n||"let"!==e.name||this.raise(Za.LetInLexicalBinding,{at:e}),t&Qo||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(Za.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?Za.RestTrailingComma:Za.ElementAfterRest,{at:this.state.startLoc}),!0)}}{checkProto(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(Za.RecordNoProto,{at:i});r.used&&(n?null===n.doubleProtoLoc&&(n.doubleProtoLoc=i.loc.start):this.raise(Za.DuplicateProto,{at:i})),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){let t=this.state.start,r=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){let i=this.startNodeAt(t,r);for(i.expressions=[n];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=null!=(r=t?.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){let r,n=this.state.start,i=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n,i)),e}e?r=!1:(e=new Pl,r=!0);let{type:s}=this.state;(10===s||Do(s))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(t&&(a=t.call(this,a,n,i)),(o=this.state.type)>=29&&o<=33){let t=this.startNodeAt(n,i),r=this.state.value;return t.operator=r,this.match(29)?(this.toAssignable(a,!0),t.left=a,null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=n&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=n&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=n&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)):t.left=a,this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(t,"AssignmentExpression")}),t}var o;return r&&this.checkExpressionErrors(e,!0),a}parseMaybeConditional(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,n)?i:this.parseConditional(i,t,r,e)}parseConditional(e,t,r,n){if(this.eat(17)){let n=this.startNodeAt(t,r);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,n)?i:this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(n>=Oo(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Za.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let i=this.state.type;if((s=i)>=39&&s<=59&&(this.prodParam.hasIn||!this.match(58))){let s=Oo(i);if(s>n){if(39===i){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,r)}let a=this.startNodeAt(t,r);a.left=e,a.operator=this.state.value;let o=41===i||42===i,l=40===i;if(l&&(s=Oo(42)),this.next(),39===i&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(Za.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(i,s),this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");let u=this.state.type;if(l&&(41===u||42===u)||o&&40===u)throw this.raise(Za.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(a,t,r,n)}}var s;return e}parseExprOpRightExpr(e,t){let r=this.state.start,n=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105))throw this.raise(Za.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,n)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let r=this.state.start,n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,n,57===e?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return!Wa.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(Za.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Za.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(Za.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let r=this.state.start,n=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(r,n);return t||this.checkExponentialAfterUnary(e),e}let s=this.match(34),a=this.startNode();if(o=this.state.type,bo[o]){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let r=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){let e=a.argument;"Identifier"===e.type?this.raise(Za.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(e)&&this.raise(Za.DeletePrivateField,{at:a})}if(!s)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}var o;let l=this.parseUpdate(a,s,e);if(i){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?Po(e):Po(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Za.AwaitNotInAsyncContext,{at:n}),this.parseAwait(r,n)}return l}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")}),e;let n=this.state.start,i=this.state.startLoc,s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return s;for(;34===this.state.type&&!this.canInsertSemicolon();){let e=this.startNodeAt(n,i);e.operator=this.state.value,e.prefix=!1,e.argument=s,this.next(),this.checkLVal(s,{in:s=this.finishNode(e,"UpdateExpression")})}return s}parseExprSubscripts(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,n)?i:this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}parseSubscript(e,t,r,n,i){let{type:s}=this.state;if(!n&&15===s)return this.parseBind(e,t,r,n,i);if(Fo(s))return this.parseTaggedTemplateExpression(e,t,r,i);let a=!1;if(18===s){if(n&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,a);{let n=this.eat(0);return n||a||this.eat(16)?this.parseMember(e,t,r,i,n,a):(i.stop=!0,e)}}parseMember(e,t,r,n,i,s){let a=this.startNodeAt(t,r);return a.object=e,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(134)?("Super"===e.type&&this.raise(Za.SuperPrivateField,{at:r}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=s,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,t,r,n,i){let s=this.startNodeAt(t,r);return s.object=e,this.next(),s.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){let s=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t,r);o.callee=e;let{maybeAsyncArrow:l,optionalChainMember:u}=n;return l&&(this.expressionScope.enter(new Tl(2)),a=new Pl),u&&(o.optional=i),o.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,a),this.finishCallExpression(o,u),l&&this.shouldParseAsyncArrow()&&!i?(n.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(o)),this.state.maybeInArrowParameters=s,o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){let i=this.startNodeAt(t,r);return i.tag=e,i.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(Za.OptionalChainingNoTemplate,{at:r}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(Za.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let t of e.arguments)"SpreadElement"===t.type&&this.raise(Za.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){let s=[],a=!0,o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(Za.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),n&&this.addTrailingCommaExtraToNode(n),this.next();break}s.push(this.parseExprListItem(!1,i,r))}return this.state.inFSharpPipelineDirectBody=o,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingCommaLoc),t.innerComments&&el(e,t.innerComments),t.callee.trailingComments&&el(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(Za.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(Za.UnsupportedBind,{at:e})}case 134:return this.raise(Za.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{let e=this.input.codePointAt(this.nextTokenStart());if(qo(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(Do(r)){if(this.isContextual(123)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0);if(Do(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(90===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=Va(this.state.endLoc,-1),this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?Za.PrimaryTopicNotAllowed:Za.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,n)}throw this.raise(Za.PipeTopicUnconfiguredToken,{at:t,token:_o(n)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:_o(r)}]);case"smart":return 27===r;default:throw this.raise(Za.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(wl(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Za.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(Za.UnexpectedSuper,{at:e}):this.raise(Za.SuperNotAllowed,{at:e}),this.match(10)||this.match(0)||this.match(16)||this.raise(Za.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(this.state.start+1,new $a(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;let n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(Za.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(Za.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){let r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t,r=this.state.start,n=this.state.startLoc;this.next(),this.expressionScope.enter(new Tl(1));let i=this.state.maybeInArrowParameters,s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a,o,l=this.state.start,u=this.state.startLoc,c=[],p=new Pl,h=!0;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,null===p.optionalParametersLoc?null:p.optionalParametersLoc),this.match(11)){o=this.state.startLoc;break}if(this.match(21)){let e=this.state.start,t=this.state.startLoc;if(a=this.state.startLoc,c.push(this.parseParenItem(this.parseRestBinding(),e,t)),!this.checkCommaAfterRest(41))break}else c.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=s;let f=this.startNodeAt(r,n);return e&&this.shouldParseArrow(c)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(p),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,c,!1),f):(this.expressionScope.exit(),c.length||this.unexpected(this.state.lastTokStartLoc),o&&this.unexpected(o),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.toReferencedListDeep(c,!0),c.length>1?(t=this.startNodeAt(l,u),t.expressions=c,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,d)):t=c[0],this.wrapParenthesis(r,n,t))}wrapParenthesis(e,t,r){if(!this.options.createParenthesizedExpressions)return this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",e),this.takeSurroundingComments(r,e,this.state.lastTokEndLoc.index),r;let n=this.startNodeAt(e,t);return n.expression=r,this.finishNode(n,"ParenthesizedExpression"),n}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(Za.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(Za.ImportCallNotNewExpression,{at:e.callee}):this.isOptionalChain(e.callee)?this.raise(Za.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(Za.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(e){let{start:t,startLoc:r,end:n,value:i}=this.state,s=t+1,a=this.startNodeAt(s,Va(r,1));null===i&&(e||this.raise(Za.InvalidEscapeSequenceTemplate,{at:Va(r,2)}));let o=this.match(24),l=o?-1:-2,u=n+l;return a.value={raw:this.input.slice(s,u).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,l)},a.tail=o,this.next(),this.finishNode(a,"TemplateElement"),this.resetEndLocation(a,Va(this.state.lastTokEndLoc,l)),a}parseTemplate(e){let t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=Object.create(null),a=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(o);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(n),this.checkProto(i,r,s,n)),r&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(Za.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),o.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";return t?l="ObjectPattern":r&&(l="RecordExpression"),this.finishNode(o,l)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Za.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r,n,i=this.startNode(),s=!1,a=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(i.decorators=t,t=[]),i.method=!1,e&&(r=this.state.start,n=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(i);let l=this.state.containsEsc,u=this.parsePropertyName(i,e);if(!o&&!l&&this.maybeAsyncOrAccessorProp(i)){let e=u.name;"async"!==e||this.hasPrecedingLineBreak()||(s=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(i)),"get"!==e&&"set"!==e||(a=!0,this.resetPreviousNodeTrailingComments(u),i.kind=e,this.match(55)&&(o=!0,this.raise(Za.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,r,n,o,s,!1,a,e),i}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==r&&this.raise("get"===e.kind?Za.BadGetterArity:Za.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(Za.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,n,i){return i?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):r||t||this.match(10)?(n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,r,n,i){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(t,r,_l(e.key));else if(this.match(29)){let n=this.state.startLoc;null!=i?null===i.shorthandAssignLoc&&(i.shorthandAssignLoc=n):this.raise(Za.InvalidCoverInitializedName,{at:n}),e.value=this.parseMaybeDefault(t,r,_l(e.key))}else e.value=_l(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,i,s,a,o){let l=this.parseObjectMethod(e,n,i,s,a)||this.parseObjectProperty(e,t,r,s,o);return l||this.unexpected(),l}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let r,{type:n,value:i}=this.state;if(Co(n))r=this.parseIdentifier(!0);else switch(n){case 130:r=this.parseNumericLiteral(i);break;case 129:r=this.parseStringLiteral(i);break;case 131:r=this.parseBigIntLiteral(i);break;case 132:r=this.parseDecimalLiteral(i);break;case 134:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(Za.UnexpectedPrivateField,{at:e}),r=this.parsePrivateName();break}default:throw this.unexpected()}e.key=r,134!==n&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,n,i,s,a=!1){this.initFunction(e,r),e.generator=!!t;let o=n;return this.scope.enter(18|(a?64:0)|(i?32:0)),this.prodParam.enter(wl(r,e.generator)),this.parseFunctionParams(e,o),this.parseFunctionBodyAndFinish(e,s,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,n,s),this.state.inFSharpPipelineDirectBody=i,this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(6);let i=wl(r,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,r);let s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t,r=!1){this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){let n=t&&!this.match(5);if(this.expressionScope.enter(Dl()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(i=>{let s=!this.isSimpleParamList(e.params);i&&s&&this.raise(Za.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let a=!n&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||s),t,a),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,a)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,r,n=!0){let i=!t&&new Set,s={type:"FormalParameters"};for(let t of e.params)this.checkLVal(t,{in:s,binding:5,checkClashes:i,strictModeChanged:n})}parseExprList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(t,r))}return i}parseExprListItem(e,t,r){let n;if(this.match(12))e||this.raise(Za.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),n=null;else if(this.match(21)){let e=this.state.start,r=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(Za.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return n}parseIdentifier(e){let t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r,{startLoc:n,type:i}=this.state;if(!Co(i))throw this.unexpected();r=this.state.value;let s=i<=92;return t?s&&this.replaceToken(128):this.checkReservedWord(r,n,s,!1),this.next(),r}checkReservedWord(e,t,r,n){if(!(e.length>10)&&(i=e,Ho.has(i))){if("yield"===e){if(this.prodParam.hasYield)return void this.raise(Za.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(Za.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(Za.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(Za.ArgumentsInClass,{at:t});if(r&&function(e){return zo.has(e)}(e))return void this.raise(Za.UnexpectedKeyword,{at:t,keyword:e});(this.state.strict?n?Yo:Wo:Ko)(e,this.inModule)&&this.raise(Za.UnexpectedReservedWord,{at:t,reservedWord:e})}var i}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e,t){let r=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(Za.AwaitExpressionFormalParameter,{at:r}),this.eat(55)&&this.raise(Za.ObsoleteAwaitStar,{at:r}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||Fo(e)||133===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(Za.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(Za.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t,r){let n=this.startNodeAt(t,r);return this.isSimpleReference(e)?(n.callee=e,this.finishNode(n,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(r),n.expression=e,this.finishNode(n,"PipelineTopicExpression"))}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(Za.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(Za.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);return this.state.inFSharpPipelineDirectBody=n,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.eat(5);let t=this.initializeScopes(!0);this.enterInitialScopes();let r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e,t){for(let r=0;r<e.length;r++){let n=e[r],{type:i}=n;if("number"==typeof i){if(134===i){let{loc:t,start:i,value:s,end:a}=n,o=i+1,l=Va(t.start,1);e.splice(r,1,new ml({type:Io(27),value:"#",start:i,end:o,startLoc:t.start,endLoc:l}),new ml({type:Io(128),value:s,start:o,end:a,startLoc:l,endLoc:t.end})),r++;continue}if(Fo(i)){let s,a,o,l,u,{loc:c,start:p,value:h,end:d}=n,f=p+1,m=Va(c.start,1);s=96===t.charCodeAt(p)?new ml({type:Io(22),value:"`",start:p,end:f,startLoc:c.start,endLoc:m}):new ml({type:Io(8),value:"}",start:p,end:f,startLoc:c.start,endLoc:m}),24===i?(o=d-1,l=Va(c.end,-1),a=null===h?null:h.slice(1,-1),u=new ml({type:Io(22),value:"`",start:o,end:d,startLoc:l,endLoc:c.end})):(o=d-2,l=Va(c.end,-2),a=null===h?null:h.slice(1,-2),u=new ml({type:Io(23),value:"${",start:o,end:d,startLoc:l,endLoc:c.end})),e.splice(r,1,s,new ml({type:Io(20),value:a,start:f,end:o,startLoc:m,endLoc:l}),u),r+=2;continue}n.type=Io(i)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=135,r=this.options.sourceType){if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(Za.ModuleExportUndefined,{at:t,localName:e});return this.finishNode(e,"Program")}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,n=r.value,i=this.input.slice(r.start,r.end),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",n),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(99)&&this.isLetKeyword(e)}isLetKeyword(e){let t=this.nextTokenStart(),r=this.codePointAtPos(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(qo(r)){if(uu.lastIndex=t,uu.test(this.input)){let e=this.codePointAtPos(uu.lastIndex);if(!Vo(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r,n=this.state.type,i=this.startNode();switch(this.isLet(e)&&(n=74,r="let"),n){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoStatement(i);case 91:return this.parseForStatement(i);case 68:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(Za.StrictFunction,{at:this.state.startLoc}):"if"!==e&&"label"!==e&&this.raise(Za.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(i,!1,!e);case 80:return e&&this.unexpected(),this.parseClass(i,!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 75:case 74:return r=r||this.state.value,e&&"var"!==r&&this.raise(Za.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,r);case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||t||this.raise(Za.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===n?(e=this.parseImport(i),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(i),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(i),e}default:if(this.isAsyncFunction())return e&&this.raise(Za.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!e)}let s=this.state.value,a=this.parseExpression();return Do(n)&&"Identifier"===a.type&&this.eat(14)?this.parseLabeledStatement(i,s,a,e):this.parseExpressionStatement(i,a)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(Za.ImportOutsideModule,{at:e})}takeDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let e=this.parseDecorator();t.push(e)}if(this.match(82))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Za.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(Za.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let t,r=this.state.start,n=this.state.startLoc;if(this.match(10)){let e=this.state.start,r=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(e,r,t)}else for(t=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(r,n);e.object=t,e.property=this.parseIdentifier(!0),e.computed=!1,t=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){let n=this.state.labels[r];if((null==e.label||n.name===e.label.name)&&(null!=n.kind&&(t||"loop"===n.kind)||e.label&&t))break}if(r===this.state.labels.length){let r=t?"BreakStatement":"ContinueStatement";this.raise(Za.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(au),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("do"))),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(au);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(99),n=r&&this.isLetKeyword();if(this.match(74)||this.match(75)||n){let r=this.startNode(),i=n?"let":this.state.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.match(58)||this.isContextual(101))&&1===r.declarations.length?this.parseForIn(e,r,t):(null!==t&&this.unexpected(t),this.parseFor(e,r))}let i=this.isContextual(95),s=new Pl,a=this.parseExpression(!0,s),o=this.isContextual(101);if(o&&(r&&this.raise(Za.ForOfLet,{at:a}),null===t&&i&&"Identifier"===a.type&&this.raise(Za.ForOfAsync,{at:a})),o||this.match(58)){this.checkDestructuringPrivate(s),this.toAssignable(a,!0);let r=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:r}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(s,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(Za.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t,r,n=e.cases=[];for(this.expect(5),this.state.labels.push(ou),this.scope.enter(0);!this.match(8);)if(this.match(61)||this.match(65)){let e=this.match(61);t&&this.finishNode(t,"SwitchCase"),n.push(t=this.startNode()),t.consequent=[],this.next(),e?t.test=this.parseExpression():(r&&this.raise(Za.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),r=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Za.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9,allowingSloppyLetBinding:!0}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,e.handler||e.finalizer||this.raise(Za.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,r=!1){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(au),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while"))),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(Za.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with"))),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let e of this.state.labels)e.name===t&&this.raise(Za.LabelRedeclaration,{at:r,labelName:t});let i=(s=this.state.type)>=90&&s<=92?"loop":this.match(71)?"switch":null;var s;for(let t=this.state.labels.length-1;t>=0;t--){let r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,r){let n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){let s=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){let s=this.state.strict,a=!1,o=!1;for(;!this.match(n);){let n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){let e=this.stmtToDirective(n);t.push(e),a||"use strict"!==e.value.value||(a=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,a),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){let n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"!==t.type||null==t.declarations[0].init||n&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(Za.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(Za.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r,n=!1){let i=e.declarations=[];for(e.kind=r;;){let e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||n||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"!==r||this.match(58)||this.isContextual(101)||this.raise(Za.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(Za.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:"var"===t?5:9})}parseFunction(e,t=0,r=!1){let n=1&t,i=2&t,s=!(!n||4&t);this.initFunction(e,r),this.match(55)&&i&&this.raise(Za.GeneratorInSingleStatementContext,{at:this.state.startLoc}),e.generator=this.eat(55),n&&(e.id=this.parseFunctionId(s));let a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(wl(r,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||Do(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new Sl(3)),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:9:17,e.id.loc.start)}parseClass(e,t,r){this.next(),this.takeDecorators(e);let n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:e},n=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(n.length>0)throw this.raise(Za.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){n.push(this.parseDecorator());continue}let e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(Za.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),n.length)throw this.raise(Za.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){let n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){let i=t,s=t,a=t,o=t,l=t,u=i,c=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(55)){u.kind="method";let t=this.match(134);return this.parseClassElementName(u),t?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(Za.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}let p=Do(this.state.type)&&!this.state.containsEsc,h=this.match(134),d=this.parseClassElementName(t),f=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(u.kind="method",h)return void this.pushClassPrivateMethod(e,s,!1,!1);let n=this.isNonstaticConstructor(i),a=!1;n&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Za.DuplicateConstructor,{at:d}),n&&this.hasPlugin("typescript")&&t.override&&this.raise(Za.OverrideOnConstructor,{at:d}),r.hadConstructor=!0,a=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,a)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a);else if(p&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let t=this.eat(55);c.optional&&this.unexpected(f),u.kind="method";let r=this.match(134);this.parseClassElementName(u),this.parsePostMemberNameModifiers(c),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(i)&&this.raise(Za.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let t=this.match(134);this.parseClassElementName(a),this.pushClassAccessorProperty(e,l,t)}else this.isLineTerminator()?h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),u.kind=d.name;let t=this.match(134);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(Za.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){let{type:t,value:r}=this.state;if(128!==t&&129!==t||!e.static||"prototype"!==r||this.raise(Za.StaticPrototype,{at:this.state.startLoc}),134===t){"constructor"===r&&this.raise(Za.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);let n=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(Za.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(Za.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){let e=t.key;"constructor"!==e.name&&"constructor"!==e.value||this.raise(Za.ConstructorClassField,{at:e})}let n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){let i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let s="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,s)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(Dl()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,n=139){if(Do(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else{if(!r&&t)throw this.raise(Za.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){let t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(12),n=r&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),s=r&&(!i||this.eat(12)),a=t||n;if(n&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");let o,l=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!l||i&&s&&!l)throw this.unexpected(null,5);if(a||l?(o=!1,this.parseExportFrom(e,a)):o=this.maybeParseExportDeclaration(e),a||l||o)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(65))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!rl.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Za.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(Za.UnsupportedDefaultExport,{at:this.state.startLoc});let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:e}=this.state;if(Do(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((126===e||125===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(Do(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||Do(this.state.type)&&r)return!0;if(this.match(65)&&r){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;if(26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(Za.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return 74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(i=t.extra)&&i.parenthesized||this.raise(Za.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!n&&t.local){let{local:e}=t;"Identifier"!==e.type?this.raise(Za.ExportBindingIsString,{at:t,localName:e.value,exportName:r}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(Za.UnsupportedDecoratorExport,{at:e})}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(Za.DuplicateDefaultExport,{at:e}):this.raise(Za.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;let n=this.isContextual(126),i=this.match(129),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=function(e){let{type:t,start:r,end:n,loc:i,range:s,extra:a}=e;if("Placeholder"===t)return _l(e);let o=Object.create(Nl);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=s,void 0!==e.raw?o.raw=e.raw:o.extra=a,o.value=e.value,o}(e.local):e.exported||(e.exported=_l(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(lu);return t&&this.raise(Za.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(129)){let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return Do(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t){return this.checkLVal(e.local,{in:e,binding:9}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(Za.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n}),t.add(n),this.match(129)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(Za.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(Za.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(Za.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(129))throw this.raise(Za.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(Za.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),n=this.match(129),i=this.isContextual(126);r.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:r}=e;if(t)throw this.raise(Za.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=_l(r))}return this.finishImportSpecifier(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}{constructor(e,t){super(e=function(e){let t={};for(let r of Object.keys(iu))t[r]=e&&null!=e[r]?e[r]:iu[r];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){let t=new Map;for(let r of e){let[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return gl}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}}let pu=function(e){let t={};for(let r of Object.keys(e))t[r]=Io(e[r]);return t}(Ao);function hu(e,t){let r=cu;return null!=e&&e.plugins&&(function(e){if(Hl(e,"decorators")){if(Hl(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Ql(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(Hl(e,"flow")&&Hl(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Hl(e,"placeholders")&&Hl(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Hl(e,"pipelineOperator")){let t=Ql(e,"pipelineOperator","proposal");if(!Zl.includes(t)){let e=Zl.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}let r=Hl(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(Hl(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Hl(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=Ql(e,"pipelineOperator","topicToken");if(!eu.includes(t)){let e=eu.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Hl(e,"moduleAttributes")){if(Hl(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Ql(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Hl(e,"recordAndTuple")&&!tu.includes(Ql(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+tu.map((e=>`'${e}'`)).join(", "));if(Hl(e,"asyncDoExpressions")&&!Hl(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){let t=nu.filter((t=>Hl(e,t))),r=t.join("/"),n=du[r];if(!n){n=cu;for(let e of t)n=ru[e](n);du[r]=n}return n}(e.plugins)),new r(e,t)}let du={};ja.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return hu(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let r=hu(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",hu(t,e).parse()}catch{}else n.program.sourceType="script";return n}catch(r){try{return t.sourceType="script",hu(t,e).parse()}catch{}throw r}},ja.parseExpression=function(e,t){let r=hu(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},ja.tokTypes=pu;let fu=P,mu=ja;var yu=function(t,r){let n={allowHashBang:!0,ecmaVersion:1/0,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowAwaitOutsideFunction:!0,allowUndeclaredExports:!0,allowSuperOutsideMethod:!0,startLine:1,tokens:!0,...(r=r||e.parseOptions)||{},plugins:(r&&r.plugins?r.plugins:[]).concat(["plugin-syntax-typescript","typescript","asyncGenerators","bigInt","classProperties","classPrivateProperties","classPrivateMethods","doExpressions","dynamicImport","exportDefaultFrom","exportNamespaceFrom","functionBind","functionSent","importMeta","logicalAssignment","nullishCoalescingOperator","numericSeparator","objectRestSpread","optionalCatchBinding","optionalChaining","partialApplication",["pipelineOperator",{proposal:"smart"}],"throwExpressions","topLevelAwait","decorators-legacy",["@babel/plugin-syntax-decorators","decorators",{decoratorsBeforeExport:!0}]])};return fu.parse(t,{parser:{parse(e){try{try{return mu.parse(e,n)}catch{if(n.plugins){let e=n.plugins.indexOf("jsx");-1==e?n.plugins.push("jsx"):n.plugins.splice(e,1)}return mu.parse(e,n)}}catch(e){throw Error(e.message)}}}})},gu={isObject:function(e){return"object"==typeof e&&e},hasOwn:Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty),escapeRegExp:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}};let{isObject:xu}=gu,vu=["computed","range","loc","type","raw","start","end","shorthand","extra","static","trailing","leading","method","__clone","__proto__"],Eu=["Super","Import","ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier","exportSpecifier","exportDefaultSpecifier","exportNamespaceSpecifier","ThisExpression","ReturnStatement"],bu=function(e,t,r,n){let i=r||vu;for(let r in e)("type"===r&&Eu.indexOf(e[r])>-1||-1==i.indexOf(r)&&void 0!==e[r]&&null!==e[r])&&(xu(e[r])?Array.isArray(e[r])?(t[r]=[],e[r].forEach(((e,n)=>{t[r][n]={},bu(e,t[r][n],i)}))):(t[r]={},bu(e[r],t[r],i)):n?"string"==typeof e[r]&&(e[r]=e[r].replace(/\$_\$/g,n).replace(/\$\$\$/g,n.slice(0,-1)+"$3").replace(/\/\$_\/\$/g,"$_$").replace(/\/\$\/\$\/\$/g,"$$$$$$"),t[r]=e[r]):t[r]=e[r])};var Su=bu;let Tu=yu,Au=P.types.visit,Du=Su,Cu=P;var wu=function(e,t){return t?Cu.prettyPrint(e).code:Cu.print(e).code};let Pu=wu,{isObject:ku,hasOwn:Nu}=gu,_u=P.types.visit,Ou=Su,Fu=wu,Iu=["arguments","params"],Bu="g123o456g789o";function Lu(e,t,r,n){return Object.keys(t).every((i=>{let{specific:s,result:a}=function({full:e,partial:t,prop:r,extraData:n,Expando:i,find$$$:s}={}){let a,o;if("body"==r)try{let r=t.body;Array.isArray(t.body)?r=t.body[0]||t.body.body[0]:t.body&&t.body.body&&(r=t.body.body[0]);let s="";if(r&&(s=r.expression?r.expression.name:r.name?r.name:""),s&&s.match&&s.match(i)){let t=s.replace(i,"")||"0";n[t]=n[t]||[];let r=Pu(e.body)||"";"{"==r.trim()[0]&&(r=r.slice(1,-2)),n[t].push({node:e.body,value:r}),a="body",o=!0}}catch{}if(t&&t.typeName&&!t.typeParameters&&t.typeName.name.match(i)){a="TypeAnnotation";let r=t.typeName.name.replace(i,"")||"0";n[r]=n[r]||[],n[r].push(e),o=!0}return"specifiers"==r&&(!e[r]||0==e[r].length)&&t[r].length>0&&(a="specifiers",o=!1),{specific:a,result:o}}({full:e,partial:t,prop:i,extraData:r,Expando:Bu,find$$$:Mu});if(s)return a;if(e&&t){if(ku(t[i])){let s=!1,a=!1;if(Array.isArray(t[i])&&(a=Mu(t[i],e[i],r,n)),Array.isArray(t[i])&&!n&&-1==Iu.indexOf(i))s=!!Nu(e,i)&&t[i].every((s=>{let o=!1;return!(e[i].length||1!=t[i].length||!a)||(e[i]&&e[i].forEach((e=>{e&&"ObjectProperty"==e.type&&(e.key.name&&(e.key.value=e.key.name),e.key.value&&(e.key.name=e.key.value)),Lu(e,s,r,n)&&(o=!0)})),o)}));else try{let a=e[i];if(!a&&!Array.isArray(e)&&t[i]&&"string"==typeof t[i].name&&(t[i].name.match(Bu)||t[i].name.match(new RegExp(Bu.slice(0,-1)+"\\$3")))){if("VariableDeclarator"==e.type&&"init"==i&&t[i].name.match(Bu)){let e=t[i].name.replace(Bu,"")||"0";return r[e]=r[e]||[],r[e].push({node:null,value:null}),!0}a=e}s=Lu(a,t[i],r,n)}catch(e){console.log(e)}return s}if(t[i].match&&t[i].match(new RegExp(Bu.slice(0,-1)+"\\$3")))return!0;if(t[i].match&&t[i].match(Bu)){if(!e)return;let n={node:e},s=t[i].replace(Bu,"")||"0";switch(r[s]=r[s]||[],e.type){case"Identifier":n.value=e.name;break;case"ThisExpression":n.value="this";break;case"StringLiteral":n.raw=`'${e.value}'`,n.value=e.value;break;case"NumericLiteral":case"BooleanLiteral":case"CommentLine":case"CommentBlock":n.value=e.value;break;case"NullLiteral":n.value=null;break;default:try{n.value=Fu(e)}catch{e[i]?n.value=e[i]:(n.value={},Ou(e,n.value))}}return r[s].push(n),!0}return t[i],e&&"ObjectProperty"==e.type&&(e.key.name&&(e.key.value=e.key.name),e.key.value&&(e.key.name=e.key.value)),!!e&&e[i]==t[i]}return!1}))}function Mu(e,t,r,n){let i,s=-1;if(e.forEach(((e,t)=>{for(let r in e){let n=e[r]?e[r].name||e[r].value||e[r]:null;if(n&&n.match&&n.match(new RegExp(Bu.slice(0,-1)+"\\$3"))){i=n.replace(new RegExp(Bu.slice(0,-1)+"\\$3"),"")||"$",s=t;break}}})),!i)return!1;let a=t?t.slice(0):[];return e.forEach(((e,t)=>{if(t==s)return;let r=0;for(;a[r];)Lu(a[r],e,{},n)?a.splice(r,1):r++})),r[`$$$${i}`]=(r[`$$$${i}`]||[]).concat(a),!0}var Ru={find:function(e,t,r,n="nn",i="g123o456g789o"){let s=[],a=[],o=!1;return Bu=i,_u(this,{[`visit${e}`](e){let i={};switch(o=Lu(e.value,t,i,r),o&&(s.push(e),a.push(i)),n){case"1":this.abort();break;case"n":default:return!1;case"nn":this.traverse(e)}},visitComment:()=>!1}),{nodePathList:s,matchWildCardList:a}},visit:_u};let ju=yu;var Uu={ObjectExpression:e=>ju(`var o = ${e}`).program.body[0].declarations[0].init,DestructuringParam:e=>ju(`(${e}) => {}`).program.body[0].expression.params[0],ObjectProperty:e=>ju(`({${e}})`).program.body[0].expression.properties[0],ObjectMethod:e=>ju(`({${e}})`).program.body[0].expression.properties[0],Decorators:e=>ju(`${e}\n            class A {}`).program.body[0].decorators,ClassMethod:e=>ju(`class a$ {\n            ${e}\n        }`).program.body[0].body.body[0],ClassProperty:e=>ju(`class a$ {\n            ${e}\n        }`).program.body[0].body.body[0]};let $u=function(e,t,r){let n,i={nodeType:"",structure:{}};if("string"!=typeof e)return i.nodeType=e.type,Du(e,i.structure,"",r),i.type=e.type,i;if((e=e.replace(/\$_\$/g,r).replace(/\$\$\$/g,r.slice(0,-1)+"$3").replace(/\/\$_\/\$/g,"$_$").replace(/\/\$\/\$\/\$/g,"$$$$$$")).match(/^{((.|\s)+(:|\(\))(.|\s)+)+}$/)){let t=Tu(`var o = ${e}`);return t=t.program.body[0].declarations[0].init,i.nodeType="ObjectExpression",Du(t,i.structure),i}try{if(n=Tu(e,t),0==n.program.body.length){if(n.program.directives.length)return{nodeType:"StringLiteral",structure:{value:e?e.slice(1,-1):""}};if(n.program.comments.length){let e=n.program.comments[0];return i.nodeType=e.type,Du(e,i.structure),i}}else if(n.program.body[0]&&"LabeledStatement"==n.program.body[0].type)throw new Error("Missing semicolon")}catch(r){try{n=Tu(`({${e}})`,t),n=n.program.body[0].expression.properties[0]}catch{n=null}let i=null;try{i=Tu(`class a$_$ { ${e} }`,t),i=i.program.body[0].body.body[0]}catch{}let s=[n,i].filter((e=>!!e)).map((e=>{let t={nodeType:e.type,structure:{}};return Du(e,t.structure),t}));if(s.length)return s;throw new Error("parse error!"+r.message)}if(Au(n,{visitExpressionStatement(e){let t=e.value.expression;t&&(i.nodeType=t.type,Du(t,i.structure),this.abort())},visitStatement(e){let t=e.value;t&&(i.nodeType=t.type,Du(t,i.structure),this.abort())},visitDeclaration(e){let t=e.value;t&&(i.nodeType=t.type,Du(t,i.structure),this.abort())}}),"AssignmentExpression"==i.nodeType)try{let r=[i],n={nodeType:"",structure:{}},s=Tu(`class A { ${e} }`,t).program.body[0].body.body[0];return n.nodeType=s.type,Du(s,n.structure),r.push(n),r}catch{}else if("MemberExpression"==i.nodeType)try{let r=[i],n={nodeType:"",structure:{}},s=Tu(`type a = ${e}`,t).program.body[0].typeAnnotation.typeName;return n.nodeType=s.type,Du(s,n.structure),r.push(n),r}catch{}return i},{find:qu,visit:Vu}=Ru,zu=yu,Xu=wu,Ju={JSXAttribute:" ",JSXText:"\n",ObjectProperty:", \n",ObjectMethod:", \n",Identifier:",",StringLiteral:",",JSXElement:"\n",ImportSpecifier:",",TSEnumMember:",",SpreadElement:",",AssignmentPattern:","},Ku=Uu,Wu={getAstsBySelector(e,t,{strictSequence:r,deep:n,parseOptions:i,expando:s="g123o456g789o"}={}){Array.isArray(t)||(t=[t]);let a=[],o=[],l=[];t.forEach((e=>{let t=$u(e,this.parseOptions||i,s);!Array.isArray(t)&&(t=[t]),t.forEach((e=>{if(!e.nodeType)throw new Error("语句类型缺失，请在 https://github.com/thx/gogocode/issues 上提供您的代码样例");l.push(e)}))}));let u=[];return l.forEach((t=>{let i=qu.call(e,t.nodeType,t.structure,r,n,s);i.nodePathList.forEach(((e,r)=>{let n=`${e.node.start},${e.node.end}`;(-1==u.indexOf(n)||t.nodeType.match("Comment"))&&(a.push(e),o.push(i.matchWildCardList[r]),u.push(n))}))})),{nodePathList:a,matchWildCardList:o,pathList:a,extraDataList:o}},getParentListByAst(e){let t=[];for(;e&&e.parentPath;)t.push(e.parentPath),e=e.parentPath;return t},getPrevAst(e){let t=e.parentPath;for(;t.value&&!Array.isArray(t.value);)e=t,t=t.parentPath;if(t=t.value,t){let r=t.indexOf(e.node);return r>0?t[r-1]:null}return null},getNextAst(e){let t=e.parentPath;for(;t.value&&!Array.isArray(t.value);)e=t,t=t.parentPath;if(t=t.value,t){let r=t.indexOf(e.node);return t[r+1]?t[r+1]:null}return null},hasChildrenSelector(e,t,r){let n=e.__childCache||{};for(let e in n){if(["type","directives"].indexOf(e)>-1)continue;let i=n[e],{nodePathList:s}=Wu.getAstsBySelector(i,t,{deep:"nn",expando:r});if(s.length>0)return!0}},buildAstByAstStr(e,t={},{isProgram:r=!1,parseOptions:n}={}){try{let i;try{i=zu(e,n);let s=Wu.replaceStrByAst(i,t);return s?r?s:s.program.body.length>1?s.program.body:1==s.program.body.length?s.program.body[0]:s.program.comments&&s.program.comments[0]?s.program.comments[0]:s.program.directives&&s.program.directives[0]&&s.program.directives[0].value&&s.program.directives[0].value.value?{type:"StringLiteral",value:s.program.directives[0].value.value}:s.program:null}catch(t){if(e.match(/^{(\s|.)+\}$/))return i=e.match("...")&&e.match("=")?Ku.DestructuringParam(e):Ku.ObjectExpression(e),i;if(t.message.match("Missing semicolon"))return i=Ku.ObjectProperty(e),i;if(t.message.match("Leading decorators must be attached to a class declaration"))return i=Ku.Decorators(e),i;throw new Error(`buildAstByAstStr failed:${e}`)}}catch{throw new Error(`buildAstByAstStr failed:${e}`)}},replaceStrByAst(e,t={}){for(let r in t){let n=t[r],{nodePathList:i}=Wu.getAstsBySelector(e,[{type:"Identifier",name:`$_$${r}$_$`},{type:"StringLiteral",value:`$_$${r}$_$`}]);i.length>0&&i[0].replace(n)}return e},replaceAstByAst(e,t){if(Array.isArray(t)){let{arrPath:r={},index:n}=function(e){let t=e;if(!t)return;let r=e.node,n=0;for(;!Array.isArray(t.value)&&n<3;)r=t.node,t=t.parentPath,n++;return Array.isArray(t.value)?{arrPath:t,index:t.value.indexOf(r)}:{arrPath:{},index:-1}}(e);if(Array.isArray(r.value)&&n>-1)return void r.value.splice(n,1,...t)}if("BlockStatement"==t.type&&Array.isArray(e.parentPath.value)){let r=e.parentPath.value,n=r.indexOf(e.node);r.splice(n,1),t.body.forEach(((t,r)=>{e.parentPath.value.splice(n+r,0,t)}))}else e.parent||"File"!=e.node.type?e.replace(t):e.node.program.body=[t]},replaceSelBySel(e,t,r,n,i,s="g123o456g789o"){let{nodePathList:a,matchWildCardList:o}=Wu.getAstsBySelector(e,t,{strictSequence:n,deep:"nn",parseOptions:this.parseOptions||i,expando:s}),l=r;a.forEach(((e,a)=>{let u=o[a];if("function"!=typeof(r=l)||null!==(r=r(u,e)))if(Object.keys(u).length>0&&"string"==typeof r){let a=r;for(let e in u)if(e.match(/\$\$\$/)){let o=e.replace(/\$\$\$/,"");"$"==o&&(o="");let l="\n",c=u[e].map((e=>{let a=Xu(e);try{let e=Wu.buildAstByAstStr(a,{},{parseOptions:i});Wu.replaceSelBySel(e,t,r,n,i,s),a=Xu(e)}catch{}return Ju[e.type]&&(l=Ju[e.type]),a})).join(l);c||(a=a.replace(new RegExp(`\\$\\$\\$${o}\\s*,`),"")),a=a.replace("$$$"+o,c.replace(/\$/g,"$$$$"))}else{let t="0"==e?"":e;if((a.match(new RegExp(`\\$_\\$${t}`,"g"))||[]).length==u[e].length)u[e].forEach((e=>{a=a.replace(`'$_$${t}'`,`'${e.value}'`).replace(`"$_$${t}"`,`"${e.value}"`).replace("$_$"+t,e.raw||e.value)}));else{let r=u[e].map((e=>"object"!=typeof e.value?e.raw||e.value:"")).join(", "),n=u[e].map((e=>"object"!=typeof e.value?e.value:"")).join(", ");a=a.replace(new RegExp(`'\\$_\\$${t}'`,"g"),"'"+n.replace(/\$/g,"$$$$")+"'").replace(new RegExp(`"\\$_\\$${t}"`,"g"),'"'+n.replace(/\$/g,"$$$$")+'"').replace(new RegExp(`\\$_\\$${t}`,"g"),r.replace(/\$/g,"$$$$"))}}if(r){let t=null;try{t=Wu.buildAstByAstStr(a,{},{parseOptions:i})}catch{}if(Ku[e.node.type])try{Ku[e.node.type](a)&&(t=Ku[e.node.type](a))}catch{}if(!t)throw new Error(`replace failed: ${a} cannot be parsed!`);t.expression&&"AssignmentExpression"!=t.expression.type&&"body"!=e.parentPath.name&&(t=t.expression),e&&Wu.replaceAstByAst(e,t)}else Wu.removePathSafe(e)}else if(r)if("string"==typeof r){let t=r.type?r:Wu.buildAstByAstStr(r,{},{parseOptions:i});if(!r.type&&Ku[e.node.type])try{Ku[e.node.type](r)&&(t=Ku[e.node.type](r))}catch{}t.expression&&"AssignmentExpression"!=t.expression.type&&"body"!=e.parentPath.name&&(t=t.expression),e&&Wu.replaceAstByAst(e,t)}else r[0]&&r[0].nodePath?e.replace(r[0].nodePath.node):Wu.replaceAstByAst(e,r);else Wu.removePathSafe(e)}))},insertAstListBefore(e,t){Array.isArray(t)||(t=[t]);for(let r=0;r<3;r++){let n=e.parentPath;if(n&&n.value&&Array.isArray(n.value)){let i=n.value.indexOf(e.value);t.reverse().forEach((e=>{n.value.splice(i,0,e)})),r=3}else e=n}},insertAstListAfter(e,t){Array.isArray(t)||(t=[t]);for(let r=0;r<3;r++){let n=e.parentPath;if(n&&n.value&&Array.isArray(n.value)){let i=n.value.indexOf(e.value)+1;t.reverse().forEach((e=>{n.value.splice(i,0,e)})),r=3}else e=n}},removeAst(e,t,{strictSequence:r,parseOptions:n,expando:i}={}){if(!e||"object"!=typeof e)throw new Error("remove failed! first argument mast be object");if(!t||"object"!=typeof t&&"string"!=typeof t&&!Array.isArray(t))throw new Error("remove failed! first argument mast be object、string or string array");let{nodePathList:s}=Wu.getAstsBySelector(e,t,{strictSequence:r,parseOptions:n,expando:i});s.forEach((e=>{e.parentPath.value.length&&1!=e.parentPath.value.length?Wu.removePathSafe(e):Wu.removePathSafe(e.parent)}))},remove(e){try{Wu.removePathSafe(e)}catch(e){throw`remove failed: ${e}`}},removePathSafe(e){"expression"==e.name?e.parent.replace():e.replace()},appendJsxAttr(e,t){if(!e||"object"!=typeof e)throw new Error("appendJsxAttr failed! first argument mast be object");if(!t||"object"!=typeof t)throw new Error("appendJsxAttr failed! second argument mast be object");let r=[];for(let e in t)r.push(`${e}=${t[e]}`.replace(/'\$'/g,"$"));try{let t=Wu.buildAstByAstStr(`<div ${r.join(" ")}></div>`).expression.openingElement.attributes;e.value?e.value.openingElement.attributes=e.value.openingElement.attributes.concat(t):e.expression.openingElement.attributes=e.expression.openingElement.attributes.concat(t)}catch(e){throw new Error("appendJsxAttr failed!"+e)}},visit(){Vu.call(this,...Array.from(arguments))},traverse(e,t,r){if(!e||"object"!=typeof e)throw new Error("traverse failed! first argument mast be object");if(!t||"function"!=typeof t)throw new Error("traverse failed! second argument mast be function");if(e.type&&"string"==typeof e.type){-1==["File","Program"].indexOf(e.type)&&t(e,{parentNode:r});for(let r in e){let n=e[r];if(n)if(Array.isArray(n)){let e=0;for(;n[e];){let r=n[e];Wu.traverse(r,t,n),e=n.indexOf(r),e++}}else n.type&&Wu.traverse(n,t,e)}}},initComment(e){Wu.traverse(e,((e,{parentNode:t})=>{if(Array.isArray(t)){let r=t.indexOf(e);r==t.length-1&&e.trailingComments&&e.trailingComments.forEach((e=>{t.push(e)})),e.leadingComments&&e.leadingComments.reverse().forEach((e=>{t.splice(r,0,e)}))}}))},removeComments(e){Wu.traverse(e,((e,{parentNode:t})=>{if(Array.isArray(t)&&!t.every((e=>"string"==typeof e.type&&e.type.match("Comment")))){let e=0;for(;t[e];){let r=t[e];r&&"string"==typeof r.type&&r.type.match("Comment")&&(t.splice(e,1),e--),e++}}}))}};var Gu=Wu,Yu={};let Hu=/^<(\S+)/,Qu=/^<\/((?:.|\n|\r\n)*)>$/;var Zu={prettyJSON:function(e){return JSON.stringify(e,null,2)},clearAst:function e(t){let r=t;return delete r.parentRef,Array.isArray(t.content.children)&&(r.content.children=t.content.children.map((t=>e(t)))),r},parseOpenTagName:function(e){let t=e.match(Hu);if(null===t)throw new Error(`Unable to parse open tag name.\n${e} does not match pattern of opening tag.`);return t[1]},parseCloseTagName:function(e){let t=e.match(Qu);if(null===t)throw new Error(`Unable to parse close tag name.\n${e} does not match pattern of closing tag.`);return t[1].trim()},calculateTokenCharactersRange:function(e,{keepBuffer:t}){if(void 0===t)throw new Error('Unable to calculate characters range for token.\n"keepBuffer" parameter is not specified to decide if the decision buffer is a part of characters range.');let r,n=e.caretPosition-(e.accumulatedContent.length-1)-e.decisionBuffer.length;return r=t?e.caretPosition:e.caretPosition-e.decisionBuffer.length,{startPosition:n,endPosition:r}},isWhitespace:function(e){return" "===e||"\n"===e||"\t"===e}},ec={TOKEN_TEXT:"token:text",TOKEN_OPEN_TAG_START:"token:open-tag-start",TOKEN_ATTRIBUTE_KEY:"token:attribute-key",TOKEN_ATTRIBUTE_ASSIGNMENT:"token:attribute-assignment",TOKEN_ATTRIBUTE_VALUE_WRAPPER_START:"token:attribute-value-wrapper-start",TOKEN_ATTRIBUTE_VALUE:"token:attribute-value",TOKEN_ATTRIBUTE_VALUE_WRAPPER_END:"token:attribute-value-wrapper-end",TOKEN_OPEN_TAG_END:"token:open-tag-end",TOKEN_CLOSE_TAG:"token:close-tag",TOKEN_OPEN_TAG_START_SCRIPT:"token:open-tag-start-script",TOKEN_SCRIPT_TAG_CONTENT:"token:script-tag-content",TOKEN_OPEN_TAG_END_SCRIPT:"token:open-tag-end-script",TOKEN_CLOSE_TAG_SCRIPT:"token:close-tag-script",TOKEN_OPEN_TAG_START_STYLE:"token:open-tag-start-style",TOKEN_STYLE_TAG_CONTENT:"token:style-tag-content",TOKEN_OPEN_TAG_END_STYLE:"token:open-tag-end-style",TOKEN_CLOSE_TAG_STYLE:"token:close-tag-style",TOKEN_DOCTYPE_START:"token:doctype-start",TOKEN_DOCTYPE_END:"token:doctype-end",TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_START:"token:doctype-attribute-wrapper-start",TOKEN_DOCTYPE_ATTRIBUTE:"token:doctype-attribute",TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_END:"token:doctype-attribute-wrapper-end",TOKEN_COMMENT_START:"token:comment-start",TOKEN_COMMENT_CONTENT:"token:comment-content",TOKEN_COMMENT_END:"token:comment-end"},tc={DATA_CONTEXT:"tokenizer-context:data",OPEN_TAG_START_CONTEXT:"tokenizer-context:open-tag-start",CLOSE_TAG_CONTEXT:"tokenizer-context:close-tag",ATTRIBUTES_CONTEXT:"tokenizer-context:attributes",OPEN_TAG_END_CONTEXT:"tokenizer-context:open-tag-end",ATTRIBUTE_KEY_CONTEXT:"tokenizer-context:attribute-key",ATTRIBUTE_VALUE_CONTEXT:"tokenizer-context:attribute-value",ATTRIBUTE_VALUE_BARE_CONTEXT:"tokenizer-context:attribute-value-bare",ATTRIBUTE_VALUE_WRAPPED_CONTEXT:"tokenizer-context:attribute-value-wrapped",SCRIPT_CONTENT_CONTEXT:"tokenizer-context:script-content",STYLE_CONTENT_CONTEXT:"tokenizer-context:style-content",DOCTYPE_START_CONTEXT:"tokenizer-context:doctype-start",DOCTYPE_END_CONTEXT:"tokenizer-context:doctype-end",DOCTYPE_ATTRIBUTES_CONTEXT:"tokenizer-context:doctype-attributes",DOCTYPE_ATTRIBUTE_WRAPPED_CONTEXT:"tokenizer-context:doctype-attribute-wrapped",DOCTYPE_ATTRIBUTE_BARE_CONTEXT:"tokenizer-context:doctype-attribute-bare",COMMENT_START_CONTEXT:"tokenizer-context:comment-start",COMMENT_CONTENT_CONTEXT:"tokenizer-context:comment-content",COMMENT_END_CONTEXT:"tokenizer-context:comment-end"};let{calculateTokenCharactersRange:rc}=Zu,{TOKEN_TEXT:nc,TOKEN_COMMENT_START:ic}=ec,{OPEN_TAG_START_CONTEXT:sc,CLOSE_TAG_CONTEXT:ac,DOCTYPE_START_CONTEXT:oc,COMMENT_CONTENT_CONTEXT:lc}=tc,uc="\x3c!--";function cc(e){let t=rc(e,{keepBuffer:!1});return{type:nc,content:e.accumulatedContent,startPosition:t.startPosition,endPosition:t.endPosition}}let pc=/^<\w/;var hc={parseSyntax:function(e,t,r,n,i,s,a){if(pc.test(e))return l=r,0!==(o=t).accumulatedContent.length&&l.push(cc(o)),o.accumulatedContent=o.decisionBuffer,o.decisionBuffer="",o.currentContext=sc,void o.caretPosition++;var o,l;if("</"===e)return function(e,t){0!==e.accumulatedContent.length&&t.push(cc(e)),e.accumulatedContent=e.decisionBuffer,e.decisionBuffer="",e.currentContext=ac,e.caretPosition++}(t,r);if("<"===e&&i.match(/[a-z]|[A-Z]|\/|\!|\-/))t.caretPosition++;else if("<!"!==e&&"<!-"!==e){if(e===uc)return function(e,t){0!==e.accumulatedContent.length&&t.push(cc(e));let r={startPosition:e.caretPosition-3,endPosition:e.caretPosition};t.push({type:ic,content:e.decisionBuffer,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=lc,e.caretPosition++}(t,r);if(function(e){let t=e.toUpperCase();return"<!"===t||"<!D"===t||"<!DO"===t||"<!DOC"===t||"<!DOCT"===t||"<!DOCTY"===t||"<!DOCTYP"===t}(e))t.caretPosition++;else{if("<!DOCTYPE"===e.toUpperCase())return function(e,t){0!==e.accumulatedContent.length&&t.push(cc(e)),e.accumulatedContent=e.decisionBuffer,e.decisionBuffer="",e.currentContext=oc,e.caretPosition++}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}}else t.caretPosition++},handleContentEnd:function(e,t){let r=e.accumulatedContent+e.decisionBuffer;if(0!==r.length){let n=rc(e,{keepBuffer:!1});t.push({type:nc,content:r,startPosition:n.startPosition,endPosition:n.endPosition})}}};let{parseOpenTagName:dc,isWhitespace:fc,calculateTokenCharactersRange:mc}=Zu,{TOKEN_OPEN_TAG_START:yc,TOKEN_OPEN_TAG_START_SCRIPT:gc,TOKEN_OPEN_TAG_START_STYLE:xc}=ec,{OPEN_TAG_END_CONTEXT:vc,ATTRIBUTES_CONTEXT:Ec}=tc,bc={script:gc,style:xc,default:yc};var Sc={parseSyntax:function(e,t,r){return">"===e||"/"===e?function(e,t){let r=dc(e.accumulatedContent),n=mc(e,{keepBuffer:!1});t.push({type:bc[r]||bc.default,content:e.accumulatedContent,startPosition:n.startPosition,endPosition:n.endPosition}),e.decisionBuffer="",e.accumulatedContent="",e.currentContext=vc,e.contextParams[vc]={tagName:r}}(t,r):fc(e)?function(e,t){let r=dc(e.accumulatedContent),n=mc(e,{keepBuffer:!1});t.push({type:bc[r]||bc.default,content:e.accumulatedContent,startPosition:n.startPosition,endPosition:n.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Ec,e.contextParams[Ec]={tagName:r},e.caretPosition++}(t,r):(t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",void t.caretPosition++)}};let{calculateTokenCharactersRange:Tc}=Zu,{TOKEN_CLOSE_TAG:Ac}=ec,{DATA_CONTEXT:Dc}=tc;var Cc={parseSyntax:function(e,t,r){if(">"===e)return function(e,t){let r=Tc(e,{keepBuffer:!0});t.push({type:Ac,content:e.accumulatedContent+e.decisionBuffer,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Dc,e.caretPosition++}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}};let{calculateTokenCharactersRange:wc}=Zu,{TOKEN_OPEN_TAG_END:Pc,TOKEN_OPEN_TAG_END_SCRIPT:kc,TOKEN_OPEN_TAG_END_STYLE:Nc}=ec,{OPEN_TAG_END_CONTEXT:_c,DATA_CONTEXT:Oc,SCRIPT_CONTENT_CONTEXT:Fc,STYLE_CONTENT_CONTEXT:Ic}=tc,Bc={script:kc,style:Nc,default:Pc},Lc={script:Fc,style:Ic,default:Oc};var Mc={parseSyntax:function(e,t,r){if(">"===e)return function(e,t){let r=wc(e,{keepBuffer:!0}),n=e.contextParams[_c].tagName;t.push({type:Bc[n]||Bc.default,content:e.accumulatedContent+e.decisionBuffer,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Lc[n]||Lc.default,e.caretPosition++,e.contextParams[_c]=void 0}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}};let{isWhitespace:Rc,calculateTokenCharactersRange:jc}=Zu,{ATTRIBUTES_CONTEXT:Uc,OPEN_TAG_END_CONTEXT:$c,ATTRIBUTE_VALUE_CONTEXT:qc,ATTRIBUTE_KEY_CONTEXT:Vc}=tc,{TOKEN_ATTRIBUTE_ASSIGNMENT:zc}=ec;var Xc={parseSyntax:function(e,t,r,n,i){return">"===e||"/"===e&&">"===i?function(e){let t=e.contextParams[Uc].tagName;e.accumulatedContent="",e.decisionBuffer="",e.currentContext=$c,e.contextParams[$c]={tagName:t},e.contextParams[Uc]=void 0}(t):"="===e?function(e,t){let r=jc(e,{keepBuffer:!0});t.push({type:zc,content:e.decisionBuffer,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=qc,e.caretPosition++}(t,r):Rc(e)?(t.decisionBuffer="",void t.caretPosition++):((s=t).accumulatedContent=s.decisionBuffer,s.decisionBuffer="",s.currentContext=Vc,void s.caretPosition++);var s}};let{calculateTokenCharactersRange:Jc}=Zu,{TOKEN_ATTRIBUTE_KEY:Kc}=ec,{ATTRIBUTES_CONTEXT:Wc}=tc;var Gc={parseSyntax:function(e,t,r){if("="===(n=e)||" "===n||"\n"===n||"\t"===n||"/"===n||">"===n)return function(e,t){let r=Jc(e,{keepBuffer:!1});t.push({type:Kc,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Wc}(t,r);var n;t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}};let{isWhitespace:Yc}=Zu,{ATTRIBUTE_VALUE_WRAPPED_CONTEXT:Hc,ATTRIBUTES_CONTEXT:Qc,ATTRIBUTE_VALUE_BARE_CONTEXT:Zc}=tc,{TOKEN_ATTRIBUTE_VALUE_WRAPPER_START:ep}=ec;var tp={parseSyntax:function(e,t,r){return'"'===e||"'"===e?function(e,t){let r=e.decisionBuffer;t.push({type:ep,content:r,startPosition:e.caretPosition,endPosition:e.caretPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Hc,e.contextParams[Hc]={wrapper:r},e.caretPosition++}(t,r):">"===e||"/"===e?((n=t).accumulatedContent="",n.decisionBuffer="",void(n.currentContext=Qc)):Yc(e)?(t.decisionBuffer="",void t.caretPosition++):function(e){e.accumulatedContent=e.decisionBuffer,e.decisionBuffer="",e.currentContext=Zc,e.caretPosition++}(t);var n}};let{calculateTokenCharactersRange:rp,isWhitespace:np}=Zu,{TOKEN_ATTRIBUTE_VALUE:ip}=ec,{ATTRIBUTES_CONTEXT:sp}=tc;var ap={parseSyntax:function(e,t,r){if((!t.accumulatedContent.match("{{")||t.accumulatedContent.match("}}"))&&(np(e)||">"===e||"/"===e))return function(e,t){let r=rp(e,{keepBuffer:!1});t.push({type:ip,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=sp}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}};let{calculateTokenCharactersRange:op}=Zu,{TOKEN_ATTRIBUTE_VALUE:lp,TOKEN_ATTRIBUTE_VALUE_WRAPPER_END:up}=ec,{ATTRIBUTES_CONTEXT:cp,ATTRIBUTE_VALUE_WRAPPED_CONTEXT:pp}=tc;var hp={parseSyntax:function(e,t,r){if(e===t.contextParams[pp].wrapper)return function(e,t){let r=op(e,{keepBuffer:!1}),n=r.endPosition+1;t.push({type:lp,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition},{type:up,content:e.decisionBuffer,startPosition:n,endPosition:n}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=cp,e.caretPosition++,e.contextParams[pp]=void 0}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}};let{calculateTokenCharactersRange:dp}=Zu,{TOKEN_SCRIPT_TAG_CONTENT:fp,TOKEN_CLOSE_TAG_SCRIPT:mp}=ec,{DATA_CONTEXT:yp}=tc,gp=/<\/[^>]+$/,xp=/<\/script\s*>/i;var vp={parseSyntax:function(e,t,r){if("<"===e||"</"===e||gp.test(e))t.caretPosition++;else{if(xp.test(e))return function(e,t){if(""!==e.accumulatedContent){let r=dp(e,{keepBuffer:!1});t.push({type:fp,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition})}t.push({type:mp,content:e.decisionBuffer,startPosition:e.caretPosition-(e.decisionBuffer.length-1),endPosition:e.caretPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=yp,e.caretPosition++}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}}};let{calculateTokenCharactersRange:Ep}=Zu,{TOKEN_STYLE_TAG_CONTENT:bp,TOKEN_CLOSE_TAG_STYLE:Sp}=ec,{DATA_CONTEXT:Tp}=tc,Ap=/<\/[^>]+$/,Dp=/<\/style\s*>/i;var Cp={parseSyntax:function(e,t,r){if("<"===e||"</"===e||Ap.test(e))t.caretPosition++;else{if(Dp.test(e))return function(e,t){if(""!==e.accumulatedContent){let r=Ep(e,{keepBuffer:!1});t.push({type:bp,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition})}t.push({type:Sp,content:e.decisionBuffer,startPosition:e.caretPosition-(e.decisionBuffer.length-1),endPosition:e.caretPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Tp,e.caretPosition++}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}}};let{isWhitespace:wp,calculateTokenCharactersRange:Pp}=Zu,{TOKEN_DOCTYPE_START:kp}=ec,{DOCTYPE_END_CONTEXT:Np,DOCTYPE_ATTRIBUTES_CONTEXT:_p}=tc;function Op(e){let t=Pp(e,{keepBuffer:!1});return{type:kp,content:e.accumulatedContent,startPosition:t.startPosition,endPosition:t.endPosition}}var Fp={parseSyntax:function(e,t,r){return wp(e)?(n=t,r.push(Op(n)),n.accumulatedContent="",n.decisionBuffer="",void(n.currentContext=_p)):">"===e?function(e,t){t.push(Op(e)),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Np}(t,r):(t.decisionBuffer="",void t.caretPosition++);var n}};let{calculateTokenCharactersRange:Ip}=Zu,{TOKEN_DOCTYPE_END:Bp}=ec,{DATA_CONTEXT:Lp}=tc;var Mp={parseSyntax:function(e,t,r){return function(e,t){let r=Ip(e,{keepBuffer:!0});t.push({type:Bp,content:e.decisionBuffer,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Lp,e.caretPosition++}(t,r)}};let{isWhitespace:Rp}=Zu,{DOCTYPE_ATTRIBUTE_WRAPPED_CONTEXT:jp,DOCTYPE_ATTRIBUTE_BARE_CONTEXT:Up,DOCTYPE_END_CONTEXT:$p}=tc,{TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_START:qp}=ec;var Vp={parseSyntax:function(e,t,r){return'"'===e||"'"===e?function(e,t){let r=e.decisionBuffer;t.push({type:qp,content:r,startPosition:e.caretPosition,endPosition:e.caretPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=jp,e.contextParams[jp]={wrapper:r},e.caretPosition++}(t,r):">"===e?((n=t).accumulatedContent="",n.decisionBuffer="",void(n.currentContext=$p)):Rp(e)?(t.decisionBuffer="",void t.caretPosition++):function(e){e.accumulatedContent=e.decisionBuffer,e.decisionBuffer="",e.currentContext=Up,e.caretPosition++}(t);var n}};let{calculateTokenCharactersRange:zp}=Zu,{TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_END:Xp,TOKEN_DOCTYPE_ATTRIBUTE:Jp}=ec,{DOCTYPE_ATTRIBUTE_WRAPPED_CONTEXT:Kp,DOCTYPE_ATTRIBUTES_CONTEXT:Wp}=tc;var Gp={parseSyntax:function(e,t,r){if(e===t.contextParams[Kp].wrapper)return function(e,t){let r=zp(e,{keepBuffer:!1}),n=r.endPosition+1;t.push({type:Jp,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition}),t.push({type:Xp,content:e.decisionBuffer,startPosition:n,endPosition:n}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Wp,e.caretPosition++,e.contextParams[Kp]=void 0}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}};let{isWhitespace:Yp,calculateTokenCharactersRange:Hp}=Zu,{TOKEN_DOCTYPE_ATTRIBUTE:Qp}=ec,{DOCTYPE_ATTRIBUTES_CONTEXT:Zp}=tc;var eh={parseSyntax:function(e,t,r){if(Yp(e)||">"===e)return function(e,t){let r=Hp(e,{keepBuffer:!1});t.push({type:Qp,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=Zp}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}};let{calculateTokenCharactersRange:th}=Zu,{TOKEN_COMMENT_END:rh,TOKEN_COMMENT_CONTENT:nh}=ec,{DATA_CONTEXT:ih}=tc;var sh={parseSyntax:function(e,t,r){if("-"!==e&&"--"!==e){if("--\x3e"===e)return function(e,t){let r=th(e,{keepBuffer:!1}),n={startPosition:r.endPosition+1,endPosition:r.endPosition+3};t.push({type:nh,content:e.accumulatedContent,startPosition:r.startPosition,endPosition:r.endPosition}),t.push({type:rh,content:e.decisionBuffer,startPosition:n.startPosition,endPosition:n.endPosition}),e.accumulatedContent="",e.decisionBuffer="",e.currentContext=ih,e.caretPosition++}(t,r);t.accumulatedContent+=t.decisionBuffer,t.decisionBuffer="",t.caretPosition++}else t.caretPosition++}};let ah=hc,oh=Sc,lh=Cc,uh=Mc,ch=Xc,ph=Gc,hh=tp,dh=ap,fh=hp,mh=vp,yh=Cp,gh=Fp,xh=Mp,vh=Vp,Eh=Gp,bh=eh,Sh=sh,{isWhitespace:Th}=Zu,{DATA_CONTEXT:Ah,OPEN_TAG_START_CONTEXT:Dh,CLOSE_TAG_CONTEXT:Ch,ATTRIBUTES_CONTEXT:wh,OPEN_TAG_END_CONTEXT:Ph,ATTRIBUTE_KEY_CONTEXT:kh,ATTRIBUTE_VALUE_CONTEXT:Nh,ATTRIBUTE_VALUE_BARE_CONTEXT:_h,ATTRIBUTE_VALUE_WRAPPED_CONTEXT:Oh,SCRIPT_CONTENT_CONTEXT:Fh,STYLE_CONTENT_CONTEXT:Ih,DOCTYPE_START_CONTEXT:Bh,DOCTYPE_END_CONTEXT:Lh,DOCTYPE_ATTRIBUTES_CONTEXT:Mh,DOCTYPE_ATTRIBUTE_WRAPPED_CONTEXT:Rh,DOCTYPE_ATTRIBUTE_BARE_CONTEXT:jh,COMMENT_CONTENT_CONTEXT:Uh}=tc,$h={[Ah]:ah,[Dh]:oh,[Ch]:lh,[wh]:ch,[Ph]:uh,[kh]:ph,[Nh]:hh,[_h]:dh,[Oh]:fh,[Fh]:mh,[Ih]:yh,[Bh]:gh,[Lh]:xh,[Mh]:vh,[Rh]:Eh,[jh]:bh,[Uh]:Sh};var qh=function(e="",t,{isFinalChunk:r}={}){let n;r=void 0===r||r,n=void 0!==t?Object.assign({},t):{currentContext:Ah,contextParams:{},decisionBuffer:"",accumulatedContent:"",caretPosition:0};let i=[];return function(e,t,r,{isFinalChunk:n,positionOffset:i}){let s=t.caretPosition-i;for(;s<e.length;){let n=$h[t.currentContext];t.decisionBuffer+=e[s];let a=e[s+1],o=a,l=s+1;for(;Th(o);)l+=1,o=e[l];n.parseSyntax(t.decisionBuffer,t,r,a,o,e,s),s=t.caretPosition-i}if(n){let e=$h[t.currentContext];t.caretPosition--,void 0!==e.handleContentEnd&&e.handleContentEnd(t,r)}}(n.decisionBuffer+e,n,i,{isFinalChunk:r,positionOffset:n.caretPosition-n.decisionBuffer.length}),{state:n,tokens:i}},Vh={TAG_CONTENT_CONTEXT:"tree-constructor-context:tag-content",TAG_CONTEXT:"tree-constructor-context:tag",TAG_NAME_CONTEXT:"tree-constructor-context:tag-name",ATTRIBUTES_CONTEXT:"tree-constructor-context:attributes",ATTRIBUTE_CONTEXT:"tree-constructor-context:attribute",ATTRIBUTE_VALUE_CONTEXT:"tree-constructor-context:attribute-value",COMMENT_CONTEXT:"tree-constructor-context:comment",DOCTYPE_CONTEXT:"tree-constructor-context:doctype",DOCTYPE_ATTRIBUTES_CONTEXT:"tree-constructor-context:doctype-attributes",DOCTYPE_ATTRIBUTE_CONTEXT:"tree-constructor-context:doctype-attribute",SCRIPT_TAG_CONTEXT:"tree-constructor-context:script-tag",STYLE_TAG_CONTEXT:"tree-constructor-context:style-tag"};let{TOKEN_OPEN_TAG_START:zh,TOKEN_OPEN_TAG_END:Xh,TOKEN_CLOSE_TAG:Jh,TOKEN_ATTRIBUTE_KEY:Kh,TOKEN_ATTRIBUTE_ASSIGNMENT:Wh}=ec,{TAG_NAME_CONTEXT:Gh,ATTRIBUTES_CONTEXT:Yh,TAG_CONTENT_CONTEXT:Hh}=Vh;var Qh={NODE_DOCUMENT:"document",NODE_TAG:"tag",NODE_TEXT:"text",NODE_DOCTYPE:"doctype",NODE_COMMENT:"comment",NODE_SCRIPT:"script",NODE_STYLE:"style"};let Zh=Zu.parseCloseTagName,{TOKEN_OPEN_TAG_START:ed,TOKEN_CLOSE_TAG:td,TOKEN_COMMENT_START:rd,TOKEN_DOCTYPE_START:nd,TOKEN_TEXT:id,TOKEN_OPEN_TAG_START_SCRIPT:sd,TOKEN_OPEN_TAG_START_STYLE:ad}=ec,{TAG_CONTEXT:od,COMMENT_CONTEXT:ld,DOCTYPE_CONTEXT:ud,SCRIPT_TAG_CONTEXT:cd,STYLE_TAG_CONTEXT:pd}=Vh,{NODE_TAG:hd,NODE_TEXT:dd,NODE_DOCTYPE:fd,NODE_COMMENT:md,NODE_SCRIPT:yd,NODE_STYLE:gd}=Qh,xd=Zu.parseOpenTagName,{TOKEN_OPEN_TAG_START:vd}=ec,{TOKEN_ATTRIBUTE_KEY:Ed,TOKEN_ATTRIBUTE_ASSIGNMENT:bd,TOKEN_OPEN_TAG_END:Sd,TOKEN_OPEN_TAG_END_SCRIPT:Td,TOKEN_OPEN_TAG_END_STYLE:Ad}=ec,{ATTRIBUTE_CONTEXT:Dd}=Vh,{TOKEN_OPEN_TAG_END:Cd,TOKEN_OPEN_TAG_END_SCRIPT:wd,TOKEN_OPEN_TAG_END_STYLE:Pd,TOKEN_ATTRIBUTE_KEY:kd,TOKEN_ATTRIBUTE_ASSIGNMENT:Nd}=ec,{ATTRIBUTE_VALUE_CONTEXT:_d}=Vh;function Od(e){let t=e.currentNode.content.attributes;return t[t.length-1]}let{TOKEN_OPEN_TAG_END:Fd,TOKEN_OPEN_TAG_END_SCRIPT:Id,TOKEN_OPEN_TAG_END_STYLE:Bd,TOKEN_ATTRIBUTE_KEY:Ld,TOKEN_ATTRIBUTE_ASSIGNMENT:Md,TOKEN_ATTRIBUTE_VALUE:Rd,TOKEN_ATTRIBUTE_VALUE_WRAPPER_START:jd,TOKEN_ATTRIBUTE_VALUE_WRAPPER_END:Ud}=ec;function $d(e){let t=e.currentNode.content.attributes;return t[t.length-1]}let{TOKEN_COMMENT_START:qd,TOKEN_COMMENT_END:Vd,TOKEN_COMMENT_CONTENT:zd}=ec,{TOKEN_DOCTYPE_END:Xd,TOKEN_DOCTYPE_ATTRIBUTE:Jd,TOKEN_DOCTYPE_START:Kd,TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_START:Wd}=ec,{DOCTYPE_ATTRIBUTES_CONTEXT:Gd}=Vh,{DOCTYPE_ATTRIBUTE_CONTEXT:Yd}=Vh,{TOKEN_DOCTYPE_END:Hd,TOKEN_DOCTYPE_ATTRIBUTE:Qd,TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_START:Zd}=ec,{TOKEN_DOCTYPE_END:ef,TOKEN_DOCTYPE_ATTRIBUTE:tf,TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_START:rf,TOKEN_DOCTYPE_ATTRIBUTE_WRAPPER_END:nf}=ec;function sf(e){let t=e.currentNode.content.attributes;return t[t.length-1]}let{TOKEN_OPEN_TAG_START_SCRIPT:af,TOKEN_OPEN_TAG_END_SCRIPT:of,TOKEN_CLOSE_TAG_SCRIPT:lf,TOKEN_ATTRIBUTE_KEY:uf,TOKEN_ATTRIBUTE_ASSIGNMENT:cf,TOKEN_SCRIPT_TAG_CONTENT:pf}=ec,{ATTRIBUTES_CONTEXT:hf}=Vh,{TOKEN_OPEN_TAG_START_STYLE:df,TOKEN_OPEN_TAG_END_STYLE:ff,TOKEN_CLOSE_TAG_STYLE:mf,TOKEN_ATTRIBUTE_KEY:yf,TOKEN_ATTRIBUTE_ASSIGNMENT:gf,TOKEN_STYLE_TAG_CONTENT:xf}=ec,{ATTRIBUTES_CONTEXT:vf}=Vh,{TAG_CONTENT_CONTEXT:Ef,TAG_CONTEXT:bf,TAG_NAME_CONTEXT:Sf,ATTRIBUTES_CONTEXT:Tf,ATTRIBUTE_CONTEXT:Af,ATTRIBUTE_VALUE_CONTEXT:Df,COMMENT_CONTEXT:Cf,DOCTYPE_CONTEXT:wf,DOCTYPE_ATTRIBUTES_CONTEXT:Pf,DOCTYPE_ATTRIBUTE_CONTEXT:kf,SCRIPT_TAG_CONTEXT:Nf,STYLE_TAG_CONTEXT:_f}=Vh,{NODE_DOCUMENT:Of}=Qh,Ff={[Ef]:function(e,t){return e.type===ed?function(e){void 0===e.currentNode.content.children&&(e.currentNode.content.children=[]);let t={nodeType:hd,parentRef:e.currentNode,content:{}};return e.currentNode.content.children.push(t),e.currentNode=t,e.currentContext={parentRef:e.currentContext,type:od},e}(t):e.type===id?function(e,t){void 0===e.currentNode.content.children&&(e.currentNode.content.children=[]);let r={nodeType:dd,parentRef:e.currentNode,content:{value:t}};return e.currentNode.content.children.push(r),e.caretPosition++,e}(t,e):e.type===td?(r=t,Zh(e.content)!==r.currentNode.content.name?(r.caretPosition++,r):(r.currentContext=r.currentContext.parentRef,r)):e.type===rd?function(e){void 0===e.currentNode.content.children&&(e.currentNode.content.children=[]);let t={nodeType:md,parentRef:e.currentNode,content:{}};return e.currentNode.content.children.push(t),e.currentNode=t,e.currentContext={parentRef:e.currentContext,type:ld},e}(t):e.type===nd?function(e){void 0===e.currentNode.content.children&&(e.currentNode.content.children=[]);let t={nodeType:fd,parentRef:e.currentNode,content:{}};return e.currentNode.content.children.push(t),e.currentNode=t,e.currentContext={parentRef:e.currentContext,type:ud},e}(t):e.type===sd?function(e){void 0===e.currentNode.content.children&&(e.currentNode.content.children=[]);let t={nodeType:yd,parentRef:e.currentNode,content:{}};return e.currentNode.content.children.push(t),e.currentNode=t,e.currentContext={type:cd,parentRef:e.currentContext},e}(t):e.type===ad?function(e){void 0===e.currentNode.content.children&&(e.currentNode.content.children=[]);let t={nodeType:gd,parentRef:e.currentNode,content:{}};return e.currentNode.content.children.push(t),e.currentNode=t,e.currentContext={type:pd,parentRef:e.currentContext},e}(t):(t.caretPosition++,t);var r},[bf]:function(e,t){return e.type===zh?(n=e,(r=t).currentNode.content.openStart=n,r.currentContext={parentRef:r.currentContext,type:Gh},r):-1!==[Kh,Wh].indexOf(e.type)?function(e){return e.currentContext={parentRef:e.currentContext,type:Yh},e}(t):e.type===Xh?function(e,t){let r=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].concat((e.parseOptions||{}).selfClosingTag||[]),n=e.currentNode.content.name;return e.currentNode.content.openEnd=t,t.content.match(/\/\s*>/)||-1!==r.indexOf(n)?(e.currentNode.content.selfClosing=!0,e.currentNode=e.currentNode.parentRef,e.currentContext=e.currentContext.parentRef,e.caretPosition++,e):(e.currentNode.content.selfClosing=!1,e.currentContext={parentRef:e.currentContext,type:Hh},e.caretPosition++,e)}(t,e):e.type===Jh?function(e,t){return e.currentNode.content.close=t,e.currentNode=e.currentNode.parentRef,e.currentContext=e.currentContext.parentRef,e.caretPosition++,e}(t,e):(t.caretPosition++,t);var r,n},[Sf]:function(e,t){return e.type===vd&&(n=e,(r=t).currentNode.content.name=xd(n.content),r.currentContext=r.currentContext.parentRef),t.caretPosition++,t;var r,n},[Tf]:function(e,t){return-1!==[Ed,bd].indexOf(e.type)?(void 0===(r=t).currentNode.content.attributes&&(r.currentNode.content.attributes=[]),r.currentNode.content.attributes.push({}),r.currentContext={parentRef:r.currentContext,type:Dd},r):-1!==[Sd,Td,Ad].indexOf(e.type)?function(e){return e.currentContext=e.currentContext.parentRef,e}(t):(t.caretPosition++,t);var r},[Af]:function(e,t){return-1!==[Cd,wd,Pd].indexOf(e.type)?((r=t).currentContext=r.currentContext.parentRef,r):e.type===kd?function(e,t){let r=Od(e);return void 0!==r.key||void 0!==r.value?(e.currentContext=e.currentContext.parentRef,e):(r.key=t,e.caretPosition++,e)}(t,e):e.type===Nd?function(e){return void 0!==Od(e).value?(e.currentContext=e.currentContext.parentRef,e):(e.currentContext={parentRef:e.currentContext,type:_d},e.caretPosition++,e)}(t):(t.caretPosition++,t);var r},[Df]:function(e,t){return-1!==[Fd,Id,Bd,Ld,Md].indexOf(e.type)?((r=t).currentContext=r.currentContext.parentRef,r):e.type===Rd?function(e,t){return $d(e).value=t,e.caretPosition++,e}(t,e):e.type===jd?function(e,t){return $d(e).startWrapper=t,e.caretPosition++,e}(t,e):e.type===Ud?function(e,t){return $d(e).endWrapper=t,e.caretPosition++,e}(t,e):(t.caretPosition++,t);var r},[Cf]:function(e,t){return e.type===qd?(n=e,(r=t).currentNode.content.start=n,r.caretPosition++,r):e.type===zd?function(e,t){return e.currentNode.content.value=t,e.caretPosition++,e}(t,e):e.type===Vd?function(e,t){return e.currentNode.content.end=t,e.currentNode=e.currentNode.parentRef,e.currentContext=e.currentContext.parentRef,e.caretPosition++,e}(t,e):(t.caretPosition++,t);var r,n},[wf]:function(e,t){return e.type===Kd?(n=e,(r=t).currentNode.content.start=n,r.caretPosition++,r):e.type===Xd?function(e,t){return e.currentNode.content.end=t,e.currentNode=e.currentNode.parentRef,e.currentContext=e.currentContext.parentRef,e.caretPosition++,e}(t,e):-1!==[Wd,Jd].indexOf(e.type)?function(e){return e.currentContext={parentRef:e.currentContext,type:Gd},e}(t):(t.caretPosition++,t);var r,n},[Pf]:function(e,t){return e.type===Hd?((r=t).currentContext=r.currentContext.parentRef,r):-1!==[Zd,Qd].indexOf(e.type)?function(e){return void 0===e.currentNode.content.attributes&&(e.currentNode.content.attributes=[]),e.currentNode.content.attributes.push({}),e.currentContext={type:Yd,parentRef:e.currentContext},e}(t):(t.caretPosition++,t);var r},[kf]:function(e,t){return e.type===ef?((r=t).currentContext=r.currentContext.parentRef,r):e.type===rf?function(e,t){let r=sf(e);return void 0!==r.start||void 0!==r.value?(e.currentContext=e.currentContext.parentRef,e):(r.startWrapper=t,e.caretPosition++,e)}(t,e):e.type===nf?function(e,t){return sf(e).endWrapper=t,e.currentContext=e.currentContext.parentRef,e.caretPosition++,e}(t,e):e.type===tf?function(e,t){let r=sf(e);return void 0!==r.value?(e.currentContext=e.currentContext.parentRef,e):(r.value=t,e.caretPosition++,e)}(t,e):(t.caretPosition++,t);var r},[Nf]:function(e,t){return e.type===af?(n=e,(r=t).currentNode.content.openStart=n,r.caretPosition++,r):-1!==[uf,cf].indexOf(e.type)?function(e){return e.currentContext={parentRef:e.currentContext,type:hf},e}(t):e.type===of?function(e,t){return e.currentNode.content.openEnd=t,e.caretPosition++,e}(t,e):e.type===pf?function(e,t){return e.currentNode.content.value=t,e.caretPosition++,e}(t,e):e.type===lf?function(e,t){return e.currentNode.content.close=t,e.currentNode=e.currentNode.parentRef,e.currentContext=e.currentContext.parentRef,e.caretPosition++,e}(t,e):(t.caretPosition++,t);var r,n},[_f]:function(e,t){return e.type===df?(n=e,(r=t).currentNode.content.openStart=n,r.caretPosition++,r):-1!==[yf,gf].indexOf(e.type)?function(e){return e.currentContext={parentRef:e.currentContext,type:vf},e}(t):e.type===ff?function(e,t){return e.currentNode.content.openEnd=t,e.caretPosition++,e}(t,e):e.type===xf?function(e,t){return e.currentNode.content.value=t,e.caretPosition++,e}(t,e):e.type===mf?function(e,t){return e.currentNode.content.close=t,e.currentNode=e.currentNode.parentRef,e.currentContext=e.currentContext.parentRef,e.caretPosition++,e}(t,e):(t.caretPosition++,t);var r,n}};var If=function(e=[],t,r={}){let n=t;if(void 0===t){let e={nodeType:Of,parentRef:void 0,content:{}};n={caretPosition:0,currentContext:{type:Ef,parentRef:void 0,content:[]},currentNode:e,rootNode:e,parseOptions:r}}return function(e,t,r){let n=t.caretPosition-r;for(;n<e.length;){let i=e[n];n=(t=(0,Ff[t.currentContext.type])(i,t)).caretPosition-r}}(e,n,n.caretPosition),{state:n,ast:n.rootNode}};function Bf(){}function Lf(){Lf.init.call(this)}function Mf(e){return void 0===e._maxListeners?Lf.defaultMaxListeners:e._maxListeners}function Rf(e,t,r,n){var i,s,a,o;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((s=e._events)?(s.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),a=s[t]):(s=e._events=new Bf,e._eventsCount=0),a){if("function"==typeof a?a=s[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),!a.warned&&(i=Mf(e))&&i>0&&a.length>i){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,o=l,"function"==typeof console.warn?console.warn(o):console.log(o)}}else a=s[t]=r,++e._eventsCount;return e}function jf(e,t,r){var n=!1;function i(){e.removeListener(t,i),n||(n=!0,r.apply(e,arguments))}return i.listener=r,i}function Uf(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function $f(e,t){for(var r=new Array(t);t--;)r[t]=e[t];return r}function qf(){this.head=null,this.tail=null,this.length=0}Bf.prototype=Object.create(null),Lf.EventEmitter=Lf,Lf.usingDomains=!1,Lf.prototype.domain=void 0,Lf.prototype._events=void 0,Lf.prototype._maxListeners=void 0,Lf.defaultMaxListeners=10,Lf.init=function(){this.domain=null,Lf.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Bf,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Lf.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},Lf.prototype.getMaxListeners=function(){return Mf(this)},Lf.prototype.emit=function(e){var t,r,n,i,s,a,o,l="error"===e;if(a=this._events)l=l&&null==a.error;else if(!l)return!1;if(o=this.domain,l){if(t=arguments[1],!o){if(t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=o,t.domainThrown=!1,o.emit("error",t),!1}if(!(r=a[e]))return!1;var c="function"==typeof r;switch(n=arguments.length){case 1:!function(e,t,r){if(t)e.call(r);else for(var n=e.length,i=$f(e,n),s=0;s<n;++s)i[s].call(r)}(r,c,this);break;case 2:!function(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,s=$f(e,i),a=0;a<i;++a)s[a].call(r,n)}(r,c,this,arguments[1]);break;case 3:!function(e,t,r,n,i){if(t)e.call(r,n,i);else for(var s=e.length,a=$f(e,s),o=0;o<s;++o)a[o].call(r,n,i)}(r,c,this,arguments[1],arguments[2]);break;case 4:!function(e,t,r,n,i,s){if(t)e.call(r,n,i,s);else for(var a=e.length,o=$f(e,a),l=0;l<a;++l)o[l].call(r,n,i,s)}(r,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),s=1;s<n;s++)i[s-1]=arguments[s];!function(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,s=$f(e,i),a=0;a<i;++a)s[a].apply(r,n)}(r,c,this,i)}return!0},Lf.prototype.addListener=function(e,t){return Rf(this,e,t,!1)},Lf.prototype.on=Lf.prototype.addListener,Lf.prototype.prependListener=function(e,t){return Rf(this,e,t,!0)},Lf.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,jf(this,e,t)),this},Lf.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,jf(this,e,t)),this},Lf.prototype.removeListener=function(e,t){var r,n,i,s,a;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[e]))return this;if(r===t||r.listener&&r.listener===t)0==--this._eventsCount?this._events=new Bf:(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,s=r.length;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){a=r[s].listener,i=s;break}if(i<0)return this;if(1===r.length){if(r[0]=void 0,0==--this._eventsCount)return this._events=new Bf,this;delete n[e]}else!function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(r,i);n.removeListener&&this.emit("removeListener",e,a||t)}return this},Lf.prototype.off=function(e,t){return this.removeListener(e,t)},Lf.prototype.removeAllListeners=function(e){var t,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new Bf,this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=new Bf:delete r[e]),this;if(0===arguments.length){for(var n,i=Object.keys(r),s=0;s<i.length;++s)"removeListener"!==(n=i[s])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=new Bf,this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},Lf.prototype.listeners=function(e){var t,r=this._events;return r&&(t=r[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(t):[]},Lf.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):Uf.call(e,t)},Lf.prototype.listenerCount=Uf,Lf.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]},qf.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},qf.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},qf.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},qf.prototype.clear=function(){this.head=this.tail=null,this.length=0},qf.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},qf.prototype.concat=function(e){if(0===this.length)return Ue.alloc(0);if(1===this.length)return this.head.data;for(var t=Ue.allocUnsafe(e>>>0),r=this.head,n=0;r;)r.data.copy(t,n),n+=r.data.length,r=r.next;return t};var Vf={exports:{}},zf=t(Dt);!function(e,t){var r=zf,n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=s),i(n,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(Vf,Vf.exports);var Xf=Vf.exports.Buffer,Jf=Xf.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}},Kf=Wf;function Wf(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&&(Xf.isEncoding===Jf||!Jf(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=Hf,this.end=Qf,t=4;break;case"utf8":this.fillLast=Yf,t=4;break;case"base64":this.text=Zf,this.end=em,t=3;break;default:return this.write=tm,void(this.end=rm)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Xf.allocUnsafe(t)}function Gf(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function Yf(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 Hf(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 Qf(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 Zf(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 em(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function tm(e){return e.toString(this.encoding)}function rm(e){return e&&e.length?this.write(e):""}Wf.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||""},Wf.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},Wf.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=Gf(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=Gf(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=Gf(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)},Wf.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},sm.ReadableState=im;var nm=function(e){return $t(Nt)&&(Nt=w.env.NODE_DEBUG||""),e=e.toUpperCase(),!_t[e]&&(new RegExp("\\b"+e+"\\b","i").test(Nt)?_t[e]=function(){var t=Pt.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:_t[e]=function(){}),_t[e]}("stream");function im(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Im&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=new qf,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new Kf(e.encoding),this.encoding=e.encoding)}function sm(e){if(!(this instanceof sm))return new sm(e);this._readableState=new im(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),Lf.call(this)}function om(e,t,r,n,i){var s,a,o,l=(s=t,a=r,o=null,Ue.isBuffer(a)||"string"==typeof a||null==a||s.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o);if(l)e.emit("error",l);else if(null===r)t.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,cm(e)}}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){var u=new Error("stream.push() after EOF");e.emit("error",u)}else if(t.endEmitted&&i){var c=new Error("stream.unshift() after end event");e.emit("error",c)}else{var p;!t.decoder||i||n||(r=t.decoder.write(r),p=!t.objectMode&&0===r.length),i||(t.reading=!1),p||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&cm(e))),function(e,t){t.readingMore||(t.readingMore=!0,f(hm,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}Ct(sm,Lf),sm.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=Ue.from(e,t),t=""),om(this,r,e,t,!1)},sm.prototype.unshift=function(e){return om(this,this._readableState,e,"",!0)},sm.prototype.isPaused=function(){return!1===this._readableState.flowing},sm.prototype.setEncoding=function(e){return this._readableState.decoder=new Kf(e),this._readableState.encoding=e,this};var lm=8388608;function um(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=((r=e)>=lm?r=lm:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0));var r}function cm(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(nm("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?f(pm,e):pm(e))}function pm(e){nm("emit readable"),e.emit("readable"),mm(e)}function hm(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(nm("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function dm(e){nm("readable nexttick read 0"),e.read(0)}function fm(e,t){t.reading||(nm("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),mm(e),t.flowing&&!t.reading&&e.read(0)}function mm(e){var t=e._readableState;for(nm("flow",t.flowing);t.flowing&&null!==e.read(););}function ym(e,t){return 0===t.length?null:(t.objectMode?a=t.buffer.shift():!e||e>=t.length?(a=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):(r=e,n=t.buffer,i=t.decoder,r<n.head.data.length?(s=n.head.data.slice(0,r),n.head.data=n.head.data.slice(r)):s=r===n.head.data.length?n.shift():i?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var s=r.data,a=e>s.length?s.length:e;if(a===s.length?i+=s:i+=s.slice(0,e),0==(e-=a)){a===s.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(a));break}++n}return t.length-=n,i}(r,n):function(e,t){var r=Ue.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var s=n.data,a=e>s.length?s.length:e;if(s.copy(r,r.length-e,0,a),0==(e-=a)){a===s.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(a));break}++i}return t.length-=i,r}(r,n),a=s),a);var r,n,i,s,a}function gm(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,f(xm,t,e))}function xm(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function vm(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Em(){}function bm(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function Sm(e,t){Object.defineProperty(this,"buffer",{get:kt((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Im&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r,n=e._writableState,i=n.sync,s=n.writecb;if((r=n).writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)!function(e,t,r,n,i){--t.pendingcb,r?f(i,n):i(n),e._writableState.errorEmitted=!0,e.emit("error",n)}(e,n,i,t,s);else{var a=wm(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||Cm(e,n),i?f(Dm,e,n,a,s):Dm(e,n,a,s)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Nm(this)}function Tm(e){if(!(this instanceof Tm||this instanceof Im))return new Tm(e);this._writableState=new Sm(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),Lf.call(this)}function Am(e,t,r,n,i,s,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function Dm(e,t,r,n){var i,s;r||(i=e,0===(s=t).length&&s.needDrain&&(s.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),km(e,t)}function Cm(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var a=0;r;)i[a]=r,r=r.next,a+=1;Am(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new Nm(t)}else{for(;r;){var o=r.chunk,l=r.encoding,u=r.callback;if(Am(e,t,!1,t.objectMode?1:o.length,o,l,u),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function wm(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function Pm(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function km(e,t){var r=wm(t);return r&&(0===t.pendingcb?(Pm(e,t),t.finished=!0,e.emit("finish")):Pm(e,t)),r}function Nm(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}sm.prototype.read=function(e){nm("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return nm("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?gm(this):cm(this),null;if(0===(e=um(e,t))&&t.ended)return 0===t.length&&gm(this),null;var n,i=t.needReadable;return nm("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&nm("length less than watermark",i=!0),t.ended||t.reading?nm("reading or ended",i=!1):i&&(nm("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=um(r,t))),null===(n=e>0?ym(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&gm(this)),null!==n&&this.emit("data",n),n},sm.prototype._read=function(e){this.emit("error",new Error("not implemented"))},sm.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,nm("pipe count=%d opts=%j",n.pipesCount,t);var i=t&&!1===t.end?c:a;function s(e){nm("onunpipe"),e===r&&c()}function a(){nm("onend"),e.end()}n.endEmitted?f(i):r.once("end",i),e.on("unpipe",s);var o,l=(o=r,function(){var e=o._readableState;nm("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o.listeners("data").length&&(e.flowing=!0,mm(o))});e.on("drain",l);var u=!1;function c(){nm("cleanup"),e.removeListener("close",m),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",d),e.removeListener("unpipe",s),r.removeListener("end",a),r.removeListener("end",c),r.removeListener("data",h),u=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||l()}var p=!1;function h(t){nm("ondata"),p=!1,!1!==e.write(t)||p||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==vm(n.pipes,e))&&!u&&(nm("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function d(t){nm("onerror",t),g(),e.removeListener("error",d),0===e.listeners("error").length&&e.emit("error",t)}function m(){e.removeListener("finish",y),g()}function y(){nm("onfinish"),e.removeListener("close",m),g()}function g(){nm("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",m),e.once("finish",y),e.emit("pipe",r),n.flowing||(nm("pipe resume"),r.resume()),e},sm.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var s=vm(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},sm.prototype.on=function(e,t){var r=Lf.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&cm(this):f(dm,this))}return r},sm.prototype.addListener=sm.prototype.on,sm.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(nm("resume"),r.flowing=!0,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,f(fm,e,t))),this},sm.prototype.pause=function(){return nm("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(nm("pause"),this._readableState.flowing=!1,this.emit("pause")),this},sm.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var i in e.on("end",(function(){if(nm("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)})),e.on("data",(function(i){nm("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i||(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r])}(["error","close","destroy","pause","resume"],(function(t){e.on(t,n.emit.bind(n,t))})),n._read=function(t){nm("wrapped _read",t),r&&(r=!1,e.resume())},n},sm._fromList=ym,Tm.WritableState=Sm,Ct(Tm,Lf),Sm.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Tm.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Tm.prototype.write=function(e,t,r){var n,i,s,a=this._writableState,o=!1;return"function"==typeof t&&(r=t,t=null),Ue.isBuffer(e)?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof r&&(r=Em),a.ended?(n=this,i=r,s=new Error("write after end"),n.emit("error",s),f(i,s)):function(e,t,r,n){var i=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):Ue.isBuffer(r)||"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),f(n,s),i=!1),i}(this,a,e,r)&&(a.pendingcb++,o=function(e,t,r,n,i){var s,a,o;a=r,o=n,(s=t).objectMode||!1===s.decodeStrings||"string"!=typeof a||(a=Ue.from(a,o)),r=a,Ue.isBuffer(r)&&(n="buffer");var l=t.objectMode?1:r.length;t.length+=l;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new bm(r,n,i),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Am(e,t,!1,l,r,n,i);return u}(this,a,e,t,r)),o},Tm.prototype.cork=function(){this._writableState.corked++},Tm.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||Cm(this,e))},Tm.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Tm.prototype._write=function(e,t,r){r(new Error("not implemented"))},Tm.prototype._writev=null,Tm.prototype.end=function(e,t,r){var n,i,s,a=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||a.finished||(n=this,s=r,(i=a).ending=!0,km(n,i),s&&(i.finished?f(s):n.once("finish",s)),i.ended=!0,n.writable=!1)},Ct(Im,sm);for(var _m=Object.keys(Tm.prototype),Om=0;Om<_m.length;Om++){var Fm=_m[Om];Im.prototype[Fm]||(Im.prototype[Fm]=Tm.prototype[Fm])}function Im(e){if(!(this instanceof Im))return new Im(e);sm.call(this,e),Tm.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",Bm)}function Bm(){this.allowHalfOpen||this._writableState.ended||f(Lm,this)}function Lm(e){e.end()}function Mm(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&e.push(r),i(t);var s=e._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&e._read(s.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function Rm(e){if(!(this instanceof Rm))return new Rm(e);Im.call(this,e),this._transformState=new Mm(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(e){jm(t,e)})):jm(t)}))}function jm(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function Um(e){if(!(this instanceof Um))return new Um(e);Rm.call(this,e)}function $m(){Lf.call(this)}Ct(Rm,Im),Rm.prototype.push=function(e,t){return this._transformState.needTransform=!1,Im.prototype.push.call(this,e,t)},Rm.prototype._transform=function(e,t,r){throw new Error("Not implemented")},Rm.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},Rm.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Ct(Um,Rm),Um.prototype._transform=function(e,t,r){r(null,e)},Ct($m,Lf),$m.Readable=sm,$m.Writable=Tm,$m.Duplex=Im,$m.Transform=Rm,$m.PassThrough=Um,$m.Stream=$m,$m.prototype.pipe=function(e,t){var r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",a),r.on("close",o));var s=!1;function a(){s||(s=!0,e.end())}function o(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===Lf.listenerCount(this,"error"))throw e}function u(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",a),r.removeListener("close",o),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("error",l),e.on("error",l),r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e};var qm=t(Object.freeze({__proto__:null,default:$m,Readable:sm,Writable:Tm,Duplex:Im,Transform:Rm,PassThrough:Um,Stream:$m}));let{Transform:Vm}=qm,zm=qh,{Transform:Xm}=qm,Jm=If,Km=qh,Wm=If,Gm=class extends Vm{constructor(e){super(Object.assign({},e,{decodeStrings:!1,readableObjectMode:!0})),this.currentTokenizerState=void 0,this.setDefaultEncoding("utf8")}_transform(e,t,r){let n=e;Ue.isBuffer(e)&&(n=e.toString());let{state:i,tokens:s}=zm(n,this.currentTokenizerState,{isFinalChunk:!1});this.currentTokenizerState=i,r(null,s)}_flush(e){let t=zm("",this.currentTokenizerState,{isFinalChunk:!0});this.push(t.tokens),e()}},Ym=class extends Xm{constructor(e){super(Object.assign({},e,{objectMode:!0,readableObjectMode:!0})),this.currentState=void 0}_transform(e,t,r){let{state:n,ast:i}=Jm(e,this.currentState);this.currentState=n,r(null,i)}};Yu.tokenize=Km,Yu.constructTree=Wm,Yu.StreamTokenizer=Gm,Yu.StreamTreeConstructor=Ym;let{constructTree:Hm,tokenize:Qm}=Yu;var Zm=e=>{let{tokens:t}=Qm(e),{ast:r}=Hm(t);return r};let{isObject:ey}=gu,ty=["startPosition","endPosition","parentRef","openStart","openEnd","startWrapper","endWrapper","close"],ry=function(e,t){for(let r in e)-1==ty.indexOf(r)&&e[r]&&(ey(e[r])?Array.isArray(e[r])?(t[r]=[],e[r].forEach(((e,n)=>{t[r][n]={},ry(e,t[r][n])}))):(t[r]={},ry(e[r],t[r])):t[r]=e[r])};var ny=ry;let iy=Zm,sy=ny,{escapeRegExp:ay}=gu,oy=P.types.visit;var ly=class{constructor(e,t,r){if(t||r||!e.program)this.node=e,this.parent=t||null,this.parentPath=r||null,this.value=e;else{let t=this;oy(e,{visitFile(e){["node","value","parent","get","getValueProperty","__childCache","__proto__","name"].forEach((r=>{t[r]=e[r]})),this.abort()}})}}};let{NODE_DOCUMENT:uy,NODE_DOCTYPE:cy,NODE_TAG:py,NODE_TEXT:hy,NODE_COMMENT:dy,NODE_SCRIPT:fy,NODE_STYLE:my}=Qh;function yy(e,t,r,n,i){let s=function(e=[]){return e.map((e=>{let t="";if(void 0!==e.key&&(t+=e.key.content),void 0!==e.value){let r=['"','"'];e.startWrapper&&e.startWrapper.content?r[0]=e.startWrapper.content:r[0]="",e.endWrapper&&e.endWrapper.content?r[1]=e.endWrapper.content:r[1]="",e.value.content&&e.value.content.match&&e.value.content.match(r)&&(r=["'","'"]),(e.value.content&&e.value.content.trim&&"="==e.value.content.trim()[0]||e.value.content&&e.value.content.match&&e.value.content.match(/\(/)&&e.value.content.match(/\)/)&&e.key.content.match(/\{\{/))&&(r=["",""]),t+=`=${r[0]}${e.value.content}${r[1]}`}return t})).join(" ")}(t);return""!==s&&(s=` ${s}`),(n=!1!==n&&i.content.selfClosing)?`<${e}${s}/>`:`<${e}${s}>`+r+`</${e}>`}var gy=function e(t,r=""){switch(t.content&&t.content.children&&t.content.children.length>0&&(r=t.content.children.map((t=>e(t,""))).join("")),t.nodeType){case uy:return r;case cy:return function(e){let t=function(e=[]){return e.map((e=>{let t="";return void 0!==e.startWrapper&&(t=e.startWrapper),`${t}${e.value.content}${t}`})).join(" ")}(e.content.attributes);return""!==t&&(t=` ${t}`),`<!doctype${t}>`}(t);case py:return yy(t.content.name,t.content.attributes,r,void 0,t);case hy:return t.content.value.content;case dy:return function(e){return`\x3c!--${e.content.value.content}--\x3e`}(t);case fy:return yy("script",t.content.attributes,t.content.value?t.content.value.content:"",!1,t);case my:return yy("style",t.content.attributes,t.content.value?t.content.value.content:"",!1,t);default:throw new Error(`generate failed! Unexpected node type for serialization: ${t.nodeType}`)}};let{isObject:xy,hasOwn:vy,escapeRegExp:Ey}=gu,by=ny,Sy=ly,Ty=gy,Ay="g123o456g789o";function Dy(e,t,r,n){return Object.keys(t).every((i=>{if("children"==i&&e.children&&1==t.children.length&&"text"==t.children[0].nodeType&&t.children[0].content.value.content.match){if(t.children[0].content.value.content.match(Ay)){let n=t.children[0].content.value.content.replace(Ay,"")||"0";return r[n]=r[n]||[],r[n].push({node:e.children,value:e.children.map((e=>Ty(e))).join("\n")}),!0}if(t.children[0].content.value.content.match(new RegExp(Ay.slice(0,-1)+"\\$3")))return Cy(t[i],e[i],r,n),!0}if(e&&t){if(xy(t[i])){let s=!1,a=!1;if(Array.isArray(t[i])&&(a=Cy(t[i],e[i],r,n)),Array.isArray(t[i])&&!n){if(!vy(e,i))return!(1!=t[i].length||!a);s=t[i].every((s=>{let o=!1;return!(e[i].length||1!=t[i].length||!a)||(e[i]&&e[i].forEach((e=>{Dy(e,s,r,n)&&(o=!0)})),o)}))}else try{if("token:attribute-value"==t[i].type&&!e[i]&&t[i].content.match&&t[i].content.match(Ay)){let e=t[i].content.replace(Ay,"")||"0";return r[e]=r[e]||[],r[e].push({node:null,value:null}),!0}s=vy(e,i)&&Dy(e[i],t[i],r,n)}catch(e){console.log(e)}return s}if(t[i].match&&t[i].match(new RegExp(Ay.slice(0,-1)+"\\$3")))return!0;if(t[i]==Ay||t[i].match&&t[i].match(Ay)){let n={node:e},s=t[i].replace(Ay,"")||"0";return r[s]=r[s]||[],e?(void 0!==e[i]?n.value=e[i]||"":(n.value={},by(e,n.value)),r[s].push(n),!0):void 0}return t[i],"content"==i?!(!t[i].trim().match(new RegExp(Ay))&&!("token:attribute-key"==t.type?e&&e[i]==t[i].trim():e&&e[i].match(Ey(t[i].trim())))):!!e&&e[i]==t[i]}return!1}))}function Cy(e,t,r,n){let i,s=-1,a=0;for(;e[a];){let t=e[a];for(let r in t){let n="";if(t[r]&&t[r].value&&t[r].value.content?n=t[r].value.content:t[r]&&t[r].content&&(n=t[r].content),"text"==t.nodeType){let r=n.indexOf(Ay.slice(0,-1)+"$3");r>-1&&n.slice(0,r).trim()&&(t.content.value.content=n.slice(0,r),e[a+1]={nodeType:"text",content:{value:{content:n.slice(r),type:"token:text"}}},n=t.content.value.content)}if(n&&n.match&&n.match(new RegExp(Ay.slice(0,-1)+"\\$3"))){i=n.match(new RegExp(`(?<=${Ay.slice(0,-1)}\\$3)([0-9]|[a-z]|[A-Z])*`))[0]||"$",s=a;break}}a++}if(!i)return!1;let o=t?t.slice(0):[];return e.forEach(((e,t)=>{if(t==s)return;let r=0;for(;o[r];)Dy(o[r],e,{},n)?o.splice(r,1):r++})),r[`$$$${i}`]=(r[`$$$${i}`]||[]).concat(o),!0}function wy(e){for(;e;){let t=e.parentRef?wy(e.parentRef):null;return new Sy(e,t,t)}return null}var Py={find:function(e,t,r,n,i="g123o456g789o"){let s=[],a=[],o=!1;Ay=i;let l={tag:"tag"==e||"script"==e?[{value:(t.content.name||"").match(Ay)?"":t.content.name,handle(e,{attrMap:n,parentRef:i,nodeRef:l}={}){let u={};o=Dy(l,t,u,r),o&&(s.push(wy(l)),a.push(u))}}]:[],attr:[],text:"text"==e?[{value:[t.content.trim&&t.content.trim()==Ay||t.content.value.content.trim()==Ay?"":t.content.value.content.trim()],type:"containOne",handle(e){s.push(wy(e)),a.push(e.content.value.content)}}]:[]};return"tag"!=e&&"script"!=e&&"text"!=e&&(l[e]=[{handle(e){s.push(wy(e)),e.content.value&&a.push(e.content.value.content)}}]),((e,t={},r,n)=>{function i(i){let a=i.parentRef&&i.parentRef.content.children&&Array.isArray(i.parentRef.content.children)?i.parentRef.content.children.indexOf(i):void 0,o={document:e,nodeRef:i,posIndex:a,parentRef:i.parentRef,filePath:r};if("tag"==i.nodeType||"script"==i.nodeType){let e=i.content.attributes||[],r={};e.forEach((e=>{r[e.key.content]=e})),(t.tag||[]).forEach((t=>{t.value?t.value==i.content.name&&t.handle(i.content,Object.assign({attrs:e,attrMap:r},o)):t.handle(i.content,Object.assign({attrs:e,attrMap:r},o))})),(t.attr||[]).forEach((t=>{let{key:n,value:s}=t;s?r[n]&&r[n].value&&r[n].value.content.replace(/\s/g,"")==s&&t.handle(i.content,Object.assign({attrs:e,attrMap:r},o)):n?r[n]&&t.handle(i.content,Object.assign({attrs:e,attrMap:r},o)):t.handle(i.content,Object.assign({attrs:e,attrMap:r},o))}));let n=t.event||[];if(Object.keys(r).filter((e=>e.match("mx-")))[0]&&n.forEach((e=>{e.handle(i.content,Object.assign({},o))})),t.abandonAttr)for(let r=0;r<e.length;r++){let n=e[r];n&&t.abandonAttr.indexOf(n.key.content)>-1&&(e.splice(r,1),r--)}}else if("text"==i.nodeType)(t.text||[]).forEach((e=>{let t=!1;switch(e.type){case"containOne":t=e.value.some((e=>i.content.value.content.match(ay(e)))),t&&e.handle(i,o);break;case"containAll":t=e.value.every((e=>i.content.value.content.match(ay(e)))),t&&e.handle(i,o);break;case"equal":i.content.value.content==e.value&&e.handle(i,o);break;default:e.handle(i,o)}}));else{let e=t[i.nodeType];e&&e.forEach((e=>{e.handle(i,o)})),n&&"comment"==i.nodeType&&o.parentRef.content.children.splice(o.posIndex,1)}i.content.children&&i.content.children.length&&s(i.content.children)}function s(e){let t=0;for(;e[t];){let r=e[t];r._index=t,r.reached||i(r),r.reached=!0,t++}e.forEach((e=>e.reached=!1))}e.nodeType?i(e):e.content&&e.content.children&&e.content.children.length>0&&s(e.content.children),Array.isArray(e)&&e.forEach((e=>{i(e)}))})(this,l),{nodePathList:s,matchWildCardList:a}}};let ky=function(e,t,r="g123o456g789o"){let n={nodeType:"",structure:{}};if("string"!=typeof e)return n.nodeType=e.nodeType,sy(e,n.structure),n.type=e.nodeType,n;e=e.trim().replace(/\$_\$/g,r).replace(/\$\$\$/g,r.slice(0,-1)+"$3");let i=iy(e);return i.content&&i.content.children&&i.content.children[0]&&(sy(i.content.children[0],n.structure),n.nodeType=i.content.children[0].nodeType),n},{find:Ny}=Py,_y=Zm,Oy=gy,Fy={getAstsBySelector(e,t,{strictSequence:r,deep:n,parseOptions:i,expando:s="g123o456g789o"}={}){Array.isArray(t)||(t=[t]);let a=[],o=[],l=t.map((e=>{let t=ky(e,this.parseOptions||i,s);if(!t.nodeType)throw new Error("语句类型缺失，请在 https://github.com/thx/gogocode/issues 上提供您的代码样例");return t})),u=[];return l.forEach((t=>{let i=Ny.call(e,t.nodeType,t.structure,r,n,s);i.nodePathList.forEach(((e,t)=>{-1==u.indexOf(e.node.content)&&(a.push(e),o.push(i.matchWildCardList[t]),u.push(e.node.content))}))})),{nodePathList:a,matchWildCardList:o,pathList:a,extraDataList:o}},getParentListByAst(e){let t=[];for(;e&&e.parentPath;)t.push(e.parentPath),e=e.parentPath;return t},buildAstByAstStr(e,t={},{isProgram:r=!1,parseOptions:n}={}){try{let i=_y(e,n),s=Fy.replaceStrByAst(i,t);if(!s)return null;if(r)return s;if(s.content.children&&s.content.children[0])return s.content.children.length>1?s.content.children:1==s.content.children.length?s.content.children[0]:null}catch(e){console.log("buildAstByAstStr failed:"+e)}},replaceStrByAst(e,t={}){for(let r in t){let n=t[r],{nodePathList:i}=Fy.getAstsBySelector(e,`'$_$${r}$_$'`);i.length>0&&i[0].replace(n)}return e},replaceAstByAst(e,t,r){e.parent&&e.parent.node&&e.parent.node.content?e.parent.node.content.children.splice(r,1,t):"document"==e.node.nodeType&&(e.node.content.children=[t])},replaceSelBySel(e,t,r,n,i,s="g123o456g789o"){e.node&&(e=e.node);let{nodePathList:a,matchWildCardList:o}=Fy.getAstsBySelector(e,t,{strictSequence:n,deep:"nn",parseOptions:this.parseOptions||i,expando:s}),l=r;a.forEach(((e,a)=>{let u=o[a];if("function"==typeof(r=l)&&(r=r(u,e)),Object.keys(u).length>0&&"string"==typeof r){let a=r;for(let e in u)if(e.match(/\$\$\$/)){let o=e.replace(/\$\$\$/,"");"$"==o&&(o="");let l="\n",c=u[e].map((e=>{let a="";e.key?a=e.value?`${e.key.content}="${e.value.content}"`:e.key.content:"text"==e.nodeType?a=e.content.value.content:"tag"==e.nodeType&&(a=Oy(e));try{let o=Fy.buildAstByAstStr(Oy(e),{},{isProgram:!0});Fy.replaceSelBySel(o,t,r,n,i,s),a=Oy(o)}catch{}return a})).join(l);a=a.replace("$$$"+o,c)}else{let t=u[e][0].value;"0"==e&&(e=""),a=a.replace(new RegExp(`\\$_\\$${e}`,"g"),t)}Fy.replace(e,a)}else Fy.replace(e,r)}))},replace(e,t){let r,n,i,s;"document"==e.node.nodeType?i=!0:(r=e.parent.node.content.children||[],n=r.indexOf(e.node)),t?("document"==t.nodeType?s=t.content.children||[]:"string"==typeof t?n>-1&&(s=Fy.buildAstByAstStr(t,{},{isProgram:!0}).content.children):t[0]&&t[0].nodePath?s=[t.node]:t.type&&(s=[t]),i?e.node.content.children=s:s.forEach((t=>{t.parentRef=e.parent.node,r.splice(n,1,t)}))):n>-1&&(i?e.node.content.children=[]:r.splice(n,1))},removeAst(e,t,{strictSequence:r,parseOptions:n,expando:i}={}){if(!e||"object"!=typeof e)throw new Error("remove failed! first argument mast be object");if(!t||"object"!=typeof t&&"string"!=typeof t&&!Array.isArray(t))throw new Error("remove failed! first argument mast be object、string or string array");let{nodePathList:s}=Fy.getAstsBySelector(e,t,{strictSequence:r,parseOptions:n,expando:i});s.forEach((e=>{let t=e.parent.node.content.children,r=t.indexOf(e.node);t.splice(r,1)}))},remove(e){try{e.node.parentRef.content.children.forEach(((t,r)=>{t==e.node&&e.node.parentRef.content.children.splice(r,1)}))}catch(e){throw`remove failed! ${e}`}}};var Iy=Fy,By={};function Ly(e,t){let r=Object.create(null),n=e.split(",");for(let e=0;e<n.length;e++)r[n[e]]=!0;return t?e=>!!r[e.toLowerCase()]:e=>!!r[e]}let My={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},Ry={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},jy=Ly("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function Uy(e,t=0,r=e.length){let n=e.split(/\r?\n/),i=0,s=[];for(let e=0;e<n.length;e++)if(i+=n[e].length+1,i>=t){for(let a=e-2;a<=e+2||r>i;a++){if(a<0||a>=n.length)continue;let o=a+1;s.push(`${o}${" ".repeat(Math.max(3-String(o).length,0))}|  ${n[a]}`);let l=n[a].length;if(a===e){let e=t-(i-l)+1,n=Math.max(1,r>i?l-e:r-t);s.push("   |  "+" ".repeat(e)+"^".repeat(n))}else if(a>e){if(r>i){let e=Math.max(Math.min(r-i,l),1);s.push("   |  "+"^".repeat(e))}i+=l+1}}break}return s.join("\n")}let $y="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qy=Ly($y),Vy=Ly($y+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),zy=/[>/="'\u0009\u000a\u000c\u0020]/,Xy={},Jy=Ly("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),Ky=Ly("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Wy=/;(?![^(]*\))/g,Gy=/:(.+)/;function Yy(e){let t={};return e.split(Wy).forEach((e=>{if(e){let r=e.split(Gy);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}let Hy=Ly("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),Qy=Ly("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),Zy=Ly("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),eg=/["'&<>]/,tg=/^-?>|<!--|-->|--!>|<!-$/g;function rg(e,t){if(e===t)return!0;let r=yg(e),n=yg(t);if(r||n)return!(!r||!n)&&e.getTime()===t.getTime();if(r=dg(e),n=dg(t),r||n)return!(!r||!n)&&function(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=rg(e[n],t[n]);return r}(e,t);if(r=Eg(e),n=Eg(t),r||n){if(!r||!n||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let n=e.hasOwnProperty(r),i=t.hasOwnProperty(r);if(n&&!i||!n&&i||!rg(e[r],t[r]))return!1}}return String(e)===String(t)}let ng,ig=(e,t)=>fg(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r])=>(e[`${t} =>`]=r,e)),{})}:mg(t)?{[`Set(${t.size})`]:[...t.values()]}:!Eg(t)||dg(t)||Tg(t)?t:String(t),sg="production"!==w.env.NODE_ENV?Object.freeze({}):{},ag="production"!==w.env.NODE_ENV?Object.freeze([]):[],og=()=>{},lg=()=>!1,ug=/^on[^a-z]/,cg=e=>ug.test(e),pg=Object.assign,hg=Object.prototype.hasOwnProperty,dg=Array.isArray,fg=e=>"[object Map]"===Sg(e),mg=e=>"[object Set]"===Sg(e),yg=e=>e instanceof Date,gg=e=>"function"==typeof e,xg=e=>"string"==typeof e,vg=e=>"symbol"==typeof e,Eg=e=>null!==e&&"object"==typeof e,bg=Object.prototype.toString,Sg=e=>bg.call(e),Tg=e=>"[object Object]"===Sg(e),Ag=Ly(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dg=e=>{let t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Cg=/-(\w)/g,wg=Dg((e=>e.replace(Cg,((e,t)=>t?t.toUpperCase():"")))),Pg=/\B([A-Z])/g,kg=Dg((e=>e.replace(Pg,"-$1").toLowerCase())),Ng=Dg((e=>e.charAt(0).toUpperCase()+e.slice(1))),_g=Dg((e=>e?`on${Ng(e)}`:""));var Og=Object.freeze({__proto__:null,EMPTY_ARR:ag,EMPTY_OBJ:sg,NO:lg,NOOP:og,PatchFlagNames:My,babelParserDefaultPlugins:["bigInt","optionalChaining","nullishCoalescingOperator"],camelize:wg,capitalize:Ng,def:(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},escapeHtml:function(e){let t=""+e,r=eg.exec(t);if(!r)return t;let n,i,s="",a=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}a!==i&&(s+=t.substring(a,i)),a=i+1,s+=n}return a!==i?s+t.substring(a,i):s},escapeHtmlComment:function(e){return e.replace(tg,"")},extend:pg,generateCodeFrame:Uy,getGlobalThis:()=>ng||(ng=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:void 0!==r?r:{}),hasChanged:(e,t)=>e!==t&&(e==e||t==t),hasOwn:(e,t)=>hg.call(e,t),hyphenate:kg,invokeArrayFns:(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},isArray:dg,isBooleanAttr:Vy,isDate:yg,isFunction:gg,isGloballyWhitelisted:jy,isHTMLTag:Hy,isIntegerKey:e=>xg(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,isKnownAttr:Ky,isMap:fg,isModelListener:e=>e.startsWith("onUpdate:"),isNoUnitNumericStyleProp:Jy,isObject:Eg,isOn:cg,isPlainObject:Tg,isPromise:e=>Eg(e)&&gg(e.then)&&gg(e.catch),isReservedProp:Ag,isSSRSafeAttrName:function(e){if(Xy.hasOwnProperty(e))return Xy[e];let t=zy.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Xy[e]=!t},isSVGTag:Qy,isSet:mg,isSpecialBooleanAttr:qy,isString:xg,isSymbol:vg,isVoidTag:Zy,looseEqual:rg,looseIndexOf:function(e,t){return e.findIndex((e=>rg(e,t)))},makeMap:Ly,normalizeClass:function e(t){let r="";if(xg(t))r=t;else if(dg(t))for(let n=0;n<t.length;n++){let i=e(t[n]);i&&(r+=i+" ")}else if(Eg(t))for(let e in t)t[e]&&(r+=e+" ");return r.trim()},normalizeStyle:function e(t){if(dg(t)){let r={};for(let n=0;n<t.length;n++){let i=t[n],s=e(xg(i)?Yy(i):i);if(s)for(let e in s)r[e]=s[e]}return r}if(Eg(t))return t},objectToString:bg,parseStringStyle:Yy,propsToAttrMap:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},remove:(e,t)=>{let r=e.indexOf(t);r>-1&&e.splice(r,1)},slotFlagsText:Ry,stringifyStyle:function(e){let t="";if(!e)return t;for(let r in e){let n=e[r],i=r.startsWith("--")?r:kg(r);(xg(n)||"number"==typeof n&&Jy(i))&&(t+=`${i}:${n};`)}return t},toDisplayString:e=>null==e?"":Eg(e)?JSON.stringify(e,ig,2):String(e),toHandlerKey:_g,toNumber:e=>{let t=parseFloat(e);return isNaN(t)?e:t},toRawType:e=>Sg(e).slice(8,-1),toTypeString:Sg});function Fg(e){throw e}function Ig(e,t,r,n){let i="production"!==w.env.NODE_ENV?(r||Bg)[e]+(n||""):e,s=new SyntaxError(String(i));return s.code=e,s.loc=t,s}let Bg={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",26:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",27:"v-if/v-else-if is missing expression.",28:"v-if/else branches must use unique keys.",29:"v-else/v-else-if has no adjacent v-if.",30:"v-for is missing expression.",31:"v-for has invalid expression.",32:"<template v-for> key should be placed on the <template> tag.",33:"v-bind is missing expression.",34:"v-on is missing expression.",35:"Unexpected custom directive on <slot> outlet.",36:"Mixed v-slot usage on both the component and nested <template>.When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",37:"Duplicate slot names found. ",38:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",39:"v-slot can only be used on components or <template> tags.",40:"v-model is missing expression.",41:"v-model value must be a valid JavaScript member expression.",42:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",43:"Error parsing JavaScript expression: ",44:"<KeepAlive> expects exactly one child component.",45:'"prefixIdentifiers" option is not supported in this build of compiler.',46:"ES module mode is not supported in this build of compiler.",47:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',48:'"scopeId" option is only supported in module mode.'},Lg=Symbol("production"!==w.env.NODE_ENV?"Fragment":""),Mg=Symbol("production"!==w.env.NODE_ENV?"Teleport":""),Rg=Symbol("production"!==w.env.NODE_ENV?"Suspense":""),jg=Symbol("production"!==w.env.NODE_ENV?"KeepAlive":""),Ug=Symbol("production"!==w.env.NODE_ENV?"BaseTransition":""),$g=Symbol("production"!==w.env.NODE_ENV?"openBlock":""),qg=Symbol("production"!==w.env.NODE_ENV?"createBlock":""),Vg=Symbol("production"!==w.env.NODE_ENV?"createVNode":""),zg=Symbol("production"!==w.env.NODE_ENV?"createCommentVNode":""),Xg=Symbol("production"!==w.env.NODE_ENV?"createTextVNode":""),Jg=Symbol("production"!==w.env.NODE_ENV?"createStaticVNode":""),Kg=Symbol("production"!==w.env.NODE_ENV?"resolveComponent":""),Wg=Symbol("production"!==w.env.NODE_ENV?"resolveDynamicComponent":""),Gg=Symbol("production"!==w.env.NODE_ENV?"resolveDirective":""),Yg=Symbol("production"!==w.env.NODE_ENV?"withDirectives":""),Hg=Symbol("production"!==w.env.NODE_ENV?"renderList":""),Qg=Symbol("production"!==w.env.NODE_ENV?"renderSlot":""),Zg=Symbol("production"!==w.env.NODE_ENV?"createSlots":""),ex=Symbol("production"!==w.env.NODE_ENV?"toDisplayString":""),tx=Symbol("production"!==w.env.NODE_ENV?"mergeProps":""),rx=Symbol("production"!==w.env.NODE_ENV?"toHandlers":""),nx=Symbol("production"!==w.env.NODE_ENV?"camelize":""),ix=Symbol("production"!==w.env.NODE_ENV?"capitalize":""),sx=Symbol("production"!==w.env.NODE_ENV?"toHandlerKey":""),ax=Symbol("production"!==w.env.NODE_ENV?"setBlockTracking":""),ox=Symbol("production"!==w.env.NODE_ENV?"pushScopeId":""),lx=Symbol("production"!==w.env.NODE_ENV?"popScopeId":""),ux=Symbol("production"!==w.env.NODE_ENV?"withScopeId":""),cx=Symbol("production"!==w.env.NODE_ENV?"withCtx":""),px=Symbol("production"!==w.env.NODE_ENV?"unref":""),hx=Symbol("production"!==w.env.NODE_ENV?"isRef":""),dx={[Lg]:"Fragment",[Mg]:"Teleport",[Rg]:"Suspense",[jg]:"KeepAlive",[Ug]:"BaseTransition",[$g]:"openBlock",[qg]:"createBlock",[Vg]:"createVNode",[zg]:"createCommentVNode",[Xg]:"createTextVNode",[Jg]:"createStaticVNode",[Kg]:"resolveComponent",[Wg]:"resolveDynamicComponent",[Gg]:"resolveDirective",[Yg]:"withDirectives",[Hg]:"renderList",[Qg]:"renderSlot",[Zg]:"createSlots",[ex]:"toDisplayString",[tx]:"mergeProps",[rx]:"toHandlers",[nx]:"camelize",[ix]:"capitalize",[sx]:"toHandlerKey",[ax]:"setBlockTracking",[ox]:"pushScopeId",[lx]:"popScopeId",[ux]:"withScopeId",[cx]:"withCtx",[px]:"unref",[hx]:"isRef"};function fx(e){Object.getOwnPropertySymbols(e).forEach((t=>{dx[t]=e[t]}))}let mx={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function yx(e,t=mx){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function gx(e,t,r,n,i,s,a,o=!1,l=!1,u=mx){return e&&(o?(e.helper($g),e.helper(qg)):e.helper(Vg),a&&e.helper(Yg)),{type:13,tag:t,props:r,children:n,patchFlag:i,dynamicProps:s,directives:a,isBlock:o,disableTracking:l,loc:u}}function xx(e,t=mx){return{type:17,loc:t,elements:e}}function vx(e,t=mx){return{type:15,loc:t,properties:e}}function Ex(e,t){return{type:16,loc:mx,key:xg(e)?bx(e,!0):e,value:t}}function bx(e,t,r=mx,n=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:n}}function Sx(e,t){return{type:5,loc:t,content:xg(e)?bx(e,!1,t):e}}function Tx(e,t=mx){return{type:8,loc:t,children:e}}function Ax(e,t=[],r=mx){return{type:14,loc:r,callee:e,arguments:t}}function Dx(e,t,r=!1,n=!1,i=mx){return{type:18,params:e,returns:t,newline:r,isSlot:n,loc:i}}function Cx(e,t,r,n=!0){return{type:19,test:e,consequent:t,alternate:r,newline:n,loc:mx}}function wx(e,t,r=!1){return{type:20,index:e,value:t,isVNode:r,loc:mx}}function Px(e){return{type:21,body:e,loc:mx}}function kx(e){return{type:22,elements:e,loc:mx}}function Nx(e,t,r){return{type:23,test:e,consequent:t,alternate:r,loc:mx}}function _x(e,t){return{type:24,left:e,right:t,loc:mx}}function Ox(e){return{type:25,expressions:e,loc:mx}}function Fx(e){return{type:26,returns:e,loc:mx}}let Ix=e=>4===e.type&&e.isStatic,Bx=(e,t)=>e===t||e===kg(t);function Lx(e){return Bx(e,"Teleport")?Mg:Bx(e,"Suspense")?Rg:Bx(e,"KeepAlive")?jg:Bx(e,"BaseTransition")?Ug:void 0}let Mx=/^\d|[^\$\w]/,Rx=e=>!Mx.test(e),jx=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Ux=e=>!!e&&jx.test(e.trim());function $x(e,t,r){let n={source:e.source.substr(t,r),start:qx(e.start,e.source,t),end:e.end};return null!=r&&(n.end=qx(e.start,e.source,t+r)),n}function qx(e,t,r=t.length){return Vx(pg({},e),t,r)}function Vx(e,t,r=t.length){let n=0,i=-1;for(let e=0;e<r;e++)10===t.charCodeAt(e)&&(n++,i=e);return e.offset+=r,e.line+=n,e.column=-1===i?e.column+r:r-i,e}function zx(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Xx(e,t,r=!1){for(let n=0;n<e.props.length;n++){let i=e.props[n];if(7===i.type&&(r||i.exp)&&(xg(t)?i.name===t:t.test(i.name)))return i}}function Jx(e,t,r=!1,n=!1){for(let i=0;i<e.props.length;i++){let s=e.props[i];if(6===s.type){if(r)continue;if(s.name===t&&(s.value||n))return s}else if("bind"===s.name&&(s.exp||n)&&Kx(s.arg,t))return s}}function Kx(e,t){return!(!e||!Ix(e)||e.content!==t)}function Wx(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Gx(e){return 5===e.type||2===e.type}function Yx(e){return 7===e.type&&"slot"===e.name}function Hx(e){return 1===e.type&&3===e.tagType}function Qx(e){return 1===e.type&&2===e.tagType}function Zx(e,t,r){let n,i=13===e.type?e.props:e.arguments[2];if(null==i||xg(i))n=vx([t]);else if(14===i.type){let e=i.arguments[0];xg(e)||15!==e.type?i.callee===rx?n=Ax(r.helper(tx),[vx([t]),i]):i.arguments.unshift(vx([t])):e.properties.unshift(t),!n&&(n=i)}else if(15===i.type){let e=!1;if(4===t.key.type){let r=t.key.content;e=i.properties.some((e=>4===e.key.type&&e.key.content===r))}e||i.properties.unshift(t),n=i}else n=Ax(r.helper(tx),[vx([t]),i]);13===e.type?e.props=n:e.arguments[2]=n}function ev(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function tv(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let r=0;r<e.props.length;r++){let n=e.props[r];if(7===n.type&&(tv(n.arg,t)||tv(n.exp,t)))return!0}return e.children.some((e=>tv(e,t)));case 11:return!!tv(e.source,t)||e.children.some((e=>tv(e,t)));case 9:return e.branches.some((e=>tv(e,t)));case 10:return!!tv(e.condition,t)||e.children.some((e=>tv(e,t)));case 4:return!e.isStatic&&Rx(e.content)&&!!t[e.content];case 8:return e.children.some((e=>Eg(e)&&tv(e,t)));case 5:case 12:return tv(e.content,t);default:return!1}}let rv=/&(gt|lt|amp|apos|quot);/g,nv={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},iv={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:lg,isPreTag:lg,isCustomElement:lg,decodeEntities:e=>e.replace(rv,((e,t)=>nv[t])),onError:Fg,comments:!1};function sv(e,t={}){let r=function(e,t){let r=pg({},iv);for(let e in t)r[e]=t[e]||iv[e];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),n=vv(r);return yx(av(r,0,[]),Ev(r,n))}function av(e,t,r){let n=bv(r),i=n?n.ns:0,s=[];for(;!wv(e,t,r);){let a,o=e.source;if(0===t||1===t)if(!e.inVPre&&Sv(o,e.options.delimiters[0]))a=yv(e,t);else if(0===t&&"<"===o[0])if(1===o.length)Cv(e,5,1);else if("!"===o[1])Sv(o,"\x3c!--")?a=uv(e):Sv(o,"<!DOCTYPE")?a=cv(e):Sv(o,"<![CDATA[")?0!==i?a=lv(e,r):(Cv(e,1),a=cv(e)):(Cv(e,11),a=cv(e));else if("/"===o[1])if(2===o.length)Cv(e,5,2);else{if(">"===o[2]){Cv(e,14,2),Tv(e,3);continue}if(/[a-z]/i.test(o[2])){Cv(e,23),dv(e,1,n);continue}Cv(e,12,2),a=cv(e)}else/[a-z]/i.test(o[1])?a=pv(e,r):"?"===o[1]?(Cv(e,21,1),a=cv(e)):Cv(e,12,1);if(a||(a=gv(e,t)),dg(a))for(let e=0;e<a.length;e++)ov(s,a[e]);else ov(s,a)}let a=!1;if(2!==t&&1!==t){for(let t=0;t<s.length;t++){let r=s[t];if(!e.inPre&&2===r.type)if(/[^\t\r\n\f ]/.test(r.content))r.content=r.content.replace(/[\t\r\n\f ]+/g," ");else{let e=s[t-1],n=s[t+1];!e||!n||3===e.type||3===n.type||1===e.type&&1===n.type&&/[\r\n]/.test(r.content)?(a=!0,s[t]=null):r.content=" "}"production"!==w.env.NODE_ENV||3!==r.type||e.options.comments||(a=!0,s[t]=null)}if(e.inPre&&n&&e.options.isPreTag(n.tag)){let e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return a?s.filter(Boolean):s}function ov(e,t){if(2===t.type){let r=bv(e);if(r&&2===r.type&&r.loc.end.offset===t.loc.start.offset)return r.content+=t.content,r.loc.end=t.loc.end,void(r.loc.source+=t.loc.source)}e.push(t)}function lv(e,t){Tv(e,9);let r=av(e,3,t);return 0===e.source.length?Cv(e,6):Tv(e,3),r}function uv(e){let t,r=vv(e),n=/--(\!)?>/.exec(e.source);if(n){n.index<=3&&Cv(e,0),n[1]&&Cv(e,10),t=e.source.slice(4,n.index);let r=e.source.slice(0,n.index),i=1,s=0;for(;-1!==(s=r.indexOf("\x3c!--",i));)Tv(e,s-i+1),s+4<r.length&&Cv(e,16),i=s+1;Tv(e,n.index+n[0].length-i+1)}else t=e.source.slice(4),Tv(e,e.source.length),Cv(e,7);return{type:3,content:t,loc:Ev(e,r)}}function cv(e){let t,r=vv(e),n="?"===e.source[1]?1:2,i=e.source.indexOf(">");return-1===i?(t=e.source.slice(n),Tv(e,e.source.length)):(t=e.source.slice(n,i),Tv(e,i+1)),{type:3,content:t,loc:Ev(e,r)}}function pv(e,t){let r=e.inPre,n=e.inVPre,i=bv(t),s=dv(e,0,i),a=e.inPre&&!r,o=e.inVPre&&!n;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);let l=e.options.getTextMode(s,i),u=av(e,l,t);if(t.pop(),s.children=u,Pv(e.source,s.tag))dv(e,1,i);else if(Cv(e,24,0,s.loc.start),0===e.source.length&&"script"===s.tag.toLowerCase()){let t=u[0];t&&Sv(t.loc.source,"\x3c!--")&&Cv(e,8)}return s.loc=Ev(e,s.loc.start),a&&(e.inPre=!1),o&&(e.inVPre=!1),s}let hv=Ly("if,else,else-if,for,slot");function dv(e,t,r){let n=vv(e),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=i[1],a=e.options.getNamespace(s,r);Tv(e,i[0].length),Av(e);let o=vv(e),l=e.source,u=fv(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&u.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,pg(e,o),e.source=l,u=fv(e,t).filter((e=>"v-pre"!==e.name)));let c=!1;0===e.source.length?Cv(e,9):(c=Sv(e.source,"/>"),1===t&&c&&Cv(e,4),Tv(e,c?2:1));let p=0,h=e.options;if(!e.inVPre&&!h.isCustomElement(s)){let e=u.some((e=>7===e.type&&"is"===e.name));h.isNativeTag&&!e?h.isNativeTag(s)||(p=1):(e||Lx(s)||h.isBuiltInComponent&&h.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&u.some((e=>7===e.type&&hv(e.name)))&&(p=3)}return{type:1,ns:a,tag:s,tagType:p,props:u,isSelfClosing:c,children:[],loc:Ev(e,n),codegenNode:void 0}}function fv(e,t){let r=[],n=new Set;for(;e.source.length>0&&!Sv(e.source,">")&&!Sv(e.source,"/>");){if(Sv(e.source,"/")){Cv(e,22),Tv(e,1),Av(e);continue}1===t&&Cv(e,3);let i=mv(e,n);0===t&&r.push(i),/^[^\t\r\n\f />]/.test(e.source)&&Cv(e,15),Av(e)}return r}function mv(e,t){let r,n=vv(e),i=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(i)&&Cv(e,2),t.add(i),"="===i[0]&&Cv(e,19);{let t,r=/["'<]/g;for(;t=r.exec(i);)Cv(e,17,t.index)}Tv(e,i.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Av(e),Tv(e,1),Av(e),r=function(e){let t,r=vv(e),n=e.source[0],i='"'===n||"'"===n;if(i){Tv(e,1);let r=e.source.indexOf(n);-1===r?t=xv(e,e.source.length,4):(t=xv(e,r,4),Tv(e,1))}else{let r=/^[^\t\r\n\f >]+/.exec(e.source);if(!r)return;let n,i=/["'<=`]/g;for(;n=i.exec(r[0]);)Cv(e,18,n.index);t=xv(e,r[0].length,4)}return{content:t,isQuoted:i,loc:Ev(e,r)}}(e),r||Cv(e,13));let s=Ev(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(i)){let t,a=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(i),o=a[1]||(Sv(i,":")?"bind":Sv(i,"@")?"on":"slot");if(a[2]){let r="slot"===o,s=i.lastIndexOf(a[2]),l=Ev(e,Dv(e,n,s),Dv(e,n,s+a[2].length+(r&&a[3]||"").length)),u=a[2],c=!0;u.startsWith("[")?(c=!1,u.endsWith("]")||Cv(e,26),u=u.substr(1,u.length-2)):r&&(u+=a[3]||""),t={type:4,content:u,isStatic:c,constType:c?3:0,loc:l}}if(r&&r.isQuoted){let e=r.loc;e.start.offset++,e.start.column++,e.end=qx(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:o,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:t,modifiers:a[3]?a[3].substr(1).split("."):[],loc:s}}return{type:6,name:i,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function yv(e,t){let[r,n]=e.options.delimiters,i=e.source.indexOf(n,r.length);if(-1===i)return void Cv(e,25);let s=vv(e);Tv(e,r.length);let a=vv(e),o=vv(e),l=i-r.length,u=e.source.slice(0,l),c=xv(e,l,t),p=c.trim(),h=c.indexOf(p);return h>0&&Vx(a,u,h),Vx(o,u,l-(c.length-p.length-h)),Tv(e,n.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Ev(e,a,o)},loc:Ev(e,s)}}function gv(e,t){let r=["<",e.options.delimiters[0]];3===t&&r.push("]]>");let n=e.source.length;for(let t=0;t<r.length;t++){let i=e.source.indexOf(r[t],1);-1!==i&&n>i&&(n=i)}let i=vv(e);return{type:2,content:xv(e,n,t),loc:Ev(e,i)}}function xv(e,t,r){let n=e.source.slice(0,t);return Tv(e,t),2===r||3===r||-1===n.indexOf("&")?n:e.options.decodeEntities(n,4===r)}function vv(e){let{column:t,line:r,offset:n}=e;return{column:t,line:r,offset:n}}function Ev(e,t,r){return{start:t,end:r=r||vv(e),source:e.originalSource.slice(t.offset,r.offset)}}function bv(e){return e[e.length-1]}function Sv(e,t){return e.startsWith(t)}function Tv(e,t){let{source:r}=e;Vx(e,r,t),e.source=r.slice(t)}function Av(e){let t=/^[\t\r\n\f ]+/.exec(e.source);t&&Tv(e,t[0].length)}function Dv(e,t,r){return qx(t,e.originalSource.slice(t.offset,r),r)}function Cv(e,t,r,n=vv(e)){r&&(n.offset+=r,n.column+=r),e.options.onError(Ig(t,{start:n,end:n,source:""}))}function wv(e,t,r){let n=e.source;switch(t){case 0:if(Sv(n,"</"))for(let e=r.length-1;e>=0;--e)if(Pv(n,r[e].tag))return!0;break;case 1:case 2:{let e=bv(r);if(e&&Pv(n,e.tag))return!0;break}case 3:if(Sv(n,"]]>"))return!0}return!n}function Pv(e,t){return Sv(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function kv(e,t){_v(e,t,Nv(e,e.children[0]))}function Nv(e,t){let{children:r}=e;return 1===r.length&&1===t.type&&!Qx(t)}function _v(e,t,r=!1){let n=!1,i=!0,{children:s}=e;for(let e=0;e<s.length;e++){let a=s[e];if(1===a.type&&0===a.tagType){let e=r?0:Ov(a,t);if(e>0){if(e<3&&(i=!1),e>=2){a.codegenNode.patchFlag=-1+("production"!==w.env.NODE_ENV?" /* HOISTED */":""),a.codegenNode=t.hoist(a.codegenNode),n=!0;continue}}else{let e=a.codegenNode;if(13===e.type){let r=Bv(e);if((!r||512===r||1===r)&&Fv(a,t)>=2){let r=Iv(a);r&&(e.props=t.hoist(r))}}}}else if(12===a.type){let e=Ov(a.content,t);e>0&&(e<3&&(i=!1),e>=2&&(a.codegenNode=t.hoist(a.codegenNode),n=!0))}if(1===a.type){let e=1===a.tagType;e&&t.scopes.vSlot++,_v(a,t),e&&t.scopes.vSlot--}else if(11===a.type)_v(a,t,1===a.children.length);else if(9===a.type)for(let e=0;e<a.branches.length;e++)_v(a.branches[e],t,1===a.branches[e].children.length)}i&&n&&t.transformHoist&&t.transformHoist(s,t,e)}function Ov(e,t){let{constantCache:r}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;let n=r.get(e);if(void 0!==n)return n;let i=e.codegenNode;if(13!==i.type)return 0;if(Bv(i))return r.set(e,0),0;{let n=3,s=Fv(e,t);if(0===s)return r.set(e,0),0;s<n&&(n=s);for(let i=0;i<e.children.length;i++){let s=Ov(e.children[i],t);if(0===s)return r.set(e,0),0;s<n&&(n=s)}if(n>1)for(let i=0;i<e.props.length;i++){let s=e.props[i];if(7===s.type&&"bind"===s.name&&s.exp){let i=Ov(s.exp,t);if(0===i)return r.set(e,0),0;i<n&&(n=i)}}return i.isBlock&&(t.removeHelper($g),t.removeHelper(qg),i.isBlock=!1,t.helper(Vg)),r.set(e,n),n}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Ov(e.content,t);case 4:return e.constType;case 8:let s=3;for(let r=0;r<e.children.length;r++){let n=e.children[r];if(xg(n)||vg(n))continue;let i=Ov(n,t);if(0===i)return 0;i<s&&(s=i)}return s}}function Fv(e,t){let r=3,n=Iv(e);if(n&&15===n.type){let{properties:e}=n;for(let n=0;n<e.length;n++){let{key:i,value:s}=e[n],a=Ov(i,t);if(0===a)return a;if(a<r&&(r=a),4!==s.type)return 0;let o=Ov(s,t);if(0===o)return o;o<r&&(r=o)}}return r}function Iv(e){let t=e.codegenNode;if(13===t.type)return t.props}function Bv(e){let t=e.patchFlag;return t?parseInt(t,10):void 0}function Lv(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:n=!1,cacheHandlers:i=!1,nodeTransforms:s=[],directiveTransforms:a={},transformHoist:o=null,isBuiltInComponent:l=og,isCustomElement:u=og,expressionPlugins:c=[],scopeId:p=null,slotted:h=!0,ssr:d=!1,ssrCssVars:f="",bindingMetadata:m=sg,inline:y=!1,isTS:g=!1,onError:x=Fg}){let v=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),E={selfName:v&&Ng(wg(v[1])),prefixIdentifiers:r,hoistStatic:n,cacheHandlers:i,nodeTransforms:s,directiveTransforms:a,transformHoist:o,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:c,scopeId:p,slotted:h,ssr:d,ssrCssVars:f,bindingMetadata:m,inline:y,isTS:g,onError:x,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper(e){let t=E.helpers.get(e)||0;return E.helpers.set(e,t+1),e},removeHelper(e){let t=E.helpers.get(e);if(t){let r=t-1;r?E.helpers.set(e,r):E.helpers.delete(e)}},helperString:e=>`_${dx[E.helper(e)]}`,replaceNode(e){if("production"!==w.env.NODE_ENV){if(!E.currentNode)throw new Error("Node being replaced is already removed.");if(!E.parent)throw new Error("Cannot replace root node.")}E.parent.children[E.childIndex]=E.currentNode=e},removeNode(e){if("production"!==w.env.NODE_ENV&&!E.parent)throw new Error("Cannot remove root node.");let t=E.parent.children,r=e?t.indexOf(e):E.currentNode?E.childIndex:-1;if("production"!==w.env.NODE_ENV&&r<0)throw new Error("node being removed is not a child of current parent");e&&e!==E.currentNode?E.childIndex>r&&(E.childIndex--,E.onNodeRemoved()):(E.currentNode=null,E.onNodeRemoved()),E.parent.children.splice(r,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){E.hoists.push(e);let t=bx(`_hoisted_${E.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>wx(++E.cached,e,t)};return E}function Mv(e,t){let r=Lv(e,t);Rv(e,r),t.hoistStatic&&kv(e,r),t.ssr||function(e,t){let{helper:r,removeHelper:n}=t,{children:i}=e;if(1===i.length){let t=i[0];if(Nv(e,t)&&t.codegenNode){let i=t.codegenNode;13===i.type&&(i.isBlock||(n(Vg),i.isBlock=!0,r($g),r(qg))),e.codegenNode=i}else e.codegenNode=t}else if(i.length>1){let n=64,s=My[64];"production"!==w.env.NODE_ENV&&1===i.filter((e=>3!==e.type)).length&&(n|=2048,s+=`, ${My[2048]}`),e.codegenNode=gx(t,r(Lg),void 0,e.children,n+("production"!==w.env.NODE_ENV?` /* ${s} */`:""),void 0,void 0,!0)}}(e,r),e.helpers=[...r.helpers.keys()],e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached}function Rv(e,t){t.currentNode=e;let{nodeTransforms:r}=t,n=[];for(let i=0;i<r.length;i++){let s=r[i](e,t);if(s&&(dg(s)?n.push(...s):n.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(zg);break;case 5:t.ssr||t.helper(ex);break;case 9:for(let r=0;r<e.branches.length;r++)Rv(e.branches[r],t);break;case 10:case 11:case 1:case 0:!function(e,t){let r=0,n=()=>{r--};for(;r<e.children.length;r++){let i=e.children[r];xg(i)||(t.parent=e,t.childIndex=r,t.onNodeRemoved=n,Rv(i,t))}}(e,t)}t.currentNode=e;let i=n.length;for(;i--;)n[i]()}function jv(e,t){let r=xg(e)?t=>t===e:t=>e.test(t);return(e,n)=>{if(1===e.type){let{props:i}=e;if(3===e.tagType&&i.some(Yx))return;let s=[];for(let a=0;a<i.length;a++){let o=i[a];if(7===o.type&&r(o.name)){i.splice(a,1),a--;let r=t(e,o,n);r&&s.push(r)}}return s}}}let Uv="/*#__PURE__*/";function $v(e,t={}){let r=function(e,{mode:t="function",prefixIdentifiers:r="module"===t,sourceMap:n=!1,filename:i="template.vue.html",scopeId:s=null,optimizeImports:a=!1,runtimeGlobalName:o="Vue",runtimeModuleName:l="vue",ssr:u=!1}){let c={mode:t,prefixIdentifiers:r,sourceMap:n,filename:i,scopeId:s,optimizeImports:a,runtimeGlobalName:o,runtimeModuleName:l,ssr:u,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${dx[e]}`,push(e,t){c.code+=e},indent(){p(++c.indentLevel)},deindent(e=!1){e?--c.indentLevel:p(--c.indentLevel)},newline(){p(c.indentLevel)}};function p(e){c.push("\n"+"  ".repeat(e))}return c}(e,t);t.onContextCreated&&t.onContextCreated(r);let{mode:n,push:i,prefixIdentifiers:s,indent:a,deindent:o,newline:l,scopeId:u,ssr:c}=r,p=e.helpers.length>0,h=!s&&"module"!==n;if(function(e,t){let{ssr:r,prefixIdentifiers:n,push:i,newline:s,runtimeModuleName:a,runtimeGlobalName:o}=t,l=o;e.helpers.length>0&&(i(`const _Vue = ${l}\n`),e.hoists.length)&&i(`const { ${[Vg,zg,Xg,Jg].filter((t=>e.helpers.includes(t))).map((e=>`${dx[e]}: _${dx[e]}`)).join(", ")} } = _Vue\n`),function(e,t){if(!e.length)return;t.pure=!0;let{push:r,newline:n,helper:i,scopeId:s,mode:a}=t;n(),e.forEach(((e,i)=>{e&&(r(`const _hoisted_${i+1} = `),Xv(e,t),n())})),t.pure=!1}(e.hoists,t),s(),i("return ")}(e,r),i(`function ${c?"ssrRender":"render"}(${(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),a(),h&&(i("with (_ctx) {"),a(),p&&(i(`const { ${e.helpers.map((e=>`${dx[e]}: _${dx[e]}`)).join(", ")} } = _Vue`),i("\n"),l())),e.components.length&&(qv(e.components,"component",r),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(qv(e.directives,"directive",r),e.temps>0&&l()),e.temps>0){i("let ");for(let t=0;t<e.temps;t++)i(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i("\n"),l()),c||i("return "),e.codegenNode?Xv(e.codegenNode,r):i("null"),h&&(o(),i("}")),o(),i("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function qv(e,t,{helper:r,push:n,newline:i}){let s=r("component"===t?Kg:Gg);for(let r=0;r<e.length;r++){let a=e[r],o=a.endsWith("__self");o&&(a=a.slice(0,-6)),n(`const ${ev(a,t)} = ${s}(${JSON.stringify(a)}${o?", true":""})`),r<e.length-1&&i()}}function Vv(e,t){let r=e.length>3||"production"!==w.env.NODE_ENV&&e.some((e=>{return dg(e)||!(xg(t=e)||4===t.type||2===t.type||5===t.type||8===t.type);var t}));t.push("["),r&&t.indent(),zv(e,t,r),r&&t.deindent(),t.push("]")}function zv(e,t,r=!1,n=!0){let{push:i,newline:s}=t;for(let a=0;a<e.length;a++){let o=e[a];xg(o)?i(o):dg(o)?Vv(o,t):Xv(o,t),a<e.length-1&&(r?(n&&i(","),s()):n&&i(", "))}}function Xv(e,t){if(xg(e))t.push(e);else if(vg(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:"production"!==w.env.NODE_ENV&&zx(null!=e.codegenNode,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),Xv(e.codegenNode,t);break;case 2:r=e,t.push(JSON.stringify(r.content),r);break;case 4:Jv(e,t);break;case 5:!function(e,t){let{push:r,helper:n,pure:i}=t;i&&r(Uv),r(`${n(ex)}(`),Xv(e.content,t),r(")")}(e,t);break;case 12:Xv(e.codegenNode,t);break;case 8:Kv(e,t);break;case 3:!function(e,t){if("production"!==w.env.NODE_ENV){let{push:r,helper:n,pure:i}=t;i&&r(Uv),r(`${n(zg)}(${JSON.stringify(e.content)})`,e)}}(e,t);break;case 13:!function(e,t){let{push:r,helper:n,pure:i}=t,{tag:s,props:a,children:o,patchFlag:l,dynamicProps:u,directives:c,isBlock:p,disableTracking:h}=e;c&&r(n(Yg)+"("),p&&r(`(${n($g)}(${h?"true":""}), `),i&&r(Uv),r(n(p?qg:Vg)+"(",e),zv(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,a,o,l,u]),t),r(")"),p&&r(")"),c&&(r(", "),Xv(c,t),r(")"))}(e,t);break;case 14:!function(e,t){let{push:r,helper:n,pure:i}=t,s=xg(e.callee)?e.callee:n(e.callee);i&&r(Uv),r(s+"(",e),zv(e.arguments,t),r(")")}(e,t);break;case 15:!function(e,t){let{push:r,indent:n,deindent:i,newline:s}=t,{properties:a}=e;if(!a.length)return void r("{}",e);let o=a.length>1||"production"!==w.env.NODE_ENV&&a.some((e=>4!==e.value.type));r(o?"{":"{ "),o&&n();for(let e=0;e<a.length;e++){let{key:n,value:i}=a[e];Wv(n,t),r(": "),Xv(i,t),e<a.length-1&&(r(","),s())}o&&i(),r(o?"}":" }")}(e,t);break;case 17:!function(e,t){Vv(e.elements,t)}(e,t);break;case 18:!function(e,t){let{push:r,indent:n,deindent:i,scopeId:s,mode:a}=t,{params:o,returns:l,body:u,newline:c,isSlot:p}=e;p&&r(`_${dx[cx]}(`),r("(",e),dg(o)?zv(o,t):o&&Xv(o,t),r(") => "),(c||u)&&(r("{"),n()),l?(c&&r("return "),dg(l)?Vv(l,t):Xv(l,t)):u&&Xv(u,t),(c||u)&&(i(),r("}")),p&&r(")")}(e,t);break;case 19:!function(e,t){let{test:r,consequent:n,alternate:i,newline:s}=e,{push:a,indent:o,deindent:l,newline:u}=t;if(4===r.type){let e=!Rx(r.content);e&&a("("),Jv(r,t),e&&a(")")}else a("("),Xv(r,t),a(")");s&&o(),t.indentLevel++,s||a(" "),a("? "),Xv(n,t),t.indentLevel--,s&&u(),s||a(" "),a(": ");let c=19===i.type;c||t.indentLevel++,Xv(i,t),c||t.indentLevel--,s&&l(!0)}(e,t);break;case 20:!function(e,t){let{push:r,helper:n,indent:i,deindent:s,newline:a}=t;r(`_cache[${e.index}] || (`),e.isVNode&&(i(),r(`${n(ax)}(-1),`),a()),r(`_cache[${e.index}] = `),Xv(e.value,t),e.isVNode&&(r(","),a(),r(`${n(ax)}(1),`),a(),r(`_cache[${e.index}]`),s()),r(")")}(e,t);break;case 21:case 22:case 23:case 24:case 25:case 26:case 10:break;default:if("production"!==w.env.NODE_ENV)return zx(!1,`unhandled codegen node type: ${e.type}`),e}var r}function Jv(e,t){let{content:r,isStatic:n}=e;t.push(n?JSON.stringify(r):r,e)}function Kv(e,t){for(let r=0;r<e.children.length;r++){let n=e.children[r];xg(n)?t.push(n):Xv(n,t)}}function Wv(e,t){let{push:r}=t;8===e.type?(r("["),Kv(e,t),r("]")):e.isStatic?r(Rx(e.content)?e.content:JSON.stringify(e.content),e):r(`[${e.content}]`,e)}let Gv=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b"),Yv=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function Hv(e,t,r=!1,n=!1){let i=e.content;if(i.trim())try{new Function(n?` ${i} `:"return "+(r?`(${i}) => {}`:`(${i})`))}catch(r){let n=r.message,s=i.replace(Yv,"").match(Gv);s&&(n=`avoid using JavaScript keyword as property name: "${s[0]}"`),t.onError(Ig(43,e.loc,void 0,n))}}let Qv=(e,t)=>{if(5===e.type)e.content=Zv(e.content,t);else if(1===e.type)for(let r=0;r<e.props.length;r++){let n=e.props[r];if(7===n.type&&"for"!==n.name){let e=n.exp,r=n.arg;!e||4!==e.type||"on"===n.name&&r||(n.exp=Zv(e,t,"slot"===n.name)),r&&4===r.type&&!r.isStatic&&(n.arg=Zv(r,t))}}};function Zv(e,t,r=!1,n=!1){return"production"!==w.env.NODE_ENV&&Hv(e,t,r,n),e}let eE=jv(/^(if|else|else-if)$/,((e,t,r)=>tE(e,t,r,((e,t,n)=>{let i=r.parent.children,s=i.indexOf(e),a=0;for(;s-- >=0;){let e=i[s];e&&9===e.type&&(a+=e.branches.length)}return()=>{n?e.codegenNode=nE(t,a,r):(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=nE(t,a+e.branches.length-1,r)}}))));function tE(e,t,r,n){if(!("else"===t.name||t.exp&&t.exp.content.trim())){let n=t.exp?t.exp.loc:e.loc;r.onError(Ig(27,t.loc)),t.exp=bx("true",!1,n)}if("production"!==w.env.NODE_ENV&&t.exp&&Hv(t.exp,r),"if"===t.name){let i=rE(e,t),s={type:9,loc:e.loc,branches:[i]};if(r.replaceNode(s),n)return n(s,i,!0)}else{let i=r.parent.children,s=[],a=i.indexOf(e);for(;a-- >=-1;){let o=i[a];if("production"!==w.env.NODE_ENV&&o&&3===o.type)r.removeNode(o),s.unshift(o);else{if(!o||2!==o.type||o.content.trim().length){if(o&&9===o.type){r.removeNode();let i=rE(e,t);if("production"!==w.env.NODE_ENV&&s.length&&(i.children=[...s,...i.children]),"production"!==w.env.NODE_ENV){let e=i.userKey;e&&o.branches.forEach((({userKey:t})=>{sE(t,e)&&r.onError(Ig(28,i.userKey.loc))}))}o.branches.push(i);let a=n&&n(o,i,!1);Rv(i,r),a&&a(),r.currentNode=null}else r.onError(Ig(29,e.loc));break}r.removeNode(o)}}}}function rE(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Xx(e,"for")?[e]:e.children,userKey:Jx(e,"key")}}function nE(e,t,r){return e.condition?Cx(e.condition,iE(e,t,r),Ax(r.helper(zg),["production"!==w.env.NODE_ENV?'"v-if"':'""',"true"])):iE(e,t,r)}function iE(e,t,r){let{helper:n,removeHelper:i}=r,s=Ex("key",bx(`${t}`,!1,mx,2)),{children:a}=e,o=a[0];if(1!==a.length||1!==o.type){if(1===a.length&&11===o.type){let e=o.codegenNode;return Zx(e,s,r),e}{let t=64,i=My[64];return"production"!==w.env.NODE_ENV&&1===a.filter((e=>3!==e.type)).length&&(t|=2048,i+=`, ${My[2048]}`),gx(r,n(Lg),vx([s]),a,t+("production"!==w.env.NODE_ENV?` /* ${i} */`:""),void 0,void 0,!0,!1,e.loc)}}{let e=o.codegenNode;return 13!==e.type||e.isBlock||(i(Vg),e.isBlock=!0,n($g),n(qg)),Zx(e,s,r),e}}function sE(e,t){if(!e||e.type!==t.type)return!1;if(6===e.type){if(e.value.content!==t.value.content)return!1}else{let r=e.exp,n=t.exp;if(r.type!==n.type||4!==r.type||r.isStatic!==n.isStatic||r.content!==n.content)return!1}return!0}let aE=jv("for",((e,t,r)=>{let{helper:n,removeHelper:i}=r;return oE(e,t,r,(t=>{let s=Ax(n(Hg),[t.source]),a=Jx(e,"key"),o=a?Ex("key",6===a.type?bx(a.value.content,!0):a.exp):null,l=4===t.source.type&&t.source.constType>0,u=l?64:a?128:256;return t.codegenNode=gx(r,n(Lg),void 0,s,u+("production"!==w.env.NODE_ENV?` /* ${My[u]} */`:""),void 0,void 0,!0,!l,e.loc),()=>{let a,u=Hx(e),{children:c}=t;"production"!==w.env.NODE_ENV&&u&&e.children.some((e=>{if(1===e.type){let t=Jx(e,"key");if(t)return r.onError(Ig(32,t.loc)),!0}}));let p=1!==c.length||1!==c[0].type,h=Qx(e)?e:u&&1===e.children.length&&Qx(e.children[0])?e.children[0]:null;h?(a=h.codegenNode,u&&o&&Zx(a,o,r)):p?a=gx(r,n(Lg),o?vx([o]):void 0,e.children,64+("production"!==w.env.NODE_ENV?` /* ${My[64]} */`:""),void 0,void 0,!0):(a=c[0].codegenNode,u&&o&&Zx(a,o,r),a.isBlock!==!l&&(a.isBlock?(i($g),i(qg)):i(Vg)),a.isBlock=!l,a.isBlock?(n($g),n(qg)):n(Vg)),s.arguments.push(Dx(dE(t.parseResult),a,!0))}}))}));function oE(e,t,r,n){if(!t.exp)return void r.onError(Ig(30,t.loc));let i=pE(t.exp,r);if(!i)return void r.onError(Ig(31,t.loc));let{addIdentifiers:s,removeIdentifiers:a,scopes:o}=r,{source:l,value:u,key:c,index:p}=i,h={type:11,loc:t.loc,source:l,valueAlias:u,keyAlias:c,objectIndexAlias:p,parseResult:i,children:Hx(e)?e.children:[e]};r.replaceNode(h),o.vFor++;let d=n&&n(h);return()=>{o.vFor--,d&&d()}}let lE=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,uE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,cE=/^\(|\)$/g;function pE(e,t){let r=e.loc,n=e.content,i=n.match(lE);if(!i)return;let[,s,a]=i,o={source:hE(r,a.trim(),n.indexOf(a,s.length)),value:void 0,key:void 0,index:void 0};"production"!==w.env.NODE_ENV&&Hv(o.source,t);let l=s.trim().replace(cE,"").trim(),u=s.indexOf(l),c=l.match(uE);if(c){l=l.replace(uE,"").trim();let e,i=c[1].trim();if(i&&(e=n.indexOf(i,u+l.length),o.key=hE(r,i,e),"production"!==w.env.NODE_ENV&&Hv(o.key,t,!0)),c[2]){let s=c[2].trim();s&&(o.index=hE(r,s,n.indexOf(s,o.key?e+i.length:u+l.length)),"production"!==w.env.NODE_ENV&&Hv(o.index,t,!0))}}return l&&(o.value=hE(r,l,u),"production"!==w.env.NODE_ENV&&Hv(o.value,t,!0)),o}function hE(e,t,r){return bx(t,!1,$x(e,r,t.length))}function dE({value:e,key:t,index:r}){let n=[];return e&&n.push(e),t&&(e||n.push(bx("_",!1)),n.push(t)),r&&(t||(e||n.push(bx("_",!1)),n.push(bx("__",!1))),n.push(r)),n}let fE=bx("undefined",!1),mE=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){let r=Xx(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},yE=(e,t)=>{let r;if(Hx(e)&&e.props.some(Yx)&&(r=Xx(e,"for"))){let e=r.parseResult=pE(r.exp,t);if(e){let{value:r,key:n,index:i}=e,{addIdentifiers:s,removeIdentifiers:a}=t;return r&&s(r),n&&s(n),i&&s(i),()=>{r&&a(r),n&&a(n),i&&a(i)}}}},gE=(e,t,r)=>Dx(e,t,!1,!0,t.length?t[0].loc:r);function xE(e,t,r=gE){t.helper(cx);let{children:n,loc:i}=e,s=[],a=[],o=(e,t)=>Ex("default",r(e,t,i)),l=t.scopes.vSlot>0||t.scopes.vFor>0,u=Xx(e,"slot",!0);if(u){let{arg:e,exp:t}=u;e&&!Ix(e)&&(l=!0),s.push(Ex(e||bx("default",!0),r(t,n,i)))}let c=!1,p=!1,h=[],d=new Set;for(let e=0;e<n.length;e++){let i,o=n[e];if(!Hx(o)||!(i=Xx(o,"slot",!0))){3!==o.type&&h.push(o);continue}if(u){t.onError(Ig(36,i.loc));break}c=!0;let f,{children:m,loc:y}=o,{arg:g=bx("default",!0),exp:x,loc:v}=i;Ix(g)?f=g?g.content:"default":l=!0;let E,b,S,T=r(x,m,y);if(E=Xx(o,"if"))l=!0,a.push(Cx(E.exp,vE(g,T),fE));else if(b=Xx(o,/^else(-if)?$/,!0)){let r,i=e;for(;i--&&(r=n[i],3===r.type););if(r&&Hx(r)&&Xx(r,"if")){n.splice(e,1),e--;let t=a[a.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=b.exp?Cx(b.exp,vE(g,T),fE):vE(g,T)}else t.onError(Ig(29,b.loc))}else if(S=Xx(o,"for")){l=!0;let e=S.parseResult||pE(S.exp,t);e?a.push(Ax(t.helper(Hg),[e.source,Dx(dE(e),vE(g,T),!0)])):t.onError(Ig(31,S.loc))}else{if(f){if(d.has(f)){t.onError(Ig(37,v));continue}d.add(f),"default"===f&&(p=!0)}s.push(Ex(g,T))}}u||(c?h.length&&(p?t.onError(Ig(38,h[0].loc)):s.push(o(void 0,h))):s.push(o(void 0,n)));let f=l?2:EE(e.children)?3:1,m=vx(s.concat(Ex("_",bx(f+("production"!==w.env.NODE_ENV?` /* ${Ry[f]} */`:""),!1))),i);return a.length&&(m=Ax(t.helper(Zg),[m,xx(a)])),{slots:m,hasDynamicSlots:l}}function vE(e,t){return vx([Ex("name",e),Ex("fn",t)])}function EE(e){for(let t=0;t<e.length;t++){let r=e[t];switch(r.type){case 1:if(2===r.tagType||0===r.tagType&&EE(r.children))return!0;break;case 9:if(EE(r.branches))return!0;break;case 10:case 11:if(EE(r.children))return!0}}return!1}let bE=new WeakMap,SE=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;let r,n,i,s,a,o,{tag:l,props:u}=e,c=1===e.tagType,p=c?TE(e,t):`"${l}"`,h=Eg(p)&&p.callee===Wg,d=0,f=h||p===Mg||p===Rg||!c&&("svg"===l||"foreignObject"===l||Jx(e,"key",!0));if(u.length>0){let n=AE(e,t);r=n.props,d=n.patchFlag,a=n.dynamicPropNames;let i=n.directives;o=i&&i.length?xx(i.map((e=>function(e,t){let r=[],n=bE.get(e);n?r.push(t.helperString(n)):(t.helper(Gg),t.directives.add(e.name),r.push(ev(e.name,"directive")));let{loc:i}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));let t=bx("true",!1,i);r.push(vx(e.modifiers.map((e=>Ex(e,t))),i))}return xx(r,e.loc)}(e,t)))):void 0}if(e.children.length>0)if(p===jg&&(f=!0,d|=1024,"production"!==w.env.NODE_ENV&&e.children.length>1&&t.onError(Ig(44,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),c&&p!==Mg&&p!==jg){let{slots:r,hasDynamicSlots:i}=xE(e,t);n=r,i&&(d|=1024)}else if(1===e.children.length&&p!==Mg){let r=e.children[0],i=r.type,s=5===i||8===i;s&&0===Ov(r,t)&&(d|=1),n=s||2===i?r:e.children}else n=e.children;if(0!==d){if("production"!==w.env.NODE_ENV)if(d<0)i=d+` /* ${My[d]} */`;else{let e=Object.keys(My).map(Number).filter((e=>e>0&&d&e)).map((e=>My[e])).join(", ");i=d+` /* ${e} */`}else i=String(d);a&&a.length&&(s=function(e){let t="[";for(let r=0,n=e.length;r<n;r++)t+=JSON.stringify(e[r]),r<n-1&&(t+=", ");return t+"]"}(a))}e.codegenNode=gx(t,p,r,n,i,s,o,!!f,!1,e.loc)};function TE(e,t,r=!1){let{tag:n}=e,i=wE(n)?Jx(e,"is"):Xx(e,"is");if(i){let e=6===i.type?i.value&&bx(i.value.content,!0):i.exp;if(e)return Ax(t.helper(Wg),[e])}let s=Lx(n)||t.isBuiltInComponent(n);return s?(r||t.helper(s),s):(t.helper(Kg),t.components.add(n),ev(n,"component"))}function AE(e,t,r=e.props,n=!1){let i,{tag:s,loc:a}=e,o=1===e.tagType,l=[],u=[],c=[],p=0,h=!1,d=!1,f=!1,m=!1,y=!1,g=!1,x=[],v=({key:e,value:r})=>{if(Ix(e)){let n=e.content,i=cg(n);if(o||!i||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||Ag(n)||(m=!0),i&&Ag(n)&&(g=!0),20===r.type||(4===r.type||8===r.type)&&Ov(r,t)>0)return;"ref"===n?h=!0:"class"!==n||o?"style"!==n||o?"key"===n||x.includes(n)||x.push(n):f=!0:d=!0}else y=!0};for(let i=0;i<r.length;i++){let p=r[i];if(6===p.type){let{loc:e,name:t,value:r}=p,n=!0;if("ref"===t&&(h=!0),"is"===t&&wE(s))continue;l.push(Ex(bx(t,!0,$x(e,0,t.length)),bx(r?r.content:"",n,r?r.loc:e)))}else{let{name:r,arg:i,exp:h,loc:d}=p,f="bind"===r,m="on"===r;if("slot"===r){o||t.onError(Ig(39,d));continue}if("once"===r||"is"===r||f&&wE(s)&&Kx(i,"is")||m&&n)continue;if(!i&&(f||m)){y=!0,h?(l.length&&(u.push(vx(DE(l),a)),l=[]),f?u.push(h):u.push({type:14,loc:d,callee:t.helper(rx),arguments:[h]})):t.onError(Ig(f?33:34,d));continue}let g=t.directiveTransforms[r];if(g){let{props:r,needRuntime:i}=g(p,e,t);!n&&r.forEach(v),l.push(...r),i&&(c.push(p),vg(i)&&bE.set(p,i))}else c.push(p)}}return u.length?(l.length&&u.push(vx(DE(l),a)),i=u.length>1?Ax(t.helper(tx),u,a):u[0]):l.length&&(i=vx(DE(l),a)),y?p|=16:(d&&(p|=2),f&&(p|=4),x.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(h||g||c.length>0)||(p|=512),{props:i,directives:c,patchFlag:p,dynamicPropNames:x}}function DE(e){let t=new Map,r=[];for(let n=0;n<e.length;n++){let i=e[n];if(8===i.key.type||!i.key.isStatic){r.push(i);continue}let s=i.key.content,a=t.get(s);a?("style"===s||"class"===s||s.startsWith("on"))&&CE(a,i):(t.set(s,i),r.push(i))}return r}function CE(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=xx([e.value,t.value],e.loc)}function wE(e){return e[0].toLowerCase()+e.slice(1)==="component"}"production"===w.env.NODE_ENV||Object.freeze({}),"production"===w.env.NODE_ENV||Object.freeze([]);let PE=/-(\w)/g,kE=(()=>{let e=Object.create(null);return t=>e[t]||(e[t]=(e=>e.replace(PE,((e,t)=>t?t.toUpperCase():"")))(t))})(),NE=(e,t)=>{if(Qx(e)){let{children:r,loc:n}=e,{slotName:i,slotProps:s}=_E(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i];s&&a.push(s),r.length&&(s||a.push("{}"),a.push(Dx([],r,!1,!1,n))),t.scopeId&&!t.slotted&&(s||a.push("{}"),r.length||a.push("undefined"),a.push("true")),e.codegenNode=Ax(t.helper(Qg),a,n)}};function _E(e,t){let r,n='"default"',i=[];for(let t=0;t<e.props.length;t++){let r=e.props[t];6===r.type?r.value&&("name"===r.name?n=JSON.stringify(r.value.content):(r.name=kE(r.name),i.push(r))):"bind"===r.name&&Kx(r.arg,"name")?r.exp&&(n=r.exp):("bind"===r.name&&r.arg&&Ix(r.arg)&&(r.arg.content=kE(r.arg.content)),i.push(r))}if(i.length>0){let{props:n,directives:s}=AE(e,t,i);r=n,s.length&&t.onError(Ig(35,s[0].loc))}return{slotName:n,slotProps:r}}let OE=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,FE=(e,t,r,n)=>{let i,{loc:s,modifiers:a,arg:o}=e;if(e.exp||a.length||r.onError(Ig(34,s)),4===o.type)if(o.isStatic){let e=o.content;i=bx(_g(wg(e)),!0,o.loc)}else i=Tx([`${r.helperString(sx)}(`,o,")"]);else i=o,i.children.unshift(`${r.helperString(sx)}(`),i.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let u=r.cacheHandlers&&!l;if(l){let e=Ux(l.content),t=!(e||OE.test(l.content)),n=l.content.includes(";");"production"!==w.env.NODE_ENV&&Hv(l,r,!1,n),(t||u&&e)&&(l=Tx([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let c={props:[Ex(i,l||bx("() => {}",!1,s))]};return n&&(c=n(c)),u&&(c.props[0].value=r.cache(c.props[0].value)),c},IE=(e,t,r)=>{let{exp:n,modifiers:i,loc:s}=e,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.includes("camel")&&(4===a.type?a.isStatic?a.content=wg(a.content):a.content=`${r.helperString(nx)}(${a.content})`:(a.children.unshift(`${r.helperString(nx)}(`),a.children.push(")"))),!n||4===n.type&&!n.content.trim()?(r.onError(Ig(33,s)),{props:[Ex(a,bx("",!0,s))]}):{props:[Ex(a,n)]}},BE=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{let r,n=e.children,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(Gx(t)){i=!0;for(let i=e+1;i<n.length;i++){let s=n[i];if(!Gx(s)){r=void 0;break}r||(r=n[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),n.splice(i,1),i--}}}if(i&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<n.length;e++){let r=n[e];if(Gx(r)||8===r.type){let i=[];2===r.type&&" "===r.content||i.push(r),t.ssr||0!==Ov(r,t)||i.push(1+("production"!==w.env.NODE_ENV?` /* ${My[1]} */`:"")),n[e]={type:12,content:r,loc:r.loc,codegenNode:Ax(t.helper(Xg),i)}}}}},LE=new WeakSet,ME=(e,t)=>{if(1===e.type&&Xx(e,"once",!0))return LE.has(e)?void 0:(LE.add(e),t.helper(ax),()=>{let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))})},RE=(e,t,r)=>{let{exp:n,arg:i}=e;if(!n)return r.onError(Ig(40,e.loc)),jE();let s=n.loc.source,a=4===n.type?n.content:s;if(r.bindingMetadata[s],!Ux(a))return r.onError(Ig(41,n.loc)),jE();let o,l=i||bx("modelValue",!0),u=i?Ix(i)?`onUpdate:${i.content}`:Tx(['"onUpdate:" + ',i]):"onUpdate:modelValue";o=Tx([(r.isTS?"($event: any)":"$event")+" => (",n," = $event)"]);let c=[Ex(l,e.exp),Ex(u,o)];if(e.modifiers.length&&1===t.tagType){let t=e.modifiers.map((e=>(Rx(e)?e:JSON.stringify(e))+": true")).join(", "),r=i?Ix(i)?`${i.content}Modifiers`:Tx([i,' + "Modifiers"']):"modelModifiers";c.push(Ex(r,bx(`{ ${t} }`,!1,e.loc,2)))}return jE(c)};function jE(e=[]){return{props:e}}function UE(e){return[[ME,eE,aE,..."production"!==w.env.NODE_ENV?[Qv]:[],NE,SE,mE,BE],{on:FE,bind:IE,model:RE}]}function $E(e,t={}){let r=t.onError||Fg,n="module"===t.mode;!0===t.prefixIdentifiers?r(Ig(45)):n&&r(Ig(46)),t.cacheHandlers&&r(Ig(47)),t.scopeId&&!n&&r(Ig(48));let i=xg(e)?sv(e,t):e,[s,a]=UE();return Mv(i,pg({},t,{prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:pg({},a,t.directiveTransforms||{})})),$v(i,pg({},t,{prefixIdentifiers:!1}))}let qE=()=>({props:[]});var VE=Object.freeze({__proto__:null,BASE_TRANSITION:Ug,CAMELIZE:nx,CAPITALIZE:ix,CREATE_BLOCK:qg,CREATE_COMMENT:zg,CREATE_SLOTS:Zg,CREATE_STATIC:Jg,CREATE_TEXT:Xg,CREATE_VNODE:Vg,FRAGMENT:Lg,IS_REF:hx,KEEP_ALIVE:jg,MERGE_PROPS:tx,OPEN_BLOCK:$g,POP_SCOPE_ID:lx,PUSH_SCOPE_ID:ox,RENDER_LIST:Hg,RENDER_SLOT:Qg,RESOLVE_COMPONENT:Kg,RESOLVE_DIRECTIVE:Gg,RESOLVE_DYNAMIC_COMPONENT:Wg,SET_BLOCK_TRACKING:ax,SUSPENSE:Rg,TELEPORT:Mg,TO_DISPLAY_STRING:ex,TO_HANDLERS:rx,TO_HANDLER_KEY:sx,UNREF:px,WITH_CTX:cx,WITH_DIRECTIVES:Yg,WITH_SCOPE_ID:ux,advancePositionWithClone:qx,advancePositionWithMutation:Vx,assert:zx,baseCompile:$E,baseParse:sv,buildProps:AE,buildSlots:xE,createArrayExpression:xx,createAssignmentExpression:_x,createBlockStatement:Px,createCacheExpression:wx,createCallExpression:Ax,createCompilerError:Ig,createCompoundExpression:Tx,createConditionalExpression:Cx,createForLoopParams:dE,createFunctionExpression:Dx,createIfStatement:Nx,createInterpolation:Sx,createObjectExpression:vx,createObjectProperty:Ex,createReturnStatement:Fx,createRoot:yx,createSequenceExpression:Ox,createSimpleExpression:bx,createStructuralDirectiveTransform:jv,createTemplateLiteral:kx,createTransformContext:Lv,createVNodeCall:gx,findDir:Xx,findProp:Jx,generate:$v,getBaseTransformPreset:UE,getInnerRange:$x,hasDynamicKeyVBind:Wx,hasScopeRef:tv,helperNameMap:dx,injectProp:Zx,isBindKey:Kx,isBuiltInType:Bx,isCoreComponent:Lx,isMemberExpression:Ux,isSimpleIdentifier:Rx,isSlotOutlet:Qx,isStaticExp:Ix,isTemplateNode:Hx,isText:Gx,isVSlot:Yx,locStub:mx,noopDirectiveTransform:qE,processExpression:Zv,processFor:oE,processIf:tE,processSlotOutlet:_E,registerRuntimeHelpers:fx,resolveComponentType:TE,toValidAssetId:ev,trackSlotScopes:mE,trackVForSlotScopes:yE,transform:Mv,transformBind:IE,transformElement:SE,transformExpression:Qv,transformModel:RE,transformOn:FE,traverseNode:Rv,generateCodeFrame:Uy});let zE,XE=Symbol("production"!==w.env.NODE_ENV?"vModelRadio":""),JE=Symbol("production"!==w.env.NODE_ENV?"vModelCheckbox":""),KE=Symbol("production"!==w.env.NODE_ENV?"vModelText":""),WE=Symbol("production"!==w.env.NODE_ENV?"vModelSelect":""),GE=Symbol("production"!==w.env.NODE_ENV?"vModelDynamic":""),YE=Symbol("production"!==w.env.NODE_ENV?"vOnModifiersGuard":""),HE=Symbol("production"!==w.env.NODE_ENV?"vOnKeysGuard":""),QE=Symbol("production"!==w.env.NODE_ENV?"vShow":""),ZE=Symbol("production"!==w.env.NODE_ENV?"Transition":""),eb=Symbol("production"!==w.env.NODE_ENV?"TransitionGroup":"");fx({[XE]:"vModelRadio",[JE]:"vModelCheckbox",[KE]:"vModelText",[WE]:"vModelSelect",[GE]:"vModelDynamic",[YE]:"withModifiers",[HE]:"withKeys",[QE]:"vShow",[ZE]:"Transition",[eb]:"TransitionGroup"});let tb=Ly("style,iframe,script,noscript",!0),rb={isVoidTag:Zy,isNativeTag:e=>Hy(e)||Qy(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(zE||(zE=document.createElement("div"))).innerHTML=e,zE.textContent},isBuiltInComponent:e=>Bx(e,"Transition")?ZE:Bx(e,"TransitionGroup")?eb:void 0,getNamespace(e,t){let r=t?t.ns:0;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(tb(e))return 2}return 0}},nb=e=>{1===e.type&&e.props.forEach(((t,r)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[r]={type:7,name:"bind",arg:bx("style",!0,t.loc),exp:ib(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},ib=(e,t)=>{let r=Yy(e);return bx(JSON.stringify(r),!1,t,3)};function sb(e,t){return Ig(e,t,"production"!==w.env.NODE_ENV?ab:void 0)}let ab={49:"v-html is missing expression.",50:"v-html will override element children.",51:"v-text is missing expression.",52:"v-text will override element children.",53:"v-model can only be used on <input>, <textarea> and <select> elements.",54:"v-model argument is not supported on plain elements.",55:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",56:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",57:"v-show is missing expression.",58:"<Transition> expects exactly one child element or component.",59:"Tags with side effect (<script> and <style>) are ignored in client component templates."},ob=Ly("passive,once,capture"),lb=Ly("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ub=Ly("left,right"),cb=Ly("onkeyup,onkeydown,onkeypress",!0),pb=(e,t)=>Ix(e)&&"onclick"===e.content.toLowerCase()?bx(t,!0):4!==e.type?Tx(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;function hb(e){let t=e.children=e.children.filter((e=>3!==e.type)),r=t[0];return 1!==t.length||11===r.type||9===r.type&&r.branches.some(hb)}let db=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(sb(59,e.loc)),t.removeNode())},fb=[nb,..."production"!==w.env.NODE_ENV?[(e,t)=>{if(1===e.type&&1===e.tagType&&t.isBuiltInComponent(e.tag)===ZE)return()=>{e.children.length&&hb(e)&&t.onError(sb(58,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))}}]:[]],mb={cloak:qE,html:(e,t,r)=>{let{exp:n,loc:i}=e;return n||r.onError(sb(49,i)),t.children.length&&(r.onError(sb(50,i)),t.children.length=0),{props:[Ex(bx("innerHTML",!0,i),n||bx("",!0))]}},text:(e,t,r)=>{let{exp:n,loc:i}=e;return n||r.onError(sb(51,i)),t.children.length&&(r.onError(sb(52,i)),t.children.length=0),{props:[Ex(bx("textContent",!0),n?Ax(r.helperString(ex),[n],i):bx("",!0))]}},model:(e,t,r)=>{let n=RE(e,t,r);if(!n.props.length||1===t.tagType)return n;function i(){let e=Jx(t,"value");e&&r.onError(sb(56,e.loc))}e.arg&&r.onError(sb(54,e.arg.loc));let{tag:s}=t,a=r.isCustomElement(s);if("input"===s||"textarea"===s||"select"===s||a){let o=KE,l=!1;if("input"===s||a){let n=Jx(t,"type");if(n){if(7===n.type)o=GE;else if(n.value)switch(n.value.content){case"radio":o=XE;break;case"checkbox":o=JE;break;case"file":l=!0,r.onError(sb(55,e.loc));break;default:"production"!==w.env.NODE_ENV&&i()}}else Wx(t)?o=GE:"production"!==w.env.NODE_ENV&&i()}else"select"===s?o=WE:"production"!==w.env.NODE_ENV&&i();l||(n.needRuntime=r.helper(o))}else r.onError(sb(53,e.loc));return n.props=n.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),n},on:(e,t,r)=>FE(e,0,r,(t=>{let{modifiers:n}=e;if(!n.length)return t;let{key:i,value:s}=t.props[0],{keyModifiers:a,nonKeyModifiers:o,eventOptionModifiers:l}=((e,t)=>{let r=[],n=[],i=[];for(let s=0;s<t.length;s++){let a=t[s];ob(a)?i.push(a):ub(a)?Ix(e)?cb(e.content)?r.push(a):n.push(a):(r.push(a),n.push(a)):lb(a)?n.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:n,eventOptionModifiers:i}})(i,n);if(o.includes("right")&&(i=pb(i,"onContextmenu")),o.includes("middle")&&(i=pb(i,"onMouseup")),o.length&&(s=Ax(r.helper(YE),[s,JSON.stringify(o)])),!a.length||Ix(i)&&!cb(i.content)||(s=Ax(r.helper(HE),[s,JSON.stringify(a)])),l.length){let e=l.map(Ng).join("");i=Ix(i)?bx(`${i.content}${e}`,!0):Tx(["(",i,`) + "${e}"`])}return{props:[Ex(i,s)]}})),show:(e,t,r)=>{let{exp:n,loc:i}=e;return n||r.onError(sb(57,i)),{props:[],needRuntime:r.helper(QE)}}};var yb=Object.freeze({__proto__:null,DOMDirectiveTransforms:mb,DOMNodeTransforms:fb,TRANSITION:ZE,TRANSITION_GROUP:eb,V_MODEL_CHECKBOX:JE,V_MODEL_DYNAMIC:GE,V_MODEL_RADIO:XE,V_MODEL_SELECT:WE,V_MODEL_TEXT:KE,V_ON_WITH_KEYS:HE,V_ON_WITH_MODIFIERS:YE,V_SHOW:QE,compile:function(e,t={}){return $E(e,pg({},rb,t,{nodeTransforms:[db,...fb,...t.nodeTransforms||[]],directiveTransforms:pg({},mb,t.directiveTransforms||{}),transformHoist:null}))},createDOMCompilerError:sb,parse:function(e,t={}){return sv(e,pg({},rb,t))},parserOptions:rb,transformStyle:nb,generateCodeFrame:Uy,BASE_TRANSITION:Ug,CAMELIZE:nx,CAPITALIZE:ix,CREATE_BLOCK:qg,CREATE_COMMENT:zg,CREATE_SLOTS:Zg,CREATE_STATIC:Jg,CREATE_TEXT:Xg,CREATE_VNODE:Vg,FRAGMENT:Lg,IS_REF:hx,KEEP_ALIVE:jg,MERGE_PROPS:tx,OPEN_BLOCK:$g,POP_SCOPE_ID:lx,PUSH_SCOPE_ID:ox,RENDER_LIST:Hg,RENDER_SLOT:Qg,RESOLVE_COMPONENT:Kg,RESOLVE_DIRECTIVE:Gg,RESOLVE_DYNAMIC_COMPONENT:Wg,SET_BLOCK_TRACKING:ax,SUSPENSE:Rg,TELEPORT:Mg,TO_DISPLAY_STRING:ex,TO_HANDLERS:rx,TO_HANDLER_KEY:sx,UNREF:px,WITH_CTX:cx,WITH_DIRECTIVES:Yg,WITH_SCOPE_ID:ux,advancePositionWithClone:qx,advancePositionWithMutation:Vx,assert:zx,baseCompile:$E,baseParse:sv,buildProps:AE,buildSlots:xE,createArrayExpression:xx,createAssignmentExpression:_x,createBlockStatement:Px,createCacheExpression:wx,createCallExpression:Ax,createCompilerError:Ig,createCompoundExpression:Tx,createConditionalExpression:Cx,createForLoopParams:dE,createFunctionExpression:Dx,createIfStatement:Nx,createInterpolation:Sx,createObjectExpression:vx,createObjectProperty:Ex,createReturnStatement:Fx,createRoot:yx,createSequenceExpression:Ox,createSimpleExpression:bx,createStructuralDirectiveTransform:jv,createTemplateLiteral:kx,createTransformContext:Lv,createVNodeCall:gx,findDir:Xx,findProp:Jx,generate:$v,getBaseTransformPreset:UE,getInnerRange:$x,hasDynamicKeyVBind:Wx,hasScopeRef:tv,helperNameMap:dx,injectProp:Zx,isBindKey:Kx,isBuiltInType:Bx,isCoreComponent:Lx,isMemberExpression:Ux,isSimpleIdentifier:Rx,isSlotOutlet:Qx,isStaticExp:Ix,isTemplateNode:Hx,isText:Gx,isVSlot:Yx,locStub:mx,noopDirectiveTransform:qE,processExpression:Zv,processFor:oE,processIf:tE,processSlotOutlet:_E,registerRuntimeHelpers:fx,resolveComponentType:TE,toValidAssetId:ev,trackSlotScopes:mE,trackVForSlotScopes:yE,transform:Mv,transformBind:IE,transformElement:SE,transformExpression:Qv,transformModel:RE,transformOn:FE,traverseNode:Rv}),gb=t(yb);function xb(e,t){var r,n;if(0===t.length)return e;for(r=0,n=t.length;r<n;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e<0?-2*e:e}function vb(e,t,r,n){var i,s,a,o,l=xb(xb(xb(e,r),(i=t,Object.prototype.toString.call(i))),typeof t);if(null===t)return xb(l,"null");if(void 0===t)return xb(l,"undefined");if("object"==typeof t||"function"==typeof t){if(-1!==n.indexOf(t))return xb(l,"[Circular]"+r);n.push(t);var u=(s=l,a=t,o=n,Object.keys(a).sort().reduce((function(e,t){return vb(e,a[t],t,o)}),s));if(!("valueOf"in t)||"function"!=typeof t.valueOf)return u;try{return xb(u,String(t.valueOf()))}catch(s){return xb(u,"[valueOf exception]"+(s.stack||s.message))}}return xb(l,t.toString())}function Eb(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}var bb=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Sb=function(e){return bb.exec(e).slice(1)};function Tb(){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=Eb(Ob(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Ab(e){var t=Db(e),r="/"===Fb(e,-1);return(e=Eb(Ob(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Db(e){return"/"===e.charAt(0)}function Cb(){return Ab(Ob(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 wb(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=Tb(e).substr(1),t=Tb(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),a=s,o=0;o<s;o++)if(n[o]!==i[o]){a=o;break}var l=[];for(o=a;o<n.length;o++)l.push("..");return(l=l.concat(i.slice(a))).join("/")}function Pb(e){var t=Sb(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function kb(e,t){var r=Sb(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function Nb(e){return Sb(e)[3]}var _b={extname:Nb,basename:kb,dirname:Pb,sep:"/",delimiter:":",relative:wb,join:Cb,isAbsolute:Db,normalize:Ab,resolve:Tb};function Ob(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}var Fb="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)},Ib=t(Object.freeze({__proto__:null,resolve:Tb,normalize:Ab,isAbsolute:Db,join:Cb,relative:wb,sep:"/",delimiter:":",dirname:Pb,basename:kb,extname:Nb,default:_b})),Bb=t(VE);let Lb=2147483647,Mb=/[^\0-\x7E]/,Rb=/[\x2E\u3002\uFF0E\uFF61]/g,jb={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ub=Math.floor,$b=String.fromCharCode;function qb(e){throw new RangeError(jb[e])}let Vb=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},zb=function(e,t,r){let n=0;for(e=r?Ub(e/700):e>>1,e+=Ub(e/t);e>455;n+=36)e=Ub(e/35);return Ub(n+36*e/(e+38))},Xb=function(e){return function(e){let t=e.split("@"),r="";t.length>1&&(r=t[0]+"@",e=t[1]);let n=function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(Rb,".")).split("."),(function(e){return Mb.test(e)?"xn--"+function(e){let t=[],r=(e=function(e){let t=[],r=0,n=e.length;for(;r<n;){let i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}(e)).length,n=128,i=0,s=72;for(let r of e)r<128&&t.push($b(r));let a=t.length,o=a;for(a&&t.push("-");o<r;){let r=Lb;for(let t of e)t>=n&&t<r&&(r=t);let l=o+1;r-n>Ub((Lb-i)/l)&&qb("overflow"),i+=(r-n)*l,n=r;for(let r of e)if(r<n&&++i>Lb&&qb("overflow"),r==n){let e=i;for(let r=36;;r+=36){let n=r<=s?1:r>=s+26?26:r-s;if(e<n)break;let i=e-n,a=36-n;t.push($b(Vb(n+i%a,0))),e=Ub(i/a)}t.push($b(Vb(e,0))),s=zb(i,l,o==a),i=0,++o}++i,++n}return t.join("")}(e):e})).join(".");return r+n}(e)};function Jb(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Kb=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Wb(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Gb(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var Yb=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function Hb(e,t,r,n){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var s=/\+/g;e=e.split(t);var a=1e3;n&&"number"==typeof n.maxKeys&&(a=n.maxKeys);var o=e.length;a>0&&o>a&&(o=a);for(var l=0;l<o;++l){var u,c,p,h,d=e[l].replace(s,"%20"),f=d.indexOf(r);f>=0?(u=d.substr(0,f),c=d.substr(f+1)):(u=d,c=""),p=decodeURIComponent(u),h=decodeURIComponent(c),Jb(i,p)?Kb(i[p])?i[p].push(h):i[p]=[i[p],h]:i[p]=h}return i}var Qb={parse:hS,resolve:yS,resolveObject:gS,format:fS,Url:Zb};function Zb(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var eS=/^([a-z0-9.+-]+:)/i,tS=/:[0-9]*$/,rS=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,nS=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),iS=["'"].concat(nS),sS=["%","/","?",";","#"].concat(iS),aS=["/","?","#"],oS=/^[+a-z0-9A-Z_-]{0,63}$/,lS=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,uS={javascript:!0,"javascript:":!0},cS={javascript:!0,"javascript:":!0},pS={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function hS(e,t,r){if(e&&Vt(e)&&e instanceof Zb)return e;var n=new Zb;return n.parse(e,t,r),n}function dS(e,t,r,n){if(!Ut(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),s=-1!==i&&i<t.indexOf("#")?"?":"#",a=t.split(s);a[0]=a[0].replace(/\\/g,"/");var o=t=a.join(s);if(o=o.trim(),!n&&1===t.split("#").length){var l=rS.exec(o);if(l)return e.path=o,e.href=o,e.pathname=l[1],l[2]?(e.search=l[2],e.query=r?Hb(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var u,c,p,h,d=eS.exec(o);if(d){var f=(d=d[0]).toLowerCase();e.protocol=f,o=o.substr(d.length)}if(n||d||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===o.substr(0,2);!m||d&&cS[d]||(o=o.substr(2),e.slashes=!0)}if(!cS[d]&&(m||d&&!pS[d])){var y,g,x=-1;for(u=0;u<aS.length;u++)-1!==(c=o.indexOf(aS[u]))&&(-1===x||c<x)&&(x=c);for(-1!==(g=-1===x?o.lastIndexOf("@"):o.lastIndexOf("@",x))&&(y=o.slice(0,g),o=o.slice(g+1),e.auth=decodeURIComponent(y)),x=-1,u=0;u<sS.length;u++)-1!==(c=o.indexOf(sS[u]))&&(-1===x||c<x)&&(x=c);-1===x&&(x=o.length),e.host=o.slice(0,x),o=o.slice(x),xS(e),e.hostname=e.hostname||"";var v="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!v){var E=e.hostname.split(/\./);for(u=0,p=E.length;u<p;u++){var b=E[u];if(b&&!b.match(oS)){for(var S="",T=0,A=b.length;T<A;T++)b.charCodeAt(T)>127?S+="x":S+=b[T];if(!S.match(oS)){var D=E.slice(0,u),C=E.slice(u+1),w=b.match(lS);w&&(D.push(w[1]),C.unshift(w[2])),C.length&&(o="/"+C.join(".")+o),e.hostname=D.join(".");break}}}}e.hostname.length>255?e.hostname="":e.hostname=e.hostname.toLowerCase(),v||(e.hostname=Xb(e.hostname)),h=e.port?":"+e.port:"";var P=e.hostname||"";e.host=P+h,e.href+=e.host,v&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==o[0]&&(o="/"+o))}if(!uS[f])for(u=0,p=iS.length;u<p;u++){var k=iS[u];if(-1!==o.indexOf(k)){var N=encodeURIComponent(k);N===k&&(N=escape(k)),o=o.split(k).join(N)}}var _=o.indexOf("#");-1!==_&&(e.hash=o.substr(_),o=o.slice(0,_));var O=o.indexOf("?");if(-1!==O?(e.search=o.substr(O),e.query=o.substr(O+1),r&&(e.query=Hb(e.query)),o=o.slice(0,O)):r&&(e.search="",e.query={}),o&&(e.pathname=o),pS[f]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){h=e.pathname||"";var F=e.search||"";e.path=h+F}return e.href=mS(e),e}function fS(e){return Ut(e)&&(e=dS({},e)),mS(e)}function mS(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var r,n,i,s=e.protocol||"",a=e.pathname||"",o=e.hash||"",l=!1,u="";e.host?l=t+e.host:e.hostname&&(l=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(l+=":"+e.port)),e.query&&Vt(e.query)&&Object.keys(e.query).length&&(r=e.query,n=n||"&",i=i||"=",null===r&&(r=void 0),u="object"==typeof r?Gb(Yb(r),(function(e){var t=encodeURIComponent(Wb(e))+i;return Kb(r[e])?Gb(r[e],(function(e){return t+encodeURIComponent(Wb(e))})).join(n):t+encodeURIComponent(Wb(r[e]))})).join(n):"");var c=e.search||u&&"?"+u||"";return s&&":"!==s.substr(-1)&&(s+=":"),e.slashes||(!s||pS[s])&&!1!==l?(l="//"+(l||""),a&&"/"!==a.charAt(0)&&(a="/"+a)):l||(l=""),o&&"#"!==o.charAt(0)&&(o="#"+o),c&&"?"!==c.charAt(0)&&(c="?"+c),s+l+(a=a.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(c=c.replace("#","%23"))+o}function yS(e,t){return hS(e,!1,!0).resolve(t)}function gS(e,t){return e?hS(e,!1,!0).resolveObject(t):t}function xS(e){var t=e.host,r=tS.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}Zb.prototype.parse=function(e,t,r){return dS(this,e,t,r)},Zb.prototype.format=function(){return mS(this)},Zb.prototype.resolve=function(e){return this.resolveObject(hS(e,!1,!0)).format()},Zb.prototype.resolveObject=function(e){if(Ut(e)){var t=new Zb;t.parse(e,!1,!0),e=t}for(var r,n=new Zb,i=Object.keys(this),s=0;s<i.length;s++){var a=i[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var o=Object.keys(e),l=0;l<o.length;l++){var u=o[l];"protocol"!==u&&(n[u]=e[u])}return pS[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!pS[e.protocol]){for(var c=Object.keys(e),p=0;p<c.length;p++){var h=c[p];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||cS[e.protocol])n.pathname=e.pathname;else{for(r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var d=n.pathname||"",f=n.search||"";n.path=d+f}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m,y=n.pathname&&"/"===n.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),x=g||y||n.host&&e.pathname,v=x,E=n.pathname&&n.pathname.split("/")||[],b=n.protocol&&!pS[n.protocol];if(r=e.pathname&&e.pathname.split("/")||[],b&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),x=x&&(""===r[0]||""===E[0])),g)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,E=r;else if(r.length)E||(E=[]),E.pop(),E=E.concat(r),n.search=e.search,n.query=e.query;else if(null!=e.search)return b&&(n.hostname=n.host=E.shift(),(m=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=m.shift(),n.host=n.hostname=m.shift())),n.search=e.search,n.query=e.query,jt(n.pathname)&&jt(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=E.slice(-1)[0],T=(n.host||e.host||E.length>1)&&("."===S||".."===S)||""===S,A=0,D=E.length;D>=0;D--)"."===(S=E[D])?E.splice(D,1):".."===S?(E.splice(D,1),A++):A&&(E.splice(D,1),A--);if(!x&&!v)for(;A--;A)E.unshift("..");!x||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),T&&"/"!==E.join("/").substr(-1)&&E.push("");var C=""===E[0]||E[0]&&"/"===E[0].charAt(0);return b&&(n.hostname=n.host=C?"":E.length?E.shift():"",(m=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=m.shift(),n.host=n.hostname=m.shift())),(x=x||n.host&&E.length)&&!C&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),jt(n.pathname)&&jt(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},Zb.prototype.parseHost=function(){return xS(this)};var vS=t(Object.freeze({__proto__:null,parse:hS,resolve:yS,resolveObject:gS,format:fS,default:Qb,Url:Zb})),ES=t(Og),bS={};Object.defineProperty(bS,"__esModule",{value:!0});var SS=gb,TS=ES;let AS=Symbol("ssrInterpolate"),DS=Symbol("ssrRenderVNode"),CS=Symbol("ssrRenderComponent"),wS=Symbol("ssrRenderSlot"),PS=Symbol("ssrRenderClass"),kS=Symbol("ssrRenderStyle"),NS=Symbol("ssrRenderAttrs"),_S=Symbol("ssrRenderAttr"),OS=Symbol("ssrRenderDynamicAttr"),FS=Symbol("ssrRenderList"),IS=Symbol("ssrLooseEqual"),BS=Symbol("ssrLooseContain"),LS=Symbol("ssrRenderDynamicModel"),MS=Symbol("ssrGetDynamicModelProps"),RS=Symbol("ssrRenderTeleport"),jS=Symbol("ssrRenderSuspense"),US={[AS]:"ssrInterpolate",[DS]:"ssrRenderVNode",[CS]:"ssrRenderComponent",[wS]:"ssrRenderSlot",[PS]:"ssrRenderClass",[kS]:"ssrRenderStyle",[NS]:"ssrRenderAttrs",[_S]:"ssrRenderAttr",[OS]:"ssrRenderDynamicAttr",[FS]:"ssrRenderList",[IS]:"ssrLooseEqual",[BS]:"ssrLooseContain",[LS]:"ssrRenderDynamicModel",[MS]:"ssrGetDynamicModelProps",[RS]:"ssrRenderTeleport",[jS]:"ssrRenderSuspense"};SS.registerRuntimeHelpers(US);let $S=SS.createStructuralDirectiveTransform(/^(if|else|else-if)$/,SS.processIf);function qS(e,t,r=!1){let[n]=e.branches,i=SS.createIfStatement(n.condition,VS(n,t,r));t.pushStatement(i);let s=i;for(let n=1;n<e.branches.length;n++){let i=e.branches[n],a=VS(i,t,r);i.condition?s=s.alternate=SS.createIfStatement(i.condition,a):s.alternate=a}s.alternate||(s.alternate=SS.createBlockStatement([SS.createCallExpression("_push",["`\x3c!----\x3e`"])]))}function VS(e,t,r=!1){let{children:n}=e;return mT(n,t,!(r||1===n.length&&1===n[0].type||1===n.length&&11===n[0].type))}let zS=SS.createStructuralDirectiveTransform("for",SS.processFor);function XS(e,t,r=!1){let n=!r&&(1!==e.children.length||1!==e.children[0].type),i=SS.createFunctionExpression(SS.createForLoopParams(e.parseResult));i.body=mT(e.children,t,n),r||t.pushStringPart("\x3c!--[--\x3e"),t.pushStatement(SS.createCallExpression(t.helper(FS),[e.source,i])),r||t.pushStringPart("\x3c!--]--\x3e")}let JS=(e,t)=>{if(SS.isSlotOutlet(e)){let{slotName:r,slotProps:n}=SS.processSlotOutlet(e,t),i=["_ctx.$slots",r,n||"{}","null","_push","_parent"];t.scopeId&&!1!==t.slotted&&i.push(`"${t.scopeId}-s"`),e.ssrCodegenNode=SS.createCallExpression(t.helper(wS),i)}};function KS(e,t){let r=e.ssrCodegenNode;if(e.children.length){let n=SS.createFunctionExpression([]);n.body=mT(e.children,t),r.arguments[3]=n}if(t.withSlotScopeId){let e=r.arguments[6];r.arguments[6]=e?`${e} + _scopeId`:"_scopeId"}t.pushStatement(e.ssrCodegenNode)}function WS(e,t){return SS.createCompilerError(e,t,GS)}let GS={60:"Custom directive is missing corresponding SSR transform and will be ignored.",61:"Unsafe attribute name for SSR.",62:"Missing the 'to' prop on teleport element.",63:"Invalid AST node during SSR transform."},YS=new WeakMap,HS=new WeakMap,QS=new WeakMap,ZS=(e,t)=>{if(1!==e.type||1!==e.tagType)return;let r=SS.resolveComponentType(e,t,!0);if(QS.set(e,r),TS.isSymbol(r))return r===SS.SUSPENSE?(n=e,i=t,()=>{if(n.children.length){let e={slotsExp:null,wipSlots:[]};YS.set(n,e),e.slotsExp=SS.buildSlots(n,i,((t,r,n)=>{let i=SS.createFunctionExpression([],void 0,!0,!1,n);return e.wipSlots.push({fn:i,children:r}),i})).slots}}):void 0;var n,i;let s=[],a=aT(e);return function(){a.children.length&&SS.buildSlots(a,t,((e,r)=>(s.push(function(e,t,r){let n=tT.get(r.root),i={...n,nodeTransforms:[...iT,...n.nodeTransforms||[]],directiveTransforms:{...sT,...n.directiveTransforms||{}}};return function(e,t,r){let n=SS.createRoot([e]),i=SS.createTransformContext(n,t);i.ssr=!1,i.scopes={...r.scopes},i.identifiers={...r.identifiers},i.imports=r.imports,SS.traverseNode(n,i),["helpers","components","directives"].forEach((e=>{i[e].forEach(((t,n)=>{if("helpers"===e){let e=r.helpers.get(n);void 0===e?r.helpers.set(n,t):r.helpers.set(n,t+e)}else r[e].add(t)}))}))}({type:1,ns:0,tag:"template",tagType:3,isSelfClosing:!1,props:[{type:7,name:"slot",exp:e,arg:void 0,modifiers:[],loc:SS.locStub}],children:t,loc:SS.locStub,codegenNode:void 0},i,r),SS.createReturnStatement(t)}(e,r,t)),SS.createFunctionExpression(void 0))));let n=e.props.length>0&&SS.buildProps(e,t).props||"null",i=[];HS.set(e,i);let o=e.children.length?SS.buildSlots(e,t,((e,t,r)=>{let n=SS.createFunctionExpression([e||"_","_push","_parent","_scopeId"],void 0,!0,!0,r);return i.push({fn:n,children:t,vnodeBranch:s[i.length]}),n})).slots:"null";e.ssrCodegenNode="string"!=typeof r?SS.createCallExpression(t.helper(DS),["_push",SS.createCallExpression(t.helper(SS.CREATE_VNODE),[r,n,o]),"_parent"]):SS.createCallExpression(t.helper(CS),[r,n,o,"_parent"])}};function eT(e,t){let r=QS.get(e);if(e.ssrCodegenNode){let n=HS.get(e)||[];for(let e=0;e<n.length;e++){let{fn:r,children:i,vnodeBranch:s}=n[e];r.body=SS.createIfStatement(SS.createSimpleExpression("_push",!1),mT(i,t,!1,!0),s)}t.withSlotScopeId&&e.ssrCodegenNode.arguments.push("_scopeId"),"string"==typeof r?t.pushStatement(SS.createCallExpression("_push",[e.ssrCodegenNode])):t.pushStatement(e.ssrCodegenNode)}else{if(r===SS.TELEPORT)return function(e,t){let r,n=SS.findProp(e,"to");if(!n)return void t.onError(WS(62,e.loc));if(r=6===n.type?n.value&&SS.createSimpleExpression(n.value.content,!0):n.exp,!r)return void t.onError(WS(62,n.loc));let i=SS.findProp(e,"disabled",!1,!0),s=i?6===i.type?"true":i.exp||"false":"false",a=SS.createFunctionExpression(["_push"],void 0,!0,!1,e.loc);a.body=mT(e.children,t),t.pushStatement(SS.createCallExpression(t.helper(RS),["_push",a,r,s,"_parent"]))}(e,t);if(r===SS.SUSPENSE)return function(e,t){let r=YS.get(e);if(!r)return;let{slotsExp:n,wipSlots:i}=r;for(let e=0;e<i.length;e++){let{fn:r,children:n}=i[e];r.body=mT(n,t)}t.pushStatement(SS.createCallExpression(t.helper(jS),["_push",n]))}(e,t);if(r===SS.TRANSITION_GROUP)return function(e,t){let r=SS.findProp(e,"tag");r?7===r.type?(t.pushStringPart("<"),t.pushStringPart(r.exp),t.pushStringPart(">"),fT(e.children,t,!1,!0),t.pushStringPart("</"),t.pushStringPart(r.exp),t.pushStringPart(">")):(t.pushStringPart(`<${r.value.content}>`),fT(e.children,t,!1,!0),t.pushStringPart(`</${r.value.content}>`)):fT(e.children,t,!0,!0)}(e,t);fT(e.children,t)}}let tT=new WeakMap,[rT,nT]=SS.getBaseTransformPreset(!0),iT=[...rT,...SS.DOMNodeTransforms],sT={...nT,...SS.DOMDirectiveTransforms};function aT(e){if(TS.isArray(e))return e.map(aT);if(TS.isObject(e)){let t={};for(let r in e)t[r]=aT(e[r]);return t}return e}let oT=new WeakMap,lT=(e,t)=>{if(1===e.type&&0===e.tagType)return function(){let r,n,i,s=[`<${e.tag}`],a="textarea"===e.tag||e.tag.indexOf("-")>0,o=SS.hasDynamicKeyVBind(e);if(o){let{props:r}=SS.buildProps(e,t,e.props,!0);if(r){let n=SS.createCallExpression(t.helper(NS),[r]);if("textarea"===e.tag){let i=e.children[0];if(!i||5!==i.type){let s="_temp"+t.temps++;n.arguments=[SS.createAssignmentExpression(SS.createSimpleExpression(s,!1),r)],oT.set(e,SS.createCallExpression(t.helper(AS),[SS.createConditionalExpression(SS.createSimpleExpression(`"value" in ${s}`,!1),SS.createSimpleExpression(`${s}.value`,!1),SS.createSimpleExpression(i?i.content:"",!0),!1)]))}}else if("input"===e.tag){let i=e.props.find((e=>7===e.type&&"model"===e.name&&e.exp));if(i){let e="_temp"+t.temps++,s=SS.createSimpleExpression(e,!1);n.arguments=[SS.createSequenceExpression([SS.createAssignmentExpression(s,r),SS.createCallExpression(t.helper(SS.MERGE_PROPS),[s,SS.createCallExpression(t.helper(MS),[s,i.exp])])])]}}a&&n.arguments.push(`"${e.tag}"`),s.push(n)}}for(let l=0;l<e.props.length;l++){let u=e.props[l];if("input"!==e.tag||!uT(u))if(7===u.type)if("html"===u.name&&u.exp)oT.set(e,u.exp);else if("text"===u.name&&u.exp)e.children=[SS.createInterpolation(u.exp,u.loc)];else if("slot"===u.name)t.onError(SS.createCompilerError(39,u.loc));else if(cT(e,u)&&u.exp)o||(e.children=[SS.createInterpolation(u.exp,u.loc)]);else{let n=t.directiveTransforms[u.name];if(n){if(!o){let{props:o,ssrTagParts:l}=n(u,e,t);l&&s.push(...l);for(let n=0;n<o.length;n++){let{key:l,value:u}=o[n];if(SS.isStaticExp(l)){let n=l.content;if("key"===n||"ref"===n)continue;"class"===n?s.push(' class="',r=SS.createCallExpression(t.helper(PS),[u]),'"'):"style"===n?i?pT(i,u):s.push(' style="',i=SS.createCallExpression(t.helper(kS),[u]),'"'):(n=e.tag.indexOf("-")>0?n:TS.propsToAttrMap[n]||n.toLowerCase(),TS.isBooleanAttr(n)?s.push(SS.createConditionalExpression(u,SS.createSimpleExpression(" "+n,!0),SS.createSimpleExpression("",!0),!1)):TS.isSSRSafeAttrName(n)?s.push(SS.createCallExpression(t.helper(_S),[l,u])):t.onError(WS(61,l.loc)))}else{let r=[l,u];a&&r.push(`"${e.tag}"`),s.push(SS.createCallExpression(t.helper(OS),r))}}}}else t.onError(WS(60,u.loc))}else if("textarea"===e.tag&&"value"===u.name&&u.value)oT.set(e,TS.escapeHtml(u.value.content));else if(!o){if("key"===u.name||"ref"===u.name)continue;"class"===u.name&&u.value&&(n=JSON.stringify(u.value.content)),s.push(` ${u.name}`+(u.value?`="${TS.escapeHtml(u.value.content)}"`:""))}}r&&n&&(pT(r,n),function(e){let t=new RegExp('^ class=".+"$'),r=e.findIndex((e=>"string"==typeof e&&t.test(e)));r>-1&&e.splice(r,1)}(s)),t.scopeId&&s.push(` ${t.scopeId}`),e.ssrCodegenNode=SS.createTemplateLiteral(s)}};function uT(e){return 7===e.type?"bind"===e.name&&e.arg&&SS.isStaticExp(e.arg)&&("true-value"===e.arg.content||"false-value"===e.arg.content):"true-value"===e.name||"false-value"===e.name}function cT(e,t){return!("textarea"!==e.tag||"bind"!==t.name||!SS.isBindKey(t.arg,"value"))}function pT(e,t){let r=e.arguments[0];17===r.type?r.elements.push(t):e.arguments[0]=SS.createArrayExpression([r,t])}function hT(e,t){let r=t.options.isVoidTag||TS.NO,n=e.ssrCodegenNode.elements;for(let e=0;e<n.length;e++)t.pushStringPart(n[e]);t.withSlotScopeId&&t.pushStringPart(SS.createSimpleExpression("_scopeId",!1)),t.pushStringPart(">");let i=oT.get(e);i?t.pushStringPart(i):e.children.length&&fT(e.children,t),r(e.tag)||t.pushStringPart(`</${e.tag}>`)}function dT(e,t,r=new Set,n=!1){let i=[],s=null;return{root:e,options:t,body:i,helpers:r,withSlotScopeId:n,onError:t.onError||(e=>{throw e}),helper:e=>(r.add(e),e),pushStringPart(e){if(!s){let e=SS.createCallExpression("_push");i.push(e),s=SS.createTemplateLiteral([]),e.arguments.push(s)}let t=s.elements,r=t[t.length-1];TS.isString(e)&&TS.isString(r)?t[t.length-1]+=e:t.push(e)},pushStatement(e){s=null,i.push(e)}}}function fT(e,t,r=!1,n=!1){r&&t.pushStringPart("\x3c!--[--\x3e");for(let r=0;r<e.length;r++){let i=e[r];switch(i.type){case 1:switch(i.tagType){case 0:hT(i,t);break;case 1:eT(i,t);break;case 2:KS(i,t);break;case 3:break;default:return t.onError(WS(63,i.loc)),i}break;case 2:t.pushStringPart(TS.escapeHtml(i.content));break;case 3:t.pushStringPart(`\x3c!--${i.content}--\x3e`);break;case 5:t.pushStringPart(SS.createCallExpression(t.helper(AS),[i.content]));break;case 9:qS(i,t,n);break;case 11:XS(i,t,n);break;case 10:case 12:case 8:break;default:return t.onError(WS(63,i.loc)),i}}r&&t.pushStringPart("\x3c!--]--\x3e")}function mT(e,t,r=!1,n=t.withSlotScopeId){let i=function(e,t=e.withSlotScopeId){return dT(e.root,e.options,e.helpers,t)}(t,n);return fT(e,i,r),SS.createBlockStatement(i.body)}let yT=(e,t,r)=>{let n=e.exp;function i(){let e=SS.findProp(t,"value");e&&r.onError(SS.createDOMCompilerError(56,e.loc))}if(0===t.tagType){let s={props:[]},a=[SS.createObjectProperty("value",n)];if("input"===t.tag){let o=SS.findProp(t,"type");if(o){let l=function(e){let t=SS.findProp(e,"value");return t?7===t.type?t.exp:SS.createSimpleExpression(t.value.content,!0):SS.createSimpleExpression("null",!1)}(t);if(7===o.type)s.ssrTagParts=[SS.createCallExpression(r.helper(LS),[o.exp,n,l])];else if(o.value)switch(o.value.content){case"radio":s.props=[SS.createObjectProperty("checked",SS.createCallExpression(r.helper(IS),[n,l]))];break;case"checkbox":let o=SS.findProp(t,"true-value");if(o){let e=6===o.type?JSON.stringify(o.value.content):o.exp;s.props=[SS.createObjectProperty("checked",SS.createCallExpression(r.helper(IS),[n,e]))]}else s.props=[SS.createObjectProperty("checked",SS.createConditionalExpression(SS.createCallExpression("Array.isArray",[n]),SS.createCallExpression(r.helper(BS),[n,l]),n))];break;case"file":r.onError(SS.createDOMCompilerError(55,e.loc));break;default:i(),s.props=a}}else SS.hasDynamicKeyVBind(t)||(i(),s.props=a)}else"textarea"===t.tag?(i(),t.children=[SS.createInterpolation(n,n.loc)]):"select"===t.tag||r.onError(SS.createDOMCompilerError(53,e.loc));return s}return SS.transformModel(e,t,r)},gT=(e,t,r)=>(e.exp||r.onError(SS.createDOMCompilerError(57)),{props:[SS.createObjectProperty("style",SS.createConditionalExpression(e.exp,SS.createSimpleExpression("null",!1),SS.createObjectExpression([SS.createObjectProperty("display",SS.createSimpleExpression("none",!0))]),!1))]}),xT=e=>1===e.children.filter((e=>3!==e.type)).length,vT=(e,t)=>{0===e.type&&(t.identifiers._attrs=1);let r=t.parent;r&&0===r.type&&(10===e.type&&xT(e)?ET(e.children[0]):xT(r)&&ET(e))};function ET(e){1!==e.type||0!==e.tagType&&1!==e.tagType||SS.findDir(e,"for")||e.props.push({type:7,name:"bind",arg:void 0,exp:SS.createSimpleExpression("_attrs",!1),modifiers:[],loc:SS.locStub})}let bT=(e,t)=>{if(!t.ssrCssVars)return;0===e.type&&(t.identifiers._cssVars=1);let r=t.parent;if(r&&0===r.type)if(10===e.type)for(let t of e.children)ST(t);else ST(e)};function ST(e){if(1===e.type&&(0===e.tagType||1===e.tagType)&&!SS.findDir(e,"for"))if(SS.isBuiltInType(e.tag,"Suspense"))for(let t of e.children)1===t.type&&3===t.tagType?t.children.forEach(ST):ST(t);else e.props.push({type:7,name:"bind",arg:void 0,exp:SS.createSimpleExpression("_cssVars",!1),modifiers:[],loc:SS.locStub})}bS.compile=function(e,t={}){t={...t,...SS.parserOptions,ssr:!0,scopeId:"function"===t.mode?null:t.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1};let r=SS.baseParse(e,t);return tT.set(r,t),SS.transform(r,{...t,nodeTransforms:[$S,zS,SS.trackVForSlotScopes,SS.transformExpression,JS,vT,bT,lT,ZS,SS.trackSlotScopes,SS.transformStyle,...t.nodeTransforms||[]],directiveTransforms:{bind:SS.transformBind,model:yT,show:gT,on:SS.noopDirectiveTransform,cloak:SS.noopDirectiveTransform,once:SS.noopDirectiveTransform,...t.directiveTransforms||{}}}),function(e,t){let r=dT(e,t);if(t.ssrCssVars){let e=SS.processExpression(SS.createSimpleExpression(t.ssrCssVars,!1),SS.createTransformContext(SS.createRoot([]),t));r.body.push(SS.createCompoundExpression(["const _cssVars = { style: ",e,"}"]))}let n=e.children.length>1&&e.children.some((e=>!SS.isText(e)));fT(e.children,r,n),e.codegenNode=SS.createBlockStatement(r.body),e.ssrHelpers=Array.from(new Set([...e.helpers.filter((e=>e in US)),...r.helpers])),e.helpers=e.helpers.filter((e=>!(e in US)))}(r,t),SS.generate(r,t)};let{red:TT,bold:AT,gray:DT,options:CT}=k,wT=k;class PT extends Error{constructor(e,t,r,n,i,s){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),void 0!==t&&void 0!==r&&(this.line=t,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,PT)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=CT.enabled),wT&&e&&(t=wT(t));let r,n,i=t.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,i.length),o=String(a).length;return e?(r=e=>AT(TT(e)),n=e=>DT(e)):r=n=e=>e,i.slice(s,a).map(((e,t)=>{let i=s+1+t,a=" "+(" "+i).slice(-o)+" | ";if(i===this.line){let t=n(a.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(a)+e+"\n "+t+r("^")}return" "+n(a)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}var kT=PT;PT.default=PT;let NT={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};var _T=class{constructor(e){this.builder=e}stringify(e,t){this[e.type](e,t)}root(e){this.root=e,this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let i=e.nodes[n],s=this.raw(i,"before");s&&this.builder(s),this.stringify(i,t!==n||r)}}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}raw(e,t,r){let n;if(r||(r=t),t&&(n=e.raws[t],void 0!==n))return n;let i=e.parent;if("before"===r&&(!i||"root"===i.type&&i.first===e))return"";if(!i)return NT[r];let s=e.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[r])return s.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let i="raw"+((a=r)[0].toUpperCase()+a.slice(1));this[i]?n=this[i](s,e):s.walk((e=>{if(n=e.raws[t],void 0!==n)return!1}))}var a;return void 0===n&&(n=NT[r]),s.rawCache[r]=n,n}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)r+=t}return r}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}},OT={};OT.isClean=Symbol("isClean");let FT=_T;function IT(e,t){new FT(t).stringify(e)}var BT=IT;IT.default=IT;let LT=kT,MT=_T,{isClean:RT}=OT,jT=BT;function UT(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)||"proxyCache"===n)continue;let i=e[n],s=typeof i;"parent"===n&&"object"===s?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((e=>UT(e,r))):("object"===s&&null!==i&&(i=UT(i)),r[n]=i)}return r}class $T{constructor(e={}){this.raws={},this[RT]=!1;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}error(e,t={}){if(this.source){let r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new LT(e)}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=jT){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}clone(e={}){let t=UT(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent;)e=e.parent;return e}raw(e,t){return(new MT).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(){let e={};for(let t in this){if(!Object.prototype.hasOwnProperty.call(this,t)||"parent"===t)continue;let r=this[t];Array.isArray(r)?e[t]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON():e)):"object"==typeof r&&r.toJSON?e[t]=r.toJSON():e[t]=r}return e}positionInside(e){let t=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(r=1,n+=1):r+=1;return{line:n,column:r}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[RT]){this[RT]=!1;let e=this;for(;e=e.parent;)e[RT]=!1}}get proxyOf(){return this}}var qT=$T;$T.default=$T;let VT=qT;class zT extends VT{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}var XT=zT;zT.default=zT;let{dirname:JT,resolve:KT,relative:WT,sep:GT}=Ib,{pathToFileURL:YT}=vS,HT=_r,QT={};class ZT{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.positionBy(t);this.line=e.line,this.column=e.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var eA=ZT;ZT.default=ZT;let tA=eA;class rA{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new tA(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}var nA=rA;rA.default=rA;let iA=qT;class sA extends iA{constructor(e){super(e),this.type="comment"}}var aA=sA;sA.default=sA;let oA,lA,uA,cA=XT,{isClean:pA}=OT,hA=aA,dA=qT;function fA(e){return e.map((e=>(e.nodes&&(e.nodes=fA(e.nodes)),delete e.source,e)))}function mA(e){if(e[pA]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)mA(t)}function yA(e){"atrule"===e.type?Object.setPrototypeOf(e,uA.prototype):"rule"===e.type?Object.setPrototypeOf(e,lA.prototype):"decl"===e.type?Object.setPrototypeOf(e,cA.prototype):"comment"===e.type&&Object.setPrototypeOf(e,hA.prototype),e.nodes&&e.nodes.forEach((e=>{yA(e)}))}class gA extends dA{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let r,n=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.proxyOf.nodes[e],n).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)r=this.indexes[t],e<=r&&(this.indexes[t]=r+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let r,n=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of n)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)r=this.indexes[t],e<r&&(this.indexes[t]=r+n.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=fA(oA(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new cA(e)]}else if(e.selector)e=[new lA(e)];else if(e.name)e=[new uA(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new hA(e)]}return e.map((e=>("function"!=typeof e.markDirty&&yA(e),e.parent&&e.parent.removeChild(e),e[pA]&&mA(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e)))}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}gA.registerParse=e=>{oA=e},gA.registerRule=e=>{lA=e},gA.registerAtRule=e=>{uA=e};var xA=gA;gA.default=gA;let vA="'".charCodeAt(0),EA='"'.charCodeAt(0),bA="\\".charCodeAt(0),SA="/".charCodeAt(0),TA="\n".charCodeAt(0),AA=" ".charCodeAt(0),DA="\f".charCodeAt(0),CA="\t".charCodeAt(0),wA="\r".charCodeAt(0),PA="[".charCodeAt(0),kA="]".charCodeAt(0),NA="(".charCodeAt(0),_A=")".charCodeAt(0),OA="{".charCodeAt(0),FA="}".charCodeAt(0),IA=";".charCodeAt(0),BA="*".charCodeAt(0),LA=":".charCodeAt(0),MA="@".charCodeAt(0),RA=/[\t\n\f\r "#'()/;[\\\]{}]/g,jA=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,UA=/.[\n"'(/\\]/,$A=/[\da-f]/i,qA=xA;class VA extends qA{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}var zA=VA;VA.default=VA,qA.registerAtRule(VA);let XA,JA,KA=xA;class WA extends KA{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}toResult(e={}){return new XA(new JA,this,e).stringify()}}WA.registerLazyResult=e=>{XA=e},WA.registerProcessor=e=>{JA=e};var GA=WA;WA.default=WA;let YA={split(e,t,r){let n=[],i="",s=!1,a=0,o=!1,l=!1;for(let r of e)o?l?l=!1:"\\"===r?l=!0:r===o&&(o=!1):'"'===r||"'"===r?o=r:"("===r?a+=1:")"===r?a>0&&(a-=1):0===a&&t.includes(r)&&(s=!0),s?(""!==i&&n.push(i.trim()),i="",s=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n},space:e=>YA.split(e,[" ","\n","\t"]),comma:e=>YA.split(e,[","],!0)};var HA=YA;YA.default=YA;let QA=xA,ZA=HA;class eD extends QA{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return ZA.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}var tD=eD;eD.default=eD,QA.registerRule(eD);let rD=XT,nD=aA,iD=zA,sD=GA,aD=tD;var oD={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",i=r;for(;i--;)n+=e[Math.random()*e.length|0];return n}};let{existsSync:lD,readFileSync:uD}=k,{dirname:cD,join:pD}=Ib,hD=_r;class dD{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=cD(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new hD.SourceMapConsumer(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//)[1].trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=.*\s*\*\//gm);if(t&&t.length>0){let e=t[t.length-1];e&&(this.annotation=this.getAnnotationURL(e))}}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Ue?Ue.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=cD(e),lD(e))return this.mapFile=e,uD(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof hD.SourceMapConsumer)return hD.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof hD.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=pD(cD(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}var fD=dD;dD.default=dD;let{fileURLToPath:mD,pathToFileURL:yD}=vS,{resolve:gD,isAbsolute:xD}=Ib,{nanoid:vD}=oD,ED=function(e){for(var t=String(e),r=[],n=/\r?\n|\r/g;n.exec(t);)r.push(n.lastIndex);return r.push(t.length+1),{toPoint:i,toPosition:i,toOffset:function(e){var t,n=e&&e.line,i=e&&e.column;return isNaN(n)||isNaN(i)||!(n-1 in r)||(t=(r[n-2]||0)+i-1||0),t>-1&&t<r[r.length-1]?t:-1}};function i(e){var t=-1;if(e>-1&&e<r[r.length-1])for(;++t<r.length;)if(r[t]>e)return{line:t+1,column:e-(r[t-1]||0)+1,offset:e};return{}}},bD=k,SD=kT,TD=fD;class AD{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(/^\w+:\/\//.test(t.from)||xD(t.from)?this.file=t.from:this.file=gD(t.from));let r=new TD(this.css,t);if(r.text){this.map=r;let e=r.consumer().file;!this.file&&e&&(this.file=this.mapResolve(e))}this.file||(this.id="<input css "+vD(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t=ED(this.css);return this.fromOffset=e=>{let r=t.toPoint(e);return{line:r.line,col:r.column}},this.fromOffset(e)}error(e,t,r,n={}){let i;if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let s=this.origin(t,r);return i=s?new SD(e,s.line,s.column,s.source,s.file,n.plugin):new SD(e,t,r,this.css,this.file,n.plugin),i.input={line:t,column:r,source:this.css},this.file&&(i.input.url=yD(this.file).toString(),i.input.file=this.file),i}origin(e,t){if(!this.map)return!1;let r,n=this.map.consumer(),i=n.originalPositionFor({line:e,column:t});if(!i.source)return!1;r=xD(i.source)?yD(i.source):new URL(i.source,this.map.consumer().sourceRoot||yD(this.map.mapFile));let s={url:r.toString(),line:i.line,column:i.column};"file:"===r.protocol&&(s.file=mD(r));let a=n.sourceContentFor(i.source);return a&&(s.source=a),s}mapResolve(e){return/^\w+:\/\//.test(e)?e:gD(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}}var DD=AD;AD.default=AD,bD&&bD.registerInput&&bD.registerInput(AD);let CD=xA,wD=class{constructor(e){this.input=e,this.root=new sD,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=function(e,t={}){let r,n,i,s,a,o,l,u,c,p,h=e.css.valueOf(),d=t.ignoreErrors,f=h.length,m=0,y=[],g=[];function x(t){throw e.error("Unclosed "+t,m)}return{back:function(e){g.push(e)},nextToken:function(e){if(g.length)return g.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=h.charCodeAt(m),r){case TA:case AA:case CA:case wA:case DA:n=m;do{n+=1,r=h.charCodeAt(n)}while(r===AA||r===TA||r===CA||r===wA||r===DA);p=["space",h.slice(m,n)],m=n-1;break;case PA:case kA:case OA:case FA:case LA:case IA:case _A:{let e=String.fromCharCode(r);p=[e,e,m];break}case NA:if(u=y.length?y.pop()[1]:"",c=h.charCodeAt(m+1),"url"===u&&c!==vA&&c!==EA&&c!==AA&&c!==TA&&c!==CA&&c!==DA&&c!==wA){n=m;do{if(o=!1,n=h.indexOf(")",n+1),-1===n){if(d||t){n=m;break}x("bracket")}for(l=n;h.charCodeAt(l-1)===bA;)l-=1,o=!o}while(o);p=["brackets",h.slice(m,n+1),m,n],m=n}else n=h.indexOf(")",m+1),s=h.slice(m,n+1),-1===n||UA.test(s)?p=["(","(",m]:(p=["brackets",s,m,n],m=n);break;case vA:case EA:i=r===vA?"'":'"',n=m;do{if(o=!1,n=h.indexOf(i,n+1),-1===n){if(d||t){n=m+1;break}x("string")}for(l=n;h.charCodeAt(l-1)===bA;)l-=1,o=!o}while(o);p=["string",h.slice(m,n+1),m,n],m=n;break;case MA:RA.lastIndex=m+1,RA.test(h),n=0===RA.lastIndex?h.length-1:RA.lastIndex-2,p=["at-word",h.slice(m,n+1),m,n],m=n;break;case bA:for(n=m,a=!0;h.charCodeAt(n+1)===bA;)n+=1,a=!a;if(r=h.charCodeAt(n+1),a&&r!==SA&&r!==AA&&r!==TA&&r!==CA&&r!==wA&&r!==DA&&(n+=1,$A.test(h.charAt(n)))){for(;$A.test(h.charAt(n+1));)n+=1;h.charCodeAt(n+1)===AA&&(n+=1)}p=["word",h.slice(m,n+1),m,n],m=n;break;default:r===SA&&h.charCodeAt(m+1)===BA?(n=h.indexOf("*/",m+2)+1,0===n&&(d||t?n=h.length:x("comment")),p=["comment",h.slice(m,n+1),m,n],m=n):(jA.lastIndex=m+1,jA.test(h),n=0===jA.lastIndex?h.length-1:jA.lastIndex-2,p=["word",h.slice(m,n+1),m,n],y.push(p),m=n)}return m++,p},endOfFile:function(){return 0===g.length&&m>=f},position:function(){return m}}}(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new nD;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new aD;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,r=null,n=!1,i=null,s=[],a=e[1].startsWith("--"),o=[],l=e;for(;l;){if(r=l[0],o.push(l),"("===r||"["===r)i||(i=l),s.push("("===r?")":"]");else if(a&&n&&"{"===r)i||(i=l),s.push("}");else if(0===s.length){if(";"===r){if(n)return void this.decl(o,a);break}if("{"===r)return void this.rule(o);if("}"===r){this.tokenizer.back(o.pop()),t=!0;break}":"===r&&(n=!0)}else r===s[s.length-1]&&(s.pop(),0===s.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&n){for(;o.length&&(l=o[o.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(o.pop());this.decl(o,a)}else this.unknownWord(o)}rule(e){e.pop();let t=new aD;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let r=new rD;this.init(r,e[0][2]);let n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),i="";for(let e=t;e>0;e--){let t=n[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=n.pop()[1]+i}0===i.trim().indexOf("!")&&(r.important=!0,r.raws.important=i,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}let a=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));this.raw(r,"value",e),a?r.raws.between+=s:r.value=s+r.value,r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,n,i=new iD;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let s=!1,a=!1,o=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(o.length>0){for(n=o.length-1,r=o[n];r&&"space"===r[0];)r=o[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}o.push(e)}else o.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(o),o.length?(i.raws.afterName=this.spacesAndCommentsFromStart(o),this.raw(i,"params",o),s&&(e=o[o.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,r){let n,i,s,a,o=r.length,l="",u=!0,c=/^([#.|])?(\w)+/i;for(let t=0;t<o;t+=1)n=r[t],i=n[0],"comment"!==i||"rule"!==e.type?"comment"===i||"space"===i&&t===o-1?u=!1:l+=n[1]:(a=r[t-1],s=r[t+1],"space"!==a[0]&&"space"!==s[0]&&c.test(a[1])&&c.test(s[1])?l+=n[1]:u=!1);if(!u){let n=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:l,raw:n}}e[t]=l}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}colon(e){let t,r,n,i=0;for(let[s,a]of e.entries()){if(t=a,r=t[0],"("===r&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return s}this.doubleColon(t)}n=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",e[2])}unknownWord(e){throw this.input.error("Unknown word",e[0][2])}unexpectedClose(e){throw this.input.error("Unexpected }",e[2])}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",e[2])}unnamedAtrule(e,t){throw this.input.error("At-rule without name",t[2])}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let i=t-1;i>=0&&(r=e[i],"space"===r[0]||(n+=1,2!==n));i--);throw this.input.error("Missed semicolon",r[2])}},PD=DD;function kD(e,t){let r=new PD(e,t),n=new wD(r);try{n.parse()}catch(e){throw"production"!==w.env.NODE_ENV&&"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return n.root}var ND=kD;kD.default=kD,CD.registerParse(kD);let _D=class{constructor(e,t,r){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){return this.previousMaps||(this.previousMaps=[],this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}))),this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1===this.mapOpts.annotation)return;let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}setSourcesContent(){let e={};this.root.walk((t=>{if(t.source){let r=t.source.input.from;r&&!e[r]&&(e[r]=!0,this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css))}}))}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),n=e.root||JT(e.file);!1===this.mapOpts.sourcesContent?(t=new HT.SourceMapConsumer(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Ue?Ue.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<")||/^\w+:\/\//.test(e)||this.mapOpts.absolute)return e;let t=this.opts.to?JT(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=JT(KT(t,this.mapOpts.annotation))),WT(t,e)}toUrl(e){return"\\"===GT&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.mapOpts.absolute?YT(e.source.input.from).toString():this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new HT.SourceMapGenerator({file:this.outputFile()});let e,t,r=1,n=1;this.stringify(this.root,((i,s,a)=>{if(this.css+=i,s&&"end"!==a&&(s.source&&s.source.start?this.map.addMapping({source:this.sourcePath(s),generated:{line:r,column:n-1},original:{line:s.source.start.line,column:s.source.start.column-1}}):this.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:r,column:n-1}})),e=i.match(/\n/g),e?(r+=e.length,t=i.lastIndexOf("\n"),n=i.length-t):n+=i.length,s&&"start"!==a){let e=s.parent||{raws:{}};("decl"!==s.type||s!==e.last||e.raws.semicolon)&&(s.source&&s.source.end?this.map.addMapping({source:this.sourcePath(s),generated:{line:r,column:n-2},original:{line:s.source.end.line,column:s.source.end.column-1}}):this.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:r,column:n-1}}))}}))}generate(){if(this.clearAnnotation(),this.isMap())return this.generateMap();let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}},{isClean:OD}=OT,FD=BT,ID=nA,BD=ND,LD=GA,MD={root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"};function RD(e){return"object"==typeof e&&"function"==typeof e.then}function jD(e){let t=!1,r=MD[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function UD(e){let t;return t="root"===e.type?["Root",0,"RootExit"]:jD(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function $D(e){return e[OD]=!1,e.nodes&&e.nodes.forEach((e=>$D(e))),e}let qD={};class VD{constructor(e,t,r){let n;if(this.stringified=!1,this.processed=!1,"object"==typeof t&&null!==t&&"root"===t.type)n=$D(t);else if(t instanceof VD||t instanceof ID)n=$D(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=BD;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{n=e(t,r)}catch(e){this.processed=!0,this.error=e}}this.result=new ID(e,n,r),this.helpers={...qD,result:this.result,postcss:qD},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"production"!==w.env.NODE_ENV&&("from"in this.opts||function(e){QT[e]||(QT[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(RD(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[OD];)e[OD]=!0,this.walkSync(e);this.listeners.OnceExit&&this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=FD;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new _D(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[OD]=!0;let t=jD(e);for(let r of t)if(0===r)e.nodes&&e.each((e=>{e[OD]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&!t.parent)return!0;if(RD(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once)return e.Once(this.result.root,this.helpers);if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!==w.env.NODE_ENV){let e=r.postcssPlugin,t=r.postcssVersion,n=this.result.processor.version,i=t.split("."),s=n.split(".");(i[0]!==s[0]||parseInt(i[1])>parseInt(s[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+n+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(RD(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[OD];){e[OD]=!0;let t=[UD(e)];for(;t.length>0;){let e=this.visitTick(t);if(RD(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r of["Root","Declaration","Rule","AtRule","Comment","DeclarationExit","RuleExit","AtRuleExit","CommentExit","RootExit","OnceExit"])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r]);this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,i]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,i=t.iterator;for(;n=r.nodes[r.indexes[i]];)if(r.indexes[i]+=1,!n[OD])return n[OD]=!0,void e.push(UD(n));t.iterator=0,delete r.indexes[i]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,0===e)return void(r.nodes&&r.nodes.length&&(r[OD]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}VD.registerPostcss=e=>{qD=e};var zD=VD;VD.default=VD,LD.registerLazyResult(VD);let XD=zD,JD=GA;class KD{constructor(e=[]){this.version="8.1.10",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0!==this.plugins.length||t.parser!==t.stringifier||t.hideNothingWarning||"production"!==w.env.NODE_ENV&&typeof console<"u"&&console.warn&&console.warn("You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in postcss.config.js."),new XD(this,e,t)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");if("production"!==w.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}}var WD=KD;KD.default=KD,JD.registerProcessor(KD);let GD=kT,YD=XT,HD=zD,QD=xA,ZD=WD,eC=BT,tC=eA,rC=aA,nC=zA,iC=nA,sC=DD,aC=ND,oC=HA,lC=tD,uC=GA,cC=qT;function pC(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new ZD(e,pC)}pC.plugin=function(e,t){function r(...r){let n=t(...r);return n.postcssPlugin=e,n.postcssVersion=(new ZD).version,n}let n;return console&&console.warn&&(console.warn("postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),w.env.LANG&&w.env.LANG.startsWith("cn")&&console.warn("postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:()=>(n||(n=r()),n)}),r.process=function(e,t,n){return pC([r(n)]).process(e,t)},r},pC.stringify=eC,pC.parse=aC,pC.list=oC,pC.comment=e=>new rC(e),pC.atRule=e=>new nC(e),pC.decl=e=>new YD(e),pC.rule=e=>new lC(e),pC.root=e=>new uC(e),pC.CssSyntaxError=GD,pC.Declaration=YD,pC.Container=QD,pC.Comment=rC,pC.Warning=tC,pC.AtRule=nC,pC.Result=iC,pC.Input=sC,pC.Rule=lC,pC.Root=uC,pC.Node=cC,HD.registerPostcss(pC);var hC=pC;pC.default=pC;var dC={exports:{}},fC={exports:{}},mC={exports:{}},yC=function(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n},gC=function(e,t,r){return 0===e.length?e:t?(r||e.sort(t),function(e,t){for(var r=1,n=e.length,i=e[0],s=e[0],a=1;a<n;++a)if(s=i,t(i=e[a],s)){if(a===r){r++;continue}e[r++]=i}return e.length=r,e}(e,t)):(r||e.sort(),function(e){for(var t=1,r=e.length,n=e[0],i=e[0],s=1;s<r;++s,i=n)if(i=n,(n=e[s])!==i){if(s===t){t++;continue}e[t++]=n}return e.length=t,e}(e))},xC={exports:{}},vC={exports:{}},EC={exports:{}},bC={},SC={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){return e.replace(r,(function(e,t,r){var n="0x"+t-65536;return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}))};var r=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig");e.exports=t.default}(SC,SC.exports);var TC={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default}(TC,TC.exports);var AC={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();e[i]||(e[i]={}),e=e[i]}},e.exports=t.default}(AC,AC.exports);var DC={exports:{}};(function(e,t){t.__esModule=!0,t.default=function(e){for(var t="",r=e.indexOf("/*"),n=0;r>=0;){t+=e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0)return t;n=i+2,r=e.indexOf("/*",n)}return t+e.slice(n)},e.exports=t.default})(DC,DC.exports),bC.__esModule=!0,bC.stripComments=bC.ensureObject=bC.getProp=bC.unesc=void 0;var CC=NC(SC.exports);bC.unesc=CC.default;var wC=NC(TC.exports);bC.getProp=wC.default;var PC=NC(AC.exports);bC.ensureObject=PC.default;var kC=NC(DC.exports);function NC(e){return e&&e.__esModule?e:{default:e}}bC.stripComments=kC.default,function(e,t){t.__esModule=!0,t.default=void 0;var r=bC,n=function e(t,r){if("object"!=typeof t||null===t)return t;var n=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var s=t[i];"parent"===i&&"object"==typeof s?r&&(n[i]=r):n[i]=s instanceof Array?s.map((function(t){return e(t,n)})):e(s,n)}return n},i=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t,i=e.prototype;return i.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},i.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},i.next=function(){return this.parent.at(this.parent.index(this)+1)},i.prev=function(){return this.parent.at(this.parent.index(this)-1)},i.clone=function(e){void 0===e&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},i.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var n=this[e],i=this.raws[e];this[e]=n+t,i||r!==t?this.raws[e]=(i||n)+r:delete this.raws[e]},i.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},i.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},i.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},i.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},i.valueToString=function(){return String(this.stringifyProperty("value"))},i.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},(t=[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}])&&function(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)}}(e.prototype,t),e}();t.default=i,e.exports=t.default}(EC,EC.exports);var _C={__esModule:!0};_C.UNIVERSAL=_C.ATTRIBUTE=_C.CLASS=_C.COMBINATOR=_C.COMMENT=_C.ID=_C.NESTING=_C.PSEUDO=_C.ROOT=_C.SELECTOR=_C.STRING=_C.TAG=void 0,_C.TAG="tag",_C.STRING="string",_C.SELECTOR="selector",_C.ROOT="root",_C.PSEUDO="pseudo",_C.NESTING="nesting",_C.ID="id",_C.COMMENT="comment",_C.COMBINATOR="combinator",_C.CLASS="class",_C.ATTRIBUTE="attribute",_C.UNIVERSAL="universal",function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=EC.exports)&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(_C),s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var s,a=n.prototype;return a.append=function(e){return e.parent=this,this.nodes.push(e),this},a.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},a.at=function(e){return this.nodes[e]},a.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},a.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},a.removeAll=function(){var e=this.nodes,t=Array.isArray(e),r=0;for(e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{if((r=e.next()).done)break;n=r.value}n.parent=void 0}return this.nodes=[],this},a.empty=function(){return this.removeAll()},a.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},a.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},a._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1})),r},a.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},a._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},a.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r,n;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(n=e(this.at(r),r)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==n&&void 0}},a.walk=function(e){return this.each((function(t,r){var n=e(t,r);if(!1!==n&&t.length&&(n=t.walk(e)),!1===n)return!1}))},a.walkAttributes=function(e){var t=this;return this.walk((function(r){if(r.type===i.ATTRIBUTE)return e.call(t,r)}))},a.walkClasses=function(e){var t=this;return this.walk((function(r){if(r.type===i.CLASS)return e.call(t,r)}))},a.walkCombinators=function(e){var t=this;return this.walk((function(r){if(r.type===i.COMBINATOR)return e.call(t,r)}))},a.walkComments=function(e){var t=this;return this.walk((function(r){if(r.type===i.COMMENT)return e.call(t,r)}))},a.walkIds=function(e){var t=this;return this.walk((function(r){if(r.type===i.ID)return e.call(t,r)}))},a.walkNesting=function(e){var t=this;return this.walk((function(r){if(r.type===i.NESTING)return e.call(t,r)}))},a.walkPseudos=function(e){var t=this;return this.walk((function(r){if(r.type===i.PSEUDO)return e.call(t,r)}))},a.walkTags=function(e){var t=this;return this.walk((function(r){if(r.type===i.TAG)return e.call(t,r)}))},a.walkUniversals=function(e){var t=this;return this.walk((function(r){if(r.type===i.UNIVERSAL)return e.call(t,r)}))},a.split=function(e){var t=this,r=[];return this.reduce((function(n,i,s){var a=e.call(t,i);return r.push(i),a?(n.push(r),r=[]):s===t.length-1&&n.push(r),n}),[])},a.map=function(e){return this.nodes.map(e)},a.reduce=function(e,t){return this.nodes.reduce(e,t)},a.every=function(e){return this.nodes.every(e)},a.some=function(e){return this.nodes.some(e)},a.filter=function(e){return this.nodes.filter(e)},a.sort=function(e){return this.nodes.sort(e)},a.toString=function(){return this.map(String).join("")},(s=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}])&&function(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)}}(n.prototype,s),n}(n.default);t.default=s,e.exports=t.default}(vC,vC.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=vC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.ROOT,r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var s,a=n.prototype;return a.toString=function(){var e=this.reduce((function(e,t){return e.push(String(t)),e}),[]).join(",");return this.trailingComma?e+",":e},a.error=function(e,t){return this._error?this._error(e,t):new Error(e)},(s=[{key:"errorGenerator",set:function(e){this._error=e}}])&&function(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)}}(n.prototype,s),n}(n.default);t.default=s,e.exports=t.default}(xC,xC.exports);var OC={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=vC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.SELECTOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(n.default);t.default=s,e.exports=t.default}(OC,OC.exports);var FC={exports:{}},IC={}.hasOwnProperty,BC=/[ -,\.\/:-@\[-\^`\{-~]/,LC=/[ -,\.\/:-@\[\]\^`\{-~]/,MC=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,RC=function e(t,r){"single"!=(r=function(e,t){if(!e)return t;var r={};for(var n in t)r[n]=IC.call(e,n)?e[n]:t[n];return r}(r,e.options)).quotes&&"double"!=r.quotes&&(r.quotes="single");for(var n="double"==r.quotes?'"':"'",i=r.isIdentifier,s=t.charAt(0),a="",o=0,l=t.length;o<l;){var u=t.charAt(o++),c=u.charCodeAt(),p=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&o<l){var h=t.charCodeAt(o++);56320==(64512&h)?c=((1023&c)<<10)+(1023&h)+65536:o--}p="\\"+c.toString(16).toUpperCase()+" "}else p=r.escapeEverything?BC.test(u)?"\\"+u:"\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(u)?"\\"+c.toString(16).toUpperCase()+" ":"\\"==u||!i&&('"'==u&&n==u||"'"==u&&n==u)||i&&LC.test(u)?"\\"+u:u;a+=p}return i&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(s)&&(a="\\3"+s+" "+a.slice(1))),a=a.replace(MC,(function(e,t,r){return t&&t.length%2?e:(t||"")+r})),!i&&r.wrap?n+a+n:a};RC.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},RC.version="3.0.0";var jC=RC;!function(e,t){t.__esModule=!0,t.default=void 0;var r=a(jC),n=bC,i=a(EC.exports),s=_C;function a(e){return e&&e.__esModule?e:{default:e}}var o=function(e){var t,i,a;function o(t){var r;return(r=e.call(this,t)||this).type=s.CLASS,r._constructed=!0,r}return i=e,(t=o).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i,o.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},(a=[{key:"value",set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,n.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e},get:function(){return this._value}}])&&function(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)}}(o.prototype,a),o}(i.default);t.default=o,e.exports=t.default}(FC,FC.exports);var UC={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=EC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.COMMENT,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(n.default);t.default=s,e.exports=t.default}(UC,UC.exports);var $C={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=EC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.ID,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},n}(n.default);t.default=s,e.exports=t.default}($C,$C.exports);var qC={exports:{}},VC={exports:{}};(function(e,t){t.__esModule=!0,t.default=void 0;var r=i(jC),n=bC;function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t,i;function s(){return e.apply(this,arguments)||this}i=e,(t=s).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i;var a,o=s.prototype;return o.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},o.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},(a=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e)return this._namespace=e,void(this.raws&&delete this.raws.namespace);var t=(0,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,n.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(this.namespace){var e=this.stringifyProperty("namespace");return!0===e?"":e}return""}}])&&function(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)}}(s.prototype,a),s}(i(EC.exports).default);t.default=s,e.exports=t.default})(VC,VC.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=VC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.TAG,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(n.default);t.default=s,e.exports=t.default}(qC,qC.exports);var zC={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=EC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.STRING,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(n.default);t.default=s,e.exports=t.default}(zC,zC.exports);var XC={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=vC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.PSEUDO,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},n}(n.default);t.default=s,e.exports=t.default}(XC,XC.exports);var JC={},KC=function(e,t){if(WC("noDeprecation"))return e;var r=!1;return function(){if(!r){if(WC("throwDeprecation"))throw new Error(t);WC("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}};function WC(t){try{if(!e.localStorage)return!1}catch{return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}JC.__esModule=!0,JC.unescapeValue=aw,JC.default=void 0;var GC,YC=ew(jC),HC=ew(SC.exports),QC=ew(VC.exports),ZC=_C;function ew(e){return e&&e.__esModule?e:{default:e}}var tw=KC,rw=/^('|")(.*)\1$/,nw=tw((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),iw=tw((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),sw=tw((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function aw(e){var t=!1,r=null,n=e,i=n.match(rw);return i&&(r=i[1],n=i[2]),(n=(0,HC.default)(n))!==e&&(t=!0),{deprecatedUsage:t,unescaped:n,quoteMark:r}}var ow=function(e){var t,r;function n(t){var r;return void 0===t&&(t={}),(r=e.call(this,function(e){if(void 0!==e.quoteMark||void 0===e.value)return e;sw();var t=aw(e.value),r=t.quoteMark,n=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=n,e.quoteMark=r,e}(t))||this).type=ZC.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:tw((function(){return r.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:tw((function(){return r.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var i,s=n.prototype;return s.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),r=lw[t];return(0,YC.default)(this._value,r)},s._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},s.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},s.smartQuoteMark=function(e){var t=this.value,r=t.replace(/[^']/g,"").length,i=t.replace(/[^"]/g,"").length;if(r+i===0){var s=(0,YC.default)(t,{isIdentifier:!0});if(s===t)return n.NO_QUOTE;var a=this.preferredQuoteMark(e);if(a===n.NO_QUOTE){var o=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=lw[o];if((0,YC.default)(t,l).length<s.length)return o}return a}return i===r?this.preferredQuoteMark(e):i<r?n.DOUBLE_QUOTE:n.SINGLE_QUOTE},s.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===t&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===t&&(t=n.DOUBLE_QUOTE),t},s._syncRawValue=function(){var e=(0,YC.default)(this._value,lw[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},s._handleEscapes=function(e,t){if(this._constructed){var r=(0,YC.default)(t,{isIdentifier:!0});r!==t?this.raws[e]=r:delete this.raws[e]}},s._spacesFor=function(e){var t=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,r)},s._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=uw);var n=this._spacesFor(t);return r(this.stringifyProperty(e),n)},s.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e||(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e))return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var n=this._spacesFor("operator");t+=n.before.length;var i=this.stringifyProperty("operator");if("operator"===e)return i?t:-1;t+=i.length,t+=n.after.length;var s=this._spacesFor("value");t+=s.before.length;var a=this.stringifyProperty("value");return"value"===e?a?t:-1:(t+=a.length,t+=s.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},s.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",(function(t,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),uw(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},(i=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){iw()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=aw(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;if(r&&nw(),n===this._value&&i===this._quoteMark)return;this._value=n,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&function(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)}}(n.prototype,i),n}(QC.default);JC.default=ow,ow.NO_QUOTE=null,ow.SINGLE_QUOTE="'",ow.DOUBLE_QUOTE='"';var lw=((GC={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},GC);function uw(e,t){return""+t.before+e+t.after}var cw={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=VC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.UNIVERSAL,r.value="*",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(n.default);t.default=s,e.exports=t.default}(cw,cw.exports);var pw={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=EC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.COMBINATOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(n.default);t.default=s,e.exports=t.default}(pw,pw.exports);var hw={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=EC.exports)&&r.__esModule?r:{default:r},i=_C,s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.NESTING,r.value="&",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(n.default);t.default=s,e.exports=t.default}(hw,hw.exports);var dw={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default}(dw,dw.exports);var fw={},mw={__esModule:!0};mw.combinator=mw.word=mw.comment=mw.str=mw.tab=mw.newline=mw.feed=mw.cr=mw.backslash=mw.bang=mw.slash=mw.doubleQuote=mw.singleQuote=mw.space=mw.greaterThan=mw.pipe=mw.equals=mw.plus=mw.caret=mw.tilde=mw.dollar=mw.closeSquare=mw.openSquare=mw.closeParenthesis=mw.openParenthesis=mw.semicolon=mw.colon=mw.comma=mw.at=mw.asterisk=mw.ampersand=void 0,mw.ampersand=38,mw.asterisk=42,mw.at=64,mw.comma=44,mw.colon=58,mw.semicolon=59,mw.openParenthesis=40,mw.closeParenthesis=41,mw.openSquare=91,mw.closeSquare=93,mw.dollar=36,mw.tilde=126,mw.caret=94,mw.plus=43,mw.equals=61,mw.pipe=124,mw.greaterThan=62,mw.space=32,mw.singleQuote=39,mw.doubleQuote=34,mw.slash=47,mw.bang=33,mw.backslash=92,mw.cr=13,mw.feed=12,mw.newline=10,mw.tab=9,mw.str=39,mw.comment=-1,mw.word=-2,mw.combinator=-3,fw.__esModule=!0,fw.default=function(e){var t,r,n,i,s,a,o,l,u,c,p,h,d=[],f=e.css.valueOf(),m=f.length,y=-1,g=1,x=0,v=0;function E(t,r){if(!e.safe)throw e.error("Unclosed "+t,g,x-y,x);l=(f+=r).length-1}for(;x<m;){switch((t=f.charCodeAt(x))===xw.newline&&(y=x,g+=1),t){case xw.space:case xw.tab:case xw.newline:case xw.cr:case xw.feed:l=x;do{l+=1,(t=f.charCodeAt(l))===xw.newline&&(y=l,g+=1)}while(t===xw.space||t===xw.newline||t===xw.tab||t===xw.cr||t===xw.feed);h=xw.space,n=g,r=l-y-1,v=l;break;case xw.plus:case xw.greaterThan:case xw.tilde:case xw.pipe:l=x;do{l+=1,t=f.charCodeAt(l)}while(t===xw.plus||t===xw.greaterThan||t===xw.tilde||t===xw.pipe);h=xw.combinator,n=g,r=x-y,v=l;break;case xw.asterisk:case xw.ampersand:case xw.bang:case xw.comma:case xw.equals:case xw.dollar:case xw.caret:case xw.openSquare:case xw.closeSquare:case xw.colon:case xw.semicolon:case xw.openParenthesis:case xw.closeParenthesis:h=t,n=g,r=x-y,v=(l=x)+1;break;case xw.singleQuote:case xw.doubleQuote:p=t===xw.singleQuote?"'":'"',l=x;do{for(i=!1,-1===(l=f.indexOf(p,l+1))&&E("quote",p),s=l;f.charCodeAt(s-1)===xw.backslash;)s-=1,i=!i}while(i);h=xw.str,n=g,r=x-y,v=l+1;break;default:t===xw.slash&&f.charCodeAt(x+1)===xw.asterisk?(0===(l=f.indexOf("*/",x+2)+1)&&E("comment","*/"),(a=(o=f.slice(x,l+1).split("\n")).length-1)>0?(u=g+a,c=l-o[a].length):(u=g,c=y),h=xw.comment,g=u,n=u,r=l-c):t===xw.slash?(h=t,n=g,r=x-y,v=(l=x)+1):(l=Aw(f,x),h=xw.word,n=g,r=l-y),v=l+1}d.push([h,g,x-y,n,r,x,v]),c&&(y=c,c=null),x=v}return d},fw.FIELDS=void 0;for(var yw,gw,xw=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(mw),vw=((yw={})[xw.tab]=!0,yw[xw.newline]=!0,yw[xw.cr]=!0,yw[xw.feed]=!0,yw),Ew=((gw={})[xw.space]=!0,gw[xw.tab]=!0,gw[xw.newline]=!0,gw[xw.cr]=!0,gw[xw.feed]=!0,gw[xw.ampersand]=!0,gw[xw.asterisk]=!0,gw[xw.bang]=!0,gw[xw.comma]=!0,gw[xw.colon]=!0,gw[xw.semicolon]=!0,gw[xw.openParenthesis]=!0,gw[xw.closeParenthesis]=!0,gw[xw.openSquare]=!0,gw[xw.closeSquare]=!0,gw[xw.singleQuote]=!0,gw[xw.doubleQuote]=!0,gw[xw.plus]=!0,gw[xw.pipe]=!0,gw[xw.tilde]=!0,gw[xw.greaterThan]=!0,gw[xw.equals]=!0,gw[xw.dollar]=!0,gw[xw.caret]=!0,gw[xw.slash]=!0,gw),bw={},Sw="0123456789abcdefABCDEF",Tw=0;Tw<22;Tw++)bw[Sw.charCodeAt(Tw)]=!0;function Aw(e,t){var r,n=t;do{if(r=e.charCodeAt(n),Ew[r])return n-1;r===xw.backslash?n=Dw(e,n)+1:n++}while(n<e.length);return n-1}function Dw(e,t){var r=t,n=e.charCodeAt(r+1);if(!vw[n])if(bw[n]){var i=0;do{r++,i++,n=e.charCodeAt(r+1)}while(bw[n]&&i<6);i<6&&n===xw.space&&r++}else r++;return r}fw.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6},function(e,t){t.__esModule=!0,t.default=void 0;var r,n,i=A(yC),s=A(gC),a=A(xC.exports),o=A(OC.exports),l=A(FC.exports),u=A(UC.exports),c=A($C.exports),p=A(qC.exports),h=A(zC.exports),d=A(XC.exports),f=T(JC),m=A(cw.exports),y=A(pw.exports),g=A(hw.exports),x=A(dw.exports),v=T(fw),E=T(mw),b=T(_C),S=bC;function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function A(e){return e&&e.__esModule?e:{default:e}}var D=((r={})[E.space]=!0,r[E.cr]=!0,r[E.feed]=!0,r[E.newline]=!0,r[E.tab]=!0,r),C=Object.assign({},D,((n={})[E.comment]=!0,n));function w(e){return{line:e[v.FIELDS.START_LINE],column:e[v.FIELDS.START_COL]}}function P(e){return{line:e[v.FIELDS.END_LINE],column:e[v.FIELDS.END_COL]}}function k(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function N(e){return k(e[v.FIELDS.START_LINE],e[v.FIELDS.START_COL],e[v.FIELDS.END_LINE],e[v.FIELDS.END_COL])}function _(e,t){if(e)return k(e[v.FIELDS.START_LINE],e[v.FIELDS.START_COL],t[v.FIELDS.END_LINE],t[v.FIELDS.END_COL])}function O(e,t){var r=e[t];if("string"==typeof r)return-1!==r.indexOf("\\")&&((0,S.ensureObject)(e,"raws"),e[t]=(0,S.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}var F=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,v.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=_(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new a.default({source:r}),this.root.errorGenerator=this._errorGenerator();var n=new o.default({source:{start:{line:1,column:1}}});this.root.append(n),this.current=n,this.loop()}var t,r=e.prototype;return r._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?new Error(t):e.rule.error(t,r)}},r.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[v.FIELDS.TYPE]!==E.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[v.FIELDS.TYPE]!==E.closeSquare)return this.expected("closing square bracket",this.currToken[v.FIELDS.START_POS]);var r=e.length,n={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[v.FIELDS.START_POS]};if(1===r&&!~[E.word].indexOf(e[0][v.FIELDS.TYPE]))return this.expected("attribute",e[0][v.FIELDS.START_POS]);for(var i=0,s="",a="",o=null,l=!1;i<r;){var u=e[i],c=this.content(u),p=e[i+1];switch(u[v.FIELDS.TYPE]){case E.space:if(l=!0,this.options.lossy)break;if(o){(0,S.ensureObject)(n,"spaces",o);var h=n.spaces[o].after||"";n.spaces[o].after=h+c;var d=(0,S.getProp)(n,"raws","spaces",o,"after")||null;d&&(n.raws.spaces[o].after=d+c)}else s+=c,a+=c;break;case E.asterisk:p[v.FIELDS.TYPE]===E.equals?(n.operator=c,o="operator"):(!n.namespace||"namespace"===o&&!l)&&p&&(s&&((0,S.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=s,s=""),a&&((0,S.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=s,a=""),n.namespace=(n.namespace||"")+c,(0,S.getProp)(n,"raws","namespace")&&(n.raws.namespace+=c),o="namespace"),l=!1;break;case E.dollar:if("value"===o){var m=(0,S.getProp)(n,"raws","value");n.value+="$",m&&(n.raws.value=m+"$");break}case E.caret:p[v.FIELDS.TYPE]===E.equals&&(n.operator=c,o="operator"),l=!1;break;case E.combinator:if("~"===c&&p[v.FIELDS.TYPE]===E.equals&&(n.operator=c,o="operator"),"|"!==c){l=!1;break}p[v.FIELDS.TYPE]===E.equals?(n.operator=c,o="operator"):n.namespace||n.attribute||(n.namespace=!0),l=!1;break;case E.word:if(p&&"|"===this.content(p)&&e[i+2]&&e[i+2][v.FIELDS.TYPE]!==E.equals&&!n.operator&&!n.namespace)n.namespace=c,o="namespace";else if(!n.attribute||"attribute"===o&&!l)s&&((0,S.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=s,s=""),a&&((0,S.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=a,a=""),n.attribute=(n.attribute||"")+c,(0,S.getProp)(n,"raws","attribute")&&(n.raws.attribute+=c),o="attribute";else if(!n.value&&""!==n.value||"value"===o&&!l){var y=(0,S.unesc)(c),g=(0,S.getProp)(n,"raws","value")||"",x=n.value||"";n.value=x+y,n.quoteMark=null,(y!==c||g)&&((0,S.ensureObject)(n,"raws"),n.raws.value=(g||x)+c),o="value"}else{var b="i"===c||"I"===c;!n.value&&""!==n.value||!n.quoteMark&&!l?(n.value||""===n.value)&&(o="value",n.value+=c,n.raws.value&&(n.raws.value+=c)):(n.insensitive=b,b&&"I"!==c||((0,S.ensureObject)(n,"raws"),n.raws.insensitiveFlag=c),o="insensitive",s&&((0,S.ensureObject)(n,"spaces","insensitive"),n.spaces.insensitive.before=s,s=""),a&&((0,S.ensureObject)(n,"raws","spaces","insensitive"),n.raws.spaces.insensitive.before=a,a=""))}l=!1;break;case E.str:if(!n.attribute||!n.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:u[v.FIELDS.START_POS]});var T=(0,f.unescapeValue)(c),A=T.unescaped,D=T.quoteMark;n.value=A,n.quoteMark=D,o="value",(0,S.ensureObject)(n,"raws"),n.raws.value=c,l=!1;break;case E.equals:if(!n.attribute)return this.expected("attribute",u[v.FIELDS.START_POS],c);if(n.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:u[v.FIELDS.START_POS]});n.operator=n.operator?n.operator+c:c,o="operator",l=!1;break;case E.comment:if(o)if(l||p&&p[v.FIELDS.TYPE]===E.space||"insensitive"===o){var C=(0,S.getProp)(n,"spaces",o,"after")||"",w=(0,S.getProp)(n,"raws","spaces",o,"after")||C;(0,S.ensureObject)(n,"raws","spaces",o),n.raws.spaces[o].after=w+c}else{var P=n[o]||"",N=(0,S.getProp)(n,"raws",o)||P;(0,S.ensureObject)(n,"raws"),n.raws[o]=N+c}else a+=c;break;default:return this.error('Unexpected "'+c+'" found.',{index:u[v.FIELDS.START_POS]})}i++}O(n,"attribute"),O(n,"namespace"),this.newNode(new f.default(n)),this.position++},r.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],n="",i=void 0;do{if(D[this.currToken[v.FIELDS.TYPE]])this.options.lossy||(n+=this.content());else if(this.currToken[v.FIELDS.TYPE]===E.comment){var s={};n&&(s.before=n,n=""),i=new u.default({value:this.content(),source:N(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS],spaces:s}),r.push(i)}}while(++this.position<e);if(n)if(i)i.spaces.after=n;else if(!this.options.lossy){var a=this.tokens[t],o=this.tokens[this.position-1];r.push(new h.default({value:"",source:k(a[v.FIELDS.START_LINE],a[v.FIELDS.START_COL],o[v.FIELDS.END_LINE],o[v.FIELDS.END_COL]),sourceIndex:a[v.FIELDS.START_POS],spaces:{before:n,after:""}}))}return r},r.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var n="",i="";return e.forEach((function(e){var s=r.lossySpace(e.spaces.before,t),a=r.lossySpace(e.rawSpaceBefore,t);n+=s+r.lossySpace(e.spaces.after,t&&0===s.length),i+=s+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===a.length)})),i===n&&(i=void 0),{space:n,rawSpace:i}},r.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][v.FIELDS.TYPE]===E.slash&&this.tokens[e+1]&&this.tokens[e+1][v.FIELDS.TYPE]===E.word&&this.tokens[e+2]&&this.tokens[e+2][v.FIELDS.TYPE]===E.slash},r.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,S.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var n=new y.default({value:"/"+t+"/",source:k(this.currToken[v.FIELDS.START_LINE],this.currToken[v.FIELDS.START_COL],this.tokens[this.position+2][v.FIELDS.END_LINE],this.tokens[this.position+2][v.FIELDS.END_COL]),sourceIndex:this.currToken[v.FIELDS.START_POS],raws:r});return this.position=this.position+3,n}this.unexpected()},r.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][v.FIELDS.TYPE]===E.comma)){var r,n=this.currToken,i=void 0;if(t>this.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[v.FIELDS.TYPE]===E.combinator?(r=new y.default({value:this.content(),source:N(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS]}),this.position++):D[this.currToken[v.FIELDS.TYPE]]||i||this.unexpected(),r){if(i){var s=this.convertWhitespaceNodesToSpace(i),a=s.space,o=s.rawSpace;r.spaces.before=a,r.rawSpaceBefore=o}}else{var l=this.convertWhitespaceNodesToSpace(i,!0),u=l.space,c=l.rawSpace;c||(c=u);var p={},h={spaces:{}};u.endsWith(" ")&&c.endsWith(" ")?(p.before=u.slice(0,u.length-1),h.spaces.before=c.slice(0,c.length-1)):u.startsWith(" ")&&c.startsWith(" ")?(p.after=u.slice(1),h.spaces.after=c.slice(1)):h.value=c,r=new y.default({value:" ",source:_(n,this.tokens[this.position-1]),sourceIndex:n[v.FIELDS.START_POS],spaces:p,raws:h})}return this.currToken&&this.currToken[v.FIELDS.TYPE]===E.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var f=this.current.last;if(f){var m=this.convertWhitespaceNodesToSpace(d),g=m.space,x=m.rawSpace;void 0!==x&&(f.rawSpaceAfter+=x),f.spaces.after+=g}else d.forEach((function(t){return e.newNode(t)}))}},r.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new o.default({source:{start:w(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},r.comment=function(){var e=this.currToken;this.newNode(new u.default({value:this.content(),source:N(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.error=function(e,t){throw this.root.error(e,t)},r.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[v.FIELDS.START_POS]})},r.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[v.FIELDS.START_POS])},r.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[v.FIELDS.START_POS])},r.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[v.FIELDS.START_POS])},r.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[v.FIELDS.TYPE]===E.word?(this.position++,this.word(e)):this.nextToken[v.FIELDS.TYPE]===E.asterisk?(this.position++,this.universal(e)):void 0},r.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))this.position++;else{var e=this.currToken;this.newNode(new g.default({value:this.content(),source:N(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++}},r.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===b.PSEUDO){var r=new o.default({source:{start:w(this.tokens[this.position-1])}}),n=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[v.FIELDS.TYPE]===E.openParenthesis&&t++,this.currToken[v.FIELDS.TYPE]===E.closeParenthesis&&t--,t?this.parse():(this.current.source.end=P(this.currToken),this.current.parent.source.end=P(this.currToken),this.position++);this.current=n}else{for(var i,s=this.currToken,a="(";this.position<this.tokens.length&&t;)this.currToken[v.FIELDS.TYPE]===E.openParenthesis&&t++,this.currToken[v.FIELDS.TYPE]===E.closeParenthesis&&t--,i=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",a,a):this.newNode(new h.default({value:a,source:k(s[v.FIELDS.START_LINE],s[v.FIELDS.START_COL],i[v.FIELDS.END_LINE],i[v.FIELDS.END_COL]),sourceIndex:s[v.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[v.FIELDS.START_POS])},r.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[v.FIELDS.TYPE]===E.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[v.FIELDS.TYPE]!==E.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[v.FIELDS.START_POS]):void this.splitWord(!1,(function(n,i){t+=n,e.newNode(new d.default({value:t,source:_(r,e.currToken),sourceIndex:r[v.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[v.FIELDS.TYPE]===E.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[v.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},r.space=function(){var e=this.content();0===this.position||this.prevToken[v.FIELDS.TYPE]===E.comma||this.prevToken[v.FIELDS.TYPE]===E.openParenthesis||this.current.nodes.every((function(e){return"comment"===e.type}))?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[v.FIELDS.TYPE]===E.comma||this.nextToken[v.FIELDS.TYPE]===E.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},r.string=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:N(e),sourceIndex:e[v.FIELDS.START_POS]})),this.position++},r.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new m.default({value:this.content(),source:N(r),sourceIndex:r[v.FIELDS.START_POS]}),e),this.position++},r.splitWord=function(e,t){for(var r=this,n=this.nextToken,a=this.content();n&&~[E.dollar,E.caret,E.equals,E.word].indexOf(n[v.FIELDS.TYPE]);){this.position++;var o=this.content();if(a+=o,o.lastIndexOf("\\")===o.length-1){var u=this.nextToken;u&&u[v.FIELDS.TYPE]===E.space&&(a+=this.requiredSpace(this.content(u)),this.position++)}n=this.nextToken}var h=(0,i.default)(a,".").filter((function(e){return"\\"!==a[e-1]})),d=(0,i.default)(a,"#").filter((function(e){return"\\"!==a[e-1]})),f=(0,i.default)(a,"#{");f.length&&(d=d.filter((function(e){return!~f.indexOf(e)})));var m=(0,x.default)((0,s.default)([0].concat(h,d)));m.forEach((function(n,i){var s,o=m[i+1]||a.length,u=a.slice(n,o);if(0===i&&t)return t.call(r,u,m.length);var f=r.currToken,y=f[v.FIELDS.START_POS]+m[i],g=k(f[1],f[2]+n,f[3],f[2]+(o-1));if(~h.indexOf(n)){var x={value:u.slice(1),source:g,sourceIndex:y};s=new l.default(O(x,"value"))}else if(~d.indexOf(n)){var E={value:u.slice(1),source:g,sourceIndex:y};s=new c.default(O(E,"value"))}else{var b={value:u,source:g,sourceIndex:y};O(b,"value"),s=new p.default(b)}r.newNode(s,e),e=null})),this.position++},r.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},r.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},r.parse=function(e){switch(this.currToken[v.FIELDS.TYPE]){case E.space:this.space();break;case E.comment:this.comment();break;case E.openParenthesis:this.parentheses();break;case E.closeParenthesis:e&&this.missingParenthesis();break;case E.openSquare:this.attribute();break;case E.dollar:case E.caret:case E.equals:case E.word:this.word();break;case E.colon:this.pseudo();break;case E.comma:this.comma();break;case E.asterisk:this.universal();break;case E.ampersand:this.nesting();break;case E.slash:case E.combinator:this.combinator();break;case E.str:this.string();break;case E.closeSquare:this.missingSquareBracket();case E.semicolon:this.missingBackslash();default:this.unexpected()}},r.expected=function(e,t,r){if(Array.isArray(e)){var n=e.pop();e=e.join(", ")+" or "+n}var i=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+i+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+i+" "+e+".",{index:t})},r.requiredSpace=function(e){return this.options.lossy?" ":e},r.optionalSpace=function(e){return this.options.lossy?"":e},r.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},r.parseParenthesisToken=function(e){var t=this.content(e);return e[v.FIELDS.TYPE]===E.space?this.requiredSpace(t):t},r.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,O(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},r.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[v.FIELDS.START_POS],e[v.FIELDS.END_POS])},r.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!C[this.tokens[t][v.FIELDS.TYPE]])return t;t++}return-1},(t=[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}])&&function(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)}}(e.prototype,t),e}();t.default=F,e.exports=t.default}(mC,mC.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=mC.exports)&&r.__esModule?r:{default:r},i=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new n.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise((function(n,i){try{var s=r._root(e,t);Promise.resolve(r.func(s)).then((function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(i=s.toString(),e.selector=i),{transform:n,root:s,string:i}})).then(n,i)}catch(e){return void i(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=r.toString(),e.selector=i),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=i,e.exports=t.default}(fC,fC.exports);var Cw={},ww={__esModule:!0};ww.universal=ww.tag=ww.string=ww.selector=ww.root=ww.pseudo=ww.nesting=ww.id=ww.comment=ww.combinator=ww.className=ww.attribute=void 0;var Pw=Uw(JC),kw=Uw(FC.exports),Nw=Uw(pw.exports),_w=Uw(UC.exports),Ow=Uw($C.exports),Fw=Uw(hw.exports),Iw=Uw(XC.exports),Bw=Uw(xC.exports),Lw=Uw(OC.exports),Mw=Uw(zC.exports),Rw=Uw(qC.exports),jw=Uw(cw.exports);function Uw(e){return e&&e.__esModule?e:{default:e}}ww.attribute=function(e){return new Pw.default(e)},ww.className=function(e){return new kw.default(e)},ww.combinator=function(e){return new Nw.default(e)},ww.comment=function(e){return new _w.default(e)},ww.id=function(e){return new Ow.default(e)},ww.nesting=function(e){return new Fw.default(e)},ww.pseudo=function(e){return new Iw.default(e)},ww.root=function(e){return new Bw.default(e)},ww.selector=function(e){return new Lw.default(e)},ww.string=function(e){return new Mw.default(e)},ww.tag=function(e){return new Rw.default(e)},ww.universal=function(e){return new jw.default(e)};var $w={__esModule:!0};$w.isNode=Xw,$w.isPseudoElement=sP,$w.isPseudoClass=function(e){return Zw(e)&&!sP(e)},$w.isContainer=function(e){return!(!Xw(e)||!e.walk)},$w.isNamespace=function(e){return Kw(e)||nP(e)},$w.isUniversal=$w.isTag=$w.isString=$w.isSelector=$w.isRoot=$w.isPseudo=$w.isNesting=$w.isIdentifier=$w.isComment=$w.isCombinator=$w.isClassName=$w.isAttribute=void 0;var qw,Vw=_C,zw=((qw={})[Vw.ATTRIBUTE]=!0,qw[Vw.CLASS]=!0,qw[Vw.COMBINATOR]=!0,qw[Vw.COMMENT]=!0,qw[Vw.ID]=!0,qw[Vw.NESTING]=!0,qw[Vw.PSEUDO]=!0,qw[Vw.ROOT]=!0,qw[Vw.SELECTOR]=!0,qw[Vw.STRING]=!0,qw[Vw.TAG]=!0,qw[Vw.UNIVERSAL]=!0,qw);function Xw(e){return"object"==typeof e&&zw[e.type]}function Jw(e,t){return Xw(t)&&t.type===e}var Kw=Jw.bind(null,Vw.ATTRIBUTE);$w.isAttribute=Kw;var Ww=Jw.bind(null,Vw.CLASS);$w.isClassName=Ww;var Gw=Jw.bind(null,Vw.COMBINATOR);$w.isCombinator=Gw;var Yw=Jw.bind(null,Vw.COMMENT);$w.isComment=Yw;var Hw=Jw.bind(null,Vw.ID);$w.isIdentifier=Hw;var Qw=Jw.bind(null,Vw.NESTING);$w.isNesting=Qw;var Zw=Jw.bind(null,Vw.PSEUDO);$w.isPseudo=Zw;var eP=Jw.bind(null,Vw.ROOT);$w.isRoot=eP;var tP=Jw.bind(null,Vw.SELECTOR);$w.isSelector=tP;var rP=Jw.bind(null,Vw.STRING);$w.isString=rP;var nP=Jw.bind(null,Vw.TAG);$w.isTag=nP;var iP=Jw.bind(null,Vw.UNIVERSAL);function sP(e){return Zw(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase())}$w.isUniversal=iP,function(e){e.__esModule=!0;var t=_C;Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(e[r]=t[r])}));var r=ww;Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(e[t]=r[t])}));var n=$w;Object.keys(n).forEach((function(t){"default"!==t&&"__esModule"!==t&&(e[t]=n[t])}))}(Cw),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=fC.exports)&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(Cw),s=function(e){return new n.default(e)};Object.assign(s,i),delete s.__esModule;var a=s;t.default=a,e.exports=t.default}(dC,dC.exports);var aP=_r,oP=aP.SourceMapConsumer,lP=aP.SourceMapGenerator;function uP(e){var t="";e=e<0?-e<<1|1:e<<1;do{var r=31&e;(e>>>=5)>0&&(r|=32),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[r]}while(e>0);return t}var cP=function e(t){this.bits=t instanceof e?t.bits.slice():[]};cP.prototype.add=function(e){this.bits[e>>5]|=1<<(31&e)},cP.prototype.has=function(e){return!!(this.bits[e>>5]&1<<(31&e))};var pP=function(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};pP.prototype.appendLeft=function(e){this.outro+=e},pP.prototype.appendRight=function(e){this.intro=this.intro+e},pP.prototype.clone=function(){var e=new pP(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},pP.prototype.contains=function(e){return this.start<e&&e<this.end},pP.prototype.eachNext=function(e){for(var t=this;t;)e(t),t=t.next},pP.prototype.eachPrevious=function(e){for(var t=this;t;)e(t),t=t.previous},pP.prototype.edit=function(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this},pP.prototype.prependLeft=function(e){this.outro=e+this.outro},pP.prototype.prependRight=function(e){this.intro=e+this.intro},pP.prototype.split=function(e){var t=e-this.start,r=this.original.slice(0,t),n=this.original.slice(t);this.original=r;var i=new pP(e,this.end,n);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=r,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i},pP.prototype.toString=function(){return this.intro+this.content+this.outro},pP.prototype.trimEnd=function(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)},pP.prototype.trimStart=function(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0)};var hP=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};hP=typeof window<"u"&&"function"==typeof window.btoa?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:function(e){return Ue.from(e,"utf-8").toString("base64")};var dP=function(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){for(var t=0,r=0,n=0,i=0,s="",a=0;a<e.length;a++){var o=e[a];if(a>0&&(s+=";"),0!==o.length){for(var l=0,u=[],c=0,p=o;c<p.length;c++){var h=p[c],d=uP(h[0]-l);l=h[0],h.length>1&&(d+=uP(h[1]-t)+uP(h[2]-r)+uP(h[3]-n),t=h[1],r=h[2],n=h[3]),5===h.length&&(d+=uP(h[4]-i),i=h[4]),u.push(d)}s+=u.join(",")}}return s}(e.mappings)};function fP(e){var t=e.split("\n"),r=t.filter((function(e){return/^\t+/.test(e)})),n=t.filter((function(e){return/^ {2,}/.test(e)}));if(0===r.length&&0===n.length)return null;if(r.length>=n.length)return"\t";var i=n.reduce((function(e,t){var r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(i+1).join(" ")}function mP(e,t){var r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length)for(var i=r.length;i--;)r[i]="..";return r.concat(n).join("/")}dP.prototype.toString=function(){return JSON.stringify(this)},dP.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+hP(this.toString())};var yP=Object.prototype.toString;function gP(e){return"[object Object]"===yP.call(e)}function xP(e){for(var t=e.split("\n"),r=[],n=0,i=0;n<t.length;n++)r.push(i),i+=t[n].length+1;return function(e){for(var t=0,n=r.length;t<n;){var i=t+n>>1;e<r[i]?n=i:t=i+1}var s=t-1;return{line:s,column:e-r[s]}}}var vP=function(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};vP.prototype.addEdit=function(e,t,r,n){if(t.length){var i=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&i.push(n),this.rawSegments.push(i)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null},vP.prototype.addUneditedChunk=function(e,t,r,n,i){for(var s=t.start,a=!0;s<t.end;)(this.hires||a||i.has(s))&&this.rawSegments.push([this.generatedCodeColumn,e,n.line,n.column]),"\n"===r[s]?(n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0):(n.column+=1,this.generatedCodeColumn+=1,a=!1),s+=1;this.pending=null},vP.prototype.advance=function(e){if(e){var t=e.split("\n");if(t.length>1){for(var r=0;r<t.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}};var EP="\n",bP={insertLeft:!1,insertRight:!1,storeName:!1},SP=function(e,t){void 0===t&&(t={});var r=new pP(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new cP},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:fP(e)}}),this.byStart[0]=r,this.byEnd[e.length]=r};SP.prototype.addSourcemapLocation=function(e){this.sourcemapLocations.add(e)},SP.prototype.append=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},SP.prototype.appendLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this},SP.prototype.appendRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this},SP.prototype.clone=function(){for(var e=new SP(this.original,{filename:this.filename}),t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;var n=t.next,i=n&&n.clone();i&&(r.next=i,i.previous=r,r=i),t=n}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new cP(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e},SP.prototype.generateDecodedMap=function(e){var t=this;e=e||{};var r=Object.keys(this.storedNames),n=new vP(e.hires),i=xP(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext((function(e){var s=i(e.start);e.intro.length&&n.advance(e.intro),e.edited?n.addEdit(0,e.content,s,e.storeName?r.indexOf(e.original):-1):n.addUneditedChunk(0,e,t.original,s,t.sourcemapLocations),e.outro.length&&n.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?mP(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:r,mappings:n.raw}},SP.prototype.generateMap=function(e){return new dP(this.generateDecodedMap(e))},SP.prototype.getIndentString=function(){return null===this.indentStr?"\t":this.indentStr},SP.prototype.indent=function(e,t){var r=/^[^\r\n]/gm;if(gP(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var n={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((function(e){for(var t=e[0];t<e[1];t+=1)n[t]=!0}));var i=!1!==t.indentStart,s=function(t){return i?""+e+t:(i=!0,t)};this.intro=this.intro.replace(r,s);for(var a=0,o=this.firstChunk;o;){var l=o.end;if(o.edited)n[a]||(o.content=o.content.replace(r,s),o.content.length&&(i="\n"===o.content[o.content.length-1]));else for(a=o.start;a<l;){if(!n[a]){var u=this.original[a];"\n"===u?i=!0:"\r"!==u&&i&&(i=!1,a===o.start?o.prependRight(e):(this._splitChunk(o,a),(o=o.next).prependRight(e)))}a+=1}a=o.end,o=o.next}return this.outro=this.outro.replace(r,s),this},SP.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")},SP.prototype.insertLeft=function(e,t){return bP.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),bP.insertLeft=!0),this.appendLeft(e,t)},SP.prototype.insertRight=function(e,t){return bP.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),bP.insertRight=!0),this.prependRight(e,t)},SP.prototype.move=function(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);var n=this.byStart[e],i=this.byEnd[t],s=n.previous,a=i.next,o=this.byStart[r];if(!o&&i===this.lastChunk)return this;var l=o?o.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),l&&(l.next=n),o&&(o.previous=i),n.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,i.next=o||null,l||(this.firstChunk=n),o||(this.lastChunk=i),this},SP.prototype.overwrite=function(e,t,r,n){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===n&&(bP.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),bP.storeName=!0),n={storeName:!0});var i=void 0!==n&&n.storeName,s=void 0!==n&&n.contentOnly;if(i){var a=this.original.slice(e,t);this.storedNames[a]=!0}var o=this.byStart[e],l=this.byEnd[t];if(o){if(t>o.end&&o.next!==this.byStart[o.end])throw new Error("Cannot overwrite across a split point");if(o.edit(r,i,s),o!==l){for(var u=o.next;u!==l;)u.edit("",!1),u=u.next;u.edit("",!1)}}else{var c=new pP(e,t,"").edit(r,i);l.next=c,c.previous=l}return this},SP.prototype.prepend=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},SP.prototype.prependLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this},SP.prototype.prependRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this},SP.prototype.remove=function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var r=this.byStart[e];r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this},SP.prototype.lastChar=function(){if(this.outro.length)return this.outro[this.outro.length-1];var e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""},SP.prototype.lastLine=function(){var e=this.outro.lastIndexOf(EP);if(-1!==e)return this.outro.substr(e+1);var t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(-1!==(e=r.outro.lastIndexOf(EP)))return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(-1!==(e=r.content.lastIndexOf(EP)))return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(-1!==(e=r.intro.lastIndexOf(EP)))return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return-1!==(e=this.intro.lastIndexOf(EP))?this.intro.substr(e+1)+t:this.intro+t},SP.prototype.slice=function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var r="",n=this.firstChunk;n&&(n.start>e||n.end<=e);){if(n.start<t&&n.end>=t)return r;n=n.next}if(n&&n.edited&&n.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=n;n;){!n.intro||i===n&&n.start!==e||(r+=n.intro);var s=n.start<t&&n.end>=t;if(s&&n.edited&&n.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var a=i===n?e-n.start:0,o=s?n.content.length+t-n.end:n.content.length;if(r+=n.content.slice(a,o),!n.outro||s&&n.end!==t||(r+=n.outro),s)break;n=n.next}return r},SP.prototype.snip=function(e,t){var r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r},SP.prototype._split=function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,r=e>t.end;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}},SP.prototype._splitChunk=function(e,t){if(e.edited&&e.content.length){var r=xP(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' – "'+e.original+'")')}var n=e.split(t);return this.byEnd[t]=e,this.byStart[t]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0},SP.prototype.toString=function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},SP.prototype.isEmpty=function(){var e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0},SP.prototype.length=function(){var e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t},SP.prototype.trimLines=function(){return this.trim("[\\r\\n]")},SP.prototype.trim=function(e){return this.trimStart(e).trimEnd(e)},SP.prototype.trimEndAborted=function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var r=this.lastChunk;do{var n=r.end,i=r.trimEnd(t);if(r.end!==n&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.previous}while(r);return!1},SP.prototype.trimEnd=function(e){return this.trimEndAborted(e),this},SP.prototype.trimStartAborted=function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var r=this.firstChunk;do{var n=r.end,i=r.trimStart(t);if(r.end!==n&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.next}while(r);return!1},SP.prototype.trimStart=function(e){return this.trimStartAborted(e),this};var TP=Object.prototype.hasOwnProperty,AP=function(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}};AP.prototype.addSource=function(e){if(e instanceof SP)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!gP(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach((function(t){TP.call(e,t)||(e[t]=e.content[t])})),void 0===e.separator&&(e.separator=this.separator),e.filename)if(TP.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},AP.prototype.append=function(e,t){return this.addSource({content:new SP(e),separator:t&&t.separator||""}),this},AP.prototype.clone=function(){var e=new AP({intro:this.intro,separator:this.separator});return this.sources.forEach((function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})})),e},AP.prototype.generateDecodedMap=function(e){var t=this;void 0===e&&(e={});var r=[];this.sources.forEach((function(e){Object.keys(e.content.storedNames).forEach((function(e){~r.indexOf(e)||r.push(e)}))}));var n=new vP(e.hires);return this.intro&&n.advance(this.intro),this.sources.forEach((function(e,i){i>0&&n.advance(t.separator);var s=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,a=e.content,o=xP(a.original);a.intro&&n.advance(a.intro),a.firstChunk.eachNext((function(t){var i=o(t.start);t.intro.length&&n.advance(t.intro),e.filename?t.edited?n.addEdit(s,t.content,i,t.storeName?r.indexOf(t.original):-1):n.addUneditedChunk(s,t,a.original,i,a.sourcemapLocations):n.advance(t.content),t.outro.length&&n.advance(t.outro)})),a.outro&&n.advance(a.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:this.uniqueSources.map((function(t){return e.file?mP(e.file,t.filename):t.filename})),sourcesContent:this.uniqueSources.map((function(t){return e.includeContent?t.content:null})),names:r,mappings:n.raw}},AP.prototype.generateMap=function(e){return new dP(this.generateDecodedMap(e))},AP.prototype.getIndentString=function(){var e={};return this.sources.forEach((function(t){var r=t.content.indentStr;null!==r&&(e[r]||(e[r]=0),e[r]+=1)})),Object.keys(e).sort((function(t,r){return e[t]-e[r]}))[0]||"\t"},AP.prototype.indent=function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var r=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach((function(n,i){var s=void 0!==n.separator?n.separator:t.separator,a=r||i>0&&/\r?\n$/.test(s);n.content.indent(e,{exclude:n.indentExclusionRanges,indentStart:a}),r="\n"===n.content.lastChar()})),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,(function(t,r){return r>0?e+t:t}))),this},AP.prototype.prepend=function(e){return this.intro=e+this.intro,this},AP.prototype.toString=function(){var e=this,t=this.sources.map((function(t,r){var n=void 0!==t.separator?t.separator:e.separator;return(r>0?n:"")+t.content.toString()})).join("");return this.intro+t},AP.prototype.isEmpty=function(){return!(this.intro.length&&this.intro.trim()||this.sources.some((function(e){return!e.content.isEmpty()})))},AP.prototype.length=function(){return this.sources.reduce((function(e,t){return e+t.content.length()}),this.intro.length)},AP.prototype.trimLines=function(){return this.trim("[\\r\\n]")},AP.prototype.trim=function(e){return this.trimStart(e).trimEnd(e)},AP.prototype.trimStart=function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var r,n=0;do{if(!(r=this.sources[n++]))break}while(!r.content.trimStartAborted(e))}return this},AP.prototype.trimEnd=function(e){var t,r=new RegExp((e||"\\s")+"+$"),n=this.sources.length-1;do{if(!(t=this.sources[n--])){this.intro=this.intro.replace(r,"");break}}while(!t.content.trimEndAborted(e));return this};var DP=t(Object.freeze({__proto__:null,default:SP,Bundle:AP,SourceMap:dP})),CP={};!function(e){class t{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,r,n){e&&(null!==r?e[t][r]=n:e[t]=n)}remove(e,t,r){e&&(null!==r?e[t].splice(r,1):delete e[t])}}class r extends t{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,r,n){if(e){if(this.enter){let i=this.should_skip,s=this.should_remove,a=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let o=this.should_skip,l=this.should_remove;if(this.should_skip=i,this.should_remove=s,this.replacement=a,o)return e;if(l)return null}for(let t in e){let r=e[t];if("object"==typeof r)if(Array.isArray(r))for(let n=0;n<r.length;n+=1)null!==r[n]&&"string"==typeof r[n].type&&(this.visit(r[n],e,t,n)||n--);else null!==r&&"string"==typeof r.type&&this.visit(r,e,t,null)}if(this.leave){let i=this.replacement,s=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let a=this.should_remove;if(this.replacement=i,this.should_remove=s,a)return null}}return e}}class n extends t{constructor(e,t){super(),this.enter=e,this.leave=t}async visit(e,t,r,n){if(e){if(this.enter){let i=this.should_skip,s=this.should_remove,a=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,await this.enter.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let o=this.should_skip,l=this.should_remove;if(this.should_skip=i,this.should_remove=s,this.replacement=a,o)return e;if(l)return null}for(let t in e){let r=e[t];if("object"==typeof r)if(Array.isArray(r))for(let n=0;n<r.length;n+=1)null!==r[n]&&"string"==typeof r[n].type&&(await this.visit(r[n],e,t,n)||n--);else null!==r&&"string"==typeof r.type&&await this.visit(r,e,t,null)}if(this.leave){let i=this.replacement,s=this.should_remove;this.replacement=null,this.should_remove=!1,await this.leave.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let a=this.should_remove;if(this.replacement=i,this.should_remove=s,a)return null}}return e}}e.asyncWalk=async function(e,{enter:t,leave:r}){return await new n(t,r).visit(e,null)},e.walk=function(e,{enter:t,leave:n}){return new r(t,n).visit(e,null)},Object.defineProperty(e,"__esModule",{value:!0})}(CP);var wP=PP;function PP(e){var t=this;if(t instanceof PP||(t=new PP),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}function kP(e,t,r){var n=t===e.head?new OP(r,null,t,e):new OP(r,t,t.next,e);return null===n.next&&(e.tail=n),null===n.prev&&(e.head=n),e.length++,n}function NP(e,t){e.tail=new OP(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function _P(e,t){e.head=new OP(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function OP(e,t,r,n){if(!(this instanceof OP))return new OP(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}PP.Node=OP,PP.create=PP,PP.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},PP.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},PP.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},PP.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)NP(this,arguments[e]);return this.length},PP.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)_P(this,arguments[e]);return this.length},PP.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},PP.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},PP.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next},PP.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev},PP.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;if(t===e&&null!==r)return r.value},PP.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&t<e;t++)r=r.prev;if(t===e&&null!==r)return r.value},PP.prototype.map=function(e,t){t=t||this;for(var r=new PP,n=this.head;null!==n;)r.push(e.call(t,n.value,this)),n=n.next;return r},PP.prototype.mapReverse=function(e,t){t=t||this;for(var r=new PP,n=this.tail;null!==n;)r.push(e.call(t,n.value,this)),n=n.prev;return r},PP.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r},PP.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r},PP.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},PP.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},PP.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new PP;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,i=this.head;null!==i&&n<e;n++)i=i.next;for(;null!==i&&n<t;n++,i=i.next)r.push(i.value);return r},PP.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new PP;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,i=this.tail;null!==i&&n>t;n--)i=i.prev;for(;null!==i&&n>e;n--,i=i.prev)r.push(i.value);return r},PP.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,n=this.head;null!==n&&r<e;r++)n=n.next;var i=[];for(r=0;n&&r<t;r++)i.push(n.value),n=this.removeNode(n);for(null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev),r=2;r<arguments.length;r++)n=kP(this,n,arguments[r]);return i},PP.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};try{am("./iterator.js")(PP)}catch{}let FP=wP,IP=Symbol("max"),BP=Symbol("length"),LP=Symbol("lengthCalculator"),MP=Symbol("allowStale"),RP=Symbol("maxAge"),jP=Symbol("dispose"),UP=Symbol("noDisposeOnSet"),$P=Symbol("lruList"),qP=Symbol("cache"),VP=Symbol("updateAgeOnGet"),zP=()=>1,XP=(e,t,r)=>{let n=e[qP].get(t);if(n){let t=n.value;if(JP(e,t)){if(WP(e,n),!e[MP])return}else r&&(e[VP]&&(n.value.now=Date.now()),e[$P].unshiftNode(n));return t.value}},JP=(e,t)=>{if(!t||!t.maxAge&&!e[RP])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[RP]&&r>e[RP]},KP=e=>{if(e[BP]>e[IP])for(let t=e[$P].tail;e[BP]>e[IP]&&null!==t;){let r=t.prev;WP(e,t),t=r}},WP=(e,t)=>{if(t){let r=t.value;e[jP]&&e[jP](r.key,r.value),e[BP]-=r.length,e[qP].delete(r.key),e[$P].removeNode(t)}};class GP{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0}}let YP=(e,t,r,n)=>{let i=r.value;JP(e,i)&&(WP(e,r),e[MP]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};var HP={exports:{}},QP=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ZP=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ek="a-z\\xdf-\\xf6\\xf8-\\xff",tk="A-Z\\xc0-\\xd6\\xd8-\\xde",rk="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nk="["+rk+"]",ik="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",sk="\\d+",ak="["+ek+"]",ok="[^\\ud800-\\udfff"+rk+sk+"\\u2700-\\u27bf"+ek+tk+"]",lk="\\ud83c[\\udffb-\\udfff]",uk="[^\\ud800-\\udfff]",ck="(?:\\ud83c[\\udde6-\\uddff]){2}",pk="[\\ud800-\\udbff][\\udc00-\\udfff]",hk="["+tk+"]",dk="(?:"+ak+"|"+ok+")",fk="(?:"+hk+"|"+ok+")",mk="(?:['’](?:d|ll|m|re|s|t|ve))?",yk="(?:['’](?:D|LL|M|RE|S|T|VE))?",gk="(?:"+ik+"|"+lk+")?",xk="[\\ufe0e\\ufe0f]?",vk=xk+gk+"(?:\\u200d(?:"+[uk,ck,pk].join("|")+")"+xk+gk+")*",Ek="(?:"+["[\\u2700-\\u27bf]",ck,pk].join("|")+")"+vk,bk="(?:"+[uk+ik+"?",ik,ck,pk,"[\\ud800-\\udfff]"].join("|")+")",Sk=RegExp("['’]","g"),Tk=RegExp(ik,"g"),Ak=RegExp(lk+"(?="+lk+")|"+bk+vk,"g"),Dk=RegExp([hk+"?"+ak+"+"+mk+"(?="+[nk,hk,"$"].join("|")+")",fk+"+"+yk+"(?="+[nk,hk+dk,"$"].join("|")+")",hk+"?"+dk+"+"+mk,hk+"+"+yk,sk,Ek].join("|"),"g"),Ck=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),wk=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pk="object"==typeof e&&e&&e.Object===Object&&e,kk="object"==typeof self&&self&&self.Object===Object&&self,Nk=Pk||kk||Function("return this")(),_k=function(e){return function(t){return e?.[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"ss"});function Ok(e){return Ck.test(e)}var Fk=Object.prototype.toString,Ik=Nk.Symbol,Bk=Ik?Ik.prototype:void 0,Lk=Bk?Bk.toString:void 0;function Mk(e){return null==e?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof(t=e)||(r=t)&&"object"==typeof r&&"[object Symbol]"==Fk.call(t))return Lk?Lk.call(e):"";var t,r,n=e+"";return"0"==n&&1/e==-1/0?"-0":n}(e)}var Rk,jk=(Rk=function(e,t,r){return t=t.toLowerCase(),e+(r?Uk(Mk(t).toLowerCase()):t)},function(e){return function(e,t,r){for(var n=-1,i=e?e.length:0;++n<i;)r=t(r,e[n],n,e);return r}(function(e,t){return e=Mk(e),void 0===t?(r=e,wk.test(r)?function(e){return e.match(Dk)||[]}(e):function(e){return e.match(QP)||[]}(e)):e.match(t)||[];var r}(function(e){return(e=Mk(e))&&e.replace(ZP,_k).replace(Tk,"")}(e).replace(Sk,"")),Rk,"")}),Uk=function(e){var t=Ok(e=Mk(e))?function(e){return Ok(e)?function(e){return e.match(Ak)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,r=t?t[0]:e.charAt(0),n=t?function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(i);++n<i;)s[n]=e[n+t];return s}(e,t,r)}(t,1).join(""):e.slice(1);return r.toUpperCase()+n},$k=jk,qk={},Vk={exports:{}};!function(e){e.exports=function(){var e,t,r,n=(r=(e={exports:{}}).exports,Object.defineProperty(r,"__esModule",{value:!0}),r.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,r.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\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]|\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]/,r.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\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\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]|\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]/,e.exports);(t=n)&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")&&t.default;var i=n.Space_Separator,s=n.ID_Start,a=n.ID_Continue;function o(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||s.test(e)}function l(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"‌"===e||"‍"===e||a.test(e)}function u(e){return/[0-9]/.test(e)}function c(e){return/[0-9A-Fa-f]/.test(e)}var p="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},h=void 0,d=void 0,f=void 0,m=void 0,y=void 0,g=void 0,x=void 0,v=void 0,E=void 0,b=void 0,S=void 0,T=void 0,A=void 0,D=void 0;function C(){for(b="default",S="",T=!1,A=1;;){D=w();var e=k[b]();if(e)return e}}function w(){if(h[m])return String.fromCodePoint(h.codePointAt(m))}function P(){var e=w();return"\n"===e?(y++,g=0):e?g+=e.length:g++,e&&(m+=e.length),e}var k={default:function(){switch(D){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void P();case"/":return P(),void(b="comment");case void 0:return P(),N("eof")}if(e=D,!i.test(e))return k[d]();var e;P()},comment:function(){switch(D){case"*":return P(),void(b="multiLineComment");case"/":return P(),void(b="singleLineComment")}throw L(P())},multiLineComment:function(){switch(D){case"*":return P(),void(b="multiLineCommentAsterisk");case void 0:throw L(P())}P()},multiLineCommentAsterisk:function(){switch(D){case"*":return void P();case"/":return P(),void(b="default");case void 0:throw L(P())}P(),b="multiLineComment"},singleLineComment:function(){switch(D){case"\n":case"\r":case"\u2028":case"\u2029":return P(),void(b="default");case void 0:return P(),N("eof")}P()},value:function(){switch(D){case"{":case"[":return N("punctuator",P());case"n":return P(),_("ull"),N("null",null);case"t":return P(),_("rue"),N("boolean",!0);case"f":return P(),_("alse"),N("boolean",!1);case"-":case"+":return"-"===P()&&(A=-1),void(b="sign");case".":return S=P(),void(b="decimalPointLeading");case"0":return S=P(),void(b="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return S=P(),void(b="decimalInteger");case"I":return P(),_("nfinity"),N("numeric",1/0);case"N":return P(),_("aN"),N("numeric",NaN);case'"':case"'":return T='"'===P(),S="",void(b="string")}throw L(P())},identifierNameStartEscape:function(){if("u"!==D)throw L(P());P();var e=O();switch(e){case"$":case"_":break;default:if(!o(e))throw R()}S+=e,b="identifierName"},identifierName:function(){switch(D){case"$":case"_":case"‌":case"‍":return void(S+=P());case"\\":return P(),void(b="identifierNameEscape")}if(!l(D))return N("identifier",S);S+=P()},identifierNameEscape:function(){if("u"!==D)throw L(P());P();var e=O();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!l(e))throw R()}S+=e,b="identifierName"},sign:function(){switch(D){case".":return S=P(),void(b="decimalPointLeading");case"0":return S=P(),void(b="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return S=P(),void(b="decimalInteger");case"I":return P(),_("nfinity"),N("numeric",A*(1/0));case"N":return P(),_("aN"),N("numeric",NaN)}throw L(P())},zero:function(){switch(D){case".":return S+=P(),void(b="decimalPoint");case"e":case"E":return S+=P(),void(b="decimalExponent");case"x":case"X":return S+=P(),void(b="hexadecimal")}return N("numeric",0*A)},decimalInteger:function(){switch(D){case".":return S+=P(),void(b="decimalPoint");case"e":case"E":return S+=P(),void(b="decimalExponent")}if(!u(D))return N("numeric",A*Number(S));S+=P()},decimalPointLeading:function(){if(u(D))return S+=P(),void(b="decimalFraction");throw L(P())},decimalPoint:function(){switch(D){case"e":case"E":return S+=P(),void(b="decimalExponent")}return u(D)?(S+=P(),void(b="decimalFraction")):N("numeric",A*Number(S))},decimalFraction:function(){switch(D){case"e":case"E":return S+=P(),void(b="decimalExponent")}if(!u(D))return N("numeric",A*Number(S));S+=P()},decimalExponent:function(){switch(D){case"+":case"-":return S+=P(),void(b="decimalExponentSign")}if(u(D))return S+=P(),void(b="decimalExponentInteger");throw L(P())},decimalExponentSign:function(){if(u(D))return S+=P(),void(b="decimalExponentInteger");throw L(P())},decimalExponentInteger:function(){if(!u(D))return N("numeric",A*Number(S));S+=P()},hexadecimal:function(){if(c(D))return S+=P(),void(b="hexadecimalInteger");throw L(P())},hexadecimalInteger:function(){if(!c(D))return N("numeric",A*Number(S));S+=P()},string:function(){switch(D){case"\\":return P(),void(S+=function(){switch(w()){case"b":return P(),"\b";case"f":return P(),"\f";case"n":return P(),"\n";case"r":return P(),"\r";case"t":return P(),"\t";case"v":return P(),"\v";case"0":if(P(),u(w()))throw L(P());return"\0";case"x":return P(),function(){var e="",t=w();if(!c(t)||(e+=P(),!c(t=w())))throw L(P());return e+=P(),String.fromCodePoint(parseInt(e,16))}();case"u":return P(),O();case"\n":case"\u2028":case"\u2029":return P(),"";case"\r":return P(),"\n"===w()&&P(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw L(P())}return P()}());case'"':return T?(P(),N("string",S)):void(S+=P());case"'":return T?void(S+=P()):(P(),N("string",S));case"\n":case"\r":throw L(P());case"\u2028":case"\u2029":e=D,console.warn("JSON5: '"+e+"' is not valid ECMAScript; consider escaping");break;case void 0:throw L(P())}var e;S+=P()},start:function(){switch(D){case"{":case"[":return N("punctuator",P())}b="value"},beforePropertyName:function(){switch(D){case"$":case"_":return S=P(),void(b="identifierName");case"\\":return P(),void(b="identifierNameStartEscape");case"}":return N("punctuator",P());case'"':case"'":return T='"'===P(),void(b="string")}if(o(D))return S+=P(),void(b="identifierName");throw L(P())},afterPropertyName:function(){if(":"===D)return N("punctuator",P());throw L(P())},beforePropertyValue:function(){b="value"},afterPropertyValue:function(){switch(D){case",":case"}":return N("punctuator",P())}throw L(P())},beforeArrayValue:function(){if("]"===D)return N("punctuator",P());b="value"},afterArrayValue:function(){switch(D){case",":case"]":return N("punctuator",P())}throw L(P())},end:function(){throw L(P())}};function N(e,t){return{type:e,value:t,line:y,column:g}}function _(e){var t=!0,r=!1,n=void 0;try{for(var i,s=e[Symbol.iterator]();!(t=(i=s.next()).done);t=!0){var a=i.value;if(w()!==a)throw L(P());P()}}catch(e){r=!0,n=e}finally{try{!t&&s.return&&s.return()}finally{if(r)throw n}}}function O(){for(var e="",t=4;t-- >0;){if(!c(w()))throw L(P());e+=P()}return String.fromCodePoint(parseInt(e,16))}var F={start:function(){if("eof"===x.type)throw M();I()},beforePropertyName:function(){switch(x.type){case"identifier":case"string":return v=x.value,void(d="afterPropertyName");case"punctuator":return void B();case"eof":throw M()}},afterPropertyName:function(){if("eof"===x.type)throw M();d="beforePropertyValue"},beforePropertyValue:function(){if("eof"===x.type)throw M();I()},beforeArrayValue:function(){if("eof"===x.type)throw M();"punctuator"!==x.type||"]"!==x.value?I():B()},afterPropertyValue:function(){if("eof"===x.type)throw M();switch(x.value){case",":return void(d="beforePropertyName");case"}":B()}},afterArrayValue:function(){if("eof"===x.type)throw M();switch(x.value){case",":return void(d="beforeArrayValue");case"]":B()}},end:function(){}};function I(){var e=void 0;switch(x.type){case"punctuator":switch(x.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=x.value}if(void 0===E)E=e;else{var t=f[f.length-1];Array.isArray(t)?t.push(e):t[v]=e}if(null!==e&&"object"===(void 0===e?"undefined":p(e)))f.push(e),d=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var r=f[f.length-1];d=null==r?"end":Array.isArray(r)?"afterArrayValue":"afterPropertyValue"}}function B(){f.pop();var e=f[f.length-1];d=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function L(e){return j(void 0===e?"JSON5: invalid end of input at "+y+":"+g:"JSON5: invalid character '"+function(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}(e)+"' at "+y+":"+g)}function M(){return j("JSON5: invalid end of input at "+y+":"+g)}function R(){return j("JSON5: invalid identifier character at "+y+":"+(g-=5))}function j(e){var t=new SyntaxError(e);return t.lineNumber=y,t.columnNumber=g,t}return{parse:function(e,t){h=String(e),d="start",f=[],m=0,y=1,g=0,x=void 0,v=void 0,E=void 0;do{x=C(),F[d]()}while("eof"!==x.type);return"function"==typeof t?function e(t,r,n){var i=t[r];if(null!=i&&"object"===(void 0===i?"undefined":p(i)))for(var s in i){var a=e(i,s,n);void 0===a?delete i[s]:i[s]=a}return n.call(t,r,i)}({"":E},"",t):E},stringify:function(e,t,r){var n=[],i="",s=void 0,a=void 0,u="",c=void 0;if(null==t||"object"!==(void 0===t?"undefined":p(t))||Array.isArray(t)||(r=t.space,c=t.quote,t=t.replacer),"function"==typeof t)a=t;else if(Array.isArray(t)){s=[];var h=!0,d=!1,f=void 0;try{for(var m,y=t[Symbol.iterator]();!(h=(m=y.next()).done);h=!0){var g=m.value,x=void 0;"string"==typeof g?x=g:("number"==typeof g||g instanceof String||g instanceof Number)&&(x=String(g)),void 0!==x&&s.indexOf(x)<0&&s.push(x)}}catch(e){d=!0,f=e}finally{try{!h&&y.return&&y.return()}finally{if(d)throw f}}}return r instanceof Number?r=Number(r):r instanceof String&&(r=String(r)),"number"==typeof r?r>0&&(r=Math.min(10,Math.floor(r)),u="          ".substr(0,r)):"string"==typeof r&&(u=r.substr(0,10)),function e(t,r){var o=r[t];switch(null!=o&&("function"==typeof o.toJSON5?o=o.toJSON5(t):"function"==typeof o.toJSON&&(o=o.toJSON(t))),a&&(o=a.call(r,t,o)),o instanceof Number?o=Number(o):o instanceof String?o=String(o):o instanceof Boolean&&(o=o.valueOf()),o){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof o?v(o):"number"==typeof o?String(o):"object"===(void 0===o?"undefined":p(o))?Array.isArray(o)?function(t){if(n.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");n.push(t);var r=i;i+=u;for(var s=[],a=0;a<t.length;a++){var o=e(String(a),t);s.push(void 0!==o?o:"null")}var l=void 0;if(0===s.length)l="[]";else if(""===u)l="["+s.join(",")+"]";else{var c=",\n"+i,p=s.join(c);l="[\n"+i+p+",\n"+r+"]"}return n.pop(),i=r,l}(o):function(t){if(n.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");n.push(t);var r=i;i+=u;var a=s||Object.keys(t),o=[],l=!0,c=!1,p=void 0;try{for(var h,d=a[Symbol.iterator]();!(l=(h=d.next()).done);l=!0){var f=h.value,m=e(f,t);if(void 0!==m){var y=E(f)+":";""!==u&&(y+=" "),y+=m,o.push(y)}}}catch(e){c=!0,p=e}finally{try{!l&&d.return&&d.return()}finally{if(c)throw p}}var g=void 0;if(0===o.length)g="{}";else{var x=void 0;if(""===u)g="{"+(x=o.join(","))+"}";else{var v=",\n"+i;x=o.join(v),g="{\n"+i+x+",\n"+r+"}"}}return n.pop(),i=r,g}(o):void 0}("",{"":e});function v(e){var t={"'":.1,'"':.2},r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},n="",i=!0,s=!1,a=void 0;try{for(var o,l=e[Symbol.iterator]();!(i=(o=l.next()).done);i=!0){var u=o.value;switch(u){case"'":case'"':t[u]++,n+=u;continue}if(r[u])n+=r[u];else if(u<" "){var p=u.charCodeAt(0).toString(16);n+="\\x"+("00"+p).substring(p.length)}else n+=u}}catch(e){s=!0,a=e}finally{try{!i&&l.return&&l.return()}finally{if(s)throw a}}var h=c||Object.keys(t).reduce((function(e,r){return t[e]<t[r]?e:r}));return h+(n=n.replace(new RegExp(h,"g"),r[h]))+h}function E(e){if(0===e.length)return v(e);var t=String.fromCodePoint(e.codePointAt(0));if(!o(t))return v(e);for(var r=t.length;r<e.length;r++)if(!l(String.fromCodePoint(e.codePointAt(r))))return v(e);return e}}}}()}(Vk);let zk=Vk.exports,Xk={null:null,true:!0,false:!1};var Jk=function(e){if("?"!==e.substr(0,1))throw new Error("A valid query string passed to parseQuery should begin with '?'");if(!(e=e.substr(1)))return{};if("{"===e.substr(0,1)&&"}"===e.substr(-1))return zk.parse(e);let t=e.split(/[,&]/g),r={};return t.forEach((e=>{let t=e.indexOf("=");if(t>=0){let n=e.substr(0,t),i=decodeURIComponent(e.substr(t+1));Xk.hasOwnProperty(i)&&(i=Xk[i]),"[]"===n.substr(-2)?(n=decodeURIComponent(n.substr(0,n.length-2)),Array.isArray(r[n])||(r[n]=[]),r[n].push(i)):(n=decodeURIComponent(n),r[n]=i)}else"-"===e.substr(0,1)?r[decodeURIComponent(e.substr(1))]=!1:"+"===e.substr(0,1)?r[decodeURIComponent(e.substr(1))]=!0:r[decodeURIComponent(e)]=!0})),r};let Kk=Jk,Wk=Ib,Gk=/^\.\.?[/\\]/;function Yk(e){return Wk.posix.isAbsolute(e)||Wk.win32.isAbsolute(e)}let Hk=Ib,Qk=/^[A-Z]:[/\\]|^\\\\/i;var Zk={exports:{}};!function(t){!function(e){var r,n=1e6,i="[big.js] ",s=i+"Invalid ",a=s+"decimal places",o=s+"rounding mode",l=i+"Division by zero",u={},c=void 0,p=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function h(e,t,r,n){var i=e.c,s=e.e+t+1;if(s<i.length){if(1===r)n=i[s]>=5;else if(2===r)n=i[s]>5||5==i[s]&&(n||s<0||i[s+1]!==c||1&i[s-1]);else if(3===r)n=n||!!i[0];else if(n=!1,0!==r)throw Error(o);if(s<1)i.length=1,n?(e.e=-t,i[0]=1):i[0]=e.e=0;else{if(i.length=s--,n)for(;++i[s]>9;)i[s]=0,s--||(++e.e,i.unshift(1));for(s=i.length;!i[--s];)i.pop()}}else if(r<0||r>3||r!==~~r)throw Error(o);return e}function d(e,t,r,i){var o,l,u=e.constructor,p=!e.c[0];if(r!==c){if(r!==~~r||r<(3==t)||r>n)throw Error(3==t?s+"precision":a);for(r=i-(e=new u(e)).e,e.c.length>++i&&h(e,r,u.RM),2==t&&(i=e.e+r+1);e.c.length<i;)e.c.push(0)}if(o=e.e,r=(l=e.c.join("")).length,2!=t&&(1==t||3==t&&i<=o||o<=u.NE||o>=u.PE))l=l.charAt(0)+(r>1?"."+l.slice(1):"")+(o<0?"e":"e+")+o;else if(o<0){for(;++o;)l="0"+l;l="0."+l}else if(o>0)if(++o>r)for(o-=r;o--;)l+="0";else o<r&&(l=l.slice(0,o)+"."+l.slice(o));else r>1&&(l=l.charAt(0)+"."+l.slice(1));return e.s<0&&(!p||4==t)?"-"+l:l}u.abs=function(){var e=new this.constructor(this);return e.s=1,e},u.cmp=function(e){var t,r=this,n=r.c,i=(e=new r.constructor(e)).c,s=r.s,a=e.s,o=r.e,l=e.e;if(!n[0]||!i[0])return n[0]?s:i[0]?-a:0;if(s!=a)return s;if(t=s<0,o!=l)return o>l^t?1:-1;for(a=(o=n.length)<(l=i.length)?o:l,s=-1;++s<a;)if(n[s]!=i[s])return n[s]>i[s]^t?1:-1;return o==l?0:o>l^t?1:-1},u.div=function(e){var t=this,r=t.constructor,i=t.c,s=(e=new r(e)).c,o=t.s==e.s?1:-1,u=r.DP;if(u!==~~u||u<0||u>n)throw Error(a);if(!s[0])throw Error(l);if(!i[0])return new r(0*o);var p,d,f,m,y,g=s.slice(),x=p=s.length,v=i.length,E=i.slice(0,p),b=E.length,S=e,T=S.c=[],A=0,D=u+(S.e=t.e-e.e)+1;for(S.s=o,o=D<0?0:D,g.unshift(0);b++<p;)E.push(0);do{for(f=0;f<10;f++){if(p!=(b=E.length))m=p>b?1:-1;else for(y=-1,m=0;++y<p;)if(s[y]!=E[y]){m=s[y]>E[y]?1:-1;break}if(!(m<0))break;for(d=b==p?s:g;b;){if(E[--b]<d[b]){for(y=b;y&&!E[--y];)E[y]=9;--E[y],E[b]+=10}E[b]-=d[b]}for(;!E[0];)E.shift()}T[A++]=m?f:++f,E[0]&&m?E[b]=i[x]||0:E=[i[x]]}while((x++<v||E[0]!==c)&&o--);return T[0]||1==A||(T.shift(),S.e--),A>D&&h(S,u,r.RM,E[0]!==c),S},u.eq=function(e){return!this.cmp(e)},u.gt=function(e){return this.cmp(e)>0},u.gte=function(e){return this.cmp(e)>-1},u.lt=function(e){return this.cmp(e)<0},u.lte=function(e){return this.cmp(e)<1},u.minus=u.sub=function(e){var t,r,n,i,s=this,a=s.constructor,o=s.s,l=(e=new a(e)).s;if(o!=l)return e.s=-l,s.plus(e);var u=s.c.slice(),c=s.e,p=e.c,h=e.e;if(!u[0]||!p[0])return p[0]?(e.s=-l,e):new a(u[0]?s:0);if(o=c-h){for((i=o<0)?(o=-o,n=u):(h=c,n=p),n.reverse(),l=o;l--;)n.push(0);n.reverse()}else for(r=((i=u.length<p.length)?u:p).length,o=l=0;l<r;l++)if(u[l]!=p[l]){i=u[l]<p[l];break}if(i&&(n=u,u=p,p=n,e.s=-e.s),(l=(r=p.length)-(t=u.length))>0)for(;l--;)u[t++]=0;for(l=t;r>o;){if(u[--r]<p[r]){for(t=r;t&&!u[--t];)u[t]=9;--u[t],u[r]+=10}u[r]-=p[r]}for(;0===u[--l];)u.pop();for(;0===u[0];)u.shift(),--h;return u[0]||(e.s=1,u=[h=0]),e.c=u,e.e=h,e},u.mod=function(e){var t,r=this,n=r.constructor,i=r.s,s=(e=new n(e)).s;if(!e.c[0])throw Error(l);return r.s=e.s=1,t=1==e.cmp(r),r.s=i,e.s=s,t?new n(r):(i=n.DP,s=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=i,n.RM=s,this.minus(r.times(e)))},u.plus=u.add=function(e){var t,r=this,n=r.constructor,i=r.s,s=(e=new n(e)).s;if(i!=s)return e.s=-s,r.minus(e);var a=r.e,o=r.c,l=e.e,u=e.c;if(!o[0]||!u[0])return u[0]?e:new n(o[0]?r:0*i);if(o=o.slice(),i=a-l){for(i>0?(l=a,t=u):(i=-i,t=o),t.reverse();i--;)t.push(0);t.reverse()}for(o.length-u.length<0&&(t=u,u=o,o=t),i=u.length,s=0;i;o[i]%=10)s=(o[--i]=o[i]+u[i]+s)/10|0;for(s&&(o.unshift(s),++l),i=o.length;0===o[--i];)o.pop();return e.c=o,e.e=l,e},u.pow=function(e){var t=this,r=new t.constructor(1),n=r,i=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(s+"exponent");for(i&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return i?r.div(n):n},u.round=function(e,t){var r=this.constructor;if(e===c)e=0;else if(e!==~~e||e<-n||e>n)throw Error(a);return h(new r(this),e,t===c?r.RM:t)},u.sqrt=function(){var e,t,r,n=this,s=n.constructor,a=n.s,o=n.e,l=new s(.5);if(!n.c[0])return new s(n);if(a<0)throw Error(i+"No square root");0===(a=Math.sqrt(n+""))||a===1/0?((t=n.c.join("")).length+o&1||(t+="0"),o=((o+1)/2|0)-(o<0||1&o),e=new s(((a=Math.sqrt(t))==1/0?"1e":(a=a.toExponential()).slice(0,a.indexOf("e")+1))+o)):e=new s(a),o=e.e+(s.DP+=4);do{r=e,e=l.times(r.plus(n.div(r)))}while(r.c.slice(0,o).join("")!==e.c.slice(0,o).join(""));return h(e,s.DP-=4,s.RM)},u.times=u.mul=function(e){var t,r=this,n=r.constructor,i=r.c,s=(e=new n(e)).c,a=i.length,o=s.length,l=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!s[0])return new n(0*e.s);for(e.e=l+u,a<o&&(t=i,i=s,s=t,u=a,a=o,o=u),t=new Array(u=a+o);u--;)t[u]=0;for(l=o;l--;){for(o=0,u=a+l;u>l;)o=t[u]+s[l]*i[u-l-1]+o,t[u--]=o%10,o=o/10|0;t[u]=(t[u]+o)%10}for(o?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},u.toExponential=function(e){return d(this,1,e,e)},u.toFixed=function(e){return d(this,2,e,this.e+e)},u.toPrecision=function(e){return d(this,3,e,e-1)},u.toString=function(){return d(this)},u.valueOf=u.toJSON=function(){return d(this,4)},(r=function e(){function t(r){var n=this;if(!(n instanceof t))return r===c?e():new t(r);r instanceof t?(n.s=r.s,n.e=r.e,n.c=r.c.slice()):function(e,t){var r,n,i;if(0===t&&1/t<0)t="-0";else if(!p.test(t+=""))throw Error(s+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),i=t.length,n=0;n<i&&"0"==t.charAt(n);)++n;if(n==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=r-n-1,e.c=[],r=0;n<=i;)e.c[r++]=+t.charAt(n++)}}(n,r),n.constructor=t}return t.prototype=u,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.version="5.2.2",t}()).default=r.Big=r,t.exports?t.exports=r:e.Big=r}(e)}(Zk);var eN=t(Object.freeze({__proto__:null,default:{}}));let tN={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};var rN=function(e,t,r,n){t=t||"md5",n=n||9999;let i=eN.createHash(t);return i.update(e),"base26"===r||"base32"===r||"base36"===r||"base49"===r||"base52"===r||"base58"===r||"base62"===r||"base64"===r?function(e,t){let r=tN[t];if(!r)throw new Error("Unknown encoding base"+t);let n=e.length,i=Zk.exports;i.RM=i.DP=0;let s=new i(0);for(let t=n-1;t>=0;t--)s=s.times(256).plus(e[t]);let a="";for(;s.gt(0);)a=r[s.mod(t)]+a,s=s.div(t);return i.DP=20,i.RM=1,a}(i.digest(),r.substr(4)).substr(0,n):i.digest(r||"hex").substr(0,n)};let nN=Ib,iN=rN,sN=/[\uD800-\uDFFF]./,aN=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋️","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳️","🏴‍☠️","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕‍🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁‍🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦯","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏻‍🦼","👨🏻‍🦽","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🤝‍👨🏻","👨🏼‍🦯","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏼‍🦼","👨🏼‍🦽","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👨🏽‍🦯","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏽‍🦼","👨🏽‍🦽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👨🏾‍🦯","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏾‍🦼","👨🏾‍🦽","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👨🏿‍🦯","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👨🏿‍🦼","👨🏿‍🦽","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦯","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨‍🦼","👨‍🦽","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏻‍🦯","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏻‍🦼","👩🏻‍🦽","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🤝‍👨🏻","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏼‍🤝‍👩🏻","👩🏼‍🦯","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏼‍🦼","👩🏼‍🦽","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👩🏽‍🦯","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏽‍🦼","👩🏽‍🦽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👩🏾‍🤝‍👨🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👩🏾‍🦯","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏾‍🦼","👩🏾‍🦽","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👩🏿‍🦯","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👩🏿‍🦼","👩🏿‍🦽","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦯","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩‍🦼","👩‍🦽","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻‍♀️","🕴🏻‍♂️","🕴🏻","🕴🏼‍♀️","🕴🏼‍♂️","🕴🏼","🕴🏽‍♀️","🕴🏽‍♂️","🕴🏽","🕴🏾‍♀️","🕴🏾‍♂️","🕴🏾","🕴🏿‍♀️","🕴🏿‍♂️","🕴🏿","🕴️‍♀️","🕴️‍♂️","🕴️","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏻","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏼","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏽","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏾","🤵🏿‍♀️","🤵🏿‍♂️","🤵🏿","🤵‍♀️","🤵‍♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏻","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏼","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏽","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏾","🦸🏿‍♀️","🦸🏿‍♂️","🦸🏿","🦸‍♀️","🦸‍♂️","🦸","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏻","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏼","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏽","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏾","🦹🏿‍♀️","🦹🏿‍♂️","🦹🏿","🦹‍♀️","🦹‍♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻‍♀️","🧍🏻‍♂️","🧍🏻","🧍🏼‍♀️","🧍🏼‍♂️","🧍🏼","🧍🏽‍♀️","🧍🏽‍♂️","🧍🏽","🧍🏾‍♀️","🧍🏾‍♂️","🧍🏾","🧍🏿‍♀️","🧍🏿‍♂️","🧍🏿","🧍‍♀️","🧍‍♂️","🧍","🧎🏻‍♀️","🧎🏻‍♂️","🧎🏻","🧎🏼‍♀️","🧎🏼‍♂️","🧎🏼","🧎🏽‍♀️","🧎🏽‍♂️","🧎🏽","🧎🏾‍♀️","🧎🏾‍♂️","🧎🏾","🧎🏿‍♀️","🧎🏿‍♂️","🧎🏿","🧎‍♀️","🧎‍♂️","🧎","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏻","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏼","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏽","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏾","🧏🏿‍♀️","🧏🏿‍♂️","🧏🏿","🧏‍♀️","🧏‍♂️","🧏","🧐","🧑🏻‍🤝‍🧑🏻","🧑🏻","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","🧑🏿","🧑‍🤝‍🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻‍♀️","🧖🏻‍♂️","🧖🏻","🧖🏼‍♀️","🧖🏼‍♂️","🧖🏼","🧖🏽‍♀️","🧖🏽‍♂️","🧖🏽","🧖🏾‍♀️","🧖🏾‍♂️","🧖🏾","🧖🏿‍♀️","🧖🏿‍♂️","🧖🏿","🧖‍♀️","🧖‍♂️","🧖","🧗🏻‍♀️","🧗🏻‍♂️","🧗🏻","🧗🏼‍♀️","🧗🏼‍♂️","🧗🏼","🧗🏽‍♀️","🧗🏽‍♂️","🧗🏽","🧗🏾‍♀️","🧗🏾‍♂️","🧗🏾","🧗🏿‍♀️","🧗🏿‍♂️","🧗🏿","🧗‍♀️","🧗‍♂️","🧗","🧘🏻‍♀️","🧘🏻‍♂️","🧘🏻","🧘🏼‍♀️","🧘🏼‍♂️","🧘🏼","🧘🏽‍♀️","🧘🏽‍♂️","🧘🏽","🧘🏾‍♀️","🧘🏾‍♂️","🧘🏾","🧘🏿‍♀️","🧘🏿‍♂️","🧘🏿","🧘‍♀️","🧘‍♂️","🧘","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏻","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏼","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏽","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏾","🧙🏿‍♀️","🧙🏿‍♂️","🧙🏿","🧙‍♀️","🧙‍♂️","🧙","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏻","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏼","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏽","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏾","🧚🏿‍♀️","🧚🏿‍♂️","🧚🏿","🧚‍♀️","🧚‍♂️","🧚","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏻","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏼","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏽","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏾","🧛🏿‍♀️","🧛🏿‍♂️","🧛🏿","🧛‍♀️","🧛‍♂️","🧛","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏻","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏼","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏽","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏾","🧜🏿‍♀️","🧜🏿‍♂️","🧜🏿","🧜‍♀️","🧜‍♂️","🧜","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏻","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏼","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏽","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏾","🧝🏿‍♀️","🧝🏿‍♂️","🧝🏿","🧝‍♀️","🧝‍♂️","🧝","🧞‍♀️","🧞‍♂️","🧞","🧟‍♀️","🧟‍♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""].filter((e=>sN.test(e))),oN={},lN=function(e){let t=e.query;return"string"==typeof t&&""!==t?Kk(e.query):t&&"object"==typeof t?t:null},uN=Jk,cN=function(e,t){let r=t.split("!"),n=e.context||e.options&&e.options.context;return JSON.stringify(r.map((e=>{let t=e.match(/^(.*?)(\?.*)/),r=t?t[2]:"",i=t?t[1]:e;if(Yk(i)&&n){if(i=Wk.relative(n,i),Yk(i))return i+r;!1===(s=i,Gk.test(s))&&(i="./"+i)}var s;return i.replace(/\\/g,"/")+r})).join("!"))},pN=function(e){return e.remainingRequest?e.remainingRequest:e.loaders.slice(e.loaderIndex+1).map((e=>e.request)).concat([e.resource]).join("!")},hN=function(e){return e.currentRequest?e.currentRequest:e.loaders.slice(e.loaderIndex).map((e=>e.request)).concat([e.resource]).join("!")},dN=function(e,t){return!(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!Hk.win32.isAbsolute(e)||/^\/\//.test(e)||/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(e)||(void 0===t||!1===t)&&/^\//.test(e))},fN=function(e,t){if(""===e)return"";let r,n=/^[^?]*~/;if(Qk.test(e))r=e;else if(void 0!==t&&!1!==t&&/^\//.test(e))switch(typeof t){case"string":r=n.test(t)?t.replace(/([^~/])$/,"$1/")+e.slice(1):t+e;break;case"boolean":r=e;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+e+", root = "+t+".")}else r=/^\.\.?\//.test(e)?e:"./"+e;return n.test(r)&&(r=r.replace(n,"")),r},mN=function e(t){try{return'"'===t[0]?JSON.parse(t):"'"===t[0]&&"'"===t.substr(t.length-1)?e(t.replace(/\\.|"/g,(e=>'"'===e?'\\"':e)).replace(/^'|'$/g,'"')):JSON.parse('"'+t+'"')}catch{return t}},yN=rN,gN=function(e,t,r){let n,i=e.resourceQuery&&e.resourceQuery.length>1;n="function"==typeof t?t(e.resourcePath,i?e.resourceQuery:void 0):t||"[hash].[ext]";let s=r.context,a=r.content,o=r.regExp,l="bin",u="file",c="",p="",h="";if(e.resourcePath){let t=nN.parse(e.resourcePath),r=e.resourcePath;t.ext&&(l=t.ext.substr(1)),t.dir&&(u=t.name,r=t.dir+nN.sep),void 0!==s?(c=nN.relative(s,r+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1"),c=c.substr(0,c.length-1)):c=r.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1"),1===c.length?c="":c.length>1&&(p=nN.basename(c))}if(e.resourceQuery&&e.resourceQuery.length>1){h=e.resourceQuery;let t=h.indexOf("#");t>=0&&(h=h.substr(0,t))}let d=n;if(a&&(d=d.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((e,t,r,n)=>iN(a,t,r,parseInt(n,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((e,t)=>function(e,t){if(oN[e])return oN[e];t=t||1;let r=[];do{if(!aN.length)throw new Error("Ran out of emoji");let e=Math.floor(Math.random()*aN.length);r.push(aN[e]),aN.splice(e,1)}while(--t>0);let n=r.join("");return oN[e]=n,n}(a,parseInt(t,10))))),d=d.replace(/\[ext\]/gi,(()=>l)).replace(/\[name\]/gi,(()=>u)).replace(/\[path\]/gi,(()=>c)).replace(/\[folder\]/gi,(()=>p)).replace(/\[query\]/gi,(()=>h)),o&&e.resourcePath){let t=e.resourcePath.match(new RegExp(o));t&&t.forEach(((e,t)=>{d=d.replace(new RegExp("\\["+t+"\\]","ig"),e)}))}return"object"==typeof e.options&&"function"==typeof e.options.customInterpolateName&&(d=e.options.customInterpolateName.call(e,d,t,r)),d};qk.getOptions=lN,qk.parseQuery=uN,qk.stringifyRequest=cN,qk.getRemainingRequest=pN,qk.getCurrentRequest=hN,qk.isUrlRequest=dN,qk.urlToRequest=fN,qk.parseString=mN,qk.getHashDigest=yN,qk.interpolateName=gN;var xN=qk.interpolateName,vN=Ib,EN={},bN={};Object.defineProperty(bN,"__esModule",{value:!0}),bN.replaceAll=TN;var SN=/[$#]?[\w-\.]+/g;function TN(e,t){for(var r=void 0;r=SN.exec(t);){var n=e[r[0]];n&&(t=t.slice(0,r.index)+n+t.slice(SN.lastIndex),SN.lastIndex-=r[0].length-n.length)}return t}bN.default=function(e,t){e.walkDecls((function(e){return e.value=TN(t,e.value)})),e.walkAtRules("media",(function(e){return e.params=TN(t,e.params)}))},Object.defineProperty(EN,"__esModule",{value:!0});var AN,DN=(AN=bN)&&AN.__esModule?AN:{default:AN};let CN=/^:import\((.+)\)$/;EN.default=class{constructor(e,t){this.pathFetcher=e,this.plugin=this.plugin.bind(this),this.exportTokens={},this.translations={},this.trace=t}plugin(){let e=this;return{postcssPlugin:"css-modules-parser",OnceExit:t=>Promise.all(e.fetchAllImports(t)).then((()=>e.linkImportedSymbols(t))).then((()=>e.extractExports(t)))}}fetchAllImports(e){let t=[];return e.each((r=>{"rule"==r.type&&r.selector.match(CN)&&t.push(this.fetchImport(r,e.source.input.from,t.length))})),t}linkImportedSymbols(e){(0,DN.default)(e,this.translations)}extractExports(e){e.each((e=>{"rule"==e.type&&":export"==e.selector&&this.handleExport(e)}))}handleExport(e){e.each((e=>{"decl"==e.type&&(Object.keys(this.translations).forEach((t=>{e.value=e.value.replace(t,this.translations[t])})),this.exportTokens[e.prop]=e.value)})),e.remove()}fetchImport(e,t,r){let n=e.selector.match(CN)[1],i=this.trace+String.fromCharCode(r);return this.pathFetcher(n,t,i).then((t=>{e.each((e=>{"decl"==e.type&&(this.translations[e.prop]=t[e.value])})),e.remove()}),(e=>console.log(e)))}};var wN={},PN=t(Object.freeze({__proto__:null,default:{}}));Object.defineProperty(wN,"__esModule",{value:!0});var kN=FN(hC),NN=FN(PN),_N=FN(Ib),ON=FN(EN);function FN(e){return e&&e.__esModule?e:{default:e}}class IN{constructor(e){this.plugins=e||IN.defaultPlugins}load(e,t,r,n){let i=new ON.default(n,r);return(0,kN.default)(this.plugins.concat([i.plugin()])).process(e,{from:"/"+t}).then((e=>({injectableSource:e.css,exportTokens:i.exportTokens})))}}let BN=(e,t)=>e.length<t.length?e<t.substring(0,e.length)?-1:1:e.length>t.length?e.substring(0,t.length)<=t?-1:1:e<t?-1:1;wN.default=class{constructor(e,t){this.root=e,this.sources={},this.traces={},this.importNr=0,this.core=new IN(t),this.tokensByFile={}}fetch(e,t,r){let n=e.replace(/^["']|["']$/g,""),i=r||String.fromCharCode(this.importNr++);return new Promise(((e,r)=>{let s=_N.default.dirname(t),a=_N.default.resolve(s,n),o=_N.default.resolve(_N.default.join(this.root,s),n);if("."!==n[0]&&"/"!==n[0])try{o=am.resolve(n)}catch{}let l=this.tokensByFile[o];if(l)return e(l);NN.default.readFile(o,"utf-8",((t,n)=>{t&&r(t),this.core.load(n,a,i,this.fetch.bind(this)).then((({injectableSource:t,exportTokens:r})=>{this.sources[o]=t,this.traces[i]=o,this.tokensByFile[o]=r,e(r)}),r)}))}))}get finalSource(){let e=this.traces,t=this.sources,r=new Set;return Object.keys(e).sort(BN).map((n=>{let i=e[n];return r.has(i)?null:(r.add(i),t[i])})).join("")}};var LN={};Object.defineProperty(LN,"__esModule",{value:!0}),LN.default=function(e,t,r){let n=r.indexOf(`.${e}`),i=r.substr(0,n).split(/[\r\n]/).length;return`_${e}_${(0,MN.default)(r).toString(36).substr(0,5)}_${i}`};var MN=function(e){return e&&e.__esModule?e:{default:e}}((function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0})),RN={};Object.defineProperty(RN,"__esModule",{value:!0}),RN.default=function(e,t){return new Promise(((r,n)=>{(0,jN.writeFile)(`${e}.json`,JSON.stringify(t),(e=>e?n(e):r(t)))}))};var jN=PN,UN={},$N={exports:{}},qN={exports:{}},VN={exports:{}},zN={exports:{}},XN={exports:{}},JN={exports:{}},KN={exports:{}},WN={},GN={exports:{}};!function(e,t){function r(e){for(var t=e.toLowerCase(),r="",n=!1,i=0;i<6&&void 0!==t[i];i++){var s=t.charCodeAt(i);if(n=32===s,!(s>=97&&s<=102||s>=48&&s<=57))break;r+=t[i]}if(0!==r.length){var a=parseInt(r,16);return a>=55296&&a<=57343||0===a||a>1114111?["�",r.length+(n?1:0)]:[String.fromCodePoint(a),r.length+(n?1:0)]}}t.__esModule=!0,t.default=function(e){if(!n.test(e))return e;for(var t="",i=0;i<e.length;i++)if("\\"!==e[i])t+=e[i];else{var s=r(e.slice(i+1,i+7));if(void 0!==s){t+=s[0],i+=s[1];continue}if("\\"===e[i+1]){t+="\\",i++;continue}e.length===i+1&&(t+=e[i])}return t};var n=/\\/;e.exports=t.default}(GN,GN.exports);var YN={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default}(YN,YN.exports);var HN={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();e[i]||(e[i]={}),e=e[i]}},e.exports=t.default}(HN,HN.exports);var QN={exports:{}};(function(e,t){t.__esModule=!0,t.default=function(e){for(var t="",r=e.indexOf("/*"),n=0;r>=0;){t+=e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0)return t;n=i+2,r=e.indexOf("/*",n)}return t+e.slice(n)},e.exports=t.default})(QN,QN.exports),WN.__esModule=!0,WN.stripComments=WN.ensureObject=WN.getProp=WN.unesc=void 0;var ZN=n_(GN.exports);WN.unesc=ZN.default;var e_=n_(YN.exports);WN.getProp=e_.default;var t_=n_(HN.exports);WN.ensureObject=t_.default;var r_=n_(QN.exports);function n_(e){return e&&e.__esModule?e:{default:e}}WN.stripComments=r_.default,function(e,t){t.__esModule=!0,t.default=void 0;var r=WN,n=function e(t,r){if("object"!=typeof t||null===t)return t;var n=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var s=t[i];"parent"===i&&"object"==typeof s?r&&(n[i]=r):n[i]=s instanceof Array?s.map((function(t){return e(t,n)})):e(s,n)}return n},i=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t,i=e.prototype;return i.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},i.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},i.next=function(){return this.parent.at(this.parent.index(this)+1)},i.prev=function(){return this.parent.at(this.parent.index(this)-1)},i.clone=function(e){void 0===e&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},i.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var n=this[e],i=this.raws[e];this[e]=n+t,i||r!==t?this.raws[e]=(i||n)+r:delete this.raws[e]},i.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},i.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},i.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},i.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},i.valueToString=function(){return String(this.stringifyProperty("value"))},i.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},(t=[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}])&&function(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)}}(e.prototype,t),e}();t.default=i,e.exports=t.default}(KN,KN.exports);var i_={__esModule:!0};i_.UNIVERSAL=i_.ATTRIBUTE=i_.CLASS=i_.COMBINATOR=i_.COMMENT=i_.ID=i_.NESTING=i_.PSEUDO=i_.ROOT=i_.SELECTOR=i_.STRING=i_.TAG=void 0,i_.TAG="tag",i_.STRING="string",i_.SELECTOR="selector",i_.ROOT="root",i_.PSEUDO="pseudo",i_.NESTING="nesting",i_.ID="id",i_.COMMENT="comment",i_.COMBINATOR="combinator",i_.CLASS="class",i_.ATTRIBUTE="attribute",i_.UNIVERSAL="universal",function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=KN.exports)&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(i_);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r);var s,l=n.prototype;return l.append=function(e){return e.parent=this,this.nodes.push(e),this},l.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},l.at=function(e){return this.nodes[e]},l.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},l.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},l.removeAll=function(){for(var e,t=function(e,t){var r;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},l.empty=function(){return this.removeAll()},l.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},l.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},l._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1})),r},l.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},l._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},l.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r,n;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(n=e(this.at(r),r)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==n&&void 0}},l.walk=function(e){return this.each((function(t,r){var n=e(t,r);if(!1!==n&&t.length&&(n=t.walk(e)),!1===n)return!1}))},l.walkAttributes=function(e){var t=this;return this.walk((function(r){if(r.type===i.ATTRIBUTE)return e.call(t,r)}))},l.walkClasses=function(e){var t=this;return this.walk((function(r){if(r.type===i.CLASS)return e.call(t,r)}))},l.walkCombinators=function(e){var t=this;return this.walk((function(r){if(r.type===i.COMBINATOR)return e.call(t,r)}))},l.walkComments=function(e){var t=this;return this.walk((function(r){if(r.type===i.COMMENT)return e.call(t,r)}))},l.walkIds=function(e){var t=this;return this.walk((function(r){if(r.type===i.ID)return e.call(t,r)}))},l.walkNesting=function(e){var t=this;return this.walk((function(r){if(r.type===i.NESTING)return e.call(t,r)}))},l.walkPseudos=function(e){var t=this;return this.walk((function(r){if(r.type===i.PSEUDO)return e.call(t,r)}))},l.walkTags=function(e){var t=this;return this.walk((function(r){if(r.type===i.TAG)return e.call(t,r)}))},l.walkUniversals=function(e){var t=this;return this.walk((function(r){if(r.type===i.UNIVERSAL)return e.call(t,r)}))},l.split=function(e){var t=this,r=[];return this.reduce((function(n,i,s){var a=e.call(t,i);return r.push(i),a?(n.push(r),r=[]):s===t.length-1&&n.push(r),n}),[])},l.map=function(e){return this.nodes.map(e)},l.reduce=function(e,t){return this.nodes.reduce(e,t)},l.every=function(e){return this.nodes.every(e)},l.some=function(e){return this.nodes.some(e)},l.filter=function(e){return this.nodes.filter(e)},l.sort=function(e){return this.nodes.sort(e)},l.toString=function(){return this.map(String).join("")},(s=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}])&&function(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)}}(n.prototype,s),n}(n.default);t.default=l,e.exports=t.default}(JN,JN.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=JN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.ROOT,r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r);var a,o=n.prototype;return o.toString=function(){var e=this.reduce((function(e,t){return e.push(String(t)),e}),[]).join(",");return this.trailingComma?e+",":e},o.error=function(e,t){return this._error?this._error(e,t):new Error(e)},(a=[{key:"errorGenerator",set:function(e){this._error=e}}])&&function(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)}}(n.prototype,a),n}(n.default);t.default=a,e.exports=t.default}(XN,XN.exports);var s_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=JN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.SELECTOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(n.default);t.default=a,e.exports=t.default}(s_,s_.exports);var a_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r=a(jC),n=WN,i=a(KN.exports),s=i_;function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,i,a;function l(t){var r;return(r=e.call(this,t)||this).type=s.CLASS,r._constructed=!0,r}return i=e,(t=l).prototype=Object.create(i.prototype),t.prototype.constructor=t,o(t,i),l.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},(a=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,n.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}])&&function(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)}}(l.prototype,a),l}(i.default);t.default=l,e.exports=t.default}(a_,a_.exports);var o_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=KN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.COMMENT,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(n.default);t.default=a,e.exports=t.default}(o_,o_.exports);var l_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=KN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.ID,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},n}(n.default);t.default=a,e.exports=t.default}(l_,l_.exports);var u_={exports:{}},c_={exports:{}};(function(e,t){t.__esModule=!0,t.default=void 0;var r=i(jC),n=WN;function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,i;function a(){return e.apply(this,arguments)||this}i=e,(t=a).prototype=Object.create(i.prototype),t.prototype.constructor=t,s(t,i);var o,l=a.prototype;return l.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},l.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},(o=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e)return this._namespace=e,void(this.raws&&delete this.raws.namespace);var t=(0,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,n.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(this.namespace){var e=this.stringifyProperty("namespace");return!0===e?"":e}return""}}])&&function(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)}}(a.prototype,o),a}(i(KN.exports).default);t.default=a,e.exports=t.default})(c_,c_.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=c_.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.TAG,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(n.default);t.default=a,e.exports=t.default}(u_,u_.exports);var p_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=KN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.STRING,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(n.default);t.default=a,e.exports=t.default}(p_,p_.exports);var h_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=JN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.PSEUDO,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},n}(n.default);t.default=a,e.exports=t.default}(h_,h_.exports);var d_={};!function(e){e.__esModule=!0,e.unescapeValue=d,e.default=void 0;var t,r=a(jC),n=a(GN.exports),i=a(c_.exports),s=i_;function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=KC,u=/^('|")([^]*)\1$/,c=l((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),p=l((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=l((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function d(e){var t=!1,r=null,i=e,s=i.match(u);return s&&(r=s[1],i=s[2]),(i=(0,n.default)(i))!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:r}}var f=function(e){var t,n;function i(t){var r;return void 0===t&&(t={}),(r=e.call(this,function(e){if(void 0!==e.quoteMark||void 0===e.value)return e;h();var t=d(e.value),r=t.quoteMark,n=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=n,e.quoteMark=r,e}(t))||this).type=s.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:l((function(){return r.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:l((function(){return r.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var a,u=i.prototype;return u.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),n=m[t];return(0,r.default)(this._value,n)},u._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},u.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},u.smartQuoteMark=function(e){var t=this.value,n=t.replace(/[^']/g,"").length,s=t.replace(/[^"]/g,"").length;if(n+s===0){var a=(0,r.default)(t,{isIdentifier:!0});if(a===t)return i.NO_QUOTE;var o=this.preferredQuoteMark(e);if(o===i.NO_QUOTE){var l=this.quoteMark||e.quoteMark||i.DOUBLE_QUOTE,u=m[l];if((0,r.default)(t,u).length<a.length)return l}return o}return s===n?this.preferredQuoteMark(e):s<n?i.DOUBLE_QUOTE:i.SINGLE_QUOTE},u.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===t&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===t&&(t=i.DOUBLE_QUOTE),t},u._syncRawValue=function(){var e=(0,r.default)(this._value,m[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},u._handleEscapes=function(e,t){if(this._constructed){var n=(0,r.default)(t,{isIdentifier:!0});n!==t?this.raws[e]=n:delete this.raws[e]}},u._spacesFor=function(e){var t=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,r)},u._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=y);var n=this._spacesFor(t);return r(this.stringifyProperty(e),n)},u.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e||(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e))return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var n=this._spacesFor("operator");t+=n.before.length;var i=this.stringifyProperty("operator");if("operator"===e)return i?t:-1;t+=i.length,t+=n.after.length;var s=this._spacesFor("value");t+=s.before.length;var a=this.stringifyProperty("value");return"value"===e?a?t:-1:(t+=a.length,t+=s.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},u.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",(function(t,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),y(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},(a=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){p()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=d(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;if(r&&c(),n===this._value&&i===this._quoteMark)return;this._value=n,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&function(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)}}(i.prototype,a),i}(i.default);e.default=f,f.NO_QUOTE=null,f.SINGLE_QUOTE="'",f.DOUBLE_QUOTE='"';var m=((t={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},t);function y(e,t){return""+t.before+e+t.after}}(d_);var f_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=c_.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.UNIVERSAL,r.value="*",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(n.default);t.default=a,e.exports=t.default}(f_,f_.exports);var m_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=KN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.COMBINATOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(n.default);t.default=a,e.exports=t.default}(m_,m_.exports);var y_={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=KN.exports)&&r.__esModule?r:{default:r},i=i_;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=i.NESTING,r.value="&",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(n.default);t.default=a,e.exports=t.default}(y_,y_.exports);var g_={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default}(g_,g_.exports);var x_={},v_={__esModule:!0};v_.combinator=v_.word=v_.comment=v_.str=v_.tab=v_.newline=v_.feed=v_.cr=v_.backslash=v_.bang=v_.slash=v_.doubleQuote=v_.singleQuote=v_.space=v_.greaterThan=v_.pipe=v_.equals=v_.plus=v_.caret=v_.tilde=v_.dollar=v_.closeSquare=v_.openSquare=v_.closeParenthesis=v_.openParenthesis=v_.semicolon=v_.colon=v_.comma=v_.at=v_.asterisk=v_.ampersand=void 0,v_.ampersand=38,v_.asterisk=42,v_.at=64,v_.comma=44,v_.colon=58,v_.semicolon=59,v_.openParenthesis=40,v_.closeParenthesis=41,v_.openSquare=91,v_.closeSquare=93,v_.dollar=36,v_.tilde=126,v_.caret=94,v_.plus=43,v_.equals=61,v_.pipe=124,v_.greaterThan=62,v_.space=32,v_.singleQuote=39,v_.doubleQuote=34,v_.slash=47,v_.bang=33,v_.backslash=92,v_.cr=13,v_.feed=12,v_.newline=10,v_.tab=9,v_.str=39,v_.comment=-1,v_.word=-2,v_.combinator=-3,function(e){e.__esModule=!0,e.default=function(e){var t,r,i,s,a,o,l,u,p,h,d,f,m=[],y=e.css.valueOf(),g=y.length,x=-1,v=1,E=0,b=0;function S(t,r){if(!e.safe)throw e.error("Unclosed "+t,v,E-x,E);u=(y+=r).length-1}for(;E<g;){switch((t=y.charCodeAt(E))===n.newline&&(x=E,v+=1),t){case n.space:case n.tab:case n.newline:case n.cr:case n.feed:u=E;do{u+=1,(t=y.charCodeAt(u))===n.newline&&(x=u,v+=1)}while(t===n.space||t===n.newline||t===n.tab||t===n.cr||t===n.feed);f=n.space,i=v,r=u-x-1,b=u;break;case n.plus:case n.greaterThan:case n.tilde:case n.pipe:u=E;do{u+=1,t=y.charCodeAt(u)}while(t===n.plus||t===n.greaterThan||t===n.tilde||t===n.pipe);f=n.combinator,i=v,r=E-x,b=u;break;case n.asterisk:case n.ampersand:case n.bang:case n.comma:case n.equals:case n.dollar:case n.caret:case n.openSquare:case n.closeSquare:case n.colon:case n.semicolon:case n.openParenthesis:case n.closeParenthesis:f=t,i=v,r=E-x,b=(u=E)+1;break;case n.singleQuote:case n.doubleQuote:d=t===n.singleQuote?"'":'"',u=E;do{for(s=!1,-1===(u=y.indexOf(d,u+1))&&S("quote",d),a=u;y.charCodeAt(a-1)===n.backslash;)a-=1,s=!s}while(s);f=n.str,i=v,r=E-x,b=u+1;break;default:t===n.slash&&y.charCodeAt(E+1)===n.asterisk?(0===(u=y.indexOf("*/",E+2)+1)&&S("comment","*/"),(o=(l=y.slice(E,u+1).split("\n")).length-1)>0?(p=v+o,h=u-l[o].length):(p=v,h=x),f=n.comment,v=p,i=p,r=u-h):t===n.slash?(f=t,i=v,r=E-x,b=(u=E)+1):(u=c(y,E),f=n.word,i=v,r=u-x),b=u+1}m.push([f,v,E-x,i,r,E,b]),h&&(x=h,h=null),E=b}return m},e.FIELDS=void 0;var t,r,n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var a=n?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,t&&t.set(e,r),r}(v_);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}for(var s=((t={})[n.tab]=!0,t[n.newline]=!0,t[n.cr]=!0,t[n.feed]=!0,t),a=((r={})[n.space]=!0,r[n.tab]=!0,r[n.newline]=!0,r[n.cr]=!0,r[n.feed]=!0,r[n.ampersand]=!0,r[n.asterisk]=!0,r[n.bang]=!0,r[n.comma]=!0,r[n.colon]=!0,r[n.semicolon]=!0,r[n.openParenthesis]=!0,r[n.closeParenthesis]=!0,r[n.openSquare]=!0,r[n.closeSquare]=!0,r[n.singleQuote]=!0,r[n.doubleQuote]=!0,r[n.plus]=!0,r[n.pipe]=!0,r[n.tilde]=!0,r[n.greaterThan]=!0,r[n.equals]=!0,r[n.dollar]=!0,r[n.caret]=!0,r[n.slash]=!0,r),o={},l="0123456789abcdefABCDEF",u=0;u<22;u++)o[l.charCodeAt(u)]=!0;function c(e,t){var r,i=t;do{if(r=e.charCodeAt(i),a[r])return i-1;r===n.backslash?i=p(e,i)+1:i++}while(i<e.length);return i-1}function p(e,t){var r=t,i=e.charCodeAt(r+1);if(!s[i])if(o[i]){var a=0;do{r++,a++,i=e.charCodeAt(r+1)}while(o[i]&&a<6);a<6&&i===n.space&&r++}else r++;return r}e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}}(x_),function(e,t){t.__esModule=!0,t.default=void 0;var r,n,i=T(XN.exports),s=T(s_.exports),a=T(a_.exports),o=T(o_.exports),l=T(l_.exports),u=T(u_.exports),c=T(p_.exports),p=T(h_.exports),h=S(d_),d=T(f_.exports),f=T(m_.exports),m=T(y_.exports),y=T(g_.exports),g=S(x_),x=S(v_),v=S(i_),E=WN;function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function T(e){return e&&e.__esModule?e:{default:e}}var A=((r={})[x.space]=!0,r[x.cr]=!0,r[x.feed]=!0,r[x.newline]=!0,r[x.tab]=!0,r),D=Object.assign({},A,((n={})[x.comment]=!0,n));function C(e){return{line:e[g.FIELDS.START_LINE],column:e[g.FIELDS.START_COL]}}function w(e){return{line:e[g.FIELDS.END_LINE],column:e[g.FIELDS.END_COL]}}function P(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function k(e){return P(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],e[g.FIELDS.END_LINE],e[g.FIELDS.END_COL])}function N(e,t){if(e)return P(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],t[g.FIELDS.END_LINE],t[g.FIELDS.END_COL])}function _(e,t){var r=e[t];if("string"==typeof r)return-1!==r.indexOf("\\")&&((0,E.ensureObject)(e,"raws"),e[t]=(0,E.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function O(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}var F=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,g.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=N(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new i.default({source:r}),this.root.errorGenerator=this._errorGenerator();var n=new s.default({source:{start:{line:1,column:1}}});this.root.append(n),this.current=n,this.loop()}var t,r=e.prototype;return r._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?new Error(t):e.rule.error(t,r)}},r.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[g.FIELDS.TYPE]!==x.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[g.FIELDS.TYPE]!==x.closeSquare)return this.expected("closing square bracket",this.currToken[g.FIELDS.START_POS]);var r=e.length,n={source:P(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[g.FIELDS.START_POS]};if(1===r&&!~[x.word].indexOf(e[0][g.FIELDS.TYPE]))return this.expected("attribute",e[0][g.FIELDS.START_POS]);for(var i=0,s="",a="",o=null,l=!1;i<r;){var u=e[i],c=this.content(u),p=e[i+1];switch(u[g.FIELDS.TYPE]){case x.space:if(l=!0,this.options.lossy)break;if(o){(0,E.ensureObject)(n,"spaces",o);var d=n.spaces[o].after||"";n.spaces[o].after=d+c;var f=(0,E.getProp)(n,"raws","spaces",o,"after")||null;f&&(n.raws.spaces[o].after=f+c)}else s+=c,a+=c;break;case x.asterisk:p[g.FIELDS.TYPE]===x.equals?(n.operator=c,o="operator"):(!n.namespace||"namespace"===o&&!l)&&p&&(s&&((0,E.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=s,s=""),a&&((0,E.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=s,a=""),n.namespace=(n.namespace||"")+c,(0,E.getProp)(n,"raws","namespace")&&(n.raws.namespace+=c),o="namespace"),l=!1;break;case x.dollar:if("value"===o){var m=(0,E.getProp)(n,"raws","value");n.value+="$",m&&(n.raws.value=m+"$");break}case x.caret:p[g.FIELDS.TYPE]===x.equals&&(n.operator=c,o="operator"),l=!1;break;case x.combinator:if("~"===c&&p[g.FIELDS.TYPE]===x.equals&&(n.operator=c,o="operator"),"|"!==c){l=!1;break}p[g.FIELDS.TYPE]===x.equals?(n.operator=c,o="operator"):n.namespace||n.attribute||(n.namespace=!0),l=!1;break;case x.word:if(p&&"|"===this.content(p)&&e[i+2]&&e[i+2][g.FIELDS.TYPE]!==x.equals&&!n.operator&&!n.namespace)n.namespace=c,o="namespace";else if(!n.attribute||"attribute"===o&&!l)s&&((0,E.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=s,s=""),a&&((0,E.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=a,a=""),n.attribute=(n.attribute||"")+c,(0,E.getProp)(n,"raws","attribute")&&(n.raws.attribute+=c),o="attribute";else if(!n.value&&""!==n.value||"value"===o&&!l){var y=(0,E.unesc)(c),v=(0,E.getProp)(n,"raws","value")||"",b=n.value||"";n.value=b+y,n.quoteMark=null,(y!==c||v)&&((0,E.ensureObject)(n,"raws"),n.raws.value=(v||b)+c),o="value"}else{var S="i"===c||"I"===c;!n.value&&""!==n.value||!n.quoteMark&&!l?(n.value||""===n.value)&&(o="value",n.value+=c,n.raws.value&&(n.raws.value+=c)):(n.insensitive=S,S&&"I"!==c||((0,E.ensureObject)(n,"raws"),n.raws.insensitiveFlag=c),o="insensitive",s&&((0,E.ensureObject)(n,"spaces","insensitive"),n.spaces.insensitive.before=s,s=""),a&&((0,E.ensureObject)(n,"raws","spaces","insensitive"),n.raws.spaces.insensitive.before=a,a=""))}l=!1;break;case x.str:if(!n.attribute||!n.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:u[g.FIELDS.START_POS]});var T=(0,h.unescapeValue)(c),A=T.unescaped,D=T.quoteMark;n.value=A,n.quoteMark=D,o="value",(0,E.ensureObject)(n,"raws"),n.raws.value=c,l=!1;break;case x.equals:if(!n.attribute)return this.expected("attribute",u[g.FIELDS.START_POS],c);if(n.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:u[g.FIELDS.START_POS]});n.operator=n.operator?n.operator+c:c,o="operator",l=!1;break;case x.comment:if(o)if(l||p&&p[g.FIELDS.TYPE]===x.space||"insensitive"===o){var C=(0,E.getProp)(n,"spaces",o,"after")||"",w=(0,E.getProp)(n,"raws","spaces",o,"after")||C;(0,E.ensureObject)(n,"raws","spaces",o),n.raws.spaces[o].after=w+c}else{var k=n[o]||"",N=(0,E.getProp)(n,"raws",o)||k;(0,E.ensureObject)(n,"raws"),n.raws[o]=N+c}else a+=c;break;default:return this.error('Unexpected "'+c+'" found.',{index:u[g.FIELDS.START_POS]})}i++}_(n,"attribute"),_(n,"namespace"),this.newNode(new h.default(n)),this.position++},r.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],n="",i=void 0;do{if(A[this.currToken[g.FIELDS.TYPE]])this.options.lossy||(n+=this.content());else if(this.currToken[g.FIELDS.TYPE]===x.comment){var s={};n&&(s.before=n,n=""),i=new o.default({value:this.content(),source:k(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS],spaces:s}),r.push(i)}}while(++this.position<e);if(n)if(i)i.spaces.after=n;else if(!this.options.lossy){var a=this.tokens[t],l=this.tokens[this.position-1];r.push(new c.default({value:"",source:P(a[g.FIELDS.START_LINE],a[g.FIELDS.START_COL],l[g.FIELDS.END_LINE],l[g.FIELDS.END_COL]),sourceIndex:a[g.FIELDS.START_POS],spaces:{before:n,after:""}}))}return r},r.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var n="",i="";return e.forEach((function(e){var s=r.lossySpace(e.spaces.before,t),a=r.lossySpace(e.rawSpaceBefore,t);n+=s+r.lossySpace(e.spaces.after,t&&0===s.length),i+=s+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===a.length)})),i===n&&(i=void 0),{space:n,rawSpace:i}},r.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][g.FIELDS.TYPE]===x.slash&&this.tokens[e+1]&&this.tokens[e+1][g.FIELDS.TYPE]===x.word&&this.tokens[e+2]&&this.tokens[e+2][g.FIELDS.TYPE]===x.slash},r.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,E.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var n=new f.default({value:"/"+t+"/",source:P(this.currToken[g.FIELDS.START_LINE],this.currToken[g.FIELDS.START_COL],this.tokens[this.position+2][g.FIELDS.END_LINE],this.tokens[this.position+2][g.FIELDS.END_COL]),sourceIndex:this.currToken[g.FIELDS.START_POS],raws:r});return this.position=this.position+3,n}this.unexpected()},r.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][g.FIELDS.TYPE]===x.comma)){var r,n=this.currToken,i=void 0;if(t>this.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[g.FIELDS.TYPE]===x.combinator?(r=new f.default({value:this.content(),source:k(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS]}),this.position++):A[this.currToken[g.FIELDS.TYPE]]||i||this.unexpected(),r){if(i){var s=this.convertWhitespaceNodesToSpace(i),a=s.space,o=s.rawSpace;r.spaces.before=a,r.rawSpaceBefore=o}}else{var l=this.convertWhitespaceNodesToSpace(i,!0),u=l.space,c=l.rawSpace;c||(c=u);var p={},h={spaces:{}};u.endsWith(" ")&&c.endsWith(" ")?(p.before=u.slice(0,u.length-1),h.spaces.before=c.slice(0,c.length-1)):u.startsWith(" ")&&c.startsWith(" ")?(p.after=u.slice(1),h.spaces.after=c.slice(1)):h.value=c,r=new f.default({value:" ",source:N(n,this.tokens[this.position-1]),sourceIndex:n[g.FIELDS.START_POS],spaces:p,raws:h})}return this.currToken&&this.currToken[g.FIELDS.TYPE]===x.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var m=this.current.last;if(m){var y=this.convertWhitespaceNodesToSpace(d),v=y.space,E=y.rawSpace;void 0!==E&&(m.rawSpaceAfter+=E),m.spaces.after+=v}else d.forEach((function(t){return e.newNode(t)}))}},r.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new s.default({source:{start:C(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},r.comment=function(){var e=this.currToken;this.newNode(new o.default({value:this.content(),source:k(e),sourceIndex:e[g.FIELDS.START_POS]})),this.position++},r.error=function(e,t){throw this.root.error(e,t)},r.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[g.FIELDS.START_POS]})},r.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[g.FIELDS.START_POS])},r.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[g.FIELDS.START_POS])},r.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[g.FIELDS.START_POS])},r.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[g.FIELDS.TYPE]===x.word?(this.position++,this.word(e)):this.nextToken[g.FIELDS.TYPE]===x.asterisk?(this.position++,this.universal(e)):void 0},r.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))this.position++;else{var e=this.currToken;this.newNode(new m.default({value:this.content(),source:k(e),sourceIndex:e[g.FIELDS.START_POS]})),this.position++}},r.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===v.PSEUDO){var r=new s.default({source:{start:C(this.tokens[this.position-1])}}),n=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[g.FIELDS.TYPE]===x.openParenthesis&&t++,this.currToken[g.FIELDS.TYPE]===x.closeParenthesis&&t--,t?this.parse():(this.current.source.end=w(this.currToken),this.current.parent.source.end=w(this.currToken),this.position++);this.current=n}else{for(var i,a=this.currToken,o="(";this.position<this.tokens.length&&t;)this.currToken[g.FIELDS.TYPE]===x.openParenthesis&&t++,this.currToken[g.FIELDS.TYPE]===x.closeParenthesis&&t--,i=this.currToken,o+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",o,o):this.newNode(new c.default({value:o,source:P(a[g.FIELDS.START_LINE],a[g.FIELDS.START_COL],i[g.FIELDS.END_LINE],i[g.FIELDS.END_COL]),sourceIndex:a[g.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[g.FIELDS.START_POS])},r.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[g.FIELDS.TYPE]===x.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[g.FIELDS.TYPE]!==x.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[g.FIELDS.START_POS]):void this.splitWord(!1,(function(n,i){t+=n,e.newNode(new p.default({value:t,source:N(r,e.currToken),sourceIndex:r[g.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[g.FIELDS.TYPE]===x.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[g.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},r.space=function(){var e=this.content();0===this.position||this.prevToken[g.FIELDS.TYPE]===x.comma||this.prevToken[g.FIELDS.TYPE]===x.openParenthesis||this.current.nodes.every((function(e){return"comment"===e.type}))?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[g.FIELDS.TYPE]===x.comma||this.nextToken[g.FIELDS.TYPE]===x.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},r.string=function(){var e=this.currToken;this.newNode(new c.default({value:this.content(),source:k(e),sourceIndex:e[g.FIELDS.START_POS]})),this.position++},r.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new d.default({value:this.content(),source:k(r),sourceIndex:r[g.FIELDS.START_POS]}),e),this.position++},r.splitWord=function(e,t){for(var r=this,n=this.nextToken,i=this.content();n&&~[x.dollar,x.caret,x.equals,x.word].indexOf(n[g.FIELDS.TYPE]);){this.position++;var s=this.content();if(i+=s,s.lastIndexOf("\\")===s.length-1){var o=this.nextToken;o&&o[g.FIELDS.TYPE]===x.space&&(i+=this.requiredSpace(this.content(o)),this.position++)}n=this.nextToken}var c=O(i,".").filter((function(e){var t="\\"===i[e-1],r=/^\d+\.\d+%$/.test(i);return!t&&!r})),p=O(i,"#").filter((function(e){return"\\"!==i[e-1]})),h=O(i,"#{");h.length&&(p=p.filter((function(e){return!~h.indexOf(e)})));var d=(0,y.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((function(t,r){return r===e.indexOf(t)}))}([0].concat(c,p)));d.forEach((function(n,s){var o,h=d[s+1]||i.length,f=i.slice(n,h);if(0===s&&t)return t.call(r,f,d.length);var m=r.currToken,y=m[g.FIELDS.START_POS]+d[s],x=P(m[1],m[2]+n,m[3],m[2]+(h-1));if(~c.indexOf(n)){var v={value:f.slice(1),source:x,sourceIndex:y};o=new a.default(_(v,"value"))}else if(~p.indexOf(n)){var E={value:f.slice(1),source:x,sourceIndex:y};o=new l.default(_(E,"value"))}else{var b={value:f,source:x,sourceIndex:y};_(b,"value"),o=new u.default(b)}r.newNode(o,e),e=null})),this.position++},r.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},r.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},r.parse=function(e){switch(this.currToken[g.FIELDS.TYPE]){case x.space:this.space();break;case x.comment:this.comment();break;case x.openParenthesis:this.parentheses();break;case x.closeParenthesis:e&&this.missingParenthesis();break;case x.openSquare:this.attribute();break;case x.dollar:case x.caret:case x.equals:case x.word:this.word();break;case x.colon:this.pseudo();break;case x.comma:this.comma();break;case x.asterisk:this.universal();break;case x.ampersand:this.nesting();break;case x.slash:case x.combinator:this.combinator();break;case x.str:this.string();break;case x.closeSquare:this.missingSquareBracket();case x.semicolon:this.missingBackslash();default:this.unexpected()}},r.expected=function(e,t,r){if(Array.isArray(e)){var n=e.pop();e=e.join(", ")+" or "+n}var i=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+i+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+i+" "+e+".",{index:t})},r.requiredSpace=function(e){return this.options.lossy?" ":e},r.optionalSpace=function(e){return this.options.lossy?"":e},r.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},r.parseParenthesisToken=function(e){var t=this.content(e);return e[g.FIELDS.TYPE]===x.space?this.requiredSpace(t):t},r.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,_(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},r.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[g.FIELDS.START_POS],e[g.FIELDS.END_POS])},r.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!D[this.tokens[t][g.FIELDS.TYPE]])return t;t++}return-1},(t=[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}])&&function(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)}}(e.prototype,t),e}();t.default=F,e.exports=t.default}(zN,zN.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=zN.exports)&&r.__esModule?r:{default:r},i=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new n.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise((function(n,i){try{var s=r._root(e,t);Promise.resolve(r.func(s)).then((function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(i=s.toString(),e.selector=i),{transform:n,root:s,string:i}})).then(n,i)}catch(e){return void i(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=r.toString(),e.selector=i),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=i,e.exports=t.default}(VN,VN.exports);var E_={},b_={__esModule:!0};b_.universal=b_.tag=b_.string=b_.selector=b_.root=b_.pseudo=b_.nesting=b_.id=b_.comment=b_.combinator=b_.className=b_.attribute=void 0;var S_=I_(d_),T_=I_(a_.exports),A_=I_(m_.exports),D_=I_(o_.exports),C_=I_(l_.exports),w_=I_(y_.exports),P_=I_(h_.exports),k_=I_(XN.exports),N_=I_(s_.exports),__=I_(p_.exports),O_=I_(u_.exports),F_=I_(f_.exports);function I_(e){return e&&e.__esModule?e:{default:e}}b_.attribute=function(e){return new S_.default(e)},b_.className=function(e){return new T_.default(e)},b_.combinator=function(e){return new A_.default(e)},b_.comment=function(e){return new D_.default(e)},b_.id=function(e){return new C_.default(e)},b_.nesting=function(e){return new w_.default(e)},b_.pseudo=function(e){return new P_.default(e)},b_.root=function(e){return new k_.default(e)},b_.selector=function(e){return new N_.default(e)},b_.string=function(e){return new __.default(e)},b_.tag=function(e){return new O_.default(e)},b_.universal=function(e){return new F_.default(e)};var B_={__esModule:!0};B_.isNode=j_,B_.isPseudoElement=Z_,B_.isPseudoClass=function(e){return K_(e)&&!Z_(e)},B_.isContainer=function(e){return!(!j_(e)||!e.walk)},B_.isNamespace=function(e){return $_(e)||H_(e)},B_.isUniversal=B_.isTag=B_.isString=B_.isSelector=B_.isRoot=B_.isPseudo=B_.isNesting=B_.isIdentifier=B_.isComment=B_.isCombinator=B_.isClassName=B_.isAttribute=void 0;var L_,M_=i_,R_=((L_={})[M_.ATTRIBUTE]=!0,L_[M_.CLASS]=!0,L_[M_.COMBINATOR]=!0,L_[M_.COMMENT]=!0,L_[M_.ID]=!0,L_[M_.NESTING]=!0,L_[M_.PSEUDO]=!0,L_[M_.ROOT]=!0,L_[M_.SELECTOR]=!0,L_[M_.STRING]=!0,L_[M_.TAG]=!0,L_[M_.UNIVERSAL]=!0,L_);function j_(e){return"object"==typeof e&&R_[e.type]}function U_(e,t){return j_(t)&&t.type===e}var $_=U_.bind(null,M_.ATTRIBUTE);B_.isAttribute=$_;var q_=U_.bind(null,M_.CLASS);B_.isClassName=q_;var V_=U_.bind(null,M_.COMBINATOR);B_.isCombinator=V_;var z_=U_.bind(null,M_.COMMENT);B_.isComment=z_;var X_=U_.bind(null,M_.ID);B_.isIdentifier=X_;var J_=U_.bind(null,M_.NESTING);B_.isNesting=J_;var K_=U_.bind(null,M_.PSEUDO);B_.isPseudo=K_;var W_=U_.bind(null,M_.ROOT);B_.isRoot=W_;var G_=U_.bind(null,M_.SELECTOR);B_.isSelector=G_;var Y_=U_.bind(null,M_.STRING);B_.isString=Y_;var H_=U_.bind(null,M_.TAG);B_.isTag=H_;var Q_=U_.bind(null,M_.UNIVERSAL);function Z_(e){return K_(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}B_.isUniversal=Q_,function(e){e.__esModule=!0;var t=i_;Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(r in e&&e[r]===t[r]||(e[r]=t[r]))}));var r=b_;Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||(e[t]=r[t]))}));var n=B_;Object.keys(n).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===n[t]||(e[t]=n[t]))}))}(E_),function(e,t){t.__esModule=!0,t.default=void 0;var r,n=(r=VN.exports)&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(E_);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var a=function(e){return new n.default(e)};Object.assign(a,i),delete a.__esModule;var o=a;t.default=o,e.exports=t.default}(qN,qN.exports);var eO="(".charCodeAt(0),tO=")".charCodeAt(0),rO="'".charCodeAt(0),nO='"'.charCodeAt(0),iO="\\".charCodeAt(0),sO="/".charCodeAt(0),aO=",".charCodeAt(0),oO=":".charCodeAt(0),lO="*".charCodeAt(0),uO="u".charCodeAt(0),cO="U".charCodeAt(0),pO="+".charCodeAt(0),hO=/^[a-f0-9?-]+$/i;function dO(e,t){var r,n,i=e.type,s=e.value;return t&&void 0!==(n=t(e))?n:"word"===i||"space"===i?s:"string"===i?(r=e.quote||"")+s+(e.unclosed?"":r):"comment"===i?"/*"+s+(e.unclosed?"":"*/"):"div"===i?(e.before||"")+s+(e.after||""):Array.isArray(e.nodes)?(r=fO(e.nodes,t),"function"!==i?r:s+"("+(e.before||"")+r+(e.after||"")+(e.unclosed?"":")")):s}function fO(e,t){var r,n;if(Array.isArray(e)){for(r="",n=e.length-1;~n;n-=1)r=dO(e[n],t)+r;return r}return dO(e,t)}var mO=fO,yO="-".charCodeAt(0),gO="+".charCodeAt(0),xO=".".charCodeAt(0),vO="e".charCodeAt(0),EO="E".charCodeAt(0),bO=function e(t,r,n){var i,s,a,o;for(i=0,s=t.length;i<s;i+=1)a=t[i],n||(o=r(a,i,t)),!1!==o&&"function"===a.type&&Array.isArray(a.nodes)&&e(a.nodes,r,n),n&&r(a,i,t)},SO=mO;function TO(e){return this instanceof TO?(this.nodes=function(e){for(var t,r,n,i,s,a,o,l,u,c=[],p=e,h=0,d=p.charCodeAt(h),f=p.length,m=[{nodes:c}],y=0,g="",x="",v="";h<f;)if(d<=32){t=h;do{t+=1,d=p.charCodeAt(t)}while(d<=32);i=p.slice(h,t),n=c[c.length-1],d===tO&&y?v=i:n&&"div"===n.type?(n.after=i,n.sourceEndIndex+=i.length):d===aO||d===oO||d===sO&&p.charCodeAt(t+1)!==lO&&(!u||u&&"function"===u.type&&"calc"!==u.value)?x=i:c.push({type:"space",sourceIndex:h,sourceEndIndex:t,value:i}),h=t}else if(d===rO||d===nO){t=h,i={type:"string",sourceIndex:h,quote:r=d===rO?"'":'"'};do{if(s=!1,~(t=p.indexOf(r,t+1)))for(a=t;p.charCodeAt(a-1)===iO;)a-=1,s=!s;else t=(p+=r).length-1,i.unclosed=!0}while(s);i.value=p.slice(h+1,t),i.sourceEndIndex=i.unclosed?t:t+1,c.push(i),h=t+1,d=p.charCodeAt(h)}else if(d===sO&&p.charCodeAt(h+1)===lO)i={type:"comment",sourceIndex:h,sourceEndIndex:(t=p.indexOf("*/",h))+2},-1===t&&(i.unclosed=!0,t=p.length,i.sourceEndIndex=t),i.value=p.slice(h+2,t),c.push(i),h=t+2,d=p.charCodeAt(h);else if(d!==sO&&d!==lO||!u||"function"!==u.type||"calc"!==u.value)if(d===sO||d===aO||d===oO)i=p[h],c.push({type:"div",sourceIndex:h-x.length,sourceEndIndex:h+i.length,value:i,before:x,after:""}),x="",h+=1,d=p.charCodeAt(h);else if(eO===d){t=h;do{t+=1,d=p.charCodeAt(t)}while(d<=32);if(l=h,i={type:"function",sourceIndex:h-g.length,value:g,before:p.slice(l+1,t)},h=t,"url"===g&&d!==rO&&d!==nO){t-=1;do{if(s=!1,~(t=p.indexOf(")",t+1)))for(a=t;p.charCodeAt(a-1)===iO;)a-=1,s=!s;else t=(p+=")").length-1,i.unclosed=!0}while(s);o=t;do{o-=1,d=p.charCodeAt(o)}while(d<=32);l<o?(i.nodes=h!==o+1?[{type:"word",sourceIndex:h,sourceEndIndex:o+1,value:p.slice(h,o+1)}]:[],i.unclosed&&o+1!==t?(i.after="",i.nodes.push({type:"space",sourceIndex:o+1,sourceEndIndex:t,value:p.slice(o+1,t)})):(i.after=p.slice(o+1,t),i.sourceEndIndex=t)):(i.after="",i.nodes=[]),h=t+1,i.sourceEndIndex=i.unclosed?t:h,d=p.charCodeAt(h),c.push(i)}else y+=1,i.after="",i.sourceEndIndex=h+1,c.push(i),m.push(i),c=i.nodes=[],u=i;g=""}else if(tO===d&&y)h+=1,d=p.charCodeAt(h),u.after=v,u.sourceEndIndex+=v.length,v="",y-=1,m[m.length-1].sourceEndIndex=h,m.pop(),c=(u=m[y]).nodes;else{t=h;do{d===iO&&(t+=1),t+=1,d=p.charCodeAt(t)}while(t<f&&!(d<=32||d===rO||d===nO||d===aO||d===oO||d===sO||d===eO||d===lO&&u&&"function"===u.type&&"calc"===u.value||d===sO&&"function"===u.type&&"calc"===u.value||d===tO&&y));i=p.slice(h,t),eO===d?g=i:uO!==i.charCodeAt(0)&&cO!==i.charCodeAt(0)||pO!==i.charCodeAt(1)||!hO.test(i.slice(2))?c.push({type:"word",sourceIndex:h,sourceEndIndex:t,value:i}):c.push({type:"unicode-range",sourceIndex:h,sourceEndIndex:t,value:i}),h=t}else i=p[h],c.push({type:"word",sourceIndex:h-x.length,sourceEndIndex:h+i.length,value:i}),h+=1,d=p.charCodeAt(h);for(h=m.length-1;h;h-=1)m[h].unclosed=!0,m[h].sourceEndIndex=p.length;return m[0].nodes}(e),this):new TO(e)}TO.prototype.toString=function(){return Array.isArray(this.nodes)?SO(this.nodes):""},TO.prototype.walk=function(e,t){return bO(this.nodes,e,t),this},TO.unit=function(e){var t,r,n,i=0,s=e.length;if(0===s||!function(e){var t,r=e.charCodeAt(0);if(r===gO||r===yO){if((t=e.charCodeAt(1))>=48&&t<=57)return!0;var n=e.charCodeAt(2);return t===xO&&n>=48&&n<=57}return r===xO?(t=e.charCodeAt(1))>=48&&t<=57:r>=48&&r<=57}(e))return!1;for((t=e.charCodeAt(i))!==gO&&t!==yO||i++;i<s&&!((t=e.charCodeAt(i))<48||t>57);)i+=1;if(t=e.charCodeAt(i),r=e.charCodeAt(i+1),t===xO&&r>=48&&r<=57)for(i+=2;i<s&&!((t=e.charCodeAt(i))<48||t>57);)i+=1;if(t=e.charCodeAt(i),r=e.charCodeAt(i+1),n=e.charCodeAt(i+2),(t===vO||t===EO)&&(r>=48&&r<=57||(r===gO||r===yO)&&n>=48&&n<=57))for(i+=r===gO||r===yO?3:2;i<s&&!((t=e.charCodeAt(i))<48||t>57);)i+=1;return{number:e.slice(0,i),unit:e.slice(i)}},TO.walk=bO,TO.stringify=SO;let AO=/[$]?[\w-]+/g;var DO=(e,t)=>{let r;for(;r=AO.exec(e);){let n=t[r[0]];n&&(e=e.slice(0,r.index)+n+e.slice(AO.lastIndex),AO.lastIndex-=r[0].length-n.length)}return e};let CO=DO,wO=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/,PO=/^("[^"]*"|'[^']*'|[^"']+)$/,kO=e=>{let t={};return e.walkDecls((e=>{let r=e.raws.before?e.raws.before.trim():"";t[r+e.prop]=e.value})),t},NO=(e,t,r="rule")=>Object.keys(e).map((n=>{let i=e[n],s=Object.keys(i).map((e=>t.decl({prop:e,value:i[e],raws:{before:"\n  "}}))),a=s.length>0,o="rule"===r?t.rule({selector:`:import('${n}')`,raws:{after:a?"\n":""}}):t.atRule({name:"icss-import",params:`'${n}'`,raws:{after:a?"\n":""}});return a&&o.append(s),o})),_O=(e,t,r="rule")=>{let n=Object.keys(e).map((r=>t.decl({prop:r,value:e[r],raws:{before:"\n  "}})));if(0===n.length)return[];let i="rule"===r?t.rule({selector:":export",raws:{after:"\n"}}):t.atRule({name:"icss-export",raws:{after:"\n"}});return i.append(n),[i]};var OO={replaceValueSymbols:DO,replaceSymbols:(e,t)=>{e.walk((e=>{"decl"===e.type&&e.value?e.value=CO(e.value.toString(),t):"rule"===e.type&&e.selector?e.selector=CO(e.selector.toString(),t):"atrule"===e.type&&e.params&&(e.params=CO(e.params.toString(),t))}))},extractICSS:(e,t=!0,r="auto")=>{let n={},i={};function s(e,r){let i=r.replace(/'|"/g,"");n[i]=Object.assign(n[i]||{},kO(e)),t&&e.remove()}function a(e){Object.assign(i,kO(e)),t&&e.remove()}return e.each((e=>{if("rule"===e.type&&"at-rule"!==r){if(":import"===e.selector.slice(0,7)){let t=wO.exec(e.selector);t&&s(e,t[1])}":export"===e.selector&&a(e)}if("atrule"===e.type&&"rule"!==r){if("icss-import"===e.name){let t=PO.exec(e.params);t&&s(e,t[1])}"icss-export"===e.name&&a(e)}})),{icssImports:n,icssExports:i}},createICSSRules:(e,t,r,n)=>[...NO(e,r,n),..._O(t,r,n)]};let FO=qN.exports,IO=TO,{extractICSS:BO}=OO,LO=e=>"combinator"===e.type&&" "===e.value;function MO(e){let t=[];return e.forEach((e=>{Array.isArray(e)?MO(e).forEach((e=>{t.push(e)})):e&&t.push(e)})),t.length>0&&LO(t[t.length-1])&&t.pop(),t}function RO(e,t){switch(e.type){case"word":t.localizeNextItem&&(t.localAliasMap.has(e.value)||(e.value=":local("+e.value+")",t.localizeNextItem=!1));break;case"function":t.options&&t.options.rewriteUrl&&"url"===e.value.toLowerCase()&&e.nodes.map((e=>{if("string"!==e.type&&"word"!==e.type)return;let r=t.options.rewriteUrl(t.global,e.value);switch(e.type){case"string":"'"===e.quote&&(r=r.replace(/(\\)/g,"\\$1").replace(/'/g,"\\'")),'"'===e.quote&&(r=r.replace(/(\\)/g,"\\$1").replace(/"/g,'\\"'));break;case"word":r=r.replace(/("|'|\)|\\)/g,"\\$1")}e.value=r}))}return e}function jO(e,t,r){let n=IO(t.value);n.walk(((t,n,i)=>{let s={options:r.options,global:r.global,localizeNextItem:e&&!r.global,localAliasMap:r.localAliasMap};i[n]=RO(t,s)})),t.value=n.toString()}function UO(e,t){if(!/animation$/i.test(e.prop))return/animation(-name)?$/i.test(e.prop)?jO(!0,e,t):/url\(/i.test(e.value)?jO(!1,e,t):void 0;{let r=/^-?[_a-z][_a-z0-9-]*$/i,n={$alternate:1,"$alternate-reverse":1,$backwards:1,$both:1,$ease:1,"$ease-in":1,"$ease-in-out":1,"$ease-out":1,$forwards:1,$infinite:1,$linear:1,$none:1/0,$normal:1,$paused:1,$reverse:1,$running:1,"$step-end":1,"$step-start":1,$initial:1/0,$inherit:1/0,$unset:1/0},i={},s=null,a=IO(e.value).walk((e=>{"div"===e.type&&(i={}),"function"===e.type&&"steps"===e.value.toLowerCase()&&(s=e);let a="word"!==e.type||(o=e,(l=s)&&l.nodes.some((e=>e.sourceIndex===o.sourceIndex)))?null:e.value.toLowerCase();var o,l;let u=!1;return a&&r.test(a)&&("$"+a in n?(i["$"+a]="$"+a in i?i["$"+a]+1:0,u=i["$"+a]>=n["$"+a]):u=!0),RO(e,{options:t.options,global:t.global,localizeNextItem:u&&!t.global,localAliasMap:t.localAliasMap})}));e.value=a.toString()}}$N.exports=(e={})=>{if(e&&e.mode&&"global"!==e.mode&&"local"!==e.mode&&"pure"!==e.mode)throw new Error('options.mode must be either "global", "local" or "pure" (default "local")');let t=e&&"pure"===e.mode,r=e&&"global"===e.mode;return{postcssPlugin:"postcss-modules-local-by-default",prepare(){let n=new Map;return{Once(i){let{icssImports:s}=BO(i,!1);Object.keys(s).forEach((e=>{Object.keys(s[e]).forEach((t=>{n.set(t,s[e][t])}))})),i.walkAtRules((i=>{if(/keyframes$/i.test(i.name)){let s=/^\s*:global\s*\((.+)\)\s*$/.exec(i.params),a=/^\s*:local\s*\((.+)\)\s*$/.exec(i.params),o=r;if(s){if(t)throw i.error("@keyframes :global(...) is not allowed in pure mode");i.params=s[1],o=!0}else a?(i.params=a[0],o=!1):r||i.params&&!n.has(i.params)&&(i.params=":local("+i.params+")");i.walkDecls((t=>{UO(t,{localAliasMap:n,options:e,global:o})}))}else i.nodes&&i.nodes.forEach((t=>{"decl"===t.type&&UO(t,{localAliasMap:n,options:e,global:r})}))})),i.walkRules((r=>{if(r.parent&&"atrule"===r.parent.type&&/keyframes$/i.test(r.parent.name))return;let i=function(e,t,r){let n=(e,t)=>{if(t.ignoreNextSpacing&&!LO(e))throw new Error("Missing whitespace after "+t.ignoreNextSpacing);if(t.enforceNoSpacing&&LO(e))throw new Error("Missing whitespace before "+t.enforceNoSpacing);let i;switch(e.type){case"root":{let r;t.hasPureGlobals=!1,i=e.nodes.map((i=>{let s={global:t.global,lastWasSpacing:!0,hasLocals:!1,explicit:!1};if(i=n(i,s),void 0===r)r=s.global;else if(r!==s.global)throw new Error('Inconsistent rule global/local result in rule "'+e+'" (multiple selectors must result in the same mode for the rule)');return s.hasLocals||(t.hasPureGlobals=!0),i})),t.global=r,e.nodes=MO(i);break}case"selector":i=e.map((e=>n(e,t))),(e=e.clone()).nodes=MO(i);break;case"combinator":if(LO(e))return t.ignoreNextSpacing?(t.ignoreNextSpacing=!1,t.lastWasSpacing=!1,t.enforceNoSpacing=!1,null):(t.lastWasSpacing=!0,e);break;case"pseudo":{let r,s=!!e.length,a=":local"===e.value||":global"===e.value;if(":import"===e.value||":export"===e.value)t.hasLocals=!0;else{if(s){if(a){if(0===e.nodes.length)throw new Error(`${e.value}() can't be empty`);if(t.inside)throw new Error(`A ${e.value} is not allowed inside of a ${t.inside}(...)`);if(r={global:":global"===e.value,inside:e.value,hasLocals:!1,explicit:!0},i=e.map((e=>n(e,r))).reduce(((e,t)=>e.concat(t.nodes)),[]),i.length){let{before:t,after:r}=e.spaces,n=i[0],s=i[i.length-1];n.spaces={before:t,after:n.spaces.after},s.spaces={before:s.spaces.before,after:r}}e=i;break}r={global:t.global,inside:t.inside,lastWasSpacing:!0,hasLocals:!1,explicit:t.explicit},i=e.map((e=>n(e,r))),(e=e.clone()).nodes=MO(i),r.hasLocals&&(t.hasLocals=!0);break}if(a){if(t.inside)throw new Error(`A ${e.value} is not allowed inside of a ${t.inside}(...)`);let r=!!e.spaces.before;return t.ignoreNextSpacing=!!t.lastWasSpacing&&e.value,t.enforceNoSpacing=!t.lastWasSpacing&&e.value,t.global=":global"===e.value,t.explicit=!0,r?FO.combinator({value:" "}):null}}break}case"id":case"class":{if(!e.value)throw new Error("Invalid class or id selector syntax");if(t.global)break;let n=r.has(e.value),i=n&&t.explicit;if(!n||i){let r=e.clone();r.spaces={before:"",after:""},e=FO.pseudo({value:":local",nodes:[r],spaces:e.spaces}),t.hasLocals=!0}break}}return t.lastWasSpacing=!1,t.ignoreNextSpacing=!1,t.enforceNoSpacing=!1,e},i={global:"global"===t,hasPureGlobals:!1};return i.selector=FO((e=>{n(e,i)})).processSync(e,{updateSelector:!1,lossless:!0}),i}(r,e.mode,n);if(i.options=e,i.localAliasMap=n,t&&i.hasPureGlobals)throw r.error('Selector "'+r.selector+'" is not pure (pure selectors must contain at least one local class or id)');r.selector=i.selector,r.nodes&&r.nodes.forEach((e=>UO(e,i)))}))}}}}},$N.exports.postcss=!0;var $O={exports:{}};function qO(e,t,r,n,i){if(2===r[e])return;if(1===r[e])return i?function(e,t){let r=new Error("Nondeterministic import's order"),n=t[e].find((r=>t[r].indexOf(e)>-1));return r.nodes=[e,n],r}(e,t):void 0;r[e]=1;let s=t[e],a=s.length;for(let e=0;e<a;++e){let a=qO(s[e],t,r,n,i);if(a instanceof Error)return a}r[e]=2,n.push(e)}let VO=function(e,t){let r=[],n={},i=Object.keys(e),s=i.length;for(let a=0;a<s;++a){let s=qO(i[a],e,n,r,t);if(s instanceof Error)return s}return r},zO=/^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/,XO=/^:import\((?:"([^"]+)"|'([^']+)')\)/;function JO(e,t,r,n){let i=t+"_siblings",s=t+"_"+e;if(1!==n[s]){Array.isArray(n[i])||(n[i]=[]);let t=n[i];Array.isArray(r[e])?r[e]=r[e].concat(t):r[e]=t.slice(),n[s]=1,t.push(e)}}$O.exports=(e={})=>{let t=0,r="function"!=typeof e.createImportedName?e=>`i__imported_${e.replace(/\W/g,"_")}_${t++}`:e.createImportedName,n=e.failOnWrongOrder;return{postcssPlugin:"postcss-modules-extract-imports",prepare(){let e={},t={},i={},s={},a={};return{Once(o,l){o.walkRules((r=>{let n=XO.exec(r.selector);if(n){let[,s,a]=n,o=s||a;JO(o,"root",e,t),i[o]=r}})),o.walkDecls(/^composes$/,(n=>{let i=n.value.match(zO);if(!i)return;let o,[,l,u,c,p]=i;if(p)o=l.split(/\s+/).map((e=>`global(${e})`));else{let i=u||c,p=n.parent,h="";for(;"root"!==p.type;)h=p.parent.index(p)+"_"+h,p=p.parent;let{selector:d}=n.parent;JO(i,`_${h}${d}`,e,t),s[i]=n,a[i]=a[i]||{},o=l.split(/\s+/).map((e=>(a[i][e]||(a[i][e]=r(e,i)),a[i][e])))}n.value=o.join(" ")}));let u,c=VO(e,n);if(c instanceof Error){let e=c.nodes.find((e=>s.hasOwnProperty(e)));throw s[e].error("Failed to resolve order of composed modules "+c.nodes.map((e=>"`"+e+"`")).join(", ")+".",{plugin:"postcss-modules-extract-imports",word:"composes"})}c.forEach((e=>{let t=a[e],r=i[e];!r&&t&&(r=l.rule({selector:`:import("${e}")`,raws:{after:"\n"}}),u?o.insertAfter(u,r):o.prepend(r)),u=r,t&&Object.keys(t).forEach((e=>{r.append(l.decl({value:e,prop:t[e],raws:{before:"\n  "}}))}))}))}}}}},$O.exports.postcss=!0;let KO=qN.exports,WO=Object.prototype.hasOwnProperty,GO=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig");function YO(e){return e.replace(GO,((e,t,r)=>{let n="0x"+t-65536;return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}))}let HO=(e={})=>{let t=e&&e.generateScopedName||HO.generateScopedName,r=e&&e.generateExportEntry||HO.generateExportEntry,n=e&&e.exportGlobals;return{postcssPlugin:"postcss-modules-scope",Once(e,{rule:i}){let s=Object.create(null);function a(n,i){let a=t(i||n,e.source.input.from,e.source.input.css),o=r(i||n,a,e.source.input.from,e.source.input.css),{key:l,value:u}=o;return s[l]=s[l]||[],s[l].indexOf(u)<0&&s[l].push(u),a}function o(e){switch(e.type){case"selector":return e.nodes=e.map(o),e;case"class":return KO.className({value:a(e.value,e.raws&&e.raws.value?e.raws.value:null)});case"id":return KO.id({value:a(e.value,e.raws&&e.raws.value?e.raws.value:null)})}throw new Error(`${e.type} ("${e}") is not allowed in a :local block`)}function l(e){switch(e.type){case"pseudo":if(":local"===e.value){if(1!==e.nodes.length)throw new Error('Unexpected comma (",") in :local block');let t=o(e.first,e.spaces);t.first.spaces=e.spaces;let r=e.next();return r&&"combinator"===r.type&&" "===r.value&&/\\[A-F0-9]{1,6}$/.test(t.last.value)&&(t.last.spaces.after=" "),void e.replaceWith(t)}case"root":case"selector":e.each(l);break;case"id":case"class":n&&(s[e.value]=[e.value])}return e}let u={};e.walkRules(/^:import\(.+\)$/,(e=>{e.walkDecls((e=>{u[e.prop]=!0}))})),e.walkRules((e=>{let t=KO().astSync(e);e.selector=l(t.clone()).toString(),e.walkDecls(/composes|compose-with/i,(e=>{let r=(n=t).nodes.map((e=>{if("selector"!==e.type||1!==e.nodes.length)throw new Error(`composition is only allowed when selector is single :local class name not in "${n}"`);if("pseudo"!==(e=e.nodes[0]).type||":local"!==e.value||1!==e.nodes.length)throw new Error('composition is only allowed when selector is single :local class name not in "'+n+'", "'+e+'" is weird');if("selector"!==(e=e.first).type||1!==e.length)throw new Error('composition is only allowed when selector is single :local class name not in "'+n+'", "'+e+'" is weird');if("class"!==(e=e.first).type)throw new Error('composition is only allowed when selector is single :local class name not in "'+n+'", "'+e+'" is weird');return e.value}));var n;e.value.split(/\s+/).forEach((t=>{let n=/^global\(([^)]+)\)$/.exec(t);if(n)r.forEach((e=>{s[e].push(n[1])}));else if(WO.call(u,t))r.forEach((e=>{s[e].push(t)}));else{if(!WO.call(s,t))throw e.error(`referenced class name "${t}" in ${e.prop} not found`);r.forEach((e=>{s[t].forEach((t=>{s[e].push(t)}))}))}})),e.remove()})),e.walkDecls((e=>{if(!/:local\s*\((.+?)\)/.test(e.value))return;let t=e.value.split(/(,|'[^']*'|"[^"]*")/);t=t.map(((e,r)=>{if(0===r||","===t[r-1]){let t=e,r=/:local\s*\((.+?)\)/.exec(e);if(!r)return e;{let e=r.input,n=r[0],i=a(r[1]);t=e.replace(n,i)}return t}return e})),e.value=t.join("")}))})),e.walkAtRules(/keyframes$/i,(e=>{let t=/^\s*:local\s*\((.+?)\)\s*$/.exec(e.params);t&&(e.params=a(t[1]))}));let c=Object.keys(s);if(c.length>0){let t=i({selector:":export"});c.forEach((e=>t.append({prop:e,value:s[e].join(" "),raws:{before:"\n  "}}))),e.append(t)}}}};HO.postcss=!0,HO.generateScopedName=function(e,t){return`_${t.replace(/\.[^./\\]+$/,"").replace(/[\W_]+/g,"_").replace(/^_|_$/g,"")}__${e}`.trim()},HO.generateExportEntry=function(e,t){return{key:YO(e),value:YO(t)}};var QO=HO,ZO={exports:{}};let eF=OO,tF=/^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/,rF=/(?:\s+|^)([\w-]+):?(.*?)$/,nF=/^([\w-]+)(?:\s+as\s+([\w-]+))?/;ZO.exports=e=>{let t=0,r=e&&e.createImportedName||(e=>`i__const_${e.replace(/\W/g,"_")}_${t++}`);return{postcssPlugin:"postcss-modules-values",prepare(e){let t=[],n={};return{Once(i,s){if(i.walkAtRules(/value/i,(i=>{let s=i.params.match(tF);if(s){let[,e,a]=s;n[a]&&(a=n[a]);let o=e.replace(/^\(\s*([\s\S]+)\s*\)$/,"$1").split(/\s*,\s*/).map((e=>{let t=nF.exec(e);if(t){let[,e,i=e]=t,s=r(i);return n[i]=s,{theirName:e,importedName:s}}throw new Error(`@import statement "${e}" is invalid!`)}));return t.push({path:a,imports:o}),void i.remove()}-1!==i.params.indexOf("@value")&&e.warn("Invalid value definition: "+i.params);let[,a,o]=`${i.params}${i.raws.between}`.match(rF),l=o.replace(/\/\*((?!\*\/).*?)\*\//g,"");if(0===l.length)return e.warn("Invalid value definition: "+i.params),void i.remove();/^\s+$/.test(l)||(o=o.trim()),n[a]=eF.replaceValueSymbols(o,n),i.remove()})),!Object.keys(n).length)return;eF.replaceSymbols(i,n);let a=Object.keys(n).map((e=>s.decl({value:n[e],prop:e,raws:{before:"\n  "}})));if(a.length>0){let e=s.rule({selector:":export",raws:{after:"\n"}});e.append(a),i.prepend(e)}t.reverse().forEach((({path:e,imports:t})=>{let r=s.rule({selector:`:import(${e})`,raws:{after:"\n"}});t.forEach((({theirName:e,importedName:t})=>{r.append({value:e,prop:t,raws:{before:"\n  "}})})),i.prepend(r)}))}}}}},ZO.exports.postcss=!0,Object.defineProperty(UN,"__esModule",{value:!0}),UN.behaviours=void 0,UN.getDefaultPlugins=function({behaviour:e,generateScopedName:t,exportGlobals:r}){let n=(0,aF.default)({generateScopedName:t,exportGlobals:r});return{[uF.LOCAL]:[oF.default,iF.default,sF.default,n],[uF.GLOBAL]:[oF.default,sF.default,n]}[e]},UN.isValidBehaviour=function(e){return Object.keys(uF).map((e=>uF[e])).indexOf(e)>-1};var iF=lF($N.exports),sF=lF($O.exports),aF=lF(QO),oF=lF(ZO.exports);function lF(e){return e&&e.__esModule?e:{default:e}}let uF=UN.behaviours={LOCAL:"local",GLOBAL:"global"};var cF=xF(hC),pF=xF($k),hF=xF((function(e,t){var r=(t=t||{})&&"string"==typeof t.context?t.context:w.cwd(),n=t&&"string"==typeof t.hashPrefix?t.hashPrefix:"";return function(t,i){var s=e.replace(/\[local\]/gi,t),a={resourcePath:i},o={content:n+vN.relative(r,i).replace(/\\/g,"/")+"+"+t,context:r};return xN(a,s,o).replace(new RegExp("[^a-zA-Z0-9\\-_ -￿]","g"),"-").replace(/^((-?[0-9])|--)/,"_$1")}})),dF=xF(EN),fF=xF(wN),mF=xF(LN),yF=xF(RN),gF=UN;function xF(e){return e&&e.__esModule?e:{default:e}}let vF="postcss-modules";function EF(e){return e.replace(/-+(\w)/g,((e,t)=>t.toUpperCase()))}HP.exports=(e={})=>({postcssPlugin:vF,OnceExit(t,{result:r}){return(n=function*(){let n=e.getJSON||yF.default,i=t.source.input.file,s=function(e,t){let r=e.globalModulePaths||null,n=e.exportGlobals||!1,i=(a=e).scopeBehaviour&&(0,gF.isValidBehaviour)(a.scopeBehaviour)?a.scopeBehaviour:gF.behaviours.LOCAL,s=function(e){let t=e.generateScopedName||mF.default;return"function"==typeof t?t:(0,hF.default)(t,{context:w.cwd(),hashPrefix:e.hashPrefix})}(e);var a;return r&&function(e,t){return e.some((e=>t.match(e)))}(r,t)?(0,gF.getDefaultPlugins)({behaviour:gF.behaviours.GLOBAL,generateScopedName:s,exportGlobals:n}):(0,gF.getDefaultPlugins)({behaviour:i,generateScopedName:s,exportGlobals:n})}(e,i),a=r.processor.plugins.findIndex((function(e){return e.postcssPlugin===vF}));if(-1===a)throw new Error("Plugin missing from options.");let o=[...r.processor.plugins.slice(0,a),...s],l=function(e,t){let r=void 0===e.root?"/":e.root;return"function"==typeof e.Loader?new e.Loader(r,t):new fF.default(r,t)}(e,o),u=new dF.default(l.fetch.bind(l));yield(0,cF.default)([...s,u.plugin()]).process(t,{from:i});let c=l.finalSource;if(c&&t.prepend(c),e.localsConvention){let t="function"==typeof e.localsConvention;u.exportTokens=Object.entries(u.exportTokens).reduce((function(r,[n,s]){if(t)return r[e.localsConvention(n,s,i)]=s,r;switch(e.localsConvention){case"camelCase":r[n]=s,r[(0,pF.default)(n)]=s;break;case"camelCaseOnly":r[(0,pF.default)(n)]=s;break;case"dashes":r[n]=s,r[EF(n)]=s;break;case"dashesOnly":r[EF(n)]=s}return r}),{})}return r.messages.push({type:"export",plugin:"postcss-modules",exportTokens:u.exportTokens}),n(t.source.input.file,u.exportTokens,r.opts.to)},function(){var e=n.apply(this,arguments);return new Promise((function(t,r){return function n(i,s){try{var a=e[i](s),o=a.value}catch(e){return void r(e)}if(!a.done)return Promise.resolve(o).then((function(e){n("next",e)}),(function(e){n("throw",e)}));t(o)}("next")}))})();var n}}),HP.exports.postcss=!0,Object.defineProperty(By,"__esModule",{value:!0});var bF=gb,SF=_r,TF=function(e){return function(e){for(;e.length<8;)e="0"+e;return e}(vb(0,e,"",[]).toString(16))},AF=Ib,DF=Bb,CF=vS,wF=ES,PF=bS,kF=hC,NF=dC.exports,_F=function(e,t){if(!e)return t;if(!t)return e;var r=new oP(e),n=new oP(t),i=new lP;return n.eachMapping((function(e){if(null!=e.originalLine){var t=r.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=t.source&&i.addMapping({original:{line:t.line,column:t.column},generated:{line:e.generatedLine,column:e.generatedColumn},source:t.source,name:t.name})}})),[r,n].forEach((function(e){e.sources.forEach((function(t){i._sources.add(t);var r=e.sourceContentFor(t);null!=r&&i.setSourceContent(t,r)}))})),i._sourceRoot=e.sourceRoot,i._file=e.file,JSON.parse(i.toString())},OF=DP,FF=ja,IF=CP;function BF(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function LF(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){t[r]=e[r]})),t.default=e,Object.freeze(t)}var MF=LF(bF),RF=BF(TF),jF=BF(AF),UF=LF(PF),$F=BF(kF),qF=BF(NF),VF=BF(_F),zF=BF(OF);let XF=/\bv-bind\(\s*(?:'([^']+)'|"([^"]+)"|([^'"][^)]*))\s*\)/g;function JF(e,t,r){return`{\n  ${e.map((e=>`"${KF(t,e,r)}": (${e})`)).join(",\n  ")}\n}`}function KF(e,t,r){return r?RF(e+t):`${e}-${t.replace(/([^\w-])/g,"_")}`}let WF=e=>{let{id:t,isProd:r}=e;return{postcssPlugin:"vue-sfc-vars",Declaration(e){XF.test(e.value)&&(e.value=e.value.replace(XF,((e,n,i,s)=>`var(--${KF(t,n||i||s,r)})`)))}}};function GF(e,t,r,n){let i=JF(e,r,n),s=bF.createSimpleExpression(i,!1),a=bF.createTransformContext(bF.createRoot([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:t}),o=bF.processExpression(s,a);return`_useCssVars(_ctx => (${4===o.type?o.content:o.children.map((e=>"string"==typeof e?e:e.content)).join("")}))`}WF.postcss=!0;let YF={};function HF(e){void 0!==w&&"production"===w.env.NODE_ENV||YF[e]||(YF[e]=!0,QF(e))}function QF(e){console.warn(`[1m[33m[@vue/compiler-sfc][0m[33m ${e}[0m\n`)}function ZF(e,t){typeof window>"u"&&(HF(`${e} is still an experimental proposal.\nFollow its status at https://github.com/vuejs/rfcs/pull/${t}.`),HF("When using experimental features,\nit is recommended to pin your vue dependencies to exact versions to avoid breakage."))}let eI=new class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[IP]=e.max||1/0;let t=e.length||zP;if(this[LP]="function"!=typeof t?zP:t,this[MP]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[RP]=e.maxAge||0,this[jP]=e.dispose,this[UP]=e.noDisposeOnSet||!1,this[VP]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[IP]=e||1/0,KP(this)}get max(){return this[IP]}set allowStale(e){this[MP]=!!e}get allowStale(){return this[MP]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[RP]=e,KP(this)}get maxAge(){return this[RP]}set lengthCalculator(e){"function"!=typeof e&&(e=zP),e!==this[LP]&&(this[LP]=e,this[BP]=0,this[$P].forEach((e=>{e.length=this[LP](e.value,e.key),this[BP]+=e.length}))),KP(this)}get lengthCalculator(){return this[LP]}get length(){return this[BP]}get itemCount(){return this[$P].length}rforEach(e,t){t=t||this;for(let r=this[$P].tail;null!==r;){let n=r.prev;YP(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[$P].head;null!==r;){let n=r.next;YP(this,e,r,t),r=n}}keys(){return this[$P].toArray().map((e=>e.key))}values(){return this[$P].toArray().map((e=>e.value))}reset(){this[jP]&&this[$P]&&this[$P].length&&this[$P].forEach((e=>this[jP](e.key,e.value))),this[qP]=new Map,this[$P]=new FP,this[BP]=0}dump(){return this[$P].map((e=>!JP(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[$P]}set(e,t,r){if((r=r||this[RP])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");let n=r?Date.now():0,i=this[LP](t,e);if(this[qP].has(e)){if(i>this[IP])return WP(this,this[qP].get(e)),!1;let s=this[qP].get(e).value;return this[jP]&&(this[UP]||this[jP](e,s.value)),s.now=n,s.maxAge=r,s.value=t,this[BP]+=i-s.length,s.length=i,this.get(e),KP(this),!0}let s=new GP(e,t,i,n,r);return s.length>this[IP]?(this[jP]&&this[jP](e,t),!1):(this[BP]+=s.length,this[$P].unshift(s),this[qP].set(e,this[$P].head),KP(this),!0)}has(e){if(!this[qP].has(e))return!1;let t=this[qP].get(e).value;return!JP(this,t)}get(e){return XP(this,e,!0)}peek(e){return XP(this,e,!1)}pop(){let e=this[$P].tail;return e?(WP(this,e),e.value):null}del(e){WP(this,this[qP].get(e))}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[qP].forEach(((e,t)=>XP(this,t,!1)))}}(500);function tI(e,t=!1){let r=new SyntaxError(`Single file component can contain only one <${e.tag}${t?" setup":""}> element`);return r.loc=e.loc,r}function rI(e,t,r){let n=e.tag,{start:i,end:s}=e.loc,a="";e.children.length&&(i=e.children[0].loc.start,s=e.children[e.children.length-1].loc.end,a=t.slice(i.offset,s.offset));let o={},l={type:n,content:a,loc:{source:a,start:i,end:s},attrs:o};return r&&(l.content=function(e,t,r){if(e=e.slice(0,t.loc.start.offset),"space"===r)return e.replace(sI," ");{let r=e.split(nI).length,n="script"!==t.type||t.lang?"\n":"//\n";return Array(r).join(n)}}(t,l,r)+l.content),e.props.forEach((e=>{6===e.type&&(o[e.name]=e.value&&e.value.content||!0,"lang"===e.name?l.lang=e.value&&e.value.content:"src"===e.name?l.src=e.value&&e.value.content:"style"===n?"scoped"===e.name?l.scoped=!0:"module"===e.name&&(l.module=o[e.name]):"script"===n&&"setup"===e.name&&(l.setup=o.setup))})),l}let nI=/\r?\n/g,iI=/^(?:\/\/)?\s*$/,sI=/./g;function aI(e){let t=e.charAt(0);return"."===t||"~"===t||"@"===t}let oI=/^https?:\/\//;function lI(e){return oI.test(e)}let uI=/^\s*data:/i;function cI(e){return uI.test(e)}function pI(e){if("~"===e.charAt(0)){let t=e.charAt(1);e=e.slice("/"===t?2:1)}return function(e){return CF.parse(wF.isString(e)?e:"",!1,!0)}(e)}let hI={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},dI=e=>(t,r)=>fI(t,r,e),fI=(e,t,r=hI)=>{if(1===e.type){if(!e.props.length)return;let n=r.tags||hI.tags,i=n[e.tag],s=n["*"];if(!i&&!s)return;let a=(i||[]).concat(s||[]);e.props.forEach(((n,i)=>{if(6!==n.type||!a.includes(n.name)||!n.value||lI(n.value.content)||cI(n.value.content)||"#"===n.value.content[0]||!r.includeAbsolute&&!aI(n.value.content))return;let s=pI(n.value.content);if(r.base&&"."===n.value.content[0]){let e=pI(r.base),t=e.protocol||"",i=e.host?t+"//"+e.host:"",a=e.path||"/";return void(n.value.content=i+(jF.posix||jF).join(a,s.path+(s.hash||"")))}let o=function(e,t,r,n){if(e){let i=n.imports.find((t=>t.path===e));if(i)return i.exp;let s=`_imports_${n.imports.length}`,a=DF.createSimpleExpression(s,!1,r,2);return n.imports.push({exp:a,path:e}),t&&e?n.hoist(DF.createSimpleExpression(`${s} + '${t}'`,!1,r,2)):a}return DF.createSimpleExpression("''",!1,r,2)}(s.path,s.hash,n.loc,t);e.props[i]={type:7,name:"bind",arg:DF.createSimpleExpression(n.name,!0,n.loc),exp:o,modifiers:[],loc:n.loc}}))}},mI=["img","source"],yI=/( |\\t|\\n|\\f|\\r)+/g,gI=e=>(t,r)=>xI(t,r,e),xI=(e,t,r=hI)=>{1===e.type&&mI.includes(e.tag)&&e.props.length&&e.props.forEach(((n,i)=>{if("srcset"===n.name&&6===n.type){if(!n.value)return;let s=n.value.content;if(!s)return;let a=s.split(",").map((e=>{let[t,r]=e.replace(yI," ").trim().split(" ",2);return{url:t,descriptor:r}}));for(let e=0;e<a.length;e++){let{url:t}=a[e];cI(t)&&(a[e+1].url=t+","+a[e+1].url,a.splice(e,1))}if(!a.some((({url:e})=>!lI(e)&&!cI(e)&&(r.includeAbsolute||aI(e)))))return;if(r.base){let e=r.base,t=[];return a.forEach((({url:r,descriptor:n})=>{n=n?` ${n}`:"",aI(r)?t.push((jF.posix||jF).join(e,r)+n):t.push(r+n)})),void(n.value.content=t.join(", "))}let o=DF.createCompoundExpression([],n.loc);a.forEach((({url:e,descriptor:i},s)=>{if(lI(e)||cI(e)||!r.includeAbsolute&&!aI(e)){let t=DF.createSimpleExpression(`"${e}"`,!1,n.loc,2);o.children.push(t)}else{let r,{path:i}=pI(e);if(i){let e=t.imports.findIndex((e=>e.path===i));e>-1?r=DF.createSimpleExpression(`_imports_${e}`,!1,n.loc,2):(r=DF.createSimpleExpression(`_imports_${t.imports.length}`,!1,n.loc,2),t.imports.push({exp:r,path:i})),o.children.push(r)}}let l=a.length-1>s;i&&l?o.children.push(` + ' ${i}, ' + `):i?o.children.push(` + ' ${i}'`):l&&o.children.push(" + ', ' + ")}));let l=t.hoist(o);l.constType=2,e.props[i]={type:7,name:"bind",arg:DF.createSimpleExpression("srcset",!0,n.loc),exp:l,modifiers:[],loc:n.loc}}}))};function vI({source:e,filename:t,preprocessOptions:r},n){let i="",s=null;if(n.render(e,{filename:t,...r},((e,t)=>{e&&(s=e),i=t})),s)throw s;return i}function EI(e){let{preprocessLang:t,preprocessCustomRequire:r}=e,n=!!t&&(r?r(t):{});if(!n)return t?{code:"export default function render() {}",source:e.source,tips:[`Component ${e.filename} uses lang ${t} for template. Please install the language preprocessor.`],errors:[`Component ${e.filename} uses lang ${t} for template, however it is not installed.`]}:bI(e);try{return bI({...e,source:vI(e,n)})}catch(t){return{code:"export default function render() {}",source:e.source,tips:[],errors:[t]}}}function bI({filename:e,id:t,scoped:r,slotted:n,inMap:i,source:s,ssr:a=!1,ssrCssVars:o,isProd:l=!1,compiler:u=(a?UF:MF),compilerOptions:c={},transformAssetUrls:p}){let h=[],d=[];if(wF.isObject(p)){let e=(f=p,Object.keys(f).some((e=>wF.isArray(f[e])))?{...hI,tags:f}:{...hI,...f});d=[dI(e),gI(e)]}else!1!==p&&(d=[fI,xI]);var f;a&&!o&&HF("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option.`."),t||(HF("compileTemplate now requires the `id` option.`."),t="");let m=t.replace(/^data-v-/,""),y=`data-v-${m}`,{code:g,ast:x,preamble:v,map:E}=u.compile(s,{mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:a&&o&&o.length?JF(o,m,l):"",scopeId:r?y:void 0,slotted:n,...c,nodeTransforms:d.concat(c.nodeTransforms||[]),filename:e,sourceMap:!0,onError:e=>h.push(e)});return i&&(E&&(E=function(e,t){if(!e)return t;if(!t)return e;let r=new SF.SourceMapConsumer(e),n=new SF.SourceMapConsumer(t),i=new SF.SourceMapGenerator;n.eachMapping((e=>{if(null==e.originalLine)return;let t=r.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=t.source&&i.addMapping({generated:{line:e.generatedLine,column:e.generatedColumn},original:{line:t.line,column:e.originalColumn},source:t.source,name:t.name})}));let s=i;return r.sources.forEach((e=>{s._sources.add(e);let t=r.sourceContentFor(e);null!=t&&i.setSourceContent(e,t)})),s._sourceRoot=e.sourceRoot,s._file=e.file,s.toJSON()}(i,E)),h.length&&function(e,t,r){let n=r.sourcesContent[0],i=n.indexOf(t),s=n.slice(0,i).split(/\r?\n/).length-1;e.forEach((e=>{e.loc&&(e.loc.start.line+=s,e.loc.start.offset+=i,e.loc.end!==e.loc.start&&(e.loc.end.line+=s,e.loc.end.offset+=i))}))}(h,s,i)),{code:g,ast:x,preamble:v,source:s,errors:h,tips:[],map:E}}let SI=()=>({postcssPlugin:"vue-sfc-trim",Once(e){e.walk((({type:e,raws:t})=>{"rule"!==e&&"atrule"!==e||(t.before&&(t.before="\n"),"after"in t&&t.after&&(t.after="\n"))}))}});SI.postcss=!0;let TI=/^(-\w+-)?animation-name$/,AI=/^(-\w+-)?animation$/,DI=(e="")=>{let t=Object.create(null),r=e.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(t){var r,n;r=e,n=t,CI.has(n)||n.parent&&"atrule"===n.parent.type&&/-?keyframes$/.test(n.parent.name)||(CI.add(n),n.selector=qF((e=>{e.each((t=>{wI(r,t,e)}))})).processSync(n.selector))},AtRule(e){/-?keyframes$/.test(e.name)&&!e.params.endsWith(`-${r}`)&&(t[e.params]=e.params=e.params+"-"+r)},OnceExit(e){Object.keys(t).length&&e.walkDecls((e=>{TI.test(e.prop)&&(e.value=e.value.split(",").map((e=>t[e.trim()]||e.trim())).join(",")),AI.test(e.prop)&&(e.value=e.value.split(",").map((e=>{let r=e.trim().split(/\s+/),n=r.findIndex((e=>t[e]));return-1!==n?(r.splice(n,1,t[r[n]]),r.join(" ")):e})).join(","))}))}}},CI=new WeakSet;function wI(e,t,r,n=!1){let i=null,s=!0;if(t.each((n=>{if("combinator"===n.type&&(">>>"===n.value||"/deep/"===n.value))return n.value=" ",n.spaces.before=n.spaces.after="",QF("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if("pseudo"===n.type){let{value:i}=n;if(":deep"===i||"::v-deep"===i){if(n.nodes.length){let e=n;n.nodes[0].each((r=>{t.insertAfter(e,r),e=r}));let r=t.at(t.index(n)-1);r&&PI(r)||t.insertAfter(n,qF.combinator({value:" "})),t.removeChild(n)}else{QF("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");let e=t.at(t.index(n)-1);e&&PI(e)&&t.removeChild(e),t.removeChild(n)}return!1}if(":slotted"===i||"::v-slotted"===i){wI(e,n.nodes[0],r,!0);let i=n;return n.nodes[0].each((e=>{t.insertAfter(i,e),i=e})),t.removeChild(n),s=!1,!1}if(":global"===i||"::v-global"===i)return r.insertAfter(t,n.nodes[0]),r.removeChild(t),!1}"pseudo"!==n.type&&"combinator"!==n.type&&(i=n)})),i?i.spaces.after="":t.first.spaces.before="",s){let r=n?e+"-s":e;t.insertAfter(i,qF.attribute({attribute:r,value:r,raws:{},quoteMark:'"'}))}}function PI(e){return"combinator"===e.type&&/^\s+$/.test(e.value)}DI.postcss=!0;let kI=(e,t,r,n)=>{let i=n("sass"),s={...r,data:_I(e,r.filename,r.additionalData),file:r.filename,outFile:r.filename,sourceMap:!!t};try{let e=i.renderSync(s),r=e.stats.includedFiles;return t?{code:e.css.toString(),map:VF(t,JSON.parse(e.map.toString())),errors:[],dependencies:r}:{code:e.css.toString(),errors:[],dependencies:r}}catch(e){return{code:"",errors:[e],dependencies:[]}}},NI=(e,t,r,n)=>{let i=n("stylus");try{let n=i(e);Object.keys(r).forEach((e=>n.set(e,r[e]))),t&&n.set("sourcemap",{inline:!1,comment:!1});let s=n.render(),a=n.deps();return t?{code:s,map:VF(t,n.sourcemap),errors:[],dependencies:a}:{code:s,errors:[],dependencies:a}}catch(e){return{code:"",errors:[e],dependencies:[]}}};function _I(e,t,r){return r?wF.isFunction(r)?r(e,t):r+e:e}let OI={less:(e,t,r,n)=>{let i,s=n("less"),a=null;if(s.render(_I(e,r.filename,r.additionalData),{...r,syncImport:!0},((e,t)=>{a=e,i=t})),a)return{code:"",errors:[a],dependencies:[]};let o=i.imports;return t?{code:i.css.toString(),map:VF(t,i.map),errors:[],dependencies:o}:{code:i.css.toString(),errors:[],dependencies:o}},sass:(e,t,r,n)=>kI(e,t,{...r,indentedSyntax:!0},n),scss:kI,styl:NI,stylus:NI};function FI(e){let t,{filename:r,id:n,scoped:i=!1,trim:s=!0,isProd:a=!1,modules:o=!1,modulesOptions:l={},preprocessLang:u,postcssOptions:c,postcssPlugins:p}=e,h=u&&OI[u],d=h&&h((v=e).source,v.inMap||v.map,{filename:v.filename,...v.preprocessOptions},v.preprocessCustomRequire),f=d?d.map:e.inMap||e.map,m=d?d.code:e.source,y=n.replace(/^data-v-/,""),g=`data-v-${y}`,x=(p||[]).slice();var v;if(x.unshift(WF({id:y,isProd:a})),s&&x.push(SI()),i&&x.push(DI(g)),o){if(!e.isAsync)throw new Error("[@vue/compiler-sfc] `modules` option can only be used with compileStyleAsync().");x.push(HP.exports({...l,getJSON:(e,r)=>{t=r}}))}let E,b,S,T={...c,to:r,from:r};f&&(T.map={inline:!1,annotation:!1,prev:f});let A=new Set(d?d.dependencies:[]);A.delete(r);let D=[];d&&d.errors.length&&D.push(...d.errors);let C=e=>(e.forEach((e=>{"dependency"===e.type&&A.add(e.file)})),A);try{if(E=$F(x).process(m,T),e.isAsync)return E.then((e=>({code:e.css||"",map:e.map&&e.map.toJSON(),errors:D,modules:t,rawResult:e,dependencies:C(e.messages)}))).catch((e=>({code:"",map:void 0,errors:[...D,e],rawResult:void 0,dependencies:A})));C(E.messages),b=E.css,S=E.map}catch(v){D.push(v)}return{code:b||"",map:S&&S.toJSON(),errors:D,rawResult:E,dependencies:A}}let II=/((?:^|\n|;)\s*)export(\s*)default/,BI=/((?:^|\n|;)\s*)export(.+)as(\s*)default/,LI=/((?:^|\n|;)\s*)export\s+default\s+class\s+([\w$]+)/;function MI(e,t,r){if(!RI(e))return e+`\nconst ${t} = {}`;let n,i=e.match(LI);if(n=i?e.replace(LI,"$1class $2")+`\nconst ${t} = ${i[2]}`:e.replace(II,`$1const ${t} =`),!RI(n))return n;let s=new zF(e);return FF.parse(e,{sourceType:"module",plugins:r}).program.body.forEach((r=>{"ExportDefaultDeclaration"===r.type&&s.overwrite(r.start,r.declaration.start,`const ${t} = `),"ExportNamedDeclaration"===r.type&&r.specifiers.forEach((r=>{if("ExportSpecifier"===r.type&&"Identifier"===r.exported.type&&"default"===r.exported.name){let n=r.end;s.overwrite(r.start,","===e.charAt(n)?n+1:n,""),s.append(`\nconst ${t} = ${r.local.name}`)}}))})),s.toString()}function RI(e){return II.test(e)||BI.test(e)}let jI="defineProps",UI="defineEmit";function $I(e,t,r){if("VariableDeclaration"===e.type){let n="const"===e.kind;for(let{id:i,init:s}of e.declarations){let e=!(!n||!ZI(s,jI)&&!ZI(s,UI));if("Identifier"===i.type){let a,o=r.reactive||"reactive";a=ZI(s,o)?"setup-let":e||n&&eB(s,o)?"setup-const":n?ZI(s,r.ref||"ref")?"setup-ref":"setup-maybe-ref":"setup-let",t[i.name]=a}else"ObjectPattern"===i.type?qI(i,t,n,e):"ArrayPattern"===i.type&&VI(i,t,n,e)}}else"FunctionDeclaration"!==e.type&&"ClassDeclaration"!==e.type||(t[e.id.name]="setup-const")}function qI(e,t,r,n=!1){for(let i of e.properties)"ObjectProperty"===i.type?"Identifier"===i.key.type&&(i.key===i.value?t[i.key.name]=n?"setup-const":r?"setup-maybe-ref":"setup-let":zI(i.value,t,r,n)):t[i.argument.name]=r?"setup-const":"setup-let"}function VI(e,t,r,n=!1){for(let i of e.elements)i&&zI(i,t,r,n)}function zI(e,t,r,n=!1){"Identifier"===e.type?t[e.name]=n?"setup-const":r?"setup-maybe-ref":"setup-let":"RestElement"===e.type?t[e.argument.name]=r?"setup-const":"setup-let":"ObjectPattern"===e.type?qI(e,t,r):"ArrayPattern"===e.type?VI(e,t,r):"AssignmentPattern"===e.type&&("Identifier"===e.left.type?t[e.left.name]=n?"setup-const":r?"setup-maybe-ref":"setup-let":zI(e.left,t,r))}function XI(e,t){"TSInterfaceDeclaration"===e.type?t[e.id.name]=["Object"]:"TSTypeAliasDeclaration"===e.type?t[e.id.name]=JI(e.typeAnnotation,t):"ExportNamedDeclaration"===e.type&&e.declaration&&XI(e.declaration,t)}function JI(e,t){switch(e.type){case"TSStringKeyword":return["String"];case"TSNumberKeyword":return["Number"];case"TSBooleanKeyword":return["Boolean"];case"TSObjectKeyword":case"TSTypeLiteral":return["Object"];case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(e.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return["null"]}case"TSTypeReference":if("Identifier"===e.typeName.type){if(t[e.typeName.name])return t[e.typeName.name];switch(e.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":return[e.typeName.name];case"Record":case"Partial":case"Readonly":case"Pick":case"Omit":case"Exclude":case"Extract":case"Required":case"InstanceType":return["Object"]}}return["null"];case"TSUnionType":return[...new Set([].concat(e.types.map((e=>JI(e,t)))))];case"TSIntersectionType":return["Object"];default:return["null"]}}function KI(e,t){if("Identifier"===e.type&&e.typeAnnotation&&"TSTypeAnnotation"===e.typeAnnotation.type){let r=e.typeAnnotation.typeAnnotation;if("TSLiteralType"===r.type)t.add(String(r.literal.value));else if("TSUnionType"===r.type)for(let e of r.types)"TSLiteralType"===e.type&&t.add(String(e.literal.value))}}function WI(e,t,r){let{name:n}=t;e.scopeIds&&e.scopeIds.has(n)||(n in r?r[n]++:r[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n))}function GI(e,t){let r=[],n=Object.create(null);IF.walk(e,{enter(e,i){var s,a,o;i&&r.push(i),"Identifier"===e.type?!n[e.name]&&(s=e,o=r,!(("VariableDeclarator"===(a=i).type||"ClassDeclaration"===a.type)&&a.id===s||QI(a)&&(a.id===s||a.params.includes(s))||HI(s,a)||"ArrayPattern"===a.type&&!tB(a,o))&&("MemberExpression"!==a.type&&"OptionalMemberExpression"!==a.type||a.property!==s||a.computed)&&"arguments"!==s.name)&&t(e,i,r):QI(e)?("BlockStatement"===e.body.type&&e.body.body.forEach((t=>{if("VariableDeclaration"===t.type)for(let r of t.declarations)aB(r.id).forEach((t=>{WI(e,t,n)}))})),e.params.forEach((t=>IF.walk(t,{enter(t,r){"Identifier"!==t.type||HI(t,r)||r&&"AssignmentPattern"===r.type&&r.right===t||WI(e,t,n)}})))):"ObjectProperty"===e.type&&"ObjectPattern"===i.type&&(e.inPattern=!0)},leave(e,t){t&&r.pop(),e.scopeIds&&e.scopeIds.forEach((e=>{n[e]--,0===n[e]&&delete n[e]}))}})}let YI=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,HI=(e,t)=>YI(t)&&t.key===e;function QI(e){return/Function(?:Expression|Declaration)$|Method$/.test(e.type)}function ZI(e,t){return!(!e||"CallExpression"!==e.type||"Identifier"!==e.callee.type||e.callee.name!==t)}function eB(e,t){if(ZI(e,t))return!0;switch(e.type){case"UnaryExpression":case"BinaryExpression":case"ArrayExpression":case"ObjectExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"UpdateExpression":case"ClassExpression":case"TaggedTemplateExpression":return!0;case"SequenceExpression":return eB(e.expressions[e.expressions.length-1],t);default:return!!e.type.endsWith("Literal")}}function tB(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){let r=t[e];if("AssignmentExpression"===r.type){let e=t[0];return!("LabeledStatement"===e.type&&"ref"===e.label.name)}if("ObjectProperty"!==r.type&&!r.type.endsWith("Pattern"))break}}return!1}function rB(e){for(let t of e)if("ExportDefaultDeclaration"===t.type&&"ObjectExpression"===t.declaration.type)return nB(t.declaration);return{}}function nB(e){let t={};Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!1});for(let r of e.properties)if("ObjectProperty"!==r.type||r.computed||"Identifier"!==r.key.type){if("ObjectMethod"===r.type&&"Identifier"===r.key.type&&("setup"===r.key.name||"data"===r.key.name))for(let e of r.body.body)if("ReturnStatement"===e.type&&e.argument&&"ObjectExpression"===e.argument.type)for(let n of iB(e.argument))t[n]="setup"===r.key.name?"setup-maybe-ref":"data"}else if("props"===r.key.name)for(let e of sB(r.value))t[e]="props";else if("inject"===r.key.name)for(let e of sB(r.value))t[e]="options";else if("ObjectExpression"===r.value.type&&("computed"===r.key.name||"methods"===r.key.name))for(let e of iB(r.value))t[e]="options";return t}function iB(e){let t=[];for(let r of e.properties)"ObjectProperty"!==r.type&&"ObjectMethod"!==r.type||r.computed||("Identifier"===r.key.type?t.push(r.key.name):"StringLiteral"===r.key.type&&t.push(r.key.value));return t}function sB(e){return"ArrayExpression"===e.type?function(e){let t=[];for(let r of e.elements)r&&"StringLiteral"===r.type&&t.push(r.value);return t}(e):"ObjectExpression"===e.type?iB(e):[]}function aB(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let r=e;for(;"MemberExpression"===r.type;)r=r.object;t.push(r);break;case"ObjectPattern":e.properties.forEach((e=>{"RestElement"===e.type?aB(e.argument,t):aB(e.value,t)}));break;case"ArrayPattern":e.elements.forEach((e=>{e&&aB(e,t)}));break;case"RestElement":aB(e.argument,t);break;case"AssignmentPattern":aB(e.left,t)}return t}By.generateCodeFrame=DF.generateCodeFrame,By.MagicString=zF,By.babelParse=FF.parse,By.walk=IF.walk,By.compileScript=function(e,t){let{script:r,scriptSetup:n,source:i,filename:s}=e;n&&ZF("<script setup>",227),t||(t={id:""}),t.id||HF("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");let a=t.id?t.id.replace(/^data-v-/,""):"",o=e.cssVars,l=e.template&&"false"===e.template.attrs["inherit-attrs"],u=r&&r.lang,c=n&&n.lang,p="ts"===u||"ts"===c,h=[...wF.babelParserDefaultPlugins,"jsx"];if(t.babelParserPlugins&&h.push(...t.babelParserPlugins),p&&h.push("typescript","decorators-legacy"),!n){if(!r)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");if(u&&"ts"!==u)return r;try{let e=FF.parse(r.content,{plugins:h,sourceType:"module"}).program.body,n=rB(e),i=o.length||l,s=r.content;return i&&(s=MI(s,"__default__",h),o.length&&(s+=(d=o,f=n,m=a,y=!!t.isProd,`\nimport { useCssVars as _useCssVars } from 'vue'\nconst __injectCSSVars__ = () => {\n${GF(d,f,m,y)}}\nconst __setup__ = __default__.setup\n__default__.setup = __setup__\n  ? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }\n  : __injectCSSVars__\n`)),l&&(s+="__default__.inheritAttrs = false"),s+="\nexport default __default__"),{...r,content:s,bindings:n,scriptAst:e}}catch{return r}}var d,f,m,y;if(r&&u!==c)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(c&&"ts"!==c)return n;let g,x,v,E,b,S,T,A,D={},C=new Set,w=Object.create(null),P=Object.create(null),k=Object.create(null),N=Object.create(null),_=new Set,O=!1!==t.refSugar,F=!1,I=!1,B=!1,L=!1,M={},R=new Set,j={},U=new zF(i),$=n.loc.start.offset,q=n.loc.end.offset,V=r&&r.loc.start.offset,z=r&&r.loc.end.offset;function X(e){return C.add(e),`_${e}`}function J(t,r,n){try{return FF.parse(t,r).program.body}catch(t){throw t.message=`[@vue/compiler-sfc] ${t.message}\n\n${e.filename}\n${wF.generateCodeFrame(i,t.pos+n,t.pos+n+1)}`,t}}function K(t,r,n=r.end+$){throw new Error(`[@vue/compiler-sfc] ${t}\n\n${e.filename}\n${wF.generateCodeFrame(i,r.start+$,n)}`)}function W(e,t,r,n){"vue"===e&&r&&(P[r]=t),w[t]={isType:n,imported:r||"default",source:e}}function G(e){if(ZI(e,jI)){if(F&&K("duplicate defineProps() call",e),F=!0,x=e.arguments[0],e.typeParameters){x&&K("defineProps() cannot accept both type and non-type arguments at the same time. Use one or the other.",e);let t=e.typeParameters.params[0];"TSTypeLiteral"===t.type?v=t:K("type argument passed to defineProps() must be a literal type.",t)}return!0}return!1}function Y(e){if(ZI(e,UI)){if(I&&K("duplicate defineEmit() call",e),I=!0,b=e.arguments[0],e.typeParameters){b&&K("defineEmit() cannot accept both type and non-type arguments at the same time. Use one or the other.",e);let t=e.typeParameters.params[0];"TSFunctionType"===t.type||"TSTypeLiteral"===t.type?S=t:K("type argument passed to defineEmit() must be a function type or a literal type with call signatures.",t)}return!0}return!1}function H(e,t){e&&GI(e,(e=>{k[e.name]&&K(`\`${t}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options requires initialization in the module scope, use a separate normal <script> to export the options instead.`,e)}))}function Q(e,t){if("AssignmentExpression"===e.type){let{left:r,right:n}=e;if("Identifier"===r.type)Z(r),U.prependRight(n.start+$,`${X("ref")}(`),U.appendLeft(n.end+$,")");else if("ObjectPattern"===r.type){for(let e=r.start;e>0;e--)if("("===i[e+$]){U.remove(e+$,e+$+1);break}for(let e=r.end;e>0;e++)if(")"===i[e+$]){U.remove(e+$,e+$+1);break}ee(r,t)}else"ArrayPattern"===r.type&&te(r,t)}else"SequenceExpression"===e.type?e.expressions.forEach((e=>Q(e,t))):"Identifier"===e.type?(Z(e),U.appendLeft(e.end+$,` = ${X("ref")}()`)):K("ref: statements can only contain assignment expressions.",e)}function Z(e){"$"===e.name[0]&&K("ref variable identifiers cannot start with $.",e),N[e.name]=k[e.name]="setup-ref",_.add(e)}function ee(e,t){for(let r of e.properties){let e;"ObjectProperty"===r.type?r.key.start===r.value.start?(e=r.key,U.appendLeft(e.end+$,`: __${e.name}`),"AssignmentPattern"===r.value.type&&_.add(r.value.left)):"Identifier"===r.value.type?(e=r.value,U.prependRight(e.start+$,"__")):"ObjectPattern"===r.value.type?ee(r.value,t):"ArrayPattern"===r.value.type?te(r.value,t):"AssignmentPattern"===r.value.type&&(e=r.value.left,U.prependRight(e.start+$,"__")):(e=r.argument,U.prependRight(e.start+$,"__")),e&&(Z(e),U.appendLeft(t.end+$,`\nconst ${e.name} = ${X("ref")}(__${e.name});`))}}function te(e,t){for(let r of e.elements){if(!r)continue;let e;"Identifier"===r.type?e=r:"AssignmentPattern"===r.type?e=r.left:"RestElement"===r.type?e=r.argument:"ObjectPattern"===r.type?ee(r,t):"ArrayPattern"===r.type&&te(r,t),e&&(Z(e),U.prependRight(e.start+$,"__"),U.appendLeft(t.end+$,`\nconst ${e.name} = ${X("ref")}(__${e.name});`))}}if(r){A=J(r.content,{plugins:h,sourceType:"module"},V);for(let e of A)if("ImportDeclaration"===e.type)for(let t of e.specifiers){let r="ImportSpecifier"===t.type&&"Identifier"===t.imported.type&&t.imported.name;W(e.source.value,t.local.name,r,"type"===e.importKind)}else if("ExportDefaultDeclaration"===e.type){g=e;let t=e.start+V;U.overwrite(t,t+14,"const __default__ =")}else if("ExportNamedDeclaration"===e.type&&e.specifiers){let t=e.specifiers.find((e=>"Identifier"===e.exported.type&&"default"===e.exported.name));t&&(g=e,e.specifiers.length>1?U.remove(t.start+V,t.end+V):U.remove(e.start+V,e.end+V),e.source?U.prepend(`import { ${t.local.name} as __default__ } from '${e.source.value}'\n`):U.append(`\nconst __default__ = ${t.local.name}\n`))}}let re=J(n.content,{plugins:[...h,"topLevelAwait"],sourceType:"module"},$);for(let e of re){let t=e.start+$,r=e.end+$;for(e.trailingComments&&e.trailingComments.length>0&&(r=e.trailingComments[e.trailingComments.length-1].end+$);r<=i.length&&/\s/.test(i.charAt(r));)r++;if("LabeledStatement"===e.type&&"ref"===e.label.name&&"ExpressionStatement"===e.body.type&&(O?(ZF("ref: sugar",228),U.overwrite(e.label.start+$,e.body.start+$,"const "),Q(e.body.expression,e)):K("ref: sugar needs to be explicitly enabled via vite or vue-loader options.",e)),"ImportDeclaration"===e.type){U.move(t,r,0);let n=0,i=t=>{let r=t>n;n++;let i=e.specifiers[t],s=e.specifiers[t+1];U.remove(r?e.specifiers[t-1].end+$:i.start+$,s&&!r?s.start+$:i.end+$)};for(let t=0;t<e.specifiers.length;t++){let r=e.specifiers[t],n=r.local.name,s="ImportSpecifier"===r.type&&"Identifier"===r.imported.type&&r.imported.name,a=e.source.value,o=w[n];"vue"!==a||s!==jI&&s!==UI?o?o.source===a&&o.imported===s?i(t):K("different imports aliased to same local name.",r):W(a,n,s,"type"===e.importKind):i(t)}e.specifiers.length&&n===e.specifiers.length&&U.remove(e.start+$,e.end+$)}if("ExpressionStatement"===e.type&&(G(e.expression)||Y(e.expression))&&U.remove(e.start+$,e.end+$),"VariableDeclaration"===e.type&&!e.declare)for(let t of e.declarations)if(t.init){let r=G(t.init);r&&(E=n.content.slice(t.id.start,t.id.end));let i=Y(t.init);i&&(T=n.content.slice(t.id.start,t.id.end)),(r||i)&&(1===e.declarations.length?U.remove(e.start+$,e.end+$):U.remove(t.start+$,t.end+$))}"VariableDeclaration"!==e.type&&"FunctionDeclaration"!==e.type&&"ClassDeclaration"!==e.type||e.declare||$I(e,k,P),"VariableDeclaration"===e.type&&e.declare&&U.remove(t,r),(e.type.startsWith("TS")||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind)&&(XI(e,j),U.move(t,r,0)),("VariableDeclaration"===e.type&&!e.declare||e.type.endsWith("Statement"))&&IF.walk(e,{enter(e){QI(e)&&this.skip(),"AwaitExpression"===e.type&&(B=!0)}}),("ExportNamedDeclaration"===e.type&&"type"!==e.exportKind||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type)&&K("<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.",e)}if(O&&Object.keys(N).length)for(let e of re)"ImportDeclaration"!==e.type&&GI(e,((e,t,r)=>{N[e.name]&&!_.has(e)?YI(t)&&t.shorthand?t.inPattern&&!tB(t,r)||U.appendLeft(e.end+$,`: ${e.name}.value`):U.appendLeft(e.end+$,".value"):"$"===e.name[0]&&N[e.name.slice(1)]&&U.remove(e.start+$,e.start+$+1)}));if(v&&function(e,t,r){for(let n of e.members)"TSPropertySignature"===n.type&&"Identifier"===n.key.type&&(t[n.key.name]={key:n.key.name,required:!n.optional,type:n.typeAnnotation?JI(n.typeAnnotation.typeAnnotation,r):["null"]})}(v,M,j),S&&function(e,t){if("TSTypeLiteral"!==e.type)KI(e.parameters[0],t);else for(let r of e.members)"TSCallSignatureDeclaration"===r.type&&KI(r.parameters[0],t)}(S,R),H(x,jI),H(b,jI),r?$<V?(U.remove(0,$),U.remove(q,V),U.remove(z,i.length)):(U.remove(0,V),U.remove(z,$),U.remove(q,i.length)):(U.remove(0,$),U.remove(q,i.length)),A&&Object.assign(D,rB(A)),x)for(let e of sB(x))D[e]="props";for(let e in M)D[e]="props";for(let[e,{isType:t,imported:r,source:n}]of Object.entries(w))t||(D[e]="default"===r&&n.endsWith(".vue")||"vue"===n?"setup-const":"setup-maybe-ref");for(let e in k)D[e]=k[e];o.length&&(C.add("useCssVars"),C.add("unref"),U.prependRight($,`\n${GF(o,D,a,!!t.isProd)}\n`));let ne,ie="__props";if(v&&(ie+=`: ${n.content.slice(v.start,v.end)}`),E&&U.prependRight($,`\nconst ${E} = __props`),T&&(ie+="emit"===T?", { emit }":`, { emit: ${T} }`,S&&(ie+=`: {\n        emit: (${n.content.slice(S.start,S.end)}),\n        slots: any,\n        attrs: any\n      }`)),t.inlineTemplate)if(e.template&&!e.template.src){t.templateOptions&&t.templateOptions.ssr&&(L=!0);let{code:r,ast:n,preamble:o,tips:l,errors:u}=EI({filename:s,source:e.template.content,inMap:e.template.map,...t.templateOptions,id:a,scoped:e.styles.some((e=>e.scoped)),isProd:t.isProd,ssrCssVars:e.cssVars,compilerOptions:{...t.templateOptions&&t.templateOptions.compilerOptions,inline:!0,isTS:p,bindingMetadata:D}});l.length&&l.forEach(HF);let c=u[0];if("string"==typeof c)throw new Error(c);if(c)throw c.loc&&(c.message+="\n\n"+e.filename+"\n"+wF.generateCodeFrame(i,c.loc.start.offset,c.loc.end.offset)+"\n"),c;o&&U.prepend(o),n&&n.helpers.includes(DF.UNREF)&&C.delete("unref"),ne=r}else ne="() => {}";else{let e={...k};for(let t in w)w[t].isType||(e[t]=!0);ne=`{ ${Object.keys(e).join(", ")} }`}U.appendRight(q,`\nreturn ${ne}\n}\n\n`);let se="\n  expose: [],";var ae;if(l&&(se+="\n  inheritAttrs: false,"),L&&(se+="\n  __ssrInlineRender: true,"),x?se+=`\n  props: ${n.content.slice(x.start,x.end).trim()},`:v&&(se+=function(e){let t=Object.keys(e);return t.length?`\n  props: {\n    ${t.map((t=>{let{type:r,required:n}=e[t];return`${t}: { type: ${function(e){return e.some((e=>"null"===e))?"null":e.length>1?`[${e.join(", ")}]`:e[0]}(r)}, required: ${n} }`})).join(",\n    ")}\n  } as unknown as undefined,`:""}(M)),b?se+=`\n  emits: ${n.content.slice(b.start,b.end).trim()},`:S&&(se+=(ae=R).size?`\n  emits: [${Array.from(ae).map((e=>JSON.stringify(e))).join(", ")}] as unknown as undefined,`:""),p){let e=g?"\n  ...__default__,":"";U.prependLeft($,`\nexport default ${X("defineComponent")}({${e}${se}\n  ${B?"async ":""}setup(${ie}) {\n`),U.appendRight(q,"})")}else g?(U.prependLeft($,`\n${B?"async ":""}function setup(${ie}) {\n`),U.append(`\nexport default /*#__PURE__*/ Object.assign(__default__, {${se}\n  setup\n})\n`)):(U.prependLeft($,`\nexport default {${se}\n  ${B?"async ":""}setup(${ie}) {\n`),U.appendRight(q,"}"));return C.size>0&&U.prepend(`import { ${[...C].map((e=>`${e} as _${e}`)).join(", ")} } from 'vue'\n`),U.trim(),{...n,bindings:D,content:U.toString(),map:U.generateMap({source:s,hires:!0,includeContent:!0}),scriptAst:A,scriptSetupAst:re}},By.compileStyle=function(e){return FI({...e,isAsync:!1})},By.compileStyleAsync=function(e){return FI({...e,isAsync:!0})},By.compileTemplate=EI,By.parse=function(e,{sourceMap:t=!0,filename:r="anonymous.vue",sourceRoot:n="",pad:i=!1,compiler:s=MF}={}){let a=e+t+r+n+i+s.parse,o=eI.get(a);if(o)return o;let l={filename:r,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1},u=[];if(s.parse(e,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:e,props:t},r)=>!r&&"template"!==e||"template"===e&&t.some((e=>6===e.type&&"lang"===e.name&&e.value&&e.value.content&&"html"!==e.value.content))?2:0,onError:e=>{u.push(e)}}).children.forEach((t=>{if(1===t.type&&(t.children.length||t.props.some((e=>6===e.type&&"src"===e.name))||"template"===t.tag))switch(t.tag){case"template":l.template?u.push(tI(t)):(l.template=rI(t,e,!1)).ast=t;break;case"script":let r=rI(t,e,i),n=!!r.attrs.setup;if(n&&!l.scriptSetup){l.scriptSetup=r;break}if(!n&&!l.script){l.script=r;break}u.push(tI(t,n));break;case"style":let s=rI(t,e,i);s.attrs.vars&&u.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),l.styles.push(s);break;default:l.customBlocks.push(rI(t,e,i))}})),l.scriptSetup&&(l.scriptSetup.src&&(u.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),l.scriptSetup=null),l.script&&l.script.src&&(u.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),l.script=null)),t){let t=t=>{t&&!t.src&&(t.map=function(e,t,r,n,i){let s=new SF.SourceMapGenerator({file:e.replace(/\\/g,"/"),sourceRoot:n.replace(/\\/g,"/")});return s.setSourceContent(e,t),r.split(nI).forEach(((t,r)=>{if(!iI.test(t)){let n=r+1+i,a=r+1;for(let r=0;r<t.length;r++)/\s/.test(t[r])||s.addMapping({source:e,original:{line:n,column:r},generated:{line:a,column:r}})}})),JSON.parse(s.toString())}(r,e,t.content,n,i&&"template"!==t.type?0:t.loc.start.line-1))};t(l.template),t(l.script),l.styles.forEach(t),l.customBlocks.forEach(t)}l.cssVars=function(e){let t=[];return e.styles.forEach((e=>{let r;for(;r=XF.exec(e.content);)t.push(r[1]||r[2]||r[3])})),t}(l),l.cssVars.length&&ZF("v-bind() CSS variable injection",231);let c=/(?:::v-|:)slotted\(/;l.slotted=l.styles.some((e=>e.scoped&&c.test(e.content)));let p={descriptor:l,errors:u};return eI.set(a,p),p},By.rewriteDefault=MI,By.walkIdentifiers=GI;let{parse:oB}=By,lB=Gu,uB=Iy,cB=ly,pB={getAstsBySelector(e,t,{parseOptions:r}={}){r=Object.assign({},r);let n=e;return"<template></template>"==t?(r.language="html",r.rootLanguage="vue",e.templateAst||(e.templateAst=pB.getTemplate(e)),n=e.templateAst):"<script><\/script>"==t?(r.language="js",r.rootLanguage="vue",e.scriptAst||(e.scriptAst=pB.getScript(e,{parseOptions:r})),n=e.scriptAst):"<script setup><\/script>"==t&&(r.language="js",r.rootLanguage="vue",e.scriptSetupAst||(e.scriptSetupAst=pB.getScript(e,{isSetup:!0,parseOptions:r})),n=e.scriptSetupAst),{nodePathList:n?[n]:[],matchWildCardList:[],extra:{parseOptions:r}}},getTemplate(e){if(e.template){let t=uB.buildAstByAstStr(e.template.content,{},{isProgram:!0,parseOptions:{language:"html"}});return new cB(t)}},getScript(e,{isSetup:t=!1,parseOptions:r}={}){let n;if(t&&e.scriptSetup?n=e.scriptSetup.content:!t&&e.script&&(n=e.script.content),n){let e=lB.buildAstByAstStr(n,{},{isProgram:!0,parseOptions:r});return new cB(e)}},buildAstByAstStr(e,t={},{isProgram:r=!1,parseOptions:n}={}){try{let t=(e=>oB(e,{filename:String(+new Date)}).descriptor)(e);return pB.parseOptions=n,t?r?t:t.template&&t.template.ast?t.template:null:null}catch(e){console.log("buildAstByAstStr failed:"+e)}}};var hB=pB;let dB=wu,fB=gy,mB=wu,yB=gy,gB=Gu,xB=Iy,vB=hB,EB=ly,bB=Su,{isObject:SB}=gu,TB={js:{generate:mB,core:gB},html:{generate:yB,core:xB},vue:{generate:function(e,t={}){let{template:r,script:n,scriptSetup:i,styles:s=[],customBlocks:a=[],templateAst:o,scriptAst:l,scriptSetupAst:u}=e;o&&o.node&&(r.content=fB(o.node)),l&&l.node&&(n.content=dB(l.node)),u&&u.node&&(i.content=dB(u.node));let c=Object.assign({template:2,script:0,style:0},t.indents);return[r,n,i,...s,...a].filter((e=>null!=e)).sort(((e,t)=>e.start-t.start)).map((e=>{let t=function(e){let t="<"+e.type;return t+=Object.keys(e.attrs).sort().map((t=>{let r=e.attrs[t];return!0===r?t:`${t}="${r}"`})).map((e=>" "+e)).join(""),t+">"}(e),r=`</${e.type}>\n`;return Object.assign({},e,{openTag:t,closeTag:r,startOfOpenTag:e.start-t.length,endOfOpenTag:e.start,startOfCloseTag:e.end,endOfCloseTag:e.end+r.length})})).reduce(((e,t,r,n)=>{let i=0;if(0===r)i=t.startOfOpenTag;else{let e=n[r-1];i=t.startOfOpenTag-e.endOfCloseTag}return i=i||1,e+"\n".repeat(i)+t.openTag+((e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},"string"!=typeof e)throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if("number"!=typeof t)throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if("string"!=typeof r.indent)throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(0===t)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))})(t.content,c[t.type]||0)+t.closeTag}),"")},core:vB}};class AB{constructor(e,{parseOptions:t,match:r,rootNode:n}={}){e&&(this[0]={nodePath:e,match:r}),this.rootNode=n,this.expando="g"+(""+Math.random()).replace(/\D/g,"")+"g",this.parseOptions=t}get node(){return this[0]?this[0].nodePath.node:null}get value(){return this[0]?this[0].nodePath.value:null}get match(){return this[0]?this[0].match:[]}get isHtml(){return this.parseOptions&&(this.parseOptions.html||"html"==this.parseOptions.language)}get language(){return this.parseOptions&&this.parseOptions.language||"js"}get core(){return TB[this.language].core}get _index(){return CB(this),this[0]._index}get length(){let e=0;for(;this[e];)e++;return e}each(e){let t=0,r=DB(this);for(;this[t];){let{nodePath:n,match:i}=this[t],s=new AB(n,{parseOptions:this.parseOptions,match:i,rootNode:this.rootNode});e(s,t),r[t]=s[0]||null,t++}return r}find(e,t={}){if(!e)throw new Error("find failed! first argument should not be null!");if(!this[0])return this;let{nodePath:r}=this[0],n=t.parseOptions||this.parseOptions,{nodePathList:i,matchWildCardList:s,extra:a={}}=this.core.getAstsBySelector(r.node,e,{strictSequence:!1===t.ignoreSequence,parseOptions:n,expando:this.expando,deep:t.deep}),o=DB(this);return o.rootNode||(o.rootNode=this[0].nodePath),i.forEach(((e,t)=>{if("js"==this.language){let t=e;for(;t.parentPath;){if(t.parentPath&&"root"==t.parentPath.name){"File"!=t.parentPath.node.type&&(t.parentPath=this[0].nodePath);break}t=t.parentPath}}o[t]={nodePath:e,parseOptions:a.parseOptions||n,match:s[t]}})),a.parseOptions&&(o.parseOptions=a.parseOptions),o}parent(e){let t=0;if("number"==typeof e&&(t=e),!this[0])return this;CB(this);let r=[this[0].parentList[t]];function n(e,t){return Object.keys(t).every((r=>!(!e||!t)&&!!e[r]&&(SB(t[r])?n(e[r],t[r]):e[r]==t[r])))}SB(e)&&(r=[],this[0].parentList.forEach((t=>{n(t.node,e)&&r.push(t)})));let i=DB(this);return r[0]?(r.forEach(((e,t)=>{i[t]={nodePath:e,parseOptions:this.parseOptions}})),i):this}parents(){if(!this[0])return this;CB(this);let{parentList:e}=this[0],t=DB(this);return e.forEach(((e,r)=>{t[r]={nodePath:e,parseOptions:this.parseOptions,match:null}})),t}root(e){if(!this.rootNode)return this;let t=DB(this);return t[0]={nodePath:this.rootNode},t.rootNode=null,this.parseOptions&&"vue"==this.parseOptions.rootLanguage&&("template"==e?t[0]={nodePath:this.rootNode.node.templateAst}:"script"==e?t[0]={nodePath:this.rootNode.node.scriptAst}:t.parseOptions=Object.assign({},this.parseOptions,{language:"vue",rootLanguage:void 0})),t}has(e,t){return!!this.find(e,t)[0]}siblings(){if(!this[0])return this;wB(this);let e=this[0].siblings||[],t=DB(this);return e.forEach(((e,r)=>{t[r]=e})),t}prevAll(){if(!this[0])return this;wB(this);let e=this[0].prevAll||[],t=DB(this);return e.forEach(((e,r)=>{t[r]=e})),t}prev(){if(!this[0])return this;wB(this);let e=this[0].prevAll||[],t=DB(this);return t[0]=e[e.length-1],t}nextAll(){if(!this[0])return this;wB(this);let e=this[0].nextAll||[],t=DB(this);return e.forEach(((e,r)=>{t[r]=e})),t}next(){if(!this[0])return this;wB(this);let e=this[0].nextAll||[],t=DB(this);return t[0]=e[0],t}eq(e){e=e||0;let{nodePath:t,match:r}=this[e]||{},n=DB(this);return n[0]={nodePath:t,parseOptions:this.parseOptions,match:r},n}attr(e,t){if(!this[0]||!this[0].nodePath||!this[0].nodePath.node)return this;let r={};if(t){if("string"!=typeof e)throw new Error("attr failed! args[0] should be string!");r={[e]:t}}else{if("string"==typeof e)return function(e,t){let r=t.split("."),n=e,i=0;return r.forEach((e=>{n[e]&&(n=n[e],i++)})),i==r.length?n:null}(this[0].nodePath.node,e);"object"==typeof e&&(r=e)}return function(e,t){for(let r in t){let n=t[r],i=r.split("."),s=e;i.forEach(((e,t)=>{t==i.length-1?s[e]=n:s[e]&&(s=s[e])}))}}(this[0].nodePath.node,r),this}child(e){if(!this[0]||!this[0].nodePath||!this[0].nodePath.node)return this;let t,r=e.split("."),n=this.node,i=this[0].nodePath;this[0].nodePath.parentPath;let s=0;return this.node.program&&(i=i.get("program","body","0"),n=n.program.body[0]),r.forEach((e=>{let r=n[e];r&&("js"==this.language?(t=DB(this),i=i.get(e),t[0]={nodePath:i,parseOptions:this.parseOptions}):(t=DB(this),i=new EB(n[e],i,i),t[0]={nodePath:i,parseOptions:this.parseOptions}),n=r,s++)})),s==r.length?t:null}clone(){if(!this[0])return this;let e;if(this.isHtml){let t=function(e){for(let r in e)"parentRef"==r?e[r]=n[e[r]]:SB(e[r])&&(Array.isArray(e[r])?e[r].forEach((e=>{t(e)})):t(e[r]))},r=function(e){for(let t in e)"parentRef"==t?(n.push(e[t]),e[t]=n.length-1):SB(e[t])&&(Array.isArray(e[t])?e[t].forEach((e=>{r(e)})):r(e[t]))},n=[];r(this[0].nodePath.node);let i=JSON.parse(JSON.stringify(this[0].nodePath.node));t(i),t(this[0].nodePath.node),e=new EB(i,this[0].nodePath.parent,this[0].nodePath.parentPath)}else{let t={};bB(this[0].nodePath.node,t,["computed","range","leadingComments","shorthand","extra","static","typeParameters","tokens"]),e=new EB(JSON.parse(JSON.stringify(t)),this[0].nodePath.parent,this[0].nodePath.parentPath)}let{match:t}=this[0],r=DB(this);return r[0]={nodePath:e,parseOptions:this.parseOptions,match:t},r}replace(e,t,{ignoreSequence:r,parseOptions:n}={}){return this[0]?(n=n||this.parseOptions,this.core.replaceSelBySel(this[0].nodePath,e,t,!1===r,n,this.expando),this):this}replaceBy(e){if(!this[0])return this.root();e[0]&&e[0].nodePath&&(e=e[0].nodePath.node),"string"==typeof e&&(e=this.core.buildAstByAstStr(e)),"File"==e.type&&(e=e.program.body[0]);let t=0;for(;this[t];)this.core.replaceAstByAst(this[t].nodePath,e,this._index),t++;return this}insertSiblingNode(e,t){if(!this[0])return this;if(!e.type&&!e.nodeType)throw new Error("insert failed! Unexpected node for insert!");if(e.type&&e.type.match("Comment"))return e.trailing="after"==t,e.leading="before"==t,void this.insertChildNode("comments",e,"after"==t?"append":"prepend");if(CB(this),this.isHtml){let r,n=-1;"document"==this.node.nodeType?(r=this.node.content.children,n="before"==t?0:r.length-1):(r=this.parent().attr("content.children")||[],r.forEach(((e,t)=>{e==this.node&&(n=t)}))),"before"==t?r.splice(n,0,e):r.splice(n+1,0,e)}else{let r=this[0].parentList;if((!r||0==r.length)&&"File"==this.node.type)return void("before"==t?this.attr("program.body").unshift(e):this.attr("program.body").push(e));let n=!1,i=0,s=this[0].nodePath.value,a=-1;for(;!n;)r[i]&&r[i].value?Array.isArray(r[i].value)&&(n=!0,r[i].value.forEach(((e,t)=>{e==s&&(a=t)})),"after"==t?r[i].value.splice(a+1,0,e):r[i].value.splice(a,0,e)):n=!0,s=r[i].value,i++}}after(e){if(!e)throw new Error("after failed! Unexpected node for insert!");return"string"==typeof e&&(e=this.core.buildAstByAstStr(e)),e[0]&&e[0].nodePath&&(e=e[0].nodePath.value),"File"==e.type?e.program.body.length>0?(e.program.body.forEach((e=>{this.insertSiblingNode(e,"after")})),this):this:(Array.isArray(e)||(e=[e]),e.forEach((e=>{this.insertSiblingNode(e,"after")})),this)}before(e){if(!e)throw new Error("before failed! Unexpected node for insert!");return"string"==typeof e&&(e=this.core.buildAstByAstStr(e)),e[0]&&"Decorator"==e[0].type?(this.node.decorators=(this.node.decorators||[]).concat(e),this):(e[0]&&e[0].nodePath&&(e=e[0].nodePath.value),"File"==e.type?e.program.body.length>0?(e.program.body.reverse().forEach((e=>{this.insertSiblingNode(e,"before")})),this):this:(Array.isArray(e)||(e=[e]),e.reverse().forEach((e=>{this.insertSiblingNode(e,"before")})),this))}insertChildNode(e,t,r){if(!this[0]||!this[0].nodePath)return;let n=this[0].nodePath.value,i=n.program&&"append"==r?n.program.body.length-1:0;Array.isArray(n)||("content.children"==e?(n.content.children=n.content.children||[],n=n.content.children):n.program&&n.program.body?"program.body"==e?n=n.program.body:(n.program.body[i][e]=n.program.body[i][e]||[],n=n.program.body[i][e]):(n[e]=n[e]||[],n=n[e],Array.isArray(n)||(n=n.body))),"File"==t.type&&t.program.body&&!(t=t.program.body[i])||n&&("append"==r?n.push(t):n.unshift(t))}append(e,t){return e?(this.isHtml&&(t=e,e="content.children"),t||(t=e,e="program.body"),"string"==typeof t&&(t=this.core.buildAstByAstStr(t)),t[0]&&t[0].nodePath&&(t=t[0].nodePath.value),Array.isArray(t)||(t=[t]),t.forEach((t=>{this.insertChildNode(e,t,"append")})),this):this}prepend(e,t){return this.isHtml&&(t=e,e="content.children"),t||(t=e,e="program.body"),"string"==typeof t&&(t=this.core.buildAstByAstStr(t)),t[0]&&t[0].nodePath&&(t=t[0].nodePath.value),Array.isArray(t)||(t=[t]),t.reverse().forEach((t=>{this.insertChildNode(e,t,"prepend")})),this}empty(){return this.each((e=>{"html"==e.language?Array.isArray(e.attr("content.children"))&&e.attr("content.children",[]):"js"==e.language&&(Array.isArray(e[0].nodePath.value)?e[0].nodePath.value=[]:"File"==e.node.type&&e.attr("program.body",[]))})),this}remove(e,t={}){if(!this[0])return this.root();if("string"==typeof e||Array.isArray(e)){let r=t.parseOptions||this.parseOptions,n=0;for(;this[n];)this.core.removeAst(this.node,e,{strictSequence:!1===t.ignoreSequence,parseOptions:r,expando:this.expando}),n++}else{let e=0;for(;this[e];)this.core.remove(this[e].nodePath),e++}return this.root()}generate({isPretty:e=!1}={}){return this[0]?"js"==this.language?mB(this[0].nodePath.node,e):TB[this.language].generate(this[0].nodePath.value):""}}function DB(e){let t=new AB("",{parseOptions:e.parseOptions,rootNode:e.rootNode});return e.sfc&&(t.sfc=e.sfc),t}function CB(e){return e.isHtml?(e[0].parentList=e.core.getParentListByAst(e[0].nodePath),e[0]._index=e[0].parentList[0]?e[0].parentList[0].node.content.children.indexOf(e[0].nodePath.node):0):e[0].parentList=gB.getParentListByAst(e[0].nodePath),e[0].parentList}function wB(e){if("html"==e.language){let t=e.parent(),r=(t.attr("content.children")||[]).map(((r,n)=>({_index:n,nodePath:new EB(r,t[0].nodePath,t[0].nodePath),parseOptions:e.parseOptions})));e[0].siblings=r,e[0].prevAll=r.filter((t=>t._index<e._index)),e[0].nextAll=r.filter((t=>t._index>e._index))}else{let t=CB(e);if(!t||0==t.length)return;let r=e.parseOptions,n=!1,i=0,s=[],a=[],o=[],l=e[0].nodePath.value;for(;!n;){if(t[i]&&t[i].value){if(Array.isArray(t[i].value)){n=!0;let u=!0,c=0;for(;t[i].__childCache[c];){let e=t[i].__childCache[c];e.value==l?u=!1:(s.push({nodePath:e,parseOptions:r}),u?a.push({nodePath:e,parseOptions:r}):o.push({nodePath:e,parseOptions:r})),c++}e[0].siblings=s,e[0].prevAll=a,e[0].nextAll=o}}else n=!0;l=t[i].value,i++}}}let PB=PN,kB=PN,NB=Gu,_B=Iy,OB=ly,FB=AB,IB=function(e,t="src/code/output.js",r=!0){kB.writeFileSync(t,e),r&&console.log(`write code to ${t} success!`)},BB={vue:hB,html:_B,js:NB},LB=(e,t={})=>{let r,n,i,s;e=e||"";let a=void 0===t.isProgram||!0===t.isProgram;if("object"==typeof t.parseOptions&&(i=t.parseOptions),"object"==typeof t.astFragment&&(s=t.astFragment),"string"==typeof e){try{r=function(e={}){let t=NB;return e.language&&BB[e.language]&&(t=BB[e.language]),e.html&&(t=_B,e.language="html"),t}(i).buildAstByAstStr(e,s,{parseOptions:i,isProgram:a})}catch{return{src:e,error:"Only correct js / html / vue could be parse successfully, please check the code or parseOptions!"}}n=new OB(r)}else if(e.nodeType)n=new OB(e);else if(e.type)n=new OB(e);else{if(!e.node||!e.parent)throw new Error("$ failed! invalid input! accept code / ast node / nodePath");n=e}return new FB(n,{parseOptions:i,rootNode:n})};return LB.loadFile=(e,{parseOptions:t}={})=>{let r=function(e="src/code/input.js"){return PB.readFileSync(e)}(e).toString();return LB(r,{parseOptions:t})},LB.writeFile=IB,LB.version="1.0.53",LB},"object"==typeof e&&typeof t<"u"?t.exports=n():"function"==typeof define&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).gogocode=n()})),w1=HB(C1());function P1(e,t,r,n){let i=[];Array.isArray(n)&&n?.length>0?i=n:t?t?.map((e=>{i.push(`console.${e}()`)})):i=["console.log()"];let s=(0,w1.default)(e,{parseOptions:{sourceType:"module"}}).find(i);return r?s.each((e=>{let t=e.value.arguments?.map((e=>e.value))?.join();if(!new RegExp(`(${r.join("|")})`,"g").test(t))return e.remove()})).root().generate():s.remove().generate()}function k1(e){return e.map((e=>ZB(path.resolve(process.cwd(),e))))}function ZB(e){let t=/^\\\\\?\\/.test(e),r=/[^\u0000-\u0080]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}function eL(e={}){let{external:t,includes:r,externalValue:n,custom:i}=e||{};return{name:"vite:remove-console",apply:"build",enforce:"post",transform(e,s){if(/node_modules/.test(s))return{code:e,map:null};let a=/(\.vue|\.svelte|\.[jt]sx?)$/.test(s);return t&&t.length>0&&k1(t).includes(s)&&a?{code:e,map:null}:{code:P1(e,r,n,i),map:null}}}}/*! https://mths.be/cssesc v3.0.0 by @mathias */module.exports=eL;
//# sourceMappingURL=/sm/a3c66c22d6974195b1f68e8827791bf868137d4438fa57e34de1158ba0f5b004.map