@pinegrow/vite-plugin 3.0.72 → 3.0.73-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.cjs.LICENSE.txt */
2
+ (()=>{var e={892:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=892,e.exports=t},138:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=138,e.exports=t},943:e=>{"use strict";e.exports=require("fsevents")},81:e=>{"use strict";e.exports=require("child_process")},113:e=>{"use strict";e.exports=require("crypto")},361:e=>{"use strict";e.exports=require("events")},358:e=>{"use strict";e.exports=require("fs")},685:e=>{"use strict";e.exports=require("http")},687:e=>{"use strict";e.exports=require("https")},188:e=>{"use strict";e.exports=require("module")},808:e=>{"use strict";e.exports=require("net")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")},781:e=>{"use strict";e.exports=require("stream")},404:e=>{"use strict";e.exports=require("tls")},224:e=>{"use strict";e.exports=require("tty")},310:e=>{"use strict";e.exports=require("url")},837:e=>{"use strict";e.exports=require("util")},796:e=>{"use strict";e.exports=require("zlib")},748:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s},e.exports.__esModule=!0,e.exports.default=e.exports},314:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},850:(e,t,r)=>{var s=r(748);e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.__esModule=!0,e.exports.default=e.exports},297:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},461:e=>{function t(e,t,r,s,n,i,o){try{var a=e[i](o),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(s,n)}e.exports=function(e){return function(){var r=this,s=arguments;return new Promise((function(n,i){var o=e.apply(r,s);function a(e){t(o,n,i,a,c,"next",e)}function c(e){t(o,n,i,a,c,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},100:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},870:(e,t,r)=>{var s=r(739);function n(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,s(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},290:(e,t,r)=>{var s=r(739);e.exports=function(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},660:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},230:(e,t,r)=>{var s=r(560);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},912:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},193:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s,n,i,o,a=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(s=i.call(r)).done)&&(a.push(s.value),a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},147:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},96:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},421:(e,t,r)=>{var s=r(425).default,n=r(297);e.exports=function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},609:(e,t,r)=>{var s=r(425).default;function n(){"use strict";e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},i=Object.prototype,o=i.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,r){return e[t]=r}}function d(e,t,r,s){var n=t&&t.prototype instanceof x?t:x,i=Object.create(n.prototype),o=new R(s||[]);return a(i,"_invoke",{value:k(e,r,o)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var m="suspendedStart",g="suspendedYield",y="executing",v="completed",b={};function x(){}function w(){}function S(){}var E={};p(E,l,(function(){return this}));var _=Object.getPrototypeOf,P=_&&_(_(L([])));P&&P!==i&&o.call(P,l)&&(E=P);var T=S.prototype=x.prototype=Object.create(E);function A(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(n,i,a,c){var l=f(e[n],e,i);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==s(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(h).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var n;a(this,"_invoke",{value:function(e,s){function i(){return new t((function(t,n){r(e,s,t,n)}))}return n=n?n.then(i,i):i()}})}function k(e,r,s){var n=m;return function(i,o){if(n===y)throw new Error("Generator is already running");if(n===v){if("throw"===i)throw o;return{value:t,done:!0}}for(s.method=i,s.arg=o;;){var a=s.delegate;if(a){var c=O(a,s);if(c){if(c===b)continue;return c}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(n===m)throw n=v,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);n=y;var l=f(e,r,s);if("normal"===l.type){if(n=s.done?v:g,l.arg===b)continue;return{value:l.arg,done:s.done}}"throw"===l.type&&(n=v,s.method="throw",s.arg=l.arg)}}}function O(e,r){var s=r.method,n=e.iterator[s];if(n===t)return r.delegate=null,"throw"===s&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==s&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+s+"' method")),b;var i=f(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function L(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(s(e)+" is not iterable")}return w.prototype=S,a(T,"constructor",{value:S,configurable:!0}),a(S,"constructor",{value:w,configurable:!0}),w.displayName=p(S,h,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,p(e,h,"GeneratorFunction")),e.prototype=Object.create(T),e},r.awrap=function(e){return{__await:e}},A(C.prototype),p(C.prototype,u,(function(){return this})),r.AsyncIterator=C,r.async=function(e,t,s,n,i){void 0===i&&(i=Promise);var o=new C(d(e,t,s,n),i);return r.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},A(T),p(T,h,"Generator"),p(T,l,(function(){return this})),p(T,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function e(){for(;r.length;){var s=r.pop();if(s in t)return e.value=s,e.done=!1,e}return e.done=!0,e}},r.values=L,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function s(s,n){return a.type="throw",a.arg=e,r.next=s,n&&(r.method="next",r.arg=t),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return s("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return s(i.catchLoc,!0);if(this.prev<i.finallyLoc)return s(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return s(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return s(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&o.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=e,i.arg=t,n?(this.method="next",this.next=n.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if("throw"===s.type){var n=s.arg;I(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,s){return this.delegate={iterator:L(e),resultName:r,nextLoc:s},"next"===this.method&&(this.arg=t),b}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},560:e=>{function t(r,s){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,s)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},681:(e,t,r)=>{var s=r(314),n=r(193),i=r(121),o=r(147);e.exports=function(e,t){return s(e)||n(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},408:(e,t,r)=>{var s=r(850),n=r(912),i=r(121),o=r(96);e.exports=function(e){return s(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},64:(e,t,r)=>{var s=r(425).default;e.exports=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},739:(e,t,r)=>{var s=r(425).default,n=r(64);e.exports=function(e){var t=n(e,"string");return"symbol"===s(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},425:e=>{function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},121:(e,t,r)=>{var s=r(748);e.exports=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},841:(e,t,r)=>{var s=r(609)();e.exports=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}},228:(e,t,r)=>{(()=>{var t,s,n={"../../node_modules/anymatch/index.js":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s=r("../../node_modules/picomatch/index.js"),n=r("../../node_modules/normalize-path/index.js"),i={returnIndex:!1},o=(e,t,r,s)=>{const i=Array.isArray(r),o=i?r[0]:r;if(!i&&"string"!=typeof o)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o));const a=n(o,!1);for(let e=0;e<t.length;e++)if((0,t[e])(a))return!!s&&-1;const c=i&&[a].concat(r.slice(1));for(let t=0;t<e.length;t++){const r=e[t];if(i?r(...c):r(a))return!s||t}return!!s&&-1},a=(e,t,r=i)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const n="boolean"==typeof r?{returnIndex:r}:r,a=n.returnIndex||!1,c=(l=e,Array.isArray(l)?l:[l]);var l;const u=c.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>s(e,n))),h=c.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const r=s(e,t);return t=>e===t||r(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,n)));return null==t?(e,t=!1)=>o(h,u,e,"boolean"==typeof t&&t):o(h,u,t,a)};a.default=a,e.exports=a},"../../node_modules/binary-extensions/index.js":(e,t,r)=>{e.exports=r("../../node_modules/binary-extensions/binary-extensions.json")},"../../node_modules/braces/index.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/stringify.js"),n=r("../../node_modules/braces/lib/compile.js"),i=r("../../node_modules/braces/lib/expand.js"),o=r("../../node_modules/braces/lib/parse.js"),a=(e,t={})=>{let r=[];if(Array.isArray(e))for(let s of e){let e=a.create(s,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};a.parse=(e,t={})=>o(e,t),a.stringify=(e,t={})=>s("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),n(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let r=i(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},"../../node_modules/braces/lib/compile.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/fill-range/index.js"),n=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,i={})=>{let o=n.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid,c=!0===o||!0===a,l=!0===t.escapeInvalid?"\\":"",u="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return c?l+e.value:"(";if("close"===e.type)return c?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let r=n.reduce(e.nodes),i=s(...r,{...t,wrap:!1,toRegex:!0});if(0!==i.length)return r.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(let t of e.nodes)u+=r(t,e);return u};return r(e)}},"../../node_modules/braces/lib/constants.js":e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},"../../node_modules/braces/lib/expand.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/fill-range/index.js"),n=r("../../node_modules/braces/lib/stringify.js"),i=r("../../node_modules/braces/lib/utils.js"),o=(e="",t="",r=!1)=>{let s=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?i.flatten(t).map((e=>`{${e}}`)):t;for(let n of e)if(Array.isArray(n))for(let e of n)s.push(o(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),s.push(Array.isArray(e)?o(n,e,r):n+e);return i.flatten(s)};e.exports=(e,t={})=>{let r=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,c={})=>{e.queue=[];let l=c,u=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,u=l.queue;if(e.invalid||e.dollar)return void u.push(o(u.pop(),n(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void u.push(o(u.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=i.reduce(e.nodes);if(i.exceedsLimit(...a,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=s(...a,t);return 0===c.length&&(c=n(e,t)),u.push(o(u.pop(),c)),void(e.nodes=[])}let h=i.encloseBrace(e),p=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,p=d.queue;for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];"comma"!==r.type||"brace"!==e.type?"close"!==r.type?r.value&&"open"!==r.type?p.push(o(p.pop(),r.value)):r.nodes&&a(r,e):u.push(o(u.pop(),p,h)):(1===t&&p.push(""),p.push(""))}return p};return i.flatten(a(e))}},"../../node_modules/braces/lib/parse.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/stringify.js"),{MAX_LENGTH:n,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:h,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:m,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:v}=r("../../node_modules/braces/lib/constants.js");e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let r=t||{},b="number"==typeof r.maxLength?Math.min(n,r.maxLength):n;if(e.length>b)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${b})`);let x,w={type:"root",input:e,nodes:[]},S=[w],E=w,_=w,P=0,T=e.length,A=0,C=0;const k=()=>e[A++],O=e=>{if("text"===e.type&&"dot"===_.type&&(_.type="text"),!_||"text"!==_.type||"text"!==e.type)return E.nodes.push(e),e.parent=E,e.prev=_,_=e,e;_.value+=e.value};for(O({type:"bos"});A<T;)if(E=S[S.length-1],x=k(),x!==v&&x!==y)if(x!==i)if(x!==f)if(x!==d)if(x!==l)if(x!==u)if(x!==m&&x!==g&&x!==o)if(x!==h)if(x!==p)if(x===a&&C>0){if(E.ranges>0){E.ranges=0;let e=E.nodes.shift();E.nodes=[e,{type:"text",value:s(E)}]}O({type:"comma",value:x}),E.commas++}else if(x===c&&C>0&&0===E.commas){let e=E.nodes;if(0===C||0===e.length){O({type:"text",value:x});continue}if("dot"===_.type){if(E.range=[],_.value+=x,_.type="range",3!==E.nodes.length&&5!==E.nodes.length){E.invalid=!0,E.ranges=0,_.type="text";continue}E.ranges++,E.args=[];continue}if("range"===_.type){e.pop();let t=e[e.length-1];t.value+=_.value+x,_=t,E.ranges--;continue}O({type:"dot",value:x})}else O({type:"text",value:x});else{if("brace"!==E.type){O({type:"text",value:x});continue}let e="close";E=S.pop(),E.close=!0,O({type:e,value:x}),C--,E=S[S.length-1]}else{C++;let e=_.value&&"$"===_.value.slice(-1)||!0===E.dollar;E=O({type:"brace",open:!0,close:!1,dollar:e,depth:C,commas:0,ranges:0,nodes:[]}),S.push(E),O({type:"open",value:x})}else{let e,r=x;for(!0!==t.keepQuotes&&(x="");A<T&&(e=k());)if(e!==i){if(e===r){!0===t.keepQuotes&&(x+=e);break}x+=e}else x+=e+k();O({type:"text",value:x})}else{if("paren"!==E.type){O({type:"text",value:x});continue}E=S.pop(),O({type:"text",value:x}),E=S[S.length-1]}else E=O({type:"paren",nodes:[]}),S.push(E),O({type:"text",value:x});else{let e;for(P++;A<T&&(e=k());)if(x+=e,e!==d)if(e!==i){if(e===f&&(P--,0===P))break}else x+=k();else P++;O({type:"text",value:x})}else O({type:"text",value:"\\"+x});else O({type:"text",value:(t.keepEscaping?x:"")+k()});do{if(E=S.pop(),"root"!==E.type){E.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));let e=S[S.length-1],t=e.nodes.indexOf(E);e.nodes.splice(t,1,...E.nodes)}}while(S.length>0);return O({type:"eos"}),w}},"../../node_modules/braces/lib/stringify.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,n={})=>{let i=t.escapeInvalid&&s.isInvalidBrace(n),o=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(i||o)&&s.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=r(t);return a};return r(e)}},"../../node_modules/braces/lib/utils.js":(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,r,s=1,n)=>!1!==n&&!(!t.isInteger(e)||!t.isInteger(r))&&(Number(r)-Number(e))/Number(s)>=n,t.escapeNode=(e,t=0,r)=>{let s=e.nodes[t];s&&(r&&s.type===r||"open"===s.type||"close"===s.type)&&!0!==s.escaped&&(s.value="\\"+s.value,s.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),t.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges>>0!=0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],r=e=>{for(let s=0;s<e.length;s++){let n=e[s];Array.isArray(n)?r(n,t):void 0!==n&&t.push(n)}return t};return r(e),t}},"../../node_modules/chokidar/index.js":(e,t,r)=>{"use strict";const{EventEmitter:s}=r("events"),n=r("fs"),i=r("path"),{promisify:o}=r("util"),a=r("../../node_modules/readdirp/index.js"),c=r("../../node_modules/anymatch/index.js").default,l=r("../../node_modules/glob-parent/index.js"),u=r("../../node_modules/is-glob/index.js"),h=r("../../node_modules/braces/index.js"),p=r("../../node_modules/normalize-path/index.js"),d=r("../../node_modules/chokidar/lib/nodefs-handler.js"),f=r("../../node_modules/chokidar/lib/fsevents-handler.js"),{EV_ALL:m,EV_READY:g,EV_ADD:y,EV_CHANGE:v,EV_UNLINK:b,EV_ADD_DIR:x,EV_UNLINK_DIR:w,EV_RAW:S,EV_ERROR:E,STR_CLOSE:_,STR_END:P,BACK_SLASH_RE:T,DOUBLE_SLASH_RE:A,SLASH_OR_BACK_SLASH_RE:C,DOT_RE:k,REPLACER_RE:O,SLASH:N,SLASH_SLASH:I,BRACE_START:R,BANG:L,ONE_DOT:D,TWO_DOTS:M,GLOBSTAR:j,SLASH_GLOBSTAR:F,ANYMATCH_OPTS:B,STRING_TYPE:U,FUNCTION_TYPE:$,EMPTY_STR:q,EMPTY_FN:H,isWindows:W,isMacos:V,isIBMi:z}=r("../../node_modules/chokidar/lib/constants.js"),G=o(n.stat),K=o(n.readdir),Y=(e=[])=>Array.isArray(e)?e:[e],J=(e,t=[])=>(e.forEach((e=>{Array.isArray(e)?J(e,t):t.push(e)})),t),X=e=>{const t=J(Y(e));if(!t.every((e=>typeof e===U)))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(Z)},Q=e=>{let t=e.replace(T,N),r=!1;for(t.startsWith(I)&&(r=!0);t.match(A);)t=t.replace(A,N);return r&&(t=N+t),t},Z=e=>Q(i.normalize(Q(e))),ee=(e=q)=>t=>typeof t!==U?t:Z(i.isAbsolute(t)?t:i.join(e,t)),te=(e,t)=>void 0===e[t];class re{constructor(e,t){this.path=e,this._removeWatcher=t,this.items=new Set}add(e){const{items:t}=this;t&&e!==D&&e!==M&&t.add(e)}async remove(e){const{items:t}=this;if(!t)return;if(t.delete(e),t.size>0)return;const r=this.path;try{await K(r)}catch(e){this._removeWatcher&&this._removeWatcher(i.dirname(r),i.basename(r))}}has(e){const{items:t}=this;if(t)return t.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class se{constructor(e,t,r,s){this.fsw=s,this.path=e=e.replace(O,q),this.watchPath=t,this.fullWatchPath=i.resolve(t),this.hasGlob=t!==e,e===q&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!r)&&void 0,this.globFilter=!!this.hasGlob&&c(e,void 0,B),this.dirParts=this.getDirParts(e),this.dirParts.forEach((e=>{e.length>1&&e.pop()})),this.followSymlinks=r,this.statMethod=r?"stat":"lstat"}checkGlobSymlink(e){return void 0===this.globSymlink&&(this.globSymlink=e.fullParentDir!==this.fullWatchPath&&{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return i.join(this.watchPath,i.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:t}=e;if(t&&t.isSymbolicLink())return this.filterDir(e);const r=this.entryPath(e);return(!this.hasGlob||typeof this.globFilter!==$||this.globFilter(r))&&this.fsw._isntIgnored(r,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(R)?h.expand(e):[e]).forEach((e=>{t.push(i.relative(this.watchPath,e).split(C))})),t}filterDir(e){if(this.hasGlob){const t=this.getDirParts(this.checkGlobSymlink(e));let r=!1;this.unmatchedGlob=!this.dirParts.some((e=>e.every(((e,s)=>(e===j&&(r=!0),r||!t[0][s]||c(e,t[0][s],B))))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class ne extends s{constructor(e){super();const t={};e&&Object.assign(t,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,te(t,"persistent")&&(t.persistent=!0),te(t,"ignoreInitial")&&(t.ignoreInitial=!1),te(t,"ignorePermissionErrors")&&(t.ignorePermissionErrors=!1),te(t,"interval")&&(t.interval=100),te(t,"binaryInterval")&&(t.binaryInterval=300),te(t,"disableGlobbing")&&(t.disableGlobbing=!1),t.enableBinaryInterval=t.binaryInterval!==t.interval,te(t,"useFsEvents")&&(t.useFsEvents=!t.usePolling),f.canUse()||(t.useFsEvents=!1),te(t,"usePolling")&&!t.useFsEvents&&(t.usePolling=V),z&&(t.usePolling=!0);const r=process.env.CHOKIDAR_USEPOLLING;if(void 0!==r){const e=r.toLowerCase();t.usePolling="false"!==e&&"0"!==e&&("true"===e||"1"===e||!!e)}const s=process.env.CHOKIDAR_INTERVAL;s&&(t.interval=Number.parseInt(s,10)),te(t,"atomic")&&(t.atomic=!t.usePolling&&!t.useFsEvents),t.atomic&&(this._pendingUnlinks=new Map),te(t,"followSymlinks")&&(t.followSymlinks=!0),te(t,"awaitWriteFinish")&&(t.awaitWriteFinish=!1),!0===t.awaitWriteFinish&&(t.awaitWriteFinish={});const n=t.awaitWriteFinish;n&&(n.stabilityThreshold||(n.stabilityThreshold=2e3),n.pollInterval||(n.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=Y(t.ignored));let i=0;this._emitReady=()=>{i++,i>=this._readyCount&&(this._emitReady=H,this._readyEmitted=!0,process.nextTick((()=>this.emit(g))))},this._emitRaw=(...e)=>this.emit(S,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new f(this):this._nodeFsHandler=new d(this),Object.freeze(t)}add(e,t,r){const{cwd:s,disableGlobbing:n}=this.options;this.closed=!1;let o=X(e);return s&&(o=o.map((e=>{const t=((e,t)=>i.isAbsolute(e)?e:e.startsWith(L)?L+i.join(t,e.slice(1)):i.join(t,e))(e,s);return n||!u(e)?t:p(t)}))),o=o.filter((e=>e.startsWith(L)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+F),this._userIgnored=void 0,!0))),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=o.length),this.options.persistent&&(this._readyCount*=2),o.forEach((e=>this._fsEventsHandler._addToFsEvents(e)))):(this._readyCount||(this._readyCount=0),this._readyCount+=o.length,Promise.all(o.map((async e=>{const s=await this._nodeFsHandler._addToNodeFs(e,!r,0,0,t);return s&&this._emitReady(),s}))).then((e=>{this.closed||e.filter((e=>e)).forEach((e=>{this.add(i.dirname(e),i.basename(t||e))}))}))),this}unwatch(e){if(this.closed)return this;const t=X(e),{cwd:r}=this.options;return t.forEach((e=>{i.isAbsolute(e)||this._closers.has(e)||(r&&(e=i.join(r,e)),e=i.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+F),this._userIgnored=void 0})),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach((t=>t.forEach((t=>{const r=t();r instanceof Promise&&e.push(r)})))),this._streams.forEach((e=>e.destroy())),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((e=>e.dispose())),["closers","watched","streams","symlinkPaths","throttled"].forEach((e=>{this[`_${e}`].clear()})),this._closePromise=e.length?Promise.all(e).then((()=>{})):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach(((t,r)=>{const s=this.options.cwd?i.relative(this.options.cwd,r):r;e[s||D]=t.getChildren().sort()})),e}emitWithAll(e,t){this.emit(...t),e!==E&&this.emit(m,...t)}async _emit(e,t,r,s,n){if(this.closed)return;const o=this.options;W&&(t=i.normalize(t)),o.cwd&&(t=i.relative(o.cwd,t));const a=[e,t];void 0!==n?a.push(r,s,n):void 0!==s?a.push(r,s):void 0!==r&&a.push(r);const c=o.awaitWriteFinish;let l;if(c&&(l=this._pendingWrites.get(t)))return l.lastChange=new Date,this;if(o.atomic){if(e===b)return this._pendingUnlinks.set(t,a),setTimeout((()=>{this._pendingUnlinks.forEach(((e,t)=>{this.emit(...e),this.emit(m,...e),this._pendingUnlinks.delete(t)}))}),"number"==typeof o.atomic?o.atomic:100),this;e===y&&this._pendingUnlinks.has(t)&&(e=a[0]=v,this._pendingUnlinks.delete(t))}if(c&&(e===y||e===v)&&this._readyEmitted){const r=(t,r)=>{t?(e=a[0]=E,a[1]=t,this.emitWithAll(e,a)):r&&(a.length>2?a[2]=r:a.push(r),this.emitWithAll(e,a))};return this._awaitWriteFinish(t,c.stabilityThreshold,e,r),this}if(e===v&&!this._throttle(v,t,50))return this;if(o.alwaysStat&&void 0===r&&(e===y||e===x||e===v)){const e=o.cwd?i.join(o.cwd,t):t;let r;try{r=await G(e)}catch(e){}if(!r||this.closed)return;a.push(r)}return this.emitWithAll(e,a),this}_handleError(e){const t=e&&e.code;return e&&"ENOENT"!==t&&"ENOTDIR"!==t&&(!this.options.ignorePermissionErrors||"EPERM"!==t&&"EACCES"!==t)&&this.emit(E,e),e||this.closed}_throttle(e,t,r){this._throttled.has(e)||this._throttled.set(e,new Map);const s=this._throttled.get(e),n=s.get(t);if(n)return n.count++,!1;let i;const o=()=>{const e=s.get(t),r=e?e.count:0;return s.delete(t),clearTimeout(i),e&&clearTimeout(e.timeoutObject),r};i=setTimeout(o,r);const a={timeoutObject:i,clear:o,count:0};return s.set(t,a),a}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,r,s){let o,a=e;this.options.cwd&&!i.isAbsolute(e)&&(a=i.join(this.options.cwd,e));const c=new Date,l=r=>{n.stat(a,((n,i)=>{if(n||!this._pendingWrites.has(e))return void(n&&"ENOENT"!==n.code&&s(n));const a=Number(new Date);r&&i.size!==r.size&&(this._pendingWrites.get(e).lastChange=a),a-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),s(void 0,i)):o=setTimeout(l,this.options.awaitWriteFinish.pollInterval,i)}))};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(o),r)}),o=setTimeout(l,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&k.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,r=t&&t.map(ee(e)),s=Y(r).filter((e=>typeof e===U&&!u(e))).map((e=>e+F)),n=this._getGlobIgnored().map(ee(e)).concat(r,s);this._userIgnored=c(n,void 0,B)}return this._userIgnored([e,t])}_isntIgnored(e,t){return!this._isIgnored(e,t)}_getWatchHelpers(e,t){const r=t||this.options.disableGlobbing||!u(e)?e:l(e),s=this.options.followSymlinks;return new se(e,r,s,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=i.resolve(e);return this._watched.has(t)||this._watched.set(t,new re(t,this._boundRemove)),this._watched.get(t)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const t=511&(e&&Number.parseInt(e.mode,10)),r=Number.parseInt(t.toString(8)[0],10);return Boolean(4&r)}_remove(e,t,r){const s=i.join(e,t),n=i.resolve(s);if(r=null!=r?r:this._watched.has(s)||this._watched.has(n),!this._throttle("remove",s,100))return;r||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(s).getChildren().forEach((e=>this._remove(s,e)));const o=this._getWatchedDir(e),a=o.has(t);o.remove(t),this._symlinkPaths.has(n)&&this._symlinkPaths.delete(n);let c=s;if(this.options.cwd&&(c=i.relative(this.options.cwd,s)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===y)return;this._watched.delete(s),this._watched.delete(n);const l=r?w:b;a&&!this._isIgnored(s)&&this._emit(l,s),this.options.useFsEvents||this._closePath(s)}_closePath(e){this._closeFile(e);const t=i.dirname(e);this._getWatchedDir(t).remove(i.basename(e))}_closeFile(e){const t=this._closers.get(e);t&&(t.forEach((e=>e())),this._closers.delete(e))}_addPathCloser(e,t){if(!t)return;let r=this._closers.get(e);r||(r=[],this._closers.set(e,r)),r.push(t)}_readdirp(e,t){if(this.closed)return;const r={type:m,alwaysStat:!0,lstat:!0,...t};let s=a(e,r);return this._streams.add(s),s.once(_,(()=>{s=void 0})),s.once(P,(()=>{s&&(this._streams.delete(s),s=void 0)})),s}}t.FSWatcher=ne,t.watch=(e,t)=>{const r=new ne(t);return r.add(e),r}},"../../node_modules/chokidar/lib/constants.js":(e,t,r)=>{"use strict";const{sep:s}=r("path"),{platform:n}=process,i=r("os");t.EV_ALL="all",t.EV_READY="ready",t.EV_ADD="add",t.EV_CHANGE="change",t.EV_ADD_DIR="addDir",t.EV_UNLINK="unlink",t.EV_UNLINK_DIR="unlinkDir",t.EV_RAW="raw",t.EV_ERROR="error",t.STR_DATA="data",t.STR_END="end",t.STR_CLOSE="close",t.FSEVENT_CREATED="created",t.FSEVENT_MODIFIED="modified",t.FSEVENT_DELETED="deleted",t.FSEVENT_MOVED="moved",t.FSEVENT_CLONED="cloned",t.FSEVENT_UNKNOWN="unknown",t.FSEVENT_TYPE_FILE="file",t.FSEVENT_TYPE_DIRECTORY="directory",t.FSEVENT_TYPE_SYMLINK="symlink",t.KEY_LISTENERS="listeners",t.KEY_ERR="errHandlers",t.KEY_RAW="rawEmitters",t.HANDLER_KEYS=[t.KEY_LISTENERS,t.KEY_ERR,t.KEY_RAW],t.DOT_SLASH=`.${s}`,t.BACK_SLASH_RE=/\\/g,t.DOUBLE_SLASH_RE=/\/\//,t.SLASH_OR_BACK_SLASH_RE=/[/\\]/,t.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,t.REPLACER_RE=/^\.[/\\]/,t.SLASH="/",t.SLASH_SLASH="//",t.BRACE_START="{",t.BANG="!",t.ONE_DOT=".",t.TWO_DOTS="..",t.STAR="*",t.GLOBSTAR="**",t.ROOT_GLOBSTAR="/**/*",t.SLASH_GLOBSTAR="/**",t.DIR_SUFFIX="Dir",t.ANYMATCH_OPTS={dot:!0},t.STRING_TYPE="string",t.FUNCTION_TYPE="function",t.EMPTY_STR="",t.EMPTY_FN=()=>{},t.IDENTITY_FN=e=>e,t.isWindows="win32"===n,t.isMacos="darwin"===n,t.isLinux="linux"===n,t.isIBMi="OS400"===i.type()},"../../node_modules/chokidar/lib/fsevents-handler.js":(e,t,r)=>{"use strict";const s=r("fs"),n=r("path"),{promisify:i}=r("util");let o;try{o=r("fsevents")}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(o){const e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){const t=Number.parseInt(e[1],10),r=Number.parseInt(e[2],10);8===t&&r<16&&(o=void 0)}}const{EV_ADD:a,EV_CHANGE:c,EV_ADD_DIR:l,EV_UNLINK:u,EV_ERROR:h,STR_DATA:p,STR_END:d,FSEVENT_CREATED:f,FSEVENT_MODIFIED:m,FSEVENT_DELETED:g,FSEVENT_MOVED:y,FSEVENT_UNKNOWN:v,FSEVENT_TYPE_FILE:b,FSEVENT_TYPE_DIRECTORY:x,FSEVENT_TYPE_SYMLINK:w,ROOT_GLOBSTAR:S,DIR_SUFFIX:E,DOT_SLASH:_,FUNCTION_TYPE:P,EMPTY_FN:T,IDENTITY_FN:A}=r("../../node_modules/chokidar/lib/constants.js"),C=i(s.stat),k=i(s.lstat),O=i(s.realpath),N={stat:C,lstat:k},I=new Map,R=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),L=(e,t)=>({stop:o.watch(e,t)}),D=(e,t)=>{let r=0;for(;!e.indexOf(t)&&(e=n.dirname(e))!==t;)r++;return r},M=(e,t)=>e.type===x&&t.isDirectory()||e.type===w&&t.isSymbolicLink()||e.type===b&&t.isFile();e.exports=class{constructor(e){this.fsw=e}checkIgnored(e,t){const r=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,t))return r.add(e),t&&t.isDirectory()&&r.add(e+S),!0;r.delete(e),r.delete(e+S)}addOrChange(e,t,r,s,n,i,o,l){const u=n.has(i)?c:a;this.handleEvent(u,e,t,r,s,n,i,o,l)}async checkExists(e,t,r,s,n,i,o,a){try{const c=await C(e);if(this.fsw.closed)return;M(o,c)?this.addOrChange(e,t,r,s,n,i,o,a):this.handleEvent(u,e,t,r,s,n,i,o,a)}catch(c){"EACCES"===c.code?this.addOrChange(e,t,r,s,n,i,o,a):this.handleEvent(u,e,t,r,s,n,i,o,a)}}handleEvent(e,t,r,s,n,i,o,c,h){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===u){const e=c.type===x;(e||i.has(o))&&this.fsw._remove(n,o,e)}else{if(e===a){if(c.type===x&&this.fsw._getWatchedDir(t),c.type===w&&h.followSymlinks){const e=void 0===h.depth?void 0:D(r,s)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(n).add(o)}const i=c.type===x?e+E:e;this.fsw._emit(i,t),i===l&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,r,s){if(this.fsw.closed||this.fsw._isIgnored(e))return;const i=this.fsw.options,a=function(e,t,r,s){let i=n.extname(t)?n.dirname(t):t;const a=n.dirname(i);let c=I.get(i);(e=>{let t=0;for(const r of I.keys())if(0===r.indexOf(e)&&(t++,t>=10))return!0;return!1})(a)&&(i=a);const l=n.resolve(e),u=l!==t,h=(e,s,i)=>{u&&(e=e.replace(t,l)),e!==l&&e.indexOf(l+n.sep)||r(e,s,i)};let p=!1;for(const e of I.keys())if(0===t.indexOf(n.resolve(e)+n.sep)){i=e,c=I.get(i),p=!0;break}return c||p?c.listeners.add(h):(c={listeners:new Set([h]),rawEmitter:s,watcher:L(i,((e,t)=>{if(!c.listeners.size)return;const r=o.getInfo(e,t);c.listeners.forEach((s=>{s(e,t,r)})),c.rawEmitter(r.event,e,r)}))},I.set(i,c)),()=>{const e=c.listeners;if(e.delete(h),!e.size&&(I.delete(i),c.watcher))return c.watcher.stop().then((()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)}))}}(e,t,(async(o,a,c)=>{if(this.fsw.closed)return;if(void 0!==i.depth&&D(o,t)>i.depth)return;const l=r(n.join(e,n.relative(e,o)));if(s&&!s(l))return;const h=n.dirname(l),p=n.basename(l),d=this.fsw._getWatchedDir(c.type===x?l:h);if(R.has(a)||c.event===v)if(typeof i.ignored===P){let e;try{e=await C(l)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(l,e))return;M(c,e)?this.addOrChange(l,o,t,h,d,p,c,i):this.handleEvent(u,l,o,t,h,d,p,c,i)}else this.checkExists(l,o,t,h,d,p,c,i);else switch(c.event){case f:case m:return this.addOrChange(l,o,t,h,d,p,c,i);case g:case y:return this.checkExists(l,o,t,h,d,p,c,i)}}),this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,t,r,s){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(t)){this.fsw._symlinkPaths.set(t,!0),this.fsw._incrReadyCount();try{const t=await O(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(t))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(t||e,(s=>{let i=e;return t&&t!==_?i=s.replace(t,e):s!==_&&(i=n.join(e,s)),r(i)}),!1,s)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,r,s,i){const o=r(e),c=t.isDirectory(),u=this.fsw._getWatchedDir(n.dirname(o)),h=n.basename(o);c&&this.fsw._getWatchedDir(o),u.has(h)||(u.add(h),s.ignoreInitial&&!0!==i||this.fsw._emit(c?l:a,o,t))}initWatch(e,t,r,s){if(this.fsw.closed)return;const i=this._watchWithFsEvents(r.watchPath,n.resolve(e||r.watchPath),s,r.globFilter);this.fsw._addPathCloser(t,i)}async _addToFsEvents(e,t,r,s){if(this.fsw.closed)return;const i=this.fsw.options,o=typeof t===P?t:A,a=this.fsw._getWatchHelpers(e);try{const t=await N[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,t))throw null;if(t.isDirectory()){if(a.globFilter||this.emitAdd(o(e),t,o,i,r),s&&s>i.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),...(c=i.depth-(s||0),isNaN(c)?{}:{depth:c})}).on(p,(e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!a.filterPath(e))return;const t=n.join(a.watchPath,e.path),{fullPath:s}=e;if(a.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===i.depth?void 0:D(t,n.resolve(a.watchPath))+1;this._handleFsEventsSymlink(t,s,o,e)}else this.emitAdd(t,e.stats,o,i,r)})).on(h,T).on(d,(()=>{this.fsw._emitReady()}))}else this.emitAdd(a.watchPath,t,o,i,r),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var c;if(i.persistent&&!0!==r)if(typeof t===P)this.initWatch(void 0,e,a,o);else{let t;try{t=await O(a.watchPath)}catch(e){}this.initWatch(t,e,a,o)}}},e.exports.canUse=()=>o&&I.size<128},"../../node_modules/chokidar/lib/nodefs-handler.js":(e,t,r)=>{"use strict";const s=r("fs"),n=r("path"),{promisify:i}=r("util"),o=r("../../node_modules/is-binary-path/index.js"),{isWindows:a,isLinux:c,EMPTY_FN:l,EMPTY_STR:u,KEY_LISTENERS:h,KEY_ERR:p,KEY_RAW:d,HANDLER_KEYS:f,EV_CHANGE:m,EV_ADD:g,EV_ADD_DIR:y,EV_ERROR:v,STR_DATA:b,STR_END:x,BRACE_START:w,STAR:S}=r("../../node_modules/chokidar/lib/constants.js"),E=i(s.open),_=i(s.stat),P=i(s.lstat),T=i(s.close),A=i(s.realpath),C={lstat:P,stat:_},k=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},O=(e,t,r)=>{let s=e[t];s instanceof Set||(e[t]=s=new Set([s])),s.add(r)},N=(e,t,r)=>{const s=e[t];s instanceof Set?s.delete(r):s===r&&delete e[t]},I=e=>e instanceof Set?0===e.size:!e,R=new Map;function L(e,t,r,i,o){const a=(t,s)=>{r(e),o(t,s,{watchedPath:e}),s&&e!==s&&D(n.resolve(e,s),h,n.join(e,s))};try{return s.watch(e,t,a)}catch(e){i(e)}}const D=(e,t,r,s,n)=>{const i=R.get(e);i&&k(i[t],(e=>{e(r,s,n)}))},M=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const r=this.fsw.options,i=n.dirname(e),c=n.basename(e);this.fsw._getWatchedDir(i).add(c);const u=n.resolve(e),g={persistent:r.persistent};let y;return t||(t=l),r.usePolling?(g.interval=r.enableBinaryInterval&&o(c)?r.binaryInterval:r.interval,y=((e,t,r,n)=>{const{listener:i,rawEmitter:o}=n;let a=M.get(t),c=new Set,l=new Set;const u=a&&a.options;return u&&(u.persistent<r.persistent||u.interval>r.interval)&&(c=a.listeners,l=a.rawEmitters,s.unwatchFile(t),a=void 0),a?(O(a,h,i),O(a,d,o)):(a={listeners:i,rawEmitters:o,options:r,watcher:s.watchFile(t,r,((r,s)=>{k(a.rawEmitters,(e=>{e(m,t,{curr:r,prev:s})}));const n=r.mtimeMs;(r.size!==s.size||n>s.mtimeMs||0===n)&&k(a.listeners,(t=>t(e,r)))}))},M.set(t,a)),()=>{N(a,h,i),N(a,d,o),I(a.listeners)&&(M.delete(t),s.unwatchFile(t),a.options=a.watcher=void 0,Object.freeze(a))}})(e,u,g,{listener:t,rawEmitter:this.fsw._emitRaw})):y=((e,t,r,s)=>{const{listener:n,errHandler:i,rawEmitter:o}=s;let c,l=R.get(t);if(!r.persistent)return c=L(e,r,n,i,o),c.close.bind(c);if(l)O(l,h,n),O(l,p,i),O(l,d,o);else{if(c=L(e,r,D.bind(null,t,h),i,D.bind(null,t,d)),!c)return;c.on(v,(async r=>{const s=D.bind(null,t,p);if(l.watcherUnusable=!0,a&&"EPERM"===r.code)try{const t=await E(e,"r");await T(t),s(r)}catch(e){}else s(r)})),l={listeners:n,errHandlers:i,rawEmitters:o,watcher:c},R.set(t,l)}return()=>{N(l,h,n),N(l,p,i),N(l,d,o),I(l.listeners)&&(l.watcher.close(),R.delete(t),f.forEach((e=>t=>{const r=e[t];r instanceof Set?r.clear():delete e[t]})(l)),l.watcher=void 0,Object.freeze(l))}})(e,u,g,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),y}_handleFile(e,t,r){if(this.fsw.closed)return;const s=n.dirname(e),i=n.basename(e),o=this.fsw._getWatchedDir(s);let a=t;if(o.has(i))return;const l=async(t,r)=>{if(this.fsw._throttle("watch",e,5))if(r&&0!==r.mtimeMs){if(o.has(i)){const t=r.atimeMs,s=r.mtimeMs;(!t||t<=s||s!==a.mtimeMs)&&this.fsw._emit(m,e,r),a=r}}else try{const r=await _(e);if(this.fsw.closed)return;const s=r.atimeMs,n=r.mtimeMs;(!s||s<=n||n!==a.mtimeMs)&&this.fsw._emit(m,e,r),c&&a.ino!==r.ino?(this.fsw._closeFile(t),a=r,this.fsw._addPathCloser(t,this._watchWithNodeFs(e,l))):a=r}catch(e){this.fsw._remove(s,i)}},u=this._watchWithNodeFs(e,l);if((!r||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(g,e,0))return;this.fsw._emit(g,e,t)}return u}async _handleSymlink(e,t,r,s){if(this.fsw.closed)return;const n=e.fullPath,i=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){let t;this.fsw._incrReadyCount();try{t=await A(r)}catch(e){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;return i.has(s)?this.fsw._symlinkPaths.get(n)!==t&&(this.fsw._symlinkPaths.set(n,t),this.fsw._emit(m,r,e.stats)):(i.add(s),this.fsw._symlinkPaths.set(n,t),this.fsw._emit(g,r,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(n))return!0;this.fsw._symlinkPaths.set(n,!0)}_handleRead(e,t,r,s,i,o,a){if(e=n.join(e,u),!r.hasGlob&&!(a=this.fsw._throttle("readdir",e,1e3)))return;const c=this.fsw._getWatchedDir(r.path),l=new Set;let h=this.fsw._readdirp(e,{fileFilter:e=>r.filterPath(e),directoryFilter:e=>r.filterDir(e),depth:0}).on(b,(async a=>{if(this.fsw.closed)return void(h=void 0);const u=a.path;let p=n.join(e,u);l.add(u),a.stats.isSymbolicLink()&&await this._handleSymlink(a,e,p,u)||(this.fsw.closed?h=void 0:u!==s&&(s||c.has(u))||(this.fsw._incrReadyCount(),p=n.join(i,n.relative(i,p)),this._addToNodeFs(p,t,r,o+1)))})).on(v,this._boundHandleError);return new Promise((t=>h.once(x,(()=>{if(this.fsw.closed)return void(h=void 0);const u=!!a&&a.clear();t(),c.getChildren().filter((t=>t!==e&&!l.has(t)&&(!r.hasGlob||r.filterPath({fullPath:n.resolve(e,t)})))).forEach((t=>{this.fsw._remove(e,t)})),h=void 0,u&&this._handleRead(e,!1,r,s,i,o,a)}))))}async _handleDir(e,t,r,s,i,o,a){const c=this.fsw._getWatchedDir(n.dirname(e)),l=c.has(n.basename(e));let u,h;r&&this.fsw.options.ignoreInitial||i||l||o.hasGlob&&!o.globFilter(e)||this.fsw._emit(y,e,t),c.add(n.basename(e)),this.fsw._getWatchedDir(e);const p=this.fsw.options.depth;if((null==p||s<=p)&&!this.fsw._symlinkPaths.has(a)){if(!i&&(await this._handleRead(e,r,o,i,e,s,u),this.fsw.closed))return;h=this._watchWithNodeFs(e,((t,r)=>{r&&0===r.mtimeMs||this._handleRead(t,!1,o,i,e,s,u)}))}return h}async _addToNodeFs(e,t,r,s,i){const o=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return o(),!1;const a=this.fsw._getWatchHelpers(e,s);!a.hasGlob&&r&&(a.hasGlob=r.hasGlob,a.globFilter=r.globFilter,a.filterPath=e=>r.filterPath(e),a.filterDir=e=>r.filterDir(e));try{const r=await C[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,r))return o(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(S)&&!e.includes(w);let l;if(r.isDirectory()){const o=n.resolve(e),u=c?await A(e):e;if(this.fsw.closed)return;if(l=await this._handleDir(a.watchPath,r,t,s,i,a,u),this.fsw.closed)return;o!==u&&void 0!==u&&this.fsw._symlinkPaths.set(o,u)}else if(r.isSymbolicLink()){const i=c?await A(e):e;if(this.fsw.closed)return;const o=n.dirname(a.watchPath);if(this.fsw._getWatchedDir(o).add(a.watchPath),this.fsw._emit(g,a.watchPath,r),l=await this._handleDir(o,r,t,s,e,a,i),this.fsw.closed)return;void 0!==i&&this.fsw._symlinkPaths.set(n.resolve(e),i)}else l=this._handleFile(a.watchPath,r,t);return o(),this.fsw._addPathCloser(e,l),!1}catch(t){if(this.fsw._handleError(t))return o(),e}}}},"../../node_modules/debug/src/browser.js":(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let s=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(n=s))})),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r("../../node_modules/debug/src/common.js")(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},"../../node_modules/debug/src/common.js":(e,t,r)=>{e.exports=function(e){function t(e){let r,n,i,o=null;function a(...e){if(!a.enabled)return;const s=a,n=Number(new Date),i=n-(r||n);s.diff=i,s.prev=r,s.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,n)=>{if("%%"===r)return"%";o++;const i=t.formatters[n];if("function"==typeof i){const t=e[o];r=i.call(s,t),e.splice(o,1),o--}return r})),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=s,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==t.namespaces&&(n=t.namespaces,i=t.enabled(e)),i),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function s(e,r){const s=t(this.namespace+(void 0===r?":":r)+e);return s.log=this.log,s}function n(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(n),...t.skips.map(n).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),n=s.length;for(r=0;r<n;r++)s[r]&&("-"===(e=s[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,s;for(r=0,s=t.skips.length;r<s;r++)if(t.skips[r].test(e))return!1;for(r=0,s=t.names.length;r<s;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r("../../node_modules/ms/index.js"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},"../../node_modules/debug/src/index.js":(e,t,r)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r("../../node_modules/debug/src/browser.js"):e.exports=r("../../node_modules/debug/src/node.js")},"../../node_modules/debug/src/node.js":(e,t,r)=>{const s=r("tty"),n=r("util");t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let s=0;s<r.length;s++)e.inspectOpts[r[s]]=t.inspectOpts[r[s]]},t.log=function(...e){return process.stderr.write(n.format(...e)+"\n")},t.formatArgs=function(r){const{namespace:s,useColors:n}=this;if(n){const t=this.color,n="[3"+(t<8?t:"8;5;"+t),i=` ${n};1m${s} `;r[0]=i+r[0].split("\n").join("\n"+i),r.push(n+"m+"+e.exports.humanize(this.diff)+"")}else r[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+s+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)},t.destroy=n.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r("../../node_modules/supports-color/index.js");e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];return s=!!/^(yes|on|true|enabled)$/i.test(s)||!/^(no|off|false|disabled)$/i.test(s)&&("null"===s?null:Number(s)),e[r]=s,e}),{}),e.exports=r("../../node_modules/debug/src/common.js")(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},"../../node_modules/fill-range/index.js":(e,t,r)=>{"use strict";const s=r("util"),n=r("../../node_modules/to-regex-range/index.js"),i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},l=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},u=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},h=(e,t,r,s)=>{if(r)return n(e,t,{wrap:!1,...s});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},p=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return n(e,t,r)},d=(...e)=>new RangeError("Invalid range arguments: "+s.inspect(...e)),f=(e,t,r)=>{if(!0===r.strictRanges)throw d([e,t]);return[]},m=(e,t,r,s={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return f(e,t,s);if("function"==typeof r)return m(e,t,1,{transform:r});if(i(r))return m(e,t,0,r);let n={...s};return!0===n.capture&&(n.wrap=!0),r=r||n.step||1,a(r)?a(e)&&a(t)?((e,t,r=1,s={})=>{let n=Number(e),i=Number(t);if(!Number.isInteger(n)||!Number.isInteger(i)){if(!0===s.strictRanges)throw d([e,t]);return[]}0===n&&(n=0),0===i&&(i=0);let o=n>i,a=String(e),f=String(t),m=String(r);r=Math.max(Math.abs(r),1);let g=c(a)||c(f)||c(m),y=g?Math.max(a.length,f.length,m.length):0,v=!1===g&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,s),b=s.transform||(e=>t=>!0===e?Number(t):String(t))(v);if(s.toRegex&&1===r)return h(u(e,y),u(t,y),!0,s);let x={negatives:[],positives:[]},w=[],S=0;for(;o?n>=i:n<=i;)!0===s.toRegex&&r>1?x[(E=n)<0?"negatives":"positives"].push(Math.abs(E)):w.push(l(b(n,S),y,v)),n=o?n-r:n+r,S++;var E;return!0===s.toRegex?r>1?((e,t)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let r,s=t.capture?"":"?:",n="",i="";return e.positives.length&&(n=e.positives.join("|")),e.negatives.length&&(i=`-(${s}${e.negatives.join("|")})`),r=n&&i?`${n}|${i}`:n||i,t.wrap?`(${s}${r})`:r})(x,s):p(w,null,{wrap:!1,...s}):w})(e,t,r,n):((e,t,r=1,s={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return f(e,t,s);let n=s.transform||(e=>String.fromCharCode(e)),i=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),c=i>o,l=Math.min(i,o),u=Math.max(i,o);if(s.toRegex&&1===r)return h(l,u,!1,s);let d=[],m=0;for(;c?i>=o:i<=o;)d.push(n(i,m)),i=c?i-r:i+r,m++;return!0===s.toRegex?p(d,null,{wrap:!1,options:s}):d})(e,t,Math.max(Math.abs(r),1),n):null==r||i(r)?m(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,n)};e.exports=m},"../../node_modules/glob-parent/index.js":(e,t,r)=>{"use strict";var s=r("../../node_modules/is-glob/index.js"),n=r("path").posix.dirname,i="win32"===r("os").platform(),o=/\\/g,a=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&i&&e.indexOf("/")<0&&(e=e.replace(o,"/")),a.test(e)&&(e+="/"),e+="a";do{e=n(e)}while(s(e)||c.test(e));return e.replace(l,"$1")}},"../../node_modules/has-flag/index.js":e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":1===e.length?"-":"--",s=t.indexOf(r+e),n=t.indexOf("--");return-1!==s&&(-1===n||s<n)}},"../../node_modules/is-binary-path/index.js":(e,t,r)=>{"use strict";const s=r("path"),n=r("../../node_modules/binary-extensions/index.js"),i=new Set(n);e.exports=e=>i.has(s.extname(e).slice(1).toLowerCase())},"../../node_modules/is-extglob/index.js":e=>{e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},"../../node_modules/is-glob/index.js":(e,t,r)=>{var s=r("../../node_modules/is-extglob/index.js"),n={"{":"}","(":")","[":"]"},i=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,s=-2,i=-2,o=-2,a=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==s&&"["===e[t]&&"]"!==e[t+1]&&(s<t&&(s=e.indexOf("]",t)),s>t)){if(-1===a||a>s)return!0;if(-1===(a=e.indexOf("\\",t))||a>s)return!0}if(-1!==i&&"{"===e[t]&&"}"!==e[t+1]&&(i=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>i))return!0;if(-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>o))return!0;if(-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(r<t&&(r=e.indexOf("|",t)),-1!==r&&")"!==e[r+1]&&(o=e.indexOf(")",r))>r&&(-1===(a=e.indexOf("\\",r))||a>o)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var l=n[c];if(l){var u=e.indexOf(l,t);-1!==u&&(t=u+1)}if("!"===e[t])return!0}else t++}return!1},o=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var s=n[r];if(s){var i=e.indexOf(s,t);-1!==i&&(t=i+1)}if("!"===e[t])return!0}else t++}return!1};e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(s(e))return!0;var r=i;return t&&!1===t.strict&&(r=o),r(e)}},"../../node_modules/is-number/index.js":e=>{"use strict";e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},"../../node_modules/ms/index.js":e=>{var t=1e3,r=60*t,s=60*r,n=24*s;function i(e,t,r,s){var n=t>=1.5*r;return Math.round(e/r)+" "+s+(n?"s":"")}e.exports=function(e,o){o=o||{};var a,c,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var o=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*n;case"hours":case"hour":case"hrs":case"hr":case"h":return o*s;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===l&&isFinite(e))return o.long?(a=e,(c=Math.abs(a))>=n?i(a,c,n,"day"):c>=s?i(a,c,s,"hour"):c>=r?i(a,c,r,"minute"):c>=t?i(a,c,t,"second"):a+" ms"):function(e){var i=Math.abs(e);return i>=n?Math.round(e/n)+"d":i>=s?Math.round(e/s)+"h":i>=r?Math.round(e/r)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"../../node_modules/node-gyp-build/index.js":(e,t,r)=>{"function"==typeof process.addon?e.exports=process.addon.bind(process):e.exports=r("../../node_modules/node-gyp-build/node-gyp-build.js")},"../../node_modules/node-gyp-build/node-gyp-build.js":(e,t,s)=>{var n=s("fs"),i=s("path"),o=s("os"),a=process.config&&process.config.variables||{},c=!!process.env.PREBUILDS_ONLY,l=process.versions.modules,u=process.versions&&process.versions.electron||process.env.ELECTRON_RUN_AS_NODE||"undefined"!=typeof window&&window.process&&"renderer"===window.process.type?"electron":process.versions&&process.versions.nw?"node-webkit":"node",h=process.env.npm_config_arch||o.arch(),p=process.env.npm_config_platform||o.platform(),d=process.env.LIBC||(function(e){return"linux"===e&&n.existsSync("/etc/alpine-release")}(p)?"musl":"glibc"),f=process.env.ARM_VERSION||("arm64"===h?"8":a.arm_version)||"",m=(process.versions.uv||"").split(".")[0];function g(e){return r(138)(g.resolve(e))}function y(e){try{return n.readdirSync(e)}catch(e){return[]}}function v(e,t){var r=y(e).filter(t);return r[0]&&i.join(e,r[0])}function b(e){return/\.node$/.test(e)}function x(e){var t=e.split("-");if(2===t.length){var r=t[0],s=t[1].split("+");if(r&&s.length&&s.every(Boolean))return{name:e,platform:r,architectures:s}}}function w(e,t){return function(r){return null!=r&&r.platform===e&&r.architectures.includes(t)}}function S(e,t){return e.architectures.length-t.architectures.length}function E(e){var t=e.split("."),r={file:e,specificity:0};if("node"===t.pop()){for(var s=0;s<t.length;s++){var n=t[s];if("node"===n||"electron"===n||"node-webkit"===n)r.runtime=n;else if("napi"===n)r.napi=!0;else if("abi"===n.slice(0,3))r.abi=n.slice(3);else if("uv"===n.slice(0,2))r.uv=n.slice(2);else if("armv"===n.slice(0,4))r.armv=n.slice(4);else{if("glibc"!==n&&"musl"!==n)continue;r.libc=n}r.specificity++}return r}}function _(e,t){return function(r){return!(null==r||r.runtime!==e&&!function(e){return"node"===e.runtime&&e.napi}(r)||r.abi!==t&&!r.napi||r.uv&&r.uv!==m||r.armv&&r.armv!==f||r.libc&&r.libc!==d)}}function P(e){return function(t,r){return t.runtime!==r.runtime?t.runtime===e?-1:1:t.abi!==r.abi?t.abi?-1:1:t.specificity!==r.specificity?t.specificity>r.specificity?-1:1:0}}e.exports=g,g.resolve=g.path=function(e){e=i.resolve(e||".");try{var t=r(138)(i.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");process.env[t+"_PREBUILD"]&&(e=process.env[t+"_PREBUILD"])}catch(e){}if(!c){var s=v(i.join(e,"build/Release"),b);if(s)return s;var n=v(i.join(e,"build/Debug"),b);if(n)return n}var o=T(e);if(o)return o;var a=T(i.dirname(process.execPath));if(a)return a;var g=["platform="+p,"arch="+h,"runtime="+u,"abi="+l,"uv="+m,f?"armv="+f:"","libc="+d,"node="+process.versions.node,process.versions.electron?"electron="+process.versions.electron:"","webpack=true"].filter(Boolean).join(" ");throw new Error("No native build was found for "+g+"\n loaded from: "+e+"\n");function T(e){var t=y(i.join(e,"prebuilds")).map(x).filter(w(p,h)).sort(S)[0];if(t){var r=i.join(e,"prebuilds",t.name),s=y(r).map(E).filter(_(u,l)).sort(P(u))[0];return s?i.join(r,s.file):void 0}}},g.parseTags=E,g.matchTags=_,g.compareTags=P,g.parseTuple=x,g.matchTuple=w,g.compareTuples=S},"../../node_modules/normalize-path/index.js":e=>{e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var r=e.length;if(r<=1)return e;var s="";if(r>4&&"\\"===e[3]){var n=e[2];"?"!==n&&"."!==n||"\\\\"!==e.slice(0,2)||(e=e.slice(2),s="//")}var i=e.split(/[/\\]+/);return!1!==t&&""===i[i.length-1]&&i.pop(),s+i.join("/")}},"../../node_modules/picomatch/index.js":(e,t,r)=>{"use strict";e.exports=r("../../node_modules/picomatch/lib/picomatch.js")},"../../node_modules/picomatch/lib/constants.js":(e,t,r)=>{"use strict";const s=r("path"),n="\\\\/",i=`[^${n}]`,o="\\.",a="\\/",c="[^/]",l=`(?:${a}|$)`,u=`(?:^|${a})`,h=`${o}{1,2}${l}`,p={DOT_LITERAL:o,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:a,ONE_CHAR:"(?=.)",QMARK:c,END_ANCHOR:l,DOTS_SLASH:h,NO_DOT:`(?!${o})`,NO_DOTS:`(?!${u}${h})`,NO_DOT_SLASH:`(?!${o}{0,1}${l})`,NO_DOTS_SLASH:`(?!${h})`,QMARK_NO_DOT:`[^.${a}]`,STAR:`${c}*?`,START_ANCHOR:u},d={...p,SLASH_LITERAL:`[${n}]`,QMARK:i,STAR:`${i}*?`,DOTS_SLASH:`${o}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${n}])${o}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:s.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?d:p}},"../../node_modules/picomatch/lib/parse.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/picomatch/lib/constants.js"),n=r("../../node_modules/picomatch/lib/utils.js"),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=s,u=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>n.escapeRegex(e))).join("..")}return r},h=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,p=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const r={...t},d="number"==typeof r.maxLength?Math.min(i,r.maxLength):i;let f=e.length;if(f>d)throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${d}`);const m={type:"bos",value:"",output:r.prepend||""},g=[m],y=r.capture?"":"?:",v=n.isWindows(t),b=s.globChars(v),x=s.extglobChars(b),{DOT_LITERAL:w,PLUS_LITERAL:S,SLASH_LITERAL:E,ONE_CHAR:_,DOTS_SLASH:P,NO_DOT:T,NO_DOT_SLASH:A,NO_DOTS_SLASH:C,QMARK:k,QMARK_NO_DOT:O,STAR:N,START_ANCHOR:I}=b,R=e=>`(${y}(?:(?!${I}${e.dot?P:w}).)*?)`,L=r.dot?"":T,D=r.dot?k:O;let M=!0===r.bash?R(r):N;r.capture&&(M=`(${M})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const j={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:g};e=n.removePrefix(e,j),f=e.length;const F=[],B=[],U=[];let $,q=m;const H=()=>j.index===f-1,W=j.peek=(t=1)=>e[j.index+t],V=j.advance=()=>e[++j.index]||"",z=()=>e.slice(j.index+1),G=(e="",t=0)=>{j.consumed+=e,j.index+=t},K=e=>{j.output+=null!=e.output?e.output:e.value,G(e.value)},Y=()=>{let e=1;for(;"!"===W()&&("("!==W(2)||"?"===W(3));)V(),j.start++,e++;return e%2!=0&&(j.negated=!0,j.start++,!0)},J=e=>{j[e]++,U.push(e)},X=e=>{j[e]--,U.pop()},Q=e=>{if("globstar"===q.type){const t=j.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||F.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(j.output=j.output.slice(0,-q.output.length),q.type="star",q.value="*",q.output=M,j.output+=q.output)}if(F.length&&"paren"!==e.type&&(F[F.length-1].inner+=e.value),(e.value||e.output)&&K(e),q&&"text"===q.type&&"text"===e.type)return q.value+=e.value,void(q.output=(q.output||"")+e.value);e.prev=q,g.push(e),q=e},Z=(e,t)=>{const s={...x[t],conditions:1,inner:""};s.prev=q,s.parens=j.parens,s.output=j.output;const n=(r.capture?"(":"")+s.open;J("parens"),Q({type:e,value:t,output:j.output?"":_}),Q({type:"paren",extglob:!0,value:V(),output:n}),F.push(s)},ee=e=>{let s,n=e.close+(r.capture?")":"");if("negate"===e.type){let i=M;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(i=R(r)),(i!==M||H()||/^\)+$/.test(z()))&&(n=e.close=`)$))${i}`),e.inner.includes("*")&&(s=z())&&/^\.[^\\/.]+$/.test(s)){const r=p(s,{...t,fastpaths:!1}).output;n=e.close=`)${r})${i})`}"bos"===e.prev.type&&(j.negatedExtglob=!0)}Q({type:"paren",extglob:!0,value:$,output:n}),X("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let s=!1,i=e.replace(c,((e,t,r,n,i,o)=>"\\"===n?(s=!0,e):"?"===n?t?t+n+(i?k.repeat(i.length):""):0===o?D+(i?k.repeat(i.length):""):k.repeat(r.length):"."===n?w.repeat(r.length):"*"===n?t?t+n+(i?M:""):M:t?e:`\\${e}`));return!0===s&&(i=!0===r.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===r.contains?(j.output=e,j):(j.output=n.wrapOutput(i,j,t),j)}for(;!H();){if($=V(),"\0"===$)continue;if("\\"===$){const e=W();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){$+="\\",Q({type:"text",value:$});continue}const t=/^\\+/.exec(z());let s=0;if(t&&t[0].length>2&&(s=t[0].length,j.index+=s,s%2!=0&&($+="\\")),!0===r.unescape?$=V():$+=V(),0===j.brackets){Q({type:"text",value:$});continue}}if(j.brackets>0&&("]"!==$||"["===q.value||"[^"===q.value)){if(!1!==r.posix&&":"===$){const e=q.value.slice(1);if(e.includes("[")&&(q.posix=!0,e.includes(":"))){const e=q.value.lastIndexOf("["),t=q.value.slice(0,e),r=q.value.slice(e+2),s=o[r];if(s){q.value=t+s,j.backtrack=!0,V(),m.output||1!==g.indexOf(q)||(m.output=_);continue}}}("["===$&&":"!==W()||"-"===$&&"]"===W())&&($=`\\${$}`),"]"!==$||"["!==q.value&&"[^"!==q.value||($=`\\${$}`),!0===r.posix&&"!"===$&&"["===q.value&&($="^"),q.value+=$,K({value:$});continue}if(1===j.quotes&&'"'!==$){$=n.escapeRegex($),q.value+=$,K({value:$});continue}if('"'===$){j.quotes=1===j.quotes?0:1,!0===r.keepQuotes&&Q({type:"text",value:$});continue}if("("===$){J("parens"),Q({type:"paren",value:$});continue}if(")"===$){if(0===j.parens&&!0===r.strictBrackets)throw new SyntaxError(h("opening","("));const e=F[F.length-1];if(e&&j.parens===e.parens+1){ee(F.pop());continue}Q({type:"paren",value:$,output:j.parens?")":"\\)"}),X("parens");continue}if("["===$){if(!0!==r.nobracket&&z().includes("]"))J("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(h("closing","]"));$=`\\${$}`}Q({type:"bracket",value:$});continue}if("]"===$){if(!0===r.nobracket||q&&"bracket"===q.type&&1===q.value.length){Q({type:"text",value:$,output:`\\${$}`});continue}if(0===j.brackets){if(!0===r.strictBrackets)throw new SyntaxError(h("opening","["));Q({type:"text",value:$,output:`\\${$}`});continue}X("brackets");const e=q.value.slice(1);if(!0===q.posix||"^"!==e[0]||e.includes("/")||($=`/${$}`),q.value+=$,K({value:$}),!1===r.literalBrackets||n.hasRegexChars(e))continue;const t=n.escapeRegex(q.value);if(j.output=j.output.slice(0,-q.value.length),!0===r.literalBrackets){j.output+=t,q.value=t;continue}q.value=`(${y}${t}|${q.value})`,j.output+=q.value;continue}if("{"===$&&!0!==r.nobrace){J("braces");const e={type:"brace",value:$,output:"(",outputIndex:j.output.length,tokensIndex:j.tokens.length};B.push(e),Q(e);continue}if("}"===$){const e=B[B.length-1];if(!0===r.nobrace||!e){Q({type:"text",value:$,output:$});continue}let t=")";if(!0===e.dots){const e=g.slice(),s=[];for(let t=e.length-1;t>=0&&(g.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&s.unshift(e[t].value);t=u(s,r),j.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=j.output.slice(0,e.outputIndex),s=j.tokens.slice(e.tokensIndex);e.value=e.output="\\{",$=t="\\}",j.output=r;for(const e of s)j.output+=e.output||e.value}Q({type:"brace",value:$,output:t}),X("braces"),B.pop();continue}if("|"===$){F.length>0&&F[F.length-1].conditions++,Q({type:"text",value:$});continue}if(","===$){let e=$;const t=B[B.length-1];t&&"braces"===U[U.length-1]&&(t.comma=!0,e="|"),Q({type:"comma",value:$,output:e});continue}if("/"===$){if("dot"===q.type&&j.index===j.start+1){j.start=j.index+1,j.consumed="",j.output="",g.pop(),q=m;continue}Q({type:"slash",value:$,output:E});continue}if("."===$){if(j.braces>0&&"dot"===q.type){"."===q.value&&(q.output=w);const e=B[B.length-1];q.type="dots",q.output+=$,q.value+=$,e.dots=!0;continue}if(j.braces+j.parens===0&&"bos"!==q.type&&"slash"!==q.type){Q({type:"text",value:$,output:w});continue}Q({type:"dot",value:$,output:w});continue}if("?"===$){if((!q||"("!==q.value)&&!0!==r.noextglob&&"("===W()&&"?"!==W(2)){Z("qmark",$);continue}if(q&&"paren"===q.type){const e=W();let t=$;if("<"===e&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===q.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(z()))&&(t=`\\${$}`),Q({type:"text",value:$,output:t});continue}if(!0!==r.dot&&("slash"===q.type||"bos"===q.type)){Q({type:"qmark",value:$,output:O});continue}Q({type:"qmark",value:$,output:k});continue}if("!"===$){if(!0!==r.noextglob&&"("===W()&&("?"!==W(2)||!/[!=<:]/.test(W(3)))){Z("negate",$);continue}if(!0!==r.nonegate&&0===j.index){Y();continue}}if("+"===$){if(!0!==r.noextglob&&"("===W()&&"?"!==W(2)){Z("plus",$);continue}if(q&&"("===q.value||!1===r.regex){Q({type:"plus",value:$,output:S});continue}if(q&&("bracket"===q.type||"paren"===q.type||"brace"===q.type)||j.parens>0){Q({type:"plus",value:$});continue}Q({type:"plus",value:S});continue}if("@"===$){if(!0!==r.noextglob&&"("===W()&&"?"!==W(2)){Q({type:"at",extglob:!0,value:$,output:""});continue}Q({type:"text",value:$});continue}if("*"!==$){"$"!==$&&"^"!==$||($=`\\${$}`);const e=a.exec(z());e&&($+=e[0],j.index+=e[0].length),Q({type:"text",value:$});continue}if(q&&("globstar"===q.type||!0===q.star)){q.type="star",q.star=!0,q.value+=$,q.output=M,j.backtrack=!0,j.globstar=!0,G($);continue}let t=z();if(!0!==r.noextglob&&/^\([^?]/.test(t)){Z("star",$);continue}if("star"===q.type){if(!0===r.noglobstar){G($);continue}const s=q.prev,n=s.prev,i="slash"===s.type||"bos"===s.type,o=n&&("star"===n.type||"globstar"===n.type);if(!0===r.bash&&(!i||t[0]&&"/"!==t[0])){Q({type:"star",value:$,output:""});continue}const a=j.braces>0&&("comma"===s.type||"brace"===s.type),c=F.length&&("pipe"===s.type||"paren"===s.type);if(!i&&"paren"!==s.type&&!a&&!c){Q({type:"star",value:$,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[j.index+4];if(r&&"/"!==r)break;t=t.slice(3),G("/**",3)}if("bos"===s.type&&H()){q.type="globstar",q.value+=$,q.output=R(r),j.output=q.output,j.globstar=!0,G($);continue}if("slash"===s.type&&"bos"!==s.prev.type&&!o&&H()){j.output=j.output.slice(0,-(s.output+q.output).length),s.output=`(?:${s.output}`,q.type="globstar",q.output=R(r)+(r.strictSlashes?")":"|$)"),q.value+=$,j.globstar=!0,j.output+=s.output+q.output,G($);continue}if("slash"===s.type&&"bos"!==s.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";j.output=j.output.slice(0,-(s.output+q.output).length),s.output=`(?:${s.output}`,q.type="globstar",q.output=`${R(r)}${E}|${E}${e})`,q.value+=$,j.output+=s.output+q.output,j.globstar=!0,G($+V()),Q({type:"slash",value:"/",output:""});continue}if("bos"===s.type&&"/"===t[0]){q.type="globstar",q.value+=$,q.output=`(?:^|${E}|${R(r)}${E})`,j.output=q.output,j.globstar=!0,G($+V()),Q({type:"slash",value:"/",output:""});continue}j.output=j.output.slice(0,-q.output.length),q.type="globstar",q.output=R(r),q.value+=$,j.output+=q.output,j.globstar=!0,G($);continue}const s={type:"star",value:$,output:M};!0!==r.bash?!q||"bracket"!==q.type&&"paren"!==q.type||!0!==r.regex?(j.index!==j.start&&"slash"!==q.type&&"dot"!==q.type||("dot"===q.type?(j.output+=A,q.output+=A):!0===r.dot?(j.output+=C,q.output+=C):(j.output+=L,q.output+=L),"*"!==W()&&(j.output+=_,q.output+=_)),Q(s)):(s.output=$,Q(s)):(s.output=".*?","bos"!==q.type&&"slash"!==q.type||(s.output=L+s.output),Q(s))}for(;j.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(h("closing","]"));j.output=n.escapeLast(j.output,"["),X("brackets")}for(;j.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(h("closing",")"));j.output=n.escapeLast(j.output,"("),X("parens")}for(;j.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(h("closing","}"));j.output=n.escapeLast(j.output,"{"),X("braces")}if(!0===r.strictSlashes||"star"!==q.type&&"bracket"!==q.type||Q({type:"maybe_slash",value:"",output:`${E}?`}),!0===j.backtrack){j.output="";for(const e of j.tokens)j.output+=null!=e.output?e.output:e.value,e.suffix&&(j.output+=e.suffix)}return j};p.fastpaths=(e,t)=>{const r={...t},o="number"==typeof r.maxLength?Math.min(i,r.maxLength):i,a=e.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);e=l[e]||e;const c=n.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:h,ONE_CHAR:p,DOTS_SLASH:d,NO_DOT:f,NO_DOTS:m,NO_DOTS_SLASH:g,STAR:y,START_ANCHOR:v}=s.globChars(c),b=r.dot?m:f,x=r.dot?g:f,w=r.capture?"":"?:";let S=!0===r.bash?".*?":y;r.capture&&(S=`(${S})`);const E=e=>!0===e.noglobstar?S:`(${w}(?:(?!${v}${e.dot?d:u}).)*?)`,_=e=>{switch(e){case"*":return`${b}${p}${S}`;case".*":return`${u}${p}${S}`;case"*.*":return`${b}${S}${u}${p}${S}`;case"*/*":return`${b}${S}${h}${p}${x}${S}`;case"**":return b+E(r);case"**/*":return`(?:${b}${E(r)}${h})?${x}${p}${S}`;case"**/*.*":return`(?:${b}${E(r)}${h})?${x}${S}${u}${p}${S}`;case"**/.*":return`(?:${b}${E(r)}${h})?${u}${p}${S}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=_(t[1]);if(!r)return;return r+u+t[2]}}},P=n.removePrefix(e,{negated:!1,prefix:""});let T=_(P);return T&&!0!==r.strictSlashes&&(T+=`${h}?`),T},e.exports=p},"../../node_modules/picomatch/lib/picomatch.js":(e,t,r)=>{"use strict";const s=r("path"),n=r("../../node_modules/picomatch/lib/scan.js"),i=r("../../node_modules/picomatch/lib/parse.js"),o=r("../../node_modules/picomatch/lib/utils.js"),a=r("../../node_modules/picomatch/lib/constants.js"),c=(e,t,r=!1)=>{if(Array.isArray(e)){const s=e.map((e=>c(e,t,r))),n=e=>{for(const t of s){const r=t(e);if(r)return r}return!1};return n}const s=(n=e)&&"object"==typeof n&&!Array.isArray(n)&&e.tokens&&e.input;var n;if(""===e||"string"!=typeof e&&!s)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},a=o.isWindows(t),l=s?c.compileRe(e,t):c.makeRe(e,t,!1,!0),u=l.state;delete l.state;let h=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};h=c(i.ignore,e,r)}const p=(r,s=!1)=>{const{isMatch:n,match:o,output:p}=c.test(r,l,t,{glob:e,posix:a}),d={glob:e,state:u,regex:l,posix:a,input:r,output:p,match:o,isMatch:n};return"function"==typeof i.onResult&&i.onResult(d),!1===n?(d.isMatch=!1,!!s&&d):h(r)?("function"==typeof i.onIgnore&&i.onIgnore(d),d.isMatch=!1,!!s&&d):("function"==typeof i.onMatch&&i.onMatch(d),!s||d)};return r&&(p.state=u),p};c.test=(e,t,r,{glob:s,posix:n}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const i=r||{},a=i.format||(n?o.toPosixSlashes:null);let l=e===s,u=l&&a?a(e):e;return!1===l&&(u=a?a(e):e,l=u===s),!1!==l&&!0!==i.capture||(l=!0===i.matchBase||!0===i.basename?c.matchBase(e,t,r,n):t.exec(u)),{isMatch:Boolean(l),match:l,output:u}},c.matchBase=(e,t,r,n=o.isWindows(r))=>(t instanceof RegExp?t:c.makeRe(t,r)).test(s.basename(e)),c.isMatch=(e,t,r)=>c(t,r)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):i(e,{...t,fastpaths:!1}),c.scan=(e,t)=>n(e,t),c.compileRe=(e,t,r=!1,s=!1)=>{if(!0===r)return e.output;const n=t||{},i=n.contains?"":"^",o=n.contains?"":"$";let a=`${i}(?:${e.output})${o}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const l=c.toRegex(a,t);return!0===s&&(l.state=e),l},c.makeRe=(e,t={},r=!1,s=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(n.output=i.fastpaths(e,t)),n.output||(n=i(e,t)),c.compileRe(n,t,r,s)},c.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=a,e.exports=c},"../../node_modules/picomatch/lib/scan.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/picomatch/lib/utils.js"),{CHAR_ASTERISK:n,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:h,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:f,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:v}=r("../../node_modules/picomatch/lib/constants.js"),b=e=>e===u||e===o,x=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const r=t||{},w=e.length-1,S=!0===r.parts||!0===r.scanToEnd,E=[],_=[],P=[];let T,A,C=e,k=-1,O=0,N=0,I=!1,R=!1,L=!1,D=!1,M=!1,j=!1,F=!1,B=!1,U=!1,$=!1,q=0,H={value:"",depth:0,isGlob:!1};const W=()=>k>=w,V=()=>(T=A,C.charCodeAt(++k));for(;k<w;){let e;if(A=V(),A!==o){if(!0===j||A===h){for(q++;!0!==W()&&(A=V());)if(A!==o)if(A!==h){if(!0!==j&&A===c&&(A=V())===c){if(I=H.isBrace=!0,L=H.isGlob=!0,$=!0,!0===S)continue;break}if(!0!==j&&A===a){if(I=H.isBrace=!0,L=H.isGlob=!0,$=!0,!0===S)continue;break}if(A===g&&(q--,0===q)){j=!1,I=H.isBrace=!0,$=!0;break}}else q++;else F=H.backslashes=!0,V();if(!0===S)continue;break}if(A!==u){if(!0!==r.noext&&!0==(A===f||A===i||A===n||A===m||A===l)&&C.charCodeAt(k+1)===p){if(L=H.isGlob=!0,D=H.isExtglob=!0,$=!0,A===l&&k===O&&(U=!0),!0===S){for(;!0!==W()&&(A=V());)if(A!==o){if(A===y){L=H.isGlob=!0,$=!0;break}}else F=H.backslashes=!0,A=V();continue}break}if(A===n){if(T===n&&(M=H.isGlobstar=!0),L=H.isGlob=!0,$=!0,!0===S)continue;break}if(A===m){if(L=H.isGlob=!0,$=!0,!0===S)continue;break}if(A===d){for(;!0!==W()&&(e=V());)if(e!==o){if(e===v){R=H.isBracket=!0,L=H.isGlob=!0,$=!0;break}}else F=H.backslashes=!0,V();if(!0===S)continue;break}if(!0===r.nonegate||A!==l||k!==O){if(!0!==r.noparen&&A===p){if(L=H.isGlob=!0,!0===S){for(;!0!==W()&&(A=V());)if(A!==p){if(A===y){$=!0;break}}else F=H.backslashes=!0,A=V();continue}break}if(!0===L){if($=!0,!0===S)continue;break}}else B=H.negated=!0,O++}else{if(E.push(k),_.push(H),H={value:"",depth:0,isGlob:!1},!0===$)continue;if(T===c&&k===O+1){O+=2;continue}N=k+1}}else F=H.backslashes=!0,A=V(),A===h&&(j=!0)}!0===r.noext&&(D=!1,L=!1);let z=C,G="",K="";O>0&&(G=C.slice(0,O),C=C.slice(O),N-=O),z&&!0===L&&N>0?(z=C.slice(0,N),K=C.slice(N)):!0===L?(z="",K=C):z=C,z&&""!==z&&"/"!==z&&z!==C&&b(z.charCodeAt(z.length-1))&&(z=z.slice(0,-1)),!0===r.unescape&&(K&&(K=s.removeBackslashes(K)),z&&!0===F&&(z=s.removeBackslashes(z)));const Y={prefix:G,input:e,start:O,base:z,glob:K,isBrace:I,isBracket:R,isGlob:L,isExtglob:D,isGlobstar:M,negated:B,negatedExtglob:U};if(!0===r.tokens&&(Y.maxDepth=0,b(A)||_.push(H),Y.tokens=_),!0===r.parts||!0===r.tokens){let t;for(let s=0;s<E.length;s++){const n=t?t+1:O,i=E[s],o=e.slice(n,i);r.tokens&&(0===s&&0!==O?(_[s].isPrefix=!0,_[s].value=G):_[s].value=o,x(_[s]),Y.maxDepth+=_[s].depth),0===s&&""===o||P.push(o),t=i}if(t&&t+1<e.length){const s=e.slice(t+1);P.push(s),r.tokens&&(_[_.length-1].value=s,x(_[_.length-1]),Y.maxDepth+=_[_.length-1].depth)}Y.slashes=E,Y.parts=P}return Y}},"../../node_modules/picomatch/lib/utils.js":(e,t,r)=>{"use strict";const s=r("path"),n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:c}=r("../../node_modules/picomatch/lib/constants.js");t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(i,"/"),t.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===s.sep,t.escapeLast=(e,r,s)=>{const n=e.lastIndexOf(r,s);return-1===n?e:"\\"===e[n-1]?t.escapeLast(e,r,n-1):`${e.slice(0,n)}\\${e.slice(n)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let s=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(s=`(?:^(?!${s}).*$)`),s}},"../../node_modules/readdirp/index.js":(e,t,r)=>{"use strict";const s=r("fs"),{Readable:n}=r("stream"),i=r("path"),{promisify:o}=r("util"),a=r("../../node_modules/picomatch/index.js"),c=o(s.readdir),l=o(s.stat),u=o(s.lstat),h=o(s.realpath),p="READDIRP_RECURSIVE_ERROR",d=new Set(["ENOENT","EPERM","EACCES","ELOOP",p]),f="files",m="directories",g="files_directories",y="all",v=[f,m,g,y],[b,x]=process.versions.node.split(".").slice(0,2).map((e=>Number.parseInt(e,10))),w="win32"===process.platform&&(b>10||10===b&&x>=5),S=e=>{if(void 0!==e){if("function"==typeof e)return e;if("string"==typeof e){const t=a(e.trim());return e=>t(e.basename)}if(Array.isArray(e)){const t=[],r=[];for(const s of e){const e=s.trim();"!"===e.charAt(0)?r.push(a(e.slice(1))):t.push(a(e))}return r.length>0?t.length>0?e=>t.some((t=>t(e.basename)))&&!r.some((t=>t(e.basename))):e=>!r.some((t=>t(e.basename))):e=>t.some((t=>t(e.basename)))}}};class E extends n{static get defaultOptions(){return{root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:f,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const t={...E.defaultOptions,...e},{root:r,type:n}=t;this._fileFilter=S(t.fileFilter),this._directoryFilter=S(t.directoryFilter);const o=t.lstat?u:l;this._stat=w?e=>o(e,{bigint:!0}):o,this._maxDepth=t.depth,this._wantsDir=[m,g,y].includes(n),this._wantsFile=[f,g,y].includes(n),this._wantsEverything=n===y,this._root=i.resolve(r),this._isDirent="Dirent"in s&&!t.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(r,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:t,depth:r,files:s=[]}=this.parent||{};if(s.length>0){const n=s.splice(0,e).map((e=>this._formatEntry(e,t)));for(const t of await Promise.all(n)){if(this.destroyed)return;const s=await this._getEntryType(t);"directory"===s&&this._directoryFilter(t)?(r<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,r+1)),this._wantsDir&&(this.push(t),e--)):("file"===s||this._includeAsFile(t))&&this._fileFilter(t)&&this._wantsFile&&(this.push(t),e--)}}else{const e=this.parents.pop();if(!e){this.push(null);break}if(this.parent=await e,this.destroyed)return}}}catch(e){this.destroy(e)}finally{this.reading=!1}}}async _exploreDir(e,t){let r;try{r=await c(e,this._rdOptions)}catch(e){this._onError(e)}return{files:r,depth:t,path:e}}async _formatEntry(e,t){let r;try{const s=this._isDirent?e.name:e,n=i.resolve(i.join(t,s));r={path:i.relative(this._root,n),fullPath:n,basename:s},r[this._statsProp]=this._isDirent?e:await this._stat(n)}catch(e){this._onError(e)}return r}_onError(e){var t;t=e,d.has(t.code)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const t=e&&e[this._statsProp];if(t){if(t.isFile())return"file";if(t.isDirectory())return"directory";if(t&&t.isSymbolicLink()){const t=e.fullPath;try{const e=await h(t),r=await u(e);if(r.isFile())return"file";if(r.isDirectory()){const r=e.length;if(t.startsWith(e)&&t.substr(r,1)===i.sep){const r=new Error(`Circular symlink detected: "${t}" points to "${e}"`);return r.code=p,this._onError(r)}return"directory"}}catch(e){this._onError(e)}}}}_includeAsFile(e){const t=e&&e[this._statsProp];return t&&this._wantsEverything&&!t.isDirectory()}}const _=(e,t={})=>{let r=t.entryType||t.type;if("both"===r&&(r=g),r&&(t.type=r),!e)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof e)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(r&&!v.includes(r))throw new Error(`readdirp: Invalid type passed. Use one of ${v.join(", ")}`);return t.root=e,new E(t)};_.promise=(e,t={})=>new Promise(((r,s)=>{const n=[];_(e,t).on("data",(e=>n.push(e))).on("end",(()=>r(n))).on("error",(e=>s(e)))})),_.ReaddirpStream=E,_.default=_,e.exports=_},"../../node_modules/supports-color/index.js":(e,t,r)=>{"use strict";const s=r("os"),n=r("../../node_modules/has-flag/index.js"),i=process.env;let o;function a(e){const t=function(e){if(!1===o)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(e&&!e.isTTY&&!0!==o)return 0;const t=o?1:0;if("win32"===process.platform){const e=s.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||"codeship"===i.CI_NAME?1:t;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}n("no-color")||n("no-colors")||n("color=false")?o=!1:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(o=!0),"FORCE_COLOR"in i&&(o=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:a,stdout:a(process.stdout),stderr:a(process.stderr)}},"../../node_modules/to-regex-range/index.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/is-number/index.js"),n=(e,t,r)=>{if(!1===s(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===s(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let c=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(n.cache.hasOwnProperty(c))return n.cache[c].result;let l=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(l-u)){let r=e+"|"+t;return i.capture?`(${r})`:!1===i.wrap?r:`(?:${r})`}let h=d(e)||d(t),p={min:e,max:t,a:l,b:u},f=[],m=[];return h&&(p.isPadded=h,p.maxLen=String(p.max).length),l<0&&(m=o(u<0?Math.abs(u):1,Math.abs(l),p,i),l=p.a=0),u>=0&&(f=o(l,u,p,i)),p.negatives=m,p.positives=f,p.result=function(e,t,r){let s=a(e,t,"-",!1)||[],n=a(t,e,"",!1)||[],i=a(e,t,"-?",!0)||[];return s.concat(i).concat(n).join("|")}(m,f),!0===i.capture?p.result=`(${p.result})`:!1!==i.wrap&&f.length+m.length>1&&(p.result=`(?:${p.result})`),n.cache[c]=p,p.result};function i(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let s=function(e,t){let r=[];for(let s=0;s<e.length;s++)r.push([e[s],t[s]]);return r}(e,t),n=s.length,i="",o=0;for(let e=0;e<n;e++){let[t,r]=s[e];t===r?i+=t:"0"!==t||"9"!==r?i+=`[${a=t}${(c=r)-a==1?"":"-"}${c}]`:o++}var a,c;return o&&(i+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:i,count:[o],digits:n}}function o(e,t,r,s){let n,o=function(e,t){let r=1,s=1,n=u(e,r),i=new Set([t]);for(;e<=n&&n<=t;)i.add(n),r+=1,n=u(e,r);for(n=h(t+1,s)-1;e<n&&n<=t;)i.add(n),s+=1,n=h(t+1,s)-1;return i=[...i],i.sort(c),i}(e,t),a=[],l=e;for(let e=0;e<o.length;e++){let t=o[e],c=i(String(l),String(t),s),u="";r.isPadded||!n||n.pattern!==c.pattern?(r.isPadded&&(u=f(t,r,s)),c.string=u+c.pattern+p(c.count),a.push(c),l=t+1,n=c):(n.count.length>1&&n.count.pop(),n.count.push(c.count[0]),n.string=n.pattern+p(n.count),l=t+1)}return a}function a(e,t,r,s,n){let i=[];for(let n of e){let{string:e}=n;s||l(t,"string",e)||i.push(r+e),s&&l(t,"string",e)&&i.push(r+e)}return i}function c(e,t){return e>t?1:t>e?-1:0}function l(e,t,r){return e.some((e=>e[t]===r))}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function h(e,t){return e-e%Math.pow(10,t)}function p(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function d(e){return/^-?(0+)\d/.test(e)}function f(e,t,r){if(!t.isPadded)return e;let s=Math.abs(t.maxLen-String(e).length),n=!1!==r.relaxZeros;switch(s){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${s}}`:`0{${s}}`}}n.cache={},n.clearCache=()=>n.cache={},e.exports=n},"../../node_modules/utf-8-validate/fallback.js":e=>{"use strict";e.exports=function(e){const t=e.length;let r=0;for(;r<t;)if(0==(128&e[r]))r++;else if(192==(224&e[r])){if(r+1===t||128!=(192&e[r+1])||192==(254&e[r]))return!1;r+=2}else if(224==(240&e[r])){if(r+2>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||224===e[r]&&128==(224&e[r+1])||237===e[r]&&160==(224&e[r+1]))return!1;r+=3}else{if(240!=(248&e[r]))return!1;if(r+3>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||128!=(192&e[r+3])||240===e[r]&&128==(240&e[r+1])||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}},"../../node_modules/utf-8-validate/index.js":(e,t,r)=>{"use strict";try{e.exports=r("../../node_modules/node-gyp-build/index.js")("../../node_modules/utf-8-validate")}catch(t){e.exports=r("../../node_modules/utf-8-validate/fallback.js")}},"../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js":(e,t,r)=>{var s=r("fs"),n=r("url"),i=r("child_process").spawn;function o(e){"use strict";e=e||{};var t,o,a=this,c=r("http"),l=r("https"),u={},h=!1,p={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},d=Object.assign({},p),f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],m=["TRACE","TRACK","CONNECT"],g=!1,y=!1,v=!1,b={};this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.readyState=this.UNSENT,this.onreadystatechange=null,this.responseText="",this.responseXML="",this.status=null,this.statusText=null,this.open=function(e,t,r,s,n){if(this.abort(),y=!1,v=!1,!function(e){return e&&-1===m.indexOf(e)}(e))throw new Error("SecurityError: Request method not allowed");u={method:e,url:t.toString(),async:"boolean"!=typeof r||r,user:s||null,password:n||null},x(this.OPENED)},this.setDisableHeaderCheck=function(e){h=e},this.setRequestHeader=function(e,t){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN");if(!function(e){return h||e&&-1===f.indexOf(e.toLowerCase())}(e))return console.warn('Refused to set unsafe header "'+e+'"'),!1;if(g)throw new Error("INVALID_STATE_ERR: send flag is true");return d[e]=t,!0},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&o.headers[e.toLowerCase()]&&!y?o.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||y)return"";var e="";for(var t in o.headers)"set-cookie"!==t&&"set-cookie2"!==t&&(e+=t+": "+o.headers[t]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&d[e]?d[e]:""},this.send=function(r){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: connection must be opened before send() is called");if(g)throw new Error("INVALID_STATE_ERR: send has already been called");var h,p=!1,f=!1,m=n.parse(u.url);switch(m.protocol){case"https:":p=!0;case"http:":h=m.hostname;break;case"file:":f=!0;break;case void 0:case"":h="localhost";break;default:throw new Error("Protocol not supported.")}if(f){if("GET"!==u.method)throw new Error("XMLHttpRequest: Only GET method is supported");if(u.async)s.readFile(unescape(m.pathname),"utf8",(function(e,t){e?a.handleError(e,e.errno||-1):(a.status=200,a.responseText=t,x(a.DONE))}));else try{this.responseText=s.readFileSync(unescape(m.pathname),"utf8"),this.status=200,x(a.DONE)}catch(e){this.handleError(e,e.errno||-1)}}else{var v=m.port||(p?443:80),b=m.pathname+(m.search?m.search:"");if(d.Host=h,p&&443===v||80===v||(d.Host+=":"+m.port),u.user){void 0===u.password&&(u.password="");var w=new Buffer(u.user+":"+u.password);d.Authorization="Basic "+w.toString("base64")}"GET"===u.method||"HEAD"===u.method?r=null:r?(d["Content-Length"]=Buffer.isBuffer(r)?r.length:Buffer.byteLength(r),d["Content-Type"]||(d["Content-Type"]="text/plain;charset=UTF-8")):"POST"===u.method&&(d["Content-Length"]=0);var S=e.agent||!1,E={host:h,port:v,path:b,method:u.method,headers:d,agent:S};if(p&&(E.pfx=e.pfx,E.key=e.key,E.passphrase=e.passphrase,E.cert=e.cert,E.ca=e.ca,E.ciphers=e.ciphers,E.rejectUnauthorized=!1!==e.rejectUnauthorized),y=!1,u.async){var _=p?l.request:c.request;g=!0,a.dispatchEvent("readystatechange");var P=function(r){if(302===(o=r).statusCode||303===o.statusCode||307===o.statusCode){u.url=o.headers.location;var s=n.parse(u.url);h=s.hostname;var i={hostname:s.hostname,port:s.port,path:s.path,method:303===o.statusCode?"GET":u.method,headers:d};return p&&(i.pfx=e.pfx,i.key=e.key,i.passphrase=e.passphrase,i.cert=e.cert,i.ca=e.ca,i.ciphers=e.ciphers,i.rejectUnauthorized=!1!==e.rejectUnauthorized),void(t=_(i,P).on("error",T)).end()}o&&o.setEncoding&&o.setEncoding("utf8"),x(a.HEADERS_RECEIVED),a.status=o.statusCode,o.on("data",(function(e){e&&(a.responseText+=e),g&&x(a.LOADING)})),o.on("end",(function(){g&&(g=!1,x(a.DONE))})),o.on("error",(function(e){a.handleError(e)}))},T=function(e){a.handleError(e)};t=_(E,P).on("error",T),e.autoUnref&&t.on("socket",(e=>{e.unref()})),r&&t.write(r),t.end(),a.dispatchEvent("loadstart")}else{var A=".node-xmlhttprequest-content-"+process.pid,C=".node-xmlhttprequest-sync-"+process.pid;s.writeFileSync(C,"","utf8");for(var k="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(p?"s":"")+".request;var options = "+JSON.stringify(E)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) { responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+C+"');});response.on('error', function(error) {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});}).on('error', function(error) {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});"+(r?"req.write('"+JSON.stringify(r).slice(1,-1).replace(/'/g,"\\'")+"');":"")+"req.end();",O=i(process.argv[0],["-e",k]);s.existsSync(C););if(a.responseText=s.readFileSync(A,"utf8"),O.stdin.end(),s.unlinkSync(A),a.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var N=a.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");a.handleError(N,503)}else a.status=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),a.responseText=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),x(a.DONE)}}},this.handleError=function(e,t){this.status=t||0,this.statusText=e,this.responseText=e.stack,y=!0,x(this.DONE)},this.abort=function(){t&&(t.abort(),t=null),d=Object.assign({},p),this.responseText="",this.responseXML="",y=v=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!g||this.readyState===this.DONE||(g=!1,x(this.DONE)),this.readyState=this.UNSENT},this.addEventListener=function(e,t){e in b||(b[e]=[]),b[e].push(t)},this.removeEventListener=function(e,t){e in b&&(b[e]=b[e].filter((function(e){return e!==t})))},this.dispatchEvent=function(e){if("function"==typeof a["on"+e]&&(this.readyState===this.DONE?setImmediate((function(){a["on"+e]()})):a["on"+e]()),e in b)for(let t=0,r=b[e].length;t<r;t++)this.readyState===this.DONE?setImmediate((function(){b[e][t].call(a)})):b[e][t].call(a)};var x=function(e){if(!(a.readyState===e||a.readyState===a.UNSENT&&v)&&(a.readyState=e,(u.async||a.readyState<a.OPENED||a.readyState===a.DONE)&&a.dispatchEvent("readystatechange"),a.readyState===a.DONE)){let e;e=v?"abort":y?"error":"load",a.dispatchEvent(e),a.dispatchEvent("loadend")}}}e.exports=o,o.XMLHttpRequest=o},"./node_modules/ws/lib/buffer-util.js":(e,t,r)=>{"use strict";const{EMPTY_BUFFER:s}=r("./node_modules/ws/lib/constants.js");function n(e,t){if(0===e.length)return s;if(1===e.length)return e[0];const r=Buffer.allocUnsafe(t);let n=0;for(let t=0;t<e.length;t++){const s=e[t];r.set(s,n),n+=s.length}return n<t?r.slice(0,n):r}function i(e,t,r,s,n){for(let i=0;i<n;i++)r[s+i]=e[i]^t[3&i]}function o(e,t){for(let r=0;r<e.length;r++)e[r]^=t[3&r]}function a(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function c(e){if(c.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=Buffer.from(e):ArrayBuffer.isView(e)?t=Buffer.from(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),c.readOnly=!1),t}try{const t=r(Object(function(){var e=new Error("Cannot find module 'bufferutil'");throw e.code="MODULE_NOT_FOUND",e}()));e.exports={concat:n,mask(e,r,s,n,o){o<48?i(e,r,s,n,o):t.mask(e,r,s,n,o)},toArrayBuffer:a,toBuffer:c,unmask(e,r){e.length<32?o(e,r):t.unmask(e,r)}}}catch(t){e.exports={concat:n,mask:i,toArrayBuffer:a,toBuffer:c,unmask:o}}},"./node_modules/ws/lib/constants.js":e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},"./node_modules/ws/lib/event-target.js":(e,t,r)=>{"use strict";const{kForOnEventAttribute:s,kListener:n}=r("./node_modules/ws/lib/constants.js"),i=Symbol("kCode"),o=Symbol("kData"),a=Symbol("kError"),c=Symbol("kMessage"),l=Symbol("kReason"),u=Symbol("kTarget"),h=Symbol("kType"),p=Symbol("kWasClean");class d{constructor(e){this[u]=null,this[h]=e}get target(){return this[u]}get type(){return this[h]}}Object.defineProperty(d.prototype,"target",{enumerable:!0}),Object.defineProperty(d.prototype,"type",{enumerable:!0});class f extends d{constructor(e,t={}){super(e),this[i]=void 0===t.code?0:t.code,this[l]=void 0===t.reason?"":t.reason,this[p]=void 0!==t.wasClean&&t.wasClean}get code(){return this[i]}get reason(){return this[l]}get wasClean(){return this[p]}}Object.defineProperty(f.prototype,"code",{enumerable:!0}),Object.defineProperty(f.prototype,"reason",{enumerable:!0}),Object.defineProperty(f.prototype,"wasClean",{enumerable:!0});class m extends d{constructor(e,t={}){super(e),this[a]=void 0===t.error?null:t.error,this[c]=void 0===t.message?"":t.message}get error(){return this[a]}get message(){return this[c]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class g extends d{constructor(e,t={}){super(e),this[o]=void 0===t.data?null:t.data}get data(){return this[o]}}Object.defineProperty(g.prototype,"data",{enumerable:!0});const y={addEventListener(e,t,r={}){let i;if("message"===e)i=function(e,r){const s=new g("message",{data:r?e:e.toString()});s[u]=this,t.call(this,s)};else if("close"===e)i=function(e,r){const s=new f("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});s[u]=this,t.call(this,s)};else if("error"===e)i=function(e){const r=new m("error",{error:e,message:e.message});r[u]=this,t.call(this,r)};else{if("open"!==e)return;i=function(){const e=new d("open");e[u]=this,t.call(this,e)}}i[s]=!!r[s],i[n]=t,r.once?this.once(e,i):this.on(e,i)},removeEventListener(e,t){for(const r of this.listeners(e))if(r[n]===t&&!r[s]){this.removeListener(e,r);break}}};e.exports={CloseEvent:f,ErrorEvent:m,Event:d,EventTarget:y,MessageEvent:g}},"./node_modules/ws/lib/extension.js":(e,t,r)=>{"use strict";const{tokenChars:s}=r("./node_modules/ws/lib/validation.js");function n(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}e.exports={format:function(e){return Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>[t].concat(Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>!0===e?t:`${t}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const t=Object.create(null);let r,i,o=Object.create(null),a=!1,c=!1,l=!1,u=-1,h=-1,p=-1,d=0;for(;d<e.length;d++)if(h=e.charCodeAt(d),void 0===r)if(-1===p&&1===s[h])-1===u&&(u=d);else if(0===d||32!==h&&9!==h){if(59!==h&&44!==h)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);const s=e.slice(u,p);44===h?(n(t,s,o),o=Object.create(null)):r=s,u=p=-1}}else-1===p&&-1!==u&&(p=d);else if(void 0===i)if(-1===p&&1===s[h])-1===u&&(u=d);else if(32===h||9===h)-1===p&&-1!==u&&(p=d);else if(59===h||44===h){if(-1===u)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d),n(o,e.slice(u,p),!0),44===h&&(n(t,r,o),o=Object.create(null),r=void 0),u=p=-1}else{if(61!==h||-1===u||-1!==p)throw new SyntaxError(`Unexpected character at index ${d}`);i=e.slice(u,d),u=p=-1}else if(c){if(1!==s[h])throw new SyntaxError(`Unexpected character at index ${d}`);-1===u?u=d:a||(a=!0),c=!1}else if(l)if(1===s[h])-1===u&&(u=d);else if(34===h&&-1!==u)l=!1,p=d;else{if(92!==h)throw new SyntaxError(`Unexpected character at index ${d}`);c=!0}else if(34===h&&61===e.charCodeAt(d-1))l=!0;else if(-1===p&&1===s[h])-1===u&&(u=d);else if(-1===u||32!==h&&9!==h){if(59!==h&&44!==h)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);let s=e.slice(u,p);a&&(s=s.replace(/\\/g,""),a=!1),n(o,i,s),44===h&&(n(t,r,o),o=Object.create(null),r=void 0),i=void 0,u=p=-1}}else-1===p&&(p=d);if(-1===u||l||32===h||9===h)throw new SyntaxError("Unexpected end of input");-1===p&&(p=d);const f=e.slice(u,p);return void 0===r?n(t,f,o):(void 0===i?n(o,f,!0):n(o,i,a?f.replace(/\\/g,""):f),n(t,r,o)),t}}},"./node_modules/ws/lib/limiter.js":e=>{"use strict";const t=Symbol("kDone"),r=Symbol("kRun");e.exports=class{constructor(e){this[t]=()=>{this.pending--,this[r]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[r]()}[r](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[t])}}}},"./node_modules/ws/lib/permessage-deflate.js":(e,t,r)=>{"use strict";const s=r("zlib"),n=r("./node_modules/ws/lib/buffer-util.js"),i=r("./node_modules/ws/lib/limiter.js"),{kStatusCode:o}=r("./node_modules/ws/lib/constants.js"),a=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),l=Symbol("total-length"),u=Symbol("callback"),h=Symbol("buffers"),p=Symbol("error");let d;function f(e){this[h].push(e),this[l]+=e.length}function m(e){this[l]+=e.length,this[c]._maxPayload<1||this[l]<=this[c]._maxPayload?this[h].push(e):(this[p]=new RangeError("Max payload size exceeded"),this[p].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[p][o]=1009,this.removeListener("data",m),this.reset())}function g(e){this[c]._inflate=null,e[o]=1007,this[u](e)}e.exports=class{constructor(e,t,r){if(this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!d){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;d=new i(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[u];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const t=this._options,r=e.find((e=>!(!1===t.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===t.serverMaxWindowBits||"number"==typeof t.serverMaxWindowBits&&t.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof t.clientMaxWindowBits&&!e.client_max_window_bits)));if(!r)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:!0!==r.client_max_window_bits&&!1!==t.clientMaxWindowBits||delete r.client_max_window_bits,r}acceptAsClient(e){const t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((t=>{let r=e[t];if(r.length>1)throw new Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else{if("client_no_context_takeover"!==t&&"server_no_context_takeover"!==t)throw new Error(`Unknown parameter "${t}"`);if(!0!==r)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}e[t]=r}))})),e}decompress(e,t,r){d.add((s=>{this._decompress(e,t,((e,t)=>{s(),r(e,t)}))}))}compress(e,t,r){d.add((s=>{this._compress(e,t,((e,t)=>{s(),r(e,t)}))}))}_decompress(e,t,r){const i=this._isServer?"client":"server";if(!this._inflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[l]=0,this._inflate[h]=[],this._inflate.on("error",g),this._inflate.on("data",m)}this._inflate[u]=r,this._inflate.write(e),t&&this._inflate.write(a),this._inflate.flush((()=>{const e=this._inflate[p];if(e)return this._inflate.close(),this._inflate=null,void r(e);const s=n.concat(this._inflate[h],this._inflate[l]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[l]=0,this._inflate[h]=[],t&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),r(null,s)}))}_compress(e,t,r){const i=this._isServer?"server":"client";if(!this._deflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[l]=0,this._deflate[h]=[],this._deflate.on("data",f)}this._deflate[u]=r,this._deflate.write(e),this._deflate.flush(s.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=n.concat(this._deflate[h],this._deflate[l]);t&&(e=e.slice(0,e.length-4)),this._deflate[u]=null,this._deflate[l]=0,this._deflate[h]=[],t&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),r(null,e)}))}}},"./node_modules/ws/lib/receiver.js":(e,t,r)=>{"use strict";const{Writable:s}=r("stream"),n=r("./node_modules/ws/lib/permessage-deflate.js"),{BINARY_TYPES:i,EMPTY_BUFFER:o,kStatusCode:a,kWebSocket:c}=r("./node_modules/ws/lib/constants.js"),{concat:l,toArrayBuffer:u,unmask:h}=r("./node_modules/ws/lib/buffer-util.js"),{isValidStatusCode:p,isValidUTF8:d}=r("./node_modules/ws/lib/validation.js");function f(e,t,r,s,n){const i=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(i,f),i.code=n,i[a]=s,i}e.exports=class extends s{constructor(e={}){super(),this._binaryType=e.binaryType||i[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[c]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];return this._buffers[0]=t.slice(e),t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const r=this._buffers[0],s=t.length-e;e>=r.length?t.set(this._buffers.shift(),s):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),s),this._buffers[0]=r.slice(e)),e-=r.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do{switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,f(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const t=64==(64&e[0]);if(t&&!this._extensions[n.extensionName])return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,f(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,f(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,f(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,f(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,f(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),t=e.readUInt32BE(0);return t>Math.pow(2,21)-1?(this._loop=!1,f(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let t=o;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&h(t,this._mask)}return this._opcode>7?this.controlMessage(t):this._compressed?(this._state=5,void this.decompress(t,e)):(t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage())}decompress(e,t){this._extensions[n.extensionName].decompress(e,this._fin,((e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(r)}const s=this.dataMessage();if(s)return t(s);this.startLoop(t)}))}dataMessage(){if(this._fin){const e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?l(t,e):"arraybuffer"===this._binaryType?u(l(t,e)):t,this.emit("message",r,!0)}else{const r=l(t,e);if(!this._skipUTF8Validation&&!d(r))return this._loop=!1,f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",r,!1)}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,o),this.end();else{if(1===e.length)return f(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");{const t=e.readUInt16BE(0);if(!p(t))return f(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const r=e.slice(2);if(!this._skipUTF8Validation&&!d(r))return f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,r),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},"./node_modules/ws/lib/sender.js":(e,t,r)=>{"use strict";r("net"),r("tls");const{randomFillSync:s}=r("crypto"),n=r("./node_modules/ws/lib/permessage-deflate.js"),{EMPTY_BUFFER:i}=r("./node_modules/ws/lib/constants.js"),{isValidStatusCode:o}=r("./node_modules/ws/lib/validation.js"),{mask:a,toBuffer:c}=r("./node_modules/ws/lib/buffer-util.js"),l=Buffer.alloc(4);class u{constructor(e,t){this._extensions=t||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){const r=t.mask&&t.readOnly;let n=t.mask?6:2,i=e.length;e.length>=65536?(n+=8,i=127):e.length>125&&(n+=2,i=126);const o=Buffer.allocUnsafe(r?e.length+n:n);return o[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(o[0]|=64),o[1]=i,126===i?o.writeUInt16BE(e.length,2):127===i&&(o.writeUInt32BE(0,2),o.writeUInt32BE(e.length,6)),t.mask?(s(l,0,4),o[1]|=128,o[n-4]=l[0],o[n-3]=l[1],o[n-2]=l[2],o[n-1]=l[3],r?(a(e,l,o,n,e.length),[o]):(a(e,l,e,0,e.length),[o,e])):[o,e]}close(e,t,r,s){let n;if(void 0===e)n=i;else{if("number"!=typeof e||!o(e))throw new TypeError("First argument must be a valid error code number");if(void 0!==t&&t.length){const r=Buffer.byteLength(t);if(r>123)throw new RangeError("The message must not be greater than 123 bytes");n=Buffer.allocUnsafe(2+r),n.writeUInt16BE(e,0),"string"==typeof t?n.write(t,2):n.set(t,2)}else n=Buffer.allocUnsafe(2),n.writeUInt16BE(e,0)}this._deflating?this.enqueue([this.doClose,n,r,s]):this.doClose(n,r,s)}doClose(e,t,r){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),r)}ping(e,t,r){const s=c(e);if(s.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,s,t,c.readOnly,r]):this.doPing(s,t,c.readOnly,r)}doPing(e,t,r,s){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:r}),s)}pong(e,t,r){const s=c(e);if(s.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,s,t,c.readOnly,r]):this.doPong(s,t,c.readOnly,r)}doPong(e,t,r,s){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:r}),s)}send(e,t,r){const s=c(e),i=this._extensions[n.extensionName];let o=t.binary?2:1,a=t.compress;if(this._firstFragment?(this._firstFragment=!1,a&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(a=s.length>=i._threshold),this._compress=a):(a=!1,o=0),t.fin&&(this._firstFragment=!0),i){const e={fin:t.fin,rsv1:a,opcode:o,mask:t.mask,readOnly:c.readOnly};this._deflating?this.enqueue([this.dispatch,s,this._compress,e,r]):this.dispatch(s,this._compress,e,r)}else this.sendFrame(u.frame(s,{fin:t.fin,rsv1:!1,opcode:o,mask:t.mask,readOnly:c.readOnly}),r)}dispatch(e,t,r,s){if(!t)return void this.sendFrame(u.frame(e,r),s);const i=this._extensions[n.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,i.compress(e,r.fin,((t,n)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof s&&s(e);for(let t=0;t<this._queue.length;t++){const r=this._queue[t][4];"function"==typeof r&&r(e)}}else this._bufferedBytes-=e.length,this._deflating=!1,r.readOnly=!1,this.sendFrame(u.frame(n,r),s),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}e.exports=u},"./node_modules/ws/lib/stream.js":(e,t,r)=>{"use strict";const{Duplex:s}=r("stream");function n(e){e.emit("close")}function i(){!this.destroyed&&this._writableState.finished&&this.destroy()}function o(e){this.removeListener("error",o),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let r=!0,a=!0;function c(){r&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c));const l=new s({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(t,s){const n=!s&&l._readableState.objectMode?t.toString():t;l.push(n)||(r=!1,e._socket.pause())})),e.once("error",(function(e){l.destroyed||(a=!1,l.destroy(e))})),e.once("close",(function(){l.destroyed||l.push(null)})),l._destroy=function(t,r){if(e.readyState===e.CLOSED)return r(t),void process.nextTick(n,l);let s=!1;e.once("error",(function(e){s=!0,r(e)})),e.once("close",(function(){s||r(t),process.nextTick(n,l)})),a&&e.terminate()},l._final=function(t){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(t(),l._readableState.endEmitted&&l.destroy()):(e._socket.once("finish",(function(){t()})),e.close())):e.once("open",(function(){l._final(t)}))},l._read=function(){e.readyState!==e.OPEN||r||(r=!0,e._receiver._writableState.needDrain||e._socket.resume())},l._write=function(t,r,s){e.readyState!==e.CONNECTING?e.send(t,s):e.once("open",(function(){l._write(t,r,s)}))},l.on("end",i),l.on("error",o),l}},"./node_modules/ws/lib/subprotocol.js":(e,t,r)=>{"use strict";const{tokenChars:s}=r("./node_modules/ws/lib/validation.js");e.exports={parse:function(e){const t=new Set;let r=-1,n=-1,i=0;for(;i<e.length;i++){const o=e.charCodeAt(i);if(-1===n&&1===s[o])-1===r&&(r=i);else if(0===i||32!==o&&9!==o){if(44!==o)throw new SyntaxError(`Unexpected character at index ${i}`);{if(-1===r)throw new SyntaxError(`Unexpected character at index ${i}`);-1===n&&(n=i);const s=e.slice(r,n);if(t.has(s))throw new SyntaxError(`The "${s}" subprotocol is duplicated`);t.add(s),r=n=-1}}else-1===n&&-1!==r&&(n=i)}if(-1===r||-1!==n)throw new SyntaxError("Unexpected end of input");const o=e.slice(r,i);if(t.has(o))throw new SyntaxError(`The "${o}" subprotocol is duplicated`);return t.add(o),t}}},"./node_modules/ws/lib/validation.js":(e,t,r)=>{"use strict";const s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function i(e){const t=e.length;let r=0;for(;r<t;)if(0==(128&e[r]))r++;else if(192==(224&e[r])){if(r+1===t||128!=(192&e[r+1])||192==(254&e[r]))return!1;r+=2}else if(224==(240&e[r])){if(r+2>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||224===e[r]&&128==(224&e[r+1])||237===e[r]&&160==(224&e[r+1]))return!1;r+=3}else{if(240!=(248&e[r]))return!1;if(r+3>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||128!=(192&e[r+3])||240===e[r]&&128==(240&e[r+1])||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}try{const t=r("../../node_modules/utf-8-validate/index.js");e.exports={isValidStatusCode:n,isValidUTF8:e=>e.length<150?i(e):t(e),tokenChars:s}}catch(t){e.exports={isValidStatusCode:n,isValidUTF8:i,tokenChars:s}}},"./node_modules/ws/lib/websocket-server.js":(e,t,r)=>{"use strict";const s=r("events"),n=r("http"),{createHash:i}=(r("https"),r("net"),r("tls"),r("crypto")),o=r("./node_modules/ws/lib/extension.js"),a=r("./node_modules/ws/lib/permessage-deflate.js"),c=r("./node_modules/ws/lib/subprotocol.js"),l=r("./node_modules/ws/lib/websocket.js"),{GUID:u,kWebSocket:h}=r("./node_modules/ws/lib/constants.js"),p=/^[+/0-9A-Za-z]{22}==$/;function d(e){e._state=2,e.emit("close")}function f(){this.destroy()}function m(e,t,r,s){e.writable&&(r=r||n.STATUS_CODES[t],s={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...s},e.write(`HTTP/1.1 ${t} ${n.STATUS_CODES[t]}\r\n`+Object.keys(s).map((e=>`${e}: ${s[e]}`)).join("\r\n")+"\r\n\r\n"+r)),e.removeListener("error",f),e.destroy()}e.exports=class extends s{constructor(e,t){if(super(),null==(e={maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=n.createServer(((e,t)=>{const r=n.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)})),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(const r of Object.keys(t))e.on(r,t[r]);return function(){for(const r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,s)=>{this.handleUpgrade(t,r,s,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state)return e&&this.once("close",(()=>{e(new Error("The server is not running"))})),void process.nextTick(d,this);if(e&&this.once("close",e),1!==this._state)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(d,this);else{const e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close((()=>{d(this)}))}}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,s){t.on("error",f);const n=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"],i=+e.headers["sec-websocket-version"];if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!n||!p.test(n)||8!==i&&13!==i||!this.shouldHandle(e))return m(t,400);const l=e.headers["sec-websocket-protocol"];let u=new Set;if(void 0!==l)try{u=c.parse(l)}catch(e){return m(t,400)}const h=e.headers["sec-websocket-extensions"],d={};if(this.options.perMessageDeflate&&void 0!==h){const e=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const t=o.parse(h);t[a.extensionName]&&(e.accept(t[a.extensionName]),d[a.extensionName]=e)}catch(e){return m(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[8===i?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(o,((i,o,a,c)=>{if(!i)return m(t,o||401,a,c);this.completeUpgrade(d,n,u,e,t,r,s)}));if(!this.options.verifyClient(o))return m(t,401)}this.completeUpgrade(d,n,u,e,t,r,s)}completeUpgrade(e,t,r,s,n,c,p){if(!n.readable||!n.writable)return n.destroy();if(n[h])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return m(n,503);const g=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${i("sha1").update(t+u).digest("base64")}`],y=new l(null);if(r.size){const e=this.options.handleProtocols?this.options.handleProtocols(r,s):r.values().next().value;e&&(g.push(`Sec-WebSocket-Protocol: ${e}`),y._protocol=e)}if(e[a.extensionName]){const t=e[a.extensionName].params,r=o.format({[a.extensionName]:[t]});g.push(`Sec-WebSocket-Extensions: ${r}`),y._extensions=e}this.emit("headers",g,s),n.write(g.concat("\r\n").join("\r\n")),n.removeListener("error",f),y.setSocket(n,c,{maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(y),y.on("close",(()=>{this.clients.delete(y),this._shouldEmitClose&&!this.clients.size&&process.nextTick(d,this)}))),p(y,s)}}},"./node_modules/ws/lib/websocket.js":(e,t,r)=>{"use strict";const s=r("events"),n=r("https"),i=r("http"),o=r("net"),a=r("tls"),{randomBytes:c,createHash:l}=r("crypto"),{Readable:u}=r("stream"),{URL:h}=r("url"),p=r("./node_modules/ws/lib/permessage-deflate.js"),d=r("./node_modules/ws/lib/receiver.js"),f=r("./node_modules/ws/lib/sender.js"),{BINARY_TYPES:m,EMPTY_BUFFER:g,GUID:y,kForOnEventAttribute:v,kListener:b,kStatusCode:x,kWebSocket:w,NOOP:S}=r("./node_modules/ws/lib/constants.js"),{EventTarget:{addEventListener:E,removeEventListener:_}}=r("./node_modules/ws/lib/event-target.js"),{format:P,parse:T}=r("./node_modules/ws/lib/extension.js"),{toBuffer:A}=r("./node_modules/ws/lib/buffer-util.js"),C=["CONNECTING","OPEN","CLOSING","CLOSED"],k=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,O=[8,13];class N extends s{constructor(e,t,r){super(),this._binaryType=m[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=g,this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=N.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(r=t,t=[]):t=[t]),I(this,e,t,r)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){m.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){const s=new d({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation});this._sender=new f(e,this._extensions),this._receiver=s,this._socket=e,s[w]=this,e[w]=this,s.on("conclude",j),s.on("drain",F),s.on("error",B),s.on("message",$),s.on("ping",q),s.on("pong",H),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",V),e.on("data",z),e.on("end",G),e.on("error",K),this._readyState=N.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=N.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[p.extensionName]&&this._extensions[p.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=N.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==N.CLOSED){if(this.readyState===N.CONNECTING){const e="WebSocket was closed before the connection was established";return D(this,this._req,e)}this.readyState!==N.CLOSING?(this._readyState=N.CLOSING,this._sender.close(e,t,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}ping(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===N.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||g,t,r)):M(this,e,r)}pong(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===N.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||g,t,r)):M(this,e,r)}send(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==N.OPEN)return void M(this,e,r);const s={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[p.extensionName]||(s.compress=!1),this._sender.send(e||g,s,r)}terminate(){if(this.readyState!==N.CLOSED){if(this.readyState===N.CONNECTING){const e="WebSocket was closed before the connection was established";return D(this,this._req,e)}this._socket&&(this._readyState=N.CLOSING,this._socket.destroy())}}}function I(e,t,r,s){const o={protocolVersion:O[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!O.includes(o.protocolVersion))throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} (supported versions: ${O.join(", ")})`);let a;if(t instanceof h)a=t,e._url=t.href;else{try{a=new h(t)}catch(e){throw new SyntaxError(`Invalid URL: ${t}`)}e._url=t}const u="wss:"===a.protocol,d="ws+unix:"===a.protocol;if("ws:"!==a.protocol&&!u&&!d)throw new SyntaxError('The URL\'s protocol must be one of "ws:", "wss:", or "ws+unix:"');if(d&&!a.pathname)throw new SyntaxError("The URL's pathname is empty");if(a.hash)throw new SyntaxError("The URL contains a fragment identifier");const f=u?443:80,m=c(16).toString("base64"),g=u?n.get:i.get,v=new Set;let b;if(o.createConnection=u?L:R,o.defaultPort=o.defaultPort||f,o.port=a.port||f,o.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,o.headers={"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...o.headers},o.path=a.pathname+a.search,o.timeout=o.handshakeTimeout,o.perMessageDeflate&&(b=new p(!0!==o.perMessageDeflate?o.perMessageDeflate:{},!1,o.maxPayload),o.headers["Sec-WebSocket-Extensions"]=P({[p.extensionName]:b.offer()})),r.length){for(const e of r){if("string"!=typeof e||!k.test(e)||v.has(e))throw new SyntaxError("An invalid or duplicated subprotocol was specified");v.add(e)}o.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(o.origin&&(o.protocolVersion<13?o.headers["Sec-WebSocket-Origin"]=o.origin:o.headers.Origin=o.origin),(a.username||a.password)&&(o.auth=`${a.username}:${a.password}`),d){const e=o.path.split(":");o.socketPath=e[0],o.path=e[1]}let x=e._req=g(o);o.timeout&&x.on("timeout",(()=>{D(e,x,"Opening handshake has timed out")})),x.on("error",(t=>{null===x||x.aborted||(x=e._req=null,e._readyState=N.CLOSING,e.emit("error",t),e.emitClose())})),x.on("response",(n=>{const i=n.headers.location,a=n.statusCode;if(i&&o.followRedirects&&a>=300&&a<400){if(++e._redirects>o.maxRedirects)return void D(e,x,"Maximum redirects exceeded");x.abort();const n=new h(i,t);I(e,n,r,s)}else e.emit("unexpected-response",x,n)||D(e,x,`Unexpected server response: ${n.statusCode}`)})),x.on("upgrade",((t,r,s)=>{if(e.emit("upgrade",t),e.readyState!==N.CONNECTING)return;x=e._req=null;const n=l("sha1").update(m+y).digest("base64");if(t.headers["sec-websocket-accept"]!==n)return void D(e,r,"Invalid Sec-WebSocket-Accept header");const i=t.headers["sec-websocket-protocol"];let a;if(void 0!==i?v.size?v.has(i)||(a="Server sent an invalid subprotocol"):a="Server sent a subprotocol but none was requested":v.size&&(a="Server sent no subprotocol"),a)return void D(e,r,a);i&&(e._protocol=i);const c=t.headers["sec-websocket-extensions"];if(void 0!==c){if(!b)return void D(e,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let t;try{t=T(c)}catch(t){return void D(e,r,"Invalid Sec-WebSocket-Extensions header")}const s=Object.keys(t);if(1!==s.length||s[0]!==p.extensionName)return void D(e,r,"Server indicated an extension that was not requested");try{b.accept(t[p.extensionName])}catch(t){return void D(e,r,"Invalid Sec-WebSocket-Extensions header")}e._extensions[p.extensionName]=b}e.setSocket(r,s,{maxPayload:o.maxPayload,skipUTF8Validation:o.skipUTF8Validation})}))}function R(e){return e.path=e.socketPath,o.connect(e)}function L(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=o.isIP(e.host)?"":e.host),a.connect(e)}function D(e,t,r){e._readyState=N.CLOSING;const s=new Error(r);Error.captureStackTrace(s,D),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",s)):(t.destroy(s),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function M(e,t,r){if(t){const r=A(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}r&&r(new Error(`WebSocket is not open: readyState ${e.readyState} (${C[e.readyState]})`))}function j(e,t){const r=this[w];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[w]&&(r._socket.removeListener("data",z),process.nextTick(W,r._socket),1005===e?r.close():r.close(e,t))}function F(){this[w]._socket.resume()}function B(e){const t=this[w];void 0!==t._socket[w]&&(t._socket.removeListener("data",z),process.nextTick(W,t._socket),t.close(e[x])),t.emit("error",e)}function U(){this[w].emitClose()}function $(e,t){this[w].emit("message",e,t)}function q(e){const t=this[w];t.pong(e,!t._isServer,S),t.emit("ping",e)}function H(e){this[w].emit("pong",e)}function W(e){e.resume()}function V(){const e=this[w];let t;this.removeListener("close",V),this.removeListener("data",z),this.removeListener("end",G),e._readyState=N.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(t=e._socket.read())||e._receiver.write(t),e._receiver.end(),this[w]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",U),e._receiver.on("finish",U))}function z(e){this[w]._receiver.write(e)||this.pause()}function G(){const e=this[w];e._readyState=N.CLOSING,e._receiver.end(),this.end()}function K(){const e=this[w];this.removeListener("error",K),this.on("error",S),e&&(e._readyState=N.CLOSING,this.destroy())}Object.defineProperty(N,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(N.prototype,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(N,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(N.prototype,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(N,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(N.prototype,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(N,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),Object.defineProperty(N.prototype,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(N.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(N.prototype,`on${e}`,{enumerable:!0,get(){for(const t of this.listeners(e))if(t[v])return t[b];return null},set(t){for(const t of this.listeners(e))if(t[v]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[v]:!0})}})})),N.prototype.addEventListener=E,N.prototype.removeEventListener=_,e.exports=N},fsevents:e=>{"use strict";e.exports=r(943)},child_process:e=>{"use strict";e.exports=r(81)},crypto:e=>{"use strict";e.exports=r(113)},events:e=>{"use strict";e.exports=r(361)},fs:e=>{"use strict";e.exports=r(358)},http:e=>{"use strict";e.exports=r(685)},https:e=>{"use strict";e.exports=r(687)},module:e=>{"use strict";e.exports=r(188)},net:e=>{"use strict";e.exports=r(808)},os:e=>{"use strict";e.exports=r(37)},path:e=>{"use strict";e.exports=r(17)},stream:e=>{"use strict";e.exports=r(781)},tls:e=>{"use strict";e.exports=r(404)},tty:e=>{"use strict";e.exports=r(224)},url:e=>{"use strict";e.exports=r(310)},util:e=>{"use strict";e.exports=r(837)},zlib:e=>{"use strict";e.exports=r(796)},"../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/arrayWithHoles.js":e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/asyncToGenerator.js":e=>{function t(e,t,r,s,n,i,o){try{var a=e[i](o),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(s,n)}e.exports=function(e){return function(){var r=this,s=arguments;return new Promise((function(n,i){var o=e.apply(r,s);function a(e){t(o,n,i,a,c,"next",e)}function c(e){t(o,n,i,a,c,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/classCallCheck.js":e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/createClass.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");function n(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,s(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/defineProperty.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");e.exports=function(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/iterableToArray.js":e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s,n,i,o,a=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(s=i.call(r)).done)&&(a.push(s.value),a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/nonIterableRest.js":e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/nonIterableSpread.js":e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");e.exports=function(e,t){if(null==e)return{};var r,n,i=s(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":e=>{e.exports=function(e,t){if(null==e)return{};var r,s,n={},i=Object.keys(e);for(s=0;s<i.length;s++)r=i[s],t.indexOf(r)>=0||(n[r]=e[r]);return n},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;function n(){"use strict";e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},i=Object.prototype,o=i.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,r){return e[t]=r}}function d(e,t,r,s){var n=t&&t.prototype instanceof x?t:x,i=Object.create(n.prototype),o=new R(s||[]);return a(i,"_invoke",{value:k(e,r,o)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var m="suspendedStart",g="suspendedYield",y="executing",v="completed",b={};function x(){}function w(){}function S(){}var E={};p(E,l,(function(){return this}));var _=Object.getPrototypeOf,P=_&&_(_(L([])));P&&P!==i&&o.call(P,l)&&(E=P);var T=S.prototype=x.prototype=Object.create(E);function A(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(n,i,a,c){var l=f(e[n],e,i);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==s(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(h).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var n;a(this,"_invoke",{value:function(e,s){function i(){return new t((function(t,n){r(e,s,t,n)}))}return n=n?n.then(i,i):i()}})}function k(e,r,s){var n=m;return function(i,o){if(n===y)throw new Error("Generator is already running");if(n===v){if("throw"===i)throw o;return{value:t,done:!0}}for(s.method=i,s.arg=o;;){var a=s.delegate;if(a){var c=O(a,s);if(c){if(c===b)continue;return c}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(n===m)throw n=v,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);n=y;var l=f(e,r,s);if("normal"===l.type){if(n=s.done?v:g,l.arg===b)continue;return{value:l.arg,done:s.done}}"throw"===l.type&&(n=v,s.method="throw",s.arg=l.arg)}}}function O(e,r){var s=r.method,n=e.iterator[s];if(n===t)return r.delegate=null,"throw"===s&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==s&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+s+"' method")),b;var i=f(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function L(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(s(e)+" is not iterable")}return w.prototype=S,a(T,"constructor",{value:S,configurable:!0}),a(S,"constructor",{value:w,configurable:!0}),w.displayName=p(S,h,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,p(e,h,"GeneratorFunction")),e.prototype=Object.create(T),e},r.awrap=function(e){return{__await:e}},A(C.prototype),p(C.prototype,u,(function(){return this})),r.AsyncIterator=C,r.async=function(e,t,s,n,i){void 0===i&&(i=Promise);var o=new C(d(e,t,s,n),i);return r.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},A(T),p(T,h,"Generator"),p(T,l,(function(){return this})),p(T,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function e(){for(;r.length;){var s=r.pop();if(s in t)return e.value=s,e.done=!1,e}return e.done=!0,e}},r.values=L,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function s(s,n){return a.type="throw",a.arg=e,r.next=s,n&&(r.method="next",r.arg=t),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return s("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return s(i.catchLoc,!0);if(this.prev<i.finallyLoc)return s(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return s(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return s(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&o.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=e,i.arg=t,n?(this.method="next",this.next=n.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if("throw"===s.type){var n=s.arg;I(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,s){return this.delegate={iterator:L(e),resultName:r,nextLoc:s},"next"===this.method&&(this.arg=t),b}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/slicedToArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayWithHoles.js"),n=r("../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"),i=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),o=r("../../node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e,t){return s(e)||n(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toConsumableArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),n=r("../../node_modules/@babel/runtime/helpers/iterableToArray.js"),i=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),o=r("../../node_modules/@babel/runtime/helpers/nonIterableSpread.js");e.exports=function(e){return s(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPrimitive.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPropertyKey.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default,n=r("../../node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=n(e,"string");return"symbol"===s(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/typeof.js":e=>{function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/regenerator/index.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();e.exports=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}},"../../node_modules/@socket.io/component-emitter/index.mjs":(e,t,r)=>{"use strict";function s(e){if(e)return function(e){for(var t in s.prototype)e[t]=s.prototype[t];return e}(e)}r.r(t),r.d(t,{Emitter:()=>s}),s.prototype.on=s.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},s.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},s.prototype.off=s.prototype.removeListener=s.prototype.removeAllListeners=s.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,s=this._callbacks["$"+e];if(!s)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var n=0;n<s.length;n++)if((r=s[n])===t||r.fn===t){s.splice(n,1);break}return 0===s.length&&delete this._callbacks["$"+e],this},s.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(r){s=0;for(var n=(r=r.slice(0)).length;s<n;++s)r[s].apply(this,t)}return this},s.prototype.emitReserved=s.prototype.emit,s.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},s.prototype.hasListeners=function(e){return!!this.listeners(e).length}},"./src/design-panel-theme-files.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{ensureDesignPanelThemeFiles:()=>i});var s=r("fs"),n=r("path"),i=function(e){var t=function(e){return Array.isArray(null==e?void 0:e.designPanelThemeFiles)?e.designPanelThemeFiles:[]}(e);if(!t.length)return{skipped:!0,created:[],existing:[],errors:[]};var r=[],i=[],o=[];return t.forEach((function(e){var t=null==e?void 0:e.path;if(t&&n.isAbsolute(t))try{if(s.existsSync(t))return void(s.statSync(t).isFile()&&i.push(t));var a=n.dirname(t);s.existsSync(a)||s.mkdirSync(a,{recursive:!0}),s.writeFileSync(t,"string"==typeof e.content?e.content:"",{encoding:"utf8",flag:!0===e.overwrite?"w":"wx"}),r.push(t)}catch(e){if("EEXIST"===(null==e?void 0:e.code))return void i.push(t);o.push({filePath:t,error:e})}})),{skipped:!1,created:r,existing:i,errors:o}}},"./src/plugin-watch-policy.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{collectPluginDevServerWatchPolicy:()=>c,getPluginDevServerConfigWatchPolicy:()=>i,getPluginDevServerThemeWatchPolicy:()=>o,mergePluginDevServerWatchPolicy:()=>a});var s=function(){return{pluginFilesNotToBeWatchedByDevServer:new Set,fileNamesThatRestartDevServer:new Set}},n=function(e,t){t.forEach((function(t){return e.add(t)}))},i=function(e){var t,r=s(),n=null==e||null===(t=e.options)||void 0===t?void 0:t.configPath;return n?(!0===e.options.restartOnConfigUpdate&&(r.pluginFilesNotToBeWatchedByDevServer.add(n),r.fileNamesThatRestartDevServer.add(n)),!1===e.options.restartOnConfigUpdate&&r.pluginFilesNotToBeWatchedByDevServer.add(n),r):r},o=function(e){var t=s(),r=function(e){var t,r;return null!=e&&null!==(t=e.designPanelThemeFiles)&&void 0!==t&&t.length||null!=e&&null!==(r=e.options)&&void 0!==r&&r.themePath?Array.isArray(e.designPanelThemeFiles)?e.designPanelThemeFiles.filter((function(e){return!1!==(null==e?void 0:e.watch)})).map((function(e){return e.path})).filter(Boolean):[e.options.themePath]:[]}(e);return r.length?(!0===e.options.restartOnThemeUpdate&&n(t.fileNamesThatRestartDevServer,r),n(t.pluginFilesNotToBeWatchedByDevServer,r),t):t},a=function(e,t){return n(e.pluginFilesNotToBeWatchedByDevServer,t.pluginFilesNotToBeWatchedByDevServer),n(e.fileNamesThatRestartDevServer,t.fileNamesThatRestartDevServer),e},c=function(e){var t=s();return Object.values(e||{}).forEach((function(e){a(t,i(e)),a(t,o(e))})),t}},"./src/plugin-watched-files.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{getPluginWatchedFiles:()=>o,isActivePluginForFileWatch:()=>n,isWatchedPluginOptionKey:()=>i});var s=r("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n=function(e){return!1!==e.productKeyStatus&&e.activeInProject},i=function(e){return!(!e||!(e.toLowerCase().endsWith("file")||e.toLowerCase().endsWith("path")||e.toLowerCase().endsWith("root")))},o=function(e,t){var r=[],n=e.options;return n?(Object.entries(n).forEach((function(e){var n=s(e,2),o=n[0],a=n[1];i(o)&&a&&"string"==typeof a&&("themePath"===o||t(a))&&r.push(a)})),(e.designPanelThemeFiles||[]).forEach((function(e){var s=null==e?void 0:e.path;!1!==(null==e?void 0:e.watch)&&s&&t(s)&&r.push(s)})),r):r}},"../tailwindcss-plugin/host/bridge.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{TAILWIND_CONFIG_FILE_NAMES:()=>h,TAILWIND_CONFIG_WATCH_IGNORE_GLOBS:()=>p,TAILWIND_DESIGN_PROVIDER_KEY:()=>l,TAILWIND_FLOWBITE_FRAMEWORK_KEY:()=>u,TAILWIND_PLUGIN_KEY:()=>c,findTailwindPlugin:()=>m,getDesignProviderKeyForTailwindPlugin:()=>v,getPluginKeyForTailwindDesignProvider:()=>y,isTailwindDesignProviderKey:()=>g,isTailwindPlugin:()=>f,isTailwindPluginKey:()=>d,normalizeTailwindCssThemeOption:()=>_,shouldFetchPluginDataViaDevConnector:()=>b});var s=r("../../node_modules/@babel/runtime/helpers/typeof.js"),n=r("fs"),i=r("path");function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){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);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f: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.")}var i,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}var c="tailwindcss",l="tw",u="tw.flowbite",h=["tailwind.config.js","tailwind.config.cjs","tailwind.config.mjs","tailwind.config.ts","tailwind.config.cts","tailwind.config.mts"],p=h.map((function(e){return"**/".concat(e)})),d=function(e){return e===c},f=function(e){return d(null==e?void 0:e.key)},m=function(e){return null==e?void 0:e.find((function(e){return f(e)}))},g=function(e){return e===l},y=function(e){return e===l?c:e},v=function(e){return d(e)?l:e},b=function(e){return!f(e)},x=function(e){return!(!n.existsSync(e)||!n.statSync(e).isFile())},w=function(e){if("number"==typeof e)return Number.isFinite(e)?e:null;if(!e||"string"!=typeof e)return null;var t=e.match(/\d+/);return t?Number.parseInt(t[0],10):null},S=function(e){try{return JSON.parse(n.readFileSync(e,"utf8"))}catch(e){return null}},E=function(e){var t=e.startDir,r=e.packageName;if(!t)return null;for(var s=i.resolve(t);s&&s!==i.dirname(s);){var n=i.join(s,"node_modules",r,"package.json");if(x(n))return n;s=i.dirname(s)}return null},_=function(e){var t,r,a=e.pluginDefn,c=e.configRoot,l=e.projectRoot,u=e.repoRoot,h=e.aliases,p=void 0===h?[]:h;if(f(a)){var d=a.options||{},m=d.themePath;if(m&&!1!==m&&i.isAbsolute(m)){if(!1!==d.cssTheme)if(r=function(e){var t=e.pluginDefn,r=e.configRoot,s=e.projectRoot,n=e.repoRoot,i=(null==t?void 0:t.options)||{};return w(i.tailwindMajorVersion)||w(i.tailwindVersion)||function(e){var t,r=o([e.configRoot,e.projectRoot,e.repoRoot].filter(Boolean));try{for(r.s();!(t=r.n()).done;){var s=t.value,n=E({startDir:s,packageName:"tailwindcss"}),i=n?S(n):null,a=w(null==i?void 0:i.version);if(a)return a}}catch(e){r.e(e)}finally{r.f()}return null}({configRoot:r,projectRoot:s,repoRoot:n})}({pluginDefn:(t={pluginDefn:a,configRoot:c,projectRoot:l,repoRoot:u}).pluginDefn,configRoot:t.configRoot,projectRoot:t.projectRoot,repoRoot:t.repoRoot}),r&&r>=4){var g,y=d.cssTheme&&"object"===s(d.cssTheme)&&!Array.isArray(d.cssTheme)?d.cssTheme:{},v=y.path||i.resolve(i.dirname(m),"theme.css");v&&"string"==typeof v&&(v=function(e,t){var r=function(e,t){var r=e;if(t&&t.length){var s,n=o(t);try{for(n.s();!(s=n.n()).done;){var a=s.value,c=a.replacement,l=a.regex,u=l?new RegExp(a.find.source,a.find.flags):a.find,h=!1;if(l&&u.test(e)&&(h=!0),!l&&e.startsWith(u)&&(h=!0),h){r=e.replace(u,c);break}}}catch(e){n.e(e)}finally{n.f()}}return i.normalize(r)}(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]);return i.isAbsolute(r)||(r=i.resolve(t,r)),r}(v,c,p),i.extname(v)&&(g=v,!n.existsSync(g)||!n.statSync(g).isDirectory()||x(v))||(v=i.resolve(v,"theme.css"))),d.cssTheme={path:v,colors:!1!==y.colors,fonts:!1!==y.fonts,backgrounds:!1!==y.backgrounds}}else d.cssTheme=!1}else d.cssTheme=!1}}},"../tailwindcss-plugin/host/tailwind-css-entry.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{detectTailwindCssPath:()=>d,isTailwindCssSource:()=>l});var s=r("../../node_modules/@babel/runtime/helpers/toConsumableArray.js"),n=r("fs"),i=r("path");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}var a=["src/assets/css/tailwind.css","src/assets/tailwind.css","src/assets/main.css","src/main.css","src/style.css","src/styles.css","app/assets/css/tailwind.css","app/assets/css/main.css","app/assets/main.css","assets/css/tailwind.css","assets/css/main.css","tailwind.css","main.css","app.css"],c=new Set([".git",".nuxt",".output",".vite","build","coverage","dist","node_modules","_pgbackup","_pginfo"]),l=function(e){return/@tailwind\b|@import\s+["']tailwindcss|@theme\b|@config\b|@utility\b/.test(e||"")},u=function(e){if(!function(e){return!(!n.existsSync(e)||!n.statSync(e).isFile())}(e))return!1;if(function(e){return/\/themes\/pg-[^/]+\/theme\.css$/i.test("/".concat(e.split(i.sep).join("/")))}(e))return!1;try{return l(n.readFileSync(e,"utf8"))}catch(e){return!1}},h=function(e,t){var r="";try{r=n.readFileSync(e,"utf8")}catch(e){}var s=0;return/@tailwind\b|@import\s+["']tailwindcss/.test(r)&&(s+=12),/(^|\/)tailwind\.css$/i.test(t)?s+=6:/(^|\/)(main|app|input)\.css$/i.test(t)?s+=5:/tailwind/i.test(i.basename(t))&&(s+=2),/@config\b/.test(r)&&(s+=2),/assets|styles|css/i.test(t)&&(s+=1),s},p=function e(t){var r,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;if(l>u||(r=t,!n.existsSync(r)||!n.statSync(r).isDirectory()))return[];try{a=n.readdirSync(t,{withFileTypes:!0})}catch(e){return[]}var h,p=[],d=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f: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.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(a);try{for(d.s();!(h=d.n()).done;){var f=h.value,m=i.join(t,f.name);f.isDirectory()?c.has(f.name)||p.push.apply(p,s(e(m,l+1,u))):f.isFile()&&f.name.endsWith(".css")&&p.push(m)}}catch(e){d.e(e)}finally{d.f()}return p},d=function(e){var t,r=[],s=new Set,n=function(e){e&&!s.has(e)&&(s.add(e),r.push(e))};a.forEach((function(t){return n(i.resolve(e,t))})),p(e).forEach(n);var o=r.filter(u).map((function(t){var r=function(e,t){if(!e||!t||!i.isAbsolute(e))return e;var r=i.relative(t,e);return!r||r.startsWith("..")||i.isAbsolute(r)?e:r}(t,e);return{filePath:t,relPath:r,score:h(t,r)}}));return o.sort((function(e,t){return t.score-e.score||e.relPath.length-t.relPath.length})),(null===(t=o[0])||void 0===t?void 0:t.filePath)||""}},"../../src/framework-mgmt/pinegrow-config-manager.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{getPinegrowConfig:()=>l});var s=r("../../node_modules/@babel/runtime/helpers/typeof.js"),n=r("path"),i=r("fs"),o=r("module"),a=r("../../node_modules/chokidar/index.js"),c=function(e){return!(!i.existsSync(e)||!i.statSync(e).isFile())},l=function(e,t){var r,i="pinegrow.config.js";try{var l=n.resolve(e,"pinegrow.config.js");if(!c(l)){if(l=n.resolve(e,"pinegrow.config.cjs"),!c(l))return;i="pinegrow.config.cjs"}if(t)try{r=function(e,t){var r=a.watch(e,{ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}});return r.on("unlink",(function(e){return r.unwatch(e)})).on("add",(function(e){delete(0,o.createRequire)(e).cache[e],t(e)})).on("change",(function(e){delete(0,o.createRequire)(e).cache[e],t(e)})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server and re-opening your project!")})),r}(l,t)}catch(e){console.log(e),console.log("Pinegrow: Unable to watch ".concat(i,"!"))}try{var u=(0,o.createRequire)(l),h=u(l);if(delete u.cache[l],h&&"object"===s(h))return{pinegrowConfig:h,pinegrowConfigWatcher:r}}catch(e){console.log(e),console.log("Pinegrow: Unable to process ".concat(i,"!"))}}catch(e){console.log(e)}}},"../../src/framework-mgmt/transform-plugins.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{resolvePathAlias:()=>y,transformPluginsArray:()=>w});var s=r("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n=r("../../node_modules/@babel/runtime/helpers/typeof.js"),i=r("../../node_modules/@babel/runtime/helpers/defineProperty.js"),o=r("path"),a=r("fs"),c=r("module"),l=r("../tailwindcss-plugin/host/tailwind-css-entry.js"),u=r("../tailwindcss-plugin/host/bridge.js");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}var f=function(e){return!(!a.existsSync(e)||!a.statSync(e).isFile())},m=function(e){return!(!a.existsSync(e)||!a.statSync(e).isDirectory())},g=function(e,t){if(!e||!t||!o.isAbsolute(e))return e;var r=o.relative(t,e);return!r||r.startsWith("..")||o.isAbsolute(r)?e:r},y=function(e,t){var r=e;if(t&&t.length){var s,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f: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.")}var i,o=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}(t);try{for(n.s();!(s=n.n()).done;){var i=s.value,a=i.replacement,c=i.regex,l=c?new RegExp(i.find.source,i.find.flags):i.find,u=!1;if(c&&l.test(e)&&(u=!0),!c&&e.startsWith(l)&&(u=!0),u){r=e.replace(l,a);break}}}catch(e){n.e(e)}finally{n.f()}}return o.normalize(r)},v=function(e,t){var r=y(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]);return o.isAbsolute(r)||(r=o.resolve(t,r)),r},b=function(e){return"string"==typeof e?e.replaceAll("__TILDEWITH$__","`$").replaceAll("__TILDE__","`").replaceAll("__DOLLAR__","$"):e},x=function(e,t){if(null!=t&&t.path&&o.isAbsolute(t.path)){var r=e.findIndex((function(e){return e.path===t.path})),s={path:t.path,content:"string"==typeof t.content?t.content:"",overwrite:!0===t.overwrite,watch:!1!==t.watch};r>=0?e[r]=p(p({},e[r]),s):e.push(s)}},w=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{plugins:[]},r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,h=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],w=(e=t.configPath,a.statSync(e).isFile()?o.dirname(t.configPath):i),S=t.plugins,E={},_=o.resolve(r,"node_modules");if(S.forEach((function(e){try{var t,r,s,a,c={};if(Array.isArray(e)||"object"!==n(e)||(e=[e]),"string"==typeof e){var l=y(e,d);o.isAbsolute(l)||(l=o.resolve(i,l)),e=f(l)?[{dependencyRoot:o.dirname(l),pluginPath:l}]:[e]}if(Array.isArray(e)&&e.length){if("string"==typeof e[0]&&(t=e[0],r=o.resolve(_,t)),"object"===n(e[0])&&(t=(c=e[0]).dependency,r=c.dependencyRoot,c.options&&(a=p(p({},a),c.options)),c.pluginPath)){var u=y(c.pluginPath,d);if(!o.isAbsolute(u)){var h=c.dependencyRoot||i;u=o.resolve(h,u)}f(u)?(r=r||o.dirname(u),s=u):(console.log(e),console.log("Pinegrow: The pluginPath of the above plugin doesn't exist at ".concat(u," and was ignored. Make sure the plugin file exists!")),r=o.dirname(u),s=u)}e[1]&&("object"===n(e[1])?a=p(p({},a),e[1]):(console.log(e),console.log("Pinegrow: The above plugin's options were ignored. Make sure it's of type Object!")))}r&&(E[r]=p(p({},c),{},{dependency:t,dependencyRoot:r,pluginPath:s,options:a}))}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),h){var P=o.resolve(r,"node_modules","@pinegrow");try{a.readdirSync(P).filter((function(e){return(e.endsWith("-plugin")||"quasar-module"===e||e.startsWith("headless-"))&&"vite-plugin"!==e})).forEach((function(e){var t=o.resolve(P,e);m(t)&&!E[t]&&(E[t]={dependency:"@pinegrow/".concat(e),dependencyRoot:t})}))}catch(e){}}Object.entries(E).filter((function(e){var t=s(e,2),r=t[0],n=t[1];return n.dependency&&!n.pluginPath&&!r.endsWith("@pinegrow/vite-plugin")})).forEach((function(e){var t=s(e,2),r=t[0],n=t[1],a=n.dependency,l=n.options;try{var u,h;try{var p=(0,c.createRequire)(r);u=p(r),p.resolve(r)}catch(e){console.log(e),console.log("Pinegrow: An error occurred while processing the plugin ".concat(u.dependency," and was therefore ignored. Please contact Pinegrow support!"))}if(!u)return;if("function"==typeof(u=u.parser||u.default||u))return;if(u.pluginPath){var m=y(u.pluginPath,d);if(!o.isAbsolute(m)){var g=u.dependencyRoot||i;m=o.resolve(g,m)}f(m)?h=m:console.log("Pinegrow: The pluginPath of ".concat(u.dependency," doesn't exist at ").concat(m," and was ignored. Make sure the plugin file exists!"))}E[r]={dependency:a,dependencyRoot:r,name:u.name,key:u.key,productKey:u.productKey,library:u.library,syncWithLibrarySemVer:u.syncWithLibrarySemVer,pluginPath:h,options:l,themeTemplate:b(u.themeTemplate),cssThemeTemplate:b(u.cssThemeTemplate),designPanelThemeFiles:u.designPanelThemeFiles,dataTemplate:b(u.dataTemplate),dataTemplateAlt:b(u.dataTemplateAlt),init:u.init,invalid:u.invalid}}catch(e){console.log(e),console.log("Pinegrow: Unable to load plugin: ".concat(a))}}));var T,A,C,k=Object.values(E).filter((function(e){return e.key})).map((function(e){return e.key})),O=(T=k).filter((function(e,t){return T.indexOf(e)!==t}));return O.length&&console.log("Pinegrow: The key".concat(1===O.length?"":"s"," ").concat(O.join(", ")," ").concat(1===O.length?"was":"were"," used in multiple plugins which can cause issues. Make sure duplicate keys are not used!")),Object.entries(E).filter((function(e){var t=s(e,2);return t[0],t[1].key})).forEach((function(e){var r=s(e,2),i=(r[0],r[1]),o=t[i.key];o&&"object"===n(o)&&(i.options=p(p({},i.options),o))})),Object.entries(E).forEach((function(e){var t=s(e,2),a=(t[0],t[1]);if(a.name=a.name||a.dependency||a.key||a.productKey||a.pluginPath||a.dependencyRoot,a.dependency=a.dependency||a.pluginPath||a.dependencyRoot,a.activeInProject=!0,a.options){var c=a.options;try{Object.entries(c).forEach((function(e){var t=s(e,2),r=t[0],n=t[1];if(r&&(r.toLowerCase().endsWith("file")||r.toLowerCase().endsWith("path")||r.toLowerCase().endsWith("root"))&&n&&"string"==typeof n){var a=y(n,d);if(o.isAbsolute(a)||(a=o.resolve(w,a)),a&&!f(a)){var u=[".ts",".js",".mjs",".cjs"],h=o.extname(a);if(u.includes(h)){var p=u.reverse().reduce((function(e,t){var r=a.replace(h,t);return f(r)?r:e}),null);p&&(console.log("Pinegrow: As ".concat(r," at ").concat(g(a,i)," was missing and ").concat(g(p,i)," (different extension) was found, the latter shall be used.\n")),a=p)}}if("cssPath"===r&&a&&!f(a)&&!(0,l.isTailwindCssSource)(n)){var m=(0,l.detectTailwindCssPath)(i);m&&(console.log("Pinegrow: As cssPath at ".concat(g(a,i)," was missing and ").concat(g(m,i)," (Tailwind CSS entry) was found, the latter shall be used.\n")),a=m)}("themePath"===r||f(a))&&(c[r]=a),("dataPath"===r||f(a))&&(c[r]=a),("dataPathAlt"===r||f(a))&&(c[r]=a)}}))}catch(e){console.log(e),console.log("Pinegrow: An error occurred when processing plugin options for plugin: ".concat(a.name))}}else a.options={};if(a.themeTemplate){var h=a.options.themePath;try{!1!==h&&(h?(!o.extname(h)||m(h)&&!f(h))&&(h=o.resolve(h,"pg".concat(a.key?"-".concat(a.key):"","/tokens.cjs"))):h=o.resolve(i,"themes/pg".concat(a.key?"-".concat(a.key):"-","/tokens.cjs"))),void 0!==a.options.restartOnConfigUpdate&&null!==a.options.restartOnConfigUpdate||(a.options.restartOnConfigUpdate=!1),a.options.themePath=h,(0,u.normalizeTailwindCssThemeOption)({pluginDefn:a,configRoot:w,projectRoot:i,repoRoot:r,aliases:d}),void 0!==a.options.restartOnThemeUpdate&&null!==a.options.restartOnThemeUpdate||(a.options.restartOnThemeUpdate=!1)}catch(e){console.log(e)}}if(a.dataTemplate){var S=a.options.dataPath;try{!1!==S&&(S||(S=o.resolve(i,"data/pg".concat(a.key?"-".concat(a.key):"-","/query.ts")))),a.options.dataPath=S}catch(e){console.log(e)}}if(a.dataTemplateAlt){var E=a.options.dataPathAlt;try{!1!==E&&(E||(E=o.resolve(i,"data/pg".concat(a.key?"-".concat(a.key):"-","/data.mjs")))),a.options.dataPathAlt=E}catch(e){console.log(e)}}a.designPanelThemeFiles=function(e){var t,r=e.pluginDefn,s=e.configRoot,i=e.aliases,a=void 0===i?[]:i,c=[],l=r.options||{},u=l.themePath;if(r.themeTemplate&&u&&!1!==u&&o.isAbsolute(u)){var h=o.extname(u),d=h?u.replace(h,""):u;[u,"".concat(d,".cjs"),"".concat(d,".mjs")].forEach((function(e){var t;x(c,{path:e,content:".mjs"===o.extname(e)?(t=r.themeTemplate,t.replace("module.exports =","export ").replace("module.exports=","export ")):r.themeTemplate})}))}var f=null===(t=l.cssTheme)||void 0===t?void 0:t.path;return r.cssThemeTemplate&&f&&o.isAbsolute(f)&&x(c,{path:f,content:r.cssThemeTemplate}),Array.isArray(r.designPanelThemeFiles)&&r.designPanelThemeFiles.forEach((function(e){x(c,function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e||"object"!==n(e))return null;var s=e.path||e.filePath;return s&&"string"==typeof s?p(p({},e),{},{path:v(s,t,r),content:b(e.content)}):null}(e,s,a))})),c}({pluginDefn:a,configRoot:w,aliases:d})})),A=E,C=function(e){var t=s(e,2);return t[0],!t[1].invalid},Object.fromEntries(Object.entries(A).filter(C))}},"../../node_modules/socket.io-parser/build/esm-debug/binary.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{deconstructPacket:()=>n,reconstructPacket:()=>o});var s=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");function n(e){const t=[],r=e.data,s=e;return s.data=i(r,t),s.attachments=t.length,{packet:s,buffers:t}}function i(e,t){if(!e)return e;if((0,s.isBinary)(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}if(Array.isArray(e)){const r=new Array(e.length);for(let s=0;s<e.length;s++)r[s]=i(e[s],t);return r}if("object"==typeof e&&!(e instanceof Date)){const r={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=i(e[s],t));return r}return e}function o(e,t){return e.data=a(e.data,t),delete e.attachments,e}function a(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=a(e[r],t);else if("object"==typeof e)for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=a(e[r],t));return e}},"../../node_modules/socket.io-parser/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Decoder:()=>p,Encoder:()=>u,PacketType:()=>l,protocol:()=>c});var s=r("../../node_modules/@socket.io/component-emitter/index.mjs"),n=r("../../node_modules/socket.io-parser/build/esm-debug/binary.js"),i=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");const o=r("../../node_modules/debug/src/index.js")("socket.io-parser"),a=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],c=5;var l;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(l||(l={}));class u{constructor(e){this.replacer=e}encode(e){return o("encoding packet %j",e),e.type!==l.EVENT&&e.type!==l.ACK||!(0,i.hasBinary)(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===l.EVENT?l.BINARY_EVENT:l.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==l.BINARY_EVENT&&e.type!==l.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),o("encoded %j as %s",e,t),t}encodeAsBinary(e){const t=(0,n.deconstructPacket)(e),r=this.encodeAsString(t.packet),s=t.buffers;return s.unshift(r),s}}function h(e){return"[object Object]"===Object.prototype.toString.call(e)}class p extends s.Emitter{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const r=t.type===l.BINARY_EVENT;r||t.type===l.BINARY_ACK?(t.type=r?l.EVENT:l.ACK,this.reconstructor=new d(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!(0,i.isBinary)(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const r={type:Number(e.charAt(0))};if(void 0===l[r.type])throw new Error("unknown packet type "+r.type);if(r.type===l.BINARY_EVENT||r.type===l.BINARY_ACK){const s=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const n=e.substring(s,t);if(n!=Number(n)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(n)}if("/"===e.charAt(t+1)){const s=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(s,t)}else r.nsp="/";const s=e.charAt(t+1);if(""!==s&&Number(s)==s){const s=t+1;for(;++t;){const r=e.charAt(t);if(null==r||Number(r)!=r){--t;break}if(t===e.length)break}r.id=Number(e.substring(s,t+1))}if(e.charAt(++t)){const s=this.tryParse(e.substr(t));if(!p.isPayloadValid(r.type,s))throw new Error("invalid payload");r.data=s}return o("decoded %s as %j",e,r),r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case l.CONNECT:return h(t);case l.DISCONNECT:return void 0===t;case l.CONNECT_ERROR:return"string"==typeof t||h(t);case l.EVENT:case l.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===a.indexOf(t[0]));case l.ACK:case l.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class d{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=(0,n.reconstructPacket)(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}},"../../node_modules/socket.io-parser/build/esm-debug/is-binary.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{hasBinary:()=>l,isBinary:()=>c});const s="function"==typeof ArrayBuffer,n=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,i=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);function c(e){return s&&(e instanceof ArrayBuffer||n(e))||o&&e instanceof Blob||a&&e instanceof File}function l(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)if(l(e[t]))return!0;return!1}if(c(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return l(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&l(e[t]))return!0;return!1}},"./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js":(e,t,r)=>{"use strict";function s(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function n(e){let t={},r=e.split("&");for(let e=0,s=r.length;e<s;e++){let s=r[e].split("=");t[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return t}r.r(t),r.d(t,{decode:()=>n,encode:()=>s})},"./node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{parse:()=>i});const s=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function i(e){const t=e,r=e.indexOf("["),i=e.indexOf("]");-1!=r&&-1!=i&&(e=e.substring(0,r)+e.substring(r,i).replace(/:/g,";")+e.substring(i,e.length));let o=s.exec(e||""),a={},c=14;for(;c--;)a[n[c]]=o[c]||"";return-1!=r&&-1!=i&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){const r=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1),"/"==t.slice(-1)&&r.splice(r.length-1,1),r}(0,a.path),a.queryKey=function(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,s){t&&(r[t]=s)})),r}(0,a.query),a}},"./node_modules/engine.io-client/build/esm-debug/contrib/yeast.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decode:()=>u,encode:()=>l,yeast:()=>h});const s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),n=64,i={};let o,a=0,c=0;function l(e){let t="";do{t=s[e%n]+t,e=Math.floor(e/n)}while(e>0);return t}function u(e){let t=0;for(c=0;c<e.length;c++)t=t*n+i[e.charAt(c)];return t}function h(){const e=l(+new Date);return e!==o?(a=0,o=e):e+"."+l(a++)}for(;c<n;c++)i[s[c]]=c},"./node_modules/engine.io-client/build/esm-debug/globalThis.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{globalThisShim:()=>s});const s=global},"./node_modules/engine.io-client/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>s.Socket,Transport:()=>n.Transport,installTimerFunctions:()=>o.installTimerFunctions,nextTick:()=>c.nextTick,parse:()=>a.parse,protocol:()=>l,transports:()=>i.transports});var s=r("./node_modules/engine.io-client/build/esm-debug/socket.js"),n=r("./node_modules/engine.io-client/build/esm-debug/transport.js"),i=r("./node_modules/engine.io-client/build/esm-debug/transports/index.js"),o=r("./node_modules/engine.io-client/build/esm-debug/util.js"),a=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js"),c=r("./node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js");const l=s.Socket.protocol},"./node_modules/engine.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>h});var s=r("./node_modules/engine.io-client/build/esm-debug/transports/index.js"),n=r("./node_modules/engine.io-client/build/esm-debug/util.js"),i=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),o=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js"),a=r("../../node_modules/debug/src/index.js"),c=r("../../node_modules/@socket.io/component-emitter/index.mjs"),l=r("./node_modules/engine.io-parser/build/esm/index.js");const u=a("engine.io-client:socket");class h extends c.Emitter{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=(0,o.parse)(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=(0,o.parse)(t.host).host),(0,n.installTimerFunctions)(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=(0,i.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){u('creating transport "%s"',e);const t=Object.assign({},this.opts.query);t.EIO=l.protocol,t.transport=e,this.id&&(t.sid=this.id);const r=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return u("options: %j",r),new s.transports[e](r)}open(){let e;if(this.opts.rememberUpgrade&&h.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return u("error while creating transport: %s",e),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){u("setting transport %s",e.name),this.transport&&(u("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){u('probing transport "%s"',e);let t=this.createTransport(e),r=!1;h.priorWebsocketSuccess=!1;const s=()=>{r||(u('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(s=>{if(!r)if("pong"===s.type&&"probe"===s.data){if(u('probe transport "%s" pong',e),this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;h.priorWebsocketSuccess="websocket"===t.name,u('pausing current transport "%s"',this.transport.name),this.transport.pause((()=>{r||"closed"!==this.readyState&&(u("changing transport and sending upgrade packet"),l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{u('probe transport "%s" failed',e);const r=new Error("probe error");r.transport=t.name,this.emitReserved("upgradeError",r)}})))};function n(){r||(r=!0,l(),t.close(),t=null)}const i=r=>{const s=new Error("probe error: "+r);s.transport=t.name,n(),u('probe transport "%s" failed because of error: %s',e,r),this.emitReserved("upgradeError",s)};function o(){i("transport closed")}function a(){i("socket closed")}function c(e){t&&e.name!==t.name&&(u('"%s" works - aborting "%s"',e.name,t.name),n())}const l=()=>{t.removeListener("open",s),t.removeListener("error",i),t.removeListener("close",o),this.off("close",a),this.off("upgrading",c)};t.once("open",s),t.once("error",i),t.once("close",o),this.once("close",a),this.once("upgrading",c),t.open()}onOpen(){if(u("socket open"),this.readyState="open",h.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){u("starting upgrade probes");let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(u('socket receive: type "%s", data "%s"',e.type,e.data),this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}else u('packet received with socket readyState "%s"',this.readyState)}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();u("flushing %d packets in socket",e.length),this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){const r=this.writeBuffer[t].data;if(r&&(e+=(0,n.byteLength)(r)),t>0&&e>this.maxPayload)return u("only send %d out of %d packets",t,this.writeBuffer.length),this.writeBuffer.slice(0,t);e+=2}return u("payload size is %d (max: %d)",e,this.maxPayload),this.writeBuffer}write(e,t,r){return this.sendPacket("message",e,t,r),this}send(e,t,r){return this.sendPacket("message",e,t,r),this}sendPacket(e,t,r,s){if("function"==typeof t&&(s=t,t=void 0),"function"==typeof r&&(s=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;const n={type:e,data:t,options:r};this.emitReserved("packetCreate",n),this.writeBuffer.push(n),s&&this.once("flush",s),this.flush()}close(){const e=()=>{this.onClose("forced close"),u("socket closing - telling transport to close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},r=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?r():e()})):this.upgrading?r():e()),this}onError(e){u("socket error %j",e),h.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(u('socket close with reason: "%s"',e),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let r=0;const s=e.length;for(;r<s;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}h.protocol=l.protocol},"./node_modules/engine.io-client/build/esm-debug/transport.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Transport:()=>c});var s=r("./node_modules/engine.io-parser/build/esm/index.js"),n=r("../../node_modules/@socket.io/component-emitter/index.mjs"),i=r("./node_modules/engine.io-client/build/esm-debug/util.js");const o=r("../../node_modules/debug/src/index.js")("engine.io-client:transport");class a extends Error{constructor(e,t,r){super(e),this.description=t,this.context=r,this.type="TransportError"}}class c extends n.Emitter{constructor(e){super(),this.writable=!1,(0,i.installTimerFunctions)(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,t,r){return super.emitReserved("error",new a(e,t,r)),this}open(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState?this.write(e):o("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=(0,s.decodePacket)(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}}},"./node_modules/engine.io-client/build/esm-debug/transports/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{transports:()=>n});var s=r("./node_modules/engine.io-client/build/esm-debug/transports/polling.js");const n={websocket:r("./node_modules/engine.io-client/build/esm-debug/transports/websocket.js").WS,polling:s.Polling}},"./node_modules/engine.io-client/build/esm-debug/transports/polling.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Polling:()=>m,Request:()=>g});var s=r("./node_modules/engine.io-client/build/esm-debug/transport.js"),n=r("../../node_modules/debug/src/index.js"),i=r("./node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),o=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),a=r("./node_modules/engine.io-parser/build/esm/index.js"),c=r("./node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js"),l=r("../../node_modules/@socket.io/component-emitter/index.mjs"),u=r("./node_modules/engine.io-client/build/esm-debug/util.js"),h=r("./node_modules/engine.io-client/build/esm-debug/globalThis.js");const p=n("engine.io-client:polling");function d(){}const f=null!=new c.XHR({xdomain:!1}).responseType;class m extends s.Transport{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let r=location.port;r||(r=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||r!==e.port,this.xs=e.secure!==t}const t=e&&e.forceBase64;this.supportsBinary=f&&!t}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{p("paused"),this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(p("we are currently polling - waiting to pause"),e++,this.once("pollComplete",(function(){p("pre-pause polling complete"),--e||t()}))),this.writable||(p("we are currently writing - waiting to pause"),e++,this.once("drain",(function(){p("pre-pause writing complete"),--e||t()})))}else t()}poll(){p("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){p("polling got data %s",e),(0,a.decodePayload)(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState?this.poll():p('ignoring poll - transport state "%s"',this.readyState))}doClose(){const e=()=>{p("writing close packet"),this.write([{type:"close"}])};"open"===this.readyState?(p("transport open - closing"),e()):(p("transport not open - deferring close"),this.once("open",e))}write(e){this.writable=!1,(0,a.encodePayload)(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let r="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,i.yeast)()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port);const s=(0,o.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new g(this.uri(),e)}doWrite(e,t){const r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){p("xhr poll");const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}class g extends l.Emitter{constructor(e,t){super(),(0,u.installTimerFunctions)(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){const e=(0,u.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new c.XHR(e);try{p("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&t.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof t.status?t.status:0)}),0))},p("xhr data %s",this.data),t.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=g.requestsCount++,g.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=d,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete g.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(g.requestsCount=0,g.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",y);else if("function"==typeof addEventListener){const e="onpagehide"in h.globalThisShim?"pagehide":"unload";addEventListener(e,y,!1)}function y(){for(let e in g.requests)g.requests.hasOwnProperty(e)&&g.requests[e].abort()}},"./node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{WebSocket:()=>s,defaultBinaryType:()=>i,nextTick:()=>o,usingBrowserWebSocket:()=>n});const s=r("./node_modules/ws/wrapper.mjs").default,n=!1,i="nodebuffer",o=process.nextTick},"./node_modules/engine.io-client/build/esm-debug/transports/websocket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{WS:()=>p});var s=r("./node_modules/engine.io-client/build/esm-debug/transport.js"),n=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),i=r("./node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),o=r("./node_modules/engine.io-client/build/esm-debug/util.js"),a=r("./node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js"),c=r("../../node_modules/debug/src/index.js"),l=r("./node_modules/engine.io-parser/build/esm/index.js");const u=c("engine.io-client:websocket"),h="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class p extends s.Transport{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,r=h?{}:(0,o.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=a.usingBrowserWebSocket&&!h?t?new a.WebSocket(e,t):new a.WebSocket(e):new a.WebSocket(e,t,r)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType||a.defaultBinaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const r=e[t],s=t===e.length-1;(0,l.encodePacket)(r,this.supportsBinary,(e=>{const t={};!a.usingBrowserWebSocket&&(r.options&&(t.compress=r.options.compress),this.opts.perMessageDeflate)&&("string"==typeof e?Buffer.byteLength(e):e.length)<this.opts.perMessageDeflate.threshold&&(t.compress=!1);try{a.usingBrowserWebSocket?this.ws.send(e):this.ws.send(e,t)}catch(e){u("websocket closed before onclose event")}s&&(0,a.nextTick)((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let r="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,i.yeast)()),this.supportsBinary||(e.b64=1);const s=(0,n.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}check(){return!!a.WebSocket}}},"./node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js":(e,t,r)=>{"use strict";var s;r.r(t),r.d(t,{XHR:()=>i});var n=r("../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js");const i=n||s||(s=r.t(n,2))},"./node_modules/engine.io-client/build/esm-debug/util.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{byteLength:()=>l,installTimerFunctions:()=>a,pick:()=>n});var s=r("./node_modules/engine.io-client/build/esm-debug/globalThis.js");function n(e,...t){return t.reduce(((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t)),{})}const i=setTimeout,o=clearTimeout;function a(e,t){t.useNativeTimers?(e.setTimeoutFn=i.bind(s.globalThisShim),e.clearTimeoutFn=o.bind(s.globalThisShim)):(e.setTimeoutFn=setTimeout.bind(s.globalThisShim),e.clearTimeoutFn=clearTimeout.bind(s.globalThisShim))}const c=1.33;function l(e){return"string"==typeof e?function(e){let t=0,r=0;for(let s=0,n=e.length;s<n;s++)t=e.charCodeAt(s),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(s++,r+=4);return r}(e):Math.ceil((e.byteLength||e.size)*c)}},"./node_modules/engine.io-parser/build/esm/commons.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{ERROR_PACKET:()=>i,PACKET_TYPES:()=>s,PACKET_TYPES_REVERSE:()=>n});const s=Object.create(null);s.open="0",s.close="1",s.ping="2",s.pong="3",s.message="4",s.upgrade="5",s.noop="6";const n=Object.create(null);Object.keys(s).forEach((e=>{n[s[e]]=e}));const i={type:"error",data:"parser error"}},"./node_modules/engine.io-parser/build/esm/decodePacket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r("./node_modules/engine.io-parser/build/esm/commons.js");const n=(e,t)=>{const r=Buffer.isBuffer(e);return"arraybuffer"===t&&r?i(e):e},i=e=>{const t=new ArrayBuffer(e.length),r=new Uint8Array(t);for(let t=0;t<e.length;t++)r[t]=e[t];return t},o=(e,t)=>{if("string"!=typeof e)return{type:"message",data:n(e,t)};const r=e.charAt(0);if("b"===r){const r=Buffer.from(e.substring(1),"base64");return{type:"message",data:n(r,t)}}return s.PACKET_TYPES_REVERSE[r]?e.length>1?{type:s.PACKET_TYPES_REVERSE[r],data:e.substring(1)}:{type:s.PACKET_TYPES_REVERSE[r]}:s.ERROR_PACKET}},"./node_modules/engine.io-parser/build/esm/encodePacket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r("./node_modules/engine.io-parser/build/esm/commons.js");const n=({type:e,data:t},r,n)=>{if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)){const e=(e=>Buffer.isBuffer(e)?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength))(t);return n(((e,t)=>t?e:"b"+e.toString("base64"))(e,r))}return n(s.PACKET_TYPES[e]+(t||""))}},"./node_modules/engine.io-parser/build/esm/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decodePacket:()=>n.default,decodePayload:()=>a,encodePacket:()=>s.default,encodePayload:()=>o,protocol:()=>c});var s=r("./node_modules/engine.io-parser/build/esm/encodePacket.js"),n=r("./node_modules/engine.io-parser/build/esm/decodePacket.js");const i=String.fromCharCode(30),o=(e,t)=>{const r=e.length,n=new Array(r);let o=0;e.forEach(((e,a)=>{(0,s.default)(e,!1,(e=>{n[a]=e,++o===r&&t(n.join(i))}))}))},a=(e,t)=>{const r=e.split(i),s=[];for(let e=0;e<r.length;e++){const i=(0,n.default)(r[e],t);if(s.push(i),"error"===i.type)break}return s},c=4},"./node_modules/socket.io-client/build/esm-debug/contrib/backo2.js":(e,t,r)=>{"use strict";function s(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}r.r(t),r.d(t,{Backoff:()=>s}),s.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},s.prototype.reset=function(){this.attempts=0},s.prototype.setMin=function(e){this.ms=e},s.prototype.setMax=function(e){this.max=e},s.prototype.setJitter=function(e){this.jitter=e}},"./node_modules/socket.io-client/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>n.Manager,Socket:()=>i.Socket,connect:()=>u,default:()=>u,io:()=>u,protocol:()=>a.protocol});var s=r("./node_modules/socket.io-client/build/esm-debug/url.js"),n=r("./node_modules/socket.io-client/build/esm-debug/manager.js"),i=r("./node_modules/socket.io-client/build/esm-debug/socket.js"),o=r("../../node_modules/debug/src/index.js"),a=r("../../node_modules/socket.io-parser/build/esm-debug/index.js");const c=o("socket.io-client"),l={};function u(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};const r=(0,s.url)(e,t.path||"/socket.io"),i=r.source,o=r.id,a=r.path,u=l[o]&&a in l[o].nsps;let h;return t.forceNew||t["force new connection"]||!1===t.multiplex||u?(c("ignoring socket cache for %s",i),h=new n.Manager(i,t)):(l[o]||(c("new io instance for %s",i),l[o]=new n.Manager(i,t)),h=l[o]),r.query&&!t.query&&(t.query=r.queryKey),h.socket(r.path,t)}Object.assign(u,{Manager:n.Manager,Socket:i.Socket,io:u,connect:u})},"./node_modules/socket.io-client/build/esm-debug/manager.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>u});var s=r("./node_modules/engine.io-client/build/esm-debug/index.js"),n=r("./node_modules/socket.io-client/build/esm-debug/socket.js"),i=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),o=r("./node_modules/socket.io-client/build/esm-debug/on.js"),a=r("./node_modules/socket.io-client/build/esm-debug/contrib/backo2.js"),c=r("../../node_modules/@socket.io/component-emitter/index.mjs");const l=r("../../node_modules/debug/src/index.js")("socket.io-client:manager");class u extends c.Emitter{constructor(e,t){var r;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,(0,s.installTimerFunctions)(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(r=t.randomizationFactor)&&void 0!==r?r:.5),this.backoff=new a.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const n=t.parser||i;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(l("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;l("opening %s",this.uri),this.engine=new s.Socket(this.uri,this.opts);const t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const n=(0,o.on)(t,"open",(function(){r.onopen(),e&&e()})),i=(0,o.on)(t,"error",(t=>{l("error"),r.cleanup(),r._readyState="closed",this.emitReserved("error",t),e?e(t):r.maybeReconnectOnOpen()}));if(!1!==this._timeout){const e=this._timeout;l("connect attempt will timeout after %d",e),0===e&&n();const r=this.setTimeoutFn((()=>{l("connect attempt timed out after %d",e),n(),t.close(),t.emit("error",new Error("timeout"))}),e);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}return this.subs.push(n),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){l("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push((0,o.on)(e,"ping",this.onping.bind(this)),(0,o.on)(e,"data",this.ondata.bind(this)),(0,o.on)(e,"error",this.onerror.bind(this)),(0,o.on)(e,"close",this.onclose.bind(this)),(0,o.on)(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){(0,s.nextTick)((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){l("error",e),this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r||(r=new n.Socket(this,e,t),this.nsps[e]=r),r}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return void l("socket %s is still active, skipping close",e);this._close()}_packet(e){l("writing packet %j",e);const t=this.encoder.encode(e);for(let r=0;r<t.length;r++)this.engine.write(t[r],e.options)}cleanup(){l("cleanup"),this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){l("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){l("closed due to %s",e),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)l("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();l("will wait %dms before reconnect attempt",t),this._reconnecting=!0;const r=this.setTimeoutFn((()=>{e.skipReconnect||(l("attempting reconnect"),this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(l("reconnect attempt error"),e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):(l("reconnect success"),e.onreconnect())})))}),t);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}},"./node_modules/socket.io-client/build/esm-debug/on.js":(e,t,r)=>{"use strict";function s(e,t,r){return e.on(t,r),function(){e.off(t,r)}}r.r(t),r.d(t,{on:()=>s})},"./node_modules/socket.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>c});var s=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),n=r("./node_modules/socket.io-client/build/esm-debug/on.js"),i=r("../../node_modules/@socket.io/component-emitter/index.mjs");const o=r("../../node_modules/debug/src/index.js")("socket.io-client:socket"),a=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class c extends i.Emitter{constructor(e,t,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[(0,n.on)(e,"open",this.onopen.bind(this)),(0,n.on)(e,"packet",this.onpacket.bind(this)),(0,n.on)(e,"error",this.onerror.bind(this)),(0,n.on)(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(a.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');t.unshift(e);const r={type:s.PacketType.EVENT,data:t,options:{}};if(r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++;o("emitting packet with ack id %d",e);const s=t.pop();this._registerAckCallback(e,s),r.id=e}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return!this.flags.volatile||n&&this.connected?this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r):o("discard packet as the transport is not currently writable"),this.flags={},this}_registerAckCallback(e,t){const r=this.flags.timeout;if(void 0===r)return void(this.acks[e]=t);const s=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&(o("removing packet with ack id %d from the buffer",e),this.sendBuffer.splice(t,1));o("event with ack id %d has timed out after %d ms",e,r),t.call(this,new Error("operation has timed out"))}),r);this.acks[e]=(...e)=>{this.io.clearTimeoutFn(s),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){o("transport is open - connecting"),"function"==typeof this.auth?this.auth((e=>{this.packet({type:s.PacketType.CONNECT,data:e})})):this.packet({type:s.PacketType.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){o("close (%s)",e),this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case s.PacketType.CONNECT:if(e.data&&e.data.sid){const t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case s.PacketType.EVENT:case s.PacketType.BINARY_EVENT:this.onevent(e);break;case s.PacketType.ACK:case s.PacketType.BINARY_ACK:this.onack(e);break;case s.PacketType.DISCONNECT:this.ondisconnect();break;case s.PacketType.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];o("emitting event %j",t),null!=e.id&&(o("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const r of t)r.apply(this,e)}super.emit.apply(this,e)}ack(e){const t=this;let r=!1;return function(...n){r||(r=!0,o("sending ack %j",n),t.packet({type:s.PacketType.ACK,id:e,data:n}))}}onack(e){const t=this.acks[e.id];"function"==typeof t?(o("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):o("bad ack %s",e.id)}onconnect(e){o("socket connected with id %s",e),this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){o("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(o("performing disconnect (%s)",this.nsp),this.packet({type:s.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const r of t)r.apply(this,e.data)}}}},"./node_modules/socket.io-client/build/esm-debug/url.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{url:()=>i});var s=r("./node_modules/engine.io-client/build/esm-debug/index.js");const n=r("../../node_modules/debug/src/index.js")("socket.io-client:url");function i(e,t="",r){let i=e;r=r||"undefined"!=typeof location&&location,null==e&&(e=r.protocol+"//"+r.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?r.protocol+e:r.host+e),/^(https?|wss?):\/\//.test(e)||(n("protocol-less url %s",e),e=void 0!==r?r.protocol+"//"+e:"https://"+e),n("parse %s",e),i=(0,s.parse)(e)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const o=-1!==i.host.indexOf(":")?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+o+":"+i.port+t,i.href=i.protocol+"://"+o+(r&&r.port===i.port?"":":"+i.port),i}},"./node_modules/ws/wrapper.mjs":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Receiver:()=>n,Sender:()=>i,WebSocket:()=>o,WebSocketServer:()=>a,createWebSocketStream:()=>s,default:()=>c});var s=r("./node_modules/ws/lib/stream.js"),n=r("./node_modules/ws/lib/receiver.js"),i=r("./node_modules/ws/lib/sender.js"),o=r("./node_modules/ws/lib/websocket.js"),a=r("./node_modules/ws/lib/websocket-server.js");const c=o},"../../node_modules/binary-extensions/binary-extensions.json":e=>{"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e](r,r.exports,o),r.exports}s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var n=Object.create(null);o.r(n);var i={};t=t||[null,s({}),s([]),s(s)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=s(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,o.d(n,i),n},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";o.r(a),o.d(a,{PgDevConnector:()=>k});var e=o("../../node_modules/@babel/runtime/helpers/typeof.js"),t=o("../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),r=o("../../node_modules/@babel/runtime/helpers/toConsumableArray.js"),s=o("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n=o("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),i=o("../../node_modules/@babel/runtime/helpers/createClass.js"),c=o("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o("../../node_modules/@babel/runtime/helpers/defineProperty.js"),u=o("../../node_modules/@babel/runtime/regenerator/index.js"),h=o("path"),p=o("fs"),d=o("./node_modules/socket.io-client/build/esm-debug/index.js"),f=o("crypto"),m=o("../../node_modules/chokidar/index.js"),g=o("../../src/framework-mgmt/transform-plugins.js"),y=o("../../src/framework-mgmt/pinegrow-config-manager.js"),v=o("./src/design-panel-theme-files.js"),b=o("./src/plugin-watch-policy.js"),x=o("./src/plugin-watched-files.js"),w=o("../tailwindcss-plugin/host/bridge.js"),S=["activeInProject","pluginPathFound","productKeyStatus","invalid"],E=["listenerServer","nuxtInstance"];function _(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f: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.")}var i,o=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var C=function(e,t){if(!e||!t||!h.isAbsolute(e))return e;var r=h.relative(t,e);return!r||r.startsWith("..")||h.isAbsolute(r)?e:r},k=i((function i(o){var a,P=this;c(this,i),l(this,"init",(function(){P.customOptions.projectRoot=P.projectRoot=process.cwd(),P.processPinegrowConfig(),P.processRepoRoot()})),l(this,"processRepoRoot",(function(){try{if(P.customOptions.repoRoot){P.customOptions.repoRoot=(0,g.resolvePathAlias)(P.customOptions.repoRoot,P.aliases);try{if(h.isAbsolute(P.customOptions.repoRoot)?P.repoRoot=P.customOptions.repoRoot:P.repoRoot=h.resolve(P.projectRoot,P.customOptions.repoRoot),P.customOptions.repoRoot&&!P.isExistsAndDirectory(P.repoRoot))return void console.log("Pinegrow: Unable to process repoRoot option - ".concat(P.customOptions.repoRoot,". Directory doesn't exists at ").concat(P.repoRoot,"!"))}catch(e){return console.log(e),void console.log("Pinegrow: Unable to process repoRoot option - ".concat(P.customOptions.repoRoot,". Make sure the repoRoot is either a relative (beginning with ./ or ../) or an absolute path (beginning with a /)!"))}P.customOptions.repoRoot=P.repoRoot}else P.customOptions.repoRoot=P.repoRoot=P.projectRoot;var e=h.resolve(P.customOptions.repoRoot,"node_modules","@pinegrow");if(!P.isExistsAndDirectory(e))return void console.log("Pinegrow: Unable to find node_modules/@pinegrow folder at ".concat(P.customOptions.repoRoot,". If your project is part of a mono-repo, add the repoRoot option to liveDesigner to specify the relative path from your project root to the root of the mono-repo!"));P.customOptions.repoRootRelative=h.relative(P.projectRoot,P.repoRoot)}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing repoRoot!")}})),l(this,"processConfigPath",(function(){try{if(P.customOptions.configPath){P.customOptions.configPath=(0,g.resolvePathAlias)(P.customOptions.configPath,P.aliases);try{if(h.isAbsolute(P.customOptions.configPath)?P.configPath=P.customOptions.configPath:P.configPath=h.resolve(P.projectRoot,P.customOptions.configPath),P.customOptions.configPath&&!P.isExistsPath(P.configPath))return void console.log("Pinegrow: Unable to process configPath option - ".concat(P.customOptions.configPath,". Path doesn't exists at ").concat(P.configPath,"!"))}catch(e){return console.log(e),void console.log("Pinegrow: Unable to process configPath option - ".concat(P.customOptions.configPath,". Make sure the configPath is either a relative (beginning with ./) or an absolute path (beginning with a /)!"))}P.customOptions.configPath=P.configPath,P.customOptions.configRoot=P.configRoot=h.dirname(P.configPath)}else P.customOptions.configPath=P.configPath=P.projectRoot,P.viteDevServer&&(P.customOptions.configPath=P.configPath=P.viteDevServer.config.configFile||P.viteDevServer.config.root||P.projectRoot);P.configPath&&P.isFile(P.configPath)?(P.customOptions.configRoot=P.configRoot=h.dirname(P.configPath),P.customOptions.configFilename=P.configFilename=h.basename(P.configPath)):P.customOptions.configRoot=P.configRoot=P.configPath}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing configPath!")}})),l(this,"processPinegrowConfig",(function(){var e;P.pinegrowConfigWatcher&&(P.pinegrowConfigWatcher.close(),P.pinegrowConfigWatcher=null);var t=(0,y.getPinegrowConfig)(P.projectRoot,P.restart);null!=t&&null!==(e=t.pinegrowConfig)&&void 0!==e&&e.liveDesigner&&(P.customOptions=A(A({},P.customOptions),t.pinegrowConfig.liveDesigner)),null!=t&&t.pinegrowConfigWatcher&&(P.pinegrowConfigWatcher=t.pinegrowConfigWatcher)})),l(this,"processPlugins",(function(){P.customOptions.plugins&&!Array.isArray(P.customOptions.plugins)&&(console.log("Pinegrow: plugins option was ignored. Make sure it's an array!"),P.customOptions.plugins=[]);try{P.plugins=(0,g.transformPluginsArray)(P.customOptions,P.repoRoot,P.projectRoot,!0,P.aliases)}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),l(this,"processFilesNotToWatchByDevServer",(function(){var e=(0,b.collectPluginDevServerWatchPolicy)(P.plugins);e.pluginFilesNotToBeWatchedByDevServer.forEach((function(e){return P.pluginFilesNotToBeWatchedByDevServer.add(e)})),e.fileNamesThatRestartDevServer.forEach((function(e){return P.fileNamesThatRestartDevServer.add(e)}))})),l(this,"ensureDesignPanelThemeFiles",(function(){Object.values(P.plugins).forEach((function(e){try{var t;if(!1===e.activeInProject||null===(t=e.designPanelThemeFiles)||void 0===t||!t.length)return;var r=(0,v.ensureDesignPanelThemeFiles)(e);if(r.created.length){var s=r.created.map((function(e){return C(e,P.projectRoot)}));console.log("Pinegrow: Created Design Panel theme files for ".concat(e.name,": ").concat(s.join(", "),"\n"))}r.errors.length&&(console.log("Pinegrow: Unable to create one or more Design Panel theme files for ".concat(e.name,".\n")),r.errors.forEach((function(e){var t=e.filePath,r=e.error;console.log(C(t,P.projectRoot)),console.log(r)})))}catch(t){console.log(t),console.log("Pinegrow: Unable to prepare Design Panel theme files for plugin: ".concat(e.name,"\n"))}}))})),l(this,"validatePluginProductKeys",(function(){try{P.pluginsWithProductKeys={},Object.entries(P.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return r.productKey||r.dependency.startsWith("@pinegrow")&&(r.dependency.endsWith("-plugin")&&"@pinegrow/vite-plugin"!==r.dependency||"@pinegrow/quasar-module"===r.dependency)})).forEach((function(e){var t=n(e,2),r=t[0],s=t[1];return P.pluginsWithProductKeys[r]={dependency:s.dependency,productKey:s.productKey}})),Object.entries(P.pluginsWithProductKeys).length?P.emitToPinegrow("checkPluginProductsAreActive",P.pluginsWithProductKeys):P.reset()}catch(e){console.log(e),console.log("Pinegrow: An error occured when validating plugins!")}})),l(this,"validatePostPluginProductKeysStatusCheck",(function(){Object.entries(P.pluginsWithProductKeysStatus).forEach((function(e){var t=n(e,2),r=t[0],s=t[1],i=s.productKeyStatus,o=(s.productUrl,s.activeInProject);P.plugins[r]&&(P.plugins[r].productKeyStatus=i,P.plugins[r].activeInProject=o)})),P.reset()})),l(this,"reset",s(u.mark((function e(){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P.watchedPluginFiles=[],P.pluginFileWatcher&&(P.pluginFileWatcher.close(),P.pluginFileWatcher=null),P.watchPluginFiles(),e.next=5,P.refresh();case 5:case"end":return e.stop()}}),e)})))),l(this,"refresh",s(u.mark((function e(){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P.getPluginData();case 2:P.sendDevServerData("config");case 3:case"end":return e.stop()}}),e)})))),l(this,"restart",(function(e){return(a=a||s(u.mark((function e(t){var r,s,n,i,o,a,c,l,d,m;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=43;break}if(e.prev=1,r=h.basename(t),!P.fileNamesThatRestartDevServer.has(t)&&!P.fileNamesThatRestartDevServer.has(r)){e.next=39;break}if(s=P.fileNamesThatRestartDevServerLastAttemptedTimeStamp[t||r],n=(new Date).getTime(),i=5e3,P.fileNamesThatRestartDevServerLastAttemptedTimeStamp[t||r]=n,!P.blockDPTriggeredRestarts){e.next=11;break}return setTimeout((function(){P.blockDPTriggeredRestarts=!1}),3e3),e.abrupt("return");case 11:if(s&&!(n-s<i)){e.next=13;break}return e.abrupt("return");case 13:if(o=!1,!t){e.next=29;break}if(!(c=p.readFileSync(t,{encoding:"utf8",flag:"r"})).trim()){e.next=20;break}a=f.createHash("md5").update(c).digest("base64"),e.next=21;break;case 20:return e.abrupt("return");case 21:if(P.fileNamesThatRestartDevServerLastFileHash[t]!==(l=a)){e.next=27;break}return e.abrupt("return");case 27:P.fileNamesThatRestartDevServerLastFileHash[t]=l,o=!0;case 29:if(d=P.lastRestartActionTimeStamp,m=(new Date).getTime(),P.lastRestartActionTimeStamp=m,!o||d&&!(m-d>3e4)){e.next=38;break}P.emitToPinegrow("restartAction",{lastRestartActionTimeStamp:P.lastRestartActionTimeStamp,fileNamesThatRestartDevServerLastFileHash:P.fileNamesThatRestartDevServerLastFileHash}),P.restartDevServer(),e.next=39;break;case 38:return e.abrupt("return");case 39:e.next=43;break;case 41:e.prev=41,e.t0=e.catch(1);case 43:case"end":return e.stop()}}),e,null,[[1,41]])})))).apply(this,arguments)})),l(this,"restartDevServer",(function(){P.customOptions.nuxtInstance?P.customOptions.nuxtInstance.callHook("restart"):P.viteDevServer.restart(!0)})),l(this,"getPluginData",s(u.mark((function e(){var t,r,s,i,o,a,c,l;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=Object.entries(P.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return(0,x.isActivePluginForFileWatch)(r)})),s=_(r),e.prev=3,s.s();case 5:if((i=s.n()).done){e.next=23;break}if(o=n(i.value,2),a=o[0],c=o[1],e.prev=7,!(0,w.shouldFetchPluginDataViaDevConnector)(c)||!c.init||"function"!=typeof c.init){e.next=14;break}return e.next=11,c.init(c.options);case 11:l=e.sent,t.push(l),l&&(P.plugins[a].data=l);case 14:e.next=21;break;case 16:return e.prev=16,e.t0=e.catch(7),console.log(e.t0),console.log("Pinegrow: Unable to process plugin: ".concat(P.plugins[a].name)),e.abrupt("return");case 21:e.next=5;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(3),s.e(e.t1);case 28:return e.prev=28,s.f(),e.finish(28);case 31:return e.abrupt("return",t);case 32:case"end":return e.stop()}}),e,null,[[3,25,28,31],[7,16]])})))),l(this,"watchPluginFiles",s(u.mark((function e(){var t,s,i,o,a,c,l;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Object.entries(P.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return(0,x.isActivePluginForFileWatch)(r)})),s=_(t);try{for(s.s();!(i=s.n()).done;)if(o=n(i.value,2),a=o[0],(c=o[1]).options)try{P.plugins[a].watchedFiles=(0,x.getPluginWatchedFiles)(c,P.isExistsAndFile),(l=P.watchedPluginFiles).push.apply(l,r(P.plugins[a].watchedFiles))}catch(e){console.log(e),console.log("Pinegrow: Unable to watch files for plugin: ".concat(P.plugins[a].name))}}catch(e){s.e(e)}finally{s.f()}P.watchedPluginFiles=r(new Set(P.watchedPluginFiles)),P.watchedPluginFiles.forEach((function(e){var t;if(e){var r=p.readFileSync(e,{encoding:"utf8",flag:"r"});if(!r.trim())return;t=f.createHash("md5").update(r).digest("base64"),P.fileNamesThatRestartDevServerLastFileHash[e]=t}})),P.pluginFileWatcher||(P.pluginFileWatcher=m.watch(P.watchedPluginFiles,{ignored:function(e){return!P.watchedPluginFiles.includes(e)},ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}}),P.pluginFileWatcher.on("unlink",(function(e){return P.pluginFileWatcher.unwatch(e)})).on("add",(function(e){return P.reset()})).on("change",(function(e){return P.restart(e)})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server!")})));case 6:case"end":return e.stop()}}),e)})))),l(this,"initHandShakeWithPinegrow",(function(){P.processPlugins(),P.ensureDesignPanelThemeFiles(),P.processFilesNotToWatchByDevServer();try{P.watcher&&(P.watcher.close(),P.watcher=null),P.connectorJson_folderPath=h.resolve(P.projectRoot,"_pginfo"),P.isExistsAndDirectory(P.connectorJson_folderPath)||p.mkdirSync(P.connectorJson_folderPath,{recursive:!0}),P.connectorJson_filePath=h.resolve(P.connectorJson_folderPath,"live-designer.json"),P.watcher=m.watch([P.connectorJson_filePath,P.connectorJson_folderPath],{awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}}),P.watcher.on("unlinkDir",(function(e){e.endsWith("live-designer.json")&&P.disconnectWithPinegrow()})).on("unlink",(function(e){e.endsWith("live-designer.json")&&P.disconnectWithPinegrow()})).on("add",(function(e){e.endsWith("live-designer.json")&&P.fetchPinegrowUrlAndConnect()})).on("change",(function(e){e.endsWith("live-designer.json")&&P.fetchPinegrowUrlAndConnect()})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server!")}))}catch(e){console.log(e),console.log("\nPinegrow: Unable to connect!")}})),l(this,"fetchPinegrowUrlAndConnect",(function(){try{var e={};if(p.existsSync(P.connectorJson_filePath)){var t=p.readFileSync(P.connectorJson_filePath,{encoding:"utf8",flag:"r"});if(!t.trim())return;e={},e=JSON.parse(t)}if(e.pinegrow_url){P.pinegrow_url=e.pinegrow_url;try{P.socket&&P.socket.connected?(P.validatePluginProductKeys(),P._socketOnConnect&&P._socketOnConnect()):P.connectionManager()}catch(e){}}else P.disconnectWithPinegrow()}catch(e){}})),l(this,"disconnectWithPinegrow",(function(){P.pinegrow_url=null,P.unsubscribeSocketEventHandlers(),P.removeSocket(),P._disconnectWithPinegrow&&P._disconnectWithPinegrow()})),l(this,"isSocketResetError",(function(e){return!(!e||"ECONNRESET"!==e.code||"read"!==e.syscall)})),l(this,"recordSocketError",(function(e){if(P.isSocketResetError(e))return P.pinegrowSocketErrors.push({code:e.code,syscall:e.syscall,timestamp:(new Date).getTime()}),void(P.pinegrowSocketErrors.length>10&&P.pinegrowSocketErrors.shift());e&&console.log(e)})),l(this,"emitToPinegrow",(function(e,t){return!(!P.socket||!P.socket.connected||(P.socket.emit(e,t),0))})),l(this,"unsubscribeSocketEventHandlers",(function(){P.socket&&(P.socket.removeListener("error"),P.socket.removeListener("connect_error"),P.socket.removeListener("disconnect"),P.socket.removeListener("reconnect_attempt"),P.socket.removeListener("reconnect_error"),P.socket.removeListener("reconnect_failed"),P.socket.removeListener("fetchDevServerData"))})),l(this,"removeSocket",(function(){P.socket&&(P.socket.removeAllListeners(),P.socket.io&&(P.socket.io.removeAllListeners(),P.socket.io.engine&&P.socket.io.engine.removeAllListeners()),P.socket.disconnect(),P.socket=null)})),l(this,"connectionManager",(function(){var e=P.pinegrow_url;P.socket=(0,d.default)(e,{autoConnect:!0,transports:P.customOptions.socketTransports||["websocket"],upgrade:!0===P.customOptions.socketUpgrade,reconnectionDelay:500,reconnectionDelayMax:5e3,randomizationFactor:.5}),P.socket.on("connect",(function(e){P.socket.io&&P.socket.io.engine&&(P.socket.io.engine.removeListener("error",P.recordSocketError),P.socket.io.engine.on("error",P.recordSocketError)),P.projectMetaData=e,P.dev_server||console.log("\nPinegrow: Connected!"),P.dev_server&&P.dev_server_url&&(console.log("\nPinegrow: Connected to ".concat(P.pinegrow_url)),setTimeout((function(){P.blockDPTriggeredRestarts=!1}),5e3)),P.validatePluginProductKeys(),P._socketOnConnect&&P._socketOnConnect()})),P.socket.on("onConnected",(function(e){P.projectMetaData||(P.projectMetaData=e)})),P.socket.on("pluginProductsActiveStatus",(function(e){P.pluginsWithProductKeysStatus=e,P.validatePostPluginProductKeysStatusCheck()})),P.socket.io.on("error",P.recordSocketError),P.socket.on("error",(function(e){P.recordSocketError(e),P.blockDPTriggeredRestarts=!0})),P.socket.on("connect_error",(function(e){P.recordSocketError(e),P.blockDPTriggeredRestarts=!0})),P.socket.on("disconnect",(function(e,t){console.log("Pinegrow: Disconnected!"),P.blockDPTriggeredRestarts=!0,P._socketOnDisconnect&&P._socketOnDisconnect()})),P.socket.on("reconnect_attempt",(function(e){P.blockDPTriggeredRestarts=!0})),P.socket.on("reconnect_error",(function(){P.blockDPTriggeredRestarts=!0})),P.socket.on("reconnect_failed",(function(){P.unsubscribeSocketEventHandlers(),P.removeSocket(),P.blockDPTriggeredRestarts=!0})),P.socket.on("fetchDevServerData",(function(){P.sendDevServerData("connection")})),P._connectionManager&&P._connectionManager()})),l(this,"sendDevServerData",(function(e){var r=Object.values(P.plugins).map((function(e){return e.activeInProject,e.pluginPathFound,e.productKeyStatus,e.invalid,t(e,S)})),s=P.customOptions,n=(s.listenerServer,s.nuxtInstance,t(s,E));P.emitToPinegrow("devServerData",{reason:e,dev_server:P.dev_server,dev_server_url:P.dev_server_url,network_dev_server_url:P.network_dev_server_url,ws_server_url:P.ws_server_url,all_urls:P.all_urls,aliases:P.aliases,customOptions:A(A({},n),{},{plugins:r})})})),l(this,"sendDevServerUrl",(function(){P.dev_server_url&&P.socket&&P.socket.connected&&(console.log("\nPinegrow: Connected with dev-server at ".concat(P.dev_server_url)),P.sendDevServerData("config"))})),l(this,"isFile",(function(e){return!!p.statSync(e).isFile()})),l(this,"isExistsPath",(function(e){return!!p.existsSync(e)})),l(this,"isExistsAndFile",(function(e){return!(!p.existsSync(e)||!p.statSync(e).isFile())})),l(this,"isExistsAndDirectory",(function(e){return!(!p.existsSync(e)||!p.statSync(e).isDirectory())})),l(this,"parseQueryString",(function(e){var t=e.split("?",2),r=n(t,2),s=r[0],i=r[1],o=Object.fromEntries(new URLSearchParams(i));return null!=o.vue&&(o.vue=!0),null!=o.index&&(o.index=Number(o.index)),null!=o.raw&&(o.raw=!0),null!=o.scoped&&(o.scoped=!0),{filename:s,query:o}})),this.dev_server=!1,this.aliases=[],this.plugins={},this.globsNotToWatchByDevServer=new Set(["**/_pg*/**","**/pinegrow.json","**/pinegrow.config.js","**/pinegrow.config.cjs","**/pinegrow.config.mjs","**/pinegrow.config.ts","**/pinegrow.config.cts","**/pinegrow.config.mts","**/themes/**"].concat(r(w.TAILWIND_CONFIG_WATCH_IGNORE_GLOBS),["**/vuetify.config.js","**/vuetify.config.cjs","**/vuetify.config.mjs","**/vuetify.config.ts","**/vuetify.config.cts","**/vuetify.config.mts","**/unocss.config.js","**/unocss.config.cjs","**/unocss.config.mjs","**/unocss.config.ts","**/unocss.config.cts","**/unocss.config.mts"])),this.pluginFilesNotToBeWatchedByDevServer=new Set,this.fileNamesThatRestartDevServer=new Set(["pinegrow.config.js","pinegrow.config.cjs","**/pinegrow.config.mjs","pinegrow.config.ts"]),this.fileNamesThatRestartDevServerLastFileHash={},this.fileNamesThatRestartDevServerLastAttemptedTimeStamp={},this.lastRestartActionTimeStamp=null,this.blockDPTriggeredRestarts=!0,this.pinegrowSocketErrors=[],o&&"object"!==e(o)&&console.log("Pinegrow: liveDesigner options ignored. Make sure it's of type object!"),this.customOptions=o||{},this.customOptions.plugins||(this.customOptions.plugins=[]),this.customOptions.mappingType||(this.customOptions.mappingType="type1"),Object.filter=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))}}))})(),e.exports=a})()}},t={};function r(s){var n=t[s];if(void 0!==n)return n.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";r.r(s),r.d(s,{default:()=>Zx,liveDesigner:()=>Gx,moveLiveDesignerPluginBeforeAstroBuild:()=>Yx,pinegrowAstro:()=>Qx});var e=r(461),t=r(290),n=r(841),i=r(681),o=r(870),a=r(100),c=r(297),l=r(230),u=r(421),h=r(660),p=r(228),d=r(17),f=r(408);const m=",".charCodeAt(0),g=";".charCodeAt(0),y=new Uint8Array(64),v=new Uint8Array(128);for(let e=0;e<64;e++){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e);y[e]=t,v[t]=e}const b="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};function x(e,t,r,s,n){const i=s[n];let o=i-r[n];r[n]=i,o=o<0?-o<<1|1:o<<1;do{let r=31&o;o>>>=5,o>0&&(r|=32),e[t++]=y[r]}while(o>0);return t}class w{constructor(e){this.bits=e instanceof w?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class S{constructor(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,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new S(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}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(e){const t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;const n=new S(e,this.end,s);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=r,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const 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)}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const 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)}}function E(){return"undefined"!=typeof window&&"function"==typeof window.btoa?e=>window.btoa(unescape(encodeURIComponent(e))):"function"==typeof Buffer?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const _=E();class P{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){const t=new Int32Array(5),r=16348,s=new Uint8Array(16384),n=s.subarray(0,r);let i=0,o="";for(let a=0;a<e.length;a++){const c=e[a];if(a>0&&(16384===i&&(o+=b.decode(s),i=0),s[i++]=g),0!==c.length){t[0]=0;for(let e=0;e<c.length;e++){const a=c[e];i>r&&(o+=b.decode(n),s.copyWithin(0,r,i),i-=r),e>0&&(s[i++]=m),i=x(s,i,t,a,0),1!==a.length&&(i=x(s,i,t,a,1),i=x(s,i,t,a,2),i=x(s,i,t,a,3),4!==a.length&&(i=x(s,i,t,a,4)))}}}return o+b.decode(s.subarray(0,i))}(e.mappings)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+_(this.toString())}}function T(e,t){const r=e.split(/[/\\]/),s=t.split(/[/\\]/);for(r.pop();r[0]===s[0];)r.shift(),s.shift();if(r.length){let e=r.length;for(;e--;)r[e]=".."}return r.concat(s).join("/")}const A=Object.prototype.toString;function C(e){const t=e.split("\n"),r=[];for(let e=0,s=0;e<t.length;e++)r.push(s),s+=t[e].length+1;return function(e){let t=0,s=r.length;for(;t<s;){const n=t+s>>1;e<r[n]?s=n:t=n+1}const n=t-1;return{line:n,column:e-r[n]}}}class k{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,r,s){if(t.length){const t=[this.generatedCodeColumn,e,r.line,r.column];s>=0&&t.push(s),this.rawSegments.push(t)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null}addUneditedChunk(e,t,r,s,n){let i=t.start,o=!0;for(;i<t.end;)(this.hires||o||n.has(i))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),"\n"===r[i]?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0):(s.column+=1,this.generatedCodeColumn+=1,o=!1),i+=1;this.pending=null}advance(e){if(!e)return;const t=e.split("\n");if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}}const O="\n",N={insertLeft:!1,insertRight:!1,storeName:!1};class I{constructor(e,t={}){const r=new S(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 w},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0}}),this.byStart[0]=r,this.byEnd[e.length]=r}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this}appendRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this}clone(){const e=new I(this.original,{filename:this.filename});let t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;const s=t.next,n=s&&s.clone();n&&(r.next=n,n.previous=r,r=n),t=s}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new w(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),r=new k(e.hires),s=C(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext((e=>{const n=s(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,n,e.storeName?t.indexOf(e.original):-1):r.addUneditedChunk(0,e,this.original,n,this.sourcemapLocations),e.outro.length&&r.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?T(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:t,mappings:r.raw}}generateMap(e){return new P(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),r=t.filter((e=>/^\t+/.test(e))),s=t.filter((e=>/^ {2,}/.test(e)));if(0===r.length&&0===s.length)return null;if(r.length>=s.length)return"\t";const n=s.reduce(((e,t)=>{const r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(n+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const r=/^[^\r\n]/gm;if(s=e,"[object Object]"===A.call(s)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;var s;const n={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((e=>{for(let t=e[0];t<e[1];t+=1)n[t]=!0}));let i=!1!==t.indentStart;const o=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(r,o);let a=0,c=this.firstChunk;for(;c;){const t=c.end;if(c.edited)n[a]||(c.content=c.content.replace(r,o),c.content.length&&(i="\n"===c.content[c.content.length-1]));else for(a=c.start;a<t;){if(!n[a]){const t=this.original[a];"\n"===t?i=!0:"\r"!==t&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(e))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(r,o),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return N.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),N.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return N.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),N.insertRight=!0),this.prependRight(e,t)}move(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);const s=this.byStart[e],n=this.byEnd[t],i=s.previous,o=n.next,a=this.byStart[r];if(!a&&n===this.lastChunk)return this;const c=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),c&&(c.next=s),a&&(a.previous=n),s.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=c,n.next=a||null,c||(this.firstChunk=s),a||(this.lastChunk=n),this}overwrite(e,t,r,s){return s=s||{},this.update(e,t,r,{...s,overwrite:!s.contentOnly})}update(e,t,r,s){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===s&&(N.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),N.storeName=!0),s={storeName:!0});const n=void 0!==s&&s.storeName,i=void 0!==s&&s.overwrite;if(n){const r=this.original.slice(e,t);Object.defineProperty(this.storedNames,r,{writable:!0,value:!0,enumerable:!0})}const o=this.byStart[e],a=this.byEnd[t];if(o){let e=o;for(;e!==a;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}o.edit(r,n,!i)}else{const s=new S(e,t,"").edit(r,n);a.next=s,s.previous=a}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this}remove(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);let r=this.byStart[e];for(;r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let 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]:""}lastLine(){let e=this.outro.lastIndexOf(O);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(O),-1!==e)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(O),-1!==e)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(O),-1!==e)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(O),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;let r="",s=this.firstChunk;for(;s&&(s.start>e||s.end<=e);){if(s.start<t&&s.end>=t)return r;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const n=s;for(;s;){!s.intro||n===s&&s.start!==e||(r+=s.intro);const i=s.start<t&&s.end>=t;if(i&&s.edited&&s.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const o=n===s?e-s.start:0,a=i?s.content.length+t-s.end:s.content.length;if(r+=s.content.slice(o,a),!s.outro||i&&s.end!==t||(r+=s.outro),i)break;s=s.next}return r}snip(e,t){const r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}}_splitChunk(e,t){if(e.edited&&e.content.length){const r=C(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${r.line}:${r.column} – "${e.original}")`)}const r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let 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}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.lastChunk;do{const e=r.end,s=r.trimEnd(t);if(r.end!==e&&(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),s)return!0;r=r.previous}while(r);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.firstChunk;do{const e=r.end,s=r.trimStart(t);if(r.end!==e&&(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),s)return!0;r=r.next}while(r);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function r(e,r){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,((t,r)=>"$"===r?"$":"&"===r?e[0]:+r<e.length?e[+r]:`$${r}`)):t(...e,e.index,r,e.groups)}if(e.global){(function(e,t){let r;const s=[];for(;r=e.exec(t);)s.push(r);return s})(e,this.original).forEach((e=>{null!=e.index&&this.overwrite(e.index,e.index+e[0].length,r(e,this.original))}))}else{const t=this.original.match(e);t&&null!=t.index&&this.overwrite(t.index,t.index+t[0].length,r(t,this.original))}return this}_replaceString(e,t){const{original:r}=this,s=r.indexOf(e);return-1!==s&&this.overwrite(s,s+e.length,t),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:r}=this,s=e.length;for(let n=r.indexOf(e);-1!==n;n=r.indexOf(e,n+s))this.overwrite(n,n+s,t);return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}}function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}Object.prototype.hasOwnProperty;var L=function(e){return Number.isInteger(e)};function D(e,r){var s,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).markerAttribute||(null==r||null===(s=r.marker)||void 0===s?void 0:s.attribute)||"data-pg-source-id",i=[],o=[],a=[];if("ready"!==(null==r?void 0:r.status))return{code:e,map:null,diagnostics:[{level:"warning",message:"Astro source manifest is unavailable; source-DOM markers were not injected."}],injected:o,skipped:a};var c=new I(e);(r.nodes||[]).forEach((function(r){var s=function(e){var t,r,s,n=e.markerAttribute,i=e.node,o=e.source,a=e.str;return"attribute"===(null===(t=i.marker)||void 0===t?void 0:t.strategy)&&null!==(r=i.marker)&&void 0!==r&&r.inject?function(e){var t=e.markerAttribute,r=e.node,s=e.source,n=e.str,i=function(e,t){if(!L(t.sourceStart)||!t.name||"<"!==e[t.sourceStart])return null;var r=t.sourceStart+1,s=r+t.name.length;return e.slice(r,s)===t.name?s:null}(s,r);return L(i)?function(e,t,r){if(!L(t.sourceStart))return!1;var s=e.indexOf(">",t.sourceStart);return!(s<0||L(t.sourceEnd)&&s>t.sourceEnd)&&e.slice(t.sourceStart,s).includes("".concat(r,"="))}(s,r,t)?{status:"skipped",reason:"existing-marker-attribute"}:(n.appendLeft(i," ".concat(t,'="').concat(r.id,'"')),{status:"injected",strategy:"attribute"}):{status:"skipped",reason:"missing-opening-tag"}}({markerAttribute:n,node:i,source:o,str:a}):"boundary-comment"===(null===(s=i.marker)||void 0===s?void 0:s.strategy)?{status:"skipped",reason:"boundary-comment-injection-disabled"}:{status:"skipped",reason:"unsupported-marker-strategy"}}({markerAttribute:n,node:r,source:e,str:c}),i=function(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?R(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):R(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}({id:r.id,name:r.name,type:r.type},s);"injected"===s.status?o.push(i):a.push(i)}));var l=c.generateMap();return l.file=r.sourceFile,o.length||i.push({level:"warning",message:"Astro source manifest did not produce any source-DOM marker injections."}),{code:c.toString(),map:l,diagnostics:i,injected:o,skipped:a}}var M="__pinegrowAstroRefreshSourceManifest";function j(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[];if(!1===r.runtimeTransport)return{code:e,map:null,diagnostics:s,injected:!1,skippedReason:"runtime-transport-disabled"};if("ready"!==(null==t?void 0:t.status))return{code:e,map:null,diagnostics:[{level:"warning",message:"Astro source manifest is unavailable; runtime source-DOM transport was not injected."}],injected:!1,skippedReason:"manifest-unavailable"};if(function(e,t){return e.includes(M)&&e.includes(JSON.stringify((null==t?void 0:t.sourceFile)||""))}(e,t))return{code:e,map:null,diagnostics:s,injected:!1,skippedReason:"existing-runtime-script"};var n=new I(e);n.append("\n".concat(function(e){var t,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).runtimeImport||"@pinegrow/vite-plugin/astro/runtime",s=(t=e,JSON.stringify(t).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"));return"<script>\nimport { refreshAstroElCache } from ".concat(JSON.stringify(r),"\n\nconst ").concat(M," = ").concat(s,"\n\nconst refreshPinegrowAstroSourceDom = () => {\n try {\n refreshAstroElCache(").concat(M,")\n } catch (error) {\n console.warn('[pinegrow] Astro source-DOM refresh failed', error)\n }\n}\n\nconst queuePinegrowAstroRefresh = () => {\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', refreshPinegrowAstroSourceDom, { once: true })\n } else {\n Promise.resolve().then(refreshPinegrowAstroSourceDom)\n }\n}\n\nqueuePinegrowAstroRefresh()\ndocument.addEventListener('astro:page-load', refreshPinegrowAstroSourceDom)\n\nif (import.meta.hot) {\n import.meta.hot.accept(() => refreshPinegrowAstroSourceDom())\n import.meta.hot.on('vite:afterUpdate', refreshPinegrowAstroSourceDom)\n import.meta.hot.dispose(() => {\n document.removeEventListener('astro:page-load', refreshPinegrowAstroSourceDom)\n })\n}\n<\/script>")}(t,r),"\n"));var i=n.generateMap();return i.file=t.sourceFile,{code:n.toString(),map:i,diagnostics:s,injected:!0,skippedReason:null}}var F,B=(0,r(188).createRequire)("file:///Users/techakayy/Templates/_codex_worktrees/PinegrowCode-vite-plugin-source-dom/frameworks/vue-svelte-designer/packages/vite-plugin/src/adapters/astro/compiler.js"),U="@astrojs/compiler/sync",$=function(e){return(null==e?void 0:e.message)||String(e)},q=function(e){return null!=e&&e.level?e.level:1===(null==e?void 0:e.severity)?"error":"warning"},H=function(e){return{level:q(e),message:(null==e?void 0:e.message)||(null==e?void 0:e.text)||String(e),source:"@astrojs/compiler"}},W=r(425);function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function z(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?V(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):V(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var G=function(e){var t;return null==e||null===(t=e.position)||void 0===t||null===(t=t.start)||void 0===t?void 0:t.offset},K=function(e){return/\s/.test(e)},Y=function(e,t){for(var r=t;r<e.length&&K(e[r]);)r++;return r},J=function(e){var t=e.attribute,r=e.complete,s=e.diagnostics,n=void 0===s?[]:s,i=e.keyEnd,o=e.keyStart,a=e.source,c=e.sourceEnd,l=e.sourceStart,u=e.valueContentEnd,h=void 0===u?null:u,p=e.valueContentStart,d=void 0===p?null:p,f=e.valueEnd,m=void 0===f?null:f,g=e.valueStart,y=void 0===g?null:g;return{type:"attribute",kind:null==t?void 0:t.kind,name:null==t?void 0:t.name,sourceStart:l,sourceEnd:c,keyStart:o,keyEnd:i,valueStart:y,valueEnd:m,valueContentStart:d,valueContentEnd:h,raw:a.slice(l,c),complete:r,diagnostics:n}},X=function(e,t,r){var s=G(t),n=Number.isInteger(s)?s+((null==t?void 0:t.name)||"").length:null,i=Number.isInteger(s)?s:0,o=Number.isInteger(n)?n:i;return J({attribute:t,complete:!1,diagnostics:[{level:"warning",message:r}],keyEnd:n,keyStart:s,source:e,sourceEnd:o,sourceStart:i})},Q=function(e,t){var r=Y(e,t);return"="===e[r]?r:-1};function Z(e,t){if("{"!==e[t])return-1;for(var r=t+1,s=1;r<e.length;){var n=e[r],i=e[r+1];if('"'!==n&&"'"!==n)if("`"!==n)if("/"!==n||"/"!==i)if("/"!==n||"*"!==i){if("{"===n&&s++,"}"===n&&0==--s)return r;r++}else{var o=e.indexOf("*/",r+2);if(o<0)return-1;r=o+2}else{var a=e.indexOf("\n",r+2);r=a<0?e.length:a+1}else{var c=te(e,r);if(c<0)return-1;r=c+1}else{var l=ee(e,r,n);if(l<0)return-1;r=l+1}}return-1}function ee(e,t,r){for(var s=t+1;s<e.length;){var n=e[s];if("\\"!==n){if(n===r)return s;s++}else s+=2}return-1}function te(e,t){for(var r=t+1;r<e.length;){var s=e[r],n=e[r+1];if("\\"!==s)if("$"!==s||"{"!==n){if("`"===s)return r;r++}else{var i=Z(e,r+1);if(i<0)return-1;r=i+1}else r+=2}return-1}var re=function(e,t,r){var s=function(e,t){var r=e.lastIndexOf("{",t);if(r<0)return-1;var s=e.lastIndexOf("}",t),n=e.lastIndexOf("<",t);return s>r||n>r?-1:r}(e,r);if(s<0)return X(e,t,"Unable to find opening brace for ".concat(t.kind," Astro attribute."));var n=Z(e,s);return n<0?X(e,t,"Unable to find closing brace for ".concat(t.kind," Astro attribute.")):J({attribute:t,complete:!0,keyEnd:r+t.name.length,keyStart:r,source:e,sourceEnd:n+1,sourceStart:s,valueContentEnd:n,valueContentStart:r,valueEnd:n,valueStart:r})},se=function(e,t,r,s){var n=Q(e,s);if(n<0)return X(e,t,'Unable to find equals sign for Astro expression attribute "'.concat(t.name,'".'));var i=Y(e,n+1);if("{"!==e[i])return X(e,t,'Unable to find expression braces for Astro attribute "'.concat(t.name,'".'));var o=Z(e,i);return o<0?X(e,t,'Unable to find expression end for Astro attribute "'.concat(t.name,'".')):J({attribute:t,complete:!0,keyEnd:s,keyStart:r,source:e,sourceEnd:o+1,sourceStart:r,valueContentEnd:o,valueContentStart:i+1,valueEnd:o+1,valueStart:i})},ne=function(e,t,r,s){var n=Q(e,s);if(n<0)return X(e,t,'Unable to find equals sign for Astro attribute "'.concat(t.name,'".'));var i=Y(e,n+1),o=e[i];if('"'===o||"'"===o){var a=ee(e,i,o);return a<0?X(e,t,'Unable to find quoted value end for Astro attribute "'.concat(t.name,'".')):J({attribute:t,complete:!0,keyEnd:s,keyStart:r,source:e,sourceEnd:a+1,sourceStart:r,valueContentEnd:a,valueContentStart:i+1,valueEnd:a+1,valueStart:i})}var c=function(e,t){for(var r=t;r<e.length;){var s=e[r];if(K(s)||">"===s)return r;if("/"===s&&">"===e[r+1])return r;r++}return e.length}(e,i);return J({attribute:t,complete:!0,keyEnd:s,keyStart:r,source:e,sourceEnd:c,sourceStart:r,valueContentEnd:c,valueContentStart:i,valueEnd:c,valueStart:i})},ie=function(e,t,r,s){var n=Q(e,s);if(n<0)return X(e,t,'Unable to find equals sign for Astro template-literal attribute "'.concat(t.name,'".'));var i=Y(e,n+1);if("`"!==e[i])return ne(e,t,r,s);var o=te(e,i);return o<0?X(e,t,'Unable to find template literal end for Astro attribute "'.concat(t.name,'".')):J({attribute:t,complete:!0,keyEnd:s,keyStart:r,source:e,sourceEnd:o+1,sourceStart:r,valueContentEnd:o,valueContentStart:i+1,valueEnd:o+1,valueStart:i})},oe=function e(t,r){t&&"object"===W(t)&&(r(t),(t.children||[]).forEach((function(t){return e(t,r)})))};function ae(e,t){var r=[];return oe(t,(function(t){Array.isArray(t.attributes)&&t.attributes.length&&t.attributes.forEach((function(s){var n,i,o,a,c=function(e,t){var r=G(t);if(!Number.isInteger(r))return X(e,t,'Astro attribute "'.concat((null==t?void 0:t.name)||"",'" is missing a start offset.'));if("shorthand"===t.kind||"spread"===t.kind)return re(e,t,r);var s=r+t.name.length;return"empty"===t.kind?J({attribute:t,complete:!0,keyEnd:s,keyStart:r,source:e,sourceEnd:s,sourceStart:r}):"expression"===t.kind?se(e,t,r,s):"template-literal"===t.kind?ie(e,t,r,s):ne(e,t,r,s)}(e,s);r.push(z(z({},c),{},{owner:{type:t.type,name:t.name,sourceStart:null!==(n=null===(i=t.position)||void 0===i||null===(i=i.start)||void 0===i?void 0:i.offset)&&void 0!==n?n:null,sourceEnd:null!==(o=null===(a=t.position)||void 0===a||null===(a=a.end)||void 0===a?void 0:a.offset)&&void 0!==o?o:null}}))}))})),r}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function le(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?ce(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):ce(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var ue=1,he="data-pg-source-id",pe=new Set(["element","component","fragment","expression"]),de=function(e){var t;return null==e||null===(t=e.position)||void 0===t||null===(t=t.start)||void 0===t?void 0:t.offset},fe=function(e){return"string"==typeof e&&e===e.toLowerCase()},me=function(e){return/^(client|server|set|is|transition):/.test(e||"")},ge=function(e){var t=e.sourceFile,r=e.sourceStart,s=e.nodeIndex;return"pgastro-".concat(function(e){for(var t=5381,r=0;r<e.length;r++)t=33*t^e.charCodeAt(r);return(t>>>0).toString(36)}("".concat(t,":").concat(r,":").concat(s)))},ye=function e(t,r){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t&&"object"===W(t)){r(t,s);var n=le(le({},s),{},{insideExpression:s.insideExpression||"expression"===t.type,parentType:t.type});(t.children||[]).forEach((function(t){return e(t,r,n)}))}},ve=function(e){var t=e.ownerStart,r=e.keyStart,s=e.name;return"".concat(t,":").concat(r,":").concat(s)},be=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"element"===e.type&&fe(e.name)?{status:"planned",strategy:"attribute",attribute:t.markerAttribute||he,inject:!0}:"component"===e.type?{status:"planned",strategy:"boundary-comment",inject:!1,reason:"Astro component tags do not necessarily render as matching DOM elements."}:"fragment"===e.type?{status:"planned",strategy:"boundary-comment",inject:!1,reason:"Astro fragments do not render as stable DOM elements."}:{status:"planned",strategy:"boundary-comment",inject:!1,reason:"Astro expressions can render zero, one, or many DOM nodes."}},xe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return t.insideExpression&&r.push("inside-expression"),"element"===e.type&&fe(e.name)?{mode:t.insideExpression?"inspect":"editable",operations:t.insideExpression?["select"]:["select","set-static-attribute","replace-static-children","remove"],reasons:r}:"component"===e.type?{mode:"inspect",operations:["select","set-static-prop","set-hydration-directive","set-slot"],reasons:[].concat(r,["component-render-boundary"])}:"fragment"===e.type?{mode:"inspect",operations:["select"],reasons:[].concat(r,["fragment-boundary"])}:{mode:"readonly",operations:["select"],reasons:[].concat(r,["dynamic-expression"])}},we=function(e){return t=e.name,/^client:/.test(t||"")?{mode:"semantic",operation:"Hydrate",reasons:["hydration-directive"]}:"set:html"===e.name?{mode:"readonly",operation:null,reasons:["generated-html"]}:"slot"===e.name?{mode:"semantic",operation:"Slot",reasons:["slot-directive"]}:"quoted"===e.kind||"empty"===e.kind||"bare"===e.kind?{mode:me(e.name)?"semantic":"editable",operation:me(e.name)?"Directive":"Attribute",reasons:[]}:"expression"===e.kind||"template-literal"===e.kind?{mode:"expression",operation:"Bind",reasons:["expression-value"]}:{mode:"readonly",operation:null,reasons:["".concat(e.kind||"unknown","-attribute")]};var t},Se=function(e,t,r){var s,n,i,o,a=function(e,t,r){return e.get(ve({keyStart:de(r),name:r.name,ownerStart:de(t)}))||null}(t,e,r);return{name:r.name,kind:r.kind,sourceStart:null!==(s=null!==(n=null==a?void 0:a.sourceStart)&&void 0!==n?n:de(r))&&void 0!==s?s:null,sourceEnd:null!==(i=null==a?void 0:a.sourceEnd)&&void 0!==i?i:null,complete:Boolean(null==a?void 0:a.complete),raw:null!==(o=null==a?void 0:a.raw)&&void 0!==o?o:null,editability:we(r)}},Ee=function(e){return{nodes:e.length,attributeMarkers:e.filter((function(e){return"attribute"===e.marker.strategy})).length,boundaryMarkers:e.filter((function(e){return"boundary-comment"===e.marker.strategy})).length,editableNodes:e.filter((function(e){return"editable"===e.editability.mode})).length,inspectNodes:e.filter((function(e){return"inspect"===e.editability.mode})).length,readonlyNodes:e.filter((function(e){return"readonly"===e.editability.mode})).length}};function _e(){return{kind:"astro-source-manifest",version:ue,status:"unavailable",reason:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Astro compiler AST is unavailable.",marker:{attribute:he,strategies:["attribute","boundary-comment"]},nodes:[],stats:Ee([])}}function Pe(e,t,r){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r)return _e();var n,i,o=(n=s.attributeRanges||ae(e,r),i=new Map,n.forEach((function(e){var t;i.set(ve({keyStart:e.keyStart,name:e.name,ownerStart:null===(t=e.owner)||void 0===t?void 0:t.sourceStart}),e)})),i),a=[];return ye(r,(function(e,r){pe.has(e.type)&&Number.isInteger(de(e))&&a.push(function(e){var t=e.attributeRangeIndex,r=e.context,s=e.node,n=e.nodeIndex,i=e.options,o=e.sourceFile,a=de(s),c=function(e){var t;return null==e||null===(t=e.position)||void 0===t||null===(t=t.end)||void 0===t?void 0:t.offset}(s);return{id:ge({nodeIndex:n,sourceFile:o,sourceStart:a}),type:s.type,name:s.name||null,sourceStart:a,sourceEnd:null!=c?c:null,sourceRangeStatus:Number.isInteger(a)&&Number.isInteger(c)?"complete":"partial",marker:be(s,i),editability:xe(s,r),attributes:(s.attributes||[]).map((function(e){return Se(s,t,e)}))}}({attributeRangeIndex:o,context:r,node:e,nodeIndex:a.length,options:s,sourceFile:t}))})),{kind:"astro-source-manifest",version:ue,status:"ready",sourceFile:t,marker:{attribute:s.markerAttribute||he,strategies:["attribute","boundary-comment"]},nodes:a,stats:Ee(a)}}function Te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Ae(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?Te(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Te(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var Ce=/^---\s*$/,ke=function(e,t){var r=e.indexOf("\n",t);return-1===r?e.length:r+1},Oe=function(e,t){return{name:"template",projectedStart:0,projectedEnd:t-e,sourceStart:e,sourceEnd:t}};function Ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Ie(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?Ne(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Ne(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var Re=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=function(e,t){var r,s=function(e){if(null!=e&&e.compiler)return{status:"ready",source:e.compilerSource||"custom",compiler:e.compiler,error:null};if(null!=e&&e.loadCompiler){var t=e.loadCompiler();return{status:null!=t&&t.compiler?"ready":"unavailable",source:(null==t?void 0:t.source)||U,compiler:(null==t?void 0:t.compiler)||null,error:(null==t?void 0:t.error)||null}}if(F)return F;try{F={status:"ready",source:U,compiler:B(U),error:null}}catch(e){F={status:"unavailable",source:U,compiler:null,error:e}}return F}(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});if(null===(r=s.compiler)||void 0===r||!r.parse)return{status:"unavailable",source:s.source,ast:null,diagnostics:[{level:"warning",message:"Astro compiler is not available for ".concat(t,". Fine-grained Astro ranges are disabled. ").concat($(s.error)),source:"@astrojs/compiler"}]};try{var n=s.compiler.parse(e,{position:!0});return{status:"ready",source:s.source,ast:n.ast,diagnostics:(n.diagnostics||[]).map(H)}}catch(e){return{status:"error",source:s.source,ast:null,diagnostics:[{level:"error",message:"Astro compiler failed to parse ".concat(t,". ").concat($(e)),source:"@astrojs/compiler"}]}}}(e,t,r),n=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=d.normalize(t),n=function(e){if(!e.startsWith("---"))return null;var t=ke(e,0),r=e.slice(0,t).trim();if(!Ce.test(r))return null;for(var s=t;s<e.length;){var n=ke(e,s),i=e.slice(s,n).trim();if(Ce.test(i))return{start:0,end:n,contentStart:t,contentEnd:s};s=n}return{start:0,end:e.length,contentStart:t,contentEnd:e.length,unclosed:!0}}(e);if(null!=n&&n.unclosed)return{sourceFile:s,sourceCode:e,status:"unsupported",code:"",ranges:[],capabilities:{mapRenderedDom:!1,serializeEdits:!1},diagnostics:[{level:"error",message:"Astro frontmatter block is missing a closing delimiter."}],metadata:{hasFrontmatter:!0,frontmatterRange:n}};var i=(null==n?void 0:n.end)||0,o=function(e,t,r){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r)return{attributeRanges:[],attributeRangeRecovery:{status:"unavailable",source:null},sourceManifest:_e()};var n=ae(e,r);return{attributeRanges:n,attributeRangeRecovery:{status:n.every((function(e){return e.complete}))?"complete":"partial",source:"@astrojs/compiler"},sourceManifest:Pe(e,t,r,{attributeRanges:n,markerAttribute:s.markerAttribute})}}(e,s,r.compilerAst,r);return{sourceFile:s,sourceCode:e,status:"partial",code:e.slice(i),ranges:[Oe(i,e.length)],capabilities:{mapRenderedDom:!1,sourceDomManifest:Boolean(r.compilerAst),serializeEdits:!0},diagnostics:[{level:"info",message:"Astro projection preserves frontmatter and serializes the full template segment. Fine-grained Astro expression mapping is not enabled yet."}],metadata:Ae({hasFrontmatter:Boolean(n),frontmatterRange:n,editGranularity:"template-segment"},o)}}(e,t,Ie(Ie({},r),{},{compilerAst:s.ast}));return n?Ie(Ie({},n),{},{diagnostics:[].concat(f(n.diagnostics||[]),f(s.diagnostics)),metadata:Ie(Ie({},n.metadata||{}),{},{compiler:{status:s.status,source:s.source,diagnostics:s.diagnostics.length}})}):n},Le=["type1","type2"],De=function(e){return{name:"astro",transformSsr:!0,isEnabled:function(){return function(e){return!!e&&!1!==e.astroSourceDomMapping&&(!e.mappingType||Le.includes(e.mappingType))}(e)},isSource:function(e){return function(e){var t=function(e){return e.split(/[\\/]/).join("/")}(e),r=t.split("/");return/\.astro$/.test(t)&&!r.includes("node_modules")&&!r.includes(".astro")}(e)},transform:function(t,r){return function(e,t){var r,s,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Re(e,t,i),a=D(e,null==o||null===(r=o.metadata)||void 0===r?void 0:r.sourceManifest,i),c=j(a.code,null==o||null===(s=o.metadata)||void 0===s?void 0:s.sourceManifest,i);return{code:c.code,map:c.map||a.map,diagnostics:[].concat(f((null==o?void 0:o.diagnostics)||[]),f(a.diagnostics),f(c.diagnostics)),metadata:{sourceManifest:(null==o||null===(n=o.metadata)||void 0===n?void 0:n.sourceManifest)||null,markerInjection:{injected:a.injected,skipped:a.skipped},runtimeTransport:{injected:c.injected,skippedReason:c.skippedReason}}}}(t,r,function(e){return(null==e?void 0:e.astroSourceMapping)||{}}(e))}}};function Me(e,t){const r=Object.create(null),s=e.split(",");for(let e=0;e<s.length;e++)r[s[e]]=!0;return t?e=>!!r[e.toLowerCase()]:e=>!!r[e]}const je=Object.freeze({}),Fe=()=>{},Be=()=>!1,Ue=/^on[^a-z]/,$e=e=>Ue.test(e),qe=Object.assign,He=Object.prototype.hasOwnProperty,We=(e,t)=>He.call(e,t),Ve=Array.isArray,ze=e=>"string"==typeof e,Ge=e=>"symbol"==typeof e,Ke=e=>null!==e&&"object"==typeof e,Ye=Object.prototype.toString,Je=e=>Ye.call(e),Xe=Me(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qe=Me("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ze=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},et=/-(\w)/g,tt=Ze((e=>e.replace(et,((e,t)=>t?t.toUpperCase():"")))),rt=/\B([A-Z])/g,st=Ze((e=>e.replace(rt,"-$1").toLowerCase())),nt=Ze((e=>e.charAt(0).toUpperCase()+e.slice(1))),it=Ze((e=>e?`on${nt(e)}`:"")),ot=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function at(e){return ot.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}const ct={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"},lt={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},ut=Me("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console");function ht(e){if(Ve(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=ze(s)?mt(s):ht(s);if(n)for(const e in n)t[e]=n[e]}return t}return ze(e)||Ke(e)?e:void 0}const pt=/;(?![^(]*\))/g,dt=/:([^]+)/,ft=/\/\*[^]*?\*\//g;function mt(e){const t={};return e.replace(ft,"").split(pt).forEach((e=>{if(e){const r=e.split(dt);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function gt(e){let t="";if(!e||ze(e))return t;for(const r in e){const s=e[r],n=r.startsWith("--")?r:st(r);(ze(s)||"number"==typeof s)&&(t+=`${n}:${s};`)}return t}function yt(e){let t="";if(ze(e))t=e;else if(Ve(e))for(let r=0;r<e.length;r++){const s=yt(e[r]);s&&(t+=s+" ")}else if(Ke(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const vt=Me("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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"),bt=Me("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,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"),xt=Me("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),wt=Me("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),St=Me("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,inert,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"),Et=Me("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),_t=/["'&<>]/;function Pt(e){const t=""+e,r=_t.exec(t);if(!r)return t;let s,n,i="",o=0;for(n=r.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:s="&quot;";break;case 38:s="&amp;";break;case 39:s="&#39;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}o!==n&&(i+=t.slice(o,n)),o=n+1,i+=s}return o!==n?i+t.slice(o,n):i}const Tt=e=>ze(e)?e:null==e?"":Ve(e)||Ke(e)&&(e.toString===Ye||!(e=>"function"==typeof e)(e.toString))?JSON.stringify(e,At,2):String(e),At=(e,t)=>t&&t.__v_isRef?At(e,t.value):(e=>"[object Map]"===Je(e))(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r])=>(e[`${t} =>`]=r,e)),{})}:(e=>"[object Set]"===Je(e))(t)?{[`Set(${t.size})`]:[...t.values()]}:!Ke(t)||Ve(t)||(e=>"[object Object]"===Je(e))(t)?t:String(t);function Ct(e){throw e}function kt(e){console.warn(`[Vue warn] ${e.message}`)}function Ot(e,t,r,s){const n=(r||Nt)[e]+(s||""),i=new SyntaxError(String(n));return i.code=e,i.loc=t,i}const Nt={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.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"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.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",52:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',53:""},It=Symbol("Fragment"),Rt=Symbol("Teleport"),Lt=Symbol("Suspense"),Dt=Symbol("KeepAlive"),Mt=Symbol("BaseTransition"),jt=Symbol("openBlock"),Ft=Symbol("createBlock"),Bt=Symbol("createElementBlock"),Ut=Symbol("createVNode"),$t=Symbol("createElementVNode"),qt=Symbol("createCommentVNode"),Ht=Symbol("createTextVNode"),Wt=Symbol("createStaticVNode"),Vt=Symbol("resolveComponent"),zt=Symbol("resolveDynamicComponent"),Gt=Symbol("resolveDirective"),Kt=Symbol("resolveFilter"),Yt=Symbol("withDirectives"),Jt=Symbol("renderList"),Xt=Symbol("renderSlot"),Qt=Symbol("createSlots"),Zt=Symbol("toDisplayString"),er=Symbol("mergeProps"),tr=Symbol("normalizeClass"),rr=Symbol("normalizeStyle"),sr=Symbol("normalizeProps"),nr=Symbol("guardReactiveProps"),ir=Symbol("toHandlers"),or=Symbol("camelize"),ar=Symbol("capitalize"),cr=Symbol("toHandlerKey"),lr=Symbol("setBlockTracking"),ur=Symbol("pushScopeId"),hr=Symbol("popScopeId"),pr=Symbol("withCtx"),dr=Symbol("unref"),fr=Symbol("isRef"),mr=Symbol("withMemo"),gr=Symbol("isMemoSame"),yr={[It]:"Fragment",[Rt]:"Teleport",[Lt]:"Suspense",[Dt]:"KeepAlive",[Mt]:"BaseTransition",[jt]:"openBlock",[Ft]:"createBlock",[Bt]:"createElementBlock",[Ut]:"createVNode",[$t]:"createElementVNode",[qt]:"createCommentVNode",[Ht]:"createTextVNode",[Wt]:"createStaticVNode",[Vt]:"resolveComponent",[zt]:"resolveDynamicComponent",[Gt]:"resolveDirective",[Kt]:"resolveFilter",[Yt]:"withDirectives",[Jt]:"renderList",[Xt]:"renderSlot",[Qt]:"createSlots",[Zt]:"toDisplayString",[er]:"mergeProps",[tr]:"normalizeClass",[rr]:"normalizeStyle",[sr]:"normalizeProps",[nr]:"guardReactiveProps",[ir]:"toHandlers",[or]:"camelize",[ar]:"capitalize",[cr]:"toHandlerKey",[lr]:"setBlockTracking",[ur]:"pushScopeId",[hr]:"popScopeId",[pr]:"withCtx",[dr]:"unref",[fr]:"isRef",[mr]:"withMemo",[gr]:"isMemoSame"};function vr(e){Object.getOwnPropertySymbols(e).forEach((t=>{yr[t]=e[t]}))}const br={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function xr(e,t=br){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function wr(e,t,r,s,n,i,o,a=!1,c=!1,l=!1,u=br){return e&&(a?(e.helper(jt),e.helper(Rr(e.inSSR,l))):e.helper(Ir(e.inSSR,l)),o&&e.helper(Yt)),{type:13,tag:t,props:r,children:s,patchFlag:n,dynamicProps:i,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:u}}function Sr(e,t=br){return{type:17,loc:t,elements:e}}function Er(e,t=br){return{type:15,loc:t,properties:e}}function _r(e,t){return{type:16,loc:br,key:ze(e)?Pr(e,!0):e,value:t}}function Pr(e,t=!1,r=br,s=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:s}}function Tr(e,t=br){return{type:8,loc:t,children:e}}function Ar(e,t=[],r=br){return{type:14,loc:r,callee:e,arguments:t}}function Cr(e,t=void 0,r=!1,s=!1,n=br){return{type:18,params:e,returns:t,newline:r,isSlot:s,loc:n}}function kr(e,t,r,s=!0){return{type:19,test:e,consequent:t,alternate:r,newline:s,loc:br}}function Or(e,t,r=!1){return{type:20,index:e,value:t,isVNode:r,loc:br}}function Nr(e){return{type:21,body:e,loc:br}}function Ir(e,t){return e||t?Ut:$t}function Rr(e,t){return e||t?Ft:Bt}function Lr(e,{helper:t,removeHelper:r,inSSR:s}){e.isBlock||(e.isBlock=!0,r(Ir(s,e.isComponent)),t(jt),t(Rr(s,e.isComponent)))}function Dr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Mr(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){if(this instanceof e){var r=[null];return r.push.apply(r,arguments),new(Function.bind.apply(t,r))}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})})),r}var jr={};Object.defineProperty(jr,"__esModule",{value:!0});const Fr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class Br{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const Ur={brace:new Br("{"),j_oTag:new Br("<tag"),j_cTag:new Br("</tag"),j_expr:new Br("<tag>...</tag>",!0)};Ur.template=new Br("`",!0);const $r=!0,qr=!0,Hr=!0,Wr=!0,Vr=!0;class zr{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}}const Gr=new Map;function Kr(e,t={}){t.keyword=e;const r=ss(e,t);return Gr.set(e,r),r}function Yr(e,t){return ss(e,{beforeExpr:$r,binop:t})}let Jr=-1;const Xr=[],Qr=[],Zr=[],es=[],ts=[],rs=[];function ss(e,t={}){var r,s,n,i;return++Jr,Qr.push(e),Zr.push(null!=(r=t.binop)?r:-1),es.push(null!=(s=t.beforeExpr)&&s),ts.push(null!=(n=t.startsExpr)&&n),rs.push(null!=(i=t.prefix)&&i),Xr.push(new zr(e,t)),Jr}function ns(e,t={}){var r,s,n,i;return++Jr,Gr.set(e,Jr),Qr.push(e),Zr.push(null!=(r=t.binop)?r:-1),es.push(null!=(s=t.beforeExpr)&&s),ts.push(null!=(n=t.startsExpr)&&n),rs.push(null!=(i=t.prefix)&&i),Xr.push(new zr("name",t)),Jr}const is={bracketL:ss("[",{beforeExpr:$r,startsExpr:qr}),bracketHashL:ss("#[",{beforeExpr:$r,startsExpr:qr}),bracketBarL:ss("[|",{beforeExpr:$r,startsExpr:qr}),bracketR:ss("]"),bracketBarR:ss("|]"),braceL:ss("{",{beforeExpr:$r,startsExpr:qr}),braceBarL:ss("{|",{beforeExpr:$r,startsExpr:qr}),braceHashL:ss("#{",{beforeExpr:$r,startsExpr:qr}),braceR:ss("}"),braceBarR:ss("|}"),parenL:ss("(",{beforeExpr:$r,startsExpr:qr}),parenR:ss(")"),comma:ss(",",{beforeExpr:$r}),semi:ss(";",{beforeExpr:$r}),colon:ss(":",{beforeExpr:$r}),doubleColon:ss("::",{beforeExpr:$r}),dot:ss("."),question:ss("?",{beforeExpr:$r}),questionDot:ss("?."),arrow:ss("=>",{beforeExpr:$r}),template:ss("template"),ellipsis:ss("...",{beforeExpr:$r}),backQuote:ss("`",{startsExpr:qr}),dollarBraceL:ss("${",{beforeExpr:$r,startsExpr:qr}),templateTail:ss("...`",{startsExpr:qr}),templateNonTail:ss("...${",{beforeExpr:$r,startsExpr:qr}),at:ss("@"),hash:ss("#",{startsExpr:qr}),interpreterDirective:ss("#!..."),eq:ss("=",{beforeExpr:$r,isAssign:Wr}),assign:ss("_=",{beforeExpr:$r,isAssign:Wr}),slashAssign:ss("_=",{beforeExpr:$r,isAssign:Wr}),xorAssign:ss("_=",{beforeExpr:$r,isAssign:Wr}),moduloAssign:ss("_=",{beforeExpr:$r,isAssign:Wr}),incDec:ss("++/--",{prefix:Vr,postfix:!0,startsExpr:qr}),bang:ss("!",{beforeExpr:$r,prefix:Vr,startsExpr:qr}),tilde:ss("~",{beforeExpr:$r,prefix:Vr,startsExpr:qr}),doubleCaret:ss("^^",{startsExpr:qr}),doubleAt:ss("@@",{startsExpr:qr}),pipeline:Yr("|>",0),nullishCoalescing:Yr("??",1),logicalOR:Yr("||",1),logicalAND:Yr("&&",2),bitwiseOR:Yr("|",3),bitwiseXOR:Yr("^",4),bitwiseAND:Yr("&",5),equality:Yr("==/!=/===/!==",6),lt:Yr("</>/<=/>=",7),gt:Yr("</>/<=/>=",7),relational:Yr("</>/<=/>=",7),bitShift:Yr("<</>>/>>>",8),bitShiftL:Yr("<</>>/>>>",8),bitShiftR:Yr("<</>>/>>>",8),plusMin:ss("+/-",{beforeExpr:$r,binop:9,prefix:Vr,startsExpr:qr}),modulo:ss("%",{binop:10,startsExpr:qr}),star:ss("*",{binop:10}),slash:Yr("/",10),exponent:ss("**",{beforeExpr:$r,binop:11,rightAssociative:!0}),_in:Kr("in",{beforeExpr:$r,binop:7}),_instanceof:Kr("instanceof",{beforeExpr:$r,binop:7}),_break:Kr("break"),_case:Kr("case",{beforeExpr:$r}),_catch:Kr("catch"),_continue:Kr("continue"),_debugger:Kr("debugger"),_default:Kr("default",{beforeExpr:$r}),_else:Kr("else",{beforeExpr:$r}),_finally:Kr("finally"),_function:Kr("function",{startsExpr:qr}),_if:Kr("if"),_return:Kr("return",{beforeExpr:$r}),_switch:Kr("switch"),_throw:Kr("throw",{beforeExpr:$r,prefix:Vr,startsExpr:qr}),_try:Kr("try"),_var:Kr("var"),_const:Kr("const"),_with:Kr("with"),_new:Kr("new",{beforeExpr:$r,startsExpr:qr}),_this:Kr("this",{startsExpr:qr}),_super:Kr("super",{startsExpr:qr}),_class:Kr("class",{startsExpr:qr}),_extends:Kr("extends",{beforeExpr:$r}),_export:Kr("export"),_import:Kr("import",{startsExpr:qr}),_null:Kr("null",{startsExpr:qr}),_true:Kr("true",{startsExpr:qr}),_false:Kr("false",{startsExpr:qr}),_typeof:Kr("typeof",{beforeExpr:$r,prefix:Vr,startsExpr:qr}),_void:Kr("void",{beforeExpr:$r,prefix:Vr,startsExpr:qr}),_delete:Kr("delete",{beforeExpr:$r,prefix:Vr,startsExpr:qr}),_do:Kr("do",{isLoop:Hr,beforeExpr:$r}),_for:Kr("for",{isLoop:Hr}),_while:Kr("while",{isLoop:Hr}),_as:ns("as",{startsExpr:qr}),_assert:ns("assert",{startsExpr:qr}),_async:ns("async",{startsExpr:qr}),_await:ns("await",{startsExpr:qr}),_from:ns("from",{startsExpr:qr}),_get:ns("get",{startsExpr:qr}),_let:ns("let",{startsExpr:qr}),_meta:ns("meta",{startsExpr:qr}),_of:ns("of",{startsExpr:qr}),_sent:ns("sent",{startsExpr:qr}),_set:ns("set",{startsExpr:qr}),_static:ns("static",{startsExpr:qr}),_using:ns("using",{startsExpr:qr}),_yield:ns("yield",{startsExpr:qr}),_asserts:ns("asserts",{startsExpr:qr}),_checks:ns("checks",{startsExpr:qr}),_exports:ns("exports",{startsExpr:qr}),_global:ns("global",{startsExpr:qr}),_implements:ns("implements",{startsExpr:qr}),_intrinsic:ns("intrinsic",{startsExpr:qr}),_infer:ns("infer",{startsExpr:qr}),_is:ns("is",{startsExpr:qr}),_mixins:ns("mixins",{startsExpr:qr}),_proto:ns("proto",{startsExpr:qr}),_require:ns("require",{startsExpr:qr}),_satisfies:ns("satisfies",{startsExpr:qr}),_keyof:ns("keyof",{startsExpr:qr}),_readonly:ns("readonly",{startsExpr:qr}),_unique:ns("unique",{startsExpr:qr}),_abstract:ns("abstract",{startsExpr:qr}),_declare:ns("declare",{startsExpr:qr}),_enum:ns("enum",{startsExpr:qr}),_module:ns("module",{startsExpr:qr}),_namespace:ns("namespace",{startsExpr:qr}),_interface:ns("interface",{startsExpr:qr}),_type:ns("type",{startsExpr:qr}),_opaque:ns("opaque",{startsExpr:qr}),name:ss("name",{startsExpr:qr}),string:ss("string",{startsExpr:qr}),num:ss("num",{startsExpr:qr}),bigint:ss("bigint",{startsExpr:qr}),decimal:ss("decimal",{startsExpr:qr}),regexp:ss("regexp",{startsExpr:qr}),privateName:ss("#name",{startsExpr:qr}),eof:ss("eof"),jsxName:ss("jsxName"),jsxText:ss("jsxText",{beforeExpr:!0}),jsxTagStart:ss("jsxTagStart",{startsExpr:!0}),jsxTagEnd:ss("jsxTagEnd"),placeholder:ss("%%",{startsExpr:!0})};function os(e){return e>=93&&e<=130}function as(e){return e>=58&&e<=130}function cs(e){return e>=58&&e<=134}function ls(e){return ts[e]}function us(e){return e>=127&&e<=129}function hs(e){return e>=58&&e<=92}function ps(e){return Qr[e]}function ds(e){return Zr[e]}function fs(e){return e>=24&&e<=25}function ms(e){return Xr[e]}function gs(e,t){if(null==e)return{};var r,s,n={},i=Object.keys(e);for(s=0;s<i.length;s++)r=i[s],t.indexOf(r)>=0||(n[r]=e[r]);return n}Xr[8].updateContext=e=>{e.pop()},Xr[5].updateContext=Xr[7].updateContext=Xr[23].updateContext=e=>{e.push(Ur.brace)},Xr[22].updateContext=e=>{e[e.length-1]===Ur.template?e.pop():e.push(Ur.template)},Xr[140].updateContext=e=>{e.push(Ur.j_expr,Ur.j_oTag)};class ys{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 vs{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 bs(e,t){const{line:r,column:s,index:n}=e;return new ys(r,s+t,n+t)}var xs="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";const ws=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,s,n)=>n===t?e[s]=r:e[s]),this)}}),Ss=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,"function"==typeof t?{value:t,enumerable:!1}:"string"==typeof t.reflect?Object.assign({},t,ws(t.reflect.split("."))):t])).reduce(((e,[t,r])=>Object.defineProperty(e,t,Object.assign({configurable:!0},r))),Object.assign(new e,t));var Es={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:xs},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:xs}};const _s={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Ps=({type:e,prefix:t})=>"UpdateExpression"===e?_s.UpdateExpression[String(t)]:_s[e];var Ts={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({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:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${"ForInStatement"===e?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${1===e?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${Ps(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${Ps(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};const As=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var Cs={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token: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:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${Ps({type:e})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const ks=["toMessage"],Os=["message"];function Ns(e){let{toMessage:t}=e,r=gs(e,ks);return function e({loc:s,details:n}){return Ss(SyntaxError,Object.assign({},r,{loc:s}),{clone(t={}){const r=t.loc||{};return e({loc:new ys("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:n,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 n&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Is(e,t){if(Array.isArray(e))return t=>Is(t,e[0]);const r={};for(const s of Object.keys(e)){const n=e[s],i="string"==typeof n?{message:()=>n}:"function"==typeof n?{message:n}:n,{message:o}=i,a=gs(i,Os),c="string"==typeof o?()=>o:o;r[s]=Ns(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:s,toMessage:c},t?{syntaxPlugin:t}:{},a))}return r}const Rs=Object.assign({},Is(Es),Is(Ts),Is({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),Is`pipelineOperator`(Cs)),{defineProperty:Ls}=Object,Ds=(e,t)=>Ls(e,t,{enumerable:!1,value:e[t]});function Ms(e){return e.loc.start&&Ds(e.loc.start,"index"),e.loc.end&&Ds(e.loc.end,"index"),e}let js="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Fs="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const Bs=new RegExp("["+js+"]"),Us=new RegExp("["+js+Fs+"]");js=Fs=null;const $s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],qs=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Hs(e,t){let r=65536;for(let s=0,n=t.length;s<n;s+=2){if(r+=t[s],r>e)return!1;if(r+=t[s+1],r>=e)return!0}return!1}function Ws(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Bs.test(String.fromCharCode(e)):Hs(e,$s)))}function Vs(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Us.test(String.fromCharCode(e)):Hs(e,$s)||Hs(e,qs))))}const zs=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"]),Gs=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),Ks=new Set(["eval","arguments"]);function Ys(e,t){return t&&"await"===e||"enum"===e}function Js(e,t){return Ys(e,t)||Gs.has(e)}function Xs(e){return Ks.has(e)}function Qs(e,t){return Js(e,t)||Xs(e)}const Zs=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"]),en=256,tn=4096,rn=8201,sn=64;class nn{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class on{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}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(){const e=this.currentThisScopeFlags();return(64&e)>0&&0==(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(451&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new nn(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,r){let s=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(s,e,t,r),16&t?s.functions.add(e):s.lexical.add(e),8&t&&this.maybeExportDefined(s,e);else if(4&t)for(let n=this.scopeStack.length-1;n>=0&&(s=this.scopeStack[n],this.checkRedeclarationInScope(s,e,t,r),s.var.add(e),this.maybeExportDefined(s,e),!(387&s.flags));--n);this.parser.inModule&&1&s.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,s){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(Rs.VarRedeclaration,{at:s,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){const{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--){const{flags:t}=this.scopeStack[e];if(387&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(451&t&&!(4&t))return t}}}class an extends nn{constructor(...e){super(...e),this.declareFunctions=new Set}}class cn extends on{createScope(e){return new an(e)}declareName(e,t,r){const s=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e),void s.declareFunctions.add(e);super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(e,t,r)||!!(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 ln{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{const[t,r]=e;if(!this.hasPlugin(t))return!1;const s=this.plugins.get(t);for(const e of Object.keys(r))if((null==s?void 0:s[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}}function un(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function hn(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function pn(e,t,r){let s=null,n=t.length;for(;null===s&&n>0;)s=t[--n];null===s||s.start>r.start?hn(e,r.comments):un(s,r.comments)}class dn extends ln{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state,r=t.length;if(0===r)return;let s=r-1;const n=t[s];n.start===e.end&&(n.leadingNode=e,s--);const{start:i}=e;for(;s>=0;s--){const r=t[s],n=r.end;if(!(n>i)){n===i&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(s,1)}}finalizeComment(e){const{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&un(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{const{containingNode:r,start:s}=e;if(44===this.input.charCodeAt(s-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":pn(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":pn(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":pn(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":pn(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":pn(r,r.specifiers,e);break;default:hn(r,t)}else hn(r,t)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:r}=t;if(0===r)return;const s=t[r-1];s.leadingNode===e&&(s.leadingNode=null)}takeSurroundingComments(e,t,r){const{commentStack:s}=this.state,n=s.length;if(0===n)return;let i=n-1;for(;i>=0;i--){const n=s[i],o=n.end;if(n.start===r)n.leadingNode=e;else if(o===t)n.trailingNode=e;else if(o<t)break}}}const fn=/\r\n?|[\n\u2028\u2029]/,mn=new RegExp(fn.source,"g");function gn(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const yn=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,vn=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function bn(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 xn{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.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[Ur.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:s}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=r,this.lineStart=-s,this.startLoc=this.endLoc=new ys(r,s,0)}curPosition(){return new ys(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){const t=new xn,r=Object.keys(this);for(let s=0,n=r.length;s<n;s++){const n=r[s];let i=this[n];!e&&Array.isArray(i)&&(i=i.slice()),t[n]=i}return t}}var wn=function(e){return e>=48&&e<=57};const Sn={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},En={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};function _n(e,t,r,s,n,i){const o=r,a=s,c=n;let l="",u=null,h=r;const{length:p}=t;for(;;){if(r>=p){i.unterminated(o,a,c),l+=t.slice(h,r);break}const d=t.charCodeAt(r);if(Pn(e,d,t,r)){l+=t.slice(h,r);break}if(92===d){l+=t.slice(h,r);const o=Tn(t,r,s,n,"template"===e,i);null!==o.ch||u?l+=o.ch:u={pos:r,lineStart:s,curLine:n},({pos:r,lineStart:s,curLine:n}=o),h=r}else 8232===d||8233===d?(++n,s=++r):10===d||13===d?"template"===e?(l+=t.slice(h,r)+"\n",++r,13===d&&10===t.charCodeAt(r)&&++r,++n,h=s=r):i.unterminated(o,a,c):++r}return{pos:r,str:l,firstInvalidLoc:u,lineStart:s,curLine:n,containsInvalid:!!u}}function Pn(e,t,r,s){return"template"===e?96===t||36===t&&123===r.charCodeAt(s+1):t===("double"===e?34:39)}function Tn(e,t,r,s,n,i){const o=!n;t++;const a=e=>({pos:t,ch:e,lineStart:r,curLine:s}),c=e.charCodeAt(t++);switch(c){case 110:return a("\n");case 114:return a("\r");case 120:{let n;return({code:n,pos:t}=An(e,t,r,s,2,!1,o,i)),a(null===n?null:String.fromCharCode(n))}case 117:{let n;return({code:n,pos:t}=kn(e,t,r,s,o,i)),a(null===n?null:String.fromCodePoint(n))}case 116:return a("\t");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++s;case 8232:case 8233:return a("");case 56:case 57:if(n)return a(null);i.strictNumericEscape(t-1,r,s);default:if(c>=48&&c<=55){const o=t-1;let c=e.slice(o,t+2).match(/^[0-7]+/)[0],l=parseInt(c,8);l>255&&(c=c.slice(0,-1),l=parseInt(c,8)),t+=c.length-1;const u=e.charCodeAt(t);if("0"!==c||56===u||57===u){if(n)return a(null);i.strictNumericEscape(o,r,s)}return a(String.fromCharCode(l))}return a(String.fromCharCode(c))}}function An(e,t,r,s,n,i,o,a){const c=t;let l;return({n:l,pos:t}=Cn(e,t,r,s,16,n,i,!1,a,!o)),null===l&&(o?a.invalidEscapeSequence(c,r,s):t=c-1),{code:l,pos:t}}function Cn(e,t,r,s,n,i,o,a,c,l){const u=t,h=16===n?Sn.hex:Sn.decBinOct,p=16===n?En.hex:10===n?En.dec:8===n?En.oct:En.bin;let d=!1,f=0;for(let u=0,m=null==i?1/0:i;u<m;++u){const i=e.charCodeAt(t);let u;if(95!==i||"bail"===a){if(u=i>=97?i-97+10:i>=65?i-65+10:wn(i)?i-48:1/0,u>=n){if(u<=9&&l)return{n:null,pos:t};if(u<=9&&c.invalidDigit(t,r,s,n))u=0;else{if(!o)break;u=0,d=!0}}++t,f=f*n+u}else{const n=e.charCodeAt(t-1),i=e.charCodeAt(t+1);if(a){if(Number.isNaN(i)||!p(i)||h.has(n)||h.has(i)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,r,s)}}else{if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,r,s)}++t}}return t===u||null!=i&&t-u!==i||d?{n:null,pos:t}:{n:f,pos:t}}function kn(e,t,r,s,n,i){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=An(e,t,r,s,e.indexOf("}",t)-t,!0,n,i)),++t,null!==o&&o>1114111){if(!n)return{code:null,pos:t};i.invalidCodePoint(t,r,s)}}else({code:o,pos:t}=An(e,t,r,s,4,!1,n,i));return{code:o,pos:t}}const On=["at"],Nn=["at"];function In(e,t,r){return new ys(r,e-t,e)}const Rn=new Set([103,109,115,105,121,117,100,118]);class Ln{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new vs(e.startLoc,e.endLoc)}}class Dn extends dn{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,r,s)=>!!this.options.errorRecovery&&(this.raise(Rs.InvalidDigit,{at:In(e,t,r),radix:s}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(Rs.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Rs.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Rs.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Rs.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(Rs.StrictNumericEscape,{at:In(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(Rs.UnterminatedString,{at:In(e-1,t,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Rs.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(Rs.UnterminatedTemplate,{at:In(e,t,r)})}}),this.state=new xn,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 Ln(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(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return yn.lastIndex=e,yn.test(this.input)?yn.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){const 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(137):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());const r=this.state.pos,s=this.input.indexOf(e,r+2);if(-1===s)throw this.raise(Rs.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=s+e.length,mn.lastIndex=r+2;mn.test(this.input)&&mn.lastIndex<=s;)++this.state.curLine,this.state.lineStart=mn.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(r+2,s),start:r,end:s+e.length,loc:new vs(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(e){const t=this.state.pos;let r;this.isLookahead||(r=this.state.curPosition());let s=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!gn(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const n=this.state.pos,i={type:"CommentLine",value:this.input.slice(t+e,n),start:t,end:n,loc:new vs(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipSpace(){const e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){const 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:{const e=this.skipBlockComment("*/");void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(bn(r))++this.state.pos;else if(45===r&&!this.inModule&&this.options.annexB){const 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;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}else{if(60!==r||this.inModule||!this.options.annexB)break e;{const 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;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}}if(t.length>0){const 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();const 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;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(Rs.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?Rs.RecordExpressionHashIncorrectStartSyntaxType:Rs.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else Ws(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const 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;const t=this.state.pos;for(this.state.pos+=1;!gn(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const 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,s=this.input.charCodeAt(this.state.pos+1);42===e&&42===s&&(r++,s=this.input.charCodeAt(this.state.pos+2),t=57),61!==s||this.state.inType||(r++,t=37===e?33:30),this.finishOp(t,r)}readToken_pipe_amp(e){const 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(Rs.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(Rs.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(){const e=this.input.charCodeAt(this.state.pos+1);61!==e||this.state.inType?94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos)&&this.unexpected()):this.finishOp(44,1):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){const 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(){const{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(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const 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){const 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(){const 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(Rs.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(Rs.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:{const 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(Ws(e))return void this.readWord(e)}throw this.raise(Rs.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){const e=this.state.startLoc,t=this.state.start+1;let r,s,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(Rs.UnterminatedRegExp,{at:bs(e,1)});const t=this.input.charCodeAt(n);if(gn(t))throw this.raise(Rs.UnterminatedRegExp,{at:bs(e,1)});if(r)r=!1;else{if(91===t)s=!0;else if(93===t&&s)s=!1;else if(47===t&&!s)break;r=92===t}}const i=this.input.slice(t,n);++n;let o="";const a=()=>bs(e,n+2-t);for(;n<this.length;){const e=this.codePointAtPos(n),t=String.fromCharCode(e);if(Rn.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",a()),o.includes("u")&&this.raise(Rs.IncompatibleRegExpUVFlags,{at:a()})):117===e&&o.includes("v")&&this.raise(Rs.IncompatibleRegExpUVFlags,{at:a()}),o.includes(t)&&this.raise(Rs.DuplicateRegExpFlags,{at:a()});else{if(!Vs(e)&&92!==e)break;this.raise(Rs.MalformedRegExpFlags,{at:a()})}++n,o+=t}this.state.pos=n,this.finishToken(135,{pattern:i,flags:o})}readInt(e,t,r=!1,s=!0){const{n,pos:i}=Cn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,s,this.errorHandlers_readInt,!1);return this.state.pos=i,n}readRadixNumber(e){const t=this.state.curPosition();let r=!1;this.state.pos+=2;const s=this.readInt(e);null==s&&this.raise(Rs.InvalidDigit,{at:bs(t,2),radix:e});const n=this.input.charCodeAt(this.state.pos);if(110===n)++this.state.pos,r=!0;else if(109===n)throw this.raise(Rs.InvalidDecimal,{at:t});if(Ws(this.codePointAtPos(this.state.pos)))throw this.raise(Rs.NumberIdentifier,{at:this.state.curPosition()});if(r){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e)}else this.finishToken(132,s)}readNumber(e){const t=this.state.pos,r=this.state.curPosition();let s=!1,n=!1,i=!1,o=!1,a=!1;e||null!==this.readInt(10)||this.raise(Rs.InvalidNumber,{at:this.state.curPosition()});const c=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(c){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(Rs.StrictOctalLiteral,{at:r}),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(Rs.ZeroDigitNumericSeparator,{at:bs(r,t)})}a=c&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46!==l||a||(++this.state.pos,this.readInt(10),s=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||a||(l=this.input.charCodeAt(++this.state.pos),43!==l&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(Rs.InvalidOrMissingExponent,{at:r}),s=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((s||c)&&this.raise(Rs.InvalidBigIntLiteral,{at:r}),++this.state.pos,n=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(o||c)&&this.raise(Rs.InvalidDecimal,{at:r}),++this.state.pos,i=!0),Ws(this.codePointAtPos(this.state.pos)))throw this.raise(Rs.NumberIdentifier,{at:this.state.curPosition()});const u=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n)return void this.finishToken(133,u);if(i)return void this.finishToken(134,u);const h=a?parseInt(u,8):parseFloat(u);this.finishToken(132,h)}readCodePoint(e){const{code:t,pos:r}=kn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=r,t}readString(e){const{str:t,pos:r,curLine:s,lineStart:n}=_n(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1,this.state.lineStart=n,this.state.curLine=s,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:t,firstInvalidLoc:r,pos:s,curLine:n,lineStart:i}=_n("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=s+1,this.state.lineStart=i,this.state.curLine=n,r&&(this.state.firstInvalidTemplateEscapePos=new ys(r.curLine,r.pos-r.lineStart,r.pos)),96===this.input.codePointAt(s)?this.finishToken(24,r?null:e+t+"`"):(this.state.pos++,this.finishToken(25,r?null:e+t+"${"))}recordStrictModeErrors(e,{at:t}){const r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,{at:t}):this.state.strictErrors.set(r,[e,t])}readWord1(e){this.state.containsEsc=!1;let t="";const r=this.state.pos;let s=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(Vs(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(s,this.state.pos);const e=this.state.curPosition(),n=this.state.pos===r?Ws:Vs;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(Rs.MissingUnicodeEscape,{at:this.state.curPosition()}),s=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(!0);null!==i&&(n(i)||this.raise(Rs.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(i)),s=this.state.pos}}}return t+this.input.slice(s,this.state.pos)}readWord(e){const t=this.readWord1(e),r=Gr.get(t);void 0!==r?this.finishToken(r,ps(r)):this.finishToken(130,t)}checkKeywordEscapes(){const{type:e}=this.state;hs(e)&&this.state.containsEsc&&this.raise(Rs.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:ps(e)})}raise(e,t){const{at:r}=t,s=gs(t,On),n=e({loc:r instanceof ys?r:r.loc.start,details:s});if(!this.options.errorRecovery)throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(e,t){const{at:r}=t,s=gs(t,Nn),n=r instanceof ys?r:r.loc.start,i=n.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.loc.index===i)return o[t]=e({loc:n,details:s});if(r.loc.index<i)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(Rs.UnexpectedToken,{expected:t?ps(t):null,at:null!=e?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(Rs.MissingPlugin,{at:null!=t?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(Rs.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,r,s)=>{this.raise(e,{at:In(t,r,s)})}}}class Mn{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class jn{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 Mn)}exit(){const e=this.stack.pop(),t=this.current();for(const[r,s]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,s):this.parser.raise(Rs.InvalidPrivateFieldResolution,{at:s,identifierName:r})}declarePrivateName(e,t,r){const{privateNames:s,loneAccessors:n,undefinedPrivateNames:i}=this.current();let o=s.has(e);if(3&t){const r=o&&n.get(e);r?(o=(3&r)==(3&t)||(4&r)!=(4&t),o||n.delete(e)):o||n.set(e,t)}o&&this.parser.raise(Rs.PrivateNameRedeclaration,{at:r,identifierName:e}),s.add(e),i.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(Rs.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}class Fn{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Bn extends Fn{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const r=t.index;this.declarationErrors.set(r,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class Un{constructor(e){this.parser=void 0,this.stack=[new Fn],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const r={at:t.loc.start},{stack:s}=this;let n=s.length-1,i=s[n];for(;!i.isCertainlyParameterDeclaration();){if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,r),i=s[--n]}this.parser.raise(e,r)}recordArrowParameterBindingError(e,{at:t}){const{stack:r}=this,s=r[r.length-1],n={at:t.loc.start};if(s.isCertainlyParameterDeclaration())this.parser.raise(e,n);else{if(!s.canBeArrowParameterDeclaration())return;s.recordDeclarationError(e,n)}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let r=t.length-1,s=t[r];for(;s.canBeArrowParameterDeclaration();)2===s.type&&s.recordDeclarationError(Rs.AwaitBindingIdentifier,{at:e}),s=t[--r]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((([t,r])=>{this.parser.raise(t,{at:r});let s=e.length-2,n=e[s];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(r.index),n=e[--s]}))}}function $n(){return new Fn}class qn{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 Hn(e,t){return(e?2:0)|(t?1:0)}class Wn extends Dn{addExtra(e,t,r,s=!0){if(!e)return;const n=e.extra=e.extra||{};s?n[t]=r:Object.defineProperty(n,t,{enumerable:s,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(Vs(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return fn.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return vn.lastIndex=this.state.end,vn.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(Rs.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const r={node:null};try{const s=e(((e=null)=>{throw r.node=e,r}));if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:s,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:s,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){const s=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:s};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:s};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssignLoc:r,doubleProtoLoc:s,privateKeyLoc:n,optionalParametersLoc:i}=e;if(!t)return!!(r||s||i||n);null!=r&&this.raise(Rs.InvalidCoverInitializedName,{at:r}),null!=s&&this.raise(Rs.DuplicateProto,{at:s}),null!=n&&this.raise(Rs.UnexpectedPrivateField,{at:n}),null!=i&&this.unexpected(i)}isLiteralPropertyName(){return cs(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)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const s=this.inModule;this.inModule=e;const n=this.scope,i=this.getScopeHandler();this.scope=new i(this,e);const o=this.prodParam;this.prodParam=new qn;const a=this.classScope;this.classScope=new jn(this);const c=this.expressionScope;return this.expressionScope=new Un(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=s,this.scope=n,this.prodParam=o,this.classScope=a,this.expressionScope=c}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}class Vn{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}let zn=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new vs(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}};const Gn=zn.prototype;function Kn(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o,name:a}=e,c=Object.create(Gn);return c.type=t,c.start=r,c.end=s,c.loc=n,c.range=i,c.extra=o,c.name=a,"Placeholder"===t&&(c.expectedNode=e.expectedNode),c}Gn.__clone=function(){const e=new zn(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,s=t.length;r<s;r++){const s=t[r];"leadingComments"!==s&&"trailingComments"!==s&&"innerComments"!==s&&(e[s]=this[s])}return e};class Yn extends Wn{startNode(){return new zn(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new zn(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(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){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}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.loc.start)}}const Jn=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Xn=Is`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"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:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({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:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({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:({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:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"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:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Qn(e){return"type"===e.importKind||"typeof"===e.importKind}function Zn(e){return as(e)&&97!==e}const ei={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},ti=/\*?\s*@((?:no)?flow)\b/,ri={__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:"♦"},si=Is`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function ni(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function ii(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return ii(e.object)+"."+ii(e.property);throw new Error("Node had unexpected type: "+e.type)}class oi extends nn{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 ai extends on{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new oi(e)}enter(e){e==en&&this.importsStack.push(new Set),super.enter(e)}exit(){const e=super.exit();return e==en&&this.importsStack.pop(),e}hasImport(e,t){const r=this.importsStack.length;if(this.importsStack[r-1].has(e))return!0;if(!t&&r>1)for(let t=0;t<r-1;t++)if(this.importsStack[t].has(e))return!0;return!1}declareName(e,t,r){if(t&tn)return this.hasImport(e,!0)&&this.parser.raise(Rs.VarRedeclaration,{at:r,identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);const s=this.currentScope();if(1024&t)return this.maybeExportDefined(s,e),void s.exportOnlyBindings.add(e);super.declareName(e,t,r),2&t&&(1&t||(this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e)),s.types.add(e)),256&t&&s.enums.add(e),512&t&&s.constEnums.add(e),128&t&&s.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(e,t,r)}checkLocalExport(e){const{name:t}=e;if(!this.hasImport(t)){for(let e=this.scopeStack.length-1;e>=0;e--){const r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}}const ci=e=>"ParenthesizedExpression"===e.type?ci(e.expression):e;class li extends Yn{toAssignable(e,t=!1){var r,s;let n;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=ci(e),t?"Identifier"===n.type?this.expressionScope.recordArrowParameterBindingError(Rs.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==n.type&&this.raise(Rs.InvalidParenthesizedAssignment,{at:e}):this.raise(Rs.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,s=e.properties.length,n=s-1;r<s;r++){var i;const s=e.properties[r],o=r===n;this.toAssignableObjectExpressionProp(s,o,t),o&&"RestElement"===s.type&&null!=(i=e.extra)&&i.trailingCommaLoc&&this.raise(Rs.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{const{key:r,value:s}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(s,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==(s=e.extra)?void 0:s.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(Rs.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(n,t)}}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?Rs.PatternHasAccessor:Rs.PatternHasMethod,{at:e.key});else if("SpreadElement"===e.type){e.type="RestElement";const s=e.argument;this.checkToRestConversion(s,!1),this.toAssignable(s,r),t||this.raise(Rs.RestTrailingComma,{at:e})}else this.toAssignable(e,r)}toAssignableList(e,t,r){const s=e.length-1;for(let n=0;n<=s;n++){const i=e[n];if(i){if("SpreadElement"===i.type){i.type="RestElement";const e=i.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,r)}else this.toAssignable(i,r);"RestElement"===i.type&&(n<s?this.raise(Rs.RestTrailingComma,{at:i}):t&&this.raise(Rs.RestTrailingComma,{at:t}))}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const 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(const t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e){const t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r){const s=1&r,n=[];let i=!0;for(;!this.eat(e);)if(i?i=!1:this.expect(12),s&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){if(n.push(this.parseAssignableListItemTypes(this.parseRestBinding(),r)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Rs.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());n.push(this.parseAssignableListItem(r,e))}}return n}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode(),{type:t,startLoc:r}=this.state;return 21===t?this.parseBindingRestProperty(e):(136===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,!1,!1,!0,!1))}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r,e);const s=this.parseMaybeDefault(r.loc.start,r);return t.length&&(r.decorators=t),s}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var r;if(null!=e||(e=this.state.startLoc),t=null!=(r=t)?r:this.parseBindingAtom(),!this.eat(29))return t;const s=this.startNodeAt(e);return s.left=t,s.right=this.parseMaybeAssignAllowIn(),this.finishNode(s,"AssignmentPattern")}isValidLVal(e,t,r){return s={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},n=e,Object.hasOwnProperty.call(s,n)&&s[n];var s,n}checkLVal(e,{in:t,binding:r=64,checkClashes:s=!1,strictModeChanged:n=!1,hasParenthesizedAncestor:i=!1}){var o;const a=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===a)return void(r!==sn&&this.raise(Rs.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===a){this.checkIdentifier(e,r,n);const{name:t}=e;return void(s&&(s.has(t)?this.raise(Rs.ParamDupe,{at:e}):s.add(t)))}const c=this.isValidLVal(a,!(i||null!=(o=e.extra)&&o.parenthesized)&&"AssignmentExpression"===t.type,r);if(!0===c)return;if(!1===c){const s=r===sn?Rs.InvalidLhs:Rs.InvalidLhsBinding;return void this.raise(s,{at:e,ancestor:t})}const[l,u]=Array.isArray(c)?c:[c,"ParenthesizedExpression"===a],h="ArrayPattern"===a||"ObjectPattern"===a||"ParenthesizedExpression"===a?{type:a}:t;for(const t of[].concat(e[l]))t&&this.checkLVal(t,{in:h,binding:r,checkClashes:s,strictModeChanged:n,hasParenthesizedAncestor:u})}checkIdentifier(e,t,r=!1){this.state.strict&&(r?Qs(e.name,this.inModule):Xs(e.name))&&(t===sn?this.raise(Rs.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(Rs.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(Rs.LetInLexicalBinding,{at:e}),t&sn||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(Rs.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?Rs.RestTrailingComma:Rs.ElementAfterRest,{at:this.state.startLoc}),!0)}}function ui(e){if(!e)throw new Error("Assert fail")}const hi=Is`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function pi(e){return"private"===e||"public"===e||"protected"===e}function di(e){return"in"===e||"out"===e}function fi(e){if("MemberExpression"!==e.type)return!1;const{computed:t,property:r}=e;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&yi(e.object)}function mi(e,t){var r;const{type:s}=e;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===s){const{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===s||"BooleanLiteral"===s)return!0;return!(!gi(e,t)&&!function(e,t){if("UnaryExpression"===e.type){const{operator:r,argument:s}=e;if("-"===r&&gi(s,t))return!0}return!1}(e,t))||"TemplateLiteral"===s&&0===e.expressions.length||!!fi(e)}function gi(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function yi(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&yi(e.object)}const vi=Is`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function bi(e,t){const[r,s]="string"==typeof t?[t,{}]:t,n=Object.keys(s),i=0===n.length;return e.some((e=>{if("string"==typeof e)return i&&e===r;{const[t,i]=e;if(t!==r)return!1;for(const e of n)if(i[e]!==s[e])return!1;return!0}}))}function xi(e,t,r){const s=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return s&&Array.isArray(s)&&s.length>1?s[1][r]:null}const wi=["minimal","fsharp","hack","smart"],Si=["^^","@@","^","%","#"],Ei=["hash","bar"],_i={estree:e=>class extends e{parse(){const e=Ms(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(Ms)),e}parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const s=this.estreeParseLiteral(r);return s.regex={pattern:e,flags:t},s}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){const 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){const t=e.value;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;const r=e;return r.type="ExpressionStatement",r.expression=t,r.directive=t.extra.rawValue,delete t.extra,r}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,r,s,n){super.parseBlockBody(e,t,r,s,n);const i=e.directives.map((e=>this.directiveToStmt(e)));e.body=i.concat(e.body),delete e.directives}pushClassMethod(e,t,r,s,n,i){this.parseMethod(t,r,s,n,i,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const 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){const 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,s,n,i,o=!1){let a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,r,s,n,i,o),a.type="FunctionExpression",delete a.kind,e.value=a,"ClassPrivateMethod"===i&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t.computed=!1,t):t}parseObjectMethod(e,t,r,s,n){const i=super.parseObjectMethod(e,t,r,s,n);return i&&(i.type="Property","method"===i.kind&&(i.kind="init"),i.shorthand=!1),i}parseObjectProperty(e,t,r,s){const n=super.parseObjectProperty(e,t,r,s);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,t,r){return"Property"===e?"value":super.isValidLVal(e,t,r)}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)){const{key:r,value:s}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(s,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,r){"get"===e.kind||"set"===e.kind?this.raise(Rs.PatternHasAccessor,{at:e.key}):e.method?this.raise(Rs.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,r)}finishCallExpression(e,t){const r=super.finishCallExpression(e,t);var s;"Import"===r.callee.type&&(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAssertions")&&(r.attributes=null!=(s=r.arguments[1])?s:null),delete r.arguments,delete r.callee);return r}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){const r=this.state.lastTokStartLoc,s=super.parseExport(e,t);switch(s.type){case"ExportAllDeclaration":s.exported=null;break;case"ExportNamedDeclaration":1===s.specifiers.length&&"ExportNamespaceSpecifier"===s.specifiers[0].type&&(s.type="ExportAllDeclaration",s.exported=s.specifiers[0].exported,delete s.specifiers);case"ExportDefaultDeclaration":{var n;const{declaration:e}=s;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(n=e.decorators)?void 0:n.length)>0&&e.start===s.start&&this.resetStartLocation(s,r)}}return s}parseSubscript(e,t,r,s){const n=super.parseSubscript(e,t,r,s);if(s.optionalChainMember){if("OptionalMemberExpression"!==n.type&&"OptionalCallExpression"!==n.type||(n.type=n.type.substring(8)),s.stop){const e=this.startNodeAtNode(n);return e.expression=n,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==n.type&&"CallExpression"!==n.type||(n.optional=!1);return n}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}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 Ms(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t),Ms(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),Ms(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(si.UnterminatedJsxContent,{at:this.state.startLoc});const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?void(60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(r)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(139,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:gn(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=e?"\n":"\r\n"):r=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Rs.UnterminatedString,{at:this.state.startLoc});const s=this.input.charCodeAt(this.state.pos);if(s===e)break;38===s?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):gn(s)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(131,t)}jsxReadEntity(){const 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);const 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){const t=this.input.slice(e,this.state.pos),r=ri[t];if(++this.state.pos,r)return r}}return this.state.pos=e,"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Vs(e)||45===e);this.finishToken(138,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(138)?e.name=this.state.value:hs(this.state.type)?e.name=ps(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;const r=this.startNodeAt(e);return r.namespace=t,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){const r=this.startNodeAt(e);r.object=t,r.property=this.jsxParseIdentifier(),t=this.finishNode(r,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(Ur.brace),this.next(),e=this.jsxParseExpressionContainer(e,Ur.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(si.AttributeIsEmpty,{at:e}),e;case 140:case 131:return this.parseExprAtom();default:throw this.raise(si.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(Ur.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(Ur.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(Ur.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){const t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(141);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(141),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(141),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){const t=this.startNodeAt(e),r=[],s=this.jsxParseOpeningElementAt(e);let n=null;if(!s.selfClosing){e:for(;;)switch(this.state.type){case 140:if(e=this.state.startLoc,this.next(),this.eat(56)){n=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 139:r.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(Ur.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(e)):r.push(this.jsxParseExpressionContainer(e,Ur.j_expr));break}default:this.unexpected()}ni(s)&&!ni(n)&&null!==n?this.raise(si.MissingClosingTagFragment,{at:n}):!ni(s)&&ni(n)?this.raise(si.MissingClosingTagElement,{at:n,openingTagName:ii(s.name)}):ni(s)||ni(n)||ii(n.name)!==ii(s.name)&&this.raise(si.MissingClosingTagElement,{at:n,openingTagName:ii(s.name)})}if(ni(s)?(t.openingFragment=s,t.closingFragment=n):(t.openingElement=s,t.closingElement=n),t.children=r,this.match(47))throw this.raise(si.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return ni(s)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t!==Ur.j_expr){if(t===Ur.j_oTag||t===Ur.j_cTag){if(Ws(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(141);if((34===e||39===e)&&t===Ur.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(140);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){const{context:t,type:r}=this.state;if(56===r&&140===e)t.splice(-2,2,Ur.j_cTag),this.state.canStartJSXElement=!1;else if(140===r)t.push(Ur.j_oTag);else if(141===r){const r=t[t.length-1];r===Ur.j_oTag&&56===e||r===Ur.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===Ur.j_expr):(this.setContext(Ur.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=es[r]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return cn}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){131!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=ti.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"}}super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){const e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>t.index+1&&this.raise(Xn.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const 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();const t=e.id=this.parseIdentifier(),r=this.startNode(),s=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const n=this.flowParseFunctionTypeParams();return r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(s,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Xn.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e)):this.isContextual(128)?this.flowParseDeclareTypeAlias(e):this.isContextual(129)?this.flowParseDeclareOpaqueType(e):this.isContextual(127)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void 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(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();const 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(128)||this.match(87)||this.raise(Xn.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,Xn.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let s=null,n=!1;return r.forEach((e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(n&&this.raise(Xn.DuplicateDeclareModuleExports,{at:e}),"ES"===s&&this.raise(Xn.AmbiguousDeclareModuleKind,{at:e}),s="CommonJS",n=!0):("CommonJS"===s&&this.raise(Xn.AmbiguousDeclareModuleKind,{at:e}),s="ES")})),e.kind=s||"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(128)||this.isContextual(127))&&!t){const e=this.state.value;throw this.raise(Xn.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:ei[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:rn,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(t){if(this.eatContextual(115))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(111))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(){const 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,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Xn.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){Jn.has(e)&&this.raise(r?Xn.AssignReservedType:Xn.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,rn,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(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,rn,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){const t=this.state.startLoc,r=this.startNode(),s=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=s,r.bound=n.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Xn.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let r=!1;do{const 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(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);const 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(){const 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(){const e=this.startNode();if(this.expectContextual(127),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(132)||this.match(131)?super.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.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){const r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:s,allowInexact:n}){const i=this.state.inType;this.state.inType=!0;const o=this.startNode();let a,c;o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let l=!1;for(t&&this.match(6)?(this.expect(6),a=9,c=!0):(this.expect(5),a=8,c=!1),o.exact=c;!this.match(a);){let t=!1,i=null,a=null;const u=this.startNode();if(s&&this.isContextual(116)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),i=this.state.startLoc,e=!1)}if(e&&this.isContextual(104)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const h=this.flowParseVariance();if(this.eat(0))null!=i&&this.unexpected(i),this.eat(0)?(h&&this.unexpected(h.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))):o.indexers.push(this.flowParseObjectTypeIndexer(u,t,h));else if(this.match(10)||this.match(47))null!=i&&this.unexpected(i),h&&this.unexpected(h.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(u,t));else{let e="init";(this.isContextual(98)||this.isContextual(103))&&cs(this.lookahead().type)&&(e=this.state.value,this.next());const s=this.flowParseObjectTypeProperty(u,t,i,h,e,r,null!=n?n:!c);null===s?(l=!0,a=this.state.lastTokStartLoc):o.properties.push(s)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(Xn.UnexpectedExplicitInexactInObject,{at:a})}this.expect(a),r&&(o.inexact=l);const u=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=i,u}flowParseObjectTypeProperty(e,t,r,s,n,i,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(i?o||this.raise(Xn.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Xn.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),s&&this.raise(Xn.InexactVariance,{at:s}),null):(i||this.raise(Xn.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),s&&this.raise(Xn.SpreadVariance,{at:s}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),s&&this.unexpected(s.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!i&&"constructor"===e.key.name&&e.value.this&&this.raise(Xn.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=s),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Xn.GetterMayNotHaveThisParam:Xn.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?Rs.BadGetterArity:Rs.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(Rs.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let r=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const t=this.startNodeAt(e);t.qualification=r,t.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(t,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t){const r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const 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,s=null;const n=this.startNode(),i=this.lookahead(),o=78===this.state.type;return 14===i.type||17===i.type?(o&&!e&&this.raise(Xn.ThisParamMustBeFirst,{at:n}),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(Xn.ThisParamMayNotBeOptional,{at:n})),s=this.flowParseTypeInitialiser()):s=this.flowParseType(),n.name=t,n.optional=r,n.typeAnnotation=s,this.finishNode(n,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(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){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){const e=this.state.startLoc,t=this.startNode();let r,s,n=!1;const i=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,s=this.flowParseTupleType(),this.state.noAnonFunctionType=i,s;case 47:return t.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),r=this.flowParseFunctionTypeParams(),t.params=r.params,t.rest=r.rest,t.this=r._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),this.finishNode(t,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(os(this.state.type)||this.match(78)){const e=this.lookahead().type;n=17!==e&&14!==e}else n=!0;if(n){if(this.state.noAnonFunctionType=!1,s=this.flowParseType(),this.state.noAnonFunctionType=i,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),s;this.eat(12)}return r=s?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(s)]):this.flowParseFunctionTypeParams(),t.params=r.params,t.rest=r.rest,t.this=r._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(Xn.UnexpectedSubtractionOperand,{at:this.state.startLoc})}return void this.unexpected();case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(hs(this.state.type)){const e=ps(this.state.type);return this.next(),super.createIdentifier(t,e)}if(os(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const s=this.startNodeAt(e),n=this.eat(18);r=r||n,this.expect(0),!n&&this.match(3)?(s.elementType=t,this.next(),t=this.finishNode(s,"ArrayTypeAnnotation")):(s.objectType=t,s.indexType=this.flowParseType(),this.expect(3),r?(s.optional=n,t=this.finishNode(s,"OptionalIndexedAccessType")):t=this.finishNode(s,"IndexedAccessType"))}return t}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(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(){const e=this.startNode();this.eat(45);const 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(){const e=this.startNode();this.eat(43);const 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(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(130===this.state.type&&"_"===this.state.value){const e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const 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){t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t,r=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){if(as(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,r){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||os(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(os(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,r)}shouldParseExportDeclaration(){const{type:e}=this.state;return us(e)||this.shouldParseEnums()&&124===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return us(e)||this.shouldParseEnums()&&124===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(r),e}this.expect(17);const s=this.state.clone(),n=this.state.noArrowAt,i=this.startNodeAt(t);let{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[c,l]=this.getArrowLikeExpressions(o);if(a||l.length>0){const e=[...n];if(l.length>0){this.state=s,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:a}=this.tryParseConditionalConsequent()),[c,l]=this.getArrowLikeExpressions(o)}a&&c.length>1&&this.raise(Xn.AmbiguousConditionalArrow,{at:s.startLoc}),a&&1===c.length&&(this.state=s,e.push(c[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=n,this.expect(14),i.test=e,i.consequent=o,i.alternate=this.forwardNoArrowParamsConversionAt(i,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(i,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e],s=[];for(;0!==r.length;){const e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):s.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(s.forEach((e=>this.finishArrowValidation(e))),[s,[]]):function(e,t){const r=[],s=[];for(let n=0;n<e.length;n++)(t(e[n])?r:s).push(e[n]);return[r,s]}(s,(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){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"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,t){const r=super.parseExport(e,t);return"ExportNamedDeclaration"!==r.type&&"ExportAllDeclaration"!==r.type||(r.exportKind=r.exportKind||"value"),r}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(128)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const{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){const{startLoc:s}=this.state;if(this.isContextual(123)){if(super.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(Xn.DeclareClassElement,{at:s}):t.value&&this.raise(Xn.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(Rs.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(130,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);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):function(e,t,r){return 64===e&&64===t&&Ws(r)}(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}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(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];"TypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let s=0;s<e.length;s++){var r;const n=e[s];!n||"TypeCastExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized||!(e.length>1)&&t||this.raise(Xn.TypeCastInPattern,{at:n.typeAnnotation})}return e}parseArrayLike(e,t,r,s){const n=super.parseArrayLike(e,t,r,s);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,t,r){return"TypeCastExpression"===e||super.isValidLVal(e,t,r)}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,s,n,i){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,s,n,i),t.params&&n){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Xn.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&n&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Xn.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,s){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,s)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();const t=e.implements=[];do{const 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);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(Xn.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Xn.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,s,n,i,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!i&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const c=super.parseObjPropValue(e,t,r,s,n,i,o);return a&&((c.value||c).typeParameters=a),c}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Xn.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Xn.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Xn.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Xn.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){const r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Xn.TypeBeforeInitializer,{at:r.typeAnnotation}),r}shouldParseDefaultImport(e){return Qn(e)?Zn(this.state.type):super.shouldParseDefaultImport(e)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Xn.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}parseImportSpecifierLocal(e,t,r){t.local=Qn(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(128)&&(t="type"),t){const r=this.lookahead(),{type:s}=r;"type"===t&&55===s&&this.unexpected(null,r.type),(Zn(s)||5===s||55===s)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,s,n){const i=e.imported;let o=null;"Identifier"===i.type&&("type"===i.name?o="type":"typeof"===i.name&&(o="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===o||as(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=o,e.local=Kn(t))}else{if(null!==o&&as(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(Rs.ImportBindingIsString,{at:e,importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=Kn(e.imported))}const c=Qn(e);return r&&c&&this.raise(Xn.ImportTypeShorthandOnlyInPureImport,{at:e}),(r||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!a||r||c||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){const 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)){const 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 s,n=null;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(n=this.state.clone(),s=this.tryParse((()=>super.parseMaybeAssign(e,t)),n),!s.error)return s.node;const{context:r}=this.state,i=r[r.length-1];i!==Ur.j_oTag&&i!==Ur.j_expr||r.pop()}if(null!=(r=s)&&r.error||this.match(47)){var i,o;let r;n=n||this.state.clone();const a=this.tryParse((s=>{var n;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,(()=>{const s=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(s,r),s}));null!=(n=i.extra)&&n.parenthesized&&s();const o=this.maybeUnwrapTypeCastExpression(i);return"ArrowFunctionExpression"!==o.type&&s(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),i}),n);let c=null;if(a.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(a.node).type){if(!a.error&&!a.aborted)return a.node.async&&this.raise(Xn.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),a.node;c=a.node}if(null!=(i=s)&&i.node)return this.state=s.failState,s.node;if(c)return this.state=a.failState,c;if(null!=(o=s)&&o.thrown)throw s.error;if(a.thrown)throw a.error;throw this.raise(Xn.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const 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,s=!0){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(Xn.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,r,s)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();const r=this.startNodeAt(t);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const s=this.state.clone(),n=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),s);if(!n.error&&!n.aborted)return n.node;const i=this.tryParse((()=>super.parseSubscripts(e,t,r)),s);if(i.node&&!i.error)return i.node;if(n.node)return this.state=n.failState,n.node;if(i.node)return this.state=i.failState,i.node;throw n.error||i.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,s){if(this.match(18)&&this.isLookaheadToken_lt()){if(s.optionalChainMember=!0,r)return s.stop=!0,e;this.next();const n=this.startNodeAt(t);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){const r=this.startNodeAt(t);r.callee=e;const n=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=super.parseCallExpressionArguments(11,!1),s.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,s.optionalChainMember))));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,t,r,s)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){const 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){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Xn.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Xn.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const r=this.input.charCodeAt(t+e),s=this.input.charCodeAt(t+e+1);return 58===r&&58===s?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==s&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(Rs.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(Xn.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Xn.EnumInvalidMemberInitializerSymbolType:Xn.EnumInvalidMemberInitializerPrimaryType:Xn.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(Xn.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(Xn.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{const r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 131:{const r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{const 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(){const e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:s}=t;null!==s&&s!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set,s={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}const i=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),c=o.name;if(""===c)continue;/^[a-z]/.test(c)&&this.raise(Xn.EnumInvalidMemberName,{at:o,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),r.has(c)&&this.raise(Xn.EnumDuplicateMemberName,{at:o,memberName:c,enumName:e}),r.add(c);const l={enumName:e,explicitType:t,memberName:c};switch(i.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"boolean"),i.init=a.value,s.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"number"),i.init=a.value,s.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"string"),i.init=a.value,s.stringMembers.push(this.finishNode(i,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,l);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,l);break;default:s.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:s,hasUnknownMembers:n}}flowEnumStringMembers(e,t,{enumName:r}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!os(this.state.type))throw this.raise(Xn.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(Xn.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){const r=t.name,s=t.loc.start,n=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:i,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:n});switch(e.hasUnknownMembers=o,n){case"boolean":return e.explicitType=!0,e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=i.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const n=i.booleanMembers.length,o=i.numberMembers.length,a=i.stringMembers.length,c=i.defaultedMembers.length;if(n||o||a||c){if(n||o){if(!o&&!a&&n>=c){for(const e of i.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!n&&!a&&o>=c){for(const e of i.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Xn.EnumInconsistentMemberValues,{at:s,enumName:r}),t()}return e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody")}return t()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const 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{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:hi.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:hi.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:hi.InvalidModifierOnTypeParameter})}getScopeHandler(){return ai}tsIsIdentifier(){return os(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!os(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;const r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:r,errorTemplate:s=hi.InvalidModifierOnTypeMember},n){const i=(e,t,r,s)=>{t===r&&n[s]&&this.raise(hi.InvalidModifiersOrder,{at:e,orderedModifiers:[r,s]})},o=(e,t,r,s)=>{(n[r]&&t===s||n[s]&&t===r)&&this.raise(hi.IncompatibleModifiers,{at:e,modifiers:[r,s]})};for(;;){const{startLoc:a}=this.state,c=this.tsParseModifier(e.concat(null!=t?t:[]),r);if(!c)break;pi(c)?n.accessibility?this.raise(hi.DuplicateAccessibilityModifier,{at:a,modifier:c}):(i(a,c,c,"override"),i(a,c,c,"static"),i(a,c,c,"readonly"),n.accessibility=c):di(c)?(n[c]&&this.raise(hi.DuplicateModifier,{at:a,modifier:c}),n[c]=!0,i(a,c,"in","out")):(Object.hasOwnProperty.call(n,c)?this.raise(hi.DuplicateModifier,{at:a,modifier:c}):(i(a,c,"static","readonly"),i(a,c,"static","override"),i(a,c,"override","readonly"),i(a,c,"abstract","override"),o(a,c,"declare","override"),o(a,c,"static","abstract")),n[c]=!0),null!=t&&t.includes(c)&&this.raise(s,{at:a,modifier:c})}}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)}}tsParseList(e,t){const 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,s){const n=[];let i=-1;for(;!this.tsIsListTerminator(e);){i=-1;const s=t();if(null==s)return;if(n.push(s),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}i=this.state.lastTokStart}return s&&(s.value=i),n}tsParseBracketedList(e,t,r,s,n){s||(r?this.expect(0):this.expect(47));const i=this.tsParseDelimitedList(e,t,n);return r?this.expect(3):this.expect(48),i}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(hi.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.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);){const r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const 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();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const 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")}tsParseTypeParameter(e){const 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){const t=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();const r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(hi.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const r=19===e;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(hi.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(),!!os(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(47)){t&&this.raise(hi.ReadonlyForMethodSignature,{at:e});const s=r;s.kind&&this.match(47)&&this.raise(hi.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon();const n="parameters",i="typeAnnotation";if("get"===s.kind)s[n].length>0&&(this.raise(Rs.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(s[n][0])&&this.raise(hi.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===s.kind){if(1!==s[n].length)this.raise(Rs.BadSetterArity,{at:this.state.curPosition()});else{const e=s[n][0];this.isThisParam(e)&&this.raise(hi.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(hi.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(hi.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}s[i]&&this.raise(hi.SetAccesorCannotHaveReturnType,{at:s[i]})}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}{const e=r;t&&(e.readonly=!0);const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const 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))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);return this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(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(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{const{type:s}=e;!t||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&e.optional||this.raise(hi.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===s&&e.optional||"TSOptionalType"===s);let n=s;"TSRestType"===s&&(n=(e=e.typeAnnotation).type);const i="TSNamedTupleMember"===n;null!=r||(r=i),r!==i&&this.raise(hi.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,t=this.eat(21);let r,s,n,i;const o=as(this.state.type)?this.lookaheadCharCode():null;if(58===o)r=!0,n=!1,s=this.parseIdentifier(!0),this.expect(14),i=this.tsParseType();else if(63===o){n=!0;const e=this.state.startLoc,t=this.state.value,o=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(r=!0,s=this.createIdentifier(this.startNodeAt(e),t),this.expect(17),this.expect(14),i=this.tsParseType()):(r=!1,i=o,this.expect(17))}else i=this.tsParseType(),n=this.eat(17),r=this.eat(14);if(r){let e;s?(e=this.startNodeAtNode(s),e.optional=n,e.label=s,e.elementType=i,this.eat(17)&&(e.optional=!0,this.raise(hi.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(e=this.startNodeAtNode(i),e.optional=n,this.raise(hi.InvalidTupleMemberLabel,{at:i}),e.label=i,e.elementType=this.tsParseType()),i=this.finishNode(e,"TSNamedTupleMember")}else if(n){const e=this.startNodeAtNode(i);e.typeAnnotation=i,i=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=i,i=this.finishNode(t,"TSRestType")}return i}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const 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(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();return 132!==t.type&&133!==t.type&&this.unexpected(),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:{const{type:e}=this.state;if(os(e)||88===e||84===e){const 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()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const 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(hi.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(113);const 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)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=119&&e<=121&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){const s=this.startNode(),n=this.eat(r),i=[];do{i.push(t())}while(this.eat(r));return 1!==i.length||n?(s.types=i,this.finishNode(s,e)):i[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(os(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch(e){return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch(e){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const r=this.startNode(),s=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(s&&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")}const n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return s?(r.parameterName=this.parseIdentifier(),r.asserts=s,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const i=this.tsParseTypeAnnotation(!1);return r.parameterName=n,r.typeAnnotation=i,r.asserts=s,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(){const e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(107!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!os(this.state.type)&&!this.match(78)||(e&&this.raise(Rs.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(){ui(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const 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(122)&&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(hi.ReservedTypeAssertion,{at:this.state.startLoc});const e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(hi.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),t.declare&&(e.declare=!0),os(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(hi.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const 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),this.expect(29),this.isContextual(112)&&16!==this.lookahead().type){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const 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(){const e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),super.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)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(en),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(en),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,tn),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(hi.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const 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,super.parseFunctionStatement(e,!1,!1);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(124===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(110===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(127===r){const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return os(r)?this.tsParseDeclaration(e,this.state.value,!0,null):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,r){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(en),this.prodParam.enter(0);const 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,r)}}tsParseDeclaration(e,t,r,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||os(this.state.type)))return this.tsParseAbstractDeclaration(e,s);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(os(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&os(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&os(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const r=this.tsTryParseAndCatch((()=>{const t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,r?super.parseArrowExpression(r,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){const 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(hi.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=122&&e<=128;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.startLoc,s={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},s);const n=s.accessibility,i=s.override,o=s.readonly;4&e||!(n||o||i)||this.raise(hi.UnexpectedParameterModifier,{at:r});const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a,e);const c=this.parseMaybeDefault(a.loc.start,a);if(n||o||i){const e=this.startNodeAt(r);return t.length&&(e.decorators=t),n&&(e.accessibility=n),o&&(e.readonly=o),i&&(e.override=i),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(hi.UnsupportedParameterPropertyKind,{at:e}),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),c}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(hi.PatternIsOptional,{at:t})}setArrowFunctionParameters(e,t,r){super.setArrowFunctionParameters(e,t,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const s="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return s&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,s):"TSDeclareFunction"===s&&this.state.isAmbientContext&&(this.raise(hi.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,s,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(hi.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,r,s){const n=super.parseArrayLike(e,t,r,s);return"ArrayExpression"===n.type&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,t,r,s){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const r=this.startNodeAt(t);return r.expression=e,this.finishNode(r,"TSNonNullExpression")}let n=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return s.stop=!0,e;s.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let i;const o=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}const o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(n&&!this.match(10))return void(i=this.state.curPosition());if(fs(this.state.type)){const r=super.parseTaggedTemplateExpression(e,t,s);return r.typeParameters=o,r}if(!r&&this.eat(10)){const r=this.startNodeAt(t);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(r.arguments),r.typeParameters=o,s.optionalChainMember&&(r.optional=n),this.finishCallExpression(r,s.optionalChainMember)}const a=this.state.type;if(48===a||52===a||10!==a&&ls(a)&&!this.hasPrecedingLineBreak())return;const c=this.startNodeAt(t);return c.expression=e,c.typeParameters=o,this.finishNode(c,"TSInstantiationExpression")}));if(i&&this.unexpected(i,10),o)return"TSInstantiationExpression"===o.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(hi.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),o}return super.parseSubscript(e,t,r,s)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:r}=e;"TSInstantiationExpression"!==r.type||null!=(t=r.extra)&&t.parenthesized||(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,t,r){let s;if(ds(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(s=this.isContextual(118)))){const n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(s&&this.raise(Rs.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(n,s?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,s){this.state.isAmbientContext||super.checkReservedWord(e,t,r,s)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(hi.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",os(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(128)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),os(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}const t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(hi.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e,t){if(this.match(83))return this.next(),this.isContextual(128)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(126),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}if(e.exportKind="value",this.isContextual(128)){const t=this.lookaheadCharCode();123!==t&&42!==t||(this.next(),e.exportKind="type")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(122)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,r=!1){const{isAmbientContext:s}=this.state,n=super.parseVarStatement(e,t,r||s);if(!s)return n;for(const{id:e,init:r}of n.declarations)r&&("const"!==t||e.typeAnnotation?this.raise(hi.InitializerNotAllowedInAmbientContext,{at:r}):mi(r,this.hasPlugin("estree"))||this.raise(hi.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r}));return n}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){const 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=>pi(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){const s=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:s,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:hi.InvalidModifierOnTypeParameterPositions},t);const n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,s)&&this.raise(hi.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,t,r,s){const n=this.tsTryParseIndexSignature(t);if(n)return e.body.push(n),t.abstract&&this.raise(hi.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(hi.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(hi.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(hi.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(hi.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(hi.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,s)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(hi.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(hi.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t,r){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,r):void 0)||super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r);const s=this.tryParse((()=>super.parseConditional(e,t)));return s.node?(s.error&&(this.state=s.failState),s.node):(s.error&&super.setOptionalParametersError(r,s.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));const t=this.state.startLoc,r=this.eatContextual(123);if(r&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(hi.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});const s=os(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return s?(("TSInterfaceDeclaration"===s.type||"TSTypeAliasDeclaration"===s.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(s,t),s.declare=!0),s):null}parseClassId(e,t,r,s){if((!t||r)&&this.isContextual(111))return;super.parseClassId(e,t,r,e.declare?1024:8331);const n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&(!e.readonly||e.typeAnnotation)&&this.match(29)&&this.raise(hi.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){const{key:t}=e;this.raise(hi.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(hi.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(hi.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(hi.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,s,n,i){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&n&&this.raise(hi.ConstructorHasTypeParameters,{at:o});const{declare:a=!1,kind:c}=t;!a||"get"!==c&&"set"!==c||this.raise(hi.DeclareAccessor,{at:t,kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,s,n,i)}pushClassPrivateMethod(e,t,r,s){const n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(t.typeParameters=n),super.pushClassPrivateMethod(e,t,r,s)}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(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,r,s,n,i,o){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,r,s,n,i,o)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);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);const 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,t){var r,s,n,i,o,a,c;let l,u,h,p;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(l=this.state.clone(),u=this.tryParse((()=>super.parseMaybeAssign(e,t)),l),!u.error)return u.node;const{context:r}=this.state,s=r[r.length-1];s!==Ur.j_oTag&&s!==Ur.j_expr||r.pop()}if(!(null!=(r=u)&&r.error||this.match(47)))return super.parseMaybeAssign(e,t);l&&l!==this.state||(l=this.state.clone());const d=this.tryParse((r=>{var s,n;p=this.tsParseTypeParameters(this.tsParseConstModifier);const i=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==i.type||null!=(s=i.extra)&&s.parenthesized)&&r(),0!==(null==(n=p)?void 0:n.params.length)&&this.resetStartLocationFromNode(i,p),i.typeParameters=p,i}),l);if(!d.error&&!d.aborted)return p&&this.reportReservedArrowTypeParam(p),d.node;if(!u&&(ui(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(e,t)),l),!h.error))return h.node;if(null!=(s=u)&&s.node)return this.state=u.failState,u.node;if(d.node)return this.state=d.failState,p&&this.reportReservedArrowTypeParam(p),d.node;if(null!=(n=h)&&n.node)return this.state=h.failState,h.node;if(null!=(i=u)&&i.thrown)throw u.error;if(d.thrown)throw d.error;if(null!=(o=h)&&o.thrown)throw h.error;throw(null==(a=u)?void 0:a.error)||d.error||(null==(c=h)?void 0:c.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(hi.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const 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,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),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"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(hi.UnexpectedTypeCastInParameter,{at:e}):this.raise(hi.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"TSSatisfiesExpression":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"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return s={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==sn||!t)&&["expression",!0],TSSatisfiesExpression:(r!==sn||!t)&&["expression",!0],TSTypeAssertion:(r!==sn||!t)&&["expression",!0]},n=e,Object.hasOwnProperty.call(s,n)&&s[n]||super.isValidLVal(e,t,r);var s,n}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const 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,t){const r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(hi.TypeAnnotationAfterAssign,{at:r.typeAnnotation}),r}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];"TSTypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}super.toAssignableList(e,t,r)}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)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,r){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(hi.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,r,s,n,i,o){const a=super.parseMethod(e,t,r,s,n,i,o);if(a.abstract&&(this.hasPlugin("estree")?a.value.body:a.body)){const{key:e}=a;this.raise(hi.AbstractMethodHasImplementation,{at:a,methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return a}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,s){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,s))}parseImportSpecifier(e,t,r,s,n){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,s,r?4098:tn))}parseTypeOnlyImportExportSpecifier(e,t,r){const s=t?"imported":"local",n=t?"local":"exported";let i,o=e[s],a=!1,c=!0;const l=o.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const r=this.parseIdentifier();as(this.state.type)?(a=!0,o=e,i=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(i=r,c=!1)}else as(this.state.type)?(c=!1,i=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else as(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&r&&this.raise(t?hi.TypeModifierIsUsedInTypeImports:hi.TypeModifierIsUsedInTypeExports,{at:l}),e[s]=o,e[n]=i,e[t?"importKind":"exportKind"]=a?"type":"value",c&&this.eatContextual(93)&&(e[n]=t?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=Kn(e[s])),t&&this.checkIdentifier(e[n],a?4098:tn)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),os(this.state.type)){const e=this.parseIdentifierName(),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(142)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,r,s){void 0!==e&&super.checkReservedWord(e,t,r,s)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,r){return"Placeholder"===e||super.isValidLVal(e,t,r)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!!super.chStartsBindingIdentifier(e,t)||142===this.lookahead().type}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){const r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,t,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,r){const s=t?"ClassDeclaration":"ClassExpression";this.next();const n=this.state.strict,i=this.parsePlaceholder("Identifier");if(i){if(!(this.match(81)||this.match(142)||this.match(5))){if(r||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,s);throw this.raise(vi.ClassNameIsRequired,{at:this.state.startLoc})}e.id=i}else this.parseClassId(e,t,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,s)}parseExport(e,t){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const s=this.startNode();return s.exported=r,e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(ps(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(e)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),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()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(vi.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},Pi=Object.keys(_i);class Ti extends li{checkProto(e,t,r,s){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;const n=e.key;if("__proto__"===("Identifier"===n.type?n.name:n.value)){if(t)return void this.raise(Rs.RecordNoProto,{at:n});r.used&&(s?null===s.doubleProtoLoc&&(s.doubleProtoLoc=n.loc.start):this.raise(Rs.DuplicateProto,{at:n})),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(137)||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){const t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){const s=this.startNodeAt(t);for(s.expressions=[r];this.eat(12);)s.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(s.expressions),this.finishNode(s,"SequenceExpression")}return r}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=null==t?void 0:t.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){const r=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,r)),e}let s;e?s=!1:(e=new Vn,s=!0);const{type:n}=this.state;(10===n||os(n))&&(this.state.potentialArrowAt=this.state.start);let i=this.parseMaybeConditional(e);if(t&&(i=t.call(this,i,r)),(o=this.state.type)>=29&&o<=33){const t=this.startNodeAt(r),s=this.state.value;if(t.operator=s,this.match(29)){this.toAssignable(i,!0),t.left=i;const s=r.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=s&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=s&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=s&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=i;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(i,{in:this.finishNode(t,"AssignmentExpression")}),t}var o;return s&&this.checkExpressionErrors(e,!0),i}parseMaybeConditional(e){const t=this.state.startLoc,r=this.state.potentialArrowAt,s=this.parseExprOps(e);return this.shouldExitDescending(s,r)?s:this.parseConditional(s,t,e)}parseConditional(e,t,r){if(this.eat(17)){const r=this.startNodeAt(t);return r.test=e,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc,r=this.state.potentialArrowAt,s=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(s,r)?s:this.parseExprOp(s,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(r>=ds(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Rs.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const s=this.state.type;if((n=s)>=39&&n<=59&&(this.prodParam.hasIn||!this.match(58))){let n=ds(s);if(n>r){if(39===s){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const i=this.startNodeAt(t);i.left=e,i.operator=this.state.value;const o=41===s||42===s,a=40===s;if(a&&(n=ds(42)),this.next(),39===s&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(Rs.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});i.right=this.parseExprOpRightExpr(s,n);const c=this.finishNode(i,o||a?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(a&&(41===l||42===l)||o&&40===l)throw this.raise(Rs.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(c,t,r)}}var n;return e}parseExprOpRightExpr(e,t){const r=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(106))throw this.raise(Rs.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,57===e?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,r=this.parseMaybeAssign();return!As.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(Rs.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Rs.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(Rs.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){const r=this.state.startLoc,s=this.isContextual(96);if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r);return t||this.checkExponentialAfterUnary(e),e}const n=this.match(34),i=this.startNode();if(o=this.state.type,rs[o]){i.operator=this.state.value,i.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const r=this.match(89);if(this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){const e=i.argument;"Identifier"===e.type?this.raise(Rs.StrictDelete,{at:i}):this.hasPropertyAsPrivateName(e)&&this.raise(Rs.DeletePrivateField,{at:i})}if(!n)return t||this.checkExponentialAfterUnary(i),this.finishNode(i,"UnaryExpression")}var o;const a=this.parseUpdate(i,n,e);if(s){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?ls(e):ls(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Rs.AwaitNotInAsyncContext,{at:r}),this.parseAwait(r)}return a}parseUpdate(e,t,r){if(t){const t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}const s=this.state.startLoc;let n=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return n;for(;34===this.state.type&&!this.canInsertSemicolon();){const e=this.startNodeAt(s);e.operator=this.state.value,e.prefix=!1,e.argument=n,this.next(),this.checkLVal(n,{in:n=this.finishNode(e,"UpdateExpression")})}return n}parseExprSubscripts(e){const t=this.state.startLoc,r=this.state.potentialArrowAt,s=this.parseExprAtom(e);return this.shouldExitDescending(s,r)?s:this.parseSubscripts(s,t)}parseSubscripts(e,t,r){const s={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,s),s.maybeAsyncArrow=!1}while(!s.stop);return e}parseSubscript(e,t,r,s){const{type:n}=this.state;if(!r&&15===n)return this.parseBind(e,t,r,s);if(fs(n))return this.parseTaggedTemplateExpression(e,t,s);let i=!1;if(18===n){if(r&&(this.raise(Rs.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return s.stop=!0,e;s.optionalChainMember=i=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,s,i);{const r=this.eat(0);return r||i||this.eat(16)?this.parseMember(e,t,s,r,i):(s.stop=!0,e)}}parseMember(e,t,r,s,n){const i=this.startNodeAt(t);return i.object=e,i.computed=s,s?(i.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===e.type&&this.raise(Rs.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),r.optionalChainMember?(i.optional=n,this.finishNode(i,"OptionalMemberExpression")):this.finishNode(i,"MemberExpression")}parseBind(e,t,r,s){const n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),s.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,s){const n=this.state.maybeInArrowParameters;let i=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(t);o.callee=e;const{maybeAsyncArrow:a,optionalChainMember:c}=r;a&&(this.expressionScope.enter(new Bn(2)),i=new Vn),c&&(o.optional=s),o.arguments=s?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,i);let l=this.finishCallExpression(o,c);return a&&this.shouldParseAsyncArrow()&&!s?(r.stop=!0,this.checkDestructuringPrivate(i),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(a&&(this.checkExpressionErrors(i,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=n,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){const s=this.startNodeAt(t);return s.tag=e,s.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(Rs.OptionalChainingNoTemplate,{at:t}),this.finishNode(s,"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(Rs.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(Rs.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,s,n){const i=[];let o=!0;const a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(Rs.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),s&&this.addTrailingCommaExtraToNode(s),this.next();break}i.push(this.parseExprListItem(!1,n,r))}return this.state.inFSharpPipelineDirectBody=a,i}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&&hn(e,t.innerComments),t.callee.trailingComments&&hn(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,r=null;const{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(Rs.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 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131: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:{const 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:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(Rs.UnsupportedBind,{at:e})}case 136:return this.raise(Rs.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:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{const e=this.input.codePointAt(this.nextTokenStart());Ws(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(os(s)){if(this.isContextual(125)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(r));if(os(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}this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const 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=bs(this.state.endLoc,-1),this.parseTopicReference(r);this.unexpected()}parseTopicReference(e){const t=this.startNode(),r=this.state.startLoc,s=this.state.type;return this.next(),this.finishTopicReference(t,r,e,s)}finishTopicReference(e,t,r,s){if(this.testTopicReferenceConfiguration(r,t,s)){const s="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?Rs.PrimaryTopicNotAllowed:Rs.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,s)}throw this.raise(Rs.PipeTopicUnconfiguredToken,{at:t,token:ps(s)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ps(r)}]);case"smart":return 27===r;default:throw this.raise(Rs.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Hn(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Rs.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const 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(){const e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(Rs.UnexpectedSuper,{at:e}):this.raise(Rs.SuperNotAllowed,{at:e}),this.match(10)||this.match(0)||this.match(16)||this.raise(Rs.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(bs(this.state.startLoc,1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const 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;const s=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||s)&&this.raise(Rs.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(Rs.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){const 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){const t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.startLoc;let r;this.next(),this.expressionScope.enter(new Bn(1));const s=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const i=this.state.startLoc,o=[],a=new Vn;let c,l,u=!0;for(;!this.match(11);){if(u)u=!1;else if(this.expect(12,null===a.optionalParametersLoc?null:a.optionalParametersLoc),this.match(11)){l=this.state.startLoc;break}if(this.match(21)){const e=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(a,this.parseParenItem))}const h=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=s,this.state.inFSharpPipelineDirectBody=n;let p=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(p=this.parseArrow(p))?(this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(p,o,!1),p):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),l&&this.unexpected(l),c&&this.unexpected(c),this.checkExpressionErrors(a,!0),this.toReferencedListDeep(o,!0),o.length>1?(r=this.startNodeAt(i),r.expressions=o,this.finishNode(r,"SequenceExpression"),this.resetEndLocation(r,h)):r=o[0],this.wrapParenthesis(t,r))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;const r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(Rs.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){const 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(Rs.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){const{start:t,startLoc:r,end:s,value:n}=this.state,i=t+1,o=this.startNodeAt(bs(r,1));null===n&&(e||this.raise(Rs.InvalidEscapeSequenceTemplate,{at:bs(this.state.firstInvalidTemplateEscapePos,1)}));const a=this.match(24),c=a?-1:-2,l=s+c;o.value={raw:this.input.slice(i,l).replace(/\r\n?/g,"\n"),cooked:null===n?null:n.slice(1,c)},o.tail=a,this.next();const u=this.finishNode(o,"TemplateElement");return this.resetEndLocation(u,bs(this.state.lastTokEndLoc,c)),u}parseTemplate(e){const 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,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=Object.create(null);let o=!0;const a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(a);break}let n;t?n=this.parseBindingProperty():(n=this.parsePropertyDefinition(s),this.checkProto(n,r,i,s)),r&&!this.isObjectProperty(n)&&"SpreadElement"!==n.type&&this.raise(Rs.InvalidRecordProperty,{at:n}),n.shorthand&&this.addExtra(n,"shorthand",!0),a.properties.push(n)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(a,c)}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(Rs.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());const r=this.startNode();let s,n=!1,i=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(r.decorators=t,t=[]),r.method=!1,e&&(s=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(r);const a=this.state.containsEsc,c=this.parsePropertyName(r,e);if(!o&&!a&&this.maybeAsyncOrAccessorProp(r)){const e=c.name;"async"!==e||this.hasPrecedingLineBreak()||(n=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(r)),"get"!==e&&"set"!==e||(i=!0,this.resetPreviousNodeTrailingComments(c),r.kind=e,this.match(55)&&(o=!0,this.raise(Rs.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,s,o,n,!1,i,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e);s.length!==r&&this.raise("get"===e.kind?Rs.BadGetterArity:Rs.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=s[s.length-1])?void 0:t.type)&&this.raise(Rs.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,s,n){if(n){const r=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(r),r}if(r||t||this.match(10))return s&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,r,s){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(s),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,Kn(e.key));else if(this.match(29)){const r=this.state.startLoc;null!=s?null===s.shorthandAssignLoc&&(s.shorthandAssignLoc=r):this.raise(Rs.InvalidCoverInitializedName,{at:r}),e.value=this.parseMaybeDefault(t,Kn(e.key))}else e.value=Kn(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,s,n,i,o){const a=this.parseObjectMethod(e,r,s,n,i)||this.parseObjectProperty(e,t,n,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:r,value:s}=this.state;let n;if(as(r))n=this.parseIdentifier(!0);else switch(r){case 132:n=this.parseNumericLiteral(s);break;case 131:n=this.parseStringLiteral(s);break;case 133:n=this.parseBigIntLiteral(s);break;case 134:n=this.parseDecimalLiteral(s);break;case 136:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(Rs.UnexpectedPrivateField,{at:e}),n=this.parsePrivateName();break}default:this.unexpected()}e.key=n,136!==r&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,r,s,n,i,o=!1){this.initFunction(e,r),e.generator=t,this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(Hn(r,e.generator)),this.parseFunctionParams(e,s);const a=this.parseFunctionBodyAndFinish(e,i,!0);return this.prodParam.exit(),this.scope.exit(),a}parseArrayLike(e,t,r,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!r,s,i),this.state.inFSharpPipelineDirectBody=n,this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,s){this.scope.enter(6);let n=Hn(r,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(e,r);const i=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,s)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=i,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t,r=!1){return this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){const s=t&&!this.match(5);if(this.expressionScope.enter($n()),s)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const s=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(n=>{const i=!this.isSimpleParamList(e.params);n&&i&&this.raise(Rs.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});const o=!s&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||i),t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)})),this.prodParam.exit(),this.state.labels=n}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,s=!0){const n=!t&&new Set,i={type:"FormalParameters"};for(const t of e.params)this.checkLVal(t,{in:i,binding:5,checkClashes:n,strictModeChanged:s})}parseExprList(e,t,r,s){const n=[];let i=!0;for(;!this.eat(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){s&&this.addTrailingCommaExtraToNode(s),this.next();break}n.push(this.parseExprListItem(t,r))}return n}parseExprListItem(e,t,r){let s;if(this.match(12))e||this.raise(Rs.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),s=null;else if(this.match(21)){const e=this.state.startLoc;s=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(Rs.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});const e=this.startNode();this.next(),s=this.finishNode(e,"ArgumentPlaceholder")}else s=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return s}parseIdentifier(e){const t=this.startNode(),r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t;const{startLoc:r,type:s}=this.state;as(s)?t=this.state.value:this.unexpected();const n=s<=92;return e?n&&this.replaceToken(130):this.checkReservedWord(t,r,n,!1),this.next(),t}checkReservedWord(e,t,r,s){if(!(e.length>10)&&function(e){return Zs.has(e)}(e))if(r&&function(e){return zs.has(e)}(e))this.raise(Rs.UnexpectedKeyword,{at:t,keyword:e});else if((this.state.strict?s?Qs:Js:Ys)(e,this.inModule))this.raise(Rs.UnexpectedReservedWord,{at:t,reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(Rs.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(Rs.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(Rs.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(Rs.ArgumentsInClass,{at:t})}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e){const t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(Rs.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(Rs.ObsoleteAwaitStar,{at:t}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||fs(e)||101===e&&!this.state.containsEsc||135===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(Rs.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137: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(Rs.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}{const r=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),r.expression=e,this.finishNode(r,"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(Rs.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(Rs.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){const 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();{const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const 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){const t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const s=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const t=this.startNodeAt(this.state.endLoc);this.next();const r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const Ai={kind:"loop"},Ci={kind:"switch"},ki=/[\uD800-\uDFFF]/u,Oi=/in(?:stanceof)?/y;class Ni extends Ti{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++){const s=e[r],{type:n}=s;if("number"==typeof n){if(136===n){const{loc:t,start:n,value:i,end:o}=s,a=n+1,c=bs(t.start,1);e.splice(r,1,new Ln({type:ms(27),value:"#",start:n,end:a,startLoc:t.start,endLoc:c}),new Ln({type:ms(130),value:i,start:a,end:o,startLoc:c,endLoc:t.end})),r++;continue}if(fs(n)){const{loc:i,start:o,value:a,end:c}=s,l=o+1,u=bs(i.start,1);let h,p,d,f,m;h=96===t.charCodeAt(o)?new Ln({type:ms(22),value:"`",start:o,end:l,startLoc:i.start,endLoc:u}):new Ln({type:ms(8),value:"}",start:o,end:l,startLoc:i.start,endLoc:u}),24===n?(d=c-1,f=bs(i.end,-1),p=null===a?null:a.slice(1,-1),m=new Ln({type:ms(22),value:"`",start:d,end:c,startLoc:f,endLoc:i.end})):(d=c-2,f=bs(i.end,-2),p=null===a?null:a.slice(1,-2),m=new Ln({type:ms(23),value:"${",start:d,end:c,startLoc:f,endLoc:i.end})),e.splice(r,1,h,new Ln({type:ms(20),value:p,start:l,end:d,startLoc:u,endLoc:f}),m),r+=2;continue}s.type=ms(n)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=137,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(const[e,t]of Array.from(this.scope.undefinedExports))this.raise(Rs.ModuleExportUndefined,{at:t,localName:e});let s;return s=137===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",bs(this.state.startLoc,-1)),s}stmtToDirective(e){const t=e;t.type="Directive",t.value=t.expression,delete t.expression;const r=t.value,s=r.value,n=this.input.slice(r.start,r.end),i=r.value=n.slice(1,-1);return this.addExtra(r,"raw",n),this.addExtra(r,"rawValue",i),this.addExtra(r,"expressionValue",s),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(Ws(e)){if(Oi.lastIndex=t,Oi.test(this.input)){const e=this.codePointAtPos(Oi.lastIndex);if(!Vs(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){const e=this.lookahead();return!(101===e.type&&!e.containsEsc||(this.expectPlugin("explicitResourceManagement"),0))}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){const r=this.state.type,s=this.startNode(),n=!!(2&e),i=!!(4&e),o=1&e;switch(r){case 60:return this.parseBreakContinueStatement(s,!0);case 63:return this.parseBreakContinueStatement(s,!1);case 64:return this.parseDebuggerStatement(s);case 90:return this.parseDoWhileStatement(s);case 91:return this.parseForStatement(s);case 68:if(46===this.lookaheadCharCode())break;return i||this.raise(this.state.strict?Rs.StrictFunction:this.options.annexB?Rs.SloppyFunctionAnnexB:Rs.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(s,!1,!n&&i);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,s),!0);case 69:return this.parseIfStatement(s);case 70:return this.parseReturnStatement(s);case 71:return this.parseSwitchStatement(s);case 72:return this.parseThrowStatement(s);case 73:return this.parseTryStatement(s);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Rs.UnexpectedUsingDeclaration,{at:this.state.startLoc}):n||this.raise(Rs.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(s,"using");case 99:{if(this.state.containsEsc)break;const e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t){if(!n&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&123!==t)break}}case 75:n||this.raise(Rs.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{const e=this.state.value;return this.parseVarStatement(s,e)}case 92:return this.parseWhileStatement(s);case 76:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 83:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||o||this.raise(Rs.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===r?(e=this.parseImport(s),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(s,t),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return n||this.raise(Rs.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(s,!0,!n&&i)}const a=this.state.value,c=this.parseExpression();return os(r)&&"Identifier"===c.type&&this.eat(14)?this.parseLabeledStatement(s,a,c,e):this.parseExpressionStatement(s,c,t)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(Rs.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,r){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Rs.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Rs.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(Rs.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){const t=this.state.startLoc;let r;if(this.match(10)){const t=this.state.startLoc;this.next(),r=this.parseExpression(),this.expect(11),r=this.wrapParenthesis(t,r);const s=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(r),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==r&&this.raise(Rs.DecoratorArgumentsOutsideParentheses,{at:s})}else{for(r=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t);e.object=r,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,r=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(r)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const 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){const s=this.state.labels[r];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(t||"loop"===s.kind))break;if(e.label&&t)break}}if(r===this.state.labels.length){const r=t?"BreakStatement":"ContinueStatement";this.raise(Rs.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(Ai),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),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(Ai);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);const r=this.isContextual(99),s=this.isContextual(105)&&!this.hasFollowingLineBreak(),n=r&&this.hasFollowingBindingAtom()||s&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||n){const r=this.startNode(),n=this.state.value;this.next(),this.parseVar(r,!0,n);const i=this.finishNode(r,"VariableDeclaration"),o=this.match(58);return o&&s&&this.raise(Rs.ForInUsing,{at:i}),(o||this.isContextual(101))&&1===i.declarations.length?this.parseForIn(e,i,t):(null!==t&&this.unexpected(t),this.parseFor(e,i))}const i=this.isContextual(95),o=new Vn,a=this.parseExpression(!0,o),c=this.isContextual(101);if(c&&(r&&this.raise(Rs.ForOfLet,{at:a}),null===t&&i&&"Identifier"===a.type&&this.raise(Rs.ForOfAsync,{at:a})),c||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(a,!0);const r=c?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:r}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(o,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(Rs.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();const t=e.cases=[];let r;this.expect(5),this.state.labels.push(Ci),this.scope.enter(0);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){const s=this.match(61);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),s?r.test=this.parseExpression():(e&&this.raise(Rs.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),e=!0,r.test=null),this.expect(14)}else r?r.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Rs.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){const 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(Rs.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(Ai),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(Rs.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,s){for(const e of this.state.labels)e.name===t&&this.raise(Rs.LabelRedeclaration,{at:r,labelName:t});const n=(i=this.state.type)>=90&&i<=92?"loop":this.match(71)?"switch":null;var i;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=n}return this.state.labels.push({name:t,kind:n,statementStart:this.state.start}),e.body=8&s?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,r){const s=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(s,e,!1,8,r),t&&this.scope.exit(),this.finishNode(s,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,s,n){const i=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?o:void 0,r,s,n)}parseBlockOrModuleBlockBody(e,t,r,s,n){const i=this.state.strict;let o=!1,a=!1;for(;!this.match(s);){const s=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!a){if(this.isValidDirective(s)){const e=this.stmtToDirective(s);t.push(e),o||"use strict"!==e.value.value||(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(s)}n&&n.call(this,o),i||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())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const s=this.match(58);return this.next(),s?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"!==t.type||null==t.declarations[0].init||s&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(Rs.ForInOfLoopInitializer,{at:t,type:s?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(Rs.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")}parseVar(e,t,r,s=!1){const n=e.declarations=[];for(e.kind=r;;){const e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||s||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"!==r||this.match(58)||this.isContextual(101)||this.raise(Rs.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(Rs.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),n.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){"using"===t&&!this.inModule&&this.match(96)&&this.raise(Rs.AwaitInUsingBinding,{at:this.state.startLoc});const r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:"var"===t?5:rn}),e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const r=2&t,s=!!(1&t),n=s&&!(4&t),i=!!(8&t);this.initFunction(e,i),this.match(55)&&(r&&this.raise(Rs.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),s&&(e.id=this.parseFunctionId(n));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Hn(i,e.generator)),s||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,s?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),s&&!r&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||os(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new Fn(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:rn:17,e.id.loc.start)}parseClass(e,t,r){this.next();const s=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,s),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();const r={hadConstructor:!1,hadSuperClass:e};let s=[];const n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(s.length>0)throw this.raise(Rs.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){s.push(this.parseDecorator());continue}const e=this.startNode();s.length&&(e.decorators=s,this.resetStartLocationFromNode(e,s[0]),s=[]),this.parseClassMember(n,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(Rs.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),s.length)throw this.raise(Rs.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(!0);if(this.isClassMethod()){const s=t;return s.kind="method",s.computed=!1,s.key=r,s.static=!1,this.pushClassMethod(e,s,!1,!1,!1,!1),!0}if(this.isClassProperty()){const s=t;return s.computed=!1,s.key=r,s.static=!1,e.body.push(this.parseClassProperty(s)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){const s=this.isContextual(104);if(s){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,s)}parseClassMemberWithIsStatic(e,t,r,s){const n=t,i=t,o=t,a=t,c=t,l=n,u=n;if(t.static=s,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";const t=this.match(136);return this.parseClassElementName(l),t?void this.pushClassPrivateMethod(e,i,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(Rs.ConstructorIsGenerator,{at:n.key}),void this.pushClassMethod(e,n,!0,!1,!1,!1))}const h=os(this.state.type)&&!this.state.containsEsc,p=this.match(136),d=this.parseClassElementName(t),f=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(l.kind="method",p)return void this.pushClassPrivateMethod(e,i,!1,!1);const s=this.isNonstaticConstructor(n);let o=!1;s&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Rs.DuplicateConstructor,{at:d}),s&&this.hasPlugin("typescript")&&t.override&&this.raise(Rs.OverrideOnConstructor,{at:d}),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,s,o)}else if(this.isClassProperty())p?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(h&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);const t=this.eat(55);u.optional&&this.unexpected(f),l.kind="method";const r=this.match(136);this.parseClassElementName(l),this.parsePostMemberNameModifiers(u),r?this.pushClassPrivateMethod(e,i,t,!0):(this.isNonstaticConstructor(n)&&this.raise(Rs.ConstructorIsAsync,{at:n.key}),this.pushClassMethod(e,n,t,!0,!1,!1))}else if(!h||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(h&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);const t=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?p?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),l.kind=d.name;const t=this.match(136);this.parseClassElementName(n),t?this.pushClassPrivateMethod(e,i,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(Rs.ConstructorIsAccessor,{at:n.key}),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}}parseClassElementName(e){const{type:t,value:r}=this.state;if(130!==t&&131!==t||!e.static||"prototype"!==r||this.raise(Rs.StaticPrototype,{at:this.state.startLoc}),136===t){"constructor"===r&&this.raise(Rs.ConstructorClassPrivateField,{at:this.state.startLoc});const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);const s=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=s,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(Rs.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(Rs.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const 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){const e=t.key;"constructor"!==e.name&&"constructor"!==e.value||this.raise(Rs.ConstructorClassField,{at:e})}const s=this.parseClassAccessorProperty(t);e.body.push(s),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassMethod(e,t,r,s,n,i){e.body.push(this.parseMethod(t,r,s,n,i,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,s){const n=this.parseMethod(t,r,s,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);const i="get"===n.kind?n.static?6:2:"set"===n.kind?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,i)}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($n()),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,s=8331){if(os(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,s);else{if(!r&&t)throw this.raise(Rs.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const r=this.maybeParseExportDefaultSpecifier(e),s=!r||this.eat(12),n=s&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),o=s&&(!i||this.eat(12)),a=r||n;if(n&&!i){if(r&&this.unexpected(),t)throw this.raise(Rs.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}const c=this.maybeParseExportNamedSpecifiers(e);let l;if(r&&s&&!n&&!c&&this.unexpected(null,5),i&&o&&this.unexpected(null,97),a||c){if(l=!1,t)throw this.raise(Rs.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,a)}else l=this.maybeParseExportDeclaration(e);if(a||c||l){var u;const r=e;if(this.checkExport(r,!0,!1,!!r.source),"ClassDeclaration"===(null==(u=r.declaration)?void 0:u.type))this.maybeTakeDecorators(t,r.declaration,r);else if(t)throw this.raise(Rs.UnsupportedDecoratorExport,{at:e});return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){const r=e,s=this.parseExportDefaultExpression();if(r.declaration=s,"ClassDeclaration"===s.type)this.maybeTakeDecorators(t,s,r);else if(t)throw this.raise(Rs.UnsupportedDecoratorExport,{at:e});return this.checkExport(r,!0,!0),this.finishNode(r,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const 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=[]);const t=this.startNodeAt(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=[]);const 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;const e=this.nextTokenStart();return!fn.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Rs.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(Rs.UnsupportedDefaultExport,{at:this.state.startLoc});const t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(os(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((128===e||127===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(os(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||os(this.state.type)&&r)return!0;if(this.match(65)&&r){const 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);const t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Rs.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,s){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(n=t.extra)&&n.parenthesized||this.raise(Rs.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(const t of e.specifiers){const{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!s&&t.local){const{local:e}=t;"Identifier"!==e.type?this.raise(Rs.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){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(const t of e.declaration.declarations)this.checkDeclaration(t.id)}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const 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(Rs.DuplicateDefaultExport,{at:e}):this.raise(Rs.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;const s=this.isContextual(128),n=this.match(131),i=this.startNode();i.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(i,n,e,s))}return t}parseExportSpecifier(e,t,r,s){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=function(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o}=e;if("Placeholder"===t)return function(e){return Kn(e)}(e);const a=Object.create(Gn);return a.type=t,a.start=r,a.end=s,a.loc=n,a.range=i,void 0!==e.raw?a.raw=e.raw:a.extra=o,a.value=e.value,a}(e.local):e.exported||(e.exported=Kn(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(ki);return t&&this.raise(Rs.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some((({key:e,value:t})=>"json"===t.value&&("Identifier"===e.type?"type"===e.name:"type"===e.value)))}checkImportReflection(e){var t;e.module&&(1===e.specifiers.length&&"ImportDefaultSpecifier"===e.specifiers[0].type||this.raise(Rs.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),(null==(t=e.assertions)?void 0:t.length)>0&&this.raise(Rs.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start}))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=t){const e=t.find((e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==e&&this.raise(Rs.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){const e=this.lookahead(),r=e.type;os(r)?(97!==r||102===this.input.charCodeAt(this.nextTokenStartSince(e.end)))&&(t=!0):12!==r&&(t=!0)}t?(this.expectPlugin("importReflection"),this.next(),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return os(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t,r=8201){return this.checkLVal(e.local,{in:{type:t},binding:r}),this.finishNode(e,t)}parseAssertEntries(){const e=[],t=new Set;do{if(this.match(8))break;const r=this.startNode(),s=this.state.value;if(t.has(s)&&this.raise(Rs.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:s}),t.add(s),this.match(131)?r.key=this.parseStringLiteral(s):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(Rs.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();const e=[],t=new Set;do{const r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(Rs.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(Rs.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(131))throw this.raise(Rs.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);const 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)){const 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(Rs.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}const r=this.startNode(),s=this.match(131),n=this.isContextual(128);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,s,"type"===e.importKind||"typeof"===e.importKind,n,void 0);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,s,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:r}=e;if(t)throw this.raise(Rs.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=Kn(r))}return this.finishImportSpecifier(e,"ImportSpecifier",n)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}let Ii=class extends Ni{constructor(e,t){super(e=function(e){if(e&&null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");const t={};for(const r of Object.keys(Fr))t[r]=e&&null!=e[r]?e[r]:Fr[r];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const r of e){const[e,s]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,s||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return on}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};const Ri=function(e){const t={};for(const r of Object.keys(e))t[r]=ms(e[r]);return t}(is);function Li(e,t){let r=Ii;return null!=e&&e.plugins&&(function(e){if(bi(e,"decorators")){if(bi(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=xi(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const r=xi(e,"decorators","allowCallParenthesized");if(null!=r&&"boolean"!=typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(bi(e,"flow")&&bi(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(bi(e,"placeholders")&&bi(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(bi(e,"pipelineOperator")){const t=xi(e,"pipelineOperator","proposal");if(!wi.includes(t)){const e=wi.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=bi(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(bi(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(bi(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=xi(e,"pipelineOperator","topicToken");if(!Si.includes(t)){const e=Si.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(bi(e,"moduleAttributes")){if(bi(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==xi(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(bi(e,"recordAndTuple")&&null!=xi(e,"recordAndTuple","syntaxType")&&!Ei.includes(xi(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Ei.map((e=>`'${e}'`)).join(", "));if(bi(e,"asyncDoExpressions")&&!bi(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){const t=Pi.filter((t=>bi(e,t))),r=t.join("/");let s=Di[r];if(!s){s=Ii;for(const e of t)s=_i[e](s);Di[r]=s}return s}(e.plugins)),new r(e,t)}const Di={};var Mi=jr.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return Li(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const r=Li(t,e),s=r.parse();if(r.sawUnambiguousESM)return s;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Li(t,e).parse()}catch(e){}else s.program.sourceType="script";return s}catch(r){try{return t.sourceType="script",Li(t,e).parse()}catch(e){}throw r}},ji=jr.parseExpression=function(e,t){const r=Li(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()};jr.tokTypes=Ri;const Fi=e=>4===e.type&&e.isStatic,Bi=(e,t)=>e===t||e===st(t);function Ui(e){return Bi(e,"Teleport")?Rt:Bi(e,"Suspense")?Lt:Bi(e,"KeepAlive")?Dt:Bi(e,"BaseTransition")?Mt:void 0}const $i=/^\d|[^\$\w]/,qi=e=>!$i.test(e),Hi=/[A-Za-z_$\xA0-\uFFFF]/,Wi=/[\.\?\w$\xA0-\uFFFF]/,Vi=/\s+[.[]\s*|\s*[.[]\s+/g,zi=(e,t)=>{try{let r=ji(e,{plugins:t.expressionPlugins});return"TSAsExpression"!==r.type&&"TSTypeAssertion"!==r.type||(r=r.expression),"MemberExpression"===r.type||"OptionalMemberExpression"===r.type||"Identifier"===r.type}catch(e){return!1}},Gi=zi;function Ki(e,t,r){const s={source:e.source.slice(t,t+r),start:Yi(e.start,e.source,t),end:e.end};return null!=r&&(s.end=Yi(e.start,e.source,t+r)),s}function Yi(e,t,r=t.length){return Ji(qe({},e),t,r)}function Ji(e,t,r=t.length){let s=0,n=-1;for(let e=0;e<r;e++)10===t.charCodeAt(e)&&(s++,n=e);return e.offset+=r,e.line+=s,e.column=-1===n?e.column+r:r-n,e}function Xi(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Qi(e,t,r=!1){for(let s=0;s<e.props.length;s++){const n=e.props[s];if(7===n.type&&(r||n.exp)&&(ze(t)?n.name===t:t.test(n.name)))return n}}function Zi(e,t,r=!1,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(6===i.type){if(r)continue;if(i.name===t&&(i.value||s))return i}else if("bind"===i.name&&(i.exp||s)&&eo(i.arg,t))return i}}function eo(e,t){return!(!e||!Fi(e)||e.content!==t)}function to(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function ro(e){return 5===e.type||2===e.type}function so(e){return 7===e.type&&"slot"===e.name}function no(e){return 1===e.type&&3===e.tagType}function io(e){return 1===e.type&&2===e.tagType}const oo=new Set([sr,nr]);function ao(e,t=[]){if(e&&!ze(e)&&14===e.type){const r=e.callee;if(!ze(r)&&oo.has(r))return ao(e.arguments[0],t.concat(e))}return[e,t]}function co(e,t,r){let s,n,i=13===e.type?e.props:e.arguments[2],o=[];if(i&&!ze(i)&&14===i.type){const e=ao(i);i=e[0],o=e[1],n=o[o.length-1]}if(null==i||ze(i))s=Er([t]);else if(14===i.type){const e=i.arguments[0];ze(e)||15!==e.type?i.callee===ir?s=Ar(r.helper(er),[Er([t]),i]):i.arguments.unshift(Er([t])):lo(t,e)||e.properties.unshift(t),!s&&(s=i)}else 15===i.type?(lo(t,i)||i.properties.unshift(t),s=i):(s=Ar(r.helper(er),[Er([t]),i]),n&&n.callee===nr&&(n=o[o.length-2]));13===e.type?n?n.arguments[0]=s:e.props=s:n?n.arguments[0]=s:e.arguments[2]=s}function lo(e,t){let r=!1;if(4===e.key.type){const s=e.key.content;r=t.properties.some((e=>4===e.key.type&&e.key.content===s))}return r}function uo(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,r)=>"-"===t?"_":e.charCodeAt(r).toString()))}`}function ho(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++){const s=e.props[r];if(7===s.type&&(ho(s.arg,t)||ho(s.exp,t)))return!0}return e.children.some((e=>ho(e,t)));case 11:return!!ho(e.source,t)||e.children.some((e=>ho(e,t)));case 9:return e.branches.some((e=>ho(e,t)));case 10:return!!ho(e.condition,t)||e.children.some((e=>ho(e,t)));case 4:return!e.isStatic&&qi(e.content)&&!!t[e.content];case 8:return e.children.some((e=>Ke(e)&&ho(e,t)));case 5:case 12:return ho(e.content,t);default:return!1}}function po(e){return 14===e.type&&e.callee===mr?e.arguments[1].returns:e}const fo={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function mo(e,t){const r=t.options?t.options.compatConfig:t.compatConfig,s=r&&r[e];return"MODE"===e?s||3:s}function go(e,t,r,...s){if("suppress-warning"===mo(e,t))return;const{message:n,link:i}=fo[e],o=`(deprecation ${e}) ${"function"==typeof n?n(...s):n}${i?`\n Details: ${i}`:""}`,a=new SyntaxError(o);a.code=e,r&&(a.loc=r),t.onWarn(a)}const yo=/&(gt|lt|amp|apos|quot);/g,vo={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},bo={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Be,isPreTag:Be,isCustomElement:Be,decodeEntities:e=>e.replace(yo,((e,t)=>vo[t])),onError:Ct,onWarn:kt,comments:!0};function xo(e,t={}){const r=function(e,t){const r=qe({},bo);let s;for(s in t)r[s]=void 0===t[s]?bo[s]:t[s];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:r.onWarn}}(e,t),s=Do(r);return xr(wo(r,0,[]),Mo(r,s))}function wo(e,t,r){const s=jo(r),n=s?s.ns:0,i=[];for(;!Ho(e,t,r);){const o=e.source;let a;if(0===t||1===t)if(!e.inVPre&&Fo(o,e.options.delimiters[0]))a=Io(e,t);else if(0===t&&"<"===o[0])if(1===o.length)qo(e,5,1);else if("!"===o[1])Fo(o,"\x3c!--")?a=_o(e):Fo(o,"<!DOCTYPE")?a=Po(e):Fo(o,"<![CDATA[")?0!==n?a=Eo(e,r):(qo(e,1),a=Po(e)):(qo(e,11),a=Po(e));else if("/"===o[1])if(2===o.length)qo(e,5,2);else{if(">"===o[2]){qo(e,14,2),Bo(e,3);continue}if(/[a-z]/i.test(o[2])){qo(e,23),ko(e,Ao.End,s);continue}qo(e,12,2),a=Po(e)}else/[a-z]/i.test(o[1])?a=To(e,r):"?"===o[1]?(qo(e,21,1),a=Po(e)):qo(e,12,1);if(a||(a=Ro(e,t)),Ve(a))for(let e=0;e<a.length;e++)So(i,a[e]);else So(i,a)}let o=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let r=0;r<i.length;r++){const s=i[r];if(2===s.type)if(e.inPre)s.content=s.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(s.content))t&&(s.content=s.content.replace(/[\t\r\n\f ]+/g," "));else{const e=i[r-1],n=i[r+1];!e||!n||t&&(3===e.type&&3===n.type||3===e.type&&1===n.type||1===e.type&&3===n.type||1===e.type&&1===n.type&&/[\r\n]/.test(s.content))?(o=!0,i[r]=null):s.content=" "}else 3!==s.type||e.options.comments||(o=!0,i[r]=null)}if(e.inPre&&s&&e.options.isPreTag(s.tag)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return o?i.filter(Boolean):i}function So(e,t){if(2===t.type){const r=jo(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 Eo(e,t){Bo(e,9);const r=wo(e,3,t);return 0===e.source.length?qo(e,6):Bo(e,3),r}function _o(e){const t=Do(e);let r;const s=/--(\!)?>/.exec(e.source);if(s){s.index<=3&&qo(e,0),s[1]&&qo(e,10),r=e.source.slice(4,s.index);const t=e.source.slice(0,s.index);let n=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",n));)Bo(e,i-n+1),i+4<t.length&&qo(e,16),n=i+1;Bo(e,s.index+s[0].length-n+1)}else r=e.source.slice(4),Bo(e,e.source.length),qo(e,7);return{type:3,content:r,loc:Mo(e,t)}}function Po(e){const t=Do(e),r="?"===e.source[1]?1:2;let s;const n=e.source.indexOf(">");return-1===n?(s=e.source.slice(r),Bo(e,e.source.length)):(s=e.source.slice(r,n),Bo(e,n+1)),{type:3,content:s,loc:Mo(e,t)}}function To(e,t){const r=e.inPre,s=e.inVPre,n=jo(t),i=ko(e,Ao.Start,n),o=e.inPre&&!r,a=e.inVPre&&!s;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return o&&(e.inPre=!1),a&&(e.inVPre=!1),i;t.push(i);const c=e.options.getTextMode(i,n),l=wo(e,c,t);if(t.pop(),i.children=l,Wo(e.source,i.tag))ko(e,Ao.End,n);else if(qo(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=l[0];t&&Fo(t.loc.source,"\x3c!--")&&qo(e,8)}return i.loc=Mo(e,i.loc.start),o&&(e.inPre=!1),a&&(e.inVPre=!1),i}var Ao=(e=>(e[e.Start=0]="Start",e[e.End=1]="End",e))(Ao||{});const Co=Me("if,else,else-if,for,slot");function ko(e,t,r){const s=Do(e),n=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=n[1],o=e.options.getNamespace(i,r);Bo(e,n[0].length),Uo(e);const a=Do(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let l=Oo(e,t);0===t&&!e.inVPre&&l.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,qe(e,a),e.source=c,l=Oo(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length?qo(e,9):(u=Fo(e.source,"/>"),1===t&&u&&qo(e,4),Bo(e,u?2:1)),1===t)return;let h=0;return e.inVPre||("slot"===i?h=2:"template"===i?l.some((e=>7===e.type&&Co(e.name)))&&(h=3):function(e,t,r){const s=r.options;if(s.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Ui(e)||s.isBuiltInComponent&&s.isBuiltInComponent(e)||s.isNativeTag&&!s.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const r=t[e];if(6===r.type){if("is"===r.name&&r.value&&r.value.content.startsWith("vue:"))return!0}else{if("is"===r.name)return!0;"bind"===r.name&&eo(r.arg,"is")}}}(i,l,e)&&(h=1)),{type:1,ns:o,tag:i,tagType:h,props:l,isSelfClosing:u,children:[],loc:Mo(e,s),codegenNode:void 0}}function Oo(e,t){const r=[],s=new Set;for(;e.source.length>0&&!Fo(e.source,">")&&!Fo(e.source,"/>");){if(Fo(e.source,"/")){qo(e,22),Bo(e,1),Uo(e);continue}1===t&&qo(e,3);const n=No(e,s);6===n.type&&n.value&&"class"===n.name&&(n.value.content=n.value.content.replace(/\s+/g," ").trim()),0===t&&r.push(n),/^[^\t\r\n\f />]/.test(e.source)&&qo(e,15),Uo(e)}return r}function No(e,t){var r;const s=Do(e),n=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(n)&&qo(e,2),t.add(n),"="===n[0]&&qo(e,19);{const t=/["'<]/g;let r;for(;r=t.exec(n);)qo(e,17,r.index)}let i;Bo(e,n.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Uo(e),Bo(e,1),Uo(e),i=function(e){const t=Do(e);let r;const s=e.source[0],n='"'===s||"'"===s;if(n){Bo(e,1);const t=e.source.indexOf(s);-1===t?r=Lo(e,e.source.length,4):(r=Lo(e,t,4),Bo(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const s=/["'<=`]/g;let n;for(;n=s.exec(t[0]);)qo(e,18,n.index);r=Lo(e,t[0].length,4)}return{content:r,isQuoted:n,loc:Mo(e,t)}}(e),i||qo(e,13));const o=Mo(e,s);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(n)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(n);let a,c=Fo(n,"."),l=t[1]||(c||Fo(n,":")?"bind":Fo(n,"@")?"on":"slot");if(t[2]){const i="slot"===l,o=n.lastIndexOf(t[2],n.length-((null==(r=t[3])?void 0:r.length)||0)),c=Mo(e,$o(e,s,o),$o(e,s,o+t[2].length+(i&&t[3]||"").length));let u=t[2],h=!0;u.startsWith("[")?(h=!1,u.endsWith("]")?u=u.slice(1,u.length-1):(qo(e,27),u=u.slice(1))):i&&(u+=t[3]||""),a={type:4,content:u,isStatic:h,constType:h?3:0,loc:c}}if(i&&i.isQuoted){const e=i.loc;e.start.offset++,e.start.column++,e.end=Yi(e.start,i.content),e.source=e.source.slice(1,-1)}const u=t[3]?t[3].slice(1).split("."):[];return c&&u.push("prop"),{type:7,name:l,exp:i&&{type:4,content:i.content,isStatic:!1,constType:0,loc:i.loc},arg:a,modifiers:u,loc:o}}return!e.inVPre&&Fo(n,"v-")&&qo(e,26),{type:6,name:n,value:i&&{type:2,content:i.content,loc:i.loc},loc:o}}function Io(e,t){const[r,s]=e.options.delimiters,n=e.source.indexOf(s,r.length);if(-1===n)return void qo(e,25);const i=Do(e);Bo(e,r.length);const o=Do(e),a=Do(e),c=n-r.length,l=e.source.slice(0,c),u=Lo(e,c,t),h=u.trim(),p=u.indexOf(h);return p>0&&Ji(o,l,p),Ji(a,l,c-(u.length-h.length-p)),Bo(e,s.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:h,loc:Mo(e,o,a)},loc:Mo(e,i)}}function Ro(e,t){const r=3===t?["]]>"]:["<",e.options.delimiters[0]];let s=e.source.length;for(let t=0;t<r.length;t++){const n=e.source.indexOf(r[t],1);-1!==n&&s>n&&(s=n)}const n=Do(e);return{type:2,content:Lo(e,s,t),loc:Mo(e,n)}}function Lo(e,t,r){const s=e.source.slice(0,t);return Bo(e,t),2!==r&&3!==r&&s.includes("&")?e.options.decodeEntities(s,4===r):s}function Do(e){const{column:t,line:r,offset:s}=e;return{column:t,line:r,offset:s}}function Mo(e,t,r){return{start:t,end:r=r||Do(e),source:e.originalSource.slice(t.offset,r.offset)}}function jo(e){return e[e.length-1]}function Fo(e,t){return e.startsWith(t)}function Bo(e,t){const{source:r}=e;Ji(e,r,t),e.source=r.slice(t)}function Uo(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Bo(e,t[0].length)}function $o(e,t,r){return Yi(t,e.originalSource.slice(t.offset,r),r)}function qo(e,t,r,s=Do(e)){r&&(s.offset+=r,s.column+=r),e.options.onError(Ot(t,{start:s,end:s,source:""}))}function Ho(e,t,r){const s=e.source;switch(t){case 0:if(Fo(s,"</"))for(let e=r.length-1;e>=0;--e)if(Wo(s,r[e].tag))return!0;break;case 1:case 2:{const e=jo(r);if(e&&Wo(s,e.tag))return!0;break}case 3:if(Fo(s,"]]>"))return!0}return!s}function Wo(e,t){return Fo(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Vo(e,t){Go(e,t,zo(e,e.children[0]))}function zo(e,t){const{children:r}=e;return 1===r.length&&1===t.type&&!io(t)}function Go(e,t,r=!1){const{children:s}=e,n=s.length;let i=0;for(let e=0;e<s.length;e++){const n=s[e];if(1===n.type&&0===n.tagType){const e=r?0:Ko(n,t);if(e>0){if(e>=2){n.codegenNode.patchFlag="-1 /* HOISTED */",n.codegenNode=t.hoist(n.codegenNode),i++;continue}}else{const e=n.codegenNode;if(13===e.type){const r=Zo(e);if((!r||512===r||1===r)&&Xo(n,t)>=2){const r=Qo(n);r&&(e.props=t.hoist(r))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}if(1===n.type){const e=1===n.tagType;e&&t.scopes.vSlot++,Go(n,t),e&&t.scopes.vSlot--}else if(11===n.type)Go(n,t,1===n.children.length);else if(9===n.type)for(let e=0;e<n.branches.length;e++)Go(n.branches[e],t,1===n.branches[e].children.length)}i&&t.transformHoist&&t.transformHoist(s,t,e),i&&i===n&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&Ve(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Sr(e.codegenNode.children)))}function Ko(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const s=r.get(e);if(void 0!==s)return s;const n=e.codegenNode;if(13!==n.type)return 0;if(n.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Zo(n))return r.set(e,0),0;{let s=3;const i=Xo(e,t);if(0===i)return r.set(e,0),0;i<s&&(s=i);for(let n=0;n<e.children.length;n++){const i=Ko(e.children[n],t);if(0===i)return r.set(e,0),0;i<s&&(s=i)}if(s>1)for(let n=0;n<e.props.length;n++){const i=e.props[n];if(7===i.type&&"bind"===i.name&&i.exp){const n=Ko(i.exp,t);if(0===n)return r.set(e,0),0;n<s&&(s=n)}}if(n.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return r.set(e,0),0;t.removeHelper(jt),t.removeHelper(Rr(t.inSSR,n.isComponent)),n.isBlock=!1,t.helper(Ir(t.inSSR,n.isComponent))}return r.set(e,s),s}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Ko(e.content,t);case 4:return e.constType;case 8:let i=3;for(let r=0;r<e.children.length;r++){const s=e.children[r];if(ze(s)||Ge(s))continue;const n=Ko(s,t);if(0===n)return 0;n<i&&(i=n)}return i}}const Yo=new Set([tr,rr,sr,nr]);function Jo(e,t){if(14===e.type&&!ze(e.callee)&&Yo.has(e.callee)){const r=e.arguments[0];if(4===r.type)return Ko(r,t);if(14===r.type)return Jo(r,t)}return 0}function Xo(e,t){let r=3;const s=Qo(e);if(s&&15===s.type){const{properties:e}=s;for(let s=0;s<e.length;s++){const{key:n,value:i}=e[s],o=Ko(n,t);if(0===o)return o;let a;if(o<r&&(r=o),a=4===i.type?Ko(i,t):14===i.type?Jo(i,t):0,0===a)return a;a<r&&(r=a)}}return r}function Qo(e){const t=e.codegenNode;if(13===t.type)return t.props}function Zo(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function ea(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:n=!1,nodeTransforms:i=[],directiveTransforms:o={},transformHoist:a=null,isBuiltInComponent:c=Fe,isCustomElement:l=Fe,expressionPlugins:u=[],scopeId:h=null,slotted:p=!0,ssr:d=!1,inSSR:f=!1,ssrCssVars:m="",bindingMetadata:g=je,inline:y=!1,isTS:v=!1,onError:b=Ct,onWarn:x=kt,compatConfig:w}){const S=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),E={selfName:S&&nt(tt(S[1])),prefixIdentifiers:r,hoistStatic:s,cacheHandlers:n,nodeTransforms:i,directiveTransforms:o,transformHoist:a,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:u,scopeId:h,slotted:p,ssr:d,inSSR:f,ssrCssVars:m,bindingMetadata:g,inline:y,isTS:v,onError:b,onWarn:x,compatConfig:w,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,inVOnce:!1,helper(e){const t=E.helpers.get(e)||0;return E.helpers.set(e,t+1),e},removeHelper(e){const t=E.helpers.get(e);if(t){const r=t-1;r?E.helpers.set(e,r):E.helpers.delete(e)}},helperString:e=>`_${yr[E.helper(e)]}`,replaceNode(e){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(!E.parent)throw new Error("Cannot remove root node.");const t=E.parent.children,r=e?t.indexOf(e):E.currentNode?E.childIndex:-1;if(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){ze(e)?_(e):e.identifiers?e.identifiers.forEach(_):4===e.type&&_(e.content)},removeIdentifiers(e){ze(e)?P(e):e.identifiers?e.identifiers.forEach(P):4===e.type&&P(e.content)},hoist(e){ze(e)&&(e=Pr(e)),E.hoists.push(e);const t=Pr(`_hoisted_${E.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Or(E.cached++,e,t)};function _(e){const{identifiers:t}=E;void 0===t[e]&&(t[e]=0),t[e]++}function P(e){E.identifiers[e]--}return E}function ta(e,t){const r=ea(e,t);ra(e,r),t.hoistStatic&&Vo(e,r),t.ssr||function(e,t){const{helper:r}=t,{children:s}=e;if(1===s.length){const r=s[0];if(zo(e,r)&&r.codegenNode){const s=r.codegenNode;13===s.type&&Lr(s,t),e.codegenNode=s}else e.codegenNode=r}else if(s.length>1){let n=64,i=ct[64];1===s.filter((e=>3!==e.type)).length&&(n|=2048,i+=`, ${ct[2048]}`),e.codegenNode=wr(t,r(It),void 0,e.children,n+` /* ${i} */`,void 0,void 0,!0,void 0,!1)}}(e,r),e.helpers=new Set([...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 ra(e,t){t.currentNode=e;const{nodeTransforms:r}=t,s=[];for(let n=0;n<r.length;n++){const i=r[n](e,t);if(i&&(Ve(i)?s.push(...i):s.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(qt);break;case 5:t.ssr||t.helper(Zt);break;case 9:for(let r=0;r<e.branches.length;r++)ra(e.branches[r],t);break;case 10:case 11:case 1:case 0:!function(e,t){let r=0;const s=()=>{r--};for(;r<e.children.length;r++){const n=e.children[r];ze(n)||(t.parent=e,t.childIndex=r,t.onNodeRemoved=s,ra(n,t))}}(e,t)}t.currentNode=e;let n=s.length;for(;n--;)s[n]()}function sa(e,t){const r=ze(e)?t=>t===e:t=>e.test(t);return(e,s)=>{if(1===e.type){const{props:n}=e;if(3===e.tagType&&n.some(so))return;const i=[];for(let o=0;o<n.length;o++){const a=n[o];if(7===a.type&&r(a.name)){n.splice(o,1),o--;const r=t(e,a,s);r&&i.push(r)}}return i}}}var na={},ia={},oa={},aa={},ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");aa.encode=function(e){if(0<=e&&e<ca.length)return ca[e];throw new TypeError("Must be between 0 and 63: "+e)},aa.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 la=aa;oa.encode=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=la.encode(t)}while(s>0);return r},oa.decode=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=la.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t};var ua={};!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 s(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 n(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}e.urlParse=s,e.urlGenerate=n;var i,o,a=(i=function(t){var r=t,i=s(t);if(i){if(!i.path)return t;r=i.path}for(var o=e.isAbsolute(r),a=[],c=0,l=0;;){if(c=l,-1===(l=r.indexOf("/",c))){a.push(r.slice(c));break}for(a.push(r.slice(c,l));l<r.length&&"/"===r[l];)l++}var u,h=0;for(l=a.length-1;l>=0;l--)"."===(u=a[l])?a.splice(l,1):".."===u?h++:h>0&&(""===u?(a.splice(l+1,h),h=0):(a.splice(l,2),h--));return""===(r=a.join("/"))&&(r=o?"/":"."),i?(i.path=r,n(i)):r},o=[],function(e){for(var t=0;t<o.length;t++)if(o[t].input===e){var r=o[0];return o[0]=o[t],o[t]=r,o[0].result}var s=i(e);return o.unshift({input:e,result:s}),o.length>32&&o.pop(),s});function c(e,t){""===e&&(e="."),""===t&&(t=".");var i=s(t),o=s(e);if(o&&(e=o.path||"/"),i&&!i.scheme)return o&&(i.scheme=o.scheme),n(i);if(i||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,n(o);var c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=c,n(o)):c}e.normalize=a,e.join=c,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 s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function u(e){return e}function h(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(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 p(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=l?u:function(e){return h(e)?"$"+e:e},e.fromSetString=l?u:function(e){return h(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,r){var s=p(e.source,t.source);return 0!==s||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:p(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,r){var s;return 0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:p(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!=(s=e.generatedColumn-t.generatedColumn)||r||0!==(s=p(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:p(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,r){var s=e.generatedColumn-t.generatedColumn;return 0!==s||r||0!==(s=p(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:p(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=p(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:p(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 i=s(r);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=c(n(i),t)}return a(t)}}(ua);var ha={},pa=ua,da=Object.prototype.hasOwnProperty,fa="undefined"!=typeof Map;function ma(){this._array=[],this._set=fa?new Map:Object.create(null)}ma.fromArray=function(e,t){for(var r=new ma,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},ma.prototype.size=function(){return fa?this._set.size:Object.getOwnPropertyNames(this._set).length},ma.prototype.add=function(e,t){var r=fa?e:pa.toSetString(e),s=fa?this.has(e):da.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(fa?this._set.set(e,n):this._set[r]=n)},ma.prototype.has=function(e){if(fa)return this._set.has(e);var t=pa.toSetString(e);return da.call(this._set,t)},ma.prototype.indexOf=function(e){if(fa){var t=this._set.get(e);if(t>=0)return t}else{var r=pa.toSetString(e);if(da.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},ma.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},ma.prototype.toArray=function(){return this._array.slice()},ha.ArraySet=ma;var ga={},ya=ua;function va(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}va.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},va.prototype.add=function(e){var t,r,s,n,i,o;r=e,s=(t=this._last).generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||ya.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},va.prototype.toArray=function(){return this._sorted||(this._array.sort(ya.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},ga.MappingList=va;var ba=oa,xa=ua,wa=ha.ArraySet,Sa=ga.MappingList;function Ea(e){e||(e={}),this._file=xa.getArg(e,"file",null),this._sourceRoot=xa.getArg(e,"sourceRoot",null),this._skipValidation=xa.getArg(e,"skipValidation",!1),this._sources=new wa,this._names=new wa,this._mappings=new Sa,this._sourcesContents=null}Ea.prototype._version=3,Ea.fromSourceMap=function(e){var t=e.sourceRoot,r=new Ea({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=xa.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=xa.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},Ea.prototype.addMapping=function(e){var t=xa.getArg(e,"generated"),r=xa.getArg(e,"original",null),s=xa.getArg(e,"source",null),n=xa.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},Ea.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=xa.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[xa.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[xa.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Ea.prototype.applySourceMap=function(e,t,r){var s=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.');s=e.file}var n=this._sourceRoot;null!=n&&(s=xa.relative(n,s));var i=new wa,o=new wa;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=xa.join(r,t.source)),null!=n&&(t.source=xa.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=xa.join(r,t)),null!=n&&(t=xa.relative(n,t)),this.setSourceContent(t,s))}),this)},Ea.prototype._validateMapping=function(e,t,r,s){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||s)&&!(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:s}))},Ea.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,u="",h=this._mappings.toArray(),p=0,d=h.length;p<d;p++){if(e="",(t=h[p]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(p>0){if(!xa.compareByGeneratedPositionsInflated(t,h[p-1]))continue;e+=","}e+=ba.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=ba.encode(s-l),l=s,e+=ba.encode(t.originalLine-1-a),a=t.originalLine-1,e+=ba.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=ba.encode(r-c),c=r)),u+=e}return u},Ea.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=xa.relative(t,e));var r=xa.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},Ea.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},Ea.prototype.toString=function(){return JSON.stringify(this.toJSON())},ia.SourceMapGenerator=Ea;var _a={},Pa={};!function(e){function t(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?t(c,s,n,i,o,a):a==e.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?t(r,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:r<0?-1:r}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(r,s,n,i){if(0===s.length)return-1;var o=t(-1,s.length,r,s,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(s[o],s[o-1],!0);)--o;return o}}(Pa);var Ta={};function Aa(e){function t(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}return function e(r,s,n,i){if(n<i){var o=n-1;t(r,(u=n,h=i,Math.round(u+Math.random()*(h-u))),i);for(var a=r[i],c=n;c<i;c++)s(r[c],a,!1)<=0&&t(r,o+=1,c);t(r,o+1,c);var l=o+1;e(r,s,n,l-1),e(r,s,l+1,i)}var u,h}}let Ca=new WeakMap;Ta.quickSort=function(e,t,r=0){let s=Ca.get(t);void 0===s&&(s=function(e){let t=Aa.toString();return new Function(`return ${t}`)()(e)}(t),Ca.set(t,s)),s(e,t,r,e.length-1)};var ka=ua,Oa=Pa,Na=ha.ArraySet,Ia=oa,Ra=Ta.quickSort;function La(e,t){var r=e;return"string"==typeof e&&(r=ka.parseSourceMapInput(e)),null!=r.sections?new Ba(r,t):new Da(r,t)}function Da(e,t){var r=e;"string"==typeof e&&(r=ka.parseSourceMapInput(e));var s=ka.getArg(r,"version"),n=ka.getArg(r,"sources"),i=ka.getArg(r,"names",[]),o=ka.getArg(r,"sourceRoot",null),a=ka.getArg(r,"sourcesContent",null),c=ka.getArg(r,"mappings"),l=ka.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=ka.normalize(o)),n=n.map(String).map(ka.normalize).map((function(e){return o&&ka.isAbsolute(o)&&ka.isAbsolute(e)?ka.relative(o,e):e})),this._names=Na.fromArray(i.map(String),!0),this._sources=Na.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return ka.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Ma(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}La.fromSourceMap=function(e,t){return Da.fromSourceMap(e,t)},La.prototype._version=3,La.prototype.__generatedMappings=null,Object.defineProperty(La.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),La.prototype.__originalMappings=null,Object.defineProperty(La.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),La.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},La.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},La.GENERATED_ORDER=1,La.ORIGINAL_ORDER=2,La.GREATEST_LOWER_BOUND=1,La.LEAST_UPPER_BOUND=2,La.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||La.GENERATED_ORDER){case La.GENERATED_ORDER:s=this._generatedMappings;break;case La.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var i=this.sourceRoot,o=e.bind(n),a=this._names,c=this._sources,l=this._sourceMapURL,u=0,h=s.length;u<h;u++){var p=s[u],d=null===p.source?null:c.at(p.source);o({source:d=ka.computeSourceURL(i,d,l),generatedLine:p.generatedLine,generatedColumn:p.generatedColumn,originalLine:p.originalLine,originalColumn:p.originalColumn,name:null===p.name?null:a.at(p.name)})}},La.prototype.allGeneratedPositionsFor=function(e){var t=ka.getArg(e,"line"),r={source:ka.getArg(e,"source"),originalLine:t,originalColumn:ka.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",ka.compareByOriginalPositions,Oa.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:ka.getArg(i,"generatedLine",null),column:ka.getArg(i,"generatedColumn",null),lastColumn:ka.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:ka.getArg(i,"generatedLine",null),column:ka.getArg(i,"generatedColumn",null),lastColumn:ka.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},_a.SourceMapConsumer=La,Da.prototype=Object.create(La.prototype),Da.prototype.consumer=La,Da.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=ka.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},Da.fromSourceMap=function(e,t){var r=Object.create(Da.prototype),s=r._names=Na.fromArray(e._names.toArray(),!0),n=r._sources=Na.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 ka.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var u=i[c],h=new Ma;h.generatedLine=u.generatedLine,h.generatedColumn=u.generatedColumn,u.source&&(h.source=n.indexOf(u.source),h.originalLine=u.originalLine,h.originalColumn=u.originalColumn,u.name&&(h.name=s.indexOf(u.name)),a.push(h)),o.push(h)}return Ra(r.__originalMappings,ka.compareByOriginalPositions),r},Da.prototype._version=3,Object.defineProperty(Da.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const ja=ka.compareByGeneratedPositionsDeflatedNoLine;function Fa(e,t){let r=e.length,s=e.length-t;if(!(s<=1))if(2==s){let r=e[t],s=e[t+1];ja(r,s)>0&&(e[t]=s,e[t+1]=r)}else if(s<20)for(let s=t;s<r;s++)for(let r=s;r>t;r--){let t=e[r-1],s=e[r];if(ja(t,s)<=0)break;e[r-1]=s,e[r]=t}else Ra(e,ja,t)}function Ba(e,t){var r=e;"string"==typeof e&&(r=ka.parseSourceMapInput(e));var s=ka.getArg(r,"version"),n=ka.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Na,this._names=new Na;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=ka.getArg(e,"offset"),s=ka.getArg(r,"line"),n=ka.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new La(ka.getArg(e,"map"),t)}}))}Da.prototype._parseMappings=function(e,t){var r,s,n,i,o=1,a=0,c=0,l=0,u=0,h=0,p=e.length,d=0,f={},m=[],g=[];let y=0;for(;d<p;)if(";"===e.charAt(d))o++,d++,a=0,Fa(g,y),y=g.length;else if(","===e.charAt(d))d++;else{for((r=new Ma).generatedLine=o,n=d;n<p&&!this._charIsMappingSeparator(e,n);n++);for(e.slice(d,n),s=[];d<n;)Ia.decode(e,d,f),i=f.value,d=f.rest,s.push(i);if(2===s.length)throw new Error("Found a source, but no line and column");if(3===s.length)throw new Error("Found a source and line, but no column");if(r.generatedColumn=a+s[0],a=r.generatedColumn,s.length>1&&(r.source=u+s[1],u+=s[1],r.originalLine=c+s[2],c=r.originalLine,r.originalLine+=1,r.originalColumn=l+s[3],l=r.originalColumn,s.length>4&&(r.name=h+s[4],h+=s[4])),g.push(r),"number"==typeof r.originalLine){let e=r.source;for(;m.length<=e;)m.push(null);null===m[e]&&(m[e]=[]),m[e].push(r)}}Fa(g,y),this.__generatedMappings=g;for(var v=0;v<m.length;v++)null!=m[v]&&Ra(m[v],ka.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},Da.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Oa.search(e,t,n,i)},Da.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}},Da.prototype.originalPositionFor=function(e){var t={generatedLine:ka.getArg(e,"line"),generatedColumn:ka.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",ka.compareByGeneratedPositionsDeflated,ka.getArg(e,"bias",La.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=ka.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=ka.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=ka.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:ka.getArg(s,"originalLine",null),column:ka.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},Da.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},Da.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=ka.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=ka.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},Da.prototype.generatedPositionFor=function(e){var t=ka.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:ka.getArg(e,"line"),originalColumn:ka.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",ka.compareByOriginalPositions,ka.getArg(e,"bias",La.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:ka.getArg(n,"generatedLine",null),column:ka.getArg(n,"generatedColumn",null),lastColumn:ka.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},_a.BasicSourceMapConsumer=Da,Ba.prototype=Object.create(La.prototype),Ba.prototype.constructor=La,Ba.prototype._version=3,Object.defineProperty(Ba.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}}),Ba.prototype.originalPositionFor=function(e){var t={generatedLine:ka.getArg(e,"line"),generatedColumn:ka.getArg(e,"column")},r=Oa.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},Ba.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Ba.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Ba.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(ka.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Ba.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=ka.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}Ra(this.__generatedMappings,ka.compareByGeneratedPositionsDeflated),Ra(this.__originalMappings,ka.compareByOriginalPositions)},_a.IndexedSourceMapConsumer=Ba;var Ua={},$a=ia.SourceMapGenerator,qa=ua,Ha=/(\r?\n)/,Wa="$$$isSourceNode$$$";function Va(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this[Wa]=!0,null!=s&&this.add(s)}Va.fromStringWithSourceMap=function(e,t,r){var s=new Va,n=e.split(Ha),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,u(l,t),void(l=e)}u(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&u(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=qa.join(r,e)),s.setSourceContent(e,n))})),s;function u(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?qa.join(r,e.source):e.source;s.add(new Va(e.originalLine,e.originalColumn,n,t,e.name))}}},Va.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Wa]&&"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},Va.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Wa]&&"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},Va.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[Wa]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Va.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},Va.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Wa]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},Va.prototype.setSourceContent=function(e,t){this.sourceContents[qa.toSetString(e)]=t},Va.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Wa]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(qa.fromSetString(s[t]),this.sourceContents[s[t]])},Va.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Va.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new $a(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,u=e.length;l<u;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===u?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},Ua.SourceNode=Va;var za=na.SourceMapGenerator=ia.SourceMapGenerator;na.SourceMapConsumer=_a.SourceMapConsumer,na.SourceNode=Ua.SourceNode;const Ga="/*#__PURE__*/",Ka=e=>`${yr[e]}: _${yr[e]}`;function Ya(e,{mode:t="function",prefixIdentifiers:r="module"===t,sourceMap:s=!1,filename:n="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:u=!1,isTS:h=!1,inSSR:p=!1}){const d={mode:t,prefixIdentifiers:r,sourceMap:s,filename:n,scopeId:i,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:h,inSSR:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${yr[e]}`,push(e,t){if(d.code+=e,d.map){if(t){let e;if(4===t.type&&!t.isStatic){const r=t.content.replace(/^_ctx\./,"");r!==t.content&&qi(r)&&(e=r)}m(t.loc.start,e)}Ji(d,e),t&&t.loc!==br&&m(t.loc.end)}},indent(){f(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:f(--d.indentLevel)},newline(){f(d.indentLevel)}};function f(e){d.push("\n"+" ".repeat(e))}function m(e,t){d.map.addMapping({name:t,source:d.filename,original:{line:e.line,column:e.column-1},generated:{line:d.line,column:d.column-1}})}return s&&(d.map=new za,d.map.setSourceContent(n,d.source)),d}function Ja(e,t={}){const r=Ya(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:s,push:n,prefixIdentifiers:i,indent:o,deindent:a,newline:c,scopeId:l,ssr:u}=r,h=Array.from(e.helpers),p=h.length>0,d=!i&&"module"!==s,f=null!=l&&"module"===s,m=!!t.inline,g=m?Ya(e,t):r;"module"===s?function(e,t,r,s){const{push:n,newline:i,optimizeImports:o,runtimeModuleName:a,ssrRuntimeModuleName:c}=t;if(r&&e.hoists.length&&(e.helpers.add(ur),e.helpers.add(hr)),e.helpers.size){const t=Array.from(e.helpers);o?(n(`import { ${t.map((e=>yr[e])).join(", ")} } from ${JSON.stringify(a)}\n`),n(`\n// Binding optimization for webpack code-split\nconst ${t.map((e=>`_${yr[e]} = ${yr[e]}`)).join(", ")}\n`)):n(`import { ${t.map((e=>`${yr[e]} as _${yr[e]}`)).join(", ")} } from ${JSON.stringify(a)}\n`)}e.ssrHelpers&&e.ssrHelpers.length&&n(`import { ${e.ssrHelpers.map((e=>`${yr[e]} as _${yr[e]}`)).join(", ")} } from "${c}"\n`),e.imports.length&&(function(e,t){e.length&&e.forEach((e=>{t.push("import "),tc(e.exp,t),t.push(` from '${e.path}'`),t.newline()}))}(e.imports,t),i()),Qa(e.hoists,t),i(),s||n("export ")}(e,g,f,m):function(e,t){const{ssr:r,prefixIdentifiers:s,push:n,newline:i,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=r?`require(${JSON.stringify(o)})`:a,u=Array.from(e.helpers);u.length>0&&(s?n(`const { ${u.map(Ka).join(", ")} } = ${l}\n`):(n(`const _Vue = ${l}\n`),e.hoists.length&&n(`const { ${[Ut,$t,qt,Ht,Wt].filter((e=>u.includes(e))).map(Ka).join(", ")} } = _Vue\n`))),e.ssrHelpers&&e.ssrHelpers.length&&n(`const { ${e.ssrHelpers.map(Ka).join(", ")} } = require("${c}")\n`),Qa(e.hoists,t),i(),n("return ")}(e,g);const y=u?"ssrRender":"render",v=u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&v.push("$props","$setup","$data","$options");const b=t.isTS?v.map((e=>`${e}: any`)).join(","):v.join(", ");if(n(m?`(${b}) => {`:`function ${y}(${b}) {`),o(),d&&(n("with (_ctx) {"),o(),p&&(n(`const { ${h.map(Ka).join(", ")} } = _Vue`),n("\n"),c())),e.components.length&&(Xa(e.components,"component",r),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Xa(e.directives,"directive",r),e.temps>0&&c()),e.temps>0){n("let ");for(let t=0;t<e.temps;t++)n(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(n("\n"),c()),u||n("return "),e.codegenNode?tc(e.codegenNode,r):n("null"),d&&(a(),n("}")),a(),n("}"),{ast:e,code:r.code,preamble:m?g.code:"",map:r.map?r.map.toJSON():void 0}}function Xa(e,t,{helper:r,push:s,newline:n,isTS:i}){const o=r("component"===t?Vt:Gt);for(let r=0;r<e.length;r++){let a=e[r];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${uo(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${i?"!":""}`),r<e.length-1&&n()}}function Qa(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:s,helper:n,scopeId:i,mode:o}=t,a=null!=i&&"function"!==o;s(),a&&(r(`const _withScopeId = n => (${n(ur)}("${i}"),n=n(),${n(hr)}(),n)`),s());for(let n=0;n<e.length;n++){const i=e[n];if(i){const e=a&&13===i.type;r(`const _hoisted_${n+1} = ${e?`${Ga} _withScopeId(() => `:""}`),tc(i,t),e&&r(")"),s()}}t.pure=!1}function Za(e,t){const r=e.length>3||e.some((e=>Ve(e)||!function(e){return ze(e)||4===e.type||2===e.type||5===e.type||8===e.type}(e)));t.push("["),r&&t.indent(),ec(e,t,r),r&&t.deindent(),t.push("]")}function ec(e,t,r=!1,s=!0){const{push:n,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];ze(a)?n(a):Ve(a)?Za(a,t):tc(a,t),o<e.length-1&&(r?(s&&n(","),i()):s&&n(", "))}}function tc(e,t){if(ze(e))t.push(e);else if(Ge(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Xi(null!=e.codegenNode,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),tc(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:rc(e,t);break;case 5:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(Ga),r(`${s(Zt)}(`),tc(e.content,t),r(")")}(e,t);break;case 12:tc(e.codegenNode,t);break;case 8:sc(e,t);break;case 3:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(Ga),r(`${s(qt)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:r,helper:s,pure:n}=t,{tag:i,props:o,children:a,patchFlag:c,dynamicProps:l,directives:u,isBlock:h,disableTracking:p,isComponent:d}=e;u&&r(s(Yt)+"("),h&&r(`(${s(jt)}(${p?"true":""}), `),n&&r(Ga);r(s(h?Rr(t.inSSR,d):Ir(t.inSSR,d))+"(",e),ec(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,o,a,c,l]),t),r(")"),h&&r(")"),u&&(r(", "),tc(u,t),r(")"))}(e,t);break;case 14:!function(e,t){const{push:r,helper:s,pure:n}=t,i=ze(e.callee)?e.callee:s(e.callee);n&&r(Ga),r(i+"(",e),ec(e.arguments,t),r(")")}(e,t);break;case 15:!function(e,t){const{push:r,indent:s,deindent:n,newline:i}=t,{properties:o}=e;if(!o.length)return void r("{}",e);const a=o.length>1||o.some((e=>4!==e.value.type));r(a?"{":"{ "),a&&s();for(let e=0;e<o.length;e++){const{key:s,value:n}=o[e];nc(s,t),r(": "),tc(n,t),e<o.length-1&&(r(","),i())}a&&n(),r(a?"}":" }")}(e,t);break;case 17:!function(e,t){Za(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:r,indent:s,deindent:n}=t,{params:i,returns:o,body:a,newline:c,isSlot:l}=e;l&&r(`_${yr[pr]}(`),r("(",e),Ve(i)?ec(i,t):i&&tc(i,t),r(") => "),(c||a)&&(r("{"),s()),o?(c&&r("return "),Ve(o)?Za(o,t):tc(o,t)):a&&tc(a,t),(c||a)&&(n(),r("}")),l&&r(")")}(e,t);break;case 19:!function(e,t){const{test:r,consequent:s,alternate:n,newline:i}=e,{push:o,indent:a,deindent:c,newline:l}=t;if(4===r.type){const e=!qi(r.content);e&&o("("),rc(r,t),e&&o(")")}else o("("),tc(r,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),tc(s,t),t.indentLevel--,i&&l(),i||o(" "),o(": ");const u=19===n.type;u||t.indentLevel++,tc(n,t),u||t.indentLevel--,i&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:r,helper:s,indent:n,deindent:i,newline:o}=t;r(`_cache[${e.index}] || (`),e.isVNode&&(n(),r(`${s(lr)}(-1),`),o()),r(`_cache[${e.index}] = `),tc(e.value,t),e.isVNode&&(r(","),o(),r(`${s(lr)}(1),`),o(),r(`_cache[${e.index}]`),i()),r(")")}(e,t);break;case 21:ec(e.body,t,!0,!1);break;case 22:!function(e,t){const{push:r,indent:s,deindent:n}=t;r("`");const i=e.elements.length,o=i>3;for(let a=0;a<i;a++){const i=e.elements[a];ze(i)?r(i.replace(/(`|\$|\\)/g,"\\$1")):(r("${"),o&&s(),tc(i,t),o&&n(),r("}"))}r("`")}(e,t);break;case 23:ic(e,t);break;case 24:!function(e,t){tc(e.left,t),t.push(" = "),tc(e.right,t)}(e,t);break;case 25:!function(e,t){t.push("("),ec(e.expressions,t),t.push(")")}(e,t);break;case 26:!function({returns:e},t){t.push("return "),Ve(e)?Za(e,t):tc(e,t)}(e,t);break;case 10:break;default:return Xi(!1,`unhandled codegen node type: ${e.type}`),e}}function rc(e,t){const{content:r,isStatic:s}=e;t.push(s?JSON.stringify(r):r,e)}function sc(e,t){for(let r=0;r<e.children.length;r++){const s=e.children[r];ze(s)?t.push(s):tc(s,t)}}function nc(e,t){const{push:r}=t;8===e.type?(r("["),sc(e,t),r("]")):e.isStatic?r(qi(e.content)?e.content:JSON.stringify(e.content),e):r(`[${e.content}]`,e)}function ic(e,t){const{push:r,indent:s,deindent:n}=t,{test:i,consequent:o,alternate:a}=e;r("if ("),tc(i,t),r(") {"),s(),tc(o,t),n(),r("}"),a&&(r(" else "),23===a.type?ic(a,t):(r("{"),s(),tc(a,t),n(),r("}")))}class oc{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,s){e&&(null!==r?e[t][r]=s:e[t]=s)}remove(e,t,r){e&&(null!==r?e[t].splice(r,1):delete e[t])}}class ac extends oc{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,r,s){if(e){if(this.enter){const n=this.should_skip,i=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);const a=this.should_skip,c=this.should_remove;if(this.should_skip=n,this.should_remove=i,this.replacement=o,a)return e;if(c)return null}for(const t in e){const r=e[t];if("object"==typeof r)if(Array.isArray(r))for(let s=0;s<r.length;s+=1)null!==r[s]&&"string"==typeof r[s].type&&(this.visit(r[s],e,t,s)||s--);else null!==r&&"string"==typeof r.type&&this.visit(r,e,t,null)}if(this.leave){const n=this.replacement,i=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);const o=this.should_remove;if(this.replacement=n,this.should_remove=i,o)return null}}return e}}function cc(e,t,r=!1,s=[],n=Object.create(null)){const i="Program"===e.type&&"ExpressionStatement"===e.body[0].type&&e.body[0].expression;!function(e,{enter:t,leave:r}){new ac(t,r).visit(e,null)}(e,{enter(e,i){if(i&&s.push(i),i&&i.type.startsWith("TS")&&!vc.includes(i.type))return this.skip();if("Identifier"===e.type){const o=!!n[e.name],a=lc(e,i,s);(r||a&&!o)&&t(e,i,s,a,o)}else"ObjectProperty"===e.type&&"ObjectPattern"===i.type?e.inPattern=!0:mc(e)?hc(e,(t=>fc(e,t,n))):"BlockStatement"===e.type&&pc(e,(t=>fc(e,t,n)))},leave(e,t){if(t&&s.pop(),e!==i&&e.scopeIds)for(const t of e.scopeIds)n[t]--,0===n[t]&&delete n[t]}})}function lc(e,t,r){if(!t)return!0;if("arguments"===e.name)return!1;if(function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":case"ClassProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return t.local===e;case"TSEnumMember":return t.id!==e}return!0}(e,t))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return uc(t,r)}return!1}function uc(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const r=t[e];if("AssignmentExpression"===r.type)return!0;if("ObjectProperty"!==r.type&&!r.type.endsWith("Pattern"))break}}return!1}function hc(e,t){for(const r of e.params)for(const e of dc(r))t(e)}function pc(e,t){for(const r of e.body)if("VariableDeclaration"===r.type){if(r.declare)continue;for(const e of r.declarations)for(const r of dc(e.id))t(r)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;t(r.id)}}function dc(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":for(const r of e.properties)"RestElement"===r.type?dc(r.argument,t):dc(r.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&dc(e,t)}));break;case"RestElement":dc(e.argument,t);break;case"AssignmentPattern":dc(e.left,t)}return t}function fc(e,t,r){const{name:s}=t;e.scopeIds&&e.scopeIds.has(s)||(s in r?r[s]++:r[s]=1,(e.scopeIds||(e.scopeIds=new Set)).add(s))}const mc=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),gc=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,yc=(e,t)=>gc(t)&&t.key===e,vc=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],bc=Me("true,false,null,this"),xc=/\w\s*\(|\.[^\d]/,wc=(e,t)=>{if(5===e.type)e.content=Sc(e.content,t);else if(1===e.type)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"for"!==s.name){const e=s.exp,r=s.arg;!e||4!==e.type||"on"===s.name&&r||(s.exp=Sc(e,t,"slot"===s.name)),r&&4===r.type&&!r.isStatic&&(s.arg=Sc(r,t))}}};function Sc(e,t,r=!1,s=!1,n=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;const{inline:i,bindingMetadata:o}=t,a=(e,r,s)=>{const a=We(o,e)&&o[e];if(i){const i=r&&"AssignmentExpression"===r.type&&r.left===s,l=r&&"UpdateExpression"===r.type&&r.argument===s,u=r&&uc(r,d);if(_c(a)||"setup-reactive-const"===a||n[e])return e;if("setup-ref"===a)return`${e}.value`;if("setup-maybe-ref"===a)return i||l||u?`${e}.value`:`${t.helperString(dr)}(${e})`;if("setup-let"===a){if(i){const{right:s,operator:n}=r,i=Ec(Sc(Pr(c.slice(s.start-1,s.end-1),!1),t,!1,!1,f));return`${t.helperString(fr)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${e}.value ${n} ${i} : ${e}`}if(l){s.start=r.start,s.end=r.end;const{prefix:n,operator:i}=r,o=n?i:"",a=n?"":i;return`${t.helperString(fr)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${o}${e}.value${a} : ${o}${e}${a}`}return u?e:`${t.helperString(dr)}(${e})`}if("props"===a)return at(e);if("props-aliased"===a)return at(o.__propsAliases[e])}else{if(a&&a.startsWith("setup")||"literal-const"===a)return`$setup.${e}`;if("props-aliased"===a)return`$props['${o.__propsAliases[e]}']`;if(a)return`$${a}.${e}`}return`_ctx.${e}`},c=e.content,l=xc.test(c);if(qi(c)){const s=t.identifiers[c],n=ut(c),i=bc(c);return r||s||n||i?s||(e.constType=i?3:2):(_c(o[e.content])&&(e.constType=1),e.content=a(c)),e}let u;const h=s?` ${c} `:`(${c})${r?"=>{}":""}`;try{u=Mi(h,{plugins:t.expressionPlugins}).program}catch(r){return t.onError(Ot(45,e.loc,void 0,r.message)),e}const p=[],d=[],f=Object.create(t.identifiers);cc(u,((e,t,r,s,n)=>{if(yc(e,t))return;const i=s&&(!ut((o=e).name)&&"require"!==o.name);var o;i&&!n?(gc(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=a(e.name,t,e),p.push(e)):(i&&n||l||(e.isConstant=!0),p.push(e))}),!0,d,f);const m=[];let g;return p.sort(((e,t)=>e.start-t.start)),p.forEach(((t,r)=>{const s=t.start-1,n=t.end-1,i=p[r-1],o=c.slice(i?i.end-1:0,s);(o.length||t.prefix)&&m.push(o+(t.prefix||""));const a=c.slice(s,n);m.push(Pr(t.name,!1,{source:a,start:Yi(e.loc.start,a,s),end:Yi(e.loc.start,a,n)},t.isConstant?3:0)),r===p.length-1&&n<c.length&&m.push(c.slice(n))})),m.length?g=Tr(m,e.loc):(g=e,g.constType=l?0:3),g.identifiers=Object.keys(f),g}function Ec(e){return ze(e)?e:4===e.type?e.content:e.children.map(Ec).join("")}function _c(e){return"setup-const"===e||"literal-const"===e}const Pc=sa(/^(if|else|else-if)$/,((e,t,r)=>Tc(e,t,r,((e,t,s)=>{const n=r.parent.children;let i=n.indexOf(e),o=0;for(;i-- >=0;){const e=n[i];e&&9===e.type&&(o+=e.branches.length)}return()=>{if(s)e.codegenNode=Cc(t,o,r);else{const s=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);s.alternate=Cc(t,o+e.branches.length-1,r)}}}))));function Tc(e,t,r,s){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;r.onError(Ot(28,t.loc)),t.exp=Pr("true",!1,s)}if(r.prefixIdentifiers&&t.exp&&(t.exp=Sc(t.exp,r)),"if"===t.name){const n=Ac(e,t),i={type:9,loc:e.loc,branches:[n]};if(r.replaceNode(i),s)return s(i,n,!0)}else{const n=r.parent.children,i=[];let o=n.indexOf(e);for(;o-- >=-1;){const a=n[o];if(a&&3===a.type)r.removeNode(a),i.unshift(a);else{if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&r.onError(Ot(30,e.loc)),r.removeNode();const n=Ac(e,t);!i.length||r.parent&&1===r.parent.type&&Bi(r.parent.tag,"transition")||(n.children=[...i,...n.children]);{const e=n.userKey;e&&a.branches.forEach((({userKey:t})=>{Oc(t,e)&&r.onError(Ot(29,n.userKey.loc))}))}a.branches.push(n);const o=s&&s(a,n,!1);ra(n,r),o&&o(),r.currentNode=null}else r.onError(Ot(30,e.loc));break}r.removeNode(a)}}}}function Ac(e,t){const r=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:r&&!Qi(e,"for")?e.children:[e],userKey:Zi(e,"key"),isTemplateIf:r}}function Cc(e,t,r){return e.condition?kr(e.condition,kc(e,t,r),Ar(r.helper(qt),['"v-if"',"true"])):kc(e,t,r)}function kc(e,t,r){const{helper:s}=r,n=_r("key",Pr(`${t}`,!1,br,2)),{children:i}=e,o=i[0];if(1!==i.length||1!==o.type){if(1===i.length&&11===o.type){const e=o.codegenNode;return co(e,n,r),e}{let t=64,o=ct[64];return e.isTemplateIf||1!==i.filter((e=>3!==e.type)).length||(t|=2048,o+=`, ${ct[2048]}`),wr(r,s(It),Er([n]),i,t+` /* ${o} */`,void 0,void 0,!0,!1,!1,e.loc)}}{const e=o.codegenNode,t=po(e);return 13===t.type&&Lr(t,r),co(t,n,r),e}}function Oc(e,t){if(!e||e.type!==t.type)return!1;if(6===e.type){if(e.value.content!==t.value.content)return!1}else{const r=e.exp,s=t.exp;if(r.type!==s.type)return!1;if(4!==r.type||r.isStatic!==s.isStatic||r.content!==s.content)return!1}return!0}const Nc=sa("for",((e,t,r)=>{const{helper:s,removeHelper:n}=r;return Ic(e,t,r,(t=>{const i=Ar(s(Jt),[t.source]),o=no(e),a=Qi(e,"memo"),c=Zi(e,"key"),l=c&&(6===c.type?Pr(c.value.content,!0):c.exp),u=c?_r("key",l):null;o&&(a&&(a.exp=Sc(a.exp,r)),u&&6!==c.type&&(u.value=Sc(u.value,r)));const h=4===t.source.type&&t.source.constType>0,p=h?64:c?128:256;return t.codegenNode=wr(r,s(It),void 0,i,p+` /* ${ct[p]} */`,void 0,void 0,!0,!h,!1,e.loc),()=>{let c;const{children:p}=t;o&&e.children.some((e=>{if(1===e.type){const t=Zi(e,"key");if(t)return r.onError(Ot(33,t.loc)),!0}}));const d=1!==p.length||1!==p[0].type,f=io(e)?e:o&&1===e.children.length&&io(e.children[0])?e.children[0]:null;if(f?(c=f.codegenNode,o&&u&&co(c,u,r)):d?c=wr(r,s(It),u?Er([u]):void 0,e.children,`64 /* ${ct[64]} */`,void 0,void 0,!0,void 0,!1):(c=p[0].codegenNode,o&&u&&co(c,u,r),c.isBlock!==!h&&(c.isBlock?(n(jt),n(Rr(r.inSSR,c.isComponent))):n(Ir(r.inSSR,c.isComponent))),c.isBlock=!h,c.isBlock?(s(jt),s(Rr(r.inSSR,c.isComponent))):s(Ir(r.inSSR,c.isComponent))),a){const e=Cr(Fc(t.parseResult,[Pr("_cached")]));e.body=Nr([Tr(["const _memo = (",a.exp,")"]),Tr(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${r.helperString(gr)}(_cached, _memo)) return _cached`]),Tr(["const _item = ",c]),Pr("_item.memo = _memo"),Pr("return _item")]),i.arguments.push(e,Pr("_cache"),Pr(String(r.cached++)))}else i.arguments.push(Cr(Fc(t.parseResult),c,!0))}}))}));function Ic(e,t,r,s){if(!t.exp)return void r.onError(Ot(31,t.loc));const n=Mc(t.exp,r);if(!n)return void r.onError(Ot(32,t.loc));const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=r,{source:c,value:l,key:u,index:h}=n,p={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:h,parseResult:n,children:no(e)?e.children:[e]};r.replaceNode(p),a.vFor++,r.prefixIdentifiers&&(l&&i(l),u&&i(u),h&&i(h));const d=s&&s(p);return()=>{a.vFor--,r.prefixIdentifiers&&(l&&o(l),u&&o(u),h&&o(h)),d&&d()}}const Rc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Lc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Dc=/^\(|\)$/g;function Mc(e,t){const r=e.loc,s=e.content,n=s.match(Rc);if(!n)return;const[,i,o]=n,a={source:jc(r,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};t.prefixIdentifiers&&(a.source=Sc(a.source,t));let c=i.trim().replace(Dc,"").trim();const l=i.indexOf(c),u=c.match(Lc);if(u){c=c.replace(Lc,"").trim();const e=u[1].trim();let n;if(e&&(n=s.indexOf(e,l+c.length),a.key=jc(r,e,n),t.prefixIdentifiers&&(a.key=Sc(a.key,t,!0))),u[2]){const i=u[2].trim();i&&(a.index=jc(r,i,s.indexOf(i,a.key?n+e.length:l+c.length)),t.prefixIdentifiers&&(a.index=Sc(a.index,t,!0)))}}return c&&(a.value=jc(r,c,l),t.prefixIdentifiers&&(a.value=Sc(a.value,t,!0))),a}function jc(e,t,r){return Pr(t,!1,Ki(e,r,t.length))}function Fc({value:e,key:t,index:r},s=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Pr("_".repeat(t+1),!1)))}([e,t,r,...s])}const Bc=Pr("undefined",!1),Uc=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const r=Qi(e,"slot");if(r){const e=r.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},$c=(e,t)=>{let r;if(no(e)&&e.props.some(so)&&(r=Qi(e,"for"))){const e=r.parseResult=Mc(r.exp,t);if(e){const{value:r,key:s,index:n}=e,{addIdentifiers:i,removeIdentifiers:o}=t;return r&&i(r),s&&i(s),n&&i(n),()=>{r&&o(r),s&&o(s),n&&o(n)}}}},qc=(e,t,r)=>Cr(e,t,!1,!0,t.length?t[0].loc:r);function Hc(e,t,r=qc){t.helper(pr);const{children:s,loc:n}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(a=ho(e,t.identifiers));const c=Qi(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!Fi(e)&&(a=!0),i.push(_r(e||Pr("default",!0),r(t,s,n)))}let l=!1,u=!1;const h=[],p=new Set;let d=0;for(let e=0;e<s.length;e++){const n=s[e];let f;if(!no(n)||!(f=Qi(n,"slot",!0))){3!==n.type&&h.push(n);continue}if(c){t.onError(Ot(37,f.loc));break}l=!0;const{children:m,loc:g}=n,{arg:y=Pr("default",!0),exp:v,loc:b}=f;let x;Fi(y)?x=y?y.content:"default":a=!0;const w=r(v,m,g);let S,E,_;if(S=Qi(n,"if"))a=!0,o.push(kr(S.exp,Wc(y,w,d++),Bc));else if(E=Qi(n,/^else(-if)?$/,!0)){let r,n=e;for(;n--&&(r=s[n],3===r.type););if(r&&no(r)&&Qi(r,"if")){s.splice(e,1),e--;let t=o[o.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=E.exp?kr(E.exp,Wc(y,w,d++),Bc):Wc(y,w,d++)}else t.onError(Ot(30,E.loc))}else if(_=Qi(n,"for")){a=!0;const e=_.parseResult||Mc(_.exp,t);e?o.push(Ar(t.helper(Jt),[e.source,Cr(Fc(e),Wc(y,w),!0)])):t.onError(Ot(32,_.loc))}else{if(x){if(p.has(x)){t.onError(Ot(38,b));continue}p.add(x),"default"===x&&(u=!0)}i.push(_r(y,w))}}if(!c){const e=(e,t)=>_r("default",r(e,t,n));l?h.length&&h.some((e=>zc(e)))&&(u?t.onError(Ot(39,h[0].loc)):i.push(e(void 0,h))):i.push(e(void 0,s))}const f=a?2:Vc(e.children)?3:1;let m=Er(i.concat(_r("_",Pr(f+` /* ${lt[f]} */`,!1))),n);return o.length&&(m=Ar(t.helper(Qt),[m,Sr(o)])),{slots:m,hasDynamicSlots:a}}function Wc(e,t,r){const s=[_r("name",e),_r("fn",t)];return null!=r&&s.push(_r("key",Pr(String(r),!0))),Er(s)}function Vc(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(2===r.tagType||Vc(r.children))return!0;break;case 9:if(Vc(r.branches))return!0;break;case 10:case 11:if(Vc(r.children))return!0}}return!1}function zc(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():zc(e.content))}const Gc=new WeakMap,Kc=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:r,props:s}=e,n=1===e.tagType;let i=n?Yc(e,t):`"${r}"`;const o=Ke(i)&&i.callee===zt;let a,c,l,u,h,p,d=0,f=o||i===Rt||i===Lt||!n&&("svg"===r||"foreignObject"===r);if(s.length>0){const r=Xc(e,t,void 0,n,o);a=r.props,d=r.patchFlag,h=r.dynamicPropNames;const s=r.directives;p=s&&s.length?Sr(s.map((e=>el(e,t)))):void 0,r.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(i===Dt&&(f=!0,d|=1024,e.children.length>1&&t.onError(Ot(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),n&&i!==Rt&&i!==Dt){const{slots:r,hasDynamicSlots:s}=Hc(e,t);c=r,s&&(d|=1024)}else if(1===e.children.length&&i!==Rt){const r=e.children[0],s=r.type,n=5===s||8===s;n&&0===Ko(r,t)&&(d|=1),c=n||2===s?r:e.children}else c=e.children;if(0!==d){if(d<0)l=d+` /* ${ct[d]} */`;else{const e=Object.keys(ct).map(Number).filter((e=>e>0&&d&e)).map((e=>ct[e])).join(", ");l=d+` /* ${e} */`}h&&h.length&&(u=function(e){let t="[";for(let r=0,s=e.length;r<s;r++)t+=JSON.stringify(e[r]),r<s-1&&(t+=", ");return t+"]"}(h))}e.codegenNode=wr(t,i,a,c,l,u,p,!!f,!1,n,e.loc)};function Yc(e,t,r=!1){let{tag:s}=e;const n=tl(s),i=Zi(e,"is");if(i)if(n){const e=6===i.type?i.value&&Pr(i.value.content,!0):i.exp;if(e)return Ar(t.helper(zt),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!n&&Qi(e,"is");if(o&&o.exp)return t.onWarn(Ot(52,o.loc)),Ar(t.helper(zt),[o.exp]);const a=Ui(s)||t.isBuiltInComponent(s);if(a)return r||t.helper(a),a;{const e=Jc(s,t);if(e)return e;const r=s.indexOf(".");if(r>0){const e=Jc(s.slice(0,r),t);if(e)return e+s.slice(r)}}return t.selfName&&nt(tt(s))===t.selfName?(t.helper(Vt),t.components.add(s+"__self"),uo(s,"component")):(t.helper(Vt),t.components.add(s),uo(s,"component"))}function Jc(e,t){const r=t.bindingMetadata;if(!r||!1===r.__isScriptSetup)return;const s=tt(e),n=nt(s),i=t=>r[e]===t?e:r[s]===t?s:r[n]===t?n:void 0,o=i("setup-const")||i("setup-reactive-const")||i("literal-const");if(o)return t.inline?o:`$setup[${JSON.stringify(o)}]`;const a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");return a?t.inline?`${t.helperString(dr)}(${a})`:`$setup[${JSON.stringify(a)}]`:void 0}function Xc(e,t,r=e.props,s,n,i=!1){const{tag:o,loc:a,children:c}=e;let l=[];const u=[],h=[],p=c.length>0;let d=!1,f=0,m=!1,g=!1,y=!1,v=!1,b=!1,x=!1;const w=[],S=e=>{l.length&&(u.push(Er(Qc(l),a)),l=[]),e&&u.push(e)},E=({key:e,value:r})=>{if(Fi(e)){const i=e.content,o=$e(i);if(!o||s&&!n||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||Xe(i)||(v=!0),o&&Xe(i)&&(x=!0),20===r.type||(4===r.type||8===r.type)&&Ko(r,t)>0)return;"ref"===i?m=!0:"class"===i?g=!0:"style"===i?y=!0:"key"===i||w.includes(i)||w.push(i),!s||"class"!==i&&"style"!==i||w.includes(i)||w.push(i)}else b=!0};for(let n=0;n<r.length;n++){const c=r[n];if(6===c.type){const{loc:e,name:r,value:s}=c;let n=!0;if("ref"===r&&(m=!0,t.scopes.vFor>0&&l.push(_r(Pr("ref_for",!0),Pr("true"))),s&&t.inline)){const e=t.bindingMetadata[s.content];"setup-let"!==e&&"setup-ref"!==e&&"setup-maybe-ref"!==e||(n=!1,l.push(_r(Pr("ref_key",!0),Pr(s.content,!0,s.loc))))}if("is"===r&&(tl(o)||s&&s.content.startsWith("vue:")))continue;l.push(_r(Pr(r,!0,Ki(e,0,r.length)),Pr(s?s.content:"",n,s?s.loc:e)))}else{const{name:r,arg:n,exp:f,loc:m}=c,g="bind"===r,y="on"===r;if("slot"===r){s||t.onError(Ot(40,m));continue}if("once"===r||"memo"===r)continue;if("is"===r||g&&eo(n,"is")&&tl(o))continue;if(y&&i)continue;if((g&&eo(n,"key")||y&&p&&eo(n,"vue:before-update"))&&(d=!0),g&&eo(n,"ref")&&t.scopes.vFor>0&&l.push(_r(Pr("ref_for",!0),Pr("true"))),!n&&(g||y)){b=!0,f?g?(S(),u.push(f)):S({type:14,loc:m,callee:t.helper(ir),arguments:s?[f]:[f,"true"]}):t.onError(Ot(g?34:35,m));continue}const v=t.directiveTransforms[r];if(v){const{props:r,needRuntime:s}=v(c,e,t);!i&&r.forEach(E),y&&n&&!Fi(n)?S(Er(r,a)):l.push(...r),s&&(h.push(c),Ge(s)&&Gc.set(c,s))}else Qe(r)||(h.push(c),p&&(d=!0))}}let _;if(u.length?(S(),_=u.length>1?Ar(t.helper(er),u,a):u[0]):l.length&&(_=Er(Qc(l),a)),b?f|=16:(g&&!s&&(f|=2),y&&!s&&(f|=4),w.length&&(f|=8),v&&(f|=32)),d||0!==f&&32!==f||!(m||x||h.length>0)||(f|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,r=-1,s=!1;for(let t=0;t<_.properties.length;t++){const n=_.properties[t].key;Fi(n)?"class"===n.content?e=t:"style"===n.content&&(r=t):n.isHandlerKey||(s=!0)}const n=_.properties[e],i=_.properties[r];s?_=Ar(t.helper(sr),[_]):(n&&!Fi(n.value)&&(n.value=Ar(t.helper(tr),[n.value])),i&&(y||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=Ar(t.helper(rr),[i.value])));break;case 14:break;default:_=Ar(t.helper(sr),[Ar(t.helper(nr),[_])])}return{props:_,directives:h,patchFlag:f,dynamicPropNames:w,shouldUseBlock:d}}function Qc(e){const t=new Map,r=[];for(let s=0;s<e.length;s++){const n=e[s];if(8===n.key.type||!n.key.isStatic){r.push(n);continue}const i=n.key.content,o=t.get(i);o?("style"===i||"class"===i||$e(i))&&Zc(o,n):(t.set(i,n),r.push(n))}return r}function Zc(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Sr([e.value,t.value],e.loc)}function el(e,t){const r=[],s=Gc.get(e);if(s)r.push(t.helperString(s));else{const s=Jc("v-"+e.name,t);s?r.push(s):(t.helper(Gt),t.directives.add(e.name),r.push(uo(e.name,"directive")))}const{loc:n}=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"));const t=Pr("true",!1,n);r.push(Er(e.modifiers.map((e=>_r(e,t))),n))}return Sr(r,e.loc)}function tl(e){return"component"===e||"Component"===e}const rl=(e,t)=>{if(io(e)){const{children:r,loc:s}=e,{slotName:n,slotProps:i}=sl(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),r.length&&(o[3]=Cr([],r,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=Ar(t.helper(Xt),o,s)}};function sl(e,t){let r,s='"default"';const n=[];for(let t=0;t<e.props.length;t++){const r=e.props[t];6===r.type?r.value&&("name"===r.name?s=JSON.stringify(r.value.content):(r.name=tt(r.name),n.push(r))):"bind"===r.name&&eo(r.arg,"name")?r.exp&&(s=r.exp):("bind"===r.name&&r.arg&&Fi(r.arg)&&(r.arg.content=tt(r.arg.content)),n.push(r))}if(n.length>0){const{props:s,directives:i}=Xc(e,t,n,!1,!1);r=s,i.length&&t.onError(Ot(36,i[0].loc))}return{slotName:s,slotProps:r}}const nl=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,il=(e,t,r,s)=>{const{loc:n,modifiers:i,arg:o}=e;let a;if(e.exp||i.length||r.onError(Ot(35,n)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vnode")&&r.onWarn(Ot(51,o.loc)),e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),a=Pr(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?it(tt(e)):`on:${e}`,!0,o.loc)}else a=Tr([`${r.helperString(cr)}(`,o,")"]);else a=o,a.children.unshift(`${r.helperString(cr)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=r.cacheHandlers&&!c&&!r.inVOnce;if(c){const s=Gi(c.content,r),n=!(s||nl.test(c.content)),i=c.content.includes(";");r.prefixIdentifiers&&(n&&r.addIdentifiers("$event"),c=e.exp=Sc(c,r,!1,i),n&&r.removeIdentifiers("$event"),l=r.cacheHandlers&&!r.inVOnce&&!(4===c.type&&c.constType>0)&&!(s&&1===t.tagType)&&!ho(c,r.identifiers),l&&s&&(4===c.type?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(n||l&&s)&&(c=Tr([`${n?r.isTS?"($event: any)":"$event":(r.isTS?"\n//@ts-ignore\n":"")+"(...args)"} => ${i?"{":"("}`,c,i?"}":")"]))}let u={props:[_r(a,c||Pr("() => {}",!1,n))]};return s&&(u=s(u)),l&&(u.props[0].value=r.cache(u.props[0].value)),u.props.forEach((e=>e.key.isHandlerKey=!0)),u},ol=(e,t,r)=>{const{exp:s,modifiers:n,loc:i}=e,o=e.arg;return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),n.includes("camel")&&(4===o.type?o.isStatic?o.content=tt(o.content):o.content=`${r.helperString(or)}(${o.content})`:(o.children.unshift(`${r.helperString(or)}(`),o.children.push(")"))),r.inSSR||(n.includes("prop")&&al(o,"."),n.includes("attr")&&al(o,"^")),!s||4===s.type&&!s.content.trim()?(r.onError(Ot(34,i)),{props:[_r(o,Pr("",!0,i))]}):{props:[_r(o,s)]}},al=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},cl=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const r=e.children;let s,n=!1;for(let e=0;e<r.length;e++){const t=r[e];if(ro(t)){n=!0;for(let n=e+1;n<r.length;n++){const i=r[n];if(!ro(i)){s=void 0;break}s||(s=r[e]=Tr([t],t.loc)),s.children.push(" + ",i),r.splice(n,1),n--}}}if(n&&(1!==r.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name])))))for(let e=0;e<r.length;e++){const s=r[e];if(ro(s)||8===s.type){const n=[];2===s.type&&" "===s.content||n.push(s),t.ssr||0!==Ko(s,t)||n.push(`1 /* ${ct[1]} */`),r[e]={type:12,content:s,loc:s.loc,codegenNode:Ar(t.helper(Ht),n)}}}}},ll=new WeakSet,ul=(e,t)=>{if(1===e.type&&Qi(e,"once",!0)){if(ll.has(e)||t.inVOnce||t.inSSR)return;return ll.add(e),t.inVOnce=!0,t.helper(lr),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},hl=(e,t,r)=>{const{exp:s,arg:n}=e;if(!s)return r.onError(Ot(41,e.loc)),pl();const i=s.loc.source,o=4===s.type?s.content:i,a=r.bindingMetadata[i];if("props"===a||"props-aliased"===a)return r.onError(Ot(44,s.loc)),pl();const c=r.inline&&("setup-let"===a||"setup-ref"===a||"setup-maybe-ref"===a);if(!o.trim()||!Gi(o,r)&&!c)return r.onError(Ot(42,s.loc)),pl();if(r.prefixIdentifiers&&qi(o)&&r.identifiers[o])return r.onError(Ot(43,s.loc)),pl();const l=n||Pr("modelValue",!0),u=n?Fi(n)?`onUpdate:${tt(n.content)}`:Tr(['"onUpdate:" + ',n]):"onUpdate:modelValue";let h;const p=r.isTS?"($event: any)":"$event";if(c)if("setup-ref"===a)h=Tr([`${p} => ((`,Pr(i,!1,s.loc),").value = $event)"]);else{const e="setup-let"===a?`${i} = $event`:"null";h=Tr([`${p} => (${r.helperString(fr)}(${i}) ? (`,Pr(i,!1,s.loc),`).value = $event : ${e})`])}else h=Tr([`${p} => ((`,s,") = $event)"]);const d=[_r(l,e.exp),_r(u,h)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!ho(s,r.identifiers)&&(d[1].value=r.cache(d[1].value)),e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(qi(e)?e:JSON.stringify(e))+": true")).join(", "),r=n?Fi(n)?`${n.content}Modifiers`:Tr([n,' + "Modifiers"']):"modelModifiers";d.push(_r(r,Pr(`{ ${t} }`,!1,e.loc,2)))}return pl(d)};function pl(e=[]){return{props:e}}const dl=new WeakSet,fl=(e,t)=>{if(1===e.type){const r=Qi(e,"memo");if(!r||dl.has(e))return;return dl.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&Lr(s,t),e.codegenNode=Ar(t.helper(mr),[r.exp,Cr(void 0,s),"_cache",String(t.cached++)]))}}};function ml(e){return[[ul,Pc,fl,Nc,...e?[$c,wc]:[],rl,Kc,Uc,cl],{on:il,bind:ol,model:hl}]}function gl(e,t={}){const r=t.onError||Ct,s="module"===t.mode,n=!0===t.prefixIdentifiers||s;!n&&t.cacheHandlers&&r(Ot(49)),t.scopeId&&!s&&r(Ot(50));const i=ze(e)?xo(e,t):e,[o,a]=ml(n);if(t.isTS){const{expressionPlugins:e}=t;e&&e.includes("typescript")||(t.expressionPlugins=[...e||[],"typescript"])}return ta(i,qe({},t,{prefixIdentifiers:n,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:qe({},a,t.directiveTransforms||{})})),Ja(i,qe({},t,{prefixIdentifiers:n}))}const yl=()=>({props:[]}),vl=Symbol("vModelRadio"),bl=Symbol("vModelCheckbox"),xl=Symbol("vModelText"),wl=Symbol("vModelSelect"),Sl=Symbol("vModelDynamic"),El=Symbol("vOnModifiersGuard"),_l=Symbol("vOnKeysGuard"),Pl=Symbol("vShow"),Tl=Symbol("Transition"),Al=Symbol("TransitionGroup");vr({[vl]:"vModelRadio",[bl]:"vModelCheckbox",[xl]:"vModelText",[wl]:"vModelSelect",[Sl]:"vModelDynamic",[El]:"withModifiers",[_l]:"withKeys",[Pl]:"vShow",[Tl]:"Transition",[Al]:"TransitionGroup"});var Cl={GT:">",gt:">",LT:"<",lt:"<","ac;":"∾","af;":"⁡",AMP:"&",amp:"&","ap;":"≈","DD;":"ⅅ","dd;":"ⅆ",deg:"°","ee;":"ⅇ","eg;":"⪚","el;":"⪙",ETH:"Ð",eth:"ð","gE;":"≧","ge;":"≥","Gg;":"⋙","gg;":"≫","gl;":"≷","GT;":">","Gt;":"≫","gt;":">","ic;":"⁣","ii;":"ⅈ","Im;":"ℑ","in;":"∈","it;":"⁢","lE;":"≦","le;":"≤","lg;":"≶","Ll;":"⋘","ll;":"≪","LT;":"<","Lt;":"≪","lt;":"<","mp;":"∓","Mu;":"Μ","mu;":"μ","ne;":"≠","ni;":"∋",not:"¬","Nu;":"Ν","nu;":"ν","Or;":"⩔","or;":"∨","oS;":"Ⓢ","Pi;":"Π","pi;":"π","pm;":"±","Pr;":"⪻","pr;":"≺","Re;":"ℜ",REG:"®",reg:"®","rx;":"℞","Sc;":"⪼","sc;":"≻",shy:"­",uml:"¨","wp;":"℘","wr;":"≀","Xi;":"Ξ","xi;":"ξ",yen:"¥","acd;":"∿","acE;":"∾̳","Acy;":"А","acy;":"а","Afr;":"𝔄","afr;":"𝔞","AMP;":"&","amp;":"&","And;":"⩓","and;":"∧","ang;":"∠","apE;":"⩰","ape;":"≊","ast;":"*",Auml:"Ä",auml:"ä","Bcy;":"Б","bcy;":"б","Bfr;":"𝔅","bfr;":"𝔟","bne;":"=⃥","bot;":"⊥","Cap;":"⋒","cap;":"∩",cent:"¢","Cfr;":"ℭ","cfr;":"𝔠","Chi;":"Χ","chi;":"χ","cir;":"○",COPY:"©",copy:"©","Cup;":"⋓","cup;":"∪","Dcy;":"Д","dcy;":"д","deg;":"°","Del;":"∇","Dfr;":"𝔇","dfr;":"𝔡","die;":"¨","div;":"÷","Dot;":"¨","dot;":"˙","Ecy;":"Э","ecy;":"э","Efr;":"𝔈","efr;":"𝔢","egs;":"⪖","ell;":"ℓ","els;":"⪕","ENG;":"Ŋ","eng;":"ŋ","Eta;":"Η","eta;":"η","ETH;":"Ð","eth;":"ð",Euml:"Ë",euml:"ë","Fcy;":"Ф","fcy;":"ф","Ffr;":"𝔉","ffr;":"𝔣","gap;":"⪆","Gcy;":"Г","gcy;":"г","gEl;":"⪌","gel;":"⋛","geq;":"≥","ges;":"⩾","Gfr;":"𝔊","gfr;":"𝔤","ggg;":"⋙","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnE;":"≩","gne;":"⪈","Hat;":"^","Hfr;":"ℌ","hfr;":"𝔥","Icy;":"И","icy;":"и","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Int;":"∬","int;":"∫",Iuml:"Ï",iuml:"ï","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","lap;":"⪅","lat;":"⪫","Lcy;":"Л","lcy;":"л","lEg;":"⪋","leg;":"⋚","leq;":"≤","les;":"⩽","Lfr;":"𝔏","lfr;":"𝔩","lgE;":"⪑","lnE;":"≨","lne;":"⪇","loz;":"◊","lrm;":"‎","Lsh;":"↰","lsh;":"↰",macr:"¯","Map;":"⤅","map;":"↦","Mcy;":"М","mcy;":"м","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","mid;":"∣","nap;":"≉",nbsp:" ","Ncy;":"Н","ncy;":"н","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","nGg;":"⋙̸","nGt;":"≫⃒","ngt;":"≯","nis;":"⋼","niv;":"∋","nlE;":"≦̸","nle;":"≰","nLl;":"⋘̸","nLt;":"≪⃒","nlt;":"≮","Not;":"⫬","not;":"¬","npr;":"⊀","nsc;":"⊁","num;":"#","Ocy;":"О","ocy;":"о","Ofr;":"𝔒","ofr;":"𝔬","ogt;":"⧁","ohm;":"Ω","olt;":"⧀","ord;":"⩝",ordf:"ª",ordm:"º","orv;":"⩛",Ouml:"Ö",ouml:"ö","par;":"∥",para:"¶","Pcy;":"П","pcy;":"п","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","piv;":"ϖ","prE;":"⪳","pre;":"⪯","Psi;":"Ψ","psi;":"ψ","Qfr;":"𝔔","qfr;":"𝔮",QUOT:'"',quot:'"',"Rcy;":"Р","rcy;":"р","REG;":"®","reg;":"®","Rfr;":"ℜ","rfr;":"𝔯","Rho;":"Ρ","rho;":"ρ","rlm;":"‏","Rsh;":"↱","rsh;":"↱","scE;":"⪴","sce;":"⪰","Scy;":"С","scy;":"с",sect:"§","Sfr;":"𝔖","sfr;":"𝔰","shy;":"­","sim;":"∼","smt;":"⪪","sol;":"/","squ;":"□","Sub;":"⋐","sub;":"⊂","Sum;":"∑","sum;":"∑","Sup;":"⋑","sup;":"⊃",sup1:"¹",sup2:"²",sup3:"³","Tab;":"\t","Tau;":"Τ","tau;":"τ","Tcy;":"Т","tcy;":"т","Tfr;":"𝔗","tfr;":"𝔱","top;":"⊤","Ucy;":"У","ucy;":"у","Ufr;":"𝔘","ufr;":"𝔲","uml;":"¨",Uuml:"Ü",uuml:"ü","Vcy;":"В","vcy;":"в","Vee;":"⋁","vee;":"∨","Vfr;":"𝔙","vfr;":"𝔳","Wfr;":"𝔚","wfr;":"𝔴","Xfr;":"𝔛","xfr;":"𝔵","Ycy;":"Ы","ycy;":"ы","yen;":"¥","Yfr;":"𝔜","yfr;":"𝔶",yuml:"ÿ","Zcy;":"З","zcy;":"з","Zfr;":"ℨ","zfr;":"𝔷","zwj;":"‍",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ","andd;":"⩜","andv;":"⩚","ange;":"⦤","Aopf;":"𝔸","aopf;":"𝕒","apid;":"≋","apos;":"'",Aring:"Å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Auml;":"Ä","auml;":"ä","Barv;":"⫧","bbrk;":"⎵","Beta;":"Β","beta;":"β","beth;":"ℶ","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","boxH;":"═","boxh;":"─","boxV;":"║","boxv;":"│","Bscr;":"ℬ","bscr;":"𝒷","bsim;":"∽","bsol;":"\\","bull;":"•","bump;":"≎","caps;":"∩︀","Cdot;":"Ċ","cdot;":"ċ",cedil:"¸","cent;":"¢","CHcy;":"Ч","chcy;":"ч","circ;":"ˆ","cirE;":"⧃","cire;":"≗","comp;":"∁","cong;":"≅","Copf;":"ℂ","copf;":"𝕔","COPY;":"©","copy;":"©","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csup;":"⫐","cups;":"∪︀","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","dHar;":"⥥","diam;":"⋄","DJcy;":"Ђ","djcy;":"ђ","Dopf;":"𝔻","dopf;":"𝕕","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","dtri;":"▿","DZcy;":"Џ","dzcy;":"џ","ecir;":"≖",Ecirc:"Ê",ecirc:"ê","Edot;":"Ė","eDot;":"≑","edot;":"ė","emsp;":" ","ensp;":" ","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","epsi;":"ε","Escr;":"ℰ","escr;":"ℯ","Esim;":"⩳","esim;":"≂","Euml;":"Ë","euml;":"ë","euro;":"€","excl;":"!","flat;":"♭","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","fork;":"⋔","Fscr;":"ℱ","fscr;":"𝒻","Gdot;":"Ġ","gdot;":"ġ","geqq;":"≧","gesl;":"⋛︀","GJcy;":"Ѓ","gjcy;":"ѓ","gnap;":"⪊","gneq;":"⪈","Gopf;":"𝔾","gopf;":"𝕘","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gtcc;":"⪧","gvnE;":"≩︀","half;":"½","hArr;":"⇔","harr;":"↔","hbar;":"ℏ","Hopf;":"ℍ","hopf;":"𝕙","Hscr;":"ℋ","hscr;":"𝒽",Icirc:"Î",icirc:"î","Idot;":"İ","IEcy;":"Е","iecy;":"е",iexcl:"¡","imof;":"⊷","IOcy;":"Ё","iocy;":"ё","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","Iuml;":"Ï","iuml;":"ï","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","Lang;":"⟪","lang;":"⟨",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","late;":"⪭","lcub;":"{","ldca;":"⤶","ldsh;":"↲","leqq;":"≦","lesg;":"⋚︀","lHar;":"⥢","LJcy;":"Љ","ljcy;":"љ","lnap;":"⪉","lneq;":"⪇","Lopf;":"𝕃","lopf;":"𝕝","lozf;":"⧫","lpar;":"(","Lscr;":"ℒ","lscr;":"𝓁","lsim;":"≲","lsqb;":"[","ltcc;":"⪦","ltri;":"◃","lvnE;":"≨︀","macr;":"¯","male;":"♂","malt;":"✠",micro:"µ","mlcp;":"⫛","mldr;":"…","Mopf;":"𝕄","mopf;":"𝕞","Mscr;":"ℳ","mscr;":"𝓂","nang;":"∠⃒","napE;":"⩰̸","nbsp;":" ","ncap;":"⩃","ncup;":"⩂","ngeq;":"≱","nges;":"⩾̸","ngtr;":"≯","nGtv;":"≫̸","nisd;":"⋺","NJcy;":"Њ","njcy;":"њ","nldr;":"‥","nleq;":"≰","nles;":"⩽̸","nLtv;":"≪̸","nmid;":"∤","Nopf;":"ℕ","nopf;":"𝕟","npar;":"∦","npre;":"⪯̸","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nsim;":"≁","nsub;":"⊄","nsup;":"⊅","ntgl;":"≹","ntlg;":"≸","nvap;":"≍⃒","nvge;":"≥⃒","nvgt;":">⃒","nvle;":"≤⃒","nvlt;":"<⃒","oast;":"⊛","ocir;":"⊚",Ocirc:"Ô",ocirc:"ô","odiv;":"⨸","odot;":"⊙","ogon;":"˛","oint;":"∮","omid;":"⦶","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","ordf;":"ª","ordm;":"º","oror;":"⩖","Oscr;":"𝒪","oscr;":"ℴ","osol;":"⊘","Ouml;":"Ö","ouml;":"ö","para;":"¶","part;":"∂","perp;":"⊥","phiv;":"ϕ","plus;":"+","Popf;":"ℙ","popf;":"𝕡",pound:"£","prap;":"⪷","prec;":"≺","prnE;":"⪵","prod;":"∏","prop;":"∝","Pscr;":"𝒫","pscr;":"𝓅","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","Qscr;":"𝒬","qscr;":"𝓆","QUOT;":'"',"quot;":'"',"race;":"∽̱","Rang;":"⟫","rang;":"⟩",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rcub;":"}","rdca;":"⤷","rdsh;":"↳","real;":"ℜ","rect;":"▭","rHar;":"⥤","rhov;":"ϱ","ring;":"˚","Ropf;":"ℝ","ropf;":"𝕣","rpar;":")","Rscr;":"ℛ","rscr;":"𝓇","rsqb;":"]","rtri;":"▹","scap;":"⪸","scnE;":"⪶","sdot;":"⋅","sect;":"§","semi;":";","sext;":"✶","SHcy;":"Ш","shcy;":"ш","sime;":"≃","simg;":"⪞","siml;":"⪝","smid;":"∣","smte;":"⪬","solb;":"⧄","Sopf;":"𝕊","sopf;":"𝕤","spar;":"∥","Sqrt;":"√","squf;":"▪","Sscr;":"𝒮","sscr;":"𝓈","Star;":"⋆","star;":"☆","subE;":"⫅","sube;":"⊆","succ;":"≻","sung;":"♪","sup1;":"¹","sup2;":"²","sup3;":"³","supE;":"⫆","supe;":"⊇",szlig:"ß","tbrk;":"⎴","tdot;":"⃛",THORN:"Þ",thorn:"þ",times:"×","tint;":"∭","toea;":"⤨","Topf;":"𝕋","topf;":"𝕥","tosa;":"⤩","trie;":"≜","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","Uarr;":"↟","uArr;":"⇑","uarr;":"↑",Ucirc:"Û",ucirc:"û","uHar;":"⥣","Uopf;":"𝕌","uopf;":"𝕦","Upsi;":"ϒ","upsi;":"υ","Uscr;":"𝒰","uscr;":"𝓊","utri;":"▵","Uuml;":"Ü","uuml;":"ü","vArr;":"⇕","varr;":"↕","Vbar;":"⫫","vBar;":"⫨","Vert;":"‖","vert;":"|","Vopf;":"𝕍","vopf;":"𝕧","Vscr;":"𝒱","vscr;":"𝓋","Wopf;":"𝕎","wopf;":"𝕨","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcup;":"⋃","xmap;":"⟼","xnis;":"⋻","Xopf;":"𝕏","xopf;":"𝕩","Xscr;":"𝒳","xscr;":"𝓍","xvee;":"⋁","YAcy;":"Я","yacy;":"я","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ","Zdot;":"Ż","zdot;":"ż","Zeta;":"Ζ","zeta;":"ζ","ZHcy;":"Ж","zhcy;":"ж","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwnj;":"‌",Aacute:"Á",aacute:"á","Acirc;":"Â","acirc;":"â","acute;":"´","AElig;":"Æ","aelig;":"æ",Agrave:"À",agrave:"à","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","angle;":"∠","angrt;":"∟","angst;":"Å","Aogon;":"Ą","aogon;":"ą","Aring;":"Å","aring;":"å","asymp;":"≈",Atilde:"Ã",atilde:"ã","awint;":"⨑","bcong;":"≌","bdquo;":"„","bepsi;":"϶","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","Breve;":"˘","breve;":"˘",brvbar:"¦","bsemi;":"⁏","bsime;":"⋍","bsolb;":"⧅","bumpE;":"⪮","bumpe;":"≏","caret;":"⁁","caron;":"ˇ","ccaps;":"⩍",Ccedil:"Ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","ccups;":"⩌","cedil;":"¸","check;":"✓","clubs;":"♣","Colon;":"∷","colon;":":","comma;":",","crarr;":"↵","Cross;":"⨯","cross;":"✗","csube;":"⫑","csupe;":"⫒","ctdot;":"⋯","cuepr;":"⋞","cuesc;":"⋟","cupor;":"⩅",curren:"¤","cuvee;":"⋎","cuwed;":"⋏","cwint;":"∱","Dashv;":"⫤","dashv;":"⊣","dblac;":"˝","ddarr;":"⇊","Delta;":"Δ","delta;":"δ","dharl;":"⇃","dharr;":"⇂","diams;":"♦","disin;":"⋲",divide:"÷","doteq;":"≐","dtdot;":"⋱","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯",Eacute:"É",eacute:"é","Ecirc;":"Ê","ecirc;":"ê","eDDot;":"⩷","efDot;":"≒",Egrave:"È",egrave:"è","Emacr;":"Ē","emacr;":"ē","empty;":"∅","Eogon;":"Ę","eogon;":"ę","eplus;":"⩱","epsiv;":"ϵ","eqsim;":"≂","Equal;":"⩵","equiv;":"≡","erarr;":"⥱","erDot;":"≓","esdot;":"≐","exist;":"∃","fflig;":"ff","filig;":"fi","fjlig;":"fj","fllig;":"fl","fltns;":"▱","forkv;":"⫙",frac12:"½",frac14:"¼",frac34:"¾","frasl;":"⁄","frown;":"⌢","Gamma;":"Γ","gamma;":"γ","Gcirc;":"Ĝ","gcirc;":"ĝ","gescc;":"⪩","gimel;":"ℷ","gneqq;":"≩","gnsim;":"⋧","grave;":"`","gsime;":"⪎","gsiml;":"⪐","gtcir;":"⩺","gtdot;":"⋗","Hacek;":"ˇ","harrw;":"↭","Hcirc;":"Ĥ","hcirc;":"ĥ","hoarr;":"⇿",Iacute:"Í",iacute:"í","Icirc;":"Î","icirc;":"î","iexcl;":"¡",Igrave:"Ì",igrave:"ì","iiint;":"∭","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","imath;":"ı","imped;":"Ƶ","infin;":"∞","Iogon;":"Į","iogon;":"į","iprod;":"⨼",iquest:"¿","isinE;":"⋹","isins;":"⋴","isinv;":"∈","Iukcy;":"І","iukcy;":"і","Jcirc;":"Ĵ","jcirc;":"ĵ","jmath;":"ȷ","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","lAarr;":"⇚","langd;":"⦑","laquo;":"«","larrb;":"⇤","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrke;":"⦋","lceil;":"⌈","ldquo;":"“","lescc;":"⪨","lhard;":"↽","lharu;":"↼","lhblk;":"▄","llarr;":"⇇","lltri;":"◺","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","lopar;":"⦅","lrarr;":"⇆","lrhar;":"⇋","lrtri;":"⊿","lsime;":"⪍","lsimg;":"⪏","lsquo;":"‘","ltcir;":"⩹","ltdot;":"⋖","ltrie;":"⊴","ltrif;":"◂","mdash;":"—","mDDot;":"∺","micro;":"µ",middot:"·","minus;":"−","mumap;":"⊸","nabla;":"∇","napid;":"≋̸","napos;":"ʼn","natur;":"♮","nbump;":"≎̸","ncong;":"≇","ndash;":"–","neArr;":"⇗","nearr;":"↗","nedot;":"≐̸","nesim;":"≂̸","ngeqq;":"≧̸","ngsim;":"≵","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","nlArr;":"⇍","nlarr;":"↚","nleqq;":"≦̸","nless;":"≮","nlsim;":"≴","nltri;":"⋪","notin;":"∉","notni;":"∌","npart;":"∂̸","nprec;":"⊀","nrArr;":"⇏","nrarr;":"↛","nrtri;":"⋫","nsime;":"≄","nsmid;":"∤","nspar;":"∦","nsubE;":"⫅̸","nsube;":"⊈","nsucc;":"⊁","nsupE;":"⫆̸","nsupe;":"⊉",Ntilde:"Ñ",ntilde:"ñ","numsp;":" ","nvsim;":"∼⃒","nwArr;":"⇖","nwarr;":"↖",Oacute:"Ó",oacute:"ó","Ocirc;":"Ô","ocirc;":"ô","odash;":"⊝","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿",Ograve:"Ò",ograve:"ò","ohbar;":"⦵","olarr;":"↺","olcir;":"⦾","oline;":"‾","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","operp;":"⦹","oplus;":"⊕","orarr;":"↻","order;":"ℴ",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ","ovbar;":"⌽","parsl;":"⫽","phone;":"☎","plusb;":"⊞","pluse;":"⩲",plusmn:"±","pound;":"£","prcue;":"≼","Prime;":"″","prime;":"′","prnap;":"⪹","prsim;":"≾","quest;":"?","rAarr;":"⇛","radic;":"√","rangd;":"⦒","range;":"⦥","raquo;":"»","rarrb;":"⇥","rarrc;":"⤳","rarrw;":"↝","ratio;":"∶","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrke;":"⦌","rceil;":"⌉","rdquo;":"”","reals;":"ℝ","rhard;":"⇁","rharu;":"⇀","rlarr;":"⇄","rlhar;":"⇌","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","rrarr;":"⇉","rsquo;":"’","rtrie;":"⊵","rtrif;":"▸","sbquo;":"‚","sccue;":"≽","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scsim;":"≿","sdotb;":"⊡","sdote;":"⩦","seArr;":"⇘","searr;":"↘","setmn;":"∖","sharp;":"♯","Sigma;":"Σ","sigma;":"σ","simeq;":"≃","simgE;":"⪠","simlE;":"⪟","simne;":"≆","slarr;":"←","smile;":"⌣","smtes;":"⪬︀","sqcap;":"⊓","sqcup;":"⊔","sqsub;":"⊏","sqsup;":"⊐","srarr;":"→","starf;":"★","strns;":"¯","subnE;":"⫋","subne;":"⊊","supnE;":"⫌","supne;":"⊋","swArr;":"⇙","swarr;":"↙","szlig;":"ß","Theta;":"Θ","theta;":"θ","thkap;":"≈","THORN;":"Þ","thorn;":"þ","Tilde;":"∼","tilde;":"˜","times;":"×","TRADE;":"™","trade;":"™","trisb;":"⧍","TSHcy;":"Ћ","tshcy;":"ћ","twixt;":"≬",Uacute:"Ú",uacute:"ú","Ubrcy;":"Ў","ubrcy;":"ў","Ucirc;":"Û","ucirc;":"û","udarr;":"⇅","udhar;":"⥮",Ugrave:"Ù",ugrave:"ù","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","Union;":"⋃","Uogon;":"Ų","uogon;":"ų","uplus;":"⊎","upsih;":"ϒ","UpTee;":"⊥","Uring;":"Ů","uring;":"ů","urtri;":"◹","utdot;":"⋰","utrif;":"▴","uuarr;":"⇈","varpi;":"ϖ","vBarv;":"⫩","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","veeeq;":"≚","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","vprop;":"∝","vrtri;":"⊳","Wcirc;":"Ŵ","wcirc;":"ŵ","Wedge;":"⋀","wedge;":"∧","xcirc;":"◯","xdtri;":"▽","xhArr;":"⟺","xharr;":"⟷","xlArr;":"⟸","xlarr;":"⟵","xodot;":"⨀","xrArr;":"⟹","xrarr;":"⟶","xutri;":"△",Yacute:"Ý",yacute:"ý","Ycirc;":"Ŷ","ycirc;":"ŷ","Aacute;":"Á","aacute;":"á","Abreve;":"Ă","abreve;":"ă","Agrave;":"À","agrave;":"à","andand;":"⩕","angmsd;":"∡","angsph;":"∢","apacir;":"⩯","approx;":"≈","Assign;":"≔","Atilde;":"Ã","atilde;":"ã","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","becaus;":"∵","bernou;":"ℬ","bigcap;":"⋂","bigcup;":"⋃","bigvee;":"⋁","bkarow;":"⤍","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","bprime;":"‵","brvbar;":"¦","bullet;":"•","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","capand;":"⩄","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç","ccedil;":"ç","circeq;":"≗","cirmid;":"⫯","Colone;":"⩴","colone;":"≔","commat;":"@","compfn;":"∘","Conint;":"∯","conint;":"∮","coprod;":"∐","copysr;":"℗","cularr;":"↶","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","curarr;":"↷","curren;":"¤","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Dcaron;":"Ď","dcaron;":"ď","dfisht;":"⥿","divide;":"÷","divonx;":"⋇","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","DotDot;":"⃜","drcorn;":"⌟","drcrop;":"⌌","Dstrok;":"Đ","dstrok;":"đ","Eacute;":"É","eacute;":"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecolon;":"≕","Egrave;":"È","egrave;":"è","egsdot;":"⪘","elsdot;":"⪗","emptyv;":"∅","emsp13;":" ","emsp14;":" ","eparsl;":"⧣","eqcirc;":"≖","equals;":"=","equest;":"≟","Exists;":"∃","female;":"♀","ffilig;":"ffi","ffllig;":"ffl","ForAll;":"∀","forall;":"∀","frac12;":"½","frac13;":"⅓","frac14;":"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","gacute;":"ǵ","Gammad;":"Ϝ","gammad;":"ϝ","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","gesdot;":"⪀","gesles;":"⪔","gtlPar;":"⦕","gtrarr;":"⥸","gtrdot;":"⋗","gtrsim;":"≳","hairsp;":" ","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hearts;":"♥","hellip;":"…","hercon;":"⊹","homtht;":"∻","horbar;":"―","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í","iacute;":"í","Igrave;":"Ì","igrave;":"ì","iiiint;":"⨌","iinfin;":"⧜","incare;":"℅","inodot;":"ı","intcal;":"⊺","iquest;":"¿","isinsv;":"⋳","Itilde;":"Ĩ","itilde;":"ĩ","Jsercy;":"Ј","jsercy;":"ј","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","kgreen;":"ĸ","Lacute;":"Ĺ","lacute;":"ĺ","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","langle;":"⟨","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrtl;":"↢","lAtail;":"⤛","latail;":"⤙","lbrace;":"{","lbrack;":"[","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","ldquor;":"„","lesdot;":"⩿","lesges;":"⪓","lfisht;":"⥼","lfloor;":"⌊","lharul;":"⥪","llhard;":"⥫","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","loplus;":"⨭","lowast;":"∗","lowbar;":"_","lparlt;":"⦓","lrhard;":"⥭","lsaquo;":"‹","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltrPar;":"⦖","mapsto;":"↦","marker;":"▮","mcomma;":"⨩","midast;":"*","midcir;":"⫰","middot;":"·","minusb;":"⊟","minusd;":"∸","mnplus;":"∓","models;":"⊧","mstpos;":"∾","Nacute;":"Ń","nacute;":"ń","nbumpe;":"≏̸","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","nearhk;":"⤤","nequiv;":"≢","nesear;":"⤨","nexist;":"∄","nltrie;":"⋬","notinE;":"⋹̸","nparsl;":"⫽⃥","nprcue;":"⋠","nrarrc;":"⤳̸","nrarrw;":"↝̸","nrtrie;":"⋭","nsccue;":"⋡","nsimeq;":"≄","Ntilde;":"Ñ","ntilde;":"ñ","numero;":"№","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvHarr;":"⤄","nvlArr;":"⤂","nvrArr;":"⤃","nwarhk;":"⤣","nwnear;":"⤧","Oacute;":"Ó","oacute;":"ó","Odblac;":"Ő","odblac;":"ő","odsold;":"⦼","Ograve;":"Ò","ograve;":"ò","ominus;":"⊖","origof;":"⊶","Oslash;":"Ø","oslash;":"ø","Otilde;":"Õ","otilde;":"õ","Otimes;":"⨷","otimes;":"⊗","parsim;":"⫳","percnt;":"%","period;":".","permil;":"‰","phmmat;":"ℳ","planck;":"ℏ","plankv;":"ℏ","plusdo;":"∔","plusdu;":"⨥","plusmn;":"±","preceq;":"⪯","primes;":"ℙ","prnsim;":"⋨","propto;":"∝","prurel;":"⊰","puncsp;":" ","qprime;":"⁗","Racute;":"Ŕ","racute;":"ŕ","rangle;":"⟩","rarrap;":"⥵","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","Rarrtl;":"⤖","rarrtl;":"↣","rAtail;":"⤜","ratail;":"⤚","rbrace;":"}","rbrack;":"]","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rdquor;":"”","rfisht;":"⥽","rfloor;":"⌋","rharul;":"⥬","rmoust;":"⎱","roplus;":"⨮","rpargt;":"⦔","rsaquo;":"›","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","Sacute;":"Ś","sacute;":"ś","Scaron;":"Š","scaron;":"š","Scedil;":"Ş","scedil;":"ş","scnsim;":"⋩","searhk;":"⤥","seswar;":"⤩","sfrown;":"⌢","SHCHcy;":"Щ","shchcy;":"щ","sigmaf;":"ς","sigmav;":"ς","simdot;":"⩪","smashp;":"⨳","SOFTcy;":"Ь","softcy;":"ь","solbar;":"⌿","spades;":"♠","sqcaps;":"⊓︀","sqcups;":"⊔︀","sqsube;":"⊑","sqsupe;":"⊒","Square;":"□","square;":"□","squarf;":"▪","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","subdot;":"⪽","Subset;":"⋐","subset;":"⊂","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succeq;":"⪰","supdot;":"⪾","Supset;":"⋑","supset;":"⊃","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swnwar;":"⤪","target;":"⌖","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","telrec;":"⌕","there4;":"∴","thetav;":"ϑ","thinsp;":" ","thksim;":"∼","timesb;":"⊠","timesd;":"⨰","topbot;":"⌶","topcir;":"⫱","tprime;":"‴","tridot;":"◬","Tstrok;":"Ŧ","tstrok;":"ŧ","Uacute;":"Ú","uacute;":"ú","Ubreve;":"Ŭ","ubreve;":"ŭ","Udblac;":"Ű","udblac;":"ű","ufisht;":"⥾","Ugrave;":"Ù","ugrave;":"ù","ulcorn;":"⌜","ulcrop;":"⌏","urcorn;":"⌝","urcrop;":"⌎","Utilde;":"Ũ","utilde;":"ũ","vangrt;":"⦜","varphi;":"ϕ","varrho;":"ϱ","Vdashl;":"⫦","veebar;":"⊻","vellip;":"⋮","Verbar;":"‖","verbar;":"|","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","wedbar;":"⩟","wedgeq;":"≙","weierp;":"℘","wreath;":"≀","xoplus;":"⨁","xotime;":"⨂","xsqcup;":"⨆","xuplus;":"⨄","xwedge;":"⋀","Yacute;":"Ý","yacute;":"ý","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","zeetrf;":"ℨ","alefsym;":"ℵ","angrtvb;":"⊾","angzarr;":"⍼","asympeq;":"≍","backsim;":"∽","Because;":"∵","because;":"∵","bemptyv;":"⦰","between;":"≬","bigcirc;":"◯","bigodot;":"⨀","bigstar;":"★","bnequiv;":"≡⃥","boxplus;":"⊞","Cayleys;":"ℭ","Cconint;":"∰","ccupssm;":"⩐","Cedilla;":"¸","cemptyv;":"⦲","cirscir;":"⧂","coloneq;":"≔","congdot;":"⩭","cudarrl;":"⤸","cudarrr;":"⤵","cularrp;":"⤽","curarrm;":"⤼","dbkarow;":"⤏","ddagger;":"‡","ddotseq;":"⩷","demptyv;":"⦱","Diamond;":"⋄","diamond;":"⋄","digamma;":"ϝ","dotplus;":"∔","DownTee;":"⊤","dwangle;":"⦦","Element;":"∈","Epsilon;":"Ε","epsilon;":"ε","eqcolon;":"≕","equivDD;":"⩸","gesdoto;":"⪂","gtquest;":"⩼","gtrless;":"≷","harrcir;":"⥈","Implies;":"⇒","intprod;":"⨼","isindot;":"⋵","larrbfs;":"⤟","larrsim;":"⥳","lbrksld;":"⦏","lbrkslu;":"⦍","ldrdhar;":"⥧","LeftTee;":"⊣","lesdoto;":"⪁","lessdot;":"⋖","lessgtr;":"≶","lesssim;":"≲","lotimes;":"⨴","lozenge;":"◊","ltquest;":"⩻","luruhar;":"⥦","maltese;":"✠","minusdu;":"⨪","napprox;":"≉","natural;":"♮","nearrow;":"↗","NewLine;":"\n","nexists;":"∄","NoBreak;":"⁠","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLess;":"≮","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","npolint;":"⨔","npreceq;":"⪯̸","nsqsube;":"⋢","nsqsupe;":"⋣","nsubset;":"⊂⃒","nsucceq;":"⪰̸","nsupset;":"⊃⃒","nvinfin;":"⧞","nvltrie;":"⊴⃒","nvrtrie;":"⊵⃒","nwarrow;":"↖","olcross;":"⦻","Omicron;":"Ο","omicron;":"ο","orderof;":"ℴ","orslope;":"⩗","OverBar;":"‾","pertenk;":"‱","planckh;":"ℎ","pluscir;":"⨢","plussim;":"⨦","plustwo;":"⨧","precsim;":"≾","Product;":"∏","quatint;":"⨖","questeq;":"≟","rarrbfs;":"⤠","rarrsim;":"⥴","rbrksld;":"⦎","rbrkslu;":"⦐","rdldhar;":"⥩","realine;":"ℛ","rotimes;":"⨵","ruluhar;":"⥨","searrow;":"↘","simplus;":"⨤","simrarr;":"⥲","subedot;":"⫃","submult;":"⫁","subplus;":"⪿","subrarr;":"⥹","succsim;":"≿","supdsub;":"⫘","supedot;":"⫄","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supplus;":"⫀","swarrow;":"↙","topfork;":"⫚","triplus;":"⨹","tritime;":"⨻","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","Upsilon;":"Υ","upsilon;":"υ","uwangle;":"⦧","vzigzag;":"⦚","zigrarr;":"⇝","andslope;":"⩘","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrtvbd;":"⦝","approxeq;":"≊","awconint;":"∳","backcong;":"≌","barwedge;":"⌅","bbrktbrk;":"⎶","bigoplus;":"⨁","bigsqcup;":"⨆","biguplus;":"⨄","bigwedge;":"⋀","boxminus;":"⊟","boxtimes;":"⊠","bsolhsub;":"⟈","capbrcup;":"⩉","circledR;":"®","circledS;":"Ⓢ","cirfnint;":"⨐","clubsuit;":"♣","cupbrcap;":"⩈","curlyvee;":"⋎","cwconint;":"∲","DDotrahd;":"⤑","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","drbkarow;":"⤐","dzigrarr;":"⟿","elinters;":"⏧","emptyset;":"∅","eqvparsl;":"⧥","fpartint;":"⨍","geqslant;":"⩾","gesdotol;":"⪄","gnapprox;":"⪊","hksearow;":"⤥","hkswarow;":"⤦","imagline;":"ℐ","imagpart;":"ℑ","infintie;":"⧝","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","intlarhk;":"⨗","laemptyv;":"⦴","ldrushar;":"⥋","leqslant;":"⩽","lesdotor;":"⪃","LessLess;":"⪡","llcorner;":"⌞","lnapprox;":"⪉","lrcorner;":"⌟","lurdshar;":"⥊","mapstoup;":"↥","multimap;":"⊸","naturals;":"ℕ","ncongdot;":"⩭̸","NotEqual;":"≠","notindot;":"⋵̸","NotTilde;":"≁","otimesas;":"⨶","parallel;":"∥","PartialD;":"∂","plusacir;":"⨣","pointint;":"⨕","Precedes;":"≺","precneqq;":"⪵","precnsim;":"⋨","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","raemptyv;":"⦳","realpart;":"ℜ","RightTee;":"⊢","rppolint;":"⨒","rtriltri;":"⧎","scpolint;":"⨓","setminus;":"∖","shortmid;":"∣","smeparsl;":"⧤","sqsubset;":"⊏","sqsupset;":"⊐","subseteq;":"⊆","Succeeds;":"≻","succneqq;":"⪶","succnsim;":"⋩","SuchThat;":"∋","Superset;":"⊃","supseteq;":"⊇","thetasym;":"ϑ","thicksim;":"∼","timesbar;":"⨱","triangle;":"▵","triminus;":"⨺","trpezium;":"⏢","Uarrocir;":"⥉","ulcorner;":"⌜","UnderBar;":"_","urcorner;":"⌝","varkappa;":"ϰ","varsigma;":"ς","vartheta;":"ϑ","backprime;":"‵","backsimeq;":"⋍","Backslash;":"∖","bigotimes;":"⨂","CenterDot;":"·","centerdot;":"·","checkmark;":"✓","CircleDot;":"⊙","complexes;":"ℂ","Congruent;":"≡","Coproduct;":"∐","dotsquare;":"⊡","DoubleDot;":"¨","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownBreve;":"̑","gtrapprox;":"⪆","gtreqless;":"⋛","gvertneqq;":"≩︀","heartsuit;":"♥","HumpEqual;":"≏","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftFloor;":"⌊","lesseqgtr;":"⋚","LessTilde;":"≲","lvertneqq;":"≨︀","Mellintrf;":"ℳ","MinusPlus;":"∓","ngeqslant;":"⩾̸","nleqslant;":"⩽̸","NotCupCap;":"≭","NotExists;":"∄","NotSubset;":"⊂⃒","nparallel;":"∦","nshortmid;":"∤","nsubseteq;":"⊈","nsupseteq;":"⊉","OverBrace;":"⏞","pitchfork;":"⋔","PlusMinus;":"±","rationals;":"ℚ","spadesuit;":"♠","subseteqq;":"⫅","subsetneq;":"⊊","supseteqq;":"⫆","supsetneq;":"⊋","Therefore;":"∴","therefore;":"∴","ThinSpace;":" ","triangleq;":"≜","TripleDot;":"⃛","UnionPlus;":"⊎","varpropto;":"∝","Bernoullis;":"ℬ","circledast;":"⊛","CirclePlus;":"⊕","complement;":"∁","curlywedge;":"⋏","eqslantgtr;":"⪖","EqualTilde;":"≂","Fouriertrf;":"ℱ","gtreqqless;":"⪌","ImaginaryI;":"ⅈ","Laplacetrf;":"ℒ","LeftVector;":"↼","lessapprox;":"⪅","lesseqqgtr;":"⪋","Lleftarrow;":"⇚","lmoustache;":"⎰","longmapsto;":"⟼","mapstodown;":"↧","mapstoleft;":"↤","nLeftarrow;":"⇍","nleftarrow;":"↚","NotElement;":"∉","NotGreater;":"≯","nsubseteqq;":"⫅̸","nsupseteqq;":"⫆̸","precapprox;":"⪷","Proportion;":"∷","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightFloor;":"⌋","rmoustache;":"⎱","sqsubseteq;":"⊑","sqsupseteq;":"⊒","subsetneqq;":"⫋","succapprox;":"⪸","supsetneqq;":"⫌","ThickSpace;":"  ","TildeEqual;":"≃","TildeTilde;":"≈","UnderBrace;":"⏟","UpArrowBar;":"⤒","UpTeeArrow;":"↥","upuparrows;":"⇈","varepsilon;":"ϵ","varnothing;":"∅","backepsilon;":"϶","blacksquare;":"▪","circledcirc;":"⊚","circleddash;":"⊝","CircleMinus;":"⊖","CircleTimes;":"⊗","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","diamondsuit;":"♦","eqslantless;":"⪕","Equilibrium;":"⇌","expectation;":"ℰ","GreaterLess;":"≷","LeftCeiling;":"⌈","LessGreater;":"≶","MediumSpace;":" ","NotLessLess;":"≪̸","NotPrecedes;":"⊀","NotSucceeds;":"⊁","NotSuperset;":"⊃⃒","nRightarrow;":"⇏","nrightarrow;":"↛","OverBracket;":"⎴","preccurlyeq;":"≼","precnapprox;":"⪹","quaternions;":"ℍ","RightVector;":"⇀","Rrightarrow;":"⇛","RuleDelayed;":"⧴","SmallCircle;":"∘","SquareUnion;":"⊔","straightphi;":"ϕ","SubsetEqual;":"⊆","succcurlyeq;":"≽","succnapprox;":"⪺","thickapprox;":"≈","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","VerticalBar;":"∣","blacklozenge;":"⧫","DownArrowBar;":"⤓","DownTeeArrow;":"↧","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","GreaterEqual;":"≥","GreaterTilde;":"≳","HilbertSpace;":"ℋ","HumpDownHump;":"≎","Intersection;":"⋂","LeftArrowBar;":"⇤","LeftTeeArrow;":"↤","LeftTriangle;":"⊲","LeftUpVector;":"↿","NotCongruent;":"≢","NotHumpEqual;":"≏̸","NotLessEqual;":"≰","NotLessTilde;":"≴","Proportional;":"∝","RightCeiling;":"⌉","risingdotseq;":"≓","RoundImplies;":"⥰","ShortUpArrow;":"↑","SquareSubset;":"⊏","triangledown;":"▿","triangleleft;":"◃","UnderBracket;":"⎵","varsubsetneq;":"⊊︀","varsupsetneq;":"⊋︀","VerticalLine;":"|","ApplyFunction;":"⁡","bigtriangleup;":"△","blacktriangle;":"▴","DifferentialD;":"ⅆ","divideontimes;":"⋇","DoubleLeftTee;":"⫤","DoubleUpArrow;":"⇑","fallingdotseq;":"≒","hookleftarrow;":"↩","leftarrowtail;":"↢","leftharpoonup;":"↼","LeftTeeVector;":"⥚","LeftVectorBar;":"⥒","LessFullEqual;":"≦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","looparrowleft;":"↫","measuredangle;":"∡","NotEqualTilde;":"≂̸","NotTildeEqual;":"≄","NotTildeTilde;":"≉","ntriangleleft;":"⋪","Poincareplane;":"ℌ","PrecedesEqual;":"⪯","PrecedesTilde;":"≾","RightArrowBar;":"⇥","RightTeeArrow;":"↦","RightTriangle;":"⊳","RightUpVector;":"↾","shortparallel;":"∥","smallsetminus;":"∖","SucceedsEqual;":"⪰","SucceedsTilde;":"≿","SupersetEqual;":"⊇","triangleright;":"▹","UpEquilibrium;":"⥮","upharpoonleft;":"↿","varsubsetneqq;":"⫋︀","varsupsetneqq;":"⫌︀","VerticalTilde;":"≀","VeryThinSpace;":" ","curvearrowleft;":"↶","DiacriticalDot;":"˙","doublebarwedge;":"⌆","DoubleRightTee;":"⊨","downdownarrows;":"⇊","DownLeftVector;":"↽","GreaterGreater;":"⪢","hookrightarrow;":"↪","HorizontalLine;":"─","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","LeftDownVector;":"⇃","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftthreetimes;":"⋋","LessSlantEqual;":"⩽","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowright;":"↬","LowerLeftArrow;":"↙","NestedLessLess;":"≪","NotGreaterLess;":"≹","NotLessGreater;":"≸","NotSubsetEqual;":"⊈","NotVerticalBar;":"∤","nshortparallel;":"∦","ntriangleright;":"⋫","OpenCurlyQuote;":"‘","ReverseElement;":"∋","rightarrowtail;":"↣","rightharpoonup;":"⇀","RightTeeVector;":"⥛","RightVectorBar;":"⥓","ShortDownArrow;":"↓","ShortLeftArrow;":"←","SquareSuperset;":"⊐","TildeFullEqual;":"≅","trianglelefteq;":"⊴","upharpoonright;":"↾","UpperLeftArrow;":"↖","ZeroWidthSpace;":"​","bigtriangledown;":"▽","circlearrowleft;":"↺","CloseCurlyQuote;":"’","ContourIntegral;":"∮","curvearrowright;":"↷","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","downharpoonleft;":"⇃","DownRightVector;":"⇁","leftharpoondown;":"↽","leftrightarrows;":"⇆","LeftRightVector;":"⥎","LeftTriangleBar;":"⧏","LeftUpTeeVector;":"⥠","LeftUpVectorBar;":"⥘","LowerRightArrow;":"↘","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","NotGreaterEqual;":"≱","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotLeftTriangle;":"⋪","NotSquareSubset;":"⊏̸","ntrianglelefteq;":"⋬","OverParenthesis;":"⏜","RightDownVector;":"⇂","rightleftarrows;":"⇄","rightsquigarrow;":"↝","rightthreetimes;":"⋌","ShortRightArrow;":"→","straightepsilon;":"ϵ","trianglerighteq;":"⊵","UpperRightArrow;":"↗","vartriangleleft;":"⊲","circlearrowright;":"↻","DiacriticalAcute;":"´","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","DoubleRightArrow;":"⇒","DownArrowUpArrow;":"⇵","downharpoonright;":"⇂","EmptySmallSquare;":"◻","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","LeftAngleBracket;":"⟨","LeftUpDownVector;":"⥑","LessEqualGreater;":"⋚","NonBreakingSpace;":" ","NotPrecedesEqual;":"⪯̸","NotRightTriangle;":"⋫","NotSucceedsEqual;":"⪰̸","NotSucceedsTilde;":"≿̸","NotSupersetEqual;":"⊉","ntrianglerighteq;":"⋭","rightharpoondown;":"⇁","rightrightarrows;":"⇉","RightTriangleBar;":"⧐","RightUpTeeVector;":"⥜","RightUpVectorBar;":"⥔","twoheadleftarrow;":"↞","UnderParenthesis;":"⏝","UpArrowDownArrow;":"⇅","vartriangleright;":"⊳","blacktriangledown;":"▾","blacktriangleleft;":"◂","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownLeftTeeVector;":"⥞","DownLeftVectorBar;":"⥖","FilledSmallSquare;":"◼","GreaterSlantEqual;":"⩾","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVectorBar;":"⥙","leftrightharpoons;":"⇋","LeftTriangleEqual;":"⊴","NegativeThinSpace;":"​","NotGreaterGreater;":"≫̸","NotLessSlantEqual;":"⩽̸","NotNestedLessLess;":"⪡̸","NotReverseElement;":"∌","NotSquareSuperset;":"⊐̸","NotTildeFullEqual;":"≇","RightAngleBracket;":"⟩","rightleftharpoons;":"⇌","RightUpDownVector;":"⥏","SquareSubsetEqual;":"⊑","twoheadrightarrow;":"↠","VerticalSeparator;":"❘","blacktriangleright;":"▸","DownRightTeeVector;":"⥟","DownRightVectorBar;":"⥗","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","NegativeThickSpace;":"​","NotLeftTriangleBar;":"⧏̸","PrecedesSlantEqual;":"≼","ReverseEquilibrium;":"⇋","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVectorBar;":"⥕","RightTriangleEqual;":"⊵","SquareIntersection;":"⊓","SucceedsSlantEqual;":"≽","DoubleLongLeftArrow;":"⟸","DownLeftRightVector;":"⥐","LeftArrowRightArrow;":"⇆","leftrightsquigarrow;":"↭","NegativeMediumSpace;":"​","NotGreaterFullEqual;":"≧̸","NotRightTriangleBar;":"⧐̸","RightArrowLeftArrow;":"⇄","SquareSupersetEqual;":"⊒","CapitalDifferentialD;":"ⅅ","DoubleLeftRightArrow;":"⇔","DoubleLongRightArrow;":"⟹","EmptyVerySmallSquare;":"▫","NestedGreaterGreater;":"≫","NotDoubleVerticalBar;":"∦","NotGreaterSlantEqual;":"⩾̸","NotLeftTriangleEqual;":"⋬","NotSquareSubsetEqual;":"⋢","OpenCurlyDoubleQuote;":"“","ReverseUpEquilibrium;":"⥯","CloseCurlyDoubleQuote;":"”","DoubleContourIntegral;":"∯","FilledVerySmallSquare;":"▪","NegativeVeryThinSpace;":"​","NotPrecedesSlantEqual;":"⋠","NotRightTriangleEqual;":"⋭","NotSucceedsSlantEqual;":"⋡","DiacriticalDoubleAcute;":"˝","NotSquareSupersetEqual;":"⋣","NotNestedGreaterGreater;":"⪢̸","ClockwiseContourIntegral;":"∲","DoubleLongLeftRightArrow;":"⟺","CounterClockwiseContourIntegral;":"∳"};let kl;const Ol={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},Nl=Me("style,iframe,script,noscript",!0),Il={isVoidTag:xt,isNativeTag:e=>vt(e)||bt(e),isPreTag:e=>"pre"===e,decodeEntities:(e,t)=>{let r=0;const s=e.length;let n="";function i(t){r+=t,e=e.slice(t)}for(;r<s;){const o=/&(?:#x?)?/i.exec(e);if(!o||r+o.index>=s){const t=s-r;n+=e.slice(0,t),i(t);break}if(n+=e.slice(0,o.index),i(o.index),"&"===o[0]){let r,s="";if(/[0-9a-z]/i.test(e[1])){kl||(kl=Object.keys(Cl).reduce(((e,t)=>Math.max(e,t.length)),0));for(let t=kl;!r&&t>0;--t)s=e.slice(1,1+t),r=Cl[s];if(r){const o=s.endsWith(";");t&&!o&&/[=a-z0-9]/i.test(e[s.length+1]||"")?(n+="&"+s,i(1+s.length)):(n+=r,i(1+s.length))}else n+="&"+s,i(1+s.length)}else n+="&",i(1)}else{const t="&#x"===o[0],r=(t?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(e);if(r){let e=Number.parseInt(r[1],t?16:10);0===e||e>1114111||e>=55296&&e<=57343?e=65533:e>=64976&&e<=65007||65534==(65534&e)||(e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159)&&(e=Ol[e]||e),n+=String.fromCodePoint(e),i(r[0].length)}else n+=o[0],i(o[0].length)}}return n},isBuiltInComponent:e=>Bi(e,"Transition")?Tl:Bi(e,"TransitionGroup")?Al: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(Nl(e))return 2}return 0}},Rl=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:Pr("style",!0,t.loc),exp:Ll(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Ll=(e,t)=>{const r=mt(e);return Pr(JSON.stringify(r),!1,t,3)};function Dl(e,t){return Ot(e,t,Ml)}const Ml={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},jl=Me("passive,once,capture"),Fl=Me("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Bl=Me("left,right"),Ul=Me("onkeyup,onkeydown,onkeypress",!0),$l=(e,t)=>Fi(e)&&"onclick"===e.content.toLowerCase()?Pr(t,!0):4!==e.type?Tr(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;function ql(e){const t=e.children=e.children.filter((e=>3!==e.type&&!(2===e.type&&!e.content.trim()))),r=t[0];return 1!==t.length||11===r.type||9===r.type&&r.branches.some(ql)}const Hl=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Wl=(e,t,r)=>{if(t.scopes.vSlot>0)return;let s=0,n=0;const i=[],o=r=>{if(s>=20||n>=5){const s=Ar(t.helper(Wt),[JSON.stringify(i.map((e=>Xl(e,t))).join("")).replace(Hl,'" + $1 + "'),String(i.length)]);if(Kl(i[0],s,t),i.length>1){for(let e=1;e<i.length;e++)Kl(i[e],null,t);const s=i.length-1;return e.splice(r-i.length+1,s),s}}return 0};let a=0;for(;a<e.length;a++){const t=e[a];if(Vl(t)){const e=t,r=Jl(e);if(r){s+=r[0],n+=r[1],i.push(e);continue}}a-=o(a),s=0,n=0,i.length=0}o(a)},Vl=e=>(1===e.type&&0===e.tagType||12==e.type)&&e.codegenNode&&4===e.codegenNode.type&&e.codegenNode.hoisted,zl=/^(data|aria)-/,Gl=(e,t)=>(0===t?St(e):1===t&&Et(e))||zl.test(e),Kl=(e,t,r)=>{const s=e.codegenNode.hoisted;r.hoists[r.hoists.indexOf(s)]=t},Yl=Me("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Jl(e){if(1===e.type&&Yl(e.tag))return!1;if(12===e.type)return[1,0];let t=1,r=e.props.length>0?1:0,s=!1;const n=()=>(s=!0,!1);return!!function e(i){for(let e=0;e<i.props.length;e++){const t=i.props[e];if(6===t.type&&!Gl(t.name,i.ns))return n();if(7===t.type&&"bind"===t.name){if(t.arg&&(8===t.arg.type||t.arg.isStatic&&!Gl(t.arg.content,i.ns)))return n();if(t.exp&&(8===t.exp.type||t.exp.constType<3))return n()}}for(let n=0;n<i.children.length;n++){t++;const o=i.children[n];if(1===o.type&&(o.props.length>0&&r++,e(o),s))return!1}return!0}(e)&&[t,r]}function Xl(e,t){if(ze(e))return e;if(Ge(e))return"";switch(e.type){case 1:return function(e,t){let r=`<${e.tag}`,s="";for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)r+=` ${n.name}`,n.value&&(r+=`="${Pt(n.value.content)}"`);else if(7===n.type)if("bind"===n.name){const e=n.exp;if("_"===e.content[0]){r+=` ${n.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(wt(n.arg.content)&&"false"===e.content)continue;let t=Ql(e);if(null!=t){const e=n.arg&&n.arg.content;"class"===e?t=yt(t):"style"===e&&(t=gt(ht(t))),r+=` ${n.arg.content}="${Pt(t)}"`}}else"html"===n.name?s=Ql(n.exp):"text"===n.name&&(s=Pt(Tt(Ql(n.exp))))}if(t.scopeId&&(r+=` ${t.scopeId}`),r+=">",s)r+=s;else for(let s=0;s<e.children.length;s++)r+=Xl(e.children[s],t);return xt(e.tag)||(r+=`</${e.tag}>`),r}(e,t);case 2:return Pt(e.content);case 3:return`\x3c!--${Pt(e.content)}--\x3e`;case 5:return Pt(Tt(Ql(e.content)));case 8:return Pt(Ql(e));case 12:return Xl(e.content,t);default:return""}}function Ql(e){if(4===e.type)return new Function(`return (${e.content})`)();{let t="";return e.children.forEach((e=>{ze(e)||Ge(e)||(2===e.type?t+=e.content:5===e.type?t+=Tt(Ql(e.content)):t+=Ql(e))})),t}}const Zl=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(Dl(63,e.loc)),t.removeNode())},eu=[Rl,(e,t)=>{if(1===e.type&&1===e.tagType&&t.isBuiltInComponent(e.tag)===Tl)return()=>{if(!e.children.length)return;ql(e)&&t.onError(Dl(62,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const r=e.children[0];if(1===r.type)for(const t of r.props)7===t.type&&"show"===t.name&&e.props.push({type:6,name:"persisted",value:void 0,loc:e.loc})}}],tu={cloak:yl,html:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Dl(53,n)),t.children.length&&(r.onError(Dl(54,n)),t.children.length=0),{props:[_r(Pr("innerHTML",!0,n),s||Pr("",!0))]}},text:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Dl(55,n)),t.children.length&&(r.onError(Dl(56,n)),t.children.length=0),{props:[_r(Pr("textContent",!0),s?Ko(s,r)>0?s:Ar(r.helperString(Zt),[s],n):Pr("",!0))]}},model:(e,t,r)=>{const s=hl(e,t,r);if(!s.props.length||1===t.tagType)return s;function n(){const e=Zi(t,"value");e&&r.onError(Dl(60,e.loc))}e.arg&&r.onError(Dl(58,e.arg.loc));const{tag:i}=t,o=r.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let a=xl,c=!1;if("input"===i||o){const s=Zi(t,"type");if(s){if(7===s.type)a=Sl;else if(s.value)switch(s.value.content){case"radio":a=vl;break;case"checkbox":a=bl;break;case"file":c=!0,r.onError(Dl(59,e.loc));break;default:n()}}else to(t)?a=Sl:n()}else"select"===i?a=wl:n();c||(s.needRuntime=r.helper(a))}else r.onError(Dl(57,e.loc));return s.props=s.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),s},on:(e,t,r)=>il(e,t,r,(t=>{const{modifiers:s}=e;if(!s.length)return t;let{key:n,value:i}=t.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t,r,s)=>{const n=[],i=[],o=[];for(let r=0;r<t.length;r++){const s=t[r];jl(s)?o.push(s):Bl(s)?Fi(e)?Ul(e.content)?n.push(s):i.push(s):(n.push(s),i.push(s)):Fl(s)?i.push(s):n.push(s)}return{keyModifiers:n,nonKeyModifiers:i,eventOptionModifiers:o}})(n,s,0,e.loc);if(a.includes("right")&&(n=$l(n,"onContextmenu")),a.includes("middle")&&(n=$l(n,"onMouseup")),a.length&&(i=Ar(r.helper(El),[i,JSON.stringify(a)])),!o.length||Fi(n)&&!Ul(n.content)||(i=Ar(r.helper(_l),[i,JSON.stringify(o)])),c.length){const e=c.map(nt).join("");n=Fi(n)?Pr(`${n.content}${e}`,!0):Tr(["(",n,`) + "${e}"`])}return{props:[_r(n,i)]}})),show:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Dl(61,n)),{props:[],needRuntime:r.helper(Pl)}}};var ru=Object.freeze({__proto__:null,BASE_TRANSITION:Mt,CAMELIZE:or,CAPITALIZE:ar,CREATE_BLOCK:Ft,CREATE_COMMENT:qt,CREATE_ELEMENT_BLOCK:Bt,CREATE_ELEMENT_VNODE:$t,CREATE_SLOTS:Qt,CREATE_STATIC:Wt,CREATE_TEXT:Ht,CREATE_VNODE:Ut,DOMDirectiveTransforms:tu,DOMNodeTransforms:eu,FRAGMENT:It,GUARD_REACTIVE_PROPS:nr,IS_MEMO_SAME:gr,IS_REF:fr,KEEP_ALIVE:Dt,MERGE_PROPS:er,NORMALIZE_CLASS:tr,NORMALIZE_PROPS:sr,NORMALIZE_STYLE:rr,OPEN_BLOCK:jt,POP_SCOPE_ID:hr,PUSH_SCOPE_ID:ur,RENDER_LIST:Jt,RENDER_SLOT:Xt,RESOLVE_COMPONENT:Vt,RESOLVE_DIRECTIVE:Gt,RESOLVE_DYNAMIC_COMPONENT:zt,RESOLVE_FILTER:Kt,SET_BLOCK_TRACKING:lr,SUSPENSE:Lt,TELEPORT:Rt,TO_DISPLAY_STRING:Zt,TO_HANDLERS:ir,TO_HANDLER_KEY:cr,TRANSITION:Tl,TRANSITION_GROUP:Al,TS_NODE_TYPES:vc,UNREF:dr,V_MODEL_CHECKBOX:bl,V_MODEL_DYNAMIC:Sl,V_MODEL_RADIO:vl,V_MODEL_SELECT:wl,V_MODEL_TEXT:xl,V_ON_WITH_KEYS:_l,V_ON_WITH_MODIFIERS:El,V_SHOW:Pl,WITH_CTX:pr,WITH_DIRECTIVES:Yt,WITH_MEMO:mr,advancePositionWithClone:Yi,advancePositionWithMutation:Ji,assert:Xi,baseCompile:gl,baseParse:xo,buildDirectiveArgs:el,buildProps:Xc,buildSlots:Hc,checkCompatEnabled:function(e,t,r,...s){const n=function(e,t){const r=mo("MODE",t),s=mo(e,t);return 3===r?!0===s:!1!==s}(e,t);return n&&go(e,t,r,...s),n},compile:function(e,t={}){return gl(e,qe({},Il,t,{nodeTransforms:[Zl,...eu,...t.nodeTransforms||[]],directiveTransforms:qe({},tu,t.directiveTransforms||{}),transformHoist:Wl}))},convertToBlock:Lr,createArrayExpression:Sr,createAssignmentExpression:function(e,t){return{type:24,left:e,right:t,loc:br}},createBlockStatement:Nr,createCacheExpression:Or,createCallExpression:Ar,createCompilerError:Ot,createCompoundExpression:Tr,createConditionalExpression:kr,createDOMCompilerError:Dl,createForLoopParams:Fc,createFunctionExpression:Cr,createIfStatement:function(e,t,r){return{type:23,test:e,consequent:t,alternate:r,loc:br}},createInterpolation:function(e,t){return{type:5,loc:t,content:ze(e)?Pr(e,!1,t):e}},createObjectExpression:Er,createObjectProperty:_r,createReturnStatement:function(e){return{type:26,returns:e,loc:br}},createRoot:xr,createSequenceExpression:function(e){return{type:25,expressions:e,loc:br}},createSimpleExpression:Pr,createStructuralDirectiveTransform:sa,createTemplateLiteral:function(e){return{type:22,elements:e,loc:br}},createTransformContext:ea,createVNodeCall:wr,extractIdentifiers:dc,findDir:Qi,findProp:Zi,generate:Ja,generateCodeFrame:function(e,t=0,r=e.length){let s=e.split(/(\r?\n)/);const n=s.filter(((e,t)=>t%2==1));s=s.filter(((e,t)=>t%2==0));let i=0;const o=[];for(let e=0;e<s.length;e++)if(i+=s[e].length+(n[e]&&n[e].length||0),i>=t){for(let a=e-2;a<=e+2||r>i;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const l=s[a].length,u=n[a]&&n[a].length||0;if(a===e){const e=t-(i-(l+u)),s=Math.max(1,r>i?l-e:r-t);o.push(" | "+" ".repeat(e)+"^".repeat(s))}else if(a>e){if(r>i){const e=Math.max(Math.min(r-i,l),1);o.push(" | "+"^".repeat(e))}i+=l+u}}break}return o.join("\n")},getBaseTransformPreset:ml,getConstantType:Ko,getInnerRange:Ki,getMemoedVNodeCall:po,getVNodeBlockHelper:Rr,getVNodeHelper:Ir,hasDynamicKeyVBind:to,hasScopeRef:ho,helperNameMap:yr,injectProp:co,isBuiltInType:Bi,isCoreComponent:Ui,isFunctionType:mc,isInDestructureAssignment:uc,isMemberExpression:Gi,isMemberExpressionBrowser:e=>{e=e.trim().replace(Vi,(e=>e.trim()));let t=0,r=[],s=0,n=0,i=null;for(let o=0;o<e.length;o++){const a=e.charAt(o);switch(t){case 0:if("["===a)r.push(t),t=1,s++;else if("("===a)r.push(t),t=2,n++;else if(!(0===o?Hi:Wi).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(r.push(t),t=3,i=a):"["===a?s++:"]"===a&&(--s||(t=r.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)r.push(t),t=3,i=a;else if("("===a)n++;else if(")"===a){if(o===e.length-1)return!1;--n||(t=r.pop())}break;case 3:a===i&&(t=r.pop(),i=null)}}return!s&&!n},isMemberExpressionNode:zi,isReferencedIdentifier:lc,isSimpleIdentifier:qi,isSlotOutlet:io,isStaticArgOf:eo,isStaticExp:Fi,isStaticProperty:gc,isStaticPropertyKey:yc,isTemplateNode:no,isText:ro,isVSlot:so,locStub:br,noopDirectiveTransform:yl,parse:function(e,t={}){return xo(e,qe({},Il,t))},parserOptions:Il,processExpression:Sc,processFor:Ic,processIf:Tc,processSlotOutlet:sl,registerRuntimeHelpers:vr,resolveComponentType:Yc,stringifyExpression:Ec,toValidAssetId:uo,trackSlotScopes:Uc,trackVForSlotScopes:$c,transform:ta,transformBind:ol,transformElement:Kc,transformExpression:wc,transformModel:hl,transformOn:il,transformStyle:Rl,traverseNode:ra,walkBlockDeclarations:pc,walkFunctionParams:hc,walkIdentifiers:cc,warnDeprecation:go});function su(e,t){for(var r=0,s=e.length-1;s>=0;s--){var n=e[s];"."===n?e.splice(s,1):".."===n?(e.splice(s,1),r++):r&&(e.splice(s,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}var nu=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,iu=function(e){return nu.exec(e).slice(1)};function ou(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var s=r>=0?arguments[r]:"/";if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,t="/"===s.charAt(0))}return(t?"/":"")+(e=su(mu(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function au(e){var t=cu(e),r="/"===gu(e,-1);return(e=su(mu(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function cu(e){return"/"===e.charAt(0)}function lu(){return au(mu(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 uu(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=ou(e).substr(1),t=ou(t).substr(1);for(var s=r(e.split("/")),n=r(t.split("/")),i=Math.min(s.length,n.length),o=i,a=0;a<i;a++)if(s[a]!==n[a]){o=a;break}var c=[];for(a=o;a<s.length;a++)c.push("..");return(c=c.concat(n.slice(o))).join("/")}function hu(e){var t=iu(e),r=t[0],s=t[1];return r||s?(s&&(s=s.substr(0,s.length-1)),r+s):"."}function pu(e,t){var r=iu(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function du(e){return iu(e)[3]}var fu={extname:du,basename:pu,dirname:hu,sep:"/",delimiter:":",relative:uu,join:lu,isAbsolute:cu,normalize:au,resolve:ou};function mu(e,t){if(e.filter)return e.filter(t);for(var r=[],s=0;s<e.length;s++)t(e[s],s,e)&&r.push(e[s]);return r}var gu=function(e,t,r){return e.substr(t,r)},yu=Object.freeze({__proto__:null,basename:pu,default:fu,delimiter:":",dirname:hu,extname:du,isAbsolute:cu,join:lu,normalize:au,relative:uu,resolve:ou,sep:"/"});(fu.posix||fu).normalize,(fu.posix||fu).join;function vu(e){return"'"===(e=e.trim())[0]&&"'"===e[e.length-1]||'"'===e[0]&&'"'===e[e.length-1]?e.slice(1,-1):e}const bu=/v-bind\s*\(/g;function xu(e,t){let r=0,s=0;for(let n=t;n<e.length;n++){const t=e.charAt(n);switch(r){case 0:if("'"===t)r=1;else if('"'===t)r=2;else if("("===t)s++;else if(")"===t){if(!(s>0))return n;s--}break;case 1:"'"===t&&(r=0);break;case 2:'"'===t&&(r=0)}}return null}function wu(e=500){return new Map}const Su=wu(),Eu=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function _u(e,t){if(/ as\s+\w|<.*>|:/.test(e)){if("slot"===t)e=`(${e})=>{}`;else if("on"===t)e=`()=>{return ${e}}`;else if("for"===t){const t=e.match(Eu);if(t){let[,e,r]=t;return e=e.trim().replace(/^\(|\)$/g,""),_u(`(${e})=>{}`)+_u(r)}}let r="";return cc(ji(e,{plugins:["typescript"]}),(e=>{r+=","+e.name})),r}return function(e){return e.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,Pu)}(e)}function Pu(e){const t=e.match(/\${[^}]+}/g);return t?t.map((e=>e.slice(2,-1))).join(","):""}var Tu=Object.defineProperty,Au=Object.getOwnPropertySymbols,Cu=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Ou=(e,t,r)=>t in e?Tu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nu=(e,t)=>{for(var r in t||(t={}))Cu.call(t,r)&&Ou(e,r,t[r]);if(Au)for(var r of Au(t))ku.call(t,r)&&Ou(e,r,t[r]);return e};const Iu=wu();function Ru(e,t=!1){const r=new SyntaxError(`Single file component can contain only one <${e.tag}${t?" setup":""}> element`);return r.loc=e.loc,r}function Lu(e,t,r){const s=e.tag;let{start:n,end:i}=e.loc,o="";if(e.children.length)n=e.children[0].loc.start,i=e.children[e.children.length-1].loc.end,o=t.slice(n.offset,i.offset);else{const t=e.loc.source.indexOf("</");t>-1&&(n={line:n.line,column:n.column+t,offset:n.offset+t}),i=Nu({},n)}const a={},c={type:s,content:o,loc:{source:o,start:n,end:i},attrs:a};return r&&(c.content=function(e,t,r){if(e=e.slice(0,t.loc.start.offset),"space"===r)return e.replace(ju," ");{const r=e.split(Du).length,s="script"!==t.type||t.lang?"\n":"//\n";return Array(r).join(s)}}(t,c,r)+c.content),e.props.forEach((e=>{6===e.type&&(a[e.name]=e.value&&e.value.content||!0,"lang"===e.name?c.lang=e.value&&e.value.content:"src"===e.name?c.src=e.value&&e.value.content:"style"===s?"scoped"===e.name?c.scoped=!0:"module"===e.name&&(c.module=a[e.name]):"script"===s&&"setup"===e.name&&(c.setup=a.setup))})),c}const Du=/\r?\n/g,Mu=/^(?:\/\/)?\s*$/,ju=/./g;var Fu="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Bu=2147483647,Uu=36,$u=1,qu=26,Hu=38,Wu=700,Vu=72,zu=128,Gu="-",Ku=/[^\x20-\x7E]/,Yu=/[\x2E\u3002\uFF0E\uFF61]/g,Ju={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Xu=Uu-$u,Qu=Math.floor,Zu=String.fromCharCode;function eh(e){throw new RangeError(Ju[e])}function th(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function rh(e,t,r){var s=0;for(e=r?Qu(e/Wu):e>>1,e+=Qu(e/t);e>Xu*qu>>1;s+=Uu)e=Qu(e/Xu);return Qu(s+(Xu+1)*e/(e+Hu))}function sh(e){return function(e,t){var r=e.split("@"),s="";r.length>1&&(s=r[0]+"@",e=r[1]);var n=function(e,t){for(var r=e.length,s=[];r--;)s[r]=t(e[r]);return s}((e=e.replace(Yu,".")).split("."),(function(e){return Ku.test(e)?"xn--"+function(e){var t,r,s,n,i,o,a,c,l,u,h,p,d,f,m,g=[];for(e=function(e){for(var t,r,s=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(r=e.charCodeAt(n++)))?s.push(((1023&t)<<10)+(1023&r)+65536):(s.push(t),n--):s.push(t);return s}(e),p=e.length,t=zu,r=0,i=Vu,o=0;o<p;++o)(h=e[o])<128&&g.push(Zu(h));for(s=n=g.length,n&&g.push(Gu);s<p;){for(a=Bu,o=0;o<p;++o)(h=e[o])>=t&&h<a&&(a=h);for(a-t>Qu((Bu-r)/(d=s+1))&&eh("overflow"),r+=(a-t)*d,t=a,o=0;o<p;++o)if((h=e[o])<t&&++r>Bu&&eh("overflow"),h==t){for(c=r,l=Uu;!(c<(u=l<=i?$u:l>=i+qu?qu:l-i));l+=Uu)m=c-u,f=Uu-u,g.push(Zu(th(u+m%f,0))),c=Qu(m/f);g.push(Zu(th(c,0))),i=rh(r,d,s==n),r=0,++s}++r,++t}return g.join("")}(e):e})).join(".");return s+n}(e)}var nh=[],ih=[],oh="undefined"!=typeof Uint8Array?Uint8Array:Array,ah=!1;function ch(){ah=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)nh[t]=e[t],ih[e.charCodeAt(t)]=t;ih["-".charCodeAt(0)]=62,ih["_".charCodeAt(0)]=63}function lh(e,t,r){for(var s,n,i=[],o=t;o<r;o+=3)s=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(nh[(n=s)>>18&63]+nh[n>>12&63]+nh[n>>6&63]+nh[63&n]);return i.join("")}function uh(e){var t;ah||ch();for(var r=e.length,s=r%3,n="",i=[],o=16383,a=0,c=r-s;a<c;a+=o)i.push(lh(e,a,a+o>c?c:a+o));return 1===s?(t=e[r-1],n+=nh[t>>2],n+=nh[t<<4&63],n+="=="):2===s&&(t=(e[r-2]<<8)+e[r-1],n+=nh[t>>10],n+=nh[t>>4&63],n+=nh[t<<2&63],n+="="),i.push(n),i.join("")}function hh(e,t,r,s,n){var i,o,a=8*n-s-1,c=(1<<a)-1,l=c>>1,u=-7,h=r?n-1:0,p=r?-1:1,d=e[t+h];for(h+=p,i=d&(1<<-u)-1,d>>=-u,u+=a;u>0;i=256*i+e[t+h],h+=p,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=s;u>0;o=256*o+e[t+h],h+=p,u-=8);if(0===i)i=1-l;else{if(i===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,s),i-=l}return(d?-1:1)*o*Math.pow(2,i-s)}function ph(e,t,r,s,n,i){var o,a,c,l=8*i-n-1,u=(1<<l)-1,h=u>>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=s?0:i-1,f=s?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+h>=1?p/c:p*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(t*c-1)*Math.pow(2,n),o+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,n),o=0));n>=8;e[r+d]=255&a,d+=f,a/=256,n-=8);for(o=o<<n|a,l+=n;l>0;e[r+d]=255&o,d+=f,o/=256,l-=8);e[r+d-f]|=128*m}var dh={}.toString,fh=Array.isArray||function(e){return"[object Array]"==dh.call(e)};function mh(){return yh.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function gh(e,t){if(mh()<t)throw new RangeError("Invalid typed array length");return yh.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=yh.prototype:(null===e&&(e=new yh(t)),e.length=t),e}function yh(e,t,r){if(!(yh.TYPED_ARRAY_SUPPORT||this instanceof yh))return new yh(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 xh(this,e)}return vh(this,e,t,r)}function vh(e,t,r,s){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,s){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(s||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===s?new Uint8Array(t):void 0===s?new Uint8Array(t,r):new Uint8Array(t,r,s),yh.TYPED_ARRAY_SUPPORT?(e=t).__proto__=yh.prototype:e=wh(e,t),e}(e,t,r,s):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!yh.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var s=0|_h(t,r),n=(e=gh(e,s)).write(t,r);return n!==s&&(e=e.slice(0,n)),e}(e,t,r):function(e,t){if(Eh(t)){var r=0|Sh(t.length);return 0===(e=gh(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(s=t.length)!=s?gh(e,0):wh(e,t);if("Buffer"===t.type&&fh(t.data))return wh(e,t.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function bh(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 xh(e,t){if(bh(t),e=gh(e,t<0?0:0|Sh(t)),!yh.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function wh(e,t){var r=t.length<0?0:0|Sh(t.length);e=gh(e,r);for(var s=0;s<r;s+=1)e[s]=255&t[s];return e}function Sh(e){if(e>=mh())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+mh().toString(16)+" bytes");return 0|e}function Eh(e){return!(null==e||!e._isBuffer)}function _h(e,t){if(Eh(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"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 s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Xh(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Qh(e).length;default:if(s)return Xh(e).length;t=(""+t).toLowerCase(),s=!0}}function Ph(e,t,r){var s=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Uh(this,t,r);case"utf8":case"utf-8":return Mh(this,t,r);case"ascii":return Fh(this,t,r);case"latin1":case"binary":return Bh(this,t,r);case"base64":return Dh(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $h(this,t,r);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function Th(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function Ah(e,t,r,s,n){if(0===e.length)return-1;if("string"==typeof r?(s=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=yh.from(t,s)),Eh(t))return 0===t.length?-1:Ch(e,t,r,s,n);if("number"==typeof t)return t&=255,yh.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Ch(e,[t],r,s,n);throw new TypeError("val must be string, number or Buffer")}function Ch(e,t,r,s,n){var i,o=1,a=e.length,c=t.length;if(void 0!==s&&("ucs2"===(s=String(s).toLowerCase())||"ucs-2"===s||"utf16le"===s||"utf-16le"===s)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var u=-1;for(i=r;i<a;i++)if(l(e,i)===l(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===c)return u*o}else-1!==u&&(i-=i-u),u=-1}else for(r+c>a&&(r=a-c),i=r;i>=0;i--){for(var h=!0,p=0;p<c;p++)if(l(e,i+p)!==l(t,p)){h=!1;break}if(h)return i}return-1}function kh(e,t,r,s){r=Number(r)||0;var n=e.length-r;s?(s=Number(s))>n&&(s=n):s=n;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");s>i/2&&(s=i/2);for(var o=0;o<s;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[r+o]=a}return o}function Oh(e,t,r,s){return Zh(Xh(t,e.length-r),e,r,s)}function Nh(e,t,r,s){return Zh(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,s)}function Ih(e,t,r,s){return Nh(e,t,r,s)}function Rh(e,t,r,s){return Zh(Qh(t),e,r,s)}function Lh(e,t,r,s){return Zh(function(e,t){for(var r,s,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)s=(r=e.charCodeAt(o))>>8,n=r%256,i.push(n),i.push(s);return i}(t,e.length-r),e,r,s)}function Dh(e,t,r){return 0===t&&r===e.length?uh(e):uh(e.slice(t,r))}function Mh(e,t,r){r=Math.min(e.length,r);for(var s=[],n=t;n<r;){var i,o,a,c,l=e[n],u=null,h=l>239?4:l>223?3:l>191?2:1;if(n+h<=r)switch(h){case 1:l<128&&(u=l);break;case 2:128==(192&(i=e[n+1]))&&(c=(31&l)<<6|63&i)>127&&(u=c);break;case 3:i=e[n+1],o=e[n+2],128==(192&i)&&128==(192&o)&&(c=(15&l)<<12|(63&i)<<6|63&o)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:i=e[n+1],o=e[n+2],a=e[n+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(c=(15&l)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,h=1):u>65535&&(u-=65536,s.push(u>>>10&1023|55296),u=56320|1023&u),s.push(u),n+=h}return function(e){var t=e.length;if(t<=jh)return String.fromCharCode.apply(String,e);for(var r="",s=0;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=jh));return r}(s)}yh.TYPED_ARRAY_SUPPORT=void 0===Fu.TYPED_ARRAY_SUPPORT||Fu.TYPED_ARRAY_SUPPORT,mh(),yh.poolSize=8192,yh._augment=function(e){return e.__proto__=yh.prototype,e},yh.from=function(e,t,r){return vh(null,e,t,r)},yh.TYPED_ARRAY_SUPPORT&&(yh.prototype.__proto__=Uint8Array.prototype,yh.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&yh[Symbol.species]),yh.alloc=function(e,t,r){return function(e,t,r,s){return bh(t),t<=0?gh(e,t):void 0!==r?"string"==typeof s?gh(e,t).fill(r,s):gh(e,t).fill(r):gh(e,t)}(null,e,t,r)},yh.allocUnsafe=function(e){return xh(null,e)},yh.allocUnsafeSlow=function(e){return xh(null,e)},yh.isBuffer=function(e){return null!=e&&(!!e._isBuffer||ep(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&ep(e.slice(0,0))}(e))},yh.compare=function(e,t){if(!Eh(e)||!Eh(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,s=t.length,n=0,i=Math.min(r,s);n<i;++n)if(e[n]!==t[n]){r=e[n],s=t[n];break}return r<s?-1:s<r?1:0},yh.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}},yh.concat=function(e,t){if(!fh(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return yh.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var s=yh.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(!Eh(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(s,n),n+=i.length}return s},yh.byteLength=_h,yh.prototype._isBuffer=!0,yh.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)Th(this,t,t+1);return this},yh.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)Th(this,t,t+3),Th(this,t+1,t+2);return this},yh.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)Th(this,t,t+7),Th(this,t+1,t+6),Th(this,t+2,t+5),Th(this,t+3,t+4);return this},yh.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Mh(this,0,e):Ph.apply(this,arguments)},yh.prototype.equals=function(e){if(!Eh(e))throw new TypeError("Argument must be a Buffer");return this===e||0===yh.compare(this,e)},yh.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+">"},yh.prototype.compare=function(e,t,r,s,n){if(!Eh(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===s&&(s=0),void 0===n&&(n=this.length),t<0||r>e.length||s<0||n>this.length)throw new RangeError("out of range index");if(s>=n&&t>=r)return 0;if(s>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(s>>>=0),o=(r>>>=0)-(t>>>=0),a=Math.min(i,o),c=this.slice(s,n),l=e.slice(t,r),u=0;u<a;++u)if(c[u]!==l[u]){i=c[u],o=l[u];break}return i<o?-1:o<i?1:0},yh.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},yh.prototype.indexOf=function(e,t,r){return Ah(this,e,t,r,!0)},yh.prototype.lastIndexOf=function(e,t,r){return Ah(this,e,t,r,!1)},yh.prototype.write=function(e,t,r,s){if(void 0===t)s="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)s=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===s&&(s="utf8")):(s=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var i=!1;;)switch(s){case"hex":return kh(this,e,t,r);case"utf8":case"utf-8":return Oh(this,e,t,r);case"ascii":return Nh(this,e,t,r);case"latin1":case"binary":return Ih(this,e,t,r);case"base64":return Rh(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lh(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),i=!0}},yh.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var jh=4096;function Fh(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(127&e[n]);return s}function Bh(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(e[n]);return s}function Uh(e,t,r){var s=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>s)&&(r=s);for(var n="",i=t;i<r;++i)n+=Jh(e[i]);return n}function $h(e,t,r){for(var s=e.slice(t,r),n="",i=0;i<s.length;i+=2)n+=String.fromCharCode(s[i]+256*s[i+1]);return n}function qh(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 Hh(e,t,r,s,n,i){if(!Eh(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(r+s>e.length)throw new RangeError("Index out of range")}function Wh(e,t,r,s){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(e.length-r,2);n<i;++n)e[r+n]=(t&255<<8*(s?n:1-n))>>>8*(s?n:1-n)}function Vh(e,t,r,s){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(e.length-r,4);n<i;++n)e[r+n]=t>>>8*(s?n:3-n)&255}function zh(e,t,r,s,n,i){if(r+s>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Gh(e,t,r,s,n){return n||zh(e,0,r,4),ph(e,t,r,s,23,4),r+4}function Kh(e,t,r,s,n){return n||zh(e,0,r,8),ph(e,t,r,s,52,8),r+8}yh.prototype.slice=function(e,t){var r,s=this.length;if((e=~~e)<0?(e+=s)<0&&(e=0):e>s&&(e=s),(t=void 0===t?s:~~t)<0?(t+=s)<0&&(t=0):t>s&&(t=s),t<e&&(t=e),yh.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=yh.prototype;else{var n=t-e;r=new yh(n,void 0);for(var i=0;i<n;++i)r[i]=this[i+e]}return r},yh.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||qh(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s},yh.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||qh(e,t,this.length);for(var s=this[e+--t],n=1;t>0&&(n*=256);)s+=this[e+--t]*n;return s},yh.prototype.readUInt8=function(e,t){return t||qh(e,1,this.length),this[e]},yh.prototype.readUInt16LE=function(e,t){return t||qh(e,2,this.length),this[e]|this[e+1]<<8},yh.prototype.readUInt16BE=function(e,t){return t||qh(e,2,this.length),this[e]<<8|this[e+1]},yh.prototype.readUInt32LE=function(e,t){return t||qh(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},yh.prototype.readUInt32BE=function(e,t){return t||qh(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},yh.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||qh(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},yh.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||qh(e,t,this.length);for(var s=t,n=1,i=this[e+--s];s>0&&(n*=256);)i+=this[e+--s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},yh.prototype.readInt8=function(e,t){return t||qh(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},yh.prototype.readInt16LE=function(e,t){t||qh(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},yh.prototype.readInt16BE=function(e,t){t||qh(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},yh.prototype.readInt32LE=function(e,t){return t||qh(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},yh.prototype.readInt32BE=function(e,t){return t||qh(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},yh.prototype.readFloatLE=function(e,t){return t||qh(e,4,this.length),hh(this,e,!0,23,4)},yh.prototype.readFloatBE=function(e,t){return t||qh(e,4,this.length),hh(this,e,!1,23,4)},yh.prototype.readDoubleLE=function(e,t){return t||qh(e,8,this.length),hh(this,e,!0,52,8)},yh.prototype.readDoubleBE=function(e,t){return t||qh(e,8,this.length),hh(this,e,!1,52,8)},yh.prototype.writeUIntLE=function(e,t,r,s){e=+e,t|=0,r|=0,s||Hh(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,i=0;for(this[t]=255&e;++i<r&&(n*=256);)this[t+i]=e/n&255;return t+r},yh.prototype.writeUIntBE=function(e,t,r,s){e=+e,t|=0,r|=0,s||Hh(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+r},yh.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,1,255,0),yh.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},yh.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,2,65535,0),yh.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Wh(this,e,t,!0),t+2},yh.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,2,65535,0),yh.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Wh(this,e,t,!1),t+2},yh.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,4,4294967295,0),yh.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Vh(this,e,t,!0),t+4},yh.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,4,4294967295,0),yh.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Vh(this,e,t,!1),t+4},yh.prototype.writeIntLE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Hh(this,e,t,r,n-1,-n)}var i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},yh.prototype.writeIntBE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Hh(this,e,t,r,n-1,-n)}var i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},yh.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,1,127,-128),yh.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},yh.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,2,32767,-32768),yh.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Wh(this,e,t,!0),t+2},yh.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,2,32767,-32768),yh.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Wh(this,e,t,!1),t+2},yh.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,4,2147483647,-2147483648),yh.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Vh(this,e,t,!0),t+4},yh.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||Hh(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),yh.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Vh(this,e,t,!1),t+4},yh.prototype.writeFloatLE=function(e,t,r){return Gh(this,e,t,!0,r)},yh.prototype.writeFloatBE=function(e,t,r){return Gh(this,e,t,!1,r)},yh.prototype.writeDoubleLE=function(e,t,r){return Kh(this,e,t,!0,r)},yh.prototype.writeDoubleBE=function(e,t,r){return Kh(this,e,t,!1,r)},yh.prototype.copy=function(e,t,r,s){if(r||(r=0),s||0===s||(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<r&&(s=r),s===r)return 0;if(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(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-r&&(s=e.length-t+r);var n,i=s-r;if(this===e&&r<t&&t<s)for(n=i-1;n>=0;--n)e[n+t]=this[n+r];else if(i<1e3||!yh.TYPED_ARRAY_SUPPORT)for(n=0;n<i;++n)e[n+t]=this[n+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},yh.prototype.fill=function(e,t,r,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,r=this.length):"string"==typeof r&&(s=r,r=this.length),1===e.length){var n=e.charCodeAt(0);n<256&&(e=n)}if(void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!yh.isEncoding(s))throw new TypeError("Unknown encoding: "+s)}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 i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=Eh(e)?e:Xh(new yh(e,s).toString()),a=o.length;for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};var Yh=/[^+\/0-9A-Za-z-_]/g;function Jh(e){return e<16?"0"+e.toString(16):e.toString(16)}function Xh(e,t){var r;t=t||1/0;for(var s=e.length,n=null,i=[],o=0;o<s;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===s){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.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;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Qh(e){return function(e){var t,r,s,n,i,o;ah||ch();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,o=new oh(3*a/4-i),s=i>0?a-4:a;var c=0;for(t=0,r=0;t<s;t+=4,r+=3)n=ih[e.charCodeAt(t)]<<18|ih[e.charCodeAt(t+1)]<<12|ih[e.charCodeAt(t+2)]<<6|ih[e.charCodeAt(t+3)],o[c++]=n>>16&255,o[c++]=n>>8&255,o[c++]=255&n;return 2===i?(n=ih[e.charCodeAt(t)]<<2|ih[e.charCodeAt(t+1)]>>4,o[c++]=255&n):1===i&&(n=ih[e.charCodeAt(t)]<<10|ih[e.charCodeAt(t+1)]<<4|ih[e.charCodeAt(t+2)]>>2,o[c++]=n>>8&255,o[c++]=255&n),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Yh,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Zh(e,t,r,s){for(var n=0;n<s&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function ep(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function tp(){throw new Error("setTimeout has not been defined")}function rp(){throw new Error("clearTimeout has not been defined")}var sp=tp,np=rp;function ip(e){if(sp===setTimeout)return setTimeout(e,0);if((sp===tp||!sp)&&setTimeout)return sp=setTimeout,setTimeout(e,0);try{return sp(e,0)}catch(t){try{return sp.call(null,e,0)}catch(t){return sp.call(this,e,0)}}}"function"==typeof Fu.setTimeout&&(sp=setTimeout),"function"==typeof Fu.clearTimeout&&(np=clearTimeout);var op,ap=[],cp=!1,lp=-1;function up(){cp&&op&&(cp=!1,op.length?ap=op.concat(ap):lp=-1,ap.length&&hp())}function hp(){if(!cp){var e=ip(up);cp=!0;for(var t=ap.length;t;){for(op=ap,ap=[];++lp<t;)op&&op[lp].run();lp=-1,t=ap.length}op=null,cp=!1,function(e){if(np===clearTimeout)return clearTimeout(e);if((np===rp||!np)&&clearTimeout)return np=clearTimeout,clearTimeout(e);try{return np(e)}catch(t){try{return np.call(null,e)}catch(t){return np.call(this,e)}}}(e)}}function pp(e,t){this.fun=e,this.array=t}function dp(){}pp.prototype.run=function(){this.fun.apply(null,this.array)};var fp=dp,mp=dp,gp=dp,yp=dp,vp=dp,bp=dp,xp=dp,wp=Fu.performance||{},Sp=wp.now||wp.mozNow||wp.msNow||wp.oNow||wp.webkitNow||function(){return(new Date).getTime()},Ep=new Date,_p={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];ap.push(new pp(e,t)),1!==ap.length||cp||ip(hp)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:fp,addListener:mp,once:gp,off:yp,removeListener:vp,removeAllListeners:bp,emit:xp,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*Sp.call(wp),r=Math.floor(t),s=Math.floor(t%1*1e9);return e&&(r-=e[0],(s-=e[1])<0&&(r--,s+=1e9)),[r,s]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Ep)/1e3}},Pp="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},Tp=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},s=0;s<t.length;s++)r[t[s]]=Object.getOwnPropertyDescriptor(e,t[s]);return r},Ap=/%[sdj%]/g;function Cp(e){if(!Wp(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Rp(arguments[r]));return t.join(" ")}r=1;for(var s=arguments,n=s.length,i=String(e).replace(Ap,(function(e){if("%%"===e)return"%";if(r>=n)return e;switch(e){case"%s":return String(s[r++]);case"%d":return Number(s[r++]);case"%j":try{return JSON.stringify(s[r++])}catch(e){return"[Circular]"}default:return e}})),o=s[r];r<n;o=s[++r])$p(o)||!Kp(o)?i+=" "+o:i+=" "+Rp(o);return i}function kp(e,t){if(zp(Fu.process))return function(){return kp(e,t).apply(this,arguments)};if(!0===_p.noDeprecation)return e;var r=!1;return function(){if(!r){if(_p.throwDeprecation)throw new Error(t);_p.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var Op,Np={};function Ip(e){return zp(Op)&&(Op=_p.env.NODE_DEBUG||""),e=e.toUpperCase(),Np[e]||(new RegExp("\\b"+e+"\\b","i").test(Op)?Np[e]=function(){var t=Cp.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:Np[e]=function(){}),Np[e]}function Rp(e,t){var r={seen:[],stylize:Dp};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Up(t)?r.showHidden=t:t&&nd(r,t),zp(r.showHidden)&&(r.showHidden=!1),zp(r.depth)&&(r.depth=2),zp(r.colors)&&(r.colors=!1),zp(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Lp),Mp(r,e,r.depth)}function Lp(e,t){var r=Rp.styles[t];return r?"["+Rp.colors[r][0]+"m"+e+"["+Rp.colors[r][1]+"m":e}function Dp(e,t){return e}function Mp(e,t,r){if(e.customInspect&&t&&Xp(t.inspect)&&t.inspect!==Rp&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(r,e);return Wp(s)||(s=Mp(e,s,r)),s}var n=function(e,t){if(zp(t))return e.stylize("undefined","undefined");if(Wp(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return Hp(t)?e.stylize(""+t,"number"):Up(t)?e.stylize(""+t,"boolean"):$p(t)?e.stylize("null","null"):void 0}(e,t);if(n)return n;var i=Object.keys(t),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),Jp(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return jp(t);if(0===i.length){if(Xp(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Gp(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Yp(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Jp(t))return jp(t)}var c,l="",u=!1,h=["{","}"];return Bp(t)&&(u=!0,h=["[","]"]),Xp(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),Gp(t)&&(l=" "+RegExp.prototype.toString.call(t)),Yp(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Jp(t)&&(l=" "+jp(t)),0!==i.length||u&&0!=t.length?r<0?Gp(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=u?function(e,t,r,s,n){for(var i=[],o=0,a=t.length;o<a;++o)id(t,String(o))?i.push(Fp(e,t,r,s,String(o),!0)):i.push("");return n.forEach((function(n){n.match(/^\d+$/)||i.push(Fp(e,t,r,s,n,!0))})),i}(e,t,r,o,i):i.map((function(s){return Fp(e,t,r,o,s,u)})),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,l,h)):h[0]+l+h[1]}function jp(e){return"["+Error.prototype.toString.call(e)+"]"}function Fp(e,t,r,s,n,i){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),id(s,n)||(o="["+n+"]"),a||(e.seen.indexOf(c.value)<0?(a=$p(r)?Mp(e,c.value,null):Mp(e,c.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),zp(o)){if(i&&n.match(/^\d+$/))return a;(o=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function Bp(e){return Array.isArray(e)}function Up(e){return"boolean"==typeof e}function $p(e){return null===e}function qp(e){return null==e}function Hp(e){return"number"==typeof e}function Wp(e){return"string"==typeof e}function Vp(e){return"symbol"==typeof e}function zp(e){return void 0===e}function Gp(e){return Kp(e)&&"[object RegExp]"===ed(e)}function Kp(e){return"object"==typeof e&&null!==e}function Yp(e){return Kp(e)&&"[object Date]"===ed(e)}function Jp(e){return Kp(e)&&("[object Error]"===ed(e)||e instanceof Error)}function Xp(e){return"function"==typeof e}function Qp(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Zp(e){return yh.isBuffer(e)}function ed(e){return Object.prototype.toString.call(e)}function td(e){return e<10?"0"+e.toString(10):e.toString(10)}Rp.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]},Rp.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var rd=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function sd(){var e,t;console.log("%s - %s",(t=[td((e=new Date).getHours()),td(e.getMinutes()),td(e.getSeconds())].join(":"),[e.getDate(),rd[e.getMonth()],t].join(" ")),Cp.apply(null,arguments))}function nd(e,t){if(!t||!Kp(t))return e;for(var r=Object.keys(t),s=r.length;s--;)e[r[s]]=t[r[s]];return e}function id(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var od="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function ad(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(od&&e[od]){var t;if("function"!=typeof(t=e[od]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,od,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,s=new Promise((function(e,s){t=e,r=s})),n=[],i=0;i<arguments.length;i++)n.push(arguments[i]);n.push((function(e,s){e?r(e):t(s)}));try{e.apply(this,n)}catch(e){r(e)}return s}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),od&&Object.defineProperty(t,od,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,Tp(e))}function cd(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function ld(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var s=t.pop();if("function"!=typeof s)throw new TypeError("The last argument must be of type Function");var n=this,i=function(){return s.apply(n,arguments)};e.apply(this,t).then((function(e){_p.nextTick(i.bind(null,null,e))}),(function(e){_p.nextTick(cd.bind(null,e,i))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,Tp(e)),t}ad.custom=od;var ud={inherits:Pp,_extend:nd,log:sd,isBuffer:Zp,isPrimitive:Qp,isFunction:Xp,isError:Jp,isDate:Yp,isObject:Kp,isRegExp:Gp,isUndefined:zp,isSymbol:Vp,isString:Wp,isNumber:Hp,isNullOrUndefined:qp,isNull:$p,isBoolean:Up,isArray:Bp,inspect:Rp,deprecate:kp,format:Cp,debuglog:Ip,promisify:ad,callbackify:ld},hd=Object.freeze({__proto__:null,_extend:nd,callbackify:ld,debuglog:Ip,default:ud,deprecate:kp,format:Cp,inherits:Pp,inspect:Rp,isArray:Bp,isBoolean:Up,isBuffer:Zp,isDate:Yp,isError:Jp,isFunction:Xp,isNull:$p,isNullOrUndefined:qp,isNumber:Hp,isObject:Kp,isPrimitive:Qp,isRegExp:Gp,isString:Wp,isSymbol:Vp,isUndefined:zp,log:sd,promisify:ad});function pd(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var dd=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function fd(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function md(e,t){if(e.map)return e.map(t);for(var r=[],s=0;s<e.length;s++)r.push(t(e[s],s));return r}var gd=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function yd(e,t,r,s){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var i=/\+/g;e=e.split(t);var o=1e3;s&&"number"==typeof s.maxKeys&&(o=s.maxKeys);var a=e.length;o>0&&a>o&&(a=o);for(var c=0;c<a;++c){var l,u,h,p,d=e[c].replace(i,"%20"),f=d.indexOf(r);f>=0?(l=d.substr(0,f),u=d.substr(f+1)):(l=d,u=""),h=decodeURIComponent(l),p=decodeURIComponent(u),pd(n,h)?dd(n[h])?n[h].push(p):n[h]=[n[h],p]:n[h]=p}return n}const vd=Fu.URL,bd=Fu.URLSearchParams;var xd={parse:Dd,resolve:Ud,resolveObject:$d,fileURLToPath:jd,format:Fd,Url:wd,URL:vd,URLSearchParams:bd};function wd(){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 Sd=/^([a-z0-9.+-]+:)/i,Ed=/:[0-9]*$/,_d=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Pd=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Td=["'"].concat(Pd),Ad=["%","/","?",";","#"].concat(Td),Cd=["/","?","#"],kd=255,Od=/^[+a-z0-9A-Z_-]{0,63}$/,Nd=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Id={javascript:!0,"javascript:":!0},Rd={javascript:!0,"javascript:":!0},Ld={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Dd(e,t,r){if(e&&Kp(e)&&e instanceof wd)return e;var s=new wd;return s.parse(e,t,r),s}function Md(e,t,r,s){if(!Wp(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=-1!==n&&n<t.indexOf("#")?"?":"#",o=t.split(i);o[0]=o[0].replace(/\\/g,"/");var a=t=o.join(i);if(a=a.trim(),!s&&1===t.split("#").length){var c=_d.exec(a);if(c)return e.path=a,e.href=a,e.pathname=c[1],c[2]?(e.search=c[2],e.query=r?yd(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var l,u,h,p,d=Sd.exec(a);if(d){var f=(d=d[0]).toLowerCase();e.protocol=f,a=a.substr(d.length)}if(s||d||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===a.substr(0,2);!m||d&&Rd[d]||(a=a.substr(2),e.slashes=!0)}if(!Rd[d]&&(m||d&&!Ld[d])){var g,y,v=-1;for(l=0;l<Cd.length;l++)-1!==(u=a.indexOf(Cd[l]))&&(-1===v||u<v)&&(v=u);for(-1!==(y=-1===v?a.lastIndexOf("@"):a.lastIndexOf("@",v))&&(g=a.slice(0,y),a=a.slice(y+1),e.auth=decodeURIComponent(g)),v=-1,l=0;l<Ad.length;l++)-1!==(u=a.indexOf(Ad[l]))&&(-1===v||u<v)&&(v=u);-1===v&&(v=a.length),e.host=a.slice(0,v),a=a.slice(v),qd(e),e.hostname=e.hostname||"";var b="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!b){var x=e.hostname.split(/\./);for(l=0,h=x.length;l<h;l++){var w=x[l];if(w&&!w.match(Od)){for(var S="",E=0,_=w.length;E<_;E++)w.charCodeAt(E)>127?S+="x":S+=w[E];if(!S.match(Od)){var P=x.slice(0,l),T=x.slice(l+1),A=w.match(Nd);A&&(P.push(A[1]),T.unshift(A[2])),T.length&&(a="/"+T.join(".")+a),e.hostname=P.join(".");break}}}}e.hostname.length>kd?e.hostname="":e.hostname=e.hostname.toLowerCase(),b||(e.hostname=sh(e.hostname)),p=e.port?":"+e.port:"";var C=e.hostname||"";e.host=C+p,e.href+=e.host,b&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!Id[f])for(l=0,h=Td.length;l<h;l++){var k=Td[l];if(-1!==a.indexOf(k)){var O=encodeURIComponent(k);O===k&&(O=escape(k)),a=a.split(k).join(O)}}var N=a.indexOf("#");-1!==N&&(e.hash=a.substr(N),a=a.slice(0,N));var I=a.indexOf("?");if(-1!==I?(e.search=a.substr(I),e.query=a.substr(I+1),r&&(e.query=yd(e.query)),a=a.slice(0,I)):r&&(e.search="",e.query={}),a&&(e.pathname=a),Ld[f]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){p=e.pathname||"";var R=e.search||"";e.path=p+R}return e.href=Bd(e),e}function jd(e){if("string"==typeof e)e=(new wd).parse(e);else if(!(e instanceof wd))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return function(e){const t=e.pathname;for(let e=0;e<t.length;e++)if("%"===t[e]){const r=32|t.codePointAt(e+2);if("2"===t[e+1]&&102===r)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function Fd(e){return Wp(e)&&(e=Md({},e)),Bd(e)}function Bd(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var r=e.protocol||"",s=e.pathname||"",n=e.hash||"",i=!1,o="";e.host?i=t+e.host:e.hostname&&(i=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(i+=":"+e.port)),e.query&&Kp(e.query)&&Object.keys(e.query).length&&(o=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?md(gd(e),(function(s){var n=encodeURIComponent(fd(s))+r;return dd(e[s])?md(e[s],(function(e){return n+encodeURIComponent(fd(e))})).join(t):n+encodeURIComponent(fd(e[s]))})).join(t):""}(e.query));var a=e.search||o&&"?"+o||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||Ld[r])&&!1!==i?(i="//"+(i||""),s&&"/"!==s.charAt(0)&&(s="/"+s)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r+i+(s=s.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+n}function Ud(e,t){return Dd(e,!1,!0).resolve(t)}function $d(e,t){return e?Dd(e,!1,!0).resolveObject(t):t}function qd(e){var t=e.host,r=Ed.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}wd.prototype.parse=function(e,t,r){return Md(this,e,t,r)},wd.prototype.format=function(){return Bd(this)},wd.prototype.resolve=function(e){return this.resolveObject(Dd(e,!1,!0)).format()},wd.prototype.resolveObject=function(e){if(Wp(e)){var t=new wd;t.parse(e,!1,!0),e=t}for(var r,s=new wd,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];s[o]=this[o]}if(s.hash=e.hash,""===e.href)return s.href=s.format(),s;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),c=0;c<a.length;c++){var l=a[c];"protocol"!==l&&(s[l]=e[l])}return Ld[s.protocol]&&s.hostname&&!s.pathname&&(s.path=s.pathname="/"),s.href=s.format(),s}if(e.protocol&&e.protocol!==s.protocol){if(!Ld[e.protocol]){for(var u=Object.keys(e),h=0;h<u.length;h++){var p=u[h];s[p]=e[p]}return s.href=s.format(),s}if(s.protocol=e.protocol,e.host||Rd[e.protocol])s.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(""),s.pathname=r.join("/")}if(s.search=e.search,s.query=e.query,s.host=e.host||"",s.auth=e.auth,s.hostname=e.hostname||e.host,s.port=e.port,s.pathname||s.search){var d=s.pathname||"",f=s.search||"";s.path=d+f}return s.slashes=s.slashes||e.slashes,s.href=s.format(),s}var m,g=s.pathname&&"/"===s.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=y||g||s.host&&e.pathname,b=v,x=s.pathname&&s.pathname.split("/")||[],w=s.protocol&&!Ld[s.protocol];if(r=e.pathname&&e.pathname.split("/")||[],w&&(s.hostname="",s.port=null,s.host&&(""===x[0]?x[0]=s.host:x.unshift(s.host)),s.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),v=v&&(""===r[0]||""===x[0])),y)s.host=e.host||""===e.host?e.host:s.host,s.hostname=e.hostname||""===e.hostname?e.hostname:s.hostname,s.search=e.search,s.query=e.query,x=r;else if(r.length)x||(x=[]),x.pop(),x=x.concat(r),s.search=e.search,s.query=e.query;else if(!qp(e.search))return w&&(s.hostname=s.host=x.shift(),(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),s.search=e.search,s.query=e.query,$p(s.pathname)&&$p(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.href=s.format(),s;if(!x.length)return s.pathname=null,s.search?s.path="/"+s.search:s.path=null,s.href=s.format(),s;for(var S=x.slice(-1)[0],E=(s.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,_=0,P=x.length;P>=0;P--)"."===(S=x[P])?x.splice(P,1):".."===S?(x.splice(P,1),_++):_&&(x.splice(P,1),_--);if(!v&&!b)for(;_--;_)x.unshift("..");!v||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var T=""===x[0]||x[0]&&"/"===x[0].charAt(0);return w&&(s.hostname=s.host=T?"":x.length?x.shift():"",(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),(v=v||s.host&&x.length)&&!T&&x.unshift(""),x.length?s.pathname=x.join("/"):(s.pathname=null,s.path=null),$p(s.pathname)&&$p(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.auth=e.auth||s.auth,s.slashes=s.slashes||e.slashes,s.href=s.format(),s},wd.prototype.parseHost=function(){return qd(this)};var Hd=Object.freeze({__proto__:null,URL:vd,URLSearchParams:bd,Url:wd,default:xd,fileURLToPath:jd,format:Fd,parse:Dd,resolve:Ud,resolveObject:$d});Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;vr({[Symbol("ssrInterpolate")]:"ssrInterpolate",[Symbol("ssrRenderVNode")]:"ssrRenderVNode",[Symbol("ssrRenderComponent")]:"ssrRenderComponent",[Symbol("ssrRenderSlot")]:"ssrRenderSlot",[Symbol("ssrRenderSlotInner")]:"ssrRenderSlotInner",[Symbol("ssrRenderClass")]:"ssrRenderClass",[Symbol("ssrRenderStyle")]:"ssrRenderStyle",[Symbol("ssrRenderAttrs")]:"ssrRenderAttrs",[Symbol("ssrRenderAttr")]:"ssrRenderAttr",[Symbol("ssrRenderDynamicAttr")]:"ssrRenderDynamicAttr",[Symbol("ssrRenderList")]:"ssrRenderList",[Symbol("ssrIncludeBooleanAttr")]:"ssrIncludeBooleanAttr",[Symbol("ssrLooseEqual")]:"ssrLooseEqual",[Symbol("ssrLooseContain")]:"ssrLooseContain",[Symbol("ssrRenderDynamicModel")]:"ssrRenderDynamicModel",[Symbol("ssrGetDynamicModelProps")]:"ssrGetDynamicModelProps",[Symbol("ssrRenderTeleport")]:"ssrRenderTeleport",[Symbol("ssrRenderSuspense")]:"ssrRenderSuspense",[Symbol("ssrGetDirectiveProps")]:"ssrGetDirectiveProps"}),sa(/^(if|else|else-if)$/,Tc),sa("for",Ic);var Wd=Object.defineProperty,Vd=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),zd=Object.prototype.hasOwnProperty,Gd=Object.prototype.propertyIsEnumerable,Kd=(e,t,r)=>t in e?Wd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Yd=(e,t)=>{for(var r in t||(t={}))zd.call(t,r)&&Kd(e,r,t[r]);if(Vd)for(var r of Vd(t))Gd.call(t,r)&&Kd(e,r,t[r]);return e};Symbol();const[Jd,Xd]=ml(!0);Yd(Yd({},Xd),tu),Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Qd=Mr(Object.freeze({__proto__:null,default:{}})),Zd=Mr(yu),ef=Mr(hd);function tf(e){console.warn(`[@vue/compiler-sfc] ${e}\n`)}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var rf={},sf={get exports(){return rf},set exports(e){rf=e}};function nf(){return!1}function of(){throw new Error("tty.ReadStream is not implemented")}function af(){throw new Error("tty.ReadStream is not implemented")}var cf={isatty:nf,ReadStream:of,WriteStream:af};let lf=Mr(Object.freeze({__proto__:null,ReadStream:of,WriteStream:af,default:cf,isatty:nf})),uf=!("NO_COLOR"in{}||_p.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||_p.argv.includes("--color")||lf.isatty(1)&&"dumb"!==_p.env.TERM||"CI"in{}),hf=(e,t,r=e)=>s=>{let n=""+s,i=n.indexOf(t,e.length);return~i?e+pf(n,t,r,i)+t:e+n+t},pf=(e,t,r,s)=>{let n=e.substring(0,s)+r,i=e.substring(s+t.length),o=i.indexOf(t);return~o?n+pf(i,t,r,o):n+i},df=(e=uf)=>({isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?hf("","",""):String,dim:e?hf("","",""):String,italic:e?hf("",""):String,underline:e?hf("",""):String,inverse:e?hf("",""):String,hidden:e?hf("",""):String,strikethrough:e?hf("",""):String,black:e?hf("",""):String,red:e?hf("",""):String,green:e?hf("",""):String,yellow:e?hf("",""):String,blue:e?hf("",""):String,magenta:e?hf("",""):String,cyan:e?hf("",""):String,white:e?hf("",""):String,gray:e?hf("",""):String,bgBlack:e?hf("",""):String,bgRed:e?hf("",""):String,bgGreen:e?hf("",""):String,bgYellow:e?hf("",""):String,bgBlue:e?hf("",""):String,bgMagenta:e?hf("",""):String,bgCyan:e?hf("",""):String,bgWhite:e?hf("",""):String});sf.exports=df(),rf.createColors=df;const ff="'".charCodeAt(0),mf='"'.charCodeAt(0),gf="\\".charCodeAt(0),yf="/".charCodeAt(0),vf="\n".charCodeAt(0),bf=" ".charCodeAt(0),xf="\f".charCodeAt(0),wf="\t".charCodeAt(0),Sf="\r".charCodeAt(0),Ef="[".charCodeAt(0),_f="]".charCodeAt(0),Pf="(".charCodeAt(0),Tf=")".charCodeAt(0),Af="{".charCodeAt(0),Cf="}".charCodeAt(0),kf=";".charCodeAt(0),Of="*".charCodeAt(0),Nf=":".charCodeAt(0),If="@".charCodeAt(0),Rf=/[\t\n\f\r "#'()/;[\\\]{}]/g,Lf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Df=/.[\n"'(/\\]/,Mf=/[\da-f]/i;var jf=function(e,t={}){let r,s,n,i,o,a,c,l,u,h,p=e.css.valueOf(),d=t.ignoreErrors,f=p.length,m=0,g=[],y=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m),r){case vf:case bf:case wf:case Sf:case xf:s=m;do{s+=1,r=p.charCodeAt(s)}while(r===bf||r===vf||r===wf||r===Sf||r===xf);h=["space",p.slice(m,s)],m=s-1;break;case Ef:case _f:case Af:case Cf:case Nf:case kf:case Tf:{let e=String.fromCharCode(r);h=[e,e,m];break}case Pf:if(l=g.length?g.pop()[1]:"",u=p.charCodeAt(m+1),"url"===l&&u!==ff&&u!==mf&&u!==bf&&u!==vf&&u!==wf&&u!==xf&&u!==Sf){s=m;do{if(a=!1,s=p.indexOf(")",s+1),-1===s){if(d||t){s=m;break}v("bracket")}for(c=s;p.charCodeAt(c-1)===gf;)c-=1,a=!a}while(a);h=["brackets",p.slice(m,s+1),m,s],m=s}else s=p.indexOf(")",m+1),i=p.slice(m,s+1),-1===s||Df.test(i)?h=["(","(",m]:(h=["brackets",i,m,s],m=s);break;case ff:case mf:n=r===ff?"'":'"',s=m;do{if(a=!1,s=p.indexOf(n,s+1),-1===s){if(d||t){s=m+1;break}v("string")}for(c=s;p.charCodeAt(c-1)===gf;)c-=1,a=!a}while(a);h=["string",p.slice(m,s+1),m,s],m=s;break;case If:Rf.lastIndex=m+1,Rf.test(p),s=0===Rf.lastIndex?p.length-1:Rf.lastIndex-2,h=["at-word",p.slice(m,s+1),m,s],m=s;break;case gf:for(s=m,o=!0;p.charCodeAt(s+1)===gf;)s+=1,o=!o;if(r=p.charCodeAt(s+1),o&&r!==yf&&r!==bf&&r!==vf&&r!==wf&&r!==Sf&&r!==xf&&(s+=1,Mf.test(p.charAt(s)))){for(;Mf.test(p.charAt(s+1));)s+=1;p.charCodeAt(s+1)===bf&&(s+=1)}h=["word",p.slice(m,s+1),m,s],m=s;break;default:r===yf&&p.charCodeAt(m+1)===Of?(s=p.indexOf("*/",m+2)+1,0===s&&(d||t?s=p.length:v("comment")),h=["comment",p.slice(m,s+1),m,s],m=s):(Lf.lastIndex=m+1,Lf.test(p),s=0===Lf.lastIndex?p.length-1:Lf.lastIndex-2,h=["word",p.slice(m,s+1),m,s],g.push(h),m=s)}return m++,h},endOfFile:function(){return 0===y.length&&m>=f},position:function(){return m}}};let Ff,Bf=rf,Uf=jf;const $f={brackets:Bf.cyan,"at-word":Bf.cyan,comment:Bf.gray,string:Bf.green,class:Bf.yellow,hash:Bf.magenta,call:Bf.cyan,"(":Bf.cyan,")":Bf.cyan,"{":Bf.yellow,"}":Bf.yellow,"[":Bf.yellow,"]":Bf.yellow,":":Bf.yellow,";":Bf.yellow};function qf([e,t],r){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!r.endOfFile()){let e=r.nextToken();if(r.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function Hf(e){let t=Uf(new Ff(e),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let e=t.nextToken(),s=$f[qf(e,t)];r+=s?e[1].split(/\r?\n/).map((e=>s(e))).join("\n"):e[1]}return r}Hf.registerInput=function(e){Ff=e};var Wf=Hf;let Vf=rf,zf=Wf,Gf=class e extends Error{constructor(t,r,s,n,i,o){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),void 0!==r&&void 0!==s&&("number"==typeof r?(this.line=r,this.column=s):(this.line=r.line,this.column=r.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}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=Vf.isColorSupported),zf&&e&&(t=zf(t));let r,s,n=t.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),a=String(o).length;if(e){let{bold:e,red:t,gray:n}=Vf.createColors(!0);r=r=>e(t(r)),s=e=>n(e)}else r=s=e=>e;return n.slice(i,o).map(((e,t)=>{let n=i+1+t,o=" "+(" "+n).slice(-a)+" | ";if(n===this.line){let t=s(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+s(o)+e+"\n "+t+r("^")}return" "+s(o)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}};var Kf=Gf;Gf.default=Gf;var Yf={};Yf.isClean=Symbol("isClean"),Yf.my=Symbol("my");const Jf={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};let Xf=class{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}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"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,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,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,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 s=0;s<e.nodes.length;s++){let n=e.nodes[s],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,t!==s||r)}}block(e,t){let r,s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",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 s;if(r||(r=t),t&&(s=e.raws[t],void 0!==s))return s;let n=e.parent;if("before"===r){if(!n||"root"===n.type&&n.first===e)return"";if(n&&"document"===n.type)return""}if(!n)return Jf[r];let i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let n="raw"+((o=r)[0].toUpperCase()+o.slice(1));this[n]?s=this[n](i,e):i.walk((e=>{if(s=e.raws[t],void 0!==s)return!1}))}var o;return void 0===s&&(s=Jf[r]),i.rawCache[r]=s,s}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 s=r.parent;if(s&&s!==e&&s.parent&&s.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 s=e.parent,n=0;for(;s&&"root"!==s.type;)n+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)r+=t}return r}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}};var Qf=Xf;Xf.default=Xf;let Zf=Qf;function em(e,t){new Zf(t).stringify(e)}var tm=em;em.default=em;let{isClean:rm,my:sm}=Yf,nm=Kf,im=Qf,om=tm;function am(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;if("proxyCache"===s)continue;let n=e[s],i=typeof n;"parent"===s&&"object"===i?t&&(r[s]=t):"source"===s?r[s]=n:Array.isArray(n)?r[s]=n.map((e=>am(e,r))):("object"===i&&null!==n&&(n=am(n)),r[s]=n)}return r}let cm=class{constructor(e={}){this.raws={},this[rm]=!1,this[sm]=!0;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{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new nm(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=om){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=am(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 s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);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&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new im).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let r={},s=null==t;t=t||new Map;let n=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let s=this[e];if(Array.isArray(s))r[e]=s.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof s&&s.toJSON)r[e]=s.toJSON(null,t);else if("source"===e){let i=t.get(s.input);null==i&&(i=n,t.set(s.input,n),n++),r[e]={inputId:i,start:s.start,end:s.end}}else r[e]=s}return s&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}positionInside(e){let t=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let n=0;n<e;n++)"\n"===t[n]?(r=1,s+=1):r+=1;return{line:s,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}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s),r=this.positionInside(s+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={line:t.line,column:t.column+1}),{start:t,end:r}}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[rm]){this[rm]=!1;let e=this;for(;e=e.parent;)e[rm]=!1}}get proxyOf(){return this}};var lm=cm;cm.default=cm;let um=lm,hm=class extends um{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 pm=hm;hm.default=hm;var dm=Mr(Hd),fm={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 s="",n=r;for(;n--;)s+=e[Math.random()*e.length|0];return s}};let{SourceMapConsumer:mm,SourceMapGenerator:gm}=na,{existsSync:ym,readFileSync:vm}=Qd,{dirname:bm,join:xm}=Zd,wm=class{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,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=bm(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new mm(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.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}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),yh?yh.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=bm(e),ym(e))return this.mapFile=e,vm(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 mm)return gm.fromSourceMap(t).toString();if(t instanceof gm)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=xm(bm(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}};var Sm=wm;wm.default=wm;let{SourceMapConsumer:Em,SourceMapGenerator:_m}=na,{fileURLToPath:Pm,pathToFileURL:Tm}=dm,{resolve:Am,isAbsolute:Cm}=Zd,{nanoid:km}=fm,Om=Wf,Nm=Kf,Im=Sm,Rm=Symbol("fromOffsetCache"),Lm=Boolean(Em&&_m),Dm=Boolean(Am&&Cm),Mm=class{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(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&&(!Dm||/^\w+:\/\//.test(t.from)||Cm(t.from)?this.file=t.from:this.file=Am(t.from)),Dm&&Lm){let e=new Im(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+km(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[Rm])r=this[Rm];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,n=e.length;s<n;s++)r[s]=t,t+=e[s].length+1;this[Rm]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let t,n=r.length-2;for(;s<n;)if(t=s+(n-s>>1),e<r[t])n=t-1;else{if(!(e>=r[t+1])){s=t;break}s=t+1}}return{line:s+1,col:e-r[s]+1}}error(e,t,r,s={}){let n,i,o;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof e.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);i=e.line,o=e.col}else i=s.line,o=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,i,o);return n=a?new Nm(e,void 0===a.endLine?a.line:{line:a.line,column:a.column},void 0===a.endLine?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,s.plugin):new Nm(e,void 0===i?t:{line:t,column:r},void 0===i?r:{line:i,column:o},this.css,this.file,s.plugin),n.input={line:t,column:r,endLine:i,endColumn:o,source:this.css},this.file&&(Tm&&(n.input.url=Tm(this.file).toString()),n.input.file=this.file),n}origin(e,t,r,s){if(!this.map)return!1;let n,i,o=this.map.consumer(),a=o.originalPositionFor({line:e,column:t});if(!a.source)return!1;"number"==typeof r&&(n=o.originalPositionFor({line:r,column:s})),i=Cm(a.source)?Tm(a.source):new URL(a.source,this.map.consumer().sourceRoot||Tm(this.map.mapFile));let c={url:i.toString(),line:a.line,column:a.column,endLine:n&&n.line,endColumn:n&&n.column};if("file:"===i.protocol){if(!Pm)throw new Error("file: protocol is not available in this PostCSS build");c.file=Pm(i)}let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:Am(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};var jm=Mm;Mm.default=Mm,Om&&Om.registerInput&&Om.registerInput(Mm);let{SourceMapConsumer:Fm,SourceMapGenerator:Bm}=na,{dirname:Um,resolve:$m,relative:qm,sep:Hm}=Zd,{pathToFileURL:Wm}=dm,Vm=jm,zm=Boolean(Fm&&Bm),Gm=Boolean(Um&&$m&&qm&&Hm);var Km=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)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)}}));else{let e=new Vm(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return 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)if(this.root){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)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),s=e.root||Um(e.file);!1===this.mapOpts.sourcesContent?(t=new Fm(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(s)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return yh?yh.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(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Bm.fromSourceMap(e)}else this.map=new Bm({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?Um(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=Um($m(t,this.mapOpts.annotation))),qm(t,e)}toUrl(e){return"\\"===Hm&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(Wm)return Wm(e).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new Bm({file:this.outputFile()});let e,t,r=1,s=1,n="<no source>",i={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((o,a,c)=>{if(this.css+=o,a&&"end"!==c&&(i.generated.line=r,i.generated.column=s-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),e=o.match(/\n/g),e?(r+=e.length,t=o.lastIndexOf("\n"),s=o.length-t):s+=o.length,a&&"start"!==c){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=r,i.generated.column=s-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=r,i.generated.column=s-1,this.map.addMapping(i)))}}))}generate(){if(this.clearAnnotation(),Gm&&zm&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}};let Ym=lm,Jm=class extends Ym{constructor(e){super(e),this.type="comment"}};var Xm=Jm;Jm.default=Jm;let Qm,Zm,eg,tg,{isClean:rg,my:sg}=Yf,ng=pm,ig=Xm,og=lm;function ag(e){return e.map((e=>(e.nodes&&(e.nodes=ag(e.nodes)),delete e.source,e)))}function cg(e){if(e[rg]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)cg(t)}let lg=class e extends og{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[s]+=1;return delete this.indexes[s],r}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}return!1!==s&&t.walk&&(s=t.walk(e)),s}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)})):this.walk(((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)})):(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,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)})):this.walk(((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)})):(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,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)})):this.walk(((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)})):(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,s=this.index(e),n=0===s&&"prepend",i=this.normalize(t,this.proxyOf.nodes[s],n).reverse();s=this.index(e);for(let e of i)this.proxyOf.nodes.splice(s,0,e);for(let e in this.indexes)r=this.indexes[e],s<=r&&(this.indexes[e]=r+i.length);return this.markDirty(),this}insertAfter(e,t){let r,s=this.index(e),n=this.normalize(t,this.proxyOf.nodes[s]).reverse();s=this.index(e);for(let e of n)this.proxyOf.nodes.splice(s+1,0,e);for(let e in this.indexes)r=this.indexes[e],s<r&&(this.indexes[e]=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((s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.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(t,r){if("string"==typeof t)t=ag(Qm(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new ng(t)]}else if(t.selector)t=[new Zm(t)];else if(t.name)t=[new eg(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new ig(t)]}return t.map((t=>(t[sg]||e.rebuild(t),(t=t.proxyOf).parent&&t.parent.removeChild(t),t[rg]&&cg(t),void 0===t.raws.before&&r&&void 0!==r.raws.before&&(t.raws.before=r.raws.before.replace(/\S/g,"")),t.parent=this.proxyOf,t)))}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}};lg.registerParse=e=>{Qm=e},lg.registerRule=e=>{Zm=e},lg.registerAtRule=e=>{eg=e},lg.registerRoot=e=>{tg=e};var ug=lg;lg.default=lg,lg.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,eg.prototype):"rule"===e.type?Object.setPrototypeOf(e,Zm.prototype):"decl"===e.type?Object.setPrototypeOf(e,ng.prototype):"comment"===e.type?Object.setPrototypeOf(e,ig.prototype):"root"===e.type&&Object.setPrototypeOf(e,tg.prototype),e[sg]=!0,e.nodes&&e.nodes.forEach((e=>{lg.rebuild(e)}))};let hg,pg,dg=ug,fg=class extends dg{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new hg(new pg,this,e).stringify()}};fg.registerLazyResult=e=>{hg=e},fg.registerProcessor=e=>{pg=e};var mg=fg;fg.default=fg;let gg={};var yg=function(e){gg[e]||(gg[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};let vg=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.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 bg=vg;vg.default=vg;let xg=bg,wg=class{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 xg(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var Sg=wg;wg.default=wg;let Eg=ug,_g=class extends Eg{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 Pg=_g;_g.default=_g,Eg.registerAtRule(_g);let Tg,Ag,Cg=ug,kg=class extends Cg{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 s=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 s)e.raws.before=t.raws.before;return s}toResult(e={}){return new Tg(new Ag,this,e).stringify()}};kg.registerLazyResult=e=>{Tg=e},kg.registerProcessor=e=>{Ag=e};var Og=kg;kg.default=kg,Cg.registerRoot(kg);let Ng={split(e,t,r){let s=[],n="",i=!1,o=0,a=!1,c="",l=!1;for(let r of e)l?l=!1:"\\"===r?l=!0:a?r===c&&(a=!1):'"'===r||"'"===r?(a=!0,c=r):"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(i=!0),i?(""!==n&&s.push(n.trim()),n="",i=!1):n+=r;return(r||""!==n)&&s.push(n.trim()),s},space:e=>Ng.split(e,[" ","\n","\t"]),comma:e=>Ng.split(e,[","],!0)};var Ig=Ng;Ng.default=Ng;let Rg=ug,Lg=Ig,Dg=class extends Rg{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Lg.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 Mg=Dg;Dg.default=Dg,Rg.registerRule(Dg);let jg=pm,Fg=jf,Bg=Xm,Ug=Pg,$g=Og,qg=Mg;const Hg={empty:!0,space:!0};let Wg=ug,Vg=class{constructor(e){this.input=e,this.root=new $g,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=Fg(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 Bg;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 qg;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,r=null,s=!1,n=null,i=[],o=e[1].startsWith("--"),a=[],c=e;for(;c;){if(r=c[0],a.push(c),"("===r||"["===r)n||(n=c),i.push("("===r?")":"]");else if(o&&s&&"{"===r)n||(n=c),i.push("}");else if(0===i.length){if(";"===r){if(s)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(s=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(n=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(n),t&&s){if(!o)for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}rule(e){e.pop();let t=new qg;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 jg;this.init(r,e[0][2]);let s,n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],s=r[3]||r[2];if(s)return s}}(e));"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(s=e.shift(),":"===s[0]){r.raws.between+=s[1];break}"word"===s[0]&&/\w/.test(s[1])&&this.unknownWord([s]),r.raws.between+=s[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let i,o=[];for(;e.length&&(i=e[0][0],"space"===i||"comment"===i);)o.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(s=e[t],"!important"===s[1].toLowerCase()){r.important=!0;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s," !important"!==s&&(r.raws.important=s);break}if("important"===s[1].toLowerCase()){let s=e.slice(0),n="";for(let e=t;e>0;e--){let t=s[e][0];if(0===n.trim().indexOf("!")&&"space"!==t)break;n=s.pop()[1]+n}0===n.trim().indexOf("!")&&(r.important=!0,r.raws.important=n,e=s)}if("space"!==s[0]&&"comment"!==s[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=o.map((e=>e[1])).join(""),o=[]),this.raw(r,"value",o.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,s,n=new Ug;n.name=e[1].slice(1),""===n.name&&this.unnamedAtrule(n,e),this.init(n,e[2]);let i=!1,o=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){n.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(a.length>0){for(s=a.length-1,r=a[s];r&&"space"===r[0];)r=a[--s];r&&(n.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(n.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(n,"params",a),i&&(e=a[a.length-1],n.source.end=this.getPosition(e[3]||e[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),o&&(n.nodes=[],this.current=n)}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,s){let n,i,o,a,c=r.length,l="",u=!0;for(let e=0;e<c;e+=1)n=r[e],i=n[0],"space"!==i||e!==c-1||s?"comment"===i?(a=r[e-1]?r[e-1][0]:"empty",o=r[e+1]?r[e+1][0]:"empty",Hg[a]||Hg[o]||","===l.slice(-1)?u=!1:l+=n[1]):l+=n[1]:u=!1;if(!u){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:l,raw:s}}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 s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}colon(e){let t,r,s,n=0;for(let[i,o]of e.entries()){if(t=o,r=t[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return i}this.doubleColon(t)}s=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}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",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let n=t-1;n>=0&&(r=e[n],"space"===r[0]||(s+=1,2!==s));n--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},zg=jm;function Gg(e,t){let r=new zg(e,t),s=new Vg(r);try{s.parse()}catch(e){throw"production"!==_p.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 s.root}var Kg=Gg;Gg.default=Gg,Wg.registerParse(Gg);let{isClean:Yg,my:Jg}=Yf,Xg=Km,Qg=tm,Zg=ug,ey=mg,ty=yg,ry=Sg,sy=Kg,ny=Og;const iy={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},oy={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},ay={postcssPlugin:!0,prepare:!0,Once:!0},cy=0;function ly(e){return"object"==typeof e&&"function"==typeof e.then}function uy(e){let t=!1,r=iy[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,cy,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,cy,r+"Exit"]:[r,r+"Exit"]}function hy(e){let t;return t="document"===e.type?["Document",cy,"DocumentExit"]:"root"===e.type?["Root",cy,"RootExit"]:uy(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function py(e){return e[Yg]=!1,e.nodes&&e.nodes.forEach((e=>py(e))),e}let dy={},fy=class e{constructor(t,r,s){let n;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof e||r instanceof ry)n=py(r.root),r.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=r.map);else{let e=sy;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{n=e(r,s)}catch(e){this.processed=!0,this.error=e}n&&!n[Jg]&&Zg.rebuild(n)}else n=py(r);this.result=new ry(t,n,s),this.helpers={...dy,result:this.result,postcss:dy},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"!==_p.env.NODE_ENV&&("from"in this.opts||ty("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(ly(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Yg];)e[Yg]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else 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=Qg;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Xg(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[Yg]=!0;let t=uy(e);for(let r of t)if(r===cy)e.nodes&&e.each((e=>{e[Yg]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,s]of e){let e;this.result.lastPlugin=r;try{e=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(ly(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return ly(t[0])?Promise.all(t):t}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"!==_p.env.NODE_ENV){let e=r.postcssPlugin,t=r.postcssVersion,s=this.result.processor.version,n=t.split("."),i=s.split(".");(n[0]!==i[0]||parseInt(n[1])>parseInt(i[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", 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(ly(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Yg];){e[Yg]=!0;let t=[hy(e)];for(;t.length>0;){let e=this.visitTick(t);if(ly(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{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else 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 in t){if(!oy[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!ay[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);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:s}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(s.length>0&&t.visitorIndex<s.length){let[e,n]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return n(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let s,n=t.iterator;for(;s=r.nodes[r.indexes[n]];)if(r.indexes[n]+=1,!s[Yg])return s[Yg]=!0,void e.push(hy(s));t.iterator=0,delete r.indexes[n]}let n=t.events;for(;t.eventIndex<n.length;){let e=n[t.eventIndex];if(t.eventIndex+=1,e===cy)return void(r.nodes&&r.nodes.length&&(r[Yg]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}};fy.registerPostcss=e=>{dy=e};var my=fy;fy.default=fy,ny.registerLazyResult(fy),ey.registerLazyResult(fy);let gy=Km,yy=tm,vy=yg,by=Kg;const xy=Sg;let wy=class{constructor(e,t,r){let s;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let n=yy;this.result=new xy(this._processor,s,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get:()=>i.root});let o=new gy(n,s,this._opts,t);if(o.isMap()){let[e,t]=o.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=by;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==_p.env.NODE_ENV&&("from"in this._opts||vy("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):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};var Sy=wy;wy.default=wy;let Ey=Sy,_y=my,Py=mg,Ty=Og,Ay=class{constructor(e=[]){this.version="8.4.21",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&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new Ey(this,e,t):new _y(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"!==_p.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 Cy=Ay;Ay.default=Ay,Ty.registerProcessor(Ay),Py.registerProcessor(Ay);let ky=pm,Oy=Sm,Ny=Xm,Iy=Pg,Ry=jm,Ly=Og,Dy=Mg;function My(e,t){if(Array.isArray(e))return e.map((e=>My(e)));let{inputs:r,...s}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:Ry.prototype};r.map&&(r.map={...r.map,__proto__:Oy.prototype}),t.push(r)}}if(s.nodes&&(s.nodes=e.nodes.map((e=>My(e,t)))),s.source){let{inputId:e,...r}=s.source;s.source=r,null!=e&&(s.source.input=t[e])}if("root"===s.type)return new Ly(s);if("decl"===s.type)return new ky(s);if("rule"===s.type)return new Dy(s);if("comment"===s.type)return new Ny(s);if("atrule"===s.type)return new Iy(s);throw new Error("Unknown node type: "+e.type)}var jy=My;My.default=My;let Fy=Kf,By=pm,Uy=my,$y=ug,qy=Cy,Hy=tm,Wy=jy,Vy=mg,zy=bg,Gy=Xm,Ky=Pg,Yy=Sg,Jy=jm,Xy=Kg,Qy=Ig,Zy=Mg,ev=Og,tv=lm;function rv(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new qy(e)}rv.plugin=function(e,t){let r,s=!1;function n(...r){console&&console.warn&&!s&&(s=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),_p.env.LANG&&_p.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let n=t(...r);return n.postcssPlugin=e,n.postcssVersion=(new qy).version,n}return Object.defineProperty(n,"postcss",{get:()=>(r||(r=n()),r)}),n.process=function(e,t,r){return rv([n(r)]).process(e,t)},n},rv.stringify=Hy,rv.parse=Xy,rv.fromJSON=Wy,rv.list=Qy,rv.comment=e=>new Gy(e),rv.atRule=e=>new Ky(e),rv.decl=e=>new By(e),rv.rule=e=>new Zy(e),rv.root=e=>new ev(e),rv.document=e=>new Vy(e),rv.CssSyntaxError=Fy,rv.Declaration=By,rv.Container=$y,rv.Processor=qy,rv.Document=Vy,rv.Comment=Gy,rv.Warning=zy,rv.AtRule=Ky,rv.Result=Yy,rv.Input=Jy,rv.Rule=Zy,rv.Root=ev,rv.Node=tv,Uy.registerPostcss(rv);var sv=rv;rv.default=rv;var nv=sv;nv.stringify,nv.fromJSON,nv.plugin,nv.parse,nv.list,nv.document,nv.comment,nv.atRule,nv.rule,nv.decl,nv.root,nv.CssSyntaxError,nv.Declaration,nv.Container,nv.Processor,nv.Document,nv.Comment,nv.Warning,nv.AtRule,nv.Result,nv.Input,nv.Rule,nv.Root,nv.Node;var iv={},ov={get exports(){return iv},set exports(e){iv=e}},av={},cv={get exports(){return av},set exports(e){av=e}},lv={},uv={get exports(){return lv},set exports(e){lv=e}},hv={},pv={get exports(){return hv},set exports(e){hv=e}},dv={},fv={get exports(){return dv},set exports(e){dv=e}},mv={},gv={get exports(){return mv},set exports(e){mv=e}},yv={},vv={};!function(e,t){function r(e){for(var t=e.toLowerCase(),r="",s=!1,n=0;n<6&&void 0!==t[n];n++){var i=t.charCodeAt(n);if(s=32===i,!(i>=97&&i<=102||i>=48&&i<=57))break;r+=t[n]}if(0!==r.length){var o=parseInt(r,16);return o>=55296&&o<=57343||0===o||o>1114111?["�",r.length+(s?1:0)]:[String.fromCodePoint(o),r.length+(s?1:0)]}}t.__esModule=!0,t.default=function(e){if(!s.test(e))return e;for(var t="",n=0;n<e.length;n++)if("\\"!==e[n])t+=e[n];else{var i=r(e.slice(n+1,n+7));if(void 0!==i){t+=i[0],n+=i[1];continue}if("\\"===e[n+1]){t+="\\",n++;continue}e.length===n+1&&(t+=e[n])}return t};var s=/\\/;e.exports=t.default}({get exports(){return vv},set exports(e){vv=e}},vv);var bv={};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();if(!e[n])return;e=e[n]}return e},e.exports=t.default}({get exports(){return bv},set exports(e){bv=e}},bv);var xv={};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();e[n]||(e[n]={}),e=e[n]}},e.exports=t.default}({get exports(){return xv},set exports(e){xv=e}},xv);var wv={};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t="",r=e.indexOf("/*"),s=0;r>=0;){t+=e.slice(s,r);var n=e.indexOf("*/",r+2);if(n<0)return t;s=n+2,r=e.indexOf("/*",s)}return t+=e.slice(s)},e.exports=t.default}({get exports(){return wv},set exports(e){wv=e}},wv),yv.__esModule=!0,yv.stripComments=yv.ensureObject=yv.getProp=yv.unesc=void 0;var Sv=Tv(vv);yv.unesc=Sv.default;var Ev=Tv(bv);yv.getProp=Ev.default;var _v=Tv(xv);yv.ensureObject=_v.default;var Pv=Tv(wv);function Tv(e){return e&&e.__esModule?e:{default:e}}yv.stripComments=Pv.default,function(e,t){t.__esModule=!0,t.default=void 0;var r=yv;function s(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var n=function e(t,r){if("object"!=typeof t||null===t)return t;var s=new t.constructor;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"parent"===n&&"object"==typeof i?r&&(s[n]=r):s[n]=i instanceof Array?i.map((function(t){return e(t,s)})):e(i,s)}return s},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,o=e.prototype;return o.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},o.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},o.next=function(){return this.parent.at(this.parent.index(this)+1)},o.prev=function(){return this.parent.at(this.parent.index(this)-1)},o.clone=function(e){void 0===e&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},o.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var s=this[e],n=this.raws[e];this[e]=s+t,n||r!==t?this.raws[e]=(n||s)+r:delete this.raws[e]},o.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},o.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},o.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)},o.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},o.valueToString=function(){return String(this.stringifyProperty("value"))},o.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},t=e,(i=[{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}}])&&s(t.prototype,i),e}();t.default=i,e.exports=t.default}(gv,mv);var Av={__esModule:!0};Av.UNIVERSAL=Av.ATTRIBUTE=Av.CLASS=Av.COMBINATOR=Av.COMMENT=Av.ID=Av.NESTING=Av.PSEUDO=Av.ROOT=Av.SELECTOR=Av.STRING=Av.TAG=void 0,Av.TAG="tag",Av.STRING="string",Av.SELECTOR="selector",Av.ROOT="root",Av.PSEUDO="pseudo",Av.NESTING="nesting",Av.ID="id",Av.COMMENT="comment",Av.COMBINATOR="combinator",Av.CLASS="class",Av.ATTRIBUTE="attribute",Av.UNIVERSAL="universal",function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=mv)&&r.__esModule?r:{default: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={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(Av);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r);var i,l,u=s.prototype;return u.append=function(e){return e.parent=this,this.nodes.push(e),this},u.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},u.at=function(e){return this.nodes[e]},u.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},u.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},u.removeAll=function(){for(var e,t=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0;return function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}}}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},u.empty=function(){return this.removeAll()},u.insertAfter=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s+1,0,t),t.parent=this,this.indexes)s<=(r=this.indexes[n])&&(this.indexes[n]=r+1);return this},u.insertBefore=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s,0,t),t.parent=this,this.indexes)(r=this.indexes[n])<=s&&(this.indexes[n]=r+1);return this},u._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(s){if(s.atPosition){var n=s.atPosition(e,t);if(n)return r=n,!1}else if(s.isAtPosition(e,t))return r=s,!1})),r},u.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},u._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))},u.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,s;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(s=e(this.at(r),r)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==s&&void 0}},u.walk=function(e){return this.each((function(t,r){var s=e(t,r);if(!1!==s&&t.length&&(s=t.walk(e)),!1===s)return!1}))},u.walkAttributes=function(e){var t=this;return this.walk((function(r){if(r.type===n.ATTRIBUTE)return e.call(t,r)}))},u.walkClasses=function(e){var t=this;return this.walk((function(r){if(r.type===n.CLASS)return e.call(t,r)}))},u.walkCombinators=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMBINATOR)return e.call(t,r)}))},u.walkComments=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMMENT)return e.call(t,r)}))},u.walkIds=function(e){var t=this;return this.walk((function(r){if(r.type===n.ID)return e.call(t,r)}))},u.walkNesting=function(e){var t=this;return this.walk((function(r){if(r.type===n.NESTING)return e.call(t,r)}))},u.walkPseudos=function(e){var t=this;return this.walk((function(r){if(r.type===n.PSEUDO)return e.call(t,r)}))},u.walkTags=function(e){var t=this;return this.walk((function(r){if(r.type===n.TAG)return e.call(t,r)}))},u.walkUniversals=function(e){var t=this;return this.walk((function(r){if(r.type===n.UNIVERSAL)return e.call(t,r)}))},u.split=function(e){var t=this,r=[];return this.reduce((function(s,n,i){var o=e.call(t,n);return r.push(n),o?(s.push(r),r=[]):i===t.length-1&&s.push(r),s}),[])},u.map=function(e){return this.nodes.map(e)},u.reduce=function(e,t){return this.nodes.reduce(e,t)},u.every=function(e){return this.nodes.every(e)},u.some=function(e){return this.nodes.some(e)},u.filter=function(e){return this.nodes.filter(e)},u.sort=function(e){return this.nodes.sort(e)},u.toString=function(){return this.map(String).join("")},i=s,(l=[{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}}])&&a(i.prototype,l),s}(s.default);t.default=l,e.exports=t.default}(fv,dv),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=dv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ROOT,r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r);var a,c,l=s.prototype;return l.toString=function(){var e=this.reduce((function(e,t){return e.push(String(t)),e}),[]).join(",");return this.trailingComma?e+",":e},l.error=function(e,t){return this._error?this._error(e,t):new Error(e)},a=s,(c=[{key:"errorGenerator",set:function(e){this._error=e}}])&&i(a.prototype,c),s}(s.default);t.default=a,e.exports=t.default}(pv,hv);var Cv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=dv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.SELECTOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}({get exports(){return Cv},set exports(e){Cv=e}},Cv);var kv={},Ov={get exports(){return kv},set exports(e){kv=e}},Nv={}.hasOwnProperty,Iv=/[ -,\.\/:-@\[-\^`\{-~]/,Rv=/[ -,\.\/:-@\[\]\^`\{-~]/,Lv=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Dv=function e(t,r){r=function(e,t){if(!e)return t;var r={};for(var s in t)r[s]=Nv.call(e,s)?e[s]:t[s];return r}(r,e.options),"single"!=r.quotes&&"double"!=r.quotes&&(r.quotes="single");for(var s="double"==r.quotes?'"':"'",n=r.isIdentifier,i=t.charAt(0),o="",a=0,c=t.length;a<c;){var l=t.charAt(a++),u=l.charCodeAt(),h=void 0;if(u<32||u>126){if(u>=55296&&u<=56319&&a<c){var p=t.charCodeAt(a++);56320==(64512&p)?u=((1023&u)<<10)+(1023&p)+65536:a--}h="\\"+u.toString(16).toUpperCase()+" "}else h=r.escapeEverything?Iv.test(l)?"\\"+l:"\\"+u.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?"\\"+u.toString(16).toUpperCase()+" ":"\\"==l||!n&&('"'==l&&s==l||"'"==l&&s==l)||n&&Rv.test(l)?"\\"+l:l;o+=h}return n&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(i)&&(o="\\3"+i+" "+o.slice(1))),o=o.replace(Lv,(function(e,t,r){return t&&t.length%2?e:(t||"")+r})),!n&&r.wrap?s+o+s:o};Dv.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},Dv.version="3.0.0";var Mv=Dv;!function(e,t){t.__esModule=!0,t.default=void 0;var r=o(Mv),s=yv,n=o(mv),i=Av;function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=function(e){var t,n,o,l;function u(t){var r;return(r=e.call(this,t)||this).type=i.CLASS,r._constructed=!0,r}return n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),u.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},o=u,(l=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,s.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}])&&a(o.prototype,l),u}(n.default);t.default=l,e.exports=t.default}(Ov,kv);var jv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=mv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMMENT,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}({get exports(){return jv},set exports(e){jv=e}},jv);var Fv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=mv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ID,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},s}(s.default);t.default=o,e.exports=t.default}({get exports(){return Fv},set exports(e){Fv=e}},Fv);var Bv={},Uv={get exports(){return Bv},set exports(e){Bv=e}},$v={};!function(e,t){t.__esModule=!0,t.default=void 0;var r=n(Mv),s=yv;function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var c,l,u=a.prototype;return u.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},u.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},c=a,(l=[{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,s.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""}}])&&i(c.prototype,l),a}(n(mv).default);t.default=a,e.exports=t.default}({get exports(){return $v},set exports(e){$v=e}},$v),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=$v)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.TAG,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(Uv,Bv);var qv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=mv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.STRING,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}({get exports(){return qv},set exports(e){qv=e}},qv);var Hv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=dv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.PSEUDO,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},s}(s.default);t.default=o,e.exports=t.default}({get exports(){return Hv},set exports(e){Hv=e}},Hv);var Wv={},Vv=ef.deprecate;!function(e){e.__esModule=!0,e.unescapeValue=f,e.default=void 0;var t,r=o(Mv),s=o(vv),n=o($v),i=Av;function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=Vv,u=/^('|")([^]*)\1$/,h=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."),d=l((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function f(e){var t=!1,r=null,n=e,i=n.match(u);return i&&(r=i[1],n=i[2]),(n=(0,s.default)(n))!==e&&(t=!0),{deprecatedUsage:t,unescaped:n,quoteMark:r}}var m=function(e){var t,s;function n(t){var r;return void 0===t&&(t={}),r=e.call(this,function(e){if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;d();var t=f(e.value),r=t.quoteMark,s=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=s,e.quoteMark=r,e}(t))||this,r.type=i.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}s=e,(t=n).prototype=Object.create(s.prototype),t.prototype.constructor=t,c(t,s);var o,u,m=n.prototype;return m.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),s=g[t];return(0,r.default)(this._value,s)},m._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},m.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},m.smartQuoteMark=function(e){var t=this.value,s=t.replace(/[^']/g,"").length,i=t.replace(/[^"]/g,"").length;if(s+i===0){var o=(0,r.default)(t,{isIdentifier:!0});if(o===t)return n.NO_QUOTE;var a=this.preferredQuoteMark(e);if(a===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=g[c];if((0,r.default)(t,l).length<o.length)return c}return a}return i===s?this.preferredQuoteMark(e):i<s?n.DOUBLE_QUOTE:n.SINGLE_QUOTE},m.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},m._syncRawValue=function(){var e=(0,r.default)(this._value,g[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},m._handleEscapes=function(e,t){if(this._constructed){var s=(0,r.default)(t,{isIdentifier:!0});s!==t?this.raws[e]=s:delete this.raws[e]}},m._spacesFor=function(e){var t=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,r)},m._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=y);var s=this._spacesFor(t);return r(this.stringifyProperty(e),s)},m.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)return t;if(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e)return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var s=this._spacesFor("operator");t+=s.before.length;var n=this.stringifyProperty("operator");if("operator"===e)return n?t:-1;t+=n.length,t+=s.after.length;var i=this._spacesFor("value");t+=i.before.length;var o=this.stringifyProperty("value");return"value"===e?o?t:-1:(t+=o.length,t+=i.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},m.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("")},o=n,(u=[{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=f(e),r=t.deprecatedUsage,s=t.unescaped,n=t.quoteMark;if(r&&h(),s===this._value&&n===this._quoteMark)return;this._value=s,this._quoteMark=n,this._syncRawValue()}else this._value=e}},{key:"insensitive",get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,!this.raws||"I"!==this.raws.insensitiveFlag&&"i"!==this.raws.insensitiveFlag||(this.raws.insensitiveFlag=void 0)),this._insensitive=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&a(o.prototype,u),n}(n.default);e.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var g=((t={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},t);function y(e,t){return""+t.before+e+t.after}}(Wv);var zv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=$v)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.UNIVERSAL,r.value="*",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}({get exports(){return zv},set exports(e){zv=e}},zv);var Gv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=mv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMBINATOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}({get exports(){return Gv},set exports(e){Gv=e}},Gv);var Kv={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=mv)&&r.__esModule?r:{default:r},n=Av;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.NESTING,r.value="&",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}({get exports(){return Kv},set exports(e){Kv=e}},Kv);var Yv={};!function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default}({get exports(){return Yv},set exports(e){Yv=e}},Yv);var Jv={},Xv={__esModule:!0};Xv.combinator=Xv.word=Xv.comment=Xv.str=Xv.tab=Xv.newline=Xv.feed=Xv.cr=Xv.backslash=Xv.bang=Xv.slash=Xv.doubleQuote=Xv.singleQuote=Xv.space=Xv.greaterThan=Xv.pipe=Xv.equals=Xv.plus=Xv.caret=Xv.tilde=Xv.dollar=Xv.closeSquare=Xv.openSquare=Xv.closeParenthesis=Xv.openParenthesis=Xv.semicolon=Xv.colon=Xv.comma=Xv.at=Xv.asterisk=Xv.ampersand=void 0,Xv.ampersand=38,Xv.asterisk=42,Xv.at=64,Xv.comma=44,Xv.colon=58,Xv.semicolon=59,Xv.openParenthesis=40,Xv.closeParenthesis=41,Xv.openSquare=91,Xv.closeSquare=93,Xv.dollar=36,Xv.tilde=126,Xv.caret=94,Xv.plus=43,Xv.equals=61,Xv.pipe=124,Xv.greaterThan=62,Xv.space=32,Xv.singleQuote=39,Xv.doubleQuote=34,Xv.slash=47,Xv.bang=33,Xv.backslash=92,Xv.cr=13,Xv.feed=12,Xv.newline=10,Xv.tab=9,Xv.str=39,Xv.comment=-1,Xv.word=-2,Xv.combinator=-3,function(e){e.__esModule=!0,e.default=function(e){var t,r,n,i,o,a,c,u,h,p,d,f,m=[],g=e.css.valueOf(),y=g.length,v=-1,b=1,x=0,w=0;function S(t,r){if(!e.safe)throw e.error("Unclosed "+t,b,x-v,x);u=(g+=r).length-1}for(;x<y;){switch((t=g.charCodeAt(x))===s.newline&&(v=x,b+=1),t){case s.space:case s.tab:case s.newline:case s.cr:case s.feed:u=x;do{u+=1,(t=g.charCodeAt(u))===s.newline&&(v=u,b+=1)}while(t===s.space||t===s.newline||t===s.tab||t===s.cr||t===s.feed);f=s.space,n=b,r=u-v-1,w=u;break;case s.plus:case s.greaterThan:case s.tilde:case s.pipe:u=x;do{u+=1,t=g.charCodeAt(u)}while(t===s.plus||t===s.greaterThan||t===s.tilde||t===s.pipe);f=s.combinator,n=b,r=x-v,w=u;break;case s.asterisk:case s.ampersand:case s.bang:case s.comma:case s.equals:case s.dollar:case s.caret:case s.openSquare:case s.closeSquare:case s.colon:case s.semicolon:case s.openParenthesis:case s.closeParenthesis:f=t,n=b,r=x-v,w=(u=x)+1;break;case s.singleQuote:case s.doubleQuote:d=t===s.singleQuote?"'":'"',u=x;do{for(i=!1,-1===(u=g.indexOf(d,u+1))&&S("quote",d),o=u;g.charCodeAt(o-1)===s.backslash;)o-=1,i=!i}while(i);f=s.str,n=b,r=x-v,w=u+1;break;default:t===s.slash&&g.charCodeAt(x+1)===s.asterisk?(0===(u=g.indexOf("*/",x+2)+1)&&S("comment","*/"),(a=(c=g.slice(x,u+1).split("\n")).length-1)>0?(h=b+a,p=u-c[a].length):(h=b,p=v),f=s.comment,b=h,n=h,r=u-p):t===s.slash?(f=t,n=b,r=x-v,w=(u=x)+1):(u=l(g,x),f=s.word,n=b,r=u-v),w=u+1}m.push([f,b,x-v,n,r,x,w]),p&&(v=p,p=null),x=w}return m},e.FIELDS=void 0;var t,r,s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(Xv);function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}for(var i=((t={})[s.tab]=!0,t[s.newline]=!0,t[s.cr]=!0,t[s.feed]=!0,t),o=((r={})[s.space]=!0,r[s.tab]=!0,r[s.newline]=!0,r[s.cr]=!0,r[s.feed]=!0,r[s.ampersand]=!0,r[s.asterisk]=!0,r[s.bang]=!0,r[s.comma]=!0,r[s.colon]=!0,r[s.semicolon]=!0,r[s.openParenthesis]=!0,r[s.closeParenthesis]=!0,r[s.openSquare]=!0,r[s.closeSquare]=!0,r[s.singleQuote]=!0,r[s.doubleQuote]=!0,r[s.plus]=!0,r[s.pipe]=!0,r[s.tilde]=!0,r[s.greaterThan]=!0,r[s.equals]=!0,r[s.dollar]=!0,r[s.caret]=!0,r[s.slash]=!0,r),a={},c=0;c<22;c++)a["0123456789abcdefABCDEF".charCodeAt(c)]=!0;function l(e,t){var r,n=t;do{if(r=e.charCodeAt(n),o[r])return n-1;r===s.backslash?n=u(e,n)+1:n++}while(n<e.length);return n-1}function u(e,t){var r=t,n=e.charCodeAt(r+1);if(i[n]);else if(a[n]){var o=0;do{r++,o++,n=e.charCodeAt(r+1)}while(a[n]&&o<6);o<6&&n===s.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}}(Jv),function(e,t){t.__esModule=!0,t.default=void 0;var r,s,n=E(hv),i=E(Cv),o=E(kv),a=E(jv),c=E(Fv),l=E(Bv),u=E(qv),h=E(Hv),p=S(Wv),d=E(zv),f=E(Gv),m=E(Kv),g=E(Yv),y=S(Jv),v=S(Xv),b=S(Av),x=yv;function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=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=w();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=s?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(r,n,i):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}function E(e){return e&&e.__esModule?e:{default:e}}function _(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var P=((r={})[v.space]=!0,r[v.cr]=!0,r[v.feed]=!0,r[v.newline]=!0,r[v.tab]=!0,r),T=Object.assign({},P,((s={})[v.comment]=!0,s));function A(e){return{line:e[y.FIELDS.START_LINE],column:e[y.FIELDS.START_COL]}}function C(e){return{line:e[y.FIELDS.END_LINE],column:e[y.FIELDS.END_COL]}}function k(e,t,r,s){return{start:{line:e,column:t},end:{line:r,column:s}}}function O(e){return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],e[y.FIELDS.END_LINE],e[y.FIELDS.END_COL])}function N(e,t){if(e)return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],t[y.FIELDS.END_LINE],t[y.FIELDS.END_COL])}function I(e,t){var r=e[t];if("string"==typeof r)return-1!==r.indexOf("\\")&&((0,x.ensureObject)(e,"raws"),e[t]=(0,x.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function R(e,t){for(var r=-1,s=[];-1!==(r=e.indexOf(t,r+1));)s.push(r);return s}var L=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,y.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 n.default({source:r}),this.root.errorGenerator=this._errorGenerator();var s=new i.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var t,r,s=e.prototype;return s._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?new Error(t):e.rule.error(t,r)}},s.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[y.FIELDS.TYPE]!==v.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[y.FIELDS.TYPE]!==v.closeSquare)return this.expected("closing square bracket",this.currToken[y.FIELDS.START_POS]);var r=e.length,s={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[y.FIELDS.START_POS]};if(1===r&&!~[v.word].indexOf(e[0][y.FIELDS.TYPE]))return this.expected("attribute",e[0][y.FIELDS.START_POS]);for(var n=0,i="",o="",a=null,c=!1;n<r;){var l=e[n],u=this.content(l),h=e[n+1];switch(l[y.FIELDS.TYPE]){case v.space:if(c=!0,this.options.lossy)break;if(a){(0,x.ensureObject)(s,"spaces",a);var d=s.spaces[a].after||"";s.spaces[a].after=d+u;var f=(0,x.getProp)(s,"raws","spaces",a,"after")||null;f&&(s.raws.spaces[a].after=f+u)}else i+=u,o+=u;break;case v.asterisk:h[y.FIELDS.TYPE]===v.equals?(s.operator=u,a="operator"):s.namespace&&("namespace"!==a||c)||!h||(i&&((0,x.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=i,o=""),s.namespace=(s.namespace||"")+u,(0,x.getProp)(s,"raws","namespace")&&(s.raws.namespace+=u),a="namespace"),c=!1;break;case v.dollar:if("value"===a){var m=(0,x.getProp)(s,"raws","value");s.value+="$",m&&(s.raws.value=m+"$");break}case v.caret:h[y.FIELDS.TYPE]===v.equals&&(s.operator=u,a="operator"),c=!1;break;case v.combinator:if("~"===u&&h[y.FIELDS.TYPE]===v.equals&&(s.operator=u,a="operator"),"|"!==u){c=!1;break}h[y.FIELDS.TYPE]===v.equals?(s.operator=u,a="operator"):s.namespace||s.attribute||(s.namespace=!0),c=!1;break;case v.word:if(h&&"|"===this.content(h)&&e[n+2]&&e[n+2][y.FIELDS.TYPE]!==v.equals&&!s.operator&&!s.namespace)s.namespace=u,a="namespace";else if(!s.attribute||"attribute"===a&&!c)i&&((0,x.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=o,o=""),s.attribute=(s.attribute||"")+u,(0,x.getProp)(s,"raws","attribute")&&(s.raws.attribute+=u),a="attribute";else if(!s.value&&""!==s.value||"value"===a&&!c&&!s.quoteMark){var g=(0,x.unesc)(u),b=(0,x.getProp)(s,"raws","value")||"",w=s.value||"";s.value=w+g,s.quoteMark=null,(g!==u||b)&&((0,x.ensureObject)(s,"raws"),s.raws.value=(b||w)+u),a="value"}else{var S="i"===u||"I"===u;!s.value&&""!==s.value||!s.quoteMark&&!c?(s.value||""===s.value)&&(a="value",s.value+=u,s.raws.value&&(s.raws.value+=u)):(s.insensitive=S,S&&"I"!==u||((0,x.ensureObject)(s,"raws"),s.raws.insensitiveFlag=u),a="insensitive",i&&((0,x.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=o,o=""))}c=!1;break;case v.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:l[y.FIELDS.START_POS]});var E=(0,p.unescapeValue)(u),_=E.unescaped,P=E.quoteMark;s.value=_,s.quoteMark=P,a="value",(0,x.ensureObject)(s,"raws"),s.raws.value=u,c=!1;break;case v.equals:if(!s.attribute)return this.expected("attribute",l[y.FIELDS.START_POS],u);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:l[y.FIELDS.START_POS]});s.operator=s.operator?s.operator+u:u,a="operator",c=!1;break;case v.comment:if(a)if(c||h&&h[y.FIELDS.TYPE]===v.space||"insensitive"===a){var T=(0,x.getProp)(s,"spaces",a,"after")||"",A=(0,x.getProp)(s,"raws","spaces",a,"after")||T;(0,x.ensureObject)(s,"raws","spaces",a),s.raws.spaces[a].after=A+u}else{var C=s[a]||"",O=(0,x.getProp)(s,"raws",a)||C;(0,x.ensureObject)(s,"raws"),s.raws[a]=O+u}else o+=u;break;default:return this.error('Unexpected "'+u+'" found.',{index:l[y.FIELDS.START_POS]})}n++}I(s,"attribute"),I(s,"namespace"),this.newNode(new p.default(s)),this.position++},s.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],s="",n=void 0;do{if(P[this.currToken[y.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[y.FIELDS.TYPE]===v.comment){var i={};s&&(i.before=s,s=""),n=new a.default({value:this.content(),source:O(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS],spaces:i}),r.push(n)}}while(++this.position<e);if(s)if(n)n.spaces.after=s;else if(!this.options.lossy){var o=this.tokens[t],c=this.tokens[this.position-1];r.push(new u.default({value:"",source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],c[y.FIELDS.END_LINE],c[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS],spaces:{before:s,after:""}}))}return r},s.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var s="",n="";return e.forEach((function(e){var i=r.lossySpace(e.spaces.before,t),o=r.lossySpace(e.rawSpaceBefore,t);s+=i+r.lossySpace(e.spaces.after,t&&0===i.length),n+=i+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===o.length)})),n===s&&(n=void 0),{space:s,rawSpace:n}},s.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][y.FIELDS.TYPE]===v.slash&&this.tokens[e+1]&&this.tokens[e+1][y.FIELDS.TYPE]===v.word&&this.tokens[e+2]&&this.tokens[e+2][y.FIELDS.TYPE]===v.slash},s.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,x.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var s=new f.default({value:"/"+t+"/",source:k(this.currToken[y.FIELDS.START_LINE],this.currToken[y.FIELDS.START_COL],this.tokens[this.position+2][y.FIELDS.END_LINE],this.tokens[this.position+2][y.FIELDS.END_COL]),sourceIndex:this.currToken[y.FIELDS.START_POS],raws:r});return this.position=this.position+3,s}this.unexpected()},s.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][y.FIELDS.TYPE]===v.comma)){var r,s=this.currToken,n=void 0;if(t>this.position&&(n=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[y.FIELDS.TYPE]===v.combinator?(r=new f.default({value:this.content(),source:O(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS]}),this.position++):P[this.currToken[y.FIELDS.TYPE]]||n||this.unexpected(),r){if(n){var i=this.convertWhitespaceNodesToSpace(n),o=i.space,a=i.rawSpace;r.spaces.before=o,r.rawSpaceBefore=a}}else{var c=this.convertWhitespaceNodesToSpace(n,!0),l=c.space,u=c.rawSpace;u||(u=l);var h={},p={spaces:{}};l.endsWith(" ")&&u.endsWith(" ")?(h.before=l.slice(0,l.length-1),p.spaces.before=u.slice(0,u.length-1)):l.startsWith(" ")&&u.startsWith(" ")?(h.after=l.slice(1),p.spaces.after=u.slice(1)):p.value=u,r=new f.default({value:" ",source:N(s,this.tokens[this.position-1]),sourceIndex:s[y.FIELDS.START_POS],spaces:h,raws:p})}return this.currToken&&this.currToken[y.FIELDS.TYPE]===v.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 g=this.convertWhitespaceNodesToSpace(d),b=g.space,x=g.rawSpace;void 0!==x&&(m.rawSpaceAfter+=x),m.spaces.after+=b}else d.forEach((function(t){return e.newNode(t)}))}},s.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new i.default({source:{start:A(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},s.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},s.error=function(e,t){throw this.root.error(e,t)},s.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[y.FIELDS.START_POS]})},s.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[y.FIELDS.START_POS])},s.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[y.FIELDS.START_POS])},s.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[y.FIELDS.START_POS])},s.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[y.FIELDS.TYPE]===v.word?(this.position++,this.word(e)):this.nextToken[y.FIELDS.TYPE]===v.asterisk?(this.position++,this.universal(e)):void 0},s.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:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++}},s.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===b.PSEUDO){var r=new i.default({source:{start:A(this.tokens[this.position-1])}}),s=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===v.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===v.closeParenthesis&&t--,t?this.parse():(this.current.source.end=C(this.currToken),this.current.parent.source.end=C(this.currToken),this.position++);this.current=s}else{for(var n,o=this.currToken,a="(";this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===v.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===v.closeParenthesis&&t--,n=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",a,a):this.newNode(new u.default({value:a,source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],n[y.FIELDS.END_LINE],n[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[y.FIELDS.START_POS])},s.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[y.FIELDS.TYPE]===v.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[y.FIELDS.TYPE]!==v.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[y.FIELDS.START_POS]):void this.splitWord(!1,(function(s,n){t+=s,e.newNode(new h.default({value:t,source:N(r,e.currToken),sourceIndex:r[y.FIELDS.START_POS]})),n>1&&e.nextToken&&e.nextToken[y.FIELDS.TYPE]===v.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[y.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},s.space=function(){var e=this.content();0===this.position||this.prevToken[y.FIELDS.TYPE]===v.comma||this.prevToken[y.FIELDS.TYPE]===v.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[y.FIELDS.TYPE]===v.comma||this.nextToken[y.FIELDS.TYPE]===v.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},s.string=function(){var e=this.currToken;this.newNode(new u.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},s.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:O(r),sourceIndex:r[y.FIELDS.START_POS]}),e),this.position++},s.splitWord=function(e,t){for(var r=this,s=this.nextToken,n=this.content();s&&~[v.dollar,v.caret,v.equals,v.word].indexOf(s[y.FIELDS.TYPE]);){this.position++;var i=this.content();if(n+=i,i.lastIndexOf("\\")===i.length-1){var a=this.nextToken;a&&a[y.FIELDS.TYPE]===v.space&&(n+=this.requiredSpace(this.content(a)),this.position++)}s=this.nextToken}var u=R(n,".").filter((function(e){var t="\\"===n[e-1],r=/^\d+\.\d+%$/.test(n);return!t&&!r})),h=R(n,"#").filter((function(e){return"\\"!==n[e-1]})),p=R(n,"#{");p.length&&(h=h.filter((function(e){return!~p.indexOf(e)})));var d=(0,g.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((function(t,r){return r===e.indexOf(t)}))}([0].concat(u,h)));d.forEach((function(s,i){var a,p=d[i+1]||n.length,f=n.slice(s,p);if(0===i&&t)return t.call(r,f,d.length);var m=r.currToken,g=m[y.FIELDS.START_POS]+d[i],v=k(m[1],m[2]+s,m[3],m[2]+(p-1));if(~u.indexOf(s)){var b={value:f.slice(1),source:v,sourceIndex:g};a=new o.default(I(b,"value"))}else if(~h.indexOf(s)){var x={value:f.slice(1),source:v,sourceIndex:g};a=new c.default(I(x,"value"))}else{var w={value:f,source:v,sourceIndex:g};I(w,"value"),a=new l.default(w)}r.newNode(a,e),e=null})),this.position++},s.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},s.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},s.parse=function(e){switch(this.currToken[y.FIELDS.TYPE]){case v.space:this.space();break;case v.comment:this.comment();break;case v.openParenthesis:this.parentheses();break;case v.closeParenthesis:e&&this.missingParenthesis();break;case v.openSquare:this.attribute();break;case v.dollar:case v.caret:case v.equals:case v.word:this.word();break;case v.colon:this.pseudo();break;case v.comma:this.comma();break;case v.asterisk:this.universal();break;case v.ampersand:this.nesting();break;case v.slash:case v.combinator:this.combinator();break;case v.str:this.string();break;case v.closeSquare:this.missingSquareBracket();case v.semicolon:this.missingBackslash();default:this.unexpected()}},s.expected=function(e,t,r){if(Array.isArray(e)){var s=e.pop();e=e.join(", ")+" or "+s}var n=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+n+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+n+" "+e+".",{index:t})},s.requiredSpace=function(e){return this.options.lossy?" ":e},s.optionalSpace=function(e){return this.options.lossy?"":e},s.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},s.parseParenthesisToken=function(e){var t=this.content(e);return e[y.FIELDS.TYPE]===v.space?this.requiredSpace(t):t},s.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,I(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},s.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[y.FIELDS.START_POS],e[y.FIELDS.END_POS])},s.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!T[this.tokens[t][y.FIELDS.TYPE]])return t;t++}return-1},t=e,(r=[{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]}}])&&_(t.prototype,r),e}();t.default=L,e.exports=t.default}(uv,lv),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=lv)&&r.__esModule?r:{default:r},n=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 s.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(s,n){try{var i=r._root(e,t);Promise.resolve(r.func(i)).then((function(s){var n=void 0;return r._shouldUpdateSelector(e,t)&&(n=i.toString(),e.selector=n),{transform:s,root:i,string:n}})).then(s,n)}catch(e){return void n(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),s=this.func(r);if(s&&"function"==typeof s.then)throw new Error("Selector processor returned a promise to a synchronous call.");var n=void 0;return t.updateSelector&&"string"!=typeof e&&(n=r.toString(),e.selector=n),{transform:s,root:r,string:n}},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=n,e.exports=t.default}(cv,av);var Qv={},Zv={__esModule:!0};Zv.universal=Zv.tag=Zv.string=Zv.selector=Zv.root=Zv.pseudo=Zv.nesting=Zv.id=Zv.comment=Zv.combinator=Zv.className=Zv.attribute=void 0;var eb=pb(Wv),tb=pb(kv),rb=pb(Gv),sb=pb(jv),nb=pb(Fv),ib=pb(Kv),ob=pb(Hv),ab=pb(hv),cb=pb(Cv),lb=pb(qv),ub=pb(Bv),hb=pb(zv);function pb(e){return e&&e.__esModule?e:{default:e}}Zv.attribute=function(e){return new eb.default(e)},Zv.className=function(e){return new tb.default(e)},Zv.combinator=function(e){return new rb.default(e)},Zv.comment=function(e){return new sb.default(e)},Zv.id=function(e){return new nb.default(e)},Zv.nesting=function(e){return new ib.default(e)},Zv.pseudo=function(e){return new ob.default(e)},Zv.root=function(e){return new ab.default(e)},Zv.selector=function(e){return new cb.default(e)},Zv.string=function(e){return new lb.default(e)},Zv.tag=function(e){return new ub.default(e)},Zv.universal=function(e){return new hb.default(e)};var db={__esModule:!0};db.isNode=yb,db.isPseudoElement=Nb,db.isPseudoClass=function(e){return Pb(e)&&!Nb(e)},db.isContainer=function(e){return!(!yb(e)||!e.walk)},db.isNamespace=function(e){return bb(e)||kb(e)},db.isUniversal=db.isTag=db.isString=db.isSelector=db.isRoot=db.isPseudo=db.isNesting=db.isIdentifier=db.isComment=db.isCombinator=db.isClassName=db.isAttribute=void 0;var fb,mb=Av,gb=((fb={})[mb.ATTRIBUTE]=!0,fb[mb.CLASS]=!0,fb[mb.COMBINATOR]=!0,fb[mb.COMMENT]=!0,fb[mb.ID]=!0,fb[mb.NESTING]=!0,fb[mb.PSEUDO]=!0,fb[mb.ROOT]=!0,fb[mb.SELECTOR]=!0,fb[mb.STRING]=!0,fb[mb.TAG]=!0,fb[mb.UNIVERSAL]=!0,fb);function yb(e){return"object"==typeof e&&gb[e.type]}function vb(e,t){return yb(t)&&t.type===e}var bb=vb.bind(null,mb.ATTRIBUTE);db.isAttribute=bb;var xb=vb.bind(null,mb.CLASS);db.isClassName=xb;var wb=vb.bind(null,mb.COMBINATOR);db.isCombinator=wb;var Sb=vb.bind(null,mb.COMMENT);db.isComment=Sb;var Eb=vb.bind(null,mb.ID);db.isIdentifier=Eb;var _b=vb.bind(null,mb.NESTING);db.isNesting=_b;var Pb=vb.bind(null,mb.PSEUDO);db.isPseudo=Pb;var Tb=vb.bind(null,mb.ROOT);db.isRoot=Tb;var Ab=vb.bind(null,mb.SELECTOR);db.isSelector=Ab;var Cb=vb.bind(null,mb.STRING);db.isString=Cb;var kb=vb.bind(null,mb.TAG);db.isTag=kb;var Ob=vb.bind(null,mb.UNIVERSAL);function Nb(e){return Pb(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}db.isUniversal=Ob,function(e){e.__esModule=!0;var t=Av;Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(r in e&&e[r]===t[r]||(e[r]=t[r]))}));var r=Zv;Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||(e[t]=r[t]))}));var s=db;Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===s[t]||(e[t]=s[t]))}))}(Qv),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=av)&&r.__esModule?r:{default: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={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(Qv);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var o=function(e){return new s.default(e)};Object.assign(o,n),delete o.__esModule;var a=o;t.default=a,e.exports=t.default}(ov,iv);var Ib=Dr(iv);const Rb=/^(-\w+-)?animation-name$/,Lb=/^(-\w+-)?animation$/,Db=new WeakSet;function Mb(e,t,r,s=!1){let n=null,i=!0;if(t.each((s=>{if("combinator"===s.type&&(">>>"===s.value||"/deep/"===s.value))return s.value=" ",s.spaces.before=s.spaces.after="",tf("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if("pseudo"===s.type){const{value:n}=s;if(":deep"===n||"::v-deep"===n){if(s.nodes.length){let e=s;s.nodes[0].each((r=>{t.insertAfter(e,r),e=r}));const r=t.at(t.index(s)-1);r&&jb(r)||t.insertAfter(s,Ib.combinator({value:" "})),t.removeChild(s)}else{tf("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");const e=t.at(t.index(s)-1);e&&jb(e)&&t.removeChild(e),t.removeChild(s)}return!1}if(":slotted"===n||"::v-slotted"===n){Mb(e,s.nodes[0],r,!0);let n=s;return s.nodes[0].each((e=>{t.insertAfter(n,e),n=e})),t.removeChild(s),i=!1,!1}if(":global"===n||"::v-global"===n)return r.insertAfter(t,s.nodes[0]),r.removeChild(t),!1}"pseudo"!==s.type&&"combinator"!==s.type&&(n=s)})),n?n.spaces.after="":t.first.spaces.before="",i){const r=s?e+"-s":e;t.insertAfter(n,Ib.attribute({attribute:r,value:r,raws:{},quoteMark:'"'}))}}function jb(e){return"combinator"===e.type&&/^\s+$/.test(e.value)}((e="")=>{const t=Object.create(null),r=e.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(t){!function(e,t){Db.has(t)||t.parent&&"atrule"===t.parent.type&&/-?keyframes$/.test(t.parent.name)||(Db.add(t),t.selector=Ib((t=>{t.each((r=>{Mb(e,r,t)}))})).processSync(t.selector))}(e,t)},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=>{Rb.test(e.prop)&&(e.value=e.value.split(",").map((e=>t[e.trim()]||e.trim())).join(",")),Lb.test(e.prop)&&(e.value=e.value.split(",").map((e=>{const r=e.trim().split(/\s+/),s=r.findIndex((e=>t[e]));return-1!==s?(r.splice(s,1,t[r[s]]),r.join(" ")):e})).join(","))}))}}}).postcss=!0;var Fb={},Bb={},Ub={},$b={},qb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");$b.encode=function(e){if(0<=e&&e<qb.length)return qb[e];throw new TypeError("Must be between 0 and 63: "+e)},$b.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 Hb=$b;Ub.encode=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=Hb.encode(t)}while(s>0);return r},Ub.decode=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=Hb.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t};var Wb={};!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 s(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 n(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 i(t){var r=t,i=s(t);if(i){if(!i.path)return t;r=i.path}for(var o,a=e.isAbsolute(r),c=r.split(/\/+/),l=0,u=c.length-1;u>=0;u--)"."===(o=c[u])?c.splice(u,1):".."===o?l++:l>0&&(""===o?(c.splice(u+1,l),l=0):(c.splice(u,2),l--));return""===(r=c.join("/"))&&(r=a?"/":"."),i?(i.path=r,n(i)):r}function o(e,t){""===e&&(e="."),""===t&&(t=".");var o=s(t),a=s(e);if(a&&(e=a.path||"/"),o&&!o.scheme)return a&&(o.scheme=a.scheme),n(o);if(o||t.match(r))return t;if(a&&!a.host&&!a.path)return a.host=t,n(a);var c="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,n(a)):c}e.urlParse=s,e.urlGenerate=n,e.normalize=i,e.join=o,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 s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(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 u(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?c:function(e){return l(e)?"$"+e:e},e.fromSetString=a?c:function(e){return l(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,r){var s=u(e.source,t.source);return 0!==s||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:u(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!=(s=e.generatedColumn-t.generatedColumn)||r||0!==(s=u(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:u(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=u(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:u(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 a=s(r);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var c=a.path.lastIndexOf("/");c>=0&&(a.path=a.path.substring(0,c+1))}t=o(n(a),t)}return i(t)}}(Wb);var Vb={},zb=Wb,Gb=Object.prototype.hasOwnProperty,Kb="undefined"!=typeof Map;function Yb(){this._array=[],this._set=Kb?new Map:Object.create(null)}Yb.fromArray=function(e,t){for(var r=new Yb,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},Yb.prototype.size=function(){return Kb?this._set.size:Object.getOwnPropertyNames(this._set).length},Yb.prototype.add=function(e,t){var r=Kb?e:zb.toSetString(e),s=Kb?this.has(e):Gb.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(Kb?this._set.set(e,n):this._set[r]=n)},Yb.prototype.has=function(e){if(Kb)return this._set.has(e);var t=zb.toSetString(e);return Gb.call(this._set,t)},Yb.prototype.indexOf=function(e){if(Kb){var t=this._set.get(e);if(t>=0)return t}else{var r=zb.toSetString(e);if(Gb.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},Yb.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},Yb.prototype.toArray=function(){return this._array.slice()},Vb.ArraySet=Yb;var Jb={},Xb=Wb;function Qb(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Qb.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Qb.prototype.add=function(e){var t,r,s,n,i,o;r=e,s=(t=this._last).generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||Xb.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Qb.prototype.toArray=function(){return this._sorted||(this._array.sort(Xb.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Jb.MappingList=Qb;var Zb=Ub,ex=Wb,tx=Vb.ArraySet,rx=Jb.MappingList;function sx(e){e||(e={}),this._file=ex.getArg(e,"file",null),this._sourceRoot=ex.getArg(e,"sourceRoot",null),this._skipValidation=ex.getArg(e,"skipValidation",!1),this._sources=new tx,this._names=new tx,this._mappings=new rx,this._sourcesContents=null}sx.prototype._version=3,sx.fromSourceMap=function(e){var t=e.sourceRoot,r=new sx({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=ex.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=ex.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},sx.prototype.addMapping=function(e){var t=ex.getArg(e,"generated"),r=ex.getArg(e,"original",null),s=ex.getArg(e,"source",null),n=ex.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},sx.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=ex.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ex.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[ex.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},sx.prototype.applySourceMap=function(e,t,r){var s=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.');s=e.file}var n=this._sourceRoot;null!=n&&(s=ex.relative(n,s));var i=new tx,o=new tx;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=ex.join(r,t.source)),null!=n&&(t.source=ex.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=ex.join(r,t)),null!=n&&(t=ex.relative(n,t)),this.setSourceContent(t,s))}),this)},sx.prototype._validateMapping=function(e,t,r,s){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||s)&&!(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:s}))},sx.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,u="",h=this._mappings.toArray(),p=0,d=h.length;p<d;p++){if(e="",(t=h[p]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(p>0){if(!ex.compareByGeneratedPositionsInflated(t,h[p-1]))continue;e+=","}e+=Zb.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=Zb.encode(s-l),l=s,e+=Zb.encode(t.originalLine-1-a),a=t.originalLine-1,e+=Zb.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Zb.encode(r-c),c=r)),u+=e}return u},sx.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=ex.relative(t,e));var r=ex.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},sx.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},sx.prototype.toString=function(){return JSON.stringify(this.toJSON())},Bb.SourceMapGenerator=sx;var nx={},ix={};!function(e){function t(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?t(c,s,n,i,o,a):a==e.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?t(r,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:r<0?-1:r}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(r,s,n,i){if(0===s.length)return-1;var o=t(-1,s.length,r,s,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(s[o],s[o-1],!0);)--o;return o}}(ix);var ox={};function ax(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function cx(e,t,r,s){if(r<s){var n=r-1;ax(e,(c=r,l=s,Math.round(c+Math.random()*(l-c))),s);for(var i=e[s],o=r;o<s;o++)t(e[o],i)<=0&&ax(e,n+=1,o);ax(e,n+1,o);var a=n+1;cx(e,t,r,a-1),cx(e,t,a+1,s)}var c,l}ox.quickSort=function(e,t){cx(e,t,0,e.length-1)};var lx=Wb,ux=ix,hx=Vb.ArraySet,px=Ub,dx=ox.quickSort;function fx(e,t){var r=e;return"string"==typeof e&&(r=lx.parseSourceMapInput(e)),null!=r.sections?new yx(r,t):new mx(r,t)}function mx(e,t){var r=e;"string"==typeof e&&(r=lx.parseSourceMapInput(e));var s=lx.getArg(r,"version"),n=lx.getArg(r,"sources"),i=lx.getArg(r,"names",[]),o=lx.getArg(r,"sourceRoot",null),a=lx.getArg(r,"sourcesContent",null),c=lx.getArg(r,"mappings"),l=lx.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=lx.normalize(o)),n=n.map(String).map(lx.normalize).map((function(e){return o&&lx.isAbsolute(o)&&lx.isAbsolute(e)?lx.relative(o,e):e})),this._names=hx.fromArray(i.map(String),!0),this._sources=hx.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return lx.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function gx(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function yx(e,t){var r=e;"string"==typeof e&&(r=lx.parseSourceMapInput(e));var s=lx.getArg(r,"version"),n=lx.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new hx,this._names=new hx;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=lx.getArg(e,"offset"),s=lx.getArg(r,"line"),n=lx.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new fx(lx.getArg(e,"map"),t)}}))}fx.fromSourceMap=function(e,t){return mx.fromSourceMap(e,t)},fx.prototype._version=3,fx.prototype.__generatedMappings=null,Object.defineProperty(fx.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),fx.prototype.__originalMappings=null,Object.defineProperty(fx.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),fx.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},fx.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},fx.GENERATED_ORDER=1,fx.ORIGINAL_ORDER=2,fx.GREATEST_LOWER_BOUND=1,fx.LEAST_UPPER_BOUND=2,fx.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||fx.GENERATED_ORDER){case fx.GENERATED_ORDER:s=this._generatedMappings;break;case fx.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;s.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=lx.computeSourceURL(i,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,n)},fx.prototype.allGeneratedPositionsFor=function(e){var t=lx.getArg(e,"line"),r={source:lx.getArg(e,"source"),originalLine:t,originalColumn:lx.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",lx.compareByOriginalPositions,ux.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:lx.getArg(i,"generatedLine",null),column:lx.getArg(i,"generatedColumn",null),lastColumn:lx.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:lx.getArg(i,"generatedLine",null),column:lx.getArg(i,"generatedColumn",null),lastColumn:lx.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},nx.SourceMapConsumer=fx,mx.prototype=Object.create(fx.prototype),mx.prototype.consumer=fx,mx.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=lx.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},mx.fromSourceMap=function(e,t){var r=Object.create(mx.prototype),s=r._names=hx.fromArray(e._names.toArray(),!0),n=r._sources=hx.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 lx.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var u=i[c],h=new gx;h.generatedLine=u.generatedLine,h.generatedColumn=u.generatedColumn,u.source&&(h.source=n.indexOf(u.source),h.originalLine=u.originalLine,h.originalColumn=u.originalColumn,u.name&&(h.name=s.indexOf(u.name)),a.push(h)),o.push(h)}return dx(r.__originalMappings,lx.compareByOriginalPositions),r},mx.prototype._version=3,Object.defineProperty(mx.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),mx.prototype._parseMappings=function(e,t){for(var r,s,n,i,o,a=1,c=0,l=0,u=0,h=0,p=0,d=e.length,f=0,m={},g={},y=[],v=[];f<d;)if(";"===e.charAt(f))a++,f++,c=0;else if(","===e.charAt(f))f++;else{for((r=new gx).generatedLine=a,i=f;i<d&&!this._charIsMappingSeparator(e,i);i++);if(n=m[s=e.slice(f,i)])f+=s.length;else{for(n=[];f<i;)px.decode(e,f,g),o=g.value,f=g.rest,n.push(o);if(2===n.length)throw new Error("Found a source, but no line and column");if(3===n.length)throw new Error("Found a source and line, but no column");m[s]=n}r.generatedColumn=c+n[0],c=r.generatedColumn,n.length>1&&(r.source=h+n[1],h+=n[1],r.originalLine=l+n[2],l=r.originalLine,r.originalLine+=1,r.originalColumn=u+n[3],u=r.originalColumn,n.length>4&&(r.name=p+n[4],p+=n[4])),v.push(r),"number"==typeof r.originalLine&&y.push(r)}dx(v,lx.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,dx(y,lx.compareByOriginalPositions),this.__originalMappings=y},mx.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return ux.search(e,t,n,i)},mx.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}},mx.prototype.originalPositionFor=function(e){var t={generatedLine:lx.getArg(e,"line"),generatedColumn:lx.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",lx.compareByGeneratedPositionsDeflated,lx.getArg(e,"bias",fx.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=lx.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=lx.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=lx.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:lx.getArg(s,"originalLine",null),column:lx.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},mx.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},mx.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=lx.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=lx.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},mx.prototype.generatedPositionFor=function(e){var t=lx.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:lx.getArg(e,"line"),originalColumn:lx.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",lx.compareByOriginalPositions,lx.getArg(e,"bias",fx.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:lx.getArg(n,"generatedLine",null),column:lx.getArg(n,"generatedColumn",null),lastColumn:lx.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nx.BasicSourceMapConsumer=mx,yx.prototype=Object.create(fx.prototype),yx.prototype.constructor=fx,yx.prototype._version=3,Object.defineProperty(yx.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}}),yx.prototype.originalPositionFor=function(e){var t={generatedLine:lx.getArg(e,"line"),generatedColumn:lx.getArg(e,"column")},r=ux.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},yx.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},yx.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},yx.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(lx.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},yx.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=lx.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}dx(this.__generatedMappings,lx.compareByGeneratedPositionsDeflated),dx(this.__originalMappings,lx.compareByOriginalPositions)},nx.IndexedSourceMapConsumer=yx;var vx={},bx=Bb.SourceMapGenerator,xx=Wb,wx=/(\r?\n)/,Sx="$$$isSourceNode$$$";function Ex(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this[Sx]=!0,null!=s&&this.add(s)}Ex.fromStringWithSourceMap=function(e,t,r){var s=new Ex,n=e.split(wx),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,u(l,t),void(l=e)}u(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&u(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=xx.join(r,e)),s.setSourceContent(e,n))})),s;function u(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?xx.join(r,e.source):e.source;s.add(new Ex(e.originalLine,e.originalColumn,n,t,e.name))}}},Ex.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Sx]&&"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},Ex.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Sx]&&"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},Ex.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[Sx]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Ex.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},Ex.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Sx]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},Ex.prototype.setSourceContent=function(e,t){this.sourceContents[xx.toSetString(e)]=t},Ex.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Sx]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(xx.fromSetString(s[t]),this.sourceContents[s[t]])},Ex.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Ex.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new bx(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,u=e.length;l<u;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===u?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},vx.SourceNode=Ex,Fb.SourceMapGenerator=Bb.SourceMapGenerator,Fb.SourceMapConsumer=nx.SourceMapConsumer,Fb.SourceNode=vx.SourceNode;var _x=Fb;_x.SourceMapConsumer,_x.SourceMapGenerator,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,",".charCodeAt(0),";".charCodeAt(0);const Px=new Uint8Array(64),Tx=new Uint8Array(128);for(let e=0;e<64;e++){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e);Px[e]=t,Tx[t]=e}Object.prototype.toString,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,wu(),wu(),Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Ax=["type1","type2"];function Cx(e,t){var r=e;return"type2"!==t.mappingType||e.includes("defineEmits")||e.includes("data-pg-id")||(r="".concat(r,"\n//@ts-ignore\ndefineEmits(['data-pg-id']);")),"type1"!==t.mappingType||e.includes("usePinegrow()")||(r="import { usePinegrow } from '@pinegrow/vite-plugin/vue'\n".concat(r),r="".concat(r,"\nconst { pgUpdateElCache } = usePinegrow()")),r}var kx,Ox=function(e){return{name:"vue-sfc",isEnabled:function(){return function(e){return!!e&&(!e.mappingType||Ax.includes(e.mappingType))}(e)},isSource:function(e){return function(e){return function(e){return/\.vue$/.test(e)&&!e.includes("node_modules")&&!e.includes(".nuxt")}(e)}(e)},transform:function(t,r){return function(e,t,r){var s,n,o,a=d.normalize(t),c=function(e,{sourceMap:t=!0,filename:r="anonymous.vue",sourceRoot:s="",pad:n=!1,ignoreEmpty:i=!0,compiler:o=ru}={}){const a=e+t+r+s+n+o.parse,c=Iu.get(a);if(c)return c;const l={filename:r,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:e=>function(e,t){if(!t.scriptSetup||"ts"!==t.scriptSetup.lang&&"tsx"!==t.scriptSetup.lang)return!1;for(const s in e)if(!e[s].isUsedInTemplate&&(r=t,new RegExp(`[^\\w$_]${s.replace(/\$/g,"\\$")}[^\\w$_]`).test(function(e){const{content:t,ast:r}=e.template,s=Su.get(t);if(s)return s;let n="";return ta(xr([r]),{nodeTransforms:[e=>{if(1===e.type){Il.isNativeTag(e.tag)||Il.isBuiltInComponent(e.tag)||(n+=`,${tt(e.tag)},${nt(tt(e.tag))}`);for(let t=0;t<e.props.length;t++){const r=e.props[t];7===r.type&&(Qe(r.name)||(n+=`,v${nt(tt(r.name))}`),r.exp&&(n+=`,${_u(r.exp.content,r.name)}`))}}else 5===e.type&&(n+=`,${_u(e.content.content)}`)}]}),n+=";",Su.set(t,n),n}(r))))return!0;var r;return!1}(e,l)},u=[];if(o.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&&(!i||"template"===t.tag||!function(e){for(let t=0;t<e.children.length;t++){const r=e.children[t];if(2!==r.type||""!==r.content.trim())return!1}return!0}(t)||function(e){return e.props.some((e=>6===e.type&&"src"===e.name))}(t)))switch(t.tag){case"template":if(l.template)u.push(Ru(t));else{const r=l.template=Lu(t,e,!1);if(r.ast=t,r.attrs.functional){const e=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");e.loc=t.props.find((e=>"functional"===e.name)).loc,u.push(e)}}break;case"script":const r=Lu(t,e,n),s=!!r.attrs.setup;if(s&&!l.scriptSetup){l.scriptSetup=r;break}if(!s&&!l.script){l.script=r;break}u.push(Ru(t,s));break;case"style":const i=Lu(t,e,n);i.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(i);break;default:l.customBlocks.push(Lu(t,e,n))}})),l.template||l.script||l.scriptSetup||u.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),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){const t=t=>{t&&!t.src&&(t.map=function(e,t,r,s,n){const i=new za({file:e.replace(/\\/g,"/"),sourceRoot:s.replace(/\\/g,"/")});return i.setSourceContent(e,t),r.split(Du).forEach(((t,r)=>{if(!Mu.test(t)){const s=r+1+n,o=r+1;for(let r=0;r<t.length;r++)/\s/.test(t[r])||i.addMapping({source:e,original:{line:s,column:r},generated:{line:o,column:r}})}})),JSON.parse(i.toString())}(r,e,t.content,s,n&&"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){const t=[];return e.styles.forEach((e=>{let r;const s=e.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;r=bu.exec(s);){const e=r.index+r[0].length,n=xu(s,e);if(null!==n){const r=vu(s.slice(e,n));t.includes(r)||t.push(r)}}})),t}(l);const h=/(?:::v-|:)slotted\(/;l.slotted=l.styles.some((e=>e.scoped&&h.test(e.content)));const p={descriptor:l,errors:u};return Iu.set(a,p),p}(e,{filename:a,ignoreEmpty:!1}).descriptor;if(c.script&&(s=c.script.lang),c.scriptSetup&&(s=null===(o=c.scriptSetup)||void 0===o||null===(o=o.attrs)||void 0===o?void 0:o.lang),c.scriptSetup)c.scriptSetup.content=Cx(c.scriptSetup.content,r);else{if(c.script&&(c.script.content.includes("defineComponent")||c.script.content.includes("setup")&&c.script.content.includes("export default")))return;c.scriptSetup={type:"script",attrs:{setup:!0},content:Cx("",r),loc:{start:{line:0}}},s&&(c.scriptSetup.attrs.lang=s)}var l=function(e){return function(e){var t=[];return Object.entries(e).forEach((function(e){var r=i(e,2),s=r[0],n=r[1];if(n){var o=function(e){return{type:e.type,attrs:e.attrs,content:e.content,startLine:e.loc.start.line}};["template","script","scriptSetup","styles","customBlocks"].includes(s)&&("styles"===s||"customBlocks"===s?n.forEach((function(e){return t.push(o(e))})):t.push(o(n)))}})),t.sort((function(e,t){return e.startLine-t.startLine}))}(e).reduce((function(e,t){var r=t.type,s=t.attrs,n=void 0===s?{}:s,o=t.content,a=Object.entries(n).reduce((function(e,t){var r=i(t,2),s=r[0],n=r[1];if(!1===n)return e;var o=s;return!0!==n&&(o="".concat(o,'="').concat(n,'"')),"".concat(e?"".concat(e," ").concat(o):o)}),""),c="<".concat(r).concat(a?" ".concat(a):"",">\n").concat(o,"\n</").concat(r,">");return"".concat(e?"".concat(e,"\n").concat(c):c)}),"")}(c);if(l){var u=new I(l);return(n=u.generateMap()).file=a,{code:u.toString(),map:n}}}(t,r,e)}}};function Nx(e,t){var r="RegExp"===e.constructor.name;return{regex:r,find:r?{flags:e.flags,source:e.source}:e,replacement:t}}function Ix(e,t){return f(new Set([].concat(f(e),f(t))))}function Rx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Lx(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?Rx(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Rx(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}function Dx(e,t,r){var s=e[t].currentSnapshot,n=e[t].newerSnapshot;return"acked"===n.status&&("processed"!==s.status&&n.liveMtimeMs===s.liveMtimeMs||"processed"===s.status&&n.liveMtimeMs>s.liveMtimeMs)&&(e[t].currentSnapshot=Lx({},n),(s=e[t].currentSnapshot).status="triggered",r.emit("change",t),!0)}function Mx(t,r){return(kx=kx||e(n.mark((function t(r,s){var i,o,a,c,l,u,h;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!s.type||"update"===s.type){t.next=2;break}return t.abrupt("return");case 2:if(i=s.file,o=s.timestamp,a=d.normalize(i),r.pageInstances[a]){t.next=6;break}return t.abrupt("return");case 6:c=r.pageInstances[a].currentSnapshot,r.processedCounter++,(l=c.withPgIds||"")&&(s.read=function(t){return(u=u||e(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l);case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}),c.status="processed",r.socket&&(null===(h=r.socket)||void 0===h||h.emit("progress_currentPageSnapshot",Lx(Lx({},c),{},{timestamp:o})));case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function jx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Fx(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?jx(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):jx(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}function Bx(e,t,r){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return"".concat(e,"://").concat(t.name,":").concat(r).concat(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("_nuxt")||e.startsWith("_")||e.startsWith("/_")}(s)?"":s)}function Ux(e,t,r){var s,n,i,o=Fx({},e),a=r.config.server,c={host:i=void 0===(n=a.host)||!1===n||"localhost"===n?"127.0.0.1":!0===n?void 0:n,name:"127.0.0.1"!==n&&"127.0.0.1"===i||"0.0.0.0"===i||"::"===i||void 0===i?"localhost":i},l=a.https?"https":"http",u=r.config.base,h=t.address().port;return o.dev_server_url||(o.dev_server_url=Bx(l,c,h,u)),h=(null===(s=r.config.server)||void 0===s||null===(s=s.hmr)||void 0===s?void 0:s.port)||h,o.ws_server_url||(o.ws_server_url=Bx(l,c,h,u)),o}function $x(e){return{all_urls:e.all_urls,dev_server_url:e.dev_server_url,network_dev_server_url:e.network_dev_server_url,ws_server_url:e.ws_server_url}}function qx(e,t){return e.all_urls=t.all_urls,e.dev_server_url=t.dev_server_url,e.network_dev_server_url=t.network_dev_server_url,e.ws_server_url=t.ws_server_url,$x(e)}function Hx(e,t,r,s){var n=function(e,t,r,s){return s?s.getURLs().then((function(s){return Ux(function(e,t){var r=Fx(Fx({},e),{},{all_urls:t});return t.forEach((function(e){var t=new URL(e.url);!r.dev_server_url&&"".concat(t.port).startsWith("3")&&(r.dev_server_url=e.url),!r.ws_server_url&&"".concat(t.port).startsWith("3")&&(r.ws_server_url=e.url),r.network_dev_server_url||"network"!==e.type||(r.network_dev_server_url=e.url)})),r}(e,s),t,r)})).catch((function(){return Ux(e,t,r)})):Ux(e,t,r)}($x(e),t,r,s);return null!=n&&n.then?n.then((function(t){return qx(e,t)})):qx(e,n)}function Wx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Vx(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?Wx(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Wx(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var zx=function(r){l(g,r);var s,p,m=(s=g,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(s);if(p){var r=h(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function g(r){var s,o,l,u,h;return a(this,g),h=m.call(this,r),t(c(h),"clearPageInstances",(function(){})),t(c(h),"_disconnectWithPinegrow",(function(){h.clearPageInstances()})),t(c(h),"_socketOnConnect",(function(){process.env.pinegrow_url=h.pinegrow_url,h.clearPageInstances()})),t(c(h),"_socketOnDisconnect",(function(){h.clearPageInstances()})),t(c(h),"_connectionManager",(function(){h.socket.on("on_project_loaded",h.onProjectLoaded),h.socket.on("on_all_pages_in_project_closed",h.onAllPagesInProjectClosed),h.socket.on("emitted_currentPageSnapshot",h.processNewSnapshot)})),t(c(h),"onProjectLoaded",(function(e){if(e){var t=e.lastRestartActionTimeStamp,r=e.fileNamesThatRestartDevServerLastFileHash;t&&!h.lastRestartActionTimeStamp&&(h.lastRestartActionTimeStamp=t),r&&!Object.keys(h.fileNamesThatRestartDevServerLastFileHash).length&&(h.fileNamesThatRestartDevServerLastFileHash=r)}Object.entries(h.pageInstances).forEach((function(e){var t=i(e,2),r=(t[0],t[1]);h.processNewSnapshot(Vx(Vx({},r.newerSnapshot),{},{status:"emitted",pageEvent:"on_project_loaded",userAction:"delete",liveMtimeMs:(new Date).getTime(),withPgIds:null}))}))})),t(c(h),"onAllPagesInProjectClosed",(function(){h.blockDPTriggeredRestarts=!0})),t(c(h),"processNewSnapshot",(function(e){!function(e,t){var r,s=function(e,t){var r=t.localFile;return e[r]?e[r].newerSnapshot.liveMtimeMs<t.liveMtimeMs?(e[r].newerSnapshot=t,e[r].newerSnapshot.status="acked",{localFile:r,progressSnapshot:e[r].newerSnapshot,shouldTriggerWatcher:!0}):e[r].newerSnapshot.liveMtimeMs>=t.liveMtimeMs?{localFile:r,progressSnapshot:e[r].currentSnapshot,shouldTriggerWatcher:!1}:void 0:(t.status="acked",e[r]={newerSnapshot:Lx({},t),currentSnapshot:Lx({},t)},{localFile:r,shouldTriggerWatcher:!0})}(e.pageInstances,t);null!=s&&s.progressSnapshot&&(null===(r=e.socket)||void 0===r||r.emit("progress_currentPageSnapshot",s.progressSnapshot)),null!=s&&s.shouldTriggerWatcher&&Dx(e.pageInstances,s.localFile,e.viteDevServer.watcher)}(c(h),e)})),t(c(h),"triggerWatcherEvent",(function(e){return Dx(h.pageInstances,e,h.viteDevServer.watcher)})),t(c(h),"extendConfig",(function(e){var t,r,s,n;h.nuxtInstance=e,e.options.ignore=(t=h.globsNotToWatchByDevServer,r=h.pluginFilesNotToBeWatchedByDevServer,s=e.options.ignore,n=Ix(t,r),Array.isArray(s)?n=f(new Set([].concat(f(n),f(s)))):"string"==typeof s&&(n=[].concat(f(n),[s])),n)})),t(c(h),"config",(function(e,t){t.command;var r,s,n,o,a,c,l=t.mode;if(null!==(r=e.resolve)&&void 0!==r&&r.alias)try{h.aliases=(s=e.resolve.alias,Array.isArray(s)?Object.values(s).map((function(e){return Nx(e.find,e.replacement)})):Object.entries(s).map((function(e){var t=i(e,2);return Nx(t[0],t[1])})))}catch(t){console.log("Pinegrow: Unable to process aliases. Are they configured correctly?"),console.log(e.resolve.alias)}"production"!==l&&h.init(),e.server.watch=e.server.watch||{},e.server.watch.ignored=e.server.watch.ignored||[],e.server.watch.ignored=(n=h.globsNotToWatchByDevServer,o=h.pluginFilesNotToBeWatchedByDevServer,a=e.server.watch.ignored,c=Ix(n,o),Array.isArray(a)?f(new Set([].concat(f(c),f(a)))):[].concat(f(c),[a]))})),t(c(h),"configResolved",(function(t){return(s=s||e(n.mark((function e(t){var r;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t&&null!==(r=t.resolve)&&void 0!==r&&r.alias)try{h.aliases=t.resolve.alias.map((function(e){return Nx(e.find,e.replacement)})).filter((function(e){return!["assets","public"].includes(e.find)}))}catch(e){console.log("Pinegrow: Unable to process resolved aliases. Are they configured correctly?"),console.log(t.resolve.alias)}case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)})),t(c(h),"configureServer",(function(t){return(o=o||e(n.mark((function e(t){var r,s;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!h.customOptions.listenerServer||!t.httpServer){e.next=2;break}return e.abrupt("return");case 2:h.viteDevServer=t,h.processConfigPath(),h.initHandShakeWithPinegrow(),r=function(e,t){Hx(c(h),e,h.viteDevServer,t)};try{if(s=c(h),h.customOptions.devServerUrls&&(h.customOptions.devServerUrls.local||h.customOptions.devServerUrls.network||h.customOptions.devServerUrls.hmr))try{qx(c(h),(n=$x(c(h)),i=h.customOptions.devServerUrls,o=void 0,o=Fx({},n),null!=i&&i.local&&(o.dev_server_url=new URL(i.local).href),null!=i&&i.network&&(o.network_dev_server_url=new URL(i.network).href),null!=i&&i.hmr&&(o.ws_server_url=new URL(i.hmr).href),o)),h.dev_server_url&&h.network_dev_server_url&&h.ws_server_url&&s.sendDevServerUrl()}catch(e){console.log(e),console.log("Pinegrow: Unable to process devServerUrls. Are they correct?"),console.log(h.customOptions.devServerUrls)}!h.customOptions.listenerServer&&h.viteDevServer&&h.viteDevServer.httpServer?h.viteDevServer.httpServer.on("listening",(function(){r(s.viteDevServer.httpServer),s.sendDevServerUrl()})):h.customOptions.listenerServer&&h.viteDevServer&&(r(h.customOptions.listenerServer,h.customOptions.listener),h.sendDevServerUrl())}catch(e){}case 7:case"end":return e.stop()}var n,i,o}),e)})))).apply(this,arguments)})),t(c(h),"handleHotUpdate",(function(t){return(l=l||e(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Mx(c(h),t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)})),t(c(h),"hotUpdate",(function(t){return(u=u||e(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Mx(c(h),t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)})),t(c(h),"load",(function(e,t){var r=h.parseQueryString(e),s=r.filename,n=r.query,i=d.normalize(s);return function(e,t,r){if(!function(e,t,r){return!e[t]||r&&(r.type||r.clientScript||r.scriptClient||r["script-client"]||r["client-script"])}(e,t,r)){var s=e[t].currentSnapshot;return s&&s.withPgIds?s.withPgIds:null}}(h.pageInstances,i,n)})),t(c(h),"transform",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(h.pinegrow_url)return function(e,t,r){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return[Ox(e),De(e)]}(r),n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=function(e){return e.filter((function(e){return e.isEnabled()}))}(s);if(i.length){var o=i.find((function(e){return e.isSource(t)}));return o?n.ssr&&!o.transformSsr?null:o.transform(e,t):null}}(e,t,h.customOptions,void 0,r)})),h.name="pinegrow:live-designer",h.apply="serve",h.enforce="pre",h.pageInstances={},h}return o(g)}(p.PgDevConnector);function Gx(e){var t=new zx(e);return t.dev_server=!0,function(e){return{name:e.name,apply:e.apply,enforce:e.enforce,config:e.config,extendConfig:e.extendConfig,configResolved:e.configResolved,configureServer:e.configureServer,load:e.load,transform:e.transform,transformIndexHtml:e.transformIndexHtml,handleHotUpdate:e.handleHotUpdate,hotUpdate:e.hotUpdate}}(t)}var Kx="astro:build",Yx=function(e){var t,r=(null==e||null===(t=e.config)||void 0===t?void 0:t.plugins)||[],s=r.findIndex((function(e){return"pinegrow:live-designer"===(null==e?void 0:e.name)})),n=r.findIndex((function(e){return(null==e?void 0:e.name)===Kx}));if(!(-1===s||-1===n||s<n)){var o=r.splice(s,1),a=i(o,1)[0],c=r.findIndex((function(e){return(null==e?void 0:e.name)===Kx}));r.splice(-1===c?r.length:c,0,a)}};function Jx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}var Xx=function(e){return Gx(function(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?Jx(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Jx(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}({},(null==e?void 0:e.liveDesigner)||{}))};function Qx(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"@pinegrow/vite-plugin/astro",hooks:{"astro:config:setup":function(s){return(t=t||e(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,t.updateConfig)({vite:{plugins:[Xx(r)]}});case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)},"astro:server:setup":function(e){var t=e.server;Yx(t)}}}}const Zx=Qx})(),module.exports=s})();