eslint-plugin-sukka 4.0.0-beta.11 → 4.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,3 +1,15 @@
1
- import*as e from"node:path";import*as r from"node:fs";function t(e,r){if("string"==typeof r){let e=r;r=r=>r.type===e}for(;e;){if(r(e))return e;e=e.parent}}function u(e){return e?.type==="Identifier"||e?.type==="PrivateIdentifier"}function n(e){return e?.type==="MemberExpression"}function a(e){return e?.type==="AwaitExpression"}function i(e,r){return!!u(e)&&("function"==typeof r?r(e.name):Array.isArray(r)?r.includes(e.name):e.name===r)}function o(e,r){return e?.type==="Literal"&&(Array.isArray(r)?r.includes(e.value):"string"==typeof e.value&&r instanceof RegExp?r.test(e.value):e.value===r)}function d(e){return!!e&&["ArrowFunctionExpression","FunctionDeclaration","FunctionExpression"].includes(e.type)}function s(e,r){return e?.type==="Identifier"&&r?.type===e.type&&e.name===r.name}function c({name:e,meta:r,create:t,resolveOptions:u}){return r?.docs&&(r.docs.url??=new URL(e,"https://dimensiondev.github.io/eslint-plugin/src/rules/").toString()),Object.freeze({name:e,meta:r,create(e){let r=u?.(...e.options)??e.options[0],n=Object.entries(t(e,r));return Object.fromEntries(n.filter(e=>e[1]))}})}function f(e){if(!e?.program)throw Error("see https://typescript-eslint.io/docs/linting/type-linting")}var l,p,g,h,y,m,b,v,A,D=c({name:"array/no-unneeded-flat-map",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow `Array#flatMap((x) => x)` when simpler alternatives exist",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple `Array#flatMap()` in array"}},create:e=>({CallExpression(r){var t;if("MemberExpression"!==r.callee.type)return;let u=i(r.callee.property,"flatMap");if(!u||!(d(t=r.arguments[0])&&1===t.params.length&&"Identifier"===t.params[0].type&&t.body&&(s(t.params[0],t.body)||"BlockStatement"===t.body.type&&1===t.body.body.length&&"ReturnStatement"===t.body.body[0].type&&s(t.params[0],t.body.body[0].argument))))return;let{property:n}=r.callee;e.report({node:r,messageId:"invalid",*fix(e){yield e.replaceText(n,"flat"),yield*r.arguments.map(r=>e.remove(r))}})}})});let x=new Set(["href","pathname","search","hash","origin"]);var E=c({name:"browser/prefer-location-assign",meta:{type:"suggestion",fixable:"code",docs:{description:"Prefer `location.assign(...)` over `location.*`",recommended:"stylistic"},schema:[],messages:{instead:"Use `location.assign(...)` instead of `location.{{name}}`"}},create(e){let r=e.getSourceCode();return{AssignmentExpression(t){let u=function(e,r){if(i(e,r))return e;for(;n(e);){if(i(e.property,r))return e;e=e.object}}(t.left,"location");if(!u)return;let a=C(u.parent);e.report({node:t,messageId:"instead",data:{name:a},fix:function(e,r,t){let u=C(r.parent);if(x.has(u??"href"))return u=>u.replaceText(t,`${e.getText(r)}.assign(${e.getText(t.right)})`)}(r,u,t)})}}}});function C(e){if(n(e)&&u(e.property))return e.property.name}var _=c({name:"jsx/no-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow use template-literal in JSX",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow use template-literal in JSX"}},create:e=>({JSXExpressionContainer(r){if("TemplateLiteral"!==r.expression.type||r.parent?.type==="JSXAttribute")return;let{expression:t}=r;e.report({node:r,messageId:"invalid",fix(u){let n=[...t.expressions,...t.quasis];n.sort((e,r)=>e.range[0]-r.range[0]);let a=e.getSourceCode(),i=n.map(e=>"TemplateElement"===e.type?e.value.cooked:"{"+a.getText(e)+"}");return u.replaceText(r,i.join(""))}})}})}),S=c({name:"jsx/no-unneeded-nested",meta:{type:"suggestion",fixable:"code",docs:{description:"Reduce unneeded JSXFragment nested",recommended:"stylistic"},schema:[],messages:{invalid:"Reduce unneeded JSXFragment nested"}},create(e){let r=e.getSourceCode();return{JSXFragment(t){if(1!==t.children.length)return;let u=t.children[0];e.report({node:t,messageId:"invalid",*fix(e){"JSXExpressionContainer"===u.type?"JSXEmptyExpression"!==u.expression.type&&(yield e.replaceText(t,r.getText(u.expression))):yield e.replaceText(t,r.getText(u))}})}}}});let w=/^toLocale(?<name>Upper|Lower)Case$/g;var F=c({name:"string/no-locale-case",meta:{type:"problem",fixable:"code",docs:{description:"Disallow use `String#toLocale{Upper,Lower}Case()`",recommended:"recommended"},schema:[],messages:{instead:"Use `.to{{name}}Case(...)` instead of `.toLocale{{name}}Case()`"}},create:e=>({CallExpression(r){if(r.arguments.length>0||!n(r.callee)||!u(r.callee.property))return;let{property:t}=r.callee,a=w.exec(t.name);a&&e.report({node:r,data:{name:a.groups?.name},messageId:"instead",fix:e=>e.replaceText(t,t.name.replaceAll("Locale",""))})}})});function k(e){return JSON.stringify(e)}var T=c({name:"string/no-simple-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow simple template-literal",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple template-literal"}},create(e){let r=e.getSourceCode();return{TemplateLiteral(u){let n=u.parent?.type!=="TaggedTemplateExpression"&&1===u.quasis.length&&!function({loc:e}){return!!e&&e.start.line!==e.end.line}(u.quasis[0])&&0===u.expressions.length?e=>{let n=k(u.quasis[0].value.cooked),a=t(u,e=>"Property"===e.type&&e.key===u);return a?e.replaceText(a,`${n}: ${r.getText(a.value)}`):e.replaceText(u,n)}:2===u.quasis.length&&u.quasis.every(({value:e})=>""===e.cooked)&&1===u.expressions.length?e=>e.replaceText(u,r.getText(u.expressions[0])):void 0;n&&e.report({node:u,messageId:"invalid",fix:n})}}}});let P=["BigInt","Boolean","Function","Number","Object","String","Symbol","Array"];var B=c({name:"type/no-instanceof-wrapper",meta:{type:"problem",fixable:"code",docs:{description:"Disallow `instanceof` for wrapper objects",recommended:"recommended"},schema:[],messages:{primitive:'Unexpected `instanceof` operator. Use `typeof x === "{{typeName}}"` instead',array:"Unexpected `instanceof` operator. Use `Array.isArray` instead"},replacedBy:["unicorn/no-instanceof-array"]},create(e){let r=e.getSourceCode(),t=e.getScope(),u=P.flatMap(e=>{let r=t.set.get(e);return!r||r.defs.length>0?[]:r.references??[]});return{Program(){for(let{identifier:t}of u){let u=t.parent;if(u?.type==="BinaryExpression"&&"instanceof"===u.operator&&u.right===t){if("Array"===t.name)e.report({node:u,messageId:"array",fix:e=>e.replaceText(u,`Array.isArray(${r.getText(u.left)})`)});else{let n=t.name.toLowerCase();e.report({node:u,messageId:"primitive",data:{typeName:n},fix:e=>e.replaceText(u,`typeof ${r.getText(u.left)} === ${k(n)}`)})}}}}}}});let I=/\P{ASCII}/u;function j(e,r){return{Program(t){for(let u of t.tokens??[]){let t=function(e){switch(e.type){case"String":case"Template":return e.value.slice(1,-1);case"Identifier":if(e.value.startsWith("#"))return e.value.slice(1);return e.value;case"RegularExpression":return e.regex.pattern;case"JSXText":case"JSXIdentifier":return e.value}return!1}(u);!1!==t&&e.test(t)&&r(u,"code")}for(let u of t.comments??[])e.test(u.value)&&r(u,"comment")}}}function O(e,r){switch(e.type){case"String":case"Template":return t=>{let u=e.value.slice(0,1),n=e.value.slice(-1),a=R(e.value.slice(1,-1),r);return t.replaceText(e,`${u}${a}${n}`)};case"JSXText":return t=>{let u=e.value.replace(r,e=>`&#x${N(e.codePointAt(0))};`);return t.replaceText(e,u)};case"RegularExpression":return t=>{let u=new Set(e.regex.flags);u.add("u");let n=new RegExp(R(e.regex.pattern,r),[...u].join(""));return t.replaceText(e,n.toString())}}}function R(e,r){return e.replace(r,e=>{let r=e.codePointAt(0);return r>65535?`\\u{${N(r)}}`:`\\u${N(r)}`})}function N(e){return e.toString(16).padStart(4,"0").toUpperCase()}c({name:"unicode/specific-set",meta:{type:"problem",fixable:"code",docs:{description:"Limit the range of literal characters"},schema:[{type:"object",properties:{pattern:{type:"string"},flags:{type:"string"},only:{type:"string",enum:["code","comment"]}},additionalProperties:!1}],messages:{illegal:"Illegal character detected"}},resolveOptions(e){let r=e?.pattern?new RegExp(e.pattern,e.flags??"u"):I;return{pattern:r,only:e?.only}},create:(e,{pattern:r,only:t})=>j(r,(u,n)=>{if(t&&t!==n)return;let a=RegExp(r.source,"gu"),i=O(u,a);e.report({node:u,messageId:"illegal",fix:i})})});let L=/[\u061C\u202A-\u202E\u2066-\u2069]/;var M=c({name:"unicode/no-bidi",meta:{type:"problem",fixable:"code",docs:{description:"Detect and stop Trojan Source attacks",recommended:"recommended"},schema:[],messages:{detected:"Detected potential trojan source attack with unicode bidi introduced in this {{kind}}: {{text}}."}},create:e=>j(L,(r,t)=>{let u=RegExp(L.source,"gu"),n={kind:t,text:R(r.value,u)},a=O(r,u);e.report({node:r,data:n,messageId:"detected",fix:a})})});let $=function(){let e=[/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u].map(e=>"string"==typeof e?e:e.source).join("");return RegExp(`[${e}]`,"u")}(/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u);var z=c({name:"unicode/no-invisible",meta:{type:"problem",fixable:"code",docs:{description:"Disallow invisible characters",recommended:"recommended"},schema:[],messages:{illegal:"Illegal character detected"}},create:e=>j($,r=>{let t=RegExp($.source,"gu"),u=O(r,t);e.report({node:r,messageId:"illegal",fix:u})})}),U=c({name:"no-redundant-variable",meta:{type:"problem",fixable:"code",docs:{description:"Disallow redundant variable",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Redundant Variable"}},create:e=>({BlockStatement({body:r}){var u;let n=r.find(W);if(!n)return;let i=r[r.indexOf(n)-1];i&&"VariableDeclaration"===i.type&&1===i.declarations.length&&i.declarations.some(({init:e,id:r})=>null!==e&&s(n.argument,r))&&e.report({node:n,messageId:"invalid",fix:(u=e.getSourceCode(),e=>{let{init:r,id:o}=i.declarations[0];if(!(r&&o&&n.argument))return null;let d=!a(r)||t(r,"TryStatement")?r:r.argument,s=(e=>{if(!o.typeAnnotation)return e;let t=u.getText(o.typeAnnotation.typeAnnotation);return`(${e}) as ${a(r)?`Promise<${t}>`:t}`})(u.getText(d));return[e.remove(i),e.replaceText(n.argument,s)]})})}})});function W(e){return"ReturnStatement"===e.type&&u(e.argument)}var q=c({name:"no-single-return",meta:{type:"suggestion",docs:{description:"Disallow single-return",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Single Return"}},create:e=>({BlockStatement({parent:r,body:t}){if(!d(r))return;let u=function(e,r){let t=r.find(Z);if(!t)return;let u=r.find(e=>"VariableDeclaration"===e.type&&"const"!==e.kind&&e.declarations.some(({id:e})=>s(t.argument,e)));if(u)return e.getDeclaredVariables(u).find(({references:e})=>e.every(e=>e.isWriteOnly()||e.identifier.parent===t))}(e,t);for(let{identifier:r}of u?.references??[])r.parent&&e.report({node:r.parent,messageId:"invalid"})}})});function Z(e){return"ReturnStatement"===e.type&&u(e.argument)}var V=c({name:"prefer-early-return",meta:{type:"problem",fixable:"code",docs:{description:"Prefer early returns over full-body conditional wrapping in function declarations",recommended:"stylistic"},schema:[{type:"object",properties:{maximumStatements:{type:"integer",minimum:0}},additionalProperties:!1}],messages:{prefer:"Prefer an early return to a conditionally-wrapped function body"}},resolveOptions:e=>e?.maximumStatements??1,create:(e,r)=>({BlockStatement:function({body:t,parent:u}){var n;if(!d(u))return;let a=1===t.length&&function(e,r){if(!("IfStatement"===e.type&&null===e.alternate))return!1;let{consequent:t}=e;return"ExpressionStatement"===t.type&&0===r||"BlockStatement"===t.type&&t.body.length>r}(t[0],r);if(!a)return;let i=(n=t[0],function*(r){var t;if("IfStatement"!==n.type)return;let u=e.getSourceCode(),{test:a,consequent:i}=n;yield r.insertTextBefore(a,"!("),yield r.insertTextAfter(a,")"),yield r.replaceText(i,"return;");let o=(t=u.getText(i),"BlockStatement"===i.type?t.slice(1,-1):t);yield r.insertTextAfter(n,o)});e.report({node:t[0],messageId:"prefer",fix:i})}})}),G=c({name:"prefer-fetch",meta:{type:"problem",docs:{description:"Enforce fetch",recommended:"stylistic"},schema:[],messages:{callee:"Should use 'fetch' instead"}},create:e=>({ImportDeclaration(r){let t=r.source.value;("axios"===t||"request"===t)&&e.report({node:r,messageId:"callee"})},NewExpression(r){let t=function({callee:e}){return i(e,"XMLHttpRequest")}(r)||i(r.callee,"ActiveXObject")&&o(r.arguments[0],/xmlhttp/i);t&&e.report({node:r,messageId:"callee"})},CallExpression(r){let t=function({callee:e}){let r="$http";return i(e,r)||n(e)&&i(e.object,r)}(r)||function({callee:e,parent:r}){let t=["$","jQuery"];return i(e,t)&&n(r)&&i(r.property,"load")||n(e)&&i(e.object,t)&&i(e.property,["ajax","get","post","getJSON","getScript"])}(r)||H(r,"axios")||H(r,"request");t&&e.report({node:r,messageId:"callee"})}})});function H(e,r){return i(e.callee,"require")&&o(e.arguments[0],r)}let K=new Set(["setTimeout","setInterval","requestAnimationFrame","requestIdleCallback"]);var X=c({name:"prefer-timer-id",meta:{type:"problem",docs:{description:"Enforce best practice with timer function",recommended:"recommended"},schema:[],messages:{assign:"Timer id should assign to an identifier or member for cleaning up, `const timer = {{name}}(...);`",fix:"Assign timer id to a variable"},hasSuggestions:!0},create:e=>({CallExpression(r){if("Identifier"!==r.callee.type)return;let t=!K.has(r.callee.name)||function(e){if(!i(e.callee,"setTimeout"))return!1;let r=e.arguments[1];return!r||o(r,0)}(r)||r.parent?.type==="AssignmentExpression"&&r.parent.right===r||r.parent?.type==="VariableDeclarator"&&r.parent.init===r;t||e.report({node:r,messageId:"assign",data:{name:r.callee.name},suggest:[{messageId:"fix",fix:e=>e.insertTextBefore(r,"const timer = ")}]})}})}),J=c({name:"string/no-unneeded-to-string",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow `String#toString()` when simpler alternatives exist",recommended:"stylistic",requiresTypeChecking:!0},schema:[],messages:{invalid:"Disallow use `.toString()` in string"}},create(e){f(e.parserServices);let{program:r,esTreeNodeToTSNodeMap:t}=e.parserServices,u=r.getTypeChecker();return{CallExpression(r){if("MemberExpression"!==r.callee.type)return;let{object:n,property:a}=r.callee;(i(a,"toString")||o(a,"toString"))&&function(e,r){let t=e.getTypeAtLocation(r);if(t.isStringLiteral()||"string"===e.typeToString(t))return!0;let u=t.getSymbol();return u&&"String"===e.symbolToString(u)}(u,t.get(n))&&e.report({node:a,messageId:"invalid",fix(t){let u=e.getSourceCode();return t.replaceText(r,u.getText(n))}})}}}}),Q=c({name:"type/no-force-cast-via-top-type",meta:{type:"problem",docs:{description:"Disallowing cast a type `T` to unrelated or incompatible type `Q` via `T as any as Q`",recommended:"recommended"},schema:[],messages:{invalid:"Don't cast this expression to another type by `as {{type}} as T`"}},create:e=>({TSAsExpression(r){var t,u;if(!("TSAnyKeyword"===(t=r.typeAnnotation).type||"TSUnknownKeyword"===t.type)||!((u=r.parent)&&"TSAsExpression"===u.type&&"TSTypeReference"===u.typeAnnotation.type))return;let n="TSAnyKeyword"===r.typeAnnotation.type?"any":"unknown";e.report({node:r,messageId:"invalid",data:{type:n}})}})});let Y=new Set(["BigInt","Boolean","Number","String","Symbol"]);var ee=c({name:"type/no-wrapper-type-reference",meta:{type:"problem",fixable:"code",docs:{description:"Disallow wrapper type for type reference",recommended:"recommended"},schema:[],messages:{instead:"Use {{name}} instead"}},create:e=>({TSTypeReference(r){if("Identifier"!==r.typeName.type||!Y.has(r.typeName.name))return;let t=r.typeName.name.toLowerCase();e.report({node:r,messageId:"instead",data:{name:t},fix:e=>e.replaceText(r.typeName,t)})}})}),er=c({name:"no-default-error",meta:{type:"problem",docs:{description:"Restrict the usage of default (unextended) error",recommended:"strict",requiresTypeChecking:!0},schema:[],messages:{invalid:"Default error object should not be used in this project"}},create(e){f(e.parserServices);let{esTreeNodeToTSNodeMap:r,program:t}=e.parserServices,u=t.getTypeChecker();function n(t){"ErrorConstructor"===function(e,r){let t=e.getTypeAtLocation(r).getSymbol();if(!t?.valueDeclaration)return;let u=e.getTypeOfSymbolAtLocation(t,t.valueDeclaration);return e.typeToString(u)}(u,r.get(t))&&e.report({node:t,messageId:"invalid"})}return{ThrowStatement(e){e.argument&&n(e.argument)},NewExpression:n,CallExpression:n}}});function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function eu(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:function(){return e[r]}})}),t}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var en=eu(e),ea=e=>{let r=en.basename(e,".js");return`https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/${r}.md`},ei=et(ea);let eo={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},ed=Object.keys(eo);for(let e of ed)Object.freeze(eo[e]);Object.freeze(eo);let es=new Set(["parent","leadingComments","trailingComments"]);function ec(e){return!es.has(e)&&"_"!==e[0]}function ef(e,r){let t=r.range[0],u=e,n=!1;do for(let e of(n=!1,u.childScopes)){let r=e.block.range;if(r[0]<=t&&t<r[1]){u=e,n=!0;break}}while(n);return u}function el(e,r){let t="",u=e;for("string"==typeof r?t=r:(t=r.name,u=ef(u,r));null!=u;){let e=u.set.get(t);if(null!=e)return e;u=u.upper}return null}function ep(e){return!this(e)}function eg(e){return ep.bind(e)}function eh(e,r){return"Punctuator"===e.type&&e.value===r}function ey(e){return eh(e,"=>")}function em(e){return eh(e,",")}function eb(e){return eh(e,";")}function ev(e){return eh(e,":")}function eA(e){return eh(e,"(")}function eD(e){return eh(e,")")}function ex(e){return eh(e,"[")}function eE(e){return eh(e,"]")}function eC(e){return eh(e,"{")}function e_(e){return eh(e,"}")}function eS(e){return["Block","Line","Shebang"].includes(e.type)}let ew=eg(ey),eF=eg(em),ek=eg(eb),eT=eg(ev),eP=eg(eA),eB=eg(eD),eI=eg(ex),ej=eg(eE),eO=eg(eC),eR=eg(e_),eN=eg(eS);function eL(e,r){let t=e.parent,u=null,n=null;if("ArrowFunctionExpression"===e.type){let t=r.getTokenBefore(e.body,ey);u=t.loc.start,n=t.loc.end}else u="Property"===t.type||"MethodDefinition"===t.type||"PropertyDefinition"===t.type?t.loc.start:e.loc.start,n=(e.id?r.getTokenAfter(e.id,eA):r.getFirstToken(e,eA)).loc.start;return{start:{...u},end:{...n}}}let eM="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},e$=Object.freeze(new Set(["Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","isFinite","isNaN","isPrototypeOf","JSON","Map","Math","NaN","Number","Object","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","String","Symbol","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","undefined","unescape","WeakMap","WeakSet"])),ez=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,"function"==typeof BigInt?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(e=>"random"!==e).map(e=>Math[e]).filter(e=>"function"==typeof e),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(e=>"function"==typeof e)),eU=new Set([Object.freeze,Object.preventExtensions,Object.seal]),eW=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function eq(e,r){let t=[];for(let u=0;u<e.length;++u){let n=e[u];if(null==n)t.length=u+1;else if("SpreadElement"===n.type){let e=eV(n.argument,r);if(null==e)return null;t.push(...e.value)}else{let e=eV(n,r);if(null==e)return null;t.push(e.value)}}return t}let eZ=Object.freeze({ArrayExpression(e,r){let t=eq(e.elements,r);return null!=t?{value:t}:null},AssignmentExpression:(e,r)=>"="===e.operator?eV(e.right,r):null,BinaryExpression(e,r){if("in"===e.operator||"instanceof"===e.operator)return null;let t=eV(e.left,r),u=eV(e.right,r);if(null!=t&&null!=u)switch(e.operator){case"==":return{value:t.value==u.value};case"!=":return{value:t.value!=u.value};case"===":return{value:t.value===u.value};case"!==":return{value:t.value!==u.value};case"<":return{value:t.value<u.value};case"<=":return{value:t.value<=u.value};case">":return{value:t.value>u.value};case">=":return{value:t.value>=u.value};case"<<":return{value:t.value<<u.value};case">>":return{value:t.value>>u.value};case">>>":return{value:t.value>>>u.value};case"+":return{value:t.value+u.value};case"-":return{value:t.value-u.value};case"*":return{value:t.value*u.value};case"/":return{value:t.value/u.value};case"%":return{value:t.value%u.value};case"**":return{value:t.value**u.value};case"|":return{value:t.value|u.value};case"^":return{value:t.value^u.value};case"&":return{value:t.value&u.value}}return null},CallExpression(e,r){let t=e.callee,u=eq(e.arguments,r);if(null!=u){if("MemberExpression"===t.type){if("PrivateIdentifier"===t.property.type)return null;let n=eV(t.object,r);if(null!=n){if(null==n.value&&(n.optional||e.optional))return{value:void 0,optional:!0};let a=eG(t,r);if(null!=a){let e=n.value,r=a.value;if(ez.has(e[r]))return{value:e[r](...u)};if(eU.has(e[r]))return{value:u[0]}}}}else{let n=eV(t,r);if(null!=n){if(null==n.value&&e.optional)return{value:void 0,optional:!0};let r=n.value;if(ez.has(r))return{value:r(...u)};if(eU.has(r))return{value:u[0]}}}}return null},ConditionalExpression(e,r){let t=eV(e.test,r);return null!=t?t.value?eV(e.consequent,r):eV(e.alternate,r):null},ExpressionStatement:(e,r)=>eV(e.expression,r),Identifier(e,r){if(null!=r){let t=el(r,e);if(null!=t&&0===t.defs.length&&e$.has(t.name)&&t.name in eM)return{value:eM[t.name]};if(null!=t&&1===t.defs.length){let e=t.defs[0];if(e.parent&&"Variable"===e.type&&("const"===e.parent.kind||function(e){let r=e.references,t=r.filter(e=>e.init).length,u=r.filter(e=>e.isReadOnly()).length;return 1===t&&u+t===r.length}(t))&&"Identifier"===e.node.id.type)return eV(e.node.init,r)}}return null},Literal:e=>(null!=e.regex||null!=e.bigint)&&null==e.value?null:{value:e.value},LogicalExpression(e,r){let t=eV(e.left,r);if(null!=t){if("||"===e.operator&&!0==!!t.value||"&&"===e.operator&&!1==!!t.value||"??"===e.operator&&null!=t.value)return t;let u=eV(e.right,r);if(null!=u)return u}return null},MemberExpression(e,r){if("PrivateIdentifier"===e.property.type)return null;let t=eV(e.object,r);if(null!=t){if(null==t.value&&(t.optional||e.optional))return{value:void 0,optional:!0};let u=eG(e,r);if(null!=u){if(!function(e,r){let t=function(e,r){let t=e;for(;("object"==typeof t||"function"==typeof t)&&null!==t;){let e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}return null}(e,r);return null!=t&&null!=t.get}(t.value,u.value))return{value:t.value[u.value]};for(let[e,r]of eW)if(t.value instanceof e&&r.has(u.value))return{value:t.value[u.value]}}}return null},ChainExpression(e,r){let t=eV(e.expression,r);return null!=t?{value:t.value}:null},NewExpression(e,r){let t=eV(e.callee,r),u=eq(e.arguments,r);if(null!=t&&null!=u){let e=t.value;if(ez.has(e))return{value:new e(...u)}}return null},ObjectExpression(e,r){let t={};for(let u of e.properties)if("Property"===u.type){if("init"!==u.kind)return null;let e=eG(u,r),n=eV(u.value,r);if(null==e||null==n)return null;t[e.value]=n.value}else{if("SpreadElement"!==u.type&&"ExperimentalSpreadProperty"!==u.type)return null;let e=eV(u.argument,r);if(null==e)return null;Object.assign(t,e.value)}return{value:t}},SequenceExpression(e,r){let t=e.expressions[e.expressions.length-1];return eV(t,r)},TaggedTemplateExpression(e,r){let t=eV(e.tag,r),u=eq(e.quasi.expressions,r);if(null!=t&&null!=u){let r=t.value,n=e.quasi.quasis.map(e=>e.value.cooked);if(n.raw=e.quasi.quasis.map(e=>e.value.raw),r===String.raw)return{value:r(n,...u)}}return null},TemplateLiteral(e,r){let t=eq(e.expressions,r);if(null!=t){let r=e.quasis[0].value.cooked;for(let u=0;u<t.length;++u)r+=t[u]+e.quasis[u+1].value.cooked;return{value:r}}return null},UnaryExpression(e,r){if("delete"===e.operator)return null;if("void"===e.operator)return{value:void 0};let t=eV(e.argument,r);if(null!=t)switch(e.operator){case"-":return{value:-t.value};case"+":return{value:+t.value};case"!":return{value:!t.value};case"~":return{value:~t.value};case"typeof":return{value:typeof t.value}}return null}});function eV(e,r){return null!=e&&Object.hasOwnProperty.call(eZ,e.type)?eZ[e.type](e,r):null}function eG(e,r){let t="Property"===e.type?e.key:e.property;return e.computed?eV(t,r):"Identifier"===t.type?{value:t.name}:"Literal"===t.type?t.bigint?{value:t.bigint}:{value:String(t.value)}:null}function eH(e,r=null){try{return eV(e,r)}catch(e){return null}}function eK(e,r=null){if(e&&"Literal"===e.type&&null===e.value){if(e.regex)return`/${e.regex.pattern}/${e.regex.flags}`;if(e.bigint)return e.bigint}let t=eH(e,r);return t&&String(t.value)}function eX(e,r){switch(e.type){case"MemberExpression":if(e.computed)return eK(e.property,r);if("PrivateIdentifier"===e.property.type)break;return e.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":if(e.computed)return eK(e.key,r);if("Literal"===e.key.type)return String(e.key.value);if("PrivateIdentifier"===e.key.type)break;return e.key.name}return null}function eJ(e,r){let t=e.parent,u=[],n="Property"===t.type&&t.value===e,a="MethodDefinition"===t.type&&t.value===e,i="PropertyDefinition"===t.type&&t.value===e;if((a||i)&&(t.static&&u.push("static"),"PrivateIdentifier"===t.key.type&&u.push("private")),e.async&&u.push("async"),e.generator&&u.push("generator"),n||a){if("constructor"===t.kind)return"constructor";"get"===t.kind?u.push("getter"):"set"===t.kind?u.push("setter"):u.push("method")}else i?u.push("method"):("ArrowFunctionExpression"===e.type&&u.push("arrow"),u.push("function"));if(n||a||i){if("PrivateIdentifier"===t.key.type)u.push(`#${t.key.name}`);else{let e=eX(t);if(e)u.push(`'${e}'`);else if(r){let e=r.getText(t.key);e.includes("\n")||u.push(`[${e}]`)}}}else e.id?u.push(`'${e.id.name}'`):"VariableDeclarator"===t.type&&t.id&&"Identifier"===t.id.type?u.push(`'${t.id.name}'`):("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left&&"Identifier"===t.left.type?u.push(`'${t.left.name}'`):"ExportDefaultDeclaration"===t.type&&t.declaration===e&&u.push("'default'");return u.join(" ")}let eQ=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),eY=Object.freeze(new Set(["-","+","!","~"]));function e0(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type}let e1=Object.freeze(Object.assign(Object.create(null),{$visit(e,r,t){let{type:u}=e;return"function"==typeof this[u]?this[u](e,r,t):this.$visitChildren(e,r,t)},$visitChildren(e,r,t){let{type:u}=e;for(let n of t[u]||Object.keys(e).filter(ec)){let u=e[n];if(Array.isArray(u)){for(let e of u)if(e0(e)&&this.$visit(e,r,t))return!0}else if(e0(u)&&this.$visit(u,r,t))return!0}return!1},ArrowFunctionExpression:()=>!1,AssignmentExpression:()=>!0,AwaitExpression:()=>!0,BinaryExpression(e,r,t){return!!(r.considerImplicitTypeConversion&&eQ.has(e.operator))&&("Literal"!==e.left.type||"Literal"!==e.right.type)||this.$visitChildren(e,r,t)},CallExpression:()=>!0,FunctionExpression:()=>!1,ImportExpression:()=>!0,MemberExpression(e,r,t){return!!r.considerGetters||!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.property.type||this.$visitChildren(e,r,t)},MethodDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},NewExpression:()=>!0,Property(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},PropertyDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},UnaryExpression(e,r,t){return!!("delete"===e.operator||r.considerImplicitTypeConversion&&eY.has(e.operator)&&"Literal"!==e.argument.type)||this.$visitChildren(e,r,t)},UpdateExpression:()=>!0,YieldExpression:()=>!0}));function e2(e,r,{considerGetters:t=!1,considerImplicitTypeConversion:u=!1}={}){return e1.$visit(e,{considerGetters:t,considerImplicitTypeConversion:u},r.visitorKeys||eo)}function e3(e,r,t){let u,n,a,i,o;if("number"==typeof e){if(u=0|e,n=r,a=t,!(u>=1))throw TypeError("'times' should be a positive integer.")}else u=1,n=e,a=r;if(null==n||null==n.parent||"CatchClause"===n.parent.type&&n.parent.param===n)return!1;i=o=n;do i=a.getTokenBefore(i),o=a.getTokenAfter(o);while(null!=i&&null!=o&&eA(i)&&eD(o)&&i!==function(e,r){let t=e.parent;switch(t.type){case"CallExpression":case"NewExpression":if(1===t.arguments.length&&t.arguments[0]===e)return r.getTokenAfter(t.callee,eA);return null;case"DoWhileStatement":if(t.test===e)return r.getTokenAfter(t.body,eA);return null;case"IfStatement":case"WhileStatement":if(t.test===e)return r.getFirstToken(t,1);return null;case"ImportExpression":if(t.source===e)return r.getFirstToken(t,1);return null;case"SwitchStatement":if(t.discriminant===e)return r.getFirstToken(t,1);return null;case"WithStatement":if(t.object===e)return r.getFirstToken(t,1);return null;default:return null}}(n,a)&&--u>0);return 0===u}let e4=/\$(?:[$&`']|[1-9][0-9]?)/gu,e5=new WeakMap;class e8{constructor(e,{escaped:r=!1}={}){if(!(e instanceof RegExp))throw TypeError("'pattern' should be a RegExp instance.");if(!e.flags.includes("g"))throw Error("'pattern' should contains 'g' flag.");e5.set(this,{pattern:new RegExp(e.source,e.flags),escaped:!!r})}*execAll(e){let{pattern:r,escaped:t}=e5.get(this),u=null,n=0;for(r.lastIndex=0;null!=(u=r.exec(e));)(t||!function(e,r){let t=!1;for(let u=r-1;u>=0&&92===e.charCodeAt(u);--u)t=!t;return t}(e,u.index))&&(n=r.lastIndex,yield u,r.lastIndex=n)}test(e){let r=this.execAll(e),t=r.next();return!t.done}[Symbol.replace](e,r){return"function"==typeof r?function(e,r,t){let u=[],n=0;for(let a of e.execAll(r))u.push(r.slice(n,a.index)),u.push(String(t(...a,a.index,a.input))),n=a.index+a[0].length;return u.push(r.slice(n)),u.join("")}(this,String(e),r):function(e,r,t){let u=[],n=0,a=null;function i(e){switch(e){case"$$":return"$";case"$&":return a[0];case"$`":return r.slice(0,a.index);case"$'":return r.slice(a.index+a[0].length);default:{let r=e.slice(1);if(r in a)return a[r];return e}}}for(a of e.execAll(r))u.push(r.slice(n,a.index)),u.push(t.replace(e4,i)),n=a.index+a[0].length;return u.push(r.slice(n)),u.join("")}(this,String(e),String(r))}}let e6=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,e9=Function.call.bind(Object.hasOwnProperty),e7=Symbol("read"),re=Symbol("call"),rr=Symbol("construct"),rt=Symbol("esm"),ru={require:{[re]:!0}};function rn(e){return null==e||0!==e.defs.length||e.references.some(e=>e.isWrite())}let ra=class{constructor(e,{mode:r="strict",globalObjectNames:t=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=e,this.mode=r,this.globalObjectNames=t.slice(0)}*iterateGlobalReferences(e){for(let r of Object.keys(e)){let t=e[r],u=[r],n=this.globalScope.set.get(r);rn(n)||(yield*this._iterateVariableReferences(n,u,t,!0))}for(let r of this.globalObjectNames){let t=[],u=this.globalScope.set.get(r);rn(u)||(yield*this._iterateVariableReferences(u,t,e,!1))}}*iterateCjsReferences(e){for(let{node:r}of this.iterateGlobalReferences(ru)){let t=eK(r.arguments[0]);if(null==t||!e9(e,t))continue;let u=e[t],n=[t];u[e7]&&(yield{node:r,path:n,type:e7,info:u[e7]}),yield*this._iteratePropertyReferences(r,n,u)}}*iterateEsmReferences(e){let r=this.globalScope.block;for(let t of r.body){if(!e6.test(t.type)||null==t.source)continue;let r=t.source.value;if(!e9(e,r))continue;let u=e[r],n=[r];if(u[e7]&&(yield{node:t,path:n,type:e7,info:u[e7]}),"ExportAllDeclaration"===t.type)for(let e of Object.keys(u)){let r=u[e];r[e7]&&(yield{node:t,path:n.concat(e),type:e7,info:r[e7]})}else for(let e of t.specifiers){let r=e9(u,rt),t=this._iterateImportReferences(e,n,r?u:"legacy"===this.mode?{default:u,...u}:{default:u});if(r)yield*t;else for(let e of t)e.path=e.path.filter(ri),(e.path.length>=2||e.type!==e7)&&(yield e)}}}*_iterateVariableReferences(e,r,t,u){if(!this.variableStack.includes(e)){this.variableStack.push(e);try{for(let n of e.references){if(!n.isRead())continue;let e=n.identifier;u&&t[e7]&&(yield{node:e,path:r,type:e7,info:t[e7]}),yield*this._iteratePropertyReferences(e,r,t)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(e,r,t){let u=e;for(;function(e){let r=e.parent;switch(r&&r.type){case"ConditionalExpression":return r.consequent===e||r.alternate===e;case"LogicalExpression":case"ChainExpression":return!0;case"SequenceExpression":return r.expressions[r.expressions.length-1]===e;default:return!1}}(u);)u=u.parent;let n=u.parent;if("MemberExpression"===n.type){if(n.object===u){let e=eX(n);if(null==e||!e9(t,e))return;r=r.concat(e);let u=t[e];u[e7]&&(yield{node:n,path:r,type:e7,info:u[e7]}),yield*this._iteratePropertyReferences(n,r,u)}return}if("CallExpression"===n.type){n.callee===u&&t[re]&&(yield{node:n,path:r,type:re,info:t[re]});return}if("NewExpression"===n.type){n.callee===u&&t[rr]&&(yield{node:n,path:r,type:rr,info:t[rr]});return}if("AssignmentExpression"===n.type){n.right===u&&(yield*this._iterateLhsReferences(n.left,r,t),yield*this._iteratePropertyReferences(n,r,t));return}if("AssignmentPattern"===n.type){n.right===u&&(yield*this._iterateLhsReferences(n.left,r,t));return}"VariableDeclarator"===n.type&&n.init===u&&(yield*this._iterateLhsReferences(n.id,r,t))}*_iterateLhsReferences(e,r,t){if("Identifier"===e.type){let u=el(this.globalScope,e);null!=u&&(yield*this._iterateVariableReferences(u,r,t,!1));return}if("ObjectPattern"===e.type){for(let u of e.properties){let e=eX(u);if(null==e||!e9(t,e))continue;let n=r.concat(e),a=t[e];a[e7]&&(yield{node:u,path:n,type:e7,info:a[e7]}),yield*this._iterateLhsReferences(u.value,n,a)}return}"AssignmentPattern"===e.type&&(yield*this._iterateLhsReferences(e.left,r,t))}*_iterateImportReferences(e,r,t){let u=e.type;if("ImportSpecifier"===u||"ImportDefaultSpecifier"===u){let n="ImportDefaultSpecifier"===u?"default":e.imported.name;if(!e9(t,n))return;r=r.concat(n);let a=t[n];a[e7]&&(yield{node:e,path:r,type:e7,info:a[e7]}),yield*this._iterateVariableReferences(el(this.globalScope,e.local),r,a,!1);return}if("ImportNamespaceSpecifier"===u){yield*this._iterateVariableReferences(el(this.globalScope,e.local),r,t,!1);return}if("ExportSpecifier"===u){let u=e.local.name;if(!e9(t,u))return;r=r.concat(u);let n=t[u];n[e7]&&(yield{node:e,path:r,type:e7,info:n[e7]})}}};function ri(e,r){return!(1===r&&"default"===e)}ra.READ=e7,ra.CALL=re,ra.CONSTRUCT=rr,ra.ESM=rt;var ro=eu(Object.freeze({__proto__:null,CALL:re,CONSTRUCT:rr,ESM:rt,PatternMatcher:e8,READ:e7,ReferenceTracker:ra,default:{CALL:re,CONSTRUCT:rr,ESM:rt,findVariable:el,getFunctionHeadLocation:eL,getFunctionNameWithKind:eJ,getInnermostScope:ef,getPropertyName:eX,getStaticValue:eH,getStringIfConstant:eK,hasSideEffect:e2,isArrowToken:ey,isClosingBraceToken:e_,isClosingBracketToken:eE,isClosingParenToken:eD,isColonToken:ev,isCommaToken:em,isCommentToken:eS,isNotArrowToken:ew,isNotClosingBraceToken:eR,isNotClosingBracketToken:ej,isNotClosingParenToken:eB,isNotColonToken:eT,isNotCommaToken:eF,isNotCommentToken:eN,isNotOpeningBraceToken:eO,isNotOpeningBracketToken:eI,isNotOpeningParenToken:eP,isNotSemicolonToken:ek,isOpeningBraceToken:eC,isOpeningBracketToken:ex,isOpeningParenToken:eA,isParenthesized:e3,isSemicolonToken:eb,PatternMatcher:e8,READ:e7,ReferenceTracker:ra},findVariable:el,getFunctionHeadLocation:eL,getFunctionNameWithKind:eJ,getInnermostScope:ef,getPropertyName:eX,getStaticValue:eH,getStringIfConstant:eK,hasSideEffect:e2,isArrowToken:ey,isClosingBraceToken:e_,isClosingBracketToken:eE,isClosingParenToken:eD,isColonToken:ev,isCommaToken:em,isCommentToken:eS,isNotArrowToken:ew,isNotClosingBraceToken:eR,isNotClosingBracketToken:ej,isNotClosingParenToken:eB,isNotColonToken:eT,isNotCommaToken:eF,isNotCommentToken:eN,isNotOpeningBraceToken:eO,isNotOpeningBracketToken:eI,isNotOpeningParenToken:eP,isNotSemicolonToken:ek,isOpeningBraceToken:eC,isOpeningBracketToken:ex,isOpeningParenToken:eA,isParenthesized:e3,isSemicolonToken:eb}));let{isParenthesized:rd}=ro,rs="too-deep",rc="should-parenthesized";var rf=et({create:e=>({ConditionalExpression(r){if([r.test,r.consequent,r.alternate].some(e=>"ConditionalExpression"===e.type))return;let{sourceCode:t}=e,u=t.getAncestors(r).reverse(),n=u.findIndex(e=>"ConditionalExpression"!==e.type);return 1!==n||rd(r,t)?n>1?{node:n>2?u[n-3]:r,messageId:rs}:void 0:{node:r,messageId:rc,fix:e=>[e.insertTextBefore(r,"("),e.insertTextAfter(r,")")]}}}),meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions."},fixable:"code",messages:{[rs]:"Do not nest ternary expressions.",[rc]:"Nest ternary expression should be parenthesized."}}});let rl="prefer-event-target";var rp=et({create:()=>({Identifier(e){if("EventEmitter"===e.name&&(("ClassDeclaration"===e.parent.type||"ClassExpression"===e.parent.type)&&e.parent.superClass===e||"NewExpression"===e.parent.type&&e.parent.callee===e))return{node:e,messageId:rl}}}),meta:{type:"suggestion",docs:{description:"Prefer `EventTarget` over `EventEmitter`."},messages:{[rl]:"Prefer `EventTarget` over `EventEmitter`."}}});let rg={},rh=rg.hasOwnProperty,ry=(e,r)=>{for(let t in e)rh.call(e,t)&&r(t,e[t])},rm=(e,r)=>(r&&ry(r,(r,t)=>{e[r]=t}),e),rb=(e,r)=>{let t=e.length,u=-1;for(;++u<t;)r(e[u])},rv=e=>"\\u"+("0000"+e).slice(-4),rA=(e,r)=>{let t=e.toString(16);return r?t:t.toUpperCase()},rD=rg.toString,rx=Array.isArray,rE=e=>"function"==typeof Buffer&&Buffer.isBuffer(e),rC=e=>"[object Object]"==rD.call(e),r_=e=>"string"==typeof e||"[object String]"==rD.call(e),rS=e=>"number"==typeof e||"[object Number]"==rD.call(e),rw=e=>"function"==typeof e,rF=e=>"[object Map]"==rD.call(e),rk=e=>"[object Set]"==rD.call(e),rT={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},rP=/[\\\b\f\n\r\t]/,rB=/[0-9]/,rI=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,rj=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,rO=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,rR=(e,r)=>{let t;let u=()=>{c=s,++r.indentLevel,s=r.indent.repeat(r.indentLevel)},n={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},a=r&&r.json;a&&(n.quotes="double",n.wrap=!0),"single"!=(r=rm(n,r)).quotes&&"double"!=r.quotes&&"backtick"!=r.quotes&&(r.quotes="single");let i="double"==r.quotes?'"':"backtick"==r.quotes?"`":"'",o=r.compact,d=r.lowercaseHex,s=r.indent.repeat(r.indentLevel),c="",f=r.__inline1__,l=r.__inline2__,p=o?"":"\n",g=!0,h="binary"==r.numbers,y="octal"==r.numbers,m="decimal"==r.numbers,b="hexadecimal"==r.numbers;if(a&&e&&rw(e.toJSON)&&(e=e.toJSON()),!r_(e)){if(rF(e))return 0==e.size?"new Map()":(o||(r.__inline1__=!0,r.__inline2__=!1),"new Map("+rR(Array.from(e),r)+")");if(rk(e))return 0==e.size?"new Set()":"new Set("+rR(Array.from(e),r)+")";if(rE(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+rR(Array.from(e),r)+")";if(rx(e))return(t=[],r.wrap=!0,f&&(r.__inline1__=!1,r.__inline2__=!0),l||u(),rb(e,e=>{g=!1,l&&(r.__inline2__=!1),t.push((o||l?"":s)+rR(e,r))}),g)?"[]":l?"["+t.join(", ")+"]":"["+p+t.join(","+p)+p+(o?"":c)+"]";if(rS(e)){if(a)return JSON.stringify(e);if(m)return String(e);if(b){let r=e.toString(16);return d||(r=r.toUpperCase()),"0x"+r}if(h)return"0b"+e.toString(2);if(y)return"0o"+e.toString(8)}else if(rC(e))return(t=[],r.wrap=!0,u(),ry(e,(e,u)=>{g=!1,t.push((o?"":s)+rR(e,r)+":"+(o?"":" ")+rR(u,r))}),g)?"{}":"{"+p+t.join(","+p)+p+(o?"":c)+"}";else return a?JSON.stringify(e)||"null":String(e)}let v=r.escapeEverything?rj:rO;return t=e.replace(v,(e,t,u,n,o,s)=>{if(t){if(r.minimal)return t;let e=t.charCodeAt(0),u=t.charCodeAt(1);if(r.es6){let r=(e-55296)*1024+u-56320+65536,t=rA(r,d);return"\\u{"+t+"}"}return rv(rA(e,d))+rv(rA(u,d))}if(u)return rv(rA(u.charCodeAt(0),d));if("\x00"==e&&!a&&!rB.test(s.charAt(o+1)))return"\\0";if(n)return n==i||r.escapeEverything?"\\"+n:n;if(rP.test(e))return rT[e];if(r.minimal&&!rI.test(e))return e;let c=rA(e.charCodeAt(0),d);return a||c.length>2?rv(c):"\\x"+("00"+c).slice(-2)}),"`"==i&&(t=t.replace(/\$\{/g,"\\${")),r.isScriptContext&&(t=t.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,a?"\\u003C!--":"\\x3C!--")),r.wrap&&(t=i+t+i),t};rR.version="3.0.2";var rN=(e,r="'")=>{if("string"!=typeof e)throw TypeError("Unexpected string.");return rR(e,{quotes:'"'===r?"double":"single",wrap:!0,es6:!0,minimal:!0,lowercaseHex:!1})};function rL(e,r){return e?.type==="Literal"&&(null===r?"null"===e.raw:e.value===r)}var rM={isLiteral:rL,isStringLiteral:e=>e?.type==="Literal"&&"string"==typeof e.value,isNumberLiteral:e=>"Literal"===e.type&&"number"==typeof e.value,isBigIntLiteral:e=>"Literal"===e.type&&!!e.bigint,isNullLiteral:e=>rL(e,null),isRegexLiteral:e=>"Literal"===e.type&&!!e.regex};function r$(e,r,t){if(!t.includes(e?.type))return!1;"string"==typeof r&&(r={names:[r]}),Array.isArray(r)&&(r={names:r});let{name:u,names:n,argumentsLength:a,minimumArguments:i,maximumArguments:o,allowSpreadElement:d,optional:s}={minimumArguments:0,maximumArguments:Number.POSITIVE_INFINITY,allowSpreadElement:!1,...r};if(u&&(n=[u]),!0===s&&e.optional!==s||!1===s&&e.optional||"number"==typeof a&&e.arguments.length!==a||0!==i&&e.arguments.length<i||Number.isFinite(o)&&e.arguments.length>o)return!1;if(!d){let r=Number.isFinite(o)?o:a;if("number"==typeof r&&e.arguments.some((e,t)=>"SpreadElement"===e.type&&t<r))return!1}return!Array.isArray(n)||!(n.length>0)||"Identifier"===e.callee.type&&!!n.includes(e.callee.name)}var rz={isCallExpression:(e,r)=>r$(e,r,["CallExpression"]),isNewExpression:(e,r)=>{if("boolean"==typeof r?.optional)throw TypeError("Cannot check node.optional in `isNewExpression`.");return r$(e,r,["NewExpression"])},isCallOrNewExpression:(e,r)=>r$(e,r,["CallExpression","NewExpression"])},rU=["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"],rW=function(e,r){if(e?.type!=="MemberExpression")return!1;"string"==typeof r&&(r={properties:[r]}),Array.isArray(r)&&(r={properties:r});let{property:t,properties:u,object:n,objects:a,optional:i,computed:o}={property:"",properties:[],object:"",...r};if(t&&(u=[t]),n&&(a=[n]),!0===i&&e.optional!==i||!1===i&&e.optional)return!1;if(Array.isArray(u)&&u.length>0){if("Identifier"!==e.property.type||!u.includes(e.property.name))return!1;o??=!1}return!(!0===o&&e.computed!==o||!1===o&&e.computed||Array.isArray(a)&&a.length>0&&("Identifier"!==e.object.type||!a.includes(e.object.name)))},rq="object"==typeof global&&global&&global.Object===Object&&global,rZ="object"==typeof self&&self&&self.Object===Object&&self,rV=rq||rZ||Function("return this")(),rG=rV.Symbol,rH=Object.prototype,rK=rH.hasOwnProperty,rX=rH.toString,rJ=rG?rG.toStringTag:void 0,rQ=Object.prototype.toString,rY=rG?rG.toStringTag:void 0;function r0(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":rY&&rY in Object(e)?function(e){var r=rK.call(e,rJ),t=e[rJ];try{e[rJ]=void 0;var u=!0}catch(e){}var n=rX.call(e);return u&&(r?e[rJ]=t:delete e[rJ]),n}(e):rQ.call(e)}function r1(e){return null!=e&&"object"==typeof e}function r2(e){return"symbol"==typeof e||r1(e)&&"[object Symbol]"==r0(e)}var r3=0/0;function r4(e){return"number"==typeof e?e:r2(e)?r3:+e}function r5(e,r){for(var t=-1,u=null==e?0:e.length,n=Array(u);++t<u;)n[t]=r(e[t],t,e);return n}var r8=Array.isArray,r6=1/0,r9=rG?rG.prototype:void 0,r7=r9?r9.toString:void 0;function te(e){if("string"==typeof e)return e;if(r8(e))return r5(e,te)+"";if(r2(e))return r7?r7.call(e):"";var r=e+"";return"0"==r&&1/e==-r6?"-0":r}function tr(e,r){return function(t,u){var n;if(void 0===t&&void 0===u)return r;if(void 0!==t&&(n=t),void 0!==u){if(void 0===n)return u;"string"==typeof t||"string"==typeof u?(t=te(t),u=te(u)):(t=r4(t),u=r4(u)),n=e(t,u)}return n}}var tt=tr(function(e,r){return e+r},0),tu=/\s/;function tn(e){for(var r=e.length;r--&&tu.test(e.charAt(r)););return r}var ta=/^\s+/;function ti(e){return e?e.slice(0,tn(e)+1).replace(ta,""):e}function to(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}var td=0/0,ts=/^[-+]0x[0-9a-f]+$/i,tc=/^0b[01]+$/i,tf=/^0o[0-7]+$/i,tl=parseInt;function tp(e){if("number"==typeof e)return e;if(r2(e))return td;if(to(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=to(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=ti(e);var t=tc.test(e);return t||tf.test(e)?tl(e.slice(2),t?2:8):ts.test(e)?td:+e}var tg=1/0;function th(e){return e?(e=tp(e))===tg||e===-tg?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function ty(e){var r=th(e),t=r%1;return r==r?t?r-t:r:0}function tm(e){return e}function tb(e){if(!to(e))return!1;var r=r0(e);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var tv=rV["__core-js_shared__"],tA=(l=/[^.]+$/.exec(tv&&tv.keys&&tv.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",tD=Function.prototype.toString;function tx(e){if(null!=e){try{return tD.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var tE=/^\[object .+?Constructor\]$/,tC=Object.prototype,t_=Function.prototype.toString,tS=tC.hasOwnProperty,tw=RegExp("^"+t_.call(tS).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tF(e){return!!to(e)&&(!tA||!(tA in e))&&(tb(e)?tw:tE).test(tx(e))}function tk(e,r){var t=null==e?void 0:e[r];return tF(t)?t:void 0}var tT=tk(rV,"WeakMap"),tP=tT&&new tT,tB=tP?function(e,r){return tP.set(e,r),e}:tm,tI=Object.create,tj=function(){function e(){}return function(r){if(!to(r))return{};if(tI)return tI(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function tO(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var t=tj(e.prototype),u=e.apply(t,r);return to(u)?u:t}}function tR(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var tN=Math.max;function tL(e,r,t,u){for(var n=-1,a=e.length,i=t.length,o=-1,d=r.length,s=tN(a-i,0),c=Array(d+s),f=!u;++o<d;)c[o]=r[o];for(;++n<i;)(f||n<a)&&(c[t[n]]=e[n]);for(;s--;)c[o++]=e[n++];return c}var tM=Math.max;function t$(e,r,t,u){for(var n=-1,a=e.length,i=-1,o=t.length,d=-1,s=r.length,c=tM(a-o,0),f=Array(c+s),l=!u;++n<c;)f[n]=e[n];for(var p=n;++d<s;)f[p+d]=r[d];for(;++i<o;)(l||n<a)&&(f[p+t[i]]=e[n++]);return f}function tz(){}function tU(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function tW(){}tU.prototype=tj(tz.prototype),tU.prototype.constructor=tU;var tq=tP?function(e){return tP.get(e)}:tW,tZ={},tV=Object.prototype.hasOwnProperty;function tG(e){for(var r=e.name+"",t=tZ[r],u=tV.call(tZ,r)?t.length:0;u--;){var n=t[u],a=n.func;if(null==a||a==e)return n.name}return r}function tH(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}function tK(e,r){var t=-1,u=e.length;for(r||(r=Array(u));++t<u;)r[t]=e[t];return r}function tX(e){if(e instanceof tU)return e.clone();var r=new tH(e.__wrapped__,e.__chain__);return r.__actions__=tK(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}tH.prototype=tj(tz.prototype),tH.prototype.constructor=tH;var tJ=Object.prototype.hasOwnProperty;function tQ(e){if(r1(e)&&!r8(e)&&!(e instanceof tU)){if(e instanceof tH)return e;if(tJ.call(e,"__wrapped__"))return tX(e)}return new tH(e)}function tY(e){var r=tG(e),t=tQ[r];if("function"!=typeof t||!(r in tU.prototype))return!1;if(e===t)return!0;var u=tq(t);return!!u&&e===u[0]}tQ.prototype=tz.prototype,tQ.prototype.constructor=tQ;var t0=Date.now;function t1(e){var r=0,t=0;return function(){var u=t0(),n=16-(u-t);if(t=u,n>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var t2=t1(tB),t3=/\{\n\/\* \[wrapped with (.+)\] \*/,t4=/,? & /,t5=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function t8(e){return function(){return e}}var t6=function(){try{var e=tk(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),t9=t1(t6?function(e,r){return t6(e,"toString",{configurable:!0,enumerable:!1,value:t8(r),writable:!0})}:tm);function t7(e,r){for(var t=-1,u=null==e?0:e.length;++t<u&&!1!==r(e[t],t,e););return e}function ue(e,r,t,u){for(var n=e.length,a=t+(u?1:-1);u?a--:++a<n;)if(r(e[a],a,e))return a;return -1}function ur(e){return e!=e}function ut(e,r,t){return r==r?function(e,r,t){for(var u=t-1,n=e.length;++u<n;)if(e[u]===r)return u;return -1}(e,r,t):ue(e,ur,t)}function uu(e,r){return!!(null==e?0:e.length)&&ut(e,r,0)>-1}var un=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function ua(e,r,t){var u,n,a=r+"";return t9(e,function(e,r){var t=r.length;if(!t)return e;var u=t-1;return r[u]=(t>1?"& ":"")+r[u],r=r.join(t>2?", ":" "),e.replace(t5,"{\n/* [wrapped with "+r+"] */\n")}(a,(n=(u=a.match(t3))?u[1].split(t4):[],t7(un,function(e){var r="_."+e[0];t&e[1]&&!uu(n,r)&&n.push(r)}),n.sort())))}function ui(e,r,t,u,n,a,i,o,d,s){var c=8&r;r|=c?32:64,4&(r&=~(c?64:32))||(r&=-4);var f=[e,r,n,c?a:void 0,c?i:void 0,c?void 0:a,c?void 0:i,o,d,s],l=t.apply(void 0,f);return tY(e)&&t2(l,f),l.placeholder=u,ua(l,e,r)}function uo(e){return e.placeholder}var ud=/^(?:0|[1-9]\d*)$/;function us(e,r){var t=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==t||"symbol"!=t&&ud.test(e))&&e>-1&&e%1==0&&e<r}var uc=Math.min,uf="__lodash_placeholder__";function ul(e,r){for(var t=-1,u=e.length,n=0,a=[];++t<u;){var i=e[t];(i===r||i===uf)&&(e[t]=uf,a[n++]=t)}return a}function up(e,r,t,u,n,a,i,o,d,s){var c=128&r,f=1&r,l=2&r,p=24&r,g=512&r,h=l?void 0:tO(e);return function y(){for(var m=arguments.length,b=Array(m),v=m;v--;)b[v]=arguments[v];if(p)var A=uo(y),D=function(e,r){for(var t=e.length,u=0;t--;)e[t]===r&&++u;return u}(b,A);if(u&&(b=tL(b,u,n,p)),a&&(b=t$(b,a,i,p)),m-=D,p&&m<s){var x=ul(b,A);return ui(e,r,up,y.placeholder,t,b,x,o,d,s-m)}var E=f?t:this,C=l?E[e]:e;return m=b.length,o?b=function(e,r){for(var t=e.length,u=uc(r.length,t),n=tK(e);u--;){var a=r[u];e[u]=us(a,t)?n[a]:void 0}return e}(b,o):g&&m>1&&b.reverse(),c&&d<m&&(b.length=d),this&&this!==rV&&this instanceof y&&(C=h||tO(C)),C.apply(E,b)}}var ug="__lodash_placeholder__",uh=Math.min,uy=Math.max;function um(e,r,t,u,n,a,i,o){var d=2&r;if(!d&&"function"!=typeof e)throw TypeError("Expected a function");var s=u?u.length:0;if(s||(r&=-97,u=n=void 0),i=void 0===i?i:uy(ty(i),0),o=void 0===o?o:ty(o),s-=n?n.length:0,64&r){var c=u,f=n;u=n=void 0}var l=d?void 0:tq(e),p=[e,r,t,u,n,c,f,a,i,o];if(l&&function(e,r){var t=e[1],u=r[1],n=t|u,a=n<131,i=128==u&&8==t||128==u&&256==t&&e[7].length<=r[8]||384==u&&r[7].length<=r[8]&&8==t;if(a||i){1&u&&(e[2]=r[2],n|=1&t?0:4);var o=r[3];if(o){var d=e[3];e[3]=d?tL(d,o,r[4]):o,e[4]=d?ul(e[3],ug):r[4]}(o=r[5])&&(d=e[5],e[5]=d?t$(d,o,r[6]):o,e[6]=d?ul(e[5],ug):r[6]),(o=r[7])&&(e[7]=o),128&u&&(e[8]=null==e[8]?r[8]:uh(e[8],r[8])),null==e[9]&&(e[9]=r[9]),e[0]=r[0],e[1]=n}}(p,l),e=p[0],r=p[1],t=p[2],u=p[3],n=p[4],(o=p[9]=void 0===p[9]?d?0:e.length:uy(p[9]-s,0))||!(24&r)||(r&=-25),r&&1!=r)8==r||16==r?(g=e,h=r,y=o,m=tO(g),k=function e(){for(var r=arguments.length,t=Array(r),u=r,n=uo(e);u--;)t[u]=arguments[u];var a=r<3&&t[0]!==n&&t[r-1]!==n?[]:ul(t,n);return(r-=a.length)<y?ui(g,h,up,e.placeholder,void 0,t,a,void 0,void 0,y-r):tR(this&&this!==rV&&this instanceof e?m:g,this,t)}):32!=r&&33!=r||n.length?k=up.apply(void 0,p):(b=e,v=r,A=t,D=u,x=1&v,E=tO(b),k=function e(){for(var r=-1,t=arguments.length,u=-1,n=D.length,a=Array(n+t),i=this&&this!==rV&&this instanceof e?E:b;++u<n;)a[u]=D[u];for(;t--;)a[u++]=arguments[++r];return tR(i,x?A:this,a)});else var g,h,y,m,b,v,A,D,x,E,C,_,S,w,F,k=(C=e,_=r,S=t,w=1&_,F=tO(C),function e(){return(this&&this!==rV&&this instanceof e?F:C).apply(w?S:this,arguments)});return ua((l?tB:t2)(k,p),e,r)}function ub(e,r,t){return r=t?void 0:r,r=e&&null==r?e.length:r,um(e,128,void 0,void 0,void 0,void 0,r)}function uv(e,r,t){"__proto__"==r&&t6?t6(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function uA(e,r){return e===r||e!=e&&r!=r}var uD=Object.prototype.hasOwnProperty;function ux(e,r,t){var u=e[r];uD.call(e,r)&&uA(u,t)&&(void 0!==t||r in e)||uv(e,r,t)}function uE(e,r,t,u){var n=!t;t||(t={});for(var a=-1,i=r.length;++a<i;){var o=r[a],d=u?u(t[o],e[o],o,t,e):void 0;void 0===d&&(d=e[o]),n?uv(t,o,d):ux(t,o,d)}return t}var uC=Math.max;function u_(e,r,t){return r=uC(void 0===r?e.length-1:r,0),function(){for(var u=arguments,n=-1,a=uC(u.length-r,0),i=Array(a);++n<a;)i[n]=u[r+n];n=-1;for(var o=Array(r+1);++n<r;)o[n]=u[n];return o[r]=t(i),tR(e,this,o)}}function uS(e,r){return t9(u_(e,r,tm),e+"")}function uw(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function uF(e){return null!=e&&uw(e.length)&&!tb(e)}function uk(e,r,t){if(!to(t))return!1;var u=typeof r;return("number"==u?!!(uF(t)&&us(r,t.length)):"string"==u&&r in t)&&uA(t[r],e)}function uT(e){return uS(function(r,t){var u=-1,n=t.length,a=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(n--,a):void 0,i&&uk(t[0],t[1],i)&&(a=n<3?void 0:a,n=1),r=Object(r);++u<n;){var o=t[u];o&&e(r,o,u,a)}return r})}var uP=Object.prototype;function uB(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||uP)}function uI(e,r){for(var t=-1,u=Array(e);++t<e;)u[t]=r(t);return u}function uj(e){return r1(e)&&"[object Arguments]"==r0(e)}var uO=Object.prototype,uR=uO.hasOwnProperty,uN=uO.propertyIsEnumerable,uL=uj(function(){return arguments}())?uj:function(e){return r1(e)&&uR.call(e,"callee")&&!uN.call(e,"callee")};function uM(){return!1}var u$="object"==typeof exports&&exports&&!exports.nodeType&&exports,uz=u$&&"object"==typeof module&&module&&!module.nodeType&&module,uU=uz&&uz.exports===u$?rV.Buffer:void 0,uW=(uU?uU.isBuffer:void 0)||uM,uq={};function uZ(e){return function(r){return e(r)}}uq["[object Float32Array]"]=uq["[object Float64Array]"]=uq["[object Int8Array]"]=uq["[object Int16Array]"]=uq["[object Int32Array]"]=uq["[object Uint8Array]"]=uq["[object Uint8ClampedArray]"]=uq["[object Uint16Array]"]=uq["[object Uint32Array]"]=!0,uq["[object Arguments]"]=uq["[object Array]"]=uq["[object ArrayBuffer]"]=uq["[object Boolean]"]=uq["[object DataView]"]=uq["[object Date]"]=uq["[object Error]"]=uq["[object Function]"]=uq["[object Map]"]=uq["[object Number]"]=uq["[object Object]"]=uq["[object RegExp]"]=uq["[object Set]"]=uq["[object String]"]=uq["[object WeakMap]"]=!1;var uV="object"==typeof exports&&exports&&!exports.nodeType&&exports,uG=uV&&"object"==typeof module&&module&&!module.nodeType&&module,uH=uG&&uG.exports===uV&&rq.process,uK=function(){try{var e=uG&&uG.require&&uG.require("util").types;if(e)return e;return uH&&uH.binding&&uH.binding("util")}catch(e){}}(),uX=uK&&uK.isTypedArray,uJ=uX?uZ(uX):function(e){return r1(e)&&uw(e.length)&&!!uq[r0(e)]},uQ=Object.prototype.hasOwnProperty;function uY(e,r){var t=r8(e),u=!t&&uL(e),n=!t&&!u&&uW(e),a=!t&&!u&&!n&&uJ(e),i=t||u||n||a,o=i?uI(e.length,String):[],d=o.length;for(var s in e)(r||uQ.call(e,s))&&!(i&&("length"==s||n&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||us(s,d)))&&o.push(s);return o}function u0(e,r){return function(t){return e(r(t))}}var u1=u0(Object.keys,Object),u2=Object.prototype.hasOwnProperty;function u3(e){if(!uB(e))return u1(e);var r=[];for(var t in Object(e))u2.call(e,t)&&"constructor"!=t&&r.push(t);return r}function u4(e){return uF(e)?uY(e):u3(e)}var u5=Object.prototype.hasOwnProperty,u8=uT(function(e,r){if(uB(r)||uF(r)){uE(r,u4(r),e);return}for(var t in r)u5.call(r,t)&&ux(e,t,r[t])}),u6=Object.prototype.hasOwnProperty;function u9(e){return uF(e)?uY(e,!0):function(e){if(!to(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=uB(e),t=[];for(var u in e)"constructor"==u&&(r||!u6.call(e,u))||t.push(u);return t}(e)}var u7=uT(function(e,r){uE(r,u9(r),e)}),ne=uT(function(e,r,t,u){uE(r,u9(r),e,u)}),nr=uT(function(e,r,t,u){uE(r,u4(r),e,u)}),nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nu=/^\w*$/;function nn(e,r){if(r8(e))return!1;var t=typeof e;return!!("number"==t||"symbol"==t||"boolean"==t||null==e||r2(e))||nu.test(e)||!nt.test(e)||null!=r&&e in Object(r)}var na=tk(Object,"create"),ni=Object.prototype.hasOwnProperty,no=Object.prototype.hasOwnProperty;function nd(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var u=e[r];this.set(u[0],u[1])}}function ns(e,r){for(var t=e.length;t--;)if(uA(e[t][0],r))return t;return -1}nd.prototype.clear=function(){this.__data__=na?na(null):{},this.size=0},nd.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},nd.prototype.get=function(e){var r=this.__data__;if(na){var t=r[e];return"__lodash_hash_undefined__"===t?void 0:t}return ni.call(r,e)?r[e]:void 0},nd.prototype.has=function(e){var r=this.__data__;return na?void 0!==r[e]:no.call(r,e)},nd.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=na&&void 0===r?"__lodash_hash_undefined__":r,this};var nc=Array.prototype.splice;function nf(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var u=e[r];this.set(u[0],u[1])}}nf.prototype.clear=function(){this.__data__=[],this.size=0},nf.prototype.delete=function(e){var r=this.__data__,t=ns(r,e);return!(t<0)&&(t==r.length-1?r.pop():nc.call(r,t,1),--this.size,!0)},nf.prototype.get=function(e){var r=this.__data__,t=ns(r,e);return t<0?void 0:r[t][1]},nf.prototype.has=function(e){return ns(this.__data__,e)>-1},nf.prototype.set=function(e,r){var t=this.__data__,u=ns(t,e);return u<0?(++this.size,t.push([e,r])):t[u][1]=r,this};var nl=tk(rV,"Map");function np(e,r){var t,u=e.__data__;return("string"==(t=typeof r)||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==r:null===r)?u["string"==typeof r?"string":"hash"]:u.map}function ng(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var u=e[r];this.set(u[0],u[1])}}function nh(e,r){if("function"!=typeof e||null!=r&&"function"!=typeof r)throw TypeError("Expected a function");var t=function(){var u=arguments,n=r?r.apply(this,u):u[0],a=t.cache;if(a.has(n))return a.get(n);var i=e.apply(this,u);return t.cache=a.set(n,i)||a,i};return t.cache=new(nh.Cache||ng),t}ng.prototype.clear=function(){this.size=0,this.__data__={hash:new nd,map:new(nl||nf),string:new nd}},ng.prototype.delete=function(e){var r=np(this,e).delete(e);return this.size-=r?1:0,r},ng.prototype.get=function(e){return np(this,e).get(e)},ng.prototype.has=function(e){return np(this,e).has(e)},ng.prototype.set=function(e,r){var t=np(this,e),u=t.size;return t.set(e,r),this.size+=t.size==u?0:1,this},nh.Cache=ng;var ny=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nm=/\\(\\)?/g,nb=(g=(p=nh(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(ny,function(e,t,u,n){r.push(u?n.replace(nm,"$1"):t||e)}),r},function(e){return 500===g.size&&g.clear(),e})).cache,p);function nv(e){return null==e?"":te(e)}function nA(e,r){return r8(e)?e:nn(e,r)?[e]:nb(nv(e))}var nD=1/0;function nx(e){if("string"==typeof e||r2(e))return e;var r=e+"";return"0"==r&&1/e==-nD?"-0":r}function nE(e,r){r=nA(r,e);for(var t=0,u=r.length;null!=e&&t<u;)e=e[nx(r[t++])];return t&&t==u?e:void 0}function nC(e,r,t){var u=null==e?void 0:nE(e,r);return void 0===u?t:u}function n_(e,r){for(var t=-1,u=r.length,n=Array(u),a=null==e;++t<u;)n[t]=a?void 0:nC(e,r[t]);return n}function nS(e,r){for(var t=-1,u=r.length,n=e.length;++t<u;)e[n+t]=r[t];return e}var nw=rG?rG.isConcatSpreadable:void 0;function nF(e){return r8(e)||uL(e)||!!(nw&&e&&e[nw])}function nk(e,r,t,u,n){var a=-1,i=e.length;for(t||(t=nF),n||(n=[]);++a<i;){var o=e[a];r>0&&t(o)?r>1?nk(o,r-1,t,u,n):nS(n,o):u||(n[n.length]=o)}return n}function nT(e){return(null==e?0:e.length)?nk(e,1):[]}function nP(e){return t9(u_(e,void 0,nT),e+"")}var nB=nP(n_),nI=u0(Object.getPrototypeOf,Object),nj=Object.prototype,nO=Function.prototype.toString,nR=nj.hasOwnProperty,nN=nO.call(Object);function nL(e){if(!r1(e)||"[object Object]"!=r0(e))return!1;var r=nI(e);if(null===r)return!0;var t=nR.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&nO.call(t)==nN}function nM(e){if(!r1(e))return!1;var r=r0(e);return"[object Error]"==r||"[object DOMException]"==r||"string"==typeof e.message&&"string"==typeof e.name&&!nL(e)}var n$=uS(function(e,r){try{return tR(e,void 0,r)}catch(e){return nM(e)?e:Error(e)}});function nz(e,r){var t;if("function"!=typeof r)throw TypeError("Expected a function");return e=ty(e),function(){return--e>0&&(t=r.apply(this,arguments)),e<=1&&(r=void 0),t}}var nU=uS(function(e,r,t){var u=1;if(t.length){var n=ul(t,uo(nU));u|=32}return um(e,u,r,t,n)});nU.placeholder={};var nW=nP(function(e,r){return t7(r,function(r){uv(e,r=nx(r),nU(e[r],e))}),e}),nq=uS(function(e,r,t){var u=3;if(t.length){var n=ul(t,uo(nq));u|=32}return um(r,u,e,t,n)});function nZ(e,r,t){var u=-1,n=e.length;r<0&&(r=-r>n?0:n+r),(t=t>n?n:t)<0&&(t+=n),n=r>t?0:t-r>>>0,r>>>=0;for(var a=Array(n);++u<n;)a[u]=e[u+r];return a}function nV(e,r,t){var u=e.length;return t=void 0===t?u:t,!r&&t>=u?e:nZ(e,r,t)}nq.placeholder={};var nG=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function nH(e){return nG.test(e)}var nK="\ud800-\udfff",nX="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",nJ="\ud83c[\udffb-\udfff]",nQ="[^"+nK+"]",nY="(?:\ud83c[\udde6-\uddff]){2}",n0="[\ud800-\udbff][\udc00-\udfff]",n1="(?:"+nX+"|"+nJ+")?",n2="[\\ufe0e\\ufe0f]?",n3="(?:\\u200d(?:"+[nQ,nY,n0].join("|")+")"+n2+n1+")*",n4=RegExp(nJ+"(?="+nJ+")|(?:"+[nQ+nX+"?",nX,nY,n0,"["+nK+"]"].join("|")+")"+(n2+n1+n3),"g");function n5(e){return nH(e)?e.match(n4)||[]:e.split("")}function n8(e){return function(r){var t=nH(r=nv(r))?n5(r):void 0,u=t?t[0]:r.charAt(0),n=t?nV(t,1).join(""):r.slice(1);return u[e]()+n}}var n6=n8("toUpperCase");function n9(e){return n6(nv(e).toLowerCase())}function n7(e,r,t,u){var n=-1,a=null==e?0:e.length;for(u&&a&&(t=e[++n]);++n<a;)t=r(t,e[n],n,e);return t}function ae(e){return function(r){return null==e?void 0:e[r]}}var ar=ae({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),at=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,au=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function an(e){return(e=nv(e))&&e.replace(at,ar).replace(au,"")}var aa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ai=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ao="\ud800-\udfff",ad="\\u2700-\\u27bf",as="a-z\\xdf-\\xf6\\xf8-\\xff",ac="A-Z\\xc0-\\xd6\\xd8-\\xde",af="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",al="['’]",ap="["+af+"]",ag="["+as+"]",ah="[^"+ao+af+"\\d+"+ad+as+ac+"]",ay="(?:\ud83c[\udde6-\uddff]){2}",am="[\ud800-\udbff][\udc00-\udfff]",ab="["+ac+"]",av="(?:"+ag+"|"+ah+")",aA="(?:"+al+"(?:d|ll|m|re|s|t|ve))?",aD="(?:"+al+"(?:D|LL|M|RE|S|T|VE))?",ax="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",aE="[\\ufe0e\\ufe0f]?",aC="(?:\\u200d(?:"+["[^"+ao+"]",ay,am].join("|")+")"+aE+ax+")*",a_="(?:"+["["+ad+"]",ay,am].join("|")+")"+(aE+ax+aC),aS=RegExp([ab+"?"+ag+"+"+aA+"(?="+[ap,ab,"$"].join("|")+")","(?:"+ab+"|"+ah+")+"+aD+"(?="+[ap,ab+av,"$"].join("|")+")",ab+"?"+av+"+"+aA,ab+"+"+aD,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",a_].join("|"),"g");function aw(e,r,t){if(e=nv(e),void 0===(r=t?void 0:r)){var u;return(u=e,ai.test(u))?e.match(aS)||[]:e.match(aa)||[]}return e.match(r)||[]}var aF=RegExp("['’]","g");function ak(e){return function(r){return n7(aw(an(r).replace(aF,"")),e,"")}}var aT=ak(function(e,r,t){return r=r.toLowerCase(),e+(t?n9(r):r)}),aP=rV.isFinite,aB=Math.min;function aI(e){var r=Math[e];return function(e,t){if(e=tp(e),(t=null==t?0:aB(ty(t),292))&&aP(e)){var u=(nv(e)+"e").split("e");return+((u=(nv(r(u[0]+"e"+(+u[1]+t)))+"e").split("e"))[0]+"e"+(+u[1]-t))}return r(e)}}var aj=aI("ceil");function aO(e){var r=tQ(e);return r.__chain__=!0,r}var aR=Math.ceil,aN=Math.max;function aL(e,r,t){return e==e&&(void 0!==t&&(e=e<=t?e:t),void 0!==r&&(e=e>=r?e:r)),e}function aM(e){var r=this.__data__=new nf(e);this.size=r.size}function a$(e,r){return e&&uE(r,u4(r),e)}aM.prototype.clear=function(){this.__data__=new nf,this.size=0},aM.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},aM.prototype.get=function(e){return this.__data__.get(e)},aM.prototype.has=function(e){return this.__data__.has(e)},aM.prototype.set=function(e,r){var t=this.__data__;if(t instanceof nf){var u=t.__data__;if(!nl||u.length<199)return u.push([e,r]),this.size=++t.size,this;t=this.__data__=new ng(u)}return t.set(e,r),this.size=t.size,this};var az="object"==typeof exports&&exports&&!exports.nodeType&&exports,aU=az&&"object"==typeof module&&module&&!module.nodeType&&module,aW=aU&&aU.exports===az?rV.Buffer:void 0,aq=aW?aW.allocUnsafe:void 0;function aZ(e,r){if(r)return e.slice();var t=e.length,u=aq?aq(t):new e.constructor(t);return e.copy(u),u}function aV(e,r){for(var t=-1,u=null==e?0:e.length,n=0,a=[];++t<u;){var i=e[t];r(i,t,e)&&(a[n++]=i)}return a}function aG(){return[]}var aH=Object.prototype.propertyIsEnumerable,aK=Object.getOwnPropertySymbols,aX=aK?function(e){return null==e?[]:aV(aK(e=Object(e)),function(r){return aH.call(e,r)})}:aG,aJ=Object.getOwnPropertySymbols?function(e){for(var r=[];e;)nS(r,aX(e)),e=nI(e);return r}:aG;function aQ(e,r,t){var u=r(e);return r8(e)?u:nS(u,t(e))}function aY(e){return aQ(e,u4,aX)}function a0(e){return aQ(e,u9,aJ)}var a1=tk(rV,"DataView"),a2=tk(rV,"Promise"),a3=tk(rV,"Set"),a4="[object Map]",a5="[object Promise]",a8="[object Set]",a6="[object WeakMap]",a9="[object DataView]",a7=tx(a1),ie=tx(nl),ir=tx(a2),it=tx(a3),iu=tx(tT),ia=r0;(a1&&ia(new a1(new ArrayBuffer(1)))!=a9||nl&&ia(new nl)!=a4||a2&&ia(a2.resolve())!=a5||a3&&ia(new a3)!=a8||tT&&ia(new tT)!=a6)&&(ia=function(e){var r=r0(e),t="[object Object]"==r?e.constructor:void 0,u=t?tx(t):"";if(u)switch(u){case a7:return a9;case ie:return a4;case ir:return a5;case it:return a8;case iu:return a6}return r});var ii=ia,io=Object.prototype.hasOwnProperty,id=rV.Uint8Array;function is(e){var r=new e.constructor(e.byteLength);return new id(r).set(new id(e)),r}var ic=/\w*$/,il=rG?rG.prototype:void 0,ip=il?il.valueOf:void 0;function ig(e,r){var t=r?is(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function ih(e){return"function"!=typeof e.constructor||uB(e)?{}:tj(nI(e))}var iy=uK&&uK.isMap,im=iy?uZ(iy):function(e){return r1(e)&&"[object Map]"==ii(e)},ib=uK&&uK.isSet,iv=ib?uZ(ib):function(e){return r1(e)&&"[object Set]"==ii(e)},iA="[object Arguments]",iD="[object Function]",ix="[object Object]",iE={};function iC(e,r,t,u,n,a){var i,o=1&r,d=2&r,s=4&r;if(t&&(i=n?t(e,u,n,a):t(e)),void 0!==i)return i;if(!to(e))return e;var c=r8(e);if(c){if(f=e.length,l=new e.constructor(f),f&&"string"==typeof e[0]&&io.call(e,"index")&&(l.index=e.index,l.input=e.input),i=l,!o)return tK(e,i)}else{var f,l,p,g,h,y=ii(e),m=y==iD||"[object GeneratorFunction]"==y;if(uW(e))return aZ(e,o);if(y==ix||y==iA||m&&!n){if(i=d||m?{}:ih(e),!o)return d?(g=(p=i)&&uE(e,u9(e),p),uE(e,aJ(e),g)):(h=a$(i,e),uE(e,aX(e),h))}else{if(!iE[y])return n?e:{};i=function(e,r,t){var u,n,a=e.constructor;switch(r){case"[object ArrayBuffer]":return is(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return u=t?is(e.buffer):e.buffer,new e.constructor(u,e.byteOffset,e.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ig(e,t);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(n=new e.constructor(e.source,ic.exec(e))).lastIndex=e.lastIndex,n;case"[object Symbol]":return ip?Object(ip.call(e)):{}}}(e,y,o)}}a||(a=new aM);var b=a.get(e);if(b)return b;a.set(e,i),iv(e)?e.forEach(function(u){i.add(iC(u,r,t,u,e,a))}):im(e)&&e.forEach(function(u,n){i.set(n,iC(u,r,t,n,e,a))});var v=s?d?a0:aY:d?u9:u4,A=c?void 0:v(e);return t7(A||e,function(u,n){A&&(u=e[n=u]),ux(i,n,iC(u,r,t,n,e,a))}),i}function i_(){return new tH(this.value(),this.__chain__)}function iS(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new ng;++r<t;)this.add(e[r])}function iw(e,r){for(var t=-1,u=null==e?0:e.length;++t<u;)if(r(e[t],t,e))return!0;return!1}function iF(e,r){return e.has(r)}function ik(e,r,t,u,n,a){var i=1&t,o=e.length,d=r.length;if(o!=d&&!(i&&d>o))return!1;var s=a.get(e),c=a.get(r);if(s&&c)return s==r&&c==e;var f=-1,l=!0,p=2&t?new iS:void 0;for(a.set(e,r),a.set(r,e);++f<o;){var g=e[f],h=r[f];if(u)var y=i?u(h,g,f,r,e,a):u(g,h,f,e,r,a);if(void 0!==y){if(y)continue;l=!1;break}if(p){if(!iw(r,function(e,r){if(!iF(p,r)&&(g===e||n(g,e,t,u,a)))return p.push(r)})){l=!1;break}}else if(!(g===h||n(g,h,t,u,a))){l=!1;break}}return a.delete(e),a.delete(r),l}function iT(e){var r=-1,t=Array(e.size);return e.forEach(function(e,u){t[++r]=[u,e]}),t}function iP(e){var r=-1,t=Array(e.size);return e.forEach(function(e){t[++r]=e}),t}iE[iA]=iE["[object Array]"]=iE["[object ArrayBuffer]"]=iE["[object DataView]"]=iE["[object Boolean]"]=iE["[object Date]"]=iE["[object Float32Array]"]=iE["[object Float64Array]"]=iE["[object Int8Array]"]=iE["[object Int16Array]"]=iE["[object Int32Array]"]=iE["[object Map]"]=iE["[object Number]"]=iE[ix]=iE["[object RegExp]"]=iE["[object Set]"]=iE["[object String]"]=iE["[object Symbol]"]=iE["[object Uint8Array]"]=iE["[object Uint8ClampedArray]"]=iE["[object Uint16Array]"]=iE["[object Uint32Array]"]=!0,iE["[object Error]"]=iE[iD]=iE["[object WeakMap]"]=!1,iS.prototype.add=iS.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},iS.prototype.has=function(e){return this.__data__.has(e)};var iB=rG?rG.prototype:void 0,iI=iB?iB.valueOf:void 0,ij=Object.prototype.hasOwnProperty,iO="[object Arguments]",iR="[object Array]",iN="[object Object]",iL=Object.prototype.hasOwnProperty;function iM(e,r,t,u,n){return e===r||(null!=e&&null!=r&&(r1(e)||r1(r))?function(e,r,t,u,n,a){var i=r8(e),o=r8(r),d=i?iR:ii(e),s=o?iR:ii(r);d=d==iO?iN:d,s=s==iO?iN:s;var c=d==iN,f=s==iN,l=d==s;if(l&&uW(e)){if(!uW(r))return!1;i=!0,c=!1}if(l&&!c)return a||(a=new aM),i||uJ(e)?ik(e,r,t,u,n,a):function(e,r,t,u,n,a,i){switch(t){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)break;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":if(e.byteLength!=r.byteLength||!a(new id(e),new id(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return uA(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var o=iT;case"[object Set]":var d=1&u;if(o||(o=iP),e.size!=r.size&&!d)break;var s=i.get(e);if(s)return s==r;u|=2,i.set(e,r);var c=ik(o(e),o(r),u,n,a,i);return i.delete(e),c;case"[object Symbol]":if(iI)return iI.call(e)==iI.call(r)}return!1}(e,r,d,t,u,n,a);if(!(1&t)){var p=c&&iL.call(e,"__wrapped__"),g=f&&iL.call(r,"__wrapped__");if(p||g){var h=p?e.value():e,y=g?r.value():r;return a||(a=new aM),n(h,y,t,u,a)}}return!!l&&(a||(a=new aM),function(e,r,t,u,n,a){var i=1&t,o=aY(e),d=o.length;if(d!=aY(r).length&&!i)return!1;for(var s=d;s--;){var c=o[s];if(!(i?c in r:ij.call(r,c)))return!1}var f=a.get(e),l=a.get(r);if(f&&l)return f==r&&l==e;var p=!0;a.set(e,r),a.set(r,e);for(var g=i;++s<d;){var h=e[c=o[s]],y=r[c];if(u)var m=i?u(y,h,c,r,e,a):u(h,y,c,e,r,a);if(!(void 0===m?h===y||n(h,y,t,u,a):m)){p=!1;break}g||(g="constructor"==c)}if(p&&!g){var b=e.constructor,v=r.constructor;b!=v&&"constructor"in e&&"constructor"in r&&!("function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v)&&(p=!1)}return a.delete(e),a.delete(r),p}(e,r,t,u,n,a))}(e,r,t,u,iM,n):e!=e&&r!=r)}function i$(e,r,t,u){var n=t.length,a=n,i=!u;if(null==e)return!a;for(e=Object(e);n--;){var o=t[n];if(i&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++n<a;){var d=(o=t[n])[0],s=e[d],c=o[1];if(i&&o[2]){if(void 0===s&&!(d in e))return!1}else{var f=new aM;if(u)var l=u(s,c,d,e,r,f);if(!(void 0===l?iM(c,s,3,u,f):l))return!1}}return!0}function iz(e){for(var r=u4(e),t=r.length;t--;){var u=r[t],n=e[u];r[t]=[u,n,n==n&&!to(n)]}return r}function iU(e,r){return function(t){return null!=t&&t[e]===r&&(void 0!==r||e in Object(t))}}function iW(e){var r=iz(e);return 1==r.length&&r[0][2]?iU(r[0][0],r[0][1]):function(t){return t===e||i$(t,e,r)}}function iq(e,r){return null!=e&&r in Object(e)}function iZ(e,r,t){r=nA(r,e);for(var u=-1,n=r.length,a=!1;++u<n;){var i=nx(r[u]);if(!(a=null!=e&&t(e,i)))break;e=e[i]}return a||++u!=n?a:!!(n=null==e?0:e.length)&&uw(n)&&us(i,n)&&(r8(e)||uL(e))}function iV(e,r){return null!=e&&iZ(e,r,iq)}function iG(e,r){var t;return nn(e)&&(t=r)==t&&!to(t)?iU(nx(e),r):function(t){var u=nC(t,e);return void 0===u&&u===r?iV(t,e):iM(r,u,3)}}function iH(e){return function(r){return null==r?void 0:r[e]}}function iK(e){return nn(e)?iH(nx(e)):function(r){return nE(r,e)}}function iX(e){return"function"==typeof e?e:null==e?tm:"object"==typeof e?r8(e)?iG(e[0],e[1]):iW(e):iK(e)}function iJ(e,r,t){var u=t.length;if(null==e)return!u;for(e=Object(e);u--;){var n=t[u],a=r[n],i=e[n];if(void 0===i&&!(n in e)||!a(i))return!1}return!0}function iQ(e,r,t,u){for(var n=-1,a=null==e?0:e.length;++n<a;){var i=e[n];r(u,i,t(i),e)}return u}function iY(e){return function(r,t,u){for(var n=-1,a=Object(r),i=u(r),o=i.length;o--;){var d=i[e?o:++n];if(!1===t(a[d],d,a))break}return r}}var i0=iY();function i1(e,r){return e&&i0(e,r,u4)}function i2(e,r){return function(t,u){if(null==t)return t;if(!uF(t))return e(t,u);for(var n=t.length,a=r?n:-1,i=Object(t);(r?a--:++a<n)&&!1!==u(i[a],a,i););return t}}var i3=i2(i1);function i4(e,r,t,u){return i3(e,function(e,n,a){r(u,e,t(e),a)}),u}function i5(e,r){return function(t,u){var n=r8(t)?iQ:i4,a=r?r():{};return n(t,e,iX(u),a)}}var i8=Object.prototype.hasOwnProperty,i6=i5(function(e,r,t){i8.call(e,t)?++e[t]:uv(e,t,1)});function i9(e,r,t){var u=um(e,8,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return u.placeholder=i9.placeholder,u}function i7(e,r,t){var u=um(e,16,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return u.placeholder=i7.placeholder,u}i9.placeholder={},i7.placeholder={};var oe=function(){return rV.Date.now()},or=Math.max,ot=Math.min;function ou(e,r,t){var u,n,a,i,o,d,s=0,c=!1,f=!1,l=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(r){var t=u,a=n;return u=n=void 0,s=r,i=e.apply(a,t)}function g(e){var t=e-d,u=e-s;return void 0===d||t>=r||t<0||f&&u>=a}function h(){var e,t,u,n=oe();if(g(n))return y(n);o=setTimeout(h,(e=n-d,t=n-s,u=r-e,f?ot(u,a-t):u))}function y(e){return(o=void 0,l&&u)?p(e):(u=n=void 0,i)}function m(){var e,t=oe(),a=g(t);if(u=arguments,n=this,d=t,a){if(void 0===o)return s=e=d,o=setTimeout(h,r),c?p(e):i;if(f)return clearTimeout(o),o=setTimeout(h,r),p(d)}return void 0===o&&(o=setTimeout(h,r)),i}return r=tp(r)||0,to(t)&&(c=!!t.leading,a=(f="maxWait"in t)?or(tp(t.maxWait)||0,r):a,l="trailing"in t?!!t.trailing:l),m.cancel=function(){void 0!==o&&clearTimeout(o),s=0,u=d=n=o=void 0},m.flush=function(){return void 0===o?i:y(oe())},m}var on=Object.prototype,oa=on.hasOwnProperty,oi=uS(function(e,r){e=Object(e);var t=-1,u=r.length,n=u>2?r[2]:void 0;for(n&&uk(r[0],r[1],n)&&(u=1);++t<u;)for(var a=r[t],i=u9(a),o=-1,d=i.length;++o<d;){var s=i[o],c=e[s];(void 0===c||uA(c,on[s])&&!oa.call(e,s))&&(e[s]=a[s])}return e});function oo(e,r,t){(void 0===t||uA(e[r],t))&&(void 0!==t||r in e)||uv(e,r,t)}function od(e){return r1(e)&&uF(e)}function os(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}function oc(e){return uE(e,u9(e))}function of(e,r,t,u,n){e!==r&&i0(r,function(a,i){if(n||(n=new aM),to(a))!function(e,r,t,u,n,a,i){var o=os(e,t),d=os(r,t),s=i.get(d);if(s){oo(e,t,s);return}var c=a?a(o,d,t+"",e,r,i):void 0,f=void 0===c;if(f){var l=r8(d),p=!l&&uW(d),g=!l&&!p&&uJ(d);c=d,l||p||g?r8(o)?c=o:od(o)?c=tK(o):p?(f=!1,c=aZ(d,!0)):g?(f=!1,c=ig(d,!0)):c=[]:nL(d)||uL(d)?(c=o,uL(o)?c=oc(o):(!to(o)||tb(o))&&(c=ih(d))):f=!1}f&&(i.set(d,c),n(c,d,u,a,i),i.delete(d)),oo(e,t,c)}(e,r,i,t,of,u,n);else{var o=u?u(os(e,i),a,i+"",e,r,n):void 0;void 0===o&&(o=a),oo(e,i,o)}},u9)}function ol(e,r,t,u,n,a){return to(e)&&to(r)&&(a.set(r,e),of(e,r,void 0,ol,a),a.delete(r)),e}var op=uT(function(e,r,t,u){of(e,r,t,u)}),og=uS(function(e){return e.push(void 0,ol),tR(op,void 0,e)});function oh(e,r,t){if("function"!=typeof e)throw TypeError("Expected a function");return setTimeout(function(){e.apply(void 0,t)},r)}var oy=uS(function(e,r){return oh(e,1,r)}),om=uS(function(e,r,t){return oh(e,tp(r)||0,t)});function ob(e,r,t){for(var u=-1,n=null==e?0:e.length;++u<n;)if(t(r,e[u]))return!0;return!1}function ov(e,r,t,u){var n=-1,a=uu,i=!0,o=e.length,d=[],s=r.length;if(!o)return d;t&&(r=r5(r,uZ(t))),u?(a=ob,i=!1):r.length>=200&&(a=iF,i=!1,r=new iS(r));e:for(;++n<o;){var c=e[n],f=null==t?c:t(c);if(c=u||0!==c?c:0,i&&f==f){for(var l=s;l--;)if(r[l]===f)continue e;d.push(c)}else a(r,f,u)||d.push(c)}return d}var oA=uS(function(e,r){return od(e)?ov(e,nk(r,1,od,!0)):[]});function oD(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}var ox=uS(function(e,r){var t=oD(r);return od(t)&&(t=void 0),od(e)?ov(e,nk(r,1,od,!0),iX(t)):[]}),oE=uS(function(e,r){var t=oD(r);return od(t)&&(t=void 0),od(e)?ov(e,nk(r,1,od,!0),void 0,t):[]}),oC=tr(function(e,r){return e/r},1);function o_(e,r,t,u){for(var n=e.length,a=u?n:-1;(u?a--:++a<n)&&r(e[a],a,e););return t?nZ(e,u?0:a,u?a+1:n):nZ(e,u?a+1:0,u?n:a)}function oS(e){return"function"==typeof e?e:tm}function ow(e,r){return(r8(e)?t7:i3)(e,oS(r))}var oF=iY(!0);function ok(e,r){return e&&oF(e,r,u4)}var oT=i2(ok,!0);function oP(e,r){return(r8(e)?function(e,r){for(var t=null==e?0:e.length;t--&&!1!==r(e[t],t,e););return e}:oT)(e,oS(r))}function oB(e){return function(r){var t,u,n=ii(r);return"[object Map]"==n?iT(r):"[object Set]"==n?(t=-1,u=Array(r.size),r.forEach(function(e){u[++t]=[e,e]}),u):r5(e(r),function(e){return[e,r[e]]})}}var oI=oB(u4),oj=oB(u9),oO=ae({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),oR=/[&<>"']/g,oN=RegExp(oR.source);function oL(e){return(e=nv(e))&&oN.test(e)?e.replace(oR,oO):e}var oM=/[\\^$.*+?()[\]{}|]/g,o$=RegExp(oM.source);function oz(e,r){for(var t=-1,u=null==e?0:e.length;++t<u;)if(!r(e[t],t,e))return!1;return!0}function oU(e,r){var t=!0;return i3(e,function(e,u,n){return t=!!r(e,u,n)}),t}function oW(e){return e?aL(ty(e),0,4294967295):0}function oq(e,r){var t=[];return i3(e,function(e,u,n){r(e,u,n)&&t.push(e)}),t}function oZ(e){return function(r,t,u){var n=Object(r);if(!uF(r)){var a=iX(t);r=u4(r),t=function(e){return a(n[e],e,n)}}var i=e(r,t,u);return i>-1?n[a?r[i]:i]:void 0}}var oV=Math.max;function oG(e,r,t){var u=null==e?0:e.length;if(!u)return -1;var n=null==t?0:ty(t);return n<0&&(n=oV(u+n,0)),ue(e,iX(r),n)}var oH=oZ(oG);function oK(e,r,t){var u;return t(e,function(e,t,n){if(r(e,t,n))return u=t,!1}),u}var oX=Math.max,oJ=Math.min;function oQ(e,r,t){var u=null==e?0:e.length;if(!u)return -1;var n=u-1;return void 0!==t&&(n=ty(t),n=t<0?oX(u+n,0):oJ(n,u-1)),ue(e,iX(r),n,!0)}var oY=oZ(oQ);function o0(e){return e&&e.length?e[0]:void 0}function o1(e,r){var t=-1,u=uF(e)?Array(e.length):[];return i3(e,function(e,n,a){u[++t]=r(e,n,a)}),u}function o2(e,r){return(r8(e)?r5:o1)(e,iX(r))}var o3=1/0,o4=1/0,o5=aI("floor");function o8(e){return nP(function(r){var t=r.length,u=t,n=tH.prototype.thru;for(e&&r.reverse();u--;){var a=r[u];if("function"!=typeof a)throw TypeError("Expected a function");if(n&&!i&&"wrapper"==tG(a))var i=new tH([],!0)}for(u=i?u:t;++u<t;){var o=tG(a=r[u]),d="wrapper"==o?tq(a):void 0;i=d&&tY(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?i[tG(d[0])].apply(i,d[3]):1==a.length&&tY(a)?i[o]():i.thru(a)}return function(){var e=arguments,u=e[0];if(i&&1==e.length&&r8(u))return i.plant(u).value();for(var n=0,a=t?r[n].apply(this,e):u;++n<t;)a=r[n].call(this,a);return a}})}var o6=o8(),o9=o8(!0);function o7(e,r){return aV(r,function(r){return tb(e[r])})}var de=Object.prototype.hasOwnProperty,dr=i5(function(e,r,t){de.call(e,t)?e[t].push(r):uv(e,t,[r])});function dt(e,r){return e>r}function du(e){return function(r,t){return"string"==typeof r&&"string"==typeof t||(r=tp(r),t=tp(t)),e(r,t)}}var dn=du(dt),da=du(function(e,r){return e>=r}),di=Object.prototype.hasOwnProperty;function dd(e,r){return null!=e&&di.call(e,r)}var ds=Math.max,dc=Math.min;function df(e){return"string"==typeof e||!r8(e)&&r1(e)&&"[object String]"==r0(e)}function dl(e,r){return r5(r,function(r){return e[r]})}function dp(e){return null==e?[]:dl(e,u4(e))}var dg=Math.max,dh=Math.max,dy=Math.min;function dm(e,r,t){for(var u=t?ob:uu,n=e[0].length,a=e.length,i=a,o=Array(a),d=1/0,s=[];i--;){var c=e[i];i&&r&&(c=r5(c,uZ(r))),d=dy(c.length,d),o[i]=!t&&(r||n>=120&&c.length>=120)?new iS(i&&c):void 0}c=e[0];var f=-1,l=o[0];e:for(;++f<n&&s.length<d;){var p=c[f],g=r?r(p):p;if(p=t||0!==p?p:0,!(l?iF(l,g):u(s,g,t))){for(i=a;--i;){var h=o[i];if(!(h?iF(h,g):u(e[i],g,t)))continue e}l&&l.push(g),s.push(p)}}return s}function db(e){return od(e)?e:[]}var dv=uS(function(e){var r=r5(e,db);return r.length&&r[0]===e[0]?dm(r):[]}),dA=uS(function(e){var r=oD(e),t=r5(e,db);return r===oD(t)?r=void 0:t.pop(),t.length&&t[0]===e[0]?dm(t,iX(r)):[]}),dD=uS(function(e){var r=oD(e),t=r5(e,db);return(r="function"==typeof r?r:void 0)&&t.pop(),t.length&&t[0]===e[0]?dm(t,void 0,r):[]});function dx(e,r){return function(t,u){var n,a;return n=r(u),a={},i1(t,function(r,t,u){e(a,n(r),t,u)}),a}}var dE=Object.prototype.toString,dC=dx(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=dE.call(r)),e[r]=t},t8(tm)),d_=Object.prototype,dS=d_.hasOwnProperty,dw=d_.toString,dF=dx(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=dw.call(r)),dS.call(e,r)?e[r].push(t):e[r]=[t]},iX);function dk(e,r){return r.length<2?e:nE(e,nZ(r,0,-1))}function dT(e,r,t){r=nA(r,e);var u=null==(e=dk(e,r))?e:e[nx(oD(r))];return null==u?void 0:tR(u,e,t)}var dP=uS(dT),dB=uS(function(e,r,t){var u=-1,n="function"==typeof r,a=uF(e)?Array(e.length):[];return i3(e,function(e){a[++u]=n?tR(r,e,t):dT(e,r,t)}),a}),dI=uK&&uK.isArrayBuffer,dj=dI?uZ(dI):function(e){return r1(e)&&"[object ArrayBuffer]"==r0(e)},dO=uK&&uK.isDate,dR=dO?uZ(dO):function(e){return r1(e)&&"[object Date]"==r0(e)},dN=Object.prototype.hasOwnProperty,dL=rV.isFinite;function dM(e){return"number"==typeof e&&e==ty(e)}function d$(e){return"number"==typeof e||r1(e)&&"[object Number]"==r0(e)}var dz=tv?tb:uM,dU=uK&&uK.isRegExp,dW=dU?uZ(dU):function(e){return r1(e)&&"[object RegExp]"==r0(e)},dq=Array.prototype.join,dZ=ak(function(e,r,t){return e+(t?"-":"")+r.toLowerCase()}),dV=i5(function(e,r,t){uv(e,t,r)}),dG=Math.max,dH=Math.min,dK=ak(function(e,r,t){return e+(t?" ":"")+r.toLowerCase()}),dX=n8("toLowerCase");function dJ(e,r){return e<r}var dQ=du(dJ),dY=du(function(e,r){return e<=r});function d0(e,r,t){for(var u=-1,n=e.length;++u<n;){var a=e[u],i=r(a);if(null!=i&&(void 0===o?i==i&&!r2(i):t(i,o)))var o=i,d=a}return d}function d1(e,r){for(var t,u=-1,n=e.length;++u<n;){var a=r(e[u]);void 0!==a&&(t=void 0===t?a:t+a)}return t}var d2=0/0;function d3(e,r){var t=null==e?0:e.length;return t?d1(e,r)/t:d2}var d4=uT(function(e,r,t){of(e,r,t)}),d5=uS(function(e,r){return function(t){return dT(t,e,r)}}),d8=uS(function(e,r){return function(t){return dT(e,t,r)}}),d6=tr(function(e,r){return e*r},1);function d9(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}var d7=rG?rG.iterator:void 0;function se(e){if(!e)return[];if(uF(e))return df(e)?n5(e):tK(e);if(d7&&e[d7])return function(e){for(var r,t=[];!(r=e.next()).done;)t.push(r.value);return t}(e[d7]());var r=ii(e);return("[object Map]"==r?iT:"[object Set]"==r?iP:dp)(e)}function sr(){void 0===this.__values__&&(this.__values__=se(this.value()));var e=this.__index__>=this.__values__.length,r=e?void 0:this.__values__[this.__index__++];return{done:e,value:r}}function st(e,r){var t=e.length;if(t)return us(r+=r<0?t:0,t)?e[r]:void 0}function su(e,r){return r=nA(r,e),null==(e=dk(e,r))||delete e[nx(oD(r))]}function sn(e){return nL(e)?void 0:e}var sa=nP(function(e,r){var t={};if(null==e)return t;var u=!1;r=r5(r,function(r){return r=nA(r,e),u||(u=r.length>1),r}),uE(e,a0(e),t),u&&(t=iC(t,7,sn));for(var n=r.length;n--;)su(t,r[n]);return t});function si(e,r,t,u){if(!to(e))return e;r=nA(r,e);for(var n=-1,a=r.length,i=a-1,o=e;null!=o&&++n<a;){var d=nx(r[n]),s=t;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(n!=i){var c=o[d];void 0===(s=u?u(c,d,o):void 0)&&(s=to(c)?c:us(r[n+1])?[]:{})}ux(o,d,s),o=o[d]}return e}function so(e,r,t){for(var u=-1,n=r.length,a={};++u<n;){var i=r[u],o=nE(e,i);t(o,i)&&si(a,nA(i,e),o)}return a}function sd(e,r){if(null==e)return{};var t=r5(a0(e),function(e){return[e]});return r=iX(r),so(e,t,function(e,t){return r(e,t[0])})}function ss(e,r){if(e!==r){var t=void 0!==e,u=null===e,n=e==e,a=r2(e),i=void 0!==r,o=null===r,d=r==r,s=r2(r);if(!o&&!s&&!a&&e>r||a&&i&&d&&!o&&!s||u&&i&&d||!t&&d||!n)return 1;if(!u&&!a&&!s&&e<r||s&&t&&n&&!u&&!a||o&&t&&n||!i&&n||!d)return -1}return 0}function sc(e,r,t){r=r.length?r5(r,function(e){return r8(e)?function(r){return nE(r,1===e.length?e[0]:e)}:e}):[tm];var u=-1;return r=r5(r,uZ(iX)),function(e,r){var t=e.length;for(e.sort(r);t--;)e[t]=e[t].value;return e}(o1(e,function(e,t,n){return{criteria:r5(r,function(r){return r(e)}),index:++u,value:e}}),function(e,r){return function(e,r,t){for(var u=-1,n=e.criteria,a=r.criteria,i=n.length,o=t.length;++u<i;){var d=ss(n[u],a[u]);if(d){if(u>=o)return d;return d*("desc"==t[u]?-1:1)}}return e.index-r.index}(e,r,t)})}function sf(e){return nP(function(r){return r=r5(r,uZ(iX)),uS(function(t){var u=this;return e(r,function(e){return tR(e,u,t)})})})}var sl=sf(r5),sp=Math.min,sg=uS(function(e,r){var t=(r=1==r.length&&r8(r[0])?r5(r[0],uZ(iX)):r5(nk(r,1),uZ(iX))).length;return uS(function(u){for(var n=-1,a=sp(u.length,t);++n<a;)u[n]=r[n].call(this,u[n]);return tR(e,this,u)})}),sh=sf(oz),sy=sf(iw),sm=Math.floor;function sb(e,r){var t="";if(!e||r<1||r>9007199254740991)return t;do r%2&&(t+=e),(r=sm(r/2))&&(e+=e);while(r);return t}var sv=iH("length"),sA="\ud800-\udfff",sD="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",sx="\ud83c[\udffb-\udfff]",sE="[^"+sA+"]",sC="(?:\ud83c[\udde6-\uddff]){2}",s_="[\ud800-\udbff][\udc00-\udfff]",sS="(?:"+sD+"|"+sx+")?",sw="[\\ufe0e\\ufe0f]?",sF="(?:\\u200d(?:"+[sE,sC,s_].join("|")+")"+sw+sS+")*",sk=RegExp(sx+"(?="+sx+")|(?:"+[sE+sD+"?",sD,sC,s_,"["+sA+"]"].join("|")+")"+(sw+sS+sF),"g");function sT(e){return nH(e)?function(e){for(var r=sk.lastIndex=0;sk.test(e);)++r;return r}(e):sv(e)}var sP=Math.ceil;function sB(e,r){var t=(r=void 0===r?" ":te(r)).length;if(t<2)return t?sb(r,e):r;var u=sb(r,sP(e/sT(r)));return nH(r)?nV(n5(u),0,e).join(""):u.slice(0,e)}var sI=Math.ceil,sj=Math.floor,sO=/^\s+/,sR=rV.parseInt,sN=uS(function(e,r){var t=ul(r,uo(sN));return um(e,32,void 0,r,t)});sN.placeholder={};var sL=uS(function(e,r){var t=ul(r,uo(sL));return um(e,64,void 0,r,t)});sL.placeholder={};var sM=i5(function(e,r,t){e[t?0:1].push(r)},function(){return[[],[]]}),s$=nP(function(e,r){return null==e?{}:so(e,r,function(r,t){return iV(e,t)})});function sz(e){for(var r,t=this;t instanceof tz;){var u=tX(t);u.__index__=0,u.__values__=void 0,r?n.__wrapped__=u:r=u;var n=u;t=t.__wrapped__}return n.__wrapped__=e,r}function sU(e,r,t,u){for(var n=t-1,a=e.length;++n<a;)if(u(e[n],r))return n;return -1}var sW=Array.prototype.splice;function sq(e,r,t,u){var n=u?sU:ut,a=-1,i=r.length,o=e;for(e===r&&(r=tK(r)),t&&(o=r5(e,uZ(t)));++a<i;)for(var d=0,s=r[a],c=t?t(s):s;(d=n(o,c,d,u))>-1;)o!==e&&sW.call(o,d,1),sW.call(e,d,1);return e}function sZ(e,r){return e&&e.length&&r&&r.length?sq(e,r):e}var sV=uS(sZ),sG=Array.prototype.splice;function sH(e,r){for(var t=e?r.length:0,u=t-1;t--;){var n=r[t];if(t==u||n!==a){var a=n;us(n)?sG.call(e,n,1):su(e,n)}}return e}var sK=nP(function(e,r){var t=null==e?0:e.length,u=n_(e,r);return sH(e,r5(r,function(e){return us(e,t)?+e:e}).sort(ss)),u}),sX=Math.floor,sJ=Math.random;function sQ(e,r){return e+sX(sJ()*(r-e+1))}var sY=parseFloat,s0=Math.min,s1=Math.random,s2=Math.ceil,s3=Math.max;function s4(e){return function(r,t,u){return u&&"number"!=typeof u&&uk(r,t,u)&&(t=u=void 0),r=th(r),void 0===t?(t=r,r=0):t=th(t),u=void 0===u?r<t?1:-1:th(u),function(e,r,t,u){for(var n=-1,a=s3(s2((r-e)/(t||1)),0),i=Array(a);a--;)i[u?a:++n]=e,e+=t;return i}(r,t,u,e)}}var s5=s4(),s8=s4(!0),s6=nP(function(e,r){return um(e,256,void 0,void 0,void 0,r)});function s9(e,r,t,u,n){return n(e,function(e,n,a){t=u?(u=!1,e):r(t,e,n,a)}),t}function s7(e,r,t,u){var n=null==e?0:e.length;for(u&&n&&(t=e[--n]);n--;)t=r(t,e[n],n,e);return t}var ce=Array.prototype.reverse;function cr(e){return null==e?e:ce.call(e)}var ct=aI("round");function cu(e){var r=e.length;return r?e[sQ(0,r-1)]:void 0}function cn(e,r){var t=-1,u=e.length,n=u-1;for(r=void 0===r?u:r;++t<r;){var a=sQ(t,n),i=e[a];e[a]=e[t],e[t]=i}return e.length=r,e}var ca=ak(function(e,r,t){return e+(t?"_":"")+r.toLowerCase()});function ci(e,r){var t;return i3(e,function(e,u,n){return!(t=r(e,u,n))}),!!t}var co=uS(function(e,r){if(null==e)return[];var t=r.length;return t>1&&uk(e,r[0],r[1])?r=[]:t>2&&uk(r[0],r[1],r[2])&&(r=[r[0]]),sc(e,nk(r,1),[])}),cd=Math.floor,cs=Math.min;function cc(e,r,t,u){var n=0,a=null==e?0:e.length;if(0===a)return 0;for(var i=(r=t(r))!=r,o=null===r,d=r2(r),s=void 0===r;n<a;){var c=cd((n+a)/2),f=t(e[c]),l=void 0!==f,p=null===f,g=f==f,h=r2(f);if(i)var y=u||g;else y=s?g&&(u||l):o?g&&l&&(u||!p):d?g&&l&&!p&&(u||!h):!p&&!h&&(u?f<=r:f<r);y?n=c+1:a=c}return cs(a,4294967294)}function cf(e,r,t){var u=0,n=null==e?u:e.length;if("number"==typeof r&&r==r&&n<=2147483647){for(;u<n;){var a=u+n>>>1,i=e[a];null!==i&&!r2(i)&&(t?i<=r:i<r)?u=a+1:n=a}return n}return cc(e,r,tm,t)}function cl(e,r){for(var t=-1,u=e.length,n=0,a=[];++t<u;){var i=e[t],o=r?r(i):i;if(!t||!uA(o,d)){var d=o;a[n++]=0===i?0:i}}return a}var cp=Math.max,cg=ak(function(e,r,t){return e+(t?" ":"")+n6(r)}),ch=tr(function(e,r){return e-r},0),cy=Object.prototype,cm=cy.hasOwnProperty;function cb(e,r,t,u){return void 0===e||uA(e,cy[t])&&!cm.call(u,t)?r:e}var cv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function cA(e){return"\\"+cv[e]}var cD=/<%=([\s\S]+?)%>/g,cx={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:cD,variable:"",imports:{_:{escape:oL}}},cE=/\b__p \+= '';/g,cC=/\b(__p \+=) '' \+/g,c_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,cS=/[()=,{}\[\]\/\s]/,cw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cF=/($^)/,ck=/['\n\r\u2028\u2029\\]/g,cT=Object.prototype.hasOwnProperty;function cP(e,r){return r(e)}var cB=Math.min;function cI(){return this}function cj(){var e,r,t;return e=this.__wrapped__,r=this.__actions__,(t=e)instanceof tU&&(t=t.value()),n7(r,function(e,r){return r.func.apply(r.thisArg,nS([e],r.args))},t)}function cO(e,r){for(var t=e.length;t--&&ut(r,e[t],0)>-1;);return t}function cR(e,r){for(var t=-1,u=e.length;++t<u&&ut(r,e[t],0)>-1;);return t}var cN=/^\s+/,cL=/\w*$/,cM=ae({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),c$=/&(?:amp|lt|gt|quot|#39);/g,cz=RegExp(c$.source),cU=a3&&1/iP(new a3([,-0]))[1]==1/0?function(e){return new a3(e)}:tW;function cW(e,r,t){var u=-1,n=uu,a=e.length,i=!0,o=[],d=o;if(t)i=!1,n=ob;else if(a>=200){var s=r?null:cU(e);if(s)return iP(s);i=!1,n=iF,d=new iS}else d=r?[]:o;e:for(;++u<a;){var c=e[u],f=r?r(c):c;if(c=t||0!==c?c:0,i&&f==f){for(var l=d.length;l--;)if(d[l]===f)continue e;r&&d.push(f),o.push(c)}else n(d,f,t)||(d!==o&&d.push(f),o.push(c))}return o}var cq=uS(function(e){return cW(nk(e,1,od,!0))}),cZ=uS(function(e){var r=oD(e);return od(r)&&(r=void 0),cW(nk(e,1,od,!0),iX(r))}),cV=uS(function(e){var r=oD(e);return r="function"==typeof r?r:void 0,cW(nk(e,1,od,!0),void 0,r)}),cG=0,cH=Math.max;function cK(e){if(!(e&&e.length))return[];var r=0;return e=aV(e,function(e){if(od(e))return r=cH(e.length,r),!0}),uI(r,function(r){return r5(e,iH(r))})}function cX(e,r){if(!(e&&e.length))return[];var t=cK(e);return null==r?t:r5(t,function(e){return tR(r,void 0,e)})}function cJ(e,r,t,u){return si(e,r,t(nE(e,r)),u)}var cQ=ak(function(e,r,t){return e+(t?" ":"")+r.toUpperCase()}),cY=uS(function(e,r){return od(e)?ov(e,r):[]}),c0=nP(function(e){var r=e.length,t=r?e[0]:0,u=this.__wrapped__,n=function(r){return n_(r,e)};return!(r>1)&&!this.__actions__.length&&u instanceof tU&&us(t)?((u=u.slice(t,+t+(r?1:0))).__actions__.push({func:cP,args:[n],thisArg:void 0}),new tH(u,this.__chain__).thru(function(e){return r&&!e.length&&e.push(void 0),e})):this.thru(n)});function c1(e,r,t){var u=e.length;if(u<2)return u?cW(e[0]):[];for(var n=-1,a=Array(u);++n<u;)for(var i=e[n],o=-1;++o<u;)o!=n&&(a[n]=ov(a[n]||i,e[o],r,t));return cW(nk(a,1),r,t)}var c2=uS(function(e){return c1(aV(e,od))}),c3=uS(function(e){var r=oD(e);return od(r)&&(r=void 0),c1(aV(e,od),iX(r))}),c4=uS(function(e){var r=oD(e);return r="function"==typeof r?r:void 0,c1(aV(e,od),void 0,r)}),c5=uS(cK);function c8(e,r,t){for(var u=-1,n=e.length,a=r.length,i={};++u<n;){var o=u<a?r[u]:void 0;t(i,e[u],o)}return i}var c6=uS(function(e){var r=e.length,t=r>1?e[r-1]:void 0;return t="function"==typeof t?(e.pop(),t):void 0,cX(e,t)}),c9=eu(Object.freeze({__proto__:null,add:tt,after:function(e,r){if("function"!=typeof r)throw TypeError("Expected a function");return e=ty(e),function(){if(--e<1)return r.apply(this,arguments)}},ary:ub,assign:u8,assignIn:u7,assignInWith:ne,assignWith:nr,at:nB,attempt:n$,before:nz,bind:nU,bindAll:nW,bindKey:nq,camelCase:aT,capitalize:n9,castArray:function(){if(!arguments.length)return[];var e=arguments[0];return r8(e)?e:[e]},ceil:aj,chain:aO,chunk:function(e,r,t){r=(t?uk(e,r,t):void 0===r)?1:aN(ty(r),0);var u=null==e?0:e.length;if(!u||r<1)return[];for(var n=0,a=0,i=Array(aR(u/r));n<u;)i[a++]=nZ(e,n,n+=r);return i},clamp:function(e,r,t){return void 0===t&&(t=r,r=void 0),void 0!==t&&(t=(t=tp(t))==t?t:0),void 0!==r&&(r=(r=tp(r))==r?r:0),aL(tp(e),r,t)},clone:function(e){return iC(e,4)},cloneDeep:function(e){return iC(e,5)},cloneDeepWith:function(e,r){return iC(e,5,r="function"==typeof r?r:void 0)},cloneWith:function(e,r){return iC(e,4,r="function"==typeof r?r:void 0)},commit:i_,compact:function(e){for(var r=-1,t=null==e?0:e.length,u=0,n=[];++r<t;){var a=e[r];a&&(n[u++]=a)}return n},concat:function(){var e=arguments.length;if(!e)return[];for(var r=Array(e-1),t=arguments[0],u=e;u--;)r[u-1]=arguments[u];return nS(r8(t)?tK(t):[t],nk(r,1))},cond:function(e){var r=null==e?0:e.length;return e=r?r5(e,function(e){if("function"!=typeof e[1])throw TypeError("Expected a function");return[iX(e[0]),e[1]]}):[],uS(function(t){for(var u=-1;++u<r;){var n=e[u];if(tR(n[0],this,t))return tR(n[1],this,t)}})},conforms:function(e){var r,t;return t=u4(r=iC(e,1)),function(e){return iJ(e,r,t)}},conformsTo:function(e,r){return null==r||iJ(e,r,u4(r))},constant:t8,countBy:i6,create:function(e,r){var t=tj(e);return null==r?t:a$(t,r)},curry:i9,curryRight:i7,debounce:ou,deburr:an,defaultTo:function(e,r){return null==e||e!=e?r:e},defaults:oi,defaultsDeep:og,defer:oy,delay:om,difference:oA,differenceBy:ox,differenceWith:oE,divide:oC,drop:function(e,r,t){var u=null==e?0:e.length;return u?nZ(e,(r=t||void 0===r?1:ty(r))<0?0:r,u):[]},dropRight:function(e,r,t){var u=null==e?0:e.length;return u?nZ(e,0,(r=u-(r=t||void 0===r?1:ty(r)))<0?0:r):[]},dropRightWhile:function(e,r){return e&&e.length?o_(e,iX(r),!0,!0):[]},dropWhile:function(e,r){return e&&e.length?o_(e,iX(r),!0):[]},each:ow,eachRight:oP,endsWith:function(e,r,t){e=nv(e),r=te(r);var u=e.length,n=t=void 0===t?u:aL(ty(t),0,u);return(t-=r.length)>=0&&e.slice(t,n)==r},entries:oI,entriesIn:oj,eq:uA,escape:oL,escapeRegExp:function(e){return(e=nv(e))&&o$.test(e)?e.replace(oM,"\\$&"):e},every:function(e,r,t){var u=r8(e)?oz:oU;return t&&uk(e,r,t)&&(r=void 0),u(e,iX(r))},extend:u7,extendWith:ne,fill:function(e,r,t,u){var n=null==e?0:e.length;return n?(t&&"number"!=typeof t&&uk(e,r,t)&&(t=0,u=n),function(e,r,t,u){var n=e.length;for((t=ty(t))<0&&(t=-t>n?0:n+t),(u=void 0===u||u>n?n:ty(u))<0&&(u+=n),u=t>u?0:oW(u);t<u;)e[t++]=r;return e}(e,r,t,u)):[]},filter:function(e,r){return(r8(e)?aV:oq)(e,iX(r))},find:oH,findIndex:oG,findKey:function(e,r){return oK(e,iX(r),i1)},findLast:oY,findLastIndex:oQ,findLastKey:function(e,r){return oK(e,iX(r),ok)},first:o0,flatMap:function(e,r){return nk(o2(e,r),1)},flatMapDeep:function(e,r){return nk(o2(e,r),o3)},flatMapDepth:function(e,r,t){return t=void 0===t?1:ty(t),nk(o2(e,r),t)},flatten:nT,flattenDeep:function(e){return(null==e?0:e.length)?nk(e,o4):[]},flattenDepth:function(e,r){return(null==e?0:e.length)?nk(e,r=void 0===r?1:ty(r)):[]},flip:function(e){return um(e,512)},floor:o5,flow:o6,flowRight:o9,forEach:ow,forEachRight:oP,forIn:function(e,r){return null==e?e:i0(e,oS(r),u9)},forInRight:function(e,r){return null==e?e:oF(e,oS(r),u9)},forOwn:function(e,r){return e&&i1(e,oS(r))},forOwnRight:function(e,r){return e&&ok(e,oS(r))},fromPairs:function(e){for(var r=-1,t=null==e?0:e.length,u={};++r<t;){var n=e[r];u[n[0]]=n[1]}return u},functions:function(e){return null==e?[]:o7(e,u4(e))},functionsIn:function(e){return null==e?[]:o7(e,u9(e))},get:nC,groupBy:dr,gt:dn,gte:da,has:function(e,r){return null!=e&&iZ(e,r,dd)},hasIn:iV,head:o0,identity:tm,inRange:function(e,r,t){var u,n,a;return r=th(r),void 0===t?(t=r,r=0):t=th(t),(u=e=tp(e))>=dc(n=r,a=t)&&u<ds(n,a)},includes:function(e,r,t,u){e=uF(e)?e:dp(e),t=t&&!u?ty(t):0;var n=e.length;return t<0&&(t=dg(n+t,0)),df(e)?t<=n&&e.indexOf(r,t)>-1:!!n&&ut(e,r,t)>-1},indexOf:function(e,r,t){var u=null==e?0:e.length;if(!u)return -1;var n=null==t?0:ty(t);return n<0&&(n=dh(u+n,0)),ut(e,r,n)},initial:function(e){return(null==e?0:e.length)?nZ(e,0,-1):[]},intersection:dv,intersectionBy:dA,intersectionWith:dD,invert:dC,invertBy:dF,invoke:dP,invokeMap:dB,isArguments:uL,isArray:r8,isArrayBuffer:dj,isArrayLike:uF,isArrayLikeObject:od,isBoolean:function(e){return!0===e||!1===e||r1(e)&&"[object Boolean]"==r0(e)},isBuffer:uW,isDate:dR,isElement:function(e){return r1(e)&&1===e.nodeType&&!nL(e)},isEmpty:function(e){if(null==e)return!0;if(uF(e)&&(r8(e)||"string"==typeof e||"function"==typeof e.splice||uW(e)||uJ(e)||uL(e)))return!e.length;var r=ii(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(uB(e))return!u3(e).length;for(var t in e)if(dN.call(e,t))return!1;return!0},isEqual:function(e,r){return iM(e,r)},isEqualWith:function(e,r,t){var u=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===u?iM(e,r,void 0,t):!!u},isError:nM,isFinite:function(e){return"number"==typeof e&&dL(e)},isFunction:tb,isInteger:dM,isLength:uw,isMap:im,isMatch:function(e,r){return e===r||i$(e,r,iz(r))},isMatchWith:function(e,r,t){return t="function"==typeof t?t:void 0,i$(e,r,iz(r),t)},isNaN:function(e){return d$(e)&&e!=+e},isNative:function(e){if(dz(e))throw Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return tF(e)},isNil:function(e){return null==e},isNull:function(e){return null===e},isNumber:d$,isObject:to,isObjectLike:r1,isPlainObject:nL,isRegExp:dW,isSafeInteger:function(e){return dM(e)&&e>=-9007199254740991&&e<=9007199254740991},isSet:iv,isString:df,isSymbol:r2,isTypedArray:uJ,isUndefined:function(e){return void 0===e},isWeakMap:function(e){return r1(e)&&"[object WeakMap]"==ii(e)},isWeakSet:function(e){return r1(e)&&"[object WeakSet]"==r0(e)},iteratee:function(e){return iX("function"==typeof e?e:iC(e,1))},join:function(e,r){return null==e?"":dq.call(e,r)},kebabCase:dZ,keyBy:dV,keys:u4,keysIn:u9,last:oD,lastIndexOf:function(e,r,t){var u=null==e?0:e.length;if(!u)return -1;var n=u;return void 0!==t&&(n=(n=ty(t))<0?dG(u+n,0):dH(n,u-1)),r==r?function(e,r,t){for(var u=t+1;u--&&e[u]!==r;);return u}(e,r,n):ue(e,ur,n,!0)},lodash:tQ,lowerCase:dK,lowerFirst:dX,lt:dQ,lte:dY,map:o2,mapKeys:function(e,r){var t={};return r=iX(r),i1(e,function(e,u,n){uv(t,r(e,u,n),e)}),t},mapValues:function(e,r){var t={};return r=iX(r),i1(e,function(e,u,n){uv(t,u,r(e,u,n))}),t},matches:function(e){return iW(iC(e,1))},matchesProperty:function(e,r){return iG(e,iC(r,1))},max:function(e){return e&&e.length?d0(e,tm,dt):void 0},maxBy:function(e,r){return e&&e.length?d0(e,iX(r),dt):void 0},mean:function(e){return d3(e,tm)},meanBy:function(e,r){return d3(e,iX(r))},memoize:nh,merge:d4,mergeWith:op,method:d5,methodOf:d8,min:function(e){return e&&e.length?d0(e,tm,dJ):void 0},minBy:function(e,r){return e&&e.length?d0(e,iX(r),dJ):void 0},mixin:function(e,r,t){var u=u4(r),n=o7(r,u),a=!(to(t)&&"chain"in t)||!!t.chain,i=tb(e);return t7(n,function(t){var u=r[t];e[t]=u,i&&(e.prototype[t]=function(){var r=this.__chain__;if(a||r){var t=e(this.__wrapped__);return(t.__actions__=tK(this.__actions__)).push({func:u,args:arguments,thisArg:e}),t.__chain__=r,t}return u.apply(e,nS([this.value()],arguments))})}),e},multiply:d6,negate:d9,next:sr,noop:tW,now:oe,nth:function(e,r){return e&&e.length?st(e,ty(r)):void 0},nthArg:function(e){return e=ty(e),uS(function(r){return st(r,e)})},omit:sa,omitBy:function(e,r){return sd(e,d9(iX(r)))},once:function(e){return nz(2,e)},orderBy:function(e,r,t,u){return null==e?[]:(r8(r)||(r=null==r?[]:[r]),r8(t=u?void 0:t)||(t=null==t?[]:[t]),sc(e,r,t))},over:sl,overArgs:sg,overEvery:sh,overSome:sy,pad:function(e,r,t){e=nv(e);var u=(r=ty(r))?sT(e):0;if(!r||u>=r)return e;var n=(r-u)/2;return sB(sj(n),t)+e+sB(sI(n),t)},padEnd:function(e,r,t){e=nv(e);var u=(r=ty(r))?sT(e):0;return r&&u<r?e+sB(r-u,t):e},padStart:function(e,r,t){e=nv(e);var u=(r=ty(r))?sT(e):0;return r&&u<r?sB(r-u,t)+e:e},parseInt:function(e,r,t){return t||null==r?r=0:r&&(r=+r),sR(nv(e).replace(sO,""),r||0)},partial:sN,partialRight:sL,partition:sM,pick:s$,pickBy:sd,plant:sz,property:iK,propertyOf:function(e){return function(r){return null==e?void 0:nE(e,r)}},pull:sV,pullAll:sZ,pullAllBy:function(e,r,t){return e&&e.length&&r&&r.length?sq(e,r,iX(t)):e},pullAllWith:function(e,r,t){return e&&e.length&&r&&r.length?sq(e,r,void 0,t):e},pullAt:sK,random:function(e,r,t){if(t&&"boolean"!=typeof t&&uk(e,r,t)&&(r=t=void 0),void 0===t&&("boolean"==typeof r?(t=r,r=void 0):"boolean"==typeof e&&(t=e,e=void 0)),void 0===e&&void 0===r?(e=0,r=1):(e=th(e),void 0===r?(r=e,e=0):r=th(r)),e>r){var u=e;e=r,r=u}if(t||e%1||r%1){var n=s1();return s0(e+n*(r-e+sY("1e-"+((n+"").length-1))),r)}return sQ(e,r)},range:s5,rangeRight:s8,rearg:s6,reduce:function(e,r,t){var u=r8(e)?n7:s9,n=arguments.length<3;return u(e,iX(r),t,n,i3)},reduceRight:function(e,r,t){var u=r8(e)?s7:s9,n=arguments.length<3;return u(e,iX(r),t,n,oT)},reject:function(e,r){return(r8(e)?aV:oq)(e,d9(iX(r)))},remove:function(e,r){var t=[];if(!(e&&e.length))return t;var u=-1,n=[],a=e.length;for(r=iX(r);++u<a;){var i=e[u];r(i,u,e)&&(t.push(i),n.push(u))}return sH(e,n),t},repeat:function(e,r,t){return r=(t?uk(e,r,t):void 0===r)?1:ty(r),sb(nv(e),r)},replace:function(){var e=arguments,r=nv(e[0]);return e.length<3?r:r.replace(e[1],e[2])},rest:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return uS(e,r=void 0===r?r:ty(r))},result:function(e,r,t){r=nA(r,e);var u=-1,n=r.length;for(n||(n=1,e=void 0);++u<n;){var a=null==e?void 0:e[nx(r[u])];void 0===a&&(u=n,a=t),e=tb(a)?a.call(e):a}return e},reverse:cr,round:ct,sample:function(e){return(r8(e)?cu:function(e){return cu(dp(e))})(e)},sampleSize:function(e,r,t){return r=(t?uk(e,r,t):void 0===r)?1:ty(r),(r8(e)?function(e,r){return cn(tK(e),aL(r,0,e.length))}:function(e,r){var t=dp(e);return cn(t,aL(r,0,t.length))})(e,r)},set:function(e,r,t){return null==e?e:si(e,r,t)},setWith:function(e,r,t,u){return u="function"==typeof u?u:void 0,null==e?e:si(e,r,t,u)},shuffle:function(e){return(r8(e)?function(e){return cn(tK(e))}:function(e){return cn(dp(e))})(e)},size:function(e){if(null==e)return 0;if(uF(e))return df(e)?sT(e):e.length;var r=ii(e);return"[object Map]"==r||"[object Set]"==r?e.size:u3(e).length},slice:function(e,r,t){var u=null==e?0:e.length;return u?(t&&"number"!=typeof t&&uk(e,r,t)?(r=0,t=u):(r=null==r?0:ty(r),t=void 0===t?u:ty(t)),nZ(e,r,t)):[]},snakeCase:ca,some:function(e,r,t){var u=r8(e)?iw:ci;return t&&uk(e,r,t)&&(r=void 0),u(e,iX(r))},sortBy:co,sortedIndex:function(e,r){return cf(e,r)},sortedIndexBy:function(e,r,t){return cc(e,r,iX(t))},sortedIndexOf:function(e,r){var t=null==e?0:e.length;if(t){var u=cf(e,r);if(u<t&&uA(e[u],r))return u}return -1},sortedLastIndex:function(e,r){return cf(e,r,!0)},sortedLastIndexBy:function(e,r,t){return cc(e,r,iX(t),!0)},sortedLastIndexOf:function(e,r){if(null==e?0:e.length){var t=cf(e,r,!0)-1;if(uA(e[t],r))return t}return -1},sortedUniq:function(e){return e&&e.length?cl(e):[]},sortedUniqBy:function(e,r){return e&&e.length?cl(e,iX(r)):[]},split:function(e,r,t){return(t&&"number"!=typeof t&&uk(e,r,t)&&(r=t=void 0),t=void 0===t?4294967295:t>>>0)?(e=nv(e))&&("string"==typeof r||null!=r&&!dW(r))&&!(r=te(r))&&nH(e)?nV(n5(e),0,t):e.split(r,t):[]},spread:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return r=null==r?0:cp(ty(r),0),uS(function(t){var u=t[r],n=nV(t,0,r);return u&&nS(n,u),tR(e,this,n)})},startCase:cg,startsWith:function(e,r,t){return e=nv(e),t=null==t?0:aL(ty(t),0,e.length),r=te(r),e.slice(t,t+r.length)==r},stubArray:aG,stubFalse:uM,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},subtract:ch,sum:function(e){return e&&e.length?d1(e,tm):0},sumBy:function(e,r){return e&&e.length?d1(e,iX(r)):0},tail:function(e){var r=null==e?0:e.length;return r?nZ(e,1,r):[]},take:function(e,r,t){return e&&e.length?nZ(e,0,(r=t||void 0===r?1:ty(r))<0?0:r):[]},takeRight:function(e,r,t){var u=null==e?0:e.length;return u?nZ(e,(r=u-(r=t||void 0===r?1:ty(r)))<0?0:r,u):[]},takeRightWhile:function(e,r){return e&&e.length?o_(e,iX(r),!1,!0):[]},takeWhile:function(e,r){return e&&e.length?o_(e,iX(r)):[]},tap:function(e,r){return r(e),e},template:function(e,r,t){var u=cx.imports._.templateSettings||cx;t&&uk(e,r,t)&&(r=void 0),e=nv(e),r=ne({},r,u,cb);var n,a,i=ne({},r.imports,u.imports,cb),o=u4(i),d=dl(i,o),s=0,c=r.interpolate||cF,f="__p += '",l=RegExp((r.escape||cF).source+"|"+c.source+"|"+(c===cD?cw:cF).source+"|"+(r.evaluate||cF).source+"|$","g"),p=cT.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(l,function(r,t,u,i,o,d){return u||(u=i),f+=e.slice(s,d).replace(ck,cA),t&&(n=!0,f+="' +\n__e("+t+") +\n'"),o&&(a=!0,f+="';\n"+o+";\n__p += '"),u&&(f+="' +\n((__t = ("+u+")) == null ? '' : __t) +\n'"),s=d+r.length,r}),f+="';\n";var g=cT.call(r,"variable")&&r.variable;if(g){if(cS.test(g))throw Error("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(cE,""):f).replace(cC,"$1").replace(c_,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(n?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var h=n$(function(){return Function(o,p+"return "+f).apply(void 0,d)});if(h.source=f,nM(h))throw h;return h},templateSettings:cx,throttle:function(e,r,t){var u=!0,n=!0;if("function"!=typeof e)throw TypeError("Expected a function");return to(t)&&(u="leading"in t?!!t.leading:u,n="trailing"in t?!!t.trailing:n),ou(e,r,{leading:u,maxWait:r,trailing:n})},thru:cP,times:function(e,r){if((e=ty(e))<1||e>9007199254740991)return[];var t=4294967295,u=cB(e,4294967295);r=oS(r),e-=4294967295;for(var n=uI(u,r);++t<e;)r(t);return n},toArray:se,toFinite:th,toInteger:ty,toIterator:cI,toJSON:cj,toLength:oW,toLower:function(e){return nv(e).toLowerCase()},toNumber:tp,toPairs:oI,toPairsIn:oj,toPath:function(e){return r8(e)?r5(e,nx):r2(e)?[e]:tK(nb(nv(e)))},toPlainObject:oc,toSafeInteger:function(e){return e?aL(ty(e),-9007199254740991,9007199254740991):0===e?e:0},toString:nv,toUpper:function(e){return nv(e).toUpperCase()},transform:function(e,r,t){var u=r8(e),n=u||uW(e)||uJ(e);if(r=iX(r),null==t){var a=e&&e.constructor;t=n?u?new a:[]:to(e)&&tb(a)?tj(nI(e)):{}}return(n?t7:i1)(e,function(e,u,n){return r(t,e,u,n)}),t},trim:function(e,r,t){if((e=nv(e))&&(t||void 0===r))return ti(e);if(!e||!(r=te(r)))return e;var u=n5(e),n=n5(r),a=cR(u,n),i=cO(u,n)+1;return nV(u,a,i).join("")},trimEnd:function(e,r,t){if((e=nv(e))&&(t||void 0===r))return e.slice(0,tn(e)+1);if(!e||!(r=te(r)))return e;var u=n5(e),n=cO(u,n5(r))+1;return nV(u,0,n).join("")},trimStart:function(e,r,t){if((e=nv(e))&&(t||void 0===r))return e.replace(cN,"");if(!e||!(r=te(r)))return e;var u=n5(e),n=cR(u,n5(r));return nV(u,n).join("")},truncate:function(e,r){var t=30,u="...";if(to(r)){var n="separator"in r?r.separator:n;t="length"in r?ty(r.length):t,u="omission"in r?te(r.omission):u}var a=(e=nv(e)).length;if(nH(e)){var i=n5(e);a=i.length}if(t>=a)return e;var o=t-sT(u);if(o<1)return u;var d=i?nV(i,0,o).join(""):e.slice(0,o);if(void 0===n)return d+u;if(i&&(o+=d.length-o),dW(n)){if(e.slice(o).search(n)){var s,c=d;for(n.global||(n=RegExp(n.source,nv(cL.exec(n))+"g")),n.lastIndex=0;s=n.exec(c);)var f=s.index;d=d.slice(0,void 0===f?o:f)}}else if(e.indexOf(te(n),o)!=o){var l=d.lastIndexOf(n);l>-1&&(d=d.slice(0,l))}return d+u},unary:function(e){return ub(e,1)},unescape:function(e){return(e=nv(e))&&cz.test(e)?e.replace(c$,cM):e},union:cq,unionBy:cZ,unionWith:cV,uniq:function(e){return e&&e.length?cW(e):[]},uniqBy:function(e,r){return e&&e.length?cW(e,iX(r)):[]},uniqWith:function(e,r){return r="function"==typeof r?r:void 0,e&&e.length?cW(e,void 0,r):[]},uniqueId:function(e){var r=++cG;return nv(e)+r},unset:function(e,r){return null==e||su(e,r)},unzip:cK,unzipWith:cX,update:function(e,r,t){return null==e?e:cJ(e,r,oS(t))},updateWith:function(e,r,t,u){return u="function"==typeof u?u:void 0,null==e?e:cJ(e,r,oS(t),u)},upperCase:cQ,upperFirst:n6,value:cj,valueOf:cj,values:dp,valuesIn:function(e){return null==e?[]:dl(e,u9(e))},without:cY,words:aw,wrap:function(e,r){return sN(oS(r),e)},wrapperAt:c0,wrapperChain:function(){return aO(this)},wrapperCommit:i_,wrapperLodash:tQ,wrapperNext:sr,wrapperPlant:sz,wrapperReverse:function(){var e=this.__wrapped__;if(e instanceof tU){var r=e;return this.__actions__.length&&(r=new tU(this)),(r=r.reverse()).__actions__.push({func:cP,args:[cr],thisArg:void 0}),new tH(r,this.__chain__)}return this.thru(cr)},wrapperToIterator:cI,wrapperValue:cj,xor:c2,xorBy:c3,xorWith:c4,zip:c5,zipObject:function(e,r){return c8(e||[],r||[],ux)},zipObjectDeep:function(e,r){return c8(e||[],r||[],si)},zipWith:c6}));let{pick:c7}=c9,{isCallExpression:fe}=rz,{isStringLiteral:fr}=rM,{isCallExpression:ft}=rz,{isLiteral:fu,isStringLiteral:fn,isNumberLiteral:fa,isBigIntLiteral:fi,isNullLiteral:fo,isRegexLiteral:fd}=rM,{isNewExpression:fs,isCallExpression:fc,isCallOrNewExpression:ff}=rz;var fl={isLiteral:fu,isStringLiteral:fn,isNumberLiteral:fa,isBigIntLiteral:fi,isNullLiteral:fo,isRegexLiteral:fd,isArrowFunctionBody:function(e){return"ArrowFunctionExpression"===e.parent.type&&e.parent.body===e},isCallExpression:fc,isCallOrNewExpression:ff,isEmptyNode:function e(r,t){let{type:u}=r;return"BlockStatement"===u?r.body.every(r=>e(r,t)):!!("EmptyStatement"===u||t?.(r))},isExpressionStatement:function(e){return"ExpressionStatement"===e.type||"ChainExpression"===e.type&&"ExpressionStatement"===e.parent.type},isFunction:function(e){return rU.includes(e.type)},isMemberExpression:rW,isMethodCall:function(e,r){"string"==typeof r&&(r={methods:[r]}),Array.isArray(r)&&(r={methods:r});let{optionalCall:t,optionalMember:u,method:n,methods:a}={method:"",methods:[],...r};return fe(e,{...c7(r,["argumentsLength","minimumArguments","maximumArguments","allowSpreadElement"]),optional:t})&&rW(e.callee,{...c7(r,["object","objects","computed"]),property:n,properties:a,optional:u})},isNewExpression:fs,isReferenceIdentifier:function(e,r=[]){if("Identifier"!==e.type)return!1;let t=Array.isArray(r)?r:[r];return(!(t.length>0)||!!t.includes(e.name))&&!function(e){let{parent:r}=e;switch(r.type){case"MemberExpression":return!r.computed&&r.property===e;case"FunctionDeclaration":case"FunctionExpression":return r.params.includes(e)||r.id===e;case"ArrowFunctionExpression":return r.params.includes(e);case"ClassDeclaration":case"ClassExpression":case"VariableDeclarator":case"TSDeclareFunction":case"TSEnumMember":return r.id===e;case"PropertyDefinition":case"MethodDefinition":return!r.computed&&r.key===e;case"Property":return!r.computed&&r.key===e&&("ObjectExpression"===r.parent.type||"ObjectPattern"===r.parent.type)&&r.parent.properties.includes(r)||r.value===e&&"ObjectPattern"===r.parent.type&&r.parent.properties.includes(r);case"ArrayPattern":return r.elements.includes(e);case"LabeledStatement":case"ContinueStatement":case"BreakStatement":return r.label===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":return r.local===e;case"ExportAllDeclaration":return r.exported===e;case"ImportSpecifier":return r.local===e||r.imported===e;case"ExportSpecifier":return r.local===e||r.exported===e;case"TSPropertySignature":return r.key===e}return!1}(e)},isStaticRequire:e=>ft(e,{name:"require",argumentsLength:1,optional:!1})&&fr(e.arguments[0]),isUndefined:function(e){return"Identifier"===e.type&&"undefined"===e.name},functionTypes:rU};let fp={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",186:";",187:"=",188:",",189:"-",190:".",191:"/",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},{isNumberLiteral:fg}=fl,fh="prefer-keyboard-event-key",fy=new Set(["keyCode","charCode","which"]),fm=e=>e?.type==="CallExpression"&&"MemberExpression"===e.callee.type&&"addEventListener"===e.callee.property.name,fb=(e,r)=>{let t=fA(r,"CallExpression",fm),u=t?.arguments[1];switch(u?.type){case"ArrowFunctionExpression":case"FunctionExpression":{let r=e.sourceCode.getDeclaredVariables(u)[0],t=r?.references;return{event:u.params[0],references:t}}default:return{}}},fv=(e,r)=>e?.parent?.type==="MemberExpression"&&e.parent.object===r,fA=(e,r,t=()=>!0)=>{let u=e;for(;u;){if(u.type===r&&t(u))return u;u=u.parent}},fD=(e,r)=>{let t=e;for(;t&&r;)r--,t=t.parent;if(0===r)return t},fx=e=>r=>{let t=fD(e,3);if(!t||"IfStatement"!==t.type)return;let{type:u,operator:n,right:a}=t.test;if(!("BinaryExpression"===u&&("=="===n||"==="===n)&&fg(a)))return;let i=fp[a.value]||String.fromCodePoint(a.value);if(i)return[r.replaceText(e,"key"),r.replaceText(a,rN(i))]},fE=e=>({messageId:fh,data:{name:e.name},node:e,fix:fx(e)});var fC=et({create:e=>({Identifier(r){if("keyCode"!==r.name&&"charCode"!==r.name&&"which"!==r.name)return;let{event:t,references:u}=fb(e,r);if(t&&u&&u.some(e=>fv(r,e.identifier)))return fE(r)},Property(r){let t=r.value.name;if(!fy.has(t))return;let{event:u,references:n}=fb(e,r);if(!u)return;let a=fA(r,"VariableDeclarator"),i=a?.init;if(n&&n.some(e=>e.identifier===i))return fE(r.value);let o="ObjectPattern"===u.type;if(o){for(let e of u.properties)if(e===r)return fE(r.value)}}}),meta:{type:"suggestion",docs:{description:"Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`."},fixable:"code",messages:{[fh]:"Use `.key` instead of `.{{name}}`."}}});let{isMemberExpression:f_}=fl,fS="error",fw="suggestion";var fF=et({create:()=>({MemberExpression(e){if(!f_(e,{property:"innerText"}))return;let r=e.property;return{node:r,messageId:fS,suggest:[{messageId:fw,fix:e=>e.replaceText(r,"textContent")}]}},Identifier(e){if("innerText"===e.name&&"Property"===e.parent.type&&e.parent.key===e&&!e.parent.computed&&"init"===e.parent.kind&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent))return{node:e,messageId:fS,suggest:[{messageId:fw,fix:r=>r.replaceText(e,e.parent.shorthand?"textContent: innerText":"textContent")}]}}}),meta:{type:"suggestion",docs:{description:"Prefer `.textContent` over `.innerText`."},hasSuggestions:!0,messages:{[fS]:"Prefer `.textContent` over `.innerText`.",[fw]:"Switch to `.textContent`."}}}),fk=function*(e,r){yield e.insertTextBeforeRange(r,""),yield e.insertTextAfterRange(r,"")};let{isParenthesized:fT,isOpeningParenToken:fP,isClosingParenToken:fB}=ro;function fI(e,r){let t=0;for(;fT(t+1,e,r);)t++;return t}function fj(e,r){let t=fI(e,r);return 0===t?[]:[...r.getTokensBefore(e,{count:t,filter:fP}),...r.getTokensAfter(e,{count:t,filter:fB})]}function fO(e,r){let t=fj(e,r),[u]=(t[0]||e).range,[,n]=(t[t.length-1]||e).range;return[u,n]}var fR={isParenthesized:fT,getParenthesizedTimes:fI,getParentheses:fj,getParenthesizedRange:fO,getParenthesizedText:function(e,r){let[t,u]=fO(e,r);return r.text.slice(t,u)}};let{getParentheses:fN}=fR;var fL=function*(e,r,t){let u=fN(e,t);for(let e of u)yield r.remove(e)};let{isCommaToken:fM}=ro,{isCommaToken:f$}=ro,{getParentheses:fz}=fR,{getParenthesizedRange:fU}=fR,{isOpeningParenToken:fW,isClosingParenToken:fq}=ro;var fZ=function(e,r){if(e.arguments.length>0)return!0;let[t,u]=r.getLastTokens(e,2);return fW(t)&&fq(u)&&e.callee.range[1]<e.range[1]},fV=function(e,r){return e.loc.start.line===r.loc.start.line};let{isSemicolonToken:fG}=ro;var fH=function*(e,r,t){if("ReturnStatement"!==r.type&&"ThrowStatement"!==r.type)return;let u=t.getFirstToken(r);yield e.insertTextAfter(u," (");let n=t.getLastToken(r);if(!fG(n)){yield e.insertTextAfter(r,")");return}yield e.insertTextBefore(n,")")},fK=function(e,r,t){let u=e;"object"==typeof e&&Array.isArray(e.range)&&(u=e.range[1]);let n=r.text.slice(u),[a]=n.match(/^\s*/);return t.removeRange([u,u+a.length])};let{isParenthesized:fX}=fR;var fJ=function*(e,r,t){let u=r.getFirstToken(e);yield t.remove(u),yield fK(u,r,t),fZ(e,r)||(yield t.insertTextAfter(e,"()")),fV(u,e.callee)||fX(e,r)||(yield*fH(t,e.parent,r))};let{isParenthesized:fQ}=fR;var fY=function*(e,r,t){var u;yield t.insertTextBefore(e,"new ");let{callee:n}=e;!fQ(n,r)&&"MemberExpression"===(u=n).type&&function(e){let r=e.object,t=e.object.type;for(;"MemberExpression"===t;)t=(r=r.object).type;return"CallExpression"===t}(u)&&(yield t.insertTextBefore(n,"("),yield t.insertTextAfter(n,")"))};let{getParenthesizedRange:f0}=fR;var f1=function(e,r,t){let[,u]=f0(r.object,t),[,n]=r.range;return e.removeRange([u,n])};let{getParenthesizedRange:f2}=fR;var f3=function*(e,r,t){let u=r.callee;yield f1(e,u,t);let[,n]=f2(u,t),[,a]=r.range;yield e.removeRange([n,a])},f4=e=>"Property"===e.parent.type&&e.parent.shorthand&&e===e.parent.value,f5=(e,r)=>e&&r&&e.range[0]===r.range[0]&&e.range[1]===r.range[1];let f8=e=>"AssignmentPattern"===e.parent.type&&e.parent.left===e&&f4(e.parent),f6=e=>{let{type:r,local:t,imported:u}=e.parent;return"ImportSpecifier"===r&&f5(t,u)&&t===e},f9=e=>{let{type:r,local:t,exported:u}=e.parent;return"ExportSpecifier"===r&&f5(t,u)&&t===e};var f7=function(e,r,t){return f4(e)||f8(e)?t.replaceText(e,`${e.name}: ${r}`):f6(e)?t.replaceText(e,`${e.name} as ${r}`):f9(e)?t.replaceText(e,`${r} as ${e.name}`):e.typeAnnotation?t.replaceTextRange([e.range[0],e.typeAnnotation.range[0]],`${r}${e.optional?"?":""}`):t.replaceText(e,r)},le=({identifiers:e,references:r})=>[...new Set([...e,...r.map(({identifier:e})=>e)])];let{getParentheses:lr}=fR;var lt=function* e(r,t,u,n,a=n){let i=lr(r,a);for(let r of i)yield*e(r,"",u,n,a);let[o,d]=r.range,s=n.text.slice(0,o),[c]=s.match(/\s*$/),[f]=c.match(/(?:\r?\n|\r){0,1}/);o-=c.length,yield u.replaceTextRange([o,d],`${f}${t}`)};let{getParenthesizedRange:lu}=fR,ln=({type:e,value:r})=>"Keyword"===e&&/^[a-z]*$/.test(r)||"Identifier"===e&&"of"===r||"Identifier"===e&&"await"===r;var la={extendFixRange:fk,removeParentheses:fL,appendArgument:function(e,r,t,u){if("CallExpression"!==r.type)throw Error(`Unexpected node "${r.type}".`);let[n,a]=u.getLastTokens(r,2);return r.arguments.length>0&&(t=fM(n)?` ${t},`:`, ${t}`),e.insertTextBefore(a,t)},removeArgument:function(e,r,t){let u=r.parent,n=u.arguments.indexOf(r),a=fz(r,t),i=a[0]||r,o=a[a.length-1]||r,[d]=i.range,[,s]=o.range;if(0!==n&&(d=t.getTokenBefore(i).range[0]),1===u.arguments.length){let e=t.getTokenBefore(o);f$(e)&&(s=e[1])}return e.replaceTextRange([d,s],"")},replaceArgument:function(e,r,t,u){return e.replaceTextRange(fU(r,u),t)},switchNewExpressionToCallExpression:fJ,switchCallExpressionToNewExpression:fY,removeMemberExpressionProperty:f1,removeMethodCall:f3,replaceTemplateElement:(e,r,t)=>{let{range:[u,n],tail:a}=r;return e.replaceTextRange([u+1,n-(a?1:2)],t)},replaceReferenceIdentifier:f7,renameVariable:(e,r,t)=>le(e).map(e=>f7(e,r,t)),replaceNodeOrTokenAndSpacesBefore:lt,removeSpacesAfter:fK,fixSpaceAroundKeyword:function*(e,r,t){let u=lu(r,t),n=t.getTokenBefore({range:u},{includeComments:!0});n&&u[0]===n.range[1]&&ln(n)&&(yield e.insertTextAfter(n," "));let a=t.getTokenAfter({range:u},{includeComments:!0});a&&u[1]===a.range[0]&&ln(a)&&(yield e.insertTextBefore(a," "))},replaceStringLiteral:function(e,r,t,u,n){let a=r.range[0]+1,i=Number.isInteger(n)?u+a:a,o=Number.isInteger(n)?n+a:r.range[1]-1;return e.replaceTextRange([i,o],t)},addParenthesizesToReturnOrThrowExpression:fH};let{isMemberExpression:li}=fl;function lo(e,r){let{object:t,property:u,properties:n}={property:"",properties:[],...r};if(!li(e,{property:u,properties:n,optional:!1}))return;let a=e.object;return li(a,{object:t,property:"prototype",optional:!1})||"Array"===t&&"ArrayExpression"===a.type&&0===a.elements.length||"Object"===t&&"ObjectExpression"===a.type&&0===a.properties.length}function ld(e,r){let t=r.trim().split(".");for(let r=t.length-1;r>=0;r--){let u=t[r];if(!u)return!1;if(0===r)return"Identifier"===e.type&&e.name===u||"this"===u&&"ThisExpression"===e.type;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==u)return!1;e=e.object}}var ls=e=>e?.type==="LogicalExpression"&&("&&"===e.operator||"||"===e.operator);let lc=e=>e?.type==="UnaryExpression"&&"!"===e.operator,lf=e=>lc(e.parent)&&e.parent.argument===e,ll=e=>lp(e.parent)&&e.parent.arguments[0]===e,lp=e=>e?.type==="CallExpression"&&"Identifier"===e.callee.type&&"Boolean"===e.callee.name&&1===e.arguments.length,lg=e=>e?.type==="VExpressionContainer"&&"VAttribute"===e.parent.type&&e.parent.directive&&e.parent.value===e&&"VDirectiveKey"===e.parent.key.type&&"VIdentifier"===e.parent.key.name.type&&("if"===e.parent.key.name.rawName||"else-if"===e.parent.key.name.rawName||"show"===e.parent.key.name.rawName);var lh={},ly={};Object.defineProperty(ly,"__esModule",{value:!0}),ly.isIdentifierChar=l_,ly.isIdentifierName=function(e){let r=!0;for(let t=0;t<e.length;t++){let u=e.charCodeAt(t);if((64512&u)==55296&&t+1<e.length){let r=e.charCodeAt(++t);(64512&r)==56320&&(u=65536+((1023&u)<<10)+(1023&r))}if(r){if(r=!1,!lC(u))return!1}else if(!l_(u))return!1}return!r},ly.isIdentifierStart=lC;let lm="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",lb="‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",lv=RegExp("["+lm+"]"),lA=RegExp("["+lm+lb+"]");lm=lb=null;let lD=[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,16,621,2467,541,1507,4938,6,4191],lx=[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 lE(e,r){let t=65536;for(let u=0,n=r.length;u<n&&!((t+=r[u])>e);u+=2)if((t+=r[u+1])>=e)return!0;return!1}function lC(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lv.test(String.fromCharCode(e)):lE(e,lD)))}function l_(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lA.test(String.fromCharCode(e)):lE(e,lD)||lE(e,lx))))}var lS={};Object.defineProperty(lS,"__esModule",{value:!0}),lS.isKeyword=function(e){return lF.has(e)},lS.isReservedWord=lP,lS.isStrictBindOnlyReservedWord=lI,lS.isStrictBindReservedWord=function(e,r){return lB(e,r)||lI(e)},lS.isStrictReservedWord=lB;let lw={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},lF=new Set(lw.keyword),lk=new Set(lw.strict),lT=new Set(lw.strictBind);function lP(e,r){return r&&"await"===e||"enum"===e}function lB(e,r){return lP(e,r)||lk.has(e)}function lI(e){return lT.has(e)}Object.defineProperty(lh,"__esModule",{value:!0}),Object.defineProperty(lh,"isIdentifierChar",{enumerable:!0,get:function(){return h.isIdentifierChar}}),Object.defineProperty(lh,"isIdentifierName",{enumerable:!0,get:function(){return h.isIdentifierName}}),Object.defineProperty(lh,"isIdentifierStart",{enumerable:!0,get:function(){return h.isIdentifierStart}}),Object.defineProperty(lh,"isKeyword",{enumerable:!0,get:function(){return y.isKeyword}}),Object.defineProperty(lh,"isReservedWord",{enumerable:!0,get:function(){return y.isReservedWord}}),Object.defineProperty(lh,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return y.isStrictBindOnlyReservedWord}}),Object.defineProperty(lh,"isStrictBindReservedWord",{enumerable:!0,get:function(){return y.isStrictBindReservedWord}}),Object.defineProperty(lh,"isStrictReservedWord",{enumerable:!0,get:function(){return y.isStrictReservedWord}}),h=ly,y=lS;let lj=e=>[e,...e.childScopes.flatMap(e=>lj(e))];var lO=e=>[...new Set(lj(e).flatMap(({references:e})=>e))];let{isIdentifierName:lR,isStrictReservedWord:lN,isKeyword:lL}=lh,lM=(e,r)=>{for(;r;){let t=r.set.get(e);if(t)return t;r=r.upper}},l$=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","as","implements","interface","let","package","private","protected","public","static","yield","any","boolean","constructor","declare","get","module","require","number","set","string","symbol","type","from","of"]),lz=e=>"string"==typeof e&&!lL(e)&&!lN(e,!0)&&lR(e)&&"arguments"!==e&&!l$.has(e),lU=(e,r)=>lO(r).some(({identifier:r,resolved:t})=>r?.name===e&&!t),lW=(e,r)=>!r.some(r=>lM(e,r)||lU(e,r)),lq=()=>!0,lZ=e=>"MemberExpression"===e.type||"CallExpression"===e.type,{findVariable:lV}=ro,lG=(e,r)=>{let{references:t=[]}=lV(e,r)||{};return t};var lH=e=>("AssignmentExpression"===e.parent.type||"AssignmentPattern"===e.parent.type)&&e.parent.left===e||"UpdateExpression"===e.parent.type&&e.parent.argument===e||"ArrayPattern"===e.parent.type&&e.parent.elements.includes(e)||"Property"===e.parent.type&&e.parent.value===e&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent)||"UnaryExpression"===e.parent.type&&"delete"===e.parent.operator&&e.parent.argument===e;let{isUndefined:lK}=fl,lX=new Set(["ArrayExpression","ArrowFunctionExpression","ClassExpression","FunctionExpression","Literal","ObjectExpression","TemplateLiteral"]),{isUndefined:lJ,isCallExpression:lQ,isMethodCall:lY}=fl,l0=new Set(["ArrayExpression","BinaryExpression","ClassExpression","Literal","ObjectExpression","TemplateLiteral","UnaryExpression","UpdateExpression"]),l1=new Set(["AssignmentExpression","AwaitExpression","LogicalExpression","NewExpression","TaggedTemplateExpression","ThisExpression"]),{getStaticValue:l2}=ro;function l3(e){let r;switch(e?.type){case"MemberExpression":r=e.property;break;case"ChainExpression":return l3(e.expression);case"Property":case"MethodDefinition":r=e.key}if(r){if("Identifier"===r.type&&!e.computed)return r.name;let t=l2(r);if(!t)return;return String(t.value)}}var l4=function(e,r){let t=function(e,r){let t=e.references.filter(e=>e.identifier===r);if(1===t.length)return t[0]}(e,r);return t?.resolved&&t.resolved.defs.length>0};let{isExpressionStatement:l5}=fl,l8=new Set(["String","Null","Boolean","Numeric","RegularExpression"]),l6=new Set(["[","(","/","`","+","-","*",",","."]);var l9=function(e,r,t){if(""===t||t&&!l6.has(t.charAt(0))||!e)return!1;let{type:u,value:n,range:a}=e,i=r.getNodeByRangeIndex(a[0]);if("Punctuator"===u){if(";"===n)return!1;if("]"===n)return!0;if(")"===n){switch(i.type){case"IfStatement":if(r.getTokenBefore(i.consequent)===e)return!1;break;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"WhileStatement":case"DoWhileStatement":case"WithStatement":if(i.body&&r.getTokenBefore(i.body)===e)return!1}return!0}}return!!l8.has(u)||("Template"===u?n.endsWith("`"):"ObjectExpression"===i.type||"Identifier"===u&&("of"!==n||"ForOfStatement"!==i.type)&&("await"!==n||"AwaitExpression"!==i.type))};let{isNumberLiteral:l7,isBigIntLiteral:pe}=fl,pr=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,pt=e=>pr.test(e);var pu={isDecimalIntegerNode:e=>l7(e)&&pt(e.raw),isDecimalInteger:pt,isNumeric:e=>l7(e)||pe(e),isLegacyOctal:e=>l7(e)&&/^0\d+$/.test(e.raw),getPrefix:function(e){let r="",t=e;return/^0[box]/i.test(e)&&(r=e.slice(0,2),t=e.slice(2)),{prefix:r,data:t}},parseNumber:function(e){let{number:r,mark:t="",sign:u="",power:n=""}=e.match(/^(?<number>[\d._]*?)(?:(?<mark>[Ee])(?<sign>[+-])?(?<power>[\d_]+))?$/).groups;return{number:r,mark:t,sign:u,power:n}},parseFloatNumber:function(e){let r=e.split("."),[t,u=""]=r,n=2===r.length?".":"";return{integer:t,dot:n,fractional:u}}};let{isDecimalIntegerNode:pn}=pu,pa=new Set(["CallExpression","Identifier","Literal","MemberExpression","NewExpression","TemplateLiteral","ThisExpression"]);var pi=e=>!pa.has(e.type),po={exports:{}};po.exports=function(){var e=[],r=[],t={},u={},n={};function a(e){return"string"==typeof e?RegExp("^"+e+"$","i"):e}function i(e,r){return e===r?r:e===e.toLowerCase()?r.toLowerCase():e===e.toUpperCase()?r.toUpperCase():e[0]===e[0].toUpperCase()?r.charAt(0).toUpperCase()+r.substr(1).toLowerCase():r.toLowerCase()}function o(e,r,u){if(!e.length||t.hasOwnProperty(e))return r;for(var n=u.length;n--;){var a=u[n];if(a[0].test(r))return function(e,r){return e.replace(r[0],function(t,u){var n,a,o=(n=r[1],a=arguments,n.replace(/\$(\d{1,2})/g,function(e,r){return a[r]||""}));return""===t?i(e[u-1],o):i(t,o)})}(r,a)}return r}function d(e,r,t){return function(u){var n=u.toLowerCase();return r.hasOwnProperty(n)?i(u,n):e.hasOwnProperty(n)?i(u,e[n]):o(n,u,t)}}function s(e,r,t,u){return function(u){var n=u.toLowerCase();return!!r.hasOwnProperty(n)||!e.hasOwnProperty(n)&&o(n,n,t)===n}}function c(e,r,t){var u=1===r?c.singular(e):c.plural(e);return(t?r+" ":"")+u}return c.plural=d(n,u,e),c.isPlural=s(n,u,e),c.singular=d(u,n,r),c.isSingular=s(u,n,r),c.addPluralRule=function(r,t){e.push([a(r),t])},c.addSingularRule=function(e,t){r.push([a(e),t])},c.addUncountableRule=function(e){if("string"==typeof e){t[e.toLowerCase()]=!0;return}c.addPluralRule(e,"$0"),c.addSingularRule(e,"$0")},c.addIrregularRule=function(e,r){r=r.toLowerCase(),n[e=e.toLowerCase()]=r,u[r]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return c.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return c.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return c.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(c.addUncountableRule),c}();var pd=po.exports;let{singular:ps}=pd;var pc=function(e,r,t=0,u=0){let[n,a]=Array.isArray(e)?e:e.range;return{start:r.getLocFromIndex(n+t),end:r.getLocFromIndex(a+u)}};let{isParenthesized:pf,getParenthesizedTimes:pl,getParentheses:pp,getParenthesizedRange:pg,getParenthesizedText:ph}=fR,{isArrayPrototypeProperty:py,isObjectPrototypeProperty:pm}={isArrayPrototypeProperty:(e,r)=>lo(e,{...r,object:"Array"}),isObjectPrototypeProperty:(e,r)=>lo(e,{...r,object:"Object"})},{isNodeMatches:pb,isNodeMatchesNameOrPath:pv}={isNodeMatchesNameOrPath:ld,isNodeMatches:function(e,r){return r.some(r=>ld(e,r))}},{isBooleanNode:pA,getBooleanAncestor:pD}={isBooleanNode:function e(r){if(lc(r)||lf(r)||lp(r)||ll(r))return!0;let{parent:t}=r;return!!lg(t)||("IfStatement"===t.type||"ConditionalExpression"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"ForStatement"===t.type)&&t.test===r||!!ls(t)&&e(t)},getBooleanAncestor:function(e){let r=!1;for(;;)if(lf(e))r=!r,e=e.parent;else if(ll(e))e=e.parent;else break;return{node:e,isNegative:r}}};var px={avoidCapture:(e,r,t=lq)=>{if(lz(e)||lz(e+="_")){for(;!lW(e,r)||!t(e,r);)e+="_";return e}},escapeString:rN,getBooleanAncestor:pD,getParentheses:pp,getParenthesizedRange:pg,getParenthesizedText:ph,getParenthesizedTimes:pl,getReferences:lO,getScopes:lj,getVariableIdentifiers:le,hasOptionalChainElement:function e(r){return!!lZ(r)&&(!!r.optional||"MemberExpression"===r.type&&e(r.object))},isArrayPrototypeProperty:py,isBooleanNode:pA,isFunctionSelfUsedInside:function(e,r){if(r.block!==e)throw Error('"functionScope" should be the scope of "functionNode".');let{type:t,id:u}=e;return"ArrowFunctionExpression"!==t&&(!!(r.thisFound||lG(r,"arguments").some(({from:e})=>e===r))||!!u&&lG(r,u).length>0)},isLeftHandSide:lH,isLogicalExpression:ls,isMethodNamed:(e,r)=>"CallExpression"===e.type&&"MemberExpression"===e.callee.type&&"Identifier"===e.callee.property.type&&e.callee.property.name===r,isNodeMatches:pb,isNodeMatchesNameOrPath:pv,isNodeValueNotDomNode:e=>lX.has(e.type)||lK(e),isNodeValueNotFunction:e=>l0.has(e.type)||l1.has(e.type)||lJ(e)||lQ(e)&&!lY(e,{method:"bind",optionalCall:!1,optionalMember:!1}),isObjectPrototypeProperty:pm,isOnSameLine:fV,isParenthesized:pf,isSameIdentifier:(e,r)=>"Identifier"===e.type&&"Identifier"===r.type&&e.name===r.name,isSameReference:function e(r,t){if(r.type!==t.type)return"ChainExpression"===r.type?e(r.expression,t):"ChainExpression"===t.type&&e(r,t.expression);switch(r.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return r.name===t.name;case"Literal":return r.regex||t.regex?!!(r.regex&&t.regex&&r.regex.pattern===t.regex.pattern&&r.regex.flags===t.regex.flags):r.bigint||t.bigint?r.bigint===t.bigint:r.value===t.value;case"ChainExpression":return e(r.expression,t.expression);case"MemberExpression":{let u=l3(r);if(void 0!==u)return e(r.object,t.object)&&u===l3(t);return r.computed===t.computed&&e(r.object,t.object)&&e(r.property,t.property)}default:return!1}},isShadowed:l4,isValueNotUsable:e=>l5(e.parent),needsSemicolon:l9,shouldAddParenthesesToMemberExpressionObject:function(e,r){switch(e.type){case"Identifier":case"MemberExpression":case"CallExpression":case"ChainExpression":case"TemplateLiteral":case"ThisExpression":case"ArrayExpression":case"FunctionExpression":return!1;case"NewExpression":return!fZ(e,r);case"Literal":if(pn(e))return!0;return!1;default:return!0}},shouldAddParenthesesToSpreadElementArgument:pi,singular:e=>{let r=ps(e);if(r!==e)return r},toLocation:pc};let{appendArgument:pE}=la,{isMethodCall:pC}=fl,{isArrayPrototypeProperty:p_}=px,pS="require-array-join-separator";var pw=et({create:e=>({CallExpression(r){if(!(pC(r,{method:"join",argumentsLength:0,optionalCall:!1})||pC(r,{method:"call",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&p_(r.callee.object,{property:"join"})))return;let{sourceCode:t}=e,[u,n]=t.getLastTokens(r,2),a=1===r.arguments.length;return{loc:{start:u.loc[a?"end":"start"],end:n.loc.end},messageId:pS,fix:e=>pE(e,r,"','",t)}}}),meta:{type:"suggestion",docs:{description:"Enforce using the separator argument with `Array#join()`."},fixable:"code",messages:{[pS]:"Missing the separator argument."}}});let{getStaticValue:pF,getPropertyName:pk}=ro,{isMethodCall:pT}=fl,pP="no-thenable-object",pB="no-thenable-export",pI="no-thenable-class",pj=(e,r)=>pF(e,r.sourceCode.getScope(e))?.value==="then",pO=[{selector:"ObjectExpression",*getNodes(e,r){for(let t of e.properties)"Property"===t.type&&"then"===pk(t,r.sourceCode.getScope(t))&&(yield t.key)},messageId:pP},{selectors:["PropertyDefinition","MethodDefinition"],*getNodes(e,r){"then"===pk(e,r.sourceCode.getScope(e))&&(yield e.key)},messageId:pI},{selector:"MemberExpression",*getNodes(e,r){"AssignmentExpression"===e.parent.type&&e.parent.left===e&&"then"===pk(e,r.sourceCode.getScope(e))&&(yield e.property)},messageId:pP},{selector:"CallExpression",*getNodes(e,r){if(!(pT(e,{objects:["Object","Reflect"],method:"defineProperty",minimumArguments:3,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==e.arguments[0].type))return;let[,t]=e.arguments;pj(t,r)&&(yield t)},messageId:pP},{selector:"CallExpression",*getNodes(e,r){if(pT(e,{object:"Object",method:"fromEntries",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&"ArrayExpression"===e.arguments[0].type){for(let t of e.arguments[0].elements)if(t?.type==="ArrayExpression"&&t.elements[0]&&"SpreadElement"!==t.elements[0].type){let[e]=t.elements;pj(e,r)&&(yield e)}}},messageId:pP},{selector:"Identifier",*getNodes(e){"then"===e.name&&"ExportSpecifier"===e.parent.type&&e.parent.exported===e&&(yield e)},messageId:pB},{selector:"Identifier",*getNodes(e){"then"===e.name&&("FunctionDeclaration"===e.parent.type||"ClassDeclaration"===e.parent.type)&&e.parent.id===e&&"ExportNamedDeclaration"===e.parent.parent.type&&e.parent.parent.declaration===e.parent&&(yield e)},messageId:pB},{selector:"VariableDeclaration",*getNodes(e,r){if("ExportNamedDeclaration"===e.parent.type&&e.parent.declaration===e)for(let t of r.sourceCode.getDeclaredVariables(e))"then"===t.name&&(yield*t.identifiers)},messageId:pB}];var pR=et({create:e=>{for(let{selector:r,selectors:t,messageId:u,getNodes:n}of pO)e.on(r??t,function*(r){for(let t of n(r,e))yield{node:t,messageId:u}})},meta:{type:"problem",docs:{description:"Disallow `then` property."},messages:{[pP]:"Do not add `then` to an object.",[pB]:"Do not export `then`.",[pI]:"Do not add `then` to a class."}}});let{getFunctionHeadLocation:pN}=ro,{isMethodCall:pL}=fl,pM="no-invalid-remove-event-listener";var p$=et({create:e=>({CallExpression(r){if(!(pL(r,{method:"removeEventListener",minimumArguments:2,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==r.arguments[0].type&&("FunctionExpression"===r.arguments[1].type||"ArrowFunctionExpression"===r.arguments[1].type||pL(r.arguments[1],{method:"bind",optionalCall:!1,optionalMember:!1}))))return;let[,t]=r.arguments;return["ArrowFunctionExpression","FunctionExpression"].includes(t.type)?{node:t,loc:pN(t,e.sourceCode),messageId:pM}:{node:t.callee.property,messageId:pM}}}),meta:{type:"problem",docs:{description:"Prevent calling `EventTarget#removeEventListener()` with the result of an expression."},messages:{[pM]:"The listener argument should be a function reference."}}});let{getFunctionHeadLocation:pz,getFunctionNameWithKind:pU}=ro,{getReferences:pW,isNodeMatches:pq}=px,{functionTypes:pZ}=fl,pV="consistent-function-scoping",pG=(e,r)=>e&&r&&(e===r||e.block===r.block),pH=["useState","useEffect","useContext","useReducer","useCallback","useMemo","useRef","useImperativeHandle","useLayoutEffect","useDebugValue"].flatMap(e=>[e,`React.${e}`]),pK=e=>e.block?.parent?.callee&&pq(e.block.parent.callee,pH),pX=e=>"function"===e.type&&e.block?.type==="ArrowFunctionExpression"&&(e.thisFound||e.childScopes.some(e=>pX(e))),pJ=new Set(["FunctionExpression","ArrowFunctionExpression"]),pQ=e=>pJ.has(e.type)&&"CallExpression"===e.parent.type&&e.parent.callee===e;var pY=et({create:e=>{let{checkArrowFunctions:r}={checkArrowFunctions:!0,...e.options[0]},{sourceCode:t}=e,{scopeManager:u}=t,n=[];e.on(pZ,()=>{n.push(!1)}),e.on("JSXElement",()=>{n.length>0&&(n[n.length-1]=!0)}),e.onExit(pZ,e=>{let a=n.pop();if(!(a||"ArrowFunctionExpression"===e.type&&!r||function(e,r){let t=r.acquire(e);if(!t||pX(t))return!0;let u=e.parent;"VariableDeclarator"===u.type&&(u=u.parent),"VariableDeclaration"===u.type&&(u=u.parent),"BlockStatement"===u.type&&(u=u.parent);let n=r.acquire(u);return!!(!n||"global"===n.type||pK(n)||pQ(u))||function(e,r,t){let u=e=>e.some(e=>{if(pG(r,e.from))return!0;let{resolved:t}=e,[u]=t.defs;return(u?.type!=="FunctionName"||t.name!==u.name.name)&&pG(r,t.scope)}),n=e=>e.some(e=>{let u=t.acquire(e.node);return pG(r,u)}),a=u=>u.some(u=>{if(!u.parent||"FunctionDeclaration"!==u.parent.type)return!1;let n=t.acquire(u);if(n)return!1;let a=t.acquire(u.parent);return!(!a||pG(e,a))&&pG(r,a.upper)});return pW(e).map(({resolved:e})=>e).filter(Boolean).some(e=>u(e.references)||n(e.defs)||a(e.identifiers))}(t,n,r)}(e,u)))return{node:e,loc:pz(e,t),messageId:pV,data:{functionNameWithKind:pU(e,t)}}})},meta:{type:"suggestion",docs:{description:"Move function definitions to the highest possible scope."},schema:[{type:"object",additionalProperties:!1,properties:{checkArrowFunctions:{type:"boolean",default:!0}}}],messages:{[pV]:"Move {{functionNameWithKind}} to the outer scope."}}});let{getStaticValue:p0}=ro,{isNumberLiteral:p1}=fl,p2=(e,r,t)=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.object.type&&e.object.name===r&&"Identifier"===e.property.type&&t.has(e.property.name),p3=(e,r)=>"CallExpression"===e.type&&!e.optional&&"Identifier"===e.callee.type&&e.callee.name===r,p4=new Set(["E","LN2","LN10","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"]),p5=e=>p2(e,"Math",p4),p8=new Set(["abs","acos","acosh","asin","asinh","atan","atanh","atan2","cbrt","ceil","clz32","cos","cosh","exp","expm1","floor","fround","hypot","imul","log","log1p","log10","log2","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc"]),p6=e=>"CallExpression"===e.type&&!e.optional&&p2(e.callee,"Math",p8),p9=e=>p3(e,"Number"),p7=new Set(["EPSILON","MAX_SAFE_INTEGER","MAX_VALUE","MIN_SAFE_INTEGER","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]),ge=e=>p2(e,"Number",p7),gr=new Set(["parseFloat","parseInt"]),gt=e=>"CallExpression"===e.type&&!e.optional&&p2(e.callee,"Number",gr),gu=e=>p3(e,"parseInt")||p3(e,"parseFloat"),gn=(e,r)=>"number"==typeof p0(e,r)?.value,ga=e=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.property.type&&"length"===e.property.name,gi=new Set(["-","*","/","%","**","<<",">>","|","^","&"]);var go=function e(r,t){if(p1(r)||p5(r)||p6(r)||p9(r)||ge(r)||gt(r)||gu(r)||ga(r))return!0;switch(r.type){case"AssignmentExpression":{let{operator:u}=r;if("="===u&&e(r.right,t))return!0}case"BinaryExpression":{let{operator:u}=r;if("AssignmentExpression"===r.type&&(u=u.slice(0,-1)),"+"===u&&e(r.left,t)&&e(r.right,t)||">>>"===u||gi.has(u)&&(e(r.left,t)||e(r.right,t)))return!0;break}case"UnaryExpression":{let{operator:u}=r;if("+"===u||("-"===u||"~"===u)&&e(r.argument,t))return!0;break}case"UpdateExpression":if(e(r.argument,t))return!0;break;case"ConditionalExpression":{let u=e(r.consequent,t),n=e(r.alternate,t);if(u&&n)return!0;let a=p0(r.test,t);if(null!==a&&(a.value&&u||!a.value&&n))return!0;break}case"SequenceExpression":if(e(r.expressions[r.expressions.length-1],t))return!0}return gn(r,t)};let{getStaticValue:gd}=ro,{switchNewExpressionToCallExpression:gs}=la,{isNewExpression:gc}=fl,gf="error",gl="error-unknown",gp="suggestion",gg=(e,r)=>{if(1!==e.length)return"from";let[t]=e;if("SpreadElement"===t.type)return;if("ArrayExpression"===t.type||"TemplateLiteral"===t.type)return"from";if(go(t,r))return"alloc";let u=gd(t,r);if(u){let{value:e}=u;if("string"==typeof e||Array.isArray(e))return"from"}};function gh(e,r,t){return function*(u){yield u.insertTextAfter(e.callee,`.${t}`),yield*gs(e,r,u)}}var gy=et({create:e=>{let{sourceCode:r}=e;return{NewExpression(e){if(!gc(e,{name:"Buffer"}))return;let t=gg(e.arguments,r.getScope(e));return t?{node:e,messageId:gf,data:{method:t},fix:gh(e,r,t)}:{node:e,messageId:gl,suggest:["from","alloc"].map(t=>({messageId:gp,data:{replacement:t},fix:gh(e,r,t)}))}}}},meta:{type:"problem",docs:{description:"Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`."},fixable:"code",hasSuggestions:!0,messages:{[gf]:"`new Buffer()` is deprecated, use `Buffer.{{method}}()` instead.",[gl]:"`new Buffer()` is deprecated, use `Buffer.alloc()` or `Buffer.from()` instead.",[gp]:"Switch to `Buffer.{{replacement}}()`."}}});let{isStringLiteral:gm,isMethodCall:gb}=fl,gv="no-console-spaces",gA=e=>e.length>1&&" "===e.charAt(0)&&" "!==e.charAt(1),gD=e=>e.length>1&&" "===e.charAt(e.length-1)&&" "!==e.charAt(e.length-2);var gx=et({create:e=>{let{sourceCode:r}=e,t=(e,t,u)=>{let n="leading"===u?e.range[0]+1:e.range[1]-2,a=[n,n+1];return{loc:pc(a,r),messageId:gv,data:{method:t,position:u},fix:e=>e.removeRange(a)}};return{*CallExpression(e){if(!gb(e,{object:"console",methods:["log","debug","info","warn","error"],minimumArguments:1,optionalCall:!1,optionalMember:!1}))return;let u=e.callee.property.name,{arguments:n}=e,{length:a}=n;for(let[e,i]of n.entries()){if(!gm(i)&&"TemplateLiteral"!==i.type)continue;let n=r.getText(i).slice(1,-1);0!==e&&gA(n)&&(yield t(i,u,"leading")),e!==a-1&&gD(n)&&(yield t(i,u,"trailing"))}}}},meta:{type:"suggestion",docs:{description:"Do not use leading/trailing space between `console.log` parameters."},fixable:"code",messages:{[gv]:"Do not use {{position}} space between `console.{{method}}` parameters."}}});let{isEmptyNode:gE}=fl,gC="no-empty-file",g_=e=>"ExpressionStatement"===e.type&&"string"==typeof e.directive,gS=e=>gE(e,g_),gw=e=>"Line"===e.type&&e.value.startsWith("/"),gF=e=>e.some(e=>gw(e));var gk=et({create:e=>{let r=e.physicalFilename;if(/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(r))return{Program(r){if(r.body.some(e=>!gS(e)))return;let{sourceCode:t}=e,u=t.getAllComments();if(!gF(u))return{node:r,messageId:gC}}}},meta:{type:"suggestion",docs:{description:"Disallow empty files."},messages:{[gC]:"Empty files are not allowed."}}});let{isParenthesized:gT,getParenthesizedRange:gP}=fR,{removeParentheses:gB}=la,gI="no-useless-fallback-in-spread";var gj=et({create:e=>({ObjectExpression(r){if(0===r.properties.length&&"LogicalExpression"===r.parent.type&&r.parent.right===r&&("||"===r.parent.operator||"??"===r.parent.operator)&&"SpreadElement"===r.parent.parent.type&&r.parent.parent.argument===r.parent&&"ObjectExpression"===r.parent.parent.parent.type&&r.parent.parent.parent.properties.includes(r.parent.parent))return{node:r,messageId:gI,*fix(t){let{sourceCode:u}=e,n=r.parent,{left:a}=n,i=gT(a,u),[,o]=i?gP(a,u):a.range,[,d]=n.range;yield t.removeRange([o,d]),(i||!pi(a))&&(yield*gB(n,t,u))}}}}),meta:{type:"suggestion",docs:{description:"Disallow useless fallback when spreading in object literals."},fixable:"code",messages:{[gI]:"The empty object is useless."}}});let{isMethodCall:gO,isMemberExpression:gR}=fl,{getParenthesizedRange:gN,isSameReference:gL,isLogicalExpression:gM}=px,g$=e=>"BinaryExpression"===e.type&&"Literal"===e.right.type&&"0"===e.right.raw&&gR(e.left,{property:"length",optional:!1})&&gM(e.parent);var gz=et({create:e=>{let r=[],t=new Set,u=new Set,n=new Set,a=new Set;return{BinaryExpression(e){if(g$(e)){let{operator:r}=e;"==="===r?t.add(e):(">"===r||"!=="===r)&&u.add(e)}},CallExpression(e){gO(e,{optionalCall:!1,optionalMember:!1,computed:!1})&&"Identifier"===e.callee.property.type&&("some"===e.callee.property.name?n.add(e):"every"===e.callee.property.name&&a.add(e))},LogicalExpression(e){gM(e)&&r.push(e)},*"Program:exit"(){let i=new Set(r.flatMap(e=>(function(e){let{operator:r}=e;return(function e(r){return[r.left,r.right].flatMap(t=>"LogicalExpression"===t.type&&t.operator===r.operator?e(t):[t])})(e).filter((e,i,o)=>(function({node:e,operator:r,siblings:i}){return"||"===r&&t.has(e)&&i.some(r=>a.has(r)&&gL(e.left.object,r.callee.object))||"&&"===r&&u.has(e)&&i.some(r=>n.has(r)&&gL(e.left.object,r.callee.object))})({node:e,operator:r,siblings:[o[i-1],o[i+1]].filter(Boolean)}))})(e)));for(let r of i)yield{loc:{start:r.left.property.loc.start,end:r.loc.end},messageId:t.has(r)?"zero":"non-zero",fix(t){let{sourceCode:u}=e,{left:n,right:a}=r.parent,i=gN(n,u),o=gN(a,u),d=[];return n===r?(d[0]=i[0],d[1]=o[0]):(d[0]=i[1],d[1]=o[1]),t.removeRange(d)}}}}},meta:{type:"suggestion",docs:{description:"Disallow useless array length check."},fixable:"code",messages:{"non-zero":"The non-empty check is useless as `Array#some()` returns `false` for an empty array.",zero:"The empty check is useless as `Array#every()` returns `true` for an empty array."}}});let{getParenthesizedRange:gU}=px,{isFunction:gW,isMethodCall:gq}=fl;var gZ=et({create:e=>{let{sourceCode:r}=e;return{CallExpression(e){if(!(gq(e,{object:"Promise",methods:["resolve","reject"],optionalCall:!1,optionalMember:!1})&&("ArrowFunctionExpression"===e.parent.type&&e.parent.body===e||"ReturnStatement"===e.parent.type&&e.parent.argument===e||"YieldExpression"===e.parent.type&&!e.parent.delegate&&e.parent.argument===e)))return;let{functionNode:t,isInTryStatement:u}=function(e){let r,t=!1;for(;e;e=e.parent){if(gW(e)){r=e;break}"TryStatement"===e.type&&(t=!0)}return{functionNode:r,isInTryStatement:t}}(e);if(t&&(t.async||function(e){if("CallExpression"===e.parent.type&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&"Identifier"===e.parent.callee.property.type){let{callee:{property:r},arguments:t}=e.parent;if(1===t.length&&("then"===r.name||"catch"===r.name||"finally"===r.name)&&t[0]===e||2===t.length&&"then"===r.name&&(t[0]===e||"SpreadElement"!==t[0].type&&t[1]===e))return!0}return!1}(t)))return function(e,r){let{callee:t,parent:u}=e,n=t.property.name,a="YieldExpression"===u.type?"yield":"return";return{node:t,messageId:n,data:{type:a},fix:r}}(e,function(e,r,t){if(e.arguments.length>1)return;let{callee:u,parent:n,arguments:[a]}=e;if(a?.type==="SpreadElement")return;let i="reject"===u.property.name,o="YieldExpression"===n.type;if(!i||!r&&(!o||"ExpressionStatement"===n.parent.type))return function(r){let u="ArrowFunctionExpression"===n.type,d=a?t.getText(a):"";if(a?.type==="SequenceExpression"&&(d=`(${d})`),i){if(d=d||"undefined",d=`throw ${d}`,o)return r.replaceTextRange(gU(n,t),d);if(d+=";",u)return d=`{ ${d} }`,r.replaceTextRange(gU(e,t),d)}else o?d=`yield${d?" ":""}${d}`:"ReturnStatement"===n.type?d=`return${d?" ":""}${d};`:(a?.type==="ObjectExpression"&&(d=`(${d})`),d=d||"{}");return r.replaceText(u?e:n,d)}}(e,u,r))}}},meta:{type:"suggestion",docs:{description:"Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks"},fixable:"code",messages:{resolve:"Prefer `{{type}} value` over `{{type}} Promise.resolve(value)`.",reject:"Prefer `throw error` over `{{type}} Promise.reject(error)`."}}});let{isParenthesized:gV}=ro,{isDecimalInteger:gG}=pu,{fixSpaceAroundKeyword:gH}=la,{isNumberLiteral:gK}=fl,gX="zero-fraction",gJ="dangling-dot";var gQ=et({create:e=>({Literal(r){if(!gK(r))return;let{raw:t}=r,u=t.match(/^(?<before>[\d_]*)(?<dotAndFractions>\.[\d_]*)(?<after>.*)$/);if(!u)return;let{before:n,dotAndFractions:a,after:i}=u.groups,o=a.replace(/[.0_]+$/g,""),d=(n+o||"0")+i;if(d===t)return;let s=r.range[0]+n.length+a.length,c=s-(t.length-d.length),{sourceCode:f}=e;return{loc:pc([c,s],f),messageId:"."===a?gJ:gX,*fix(e){let t=d;"MemberExpression"===r.parent.type&&r.parent.object===r&&gG(d)&&!gV(r,f)&&(t=`(${t})`,l9(f.getTokenBefore(r),f,t)&&(t=`;${t}`)),yield e.replaceText(r,t),yield*gH(e,r,f)}}}}),meta:{type:"suggestion",docs:{description:"Disallow number literals with zero fractions or dangling dots."},fixable:"code",messages:{[gX]:"Don't use a zero fraction in the number.",[gJ]:"Don't use a dangling dot in the number."}}});let{isCommaToken:gY,isOpeningBraceToken:g0,isClosingBraceToken:g1}=ro,{isStringLiteral:g2}=fl,g3="error",g4="suggestion",g5=Symbol.for("default"),g8=Symbol("NAMESPACE_SPECIFIER_NAME"),g6=e=>{switch(e.type){case"Identifier":return Symbol.for(e.name);case"Literal":return e.value}},g9=e=>"type"===e.exportKind||"type"===e.parent.exportKind,g7=e=>"type"===e.importKind||"type"===e.parent.importKind;function*he(e,r,t){switch(e.type){case"ImportSpecifier":case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":yield*function*(e,r,t){let{parent:u}=e,{specifiers:n}=u;if(1===n.length){yield*he(u,r,t);return}switch(e.type){case"ImportSpecifier":{let u=n.some(r=>r!==e&&r.type===e.type);if(!u){let u=t.getTokenAfter(e,g1),n=t.getTokenBefore(e,gY);yield r.replaceTextRange([n.range[0],u.range[1]],"");return}}case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ImportDefaultSpecifier":{yield r.remove(e);let u=t.getTokenAfter(e);gY(u)&&(yield r.remove(u))}}}(e,r,t);return;case"ImportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":yield r.remove(e)}}function hr(e,r){let t=r.getTokenBefore(e.source,e=>"Identifier"===e.type&&"from"===e.value),[u]=t.range,[,n]=e.range;return r.text.slice(u,n)}var ht=et({create:function(e){let{sourceCode:r}=e,{ignoreUsedVariables:t}={ignoreUsedVariables:!1,...e.options[0]},u=new Set,n=[];return{ImportDeclaration(e){e.specifiers.length>0&&u.add(e)},ExportNamedDeclaration(e){g2(e.source)&&n.push(e)},*"Program:exit"(e){for(let a of u){let u=r.getDeclaredVariables(a);if(u.some(e=>1!==e.defs.length||e.defs[0].parent!==a)||(u=u.map(e=>{let t=function(e,r){let t=e.defs[0].node,u={node:t,declaration:t.parent,variable:e,isTypeImport:g7(t)};switch(t.type){case"ImportDefaultSpecifier":return{name:g5,text:"default",...u};case"ImportSpecifier":return{name:g6(t.imported),text:r.getText(t.imported),...u};case"ImportNamespaceSpecifier":return{name:g8,text:"*",...u}}}(e,r),u=function(e,r){let t=[];for(let{identifier:u}of e.variable.references){let n=function(e,r){let{parent:t}=e;switch(t.type){case"ExportDefaultDeclaration":return{node:t,name:g5,text:"default",isTypeExport:g9(t)};case"ExportSpecifier":return{node:t,name:g6(t.exported),text:r.getText(t.exported),isTypeExport:g9(t)};case"VariableDeclarator":if(t.init===e&&"Identifier"===t.id.type&&!t.id.typeAnnotation&&"VariableDeclaration"===t.parent.type&&"const"===t.parent.kind&&1===t.parent.declarations.length&&t.parent.declarations[0]===t&&"ExportNamedDeclaration"===t.parent.parent.type&&function(e,r){let t=r.getDeclaredVariables(e);if(1!==t.length)return!1;let[{identifiers:u,references:n}]=t;return 1===u.length&&u[0]===e.id&&1===n.length&&n[0].identifier===e.id}(t,r))return{node:t.parent.parent,name:Symbol.for(t.id.name),text:r.getText(t.id)}}}(u,r);n&&(e.name!==g8||n.name!==g5)&&t.push(n)}return t}(t,r);return{variable:e,imported:t,exports:u}}),t&&u.some(({variable:e,exports:r})=>e.references.length!==r.length)))continue;let i=t&&u.some(({variable:e})=>0===e.references.length);for(let{imported:t,exports:a}of u)for(let u of a){let a={node:u.node,messageId:g3,data:{exported:u.text}},o=function({sourceCode:e,imported:r,exported:t,exportDeclarations:u,program:n}){let a;let i=r.declaration,o=i.source,d=o.value,s=r.isTypeImport||t.isTypeExport;return s&&(a=u.find(({source:e,exportKind:r})=>e.value===d&&"type"===r)),a||(a=u.find(({source:e,exportKind:r})=>e.value===d&&"type"!==r)),function*(u){if(r.name===g8)yield u.insertTextAfter(n,`
2
- export * as ${t.text} ${hr(i,e)}`);else{let o=t.name===r.name?t.text:`${r.text} as ${t.text}`;if(s&&(!a||"type"!==a.exportKind)&&(o=`type ${o}`),a){let r=a.specifiers[a.specifiers.length-1];if(r)yield u.insertTextAfter(r,`, ${o}`);else{let r=e.getFirstToken(a,g0);yield u.insertTextAfter(r,o)}}else yield u.insertTextAfter(n,`
3
- export {${o}} ${hr(i,e)}`)}1===r.variable.references.length&&(yield*he(r.node,u,e)),yield*he(t.node,u,e)}}({sourceCode:r,imported:t,exported:u,exportDeclarations:n,program:e});i?a.suggest=[{messageId:g4,fix:o}]:a.fix=o,yield a}}}}},meta:{type:"suggestion",docs:{description:"Prefer `export…from` when re-exporting."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{ignoreUsedVariables:{type:"boolean",default:!1}}}],messages:{[g3]:"Use `export…from` to re-export `{{exported}}`.",[g4]:"Switch to `export…from`."}}});let{getFunctionHeadLocation:hu,getFunctionNameWithKind:hn}=ro,{functionTypes:ha}=fl,hi="prefer-native-coercion-functions",ho=new Set(["String","Number","BigInt","Boolean","Symbol"]),hd=new Set(["every","filter","find","findLast","findIndex","findLastIndex","some"]),hs=(e,r)=>e?.type==="CallExpression"&&!e.optional&&"Identifier"===e.callee.type&&ho.has(e.callee.name)&&e.arguments[0]?.type==="Identifier"&&e.arguments[0].name===r,hc=e=>"ArrowFunctionExpression"===e.type&&"Identifier"===e.body.type&&e.body.name===e.params[0].name||"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&e.body.body[0].argument?.type==="Identifier"&&e.body.body[0].argument.name===e.params[0].name,hf=e=>hc(e)&&"CallExpression"===e.parent.type&&!e.parent.optional&&e.parent.arguments[0]===e&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&!e.parent.callee.optional&&"Identifier"===e.parent.callee.property.type&&hd.has(e.parent.callee.property.name);var hl=et({create:e=>{e.on(ha,r=>{if(r.async||r.generator||0===r.params.length||"Identifier"!==r.params[0].type||("MethodDefinition"===r.parent.type&&("constructor"===r.parent.kind||"set"===r.parent.kind)||"Property"===r.parent.type&&"set"===r.parent.kind)&&r.parent.value===r)return;let t=function(e){if(hf(e))return{replacementFunction:"Boolean",fix:r=>r.replaceText(e,"Boolean")}}(r)||function(e){let r=function(e){let r=e.params[0].name;return"ArrowFunctionExpression"===e.type&&hs(e.body,r)?e.body:"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&hs(e.body.body[0].argument,r)?e.body.body[0].argument:void 0}(e);if(!r)return;let{name:t}=r.callee,u={replacementFunction:t};return"FunctionDeclaration"===e.type||1!==r.arguments.length||(u.fix=r=>{let u=t;return"Property"===e.parent.type&&e.parent.method&&e.parent.value===e?u=`: ${u}`:"MethodDefinition"===e.parent.type&&(u=` = ${u};`),r.replaceText(e,u)}),u}(r);if(!t)return;let{sourceCode:u}=e,{replacementFunction:n,fix:a}=t;return t={node:r,loc:hu(r,u),messageId:hi,data:{functionNameWithKind:hn(r,u),replacementFunction:n}},!a||1!==r.params.length||u.getCommentsInside(r).length>0||(t.fix=a),t})},meta:{type:"suggestion",docs:{description:"Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly."},fixable:"code",messages:{[hi]:"{{functionNameWithKind}} is equivalent to `{{replacementFunction}}`. Use `{{replacementFunction}}` directly."}}});let{ReferenceTracker:hp}=ro,hg=(e,r)=>{let t={[r]:!0},u=e.split(".").reverse();for(let e of u)t={[e]:t};return t},hh=class{#e={};#r;#t;constructor({object:e,objects:r=[e],filter:t,handle:u,type:n=hp.READ}){for(let e of r)Object.assign(this.#e,hg(e,n));this.#r=t,this.#t=u}*track(e){let r=new hp(e);for(let e of r.iterateGlobalReferences(this.#e)){if(this.#r&&!this.#r(e))continue;let r=this.#t(e);r&&(r[Symbol.iterator]?yield*r:yield r)}}createListeners(e){return{"Program:exit":r=>this.track(e.sourceCode.getScope(r))}}};Object.assign(hh,{READ:hp.READ,CALL:hp.CALL,CONSTRUCT:hp.CONSTRUCT});var hy={GlobalReferenceTracker:hh};let{GlobalReferenceTracker:hm}=hy,hb="no-document-cookie",hv=new hm({object:"document.cookie",filter:({node:e})=>"AssignmentExpression"===e.parent.type&&e.parent.left===e,handle:({node:e})=>({node:e,messageId:hb})});var hA=et({create:e=>hv.createListeners(e),meta:{type:"problem",docs:{description:"Do not use `document.cookie` directly."},messages:{[hb]:"Do not use `document.cookie` directly."}}});let hD=e=>[`webkit${e}`,`o${e.toLowerCase()}`,e.toLowerCase()];var hx=new Set(["click","rightclick","dblclick","auxclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","mousecancel","selectionchange","selectstart","wheel","keypress","keydown","keyup","blur","focus","deactivate","focusin","focusout","change","reset","select","submit","input","propertychange","dragstart","drag","dragenter","dragover","dragleave","drop","dragend","touchstart","touchmove","touchend","touchcancel","beforeunload","consolemessage","contextmenu","devicechange","devicemotion","deviceorientation","DOMContentLoaded","error","help","load","losecapture","orientationchange","readystatechange","resize","scroll","unload","canplay","canplaythrough","durationchange","emptied","ended","loadeddata","loadedmetadata","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","sourceopen","sourceended","sourceclosed","abort","update","updatestart","updateend","hashchange","pagehide","pageshow","popstate","copy","paste","cut","beforecopy","beforecut","beforepaste","online","offline","message","connect","install","activate","fetch","foreignfetch","messageerror","statechange","updatefound","controllerchange",...hD("AnimationStart"),...hD("AnimationEnd"),...hD("AnimationIteration"),...hD("TransitionEnd"),"pointerdown","pointerup","pointercancel","pointermove","pointerover","pointerout","pointerenter","pointerleave","gotpointercapture","lostpointercapture","MSGestureChange","MSGestureEnd","MSGestureHold","MSGestureStart","MSGestureTap","MSGotPointerCapture","MSInertiaStart","MSLostPointerCapture","MSPointerCancel","MSPointerDown","MSPointerEnter","MSPointerHover","MSPointerLeave","MSPointerMove","MSPointerOut","MSPointerOver","MSPointerUp","text","textinput","textInput","compositionstart","compositionupdate","compositionend","beforeinput","exit","loadabort","loadcommit","loadredirect","loadstart","loadstop","responsive","sizechanged","unresponsive","visibilitychange","storage","DOMSubtreeModified","DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMAttrModified","DOMCharacterDataModified","beforeprint","afterprint","beforeinstallprompt","appinstalled","afterblur","beforeblur","cancel","close","dragexit","encrypted","fullscreenchange","invalid","toggle","search","open","show"]);let{isParenthesized:hE}=ro,{isUndefined:hC,isNullLiteral:h_,isStaticRequire:hS}=fl,hw="prefer-add-event-listener",hF={beforeunload:"Use `event.preventDefault(); event.returnValue = 'foo'` to trigger the prompt.",message:"Note that there is difference between `SharedWorker#onmessage` and `SharedWorker#addEventListener('message')`.",error:"Note that there is difference between `{window,element}.onerror` and `{window,element}.addEventListener('error')`."},hk=e=>e.property.name,hT=e=>e.slice(2),hP=(e,r,t,u)=>{let n=hT(hk(u)),a=r.getText(u.object);hE(u.object,r)&&(a=`(${a})`);let i=r.getText(t.right);hE(t.right,r)&&(i=`(${i})`);let o=`${a}.addEventListener('${n}', ${i})`;return e.replaceText(t,o)},hB=(e,r)=>("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&"BlockStatement"===e.body.type&&!r.get(e),hI=e=>hC(e)||h_(e);var hj=et({create:e=>{let r,t;let u=e.options[0]||{},n=new Set(u.excludedPackages||["koa","sax"]),a=new WeakMap;return{onCodePathStart(e,r){t={node:r,upper:t,returnsSomething:!1}},onCodePathEnd(){a.set(t.node,t.returnsSomething),t=t.upper},CallExpression(e){hS(e)&&!r&&n.has(e.arguments[0].value)&&(r=!0)},Literal(e){"ImportDeclaration"===e.parent.type&&!r&&n.has(e.value)&&(r=!0)},ReturnStatement(e){t.returnsSomething=t.returnsSomething||!!e.argument},"AssignmentExpression:exit"(t){let u;if(r)return;let{left:n,right:i,operator:o}=t;if("MemberExpression"!==n.type||n.computed)return;let d=hk(n);if(!d||!d.startsWith("on"))return;let s=hT(d);if(!hx.has(s))return;let c="addEventListener",f="";return hI(i)?c="removeEventListener":"beforeunload"!==s||hB(i,a)?"message"===s?f=hF.message:"error"===s?f=hF.error:"="===o&&"ExpressionStatement"===t.parent.type&&t.parent.expression===t&&(u=r=>hP(r,e.sourceCode,t,n)):f=hF.beforeunload,{node:n.property,messageId:hw,data:{replacement:c,method:d,extra:f?` ${f}`:""},fix:u}}}},meta:{type:"suggestion",docs:{description:"Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{excludedPackages:{type:"array",items:{type:"string"},uniqueItems:!0}}}],messages:{[hw]:"Prefer `{{replacement}}` over `{{method}}`.{{extra}}"}}});let{hasSideEffect:hO,isParenthesized:hR,findVariable:hN}=ro,{isMethodCall:hL}=fl,{isSameIdentifier:hM,isFunctionSelfUsedInside:h$}=px,hz=(e,r)=>"BinaryExpression"===e.type&&"==="===e.operator&&(hM(e.left,r)||hM(e.right,r)),hU=e=>"ArrowFunctionExpression"===e.type&&!e.async&&1===e.params.length&&hz(e.body,e.params[0])||("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&!e.async&&!e.generator&&1===e.params.length&&"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&hz(e.body.body[0].argument,e.params[0]),hW=({type:e,name:r},t)=>"Identifier"===e&&r===t,hq=function({method:e,replacement:r}){let t=`prefer-${r}-over-${e}/`,u=`${t}error`,n=`${t}suggestion`,a={findIndex:"Use `.indexOf()` instead of `.findIndex()` when looking for the index of an item.",findLastIndex:"Use `.lastIndexOf()` instead of `findLastIndex() when looking for the index of an item.`",some:`Use \`.${r}()\` instead of \`.${e}()\` when checking value existence.`},i={[u]:a[e],[n]:`Replace \`.${e}()\` with \`.${r}()\`.`};return{messages:i,listen:function(t){let{sourceCode:a}=t,{scopeManager:i}=a;t.on("CallExpression",t=>{let o,d;if(!hL(t,{method:e,argumentsLength:1,optionalCall:!1,optionalMember:!1})||!hU(t.arguments[0]))return;let[s]=t.arguments,c="BinaryExpression"===s.body.type?s.body:s.body.body[0].argument,[f]=s.params,{left:l,right:p}=c,{name:g}=f;if(hW(l,g))o=p,d=l;else{if(!hW(p,g))return;o=l,d=p}let h=i.acquire(s);if(hN(h,f).references.some(({identifier:e})=>e!==d)||h$(s,h))return;let y=t.callee.property,m={node:y,messageId:u,suggest:[]},b=function*(e){let t=a.getText(o);hR(o,a)&&!hR(s,a)&&(t=`(${t})`),yield e.replaceText(y,r),yield e.replaceText(s,t)};return hO(o,a)?m.suggest.push({messageId:n,fix:b}):m.fix=b,m})}}},hZ=hq({method:"findIndex",replacement:"indexOf"}),hV=hq({method:"findLastIndex",replacement:"lastIndexOf"});var hG=et({create(e){hZ.listen(e),hV.listen(e)},meta:{type:"suggestion",docs:{description:"Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item."},fixable:"code",hasSuggestions:!0,messages:{...hZ.messages,...hV.messages}}});let{isMethodCall:hH}=fl,hK="error";var hX=et({create:()=>({CallExpression(e){if(!hH(e,{methods:["readAsText","readAsArrayBuffer"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let r=e.callee.property,t=r.name;return{node:r,messageId:hK,data:{method:t,replacement:"readAsArrayBuffer"===t?"arrayBuffer":"text"}}}}),meta:{type:"suggestion",docs:{description:"Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`."},messages:{[hK]:"Prefer `Blob#{{replacement}}()` over `FileReader#{{method}}(blob)`."}}});let{isMethodCall:hJ,isCallExpression:hQ,isNewExpression:hY}=fl,{fixSpaceAroundKeyword:h0}=la,h1="prefer-date",h2="prefer-date-now-over-methods",h3="prefer-date-now-over-number-data-object",h4=e=>hY(e,{name:"Date",argumentsLength:0}),h5=(e,r,t)=>({node:e,messageId:h1,*fix(r){yield r.replaceText(e,"Date.now()"),"UnaryExpression"===e.type&&(yield*h0(r,e,t))},...r});var h8=et({create:e=>({CallExpression(e){if(hJ(e,{methods:["getTime","valueOf"],argumentsLength:0,optionalCall:!1,optionalMember:!1})&&h4(e.callee.object)){let r=e.callee.property;return h5(e,{node:r,messageId:h2,data:{method:r.name}})}if(hQ(e,{names:["Number","BigInt"],argumentsLength:1,optional:!1})&&h4(e.arguments[0])){let{name:r}=e.callee;return"Number"===r?h5(e,{messageId:h3}):h5(e.arguments[0])}},UnaryExpression(r){if(("+"===r.operator||"-"===r.operator)&&h4(r.argument))return h5("-"===r.operator?r.argument:r,{},e.sourceCode)},AssignmentExpression(e){if(("-="===e.operator||"*="===e.operator||"/="===e.operator||"%="===e.operator||"**="===e.operator)&&h4(e.right))return h5(e.right)},*BinaryExpression(e){if("-"===e.operator||"*"===e.operator||"/"===e.operator||"%"===e.operator||"**"===e.operator)for(let r of[e.left,e.right])h4(r)&&(yield h5(r))}}),meta:{type:"suggestion",docs:{description:"Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch."},fixable:"code",messages:{[h1]:"Prefer `Date.now()` over `new Date()`.",[h2]:"Prefer `Date.now()` over `Date#{{method}}()`.",[h3]:"Prefer `Date.now()` over `Number(new Date())`."}}});let{isIdentifierName:h6}=lh,{escapeString:h9,hasOptionalChainElement:h7,isValueNotUsable:ye}=px,{isMethodCall:yr,isStringLiteral:yt,isExpressionStatement:yu}=fl,yn="prefer-dom-node-dataset",ya=e=>e.replace(/-[a-z]/g,e=>e[1].toUpperCase());var yi=et({create:e=>({CallExpression(r){if(!((yr(r,{method:"setAttribute",argumentsLength:2,optionalCall:!1,optionalMember:!1})||yr(r,{methods:["getAttribute","removeAttribute","hasAttribute"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))&&yt(r.arguments[0])))return;let t=r.arguments[0].value.toLowerCase();if(t.startsWith("data-"))return{node:r,messageId:yn,data:{method:r.callee.property.name},fix:function(e,r){let t=e.callee.property.name;if(!("setAttribute"===t&&h7(e.callee))&&("setAttribute"!==t||ye(e))&&("removeAttribute"!==t||yu(e.parent)))return u=>{let[n]=e.arguments,a=ya(n.value.toLowerCase().slice(5)),{sourceCode:i}=r,o="",d=`${i.getText(e.callee.object)}.dataset`;switch(t){case"setAttribute":case"getAttribute":case"removeAttribute":o=h6(a)?`.${a}`:`[${h9(a,n.raw.charAt(0))}]`,o=`${d}${o}`,"setAttribute"===t?o+=` = ${i.getText(e.arguments[1])}`:"removeAttribute"===t&&(o=`delete ${o}`);break;case"hasAttribute":o=`Object.hasOwn(${d}, ${h9(a,n.raw.charAt(0))})`}return u.replaceText(e,o)}}(r,e)}}}),meta:{type:"suggestion",docs:{description:"Prefer using `.dataset` on DOM elements over calling attribute methods."},fixable:"code",messages:{[yn]:"Prefer `.dataset` over `{{method}}(…)`."}}});let{hasSideEffect:yo}=ro,{fixSpaceAroundKeyword:yd}=la,{isLiteral:ys}=fl,yc="error-bitwise",yf="error-bitwise-not",yl="suggestion-bitwise",yp=new Set(["|",">>","<<","^"]),yg=e=>"UnaryExpression"===e.type&&"~"===e.operator;var yh=et({create:e=>{let{sourceCode:r}=e,t=e=>{let t=r.getText(e),u="SequenceExpression"===e.type?`(${t})`:t;return`Math.trunc(${u})`};e.on(["BinaryExpression","AssignmentExpression"],e=>{let{type:u,operator:n,right:a,left:i}=e,o="AssignmentExpression"===u;if(!ys(a,0)||!yp.has(o?n.slice(0,-1):n))return;let d={node:e,messageId:yc,data:{operator:n,value:a.raw}};if(!o||!yo(i,r)){let u=function*(u){let d=t(i);if(o){let e=r.getTokenAfter(i,e=>"Punctuator"===e.type&&e.value===n);yield u.replaceText(e,"="),yield u.replaceText(a,d)}else yield*yd(u,e,r),yield u.replaceText(e,d)};"|"===n?d.suggest=[{messageId:yl,fix:u}]:d.fix=u}return d}),e.on("UnaryExpression",e=>{if(yg(e)&&yg(e.argument)&&!yg(e.argument.argument))return{node:e,messageId:yf,*fix(u){yield u.replaceText(e,t(e.argument.argument)),yield*yd(u,e,r)}}})},meta:{type:"suggestion",docs:{description:"Enforce the use of `Math.trunc` instead of bitwise operators."},fixable:"code",hasSuggestions:!0,messages:{[yc]:"Use `Math.trunc` instead of `{{operator}} {{value}}`.",[yf]:"Use `Math.trunc` instead of `~~`.",[yl]:"Replace `{{operator}} {{value}}` with `Math.trunc`."}}});let{getParenthesizedText:yy,getParenthesizedRange:ym,isSameReference:yb}=px,{isLiteral:yv,isMethodCall:yA}=fl,{replaceNodeOrTokenAndSpacesBefore:yD,removeParentheses:yx}=la,yE="prefer-modern-math-apis",yC=(e,r)=>"MemberExpression"===e.type&&!e.optional&&!e.computed&&"Identifier"===e.object.type&&"Math"===e.object.name&&"Identifier"===e.property.type&&e.property.name===r,y_=(e,r)=>"CallExpression"===e.type&&!e.optional&&yC(e.callee,r)&&1===e.arguments.length&&"SpreadElement"!==e.arguments[0].type;function yS({constantName:e,replacementMethod:r}){let t=`Math.${r}(…)`;return function(u,n){let a,i;if(!("BinaryExpression"===u.type&&"*"===u.operator)||(y_(u.left,"log")&&yC(u.right,e)?(a=u.left,i=`Math.log(…) * Math.${e}`):y_(u.right,"log")&&yC(u.left,e)&&(a=u.right,i=`Math.${e} * Math.log(…)`),!a))return;let[o]=a.arguments;return{node:u,messageId:yE,data:{replacement:t,description:i},fix:e=>e.replaceText(u,`Math.${r}(${yy(o,n.sourceCode)})`)}}}function yw({constantName:e,replacementMethod:r}){let t={messageId:yE,data:{replacement:`Math.${r}(…)`,description:`Math.log(…) / Math.${e}`}};return function(u,n){if(!("BinaryExpression"===u.type&&"/"===u.operator&&y_(u.left,"log")&&yC(u.right,e)))return;let[a]=u.left.arguments;return{...t,node:u,fix:e=>e.replaceText(u,`Math.${r}(${yy(a,n.sourceCode)})`)}}}let yF=[yS({constantName:"LOG10E",replacementMethod:"log10"}),yS({constantName:"LOG2E",replacementMethod:"log2"}),yw({constantName:"LN10",replacementMethod:"log10"}),yw({constantName:"LN2",replacementMethod:"log2"})],yk=e=>"BinaryExpression"===e.type&&"+"===e.operator,yT=e=>"BinaryExpression"===e.type&&("*"===e.operator&&yb(e.left,e.right)||"**"===e.operator&&yv(e.right,2)),yP=e=>yk(e)?[e.left,e.right].flatMap(e=>yP(e)):[e];var yB=et({create:e=>{let r=[];return{CallExpression(r){if(!yA(r,{object:"Math",method:"sqrt",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let t=yP(r.arguments[0]);if(t.some(e=>!yT(e)))return;let u=1===t.length?"abs":"hypot",n=new Set(1===t.length?[]:t.map(e=>e.parent));return{node:r.callee.property,messageId:yE,data:{replacement:`Math.${u}(…)`,description:"Math.sqrt(…)"},*fix(a){let{sourceCode:i}=e;for(let e of(yield a.replaceText(r.callee.property,u),n)){let r=i.getTokenAfter(e.left,e=>"Punctuator"===e.type&&"+"===e.value);yield*yD(r,",",a,i),yield*yx(e,a,i)}for(let e of t)yield a.removeRange([ym(e.left,i)[1],e.range[1]])}}},BinaryExpression(e){r.push(e)},*"Program:exit"(){for(let t of r)for(let r of yF){let u=r(t,e);u&&(yield u)}}}},meta:{type:"suggestion",docs:{description:"Prefer modern `Math` APIs over legacy patterns."},fixable:"code",messages:{[yE]:"Prefer `{{replacement}}` over `{{description}}`."}}}),yI=eu(r);let yj=e=>"function"==typeof e?.[Symbol.iterator],yO=class extends Error{},yR={abort(){throw new yO("Fix aborted.")}};function yN(e){return r=>{let t=e(r,yR);if(yj(t))try{return[...t]}catch(e){if(e instanceof yO)return;throw e}return t}}let yL=new Set;function yM(e){if(yL.has(e))return e;let r=r=>{let t={},u=(e,r)=>{t[e]??=[],t[e].push(r)},n=new Proxy(r,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)u(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)u(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[r,t]of Object.entries(e(n)??{}))u(r,t);return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>{for(let u of t)!function(e,r){if(e)for(let t of(yj(e)||(e=[e]),e)){if(t.fix&&(t.fix=yN(t.fix)),Array.isArray(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=yN(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(u(...e),r)}]))};return yL.add(r),r}function y$(e){let r=function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../${e}`);return{meta:{schema:[],...r.meta,docs:{...r.meta.docs,url:ea(e)}},create:yM(r.create)}}var yz={loadRule:y$,loadRules:function(){return Object.fromEntries(yI.readdirSync(en.join(__dirname,".."),{withFileTypes:!0}).filter(e=>e.isFile()).map(e=>{let r=en.basename(e.name,".js");return[r,y$(r)]}))},checkVueTemplate:function(e,r){let{visitScriptBlock:t}={visitScriptBlock:!0,...r};e=yM(e);let u=r=>{let u=e(r),{parserServices:n}=r.sourceCode;return n?.defineTemplateBodyVisitor?t?n.defineTemplateBodyVisitor(u,u):n.defineTemplateBodyVisitor(u):u};return yL.add(u),u}};let{checkVueTemplate:yU}=yz,{isNumberLiteral:yW,isBigIntLiteral:yq}=fl,yZ="number-literal-case",yV=e=>{let r=e.toLowerCase();return r.startsWith("0x")&&(r="0x"+r.slice(2).toUpperCase()),r};var yG=et({create:yU(()=>({Literal(e){let{raw:r}=e,t=r;if(yW(e)?t=yV(r):yq(e)&&(t=yV(r.slice(0,-1))+"n"),r!==t)return{node:e,messageId:yZ,fix:r=>r.replaceText(e,t)}}})),meta:{type:"suggestion",docs:{description:"Enforce proper case for numeric literals."},fixable:"code",messages:{[yZ]:"Invalid number literal casing."}}});let{GlobalReferenceTracker:yH}=hy,{replaceReferenceIdentifier:yK}=la,{fixSpaceAroundKeyword:yX}=la,yJ="error",yQ="suggestion",yY={parseInt:!0,parseFloat:!0,NaN:!0,Infinity:!0,isNaN:!1,isFinite:!1},y0=e=>{let{parent:r}=e;return"UnaryExpression"===r.type&&"-"===r.operator&&r.argument===e};var y1=et({create:e=>{let{checkInfinity:r}={checkInfinity:!0,...e.options[0]},{sourceCode:t}=e,u=Object.keys(yY);r||(u=u.filter(e=>"Infinity"!==e));let n=new yH({objects:u,handle:e=>(function({node:e,path:[r]},t){let{parent:u}=e,n=r;"Infinity"===r&&(n=y0(e)?"NEGATIVE_INFINITY":"POSITIVE_INFINITY");let a={node:e,messageId:yJ,data:{description:r,property:n}};if("NEGATIVE_INFINITY"===n)return a.node=u,a.data.description="-Infinity",a.fix=function*(e){yield e.replaceText(u,"Number.NEGATIVE_INFINITY"),yield*yX(e,u,t)},a;let i=r=>yK(e,`Number.${n}`,r,t),o=yY[r];return o?a.fix=i:a.suggest=[{messageId:yQ,fix:i}],a})(e,t),filter:({node:e})=>!lH(e)});return n.createListeners(e)},meta:{type:"suggestion",docs:{description:"Prefer `Number` static properties over global ones."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{checkInfinity:{type:"boolean",default:!0}}}],messages:{[yJ]:"Prefer `Number.{{property}}` over `{{description}}`.",[yQ]:"Replace `{{description}}` with `Number.{{property}}`."}}});let{getPropertyName:y2}=ro,{isNullLiteral:y3,isMethodCall:y4}=fl,y5="prefer-reflect-apply",y8=(e,r)=>(y3(e)||"ThisExpression"===e.type)&&("ArrayExpression"===r.type||"Identifier"===r.type&&"arguments"===r.name),y6=(e,r,t,u)=>`Reflect.apply(${e.getText(r)}, ${e.getText(t)}, ${e.getText(u)})`,y9=(e,r)=>{if("apply"===y2(e.callee)&&2===e.arguments.length&&y8(e.arguments[0],e.arguments[1]))return t=>t.replaceText(e,y6(r,e.callee.object,e.arguments[0],e.arguments[1]))},y7=(e,r)=>{if("call"===y2(e.callee)&&"apply"===y2(e.callee.object)&&"prototype"===y2(e.callee.object.object)&&e.callee.object.object.object?.type==="Identifier"&&"Function"===e.callee.object.object.object.name&&3===e.arguments.length&&y8(e.arguments[1],e.arguments[2]))return t=>t.replaceText(e,y6(r,e.arguments[0],e.arguments[1],e.arguments[2]))};var me=et({create:e=>({CallExpression(r){if(!y4(r,{optionalCall:!1,optionalMember:!1})||"Literal"===r.callee.object.type||"ArrayExpression"===r.callee.object.type||"ObjectExpression"===r.callee.object.type)return;let{sourceCode:t}=e,u=y9(r,t)||y7(r,t);if(u)return{node:r,messageId:y5,fix:u}}}),meta:{type:"suggestion",docs:{description:"Prefer `Reflect.apply()` over `Function#apply()`."},fixable:"code",messages:{[y5]:"Prefer `Reflect.apply()` over `Function#apply()`."}}});let{findVariable:mr}=ro,{fixSpaceAroundKeyword:mt}=la,{isNewExpression:mu,isMemberExpression:mn}=fl,ma="prefer-set-size",mi=e=>mu(e,{name:"Set"});var mo=et({create:e=>{let{sourceCode:r}=e;return{MemberExpression(e){if(!mn(e,{property:"length",optional:!1})||"ArrayExpression"!==e.object.type||1!==e.object.elements.length||e.object.elements[0]?.type!=="SpreadElement")return;let t=e.object.elements[0].argument;if(function(e,r){if(mi(e))return!0;if("Identifier"!==e.type)return!1;let t=mr(r,e);if(!t||1!==t.defs.length)return!1;let[u]=t.defs;if("Variable"!==u.type||"const"!==u.kind)return!1;let n=u.node;return"VariableDeclarator"===n.type&&"Identifier"===n.id.type&&mi(u.node.init)}(t,r.getScope(t)))return{node:e.property,messageId:ma,fix:function(e,r){let{object:t,property:u}=r,n=t.elements[0].argument;if(!(e.getCommentsInside(t).length>e.getCommentsInside(n).length))return function*(a){yield a.replaceText(u,"size"),yield a.replaceText(t,e.getText(n)),yield*mt(a,r,e)}}(r,e)}}}},meta:{type:"suggestion",docs:{description:"Prefer using `Set#size` instead of `Array#length`."},fixable:"code",messages:{[ma]:"Prefer using `Set#size` instead of `Array#length`."}}}),md={exports:{}};v=String.fromCodePoint||(m=String.fromCharCode,b=Math.floor,function(){var e,r,t=[],u=-1,n=arguments.length;if(!n)return"";for(var a="";++u<n;){var i=Number(arguments[u]);if(!isFinite(i)||i<0||i>1114111||b(i)!=i)throw RangeError("Invalid code point: "+i);i<=65535?t.push(i):(i-=65536,e=(i>>10)+55296,r=i%1024+56320,t.push(e,r)),(u+1==n||t.length>16384)&&(a+=m.apply(null,t),t.length=0)}return a}),A={parse:function(e,r,t){function u(r){return r.raw=e.substring(r.range[0],r.range[1]),r}function n(e,r){return e.range[0]=r,u(e)}function a(e,r){return u({type:"anchor",kind:e,range:[X-r,X]})}function i(e,r,t,n){return u({type:"value",kind:e,codePoint:r,range:[t,n]})}function o(e,r,t,u){return u=u||0,i(e,r,X-(t.length+u),X)}function d(e){var r,t=e[0],u=t.charCodeAt(0);return K&&1===t.length&&u>=55296&&u<=56319&&(r=y().charCodeAt(0))>=56320&&r<=57343?i("symbol",(u-55296)*1024+r-56320+65536,++X-2,X):i("symbol",u,X-1,X)}function s(e,r,t,n,a){return null==n&&(t=X-1,n=X),u({type:"quantifier",min:e,max:r,greedy:!0,body:null,symbol:a,range:[t,n]})}function c(e,r,t,n){return u({type:"characterClass",kind:e.kind,body:e.body,negative:r,range:[t,n]})}function f(e,r,t,n){return e.codePoint>r.codePoint&&U("invalid range in character class",e.raw+"-"+r.raw,t,n),u({type:"characterClassRange",min:e,max:r,range:[t,n]})}function l(e){return"alternative"===e.type?e.body:[e]}function p(r){r=r||1;var t=e.substring(X,X+r);return X+=r||1,t}function g(e){h(e)||U("character",e)}function h(r){if(e.indexOf(r,X)===X)return p(r.length)}function y(){return e[X]}function m(r){return e.indexOf(r,X)===X}function b(r){return e[X+1]===r}function A(r){var t=e.substring(X).match(r);return t&&(t.range=[],t.range[0]=X,p(t[0].length),t.range[1]=X),t}function D(){var e=[],r=X;for(e.push(x());h("|");)e.push(x());return 1===e.length?e[0]:u({type:"disjunction",body:e,range:[r,X]})}function x(){for(var r,o=[],s=X;r=function(){if(X>=e.length||m("|")||m(")"))return null;var r=h("^")?a("start",1):h("$")?a("end",1):h("\\b")?a("boundary",2):h("\\B")?a("not-boundary",2):E("(?=","lookahead","(?!","negativeLookahead");if(!r){var o=function(){if((r=A(/^[^^$\\.*+?()[\]{}|]/))||!K&&(r=A(/^(?:]|})/)))return d(r);if(h("."))return u({type:"dot",range:[X-1,X]});if(h("\\")){if(!(r=w())){if(!K&&"c"==y())return i("symbol",92,X-1,X);U("atomEscape")}return r}if(r=O())return r;if(t.lookbehind&&(r=E("(?<=","lookbehind","(?<!","negativeLookbehind")))return r;if(t.namedGroups&&h("(?<")){var r,n,a,o,s,c,f=B();g(">");var l=C("normal",f.range[0]-3);return l.name=f,l}else return t.modifiers&&e.indexOf("(?")==X&&":"!=e[X+2]?(a=X,p(2),o=A(/^[sim]+/),h("-")?(n=A(/^[sim]+/))||U("Invalid flags for modifiers group"):o||U("Invalid flags for modifiers group"),((s=(o=o?o[0]:"")+(n=n?n[0]:"")).length>3||function(e){for(var r=0;r<e.length;){if(-1!=e.indexOf(e[r],r+1))return!0;r++}return!1}(s))&&U("flags cannot be duplicated for modifiers group"),g(":"),(c=C("ignore",a)).modifierFlags={enabling:o,disabling:n},c):E("(?:","ignore","(","normal")}();if(!o){var s,c,f=X;(s=_()||!1)&&(X=f,U("Expected atom")),!K&&(c=A(/^{/))?o=d(c):U("Expected atom")}r=o}return(s=_()||!1)?(s.body=l(r),n(s,r.range[0]),s):r}();)o.push(r);return 1===o.length?o[0]:u({type:"alternative",body:o,range:[s,X]})}function E(e,r,t,u){var n=null,a=X;if(h(e))n=r;else{if(!h(t))return!1;n=u}return C(n,a)}function C(e,r){var t=D();t||U("Expected disjunction"),g(")");var n=u({type:"group",behavior:e,body:l(t),range:[r,X]});return"normal"==e&&Z&&q++,n}function _(){var e,r,t,u,n=X;return h("*")?e=s(0,void 0,void 0,void 0,"*"):h("+")?e=s(1,void 0,void 0,void 0,"+"):h("?")?e=s(0,1,void 0,void 0,"?"):(u=A(/^\{([0-9]+)\}/))?e=s(r=parseInt(u[1],10),r,u.range[0],u.range[1]):(u=A(/^\{([0-9]+),\}/))?e=s(r=parseInt(u[1],10),void 0,u.range[0],u.range[1]):(u=A(/^\{([0-9]+),([0-9]+)\}/))&&((r=parseInt(u[1],10))>(t=parseInt(u[2],10))&&U("numbers out of order in {} quantifier","",n,X),e=s(r,t,u.range[0],u.range[1])),(r&&!Number.isSafeInteger(r)||t&&!Number.isSafeInteger(t))&&U("iterations outside JS safe integer range in quantifier","",n,X),e&&h("?")&&(e.greedy=!1,e.range[1]+=1),e}function S(e){if(K){var r,t;if("unicodeEscape"==e.kind&&(r=e.codePoint)>=55296&&r<=56319&&m("\\")&&b("u")){var n=X;X++;var a=w(!0);"unicodeEscape"==a.kind&&(t=a.codePoint)>=56320&&t<=57343?(e.range[1]=a.range[1],e.codePoint=(r-55296)*1024+t-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",u(e)):X=n}}return e}function w(e){var r,a,i=X;if(a=function(e){var r,t,a=X;if(r=A(/^(?!0)\d+/)){t=r[0];var i,s=parseInt(r[0],10);return s<=q&&!e?u({type:"reference",matchIndex:parseInt(i=r[0],10),range:[X-1-i.length,X]}):(W.push(s),Z?V=!0:F(a,X),p(-r[0].length),r=A(/^[0-7]{1,3}/))?o("octal",parseInt(r[0],8),r[0],1):n(r=d(A(/^[89]/)),r.range[0]-1)}return!!(r=A(/^[0-7]{1,3}/))&&(("0"!==(t=r[0])&&F(a,X),/^0{1,3}$/.test(t))?o("null",0,"0",t.length):o("octal",parseInt(t,8),t,1))}(e)||function(){if(t.namedGroups&&A(/^k<(?=.*?>)/)){var e=B();return g(">"),u({type:"reference",name:e,range:[e.range[0]-3,X]})}}())return a;if(e){if(h("b"))return o("singleEscape",8,"\\b");if(h("B"))U("\\B not possible inside of CharacterClass","",i);else if(!K&&(a=A(/^c([0-9])/)))return o("controlLetter",a[1]+16,a[1],2);else if(!K&&(a=A(/^c_/)))return o("controlLetter",31,"_",2);if(K&&h("-"))return o("singleEscape",45,"\\-")}return((r=A(/^[dDsSwW]/))?u({type:"characterClassEscape",value:r[0],range:[X-2,X]}):t.unicodePropertyEscape&&K&&(r=A(/^([pP])\{([^\}]+)\}/))?u({type:"unicodePropertyEscape",negative:"P"===r[1],value:r[2],range:[r.range[0]-1,r.range[1]],raw:r[0]}):!!(t.unicodeSet&&H&&h("q{"))&&function(){var e=X-3,r=[];do r.push(function(){for(var e,r=[],t=X;e=M();)r.push(e);return u({type:"classString",characters:r,range:[t,X]})}());while(h("|"));return g("}"),u({type:"classStrings",strings:r,range:[e,X]})}())||T()}function F(e,r){K&&U("Invalid decimal escape in unicode mode",null,e,r)}function k(){var e;return(e=A(/^u([0-9a-fA-F]{4})/))?S(o("unicodeEscape",parseInt(e[1],16),e[1],2)):K&&(e=A(/^u\{([0-9a-fA-F]+)\}/))?o("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):void 0}function T(){var e,r,u,n=X;if(u=A(/^[fnrtv]/)){var a=0;switch(u[0]){case"t":a=9;break;case"n":a=10;break;case"v":a=11;break;case"f":a=12;break;case"r":a=13}return o("singleEscape",a,"\\"+u[0])}return(u=A(/^c([a-zA-Z])/))?o("controlLetter",u[1].charCodeAt(0)%32,u[1],2):(u=A(/^x([0-9a-fA-F]{2})/))?o("hexadecimalEscape",parseInt(u[1],16),u[1],2):(u=k())?((!u||u.codePoint>1114111)&&U("Invalid escape sequence",null,n,X),u):(r=y(),K&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(r)||!K&&"c"!==r?"k"===r&&t.lookbehind?null:o("identifier",(e=p()).charCodeAt(0),e,1):null)}function P(r){var t=y(),u=X;if("\\"===t){p();var n=k();return n&&r(n.codePoint)||U("Invalid escape sequence",null,u,X),v(n.codePoint)}var a=t.charCodeAt(0);if(a>=55296&&a<=56319){var i=(t+=e[X+1]).charCodeAt(1);i>=56320&&i<=57343&&(a=(a-55296)*1024+i-56320+65536)}if(r(a))return p(),a>65535&&p(),t}function B(){var e,r=X,t=P(I);for(t||U("Invalid identifier");e=P(j);)t+=e;return u({type:"identifier",value:t,range:[r,X]})}function I(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=128&&/[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/.test(v(e))}function j(e){return I(e)||e>=48&&e<=57||e>=128&&/[0-9_\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/.test(v(e))}function O(){var e,r=X;return(e=A(/^\[\^/))?(e=R(),g("]"),c(e,!0,r,X)):h("[")?(e=R(),g("]"),c(e,!1,r,X)):null}function R(){var e,r;return m("]")?{kind:"union",body:[]}:H?function(){var e,r=[],t=L(!0);for(r.push(t),e="classRange"===t.type?"union":m("&")?"intersection":m("-")?"subtraction":"union";!m("]");)"intersection"===e?(g("&"),g("&"),m("&")&&U("&& cannot be followed by &. Wrap it in brackets: &&[&].")):"subtraction"===e&&(g("-"),g("-")),r.push(t=L("union"===e));return{kind:e,body:r}}():((r=N())||U("classAtom"),(e=m("]")?[r]:function e(r){if(m("-")&&!b("]")){t=r.range[0],i=d(h("-")),(a=N())||U("classAtom"),u=X;var t,u,n,a,i,o,s=R();return(s||U("classRanges"),"codePoint"in r&&"codePoint"in a?n=[f(r,a,t,u)]:K?U("invalid character class"):n=[r,i,a],"empty"===s.type)?n:n.concat(s.body)}return(o=N())||U("classAtom"),(n=m("]")?o:e(o))||U("nonEmptyClassRangesNoDash"),[r].concat(n)}(r))||U("nonEmptyClassRanges"),{kind:"union",body:e})}function N(){var e;return h("-")?d("-"):(e=A(/^[^\\\]-]/))?d(e[0]):h("\\")?((e=w(!0))||U("classEscape"),S(e)):void 0}function L(e){var r,t,u=X;if(h("\\")){if(t=w(!0))r=t;else{if(t=z())return t;U("Invalid escape","\\"+y(),u)}}else if(t=$())r=t;else{if(t=O())return t;U("Invalid character",y())}if(e&&m("-")&&!b("-")){if(g("-"),t=M())return f(r,t,u,X);U("Invalid range end",y())}return r}function M(){if(h("\\")){var e,r=X;if(e=z())return e;U("Invalid escape","\\"+y(),r)}return $()}function $(){var e;if(e=A(/^[^()[\]{}/\-\\|]/))return d(e)}function z(){var e;if(h("b"))return o("singleEscape",8,"\\b");if(h("B"))U("\\B not possible inside of ClassContents","",X-2);else if(e=A(/^[&\-!#%,:;<=>@_`~]/))return o("identifier",e[0].codePointAt(0),e[0]);else if(e=T())return e;else return null}function U(r,t,u,n){u=null==u?X:u,n=null==n?u:n;var a=Math.max(0,u-10),i=Math.min(n+10,e.length),o=" "+e.substring(a,i),d=" "+Array(u-a+1).join(" ")+"^";throw SyntaxError(r+" at position "+u+(t?": "+t:"")+"\n"+o+"\n"+d)}t||(t={});var W=[],q=0,Z=!0,V=!1,G=-1!==(r||"").indexOf("u"),H=-1!==(r||"").indexOf("v"),K=G||H,X=0;if(H&&!t.unicodeSet)throw Error('The "v" flag is only supported when the .unicodeSet option is enabled.');if(G&&H)throw Error('The "u" and "v" flags are mutually exclusive.');""===(e=String(e))&&(e="(?:)");var J=D();return(J.range[1]!==e.length&&U("Could not parse entire input - got stuck","",J.range[1]),V=V||W.some(function(e){return e<=q}))?(X=0,Z=!1,D()):J}},md.exports?md.exports=A:window.regjsparser=A;var ms=md.exports;let{getStaticValue:mc}=ro,{parse:mf}=ms,{isRegexLiteral:ml,isNewExpression:mp,isMethodCall:mg}=fl,mh="method",my="pattern",mm=(e,r)=>{if(ml(e))return e.regex.flags.includes("g");if(mp(e,{name:"RegExp"})&&e.arguments[0]?.type!=="SpreadElement"&&e.arguments[1]?.type==="Literal"&&"string"==typeof e.arguments[1].value)return e.arguments[1].value.includes("g");let t=mc(e,r);if(!t)return!1;let{value:u}=t;return"[object RegExp]"===Object.prototype.toString.call(u)&&u.global};var mb=et({create:e=>({CallExpression(r){if(!mg(r,{methods:["replace","replaceAll"],argumentsLength:2,optionalCall:!1,optionalMember:!1}))return;let{arguments:[t],callee:{property:u}}=r;if(!mm(t,e.sourceCode.getScope(t)))return;let n=u.name,a=function(e){let r;if(!ml(e))return;let{pattern:t,flags:u}=e.regex;if("g"!==u.replace("u",""))return;try{r=mf(t,u,{unicodePropertyEscape:!0,namedGroups:!0,lookbehind:!0})}catch{return}let n="alternative"===r.type?r.body:[r];if(n.some(e=>"value"!==e.type))return;let a=String.fromCodePoint(...n.map(e=>e.codePoint));return rN(a)}(t);if("replaceAll"===n){if(!a)return;return{node:t,messageId:my,data:{replacement:a.length<20?a:"a string literal"},fix:e=>e.replaceText(t,a)}}return{node:u,messageId:mh,*fix(e){yield e.insertTextAfter(u,"All"),a&&(yield e.replaceText(t,a))}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#replaceAll()` over regex searches with the global flag."},fixable:"code",messages:{[mh]:"Prefer `String#replaceAll()` over `String#replace()`.",[my]:"This pattern can be replaced with {{replacement}}."}}});let{getStaticValue:mv}=ro,{getParenthesizedText:mA,getParenthesizedRange:mD}=fR,{replaceArgument:mx}=la,{isNumberLiteral:mE,isMethodCall:mC}=fl,m_=e=>mE(e)?e.value:"UnaryExpression"===e.type&&"-"===e.operator?-m_(e.argument):void 0,mS=e=>e?.type==="MemberExpression"&&!1===e.computed&&"Identifier"===e.property.type&&"length"===e.property.name;var mw=et({create:e=>({CallExpression(r){if(!mC(r,{methods:["substr","substring"]}))return;let t=r.callee.property.name;return{node:r,messageId:t,*fix(u,{abort:n}){if(yield u.replaceText(r.callee.property,"slice"),0!==r.arguments.length){if(r.arguments.length>2||r.arguments.some(e=>"SpreadElement"===e.type))return n();yield*("substr"===t?function*({node:e,fixer:r,context:t,abort:u}){let n=e.arguments,[a,i]=n;if(!i)return;let{sourceCode:o}=t,d=o.getScope(e),s=mv(a,d),c=mD(i,o),f=e=>mx(r,i,e,o);if(s?.value===0){if(mE(i)||mS(i))return;if("number"==typeof m_(i)){yield f(Math.max(0,m_(i)));return}yield r.insertTextBeforeRange(c,"Math.max(0, "),yield r.insertTextAfterRange(c,")");return}if(n.every(e=>mE(e))){yield f(a.value+i.value);return}if(n.every(e=>go(e,d))){let e=mA(a,o);yield r.insertTextBeforeRange(c,`${e} + `);return}return u()}:function*({node:e,fixer:r,context:t,abort:u}){let{sourceCode:n}=t,[a,i]=e.arguments,o=a?m_(a):void 0,d=mA(a,n),s=e=>mx(r,a,e,n);if(!i){if(mS(a))return;if(void 0!==o){yield s(Math.max(0,o));return}let e=mD(a,n);yield r.insertTextBeforeRange(e,"Math.max(0, "),yield r.insertTextAfterRange(e,")");return}let c=m_(i),f=mA(i,n),l=e=>mx(r,i,e,n);if(void 0!==o&&void 0!==c){let e=[Math.max(0,o),Math.max(0,c)];o>c&&e.reverse(),e[0]!==o&&(yield s(e[0])),e[1]!==c&&(yield l(e[1]));return}if(0===o||0===c){yield s(0),yield l(`Math.max(0, ${0===o?f:d})`);return}return u()})({node:r,fixer:u,context:e,abort:n})}}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#slice()` over `String#substr()` and `String#substring()`."},fixable:"code",messages:{substr:"Prefer `String#slice()` over `String#substr()`.",substring:"Prefer `String#slice()` over `String#substring()`."}}});let{isMethodCall:mF}=fl,mk="prefer-string-trim-start-end";var mT=et({create:()=>({CallExpression(e){if(!mF(e,{methods:["trimLeft","trimRight"],argumentsLength:0,optionalCall:!1}))return;let r=e.callee.property,t=r.name,u="trimLeft"===t?"trimStart":"trimEnd";return{node:r,messageId:mk,data:{method:t,replacement:u},fix:e=>e.replaceText(r,u)}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`."},fixable:"code",messages:{[mk]:"Prefer `String#{{replacement}}()` over `String#{{method}}()`."}}});let{isParenthesized:mP,getParenthesizedRange:mB,toLocation:mI}=px,mj="no-unreadable-iife";var mO=et({create:e=>({CallExpression(r){let{sourceCode:t}=e;if("ArrowFunctionExpression"===r.callee.type&&"BlockStatement"!==r.callee.body.type&&mP(r.callee.body,t))return{node:r,loc:mI(mB(r.callee.body,t),t),messageId:mj}}}),meta:{type:"suggestion",docs:{description:"Disallow unreadable IIFEs."},hasSuggestions:!1,messages:{[mj]:"IIFE with parenthesized arrow function body is considered unreadable."}}});let{switchCallExpressionToNewExpression:mR}=la,mN="throw-new-error",mL=/^(?:[A-Z][\da-z]*)*Error$/;var mM=et({create:e=>({CallExpression(r){if(!("ThrowStatement"===r.parent.type&&r.parent.argument===r))return;let{callee:t}=r;if("Identifier"===t.type&&mL.test(t.name)||"MemberExpression"===t.type&&!t.computed&&"Identifier"===t.property.type&&mL.test(t.property.name))return{node:r,messageId:mN,fix:t=>mR(r,e.sourceCode,t)}}}),meta:{type:"suggestion",docs:{description:"Require `new` when throwing an error."},fixable:"code",messages:{[mN]:"Use `new` when throwing an error."}}}),m$=/[|\\{}()[\]^$+*?.]/g,mz=new Map([["[0-9]",{value:"\\d"}],["[^0-9]",{value:"\\D"}],["[a-zA-Z0-9_]",{value:"\\w"}],["[a-zA-Z_0-9]",{value:"\\w"}],["[a-z0-9A-Z_]",{value:"\\w"}],["[a-z0-9_A-Z]",{value:"\\w"}],["[a-z_A-Z0-9]",{value:"\\w"}],["[a-z_0-9A-Z]",{value:"\\w"}],["[A-Za-z0-9_]",{value:"\\w"}],["[A-Za-z_0-9]",{value:"\\w"}],["[A-Z0-9a-z_]",{value:"\\w"}],["[A-Z0-9_a-z]",{value:"\\w"}],["[A-Z_a-z0-9]",{value:"\\w"}],["[A-Z_0-9a-z]",{value:"\\w"}],["[0-9a-zA-Z_]",{value:"\\w"}],["[0-9a-z_A-Z]",{value:"\\w"}],["[0-9A-Za-z_]",{value:"\\w"}],["[0-9A-Z_a-z]",{value:"\\w"}],["[0-9_a-zA-Z]",{value:"\\w"}],["[0-9_A-Za-z]",{value:"\\w"}],["[_a-zA-Z0-9]",{value:"\\w"}],["[_a-z0-9A-Z]",{value:"\\w"}],["[_A-Za-z0-9]",{value:"\\w"}],["[_A-Z0-9a-z]",{value:"\\w"}],["[_0-9a-zA-Z]",{value:"\\w"}],["[_0-9A-Za-z]",{value:"\\w"}],["[a-zA-Z\\d_]",{value:"\\w"}],["[a-zA-Z_\\d]",{value:"\\w"}],["[a-z\\dA-Z_]",{value:"\\w"}],["[a-z\\d_A-Z]",{value:"\\w"}],["[a-z_A-Z\\d]",{value:"\\w"}],["[a-z_\\dA-Z]",{value:"\\w"}],["[A-Za-z\\d_]",{value:"\\w"}],["[A-Za-z_\\d]",{value:"\\w"}],["[A-Z\\da-z_]",{value:"\\w"}],["[A-Z\\d_a-z]",{value:"\\w"}],["[A-Z_a-z\\d]",{value:"\\w"}],["[A-Z_\\da-z]",{value:"\\w"}],["[\\da-zA-Z_]",{value:"\\w"}],["[\\da-z_A-Z]",{value:"\\w"}],["[\\dA-Za-z_]",{value:"\\w"}],["[\\dA-Z_a-z]",{value:"\\w"}],["[\\d_a-zA-Z]",{value:"\\w"}],["[\\d_A-Za-z]",{value:"\\w"}],["[_a-zA-Z\\d]",{value:"\\w"}],["[_a-z\\dA-Z]",{value:"\\w"}],["[_A-Za-z\\d]",{value:"\\w"}],["[_A-Z\\da-z]",{value:"\\w"}],["[_\\da-zA-Z]",{value:"\\w"}],["[_\\dA-Za-z]",{value:"\\w"}],["[^a-zA-Z0-9_]",{value:"\\W"}],["[^a-zA-Z_0-9]",{value:"\\W"}],["[^a-z0-9A-Z_]",{value:"\\W"}],["[^a-z0-9_A-Z]",{value:"\\W"}],["[^a-z_A-Z0-9]",{value:"\\W"}],["[^a-z_0-9A-Z]",{value:"\\W"}],["[^A-Za-z0-9_]",{value:"\\W"}],["[^A-Za-z_0-9]",{value:"\\W"}],["[^A-Z0-9a-z_]",{value:"\\W"}],["[^A-Z0-9_a-z]",{value:"\\W"}],["[^A-Z_a-z0-9]",{value:"\\W"}],["[^A-Z_0-9a-z]",{value:"\\W"}],["[^0-9a-zA-Z_]",{value:"\\W"}],["[^0-9a-z_A-Z]",{value:"\\W"}],["[^0-9A-Za-z_]",{value:"\\W"}],["[^0-9A-Z_a-z]",{value:"\\W"}],["[^0-9_a-zA-Z]",{value:"\\W"}],["[^0-9_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z0-9]",{value:"\\W"}],["[^_a-z0-9A-Z]",{value:"\\W"}],["[^_A-Za-z0-9]",{value:"\\W"}],["[^_A-Z0-9a-z]",{value:"\\W"}],["[^_0-9a-zA-Z]",{value:"\\W"}],["[^_0-9A-Za-z]",{value:"\\W"}],["[^a-zA-Z\\d_]",{value:"\\W"}],["[^a-zA-Z_\\d]",{value:"\\W"}],["[^a-z\\dA-Z_]",{value:"\\W"}],["[^a-z\\d_A-Z]",{value:"\\W"}],["[^a-z_A-Z\\d]",{value:"\\W"}],["[^a-z_\\dA-Z]",{value:"\\W"}],["[^A-Za-z\\d_]",{value:"\\W"}],["[^A-Za-z_\\d]",{value:"\\W"}],["[^A-Z\\da-z_]",{value:"\\W"}],["[^A-Z\\d_a-z]",{value:"\\W"}],["[^A-Z_a-z\\d]",{value:"\\W"}],["[^A-Z_\\da-z]",{value:"\\W"}],["[^\\da-zA-Z_]",{value:"\\W"}],["[^\\da-z_A-Z]",{value:"\\W"}],["[^\\dA-Za-z_]",{value:"\\W"}],["[^\\dA-Z_a-z]",{value:"\\W"}],["[^\\d_a-zA-Z]",{value:"\\W"}],["[^\\d_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z\\d]",{value:"\\W"}],["[^_a-z\\dA-Z]",{value:"\\W"}],["[^_A-Za-z\\d]",{value:"\\W"}],["[^_A-Z\\da-z]",{value:"\\W"}],["[^_\\da-zA-Z]",{value:"\\W"}],["[^_\\dA-Za-z]",{value:"\\W"}],["[a-z0-9_]",{value:"\\w",flags:"i"}],["[a-z_0-9]",{value:"\\w",flags:"i"}],["[0-9a-z_]",{value:"\\w",flags:"i"}],["[0-9_a-z]",{value:"\\w",flags:"i"}],["[_a-z0-9]",{value:"\\w",flags:"i"}],["[_0-9a-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[a-z\\d_]",{value:"\\w",flags:"i"}],["[a-z_\\d]",{value:"\\w",flags:"i"}],["[\\da-z_]",{value:"\\w",flags:"i"}],["[\\d_a-z]",{value:"\\w",flags:"i"}],["[_a-z\\d]",{value:"\\w",flags:"i"}],["[_\\da-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[^a-z_0-9]",{value:"\\W",flags:"i"}],["[^0-9a-z_]",{value:"\\W",flags:"i"}],["[^0-9_a-z]",{value:"\\W",flags:"i"}],["[^_a-z0-9]",{value:"\\W",flags:"i"}],["[^_0-9a-z]",{value:"\\W",flags:"i"}],["[^a-z\\d_]",{value:"\\W",flags:"i"}],["[^a-z_\\d]",{value:"\\W",flags:"i"}],["[^\\da-z_]",{value:"\\W",flags:"i"}],["[^\\d_a-z]",{value:"\\W",flags:"i"}],["[^_a-z\\d]",{value:"\\W",flags:"i"}],["[^_\\da-z]",{value:"\\W",flags:"i"}]]);let mU=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(m$,"\\$&")},mW=(e,r)=>!r||r.split("").every(r=>e.includes(r));function mq(e){return e?mZ[e.type](e):""}var mZ={RegExp:function(e){return"/"+mq(e.body)+"/"+e.flags},Alternative:function(e){return(e.expressions||[]).map(mq).join("")},Disjunction:function(e){return mq(e.left)+"|"+mq(e.right)},Group:function(e){var r=mq(e.expression);return e.capturing?e.name?"(?<"+(e.nameRaw||e.name)+">"+r+")":"("+r+")":"(?:"+r+")"},Backreference:function(e){switch(e.kind){case"number":return"\\"+e.reference;case"name":return"\\k<"+(e.referenceRaw||e.reference)+">";default:throw TypeError("Unknown Backreference kind: "+e.kind)}},Assertion:function(e){switch(e.kind){case"^":case"$":case"\\b":case"\\B":return e.kind;case"Lookahead":var r=mq(e.assertion);if(e.negative)return"(?!"+r+")";return"(?="+r+")";case"Lookbehind":var t=mq(e.assertion);if(e.negative)return"(?<!"+t+")";return"(?<="+t+")";default:throw TypeError("Unknown Assertion kind: "+e.kind)}},CharacterClass:function(e){var r=e.expressions.map(mq).join("");return e.negative?"[^"+r+"]":"["+r+"]"},ClassRange:function(e){return mq(e.from)+"-"+mq(e.to)},Repetition:function(e){return""+mq(e.expression)+mq(e.quantifier)},Quantifier:function(e){var r=void 0,t=e.greedy?"":"?";switch(e.kind){case"+":case"?":case"*":r=e.kind;break;case"Range":r=e.from===e.to?"{"+e.from+"}":e.to?"{"+e.from+","+e.to+"}":"{"+e.from+",}";break;default:throw TypeError("Unknown Quantifier kind: "+e.kind)}return""+r+t},Char:function(e){var r=e.value;switch(e.kind){case"simple":if(e.escaped)return"\\"+r;return r;case"hex":case"unicode":case"oct":case"decimal":case"control":case"meta":return r;default:throw TypeError("Unknown Char kind: "+e.kind)}},UnicodeProperty:function(e){return"\\"+(e.negative?"P":"p")+"{"+(e.shorthand||e.binary?"":e.name+"=")+e.value+"}"}},mV={generate:mq},mG={General_Category:"gc",Script:"sc",Script_Extensions:"scx"},mH=m1(mG),mK={ASCII:"ASCII",ASCII_Hex_Digit:"AHex",Alphabetic:"Alpha",Any:"Any",Assigned:"Assigned",Bidi_Control:"Bidi_C",Bidi_Mirrored:"Bidi_M",Case_Ignorable:"CI",Cased:"Cased",Changes_When_Casefolded:"CWCF",Changes_When_Casemapped:"CWCM",Changes_When_Lowercased:"CWL",Changes_When_NFKC_Casefolded:"CWKCF",Changes_When_Titlecased:"CWT",Changes_When_Uppercased:"CWU",Dash:"Dash",Default_Ignorable_Code_Point:"DI",Deprecated:"Dep",Diacritic:"Dia",Emoji:"Emoji",Emoji_Component:"Emoji_Component",Emoji_Modifier:"Emoji_Modifier",Emoji_Modifier_Base:"Emoji_Modifier_Base",Emoji_Presentation:"Emoji_Presentation",Extended_Pictographic:"Extended_Pictographic",Extender:"Ext",Grapheme_Base:"Gr_Base",Grapheme_Extend:"Gr_Ext",Hex_Digit:"Hex",IDS_Binary_Operator:"IDSB",IDS_Trinary_Operator:"IDST",ID_Continue:"IDC",ID_Start:"IDS",Ideographic:"Ideo",Join_Control:"Join_C",Logical_Order_Exception:"LOE",Lowercase:"Lower",Math:"Math",Noncharacter_Code_Point:"NChar",Pattern_Syntax:"Pat_Syn",Pattern_White_Space:"Pat_WS",Quotation_Mark:"QMark",Radical:"Radical",Regional_Indicator:"RI",Sentence_Terminal:"STerm",Soft_Dotted:"SD",Terminal_Punctuation:"Term",Unified_Ideograph:"UIdeo",Uppercase:"Upper",Variation_Selector:"VS",White_Space:"space",XID_Continue:"XIDC",XID_Start:"XIDS"},mX=m1(mK),mJ={Cased_Letter:"LC",Close_Punctuation:"Pe",Connector_Punctuation:"Pc",Control:["Cc","cntrl"],Currency_Symbol:"Sc",Dash_Punctuation:"Pd",Decimal_Number:["Nd","digit"],Enclosing_Mark:"Me",Final_Punctuation:"Pf",Format:"Cf",Initial_Punctuation:"Pi",Letter:"L",Letter_Number:"Nl",Line_Separator:"Zl",Lowercase_Letter:"Ll",Mark:["M","Combining_Mark"],Math_Symbol:"Sm",Modifier_Letter:"Lm",Modifier_Symbol:"Sk",Nonspacing_Mark:"Mn",Number:"N",Open_Punctuation:"Ps",Other:"C",Other_Letter:"Lo",Other_Number:"No",Other_Punctuation:"Po",Other_Symbol:"So",Paragraph_Separator:"Zp",Private_Use:"Co",Punctuation:["P","punct"],Separator:"Z",Space_Separator:"Zs",Spacing_Mark:"Mc",Surrogate:"Cs",Symbol:"S",Titlecase_Letter:"Lt",Unassigned:"Cn",Uppercase_Letter:"Lu"},mQ=m1(mJ),mY={Adlam:"Adlm",Ahom:"Ahom",Anatolian_Hieroglyphs:"Hluw",Arabic:"Arab",Armenian:"Armn",Avestan:"Avst",Balinese:"Bali",Bamum:"Bamu",Bassa_Vah:"Bass",Batak:"Batk",Bengali:"Beng",Bhaiksuki:"Bhks",Bopomofo:"Bopo",Brahmi:"Brah",Braille:"Brai",Buginese:"Bugi",Buhid:"Buhd",Canadian_Aboriginal:"Cans",Carian:"Cari",Caucasian_Albanian:"Aghb",Chakma:"Cakm",Cham:"Cham",Cherokee:"Cher",Common:"Zyyy",Coptic:["Copt","Qaac"],Cuneiform:"Xsux",Cypriot:"Cprt",Cyrillic:"Cyrl",Deseret:"Dsrt",Devanagari:"Deva",Dogra:"Dogr",Duployan:"Dupl",Egyptian_Hieroglyphs:"Egyp",Elbasan:"Elba",Ethiopic:"Ethi",Georgian:"Geor",Glagolitic:"Glag",Gothic:"Goth",Grantha:"Gran",Greek:"Grek",Gujarati:"Gujr",Gunjala_Gondi:"Gong",Gurmukhi:"Guru",Han:"Hani",Hangul:"Hang",Hanifi_Rohingya:"Rohg",Hanunoo:"Hano",Hatran:"Hatr",Hebrew:"Hebr",Hiragana:"Hira",Imperial_Aramaic:"Armi",Inherited:["Zinh","Qaai"],Inscriptional_Pahlavi:"Phli",Inscriptional_Parthian:"Prti",Javanese:"Java",Kaithi:"Kthi",Kannada:"Knda",Katakana:"Kana",Kayah_Li:"Kali",Kharoshthi:"Khar",Khmer:"Khmr",Khojki:"Khoj",Khudawadi:"Sind",Lao:"Laoo",Latin:"Latn",Lepcha:"Lepc",Limbu:"Limb",Linear_A:"Lina",Linear_B:"Linb",Lisu:"Lisu",Lycian:"Lyci",Lydian:"Lydi",Mahajani:"Mahj",Makasar:"Maka",Malayalam:"Mlym",Mandaic:"Mand",Manichaean:"Mani",Marchen:"Marc",Medefaidrin:"Medf",Masaram_Gondi:"Gonm",Meetei_Mayek:"Mtei",Mende_Kikakui:"Mend",Meroitic_Cursive:"Merc",Meroitic_Hieroglyphs:"Mero",Miao:"Plrd",Modi:"Modi",Mongolian:"Mong",Mro:"Mroo",Multani:"Mult",Myanmar:"Mymr",Nabataean:"Nbat",New_Tai_Lue:"Talu",Newa:"Newa",Nko:"Nkoo",Nushu:"Nshu",Ogham:"Ogam",Ol_Chiki:"Olck",Old_Hungarian:"Hung",Old_Italic:"Ital",Old_North_Arabian:"Narb",Old_Permic:"Perm",Old_Persian:"Xpeo",Old_Sogdian:"Sogo",Old_South_Arabian:"Sarb",Old_Turkic:"Orkh",Oriya:"Orya",Osage:"Osge",Osmanya:"Osma",Pahawh_Hmong:"Hmng",Palmyrene:"Palm",Pau_Cin_Hau:"Pauc",Phags_Pa:"Phag",Phoenician:"Phnx",Psalter_Pahlavi:"Phlp",Rejang:"Rjng",Runic:"Runr",Samaritan:"Samr",Saurashtra:"Saur",Sharada:"Shrd",Shavian:"Shaw",Siddham:"Sidd",SignWriting:"Sgnw",Sinhala:"Sinh",Sogdian:"Sogd",Sora_Sompeng:"Sora",Soyombo:"Soyo",Sundanese:"Sund",Syloti_Nagri:"Sylo",Syriac:"Syrc",Tagalog:"Tglg",Tagbanwa:"Tagb",Tai_Le:"Tale",Tai_Tham:"Lana",Tai_Viet:"Tavt",Takri:"Takr",Tamil:"Taml",Tangut:"Tang",Telugu:"Telu",Thaana:"Thaa",Thai:"Thai",Tibetan:"Tibt",Tifinagh:"Tfng",Tirhuta:"Tirh",Ugaritic:"Ugar",Vai:"Vaii",Warang_Citi:"Wara",Yi:"Yiii",Zanabazar_Square:"Zanb"},m0=m1(mY);function m1(e){var r={};for(var t in e)if(e.hasOwnProperty(t)){var u=e[t];if(Array.isArray(u))for(var n=0;n<u.length;n++)r[u[n]]=t;else r[u]=t}return r}function m2(e){return mJ.hasOwnProperty(e)||mQ.hasOwnProperty(e)}function m3(e){return mY.hasOwnProperty(e)||m0.hasOwnProperty(e)}var m4=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],u=!0,n=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(u=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);u=!0);}catch(e){n=!0,a=e}finally{try{!u&&o.return&&o.return()}finally{if(n)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function m5(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var m8=void 0,m6={},m9=void 0,m7=void 0;function be(e,r){return m6.options.captureLocations?e&&r?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:e||r:null}var br=[[-1,1,function(e,r){m7=be(r,r),m9=e}],[0,4,function(e,r,t,u,n,a,i,o){m7=be(n,o),m9=bE({type:"RegExp",body:r,flags:function(e){var r=new Set,t=!0,u=!1,n=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var o=a.value;if(r.has(o)||!"gimsuxy".includes(o))throw SyntaxError("Invalid flags: "+e);r.add(o)}}catch(e){u=!0,n=e}finally{try{!t&&i.return&&i.return()}finally{if(u)throw n}}return e.split("").sort().join("")}(u)},bC(n,o||i))}],[1,1,function(e,r){m7=be(r,r),m9=e}],[1,0,function(){m7=null,m9=""}],[2,1,function(e,r){m7=be(r,r),m9=e}],[2,2,function(e,r,t,u){m7=be(t,u),m9=e+r}],[3,1,function(e,r){m7=be(r,r),m9=e}],[4,1,function(e,r){m7=be(r,r),m9=e}],[4,3,function(e,r,t,u,n,a){m7=be(u,a);var i=null;n&&(i=bC(u||n,a||n)),m9=bE({type:"Disjunction",left:e,right:t},i)}],[5,1,function(e,r){if(m7=be(r,r),0===e.length){m9=null;return}m9=1===e.length?bE(e[0],m7):bE({type:"Alternative",expressions:e},m7)}],[6,0,function(){m7=null,m9=[]}],[6,2,function(e,r,t,u){m7=be(t,u),m9=e.concat(r)}],[7,1,function(e,r){m7=be(r,r),m9=bE(Object.assign({type:"Assertion"},e),m7)}],[7,2,function(e,r,t,u){m7=be(t,u),m9=e,r&&(m9=bE({type:"Repetition",expression:e,quantifier:r},m7))}],[8,1,function(e,r){m7=be(r,r),m9={kind:"^"}}],[8,1,function(e,r){m7=be(r,r),m9={kind:"$"}}],[8,1,function(e,r){m7=be(r,r),m9={kind:"\\b"}}],[8,1,function(e,r){m7=be(r,r),m9={kind:"\\B"}}],[8,3,function(e,r,t,u,n,a){m7=be(u,a),m9={kind:"Lookahead",assertion:r}}],[8,3,function(e,r,t,u,n,a){m7=be(u,a),m9={kind:"Lookahead",negative:!0,assertion:r}}],[8,3,function(e,r,t,u,n,a){m7=be(u,a),m9={kind:"Lookbehind",assertion:r}}],[8,3,function(e,r,t,u,n,a){m7=be(u,a),m9={kind:"Lookbehind",negative:!0,assertion:r}}],[9,1,function(e,r){m7=be(r,r),m9=e}],[9,1,function(e,r){m7=be(r,r),m9=e}],[9,1,function(e,r){m7=be(r,r),m9=e}],[10,1,function(e,r){m9=by(e,"simple",m7=be(r,r))}],[10,1,function(e,r){m7=be(r,r),(m9=by(e.slice(1),"simple",m7)).escaped=!0}],[10,1,function(e,r){(m9=by(e,"unicode",m7=be(r,r))).isSurrogatePair=!0}],[10,1,function(e,r){m9=by(e,"unicode",m7=be(r,r))}],[10,1,function(e,r){m9=function(e,r){var t="P"===e[1],u=e.indexOf("="),n=e.slice(3,-1!==u?u:-1),a=void 0,i=-1===u&&bh.isGeneralCategoryValue(n),o=-1===u&&bh.isBinaryPropertyName(n);if(i)a=n,n="General_Category";else if(o)a=n;else{if(!bh.isValidName(n))throw SyntaxError("Invalid unicode property name: "+n+".");if(a=e.slice(u+1,-1),!bh.isValidValue(n,a))throw SyntaxError("Invalid "+n+" unicode property value: "+a+".")}return bE({type:"UnicodeProperty",name:n,value:a,negative:t,shorthand:i,binary:o,canonicalName:bh.getCanonicalName(n)||n,canonicalValue:bh.getCanonicalValue(a)||a},r)}(e,m7=be(r,r))}],[10,1,function(e,r){m9=by(e,"control",m7=be(r,r))}],[10,1,function(e,r){m9=by(e,"hex",m7=be(r,r))}],[10,1,function(e,r){m9=by(e,"oct",m7=be(r,r))}],[10,1,function(e,r){var t,u;t=m7=be(r,r),m9=(u=Number(e.slice(1)))>0&&u<=bc?bE({type:"Backreference",kind:"number",number:u,reference:u},t):by(e,"decimal",t)}],[10,1,function(e,r){m9=by(e,"meta",m7=be(r,r))}],[10,1,function(e,r){m9=by(e,"meta",m7=be(r,r))}],[10,1,function(e,r){m7=be(r,r),m9=function(e,r){var t=e.slice(3,-1),u=bx(t);if(bf.hasOwnProperty(u))return bE({type:"Backreference",kind:"name",number:bf[u],reference:u,referenceRaw:t},r);var n=null,a=null,i=null,o=null;r&&(n=r.startOffset,a=r.startLine,i=r.endLine,o=r.startColumn);var d=/^[\w$<>]/,s=void 0,c=[by(e.slice(1,2),"simple",n?{startLine:a,endLine:i,startColumn:o,startOffset:n,endOffset:n+=2,endColumn:o+=2}:null)];for(c[0].escaped=!0,e=e.slice(2);e.length>0;){var f=null;(f=e.match(bm))||(f=e.match(bb))?(n&&(s={startLine:a,endLine:i,startColumn:o,startOffset:n,endOffset:n+=f[0].length,endColumn:o+=f[0].length}),c.push(by(f[0],"unicode",s)),e=e.slice(f[0].length)):(f=e.match(d))&&(n&&(s={startLine:a,endLine:i,startColumn:o,startOffset:n,endOffset:++n,endColumn:++o}),c.push(by(f[0],"simple",s)),e=e.slice(1))}return c}(e,r)}],[11,1,function(e,r){m7=be(r,r),m9=e}],[11,0],[12,1,function(e,r){m7=be(r,r),m9=e}],[12,2,function(e,r,t,u){m7=be(t,u),e.greedy=!1,m9=e}],[13,1,function(e,r){m9=bE({type:"Quantifier",kind:e,greedy:!0},m7=be(r,r))}],[13,1,function(e,r){m9=bE({type:"Quantifier",kind:e,greedy:!0},m7=be(r,r))}],[13,1,function(e,r){m9=bE({type:"Quantifier",kind:e,greedy:!0},m7=be(r,r))}],[13,1,function(e,r){m7=be(r,r);var t=bp(e);m9=bE({type:"Quantifier",kind:"Range",from:t[0],to:t[0],greedy:!0},m7)}],[13,1,function(e,r){m7=be(r,r),m9=bE({type:"Quantifier",kind:"Range",from:bp(e)[0],greedy:!0},m7)}],[13,1,function(e,r){m7=be(r,r);var t=bp(e);m9=bE({type:"Quantifier",kind:"Range",from:t[0],to:t[1],greedy:!0},m7)}],[14,1,function(e,r){m7=be(r,r),m9=e}],[14,1,function(e,r){m7=be(r,r),m9=e}],[15,3,function(e,r,t,u,n,a){m7=be(u,a);var i=String(e),o=bx(i);if(!m6.options.allowGroupNameDuplicates&&bf.hasOwnProperty(o))throw SyntaxError('Duplicate of the named group "'+o+'".');bf[o]=e.groupNumber,m9=bE({type:"Group",capturing:!0,name:o,nameRaw:i,number:e.groupNumber,expression:r},m7)}],[15,3,function(e,r,t,u,n,a){m7=be(u,a),m9=bE({type:"Group",capturing:!0,number:e.groupNumber,expression:r},m7)}],[16,3,function(e,r,t,u,n,a){m9=bE({type:"Group",capturing:!1,expression:r},m7=be(u,a))}],[17,3,function(e,r,t,u,n,a){m9=bE({type:"CharacterClass",negative:!0,expressions:r},m7=be(u,a))}],[17,3,function(e,r,t,u,n,a){m9=bE({type:"CharacterClass",expressions:r},m7=be(u,a))}],[18,0,function(){m7=null,m9=[]}],[18,1,function(e,r){m7=be(r,r),m9=e}],[19,1,function(e,r){m7=be(r,r),m9=[e]}],[19,2,function(e,r,t,u){m7=be(t,u),m9=[e].concat(r)}],[19,4,function(e,r,t,u,n,a,i,o){m7=be(n,o),bg(e,t),m9=[bE({type:"ClassRange",from:e,to:t},bC(n,i))],u&&(m9=m9.concat(u))}],[20,1,function(e,r){m7=be(r,r),m9=e}],[20,2,function(e,r,t,u){m7=be(t,u),m9=[e].concat(r)}],[20,4,function(e,r,t,u,n,a,i,o){m7=be(n,o),bg(e,t),m9=[bE({type:"ClassRange",from:e,to:t},bC(n,i))],u&&(m9=m9.concat(u))}],[21,1,function(e,r){m9=by(e,"simple",m7=be(r,r))}],[21,1,function(e,r){m7=be(r,r),m9=e}],[22,1,function(e,r){m7=be(r,r),m9=e}],[22,1,function(e,r){m9=by(e,"meta",m7=be(r,r))}]],bt={SLASH:"23",CHAR:"24",BAR:"25",BOS:"26",EOS:"27",ESC_b:"28",ESC_B:"29",POS_LA_ASSERT:"30",R_PAREN:"31",NEG_LA_ASSERT:"32",POS_LB_ASSERT:"33",NEG_LB_ASSERT:"34",ESC_CHAR:"35",U_CODE_SURROGATE:"36",U_CODE:"37",U_PROP_VALUE_EXP:"38",CTRL_CH:"39",HEX_CODE:"40",OCT_CODE:"41",DEC_CODE:"42",META_CHAR:"43",ANY:"44",NAMED_GROUP_REF:"45",Q_MARK:"46",STAR:"47",PLUS:"48",RANGE_EXACT:"49",RANGE_OPEN:"50",RANGE_CLOSED:"51",NAMED_CAPTURE_GROUP:"52",L_PAREN:"53",NON_CAPTURE_GROUP:"54",NEG_CLASS:"55",R_BRACKET:"56",L_BRACKET:"57",DASH:"58",$:"59"},bu=[{0:1,23:"s2"},{59:"acc"},{3:3,4:4,5:5,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"s7"},{23:"r6",25:"s12"},{23:"r7",25:"r7",31:"r7"},{7:14,8:15,9:16,10:25,14:27,15:42,16:43,17:26,23:"r9",24:"s28",25:"r9",26:"s17",27:"s18",28:"s19",29:"s20",30:"s21",31:"r9",32:"s22",33:"s23",34:"s24",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",52:"s44",53:"s45",54:"s46",55:"s40",57:"s41"},{1:8,2:9,24:"s10",59:"r3"},{59:"r1"},{24:"s11",59:"r2"},{24:"r4",59:"r4"},{24:"r5",59:"r5"},{5:13,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r8",25:"r8",31:"r8"},{23:"r11",24:"r11",25:"r11",26:"r11",27:"r11",28:"r11",29:"r11",30:"r11",31:"r11",32:"r11",33:"r11",34:"r11",35:"r11",36:"r11",37:"r11",38:"r11",39:"r11",40:"r11",41:"r11",42:"r11",43:"r11",44:"r11",45:"r11",52:"r11",53:"r11",54:"r11",55:"r11",57:"r11"},{23:"r12",24:"r12",25:"r12",26:"r12",27:"r12",28:"r12",29:"r12",30:"r12",31:"r12",32:"r12",33:"r12",34:"r12",35:"r12",36:"r12",37:"r12",38:"r12",39:"r12",40:"r12",41:"r12",42:"r12",43:"r12",44:"r12",45:"r12",52:"r12",53:"r12",54:"r12",55:"r12",57:"r12"},{11:47,12:48,13:49,23:"r38",24:"r38",25:"r38",26:"r38",27:"r38",28:"r38",29:"r38",30:"r38",31:"r38",32:"r38",33:"r38",34:"r38",35:"r38",36:"r38",37:"r38",38:"r38",39:"r38",40:"r38",41:"r38",42:"r38",43:"r38",44:"r38",45:"r38",46:"s52",47:"s50",48:"s51",49:"s53",50:"s54",51:"s55",52:"r38",53:"r38",54:"r38",55:"r38",57:"r38"},{23:"r14",24:"r14",25:"r14",26:"r14",27:"r14",28:"r14",29:"r14",30:"r14",31:"r14",32:"r14",33:"r14",34:"r14",35:"r14",36:"r14",37:"r14",38:"r14",39:"r14",40:"r14",41:"r14",42:"r14",43:"r14",44:"r14",45:"r14",52:"r14",53:"r14",54:"r14",55:"r14",57:"r14"},{23:"r15",24:"r15",25:"r15",26:"r15",27:"r15",28:"r15",29:"r15",30:"r15",31:"r15",32:"r15",33:"r15",34:"r15",35:"r15",36:"r15",37:"r15",38:"r15",39:"r15",40:"r15",41:"r15",42:"r15",43:"r15",44:"r15",45:"r15",52:"r15",53:"r15",54:"r15",55:"r15",57:"r15"},{23:"r16",24:"r16",25:"r16",26:"r16",27:"r16",28:"r16",29:"r16",30:"r16",31:"r16",32:"r16",33:"r16",34:"r16",35:"r16",36:"r16",37:"r16",38:"r16",39:"r16",40:"r16",41:"r16",42:"r16",43:"r16",44:"r16",45:"r16",52:"r16",53:"r16",54:"r16",55:"r16",57:"r16"},{23:"r17",24:"r17",25:"r17",26:"r17",27:"r17",28:"r17",29:"r17",30:"r17",31:"r17",32:"r17",33:"r17",34:"r17",35:"r17",36:"r17",37:"r17",38:"r17",39:"r17",40:"r17",41:"r17",42:"r17",43:"r17",44:"r17",45:"r17",52:"r17",53:"r17",54:"r17",55:"r17",57:"r17"},{4:57,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:59,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:61,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:63,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r22",24:"r22",25:"r22",26:"r22",27:"r22",28:"r22",29:"r22",30:"r22",31:"r22",32:"r22",33:"r22",34:"r22",35:"r22",36:"r22",37:"r22",38:"r22",39:"r22",40:"r22",41:"r22",42:"r22",43:"r22",44:"r22",45:"r22",46:"r22",47:"r22",48:"r22",49:"r22",50:"r22",51:"r22",52:"r22",53:"r22",54:"r22",55:"r22",57:"r22"},{23:"r23",24:"r23",25:"r23",26:"r23",27:"r23",28:"r23",29:"r23",30:"r23",31:"r23",32:"r23",33:"r23",34:"r23",35:"r23",36:"r23",37:"r23",38:"r23",39:"r23",40:"r23",41:"r23",42:"r23",43:"r23",44:"r23",45:"r23",46:"r23",47:"r23",48:"r23",49:"r23",50:"r23",51:"r23",52:"r23",53:"r23",54:"r23",55:"r23",57:"r23"},{23:"r24",24:"r24",25:"r24",26:"r24",27:"r24",28:"r24",29:"r24",30:"r24",31:"r24",32:"r24",33:"r24",34:"r24",35:"r24",36:"r24",37:"r24",38:"r24",39:"r24",40:"r24",41:"r24",42:"r24",43:"r24",44:"r24",45:"r24",46:"r24",47:"r24",48:"r24",49:"r24",50:"r24",51:"r24",52:"r24",53:"r24",54:"r24",55:"r24",57:"r24"},{23:"r25",24:"r25",25:"r25",26:"r25",27:"r25",28:"r25",29:"r25",30:"r25",31:"r25",32:"r25",33:"r25",34:"r25",35:"r25",36:"r25",37:"r25",38:"r25",39:"r25",40:"r25",41:"r25",42:"r25",43:"r25",44:"r25",45:"r25",46:"r25",47:"r25",48:"r25",49:"r25",50:"r25",51:"r25",52:"r25",53:"r25",54:"r25",55:"r25",56:"r25",57:"r25",58:"r25"},{23:"r26",24:"r26",25:"r26",26:"r26",27:"r26",28:"r26",29:"r26",30:"r26",31:"r26",32:"r26",33:"r26",34:"r26",35:"r26",36:"r26",37:"r26",38:"r26",39:"r26",40:"r26",41:"r26",42:"r26",43:"r26",44:"r26",45:"r26",46:"r26",47:"r26",48:"r26",49:"r26",50:"r26",51:"r26",52:"r26",53:"r26",54:"r26",55:"r26",56:"r26",57:"r26",58:"r26"},{23:"r27",24:"r27",25:"r27",26:"r27",27:"r27",28:"r27",29:"r27",30:"r27",31:"r27",32:"r27",33:"r27",34:"r27",35:"r27",36:"r27",37:"r27",38:"r27",39:"r27",40:"r27",41:"r27",42:"r27",43:"r27",44:"r27",45:"r27",46:"r27",47:"r27",48:"r27",49:"r27",50:"r27",51:"r27",52:"r27",53:"r27",54:"r27",55:"r27",56:"r27",57:"r27",58:"r27"},{23:"r28",24:"r28",25:"r28",26:"r28",27:"r28",28:"r28",29:"r28",30:"r28",31:"r28",32:"r28",33:"r28",34:"r28",35:"r28",36:"r28",37:"r28",38:"r28",39:"r28",40:"r28",41:"r28",42:"r28",43:"r28",44:"r28",45:"r28",46:"r28",47:"r28",48:"r28",49:"r28",50:"r28",51:"r28",52:"r28",53:"r28",54:"r28",55:"r28",56:"r28",57:"r28",58:"r28"},{23:"r29",24:"r29",25:"r29",26:"r29",27:"r29",28:"r29",29:"r29",30:"r29",31:"r29",32:"r29",33:"r29",34:"r29",35:"r29",36:"r29",37:"r29",38:"r29",39:"r29",40:"r29",41:"r29",42:"r29",43:"r29",44:"r29",45:"r29",46:"r29",47:"r29",48:"r29",49:"r29",50:"r29",51:"r29",52:"r29",53:"r29",54:"r29",55:"r29",56:"r29",57:"r29",58:"r29"},{23:"r30",24:"r30",25:"r30",26:"r30",27:"r30",28:"r30",29:"r30",30:"r30",31:"r30",32:"r30",33:"r30",34:"r30",35:"r30",36:"r30",37:"r30",38:"r30",39:"r30",40:"r30",41:"r30",42:"r30",43:"r30",44:"r30",45:"r30",46:"r30",47:"r30",48:"r30",49:"r30",50:"r30",51:"r30",52:"r30",53:"r30",54:"r30",55:"r30",56:"r30",57:"r30",58:"r30"},{23:"r31",24:"r31",25:"r31",26:"r31",27:"r31",28:"r31",29:"r31",30:"r31",31:"r31",32:"r31",33:"r31",34:"r31",35:"r31",36:"r31",37:"r31",38:"r31",39:"r31",40:"r31",41:"r31",42:"r31",43:"r31",44:"r31",45:"r31",46:"r31",47:"r31",48:"r31",49:"r31",50:"r31",51:"r31",52:"r31",53:"r31",54:"r31",55:"r31",56:"r31",57:"r31",58:"r31"},{23:"r32",24:"r32",25:"r32",26:"r32",27:"r32",28:"r32",29:"r32",30:"r32",31:"r32",32:"r32",33:"r32",34:"r32",35:"r32",36:"r32",37:"r32",38:"r32",39:"r32",40:"r32",41:"r32",42:"r32",43:"r32",44:"r32",45:"r32",46:"r32",47:"r32",48:"r32",49:"r32",50:"r32",51:"r32",52:"r32",53:"r32",54:"r32",55:"r32",56:"r32",57:"r32",58:"r32"},{23:"r33",24:"r33",25:"r33",26:"r33",27:"r33",28:"r33",29:"r33",30:"r33",31:"r33",32:"r33",33:"r33",34:"r33",35:"r33",36:"r33",37:"r33",38:"r33",39:"r33",40:"r33",41:"r33",42:"r33",43:"r33",44:"r33",45:"r33",46:"r33",47:"r33",48:"r33",49:"r33",50:"r33",51:"r33",52:"r33",53:"r33",54:"r33",55:"r33",56:"r33",57:"r33",58:"r33"},{23:"r34",24:"r34",25:"r34",26:"r34",27:"r34",28:"r34",29:"r34",30:"r34",31:"r34",32:"r34",33:"r34",34:"r34",35:"r34",36:"r34",37:"r34",38:"r34",39:"r34",40:"r34",41:"r34",42:"r34",43:"r34",44:"r34",45:"r34",46:"r34",47:"r34",48:"r34",49:"r34",50:"r34",51:"r34",52:"r34",53:"r34",54:"r34",55:"r34",56:"r34",57:"r34",58:"r34"},{23:"r35",24:"r35",25:"r35",26:"r35",27:"r35",28:"r35",29:"r35",30:"r35",31:"r35",32:"r35",33:"r35",34:"r35",35:"r35",36:"r35",37:"r35",38:"r35",39:"r35",40:"r35",41:"r35",42:"r35",43:"r35",44:"r35",45:"r35",46:"r35",47:"r35",48:"r35",49:"r35",50:"r35",51:"r35",52:"r35",53:"r35",54:"r35",55:"r35",56:"r35",57:"r35",58:"r35"},{23:"r36",24:"r36",25:"r36",26:"r36",27:"r36",28:"r36",29:"r36",30:"r36",31:"r36",32:"r36",33:"r36",34:"r36",35:"r36",36:"r36",37:"r36",38:"r36",39:"r36",40:"r36",41:"r36",42:"r36",43:"r36",44:"r36",45:"r36",46:"r36",47:"r36",48:"r36",49:"r36",50:"r36",51:"r36",52:"r36",53:"r36",54:"r36",55:"r36",56:"r36",57:"r36",58:"r36"},{10:70,18:65,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{10:70,18:83,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{23:"r47",24:"r47",25:"r47",26:"r47",27:"r47",28:"r47",29:"r47",30:"r47",31:"r47",32:"r47",33:"r47",34:"r47",35:"r47",36:"r47",37:"r47",38:"r47",39:"r47",40:"r47",41:"r47",42:"r47",43:"r47",44:"r47",45:"r47",46:"r47",47:"r47",48:"r47",49:"r47",50:"r47",51:"r47",52:"r47",53:"r47",54:"r47",55:"r47",57:"r47"},{23:"r48",24:"r48",25:"r48",26:"r48",27:"r48",28:"r48",29:"r48",30:"r48",31:"r48",32:"r48",33:"r48",34:"r48",35:"r48",36:"r48",37:"r48",38:"r48",39:"r48",40:"r48",41:"r48",42:"r48",43:"r48",44:"r48",45:"r48",46:"r48",47:"r48",48:"r48",49:"r48",50:"r48",51:"r48",52:"r48",53:"r48",54:"r48",55:"r48",57:"r48"},{4:85,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:87,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:89,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r13",24:"r13",25:"r13",26:"r13",27:"r13",28:"r13",29:"r13",30:"r13",31:"r13",32:"r13",33:"r13",34:"r13",35:"r13",36:"r13",37:"r13",38:"r13",39:"r13",40:"r13",41:"r13",42:"r13",43:"r13",44:"r13",45:"r13",52:"r13",53:"r13",54:"r13",55:"r13",57:"r13"},{23:"r37",24:"r37",25:"r37",26:"r37",27:"r37",28:"r37",29:"r37",30:"r37",31:"r37",32:"r37",33:"r37",34:"r37",35:"r37",36:"r37",37:"r37",38:"r37",39:"r37",40:"r37",41:"r37",42:"r37",43:"r37",44:"r37",45:"r37",52:"r37",53:"r37",54:"r37",55:"r37",57:"r37"},{23:"r39",24:"r39",25:"r39",26:"r39",27:"r39",28:"r39",29:"r39",30:"r39",31:"r39",32:"r39",33:"r39",34:"r39",35:"r39",36:"r39",37:"r39",38:"r39",39:"r39",40:"r39",41:"r39",42:"r39",43:"r39",44:"r39",45:"r39",46:"s56",52:"r39",53:"r39",54:"r39",55:"r39",57:"r39"},{23:"r41",24:"r41",25:"r41",26:"r41",27:"r41",28:"r41",29:"r41",30:"r41",31:"r41",32:"r41",33:"r41",34:"r41",35:"r41",36:"r41",37:"r41",38:"r41",39:"r41",40:"r41",41:"r41",42:"r41",43:"r41",44:"r41",45:"r41",46:"r41",52:"r41",53:"r41",54:"r41",55:"r41",57:"r41"},{23:"r42",24:"r42",25:"r42",26:"r42",27:"r42",28:"r42",29:"r42",30:"r42",31:"r42",32:"r42",33:"r42",34:"r42",35:"r42",36:"r42",37:"r42",38:"r42",39:"r42",40:"r42",41:"r42",42:"r42",43:"r42",44:"r42",45:"r42",46:"r42",52:"r42",53:"r42",54:"r42",55:"r42",57:"r42"},{23:"r43",24:"r43",25:"r43",26:"r43",27:"r43",28:"r43",29:"r43",30:"r43",31:"r43",32:"r43",33:"r43",34:"r43",35:"r43",36:"r43",37:"r43",38:"r43",39:"r43",40:"r43",41:"r43",42:"r43",43:"r43",44:"r43",45:"r43",46:"r43",52:"r43",53:"r43",54:"r43",55:"r43",57:"r43"},{23:"r44",24:"r44",25:"r44",26:"r44",27:"r44",28:"r44",29:"r44",30:"r44",31:"r44",32:"r44",33:"r44",34:"r44",35:"r44",36:"r44",37:"r44",38:"r44",39:"r44",40:"r44",41:"r44",42:"r44",43:"r44",44:"r44",45:"r44",46:"r44",52:"r44",53:"r44",54:"r44",55:"r44",57:"r44"},{23:"r45",24:"r45",25:"r45",26:"r45",27:"r45",28:"r45",29:"r45",30:"r45",31:"r45",32:"r45",33:"r45",34:"r45",35:"r45",36:"r45",37:"r45",38:"r45",39:"r45",40:"r45",41:"r45",42:"r45",43:"r45",44:"r45",45:"r45",46:"r45",52:"r45",53:"r45",54:"r45",55:"r45",57:"r45"},{23:"r46",24:"r46",25:"r46",26:"r46",27:"r46",28:"r46",29:"r46",30:"r46",31:"r46",32:"r46",33:"r46",34:"r46",35:"r46",36:"r46",37:"r46",38:"r46",39:"r46",40:"r46",41:"r46",42:"r46",43:"r46",44:"r46",45:"r46",46:"r46",52:"r46",53:"r46",54:"r46",55:"r46",57:"r46"},{23:"r40",24:"r40",25:"r40",26:"r40",27:"r40",28:"r40",29:"r40",30:"r40",31:"r40",32:"r40",33:"r40",34:"r40",35:"r40",36:"r40",37:"r40",38:"r40",39:"r40",40:"r40",41:"r40",42:"r40",43:"r40",44:"r40",45:"r40",52:"r40",53:"r40",54:"r40",55:"r40",57:"r40"},{25:"s12",31:"s58"},{23:"r18",24:"r18",25:"r18",26:"r18",27:"r18",28:"r18",29:"r18",30:"r18",31:"r18",32:"r18",33:"r18",34:"r18",35:"r18",36:"r18",37:"r18",38:"r18",39:"r18",40:"r18",41:"r18",42:"r18",43:"r18",44:"r18",45:"r18",52:"r18",53:"r18",54:"r18",55:"r18",57:"r18"},{25:"s12",31:"s60"},{23:"r19",24:"r19",25:"r19",26:"r19",27:"r19",28:"r19",29:"r19",30:"r19",31:"r19",32:"r19",33:"r19",34:"r19",35:"r19",36:"r19",37:"r19",38:"r19",39:"r19",40:"r19",41:"r19",42:"r19",43:"r19",44:"r19",45:"r19",52:"r19",53:"r19",54:"r19",55:"r19",57:"r19"},{25:"s12",31:"s62"},{23:"r20",24:"r20",25:"r20",26:"r20",27:"r20",28:"r20",29:"r20",30:"r20",31:"r20",32:"r20",33:"r20",34:"r20",35:"r20",36:"r20",37:"r20",38:"r20",39:"r20",40:"r20",41:"r20",42:"r20",43:"r20",44:"r20",45:"r20",52:"r20",53:"r20",54:"r20",55:"r20",57:"r20"},{25:"s12",31:"s64"},{23:"r21",24:"r21",25:"r21",26:"r21",27:"r21",28:"r21",29:"r21",30:"r21",31:"r21",32:"r21",33:"r21",34:"r21",35:"r21",36:"r21",37:"r21",38:"r21",39:"r21",40:"r21",41:"r21",42:"r21",43:"r21",44:"r21",45:"r21",52:"r21",53:"r21",54:"r21",55:"r21",57:"r21"},{56:"s72"},{56:"r55"},{10:70,20:73,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r56",58:"s74"},{24:"r62",28:"r62",35:"r62",36:"r62",37:"r62",38:"r62",39:"r62",40:"r62",41:"r62",42:"r62",43:"r62",44:"r62",45:"r62",56:"r62",58:"r62"},{24:"r63",28:"r63",35:"r63",36:"r63",37:"r63",38:"r63",39:"r63",40:"r63",41:"r63",42:"r63",43:"r63",44:"r63",45:"r63",56:"r63",58:"r63"},{24:"r64",28:"r64",35:"r64",36:"r64",37:"r64",38:"r64",39:"r64",40:"r64",41:"r64",42:"r64",43:"r64",44:"r64",45:"r64",56:"r64",58:"r64"},{24:"r65",28:"r65",35:"r65",36:"r65",37:"r65",38:"r65",39:"r65",40:"r65",41:"r65",42:"r65",43:"r65",44:"r65",45:"r65",56:"r65",58:"r65"},{23:"r52",24:"r52",25:"r52",26:"r52",27:"r52",28:"r52",29:"r52",30:"r52",31:"r52",32:"r52",33:"r52",34:"r52",35:"r52",36:"r52",37:"r52",38:"r52",39:"r52",40:"r52",41:"r52",42:"r52",43:"r52",44:"r52",45:"r52",46:"r52",47:"r52",48:"r52",49:"r52",50:"r52",51:"r52",52:"r52",53:"r52",54:"r52",55:"r52",57:"r52"},{56:"r57"},{10:70,21:77,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{56:"r59"},{10:70,20:79,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r63",58:"s80"},{10:70,18:78,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r58"},{56:"r60"},{10:70,21:81,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{10:70,18:82,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r61"},{56:"s84"},{23:"r53",24:"r53",25:"r53",26:"r53",27:"r53",28:"r53",29:"r53",30:"r53",31:"r53",32:"r53",33:"r53",34:"r53",35:"r53",36:"r53",37:"r53",38:"r53",39:"r53",40:"r53",41:"r53",42:"r53",43:"r53",44:"r53",45:"r53",46:"r53",47:"r53",48:"r53",49:"r53",50:"r53",51:"r53",52:"r53",53:"r53",54:"r53",55:"r53",57:"r53"},{25:"s12",31:"s86"},{23:"r49",24:"r49",25:"r49",26:"r49",27:"r49",28:"r49",29:"r49",30:"r49",31:"r49",32:"r49",33:"r49",34:"r49",35:"r49",36:"r49",37:"r49",38:"r49",39:"r49",40:"r49",41:"r49",42:"r49",43:"r49",44:"r49",45:"r49",46:"r49",47:"r49",48:"r49",49:"r49",50:"r49",51:"r49",52:"r49",53:"r49",54:"r49",55:"r49",57:"r49"},{25:"s12",31:"s88"},{23:"r50",24:"r50",25:"r50",26:"r50",27:"r50",28:"r50",29:"r50",30:"r50",31:"r50",32:"r50",33:"r50",34:"r50",35:"r50",36:"r50",37:"r50",38:"r50",39:"r50",40:"r50",41:"r50",42:"r50",43:"r50",44:"r50",45:"r50",46:"r50",47:"r50",48:"r50",49:"r50",50:"r50",51:"r50",52:"r50",53:"r50",54:"r50",55:"r50",57:"r50"},{25:"s12",31:"s90"},{23:"r51",24:"r51",25:"r51",26:"r51",27:"r51",28:"r51",29:"r51",30:"r51",31:"r51",32:"r51",33:"r51",34:"r51",35:"r51",36:"r51",37:"r51",38:"r51",39:"r51",40:"r51",41:"r51",42:"r51",43:"r51",44:"r51",45:"r51",46:"r51",47:"r51",48:"r51",49:"r51",50:"r51",51:"r51",52:"r51",53:"r51",54:"r51",55:"r51",57:"r51"}],bn=[],ba=void 0,bi=[[/^#[^\n]+/,function(){}],[/^\s+/,function(){}],[/^-/,function(){return"DASH"}],[/^\//,function(){return"CHAR"}],[/^#/,function(){return"CHAR"}],[/^\|/,function(){return"CHAR"}],[/^\./,function(){return"CHAR"}],[/^\{/,function(){return"CHAR"}],[/^\{\d+\}/,function(){return"RANGE_EXACT"}],[/^\{\d+,\}/,function(){return"RANGE_OPEN"}],[/^\{\d+,\d+\}/,function(){return"RANGE_CLOSED"}],[/^\\k<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return bA(m8.slice(3,-1),this.getCurrentState()),"NAMED_GROUP_REF"}],[/^\\b/,function(){return"ESC_b"}],[/^\\B/,function(){return"ESC_B"}],[/^\\c[a-zA-Z]/,function(){return"CTRL_CH"}],[/^\\0\d{1,2}/,function(){return"OCT_CODE"}],[/^\\0/,function(){return"DEC_CODE"}],[/^\\\d{1,3}/,function(){return"DEC_CODE"}],[/^\\u[dD][89abAB][0-9a-fA-F]{2}\\u[dD][c-fC-F][0-9a-fA-F]{2}/,function(){return"U_CODE_SURROGATE"}],[/^\\u\{[0-9a-fA-F]{1,}\}/,function(){return"U_CODE"}],[/^\\u[0-9a-fA-F]{4}/,function(){return"U_CODE"}],[/^\\[pP]\{\w+(?:=\w+)?\}/,function(){return"U_PROP_VALUE_EXP"}],[/^\\x[0-9a-fA-F]{2}/,function(){return"HEX_CODE"}],[/^\\[tnrdDsSwWvf]/,function(){return"META_CHAR"}],[/^\\\//,function(){return"ESC_CHAR"}],[/^\\[ #]/,function(){return"ESC_CHAR"}],[/^\\[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/,function(){return"ESC_CHAR"}],[/^\\[^*?+\[()\\|]/,function(){var e=this.getCurrentState();if("u_class"===e&&"\\-"===m8);else if("u"===e||"xu"===e||"u_class"===e)throw SyntaxError("invalid Unicode escape "+m8);return"ESC_CHAR"}],[/^\(/,function(){return"CHAR"}],[/^\)/,function(){return"CHAR"}],[/^\(\?=/,function(){return"POS_LA_ASSERT"}],[/^\(\?!/,function(){return"NEG_LA_ASSERT"}],[/^\(\?<=/,function(){return"POS_LB_ASSERT"}],[/^\(\?<!/,function(){return"NEG_LB_ASSERT"}],[/^\(\?:/,function(){return"NON_CAPTURE_GROUP"}],[/^\(\?<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return bA(m8=m8.slice(3,-1),this.getCurrentState()),"NAMED_CAPTURE_GROUP"}],[/^\(/,function(){return"L_PAREN"}],[/^\)/,function(){return"R_PAREN"}],[/^[*?+[^$]/,function(){return"CHAR"}],[/^\\\]/,function(){return"ESC_CHAR"}],[/^\]/,function(){return this.popState(),"R_BRACKET"}],[/^\^/,function(){return"BOS"}],[/^\$/,function(){return"EOS"}],[/^\*/,function(){return"STAR"}],[/^\?/,function(){return"Q_MARK"}],[/^\+/,function(){return"PLUS"}],[/^\|/,function(){return"BAR"}],[/^\./,function(){return"ANY"}],[/^\//,function(){return"SLASH"}],[/^[^*?+\[()\\|]/,function(){return"CHAR"}],[/^\[\^/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"NEG_CLASS"}],[/^\[/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"L_BRACKET"}]],bo={INITIAL:[8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u:[8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],xu:[0,1,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],x:[0,1,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u_class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]},bd={type:"$",value:""};ba={initString:function(e){return this._string=e,this._cursor=0,this._states=["INITIAL"],this._tokensQueue=[],this._currentLine=1,this._currentColumn=0,this._currentLineBeginOffset=0,this._tokenStartOffset=0,this._tokenEndOffset=0,this._tokenStartLine=1,this._tokenEndLine=1,this._tokenStartColumn=0,this._tokenEndColumn=0,this},getStates:function(){return this._states},getCurrentState:function(){return this._states[this._states.length-1]},pushState:function(e){this._states.push(e)},begin:function(e){this.pushState(e)},popState:function(){return this._states.length>1?this._states.pop():this._states[0]},getNextToken:function(){if(this._tokensQueue.length>0)return this.onToken(this._toToken(this._tokensQueue.shift()));if(!this.hasMoreTokens())return this.onToken(bd);for(var e=this._string.slice(this._cursor),r=bo[this.getCurrentState()],t=0;t<r.length;t++){var u=bi[r[t]],n=this._match(e,u[0]);if(""===e&&""===n&&this._cursor++,null!==n){(m8=n).length;var a=u[1].call(this);if(!a)return this.getNextToken();if(Array.isArray(a)){var i,o=a.slice(1);a=a[0],o.length>0&&(i=this._tokensQueue).unshift.apply(i,m5(o))}return this.onToken(this._toToken(a,m8))}}if(this.isEOF())return this._cursor++,bd;this.throwUnexpectedToken(e[0],this._currentLine,this._currentColumn)},throwUnexpectedToken:function(e,r,t){var u=this._string.split("\n")[r-1],n="";throw u&&(n="\n\n"+u+"\n"+" ".repeat(t)+"^\n"),SyntaxError(n+'Unexpected token: "'+e+'" '+("at "+r)+":"+t+".")},getCursor:function(){return this._cursor},getCurrentLine:function(){return this._currentLine},getCurrentColumn:function(){return this._currentColumn},_captureLocation:function(e){var r=/\n/g;this._tokenStartOffset=this._cursor,this._tokenStartLine=this._currentLine,this._tokenStartColumn=this._tokenStartOffset-this._currentLineBeginOffset;for(var t=void 0;null!==(t=r.exec(e));)this._currentLine++,this._currentLineBeginOffset=this._tokenStartOffset+t.index+1;this._tokenEndOffset=this._cursor+e.length,this._tokenEndLine=this._currentLine,this._tokenEndColumn=this._currentColumn=this._tokenEndOffset-this._currentLineBeginOffset},_toToken:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{type:e,value:r,startOffset:this._tokenStartOffset,endOffset:this._tokenEndOffset,startLine:this._tokenStartLine,endLine:this._tokenEndLine,startColumn:this._tokenStartColumn,endColumn:this._tokenEndColumn}},isEOF:function(){return this._cursor===this._string.length},hasMoreTokens:function(){return this._cursor<=this._string.length},_match:function(e,r){var t=e.match(r);return t?(this._captureLocation(t[0]),this._cursor+=t[0].length,t[0]):null},onToken:function(e){return e}},m6.lexer=ba,m6.tokenizer=ba,m6.options={captureLocations:!0};var bs={setOptions:function(e){return m6.options=e,this},getOptions:function(){return m6.options},parse:function(e,r){if(!ba)throw Error("Tokenizer instance wasn't specified.");ba.initString(e);var t=m6.options;r&&(m6.options=Object.assign({},m6.options,r)),bs.onParseBegin(e,ba,m6.options),bn.length=0,bn.push(0);var u=ba.getNextToken(),n=null;do{u||(m6.options=t,bS());var a=bn[bn.length-1],i=bt[u.type];bu[a].hasOwnProperty(i)||(m6.options=t,b_(u));var o=bu[a][i];if("s"===o[0]){var d=null;m6.options.captureLocations&&(d={startOffset:u.startOffset,endOffset:u.endOffset,startLine:u.startLine,endLine:u.endLine,startColumn:u.startColumn,endColumn:u.endColumn}),n=this.onShift(u),bn.push({symbol:bt[n.type],semanticValue:n.value,loc:d},Number(o.slice(1))),u=ba.getNextToken()}else if("r"===o[0]){var s=br[o.slice(1)],c="function"==typeof s[2],f=c?[]:null,l=c&&m6.options.captureLocations?[]:null;if(0!==s[1])for(var p=s[1];p-- >0;){bn.pop();var g=bn.pop();c&&(f.unshift(g.semanticValue),l&&l.unshift(g.loc))}var h={symbol:s[0]};if(c){m8=n?n.value:null,n&&n.value.length;var y=null!==l?f.concat(l):f;s[2].apply(s,m5(y)),h.semanticValue=m9,l&&(h.loc=m7)}var m=bn[bn.length-1],b=s[0];bn.push(h,bu[m][b])}else if("acc"===o){bn.pop();var v=bn.pop();if((1!==bn.length||0!==bn[0]||ba.hasMoreTokens())&&(m6.options=t,b_(u)),v.hasOwnProperty("semanticValue"))return m6.options=t,bs.onParseEnd(v.semanticValue),v.semanticValue;return bs.onParseEnd(),m6.options=t,!0}}while(ba.hasMoreTokens()||bn.length>1)},setTokenizer:function(e){return ba=e,bs},getTokenizer:function(){return ba},onParseBegin:function(e,r,t){},onParseEnd:function(e){},onShift:function(e){return e}},bc=0,bf={},bl="";function bp(e){var r=e.match(/\d+/g).map(Number);if(Number.isFinite(r[1])&&r[1]<r[0])throw SyntaxError("Numbers out of order in "+e+" quantifier");return r}function bg(e,r){if("control"===e.kind||"control"===r.kind||!isNaN(e.codePoint)&&!isNaN(r.codePoint)&&e.codePoint>r.codePoint)throw SyntaxError("Range "+e.value+"-"+r.value+" out of order in character class")}bs.onParseBegin=function(e,r){bl=e,bc=0,bf={};var t=e.lastIndexOf("/"),u=e.slice(t);u.includes("x")&&u.includes("u")?r.pushState("xu"):(u.includes("x")&&r.pushState("x"),u.includes("u")&&r.pushState("u"))},bs.onShift=function(e){return("L_PAREN"===e.type||"NAMED_CAPTURE_GROUP"===e.type)&&(e.value=new String(e.value),e.value.groupNumber=++bc),e};var bh={isAlias:function(e){return mH.hasOwnProperty(e)||mX.hasOwnProperty(e)},isValidName:function(e){return mG.hasOwnProperty(e)||mH.hasOwnProperty(e)||mK.hasOwnProperty(e)||mX.hasOwnProperty(e)},isValidValue:function(e,r){return"General_Category"===e||"gc"==e?m2(r):!!("Script"===e||"Script_Extensions"===e||"sc"===e||"scx"===e)&&m3(r)},isGeneralCategoryValue:m2,isScriptCategoryValue:m3,isBinaryPropertyName:function(e){return mK.hasOwnProperty(e)||mX.hasOwnProperty(e)},getCanonicalName:function(e){return mH.hasOwnProperty(e)?mH[e]:mX.hasOwnProperty(e)?mX[e]:null},getCanonicalValue:function(e){return mQ.hasOwnProperty(e)?mQ[e]:m0.hasOwnProperty(e)?m0[e]:mX.hasOwnProperty(e)?mX[e]:null},NON_BINARY_PROP_NAMES_TO_ALIASES:mG,NON_BINARY_ALIASES_TO_PROP_NAMES:mH,BINARY_PROP_NAMES_TO_ALIASES:mK,BINARY_ALIASES_TO_PROP_NAMES:mX,GENERAL_CATEGORY_VALUE_TO_ALIASES:mJ,GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES:mQ,SCRIPT_VALUE_TO_ALIASES:mY,SCRIPT_VALUE_ALIASES_TO_VALUE:m0};function by(e,r,t){var u=void 0,n=void 0;switch(r){case"decimal":u=String.fromCodePoint(n=Number(e.slice(1)));break;case"oct":u=String.fromCodePoint(n=parseInt(e.slice(1),8));break;case"hex":case"unicode":if(e.lastIndexOf("\\u")>0){var a=m4(e.split("\\u").slice(1),2),i=a[0],o=a[1];u=String.fromCodePoint(n=((i=parseInt(i,16))-55296)*1024+((o=parseInt(o,16))-56320)+65536)}else{if((n=parseInt(e.slice(2).replace("{",""),16))>1114111)throw SyntaxError("Bad character escape sequence: "+e);u=String.fromCodePoint(n)}break;case"meta":switch(e){case"\\t":n=(u=" ").codePointAt(0);break;case"\\n":n=(u="\n").codePointAt(0);break;case"\\r":n=(u="\r").codePointAt(0);break;case"\\v":n=(u="\v").codePointAt(0);break;case"\\f":n=(u="\f").codePointAt(0);break;case"\\b":n=(u="\b").codePointAt(0);case"\\0":u="\x00",n=0;case".":u=".",n=NaN;break;default:n=NaN}break;case"simple":n=(u=e).codePointAt(0)}return bE({type:"Char",value:e,kind:r,symbol:u,codePoint:n},t)}var bm=/^\\u[0-9a-fA-F]{4}/,bb=/^\\u\{[0-9a-fA-F]{1,}\}/,bv=/\\u\{[0-9a-fA-F]{1,}\}/;function bA(e,r){if(bv.test(e)&&!("u"===r||"xu"===r||"u_class"===r))throw SyntaxError('invalid group Unicode name "'+e+'", use `u` flag.');return e}var bD=/\\u(?:([dD][89aAbB][0-9a-fA-F]{2})\\u([dD][c-fC-F][0-9a-fA-F]{2})|([dD][89aAbB][0-9a-fA-F]{2})|([dD][c-fC-F][0-9a-fA-F]{2})|([0-9a-ce-fA-CE-F][0-9a-fA-F]{3}|[dD][0-7][0-9a-fA-F]{2})|\{(0*(?:[0-9a-fA-F]{1,5}|10[0-9a-fA-F]{4}))\})/;function bx(e){return e.replace(RegExp(bD,"g"),function(e,r,t,u,n,a,i){return r?String.fromCodePoint(parseInt(r,16),parseInt(t,16)):u?String.fromCodePoint(parseInt(u,16)):n?String.fromCodePoint(parseInt(n,16)):a?String.fromCodePoint(parseInt(a,16)):i?String.fromCodePoint(parseInt(i,16)):e})}function bE(e,r){return m6.options.captureLocations&&(e.loc={source:bl.slice(r.startOffset,r.endOffset),start:{line:r.startLine,column:r.startColumn,offset:r.startOffset},end:{line:r.endLine,column:r.endColumn,offset:r.endOffset}}),e}function bC(e,r){return m6.options.captureLocations?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:null}function b_(e){"$"===e.type&&bS(),ba.throwUnexpectedToken(e.value,e.startLine,e.startColumn)}function bS(){!function(e){throw SyntaxError(e)}("Unexpected end of input.")}var bw=bs.parse.bind(bs);bs.parse=function(e,r){return bw(""+e,r)},bs.setOptions({captureLocations:!1});var bF=function(){function e(e,r){for(var t=0;t<r.length;t++){var u=r[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}return function(r,t,u){return t&&e(r.prototype,t),u&&e(r,u),r}}(),bk="expressions",bT="expression",bP=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.node=r,this.parentPath=t,this.parent=t?t.node:null,this.property=u,this.index=n}return bF(e,[{key:"_enforceProp",value:function(e){if(!this.node.hasOwnProperty(e))throw Error("Node of type "+this.node.type+" doesn't have \""+e+'" collection.')}},{key:"setChild",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=void 0;return null!=t?(u||(u=bk),this._enforceProp(u),this.node[u][t]=r,n=e.getForNode(r,this,u,t)):(u||(u=bT),this._enforceProp(u),this.node[u]=r,n=e.getForNode(r,this,u,null)),n}},{key:"appendChild",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r||(r=bk),this._enforceProp(r);var t=this.node[r].length;return this.setChild(e,t,r)}},{key:"insertChildAt",value:function(r,t){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bk;this._enforceProp(u),this.node[u].splice(t,0,r),t<=e.getTraversingIndex()&&e.updateTraversingIndex(1),this._rebuildIndex(this.node,u)}},{key:"remove",value:function(){if(!this.isRemoved()&&(e.registry.delete(this.node),this.node=null,this.parent)){if(null!==this.index){this.parent[this.property].splice(this.index,1),this.index<=e.getTraversingIndex()&&e.updateTraversingIndex(-1),this._rebuildIndex(this.parent,this.property),this.index=null,this.property=null;return}delete this.parent[this.property],this.property=null}}},{key:"_rebuildIndex",value:function(r,t){for(var u=e.getForNode(r),n=0;n<r[t].length;n++)e.getForNode(r[t][n],u,t,n).index=n}},{key:"isRemoved",value:function(){return null===this.node}},{key:"replace",value:function(r){return(e.registry.delete(this.node),this.node=r,this.parent)?(null!==this.index?this.parent[this.property][this.index]=r:this.parent[this.property]=r,e.getForNode(r,this.parentPath,this.property,this.index)):null}},{key:"update",value:function(e){Object.assign(this.node,e)}},{key:"getParent",value:function(){return this.parentPath}},{key:"getChild",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.node.expressions?e.getForNode(this.node.expressions[r],this,bk,r):this.node.expression&&0==r?e.getForNode(this.node.expression,this,bT):null}},{key:"hasEqualSource",value:function(e){return JSON.stringify(this.node,bB)===JSON.stringify(e.node,bB)}},{key:"jsonEncode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.format,t=e.useLoc;return JSON.stringify(this.node,t?null:bB,r)}},{key:"getPreviousSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index-1],e.getForNode(this.parent),this.property,this.index-1):null}},{key:"getNextSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index+1],e.getForNode(this.parent),this.property,this.index+1):null}}],[{key:"getForNode",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;if(!r)return null;e.registry.has(r)||e.registry.set(r,new e(r,t,u,-1==n?null:n));var a=e.registry.get(r);return null!==t&&(a.parentPath=t,a.parent=a.parentPath.node),null!==u&&(a.property=u),n>=0&&(a.index=n),a}},{key:"initRegistry",value:function(){e.registry||(e.registry=new Map),e.registry.clear()}},{key:"updateTraversingIndex",value:function(r){return e.traversingIndexStack[e.traversingIndexStack.length-1]+=r}},{key:"getTraversingIndex",value:function(){return e.traversingIndexStack[e.traversingIndexStack.length-1]}}]),e}();function bB(e,r){if("loc"!==e)return r}bP.initRegistry(),bP.traversingIndexStack=[];var bI={traverse:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{asNodes:!1};function u(e,r,t,u){var n=bP.getForNode(r);return bP.getForNode(e,n,t,u)}Array.isArray(r)||(r=[r]),r=r.filter(function(r){return"function"!=typeof r.shouldRun||r.shouldRun(e)}),bP.initRegistry(),r.forEach(function(r){"function"==typeof r.init&&r.init(e)}),function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.pre,u=r.post,n=r.skipProperty;!function e(r,a,i,o){if(r&&"string"==typeof r.type){var d=void 0;if(t&&(d=t(r,a,i,o)),!1!==d){for(var s in a&&a[i]&&(r=isNaN(o)?a[i]:a[i][o]),r)if(r.hasOwnProperty(s)){if(n?n(s,r):"$"===s[0])continue;var c=r[s];if(Array.isArray(c)){var f=0;for(bP.traversingIndexStack.push(f);f<c.length;)e(c[f],r,s,f),f=bP.updateTraversingIndex(1);bP.traversingIndexStack.pop()}else e(c,r,s)}}u&&u(r,a,i,o)}}(e,null)}(e,{pre:function(e,n,a,i){var o=void 0;t.asNodes||(o=u(e,n,a,i));var d=!0,s=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(d=(f=l.next()).done);d=!0){var p=f.value;if("function"==typeof p["*"]){if(o){if(!o.isRemoved()){var g=p["*"](o);if(!1===g)return!1}}else p["*"](e,n,a,i)}var h=void 0;if("function"==typeof p[e.type]?h=p[e.type]:"object"==typeof p[e.type]&&"function"==typeof p[e.type].pre&&(h=p[e.type].pre),h){if(o){if(!o.isRemoved()){var y=h.call(p,o);if(!1===y)return!1}}else h.call(p,e,n,a,i)}}}catch(e){s=!0,c=e}finally{try{!d&&l.return&&l.return()}finally{if(s)throw c}}},post:function(e,n,a,i){if(e){var o=void 0;t.asNodes||(o=u(e,n,a,i));var d=!0,s=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(d=(f=l.next()).done);d=!0){var p=f.value,g=void 0;if("object"==typeof p[e.type]&&"function"==typeof p[e.type].post&&(g=p[e.type].post),g){if(o){if(!o.isRemoved()){var h=g.call(p,o);if(!1===h)return!1}}else g.call(p,e,n,a,i)}}}catch(e){s=!0,c=e}finally{try{!d&&l.return&&l.return()}finally{if(s)throw c}}}},skipProperty:function(e){return"loc"===e}})}},bj=function(){function e(e,r){for(var t=0;t<r.length;t++){var u=r[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}return function(r,t,u){return t&&e(r.prototype,t),u&&e(r,u),r}}(),bO=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._ast=r,this._source=null,this._string=null,this._regexp=null,this._extra=t}return bj(e,[{key:"getAST",value:function(){return this._ast}},{key:"setExtra",value:function(e){this._extra=e}},{key:"getExtra",value:function(){return this._extra}},{key:"toRegExp",value:function(){return this._regexp||(this._regexp=new RegExp(this.getSource(),this._ast.flags)),this._regexp}},{key:"getSource",value:function(){return this._source||(this._source=mV.generate(this._ast.body)),this._source}},{key:"getFlags",value:function(){return this._ast.flags}},{key:"toString",value:function(){return this._string||(this._string=mV.generate(this._ast)),this._string}}]),e}(),bR={TransformResult:bO,transform:function(e,r){var t=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(t=bs.parse(e,{captureLocations:!0})),bI.traverse(t,r),new bO(t)}},bN={dotAll:{_hasUFlag:!1,shouldRun:function(e){return!!e.flags.includes("s")&&(e.flags=e.flags.replace("s",""),this._hasUFlag=e.flags.includes("u"),!0)},Char:function(e){var r=e.node;if("meta"===r.kind&&"."===r.value){var t="\\uFFFF",u="￿";this._hasUFlag&&(t="\\u{10FFFF}",u="\uDBFF\uDFFF"),e.replace({type:"CharacterClass",expressions:[{type:"ClassRange",from:{type:"Char",value:"\\0",kind:"decimal",symbol:"\x00"},to:{type:"Char",value:t,kind:"unicode",symbol:u}}]})}}},namedCapturingGroups:{_groupNames:{},init:function(){this._groupNames={}},getExtra:function(){return this._groupNames},Group:function(e){var r=e.node;r.name&&(this._groupNames[r.name]=r.number,delete r.name,delete r.nameRaw)},Backreference:function(e){var r=e.node;"name"===r.kind&&(r.kind="number",r.reference=r.number,delete r.referenceRaw)}},xFlag:{RegExp:function(e){var r=e.node;r.flags.includes("x")&&(r.flags=r.flags.replace("x",""))}}},bL="A".codePointAt(0),bM="Z".codePointAt(0),b$="a".codePointAt(0),bz="z".codePointAt(0),bU="0".codePointAt(0),bW="9".codePointAt(0),bq="A".codePointAt(0),bZ="Z".codePointAt(0),bV={disjunctionToList:function e(r){if("Disjunction"!==r.type)throw TypeError('Expected "Disjunction" node, got "'+r.type+'"');var t=[];return r.left&&"Disjunction"===r.left.type?t.push.apply(t,(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t})(e(r.left)).concat([r.right])):t.push(r.left,r.right),t},listToDisjunction:function(e){return e.reduce(function(e,r){return{type:"Disjunction",left:e,right:r}})},increaseQuantifierByOne:function(e){"*"===e.kind?e.kind="+":"+"===e.kind?(e.kind="Range",e.from=2,delete e.to):"?"===e.kind?(e.kind="Range",e.from=1,e.to=2):"Range"===e.kind&&(e.from+=1,e.to&&(e.to+=1))}},bG=bV.increaseQuantifierByOne;function bH(e){return e.greedy&&("+"===e.kind||"*"===e.kind||"Range"===e.kind&&!e.to)}function bK(e){var r=void 0,t=void 0;return"*"===e.kind?r=0:"+"===e.kind?r=1:"?"===e.kind?(r=0,t=1):(r=e.from,e.to&&(t=e.to)),{from:r,to:t}}function bX(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var bJ=[function(e){return bQ(e," ")}].concat(bX(["\\f","\\n","\\r","\\t","\\v"].map(function(e){return function(r){return bY(r,e)}})),bX([160,5760,8232,8233,8239,8287,12288,65279].map(function(e){return function(r){return b0(r,e)}})),[function(e){return"ClassRange"===e.type&&b0(e.from,8192)&&b0(e.to,8202)}]);function bQ(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"simple";return"Char"===e.type&&e.value===r&&e.kind===t}function bY(e,r){return bQ(e,r,"meta")}function b0(e,r){return"Char"===e.type&&"unicode"===e.kind&&e.codePoint===r}function b1(e,r,t){for(var u=e,n=(t?u>=0:u<r.expressions.length)&&r.expressions[u];n&&"Char"===n.type&&"simple"===n.kind&&!n.escaped&&/\d/.test(n.value);)t?u--:u++,n=(t?u>=0:u<r.expressions.length)&&r.expressions[u];return Math.abs(e-u)}function b2(e,r){return e&&"Char"===e.type&&"simple"===e.kind&&!e.escaped&&e.value===r}function b3(e,r){var t=b4(e),u=b4(r);if(t===u){if("ClassRange"===e.type&&"ClassRange"!==r.type)return -1;if("ClassRange"===r.type&&"ClassRange"!==e.type)return 1;if("ClassRange"===e.type&&"ClassRange"===r.type)return b4(e.to)-b4(r.to);if(b5(e)&&b5(r)||b8(e)&&b8(r))return e.value<r.value?-1:1}return t-u}function b4(e){return"Char"===e.type?"-"===e.value||"control"===e.kind?1/0:"meta"===e.kind&&isNaN(e.codePoint)?-1:e.codePoint:e.from.codePoint}function b5(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"Char"===e.type&&"meta"===e.kind&&(r?e.value===r:/^\\[dws]$/i.test(e.value))}function b8(e){return"Char"===e.type&&"control"===e.kind}function b6(e){return 9===e.codePoint||10===e.codePoint||11===e.codePoint||12===e.codePoint||13===e.codePoint||32===e.codePoint||160===e.codePoint||5760===e.codePoint||e.codePoint>=8192&&e.codePoint<=8202||8232===e.codePoint||8233===e.codePoint||8239===e.codePoint||8287===e.codePoint||12288===e.codePoint||65279===e.codePoint}function b9(e){return e.codePoint>=48&&e.codePoint<=57}function b7(e,r){return b9(e)||e.codePoint>=65&&e.codePoint<=90||e.codePoint>=97&&e.codePoint<=122||"_"===e.value||r&&(383===e.codePoint||8490===e.codePoint)}function ve(e){return e&&"Char"===e.type&&!isNaN(e.codePoint)&&(b7(e,!1)||"unicode"===e.kind||"hex"===e.kind||"oct"===e.kind||"decimal"===e.kind)}var vr=bV.disjunctionToList,vt=bV.listToDisjunction,vu={RegExp:function(e,r){e.node.body=r},Group:function(e,r){var t=e.node;t.capturing?t.expression=r:e.replace(r)}};function vn(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}function va(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vi=bV.increaseQuantifierByOne,vo=new Map([["charSurrogatePairToSingleUnicode",{shouldRun:function(e){return e.flags.includes("u")},Char:function(e){var r=e.node;"unicode"!==r.kind||!r.isSurrogatePair||isNaN(r.codePoint)||(r.value="\\u{"+r.codePoint.toString(16)+"}",delete r.isSurrogatePair)}}],["charCodeToSimpleChar",{Char:function(e){var r=e.node,t=e.parent;if(!isNaN(r.codePoint)&&"simple"!==r.kind&&("ClassRange"!==t.type||(u=t.from,n=t.to,u.codePoint>=bU&&u.codePoint<=bW&&n.codePoint>=bU&&n.codePoint<=bW||u.codePoint>=bL&&u.codePoint<=bM&&n.codePoint>=bL&&n.codePoint<=bM||u.codePoint>=b$&&u.codePoint<=bz&&n.codePoint>=b$&&n.codePoint<=bz))&&(a=r.codePoint)>=32&&a<=126){var u,n,a,i,o=String.fromCodePoint(r.codePoint),d={type:"Char",kind:"simple",value:o,symbol:o,codePoint:r.codePoint};("ClassRange"===(i=t.type)||"CharacterClass"===i?/[\]\\^-]/.test(o):/[*[()+?^$./\\|{}]/.test(o))&&(d.escaped=!0),e.replace(d)}}}],["charCaseInsensitiveLowerCaseTransform",{_AZClassRanges:null,_hasUFlag:!1,init:function(e){this._AZClassRanges=new Set,this._hasUFlag=e.flags.includes("u")},shouldRun:function(e){return e.flags.includes("i")},Char:function(e){var r,t,u=e.node,n=e.parent;if(!isNaN(u.codePoint)&&(this._hasUFlag||!(u.codePoint>=4096))){if("ClassRange"===n.type){if(!this._AZClassRanges.has(n)&&(r=n.from,t=n.to,!(r.codePoint>=bq)||!(r.codePoint<=bZ)||!(t.codePoint>=bq)||!(t.codePoint<=bZ)))return;this._AZClassRanges.add(n)}var a=u.symbol.toLowerCase();a!==u.symbol&&(u.value=function(e,r){var t=e.codePointAt(0);if("decimal"===r.kind)return"\\"+t;if("oct"===r.kind)return"\\0"+t.toString(8);if("hex"===r.kind)return"\\x"+t.toString(16);if("unicode"===r.kind){if(r.isSurrogatePair){var u={lead:(Math.floor((t-65536)/1024)+55296).toString(16),trail:((t-65536)%1024+56320).toString(16)},n=u.lead,a=u.trail;return"\\u"+"0".repeat(4-n.length)+n+"\\u"+"0".repeat(4-a.length)+a}if(r.value.includes("{"))return"\\u{"+t.toString(16)+"}";var i=t.toString(16);return"\\u"+"0".repeat(4-i.length)+i}return e}(a,u),u.symbol=a,u.codePoint=a.codePointAt(0))}}}],["charClassRemoveDuplicates",{CharacterClass:function(e){for(var r=e.node,t={},u=0;u<r.expressions.length;u++){var n=e.getChild(u),a=n.jsonEncode();t.hasOwnProperty(a)&&(n.remove(),u--),t[a]=!0}}}],["quantifiersMerge",{Repetition:function(e){var r=e.node;if("Alternative"===e.parent.type&&e.index){var t=e.getPreviousSibling();if(t){if("Repetition"===t.node.type){if(!t.getChild().hasEqualSource(e.getChild()))return;var u=bK(t.node.quantifier),n=u.from,a=u.to,i=bK(r.quantifier),o=i.from,d=i.to;if(t.node.quantifier.greedy!==r.quantifier.greedy&&!bH(t.node.quantifier)&&!bH(r.quantifier))return;r.quantifier.kind="Range",r.quantifier.from=n+o,a&&d?r.quantifier.to=a+d:delete r.quantifier.to,(bH(t.node.quantifier)||bH(r.quantifier))&&(r.quantifier.greedy=!0),t.remove()}else{if(!t.hasEqualSource(e.getChild()))return;bG(r.quantifier),t.remove()}}}}}],["quantifierRangeToSymbol",{Quantifier:function(e){if("Range"===e.node.kind){var r,t,u;0!==(r=e.node).from||r.to||(r.kind="*",delete r.from),1!==(t=e.node).from||t.to||(t.kind="+",delete t.from),1===(u=e.node).from&&1===u.to&&e.parentPath.replace(e.parentPath.node.expression)}}}],["charClassClassrangesToChars",{ClassRange:function(e){var r=e.node;r.from.codePoint===r.to.codePoint?e.replace(r.from):r.from.codePoint===r.to.codePoint-1&&(e.getParent().insertChildAt(r.to,e.index+1),e.replace(r.from))}}],["charClassToMeta",{_hasIFlag:!1,_hasUFlag:!1,init:function(e){this._hasIFlag=e.flags.includes("i"),this._hasUFlag=e.flags.includes("u")},CharacterClass:function(e){var r,t,u,n,a,i,o,d,s;(function(e){e.node.expressions.forEach(function(r,t){"ClassRange"===r.type&&"0"===r.from.value&&"9"===r.to.value&&e.getChild(t).replace({type:"Char",value:"\\d",kind:"meta"})})})(e),r=this._hasIFlag,t=this._hasUFlag,u=e.node,n=null,a=null,i=null,o=null,d=null,s=null,u.expressions.forEach(function(u,c){bY(u,"\\d")?n=e.getChild(c):"ClassRange"===u.type&&"a"===u.from.value&&"z"===u.to.value?a=e.getChild(c):"ClassRange"===u.type&&"A"===u.from.value&&"Z"===u.to.value?i=e.getChild(c):"Char"===u.type&&"_"===u.value&&"simple"===u.kind?o=e.getChild(c):r&&t&&b0(u,383)?d=e.getChild(c):r&&t&&b0(u,8490)&&(s=e.getChild(c))}),n&&(a&&i||r&&(a||i))&&o&&(!t||!r||d&&s)&&(n.replace({type:"Char",value:"\\w",kind:"meta"}),a&&a.remove(),i&&i.remove(),o.remove(),d&&d.remove(),s&&s.remove()),function(e){var r=e.node;if(!(r.expressions.length<bJ.length)&&bJ.every(function(e){return r.expressions.some(function(r){return e(r)})})){var t=r.expressions.find(function(e){return bY(e,"\\n")});t.value="\\s",t.symbol=void 0,t.codePoint=NaN,r.expressions.map(function(r,t){return bJ.some(function(e){return e(r)})?e.getChild(t):void 0}).filter(Boolean).forEach(function(e){return e.remove()})}}(e)}}],["charClassToSingleChar",{CharacterClass:function(e){var r=e.node;if(1===r.expressions.length&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var u=r.expressions[t-1];return null==u||("Backreference"!==u.type||"number"!==u.kind)&&("Char"!==u.type||"decimal"!==u.kind)}(e)&&"Char"===(t=r.expressions[0]).type&&"\\b"!==t.value){var t,u,n,a,i=r.expressions[0],o=i.value,d=i.kind,s=i.escaped;if(r.negative){if(u=o,!/^\\[dwsDWS]$/.test(u))return;n=o,o=/[dws]/.test(n)?n.toUpperCase():n.toLowerCase()}e.replace({type:"Char",value:o,kind:d,escaped:s||(a=o,/[*[()+?$./{}|]/.test(a))})}}}],["charEscapeUnescape",{_hasXFlag:!1,init:function(e){this._hasXFlag=e.flags.includes("x")},Char:function(e){var r,t,u,n,a=e.node;a.escaped&&(r=this._hasXFlag,t=e.node.value,u=e.index,("CharacterClass"!==(n=e.parent).type&&"ClassRange"!==n.type?"{"===t?function(e,r){if(null==e)return!1;var t=b1(e+1,r),u=e+t+1,n=u<r.expressions.length&&r.expressions[u];if(t){if(b2(n,"}"))return!0;if(b2(n,","))return t=b1(u+1,r),b2(n=(u=u+t+1)<r.expressions.length&&r.expressions[u],"}")}return!1}(u,n):"}"===t?function(e,r){if(null==e)return!1;var t=b1(e-1,r,!0),u=e-t-1,n=u>=0&&r.expressions[u];return!!(t&&b2(n,"{"))||!!b2(n,",")&&(t=b1(u-1,r,!0),n=(u=u-t-1)<r.expressions.length&&r.expressions[u],t&&b2(n,"{"))}(u,n):!!(r&&/[ #]/.test(t))||/[*[()+?^$./\\|]/.test(t):"^"===t?0===u&&!n.negative:"-"===t||/[\]\\]/.test(t))||delete a.escaped)}}],["charClassClassrangesMerge",{_hasIUFlags:!1,init:function(e){this._hasIUFlags=e.flags.includes("i")&&e.flags.includes("u")},CharacterClass:function(e){var r=e.node.expressions,t=[];r.forEach(function(e){b5(e)&&t.push(e.value)}),r.sort(b3);for(var u=0;u<r.length;u++){var n,a=r[u];if(function(e,r,t){for(var u=0;u<r.length;u++)if(function e(r,t,u){return"ClassRange"===r.type?e(r.from,t,u)&&e(r.to,t,u):!!("\\S"===t&&(b5(r,"\\w")||b5(r,"\\d"))||"\\D"===t&&(b5(r,"\\W")||b5(r,"\\s"))||"\\w"===t&&b5(r,"\\d")||"\\W"===t&&b5(r,"\\s"))||!("Char"!==r.type||isNaN(r.codePoint))&&("\\s"===t?b6(r):"\\S"===t?!b6(r):"\\d"===t?b9(r):"\\D"===t?!b9(r):"\\w"===t?b7(r,u):"\\W"===t&&!b7(r,u))}(e,r[u],t))return!0;return!1}(a,t,this._hasIUFlags)||function(e,r){if(r&&"ClassRange"===r.type){if(function e(r,t){return!("Char"===r.type&&isNaN(r.codePoint))&&("ClassRange"===r.type?e(r.from,t)&&e(r.to,t):r.codePoint>=t.from.codePoint&&r.codePoint<=t.to.codePoint)}(e,r))return!0;if(ve(e)&&r.to.codePoint===e.codePoint-1)return r.to=e,!0;if("ClassRange"===e.type&&e.from.codePoint<=r.to.codePoint+1&&e.to.codePoint>=r.from.codePoint-1)return e.from.codePoint<r.from.codePoint&&(r.from=e.from),e.to.codePoint>r.to.codePoint&&(r.to=e.to),!0}return!1}(a,r[u-1])||(n=r[u+1])&&"ClassRange"===n.type&&ve(a)&&n.from.codePoint===a.codePoint+1&&(n.from=a,1))r.splice(u,1),u--;else{var i=function(e,r,t){if(!ve(e))return 0;for(var u=0;r>0;){var n=t[r],a=t[r-1];if(ve(a)&&a.codePoint===n.codePoint-1)u++,r--;else break}return u>1?(t[r]={type:"ClassRange",from:t[r],to:e},u):0}(a,u,r);r.splice(u-i+1,i),u-=i}}}}],["disjunctionRemoveDuplicates",{Disjunction:function(e){var r=e.node,t={},u=vr(r).filter(function(e){var r=e?bP.getForNode(e).jsonEncode():"null";return!t.hasOwnProperty(r)&&(t[r]=e,!0)});e.replace(vt(u))}}],["groupSingleCharsToCharClass",{Disjunction:function(e){var r=e.node,t=e.parent;if(vu[t.type]){var u=new Map;if(function e(r,t){if(!r)return!1;var u=r.type;if("Disjunction"===u){var n=r.left,a=r.right;return e(n,t)&&e(a,t)}if("Char"===u){if("meta"===r.kind&&"."===r.symbol)return!1;var i=r.value;return t.set(i,r),!0}return"CharacterClass"===u&&!r.negative&&r.expressions.every(function(r){return e(r,t)})}(r,u)&&u.size){var n={type:"CharacterClass",expressions:Array.from(u.keys()).sort().map(function(e){return u.get(e)})};vu[t.type](e.getParent(),n)}}}}],["removeEmptyGroup",{Group:function(e){var r=e.node,t=e.parent,u=e.getChild();r.capturing||u||("Repetition"===t.type?e.getParent().replace(r):"RegExp"!==t.type&&e.remove())}}],["ungroup",{Group:function(e){var r=e.node,t=e.parent,u=e.getChild();if(!r.capturing&&u&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var u=r.expressions[t-1];return null==u||("Backreference"!==u.type||"number"!==u.kind)&&("Char"!==u.type||"decimal"!==u.kind)}(e)&&("Disjunction"!==u.node.type||"RegExp"===t.type)&&("Repetition"!==t.type||"Char"===u.node.type||"CharacterClass"===u.node.type)){if("Alternative"===u.node.type){var n=e.getParent();"Alternative"===n.node.type&&n.replace({type:"Alternative",expressions:[].concat(vn(t.expressions.slice(0,e.index)),vn(u.node.expressions),vn(t.expressions.slice(e.index+1)))})}else e.replace(u.node)}}}],["combineRepeatingPatterns",{Alternative:function(e){for(var r=e.node,t=1;t<r.expressions.length;){var u=e.getChild(t);if((t=Math.max(1,function(e,r,t){for(var u=e.node,n=Math.ceil(t/2),a=0;a<n;){var i=t-2*a-1,o=void 0,d=void 0;if(0===a?(o=r,d=e.getChild(i)):(o=bP.getForNode({type:"Alternative",expressions:[].concat(va(u.expressions.slice(t-a,t)),[r.node])}),d=bP.getForNode({type:"Alternative",expressions:[].concat(va(u.expressions.slice(i,t-a)))})),o.hasEqualSource(d)){for(var s=0;s<2*a+1;s++)e.getChild(i).remove();return r.replace({type:"Repetition",expression:0===a&&"Repetition"!==o.node.type?o.node:{type:"Group",capturing:!1,expression:o.node},quantifier:{type:"Quantifier",kind:"Range",from:2,to:2,greedy:!0}}),i}a++}return t}(e,u,t)))>=r.expressions.length||(u=e.getChild(t),(t=Math.max(1,function(e,r,t){for(var u=e.node,n=0;n<t;){var a=e.getChild(n);if("Repetition"===a.node.type&&a.node.quantifier.greedy){var i=a.getChild(),o=void 0;if("Group"!==i.node.type||i.node.capturing||(i=i.getChild()),n+1===t?"Group"!==(o=r).node.type||o.node.capturing||(o=o.getChild()):o=bP.getForNode({type:"Alternative",expressions:[].concat(va(u.expressions.slice(n+1,t+1)))}),i.hasEqualSource(o)){for(var d=n;d<t;d++)e.getChild(n+1).remove();return vi(a.node.quantifier),n}}n++}return t}(e,u,t)))>=r.expressions.length))break;u=e.getChild(t),t=Math.max(1,function(e,r,t){var u=e.node;if("Repetition"===r.node.type&&r.node.quantifier.greedy){var n=r.getChild(),a=void 0;"Group"!==n.node.type||n.node.capturing||(n=n.getChild());var i=void 0;if("Alternative"===n.node.type?(i=n.node.expressions.length,a=bP.getForNode({type:"Alternative",expressions:[].concat(va(u.expressions.slice(t-i,t)))})):(i=1,"Group"!==(a=e.getChild(t-1)).node.type||a.node.capturing||(a=a.getChild())),a.hasEqualSource(n)){for(var o=t-i;o<t;o++)e.getChild(t-i).remove();return vi(r.node.quantifier),t-i}}return t}(e,u,t)),t++}}}]]),vd=function e(r){if(null===r||"object"!=typeof r)return r;var t=void 0;for(var u in t=Array.isArray(r)?[]:{},r)t[u]=e(r[u]);return t},vs={EPSILON:"ε",EPSILON_CLOSURE:"ε*"},vc=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],u=!0,n=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(u=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);u=!0);}catch(e){n=!0,a=e}finally{try{!u&&o.return&&o.return()}finally{if(n)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")},vf=function(){function e(e,r){for(var t=0;t<r.length;t++){var u=r[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}return function(r,t,u){return t&&e(r.prototype,t),u&&e(r,u),r}}(),vl=vs.EPSILON,vp=vs.EPSILON_CLOSURE,vg=function(){function e(r,t){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.in=r,this.out=t}return vf(e,[{key:"matches",value:function(e){return this.in.matches(e)}},{key:"getAlphabet",value:function(){if(!this._alphabet){this._alphabet=new Set;var e=this.getTransitionTable();for(var r in e){var t=e[r];for(var u in t)u!==vp&&this._alphabet.add(u)}}return this._alphabet}},{key:"getAcceptingStates",value:function(){return this._acceptingStates||this.getTransitionTable(),this._acceptingStates}},{key:"getAcceptingStateNumbers",value:function(){if(!this._acceptingStateNumbers){this._acceptingStateNumbers=new Set;var e=!0,r=!1,t=void 0;try{for(var u,n=this.getAcceptingStates()[Symbol.iterator]();!(e=(u=n.next()).done);e=!0){var a=u.value;this._acceptingStateNumbers.add(a.number)}}catch(e){r=!0,t=e}finally{try{!e&&n.return&&n.return()}finally{if(r)throw t}}}return this._acceptingStateNumbers}},{key:"getTransitionTable",value:function(){var e=this;if(!this._transitionTable){this._transitionTable={},this._acceptingStates=new Set;var r=new Set,t=new Set;(function u(n){if(!r.has(n)){r.add(n),n.number=r.size,e._transitionTable[n.number]={},n.accepting&&e._acceptingStates.add(n);var a=n.getTransitions(),i=!0,o=!1,d=void 0;try{for(var s,c=a[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var f=s.value,l=vc(f,2),p=l[0],g=l[1],h=[];t.add(p);var y=!0,m=!1,b=void 0;try{for(var v,A=g[Symbol.iterator]();!(y=(v=A.next()).done);y=!0){var D=v.value;u(D),h.push(D.number)}}catch(e){m=!0,b=e}finally{try{!y&&A.return&&A.return()}finally{if(m)throw b}}e._transitionTable[n.number][p]=h}}catch(e){o=!0,d=e}finally{try{!i&&c.return&&c.return()}finally{if(o)throw d}}}})(this.in),r.forEach(function(r){delete e._transitionTable[r.number][vl],e._transitionTable[r.number][vp]=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r.getEpsilonClosure())).map(function(e){return e.number})})}return this._transitionTable}}]),e}(),vh=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],u=!0,n=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(u=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);u=!0);}catch(e){n=!0,a=e}finally{try{!u&&o.return&&o.return()}finally{if(n)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function vy(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vm=null,vb=function(){function e(e,r){for(var t=0;t<r.length;t++){var u=r[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}return function(r,t,u){return t&&e(r.prototype,t),u&&e(r,u),r}}();function vv(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vA={minimize:function(e){var r=e.getTransitionTable(),t=Object.keys(r),u=e.getAlphabet(),n=e.getAcceptingStateNumbers();vm={};var a=new Set;t.forEach(function(e){e=Number(e),n.has(e)?vm[e]=n:(a.add(e),vm[e]=a)});var i=[[a,n].filter(function(e){return e.size>0})],o=void 0,d=void 0;for(o=i[i.length-1],d=i[i.length-2];!function(e,r){if(!r||e.length!==r.length)return!1;for(var t=0;t<e.length;t++){var u=e[t],n=r[t];if(u.size!==n.size||[].concat(vy(u)).sort().join(",")!==[].concat(vy(n)).sort().join(","))return!1}return!0}(o,d);)!function(){var e={},t=!0,n=!1,a=void 0;try{for(var s,c=o[Symbol.iterator]();!(t=(s=c.next()).done);t=!0){var f=s.value,l={},p=Array.isArray(f)?f:Array.from(f),g=p[0],h=p.slice(1);l[g]=new Set([g]);var y=!0,m=!1,b=void 0;try{r:for(var v,A=h[Symbol.iterator]();!(y=(v=A.next()).done);y=!0){var D=v.value,x=!0,E=!1,C=void 0;try{for(var _,S=Object.keys(l)[Symbol.iterator]();!(x=(_=S.next()).done);x=!0){var w=_.value;if(function(e,r,t,u){var n=!0,a=!1,i=void 0;try{for(var o,d=u[Symbol.iterator]();!(n=(o=d.next()).done);n=!0){var s=o.value;if(!function(e,r,t,u){if(!vm[e]||!vm[r])return!1;var n=t[e][u],a=t[r][u];return!n&&!a||vm[e].has(n)&&vm[r].has(a)}(e,r,t,s))return!1}}catch(e){a=!0,i=e}finally{try{!n&&d.return&&d.return()}finally{if(a)throw i}}return!0}(D,w,r,u)){l[w].add(D),l[D]=l[w];continue r}}}catch(e){E=!0,C=e}finally{try{!x&&S.return&&S.return()}finally{if(E)throw C}}l[D]=new Set([D])}}catch(e){m=!0,b=e}finally{try{!y&&A.return&&A.return()}finally{if(m)throw b}}Object.assign(e,l)}}catch(e){n=!0,a=e}finally{try{!t&&c.return&&c.return()}finally{if(n)throw a}}vm=e;var F=new Set(Object.keys(e).map(function(r){return e[r]}));i.push([].concat(vy(F))),o=i[i.length-1],d=i[i.length-2]}();var s=new Map,c=1;o.forEach(function(e){return s.set(e,c++)});var f={},l=new Set,p=!0,g=!1,h=void 0;try{for(var y,m=s.entries()[Symbol.iterator]();!(p=(y=m.next()).done);p=!0){var b=y.value,v=vh(b,2),A=v[0],D=v[1];f[D]={};var x=!0,E=!1,C=void 0;try{for(var _,S=u[Symbol.iterator]();!(x=(_=S.next()).done);x=!0){var w=_.value;!function(e,r){var t=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var d=i.value;n.has(d)&&l.add(r)}}catch(e){u=!0,a=e}finally{try{!t&&o.return&&o.return()}finally{if(u)throw a}}}(A,D);var F=void 0,k=!0,T=!1,P=void 0;try{for(var B,I=A[Symbol.iterator]();!(k=(B=I.next()).done)&&!(F=r[B.value][w]);k=!0);}catch(e){T=!0,P=e}finally{try{!k&&I.return&&I.return()}finally{if(T)throw P}}F&&(f[D][w]=s.get(vm[F]))}}catch(e){E=!0,C=e}finally{try{!x&&S.return&&S.return()}finally{if(E)throw C}}}}catch(e){g=!0,h=e}finally{try{!p&&m.return&&m.return()}finally{if(g)throw h}}return e.setTransitionTable(f),e.setAcceptingStateNumbers(l),e}},vD=vs.EPSILON_CLOSURE,vx=function(){function e(r){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._nfa=r}return vb(e,[{key:"minimize",value:function(){this.getTransitionTable(),this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._originalTransitionTable=this._transitionTable,vA.minimize(this)}},{key:"getAlphabet",value:function(){return this._nfa.getAlphabet()}},{key:"getAcceptingStateNumbers",value:function(){return this._acceptingStateNumbers||this.getTransitionTable(),this._acceptingStateNumbers}},{key:"getOriginaAcceptingStateNumbers",value:function(){return this._originalAcceptingStateNumbers||this.getTransitionTable(),this._originalAcceptingStateNumbers}},{key:"setTransitionTable",value:function(e){this._transitionTable=e}},{key:"setAcceptingStateNumbers",value:function(e){this._acceptingStateNumbers=e}},{key:"getTransitionTable",value:function(){var e=this;if(this._transitionTable)return this._transitionTable;var r=this._nfa.getTransitionTable(),t=Object.keys(r);this._acceptingStateNumbers=new Set;for(var u=[r[t[0]][vD]],n=this.getAlphabet(),a=this._nfa.getAcceptingStateNumbers(),i={};u.length>0;){var o=u.shift(),d=o.join(",");i[d]={};var s=!0,c=!1,f=void 0;try{for(var l,p=n[Symbol.iterator]();!(s=(l=p.next()).done);s=!0){var g=l.value,h=[];!function(r){var t=!0,u=!1,n=void 0;try{for(var i,o=a[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var d=i.value;if(-1!==r.indexOf(d)){e._acceptingStateNumbers.add(r.join(","));break}}}catch(e){u=!0,n=e}finally{try{!t&&o.return&&o.return()}finally{if(u)throw n}}}(o);var y=!0,m=!1,b=void 0;try{for(var v,A=o[Symbol.iterator]();!(y=(v=A.next()).done);y=!0){var D=r[v.value][g];if(D){var x=!0,E=!1,C=void 0;try{for(var _,S=D[Symbol.iterator]();!(x=(_=S.next()).done);x=!0){var w=_.value;r[w]&&h.push.apply(h,vv(r[w][vD]))}}catch(e){E=!0,C=e}finally{try{!x&&S.return&&S.return()}finally{if(E)throw C}}}}}catch(e){m=!0,b=e}finally{try{!y&&A.return&&A.return()}finally{if(m)throw b}}var F=new Set(h),k=[].concat(vv(F));if(k.length>0){var T=k.join(",");i[d][g]=T,i.hasOwnProperty(T)||u.unshift(k)}}}catch(e){c=!0,f=e}finally{try{!s&&p.return&&p.return()}finally{if(c)throw f}}}return this._transitionTable=this._remapStateNumbers(i)}},{key:"_remapStateNumbers",value:function(e){var r={};this._originalTransitionTable=e;var t={};for(var u in Object.keys(e).forEach(function(e,t){r[e]=t+1}),e){var n=e[u],a={};for(var i in n)a[i]=r[n[i]];t[r[u]]=a}this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._acceptingStateNumbers=new Set;var o=!0,d=!1,s=void 0;try{for(var c,f=this._originalAcceptingStateNumbers[Symbol.iterator]();!(o=(c=f.next()).done);o=!0){var l=c.value;this._acceptingStateNumbers.add(r[l])}}catch(e){d=!0,s=e}finally{try{!o&&f.return&&f.return()}finally{if(d)throw s}}return t}},{key:"getOriginalTransitionTable",value:function(){return this._originalTransitionTable||this.getTransitionTable(),this._originalTransitionTable}},{key:"matches",value:function(e){for(var r=1,t=0,u=this.getTransitionTable();e[t];)if(!(r=u[r][e[t++]]))return!1;return!!this.getAcceptingStateNumbers().has(r)}}]),e}(),vE=function(){function e(e,r){for(var t=0;t<r.length;t++){var u=r[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}return function(r,t,u){return t&&e(r.prototype,t),u&&e(r,u),r}}(),vC=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.accepting;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._transitions=new Map,this.accepting=void 0!==t&&t}return vE(e,[{key:"getTransitions",value:function(){return this._transitions}},{key:"addTransition",value:function(e,r){return this.getTransitionsOnSymbol(e).add(r),this}},{key:"getTransitionsOnSymbol",value:function(e){var r=this._transitions.get(e);return r||(r=new Set,this._transitions.set(e,r)),r}}]),e}(),v_=function(){function e(e,r){for(var t=0;t<r.length;t++){var u=r[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}return function(r,t,u){return t&&e(r.prototype,t),u&&e(r,u),r}}(),vS=vs.EPSILON,vw=function(e){function r(){return!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,r),function(e,r){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&("object"==typeof r||"function"==typeof r)?r:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return!function(e,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}(r,e),v_(r,[{key:"matches",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(r.has(this))return!1;if(r.add(this),0===e.length){if(this.accepting)return!0;var t=!0,u=!1,n=void 0;try{for(var a,i=this.getTransitionsOnSymbol(vS)[Symbol.iterator]();!(t=(a=i.next()).done);t=!0)if(a.value.matches("",r))return!0}catch(e){u=!0,n=e}finally{try{!t&&i.return&&i.return()}finally{if(u)throw n}}return!1}var o=e[0],d=e.slice(1),s=this.getTransitionsOnSymbol(o),c=!0,f=!1,l=void 0;try{for(var p,g=s[Symbol.iterator]();!(c=(p=g.next()).done);c=!0)if(p.value.matches(d))return!0}catch(e){f=!0,l=e}finally{try{!c&&g.return&&g.return()}finally{if(f)throw l}}var h=!0,y=!1,m=void 0;try{for(var b,v=this.getTransitionsOnSymbol(vS)[Symbol.iterator]();!(h=(b=v.next()).done);h=!0)if(b.value.matches(e,r))return!0}catch(e){y=!0,m=e}finally{try{!h&&v.return&&v.return()}finally{if(y)throw m}}return!1}},{key:"getEpsilonClosure",value:function(){var e=this;return this._epsilonClosure||function(){var r=e.getTransitionsOnSymbol(vS),t=e._epsilonClosure=new Set;t.add(e);var u=!0,n=!1,a=void 0;try{for(var i,o=r[Symbol.iterator]();!(u=(i=o.next()).done);u=!0){var d=i.value;t.has(d)||(t.add(d),d.getEpsilonClosure().forEach(function(e){return t.add(e)}))}}catch(e){n=!0,a=e}finally{try{!u&&o.return&&o.return()}finally{if(n)throw a}}}(),this._epsilonClosure}}]),r}(vC),vF=vs.EPSILON;function vk(e){var r=new vw,t=new vw({accepting:!0});return new vg(r.addTransition(e,t),t)}var vT={alt:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),u=1;u<r;u++)t[u-1]=arguments[u];var n=!0,a=!1,i=void 0;try{for(var o,d=t[Symbol.iterator]();!(n=(o=d.next()).done);n=!0){var s,c=o.value;(s=e).out.accepting=!1,c.out.accepting=!0,s.out.addTransition(vF,c.in),e=new vg(s.in,c.out)}}catch(e){a=!0,i=e}finally{try{!n&&d.return&&d.return()}finally{if(a)throw i}}return e},char:vk,e:function(){return vk(vF)},or:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),u=1;u<r;u++)t[u-1]=arguments[u];var n=!0,a=!1,i=void 0;try{for(var o,d=t[Symbol.iterator]();!(n=(o=d.next()).done);n=!0){var s=o.value;e=function(e,r){var t=new vw,u=new vw;return t.addTransition(vF,e.in),t.addTransition(vF,r.in),u.accepting=!0,e.out.accepting=!1,r.out.accepting=!1,e.out.addTransition(vF,u),r.out.addTransition(vF,u),new vg(t,u)}(e,s)}}catch(e){a=!0,i=e}finally{try{!n&&d.return&&d.return()}finally{if(a)throw i}}return e},rep:function(e){return e.in.addTransition(vF,e.out),e.out.addTransition(vF,e.in),e},repExplicit:function(e){var r=new vw,t=new vw({accepting:!0});return r.addTransition(vF,e.in),r.addTransition(vF,t),e.out.accepting=!1,e.out.addTransition(vF,t),t.addTransition(vF,e.in),new vg(r,t)},plusRep:function(e){return e.out.addTransition(vF,e.in),e},questionRep:function(e){return e.in.addTransition(vF,e.out),e}},vP=vT.alt,vB=vT.char,vI=vT.or,vj=vT.rep,vO=vT.plusRep,vR=vT.questionRep;function vN(e){if(e&&!vL[e.type])throw Error(e.type+" is not supported in NFA/DFA interpreter.");return e?vL[e.type](e):""}var vL={RegExp:function(e){if(""!==e.flags)throw Error("NFA/DFA: Flags are not supported yet.");return vN(e.body)},Alternative:function(e){var r=(e.expressions||[]).map(vN);return vP.apply(void 0,function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r))},Disjunction:function(e){return vI(vN(e.left),vN(e.right))},Repetition:function(e){switch(e.quantifier.kind){case"*":return vj(vN(e.expression));case"+":return vO(vN(e.expression));case"?":return vR(vN(e.expression));default:throw Error("Unknown repeatition: "+e.quantifier.kind+".")}},Char:function(e){if("simple"!==e.kind)throw Error("NFA/DFA: Only simple chars are supported yet.");return vB(e.value)},Group:function(e){return vN(e.expression)}},vM={build:function(e){var r=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(r=bs.parse(e,{captureLocations:!0})),vN(r)}},v$=function(){function e(e,r){for(var t=0;t<r.length;t++){var u=r[t];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}return function(r,t,u){return t&&e(r.prototype,t),u&&e(r,u),r}}(),vz=function(){function e(r,t){var u=t.flags,n=t.groups,a=t.source;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._re=r,this._groups=n,this.flags=u,this.source=a||r.source,this.dotAll=u.includes("s"),this.global=r.global,this.ignoreCase=r.ignoreCase,this.multiline=r.multiline,this.sticky=r.sticky,this.unicode=r.unicode}return v$(e,[{key:"test",value:function(e){return this._re.test(e)}},{key:"compile",value:function(e){return this._re.compile(e)}},{key:"toString",value:function(){return this._toStringResult||(this._toStringResult="/"+this.source+"/"+this.flags),this._toStringResult}},{key:"exec",value:function(e){var r=this._re.exec(e);if(!this._groups||!r)return r;for(var t in r.groups={},this._groups){var u=this._groups[t];r.groups[t]=r[u]}return r}}]),e}(),vU={transform:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=r.length>0?r:Object.keys(bN),u=void 0,n={};return t.forEach(function(r){if(!bN.hasOwnProperty(r))throw Error("Unknown compat-transform: "+r+". Available transforms are: "+Object.keys(bN).join(", "));var t=bN[r];e=(u=bR.transform(e,t)).getAST(),"function"==typeof t.getExtra&&(n[r]=t.getExtra())}),u.setExtra(n),u}},vW={optimize:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.whitelist,u=void 0===t?[]:t,n=r.blacklist,a=void 0===n?[]:n,i=(u.length>0?u:Array.from(vo.keys())).filter(function(e){return!a.includes(e)}),o=e;e instanceof RegExp&&(e=""+e),"string"==typeof e&&(o=bs.parse(e));var d=new bR.TransformResult(o),s=void 0;do s=d.toString(),o=vd(d.getAST()),i.forEach(function(e){if(!vo.has(e))throw Error("Unknown optimization-transform: "+e+". Available transforms are: "+Array.from(vo.keys()).join(", "));var r=vo.get(e),t=bR.transform(o,r);t.toString()!==d.toString()&&(t.toString().length<=d.toString().length?d=t:o=vd(d.getAST()))});while(d.toString()!==s);return d}},vq={parser:bs,fa:{NFA:vg,DFA:vx,builders:vT,toNFA:function(e){return vM.build(e)},toDFA:function(e){return new vx(this.toNFA(e))},test:function(e,r){return this.toDFA(e).matches(r)}},TransformResult:bR.TransformResult,parse:function(e,r){return bs.parse(""+e,r)},traverse:function(e,r,t){return bI.traverse(e,r,t)},transform:function(e,r){return bR.transform(e,r)},generate:function(e){return mV.generate(e)},toRegExp:function(e){var r=this.compatTranspile(e);return new RegExp(r.getSource(),r.getFlags())},optimize:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=t.blacklist;return vW.optimize(e,{whitelist:r,blacklist:u})},compatTranspile:function(e,r){return vU.transform(e,r)},exec:function(e,r){if("string"==typeof e){var t=this.compatTranspile(e),u=t.getExtra();e=u.namedCapturingGroups?new vz(t.toRegExp(),{flags:t.getFlags(),source:t.getSource(),groups:u.namedCapturingGroups}):t.toRegExp()}return e.exec(r)}};let vZ=(e,r)=>{if(r=r||"","string"!=typeof e)throw TypeError(`Expected regexp to be of type \`string\`, got \`${typeof e}\``);if("string"!=typeof r)throw TypeError(`Expected flags to be of type \`string\`, got \`${typeof r}\``);for(let t of mz){let u=t[0],n=t[1];mW(r,n.flags)&&(e=e.replace(RegExp(mU(u),"g"),n.value))}return e},{optimize:vV}=vq,{isStringLiteral:vG,isNewExpression:vH,isRegexLiteral:vK}=fl,vX="better-regex",vJ="better-regex/parse-error";var vQ=et({create:e=>{let{sortCharacterClasses:r}=e.options[0]||{},t=[];return!1===r&&t.push("charClassClassrangesMerge"),{Literal(e){if(!vK(e))return;let{raw:r,regex:u}=e;if(u.flags.includes("u"))return;let n=r;try{n=vV(r,void 0,{blacklist:t}).toString()}catch(t){return{node:e,messageId:vJ,data:{original:r,error:t.message}}}if(r===n)return;let a={node:e,messageId:vX,data:{original:r,optimized:n}};return"MemberExpression"!==e.parent.type||e.parent.object!==e||e.parent.optional||e.parent.computed||"Identifier"!==e.parent.property.type||"toString"!==e.parent.property.name&&"source"!==e.parent.property.name?Object.assign(a,{fix:r=>r.replaceText(e,n)}):a},NewExpression(e){if(!vH(e,{name:"RegExp",minimumArguments:1}))return;let[r,t]=e.arguments;if(!vG(r))return;let u=r.value,n=vG(t)?t.value:"",a=vZ(u,n);if(u!==a)return{node:e,messageId:vX,data:{original:u,optimized:a},fix:e=>e.replaceText(r,rN(a,r.raw.charAt(0)))}}}},meta:{type:"suggestion",docs:{description:"Improve regexes by making them shorter, consistent, and safer."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{sortCharacterClasses:{type:"boolean",default:!0}}}],messages:{[vX]:"{{original}} can be optimized to {{optimized}}.",[vJ]:"Problem parsing {{original}}: {{error}}"}}});let{replaceTemplateElement:vY}=la,{isRegexLiteral:v0,isStringLiteral:v1}=fl,v2="escape-case",v3=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+})/g,v4=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+}|c[a-z])/g,v5=({node:e,original:r,regex:t=v3,fix:u})=>{let n=r.replace(t,e=>e.slice(0,1)+e.slice(1).toUpperCase());if(n!==r)return{node:e,messageId:v2,fix:r=>u?u(r,n):r.replaceText(e,n)}};var v8=et({create:e=>{e.on("Literal",e=>{if(v1(e))return v5({node:e,original:e.raw})}),e.on("Literal",e=>{if(v0(e))return v5({node:e,original:e.raw,regex:v4})}),e.on("TemplateElement",e=>v5({node:e,original:e.value.raw,fix:(r,t)=>vY(r,e,t)}))},meta:{type:"suggestion",docs:{description:"Require escape sequences to use uppercase values."},fixable:"code",messages:{[v2]:"Use uppercase characters for the value of the escape sequence."}}});let{replaceTemplateElement:v6}=la,{isStringLiteral:v9,isRegexLiteral:v7}=fl,Ae="no-hex-escape";function Ar(e,r,t){let u=t.replace(/(?<=(?:^|[^\\])(?:\\\\)*\\)x/g,"u00");if(t!==u)return{node:r,messageId:Ae,fix:e=>"TemplateElement"===r.type?v6(e,r,u):e.replaceText(r,u)}}var At=et({create:e=>({Literal(r){if(v9(r)||v7(r))return Ar(e,r,r.raw)},TemplateElement:r=>Ar(e,r,r.value.raw)}),meta:{type:"suggestion",docs:{description:"Enforce the use of Unicode escapes instead of hexadecimal escapes."},fixable:"code",messages:{[Ae]:"Use Unicode escapes instead of hexadecimal escapes."}}});let{getPropertyName:Au}=ro,{fixSpaceAroundKeyword:An}=la,{isMemberExpression:Aa,isMethodCall:Ai}=fl;var Ao=et({create:function(e){return{CallExpression(r){let t;if(Ai(r,{object:"Reflect",method:"apply",minimumArguments:1,optionalCall:!1,optionalMember:!1})?t=r.arguments[0]:Ai(r,{names:["apply","bind","call"],optionalCall:!1,optionalMember:!1})&&(t=r.callee.object),!t||!Aa(t,{optional:!1}))return;let u=t.object;if(!("ArrayExpression"===u.type&&0===u.elements.length||"ObjectExpression"===u.type&&0===u.properties.length))return;let n="ArrayExpression"===u.type?"Array":"Object",{sourceCode:a}=e,i=Au(t,a.getScope(t));return{node:t,messageId:i?"known-method":"unknown-method",data:{constructorName:n,methodName:i},*fix(e){yield e.replaceText(u,`${n}.prototype`),("ArrayExpression"===u.type||"ObjectExpression"===u.type)&&(yield*An(e,r,a))}}}}},meta:{type:"suggestion",docs:{description:"Prefer borrowing methods from the prototype instead of the instance."},fixable:"code",messages:{"known-method":"Prefer using `{{constructorName}}.prototype.{{methodName}}`.","unknown-method":"Prefer using method from `{{constructorName}}.prototype`."}}});let{getStaticValue:Ad}=ro,{isNewExpression:As,isStringLiteral:Ac}=fl,{replaceStringLiteral:Af}=la,Al="remove",Ap=["https://example.com/a/b/","https://example.com/a/b.html"],Ag=(e,r)=>{try{return new URL(e,r).href===new URL("./"+e,r).href}catch{}return!1},Ah=(e,r=Ap)=>r.every(r=>Ag(e,r)),Ay=(e,r=Ap)=>r.every(r=>Ag(e.slice(2),r));var Am=et({create:e=>{let r=e.options[0]||"never",t={};return"never"===r&&(t.TemplateLiteral=function(e){if(!(As(e.parent,{name:"URL",argumentsLength:2})&&e.parent.arguments[0]===e))return;let t=e.quasis[0];if(t.value.raw.startsWith("./"))return{node:e,messageId:r,suggest:[{messageId:Al,fix(e){let r=t.range[0]+1;return e.removeRange([r,r+2])}}]}}),t.Literal=function(t){if(!(Ac(t)&&As(t.parent,{name:"URL",argumentsLength:2})&&t.parent.arguments[0]===t))return;let{sourceCode:u}=e,n=("never"===r?function(e,r){if(function(e,r){let t=e.raw.slice(1,-1);if(!t.startsWith("./"))return!1;let u=e.parent.arguments[1],n=Ad(u,r.getScope(e));return!!("string"==typeof n?.value&&Ay(e.value,[n.value]))||Ay(e.value)}(e,r))return r=>Af(r,e,"",0,2)}:function(e,r){if(function(e,r){let t=e.value;if(t.startsWith("./")||t.startsWith(".")||t.startsWith("/"))return!1;let u=e.parent.arguments[1],n=Ad(u,r.getScope(e));return!!("string"==typeof n?.value&&Ah(t,[n.value]))||Ah(t)}(e,r))return r=>Af(r,e,"./",0,0)})(t,u);if(n)return{node:t,messageId:r,fix:n}},t},meta:{type:"suggestion",docs:{description:"Enforce consistent relative URL style."},fixable:"code",hasSuggestions:!0,schema:[{enum:["never","always"],default:"never"}],messages:{never:"Remove the `./` prefix from the relative URL.",always:"Add a `./` prefix to the relative URL.",[Al]:"Remove leading `./`."}}});let{getStaticValue:Ab}=ro,{isCallOrNewExpression:Av}=fl,AA="missing-message",AD="message-is-empty-string",Ax="message-is-not-a-string",AE=["Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","InternalError","AggregateError"];var AC=et({create:e=>{e.on(["CallExpression","NewExpression"],r=>{if(!Av(r,{names:AE,optional:!1}))return;let t=e.sourceCode.getScope(r);if(l4(t,r.callee))return;let u=r.callee.name,n="AggregateError"===u?1:0,a=r.arguments;if(a.some((e,r)=>r<=n&&"SpreadElement"===e.type))return;let i=a[n];if(!i)return{node:r,messageId:AA,data:{constructorName:u}};if("ArrayExpression"===i.type||"ObjectExpression"===i.type)return{node:i,messageId:Ax};let o=Ab(i,t);if(!o)return;let{value:d}=o;return"string"!=typeof d?{node:i,messageId:Ax}:""===d?{node:i,messageId:AD}:void 0})},meta:{type:"problem",docs:{description:"Enforce passing a `message` value when creating a built-in error."},messages:{[AA]:"Pass a message to the `{{constructorName}}` constructor.",[AD]:"Error message should not be an empty string.",[Ax]:"Error message should be a string."}}});let{checkVueTemplate:A_}=yz,{getParenthesizedRange:AS}=fR,{replaceNodeOrTokenAndSpacesBefore:Aw,fixSpaceAroundKeyword:AF}=la,Ak=e=>"instanceof"===e.value&&"Keyword"===e.type,AT="no-instanceof-array";var AP=et({create:A_(e=>{let{sourceCode:r}=e;return{BinaryExpression(e){if(!("instanceof"===e.operator&&"Identifier"===e.right.type&&"Array"===e.right.name))return;let{left:t,right:u}=e,n=r,a=n.getTokenAfter(t,Ak);return!a&&r.parserServices.getTemplateBodyTokenStore&&(a=(n=r.parserServices.getTemplateBodyTokenStore()).getTokenAfter(t,Ak)),{node:a,messageId:AT,*fix(i){yield*AF(i,e,r);let o=AS(t,n);yield i.insertTextBeforeRange(o,"Array.isArray("),yield i.insertTextAfterRange(o,")"),yield*Aw(a,"",i,r,n),yield*Aw(u,"",i,r,n)}}}}}),meta:{type:"suggestion",docs:{description:"Require `Array.isArray()` instead of `instanceof Array`."},fixable:"code",messages:{[AT]:"Use `Array.isArray()` instead of `instanceof Array`."}}});let{isNewExpression:AB}=fl,AI="prefer-type-error",Aj=new Set(["isArguments","isArray","isArrayBuffer","isArrayLike","isArrayLikeObject","isBigInt","isBoolean","isBuffer","isDate","isElement","isError","isFinite","isFunction","isInteger","isLength","isMap","isNaN","isNative","isNil","isNull","isNumber","isObject","isObjectLike","isPlainObject","isPrototypeOf","isRegExp","isSafeInteger","isSet","isString","isSymbol","isTypedArray","isUndefined","isView","isWeakMap","isWeakSet","isWindow","isXMLDoc"]),AO=new Set(["isNaN","isFinite"]),AR=(e,r,t)=>void 0!==r&&r.arguments.length>0&&"Identifier"===e.type&&(!0===t&&Aj.has(e.name)||!1===t&&AO.has(e.name)),AN=e=>e.parent&&e.parent.body&&1===e.parent.body.length,AL=(e,r)=>!!AR(e.property,r,!0)||"MemberExpression"===e.object.type&&AL(e.object,r),AM=(e,r)=>{switch(e.type){case"Identifier":return AR(e,r,!1);case"MemberExpression":return AL(e,r);case"CallExpression":return AM(e.callee,e);case"UnaryExpression":return"typeof"===e.operator||"!"===e.operator&&AM(e.argument);case"BinaryExpression":return"instanceof"===e.operator||AM(e.left,r)||AM(e.right,r);case"LogicalExpression":return AM(e.left,r)&&AM(e.right,r);default:return!1}},A$=e=>"IfStatement"===e.type&&AM(e.test);var Az=et({create:()=>({ThrowStatement(e){if(AB(e.argument,{name:"Error"})&&AN(e)&&e.parent.parent&&A$(e.parent.parent)){let r=e.argument.callee;return{node:r,messageId:AI,fix:e=>e.insertTextBefore(r,"Type")}}}}),meta:{type:"suggestion",docs:{description:"Enforce throwing `TypeError` in type checking conditions."},fixable:"code",messages:{[AI]:"`new Error()` is too unspecific for a type check. Use `new TypeError()` instead."}}}),AU={rules:{"array/no-unneeded-flat-map":D,"browser/prefer-location-assign":E,"jsx/no-template-literal":_,"jsx/no-unneeded-nested":S,"string/no-locale-case":F,"string/no-simple-template-literal":T,"type/no-instanceof-wrapper":B,"unicode/no-bidi":M,"unicode/no-invisible":z,"ban-eslint-disable":function({name:e,meta:r,create:t,resolveOptions:u}){if(r.docs){var n;(n=r.docs).url??(n.url=new URL(e,"https://eslint-plugin.skk.moe/src/rules/").toString())}return Object.freeze({name:e,meta:r,create(e){let r=u?.(...e.options)??e.options[0],n=Object.entries(t(e,r));return Object.fromEntries(n.filter(e=>e[1]))}})}({name:"ban-eslint-disable",meta:{type:"problem",docs:{description:"Ban `eslint-disable` comment directive"},schema:[{oneOf:[{type:"boolean"},{type:"string",enum:["allow-with-description"]}]}],messages:{"do-not-use":"Do not use `{{directive}}`","require-description":"Include a description after the `{{directive}}` directive to explain why the `{{directive}}` is necessary."}},create:(e,r="allow-with-description")=>!1===r?{}:{Program(t){for(let u of t.comments??[]){let t=function(e){let r=RegExp("^\\s*(?<directive>eslint-disable(?:-(?:next-)?line)?)").exec(e);return r?.groups?.directive}(u.value);if(!t||"allow-with-description"===r&&u.value.includes("--"))continue;let n="allow-with-description"===r?"require-description":"do-not-use";e.report({node:u,data:{directive:t},messageId:n})}}}}),"no-redundant-variable":U,"no-single-return":q,"prefer-early-return":V,"prefer-fetch":G,"prefer-timer-id":X,"unicorn/no-nested-ternary":AW(rf,"unicorn/no-nested-ternary"),"unicorn/prefer-event-target":AW(rp,"unicorn/prefer-event-target"),"unicorn/prefer-keyboard-event-key":AW(fC,"unicorn/prefer-keyboard-event-key"),"unicorn/prefer-text-content":AW(fF,"unicorn/prefer-text-content"),"unicorn/require-array-join-separator":AW(pw,"unicorn/require-array-join-separator"),"unicorn/no-thenable":AW(pR,"unicorn/no-thenable"),"unicorn/no-invalid-remove-event-listener":AW(p$,"unicorn/no-invalid-remove-event-listener"),"unicorn/consistent-function-scoping":AW(pY,"unicorn/consistent-function-scoping"),"unicorn/no-new-buffer":AW(gy,"unicorn/no-new-buffer"),"unicorn/no-console-spaces":AW(gx,"unicorn/no-console-spaces"),"unicorn/no-empty-file":AW(gk,"unicorn/no-empty-file"),"unicorn/no-useless-fallback-in-spread":AW(gj,"unicorn/no-useless-fallback-in-spread"),"unicorn/no-useless-length-check":AW(gz,"unicorn/no-useless-length-check"),"unicorn/no-useless-promise-resolve-reject":AW(gZ,"unicorn/no-useless-promise-resolve-reject"),"unicorn/no-zero-fractions":AW(gQ,"unicorn/no-zero-fractions"),"unicorn/prefer-export-from":AW(ht,"unicorn/prefer-export-from"),"unicorn/prefer-native-coercion-functions":AW(hl,"unicorn/prefer-native-coercion-functions"),"unicorn/no-document-cookie":AW(hA,"unicorn/no-document-cookie"),"unicorn/prefer-add-event-listener":AW(hj,"unicorn/prefer-add-event-listener"),"unicorn/prefer-array-index-of":AW(hG,"unicorn/prefer-array-index-of"),"unicorn/prefer-blob-reading-methods":AW(hX,"unicorn/prefer-blob-reading-methods"),"unicorn/prefer-date-now":AW(h8,"unicorn/prefer-date-now"),"unicorn/prefer-dom-node-dataset":AW(yi,"unicorn/prefer-dom-node-dataset"),"unicorn/prefer-math-trunc":AW(yh,"unicorn/prefer-math-trunc"),"unicorn/prefer-modern-math-apis":AW(yB,"unicorn/prefer-modern-math-apis"),"unicorn/number-literal-case":AW(yG,"unicorn/number-literal-case"),"unicorn/prefer-number-properties":AW(y1,"unicorn/prefer-number-properties"),"unicorn/prefer-reflect-apply":AW(me,"unicorn/prefer-reflect-apply"),"unicorn/prefer-set-size":AW(mo,"unicorn/prefer-set-size"),"unicorn/prefer-string-replace-all":AW(mb,"unicorn/prefer-string-replace-all"),"unicorn/prefer-string-slice":AW(mw,"unicorn/prefer-string-slice"),"unicorn/prefer-string-trim-start-end":AW(mT,"unicorn/prefer-string-trim-start-end"),"unicorn/no-unreadable-iife":AW(mO,"unicorn/no-unreadable-iife"),"unicorn/throw-new-error":AW(mM,"unicorn/throw-new-error"),"unicorn/better-regex":AW(vQ,"unicorn/better-regex"),"unicorn/escape-case":AW(v8,"unicorn/escape-case"),"unicorn/no-hex-escape":AW(At,"unicorn/no-hex-escape"),"unicorn/prefer-prototype-methods":AW(Ao,"unicorn/prefer-prototype-methods"),"unicorn/relative-url-style":AW(Am,"unicorn/relative-url-style"),"unicorn/error-message":AW(AC,"unicorn/error-message"),"unicorn/no-instanceof-array":AW(AP,"unicorn/no-instanceof-array"),"unicorn/prefer-type-error":AW(Az,"unicorn/prefer-type-error"),"string/no-unneeded-to-string":J,"type/no-force-cast-via-top-type":Q,"type/no-wrapper-type-reference":ee,"no-default-error":er}};function AW(e,r){var t;return{meta:{schema:[],...e.meta,docs:{...e.meta.docs,url:ei(r)}},create:(t=e.create,e=>{let r={},u=(e,t)=>{r[e]??(r[e]=[]),r[e].push(t)},n=new Proxy(e,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)u(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)u(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[e,r]of Object.entries(t(n)??{}))u(e,r);return Object.fromEntries(Object.entries(r).map(([r,t])=>[r,(...r)=>{for(let u of t)!function(e,r){if(e)for(let t of(Aq(e)||(e=[e]),e)){if(t.fix&&(t.fix=AG(t.fix)),Aq(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=AG(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(u(...r),e)}]))})}}let Aq=e=>"function"==typeof e?.[Symbol.iterator];class AZ extends Error{}let AV={abort(){throw new AZ("Fix aborted.")}};function AG(e){return r=>{let t=e(r,AV);if(Aq(t))try{return[...t]}catch(e){if(e instanceof AZ)return;throw e}return t}}export{AU as default};
1
+ import*as e from"node:path";import*as r from"node:fs";function t(e,r){if("string"==typeof r){let e=r;r=r=>r.type===e}for(;e;){if(r(e))return e;e=e.parent}}function n(e){return e?.type==="Identifier"||e?.type==="PrivateIdentifier"}function u(e){return e?.type==="MemberExpression"}function a(e){return e?.type==="AwaitExpression"}function i(e,r){return!!n(e)&&("function"==typeof r?r(e.name):Array.isArray(r)?r.includes(e.name):e.name===r)}function o(e,r){return e?.type==="Literal"&&(Array.isArray(r)?r.includes(e.value):"string"==typeof e.value&&r instanceof RegExp?r.test(e.value):e.value===r)}function s(e){return!!e&&["ArrowFunctionExpression","FunctionDeclaration","FunctionExpression"].includes(e.type)}function d(e,r){return e?.type==="Identifier"&&r?.type===e.type&&e.name===r.name}function c({name:e,meta:r,create:t,resolveOptions:n}){return r?.docs&&(r.docs.url??=new URL(e,"https://dimensiondev.github.io/eslint-plugin/src/rules/").toString()),Object.freeze({name:e,meta:r,create(e){let r=n?.(...e.options)??e.options[0],u=Object.entries(t(e,r));return Object.fromEntries(u.filter(e=>e[1]))}})}function f(e){if(!e?.program)throw Error("see https://typescript-eslint.io/docs/linting/type-linting")}var l,p,g,m,y,h,b,v,x,E=c({name:"array/no-unneeded-flat-map",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow `Array#flatMap((x) => x)` when simpler alternatives exist",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple `Array#flatMap()` in array"}},create:e=>({CallExpression(r){var t;if("MemberExpression"!==r.callee.type)return;let n=i(r.callee.property,"flatMap");if(!n||!(s(t=r.arguments[0])&&1===t.params.length&&"Identifier"===t.params[0].type&&t.body&&(d(t.params[0],t.body)||"BlockStatement"===t.body.type&&1===t.body.body.length&&"ReturnStatement"===t.body.body[0].type&&d(t.params[0],t.body.body[0].argument))))return;let{property:u}=r.callee;e.report({node:r,messageId:"invalid",*fix(e){yield e.replaceText(u,"flat"),yield*r.arguments.map(r=>e.remove(r))}})}})});let A=new Set(["href","pathname","search","hash","origin"]);var D=c({name:"browser/prefer-location-assign",meta:{type:"suggestion",fixable:"code",docs:{description:"Prefer `location.assign(...)` over `location.*`",recommended:"stylistic"},schema:[],messages:{instead:"Use `location.assign(...)` instead of `location.{{name}}`"}},create(e){let r=e.getSourceCode();return{AssignmentExpression(t){let n=function(e,r){if(i(e,r))return e;for(;u(e);){if(i(e.property,r))return e;e=e.object}}(t.left,"location");if(!n)return;let a=C(n.parent);e.report({node:t,messageId:"instead",data:{name:a},fix:function(e,r,t){let n=C(r.parent);if(A.has(n??"href"))return n=>n.replaceText(t,`${e.getText(r)}.assign(${e.getText(t.right)})`)}(r,n,t)})}}}});function C(e){if(u(e)&&n(e.property))return e.property.name}var S=c({name:"jsx/no-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow use template-literal in JSX",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow use template-literal in JSX"}},create:e=>({JSXExpressionContainer(r){if("TemplateLiteral"!==r.expression.type||r.parent?.type==="JSXAttribute")return;let{expression:t}=r;e.report({node:r,messageId:"invalid",fix(n){let u=[...t.expressions,...t.quasis];u.sort((e,r)=>e.range[0]-r.range[0]);let a=e.getSourceCode(),i=u.map(e=>"TemplateElement"===e.type?e.value.cooked:"{"+a.getText(e)+"}");return n.replaceText(r,i.join(""))}})}})}),_=c({name:"jsx/no-unneeded-nested",meta:{type:"suggestion",fixable:"code",docs:{description:"Reduce unneeded JSXFragment nested",recommended:"stylistic"},schema:[],messages:{invalid:"Reduce unneeded JSXFragment nested"}},create(e){let r=e.getSourceCode();return{JSXFragment(t){if(1!==t.children.length)return;let n=t.children[0];e.report({node:t,messageId:"invalid",*fix(e){"JSXExpressionContainer"===n.type?"JSXEmptyExpression"!==n.expression.type&&(yield e.replaceText(t,r.getText(n.expression))):yield e.replaceText(t,r.getText(n))}})}}}});let w=/^toLocale(?<name>Upper|Lower)Case$/g;var F=c({name:"string/no-locale-case",meta:{type:"problem",fixable:"code",docs:{description:"Disallow use `String#toLocale{Upper,Lower}Case()`",recommended:"recommended"},schema:[],messages:{instead:"Use `.to{{name}}Case(...)` instead of `.toLocale{{name}}Case()`"}},create:e=>({CallExpression(r){if(r.arguments.length>0||!u(r.callee)||!n(r.callee.property))return;let{property:t}=r.callee,a=w.exec(t.name);a&&e.report({node:r,data:{name:a.groups?.name},messageId:"instead",fix:e=>e.replaceText(t,t.name.replaceAll("Locale",""))})}})});function T(e){return JSON.stringify(e)}var k=c({name:"string/no-simple-template-literal",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow simple template-literal",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow simple template-literal"}},create(e){let r=e.getSourceCode();return{TemplateLiteral(n){let u=n.parent?.type!=="TaggedTemplateExpression"&&1===n.quasis.length&&!function({loc:e}){return!!e&&e.start.line!==e.end.line}(n.quasis[0])&&0===n.expressions.length?e=>{let u=T(n.quasis[0].value.cooked),a=t(n,e=>"Property"===e.type&&e.key===n);return a?e.replaceText(a,`${u}: ${r.getText(a.value)}`):e.replaceText(n,u)}:2===n.quasis.length&&n.quasis.every(({value:e})=>""===e.cooked)&&1===n.expressions.length?e=>e.replaceText(n,r.getText(n.expressions[0])):void 0;u&&e.report({node:n,messageId:"invalid",fix:u})}}}});let P=["BigInt","Boolean","Function","Number","Object","String","Symbol","Array"];var I=c({name:"type/no-instanceof-wrapper",meta:{type:"problem",fixable:"code",docs:{description:"Disallow `instanceof` for wrapper objects",recommended:"recommended"},schema:[],messages:{primitive:'Unexpected `instanceof` operator. Use `typeof x === "{{typeName}}"` instead',array:"Unexpected `instanceof` operator. Use `Array.isArray` instead"},replacedBy:["unicorn/no-instanceof-array"]},create(e){let r=e.getSourceCode(),t=e.getScope(),n=P.flatMap(e=>{let r=t.set.get(e);return!r||r.defs.length>0?[]:r.references??[]});return{Program(){for(let{identifier:t}of n){let n=t.parent;if(n?.type==="BinaryExpression"&&"instanceof"===n.operator&&n.right===t){if("Array"===t.name)e.report({node:n,messageId:"array",fix:e=>e.replaceText(n,`Array.isArray(${r.getText(n.left)})`)});else{let u=t.name.toLowerCase();e.report({node:n,messageId:"primitive",data:{typeName:u},fix:e=>e.replaceText(n,`typeof ${r.getText(n.left)} === ${T(u)}`)})}}}}}}});let j=/\P{ASCII}/u;function B(e,r){return{Program(t){for(let n of t.tokens??[]){let t=function(e){switch(e.type){case"String":case"Template":return e.value.slice(1,-1);case"Identifier":if(e.value.startsWith("#"))return e.value.slice(1);return e.value;case"RegularExpression":return e.regex.pattern;case"JSXText":case"JSXIdentifier":return e.value}return!1}(n);!1!==t&&e.test(t)&&r(n,"code")}for(let n of t.comments??[])e.test(n.value)&&r(n,"comment")}}}function O(e,r){switch(e.type){case"String":case"Template":return t=>{let n=e.value.slice(0,1),u=e.value.slice(-1),a=R(e.value.slice(1,-1),r);return t.replaceText(e,`${n}${a}${u}`)};case"JSXText":return t=>{let n=e.value.replace(r,e=>`&#x${L(e.codePointAt(0))};`);return t.replaceText(e,n)};case"RegularExpression":return t=>{let n=new Set(e.regex.flags);n.add("u");let u=new RegExp(R(e.regex.pattern,r),[...n].join(""));return t.replaceText(e,u.toString())}}}function R(e,r){return e.replace(r,e=>{let r=e.codePointAt(0);return r>65535?`\\u{${L(r)}}`:`\\u${L(r)}`})}function L(e){return e.toString(16).padStart(4,"0").toUpperCase()}c({name:"unicode/specific-set",meta:{type:"problem",fixable:"code",docs:{description:"Limit the range of literal characters"},schema:[{type:"object",properties:{pattern:{type:"string"},flags:{type:"string"},only:{type:"string",enum:["code","comment"]}},additionalProperties:!1}],messages:{illegal:"Illegal character detected"}},resolveOptions(e){let r=e?.pattern?new RegExp(e.pattern,e.flags??"u"):j;return{pattern:r,only:e?.only}},create:(e,{pattern:r,only:t})=>B(r,(n,u)=>{if(t&&t!==u)return;let a=RegExp(r.source,"gu"),i=O(n,a);e.report({node:n,messageId:"illegal",fix:i})})});let N=/[\u061C\u202A-\u202E\u2066-\u2069]/;var M=c({name:"unicode/no-bidi",meta:{type:"problem",fixable:"code",docs:{description:"Detect and stop Trojan Source attacks",recommended:"recommended"},schema:[],messages:{detected:"Detected potential trojan source attack with unicode bidi introduced in this {{kind}}: {{text}}."}},create:e=>B(N,(r,t)=>{let n=RegExp(N.source,"gu"),u={kind:t,text:R(r.value,n)},a=O(r,n);e.report({node:r,data:u,messageId:"detected",fix:a})})});let $=function(){let e=[/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u].map(e=>"string"==typeof e?e:e.source).join("");return RegExp(`[${e}]`,"u")}(/\u00AD\u034F\u061C\u17B4\u17B5\uFEFF\uFFFC/,/\u180B-\u180E/,/\u200B-\u200F/,/\u202A-\u202E/,/\u2060-\u206F/,/\uFE00-\uFE0F/,/\uFFF0-\uFFF8/,/\u{1D173}-\u{1D17A}/u,/\u{E0000}-\u{E007F}/u,/\u{E0100}-\u{E01EF}/u);var z=c({name:"unicode/no-invisible",meta:{type:"problem",fixable:"code",docs:{description:"Disallow invisible characters",recommended:"recommended"},schema:[],messages:{illegal:"Illegal character detected"}},create:e=>B($,r=>{let t=RegExp($.source,"gu"),n=O(r,t);e.report({node:r,messageId:"illegal",fix:n})})}),U=c({name:"no-redundant-variable",meta:{type:"problem",fixable:"code",docs:{description:"Disallow redundant variable",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Redundant Variable"}},create:e=>({BlockStatement({body:r}){var n;let u=r.find(W);if(!u)return;let i=r[r.indexOf(u)-1];i&&"VariableDeclaration"===i.type&&1===i.declarations.length&&i.declarations.some(({init:e,id:r})=>null!==e&&d(u.argument,r))&&e.report({node:u,messageId:"invalid",fix:(n=e.getSourceCode(),e=>{let{init:r,id:o}=i.declarations[0];if(!(r&&o&&u.argument))return null;let s=!a(r)||t(r,"TryStatement")?r:r.argument,d=(e=>{if(!o.typeAnnotation)return e;let t=n.getText(o.typeAnnotation.typeAnnotation);return`(${e}) as ${a(r)?`Promise<${t}>`:t}`})(n.getText(s));return[e.remove(i),e.replaceText(u.argument,d)]})})}})});function W(e){return"ReturnStatement"===e.type&&n(e.argument)}var q=c({name:"no-single-return",meta:{type:"suggestion",docs:{description:"Disallow single-return",recommended:"stylistic"},schema:[],messages:{invalid:"Disallow Single Return"}},create:e=>({BlockStatement({parent:r,body:t}){if(!s(r))return;let n=function(e,r){let t=r.find(V);if(!t)return;let n=r.find(e=>"VariableDeclaration"===e.type&&"const"!==e.kind&&e.declarations.some(({id:e})=>d(t.argument,e)));if(n)return e.getDeclaredVariables(n).find(({references:e})=>e.every(e=>e.isWriteOnly()||e.identifier.parent===t))}(e,t);for(let{identifier:r}of n?.references??[])r.parent&&e.report({node:r.parent,messageId:"invalid"})}})});function V(e){return"ReturnStatement"===e.type&&n(e.argument)}var Z=c({name:"prefer-early-return",meta:{type:"problem",fixable:"code",docs:{description:"Prefer early returns over full-body conditional wrapping in function declarations",recommended:"stylistic"},schema:[{type:"object",properties:{maximumStatements:{type:"integer",minimum:0}},additionalProperties:!1}],messages:{prefer:"Prefer an early return to a conditionally-wrapped function body"}},resolveOptions:e=>e?.maximumStatements??1,create:(e,r)=>({BlockStatement:function({body:t,parent:n}){var u;if(!s(n))return;let a=1===t.length&&function(e,r){if(!("IfStatement"===e.type&&null===e.alternate))return!1;let{consequent:t}=e;return"ExpressionStatement"===t.type&&0===r||"BlockStatement"===t.type&&t.body.length>r}(t[0],r);if(!a)return;let i=(u=t[0],function*(r){var t;if("IfStatement"!==u.type)return;let n=e.getSourceCode(),{test:a,consequent:i}=u;yield r.insertTextBefore(a,"!("),yield r.insertTextAfter(a,")"),yield r.replaceText(i,"return;");let o=(t=n.getText(i),"BlockStatement"===i.type?t.slice(1,-1):t);yield r.insertTextAfter(u,o)});e.report({node:t[0],messageId:"prefer",fix:i})}})}),G=c({name:"prefer-fetch",meta:{type:"problem",docs:{description:"Enforce fetch",recommended:"stylistic"},schema:[],messages:{callee:"Should use 'fetch' instead"}},create:e=>({ImportDeclaration(r){let t=r.source.value;("axios"===t||"request"===t)&&e.report({node:r,messageId:"callee"})},NewExpression(r){let t=function({callee:e}){return i(e,"XMLHttpRequest")}(r)||i(r.callee,"ActiveXObject")&&o(r.arguments[0],/xmlhttp/i);t&&e.report({node:r,messageId:"callee"})},CallExpression(r){let t=function({callee:e}){let r="$http";return i(e,r)||u(e)&&i(e.object,r)}(r)||function({callee:e,parent:r}){let t=["$","jQuery"];return i(e,t)&&u(r)&&i(r.property,"load")||u(e)&&i(e.object,t)&&i(e.property,["ajax","get","post","getJSON","getScript"])}(r)||H(r,"axios")||H(r,"request");t&&e.report({node:r,messageId:"callee"})}})});function H(e,r){return i(e.callee,"require")&&o(e.arguments[0],r)}let K=new Set(["setTimeout","setInterval","requestAnimationFrame","requestIdleCallback"]);var J=c({name:"prefer-timer-id",meta:{type:"problem",docs:{description:"Enforce best practice with timer function",recommended:"recommended"},schema:[],messages:{assign:"Timer id should assign to an identifier or member for cleaning up, `const timer = {{name}}(...);`",fix:"Assign timer id to a variable"},hasSuggestions:!0},create:e=>({CallExpression(r){if("Identifier"!==r.callee.type)return;let t=!K.has(r.callee.name)||function(e){if(!i(e.callee,"setTimeout"))return!1;let r=e.arguments[1];return!r||o(r,0)}(r)||r.parent?.type==="AssignmentExpression"&&r.parent.right===r||r.parent?.type==="VariableDeclarator"&&r.parent.init===r;t||e.report({node:r,messageId:"assign",data:{name:r.callee.name},suggest:[{messageId:"fix",fix:e=>e.insertTextBefore(r,"const timer = ")}]})}})}),X=c({name:"string/no-unneeded-to-string",meta:{type:"suggestion",fixable:"code",docs:{description:"Disallow `String#toString()` when simpler alternatives exist",recommended:"stylistic",requiresTypeChecking:!0},schema:[],messages:{invalid:"Disallow use `.toString()` in string"}},create(e){f(e.parserServices);let{program:r,esTreeNodeToTSNodeMap:t}=e.parserServices,n=r.getTypeChecker();return{CallExpression(r){if("MemberExpression"!==r.callee.type)return;let{object:u,property:a}=r.callee;(i(a,"toString")||o(a,"toString"))&&function(e,r){let t=e.getTypeAtLocation(r);if(t.isStringLiteral()||"string"===e.typeToString(t))return!0;let n=t.getSymbol();return n&&"String"===e.symbolToString(n)}(n,t.get(u))&&e.report({node:a,messageId:"invalid",fix(t){let n=e.getSourceCode();return t.replaceText(r,n.getText(u))}})}}}}),Y=c({name:"type/no-force-cast-via-top-type",meta:{type:"problem",docs:{description:"Disallowing cast a type `T` to unrelated or incompatible type `Q` via `T as any as Q`",recommended:"recommended"},schema:[],messages:{invalid:"Don't cast this expression to another type by `as {{type}} as T`"}},create:e=>({TSAsExpression(r){var t,n;if(!("TSAnyKeyword"===(t=r.typeAnnotation).type||"TSUnknownKeyword"===t.type)||!((n=r.parent)&&"TSAsExpression"===n.type&&"TSTypeReference"===n.typeAnnotation.type))return;let u="TSAnyKeyword"===r.typeAnnotation.type?"any":"unknown";e.report({node:r,messageId:"invalid",data:{type:u}})}})});let Q=new Set(["BigInt","Boolean","Number","String","Symbol"]);var ee=c({name:"type/no-wrapper-type-reference",meta:{type:"problem",fixable:"code",docs:{description:"Disallow wrapper type for type reference",recommended:"recommended"},schema:[],messages:{instead:"Use {{name}} instead"}},create:e=>({TSTypeReference(r){if("Identifier"!==r.typeName.type||!Q.has(r.typeName.name))return;let t=r.typeName.name.toLowerCase();e.report({node:r,messageId:"instead",data:{name:t},fix:e=>e.replaceText(r.typeName,t)})}})}),er=c({name:"no-default-error",meta:{type:"problem",docs:{description:"Restrict the usage of default (unextended) error",recommended:"strict",requiresTypeChecking:!0},schema:[],messages:{invalid:"Default error object should not be used in this project"}},create(e){f(e.parserServices);let{esTreeNodeToTSNodeMap:r,program:t}=e.parserServices,n=t.getTypeChecker();function u(t){"ErrorConstructor"===function(e,r){let t=e.getTypeAtLocation(r).getSymbol();if(!t?.valueDeclaration)return;let n=e.getTypeOfSymbolAtLocation(t,t.valueDeclaration);return e.typeToString(n)}(n,r.get(t))&&e.report({node:t,messageId:"invalid"})}return{ThrowStatement(e){e.argument&&u(e.argument)},NewExpression:u,CallExpression:u}}});function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function en(e){if(e.__esModule)return e;var r=e.default;if("function"==typeof r){var t=function e(){return this instanceof e?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var eu=en(e),ea=e=>{let r=eu.basename(e,".js");return`https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/${r}.md`},ei=et(ea);let eo={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},es=Object.keys(eo);for(let e of es)Object.freeze(eo[e]);Object.freeze(eo);let ed=new Set(["parent","leadingComments","trailingComments"]);function ec(e){return!ed.has(e)&&"_"!==e[0]}function ef(e,r){let t=r.range[0],n=e,u=!1;do for(let e of(u=!1,n.childScopes)){let r=e.block.range;if(r[0]<=t&&t<r[1]){n=e,u=!0;break}}while(u);return n}function el(e,r){let t="",n=e;for("string"==typeof r?t=r:(t=r.name,n=ef(n,r));null!=n;){let e=n.set.get(t);if(null!=e)return e;n=n.upper}return null}function ep(e){return!this(e)}function eg(e){return ep.bind(e)}function em(e,r){return"Punctuator"===e.type&&e.value===r}function ey(e){return em(e,"=>")}function eh(e){return em(e,",")}function eb(e){return em(e,";")}function ev(e){return em(e,":")}function ex(e){return em(e,"(")}function eE(e){return em(e,")")}function eA(e){return em(e,"[")}function eD(e){return em(e,"]")}function eC(e){return em(e,"{")}function eS(e){return em(e,"}")}function e_(e){return["Block","Line","Shebang"].includes(e.type)}let ew=eg(ey),eF=eg(eh),eT=eg(eb),ek=eg(ev),eP=eg(ex),eI=eg(eE),ej=eg(eA),eB=eg(eD),eO=eg(eC),eR=eg(eS),eL=eg(e_);function eN(e,r){let t=e.parent,n=null,u=null;if("ArrowFunctionExpression"===e.type){let t=r.getTokenBefore(e.body,ey);n=t.loc.start,u=t.loc.end}else n="Property"===t.type||"MethodDefinition"===t.type||"PropertyDefinition"===t.type?t.loc.start:e.loc.start,u=(e.id?r.getTokenAfter(e.id,ex):r.getFirstToken(e,ex)).loc.start;return{start:{...n},end:{...u}}}let eM="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},e$=Object.freeze(new Set(["Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","isFinite","isNaN","isPrototypeOf","JSON","Map","Math","NaN","Number","Object","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","String","Symbol","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","undefined","unescape","WeakMap","WeakSet"])),ez=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,"function"==typeof BigInt?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(e=>"random"!==e).map(e=>Math[e]).filter(e=>"function"==typeof e),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(e=>"function"==typeof e)),eU=new Set([Object.freeze,Object.preventExtensions,Object.seal]),eW=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function eq(e,r){let t=[];for(let n=0;n<e.length;++n){let u=e[n];if(null==u)t.length=n+1;else if("SpreadElement"===u.type){let e=eZ(u.argument,r);if(null==e)return null;t.push(...e.value)}else{let e=eZ(u,r);if(null==e)return null;t.push(e.value)}}return t}let eV=Object.freeze({ArrayExpression(e,r){let t=eq(e.elements,r);return null!=t?{value:t}:null},AssignmentExpression:(e,r)=>"="===e.operator?eZ(e.right,r):null,BinaryExpression(e,r){if("in"===e.operator||"instanceof"===e.operator)return null;let t=eZ(e.left,r),n=eZ(e.right,r);if(null!=t&&null!=n)switch(e.operator){case"==":return{value:t.value==n.value};case"!=":return{value:t.value!=n.value};case"===":return{value:t.value===n.value};case"!==":return{value:t.value!==n.value};case"<":return{value:t.value<n.value};case"<=":return{value:t.value<=n.value};case">":return{value:t.value>n.value};case">=":return{value:t.value>=n.value};case"<<":return{value:t.value<<n.value};case">>":return{value:t.value>>n.value};case">>>":return{value:t.value>>>n.value};case"+":return{value:t.value+n.value};case"-":return{value:t.value-n.value};case"*":return{value:t.value*n.value};case"/":return{value:t.value/n.value};case"%":return{value:t.value%n.value};case"**":return{value:t.value**n.value};case"|":return{value:t.value|n.value};case"^":return{value:t.value^n.value};case"&":return{value:t.value&n.value}}return null},CallExpression(e,r){let t=e.callee,n=eq(e.arguments,r);if(null!=n){if("MemberExpression"===t.type){if("PrivateIdentifier"===t.property.type)return null;let u=eZ(t.object,r);if(null!=u){if(null==u.value&&(u.optional||e.optional))return{value:void 0,optional:!0};let a=eG(t,r);if(null!=a){let e=u.value,r=a.value;if(ez.has(e[r]))return{value:e[r](...n)};if(eU.has(e[r]))return{value:n[0]}}}}else{let u=eZ(t,r);if(null!=u){if(null==u.value&&e.optional)return{value:void 0,optional:!0};let r=u.value;if(ez.has(r))return{value:r(...n)};if(eU.has(r))return{value:n[0]}}}}return null},ConditionalExpression(e,r){let t=eZ(e.test,r);return null!=t?t.value?eZ(e.consequent,r):eZ(e.alternate,r):null},ExpressionStatement:(e,r)=>eZ(e.expression,r),Identifier(e,r){if(null!=r){let t=el(r,e);if(null!=t&&0===t.defs.length&&e$.has(t.name)&&t.name in eM)return{value:eM[t.name]};if(null!=t&&1===t.defs.length){let e=t.defs[0];if(e.parent&&"Variable"===e.type&&("const"===e.parent.kind||function(e){let r=e.references,t=r.filter(e=>e.init).length,n=r.filter(e=>e.isReadOnly()).length;return 1===t&&n+t===r.length}(t))&&"Identifier"===e.node.id.type)return eZ(e.node.init,r)}}return null},Literal:e=>(null!=e.regex||null!=e.bigint)&&null==e.value?null:{value:e.value},LogicalExpression(e,r){let t=eZ(e.left,r);if(null!=t){if("||"===e.operator&&!0==!!t.value||"&&"===e.operator&&!1==!!t.value||"??"===e.operator&&null!=t.value)return t;let n=eZ(e.right,r);if(null!=n)return n}return null},MemberExpression(e,r){if("PrivateIdentifier"===e.property.type)return null;let t=eZ(e.object,r);if(null!=t){if(null==t.value&&(t.optional||e.optional))return{value:void 0,optional:!0};let n=eG(e,r);if(null!=n){if(!function(e,r){let t=function(e,r){let t=e;for(;("object"==typeof t||"function"==typeof t)&&null!==t;){let e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}return null}(e,r);return null!=t&&null!=t.get}(t.value,n.value))return{value:t.value[n.value]};for(let[e,r]of eW)if(t.value instanceof e&&r.has(n.value))return{value:t.value[n.value]}}}return null},ChainExpression(e,r){let t=eZ(e.expression,r);return null!=t?{value:t.value}:null},NewExpression(e,r){let t=eZ(e.callee,r),n=eq(e.arguments,r);if(null!=t&&null!=n){let e=t.value;if(ez.has(e))return{value:new e(...n)}}return null},ObjectExpression(e,r){let t={};for(let n of e.properties)if("Property"===n.type){if("init"!==n.kind)return null;let e=eG(n,r),u=eZ(n.value,r);if(null==e||null==u)return null;t[e.value]=u.value}else{if("SpreadElement"!==n.type&&"ExperimentalSpreadProperty"!==n.type)return null;let e=eZ(n.argument,r);if(null==e)return null;Object.assign(t,e.value)}return{value:t}},SequenceExpression(e,r){let t=e.expressions[e.expressions.length-1];return eZ(t,r)},TaggedTemplateExpression(e,r){let t=eZ(e.tag,r),n=eq(e.quasi.expressions,r);if(null!=t&&null!=n){let r=t.value,u=e.quasi.quasis.map(e=>e.value.cooked);if(u.raw=e.quasi.quasis.map(e=>e.value.raw),r===String.raw)return{value:r(u,...n)}}return null},TemplateLiteral(e,r){let t=eq(e.expressions,r);if(null!=t){let r=e.quasis[0].value.cooked;for(let n=0;n<t.length;++n)r+=t[n]+e.quasis[n+1].value.cooked;return{value:r}}return null},UnaryExpression(e,r){if("delete"===e.operator)return null;if("void"===e.operator)return{value:void 0};let t=eZ(e.argument,r);if(null!=t)switch(e.operator){case"-":return{value:-t.value};case"+":return{value:+t.value};case"!":return{value:!t.value};case"~":return{value:~t.value};case"typeof":return{value:typeof t.value}}return null}});function eZ(e,r){return null!=e&&Object.hasOwnProperty.call(eV,e.type)?eV[e.type](e,r):null}function eG(e,r){let t="Property"===e.type?e.key:e.property;return e.computed?eZ(t,r):"Identifier"===t.type?{value:t.name}:"Literal"===t.type?t.bigint?{value:t.bigint}:{value:String(t.value)}:null}function eH(e,r=null){try{return eZ(e,r)}catch(e){return null}}function eK(e,r=null){if(e&&"Literal"===e.type&&null===e.value){if(e.regex)return`/${e.regex.pattern}/${e.regex.flags}`;if(e.bigint)return e.bigint}let t=eH(e,r);return t&&String(t.value)}function eJ(e,r){switch(e.type){case"MemberExpression":if(e.computed)return eK(e.property,r);if("PrivateIdentifier"===e.property.type)break;return e.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":if(e.computed)return eK(e.key,r);if("Literal"===e.key.type)return String(e.key.value);if("PrivateIdentifier"===e.key.type)break;return e.key.name}return null}function eX(e,r){let t=e.parent,n=[],u="Property"===t.type&&t.value===e,a="MethodDefinition"===t.type&&t.value===e,i="PropertyDefinition"===t.type&&t.value===e;if((a||i)&&(t.static&&n.push("static"),"PrivateIdentifier"===t.key.type&&n.push("private")),e.async&&n.push("async"),e.generator&&n.push("generator"),u||a){if("constructor"===t.kind)return"constructor";"get"===t.kind?n.push("getter"):"set"===t.kind?n.push("setter"):n.push("method")}else i?n.push("method"):("ArrowFunctionExpression"===e.type&&n.push("arrow"),n.push("function"));if(u||a||i){if("PrivateIdentifier"===t.key.type)n.push(`#${t.key.name}`);else{let e=eJ(t);if(e)n.push(`'${e}'`);else if(r){let e=r.getText(t.key);e.includes("\n")||n.push(`[${e}]`)}}}else e.id?n.push(`'${e.id.name}'`):"VariableDeclarator"===t.type&&t.id&&"Identifier"===t.id.type?n.push(`'${t.id.name}'`):("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left&&"Identifier"===t.left.type?n.push(`'${t.left.name}'`):"ExportDefaultDeclaration"===t.type&&t.declaration===e&&n.push("'default'");return n.join(" ")}let eY=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),eQ=Object.freeze(new Set(["-","+","!","~"]));function e0(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type}let e1=Object.freeze(Object.assign(Object.create(null),{$visit(e,r,t){let{type:n}=e;return"function"==typeof this[n]?this[n](e,r,t):this.$visitChildren(e,r,t)},$visitChildren(e,r,t){let{type:n}=e;for(let u of t[n]||Object.keys(e).filter(ec)){let n=e[u];if(Array.isArray(n)){for(let e of n)if(e0(e)&&this.$visit(e,r,t))return!0}else if(e0(n)&&this.$visit(n,r,t))return!0}return!1},ArrowFunctionExpression:()=>!1,AssignmentExpression:()=>!0,AwaitExpression:()=>!0,BinaryExpression(e,r,t){return!!(r.considerImplicitTypeConversion&&eY.has(e.operator))&&("Literal"!==e.left.type||"Literal"!==e.right.type)||this.$visitChildren(e,r,t)},CallExpression:()=>!0,FunctionExpression:()=>!1,ImportExpression:()=>!0,MemberExpression(e,r,t){return!!r.considerGetters||!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.property.type||this.$visitChildren(e,r,t)},MethodDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},NewExpression:()=>!0,Property(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},PropertyDefinition(e,r,t){return!!r.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,r,t)},UnaryExpression(e,r,t){return!!("delete"===e.operator||r.considerImplicitTypeConversion&&eQ.has(e.operator)&&"Literal"!==e.argument.type)||this.$visitChildren(e,r,t)},UpdateExpression:()=>!0,YieldExpression:()=>!0}));function e2(e,r,{considerGetters:t=!1,considerImplicitTypeConversion:n=!1}={}){return e1.$visit(e,{considerGetters:t,considerImplicitTypeConversion:n},r.visitorKeys||eo)}function e3(e,r,t){let n,u,a,i,o;if("number"==typeof e){if(n=0|e,u=r,a=t,!(n>=1))throw TypeError("'times' should be a positive integer.")}else n=1,u=e,a=r;if(null==u||null==u.parent||"CatchClause"===u.parent.type&&u.parent.param===u)return!1;i=o=u;do i=a.getTokenBefore(i),o=a.getTokenAfter(o);while(null!=i&&null!=o&&ex(i)&&eE(o)&&i!==function(e,r){let t=e.parent;switch(t.type){case"CallExpression":case"NewExpression":if(1===t.arguments.length&&t.arguments[0]===e)return r.getTokenAfter(t.callee,ex);return null;case"DoWhileStatement":if(t.test===e)return r.getTokenAfter(t.body,ex);return null;case"IfStatement":case"WhileStatement":if(t.test===e)return r.getFirstToken(t,1);return null;case"ImportExpression":if(t.source===e)return r.getFirstToken(t,1);return null;case"SwitchStatement":if(t.discriminant===e)return r.getFirstToken(t,1);return null;case"WithStatement":if(t.object===e)return r.getFirstToken(t,1);return null;default:return null}}(u,a)&&--n>0);return 0===n}let e4=/\$(?:[$&`']|[1-9][0-9]?)/gu,e5=new WeakMap;class e8{constructor(e,{escaped:r=!1}={}){if(!(e instanceof RegExp))throw TypeError("'pattern' should be a RegExp instance.");if(!e.flags.includes("g"))throw Error("'pattern' should contains 'g' flag.");e5.set(this,{pattern:new RegExp(e.source,e.flags),escaped:!!r})}*execAll(e){let{pattern:r,escaped:t}=e5.get(this),n=null,u=0;for(r.lastIndex=0;null!=(n=r.exec(e));)(t||!function(e,r){let t=!1;for(let n=r-1;n>=0&&92===e.charCodeAt(n);--n)t=!t;return t}(e,n.index))&&(u=r.lastIndex,yield n,r.lastIndex=u)}test(e){let r=this.execAll(e),t=r.next();return!t.done}[Symbol.replace](e,r){return"function"==typeof r?function(e,r,t){let n=[],u=0;for(let a of e.execAll(r))n.push(r.slice(u,a.index)),n.push(String(t(...a,a.index,a.input))),u=a.index+a[0].length;return n.push(r.slice(u)),n.join("")}(this,String(e),r):function(e,r,t){let n=[],u=0,a=null;function i(e){switch(e){case"$$":return"$";case"$&":return a[0];case"$`":return r.slice(0,a.index);case"$'":return r.slice(a.index+a[0].length);default:{let r=e.slice(1);if(r in a)return a[r];return e}}}for(a of e.execAll(r))n.push(r.slice(u,a.index)),n.push(t.replace(e4,i)),u=a.index+a[0].length;return n.push(r.slice(u)),n.join("")}(this,String(e),String(r))}}let e6=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,e9=Function.call.bind(Object.hasOwnProperty),e7=Symbol("read"),re=Symbol("call"),rr=Symbol("construct"),rt=Symbol("esm"),rn={require:{[re]:!0}};function ru(e){return null==e||0!==e.defs.length||e.references.some(e=>e.isWrite())}let ra=class{constructor(e,{mode:r="strict",globalObjectNames:t=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=e,this.mode=r,this.globalObjectNames=t.slice(0)}*iterateGlobalReferences(e){for(let r of Object.keys(e)){let t=e[r],n=[r],u=this.globalScope.set.get(r);ru(u)||(yield*this._iterateVariableReferences(u,n,t,!0))}for(let r of this.globalObjectNames){let t=[],n=this.globalScope.set.get(r);ru(n)||(yield*this._iterateVariableReferences(n,t,e,!1))}}*iterateCjsReferences(e){for(let{node:r}of this.iterateGlobalReferences(rn)){let t=eK(r.arguments[0]);if(null==t||!e9(e,t))continue;let n=e[t],u=[t];n[e7]&&(yield{node:r,path:u,type:e7,info:n[e7]}),yield*this._iteratePropertyReferences(r,u,n)}}*iterateEsmReferences(e){let r=this.globalScope.block;for(let t of r.body){if(!e6.test(t.type)||null==t.source)continue;let r=t.source.value;if(!e9(e,r))continue;let n=e[r],u=[r];if(n[e7]&&(yield{node:t,path:u,type:e7,info:n[e7]}),"ExportAllDeclaration"===t.type)for(let e of Object.keys(n)){let r=n[e];r[e7]&&(yield{node:t,path:u.concat(e),type:e7,info:r[e7]})}else for(let e of t.specifiers){let r=e9(n,rt),t=this._iterateImportReferences(e,u,r?n:"legacy"===this.mode?{default:n,...n}:{default:n});if(r)yield*t;else for(let e of t)e.path=e.path.filter(ri),(e.path.length>=2||e.type!==e7)&&(yield e)}}}*_iterateVariableReferences(e,r,t,n){if(!this.variableStack.includes(e)){this.variableStack.push(e);try{for(let u of e.references){if(!u.isRead())continue;let e=u.identifier;n&&t[e7]&&(yield{node:e,path:r,type:e7,info:t[e7]}),yield*this._iteratePropertyReferences(e,r,t)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(e,r,t){let n=e;for(;function(e){let r=e.parent;switch(r&&r.type){case"ConditionalExpression":return r.consequent===e||r.alternate===e;case"LogicalExpression":case"ChainExpression":return!0;case"SequenceExpression":return r.expressions[r.expressions.length-1]===e;default:return!1}}(n);)n=n.parent;let u=n.parent;if("MemberExpression"===u.type){if(u.object===n){let e=eJ(u);if(null==e||!e9(t,e))return;r=r.concat(e);let n=t[e];n[e7]&&(yield{node:u,path:r,type:e7,info:n[e7]}),yield*this._iteratePropertyReferences(u,r,n)}return}if("CallExpression"===u.type){u.callee===n&&t[re]&&(yield{node:u,path:r,type:re,info:t[re]});return}if("NewExpression"===u.type){u.callee===n&&t[rr]&&(yield{node:u,path:r,type:rr,info:t[rr]});return}if("AssignmentExpression"===u.type){u.right===n&&(yield*this._iterateLhsReferences(u.left,r,t),yield*this._iteratePropertyReferences(u,r,t));return}if("AssignmentPattern"===u.type){u.right===n&&(yield*this._iterateLhsReferences(u.left,r,t));return}"VariableDeclarator"===u.type&&u.init===n&&(yield*this._iterateLhsReferences(u.id,r,t))}*_iterateLhsReferences(e,r,t){if("Identifier"===e.type){let n=el(this.globalScope,e);null!=n&&(yield*this._iterateVariableReferences(n,r,t,!1));return}if("ObjectPattern"===e.type){for(let n of e.properties){let e=eJ(n);if(null==e||!e9(t,e))continue;let u=r.concat(e),a=t[e];a[e7]&&(yield{node:n,path:u,type:e7,info:a[e7]}),yield*this._iterateLhsReferences(n.value,u,a)}return}"AssignmentPattern"===e.type&&(yield*this._iterateLhsReferences(e.left,r,t))}*_iterateImportReferences(e,r,t){let n=e.type;if("ImportSpecifier"===n||"ImportDefaultSpecifier"===n){let u="ImportDefaultSpecifier"===n?"default":e.imported.name;if(!e9(t,u))return;r=r.concat(u);let a=t[u];a[e7]&&(yield{node:e,path:r,type:e7,info:a[e7]}),yield*this._iterateVariableReferences(el(this.globalScope,e.local),r,a,!1);return}if("ImportNamespaceSpecifier"===n){yield*this._iterateVariableReferences(el(this.globalScope,e.local),r,t,!1);return}if("ExportSpecifier"===n){let n=e.local.name;if(!e9(t,n))return;r=r.concat(n);let u=t[n];u[e7]&&(yield{node:e,path:r,type:e7,info:u[e7]})}}};function ri(e,r){return!(1===r&&"default"===e)}ra.READ=e7,ra.CALL=re,ra.CONSTRUCT=rr,ra.ESM=rt;var ro=en(Object.freeze({__proto__:null,CALL:re,CONSTRUCT:rr,ESM:rt,PatternMatcher:e8,READ:e7,ReferenceTracker:ra,default:{CALL:re,CONSTRUCT:rr,ESM:rt,findVariable:el,getFunctionHeadLocation:eN,getFunctionNameWithKind:eX,getInnermostScope:ef,getPropertyName:eJ,getStaticValue:eH,getStringIfConstant:eK,hasSideEffect:e2,isArrowToken:ey,isClosingBraceToken:eS,isClosingBracketToken:eD,isClosingParenToken:eE,isColonToken:ev,isCommaToken:eh,isCommentToken:e_,isNotArrowToken:ew,isNotClosingBraceToken:eR,isNotClosingBracketToken:eB,isNotClosingParenToken:eI,isNotColonToken:ek,isNotCommaToken:eF,isNotCommentToken:eL,isNotOpeningBraceToken:eO,isNotOpeningBracketToken:ej,isNotOpeningParenToken:eP,isNotSemicolonToken:eT,isOpeningBraceToken:eC,isOpeningBracketToken:eA,isOpeningParenToken:ex,isParenthesized:e3,isSemicolonToken:eb,PatternMatcher:e8,READ:e7,ReferenceTracker:ra},findVariable:el,getFunctionHeadLocation:eN,getFunctionNameWithKind:eX,getInnermostScope:ef,getPropertyName:eJ,getStaticValue:eH,getStringIfConstant:eK,hasSideEffect:e2,isArrowToken:ey,isClosingBraceToken:eS,isClosingBracketToken:eD,isClosingParenToken:eE,isColonToken:ev,isCommaToken:eh,isCommentToken:e_,isNotArrowToken:ew,isNotClosingBraceToken:eR,isNotClosingBracketToken:eB,isNotClosingParenToken:eI,isNotColonToken:ek,isNotCommaToken:eF,isNotCommentToken:eL,isNotOpeningBraceToken:eO,isNotOpeningBracketToken:ej,isNotOpeningParenToken:eP,isNotSemicolonToken:eT,isOpeningBraceToken:eC,isOpeningBracketToken:eA,isOpeningParenToken:ex,isParenthesized:e3,isSemicolonToken:eb}));let{isParenthesized:rs}=ro,rd="too-deep",rc="should-parenthesized";var rf=et({create:e=>({ConditionalExpression(r){if([r.test,r.consequent,r.alternate].some(e=>"ConditionalExpression"===e.type))return;let{sourceCode:t}=e,n=t.getAncestors(r).reverse(),u=n.findIndex(e=>"ConditionalExpression"!==e.type);return 1!==u||rs(r,t)?u>1?{node:u>2?n[u-3]:r,messageId:rd}:void 0:{node:r,messageId:rc,fix:e=>[e.insertTextBefore(r,"("),e.insertTextAfter(r,")")]}}}),meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions."},fixable:"code",messages:{[rd]:"Do not nest ternary expressions.",[rc]:"Nest ternary expression should be parenthesized."}}});let rl="prefer-event-target";var rp=et({create:()=>({Identifier(e){if("EventEmitter"===e.name&&(("ClassDeclaration"===e.parent.type||"ClassExpression"===e.parent.type)&&e.parent.superClass===e||"NewExpression"===e.parent.type&&e.parent.callee===e))return{node:e,messageId:rl}}}),meta:{type:"suggestion",docs:{description:"Prefer `EventTarget` over `EventEmitter`."},messages:{[rl]:"Prefer `EventTarget` over `EventEmitter`."}}});let rg={},rm=rg.hasOwnProperty,ry=(e,r)=>{for(let t in e)rm.call(e,t)&&r(t,e[t])},rh=(e,r)=>(r&&ry(r,(r,t)=>{e[r]=t}),e),rb=(e,r)=>{let t=e.length,n=-1;for(;++n<t;)r(e[n])},rv=e=>"\\u"+("0000"+e).slice(-4),rx=(e,r)=>{let t=e.toString(16);return r?t:t.toUpperCase()},rE=rg.toString,rA=Array.isArray,rD=e=>"function"==typeof Buffer&&Buffer.isBuffer(e),rC=e=>"[object Object]"==rE.call(e),rS=e=>"string"==typeof e||"[object String]"==rE.call(e),r_=e=>"number"==typeof e||"[object Number]"==rE.call(e),rw=e=>"function"==typeof e,rF=e=>"[object Map]"==rE.call(e),rT=e=>"[object Set]"==rE.call(e),rk={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},rP=/[\\\b\f\n\r\t]/,rI=/[0-9]/,rj=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,rB=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,rO=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,rR=(e,r)=>{let t;let n=()=>{c=d,++r.indentLevel,d=r.indent.repeat(r.indentLevel)},u={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},a=r&&r.json;a&&(u.quotes="double",u.wrap=!0),"single"!=(r=rh(u,r)).quotes&&"double"!=r.quotes&&"backtick"!=r.quotes&&(r.quotes="single");let i="double"==r.quotes?'"':"backtick"==r.quotes?"`":"'",o=r.compact,s=r.lowercaseHex,d=r.indent.repeat(r.indentLevel),c="",f=r.__inline1__,l=r.__inline2__,p=o?"":"\n",g=!0,m="binary"==r.numbers,y="octal"==r.numbers,h="decimal"==r.numbers,b="hexadecimal"==r.numbers;if(a&&e&&rw(e.toJSON)&&(e=e.toJSON()),!rS(e)){if(rF(e))return 0==e.size?"new Map()":(o||(r.__inline1__=!0,r.__inline2__=!1),"new Map("+rR(Array.from(e),r)+")");if(rT(e))return 0==e.size?"new Set()":"new Set("+rR(Array.from(e),r)+")";if(rD(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+rR(Array.from(e),r)+")";if(rA(e))return(t=[],r.wrap=!0,f&&(r.__inline1__=!1,r.__inline2__=!0),l||n(),rb(e,e=>{g=!1,l&&(r.__inline2__=!1),t.push((o||l?"":d)+rR(e,r))}),g)?"[]":l?"["+t.join(", ")+"]":"["+p+t.join(","+p)+p+(o?"":c)+"]";if(r_(e)){if(a)return JSON.stringify(e);if(h)return String(e);if(b){let r=e.toString(16);return s||(r=r.toUpperCase()),"0x"+r}if(m)return"0b"+e.toString(2);if(y)return"0o"+e.toString(8)}else if(rC(e))return(t=[],r.wrap=!0,n(),ry(e,(e,n)=>{g=!1,t.push((o?"":d)+rR(e,r)+":"+(o?"":" ")+rR(n,r))}),g)?"{}":"{"+p+t.join(","+p)+p+(o?"":c)+"}";else return a?JSON.stringify(e)||"null":String(e)}let v=r.escapeEverything?rB:rO;return t=e.replace(v,(e,t,n,u,o,d)=>{if(t){if(r.minimal)return t;let e=t.charCodeAt(0),n=t.charCodeAt(1);if(r.es6){let r=(e-55296)*1024+n-56320+65536,t=rx(r,s);return"\\u{"+t+"}"}return rv(rx(e,s))+rv(rx(n,s))}if(n)return rv(rx(n.charCodeAt(0),s));if("\x00"==e&&!a&&!rI.test(d.charAt(o+1)))return"\\0";if(u)return u==i||r.escapeEverything?"\\"+u:u;if(rP.test(e))return rk[e];if(r.minimal&&!rj.test(e))return e;let c=rx(e.charCodeAt(0),s);return a||c.length>2?rv(c):"\\x"+("00"+c).slice(-2)}),"`"==i&&(t=t.replace(/\$\{/g,"\\${")),r.isScriptContext&&(t=t.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,a?"\\u003C!--":"\\x3C!--")),r.wrap&&(t=i+t+i),t};rR.version="3.0.2";var rL=(e,r="'")=>{if("string"!=typeof e)throw TypeError("Unexpected string.");return rR(e,{quotes:'"'===r?"double":"single",wrap:!0,es6:!0,minimal:!0,lowercaseHex:!1})};function rN(e,r){return e?.type==="Literal"&&(null===r?"null"===e.raw:e.value===r)}var rM={isLiteral:rN,isStringLiteral:e=>e?.type==="Literal"&&"string"==typeof e.value,isNumberLiteral:e=>"Literal"===e.type&&"number"==typeof e.value,isBigIntLiteral:e=>"Literal"===e.type&&!!e.bigint,isNullLiteral:e=>rN(e,null),isRegexLiteral:e=>"Literal"===e.type&&!!e.regex};function r$(e,r,t){if(!t.includes(e?.type))return!1;"string"==typeof r&&(r={names:[r]}),Array.isArray(r)&&(r={names:r});let{name:n,names:u,argumentsLength:a,minimumArguments:i,maximumArguments:o,allowSpreadElement:s,optional:d}={minimumArguments:0,maximumArguments:Number.POSITIVE_INFINITY,allowSpreadElement:!1,...r};if(n&&(u=[n]),!0===d&&e.optional!==d||!1===d&&e.optional||"number"==typeof a&&e.arguments.length!==a||0!==i&&e.arguments.length<i||Number.isFinite(o)&&e.arguments.length>o)return!1;if(!s){let r=Number.isFinite(o)?o:a;if("number"==typeof r&&e.arguments.some((e,t)=>"SpreadElement"===e.type&&t<r))return!1}return!Array.isArray(u)||!(u.length>0)||"Identifier"===e.callee.type&&!!u.includes(e.callee.name)}var rz={isCallExpression:(e,r)=>r$(e,r,["CallExpression"]),isNewExpression:(e,r)=>{if("boolean"==typeof r?.optional)throw TypeError("Cannot check node.optional in `isNewExpression`.");return r$(e,r,["NewExpression"])},isCallOrNewExpression:(e,r)=>r$(e,r,["CallExpression","NewExpression"])},rU=["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"],rW=function(e,r){if(e?.type!=="MemberExpression")return!1;"string"==typeof r&&(r={properties:[r]}),Array.isArray(r)&&(r={properties:r});let{property:t,properties:n,object:u,objects:a,optional:i,computed:o}={property:"",properties:[],object:"",...r};if(t&&(n=[t]),u&&(a=[u]),!0===i&&e.optional!==i||!1===i&&e.optional)return!1;if(Array.isArray(n)&&n.length>0){if("Identifier"!==e.property.type||!n.includes(e.property.name))return!1;o??=!1}return!(!0===o&&e.computed!==o||!1===o&&e.computed||Array.isArray(a)&&a.length>0&&("Identifier"!==e.object.type||!a.includes(e.object.name)))},rq="object"==typeof global&&global&&global.Object===Object&&global,rV="object"==typeof self&&self&&self.Object===Object&&self,rZ=rq||rV||Function("return this")(),rG=rZ.Symbol,rH=Object.prototype,rK=rH.hasOwnProperty,rJ=rH.toString,rX=rG?rG.toStringTag:void 0,rY=Object.prototype.toString,rQ=rG?rG.toStringTag:void 0;function r0(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":rQ&&rQ in Object(e)?function(e){var r=rK.call(e,rX),t=e[rX];try{e[rX]=void 0;var n=!0}catch(e){}var u=rJ.call(e);return n&&(r?e[rX]=t:delete e[rX]),u}(e):rY.call(e)}function r1(e){return null!=e&&"object"==typeof e}function r2(e){return"symbol"==typeof e||r1(e)&&"[object Symbol]"==r0(e)}var r3=0/0;function r4(e){return"number"==typeof e?e:r2(e)?r3:+e}function r5(e,r){for(var t=-1,n=null==e?0:e.length,u=Array(n);++t<n;)u[t]=r(e[t],t,e);return u}var r8=Array.isArray,r6=1/0,r9=rG?rG.prototype:void 0,r7=r9?r9.toString:void 0;function te(e){if("string"==typeof e)return e;if(r8(e))return r5(e,te)+"";if(r2(e))return r7?r7.call(e):"";var r=e+"";return"0"==r&&1/e==-r6?"-0":r}function tr(e,r){return function(t,n){var u;if(void 0===t&&void 0===n)return r;if(void 0!==t&&(u=t),void 0!==n){if(void 0===u)return n;"string"==typeof t||"string"==typeof n?(t=te(t),n=te(n)):(t=r4(t),n=r4(n)),u=e(t,n)}return u}}var tt=tr(function(e,r){return e+r},0),tn=/\s/;function tu(e){for(var r=e.length;r--&&tn.test(e.charAt(r)););return r}var ta=/^\s+/;function ti(e){return e?e.slice(0,tu(e)+1).replace(ta,""):e}function to(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}var ts=0/0,td=/^[-+]0x[0-9a-f]+$/i,tc=/^0b[01]+$/i,tf=/^0o[0-7]+$/i,tl=parseInt;function tp(e){if("number"==typeof e)return e;if(r2(e))return ts;if(to(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=to(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=ti(e);var t=tc.test(e);return t||tf.test(e)?tl(e.slice(2),t?2:8):td.test(e)?ts:+e}var tg=1/0;function tm(e){return e?(e=tp(e))===tg||e===-tg?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function ty(e){var r=tm(e),t=r%1;return r==r?t?r-t:r:0}function th(e){return e}function tb(e){if(!to(e))return!1;var r=r0(e);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}var tv=rZ["__core-js_shared__"],tx=(l=/[^.]+$/.exec(tv&&tv.keys&&tv.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",tE=Function.prototype.toString;function tA(e){if(null!=e){try{return tE.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var tD=/^\[object .+?Constructor\]$/,tC=Object.prototype,tS=Function.prototype.toString,t_=tC.hasOwnProperty,tw=RegExp("^"+tS.call(t_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tF(e){return!!to(e)&&(!tx||!(tx in e))&&(tb(e)?tw:tD).test(tA(e))}function tT(e,r){var t=null==e?void 0:e[r];return tF(t)?t:void 0}var tk=tT(rZ,"WeakMap"),tP=tk&&new tk,tI=tP?function(e,r){return tP.set(e,r),e}:th,tj=Object.create,tB=function(){function e(){}return function(r){if(!to(r))return{};if(tj)return tj(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function tO(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var t=tB(e.prototype),n=e.apply(t,r);return to(n)?n:t}}function tR(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var tL=Math.max;function tN(e,r,t,n){for(var u=-1,a=e.length,i=t.length,o=-1,s=r.length,d=tL(a-i,0),c=Array(s+d),f=!n;++o<s;)c[o]=r[o];for(;++u<i;)(f||u<a)&&(c[t[u]]=e[u]);for(;d--;)c[o++]=e[u++];return c}var tM=Math.max;function t$(e,r,t,n){for(var u=-1,a=e.length,i=-1,o=t.length,s=-1,d=r.length,c=tM(a-o,0),f=Array(c+d),l=!n;++u<c;)f[u]=e[u];for(var p=u;++s<d;)f[p+s]=r[s];for(;++i<o;)(l||u<a)&&(f[p+t[i]]=e[u++]);return f}function tz(){}function tU(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function tW(){}tU.prototype=tB(tz.prototype),tU.prototype.constructor=tU;var tq=tP?function(e){return tP.get(e)}:tW,tV={},tZ=Object.prototype.hasOwnProperty;function tG(e){for(var r=e.name+"",t=tV[r],n=tZ.call(tV,r)?t.length:0;n--;){var u=t[n],a=u.func;if(null==a||a==e)return u.name}return r}function tH(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}function tK(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r}function tJ(e){if(e instanceof tU)return e.clone();var r=new tH(e.__wrapped__,e.__chain__);return r.__actions__=tK(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}tH.prototype=tB(tz.prototype),tH.prototype.constructor=tH;var tX=Object.prototype.hasOwnProperty;function tY(e){if(r1(e)&&!r8(e)&&!(e instanceof tU)){if(e instanceof tH)return e;if(tX.call(e,"__wrapped__"))return tJ(e)}return new tH(e)}function tQ(e){var r=tG(e),t=tY[r];if("function"!=typeof t||!(r in tU.prototype))return!1;if(e===t)return!0;var n=tq(t);return!!n&&e===n[0]}tY.prototype=tz.prototype,tY.prototype.constructor=tY;var t0=Date.now;function t1(e){var r=0,t=0;return function(){var n=t0(),u=16-(n-t);if(t=n,u>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var t2=t1(tI),t3=/\{\n\/\* \[wrapped with (.+)\] \*/,t4=/,? & /,t5=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function t8(e){return function(){return e}}var t6=function(){try{var e=tT(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),t9=t1(t6?function(e,r){return t6(e,"toString",{configurable:!0,enumerable:!1,value:t8(r),writable:!0})}:th);function t7(e,r){for(var t=-1,n=null==e?0:e.length;++t<n&&!1!==r(e[t],t,e););return e}function ne(e,r,t,n){for(var u=e.length,a=t+(n?1:-1);n?a--:++a<u;)if(r(e[a],a,e))return a;return -1}function nr(e){return e!=e}function nt(e,r,t){return r==r?function(e,r,t){for(var n=t-1,u=e.length;++n<u;)if(e[n]===r)return n;return -1}(e,r,t):ne(e,nr,t)}function nn(e,r){return!!(null==e?0:e.length)&&nt(e,r,0)>-1}var nu=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];function na(e,r,t){var n,u,a=r+"";return t9(e,function(e,r){var t=r.length;if(!t)return e;var n=t-1;return r[n]=(t>1?"& ":"")+r[n],r=r.join(t>2?", ":" "),e.replace(t5,"{\n/* [wrapped with "+r+"] */\n")}(a,(u=(n=a.match(t3))?n[1].split(t4):[],t7(nu,function(e){var r="_."+e[0];t&e[1]&&!nn(u,r)&&u.push(r)}),u.sort())))}function ni(e,r,t,n,u,a,i,o,s,d){var c=8&r;r|=c?32:64,4&(r&=~(c?64:32))||(r&=-4);var f=[e,r,u,c?a:void 0,c?i:void 0,c?void 0:a,c?void 0:i,o,s,d],l=t.apply(void 0,f);return tQ(e)&&t2(l,f),l.placeholder=n,na(l,e,r)}function no(e){return e.placeholder}var ns=/^(?:0|[1-9]\d*)$/;function nd(e,r){var t=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==t||"symbol"!=t&&ns.test(e))&&e>-1&&e%1==0&&e<r}var nc=Math.min,nf="__lodash_placeholder__";function nl(e,r){for(var t=-1,n=e.length,u=0,a=[];++t<n;){var i=e[t];(i===r||i===nf)&&(e[t]=nf,a[u++]=t)}return a}function np(e,r,t,n,u,a,i,o,s,d){var c=128&r,f=1&r,l=2&r,p=24&r,g=512&r,m=l?void 0:tO(e);return function y(){for(var h=arguments.length,b=Array(h),v=h;v--;)b[v]=arguments[v];if(p)var x=no(y),E=function(e,r){for(var t=e.length,n=0;t--;)e[t]===r&&++n;return n}(b,x);if(n&&(b=tN(b,n,u,p)),a&&(b=t$(b,a,i,p)),h-=E,p&&h<d){var A=nl(b,x);return ni(e,r,np,y.placeholder,t,b,A,o,s,d-h)}var D=f?t:this,C=l?D[e]:e;return h=b.length,o?b=function(e,r){for(var t=e.length,n=nc(r.length,t),u=tK(e);n--;){var a=r[n];e[n]=nd(a,t)?u[a]:void 0}return e}(b,o):g&&h>1&&b.reverse(),c&&s<h&&(b.length=s),this&&this!==rZ&&this instanceof y&&(C=m||tO(C)),C.apply(D,b)}}var ng="__lodash_placeholder__",nm=Math.min,ny=Math.max;function nh(e,r,t,n,u,a,i,o){var s=2&r;if(!s&&"function"!=typeof e)throw TypeError("Expected a function");var d=n?n.length:0;if(d||(r&=-97,n=u=void 0),i=void 0===i?i:ny(ty(i),0),o=void 0===o?o:ty(o),d-=u?u.length:0,64&r){var c=n,f=u;n=u=void 0}var l=s?void 0:tq(e),p=[e,r,t,n,u,c,f,a,i,o];if(l&&function(e,r){var t=e[1],n=r[1],u=t|n,a=u<131,i=128==n&&8==t||128==n&&256==t&&e[7].length<=r[8]||384==n&&r[7].length<=r[8]&&8==t;if(a||i){1&n&&(e[2]=r[2],u|=1&t?0:4);var o=r[3];if(o){var s=e[3];e[3]=s?tN(s,o,r[4]):o,e[4]=s?nl(e[3],ng):r[4]}(o=r[5])&&(s=e[5],e[5]=s?t$(s,o,r[6]):o,e[6]=s?nl(e[5],ng):r[6]),(o=r[7])&&(e[7]=o),128&n&&(e[8]=null==e[8]?r[8]:nm(e[8],r[8])),null==e[9]&&(e[9]=r[9]),e[0]=r[0],e[1]=u}}(p,l),e=p[0],r=p[1],t=p[2],n=p[3],u=p[4],(o=p[9]=void 0===p[9]?s?0:e.length:ny(p[9]-d,0))||!(24&r)||(r&=-25),r&&1!=r)8==r||16==r?(g=e,m=r,y=o,h=tO(g),T=function e(){for(var r=arguments.length,t=Array(r),n=r,u=no(e);n--;)t[n]=arguments[n];var a=r<3&&t[0]!==u&&t[r-1]!==u?[]:nl(t,u);return(r-=a.length)<y?ni(g,m,np,e.placeholder,void 0,t,a,void 0,void 0,y-r):tR(this&&this!==rZ&&this instanceof e?h:g,this,t)}):32!=r&&33!=r||u.length?T=np.apply(void 0,p):(b=e,v=r,x=t,E=n,A=1&v,D=tO(b),T=function e(){for(var r=-1,t=arguments.length,n=-1,u=E.length,a=Array(u+t),i=this&&this!==rZ&&this instanceof e?D:b;++n<u;)a[n]=E[n];for(;t--;)a[n++]=arguments[++r];return tR(i,A?x:this,a)});else var g,m,y,h,b,v,x,E,A,D,C,S,_,w,F,T=(C=e,S=r,_=t,w=1&S,F=tO(C),function e(){return(this&&this!==rZ&&this instanceof e?F:C).apply(w?_:this,arguments)});return na((l?tI:t2)(T,p),e,r)}function nb(e,r,t){return r=t?void 0:r,r=e&&null==r?e.length:r,nh(e,128,void 0,void 0,void 0,void 0,r)}function nv(e,r,t){"__proto__"==r&&t6?t6(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}function nx(e,r){return e===r||e!=e&&r!=r}var nE=Object.prototype.hasOwnProperty;function nA(e,r,t){var n=e[r];nE.call(e,r)&&nx(n,t)&&(void 0!==t||r in e)||nv(e,r,t)}function nD(e,r,t,n){var u=!t;t||(t={});for(var a=-1,i=r.length;++a<i;){var o=r[a],s=n?n(t[o],e[o],o,t,e):void 0;void 0===s&&(s=e[o]),u?nv(t,o,s):nA(t,o,s)}return t}var nC=Math.max;function nS(e,r,t){return r=nC(void 0===r?e.length-1:r,0),function(){for(var n=arguments,u=-1,a=nC(n.length-r,0),i=Array(a);++u<a;)i[u]=n[r+u];u=-1;for(var o=Array(r+1);++u<r;)o[u]=n[u];return o[r]=t(i),tR(e,this,o)}}function n_(e,r){return t9(nS(e,r,th),e+"")}function nw(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function nF(e){return null!=e&&nw(e.length)&&!tb(e)}function nT(e,r,t){if(!to(t))return!1;var n=typeof r;return("number"==n?!!(nF(t)&&nd(r,t.length)):"string"==n&&r in t)&&nx(t[r],e)}function nk(e){return n_(function(r,t){var n=-1,u=t.length,a=u>1?t[u-1]:void 0,i=u>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(u--,a):void 0,i&&nT(t[0],t[1],i)&&(a=u<3?void 0:a,u=1),r=Object(r);++n<u;){var o=t[n];o&&e(r,o,n,a)}return r})}var nP=Object.prototype;function nI(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||nP)}function nj(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}function nB(e){return r1(e)&&"[object Arguments]"==r0(e)}var nO=Object.prototype,nR=nO.hasOwnProperty,nL=nO.propertyIsEnumerable,nN=nB(function(){return arguments}())?nB:function(e){return r1(e)&&nR.call(e,"callee")&&!nL.call(e,"callee")};function nM(){return!1}var n$="object"==typeof exports&&exports&&!exports.nodeType&&exports,nz=n$&&"object"==typeof module&&module&&!module.nodeType&&module,nU=nz&&nz.exports===n$?rZ.Buffer:void 0,nW=(nU?nU.isBuffer:void 0)||nM,nq={};function nV(e){return function(r){return e(r)}}nq["[object Float32Array]"]=nq["[object Float64Array]"]=nq["[object Int8Array]"]=nq["[object Int16Array]"]=nq["[object Int32Array]"]=nq["[object Uint8Array]"]=nq["[object Uint8ClampedArray]"]=nq["[object Uint16Array]"]=nq["[object Uint32Array]"]=!0,nq["[object Arguments]"]=nq["[object Array]"]=nq["[object ArrayBuffer]"]=nq["[object Boolean]"]=nq["[object DataView]"]=nq["[object Date]"]=nq["[object Error]"]=nq["[object Function]"]=nq["[object Map]"]=nq["[object Number]"]=nq["[object Object]"]=nq["[object RegExp]"]=nq["[object Set]"]=nq["[object String]"]=nq["[object WeakMap]"]=!1;var nZ="object"==typeof exports&&exports&&!exports.nodeType&&exports,nG=nZ&&"object"==typeof module&&module&&!module.nodeType&&module,nH=nG&&nG.exports===nZ&&rq.process,nK=function(){try{var e=nG&&nG.require&&nG.require("util").types;if(e)return e;return nH&&nH.binding&&nH.binding("util")}catch(e){}}(),nJ=nK&&nK.isTypedArray,nX=nJ?nV(nJ):function(e){return r1(e)&&nw(e.length)&&!!nq[r0(e)]},nY=Object.prototype.hasOwnProperty;function nQ(e,r){var t=r8(e),n=!t&&nN(e),u=!t&&!n&&nW(e),a=!t&&!n&&!u&&nX(e),i=t||n||u||a,o=i?nj(e.length,String):[],s=o.length;for(var d in e)(r||nY.call(e,d))&&!(i&&("length"==d||u&&("offset"==d||"parent"==d)||a&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||nd(d,s)))&&o.push(d);return o}function n0(e,r){return function(t){return e(r(t))}}var n1=n0(Object.keys,Object),n2=Object.prototype.hasOwnProperty;function n3(e){if(!nI(e))return n1(e);var r=[];for(var t in Object(e))n2.call(e,t)&&"constructor"!=t&&r.push(t);return r}function n4(e){return nF(e)?nQ(e):n3(e)}var n5=Object.prototype.hasOwnProperty,n8=nk(function(e,r){if(nI(r)||nF(r)){nD(r,n4(r),e);return}for(var t in r)n5.call(r,t)&&nA(e,t,r[t])}),n6=Object.prototype.hasOwnProperty;function n9(e){return nF(e)?nQ(e,!0):function(e){if(!to(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=nI(e),t=[];for(var n in e)"constructor"==n&&(r||!n6.call(e,n))||t.push(n);return t}(e)}var n7=nk(function(e,r){nD(r,n9(r),e)}),ue=nk(function(e,r,t,n){nD(r,n9(r),e,n)}),ur=nk(function(e,r,t,n){nD(r,n4(r),e,n)}),ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,un=/^\w*$/;function uu(e,r){if(r8(e))return!1;var t=typeof e;return!!("number"==t||"symbol"==t||"boolean"==t||null==e||r2(e))||un.test(e)||!ut.test(e)||null!=r&&e in Object(r)}var ua=tT(Object,"create"),ui=Object.prototype.hasOwnProperty,uo=Object.prototype.hasOwnProperty;function us(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function ud(e,r){for(var t=e.length;t--;)if(nx(e[t][0],r))return t;return -1}us.prototype.clear=function(){this.__data__=ua?ua(null):{},this.size=0},us.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},us.prototype.get=function(e){var r=this.__data__;if(ua){var t=r[e];return"__lodash_hash_undefined__"===t?void 0:t}return ui.call(r,e)?r[e]:void 0},us.prototype.has=function(e){var r=this.__data__;return ua?void 0!==r[e]:uo.call(r,e)},us.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=ua&&void 0===r?"__lodash_hash_undefined__":r,this};var uc=Array.prototype.splice;function uf(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}uf.prototype.clear=function(){this.__data__=[],this.size=0},uf.prototype.delete=function(e){var r=this.__data__,t=ud(r,e);return!(t<0)&&(t==r.length-1?r.pop():uc.call(r,t,1),--this.size,!0)},uf.prototype.get=function(e){var r=this.__data__,t=ud(r,e);return t<0?void 0:r[t][1]},uf.prototype.has=function(e){return ud(this.__data__,e)>-1},uf.prototype.set=function(e,r){var t=this.__data__,n=ud(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this};var ul=tT(rZ,"Map");function up(e,r){var t,n=e.__data__;return("string"==(t=typeof r)||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==r:null===r)?n["string"==typeof r?"string":"hash"]:n.map}function ug(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function um(e,r){if("function"!=typeof e||null!=r&&"function"!=typeof r)throw TypeError("Expected a function");var t=function(){var n=arguments,u=r?r.apply(this,n):n[0],a=t.cache;if(a.has(u))return a.get(u);var i=e.apply(this,n);return t.cache=a.set(u,i)||a,i};return t.cache=new(um.Cache||ug),t}ug.prototype.clear=function(){this.size=0,this.__data__={hash:new us,map:new(ul||uf),string:new us}},ug.prototype.delete=function(e){var r=up(this,e).delete(e);return this.size-=r?1:0,r},ug.prototype.get=function(e){return up(this,e).get(e)},ug.prototype.has=function(e){return up(this,e).has(e)},ug.prototype.set=function(e,r){var t=up(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},um.Cache=ug;var uy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,uh=/\\(\\)?/g,ub=(g=(p=um(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(uy,function(e,t,n,u){r.push(n?u.replace(uh,"$1"):t||e)}),r},function(e){return 500===g.size&&g.clear(),e})).cache,p);function uv(e){return null==e?"":te(e)}function ux(e,r){return r8(e)?e:uu(e,r)?[e]:ub(uv(e))}var uE=1/0;function uA(e){if("string"==typeof e||r2(e))return e;var r=e+"";return"0"==r&&1/e==-uE?"-0":r}function uD(e,r){r=ux(r,e);for(var t=0,n=r.length;null!=e&&t<n;)e=e[uA(r[t++])];return t&&t==n?e:void 0}function uC(e,r,t){var n=null==e?void 0:uD(e,r);return void 0===n?t:n}function uS(e,r){for(var t=-1,n=r.length,u=Array(n),a=null==e;++t<n;)u[t]=a?void 0:uC(e,r[t]);return u}function u_(e,r){for(var t=-1,n=r.length,u=e.length;++t<n;)e[u+t]=r[t];return e}var uw=rG?rG.isConcatSpreadable:void 0;function uF(e){return r8(e)||nN(e)||!!(uw&&e&&e[uw])}function uT(e,r,t,n,u){var a=-1,i=e.length;for(t||(t=uF),u||(u=[]);++a<i;){var o=e[a];r>0&&t(o)?r>1?uT(o,r-1,t,n,u):u_(u,o):n||(u[u.length]=o)}return u}function uk(e){return(null==e?0:e.length)?uT(e,1):[]}function uP(e){return t9(nS(e,void 0,uk),e+"")}var uI=uP(uS),uj=n0(Object.getPrototypeOf,Object),uB=Object.prototype,uO=Function.prototype.toString,uR=uB.hasOwnProperty,uL=uO.call(Object);function uN(e){if(!r1(e)||"[object Object]"!=r0(e))return!1;var r=uj(e);if(null===r)return!0;var t=uR.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&uO.call(t)==uL}function uM(e){if(!r1(e))return!1;var r=r0(e);return"[object Error]"==r||"[object DOMException]"==r||"string"==typeof e.message&&"string"==typeof e.name&&!uN(e)}var u$=n_(function(e,r){try{return tR(e,void 0,r)}catch(e){return uM(e)?e:Error(e)}});function uz(e,r){var t;if("function"!=typeof r)throw TypeError("Expected a function");return e=ty(e),function(){return--e>0&&(t=r.apply(this,arguments)),e<=1&&(r=void 0),t}}var uU=n_(function(e,r,t){var n=1;if(t.length){var u=nl(t,no(uU));n|=32}return nh(e,n,r,t,u)});uU.placeholder={};var uW=uP(function(e,r){return t7(r,function(r){nv(e,r=uA(r),uU(e[r],e))}),e}),uq=n_(function(e,r,t){var n=3;if(t.length){var u=nl(t,no(uq));n|=32}return nh(r,n,e,t,u)});function uV(e,r,t){var n=-1,u=e.length;r<0&&(r=-r>u?0:u+r),(t=t>u?u:t)<0&&(t+=u),u=r>t?0:t-r>>>0,r>>>=0;for(var a=Array(u);++n<u;)a[n]=e[n+r];return a}function uZ(e,r,t){var n=e.length;return t=void 0===t?n:t,!r&&t>=n?e:uV(e,r,t)}uq.placeholder={};var uG=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function uH(e){return uG.test(e)}var uK="\ud800-\udfff",uJ="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",uX="\ud83c[\udffb-\udfff]",uY="[^"+uK+"]",uQ="(?:\ud83c[\udde6-\uddff]){2}",u0="[\ud800-\udbff][\udc00-\udfff]",u1="(?:"+uJ+"|"+uX+")?",u2="[\\ufe0e\\ufe0f]?",u3="(?:\\u200d(?:"+[uY,uQ,u0].join("|")+")"+u2+u1+")*",u4=RegExp(uX+"(?="+uX+")|(?:"+[uY+uJ+"?",uJ,uQ,u0,"["+uK+"]"].join("|")+")"+(u2+u1+u3),"g");function u5(e){return uH(e)?e.match(u4)||[]:e.split("")}function u8(e){return function(r){var t=uH(r=uv(r))?u5(r):void 0,n=t?t[0]:r.charAt(0),u=t?uZ(t,1).join(""):r.slice(1);return n[e]()+u}}var u6=u8("toUpperCase");function u9(e){return u6(uv(e).toLowerCase())}function u7(e,r,t,n){var u=-1,a=null==e?0:e.length;for(n&&a&&(t=e[++u]);++u<a;)t=r(t,e[u],u,e);return t}function ae(e){return function(r){return null==e?void 0:e[r]}}var ar=ae({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),at=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,an=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function au(e){return(e=uv(e))&&e.replace(at,ar).replace(an,"")}var aa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ai=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ao="\ud800-\udfff",as="\\u2700-\\u27bf",ad="a-z\\xdf-\\xf6\\xf8-\\xff",ac="A-Z\\xc0-\\xd6\\xd8-\\xde",af="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",al="['’]",ap="["+af+"]",ag="["+ad+"]",am="[^"+ao+af+"\\d+"+as+ad+ac+"]",ay="(?:\ud83c[\udde6-\uddff]){2}",ah="[\ud800-\udbff][\udc00-\udfff]",ab="["+ac+"]",av="(?:"+ag+"|"+am+")",ax="(?:"+al+"(?:d|ll|m|re|s|t|ve))?",aE="(?:"+al+"(?:D|LL|M|RE|S|T|VE))?",aA="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",aD="[\\ufe0e\\ufe0f]?",aC="(?:\\u200d(?:"+["[^"+ao+"]",ay,ah].join("|")+")"+aD+aA+")*",aS="(?:"+["["+as+"]",ay,ah].join("|")+")"+(aD+aA+aC),a_=RegExp([ab+"?"+ag+"+"+ax+"(?="+[ap,ab,"$"].join("|")+")","(?:"+ab+"|"+am+")+"+aE+"(?="+[ap,ab+av,"$"].join("|")+")",ab+"?"+av+"+"+ax,ab+"+"+aE,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",aS].join("|"),"g");function aw(e,r,t){if(e=uv(e),void 0===(r=t?void 0:r)){var n;return(n=e,ai.test(n))?e.match(a_)||[]:e.match(aa)||[]}return e.match(r)||[]}var aF=RegExp("['’]","g");function aT(e){return function(r){return u7(aw(au(r).replace(aF,"")),e,"")}}var ak=aT(function(e,r,t){return r=r.toLowerCase(),e+(t?u9(r):r)}),aP=rZ.isFinite,aI=Math.min;function aj(e){var r=Math[e];return function(e,t){if(e=tp(e),(t=null==t?0:aI(ty(t),292))&&aP(e)){var n=(uv(e)+"e").split("e");return+((n=(uv(r(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))}return r(e)}}var aB=aj("ceil");function aO(e){var r=tY(e);return r.__chain__=!0,r}var aR=Math.ceil,aL=Math.max;function aN(e,r,t){return e==e&&(void 0!==t&&(e=e<=t?e:t),void 0!==r&&(e=e>=r?e:r)),e}function aM(e){var r=this.__data__=new uf(e);this.size=r.size}function a$(e,r){return e&&nD(r,n4(r),e)}aM.prototype.clear=function(){this.__data__=new uf,this.size=0},aM.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},aM.prototype.get=function(e){return this.__data__.get(e)},aM.prototype.has=function(e){return this.__data__.has(e)},aM.prototype.set=function(e,r){var t=this.__data__;if(t instanceof uf){var n=t.__data__;if(!ul||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new ug(n)}return t.set(e,r),this.size=t.size,this};var az="object"==typeof exports&&exports&&!exports.nodeType&&exports,aU=az&&"object"==typeof module&&module&&!module.nodeType&&module,aW=aU&&aU.exports===az?rZ.Buffer:void 0,aq=aW?aW.allocUnsafe:void 0;function aV(e,r){if(r)return e.slice();var t=e.length,n=aq?aq(t):new e.constructor(t);return e.copy(n),n}function aZ(e,r){for(var t=-1,n=null==e?0:e.length,u=0,a=[];++t<n;){var i=e[t];r(i,t,e)&&(a[u++]=i)}return a}function aG(){return[]}var aH=Object.prototype.propertyIsEnumerable,aK=Object.getOwnPropertySymbols,aJ=aK?function(e){return null==e?[]:aZ(aK(e=Object(e)),function(r){return aH.call(e,r)})}:aG,aX=Object.getOwnPropertySymbols?function(e){for(var r=[];e;)u_(r,aJ(e)),e=uj(e);return r}:aG;function aY(e,r,t){var n=r(e);return r8(e)?n:u_(n,t(e))}function aQ(e){return aY(e,n4,aJ)}function a0(e){return aY(e,n9,aX)}var a1=tT(rZ,"DataView"),a2=tT(rZ,"Promise"),a3=tT(rZ,"Set"),a4="[object Map]",a5="[object Promise]",a8="[object Set]",a6="[object WeakMap]",a9="[object DataView]",a7=tA(a1),ie=tA(ul),ir=tA(a2),it=tA(a3),iu=tA(tk),ia=r0;(a1&&ia(new a1(new ArrayBuffer(1)))!=a9||ul&&ia(new ul)!=a4||a2&&ia(a2.resolve())!=a5||a3&&ia(new a3)!=a8||tk&&ia(new tk)!=a6)&&(ia=function(e){var r=r0(e),t="[object Object]"==r?e.constructor:void 0,n=t?tA(t):"";if(n)switch(n){case a7:return a9;case ie:return a4;case ir:return a5;case it:return a8;case iu:return a6}return r});var ii=ia,io=Object.prototype.hasOwnProperty,is=rZ.Uint8Array;function id(e){var r=new e.constructor(e.byteLength);return new is(r).set(new is(e)),r}var ic=/\w*$/,il=rG?rG.prototype:void 0,ip=il?il.valueOf:void 0;function ig(e,r){var t=r?id(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function im(e){return"function"!=typeof e.constructor||nI(e)?{}:tB(uj(e))}var iy=nK&&nK.isMap,ih=iy?nV(iy):function(e){return r1(e)&&"[object Map]"==ii(e)},ib=nK&&nK.isSet,iv=ib?nV(ib):function(e){return r1(e)&&"[object Set]"==ii(e)},ix="[object Arguments]",iE="[object Function]",iA="[object Object]",iD={};function iC(e,r,t,n,u,a){var i,o=1&r,s=2&r,d=4&r;if(t&&(i=u?t(e,n,u,a):t(e)),void 0!==i)return i;if(!to(e))return e;var c=r8(e);if(c){if(f=e.length,l=new e.constructor(f),f&&"string"==typeof e[0]&&io.call(e,"index")&&(l.index=e.index,l.input=e.input),i=l,!o)return tK(e,i)}else{var f,l,p,g,m,y=ii(e),h=y==iE||"[object GeneratorFunction]"==y;if(nW(e))return aV(e,o);if(y==iA||y==ix||h&&!u){if(i=s||h?{}:im(e),!o)return s?(g=(p=i)&&nD(e,n9(e),p),nD(e,aX(e),g)):(m=a$(i,e),nD(e,aJ(e),m))}else{if(!iD[y])return u?e:{};i=function(e,r,t){var n,u,a=e.constructor;switch(r){case"[object ArrayBuffer]":return id(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return n=t?id(e.buffer):e.buffer,new e.constructor(n,e.byteOffset,e.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ig(e,t);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(u=new e.constructor(e.source,ic.exec(e))).lastIndex=e.lastIndex,u;case"[object Symbol]":return ip?Object(ip.call(e)):{}}}(e,y,o)}}a||(a=new aM);var b=a.get(e);if(b)return b;a.set(e,i),iv(e)?e.forEach(function(n){i.add(iC(n,r,t,n,e,a))}):ih(e)&&e.forEach(function(n,u){i.set(u,iC(n,r,t,u,e,a))});var v=d?s?a0:aQ:s?n9:n4,x=c?void 0:v(e);return t7(x||e,function(n,u){x&&(n=e[u=n]),nA(i,u,iC(n,r,t,u,e,a))}),i}function iS(){return new tH(this.value(),this.__chain__)}function i_(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new ug;++r<t;)this.add(e[r])}function iw(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(r(e[t],t,e))return!0;return!1}function iF(e,r){return e.has(r)}function iT(e,r,t,n,u,a){var i=1&t,o=e.length,s=r.length;if(o!=s&&!(i&&s>o))return!1;var d=a.get(e),c=a.get(r);if(d&&c)return d==r&&c==e;var f=-1,l=!0,p=2&t?new i_:void 0;for(a.set(e,r),a.set(r,e);++f<o;){var g=e[f],m=r[f];if(n)var y=i?n(m,g,f,r,e,a):n(g,m,f,e,r,a);if(void 0!==y){if(y)continue;l=!1;break}if(p){if(!iw(r,function(e,r){if(!iF(p,r)&&(g===e||u(g,e,t,n,a)))return p.push(r)})){l=!1;break}}else if(!(g===m||u(g,m,t,n,a))){l=!1;break}}return a.delete(e),a.delete(r),l}function ik(e){var r=-1,t=Array(e.size);return e.forEach(function(e,n){t[++r]=[n,e]}),t}function iP(e){var r=-1,t=Array(e.size);return e.forEach(function(e){t[++r]=e}),t}iD[ix]=iD["[object Array]"]=iD["[object ArrayBuffer]"]=iD["[object DataView]"]=iD["[object Boolean]"]=iD["[object Date]"]=iD["[object Float32Array]"]=iD["[object Float64Array]"]=iD["[object Int8Array]"]=iD["[object Int16Array]"]=iD["[object Int32Array]"]=iD["[object Map]"]=iD["[object Number]"]=iD[iA]=iD["[object RegExp]"]=iD["[object Set]"]=iD["[object String]"]=iD["[object Symbol]"]=iD["[object Uint8Array]"]=iD["[object Uint8ClampedArray]"]=iD["[object Uint16Array]"]=iD["[object Uint32Array]"]=!0,iD["[object Error]"]=iD[iE]=iD["[object WeakMap]"]=!1,i_.prototype.add=i_.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},i_.prototype.has=function(e){return this.__data__.has(e)};var iI=rG?rG.prototype:void 0,ij=iI?iI.valueOf:void 0,iB=Object.prototype.hasOwnProperty,iO="[object Arguments]",iR="[object Array]",iL="[object Object]",iN=Object.prototype.hasOwnProperty;function iM(e,r,t,n,u){return e===r||(null!=e&&null!=r&&(r1(e)||r1(r))?function(e,r,t,n,u,a){var i=r8(e),o=r8(r),s=i?iR:ii(e),d=o?iR:ii(r);s=s==iO?iL:s,d=d==iO?iL:d;var c=s==iL,f=d==iL,l=s==d;if(l&&nW(e)){if(!nW(r))return!1;i=!0,c=!1}if(l&&!c)return a||(a=new aM),i||nX(e)?iT(e,r,t,n,u,a):function(e,r,t,n,u,a,i){switch(t){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)break;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":if(e.byteLength!=r.byteLength||!a(new is(e),new is(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return nx(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var o=ik;case"[object Set]":var s=1&n;if(o||(o=iP),e.size!=r.size&&!s)break;var d=i.get(e);if(d)return d==r;n|=2,i.set(e,r);var c=iT(o(e),o(r),n,u,a,i);return i.delete(e),c;case"[object Symbol]":if(ij)return ij.call(e)==ij.call(r)}return!1}(e,r,s,t,n,u,a);if(!(1&t)){var p=c&&iN.call(e,"__wrapped__"),g=f&&iN.call(r,"__wrapped__");if(p||g){var m=p?e.value():e,y=g?r.value():r;return a||(a=new aM),u(m,y,t,n,a)}}return!!l&&(a||(a=new aM),function(e,r,t,n,u,a){var i=1&t,o=aQ(e),s=o.length;if(s!=aQ(r).length&&!i)return!1;for(var d=s;d--;){var c=o[d];if(!(i?c in r:iB.call(r,c)))return!1}var f=a.get(e),l=a.get(r);if(f&&l)return f==r&&l==e;var p=!0;a.set(e,r),a.set(r,e);for(var g=i;++d<s;){var m=e[c=o[d]],y=r[c];if(n)var h=i?n(y,m,c,r,e,a):n(m,y,c,e,r,a);if(!(void 0===h?m===y||u(m,y,t,n,a):h)){p=!1;break}g||(g="constructor"==c)}if(p&&!g){var b=e.constructor,v=r.constructor;b!=v&&"constructor"in e&&"constructor"in r&&!("function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v)&&(p=!1)}return a.delete(e),a.delete(r),p}(e,r,t,n,u,a))}(e,r,t,n,iM,u):e!=e&&r!=r)}function i$(e,r,t,n){var u=t.length,a=u,i=!n;if(null==e)return!a;for(e=Object(e);u--;){var o=t[u];if(i&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++u<a;){var s=(o=t[u])[0],d=e[s],c=o[1];if(i&&o[2]){if(void 0===d&&!(s in e))return!1}else{var f=new aM;if(n)var l=n(d,c,s,e,r,f);if(!(void 0===l?iM(c,d,3,n,f):l))return!1}}return!0}function iz(e){for(var r=n4(e),t=r.length;t--;){var n=r[t],u=e[n];r[t]=[n,u,u==u&&!to(u)]}return r}function iU(e,r){return function(t){return null!=t&&t[e]===r&&(void 0!==r||e in Object(t))}}function iW(e){var r=iz(e);return 1==r.length&&r[0][2]?iU(r[0][0],r[0][1]):function(t){return t===e||i$(t,e,r)}}function iq(e,r){return null!=e&&r in Object(e)}function iV(e,r,t){r=ux(r,e);for(var n=-1,u=r.length,a=!1;++n<u;){var i=uA(r[n]);if(!(a=null!=e&&t(e,i)))break;e=e[i]}return a||++n!=u?a:!!(u=null==e?0:e.length)&&nw(u)&&nd(i,u)&&(r8(e)||nN(e))}function iZ(e,r){return null!=e&&iV(e,r,iq)}function iG(e,r){var t;return uu(e)&&(t=r)==t&&!to(t)?iU(uA(e),r):function(t){var n=uC(t,e);return void 0===n&&n===r?iZ(t,e):iM(r,n,3)}}function iH(e){return function(r){return null==r?void 0:r[e]}}function iK(e){return uu(e)?iH(uA(e)):function(r){return uD(r,e)}}function iJ(e){return"function"==typeof e?e:null==e?th:"object"==typeof e?r8(e)?iG(e[0],e[1]):iW(e):iK(e)}function iX(e,r,t){var n=t.length;if(null==e)return!n;for(e=Object(e);n--;){var u=t[n],a=r[u],i=e[u];if(void 0===i&&!(u in e)||!a(i))return!1}return!0}function iY(e,r,t,n){for(var u=-1,a=null==e?0:e.length;++u<a;){var i=e[u];r(n,i,t(i),e)}return n}function iQ(e){return function(r,t,n){for(var u=-1,a=Object(r),i=n(r),o=i.length;o--;){var s=i[e?o:++u];if(!1===t(a[s],s,a))break}return r}}var i0=iQ();function i1(e,r){return e&&i0(e,r,n4)}function i2(e,r){return function(t,n){if(null==t)return t;if(!nF(t))return e(t,n);for(var u=t.length,a=r?u:-1,i=Object(t);(r?a--:++a<u)&&!1!==n(i[a],a,i););return t}}var i3=i2(i1);function i4(e,r,t,n){return i3(e,function(e,u,a){r(n,e,t(e),a)}),n}function i5(e,r){return function(t,n){var u=r8(t)?iY:i4,a=r?r():{};return u(t,e,iJ(n),a)}}var i8=Object.prototype.hasOwnProperty,i6=i5(function(e,r,t){i8.call(e,t)?++e[t]:nv(e,t,1)});function i9(e,r,t){var n=nh(e,8,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return n.placeholder=i9.placeholder,n}function i7(e,r,t){var n=nh(e,16,void 0,void 0,void 0,void 0,void 0,r=t?void 0:r);return n.placeholder=i7.placeholder,n}i9.placeholder={},i7.placeholder={};var oe=function(){return rZ.Date.now()},or=Math.max,ot=Math.min;function on(e,r,t){var n,u,a,i,o,s,d=0,c=!1,f=!1,l=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(r){var t=n,a=u;return n=u=void 0,d=r,i=e.apply(a,t)}function g(e){var t=e-s,n=e-d;return void 0===s||t>=r||t<0||f&&n>=a}function m(){var e,t,n,u=oe();if(g(u))return y(u);o=setTimeout(m,(e=u-s,t=u-d,n=r-e,f?ot(n,a-t):n))}function y(e){return(o=void 0,l&&n)?p(e):(n=u=void 0,i)}function h(){var e,t=oe(),a=g(t);if(n=arguments,u=this,s=t,a){if(void 0===o)return d=e=s,o=setTimeout(m,r),c?p(e):i;if(f)return clearTimeout(o),o=setTimeout(m,r),p(s)}return void 0===o&&(o=setTimeout(m,r)),i}return r=tp(r)||0,to(t)&&(c=!!t.leading,a=(f="maxWait"in t)?or(tp(t.maxWait)||0,r):a,l="trailing"in t?!!t.trailing:l),h.cancel=function(){void 0!==o&&clearTimeout(o),d=0,n=s=u=o=void 0},h.flush=function(){return void 0===o?i:y(oe())},h}var ou=Object.prototype,oa=ou.hasOwnProperty,oi=n_(function(e,r){e=Object(e);var t=-1,n=r.length,u=n>2?r[2]:void 0;for(u&&nT(r[0],r[1],u)&&(n=1);++t<n;)for(var a=r[t],i=n9(a),o=-1,s=i.length;++o<s;){var d=i[o],c=e[d];(void 0===c||nx(c,ou[d])&&!oa.call(e,d))&&(e[d]=a[d])}return e});function oo(e,r,t){(void 0===t||nx(e[r],t))&&(void 0!==t||r in e)||nv(e,r,t)}function os(e){return r1(e)&&nF(e)}function od(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}function oc(e){return nD(e,n9(e))}function of(e,r,t,n,u){e!==r&&i0(r,function(a,i){if(u||(u=new aM),to(a))!function(e,r,t,n,u,a,i){var o=od(e,t),s=od(r,t),d=i.get(s);if(d){oo(e,t,d);return}var c=a?a(o,s,t+"",e,r,i):void 0,f=void 0===c;if(f){var l=r8(s),p=!l&&nW(s),g=!l&&!p&&nX(s);c=s,l||p||g?r8(o)?c=o:os(o)?c=tK(o):p?(f=!1,c=aV(s,!0)):g?(f=!1,c=ig(s,!0)):c=[]:uN(s)||nN(s)?(c=o,nN(o)?c=oc(o):(!to(o)||tb(o))&&(c=im(s))):f=!1}f&&(i.set(s,c),u(c,s,n,a,i),i.delete(s)),oo(e,t,c)}(e,r,i,t,of,n,u);else{var o=n?n(od(e,i),a,i+"",e,r,u):void 0;void 0===o&&(o=a),oo(e,i,o)}},n9)}function ol(e,r,t,n,u,a){return to(e)&&to(r)&&(a.set(r,e),of(e,r,void 0,ol,a),a.delete(r)),e}var op=nk(function(e,r,t,n){of(e,r,t,n)}),og=n_(function(e){return e.push(void 0,ol),tR(op,void 0,e)});function om(e,r,t){if("function"!=typeof e)throw TypeError("Expected a function");return setTimeout(function(){e.apply(void 0,t)},r)}var oy=n_(function(e,r){return om(e,1,r)}),oh=n_(function(e,r,t){return om(e,tp(r)||0,t)});function ob(e,r,t){for(var n=-1,u=null==e?0:e.length;++n<u;)if(t(r,e[n]))return!0;return!1}function ov(e,r,t,n){var u=-1,a=nn,i=!0,o=e.length,s=[],d=r.length;if(!o)return s;t&&(r=r5(r,nV(t))),n?(a=ob,i=!1):r.length>=200&&(a=iF,i=!1,r=new i_(r));e:for(;++u<o;){var c=e[u],f=null==t?c:t(c);if(c=n||0!==c?c:0,i&&f==f){for(var l=d;l--;)if(r[l]===f)continue e;s.push(c)}else a(r,f,n)||s.push(c)}return s}var ox=n_(function(e,r){return os(e)?ov(e,uT(r,1,os,!0)):[]});function oE(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}var oA=n_(function(e,r){var t=oE(r);return os(t)&&(t=void 0),os(e)?ov(e,uT(r,1,os,!0),iJ(t)):[]}),oD=n_(function(e,r){var t=oE(r);return os(t)&&(t=void 0),os(e)?ov(e,uT(r,1,os,!0),void 0,t):[]}),oC=tr(function(e,r){return e/r},1);function oS(e,r,t,n){for(var u=e.length,a=n?u:-1;(n?a--:++a<u)&&r(e[a],a,e););return t?uV(e,n?0:a,n?a+1:u):uV(e,n?a+1:0,n?u:a)}function o_(e){return"function"==typeof e?e:th}function ow(e,r){return(r8(e)?t7:i3)(e,o_(r))}var oF=iQ(!0);function oT(e,r){return e&&oF(e,r,n4)}var ok=i2(oT,!0);function oP(e,r){return(r8(e)?function(e,r){for(var t=null==e?0:e.length;t--&&!1!==r(e[t],t,e););return e}:ok)(e,o_(r))}function oI(e){return function(r){var t,n,u=ii(r);return"[object Map]"==u?ik(r):"[object Set]"==u?(t=-1,n=Array(r.size),r.forEach(function(e){n[++t]=[e,e]}),n):r5(e(r),function(e){return[e,r[e]]})}}var oj=oI(n4),oB=oI(n9),oO=ae({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),oR=/[&<>"']/g,oL=RegExp(oR.source);function oN(e){return(e=uv(e))&&oL.test(e)?e.replace(oR,oO):e}var oM=/[\\^$.*+?()[\]{}|]/g,o$=RegExp(oM.source);function oz(e,r){for(var t=-1,n=null==e?0:e.length;++t<n;)if(!r(e[t],t,e))return!1;return!0}function oU(e,r){var t=!0;return i3(e,function(e,n,u){return t=!!r(e,n,u)}),t}function oW(e){return e?aN(ty(e),0,4294967295):0}function oq(e,r){var t=[];return i3(e,function(e,n,u){r(e,n,u)&&t.push(e)}),t}function oV(e){return function(r,t,n){var u=Object(r);if(!nF(r)){var a=iJ(t);r=n4(r),t=function(e){return a(u[e],e,u)}}var i=e(r,t,n);return i>-1?u[a?r[i]:i]:void 0}}var oZ=Math.max;function oG(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=null==t?0:ty(t);return u<0&&(u=oZ(n+u,0)),ne(e,iJ(r),u)}var oH=oV(oG);function oK(e,r,t){var n;return t(e,function(e,t,u){if(r(e,t,u))return n=t,!1}),n}var oJ=Math.max,oX=Math.min;function oY(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=n-1;return void 0!==t&&(u=ty(t),u=t<0?oJ(n+u,0):oX(u,n-1)),ne(e,iJ(r),u,!0)}var oQ=oV(oY);function o0(e){return e&&e.length?e[0]:void 0}function o1(e,r){var t=-1,n=nF(e)?Array(e.length):[];return i3(e,function(e,u,a){n[++t]=r(e,u,a)}),n}function o2(e,r){return(r8(e)?r5:o1)(e,iJ(r))}var o3=1/0,o4=1/0,o5=aj("floor");function o8(e){return uP(function(r){var t=r.length,n=t,u=tH.prototype.thru;for(e&&r.reverse();n--;){var a=r[n];if("function"!=typeof a)throw TypeError("Expected a function");if(u&&!i&&"wrapper"==tG(a))var i=new tH([],!0)}for(n=i?n:t;++n<t;){var o=tG(a=r[n]),s="wrapper"==o?tq(a):void 0;i=s&&tQ(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?i[tG(s[0])].apply(i,s[3]):1==a.length&&tQ(a)?i[o]():i.thru(a)}return function(){var e=arguments,n=e[0];if(i&&1==e.length&&r8(n))return i.plant(n).value();for(var u=0,a=t?r[u].apply(this,e):n;++u<t;)a=r[u].call(this,a);return a}})}var o6=o8(),o9=o8(!0);function o7(e,r){return aZ(r,function(r){return tb(e[r])})}var se=Object.prototype.hasOwnProperty,sr=i5(function(e,r,t){se.call(e,t)?e[t].push(r):nv(e,t,[r])});function st(e,r){return e>r}function sn(e){return function(r,t){return"string"==typeof r&&"string"==typeof t||(r=tp(r),t=tp(t)),e(r,t)}}var su=sn(st),sa=sn(function(e,r){return e>=r}),si=Object.prototype.hasOwnProperty;function so(e,r){return null!=e&&si.call(e,r)}var ss=Math.max,sd=Math.min;function sc(e){return"string"==typeof e||!r8(e)&&r1(e)&&"[object String]"==r0(e)}function sf(e,r){return r5(r,function(r){return e[r]})}function sl(e){return null==e?[]:sf(e,n4(e))}var sp=Math.max,sg=Math.max,sm=Math.min;function sy(e,r,t){for(var n=t?ob:nn,u=e[0].length,a=e.length,i=a,o=Array(a),s=1/0,d=[];i--;){var c=e[i];i&&r&&(c=r5(c,nV(r))),s=sm(c.length,s),o[i]=!t&&(r||u>=120&&c.length>=120)?new i_(i&&c):void 0}c=e[0];var f=-1,l=o[0];e:for(;++f<u&&d.length<s;){var p=c[f],g=r?r(p):p;if(p=t||0!==p?p:0,!(l?iF(l,g):n(d,g,t))){for(i=a;--i;){var m=o[i];if(!(m?iF(m,g):n(e[i],g,t)))continue e}l&&l.push(g),d.push(p)}}return d}function sh(e){return os(e)?e:[]}var sb=n_(function(e){var r=r5(e,sh);return r.length&&r[0]===e[0]?sy(r):[]}),sv=n_(function(e){var r=oE(e),t=r5(e,sh);return r===oE(t)?r=void 0:t.pop(),t.length&&t[0]===e[0]?sy(t,iJ(r)):[]}),sx=n_(function(e){var r=oE(e),t=r5(e,sh);return(r="function"==typeof r?r:void 0)&&t.pop(),t.length&&t[0]===e[0]?sy(t,void 0,r):[]});function sE(e,r){return function(t,n){var u,a;return u=r(n),a={},i1(t,function(r,t,n){e(a,u(r),t,n)}),a}}var sA=Object.prototype.toString,sD=sE(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=sA.call(r)),e[r]=t},t8(th)),sC=Object.prototype,sS=sC.hasOwnProperty,s_=sC.toString,sw=sE(function(e,r,t){null!=r&&"function"!=typeof r.toString&&(r=s_.call(r)),sS.call(e,r)?e[r].push(t):e[r]=[t]},iJ);function sF(e,r){return r.length<2?e:uD(e,uV(r,0,-1))}function sT(e,r,t){r=ux(r,e);var n=null==(e=sF(e,r))?e:e[uA(oE(r))];return null==n?void 0:tR(n,e,t)}var sk=n_(sT),sP=n_(function(e,r,t){var n=-1,u="function"==typeof r,a=nF(e)?Array(e.length):[];return i3(e,function(e){a[++n]=u?tR(r,e,t):sT(e,r,t)}),a}),sI=nK&&nK.isArrayBuffer,sj=sI?nV(sI):function(e){return r1(e)&&"[object ArrayBuffer]"==r0(e)},sB=nK&&nK.isDate,sO=sB?nV(sB):function(e){return r1(e)&&"[object Date]"==r0(e)},sR=Object.prototype.hasOwnProperty,sL=rZ.isFinite;function sN(e){return"number"==typeof e&&e==ty(e)}function sM(e){return"number"==typeof e||r1(e)&&"[object Number]"==r0(e)}var s$=tv?tb:nM,sz=nK&&nK.isRegExp,sU=sz?nV(sz):function(e){return r1(e)&&"[object RegExp]"==r0(e)},sW=Array.prototype.join,sq=aT(function(e,r,t){return e+(t?"-":"")+r.toLowerCase()}),sV=i5(function(e,r,t){nv(e,t,r)}),sZ=Math.max,sG=Math.min,sH=aT(function(e,r,t){return e+(t?" ":"")+r.toLowerCase()}),sK=u8("toLowerCase");function sJ(e,r){return e<r}var sX=sn(sJ),sY=sn(function(e,r){return e<=r});function sQ(e,r,t){for(var n=-1,u=e.length;++n<u;){var a=e[n],i=r(a);if(null!=i&&(void 0===o?i==i&&!r2(i):t(i,o)))var o=i,s=a}return s}function s0(e,r){for(var t,n=-1,u=e.length;++n<u;){var a=r(e[n]);void 0!==a&&(t=void 0===t?a:t+a)}return t}var s1=0/0;function s2(e,r){var t=null==e?0:e.length;return t?s0(e,r)/t:s1}var s3=nk(function(e,r,t){of(e,r,t)}),s4=n_(function(e,r){return function(t){return sT(t,e,r)}}),s5=n_(function(e,r){return function(t){return sT(e,t,r)}}),s8=tr(function(e,r){return e*r},1);function s6(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}var s9=rG?rG.iterator:void 0;function s7(e){if(!e)return[];if(nF(e))return sc(e)?u5(e):tK(e);if(s9&&e[s9])return function(e){for(var r,t=[];!(r=e.next()).done;)t.push(r.value);return t}(e[s9]());var r=ii(e);return("[object Map]"==r?ik:"[object Set]"==r?iP:sl)(e)}function de(){void 0===this.__values__&&(this.__values__=s7(this.value()));var e=this.__index__>=this.__values__.length,r=e?void 0:this.__values__[this.__index__++];return{done:e,value:r}}function dr(e,r){var t=e.length;if(t)return nd(r+=r<0?t:0,t)?e[r]:void 0}function dt(e,r){return r=ux(r,e),null==(e=sF(e,r))||delete e[uA(oE(r))]}function dn(e){return uN(e)?void 0:e}var du=uP(function(e,r){var t={};if(null==e)return t;var n=!1;r=r5(r,function(r){return r=ux(r,e),n||(n=r.length>1),r}),nD(e,a0(e),t),n&&(t=iC(t,7,dn));for(var u=r.length;u--;)dt(t,r[u]);return t});function da(e,r,t,n){if(!to(e))return e;r=ux(r,e);for(var u=-1,a=r.length,i=a-1,o=e;null!=o&&++u<a;){var s=uA(r[u]),d=t;if("__proto__"===s||"constructor"===s||"prototype"===s)break;if(u!=i){var c=o[s];void 0===(d=n?n(c,s,o):void 0)&&(d=to(c)?c:nd(r[u+1])?[]:{})}nA(o,s,d),o=o[s]}return e}function di(e,r,t){for(var n=-1,u=r.length,a={};++n<u;){var i=r[n],o=uD(e,i);t(o,i)&&da(a,ux(i,e),o)}return a}function ds(e,r){if(null==e)return{};var t=r5(a0(e),function(e){return[e]});return r=iJ(r),di(e,t,function(e,t){return r(e,t[0])})}function dd(e,r){if(e!==r){var t=void 0!==e,n=null===e,u=e==e,a=r2(e),i=void 0!==r,o=null===r,s=r==r,d=r2(r);if(!o&&!d&&!a&&e>r||a&&i&&s&&!o&&!d||n&&i&&s||!t&&s||!u)return 1;if(!n&&!a&&!d&&e<r||d&&t&&u&&!n&&!a||o&&t&&u||!i&&u||!s)return -1}return 0}function dc(e,r,t){r=r.length?r5(r,function(e){return r8(e)?function(r){return uD(r,1===e.length?e[0]:e)}:e}):[th];var n=-1;return r=r5(r,nV(iJ)),function(e,r){var t=e.length;for(e.sort(r);t--;)e[t]=e[t].value;return e}(o1(e,function(e,t,u){return{criteria:r5(r,function(r){return r(e)}),index:++n,value:e}}),function(e,r){return function(e,r,t){for(var n=-1,u=e.criteria,a=r.criteria,i=u.length,o=t.length;++n<i;){var s=dd(u[n],a[n]);if(s){if(n>=o)return s;return s*("desc"==t[n]?-1:1)}}return e.index-r.index}(e,r,t)})}function df(e){return uP(function(r){return r=r5(r,nV(iJ)),n_(function(t){var n=this;return e(r,function(e){return tR(e,n,t)})})})}var dl=df(r5),dp=Math.min,dg=n_(function(e,r){var t=(r=1==r.length&&r8(r[0])?r5(r[0],nV(iJ)):r5(uT(r,1),nV(iJ))).length;return n_(function(n){for(var u=-1,a=dp(n.length,t);++u<a;)n[u]=r[u].call(this,n[u]);return tR(e,this,n)})}),dm=df(oz),dy=df(iw),dh=Math.floor;function db(e,r){var t="";if(!e||r<1||r>9007199254740991)return t;do r%2&&(t+=e),(r=dh(r/2))&&(e+=e);while(r);return t}var dv=iH("length"),dx="\ud800-\udfff",dE="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",dA="\ud83c[\udffb-\udfff]",dD="[^"+dx+"]",dC="(?:\ud83c[\udde6-\uddff]){2}",dS="[\ud800-\udbff][\udc00-\udfff]",d_="(?:"+dE+"|"+dA+")?",dw="[\\ufe0e\\ufe0f]?",dF="(?:\\u200d(?:"+[dD,dC,dS].join("|")+")"+dw+d_+")*",dT=RegExp(dA+"(?="+dA+")|(?:"+[dD+dE+"?",dE,dC,dS,"["+dx+"]"].join("|")+")"+(dw+d_+dF),"g");function dk(e){return uH(e)?function(e){for(var r=dT.lastIndex=0;dT.test(e);)++r;return r}(e):dv(e)}var dP=Math.ceil;function dI(e,r){var t=(r=void 0===r?" ":te(r)).length;if(t<2)return t?db(r,e):r;var n=db(r,dP(e/dk(r)));return uH(r)?uZ(u5(n),0,e).join(""):n.slice(0,e)}var dj=Math.ceil,dB=Math.floor,dO=/^\s+/,dR=rZ.parseInt,dL=n_(function(e,r){var t=nl(r,no(dL));return nh(e,32,void 0,r,t)});dL.placeholder={};var dN=n_(function(e,r){var t=nl(r,no(dN));return nh(e,64,void 0,r,t)});dN.placeholder={};var dM=i5(function(e,r,t){e[t?0:1].push(r)},function(){return[[],[]]}),d$=uP(function(e,r){return null==e?{}:di(e,r,function(r,t){return iZ(e,t)})});function dz(e){for(var r,t=this;t instanceof tz;){var n=tJ(t);n.__index__=0,n.__values__=void 0,r?u.__wrapped__=n:r=n;var u=n;t=t.__wrapped__}return u.__wrapped__=e,r}function dU(e,r,t,n){for(var u=t-1,a=e.length;++u<a;)if(n(e[u],r))return u;return -1}var dW=Array.prototype.splice;function dq(e,r,t,n){var u=n?dU:nt,a=-1,i=r.length,o=e;for(e===r&&(r=tK(r)),t&&(o=r5(e,nV(t)));++a<i;)for(var s=0,d=r[a],c=t?t(d):d;(s=u(o,c,s,n))>-1;)o!==e&&dW.call(o,s,1),dW.call(e,s,1);return e}function dV(e,r){return e&&e.length&&r&&r.length?dq(e,r):e}var dZ=n_(dV),dG=Array.prototype.splice;function dH(e,r){for(var t=e?r.length:0,n=t-1;t--;){var u=r[t];if(t==n||u!==a){var a=u;nd(u)?dG.call(e,u,1):dt(e,u)}}return e}var dK=uP(function(e,r){var t=null==e?0:e.length,n=uS(e,r);return dH(e,r5(r,function(e){return nd(e,t)?+e:e}).sort(dd)),n}),dJ=Math.floor,dX=Math.random;function dY(e,r){return e+dJ(dX()*(r-e+1))}var dQ=parseFloat,d0=Math.min,d1=Math.random,d2=Math.ceil,d3=Math.max;function d4(e){return function(r,t,n){return n&&"number"!=typeof n&&nT(r,t,n)&&(t=n=void 0),r=tm(r),void 0===t?(t=r,r=0):t=tm(t),n=void 0===n?r<t?1:-1:tm(n),function(e,r,t,n){for(var u=-1,a=d3(d2((r-e)/(t||1)),0),i=Array(a);a--;)i[n?a:++u]=e,e+=t;return i}(r,t,n,e)}}var d5=d4(),d8=d4(!0),d6=uP(function(e,r){return nh(e,256,void 0,void 0,void 0,r)});function d9(e,r,t,n,u){return u(e,function(e,u,a){t=n?(n=!1,e):r(t,e,u,a)}),t}function d7(e,r,t,n){var u=null==e?0:e.length;for(n&&u&&(t=e[--u]);u--;)t=r(t,e[u],u,e);return t}var ce=Array.prototype.reverse;function cr(e){return null==e?e:ce.call(e)}var ct=aj("round");function cn(e){var r=e.length;return r?e[dY(0,r-1)]:void 0}function cu(e,r){var t=-1,n=e.length,u=n-1;for(r=void 0===r?n:r;++t<r;){var a=dY(t,u),i=e[a];e[a]=e[t],e[t]=i}return e.length=r,e}var ca=aT(function(e,r,t){return e+(t?"_":"")+r.toLowerCase()});function ci(e,r){var t;return i3(e,function(e,n,u){return!(t=r(e,n,u))}),!!t}var co=n_(function(e,r){if(null==e)return[];var t=r.length;return t>1&&nT(e,r[0],r[1])?r=[]:t>2&&nT(r[0],r[1],r[2])&&(r=[r[0]]),dc(e,uT(r,1),[])}),cs=Math.floor,cd=Math.min;function cc(e,r,t,n){var u=0,a=null==e?0:e.length;if(0===a)return 0;for(var i=(r=t(r))!=r,o=null===r,s=r2(r),d=void 0===r;u<a;){var c=cs((u+a)/2),f=t(e[c]),l=void 0!==f,p=null===f,g=f==f,m=r2(f);if(i)var y=n||g;else y=d?g&&(n||l):o?g&&l&&(n||!p):s?g&&l&&!p&&(n||!m):!p&&!m&&(n?f<=r:f<r);y?u=c+1:a=c}return cd(a,4294967294)}function cf(e,r,t){var n=0,u=null==e?n:e.length;if("number"==typeof r&&r==r&&u<=2147483647){for(;n<u;){var a=n+u>>>1,i=e[a];null!==i&&!r2(i)&&(t?i<=r:i<r)?n=a+1:u=a}return u}return cc(e,r,th,t)}function cl(e,r){for(var t=-1,n=e.length,u=0,a=[];++t<n;){var i=e[t],o=r?r(i):i;if(!t||!nx(o,s)){var s=o;a[u++]=0===i?0:i}}return a}var cp=Math.max,cg=aT(function(e,r,t){return e+(t?" ":"")+u6(r)}),cm=tr(function(e,r){return e-r},0),cy=Object.prototype,ch=cy.hasOwnProperty;function cb(e,r,t,n){return void 0===e||nx(e,cy[t])&&!ch.call(n,t)?r:e}var cv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function cx(e){return"\\"+cv[e]}var cE=/<%=([\s\S]+?)%>/g,cA={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:cE,variable:"",imports:{_:{escape:oN}}},cD=/\b__p \+= '';/g,cC=/\b(__p \+=) '' \+/g,cS=/(__e\(.*?\)|\b__t\)) \+\n'';/g,c_=/[()=,{}\[\]\/\s]/,cw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cF=/($^)/,cT=/['\n\r\u2028\u2029\\]/g,ck=Object.prototype.hasOwnProperty;function cP(e,r){return r(e)}var cI=Math.min;function cj(){return this}function cB(){var e,r,t;return e=this.__wrapped__,r=this.__actions__,(t=e)instanceof tU&&(t=t.value()),u7(r,function(e,r){return r.func.apply(r.thisArg,u_([e],r.args))},t)}function cO(e,r){for(var t=e.length;t--&&nt(r,e[t],0)>-1;);return t}function cR(e,r){for(var t=-1,n=e.length;++t<n&&nt(r,e[t],0)>-1;);return t}var cL=/^\s+/,cN=/\w*$/,cM=ae({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),c$=/&(?:amp|lt|gt|quot|#39);/g,cz=RegExp(c$.source),cU=a3&&1/iP(new a3([,-0]))[1]==1/0?function(e){return new a3(e)}:tW;function cW(e,r,t){var n=-1,u=nn,a=e.length,i=!0,o=[],s=o;if(t)i=!1,u=ob;else if(a>=200){var d=r?null:cU(e);if(d)return iP(d);i=!1,u=iF,s=new i_}else s=r?[]:o;e:for(;++n<a;){var c=e[n],f=r?r(c):c;if(c=t||0!==c?c:0,i&&f==f){for(var l=s.length;l--;)if(s[l]===f)continue e;r&&s.push(f),o.push(c)}else u(s,f,t)||(s!==o&&s.push(f),o.push(c))}return o}var cq=n_(function(e){return cW(uT(e,1,os,!0))}),cV=n_(function(e){var r=oE(e);return os(r)&&(r=void 0),cW(uT(e,1,os,!0),iJ(r))}),cZ=n_(function(e){var r=oE(e);return r="function"==typeof r?r:void 0,cW(uT(e,1,os,!0),void 0,r)}),cG=0,cH=Math.max;function cK(e){if(!(e&&e.length))return[];var r=0;return e=aZ(e,function(e){if(os(e))return r=cH(e.length,r),!0}),nj(r,function(r){return r5(e,iH(r))})}function cJ(e,r){if(!(e&&e.length))return[];var t=cK(e);return null==r?t:r5(t,function(e){return tR(r,void 0,e)})}function cX(e,r,t,n){return da(e,r,t(uD(e,r)),n)}var cY=aT(function(e,r,t){return e+(t?" ":"")+r.toUpperCase()}),cQ=n_(function(e,r){return os(e)?ov(e,r):[]}),c0=uP(function(e){var r=e.length,t=r?e[0]:0,n=this.__wrapped__,u=function(r){return uS(r,e)};return!(r>1)&&!this.__actions__.length&&n instanceof tU&&nd(t)?((n=n.slice(t,+t+(r?1:0))).__actions__.push({func:cP,args:[u],thisArg:void 0}),new tH(n,this.__chain__).thru(function(e){return r&&!e.length&&e.push(void 0),e})):this.thru(u)});function c1(e,r,t){var n=e.length;if(n<2)return n?cW(e[0]):[];for(var u=-1,a=Array(n);++u<n;)for(var i=e[u],o=-1;++o<n;)o!=u&&(a[u]=ov(a[u]||i,e[o],r,t));return cW(uT(a,1),r,t)}var c2=n_(function(e){return c1(aZ(e,os))}),c3=n_(function(e){var r=oE(e);return os(r)&&(r=void 0),c1(aZ(e,os),iJ(r))}),c4=n_(function(e){var r=oE(e);return r="function"==typeof r?r:void 0,c1(aZ(e,os),void 0,r)}),c5=n_(cK);function c8(e,r,t){for(var n=-1,u=e.length,a=r.length,i={};++n<u;){var o=n<a?r[n]:void 0;t(i,e[n],o)}return i}var c6=n_(function(e){var r=e.length,t=r>1?e[r-1]:void 0;return t="function"==typeof t?(e.pop(),t):void 0,cJ(e,t)}),c9=en(Object.freeze({__proto__:null,add:tt,after:function(e,r){if("function"!=typeof r)throw TypeError("Expected a function");return e=ty(e),function(){if(--e<1)return r.apply(this,arguments)}},ary:nb,assign:n8,assignIn:n7,assignInWith:ue,assignWith:ur,at:uI,attempt:u$,before:uz,bind:uU,bindAll:uW,bindKey:uq,camelCase:ak,capitalize:u9,castArray:function(){if(!arguments.length)return[];var e=arguments[0];return r8(e)?e:[e]},ceil:aB,chain:aO,chunk:function(e,r,t){r=(t?nT(e,r,t):void 0===r)?1:aL(ty(r),0);var n=null==e?0:e.length;if(!n||r<1)return[];for(var u=0,a=0,i=Array(aR(n/r));u<n;)i[a++]=uV(e,u,u+=r);return i},clamp:function(e,r,t){return void 0===t&&(t=r,r=void 0),void 0!==t&&(t=(t=tp(t))==t?t:0),void 0!==r&&(r=(r=tp(r))==r?r:0),aN(tp(e),r,t)},clone:function(e){return iC(e,4)},cloneDeep:function(e){return iC(e,5)},cloneDeepWith:function(e,r){return iC(e,5,r="function"==typeof r?r:void 0)},cloneWith:function(e,r){return iC(e,4,r="function"==typeof r?r:void 0)},commit:iS,compact:function(e){for(var r=-1,t=null==e?0:e.length,n=0,u=[];++r<t;){var a=e[r];a&&(u[n++]=a)}return u},concat:function(){var e=arguments.length;if(!e)return[];for(var r=Array(e-1),t=arguments[0],n=e;n--;)r[n-1]=arguments[n];return u_(r8(t)?tK(t):[t],uT(r,1))},cond:function(e){var r=null==e?0:e.length;return e=r?r5(e,function(e){if("function"!=typeof e[1])throw TypeError("Expected a function");return[iJ(e[0]),e[1]]}):[],n_(function(t){for(var n=-1;++n<r;){var u=e[n];if(tR(u[0],this,t))return tR(u[1],this,t)}})},conforms:function(e){var r,t;return t=n4(r=iC(e,1)),function(e){return iX(e,r,t)}},conformsTo:function(e,r){return null==r||iX(e,r,n4(r))},constant:t8,countBy:i6,create:function(e,r){var t=tB(e);return null==r?t:a$(t,r)},curry:i9,curryRight:i7,debounce:on,deburr:au,defaultTo:function(e,r){return null==e||e!=e?r:e},defaults:oi,defaultsDeep:og,defer:oy,delay:oh,difference:ox,differenceBy:oA,differenceWith:oD,divide:oC,drop:function(e,r,t){var n=null==e?0:e.length;return n?uV(e,(r=t||void 0===r?1:ty(r))<0?0:r,n):[]},dropRight:function(e,r,t){var n=null==e?0:e.length;return n?uV(e,0,(r=n-(r=t||void 0===r?1:ty(r)))<0?0:r):[]},dropRightWhile:function(e,r){return e&&e.length?oS(e,iJ(r),!0,!0):[]},dropWhile:function(e,r){return e&&e.length?oS(e,iJ(r),!0):[]},each:ow,eachRight:oP,endsWith:function(e,r,t){e=uv(e),r=te(r);var n=e.length,u=t=void 0===t?n:aN(ty(t),0,n);return(t-=r.length)>=0&&e.slice(t,u)==r},entries:oj,entriesIn:oB,eq:nx,escape:oN,escapeRegExp:function(e){return(e=uv(e))&&o$.test(e)?e.replace(oM,"\\$&"):e},every:function(e,r,t){var n=r8(e)?oz:oU;return t&&nT(e,r,t)&&(r=void 0),n(e,iJ(r))},extend:n7,extendWith:ue,fill:function(e,r,t,n){var u=null==e?0:e.length;return u?(t&&"number"!=typeof t&&nT(e,r,t)&&(t=0,n=u),function(e,r,t,n){var u=e.length;for((t=ty(t))<0&&(t=-t>u?0:u+t),(n=void 0===n||n>u?u:ty(n))<0&&(n+=u),n=t>n?0:oW(n);t<n;)e[t++]=r;return e}(e,r,t,n)):[]},filter:function(e,r){return(r8(e)?aZ:oq)(e,iJ(r))},find:oH,findIndex:oG,findKey:function(e,r){return oK(e,iJ(r),i1)},findLast:oQ,findLastIndex:oY,findLastKey:function(e,r){return oK(e,iJ(r),oT)},first:o0,flatMap:function(e,r){return uT(o2(e,r),1)},flatMapDeep:function(e,r){return uT(o2(e,r),o3)},flatMapDepth:function(e,r,t){return t=void 0===t?1:ty(t),uT(o2(e,r),t)},flatten:uk,flattenDeep:function(e){return(null==e?0:e.length)?uT(e,o4):[]},flattenDepth:function(e,r){return(null==e?0:e.length)?uT(e,r=void 0===r?1:ty(r)):[]},flip:function(e){return nh(e,512)},floor:o5,flow:o6,flowRight:o9,forEach:ow,forEachRight:oP,forIn:function(e,r){return null==e?e:i0(e,o_(r),n9)},forInRight:function(e,r){return null==e?e:oF(e,o_(r),n9)},forOwn:function(e,r){return e&&i1(e,o_(r))},forOwnRight:function(e,r){return e&&oT(e,o_(r))},fromPairs:function(e){for(var r=-1,t=null==e?0:e.length,n={};++r<t;){var u=e[r];n[u[0]]=u[1]}return n},functions:function(e){return null==e?[]:o7(e,n4(e))},functionsIn:function(e){return null==e?[]:o7(e,n9(e))},get:uC,groupBy:sr,gt:su,gte:sa,has:function(e,r){return null!=e&&iV(e,r,so)},hasIn:iZ,head:o0,identity:th,inRange:function(e,r,t){var n,u,a;return r=tm(r),void 0===t?(t=r,r=0):t=tm(t),(n=e=tp(e))>=sd(u=r,a=t)&&n<ss(u,a)},includes:function(e,r,t,n){e=nF(e)?e:sl(e),t=t&&!n?ty(t):0;var u=e.length;return t<0&&(t=sp(u+t,0)),sc(e)?t<=u&&e.indexOf(r,t)>-1:!!u&&nt(e,r,t)>-1},indexOf:function(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=null==t?0:ty(t);return u<0&&(u=sg(n+u,0)),nt(e,r,u)},initial:function(e){return(null==e?0:e.length)?uV(e,0,-1):[]},intersection:sb,intersectionBy:sv,intersectionWith:sx,invert:sD,invertBy:sw,invoke:sk,invokeMap:sP,isArguments:nN,isArray:r8,isArrayBuffer:sj,isArrayLike:nF,isArrayLikeObject:os,isBoolean:function(e){return!0===e||!1===e||r1(e)&&"[object Boolean]"==r0(e)},isBuffer:nW,isDate:sO,isElement:function(e){return r1(e)&&1===e.nodeType&&!uN(e)},isEmpty:function(e){if(null==e)return!0;if(nF(e)&&(r8(e)||"string"==typeof e||"function"==typeof e.splice||nW(e)||nX(e)||nN(e)))return!e.length;var r=ii(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(nI(e))return!n3(e).length;for(var t in e)if(sR.call(e,t))return!1;return!0},isEqual:function(e,r){return iM(e,r)},isEqualWith:function(e,r,t){var n=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===n?iM(e,r,void 0,t):!!n},isError:uM,isFinite:function(e){return"number"==typeof e&&sL(e)},isFunction:tb,isInteger:sN,isLength:nw,isMap:ih,isMatch:function(e,r){return e===r||i$(e,r,iz(r))},isMatchWith:function(e,r,t){return t="function"==typeof t?t:void 0,i$(e,r,iz(r),t)},isNaN:function(e){return sM(e)&&e!=+e},isNative:function(e){if(s$(e))throw Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return tF(e)},isNil:function(e){return null==e},isNull:function(e){return null===e},isNumber:sM,isObject:to,isObjectLike:r1,isPlainObject:uN,isRegExp:sU,isSafeInteger:function(e){return sN(e)&&e>=-9007199254740991&&e<=9007199254740991},isSet:iv,isString:sc,isSymbol:r2,isTypedArray:nX,isUndefined:function(e){return void 0===e},isWeakMap:function(e){return r1(e)&&"[object WeakMap]"==ii(e)},isWeakSet:function(e){return r1(e)&&"[object WeakSet]"==r0(e)},iteratee:function(e){return iJ("function"==typeof e?e:iC(e,1))},join:function(e,r){return null==e?"":sW.call(e,r)},kebabCase:sq,keyBy:sV,keys:n4,keysIn:n9,last:oE,lastIndexOf:function(e,r,t){var n=null==e?0:e.length;if(!n)return -1;var u=n;return void 0!==t&&(u=(u=ty(t))<0?sZ(n+u,0):sG(u,n-1)),r==r?function(e,r,t){for(var n=t+1;n--&&e[n]!==r;);return n}(e,r,u):ne(e,nr,u,!0)},lodash:tY,lowerCase:sH,lowerFirst:sK,lt:sX,lte:sY,map:o2,mapKeys:function(e,r){var t={};return r=iJ(r),i1(e,function(e,n,u){nv(t,r(e,n,u),e)}),t},mapValues:function(e,r){var t={};return r=iJ(r),i1(e,function(e,n,u){nv(t,n,r(e,n,u))}),t},matches:function(e){return iW(iC(e,1))},matchesProperty:function(e,r){return iG(e,iC(r,1))},max:function(e){return e&&e.length?sQ(e,th,st):void 0},maxBy:function(e,r){return e&&e.length?sQ(e,iJ(r),st):void 0},mean:function(e){return s2(e,th)},meanBy:function(e,r){return s2(e,iJ(r))},memoize:um,merge:s3,mergeWith:op,method:s4,methodOf:s5,min:function(e){return e&&e.length?sQ(e,th,sJ):void 0},minBy:function(e,r){return e&&e.length?sQ(e,iJ(r),sJ):void 0},mixin:function(e,r,t){var n=n4(r),u=o7(r,n),a=!(to(t)&&"chain"in t)||!!t.chain,i=tb(e);return t7(u,function(t){var n=r[t];e[t]=n,i&&(e.prototype[t]=function(){var r=this.__chain__;if(a||r){var t=e(this.__wrapped__);return(t.__actions__=tK(this.__actions__)).push({func:n,args:arguments,thisArg:e}),t.__chain__=r,t}return n.apply(e,u_([this.value()],arguments))})}),e},multiply:s8,negate:s6,next:de,noop:tW,now:oe,nth:function(e,r){return e&&e.length?dr(e,ty(r)):void 0},nthArg:function(e){return e=ty(e),n_(function(r){return dr(r,e)})},omit:du,omitBy:function(e,r){return ds(e,s6(iJ(r)))},once:function(e){return uz(2,e)},orderBy:function(e,r,t,n){return null==e?[]:(r8(r)||(r=null==r?[]:[r]),r8(t=n?void 0:t)||(t=null==t?[]:[t]),dc(e,r,t))},over:dl,overArgs:dg,overEvery:dm,overSome:dy,pad:function(e,r,t){e=uv(e);var n=(r=ty(r))?dk(e):0;if(!r||n>=r)return e;var u=(r-n)/2;return dI(dB(u),t)+e+dI(dj(u),t)},padEnd:function(e,r,t){e=uv(e);var n=(r=ty(r))?dk(e):0;return r&&n<r?e+dI(r-n,t):e},padStart:function(e,r,t){e=uv(e);var n=(r=ty(r))?dk(e):0;return r&&n<r?dI(r-n,t)+e:e},parseInt:function(e,r,t){return t||null==r?r=0:r&&(r=+r),dR(uv(e).replace(dO,""),r||0)},partial:dL,partialRight:dN,partition:dM,pick:d$,pickBy:ds,plant:dz,property:iK,propertyOf:function(e){return function(r){return null==e?void 0:uD(e,r)}},pull:dZ,pullAll:dV,pullAllBy:function(e,r,t){return e&&e.length&&r&&r.length?dq(e,r,iJ(t)):e},pullAllWith:function(e,r,t){return e&&e.length&&r&&r.length?dq(e,r,void 0,t):e},pullAt:dK,random:function(e,r,t){if(t&&"boolean"!=typeof t&&nT(e,r,t)&&(r=t=void 0),void 0===t&&("boolean"==typeof r?(t=r,r=void 0):"boolean"==typeof e&&(t=e,e=void 0)),void 0===e&&void 0===r?(e=0,r=1):(e=tm(e),void 0===r?(r=e,e=0):r=tm(r)),e>r){var n=e;e=r,r=n}if(t||e%1||r%1){var u=d1();return d0(e+u*(r-e+dQ("1e-"+((u+"").length-1))),r)}return dY(e,r)},range:d5,rangeRight:d8,rearg:d6,reduce:function(e,r,t){var n=r8(e)?u7:d9,u=arguments.length<3;return n(e,iJ(r),t,u,i3)},reduceRight:function(e,r,t){var n=r8(e)?d7:d9,u=arguments.length<3;return n(e,iJ(r),t,u,ok)},reject:function(e,r){return(r8(e)?aZ:oq)(e,s6(iJ(r)))},remove:function(e,r){var t=[];if(!(e&&e.length))return t;var n=-1,u=[],a=e.length;for(r=iJ(r);++n<a;){var i=e[n];r(i,n,e)&&(t.push(i),u.push(n))}return dH(e,u),t},repeat:function(e,r,t){return r=(t?nT(e,r,t):void 0===r)?1:ty(r),db(uv(e),r)},replace:function(){var e=arguments,r=uv(e[0]);return e.length<3?r:r.replace(e[1],e[2])},rest:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return n_(e,r=void 0===r?r:ty(r))},result:function(e,r,t){r=ux(r,e);var n=-1,u=r.length;for(u||(u=1,e=void 0);++n<u;){var a=null==e?void 0:e[uA(r[n])];void 0===a&&(n=u,a=t),e=tb(a)?a.call(e):a}return e},reverse:cr,round:ct,sample:function(e){return(r8(e)?cn:function(e){return cn(sl(e))})(e)},sampleSize:function(e,r,t){return r=(t?nT(e,r,t):void 0===r)?1:ty(r),(r8(e)?function(e,r){return cu(tK(e),aN(r,0,e.length))}:function(e,r){var t=sl(e);return cu(t,aN(r,0,t.length))})(e,r)},set:function(e,r,t){return null==e?e:da(e,r,t)},setWith:function(e,r,t,n){return n="function"==typeof n?n:void 0,null==e?e:da(e,r,t,n)},shuffle:function(e){return(r8(e)?function(e){return cu(tK(e))}:function(e){return cu(sl(e))})(e)},size:function(e){if(null==e)return 0;if(nF(e))return sc(e)?dk(e):e.length;var r=ii(e);return"[object Map]"==r||"[object Set]"==r?e.size:n3(e).length},slice:function(e,r,t){var n=null==e?0:e.length;return n?(t&&"number"!=typeof t&&nT(e,r,t)?(r=0,t=n):(r=null==r?0:ty(r),t=void 0===t?n:ty(t)),uV(e,r,t)):[]},snakeCase:ca,some:function(e,r,t){var n=r8(e)?iw:ci;return t&&nT(e,r,t)&&(r=void 0),n(e,iJ(r))},sortBy:co,sortedIndex:function(e,r){return cf(e,r)},sortedIndexBy:function(e,r,t){return cc(e,r,iJ(t))},sortedIndexOf:function(e,r){var t=null==e?0:e.length;if(t){var n=cf(e,r);if(n<t&&nx(e[n],r))return n}return -1},sortedLastIndex:function(e,r){return cf(e,r,!0)},sortedLastIndexBy:function(e,r,t){return cc(e,r,iJ(t),!0)},sortedLastIndexOf:function(e,r){if(null==e?0:e.length){var t=cf(e,r,!0)-1;if(nx(e[t],r))return t}return -1},sortedUniq:function(e){return e&&e.length?cl(e):[]},sortedUniqBy:function(e,r){return e&&e.length?cl(e,iJ(r)):[]},split:function(e,r,t){return(t&&"number"!=typeof t&&nT(e,r,t)&&(r=t=void 0),t=void 0===t?4294967295:t>>>0)?(e=uv(e))&&("string"==typeof r||null!=r&&!sU(r))&&!(r=te(r))&&uH(e)?uZ(u5(e),0,t):e.split(r,t):[]},spread:function(e,r){if("function"!=typeof e)throw TypeError("Expected a function");return r=null==r?0:cp(ty(r),0),n_(function(t){var n=t[r],u=uZ(t,0,r);return n&&u_(u,n),tR(e,this,u)})},startCase:cg,startsWith:function(e,r,t){return e=uv(e),t=null==t?0:aN(ty(t),0,e.length),r=te(r),e.slice(t,t+r.length)==r},stubArray:aG,stubFalse:nM,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},subtract:cm,sum:function(e){return e&&e.length?s0(e,th):0},sumBy:function(e,r){return e&&e.length?s0(e,iJ(r)):0},tail:function(e){var r=null==e?0:e.length;return r?uV(e,1,r):[]},take:function(e,r,t){return e&&e.length?uV(e,0,(r=t||void 0===r?1:ty(r))<0?0:r):[]},takeRight:function(e,r,t){var n=null==e?0:e.length;return n?uV(e,(r=n-(r=t||void 0===r?1:ty(r)))<0?0:r,n):[]},takeRightWhile:function(e,r){return e&&e.length?oS(e,iJ(r),!1,!0):[]},takeWhile:function(e,r){return e&&e.length?oS(e,iJ(r)):[]},tap:function(e,r){return r(e),e},template:function(e,r,t){var n=cA.imports._.templateSettings||cA;t&&nT(e,r,t)&&(r=void 0),e=uv(e),r=ue({},r,n,cb);var u,a,i=ue({},r.imports,n.imports,cb),o=n4(i),s=sf(i,o),d=0,c=r.interpolate||cF,f="__p += '",l=RegExp((r.escape||cF).source+"|"+c.source+"|"+(c===cE?cw:cF).source+"|"+(r.evaluate||cF).source+"|$","g"),p=ck.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(l,function(r,t,n,i,o,s){return n||(n=i),f+=e.slice(d,s).replace(cT,cx),t&&(u=!0,f+="' +\n__e("+t+") +\n'"),o&&(a=!0,f+="';\n"+o+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),d=s+r.length,r}),f+="';\n";var g=ck.call(r,"variable")&&r.variable;if(g){if(c_.test(g))throw Error("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(cD,""):f).replace(cC,"$1").replace(cS,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=u$(function(){return Function(o,p+"return "+f).apply(void 0,s)});if(m.source=f,uM(m))throw m;return m},templateSettings:cA,throttle:function(e,r,t){var n=!0,u=!0;if("function"!=typeof e)throw TypeError("Expected a function");return to(t)&&(n="leading"in t?!!t.leading:n,u="trailing"in t?!!t.trailing:u),on(e,r,{leading:n,maxWait:r,trailing:u})},thru:cP,times:function(e,r){if((e=ty(e))<1||e>9007199254740991)return[];var t=4294967295,n=cI(e,4294967295);r=o_(r),e-=4294967295;for(var u=nj(n,r);++t<e;)r(t);return u},toArray:s7,toFinite:tm,toInteger:ty,toIterator:cj,toJSON:cB,toLength:oW,toLower:function(e){return uv(e).toLowerCase()},toNumber:tp,toPairs:oj,toPairsIn:oB,toPath:function(e){return r8(e)?r5(e,uA):r2(e)?[e]:tK(ub(uv(e)))},toPlainObject:oc,toSafeInteger:function(e){return e?aN(ty(e),-9007199254740991,9007199254740991):0===e?e:0},toString:uv,toUpper:function(e){return uv(e).toUpperCase()},transform:function(e,r,t){var n=r8(e),u=n||nW(e)||nX(e);if(r=iJ(r),null==t){var a=e&&e.constructor;t=u?n?new a:[]:to(e)&&tb(a)?tB(uj(e)):{}}return(u?t7:i1)(e,function(e,n,u){return r(t,e,n,u)}),t},trim:function(e,r,t){if((e=uv(e))&&(t||void 0===r))return ti(e);if(!e||!(r=te(r)))return e;var n=u5(e),u=u5(r),a=cR(n,u),i=cO(n,u)+1;return uZ(n,a,i).join("")},trimEnd:function(e,r,t){if((e=uv(e))&&(t||void 0===r))return e.slice(0,tu(e)+1);if(!e||!(r=te(r)))return e;var n=u5(e),u=cO(n,u5(r))+1;return uZ(n,0,u).join("")},trimStart:function(e,r,t){if((e=uv(e))&&(t||void 0===r))return e.replace(cL,"");if(!e||!(r=te(r)))return e;var n=u5(e),u=cR(n,u5(r));return uZ(n,u).join("")},truncate:function(e,r){var t=30,n="...";if(to(r)){var u="separator"in r?r.separator:u;t="length"in r?ty(r.length):t,n="omission"in r?te(r.omission):n}var a=(e=uv(e)).length;if(uH(e)){var i=u5(e);a=i.length}if(t>=a)return e;var o=t-dk(n);if(o<1)return n;var s=i?uZ(i,0,o).join(""):e.slice(0,o);if(void 0===u)return s+n;if(i&&(o+=s.length-o),sU(u)){if(e.slice(o).search(u)){var d,c=s;for(u.global||(u=RegExp(u.source,uv(cN.exec(u))+"g")),u.lastIndex=0;d=u.exec(c);)var f=d.index;s=s.slice(0,void 0===f?o:f)}}else if(e.indexOf(te(u),o)!=o){var l=s.lastIndexOf(u);l>-1&&(s=s.slice(0,l))}return s+n},unary:function(e){return nb(e,1)},unescape:function(e){return(e=uv(e))&&cz.test(e)?e.replace(c$,cM):e},union:cq,unionBy:cV,unionWith:cZ,uniq:function(e){return e&&e.length?cW(e):[]},uniqBy:function(e,r){return e&&e.length?cW(e,iJ(r)):[]},uniqWith:function(e,r){return r="function"==typeof r?r:void 0,e&&e.length?cW(e,void 0,r):[]},uniqueId:function(e){var r=++cG;return uv(e)+r},unset:function(e,r){return null==e||dt(e,r)},unzip:cK,unzipWith:cJ,update:function(e,r,t){return null==e?e:cX(e,r,o_(t))},updateWith:function(e,r,t,n){return n="function"==typeof n?n:void 0,null==e?e:cX(e,r,o_(t),n)},upperCase:cY,upperFirst:u6,value:cB,valueOf:cB,values:sl,valuesIn:function(e){return null==e?[]:sf(e,n9(e))},without:cQ,words:aw,wrap:function(e,r){return dL(o_(r),e)},wrapperAt:c0,wrapperChain:function(){return aO(this)},wrapperCommit:iS,wrapperLodash:tY,wrapperNext:de,wrapperPlant:dz,wrapperReverse:function(){var e=this.__wrapped__;if(e instanceof tU){var r=e;return this.__actions__.length&&(r=new tU(this)),(r=r.reverse()).__actions__.push({func:cP,args:[cr],thisArg:void 0}),new tH(r,this.__chain__)}return this.thru(cr)},wrapperToIterator:cj,wrapperValue:cB,xor:c2,xorBy:c3,xorWith:c4,zip:c5,zipObject:function(e,r){return c8(e||[],r||[],nA)},zipObjectDeep:function(e,r){return c8(e||[],r||[],da)},zipWith:c6}));let{pick:c7}=c9,{isCallExpression:fe}=rz,{isStringLiteral:fr}=rM,{isCallExpression:ft}=rz,{isLiteral:fn,isStringLiteral:fu,isNumberLiteral:fa,isBigIntLiteral:fi,isNullLiteral:fo,isRegexLiteral:fs}=rM,{isNewExpression:fd,isCallExpression:fc,isCallOrNewExpression:ff}=rz;var fl={isLiteral:fn,isStringLiteral:fu,isNumberLiteral:fa,isBigIntLiteral:fi,isNullLiteral:fo,isRegexLiteral:fs,isArrowFunctionBody:function(e){return"ArrowFunctionExpression"===e.parent.type&&e.parent.body===e},isCallExpression:fc,isCallOrNewExpression:ff,isEmptyNode:function e(r,t){let{type:n}=r;return"BlockStatement"===n?r.body.every(r=>e(r,t)):!!("EmptyStatement"===n||t?.(r))},isExpressionStatement:function(e){return"ExpressionStatement"===e.type||"ChainExpression"===e.type&&"ExpressionStatement"===e.parent.type},isFunction:function(e){return rU.includes(e.type)},isMemberExpression:rW,isMethodCall:function(e,r){"string"==typeof r&&(r={methods:[r]}),Array.isArray(r)&&(r={methods:r});let{optionalCall:t,optionalMember:n,method:u,methods:a}={method:"",methods:[],...r};return fe(e,{...c7(r,["argumentsLength","minimumArguments","maximumArguments","allowSpreadElement"]),optional:t})&&rW(e.callee,{...c7(r,["object","objects","computed"]),property:u,properties:a,optional:n})},isNewExpression:fd,isReferenceIdentifier:function(e,r=[]){if("Identifier"!==e.type)return!1;let t=Array.isArray(r)?r:[r];return(!(t.length>0)||!!t.includes(e.name))&&!function(e){let{parent:r}=e;switch(r.type){case"MemberExpression":return!r.computed&&r.property===e;case"FunctionDeclaration":case"FunctionExpression":return r.params.includes(e)||r.id===e;case"ArrowFunctionExpression":return r.params.includes(e);case"ClassDeclaration":case"ClassExpression":case"VariableDeclarator":case"TSDeclareFunction":case"TSEnumMember":return r.id===e;case"PropertyDefinition":case"MethodDefinition":return!r.computed&&r.key===e;case"Property":return!r.computed&&r.key===e&&("ObjectExpression"===r.parent.type||"ObjectPattern"===r.parent.type)&&r.parent.properties.includes(r)||r.value===e&&"ObjectPattern"===r.parent.type&&r.parent.properties.includes(r);case"ArrayPattern":return r.elements.includes(e);case"LabeledStatement":case"ContinueStatement":case"BreakStatement":return r.label===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":return r.local===e;case"ExportAllDeclaration":return r.exported===e;case"ImportSpecifier":return r.local===e||r.imported===e;case"ExportSpecifier":return r.local===e||r.exported===e;case"TSPropertySignature":return r.key===e}return!1}(e)},isStaticRequire:e=>ft(e,{name:"require",argumentsLength:1,optional:!1})&&fr(e.arguments[0]),isUndefined:function(e){return"Identifier"===e.type&&"undefined"===e.name},functionTypes:rU};let fp={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",186:";",187:"=",188:",",189:"-",190:".",191:"/",219:"[",220:"\\",221:"]",222:"'",224:"Meta"},{isNumberLiteral:fg}=fl,fm="prefer-keyboard-event-key",fy=new Set(["keyCode","charCode","which"]),fh=e=>e?.type==="CallExpression"&&"MemberExpression"===e.callee.type&&"addEventListener"===e.callee.property.name,fb=(e,r)=>{let t=fx(r,"CallExpression",fh),n=t?.arguments[1];switch(n?.type){case"ArrowFunctionExpression":case"FunctionExpression":{let r=e.sourceCode.getDeclaredVariables(n)[0],t=r?.references;return{event:n.params[0],references:t}}default:return{}}},fv=(e,r)=>e?.parent?.type==="MemberExpression"&&e.parent.object===r,fx=(e,r,t=()=>!0)=>{let n=e;for(;n;){if(n.type===r&&t(n))return n;n=n.parent}},fE=(e,r)=>{let t=e;for(;t&&r;)r--,t=t.parent;if(0===r)return t},fA=e=>r=>{let t=fE(e,3);if(!t||"IfStatement"!==t.type)return;let{type:n,operator:u,right:a}=t.test;if(!("BinaryExpression"===n&&("=="===u||"==="===u)&&fg(a)))return;let i=fp[a.value]||String.fromCodePoint(a.value);if(i)return[r.replaceText(e,"key"),r.replaceText(a,rL(i))]},fD=e=>({messageId:fm,data:{name:e.name},node:e,fix:fA(e)});var fC=et({create:e=>({Identifier(r){if("keyCode"!==r.name&&"charCode"!==r.name&&"which"!==r.name)return;let{event:t,references:n}=fb(e,r);if(t&&n&&n.some(e=>fv(r,e.identifier)))return fD(r)},Property(r){let t=r.value.name;if(!fy.has(t))return;let{event:n,references:u}=fb(e,r);if(!n)return;let a=fx(r,"VariableDeclarator"),i=a?.init;if(u&&u.some(e=>e.identifier===i))return fD(r.value);let o="ObjectPattern"===n.type;if(o){for(let e of n.properties)if(e===r)return fD(r.value)}}}),meta:{type:"suggestion",docs:{description:"Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`."},fixable:"code",messages:{[fm]:"Use `.key` instead of `.{{name}}`."}}});let{isMemberExpression:fS}=fl,f_="error",fw="suggestion";var fF=et({create:()=>({MemberExpression(e){if(!fS(e,{property:"innerText"}))return;let r=e.property;return{node:r,messageId:f_,suggest:[{messageId:fw,fix:e=>e.replaceText(r,"textContent")}]}},Identifier(e){if("innerText"===e.name&&"Property"===e.parent.type&&e.parent.key===e&&!e.parent.computed&&"init"===e.parent.kind&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent))return{node:e,messageId:f_,suggest:[{messageId:fw,fix:r=>r.replaceText(e,e.parent.shorthand?"textContent: innerText":"textContent")}]}}}),meta:{type:"suggestion",docs:{description:"Prefer `.textContent` over `.innerText`."},hasSuggestions:!0,messages:{[f_]:"Prefer `.textContent` over `.innerText`.",[fw]:"Switch to `.textContent`."}}}),fT=function*(e,r){yield e.insertTextBeforeRange(r,""),yield e.insertTextAfterRange(r,"")};let{isParenthesized:fk,isOpeningParenToken:fP,isClosingParenToken:fI}=ro;function fj(e,r){let t=0;for(;fk(t+1,e,r);)t++;return t}function fB(e,r){let t=fj(e,r);return 0===t?[]:[...r.getTokensBefore(e,{count:t,filter:fP}),...r.getTokensAfter(e,{count:t,filter:fI})]}function fO(e,r){let t=fB(e,r),[n]=(t[0]||e).range,[,u]=(t[t.length-1]||e).range;return[n,u]}var fR={isParenthesized:fk,getParenthesizedTimes:fj,getParentheses:fB,getParenthesizedRange:fO,getParenthesizedText:function(e,r){let[t,n]=fO(e,r);return r.text.slice(t,n)}};let{getParentheses:fL}=fR;var fN=function*(e,r,t){let n=fL(e,t);for(let e of n)yield r.remove(e)};let{isCommaToken:fM}=ro,{isCommaToken:f$}=ro,{getParentheses:fz}=fR,{getParenthesizedRange:fU}=fR,{isOpeningParenToken:fW,isClosingParenToken:fq}=ro;var fV=function(e,r){if(e.arguments.length>0)return!0;let[t,n]=r.getLastTokens(e,2);return fW(t)&&fq(n)&&e.callee.range[1]<e.range[1]},fZ=function(e,r){return e.loc.start.line===r.loc.start.line};let{isSemicolonToken:fG}=ro;var fH=function*(e,r,t){if("ReturnStatement"!==r.type&&"ThrowStatement"!==r.type)return;let n=t.getFirstToken(r);yield e.insertTextAfter(n," (");let u=t.getLastToken(r);if(!fG(u)){yield e.insertTextAfter(r,")");return}yield e.insertTextBefore(u,")")},fK=function(e,r,t){let n=e;"object"==typeof e&&Array.isArray(e.range)&&(n=e.range[1]);let u=r.text.slice(n),[a]=u.match(/^\s*/);return t.removeRange([n,n+a.length])};let{isParenthesized:fJ}=fR;var fX=function*(e,r,t){let n=r.getFirstToken(e);yield t.remove(n),yield fK(n,r,t),fV(e,r)||(yield t.insertTextAfter(e,"()")),fZ(n,e.callee)||fJ(e,r)||(yield*fH(t,e.parent,r))};let{isParenthesized:fY}=fR;var fQ=function*(e,r,t){var n;yield t.insertTextBefore(e,"new ");let{callee:u}=e;!fY(u,r)&&"MemberExpression"===(n=u).type&&function(e){let r=e.object,t=e.object.type;for(;"MemberExpression"===t;)t=(r=r.object).type;return"CallExpression"===t}(n)&&(yield t.insertTextBefore(u,"("),yield t.insertTextAfter(u,")"))};let{getParenthesizedRange:f0}=fR;var f1=function(e,r,t){let[,n]=f0(r.object,t),[,u]=r.range;return e.removeRange([n,u])};let{getParenthesizedRange:f2}=fR;var f3=function*(e,r,t){let n=r.callee;yield f1(e,n,t);let[,u]=f2(n,t),[,a]=r.range;yield e.removeRange([u,a])},f4=e=>"Property"===e.parent.type&&e.parent.shorthand&&e===e.parent.value,f5=(e,r)=>e&&r&&e.range[0]===r.range[0]&&e.range[1]===r.range[1];let f8=e=>"AssignmentPattern"===e.parent.type&&e.parent.left===e&&f4(e.parent),f6=e=>{let{type:r,local:t,imported:n}=e.parent;return"ImportSpecifier"===r&&f5(t,n)&&t===e},f9=e=>{let{type:r,local:t,exported:n}=e.parent;return"ExportSpecifier"===r&&f5(t,n)&&t===e};var f7=function(e,r,t){return f4(e)||f8(e)?t.replaceText(e,`${e.name}: ${r}`):f6(e)?t.replaceText(e,`${e.name} as ${r}`):f9(e)?t.replaceText(e,`${r} as ${e.name}`):e.typeAnnotation?t.replaceTextRange([e.range[0],e.typeAnnotation.range[0]],`${r}${e.optional?"?":""}`):t.replaceText(e,r)},le=({identifiers:e,references:r})=>[...new Set([...e,...r.map(({identifier:e})=>e)])];let{getParentheses:lr}=fR;var lt=function* e(r,t,n,u,a=u){let i=lr(r,a);for(let r of i)yield*e(r,"",n,u,a);let[o,s]=r.range,d=u.text.slice(0,o),[c]=d.match(/\s*$/),[f]=c.match(/(?:\r?\n|\r){0,1}/);o-=c.length,yield n.replaceTextRange([o,s],`${f}${t}`)};let{getParenthesizedRange:ln}=fR,lu=({type:e,value:r})=>"Keyword"===e&&/^[a-z]*$/.test(r)||"Identifier"===e&&"of"===r||"Identifier"===e&&"await"===r;var la={extendFixRange:fT,removeParentheses:fN,appendArgument:function(e,r,t,n){if("CallExpression"!==r.type)throw Error(`Unexpected node "${r.type}".`);let[u,a]=n.getLastTokens(r,2);return r.arguments.length>0&&(t=fM(u)?` ${t},`:`, ${t}`),e.insertTextBefore(a,t)},removeArgument:function(e,r,t){let n=r.parent,u=n.arguments.indexOf(r),a=fz(r,t),i=a[0]||r,o=a[a.length-1]||r,[s]=i.range,[,d]=o.range;if(0!==u&&(s=t.getTokenBefore(i).range[0]),1===n.arguments.length){let e=t.getTokenBefore(o);f$(e)&&(d=e[1])}return e.replaceTextRange([s,d],"")},replaceArgument:function(e,r,t,n){return e.replaceTextRange(fU(r,n),t)},switchNewExpressionToCallExpression:fX,switchCallExpressionToNewExpression:fQ,removeMemberExpressionProperty:f1,removeMethodCall:f3,replaceTemplateElement:(e,r,t)=>{let{range:[n,u],tail:a}=r;return e.replaceTextRange([n+1,u-(a?1:2)],t)},replaceReferenceIdentifier:f7,renameVariable:(e,r,t)=>le(e).map(e=>f7(e,r,t)),replaceNodeOrTokenAndSpacesBefore:lt,removeSpacesAfter:fK,fixSpaceAroundKeyword:function*(e,r,t){let n=ln(r,t),u=t.getTokenBefore({range:n},{includeComments:!0});u&&n[0]===u.range[1]&&lu(u)&&(yield e.insertTextAfter(u," "));let a=t.getTokenAfter({range:n},{includeComments:!0});a&&n[1]===a.range[0]&&lu(a)&&(yield e.insertTextBefore(a," "))},replaceStringLiteral:function(e,r,t,n,u){let a=r.range[0]+1,i=Number.isInteger(u)?n+a:a,o=Number.isInteger(u)?u+a:r.range[1]-1;return e.replaceTextRange([i,o],t)},addParenthesizesToReturnOrThrowExpression:fH};let{isMemberExpression:li}=fl;function lo(e,r){let{object:t,property:n,properties:u}={property:"",properties:[],...r};if(!li(e,{property:n,properties:u,optional:!1}))return;let a=e.object;return li(a,{object:t,property:"prototype",optional:!1})||"Array"===t&&"ArrayExpression"===a.type&&0===a.elements.length||"Object"===t&&"ObjectExpression"===a.type&&0===a.properties.length}function ls(e,r){let t=r.trim().split(".");for(let r=t.length-1;r>=0;r--){let n=t[r];if(!n)return!1;if(0===r)return"Identifier"===e.type&&e.name===n||"this"===n&&"ThisExpression"===e.type;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}var ld={isNodeMatchesNameOrPath:ls,isNodeMatches:function(e,r){return r.some(r=>ls(e,r))}},lc=e=>e?.type==="LogicalExpression"&&("&&"===e.operator||"||"===e.operator);let lf=e=>e?.type==="UnaryExpression"&&"!"===e.operator,ll=e=>lf(e.parent)&&e.parent.argument===e,lp=e=>lg(e.parent)&&e.parent.arguments[0]===e,lg=e=>e?.type==="CallExpression"&&"Identifier"===e.callee.type&&"Boolean"===e.callee.name&&1===e.arguments.length,lm=e=>e?.type==="VExpressionContainer"&&"VAttribute"===e.parent.type&&e.parent.directive&&e.parent.value===e&&"VDirectiveKey"===e.parent.key.type&&"VIdentifier"===e.parent.key.name.type&&("if"===e.parent.key.name.rawName||"else-if"===e.parent.key.name.rawName||"show"===e.parent.key.name.rawName);var ly={},lh={};Object.defineProperty(lh,"__esModule",{value:!0}),lh.isIdentifierChar=l_,lh.isIdentifierName=function(e){let r=!0;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if((64512&n)==55296&&t+1<e.length){let r=e.charCodeAt(++t);(64512&r)==56320&&(n=65536+((1023&n)<<10)+(1023&r))}if(r){if(r=!1,!lS(n))return!1}else if(!l_(n))return!1}return!r},lh.isIdentifierStart=lS;let lb="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",lv="‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",lx=RegExp("["+lb+"]"),lE=RegExp("["+lb+lv+"]");lb=lv=null;let lA=[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,16,621,2467,541,1507,4938,6,4191],lD=[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 lC(e,r){let t=65536;for(let n=0,u=r.length;n<u&&!((t+=r[n])>e);n+=2)if((t+=r[n+1])>=e)return!0;return!1}function lS(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lx.test(String.fromCharCode(e)):lC(e,lA)))}function l_(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&lE.test(String.fromCharCode(e)):lC(e,lA)||lC(e,lD))))}var lw={};Object.defineProperty(lw,"__esModule",{value:!0}),lw.isKeyword=function(e){return lT.has(e)},lw.isReservedWord=lI,lw.isStrictBindOnlyReservedWord=lB,lw.isStrictBindReservedWord=function(e,r){return lj(e,r)||lB(e)},lw.isStrictReservedWord=lj;let lF={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},lT=new Set(lF.keyword),lk=new Set(lF.strict),lP=new Set(lF.strictBind);function lI(e,r){return r&&"await"===e||"enum"===e}function lj(e,r){return lI(e,r)||lk.has(e)}function lB(e){return lP.has(e)}Object.defineProperty(ly,"__esModule",{value:!0}),Object.defineProperty(ly,"isIdentifierChar",{enumerable:!0,get:function(){return m.isIdentifierChar}}),Object.defineProperty(ly,"isIdentifierName",{enumerable:!0,get:function(){return m.isIdentifierName}}),Object.defineProperty(ly,"isIdentifierStart",{enumerable:!0,get:function(){return m.isIdentifierStart}}),Object.defineProperty(ly,"isKeyword",{enumerable:!0,get:function(){return y.isKeyword}}),Object.defineProperty(ly,"isReservedWord",{enumerable:!0,get:function(){return y.isReservedWord}}),Object.defineProperty(ly,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return y.isStrictBindOnlyReservedWord}}),Object.defineProperty(ly,"isStrictBindReservedWord",{enumerable:!0,get:function(){return y.isStrictBindReservedWord}}),Object.defineProperty(ly,"isStrictReservedWord",{enumerable:!0,get:function(){return y.isStrictReservedWord}}),m=lh,y=lw;let lO=e=>[e,...e.childScopes.flatMap(e=>lO(e))];var lR=e=>[...new Set(lO(e).flatMap(({references:e})=>e))];let{isIdentifierName:lL,isStrictReservedWord:lN,isKeyword:lM}=ly,l$=(e,r)=>{for(;r;){let t=r.set.get(e);if(t)return t;r=r.upper}},lz=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","as","implements","interface","let","package","private","protected","public","static","yield","any","boolean","constructor","declare","get","module","require","number","set","string","symbol","type","from","of"]),lU=e=>"string"==typeof e&&!lM(e)&&!lN(e,!0)&&lL(e)&&"arguments"!==e&&!lz.has(e),lW=(e,r)=>lR(r).some(({identifier:r,resolved:t})=>r?.name===e&&!t),lq=(e,r)=>!r.some(r=>l$(e,r)||lW(e,r)),lV=()=>!0;var lZ=(e,r,t=lV)=>{if(lU(e)||lU(e+="_")){for(;!lq(e,r)||!t(e,r);)e+="_";return e}};let lG=e=>"MemberExpression"===e.type||"CallExpression"===e.type,{findVariable:lH}=ro,lK=(e,r)=>{let{references:t=[]}=lH(e,r)||{};return t};var lJ=e=>("AssignmentExpression"===e.parent.type||"AssignmentPattern"===e.parent.type)&&e.parent.left===e||"UpdateExpression"===e.parent.type&&e.parent.argument===e||"ArrayPattern"===e.parent.type&&e.parent.elements.includes(e)||"Property"===e.parent.type&&e.parent.value===e&&"ObjectPattern"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent)||"UnaryExpression"===e.parent.type&&"delete"===e.parent.operator&&e.parent.argument===e;let{isUndefined:lX}=fl,lY=new Set(["ArrayExpression","ArrowFunctionExpression","ClassExpression","FunctionExpression","Literal","ObjectExpression","TemplateLiteral"]),{isUndefined:lQ,isCallExpression:l0,isMethodCall:l1}=fl,l2=new Set(["ArrayExpression","BinaryExpression","ClassExpression","Literal","ObjectExpression","TemplateLiteral","UnaryExpression","UpdateExpression"]),l3=new Set(["AssignmentExpression","AwaitExpression","LogicalExpression","NewExpression","TaggedTemplateExpression","ThisExpression"]),{getStaticValue:l4}=ro;function l5(e){let r;switch(e?.type){case"MemberExpression":r=e.property;break;case"ChainExpression":return l5(e.expression);case"Property":case"MethodDefinition":r=e.key}if(r){if("Identifier"===r.type&&!e.computed)return r.name;let t=l4(r);if(!t)return;return String(t.value)}}var l8=function e(r,t){if(r.type!==t.type)return"ChainExpression"===r.type?e(r.expression,t):"ChainExpression"===t.type&&e(r,t.expression);switch(r.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return r.name===t.name;case"Literal":return r.regex||t.regex?!!(r.regex&&t.regex&&r.regex.pattern===t.regex.pattern&&r.regex.flags===t.regex.flags):r.bigint||t.bigint?r.bigint===t.bigint:r.value===t.value;case"ChainExpression":return e(r.expression,t.expression);case"MemberExpression":{let n=l5(r);if(void 0!==n)return e(r.object,t.object)&&n===l5(t);return r.computed===t.computed&&e(r.object,t.object)&&e(r.property,t.property)}default:return!1}},l6=function(e,r){let t=function(e,r){let t=e.references.filter(e=>e.identifier===r);if(1===t.length)return t[0]}(e,r);return t?.resolved&&t.resolved.defs.length>0};let{isExpressionStatement:l9}=fl,l7=new Set(["String","Null","Boolean","Numeric","RegularExpression"]),pe=new Set(["[","(","/","`","+","-","*",",","."]);var pr=function(e,r,t){if(""===t||t&&!pe.has(t.charAt(0))||!e)return!1;let{type:n,value:u,range:a}=e,i=r.getNodeByRangeIndex(a[0]);if("Punctuator"===n){if(";"===u)return!1;if("]"===u)return!0;if(")"===u){switch(i.type){case"IfStatement":if(r.getTokenBefore(i.consequent)===e)return!1;break;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"WhileStatement":case"DoWhileStatement":case"WithStatement":if(i.body&&r.getTokenBefore(i.body)===e)return!1}return!0}}return!!l7.has(n)||("Template"===n?u.endsWith("`"):"ObjectExpression"===i.type||"Identifier"===n&&("of"!==u||"ForOfStatement"!==i.type)&&("await"!==u||"AwaitExpression"!==i.type))};let{isNumberLiteral:pt,isBigIntLiteral:pn}=fl,pu=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,pa=e=>pu.test(e);var pi={isDecimalIntegerNode:e=>pt(e)&&pa(e.raw),isDecimalInteger:pa,isNumeric:e=>pt(e)||pn(e),isLegacyOctal:e=>pt(e)&&/^0\d+$/.test(e.raw),getPrefix:function(e){let r="",t=e;return/^0[box]/i.test(e)&&(r=e.slice(0,2),t=e.slice(2)),{prefix:r,data:t}},parseNumber:function(e){let{number:r,mark:t="",sign:n="",power:u=""}=e.match(/^(?<number>[\d._]*?)(?:(?<mark>[Ee])(?<sign>[+-])?(?<power>[\d_]+))?$/).groups;return{number:r,mark:t,sign:n,power:u}},parseFloatNumber:function(e){let r=e.split("."),[t,n=""]=r,u=2===r.length?".":"";return{integer:t,dot:u,fractional:n}}};let{isDecimalIntegerNode:po}=pi;var ps=function(e,r){switch(e.type){case"Identifier":case"MemberExpression":case"CallExpression":case"ChainExpression":case"TemplateLiteral":case"ThisExpression":case"ArrayExpression":case"FunctionExpression":return!1;case"NewExpression":return!fV(e,r);case"Literal":if(po(e))return!0;return!1;default:return!0}};let pd=new Set(["CallExpression","Identifier","Literal","MemberExpression","NewExpression","TemplateLiteral","ThisExpression"]);var pc=e=>!pd.has(e.type),pf={exports:{}};pf.exports=function(){var e=[],r=[],t={},n={},u={};function a(e){return"string"==typeof e?RegExp("^"+e+"$","i"):e}function i(e,r){return e===r?r:e===e.toLowerCase()?r.toLowerCase():e===e.toUpperCase()?r.toUpperCase():e[0]===e[0].toUpperCase()?r.charAt(0).toUpperCase()+r.substr(1).toLowerCase():r.toLowerCase()}function o(e,r,n){if(!e.length||t.hasOwnProperty(e))return r;for(var u=n.length;u--;){var a=n[u];if(a[0].test(r))return function(e,r){return e.replace(r[0],function(t,n){var u,a,o=(u=r[1],a=arguments,u.replace(/\$(\d{1,2})/g,function(e,r){return a[r]||""}));return""===t?i(e[n-1],o):i(t,o)})}(r,a)}return r}function s(e,r,t){return function(n){var u=n.toLowerCase();return r.hasOwnProperty(u)?i(n,u):e.hasOwnProperty(u)?i(n,e[u]):o(u,n,t)}}function d(e,r,t,n){return function(n){var u=n.toLowerCase();return!!r.hasOwnProperty(u)||!e.hasOwnProperty(u)&&o(u,u,t)===u}}function c(e,r,t){var n=1===r?c.singular(e):c.plural(e);return(t?r+" ":"")+n}return c.plural=s(u,n,e),c.isPlural=d(u,n,e),c.singular=s(n,u,r),c.isSingular=d(n,u,r),c.addPluralRule=function(r,t){e.push([a(r),t])},c.addSingularRule=function(e,t){r.push([a(e),t])},c.addUncountableRule=function(e){if("string"==typeof e){t[e.toLowerCase()]=!0;return}c.addPluralRule(e,"$0"),c.addSingularRule(e,"$0")},c.addIrregularRule=function(e,r){r=r.toLowerCase(),u[e=e.toLowerCase()]=r,n[r]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return c.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return c.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return c.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(c.addUncountableRule),c}();var pl=pf.exports;let{singular:pp}=pl;var pg=function(e,r,t=0,n=0){let[u,a]=Array.isArray(e)?e:e.range;return{start:r.getLocFromIndex(u+t),end:r.getLocFromIndex(a+n)}};let{isParenthesized:pm,getParenthesizedTimes:py,getParentheses:ph,getParenthesizedRange:pb,getParenthesizedText:pv}=fR,{isArrayPrototypeProperty:px,isObjectPrototypeProperty:pE}={isArrayPrototypeProperty:(e,r)=>lo(e,{...r,object:"Array"}),isObjectPrototypeProperty:(e,r)=>lo(e,{...r,object:"Object"})},{isNodeMatches:pA,isNodeMatchesNameOrPath:pD}=ld,{isBooleanNode:pC,getBooleanAncestor:pS}={isBooleanNode:function e(r){if(lf(r)||ll(r)||lg(r)||lp(r))return!0;let{parent:t}=r;return!!lm(t)||("IfStatement"===t.type||"ConditionalExpression"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"ForStatement"===t.type)&&t.test===r||!!lc(t)&&e(t)},getBooleanAncestor:function(e){let r=!1;for(;;)if(ll(e))r=!r,e=e.parent;else if(lp(e))e=e.parent;else break;return{node:e,isNegative:r}}};var p_={avoidCapture:lZ,escapeString:rL,getBooleanAncestor:pS,getParentheses:ph,getParenthesizedRange:pb,getParenthesizedText:pv,getParenthesizedTimes:py,getReferences:lR,getScopes:lO,getVariableIdentifiers:le,hasOptionalChainElement:function e(r){return!!lG(r)&&(!!r.optional||"MemberExpression"===r.type&&e(r.object))},isArrayPrototypeProperty:px,isBooleanNode:pC,isFunctionSelfUsedInside:function(e,r){if(r.block!==e)throw Error('"functionScope" should be the scope of "functionNode".');let{type:t,id:n}=e;return"ArrowFunctionExpression"!==t&&(!!(r.thisFound||lK(r,"arguments").some(({from:e})=>e===r))||!!n&&lK(r,n).length>0)},isLeftHandSide:lJ,isLogicalExpression:lc,isMethodNamed:(e,r)=>"CallExpression"===e.type&&"MemberExpression"===e.callee.type&&"Identifier"===e.callee.property.type&&e.callee.property.name===r,isNodeMatches:pA,isNodeMatchesNameOrPath:pD,isNodeValueNotDomNode:e=>lY.has(e.type)||lX(e),isNodeValueNotFunction:e=>l2.has(e.type)||l3.has(e.type)||lQ(e)||l0(e)&&!l1(e,{method:"bind",optionalCall:!1,optionalMember:!1}),isObjectPrototypeProperty:pE,isOnSameLine:fZ,isParenthesized:pm,isSameIdentifier:(e,r)=>"Identifier"===e.type&&"Identifier"===r.type&&e.name===r.name,isSameReference:l8,isShadowed:l6,isValueNotUsable:e=>l9(e.parent),needsSemicolon:pr,shouldAddParenthesesToMemberExpressionObject:ps,shouldAddParenthesesToSpreadElementArgument:pc,singular:e=>{let r=pp(e);if(r!==e)return r},toLocation:pg};let{appendArgument:pw}=la,{isMethodCall:pF}=fl,{isArrayPrototypeProperty:pT}=p_,pk="require-array-join-separator";var pP=et({create:e=>({CallExpression(r){if(!(pF(r,{method:"join",argumentsLength:0,optionalCall:!1})||pF(r,{method:"call",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&pT(r.callee.object,{property:"join"})))return;let{sourceCode:t}=e,[n,u]=t.getLastTokens(r,2),a=1===r.arguments.length;return{loc:{start:n.loc[a?"end":"start"],end:u.loc.end},messageId:pk,fix:e=>pw(e,r,"','",t)}}}),meta:{type:"suggestion",docs:{description:"Enforce using the separator argument with `Array#join()`."},fixable:"code",messages:{[pk]:"Missing the separator argument."}}});let{getStaticValue:pI,getPropertyName:pj}=ro,{isMethodCall:pB}=fl,pO="no-thenable-object",pR="no-thenable-export",pL="no-thenable-class",pN=(e,r)=>pI(e,r.sourceCode.getScope(e))?.value==="then",pM=[{selector:"ObjectExpression",*getNodes(e,r){for(let t of e.properties)"Property"===t.type&&"then"===pj(t,r.sourceCode.getScope(t))&&(yield t.key)},messageId:pO},{selectors:["PropertyDefinition","MethodDefinition"],*getNodes(e,r){"then"===pj(e,r.sourceCode.getScope(e))&&(yield e.key)},messageId:pL},{selector:"MemberExpression",*getNodes(e,r){"AssignmentExpression"===e.parent.type&&e.parent.left===e&&"then"===pj(e,r.sourceCode.getScope(e))&&(yield e.property)},messageId:pO},{selector:"CallExpression",*getNodes(e,r){if(!(pB(e,{objects:["Object","Reflect"],method:"defineProperty",minimumArguments:3,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==e.arguments[0].type))return;let[,t]=e.arguments;pN(t,r)&&(yield t)},messageId:pO},{selector:"CallExpression",*getNodes(e,r){if(pB(e,{object:"Object",method:"fromEntries",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&"ArrayExpression"===e.arguments[0].type){for(let t of e.arguments[0].elements)if(t?.type==="ArrayExpression"&&t.elements[0]&&"SpreadElement"!==t.elements[0].type){let[e]=t.elements;pN(e,r)&&(yield e)}}},messageId:pO},{selector:"Identifier",*getNodes(e){"then"===e.name&&"ExportSpecifier"===e.parent.type&&e.parent.exported===e&&(yield e)},messageId:pR},{selector:"Identifier",*getNodes(e){"then"===e.name&&("FunctionDeclaration"===e.parent.type||"ClassDeclaration"===e.parent.type)&&e.parent.id===e&&"ExportNamedDeclaration"===e.parent.parent.type&&e.parent.parent.declaration===e.parent&&(yield e)},messageId:pR},{selector:"VariableDeclaration",*getNodes(e,r){if("ExportNamedDeclaration"===e.parent.type&&e.parent.declaration===e)for(let t of r.sourceCode.getDeclaredVariables(e))"then"===t.name&&(yield*t.identifiers)},messageId:pR}];var p$=et({create:e=>{for(let{selector:r,selectors:t,messageId:n,getNodes:u}of pM)e.on(r??t,function*(r){for(let t of u(r,e))yield{node:t,messageId:n}})},meta:{type:"problem",docs:{description:"Disallow `then` property."},messages:{[pO]:"Do not add `then` to an object.",[pR]:"Do not export `then`.",[pL]:"Do not add `then` to a class."}}});let{getFunctionHeadLocation:pz}=ro,{isMethodCall:pU}=fl,pW="no-invalid-remove-event-listener";var pq=et({create:e=>({CallExpression(r){if(!(pU(r,{method:"removeEventListener",minimumArguments:2,optionalCall:!1,optionalMember:!1})&&"SpreadElement"!==r.arguments[0].type&&("FunctionExpression"===r.arguments[1].type||"ArrowFunctionExpression"===r.arguments[1].type||pU(r.arguments[1],{method:"bind",optionalCall:!1,optionalMember:!1}))))return;let[,t]=r.arguments;return["ArrowFunctionExpression","FunctionExpression"].includes(t.type)?{node:t,loc:pz(t,e.sourceCode),messageId:pW}:{node:t.callee.property,messageId:pW}}}),meta:{type:"problem",docs:{description:"Prevent calling `EventTarget#removeEventListener()` with the result of an expression."},messages:{[pW]:"The listener argument should be a function reference."}}});let{getFunctionHeadLocation:pV,getFunctionNameWithKind:pZ}=ro,{getReferences:pG,isNodeMatches:pH}=p_,{functionTypes:pK}=fl,pJ="consistent-function-scoping",pX=(e,r)=>e&&r&&(e===r||e.block===r.block),pY=["useState","useEffect","useContext","useReducer","useCallback","useMemo","useRef","useImperativeHandle","useLayoutEffect","useDebugValue"].flatMap(e=>[e,`React.${e}`]),pQ=e=>e.block?.parent?.callee&&pH(e.block.parent.callee,pY),p0=e=>"function"===e.type&&e.block?.type==="ArrowFunctionExpression"&&(e.thisFound||e.childScopes.some(e=>p0(e))),p1=new Set(["FunctionExpression","ArrowFunctionExpression"]),p2=e=>p1.has(e.type)&&"CallExpression"===e.parent.type&&e.parent.callee===e;var p3=et({create:e=>{let{checkArrowFunctions:r}={checkArrowFunctions:!0,...e.options[0]},{sourceCode:t}=e,{scopeManager:n}=t,u=[];e.on(pK,()=>{u.push(!1)}),e.on("JSXElement",()=>{u.length>0&&(u[u.length-1]=!0)}),e.onExit(pK,e=>{let a=u.pop();if(!(a||"ArrowFunctionExpression"===e.type&&!r||function(e,r){let t=r.acquire(e);if(!t||p0(t))return!0;let n=e.parent;"VariableDeclarator"===n.type&&(n=n.parent),"VariableDeclaration"===n.type&&(n=n.parent),"BlockStatement"===n.type&&(n=n.parent);let u=r.acquire(n);return!!(!u||"global"===u.type||pQ(u)||p2(n))||function(e,r,t){let n=e=>e.some(e=>{if(pX(r,e.from))return!0;let{resolved:t}=e,[n]=t.defs;return(n?.type!=="FunctionName"||t.name!==n.name.name)&&pX(r,t.scope)}),u=e=>e.some(e=>{let n=t.acquire(e.node);return pX(r,n)}),a=n=>n.some(n=>{if(!n.parent||"FunctionDeclaration"!==n.parent.type)return!1;let u=t.acquire(n);if(u)return!1;let a=t.acquire(n.parent);return!(!a||pX(e,a))&&pX(r,a.upper)});return pG(e).map(({resolved:e})=>e).filter(Boolean).some(e=>n(e.references)||u(e.defs)||a(e.identifiers))}(t,u,r)}(e,n)))return{node:e,loc:pV(e,t),messageId:pJ,data:{functionNameWithKind:pZ(e,t)}}})},meta:{type:"suggestion",docs:{description:"Move function definitions to the highest possible scope."},schema:[{type:"object",additionalProperties:!1,properties:{checkArrowFunctions:{type:"boolean",default:!0}}}],messages:{[pJ]:"Move {{functionNameWithKind}} to the outer scope."}}});let{getStaticValue:p4}=ro,{isNumberLiteral:p5}=fl,p8=(e,r,t)=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.object.type&&e.object.name===r&&"Identifier"===e.property.type&&t.has(e.property.name),p6=(e,r)=>"CallExpression"===e.type&&!e.optional&&"Identifier"===e.callee.type&&e.callee.name===r,p9=new Set(["E","LN2","LN10","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"]),p7=e=>p8(e,"Math",p9),ge=new Set(["abs","acos","acosh","asin","asinh","atan","atanh","atan2","cbrt","ceil","clz32","cos","cosh","exp","expm1","floor","fround","hypot","imul","log","log1p","log10","log2","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc"]),gr=e=>"CallExpression"===e.type&&!e.optional&&p8(e.callee,"Math",ge),gt=e=>p6(e,"Number"),gn=new Set(["EPSILON","MAX_SAFE_INTEGER","MAX_VALUE","MIN_SAFE_INTEGER","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]),gu=e=>p8(e,"Number",gn),ga=new Set(["parseFloat","parseInt"]),gi=e=>"CallExpression"===e.type&&!e.optional&&p8(e.callee,"Number",ga),go=e=>p6(e,"parseInt")||p6(e,"parseFloat"),gs=(e,r)=>"number"==typeof p4(e,r)?.value,gd=e=>"MemberExpression"===e.type&&!e.computed&&!e.optional&&"Identifier"===e.property.type&&"length"===e.property.name,gc=new Set(["-","*","/","%","**","<<",">>","|","^","&"]);var gf=function e(r,t){if(p5(r)||p7(r)||gr(r)||gt(r)||gu(r)||gi(r)||go(r)||gd(r))return!0;switch(r.type){case"AssignmentExpression":{let{operator:n}=r;if("="===n&&e(r.right,t))return!0}case"BinaryExpression":{let{operator:n}=r;if("AssignmentExpression"===r.type&&(n=n.slice(0,-1)),"+"===n&&e(r.left,t)&&e(r.right,t)||">>>"===n||gc.has(n)&&(e(r.left,t)||e(r.right,t)))return!0;break}case"UnaryExpression":{let{operator:n}=r;if("+"===n||("-"===n||"~"===n)&&e(r.argument,t))return!0;break}case"UpdateExpression":if(e(r.argument,t))return!0;break;case"ConditionalExpression":{let n=e(r.consequent,t),u=e(r.alternate,t);if(n&&u)return!0;let a=p4(r.test,t);if(null!==a&&(a.value&&n||!a.value&&u))return!0;break}case"SequenceExpression":if(e(r.expressions[r.expressions.length-1],t))return!0}return gs(r,t)};let{getStaticValue:gl}=ro,{switchNewExpressionToCallExpression:gp}=la,{isNewExpression:gg}=fl,gm="error",gy="error-unknown",gh="suggestion",gb=(e,r)=>{if(1!==e.length)return"from";let[t]=e;if("SpreadElement"===t.type)return;if("ArrayExpression"===t.type||"TemplateLiteral"===t.type)return"from";if(gf(t,r))return"alloc";let n=gl(t,r);if(n){let{value:e}=n;if("string"==typeof e||Array.isArray(e))return"from"}};function gv(e,r,t){return function*(n){yield n.insertTextAfter(e.callee,`.${t}`),yield*gp(e,r,n)}}var gx=et({create:e=>{let{sourceCode:r}=e;return{NewExpression(e){if(!gg(e,{name:"Buffer"}))return;let t=gb(e.arguments,r.getScope(e));return t?{node:e,messageId:gm,data:{method:t},fix:gv(e,r,t)}:{node:e,messageId:gy,suggest:["from","alloc"].map(t=>({messageId:gh,data:{replacement:t},fix:gv(e,r,t)}))}}}},meta:{type:"problem",docs:{description:"Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`."},fixable:"code",hasSuggestions:!0,messages:{[gm]:"`new Buffer()` is deprecated, use `Buffer.{{method}}()` instead.",[gy]:"`new Buffer()` is deprecated, use `Buffer.alloc()` or `Buffer.from()` instead.",[gh]:"Switch to `Buffer.{{replacement}}()`."}}});let{isStringLiteral:gE,isMethodCall:gA}=fl,gD="no-console-spaces",gC=e=>e.length>1&&" "===e.charAt(0)&&" "!==e.charAt(1),gS=e=>e.length>1&&" "===e.charAt(e.length-1)&&" "!==e.charAt(e.length-2);var g_=et({create:e=>{let{sourceCode:r}=e,t=(e,t,n)=>{let u="leading"===n?e.range[0]+1:e.range[1]-2,a=[u,u+1];return{loc:pg(a,r),messageId:gD,data:{method:t,position:n},fix:e=>e.removeRange(a)}};return{*CallExpression(e){if(!gA(e,{object:"console",methods:["log","debug","info","warn","error"],minimumArguments:1,optionalCall:!1,optionalMember:!1}))return;let n=e.callee.property.name,{arguments:u}=e,{length:a}=u;for(let[e,i]of u.entries()){if(!gE(i)&&"TemplateLiteral"!==i.type)continue;let u=r.getText(i).slice(1,-1);0!==e&&gC(u)&&(yield t(i,n,"leading")),e!==a-1&&gS(u)&&(yield t(i,n,"trailing"))}}}},meta:{type:"suggestion",docs:{description:"Do not use leading/trailing space between `console.log` parameters."},fixable:"code",messages:{[gD]:"Do not use {{position}} space between `console.{{method}}` parameters."}}});let{isEmptyNode:gw}=fl,gF="no-empty-file",gT=e=>"ExpressionStatement"===e.type&&"string"==typeof e.directive,gk=e=>gw(e,gT),gP=e=>"Line"===e.type&&e.value.startsWith("/"),gI=e=>e.some(e=>gP(e));var gj=et({create:e=>{let r=e.physicalFilename;if(/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(r))return{Program(r){if(r.body.some(e=>!gk(e)))return;let{sourceCode:t}=e,n=t.getAllComments();if(!gI(n))return{node:r,messageId:gF}}}},meta:{type:"suggestion",docs:{description:"Disallow empty files."},messages:{[gF]:"Empty files are not allowed."}}});let{isParenthesized:gB,getParenthesizedRange:gO}=fR,{removeParentheses:gR}=la,gL="no-useless-fallback-in-spread";var gN=et({create:e=>({ObjectExpression(r){if(0===r.properties.length&&"LogicalExpression"===r.parent.type&&r.parent.right===r&&("||"===r.parent.operator||"??"===r.parent.operator)&&"SpreadElement"===r.parent.parent.type&&r.parent.parent.argument===r.parent&&"ObjectExpression"===r.parent.parent.parent.type&&r.parent.parent.parent.properties.includes(r.parent.parent))return{node:r,messageId:gL,*fix(t){let{sourceCode:n}=e,u=r.parent,{left:a}=u,i=gB(a,n),[,o]=i?gO(a,n):a.range,[,s]=u.range;yield t.removeRange([o,s]),(i||!pc(a))&&(yield*gR(u,t,n))}}}}),meta:{type:"suggestion",docs:{description:"Disallow useless fallback when spreading in object literals."},fixable:"code",messages:{[gL]:"The empty object is useless."}}});let{isMethodCall:gM,isMemberExpression:g$}=fl,{getParenthesizedRange:gz,isSameReference:gU,isLogicalExpression:gW}=p_,gq=e=>"BinaryExpression"===e.type&&"Literal"===e.right.type&&"0"===e.right.raw&&g$(e.left,{property:"length",optional:!1})&&gW(e.parent);var gV=et({create:e=>{let r=[],t=new Set,n=new Set,u=new Set,a=new Set;return{BinaryExpression(e){if(gq(e)){let{operator:r}=e;"==="===r?t.add(e):(">"===r||"!=="===r)&&n.add(e)}},CallExpression(e){gM(e,{optionalCall:!1,optionalMember:!1,computed:!1})&&"Identifier"===e.callee.property.type&&("some"===e.callee.property.name?u.add(e):"every"===e.callee.property.name&&a.add(e))},LogicalExpression(e){gW(e)&&r.push(e)},*"Program:exit"(){let i=new Set(r.flatMap(e=>(function(e){let{operator:r}=e;return(function e(r){return[r.left,r.right].flatMap(t=>"LogicalExpression"===t.type&&t.operator===r.operator?e(t):[t])})(e).filter((e,i,o)=>(function({node:e,operator:r,siblings:i}){return"||"===r&&t.has(e)&&i.some(r=>a.has(r)&&gU(e.left.object,r.callee.object))||"&&"===r&&n.has(e)&&i.some(r=>u.has(r)&&gU(e.left.object,r.callee.object))})({node:e,operator:r,siblings:[o[i-1],o[i+1]].filter(Boolean)}))})(e)));for(let r of i)yield{loc:{start:r.left.property.loc.start,end:r.loc.end},messageId:t.has(r)?"zero":"non-zero",fix(t){let{sourceCode:n}=e,{left:u,right:a}=r.parent,i=gz(u,n),o=gz(a,n),s=[];return u===r?(s[0]=i[0],s[1]=o[0]):(s[0]=i[1],s[1]=o[1]),t.removeRange(s)}}}}},meta:{type:"suggestion",docs:{description:"Disallow useless array length check."},fixable:"code",messages:{"non-zero":"The non-empty check is useless as `Array#some()` returns `false` for an empty array.",zero:"The empty check is useless as `Array#every()` returns `true` for an empty array."}}});let{getParenthesizedRange:gZ}=p_,{isFunction:gG,isMethodCall:gH}=fl;var gK=et({create:e=>{let{sourceCode:r}=e;return{CallExpression(e){if(!(gH(e,{object:"Promise",methods:["resolve","reject"],optionalCall:!1,optionalMember:!1})&&("ArrowFunctionExpression"===e.parent.type&&e.parent.body===e||"ReturnStatement"===e.parent.type&&e.parent.argument===e||"YieldExpression"===e.parent.type&&!e.parent.delegate&&e.parent.argument===e)))return;let{functionNode:t,isInTryStatement:n}=function(e){let r,t=!1;for(;e;e=e.parent){if(gG(e)){r=e;break}"TryStatement"===e.type&&(t=!0)}return{functionNode:r,isInTryStatement:t}}(e);if(t&&(t.async||function(e){if("CallExpression"===e.parent.type&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&"Identifier"===e.parent.callee.property.type){let{callee:{property:r},arguments:t}=e.parent;if(1===t.length&&("then"===r.name||"catch"===r.name||"finally"===r.name)&&t[0]===e||2===t.length&&"then"===r.name&&(t[0]===e||"SpreadElement"!==t[0].type&&t[1]===e))return!0}return!1}(t)))return function(e,r){let{callee:t,parent:n}=e,u=t.property.name,a="YieldExpression"===n.type?"yield":"return";return{node:t,messageId:u,data:{type:a},fix:r}}(e,function(e,r,t){if(e.arguments.length>1)return;let{callee:n,parent:u,arguments:[a]}=e;if(a?.type==="SpreadElement")return;let i="reject"===n.property.name,o="YieldExpression"===u.type;if(!i||!r&&(!o||"ExpressionStatement"===u.parent.type))return function(r){let n="ArrowFunctionExpression"===u.type,s=a?t.getText(a):"";if(a?.type==="SequenceExpression"&&(s=`(${s})`),i){if(s=s||"undefined",s=`throw ${s}`,o)return r.replaceTextRange(gZ(u,t),s);if(s+=";",n)return s=`{ ${s} }`,r.replaceTextRange(gZ(e,t),s)}else o?s=`yield${s?" ":""}${s}`:"ReturnStatement"===u.type?s=`return${s?" ":""}${s};`:(a?.type==="ObjectExpression"&&(s=`(${s})`),s=s||"{}");return r.replaceText(n?e:u,s)}}(e,n,r))}}},meta:{type:"suggestion",docs:{description:"Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks"},fixable:"code",messages:{resolve:"Prefer `{{type}} value` over `{{type}} Promise.resolve(value)`.",reject:"Prefer `throw error` over `{{type}} Promise.reject(error)`."}}});let{isParenthesized:gJ}=ro,{isDecimalInteger:gX}=pi,{fixSpaceAroundKeyword:gY}=la,{isNumberLiteral:gQ}=fl,g0="zero-fraction",g1="dangling-dot";var g2=et({create:e=>({Literal(r){if(!gQ(r))return;let{raw:t}=r,n=t.match(/^(?<before>[\d_]*)(?<dotAndFractions>\.[\d_]*)(?<after>.*)$/);if(!n)return;let{before:u,dotAndFractions:a,after:i}=n.groups,o=a.replace(/[.0_]+$/g,""),s=(u+o||"0")+i;if(s===t)return;let d=r.range[0]+u.length+a.length,c=d-(t.length-s.length),{sourceCode:f}=e;return{loc:pg([c,d],f),messageId:"."===a?g1:g0,*fix(e){let t=s;"MemberExpression"===r.parent.type&&r.parent.object===r&&gX(s)&&!gJ(r,f)&&(t=`(${t})`,pr(f.getTokenBefore(r),f,t)&&(t=`;${t}`)),yield e.replaceText(r,t),yield*gY(e,r,f)}}}}),meta:{type:"suggestion",docs:{description:"Disallow number literals with zero fractions or dangling dots."},fixable:"code",messages:{[g0]:"Don't use a zero fraction in the number.",[g1]:"Don't use a dangling dot in the number."}}});let{isCommaToken:g3,isOpeningBraceToken:g4,isClosingBraceToken:g5}=ro,{isStringLiteral:g8}=fl,g6="error",g9="suggestion",g7=Symbol.for("default"),me=Symbol("NAMESPACE_SPECIFIER_NAME"),mr=e=>{switch(e.type){case"Identifier":return Symbol.for(e.name);case"Literal":return e.value}},mt=e=>"type"===e.exportKind||"type"===e.parent.exportKind,mn=e=>"type"===e.importKind||"type"===e.parent.importKind;function*mu(e,r,t){switch(e.type){case"ImportSpecifier":case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":yield*function*(e,r,t){let{parent:n}=e,{specifiers:u}=n;if(1===u.length){yield*mu(n,r,t);return}switch(e.type){case"ImportSpecifier":{let n=u.some(r=>r!==e&&r.type===e.type);if(!n){let n=t.getTokenAfter(e,g5),u=t.getTokenBefore(e,g3);yield r.replaceTextRange([u.range[0],n.range[1]],"");return}}case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ImportDefaultSpecifier":{yield r.remove(e);let n=t.getTokenAfter(e);g3(n)&&(yield r.remove(n))}}}(e,r,t);return;case"ImportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":yield r.remove(e)}}function ma(e,r){let t=r.getTokenBefore(e.source,e=>"Identifier"===e.type&&"from"===e.value),[n]=t.range,[,u]=e.range;return r.text.slice(n,u)}var mi=et({create:function(e){let{sourceCode:r}=e,{ignoreUsedVariables:t}={ignoreUsedVariables:!1,...e.options[0]},n=new Set,u=[];return{ImportDeclaration(e){e.specifiers.length>0&&n.add(e)},ExportNamedDeclaration(e){g8(e.source)&&u.push(e)},*"Program:exit"(e){for(let a of n){let n=r.getDeclaredVariables(a);if(n.some(e=>1!==e.defs.length||e.defs[0].parent!==a)||(n=n.map(e=>{let t=function(e,r){let t=e.defs[0].node,n={node:t,declaration:t.parent,variable:e,isTypeImport:mn(t)};switch(t.type){case"ImportDefaultSpecifier":return{name:g7,text:"default",...n};case"ImportSpecifier":return{name:mr(t.imported),text:r.getText(t.imported),...n};case"ImportNamespaceSpecifier":return{name:me,text:"*",...n}}}(e,r),n=function(e,r){let t=[];for(let{identifier:n}of e.variable.references){let u=function(e,r){let{parent:t}=e;switch(t.type){case"ExportDefaultDeclaration":return{node:t,name:g7,text:"default",isTypeExport:mt(t)};case"ExportSpecifier":return{node:t,name:mr(t.exported),text:r.getText(t.exported),isTypeExport:mt(t)};case"VariableDeclarator":if(t.init===e&&"Identifier"===t.id.type&&!t.id.typeAnnotation&&"VariableDeclaration"===t.parent.type&&"const"===t.parent.kind&&1===t.parent.declarations.length&&t.parent.declarations[0]===t&&"ExportNamedDeclaration"===t.parent.parent.type&&function(e,r){let t=r.getDeclaredVariables(e);if(1!==t.length)return!1;let[{identifiers:n,references:u}]=t;return 1===n.length&&n[0]===e.id&&1===u.length&&u[0].identifier===e.id}(t,r))return{node:t.parent.parent,name:Symbol.for(t.id.name),text:r.getText(t.id)}}}(n,r);u&&(e.name!==me||u.name!==g7)&&t.push(u)}return t}(t,r);return{variable:e,imported:t,exports:n}}),t&&n.some(({variable:e,exports:r})=>e.references.length!==r.length)))continue;let i=t&&n.some(({variable:e})=>0===e.references.length);for(let{imported:t,exports:a}of n)for(let n of a){let a={node:n.node,messageId:g6,data:{exported:n.text}},o=function({sourceCode:e,imported:r,exported:t,exportDeclarations:n,program:u}){let a;let i=r.declaration,o=i.source,s=o.value,d=r.isTypeImport||t.isTypeExport;return d&&(a=n.find(({source:e,exportKind:r})=>e.value===s&&"type"===r)),a||(a=n.find(({source:e,exportKind:r})=>e.value===s&&"type"!==r)),function*(n){if(r.name===me)yield n.insertTextAfter(u,`
2
+ export * as ${t.text} ${ma(i,e)}`);else{let o=t.name===r.name?t.text:`${r.text} as ${t.text}`;if(d&&(!a||"type"!==a.exportKind)&&(o=`type ${o}`),a){let r=a.specifiers[a.specifiers.length-1];if(r)yield n.insertTextAfter(r,`, ${o}`);else{let r=e.getFirstToken(a,g4);yield n.insertTextAfter(r,o)}}else yield n.insertTextAfter(u,`
3
+ export {${o}} ${ma(i,e)}`)}1===r.variable.references.length&&(yield*mu(r.node,n,e)),yield*mu(t.node,n,e)}}({sourceCode:r,imported:t,exported:n,exportDeclarations:u,program:e});i?a.suggest=[{messageId:g9,fix:o}]:a.fix=o,yield a}}}}},meta:{type:"suggestion",docs:{description:"Prefer `export…from` when re-exporting."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{ignoreUsedVariables:{type:"boolean",default:!1}}}],messages:{[g6]:"Use `export…from` to re-export `{{exported}}`.",[g9]:"Switch to `export…from`."}}});let{getFunctionHeadLocation:mo,getFunctionNameWithKind:ms}=ro,{functionTypes:md}=fl,mc="prefer-native-coercion-functions",mf=new Set(["String","Number","BigInt","Boolean","Symbol"]),ml=new Set(["every","filter","find","findLast","findIndex","findLastIndex","some"]),mp=(e,r)=>e?.type==="CallExpression"&&!e.optional&&"Identifier"===e.callee.type&&mf.has(e.callee.name)&&e.arguments[0]?.type==="Identifier"&&e.arguments[0].name===r,mg=e=>"ArrowFunctionExpression"===e.type&&"Identifier"===e.body.type&&e.body.name===e.params[0].name||"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&e.body.body[0].argument?.type==="Identifier"&&e.body.body[0].argument.name===e.params[0].name,mm=e=>mg(e)&&"CallExpression"===e.parent.type&&!e.parent.optional&&e.parent.arguments[0]===e&&"MemberExpression"===e.parent.callee.type&&!e.parent.callee.computed&&!e.parent.callee.optional&&"Identifier"===e.parent.callee.property.type&&ml.has(e.parent.callee.property.name);var my=et({create:e=>{e.on(md,r=>{if(r.async||r.generator||0===r.params.length||"Identifier"!==r.params[0].type||("MethodDefinition"===r.parent.type&&("constructor"===r.parent.kind||"set"===r.parent.kind)||"Property"===r.parent.type&&"set"===r.parent.kind)&&r.parent.value===r)return;let t=function(e){if(mm(e))return{replacementFunction:"Boolean",fix:r=>r.replaceText(e,"Boolean")}}(r)||function(e){let r=function(e){let r=e.params[0].name;return"ArrowFunctionExpression"===e.type&&mp(e.body,r)?e.body:"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&mp(e.body.body[0].argument,r)?e.body.body[0].argument:void 0}(e);if(!r)return;let{name:t}=r.callee,n={replacementFunction:t};return"FunctionDeclaration"===e.type||1!==r.arguments.length||(n.fix=r=>{let n=t;return"Property"===e.parent.type&&e.parent.method&&e.parent.value===e?n=`: ${n}`:"MethodDefinition"===e.parent.type&&(n=` = ${n};`),r.replaceText(e,n)}),n}(r);if(!t)return;let{sourceCode:n}=e,{replacementFunction:u,fix:a}=t;return t={node:r,loc:mo(r,n),messageId:mc,data:{functionNameWithKind:ms(r,n),replacementFunction:u}},!a||1!==r.params.length||n.getCommentsInside(r).length>0||(t.fix=a),t})},meta:{type:"suggestion",docs:{description:"Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly."},fixable:"code",messages:{[mc]:"{{functionNameWithKind}} is equivalent to `{{replacementFunction}}`. Use `{{replacementFunction}}` directly."}}});let{ReferenceTracker:mh}=ro,mb=(e,r)=>{let t={[r]:!0},n=e.split(".").reverse();for(let e of n)t={[e]:t};return t},mv=class{#e={};#r;#t;constructor({object:e,objects:r=[e],filter:t,handle:n,type:u=mh.READ}){for(let e of r)Object.assign(this.#e,mb(e,u));this.#r=t,this.#t=n}*track(e){let r=new mh(e);for(let e of r.iterateGlobalReferences(this.#e)){if(this.#r&&!this.#r(e))continue;let r=this.#t(e);r&&(r[Symbol.iterator]?yield*r:yield r)}}createListeners(e){return{"Program:exit":r=>this.track(e.sourceCode.getScope(r))}}};Object.assign(mv,{READ:mh.READ,CALL:mh.CALL,CONSTRUCT:mh.CONSTRUCT});var mx={GlobalReferenceTracker:mv};let{GlobalReferenceTracker:mE}=mx,mA="no-document-cookie",mD=new mE({object:"document.cookie",filter:({node:e})=>"AssignmentExpression"===e.parent.type&&e.parent.left===e,handle:({node:e})=>({node:e,messageId:mA})});var mC=et({create:e=>mD.createListeners(e),meta:{type:"problem",docs:{description:"Do not use `document.cookie` directly."},messages:{[mA]:"Do not use `document.cookie` directly."}}});let mS=e=>[`webkit${e}`,`o${e.toLowerCase()}`,e.toLowerCase()];var m_=new Set(["click","rightclick","dblclick","auxclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","mousecancel","selectionchange","selectstart","wheel","keypress","keydown","keyup","blur","focus","deactivate","focusin","focusout","change","reset","select","submit","input","propertychange","dragstart","drag","dragenter","dragover","dragleave","drop","dragend","touchstart","touchmove","touchend","touchcancel","beforeunload","consolemessage","contextmenu","devicechange","devicemotion","deviceorientation","DOMContentLoaded","error","help","load","losecapture","orientationchange","readystatechange","resize","scroll","unload","canplay","canplaythrough","durationchange","emptied","ended","loadeddata","loadedmetadata","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","sourceopen","sourceended","sourceclosed","abort","update","updatestart","updateend","hashchange","pagehide","pageshow","popstate","copy","paste","cut","beforecopy","beforecut","beforepaste","online","offline","message","connect","install","activate","fetch","foreignfetch","messageerror","statechange","updatefound","controllerchange",...mS("AnimationStart"),...mS("AnimationEnd"),...mS("AnimationIteration"),...mS("TransitionEnd"),"pointerdown","pointerup","pointercancel","pointermove","pointerover","pointerout","pointerenter","pointerleave","gotpointercapture","lostpointercapture","MSGestureChange","MSGestureEnd","MSGestureHold","MSGestureStart","MSGestureTap","MSGotPointerCapture","MSInertiaStart","MSLostPointerCapture","MSPointerCancel","MSPointerDown","MSPointerEnter","MSPointerHover","MSPointerLeave","MSPointerMove","MSPointerOut","MSPointerOver","MSPointerUp","text","textinput","textInput","compositionstart","compositionupdate","compositionend","beforeinput","exit","loadabort","loadcommit","loadredirect","loadstart","loadstop","responsive","sizechanged","unresponsive","visibilitychange","storage","DOMSubtreeModified","DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMAttrModified","DOMCharacterDataModified","beforeprint","afterprint","beforeinstallprompt","appinstalled","afterblur","beforeblur","cancel","close","dragexit","encrypted","fullscreenchange","invalid","toggle","search","open","show"]);let{isParenthesized:mw}=ro,{isUndefined:mF,isNullLiteral:mT,isStaticRequire:mk}=fl,mP="prefer-add-event-listener",mI={beforeunload:"Use `event.preventDefault(); event.returnValue = 'foo'` to trigger the prompt.",message:"Note that there is difference between `SharedWorker#onmessage` and `SharedWorker#addEventListener('message')`.",error:"Note that there is difference between `{window,element}.onerror` and `{window,element}.addEventListener('error')`."},mj=e=>e.property.name,mB=e=>e.slice(2),mO=(e,r,t,n)=>{let u=mB(mj(n)),a=r.getText(n.object);mw(n.object,r)&&(a=`(${a})`);let i=r.getText(t.right);mw(t.right,r)&&(i=`(${i})`);let o=`${a}.addEventListener('${u}', ${i})`;return e.replaceText(t,o)},mR=(e,r)=>("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&"BlockStatement"===e.body.type&&!r.get(e),mL=e=>mF(e)||mT(e);var mN=et({create:e=>{let r,t;let n=e.options[0]||{},u=new Set(n.excludedPackages||["koa","sax"]),a=new WeakMap;return{onCodePathStart(e,r){t={node:r,upper:t,returnsSomething:!1}},onCodePathEnd(){a.set(t.node,t.returnsSomething),t=t.upper},CallExpression(e){mk(e)&&!r&&u.has(e.arguments[0].value)&&(r=!0)},Literal(e){"ImportDeclaration"===e.parent.type&&!r&&u.has(e.value)&&(r=!0)},ReturnStatement(e){t.returnsSomething=t.returnsSomething||!!e.argument},"AssignmentExpression:exit"(t){let n;if(r)return;let{left:u,right:i,operator:o}=t;if("MemberExpression"!==u.type||u.computed)return;let s=mj(u);if(!s||!s.startsWith("on"))return;let d=mB(s);if(!m_.has(d))return;let c="addEventListener",f="";return mL(i)?c="removeEventListener":"beforeunload"!==d||mR(i,a)?"message"===d?f=mI.message:"error"===d?f=mI.error:"="===o&&"ExpressionStatement"===t.parent.type&&t.parent.expression===t&&(n=r=>mO(r,e.sourceCode,t,u)):f=mI.beforeunload,{node:u.property,messageId:mP,data:{replacement:c,method:s,extra:f?` ${f}`:""},fix:n}}}},meta:{type:"suggestion",docs:{description:"Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{excludedPackages:{type:"array",items:{type:"string"},uniqueItems:!0}}}],messages:{[mP]:"Prefer `{{replacement}}` over `{{method}}`.{{extra}}"}}});let{hasSideEffect:mM,isParenthesized:m$,findVariable:mz}=ro,{isMethodCall:mU}=fl,{isSameIdentifier:mW,isFunctionSelfUsedInside:mq}=p_,mV=(e,r)=>"BinaryExpression"===e.type&&"==="===e.operator&&(mW(e.left,r)||mW(e.right,r)),mZ=e=>"ArrowFunctionExpression"===e.type&&!e.async&&1===e.params.length&&mV(e.body,e.params[0])||("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type)&&!e.async&&!e.generator&&1===e.params.length&&"BlockStatement"===e.body.type&&1===e.body.body.length&&"ReturnStatement"===e.body.body[0].type&&mV(e.body.body[0].argument,e.params[0]),mG=({type:e,name:r},t)=>"Identifier"===e&&r===t,mH=function({method:e,replacement:r}){let t=`prefer-${r}-over-${e}/`,n=`${t}error`,u=`${t}suggestion`,a={findIndex:"Use `.indexOf()` instead of `.findIndex()` when looking for the index of an item.",findLastIndex:"Use `.lastIndexOf()` instead of `findLastIndex() when looking for the index of an item.`",some:`Use \`.${r}()\` instead of \`.${e}()\` when checking value existence.`},i={[n]:a[e],[u]:`Replace \`.${e}()\` with \`.${r}()\`.`};return{messages:i,listen:function(t){let{sourceCode:a}=t,{scopeManager:i}=a;t.on("CallExpression",t=>{let o,s;if(!mU(t,{method:e,argumentsLength:1,optionalCall:!1,optionalMember:!1})||!mZ(t.arguments[0]))return;let[d]=t.arguments,c="BinaryExpression"===d.body.type?d.body:d.body.body[0].argument,[f]=d.params,{left:l,right:p}=c,{name:g}=f;if(mG(l,g))o=p,s=l;else{if(!mG(p,g))return;o=l,s=p}let m=i.acquire(d);if(mz(m,f).references.some(({identifier:e})=>e!==s)||mq(d,m))return;let y=t.callee.property,h={node:y,messageId:n,suggest:[]},b=function*(e){let t=a.getText(o);m$(o,a)&&!m$(d,a)&&(t=`(${t})`),yield e.replaceText(y,r),yield e.replaceText(d,t)};return mM(o,a)?h.suggest.push({messageId:u,fix:b}):h.fix=b,h})}}},mK=mH({method:"findIndex",replacement:"indexOf"}),mJ=mH({method:"findLastIndex",replacement:"lastIndexOf"});var mX=et({create(e){mK.listen(e),mJ.listen(e)},meta:{type:"suggestion",docs:{description:"Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item."},fixable:"code",hasSuggestions:!0,messages:{...mK.messages,...mJ.messages}}});let{isMethodCall:mY}=fl,mQ="error";var m0=et({create:()=>({CallExpression(e){if(!mY(e,{methods:["readAsText","readAsArrayBuffer"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let r=e.callee.property,t=r.name;return{node:r,messageId:mQ,data:{method:t,replacement:"readAsArrayBuffer"===t?"arrayBuffer":"text"}}}}),meta:{type:"suggestion",docs:{description:"Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`."},messages:{[mQ]:"Prefer `Blob#{{replacement}}()` over `FileReader#{{method}}(blob)`."}}});let{isMethodCall:m1,isCallExpression:m2,isNewExpression:m3}=fl,{fixSpaceAroundKeyword:m4}=la,m5="prefer-date",m8="prefer-date-now-over-methods",m6="prefer-date-now-over-number-data-object",m9=e=>m3(e,{name:"Date",argumentsLength:0}),m7=(e,r,t)=>({node:e,messageId:m5,*fix(r){yield r.replaceText(e,"Date.now()"),"UnaryExpression"===e.type&&(yield*m4(r,e,t))},...r});var ye=et({create:e=>({CallExpression(e){if(m1(e,{methods:["getTime","valueOf"],argumentsLength:0,optionalCall:!1,optionalMember:!1})&&m9(e.callee.object)){let r=e.callee.property;return m7(e,{node:r,messageId:m8,data:{method:r.name}})}if(m2(e,{names:["Number","BigInt"],argumentsLength:1,optional:!1})&&m9(e.arguments[0])){let{name:r}=e.callee;return"Number"===r?m7(e,{messageId:m6}):m7(e.arguments[0])}},UnaryExpression(r){if(("+"===r.operator||"-"===r.operator)&&m9(r.argument))return m7("-"===r.operator?r.argument:r,{},e.sourceCode)},AssignmentExpression(e){if(("-="===e.operator||"*="===e.operator||"/="===e.operator||"%="===e.operator||"**="===e.operator)&&m9(e.right))return m7(e.right)},*BinaryExpression(e){if("-"===e.operator||"*"===e.operator||"/"===e.operator||"%"===e.operator||"**"===e.operator)for(let r of[e.left,e.right])m9(r)&&(yield m7(r))}}),meta:{type:"suggestion",docs:{description:"Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch."},fixable:"code",messages:{[m5]:"Prefer `Date.now()` over `new Date()`.",[m8]:"Prefer `Date.now()` over `Date#{{method}}()`.",[m6]:"Prefer `Date.now()` over `Number(new Date())`."}}});let{isIdentifierName:yr}=ly,{escapeString:yt,hasOptionalChainElement:yn,isValueNotUsable:yu}=p_,{isMethodCall:ya,isStringLiteral:yi,isExpressionStatement:yo}=fl,ys="prefer-dom-node-dataset",yd=e=>e.replace(/-[a-z]/g,e=>e[1].toUpperCase());var yc=et({create:e=>({CallExpression(r){if(!((ya(r,{method:"setAttribute",argumentsLength:2,optionalCall:!1,optionalMember:!1})||ya(r,{methods:["getAttribute","removeAttribute","hasAttribute"],argumentsLength:1,optionalCall:!1,optionalMember:!1}))&&yi(r.arguments[0])))return;let t=r.arguments[0].value.toLowerCase();if(t.startsWith("data-"))return{node:r,messageId:ys,data:{method:r.callee.property.name},fix:function(e,r){let t=e.callee.property.name;if(!("setAttribute"===t&&yn(e.callee))&&("setAttribute"!==t||yu(e))&&("removeAttribute"!==t||yo(e.parent)))return n=>{let[u]=e.arguments,a=yd(u.value.toLowerCase().slice(5)),{sourceCode:i}=r,o="",s=`${i.getText(e.callee.object)}.dataset`;switch(t){case"setAttribute":case"getAttribute":case"removeAttribute":o=yr(a)?`.${a}`:`[${yt(a,u.raw.charAt(0))}]`,o=`${s}${o}`,"setAttribute"===t?o+=` = ${i.getText(e.arguments[1])}`:"removeAttribute"===t&&(o=`delete ${o}`);break;case"hasAttribute":o=`Object.hasOwn(${s}, ${yt(a,u.raw.charAt(0))})`}return n.replaceText(e,o)}}(r,e)}}}),meta:{type:"suggestion",docs:{description:"Prefer using `.dataset` on DOM elements over calling attribute methods."},fixable:"code",messages:{[ys]:"Prefer `.dataset` over `{{method}}(…)`."}}});let{getParenthesizedText:yf,getParenthesizedRange:yl,isSameReference:yp}=p_,{isLiteral:yg,isMethodCall:ym}=fl,{replaceNodeOrTokenAndSpacesBefore:yy,removeParentheses:yh}=la,yb="prefer-modern-math-apis",yv=(e,r)=>"MemberExpression"===e.type&&!e.optional&&!e.computed&&"Identifier"===e.object.type&&"Math"===e.object.name&&"Identifier"===e.property.type&&e.property.name===r,yx=(e,r)=>"CallExpression"===e.type&&!e.optional&&yv(e.callee,r)&&1===e.arguments.length&&"SpreadElement"!==e.arguments[0].type;function yE({constantName:e,replacementMethod:r}){let t=`Math.${r}(…)`;return function(n,u){let a,i;if(!("BinaryExpression"===n.type&&"*"===n.operator)||(yx(n.left,"log")&&yv(n.right,e)?(a=n.left,i=`Math.log(…) * Math.${e}`):yx(n.right,"log")&&yv(n.left,e)&&(a=n.right,i=`Math.${e} * Math.log(…)`),!a))return;let[o]=a.arguments;return{node:n,messageId:yb,data:{replacement:t,description:i},fix:e=>e.replaceText(n,`Math.${r}(${yf(o,u.sourceCode)})`)}}}function yA({constantName:e,replacementMethod:r}){let t={messageId:yb,data:{replacement:`Math.${r}(…)`,description:`Math.log(…) / Math.${e}`}};return function(n,u){if(!("BinaryExpression"===n.type&&"/"===n.operator&&yx(n.left,"log")&&yv(n.right,e)))return;let[a]=n.left.arguments;return{...t,node:n,fix:e=>e.replaceText(n,`Math.${r}(${yf(a,u.sourceCode)})`)}}}let yD=[yE({constantName:"LOG10E",replacementMethod:"log10"}),yE({constantName:"LOG2E",replacementMethod:"log2"}),yA({constantName:"LN10",replacementMethod:"log10"}),yA({constantName:"LN2",replacementMethod:"log2"})],yC=e=>"BinaryExpression"===e.type&&"+"===e.operator,yS=e=>"BinaryExpression"===e.type&&("*"===e.operator&&yp(e.left,e.right)||"**"===e.operator&&yg(e.right,2)),y_=e=>yC(e)?[e.left,e.right].flatMap(e=>y_(e)):[e];var yw=et({create:e=>{let r=[];return{CallExpression(r){if(!ym(r,{object:"Math",method:"sqrt",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let t=y_(r.arguments[0]);if(t.some(e=>!yS(e)))return;let n=1===t.length?"abs":"hypot",u=new Set(1===t.length?[]:t.map(e=>e.parent));return{node:r.callee.property,messageId:yb,data:{replacement:`Math.${n}(…)`,description:"Math.sqrt(…)"},*fix(a){let{sourceCode:i}=e;for(let e of(yield a.replaceText(r.callee.property,n),u)){let r=i.getTokenAfter(e.left,e=>"Punctuator"===e.type&&"+"===e.value);yield*yy(r,",",a,i),yield*yh(e,a,i)}for(let e of t)yield a.removeRange([yl(e.left,i)[1],e.range[1]])}}},BinaryExpression(e){r.push(e)},*"Program:exit"(){for(let t of r)for(let r of yD){let n=r(t,e);n&&(yield n)}}}},meta:{type:"suggestion",docs:{description:"Prefer modern `Math` APIs over legacy patterns."},fixable:"code",messages:{[yb]:"Prefer `{{replacement}}` over `{{description}}`."}}}),yF=en(r);let yT=e=>"function"==typeof e?.[Symbol.iterator],yk=class extends Error{},yP={abort(){throw new yk("Fix aborted.")}};function yI(e){return r=>{let t=e(r,yP);if(yT(t))try{return[...t]}catch(e){if(e instanceof yk)return;throw e}return t}}let yj=new Set;function yB(e){if(yj.has(e))return e;let r=r=>{let t={},n=(e,r)=>{t[e]??=[],t[e].push(r)},u=new Proxy(r,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[r,t]of Object.entries(e(u)??{}))n(r,t);return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>{for(let n of t)!function(e,r){if(e)for(let t of(yT(e)||(e=[e]),e)){if(t.fix&&(t.fix=yI(t.fix)),Array.isArray(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=yI(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(n(...e),r)}]))};return yj.add(r),r}function yO(e){let r=function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../${e}`);return{meta:{schema:[],...r.meta,docs:{...r.meta.docs,url:ea(e)}},create:yB(r.create)}}var yR={loadRule:yO,loadRules:function(){return Object.fromEntries(yF.readdirSync(eu.join(__dirname,".."),{withFileTypes:!0}).filter(e=>e.isFile()).map(e=>{let r=eu.basename(e.name,".js");return[r,yO(r)]}))},checkVueTemplate:function(e,r){let{visitScriptBlock:t}={visitScriptBlock:!0,...r};e=yB(e);let n=r=>{let n=e(r),{parserServices:u}=r.sourceCode;return u?.defineTemplateBodyVisitor?t?u.defineTemplateBodyVisitor(n,n):u.defineTemplateBodyVisitor(n):n};return yj.add(n),n}};let{checkVueTemplate:yL}=yR,{isNumberLiteral:yN,isBigIntLiteral:yM}=fl,y$="number-literal-case",yz=e=>{let r=e.toLowerCase();return r.startsWith("0x")&&(r="0x"+r.slice(2).toUpperCase()),r};var yU=et({create:yL(()=>({Literal(e){let{raw:r}=e,t=r;if(yN(e)?t=yz(r):yM(e)&&(t=yz(r.slice(0,-1))+"n"),r!==t)return{node:e,messageId:y$,fix:r=>r.replaceText(e,t)}}})),meta:{type:"suggestion",docs:{description:"Enforce proper case for numeric literals."},fixable:"code",messages:{[y$]:"Invalid number literal casing."}}});let{GlobalReferenceTracker:yW}=mx,{replaceReferenceIdentifier:yq}=la,{fixSpaceAroundKeyword:yV}=la,yZ="error",yG="suggestion",yH={parseInt:!0,parseFloat:!0,NaN:!0,Infinity:!0,isNaN:!1,isFinite:!1},yK=e=>{let{parent:r}=e;return"UnaryExpression"===r.type&&"-"===r.operator&&r.argument===e};var yJ=et({create:e=>{let{checkInfinity:r}={checkInfinity:!0,...e.options[0]},{sourceCode:t}=e,n=Object.keys(yH);r||(n=n.filter(e=>"Infinity"!==e));let u=new yW({objects:n,handle:e=>(function({node:e,path:[r]},t){let{parent:n}=e,u=r;"Infinity"===r&&(u=yK(e)?"NEGATIVE_INFINITY":"POSITIVE_INFINITY");let a={node:e,messageId:yZ,data:{description:r,property:u}};if("NEGATIVE_INFINITY"===u)return a.node=n,a.data.description="-Infinity",a.fix=function*(e){yield e.replaceText(n,"Number.NEGATIVE_INFINITY"),yield*yV(e,n,t)},a;let i=r=>yq(e,`Number.${u}`,r,t),o=yH[r];return o?a.fix=i:a.suggest=[{messageId:yG,fix:i}],a})(e,t),filter:({node:e})=>!lJ(e)});return u.createListeners(e)},meta:{type:"suggestion",docs:{description:"Prefer `Number` static properties over global ones."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{checkInfinity:{type:"boolean",default:!0}}}],messages:{[yZ]:"Prefer `Number.{{property}}` over `{{description}}`.",[yG]:"Replace `{{description}}` with `Number.{{property}}`."}}});let{getPropertyName:yX}=ro,{isNullLiteral:yY,isMethodCall:yQ}=fl,y0="prefer-reflect-apply",y1=(e,r)=>(yY(e)||"ThisExpression"===e.type)&&("ArrayExpression"===r.type||"Identifier"===r.type&&"arguments"===r.name),y2=(e,r,t,n)=>`Reflect.apply(${e.getText(r)}, ${e.getText(t)}, ${e.getText(n)})`,y3=(e,r)=>{if("apply"===yX(e.callee)&&2===e.arguments.length&&y1(e.arguments[0],e.arguments[1]))return t=>t.replaceText(e,y2(r,e.callee.object,e.arguments[0],e.arguments[1]))},y4=(e,r)=>{if("call"===yX(e.callee)&&"apply"===yX(e.callee.object)&&"prototype"===yX(e.callee.object.object)&&e.callee.object.object.object?.type==="Identifier"&&"Function"===e.callee.object.object.object.name&&3===e.arguments.length&&y1(e.arguments[1],e.arguments[2]))return t=>t.replaceText(e,y2(r,e.arguments[0],e.arguments[1],e.arguments[2]))};var y5=et({create:e=>({CallExpression(r){if(!yQ(r,{optionalCall:!1,optionalMember:!1})||"Literal"===r.callee.object.type||"ArrayExpression"===r.callee.object.type||"ObjectExpression"===r.callee.object.type)return;let{sourceCode:t}=e,n=y3(r,t)||y4(r,t);if(n)return{node:r,messageId:y0,fix:n}}}),meta:{type:"suggestion",docs:{description:"Prefer `Reflect.apply()` over `Function#apply()`."},fixable:"code",messages:{[y0]:"Prefer `Reflect.apply()` over `Function#apply()`."}}});let{findVariable:y8}=ro,{fixSpaceAroundKeyword:y6}=la,{isNewExpression:y9,isMemberExpression:y7}=fl,he="prefer-set-size",hr=e=>y9(e,{name:"Set"});var ht=et({create:e=>{let{sourceCode:r}=e;return{MemberExpression(e){if(!y7(e,{property:"length",optional:!1})||"ArrayExpression"!==e.object.type||1!==e.object.elements.length||e.object.elements[0]?.type!=="SpreadElement")return;let t=e.object.elements[0].argument;if(function(e,r){if(hr(e))return!0;if("Identifier"!==e.type)return!1;let t=y8(r,e);if(!t||1!==t.defs.length)return!1;let[n]=t.defs;if("Variable"!==n.type||"const"!==n.kind)return!1;let u=n.node;return"VariableDeclarator"===u.type&&"Identifier"===u.id.type&&hr(n.node.init)}(t,r.getScope(t)))return{node:e.property,messageId:he,fix:function(e,r){let{object:t,property:n}=r,u=t.elements[0].argument;if(!(e.getCommentsInside(t).length>e.getCommentsInside(u).length))return function*(a){yield a.replaceText(n,"size"),yield a.replaceText(t,e.getText(u)),yield*y6(a,r,e)}}(r,e)}}}},meta:{type:"suggestion",docs:{description:"Prefer using `Set#size` instead of `Array#length`."},fixable:"code",messages:{[he]:"Prefer using `Set#size` instead of `Array#length`."}}}),hn={exports:{}};v=String.fromCodePoint||(h=String.fromCharCode,b=Math.floor,function(){var e,r,t=[],n=-1,u=arguments.length;if(!u)return"";for(var a="";++n<u;){var i=Number(arguments[n]);if(!isFinite(i)||i<0||i>1114111||b(i)!=i)throw RangeError("Invalid code point: "+i);i<=65535?t.push(i):(i-=65536,e=(i>>10)+55296,r=i%1024+56320,t.push(e,r)),(n+1==u||t.length>16384)&&(a+=h.apply(null,t),t.length=0)}return a}),x={parse:function(e,r,t){function n(r){return r.raw=e.substring(r.range[0],r.range[1]),r}function u(e,r){return e.range[0]=r,n(e)}function a(e,r){return n({type:"anchor",kind:e,range:[J-r,J]})}function i(e,r,t,u){return n({type:"value",kind:e,codePoint:r,range:[t,u]})}function o(e,r,t,n){return n=n||0,i(e,r,J-(t.length+n),J)}function s(e){var r,t=e[0],n=t.charCodeAt(0);return K&&1===t.length&&n>=55296&&n<=56319&&(r=y().charCodeAt(0))>=56320&&r<=57343?i("symbol",(n-55296)*1024+r-56320+65536,++J-2,J):i("symbol",n,J-1,J)}function d(e,r,t,u,a){return null==u&&(t=J-1,u=J),n({type:"quantifier",min:e,max:r,greedy:!0,body:null,symbol:a,range:[t,u]})}function c(e,r,t,u){return n({type:"characterClass",kind:e.kind,body:e.body,negative:r,range:[t,u]})}function f(e,r,t,u){return e.codePoint>r.codePoint&&U("invalid range in character class",e.raw+"-"+r.raw,t,u),n({type:"characterClassRange",min:e,max:r,range:[t,u]})}function l(e){return"alternative"===e.type?e.body:[e]}function p(r){r=r||1;var t=e.substring(J,J+r);return J+=r||1,t}function g(e){m(e)||U("character",e)}function m(r){if(e.indexOf(r,J)===J)return p(r.length)}function y(){return e[J]}function h(r){return e.indexOf(r,J)===J}function b(r){return e[J+1]===r}function x(r){var t=e.substring(J).match(r);return t&&(t.range=[],t.range[0]=J,p(t[0].length),t.range[1]=J),t}function E(){var e=[],r=J;for(e.push(A());m("|");)e.push(A());return 1===e.length?e[0]:n({type:"disjunction",body:e,range:[r,J]})}function A(){for(var r,o=[],d=J;r=function(){if(J>=e.length||h("|")||h(")"))return null;var r=m("^")?a("start",1):m("$")?a("end",1):m("\\b")?a("boundary",2):m("\\B")?a("not-boundary",2):D("(?=","lookahead","(?!","negativeLookahead");if(!r){var o=function(){if((r=x(/^[^^$\\.*+?()[\]{}|]/))||!K&&(r=x(/^(?:]|})/)))return s(r);if(m("."))return n({type:"dot",range:[J-1,J]});if(m("\\")){if(!(r=w())){if(!K&&"c"==y())return i("symbol",92,J-1,J);U("atomEscape")}return r}if(r=O())return r;if(t.lookbehind&&(r=D("(?<=","lookbehind","(?<!","negativeLookbehind")))return r;if(t.namedGroups&&m("(?<")){var r,u,a,o,d,c,f=I();g(">");var l=C("normal",f.range[0]-3);return l.name=f,l}else return t.modifiers&&e.indexOf("(?")==J&&":"!=e[J+2]?(a=J,p(2),o=x(/^[sim]+/),m("-")?(u=x(/^[sim]+/))||U("Invalid flags for modifiers group"):o||U("Invalid flags for modifiers group"),((d=(o=o?o[0]:"")+(u=u?u[0]:"")).length>3||function(e){for(var r=0;r<e.length;){if(-1!=e.indexOf(e[r],r+1))return!0;r++}return!1}(d))&&U("flags cannot be duplicated for modifiers group"),g(":"),(c=C("ignore",a)).modifierFlags={enabling:o,disabling:u},c):D("(?:","ignore","(","normal")}();if(!o){var d,c,f=J;(d=S()||!1)&&(J=f,U("Expected atom")),!K&&(c=x(/^{/))?o=s(c):U("Expected atom")}r=o}return(d=S()||!1)?(d.body=l(r),u(d,r.range[0]),d):r}();)o.push(r);return 1===o.length?o[0]:n({type:"alternative",body:o,range:[d,J]})}function D(e,r,t,n){var u=null,a=J;if(m(e))u=r;else{if(!m(t))return!1;u=n}return C(u,a)}function C(e,r){var t=E();t||U("Expected disjunction"),g(")");var u=n({type:"group",behavior:e,body:l(t),range:[r,J]});return"normal"==e&&V&&q++,u}function S(){var e,r,t,n,u=J;return m("*")?e=d(0,void 0,void 0,void 0,"*"):m("+")?e=d(1,void 0,void 0,void 0,"+"):m("?")?e=d(0,1,void 0,void 0,"?"):(n=x(/^\{([0-9]+)\}/))?e=d(r=parseInt(n[1],10),r,n.range[0],n.range[1]):(n=x(/^\{([0-9]+),\}/))?e=d(r=parseInt(n[1],10),void 0,n.range[0],n.range[1]):(n=x(/^\{([0-9]+),([0-9]+)\}/))&&((r=parseInt(n[1],10))>(t=parseInt(n[2],10))&&U("numbers out of order in {} quantifier","",u,J),e=d(r,t,n.range[0],n.range[1])),(r&&!Number.isSafeInteger(r)||t&&!Number.isSafeInteger(t))&&U("iterations outside JS safe integer range in quantifier","",u,J),e&&m("?")&&(e.greedy=!1,e.range[1]+=1),e}function _(e){if(K){var r,t;if("unicodeEscape"==e.kind&&(r=e.codePoint)>=55296&&r<=56319&&h("\\")&&b("u")){var u=J;J++;var a=w(!0);"unicodeEscape"==a.kind&&(t=a.codePoint)>=56320&&t<=57343?(e.range[1]=a.range[1],e.codePoint=(r-55296)*1024+t-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",n(e)):J=u}}return e}function w(e){var r,a,i=J;if(a=function(e){var r,t,a=J;if(r=x(/^(?!0)\d+/)){t=r[0];var i,d=parseInt(r[0],10);return d<=q&&!e?n({type:"reference",matchIndex:parseInt(i=r[0],10),range:[J-1-i.length,J]}):(W.push(d),V?Z=!0:F(a,J),p(-r[0].length),r=x(/^[0-7]{1,3}/))?o("octal",parseInt(r[0],8),r[0],1):u(r=s(x(/^[89]/)),r.range[0]-1)}return!!(r=x(/^[0-7]{1,3}/))&&(("0"!==(t=r[0])&&F(a,J),/^0{1,3}$/.test(t))?o("null",0,"0",t.length):o("octal",parseInt(t,8),t,1))}(e)||function(){if(t.namedGroups&&x(/^k<(?=.*?>)/)){var e=I();return g(">"),n({type:"reference",name:e,range:[e.range[0]-3,J]})}}())return a;if(e){if(m("b"))return o("singleEscape",8,"\\b");if(m("B"))U("\\B not possible inside of CharacterClass","",i);else if(!K&&(a=x(/^c([0-9])/)))return o("controlLetter",a[1]+16,a[1],2);else if(!K&&(a=x(/^c_/)))return o("controlLetter",31,"_",2);if(K&&m("-"))return o("singleEscape",45,"\\-")}return((r=x(/^[dDsSwW]/))?n({type:"characterClassEscape",value:r[0],range:[J-2,J]}):t.unicodePropertyEscape&&K&&(r=x(/^([pP])\{([^\}]+)\}/))?n({type:"unicodePropertyEscape",negative:"P"===r[1],value:r[2],range:[r.range[0]-1,r.range[1]],raw:r[0]}):!!(t.unicodeSet&&H&&m("q{"))&&function(){var e=J-3,r=[];do r.push(function(){for(var e,r=[],t=J;e=M();)r.push(e);return n({type:"classString",characters:r,range:[t,J]})}());while(m("|"));return g("}"),n({type:"classStrings",strings:r,range:[e,J]})}())||k()}function F(e,r){K&&U("Invalid decimal escape in unicode mode",null,e,r)}function T(){var e;return(e=x(/^u([0-9a-fA-F]{4})/))?_(o("unicodeEscape",parseInt(e[1],16),e[1],2)):K&&(e=x(/^u\{([0-9a-fA-F]+)\}/))?o("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):void 0}function k(){var e,r,n,u=J;if(n=x(/^[fnrtv]/)){var a=0;switch(n[0]){case"t":a=9;break;case"n":a=10;break;case"v":a=11;break;case"f":a=12;break;case"r":a=13}return o("singleEscape",a,"\\"+n[0])}return(n=x(/^c([a-zA-Z])/))?o("controlLetter",n[1].charCodeAt(0)%32,n[1],2):(n=x(/^x([0-9a-fA-F]{2})/))?o("hexadecimalEscape",parseInt(n[1],16),n[1],2):(n=T())?((!n||n.codePoint>1114111)&&U("Invalid escape sequence",null,u,J),n):(r=y(),K&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(r)||!K&&"c"!==r?"k"===r&&t.lookbehind?null:o("identifier",(e=p()).charCodeAt(0),e,1):null)}function P(r){var t=y(),n=J;if("\\"===t){p();var u=T();return u&&r(u.codePoint)||U("Invalid escape sequence",null,n,J),v(u.codePoint)}var a=t.charCodeAt(0);if(a>=55296&&a<=56319){var i=(t+=e[J+1]).charCodeAt(1);i>=56320&&i<=57343&&(a=(a-55296)*1024+i-56320+65536)}if(r(a))return p(),a>65535&&p(),t}function I(){var e,r=J,t=P(j);for(t||U("Invalid identifier");e=P(B);)t+=e;return n({type:"identifier",value:t,range:[r,J]})}function j(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=128&&/[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/.test(v(e))}function B(e){return j(e)||e>=48&&e<=57||e>=128&&/[0-9_\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/.test(v(e))}function O(){var e,r=J;return(e=x(/^\[\^/))?(e=R(),g("]"),c(e,!0,r,J)):m("[")?(e=R(),g("]"),c(e,!1,r,J)):null}function R(){var e,r;return h("]")?{kind:"union",body:[]}:H?function(){var e,r=[],t=N(!0);for(r.push(t),e="classRange"===t.type?"union":h("&")?"intersection":h("-")?"subtraction":"union";!h("]");)"intersection"===e?(g("&"),g("&"),h("&")&&U("&& cannot be followed by &. Wrap it in brackets: &&[&].")):"subtraction"===e&&(g("-"),g("-")),r.push(t=N("union"===e));return{kind:e,body:r}}():((r=L())||U("classAtom"),(e=h("]")?[r]:function e(r){if(h("-")&&!b("]")){t=r.range[0],i=s(m("-")),(a=L())||U("classAtom"),n=J;var t,n,u,a,i,o,d=R();return(d||U("classRanges"),"codePoint"in r&&"codePoint"in a?u=[f(r,a,t,n)]:K?U("invalid character class"):u=[r,i,a],"empty"===d.type)?u:u.concat(d.body)}return(o=L())||U("classAtom"),(u=h("]")?o:e(o))||U("nonEmptyClassRangesNoDash"),[r].concat(u)}(r))||U("nonEmptyClassRanges"),{kind:"union",body:e})}function L(){var e;return m("-")?s("-"):(e=x(/^[^\\\]-]/))?s(e[0]):m("\\")?((e=w(!0))||U("classEscape"),_(e)):void 0}function N(e){var r,t,n=J;if(m("\\")){if(t=w(!0))r=t;else{if(t=z())return t;U("Invalid escape","\\"+y(),n)}}else if(t=$())r=t;else{if(t=O())return t;U("Invalid character",y())}if(e&&h("-")&&!b("-")){if(g("-"),t=M())return f(r,t,n,J);U("Invalid range end",y())}return r}function M(){if(m("\\")){var e,r=J;if(e=z())return e;U("Invalid escape","\\"+y(),r)}return $()}function $(){var e;if(e=x(/^[^()[\]{}/\-\\|]/))return s(e)}function z(){var e;if(m("b"))return o("singleEscape",8,"\\b");if(m("B"))U("\\B not possible inside of ClassContents","",J-2);else if(e=x(/^[&\-!#%,:;<=>@_`~]/))return o("identifier",e[0].codePointAt(0),e[0]);else if(e=k())return e;else return null}function U(r,t,n,u){n=null==n?J:n,u=null==u?n:u;var a=Math.max(0,n-10),i=Math.min(u+10,e.length),o=" "+e.substring(a,i),s=" "+Array(n-a+1).join(" ")+"^";throw SyntaxError(r+" at position "+n+(t?": "+t:"")+"\n"+o+"\n"+s)}t||(t={});var W=[],q=0,V=!0,Z=!1,G=-1!==(r||"").indexOf("u"),H=-1!==(r||"").indexOf("v"),K=G||H,J=0;if(H&&!t.unicodeSet)throw Error('The "v" flag is only supported when the .unicodeSet option is enabled.');if(G&&H)throw Error('The "u" and "v" flags are mutually exclusive.');""===(e=String(e))&&(e="(?:)");var X=E();return(X.range[1]!==e.length&&U("Could not parse entire input - got stuck","",X.range[1]),Z=Z||W.some(function(e){return e<=q}))?(J=0,V=!1,E()):X}},hn.exports?hn.exports=x:window.regjsparser=x;var hu=hn.exports;let{getStaticValue:ha}=ro,{parse:hi}=hu,{isRegexLiteral:ho,isNewExpression:hs,isMethodCall:hd}=fl,hc="method",hf="pattern",hl=(e,r)=>{if(ho(e))return e.regex.flags.includes("g");if(hs(e,{name:"RegExp"})&&e.arguments[0]?.type!=="SpreadElement"&&e.arguments[1]?.type==="Literal"&&"string"==typeof e.arguments[1].value)return e.arguments[1].value.includes("g");let t=ha(e,r);if(!t)return!1;let{value:n}=t;return"[object RegExp]"===Object.prototype.toString.call(n)&&n.global};var hp=et({create:e=>({CallExpression(r){if(!hd(r,{methods:["replace","replaceAll"],argumentsLength:2,optionalCall:!1,optionalMember:!1}))return;let{arguments:[t],callee:{property:n}}=r;if(!hl(t,e.sourceCode.getScope(t)))return;let u=n.name,a=function(e){let r;if(!ho(e))return;let{pattern:t,flags:n}=e.regex;if("g"!==n.replace("u",""))return;try{r=hi(t,n,{unicodePropertyEscape:!0,namedGroups:!0,lookbehind:!0})}catch{return}let u="alternative"===r.type?r.body:[r];if(u.some(e=>"value"!==e.type))return;let a=String.fromCodePoint(...u.map(e=>e.codePoint));return rL(a)}(t);if("replaceAll"===u){if(!a)return;return{node:t,messageId:hf,data:{replacement:a.length<20?a:"a string literal"},fix:e=>e.replaceText(t,a)}}return{node:n,messageId:hc,*fix(e){yield e.insertTextAfter(n,"All"),a&&(yield e.replaceText(t,a))}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#replaceAll()` over regex searches with the global flag."},fixable:"code",messages:{[hc]:"Prefer `String#replaceAll()` over `String#replace()`.",[hf]:"This pattern can be replaced with {{replacement}}."}}});let{getStaticValue:hg}=ro,{getParenthesizedText:hm,getParenthesizedRange:hy}=fR,{replaceArgument:hh}=la,{isNumberLiteral:hb,isMethodCall:hv}=fl,hx=e=>hb(e)?e.value:"UnaryExpression"===e.type&&"-"===e.operator?-hx(e.argument):void 0,hE=e=>e?.type==="MemberExpression"&&!1===e.computed&&"Identifier"===e.property.type&&"length"===e.property.name;var hA=et({create:e=>({CallExpression(r){if(!hv(r,{methods:["substr","substring"]}))return;let t=r.callee.property.name;return{node:r,messageId:t,*fix(n,{abort:u}){if(yield n.replaceText(r.callee.property,"slice"),0!==r.arguments.length){if(r.arguments.length>2||r.arguments.some(e=>"SpreadElement"===e.type))return u();yield*("substr"===t?function*({node:e,fixer:r,context:t,abort:n}){let u=e.arguments,[a,i]=u;if(!i)return;let{sourceCode:o}=t,s=o.getScope(e),d=hg(a,s),c=hy(i,o),f=e=>hh(r,i,e,o);if(d?.value===0){if(hb(i)||hE(i))return;if("number"==typeof hx(i)){yield f(Math.max(0,hx(i)));return}yield r.insertTextBeforeRange(c,"Math.max(0, "),yield r.insertTextAfterRange(c,")");return}if(u.every(e=>hb(e))){yield f(a.value+i.value);return}if(u.every(e=>gf(e,s))){let e=hm(a,o);yield r.insertTextBeforeRange(c,`${e} + `);return}return n()}:function*({node:e,fixer:r,context:t,abort:n}){let{sourceCode:u}=t,[a,i]=e.arguments,o=a?hx(a):void 0,s=hm(a,u),d=e=>hh(r,a,e,u);if(!i){if(hE(a))return;if(void 0!==o){yield d(Math.max(0,o));return}let e=hy(a,u);yield r.insertTextBeforeRange(e,"Math.max(0, "),yield r.insertTextAfterRange(e,")");return}let c=hx(i),f=hm(i,u),l=e=>hh(r,i,e,u);if(void 0!==o&&void 0!==c){let e=[Math.max(0,o),Math.max(0,c)];o>c&&e.reverse(),e[0]!==o&&(yield d(e[0])),e[1]!==c&&(yield l(e[1]));return}if(0===o||0===c){yield d(0),yield l(`Math.max(0, ${0===o?f:s})`);return}return n()})({node:r,fixer:n,context:e,abort:u})}}}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#slice()` over `String#substr()` and `String#substring()`."},fixable:"code",messages:{substr:"Prefer `String#slice()` over `String#substr()`.",substring:"Prefer `String#slice()` over `String#substring()`."}}});let{isMethodCall:hD}=fl,hC="prefer-string-trim-start-end";var hS=et({create:()=>({CallExpression(e){if(!hD(e,{methods:["trimLeft","trimRight"],argumentsLength:0,optionalCall:!1}))return;let r=e.callee.property,t=r.name,n="trimLeft"===t?"trimStart":"trimEnd";return{node:r,messageId:hC,data:{method:t,replacement:n},fix:e=>e.replaceText(r,n)}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`."},fixable:"code",messages:{[hC]:"Prefer `String#{{replacement}}()` over `String#{{method}}()`."}}});let{isParenthesized:h_,getParenthesizedRange:hw,toLocation:hF}=p_,hT="no-unreadable-iife";var hk=et({create:e=>({CallExpression(r){let{sourceCode:t}=e;if("ArrowFunctionExpression"===r.callee.type&&"BlockStatement"!==r.callee.body.type&&h_(r.callee.body,t))return{node:r,loc:hF(hw(r.callee.body,t),t),messageId:hT}}}),meta:{type:"suggestion",docs:{description:"Disallow unreadable IIFEs."},hasSuggestions:!1,messages:{[hT]:"IIFE with parenthesized arrow function body is considered unreadable."}}});let{switchCallExpressionToNewExpression:hP}=la,hI="throw-new-error",hj=/^(?:[A-Z][\da-z]*)*Error$/;var hB=et({create:e=>({CallExpression(r){if(!("ThrowStatement"===r.parent.type&&r.parent.argument===r))return;let{callee:t}=r;if("Identifier"===t.type&&hj.test(t.name)||"MemberExpression"===t.type&&!t.computed&&"Identifier"===t.property.type&&hj.test(t.property.name))return{node:r,messageId:hI,fix:t=>hP(r,e.sourceCode,t)}}}),meta:{type:"suggestion",docs:{description:"Require `new` when throwing an error."},fixable:"code",messages:{[hI]:"Use `new` when throwing an error."}}}),hO=/[|\\{}()[\]^$+*?.]/g,hR=new Map([["[0-9]",{value:"\\d"}],["[^0-9]",{value:"\\D"}],["[a-zA-Z0-9_]",{value:"\\w"}],["[a-zA-Z_0-9]",{value:"\\w"}],["[a-z0-9A-Z_]",{value:"\\w"}],["[a-z0-9_A-Z]",{value:"\\w"}],["[a-z_A-Z0-9]",{value:"\\w"}],["[a-z_0-9A-Z]",{value:"\\w"}],["[A-Za-z0-9_]",{value:"\\w"}],["[A-Za-z_0-9]",{value:"\\w"}],["[A-Z0-9a-z_]",{value:"\\w"}],["[A-Z0-9_a-z]",{value:"\\w"}],["[A-Z_a-z0-9]",{value:"\\w"}],["[A-Z_0-9a-z]",{value:"\\w"}],["[0-9a-zA-Z_]",{value:"\\w"}],["[0-9a-z_A-Z]",{value:"\\w"}],["[0-9A-Za-z_]",{value:"\\w"}],["[0-9A-Z_a-z]",{value:"\\w"}],["[0-9_a-zA-Z]",{value:"\\w"}],["[0-9_A-Za-z]",{value:"\\w"}],["[_a-zA-Z0-9]",{value:"\\w"}],["[_a-z0-9A-Z]",{value:"\\w"}],["[_A-Za-z0-9]",{value:"\\w"}],["[_A-Z0-9a-z]",{value:"\\w"}],["[_0-9a-zA-Z]",{value:"\\w"}],["[_0-9A-Za-z]",{value:"\\w"}],["[a-zA-Z\\d_]",{value:"\\w"}],["[a-zA-Z_\\d]",{value:"\\w"}],["[a-z\\dA-Z_]",{value:"\\w"}],["[a-z\\d_A-Z]",{value:"\\w"}],["[a-z_A-Z\\d]",{value:"\\w"}],["[a-z_\\dA-Z]",{value:"\\w"}],["[A-Za-z\\d_]",{value:"\\w"}],["[A-Za-z_\\d]",{value:"\\w"}],["[A-Z\\da-z_]",{value:"\\w"}],["[A-Z\\d_a-z]",{value:"\\w"}],["[A-Z_a-z\\d]",{value:"\\w"}],["[A-Z_\\da-z]",{value:"\\w"}],["[\\da-zA-Z_]",{value:"\\w"}],["[\\da-z_A-Z]",{value:"\\w"}],["[\\dA-Za-z_]",{value:"\\w"}],["[\\dA-Z_a-z]",{value:"\\w"}],["[\\d_a-zA-Z]",{value:"\\w"}],["[\\d_A-Za-z]",{value:"\\w"}],["[_a-zA-Z\\d]",{value:"\\w"}],["[_a-z\\dA-Z]",{value:"\\w"}],["[_A-Za-z\\d]",{value:"\\w"}],["[_A-Z\\da-z]",{value:"\\w"}],["[_\\da-zA-Z]",{value:"\\w"}],["[_\\dA-Za-z]",{value:"\\w"}],["[^a-zA-Z0-9_]",{value:"\\W"}],["[^a-zA-Z_0-9]",{value:"\\W"}],["[^a-z0-9A-Z_]",{value:"\\W"}],["[^a-z0-9_A-Z]",{value:"\\W"}],["[^a-z_A-Z0-9]",{value:"\\W"}],["[^a-z_0-9A-Z]",{value:"\\W"}],["[^A-Za-z0-9_]",{value:"\\W"}],["[^A-Za-z_0-9]",{value:"\\W"}],["[^A-Z0-9a-z_]",{value:"\\W"}],["[^A-Z0-9_a-z]",{value:"\\W"}],["[^A-Z_a-z0-9]",{value:"\\W"}],["[^A-Z_0-9a-z]",{value:"\\W"}],["[^0-9a-zA-Z_]",{value:"\\W"}],["[^0-9a-z_A-Z]",{value:"\\W"}],["[^0-9A-Za-z_]",{value:"\\W"}],["[^0-9A-Z_a-z]",{value:"\\W"}],["[^0-9_a-zA-Z]",{value:"\\W"}],["[^0-9_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z0-9]",{value:"\\W"}],["[^_a-z0-9A-Z]",{value:"\\W"}],["[^_A-Za-z0-9]",{value:"\\W"}],["[^_A-Z0-9a-z]",{value:"\\W"}],["[^_0-9a-zA-Z]",{value:"\\W"}],["[^_0-9A-Za-z]",{value:"\\W"}],["[^a-zA-Z\\d_]",{value:"\\W"}],["[^a-zA-Z_\\d]",{value:"\\W"}],["[^a-z\\dA-Z_]",{value:"\\W"}],["[^a-z\\d_A-Z]",{value:"\\W"}],["[^a-z_A-Z\\d]",{value:"\\W"}],["[^a-z_\\dA-Z]",{value:"\\W"}],["[^A-Za-z\\d_]",{value:"\\W"}],["[^A-Za-z_\\d]",{value:"\\W"}],["[^A-Z\\da-z_]",{value:"\\W"}],["[^A-Z\\d_a-z]",{value:"\\W"}],["[^A-Z_a-z\\d]",{value:"\\W"}],["[^A-Z_\\da-z]",{value:"\\W"}],["[^\\da-zA-Z_]",{value:"\\W"}],["[^\\da-z_A-Z]",{value:"\\W"}],["[^\\dA-Za-z_]",{value:"\\W"}],["[^\\dA-Z_a-z]",{value:"\\W"}],["[^\\d_a-zA-Z]",{value:"\\W"}],["[^\\d_A-Za-z]",{value:"\\W"}],["[^_a-zA-Z\\d]",{value:"\\W"}],["[^_a-z\\dA-Z]",{value:"\\W"}],["[^_A-Za-z\\d]",{value:"\\W"}],["[^_A-Z\\da-z]",{value:"\\W"}],["[^_\\da-zA-Z]",{value:"\\W"}],["[^_\\dA-Za-z]",{value:"\\W"}],["[a-z0-9_]",{value:"\\w",flags:"i"}],["[a-z_0-9]",{value:"\\w",flags:"i"}],["[0-9a-z_]",{value:"\\w",flags:"i"}],["[0-9_a-z]",{value:"\\w",flags:"i"}],["[_a-z0-9]",{value:"\\w",flags:"i"}],["[_0-9a-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[a-z\\d_]",{value:"\\w",flags:"i"}],["[a-z_\\d]",{value:"\\w",flags:"i"}],["[\\da-z_]",{value:"\\w",flags:"i"}],["[\\d_a-z]",{value:"\\w",flags:"i"}],["[_a-z\\d]",{value:"\\w",flags:"i"}],["[_\\da-z]",{value:"\\w",flags:"i"}],["[^a-z0-9_]",{value:"\\W",flags:"i"}],["[^a-z_0-9]",{value:"\\W",flags:"i"}],["[^0-9a-z_]",{value:"\\W",flags:"i"}],["[^0-9_a-z]",{value:"\\W",flags:"i"}],["[^_a-z0-9]",{value:"\\W",flags:"i"}],["[^_0-9a-z]",{value:"\\W",flags:"i"}],["[^a-z\\d_]",{value:"\\W",flags:"i"}],["[^a-z_\\d]",{value:"\\W",flags:"i"}],["[^\\da-z_]",{value:"\\W",flags:"i"}],["[^\\d_a-z]",{value:"\\W",flags:"i"}],["[^_a-z\\d]",{value:"\\W",flags:"i"}],["[^_\\da-z]",{value:"\\W",flags:"i"}]]);let hL=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(hO,"\\$&")},hN=(e,r)=>!r||r.split("").every(r=>e.includes(r));function hM(e){return e?h$[e.type](e):""}var h$={RegExp:function(e){return"/"+hM(e.body)+"/"+e.flags},Alternative:function(e){return(e.expressions||[]).map(hM).join("")},Disjunction:function(e){return hM(e.left)+"|"+hM(e.right)},Group:function(e){var r=hM(e.expression);return e.capturing?e.name?"(?<"+(e.nameRaw||e.name)+">"+r+")":"("+r+")":"(?:"+r+")"},Backreference:function(e){switch(e.kind){case"number":return"\\"+e.reference;case"name":return"\\k<"+(e.referenceRaw||e.reference)+">";default:throw TypeError("Unknown Backreference kind: "+e.kind)}},Assertion:function(e){switch(e.kind){case"^":case"$":case"\\b":case"\\B":return e.kind;case"Lookahead":var r=hM(e.assertion);if(e.negative)return"(?!"+r+")";return"(?="+r+")";case"Lookbehind":var t=hM(e.assertion);if(e.negative)return"(?<!"+t+")";return"(?<="+t+")";default:throw TypeError("Unknown Assertion kind: "+e.kind)}},CharacterClass:function(e){var r=e.expressions.map(hM).join("");return e.negative?"[^"+r+"]":"["+r+"]"},ClassRange:function(e){return hM(e.from)+"-"+hM(e.to)},Repetition:function(e){return""+hM(e.expression)+hM(e.quantifier)},Quantifier:function(e){var r=void 0,t=e.greedy?"":"?";switch(e.kind){case"+":case"?":case"*":r=e.kind;break;case"Range":r=e.from===e.to?"{"+e.from+"}":e.to?"{"+e.from+","+e.to+"}":"{"+e.from+",}";break;default:throw TypeError("Unknown Quantifier kind: "+e.kind)}return""+r+t},Char:function(e){var r=e.value;switch(e.kind){case"simple":if(e.escaped)return"\\"+r;return r;case"hex":case"unicode":case"oct":case"decimal":case"control":case"meta":return r;default:throw TypeError("Unknown Char kind: "+e.kind)}},UnicodeProperty:function(e){return"\\"+(e.negative?"P":"p")+"{"+(e.shorthand||e.binary?"":e.name+"=")+e.value+"}"}},hz={generate:hM},hU={General_Category:"gc",Script:"sc",Script_Extensions:"scx"},hW=hJ(hU),hq={ASCII:"ASCII",ASCII_Hex_Digit:"AHex",Alphabetic:"Alpha",Any:"Any",Assigned:"Assigned",Bidi_Control:"Bidi_C",Bidi_Mirrored:"Bidi_M",Case_Ignorable:"CI",Cased:"Cased",Changes_When_Casefolded:"CWCF",Changes_When_Casemapped:"CWCM",Changes_When_Lowercased:"CWL",Changes_When_NFKC_Casefolded:"CWKCF",Changes_When_Titlecased:"CWT",Changes_When_Uppercased:"CWU",Dash:"Dash",Default_Ignorable_Code_Point:"DI",Deprecated:"Dep",Diacritic:"Dia",Emoji:"Emoji",Emoji_Component:"Emoji_Component",Emoji_Modifier:"Emoji_Modifier",Emoji_Modifier_Base:"Emoji_Modifier_Base",Emoji_Presentation:"Emoji_Presentation",Extended_Pictographic:"Extended_Pictographic",Extender:"Ext",Grapheme_Base:"Gr_Base",Grapheme_Extend:"Gr_Ext",Hex_Digit:"Hex",IDS_Binary_Operator:"IDSB",IDS_Trinary_Operator:"IDST",ID_Continue:"IDC",ID_Start:"IDS",Ideographic:"Ideo",Join_Control:"Join_C",Logical_Order_Exception:"LOE",Lowercase:"Lower",Math:"Math",Noncharacter_Code_Point:"NChar",Pattern_Syntax:"Pat_Syn",Pattern_White_Space:"Pat_WS",Quotation_Mark:"QMark",Radical:"Radical",Regional_Indicator:"RI",Sentence_Terminal:"STerm",Soft_Dotted:"SD",Terminal_Punctuation:"Term",Unified_Ideograph:"UIdeo",Uppercase:"Upper",Variation_Selector:"VS",White_Space:"space",XID_Continue:"XIDC",XID_Start:"XIDS"},hV=hJ(hq),hZ={Cased_Letter:"LC",Close_Punctuation:"Pe",Connector_Punctuation:"Pc",Control:["Cc","cntrl"],Currency_Symbol:"Sc",Dash_Punctuation:"Pd",Decimal_Number:["Nd","digit"],Enclosing_Mark:"Me",Final_Punctuation:"Pf",Format:"Cf",Initial_Punctuation:"Pi",Letter:"L",Letter_Number:"Nl",Line_Separator:"Zl",Lowercase_Letter:"Ll",Mark:["M","Combining_Mark"],Math_Symbol:"Sm",Modifier_Letter:"Lm",Modifier_Symbol:"Sk",Nonspacing_Mark:"Mn",Number:"N",Open_Punctuation:"Ps",Other:"C",Other_Letter:"Lo",Other_Number:"No",Other_Punctuation:"Po",Other_Symbol:"So",Paragraph_Separator:"Zp",Private_Use:"Co",Punctuation:["P","punct"],Separator:"Z",Space_Separator:"Zs",Spacing_Mark:"Mc",Surrogate:"Cs",Symbol:"S",Titlecase_Letter:"Lt",Unassigned:"Cn",Uppercase_Letter:"Lu"},hG=hJ(hZ),hH={Adlam:"Adlm",Ahom:"Ahom",Anatolian_Hieroglyphs:"Hluw",Arabic:"Arab",Armenian:"Armn",Avestan:"Avst",Balinese:"Bali",Bamum:"Bamu",Bassa_Vah:"Bass",Batak:"Batk",Bengali:"Beng",Bhaiksuki:"Bhks",Bopomofo:"Bopo",Brahmi:"Brah",Braille:"Brai",Buginese:"Bugi",Buhid:"Buhd",Canadian_Aboriginal:"Cans",Carian:"Cari",Caucasian_Albanian:"Aghb",Chakma:"Cakm",Cham:"Cham",Cherokee:"Cher",Common:"Zyyy",Coptic:["Copt","Qaac"],Cuneiform:"Xsux",Cypriot:"Cprt",Cyrillic:"Cyrl",Deseret:"Dsrt",Devanagari:"Deva",Dogra:"Dogr",Duployan:"Dupl",Egyptian_Hieroglyphs:"Egyp",Elbasan:"Elba",Ethiopic:"Ethi",Georgian:"Geor",Glagolitic:"Glag",Gothic:"Goth",Grantha:"Gran",Greek:"Grek",Gujarati:"Gujr",Gunjala_Gondi:"Gong",Gurmukhi:"Guru",Han:"Hani",Hangul:"Hang",Hanifi_Rohingya:"Rohg",Hanunoo:"Hano",Hatran:"Hatr",Hebrew:"Hebr",Hiragana:"Hira",Imperial_Aramaic:"Armi",Inherited:["Zinh","Qaai"],Inscriptional_Pahlavi:"Phli",Inscriptional_Parthian:"Prti",Javanese:"Java",Kaithi:"Kthi",Kannada:"Knda",Katakana:"Kana",Kayah_Li:"Kali",Kharoshthi:"Khar",Khmer:"Khmr",Khojki:"Khoj",Khudawadi:"Sind",Lao:"Laoo",Latin:"Latn",Lepcha:"Lepc",Limbu:"Limb",Linear_A:"Lina",Linear_B:"Linb",Lisu:"Lisu",Lycian:"Lyci",Lydian:"Lydi",Mahajani:"Mahj",Makasar:"Maka",Malayalam:"Mlym",Mandaic:"Mand",Manichaean:"Mani",Marchen:"Marc",Medefaidrin:"Medf",Masaram_Gondi:"Gonm",Meetei_Mayek:"Mtei",Mende_Kikakui:"Mend",Meroitic_Cursive:"Merc",Meroitic_Hieroglyphs:"Mero",Miao:"Plrd",Modi:"Modi",Mongolian:"Mong",Mro:"Mroo",Multani:"Mult",Myanmar:"Mymr",Nabataean:"Nbat",New_Tai_Lue:"Talu",Newa:"Newa",Nko:"Nkoo",Nushu:"Nshu",Ogham:"Ogam",Ol_Chiki:"Olck",Old_Hungarian:"Hung",Old_Italic:"Ital",Old_North_Arabian:"Narb",Old_Permic:"Perm",Old_Persian:"Xpeo",Old_Sogdian:"Sogo",Old_South_Arabian:"Sarb",Old_Turkic:"Orkh",Oriya:"Orya",Osage:"Osge",Osmanya:"Osma",Pahawh_Hmong:"Hmng",Palmyrene:"Palm",Pau_Cin_Hau:"Pauc",Phags_Pa:"Phag",Phoenician:"Phnx",Psalter_Pahlavi:"Phlp",Rejang:"Rjng",Runic:"Runr",Samaritan:"Samr",Saurashtra:"Saur",Sharada:"Shrd",Shavian:"Shaw",Siddham:"Sidd",SignWriting:"Sgnw",Sinhala:"Sinh",Sogdian:"Sogd",Sora_Sompeng:"Sora",Soyombo:"Soyo",Sundanese:"Sund",Syloti_Nagri:"Sylo",Syriac:"Syrc",Tagalog:"Tglg",Tagbanwa:"Tagb",Tai_Le:"Tale",Tai_Tham:"Lana",Tai_Viet:"Tavt",Takri:"Takr",Tamil:"Taml",Tangut:"Tang",Telugu:"Telu",Thaana:"Thaa",Thai:"Thai",Tibetan:"Tibt",Tifinagh:"Tfng",Tirhuta:"Tirh",Ugaritic:"Ugar",Vai:"Vaii",Warang_Citi:"Wara",Yi:"Yiii",Zanabazar_Square:"Zanb"},hK=hJ(hH);function hJ(e){var r={};for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];if(Array.isArray(n))for(var u=0;u<n.length;u++)r[n[u]]=t;else r[n]=t}return r}function hX(e){return hZ.hasOwnProperty(e)||hG.hasOwnProperty(e)}function hY(e){return hH.hasOwnProperty(e)||hK.hasOwnProperty(e)}var hQ=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function h0(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var h1=void 0,h2={},h3=void 0,h4=void 0;function h5(e,r){return h2.options.captureLocations?e&&r?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:e||r:null}var h8=[[-1,1,function(e,r){h4=h5(r,r),h3=e}],[0,4,function(e,r,t,n,u,a,i,o){h4=h5(u,o),h3=bb({type:"RegExp",body:r,flags:function(e){var r=new Set,t=!0,n=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var o=a.value;if(r.has(o)||!"gimsuxy".includes(o))throw SyntaxError("Invalid flags: "+e);r.add(o)}}catch(e){n=!0,u=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw u}}return e.split("").sort().join("")}(n)},bv(u,o||i))}],[1,1,function(e,r){h4=h5(r,r),h3=e}],[1,0,function(){h4=null,h3=""}],[2,1,function(e,r){h4=h5(r,r),h3=e}],[2,2,function(e,r,t,n){h4=h5(t,n),h3=e+r}],[3,1,function(e,r){h4=h5(r,r),h3=e}],[4,1,function(e,r){h4=h5(r,r),h3=e}],[4,3,function(e,r,t,n,u,a){h4=h5(n,a);var i=null;u&&(i=bv(n||u,a||u)),h3=bb({type:"Disjunction",left:e,right:t},i)}],[5,1,function(e,r){if(h4=h5(r,r),0===e.length){h3=null;return}h3=1===e.length?bb(e[0],h4):bb({type:"Alternative",expressions:e},h4)}],[6,0,function(){h4=null,h3=[]}],[6,2,function(e,r,t,n){h4=h5(t,n),h3=e.concat(r)}],[7,1,function(e,r){h4=h5(r,r),h3=bb(Object.assign({type:"Assertion"},e),h4)}],[7,2,function(e,r,t,n){h4=h5(t,n),h3=e,r&&(h3=bb({type:"Repetition",expression:e,quantifier:r},h4))}],[8,1,function(e,r){h4=h5(r,r),h3={kind:"^"}}],[8,1,function(e,r){h4=h5(r,r),h3={kind:"$"}}],[8,1,function(e,r){h4=h5(r,r),h3={kind:"\\b"}}],[8,1,function(e,r){h4=h5(r,r),h3={kind:"\\B"}}],[8,3,function(e,r,t,n,u,a){h4=h5(n,a),h3={kind:"Lookahead",assertion:r}}],[8,3,function(e,r,t,n,u,a){h4=h5(n,a),h3={kind:"Lookahead",negative:!0,assertion:r}}],[8,3,function(e,r,t,n,u,a){h4=h5(n,a),h3={kind:"Lookbehind",assertion:r}}],[8,3,function(e,r,t,n,u,a){h4=h5(n,a),h3={kind:"Lookbehind",negative:!0,assertion:r}}],[9,1,function(e,r){h4=h5(r,r),h3=e}],[9,1,function(e,r){h4=h5(r,r),h3=e}],[9,1,function(e,r){h4=h5(r,r),h3=e}],[10,1,function(e,r){h3=bf(e,"simple",h4=h5(r,r))}],[10,1,function(e,r){h4=h5(r,r),(h3=bf(e.slice(1),"simple",h4)).escaped=!0}],[10,1,function(e,r){(h3=bf(e,"unicode",h4=h5(r,r))).isSurrogatePair=!0}],[10,1,function(e,r){h3=bf(e,"unicode",h4=h5(r,r))}],[10,1,function(e,r){h3=function(e,r){var t="P"===e[1],n=e.indexOf("="),u=e.slice(3,-1!==n?n:-1),a=void 0,i=-1===n&&bc.isGeneralCategoryValue(u),o=-1===n&&bc.isBinaryPropertyName(u);if(i)a=u,u="General_Category";else if(o)a=u;else{if(!bc.isValidName(u))throw SyntaxError("Invalid unicode property name: "+u+".");if(a=e.slice(n+1,-1),!bc.isValidValue(u,a))throw SyntaxError("Invalid "+u+" unicode property value: "+a+".")}return bb({type:"UnicodeProperty",name:u,value:a,negative:t,shorthand:i,binary:o,canonicalName:bc.getCanonicalName(u)||u,canonicalValue:bc.getCanonicalValue(a)||a},r)}(e,h4=h5(r,r))}],[10,1,function(e,r){h3=bf(e,"control",h4=h5(r,r))}],[10,1,function(e,r){h3=bf(e,"hex",h4=h5(r,r))}],[10,1,function(e,r){h3=bf(e,"oct",h4=h5(r,r))}],[10,1,function(e,r){var t,n;t=h4=h5(r,r),h3=(n=Number(e.slice(1)))>0&&n<=ba?bb({type:"Backreference",kind:"number",number:n,reference:n},t):bf(e,"decimal",t)}],[10,1,function(e,r){h3=bf(e,"meta",h4=h5(r,r))}],[10,1,function(e,r){h3=bf(e,"meta",h4=h5(r,r))}],[10,1,function(e,r){h4=h5(r,r),h3=function(e,r){var t=e.slice(3,-1),n=bh(t);if(bi.hasOwnProperty(n))return bb({type:"Backreference",kind:"name",number:bi[n],reference:n,referenceRaw:t},r);var u=null,a=null,i=null,o=null;r&&(u=r.startOffset,a=r.startLine,i=r.endLine,o=r.startColumn);var s=/^[\w$<>]/,d=void 0,c=[bf(e.slice(1,2),"simple",u?{startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:u+=2,endColumn:o+=2}:null)];for(c[0].escaped=!0,e=e.slice(2);e.length>0;){var f=null;(f=e.match(bl))||(f=e.match(bp))?(u&&(d={startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:u+=f[0].length,endColumn:o+=f[0].length}),c.push(bf(f[0],"unicode",d)),e=e.slice(f[0].length)):(f=e.match(s))&&(u&&(d={startLine:a,endLine:i,startColumn:o,startOffset:u,endOffset:++u,endColumn:++o}),c.push(bf(f[0],"simple",d)),e=e.slice(1))}return c}(e,r)}],[11,1,function(e,r){h4=h5(r,r),h3=e}],[11,0],[12,1,function(e,r){h4=h5(r,r),h3=e}],[12,2,function(e,r,t,n){h4=h5(t,n),e.greedy=!1,h3=e}],[13,1,function(e,r){h3=bb({type:"Quantifier",kind:e,greedy:!0},h4=h5(r,r))}],[13,1,function(e,r){h3=bb({type:"Quantifier",kind:e,greedy:!0},h4=h5(r,r))}],[13,1,function(e,r){h3=bb({type:"Quantifier",kind:e,greedy:!0},h4=h5(r,r))}],[13,1,function(e,r){h4=h5(r,r);var t=bs(e);h3=bb({type:"Quantifier",kind:"Range",from:t[0],to:t[0],greedy:!0},h4)}],[13,1,function(e,r){h4=h5(r,r),h3=bb({type:"Quantifier",kind:"Range",from:bs(e)[0],greedy:!0},h4)}],[13,1,function(e,r){h4=h5(r,r);var t=bs(e);h3=bb({type:"Quantifier",kind:"Range",from:t[0],to:t[1],greedy:!0},h4)}],[14,1,function(e,r){h4=h5(r,r),h3=e}],[14,1,function(e,r){h4=h5(r,r),h3=e}],[15,3,function(e,r,t,n,u,a){h4=h5(n,a);var i=String(e),o=bh(i);if(!h2.options.allowGroupNameDuplicates&&bi.hasOwnProperty(o))throw SyntaxError('Duplicate of the named group "'+o+'".');bi[o]=e.groupNumber,h3=bb({type:"Group",capturing:!0,name:o,nameRaw:i,number:e.groupNumber,expression:r},h4)}],[15,3,function(e,r,t,n,u,a){h4=h5(n,a),h3=bb({type:"Group",capturing:!0,number:e.groupNumber,expression:r},h4)}],[16,3,function(e,r,t,n,u,a){h3=bb({type:"Group",capturing:!1,expression:r},h4=h5(n,a))}],[17,3,function(e,r,t,n,u,a){h3=bb({type:"CharacterClass",negative:!0,expressions:r},h4=h5(n,a))}],[17,3,function(e,r,t,n,u,a){h3=bb({type:"CharacterClass",expressions:r},h4=h5(n,a))}],[18,0,function(){h4=null,h3=[]}],[18,1,function(e,r){h4=h5(r,r),h3=e}],[19,1,function(e,r){h4=h5(r,r),h3=[e]}],[19,2,function(e,r,t,n){h4=h5(t,n),h3=[e].concat(r)}],[19,4,function(e,r,t,n,u,a,i,o){h4=h5(u,o),bd(e,t),h3=[bb({type:"ClassRange",from:e,to:t},bv(u,i))],n&&(h3=h3.concat(n))}],[20,1,function(e,r){h4=h5(r,r),h3=e}],[20,2,function(e,r,t,n){h4=h5(t,n),h3=[e].concat(r)}],[20,4,function(e,r,t,n,u,a,i,o){h4=h5(u,o),bd(e,t),h3=[bb({type:"ClassRange",from:e,to:t},bv(u,i))],n&&(h3=h3.concat(n))}],[21,1,function(e,r){h3=bf(e,"simple",h4=h5(r,r))}],[21,1,function(e,r){h4=h5(r,r),h3=e}],[22,1,function(e,r){h4=h5(r,r),h3=e}],[22,1,function(e,r){h3=bf(e,"meta",h4=h5(r,r))}]],h6={SLASH:"23",CHAR:"24",BAR:"25",BOS:"26",EOS:"27",ESC_b:"28",ESC_B:"29",POS_LA_ASSERT:"30",R_PAREN:"31",NEG_LA_ASSERT:"32",POS_LB_ASSERT:"33",NEG_LB_ASSERT:"34",ESC_CHAR:"35",U_CODE_SURROGATE:"36",U_CODE:"37",U_PROP_VALUE_EXP:"38",CTRL_CH:"39",HEX_CODE:"40",OCT_CODE:"41",DEC_CODE:"42",META_CHAR:"43",ANY:"44",NAMED_GROUP_REF:"45",Q_MARK:"46",STAR:"47",PLUS:"48",RANGE_EXACT:"49",RANGE_OPEN:"50",RANGE_CLOSED:"51",NAMED_CAPTURE_GROUP:"52",L_PAREN:"53",NON_CAPTURE_GROUP:"54",NEG_CLASS:"55",R_BRACKET:"56",L_BRACKET:"57",DASH:"58",$:"59"},h9=[{0:1,23:"s2"},{59:"acc"},{3:3,4:4,5:5,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"s7"},{23:"r6",25:"s12"},{23:"r7",25:"r7",31:"r7"},{7:14,8:15,9:16,10:25,14:27,15:42,16:43,17:26,23:"r9",24:"s28",25:"r9",26:"s17",27:"s18",28:"s19",29:"s20",30:"s21",31:"r9",32:"s22",33:"s23",34:"s24",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",52:"s44",53:"s45",54:"s46",55:"s40",57:"s41"},{1:8,2:9,24:"s10",59:"r3"},{59:"r1"},{24:"s11",59:"r2"},{24:"r4",59:"r4"},{24:"r5",59:"r5"},{5:13,6:6,23:"r10",24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r8",25:"r8",31:"r8"},{23:"r11",24:"r11",25:"r11",26:"r11",27:"r11",28:"r11",29:"r11",30:"r11",31:"r11",32:"r11",33:"r11",34:"r11",35:"r11",36:"r11",37:"r11",38:"r11",39:"r11",40:"r11",41:"r11",42:"r11",43:"r11",44:"r11",45:"r11",52:"r11",53:"r11",54:"r11",55:"r11",57:"r11"},{23:"r12",24:"r12",25:"r12",26:"r12",27:"r12",28:"r12",29:"r12",30:"r12",31:"r12",32:"r12",33:"r12",34:"r12",35:"r12",36:"r12",37:"r12",38:"r12",39:"r12",40:"r12",41:"r12",42:"r12",43:"r12",44:"r12",45:"r12",52:"r12",53:"r12",54:"r12",55:"r12",57:"r12"},{11:47,12:48,13:49,23:"r38",24:"r38",25:"r38",26:"r38",27:"r38",28:"r38",29:"r38",30:"r38",31:"r38",32:"r38",33:"r38",34:"r38",35:"r38",36:"r38",37:"r38",38:"r38",39:"r38",40:"r38",41:"r38",42:"r38",43:"r38",44:"r38",45:"r38",46:"s52",47:"s50",48:"s51",49:"s53",50:"s54",51:"s55",52:"r38",53:"r38",54:"r38",55:"r38",57:"r38"},{23:"r14",24:"r14",25:"r14",26:"r14",27:"r14",28:"r14",29:"r14",30:"r14",31:"r14",32:"r14",33:"r14",34:"r14",35:"r14",36:"r14",37:"r14",38:"r14",39:"r14",40:"r14",41:"r14",42:"r14",43:"r14",44:"r14",45:"r14",52:"r14",53:"r14",54:"r14",55:"r14",57:"r14"},{23:"r15",24:"r15",25:"r15",26:"r15",27:"r15",28:"r15",29:"r15",30:"r15",31:"r15",32:"r15",33:"r15",34:"r15",35:"r15",36:"r15",37:"r15",38:"r15",39:"r15",40:"r15",41:"r15",42:"r15",43:"r15",44:"r15",45:"r15",52:"r15",53:"r15",54:"r15",55:"r15",57:"r15"},{23:"r16",24:"r16",25:"r16",26:"r16",27:"r16",28:"r16",29:"r16",30:"r16",31:"r16",32:"r16",33:"r16",34:"r16",35:"r16",36:"r16",37:"r16",38:"r16",39:"r16",40:"r16",41:"r16",42:"r16",43:"r16",44:"r16",45:"r16",52:"r16",53:"r16",54:"r16",55:"r16",57:"r16"},{23:"r17",24:"r17",25:"r17",26:"r17",27:"r17",28:"r17",29:"r17",30:"r17",31:"r17",32:"r17",33:"r17",34:"r17",35:"r17",36:"r17",37:"r17",38:"r17",39:"r17",40:"r17",41:"r17",42:"r17",43:"r17",44:"r17",45:"r17",52:"r17",53:"r17",54:"r17",55:"r17",57:"r17"},{4:57,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:59,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:61,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:63,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r22",24:"r22",25:"r22",26:"r22",27:"r22",28:"r22",29:"r22",30:"r22",31:"r22",32:"r22",33:"r22",34:"r22",35:"r22",36:"r22",37:"r22",38:"r22",39:"r22",40:"r22",41:"r22",42:"r22",43:"r22",44:"r22",45:"r22",46:"r22",47:"r22",48:"r22",49:"r22",50:"r22",51:"r22",52:"r22",53:"r22",54:"r22",55:"r22",57:"r22"},{23:"r23",24:"r23",25:"r23",26:"r23",27:"r23",28:"r23",29:"r23",30:"r23",31:"r23",32:"r23",33:"r23",34:"r23",35:"r23",36:"r23",37:"r23",38:"r23",39:"r23",40:"r23",41:"r23",42:"r23",43:"r23",44:"r23",45:"r23",46:"r23",47:"r23",48:"r23",49:"r23",50:"r23",51:"r23",52:"r23",53:"r23",54:"r23",55:"r23",57:"r23"},{23:"r24",24:"r24",25:"r24",26:"r24",27:"r24",28:"r24",29:"r24",30:"r24",31:"r24",32:"r24",33:"r24",34:"r24",35:"r24",36:"r24",37:"r24",38:"r24",39:"r24",40:"r24",41:"r24",42:"r24",43:"r24",44:"r24",45:"r24",46:"r24",47:"r24",48:"r24",49:"r24",50:"r24",51:"r24",52:"r24",53:"r24",54:"r24",55:"r24",57:"r24"},{23:"r25",24:"r25",25:"r25",26:"r25",27:"r25",28:"r25",29:"r25",30:"r25",31:"r25",32:"r25",33:"r25",34:"r25",35:"r25",36:"r25",37:"r25",38:"r25",39:"r25",40:"r25",41:"r25",42:"r25",43:"r25",44:"r25",45:"r25",46:"r25",47:"r25",48:"r25",49:"r25",50:"r25",51:"r25",52:"r25",53:"r25",54:"r25",55:"r25",56:"r25",57:"r25",58:"r25"},{23:"r26",24:"r26",25:"r26",26:"r26",27:"r26",28:"r26",29:"r26",30:"r26",31:"r26",32:"r26",33:"r26",34:"r26",35:"r26",36:"r26",37:"r26",38:"r26",39:"r26",40:"r26",41:"r26",42:"r26",43:"r26",44:"r26",45:"r26",46:"r26",47:"r26",48:"r26",49:"r26",50:"r26",51:"r26",52:"r26",53:"r26",54:"r26",55:"r26",56:"r26",57:"r26",58:"r26"},{23:"r27",24:"r27",25:"r27",26:"r27",27:"r27",28:"r27",29:"r27",30:"r27",31:"r27",32:"r27",33:"r27",34:"r27",35:"r27",36:"r27",37:"r27",38:"r27",39:"r27",40:"r27",41:"r27",42:"r27",43:"r27",44:"r27",45:"r27",46:"r27",47:"r27",48:"r27",49:"r27",50:"r27",51:"r27",52:"r27",53:"r27",54:"r27",55:"r27",56:"r27",57:"r27",58:"r27"},{23:"r28",24:"r28",25:"r28",26:"r28",27:"r28",28:"r28",29:"r28",30:"r28",31:"r28",32:"r28",33:"r28",34:"r28",35:"r28",36:"r28",37:"r28",38:"r28",39:"r28",40:"r28",41:"r28",42:"r28",43:"r28",44:"r28",45:"r28",46:"r28",47:"r28",48:"r28",49:"r28",50:"r28",51:"r28",52:"r28",53:"r28",54:"r28",55:"r28",56:"r28",57:"r28",58:"r28"},{23:"r29",24:"r29",25:"r29",26:"r29",27:"r29",28:"r29",29:"r29",30:"r29",31:"r29",32:"r29",33:"r29",34:"r29",35:"r29",36:"r29",37:"r29",38:"r29",39:"r29",40:"r29",41:"r29",42:"r29",43:"r29",44:"r29",45:"r29",46:"r29",47:"r29",48:"r29",49:"r29",50:"r29",51:"r29",52:"r29",53:"r29",54:"r29",55:"r29",56:"r29",57:"r29",58:"r29"},{23:"r30",24:"r30",25:"r30",26:"r30",27:"r30",28:"r30",29:"r30",30:"r30",31:"r30",32:"r30",33:"r30",34:"r30",35:"r30",36:"r30",37:"r30",38:"r30",39:"r30",40:"r30",41:"r30",42:"r30",43:"r30",44:"r30",45:"r30",46:"r30",47:"r30",48:"r30",49:"r30",50:"r30",51:"r30",52:"r30",53:"r30",54:"r30",55:"r30",56:"r30",57:"r30",58:"r30"},{23:"r31",24:"r31",25:"r31",26:"r31",27:"r31",28:"r31",29:"r31",30:"r31",31:"r31",32:"r31",33:"r31",34:"r31",35:"r31",36:"r31",37:"r31",38:"r31",39:"r31",40:"r31",41:"r31",42:"r31",43:"r31",44:"r31",45:"r31",46:"r31",47:"r31",48:"r31",49:"r31",50:"r31",51:"r31",52:"r31",53:"r31",54:"r31",55:"r31",56:"r31",57:"r31",58:"r31"},{23:"r32",24:"r32",25:"r32",26:"r32",27:"r32",28:"r32",29:"r32",30:"r32",31:"r32",32:"r32",33:"r32",34:"r32",35:"r32",36:"r32",37:"r32",38:"r32",39:"r32",40:"r32",41:"r32",42:"r32",43:"r32",44:"r32",45:"r32",46:"r32",47:"r32",48:"r32",49:"r32",50:"r32",51:"r32",52:"r32",53:"r32",54:"r32",55:"r32",56:"r32",57:"r32",58:"r32"},{23:"r33",24:"r33",25:"r33",26:"r33",27:"r33",28:"r33",29:"r33",30:"r33",31:"r33",32:"r33",33:"r33",34:"r33",35:"r33",36:"r33",37:"r33",38:"r33",39:"r33",40:"r33",41:"r33",42:"r33",43:"r33",44:"r33",45:"r33",46:"r33",47:"r33",48:"r33",49:"r33",50:"r33",51:"r33",52:"r33",53:"r33",54:"r33",55:"r33",56:"r33",57:"r33",58:"r33"},{23:"r34",24:"r34",25:"r34",26:"r34",27:"r34",28:"r34",29:"r34",30:"r34",31:"r34",32:"r34",33:"r34",34:"r34",35:"r34",36:"r34",37:"r34",38:"r34",39:"r34",40:"r34",41:"r34",42:"r34",43:"r34",44:"r34",45:"r34",46:"r34",47:"r34",48:"r34",49:"r34",50:"r34",51:"r34",52:"r34",53:"r34",54:"r34",55:"r34",56:"r34",57:"r34",58:"r34"},{23:"r35",24:"r35",25:"r35",26:"r35",27:"r35",28:"r35",29:"r35",30:"r35",31:"r35",32:"r35",33:"r35",34:"r35",35:"r35",36:"r35",37:"r35",38:"r35",39:"r35",40:"r35",41:"r35",42:"r35",43:"r35",44:"r35",45:"r35",46:"r35",47:"r35",48:"r35",49:"r35",50:"r35",51:"r35",52:"r35",53:"r35",54:"r35",55:"r35",56:"r35",57:"r35",58:"r35"},{23:"r36",24:"r36",25:"r36",26:"r36",27:"r36",28:"r36",29:"r36",30:"r36",31:"r36",32:"r36",33:"r36",34:"r36",35:"r36",36:"r36",37:"r36",38:"r36",39:"r36",40:"r36",41:"r36",42:"r36",43:"r36",44:"r36",45:"r36",46:"r36",47:"r36",48:"r36",49:"r36",50:"r36",51:"r36",52:"r36",53:"r36",54:"r36",55:"r36",56:"r36",57:"r36",58:"r36"},{10:70,18:65,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{10:70,18:83,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{23:"r47",24:"r47",25:"r47",26:"r47",27:"r47",28:"r47",29:"r47",30:"r47",31:"r47",32:"r47",33:"r47",34:"r47",35:"r47",36:"r47",37:"r47",38:"r47",39:"r47",40:"r47",41:"r47",42:"r47",43:"r47",44:"r47",45:"r47",46:"r47",47:"r47",48:"r47",49:"r47",50:"r47",51:"r47",52:"r47",53:"r47",54:"r47",55:"r47",57:"r47"},{23:"r48",24:"r48",25:"r48",26:"r48",27:"r48",28:"r48",29:"r48",30:"r48",31:"r48",32:"r48",33:"r48",34:"r48",35:"r48",36:"r48",37:"r48",38:"r48",39:"r48",40:"r48",41:"r48",42:"r48",43:"r48",44:"r48",45:"r48",46:"r48",47:"r48",48:"r48",49:"r48",50:"r48",51:"r48",52:"r48",53:"r48",54:"r48",55:"r48",57:"r48"},{4:85,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:87,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{4:89,5:5,6:6,24:"r10",25:"r10",26:"r10",27:"r10",28:"r10",29:"r10",30:"r10",31:"r10",32:"r10",33:"r10",34:"r10",35:"r10",36:"r10",37:"r10",38:"r10",39:"r10",40:"r10",41:"r10",42:"r10",43:"r10",44:"r10",45:"r10",52:"r10",53:"r10",54:"r10",55:"r10",57:"r10"},{23:"r13",24:"r13",25:"r13",26:"r13",27:"r13",28:"r13",29:"r13",30:"r13",31:"r13",32:"r13",33:"r13",34:"r13",35:"r13",36:"r13",37:"r13",38:"r13",39:"r13",40:"r13",41:"r13",42:"r13",43:"r13",44:"r13",45:"r13",52:"r13",53:"r13",54:"r13",55:"r13",57:"r13"},{23:"r37",24:"r37",25:"r37",26:"r37",27:"r37",28:"r37",29:"r37",30:"r37",31:"r37",32:"r37",33:"r37",34:"r37",35:"r37",36:"r37",37:"r37",38:"r37",39:"r37",40:"r37",41:"r37",42:"r37",43:"r37",44:"r37",45:"r37",52:"r37",53:"r37",54:"r37",55:"r37",57:"r37"},{23:"r39",24:"r39",25:"r39",26:"r39",27:"r39",28:"r39",29:"r39",30:"r39",31:"r39",32:"r39",33:"r39",34:"r39",35:"r39",36:"r39",37:"r39",38:"r39",39:"r39",40:"r39",41:"r39",42:"r39",43:"r39",44:"r39",45:"r39",46:"s56",52:"r39",53:"r39",54:"r39",55:"r39",57:"r39"},{23:"r41",24:"r41",25:"r41",26:"r41",27:"r41",28:"r41",29:"r41",30:"r41",31:"r41",32:"r41",33:"r41",34:"r41",35:"r41",36:"r41",37:"r41",38:"r41",39:"r41",40:"r41",41:"r41",42:"r41",43:"r41",44:"r41",45:"r41",46:"r41",52:"r41",53:"r41",54:"r41",55:"r41",57:"r41"},{23:"r42",24:"r42",25:"r42",26:"r42",27:"r42",28:"r42",29:"r42",30:"r42",31:"r42",32:"r42",33:"r42",34:"r42",35:"r42",36:"r42",37:"r42",38:"r42",39:"r42",40:"r42",41:"r42",42:"r42",43:"r42",44:"r42",45:"r42",46:"r42",52:"r42",53:"r42",54:"r42",55:"r42",57:"r42"},{23:"r43",24:"r43",25:"r43",26:"r43",27:"r43",28:"r43",29:"r43",30:"r43",31:"r43",32:"r43",33:"r43",34:"r43",35:"r43",36:"r43",37:"r43",38:"r43",39:"r43",40:"r43",41:"r43",42:"r43",43:"r43",44:"r43",45:"r43",46:"r43",52:"r43",53:"r43",54:"r43",55:"r43",57:"r43"},{23:"r44",24:"r44",25:"r44",26:"r44",27:"r44",28:"r44",29:"r44",30:"r44",31:"r44",32:"r44",33:"r44",34:"r44",35:"r44",36:"r44",37:"r44",38:"r44",39:"r44",40:"r44",41:"r44",42:"r44",43:"r44",44:"r44",45:"r44",46:"r44",52:"r44",53:"r44",54:"r44",55:"r44",57:"r44"},{23:"r45",24:"r45",25:"r45",26:"r45",27:"r45",28:"r45",29:"r45",30:"r45",31:"r45",32:"r45",33:"r45",34:"r45",35:"r45",36:"r45",37:"r45",38:"r45",39:"r45",40:"r45",41:"r45",42:"r45",43:"r45",44:"r45",45:"r45",46:"r45",52:"r45",53:"r45",54:"r45",55:"r45",57:"r45"},{23:"r46",24:"r46",25:"r46",26:"r46",27:"r46",28:"r46",29:"r46",30:"r46",31:"r46",32:"r46",33:"r46",34:"r46",35:"r46",36:"r46",37:"r46",38:"r46",39:"r46",40:"r46",41:"r46",42:"r46",43:"r46",44:"r46",45:"r46",46:"r46",52:"r46",53:"r46",54:"r46",55:"r46",57:"r46"},{23:"r40",24:"r40",25:"r40",26:"r40",27:"r40",28:"r40",29:"r40",30:"r40",31:"r40",32:"r40",33:"r40",34:"r40",35:"r40",36:"r40",37:"r40",38:"r40",39:"r40",40:"r40",41:"r40",42:"r40",43:"r40",44:"r40",45:"r40",52:"r40",53:"r40",54:"r40",55:"r40",57:"r40"},{25:"s12",31:"s58"},{23:"r18",24:"r18",25:"r18",26:"r18",27:"r18",28:"r18",29:"r18",30:"r18",31:"r18",32:"r18",33:"r18",34:"r18",35:"r18",36:"r18",37:"r18",38:"r18",39:"r18",40:"r18",41:"r18",42:"r18",43:"r18",44:"r18",45:"r18",52:"r18",53:"r18",54:"r18",55:"r18",57:"r18"},{25:"s12",31:"s60"},{23:"r19",24:"r19",25:"r19",26:"r19",27:"r19",28:"r19",29:"r19",30:"r19",31:"r19",32:"r19",33:"r19",34:"r19",35:"r19",36:"r19",37:"r19",38:"r19",39:"r19",40:"r19",41:"r19",42:"r19",43:"r19",44:"r19",45:"r19",52:"r19",53:"r19",54:"r19",55:"r19",57:"r19"},{25:"s12",31:"s62"},{23:"r20",24:"r20",25:"r20",26:"r20",27:"r20",28:"r20",29:"r20",30:"r20",31:"r20",32:"r20",33:"r20",34:"r20",35:"r20",36:"r20",37:"r20",38:"r20",39:"r20",40:"r20",41:"r20",42:"r20",43:"r20",44:"r20",45:"r20",52:"r20",53:"r20",54:"r20",55:"r20",57:"r20"},{25:"s12",31:"s64"},{23:"r21",24:"r21",25:"r21",26:"r21",27:"r21",28:"r21",29:"r21",30:"r21",31:"r21",32:"r21",33:"r21",34:"r21",35:"r21",36:"r21",37:"r21",38:"r21",39:"r21",40:"r21",41:"r21",42:"r21",43:"r21",44:"r21",45:"r21",52:"r21",53:"r21",54:"r21",55:"r21",57:"r21"},{56:"s72"},{56:"r55"},{10:70,20:73,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r56",58:"s74"},{24:"r62",28:"r62",35:"r62",36:"r62",37:"r62",38:"r62",39:"r62",40:"r62",41:"r62",42:"r62",43:"r62",44:"r62",45:"r62",56:"r62",58:"r62"},{24:"r63",28:"r63",35:"r63",36:"r63",37:"r63",38:"r63",39:"r63",40:"r63",41:"r63",42:"r63",43:"r63",44:"r63",45:"r63",56:"r63",58:"r63"},{24:"r64",28:"r64",35:"r64",36:"r64",37:"r64",38:"r64",39:"r64",40:"r64",41:"r64",42:"r64",43:"r64",44:"r64",45:"r64",56:"r64",58:"r64"},{24:"r65",28:"r65",35:"r65",36:"r65",37:"r65",38:"r65",39:"r65",40:"r65",41:"r65",42:"r65",43:"r65",44:"r65",45:"r65",56:"r65",58:"r65"},{23:"r52",24:"r52",25:"r52",26:"r52",27:"r52",28:"r52",29:"r52",30:"r52",31:"r52",32:"r52",33:"r52",34:"r52",35:"r52",36:"r52",37:"r52",38:"r52",39:"r52",40:"r52",41:"r52",42:"r52",43:"r52",44:"r52",45:"r52",46:"r52",47:"r52",48:"r52",49:"r52",50:"r52",51:"r52",52:"r52",53:"r52",54:"r52",55:"r52",57:"r52"},{56:"r57"},{10:70,21:77,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{56:"r59"},{10:70,20:79,21:75,22:76,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r63",58:"s80"},{10:70,18:78,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r58"},{56:"r60"},{10:70,21:81,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r62",58:"s68"},{10:70,18:82,19:66,21:67,22:69,24:"s28",28:"s71",35:"s29",36:"s30",37:"s31",38:"s32",39:"s33",40:"s34",41:"s35",42:"s36",43:"s37",44:"s38",45:"s39",56:"r54",58:"s68"},{56:"r61"},{56:"s84"},{23:"r53",24:"r53",25:"r53",26:"r53",27:"r53",28:"r53",29:"r53",30:"r53",31:"r53",32:"r53",33:"r53",34:"r53",35:"r53",36:"r53",37:"r53",38:"r53",39:"r53",40:"r53",41:"r53",42:"r53",43:"r53",44:"r53",45:"r53",46:"r53",47:"r53",48:"r53",49:"r53",50:"r53",51:"r53",52:"r53",53:"r53",54:"r53",55:"r53",57:"r53"},{25:"s12",31:"s86"},{23:"r49",24:"r49",25:"r49",26:"r49",27:"r49",28:"r49",29:"r49",30:"r49",31:"r49",32:"r49",33:"r49",34:"r49",35:"r49",36:"r49",37:"r49",38:"r49",39:"r49",40:"r49",41:"r49",42:"r49",43:"r49",44:"r49",45:"r49",46:"r49",47:"r49",48:"r49",49:"r49",50:"r49",51:"r49",52:"r49",53:"r49",54:"r49",55:"r49",57:"r49"},{25:"s12",31:"s88"},{23:"r50",24:"r50",25:"r50",26:"r50",27:"r50",28:"r50",29:"r50",30:"r50",31:"r50",32:"r50",33:"r50",34:"r50",35:"r50",36:"r50",37:"r50",38:"r50",39:"r50",40:"r50",41:"r50",42:"r50",43:"r50",44:"r50",45:"r50",46:"r50",47:"r50",48:"r50",49:"r50",50:"r50",51:"r50",52:"r50",53:"r50",54:"r50",55:"r50",57:"r50"},{25:"s12",31:"s90"},{23:"r51",24:"r51",25:"r51",26:"r51",27:"r51",28:"r51",29:"r51",30:"r51",31:"r51",32:"r51",33:"r51",34:"r51",35:"r51",36:"r51",37:"r51",38:"r51",39:"r51",40:"r51",41:"r51",42:"r51",43:"r51",44:"r51",45:"r51",46:"r51",47:"r51",48:"r51",49:"r51",50:"r51",51:"r51",52:"r51",53:"r51",54:"r51",55:"r51",57:"r51"}],h7=[],be=void 0,br=[[/^#[^\n]+/,function(){}],[/^\s+/,function(){}],[/^-/,function(){return"DASH"}],[/^\//,function(){return"CHAR"}],[/^#/,function(){return"CHAR"}],[/^\|/,function(){return"CHAR"}],[/^\./,function(){return"CHAR"}],[/^\{/,function(){return"CHAR"}],[/^\{\d+\}/,function(){return"RANGE_EXACT"}],[/^\{\d+,\}/,function(){return"RANGE_OPEN"}],[/^\{\d+,\d+\}/,function(){return"RANGE_CLOSED"}],[/^\\k<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return bm(h1.slice(3,-1),this.getCurrentState()),"NAMED_GROUP_REF"}],[/^\\b/,function(){return"ESC_b"}],[/^\\B/,function(){return"ESC_B"}],[/^\\c[a-zA-Z]/,function(){return"CTRL_CH"}],[/^\\0\d{1,2}/,function(){return"OCT_CODE"}],[/^\\0/,function(){return"DEC_CODE"}],[/^\\\d{1,3}/,function(){return"DEC_CODE"}],[/^\\u[dD][89abAB][0-9a-fA-F]{2}\\u[dD][c-fC-F][0-9a-fA-F]{2}/,function(){return"U_CODE_SURROGATE"}],[/^\\u\{[0-9a-fA-F]{1,}\}/,function(){return"U_CODE"}],[/^\\u[0-9a-fA-F]{4}/,function(){return"U_CODE"}],[/^\\[pP]\{\w+(?:=\w+)?\}/,function(){return"U_PROP_VALUE_EXP"}],[/^\\x[0-9a-fA-F]{2}/,function(){return"HEX_CODE"}],[/^\\[tnrdDsSwWvf]/,function(){return"META_CHAR"}],[/^\\\//,function(){return"ESC_CHAR"}],[/^\\[ #]/,function(){return"ESC_CHAR"}],[/^\\[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/,function(){return"ESC_CHAR"}],[/^\\[^*?+\[()\\|]/,function(){var e=this.getCurrentState();if("u_class"===e&&"\\-"===h1);else if("u"===e||"xu"===e||"u_class"===e)throw SyntaxError("invalid Unicode escape "+h1);return"ESC_CHAR"}],[/^\(/,function(){return"CHAR"}],[/^\)/,function(){return"CHAR"}],[/^\(\?=/,function(){return"POS_LA_ASSERT"}],[/^\(\?!/,function(){return"NEG_LA_ASSERT"}],[/^\(\?<=/,function(){return"POS_LB_ASSERT"}],[/^\(\?<!/,function(){return"NEG_LB_ASSERT"}],[/^\(\?:/,function(){return"NON_CAPTURE_GROUP"}],[/^\(\?<(([\u0041-\u005a\u0061-\u007a\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5-\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude35\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd23\udf00-\udf1c\udf27\udf30-\udf45\udfe0-\udff6]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd44\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc5f\udc80-\udcaf\udcc4-\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udeb8\udf00-\udf1a]|\ud806[\udc00-\udc2b\udca0-\udcdf\udcff\udda0-\udda7\uddaa-\uddd0\udde1\udde3\ude00\ude0b-\ude32\ude3a\ude50\ude5c-\ude89\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f\udd00-\udd06\udd08-\udd09\udd0b-\udd30\udd46\udd60-\udd65\udd67-\udd68\udd6a-\udd89\udd98\udee0-\udef2]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf50\udf93-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udd00-\udd2c\udd37-\udd3d\udd4e\udec0-\udeeb]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd4b]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\}))(([\u0030-\u0039\u0041-\u005a\u005f\u0061-\u007a\u00aa\u00b5\u00b7\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cfa\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c-\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf2d-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37-\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4-\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe-\uddbf\ude00-\ude03\ude05-\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude35\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2\udd00-\udd27\udd30-\udd39\udf00-\udf1c\udf27\udf30-\udf50\udfe0-\udff6]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd44-\udd46\udd50-\udd73\udd76\udd80-\uddc4\uddc9-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f-\udf10\udf13-\udf28\udf2a-\udf30\udf32-\udf33\udf35-\udf39\udf3b-\udf44\udf47-\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc5e-\udc5f\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb8\udec0-\udec9\udf00-\udf1a\udf1d-\udf2b\udf30-\udf39]|\ud806[\udc00-\udc3a\udca0-\udce9\udcff\udda0-\udda7\uddaa-\uddd7\uddda-\udde1\udde3-\udde4\ude00-\ude3e\ude47\ude50-\ude99\ude9d\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6\udd00-\udd06\udd08-\udd09\udd0b-\udd36\udd3a\udd3c-\udd3d\udd3f-\udd47\udd50-\udd59\udd60-\udd65\udd67-\udd68\udd6a-\udd8e\udd90-\udd91\udd93-\udd98\udda0-\udda9\udee0-\udef6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\ude40-\ude7f\udf00-\udf4a\udf4f-\udf87\udf8f-\udf9f\udfe0-\udfe1\udfe3]|\ud81c[\udc00-\udfff]|\ud81d[\udc00-\udfff]|\ud81e[\udc00-\udfff]|\ud81f[\udc00-\udfff]|\ud820[\udc00-\udfff]|\ud821[\udc00-\udff7]|\ud822[\udc00-\udef2]|\ud82c[\udc00-\udd1e\udd50-\udd52\udd64-\udd67\udd70-\udefb]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d-\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e-\udc9f\udca2\udca5-\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23-\udc24\udc26-\udc2a\udd00-\udd2c\udd30-\udd3d\udd40-\udd49\udd4e\udec0-\udef9]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4b\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21-\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51-\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61-\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud86f[\udc00-\udfff]|\ud870[\udc00-\udfff]|\ud871[\udc00-\udfff]|\ud872[\udc00-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud874[\udc00-\udfff]|\ud875[\udc00-\udfff]|\ud876[\udc00-\udfff]|\ud877[\udc00-\udfff]|\ud878[\udc00-\udfff]|\ud879[\udc00-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])|[$_]|(\\u[0-9a-fA-F]{4}|\\u\{[0-9a-fA-F]{1,}\})|[\u200c\u200d])*>/,function(){return bm(h1=h1.slice(3,-1),this.getCurrentState()),"NAMED_CAPTURE_GROUP"}],[/^\(/,function(){return"L_PAREN"}],[/^\)/,function(){return"R_PAREN"}],[/^[*?+[^$]/,function(){return"CHAR"}],[/^\\\]/,function(){return"ESC_CHAR"}],[/^\]/,function(){return this.popState(),"R_BRACKET"}],[/^\^/,function(){return"BOS"}],[/^\$/,function(){return"EOS"}],[/^\*/,function(){return"STAR"}],[/^\?/,function(){return"Q_MARK"}],[/^\+/,function(){return"PLUS"}],[/^\|/,function(){return"BAR"}],[/^\./,function(){return"ANY"}],[/^\//,function(){return"SLASH"}],[/^[^*?+\[()\\|]/,function(){return"CHAR"}],[/^\[\^/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"NEG_CLASS"}],[/^\[/,function(){var e=this.getCurrentState();return this.pushState("u"===e||"xu"===e?"u_class":"class"),"L_BRACKET"}]],bt={INITIAL:[8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u:[8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],xu:[0,1,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],x:[0,1,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,30,31,32,33,34,35,36,37,41,42,43,44,45,46,47,48,49,50,51],u_class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],class:[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,20,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]},bn={type:"$",value:""};be={initString:function(e){return this._string=e,this._cursor=0,this._states=["INITIAL"],this._tokensQueue=[],this._currentLine=1,this._currentColumn=0,this._currentLineBeginOffset=0,this._tokenStartOffset=0,this._tokenEndOffset=0,this._tokenStartLine=1,this._tokenEndLine=1,this._tokenStartColumn=0,this._tokenEndColumn=0,this},getStates:function(){return this._states},getCurrentState:function(){return this._states[this._states.length-1]},pushState:function(e){this._states.push(e)},begin:function(e){this.pushState(e)},popState:function(){return this._states.length>1?this._states.pop():this._states[0]},getNextToken:function(){if(this._tokensQueue.length>0)return this.onToken(this._toToken(this._tokensQueue.shift()));if(!this.hasMoreTokens())return this.onToken(bn);for(var e=this._string.slice(this._cursor),r=bt[this.getCurrentState()],t=0;t<r.length;t++){var n=br[r[t]],u=this._match(e,n[0]);if(""===e&&""===u&&this._cursor++,null!==u){(h1=u).length;var a=n[1].call(this);if(!a)return this.getNextToken();if(Array.isArray(a)){var i,o=a.slice(1);a=a[0],o.length>0&&(i=this._tokensQueue).unshift.apply(i,h0(o))}return this.onToken(this._toToken(a,h1))}}if(this.isEOF())return this._cursor++,bn;this.throwUnexpectedToken(e[0],this._currentLine,this._currentColumn)},throwUnexpectedToken:function(e,r,t){var n=this._string.split("\n")[r-1],u="";throw n&&(u="\n\n"+n+"\n"+" ".repeat(t)+"^\n"),SyntaxError(u+'Unexpected token: "'+e+'" '+("at "+r)+":"+t+".")},getCursor:function(){return this._cursor},getCurrentLine:function(){return this._currentLine},getCurrentColumn:function(){return this._currentColumn},_captureLocation:function(e){var r=/\n/g;this._tokenStartOffset=this._cursor,this._tokenStartLine=this._currentLine,this._tokenStartColumn=this._tokenStartOffset-this._currentLineBeginOffset;for(var t=void 0;null!==(t=r.exec(e));)this._currentLine++,this._currentLineBeginOffset=this._tokenStartOffset+t.index+1;this._tokenEndOffset=this._cursor+e.length,this._tokenEndLine=this._currentLine,this._tokenEndColumn=this._currentColumn=this._tokenEndOffset-this._currentLineBeginOffset},_toToken:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{type:e,value:r,startOffset:this._tokenStartOffset,endOffset:this._tokenEndOffset,startLine:this._tokenStartLine,endLine:this._tokenEndLine,startColumn:this._tokenStartColumn,endColumn:this._tokenEndColumn}},isEOF:function(){return this._cursor===this._string.length},hasMoreTokens:function(){return this._cursor<=this._string.length},_match:function(e,r){var t=e.match(r);return t?(this._captureLocation(t[0]),this._cursor+=t[0].length,t[0]):null},onToken:function(e){return e}},h2.lexer=be,h2.tokenizer=be,h2.options={captureLocations:!0};var bu={setOptions:function(e){return h2.options=e,this},getOptions:function(){return h2.options},parse:function(e,r){if(!be)throw Error("Tokenizer instance wasn't specified.");be.initString(e);var t=h2.options;r&&(h2.options=Object.assign({},h2.options,r)),bu.onParseBegin(e,be,h2.options),h7.length=0,h7.push(0);var n=be.getNextToken(),u=null;do{n||(h2.options=t,bE());var a=h7[h7.length-1],i=h6[n.type];h9[a].hasOwnProperty(i)||(h2.options=t,bx(n));var o=h9[a][i];if("s"===o[0]){var s=null;h2.options.captureLocations&&(s={startOffset:n.startOffset,endOffset:n.endOffset,startLine:n.startLine,endLine:n.endLine,startColumn:n.startColumn,endColumn:n.endColumn}),u=this.onShift(n),h7.push({symbol:h6[u.type],semanticValue:u.value,loc:s},Number(o.slice(1))),n=be.getNextToken()}else if("r"===o[0]){var d=h8[o.slice(1)],c="function"==typeof d[2],f=c?[]:null,l=c&&h2.options.captureLocations?[]:null;if(0!==d[1])for(var p=d[1];p-- >0;){h7.pop();var g=h7.pop();c&&(f.unshift(g.semanticValue),l&&l.unshift(g.loc))}var m={symbol:d[0]};if(c){h1=u?u.value:null,u&&u.value.length;var y=null!==l?f.concat(l):f;d[2].apply(d,h0(y)),m.semanticValue=h3,l&&(m.loc=h4)}var h=h7[h7.length-1],b=d[0];h7.push(m,h9[h][b])}else if("acc"===o){h7.pop();var v=h7.pop();if((1!==h7.length||0!==h7[0]||be.hasMoreTokens())&&(h2.options=t,bx(n)),v.hasOwnProperty("semanticValue"))return h2.options=t,bu.onParseEnd(v.semanticValue),v.semanticValue;return bu.onParseEnd(),h2.options=t,!0}}while(be.hasMoreTokens()||h7.length>1)},setTokenizer:function(e){return be=e,bu},getTokenizer:function(){return be},onParseBegin:function(e,r,t){},onParseEnd:function(e){},onShift:function(e){return e}},ba=0,bi={},bo="";function bs(e){var r=e.match(/\d+/g).map(Number);if(Number.isFinite(r[1])&&r[1]<r[0])throw SyntaxError("Numbers out of order in "+e+" quantifier");return r}function bd(e,r){if("control"===e.kind||"control"===r.kind||!isNaN(e.codePoint)&&!isNaN(r.codePoint)&&e.codePoint>r.codePoint)throw SyntaxError("Range "+e.value+"-"+r.value+" out of order in character class")}bu.onParseBegin=function(e,r){bo=e,ba=0,bi={};var t=e.lastIndexOf("/"),n=e.slice(t);n.includes("x")&&n.includes("u")?r.pushState("xu"):(n.includes("x")&&r.pushState("x"),n.includes("u")&&r.pushState("u"))},bu.onShift=function(e){return("L_PAREN"===e.type||"NAMED_CAPTURE_GROUP"===e.type)&&(e.value=new String(e.value),e.value.groupNumber=++ba),e};var bc={isAlias:function(e){return hW.hasOwnProperty(e)||hV.hasOwnProperty(e)},isValidName:function(e){return hU.hasOwnProperty(e)||hW.hasOwnProperty(e)||hq.hasOwnProperty(e)||hV.hasOwnProperty(e)},isValidValue:function(e,r){return"General_Category"===e||"gc"==e?hX(r):!!("Script"===e||"Script_Extensions"===e||"sc"===e||"scx"===e)&&hY(r)},isGeneralCategoryValue:hX,isScriptCategoryValue:hY,isBinaryPropertyName:function(e){return hq.hasOwnProperty(e)||hV.hasOwnProperty(e)},getCanonicalName:function(e){return hW.hasOwnProperty(e)?hW[e]:hV.hasOwnProperty(e)?hV[e]:null},getCanonicalValue:function(e){return hG.hasOwnProperty(e)?hG[e]:hK.hasOwnProperty(e)?hK[e]:hV.hasOwnProperty(e)?hV[e]:null},NON_BINARY_PROP_NAMES_TO_ALIASES:hU,NON_BINARY_ALIASES_TO_PROP_NAMES:hW,BINARY_PROP_NAMES_TO_ALIASES:hq,BINARY_ALIASES_TO_PROP_NAMES:hV,GENERAL_CATEGORY_VALUE_TO_ALIASES:hZ,GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES:hG,SCRIPT_VALUE_TO_ALIASES:hH,SCRIPT_VALUE_ALIASES_TO_VALUE:hK};function bf(e,r,t){var n=void 0,u=void 0;switch(r){case"decimal":n=String.fromCodePoint(u=Number(e.slice(1)));break;case"oct":n=String.fromCodePoint(u=parseInt(e.slice(1),8));break;case"hex":case"unicode":if(e.lastIndexOf("\\u")>0){var a=hQ(e.split("\\u").slice(1),2),i=a[0],o=a[1];n=String.fromCodePoint(u=((i=parseInt(i,16))-55296)*1024+((o=parseInt(o,16))-56320)+65536)}else{if((u=parseInt(e.slice(2).replace("{",""),16))>1114111)throw SyntaxError("Bad character escape sequence: "+e);n=String.fromCodePoint(u)}break;case"meta":switch(e){case"\\t":u=(n=" ").codePointAt(0);break;case"\\n":u=(n="\n").codePointAt(0);break;case"\\r":u=(n="\r").codePointAt(0);break;case"\\v":u=(n="\v").codePointAt(0);break;case"\\f":u=(n="\f").codePointAt(0);break;case"\\b":u=(n="\b").codePointAt(0);case"\\0":n="\x00",u=0;case".":n=".",u=NaN;break;default:u=NaN}break;case"simple":u=(n=e).codePointAt(0)}return bb({type:"Char",value:e,kind:r,symbol:n,codePoint:u},t)}var bl=/^\\u[0-9a-fA-F]{4}/,bp=/^\\u\{[0-9a-fA-F]{1,}\}/,bg=/\\u\{[0-9a-fA-F]{1,}\}/;function bm(e,r){if(bg.test(e)&&!("u"===r||"xu"===r||"u_class"===r))throw SyntaxError('invalid group Unicode name "'+e+'", use `u` flag.');return e}var by=/\\u(?:([dD][89aAbB][0-9a-fA-F]{2})\\u([dD][c-fC-F][0-9a-fA-F]{2})|([dD][89aAbB][0-9a-fA-F]{2})|([dD][c-fC-F][0-9a-fA-F]{2})|([0-9a-ce-fA-CE-F][0-9a-fA-F]{3}|[dD][0-7][0-9a-fA-F]{2})|\{(0*(?:[0-9a-fA-F]{1,5}|10[0-9a-fA-F]{4}))\})/;function bh(e){return e.replace(RegExp(by,"g"),function(e,r,t,n,u,a,i){return r?String.fromCodePoint(parseInt(r,16),parseInt(t,16)):n?String.fromCodePoint(parseInt(n,16)):u?String.fromCodePoint(parseInt(u,16)):a?String.fromCodePoint(parseInt(a,16)):i?String.fromCodePoint(parseInt(i,16)):e})}function bb(e,r){return h2.options.captureLocations&&(e.loc={source:bo.slice(r.startOffset,r.endOffset),start:{line:r.startLine,column:r.startColumn,offset:r.startOffset},end:{line:r.endLine,column:r.endColumn,offset:r.endOffset}}),e}function bv(e,r){return h2.options.captureLocations?{startOffset:e.startOffset,endOffset:r.endOffset,startLine:e.startLine,endLine:r.endLine,startColumn:e.startColumn,endColumn:r.endColumn}:null}function bx(e){"$"===e.type&&bE(),be.throwUnexpectedToken(e.value,e.startLine,e.startColumn)}function bE(){!function(e){throw SyntaxError(e)}("Unexpected end of input.")}var bA=bu.parse.bind(bu);bu.parse=function(e,r){return bA(""+e,r)},bu.setOptions({captureLocations:!1});var bD=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),bC="expressions",bS="expression",b_=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.node=r,this.parentPath=t,this.parent=t?t.node:null,this.property=n,this.index=u}return bD(e,[{key:"_enforceProp",value:function(e){if(!this.node.hasOwnProperty(e))throw Error("Node of type "+this.node.type+" doesn't have \""+e+'" collection.')}},{key:"setChild",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=void 0;return null!=t?(n||(n=bC),this._enforceProp(n),this.node[n][t]=r,u=e.getForNode(r,this,n,t)):(n||(n=bS),this._enforceProp(n),this.node[n]=r,u=e.getForNode(r,this,n,null)),u}},{key:"appendChild",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r||(r=bC),this._enforceProp(r);var t=this.node[r].length;return this.setChild(e,t,r)}},{key:"insertChildAt",value:function(r,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bC;this._enforceProp(n),this.node[n].splice(t,0,r),t<=e.getTraversingIndex()&&e.updateTraversingIndex(1),this._rebuildIndex(this.node,n)}},{key:"remove",value:function(){if(!this.isRemoved()&&(e.registry.delete(this.node),this.node=null,this.parent)){if(null!==this.index){this.parent[this.property].splice(this.index,1),this.index<=e.getTraversingIndex()&&e.updateTraversingIndex(-1),this._rebuildIndex(this.parent,this.property),this.index=null,this.property=null;return}delete this.parent[this.property],this.property=null}}},{key:"_rebuildIndex",value:function(r,t){for(var n=e.getForNode(r),u=0;u<r[t].length;u++)e.getForNode(r[t][u],n,t,u).index=u}},{key:"isRemoved",value:function(){return null===this.node}},{key:"replace",value:function(r){return(e.registry.delete(this.node),this.node=r,this.parent)?(null!==this.index?this.parent[this.property][this.index]=r:this.parent[this.property]=r,e.getForNode(r,this.parentPath,this.property,this.index)):null}},{key:"update",value:function(e){Object.assign(this.node,e)}},{key:"getParent",value:function(){return this.parentPath}},{key:"getChild",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.node.expressions?e.getForNode(this.node.expressions[r],this,bC,r):this.node.expression&&0==r?e.getForNode(this.node.expression,this,bS):null}},{key:"hasEqualSource",value:function(e){return JSON.stringify(this.node,bw)===JSON.stringify(e.node,bw)}},{key:"jsonEncode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.format,t=e.useLoc;return JSON.stringify(this.node,t?null:bw,r)}},{key:"getPreviousSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index-1],e.getForNode(this.parent),this.property,this.index-1):null}},{key:"getNextSibling",value:function(){return this.parent&&null!=this.index?e.getForNode(this.parent[this.property][this.index+1],e.getForNode(this.parent),this.property,this.index+1):null}}],[{key:"getForNode",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;if(!r)return null;e.registry.has(r)||e.registry.set(r,new e(r,t,n,-1==u?null:u));var a=e.registry.get(r);return null!==t&&(a.parentPath=t,a.parent=a.parentPath.node),null!==n&&(a.property=n),u>=0&&(a.index=u),a}},{key:"initRegistry",value:function(){e.registry||(e.registry=new Map),e.registry.clear()}},{key:"updateTraversingIndex",value:function(r){return e.traversingIndexStack[e.traversingIndexStack.length-1]+=r}},{key:"getTraversingIndex",value:function(){return e.traversingIndexStack[e.traversingIndexStack.length-1]}}]),e}();function bw(e,r){if("loc"!==e)return r}b_.initRegistry(),b_.traversingIndexStack=[];var bF={traverse:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{asNodes:!1};function n(e,r,t,n){var u=b_.getForNode(r);return b_.getForNode(e,u,t,n)}Array.isArray(r)||(r=[r]),r=r.filter(function(r){return"function"!=typeof r.shouldRun||r.shouldRun(e)}),b_.initRegistry(),r.forEach(function(r){"function"==typeof r.init&&r.init(e)}),function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.pre,n=r.post,u=r.skipProperty;!function e(r,a,i,o){if(r&&"string"==typeof r.type){var s=void 0;if(t&&(s=t(r,a,i,o)),!1!==s){for(var d in a&&a[i]&&(r=isNaN(o)?a[i]:a[i][o]),r)if(r.hasOwnProperty(d)){if(u?u(d,r):"$"===d[0])continue;var c=r[d];if(Array.isArray(c)){var f=0;for(b_.traversingIndexStack.push(f);f<c.length;)e(c[f],r,d,f),f=b_.updateTraversingIndex(1);b_.traversingIndexStack.pop()}else e(c,r,d)}}n&&n(r,a,i,o)}}(e,null)}(e,{pre:function(e,u,a,i){var o=void 0;t.asNodes||(o=n(e,u,a,i));var s=!0,d=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(s=(f=l.next()).done);s=!0){var p=f.value;if("function"==typeof p["*"]){if(o){if(!o.isRemoved()){var g=p["*"](o);if(!1===g)return!1}}else p["*"](e,u,a,i)}var m=void 0;if("function"==typeof p[e.type]?m=p[e.type]:"object"==typeof p[e.type]&&"function"==typeof p[e.type].pre&&(m=p[e.type].pre),m){if(o){if(!o.isRemoved()){var y=m.call(p,o);if(!1===y)return!1}}else m.call(p,e,u,a,i)}}}catch(e){d=!0,c=e}finally{try{!s&&l.return&&l.return()}finally{if(d)throw c}}},post:function(e,u,a,i){if(e){var o=void 0;t.asNodes||(o=n(e,u,a,i));var s=!0,d=!1,c=void 0;try{for(var f,l=r[Symbol.iterator]();!(s=(f=l.next()).done);s=!0){var p=f.value,g=void 0;if("object"==typeof p[e.type]&&"function"==typeof p[e.type].post&&(g=p[e.type].post),g){if(o){if(!o.isRemoved()){var m=g.call(p,o);if(!1===m)return!1}}else g.call(p,e,u,a,i)}}}catch(e){d=!0,c=e}finally{try{!s&&l.return&&l.return()}finally{if(d)throw c}}}},skipProperty:function(e){return"loc"===e}})}},bT=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),bk=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._ast=r,this._source=null,this._string=null,this._regexp=null,this._extra=t}return bT(e,[{key:"getAST",value:function(){return this._ast}},{key:"setExtra",value:function(e){this._extra=e}},{key:"getExtra",value:function(){return this._extra}},{key:"toRegExp",value:function(){return this._regexp||(this._regexp=new RegExp(this.getSource(),this._ast.flags)),this._regexp}},{key:"getSource",value:function(){return this._source||(this._source=hz.generate(this._ast.body)),this._source}},{key:"getFlags",value:function(){return this._ast.flags}},{key:"toString",value:function(){return this._string||(this._string=hz.generate(this._ast)),this._string}}]),e}(),bP={TransformResult:bk,transform:function(e,r){var t=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(t=bu.parse(e,{captureLocations:!0})),bF.traverse(t,r),new bk(t)}},bI={dotAll:{_hasUFlag:!1,shouldRun:function(e){return!!e.flags.includes("s")&&(e.flags=e.flags.replace("s",""),this._hasUFlag=e.flags.includes("u"),!0)},Char:function(e){var r=e.node;if("meta"===r.kind&&"."===r.value){var t="\\uFFFF",n="￿";this._hasUFlag&&(t="\\u{10FFFF}",n="\uDBFF\uDFFF"),e.replace({type:"CharacterClass",expressions:[{type:"ClassRange",from:{type:"Char",value:"\\0",kind:"decimal",symbol:"\x00"},to:{type:"Char",value:t,kind:"unicode",symbol:n}}]})}}},namedCapturingGroups:{_groupNames:{},init:function(){this._groupNames={}},getExtra:function(){return this._groupNames},Group:function(e){var r=e.node;r.name&&(this._groupNames[r.name]=r.number,delete r.name,delete r.nameRaw)},Backreference:function(e){var r=e.node;"name"===r.kind&&(r.kind="number",r.reference=r.number,delete r.referenceRaw)}},xFlag:{RegExp:function(e){var r=e.node;r.flags.includes("x")&&(r.flags=r.flags.replace("x",""))}}},bj="A".codePointAt(0),bB="Z".codePointAt(0),bO="a".codePointAt(0),bR="z".codePointAt(0),bL="0".codePointAt(0),bN="9".codePointAt(0),bM="A".codePointAt(0),b$="Z".codePointAt(0),bz={disjunctionToList:function e(r){if("Disjunction"!==r.type)throw TypeError('Expected "Disjunction" node, got "'+r.type+'"');var t=[];return r.left&&"Disjunction"===r.left.type?t.push.apply(t,(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t})(e(r.left)).concat([r.right])):t.push(r.left,r.right),t},listToDisjunction:function(e){return e.reduce(function(e,r){return{type:"Disjunction",left:e,right:r}})},increaseQuantifierByOne:function(e){"*"===e.kind?e.kind="+":"+"===e.kind?(e.kind="Range",e.from=2,delete e.to):"?"===e.kind?(e.kind="Range",e.from=1,e.to=2):"Range"===e.kind&&(e.from+=1,e.to&&(e.to+=1))}},bU=bz.increaseQuantifierByOne;function bW(e){return e.greedy&&("+"===e.kind||"*"===e.kind||"Range"===e.kind&&!e.to)}function bq(e){var r=void 0,t=void 0;return"*"===e.kind?r=0:"+"===e.kind?r=1:"?"===e.kind?(r=0,t=1):(r=e.from,e.to&&(t=e.to)),{from:r,to:t}}function bV(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var bZ=[function(e){return bG(e," ")}].concat(bV(["\\f","\\n","\\r","\\t","\\v"].map(function(e){return function(r){return bH(r,e)}})),bV([160,5760,8232,8233,8239,8287,12288,65279].map(function(e){return function(r){return bK(r,e)}})),[function(e){return"ClassRange"===e.type&&bK(e.from,8192)&&bK(e.to,8202)}]);function bG(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"simple";return"Char"===e.type&&e.value===r&&e.kind===t}function bH(e,r){return bG(e,r,"meta")}function bK(e,r){return"Char"===e.type&&"unicode"===e.kind&&e.codePoint===r}function bJ(e,r,t){for(var n=e,u=(t?n>=0:n<r.expressions.length)&&r.expressions[n];u&&"Char"===u.type&&"simple"===u.kind&&!u.escaped&&/\d/.test(u.value);)t?n--:n++,u=(t?n>=0:n<r.expressions.length)&&r.expressions[n];return Math.abs(e-n)}function bX(e,r){return e&&"Char"===e.type&&"simple"===e.kind&&!e.escaped&&e.value===r}function bY(e,r){var t=bQ(e),n=bQ(r);if(t===n){if("ClassRange"===e.type&&"ClassRange"!==r.type)return -1;if("ClassRange"===r.type&&"ClassRange"!==e.type)return 1;if("ClassRange"===e.type&&"ClassRange"===r.type)return bQ(e.to)-bQ(r.to);if(b0(e)&&b0(r)||b1(e)&&b1(r))return e.value<r.value?-1:1}return t-n}function bQ(e){return"Char"===e.type?"-"===e.value||"control"===e.kind?1/0:"meta"===e.kind&&isNaN(e.codePoint)?-1:e.codePoint:e.from.codePoint}function b0(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"Char"===e.type&&"meta"===e.kind&&(r?e.value===r:/^\\[dws]$/i.test(e.value))}function b1(e){return"Char"===e.type&&"control"===e.kind}function b2(e){return 9===e.codePoint||10===e.codePoint||11===e.codePoint||12===e.codePoint||13===e.codePoint||32===e.codePoint||160===e.codePoint||5760===e.codePoint||e.codePoint>=8192&&e.codePoint<=8202||8232===e.codePoint||8233===e.codePoint||8239===e.codePoint||8287===e.codePoint||12288===e.codePoint||65279===e.codePoint}function b3(e){return e.codePoint>=48&&e.codePoint<=57}function b4(e,r){return b3(e)||e.codePoint>=65&&e.codePoint<=90||e.codePoint>=97&&e.codePoint<=122||"_"===e.value||r&&(383===e.codePoint||8490===e.codePoint)}function b5(e){return e&&"Char"===e.type&&!isNaN(e.codePoint)&&(b4(e,!1)||"unicode"===e.kind||"hex"===e.kind||"oct"===e.kind||"decimal"===e.kind)}var b8=bz.disjunctionToList,b6=bz.listToDisjunction,b9={RegExp:function(e,r){e.node.body=r},Group:function(e,r){var t=e.node;t.capturing?t.expression=r:e.replace(r)}};function b7(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}function ve(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vr=bz.increaseQuantifierByOne,vt=new Map([["charSurrogatePairToSingleUnicode",{shouldRun:function(e){return e.flags.includes("u")},Char:function(e){var r=e.node;"unicode"!==r.kind||!r.isSurrogatePair||isNaN(r.codePoint)||(r.value="\\u{"+r.codePoint.toString(16)+"}",delete r.isSurrogatePair)}}],["charCodeToSimpleChar",{Char:function(e){var r=e.node,t=e.parent;if(!isNaN(r.codePoint)&&"simple"!==r.kind&&("ClassRange"!==t.type||(n=t.from,u=t.to,n.codePoint>=bL&&n.codePoint<=bN&&u.codePoint>=bL&&u.codePoint<=bN||n.codePoint>=bj&&n.codePoint<=bB&&u.codePoint>=bj&&u.codePoint<=bB||n.codePoint>=bO&&n.codePoint<=bR&&u.codePoint>=bO&&u.codePoint<=bR))&&(a=r.codePoint)>=32&&a<=126){var n,u,a,i,o=String.fromCodePoint(r.codePoint),s={type:"Char",kind:"simple",value:o,symbol:o,codePoint:r.codePoint};("ClassRange"===(i=t.type)||"CharacterClass"===i?/[\]\\^-]/.test(o):/[*[()+?^$./\\|{}]/.test(o))&&(s.escaped=!0),e.replace(s)}}}],["charCaseInsensitiveLowerCaseTransform",{_AZClassRanges:null,_hasUFlag:!1,init:function(e){this._AZClassRanges=new Set,this._hasUFlag=e.flags.includes("u")},shouldRun:function(e){return e.flags.includes("i")},Char:function(e){var r,t,n=e.node,u=e.parent;if(!isNaN(n.codePoint)&&(this._hasUFlag||!(n.codePoint>=4096))){if("ClassRange"===u.type){if(!this._AZClassRanges.has(u)&&(r=u.from,t=u.to,!(r.codePoint>=bM)||!(r.codePoint<=b$)||!(t.codePoint>=bM)||!(t.codePoint<=b$)))return;this._AZClassRanges.add(u)}var a=n.symbol.toLowerCase();a!==n.symbol&&(n.value=function(e,r){var t=e.codePointAt(0);if("decimal"===r.kind)return"\\"+t;if("oct"===r.kind)return"\\0"+t.toString(8);if("hex"===r.kind)return"\\x"+t.toString(16);if("unicode"===r.kind){if(r.isSurrogatePair){var n={lead:(Math.floor((t-65536)/1024)+55296).toString(16),trail:((t-65536)%1024+56320).toString(16)},u=n.lead,a=n.trail;return"\\u"+"0".repeat(4-u.length)+u+"\\u"+"0".repeat(4-a.length)+a}if(r.value.includes("{"))return"\\u{"+t.toString(16)+"}";var i=t.toString(16);return"\\u"+"0".repeat(4-i.length)+i}return e}(a,n),n.symbol=a,n.codePoint=a.codePointAt(0))}}}],["charClassRemoveDuplicates",{CharacterClass:function(e){for(var r=e.node,t={},n=0;n<r.expressions.length;n++){var u=e.getChild(n),a=u.jsonEncode();t.hasOwnProperty(a)&&(u.remove(),n--),t[a]=!0}}}],["quantifiersMerge",{Repetition:function(e){var r=e.node;if("Alternative"===e.parent.type&&e.index){var t=e.getPreviousSibling();if(t){if("Repetition"===t.node.type){if(!t.getChild().hasEqualSource(e.getChild()))return;var n=bq(t.node.quantifier),u=n.from,a=n.to,i=bq(r.quantifier),o=i.from,s=i.to;if(t.node.quantifier.greedy!==r.quantifier.greedy&&!bW(t.node.quantifier)&&!bW(r.quantifier))return;r.quantifier.kind="Range",r.quantifier.from=u+o,a&&s?r.quantifier.to=a+s:delete r.quantifier.to,(bW(t.node.quantifier)||bW(r.quantifier))&&(r.quantifier.greedy=!0),t.remove()}else{if(!t.hasEqualSource(e.getChild()))return;bU(r.quantifier),t.remove()}}}}}],["quantifierRangeToSymbol",{Quantifier:function(e){if("Range"===e.node.kind){var r,t,n;0!==(r=e.node).from||r.to||(r.kind="*",delete r.from),1!==(t=e.node).from||t.to||(t.kind="+",delete t.from),1===(n=e.node).from&&1===n.to&&e.parentPath.replace(e.parentPath.node.expression)}}}],["charClassClassrangesToChars",{ClassRange:function(e){var r=e.node;r.from.codePoint===r.to.codePoint?e.replace(r.from):r.from.codePoint===r.to.codePoint-1&&(e.getParent().insertChildAt(r.to,e.index+1),e.replace(r.from))}}],["charClassToMeta",{_hasIFlag:!1,_hasUFlag:!1,init:function(e){this._hasIFlag=e.flags.includes("i"),this._hasUFlag=e.flags.includes("u")},CharacterClass:function(e){var r,t,n,u,a,i,o,s,d;(function(e){e.node.expressions.forEach(function(r,t){"ClassRange"===r.type&&"0"===r.from.value&&"9"===r.to.value&&e.getChild(t).replace({type:"Char",value:"\\d",kind:"meta"})})})(e),r=this._hasIFlag,t=this._hasUFlag,n=e.node,u=null,a=null,i=null,o=null,s=null,d=null,n.expressions.forEach(function(n,c){bH(n,"\\d")?u=e.getChild(c):"ClassRange"===n.type&&"a"===n.from.value&&"z"===n.to.value?a=e.getChild(c):"ClassRange"===n.type&&"A"===n.from.value&&"Z"===n.to.value?i=e.getChild(c):"Char"===n.type&&"_"===n.value&&"simple"===n.kind?o=e.getChild(c):r&&t&&bK(n,383)?s=e.getChild(c):r&&t&&bK(n,8490)&&(d=e.getChild(c))}),u&&(a&&i||r&&(a||i))&&o&&(!t||!r||s&&d)&&(u.replace({type:"Char",value:"\\w",kind:"meta"}),a&&a.remove(),i&&i.remove(),o.remove(),s&&s.remove(),d&&d.remove()),function(e){var r=e.node;if(!(r.expressions.length<bZ.length)&&bZ.every(function(e){return r.expressions.some(function(r){return e(r)})})){var t=r.expressions.find(function(e){return bH(e,"\\n")});t.value="\\s",t.symbol=void 0,t.codePoint=NaN,r.expressions.map(function(r,t){return bZ.some(function(e){return e(r)})?e.getChild(t):void 0}).filter(Boolean).forEach(function(e){return e.remove()})}}(e)}}],["charClassToSingleChar",{CharacterClass:function(e){var r=e.node;if(1===r.expressions.length&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var n=r.expressions[t-1];return null==n||("Backreference"!==n.type||"number"!==n.kind)&&("Char"!==n.type||"decimal"!==n.kind)}(e)&&"Char"===(t=r.expressions[0]).type&&"\\b"!==t.value){var t,n,u,a,i=r.expressions[0],o=i.value,s=i.kind,d=i.escaped;if(r.negative){if(n=o,!/^\\[dwsDWS]$/.test(n))return;u=o,o=/[dws]/.test(u)?u.toUpperCase():u.toLowerCase()}e.replace({type:"Char",value:o,kind:s,escaped:d||(a=o,/[*[()+?$./{}|]/.test(a))})}}}],["charEscapeUnescape",{_hasXFlag:!1,init:function(e){this._hasXFlag=e.flags.includes("x")},Char:function(e){var r,t,n,u,a=e.node;a.escaped&&(r=this._hasXFlag,t=e.node.value,n=e.index,("CharacterClass"!==(u=e.parent).type&&"ClassRange"!==u.type?"{"===t?function(e,r){if(null==e)return!1;var t=bJ(e+1,r),n=e+t+1,u=n<r.expressions.length&&r.expressions[n];if(t){if(bX(u,"}"))return!0;if(bX(u,","))return t=bJ(n+1,r),bX(u=(n=n+t+1)<r.expressions.length&&r.expressions[n],"}")}return!1}(n,u):"}"===t?function(e,r){if(null==e)return!1;var t=bJ(e-1,r,!0),n=e-t-1,u=n>=0&&r.expressions[n];return!!(t&&bX(u,"{"))||!!bX(u,",")&&(t=bJ(n-1,r,!0),u=(n=n-t-1)<r.expressions.length&&r.expressions[n],t&&bX(u,"{"))}(n,u):!!(r&&/[ #]/.test(t))||/[*[()+?^$./\\|]/.test(t):"^"===t?0===n&&!u.negative:"-"===t||/[\]\\]/.test(t))||delete a.escaped)}}],["charClassClassrangesMerge",{_hasIUFlags:!1,init:function(e){this._hasIUFlags=e.flags.includes("i")&&e.flags.includes("u")},CharacterClass:function(e){var r=e.node.expressions,t=[];r.forEach(function(e){b0(e)&&t.push(e.value)}),r.sort(bY);for(var n=0;n<r.length;n++){var u,a=r[n];if(function(e,r,t){for(var n=0;n<r.length;n++)if(function e(r,t,n){return"ClassRange"===r.type?e(r.from,t,n)&&e(r.to,t,n):!!("\\S"===t&&(b0(r,"\\w")||b0(r,"\\d"))||"\\D"===t&&(b0(r,"\\W")||b0(r,"\\s"))||"\\w"===t&&b0(r,"\\d")||"\\W"===t&&b0(r,"\\s"))||!("Char"!==r.type||isNaN(r.codePoint))&&("\\s"===t?b2(r):"\\S"===t?!b2(r):"\\d"===t?b3(r):"\\D"===t?!b3(r):"\\w"===t?b4(r,n):"\\W"===t&&!b4(r,n))}(e,r[n],t))return!0;return!1}(a,t,this._hasIUFlags)||function(e,r){if(r&&"ClassRange"===r.type){if(function e(r,t){return!("Char"===r.type&&isNaN(r.codePoint))&&("ClassRange"===r.type?e(r.from,t)&&e(r.to,t):r.codePoint>=t.from.codePoint&&r.codePoint<=t.to.codePoint)}(e,r))return!0;if(b5(e)&&r.to.codePoint===e.codePoint-1)return r.to=e,!0;if("ClassRange"===e.type&&e.from.codePoint<=r.to.codePoint+1&&e.to.codePoint>=r.from.codePoint-1)return e.from.codePoint<r.from.codePoint&&(r.from=e.from),e.to.codePoint>r.to.codePoint&&(r.to=e.to),!0}return!1}(a,r[n-1])||(u=r[n+1])&&"ClassRange"===u.type&&b5(a)&&u.from.codePoint===a.codePoint+1&&(u.from=a,1))r.splice(n,1),n--;else{var i=function(e,r,t){if(!b5(e))return 0;for(var n=0;r>0;){var u=t[r],a=t[r-1];if(b5(a)&&a.codePoint===u.codePoint-1)n++,r--;else break}return n>1?(t[r]={type:"ClassRange",from:t[r],to:e},n):0}(a,n,r);r.splice(n-i+1,i),n-=i}}}}],["disjunctionRemoveDuplicates",{Disjunction:function(e){var r=e.node,t={},n=b8(r).filter(function(e){var r=e?b_.getForNode(e).jsonEncode():"null";return!t.hasOwnProperty(r)&&(t[r]=e,!0)});e.replace(b6(n))}}],["groupSingleCharsToCharClass",{Disjunction:function(e){var r=e.node,t=e.parent;if(b9[t.type]){var n=new Map;if(function e(r,t){if(!r)return!1;var n=r.type;if("Disjunction"===n){var u=r.left,a=r.right;return e(u,t)&&e(a,t)}if("Char"===n){if("meta"===r.kind&&"."===r.symbol)return!1;var i=r.value;return t.set(i,r),!0}return"CharacterClass"===n&&!r.negative&&r.expressions.every(function(r){return e(r,t)})}(r,n)&&n.size){var u={type:"CharacterClass",expressions:Array.from(n.keys()).sort().map(function(e){return n.get(e)})};b9[t.type](e.getParent(),u)}}}}],["removeEmptyGroup",{Group:function(e){var r=e.node,t=e.parent,n=e.getChild();r.capturing||n||("Repetition"===t.type?e.getParent().replace(r):"RegExp"!==t.type&&e.remove())}}],["ungroup",{Group:function(e){var r=e.node,t=e.parent,n=e.getChild();if(!r.capturing&&n&&function(e){var r=e.parent,t=e.index;if("Alternative"!==r.type)return!0;var n=r.expressions[t-1];return null==n||("Backreference"!==n.type||"number"!==n.kind)&&("Char"!==n.type||"decimal"!==n.kind)}(e)&&("Disjunction"!==n.node.type||"RegExp"===t.type)&&("Repetition"!==t.type||"Char"===n.node.type||"CharacterClass"===n.node.type)){if("Alternative"===n.node.type){var u=e.getParent();"Alternative"===u.node.type&&u.replace({type:"Alternative",expressions:[].concat(b7(t.expressions.slice(0,e.index)),b7(n.node.expressions),b7(t.expressions.slice(e.index+1)))})}else e.replace(n.node)}}}],["combineRepeatingPatterns",{Alternative:function(e){for(var r=e.node,t=1;t<r.expressions.length;){var n=e.getChild(t);if((t=Math.max(1,function(e,r,t){for(var n=e.node,u=Math.ceil(t/2),a=0;a<u;){var i=t-2*a-1,o=void 0,s=void 0;if(0===a?(o=r,s=e.getChild(i)):(o=b_.getForNode({type:"Alternative",expressions:[].concat(ve(n.expressions.slice(t-a,t)),[r.node])}),s=b_.getForNode({type:"Alternative",expressions:[].concat(ve(n.expressions.slice(i,t-a)))})),o.hasEqualSource(s)){for(var d=0;d<2*a+1;d++)e.getChild(i).remove();return r.replace({type:"Repetition",expression:0===a&&"Repetition"!==o.node.type?o.node:{type:"Group",capturing:!1,expression:o.node},quantifier:{type:"Quantifier",kind:"Range",from:2,to:2,greedy:!0}}),i}a++}return t}(e,n,t)))>=r.expressions.length||(n=e.getChild(t),(t=Math.max(1,function(e,r,t){for(var n=e.node,u=0;u<t;){var a=e.getChild(u);if("Repetition"===a.node.type&&a.node.quantifier.greedy){var i=a.getChild(),o=void 0;if("Group"!==i.node.type||i.node.capturing||(i=i.getChild()),u+1===t?"Group"!==(o=r).node.type||o.node.capturing||(o=o.getChild()):o=b_.getForNode({type:"Alternative",expressions:[].concat(ve(n.expressions.slice(u+1,t+1)))}),i.hasEqualSource(o)){for(var s=u;s<t;s++)e.getChild(u+1).remove();return vr(a.node.quantifier),u}}u++}return t}(e,n,t)))>=r.expressions.length))break;n=e.getChild(t),t=Math.max(1,function(e,r,t){var n=e.node;if("Repetition"===r.node.type&&r.node.quantifier.greedy){var u=r.getChild(),a=void 0;"Group"!==u.node.type||u.node.capturing||(u=u.getChild());var i=void 0;if("Alternative"===u.node.type?(i=u.node.expressions.length,a=b_.getForNode({type:"Alternative",expressions:[].concat(ve(n.expressions.slice(t-i,t)))})):(i=1,"Group"!==(a=e.getChild(t-1)).node.type||a.node.capturing||(a=a.getChild())),a.hasEqualSource(u)){for(var o=t-i;o<t;o++)e.getChild(t-i).remove();return vr(r.node.quantifier),t-i}}return t}(e,n,t)),t++}}}]]),vn=function e(r){if(null===r||"object"!=typeof r)return r;var t=void 0;for(var n in t=Array.isArray(r)?[]:{},r)t[n]=e(r[n]);return t},vu={EPSILON:"ε",EPSILON_CLOSURE:"ε*"},va=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")},vi=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vo=vu.EPSILON,vs=vu.EPSILON_CLOSURE,vd=function(){function e(r,t){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this.in=r,this.out=t}return vi(e,[{key:"matches",value:function(e){return this.in.matches(e)}},{key:"getAlphabet",value:function(){if(!this._alphabet){this._alphabet=new Set;var e=this.getTransitionTable();for(var r in e){var t=e[r];for(var n in t)n!==vs&&this._alphabet.add(n)}}return this._alphabet}},{key:"getAcceptingStates",value:function(){return this._acceptingStates||this.getTransitionTable(),this._acceptingStates}},{key:"getAcceptingStateNumbers",value:function(){if(!this._acceptingStateNumbers){this._acceptingStateNumbers=new Set;var e=!0,r=!1,t=void 0;try{for(var n,u=this.getAcceptingStates()[Symbol.iterator]();!(e=(n=u.next()).done);e=!0){var a=n.value;this._acceptingStateNumbers.add(a.number)}}catch(e){r=!0,t=e}finally{try{!e&&u.return&&u.return()}finally{if(r)throw t}}}return this._acceptingStateNumbers}},{key:"getTransitionTable",value:function(){var e=this;if(!this._transitionTable){this._transitionTable={},this._acceptingStates=new Set;var r=new Set,t=new Set;(function n(u){if(!r.has(u)){r.add(u),u.number=r.size,e._transitionTable[u.number]={},u.accepting&&e._acceptingStates.add(u);var a=u.getTransitions(),i=!0,o=!1,s=void 0;try{for(var d,c=a[Symbol.iterator]();!(i=(d=c.next()).done);i=!0){var f=d.value,l=va(f,2),p=l[0],g=l[1],m=[];t.add(p);var y=!0,h=!1,b=void 0;try{for(var v,x=g[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value;n(E),m.push(E.number)}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}e._transitionTable[u.number][p]=m}}catch(e){o=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(o)throw s}}}})(this.in),r.forEach(function(r){delete e._transitionTable[r.number][vo],e._transitionTable[r.number][vs]=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r.getEpsilonClosure())).map(function(e){return e.number})})}return this._transitionTable}}]),e}(),vc=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],n=!0,u=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(n=(i=o.next()).done)&&(t.push(i.value),!r||t.length!==r);n=!0);}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}return t}(e,r);throw TypeError("Invalid attempt to destructure non-iterable instance")};function vf(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vl=null,vp=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();function vg(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}var vm={minimize:function(e){var r=e.getTransitionTable(),t=Object.keys(r),n=e.getAlphabet(),u=e.getAcceptingStateNumbers();vl={};var a=new Set;t.forEach(function(e){e=Number(e),u.has(e)?vl[e]=u:(a.add(e),vl[e]=a)});var i=[[a,u].filter(function(e){return e.size>0})],o=void 0,s=void 0;for(o=i[i.length-1],s=i[i.length-2];!function(e,r){if(!r||e.length!==r.length)return!1;for(var t=0;t<e.length;t++){var n=e[t],u=r[t];if(n.size!==u.size||[].concat(vf(n)).sort().join(",")!==[].concat(vf(u)).sort().join(","))return!1}return!0}(o,s);)!function(){var e={},t=!0,u=!1,a=void 0;try{for(var d,c=o[Symbol.iterator]();!(t=(d=c.next()).done);t=!0){var f=d.value,l={},p=Array.isArray(f)?f:Array.from(f),g=p[0],m=p.slice(1);l[g]=new Set([g]);var y=!0,h=!1,b=void 0;try{r:for(var v,x=m[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=v.value,A=!0,D=!1,C=void 0;try{for(var S,_=Object.keys(l)[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;if(function(e,r,t,n){var u=!0,a=!1,i=void 0;try{for(var o,s=n[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d=o.value;if(!function(e,r,t,n){if(!vl[e]||!vl[r])return!1;var u=t[e][n],a=t[r][n];return!u&&!a||vl[e].has(u)&&vl[r].has(a)}(e,r,t,d))return!1}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return!0}(E,w,r,n)){l[w].add(E),l[E]=l[w];continue r}}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}l[E]=new Set([E])}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}Object.assign(e,l)}}catch(e){u=!0,a=e}finally{try{!t&&c.return&&c.return()}finally{if(u)throw a}}vl=e;var F=new Set(Object.keys(e).map(function(r){return e[r]}));i.push([].concat(vf(F))),o=i[i.length-1],s=i[i.length-2]}();var d=new Map,c=1;o.forEach(function(e){return d.set(e,c++)});var f={},l=new Set,p=!0,g=!1,m=void 0;try{for(var y,h=d.entries()[Symbol.iterator]();!(p=(y=h.next()).done);p=!0){var b=y.value,v=vc(b,2),x=v[0],E=v[1];f[E]={};var A=!0,D=!1,C=void 0;try{for(var S,_=n[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;!function(e,r){var t=!0,n=!1,a=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value;u.has(s)&&l.add(r)}}catch(e){n=!0,a=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw a}}}(x,E);var F=void 0,T=!0,k=!1,P=void 0;try{for(var I,j=x[Symbol.iterator]();!(T=(I=j.next()).done)&&!(F=r[I.value][w]);T=!0);}catch(e){k=!0,P=e}finally{try{!T&&j.return&&j.return()}finally{if(k)throw P}}F&&(f[E][w]=d.get(vl[F]))}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}}}catch(e){g=!0,m=e}finally{try{!p&&h.return&&h.return()}finally{if(g)throw m}}return e.setTransitionTable(f),e.setAcceptingStateNumbers(l),e}},vy=vu.EPSILON_CLOSURE,vh=function(){function e(r){!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._nfa=r}return vp(e,[{key:"minimize",value:function(){this.getTransitionTable(),this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._originalTransitionTable=this._transitionTable,vm.minimize(this)}},{key:"getAlphabet",value:function(){return this._nfa.getAlphabet()}},{key:"getAcceptingStateNumbers",value:function(){return this._acceptingStateNumbers||this.getTransitionTable(),this._acceptingStateNumbers}},{key:"getOriginaAcceptingStateNumbers",value:function(){return this._originalAcceptingStateNumbers||this.getTransitionTable(),this._originalAcceptingStateNumbers}},{key:"setTransitionTable",value:function(e){this._transitionTable=e}},{key:"setAcceptingStateNumbers",value:function(e){this._acceptingStateNumbers=e}},{key:"getTransitionTable",value:function(){var e=this;if(this._transitionTable)return this._transitionTable;var r=this._nfa.getTransitionTable(),t=Object.keys(r);this._acceptingStateNumbers=new Set;for(var n=[r[t[0]][vy]],u=this.getAlphabet(),a=this._nfa.getAcceptingStateNumbers(),i={};n.length>0;){var o=n.shift(),s=o.join(",");i[s]={};var d=!0,c=!1,f=void 0;try{for(var l,p=u[Symbol.iterator]();!(d=(l=p.next()).done);d=!0){var g=l.value,m=[];!function(r){var t=!0,n=!1,u=void 0;try{for(var i,o=a[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value;if(-1!==r.indexOf(s)){e._acceptingStateNumbers.add(r.join(","));break}}}catch(e){n=!0,u=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw u}}}(o);var y=!0,h=!1,b=void 0;try{for(var v,x=o[Symbol.iterator]();!(y=(v=x.next()).done);y=!0){var E=r[v.value][g];if(E){var A=!0,D=!1,C=void 0;try{for(var S,_=E[Symbol.iterator]();!(A=(S=_.next()).done);A=!0){var w=S.value;r[w]&&m.push.apply(m,vg(r[w][vy]))}}catch(e){D=!0,C=e}finally{try{!A&&_.return&&_.return()}finally{if(D)throw C}}}}}catch(e){h=!0,b=e}finally{try{!y&&x.return&&x.return()}finally{if(h)throw b}}var F=new Set(m),T=[].concat(vg(F));if(T.length>0){var k=T.join(",");i[s][g]=k,i.hasOwnProperty(k)||n.unshift(T)}}}catch(e){c=!0,f=e}finally{try{!d&&p.return&&p.return()}finally{if(c)throw f}}}return this._transitionTable=this._remapStateNumbers(i)}},{key:"_remapStateNumbers",value:function(e){var r={};this._originalTransitionTable=e;var t={};for(var n in Object.keys(e).forEach(function(e,t){r[e]=t+1}),e){var u=e[n],a={};for(var i in u)a[i]=r[u[i]];t[r[n]]=a}this._originalAcceptingStateNumbers=this._acceptingStateNumbers,this._acceptingStateNumbers=new Set;var o=!0,s=!1,d=void 0;try{for(var c,f=this._originalAcceptingStateNumbers[Symbol.iterator]();!(o=(c=f.next()).done);o=!0){var l=c.value;this._acceptingStateNumbers.add(r[l])}}catch(e){s=!0,d=e}finally{try{!o&&f.return&&f.return()}finally{if(s)throw d}}return t}},{key:"getOriginalTransitionTable",value:function(){return this._originalTransitionTable||this.getTransitionTable(),this._originalTransitionTable}},{key:"matches",value:function(e){for(var r=1,t=0,n=this.getTransitionTable();e[t];)if(!(r=n[r][e[t++]]))return!1;return!!this.getAcceptingStateNumbers().has(r)}}]),e}(),vb=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vv=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.accepting;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._transitions=new Map,this.accepting=void 0!==t&&t}return vb(e,[{key:"getTransitions",value:function(){return this._transitions}},{key:"addTransition",value:function(e,r){return this.getTransitionsOnSymbol(e).add(r),this}},{key:"getTransitionsOnSymbol",value:function(e){var r=this._transitions.get(e);return r||(r=new Set,this._transitions.set(e,r)),r}}]),e}(),vx=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vE=vu.EPSILON,vA=function(e){function r(){return!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,r),function(e,r){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&("object"==typeof r||"function"==typeof r)?r:e}(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return!function(e,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}(r,e),vx(r,[{key:"matches",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(r.has(this))return!1;if(r.add(this),0===e.length){if(this.accepting)return!0;var t=!0,n=!1,u=void 0;try{for(var a,i=this.getTransitionsOnSymbol(vE)[Symbol.iterator]();!(t=(a=i.next()).done);t=!0)if(a.value.matches("",r))return!0}catch(e){n=!0,u=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw u}}return!1}var o=e[0],s=e.slice(1),d=this.getTransitionsOnSymbol(o),c=!0,f=!1,l=void 0;try{for(var p,g=d[Symbol.iterator]();!(c=(p=g.next()).done);c=!0)if(p.value.matches(s))return!0}catch(e){f=!0,l=e}finally{try{!c&&g.return&&g.return()}finally{if(f)throw l}}var m=!0,y=!1,h=void 0;try{for(var b,v=this.getTransitionsOnSymbol(vE)[Symbol.iterator]();!(m=(b=v.next()).done);m=!0)if(b.value.matches(e,r))return!0}catch(e){y=!0,h=e}finally{try{!m&&v.return&&v.return()}finally{if(y)throw h}}return!1}},{key:"getEpsilonClosure",value:function(){var e=this;return this._epsilonClosure||function(){var r=e.getTransitionsOnSymbol(vE),t=e._epsilonClosure=new Set;t.add(e);var n=!0,u=!1,a=void 0;try{for(var i,o=r[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var s=i.value;t.has(s)||(t.add(s),s.getEpsilonClosure().forEach(function(e){return t.add(e)}))}}catch(e){u=!0,a=e}finally{try{!n&&o.return&&o.return()}finally{if(u)throw a}}}(),this._epsilonClosure}}]),r}(vv),vD=vu.EPSILON;function vC(e){var r=new vA,t=new vA({accepting:!0});return new vd(r.addTransition(e,t),t)}var vS={alt:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d,c=o.value;(d=e).out.accepting=!1,c.out.accepting=!0,d.out.addTransition(vD,c.in),e=new vd(d.in,c.out)}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return e},char:vC,e:function(){return vC(vD)},or:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var d=o.value;e=function(e,r){var t=new vA,n=new vA;return t.addTransition(vD,e.in),t.addTransition(vD,r.in),n.accepting=!0,e.out.accepting=!1,r.out.accepting=!1,e.out.addTransition(vD,n),r.out.addTransition(vD,n),new vd(t,n)}(e,d)}}catch(e){a=!0,i=e}finally{try{!u&&s.return&&s.return()}finally{if(a)throw i}}return e},rep:function(e){return e.in.addTransition(vD,e.out),e.out.addTransition(vD,e.in),e},repExplicit:function(e){var r=new vA,t=new vA({accepting:!0});return r.addTransition(vD,e.in),r.addTransition(vD,t),e.out.accepting=!1,e.out.addTransition(vD,t),t.addTransition(vD,e.in),new vd(r,t)},plusRep:function(e){return e.out.addTransition(vD,e.in),e},questionRep:function(e){return e.in.addTransition(vD,e.out),e}},v_=vS.alt,vw=vS.char,vF=vS.or,vT=vS.rep,vk=vS.plusRep,vP=vS.questionRep;function vI(e){if(e&&!vj[e.type])throw Error(e.type+" is not supported in NFA/DFA interpreter.");return e?vj[e.type](e):""}var vj={RegExp:function(e){if(""!==e.flags)throw Error("NFA/DFA: Flags are not supported yet.");return vI(e.body)},Alternative:function(e){var r=(e.expressions||[]).map(vI);return v_.apply(void 0,function(e){if(!Array.isArray(e))return Array.from(e);for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}(r))},Disjunction:function(e){return vF(vI(e.left),vI(e.right))},Repetition:function(e){switch(e.quantifier.kind){case"*":return vT(vI(e.expression));case"+":return vk(vI(e.expression));case"?":return vP(vI(e.expression));default:throw Error("Unknown repeatition: "+e.quantifier.kind+".")}},Char:function(e){if("simple"!==e.kind)throw Error("NFA/DFA: Only simple chars are supported yet.");return vw(e.value)},Group:function(e){return vI(e.expression)}},vB={build:function(e){var r=e;return e instanceof RegExp&&(e=""+e),"string"==typeof e&&(r=bu.parse(e,{captureLocations:!0})),vI(r)}},vO=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),vR=function(){function e(r,t){var n=t.flags,u=t.groups,a=t.source;!function(e,r){if(!(e instanceof r))throw TypeError("Cannot call a class as a function")}(this,e),this._re=r,this._groups=u,this.flags=n,this.source=a||r.source,this.dotAll=n.includes("s"),this.global=r.global,this.ignoreCase=r.ignoreCase,this.multiline=r.multiline,this.sticky=r.sticky,this.unicode=r.unicode}return vO(e,[{key:"test",value:function(e){return this._re.test(e)}},{key:"compile",value:function(e){return this._re.compile(e)}},{key:"toString",value:function(){return this._toStringResult||(this._toStringResult="/"+this.source+"/"+this.flags),this._toStringResult}},{key:"exec",value:function(e){var r=this._re.exec(e);if(!this._groups||!r)return r;for(var t in r.groups={},this._groups){var n=this._groups[t];r.groups[t]=r[n]}return r}}]),e}(),vL={transform:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=r.length>0?r:Object.keys(bI),n=void 0,u={};return t.forEach(function(r){if(!bI.hasOwnProperty(r))throw Error("Unknown compat-transform: "+r+". Available transforms are: "+Object.keys(bI).join(", "));var t=bI[r];e=(n=bP.transform(e,t)).getAST(),"function"==typeof t.getExtra&&(u[r]=t.getExtra())}),n.setExtra(u),n}},vN={optimize:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.whitelist,n=void 0===t?[]:t,u=r.blacklist,a=void 0===u?[]:u,i=(n.length>0?n:Array.from(vt.keys())).filter(function(e){return!a.includes(e)}),o=e;e instanceof RegExp&&(e=""+e),"string"==typeof e&&(o=bu.parse(e));var s=new bP.TransformResult(o),d=void 0;do d=s.toString(),o=vn(s.getAST()),i.forEach(function(e){if(!vt.has(e))throw Error("Unknown optimization-transform: "+e+". Available transforms are: "+Array.from(vt.keys()).join(", "));var r=vt.get(e),t=bP.transform(o,r);t.toString()!==s.toString()&&(t.toString().length<=s.toString().length?s=t:o=vn(s.getAST()))});while(s.toString()!==d);return s}},vM={parser:bu,fa:{NFA:vd,DFA:vh,builders:vS,toNFA:function(e){return vB.build(e)},toDFA:function(e){return new vh(this.toNFA(e))},test:function(e,r){return this.toDFA(e).matches(r)}},TransformResult:bP.TransformResult,parse:function(e,r){return bu.parse(""+e,r)},traverse:function(e,r,t){return bF.traverse(e,r,t)},transform:function(e,r){return bP.transform(e,r)},generate:function(e){return hz.generate(e)},toRegExp:function(e){var r=this.compatTranspile(e);return new RegExp(r.getSource(),r.getFlags())},optimize:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.blacklist;return vN.optimize(e,{whitelist:r,blacklist:n})},compatTranspile:function(e,r){return vL.transform(e,r)},exec:function(e,r){if("string"==typeof e){var t=this.compatTranspile(e),n=t.getExtra();e=n.namedCapturingGroups?new vR(t.toRegExp(),{flags:t.getFlags(),source:t.getSource(),groups:n.namedCapturingGroups}):t.toRegExp()}return e.exec(r)}};let v$=(e,r)=>{if(r=r||"","string"!=typeof e)throw TypeError(`Expected regexp to be of type \`string\`, got \`${typeof e}\``);if("string"!=typeof r)throw TypeError(`Expected flags to be of type \`string\`, got \`${typeof r}\``);for(let t of hR){let n=t[0],u=t[1];hN(r,u.flags)&&(e=e.replace(RegExp(hL(n),"g"),u.value))}return e},{optimize:vz}=vM,{isStringLiteral:vU,isNewExpression:vW,isRegexLiteral:vq}=fl,vV="better-regex",vZ="better-regex/parse-error";var vG=et({create:e=>{let{sortCharacterClasses:r}=e.options[0]||{},t=[];return!1===r&&t.push("charClassClassrangesMerge"),{Literal(e){if(!vq(e))return;let{raw:r,regex:n}=e;if(n.flags.includes("u"))return;let u=r;try{u=vz(r,void 0,{blacklist:t}).toString()}catch(t){return{node:e,messageId:vZ,data:{original:r,error:t.message}}}if(r===u)return;let a={node:e,messageId:vV,data:{original:r,optimized:u}};return"MemberExpression"!==e.parent.type||e.parent.object!==e||e.parent.optional||e.parent.computed||"Identifier"!==e.parent.property.type||"toString"!==e.parent.property.name&&"source"!==e.parent.property.name?Object.assign(a,{fix:r=>r.replaceText(e,u)}):a},NewExpression(e){if(!vW(e,{name:"RegExp",minimumArguments:1}))return;let[r,t]=e.arguments;if(!vU(r))return;let n=r.value,u=vU(t)?t.value:"",a=v$(n,u);if(n!==a)return{node:e,messageId:vV,data:{original:n,optimized:a},fix:e=>e.replaceText(r,rL(a,r.raw.charAt(0)))}}}},meta:{type:"suggestion",docs:{description:"Improve regexes by making them shorter, consistent, and safer."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{sortCharacterClasses:{type:"boolean",default:!0}}}],messages:{[vV]:"{{original}} can be optimized to {{optimized}}.",[vZ]:"Problem parsing {{original}}: {{error}}"}}});let{replaceTemplateElement:vH}=la,{isRegexLiteral:vK,isStringLiteral:vJ}=fl,vX="escape-case",vY=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+})/g,vQ=/(?<=(?:^|[^\\])(?:\\\\)*\\)(?<data>x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|u{[\dA-Fa-f]+}|c[a-z])/g,v0=({node:e,original:r,regex:t=vY,fix:n})=>{let u=r.replace(t,e=>e.slice(0,1)+e.slice(1).toUpperCase());if(u!==r)return{node:e,messageId:vX,fix:r=>n?n(r,u):r.replaceText(e,u)}};var v1=et({create:e=>{e.on("Literal",e=>{if(vJ(e))return v0({node:e,original:e.raw})}),e.on("Literal",e=>{if(vK(e))return v0({node:e,original:e.raw,regex:vQ})}),e.on("TemplateElement",e=>v0({node:e,original:e.value.raw,fix:(r,t)=>vH(r,e,t)}))},meta:{type:"suggestion",docs:{description:"Require escape sequences to use uppercase values."},fixable:"code",messages:{[vX]:"Use uppercase characters for the value of the escape sequence."}}});let{replaceTemplateElement:v2}=la,{isStringLiteral:v3,isRegexLiteral:v4}=fl,v5="no-hex-escape";function v8(e,r,t){let n=t.replace(/(?<=(?:^|[^\\])(?:\\\\)*\\)x/g,"u00");if(t!==n)return{node:r,messageId:v5,fix:e=>"TemplateElement"===r.type?v2(e,r,n):e.replaceText(r,n)}}var v6=et({create:e=>({Literal(r){if(v3(r)||v4(r))return v8(e,r,r.raw)},TemplateElement:r=>v8(e,r,r.value.raw)}),meta:{type:"suggestion",docs:{description:"Enforce the use of Unicode escapes instead of hexadecimal escapes."},fixable:"code",messages:{[v5]:"Use Unicode escapes instead of hexadecimal escapes."}}});let{getPropertyName:v9}=ro,{fixSpaceAroundKeyword:v7}=la,{isMemberExpression:xe,isMethodCall:xr}=fl;var xt=et({create:function(e){return{CallExpression(r){let t;if(xr(r,{object:"Reflect",method:"apply",minimumArguments:1,optionalCall:!1,optionalMember:!1})?t=r.arguments[0]:xr(r,{names:["apply","bind","call"],optionalCall:!1,optionalMember:!1})&&(t=r.callee.object),!t||!xe(t,{optional:!1}))return;let n=t.object;if(!("ArrayExpression"===n.type&&0===n.elements.length||"ObjectExpression"===n.type&&0===n.properties.length))return;let u="ArrayExpression"===n.type?"Array":"Object",{sourceCode:a}=e,i=v9(t,a.getScope(t));return{node:t,messageId:i?"known-method":"unknown-method",data:{constructorName:u,methodName:i},*fix(e){yield e.replaceText(n,`${u}.prototype`),("ArrayExpression"===n.type||"ObjectExpression"===n.type)&&(yield*v7(e,r,a))}}}}},meta:{type:"suggestion",docs:{description:"Prefer borrowing methods from the prototype instead of the instance."},fixable:"code",messages:{"known-method":"Prefer using `{{constructorName}}.prototype.{{methodName}}`.","unknown-method":"Prefer using method from `{{constructorName}}.prototype`."}}});let{getStaticValue:xn}=ro,{isNewExpression:xu,isStringLiteral:xa}=fl,{replaceStringLiteral:xi}=la,xo="remove",xs=["https://example.com/a/b/","https://example.com/a/b.html"],xd=(e,r)=>{try{return new URL(e,r).href===new URL("./"+e,r).href}catch{}return!1},xc=(e,r=xs)=>r.every(r=>xd(e,r)),xf=(e,r=xs)=>r.every(r=>xd(e.slice(2),r));var xl=et({create:e=>{let r=e.options[0]||"never",t={};return"never"===r&&(t.TemplateLiteral=function(e){if(!(xu(e.parent,{name:"URL",argumentsLength:2})&&e.parent.arguments[0]===e))return;let t=e.quasis[0];if(t.value.raw.startsWith("./"))return{node:e,messageId:r,suggest:[{messageId:xo,fix(e){let r=t.range[0]+1;return e.removeRange([r,r+2])}}]}}),t.Literal=function(t){if(!(xa(t)&&xu(t.parent,{name:"URL",argumentsLength:2})&&t.parent.arguments[0]===t))return;let{sourceCode:n}=e,u=("never"===r?function(e,r){if(function(e,r){let t=e.raw.slice(1,-1);if(!t.startsWith("./"))return!1;let n=e.parent.arguments[1],u=xn(n,r.getScope(e));return!!("string"==typeof u?.value&&xf(e.value,[u.value]))||xf(e.value)}(e,r))return r=>xi(r,e,"",0,2)}:function(e,r){if(function(e,r){let t=e.value;if(t.startsWith("./")||t.startsWith(".")||t.startsWith("/"))return!1;let n=e.parent.arguments[1],u=xn(n,r.getScope(e));return!!("string"==typeof u?.value&&xc(t,[u.value]))||xc(t)}(e,r))return r=>xi(r,e,"./",0,0)})(t,n);if(u)return{node:t,messageId:r,fix:u}},t},meta:{type:"suggestion",docs:{description:"Enforce consistent relative URL style."},fixable:"code",hasSuggestions:!0,schema:[{enum:["never","always"],default:"never"}],messages:{never:"Remove the `./` prefix from the relative URL.",always:"Add a `./` prefix to the relative URL.",[xo]:"Remove leading `./`."}}});let{getStaticValue:xp}=ro,{isCallOrNewExpression:xg}=fl,xm="missing-message",xy="message-is-empty-string",xh="message-is-not-a-string",xb=["Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","InternalError","AggregateError"];var xv=et({create:e=>{e.on(["CallExpression","NewExpression"],r=>{if(!xg(r,{names:xb,optional:!1}))return;let t=e.sourceCode.getScope(r);if(l6(t,r.callee))return;let n=r.callee.name,u="AggregateError"===n?1:0,a=r.arguments;if(a.some((e,r)=>r<=u&&"SpreadElement"===e.type))return;let i=a[u];if(!i)return{node:r,messageId:xm,data:{constructorName:n}};if("ArrayExpression"===i.type||"ObjectExpression"===i.type)return{node:i,messageId:xh};let o=xp(i,t);if(!o)return;let{value:s}=o;return"string"!=typeof s?{node:i,messageId:xh}:""===s?{node:i,messageId:xy}:void 0})},meta:{type:"problem",docs:{description:"Enforce passing a `message` value when creating a built-in error."},messages:{[xm]:"Pass a message to the `{{constructorName}}` constructor.",[xy]:"Error message should not be an empty string.",[xh]:"Error message should be a string."}}});let{checkVueTemplate:xx}=yR,{getParenthesizedRange:xE}=fR,{replaceNodeOrTokenAndSpacesBefore:xA,fixSpaceAroundKeyword:xD}=la,xC=e=>"instanceof"===e.value&&"Keyword"===e.type,xS="no-instanceof-array";var x_=et({create:xx(e=>{let{sourceCode:r}=e;return{BinaryExpression(e){if(!("instanceof"===e.operator&&"Identifier"===e.right.type&&"Array"===e.right.name))return;let{left:t,right:n}=e,u=r,a=u.getTokenAfter(t,xC);return!a&&r.parserServices.getTemplateBodyTokenStore&&(a=(u=r.parserServices.getTemplateBodyTokenStore()).getTokenAfter(t,xC)),{node:a,messageId:xS,*fix(i){yield*xD(i,e,r);let o=xE(t,u);yield i.insertTextBeforeRange(o,"Array.isArray("),yield i.insertTextAfterRange(o,")"),yield*xA(a,"",i,r,u),yield*xA(n,"",i,r,u)}}}}}),meta:{type:"suggestion",docs:{description:"Require `Array.isArray()` instead of `instanceof Array`."},fixable:"code",messages:{[xS]:"Use `Array.isArray()` instead of `instanceof Array`."}}});let{isNewExpression:xw}=fl,xF="prefer-type-error",xT=new Set(["isArguments","isArray","isArrayBuffer","isArrayLike","isArrayLikeObject","isBigInt","isBoolean","isBuffer","isDate","isElement","isError","isFinite","isFunction","isInteger","isLength","isMap","isNaN","isNative","isNil","isNull","isNumber","isObject","isObjectLike","isPlainObject","isPrototypeOf","isRegExp","isSafeInteger","isSet","isString","isSymbol","isTypedArray","isUndefined","isView","isWeakMap","isWeakSet","isWindow","isXMLDoc"]),xk=new Set(["isNaN","isFinite"]),xP=(e,r,t)=>void 0!==r&&r.arguments.length>0&&"Identifier"===e.type&&(!0===t&&xT.has(e.name)||!1===t&&xk.has(e.name)),xI=e=>e.parent&&e.parent.body&&1===e.parent.body.length,xj=(e,r)=>!!xP(e.property,r,!0)||"MemberExpression"===e.object.type&&xj(e.object,r),xB=(e,r)=>{switch(e.type){case"Identifier":return xP(e,r,!1);case"MemberExpression":return xj(e,r);case"CallExpression":return xB(e.callee,e);case"UnaryExpression":return"typeof"===e.operator||"!"===e.operator&&xB(e.argument);case"BinaryExpression":return"instanceof"===e.operator||xB(e.left,r)||xB(e.right,r);case"LogicalExpression":return xB(e.left,r)&&xB(e.right,r);default:return!1}},xO=e=>"IfStatement"===e.type&&xB(e.test);var xR=et({create:()=>({ThrowStatement(e){if(xw(e.argument,{name:"Error"})&&xI(e)&&e.parent.parent&&xO(e.parent.parent)){let r=e.argument.callee;return{node:r,messageId:xF,fix:e=>e.insertTextBefore(r,"Type")}}}}),meta:{type:"suggestion",docs:{description:"Enforce throwing `TypeError` in type checking conditions."},fixable:"code",messages:{[xF]:"`new Error()` is too unspecific for a type check. Use `new TypeError()` instead."}}});let{isCallOrNewExpression:xL}=fl,xN="consistentDestructuring",xM="consistentDestructuringSuggest",x$=e=>{for(;e;){if(e.computed)return!1;if("MemberExpression"!==e.type)break;e=e.object}return"Identifier"===e.type||"ThisExpression"===e.type},xz=(e,r)=>{for(;e;){if(e===r)return!0;e=e.upper}return!1};var xU=et({create:e=>{let{sourceCode:r}=e,t=new Map;return{VariableDeclarator(e){"ObjectPattern"===e.id.type&&e.init&&"Literal"!==e.init.type&&x$(e.init)&&t.set(r.getText(e.init),{scope:r.getScope(e),variables:r.getDeclaredVariables(e),objectPattern:e.id})},MemberExpression(e){if(e.computed||xL(e.parent)&&e.parent.callee===e||lJ(e))return;let n=t.get(r.getText(e.object));if(!n)return;let{scope:u,objectPattern:a}=n,i=r.getScope(e);if(!xz(i,u))return;let o=a.properties.filter(e=>"Property"===e.type&&"Identifier"===e.key.type&&"Identifier"===e.value.type),s=a.properties[a.properties.length-1],d=s&&"RestElement"===s.type,c=r.getText(e),f=r.getText(e.property),l=o.find(e=>e.key.name===f);if(!l&&(d||lZ(f,[i])!==f))return;if("MemberExpression"===e.parent.type)return{node:e,messageId:xN};let p=l?l.value.name:f;return{node:e,messageId:xN,suggest:[{messageId:xM,data:{expression:c,property:p},*fix(r){let{properties:t}=a,n=t[t.length-1];yield r.replaceText(e,p),l||(yield n?r.insertTextAfter(n,`, ${p}`):r.replaceText(a,`{${p}}`))}}]}}}},meta:{type:"suggestion",docs:{description:"Use destructured variables over properties."},fixable:"code",hasSuggestions:!0,messages:{[xN]:"Use destructured variables over properties.",[xM]:"Replace `{{expression}}` with destructured property `{{property}}`."}}}),xW=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];let xq=["Object","Array","ArrayBuffer","DataView","Date","Error","Function","Map","WeakMap","Set","WeakSet","Promise","RegExp","SharedArrayBuffer","Proxy","WeakRef","FinalizationRegistry",...xW],{GlobalReferenceTracker:xV}=mx,xZ={enforceNew:xq,disallowNew:["BigInt","Boolean","Number","String","Symbol"]},{switchCallExpressionToNewExpression:xG,switchNewExpressionToCallExpression:xH}=la;var xK=et({create:e=>{let{sourceCode:r}=e,t=new xV({objects:xZ.disallowNew,type:xV.CONSTRUCT,handle:e=>(function({node:e,path:[r]},t){let n={node:e,messageId:"disallow",data:{name:r}};return"String"!==r&&"Boolean"!==r&&"Number"!==r&&(n.fix=function*(r){yield*xH(e,t,r)}),n})(e,r)}),n=new xV({objects:xZ.enforceNew,type:xV.CALL,handle:e=>(function({node:e,path:[r]},t){if("Object"===r){let{parent:r}=e;if("BinaryExpression"===r.type&&("==="===r.operator||"!=="===r.operator)&&(r.left===e||r.right===e))return}return{node:e,messageId:"enforce",data:{name:r},fix:r=>xG(e,t,r)}})(e,r)});return{*"Program:exit"(e){let u=r.getScope(e);yield*t.track(u),yield*n.track(u)}}},meta:{type:"suggestion",docs:{description:"Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`."},fixable:"code",messages:{enforce:"Use `new {{name}}()` instead of `{{name}}()`.",disallow:"Use `{{name}}()` instead of `new {{name}}()`."}}});let{hasSideEffect:xJ}=ro,{removeArgument:xX}=la,{getParentheses:xY,getParenthesizedText:xQ}=fR,{isNodeMatches:x0}=ld,{isNodeValueNotFunction:x1}=p_,{isMethodCall:x2}=fl,x3="error",x4="suggestion-bind",x5="suggestion-remove",x8=["lodash.every","_.every","underscore.every","lodash.filter","_.filter","underscore.filter","Vue.filter","R.filter","lodash.find","_.find","underscore.find","R.find","lodash.findLast","_.findLast","underscore.findLast","R.findLast","lodash.findIndex","_.findIndex","underscore.findIndex","R.findIndex","lodash.findLastIndex","_.findLastIndex","underscore.findLastIndex","R.findLastIndex","lodash.flatMap","_.flatMap","lodash.forEach","_.forEach","React.Children.forEach","Children.forEach","R.forEach","lodash.map","_.map","underscore.map","React.Children.map","Children.map","jQuery.map","$.map","R.map","lodash.some","_.some","underscore.some"];function x6(e,r){return t=>xX(t,e.arguments[1],r)}var x9=et({create:e=>{let{sourceCode:r}=e;return{CallExpression(e){if(!x2(e,{methods:["every","filter","find","findLast","findIndex","findLastIndex","flatMap","forEach","map","some"],argumentsLength:2,optionalCall:!1,optionalMember:!1})||x0(e.callee,x8)||x1(e.arguments[0]))return;let{callee:t}=e,n=t.property.name,[u,a]=e.arguments,i={node:a,messageId:x3,data:{method:n}},o=xJ(a,r),s="ArrowFunctionExpression"===u.type;return s?o?i.suggest=[{messageId:x5,fix:x6(e,r)}]:i.fix=x6(e,r):i.suggest=[{messageId:x5,fix:x6(e,r)},{messageId:x4,fix:function*(t){yield x6(e,r)(t);let[n,u]=e.arguments,a=xY(n,r),i=a.length>0,o=i?a[a.length-1]:n;!i&&ps(n,r)&&(yield t.insertTextBefore(o,"("),yield t.insertTextAfter(o,")"));let s=xQ(u,r);yield t.insertTextAfter(o,`.bind(${s})`)}}],i}}},meta:{type:"suggestion",docs:{description:"Disallow using the `this` argument in array methods."},fixable:"code",hasSuggestions:!0,messages:{[x3]:"Do not use the `this` argument in `Array#{{method}}()`.",[x5]:"Remove the second argument.",[x4]:"Use a bound function."}}});let{isOpeningParenToken:x7}=ro,{hasSideEffect:Ee,isCommaToken:Er,isSemicolonToken:Et}=ro,En=(e,r)=>{let t=r.getTokenAfter(e.callee,x7),n=r.getLastToken(e);return r.text.slice(t.range[1],n.range[0])},{isNodeMatches:Eu}=ld,Ea=function(e,r){let{parent:t}=e,n=r.visitorKeys[t.type]||Object.keys(t);for(let r of n){let n=t[r];if(n===e)return;if(Array.isArray(n)){let r=n.indexOf(e);if(-1!==r)return n[r-1]}}},{isMethodCall:Ei}=fl,Eo="error",Es="suggestion",Ed=e=>e&&"ExpressionStatement"===e.parent.type&&e.parent.expression===e&&Ei(e,{method:"push",optionalCall:!1,optionalMember:!1});var Ec=et({create:function(e){let{ignore:r}={ignore:[],...e.options[0]},t=["stream","this","this.stream","process.stdin","process.stdout","process.stderr",...r],{sourceCode:n}=e;return{CallExpression(e){if(!Ed(e))return;let r=e.callee.object;if(Eu(r,t))return;let u=function(e,r){let t=Ea(e.parent,r)?.expression;if(Ed(t))return t}(e,n);if(!u)return;let a=u.callee.object;if(!l8(a,r))return;let i=e.arguments,o={node:e.callee.property,messageId:Eo},s=function*(r){if(i.length>0){let t=En(e,n),[a,i]=n.getLastTokens(u,2);yield Er(a)?r.insertTextAfter(a,` ${t}`):r.insertTextBefore(i,u.arguments.length>0?`, ${t}`:t)}let t=u.parent,a=e.parent,o=!Et(n.getLastToken(t))&&Et(n.getLastToken(a));yield r.replaceTextRange([t.range[1],a.range[1]],o?";":"")};return i.some(e=>Ee(e,n))?o.suggest=[{messageId:Es,fix:s}]:o.fix=s,o}}},meta:{type:"suggestion",docs:{description:"Enforce combining multiple `Array#push()` into one call."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{ignore:{type:"array",uniqueItems:!0}}}],messages:{[Eo]:"Do not call `Array#push()` multiple times.",[Es]:"Merge with previous one."}}});let{isStaticRequire:Ef,isMethodCall:El,isLiteral:Ep}=fl,Eg="no-process-exit",Em=e=>Ep(e,"node:worker_threads")||Ep(e,"worker_threads");var Ey=et({create:e=>{let r;let t=0===e.sourceCode.lines[0].indexOf("#!");if(t)return{};let n=!1,u=[];e.on("CallExpression",e=>{Ef(e)&&Em(e.arguments[0])&&(n=!0)}),e.on("ImportDeclaration",e=>{"Literal"===e.source.type&&Em(e.source)&&(n=!0)}),e.on("CallExpression",e=>{El(e,{object:"process",methods:["on","once"],minimumArguments:1,optionalCall:!1,optionalMember:!1})&&(r=e)}),e.onExit("CallExpression",e=>{e===r&&(r=void 0)}),e.on("CallExpression",e=>{!r&&El(e,{object:"process",method:"exit",optionalCall:!1,optionalMember:!1})&&u.push(e)}),e.onExit("Program",function*(){if(!n)for(let e of u)yield{node:e,messageId:Eg}})},meta:{type:"suggestion",docs:{description:"Disallow `process.exit()`."},messages:{[Eg]:"Only use `process.exit()` in CLI apps. Throw an error instead."}}}),Eh=function(e,{test:r,expected:t,ruleId:n}){if(r?.(e)||(t=(t=Array.isArray(t)?t:[t]).map(e=>"string"==typeof e?{value:e}:e),!r&&t.some(r=>Object.entries(r).every(([r,t])=>e[r]===t))))return;let u=`'${JSON.stringify({value:e.value,type:e.type})}'`;t=t.map(e=>`'${JSON.stringify(e)}'`).join(" or ");let a=`\`${n}\`: Unexpected token ${u}`,i=`https://github.com/sindresorhus/eslint-plugin-unicorn/issues/new?title=${encodeURIComponent(a)}`,o=`Expected token ${t}, got ${u}.
4
+ Please open an issue at ${i}.`;throw Error(o)};let{isSemicolonToken:Eb}=ro,Ev=function(e,r){let{loc:t,body:n}=e,u=r.getTokenBefore(n),{start:a}=t,{end:i}=u.loc;return{start:a,end:i}},{removeSpacesAfter:Ex}=la,EE="no-static-only-class",EA=({type:e,value:r})=>"Punctuator"===e&&"="===r,ED=e=>"ClassDeclaration"===e.type&&"ExportDefaultDeclaration"===e.parent.type&&e.parent.declaration===e,EC=e=>"PropertyDefinition"===e.type,ES=e=>"MethodDefinition"===e.type;var E_=et({create:function(e){e.on(["ClassDeclaration","ClassExpression"],r=>{if(r.superClass||r.decorators&&r.decorators.length>0||"ClassBody"!==r.body.type||0===r.body.body.length||r.body.body.some(e=>!function(e){let{private:r,static:t,declare:n,readonly:u,accessibility:a,decorators:i,key:o}=e;return!(!EC(e)&&!ES(e)||!t||r||"PrivateIdentifier"===o.type||n||u||void 0!==a||Array.isArray(i)&&i.length>0)}(e)))return;let{sourceCode:t}=e;return{node:r,loc:Ev(r,t),messageId:EE,fix:function(e,r){let{type:t,id:n,body:u,declare:a,abstract:i,implements:o,parent:s}=e;if(a||i||Array.isArray(o)&&o.length>0||"ClassExpression"===t&&n)return;let d=ED(e);if(!d||!n){for(let e of u.body)if(EC(e)&&(e.typeAnnotation||e.value&&r.getText(e.value).includes("this")))return;return function*(n){let a=r.getFirstToken(e);if(Eh(a,{expected:{type:"Keyword",value:"class"},ruleId:"no-static-only-class"}),d||"ClassExpression"===t){if("ClassExpression"===t&&"ReturnStatement"===s.type&&u.loc.start.line!==s.loc.start.line&&r.text.slice(a.range[1],u.range[0]).trim()){yield n.replaceText(a,"{");let e=r.getFirstToken(u);yield n.remove(e)}else yield n.replaceText(a,""),yield Ex(a,r,n)}else yield n.replaceText(a,"const"),yield n.insertTextBefore(u,"= "),yield n.insertTextAfter(u,";");for(let e of u.body)yield*function*(e,r,t){let n=r.getFirstToken(e);Eh(n,{expected:{type:"Keyword",value:"static"},ruleId:"no-static-only-class"}),yield t.remove(n),yield Ex(n,r,t);let u=EC(e)?r.getLastToken(e):r.getTokenAfter(e),a=Eb(u);if(EC(e)){let{key:n,value:i}=e;if(i){let e=r.getTokenAfter(n,EA);yield t.replaceText(e,":")}else a?yield t.insertTextBefore(u,": undefined"):yield t.insertTextAfter(e,": undefined")}yield a?t.replaceText(u,","):t.insertTextAfter(e,",")}(e,r,n)}}}(r,t)}})},meta:{type:"suggestion",docs:{description:"Disallow classes that only have static members."},fixable:"code",messages:{[EE]:"Use an object instead of a class with only static members."}}});let{isParenthesized:Ew}=ro,{fixSpaceAroundKeyword:EF}=la,ET="no-unreadable-array-destructuring",Ek=(e,r,t)=>null===e&&null===t[r+1];var EP=et({create:e=>{let{sourceCode:r}=e;return{ArrayPattern(e){let{elements:t,parent:n}=e;if(t.length<3||!t.some((e,r,t)=>Ek(e,r,t)))return;let u={node:e,messageId:ET},a=t.filter(e=>null!==e);if("VariableDeclarator"===n.type&&n.id===e&&null!==n.init&&1===a.length){let[i]=a;"AssignmentPattern"!==i.type&&(u.fix=function*(u){let a=t.indexOf(i),o="RestElement"===i.type,s=o?i.argument:i;yield u.replaceText(e,r.getText(s));let d=o?`.slice(${a})`:`[${a}]`,c=n.init;!Ew(c,r)&&ps(c,r)?(yield u.insertTextBefore(c,"("),yield u.insertTextAfter(n,`)${d}`)):yield u.insertTextAfter(n,d),yield*EF(u,e,r)})}return u}}},meta:{type:"suggestion",docs:{description:"Disallow unreadable array destructuring."},fixable:"code",messages:{[ET]:"Array destructuring may not contain consecutive ignored values."}}});let{isCommaToken:EI}=ro,{removeParentheses:Ej,fixSpaceAroundKeyword:EB,addParenthesizesToReturnOrThrowExpression:EO}=la,{isParenthesized:ER,isOnSameLine:EL}=p_,{isNewExpression:EN,isMethodCall:EM,isCallOrNewExpression:E$}=fl,Ez="spread-in-list",EU="iterable-to-array",EW="iterable-to-array-in-for-of",Eq="iterable-to-array-in-yield-star",EV="clone-array",EZ=e=>"ArrayExpression"===e.type&&1===e.elements.length&&e.elements[0]?.type==="SpreadElement",EG={ArrayExpression:"array literal",ObjectExpression:"object literal",CallExpression:"arguments",NewExpression:"arguments"};function*EH(e,r,t){let[n,u,a]=t.getFirstTokens(r,3);yield e.remove(n),yield e.remove(u);let[i,o]=t.getLastTokens(r,2);yield e.remove(o),EI(i)&&(yield e.remove(i));let{parent:s}=r;if(("ReturnStatement"===s.type||"ThrowStatement"===s.type)&&s.argument===r&&!EL(n,a)&&!ER(r,t)){yield*EO(e,s,t);return}yield*EB(e,r,t)}var EK=et({create:e=>{let{sourceCode:r}=e;e.on(["ArrayExpression","ObjectExpression"],e=>{if(!("SpreadElement"===e.parent.type&&e.parent.argument===e&&("ObjectExpression"===e.type&&"ObjectExpression"===e.parent.parent.type&&e.parent.parent.properties.includes(e.parent)||"ArrayExpression"===e.type&&("ArrayExpression"===e.parent.parent.type&&e.parent.parent.elements.includes(e.parent)||E$(e.parent.parent)&&e.parent.parent.arguments.includes(e.parent)))))return;let t=e.parent,n=r.getFirstToken(t),u=t.parent.type;return{node:n,messageId:Ez,data:{argumentType:"ArrayExpression"===e.type?"array":"object",parentDescription:EG[u]},*fix(t){let a;yield t.remove(n),yield*Ej(e,t,r);let i=r.getFirstToken(e);yield t.remove(i);let[o,s]=r.getLastTokens(e,2);if(yield t.remove(s),EI(o)&&(yield t.remove(o)),"CallExpression"!==u&&"NewExpression"!==u)return;let d=(a=r.getFirstToken(e),e.elements.map((t,n,u)=>{if(n===u.length-1){let t=r.getLastToken(e,{skip:1});return EI(t)?t:void 0}let i=r.getTokenAfter(t||a,EI);return a=i,i}));for(let[r,n]of d.entries())e.elements[r]||(yield t.insertTextBefore(n,"undefined"))}}}),e.on("ArrayExpression",e=>{if(!EZ(e))return;let{parent:t}=e;if(!("ForOfStatement"===t.type&&t.right===e||"YieldExpression"===t.type&&t.delegate&&t.argument===e||(EN(t,{names:["Map","WeakMap","Set","WeakSet"],argumentsLength:1})||EN(t,{names:xW,minimumArguments:1})||EM(t,{object:"Promise",methods:["all","allSettled","any","race"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||EM(t,{objects:["Array",...xW],method:"from",argumentsLength:1,optionalCall:!1,optionalMember:!1})||EM(t,{object:"Object",method:"fromEntries",argumentsLength:1,optionalCall:!1,optionalMember:!1}))&&t.arguments[0]===e))return;let n="",u=EU;switch(t.type){case"ForOfStatement":u=EW;break;case"YieldExpression":u=Eq;break;case"NewExpression":n=`new ${t.callee.name}(…)`;break;case"CallExpression":n=`${t.callee.object.name}.${t.callee.property.name}(…)`}return{node:e,messageId:u,data:{parentDescription:n},fix:t=>EH(t,e,r)}}),e.on("ArrayExpression",e=>{if(!EZ(e))return;let t=e.elements[0].argument;if(!(EM(t,{methods:["concat","copyWithin","filter","flat","flatMap","map","slice","splice","toReversed","toSorted","toSpliced","with"],optionalCall:!1,optionalMember:!1})||EM(t,{method:"split",optionalCall:!1,optionalMember:!1})||EM(t,{object:"Object",methods:["keys","values"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||"AwaitExpression"===t.type&&EM(t.argument,{object:"Promise",methods:["all","allSettled"],argumentsLength:1,optionalCall:!1,optionalMember:!1})||EM(t,{object:"Array",methods:["from","of"],optionalCall:!1,optionalMember:!1})||EN(t,{name:"Array"})))return;let n={node:e,messageId:EV};return EN(t,{name:"Array"})||"CallExpression"===t.type&&"MemberExpression"===t.callee.type&&"Identifier"===t.callee.property.type&&"slice"===t.callee.property.name?n:Object.assign(n,{fix:t=>EH(t,e,r)})})},meta:{type:"suggestion",docs:{description:"Disallow unnecessary spread."},fixable:"code",messages:{[Ez]:"Spread an {{argumentType}} literal in {{parentDescription}} is unnecessary.",[EU]:"`{{parentDescription}}` accepts iterable as argument, it's unnecessary to convert to an array.",[EW]:"`for…of` can iterate over iterable, it's unnecessary to convert to an array.",[Eq]:"`yield*` can delegate iterable, it's unnecessary to convert to an array.",[EV]:"Unnecessarily cloning an array."}}});let{isColonToken:EJ}=ro,{isEmptyNode:EX}=fl,EY=function(e,r){let t=e.test||r.getFirstToken(e),n=r.getTokenAfter(t,EJ);return{start:e.loc.start,end:n.loc.end}},EQ="no-useless-switch-case/error",E0="no-useless-switch-case/suggestion",E1=e=>e.consequent.every(e=>EX(e));var E2=et({create:e=>({*SwitchStatement(r){let{cases:t}=r,n=t.filter(e=>null===e.test);if(1!==n.length)return;let[u]=n;if(u!==t[t.length-1])return;let a=[];for(let e=t.length-2;e>=0;e--){let r=t[e];if(E1(r))a.unshift(r);else break}for(let r of a)yield{node:r,loc:EY(r,e.sourceCode),messageId:EQ,suggest:[{messageId:E0,fix:e=>e.remove(r)}]}}}),meta:{type:"suggestion",docs:{description:"Disallow useless case in switch statements."},hasSuggestions:!0,messages:{[EQ]:"Useless case in switch statement.",[E0]:"Remove this case."}}});let{isCommaToken:E3}=ro,{replaceNodeOrTokenAndSpacesBefore:E4}=la,{isUndefined:E5,isFunction:E8}=fl,E6="no-useless-undefined",E9=new Set(["is","equal","notEqual","strictEqual","notStrictEqual","propertyVal","notPropertyVal","not","include","property","toBe","toHaveBeenCalledWith","toContain","toContainEqual","toEqual","same","notSame","strictSame","strictNotSame"]),E7=e=>{let r;return"Identifier"===e.type?r=e.name:"MemberExpression"===e.type&&!1===e.computed&&"Identifier"===e.property.type&&(r=e.property.name),E9.has(r)||"push"===r||"unshift"===r||"includes"===r||"add"===r||"has"===r||"set"===r||"createContext"===r||"ref"===r},Ae=e=>{for(;e;e=e.upper)if("function"===e.type)return e.block},Ar=e=>!e.optional&&"MemberExpression"===e.callee.type&&!e.callee.computed&&"Identifier"===e.callee.property.type&&"bind"===e.callee.property.name,At=e=>/\.(?:ts|mts|cts|tsx)$/i.test(e.physicalFilename);var An=et({create:e=>{let{sourceCode:r}=e,t=(e,t,n)=>{if(n){let t=Ae(r.getScope(e));if(t?.returnType)return}return{node:e,messageId:E6,fix:t}},n={checkArguments:!0,...e.options[0]},u=(e,t)=>E4(e,"",t,r);e.on("Identifier",e=>{if(E5(e)&&"ReturnStatement"===e.parent.type&&e.parent.argument===e)return t(e,r=>u(e,r),!0)}),e.on("Identifier",e=>{if(E5(e)&&"YieldExpression"===e.parent.type&&!e.parent.delegate&&e.parent.argument===e)return t(e,r=>u(e,r))}),e.on("Identifier",e=>{if(E5(e)&&"ArrowFunctionExpression"===e.parent.type&&e.parent.body===e)return t(e,t=>E4(e," {}",t,r),!0)}),e.on("Identifier",e=>{if(E5(e)&&"VariableDeclarator"===e.parent.type&&e.parent.init===e&&"VariableDeclaration"===e.parent.parent.type&&"const"!==e.parent.parent.kind&&e.parent.parent.declarations.includes(e.parent))return t(e,r=>r.removeRange([e.parent.id.range[1],e.range[1]]),!0)}),e.on("Identifier",r=>{if(E5(r)&&"AssignmentPattern"===r.parent.type&&r.parent.right===r)return t(r,function*(t){let n=r.parent,{left:u}=n;yield t.removeRange([u.range[1],r.range[1]]),(u.typeAnnotation||At(e))&&!u.optional&&E8(n.parent)&&n.parent.params.includes(n)&&(yield u.typeAnnotation?t.insertTextBefore(u.typeAnnotation,"?"):t.insertTextAfter(u,"?"))},!0)}),n.checkArguments&&e.on("CallExpression",e=>{if(E7(e.callee))return;let t=e.arguments;if(Ar(e)&&1!==t.length)return;let n=[];for(let e=t.length-1;e>=0;e--){let r=t[e];if(E5(r))n.unshift(r);else break}if(0===n.length)return;let u=n[0],a=n[n.length-1];return{messageId:E6,loc:{start:u.loc.start,end:a.loc.end},fix(e){let i=u.range[0],o=a.range[1],s=t[t.length-n.length-1];if(s)i=s.range[1];else{let e=r.getTokenAfter(a);E3(e)&&(o=e.range[1])}return e.removeRange([i,o])}}})},meta:{type:"suggestion",docs:{description:"Disallow useless `undefined`."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{checkArguments:{type:"boolean"}}}],messages:{[E6]:"Do not use useless `undefined`."}}});let{isBigIntLiteral:Au}=fl,Aa="numeric-separators-style";function Ai(e,{minimumDigits:r,groupLength:t},n){let{length:u}=e;if(u<r)return e;let a=[];if(n)for(let r=0;r<u;r+=t){let n=Math.min(r+t,u);a.push(e.slice(r,n))}else for(let r=u;r>0;r-=t){let n=Math.max(r-t,0);a.unshift(e.slice(n,r))}return a.join("_")}let Ao={binary:{minimumDigits:0,groupLength:4},octal:{minimumDigits:0,groupLength:4},hexadecimal:{minimumDigits:0,groupLength:2},number:{minimumDigits:5,groupLength:3}},As=({minimumDigits:e,groupLength:r})=>({type:"object",additionalProperties:!1,properties:{onlyIfContainsSeparator:{type:"boolean"},minimumDigits:{type:"integer",minimum:0,default:e},groupLength:{type:"integer",minimum:1,default:r}}}),Ad=[{type:"object",additionalProperties:!1,properties:{...Object.fromEntries(Object.entries(Ao).map(([e,r])=>[e,As(r)])),onlyIfContainsSeparator:{type:"boolean",default:!1}}}];var Ac=et({create:e=>{let{onlyIfContainsSeparator:r,binary:t,octal:n,hexadecimal:u,number:a}={onlyIfContainsSeparator:!1,...e.options[0]},i={"0b":{onlyIfContainsSeparator:r,...Ao.binary,...t},"0o":{onlyIfContainsSeparator:r,...Ao.octal,...n},"0x":{onlyIfContainsSeparator:r,...Ao.hexadecimal,...u},"":{onlyIfContainsSeparator:r,...Ao.number,...a}};return{Literal(e){if(!pi.isNumeric(e)||pi.isLegacyOctal(e))return;let{raw:r}=e,t=r,n="";Au(e)&&(t=r.slice(0,-1),n="n");let u=t.replace(/_/g,""),{prefix:a,data:o}=pi.getPrefix(u),{onlyIfContainsSeparator:s}=i[a.toLowerCase()];if(s&&!r.includes("_"))return;let d=function(e,{prefix:r,data:t},n){let u=n[r.toLowerCase()];if(r)return r+Ai(t,u);let{number:a,mark:i,sign:o,power:s}=pi.parseNumber(e);return function(e,r){let{integer:t,dot:n,fractional:u}=pi.parseFloatNumber(e);return Ai(t,r)+n+Ai(u,r,!0)}(a,u)+i+o+Ai(s,n[""])}(u,{prefix:a,data:o},i)+n;if(r!==d)return{node:e,messageId:Aa,fix:r=>r.replaceText(e,d)}}}},meta:{type:"suggestion",docs:{description:"Enforce the style of numeric separators by correctly grouping digits."},fixable:"code",schema:Ad,messages:{[Aa]:"Invalid group length in numeric value."}}});let{isParenthesized:Af,findVariable:Al}=ro,{extendFixRange:Ap,removeMemberExpressionProperty:Ag,removeMethodCall:Am,renameVariable:Ay}=la,{isLeftHandSide:Ah,singular:Ab,getScopes:Av,avoidCapture:Ax,getVariableIdentifiers:AE}=p_,{isMethodCall:AA}=fl,AD="error-zero-index",AC="error-shift",AS="error-pop",A_="error-at-minus-one",Aw="error-destructuring-declaration",AF="error-destructuring-assignment",AT="error-variable",Ak="suggest-nullish-coalescing-operator",AP="suggest-logical-or-operator",AI=e=>AA(e,{method:"filter",minimumArguments:1,maximumArguments:2,optionalCall:!1,optionalMember:!1}),Aj=(e,r)=>{let t="AssignmentExpression"===e.type;if(!t||Af(e,r))return!1;let{left:n}=AO(e),[u]=n.elements,{type:a}="AssignmentPattern"===u.type?u.left:u;return"ObjectExpression"===a||"ObjectPattern"===a},AB=(e,r)=>"LogicalExpression"===e.type&&(e.operator===r||"||"===r&&"??"===e.operator||"??"===r&&("||"===e.operator||"&&"===e.operator))||"ConditionalExpression"===e.type||"AssignmentExpression"===e.type||"YieldExpression"===e.type||"SequenceExpression"===e.type,AO=e=>e?"AssignmentExpression"===e.type?e:"VariableDeclarator"===e.type?{left:e.id,right:e.init}:{}:{};function*AR(e,r,t){let{left:n}=AO(e),[u]=n.elements,a=r.getText("AssignmentPattern"===u.type?u.left:u);yield t.replaceText(n,a),Aj(e,r)&&(yield t.insertTextBefore(e,"("),yield t.insertTextAfter(e,")"))}let AL=e=>"AssignmentPattern"===AO(e).left.elements[0].type,AN=(e,r,t,n)=>{let{left:u,right:a}=AO(e),[i]=u.elements,o=i.right,s=r.getText(o);return(Af(o,r)||AB(o,n))&&(s=`(${s})`),t.insertTextAfter(a,` ${n} ${s}`)},AM=(e,r)=>{let t,n;let{property:u}=AO(r).right.callee;return AL(r)?t=[{operator:"??",messageId:Ak},{operator:"||",messageId:AP}].map(({messageId:t,operator:n})=>({messageId:t,*fix(t){yield t.replaceText(u,"find"),yield AN(r,e,t,n),yield*AR(r,e,t)}})):n=function*(t){yield t.replaceText(u,"find"),yield*AR(r,e,t)},{fix:n,suggest:t}},A$=e=>"MemberExpression"===e.parent.type&&!0===e.parent.computed&&e.parent.object===e&&"Literal"===e.parent.property.type&&"0"===e.parent.property.raw,Az=e=>{let{left:r,right:t}=AO(e.parent);return r&&t&&t===e&&"ArrayPattern"===r.type&&1===r.elements.length&&r.elements[0]&&"RestElement"!==r.elements[0].type};var AU=et({create:e=>{let{sourceCode:r}=e,{checkFromLast:t}={checkFromLast:!1,...e.options[0]};e.on("MemberExpression",e=>{if(e.computed&&"Literal"===e.property.type&&"0"===e.property.raw&&AI(e.object)&&!Ah(e))return{node:e.object.callee.property,messageId:AD,fix:t=>[t.replaceText(e.object.callee.property,"find"),Ag(t,e,r)]}}),e.on("CallExpression",e=>{if(AA(e,{method:"shift",argumentsLength:0,optionalCall:!1,optionalMember:!1})&&AI(e.callee.object))return{node:e.callee.object.callee.property,messageId:AC,fix:t=>[t.replaceText(e.callee.object.callee.property,"find"),...Am(t,e,r)]}}),e.on("VariableDeclarator",e=>{if("ArrayPattern"===e.id.type&&1===e.id.elements.length&&e.id.elements[0]&&"RestElement"!==e.id.elements[0].type&&AI(e.init))return{node:e.init.callee.property,messageId:Aw,...AM(r,e)}}),e.on("AssignmentExpression",e=>{if("ArrayPattern"===e.left.type&&1===e.left.elements.length&&e.left.elements[0]&&"RestElement"!==e.left.elements[0].type&&AI(e.right))return{node:e.right.callee.property,messageId:AF,...AM(r,e)}}),e.on("VariableDeclarator",e=>{if(!("Identifier"===e.id.type&&AI(e.init)&&"VariableDeclaration"===e.parent.type&&e.parent.declarations.includes(e)&&!("ExportNamedDeclaration"===e.parent.parent.type&&e.parent.parent.declaration===e.parent)))return;let t=r.getScope(e),n=Al(t,e.id),u=AE(n).filter(r=>r!==e.id);if(0===u.length)return;let a=[],i=[];for(let e of u)if(A$(e))a.push(e.parent);else{if(!Az(e))return;i.push(e.parent)}let o={node:e.init.callee.property,messageId:AT};return i.some(e=>AL(e))||(o.fix=function*(u){yield u.replaceText(e.init.callee.property,"find");let o=Ab(e.id.name);if(o){let e=Ax(o,Av(t));yield*Ay(n,e,u),yield*Ap(u,r.ast.range)}for(let e of a)yield Ag(u,e,r);for(let e of i)yield*AR(e,r,u)}),o}),t&&(e.on("CallExpression",e=>{if(AA(e,{method:"pop",argumentsLength:0,optionalCall:!1,optionalMember:!1})&&AI(e.callee.object))return{node:e.callee.object.callee.property,messageId:AS,fix:t=>[t.replaceText(e.callee.object.callee.property,"findLast"),...Am(t,e,r)]}}),e.on("CallExpression",e=>{if(AA(e,{method:"at",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&"UnaryExpression"===e.arguments[0].type&&"-"===e.arguments[0].operator&&e.arguments[0].prefix&&"Literal"===e.arguments[0].argument.type&&"1"===e.arguments[0].argument.raw&&AI(e.callee.object))return{node:e.callee.object.callee.property,messageId:A_,fix:t=>[t.replaceText(e.callee.object.callee.property,"findLast"),...Am(t,e,r)]}}))},meta:{type:"suggestion",docs:{description:"Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`."},fixable:"code",hasSuggestions:!0,schema:[{type:"object",additionalProperties:!1,properties:{checkFromLast:{type:"boolean",default:!1}}}],messages:{[AT]:"Prefer `.find(…)` over `.filter(…)`.",[AD]:"Prefer `.find(…)` over `.filter(…)[0]`.",[AC]:"Prefer `.find(…)` over `.filter(…).shift()`.",[AS]:"Prefer `.findLast(…)` over `.filter(…).pop()`.",[A_]:"Prefer `.findLast(…)` over `.filter(…).at(-1)`.",[Aw]:"Prefer `.find(…)` over destructuring `.filter(…)`.",[AF]:"Prefer `.find(…)` over destructuring `.filter(…)`.",[Ak]:"Replace `.filter(…)` with `.find(…) ?? …`.",[AP]:"Replace `.filter(…)` with `.find(…) || …`."}}});let{isNodeMatches:AW}=ld,{isMethodCall:Aq}=fl,{removeMethodCall:AV}=la,AZ="prefer-array-flat-map",AG=["React.Children","Children"];var AH=et({create:e=>({CallExpression(r){if(!(Aq(r,{method:"flat",optionalCall:!1,optionalMember:!1})&&(0===r.arguments.length||1===r.arguments.length&&"Literal"===r.arguments[0].type&&"1"===r.arguments[0].raw)&&Aq(r.callee.object,{method:"map",optionalCall:!1,optionalMember:!1})))return;let t=r.callee.object;if(AW(t.callee.object,AG))return;let{sourceCode:n}=e,u=t.callee.property;return{node:r,loc:{start:u.loc.start,end:r.loc.end},messageId:AZ,*fix(e){yield*AV(e,r,n),yield e.replaceText(u,"flatMap")}}}}),meta:{type:"suggestion",docs:{description:"Prefer `.flatMap(…)` over `.map(…).flat()`."},fixable:"code",messages:{[AZ]:"Prefer `.flatMap(…)` over `.map(…).flat()`."}}});let{getParenthesizedText:AK,isArrayPrototypeProperty:AJ,isNodeMatches:AX,isNodeMatchesNameOrPath:AY,isParenthesized:AQ,isSameIdentifier:A0,needsSemicolon:A1,shouldAddParenthesesToMemberExpressionObject:A2}=p_,{fixSpaceAroundKeyword:A3}=la,{isMethodCall:A4,isCallExpression:A5}=fl,A8="prefer-array-flat",A6=e=>"ArrayExpression"===e.type&&0===e.elements.length,A9={testFunction(e){if(!A4(e,{method:"flatMap",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return!1;let[r]=e.arguments;return"ArrowFunctionExpression"===r.type&&!r.async&&1===r.params.length&&A0(r.params[0],r.body)},getArrayNode:e=>e.callee.object,description:"Array#flatMap()"},A7={testFunction(e){if(!A4(e,{method:"reduce",argumentsLength:2,optionalCall:!1,optionalMember:!1}))return!1;let[r,t]=e.arguments;if(!("ArrowFunctionExpression"===r.type&&!r.async&&2===r.params.length&&A6(t)))return!1;let n=r.body,[u,a]=r.params;return A4(n,{method:"concat",argumentsLength:1,optionalCall:!1,optionalMember:!1})&&A0(u,n.callee.object)&&A0(a,n.arguments[0])||"ArrayExpression"===n.type&&2===n.elements.length&&n.elements.every((e,t)=>e?.type==="SpreadElement"&&"Identifier"===e.argument.type&&A0(r.params[t],e.argument))},getArrayNode:e=>e.callee.object,description:"Array#reduce()"},De={testFunction:e=>A4(e,{method:"concat",argumentsLength:1,allowSpreadElement:!0,optionalCall:!1,optionalMember:!1})&&A6(e.callee.object),getArrayNode(e){let r=e.arguments[0];return"SpreadElement"===r.type?r.argument:r},description:"[].concat()",shouldSwitchToArray:e=>"SpreadElement"!==e.arguments[0].type},Dr={testFunction(e){if(!(A4(e,{methods:["apply","call"],argumentsLength:2,allowSpreadElement:!0,optionalCall:!1,optionalMember:!1})&&AJ(e.callee.object,{property:"concat"})))return!1;let[r,t]=e.arguments;return A6(r)&&("call"===e.callee.property.name||"SpreadElement"!==t.type)},getArrayNode(e){let r=e.arguments[1];return"SpreadElement"===r.type?r.argument:r},description:"Array.prototype.concat()",shouldSwitchToArray:e=>"SpreadElement"!==e.arguments[1].type&&"call"===e.callee.property.name},Dt=["_.flatten","lodash.flatten","underscore.flatten"];var Dn=et({create:function(e){let{functions:r}={functions:[],...e.options[0]},t=[...r,...Dt],n=[A9,A7,De,Dr,{testFunction:e=>A5(e,{argumentsLength:1,optional:!1})&&AX(e.callee,t),getArrayNode:e=>e.arguments[0],description:e=>`${t.find(r=>AY(e.callee,r)).trim()}()`}];return{*CallExpression(r){for(let{testFunction:t,description:u,getArrayNode:a,shouldSwitchToArray:i}of n){if(!t(r))continue;let n=a(r),o={description:"string"==typeof u?u:u(r)},s={node:r,messageId:A8,data:o},{sourceCode:d}=e;d.getCommentsInside(r).length===d.getCommentsInside(n).length&&(s.fix=function(e,r,t,n){return"function"==typeof n&&(n=n(e)),function*(u){let a=AK(r,t);n?a=`[${a}]`:!AQ(r,t)&&A2(r,t)&&(a=`(${a})`),a=`${a}.flat()`;let i=t.getTokenBefore(e);A1(i,t,a)&&(a=`;${a}`),yield u.replaceText(e,a),yield*A3(u,e,t)}}(r,n,d,i)),yield s}}}},meta:{type:"suggestion",docs:{description:"Prefer `Array#flat()` over legacy techniques to flatten arrays."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{functions:{type:"array",uniqueItems:!0}}}],messages:{[A8]:"Prefer `Array#flat()` over `{{description}}` to flatten an array."}}});let{checkVueTemplate:Du}=yR,{isBooleanNode:Da,getParenthesizedRange:Di,isNodeValueNotFunction:Do}=p_,{removeMemberExpressionProperty:Ds}=la,{isLiteral:Dd,isUndefined:Dc,isMethodCall:Df,isMemberExpression:Dl}=fl,Dp="some",Dg="some-suggestion",Dm="filter",Dy=e=>"BinaryExpression"===e.parent.type&&e.parent.left===e&&(("!="===e.parent.operator||"=="===e.parent.operator||"==="===e.parent.operator||"!=="===e.parent.operator)&&Dc(e.parent.right)||("!="===e.parent.operator||"=="===e.parent.operator)&&Dd(e.parent.right,null));var Dh=et({create:Du(e=>({CallExpression(r){if(!Df(r,{methods:["find","findLast"],minimumArguments:1,maximumArguments:2,optionalCall:!1,optionalMember:!1}))return;let t=Dy(r);if(!t&&!Da(r))return;let n=r.callee.property;return{node:n,messageId:Dp,data:{method:n.name},suggest:[{messageId:Dg,*fix(u){if(yield u.replaceText(n,"some"),!t)return;let a=Di(r,e.sourceCode);yield u.replaceTextRange([a[1],r.parent.range[1]],""),"!="!==r.parent.operator&&"!=="!==r.parent.operator&&(yield u.insertTextBeforeRange(a,"!"))}}]}},BinaryExpression(r){if(!((">"===r.operator||"!=="===r.operator)&&"Literal"===r.right.type&&"0"===r.right.raw&&Dl(r.left,{property:"length",optional:!1})&&Df(r.left.object,{method:"filter",optionalCall:!1,optionalMember:!1})))return;let t=r.left.object,[n]=t.arguments;if(!n||Do(n))return;let u=t.callee.property;return{node:u,messageId:Dm,*fix(t){yield t.replaceText(u,"some");let{sourceCode:n}=e,a=r.left;yield Ds(t,a,n),yield t.removeRange([Di(a,n)[1],r.range[1]])}}}})),meta:{type:"suggestion",docs:{description:"Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`."},fixable:"code",messages:{[Dp]:"Prefer `.some(…)` over `.{{method}}(…)`.",[Dg]:"Replace `.{{method}}(…)` with `.some(…)`.",[Dm]:"Prefer `.some(…)` over non-zero length check from `.filter(…)`."},hasSuggestions:!0}});let{isMethodCall:Db}=fl,Dv=e=>Db(e,{method:"charCodeAt",optionalCall:!1,optionalMember:!1})?"codePointAt":Db(e,{object:"String",method:"fromCharCode",optionalCall:!1,optionalMember:!1})?"fromCodePoint":void 0;var Dx=et({create:()=>({CallExpression(e){let r=Dv(e);if(!r)return;let t=e.callee.property,n=t.name;return{node:t,messageId:`error/${n}`,suggest:[{messageId:`suggestion/${r}`,fix:e=>e.replaceText(t,r)}]}}}),meta:{type:"suggestion",docs:{description:"Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`."},hasSuggestions:!0,messages:{"error/charCodeAt":"Prefer `String#codePointAt()` over `String#charCodeAt()`.","error/fromCharCode":"Prefer `String.fromCodePoint()` over `String.fromCharCode()`.","suggestion/codePointAt":"Use `String#codePointAt()`.","suggestion/fromCodePoint":"Use `String.fromCodePoint()`."}}});let{findVariable:DE}=ro,{functionTypes:DA}=fl,DD="preferDefaultParameters",DC="preferDefaultParametersSuggest",DS=(e,r)=>e&&r&&"Identifier"===e.type&&"LogicalExpression"===r.type&&("||"===r.operator||"??"===r.operator)&&"Identifier"===r.left.type&&"Literal"===r.right.type,D_=(e,r)=>{if(!r)return!1;if("CallExpression"===r.type)return!0;let t=e.visitorKeys[r.type];for(let n of t){let t=r[n];if(Array.isArray(t)){for(let r of t)if(D_(e,r))return!0}else if(D_(e,t))return!0}return!1},Dw=(e,r,t)=>{for(let n of r.body.body){if(n===t)break;if(D_(e,n))return!0}return!1},DF=(e,r,t)=>!!e&&r[0].identifier!==t||!e&&r.length>1,DT=(e,r)=>{let t=e[e.length-1];return r&&r===t},Dk=(e,r)=>{if("ArrowFunctionExpression"!==r.type||r.params.length>1)return!1;let[t]=r.params,n=e.getTokenBefore(t),u=e.getTokenAfter(t);return!u||!n||"("!==n.value||")"!==u.value},DP=(e,r,t)=>{let{line:n}=t.loc.start,{column:u}=t.loc.end,a=r.getText(t),i=r.lines[n-1],o=i.trim()===a,s=" "===i[u];return o?e.removeRange([r.getIndexFromLoc({line:n,column:0}),r.getIndexFromLoc({line:n+1,column:0})]):s?e.removeRange([t.range[0],t.range[1]+1]):e.remove(t)};var DI=et({create:e=>{let{sourceCode:r}=e,t=[],n=(e,n,u,a)=>{let i=t[t.length-1];if(!i||!DS(n,u))return;let{name:o}=n,{left:{name:s},right:{raw:d}}=u;if(a&&o!==s)return;let c=DE(r.getScope(e),s);if(!c)return;let{references:f}=c,{params:l}=i,p=l.find(e=>"Identifier"===e.type&&e.name===s);if(Dw(r,i,e)||DF(a,f,n)||!DT(l,p))return;let g=Dk(r,i)?`(${o} = ${d})`:`${o} = ${d}`;return{node:e,messageId:DD,suggest:[{messageId:DC,fix:t=>[t.replaceText(p,g),DP(t,r,e)]}]}};e.on(DA,e=>{t.push(e)}),e.onExit(DA,()=>{t.pop()}),e.on("AssignmentExpression",e=>{if("ExpressionStatement"===e.parent.type&&e.parent.expression===e)return n(e.parent,e.left,e.right,!0)}),e.on("VariableDeclarator",e=>{if("VariableDeclaration"===e.parent.type&&e.parent.declarations[0]===e)return n(e.parent,e.id,e.init,!1)})},meta:{type:"suggestion",docs:{description:"Prefer default parameters over reassignment."},fixable:"code",hasSuggestions:!0,messages:{[DD]:"Prefer default parameters over reassignment.",[DC]:"Replace reassignment with default parameter."}}});let{findVariable:Dj,getStaticValue:DB,getPropertyName:DO}=ro,{isMethodCall:DR}=fl,{removeArgument:DL}=la,DN="prefer-json-parse-buffer",DM=e=>{for(;"AwaitExpression"===e.type;)e=e.argument;return e},D$=(e,r)=>Dz(DB(e,r)?.value),Dz=e=>"string"==typeof e&&("utf8"===(e=e.toLowerCase())||"utf-8"===e);var DU=et({create:e=>({CallExpression(r){if(!DR(r,{object:"JSON",method:"parse",argumentsLength:1,optionalCall:!1,optionalMember:!1}))return;let[t]=r.arguments,{sourceCode:n}=e,u=n.getScope(t);if(!((t=function e(r,t){if(!r)return;if(!(r=DM(r))||"Identifier"!==r.type)return r;let n=Dj(t,r);if(!n)return;let{identifiers:u,references:a}=n;if(1!==u.length||2!==a.length)return;let[i]=u;if("VariableDeclarator"===i.parent.type&&i.parent.id===i)return e(i.parent.init,n.scope)}(t,u))&&"CallExpression"===t.type&&!t.optional&&2===t.arguments.length&&!t.arguments.some(e=>"SpreadElement"===e.type)&&"MemberExpression"===t.callee.type&&!t.callee.optional))return;let a=DO(t.callee,u);if("readFile"!==a&&"readFileSync"!==a)return;let[,i]=t.arguments;if(function(e,r){if("ObjectExpression"===e.type&&1===e.properties.length&&"Property"===e.properties[0].type&&"encoding"===DO(e.properties[0],r)&&D$(e.properties[0].value,r)||D$(e,r))return!0;let t=DB(e,r);if(!t)return!1;let{value:n}=t;return!!("object"==typeof n&&1===Object.keys(n).length&&Dz(n.encoding))}(i,u))return{node:i,messageId:DN,fix:e=>DL(e,i,n)}}}),meta:{type:"suggestion",docs:{description:"Prefer reading a JSON file as a buffer."},fixable:"code",messages:{[DN]:"Prefer reading the JSON file as a buffer."}}});let{isParenthesized:DW,getParenthesizedText:Dq}=fR,DV=function(e,{operator:r,property:t}){if(!t)throw Error("`property` is required.");return("LogicalExpression"!==e.type||e.operator!==r)&&("AwaitExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"ConditionalExpression"===e.type||"AssignmentExpression"===e.type||"ArrowFunctionExpression"===e.type||"YieldExpression"===e.type||"SequenceExpression"===e.type)},DZ="prefer-logical-operator-over-ternary/error",DG="prefer-logical-operator-over-ternary/suggestion";function DH(e,r,t){if(l8(e,r))return!0;if(e.type!==r.type)return!1;switch(e.type){case"AwaitExpression":return DH(e.argument,r.argument,t);case"LogicalExpression":return e.operator===r.operator&&DH(e.left,r.left,t)&&DH(e.right,r.right,t);case"UnaryExpression":return e.operator===r.operator&&e.prefix===r.prefix&&DH(e.argument,r.argument,t);case"UpdateExpression":return!1}return t.getText(e)===t.getText(r)}function DK({sourceCode:e,conditionalExpression:r,left:t,right:n}){return{node:r,messageId:DZ,suggest:["??","||"].map(u=>({messageId:DG,data:{operator:u},fix:a=>(function({fixer:e,sourceCode:r,conditionalExpression:t,left:n,right:u,operator:a}){let i=[n,u].map((e,t)=>{let n=DW(e,r),u=n?Dq(e,r):r.getText(e);return!n&&DV(e,{operator:a,property:0===t?"left":"right"})&&(u=`(${u})`),u}).join(` ${a} `);return pr(r.getTokenBefore(t),r,i)&&(i=`;${i}`),e.replaceText(t,i)})({fixer:a,sourceCode:e,conditionalExpression:r,left:t,right:n,operator:u})}))}}var DJ=et({create:e=>{let{sourceCode:r}=e;return{ConditionalExpression(e){let{test:t,consequent:n,alternate:u}=e;return DH(t,n,r)?DK({sourceCode:r,conditionalExpression:e,left:t,right:u}):"UnaryExpression"===t.type&&"!"===t.operator&&t.prefix&&DH(t.argument,u,r)?DK({sourceCode:r,conditionalExpression:e,left:t.argument,right:n}):void 0}}},meta:{type:"suggestion",docs:{description:"Prefer using a logical operator over a ternary."},hasSuggestions:!0,messages:{[DZ]:"Prefer using a logical operator over a ternary.",[DG]:"Switch to `{{operator}}` operator."}}});let{isOpeningParenToken:DX,isClosingParenToken:DY}=ro,DQ="with-name",D0="without-name";var D1=et({create:e=>({CatchClause(r){let t=r.param;if(!t)return;let{sourceCode:n}=e,u=n.getDeclaredVariables(t.parent);if(u.some(e=>e.references.length>0))return;let{type:a,name:i,parent:o}=t;return{node:t,messageId:"Identifier"===a?DQ:D0,data:{name:i},*fix(e){let r=n.getTokenBefore(t);Eh(r,{test:DX,expected:"(",ruleId:"prefer-optional-catch-binding"});let u=n.getTokenAfter(t);Eh(u,{test:DY,expected:")",ruleId:"prefer-optional-catch-binding"}),yield e.remove(r),yield e.remove(t),yield e.remove(u);let[,a]=u.range,[i]=o.body.range,s=n.text.slice(a,i),d=s.length-s.trimStart().length;0!==d&&(yield e.removeRange([a,a+d]))}}}}),meta:{type:"suggestion",docs:{description:"Prefer omitting the `catch` binding parameter."},fixable:"code",messages:{[DQ]:"Remove unused catch binding `{{name}}`.",[D0]:"Remove unused catch binding."}}});let{isParenthesized:D2,getStaticValue:D3}=ro,{checkVueTemplate:D4}=yR,{isRegexLiteral:D5,isNewExpression:D8,isMethodCall:D6}=fl,{isBooleanNode:D9,shouldAddParenthesesToMemberExpressionObject:D7}=p_,Ce="regexp-exec",Cr="string-match",Ct="suggestion",Cn=[{type:Ce,test:e=>D6(e,{method:"exec",argumentsLength:1,optionalCall:!1,optionalMember:!1}),getNodes:e=>({stringNode:e.arguments[0],methodNode:e.callee.property,regexpNode:e.callee.object}),fix:(e,{methodNode:r})=>e.replaceText(r,"test")},{type:Cr,test:e=>D6(e,{method:"match",argumentsLength:1,optionalCall:!1,optionalMember:!1}),getNodes:e=>({stringNode:e.callee.object,methodNode:e.callee.property,regexpNode:e.arguments[0]}),*fix(e,{stringNode:r,methodNode:t,regexpNode:n},u){yield e.replaceText(t,"test");let a=u.getText(r);D2(n,u)||"SequenceExpression"!==r.type||(a=`(${a})`),yield e.replaceText(n,a);let i=u.getText(n);!D2(r,u)&&D7(n,u)&&(i=`(${i})`),yield e.replaceText(r,i)}}],Cu=e=>D5(e)||D8(e,{name:"RegExp"}),Ca=(e,r)=>{let t=D3(e,r);if(!t)return!1;let{value:n}=t;return"[object RegExp]"===Object.prototype.toString.call(n)&&!n.global};var Ci=et({create:D4(e=>({*CallExpression(r){if(D9(r))for(let{type:t,test:n,getNodes:u,fix:a}of Cn){if(!n(r))continue;let i=u(r),{methodNode:o,regexpNode:s}=i;if("Literal"===s.type&&!s.regex)continue;let d={node:t===Ce?o:r,messageId:t},{sourceCode:c}=e,f=e=>a(e,i,c);Cu(s)||Ca(s,c.getScope(s))?d.fix=f:d.suggest=[{messageId:Ct,fix:f}],yield d}}})),meta:{type:"suggestion",docs:{description:"Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`."},fixable:"code",hasSuggestions:!0,messages:{[Ce]:"Prefer `.test(…)` over `.exec(…)`.",[Cr]:"Prefer `RegExp#test(…)` over `String#match(…)`.",[Ct]:"Switch to `RegExp#test(…)`."}}});let{findVariable:Co}=ro,{getVariableIdentifiers:Cs}=p_,{isCallOrNewExpression:Cd,isMethodCall:Cc}=fl,Cf="error",Cl="suggestion",Cp=["concat","copyWithin","fill","filter","flat","flatMap","map","reverse","slice","sort","splice","toReversed","toSorted","toSpliced","with"],Cg=e=>{let{type:r,optional:t,callee:n,arguments:u}=e.parent.parent??{};return"CallExpression"===r&&!t&&"MemberExpression"===n.type&&!n.computed&&!n.optional&&n.object===e&&"Identifier"===n.property.type&&"includes"===n.property.name&&1===u.length&&"SpreadElement"!==u[0].type},Cm=new Set(["ForOfStatement","ForStatement","ForInStatement","WhileStatement","DoWhileStatement","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]),Cy=(e,r)=>{let t=r.parent.parent.parent,{parent:n}=e.parent;for(;n&&n!==t;){if(Cm.has(n.type))return!0;n=n.parent}return!1};var Ch=et({create:e=>({Identifier(r){let{parent:t}=r;if(!("VariableDeclarator"===t.type&&t.id===r&&t.init&&"VariableDeclaration"===t.parent.type&&t.parent.declarations.includes(t)&&!("ExportNamedDeclaration"===t.parent.parent.type&&t.parent.parent.declaration===t.parent)&&("ArrayExpression"===t.init.type||Cd(t.init,{name:"Array",optional:!1})||Cc(t.init,{object:"Array",methods:["from","of"],optionalCall:!1,optionalMember:!1})||Cc(t.init,{methods:Cp,optionalCall:!1,optionalMember:!1}))))return;let n=Co(e.sourceCode.getScope(r),r);if(!n)return;let u=Cs(n).filter(e=>e!==r);if(0===u.length||u.some(e=>!Cg(e))||1===u.length&&u.every(e=>!Cy(e,r)))return;let a={node:r,messageId:Cf,data:{name:r.name}},i=function*(e){for(let t of(yield e.insertTextBefore(r.parent.init,"new Set("),yield e.insertTextAfter(r.parent.init,")"),u))yield e.replaceText(t.parent.property,"has")};return r.typeAnnotation?a.suggest=[{messageId:Cl,fix:i}]:a.fix=i,a}}),meta:{type:"suggestion",docs:{description:"Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence."},fixable:"code",hasSuggestions:!0,messages:{[Cf]:"`{{name}}` should be a `Set`, and use `{{name}}.has()` to check existence or non-existence.",[Cl]:"Switch `{{name}}` to `Set`."}}});let{hasSideEffect:Cb}=ro,Cv=function(e,r){let{line:t,column:n}=r.getLocFromIndex(e.range[0]),u=r.getLines(),a=u[t-1].slice(0,n);return a.match(/\s*$/)[0]},Cx="prefer-switch",CE=(e,r)=>e===r||l8(e,r),CA=new Set(["WhileStatement","DoWhileStatement","ForStatement","ForOfStatement","ForInStatement","SwitchStatement"]),CD=e=>{for(;e.parent;e=e.parent)if(CA.has(e.type))return e},CC=(e,r)=>e.range[0]>=r.range[0]&&e.range[1]<=r.range[1];var CS=et({create:e=>{let r={minimumCases:3,emptyDefaultCase:"no-default-comment",insertBreakInDefaultCase:!1,...e.options[0]},{sourceCode:t}=e,n=new Set,u=[],a=new Set;return{IfStatement(e){n.add(e)},BreakStatement(e){e.label||u.push(e)},*"Program:exit"(){for(let e of n){if(a.has(e))continue;let{discriminant:n,ifStatements:i}=function(e){let r;let t=[];for(;e&&"IfStatement"===e.type;e=e.alternate){let{test:n}=e,u=function(e){let r=[e],t=[];for(;r.length>0;){if("LogicalExpression"===(e=r.pop()).type&&"||"===e.operator){r.push(e.right,e.left);continue}if("BinaryExpression"!==e.type||"==="!==e.operator)return[];t.push(e)}return t}(n);if(0===u.length)break;if(!r){let[{left:e,right:t}]=u;r=[e,t]}let a=function(e,r){for(let{left:t,right:n}of e)if(0===(r=r.filter(e=>CE(e,t)||CE(e,n))).length)break;return r}(u,r);if(0===a.length)break;r=a,t.push({statement:e,compareExpressions:u})}return{ifStatements:t,discriminant:r&&r[0]}}(e);if(!n||i.length<r.minimumCases)continue;for(let{statement:e}of i)a.add(e);let o={loc:{start:e.loc.start,end:e.consequent.loc.start},messageId:Cx};Cb(n,t)||i.some(({statement:e})=>(function(e,r){for(let t of e){if(!CC(t,r))continue;let e=CD(t);if(!e||CC(r,e))return!0}return!1})(u,e))||(o.fix=function({discriminant:e,ifStatements:r},t,n){let u=t.getText(e);return function*(a){let i=r[0].statement,o=Cv(i,t);yield a.insertTextBefore(i,`switch (${u}) {`);let s=r[r.length-1].statement;if(s.alternate){let{alternate:e}=s;yield a.insertTextBefore(e,`
5
+ ${o}default: `)}else switch(n.emptyDefaultCase){case"no-default-comment":yield a.insertTextAfter(i,`
6
+ ${o}// No default`);break;case"do-nothing-comment":yield a.insertTextAfter(i,`
7
+ ${o}default:
8
+ ${o}// Do nothing`)}for(let{statement:n,compareExpressions:u}of(yield a.insertTextAfter(i,`
9
+ ${o}}`),r)){let{consequent:r,alternate:i,range:s}=n,d=[s[0],r.range[0]];if(i){let[,e]=r.range,[t]=i.range;yield a.replaceTextRange([e,t],"")}for(let{left:n,right:i}of(yield a.replaceTextRange(d,""),u)){let u=CE(n,e)?i:n,s=t.getText(u);yield a.insertTextBefore(r,`
10
+ ${o}case ${s}: `)}(function e(r){switch(r.type){case"ReturnStatement":case"ThrowStatement":return!1;case"IfStatement":return!r.alternate||e(r.consequent)||e(r.alternate);case"BlockStatement":{let t=function e(r){let{body:t}=r;for(let r=t.length-1;r>=0;r--){let n=t[r];if("FunctionDeclaration"!==n.type&&"EmptyStatement"!==n.type){if("BlockStatement"===n.type){let r=e(n);if(r)return r;continue}return n}}}(r);return!t||e(t)}default:return!0}})(r)&&(yield*function*(e,r,t,n){if("BlockStatement"===e.type){let u=t.getLastToken(e);yield r.insertTextBefore(u,`
11
+ ${n}break;
12
+ ${n}`)}else yield r.insertTextAfter(e,`
13
+ ${n}break;`)}(r,a,t,o),yield*function*(e,r,t){e&&"BlockStatement"!==e.type&&(yield r.insertTextBefore(e,`{
14
+ ${t}`),yield r.insertTextAfter(e,`
15
+ ${t}}`))}(r,a,o))}}}({discriminant:n,ifStatements:i},t,r)),yield o}}}},meta:{type:"suggestion",docs:{description:"Prefer `switch` over multiple `else-if`."},fixable:"code",schema:[{type:"object",additionalProperties:!1,properties:{minimumCases:{type:"integer",minimum:2,default:3},emptyDefaultCase:{enum:["no-default-comment","do-nothing-comment","no-default-case"],default:"no-default-comment"}}}],messages:{[Cx]:"Use `switch` instead of multiple `else-if`."}}});let{appendArgument:C_}=la,{isMethodCall:Cw}=fl,CF="require-number-to-fixed-digits-argument";var CT=et({create:e=>({CallExpression(r){if(!Cw(r,{method:"toFixed",argumentsLength:0,optionalCall:!1,optionalMember:!1})||"NewExpression"===r.callee.object.type)return;let{sourceCode:t}=e,[n,u]=t.getLastTokens(r,2);return{loc:{start:n.loc.start,end:u.loc.end},messageId:CF,fix:e=>C_(e,r,"0",t)}}}),meta:{type:"suggestion",docs:{description:"Enforce using the digits argument with `Number#toFixed()`."},fixable:"code",messages:{[CF]:"Missing the digits argument."}}});let Ck=RegExp("^\\s*(?<directive>eslint-disable(?:-(?:next-)?line)?)"),CP=RegExp("^eslint-disable(?:-next-line|-line)?(?<ruleId>$|(?:\\s+(?:@(?:[\\w-]+\\/){1,2})?[\\w-]+)?)"),CI=Symbol("rule-id-no-match");var Cj={rules:{"array/no-unneeded-flat-map":E,"browser/prefer-location-assign":D,"jsx/no-template-literal":S,"jsx/no-unneeded-nested":_,"string/no-locale-case":F,"string/no-simple-template-literal":k,"type/no-instanceof-wrapper":I,"unicode/no-bidi":M,"unicode/no-invisible":z,"ban-eslint-disable":function({name:e,meta:r,create:t,resolveOptions:n}){if(r.docs){var u;(u=r.docs).url??(u.url=new URL(e,"https://eslint-plugin.skk.moe/src/rules/").toString())}return Object.freeze({name:e,meta:r,create(e){let r=n?.(...e.options)??e.options[0],u=Object.entries(t(e,r));return Object.fromEntries(u.filter(e=>e[1]))}})}({name:"ban-eslint-disable",meta:{type:"problem",docs:{description:"Ban `eslint-disable` comment directive"},schema:[{oneOf:[{type:"boolean"},{type:"string",enum:["allow-with-description"]}]}],messages:{"do-not-use":"Do not use `{{directive}}`","require-description":"Include a description after the `{{directive}}` directive to explain why the `{{directive}}` is necessary.","require-specific-rule":"Enforce specifying rules to disable in `eslint-disable` comments. If you want to disable ESLint on a file altogether, you should ignore it through ESLint configuration."}},create:(e,r="allow-with-description")=>!1===r?{}:{Program(t){if(t.comments&&0!==t.comments.length)for(let n of t.comments){let t=function(e){let r=Ck.exec(e);return r?.groups?.directive}(n.value);if(t&&!("allow-with-description"===r&&n.value.includes("--"))){let u="allow-with-description"===r?"require-description":"do-not-use";e.report({node:n,data:{directive:t},messageId:u})}let u=function(e){let r=CP.exec(e.trim());return r?r.groups?.ruleId:CI}(n.value);u===CI||u||e.report({node:n,messageId:"require-specific-rule"})}}}}),"no-redundant-variable":U,"no-single-return":q,"prefer-early-return":Z,"prefer-fetch":G,"prefer-timer-id":J,"unicorn/better-regex":CB(vG,"unicorn/better-regex"),"unicorn/no-nested-ternary":CB(rf,"unicorn/no-nested-ternary"),"unicorn/prefer-event-target":CB(rp,"unicorn/prefer-event-target"),"unicorn/prefer-keyboard-event-key":CB(fC,"unicorn/prefer-keyboard-event-key"),"unicorn/prefer-text-content":CB(fF,"unicorn/prefer-text-content"),"unicorn/require-array-join-separator":CB(pP,"unicorn/require-array-join-separator"),"unicorn/no-thenable":CB(p$,"unicorn/no-thenable"),"unicorn/no-invalid-remove-event-listener":CB(pq,"unicorn/no-invalid-remove-event-listener"),"unicorn/consistent-function-scoping":CB(p3,"unicorn/consistent-function-scoping"),"unicorn/no-new-buffer":CB(gx,"unicorn/no-new-buffer"),"unicorn/no-console-spaces":CB(g_,"unicorn/no-console-spaces"),"unicorn/no-empty-file":CB(gj,"unicorn/no-empty-file"),"unicorn/no-useless-fallback-in-spread":CB(gN,"unicorn/no-useless-fallback-in-spread"),"unicorn/no-useless-length-check":CB(gV,"unicorn/no-useless-length-check"),"unicorn/no-useless-promise-resolve-reject":CB(gK,"unicorn/no-useless-promise-resolve-reject"),"unicorn/no-zero-fractions":CB(g2,"unicorn/no-zero-fractions"),"unicorn/prefer-export-from":CB(mi,"unicorn/prefer-export-from"),"unicorn/prefer-native-coercion-functions":CB(my,"unicorn/prefer-native-coercion-functions"),"unicorn/no-document-cookie":CB(mC,"unicorn/no-document-cookie"),"unicorn/prefer-add-event-listener":CB(mN,"unicorn/prefer-add-event-listener"),"unicorn/prefer-array-index-of":CB(mX,"unicorn/prefer-array-index-of"),"unicorn/prefer-blob-reading-methods":CB(m0,"unicorn/prefer-blob-reading-methods"),"unicorn/prefer-date-now":CB(ye,"unicorn/prefer-date-now"),"unicorn/prefer-dom-node-dataset":CB(yc,"unicorn/prefer-dom-node-dataset"),"unicorn/prefer-modern-math-apis":CB(yw,"unicorn/prefer-modern-math-apis"),"unicorn/number-literal-case":CB(yU,"unicorn/number-literal-case"),"unicorn/prefer-number-properties":CB(yJ,"unicorn/prefer-number-properties"),"unicorn/prefer-reflect-apply":CB(y5,"unicorn/prefer-reflect-apply"),"unicorn/prefer-set-size":CB(ht,"unicorn/prefer-set-size"),"unicorn/prefer-string-replace-all":CB(hp,"unicorn/prefer-string-replace-all"),"unicorn/prefer-string-slice":CB(hA,"unicorn/prefer-string-slice"),"unicorn/prefer-string-trim-start-end":CB(hS,"unicorn/prefer-string-trim-start-end"),"unicorn/no-unreadable-iife":CB(hk,"unicorn/no-unreadable-iife"),"unicorn/throw-new-error":CB(hB,"unicorn/throw-new-error"),"unicorn/escape-case":CB(v1,"unicorn/escape-case"),"unicorn/no-hex-escape":CB(v6,"unicorn/no-hex-escape"),"unicorn/prefer-prototype-methods":CB(xt,"unicorn/prefer-prototype-methods"),"unicorn/relative-url-style":CB(xl,"unicorn/relative-url-style"),"unicorn/error-message":CB(xv,"unicorn/error-message"),"unicorn/no-instanceof-array":CB(x_,"unicorn/no-instanceof-array"),"unicorn/prefer-type-error":CB(xR,"unicorn/prefer-type-error"),"unicorn/consistent-destructuring":CB(xU,"unicorn/consistent-destructuring"),"unicorn/new-for-builtins":CB(xK,"unicorn/new-for-builtins"),"unicorn/no-array-method-this-argument":CB(x9,"unicorn/no-array-method-this-argument"),"unicorn/no-array-push-push":CB(Ec,"unicorn/no-array-push-push"),"unicorn/no-process-exit":CB(Ey,"unicorn/no-process-exit"),"unicorn/no-static-only-class":CB(E_,"unicorn/no-static-only-class"),"unicorn/no-unreadable-array-destructuring":CB(EP,"unicorn/no-unreadable-array-destructuring"),"unicorn/no-useless-spread":CB(EK,"unicorn/no-useless-spread"),"unicorn/no-useless-switch-case":CB(E2,"unicorn/no-useless-switch-case"),"unicorn/no-useless-undefined":CB(An,"unicorn/no-useless-undefined"),"unicorn/numeric-separators-style":CB(Ac,"unicorn/numeric-separators-style"),"unicorn/prefer-array-find":CB(AU,"unicorn/prefer-array-find"),"unicorn/prefer-array-flat-map":CB(AH,"unicorn/prefer-array-flat-map"),"unicorn/prefer-array-flat":CB(Dn,"unicorn/prefer-array-flat"),"unicorn/prefer-array-some":CB(Dh,"unicorn/prefer-array-some"),"unicorn/prefer-code-point":CB(Dx,"unicorn/prefer-code-point"),"unicorn/prefer-default-parameters":CB(DI,"unicorn/prefer-default-parameters"),"unicorn/prefer-json-parse-buffer":CB(DU,"unicorn/prefer-json-parse-buffer"),"unicorn/prefer-logical-operator-over-ternary":CB(DJ,"unicorn/prefer-logical-operator-over-ternary"),"unicorn/prefer-optional-catch-binding":CB(D1,"unicorn/prefer-optional-catch-binding"),"unicorn/prefer-prototype-methods":CB(xt,"unicorn/prefer-prototype-methods"),"unicorn/prefer-regexp-test":CB(Ci,"unicorn/prefer-regexp-test"),"unicorn/prefer-set-has":CB(Ch,"unicorn/prefer-set-has"),"unicorn/prefer-switch":CB(CS,"unicorn/prefer-switch"),"unicorn/require-number-to-fixed-digits-argument":CB(CT,"unicorn/require-number-to-fixed-digits-argument"),"string/no-unneeded-to-string":X,"type/no-force-cast-via-top-type":Y,"type/no-wrapper-type-reference":ee,"no-default-error":er}};function CB(e,r){var t;return{meta:{schema:[],...e.meta,docs:{...e.meta.docs,url:ei(r)}},create:(t=e.create,e=>{let r={},n=(e,t)=>{r[e]??(r[e]=[]),r[e].push(t)},u=new Proxy(e,{get:(e,r,t)=>"on"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(e,r)}:"onExit"===r?(e,r)=>{let t=Array.isArray(e)?e:[e];for(let e of t)n(`${e}:exit`,r)}:Reflect.get(e,r,t)});for(let[e,r]of Object.entries(t(u)??{}))n(e,r);return Object.fromEntries(Object.entries(r).map(([r,t])=>[r,(...r)=>{for(let n of t)!function(e,r){if(e)for(let t of(CO(e)||(e=[e]),e)){if(t.fix&&(t.fix=CN(t.fix)),CO(t.suggest))for(let e of t.suggest)e.fix&&(e.fix=CN(e.fix)),e.data={...t.data,...e.data};r.report(t)}}(n(...r),e)}]))})}}let CO=e=>"function"==typeof e?.[Symbol.iterator];class CR extends Error{}let CL={abort(){throw new CR("Fix aborted.")}};function CN(e){return r=>{let t=e(r,CL);if(CO(t))try{return[...t]}catch(e){if(e instanceof CR)return;throw e}return t}}export{Cj as default};