{ "version": 3, "sources": ["../../@vue/compiler-core/dist/compiler-core.esm-bundler.js", "../../@vue/compiler-dom/dist/compiler-dom.esm-bundler.js", "../../@vue/server-renderer/node_modules/@vue/shared/dist/shared.esm-bundler.js", "../../@vue/server-renderer/dist/server-renderer.esm-bundler.js", "../../cypress/vue/dist/cypress-vue.esm-bundler.js"], "sourcesContent": ["/**\n* @vue/compiler-core v3.4.15\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { isString, NOOP, isObject, NO, extend, isSymbol, isArray, capitalize, camelize, EMPTY_OBJ, PatchFlagNames, slotFlagsText, isOn, isBuiltInDirective, isReservedProp, toHandlerKey } from '@vue/shared';\nexport { generateCodeFrame } from '@vue/shared';\n\nconst FRAGMENT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `Fragment` : ``);\nconst TELEPORT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `Teleport` : ``);\nconst SUSPENSE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `Suspense` : ``);\nconst KEEP_ALIVE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `KeepAlive` : ``);\nconst BASE_TRANSITION = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `BaseTransition` : ``);\nconst OPEN_BLOCK = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `openBlock` : ``);\nconst CREATE_BLOCK = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createBlock` : ``);\nconst CREATE_ELEMENT_BLOCK = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createElementBlock` : ``);\nconst CREATE_VNODE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createVNode` : ``);\nconst CREATE_ELEMENT_VNODE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createElementVNode` : ``);\nconst CREATE_COMMENT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createCommentVNode` : ``);\nconst CREATE_TEXT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createTextVNode` : ``);\nconst CREATE_STATIC = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createStaticVNode` : ``);\nconst RESOLVE_COMPONENT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `resolveComponent` : ``);\nconst RESOLVE_DYNAMIC_COMPONENT = Symbol(\n !!(process.env.NODE_ENV !== \"production\") ? `resolveDynamicComponent` : ``\n);\nconst RESOLVE_DIRECTIVE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `resolveDirective` : ``);\nconst RESOLVE_FILTER = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `resolveFilter` : ``);\nconst WITH_DIRECTIVES = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `withDirectives` : ``);\nconst RENDER_LIST = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `renderList` : ``);\nconst RENDER_SLOT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `renderSlot` : ``);\nconst CREATE_SLOTS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `createSlots` : ``);\nconst TO_DISPLAY_STRING = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `toDisplayString` : ``);\nconst MERGE_PROPS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `mergeProps` : ``);\nconst NORMALIZE_CLASS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `normalizeClass` : ``);\nconst NORMALIZE_STYLE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `normalizeStyle` : ``);\nconst NORMALIZE_PROPS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `normalizeProps` : ``);\nconst GUARD_REACTIVE_PROPS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `guardReactiveProps` : ``);\nconst TO_HANDLERS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `toHandlers` : ``);\nconst CAMELIZE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `camelize` : ``);\nconst CAPITALIZE = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `capitalize` : ``);\nconst TO_HANDLER_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `toHandlerKey` : ``);\nconst SET_BLOCK_TRACKING = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `setBlockTracking` : ``);\nconst PUSH_SCOPE_ID = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `pushScopeId` : ``);\nconst POP_SCOPE_ID = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `popScopeId` : ``);\nconst WITH_CTX = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `withCtx` : ``);\nconst UNREF = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `unref` : ``);\nconst IS_REF = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `isRef` : ``);\nconst WITH_MEMO = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `withMemo` : ``);\nconst IS_MEMO_SAME = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `isMemoSame` : ``);\nconst helperNameMap = {\n [FRAGMENT]: `Fragment`,\n [TELEPORT]: `Teleport`,\n [SUSPENSE]: `Suspense`,\n [KEEP_ALIVE]: `KeepAlive`,\n [BASE_TRANSITION]: `BaseTransition`,\n [OPEN_BLOCK]: `openBlock`,\n [CREATE_BLOCK]: `createBlock`,\n [CREATE_ELEMENT_BLOCK]: `createElementBlock`,\n [CREATE_VNODE]: `createVNode`,\n [CREATE_ELEMENT_VNODE]: `createElementVNode`,\n [CREATE_COMMENT]: `createCommentVNode`,\n [CREATE_TEXT]: `createTextVNode`,\n [CREATE_STATIC]: `createStaticVNode`,\n [RESOLVE_COMPONENT]: `resolveComponent`,\n [RESOLVE_DYNAMIC_COMPONENT]: `resolveDynamicComponent`,\n [RESOLVE_DIRECTIVE]: `resolveDirective`,\n [RESOLVE_FILTER]: `resolveFilter`,\n [WITH_DIRECTIVES]: `withDirectives`,\n [RENDER_LIST]: `renderList`,\n [RENDER_SLOT]: `renderSlot`,\n [CREATE_SLOTS]: `createSlots`,\n [TO_DISPLAY_STRING]: `toDisplayString`,\n [MERGE_PROPS]: `mergeProps`,\n [NORMALIZE_CLASS]: `normalizeClass`,\n [NORMALIZE_STYLE]: `normalizeStyle`,\n [NORMALIZE_PROPS]: `normalizeProps`,\n [GUARD_REACTIVE_PROPS]: `guardReactiveProps`,\n [TO_HANDLERS]: `toHandlers`,\n [CAMELIZE]: `camelize`,\n [CAPITALIZE]: `capitalize`,\n [TO_HANDLER_KEY]: `toHandlerKey`,\n [SET_BLOCK_TRACKING]: `setBlockTracking`,\n [PUSH_SCOPE_ID]: `pushScopeId`,\n [POP_SCOPE_ID]: `popScopeId`,\n [WITH_CTX]: `withCtx`,\n [UNREF]: `unref`,\n [IS_REF]: `isRef`,\n [WITH_MEMO]: `withMemo`,\n [IS_MEMO_SAME]: `isMemoSame`\n};\nfunction registerRuntimeHelpers(helpers) {\n Object.getOwnPropertySymbols(helpers).forEach((s) => {\n helperNameMap[s] = helpers[s];\n });\n}\n\nconst Namespaces = {\n \"HTML\": 0,\n \"0\": \"HTML\",\n \"SVG\": 1,\n \"1\": \"SVG\",\n \"MATH_ML\": 2,\n \"2\": \"MATH_ML\"\n};\nconst NodeTypes = {\n \"ROOT\": 0,\n \"0\": \"ROOT\",\n \"ELEMENT\": 1,\n \"1\": \"ELEMENT\",\n \"TEXT\": 2,\n \"2\": \"TEXT\",\n \"COMMENT\": 3,\n \"3\": \"COMMENT\",\n \"SIMPLE_EXPRESSION\": 4,\n \"4\": \"SIMPLE_EXPRESSION\",\n \"INTERPOLATION\": 5,\n \"5\": \"INTERPOLATION\",\n \"ATTRIBUTE\": 6,\n \"6\": \"ATTRIBUTE\",\n \"DIRECTIVE\": 7,\n \"7\": \"DIRECTIVE\",\n \"COMPOUND_EXPRESSION\": 8,\n \"8\": \"COMPOUND_EXPRESSION\",\n \"IF\": 9,\n \"9\": \"IF\",\n \"IF_BRANCH\": 10,\n \"10\": \"IF_BRANCH\",\n \"FOR\": 11,\n \"11\": \"FOR\",\n \"TEXT_CALL\": 12,\n \"12\": \"TEXT_CALL\",\n \"VNODE_CALL\": 13,\n \"13\": \"VNODE_CALL\",\n \"JS_CALL_EXPRESSION\": 14,\n \"14\": \"JS_CALL_EXPRESSION\",\n \"JS_OBJECT_EXPRESSION\": 15,\n \"15\": \"JS_OBJECT_EXPRESSION\",\n \"JS_PROPERTY\": 16,\n \"16\": \"JS_PROPERTY\",\n \"JS_ARRAY_EXPRESSION\": 17,\n \"17\": \"JS_ARRAY_EXPRESSION\",\n \"JS_FUNCTION_EXPRESSION\": 18,\n \"18\": \"JS_FUNCTION_EXPRESSION\",\n \"JS_CONDITIONAL_EXPRESSION\": 19,\n \"19\": \"JS_CONDITIONAL_EXPRESSION\",\n \"JS_CACHE_EXPRESSION\": 20,\n \"20\": \"JS_CACHE_EXPRESSION\",\n \"JS_BLOCK_STATEMENT\": 21,\n \"21\": \"JS_BLOCK_STATEMENT\",\n \"JS_TEMPLATE_LITERAL\": 22,\n \"22\": \"JS_TEMPLATE_LITERAL\",\n \"JS_IF_STATEMENT\": 23,\n \"23\": \"JS_IF_STATEMENT\",\n \"JS_ASSIGNMENT_EXPRESSION\": 24,\n \"24\": \"JS_ASSIGNMENT_EXPRESSION\",\n \"JS_SEQUENCE_EXPRESSION\": 25,\n \"25\": \"JS_SEQUENCE_EXPRESSION\",\n \"JS_RETURN_STATEMENT\": 26,\n \"26\": \"JS_RETURN_STATEMENT\"\n};\nconst ElementTypes = {\n \"ELEMENT\": 0,\n \"0\": \"ELEMENT\",\n \"COMPONENT\": 1,\n \"1\": \"COMPONENT\",\n \"SLOT\": 2,\n \"2\": \"SLOT\",\n \"TEMPLATE\": 3,\n \"3\": \"TEMPLATE\"\n};\nconst ConstantTypes = {\n \"NOT_CONSTANT\": 0,\n \"0\": \"NOT_CONSTANT\",\n \"CAN_SKIP_PATCH\": 1,\n \"1\": \"CAN_SKIP_PATCH\",\n \"CAN_HOIST\": 2,\n \"2\": \"CAN_HOIST\",\n \"CAN_STRINGIFY\": 3,\n \"3\": \"CAN_STRINGIFY\"\n};\nconst locStub = {\n start: { line: 1, column: 1, offset: 0 },\n end: { line: 1, column: 1, offset: 0 },\n source: \"\"\n};\nfunction createRoot(children, source = \"\") {\n return {\n type: 0,\n source,\n children,\n helpers: /* @__PURE__ */ new Set(),\n components: [],\n directives: [],\n hoists: [],\n imports: [],\n cached: 0,\n temps: 0,\n codegenNode: void 0,\n loc: locStub\n };\n}\nfunction createVNodeCall(context, tag, props, children, patchFlag, dynamicProps, directives, isBlock = false, disableTracking = false, isComponent = false, loc = locStub) {\n if (context) {\n if (isBlock) {\n context.helper(OPEN_BLOCK);\n context.helper(getVNodeBlockHelper(context.inSSR, isComponent));\n } else {\n context.helper(getVNodeHelper(context.inSSR, isComponent));\n }\n if (directives) {\n context.helper(WITH_DIRECTIVES);\n }\n }\n return {\n type: 13,\n tag,\n props,\n children,\n patchFlag,\n dynamicProps,\n directives,\n isBlock,\n disableTracking,\n isComponent,\n loc\n };\n}\nfunction createArrayExpression(elements, loc = locStub) {\n return {\n type: 17,\n loc,\n elements\n };\n}\nfunction createObjectExpression(properties, loc = locStub) {\n return {\n type: 15,\n loc,\n properties\n };\n}\nfunction createObjectProperty(key, value) {\n return {\n type: 16,\n loc: locStub,\n key: isString(key) ? createSimpleExpression(key, true) : key,\n value\n };\n}\nfunction createSimpleExpression(content, isStatic = false, loc = locStub, constType = 0) {\n return {\n type: 4,\n loc,\n content,\n isStatic,\n constType: isStatic ? 3 : constType\n };\n}\nfunction createInterpolation(content, loc) {\n return {\n type: 5,\n loc,\n content: isString(content) ? createSimpleExpression(content, false, loc) : content\n };\n}\nfunction createCompoundExpression(children, loc = locStub) {\n return {\n type: 8,\n loc,\n children\n };\n}\nfunction createCallExpression(callee, args = [], loc = locStub) {\n return {\n type: 14,\n loc,\n callee,\n arguments: args\n };\n}\nfunction createFunctionExpression(params, returns = void 0, newline = false, isSlot = false, loc = locStub) {\n return {\n type: 18,\n params,\n returns,\n newline,\n isSlot,\n loc\n };\n}\nfunction createConditionalExpression(test, consequent, alternate, newline = true) {\n return {\n type: 19,\n test,\n consequent,\n alternate,\n newline,\n loc: locStub\n };\n}\nfunction createCacheExpression(index, value, isVNode = false) {\n return {\n type: 20,\n index,\n value,\n isVNode,\n loc: locStub\n };\n}\nfunction createBlockStatement(body) {\n return {\n type: 21,\n body,\n loc: locStub\n };\n}\nfunction createTemplateLiteral(elements) {\n return {\n type: 22,\n elements,\n loc: locStub\n };\n}\nfunction createIfStatement(test, consequent, alternate) {\n return {\n type: 23,\n test,\n consequent,\n alternate,\n loc: locStub\n };\n}\nfunction createAssignmentExpression(left, right) {\n return {\n type: 24,\n left,\n right,\n loc: locStub\n };\n}\nfunction createSequenceExpression(expressions) {\n return {\n type: 25,\n expressions,\n loc: locStub\n };\n}\nfunction createReturnStatement(returns) {\n return {\n type: 26,\n returns,\n loc: locStub\n };\n}\nfunction getVNodeHelper(ssr, isComponent) {\n return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;\n}\nfunction getVNodeBlockHelper(ssr, isComponent) {\n return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;\n}\nfunction convertToBlock(node, { helper, removeHelper, inSSR }) {\n if (!node.isBlock) {\n node.isBlock = true;\n removeHelper(getVNodeHelper(inSSR, node.isComponent));\n helper(OPEN_BLOCK);\n helper(getVNodeBlockHelper(inSSR, node.isComponent));\n }\n}\n\nconst defaultDelimitersOpen = new Uint8Array([123, 123]);\nconst defaultDelimitersClose = new Uint8Array([125, 125]);\nfunction isTagStartChar(c) {\n return c >= 97 && c <= 122 || c >= 65 && c <= 90;\n}\nfunction isWhitespace(c) {\n return c === 32 || c === 10 || c === 9 || c === 12 || c === 13;\n}\nfunction isEndOfTagSection(c) {\n return c === 47 || c === 62 || isWhitespace(c);\n}\nfunction toCharCodes(str) {\n const ret = new Uint8Array(str.length);\n for (let i = 0; i < str.length; i++) {\n ret[i] = str.charCodeAt(i);\n }\n return ret;\n}\nconst Sequences = {\n Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]),\n // CDATA[\n CdataEnd: new Uint8Array([93, 93, 62]),\n // ]]>\n CommentEnd: new Uint8Array([45, 45, 62]),\n // `-->`\n ScriptEnd: new Uint8Array([60, 47, 115, 99, 114, 105, 112, 116]),\n // `<\\/script`\n StyleEnd: new Uint8Array([60, 47, 115, 116, 121, 108, 101]),\n // `= 0; i--) {\n const newlineIndex = this.newlines[i];\n if (index > newlineIndex) {\n line = i + 2;\n column = index - newlineIndex;\n break;\n }\n }\n return {\n column,\n line,\n offset: index\n };\n }\n peek() {\n return this.buffer.charCodeAt(this.index + 1);\n }\n stateText(c) {\n if (c === 60) {\n if (this.index > this.sectionStart) {\n this.cbs.ontext(this.sectionStart, this.index);\n }\n this.state = 5;\n this.sectionStart = this.index;\n } else if (!this.inVPre && c === this.delimiterOpen[0]) {\n this.state = 2;\n this.delimiterIndex = 0;\n this.stateInterpolationOpen(c);\n }\n }\n stateInterpolationOpen(c) {\n if (c === this.delimiterOpen[this.delimiterIndex]) {\n if (this.delimiterIndex === this.delimiterOpen.length - 1) {\n const start = this.index + 1 - this.delimiterOpen.length;\n if (start > this.sectionStart) {\n this.cbs.ontext(this.sectionStart, start);\n }\n this.state = 3;\n this.sectionStart = start;\n } else {\n this.delimiterIndex++;\n }\n } else if (this.inRCDATA) {\n this.state = 32;\n this.stateInRCDATA(c);\n } else {\n this.state = 1;\n this.stateText(c);\n }\n }\n stateInterpolation(c) {\n if (c === this.delimiterClose[0]) {\n this.state = 4;\n this.delimiterIndex = 0;\n this.stateInterpolationClose(c);\n }\n }\n stateInterpolationClose(c) {\n if (c === this.delimiterClose[this.delimiterIndex]) {\n if (this.delimiterIndex === this.delimiterClose.length - 1) {\n this.cbs.oninterpolation(this.sectionStart, this.index + 1);\n if (this.inRCDATA) {\n this.state = 32;\n } else {\n this.state = 1;\n }\n this.sectionStart = this.index + 1;\n } else {\n this.delimiterIndex++;\n }\n } else {\n this.state = 3;\n this.stateInterpolation(c);\n }\n }\n stateSpecialStartSequence(c) {\n const isEnd = this.sequenceIndex === this.currentSequence.length;\n const isMatch = isEnd ? (\n // If we are at the end of the sequence, make sure the tag name has ended\n isEndOfTagSection(c)\n ) : (\n // Otherwise, do a case-insensitive comparison\n (c | 32) === this.currentSequence[this.sequenceIndex]\n );\n if (!isMatch) {\n this.inRCDATA = false;\n } else if (!isEnd) {\n this.sequenceIndex++;\n return;\n }\n this.sequenceIndex = 0;\n this.state = 6;\n this.stateInTagName(c);\n }\n /** Look for an end tag. For and <textarea>, also decode entities. */\n stateInRCDATA(c) {\n if (this.sequenceIndex === this.currentSequence.length) {\n if (c === 62 || isWhitespace(c)) {\n const endOfText = this.index - this.currentSequence.length;\n if (this.sectionStart < endOfText) {\n const actualIndex = this.index;\n this.index = endOfText;\n this.cbs.ontext(this.sectionStart, endOfText);\n this.index = actualIndex;\n }\n this.sectionStart = endOfText + 2;\n this.stateInClosingTagName(c);\n this.inRCDATA = false;\n return;\n }\n this.sequenceIndex = 0;\n }\n if ((c | 32) === this.currentSequence[this.sequenceIndex]) {\n this.sequenceIndex += 1;\n } else if (this.sequenceIndex === 0) {\n if (this.currentSequence === Sequences.TitleEnd || this.currentSequence === Sequences.TextareaEnd && !this.inSFCRoot) {\n if (c === this.delimiterOpen[0]) {\n this.state = 2;\n this.delimiterIndex = 0;\n this.stateInterpolationOpen(c);\n }\n } else if (this.fastForwardTo(60)) {\n this.sequenceIndex = 1;\n }\n } else {\n this.sequenceIndex = Number(c === 60);\n }\n }\n stateCDATASequence(c) {\n if (c === Sequences.Cdata[this.sequenceIndex]) {\n if (++this.sequenceIndex === Sequences.Cdata.length) {\n this.state = 28;\n this.currentSequence = Sequences.CdataEnd;\n this.sequenceIndex = 0;\n this.sectionStart = this.index + 1;\n }\n } else {\n this.sequenceIndex = 0;\n this.state = 23;\n this.stateInDeclaration(c);\n }\n }\n /**\n * When we wait for one specific character, we can speed things up\n * by skipping through the buffer until we find it.\n *\n * @returns Whether the character was found.\n */\n fastForwardTo(c) {\n while (++this.index < this.buffer.length) {\n const cc = this.buffer.charCodeAt(this.index);\n if (cc === 10) {\n this.newlines.push(this.index);\n }\n if (cc === c) {\n return true;\n }\n }\n this.index = this.buffer.length - 1;\n return false;\n }\n /**\n * Comments and CDATA end with `-->` and `]]>`.\n *\n * Their common qualities are:\n * - Their end sequences have a distinct character they start with.\n * - That character is then repeated, so we have to check multiple repeats.\n * - All characters but the start character of the sequence can be skipped.\n */\n stateInCommentLike(c) {\n if (c === this.currentSequence[this.sequenceIndex]) {\n if (++this.sequenceIndex === this.currentSequence.length) {\n if (this.currentSequence === Sequences.CdataEnd) {\n this.cbs.oncdata(this.sectionStart, this.index - 2);\n } else {\n this.cbs.oncomment(this.sectionStart, this.index - 2);\n }\n this.sequenceIndex = 0;\n this.sectionStart = this.index + 1;\n this.state = 1;\n }\n } else if (this.sequenceIndex === 0) {\n if (this.fastForwardTo(this.currentSequence[0])) {\n this.sequenceIndex = 1;\n }\n } else if (c !== this.currentSequence[this.sequenceIndex - 1]) {\n this.sequenceIndex = 0;\n }\n }\n startSpecial(sequence, offset) {\n this.enterRCDATA(sequence, offset);\n this.state = 31;\n }\n enterRCDATA(sequence, offset) {\n this.inRCDATA = true;\n this.currentSequence = sequence;\n this.sequenceIndex = offset;\n }\n stateBeforeTagName(c) {\n if (c === 33) {\n this.state = 22;\n this.sectionStart = this.index + 1;\n } else if (c === 63) {\n this.state = 24;\n this.sectionStart = this.index + 1;\n } else if (isTagStartChar(c)) {\n this.sectionStart = this.index;\n if (this.mode === 0) {\n this.state = 6;\n } else if (this.inSFCRoot) {\n this.state = 34;\n } else if (!this.inXML) {\n const lower = c | 32;\n if (lower === 116) {\n this.state = 30;\n } else {\n this.state = lower === 115 ? 29 : 6;\n }\n } else {\n this.state = 6;\n }\n } else if (c === 47) {\n this.state = 8;\n } else {\n this.state = 1;\n this.stateText(c);\n }\n }\n stateInTagName(c) {\n if (isEndOfTagSection(c)) {\n this.handleTagName(c);\n }\n }\n stateInSFCRootTagName(c) {\n if (isEndOfTagSection(c)) {\n const tag = this.buffer.slice(this.sectionStart, this.index);\n if (tag !== \"template\") {\n this.enterRCDATA(toCharCodes(`</` + tag), 0);\n }\n this.handleTagName(c);\n }\n }\n handleTagName(c) {\n this.cbs.onopentagname(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.state = 11;\n this.stateBeforeAttrName(c);\n }\n stateBeforeClosingTagName(c) {\n if (isWhitespace(c)) ; else if (c === 62) {\n if (!!(process.env.NODE_ENV !== \"production\") || false) {\n this.cbs.onerr(14, this.index);\n }\n this.state = 1;\n this.sectionStart = this.index + 1;\n } else {\n this.state = isTagStartChar(c) ? 9 : 27;\n this.sectionStart = this.index;\n }\n }\n stateInClosingTagName(c) {\n if (c === 62 || isWhitespace(c)) {\n this.cbs.onclosetag(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.state = 10;\n this.stateAfterClosingTagName(c);\n }\n }\n stateAfterClosingTagName(c) {\n if (c === 62) {\n this.state = 1;\n this.sectionStart = this.index + 1;\n }\n }\n stateBeforeAttrName(c) {\n if (c === 62) {\n this.cbs.onopentagend(this.index);\n if (this.inRCDATA) {\n this.state = 32;\n } else {\n this.state = 1;\n }\n this.sectionStart = this.index + 1;\n } else if (c === 47) {\n this.state = 7;\n if ((!!(process.env.NODE_ENV !== \"production\") || false) && this.peek() !== 62) {\n this.cbs.onerr(22, this.index);\n }\n } else if (c === 60 && this.peek() === 47) {\n this.cbs.onopentagend(this.index);\n this.state = 5;\n this.sectionStart = this.index;\n } else if (!isWhitespace(c)) {\n if ((!!(process.env.NODE_ENV !== \"production\") || false) && c === 61) {\n this.cbs.onerr(\n 19,\n this.index\n );\n }\n this.handleAttrStart(c);\n }\n }\n handleAttrStart(c) {\n if (c === 118 && this.peek() === 45) {\n this.state = 13;\n this.sectionStart = this.index;\n } else if (c === 46 || c === 58 || c === 64 || c === 35) {\n this.cbs.ondirname(this.index, this.index + 1);\n this.state = 14;\n this.sectionStart = this.index + 1;\n } else {\n this.state = 12;\n this.sectionStart = this.index;\n }\n }\n stateInSelfClosingTag(c) {\n if (c === 62) {\n this.cbs.onselfclosingtag(this.index);\n this.state = 1;\n this.sectionStart = this.index + 1;\n this.inRCDATA = false;\n } else if (!isWhitespace(c)) {\n this.state = 11;\n this.stateBeforeAttrName(c);\n }\n }\n stateInAttrName(c) {\n if (c === 61 || isEndOfTagSection(c)) {\n this.cbs.onattribname(this.sectionStart, this.index);\n this.handleAttrNameEnd(c);\n } else if ((!!(process.env.NODE_ENV !== \"production\") || false) && (c === 34 || c === 39 || c === 60)) {\n this.cbs.onerr(\n 17,\n this.index\n );\n }\n }\n stateInDirName(c) {\n if (c === 61 || isEndOfTagSection(c)) {\n this.cbs.ondirname(this.sectionStart, this.index);\n this.handleAttrNameEnd(c);\n } else if (c === 58) {\n this.cbs.ondirname(this.sectionStart, this.index);\n this.state = 14;\n this.sectionStart = this.index + 1;\n } else if (c === 46) {\n this.cbs.ondirname(this.sectionStart, this.index);\n this.state = 16;\n this.sectionStart = this.index + 1;\n }\n }\n stateInDirArg(c) {\n if (c === 61 || isEndOfTagSection(c)) {\n this.cbs.ondirarg(this.sectionStart, this.index);\n this.handleAttrNameEnd(c);\n } else if (c === 91) {\n this.state = 15;\n } else if (c === 46) {\n this.cbs.ondirarg(this.sectionStart, this.index);\n this.state = 16;\n this.sectionStart = this.index + 1;\n }\n }\n stateInDynamicDirArg(c) {\n if (c === 93) {\n this.state = 14;\n } else if (c === 61 || isEndOfTagSection(c)) {\n this.cbs.ondirarg(this.sectionStart, this.index + 1);\n this.handleAttrNameEnd(c);\n if (!!(process.env.NODE_ENV !== \"production\") || false) {\n this.cbs.onerr(\n 27,\n this.index\n );\n }\n }\n }\n stateInDirModifier(c) {\n if (c === 61 || isEndOfTagSection(c)) {\n this.cbs.ondirmodifier(this.sectionStart, this.index);\n this.handleAttrNameEnd(c);\n } else if (c === 46) {\n this.cbs.ondirmodifier(this.sectionStart, this.index);\n this.sectionStart = this.index + 1;\n }\n }\n handleAttrNameEnd(c) {\n this.sectionStart = this.index;\n this.state = 17;\n this.cbs.onattribnameend(this.index);\n this.stateAfterAttrName(c);\n }\n stateAfterAttrName(c) {\n if (c === 61) {\n this.state = 18;\n } else if (c === 47 || c === 62) {\n this.cbs.onattribend(0, this.sectionStart);\n this.sectionStart = -1;\n this.state = 11;\n this.stateBeforeAttrName(c);\n } else if (!isWhitespace(c)) {\n this.cbs.onattribend(0, this.sectionStart);\n this.handleAttrStart(c);\n }\n }\n stateBeforeAttrValue(c) {\n if (c === 34) {\n this.state = 19;\n this.sectionStart = this.index + 1;\n } else if (c === 39) {\n this.state = 20;\n this.sectionStart = this.index + 1;\n } else if (!isWhitespace(c)) {\n this.sectionStart = this.index;\n this.state = 21;\n this.stateInAttrValueNoQuotes(c);\n }\n }\n handleInAttrValue(c, quote) {\n if (c === quote || this.fastForwardTo(quote)) {\n this.cbs.onattribdata(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.cbs.onattribend(\n quote === 34 ? 3 : 2,\n this.index + 1\n );\n this.state = 11;\n }\n }\n stateInAttrValueDoubleQuotes(c) {\n this.handleInAttrValue(c, 34);\n }\n stateInAttrValueSingleQuotes(c) {\n this.handleInAttrValue(c, 39);\n }\n stateInAttrValueNoQuotes(c) {\n if (isWhitespace(c) || c === 62) {\n this.cbs.onattribdata(this.sectionStart, this.index);\n this.sectionStart = -1;\n this.cbs.onattribend(1, this.index);\n this.state = 11;\n this.stateBeforeAttrName(c);\n } else if ((!!(process.env.NODE_ENV !== \"production\") || false) && c === 34 || c === 39 || c === 60 || c === 61 || c === 96) {\n this.cbs.onerr(\n 18,\n this.index\n );\n } else ;\n }\n stateBeforeDeclaration(c) {\n if (c === 91) {\n this.state = 26;\n this.sequenceIndex = 0;\n } else {\n this.state = c === 45 ? 25 : 23;\n }\n }\n stateInDeclaration(c) {\n if (c === 62 || this.fastForwardTo(62)) {\n this.state = 1;\n this.sectionStart = this.index + 1;\n }\n }\n stateInProcessingInstruction(c) {\n if (c === 62 || this.fastForwardTo(62)) {\n this.cbs.onprocessinginstruction(this.sectionStart, this.index);\n this.state = 1;\n this.sectionStart = this.index + 1;\n }\n }\n stateBeforeComment(c) {\n if (c === 45) {\n this.state = 28;\n this.currentSequence = Sequences.CommentEnd;\n this.sequenceIndex = 2;\n this.sectionStart = this.index + 1;\n } else {\n this.state = 23;\n }\n }\n stateInSpecialComment(c) {\n if (c === 62 || this.fastForwardTo(62)) {\n this.cbs.oncomment(this.sectionStart, this.index);\n this.state = 1;\n this.sectionStart = this.index + 1;\n }\n }\n stateBeforeSpecialS(c) {\n const lower = c | 32;\n if (lower === Sequences.ScriptEnd[3]) {\n this.startSpecial(Sequences.ScriptEnd, 4);\n } else if (lower === Sequences.StyleEnd[3]) {\n this.startSpecial(Sequences.StyleEnd, 4);\n } else {\n this.state = 6;\n this.stateInTagName(c);\n }\n }\n stateBeforeSpecialT(c) {\n const lower = c | 32;\n if (lower === Sequences.TitleEnd[3]) {\n this.startSpecial(Sequences.TitleEnd, 4);\n } else if (lower === Sequences.TextareaEnd[3]) {\n this.startSpecial(Sequences.TextareaEnd, 4);\n } else {\n this.state = 6;\n this.stateInTagName(c);\n }\n }\n startEntity() {\n }\n stateInEntity() {\n }\n /**\n * Iterates through the buffer, calling the function corresponding to the current state.\n *\n * States that are more likely to be hit are higher up, as a performance improvement.\n */\n parse(input) {\n this.buffer = input;\n while (this.index < this.buffer.length) {\n const c = this.buffer.charCodeAt(this.index);\n if (c === 10) {\n this.newlines.push(this.index);\n }\n switch (this.state) {\n case 1: {\n this.stateText(c);\n break;\n }\n case 2: {\n this.stateInterpolationOpen(c);\n break;\n }\n case 3: {\n this.stateInterpolation(c);\n break;\n }\n case 4: {\n this.stateInterpolationClose(c);\n break;\n }\n case 31: {\n this.stateSpecialStartSequence(c);\n break;\n }\n case 32: {\n this.stateInRCDATA(c);\n break;\n }\n case 26: {\n this.stateCDATASequence(c);\n break;\n }\n case 19: {\n this.stateInAttrValueDoubleQuotes(c);\n break;\n }\n case 12: {\n this.stateInAttrName(c);\n break;\n }\n case 13: {\n this.stateInDirName(c);\n break;\n }\n case 14: {\n this.stateInDirArg(c);\n break;\n }\n case 15: {\n this.stateInDynamicDirArg(c);\n break;\n }\n case 16: {\n this.stateInDirModifier(c);\n break;\n }\n case 28: {\n this.stateInCommentLike(c);\n break;\n }\n case 27: {\n this.stateInSpecialComment(c);\n break;\n }\n case 11: {\n this.stateBeforeAttrName(c);\n break;\n }\n case 6: {\n this.stateInTagName(c);\n break;\n }\n case 34: {\n this.stateInSFCRootTagName(c);\n break;\n }\n case 9: {\n this.stateInClosingTagName(c);\n break;\n }\n case 5: {\n this.stateBeforeTagName(c);\n break;\n }\n case 17: {\n this.stateAfterAttrName(c);\n break;\n }\n case 20: {\n this.stateInAttrValueSingleQuotes(c);\n break;\n }\n case 18: {\n this.stateBeforeAttrValue(c);\n break;\n }\n case 8: {\n this.stateBeforeClosingTagName(c);\n break;\n }\n case 10: {\n this.stateAfterClosingTagName(c);\n break;\n }\n case 29: {\n this.stateBeforeSpecialS(c);\n break;\n }\n case 30: {\n this.stateBeforeSpecialT(c);\n break;\n }\n case 21: {\n this.stateInAttrValueNoQuotes(c);\n break;\n }\n case 7: {\n this.stateInSelfClosingTag(c);\n break;\n }\n case 23: {\n this.stateInDeclaration(c);\n break;\n }\n case 22: {\n this.stateBeforeDeclaration(c);\n break;\n }\n case 25: {\n this.stateBeforeComment(c);\n break;\n }\n case 24: {\n this.stateInProcessingInstruction(c);\n break;\n }\n case 33: {\n this.stateInEntity();\n break;\n }\n }\n this.index++;\n }\n this.cleanup();\n this.finish();\n }\n /**\n * Remove data that has already been consumed from the buffer.\n */\n cleanup() {\n if (this.sectionStart !== this.index) {\n if (this.state === 1 || this.state === 32 && this.sequenceIndex === 0) {\n this.cbs.ontext(this.sectionStart, this.index);\n this.sectionStart = this.index;\n } else if (this.state === 19 || this.state === 20 || this.state === 21) {\n this.cbs.onattribdata(this.sectionStart, this.index);\n this.sectionStart = this.index;\n }\n }\n }\n finish() {\n this.handleTrailingData();\n this.cbs.onend();\n }\n /** Handle any trailing data. */\n handleTrailingData() {\n const endIndex = this.buffer.length;\n if (this.sectionStart >= endIndex) {\n return;\n }\n if (this.state === 28) {\n if (this.currentSequence === Sequences.CdataEnd) {\n this.cbs.oncdata(this.sectionStart, endIndex);\n } else {\n this.cbs.oncomment(this.sectionStart, endIndex);\n }\n } else if (this.state === 6 || this.state === 11 || this.state === 18 || this.state === 17 || this.state === 12 || this.state === 13 || this.state === 14 || this.state === 15 || this.state === 16 || this.state === 20 || this.state === 19 || this.state === 21 || this.state === 9) ; else {\n this.cbs.ontext(this.sectionStart, endIndex);\n }\n }\n emitCodePoint(cp, consumed) {\n }\n}\n\nconst CompilerDeprecationTypes = {\n \"COMPILER_IS_ON_ELEMENT\": \"COMPILER_IS_ON_ELEMENT\",\n \"COMPILER_V_BIND_SYNC\": \"COMPILER_V_BIND_SYNC\",\n \"COMPILER_V_BIND_OBJECT_ORDER\": \"COMPILER_V_BIND_OBJECT_ORDER\",\n \"COMPILER_V_ON_NATIVE\": \"COMPILER_V_ON_NATIVE\",\n \"COMPILER_V_IF_V_FOR_PRECEDENCE\": \"COMPILER_V_IF_V_FOR_PRECEDENCE\",\n \"COMPILER_NATIVE_TEMPLATE\": \"COMPILER_NATIVE_TEMPLATE\",\n \"COMPILER_INLINE_TEMPLATE\": \"COMPILER_INLINE_TEMPLATE\",\n \"COMPILER_FILTERS\": \"COMPILER_FILTERS\"\n};\nconst deprecationData = {\n [\"COMPILER_IS_ON_ELEMENT\"]: {\n message: `Platform-native elements with \"is\" prop will no longer be treated as components in Vue 3 unless the \"is\" value is explicitly prefixed with \"vue:\".`,\n link: `https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`\n },\n [\"COMPILER_V_BIND_SYNC\"]: {\n message: (key) => `.sync modifier for v-bind has been removed. Use v-model with argument instead. \\`v-bind:${key}.sync\\` should be changed to \\`v-model:${key}\\`.`,\n link: `https://v3-migration.vuejs.org/breaking-changes/v-model.html`\n },\n [\"COMPILER_V_BIND_OBJECT_ORDER\"]: {\n message: `v-bind=\"obj\" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.`,\n link: `https://v3-migration.vuejs.org/breaking-changes/v-bind.html`\n },\n [\"COMPILER_V_ON_NATIVE\"]: {\n message: `.native modifier for v-on has been removed as is no longer necessary.`,\n link: `https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`\n },\n [\"COMPILER_V_IF_V_FOR_PRECEDENCE\"]: {\n message: `v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.`,\n link: `https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`\n },\n [\"COMPILER_NATIVE_TEMPLATE\"]: {\n message: `<template> with no special directives will render as a native template element instead of its inner content in Vue 3.`\n },\n [\"COMPILER_INLINE_TEMPLATE\"]: {\n message: `\"inline-template\" has been removed in Vue 3.`,\n link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`\n },\n [\"COMPILER_FILTERS\"]: {\n message: `filters have been removed in Vue 3. The \"|\" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,\n link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`\n }\n};\nfunction getCompatValue(key, { compatConfig }) {\n const value = compatConfig && compatConfig[key];\n if (key === \"MODE\") {\n return value || 3;\n } else {\n return value;\n }\n}\nfunction isCompatEnabled(key, context) {\n const mode = getCompatValue(\"MODE\", context);\n const value = getCompatValue(key, context);\n return mode === 3 ? value === true : value !== false;\n}\nfunction checkCompatEnabled(key, context, loc, ...args) {\n const enabled = isCompatEnabled(key, context);\n if (!!(process.env.NODE_ENV !== \"production\") && enabled) {\n warnDeprecation(key, context, loc, ...args);\n }\n return enabled;\n}\nfunction warnDeprecation(key, context, loc, ...args) {\n const val = getCompatValue(key, context);\n if (val === \"suppress-warning\") {\n return;\n }\n const { message, link } = deprecationData[key];\n const msg = `(deprecation ${key}) ${typeof message === \"function\" ? message(...args) : message}${link ? `\n Details: ${link}` : ``}`;\n const err = new SyntaxError(msg);\n err.code = key;\n if (loc)\n err.loc = loc;\n context.onWarn(err);\n}\n\nfunction defaultOnError(error) {\n throw error;\n}\nfunction defaultOnWarn(msg) {\n !!(process.env.NODE_ENV !== \"production\") && console.warn(`[Vue warn] ${msg.message}`);\n}\nfunction createCompilerError(code, loc, messages, additionalMessage) {\n const msg = !!(process.env.NODE_ENV !== \"production\") || false ? (messages || errorMessages)[code] + (additionalMessage || ``) : `https://vuejs.org/error-reference/#compiler-${code}`;\n const error = new SyntaxError(String(msg));\n error.code = code;\n error.loc = loc;\n return error;\n}\nconst ErrorCodes = {\n \"ABRUPT_CLOSING_OF_EMPTY_COMMENT\": 0,\n \"0\": \"ABRUPT_CLOSING_OF_EMPTY_COMMENT\",\n \"CDATA_IN_HTML_CONTENT\": 1,\n \"1\": \"CDATA_IN_HTML_CONTENT\",\n \"DUPLICATE_ATTRIBUTE\": 2,\n \"2\": \"DUPLICATE_ATTRIBUTE\",\n \"END_TAG_WITH_ATTRIBUTES\": 3,\n \"3\": \"END_TAG_WITH_ATTRIBUTES\",\n \"END_TAG_WITH_TRAILING_SOLIDUS\": 4,\n \"4\": \"END_TAG_WITH_TRAILING_SOLIDUS\",\n \"EOF_BEFORE_TAG_NAME\": 5,\n \"5\": \"EOF_BEFORE_TAG_NAME\",\n \"EOF_IN_CDATA\": 6,\n \"6\": \"EOF_IN_CDATA\",\n \"EOF_IN_COMMENT\": 7,\n \"7\": \"EOF_IN_COMMENT\",\n \"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT\": 8,\n \"8\": \"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT\",\n \"EOF_IN_TAG\": 9,\n \"9\": \"EOF_IN_TAG\",\n \"INCORRECTLY_CLOSED_COMMENT\": 10,\n \"10\": \"INCORRECTLY_CLOSED_COMMENT\",\n \"INCORRECTLY_OPENED_COMMENT\": 11,\n \"11\": \"INCORRECTLY_OPENED_COMMENT\",\n \"INVALID_FIRST_CHARACTER_OF_TAG_NAME\": 12,\n \"12\": \"INVALID_FIRST_CHARACTER_OF_TAG_NAME\",\n \"MISSING_ATTRIBUTE_VALUE\": 13,\n \"13\": \"MISSING_ATTRIBUTE_VALUE\",\n \"MISSING_END_TAG_NAME\": 14,\n \"14\": \"MISSING_END_TAG_NAME\",\n \"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES\": 15,\n \"15\": \"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES\",\n \"NESTED_COMMENT\": 16,\n \"16\": \"NESTED_COMMENT\",\n \"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME\": 17,\n \"17\": \"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME\",\n \"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE\": 18,\n \"18\": \"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE\",\n \"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME\": 19,\n \"19\": \"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME\",\n \"UNEXPECTED_NULL_CHARACTER\": 20,\n \"20\": \"UNEXPECTED_NULL_CHARACTER\",\n \"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME\": 21,\n \"21\": \"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME\",\n \"UNEXPECTED_SOLIDUS_IN_TAG\": 22,\n \"22\": \"UNEXPECTED_SOLIDUS_IN_TAG\",\n \"X_INVALID_END_TAG\": 23,\n \"23\": \"X_INVALID_END_TAG\",\n \"X_MISSING_END_TAG\": 24,\n \"24\": \"X_MISSING_END_TAG\",\n \"X_MISSING_INTERPOLATION_END\": 25,\n \"25\": \"X_MISSING_INTERPOLATION_END\",\n \"X_MISSING_DIRECTIVE_NAME\": 26,\n \"26\": \"X_MISSING_DIRECTIVE_NAME\",\n \"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END\": 27,\n \"27\": \"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END\",\n \"X_V_IF_NO_EXPRESSION\": 28,\n \"28\": \"X_V_IF_NO_EXPRESSION\",\n \"X_V_IF_SAME_KEY\": 29,\n \"29\": \"X_V_IF_SAME_KEY\",\n \"X_V_ELSE_NO_ADJACENT_IF\": 30,\n \"30\": \"X_V_ELSE_NO_ADJACENT_IF\",\n \"X_V_FOR_NO_EXPRESSION\": 31,\n \"31\": \"X_V_FOR_NO_EXPRESSION\",\n \"X_V_FOR_MALFORMED_EXPRESSION\": 32,\n \"32\": \"X_V_FOR_MALFORMED_EXPRESSION\",\n \"X_V_FOR_TEMPLATE_KEY_PLACEMENT\": 33,\n \"33\": \"X_V_FOR_TEMPLATE_KEY_PLACEMENT\",\n \"X_V_BIND_NO_EXPRESSION\": 34,\n \"34\": \"X_V_BIND_NO_EXPRESSION\",\n \"X_V_ON_NO_EXPRESSION\": 35,\n \"35\": \"X_V_ON_NO_EXPRESSION\",\n \"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET\": 36,\n \"36\": \"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET\",\n \"X_V_SLOT_MIXED_SLOT_USAGE\": 37,\n \"37\": \"X_V_SLOT_MIXED_SLOT_USAGE\",\n \"X_V_SLOT_DUPLICATE_SLOT_NAMES\": 38,\n \"38\": \"X_V_SLOT_DUPLICATE_SLOT_NAMES\",\n \"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN\": 39,\n \"39\": \"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN\",\n \"X_V_SLOT_MISPLACED\": 40,\n \"40\": \"X_V_SLOT_MISPLACED\",\n \"X_V_MODEL_NO_EXPRESSION\": 41,\n \"41\": \"X_V_MODEL_NO_EXPRESSION\",\n \"X_V_MODEL_MALFORMED_EXPRESSION\": 42,\n \"42\": \"X_V_MODEL_MALFORMED_EXPRESSION\",\n \"X_V_MODEL_ON_SCOPE_VARIABLE\": 43,\n \"43\": \"X_V_MODEL_ON_SCOPE_VARIABLE\",\n \"X_V_MODEL_ON_PROPS\": 44,\n \"44\": \"X_V_MODEL_ON_PROPS\",\n \"X_INVALID_EXPRESSION\": 45,\n \"45\": \"X_INVALID_EXPRESSION\",\n \"X_KEEP_ALIVE_INVALID_CHILDREN\": 46,\n \"46\": \"X_KEEP_ALIVE_INVALID_CHILDREN\",\n \"X_PREFIX_ID_NOT_SUPPORTED\": 47,\n \"47\": \"X_PREFIX_ID_NOT_SUPPORTED\",\n \"X_MODULE_MODE_NOT_SUPPORTED\": 48,\n \"48\": \"X_MODULE_MODE_NOT_SUPPORTED\",\n \"X_CACHE_HANDLER_NOT_SUPPORTED\": 49,\n \"49\": \"X_CACHE_HANDLER_NOT_SUPPORTED\",\n \"X_SCOPE_ID_NOT_SUPPORTED\": 50,\n \"50\": \"X_SCOPE_ID_NOT_SUPPORTED\",\n \"X_VNODE_HOOKS\": 51,\n \"51\": \"X_VNODE_HOOKS\",\n \"__EXTEND_POINT__\": 52,\n \"52\": \"__EXTEND_POINT__\"\n};\nconst errorMessages = {\n // parse errors\n [0]: \"Illegal comment.\",\n [1]: \"CDATA section is allowed only in XML context.\",\n [2]: \"Duplicate attribute.\",\n [3]: \"End tag cannot have attributes.\",\n [4]: \"Illegal '/' in tags.\",\n [5]: \"Unexpected EOF in tag.\",\n [6]: \"Unexpected EOF in CDATA section.\",\n [7]: \"Unexpected EOF in comment.\",\n [8]: \"Unexpected EOF in script.\",\n [9]: \"Unexpected EOF in tag.\",\n [10]: \"Incorrectly closed comment.\",\n [11]: \"Incorrectly opened comment.\",\n [12]: \"Illegal tag name. Use '<' to print '<'.\",\n [13]: \"Attribute value was expected.\",\n [14]: \"End tag name was expected.\",\n [15]: \"Whitespace was expected.\",\n [16]: \"Unexpected '<!--' in comment.\",\n [17]: `Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).`,\n [18]: \"Unquoted attribute value cannot contain U+0022 (\\\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).\",\n [19]: \"Attribute name cannot start with '='.\",\n [21]: \"'<?' is allowed only in XML context.\",\n [20]: `Unexpected null character.`,\n [22]: \"Illegal '/' in tags.\",\n // Vue-specific parse errors\n [23]: \"Invalid end tag.\",\n [24]: \"Element is missing end tag.\",\n [25]: \"Interpolation end sign was not found.\",\n [27]: \"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.\",\n [26]: \"Legal directive name was expected.\",\n // transform errors\n [28]: `v-if/v-else-if is missing expression.`,\n [29]: `v-if/else branches must use unique keys.`,\n [30]: `v-else/v-else-if has no adjacent v-if or v-else-if.`,\n [31]: `v-for is missing expression.`,\n [32]: `v-for has invalid expression.`,\n [33]: `<template v-for> key should be placed on the <template> tag.`,\n [34]: `v-bind is missing expression.`,\n [35]: `v-on is missing expression.`,\n [36]: `Unexpected custom directive on <slot> outlet.`,\n [37]: `Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,\n [38]: `Duplicate slot names found. `,\n [39]: `Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,\n [40]: `v-slot can only be used on components or <template> tags.`,\n [41]: `v-model is missing expression.`,\n [42]: `v-model value must be a valid JavaScript member expression.`,\n [43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,\n [44]: `v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.`,\n [45]: `Error parsing JavaScript expression: `,\n [46]: `<KeepAlive> expects exactly one child component.`,\n [51]: `@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,\n // generic errors\n [47]: `\"prefixIdentifiers\" option is not supported in this build of compiler.`,\n [48]: `ES module mode is not supported in this build of compiler.`,\n [49]: `\"cacheHandlers\" option is only supported when the \"prefixIdentifiers\" option is enabled.`,\n [50]: `\"scopeId\" option is only supported in module mode.`,\n // just to fulfill types\n [52]: ``\n};\n\nfunction walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = /* @__PURE__ */ Object.create(null)) {\n {\n return;\n }\n}\nfunction isReferencedIdentifier(id, parent, parentStack) {\n {\n return false;\n }\n}\nfunction isInDestructureAssignment(parent, parentStack) {\n if (parent && (parent.type === \"ObjectProperty\" || parent.type === \"ArrayPattern\")) {\n let i = parentStack.length;\n while (i--) {\n const p = parentStack[i];\n if (p.type === \"AssignmentExpression\") {\n return true;\n } else if (p.type !== \"ObjectProperty\" && !p.type.endsWith(\"Pattern\")) {\n break;\n }\n }\n }\n return false;\n}\nfunction isInNewExpression(parentStack) {\n let i = parentStack.length;\n while (i--) {\n const p = parentStack[i];\n if (p.type === \"NewExpression\") {\n return true;\n } else if (p.type !== \"MemberExpression\") {\n break;\n }\n }\n return false;\n}\nfunction walkFunctionParams(node, onIdent) {\n for (const p of node.params) {\n for (const id of extractIdentifiers(p)) {\n onIdent(id);\n }\n }\n}\nfunction walkBlockDeclarations(block, onIdent) {\n for (const stmt of block.body) {\n if (stmt.type === \"VariableDeclaration\") {\n if (stmt.declare)\n continue;\n for (const decl of stmt.declarations) {\n for (const id of extractIdentifiers(decl.id)) {\n onIdent(id);\n }\n }\n } else if (stmt.type === \"FunctionDeclaration\" || stmt.type === \"ClassDeclaration\") {\n if (stmt.declare || !stmt.id)\n continue;\n onIdent(stmt.id);\n } else if (stmt.type === \"ForOfStatement\" || stmt.type === \"ForInStatement\" || stmt.type === \"ForStatement\") {\n const variable = stmt.type === \"ForStatement\" ? stmt.init : stmt.left;\n if (variable && variable.type === \"VariableDeclaration\") {\n for (const decl of variable.declarations) {\n for (const id of extractIdentifiers(decl.id)) {\n onIdent(id);\n }\n }\n }\n }\n }\n}\nfunction extractIdentifiers(param, nodes = []) {\n switch (param.type) {\n case \"Identifier\":\n nodes.push(param);\n break;\n case \"MemberExpression\":\n let object = param;\n while (object.type === \"MemberExpression\") {\n object = object.object;\n }\n nodes.push(object);\n break;\n case \"ObjectPattern\":\n for (const prop of param.properties) {\n if (prop.type === \"RestElement\") {\n extractIdentifiers(prop.argument, nodes);\n } else {\n extractIdentifiers(prop.value, nodes);\n }\n }\n break;\n case \"ArrayPattern\":\n param.elements.forEach((element) => {\n if (element)\n extractIdentifiers(element, nodes);\n });\n break;\n case \"RestElement\":\n extractIdentifiers(param.argument, nodes);\n break;\n case \"AssignmentPattern\":\n extractIdentifiers(param.left, nodes);\n break;\n }\n return nodes;\n}\nconst isFunctionType = (node) => {\n return /Function(?:Expression|Declaration)$|Method$/.test(node.type);\n};\nconst isStaticProperty = (node) => node && (node.type === \"ObjectProperty\" || node.type === \"ObjectMethod\") && !node.computed;\nconst isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;\nconst TS_NODE_TYPES = [\n \"TSAsExpression\",\n // foo as number\n \"TSTypeAssertion\",\n // (<number>foo)\n \"TSNonNullExpression\",\n // foo!\n \"TSInstantiationExpression\",\n // foo<string>\n \"TSSatisfiesExpression\"\n // foo satisfies T\n];\nfunction unwrapTSNode(node) {\n if (TS_NODE_TYPES.includes(node.type)) {\n return unwrapTSNode(node.expression);\n } else {\n return node;\n }\n}\n\nconst isStaticExp = (p) => p.type === 4 && p.isStatic;\nfunction isCoreComponent(tag) {\n switch (tag) {\n case \"Teleport\":\n case \"teleport\":\n return TELEPORT;\n case \"Suspense\":\n case \"suspense\":\n return SUSPENSE;\n case \"KeepAlive\":\n case \"keep-alive\":\n return KEEP_ALIVE;\n case \"BaseTransition\":\n case \"base-transition\":\n return BASE_TRANSITION;\n }\n}\nconst nonIdentifierRE = /^\\d|[^\\$\\w]/;\nconst isSimpleIdentifier = (name) => !nonIdentifierRE.test(name);\nconst validFirstIdentCharRE = /[A-Za-z_$\\xA0-\\uFFFF]/;\nconst validIdentCharRE = /[\\.\\?\\w$\\xA0-\\uFFFF]/;\nconst whitespaceRE = /\\s+[.[]\\s*|\\s*[.[]\\s+/g;\nconst isMemberExpressionBrowser = (path) => {\n path = path.trim().replace(whitespaceRE, (s) => s.trim());\n let state = 0 /* inMemberExp */;\n let stateStack = [];\n let currentOpenBracketCount = 0;\n let currentOpenParensCount = 0;\n let currentStringType = null;\n for (let i = 0; i < path.length; i++) {\n const char = path.charAt(i);\n switch (state) {\n case 0 /* inMemberExp */:\n if (char === \"[\") {\n stateStack.push(state);\n state = 1 /* inBrackets */;\n currentOpenBracketCount++;\n } else if (char === \"(\") {\n stateStack.push(state);\n state = 2 /* inParens */;\n currentOpenParensCount++;\n } else if (!(i === 0 ? validFirstIdentCharRE : validIdentCharRE).test(char)) {\n return false;\n }\n break;\n case 1 /* inBrackets */:\n if (char === `'` || char === `\"` || char === \"`\") {\n stateStack.push(state);\n state = 3 /* inString */;\n currentStringType = char;\n } else if (char === `[`) {\n currentOpenBracketCount++;\n } else if (char === `]`) {\n if (!--currentOpenBracketCount) {\n state = stateStack.pop();\n }\n }\n break;\n case 2 /* inParens */:\n if (char === `'` || char === `\"` || char === \"`\") {\n stateStack.push(state);\n state = 3 /* inString */;\n currentStringType = char;\n } else if (char === `(`) {\n currentOpenParensCount++;\n } else if (char === `)`) {\n if (i === path.length - 1) {\n return false;\n }\n if (!--currentOpenParensCount) {\n state = stateStack.pop();\n }\n }\n break;\n case 3 /* inString */:\n if (char === currentStringType) {\n state = stateStack.pop();\n currentStringType = null;\n }\n break;\n }\n }\n return !currentOpenBracketCount && !currentOpenParensCount;\n};\nconst isMemberExpressionNode = NOOP ;\nconst isMemberExpression = isMemberExpressionBrowser ;\nfunction advancePositionWithClone(pos, source, numberOfCharacters = source.length) {\n return advancePositionWithMutation(\n {\n offset: pos.offset,\n line: pos.line,\n column: pos.column\n },\n source,\n numberOfCharacters\n );\n}\nfunction advancePositionWithMutation(pos, source, numberOfCharacters = source.length) {\n let linesCount = 0;\n let lastNewLinePos = -1;\n for (let i = 0; i < numberOfCharacters; i++) {\n if (source.charCodeAt(i) === 10) {\n linesCount++;\n lastNewLinePos = i;\n }\n }\n pos.offset += numberOfCharacters;\n pos.line += linesCount;\n pos.column = lastNewLinePos === -1 ? pos.column + numberOfCharacters : numberOfCharacters - lastNewLinePos;\n return pos;\n}\nfunction assert(condition, msg) {\n if (!condition) {\n throw new Error(msg || `unexpected compiler condition`);\n }\n}\nfunction findDir(node, name, allowEmpty = false) {\n for (let i = 0; i < node.props.length; i++) {\n const p = node.props[i];\n if (p.type === 7 && (allowEmpty || p.exp) && (isString(name) ? p.name === name : name.test(p.name))) {\n return p;\n }\n }\n}\nfunction findProp(node, name, dynamicOnly = false, allowEmpty = false) {\n for (let i = 0; i < node.props.length; i++) {\n const p = node.props[i];\n if (p.type === 6) {\n if (dynamicOnly)\n continue;\n if (p.name === name && (p.value || allowEmpty)) {\n return p;\n }\n } else if (p.name === \"bind\" && (p.exp || allowEmpty) && isStaticArgOf(p.arg, name)) {\n return p;\n }\n }\n}\nfunction isStaticArgOf(arg, name) {\n return !!(arg && isStaticExp(arg) && arg.content === name);\n}\nfunction hasDynamicKeyVBind(node) {\n return node.props.some(\n (p) => p.type === 7 && p.name === \"bind\" && (!p.arg || // v-bind=\"obj\"\n p.arg.type !== 4 || // v-bind:[_ctx.foo]\n !p.arg.isStatic)\n // v-bind:[foo]\n );\n}\nfunction isText$1(node) {\n return node.type === 5 || node.type === 2;\n}\nfunction isVSlot(p) {\n return p.type === 7 && p.name === \"slot\";\n}\nfunction isTemplateNode(node) {\n return node.type === 1 && node.tagType === 3;\n}\nfunction isSlotOutlet(node) {\n return node.type === 1 && node.tagType === 2;\n}\nconst propsHelperSet = /* @__PURE__ */ new Set([NORMALIZE_PROPS, GUARD_REACTIVE_PROPS]);\nfunction getUnnormalizedProps(props, callPath = []) {\n if (props && !isString(props) && props.type === 14) {\n const callee = props.callee;\n if (!isString(callee) && propsHelperSet.has(callee)) {\n return getUnnormalizedProps(\n props.arguments[0],\n callPath.concat(props)\n );\n }\n }\n return [props, callPath];\n}\nfunction injectProp(node, prop, context) {\n let propsWithInjection;\n let props = node.type === 13 ? node.props : node.arguments[2];\n let callPath = [];\n let parentCall;\n if (props && !isString(props) && props.type === 14) {\n const ret = getUnnormalizedProps(props);\n props = ret[0];\n callPath = ret[1];\n parentCall = callPath[callPath.length - 1];\n }\n if (props == null || isString(props)) {\n propsWithInjection = createObjectExpression([prop]);\n } else if (props.type === 14) {\n const first = props.arguments[0];\n if (!isString(first) && first.type === 15) {\n if (!hasProp(prop, first)) {\n first.properties.unshift(prop);\n }\n } else {\n if (props.callee === TO_HANDLERS) {\n propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [\n createObjectExpression([prop]),\n props\n ]);\n } else {\n props.arguments.unshift(createObjectExpression([prop]));\n }\n }\n !propsWithInjection && (propsWithInjection = props);\n } else if (props.type === 15) {\n if (!hasProp(prop, props)) {\n props.properties.unshift(prop);\n }\n propsWithInjection = props;\n } else {\n propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [\n createObjectExpression([prop]),\n props\n ]);\n if (parentCall && parentCall.callee === GUARD_REACTIVE_PROPS) {\n parentCall = callPath[callPath.length - 2];\n }\n }\n if (node.type === 13) {\n if (parentCall) {\n parentCall.arguments[0] = propsWithInjection;\n } else {\n node.props = propsWithInjection;\n }\n } else {\n if (parentCall) {\n parentCall.arguments[0] = propsWithInjection;\n } else {\n node.arguments[2] = propsWithInjection;\n }\n }\n}\nfunction hasProp(prop, props) {\n let result = false;\n if (prop.key.type === 4) {\n const propKeyName = prop.key.content;\n result = props.properties.some(\n (p) => p.key.type === 4 && p.key.content === propKeyName\n );\n }\n return result;\n}\nfunction toValidAssetId(name, type) {\n return `_${type}_${name.replace(/[^\\w]/g, (searchValue, replaceValue) => {\n return searchValue === \"-\" ? \"_\" : name.charCodeAt(replaceValue).toString();\n })}`;\n}\nfunction hasScopeRef(node, ids) {\n if (!node || Object.keys(ids).length === 0) {\n return false;\n }\n switch (node.type) {\n case 1:\n for (let i = 0; i < node.props.length; i++) {\n const p = node.props[i];\n if (p.type === 7 && (hasScopeRef(p.arg, ids) || hasScopeRef(p.exp, ids))) {\n return true;\n }\n }\n return node.children.some((c) => hasScopeRef(c, ids));\n case 11:\n if (hasScopeRef(node.source, ids)) {\n return true;\n }\n return node.children.some((c) => hasScopeRef(c, ids));\n case 9:\n return node.branches.some((b) => hasScopeRef(b, ids));\n case 10:\n if (hasScopeRef(node.condition, ids)) {\n return true;\n }\n return node.children.some((c) => hasScopeRef(c, ids));\n case 4:\n return !node.isStatic && isSimpleIdentifier(node.content) && !!ids[node.content];\n case 8:\n return node.children.some((c) => isObject(c) && hasScopeRef(c, ids));\n case 5:\n case 12:\n return hasScopeRef(node.content, ids);\n case 2:\n case 3:\n return false;\n default:\n if (!!(process.env.NODE_ENV !== \"production\")) ;\n return false;\n }\n}\nfunction getMemoedVNodeCall(node) {\n if (node.type === 14 && node.callee === WITH_MEMO) {\n return node.arguments[1].returns;\n } else {\n return node;\n }\n}\nconst forAliasRE = /([\\s\\S]*?)\\s+(?:in|of)\\s+([\\s\\S]*)/;\n\nconst defaultParserOptions = {\n parseMode: \"base\",\n ns: 0,\n delimiters: [`{{`, `}}`],\n getNamespace: () => 0,\n isVoidTag: NO,\n isPreTag: NO,\n isCustomElement: NO,\n onError: defaultOnError,\n onWarn: defaultOnWarn,\n comments: !!(process.env.NODE_ENV !== \"production\"),\n prefixIdentifiers: false\n};\nlet currentOptions = defaultParserOptions;\nlet currentRoot = null;\nlet currentInput = \"\";\nlet currentOpenTag = null;\nlet currentProp = null;\nlet currentAttrValue = \"\";\nlet currentAttrStartIndex = -1;\nlet currentAttrEndIndex = -1;\nlet inPre = 0;\nlet inVPre = false;\nlet currentVPreBoundary = null;\nconst stack = [];\nconst tokenizer = new Tokenizer(stack, {\n onerr: emitError,\n ontext(start, end) {\n onText(getSlice(start, end), start, end);\n },\n ontextentity(char, start, end) {\n onText(char, start, end);\n },\n oninterpolation(start, end) {\n if (inVPre) {\n return onText(getSlice(start, end), start, end);\n }\n let innerStart = start + tokenizer.delimiterOpen.length;\n let innerEnd = end - tokenizer.delimiterClose.length;\n while (isWhitespace(currentInput.charCodeAt(innerStart))) {\n innerStart++;\n }\n while (isWhitespace(currentInput.charCodeAt(innerEnd - 1))) {\n innerEnd--;\n }\n let exp = getSlice(innerStart, innerEnd);\n if (exp.includes(\"&\")) {\n {\n exp = currentOptions.decodeEntities(exp, false);\n }\n }\n addNode({\n type: 5,\n content: createExp(exp, false, getLoc(innerStart, innerEnd)),\n loc: getLoc(start, end)\n });\n },\n onopentagname(start, end) {\n const name = getSlice(start, end);\n currentOpenTag = {\n type: 1,\n tag: name,\n ns: currentOptions.getNamespace(name, stack[0], currentOptions.ns),\n tagType: 0,\n // will be refined on tag close\n props: [],\n children: [],\n loc: getLoc(start - 1, end),\n codegenNode: void 0\n };\n },\n onopentagend(end) {\n endOpenTag(end);\n },\n onclosetag(start, end) {\n const name = getSlice(start, end);\n if (!currentOptions.isVoidTag(name)) {\n let found = false;\n for (let i = 0; i < stack.length; i++) {\n const e = stack[i];\n if (e.tag.toLowerCase() === name.toLowerCase()) {\n found = true;\n if (i > 0) {\n emitError(24, stack[0].loc.start.offset);\n }\n for (let j = 0; j <= i; j++) {\n const el = stack.shift();\n onCloseTag(el, end, j < i);\n }\n break;\n }\n }\n if (!found) {\n emitError(23, backTrack(start, 60));\n }\n }\n },\n onselfclosingtag(end) {\n var _a;\n const name = currentOpenTag.tag;\n currentOpenTag.isSelfClosing = true;\n endOpenTag(end);\n if (((_a = stack[0]) == null ? void 0 : _a.tag) === name) {\n onCloseTag(stack.shift(), end);\n }\n },\n onattribname(start, end) {\n currentProp = {\n type: 6,\n name: getSlice(start, end),\n nameLoc: getLoc(start, end),\n value: void 0,\n loc: getLoc(start)\n };\n },\n ondirname(start, end) {\n const raw = getSlice(start, end);\n const name = raw === \".\" || raw === \":\" ? \"bind\" : raw === \"@\" ? \"on\" : raw === \"#\" ? \"slot\" : raw.slice(2);\n if (!inVPre && name === \"\") {\n emitError(26, start);\n }\n if (inVPre || name === \"\") {\n currentProp = {\n type: 6,\n name: raw,\n nameLoc: getLoc(start, end),\n value: void 0,\n loc: getLoc(start)\n };\n } else {\n currentProp = {\n type: 7,\n name,\n rawName: raw,\n exp: void 0,\n arg: void 0,\n modifiers: raw === \".\" ? [\"prop\"] : [],\n loc: getLoc(start)\n };\n if (name === \"pre\") {\n inVPre = tokenizer.inVPre = true;\n currentVPreBoundary = currentOpenTag;\n const props = currentOpenTag.props;\n for (let i = 0; i < props.length; i++) {\n if (props[i].type === 7) {\n props[i] = dirToAttr(props[i]);\n }\n }\n }\n }\n },\n ondirarg(start, end) {\n if (start === end)\n return;\n const arg = getSlice(start, end);\n if (inVPre) {\n currentProp.name += arg;\n setLocEnd(currentProp.nameLoc, end);\n } else {\n const isStatic = arg[0] !== `[`;\n currentProp.arg = createExp(\n isStatic ? arg : arg.slice(1, -1),\n isStatic,\n getLoc(start, end),\n isStatic ? 3 : 0\n );\n }\n },\n ondirmodifier(start, end) {\n const mod = getSlice(start, end);\n if (inVPre) {\n currentProp.name += \".\" + mod;\n setLocEnd(currentProp.nameLoc, end);\n } else if (currentProp.name === \"slot\") {\n const arg = currentProp.arg;\n if (arg) {\n arg.content += \".\" + mod;\n setLocEnd(arg.loc, end);\n }\n } else {\n currentProp.modifiers.push(mod);\n }\n },\n onattribdata(start, end) {\n currentAttrValue += getSlice(start, end);\n if (currentAttrStartIndex < 0)\n currentAttrStartIndex = start;\n currentAttrEndIndex = end;\n },\n onattribentity(char, start, end) {\n currentAttrValue += char;\n if (currentAttrStartIndex < 0)\n currentAttrStartIndex = start;\n currentAttrEndIndex = end;\n },\n onattribnameend(end) {\n const start = currentProp.loc.start.offset;\n const name = getSlice(start, end);\n if (currentProp.type === 7) {\n currentProp.rawName = name;\n }\n if (currentOpenTag.props.some(\n (p) => (p.type === 7 ? p.rawName : p.name) === name\n )) {\n emitError(2, start);\n }\n },\n onattribend(quote, end) {\n if (currentOpenTag && currentProp) {\n setLocEnd(currentProp.loc, end);\n if (quote !== 0) {\n if (currentAttrValue.includes(\"&\")) {\n currentAttrValue = currentOptions.decodeEntities(\n currentAttrValue,\n true\n );\n }\n if (currentProp.type === 6) {\n if (currentProp.name === \"class\") {\n currentAttrValue = condense(currentAttrValue).trim();\n }\n if (quote === 1 && !currentAttrValue) {\n emitError(13, end);\n }\n currentProp.value = {\n type: 2,\n content: currentAttrValue,\n loc: quote === 1 ? getLoc(currentAttrStartIndex, currentAttrEndIndex) : getLoc(currentAttrStartIndex - 1, currentAttrEndIndex + 1)\n };\n if (tokenizer.inSFCRoot && currentOpenTag.tag === \"template\" && currentProp.name === \"lang\" && currentAttrValue && currentAttrValue !== \"html\") {\n tokenizer.enterRCDATA(toCharCodes(`</template`), 0);\n }\n } else {\n let expParseMode = 0 /* Normal */;\n currentProp.exp = createExp(\n currentAttrValue,\n false,\n getLoc(currentAttrStartIndex, currentAttrEndIndex),\n 0,\n expParseMode\n );\n if (currentProp.name === \"for\") {\n currentProp.forParseResult = parseForExpression(currentProp.exp);\n }\n let syncIndex = -1;\n if (currentProp.name === \"bind\" && (syncIndex = currentProp.modifiers.indexOf(\"sync\")) > -1 && checkCompatEnabled(\n \"COMPILER_V_BIND_SYNC\",\n currentOptions,\n currentProp.loc,\n currentProp.rawName\n )) {\n currentProp.name = \"model\";\n currentProp.modifiers.splice(syncIndex, 1);\n }\n }\n }\n if (currentProp.type !== 7 || currentProp.name !== \"pre\") {\n currentOpenTag.props.push(currentProp);\n }\n }\n currentAttrValue = \"\";\n currentAttrStartIndex = currentAttrEndIndex = -1;\n },\n oncomment(start, end) {\n if (currentOptions.comments) {\n addNode({\n type: 3,\n content: getSlice(start, end),\n loc: getLoc(start - 4, end + 3)\n });\n }\n },\n onend() {\n const end = currentInput.length;\n if ((!!(process.env.NODE_ENV !== \"production\") || false) && tokenizer.state !== 1) {\n switch (tokenizer.state) {\n case 5:\n case 8:\n emitError(5, end);\n break;\n case 3:\n case 4:\n emitError(\n 25,\n tokenizer.sectionStart\n );\n break;\n case 28:\n if (tokenizer.currentSequence === Sequences.CdataEnd) {\n emitError(6, end);\n } else {\n emitError(7, end);\n }\n break;\n case 6:\n case 7:\n case 9:\n case 11:\n case 12:\n case 13:\n case 14:\n case 15:\n case 16:\n case 17:\n case 18:\n case 19:\n case 20:\n case 21:\n emitError(9, end);\n break;\n }\n }\n for (let index = 0; index < stack.length; index++) {\n onCloseTag(stack[index], end - 1);\n emitError(24, stack[index].loc.start.offset);\n }\n },\n oncdata(start, end) {\n if (stack[0].ns !== 0) {\n onText(getSlice(start, end), start, end);\n } else {\n emitError(1, start - 9);\n }\n },\n onprocessinginstruction(start) {\n if ((stack[0] ? stack[0].ns : currentOptions.ns) === 0) {\n emitError(\n 21,\n start - 1\n );\n }\n }\n});\nconst forIteratorRE = /,([^,\\}\\]]*)(?:,([^,\\}\\]]*))?$/;\nconst stripParensRE = /^\\(|\\)$/g;\nfunction parseForExpression(input) {\n const loc = input.loc;\n const exp = input.content;\n const inMatch = exp.match(forAliasRE);\n if (!inMatch)\n return;\n const [, LHS, RHS] = inMatch;\n const createAliasExpression = (content, offset, asParam = false) => {\n const start = loc.start.offset + offset;\n const end = start + content.length;\n return createExp(\n content,\n false,\n getLoc(start, end),\n 0,\n asParam ? 1 /* Params */ : 0 /* Normal */\n );\n };\n const result = {\n source: createAliasExpression(RHS.trim(), exp.indexOf(RHS, LHS.length)),\n value: void 0,\n key: void 0,\n index: void 0,\n finalized: false\n };\n let valueContent = LHS.trim().replace(stripParensRE, \"\").trim();\n const trimmedOffset = LHS.indexOf(valueContent);\n const iteratorMatch = valueContent.match(forIteratorRE);\n if (iteratorMatch) {\n valueContent = valueContent.replace(forIteratorRE, \"\").trim();\n const keyContent = iteratorMatch[1].trim();\n let keyOffset;\n if (keyContent) {\n keyOffset = exp.indexOf(keyContent, trimmedOffset + valueContent.length);\n result.key = createAliasExpression(keyContent, keyOffset, true);\n }\n if (iteratorMatch[2]) {\n const indexContent = iteratorMatch[2].trim();\n if (indexContent) {\n result.index = createAliasExpression(\n indexContent,\n exp.indexOf(\n indexContent,\n result.key ? keyOffset + keyContent.length : trimmedOffset + valueContent.length\n ),\n true\n );\n }\n }\n }\n if (valueContent) {\n result.value = createAliasExpression(valueContent, trimmedOffset, true);\n }\n return result;\n}\nfunction getSlice(start, end) {\n return currentInput.slice(start, end);\n}\nfunction endOpenTag(end) {\n if (tokenizer.inSFCRoot) {\n currentOpenTag.innerLoc = getLoc(end + 1, end + 1);\n }\n addNode(currentOpenTag);\n const { tag, ns } = currentOpenTag;\n if (ns === 0 && currentOptions.isPreTag(tag)) {\n inPre++;\n }\n if (currentOptions.isVoidTag(tag)) {\n onCloseTag(currentOpenTag, end);\n } else {\n stack.unshift(currentOpenTag);\n if (ns === 1 || ns === 2) {\n tokenizer.inXML = true;\n }\n }\n currentOpenTag = null;\n}\nfunction onText(content, start, end) {\n var _a;\n {\n const tag = (_a = stack[0]) == null ? void 0 : _a.tag;\n if (tag !== \"script\" && tag !== \"style\" && content.includes(\"&\")) {\n content = currentOptions.decodeEntities(content, false);\n }\n }\n const parent = stack[0] || currentRoot;\n const lastNode = parent.children[parent.children.length - 1];\n if ((lastNode == null ? void 0 : lastNode.type) === 2) {\n lastNode.content += content;\n setLocEnd(lastNode.loc, end);\n } else {\n parent.children.push({\n type: 2,\n content,\n loc: getLoc(start, end)\n });\n }\n}\nfunction onCloseTag(el, end, isImplied = false) {\n if (isImplied) {\n setLocEnd(el.loc, backTrack(end, 60));\n } else {\n setLocEnd(el.loc, end + 1);\n }\n if (tokenizer.inSFCRoot) {\n if (el.children.length) {\n el.innerLoc.end = extend({}, el.children[el.children.length - 1].loc.end);\n } else {\n el.innerLoc.end = extend({}, el.innerLoc.start);\n }\n el.innerLoc.source = getSlice(\n el.innerLoc.start.offset,\n el.innerLoc.end.offset\n );\n }\n const { tag, ns } = el;\n if (!inVPre) {\n if (tag === \"slot\") {\n el.tagType = 2;\n } else if (isFragmentTemplate(el)) {\n el.tagType = 3;\n } else if (isComponent(el)) {\n el.tagType = 1;\n }\n }\n if (!tokenizer.inRCDATA) {\n el.children = condenseWhitespace(el.children, el.tag);\n }\n if (ns === 0 && currentOptions.isPreTag(tag)) {\n inPre--;\n }\n if (currentVPreBoundary === el) {\n inVPre = tokenizer.inVPre = false;\n currentVPreBoundary = null;\n }\n if (tokenizer.inXML && (stack[0] ? stack[0].ns : currentOptions.ns) === 0) {\n tokenizer.inXML = false;\n }\n {\n const props = el.props;\n if (!!(process.env.NODE_ENV !== \"production\") && isCompatEnabled(\n \"COMPILER_V_IF_V_FOR_PRECEDENCE\",\n currentOptions\n )) {\n let hasIf = false;\n let hasFor = false;\n for (let i = 0; i < props.length; i++) {\n const p = props[i];\n if (p.type === 7) {\n if (p.name === \"if\") {\n hasIf = true;\n } else if (p.name === \"for\") {\n hasFor = true;\n }\n }\n if (hasIf && hasFor) {\n warnDeprecation(\n \"COMPILER_V_IF_V_FOR_PRECEDENCE\",\n currentOptions,\n el.loc\n );\n break;\n }\n }\n }\n if (!tokenizer.inSFCRoot && isCompatEnabled(\n \"COMPILER_NATIVE_TEMPLATE\",\n currentOptions\n ) && el.tag === \"template\" && !isFragmentTemplate(el)) {\n !!(process.env.NODE_ENV !== \"production\") && warnDeprecation(\n \"COMPILER_NATIVE_TEMPLATE\",\n currentOptions,\n el.loc\n );\n const parent = stack[0] || currentRoot;\n const index = parent.children.indexOf(el);\n parent.children.splice(index, 1, ...el.children);\n }\n const inlineTemplateProp = props.find(\n (p) => p.type === 6 && p.name === \"inline-template\"\n );\n if (inlineTemplateProp && checkCompatEnabled(\n \"COMPILER_INLINE_TEMPLATE\",\n currentOptions,\n inlineTemplateProp.loc\n ) && el.children.length) {\n inlineTemplateProp.value = {\n type: 2,\n content: getSlice(\n el.children[0].loc.start.offset,\n el.children[el.children.length - 1].loc.end.offset\n ),\n loc: inlineTemplateProp.loc\n };\n }\n }\n}\nfunction backTrack(index, c) {\n let i = index;\n while (currentInput.charCodeAt(i) !== c && i >= 0)\n i--;\n return i;\n}\nconst specialTemplateDir = /* @__PURE__ */ new Set([\"if\", \"else\", \"else-if\", \"for\", \"slot\"]);\nfunction isFragmentTemplate({ tag, props }) {\n if (tag === \"template\") {\n for (let i = 0; i < props.length; i++) {\n if (props[i].type === 7 && specialTemplateDir.has(props[i].name)) {\n return true;\n }\n }\n }\n return false;\n}\nfunction isComponent({ tag, props }) {\n var _a;\n if (currentOptions.isCustomElement(tag)) {\n return false;\n }\n if (tag === \"component\" || isUpperCase(tag.charCodeAt(0)) || isCoreComponent(tag) || ((_a = currentOptions.isBuiltInComponent) == null ? void 0 : _a.call(currentOptions, tag)) || currentOptions.isNativeTag && !currentOptions.isNativeTag(tag)) {\n return true;\n }\n for (let i = 0; i < props.length; i++) {\n const p = props[i];\n if (p.type === 6) {\n if (p.name === \"is\" && p.value) {\n if (p.value.content.startsWith(\"vue:\")) {\n return true;\n } else if (checkCompatEnabled(\n \"COMPILER_IS_ON_ELEMENT\",\n currentOptions,\n p.loc\n )) {\n return true;\n }\n }\n } else if (// :is on plain element - only treat as component in compat mode\n p.name === \"bind\" && isStaticArgOf(p.arg, \"is\") && checkCompatEnabled(\n \"COMPILER_IS_ON_ELEMENT\",\n currentOptions,\n p.loc\n )) {\n return true;\n }\n }\n return false;\n}\nfunction isUpperCase(c) {\n return c > 64 && c < 91;\n}\nconst windowsNewlineRE = /\\r\\n/g;\nfunction condenseWhitespace(nodes, tag) {\n var _a, _b;\n const shouldCondense = currentOptions.whitespace !== \"preserve\";\n let removedWhitespace = false;\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (node.type === 2) {\n if (!inPre) {\n if (isAllWhitespace(node.content)) {\n const prev = (_a = nodes[i - 1]) == null ? void 0 : _a.type;\n const next = (_b = nodes[i + 1]) == null ? void 0 : _b.type;\n if (!prev || !next || shouldCondense && (prev === 3 && (next === 3 || next === 1) || prev === 1 && (next === 3 || next === 1 && hasNewlineChar(node.content)))) {\n removedWhitespace = true;\n nodes[i] = null;\n } else {\n node.content = \" \";\n }\n } else if (shouldCondense) {\n node.content = condense(node.content);\n }\n } else {\n node.content = node.content.replace(windowsNewlineRE, \"\\n\");\n }\n }\n }\n if (inPre && tag && currentOptions.isPreTag(tag)) {\n const first = nodes[0];\n if (first && first.type === 2) {\n first.content = first.content.replace(/^\\r?\\n/, \"\");\n }\n }\n return removedWhitespace ? nodes.filter(Boolean) : nodes;\n}\nfunction isAllWhitespace(str) {\n for (let i = 0; i < str.length; i++) {\n if (!isWhitespace(str.charCodeAt(i))) {\n return false;\n }\n }\n return true;\n}\nfunction hasNewlineChar(str) {\n for (let i = 0; i < str.length; i++) {\n const c = str.charCodeAt(i);\n if (c === 10 || c === 13) {\n return true;\n }\n }\n return false;\n}\nfunction condense(str) {\n let ret = \"\";\n let prevCharIsWhitespace = false;\n for (let i = 0; i < str.length; i++) {\n if (isWhitespace(str.charCodeAt(i))) {\n if (!prevCharIsWhitespace) {\n ret += \" \";\n prevCharIsWhitespace = true;\n }\n } else {\n ret += str[i];\n prevCharIsWhitespace = false;\n }\n }\n return ret;\n}\nfunction addNode(node) {\n (stack[0] || currentRoot).children.push(node);\n}\nfunction getLoc(start, end) {\n return {\n start: tokenizer.getPos(start),\n // @ts-expect-error allow late attachment\n end: end == null ? end : tokenizer.getPos(end),\n // @ts-expect-error allow late attachment\n source: end == null ? end : getSlice(start, end)\n };\n}\nfunction setLocEnd(loc, end) {\n loc.end = tokenizer.getPos(end);\n loc.source = getSlice(loc.start.offset, end);\n}\nfunction dirToAttr(dir) {\n const attr = {\n type: 6,\n name: dir.rawName,\n nameLoc: getLoc(\n dir.loc.start.offset,\n dir.loc.start.offset + dir.rawName.length\n ),\n value: void 0,\n loc: dir.loc\n };\n if (dir.exp) {\n const loc = dir.exp.loc;\n if (loc.end.offset < dir.loc.end.offset) {\n loc.start.offset--;\n loc.start.column--;\n loc.end.offset++;\n loc.end.column++;\n }\n attr.value = {\n type: 2,\n content: dir.exp.content,\n loc\n };\n }\n return attr;\n}\nfunction createExp(content, isStatic = false, loc, constType = 0, parseMode = 0 /* Normal */) {\n const exp = createSimpleExpression(content, isStatic, loc, constType);\n return exp;\n}\nfunction emitError(code, index, message) {\n currentOptions.onError(\n createCompilerError(code, getLoc(index, index), void 0, message)\n );\n}\nfunction reset() {\n tokenizer.reset();\n currentOpenTag = null;\n currentProp = null;\n currentAttrValue = \"\";\n currentAttrStartIndex = -1;\n currentAttrEndIndex = -1;\n stack.length = 0;\n}\nfunction baseParse(input, options) {\n reset();\n currentInput = input;\n currentOptions = extend({}, defaultParserOptions);\n if (options) {\n let key;\n for (key in options) {\n if (options[key] != null) {\n currentOptions[key] = options[key];\n }\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!currentOptions.decodeEntities) {\n throw new Error(\n `[@vue/compiler-core] decodeEntities option is required in browser builds.`\n );\n }\n }\n tokenizer.mode = currentOptions.parseMode === \"html\" ? 1 : currentOptions.parseMode === \"sfc\" ? 2 : 0;\n tokenizer.inXML = currentOptions.ns === 1 || currentOptions.ns === 2;\n const delimiters = options == null ? void 0 : options.delimiters;\n if (delimiters) {\n tokenizer.delimiterOpen = toCharCodes(delimiters[0]);\n tokenizer.delimiterClose = toCharCodes(delimiters[1]);\n }\n const root = currentRoot = createRoot([], input);\n tokenizer.parse(currentInput);\n root.loc = getLoc(0, input.length);\n root.children = condenseWhitespace(root.children);\n currentRoot = null;\n return root;\n}\n\nfunction hoistStatic(root, context) {\n walk(\n root,\n context,\n // Root node is unfortunately non-hoistable due to potential parent\n // fallthrough attributes.\n isSingleElementRoot(root, root.children[0])\n );\n}\nfunction isSingleElementRoot(root, child) {\n const { children } = root;\n return children.length === 1 && child.type === 1 && !isSlotOutlet(child);\n}\nfunction walk(node, context, doNotHoistNode = false) {\n const { children } = node;\n const originalCount = children.length;\n let hoistedCount = 0;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (child.type === 1 && child.tagType === 0) {\n const constantType = doNotHoistNode ? 0 : getConstantType(child, context);\n if (constantType > 0) {\n if (constantType >= 2) {\n child.codegenNode.patchFlag = -1 + (!!(process.env.NODE_ENV !== \"production\") ? ` /* HOISTED */` : ``);\n child.codegenNode = context.hoist(child.codegenNode);\n hoistedCount++;\n continue;\n }\n } else {\n const codegenNode = child.codegenNode;\n if (codegenNode.type === 13) {\n const flag = getPatchFlag(codegenNode);\n if ((!flag || flag === 512 || flag === 1) && getGeneratedPropsConstantType(child, context) >= 2) {\n const props = getNodeProps(child);\n if (props) {\n codegenNode.props = context.hoist(props);\n }\n }\n if (codegenNode.dynamicProps) {\n codegenNode.dynamicProps = context.hoist(codegenNode.dynamicProps);\n }\n }\n }\n }\n if (child.type === 1) {\n const isComponent = child.tagType === 1;\n if (isComponent) {\n context.scopes.vSlot++;\n }\n walk(child, context);\n if (isComponent) {\n context.scopes.vSlot--;\n }\n } else if (child.type === 11) {\n walk(child, context, child.children.length === 1);\n } else if (child.type === 9) {\n for (let i2 = 0; i2 < child.branches.length; i2++) {\n walk(\n child.branches[i2],\n context,\n child.branches[i2].children.length === 1\n );\n }\n }\n }\n if (hoistedCount && context.transformHoist) {\n context.transformHoist(children, context, node);\n }\n if (hoistedCount && hoistedCount === originalCount && node.type === 1 && node.tagType === 0 && node.codegenNode && node.codegenNode.type === 13 && isArray(node.codegenNode.children)) {\n const hoisted = context.hoist(\n createArrayExpression(node.codegenNode.children)\n );\n if (context.hmr) {\n hoisted.content = `[...${hoisted.content}]`;\n }\n node.codegenNode.children = hoisted;\n }\n}\nfunction getConstantType(node, context) {\n const { constantCache } = context;\n switch (node.type) {\n case 1:\n if (node.tagType !== 0) {\n return 0;\n }\n const cached = constantCache.get(node);\n if (cached !== void 0) {\n return cached;\n }\n const codegenNode = node.codegenNode;\n if (codegenNode.type !== 13) {\n return 0;\n }\n if (codegenNode.isBlock && node.tag !== \"svg\" && node.tag !== \"foreignObject\") {\n return 0;\n }\n const flag = getPatchFlag(codegenNode);\n if (!flag) {\n let returnType2 = 3;\n const generatedPropsType = getGeneratedPropsConstantType(node, context);\n if (generatedPropsType === 0) {\n constantCache.set(node, 0);\n return 0;\n }\n if (generatedPropsType < returnType2) {\n returnType2 = generatedPropsType;\n }\n for (let i = 0; i < node.children.length; i++) {\n const childType = getConstantType(node.children[i], context);\n if (childType === 0) {\n constantCache.set(node, 0);\n return 0;\n }\n if (childType < returnType2) {\n returnType2 = childType;\n }\n }\n if (returnType2 > 1) {\n for (let i = 0; i < node.props.length; i++) {\n const p = node.props[i];\n if (p.type === 7 && p.name === \"bind\" && p.exp) {\n const expType = getConstantType(p.exp, context);\n if (expType === 0) {\n constantCache.set(node, 0);\n return 0;\n }\n if (expType < returnType2) {\n returnType2 = expType;\n }\n }\n }\n }\n if (codegenNode.isBlock) {\n for (let i = 0; i < node.props.length; i++) {\n const p = node.props[i];\n if (p.type === 7) {\n constantCache.set(node, 0);\n return 0;\n }\n }\n context.removeHelper(OPEN_BLOCK);\n context.removeHelper(\n getVNodeBlockHelper(context.inSSR, codegenNode.isComponent)\n );\n codegenNode.isBlock = false;\n context.helper(getVNodeHelper(context.inSSR, codegenNode.isComponent));\n }\n constantCache.set(node, returnType2);\n return returnType2;\n } else {\n constantCache.set(node, 0);\n return 0;\n }\n case 2:\n case 3:\n return 3;\n case 9:\n case 11:\n case 10:\n return 0;\n case 5:\n case 12:\n return getConstantType(node.content, context);\n case 4:\n return node.constType;\n case 8:\n let returnType = 3;\n for (let i = 0; i < node.children.length; i++) {\n const child = node.children[i];\n if (isString(child) || isSymbol(child)) {\n continue;\n }\n const childType = getConstantType(child, context);\n if (childType === 0) {\n return 0;\n } else if (childType < returnType) {\n returnType = childType;\n }\n }\n return returnType;\n default:\n if (!!(process.env.NODE_ENV !== \"production\")) ;\n return 0;\n }\n}\nconst allowHoistedHelperSet = /* @__PURE__ */ new Set([\n NORMALIZE_CLASS,\n NORMALIZE_STYLE,\n NORMALIZE_PROPS,\n GUARD_REACTIVE_PROPS\n]);\nfunction getConstantTypeOfHelperCall(value, context) {\n if (value.type === 14 && !isString(value.callee) && allowHoistedHelperSet.has(value.callee)) {\n const arg = value.arguments[0];\n if (arg.type === 4) {\n return getConstantType(arg, context);\n } else if (arg.type === 14) {\n return getConstantTypeOfHelperCall(arg, context);\n }\n }\n return 0;\n}\nfunction getGeneratedPropsConstantType(node, context) {\n let returnType = 3;\n const props = getNodeProps(node);\n if (props && props.type === 15) {\n const { properties } = props;\n for (let i = 0; i < properties.length; i++) {\n const { key, value } = properties[i];\n const keyType = getConstantType(key, context);\n if (keyType === 0) {\n return keyType;\n }\n if (keyType < returnType) {\n returnType = keyType;\n }\n let valueType;\n if (value.type === 4) {\n valueType = getConstantType(value, context);\n } else if (value.type === 14) {\n valueType = getConstantTypeOfHelperCall(value, context);\n } else {\n valueType = 0;\n }\n if (valueType === 0) {\n return valueType;\n }\n if (valueType < returnType) {\n returnType = valueType;\n }\n }\n }\n return returnType;\n}\nfunction getNodeProps(node) {\n const codegenNode = node.codegenNode;\n if (codegenNode.type === 13) {\n return codegenNode.props;\n }\n}\nfunction getPatchFlag(node) {\n const flag = node.patchFlag;\n return flag ? parseInt(flag, 10) : void 0;\n}\n\nfunction createTransformContext(root, {\n filename = \"\",\n prefixIdentifiers = false,\n hoistStatic: hoistStatic2 = false,\n hmr = false,\n cacheHandlers = false,\n nodeTransforms = [],\n directiveTransforms = {},\n transformHoist = null,\n isBuiltInComponent = NOOP,\n isCustomElement = NOOP,\n expressionPlugins = [],\n scopeId = null,\n slotted = true,\n ssr = false,\n inSSR = false,\n ssrCssVars = ``,\n bindingMetadata = EMPTY_OBJ,\n inline = false,\n isTS = false,\n onError = defaultOnError,\n onWarn = defaultOnWarn,\n compatConfig\n}) {\n const nameMatch = filename.replace(/\\?.*$/, \"\").match(/([^/\\\\]+)\\.\\w+$/);\n const context = {\n // options\n filename,\n selfName: nameMatch && capitalize(camelize(nameMatch[1])),\n prefixIdentifiers,\n hoistStatic: hoistStatic2,\n hmr,\n cacheHandlers,\n nodeTransforms,\n directiveTransforms,\n transformHoist,\n isBuiltInComponent,\n isCustomElement,\n expressionPlugins,\n scopeId,\n slotted,\n ssr,\n inSSR,\n ssrCssVars,\n bindingMetadata,\n inline,\n isTS,\n onError,\n onWarn,\n compatConfig,\n // state\n root,\n helpers: /* @__PURE__ */ new Map(),\n components: /* @__PURE__ */ new Set(),\n directives: /* @__PURE__ */ new Set(),\n hoists: [],\n imports: [],\n constantCache: /* @__PURE__ */ new WeakMap(),\n temps: 0,\n cached: 0,\n identifiers: /* @__PURE__ */ Object.create(null),\n scopes: {\n vFor: 0,\n vSlot: 0,\n vPre: 0,\n vOnce: 0\n },\n parent: null,\n currentNode: root,\n childIndex: 0,\n inVOnce: false,\n // methods\n helper(name) {\n const count = context.helpers.get(name) || 0;\n context.helpers.set(name, count + 1);\n return name;\n },\n removeHelper(name) {\n const count = context.helpers.get(name);\n if (count) {\n const currentCount = count - 1;\n if (!currentCount) {\n context.helpers.delete(name);\n } else {\n context.helpers.set(name, currentCount);\n }\n }\n },\n helperString(name) {\n return `_${helperNameMap[context.helper(name)]}`;\n },\n replaceNode(node) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!context.currentNode) {\n throw new Error(`Node being replaced is already removed.`);\n }\n if (!context.parent) {\n throw new Error(`Cannot replace root node.`);\n }\n }\n context.parent.children[context.childIndex] = context.currentNode = node;\n },\n removeNode(node) {\n if (!!(process.env.NODE_ENV !== \"production\") && !context.parent) {\n throw new Error(`Cannot remove root node.`);\n }\n const list = context.parent.children;\n const removalIndex = node ? list.indexOf(node) : context.currentNode ? context.childIndex : -1;\n if (!!(process.env.NODE_ENV !== \"production\") && removalIndex < 0) {\n throw new Error(`node being removed is not a child of current parent`);\n }\n if (!node || node === context.currentNode) {\n context.currentNode = null;\n context.onNodeRemoved();\n } else {\n if (context.childIndex > removalIndex) {\n context.childIndex--;\n context.onNodeRemoved();\n }\n }\n context.parent.children.splice(removalIndex, 1);\n },\n onNodeRemoved: NOOP,\n addIdentifiers(exp) {\n },\n removeIdentifiers(exp) {\n },\n hoist(exp) {\n if (isString(exp))\n exp = createSimpleExpression(exp);\n context.hoists.push(exp);\n const identifier = createSimpleExpression(\n `_hoisted_${context.hoists.length}`,\n false,\n exp.loc,\n 2\n );\n identifier.hoisted = exp;\n return identifier;\n },\n cache(exp, isVNode = false) {\n return createCacheExpression(context.cached++, exp, isVNode);\n }\n };\n {\n context.filters = /* @__PURE__ */ new Set();\n }\n return context;\n}\nfunction transform(root, options) {\n const context = createTransformContext(root, options);\n traverseNode(root, context);\n if (options.hoistStatic) {\n hoistStatic(root, context);\n }\n if (!options.ssr) {\n createRootCodegen(root, context);\n }\n root.helpers = /* @__PURE__ */ new Set([...context.helpers.keys()]);\n root.components = [...context.components];\n root.directives = [...context.directives];\n root.imports = context.imports;\n root.hoists = context.hoists;\n root.temps = context.temps;\n root.cached = context.cached;\n root.transformed = true;\n {\n root.filters = [...context.filters];\n }\n}\nfunction createRootCodegen(root, context) {\n const { helper } = context;\n const { children } = root;\n if (children.length === 1) {\n const child = children[0];\n if (isSingleElementRoot(root, child) && child.codegenNode) {\n const codegenNode = child.codegenNode;\n if (codegenNode.type === 13) {\n convertToBlock(codegenNode, context);\n }\n root.codegenNode = codegenNode;\n } else {\n root.codegenNode = child;\n }\n } else if (children.length > 1) {\n let patchFlag = 64;\n let patchFlagText = PatchFlagNames[64];\n if (!!(process.env.NODE_ENV !== \"production\") && children.filter((c) => c.type !== 3).length === 1) {\n patchFlag |= 2048;\n patchFlagText += `, ${PatchFlagNames[2048]}`;\n }\n root.codegenNode = createVNodeCall(\n context,\n helper(FRAGMENT),\n void 0,\n root.children,\n patchFlag + (!!(process.env.NODE_ENV !== \"production\") ? ` /* ${patchFlagText} */` : ``),\n void 0,\n void 0,\n true,\n void 0,\n false\n );\n } else ;\n}\nfunction traverseChildren(parent, context) {\n let i = 0;\n const nodeRemoved = () => {\n i--;\n };\n for (; i < parent.children.length; i++) {\n const child = parent.children[i];\n if (isString(child))\n continue;\n context.parent = parent;\n context.childIndex = i;\n context.onNodeRemoved = nodeRemoved;\n traverseNode(child, context);\n }\n}\nfunction traverseNode(node, context) {\n context.currentNode = node;\n const { nodeTransforms } = context;\n const exitFns = [];\n for (let i2 = 0; i2 < nodeTransforms.length; i2++) {\n const onExit = nodeTransforms[i2](node, context);\n if (onExit) {\n if (isArray(onExit)) {\n exitFns.push(...onExit);\n } else {\n exitFns.push(onExit);\n }\n }\n if (!context.currentNode) {\n return;\n } else {\n node = context.currentNode;\n }\n }\n switch (node.type) {\n case 3:\n if (!context.ssr) {\n context.helper(CREATE_COMMENT);\n }\n break;\n case 5:\n if (!context.ssr) {\n context.helper(TO_DISPLAY_STRING);\n }\n break;\n case 9:\n for (let i2 = 0; i2 < node.branches.length; i2++) {\n traverseNode(node.branches[i2], context);\n }\n break;\n case 10:\n case 11:\n case 1:\n case 0:\n traverseChildren(node, context);\n break;\n }\n context.currentNode = node;\n let i = exitFns.length;\n while (i--) {\n exitFns[i]();\n }\n}\nfunction createStructuralDirectiveTransform(name, fn) {\n const matches = isString(name) ? (n) => n === name : (n) => name.test(n);\n return (node, context) => {\n if (node.type === 1) {\n const { props } = node;\n if (node.tagType === 3 && props.some(isVSlot)) {\n return;\n }\n const exitFns = [];\n for (let i = 0; i < props.length; i++) {\n const prop = props[i];\n if (prop.type === 7 && matches(prop.name)) {\n props.splice(i, 1);\n i--;\n const onExit = fn(node, prop, context);\n if (onExit)\n exitFns.push(onExit);\n }\n }\n return exitFns;\n }\n };\n}\n\nconst PURE_ANNOTATION = `/*#__PURE__*/`;\nconst aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;\nfunction createCodegenContext(ast, {\n mode = \"function\",\n prefixIdentifiers = mode === \"module\",\n sourceMap = false,\n filename = `template.vue.html`,\n scopeId = null,\n optimizeImports = false,\n runtimeGlobalName = `Vue`,\n runtimeModuleName = `vue`,\n ssrRuntimeModuleName = \"vue/server-renderer\",\n ssr = false,\n isTS = false,\n inSSR = false\n}) {\n const context = {\n mode,\n prefixIdentifiers,\n sourceMap,\n filename,\n scopeId,\n optimizeImports,\n runtimeGlobalName,\n runtimeModuleName,\n ssrRuntimeModuleName,\n ssr,\n isTS,\n inSSR,\n source: ast.source,\n code: ``,\n column: 1,\n line: 1,\n offset: 0,\n indentLevel: 0,\n pure: false,\n map: void 0,\n helper(key) {\n return `_${helperNameMap[key]}`;\n },\n push(code, newlineIndex = -2 /* None */, node) {\n context.code += code;\n },\n indent() {\n newline(++context.indentLevel);\n },\n deindent(withoutNewLine = false) {\n if (withoutNewLine) {\n --context.indentLevel;\n } else {\n newline(--context.indentLevel);\n }\n },\n newline() {\n newline(context.indentLevel);\n }\n };\n function newline(n) {\n context.push(\"\\n\" + ` `.repeat(n), 0 /* Start */);\n }\n return context;\n}\nfunction generate(ast, options = {}) {\n const context = createCodegenContext(ast, options);\n if (options.onContextCreated)\n options.onContextCreated(context);\n const {\n mode,\n push,\n prefixIdentifiers,\n indent,\n deindent,\n newline,\n scopeId,\n ssr\n } = context;\n const helpers = Array.from(ast.helpers);\n const hasHelpers = helpers.length > 0;\n const useWithBlock = !prefixIdentifiers && mode !== \"module\";\n const isSetupInlined = false;\n const preambleContext = isSetupInlined ? createCodegenContext(ast, options) : context;\n {\n genFunctionPreamble(ast, preambleContext);\n }\n const functionName = ssr ? `ssrRender` : `render`;\n const args = ssr ? [\"_ctx\", \"_push\", \"_parent\", \"_attrs\"] : [\"_ctx\", \"_cache\"];\n const signature = args.join(\", \");\n {\n push(`function ${functionName}(${signature}) {`);\n }\n indent();\n if (useWithBlock) {\n push(`with (_ctx) {`);\n indent();\n if (hasHelpers) {\n push(\n `const { ${helpers.map(aliasHelper).join(\", \")} } = _Vue\n`,\n -1 /* End */\n );\n newline();\n }\n }\n if (ast.components.length) {\n genAssets(ast.components, \"component\", context);\n if (ast.directives.length || ast.temps > 0) {\n newline();\n }\n }\n if (ast.directives.length) {\n genAssets(ast.directives, \"directive\", context);\n if (ast.temps > 0) {\n newline();\n }\n }\n if (ast.filters && ast.filters.length) {\n newline();\n genAssets(ast.filters, \"filter\", context);\n newline();\n }\n if (ast.temps > 0) {\n push(`let `);\n for (let i = 0; i < ast.temps; i++) {\n push(`${i > 0 ? `, ` : ``}_temp${i}`);\n }\n }\n if (ast.components.length || ast.directives.length || ast.temps) {\n push(`\n`, 0 /* Start */);\n newline();\n }\n if (!ssr) {\n push(`return `);\n }\n if (ast.codegenNode) {\n genNode(ast.codegenNode, context);\n } else {\n push(`null`);\n }\n if (useWithBlock) {\n deindent();\n push(`}`);\n }\n deindent();\n push(`}`);\n return {\n ast,\n code: context.code,\n preamble: isSetupInlined ? preambleContext.code : ``,\n map: context.map ? context.map.toJSON() : void 0\n };\n}\nfunction genFunctionPreamble(ast, context) {\n const {\n ssr,\n prefixIdentifiers,\n push,\n newline,\n runtimeModuleName,\n runtimeGlobalName,\n ssrRuntimeModuleName\n } = context;\n const VueBinding = runtimeGlobalName;\n const helpers = Array.from(ast.helpers);\n if (helpers.length > 0) {\n {\n push(`const _Vue = ${VueBinding}\n`, -1 /* End */);\n if (ast.hoists.length) {\n const staticHelpers = [\n CREATE_VNODE,\n CREATE_ELEMENT_VNODE,\n CREATE_COMMENT,\n CREATE_TEXT,\n CREATE_STATIC\n ].filter((helper) => helpers.includes(helper)).map(aliasHelper).join(\", \");\n push(`const { ${staticHelpers} } = _Vue\n`, -1 /* End */);\n }\n }\n }\n genHoists(ast.hoists, context);\n newline();\n push(`return `);\n}\nfunction genAssets(assets, type, { helper, push, newline, isTS }) {\n const resolver = helper(\n type === \"filter\" ? RESOLVE_FILTER : type === \"component\" ? RESOLVE_COMPONENT : RESOLVE_DIRECTIVE\n );\n for (let i = 0; i < assets.length; i++) {\n let id = assets[i];\n const maybeSelfReference = id.endsWith(\"__self\");\n if (maybeSelfReference) {\n id = id.slice(0, -6);\n }\n push(\n `const ${toValidAssetId(id, type)} = ${resolver}(${JSON.stringify(id)}${maybeSelfReference ? `, true` : ``})${isTS ? `!` : ``}`\n );\n if (i < assets.length - 1) {\n newline();\n }\n }\n}\nfunction genHoists(hoists, context) {\n if (!hoists.length) {\n return;\n }\n context.pure = true;\n const { push, newline, helper, scopeId, mode } = context;\n newline();\n for (let i = 0; i < hoists.length; i++) {\n const exp = hoists[i];\n if (exp) {\n push(\n `const _hoisted_${i + 1} = ${``}`\n );\n genNode(exp, context);\n newline();\n }\n }\n context.pure = false;\n}\nfunction isText(n) {\n return isString(n) || n.type === 4 || n.type === 2 || n.type === 5 || n.type === 8;\n}\nfunction genNodeListAsArray(nodes, context) {\n const multilines = nodes.length > 3 || !!(process.env.NODE_ENV !== \"production\") && nodes.some((n) => isArray(n) || !isText(n));\n context.push(`[`);\n multilines && context.indent();\n genNodeList(nodes, context, multilines);\n multilines && context.deindent();\n context.push(`]`);\n}\nfunction genNodeList(nodes, context, multilines = false, comma = true) {\n const { push, newline } = context;\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (isString(node)) {\n push(node, -3 /* Unknown */);\n } else if (isArray(node)) {\n genNodeListAsArray(node, context);\n } else {\n genNode(node, context);\n }\n if (i < nodes.length - 1) {\n if (multilines) {\n comma && push(\",\");\n newline();\n } else {\n comma && push(\", \");\n }\n }\n }\n}\nfunction genNode(node, context) {\n if (isString(node)) {\n context.push(node, -3 /* Unknown */);\n return;\n }\n if (isSymbol(node)) {\n context.push(context.helper(node));\n return;\n }\n switch (node.type) {\n case 1:\n case 9:\n case 11:\n !!(process.env.NODE_ENV !== \"production\") && assert(\n node.codegenNode != null,\n `Codegen node is missing for element/if/for node. Apply appropriate transforms first.`\n );\n genNode(node.codegenNode, context);\n break;\n case 2:\n genText(node, context);\n break;\n case 4:\n genExpression(node, context);\n break;\n case 5:\n genInterpolation(node, context);\n break;\n case 12:\n genNode(node.codegenNode, context);\n break;\n case 8:\n genCompoundExpression(node, context);\n break;\n case 3:\n genComment(node, context);\n break;\n case 13:\n genVNodeCall(node, context);\n break;\n case 14:\n genCallExpression(node, context);\n break;\n case 15:\n genObjectExpression(node, context);\n break;\n case 17:\n genArrayExpression(node, context);\n break;\n case 18:\n genFunctionExpression(node, context);\n break;\n case 19:\n genConditionalExpression(node, context);\n break;\n case 20:\n genCacheExpression(node, context);\n break;\n case 21:\n genNodeList(node.body, context, true, false);\n break;\n case 22:\n break;\n case 23:\n break;\n case 24:\n break;\n case 25:\n break;\n case 26:\n break;\n case 10:\n break;\n default:\n if (!!(process.env.NODE_ENV !== \"production\")) {\n assert(false, `unhandled codegen node type: ${node.type}`);\n const exhaustiveCheck = node;\n return exhaustiveCheck;\n }\n }\n}\nfunction genText(node, context) {\n context.push(JSON.stringify(node.content), -3 /* Unknown */, node);\n}\nfunction genExpression(node, context) {\n const { content, isStatic } = node;\n context.push(\n isStatic ? JSON.stringify(content) : content,\n -3 /* Unknown */,\n node\n );\n}\nfunction genInterpolation(node, context) {\n const { push, helper, pure } = context;\n if (pure)\n push(PURE_ANNOTATION);\n push(`${helper(TO_DISPLAY_STRING)}(`);\n genNode(node.content, context);\n push(`)`);\n}\nfunction genCompoundExpression(node, context) {\n for (let i = 0; i < node.children.length; i++) {\n const child = node.children[i];\n if (isString(child)) {\n context.push(child, -3 /* Unknown */);\n } else {\n genNode(child, context);\n }\n }\n}\nfunction genExpressionAsPropertyKey(node, context) {\n const { push } = context;\n if (node.type === 8) {\n push(`[`);\n genCompoundExpression(node, context);\n push(`]`);\n } else if (node.isStatic) {\n const text = isSimpleIdentifier(node.content) ? node.content : JSON.stringify(node.content);\n push(text, -2 /* None */, node);\n } else {\n push(`[${node.content}]`, -3 /* Unknown */, node);\n }\n}\nfunction genComment(node, context) {\n const { push, helper, pure } = context;\n if (pure) {\n push(PURE_ANNOTATION);\n }\n push(\n `${helper(CREATE_COMMENT)}(${JSON.stringify(node.content)})`,\n -3 /* Unknown */,\n node\n );\n}\nfunction genVNodeCall(node, context) {\n const { push, helper, pure } = context;\n const {\n tag,\n props,\n children,\n patchFlag,\n dynamicProps,\n directives,\n isBlock,\n disableTracking,\n isComponent\n } = node;\n if (directives) {\n push(helper(WITH_DIRECTIVES) + `(`);\n }\n if (isBlock) {\n push(`(${helper(OPEN_BLOCK)}(${disableTracking ? `true` : ``}), `);\n }\n if (pure) {\n push(PURE_ANNOTATION);\n }\n const callHelper = isBlock ? getVNodeBlockHelper(context.inSSR, isComponent) : getVNodeHelper(context.inSSR, isComponent);\n push(helper(callHelper) + `(`, -2 /* None */, node);\n genNodeList(\n genNullableArgs([tag, props, children, patchFlag, dynamicProps]),\n context\n );\n push(`)`);\n if (isBlock) {\n push(`)`);\n }\n if (directives) {\n push(`, `);\n genNode(directives, context);\n push(`)`);\n }\n}\nfunction genNullableArgs(args) {\n let i = args.length;\n while (i--) {\n if (args[i] != null)\n break;\n }\n return args.slice(0, i + 1).map((arg) => arg || `null`);\n}\nfunction genCallExpression(node, context) {\n const { push, helper, pure } = context;\n const callee = isString(node.callee) ? node.callee : helper(node.callee);\n if (pure) {\n push(PURE_ANNOTATION);\n }\n push(callee + `(`, -2 /* None */, node);\n genNodeList(node.arguments, context);\n push(`)`);\n}\nfunction genObjectExpression(node, context) {\n const { push, indent, deindent, newline } = context;\n const { properties } = node;\n if (!properties.length) {\n push(`{}`, -2 /* None */, node);\n return;\n }\n const multilines = properties.length > 1 || !!(process.env.NODE_ENV !== \"production\") && properties.some((p) => p.value.type !== 4);\n push(multilines ? `{` : `{ `);\n multilines && indent();\n for (let i = 0; i < properties.length; i++) {\n const { key, value } = properties[i];\n genExpressionAsPropertyKey(key, context);\n push(`: `);\n genNode(value, context);\n if (i < properties.length - 1) {\n push(`,`);\n newline();\n }\n }\n multilines && deindent();\n push(multilines ? `}` : ` }`);\n}\nfunction genArrayExpression(node, context) {\n genNodeListAsArray(node.elements, context);\n}\nfunction genFunctionExpression(node, context) {\n const { push, indent, deindent } = context;\n const { params, returns, body, newline, isSlot } = node;\n if (isSlot) {\n push(`_${helperNameMap[WITH_CTX]}(`);\n }\n push(`(`, -2 /* None */, node);\n if (isArray(params)) {\n genNodeList(params, context);\n } else if (params) {\n genNode(params, context);\n }\n push(`) => `);\n if (newline || body) {\n push(`{`);\n indent();\n }\n if (returns) {\n if (newline) {\n push(`return `);\n }\n if (isArray(returns)) {\n genNodeListAsArray(returns, context);\n } else {\n genNode(returns, context);\n }\n } else if (body) {\n genNode(body, context);\n }\n if (newline || body) {\n deindent();\n push(`}`);\n }\n if (isSlot) {\n if (node.isNonScopedSlot) {\n push(`, undefined, true`);\n }\n push(`)`);\n }\n}\nfunction genConditionalExpression(node, context) {\n const { test, consequent, alternate, newline: needNewline } = node;\n const { push, indent, deindent, newline } = context;\n if (test.type === 4) {\n const needsParens = !isSimpleIdentifier(test.content);\n needsParens && push(`(`);\n genExpression(test, context);\n needsParens && push(`)`);\n } else {\n push(`(`);\n genNode(test, context);\n push(`)`);\n }\n needNewline && indent();\n context.indentLevel++;\n needNewline || push(` `);\n push(`? `);\n genNode(consequent, context);\n context.indentLevel--;\n needNewline && newline();\n needNewline || push(` `);\n push(`: `);\n const isNested = alternate.type === 19;\n if (!isNested) {\n context.indentLevel++;\n }\n genNode(alternate, context);\n if (!isNested) {\n context.indentLevel--;\n }\n needNewline && deindent(\n true\n /* without newline */\n );\n}\nfunction genCacheExpression(node, context) {\n const { push, helper, indent, deindent, newline } = context;\n push(`_cache[${node.index}] || (`);\n if (node.isVNode) {\n indent();\n push(`${helper(SET_BLOCK_TRACKING)}(-1),`);\n newline();\n }\n push(`_cache[${node.index}] = `);\n genNode(node.value, context);\n if (node.isVNode) {\n push(`,`);\n newline();\n push(`${helper(SET_BLOCK_TRACKING)}(1),`);\n newline();\n push(`_cache[${node.index}]`);\n deindent();\n }\n push(`)`);\n}\n\nconst prohibitedKeywordRE = new RegExp(\n \"\\\\b\" + \"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield\".split(\",\").join(\"\\\\b|\\\\b\") + \"\\\\b\"\n);\nconst stripStringRE = /'(?:[^'\\\\]|\\\\.)*'|\"(?:[^\"\\\\]|\\\\.)*\"|`(?:[^`\\\\]|\\\\.)*\\$\\{|\\}(?:[^`\\\\]|\\\\.)*`|`(?:[^`\\\\]|\\\\.)*`/g;\nfunction validateBrowserExpression(node, context, asParams = false, asRawStatements = false) {\n const exp = node.content;\n if (!exp.trim()) {\n return;\n }\n try {\n new Function(\n asRawStatements ? ` ${exp} ` : `return ${asParams ? `(${exp}) => {}` : `(${exp})`}`\n );\n } catch (e) {\n let message = e.message;\n const keywordMatch = exp.replace(stripStringRE, \"\").match(prohibitedKeywordRE);\n if (keywordMatch) {\n message = `avoid using JavaScript keyword as property name: \"${keywordMatch[0]}\"`;\n }\n context.onError(\n createCompilerError(\n 45,\n node.loc,\n void 0,\n message\n )\n );\n }\n}\n\nconst transformExpression = (node, context) => {\n if (node.type === 5) {\n node.content = processExpression(\n node.content,\n context\n );\n } else if (node.type === 1) {\n for (let i = 0; i < node.props.length; i++) {\n const dir = node.props[i];\n if (dir.type === 7 && dir.name !== \"for\") {\n const exp = dir.exp;\n const arg = dir.arg;\n if (exp && exp.type === 4 && !(dir.name === \"on\" && arg)) {\n dir.exp = processExpression(\n exp,\n context,\n // slot args must be processed as function params\n dir.name === \"slot\"\n );\n }\n if (arg && arg.type === 4 && !arg.isStatic) {\n dir.arg = processExpression(arg, context);\n }\n }\n }\n }\n};\nfunction processExpression(node, context, asParams = false, asRawStatements = false, localVars = Object.create(context.identifiers)) {\n {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n validateBrowserExpression(node, context, asParams, asRawStatements);\n }\n return node;\n }\n}\nfunction stringifyExpression(exp) {\n if (isString(exp)) {\n return exp;\n } else if (exp.type === 4) {\n return exp.content;\n } else {\n return exp.children.map(stringifyExpression).join(\"\");\n }\n}\n\nconst transformIf = createStructuralDirectiveTransform(\n /^(if|else|else-if)$/,\n (node, dir, context) => {\n return processIf(node, dir, context, (ifNode, branch, isRoot) => {\n const siblings = context.parent.children;\n let i = siblings.indexOf(ifNode);\n let key = 0;\n while (i-- >= 0) {\n const sibling = siblings[i];\n if (sibling && sibling.type === 9) {\n key += sibling.branches.length;\n }\n }\n return () => {\n if (isRoot) {\n ifNode.codegenNode = createCodegenNodeForBranch(\n branch,\n key,\n context\n );\n } else {\n const parentCondition = getParentCondition(ifNode.codegenNode);\n parentCondition.alternate = createCodegenNodeForBranch(\n branch,\n key + ifNode.branches.length - 1,\n context\n );\n }\n };\n });\n }\n);\nfunction processIf(node, dir, context, processCodegen) {\n if (dir.name !== \"else\" && (!dir.exp || !dir.exp.content.trim())) {\n const loc = dir.exp ? dir.exp.loc : node.loc;\n context.onError(\n createCompilerError(28, dir.loc)\n );\n dir.exp = createSimpleExpression(`true`, false, loc);\n }\n if (!!(process.env.NODE_ENV !== \"production\") && true && dir.exp) {\n validateBrowserExpression(dir.exp, context);\n }\n if (dir.name === \"if\") {\n const branch = createIfBranch(node, dir);\n const ifNode = {\n type: 9,\n loc: node.loc,\n branches: [branch]\n };\n context.replaceNode(ifNode);\n if (processCodegen) {\n return processCodegen(ifNode, branch, true);\n }\n } else {\n const siblings = context.parent.children;\n const comments = [];\n let i = siblings.indexOf(node);\n while (i-- >= -1) {\n const sibling = siblings[i];\n if (sibling && sibling.type === 3) {\n context.removeNode(sibling);\n !!(process.env.NODE_ENV !== \"production\") && comments.unshift(sibling);\n continue;\n }\n if (sibling && sibling.type === 2 && !sibling.content.trim().length) {\n context.removeNode(sibling);\n continue;\n }\n if (sibling && sibling.type === 9) {\n if (dir.name === \"else-if\" && sibling.branches[sibling.branches.length - 1].condition === void 0) {\n context.onError(\n createCompilerError(30, node.loc)\n );\n }\n context.removeNode();\n const branch = createIfBranch(node, dir);\n if (!!(process.env.NODE_ENV !== \"production\") && comments.length && // #3619 ignore comments if the v-if is direct child of <transition>\n !(context.parent && context.parent.type === 1 && (context.parent.tag === \"transition\" || context.parent.tag === \"Transition\"))) {\n branch.children = [...comments, ...branch.children];\n }\n if (!!(process.env.NODE_ENV !== \"production\") || false) {\n const key = branch.userKey;\n if (key) {\n sibling.branches.forEach(({ userKey }) => {\n if (isSameKey(userKey, key)) {\n context.onError(\n createCompilerError(\n 29,\n branch.userKey.loc\n )\n );\n }\n });\n }\n }\n sibling.branches.push(branch);\n const onExit = processCodegen && processCodegen(sibling, branch, false);\n traverseNode(branch, context);\n if (onExit)\n onExit();\n context.currentNode = null;\n } else {\n context.onError(\n createCompilerError(30, node.loc)\n );\n }\n break;\n }\n }\n}\nfunction createIfBranch(node, dir) {\n const isTemplateIf = node.tagType === 3;\n return {\n type: 10,\n loc: node.loc,\n condition: dir.name === \"else\" ? void 0 : dir.exp,\n children: isTemplateIf && !findDir(node, \"for\") ? node.children : [node],\n userKey: findProp(node, `key`),\n isTemplateIf\n };\n}\nfunction createCodegenNodeForBranch(branch, keyIndex, context) {\n if (branch.condition) {\n return createConditionalExpression(\n branch.condition,\n createChildrenCodegenNode(branch, keyIndex, context),\n // make sure to pass in asBlock: true so that the comment node call\n // closes the current block.\n createCallExpression(context.helper(CREATE_COMMENT), [\n !!(process.env.NODE_ENV !== \"production\") ? '\"v-if\"' : '\"\"',\n \"true\"\n ])\n );\n } else {\n return createChildrenCodegenNode(branch, keyIndex, context);\n }\n}\nfunction createChildrenCodegenNode(branch, keyIndex, context) {\n const { helper } = context;\n const keyProperty = createObjectProperty(\n `key`,\n createSimpleExpression(\n `${keyIndex}`,\n false,\n locStub,\n 2\n )\n );\n const { children } = branch;\n const firstChild = children[0];\n const needFragmentWrapper = children.length !== 1 || firstChild.type !== 1;\n if (needFragmentWrapper) {\n if (children.length === 1 && firstChild.type === 11) {\n const vnodeCall = firstChild.codegenNode;\n injectProp(vnodeCall, keyProperty, context);\n return vnodeCall;\n } else {\n let patchFlag = 64;\n let patchFlagText = PatchFlagNames[64];\n if (!!(process.env.NODE_ENV !== \"production\") && !branch.isTemplateIf && children.filter((c) => c.type !== 3).length === 1) {\n patchFlag |= 2048;\n patchFlagText += `, ${PatchFlagNames[2048]}`;\n }\n return createVNodeCall(\n context,\n helper(FRAGMENT),\n createObjectExpression([keyProperty]),\n children,\n patchFlag + (!!(process.env.NODE_ENV !== \"production\") ? ` /* ${patchFlagText} */` : ``),\n void 0,\n void 0,\n true,\n false,\n false,\n branch.loc\n );\n }\n } else {\n const ret = firstChild.codegenNode;\n const vnodeCall = getMemoedVNodeCall(ret);\n if (vnodeCall.type === 13) {\n convertToBlock(vnodeCall, context);\n }\n injectProp(vnodeCall, keyProperty, context);\n return ret;\n }\n}\nfunction isSameKey(a, b) {\n if (!a || a.type !== b.type) {\n return false;\n }\n if (a.type === 6) {\n if (a.value.content !== b.value.content) {\n return false;\n }\n } else {\n const exp = a.exp;\n const branchExp = b.exp;\n if (exp.type !== branchExp.type) {\n return false;\n }\n if (exp.type !== 4 || exp.isStatic !== branchExp.isStatic || exp.content !== branchExp.content) {\n return false;\n }\n }\n return true;\n}\nfunction getParentCondition(node) {\n while (true) {\n if (node.type === 19) {\n if (node.alternate.type === 19) {\n node = node.alternate;\n } else {\n return node;\n }\n } else if (node.type === 20) {\n node = node.value;\n }\n }\n}\n\nconst transformFor = createStructuralDirectiveTransform(\n \"for\",\n (node, dir, context) => {\n const { helper, removeHelper } = context;\n return processFor(node, dir, context, (forNode) => {\n const renderExp = createCallExpression(helper(RENDER_LIST), [\n forNode.source\n ]);\n const isTemplate = isTemplateNode(node);\n const memo = findDir(node, \"memo\");\n const keyProp = findProp(node, `key`);\n const keyExp = keyProp && (keyProp.type === 6 ? createSimpleExpression(keyProp.value.content, true) : keyProp.exp);\n const keyProperty = keyProp ? createObjectProperty(`key`, keyExp) : null;\n const isStableFragment = forNode.source.type === 4 && forNode.source.constType > 0;\n const fragmentFlag = isStableFragment ? 64 : keyProp ? 128 : 256;\n forNode.codegenNode = createVNodeCall(\n context,\n helper(FRAGMENT),\n void 0,\n renderExp,\n fragmentFlag + (!!(process.env.NODE_ENV !== \"production\") ? ` /* ${PatchFlagNames[fragmentFlag]} */` : ``),\n void 0,\n void 0,\n true,\n !isStableFragment,\n false,\n node.loc\n );\n return () => {\n let childBlock;\n const { children } = forNode;\n if ((!!(process.env.NODE_ENV !== \"production\") || false) && isTemplate) {\n node.children.some((c) => {\n if (c.type === 1) {\n const key = findProp(c, \"key\");\n if (key) {\n context.onError(\n createCompilerError(\n 33,\n key.loc\n )\n );\n return true;\n }\n }\n });\n }\n const needFragmentWrapper = children.length !== 1 || children[0].type !== 1;\n const slotOutlet = isSlotOutlet(node) ? node : isTemplate && node.children.length === 1 && isSlotOutlet(node.children[0]) ? node.children[0] : null;\n if (slotOutlet) {\n childBlock = slotOutlet.codegenNode;\n if (isTemplate && keyProperty) {\n injectProp(childBlock, keyProperty, context);\n }\n } else if (needFragmentWrapper) {\n childBlock = createVNodeCall(\n context,\n helper(FRAGMENT),\n keyProperty ? createObjectExpression([keyProperty]) : void 0,\n node.children,\n 64 + (!!(process.env.NODE_ENV !== \"production\") ? ` /* ${PatchFlagNames[64]} */` : ``),\n void 0,\n void 0,\n true,\n void 0,\n false\n );\n } else {\n childBlock = children[0].codegenNode;\n if (isTemplate && keyProperty) {\n injectProp(childBlock, keyProperty, context);\n }\n if (childBlock.isBlock !== !isStableFragment) {\n if (childBlock.isBlock) {\n removeHelper(OPEN_BLOCK);\n removeHelper(\n getVNodeBlockHelper(context.inSSR, childBlock.isComponent)\n );\n } else {\n removeHelper(\n getVNodeHelper(context.inSSR, childBlock.isComponent)\n );\n }\n }\n childBlock.isBlock = !isStableFragment;\n if (childBlock.isBlock) {\n helper(OPEN_BLOCK);\n helper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));\n } else {\n helper(getVNodeHelper(context.inSSR, childBlock.isComponent));\n }\n }\n if (memo) {\n const loop = createFunctionExpression(\n createForLoopParams(forNode.parseResult, [\n createSimpleExpression(`_cached`)\n ])\n );\n loop.body = createBlockStatement([\n createCompoundExpression([`const _memo = (`, memo.exp, `)`]),\n createCompoundExpression([\n `if (_cached`,\n ...keyExp ? [` && _cached.key === `, keyExp] : [],\n ` && ${context.helperString(\n IS_MEMO_SAME\n )}(_cached, _memo)) return _cached`\n ]),\n createCompoundExpression([`const _item = `, childBlock]),\n createSimpleExpression(`_item.memo = _memo`),\n createSimpleExpression(`return _item`)\n ]);\n renderExp.arguments.push(\n loop,\n createSimpleExpression(`_cache`),\n createSimpleExpression(String(context.cached++))\n );\n } else {\n renderExp.arguments.push(\n createFunctionExpression(\n createForLoopParams(forNode.parseResult),\n childBlock,\n true\n )\n );\n }\n };\n });\n }\n);\nfunction processFor(node, dir, context, processCodegen) {\n if (!dir.exp) {\n context.onError(\n createCompilerError(31, dir.loc)\n );\n return;\n }\n const parseResult = dir.forParseResult;\n if (!parseResult) {\n context.onError(\n createCompilerError(32, dir.loc)\n );\n return;\n }\n finalizeForParseResult(parseResult, context);\n const { addIdentifiers, removeIdentifiers, scopes } = context;\n const { source, value, key, index } = parseResult;\n const forNode = {\n type: 11,\n loc: dir.loc,\n source,\n valueAlias: value,\n keyAlias: key,\n objectIndexAlias: index,\n parseResult,\n children: isTemplateNode(node) ? node.children : [node]\n };\n context.replaceNode(forNode);\n scopes.vFor++;\n const onExit = processCodegen && processCodegen(forNode);\n return () => {\n scopes.vFor--;\n if (onExit)\n onExit();\n };\n}\nfunction finalizeForParseResult(result, context) {\n if (result.finalized)\n return;\n if (!!(process.env.NODE_ENV !== \"production\") && true) {\n validateBrowserExpression(result.source, context);\n if (result.key) {\n validateBrowserExpression(\n result.key,\n context,\n true\n );\n }\n if (result.index) {\n validateBrowserExpression(\n result.index,\n context,\n true\n );\n }\n if (result.value) {\n validateBrowserExpression(\n result.value,\n context,\n true\n );\n }\n }\n result.finalized = true;\n}\nfunction createForLoopParams({ value, key, index }, memoArgs = []) {\n return createParamsList([value, key, index, ...memoArgs]);\n}\nfunction createParamsList(args) {\n let i = args.length;\n while (i--) {\n if (args[i])\n break;\n }\n return args.slice(0, i + 1).map((arg, i2) => arg || createSimpleExpression(`_`.repeat(i2 + 1), false));\n}\n\nconst defaultFallback = createSimpleExpression(`undefined`, false);\nconst trackSlotScopes = (node, context) => {\n if (node.type === 1 && (node.tagType === 1 || node.tagType === 3)) {\n const vSlot = findDir(node, \"slot\");\n if (vSlot) {\n vSlot.exp;\n context.scopes.vSlot++;\n return () => {\n context.scopes.vSlot--;\n };\n }\n }\n};\nconst trackVForSlotScopes = (node, context) => {\n let vFor;\n if (isTemplateNode(node) && node.props.some(isVSlot) && (vFor = findDir(node, \"for\"))) {\n const result = vFor.forParseResult;\n if (result) {\n finalizeForParseResult(result, context);\n const { value, key, index } = result;\n const { addIdentifiers, removeIdentifiers } = context;\n value && addIdentifiers(value);\n key && addIdentifiers(key);\n index && addIdentifiers(index);\n return () => {\n value && removeIdentifiers(value);\n key && removeIdentifiers(key);\n index && removeIdentifiers(index);\n };\n }\n }\n};\nconst buildClientSlotFn = (props, _vForExp, children, loc) => createFunctionExpression(\n props,\n children,\n false,\n true,\n children.length ? children[0].loc : loc\n);\nfunction buildSlots(node, context, buildSlotFn = buildClientSlotFn) {\n context.helper(WITH_CTX);\n const { children, loc } = node;\n const slotsProperties = [];\n const dynamicSlots = [];\n let hasDynamicSlots = context.scopes.vSlot > 0 || context.scopes.vFor > 0;\n const onComponentSlot = findDir(node, \"slot\", true);\n if (onComponentSlot) {\n const { arg, exp } = onComponentSlot;\n if (arg && !isStaticExp(arg)) {\n hasDynamicSlots = true;\n }\n slotsProperties.push(\n createObjectProperty(\n arg || createSimpleExpression(\"default\", true),\n buildSlotFn(exp, void 0, children, loc)\n )\n );\n }\n let hasTemplateSlots = false;\n let hasNamedDefaultSlot = false;\n const implicitDefaultChildren = [];\n const seenSlotNames = /* @__PURE__ */ new Set();\n let conditionalBranchIndex = 0;\n for (let i = 0; i < children.length; i++) {\n const slotElement = children[i];\n let slotDir;\n if (!isTemplateNode(slotElement) || !(slotDir = findDir(slotElement, \"slot\", true))) {\n if (slotElement.type !== 3) {\n implicitDefaultChildren.push(slotElement);\n }\n continue;\n }\n if (onComponentSlot) {\n context.onError(\n createCompilerError(37, slotDir.loc)\n );\n break;\n }\n hasTemplateSlots = true;\n const { children: slotChildren, loc: slotLoc } = slotElement;\n const {\n arg: slotName = createSimpleExpression(`default`, true),\n exp: slotProps,\n loc: dirLoc\n } = slotDir;\n let staticSlotName;\n if (isStaticExp(slotName)) {\n staticSlotName = slotName ? slotName.content : `default`;\n } else {\n hasDynamicSlots = true;\n }\n const vFor = findDir(slotElement, \"for\");\n const slotFunction = buildSlotFn(slotProps, vFor, slotChildren, slotLoc);\n let vIf;\n let vElse;\n if (vIf = findDir(slotElement, \"if\")) {\n hasDynamicSlots = true;\n dynamicSlots.push(\n createConditionalExpression(\n vIf.exp,\n buildDynamicSlot(slotName, slotFunction, conditionalBranchIndex++),\n defaultFallback\n )\n );\n } else if (vElse = findDir(\n slotElement,\n /^else(-if)?$/,\n true\n /* allowEmpty */\n )) {\n let j = i;\n let prev;\n while (j--) {\n prev = children[j];\n if (prev.type !== 3) {\n break;\n }\n }\n if (prev && isTemplateNode(prev) && findDir(prev, \"if\")) {\n children.splice(i, 1);\n i--;\n let conditional = dynamicSlots[dynamicSlots.length - 1];\n while (conditional.alternate.type === 19) {\n conditional = conditional.alternate;\n }\n conditional.alternate = vElse.exp ? createConditionalExpression(\n vElse.exp,\n buildDynamicSlot(\n slotName,\n slotFunction,\n conditionalBranchIndex++\n ),\n defaultFallback\n ) : buildDynamicSlot(slotName, slotFunction, conditionalBranchIndex++);\n } else {\n context.onError(\n createCompilerError(30, vElse.loc)\n );\n }\n } else if (vFor) {\n hasDynamicSlots = true;\n const parseResult = vFor.forParseResult;\n if (parseResult) {\n finalizeForParseResult(parseResult, context);\n dynamicSlots.push(\n createCallExpression(context.helper(RENDER_LIST), [\n parseResult.source,\n createFunctionExpression(\n createForLoopParams(parseResult),\n buildDynamicSlot(slotName, slotFunction),\n true\n )\n ])\n );\n } else {\n context.onError(\n createCompilerError(\n 32,\n vFor.loc\n )\n );\n }\n } else {\n if (staticSlotName) {\n if (seenSlotNames.has(staticSlotName)) {\n context.onError(\n createCompilerError(\n 38,\n dirLoc\n )\n );\n continue;\n }\n seenSlotNames.add(staticSlotName);\n if (staticSlotName === \"default\") {\n hasNamedDefaultSlot = true;\n }\n }\n slotsProperties.push(createObjectProperty(slotName, slotFunction));\n }\n }\n if (!onComponentSlot) {\n const buildDefaultSlotProperty = (props, children2) => {\n const fn = buildSlotFn(props, void 0, children2, loc);\n if (context.compatConfig) {\n fn.isNonScopedSlot = true;\n }\n return createObjectProperty(`default`, fn);\n };\n if (!hasTemplateSlots) {\n slotsProperties.push(buildDefaultSlotProperty(void 0, children));\n } else if (implicitDefaultChildren.length && // #3766\n // with whitespace: 'preserve', whitespaces between slots will end up in\n // implicitDefaultChildren. Ignore if all implicit children are whitespaces.\n implicitDefaultChildren.some((node2) => isNonWhitespaceContent(node2))) {\n if (hasNamedDefaultSlot) {\n context.onError(\n createCompilerError(\n 39,\n implicitDefaultChildren[0].loc\n )\n );\n } else {\n slotsProperties.push(\n buildDefaultSlotProperty(void 0, implicitDefaultChildren)\n );\n }\n }\n }\n const slotFlag = hasDynamicSlots ? 2 : hasForwardedSlots(node.children) ? 3 : 1;\n let slots = createObjectExpression(\n slotsProperties.concat(\n createObjectProperty(\n `_`,\n // 2 = compiled but dynamic = can skip normalization, but must run diff\n // 1 = compiled and static = can skip normalization AND diff as optimized\n createSimpleExpression(\n slotFlag + (!!(process.env.NODE_ENV !== \"production\") ? ` /* ${slotFlagsText[slotFlag]} */` : ``),\n false\n )\n )\n ),\n loc\n );\n if (dynamicSlots.length) {\n slots = createCallExpression(context.helper(CREATE_SLOTS), [\n slots,\n createArrayExpression(dynamicSlots)\n ]);\n }\n return {\n slots,\n hasDynamicSlots\n };\n}\nfunction buildDynamicSlot(name, fn, index) {\n const props = [\n createObjectProperty(`name`, name),\n createObjectProperty(`fn`, fn)\n ];\n if (index != null) {\n props.push(\n createObjectProperty(`key`, createSimpleExpression(String(index), true))\n );\n }\n return createObjectExpression(props);\n}\nfunction hasForwardedSlots(children) {\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n switch (child.type) {\n case 1:\n if (child.tagType === 2 || hasForwardedSlots(child.children)) {\n return true;\n }\n break;\n case 9:\n if (hasForwardedSlots(child.branches))\n return true;\n break;\n case 10:\n case 11:\n if (hasForwardedSlots(child.children))\n return true;\n break;\n }\n }\n return false;\n}\nfunction isNonWhitespaceContent(node) {\n if (node.type !== 2 && node.type !== 12)\n return true;\n return node.type === 2 ? !!node.content.trim() : isNonWhitespaceContent(node.content);\n}\n\nconst directiveImportMap = /* @__PURE__ */ new WeakMap();\nconst transformElement = (node, context) => {\n return function postTransformElement() {\n node = context.currentNode;\n if (!(node.type === 1 && (node.tagType === 0 || node.tagType === 1))) {\n return;\n }\n const { tag, props } = node;\n const isComponent = node.tagType === 1;\n let vnodeTag = isComponent ? resolveComponentType(node, context) : `\"${tag}\"`;\n const isDynamicComponent = isObject(vnodeTag) && vnodeTag.callee === RESOLVE_DYNAMIC_COMPONENT;\n let vnodeProps;\n let vnodeChildren;\n let vnodePatchFlag;\n let patchFlag = 0;\n let vnodeDynamicProps;\n let dynamicPropNames;\n let vnodeDirectives;\n let shouldUseBlock = (\n // dynamic component may resolve to plain elements\n isDynamicComponent || vnodeTag === TELEPORT || vnodeTag === SUSPENSE || !isComponent && // <svg> and <foreignObject> must be forced into blocks so that block\n // updates inside get proper isSVG flag at runtime. (#639, #643)\n // This is technically web-specific, but splitting the logic out of core\n // leads to too much unnecessary complexity.\n (tag === \"svg\" || tag === \"foreignObject\")\n );\n if (props.length > 0) {\n const propsBuildResult = buildProps(\n node,\n context,\n void 0,\n isComponent,\n isDynamicComponent\n );\n vnodeProps = propsBuildResult.props;\n patchFlag = propsBuildResult.patchFlag;\n dynamicPropNames = propsBuildResult.dynamicPropNames;\n const directives = propsBuildResult.directives;\n vnodeDirectives = directives && directives.length ? createArrayExpression(\n directives.map((dir) => buildDirectiveArgs(dir, context))\n ) : void 0;\n if (propsBuildResult.shouldUseBlock) {\n shouldUseBlock = true;\n }\n }\n if (node.children.length > 0) {\n if (vnodeTag === KEEP_ALIVE) {\n shouldUseBlock = true;\n patchFlag |= 1024;\n if (!!(process.env.NODE_ENV !== \"production\") && node.children.length > 1) {\n context.onError(\n createCompilerError(46, {\n start: node.children[0].loc.start,\n end: node.children[node.children.length - 1].loc.end,\n source: \"\"\n })\n );\n }\n }\n const shouldBuildAsSlots = isComponent && // Teleport is not a real component and has dedicated runtime handling\n vnodeTag !== TELEPORT && // explained above.\n vnodeTag !== KEEP_ALIVE;\n if (shouldBuildAsSlots) {\n const { slots, hasDynamicSlots } = buildSlots(node, context);\n vnodeChildren = slots;\n if (hasDynamicSlots) {\n patchFlag |= 1024;\n }\n } else if (node.children.length === 1 && vnodeTag !== TELEPORT) {\n const child = node.children[0];\n const type = child.type;\n const hasDynamicTextChild = type === 5 || type === 8;\n if (hasDynamicTextChild && getConstantType(child, context) === 0) {\n patchFlag |= 1;\n }\n if (hasDynamicTextChild || type === 2) {\n vnodeChildren = child;\n } else {\n vnodeChildren = node.children;\n }\n } else {\n vnodeChildren = node.children;\n }\n }\n if (patchFlag !== 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (patchFlag < 0) {\n vnodePatchFlag = patchFlag + ` /* ${PatchFlagNames[patchFlag]} */`;\n } else {\n const flagNames = Object.keys(PatchFlagNames).map(Number).filter((n) => n > 0 && patchFlag & n).map((n) => PatchFlagNames[n]).join(`, `);\n vnodePatchFlag = patchFlag + ` /* ${flagNames} */`;\n }\n } else {\n vnodePatchFlag = String(patchFlag);\n }\n if (dynamicPropNames && dynamicPropNames.length) {\n vnodeDynamicProps = stringifyDynamicPropNames(dynamicPropNames);\n }\n }\n node.codegenNode = createVNodeCall(\n context,\n vnodeTag,\n vnodeProps,\n vnodeChildren,\n vnodePatchFlag,\n vnodeDynamicProps,\n vnodeDirectives,\n !!shouldUseBlock,\n false,\n isComponent,\n node.loc\n );\n };\n};\nfunction resolveComponentType(node, context, ssr = false) {\n let { tag } = node;\n const isExplicitDynamic = isComponentTag(tag);\n const isProp = findProp(node, \"is\");\n if (isProp) {\n if (isExplicitDynamic || isCompatEnabled(\n \"COMPILER_IS_ON_ELEMENT\",\n context\n )) {\n const exp = isProp.type === 6 ? isProp.value && createSimpleExpression(isProp.value.content, true) : isProp.exp;\n if (exp) {\n return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT), [\n exp\n ]);\n }\n } else if (isProp.type === 6 && isProp.value.content.startsWith(\"vue:\")) {\n tag = isProp.value.content.slice(4);\n }\n }\n const builtIn = isCoreComponent(tag) || context.isBuiltInComponent(tag);\n if (builtIn) {\n if (!ssr)\n context.helper(builtIn);\n return builtIn;\n }\n context.helper(RESOLVE_COMPONENT);\n context.components.add(tag);\n return toValidAssetId(tag, `component`);\n}\nfunction buildProps(node, context, props = node.props, isComponent, isDynamicComponent, ssr = false) {\n const { tag, loc: elementLoc, children } = node;\n let properties = [];\n const mergeArgs = [];\n const runtimeDirectives = [];\n const hasChildren = children.length > 0;\n let shouldUseBlock = false;\n let patchFlag = 0;\n let hasRef = false;\n let hasClassBinding = false;\n let hasStyleBinding = false;\n let hasHydrationEventBinding = false;\n let hasDynamicKeys = false;\n let hasVnodeHook = false;\n const dynamicPropNames = [];\n const pushMergeArg = (arg) => {\n if (properties.length) {\n mergeArgs.push(\n createObjectExpression(dedupeProperties(properties), elementLoc)\n );\n properties = [];\n }\n if (arg)\n mergeArgs.push(arg);\n };\n const analyzePatchFlag = ({ key, value }) => {\n if (isStaticExp(key)) {\n const name = key.content;\n const isEventHandler = isOn(name);\n if (isEventHandler && (!isComponent || isDynamicComponent) && // omit the flag for click handlers because hydration gives click\n // dedicated fast path.\n name.toLowerCase() !== \"onclick\" && // omit v-model handlers\n name !== \"onUpdate:modelValue\" && // omit onVnodeXXX hooks\n !isReservedProp(name)) {\n hasHydrationEventBinding = true;\n }\n if (isEventHandler && isReservedProp(name)) {\n hasVnodeHook = true;\n }\n if (isEventHandler && value.type === 14) {\n value = value.arguments[0];\n }\n if (value.type === 20 || (value.type === 4 || value.type === 8) && getConstantType(value, context) > 0) {\n return;\n }\n if (name === \"ref\") {\n hasRef = true;\n } else if (name === \"class\") {\n hasClassBinding = true;\n } else if (name === \"style\") {\n hasStyleBinding = true;\n } else if (name !== \"key\" && !dynamicPropNames.includes(name)) {\n dynamicPropNames.push(name);\n }\n if (isComponent && (name === \"class\" || name === \"style\") && !dynamicPropNames.includes(name)) {\n dynamicPropNames.push(name);\n }\n } else {\n hasDynamicKeys = true;\n }\n };\n for (let i = 0; i < props.length; i++) {\n const prop = props[i];\n if (prop.type === 6) {\n const { loc, name, nameLoc, value } = prop;\n let isStatic = true;\n if (name === \"ref\") {\n hasRef = true;\n if (context.scopes.vFor > 0) {\n properties.push(\n createObjectProperty(\n createSimpleExpression(\"ref_for\", true),\n createSimpleExpression(\"true\")\n )\n );\n }\n }\n if (name === \"is\" && (isComponentTag(tag) || value && value.content.startsWith(\"vue:\") || isCompatEnabled(\n \"COMPILER_IS_ON_ELEMENT\",\n context\n ))) {\n continue;\n }\n properties.push(\n createObjectProperty(\n createSimpleExpression(name, true, nameLoc),\n createSimpleExpression(\n value ? value.content : \"\",\n isStatic,\n value ? value.loc : loc\n )\n )\n );\n } else {\n const { name, arg, exp, loc, modifiers } = prop;\n const isVBind = name === \"bind\";\n const isVOn = name === \"on\";\n if (name === \"slot\") {\n if (!isComponent) {\n context.onError(\n createCompilerError(40, loc)\n );\n }\n continue;\n }\n if (name === \"once\" || name === \"memo\") {\n continue;\n }\n if (name === \"is\" || isVBind && isStaticArgOf(arg, \"is\") && (isComponentTag(tag) || isCompatEnabled(\n \"COMPILER_IS_ON_ELEMENT\",\n context\n ))) {\n continue;\n }\n if (isVOn && ssr) {\n continue;\n }\n if (\n // #938: elements with dynamic keys should be forced into blocks\n isVBind && isStaticArgOf(arg, \"key\") || // inline before-update hooks need to force block so that it is invoked\n // before children\n isVOn && hasChildren && isStaticArgOf(arg, \"vue:before-update\")\n ) {\n shouldUseBlock = true;\n }\n if (isVBind && isStaticArgOf(arg, \"ref\") && context.scopes.vFor > 0) {\n properties.push(\n createObjectProperty(\n createSimpleExpression(\"ref_for\", true),\n createSimpleExpression(\"true\")\n )\n );\n }\n if (!arg && (isVBind || isVOn)) {\n hasDynamicKeys = true;\n if (exp) {\n if (isVBind) {\n pushMergeArg();\n {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const hasOverridableKeys = mergeArgs.some((arg2) => {\n if (arg2.type === 15) {\n return arg2.properties.some(({ key }) => {\n if (key.type !== 4 || !key.isStatic) {\n return true;\n }\n return key.content !== \"class\" && key.content !== \"style\" && !isOn(key.content);\n });\n } else {\n return true;\n }\n });\n if (hasOverridableKeys) {\n checkCompatEnabled(\n \"COMPILER_V_BIND_OBJECT_ORDER\",\n context,\n loc\n );\n }\n }\n if (isCompatEnabled(\n \"COMPILER_V_BIND_OBJECT_ORDER\",\n context\n )) {\n mergeArgs.unshift(exp);\n continue;\n }\n }\n mergeArgs.push(exp);\n } else {\n pushMergeArg({\n type: 14,\n loc,\n callee: context.helper(TO_HANDLERS),\n arguments: isComponent ? [exp] : [exp, `true`]\n });\n }\n } else {\n context.onError(\n createCompilerError(\n isVBind ? 34 : 35,\n loc\n )\n );\n }\n continue;\n }\n if (isVBind && modifiers.includes(\"prop\")) {\n patchFlag |= 32;\n }\n const directiveTransform = context.directiveTransforms[name];\n if (directiveTransform) {\n const { props: props2, needRuntime } = directiveTransform(prop, node, context);\n !ssr && props2.forEach(analyzePatchFlag);\n if (isVOn && arg && !isStaticExp(arg)) {\n pushMergeArg(createObjectExpression(props2, elementLoc));\n } else {\n properties.push(...props2);\n }\n if (needRuntime) {\n runtimeDirectives.push(prop);\n if (isSymbol(needRuntime)) {\n directiveImportMap.set(prop, needRuntime);\n }\n }\n } else if (!isBuiltInDirective(name)) {\n runtimeDirectives.push(prop);\n if (hasChildren) {\n shouldUseBlock = true;\n }\n }\n }\n }\n let propsExpression = void 0;\n if (mergeArgs.length) {\n pushMergeArg();\n if (mergeArgs.length > 1) {\n propsExpression = createCallExpression(\n context.helper(MERGE_PROPS),\n mergeArgs,\n elementLoc\n );\n } else {\n propsExpression = mergeArgs[0];\n }\n } else if (properties.length) {\n propsExpression = createObjectExpression(\n dedupeProperties(properties),\n elementLoc\n );\n }\n if (hasDynamicKeys) {\n patchFlag |= 16;\n } else {\n if (hasClassBinding && !isComponent) {\n patchFlag |= 2;\n }\n if (hasStyleBinding && !isComponent) {\n patchFlag |= 4;\n }\n if (dynamicPropNames.length) {\n patchFlag |= 8;\n }\n if (hasHydrationEventBinding) {\n patchFlag |= 32;\n }\n }\n if (!shouldUseBlock && (patchFlag === 0 || patchFlag === 32) && (hasRef || hasVnodeHook || runtimeDirectives.length > 0)) {\n patchFlag |= 512;\n }\n if (!context.inSSR && propsExpression) {\n switch (propsExpression.type) {\n case 15:\n let classKeyIndex = -1;\n let styleKeyIndex = -1;\n let hasDynamicKey = false;\n for (let i = 0; i < propsExpression.properties.length; i++) {\n const key = propsExpression.properties[i].key;\n if (isStaticExp(key)) {\n if (key.content === \"class\") {\n classKeyIndex = i;\n } else if (key.content === \"style\") {\n styleKeyIndex = i;\n }\n } else if (!key.isHandlerKey) {\n hasDynamicKey = true;\n }\n }\n const classProp = propsExpression.properties[classKeyIndex];\n const styleProp = propsExpression.properties[styleKeyIndex];\n if (!hasDynamicKey) {\n if (classProp && !isStaticExp(classProp.value)) {\n classProp.value = createCallExpression(\n context.helper(NORMALIZE_CLASS),\n [classProp.value]\n );\n }\n if (styleProp && // the static style is compiled into an object,\n // so use `hasStyleBinding` to ensure that it is a dynamic style binding\n (hasStyleBinding || styleProp.value.type === 4 && styleProp.value.content.trim()[0] === `[` || // v-bind:style and style both exist,\n // v-bind:style with static literal object\n styleProp.value.type === 17)) {\n styleProp.value = createCallExpression(\n context.helper(NORMALIZE_STYLE),\n [styleProp.value]\n );\n }\n } else {\n propsExpression = createCallExpression(\n context.helper(NORMALIZE_PROPS),\n [propsExpression]\n );\n }\n break;\n case 14:\n break;\n default:\n propsExpression = createCallExpression(\n context.helper(NORMALIZE_PROPS),\n [\n createCallExpression(context.helper(GUARD_REACTIVE_PROPS), [\n propsExpression\n ])\n ]\n );\n break;\n }\n }\n return {\n props: propsExpression,\n directives: runtimeDirectives,\n patchFlag,\n dynamicPropNames,\n shouldUseBlock\n };\n}\nfunction dedupeProperties(properties) {\n const knownProps = /* @__PURE__ */ new Map();\n const deduped = [];\n for (let i = 0; i < properties.length; i++) {\n const prop = properties[i];\n if (prop.key.type === 8 || !prop.key.isStatic) {\n deduped.push(prop);\n continue;\n }\n const name = prop.key.content;\n const existing = knownProps.get(name);\n if (existing) {\n if (name === \"style\" || name === \"class\" || isOn(name)) {\n mergeAsArray(existing, prop);\n }\n } else {\n knownProps.set(name, prop);\n deduped.push(prop);\n }\n }\n return deduped;\n}\nfunction mergeAsArray(existing, incoming) {\n if (existing.value.type === 17) {\n existing.value.elements.push(incoming.value);\n } else {\n existing.value = createArrayExpression(\n [existing.value, incoming.value],\n existing.loc\n );\n }\n}\nfunction buildDirectiveArgs(dir, context) {\n const dirArgs = [];\n const runtime = directiveImportMap.get(dir);\n if (runtime) {\n dirArgs.push(context.helperString(runtime));\n } else {\n {\n context.helper(RESOLVE_DIRECTIVE);\n context.directives.add(dir.name);\n dirArgs.push(toValidAssetId(dir.name, `directive`));\n }\n }\n const { loc } = dir;\n if (dir.exp)\n dirArgs.push(dir.exp);\n if (dir.arg) {\n if (!dir.exp) {\n dirArgs.push(`void 0`);\n }\n dirArgs.push(dir.arg);\n }\n if (Object.keys(dir.modifiers).length) {\n if (!dir.arg) {\n if (!dir.exp) {\n dirArgs.push(`void 0`);\n }\n dirArgs.push(`void 0`);\n }\n const trueExpression = createSimpleExpression(`true`, false, loc);\n dirArgs.push(\n createObjectExpression(\n dir.modifiers.map(\n (modifier) => createObjectProperty(modifier, trueExpression)\n ),\n loc\n )\n );\n }\n return createArrayExpression(dirArgs, dir.loc);\n}\nfunction stringifyDynamicPropNames(props) {\n let propsNamesString = `[`;\n for (let i = 0, l = props.length; i < l; i++) {\n propsNamesString += JSON.stringify(props[i]);\n if (i < l - 1)\n propsNamesString += \", \";\n }\n return propsNamesString + `]`;\n}\nfunction isComponentTag(tag) {\n return tag === \"component\" || tag === \"Component\";\n}\n\nconst transformSlotOutlet = (node, context) => {\n if (isSlotOutlet(node)) {\n const { children, loc } = node;\n const { slotName, slotProps } = processSlotOutlet(node, context);\n const slotArgs = [\n context.prefixIdentifiers ? `_ctx.$slots` : `$slots`,\n slotName,\n \"{}\",\n \"undefined\",\n \"true\"\n ];\n let expectedLen = 2;\n if (slotProps) {\n slotArgs[2] = slotProps;\n expectedLen = 3;\n }\n if (children.length) {\n slotArgs[3] = createFunctionExpression([], children, false, false, loc);\n expectedLen = 4;\n }\n if (context.scopeId && !context.slotted) {\n expectedLen = 5;\n }\n slotArgs.splice(expectedLen);\n node.codegenNode = createCallExpression(\n context.helper(RENDER_SLOT),\n slotArgs,\n loc\n );\n }\n};\nfunction processSlotOutlet(node, context) {\n let slotName = `\"default\"`;\n let slotProps = void 0;\n const nonNameProps = [];\n for (let i = 0; i < node.props.length; i++) {\n const p = node.props[i];\n if (p.type === 6) {\n if (p.value) {\n if (p.name === \"name\") {\n slotName = JSON.stringify(p.value.content);\n } else {\n p.name = camelize(p.name);\n nonNameProps.push(p);\n }\n }\n } else {\n if (p.name === \"bind\" && isStaticArgOf(p.arg, \"name\")) {\n if (p.exp)\n slotName = p.exp;\n } else {\n if (p.name === \"bind\" && p.arg && isStaticExp(p.arg)) {\n p.arg.content = camelize(p.arg.content);\n }\n nonNameProps.push(p);\n }\n }\n }\n if (nonNameProps.length > 0) {\n const { props, directives } = buildProps(\n node,\n context,\n nonNameProps,\n false,\n false\n );\n slotProps = props;\n if (directives.length) {\n context.onError(\n createCompilerError(\n 36,\n directives[0].loc\n )\n );\n }\n }\n return {\n slotName,\n slotProps\n };\n}\n\nconst fnExpRE = /^\\s*([\\w$_]+|(async\\s*)?\\([^)]*?\\))\\s*(:[^=]+)?=>|^\\s*(async\\s+)?function(?:\\s+[\\w$]+)?\\s*\\(/;\nconst transformOn = (dir, node, context, augmentor) => {\n const { loc, modifiers, arg } = dir;\n if (!dir.exp && !modifiers.length) {\n context.onError(createCompilerError(35, loc));\n }\n let eventName;\n if (arg.type === 4) {\n if (arg.isStatic) {\n let rawName = arg.content;\n if (!!(process.env.NODE_ENV !== \"production\") && rawName.startsWith(\"vnode\")) {\n context.onError(createCompilerError(51, arg.loc));\n }\n if (rawName.startsWith(\"vue:\")) {\n rawName = `vnode-${rawName.slice(4)}`;\n }\n const eventString = node.tagType !== 0 || rawName.startsWith(\"vnode\") || !/[A-Z]/.test(rawName) ? (\n // for non-element and vnode lifecycle event listeners, auto convert\n // it to camelCase. See issue #2249\n toHandlerKey(camelize(rawName))\n ) : (\n // preserve case for plain element listeners that have uppercase\n // letters, as these may be custom elements' custom events\n `on:${rawName}`\n );\n eventName = createSimpleExpression(eventString, true, arg.loc);\n } else {\n eventName = createCompoundExpression([\n `${context.helperString(TO_HANDLER_KEY)}(`,\n arg,\n `)`\n ]);\n }\n } else {\n eventName = arg;\n eventName.children.unshift(`${context.helperString(TO_HANDLER_KEY)}(`);\n eventName.children.push(`)`);\n }\n let exp = dir.exp;\n if (exp && !exp.content.trim()) {\n exp = void 0;\n }\n let shouldCache = context.cacheHandlers && !exp && !context.inVOnce;\n if (exp) {\n const isMemberExp = isMemberExpression(exp.content);\n const isInlineStatement = !(isMemberExp || fnExpRE.test(exp.content));\n const hasMultipleStatements = exp.content.includes(`;`);\n if (!!(process.env.NODE_ENV !== \"production\") && true) {\n validateBrowserExpression(\n exp,\n context,\n false,\n hasMultipleStatements\n );\n }\n if (isInlineStatement || shouldCache && isMemberExp) {\n exp = createCompoundExpression([\n `${isInlineStatement ? `$event` : `${``}(...args)`} => ${hasMultipleStatements ? `{` : `(`}`,\n exp,\n hasMultipleStatements ? `}` : `)`\n ]);\n }\n }\n let ret = {\n props: [\n createObjectProperty(\n eventName,\n exp || createSimpleExpression(`() => {}`, false, loc)\n )\n ]\n };\n if (augmentor) {\n ret = augmentor(ret);\n }\n if (shouldCache) {\n ret.props[0].value = context.cache(ret.props[0].value);\n }\n ret.props.forEach((p) => p.key.isHandlerKey = true);\n return ret;\n};\n\nconst transformBind = (dir, _node, context) => {\n const { modifiers, loc } = dir;\n const arg = dir.arg;\n let { exp } = dir;\n if (!exp && arg.type === 4) {\n const propName = camelize(arg.content);\n exp = dir.exp = createSimpleExpression(propName, false, arg.loc);\n }\n if (arg.type !== 4) {\n arg.children.unshift(`(`);\n arg.children.push(`) || \"\"`);\n } else if (!arg.isStatic) {\n arg.content = `${arg.content} || \"\"`;\n }\n if (modifiers.includes(\"camel\")) {\n if (arg.type === 4) {\n if (arg.isStatic) {\n arg.content = camelize(arg.content);\n } else {\n arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;\n }\n } else {\n arg.children.unshift(`${context.helperString(CAMELIZE)}(`);\n arg.children.push(`)`);\n }\n }\n if (!context.inSSR) {\n if (modifiers.includes(\"prop\")) {\n injectPrefix(arg, \".\");\n }\n if (modifiers.includes(\"attr\")) {\n injectPrefix(arg, \"^\");\n }\n }\n if (!exp || exp.type === 4 && !exp.content.trim()) {\n context.onError(createCompilerError(34, loc));\n return {\n props: [createObjectProperty(arg, createSimpleExpression(\"\", true, loc))]\n };\n }\n return {\n props: [createObjectProperty(arg, exp)]\n };\n};\nconst injectPrefix = (arg, prefix) => {\n if (arg.type === 4) {\n if (arg.isStatic) {\n arg.content = prefix + arg.content;\n } else {\n arg.content = `\\`${prefix}\\${${arg.content}}\\``;\n }\n } else {\n arg.children.unshift(`'${prefix}' + (`);\n arg.children.push(`)`);\n }\n};\n\nconst transformText = (node, context) => {\n if (node.type === 0 || node.type === 1 || node.type === 11 || node.type === 10) {\n return () => {\n const children = node.children;\n let currentContainer = void 0;\n let hasText = false;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isText$1(child)) {\n hasText = true;\n for (let j = i + 1; j < children.length; j++) {\n const next = children[j];\n if (isText$1(next)) {\n if (!currentContainer) {\n currentContainer = children[i] = createCompoundExpression(\n [child],\n child.loc\n );\n }\n currentContainer.children.push(` + `, next);\n children.splice(j, 1);\n j--;\n } else {\n currentContainer = void 0;\n break;\n }\n }\n }\n }\n if (!hasText || // if this is a plain element with a single text child, leave it\n // as-is since the runtime has dedicated fast path for this by directly\n // setting textContent of the element.\n // for component root it's always normalized anyway.\n children.length === 1 && (node.type === 0 || node.type === 1 && node.tagType === 0 && // #3756\n // custom directives can potentially add DOM elements arbitrarily,\n // we need to avoid setting textContent of the element at runtime\n // to avoid accidentally overwriting the DOM elements added\n // by the user through custom directives.\n !node.props.find(\n (p) => p.type === 7 && !context.directiveTransforms[p.name]\n ) && // in compat mode, <template> tags with no special directives\n // will be rendered as a fragment so its children must be\n // converted into vnodes.\n !(node.tag === \"template\"))) {\n return;\n }\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isText$1(child) || child.type === 8) {\n const callArgs = [];\n if (child.type !== 2 || child.content !== \" \") {\n callArgs.push(child);\n }\n if (!context.ssr && getConstantType(child, context) === 0) {\n callArgs.push(\n 1 + (!!(process.env.NODE_ENV !== \"production\") ? ` /* ${PatchFlagNames[1]} */` : ``)\n );\n }\n children[i] = {\n type: 12,\n content: child,\n loc: child.loc,\n codegenNode: createCallExpression(\n context.helper(CREATE_TEXT),\n callArgs\n )\n };\n }\n }\n };\n }\n};\n\nconst seen$1 = /* @__PURE__ */ new WeakSet();\nconst transformOnce = (node, context) => {\n if (node.type === 1 && findDir(node, \"once\", true)) {\n if (seen$1.has(node) || context.inVOnce || context.inSSR) {\n return;\n }\n seen$1.add(node);\n context.inVOnce = true;\n context.helper(SET_BLOCK_TRACKING);\n return () => {\n context.inVOnce = false;\n const cur = context.currentNode;\n if (cur.codegenNode) {\n cur.codegenNode = context.cache(\n cur.codegenNode,\n true\n /* isVNode */\n );\n }\n };\n }\n};\n\nconst transformModel = (dir, node, context) => {\n const { exp, arg } = dir;\n if (!exp) {\n context.onError(\n createCompilerError(41, dir.loc)\n );\n return createTransformProps();\n }\n const rawExp = exp.loc.source;\n const expString = exp.type === 4 ? exp.content : rawExp;\n const bindingType = context.bindingMetadata[rawExp];\n if (bindingType === \"props\" || bindingType === \"props-aliased\") {\n context.onError(createCompilerError(44, exp.loc));\n return createTransformProps();\n }\n const maybeRef = false;\n if (!expString.trim() || !isMemberExpression(expString) && !maybeRef) {\n context.onError(\n createCompilerError(42, exp.loc)\n );\n return createTransformProps();\n }\n const propName = arg ? arg : createSimpleExpression(\"modelValue\", true);\n const eventName = arg ? isStaticExp(arg) ? `onUpdate:${camelize(arg.content)}` : createCompoundExpression(['\"onUpdate:\" + ', arg]) : `onUpdate:modelValue`;\n let assignmentExp;\n const eventArg = context.isTS ? `($event: any)` : `$event`;\n {\n assignmentExp = createCompoundExpression([\n `${eventArg} => ((`,\n exp,\n `) = $event)`\n ]);\n }\n const props = [\n // modelValue: foo\n createObjectProperty(propName, dir.exp),\n // \"onUpdate:modelValue\": $event => (foo = $event)\n createObjectProperty(eventName, assignmentExp)\n ];\n if (dir.modifiers.length && node.tagType === 1) {\n const modifiers = dir.modifiers.map((m) => (isSimpleIdentifier(m) ? m : JSON.stringify(m)) + `: true`).join(`, `);\n const modifiersKey = arg ? isStaticExp(arg) ? `${arg.content}Modifiers` : createCompoundExpression([arg, ' + \"Modifiers\"']) : `modelModifiers`;\n props.push(\n createObjectProperty(\n modifiersKey,\n createSimpleExpression(\n `{ ${modifiers} }`,\n false,\n dir.loc,\n 2\n )\n )\n );\n }\n return createTransformProps(props);\n};\nfunction createTransformProps(props = []) {\n return { props };\n}\n\nconst validDivisionCharRE = /[\\w).+\\-_$\\]]/;\nconst transformFilter = (node, context) => {\n if (!isCompatEnabled(\"COMPILER_FILTERS\", context)) {\n return;\n }\n if (node.type === 5) {\n rewriteFilter(node.content, context);\n }\n if (node.type === 1) {\n node.props.forEach((prop) => {\n if (prop.type === 7 && prop.name !== \"for\" && prop.exp) {\n rewriteFilter(prop.exp, context);\n }\n });\n }\n};\nfunction rewriteFilter(node, context) {\n if (node.type === 4) {\n parseFilter(node, context);\n } else {\n for (let i = 0; i < node.children.length; i++) {\n const child = node.children[i];\n if (typeof child !== \"object\")\n continue;\n if (child.type === 4) {\n parseFilter(child, context);\n } else if (child.type === 8) {\n rewriteFilter(node, context);\n } else if (child.type === 5) {\n rewriteFilter(child.content, context);\n }\n }\n }\n}\nfunction parseFilter(node, context) {\n const exp = node.content;\n let inSingle = false;\n let inDouble = false;\n let inTemplateString = false;\n let inRegex = false;\n let curly = 0;\n let square = 0;\n let paren = 0;\n let lastFilterIndex = 0;\n let c, prev, i, expression, filters = [];\n for (i = 0; i < exp.length; i++) {\n prev = c;\n c = exp.charCodeAt(i);\n if (inSingle) {\n if (c === 39 && prev !== 92)\n inSingle = false;\n } else if (inDouble) {\n if (c === 34 && prev !== 92)\n inDouble = false;\n } else if (inTemplateString) {\n if (c === 96 && prev !== 92)\n inTemplateString = false;\n } else if (inRegex) {\n if (c === 47 && prev !== 92)\n inRegex = false;\n } else if (c === 124 && // pipe\n exp.charCodeAt(i + 1) !== 124 && exp.charCodeAt(i - 1) !== 124 && !curly && !square && !paren) {\n if (expression === void 0) {\n lastFilterIndex = i + 1;\n expression = exp.slice(0, i).trim();\n } else {\n pushFilter();\n }\n } else {\n switch (c) {\n case 34:\n inDouble = true;\n break;\n case 39:\n inSingle = true;\n break;\n case 96:\n inTemplateString = true;\n break;\n case 40:\n paren++;\n break;\n case 41:\n paren--;\n break;\n case 91:\n square++;\n break;\n case 93:\n square--;\n break;\n case 123:\n curly++;\n break;\n case 125:\n curly--;\n break;\n }\n if (c === 47) {\n let j = i - 1;\n let p;\n for (; j >= 0; j--) {\n p = exp.charAt(j);\n if (p !== \" \")\n break;\n }\n if (!p || !validDivisionCharRE.test(p)) {\n inRegex = true;\n }\n }\n }\n }\n if (expression === void 0) {\n expression = exp.slice(0, i).trim();\n } else if (lastFilterIndex !== 0) {\n pushFilter();\n }\n function pushFilter() {\n filters.push(exp.slice(lastFilterIndex, i).trim());\n lastFilterIndex = i + 1;\n }\n if (filters.length) {\n !!(process.env.NODE_ENV !== \"production\") && warnDeprecation(\n \"COMPILER_FILTERS\",\n context,\n node.loc\n );\n for (i = 0; i < filters.length; i++) {\n expression = wrapFilter(expression, filters[i], context);\n }\n node.content = expression;\n }\n}\nfunction wrapFilter(exp, filter, context) {\n context.helper(RESOLVE_FILTER);\n const i = filter.indexOf(\"(\");\n if (i < 0) {\n context.filters.add(filter);\n return `${toValidAssetId(filter, \"filter\")}(${exp})`;\n } else {\n const name = filter.slice(0, i);\n const args = filter.slice(i + 1);\n context.filters.add(name);\n return `${toValidAssetId(name, \"filter\")}(${exp}${args !== \")\" ? \",\" + args : args}`;\n }\n}\n\nconst seen = /* @__PURE__ */ new WeakSet();\nconst transformMemo = (node, context) => {\n if (node.type === 1) {\n const dir = findDir(node, \"memo\");\n if (!dir || seen.has(node)) {\n return;\n }\n seen.add(node);\n return () => {\n const codegenNode = node.codegenNode || context.currentNode.codegenNode;\n if (codegenNode && codegenNode.type === 13) {\n if (node.tagType !== 1) {\n convertToBlock(codegenNode, context);\n }\n node.codegenNode = createCallExpression(context.helper(WITH_MEMO), [\n dir.exp,\n createFunctionExpression(void 0, codegenNode),\n `_cache`,\n String(context.cached++)\n ]);\n }\n };\n }\n};\n\nfunction getBaseTransformPreset(prefixIdentifiers) {\n return [\n [\n transformOnce,\n transformIf,\n transformMemo,\n transformFor,\n ...[transformFilter] ,\n ...!!(process.env.NODE_ENV !== \"production\") ? [transformExpression] : [],\n transformSlotOutlet,\n transformElement,\n trackSlotScopes,\n transformText\n ],\n {\n on: transformOn,\n bind: transformBind,\n model: transformModel\n }\n ];\n}\nfunction baseCompile(source, options = {}) {\n const onError = options.onError || defaultOnError;\n const isModuleMode = options.mode === \"module\";\n {\n if (options.prefixIdentifiers === true) {\n onError(createCompilerError(47));\n } else if (isModuleMode) {\n onError(createCompilerError(48));\n }\n }\n const prefixIdentifiers = false;\n if (options.cacheHandlers) {\n onError(createCompilerError(49));\n }\n if (options.scopeId && !isModuleMode) {\n onError(createCompilerError(50));\n }\n const resolvedOptions = extend({}, options, {\n prefixIdentifiers\n });\n const ast = isString(source) ? baseParse(source, resolvedOptions) : source;\n const [nodeTransforms, directiveTransforms] = getBaseTransformPreset();\n transform(\n ast,\n extend({}, resolvedOptions, {\n nodeTransforms: [\n ...nodeTransforms,\n ...options.nodeTransforms || []\n // user transforms\n ],\n directiveTransforms: extend(\n {},\n directiveTransforms,\n options.directiveTransforms || {}\n // user transforms\n )\n })\n );\n return generate(ast, resolvedOptions);\n}\n\nconst BindingTypes = {\n \"DATA\": \"data\",\n \"PROPS\": \"props\",\n \"PROPS_ALIASED\": \"props-aliased\",\n \"SETUP_LET\": \"setup-let\",\n \"SETUP_CONST\": \"setup-const\",\n \"SETUP_REACTIVE_CONST\": \"setup-reactive-const\",\n \"SETUP_MAYBE_REF\": \"setup-maybe-ref\",\n \"SETUP_REF\": \"setup-ref\",\n \"OPTIONS\": \"options\",\n \"LITERAL_CONST\": \"literal-const\"\n};\n\nconst noopDirectiveTransform = () => ({ props: [] });\n\nexport { BASE_TRANSITION, BindingTypes, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, CompilerDeprecationTypes, ConstantTypes, ElementTypes, ErrorCodes, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, Namespaces, NodeTypes, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TS_NODE_TYPES, UNREF, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, convertToBlock, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, errorMessages, extractIdentifiers, findDir, findProp, forAliasRE, generate, getBaseTransformPreset, getConstantType, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isCoreComponent, isFunctionType, isInDestructureAssignment, isInNewExpression, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVSlot, locStub, noopDirectiveTransform, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, traverseNode, unwrapTSNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };\n", "/**\n* @vue/compiler-dom v3.4.15\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { registerRuntimeHelpers, createSimpleExpression, createCompilerError, createObjectProperty, getConstantType, createCallExpression, TO_DISPLAY_STRING, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, findDir, isStaticArgOf, transformOn as transformOn$1, isStaticExp, createCompoundExpression, checkCompatEnabled, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core';\nexport * from '@vue/compiler-core';\nimport { isVoidTag, isHTMLTag, isSVGTag, isMathMLTag, parseStringStyle, capitalize, makeMap, extend } from '@vue/shared';\n\nconst V_MODEL_RADIO = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vModelRadio` : ``);\nconst V_MODEL_CHECKBOX = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vModelCheckbox` : ``);\nconst V_MODEL_TEXT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vModelText` : ``);\nconst V_MODEL_SELECT = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vModelSelect` : ``);\nconst V_MODEL_DYNAMIC = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vModelDynamic` : ``);\nconst V_ON_WITH_MODIFIERS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vOnModifiersGuard` : ``);\nconst V_ON_WITH_KEYS = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vOnKeysGuard` : ``);\nconst V_SHOW = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `vShow` : ``);\nconst TRANSITION = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `Transition` : ``);\nconst TRANSITION_GROUP = Symbol(!!(process.env.NODE_ENV !== \"production\") ? `TransitionGroup` : ``);\nregisterRuntimeHelpers({\n [V_MODEL_RADIO]: `vModelRadio`,\n [V_MODEL_CHECKBOX]: `vModelCheckbox`,\n [V_MODEL_TEXT]: `vModelText`,\n [V_MODEL_SELECT]: `vModelSelect`,\n [V_MODEL_DYNAMIC]: `vModelDynamic`,\n [V_ON_WITH_MODIFIERS]: `withModifiers`,\n [V_ON_WITH_KEYS]: `withKeys`,\n [V_SHOW]: `vShow`,\n [TRANSITION]: `Transition`,\n [TRANSITION_GROUP]: `TransitionGroup`\n});\n\nlet decoder;\nfunction decodeHtmlBrowser(raw, asAttr = false) {\n if (!decoder) {\n decoder = document.createElement(\"div\");\n }\n if (asAttr) {\n decoder.innerHTML = `<div foo=\"${raw.replace(/\"/g, \""\")}\">`;\n return decoder.children[0].getAttribute(\"foo\");\n } else {\n decoder.innerHTML = raw;\n return decoder.textContent;\n }\n}\n\nconst parserOptions = {\n parseMode: \"html\",\n isVoidTag,\n isNativeTag: (tag) => isHTMLTag(tag) || isSVGTag(tag) || isMathMLTag(tag),\n isPreTag: (tag) => tag === \"pre\",\n decodeEntities: decodeHtmlBrowser ,\n isBuiltInComponent: (tag) => {\n if (tag === \"Transition\" || tag === \"transition\") {\n return TRANSITION;\n } else if (tag === \"TransitionGroup\" || tag === \"transition-group\") {\n return TRANSITION_GROUP;\n }\n },\n // https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher\n getNamespace(tag, parent, rootNamespace) {\n let ns = parent ? parent.ns : rootNamespace;\n if (parent && ns === 2) {\n if (parent.tag === \"annotation-xml\") {\n if (tag === \"svg\") {\n return 1;\n }\n if (parent.props.some(\n (a) => a.type === 6 && a.name === \"encoding\" && a.value != null && (a.value.content === \"text/html\" || a.value.content === \"application/xhtml+xml\")\n )) {\n ns = 0;\n }\n } else if (/^m(?:[ions]|text)$/.test(parent.tag) && tag !== \"mglyph\" && tag !== \"malignmark\") {\n ns = 0;\n }\n } else if (parent && ns === 1) {\n if (parent.tag === \"foreignObject\" || parent.tag === \"desc\" || parent.tag === \"title\") {\n ns = 0;\n }\n }\n if (ns === 0) {\n if (tag === \"svg\") {\n return 1;\n }\n if (tag === \"math\") {\n return 2;\n }\n }\n return ns;\n }\n};\n\nconst transformStyle = (node) => {\n if (node.type === 1) {\n node.props.forEach((p, i) => {\n if (p.type === 6 && p.name === \"style\" && p.value) {\n node.props[i] = {\n type: 7,\n name: `bind`,\n arg: createSimpleExpression(`style`, true, p.loc),\n exp: parseInlineCSS(p.value.content, p.loc),\n modifiers: [],\n loc: p.loc\n };\n }\n });\n }\n};\nconst parseInlineCSS = (cssText, loc) => {\n const normalized = parseStringStyle(cssText);\n return createSimpleExpression(\n JSON.stringify(normalized),\n false,\n loc,\n 3\n );\n};\n\nfunction createDOMCompilerError(code, loc) {\n return createCompilerError(\n code,\n loc,\n !!(process.env.NODE_ENV !== \"production\") || false ? DOMErrorMessages : void 0\n );\n}\nconst DOMErrorCodes = {\n \"X_V_HTML_NO_EXPRESSION\": 53,\n \"53\": \"X_V_HTML_NO_EXPRESSION\",\n \"X_V_HTML_WITH_CHILDREN\": 54,\n \"54\": \"X_V_HTML_WITH_CHILDREN\",\n \"X_V_TEXT_NO_EXPRESSION\": 55,\n \"55\": \"X_V_TEXT_NO_EXPRESSION\",\n \"X_V_TEXT_WITH_CHILDREN\": 56,\n \"56\": \"X_V_TEXT_WITH_CHILDREN\",\n \"X_V_MODEL_ON_INVALID_ELEMENT\": 57,\n \"57\": \"X_V_MODEL_ON_INVALID_ELEMENT\",\n \"X_V_MODEL_ARG_ON_ELEMENT\": 58,\n \"58\": \"X_V_MODEL_ARG_ON_ELEMENT\",\n \"X_V_MODEL_ON_FILE_INPUT_ELEMENT\": 59,\n \"59\": \"X_V_MODEL_ON_FILE_INPUT_ELEMENT\",\n \"X_V_MODEL_UNNECESSARY_VALUE\": 60,\n \"60\": \"X_V_MODEL_UNNECESSARY_VALUE\",\n \"X_V_SHOW_NO_EXPRESSION\": 61,\n \"61\": \"X_V_SHOW_NO_EXPRESSION\",\n \"X_TRANSITION_INVALID_CHILDREN\": 62,\n \"62\": \"X_TRANSITION_INVALID_CHILDREN\",\n \"X_IGNORED_SIDE_EFFECT_TAG\": 63,\n \"63\": \"X_IGNORED_SIDE_EFFECT_TAG\",\n \"__EXTEND_POINT__\": 64,\n \"64\": \"__EXTEND_POINT__\"\n};\nconst DOMErrorMessages = {\n [53]: `v-html is missing expression.`,\n [54]: `v-html will override element children.`,\n [55]: `v-text is missing expression.`,\n [56]: `v-text will override element children.`,\n [57]: `v-model can only be used on <input>, <textarea> and <select> elements.`,\n [58]: `v-model argument is not supported on plain elements.`,\n [59]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,\n [60]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,\n [61]: `v-show is missing expression.`,\n [62]: `<Transition> expects exactly one child element or component.`,\n [63]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`\n};\n\nconst transformVHtml = (dir, node, context) => {\n const { exp, loc } = dir;\n if (!exp) {\n context.onError(\n createDOMCompilerError(53, loc)\n );\n }\n if (node.children.length) {\n context.onError(\n createDOMCompilerError(54, loc)\n );\n node.children.length = 0;\n }\n return {\n props: [\n createObjectProperty(\n createSimpleExpression(`innerHTML`, true, loc),\n exp || createSimpleExpression(\"\", true)\n )\n ]\n };\n};\n\nconst transformVText = (dir, node, context) => {\n const { exp, loc } = dir;\n if (!exp) {\n context.onError(\n createDOMCompilerError(55, loc)\n );\n }\n if (node.children.length) {\n context.onError(\n createDOMCompilerError(56, loc)\n );\n node.children.length = 0;\n }\n return {\n props: [\n createObjectProperty(\n createSimpleExpression(`textContent`, true),\n exp ? getConstantType(exp, context) > 0 ? exp : createCallExpression(\n context.helperString(TO_DISPLAY_STRING),\n [exp],\n loc\n ) : createSimpleExpression(\"\", true)\n )\n ]\n };\n};\n\nconst transformModel = (dir, node, context) => {\n const baseResult = transformModel$1(dir, node, context);\n if (!baseResult.props.length || node.tagType === 1) {\n return baseResult;\n }\n if (dir.arg) {\n context.onError(\n createDOMCompilerError(\n 58,\n dir.arg.loc\n )\n );\n }\n function checkDuplicatedValue() {\n const value = findDir(node, \"bind\");\n if (value && isStaticArgOf(value.arg, \"value\")) {\n context.onError(\n createDOMCompilerError(\n 60,\n value.loc\n )\n );\n }\n }\n const { tag } = node;\n const isCustomElement = context.isCustomElement(tag);\n if (tag === \"input\" || tag === \"textarea\" || tag === \"select\" || isCustomElement) {\n let directiveToUse = V_MODEL_TEXT;\n let isInvalidType = false;\n if (tag === \"input\" || isCustomElement) {\n const type = findProp(node, `type`);\n if (type) {\n if (type.type === 7) {\n directiveToUse = V_MODEL_DYNAMIC;\n } else if (type.value) {\n switch (type.value.content) {\n case \"radio\":\n directiveToUse = V_MODEL_RADIO;\n break;\n case \"checkbox\":\n directiveToUse = V_MODEL_CHECKBOX;\n break;\n case \"file\":\n isInvalidType = true;\n context.onError(\n createDOMCompilerError(\n 59,\n dir.loc\n )\n );\n break;\n default:\n !!(process.env.NODE_ENV !== \"production\") && checkDuplicatedValue();\n break;\n }\n }\n } else if (hasDynamicKeyVBind(node)) {\n directiveToUse = V_MODEL_DYNAMIC;\n } else {\n !!(process.env.NODE_ENV !== \"production\") && checkDuplicatedValue();\n }\n } else if (tag === \"select\") {\n directiveToUse = V_MODEL_SELECT;\n } else {\n !!(process.env.NODE_ENV !== \"production\") && checkDuplicatedValue();\n }\n if (!isInvalidType) {\n baseResult.needRuntime = context.helper(directiveToUse);\n }\n } else {\n context.onError(\n createDOMCompilerError(\n 57,\n dir.loc\n )\n );\n }\n baseResult.props = baseResult.props.filter(\n (p) => !(p.key.type === 4 && p.key.content === \"modelValue\")\n );\n return baseResult;\n};\n\nconst isEventOptionModifier = /* @__PURE__ */ makeMap(`passive,once,capture`);\nconst isNonKeyModifier = /* @__PURE__ */ makeMap(\n // event propagation management\n `stop,prevent,self,ctrl,shift,alt,meta,exact,middle`\n);\nconst maybeKeyModifier = /* @__PURE__ */ makeMap(\"left,right\");\nconst isKeyboardEvent = /* @__PURE__ */ makeMap(\n `onkeyup,onkeydown,onkeypress`,\n true\n);\nconst resolveModifiers = (key, modifiers, context, loc) => {\n const keyModifiers = [];\n const nonKeyModifiers = [];\n const eventOptionModifiers = [];\n for (let i = 0; i < modifiers.length; i++) {\n const modifier = modifiers[i];\n if (modifier === \"native\" && checkCompatEnabled(\n \"COMPILER_V_ON_NATIVE\",\n context,\n loc\n )) {\n eventOptionModifiers.push(modifier);\n } else if (isEventOptionModifier(modifier)) {\n eventOptionModifiers.push(modifier);\n } else {\n if (maybeKeyModifier(modifier)) {\n if (isStaticExp(key)) {\n if (isKeyboardEvent(key.content)) {\n keyModifiers.push(modifier);\n } else {\n nonKeyModifiers.push(modifier);\n }\n } else {\n keyModifiers.push(modifier);\n nonKeyModifiers.push(modifier);\n }\n } else {\n if (isNonKeyModifier(modifier)) {\n nonKeyModifiers.push(modifier);\n } else {\n keyModifiers.push(modifier);\n }\n }\n }\n }\n return {\n keyModifiers,\n nonKeyModifiers,\n eventOptionModifiers\n };\n};\nconst transformClick = (key, event) => {\n const isStaticClick = isStaticExp(key) && key.content.toLowerCase() === \"onclick\";\n return isStaticClick ? createSimpleExpression(event, true) : key.type !== 4 ? createCompoundExpression([\n `(`,\n key,\n `) === \"onClick\" ? \"${event}\" : (`,\n key,\n `)`\n ]) : key;\n};\nconst transformOn = (dir, node, context) => {\n return transformOn$1(dir, node, context, (baseResult) => {\n const { modifiers } = dir;\n if (!modifiers.length)\n return baseResult;\n let { key, value: handlerExp } = baseResult.props[0];\n const { keyModifiers, nonKeyModifiers, eventOptionModifiers } = resolveModifiers(key, modifiers, context, dir.loc);\n if (nonKeyModifiers.includes(\"right\")) {\n key = transformClick(key, `onContextmenu`);\n }\n if (nonKeyModifiers.includes(\"middle\")) {\n key = transformClick(key, `onMouseup`);\n }\n if (nonKeyModifiers.length) {\n handlerExp = createCallExpression(context.helper(V_ON_WITH_MODIFIERS), [\n handlerExp,\n JSON.stringify(nonKeyModifiers)\n ]);\n }\n if (keyModifiers.length && // if event name is dynamic, always wrap with keys guard\n (!isStaticExp(key) || isKeyboardEvent(key.content))) {\n handlerExp = createCallExpression(context.helper(V_ON_WITH_KEYS), [\n handlerExp,\n JSON.stringify(keyModifiers)\n ]);\n }\n if (eventOptionModifiers.length) {\n const modifierPostfix = eventOptionModifiers.map(capitalize).join(\"\");\n key = isStaticExp(key) ? createSimpleExpression(`${key.content}${modifierPostfix}`, true) : createCompoundExpression([`(`, key, `) + \"${modifierPostfix}\"`]);\n }\n return {\n props: [createObjectProperty(key, handlerExp)]\n };\n });\n};\n\nconst transformShow = (dir, node, context) => {\n const { exp, loc } = dir;\n if (!exp) {\n context.onError(\n createDOMCompilerError(61, loc)\n );\n }\n return {\n props: [],\n needRuntime: context.helper(V_SHOW)\n };\n};\n\nconst transformTransition = (node, context) => {\n if (node.type === 1 && node.tagType === 1) {\n const component = context.isBuiltInComponent(node.tag);\n if (component === TRANSITION) {\n return () => {\n if (!node.children.length) {\n return;\n }\n if (hasMultipleChildren(node)) {\n context.onError(\n createDOMCompilerError(\n 62,\n {\n start: node.children[0].loc.start,\n end: node.children[node.children.length - 1].loc.end,\n source: \"\"\n }\n )\n );\n }\n const child = node.children[0];\n if (child.type === 1) {\n for (const p of child.props) {\n if (p.type === 7 && p.name === \"show\") {\n node.props.push({\n type: 6,\n name: \"persisted\",\n nameLoc: node.loc,\n value: void 0,\n loc: node.loc\n });\n }\n }\n }\n };\n }\n }\n};\nfunction hasMultipleChildren(node) {\n const children = node.children = node.children.filter(\n (c) => c.type !== 3 && !(c.type === 2 && !c.content.trim())\n );\n const child = children[0];\n return children.length !== 1 || child.type === 11 || child.type === 9 && child.branches.some(hasMultipleChildren);\n}\n\nconst ignoreSideEffectTags = (node, context) => {\n if (node.type === 1 && node.tagType === 0 && (node.tag === \"script\" || node.tag === \"style\")) {\n !!(process.env.NODE_ENV !== \"production\") && context.onError(\n createDOMCompilerError(\n 63,\n node.loc\n )\n );\n context.removeNode();\n }\n};\n\nconst DOMNodeTransforms = [\n transformStyle,\n ...!!(process.env.NODE_ENV !== \"production\") ? [transformTransition] : []\n];\nconst DOMDirectiveTransforms = {\n cloak: noopDirectiveTransform,\n html: transformVHtml,\n text: transformVText,\n model: transformModel,\n // override compiler-core\n on: transformOn,\n // override compiler-core\n show: transformShow\n};\nfunction compile(src, options = {}) {\n return baseCompile(\n src,\n extend({}, parserOptions, options, {\n nodeTransforms: [\n // ignore <script> and <tag>\n // this is not put inside DOMNodeTransforms because that list is used\n // by compiler-ssr to generate vnode fallback branches\n ignoreSideEffectTags,\n ...DOMNodeTransforms,\n ...options.nodeTransforms || []\n ],\n directiveTransforms: extend(\n {},\n DOMDirectiveTransforms,\n options.directiveTransforms || {}\n ),\n transformHoist: null \n })\n );\n}\nfunction parse(template, options = {}) {\n return baseParse(template, extend({}, parserOptions, options));\n}\n\nexport { DOMDirectiveTransforms, DOMErrorCodes, DOMErrorMessages, DOMNodeTransforms, TRANSITION, TRANSITION_GROUP, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, compile, createDOMCompilerError, parse, parserOptions, transformStyle };\n", "/**\n* @vue/shared v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nfunction makeMap(str, expectsLowerCase) {\n const set = new Set(str.split(\",\"));\n return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction((str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n});\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STYLE\",\n \"PROPS\": 8,\n \"8\": \"PROPS\",\n \"FULL_PROPS\": 16,\n \"16\": \"FULL_PROPS\",\n \"NEED_HYDRATION\": 32,\n \"32\": \"NEED_HYDRATION\",\n \"STABLE_FRAGMENT\": 64,\n \"64\": \"STABLE_FRAGMENT\",\n \"KEYED_FRAGMENT\": 128,\n \"128\": \"KEYED_FRAGMENT\",\n \"UNKEYED_FRAGMENT\": 256,\n \"256\": \"UNKEYED_FRAGMENT\",\n \"NEED_PATCH\": 512,\n \"512\": \"NEED_PATCH\",\n \"DYNAMIC_SLOTS\": 1024,\n \"1024\": \"DYNAMIC_SLOTS\",\n \"DEV_ROOT_FRAGMENT\": 2048,\n \"2048\": \"DEV_ROOT_FRAGMENT\",\n \"HOISTED\": -1,\n \"-1\": \"HOISTED\",\n \"BAIL\": -2,\n \"-2\": \"BAIL\"\n};\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `NEED_HYDRATION`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\n\nconst ShapeFlags = {\n \"ELEMENT\": 1,\n \"1\": \"ELEMENT\",\n \"FUNCTIONAL_COMPONENT\": 2,\n \"2\": \"FUNCTIONAL_COMPONENT\",\n \"STATEFUL_COMPONENT\": 4,\n \"4\": \"STATEFUL_COMPONENT\",\n \"TEXT_CHILDREN\": 8,\n \"8\": \"TEXT_CHILDREN\",\n \"ARRAY_CHILDREN\": 16,\n \"16\": \"ARRAY_CHILDREN\",\n \"SLOTS_CHILDREN\": 32,\n \"32\": \"SLOTS_CHILDREN\",\n \"TELEPORT\": 64,\n \"64\": \"TELEPORT\",\n \"SUSPENSE\": 128,\n \"128\": \"SUSPENSE\",\n \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n \"COMPONENT_KEPT_ALIVE\": 512,\n \"512\": \"COMPONENT_KEPT_ALIVE\",\n \"COMPONENT\": 6,\n \"6\": \"COMPONENT\"\n};\n\nconst SlotFlags = {\n \"STABLE\": 1,\n \"1\": \"STABLE\",\n \"DYNAMIC\": 2,\n \"2\": \"DYNAMIC\",\n \"FORWARDED\": 3,\n \"3\": \"FORWARDED\"\n};\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error\";\nconst isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\nconst isGloballyWhitelisted = isGloballyAllowed;\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value) || isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = \"\";\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) || typeof value === \"number\") {\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\nfunction isRenderableAttrValue(value) {\n if (value == null) {\n return false;\n }\n const type = typeof value;\n return type === \"string\" || type === \"number\" || type === \"boolean\";\n}\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\nfunction escapeHtmlComment(src) {\n return src.replace(commentStripRE, \"\");\n}\n\nfunction looseCompareArrays(a, b) {\n if (a.length !== b.length)\n return false;\n let equal = true;\n for (let i = 0; equal && i < a.length; i++) {\n equal = looseEqual(a[i], b[i]);\n }\n return equal;\n}\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n let aValidType = isDate(a);\n let bValidType = isDate(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n }\n aValidType = isSymbol(a);\n bValidType = isSymbol(b);\n if (aValidType || bValidType) {\n return a === b;\n }\n aValidType = isArray(a);\n bValidType = isArray(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n }\n aValidType = isObject(a);\n bValidType = isObject(b);\n if (aValidType || bValidType) {\n if (!aValidType || !bValidType) {\n return false;\n }\n const aKeysCount = Object.keys(a).length;\n const bKeysCount = Object.keys(b).length;\n if (aKeysCount !== bKeysCount) {\n return false;\n }\n for (const key in a) {\n const aHasKey = a.hasOwnProperty(key);\n const bHasKey = b.hasOwnProperty(key);\n if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n return false;\n }\n }\n }\n return String(a) === String(b);\n}\nfunction looseIndexOf(arr, val) {\n return arr.findIndex((item) => looseEqual(item, val));\n}\n\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (val && val.__v_isRef) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce(\n (entries, [key, val2], i) => {\n entries[stringifySymbol(key, i) + \" =>\"] = val2;\n return entries;\n },\n {}\n )\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n };\n } else if (isSymbol(val)) {\n return stringifySymbol(val);\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\nconst stringifySymbol = (v, i = \"\") => {\n var _a;\n return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n", "/**\n* @vue/server-renderer v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { createVNode, ssrContextKey, warn as warn$2, Fragment, Static, Comment, Text, mergeProps, ssrUtils, createApp, initDirectivesForSSR } from 'vue';\nimport { makeMap, isOn, isRenderableAttrValue, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, escapeHtml, normalizeClass, isString, normalizeStyle, stringifyStyle, isArray, toDisplayString, isFunction, getGlobalThis, NOOP, isObject, looseEqual, looseIndexOf, isPromise, escapeHtmlComment, isVoidTag } from '@vue/shared';\nexport { includeBooleanAttr as ssrIncludeBooleanAttr } from '@vue/shared';\n\nconst shouldIgnoreProp = makeMap(\n `,key,ref,innerHTML,textContent,ref_key,ref_for`\n);\nfunction ssrRenderAttrs(props, tag) {\n let ret = \"\";\n for (const key in props) {\n if (shouldIgnoreProp(key) || isOn(key) || tag === \"textarea\" && key === \"value\") {\n continue;\n }\n const value = props[key];\n if (key === \"class\") {\n ret += ` class=\"${ssrRenderClass(value)}\"`;\n } else if (key === \"style\") {\n ret += ` style=\"${ssrRenderStyle(value)}\"`;\n } else {\n ret += ssrRenderDynamicAttr(key, value, tag);\n }\n }\n return ret;\n}\nfunction ssrRenderDynamicAttr(key, value, tag) {\n if (!isRenderableAttrValue(value)) {\n return ``;\n }\n const attrKey = tag && (tag.indexOf(\"-\") > 0 || isSVGTag(tag)) ? key : propsToAttrMap[key] || key.toLowerCase();\n if (isBooleanAttr(attrKey)) {\n return includeBooleanAttr(value) ? ` ${attrKey}` : ``;\n } else if (isSSRSafeAttrName(attrKey)) {\n return value === \"\" ? ` ${attrKey}` : ` ${attrKey}=\"${escapeHtml(value)}\"`;\n } else {\n console.warn(\n `[@vue/server-renderer] Skipped rendering unsafe attribute name: ${attrKey}`\n );\n return ``;\n }\n}\nfunction ssrRenderAttr(key, value) {\n if (!isRenderableAttrValue(value)) {\n return ``;\n }\n return ` ${key}=\"${escapeHtml(value)}\"`;\n}\nfunction ssrRenderClass(raw) {\n return escapeHtml(normalizeClass(raw));\n}\nfunction ssrRenderStyle(raw) {\n if (!raw) {\n return \"\";\n }\n if (isString(raw)) {\n return escapeHtml(raw);\n }\n const styles = normalizeStyle(raw);\n return escapeHtml(stringifyStyle(styles));\n}\n\nfunction ssrRenderComponent(comp, props = null, children = null, parentComponent = null, slotScopeId) {\n return renderComponentVNode(\n createVNode(comp, props, children),\n parentComponent,\n slotScopeId\n );\n}\n\nfunction ssrRenderSlot(slots, slotName, slotProps, fallbackRenderFn, push, parentComponent, slotScopeId) {\n push(`<!--[-->`);\n ssrRenderSlotInner(\n slots,\n slotName,\n slotProps,\n fallbackRenderFn,\n push,\n parentComponent,\n slotScopeId\n );\n push(`<!--]-->`);\n}\nfunction ssrRenderSlotInner(slots, slotName, slotProps, fallbackRenderFn, push, parentComponent, slotScopeId, transition) {\n const slotFn = slots[slotName];\n if (slotFn) {\n const slotBuffer = [];\n const bufferedPush = (item) => {\n slotBuffer.push(item);\n };\n const ret = slotFn(\n slotProps,\n bufferedPush,\n parentComponent,\n slotScopeId ? \" \" + slotScopeId : \"\"\n );\n if (isArray(ret)) {\n renderVNodeChildren(push, ret, parentComponent, slotScopeId);\n } else {\n let isEmptySlot = true;\n if (transition) {\n isEmptySlot = false;\n } else {\n for (let i = 0; i < slotBuffer.length; i++) {\n if (!isComment(slotBuffer[i])) {\n isEmptySlot = false;\n break;\n }\n }\n }\n if (isEmptySlot) {\n if (fallbackRenderFn) {\n fallbackRenderFn();\n }\n } else {\n let start = 0;\n let end = slotBuffer.length;\n if (transition && slotBuffer[0] === \"<!--[-->\" && slotBuffer[end - 1] === \"<!--]-->\") {\n start++;\n end--;\n }\n for (let i = start; i < end; i++) {\n push(slotBuffer[i]);\n }\n }\n }\n } else if (fallbackRenderFn) {\n fallbackRenderFn();\n }\n}\nconst commentTestRE = /^<!--.*-->$/s;\nconst commentRE = /<!--[^]*?-->/gm;\nfunction isComment(item) {\n if (typeof item !== \"string\" || !commentTestRE.test(item))\n return false;\n if (item.length <= 8)\n return true;\n return !item.replace(commentRE, \"\").trim();\n}\n\nfunction ssrRenderTeleport(parentPush, contentRenderFn, target, disabled, parentComponent) {\n parentPush(\"<!--teleport start-->\");\n const context = parentComponent.appContext.provides[ssrContextKey];\n const teleportBuffers = context.__teleportBuffers || (context.__teleportBuffers = {});\n const targetBuffer = teleportBuffers[target] || (teleportBuffers[target] = []);\n const bufferIndex = targetBuffer.length;\n let teleportContent;\n if (disabled) {\n contentRenderFn(parentPush);\n teleportContent = `<!--teleport anchor-->`;\n } else {\n const { getBuffer, push } = createBuffer();\n contentRenderFn(push);\n push(`<!--teleport anchor-->`);\n teleportContent = getBuffer();\n }\n targetBuffer.splice(bufferIndex, 0, teleportContent);\n parentPush(\"<!--teleport end-->\");\n}\n\nfunction ssrInterpolate(value) {\n return escapeHtml(toDisplayString(value));\n}\n\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\n\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn$1(msg, ...args) {\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.map((a) => {\n var _a, _b;\n return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);\n }).join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n try {\n return args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : `https://vuejs.org/error-reference/#runtime-${type}`;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet devtools;\nlet buffer = [];\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n buffer = [];\n }\n }, 3e3);\n } else {\n buffer = [];\n }\n}\n\n{\n const g = getGlobalThis();\n const registerGlobalSetter = (key, setter) => {\n let setters;\n if (!(setters = g[key]))\n setters = g[key] = [];\n setters.push(setter);\n return (v) => {\n if (setters.length > 1)\n setters.forEach((set) => set(v));\n else\n setters[0](v);\n };\n };\n registerGlobalSetter(\n `__VUE_INSTANCE_SETTERS__`,\n (v) => v\n );\n registerGlobalSetter(\n `__VUE_SSR_SETTERS__`,\n (v) => v\n );\n}\nconst classifyRE = /(?:^|[-_])(\\w)/g;\nconst classify = (str) => str.replace(classifyRE, (c) => c.toUpperCase()).replace(/[-_]/g, \"\");\nfunction getComponentName(Component, includeInferred = true) {\n return isFunction(Component) ? Component.displayName || Component.name : Component.name || includeInferred && Component.__name;\n}\nfunction formatComponentName(instance, Component, isRoot = false) {\n let name = getComponentName(Component);\n if (!name && Component.__file) {\n const match = Component.__file.match(/([^/\\\\]+)\\.\\w+$/);\n if (match) {\n name = match[1];\n }\n }\n if (!name && instance && instance.parent) {\n const inferFromRegistry = (registry) => {\n for (const key in registry) {\n if (registry[key] === Component) {\n return key;\n }\n }\n };\n name = inferFromRegistry(\n instance.components || instance.parent.type.components\n ) || inferFromRegistry(instance.appContext.components);\n }\n return name ? classify(name) : isRoot ? `App` : `Anonymous`;\n}\n\nconst warn = !!(process.env.NODE_ENV !== \"production\") ? warn$1 : NOOP;\n!!(process.env.NODE_ENV !== \"production\") || true ? devtools : void 0;\n!!(process.env.NODE_ENV !== \"production\") || true ? setDevtoolsHook : NOOP;\n\nfunction ssrRenderList(source, renderItem) {\n if (isArray(source) || isString(source)) {\n for (let i = 0, l = source.length; i < l; i++) {\n renderItem(source[i], i);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n return;\n }\n for (let i = 0; i < source; i++) {\n renderItem(i + 1, i);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n const arr = Array.from(source);\n for (let i = 0, l = arr.length; i < l; i++) {\n renderItem(arr[i], i);\n }\n } else {\n const keys = Object.keys(source);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n renderItem(source[key], key, i);\n }\n }\n }\n}\n\nasync function ssrRenderSuspense(push, { default: renderContent }) {\n if (renderContent) {\n renderContent();\n } else {\n push(`<!---->`);\n }\n}\n\nfunction ssrGetDirectiveProps(instance, dir, value, arg, modifiers = {}) {\n if (typeof dir !== \"function\" && dir.getSSRProps) {\n return dir.getSSRProps(\n {\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n },\n null\n ) || {};\n }\n return {};\n}\n\nconst ssrLooseEqual = looseEqual;\nfunction ssrLooseContain(arr, value) {\n return looseIndexOf(arr, value) > -1;\n}\nfunction ssrRenderDynamicModel(type, model, value) {\n switch (type) {\n case \"radio\":\n return looseEqual(model, value) ? \" checked\" : \"\";\n case \"checkbox\":\n return (isArray(model) ? ssrLooseContain(model, value) : model) ? \" checked\" : \"\";\n default:\n return ssrRenderAttr(\"value\", model);\n }\n}\nfunction ssrGetDynamicModelProps(existingProps = {}, model) {\n const { type, value } = existingProps;\n switch (type) {\n case \"radio\":\n return looseEqual(model, value) ? { checked: true } : null;\n case \"checkbox\":\n return (isArray(model) ? ssrLooseContain(model, value) : model) ? { checked: true } : null;\n default:\n return { value: model };\n }\n}\n\nfunction ssrCompile(template, instance) {\n {\n throw new Error(\n `On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.`\n );\n }\n}\n\nconst {\n createComponentInstance,\n setCurrentRenderingInstance,\n setupComponent,\n renderComponentRoot,\n normalizeVNode\n} = ssrUtils;\nfunction createBuffer() {\n let appendable = false;\n const buffer = [];\n return {\n getBuffer() {\n return buffer;\n },\n push(item) {\n const isStringItem = isString(item);\n if (appendable && isStringItem) {\n buffer[buffer.length - 1] += item;\n } else {\n buffer.push(item);\n }\n appendable = isStringItem;\n if (isPromise(item) || isArray(item) && item.hasAsync) {\n buffer.hasAsync = true;\n }\n }\n };\n}\nfunction renderComponentVNode(vnode, parentComponent = null, slotScopeId) {\n const instance = createComponentInstance(vnode, parentComponent, null);\n const res = setupComponent(\n instance,\n true\n /* isSSR */\n );\n const hasAsyncSetup = isPromise(res);\n const prefetches = instance.sp;\n if (hasAsyncSetup || prefetches) {\n let p = hasAsyncSetup ? res : Promise.resolve();\n if (prefetches) {\n p = p.then(\n () => Promise.all(\n prefetches.map((prefetch) => prefetch.call(instance.proxy))\n )\n ).catch(NOOP);\n }\n return p.then(() => renderComponentSubTree(instance, slotScopeId));\n } else {\n return renderComponentSubTree(instance, slotScopeId);\n }\n}\nfunction renderComponentSubTree(instance, slotScopeId) {\n const comp = instance.type;\n const { getBuffer, push } = createBuffer();\n if (isFunction(comp)) {\n let root = renderComponentRoot(instance);\n if (!comp.props) {\n for (const key in instance.attrs) {\n if (key.startsWith(`data-v-`)) {\n (root.props || (root.props = {}))[key] = ``;\n }\n }\n }\n renderVNode(push, instance.subTree = root, instance, slotScopeId);\n } else {\n if ((!instance.render || instance.render === NOOP) && !instance.ssrRender && !comp.ssrRender && isString(comp.template)) {\n comp.ssrRender = ssrCompile(comp.template);\n }\n for (const e of instance.scope.effects) {\n if (e.computed) {\n e.computed._dirty = true;\n e.computed._cacheable = true;\n }\n }\n const ssrRender = instance.ssrRender || comp.ssrRender;\n if (ssrRender) {\n let attrs = instance.inheritAttrs !== false ? instance.attrs : void 0;\n let hasCloned = false;\n let cur = instance;\n while (true) {\n const scopeId = cur.vnode.scopeId;\n if (scopeId) {\n if (!hasCloned) {\n attrs = { ...attrs };\n hasCloned = true;\n }\n attrs[scopeId] = \"\";\n }\n const parent = cur.parent;\n if (parent && parent.subTree && parent.subTree === cur.vnode) {\n cur = parent;\n } else {\n break;\n }\n }\n if (slotScopeId) {\n if (!hasCloned)\n attrs = { ...attrs };\n attrs[slotScopeId.trim()] = \"\";\n }\n const prev = setCurrentRenderingInstance(instance);\n try {\n ssrRender(\n instance.proxy,\n push,\n instance,\n attrs,\n // compiler-optimized bindings\n instance.props,\n instance.setupState,\n instance.data,\n instance.ctx\n );\n } finally {\n setCurrentRenderingInstance(prev);\n }\n } else if (instance.render && instance.render !== NOOP) {\n renderVNode(\n push,\n instance.subTree = renderComponentRoot(instance),\n instance,\n slotScopeId\n );\n } else {\n const componentName = comp.name || comp.__file || `<Anonymous>`;\n warn$2(`Component ${componentName} is missing template or render function.`);\n push(`<!---->`);\n }\n }\n return getBuffer();\n}\nfunction renderVNode(push, vnode, parentComponent, slotScopeId) {\n const { type, shapeFlag, children } = vnode;\n switch (type) {\n case Text:\n push(escapeHtml(children));\n break;\n case Comment:\n push(\n children ? `<!--${escapeHtmlComment(children)}-->` : `<!---->`\n );\n break;\n case Static:\n push(children);\n break;\n case Fragment:\n if (vnode.slotScopeIds) {\n slotScopeId = (slotScopeId ? slotScopeId + \" \" : \"\") + vnode.slotScopeIds.join(\" \");\n }\n push(`<!--[-->`);\n renderVNodeChildren(\n push,\n children,\n parentComponent,\n slotScopeId\n );\n push(`<!--]-->`);\n break;\n default:\n if (shapeFlag & 1) {\n renderElementVNode(push, vnode, parentComponent, slotScopeId);\n } else if (shapeFlag & 6) {\n push(renderComponentVNode(vnode, parentComponent, slotScopeId));\n } else if (shapeFlag & 64) {\n renderTeleportVNode(push, vnode, parentComponent, slotScopeId);\n } else if (shapeFlag & 128) {\n renderVNode(push, vnode.ssContent, parentComponent, slotScopeId);\n } else {\n warn$2(\n \"[@vue/server-renderer] Invalid VNode type:\",\n type,\n `(${typeof type})`\n );\n }\n }\n}\nfunction renderVNodeChildren(push, children, parentComponent, slotScopeId) {\n for (let i = 0; i < children.length; i++) {\n renderVNode(push, normalizeVNode(children[i]), parentComponent, slotScopeId);\n }\n}\nfunction renderElementVNode(push, vnode, parentComponent, slotScopeId) {\n const tag = vnode.type;\n let { props, children, shapeFlag, scopeId, dirs } = vnode;\n let openTag = `<${tag}`;\n if (dirs) {\n props = applySSRDirectives(vnode, props, dirs);\n }\n if (props) {\n openTag += ssrRenderAttrs(props, tag);\n }\n if (scopeId) {\n openTag += ` ${scopeId}`;\n }\n let curParent = parentComponent;\n let curVnode = vnode;\n while (curParent && curVnode === curParent.subTree) {\n curVnode = curParent.vnode;\n if (curVnode.scopeId) {\n openTag += ` ${curVnode.scopeId}`;\n }\n curParent = curParent.parent;\n }\n if (slotScopeId) {\n openTag += ` ${slotScopeId}`;\n }\n push(openTag + `>`);\n if (!isVoidTag(tag)) {\n let hasChildrenOverride = false;\n if (props) {\n if (props.innerHTML) {\n hasChildrenOverride = true;\n push(props.innerHTML);\n } else if (props.textContent) {\n hasChildrenOverride = true;\n push(escapeHtml(props.textContent));\n } else if (tag === \"textarea\" && props.value) {\n hasChildrenOverride = true;\n push(escapeHtml(props.value));\n }\n }\n if (!hasChildrenOverride) {\n if (shapeFlag & 8) {\n push(escapeHtml(children));\n } else if (shapeFlag & 16) {\n renderVNodeChildren(\n push,\n children,\n parentComponent,\n slotScopeId\n );\n }\n }\n push(`</${tag}>`);\n }\n}\nfunction applySSRDirectives(vnode, rawProps, dirs) {\n const toMerge = [];\n for (let i = 0; i < dirs.length; i++) {\n const binding = dirs[i];\n const {\n dir: { getSSRProps }\n } = binding;\n if (getSSRProps) {\n const props = getSSRProps(binding, vnode);\n if (props)\n toMerge.push(props);\n }\n }\n return mergeProps(rawProps || {}, ...toMerge);\n}\nfunction renderTeleportVNode(push, vnode, parentComponent, slotScopeId) {\n const target = vnode.props && vnode.props.to;\n const disabled = vnode.props && vnode.props.disabled;\n if (!target) {\n if (!disabled) {\n warn$2(`[@vue/server-renderer] Teleport is missing target prop.`);\n }\n return [];\n }\n if (!isString(target)) {\n warn$2(\n `[@vue/server-renderer] Teleport target must be a query selector string.`\n );\n return [];\n }\n ssrRenderTeleport(\n push,\n (push2) => {\n renderVNodeChildren(\n push2,\n vnode.children,\n parentComponent,\n slotScopeId\n );\n },\n target,\n disabled || disabled === \"\",\n parentComponent\n );\n}\n\nconst { isVNode: isVNode$1 } = ssrUtils;\nasync function unrollBuffer$1(buffer) {\n if (buffer.hasAsync) {\n let ret = \"\";\n for (let i = 0; i < buffer.length; i++) {\n let item = buffer[i];\n if (isPromise(item)) {\n item = await item;\n }\n if (isString(item)) {\n ret += item;\n } else {\n ret += await unrollBuffer$1(item);\n }\n }\n return ret;\n } else {\n return unrollBufferSync$1(buffer);\n }\n}\nfunction unrollBufferSync$1(buffer) {\n let ret = \"\";\n for (let i = 0; i < buffer.length; i++) {\n let item = buffer[i];\n if (isString(item)) {\n ret += item;\n } else {\n ret += unrollBufferSync$1(item);\n }\n }\n return ret;\n}\nasync function renderToString(input, context = {}) {\n if (isVNode$1(input)) {\n return renderToString(createApp({ render: () => input }), context);\n }\n const vnode = createVNode(input._component, input._props);\n vnode.appContext = input._context;\n input.provide(ssrContextKey, context);\n const buffer = await renderComponentVNode(vnode);\n const result = await unrollBuffer$1(buffer);\n await resolveTeleports(context);\n if (context.__watcherHandles) {\n for (const unwatch of context.__watcherHandles) {\n unwatch();\n }\n }\n return result;\n}\nasync function resolveTeleports(context) {\n if (context.__teleportBuffers) {\n context.teleports = context.teleports || {};\n for (const key in context.__teleportBuffers) {\n context.teleports[key] = await unrollBuffer$1(\n await Promise.all([context.__teleportBuffers[key]])\n );\n }\n }\n}\n\nconst { isVNode } = ssrUtils;\nasync function unrollBuffer(buffer, stream) {\n if (buffer.hasAsync) {\n for (let i = 0; i < buffer.length; i++) {\n let item = buffer[i];\n if (isPromise(item)) {\n item = await item;\n }\n if (isString(item)) {\n stream.push(item);\n } else {\n await unrollBuffer(item, stream);\n }\n }\n } else {\n unrollBufferSync(buffer, stream);\n }\n}\nfunction unrollBufferSync(buffer, stream) {\n for (let i = 0; i < buffer.length; i++) {\n let item = buffer[i];\n if (isString(item)) {\n stream.push(item);\n } else {\n unrollBufferSync(item, stream);\n }\n }\n}\nfunction renderToSimpleStream(input, context, stream) {\n if (isVNode(input)) {\n return renderToSimpleStream(\n createApp({ render: () => input }),\n context,\n stream\n );\n }\n const vnode = createVNode(input._component, input._props);\n vnode.appContext = input._context;\n input.provide(ssrContextKey, context);\n Promise.resolve(renderComponentVNode(vnode)).then((buffer) => unrollBuffer(buffer, stream)).then(() => resolveTeleports(context)).then(() => {\n if (context.__watcherHandles) {\n for (const unwatch of context.__watcherHandles) {\n unwatch();\n }\n }\n }).then(() => stream.push(null)).catch((error) => {\n stream.destroy(error);\n });\n return stream;\n}\nfunction renderToStream(input, context = {}) {\n console.warn(\n `[@vue/server-renderer] renderToStream is deprecated - use renderToNodeStream instead.`\n );\n return renderToNodeStream(input, context);\n}\nfunction renderToNodeStream(input, context = {}) {\n {\n throw new Error(\n `ESM build of renderToStream() does not support renderToNodeStream(). Use pipeToNodeWritable() with an existing Node.js Writable stream instance instead.`\n );\n }\n}\nfunction pipeToNodeWritable(input, context = {}, writable) {\n renderToSimpleStream(input, context, {\n push(content) {\n if (content != null) {\n writable.write(content);\n } else {\n writable.end();\n }\n },\n destroy(err) {\n writable.destroy(err);\n }\n });\n}\nfunction renderToWebStream(input, context = {}) {\n if (typeof ReadableStream !== \"function\") {\n throw new Error(\n `ReadableStream constructor is not available in the global scope. If the target environment does support web streams, consider using pipeToWebWritable() with an existing WritableStream instance instead.`\n );\n }\n const encoder = new TextEncoder();\n let cancelled = false;\n return new ReadableStream({\n start(controller) {\n renderToSimpleStream(input, context, {\n push(content) {\n if (cancelled)\n return;\n if (content != null) {\n controller.enqueue(encoder.encode(content));\n } else {\n controller.close();\n }\n },\n destroy(err) {\n controller.error(err);\n }\n });\n },\n cancel() {\n cancelled = true;\n }\n });\n}\nfunction pipeToWebWritable(input, context = {}, writable) {\n const writer = writable.getWriter();\n const encoder = new TextEncoder();\n let hasReady = false;\n try {\n hasReady = isPromise(writer.ready);\n } catch (e) {\n }\n renderToSimpleStream(input, context, {\n async push(content) {\n if (hasReady) {\n await writer.ready;\n }\n if (content != null) {\n return writer.write(encoder.encode(content));\n } else {\n return writer.close();\n }\n },\n destroy(err) {\n console.log(err);\n writer.close();\n }\n });\n}\n\ninitDirectivesForSSR();\n\nexport { pipeToNodeWritable, pipeToWebWritable, renderToNodeStream, renderToSimpleStream, renderToStream, renderToString, renderToWebStream, ssrGetDirectiveProps, ssrGetDynamicModelProps, ssrInterpolate, ssrLooseContain, ssrLooseEqual, ssrRenderAttr, ssrRenderAttrs, ssrRenderClass, ssrRenderComponent, ssrRenderDynamicAttr, ssrRenderDynamicModel, ssrRenderList, ssrRenderSlot, ssrRenderSlotInner, ssrRenderStyle, ssrRenderSuspense, ssrRenderTeleport, renderVNode as ssrRenderVNode };\n", "\n/**\n * @cypress/vue v0.0.0-development\n * (c) 2024 Cypress.io\n * Released under the MIT License\n */\n\nimport * as Vue from 'vue';\nimport { nextTick, defineComponent, computed, h, shallowReactive, reactive, isRef, ref, createApp, transformVNodeArgs, setDevtoolsHook, Transition, BaseTransition, TransitionGroup } from 'vue';\nimport { compile } from '@vue/compiler-dom';\nimport { renderToString as renderToString$1 } from '@vue/server-renderer';\n\n/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\n\nfunction __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nconst ROOT_SELECTOR = '[data-cy-root]';\n/**\n * Gets the root element used to mount the component.\n * @returns {HTMLElement} The root element\n * @throws {Error} If the root element is not found\n */\nconst getContainerEl = () => {\n const el = document.querySelector(ROOT_SELECTOR);\n if (el) {\n return el;\n }\n throw Error(`No element found that matches selector ${ROOT_SELECTOR}. Please add a root element with data-cy-root attribute to your \"component-index.html\" file so that Cypress can attach your component to the DOM.`);\n};\nfunction checkForRemovedStyleOptions(mountingOptions) {\n for (const key of ['cssFile', 'cssFiles', 'style', 'styles', 'stylesheet', 'stylesheets']) {\n if (mountingOptions[key]) {\n Cypress.utils.throwErrByPath('mount.removed_style_mounting_options', key);\n }\n }\n}\n/**\n * Utility function to register CT side effects and run cleanup code during the \"test:before:run\" Cypress hook\n * @param optionalCallback Callback to be called before the next test runs\n */\nfunction setupHooks(optionalCallback) {\n // We don't want CT side effects to run when e2e\n // testing so we early return.\n // System test to verify CT side effects do not pollute e2e: system-tests/test/e2e_with_mount_import_spec.ts\n if (Cypress.testingType !== 'component') {\n return;\n }\n // When running component specs, we cannot allow \"cy.visit\"\n // because it will wipe out our preparation work, and does not make much sense\n // thus we overwrite \"cy.visit\" to throw an error\n Cypress.Commands.overwrite('visit', () => {\n throw new Error('cy.visit from a component spec is not allowed');\n });\n Cypress.Commands.overwrite('session', () => {\n throw new Error('cy.session from a component spec is not allowed');\n });\n Cypress.Commands.overwrite('origin', () => {\n throw new Error('cy.origin from a component spec is not allowed');\n });\n // @ts-ignore\n Cypress.on('test:before:after:run:async', () => {\n optionalCallback === null || optionalCallback === void 0 ? void 0 : optionalCallback();\n });\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nfunction __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\n\nvar Pluggable = /** @class */ (function () {\n function Pluggable() {\n this.installedPlugins = [];\n }\n Pluggable.prototype.install = function (handler, options) {\n if (typeof handler !== 'function') {\n console.error('plugin.install must receive a function');\n handler = function () { return ({}); };\n }\n this.installedPlugins.push({ handler: handler, options: options });\n };\n Pluggable.prototype.extend = function (instance) {\n var invokeSetup = function (_a) {\n var handler = _a.handler, options = _a.options;\n return handler(instance, options); // invoke the setup method passed to install\n };\n var bindProperty = function (_a) {\n var property = _a[0], value = _a[1];\n instance[property] =\n typeof value === 'function' ? value.bind(instance) : value;\n };\n var addAllPropertiesFromSetup = function (setupResult) {\n setupResult = typeof setupResult === 'object' ? setupResult : {};\n Object.entries(setupResult).forEach(bindProperty);\n };\n this.installedPlugins.map(invokeSetup).forEach(addAllPropertiesFromSetup);\n };\n /** For testing */\n Pluggable.prototype.reset = function () {\n this.installedPlugins = [];\n };\n return Pluggable;\n}());\nvar config = {\n global: {\n stubs: {\n transition: true,\n 'transition-group': true\n },\n provide: {},\n components: {},\n config: {},\n directives: {},\n mixins: [],\n mocks: {},\n plugins: [],\n renderStubDefaultSlot: false\n },\n plugins: {\n VueWrapper: new Pluggable(),\n DOMWrapper: new Pluggable()\n }\n};\n\nfunction mergeStubs(target, source) {\n if (source.stubs) {\n if (Array.isArray(source.stubs)) {\n source.stubs.forEach(function (x) { return (target[x] = true); });\n }\n else {\n for (var _i = 0, _a = Object.entries(source.stubs); _i < _a.length; _i++) {\n var _b = _a[_i], k = _b[0], v = _b[1];\n target[k] = v;\n }\n }\n }\n}\n// perform 1-level-deep-pseudo-clone merge in order to prevent config leaks\n// example: vue-router overwrites globalProperties.$router\nfunction mergeAppConfig(configGlobalConfig, mountGlobalConfig) {\n return __assign(__assign(__assign({}, configGlobalConfig), mountGlobalConfig), { globalProperties: __assign(__assign({}, configGlobalConfig === null || configGlobalConfig === void 0 ? void 0 : configGlobalConfig.globalProperties), mountGlobalConfig === null || mountGlobalConfig === void 0 ? void 0 : mountGlobalConfig.globalProperties) });\n}\nfunction mergeGlobalProperties(mountGlobal) {\n var _a, _b, _c;\n if (mountGlobal === void 0) { mountGlobal = {}; }\n var stubs = {};\n var configGlobal = (_a = config === null || config === void 0 ? void 0 : config.global) !== null && _a !== void 0 ? _a : {};\n mergeStubs(stubs, configGlobal);\n mergeStubs(stubs, mountGlobal);\n var renderStubDefaultSlot = (_c = (_b = mountGlobal.renderStubDefaultSlot) !== null && _b !== void 0 ? _b : (configGlobal.renderStubDefaultSlot || (config === null || config === void 0 ? void 0 : config.renderStubDefaultSlot))) !== null && _c !== void 0 ? _c : false;\n if (config.renderStubDefaultSlot === true) {\n console.warn('config.renderStubDefaultSlot is deprecated, use config.global.renderStubDefaultSlot instead');\n }\n return {\n mixins: __spreadArray(__spreadArray([], (configGlobal.mixins || []), true), (mountGlobal.mixins || []), true),\n plugins: __spreadArray(__spreadArray([], (configGlobal.plugins || []), true), (mountGlobal.plugins || []), true),\n stubs: stubs,\n components: __assign(__assign({}, configGlobal.components), mountGlobal.components),\n provide: __assign(__assign({}, configGlobal.provide), mountGlobal.provide),\n mocks: __assign(__assign({}, configGlobal.mocks), mountGlobal.mocks),\n config: mergeAppConfig(configGlobal.config, mountGlobal.config),\n directives: __assign(__assign({}, configGlobal.directives), mountGlobal.directives),\n renderStubDefaultSlot: renderStubDefaultSlot\n };\n}\nvar isObject = function (obj) {\n return !!obj && typeof obj === 'object';\n};\n// https://stackoverflow.com/a/48218209\nvar mergeDeep = function (target, source) {\n if (!isObject(target) || !isObject(source)) {\n return source;\n }\n Object.keys(source).forEach(function (key) {\n var targetValue = target[key];\n var sourceValue = source[key];\n if (Array.isArray(targetValue) && Array.isArray(sourceValue)) {\n target[key] = sourceValue;\n }\n else if (sourceValue instanceof Date) {\n target[key] = sourceValue;\n }\n else if (isObject(targetValue) && isObject(sourceValue)) {\n target[key] = mergeDeep(Object.assign({}, targetValue), sourceValue);\n }\n else {\n target[key] = sourceValue;\n }\n });\n return target;\n};\nfunction isClassComponent(component) {\n return typeof component === 'function' && '__vccOpts' in component;\n}\nfunction isComponent(component) {\n return Boolean(component &&\n (typeof component === 'object' || typeof component === 'function'));\n}\nfunction isFunctionalComponent(component) {\n return typeof component === 'function' && !isClassComponent(component);\n}\nfunction isObjectComponent(component) {\n return Boolean(component && typeof component === 'object');\n}\nfunction textContent(element) {\n var _a, _b;\n // we check if the element is a comment first\n // to return an empty string in that case, instead of the comment content\n return element.nodeType !== Node.COMMENT_NODE\n ? (_b = (_a = element.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : ''\n : '';\n}\nfunction hasOwnProperty(obj, prop) {\n return obj.hasOwnProperty(prop);\n}\nfunction isNotNullOrUndefined(obj) {\n return Boolean(obj);\n}\nfunction isRefSelector(selector) {\n return typeof selector === 'object' && 'ref' in selector;\n}\nfunction convertStubsToRecord(stubs) {\n if (Array.isArray(stubs)) {\n // ['Foo', 'Bar'] => { Foo: true, Bar: true }\n return stubs.reduce(function (acc, current) {\n acc[current] = true;\n return acc;\n }, {});\n }\n return stubs;\n}\nvar isDirectiveKey = function (key) { return key.match(/^v[A-Z].*/); };\nfunction getComponentsFromStubs(stubs) {\n var normalizedStubs = convertStubsToRecord(stubs);\n return Object.fromEntries(Object.entries(normalizedStubs).filter(function (_a) {\n var key = _a[0];\n return !isDirectiveKey(key);\n }));\n}\nfunction getDirectivesFromStubs(stubs) {\n var normalizedStubs = convertStubsToRecord(stubs);\n return Object.fromEntries(Object.entries(normalizedStubs)\n .filter(function (_a) {\n var key = _a[0], value = _a[1];\n return isDirectiveKey(key) && value !== false;\n })\n .map(function (_a) {\n var key = _a[0], value = _a[1];\n return [key.substring(1), value];\n }));\n}\nfunction hasSetupState(vm) {\n return (vm &&\n vm.$.devtoolsRawSetupState);\n}\nfunction isScriptSetup(vm) {\n return (vm && vm.$.setupState.__isScriptSetup);\n}\n\nvar ignorableKeyModifiers = [\n 'stop',\n 'prevent',\n 'self',\n 'exact',\n 'prevent',\n 'capture'\n];\nvar systemKeyModifiers = ['ctrl', 'shift', 'alt', 'meta'];\nvar mouseKeyModifiers = ['left', 'middle', 'right'];\nvar keyCodesByKeyName = {\n backspace: 8,\n tab: 9,\n enter: 13,\n esc: 27,\n space: 32,\n pageup: 33,\n pagedown: 34,\n end: 35,\n home: 36,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n insert: 45,\n delete: 46\n};\nvar domEvents = {\n abort: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n afterprint: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n animationend: {\n eventInterface: 'AnimationEvent',\n bubbles: true,\n cancelable: false\n },\n animationiteration: {\n eventInterface: 'AnimationEvent',\n bubbles: true,\n cancelable: false\n },\n animationstart: {\n eventInterface: 'AnimationEvent',\n bubbles: true,\n cancelable: false\n },\n appinstalled: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n /**\n * @deprecated\n */\n audioprocess: {\n eventInterface: 'AudioProcessingEvent',\n bubbles: false,\n cancelable: false\n },\n audioend: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n audiostart: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n beforeprint: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n beforeunload: {\n eventInterface: 'BeforeUnloadEvent',\n bubbles: false,\n cancelable: true\n },\n beginEvent: {\n eventInterface: 'TimeEvent',\n bubbles: false,\n cancelable: false\n },\n blur: {\n eventInterface: 'FocusEvent',\n bubbles: false,\n cancelable: false\n },\n boundary: {\n eventInterface: 'SpeechSynthesisEvent',\n bubbles: false,\n cancelable: false\n },\n cached: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n canplay: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n canplaythrough: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n change: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n chargingchange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n chargingtimechange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n checking: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n click: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n close: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n complete: {\n eventInterface: 'OfflineAudioCompletionEvent',\n bubbles: false,\n cancelable: false\n },\n compositionend: {\n eventInterface: 'CompositionEvent',\n bubbles: true,\n cancelable: true\n },\n compositionstart: {\n eventInterface: 'CompositionEvent',\n bubbles: true,\n cancelable: true\n },\n compositionupdate: {\n eventInterface: 'CompositionEvent',\n bubbles: true,\n cancelable: false\n },\n contextmenu: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n copy: {\n eventInterface: 'ClipboardEvent',\n bubbles: true,\n cancelable: true\n },\n cut: {\n eventInterface: 'ClipboardEvent',\n bubbles: true,\n cancelable: true\n },\n dblclick: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n devicechange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n devicelight: {\n eventInterface: 'DeviceLightEvent',\n bubbles: false,\n cancelable: false\n },\n devicemotion: {\n eventInterface: 'DeviceMotionEvent',\n bubbles: false,\n cancelable: false\n },\n deviceorientation: {\n eventInterface: 'DeviceOrientationEvent',\n bubbles: false,\n cancelable: false\n },\n deviceproximity: {\n eventInterface: 'DeviceProximityEvent',\n bubbles: false,\n cancelable: false\n },\n dischargingtimechange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n DOMActivate: {\n eventInterface: 'UIEvent',\n bubbles: true,\n cancelable: true\n },\n DOMAttributeNameChanged: {\n eventInterface: 'MutationNameEvent',\n bubbles: true,\n cancelable: true\n },\n DOMAttrModified: {\n eventInterface: 'MutationEvent',\n bubbles: true,\n cancelable: true\n },\n DOMCharacterDataModified: {\n eventInterface: 'MutationEvent',\n bubbles: true,\n cancelable: true\n },\n DOMContentLoaded: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: true\n },\n DOMElementNameChanged: {\n eventInterface: 'MutationNameEvent',\n bubbles: true,\n cancelable: true\n },\n DOMFocusIn: {\n eventInterface: 'FocusEvent',\n bubbles: true,\n cancelable: true\n },\n DOMFocusOut: {\n eventInterface: 'FocusEvent',\n bubbles: true,\n cancelable: true\n },\n DOMNodeInserted: {\n eventInterface: 'MutationEvent',\n bubbles: true,\n cancelable: true\n },\n DOMNodeInsertedIntoDocument: {\n eventInterface: 'MutationEvent',\n bubbles: true,\n cancelable: true\n },\n DOMNodeRemoved: {\n eventInterface: 'MutationEvent',\n bubbles: true,\n cancelable: true\n },\n DOMNodeRemovedFromDocument: {\n eventInterface: 'MutationEvent',\n bubbles: true,\n cancelable: true\n },\n /**\n * @deprecated\n */\n DOMSubtreeModified: {\n eventInterface: 'MutationEvent',\n bubbles: true,\n cancelable: false\n },\n downloading: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n drag: {\n eventInterface: 'DragEvent',\n bubbles: true,\n cancelable: true\n },\n dragend: {\n eventInterface: 'DragEvent',\n bubbles: true,\n cancelable: false\n },\n dragenter: {\n eventInterface: 'DragEvent',\n bubbles: true,\n cancelable: true\n },\n dragleave: {\n eventInterface: 'DragEvent',\n bubbles: true,\n cancelable: false\n },\n dragover: {\n eventInterface: 'DragEvent',\n bubbles: true,\n cancelable: true\n },\n dragstart: {\n eventInterface: 'DragEvent',\n bubbles: true,\n cancelable: true\n },\n drop: {\n eventInterface: 'DragEvent',\n bubbles: true,\n cancelable: true\n },\n durationchange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n emptied: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n end: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n ended: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n endEvent: {\n eventInterface: 'TimeEvent',\n bubbles: false,\n cancelable: false\n },\n error: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n focus: {\n eventInterface: 'FocusEvent',\n bubbles: false,\n cancelable: false\n },\n focusin: {\n eventInterface: 'FocusEvent',\n bubbles: true,\n cancelable: false\n },\n focusout: {\n eventInterface: 'FocusEvent',\n bubbles: true,\n cancelable: false\n },\n fullscreenchange: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n fullscreenerror: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n gamepadconnected: {\n eventInterface: 'GamepadEvent',\n bubbles: false,\n cancelable: false\n },\n gamepaddisconnected: {\n eventInterface: 'GamepadEvent',\n bubbles: false,\n cancelable: false\n },\n gotpointercapture: {\n eventInterface: 'PointerEvent',\n bubbles: false,\n cancelable: false\n },\n hashchange: {\n eventInterface: 'HashChangeEvent',\n bubbles: true,\n cancelable: false\n },\n lostpointercapture: {\n eventInterface: 'PointerEvent',\n bubbles: false,\n cancelable: false\n },\n input: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n invalid: {\n eventInterface: 'Event',\n cancelable: true,\n bubbles: false\n },\n keydown: {\n eventInterface: 'KeyboardEvent',\n bubbles: true,\n cancelable: true\n },\n keypress: {\n eventInterface: 'KeyboardEvent',\n bubbles: true,\n cancelable: true\n },\n keyup: {\n eventInterface: 'KeyboardEvent',\n bubbles: true,\n cancelable: true\n },\n languagechange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n levelchange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n load: {\n eventInterface: 'UIEvent',\n bubbles: false,\n cancelable: false\n },\n loadeddata: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n loadedmetadata: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n loadend: {\n eventInterface: 'ProgressEvent',\n bubbles: false,\n cancelable: false\n },\n loadstart: {\n eventInterface: 'ProgressEvent',\n bubbles: false,\n cancelable: false\n },\n mark: {\n eventInterface: 'SpeechSynthesisEvent',\n bubbles: false,\n cancelable: false\n },\n message: {\n eventInterface: 'MessageEvent',\n bubbles: false,\n cancelable: false\n },\n messageerror: {\n eventInterface: 'MessageEvent',\n bubbles: false,\n cancelable: false\n },\n mousedown: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n mouseenter: {\n eventInterface: 'MouseEvent',\n bubbles: false,\n cancelable: false\n },\n mouseleave: {\n eventInterface: 'MouseEvent',\n bubbles: false,\n cancelable: false\n },\n mousemove: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n mouseout: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n mouseover: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n mouseup: {\n eventInterface: 'MouseEvent',\n bubbles: true,\n cancelable: true\n },\n nomatch: {\n eventInterface: 'SpeechRecognitionEvent',\n bubbles: false,\n cancelable: false\n },\n notificationclick: {\n eventInterface: 'NotificationEvent',\n bubbles: false,\n cancelable: false\n },\n noupdate: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n obsolete: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n offline: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n online: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n open: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n orientationchange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n pagehide: {\n eventInterface: 'PageTransitionEvent',\n bubbles: false,\n cancelable: false\n },\n pageshow: {\n eventInterface: 'PageTransitionEvent',\n bubbles: false,\n cancelable: false\n },\n paste: {\n eventInterface: 'ClipboardEvent',\n bubbles: true,\n cancelable: true\n },\n pause: {\n eventInterface: 'SpeechSynthesisEvent',\n bubbles: false,\n cancelable: false\n },\n pointercancel: {\n eventInterface: 'PointerEvent',\n bubbles: true,\n cancelable: false\n },\n pointerdown: {\n eventInterface: 'PointerEvent',\n bubbles: true,\n cancelable: true\n },\n pointerenter: {\n eventInterface: 'PointerEvent',\n bubbles: false,\n cancelable: false\n },\n pointerleave: {\n eventInterface: 'PointerEvent',\n bubbles: false,\n cancelable: false\n },\n pointerlockchange: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n pointerlockerror: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n pointermove: {\n eventInterface: 'PointerEvent',\n bubbles: true,\n cancelable: true\n },\n pointerout: {\n eventInterface: 'PointerEvent',\n bubbles: true,\n cancelable: true\n },\n pointerover: {\n eventInterface: 'PointerEvent',\n bubbles: true,\n cancelable: true\n },\n pointerup: {\n eventInterface: 'PointerEvent',\n bubbles: true,\n cancelable: true\n },\n play: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n playing: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n popstate: {\n eventInterface: 'PopStateEvent',\n bubbles: true,\n cancelable: false\n },\n progress: {\n eventInterface: 'ProgressEvent',\n bubbles: false,\n cancelable: false\n },\n push: {\n eventInterface: 'PushEvent',\n bubbles: false,\n cancelable: false\n },\n pushsubscriptionchange: {\n eventInterface: 'PushEvent',\n bubbles: false,\n cancelable: false\n },\n ratechange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n readystatechange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n repeatEvent: {\n eventInterface: 'TimeEvent',\n bubbles: false,\n cancelable: false\n },\n reset: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: true\n },\n resize: {\n eventInterface: 'UIEvent',\n bubbles: false,\n cancelable: false\n },\n resourcetimingbufferfull: {\n eventInterface: 'Performance',\n bubbles: true,\n cancelable: true\n },\n result: {\n eventInterface: 'SpeechRecognitionEvent',\n bubbles: false,\n cancelable: false\n },\n resume: {\n eventInterface: 'SpeechSynthesisEvent',\n bubbles: false,\n cancelable: false\n },\n scroll: {\n eventInterface: 'UIEvent',\n bubbles: false,\n cancelable: false\n },\n seeked: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n seeking: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n select: {\n eventInterface: 'UIEvent',\n bubbles: true,\n cancelable: false\n },\n selectstart: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: true\n },\n selectionchange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n show: {\n eventInterface: 'MouseEvent',\n bubbles: false,\n cancelable: false\n },\n slotchange: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n soundend: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n soundstart: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n speechend: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n speechstart: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n stalled: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n start: {\n eventInterface: 'SpeechSynthesisEvent',\n bubbles: false,\n cancelable: false\n },\n storage: {\n eventInterface: 'StorageEvent',\n bubbles: false,\n cancelable: false\n },\n submit: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: true\n },\n success: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n suspend: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n SVGAbort: {\n eventInterface: 'SVGEvent',\n bubbles: true,\n cancelable: false\n },\n SVGError: {\n eventInterface: 'SVGEvent',\n bubbles: true,\n cancelable: false\n },\n SVGLoad: {\n eventInterface: 'SVGEvent',\n bubbles: false,\n cancelable: false\n },\n SVGResize: {\n eventInterface: 'SVGEvent',\n bubbles: true,\n cancelable: false\n },\n SVGScroll: {\n eventInterface: 'SVGEvent',\n bubbles: true,\n cancelable: false\n },\n SVGUnload: {\n eventInterface: 'SVGEvent',\n bubbles: false,\n cancelable: false\n },\n SVGZoom: {\n eventInterface: 'SVGZoomEvent',\n bubbles: true,\n cancelable: false\n },\n timeout: {\n eventInterface: 'ProgressEvent',\n bubbles: false,\n cancelable: false\n },\n timeupdate: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n touchcancel: {\n eventInterface: 'TouchEvent',\n bubbles: true,\n cancelable: false\n },\n touchend: {\n eventInterface: 'TouchEvent',\n bubbles: true,\n cancelable: true\n },\n touchmove: {\n eventInterface: 'TouchEvent',\n bubbles: true,\n cancelable: true\n },\n touchstart: {\n eventInterface: 'TouchEvent',\n bubbles: true,\n cancelable: true\n },\n transitionend: {\n eventInterface: 'TransitionEvent',\n bubbles: true,\n cancelable: true\n },\n unload: {\n eventInterface: 'UIEvent',\n bubbles: false,\n cancelable: false\n },\n updateready: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n userproximity: {\n eventInterface: 'UserProximityEvent',\n bubbles: false,\n cancelable: false\n },\n voiceschanged: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n visibilitychange: {\n eventInterface: 'Event',\n bubbles: true,\n cancelable: false\n },\n volumechange: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n waiting: {\n eventInterface: 'Event',\n bubbles: false,\n cancelable: false\n },\n wheel: {\n eventInterface: 'WheelEvent',\n bubbles: true,\n cancelable: true\n }\n};\n\n/**\n * Groups modifiers into lists\n */\nfunction generateModifiers(modifiers, isOnClick) {\n var keyModifiers = [];\n var systemModifiers = [];\n for (var i = 0; i < modifiers.length; i++) {\n var modifier = modifiers[i];\n // addEventListener() options, e.g. .passive & .capture, that we dont need to handle\n if (ignorableKeyModifiers.includes(modifier)) {\n continue;\n }\n // modifiers that require special conversion\n // if passed a left/right key modifier with onClick, add it here as well.\n if (systemKeyModifiers.includes(modifier) ||\n (mouseKeyModifiers.includes(modifier) &&\n isOnClick)) {\n systemModifiers.push(modifier);\n }\n else {\n keyModifiers.push(modifier);\n }\n }\n return {\n keyModifiers: keyModifiers,\n systemModifiers: systemModifiers\n };\n}\nfunction getEventProperties(eventParams) {\n var modifiers = eventParams.modifiers, _a = eventParams.options, options = _a === void 0 ? {} : _a, eventType = eventParams.eventType;\n var isOnClick = eventType === 'click';\n var _b = generateModifiers(modifiers, isOnClick), keyModifiers = _b.keyModifiers, systemModifiers = _b.systemModifiers;\n if (isOnClick) {\n // if it's a right click, it should fire a `contextmenu` event\n if (systemModifiers.includes('right')) {\n eventType = 'contextmenu';\n options.button = 2;\n // if its a middle click, fire a `mouseup` event\n }\n else if (systemModifiers.includes('middle')) {\n eventType = 'mouseup';\n options.button = 1;\n }\n }\n var meta = domEvents[eventType] || {\n eventInterface: 'Event',\n cancelable: true,\n bubbles: true\n };\n // convert `shift, ctrl` to `shiftKey, ctrlKey`\n // allows trigger('keydown.shift.ctrl.n') directly\n var systemModifiersMeta = systemModifiers.reduce(function (all, key) {\n all[\"\".concat(key, \"Key\")] = true;\n return all;\n }, {});\n // get the keyCode for backwards compat\n var keyCode = keyCodesByKeyName[keyModifiers[0]] ||\n (options && (options.keyCode || options.code));\n var eventProperties = __assign(__assign(__assign(__assign({}, systemModifiersMeta), options), { bubbles: meta.bubbles, cancelable: meta.cancelable, \n // Any derived options should go here\n keyCode: keyCode, code: keyCode }), (keyModifiers[0] ? { key: keyModifiers[0] } : {}));\n return {\n eventProperties: eventProperties,\n meta: meta,\n eventType: eventType\n };\n}\nfunction createEvent(eventParams) {\n var _a = getEventProperties(eventParams), eventProperties = _a.eventProperties, meta = _a.meta, eventType = _a.eventType;\n // user defined eventInterface\n var eventInterface = meta.eventInterface;\n var metaEventInterface = window[eventInterface];\n var SupportedEventInterface = typeof metaEventInterface === 'function' ? metaEventInterface : window.Event;\n return new SupportedEventInterface(eventType, \n // event properties can only be added when the event is instantiated\n // custom properties must be added after the event has been instantiated\n eventProperties);\n}\nfunction createDOMEvent(eventString, options) {\n // split eventString like `keydown.ctrl.shift` into `keydown` and array of modifiers\n var _a = eventString.split('.'), eventType = _a[0], modifiers = _a.slice(1);\n var eventParams = {\n eventType: eventType,\n modifiers: modifiers,\n options: options\n };\n var event = createEvent(eventParams);\n var eventPrototype = Object.getPrototypeOf(event);\n // attach custom options to the event, like `relatedTarget` and so on.\n options &&\n Object.keys(options).forEach(function (key) {\n var propertyDescriptor = Object.getOwnPropertyDescriptor(eventPrototype, key);\n var canSetProperty = !(propertyDescriptor && propertyDescriptor.set === undefined);\n if (canSetProperty) {\n event[key] = options[key];\n }\n });\n return event;\n}\n\n// Stubbing occurs when in vnode transformer we're swapping\n// component vnode type due to stubbing either component\n// or directive on component\n// In order to be able to find components we need to track pairs\n// stub --> original component\n// Having this as global might feel unsafe at first point\n// One can assume that sharing stub map across mounts might\n// lead to false matches, however our vnode mappers always\n// produce new nodeTypes for each mount even if you're reusing\n// same stub, so we're safe and do not need to pass these stubs\n// for each mount operation\nvar stubs = new WeakMap();\nfunction registerStub(_a) {\n var source = _a.source, stub = _a.stub;\n stubs.set(stub, source);\n}\nfunction getOriginalComponentFromStub(stub) {\n return stubs.get(stub);\n}\n\nvar cacheStringFunction = function (fn) {\n var cache = Object.create(null);\n return (function (str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n });\n};\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cacheStringFunction(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\nvar capitalize = cacheStringFunction(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cacheStringFunction(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n\nfunction matchName(target, sourceName) {\n var camelized = camelize(target);\n var capitalized = capitalize(camelized);\n return (!!sourceName &&\n (sourceName === target ||\n sourceName === camelized ||\n sourceName === capitalized ||\n capitalize(camelize(sourceName)) === capitalized));\n}\n\nfunction isCompatEnabled(key) {\n var _a, _b;\n return (_b = (_a = Vue.compatUtils) === null || _a === void 0 ? void 0 : _a.isCompatEnabled(key)) !== null && _b !== void 0 ? _b : false;\n}\nfunction isLegacyExtendedComponent(component) {\n if (!isCompatEnabled('GLOBAL_EXTEND') || typeof component !== 'function') {\n return false;\n }\n return (hasOwnProperty(component, 'super') &&\n component.super.extend({}).super === component.super);\n}\nfunction unwrapLegacyVueExtendComponent(selector) {\n return isLegacyExtendedComponent(selector) ? selector.options : selector;\n}\nfunction isLegacyFunctionalComponent(component) {\n return Boolean(component &&\n typeof component === 'object' &&\n hasOwnProperty(component, 'functional') &&\n component.functional);\n}\n\nvar getComponentNameInSetup = function (instance, type) {\n return Object.keys((instance === null || instance === void 0 ? void 0 : instance.setupState) || {}).find(function (key) { var _a; return ((_a = Object.getOwnPropertyDescriptor(instance.setupState, key)) === null || _a === void 0 ? void 0 : _a.value) === type; });\n};\nvar getComponentRegisteredName = function (instance, type) {\n if (!instance || !instance.parent)\n return null;\n // try to infer the name based on local resolution\n var registry = instance.type.components;\n for (var key in registry) {\n if (registry[key] === type) {\n return key;\n }\n }\n // try to retrieve name imported in script setup\n return getComponentNameInSetup(instance.parent, type) || null;\n};\nvar getComponentName = function (instance, type) {\n if (isObjectComponent(type)) {\n return (\n // If the component we stub is a script setup component and is automatically\n // imported by unplugin-vue-components we can only get its name through\n // the `__name` property.\n getComponentNameInSetup(instance, type) || type.name || type.__name || '');\n }\n if (isLegacyExtendedComponent(type)) {\n return unwrapLegacyVueExtendComponent(type).name || '';\n }\n if (isFunctionalComponent(type)) {\n return type.displayName || type.name;\n }\n return '';\n};\n\n/**\n * Detect whether a selector matches a VNode\n * @param node\n * @param selector\n * @return {boolean | ((value: any) => boolean)}\n */\nfunction matches(node, rawSelector) {\n var _a, _b, _c;\n var selector = unwrapLegacyVueExtendComponent(rawSelector);\n // do not return none Vue components\n if (!node.component)\n return false;\n var nodeType = node.type;\n if (!isComponent(nodeType))\n return false;\n if (typeof selector === 'string') {\n return (_b = (_a = node.el) === null || _a === void 0 ? void 0 : _a.matches) === null || _b === void 0 ? void 0 : _b.call(_a, selector);\n }\n // When we're using stubs we want user to be able to\n // find stubbed components both by original component\n // or stub definition. That's why we are trying to\n // extract original component and also stub, which was\n // used to create specialized stub for render\n var nodeTypeCandidates = [\n nodeType,\n getOriginalComponentFromStub(nodeType)\n ].filter(Boolean);\n // our selector might be a stub itself\n var target = (_c = getOriginalComponentFromStub(selector)) !== null && _c !== void 0 ? _c : selector;\n if (nodeTypeCandidates.includes(target)) {\n return true;\n }\n var componentName;\n componentName = getComponentName(node.component, nodeType);\n var selectorName = selector.name;\n // the component and selector both have a name\n if (componentName && selectorName) {\n return matchName(selectorName, componentName);\n }\n componentName =\n getComponentRegisteredName(node.component, nodeType) || undefined;\n // if a name is missing, then check the locally registered components in the parent\n if (node.component.parent) {\n var registry = node.component.parent.type.components;\n for (var key in registry) {\n // is it the selector\n if (!selectorName && registry[key] === selector) {\n selectorName = key;\n }\n // is it the component\n if (!componentName && registry[key] === nodeType) {\n componentName = key;\n }\n }\n }\n if (selectorName && componentName) {\n return matchName(selectorName, componentName);\n }\n return false;\n}\n/**\n * Filters out the null, undefined and primitive values,\n * to only keep VNode and VNodeArrayChildren values\n * @param value\n */\nfunction nodesAsObject(value) {\n return !!value && typeof value === 'object';\n}\n/**\n * Collect all children\n * @param nodes\n * @param children\n */\nfunction aggregateChildren(nodes, children) {\n if (children && Array.isArray(children)) {\n var reversedNodes = __spreadArray([], children, true).reverse().filter(nodesAsObject);\n reversedNodes.forEach(function (node) {\n if (Array.isArray(node)) {\n aggregateChildren(nodes, node);\n }\n else {\n nodes.unshift(node);\n }\n });\n }\n}\nfunction findAllVNodes(vnode, selector) {\n var matchingNodes = [];\n var nodes = [vnode];\n while (nodes.length) {\n var node = nodes.shift();\n aggregateChildren(nodes, node.children);\n if (node.component) {\n aggregateChildren(nodes, [node.component.subTree]);\n }\n if (node.suspense) {\n // match children if component is Suspense\n var activeBranch = node.suspense.activeBranch;\n aggregateChildren(nodes, [activeBranch]);\n }\n if (matches(node, selector) && !matchingNodes.includes(node)) {\n matchingNodes.push(node);\n }\n }\n return matchingNodes;\n}\nfunction find(root, selector) {\n var matchingVNodes = findAllVNodes(root, selector);\n if (typeof selector === 'string') {\n // When searching by CSS selector we want only one (topmost) vnode for each el`\n matchingVNodes = matchingVNodes.filter(function (vnode) { var _a; return ((_a = vnode.component.parent) === null || _a === void 0 ? void 0 : _a.vnode.el) !== vnode.el; });\n }\n return matchingVNodes.map(function (vnode) { return vnode.component; });\n}\n\nfunction createWrapperError(wrapperType) {\n return new Proxy(Object.create(null), {\n get: function (obj, prop) {\n switch (prop) {\n case 'then':\n // allows for better errors when wrapping `find` in `await`\n // https://github.com/vuejs/test-utils/issues/638\n return;\n case 'exists':\n return function () { return false; };\n default:\n throw new Error(\"Cannot call \".concat(String(prop), \" on an empty \").concat(wrapperType, \".\"));\n }\n }\n });\n}\n\n/*!\n * isElementVisible\n * Adapted from https://github.com/testing-library/jest-dom\n * Licensed under the MIT License.\n */\nfunction isStyleVisible(element) {\n if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {\n return false;\n }\n var _a = getComputedStyle(element), display = _a.display, visibility = _a.visibility, opacity = _a.opacity;\n return (display !== 'none' &&\n visibility !== 'hidden' &&\n visibility !== 'collapse' &&\n opacity !== '0');\n}\nfunction isAttributeVisible(element) {\n return (!element.hasAttribute('hidden') &&\n (element.nodeName === 'DETAILS' ? element.hasAttribute('open') : true));\n}\nfunction isElementVisible(element) {\n return (element.nodeName !== '#comment' &&\n isStyleVisible(element) &&\n isAttributeVisible(element) &&\n (!element.parentElement || isElementVisible(element.parentElement)));\n}\n\nfunction isElement(element) {\n return element instanceof Element;\n}\n\nvar WrapperType;\n(function (WrapperType) {\n WrapperType[WrapperType[\"DOMWrapper\"] = 0] = \"DOMWrapper\";\n WrapperType[WrapperType[\"VueWrapper\"] = 1] = \"VueWrapper\";\n})(WrapperType || (WrapperType = {}));\nvar factories = {};\nfunction registerFactory(type, fn) {\n factories[type] = fn;\n}\nvar createDOMWrapper = function (element) {\n return factories[WrapperType.DOMWrapper](element);\n};\nvar createVueWrapper = function (app, vm, setProps) {\n return factories[WrapperType.VueWrapper](app, vm, setProps);\n};\n\nfunction stringifyNode(node) {\n return node instanceof Element\n ? node.outerHTML\n : new XMLSerializer().serializeToString(node);\n}\n\nvar jsExports = {};\nvar js = {\n get exports(){ return jsExports; },\n set exports(v){ jsExports = v; },\n};\n\nvar src = {};\n\nvar javascriptExports = {};\nvar javascript = {\n get exports(){ return javascriptExports; },\n set exports(v){ javascriptExports = v; },\n};\n\nvar beautifier$2 = {};\n\nvar output = {};\n\n/*jshint node:true */\n\nvar hasRequiredOutput;\n\nfunction requireOutput () {\n\tif (hasRequiredOutput) return output;\n\thasRequiredOutput = 1;\n\n\tfunction OutputLine(parent) {\n\t this.__parent = parent;\n\t this.__character_count = 0;\n\t // use indent_count as a marker for this.__lines that have preserved indentation\n\t this.__indent_count = -1;\n\t this.__alignment_count = 0;\n\t this.__wrap_point_index = 0;\n\t this.__wrap_point_character_count = 0;\n\t this.__wrap_point_indent_count = -1;\n\t this.__wrap_point_alignment_count = 0;\n\n\t this.__items = [];\n\t}\n\n\tOutputLine.prototype.clone_empty = function() {\n\t var line = new OutputLine(this.__parent);\n\t line.set_indent(this.__indent_count, this.__alignment_count);\n\t return line;\n\t};\n\n\tOutputLine.prototype.item = function(index) {\n\t if (index < 0) {\n\t return this.__items[this.__items.length + index];\n\t } else {\n\t return this.__items[index];\n\t }\n\t};\n\n\tOutputLine.prototype.has_match = function(pattern) {\n\t for (var lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {\n\t if (this.__items[lastCheckedOutput].match(pattern)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t};\n\n\tOutputLine.prototype.set_indent = function(indent, alignment) {\n\t if (this.is_empty()) {\n\t this.__indent_count = indent || 0;\n\t this.__alignment_count = alignment || 0;\n\t this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);\n\t }\n\t};\n\n\tOutputLine.prototype._set_wrap_point = function() {\n\t if (this.__parent.wrap_line_length) {\n\t this.__wrap_point_index = this.__items.length;\n\t this.__wrap_point_character_count = this.__character_count;\n\t this.__wrap_point_indent_count = this.__parent.next_line.__indent_count;\n\t this.__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;\n\t }\n\t};\n\n\tOutputLine.prototype._should_wrap = function() {\n\t return this.__wrap_point_index &&\n\t this.__character_count > this.__parent.wrap_line_length &&\n\t this.__wrap_point_character_count > this.__parent.next_line.__character_count;\n\t};\n\n\tOutputLine.prototype._allow_wrap = function() {\n\t if (this._should_wrap()) {\n\t this.__parent.add_new_line();\n\t var next = this.__parent.current_line;\n\t next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count);\n\t next.__items = this.__items.slice(this.__wrap_point_index);\n\t this.__items = this.__items.slice(0, this.__wrap_point_index);\n\n\t next.__character_count += this.__character_count - this.__wrap_point_character_count;\n\t this.__character_count = this.__wrap_point_character_count;\n\n\t if (next.__items[0] === \" \") {\n\t next.__items.splice(0, 1);\n\t next.__character_count -= 1;\n\t }\n\t return true;\n\t }\n\t return false;\n\t};\n\n\tOutputLine.prototype.is_empty = function() {\n\t return this.__items.length === 0;\n\t};\n\n\tOutputLine.prototype.last = function() {\n\t if (!this.is_empty()) {\n\t return this.__items[this.__items.length - 1];\n\t } else {\n\t return null;\n\t }\n\t};\n\n\tOutputLine.prototype.push = function(item) {\n\t this.__items.push(item);\n\t var last_newline_index = item.lastIndexOf('\\n');\n\t if (last_newline_index !== -1) {\n\t this.__character_count = item.length - last_newline_index;\n\t } else {\n\t this.__character_count += item.length;\n\t }\n\t};\n\n\tOutputLine.prototype.pop = function() {\n\t var item = null;\n\t if (!this.is_empty()) {\n\t item = this.__items.pop();\n\t this.__character_count -= item.length;\n\t }\n\t return item;\n\t};\n\n\n\tOutputLine.prototype._remove_indent = function() {\n\t if (this.__indent_count > 0) {\n\t this.__indent_count -= 1;\n\t this.__character_count -= this.__parent.indent_size;\n\t }\n\t};\n\n\tOutputLine.prototype._remove_wrap_indent = function() {\n\t if (this.__wrap_point_indent_count > 0) {\n\t this.__wrap_point_indent_count -= 1;\n\t }\n\t};\n\tOutputLine.prototype.trim = function() {\n\t while (this.last() === ' ') {\n\t this.__items.pop();\n\t this.__character_count -= 1;\n\t }\n\t};\n\n\tOutputLine.prototype.toString = function() {\n\t var result = '';\n\t if (this.is_empty()) {\n\t if (this.__parent.indent_empty_lines) {\n\t result = this.__parent.get_indent_string(this.__indent_count);\n\t }\n\t } else {\n\t result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_count);\n\t result += this.__items.join('');\n\t }\n\t return result;\n\t};\n\n\tfunction IndentStringCache(options, baseIndentString) {\n\t this.__cache = [''];\n\t this.__indent_size = options.indent_size;\n\t this.__indent_string = options.indent_char;\n\t if (!options.indent_with_tabs) {\n\t this.__indent_string = new Array(options.indent_size + 1).join(options.indent_char);\n\t }\n\n\t // Set to null to continue support for auto detection of base indent\n\t baseIndentString = baseIndentString || '';\n\t if (options.indent_level > 0) {\n\t baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);\n\t }\n\n\t this.__base_string = baseIndentString;\n\t this.__base_string_length = baseIndentString.length;\n\t}\n\n\tIndentStringCache.prototype.get_indent_size = function(indent, column) {\n\t var result = this.__base_string_length;\n\t column = column || 0;\n\t if (indent < 0) {\n\t result = 0;\n\t }\n\t result += indent * this.__indent_size;\n\t result += column;\n\t return result;\n\t};\n\n\tIndentStringCache.prototype.get_indent_string = function(indent_level, column) {\n\t var result = this.__base_string;\n\t column = column || 0;\n\t if (indent_level < 0) {\n\t indent_level = 0;\n\t result = '';\n\t }\n\t column += indent_level * this.__indent_size;\n\t this.__ensure_cache(column);\n\t result += this.__cache[column];\n\t return result;\n\t};\n\n\tIndentStringCache.prototype.__ensure_cache = function(column) {\n\t while (column >= this.__cache.length) {\n\t this.__add_column();\n\t }\n\t};\n\n\tIndentStringCache.prototype.__add_column = function() {\n\t var column = this.__cache.length;\n\t var indent = 0;\n\t var result = '';\n\t if (this.__indent_size && column >= this.__indent_size) {\n\t indent = Math.floor(column / this.__indent_size);\n\t column -= indent * this.__indent_size;\n\t result = new Array(indent + 1).join(this.__indent_string);\n\t }\n\t if (column) {\n\t result += new Array(column + 1).join(' ');\n\t }\n\n\t this.__cache.push(result);\n\t};\n\n\tfunction Output(options, baseIndentString) {\n\t this.__indent_cache = new IndentStringCache(options, baseIndentString);\n\t this.raw = false;\n\t this._end_with_newline = options.end_with_newline;\n\t this.indent_size = options.indent_size;\n\t this.wrap_line_length = options.wrap_line_length;\n\t this.indent_empty_lines = options.indent_empty_lines;\n\t this.__lines = [];\n\t this.previous_line = null;\n\t this.current_line = null;\n\t this.next_line = new OutputLine(this);\n\t this.space_before_token = false;\n\t this.non_breaking_space = false;\n\t this.previous_token_wrapped = false;\n\t // initialize\n\t this.__add_outputline();\n\t}\n\n\tOutput.prototype.__add_outputline = function() {\n\t this.previous_line = this.current_line;\n\t this.current_line = this.next_line.clone_empty();\n\t this.__lines.push(this.current_line);\n\t};\n\n\tOutput.prototype.get_line_number = function() {\n\t return this.__lines.length;\n\t};\n\n\tOutput.prototype.get_indent_string = function(indent, column) {\n\t return this.__indent_cache.get_indent_string(indent, column);\n\t};\n\n\tOutput.prototype.get_indent_size = function(indent, column) {\n\t return this.__indent_cache.get_indent_size(indent, column);\n\t};\n\n\tOutput.prototype.is_empty = function() {\n\t return !this.previous_line && this.current_line.is_empty();\n\t};\n\n\tOutput.prototype.add_new_line = function(force_newline) {\n\t // never newline at the start of file\n\t // otherwise, newline only if we didn't just add one or we're forced\n\t if (this.is_empty() ||\n\t (!force_newline && this.just_added_newline())) {\n\t return false;\n\t }\n\n\t // if raw output is enabled, don't print additional newlines,\n\t // but still return True as though you had\n\t if (!this.raw) {\n\t this.__add_outputline();\n\t }\n\t return true;\n\t};\n\n\tOutput.prototype.get_code = function(eol) {\n\t this.trim(true);\n\n\t // handle some edge cases where the last tokens\n\t // has text that ends with newline(s)\n\t var last_item = this.current_line.pop();\n\t if (last_item) {\n\t if (last_item[last_item.length - 1] === '\\n') {\n\t last_item = last_item.replace(/\\n+$/g, '');\n\t }\n\t this.current_line.push(last_item);\n\t }\n\n\t if (this._end_with_newline) {\n\t this.__add_outputline();\n\t }\n\n\t var sweet_code = this.__lines.join('\\n');\n\n\t if (eol !== '\\n') {\n\t sweet_code = sweet_code.replace(/[\\n]/g, eol);\n\t }\n\t return sweet_code;\n\t};\n\n\tOutput.prototype.set_wrap_point = function() {\n\t this.current_line._set_wrap_point();\n\t};\n\n\tOutput.prototype.set_indent = function(indent, alignment) {\n\t indent = indent || 0;\n\t alignment = alignment || 0;\n\n\t // Next line stores alignment values\n\t this.next_line.set_indent(indent, alignment);\n\n\t // Never indent your first output indent at the start of the file\n\t if (this.__lines.length > 1) {\n\t this.current_line.set_indent(indent, alignment);\n\t return true;\n\t }\n\n\t this.current_line.set_indent();\n\t return false;\n\t};\n\n\tOutput.prototype.add_raw_token = function(token) {\n\t for (var x = 0; x < token.newlines; x++) {\n\t this.__add_outputline();\n\t }\n\t this.current_line.set_indent(-1);\n\t this.current_line.push(token.whitespace_before);\n\t this.current_line.push(token.text);\n\t this.space_before_token = false;\n\t this.non_breaking_space = false;\n\t this.previous_token_wrapped = false;\n\t};\n\n\tOutput.prototype.add_token = function(printable_token) {\n\t this.__add_space_before_token();\n\t this.current_line.push(printable_token);\n\t this.space_before_token = false;\n\t this.non_breaking_space = false;\n\t this.previous_token_wrapped = this.current_line._allow_wrap();\n\t};\n\n\tOutput.prototype.__add_space_before_token = function() {\n\t if (this.space_before_token && !this.just_added_newline()) {\n\t if (!this.non_breaking_space) {\n\t this.set_wrap_point();\n\t }\n\t this.current_line.push(' ');\n\t }\n\t};\n\n\tOutput.prototype.remove_indent = function(index) {\n\t var output_length = this.__lines.length;\n\t while (index < output_length) {\n\t this.__lines[index]._remove_indent();\n\t index++;\n\t }\n\t this.current_line._remove_wrap_indent();\n\t};\n\n\tOutput.prototype.trim = function(eat_newlines) {\n\t eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;\n\n\t this.current_line.trim();\n\n\t while (eat_newlines && this.__lines.length > 1 &&\n\t this.current_line.is_empty()) {\n\t this.__lines.pop();\n\t this.current_line = this.__lines[this.__lines.length - 1];\n\t this.current_line.trim();\n\t }\n\n\t this.previous_line = this.__lines.length > 1 ?\n\t this.__lines[this.__lines.length - 2] : null;\n\t};\n\n\tOutput.prototype.just_added_newline = function() {\n\t return this.current_line.is_empty();\n\t};\n\n\tOutput.prototype.just_added_blankline = function() {\n\t return this.is_empty() ||\n\t (this.current_line.is_empty() && this.previous_line.is_empty());\n\t};\n\n\tOutput.prototype.ensure_empty_line_above = function(starts_with, ends_with) {\n\t var index = this.__lines.length - 2;\n\t while (index >= 0) {\n\t var potentialEmptyLine = this.__lines[index];\n\t if (potentialEmptyLine.is_empty()) {\n\t break;\n\t } else if (potentialEmptyLine.item(0).indexOf(starts_with) !== 0 &&\n\t potentialEmptyLine.item(-1) !== ends_with) {\n\t this.__lines.splice(index + 1, 0, new OutputLine(this));\n\t this.previous_line = this.__lines[this.__lines.length - 2];\n\t break;\n\t }\n\t index--;\n\t }\n\t};\n\n\toutput.Output = Output;\n\treturn output;\n}\n\nvar token = {};\n\n/*jshint node:true */\n\nvar hasRequiredToken;\n\nfunction requireToken () {\n\tif (hasRequiredToken) return token;\n\thasRequiredToken = 1;\n\n\tfunction Token(type, text, newlines, whitespace_before) {\n\t this.type = type;\n\t this.text = text;\n\n\t // comments_before are\n\t // comments that have a new line before them\n\t // and may or may not have a newline after\n\t // this is a set of comments before\n\t this.comments_before = null; /* inline comment*/\n\n\n\t // this.comments_after = new TokenStream(); // no new line before and newline after\n\t this.newlines = newlines || 0;\n\t this.whitespace_before = whitespace_before || '';\n\t this.parent = null;\n\t this.next = null;\n\t this.previous = null;\n\t this.opened = null;\n\t this.closed = null;\n\t this.directives = null;\n\t}\n\n\n\ttoken.Token = Token;\n\treturn token;\n}\n\nvar acorn = {};\n\n/* jshint node: true, curly: false */\n\nvar hasRequiredAcorn;\n\nfunction requireAcorn () {\n\tif (hasRequiredAcorn) return acorn;\n\thasRequiredAcorn = 1;\n\t(function (exports) {\n\n\t\t// acorn used char codes to squeeze the last bit of performance out\n\t\t// Beautifier is okay without that, so we're using regex\n\t\t// permit # (23), $ (36), and @ (64). @ is used in ES7 decorators.\n\t\t// 65 through 91 are uppercase letters.\n\t\t// permit _ (95).\n\t\t// 97 through 123 are lowercase letters.\n\t\tvar baseASCIIidentifierStartChars = \"\\\\x23\\\\x24\\\\x40\\\\x41-\\\\x5a\\\\x5f\\\\x61-\\\\x7a\";\n\n\t\t// inside an identifier @ is not allowed but 0-9 are.\n\t\tvar baseASCIIidentifierChars = \"\\\\x24\\\\x30-\\\\x39\\\\x41-\\\\x5a\\\\x5f\\\\x61-\\\\x7a\";\n\n\t\t// Big ugly regular expressions that match characters in the\n\t\t// whitespace, identifier, and identifier-start categories. These\n\t\t// are only applied when a character is found to actually have a\n\t\t// code point above 128.\n\t\tvar nonASCIIidentifierStartChars = \"\\\\xaa\\\\xb5\\\\xba\\\\xc0-\\\\xd6\\\\xd8-\\\\xf6\\\\xf8-\\\\u02c1\\\\u02c6-\\\\u02d1\\\\u02e0-\\\\u02e4\\\\u02ec\\\\u02ee\\\\u0370-\\\\u0374\\\\u0376\\\\u0377\\\\u037a-\\\\u037d\\\\u0386\\\\u0388-\\\\u038a\\\\u038c\\\\u038e-\\\\u03a1\\\\u03a3-\\\\u03f5\\\\u03f7-\\\\u0481\\\\u048a-\\\\u0527\\\\u0531-\\\\u0556\\\\u0559\\\\u0561-\\\\u0587\\\\u05d0-\\\\u05ea\\\\u05f0-\\\\u05f2\\\\u0620-\\\\u064a\\\\u066e\\\\u066f\\\\u0671-\\\\u06d3\\\\u06d5\\\\u06e5\\\\u06e6\\\\u06ee\\\\u06ef\\\\u06fa-\\\\u06fc\\\\u06ff\\\\u0710\\\\u0712-\\\\u072f\\\\u074d-\\\\u07a5\\\\u07b1\\\\u07ca-\\\\u07ea\\\\u07f4\\\\u07f5\\\\u07fa\\\\u0800-\\\\u0815\\\\u081a\\\\u0824\\\\u0828\\\\u0840-\\\\u0858\\\\u08a0\\\\u08a2-\\\\u08ac\\\\u0904-\\\\u0939\\\\u093d\\\\u0950\\\\u0958-\\\\u0961\\\\u0971-\\\\u0977\\\\u0979-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cde\\\\u0ce0\\\\u0ce1\\\\u0cf1\\\\u0cf2\\\\u0d05-\\\\u0d0c\\\\u0d0e-\\\\u0d10\\\\u0d12-\\\\u0d3a\\\\u0d3d\\\\u0d4e\\\\u0d60\\\\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-\\\\u13f4\\\\u1401-\\\\u166c\\\\u166f-\\\\u167f\\\\u1681-\\\\u169a\\\\u16a0-\\\\u16ea\\\\u16ee-\\\\u16f0\\\\u1700-\\\\u170c\\\\u170e-\\\\u1711\\\\u1720-\\\\u1731\\\\u1740-\\\\u1751\\\\u1760-\\\\u176c\\\\u176e-\\\\u1770\\\\u1780-\\\\u17b3\\\\u17d7\\\\u17dc\\\\u1820-\\\\u1877\\\\u1880-\\\\u18a8\\\\u18aa\\\\u18b0-\\\\u18f5\\\\u1900-\\\\u191c\\\\u1950-\\\\u196d\\\\u1970-\\\\u1974\\\\u1980-\\\\u19ab\\\\u19c1-\\\\u19c7\\\\u1a00-\\\\u1a16\\\\u1a20-\\\\u1a54\\\\u1aa7\\\\u1b05-\\\\u1b33\\\\u1b45-\\\\u1b4b\\\\u1b83-\\\\u1ba0\\\\u1bae\\\\u1baf\\\\u1bba-\\\\u1be5\\\\u1c00-\\\\u1c23\\\\u1c4d-\\\\u1c4f\\\\u1c5a-\\\\u1c7d\\\\u1ce9-\\\\u1cec\\\\u1cee-\\\\u1cf1\\\\u1cf5\\\\u1cf6\\\\u1d00-\\\\u1dbf\\\\u1e00-\\\\u1f15\\\\u1f18-\\\\u1f1d\\\\u1f20-\\\\u1f45\\\\u1f48-\\\\u1f4d\\\\u1f50-\\\\u1f57\\\\u1f59\\\\u1f5b\\\\u1f5d\\\\u1f5f-\\\\u1f7d\\\\u1f80-\\\\u1fb4\\\\u1fb6-\\\\u1fbc\\\\u1fbe\\\\u1fc2-\\\\u1fc4\\\\u1fc6-\\\\u1fcc\\\\u1fd0-\\\\u1fd3\\\\u1fd6-\\\\u1fdb\\\\u1fe0-\\\\u1fec\\\\u1ff2-\\\\u1ff4\\\\u1ff6-\\\\u1ffc\\\\u2071\\\\u207f\\\\u2090-\\\\u209c\\\\u2102\\\\u2107\\\\u210a-\\\\u2113\\\\u2115\\\\u2119-\\\\u211d\\\\u2124\\\\u2126\\\\u2128\\\\u212a-\\\\u212d\\\\u212f-\\\\u2139\\\\u213c-\\\\u213f\\\\u2145-\\\\u2149\\\\u214e\\\\u2160-\\\\u2188\\\\u2c00-\\\\u2c2e\\\\u2c30-\\\\u2c5e\\\\u2c60-\\\\u2ce4\\\\u2ceb-\\\\u2cee\\\\u2cf2\\\\u2cf3\\\\u2d00-\\\\u2d25\\\\u2d27\\\\u2d2d\\\\u2d30-\\\\u2d67\\\\u2d6f\\\\u2d80-\\\\u2d96\\\\u2da0-\\\\u2da6\\\\u2da8-\\\\u2dae\\\\u2db0-\\\\u2db6\\\\u2db8-\\\\u2dbe\\\\u2dc0-\\\\u2dc6\\\\u2dc8-\\\\u2dce\\\\u2dd0-\\\\u2dd6\\\\u2dd8-\\\\u2dde\\\\u2e2f\\\\u3005-\\\\u3007\\\\u3021-\\\\u3029\\\\u3031-\\\\u3035\\\\u3038-\\\\u303c\\\\u3041-\\\\u3096\\\\u309d-\\\\u309f\\\\u30a1-\\\\u30fa\\\\u30fc-\\\\u30ff\\\\u3105-\\\\u312d\\\\u3131-\\\\u318e\\\\u31a0-\\\\u31ba\\\\u31f0-\\\\u31ff\\\\u3400-\\\\u4db5\\\\u4e00-\\\\u9fcc\\\\ua000-\\\\ua48c\\\\ua4d0-\\\\ua4fd\\\\ua500-\\\\ua60c\\\\ua610-\\\\ua61f\\\\ua62a\\\\ua62b\\\\ua640-\\\\ua66e\\\\ua67f-\\\\ua697\\\\ua6a0-\\\\ua6ef\\\\ua717-\\\\ua71f\\\\ua722-\\\\ua788\\\\ua78b-\\\\ua78e\\\\ua790-\\\\ua793\\\\ua7a0-\\\\ua7aa\\\\ua7f8-\\\\ua801\\\\ua803-\\\\ua805\\\\ua807-\\\\ua80a\\\\ua80c-\\\\ua822\\\\ua840-\\\\ua873\\\\ua882-\\\\ua8b3\\\\ua8f2-\\\\ua8f7\\\\ua8fb\\\\ua90a-\\\\ua925\\\\ua930-\\\\ua946\\\\ua960-\\\\ua97c\\\\ua984-\\\\ua9b2\\\\ua9cf\\\\uaa00-\\\\uaa28\\\\uaa40-\\\\uaa42\\\\uaa44-\\\\uaa4b\\\\uaa60-\\\\uaa76\\\\uaa7a\\\\uaa80-\\\\uaaaf\\\\uaab1\\\\uaab5\\\\uaab6\\\\uaab9-\\\\uaabd\\\\uaac0\\\\uaac2\\\\uaadb-\\\\uaadd\\\\uaae0-\\\\uaaea\\\\uaaf2-\\\\uaaf4\\\\uab01-\\\\uab06\\\\uab09-\\\\uab0e\\\\uab11-\\\\uab16\\\\uab20-\\\\uab26\\\\uab28-\\\\uab2e\\\\uabc0-\\\\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\";\n\t\tvar nonASCIIidentifierChars = \"\\\\u0300-\\\\u036f\\\\u0483-\\\\u0487\\\\u0591-\\\\u05bd\\\\u05bf\\\\u05c1\\\\u05c2\\\\u05c4\\\\u05c5\\\\u05c7\\\\u0610-\\\\u061a\\\\u0620-\\\\u0649\\\\u0672-\\\\u06d3\\\\u06e7-\\\\u06e8\\\\u06fb-\\\\u06fc\\\\u0730-\\\\u074a\\\\u0800-\\\\u0814\\\\u081b-\\\\u0823\\\\u0825-\\\\u0827\\\\u0829-\\\\u082d\\\\u0840-\\\\u0857\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\u0df2\\\\u0df3\\\\u0e34-\\\\u0e3a\\\\u0e40-\\\\u0e45\\\\u0e50-\\\\u0e59\\\\u0eb4-\\\\u0eb9\\\\u0ec8-\\\\u0ecd\\\\u0ed0-\\\\u0ed9\\\\u0f18\\\\u0f19\\\\u0f20-\\\\u0f29\\\\u0f35\\\\u0f37\\\\u0f39\\\\u0f41-\\\\u0f47\\\\u0f71-\\\\u0f84\\\\u0f86-\\\\u0f87\\\\u0f8d-\\\\u0f97\\\\u0f99-\\\\u0fbc\\\\u0fc6\\\\u1000-\\\\u1029\\\\u1040-\\\\u1049\\\\u1067-\\\\u106d\\\\u1071-\\\\u1074\\\\u1082-\\\\u108d\\\\u108f-\\\\u109d\\\\u135d-\\\\u135f\\\\u170e-\\\\u1710\\\\u1720-\\\\u1730\\\\u1740-\\\\u1750\\\\u1772\\\\u1773\\\\u1780-\\\\u17b2\\\\u17dd\\\\u17e0-\\\\u17e9\\\\u180b-\\\\u180d\\\\u1810-\\\\u1819\\\\u1920-\\\\u192b\\\\u1930-\\\\u193b\\\\u1951-\\\\u196d\\\\u19b0-\\\\u19c0\\\\u19c8-\\\\u19c9\\\\u19d0-\\\\u19d9\\\\u1a00-\\\\u1a15\\\\u1a20-\\\\u1a53\\\\u1a60-\\\\u1a7c\\\\u1a7f-\\\\u1a89\\\\u1a90-\\\\u1a99\\\\u1b46-\\\\u1b4b\\\\u1b50-\\\\u1b59\\\\u1b6b-\\\\u1b73\\\\u1bb0-\\\\u1bb9\\\\u1be6-\\\\u1bf3\\\\u1c00-\\\\u1c22\\\\u1c40-\\\\u1c49\\\\u1c5b-\\\\u1c7d\\\\u1cd0-\\\\u1cd2\\\\u1d00-\\\\u1dbe\\\\u1e01-\\\\u1f15\\\\u200c\\\\u200d\\\\u203f\\\\u2040\\\\u2054\\\\u20d0-\\\\u20dc\\\\u20e1\\\\u20e5-\\\\u20f0\\\\u2d81-\\\\u2d96\\\\u2de0-\\\\u2dff\\\\u3021-\\\\u3028\\\\u3099\\\\u309a\\\\ua640-\\\\ua66d\\\\ua674-\\\\ua67d\\\\ua69f\\\\ua6f0-\\\\ua6f1\\\\ua7f8-\\\\ua800\\\\ua806\\\\ua80b\\\\ua823-\\\\ua827\\\\ua880-\\\\ua881\\\\ua8b4-\\\\ua8c4\\\\ua8d0-\\\\ua8d9\\\\ua8f3-\\\\ua8f7\\\\ua900-\\\\ua909\\\\ua926-\\\\ua92d\\\\ua930-\\\\ua945\\\\ua980-\\\\ua983\\\\ua9b3-\\\\ua9c0\\\\uaa00-\\\\uaa27\\\\uaa40-\\\\uaa41\\\\uaa4c-\\\\uaa4d\\\\uaa50-\\\\uaa59\\\\uaa7b\\\\uaae0-\\\\uaae9\\\\uaaf2-\\\\uaaf3\\\\uabc0-\\\\uabe1\\\\uabec\\\\uabed\\\\uabf0-\\\\uabf9\\\\ufb20-\\\\ufb28\\\\ufe00-\\\\ufe0f\\\\ufe20-\\\\ufe26\\\\ufe33\\\\ufe34\\\\ufe4d-\\\\ufe4f\\\\uff10-\\\\uff19\\\\uff3f\";\n\t\t//var nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\n\t\t//var nonASCIIidentifier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\n\t\tvar identifierStart = \"(?:\\\\\\\\u[0-9a-fA-F]{4}|[\" + baseASCIIidentifierStartChars + nonASCIIidentifierStartChars + \"])\";\n\t\tvar identifierChars = \"(?:\\\\\\\\u[0-9a-fA-F]{4}|[\" + baseASCIIidentifierChars + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"])*\";\n\n\t\texports.identifier = new RegExp(identifierStart + identifierChars, 'g');\n\t\texports.identifierStart = new RegExp(identifierStart);\n\t\texports.identifierMatch = new RegExp(\"(?:\\\\\\\\u[0-9a-fA-F]{4}|[\" + baseASCIIidentifierChars + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"])+\");\n\n\t\t// Whether a single character denotes a newline.\n\n\t\texports.newline = /[\\n\\r\\u2028\\u2029]/;\n\n\t\t// Matches a whole line break (where CRLF is considered a single\n\t\t// line break). Used to count lines.\n\n\t\t// in javascript, these two differ\n\t\t// in python they are the same, different methods are called on them\n\t\texports.lineBreak = new RegExp('\\r\\n|' + exports.newline.source);\n\t\texports.allLineBreaks = new RegExp(exports.lineBreak.source, 'g');\n} (acorn));\n\treturn acorn;\n}\n\nvar options$3 = {};\n\nvar options$2 = {};\n\n/*jshint node:true */\n\nvar hasRequiredOptions$3;\n\nfunction requireOptions$3 () {\n\tif (hasRequiredOptions$3) return options$2;\n\thasRequiredOptions$3 = 1;\n\n\tfunction Options(options, merge_child_field) {\n\t this.raw_options = _mergeOpts(options, merge_child_field);\n\n\t // Support passing the source text back with no change\n\t this.disabled = this._get_boolean('disabled');\n\n\t this.eol = this._get_characters('eol', 'auto');\n\t this.end_with_newline = this._get_boolean('end_with_newline');\n\t this.indent_size = this._get_number('indent_size', 4);\n\t this.indent_char = this._get_characters('indent_char', ' ');\n\t this.indent_level = this._get_number('indent_level');\n\n\t this.preserve_newlines = this._get_boolean('preserve_newlines', true);\n\t this.max_preserve_newlines = this._get_number('max_preserve_newlines', 32786);\n\t if (!this.preserve_newlines) {\n\t this.max_preserve_newlines = 0;\n\t }\n\n\t this.indent_with_tabs = this._get_boolean('indent_with_tabs', this.indent_char === '\\t');\n\t if (this.indent_with_tabs) {\n\t this.indent_char = '\\t';\n\n\t // indent_size behavior changed after 1.8.6\n\t // It used to be that indent_size would be\n\t // set to 1 for indent_with_tabs. That is no longer needed and\n\t // actually doesn't make sense - why not use spaces? Further,\n\t // that might produce unexpected behavior - tabs being used\n\t // for single-column alignment. So, when indent_with_tabs is true\n\t // and indent_size is 1, reset indent_size to 4.\n\t if (this.indent_size === 1) {\n\t this.indent_size = 4;\n\t }\n\t }\n\n\t // Backwards compat with 1.3.x\n\t this.wrap_line_length = this._get_number('wrap_line_length', this._get_number('max_char'));\n\n\t this.indent_empty_lines = this._get_boolean('indent_empty_lines');\n\n\t // valid templating languages ['django', 'erb', 'handlebars', 'php', 'smarty']\n\t // For now, 'auto' = all off for javascript, all on for html (and inline javascript).\n\t // other values ignored\n\t this.templating = this._get_selection_list('templating', ['auto', 'none', 'django', 'erb', 'handlebars', 'php', 'smarty'], ['auto']);\n\t}\n\n\tOptions.prototype._get_array = function(name, default_value) {\n\t var option_value = this.raw_options[name];\n\t var result = default_value || [];\n\t if (typeof option_value === 'object') {\n\t if (option_value !== null && typeof option_value.concat === 'function') {\n\t result = option_value.concat();\n\t }\n\t } else if (typeof option_value === 'string') {\n\t result = option_value.split(/[^a-zA-Z0-9_\\/\\-]+/);\n\t }\n\t return result;\n\t};\n\n\tOptions.prototype._get_boolean = function(name, default_value) {\n\t var option_value = this.raw_options[name];\n\t var result = option_value === undefined ? !!default_value : !!option_value;\n\t return result;\n\t};\n\n\tOptions.prototype._get_characters = function(name, default_value) {\n\t var option_value = this.raw_options[name];\n\t var result = default_value || '';\n\t if (typeof option_value === 'string') {\n\t result = option_value.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n').replace(/\\\\t/, '\\t');\n\t }\n\t return result;\n\t};\n\n\tOptions.prototype._get_number = function(name, default_value) {\n\t var option_value = this.raw_options[name];\n\t default_value = parseInt(default_value, 10);\n\t if (isNaN(default_value)) {\n\t default_value = 0;\n\t }\n\t var result = parseInt(option_value, 10);\n\t if (isNaN(result)) {\n\t result = default_value;\n\t }\n\t return result;\n\t};\n\n\tOptions.prototype._get_selection = function(name, selection_list, default_value) {\n\t var result = this._get_selection_list(name, selection_list, default_value);\n\t if (result.length !== 1) {\n\t throw new Error(\n\t \"Invalid Option Value: The option '\" + name + \"' can only be one of the following values:\\n\" +\n\t selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\");\n\t }\n\n\t return result[0];\n\t};\n\n\n\tOptions.prototype._get_selection_list = function(name, selection_list, default_value) {\n\t if (!selection_list || selection_list.length === 0) {\n\t throw new Error(\"Selection list cannot be empty.\");\n\t }\n\n\t default_value = default_value || [selection_list[0]];\n\t if (!this._is_valid_selection(default_value, selection_list)) {\n\t throw new Error(\"Invalid Default Value!\");\n\t }\n\n\t var result = this._get_array(name, default_value);\n\t if (!this._is_valid_selection(result, selection_list)) {\n\t throw new Error(\n\t \"Invalid Option Value: The option '\" + name + \"' can contain only the following values:\\n\" +\n\t selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\");\n\t }\n\n\t return result;\n\t};\n\n\tOptions.prototype._is_valid_selection = function(result, selection_list) {\n\t return result.length && selection_list.length &&\n\t !result.some(function(item) { return selection_list.indexOf(item) === -1; });\n\t};\n\n\n\t// merges child options up with the parent options object\n\t// Example: obj = {a: 1, b: {a: 2}}\n\t// mergeOpts(obj, 'b')\n\t//\n\t// Returns: {a: 2}\n\tfunction _mergeOpts(allOptions, childFieldName) {\n\t var finalOpts = {};\n\t allOptions = _normalizeOpts(allOptions);\n\t var name;\n\n\t for (name in allOptions) {\n\t if (name !== childFieldName) {\n\t finalOpts[name] = allOptions[name];\n\t }\n\t }\n\n\t //merge in the per type settings for the childFieldName\n\t if (childFieldName && allOptions[childFieldName]) {\n\t for (name in allOptions[childFieldName]) {\n\t finalOpts[name] = allOptions[childFieldName][name];\n\t }\n\t }\n\t return finalOpts;\n\t}\n\n\tfunction _normalizeOpts(options) {\n\t var convertedOpts = {};\n\t var key;\n\n\t for (key in options) {\n\t var newKey = key.replace(/-/g, \"_\");\n\t convertedOpts[newKey] = options[key];\n\t }\n\t return convertedOpts;\n\t}\n\n\toptions$2.Options = Options;\n\toptions$2.normalizeOpts = _normalizeOpts;\n\toptions$2.mergeOpts = _mergeOpts;\n\treturn options$2;\n}\n\n/*jshint node:true */\n\nvar hasRequiredOptions$2;\n\nfunction requireOptions$2 () {\n\tif (hasRequiredOptions$2) return options$3;\n\thasRequiredOptions$2 = 1;\n\n\tvar BaseOptions = requireOptions$3().Options;\n\n\tvar validPositionValues = ['before-newline', 'after-newline', 'preserve-newline'];\n\n\tfunction Options(options) {\n\t BaseOptions.call(this, options, 'js');\n\n\t // compatibility, re\n\t var raw_brace_style = this.raw_options.brace_style || null;\n\t if (raw_brace_style === \"expand-strict\") { //graceful handling of deprecated option\n\t this.raw_options.brace_style = \"expand\";\n\t } else if (raw_brace_style === \"collapse-preserve-inline\") { //graceful handling of deprecated option\n\t this.raw_options.brace_style = \"collapse,preserve-inline\";\n\t } else if (this.raw_options.braces_on_own_line !== undefined) { //graceful handling of deprecated option\n\t this.raw_options.brace_style = this.raw_options.braces_on_own_line ? \"expand\" : \"collapse\";\n\t // } else if (!raw_brace_style) { //Nothing exists to set it\n\t // raw_brace_style = \"collapse\";\n\t }\n\n\t //preserve-inline in delimited string will trigger brace_preserve_inline, everything\n\t //else is considered a brace_style and the last one only will have an effect\n\n\t var brace_style_split = this._get_selection_list('brace_style', ['collapse', 'expand', 'end-expand', 'none', 'preserve-inline']);\n\n\t this.brace_preserve_inline = false; //Defaults in case one or other was not specified in meta-option\n\t this.brace_style = \"collapse\";\n\n\t for (var bs = 0; bs < brace_style_split.length; bs++) {\n\t if (brace_style_split[bs] === \"preserve-inline\") {\n\t this.brace_preserve_inline = true;\n\t } else {\n\t this.brace_style = brace_style_split[bs];\n\t }\n\t }\n\n\t this.unindent_chained_methods = this._get_boolean('unindent_chained_methods');\n\t this.break_chained_methods = this._get_boolean('break_chained_methods');\n\t this.space_in_paren = this._get_boolean('space_in_paren');\n\t this.space_in_empty_paren = this._get_boolean('space_in_empty_paren');\n\t this.jslint_happy = this._get_boolean('jslint_happy');\n\t this.space_after_anon_function = this._get_boolean('space_after_anon_function');\n\t this.space_after_named_function = this._get_boolean('space_after_named_function');\n\t this.keep_array_indentation = this._get_boolean('keep_array_indentation');\n\t this.space_before_conditional = this._get_boolean('space_before_conditional', true);\n\t this.unescape_strings = this._get_boolean('unescape_strings');\n\t this.e4x = this._get_boolean('e4x');\n\t this.comma_first = this._get_boolean('comma_first');\n\t this.operator_position = this._get_selection('operator_position', validPositionValues);\n\n\t // For testing of beautify preserve:start directive\n\t this.test_output_raw = this._get_boolean('test_output_raw');\n\n\t // force this._options.space_after_anon_function to true if this._options.jslint_happy\n\t if (this.jslint_happy) {\n\t this.space_after_anon_function = true;\n\t }\n\n\t}\n\tOptions.prototype = new BaseOptions();\n\n\n\n\toptions$3.Options = Options;\n\treturn options$3;\n}\n\nvar tokenizer$2 = {};\n\nvar inputscanner = {};\n\n/*jshint node:true */\n\nvar hasRequiredInputscanner;\n\nfunction requireInputscanner () {\n\tif (hasRequiredInputscanner) return inputscanner;\n\thasRequiredInputscanner = 1;\n\n\tvar regexp_has_sticky = RegExp.prototype.hasOwnProperty('sticky');\n\n\tfunction InputScanner(input_string) {\n\t this.__input = input_string || '';\n\t this.__input_length = this.__input.length;\n\t this.__position = 0;\n\t}\n\n\tInputScanner.prototype.restart = function() {\n\t this.__position = 0;\n\t};\n\n\tInputScanner.prototype.back = function() {\n\t if (this.__position > 0) {\n\t this.__position -= 1;\n\t }\n\t};\n\n\tInputScanner.prototype.hasNext = function() {\n\t return this.__position < this.__input_length;\n\t};\n\n\tInputScanner.prototype.next = function() {\n\t var val = null;\n\t if (this.hasNext()) {\n\t val = this.__input.charAt(this.__position);\n\t this.__position += 1;\n\t }\n\t return val;\n\t};\n\n\tInputScanner.prototype.peek = function(index) {\n\t var val = null;\n\t index = index || 0;\n\t index += this.__position;\n\t if (index >= 0 && index < this.__input_length) {\n\t val = this.__input.charAt(index);\n\t }\n\t return val;\n\t};\n\n\t// This is a JavaScript only helper function (not in python)\n\t// Javascript doesn't have a match method\n\t// and not all implementation support \"sticky\" flag.\n\t// If they do not support sticky then both this.match() and this.test() method\n\t// must get the match and check the index of the match.\n\t// If sticky is supported and set, this method will use it.\n\t// Otherwise it will check that global is set, and fall back to the slower method.\n\tInputScanner.prototype.__match = function(pattern, index) {\n\t pattern.lastIndex = index;\n\t var pattern_match = pattern.exec(this.__input);\n\n\t if (pattern_match && !(regexp_has_sticky && pattern.sticky)) {\n\t if (pattern_match.index !== index) {\n\t pattern_match = null;\n\t }\n\t }\n\n\t return pattern_match;\n\t};\n\n\tInputScanner.prototype.test = function(pattern, index) {\n\t index = index || 0;\n\t index += this.__position;\n\n\t if (index >= 0 && index < this.__input_length) {\n\t return !!this.__match(pattern, index);\n\t } else {\n\t return false;\n\t }\n\t};\n\n\tInputScanner.prototype.testChar = function(pattern, index) {\n\t // test one character regex match\n\t var val = this.peek(index);\n\t pattern.lastIndex = 0;\n\t return val !== null && pattern.test(val);\n\t};\n\n\tInputScanner.prototype.match = function(pattern) {\n\t var pattern_match = this.__match(pattern, this.__position);\n\t if (pattern_match) {\n\t this.__position += pattern_match[0].length;\n\t } else {\n\t pattern_match = null;\n\t }\n\t return pattern_match;\n\t};\n\n\tInputScanner.prototype.read = function(starting_pattern, until_pattern, until_after) {\n\t var val = '';\n\t var match;\n\t if (starting_pattern) {\n\t match = this.match(starting_pattern);\n\t if (match) {\n\t val += match[0];\n\t }\n\t }\n\t if (until_pattern && (match || !starting_pattern)) {\n\t val += this.readUntil(until_pattern, until_after);\n\t }\n\t return val;\n\t};\n\n\tInputScanner.prototype.readUntil = function(pattern, until_after) {\n\t var val = '';\n\t var match_index = this.__position;\n\t pattern.lastIndex = this.__position;\n\t var pattern_match = pattern.exec(this.__input);\n\t if (pattern_match) {\n\t match_index = pattern_match.index;\n\t if (until_after) {\n\t match_index += pattern_match[0].length;\n\t }\n\t } else {\n\t match_index = this.__input_length;\n\t }\n\n\t val = this.__input.substring(this.__position, match_index);\n\t this.__position = match_index;\n\t return val;\n\t};\n\n\tInputScanner.prototype.readUntilAfter = function(pattern) {\n\t return this.readUntil(pattern, true);\n\t};\n\n\tInputScanner.prototype.get_regexp = function(pattern, match_from) {\n\t var result = null;\n\t var flags = 'g';\n\t if (match_from && regexp_has_sticky) {\n\t flags = 'y';\n\t }\n\t // strings are converted to regexp\n\t if (typeof pattern === \"string\" && pattern !== '') {\n\t // result = new RegExp(pattern.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'), flags);\n\t result = new RegExp(pattern, flags);\n\t } else if (pattern) {\n\t result = new RegExp(pattern.source, flags);\n\t }\n\t return result;\n\t};\n\n\tInputScanner.prototype.get_literal_regexp = function(literal_string) {\n\t return RegExp(literal_string.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n\t};\n\n\t/* css beautifier legacy helpers */\n\tInputScanner.prototype.peekUntilAfter = function(pattern) {\n\t var start = this.__position;\n\t var val = this.readUntilAfter(pattern);\n\t this.__position = start;\n\t return val;\n\t};\n\n\tInputScanner.prototype.lookBack = function(testVal) {\n\t var start = this.__position - 1;\n\t return start >= testVal.length && this.__input.substring(start - testVal.length, start)\n\t .toLowerCase() === testVal;\n\t};\n\n\tinputscanner.InputScanner = InputScanner;\n\treturn inputscanner;\n}\n\nvar tokenizer$1 = {};\n\nvar tokenstream = {};\n\n/*jshint node:true */\n\nvar hasRequiredTokenstream;\n\nfunction requireTokenstream () {\n\tif (hasRequiredTokenstream) return tokenstream;\n\thasRequiredTokenstream = 1;\n\n\tfunction TokenStream(parent_token) {\n\t // private\n\t this.__tokens = [];\n\t this.__tokens_length = this.__tokens.length;\n\t this.__position = 0;\n\t this.__parent_token = parent_token;\n\t}\n\n\tTokenStream.prototype.restart = function() {\n\t this.__position = 0;\n\t};\n\n\tTokenStream.prototype.isEmpty = function() {\n\t return this.__tokens_length === 0;\n\t};\n\n\tTokenStream.prototype.hasNext = function() {\n\t return this.__position < this.__tokens_length;\n\t};\n\n\tTokenStream.prototype.next = function() {\n\t var val = null;\n\t if (this.hasNext()) {\n\t val = this.__tokens[this.__position];\n\t this.__position += 1;\n\t }\n\t return val;\n\t};\n\n\tTokenStream.prototype.peek = function(index) {\n\t var val = null;\n\t index = index || 0;\n\t index += this.__position;\n\t if (index >= 0 && index < this.__tokens_length) {\n\t val = this.__tokens[index];\n\t }\n\t return val;\n\t};\n\n\tTokenStream.prototype.add = function(token) {\n\t if (this.__parent_token) {\n\t token.parent = this.__parent_token;\n\t }\n\t this.__tokens.push(token);\n\t this.__tokens_length += 1;\n\t};\n\n\ttokenstream.TokenStream = TokenStream;\n\treturn tokenstream;\n}\n\nvar whitespacepattern = {};\n\nvar pattern = {};\n\n/*jshint node:true */\n\nvar hasRequiredPattern;\n\nfunction requirePattern () {\n\tif (hasRequiredPattern) return pattern;\n\thasRequiredPattern = 1;\n\n\tfunction Pattern(input_scanner, parent) {\n\t this._input = input_scanner;\n\t this._starting_pattern = null;\n\t this._match_pattern = null;\n\t this._until_pattern = null;\n\t this._until_after = false;\n\n\t if (parent) {\n\t this._starting_pattern = this._input.get_regexp(parent._starting_pattern, true);\n\t this._match_pattern = this._input.get_regexp(parent._match_pattern, true);\n\t this._until_pattern = this._input.get_regexp(parent._until_pattern);\n\t this._until_after = parent._until_after;\n\t }\n\t}\n\n\tPattern.prototype.read = function() {\n\t var result = this._input.read(this._starting_pattern);\n\t if (!this._starting_pattern || result) {\n\t result += this._input.read(this._match_pattern, this._until_pattern, this._until_after);\n\t }\n\t return result;\n\t};\n\n\tPattern.prototype.read_match = function() {\n\t return this._input.match(this._match_pattern);\n\t};\n\n\tPattern.prototype.until_after = function(pattern) {\n\t var result = this._create();\n\t result._until_after = true;\n\t result._until_pattern = this._input.get_regexp(pattern);\n\t result._update();\n\t return result;\n\t};\n\n\tPattern.prototype.until = function(pattern) {\n\t var result = this._create();\n\t result._until_after = false;\n\t result._until_pattern = this._input.get_regexp(pattern);\n\t result._update();\n\t return result;\n\t};\n\n\tPattern.prototype.starting_with = function(pattern) {\n\t var result = this._create();\n\t result._starting_pattern = this._input.get_regexp(pattern, true);\n\t result._update();\n\t return result;\n\t};\n\n\tPattern.prototype.matching = function(pattern) {\n\t var result = this._create();\n\t result._match_pattern = this._input.get_regexp(pattern, true);\n\t result._update();\n\t return result;\n\t};\n\n\tPattern.prototype._create = function() {\n\t return new Pattern(this._input, this);\n\t};\n\n\tPattern.prototype._update = function() {};\n\n\tpattern.Pattern = Pattern;\n\treturn pattern;\n}\n\n/*jshint node:true */\n\nvar hasRequiredWhitespacepattern;\n\nfunction requireWhitespacepattern () {\n\tif (hasRequiredWhitespacepattern) return whitespacepattern;\n\thasRequiredWhitespacepattern = 1;\n\n\tvar Pattern = requirePattern().Pattern;\n\n\tfunction WhitespacePattern(input_scanner, parent) {\n\t Pattern.call(this, input_scanner, parent);\n\t if (parent) {\n\t this._line_regexp = this._input.get_regexp(parent._line_regexp);\n\t } else {\n\t this.__set_whitespace_patterns('', '');\n\t }\n\n\t this.newline_count = 0;\n\t this.whitespace_before_token = '';\n\t}\n\tWhitespacePattern.prototype = new Pattern();\n\n\tWhitespacePattern.prototype.__set_whitespace_patterns = function(whitespace_chars, newline_chars) {\n\t whitespace_chars += '\\\\t ';\n\t newline_chars += '\\\\n\\\\r';\n\n\t this._match_pattern = this._input.get_regexp(\n\t '[' + whitespace_chars + newline_chars + ']+', true);\n\t this._newline_regexp = this._input.get_regexp(\n\t '\\\\r\\\\n|[' + newline_chars + ']');\n\t};\n\n\tWhitespacePattern.prototype.read = function() {\n\t this.newline_count = 0;\n\t this.whitespace_before_token = '';\n\n\t var resulting_string = this._input.read(this._match_pattern);\n\t if (resulting_string === ' ') {\n\t this.whitespace_before_token = ' ';\n\t } else if (resulting_string) {\n\t var matches = this.__split(this._newline_regexp, resulting_string);\n\t this.newline_count = matches.length - 1;\n\t this.whitespace_before_token = matches[this.newline_count];\n\t }\n\n\t return resulting_string;\n\t};\n\n\tWhitespacePattern.prototype.matching = function(whitespace_chars, newline_chars) {\n\t var result = this._create();\n\t result.__set_whitespace_patterns(whitespace_chars, newline_chars);\n\t result._update();\n\t return result;\n\t};\n\n\tWhitespacePattern.prototype._create = function() {\n\t return new WhitespacePattern(this._input, this);\n\t};\n\n\tWhitespacePattern.prototype.__split = function(regexp, input_string) {\n\t regexp.lastIndex = 0;\n\t var start_index = 0;\n\t var result = [];\n\t var next_match = regexp.exec(input_string);\n\t while (next_match) {\n\t result.push(input_string.substring(start_index, next_match.index));\n\t start_index = next_match.index + next_match[0].length;\n\t next_match = regexp.exec(input_string);\n\t }\n\n\t if (start_index < input_string.length) {\n\t result.push(input_string.substring(start_index, input_string.length));\n\t } else {\n\t result.push('');\n\t }\n\n\t return result;\n\t};\n\n\n\n\twhitespacepattern.WhitespacePattern = WhitespacePattern;\n\treturn whitespacepattern;\n}\n\n/*jshint node:true */\n\nvar hasRequiredTokenizer$2;\n\nfunction requireTokenizer$2 () {\n\tif (hasRequiredTokenizer$2) return tokenizer$1;\n\thasRequiredTokenizer$2 = 1;\n\n\tvar InputScanner = requireInputscanner().InputScanner;\n\tvar Token = requireToken().Token;\n\tvar TokenStream = requireTokenstream().TokenStream;\n\tvar WhitespacePattern = requireWhitespacepattern().WhitespacePattern;\n\n\tvar TOKEN = {\n\t START: 'TK_START',\n\t RAW: 'TK_RAW',\n\t EOF: 'TK_EOF'\n\t};\n\n\tvar Tokenizer = function(input_string, options) {\n\t this._input = new InputScanner(input_string);\n\t this._options = options || {};\n\t this.__tokens = null;\n\n\t this._patterns = {};\n\t this._patterns.whitespace = new WhitespacePattern(this._input);\n\t};\n\n\tTokenizer.prototype.tokenize = function() {\n\t this._input.restart();\n\t this.__tokens = new TokenStream();\n\n\t this._reset();\n\n\t var current;\n\t var previous = new Token(TOKEN.START, '');\n\t var open_token = null;\n\t var open_stack = [];\n\t var comments = new TokenStream();\n\n\t while (previous.type !== TOKEN.EOF) {\n\t current = this._get_next_token(previous, open_token);\n\t while (this._is_comment(current)) {\n\t comments.add(current);\n\t current = this._get_next_token(previous, open_token);\n\t }\n\n\t if (!comments.isEmpty()) {\n\t current.comments_before = comments;\n\t comments = new TokenStream();\n\t }\n\n\t current.parent = open_token;\n\n\t if (this._is_opening(current)) {\n\t open_stack.push(open_token);\n\t open_token = current;\n\t } else if (open_token && this._is_closing(current, open_token)) {\n\t current.opened = open_token;\n\t open_token.closed = current;\n\t open_token = open_stack.pop();\n\t current.parent = open_token;\n\t }\n\n\t current.previous = previous;\n\t previous.next = current;\n\n\t this.__tokens.add(current);\n\t previous = current;\n\t }\n\n\t return this.__tokens;\n\t};\n\n\n\tTokenizer.prototype._is_first_token = function() {\n\t return this.__tokens.isEmpty();\n\t};\n\n\tTokenizer.prototype._reset = function() {};\n\n\tTokenizer.prototype._get_next_token = function(previous_token, open_token) { // jshint unused:false\n\t this._readWhitespace();\n\t var resulting_string = this._input.read(/.+/g);\n\t if (resulting_string) {\n\t return this._create_token(TOKEN.RAW, resulting_string);\n\t } else {\n\t return this._create_token(TOKEN.EOF, '');\n\t }\n\t};\n\n\tTokenizer.prototype._is_comment = function(current_token) { // jshint unused:false\n\t return false;\n\t};\n\n\tTokenizer.prototype._is_opening = function(current_token) { // jshint unused:false\n\t return false;\n\t};\n\n\tTokenizer.prototype._is_closing = function(current_token, open_token) { // jshint unused:false\n\t return false;\n\t};\n\n\tTokenizer.prototype._create_token = function(type, text) {\n\t var token = new Token(type, text,\n\t this._patterns.whitespace.newline_count,\n\t this._patterns.whitespace.whitespace_before_token);\n\t return token;\n\t};\n\n\tTokenizer.prototype._readWhitespace = function() {\n\t return this._patterns.whitespace.read();\n\t};\n\n\n\n\ttokenizer$1.Tokenizer = Tokenizer;\n\ttokenizer$1.TOKEN = TOKEN;\n\treturn tokenizer$1;\n}\n\nvar directives = {};\n\n/*jshint node:true */\n\nvar hasRequiredDirectives;\n\nfunction requireDirectives () {\n\tif (hasRequiredDirectives) return directives;\n\thasRequiredDirectives = 1;\n\n\tfunction Directives(start_block_pattern, end_block_pattern) {\n\t start_block_pattern = typeof start_block_pattern === 'string' ? start_block_pattern : start_block_pattern.source;\n\t end_block_pattern = typeof end_block_pattern === 'string' ? end_block_pattern : end_block_pattern.source;\n\t this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \\w+[:]\\w+)+ /.source + end_block_pattern, 'g');\n\t this.__directive_pattern = / (\\w+)[:](\\w+)/g;\n\n\t this.__directives_end_ignore_pattern = new RegExp(start_block_pattern + /\\sbeautify\\signore:end\\s/.source + end_block_pattern, 'g');\n\t}\n\n\tDirectives.prototype.get_directives = function(text) {\n\t if (!text.match(this.__directives_block_pattern)) {\n\t return null;\n\t }\n\n\t var directives = {};\n\t this.__directive_pattern.lastIndex = 0;\n\t var directive_match = this.__directive_pattern.exec(text);\n\n\t while (directive_match) {\n\t directives[directive_match[1]] = directive_match[2];\n\t directive_match = this.__directive_pattern.exec(text);\n\t }\n\n\t return directives;\n\t};\n\n\tDirectives.prototype.readIgnored = function(input) {\n\t return input.readUntilAfter(this.__directives_end_ignore_pattern);\n\t};\n\n\n\tdirectives.Directives = Directives;\n\treturn directives;\n}\n\nvar templatablepattern = {};\n\n/*jshint node:true */\n\nvar hasRequiredTemplatablepattern;\n\nfunction requireTemplatablepattern () {\n\tif (hasRequiredTemplatablepattern) return templatablepattern;\n\thasRequiredTemplatablepattern = 1;\n\n\tvar Pattern = requirePattern().Pattern;\n\n\n\tvar template_names = {\n\t django: false,\n\t erb: false,\n\t handlebars: false,\n\t php: false,\n\t smarty: false\n\t};\n\n\t// This lets templates appear anywhere we would do a readUntil\n\t// The cost is higher but it is pay to play.\n\tfunction TemplatablePattern(input_scanner, parent) {\n\t Pattern.call(this, input_scanner, parent);\n\t this.__template_pattern = null;\n\t this._disabled = Object.assign({}, template_names);\n\t this._excluded = Object.assign({}, template_names);\n\n\t if (parent) {\n\t this.__template_pattern = this._input.get_regexp(parent.__template_pattern);\n\t this._excluded = Object.assign(this._excluded, parent._excluded);\n\t this._disabled = Object.assign(this._disabled, parent._disabled);\n\t }\n\t var pattern = new Pattern(input_scanner);\n\t this.__patterns = {\n\t handlebars_comment: pattern.starting_with(/{{!--/).until_after(/--}}/),\n\t handlebars_unescaped: pattern.starting_with(/{{{/).until_after(/}}}/),\n\t handlebars: pattern.starting_with(/{{/).until_after(/}}/),\n\t php: pattern.starting_with(/<\\?(?:[= ]|php)/).until_after(/\\?>/),\n\t erb: pattern.starting_with(/<%[^%]/).until_after(/[^%]%>/),\n\t // django coflicts with handlebars a bit.\n\t django: pattern.starting_with(/{%/).until_after(/%}/),\n\t django_value: pattern.starting_with(/{{/).until_after(/}}/),\n\t django_comment: pattern.starting_with(/{#/).until_after(/#}/),\n\t smarty: pattern.starting_with(/{(?=[^}{\\s\\n])/).until_after(/[^\\s\\n]}/),\n\t smarty_comment: pattern.starting_with(/{\\*/).until_after(/\\*}/),\n\t smarty_literal: pattern.starting_with(/{literal}/).until_after(/{\\/literal}/)\n\t };\n\t}\n\tTemplatablePattern.prototype = new Pattern();\n\n\tTemplatablePattern.prototype._create = function() {\n\t return new TemplatablePattern(this._input, this);\n\t};\n\n\tTemplatablePattern.prototype._update = function() {\n\t this.__set_templated_pattern();\n\t};\n\n\tTemplatablePattern.prototype.disable = function(language) {\n\t var result = this._create();\n\t result._disabled[language] = true;\n\t result._update();\n\t return result;\n\t};\n\n\tTemplatablePattern.prototype.read_options = function(options) {\n\t var result = this._create();\n\t for (var language in template_names) {\n\t result._disabled[language] = options.templating.indexOf(language) === -1;\n\t }\n\t result._update();\n\t return result;\n\t};\n\n\tTemplatablePattern.prototype.exclude = function(language) {\n\t var result = this._create();\n\t result._excluded[language] = true;\n\t result._update();\n\t return result;\n\t};\n\n\tTemplatablePattern.prototype.read = function() {\n\t var result = '';\n\t if (this._match_pattern) {\n\t result = this._input.read(this._starting_pattern);\n\t } else {\n\t result = this._input.read(this._starting_pattern, this.__template_pattern);\n\t }\n\t var next = this._read_template();\n\t while (next) {\n\t if (this._match_pattern) {\n\t next += this._input.read(this._match_pattern);\n\t } else {\n\t next += this._input.readUntil(this.__template_pattern);\n\t }\n\t result += next;\n\t next = this._read_template();\n\t }\n\n\t if (this._until_after) {\n\t result += this._input.readUntilAfter(this._until_pattern);\n\t }\n\t return result;\n\t};\n\n\tTemplatablePattern.prototype.__set_templated_pattern = function() {\n\t var items = [];\n\n\t if (!this._disabled.php) {\n\t items.push(this.__patterns.php._starting_pattern.source);\n\t }\n\t if (!this._disabled.handlebars) {\n\t items.push(this.__patterns.handlebars._starting_pattern.source);\n\t }\n\t if (!this._disabled.erb) {\n\t items.push(this.__patterns.erb._starting_pattern.source);\n\t }\n\t if (!this._disabled.django) {\n\t items.push(this.__patterns.django._starting_pattern.source);\n\t // The starting pattern for django is more complex because it has different\n\t // patterns for value, comment, and other sections\n\t items.push(this.__patterns.django_value._starting_pattern.source);\n\t items.push(this.__patterns.django_comment._starting_pattern.source);\n\t }\n\t if (!this._disabled.smarty) {\n\t items.push(this.__patterns.smarty._starting_pattern.source);\n\t }\n\n\t if (this._until_pattern) {\n\t items.push(this._until_pattern.source);\n\t }\n\t this.__template_pattern = this._input.get_regexp('(?:' + items.join('|') + ')');\n\t};\n\n\tTemplatablePattern.prototype._read_template = function() {\n\t var resulting_string = '';\n\t var c = this._input.peek();\n\t if (c === '<') {\n\t var peek1 = this._input.peek(1);\n\t //if we're in a comment, do something special\n\t // We treat all comments as literals, even more than preformatted tags\n\t // we just look for the appropriate close tag\n\t if (!this._disabled.php && !this._excluded.php && peek1 === '?') {\n\t resulting_string = resulting_string ||\n\t this.__patterns.php.read();\n\t }\n\t if (!this._disabled.erb && !this._excluded.erb && peek1 === '%') {\n\t resulting_string = resulting_string ||\n\t this.__patterns.erb.read();\n\t }\n\t } else if (c === '{') {\n\t if (!this._disabled.handlebars && !this._excluded.handlebars) {\n\t resulting_string = resulting_string ||\n\t this.__patterns.handlebars_comment.read();\n\t resulting_string = resulting_string ||\n\t this.__patterns.handlebars_unescaped.read();\n\t resulting_string = resulting_string ||\n\t this.__patterns.handlebars.read();\n\t }\n\t if (!this._disabled.django) {\n\t // django coflicts with handlebars a bit.\n\t if (!this._excluded.django && !this._excluded.handlebars) {\n\t resulting_string = resulting_string ||\n\t this.__patterns.django_value.read();\n\t }\n\t if (!this._excluded.django) {\n\t resulting_string = resulting_string ||\n\t this.__patterns.django_comment.read();\n\t resulting_string = resulting_string ||\n\t this.__patterns.django.read();\n\t }\n\t }\n\t if (!this._disabled.smarty) {\n\t // smarty cannot be enabled with django or handlebars enabled\n\t if (this._disabled.django && this._disabled.handlebars) {\n\t resulting_string = resulting_string ||\n\t this.__patterns.smarty_comment.read();\n\t resulting_string = resulting_string ||\n\t this.__patterns.smarty_literal.read();\n\t resulting_string = resulting_string ||\n\t this.__patterns.smarty.read();\n\t }\n\t }\n\t }\n\t return resulting_string;\n\t};\n\n\n\ttemplatablepattern.TemplatablePattern = TemplatablePattern;\n\treturn templatablepattern;\n}\n\n/*jshint node:true */\n\nvar hasRequiredTokenizer$1;\n\nfunction requireTokenizer$1 () {\n\tif (hasRequiredTokenizer$1) return tokenizer$2;\n\thasRequiredTokenizer$1 = 1;\n\n\tvar InputScanner = requireInputscanner().InputScanner;\n\tvar BaseTokenizer = requireTokenizer$2().Tokenizer;\n\tvar BASETOKEN = requireTokenizer$2().TOKEN;\n\tvar Directives = requireDirectives().Directives;\n\tvar acorn = requireAcorn();\n\tvar Pattern = requirePattern().Pattern;\n\tvar TemplatablePattern = requireTemplatablepattern().TemplatablePattern;\n\n\n\tfunction in_array(what, arr) {\n\t return arr.indexOf(what) !== -1;\n\t}\n\n\n\tvar TOKEN = {\n\t START_EXPR: 'TK_START_EXPR',\n\t END_EXPR: 'TK_END_EXPR',\n\t START_BLOCK: 'TK_START_BLOCK',\n\t END_BLOCK: 'TK_END_BLOCK',\n\t WORD: 'TK_WORD',\n\t RESERVED: 'TK_RESERVED',\n\t SEMICOLON: 'TK_SEMICOLON',\n\t STRING: 'TK_STRING',\n\t EQUALS: 'TK_EQUALS',\n\t OPERATOR: 'TK_OPERATOR',\n\t COMMA: 'TK_COMMA',\n\t BLOCK_COMMENT: 'TK_BLOCK_COMMENT',\n\t COMMENT: 'TK_COMMENT',\n\t DOT: 'TK_DOT',\n\t UNKNOWN: 'TK_UNKNOWN',\n\t START: BASETOKEN.START,\n\t RAW: BASETOKEN.RAW,\n\t EOF: BASETOKEN.EOF\n\t};\n\n\n\tvar directives_core = new Directives(/\\/\\*/, /\\*\\//);\n\n\tvar number_pattern = /0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\\d[\\d_]*n|(?:\\.\\d[\\d_]*|\\d[\\d_]*\\.?[\\d_]*)(?:[eE][+-]?[\\d_]+)?/;\n\n\tvar digit = /[0-9]/;\n\n\t// Dot \".\" must be distinguished from \"...\" and decimal\n\tvar dot_pattern = /[^\\d\\.]/;\n\n\tvar positionable_operators = (\n\t \">>> === !== &&= ??= ||= \" +\n\t \"<< && >= ** != == <= >> || ?? |> \" +\n\t \"< / - + > : & % ? ^ | *\").split(' ');\n\n\t// IMPORTANT: this must be sorted longest to shortest or tokenizing many not work.\n\t// Also, you must update possitionable operators separately from punct\n\tvar punct =\n\t \">>>= \" +\n\t \"... >>= <<= === >>> !== **= &&= ??= ||= \" +\n\t \"=> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> \" +\n\t \"= ! ? > < : / ^ - + * & % ~ |\";\n\n\tpunct = punct.replace(/[-[\\]{}()*+?.,\\\\^$|#]/g, \"\\\\$&\");\n\t// ?. but not if followed by a number \n\tpunct = '\\\\?\\\\.(?!\\\\d) ' + punct;\n\tpunct = punct.replace(/ /g, '|');\n\n\tvar punct_pattern = new RegExp(punct);\n\n\t// words which should always start on new line.\n\tvar line_starters = 'continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export'.split(',');\n\tvar reserved_words = line_starters.concat(['do', 'in', 'of', 'else', 'get', 'set', 'new', 'catch', 'finally', 'typeof', 'yield', 'async', 'await', 'from', 'as', 'class', 'extends']);\n\tvar reserved_word_pattern = new RegExp('^(?:' + reserved_words.join('|') + ')$');\n\n\t// var template_pattern = /(?:(?:<\\?php|<\\?=)[\\s\\S]*?\\?>)|(?:<%[\\s\\S]*?%>)/g;\n\n\tvar in_html_comment;\n\n\tvar Tokenizer = function(input_string, options) {\n\t BaseTokenizer.call(this, input_string, options);\n\n\t this._patterns.whitespace = this._patterns.whitespace.matching(\n\t /\\u00A0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff/.source,\n\t /\\u2028\\u2029/.source);\n\n\t var pattern_reader = new Pattern(this._input);\n\t var templatable = new TemplatablePattern(this._input)\n\t .read_options(this._options);\n\n\t this.__patterns = {\n\t template: templatable,\n\t identifier: templatable.starting_with(acorn.identifier).matching(acorn.identifierMatch),\n\t number: pattern_reader.matching(number_pattern),\n\t punct: pattern_reader.matching(punct_pattern),\n\t // comment ends just before nearest linefeed or end of file\n\t comment: pattern_reader.starting_with(/\\/\\//).until(/[\\n\\r\\u2028\\u2029]/),\n\t // /* ... */ comment ends with nearest */ or end of file\n\t block_comment: pattern_reader.starting_with(/\\/\\*/).until_after(/\\*\\//),\n\t html_comment_start: pattern_reader.matching(/<!--/),\n\t html_comment_end: pattern_reader.matching(/-->/),\n\t include: pattern_reader.starting_with(/#include/).until_after(acorn.lineBreak),\n\t shebang: pattern_reader.starting_with(/#!/).until_after(acorn.lineBreak),\n\t xml: pattern_reader.matching(/[\\s\\S]*?<(\\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\\[CDATA\\[[^\\]]*?\\]\\]|)(\\s*{[^}]+?}|\\s+[-a-zA-Z:0-9_.]+|\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{([^{}]|{[^}]+?})+?}))*\\s*(\\/?)\\s*>/),\n\t single_quote: templatable.until(/['\\\\\\n\\r\\u2028\\u2029]/),\n\t double_quote: templatable.until(/[\"\\\\\\n\\r\\u2028\\u2029]/),\n\t template_text: templatable.until(/[`\\\\$]/),\n\t template_expression: templatable.until(/[`}\\\\]/)\n\t };\n\n\t};\n\tTokenizer.prototype = new BaseTokenizer();\n\n\tTokenizer.prototype._is_comment = function(current_token) {\n\t return current_token.type === TOKEN.COMMENT || current_token.type === TOKEN.BLOCK_COMMENT || current_token.type === TOKEN.UNKNOWN;\n\t};\n\n\tTokenizer.prototype._is_opening = function(current_token) {\n\t return current_token.type === TOKEN.START_BLOCK || current_token.type === TOKEN.START_EXPR;\n\t};\n\n\tTokenizer.prototype._is_closing = function(current_token, open_token) {\n\t return (current_token.type === TOKEN.END_BLOCK || current_token.type === TOKEN.END_EXPR) &&\n\t (open_token && (\n\t (current_token.text === ']' && open_token.text === '[') ||\n\t (current_token.text === ')' && open_token.text === '(') ||\n\t (current_token.text === '}' && open_token.text === '{')));\n\t};\n\n\tTokenizer.prototype._reset = function() {\n\t in_html_comment = false;\n\t};\n\n\tTokenizer.prototype._get_next_token = function(previous_token, open_token) { // jshint unused:false\n\t var token = null;\n\t this._readWhitespace();\n\t var c = this._input.peek();\n\n\t if (c === null) {\n\t return this._create_token(TOKEN.EOF, '');\n\t }\n\n\t token = token || this._read_non_javascript(c);\n\t token = token || this._read_string(c);\n\t token = token || this._read_word(previous_token);\n\t token = token || this._read_singles(c);\n\t token = token || this._read_comment(c);\n\t token = token || this._read_regexp(c, previous_token);\n\t token = token || this._read_xml(c, previous_token);\n\t token = token || this._read_punctuation();\n\t token = token || this._create_token(TOKEN.UNKNOWN, this._input.next());\n\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_word = function(previous_token) {\n\t var resulting_string;\n\t resulting_string = this.__patterns.identifier.read();\n\t if (resulting_string !== '') {\n\t resulting_string = resulting_string.replace(acorn.allLineBreaks, '\\n');\n\t if (!(previous_token.type === TOKEN.DOT ||\n\t (previous_token.type === TOKEN.RESERVED && (previous_token.text === 'set' || previous_token.text === 'get'))) &&\n\t reserved_word_pattern.test(resulting_string)) {\n\t if ((resulting_string === 'in' || resulting_string === 'of') &&\n\t (previous_token.type === TOKEN.WORD || previous_token.type === TOKEN.STRING)) { // hack for 'in' and 'of' operators\n\t return this._create_token(TOKEN.OPERATOR, resulting_string);\n\t }\n\t return this._create_token(TOKEN.RESERVED, resulting_string);\n\t }\n\t return this._create_token(TOKEN.WORD, resulting_string);\n\t }\n\n\t resulting_string = this.__patterns.number.read();\n\t if (resulting_string !== '') {\n\t return this._create_token(TOKEN.WORD, resulting_string);\n\t }\n\t};\n\n\tTokenizer.prototype._read_singles = function(c) {\n\t var token = null;\n\t if (c === '(' || c === '[') {\n\t token = this._create_token(TOKEN.START_EXPR, c);\n\t } else if (c === ')' || c === ']') {\n\t token = this._create_token(TOKEN.END_EXPR, c);\n\t } else if (c === '{') {\n\t token = this._create_token(TOKEN.START_BLOCK, c);\n\t } else if (c === '}') {\n\t token = this._create_token(TOKEN.END_BLOCK, c);\n\t } else if (c === ';') {\n\t token = this._create_token(TOKEN.SEMICOLON, c);\n\t } else if (c === '.' && dot_pattern.test(this._input.peek(1))) {\n\t token = this._create_token(TOKEN.DOT, c);\n\t } else if (c === ',') {\n\t token = this._create_token(TOKEN.COMMA, c);\n\t }\n\n\t if (token) {\n\t this._input.next();\n\t }\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_punctuation = function() {\n\t var resulting_string = this.__patterns.punct.read();\n\n\t if (resulting_string !== '') {\n\t if (resulting_string === '=') {\n\t return this._create_token(TOKEN.EQUALS, resulting_string);\n\t } else if (resulting_string === '?.') {\n\t return this._create_token(TOKEN.DOT, resulting_string);\n\t } else {\n\t return this._create_token(TOKEN.OPERATOR, resulting_string);\n\t }\n\t }\n\t};\n\n\tTokenizer.prototype._read_non_javascript = function(c) {\n\t var resulting_string = '';\n\n\t if (c === '#') {\n\t if (this._is_first_token()) {\n\t resulting_string = this.__patterns.shebang.read();\n\n\t if (resulting_string) {\n\t return this._create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\\n');\n\t }\n\t }\n\n\t // handles extendscript #includes\n\t resulting_string = this.__patterns.include.read();\n\n\t if (resulting_string) {\n\t return this._create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\\n');\n\t }\n\n\t c = this._input.next();\n\n\t // Spidermonkey-specific sharp variables for circular references. Considered obsolete.\n\t var sharp = '#';\n\t if (this._input.hasNext() && this._input.testChar(digit)) {\n\t do {\n\t c = this._input.next();\n\t sharp += c;\n\t } while (this._input.hasNext() && c !== '#' && c !== '=');\n\t if (c === '#') ; else if (this._input.peek() === '[' && this._input.peek(1) === ']') {\n\t sharp += '[]';\n\t this._input.next();\n\t this._input.next();\n\t } else if (this._input.peek() === '{' && this._input.peek(1) === '}') {\n\t sharp += '{}';\n\t this._input.next();\n\t this._input.next();\n\t }\n\t return this._create_token(TOKEN.WORD, sharp);\n\t }\n\n\t this._input.back();\n\n\t } else if (c === '<' && this._is_first_token()) {\n\t resulting_string = this.__patterns.html_comment_start.read();\n\t if (resulting_string) {\n\t while (this._input.hasNext() && !this._input.testChar(acorn.newline)) {\n\t resulting_string += this._input.next();\n\t }\n\t in_html_comment = true;\n\t return this._create_token(TOKEN.COMMENT, resulting_string);\n\t }\n\t } else if (in_html_comment && c === '-') {\n\t resulting_string = this.__patterns.html_comment_end.read();\n\t if (resulting_string) {\n\t in_html_comment = false;\n\t return this._create_token(TOKEN.COMMENT, resulting_string);\n\t }\n\t }\n\n\t return null;\n\t};\n\n\tTokenizer.prototype._read_comment = function(c) {\n\t var token = null;\n\t if (c === '/') {\n\t var comment = '';\n\t if (this._input.peek(1) === '*') {\n\t // peek for comment /* ... */\n\t comment = this.__patterns.block_comment.read();\n\t var directives = directives_core.get_directives(comment);\n\t if (directives && directives.ignore === 'start') {\n\t comment += directives_core.readIgnored(this._input);\n\t }\n\t comment = comment.replace(acorn.allLineBreaks, '\\n');\n\t token = this._create_token(TOKEN.BLOCK_COMMENT, comment);\n\t token.directives = directives;\n\t } else if (this._input.peek(1) === '/') {\n\t // peek for comment // ...\n\t comment = this.__patterns.comment.read();\n\t token = this._create_token(TOKEN.COMMENT, comment);\n\t }\n\t }\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_string = function(c) {\n\t if (c === '`' || c === \"'\" || c === '\"') {\n\t var resulting_string = this._input.next();\n\t this.has_char_escapes = false;\n\n\t if (c === '`') {\n\t resulting_string += this._read_string_recursive('`', true, '${');\n\t } else {\n\t resulting_string += this._read_string_recursive(c);\n\t }\n\n\t if (this.has_char_escapes && this._options.unescape_strings) {\n\t resulting_string = unescape_string(resulting_string);\n\t }\n\n\t if (this._input.peek() === c) {\n\t resulting_string += this._input.next();\n\t }\n\n\t resulting_string = resulting_string.replace(acorn.allLineBreaks, '\\n');\n\n\t return this._create_token(TOKEN.STRING, resulting_string);\n\t }\n\n\t return null;\n\t};\n\n\tTokenizer.prototype._allow_regexp_or_xml = function(previous_token) {\n\t // regex and xml can only appear in specific locations during parsing\n\t return (previous_token.type === TOKEN.RESERVED && in_array(previous_token.text, ['return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) ||\n\t (previous_token.type === TOKEN.END_EXPR && previous_token.text === ')' &&\n\t previous_token.opened.previous.type === TOKEN.RESERVED && in_array(previous_token.opened.previous.text, ['if', 'while', 'for'])) ||\n\t (in_array(previous_token.type, [TOKEN.COMMENT, TOKEN.START_EXPR, TOKEN.START_BLOCK, TOKEN.START,\n\t TOKEN.END_BLOCK, TOKEN.OPERATOR, TOKEN.EQUALS, TOKEN.EOF, TOKEN.SEMICOLON, TOKEN.COMMA\n\t ]));\n\t};\n\n\tTokenizer.prototype._read_regexp = function(c, previous_token) {\n\n\t if (c === '/' && this._allow_regexp_or_xml(previous_token)) {\n\t // handle regexp\n\t //\n\t var resulting_string = this._input.next();\n\t var esc = false;\n\n\t var in_char_class = false;\n\t while (this._input.hasNext() &&\n\t ((esc || in_char_class || this._input.peek() !== c) &&\n\t !this._input.testChar(acorn.newline))) {\n\t resulting_string += this._input.peek();\n\t if (!esc) {\n\t esc = this._input.peek() === '\\\\';\n\t if (this._input.peek() === '[') {\n\t in_char_class = true;\n\t } else if (this._input.peek() === ']') {\n\t in_char_class = false;\n\t }\n\t } else {\n\t esc = false;\n\t }\n\t this._input.next();\n\t }\n\n\t if (this._input.peek() === c) {\n\t resulting_string += this._input.next();\n\n\t // regexps may have modifiers /regexp/MOD , so fetch those, too\n\t // Only [gim] are valid, but if the user puts in garbage, do what we can to take it.\n\t resulting_string += this._input.read(acorn.identifier);\n\t }\n\t return this._create_token(TOKEN.STRING, resulting_string);\n\t }\n\t return null;\n\t};\n\n\tTokenizer.prototype._read_xml = function(c, previous_token) {\n\n\t if (this._options.e4x && c === \"<\" && this._allow_regexp_or_xml(previous_token)) {\n\t var xmlStr = '';\n\t var match = this.__patterns.xml.read_match();\n\t // handle e4x xml literals\n\t //\n\t if (match) {\n\t // Trim root tag to attempt to\n\t var rootTag = match[2].replace(/^{\\s+/, '{').replace(/\\s+}$/, '}');\n\t var isCurlyRoot = rootTag.indexOf('{') === 0;\n\t var depth = 0;\n\t while (match) {\n\t var isEndTag = !!match[1];\n\t var tagName = match[2];\n\t var isSingletonTag = (!!match[match.length - 1]) || (tagName.slice(0, 8) === \"![CDATA[\");\n\t if (!isSingletonTag &&\n\t (tagName === rootTag || (isCurlyRoot && tagName.replace(/^{\\s+/, '{').replace(/\\s+}$/, '}')))) {\n\t if (isEndTag) {\n\t --depth;\n\t } else {\n\t ++depth;\n\t }\n\t }\n\t xmlStr += match[0];\n\t if (depth <= 0) {\n\t break;\n\t }\n\t match = this.__patterns.xml.read_match();\n\t }\n\t // if we didn't close correctly, keep unformatted.\n\t if (!match) {\n\t xmlStr += this._input.match(/[\\s\\S]*/g)[0];\n\t }\n\t xmlStr = xmlStr.replace(acorn.allLineBreaks, '\\n');\n\t return this._create_token(TOKEN.STRING, xmlStr);\n\t }\n\t }\n\n\t return null;\n\t};\n\n\tfunction unescape_string(s) {\n\t // You think that a regex would work for this\n\t // return s.replace(/\\\\x([0-9a-f]{2})/gi, function(match, val) {\n\t // return String.fromCharCode(parseInt(val, 16));\n\t // })\n\t // However, dealing with '\\xff', '\\\\xff', '\\\\\\xff' makes this more fun.\n\t var out = '',\n\t escaped = 0;\n\n\t var input_scan = new InputScanner(s);\n\t var matched = null;\n\n\t while (input_scan.hasNext()) {\n\t // Keep any whitespace, non-slash characters\n\t // also keep slash pairs.\n\t matched = input_scan.match(/([\\s]|[^\\\\]|\\\\\\\\)+/g);\n\n\t if (matched) {\n\t out += matched[0];\n\t }\n\n\t if (input_scan.peek() === '\\\\') {\n\t input_scan.next();\n\t if (input_scan.peek() === 'x') {\n\t matched = input_scan.match(/x([0-9A-Fa-f]{2})/g);\n\t } else if (input_scan.peek() === 'u') {\n\t matched = input_scan.match(/u([0-9A-Fa-f]{4})/g);\n\t } else {\n\t out += '\\\\';\n\t if (input_scan.hasNext()) {\n\t out += input_scan.next();\n\t }\n\t continue;\n\t }\n\n\t // If there's some error decoding, return the original string\n\t if (!matched) {\n\t return s;\n\t }\n\n\t escaped = parseInt(matched[1], 16);\n\n\t if (escaped > 0x7e && escaped <= 0xff && matched[0].indexOf('x') === 0) {\n\t // we bail out on \\x7f..\\xff,\n\t // leaving whole string escaped,\n\t // as it's probably completely binary\n\t return s;\n\t } else if (escaped >= 0x00 && escaped < 0x20) {\n\t // leave 0x00...0x1f escaped\n\t out += '\\\\' + matched[0];\n\t continue;\n\t } else if (escaped === 0x22 || escaped === 0x27 || escaped === 0x5c) {\n\t // single-quote, apostrophe, backslash - escape these\n\t out += '\\\\' + String.fromCharCode(escaped);\n\t } else {\n\t out += String.fromCharCode(escaped);\n\t }\n\t }\n\t }\n\n\t return out;\n\t}\n\n\t// handle string\n\t//\n\tTokenizer.prototype._read_string_recursive = function(delimiter, allow_unescaped_newlines, start_sub) {\n\t var current_char;\n\t var pattern;\n\t if (delimiter === '\\'') {\n\t pattern = this.__patterns.single_quote;\n\t } else if (delimiter === '\"') {\n\t pattern = this.__patterns.double_quote;\n\t } else if (delimiter === '`') {\n\t pattern = this.__patterns.template_text;\n\t } else if (delimiter === '}') {\n\t pattern = this.__patterns.template_expression;\n\t }\n\n\t var resulting_string = pattern.read();\n\t var next = '';\n\t while (this._input.hasNext()) {\n\t next = this._input.next();\n\t if (next === delimiter ||\n\t (!allow_unescaped_newlines && acorn.newline.test(next))) {\n\t this._input.back();\n\t break;\n\t } else if (next === '\\\\' && this._input.hasNext()) {\n\t current_char = this._input.peek();\n\n\t if (current_char === 'x' || current_char === 'u') {\n\t this.has_char_escapes = true;\n\t } else if (current_char === '\\r' && this._input.peek(1) === '\\n') {\n\t this._input.next();\n\t }\n\t next += this._input.next();\n\t } else if (start_sub) {\n\t if (start_sub === '${' && next === '$' && this._input.peek() === '{') {\n\t next += this._input.next();\n\t }\n\n\t if (start_sub === next) {\n\t if (delimiter === '`') {\n\t next += this._read_string_recursive('}', allow_unescaped_newlines, '`');\n\t } else {\n\t next += this._read_string_recursive('`', allow_unescaped_newlines, '${');\n\t }\n\t if (this._input.hasNext()) {\n\t next += this._input.next();\n\t }\n\t }\n\t }\n\t next += pattern.read();\n\t resulting_string += next;\n\t }\n\n\t return resulting_string;\n\t};\n\n\ttokenizer$2.Tokenizer = Tokenizer;\n\ttokenizer$2.TOKEN = TOKEN;\n\ttokenizer$2.positionable_operators = positionable_operators.slice();\n\ttokenizer$2.line_starters = line_starters.slice();\n\treturn tokenizer$2;\n}\n\n/*jshint node:true */\n\nvar hasRequiredBeautifier$2;\n\nfunction requireBeautifier$2 () {\n\tif (hasRequiredBeautifier$2) return beautifier$2;\n\thasRequiredBeautifier$2 = 1;\n\n\tvar Output = requireOutput().Output;\n\tvar Token = requireToken().Token;\n\tvar acorn = requireAcorn();\n\tvar Options = requireOptions$2().Options;\n\tvar Tokenizer = requireTokenizer$1().Tokenizer;\n\tvar line_starters = requireTokenizer$1().line_starters;\n\tvar positionable_operators = requireTokenizer$1().positionable_operators;\n\tvar TOKEN = requireTokenizer$1().TOKEN;\n\n\n\tfunction in_array(what, arr) {\n\t return arr.indexOf(what) !== -1;\n\t}\n\n\tfunction ltrim(s) {\n\t return s.replace(/^\\s+/g, '');\n\t}\n\n\tfunction generateMapFromStrings(list) {\n\t var result = {};\n\t for (var x = 0; x < list.length; x++) {\n\t // make the mapped names underscored instead of dash\n\t result[list[x].replace(/-/g, '_')] = list[x];\n\t }\n\t return result;\n\t}\n\n\tfunction reserved_word(token, word) {\n\t return token && token.type === TOKEN.RESERVED && token.text === word;\n\t}\n\n\tfunction reserved_array(token, words) {\n\t return token && token.type === TOKEN.RESERVED && in_array(token.text, words);\n\t}\n\t// Unsure of what they mean, but they work. Worth cleaning up in future.\n\tvar special_words = ['case', 'return', 'do', 'if', 'throw', 'else', 'await', 'break', 'continue', 'async'];\n\n\tvar validPositionValues = ['before-newline', 'after-newline', 'preserve-newline'];\n\n\t// Generate map from array\n\tvar OPERATOR_POSITION = generateMapFromStrings(validPositionValues);\n\n\tvar OPERATOR_POSITION_BEFORE_OR_PRESERVE = [OPERATOR_POSITION.before_newline, OPERATOR_POSITION.preserve_newline];\n\n\tvar MODE = {\n\t BlockStatement: 'BlockStatement', // 'BLOCK'\n\t Statement: 'Statement', // 'STATEMENT'\n\t ObjectLiteral: 'ObjectLiteral', // 'OBJECT',\n\t ArrayLiteral: 'ArrayLiteral', //'[EXPRESSION]',\n\t ForInitializer: 'ForInitializer', //'(FOR-EXPRESSION)',\n\t Conditional: 'Conditional', //'(COND-EXPRESSION)',\n\t Expression: 'Expression' //'(EXPRESSION)'\n\t};\n\n\tfunction remove_redundant_indentation(output, frame) {\n\t // This implementation is effective but has some issues:\n\t // - can cause line wrap to happen too soon due to indent removal\n\t // after wrap points are calculated\n\t // These issues are minor compared to ugly indentation.\n\n\t if (frame.multiline_frame ||\n\t frame.mode === MODE.ForInitializer ||\n\t frame.mode === MODE.Conditional) {\n\t return;\n\t }\n\n\t // remove one indent from each line inside this section\n\t output.remove_indent(frame.start_line_index);\n\t}\n\n\t// we could use just string.split, but\n\t// IE doesn't like returning empty strings\n\tfunction split_linebreaks(s) {\n\t //return s.split(/\\x0d\\x0a|\\x0a/);\n\n\t s = s.replace(acorn.allLineBreaks, '\\n');\n\t var out = [],\n\t idx = s.indexOf(\"\\n\");\n\t while (idx !== -1) {\n\t out.push(s.substring(0, idx));\n\t s = s.substring(idx + 1);\n\t idx = s.indexOf(\"\\n\");\n\t }\n\t if (s.length) {\n\t out.push(s);\n\t }\n\t return out;\n\t}\n\n\tfunction is_array(mode) {\n\t return mode === MODE.ArrayLiteral;\n\t}\n\n\tfunction is_expression(mode) {\n\t return in_array(mode, [MODE.Expression, MODE.ForInitializer, MODE.Conditional]);\n\t}\n\n\tfunction all_lines_start_with(lines, c) {\n\t for (var i = 0; i < lines.length; i++) {\n\t var line = lines[i].trim();\n\t if (line.charAt(0) !== c) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t}\n\n\tfunction each_line_matches_indent(lines, indent) {\n\t var i = 0,\n\t len = lines.length,\n\t line;\n\t for (; i < len; i++) {\n\t line = lines[i];\n\t // allow empty lines to pass through\n\t if (line && line.indexOf(indent) !== 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t}\n\n\n\tfunction Beautifier(source_text, options) {\n\t options = options || {};\n\t this._source_text = source_text || '';\n\n\t this._output = null;\n\t this._tokens = null;\n\t this._last_last_text = null;\n\t this._flags = null;\n\t this._previous_flags = null;\n\n\t this._flag_store = null;\n\t this._options = new Options(options);\n\t}\n\n\tBeautifier.prototype.create_flags = function(flags_base, mode) {\n\t var next_indent_level = 0;\n\t if (flags_base) {\n\t next_indent_level = flags_base.indentation_level;\n\t if (!this._output.just_added_newline() &&\n\t flags_base.line_indent_level > next_indent_level) {\n\t next_indent_level = flags_base.line_indent_level;\n\t }\n\t }\n\n\t var next_flags = {\n\t mode: mode,\n\t parent: flags_base,\n\t last_token: flags_base ? flags_base.last_token : new Token(TOKEN.START_BLOCK, ''), // last token text\n\t last_word: flags_base ? flags_base.last_word : '', // last TOKEN.WORD passed\n\t declaration_statement: false,\n\t declaration_assignment: false,\n\t multiline_frame: false,\n\t inline_frame: false,\n\t if_block: false,\n\t else_block: false,\n\t class_start_block: false, // class A { INSIDE HERE } or class B extends C { INSIDE HERE }\n\t do_block: false,\n\t do_while: false,\n\t import_block: false,\n\t in_case_statement: false, // switch(..){ INSIDE HERE }\n\t in_case: false, // we're on the exact line with \"case 0:\"\n\t case_body: false, // the indented case-action block\n\t case_block: false, // the indented case-action block is wrapped with {}\n\t indentation_level: next_indent_level,\n\t alignment: 0,\n\t line_indent_level: flags_base ? flags_base.line_indent_level : next_indent_level,\n\t start_line_index: this._output.get_line_number(),\n\t ternary_depth: 0\n\t };\n\t return next_flags;\n\t};\n\n\tBeautifier.prototype._reset = function(source_text) {\n\t var baseIndentString = source_text.match(/^[\\t ]*/)[0];\n\n\t this._last_last_text = ''; // pre-last token text\n\t this._output = new Output(this._options, baseIndentString);\n\n\t // If testing the ignore directive, start with output disable set to true\n\t this._output.raw = this._options.test_output_raw;\n\n\n\t // Stack of parsing/formatting states, including MODE.\n\t // We tokenize, parse, and output in an almost purely a forward-only stream of token input\n\t // and formatted output. This makes the beautifier less accurate than full parsers\n\t // but also far more tolerant of syntax errors.\n\t //\n\t // For example, the default mode is MODE.BlockStatement. If we see a '{' we push a new frame of type\n\t // MODE.BlockStatement on the the stack, even though it could be object literal. If we later\n\t // encounter a \":\", we'll switch to to MODE.ObjectLiteral. If we then see a \";\",\n\t // most full parsers would die, but the beautifier gracefully falls back to\n\t // MODE.BlockStatement and continues on.\n\t this._flag_store = [];\n\t this.set_mode(MODE.BlockStatement);\n\t var tokenizer = new Tokenizer(source_text, this._options);\n\t this._tokens = tokenizer.tokenize();\n\t return source_text;\n\t};\n\n\tBeautifier.prototype.beautify = function() {\n\t // if disabled, return the input unchanged.\n\t if (this._options.disabled) {\n\t return this._source_text;\n\t }\n\n\t var sweet_code;\n\t var source_text = this._reset(this._source_text);\n\n\t var eol = this._options.eol;\n\t if (this._options.eol === 'auto') {\n\t eol = '\\n';\n\t if (source_text && acorn.lineBreak.test(source_text || '')) {\n\t eol = source_text.match(acorn.lineBreak)[0];\n\t }\n\t }\n\n\t var current_token = this._tokens.next();\n\t while (current_token) {\n\t this.handle_token(current_token);\n\n\t this._last_last_text = this._flags.last_token.text;\n\t this._flags.last_token = current_token;\n\n\t current_token = this._tokens.next();\n\t }\n\n\t sweet_code = this._output.get_code(eol);\n\n\t return sweet_code;\n\t};\n\n\tBeautifier.prototype.handle_token = function(current_token, preserve_statement_flags) {\n\t if (current_token.type === TOKEN.START_EXPR) {\n\t this.handle_start_expr(current_token);\n\t } else if (current_token.type === TOKEN.END_EXPR) {\n\t this.handle_end_expr(current_token);\n\t } else if (current_token.type === TOKEN.START_BLOCK) {\n\t this.handle_start_block(current_token);\n\t } else if (current_token.type === TOKEN.END_BLOCK) {\n\t this.handle_end_block(current_token);\n\t } else if (current_token.type === TOKEN.WORD) {\n\t this.handle_word(current_token);\n\t } else if (current_token.type === TOKEN.RESERVED) {\n\t this.handle_word(current_token);\n\t } else if (current_token.type === TOKEN.SEMICOLON) {\n\t this.handle_semicolon(current_token);\n\t } else if (current_token.type === TOKEN.STRING) {\n\t this.handle_string(current_token);\n\t } else if (current_token.type === TOKEN.EQUALS) {\n\t this.handle_equals(current_token);\n\t } else if (current_token.type === TOKEN.OPERATOR) {\n\t this.handle_operator(current_token);\n\t } else if (current_token.type === TOKEN.COMMA) {\n\t this.handle_comma(current_token);\n\t } else if (current_token.type === TOKEN.BLOCK_COMMENT) {\n\t this.handle_block_comment(current_token, preserve_statement_flags);\n\t } else if (current_token.type === TOKEN.COMMENT) {\n\t this.handle_comment(current_token, preserve_statement_flags);\n\t } else if (current_token.type === TOKEN.DOT) {\n\t this.handle_dot(current_token);\n\t } else if (current_token.type === TOKEN.EOF) {\n\t this.handle_eof(current_token);\n\t } else if (current_token.type === TOKEN.UNKNOWN) {\n\t this.handle_unknown(current_token, preserve_statement_flags);\n\t } else {\n\t this.handle_unknown(current_token, preserve_statement_flags);\n\t }\n\t};\n\n\tBeautifier.prototype.handle_whitespace_and_comments = function(current_token, preserve_statement_flags) {\n\t var newlines = current_token.newlines;\n\t var keep_whitespace = this._options.keep_array_indentation && is_array(this._flags.mode);\n\n\t if (current_token.comments_before) {\n\t var comment_token = current_token.comments_before.next();\n\t while (comment_token) {\n\t // The cleanest handling of inline comments is to treat them as though they aren't there.\n\t // Just continue formatting and the behavior should be logical.\n\t // Also ignore unknown tokens. Again, this should result in better behavior.\n\t this.handle_whitespace_and_comments(comment_token, preserve_statement_flags);\n\t this.handle_token(comment_token, preserve_statement_flags);\n\t comment_token = current_token.comments_before.next();\n\t }\n\t }\n\n\t if (keep_whitespace) {\n\t for (var i = 0; i < newlines; i += 1) {\n\t this.print_newline(i > 0, preserve_statement_flags);\n\t }\n\t } else {\n\t if (this._options.max_preserve_newlines && newlines > this._options.max_preserve_newlines) {\n\t newlines = this._options.max_preserve_newlines;\n\t }\n\n\t if (this._options.preserve_newlines) {\n\t if (newlines > 1) {\n\t this.print_newline(false, preserve_statement_flags);\n\t for (var j = 1; j < newlines; j += 1) {\n\t this.print_newline(true, preserve_statement_flags);\n\t }\n\t }\n\t }\n\t }\n\n\t};\n\n\tvar newline_restricted_tokens = ['async', 'break', 'continue', 'return', 'throw', 'yield'];\n\n\tBeautifier.prototype.allow_wrap_or_preserved_newline = function(current_token, force_linewrap) {\n\t force_linewrap = (force_linewrap === undefined) ? false : force_linewrap;\n\n\t // Never wrap the first token on a line\n\t if (this._output.just_added_newline()) {\n\t return;\n\t }\n\n\t var shouldPreserveOrForce = (this._options.preserve_newlines && current_token.newlines) || force_linewrap;\n\t var operatorLogicApplies = in_array(this._flags.last_token.text, positionable_operators) ||\n\t in_array(current_token.text, positionable_operators);\n\n\t if (operatorLogicApplies) {\n\t var shouldPrintOperatorNewline = (\n\t in_array(this._flags.last_token.text, positionable_operators) &&\n\t in_array(this._options.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)\n\t ) ||\n\t in_array(current_token.text, positionable_operators);\n\t shouldPreserveOrForce = shouldPreserveOrForce && shouldPrintOperatorNewline;\n\t }\n\n\t if (shouldPreserveOrForce) {\n\t this.print_newline(false, true);\n\t } else if (this._options.wrap_line_length) {\n\t if (reserved_array(this._flags.last_token, newline_restricted_tokens)) {\n\t // These tokens should never have a newline inserted\n\t // between them and the following expression.\n\t return;\n\t }\n\t this._output.set_wrap_point();\n\t }\n\t};\n\n\tBeautifier.prototype.print_newline = function(force_newline, preserve_statement_flags) {\n\t if (!preserve_statement_flags) {\n\t if (this._flags.last_token.text !== ';' && this._flags.last_token.text !== ',' && this._flags.last_token.text !== '=' && (this._flags.last_token.type !== TOKEN.OPERATOR || this._flags.last_token.text === '--' || this._flags.last_token.text === '++')) {\n\t var next_token = this._tokens.peek();\n\t while (this._flags.mode === MODE.Statement &&\n\t !(this._flags.if_block && reserved_word(next_token, 'else')) &&\n\t !this._flags.do_block) {\n\t this.restore_mode();\n\t }\n\t }\n\t }\n\n\t if (this._output.add_new_line(force_newline)) {\n\t this._flags.multiline_frame = true;\n\t }\n\t};\n\n\tBeautifier.prototype.print_token_line_indentation = function(current_token) {\n\t if (this._output.just_added_newline()) {\n\t if (this._options.keep_array_indentation &&\n\t current_token.newlines &&\n\t (current_token.text === '[' || is_array(this._flags.mode))) {\n\t this._output.current_line.set_indent(-1);\n\t this._output.current_line.push(current_token.whitespace_before);\n\t this._output.space_before_token = false;\n\t } else if (this._output.set_indent(this._flags.indentation_level, this._flags.alignment)) {\n\t this._flags.line_indent_level = this._flags.indentation_level;\n\t }\n\t }\n\t};\n\n\tBeautifier.prototype.print_token = function(current_token) {\n\t if (this._output.raw) {\n\t this._output.add_raw_token(current_token);\n\t return;\n\t }\n\n\t if (this._options.comma_first && current_token.previous && current_token.previous.type === TOKEN.COMMA &&\n\t this._output.just_added_newline()) {\n\t if (this._output.previous_line.last() === ',') {\n\t var popped = this._output.previous_line.pop();\n\t // if the comma was already at the start of the line,\n\t // pull back onto that line and reprint the indentation\n\t if (this._output.previous_line.is_empty()) {\n\t this._output.previous_line.push(popped);\n\t this._output.trim(true);\n\t this._output.current_line.pop();\n\t this._output.trim();\n\t }\n\n\t // add the comma in front of the next token\n\t this.print_token_line_indentation(current_token);\n\t this._output.add_token(',');\n\t this._output.space_before_token = true;\n\t }\n\t }\n\n\t this.print_token_line_indentation(current_token);\n\t this._output.non_breaking_space = true;\n\t this._output.add_token(current_token.text);\n\t if (this._output.previous_token_wrapped) {\n\t this._flags.multiline_frame = true;\n\t }\n\t};\n\n\tBeautifier.prototype.indent = function() {\n\t this._flags.indentation_level += 1;\n\t this._output.set_indent(this._flags.indentation_level, this._flags.alignment);\n\t};\n\n\tBeautifier.prototype.deindent = function() {\n\t if (this._flags.indentation_level > 0 &&\n\t ((!this._flags.parent) || this._flags.indentation_level > this._flags.parent.indentation_level)) {\n\t this._flags.indentation_level -= 1;\n\t this._output.set_indent(this._flags.indentation_level, this._flags.alignment);\n\t }\n\t};\n\n\tBeautifier.prototype.set_mode = function(mode) {\n\t if (this._flags) {\n\t this._flag_store.push(this._flags);\n\t this._previous_flags = this._flags;\n\t } else {\n\t this._previous_flags = this.create_flags(null, mode);\n\t }\n\n\t this._flags = this.create_flags(this._previous_flags, mode);\n\t this._output.set_indent(this._flags.indentation_level, this._flags.alignment);\n\t};\n\n\n\tBeautifier.prototype.restore_mode = function() {\n\t if (this._flag_store.length > 0) {\n\t this._previous_flags = this._flags;\n\t this._flags = this._flag_store.pop();\n\t if (this._previous_flags.mode === MODE.Statement) {\n\t remove_redundant_indentation(this._output, this._previous_flags);\n\t }\n\t this._output.set_indent(this._flags.indentation_level, this._flags.alignment);\n\t }\n\t};\n\n\tBeautifier.prototype.start_of_object_property = function() {\n\t return this._flags.parent.mode === MODE.ObjectLiteral && this._flags.mode === MODE.Statement && (\n\t (this._flags.last_token.text === ':' && this._flags.ternary_depth === 0) || (reserved_array(this._flags.last_token, ['get', 'set'])));\n\t};\n\n\tBeautifier.prototype.start_of_statement = function(current_token) {\n\t var start = false;\n\t start = start || reserved_array(this._flags.last_token, ['var', 'let', 'const']) && current_token.type === TOKEN.WORD;\n\t start = start || reserved_word(this._flags.last_token, 'do');\n\t start = start || (!(this._flags.parent.mode === MODE.ObjectLiteral && this._flags.mode === MODE.Statement)) && reserved_array(this._flags.last_token, newline_restricted_tokens) && !current_token.newlines;\n\t start = start || reserved_word(this._flags.last_token, 'else') &&\n\t !(reserved_word(current_token, 'if') && !current_token.comments_before);\n\t start = start || (this._flags.last_token.type === TOKEN.END_EXPR && (this._previous_flags.mode === MODE.ForInitializer || this._previous_flags.mode === MODE.Conditional));\n\t start = start || (this._flags.last_token.type === TOKEN.WORD && this._flags.mode === MODE.BlockStatement &&\n\t !this._flags.in_case &&\n\t !(current_token.text === '--' || current_token.text === '++') &&\n\t this._last_last_text !== 'function' &&\n\t current_token.type !== TOKEN.WORD && current_token.type !== TOKEN.RESERVED);\n\t start = start || (this._flags.mode === MODE.ObjectLiteral && (\n\t (this._flags.last_token.text === ':' && this._flags.ternary_depth === 0) || reserved_array(this._flags.last_token, ['get', 'set'])));\n\n\t if (start) {\n\t this.set_mode(MODE.Statement);\n\t this.indent();\n\n\t this.handle_whitespace_and_comments(current_token, true);\n\n\t // Issue #276:\n\t // If starting a new statement with [if, for, while, do], push to a new line.\n\t // if (a) if (b) if(c) d(); else e(); else f();\n\t if (!this.start_of_object_property()) {\n\t this.allow_wrap_or_preserved_newline(current_token,\n\t reserved_array(current_token, ['do', 'for', 'if', 'while']));\n\t }\n\t return true;\n\t }\n\t return false;\n\t};\n\n\tBeautifier.prototype.handle_start_expr = function(current_token) {\n\t // The conditional starts the statement if appropriate.\n\t if (!this.start_of_statement(current_token)) {\n\t this.handle_whitespace_and_comments(current_token);\n\t }\n\n\t var next_mode = MODE.Expression;\n\t if (current_token.text === '[') {\n\n\t if (this._flags.last_token.type === TOKEN.WORD || this._flags.last_token.text === ')') {\n\t // this is array index specifier, break immediately\n\t // a[x], fn()[x]\n\t if (reserved_array(this._flags.last_token, line_starters)) {\n\t this._output.space_before_token = true;\n\t }\n\t this.print_token(current_token);\n\t this.set_mode(next_mode);\n\t this.indent();\n\t if (this._options.space_in_paren) {\n\t this._output.space_before_token = true;\n\t }\n\t return;\n\t }\n\n\t next_mode = MODE.ArrayLiteral;\n\t if (is_array(this._flags.mode)) {\n\t if (this._flags.last_token.text === '[' ||\n\t (this._flags.last_token.text === ',' && (this._last_last_text === ']' || this._last_last_text === '}'))) {\n\t // ], [ goes to new line\n\t // }, [ goes to new line\n\t if (!this._options.keep_array_indentation) {\n\t this.print_newline();\n\t }\n\t }\n\t }\n\n\t if (!in_array(this._flags.last_token.type, [TOKEN.START_EXPR, TOKEN.END_EXPR, TOKEN.WORD, TOKEN.OPERATOR, TOKEN.DOT])) {\n\t this._output.space_before_token = true;\n\t }\n\t } else {\n\t if (this._flags.last_token.type === TOKEN.RESERVED) {\n\t if (this._flags.last_token.text === 'for') {\n\t this._output.space_before_token = this._options.space_before_conditional;\n\t next_mode = MODE.ForInitializer;\n\t } else if (in_array(this._flags.last_token.text, ['if', 'while', 'switch'])) {\n\t this._output.space_before_token = this._options.space_before_conditional;\n\t next_mode = MODE.Conditional;\n\t } else if (in_array(this._flags.last_word, ['await', 'async'])) {\n\t // Should be a space between await and an IIFE, or async and an arrow function\n\t this._output.space_before_token = true;\n\t } else if (this._flags.last_token.text === 'import' && current_token.whitespace_before === '') {\n\t this._output.space_before_token = false;\n\t } else if (in_array(this._flags.last_token.text, line_starters) || this._flags.last_token.text === 'catch') {\n\t this._output.space_before_token = true;\n\t }\n\t } else if (this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {\n\t // Support of this kind of newline preservation.\n\t // a = (b &&\n\t // (c || d));\n\t if (!this.start_of_object_property()) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\t } else if (this._flags.last_token.type === TOKEN.WORD) {\n\t this._output.space_before_token = false;\n\n\t // function name() vs function name ()\n\t // function* name() vs function* name ()\n\t // async name() vs async name ()\n\t // In ES6, you can also define the method properties of an object\n\t // var obj = {a: function() {}}\n\t // It can be abbreviated\n\t // var obj = {a() {}}\n\t // var obj = { a() {}} vs var obj = { a () {}}\n\t // var obj = { * a() {}} vs var obj = { * a () {}}\n\t var peek_back_two = this._tokens.peek(-3);\n\t if (this._options.space_after_named_function && peek_back_two) {\n\t // peek starts at next character so -1 is current token\n\t var peek_back_three = this._tokens.peek(-4);\n\t if (reserved_array(peek_back_two, ['async', 'function']) ||\n\t (peek_back_two.text === '*' && reserved_array(peek_back_three, ['async', 'function']))) {\n\t this._output.space_before_token = true;\n\t } else if (this._flags.mode === MODE.ObjectLiteral) {\n\t if ((peek_back_two.text === '{' || peek_back_two.text === ',') ||\n\t (peek_back_two.text === '*' && (peek_back_three.text === '{' || peek_back_three.text === ','))) {\n\t this._output.space_before_token = true;\n\t }\n\t } else if (this._flags.parent && this._flags.parent.class_start_block) {\n\t this._output.space_before_token = true;\n\t }\n\t }\n\t } else {\n\t // Support preserving wrapped arrow function expressions\n\t // a.b('c',\n\t // () => d.e\n\t // )\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\n\t // function() vs function ()\n\t // yield*() vs yield* ()\n\t // function*() vs function* ()\n\t if ((this._flags.last_token.type === TOKEN.RESERVED && (this._flags.last_word === 'function' || this._flags.last_word === 'typeof')) ||\n\t (this._flags.last_token.text === '*' &&\n\t (in_array(this._last_last_text, ['function', 'yield']) ||\n\t (this._flags.mode === MODE.ObjectLiteral && in_array(this._last_last_text, ['{', ',']))))) {\n\t this._output.space_before_token = this._options.space_after_anon_function;\n\t }\n\t }\n\n\t if (this._flags.last_token.text === ';' || this._flags.last_token.type === TOKEN.START_BLOCK) {\n\t this.print_newline();\n\t } else if (this._flags.last_token.type === TOKEN.END_EXPR || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.END_BLOCK || this._flags.last_token.text === '.' || this._flags.last_token.type === TOKEN.COMMA) {\n\t // do nothing on (( and )( and ][ and ]( and .(\n\t // TODO: Consider whether forcing this is required. Review failing tests when removed.\n\t this.allow_wrap_or_preserved_newline(current_token, current_token.newlines);\n\t }\n\n\t this.print_token(current_token);\n\t this.set_mode(next_mode);\n\t if (this._options.space_in_paren) {\n\t this._output.space_before_token = true;\n\t }\n\n\t // In all cases, if we newline while inside an expression it should be indented.\n\t this.indent();\n\t};\n\n\tBeautifier.prototype.handle_end_expr = function(current_token) {\n\t // statements inside expressions are not valid syntax, but...\n\t // statements must all be closed when their container closes\n\t while (this._flags.mode === MODE.Statement) {\n\t this.restore_mode();\n\t }\n\n\t this.handle_whitespace_and_comments(current_token);\n\n\t if (this._flags.multiline_frame) {\n\t this.allow_wrap_or_preserved_newline(current_token,\n\t current_token.text === ']' && is_array(this._flags.mode) && !this._options.keep_array_indentation);\n\t }\n\n\t if (this._options.space_in_paren) {\n\t if (this._flags.last_token.type === TOKEN.START_EXPR && !this._options.space_in_empty_paren) {\n\t // () [] no inner space in empty parens like these, ever, ref #320\n\t this._output.trim();\n\t this._output.space_before_token = false;\n\t } else {\n\t this._output.space_before_token = true;\n\t }\n\t }\n\t this.deindent();\n\t this.print_token(current_token);\n\t this.restore_mode();\n\n\t remove_redundant_indentation(this._output, this._previous_flags);\n\n\t // do {} while () // no statement required after\n\t if (this._flags.do_while && this._previous_flags.mode === MODE.Conditional) {\n\t this._previous_flags.mode = MODE.Expression;\n\t this._flags.do_block = false;\n\t this._flags.do_while = false;\n\n\t }\n\t};\n\n\tBeautifier.prototype.handle_start_block = function(current_token) {\n\t this.handle_whitespace_and_comments(current_token);\n\n\t // Check if this is should be treated as a ObjectLiteral\n\t var next_token = this._tokens.peek();\n\t var second_token = this._tokens.peek(1);\n\t if (this._flags.last_word === 'switch' && this._flags.last_token.type === TOKEN.END_EXPR) {\n\t this.set_mode(MODE.BlockStatement);\n\t this._flags.in_case_statement = true;\n\t } else if (this._flags.case_body) {\n\t this.set_mode(MODE.BlockStatement);\n\t } else if (second_token && (\n\t (in_array(second_token.text, [':', ',']) && in_array(next_token.type, [TOKEN.STRING, TOKEN.WORD, TOKEN.RESERVED])) ||\n\t (in_array(next_token.text, ['get', 'set', '...']) && in_array(second_token.type, [TOKEN.WORD, TOKEN.RESERVED]))\n\t )) {\n\t // We don't support TypeScript,but we didn't break it for a very long time.\n\t // We'll try to keep not breaking it.\n\t if (in_array(this._last_last_text, ['class', 'interface']) && !in_array(second_token.text, [':', ','])) {\n\t this.set_mode(MODE.BlockStatement);\n\t } else {\n\t this.set_mode(MODE.ObjectLiteral);\n\t }\n\t } else if (this._flags.last_token.type === TOKEN.OPERATOR && this._flags.last_token.text === '=>') {\n\t // arrow function: (param1, paramN) => { statements }\n\t this.set_mode(MODE.BlockStatement);\n\t } else if (in_array(this._flags.last_token.type, [TOKEN.EQUALS, TOKEN.START_EXPR, TOKEN.COMMA, TOKEN.OPERATOR]) ||\n\t reserved_array(this._flags.last_token, ['return', 'throw', 'import', 'default'])\n\t ) {\n\t // Detecting shorthand function syntax is difficult by scanning forward,\n\t // so check the surrounding context.\n\t // If the block is being returned, imported, export default, passed as arg,\n\t // assigned with = or assigned in a nested object, treat as an ObjectLiteral.\n\t this.set_mode(MODE.ObjectLiteral);\n\t } else {\n\t this.set_mode(MODE.BlockStatement);\n\t }\n\n\t if (this._flags.last_token) {\n\t if (reserved_array(this._flags.last_token.previous, ['class', 'extends'])) {\n\t this._flags.class_start_block = true;\n\t }\n\t }\n\n\t var empty_braces = !next_token.comments_before && next_token.text === '}';\n\t var empty_anonymous_function = empty_braces && this._flags.last_word === 'function' &&\n\t this._flags.last_token.type === TOKEN.END_EXPR;\n\n\t if (this._options.brace_preserve_inline) // check for inline, set inline_frame if so\n\t {\n\t // search forward for a newline wanted inside this block\n\t var index = 0;\n\t var check_token = null;\n\t this._flags.inline_frame = true;\n\t do {\n\t index += 1;\n\t check_token = this._tokens.peek(index - 1);\n\t if (check_token.newlines) {\n\t this._flags.inline_frame = false;\n\t break;\n\t }\n\t } while (check_token.type !== TOKEN.EOF &&\n\t !(check_token.type === TOKEN.END_BLOCK && check_token.opened === current_token));\n\t }\n\n\t if ((this._options.brace_style === \"expand\" ||\n\t (this._options.brace_style === \"none\" && current_token.newlines)) &&\n\t !this._flags.inline_frame) {\n\t if (this._flags.last_token.type !== TOKEN.OPERATOR &&\n\t (empty_anonymous_function ||\n\t this._flags.last_token.type === TOKEN.EQUALS ||\n\t (reserved_array(this._flags.last_token, special_words) && this._flags.last_token.text !== 'else'))) {\n\t this._output.space_before_token = true;\n\t } else {\n\t this.print_newline(false, true);\n\t }\n\t } else { // collapse || inline_frame\n\t if (is_array(this._previous_flags.mode) && (this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.COMMA)) {\n\t if (this._flags.last_token.type === TOKEN.COMMA || this._options.space_in_paren) {\n\t this._output.space_before_token = true;\n\t }\n\n\t if (this._flags.last_token.type === TOKEN.COMMA || (this._flags.last_token.type === TOKEN.START_EXPR && this._flags.inline_frame)) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t this._previous_flags.multiline_frame = this._previous_flags.multiline_frame || this._flags.multiline_frame;\n\t this._flags.multiline_frame = false;\n\t }\n\t }\n\t if (this._flags.last_token.type !== TOKEN.OPERATOR && this._flags.last_token.type !== TOKEN.START_EXPR) {\n\t if (this._flags.last_token.type === TOKEN.START_BLOCK && !this._flags.inline_frame) {\n\t this.print_newline();\n\t } else {\n\t this._output.space_before_token = true;\n\t }\n\t }\n\t }\n\t this.print_token(current_token);\n\t this.indent();\n\n\t // Except for specific cases, open braces are followed by a new line.\n\t if (!empty_braces && !(this._options.brace_preserve_inline && this._flags.inline_frame)) {\n\t this.print_newline();\n\t }\n\t};\n\n\tBeautifier.prototype.handle_end_block = function(current_token) {\n\t // statements must all be closed when their container closes\n\t this.handle_whitespace_and_comments(current_token);\n\n\t while (this._flags.mode === MODE.Statement) {\n\t this.restore_mode();\n\t }\n\n\t var empty_braces = this._flags.last_token.type === TOKEN.START_BLOCK;\n\n\t if (this._flags.inline_frame && !empty_braces) { // try inline_frame (only set if this._options.braces-preserve-inline) first\n\t this._output.space_before_token = true;\n\t } else if (this._options.brace_style === \"expand\") {\n\t if (!empty_braces) {\n\t this.print_newline();\n\t }\n\t } else {\n\t // skip {}\n\t if (!empty_braces) {\n\t if (is_array(this._flags.mode) && this._options.keep_array_indentation) {\n\t // we REALLY need a newline here, but newliner would skip that\n\t this._options.keep_array_indentation = false;\n\t this.print_newline();\n\t this._options.keep_array_indentation = true;\n\n\t } else {\n\t this.print_newline();\n\t }\n\t }\n\t }\n\t this.restore_mode();\n\t this.print_token(current_token);\n\t};\n\n\tBeautifier.prototype.handle_word = function(current_token) {\n\t if (current_token.type === TOKEN.RESERVED) {\n\t if (in_array(current_token.text, ['set', 'get']) && this._flags.mode !== MODE.ObjectLiteral) {\n\t current_token.type = TOKEN.WORD;\n\t } else if (current_token.text === 'import' && in_array(this._tokens.peek().text, ['(', '.'])) {\n\t current_token.type = TOKEN.WORD;\n\t } else if (in_array(current_token.text, ['as', 'from']) && !this._flags.import_block) {\n\t current_token.type = TOKEN.WORD;\n\t } else if (this._flags.mode === MODE.ObjectLiteral) {\n\t var next_token = this._tokens.peek();\n\t if (next_token.text === ':') {\n\t current_token.type = TOKEN.WORD;\n\t }\n\t }\n\t }\n\n\t if (this.start_of_statement(current_token)) {\n\t // The conditional starts the statement if appropriate.\n\t if (reserved_array(this._flags.last_token, ['var', 'let', 'const']) && current_token.type === TOKEN.WORD) {\n\t this._flags.declaration_statement = true;\n\t }\n\t } else if (current_token.newlines && !is_expression(this._flags.mode) &&\n\t (this._flags.last_token.type !== TOKEN.OPERATOR || (this._flags.last_token.text === '--' || this._flags.last_token.text === '++')) &&\n\t this._flags.last_token.type !== TOKEN.EQUALS &&\n\t (this._options.preserve_newlines || !reserved_array(this._flags.last_token, ['var', 'let', 'const', 'set', 'get']))) {\n\t this.handle_whitespace_and_comments(current_token);\n\t this.print_newline();\n\t } else {\n\t this.handle_whitespace_and_comments(current_token);\n\t }\n\n\t if (this._flags.do_block && !this._flags.do_while) {\n\t if (reserved_word(current_token, 'while')) {\n\t // do {} ## while ()\n\t this._output.space_before_token = true;\n\t this.print_token(current_token);\n\t this._output.space_before_token = true;\n\t this._flags.do_while = true;\n\t return;\n\t } else {\n\t // do {} should always have while as the next word.\n\t // if we don't see the expected while, recover\n\t this.print_newline();\n\t this._flags.do_block = false;\n\t }\n\t }\n\n\t // if may be followed by else, or not\n\t // Bare/inline ifs are tricky\n\t // Need to unwind the modes correctly: if (a) if (b) c(); else d(); else e();\n\t if (this._flags.if_block) {\n\t if (!this._flags.else_block && reserved_word(current_token, 'else')) {\n\t this._flags.else_block = true;\n\t } else {\n\t while (this._flags.mode === MODE.Statement) {\n\t this.restore_mode();\n\t }\n\t this._flags.if_block = false;\n\t this._flags.else_block = false;\n\t }\n\t }\n\n\t if (this._flags.in_case_statement && reserved_array(current_token, ['case', 'default'])) {\n\t this.print_newline();\n\t if (!this._flags.case_block && (this._flags.case_body || this._options.jslint_happy)) {\n\t // switch cases following one another\n\t this.deindent();\n\t }\n\t this._flags.case_body = false;\n\n\t this.print_token(current_token);\n\t this._flags.in_case = true;\n\t return;\n\t }\n\n\t if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {\n\t if (!this.start_of_object_property()) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\t }\n\n\t if (reserved_word(current_token, 'function')) {\n\t if (in_array(this._flags.last_token.text, ['}', ';']) ||\n\t (this._output.just_added_newline() && !(in_array(this._flags.last_token.text, ['(', '[', '{', ':', '=', ',']) || this._flags.last_token.type === TOKEN.OPERATOR))) {\n\t // make sure there is a nice clean space of at least one blank line\n\t // before a new function definition\n\t if (!this._output.just_added_blankline() && !current_token.comments_before) {\n\t this.print_newline();\n\t this.print_newline(true);\n\t }\n\t }\n\t if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD) {\n\t if (reserved_array(this._flags.last_token, ['get', 'set', 'new', 'export']) ||\n\t reserved_array(this._flags.last_token, newline_restricted_tokens)) {\n\t this._output.space_before_token = true;\n\t } else if (reserved_word(this._flags.last_token, 'default') && this._last_last_text === 'export') {\n\t this._output.space_before_token = true;\n\t } else if (this._flags.last_token.text === 'declare') {\n\t // accomodates Typescript declare function formatting\n\t this._output.space_before_token = true;\n\t } else {\n\t this.print_newline();\n\t }\n\t } else if (this._flags.last_token.type === TOKEN.OPERATOR || this._flags.last_token.text === '=') {\n\t // foo = function\n\t this._output.space_before_token = true;\n\t } else if (!this._flags.multiline_frame && (is_expression(this._flags.mode) || is_array(this._flags.mode))) ; else {\n\t this.print_newline();\n\t }\n\n\t this.print_token(current_token);\n\t this._flags.last_word = current_token.text;\n\t return;\n\t }\n\n\t var prefix = 'NONE';\n\n\t if (this._flags.last_token.type === TOKEN.END_BLOCK) {\n\n\t if (this._previous_flags.inline_frame) {\n\t prefix = 'SPACE';\n\t } else if (!reserved_array(current_token, ['else', 'catch', 'finally', 'from'])) {\n\t prefix = 'NEWLINE';\n\t } else {\n\t if (this._options.brace_style === \"expand\" ||\n\t this._options.brace_style === \"end-expand\" ||\n\t (this._options.brace_style === \"none\" && current_token.newlines)) {\n\t prefix = 'NEWLINE';\n\t } else {\n\t prefix = 'SPACE';\n\t this._output.space_before_token = true;\n\t }\n\t }\n\t } else if (this._flags.last_token.type === TOKEN.SEMICOLON && this._flags.mode === MODE.BlockStatement) {\n\t // TODO: Should this be for STATEMENT as well?\n\t prefix = 'NEWLINE';\n\t } else if (this._flags.last_token.type === TOKEN.SEMICOLON && is_expression(this._flags.mode)) {\n\t prefix = 'SPACE';\n\t } else if (this._flags.last_token.type === TOKEN.STRING) {\n\t prefix = 'NEWLINE';\n\t } else if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD ||\n\t (this._flags.last_token.text === '*' &&\n\t (in_array(this._last_last_text, ['function', 'yield']) ||\n\t (this._flags.mode === MODE.ObjectLiteral && in_array(this._last_last_text, ['{', ',']))))) {\n\t prefix = 'SPACE';\n\t } else if (this._flags.last_token.type === TOKEN.START_BLOCK) {\n\t if (this._flags.inline_frame) {\n\t prefix = 'SPACE';\n\t } else {\n\t prefix = 'NEWLINE';\n\t }\n\t } else if (this._flags.last_token.type === TOKEN.END_EXPR) {\n\t this._output.space_before_token = true;\n\t prefix = 'NEWLINE';\n\t }\n\n\t if (reserved_array(current_token, line_starters) && this._flags.last_token.text !== ')') {\n\t if (this._flags.inline_frame || this._flags.last_token.text === 'else' || this._flags.last_token.text === 'export') {\n\t prefix = 'SPACE';\n\t } else {\n\t prefix = 'NEWLINE';\n\t }\n\n\t }\n\n\t if (reserved_array(current_token, ['else', 'catch', 'finally'])) {\n\t if ((!(this._flags.last_token.type === TOKEN.END_BLOCK && this._previous_flags.mode === MODE.BlockStatement) ||\n\t this._options.brace_style === \"expand\" ||\n\t this._options.brace_style === \"end-expand\" ||\n\t (this._options.brace_style === \"none\" && current_token.newlines)) &&\n\t !this._flags.inline_frame) {\n\t this.print_newline();\n\t } else {\n\t this._output.trim(true);\n\t var line = this._output.current_line;\n\t // If we trimmed and there's something other than a close block before us\n\t // put a newline back in. Handles '} // comment' scenario.\n\t if (line.last() !== '}') {\n\t this.print_newline();\n\t }\n\t this._output.space_before_token = true;\n\t }\n\t } else if (prefix === 'NEWLINE') {\n\t if (reserved_array(this._flags.last_token, special_words)) {\n\t // no newline between 'return nnn'\n\t this._output.space_before_token = true;\n\t } else if (this._flags.last_token.text === 'declare' && reserved_array(current_token, ['var', 'let', 'const'])) {\n\t // accomodates Typescript declare formatting\n\t this._output.space_before_token = true;\n\t } else if (this._flags.last_token.type !== TOKEN.END_EXPR) {\n\t if ((this._flags.last_token.type !== TOKEN.START_EXPR || !reserved_array(current_token, ['var', 'let', 'const'])) && this._flags.last_token.text !== ':') {\n\t // no need to force newline on 'var': for (var x = 0...)\n\t if (reserved_word(current_token, 'if') && reserved_word(current_token.previous, 'else')) {\n\t // no newline for } else if {\n\t this._output.space_before_token = true;\n\t } else {\n\t this.print_newline();\n\t }\n\t }\n\t } else if (reserved_array(current_token, line_starters) && this._flags.last_token.text !== ')') {\n\t this.print_newline();\n\t }\n\t } else if (this._flags.multiline_frame && is_array(this._flags.mode) && this._flags.last_token.text === ',' && this._last_last_text === '}') {\n\t this.print_newline(); // }, in lists get a newline treatment\n\t } else if (prefix === 'SPACE') {\n\t this._output.space_before_token = true;\n\t }\n\t if (current_token.previous && (current_token.previous.type === TOKEN.WORD || current_token.previous.type === TOKEN.RESERVED)) {\n\t this._output.space_before_token = true;\n\t }\n\t this.print_token(current_token);\n\t this._flags.last_word = current_token.text;\n\n\t if (current_token.type === TOKEN.RESERVED) {\n\t if (current_token.text === 'do') {\n\t this._flags.do_block = true;\n\t } else if (current_token.text === 'if') {\n\t this._flags.if_block = true;\n\t } else if (current_token.text === 'import') {\n\t this._flags.import_block = true;\n\t } else if (this._flags.import_block && reserved_word(current_token, 'from')) {\n\t this._flags.import_block = false;\n\t }\n\t }\n\t};\n\n\tBeautifier.prototype.handle_semicolon = function(current_token) {\n\t if (this.start_of_statement(current_token)) {\n\t // The conditional starts the statement if appropriate.\n\t // Semicolon can be the start (and end) of a statement\n\t this._output.space_before_token = false;\n\t } else {\n\t this.handle_whitespace_and_comments(current_token);\n\t }\n\n\t var next_token = this._tokens.peek();\n\t while (this._flags.mode === MODE.Statement &&\n\t !(this._flags.if_block && reserved_word(next_token, 'else')) &&\n\t !this._flags.do_block) {\n\t this.restore_mode();\n\t }\n\n\t // hacky but effective for the moment\n\t if (this._flags.import_block) {\n\t this._flags.import_block = false;\n\t }\n\t this.print_token(current_token);\n\t};\n\n\tBeautifier.prototype.handle_string = function(current_token) {\n\t if (current_token.text.startsWith(\"`\") && current_token.newlines === 0 && current_token.whitespace_before === '' && (current_token.previous.text === ')' || this._flags.last_token.type === TOKEN.WORD)) ; else if (this.start_of_statement(current_token)) {\n\t // The conditional starts the statement if appropriate.\n\t // One difference - strings want at least a space before\n\t this._output.space_before_token = true;\n\t } else {\n\t this.handle_whitespace_and_comments(current_token);\n\t if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD || this._flags.inline_frame) {\n\t this._output.space_before_token = true;\n\t } else if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {\n\t if (!this.start_of_object_property()) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\t } else if ((current_token.text.startsWith(\"`\") && this._flags.last_token.type === TOKEN.END_EXPR && (current_token.previous.text === ']' || current_token.previous.text === ')') && current_token.newlines === 0)) {\n\t this._output.space_before_token = true;\n\t } else {\n\t this.print_newline();\n\t }\n\t }\n\t this.print_token(current_token);\n\t};\n\n\tBeautifier.prototype.handle_equals = function(current_token) {\n\t if (this.start_of_statement(current_token)) ; else {\n\t this.handle_whitespace_and_comments(current_token);\n\t }\n\n\t if (this._flags.declaration_statement) {\n\t // just got an '=' in a var-line, different formatting/line-breaking, etc will now be done\n\t this._flags.declaration_assignment = true;\n\t }\n\t this._output.space_before_token = true;\n\t this.print_token(current_token);\n\t this._output.space_before_token = true;\n\t};\n\n\tBeautifier.prototype.handle_comma = function(current_token) {\n\t this.handle_whitespace_and_comments(current_token, true);\n\n\t this.print_token(current_token);\n\t this._output.space_before_token = true;\n\t if (this._flags.declaration_statement) {\n\t if (is_expression(this._flags.parent.mode)) {\n\t // do not break on comma, for(var a = 1, b = 2)\n\t this._flags.declaration_assignment = false;\n\t }\n\n\t if (this._flags.declaration_assignment) {\n\t this._flags.declaration_assignment = false;\n\t this.print_newline(false, true);\n\t } else if (this._options.comma_first) {\n\t // for comma-first, we want to allow a newline before the comma\n\t // to turn into a newline after the comma, which we will fixup later\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\t } else if (this._flags.mode === MODE.ObjectLiteral ||\n\t (this._flags.mode === MODE.Statement && this._flags.parent.mode === MODE.ObjectLiteral)) {\n\t if (this._flags.mode === MODE.Statement) {\n\t this.restore_mode();\n\t }\n\n\t if (!this._flags.inline_frame) {\n\t this.print_newline();\n\t }\n\t } else if (this._options.comma_first) {\n\t // EXPR or DO_BLOCK\n\t // for comma-first, we want to allow a newline before the comma\n\t // to turn into a newline after the comma, which we will fixup later\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\t};\n\n\tBeautifier.prototype.handle_operator = function(current_token) {\n\t var isGeneratorAsterisk = current_token.text === '*' &&\n\t (reserved_array(this._flags.last_token, ['function', 'yield']) ||\n\t (in_array(this._flags.last_token.type, [TOKEN.START_BLOCK, TOKEN.COMMA, TOKEN.END_BLOCK, TOKEN.SEMICOLON]))\n\t );\n\t var isUnary = in_array(current_token.text, ['-', '+']) && (\n\t in_array(this._flags.last_token.type, [TOKEN.START_BLOCK, TOKEN.START_EXPR, TOKEN.EQUALS, TOKEN.OPERATOR]) ||\n\t in_array(this._flags.last_token.text, line_starters) ||\n\t this._flags.last_token.text === ','\n\t );\n\n\t if (this.start_of_statement(current_token)) ; else {\n\t var preserve_statement_flags = !isGeneratorAsterisk;\n\t this.handle_whitespace_and_comments(current_token, preserve_statement_flags);\n\t }\n\n\t // hack for actionscript's import .*;\n\t if (current_token.text === '*' && this._flags.last_token.type === TOKEN.DOT) {\n\t this.print_token(current_token);\n\t return;\n\t }\n\n\t if (current_token.text === '::') {\n\t // no spaces around exotic namespacing syntax operator\n\t this.print_token(current_token);\n\t return;\n\t }\n\n\t // Allow line wrapping between operators when operator_position is\n\t // set to before or preserve\n\t if (this._flags.last_token.type === TOKEN.OPERATOR && in_array(this._options.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\n\t if (current_token.text === ':' && this._flags.in_case) {\n\t this.print_token(current_token);\n\n\t this._flags.in_case = false;\n\t this._flags.case_body = true;\n\t if (this._tokens.peek().type !== TOKEN.START_BLOCK) {\n\t this.indent();\n\t this.print_newline();\n\t this._flags.case_block = false;\n\t } else {\n\t this._flags.case_block = true;\n\t this._output.space_before_token = true;\n\t }\n\t return;\n\t }\n\n\t var space_before = true;\n\t var space_after = true;\n\t var in_ternary = false;\n\t if (current_token.text === ':') {\n\t if (this._flags.ternary_depth === 0) {\n\t // Colon is invalid javascript outside of ternary and object, but do our best to guess what was meant.\n\t space_before = false;\n\t } else {\n\t this._flags.ternary_depth -= 1;\n\t in_ternary = true;\n\t }\n\t } else if (current_token.text === '?') {\n\t this._flags.ternary_depth += 1;\n\t }\n\n\t // let's handle the operator_position option prior to any conflicting logic\n\t if (!isUnary && !isGeneratorAsterisk && this._options.preserve_newlines && in_array(current_token.text, positionable_operators)) {\n\t var isColon = current_token.text === ':';\n\t var isTernaryColon = (isColon && in_ternary);\n\t var isOtherColon = (isColon && !in_ternary);\n\n\t switch (this._options.operator_position) {\n\t case OPERATOR_POSITION.before_newline:\n\t // if the current token is : and it's not a ternary statement then we set space_before to false\n\t this._output.space_before_token = !isOtherColon;\n\n\t this.print_token(current_token);\n\n\t if (!isColon || isTernaryColon) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\n\t this._output.space_before_token = true;\n\t return;\n\n\t case OPERATOR_POSITION.after_newline:\n\t // if the current token is anything but colon, or (via deduction) it's a colon and in a ternary statement,\n\t // then print a newline.\n\n\t this._output.space_before_token = true;\n\n\t if (!isColon || isTernaryColon) {\n\t if (this._tokens.peek().newlines) {\n\t this.print_newline(false, true);\n\t } else {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\t } else {\n\t this._output.space_before_token = false;\n\t }\n\n\t this.print_token(current_token);\n\n\t this._output.space_before_token = true;\n\t return;\n\n\t case OPERATOR_POSITION.preserve_newline:\n\t if (!isOtherColon) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\n\t // if we just added a newline, or the current token is : and it's not a ternary statement,\n\t // then we set space_before to false\n\t space_before = !(this._output.just_added_newline() || isOtherColon);\n\n\t this._output.space_before_token = space_before;\n\t this.print_token(current_token);\n\t this._output.space_before_token = true;\n\t return;\n\t }\n\t }\n\n\t if (isGeneratorAsterisk) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t space_before = false;\n\t var next_token = this._tokens.peek();\n\t space_after = next_token && in_array(next_token.type, [TOKEN.WORD, TOKEN.RESERVED]);\n\t } else if (current_token.text === '...') {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t space_before = this._flags.last_token.type === TOKEN.START_BLOCK;\n\t space_after = false;\n\t } else if (in_array(current_token.text, ['--', '++', '!', '~']) || isUnary) {\n\t // unary operators (and binary +/- pretending to be unary) special cases\n\t if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR) {\n\t this.allow_wrap_or_preserved_newline(current_token);\n\t }\n\n\t space_before = false;\n\t space_after = false;\n\n\t // http://www.ecma-international.org/ecma-262/5.1/#sec-7.9.1\n\t // if there is a newline between -- or ++ and anything else we should preserve it.\n\t if (current_token.newlines && (current_token.text === '--' || current_token.text === '++' || current_token.text === '~')) {\n\t var new_line_needed = reserved_array(this._flags.last_token, special_words) && current_token.newlines;\n\t if (new_line_needed && (this._previous_flags.if_block || this._previous_flags.else_block)) {\n\t this.restore_mode();\n\t }\n\t this.print_newline(new_line_needed, true);\n\t }\n\n\t if (this._flags.last_token.text === ';' && is_expression(this._flags.mode)) {\n\t // for (;; ++i)\n\t // ^^^\n\t space_before = true;\n\t }\n\n\t if (this._flags.last_token.type === TOKEN.RESERVED) {\n\t space_before = true;\n\t } else if (this._flags.last_token.type === TOKEN.END_EXPR) {\n\t space_before = !(this._flags.last_token.text === ']' && (current_token.text === '--' || current_token.text === '++'));\n\t } else if (this._flags.last_token.type === TOKEN.OPERATOR) {\n\t // a++ + ++b;\n\t // a - -b\n\t space_before = in_array(current_token.text, ['--', '-', '++', '+']) && in_array(this._flags.last_token.text, ['--', '-', '++', '+']);\n\t // + and - are not unary when preceeded by -- or ++ operator\n\t // a-- + b\n\t // a * +b\n\t // a - -b\n\t if (in_array(current_token.text, ['+', '-']) && in_array(this._flags.last_token.text, ['--', '++'])) {\n\t space_after = true;\n\t }\n\t }\n\n\n\t if (((this._flags.mode === MODE.BlockStatement && !this._flags.inline_frame) || this._flags.mode === MODE.Statement) &&\n\t (this._flags.last_token.text === '{' || this._flags.last_token.text === ';')) {\n\t // { foo; --i }\n\t // foo(); --bar;\n\t this.print_newline();\n\t }\n\t }\n\n\t this._output.space_before_token = this._output.space_before_token || space_before;\n\t this.print_token(current_token);\n\t this._output.space_before_token = space_after;\n\t};\n\n\tBeautifier.prototype.handle_block_comment = function(current_token, preserve_statement_flags) {\n\t if (this._output.raw) {\n\t this._output.add_raw_token(current_token);\n\t if (current_token.directives && current_token.directives.preserve === 'end') {\n\t // If we're testing the raw output behavior, do not allow a directive to turn it off.\n\t this._output.raw = this._options.test_output_raw;\n\t }\n\t return;\n\t }\n\n\t if (current_token.directives) {\n\t this.print_newline(false, preserve_statement_flags);\n\t this.print_token(current_token);\n\t if (current_token.directives.preserve === 'start') {\n\t this._output.raw = true;\n\t }\n\t this.print_newline(false, true);\n\t return;\n\t }\n\n\t // inline block\n\t if (!acorn.newline.test(current_token.text) && !current_token.newlines) {\n\t this._output.space_before_token = true;\n\t this.print_token(current_token);\n\t this._output.space_before_token = true;\n\t return;\n\t } else {\n\t this.print_block_commment(current_token, preserve_statement_flags);\n\t }\n\t};\n\n\tBeautifier.prototype.print_block_commment = function(current_token, preserve_statement_flags) {\n\t var lines = split_linebreaks(current_token.text);\n\t var j; // iterator for this case\n\t var javadoc = false;\n\t var starless = false;\n\t var lastIndent = current_token.whitespace_before;\n\t var lastIndentLength = lastIndent.length;\n\n\t // block comment starts with a new line\n\t this.print_newline(false, preserve_statement_flags);\n\n\t // first line always indented\n\t this.print_token_line_indentation(current_token);\n\t this._output.add_token(lines[0]);\n\t this.print_newline(false, preserve_statement_flags);\n\n\n\t if (lines.length > 1) {\n\t lines = lines.slice(1);\n\t javadoc = all_lines_start_with(lines, '*');\n\t starless = each_line_matches_indent(lines, lastIndent);\n\n\t if (javadoc) {\n\t this._flags.alignment = 1;\n\t }\n\n\t for (j = 0; j < lines.length; j++) {\n\t if (javadoc) {\n\t // javadoc: reformat and re-indent\n\t this.print_token_line_indentation(current_token);\n\t this._output.add_token(ltrim(lines[j]));\n\t } else if (starless && lines[j]) {\n\t // starless: re-indent non-empty content, avoiding trim\n\t this.print_token_line_indentation(current_token);\n\t this._output.add_token(lines[j].substring(lastIndentLength));\n\t } else {\n\t // normal comments output raw\n\t this._output.current_line.set_indent(-1);\n\t this._output.add_token(lines[j]);\n\t }\n\n\t // for comments on their own line or more than one line, make sure there's a new line after\n\t this.print_newline(false, preserve_statement_flags);\n\t }\n\n\t this._flags.alignment = 0;\n\t }\n\t};\n\n\n\tBeautifier.prototype.handle_comment = function(current_token, preserve_statement_flags) {\n\t if (current_token.newlines) {\n\t this.print_newline(false, preserve_statement_flags);\n\t } else {\n\t this._output.trim(true);\n\t }\n\n\t this._output.space_before_token = true;\n\t this.print_token(current_token);\n\t this.print_newline(false, preserve_statement_flags);\n\t};\n\n\tBeautifier.prototype.handle_dot = function(current_token) {\n\t if (this.start_of_statement(current_token)) ; else {\n\t this.handle_whitespace_and_comments(current_token, true);\n\t }\n\n\t if (this._flags.last_token.text.match('^[0-9]+$')) {\n\t this._output.space_before_token = true;\n\t }\n\n\t if (reserved_array(this._flags.last_token, special_words)) {\n\t this._output.space_before_token = false;\n\t } else {\n\t // allow preserved newlines before dots in general\n\t // force newlines on dots after close paren when break_chained - for bar().baz()\n\t this.allow_wrap_or_preserved_newline(current_token,\n\t this._flags.last_token.text === ')' && this._options.break_chained_methods);\n\t }\n\n\t // Only unindent chained method dot if this dot starts a new line.\n\t // Otherwise the automatic extra indentation removal will handle the over indent\n\t if (this._options.unindent_chained_methods && this._output.just_added_newline()) {\n\t this.deindent();\n\t }\n\n\t this.print_token(current_token);\n\t};\n\n\tBeautifier.prototype.handle_unknown = function(current_token, preserve_statement_flags) {\n\t this.print_token(current_token);\n\n\t if (current_token.text[current_token.text.length - 1] === '\\n') {\n\t this.print_newline(false, preserve_statement_flags);\n\t }\n\t};\n\n\tBeautifier.prototype.handle_eof = function(current_token) {\n\t // Unwind any open statements\n\t while (this._flags.mode === MODE.Statement) {\n\t this.restore_mode();\n\t }\n\t this.handle_whitespace_and_comments(current_token);\n\t};\n\n\tbeautifier$2.Beautifier = Beautifier;\n\treturn beautifier$2;\n}\n\n/*jshint node:true */\n\nvar hasRequiredJavascript;\n\nfunction requireJavascript () {\n\tif (hasRequiredJavascript) return javascriptExports;\n\thasRequiredJavascript = 1;\n\n\tvar Beautifier = requireBeautifier$2().Beautifier,\n\t Options = requireOptions$2().Options;\n\n\tfunction js_beautify(js_source_text, options) {\n\t var beautifier = new Beautifier(js_source_text, options);\n\t return beautifier.beautify();\n\t}\n\n\tjavascript.exports = js_beautify;\n\tjavascriptExports.defaultOptions = function() {\n\t return new Options();\n\t};\n\treturn javascriptExports;\n}\n\nvar cssExports = {};\nvar css = {\n get exports(){ return cssExports; },\n set exports(v){ cssExports = v; },\n};\n\nvar beautifier$1 = {};\n\nvar options$1 = {};\n\n/*jshint node:true */\n\nvar hasRequiredOptions$1;\n\nfunction requireOptions$1 () {\n\tif (hasRequiredOptions$1) return options$1;\n\thasRequiredOptions$1 = 1;\n\n\tvar BaseOptions = requireOptions$3().Options;\n\n\tfunction Options(options) {\n\t BaseOptions.call(this, options, 'css');\n\n\t this.selector_separator_newline = this._get_boolean('selector_separator_newline', true);\n\t this.newline_between_rules = this._get_boolean('newline_between_rules', true);\n\t var space_around_selector_separator = this._get_boolean('space_around_selector_separator');\n\t this.space_around_combinator = this._get_boolean('space_around_combinator') || space_around_selector_separator;\n\n\t var brace_style_split = this._get_selection_list('brace_style', ['collapse', 'expand', 'end-expand', 'none', 'preserve-inline']);\n\t this.brace_style = 'collapse';\n\t for (var bs = 0; bs < brace_style_split.length; bs++) {\n\t if (brace_style_split[bs] !== 'expand') {\n\t // default to collapse, as only collapse|expand is implemented for now\n\t this.brace_style = 'collapse';\n\t } else {\n\t this.brace_style = brace_style_split[bs];\n\t }\n\t }\n\t}\n\tOptions.prototype = new BaseOptions();\n\n\n\n\toptions$1.Options = Options;\n\treturn options$1;\n}\n\n/*jshint node:true */\n\nvar hasRequiredBeautifier$1;\n\nfunction requireBeautifier$1 () {\n\tif (hasRequiredBeautifier$1) return beautifier$1;\n\thasRequiredBeautifier$1 = 1;\n\n\tvar Options = requireOptions$1().Options;\n\tvar Output = requireOutput().Output;\n\tvar InputScanner = requireInputscanner().InputScanner;\n\tvar Directives = requireDirectives().Directives;\n\n\tvar directives_core = new Directives(/\\/\\*/, /\\*\\//);\n\n\tvar lineBreak = /\\r\\n|[\\r\\n]/;\n\tvar allLineBreaks = /\\r\\n|[\\r\\n]/g;\n\n\t// tokenizer\n\tvar whitespaceChar = /\\s/;\n\tvar whitespacePattern = /(?:\\s|\\n)+/g;\n\tvar block_comment_pattern = /\\/\\*(?:[\\s\\S]*?)((?:\\*\\/)|$)/g;\n\tvar comment_pattern = /\\/\\/(?:[^\\n\\r\\u2028\\u2029]*)/g;\n\n\tfunction Beautifier(source_text, options) {\n\t this._source_text = source_text || '';\n\t // Allow the setting of language/file-type specific options\n\t // with inheritance of overall settings\n\t this._options = new Options(options);\n\t this._ch = null;\n\t this._input = null;\n\n\t // https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule\n\t this.NESTED_AT_RULE = {\n\t \"@page\": true,\n\t \"@font-face\": true,\n\t \"@keyframes\": true,\n\t // also in CONDITIONAL_GROUP_RULE below\n\t \"@media\": true,\n\t \"@supports\": true,\n\t \"@document\": true\n\t };\n\t this.CONDITIONAL_GROUP_RULE = {\n\t \"@media\": true,\n\t \"@supports\": true,\n\t \"@document\": true\n\t };\n\t this.NON_SEMICOLON_NEWLINE_PROPERTY = [\n\t \"grid-template-areas\",\n\t \"grid-template\"\n\t ];\n\n\t}\n\n\tBeautifier.prototype.eatString = function(endChars) {\n\t var result = '';\n\t this._ch = this._input.next();\n\t while (this._ch) {\n\t result += this._ch;\n\t if (this._ch === \"\\\\\") {\n\t result += this._input.next();\n\t } else if (endChars.indexOf(this._ch) !== -1 || this._ch === \"\\n\") {\n\t break;\n\t }\n\t this._ch = this._input.next();\n\t }\n\t return result;\n\t};\n\n\t// Skips any white space in the source text from the current position.\n\t// When allowAtLeastOneNewLine is true, will output new lines for each\n\t// newline character found; if the user has preserve_newlines off, only\n\t// the first newline will be output\n\tBeautifier.prototype.eatWhitespace = function(allowAtLeastOneNewLine) {\n\t var result = whitespaceChar.test(this._input.peek());\n\t var newline_count = 0;\n\t while (whitespaceChar.test(this._input.peek())) {\n\t this._ch = this._input.next();\n\t if (allowAtLeastOneNewLine && this._ch === '\\n') {\n\t if (newline_count === 0 || newline_count < this._options.max_preserve_newlines) {\n\t newline_count++;\n\t this._output.add_new_line(true);\n\t }\n\t }\n\t }\n\t return result;\n\t};\n\n\t// Nested pseudo-class if we are insideRule\n\t// and the next special character found opens\n\t// a new block\n\tBeautifier.prototype.foundNestedPseudoClass = function() {\n\t var openParen = 0;\n\t var i = 1;\n\t var ch = this._input.peek(i);\n\t while (ch) {\n\t if (ch === \"{\") {\n\t return true;\n\t } else if (ch === '(') {\n\t // pseudoclasses can contain ()\n\t openParen += 1;\n\t } else if (ch === ')') {\n\t if (openParen === 0) {\n\t return false;\n\t }\n\t openParen -= 1;\n\t } else if (ch === \";\" || ch === \"}\") {\n\t return false;\n\t }\n\t i++;\n\t ch = this._input.peek(i);\n\t }\n\t return false;\n\t};\n\n\tBeautifier.prototype.print_string = function(output_string) {\n\t this._output.set_indent(this._indentLevel);\n\t this._output.non_breaking_space = true;\n\t this._output.add_token(output_string);\n\t};\n\n\tBeautifier.prototype.preserveSingleSpace = function(isAfterSpace) {\n\t if (isAfterSpace) {\n\t this._output.space_before_token = true;\n\t }\n\t};\n\n\tBeautifier.prototype.indent = function() {\n\t this._indentLevel++;\n\t};\n\n\tBeautifier.prototype.outdent = function() {\n\t if (this._indentLevel > 0) {\n\t this._indentLevel--;\n\t }\n\t};\n\n\t/*_____________________--------------------_____________________*/\n\n\tBeautifier.prototype.beautify = function() {\n\t if (this._options.disabled) {\n\t return this._source_text;\n\t }\n\n\t var source_text = this._source_text;\n\t var eol = this._options.eol;\n\t if (eol === 'auto') {\n\t eol = '\\n';\n\t if (source_text && lineBreak.test(source_text || '')) {\n\t eol = source_text.match(lineBreak)[0];\n\t }\n\t }\n\n\n\t // HACK: newline parsing inconsistent. This brute force normalizes the this._input.\n\t source_text = source_text.replace(allLineBreaks, '\\n');\n\n\t // reset\n\t var baseIndentString = source_text.match(/^[\\t ]*/)[0];\n\n\t this._output = new Output(this._options, baseIndentString);\n\t this._input = new InputScanner(source_text);\n\t this._indentLevel = 0;\n\t this._nestedLevel = 0;\n\n\t this._ch = null;\n\t var parenLevel = 0;\n\n\t var insideRule = false;\n\t // This is the value side of a property value pair (blue in the following ex)\n\t // label { content: blue }\n\t var insidePropertyValue = false;\n\t var enteringConditionalGroup = false;\n\t var insideAtExtend = false;\n\t var insideAtImport = false;\n\t var insideScssMap = false;\n\t var topCharacter = this._ch;\n\t var insideNonSemiColonValues = false;\n\t var whitespace;\n\t var isAfterSpace;\n\t var previous_ch;\n\n\t while (true) {\n\t whitespace = this._input.read(whitespacePattern);\n\t isAfterSpace = whitespace !== '';\n\t previous_ch = topCharacter;\n\t this._ch = this._input.next();\n\t if (this._ch === '\\\\' && this._input.hasNext()) {\n\t this._ch += this._input.next();\n\t }\n\t topCharacter = this._ch;\n\n\t if (!this._ch) {\n\t break;\n\t } else if (this._ch === '/' && this._input.peek() === '*') {\n\t // /* css comment */\n\t // Always start block comments on a new line.\n\t // This handles scenarios where a block comment immediately\n\t // follows a property definition on the same line or where\n\t // minified code is being beautified.\n\t this._output.add_new_line();\n\t this._input.back();\n\n\t var comment = this._input.read(block_comment_pattern);\n\n\t // Handle ignore directive\n\t var directives = directives_core.get_directives(comment);\n\t if (directives && directives.ignore === 'start') {\n\t comment += directives_core.readIgnored(this._input);\n\t }\n\n\t this.print_string(comment);\n\n\t // Ensures any new lines following the comment are preserved\n\t this.eatWhitespace(true);\n\n\t // Block comments are followed by a new line so they don't\n\t // share a line with other properties\n\t this._output.add_new_line();\n\t } else if (this._ch === '/' && this._input.peek() === '/') {\n\t // // single line comment\n\t // Preserves the space before a comment\n\t // on the same line as a rule\n\t this._output.space_before_token = true;\n\t this._input.back();\n\t this.print_string(this._input.read(comment_pattern));\n\n\t // Ensures any new lines following the comment are preserved\n\t this.eatWhitespace(true);\n\t } else if (this._ch === '@' || this._ch === '$') {\n\t this.preserveSingleSpace(isAfterSpace);\n\n\t // deal with less propery mixins @{...}\n\t if (this._input.peek() === '{') {\n\t this.print_string(this._ch + this.eatString('}'));\n\t } else {\n\t this.print_string(this._ch);\n\n\t // strip trailing space, if present, for hash property checks\n\t var variableOrRule = this._input.peekUntilAfter(/[: ,;{}()[\\]\\/='\"]/g);\n\n\t if (variableOrRule.match(/[ :]$/)) {\n\t // we have a variable or pseudo-class, add it and insert one space before continuing\n\t variableOrRule = this.eatString(\": \").replace(/\\s$/, '');\n\t this.print_string(variableOrRule);\n\t this._output.space_before_token = true;\n\t }\n\n\t variableOrRule = variableOrRule.replace(/\\s$/, '');\n\n\t if (variableOrRule === 'extend') {\n\t insideAtExtend = true;\n\t } else if (variableOrRule === 'import') {\n\t insideAtImport = true;\n\t }\n\n\t // might be a nesting at-rule\n\t if (variableOrRule in this.NESTED_AT_RULE) {\n\t this._nestedLevel += 1;\n\t if (variableOrRule in this.CONDITIONAL_GROUP_RULE) {\n\t enteringConditionalGroup = true;\n\t }\n\t // might be less variable\n\t } else if (!insideRule && parenLevel === 0 && variableOrRule.indexOf(':') !== -1) {\n\t insidePropertyValue = true;\n\t this.indent();\n\t }\n\t }\n\t } else if (this._ch === '#' && this._input.peek() === '{') {\n\t this.preserveSingleSpace(isAfterSpace);\n\t this.print_string(this._ch + this.eatString('}'));\n\t } else if (this._ch === '{') {\n\t if (insidePropertyValue) {\n\t insidePropertyValue = false;\n\t this.outdent();\n\t }\n\n\t // when entering conditional groups, only rulesets are allowed\n\t if (enteringConditionalGroup) {\n\t enteringConditionalGroup = false;\n\t insideRule = (this._indentLevel >= this._nestedLevel);\n\t } else {\n\t // otherwise, declarations are also allowed\n\t insideRule = (this._indentLevel >= this._nestedLevel - 1);\n\t }\n\t if (this._options.newline_between_rules && insideRule) {\n\t if (this._output.previous_line && this._output.previous_line.item(-1) !== '{') {\n\t this._output.ensure_empty_line_above('/', ',');\n\t }\n\t }\n\n\t this._output.space_before_token = true;\n\n\t // The difference in print_string and indent order is necessary to indent the '{' correctly\n\t if (this._options.brace_style === 'expand') {\n\t this._output.add_new_line();\n\t this.print_string(this._ch);\n\t this.indent();\n\t this._output.set_indent(this._indentLevel);\n\t } else {\n\t // inside mixin and first param is object\n\t if (previous_ch === '(') {\n\t this._output.space_before_token = false;\n\t } else if (previous_ch !== ',') {\n\t this.indent();\n\t }\n\t this.print_string(this._ch);\n\t }\n\n\t this.eatWhitespace(true);\n\t this._output.add_new_line();\n\t } else if (this._ch === '}') {\n\t this.outdent();\n\t this._output.add_new_line();\n\t if (previous_ch === '{') {\n\t this._output.trim(true);\n\t }\n\t insideAtImport = false;\n\t insideAtExtend = false;\n\t if (insidePropertyValue) {\n\t this.outdent();\n\t insidePropertyValue = false;\n\t }\n\t this.print_string(this._ch);\n\t insideRule = false;\n\t if (this._nestedLevel) {\n\t this._nestedLevel--;\n\t }\n\n\t this.eatWhitespace(true);\n\t this._output.add_new_line();\n\n\t if (this._options.newline_between_rules && !this._output.just_added_blankline()) {\n\t if (this._input.peek() !== '}') {\n\t this._output.add_new_line(true);\n\t }\n\t }\n\t if (this._input.peek() === ')') {\n\t this._output.trim(true);\n\t if (this._options.brace_style === \"expand\") {\n\t this._output.add_new_line(true);\n\t }\n\t }\n\t } else if (this._ch === \":\") {\n\n\t for (var i = 0; i < this.NON_SEMICOLON_NEWLINE_PROPERTY.length; i++) {\n\t if (this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[i])) {\n\t insideNonSemiColonValues = true;\n\t break;\n\t }\n\t }\n\n\t if ((insideRule || enteringConditionalGroup) && !(this._input.lookBack(\"&\") || this.foundNestedPseudoClass()) && !this._input.lookBack(\"(\") && !insideAtExtend && parenLevel === 0) {\n\t // 'property: value' delimiter\n\t // which could be in a conditional group query\n\t this.print_string(':');\n\t if (!insidePropertyValue) {\n\t insidePropertyValue = true;\n\t this._output.space_before_token = true;\n\t this.eatWhitespace(true);\n\t this.indent();\n\t }\n\t } else {\n\t // sass/less parent reference don't use a space\n\t // sass nested pseudo-class don't use a space\n\n\t // preserve space before pseudoclasses/pseudoelements, as it means \"in any child\"\n\t if (this._input.lookBack(\" \")) {\n\t this._output.space_before_token = true;\n\t }\n\t if (this._input.peek() === \":\") {\n\t // pseudo-element\n\t this._ch = this._input.next();\n\t this.print_string(\"::\");\n\t } else {\n\t // pseudo-class\n\t this.print_string(':');\n\t }\n\t }\n\t } else if (this._ch === '\"' || this._ch === '\\'') {\n\t var preserveQuoteSpace = previous_ch === '\"' || previous_ch === '\\'';\n\t this.preserveSingleSpace(preserveQuoteSpace || isAfterSpace);\n\t this.print_string(this._ch + this.eatString(this._ch));\n\t this.eatWhitespace(true);\n\t } else if (this._ch === ';') {\n\t insideNonSemiColonValues = false;\n\t if (parenLevel === 0) {\n\t if (insidePropertyValue) {\n\t this.outdent();\n\t insidePropertyValue = false;\n\t }\n\t insideAtExtend = false;\n\t insideAtImport = false;\n\t this.print_string(this._ch);\n\t this.eatWhitespace(true);\n\n\t // This maintains single line comments on the same\n\t // line. Block comments are also affected, but\n\t // a new line is always output before one inside\n\t // that section\n\t if (this._input.peek() !== '/') {\n\t this._output.add_new_line();\n\t }\n\t } else {\n\t this.print_string(this._ch);\n\t this.eatWhitespace(true);\n\t this._output.space_before_token = true;\n\t }\n\t } else if (this._ch === '(') { // may be a url\n\t if (this._input.lookBack(\"url\")) {\n\t this.print_string(this._ch);\n\t this.eatWhitespace();\n\t parenLevel++;\n\t this.indent();\n\t this._ch = this._input.next();\n\t if (this._ch === ')' || this._ch === '\"' || this._ch === '\\'') {\n\t this._input.back();\n\t } else if (this._ch) {\n\t this.print_string(this._ch + this.eatString(')'));\n\t if (parenLevel) {\n\t parenLevel--;\n\t this.outdent();\n\t }\n\t }\n\t } else {\n\t var space_needed = false;\n\t if (this._input.lookBack(\"with\")) {\n\t // look back is not an accurate solution, we need tokens to confirm without whitespaces\n\t space_needed = true;\n\t }\n\t this.preserveSingleSpace(isAfterSpace || space_needed);\n\t this.print_string(this._ch);\n\n\t // handle scss/sass map\n\t if (insidePropertyValue && previous_ch === \"$\" && this._options.selector_separator_newline) {\n\t this._output.add_new_line();\n\t insideScssMap = true;\n\t } else {\n\t this.eatWhitespace();\n\t parenLevel++;\n\t this.indent();\n\t }\n\t }\n\t } else if (this._ch === ')') {\n\t if (parenLevel) {\n\t parenLevel--;\n\t this.outdent();\n\t }\n\t if (insideScssMap && this._input.peek() === \";\" && this._options.selector_separator_newline) {\n\t insideScssMap = false;\n\t this.outdent();\n\t this._output.add_new_line();\n\t }\n\t this.print_string(this._ch);\n\t } else if (this._ch === ',') {\n\t this.print_string(this._ch);\n\t this.eatWhitespace(true);\n\t if (this._options.selector_separator_newline && (!insidePropertyValue || insideScssMap) && parenLevel === 0 && !insideAtImport && !insideAtExtend) {\n\t this._output.add_new_line();\n\t } else {\n\t this._output.space_before_token = true;\n\t }\n\t } else if ((this._ch === '>' || this._ch === '+' || this._ch === '~') && !insidePropertyValue && parenLevel === 0) {\n\t //handle combinator spacing\n\t if (this._options.space_around_combinator) {\n\t this._output.space_before_token = true;\n\t this.print_string(this._ch);\n\t this._output.space_before_token = true;\n\t } else {\n\t this.print_string(this._ch);\n\t this.eatWhitespace();\n\t // squash extra whitespace\n\t if (this._ch && whitespaceChar.test(this._ch)) {\n\t this._ch = '';\n\t }\n\t }\n\t } else if (this._ch === ']') {\n\t this.print_string(this._ch);\n\t } else if (this._ch === '[') {\n\t this.preserveSingleSpace(isAfterSpace);\n\t this.print_string(this._ch);\n\t } else if (this._ch === '=') { // no whitespace before or after\n\t this.eatWhitespace();\n\t this.print_string('=');\n\t if (whitespaceChar.test(this._ch)) {\n\t this._ch = '';\n\t }\n\t } else if (this._ch === '!' && !this._input.lookBack(\"\\\\\")) { // !important\n\t this._output.space_before_token = true;\n\t this.print_string(this._ch);\n\t } else {\n\t var preserveAfterSpace = previous_ch === '\"' || previous_ch === '\\'';\n\t this.preserveSingleSpace(preserveAfterSpace || isAfterSpace);\n\t this.print_string(this._ch);\n\n\t if (!this._output.just_added_newline() && this._input.peek() === '\\n' && insideNonSemiColonValues) {\n\t this._output.add_new_line();\n\t }\n\t }\n\t }\n\n\t var sweetCode = this._output.get_code(eol);\n\n\t return sweetCode;\n\t};\n\n\tbeautifier$1.Beautifier = Beautifier;\n\treturn beautifier$1;\n}\n\n/*jshint node:true */\n\nvar hasRequiredCss;\n\nfunction requireCss () {\n\tif (hasRequiredCss) return cssExports;\n\thasRequiredCss = 1;\n\n\tvar Beautifier = requireBeautifier$1().Beautifier,\n\t Options = requireOptions$1().Options;\n\n\tfunction css_beautify(source_text, options) {\n\t var beautifier = new Beautifier(source_text, options);\n\t return beautifier.beautify();\n\t}\n\n\tcss.exports = css_beautify;\n\tcssExports.defaultOptions = function() {\n\t return new Options();\n\t};\n\treturn cssExports;\n}\n\nvar htmlExports = {};\nvar html = {\n get exports(){ return htmlExports; },\n set exports(v){ htmlExports = v; },\n};\n\nvar beautifier = {};\n\nvar options = {};\n\n/*jshint node:true */\n\nvar hasRequiredOptions;\n\nfunction requireOptions () {\n\tif (hasRequiredOptions) return options;\n\thasRequiredOptions = 1;\n\n\tvar BaseOptions = requireOptions$3().Options;\n\n\tfunction Options(options) {\n\t BaseOptions.call(this, options, 'html');\n\t if (this.templating.length === 1 && this.templating[0] === 'auto') {\n\t this.templating = ['django', 'erb', 'handlebars', 'php'];\n\t }\n\n\t this.indent_inner_html = this._get_boolean('indent_inner_html');\n\t this.indent_body_inner_html = this._get_boolean('indent_body_inner_html', true);\n\t this.indent_head_inner_html = this._get_boolean('indent_head_inner_html', true);\n\n\t this.indent_handlebars = this._get_boolean('indent_handlebars', true);\n\t this.wrap_attributes = this._get_selection('wrap_attributes',\n\t ['auto', 'force', 'force-aligned', 'force-expand-multiline', 'aligned-multiple', 'preserve', 'preserve-aligned']);\n\t this.wrap_attributes_indent_size = this._get_number('wrap_attributes_indent_size', this.indent_size);\n\t this.extra_liners = this._get_array('extra_liners', ['head', 'body', '/html']);\n\n\t // Block vs inline elements\n\t // https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements\n\t // https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_elements\n\t // https://www.w3.org/TR/html5/dom.html#phrasing-content\n\t this.inline = this._get_array('inline', [\n\t 'a', 'abbr', 'area', 'audio', 'b', 'bdi', 'bdo', 'br', 'button', 'canvas', 'cite',\n\t 'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img',\n\t 'input', 'ins', 'kbd', 'keygen', 'label', 'map', 'mark', 'math', 'meter', 'noscript',\n\t 'object', 'output', 'progress', 'q', 'ruby', 's', 'samp', /* 'script', */ 'select', 'small',\n\t 'span', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'var',\n\t 'video', 'wbr', 'text',\n\t // obsolete inline tags\n\t 'acronym', 'big', 'strike', 'tt'\n\t ]);\n\t this.void_elements = this._get_array('void_elements', [\n\t // HTLM void elements - aka self-closing tags - aka singletons\n\t // https://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements\n\t 'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen',\n\t 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr',\n\t // NOTE: Optional tags are too complex for a simple list\n\t // they are hard coded in _do_optional_end_element\n\n\t // Doctype and xml elements\n\t '!doctype', '?xml',\n\n\t // obsolete tags\n\t // basefont: https://www.computerhope.com/jargon/h/html-basefont-tag.htm\n\t // isndex: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/isindex\n\t 'basefont', 'isindex'\n\t ]);\n\t this.unformatted = this._get_array('unformatted', []);\n\t this.content_unformatted = this._get_array('content_unformatted', [\n\t 'pre', 'textarea'\n\t ]);\n\t this.unformatted_content_delimiter = this._get_characters('unformatted_content_delimiter');\n\t this.indent_scripts = this._get_selection('indent_scripts', ['normal', 'keep', 'separate']);\n\n\t}\n\tOptions.prototype = new BaseOptions();\n\n\n\n\toptions.Options = Options;\n\treturn options;\n}\n\nvar tokenizer = {};\n\n/*jshint node:true */\n\nvar hasRequiredTokenizer;\n\nfunction requireTokenizer () {\n\tif (hasRequiredTokenizer) return tokenizer;\n\thasRequiredTokenizer = 1;\n\n\tvar BaseTokenizer = requireTokenizer$2().Tokenizer;\n\tvar BASETOKEN = requireTokenizer$2().TOKEN;\n\tvar Directives = requireDirectives().Directives;\n\tvar TemplatablePattern = requireTemplatablepattern().TemplatablePattern;\n\tvar Pattern = requirePattern().Pattern;\n\n\tvar TOKEN = {\n\t TAG_OPEN: 'TK_TAG_OPEN',\n\t TAG_CLOSE: 'TK_TAG_CLOSE',\n\t ATTRIBUTE: 'TK_ATTRIBUTE',\n\t EQUALS: 'TK_EQUALS',\n\t VALUE: 'TK_VALUE',\n\t COMMENT: 'TK_COMMENT',\n\t TEXT: 'TK_TEXT',\n\t UNKNOWN: 'TK_UNKNOWN',\n\t START: BASETOKEN.START,\n\t RAW: BASETOKEN.RAW,\n\t EOF: BASETOKEN.EOF\n\t};\n\n\tvar directives_core = new Directives(/<\\!--/, /-->/);\n\n\tvar Tokenizer = function(input_string, options) {\n\t BaseTokenizer.call(this, input_string, options);\n\t this._current_tag_name = '';\n\n\t // Words end at whitespace or when a tag starts\n\t // if we are indenting handlebars, they are considered tags\n\t var templatable_reader = new TemplatablePattern(this._input).read_options(this._options);\n\t var pattern_reader = new Pattern(this._input);\n\n\t this.__patterns = {\n\t word: templatable_reader.until(/[\\n\\r\\t <]/),\n\t single_quote: templatable_reader.until_after(/'/),\n\t double_quote: templatable_reader.until_after(/\"/),\n\t attribute: templatable_reader.until(/[\\n\\r\\t =>]|\\/>/),\n\t element_name: templatable_reader.until(/[\\n\\r\\t >\\/]/),\n\n\t handlebars_comment: pattern_reader.starting_with(/{{!--/).until_after(/--}}/),\n\t handlebars: pattern_reader.starting_with(/{{/).until_after(/}}/),\n\t handlebars_open: pattern_reader.until(/[\\n\\r\\t }]/),\n\t handlebars_raw_close: pattern_reader.until(/}}/),\n\t comment: pattern_reader.starting_with(/<!--/).until_after(/-->/),\n\t cdata: pattern_reader.starting_with(/<!\\[CDATA\\[/).until_after(/]]>/),\n\t // https://en.wikipedia.org/wiki/Conditional_comment\n\t conditional_comment: pattern_reader.starting_with(/<!\\[/).until_after(/]>/),\n\t processing: pattern_reader.starting_with(/<\\?/).until_after(/\\?>/)\n\t };\n\n\t if (this._options.indent_handlebars) {\n\t this.__patterns.word = this.__patterns.word.exclude('handlebars');\n\t }\n\n\t this._unformatted_content_delimiter = null;\n\n\t if (this._options.unformatted_content_delimiter) {\n\t var literal_regexp = this._input.get_literal_regexp(this._options.unformatted_content_delimiter);\n\t this.__patterns.unformatted_content_delimiter =\n\t pattern_reader.matching(literal_regexp)\n\t .until_after(literal_regexp);\n\t }\n\t};\n\tTokenizer.prototype = new BaseTokenizer();\n\n\tTokenizer.prototype._is_comment = function(current_token) { // jshint unused:false\n\t return false; //current_token.type === TOKEN.COMMENT || current_token.type === TOKEN.UNKNOWN;\n\t};\n\n\tTokenizer.prototype._is_opening = function(current_token) {\n\t return current_token.type === TOKEN.TAG_OPEN;\n\t};\n\n\tTokenizer.prototype._is_closing = function(current_token, open_token) {\n\t return current_token.type === TOKEN.TAG_CLOSE &&\n\t (open_token && (\n\t ((current_token.text === '>' || current_token.text === '/>') && open_token.text[0] === '<') ||\n\t (current_token.text === '}}' && open_token.text[0] === '{' && open_token.text[1] === '{')));\n\t};\n\n\tTokenizer.prototype._reset = function() {\n\t this._current_tag_name = '';\n\t};\n\n\tTokenizer.prototype._get_next_token = function(previous_token, open_token) { // jshint unused:false\n\t var token = null;\n\t this._readWhitespace();\n\t var c = this._input.peek();\n\n\t if (c === null) {\n\t return this._create_token(TOKEN.EOF, '');\n\t }\n\n\t token = token || this._read_open_handlebars(c, open_token);\n\t token = token || this._read_attribute(c, previous_token, open_token);\n\t token = token || this._read_close(c, open_token);\n\t token = token || this._read_raw_content(c, previous_token, open_token);\n\t token = token || this._read_content_word(c);\n\t token = token || this._read_comment_or_cdata(c);\n\t token = token || this._read_processing(c);\n\t token = token || this._read_open(c, open_token);\n\t token = token || this._create_token(TOKEN.UNKNOWN, this._input.next());\n\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_comment_or_cdata = function(c) { // jshint unused:false\n\t var token = null;\n\t var resulting_string = null;\n\t var directives = null;\n\n\t if (c === '<') {\n\t var peek1 = this._input.peek(1);\n\t // We treat all comments as literals, even more than preformatted tags\n\t // we only look for the appropriate closing marker\n\t if (peek1 === '!') {\n\t resulting_string = this.__patterns.comment.read();\n\n\t // only process directive on html comments\n\t if (resulting_string) {\n\t directives = directives_core.get_directives(resulting_string);\n\t if (directives && directives.ignore === 'start') {\n\t resulting_string += directives_core.readIgnored(this._input);\n\t }\n\t } else {\n\t resulting_string = this.__patterns.cdata.read();\n\t }\n\t }\n\n\t if (resulting_string) {\n\t token = this._create_token(TOKEN.COMMENT, resulting_string);\n\t token.directives = directives;\n\t }\n\t }\n\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_processing = function(c) { // jshint unused:false\n\t var token = null;\n\t var resulting_string = null;\n\t var directives = null;\n\n\t if (c === '<') {\n\t var peek1 = this._input.peek(1);\n\t if (peek1 === '!' || peek1 === '?') {\n\t resulting_string = this.__patterns.conditional_comment.read();\n\t resulting_string = resulting_string || this.__patterns.processing.read();\n\t }\n\n\t if (resulting_string) {\n\t token = this._create_token(TOKEN.COMMENT, resulting_string);\n\t token.directives = directives;\n\t }\n\t }\n\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_open = function(c, open_token) {\n\t var resulting_string = null;\n\t var token = null;\n\t if (!open_token) {\n\t if (c === '<') {\n\n\t resulting_string = this._input.next();\n\t if (this._input.peek() === '/') {\n\t resulting_string += this._input.next();\n\t }\n\t resulting_string += this.__patterns.element_name.read();\n\t token = this._create_token(TOKEN.TAG_OPEN, resulting_string);\n\t }\n\t }\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_open_handlebars = function(c, open_token) {\n\t var resulting_string = null;\n\t var token = null;\n\t if (!open_token) {\n\t if (this._options.indent_handlebars && c === '{' && this._input.peek(1) === '{') {\n\t if (this._input.peek(2) === '!') {\n\t resulting_string = this.__patterns.handlebars_comment.read();\n\t resulting_string = resulting_string || this.__patterns.handlebars.read();\n\t token = this._create_token(TOKEN.COMMENT, resulting_string);\n\t } else {\n\t resulting_string = this.__patterns.handlebars_open.read();\n\t token = this._create_token(TOKEN.TAG_OPEN, resulting_string);\n\t }\n\t }\n\t }\n\t return token;\n\t};\n\n\n\tTokenizer.prototype._read_close = function(c, open_token) {\n\t var resulting_string = null;\n\t var token = null;\n\t if (open_token) {\n\t if (open_token.text[0] === '<' && (c === '>' || (c === '/' && this._input.peek(1) === '>'))) {\n\t resulting_string = this._input.next();\n\t if (c === '/') { // for close tag \"/>\"\n\t resulting_string += this._input.next();\n\t }\n\t token = this._create_token(TOKEN.TAG_CLOSE, resulting_string);\n\t } else if (open_token.text[0] === '{' && c === '}' && this._input.peek(1) === '}') {\n\t this._input.next();\n\t this._input.next();\n\t token = this._create_token(TOKEN.TAG_CLOSE, '}}');\n\t }\n\t }\n\n\t return token;\n\t};\n\n\tTokenizer.prototype._read_attribute = function(c, previous_token, open_token) {\n\t var token = null;\n\t var resulting_string = '';\n\t if (open_token && open_token.text[0] === '<') {\n\n\t if (c === '=') {\n\t token = this._create_token(TOKEN.EQUALS, this._input.next());\n\t } else if (c === '\"' || c === \"'\") {\n\t var content = this._input.next();\n\t if (c === '\"') {\n\t content += this.__patterns.double_quote.read();\n\t } else {\n\t content += this.__patterns.single_quote.read();\n\t }\n\t token = this._create_token(TOKEN.VALUE, content);\n\t } else {\n\t resulting_string = this.__patterns.attribute.read();\n\n\t if (resulting_string) {\n\t if (previous_token.type === TOKEN.EQUALS) {\n\t token = this._create_token(TOKEN.VALUE, resulting_string);\n\t } else {\n\t token = this._create_token(TOKEN.ATTRIBUTE, resulting_string);\n\t }\n\t }\n\t }\n\t }\n\t return token;\n\t};\n\n\tTokenizer.prototype._is_content_unformatted = function(tag_name) {\n\t // void_elements have no content and so cannot have unformatted content\n\t // script and style tags should always be read as unformatted content\n\t // finally content_unformatted and unformatted element contents are unformatted\n\t return this._options.void_elements.indexOf(tag_name) === -1 &&\n\t (this._options.content_unformatted.indexOf(tag_name) !== -1 ||\n\t this._options.unformatted.indexOf(tag_name) !== -1);\n\t};\n\n\n\tTokenizer.prototype._read_raw_content = function(c, previous_token, open_token) { // jshint unused:false\n\t var resulting_string = '';\n\t if (open_token && open_token.text[0] === '{') {\n\t resulting_string = this.__patterns.handlebars_raw_close.read();\n\t } else if (previous_token.type === TOKEN.TAG_CLOSE &&\n\t previous_token.opened.text[0] === '<' && previous_token.text[0] !== '/') {\n\t // ^^ empty tag has no content \n\t var tag_name = previous_token.opened.text.substr(1).toLowerCase();\n\t if (tag_name === 'script' || tag_name === 'style') {\n\t // Script and style tags are allowed to have comments wrapping their content\n\t // or just have regular content.\n\t var token = this._read_comment_or_cdata(c);\n\t if (token) {\n\t token.type = TOKEN.TEXT;\n\t return token;\n\t }\n\t resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\\\n\\\\r\\\\t ]*?>', 'ig'));\n\t } else if (this._is_content_unformatted(tag_name)) {\n\n\t resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\\\n\\\\r\\\\t ]*?>', 'ig'));\n\t }\n\t }\n\n\t if (resulting_string) {\n\t return this._create_token(TOKEN.TEXT, resulting_string);\n\t }\n\n\t return null;\n\t};\n\n\tTokenizer.prototype._read_content_word = function(c) {\n\t var resulting_string = '';\n\t if (this._options.unformatted_content_delimiter) {\n\t if (c === this._options.unformatted_content_delimiter[0]) {\n\t resulting_string = this.__patterns.unformatted_content_delimiter.read();\n\t }\n\t }\n\n\t if (!resulting_string) {\n\t resulting_string = this.__patterns.word.read();\n\t }\n\t if (resulting_string) {\n\t return this._create_token(TOKEN.TEXT, resulting_string);\n\t }\n\t};\n\n\ttokenizer.Tokenizer = Tokenizer;\n\ttokenizer.TOKEN = TOKEN;\n\treturn tokenizer;\n}\n\n/*jshint node:true */\n\nvar hasRequiredBeautifier;\n\nfunction requireBeautifier () {\n\tif (hasRequiredBeautifier) return beautifier;\n\thasRequiredBeautifier = 1;\n\n\tvar Options = requireOptions().Options;\n\tvar Output = requireOutput().Output;\n\tvar Tokenizer = requireTokenizer().Tokenizer;\n\tvar TOKEN = requireTokenizer().TOKEN;\n\n\tvar lineBreak = /\\r\\n|[\\r\\n]/;\n\tvar allLineBreaks = /\\r\\n|[\\r\\n]/g;\n\n\tvar Printer = function(options, base_indent_string) { //handles input/output and some other printing functions\n\n\t this.indent_level = 0;\n\t this.alignment_size = 0;\n\t this.max_preserve_newlines = options.max_preserve_newlines;\n\t this.preserve_newlines = options.preserve_newlines;\n\n\t this._output = new Output(options, base_indent_string);\n\n\t};\n\n\tPrinter.prototype.current_line_has_match = function(pattern) {\n\t return this._output.current_line.has_match(pattern);\n\t};\n\n\tPrinter.prototype.set_space_before_token = function(value, non_breaking) {\n\t this._output.space_before_token = value;\n\t this._output.non_breaking_space = non_breaking;\n\t};\n\n\tPrinter.prototype.set_wrap_point = function() {\n\t this._output.set_indent(this.indent_level, this.alignment_size);\n\t this._output.set_wrap_point();\n\t};\n\n\n\tPrinter.prototype.add_raw_token = function(token) {\n\t this._output.add_raw_token(token);\n\t};\n\n\tPrinter.prototype.print_preserved_newlines = function(raw_token) {\n\t var newlines = 0;\n\t if (raw_token.type !== TOKEN.TEXT && raw_token.previous.type !== TOKEN.TEXT) {\n\t newlines = raw_token.newlines ? 1 : 0;\n\t }\n\n\t if (this.preserve_newlines) {\n\t newlines = raw_token.newlines < this.max_preserve_newlines + 1 ? raw_token.newlines : this.max_preserve_newlines + 1;\n\t }\n\t for (var n = 0; n < newlines; n++) {\n\t this.print_newline(n > 0);\n\t }\n\n\t return newlines !== 0;\n\t};\n\n\tPrinter.prototype.traverse_whitespace = function(raw_token) {\n\t if (raw_token.whitespace_before || raw_token.newlines) {\n\t if (!this.print_preserved_newlines(raw_token)) {\n\t this._output.space_before_token = true;\n\t }\n\t return true;\n\t }\n\t return false;\n\t};\n\n\tPrinter.prototype.previous_token_wrapped = function() {\n\t return this._output.previous_token_wrapped;\n\t};\n\n\tPrinter.prototype.print_newline = function(force) {\n\t this._output.add_new_line(force);\n\t};\n\n\tPrinter.prototype.print_token = function(token) {\n\t if (token.text) {\n\t this._output.set_indent(this.indent_level, this.alignment_size);\n\t this._output.add_token(token.text);\n\t }\n\t};\n\n\tPrinter.prototype.indent = function() {\n\t this.indent_level++;\n\t};\n\n\tPrinter.prototype.get_full_indent = function(level) {\n\t level = this.indent_level + (level || 0);\n\t if (level < 1) {\n\t return '';\n\t }\n\n\t return this._output.get_indent_string(level);\n\t};\n\n\tvar get_type_attribute = function(start_token) {\n\t var result = null;\n\t var raw_token = start_token.next;\n\n\t // Search attributes for a type attribute\n\t while (raw_token.type !== TOKEN.EOF && start_token.closed !== raw_token) {\n\t if (raw_token.type === TOKEN.ATTRIBUTE && raw_token.text === 'type') {\n\t if (raw_token.next && raw_token.next.type === TOKEN.EQUALS &&\n\t raw_token.next.next && raw_token.next.next.type === TOKEN.VALUE) {\n\t result = raw_token.next.next.text;\n\t }\n\t break;\n\t }\n\t raw_token = raw_token.next;\n\t }\n\n\t return result;\n\t};\n\n\tvar get_custom_beautifier_name = function(tag_check, raw_token) {\n\t var typeAttribute = null;\n\t var result = null;\n\n\t if (!raw_token.closed) {\n\t return null;\n\t }\n\n\t if (tag_check === 'script') {\n\t typeAttribute = 'text/javascript';\n\t } else if (tag_check === 'style') {\n\t typeAttribute = 'text/css';\n\t }\n\n\t typeAttribute = get_type_attribute(raw_token) || typeAttribute;\n\n\t // For script and style tags that have a type attribute, only enable custom beautifiers for matching values\n\t // For those without a type attribute use default;\n\t if (typeAttribute.search('text/css') > -1) {\n\t result = 'css';\n\t } else if (typeAttribute.search(/module|((text|application|dojo)\\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\\+)?json|method|aspect))/) > -1) {\n\t result = 'javascript';\n\t } else if (typeAttribute.search(/(text|application|dojo)\\/(x-)?(html)/) > -1) {\n\t result = 'html';\n\t } else if (typeAttribute.search(/test\\/null/) > -1) {\n\t // Test only mime-type for testing the beautifier when null is passed as beautifing function\n\t result = 'null';\n\t }\n\n\t return result;\n\t};\n\n\tfunction in_array(what, arr) {\n\t return arr.indexOf(what) !== -1;\n\t}\n\n\tfunction TagFrame(parent, parser_token, indent_level) {\n\t this.parent = parent || null;\n\t this.tag = parser_token ? parser_token.tag_name : '';\n\t this.indent_level = indent_level || 0;\n\t this.parser_token = parser_token || null;\n\t}\n\n\tfunction TagStack(printer) {\n\t this._printer = printer;\n\t this._current_frame = null;\n\t}\n\n\tTagStack.prototype.get_parser_token = function() {\n\t return this._current_frame ? this._current_frame.parser_token : null;\n\t};\n\n\tTagStack.prototype.record_tag = function(parser_token) { //function to record a tag and its parent in this.tags Object\n\t var new_frame = new TagFrame(this._current_frame, parser_token, this._printer.indent_level);\n\t this._current_frame = new_frame;\n\t};\n\n\tTagStack.prototype._try_pop_frame = function(frame) { //function to retrieve the opening tag to the corresponding closer\n\t var parser_token = null;\n\n\t if (frame) {\n\t parser_token = frame.parser_token;\n\t this._printer.indent_level = frame.indent_level;\n\t this._current_frame = frame.parent;\n\t }\n\n\t return parser_token;\n\t};\n\n\tTagStack.prototype._get_frame = function(tag_list, stop_list) { //function to retrieve the opening tag to the corresponding closer\n\t var frame = this._current_frame;\n\n\t while (frame) { //till we reach '' (the initial value);\n\t if (tag_list.indexOf(frame.tag) !== -1) { //if this is it use it\n\t break;\n\t } else if (stop_list && stop_list.indexOf(frame.tag) !== -1) {\n\t frame = null;\n\t break;\n\t }\n\t frame = frame.parent;\n\t }\n\n\t return frame;\n\t};\n\n\tTagStack.prototype.try_pop = function(tag, stop_list) { //function to retrieve the opening tag to the corresponding closer\n\t var frame = this._get_frame([tag], stop_list);\n\t return this._try_pop_frame(frame);\n\t};\n\n\tTagStack.prototype.indent_to_tag = function(tag_list) {\n\t var frame = this._get_frame(tag_list);\n\t if (frame) {\n\t this._printer.indent_level = frame.indent_level;\n\t }\n\t};\n\n\tfunction Beautifier(source_text, options, js_beautify, css_beautify) {\n\t //Wrapper function to invoke all the necessary constructors and deal with the output.\n\t this._source_text = source_text || '';\n\t options = options || {};\n\t this._js_beautify = js_beautify;\n\t this._css_beautify = css_beautify;\n\t this._tag_stack = null;\n\n\t // Allow the setting of language/file-type specific options\n\t // with inheritance of overall settings\n\t var optionHtml = new Options(options, 'html');\n\n\t this._options = optionHtml;\n\n\t this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, 'force'.length) === 'force';\n\t this._is_wrap_attributes_force_expand_multiline = (this._options.wrap_attributes === 'force-expand-multiline');\n\t this._is_wrap_attributes_force_aligned = (this._options.wrap_attributes === 'force-aligned');\n\t this._is_wrap_attributes_aligned_multiple = (this._options.wrap_attributes === 'aligned-multiple');\n\t this._is_wrap_attributes_preserve = this._options.wrap_attributes.substr(0, 'preserve'.length) === 'preserve';\n\t this._is_wrap_attributes_preserve_aligned = (this._options.wrap_attributes === 'preserve-aligned');\n\t}\n\n\tBeautifier.prototype.beautify = function() {\n\n\t // if disabled, return the input unchanged.\n\t if (this._options.disabled) {\n\t return this._source_text;\n\t }\n\n\t var source_text = this._source_text;\n\t var eol = this._options.eol;\n\t if (this._options.eol === 'auto') {\n\t eol = '\\n';\n\t if (source_text && lineBreak.test(source_text)) {\n\t eol = source_text.match(lineBreak)[0];\n\t }\n\t }\n\n\t // HACK: newline parsing inconsistent. This brute force normalizes the input.\n\t source_text = source_text.replace(allLineBreaks, '\\n');\n\n\t var baseIndentString = source_text.match(/^[\\t ]*/)[0];\n\n\t var last_token = {\n\t text: '',\n\t type: ''\n\t };\n\n\t var last_tag_token = new TagOpenParserToken();\n\n\t var printer = new Printer(this._options, baseIndentString);\n\t var tokens = new Tokenizer(source_text, this._options).tokenize();\n\n\t this._tag_stack = new TagStack(printer);\n\n\t var parser_token = null;\n\t var raw_token = tokens.next();\n\t while (raw_token.type !== TOKEN.EOF) {\n\n\t if (raw_token.type === TOKEN.TAG_OPEN || raw_token.type === TOKEN.COMMENT) {\n\t parser_token = this._handle_tag_open(printer, raw_token, last_tag_token, last_token);\n\t last_tag_token = parser_token;\n\t } else if ((raw_token.type === TOKEN.ATTRIBUTE || raw_token.type === TOKEN.EQUALS || raw_token.type === TOKEN.VALUE) ||\n\t (raw_token.type === TOKEN.TEXT && !last_tag_token.tag_complete)) {\n\t parser_token = this._handle_inside_tag(printer, raw_token, last_tag_token, tokens);\n\t } else if (raw_token.type === TOKEN.TAG_CLOSE) {\n\t parser_token = this._handle_tag_close(printer, raw_token, last_tag_token);\n\t } else if (raw_token.type === TOKEN.TEXT) {\n\t parser_token = this._handle_text(printer, raw_token, last_tag_token);\n\t } else {\n\t // This should never happen, but if it does. Print the raw token\n\t printer.add_raw_token(raw_token);\n\t }\n\n\t last_token = parser_token;\n\n\t raw_token = tokens.next();\n\t }\n\t var sweet_code = printer._output.get_code(eol);\n\n\t return sweet_code;\n\t};\n\n\tBeautifier.prototype._handle_tag_close = function(printer, raw_token, last_tag_token) {\n\t var parser_token = {\n\t text: raw_token.text,\n\t type: raw_token.type\n\t };\n\t printer.alignment_size = 0;\n\t last_tag_token.tag_complete = true;\n\n\t printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== '', true);\n\t if (last_tag_token.is_unformatted) {\n\t printer.add_raw_token(raw_token);\n\t } else {\n\t if (last_tag_token.tag_start_char === '<') {\n\t printer.set_space_before_token(raw_token.text[0] === '/', true); // space before />, no space before >\n\t if (this._is_wrap_attributes_force_expand_multiline && last_tag_token.has_wrapped_attrs) {\n\t printer.print_newline(false);\n\t }\n\t }\n\t printer.print_token(raw_token);\n\n\t }\n\n\t if (last_tag_token.indent_content &&\n\t !(last_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {\n\t printer.indent();\n\n\t // only indent once per opened tag\n\t last_tag_token.indent_content = false;\n\t }\n\n\t if (!last_tag_token.is_inline_element &&\n\t !(last_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {\n\t printer.set_wrap_point();\n\t }\n\n\t return parser_token;\n\t};\n\n\tBeautifier.prototype._handle_inside_tag = function(printer, raw_token, last_tag_token, tokens) {\n\t var wrapped = last_tag_token.has_wrapped_attrs;\n\t var parser_token = {\n\t text: raw_token.text,\n\t type: raw_token.type\n\t };\n\n\t printer.set_space_before_token(raw_token.newlines || raw_token.whitespace_before !== '', true);\n\t if (last_tag_token.is_unformatted) {\n\t printer.add_raw_token(raw_token);\n\t } else if (last_tag_token.tag_start_char === '{' && raw_token.type === TOKEN.TEXT) {\n\t // For the insides of handlebars allow newlines or a single space between open and contents\n\t if (printer.print_preserved_newlines(raw_token)) {\n\t raw_token.newlines = 0;\n\t printer.add_raw_token(raw_token);\n\t } else {\n\t printer.print_token(raw_token);\n\t }\n\t } else {\n\t if (raw_token.type === TOKEN.ATTRIBUTE) {\n\t printer.set_space_before_token(true);\n\t last_tag_token.attr_count += 1;\n\t } else if (raw_token.type === TOKEN.EQUALS) { //no space before =\n\t printer.set_space_before_token(false);\n\t } else if (raw_token.type === TOKEN.VALUE && raw_token.previous.type === TOKEN.EQUALS) { //no space before value\n\t printer.set_space_before_token(false);\n\t }\n\n\t if (raw_token.type === TOKEN.ATTRIBUTE && last_tag_token.tag_start_char === '<') {\n\t if (this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) {\n\t printer.traverse_whitespace(raw_token);\n\t wrapped = wrapped || raw_token.newlines !== 0;\n\t }\n\n\n\t if (this._is_wrap_attributes_force) {\n\t var force_attr_wrap = last_tag_token.attr_count > 1;\n\t if (this._is_wrap_attributes_force_expand_multiline && last_tag_token.attr_count === 1) {\n\t var is_only_attribute = true;\n\t var peek_index = 0;\n\t var peek_token;\n\t do {\n\t peek_token = tokens.peek(peek_index);\n\t if (peek_token.type === TOKEN.ATTRIBUTE) {\n\t is_only_attribute = false;\n\t break;\n\t }\n\t peek_index += 1;\n\t } while (peek_index < 4 && peek_token.type !== TOKEN.EOF && peek_token.type !== TOKEN.TAG_CLOSE);\n\n\t force_attr_wrap = !is_only_attribute;\n\t }\n\n\t if (force_attr_wrap) {\n\t printer.print_newline(false);\n\t wrapped = true;\n\t }\n\t }\n\t }\n\t printer.print_token(raw_token);\n\t wrapped = wrapped || printer.previous_token_wrapped();\n\t last_tag_token.has_wrapped_attrs = wrapped;\n\t }\n\t return parser_token;\n\t};\n\n\tBeautifier.prototype._handle_text = function(printer, raw_token, last_tag_token) {\n\t var parser_token = {\n\t text: raw_token.text,\n\t type: 'TK_CONTENT'\n\t };\n\t if (last_tag_token.custom_beautifier_name) { //check if we need to format javascript\n\t this._print_custom_beatifier_text(printer, raw_token, last_tag_token);\n\t } else if (last_tag_token.is_unformatted || last_tag_token.is_content_unformatted) {\n\t printer.add_raw_token(raw_token);\n\t } else {\n\t printer.traverse_whitespace(raw_token);\n\t printer.print_token(raw_token);\n\t }\n\t return parser_token;\n\t};\n\n\tBeautifier.prototype._print_custom_beatifier_text = function(printer, raw_token, last_tag_token) {\n\t var local = this;\n\t if (raw_token.text !== '') {\n\n\t var text = raw_token.text,\n\t _beautifier,\n\t script_indent_level = 1,\n\t pre = '',\n\t post = '';\n\t if (last_tag_token.custom_beautifier_name === 'javascript' && typeof this._js_beautify === 'function') {\n\t _beautifier = this._js_beautify;\n\t } else if (last_tag_token.custom_beautifier_name === 'css' && typeof this._css_beautify === 'function') {\n\t _beautifier = this._css_beautify;\n\t } else if (last_tag_token.custom_beautifier_name === 'html') {\n\t _beautifier = function(html_source, options) {\n\t var beautifier = new Beautifier(html_source, options, local._js_beautify, local._css_beautify);\n\t return beautifier.beautify();\n\t };\n\t }\n\n\t if (this._options.indent_scripts === \"keep\") {\n\t script_indent_level = 0;\n\t } else if (this._options.indent_scripts === \"separate\") {\n\t script_indent_level = -printer.indent_level;\n\t }\n\n\t var indentation = printer.get_full_indent(script_indent_level);\n\n\t // if there is at least one empty line at the end of this text, strip it\n\t // we'll be adding one back after the text but before the containing tag.\n\t text = text.replace(/\\n[ \\t]*$/, '');\n\n\t // Handle the case where content is wrapped in a comment or cdata.\n\t if (last_tag_token.custom_beautifier_name !== 'html' &&\n\t text[0] === '<' && text.match(/^(<!--|<!\\[CDATA\\[)/)) {\n\t var matched = /^(<!--[^\\n]*|<!\\[CDATA\\[)(\\n?)([ \\t\\n]*)([\\s\\S]*)(-->|]]>)$/.exec(text);\n\n\t // if we start to wrap but don't finish, print raw\n\t if (!matched) {\n\t printer.add_raw_token(raw_token);\n\t return;\n\t }\n\n\t pre = indentation + matched[1] + '\\n';\n\t text = matched[4];\n\t if (matched[5]) {\n\t post = indentation + matched[5];\n\t }\n\n\t // if there is at least one empty line at the end of this text, strip it\n\t // we'll be adding one back after the text but before the containing tag.\n\t text = text.replace(/\\n[ \\t]*$/, '');\n\n\t if (matched[2] || matched[3].indexOf('\\n') !== -1) {\n\t // if the first line of the non-comment text has spaces\n\t // use that as the basis for indenting in null case.\n\t matched = matched[3].match(/[ \\t]+$/);\n\t if (matched) {\n\t raw_token.whitespace_before = matched[0];\n\t }\n\t }\n\t }\n\n\t if (text) {\n\t if (_beautifier) {\n\n\t // call the Beautifier if avaliable\n\t var Child_options = function() {\n\t this.eol = '\\n';\n\t };\n\t Child_options.prototype = this._options.raw_options;\n\t var child_options = new Child_options();\n\t text = _beautifier(indentation + text, child_options);\n\t } else {\n\t // simply indent the string otherwise\n\t var white = raw_token.whitespace_before;\n\t if (white) {\n\t text = text.replace(new RegExp('\\n(' + white + ')?', 'g'), '\\n');\n\t }\n\n\t text = indentation + text.replace(/\\n/g, '\\n' + indentation);\n\t }\n\t }\n\n\t if (pre) {\n\t if (!text) {\n\t text = pre + post;\n\t } else {\n\t text = pre + text + '\\n' + post;\n\t }\n\t }\n\n\t printer.print_newline(false);\n\t if (text) {\n\t raw_token.text = text;\n\t raw_token.whitespace_before = '';\n\t raw_token.newlines = 0;\n\t printer.add_raw_token(raw_token);\n\t printer.print_newline(true);\n\t }\n\t }\n\t};\n\n\tBeautifier.prototype._handle_tag_open = function(printer, raw_token, last_tag_token, last_token) {\n\t var parser_token = this._get_tag_open_token(raw_token);\n\n\t if ((last_tag_token.is_unformatted || last_tag_token.is_content_unformatted) &&\n\t !last_tag_token.is_empty_element &&\n\t raw_token.type === TOKEN.TAG_OPEN && raw_token.text.indexOf('</') === 0) {\n\t // End element tags for unformatted or content_unformatted elements\n\t // are printed raw to keep any newlines inside them exactly the same.\n\t printer.add_raw_token(raw_token);\n\t parser_token.start_tag_token = this._tag_stack.try_pop(parser_token.tag_name);\n\t } else {\n\t printer.traverse_whitespace(raw_token);\n\t this._set_tag_position(printer, raw_token, parser_token, last_tag_token, last_token);\n\t if (!parser_token.is_inline_element) {\n\t printer.set_wrap_point();\n\t }\n\t printer.print_token(raw_token);\n\t }\n\n\t //indent attributes an auto, forced, aligned or forced-align line-wrap\n\t if (this._is_wrap_attributes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_preserve_aligned) {\n\t parser_token.alignment_size = raw_token.text.length + 1;\n\t }\n\n\t if (!parser_token.tag_complete && !parser_token.is_unformatted) {\n\t printer.alignment_size = parser_token.alignment_size;\n\t }\n\n\t return parser_token;\n\t};\n\n\tvar TagOpenParserToken = function(parent, raw_token) {\n\t this.parent = parent || null;\n\t this.text = '';\n\t this.type = 'TK_TAG_OPEN';\n\t this.tag_name = '';\n\t this.is_inline_element = false;\n\t this.is_unformatted = false;\n\t this.is_content_unformatted = false;\n\t this.is_empty_element = false;\n\t this.is_start_tag = false;\n\t this.is_end_tag = false;\n\t this.indent_content = false;\n\t this.multiline_content = false;\n\t this.custom_beautifier_name = null;\n\t this.start_tag_token = null;\n\t this.attr_count = 0;\n\t this.has_wrapped_attrs = false;\n\t this.alignment_size = 0;\n\t this.tag_complete = false;\n\t this.tag_start_char = '';\n\t this.tag_check = '';\n\n\t if (!raw_token) {\n\t this.tag_complete = true;\n\t } else {\n\t var tag_check_match;\n\n\t this.tag_start_char = raw_token.text[0];\n\t this.text = raw_token.text;\n\n\t if (this.tag_start_char === '<') {\n\t tag_check_match = raw_token.text.match(/^<([^\\s>]*)/);\n\t this.tag_check = tag_check_match ? tag_check_match[1] : '';\n\t } else {\n\t tag_check_match = raw_token.text.match(/^{{~?(?:[\\^]|#\\*?)?([^\\s}]+)/);\n\t this.tag_check = tag_check_match ? tag_check_match[1] : '';\n\n\t // handle \"{{#> myPartial}}\" or \"{{~#> myPartial}}\"\n\t if ((raw_token.text.startsWith('{{#>') || raw_token.text.startsWith('{{~#>')) && this.tag_check[0] === '>') {\n\t if (this.tag_check === '>' && raw_token.next !== null) {\n\t this.tag_check = raw_token.next.text.split(' ')[0];\n\t } else {\n\t this.tag_check = raw_token.text.split('>')[1];\n\t }\n\t }\n\t }\n\n\t this.tag_check = this.tag_check.toLowerCase();\n\n\t if (raw_token.type === TOKEN.COMMENT) {\n\t this.tag_complete = true;\n\t }\n\n\t this.is_start_tag = this.tag_check.charAt(0) !== '/';\n\t this.tag_name = !this.is_start_tag ? this.tag_check.substr(1) : this.tag_check;\n\t this.is_end_tag = !this.is_start_tag ||\n\t (raw_token.closed && raw_token.closed.text === '/>');\n\n\t // if whitespace handler ~ included (i.e. {{~#if true}}), handlebars tags start at pos 3 not pos 2\n\t var handlebar_starts = 2;\n\t if (this.tag_start_char === '{' && this.text.length >= 3) {\n\t if (this.text.charAt(2) === '~') {\n\t handlebar_starts = 3;\n\t }\n\t }\n\n\t // handlebars tags that don't start with # or ^ are single_tags, and so also start and end.\n\t this.is_end_tag = this.is_end_tag ||\n\t (this.tag_start_char === '{' && (this.text.length < 3 || (/[^#\\^]/.test(this.text.charAt(handlebar_starts)))));\n\t }\n\t};\n\n\tBeautifier.prototype._get_tag_open_token = function(raw_token) { //function to get a full tag and parse its type\n\t var parser_token = new TagOpenParserToken(this._tag_stack.get_parser_token(), raw_token);\n\n\t parser_token.alignment_size = this._options.wrap_attributes_indent_size;\n\n\t parser_token.is_end_tag = parser_token.is_end_tag ||\n\t in_array(parser_token.tag_check, this._options.void_elements);\n\n\t parser_token.is_empty_element = parser_token.tag_complete ||\n\t (parser_token.is_start_tag && parser_token.is_end_tag);\n\n\t parser_token.is_unformatted = !parser_token.tag_complete && in_array(parser_token.tag_check, this._options.unformatted);\n\t parser_token.is_content_unformatted = !parser_token.is_empty_element && in_array(parser_token.tag_check, this._options.content_unformatted);\n\t parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_start_char === '{';\n\n\t return parser_token;\n\t};\n\n\tBeautifier.prototype._set_tag_position = function(printer, raw_token, parser_token, last_tag_token, last_token) {\n\n\t if (!parser_token.is_empty_element) {\n\t if (parser_token.is_end_tag) { //this tag is a double tag so check for tag-ending\n\t parser_token.start_tag_token = this._tag_stack.try_pop(parser_token.tag_name); //remove it and all ancestors\n\t } else { // it's a start-tag\n\t // check if this tag is starting an element that has optional end element\n\t // and do an ending needed\n\t if (this._do_optional_end_element(parser_token)) {\n\t if (!parser_token.is_inline_element) {\n\t printer.print_newline(false);\n\t }\n\t }\n\n\t this._tag_stack.record_tag(parser_token); //push it on the tag stack\n\n\t if ((parser_token.tag_name === 'script' || parser_token.tag_name === 'style') &&\n\t !(parser_token.is_unformatted || parser_token.is_content_unformatted)) {\n\t parser_token.custom_beautifier_name = get_custom_beautifier_name(parser_token.tag_check, raw_token);\n\t }\n\t }\n\t }\n\n\t if (in_array(parser_token.tag_check, this._options.extra_liners)) { //check if this double needs an extra line\n\t printer.print_newline(false);\n\t if (!printer._output.just_added_blankline()) {\n\t printer.print_newline(true);\n\t }\n\t }\n\n\t if (parser_token.is_empty_element) { //if this tag name is a single tag type (either in the list or has a closing /)\n\n\t // if you hit an else case, reset the indent level if you are inside an:\n\t // 'if', 'unless', or 'each' block.\n\t if (parser_token.tag_start_char === '{' && parser_token.tag_check === 'else') {\n\t this._tag_stack.indent_to_tag(['if', 'unless', 'each']);\n\t parser_token.indent_content = true;\n\t // Don't add a newline if opening {{#if}} tag is on the current line\n\t var foundIfOnCurrentLine = printer.current_line_has_match(/{{#if/);\n\t if (!foundIfOnCurrentLine) {\n\t printer.print_newline(false);\n\t }\n\t }\n\n\t // Don't add a newline before elements that should remain where they are.\n\t if (parser_token.tag_name === '!--' && last_token.type === TOKEN.TAG_CLOSE &&\n\t last_tag_token.is_end_tag && parser_token.text.indexOf('\\n') === -1) ; else {\n\t if (!(parser_token.is_inline_element || parser_token.is_unformatted)) {\n\t printer.print_newline(false);\n\t }\n\t this._calcluate_parent_multiline(printer, parser_token);\n\t }\n\t } else if (parser_token.is_end_tag) { //this tag is a double tag so check for tag-ending\n\t var do_end_expand = false;\n\n\t // deciding whether a block is multiline should not be this hard\n\t do_end_expand = parser_token.start_tag_token && parser_token.start_tag_token.multiline_content;\n\t do_end_expand = do_end_expand || (!parser_token.is_inline_element &&\n\t !(last_tag_token.is_inline_element || last_tag_token.is_unformatted) &&\n\t !(last_token.type === TOKEN.TAG_CLOSE && parser_token.start_tag_token === last_tag_token) &&\n\t last_token.type !== 'TK_CONTENT'\n\t );\n\n\t if (parser_token.is_content_unformatted || parser_token.is_unformatted) {\n\t do_end_expand = false;\n\t }\n\n\t if (do_end_expand) {\n\t printer.print_newline(false);\n\t }\n\t } else { // it's a start-tag\n\t parser_token.indent_content = !parser_token.custom_beautifier_name;\n\n\t if (parser_token.tag_start_char === '<') {\n\t if (parser_token.tag_name === 'html') {\n\t parser_token.indent_content = this._options.indent_inner_html;\n\t } else if (parser_token.tag_name === 'head') {\n\t parser_token.indent_content = this._options.indent_head_inner_html;\n\t } else if (parser_token.tag_name === 'body') {\n\t parser_token.indent_content = this._options.indent_body_inner_html;\n\t }\n\t }\n\n\t if (!(parser_token.is_inline_element || parser_token.is_unformatted) &&\n\t (last_token.type !== 'TK_CONTENT' || parser_token.is_content_unformatted)) {\n\t printer.print_newline(false);\n\t }\n\n\t this._calcluate_parent_multiline(printer, parser_token);\n\t }\n\t};\n\n\tBeautifier.prototype._calcluate_parent_multiline = function(printer, parser_token) {\n\t if (parser_token.parent && printer._output.just_added_newline() &&\n\t !((parser_token.is_inline_element || parser_token.is_unformatted) && parser_token.parent.is_inline_element)) {\n\t parser_token.parent.multiline_content = true;\n\t }\n\t};\n\n\t//To be used for <p> tag special case:\n\tvar p_closers = ['address', 'article', 'aside', 'blockquote', 'details', 'div', 'dl', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hr', 'main', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'];\n\tvar p_parent_excludes = ['a', 'audio', 'del', 'ins', 'map', 'noscript', 'video'];\n\n\tBeautifier.prototype._do_optional_end_element = function(parser_token) {\n\t var result = null;\n\t // NOTE: cases of \"if there is no more content in the parent element\"\n\t // are handled automatically by the beautifier.\n\t // It assumes parent or ancestor close tag closes all children.\n\t // https://www.w3.org/TR/html5/syntax.html#optional-tags\n\t if (parser_token.is_empty_element || !parser_token.is_start_tag || !parser_token.parent) {\n\t return;\n\n\t }\n\n\t if (parser_token.tag_name === 'body') {\n\t // A head element’s end tag may be omitted if the head element is not immediately followed by a space character or a comment.\n\t result = result || this._tag_stack.try_pop('head');\n\n\t //} else if (parser_token.tag_name === 'body') {\n\t // DONE: A body element’s end tag may be omitted if the body element is not immediately followed by a comment.\n\n\t } else if (parser_token.tag_name === 'li') {\n\t // An li element’s end tag may be omitted if the li element is immediately followed by another li element or if there is no more content in the parent element.\n\t result = result || this._tag_stack.try_pop('li', ['ol', 'ul']);\n\n\t } else if (parser_token.tag_name === 'dd' || parser_token.tag_name === 'dt') {\n\t // A dd element’s end tag may be omitted if the dd element is immediately followed by another dd element or a dt element, or if there is no more content in the parent element.\n\t // A dt element’s end tag may be omitted if the dt element is immediately followed by another dt element or a dd element.\n\t result = result || this._tag_stack.try_pop('dt', ['dl']);\n\t result = result || this._tag_stack.try_pop('dd', ['dl']);\n\n\n\t } else if (parser_token.parent.tag_name === 'p' && p_closers.indexOf(parser_token.tag_name) !== -1) {\n\t // IMPORTANT: this else-if works because p_closers has no overlap with any other element we look for in this method\n\t // check for the parent element is an HTML element that is not an <a>, <audio>, <del>, <ins>, <map>, <noscript>, or <video> element, or an autonomous custom element.\n\t // To do this right, this needs to be coded as an inclusion of the inverse of the exclusion above.\n\t // But to start with (if we ignore \"autonomous custom elements\") the exclusion would be fine.\n\t var p_parent = parser_token.parent.parent;\n\t if (!p_parent || p_parent_excludes.indexOf(p_parent.tag_name) === -1) {\n\t result = result || this._tag_stack.try_pop('p');\n\t }\n\t } else if (parser_token.tag_name === 'rp' || parser_token.tag_name === 'rt') {\n\t // An rt element’s end tag may be omitted if the rt element is immediately followed by an rt or rp element, or if there is no more content in the parent element.\n\t // An rp element’s end tag may be omitted if the rp element is immediately followed by an rt or rp element, or if there is no more content in the parent element.\n\t result = result || this._tag_stack.try_pop('rt', ['ruby', 'rtc']);\n\t result = result || this._tag_stack.try_pop('rp', ['ruby', 'rtc']);\n\n\t } else if (parser_token.tag_name === 'optgroup') {\n\t // An optgroup element’s end tag may be omitted if the optgroup element is immediately followed by another optgroup element, or if there is no more content in the parent element.\n\t // An option element’s end tag may be omitted if the option element is immediately followed by another option element, or if it is immediately followed by an optgroup element, or if there is no more content in the parent element.\n\t result = result || this._tag_stack.try_pop('optgroup', ['select']);\n\t //result = result || this._tag_stack.try_pop('option', ['select']);\n\n\t } else if (parser_token.tag_name === 'option') {\n\t // An option element’s end tag may be omitted if the option element is immediately followed by another option element, or if it is immediately followed by an optgroup element, or if there is no more content in the parent element.\n\t result = result || this._tag_stack.try_pop('option', ['select', 'datalist', 'optgroup']);\n\n\t } else if (parser_token.tag_name === 'colgroup') {\n\t // DONE: A colgroup element’s end tag may be omitted if the colgroup element is not immediately followed by a space character or a comment.\n\t // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n\t result = result || this._tag_stack.try_pop('caption', ['table']);\n\n\t } else if (parser_token.tag_name === 'thead') {\n\t // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.\n\t // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n\t result = result || this._tag_stack.try_pop('caption', ['table']);\n\t result = result || this._tag_stack.try_pop('colgroup', ['table']);\n\n\t //} else if (parser_token.tag_name === 'caption') {\n\t // DONE: A caption element’s end tag may be omitted if the caption element is not immediately followed by a space character or a comment.\n\n\t } else if (parser_token.tag_name === 'tbody' || parser_token.tag_name === 'tfoot') {\n\t // A thead element’s end tag may be omitted if the thead element is immediately followed by a tbody or tfoot element.\n\t // A tbody element’s end tag may be omitted if the tbody element is immediately followed by a tbody or tfoot element, or if there is no more content in the parent element.\n\t // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.\n\t // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n\t result = result || this._tag_stack.try_pop('caption', ['table']);\n\t result = result || this._tag_stack.try_pop('colgroup', ['table']);\n\t result = result || this._tag_stack.try_pop('thead', ['table']);\n\t result = result || this._tag_stack.try_pop('tbody', ['table']);\n\n\t //} else if (parser_token.tag_name === 'tfoot') {\n\t // DONE: A tfoot element’s end tag may be omitted if there is no more content in the parent element.\n\n\t } else if (parser_token.tag_name === 'tr') {\n\t // A tr element’s end tag may be omitted if the tr element is immediately followed by another tr element, or if there is no more content in the parent element.\n\t // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.\n\t // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n\t result = result || this._tag_stack.try_pop('caption', ['table']);\n\t result = result || this._tag_stack.try_pop('colgroup', ['table']);\n\t result = result || this._tag_stack.try_pop('tr', ['table', 'thead', 'tbody', 'tfoot']);\n\n\t } else if (parser_token.tag_name === 'th' || parser_token.tag_name === 'td') {\n\t // A td element’s end tag may be omitted if the td element is immediately followed by a td or th element, or if there is no more content in the parent element.\n\t // A th element’s end tag may be omitted if the th element is immediately followed by a td or th element, or if there is no more content in the parent element.\n\t result = result || this._tag_stack.try_pop('td', ['table', 'thead', 'tbody', 'tfoot', 'tr']);\n\t result = result || this._tag_stack.try_pop('th', ['table', 'thead', 'tbody', 'tfoot', 'tr']);\n\t }\n\n\t // Start element omission not handled currently\n\t // A head element’s start tag may be omitted if the element is empty, or if the first thing inside the head element is an element.\n\t // A tbody element’s start tag may be omitted if the first thing inside the tbody element is a tr element, and if the element is not immediately preceded by a tbody, thead, or tfoot element whose end tag has been omitted. (It can’t be omitted if the element is empty.)\n\t // A colgroup element’s start tag may be omitted if the first thing inside the colgroup element is a col element, and if the element is not immediately preceded by another colgroup element whose end tag has been omitted. (It can’t be omitted if the element is empty.)\n\n\t // Fix up the parent of the parser token\n\t parser_token.parent = this._tag_stack.get_parser_token();\n\n\t return result;\n\t};\n\n\tbeautifier.Beautifier = Beautifier;\n\treturn beautifier;\n}\n\n/*jshint node:true */\n\nvar hasRequiredHtml;\n\nfunction requireHtml () {\n\tif (hasRequiredHtml) return htmlExports;\n\thasRequiredHtml = 1;\n\n\tvar Beautifier = requireBeautifier().Beautifier,\n\t Options = requireOptions().Options;\n\n\tfunction style_html(html_source, options, js_beautify, css_beautify) {\n\t var beautifier = new Beautifier(html_source, options, js_beautify, css_beautify);\n\t return beautifier.beautify();\n\t}\n\n\thtml.exports = style_html;\n\thtmlExports.defaultOptions = function() {\n\t return new Options();\n\t};\n\treturn htmlExports;\n}\n\n/*jshint node:true */\n\nvar hasRequiredSrc;\n\nfunction requireSrc () {\n\tif (hasRequiredSrc) return src;\n\thasRequiredSrc = 1;\n\n\tvar js_beautify = requireJavascript();\n\tvar css_beautify = requireCss();\n\tvar html_beautify = requireHtml();\n\n\tfunction style_html(html_source, options, js, css) {\n\t js = js || js_beautify;\n\t css = css || css_beautify;\n\t return html_beautify(html_source, options, js, css);\n\t}\n\tstyle_html.defaultOptions = html_beautify.defaultOptions;\n\n\tsrc.js = js_beautify;\n\tsrc.css = css_beautify;\n\tsrc.html = style_html;\n\treturn src;\n}\n\n/*jshint node:true */\n\n(function (module) {\n\n\t/**\n\tThe following batches are equivalent:\n\n\tvar beautify_js = require('js-beautify');\n\tvar beautify_js = require('js-beautify').js;\n\tvar beautify_js = require('js-beautify').js_beautify;\n\n\tvar beautify_css = require('js-beautify').css;\n\tvar beautify_css = require('js-beautify').css_beautify;\n\n\tvar beautify_html = require('js-beautify').html;\n\tvar beautify_html = require('js-beautify').html_beautify;\n\n\tAll methods returned accept two arguments, the source string and an options object.\n\t**/\n\n\tfunction get_beautify(js_beautify, css_beautify, html_beautify) {\n\t // the default is js\n\t var beautify = function(src, config) {\n\t return js_beautify.js_beautify(src, config);\n\t };\n\n\t // short aliases\n\t beautify.js = js_beautify.js_beautify;\n\t beautify.css = css_beautify.css_beautify;\n\t beautify.html = html_beautify.html_beautify;\n\n\t // legacy aliases\n\t beautify.js_beautify = js_beautify.js_beautify;\n\t beautify.css_beautify = css_beautify.css_beautify;\n\t beautify.html_beautify = html_beautify.html_beautify;\n\n\t return beautify;\n\t}\n\n\t{\n\t (function(mod) {\n\t var beautifier = requireSrc();\n\t beautifier.js_beautify = beautifier.js;\n\t beautifier.css_beautify = beautifier.css;\n\t beautifier.html_beautify = beautifier.html;\n\n\t mod.exports = get_beautify(beautifier, beautifier, beautifier);\n\n\t })(module);\n\t}\n} (js));\n\nvar beautify = jsExports;\n\nvar BaseWrapper = /** @class */ (function () {\n function BaseWrapper(element) {\n var _this = this;\n this.isDisabled = function () {\n var validTagsToBeDisabled = [\n 'BUTTON',\n 'COMMAND',\n 'FIELDSET',\n 'KEYGEN',\n 'OPTGROUP',\n 'OPTION',\n 'SELECT',\n 'TEXTAREA',\n 'INPUT'\n ];\n var hasDisabledAttribute = _this.attributes().disabled !== undefined;\n var elementCanBeDisabled = isElement(_this.element) &&\n validTagsToBeDisabled.includes(_this.element.tagName);\n return hasDisabledAttribute && elementCanBeDisabled;\n };\n this.wrapperElement = element;\n }\n Object.defineProperty(BaseWrapper.prototype, \"element\", {\n get: function () {\n return this.wrapperElement;\n },\n enumerable: false,\n configurable: true\n });\n BaseWrapper.prototype.findAllDOMElements = function (selector) {\n var elementRootNodes = this.getRootNodes().filter(isElement);\n if (elementRootNodes.length === 0)\n return [];\n var result = __spreadArray([], elementRootNodes.filter(function (node) { return node.matches(selector); }), true);\n elementRootNodes.forEach(function (rootNode) {\n result.push.apply(result, Array.from(rootNode.querySelectorAll(selector)));\n });\n return result;\n };\n BaseWrapper.prototype.find = function (selector) {\n if (typeof selector === 'object' && 'ref' in selector) {\n var currentComponent = this.getCurrentComponent();\n if (!currentComponent) {\n return createWrapperError('DOMWrapper');\n }\n var result = currentComponent.refs[selector.ref];\n // When using ref inside v-for, then refs contains array of component instances and nodes\n if (Array.isArray(result)) {\n result = result.length ? result[0] : undefined;\n }\n if (result instanceof Node) {\n return createDOMWrapper(result);\n }\n else {\n return createWrapperError('DOMWrapper');\n }\n }\n var elements = this.findAll(selector);\n if (elements.length > 0) {\n return elements[0];\n }\n return createWrapperError('DOMWrapper');\n };\n BaseWrapper.prototype.findComponent = function (selector) {\n var currentComponent = this.getCurrentComponent();\n if (!currentComponent) {\n return createWrapperError('VueWrapper');\n }\n if (typeof selector === 'object' && 'ref' in selector) {\n var result_1 = currentComponent.refs[selector.ref];\n // When using ref inside v-for, then refs contains array of component instances\n if (Array.isArray(result_1)) {\n result_1 = result_1.length ? result_1[0] : undefined;\n }\n if (result_1 && !(result_1 instanceof HTMLElement)) {\n return createVueWrapper(null, result_1);\n }\n else {\n return createWrapperError('VueWrapper');\n }\n }\n if (matches(currentComponent.vnode, selector) &&\n this.element.contains(currentComponent.vnode.el)) {\n return createVueWrapper(null, currentComponent.proxy);\n }\n var result = this.findAllComponents(selector)[0];\n return result !== null && result !== void 0 ? result : createWrapperError('VueWrapper');\n };\n BaseWrapper.prototype.findAllComponents = function (selector) {\n var currentComponent = this.getCurrentComponent();\n if (!currentComponent) {\n return [];\n }\n var results = find(currentComponent.subTree, selector);\n return results.map(function (c) {\n return c.proxy\n ? createVueWrapper(null, c.proxy)\n : createDOMWrapper(c.vnode.el);\n });\n };\n BaseWrapper.prototype.html = function (options) {\n var stringNodes = this.getRootNodes().map(function (node) { return stringifyNode(node); });\n if (options === null || options === void 0 ? void 0 : options.raw)\n return stringNodes.join('');\n return stringNodes\n .map(function (node) {\n return beautify.html(node, {\n unformatted: ['code', 'pre', 'em', 'strong', 'span'],\n indent_inner_html: true,\n indent_size: 2\n });\n })\n .join('\\n');\n };\n BaseWrapper.prototype.classes = function (className) {\n var classes = isElement(this.element)\n ? Array.from(this.element.classList)\n : [];\n if (className)\n return classes.includes(className);\n return classes;\n };\n BaseWrapper.prototype.attributes = function (key) {\n var attributeMap = {};\n if (isElement(this.element)) {\n var attributes = Array.from(this.element.attributes);\n for (var _i = 0, attributes_1 = attributes; _i < attributes_1.length; _i++) {\n var attribute = attributes_1[_i];\n attributeMap[attribute.localName] = attribute.value;\n }\n }\n return key ? attributeMap[key] : attributeMap;\n };\n BaseWrapper.prototype.text = function () {\n return textContent(this.element);\n };\n BaseWrapper.prototype.exists = function () {\n return true;\n };\n BaseWrapper.prototype.get = function (selector) {\n var result = this.find(selector);\n if (result.exists()) {\n return result;\n }\n throw new Error(\"Unable to get \".concat(selector, \" within: \").concat(this.html()));\n };\n BaseWrapper.prototype.getComponent = function (selector) {\n var result = this.findComponent(selector);\n if (result.exists()) {\n return result;\n }\n var message = 'Unable to get ';\n if (typeof selector === 'string') {\n message += \"component with selector \".concat(selector);\n }\n else if ('name' in selector) {\n message += \"component with name \".concat(selector.name);\n }\n else if ('ref' in selector) {\n message += \"component with ref \".concat(selector.ref);\n }\n else {\n message += 'specified component';\n }\n message += \" within: \".concat(this.html());\n throw new Error(message);\n };\n BaseWrapper.prototype.isVisible = function () {\n return isElement(this.element) && isElementVisible(this.element);\n };\n BaseWrapper.prototype.trigger = function (eventString, options) {\n return __awaiter(this, void 0, void 0, function () {\n var event_1;\n return __generator(this, function (_a) {\n if (options && options['target']) {\n throw Error(\"[vue-test-utils]: you cannot set the target value of an event. See the notes section \" +\n \"of the docs for more details\\u2014\" +\n \"https://vue-test-utils.vuejs.org/api/wrapper/trigger.html\");\n }\n if (this.element && !this.isDisabled()) {\n event_1 = createDOMEvent(eventString, options);\n // see https://github.com/vuejs/test-utils/issues/1854\n // fakeTimers provoke an issue as Date.now() always return the same value\n // and Vue relies on it to determine if the handler should be invoked\n // see https://github.com/vuejs/core/blob/5ee40532a63e0b792e0c1eccf3cf68546a4e23e9/packages/runtime-dom/src/modules/events.ts#L100-L104\n // we workaround this issue by manually setting _vts to Date.now() + 1\n // thus making sure the event handler is invoked\n event_1._vts = Date.now() + 1;\n this.element.dispatchEvent(event_1);\n }\n return [2 /*return*/, nextTick()];\n });\n });\n };\n return BaseWrapper;\n}());\n\nvar DOMWrapper = /** @class */ (function (_super) {\n __extends(DOMWrapper, _super);\n function DOMWrapper(element) {\n var _this = this;\n if (!element) {\n return createWrapperError('DOMWrapper');\n }\n _this = _super.call(this, element) || this;\n // plugins hook\n config.plugins.DOMWrapper.extend(_this);\n return _this;\n }\n DOMWrapper.prototype.getRootNodes = function () {\n return [this.wrapperElement];\n };\n DOMWrapper.prototype.getCurrentComponent = function () {\n var _a;\n var component = this.element.__vueParentComponent;\n while (((_a = component === null || component === void 0 ? void 0 : component.parent) === null || _a === void 0 ? void 0 : _a.vnode.el) === this.element) {\n component = component.parent;\n }\n return component;\n };\n DOMWrapper.prototype.find = function (selector) {\n var result = _super.prototype.find.call(this, selector);\n if (result.exists() && isRefSelector(selector)) {\n return this.element.contains(result.element)\n ? result\n : createWrapperError('DOMWrapper');\n }\n return result;\n };\n DOMWrapper.prototype.findAll = function (selector) {\n if (!(this.wrapperElement instanceof Element)) {\n return [];\n }\n return Array.from(this.wrapperElement.querySelectorAll(selector), createDOMWrapper);\n };\n DOMWrapper.prototype.findAllComponents = function (selector) {\n var _this = this;\n var results = _super.prototype.findAllComponents.call(this, selector);\n return results.filter(function (r) { return _this.element.contains(r.element); });\n };\n DOMWrapper.prototype.setChecked = function (checked) {\n if (checked === void 0) { checked = true; }\n return __awaiter(this, void 0, void 0, function () {\n var element, type;\n return __generator(this, function (_a) {\n element = this.element;\n type = this.attributes().type;\n if (type === 'radio' && !checked) {\n throw Error(\"wrapper.setChecked() cannot be called with parameter false on a '<input type=\\\"radio\\\" /> element.\");\n }\n // we do not want to trigger an event if the user\n // attempting set the same value twice\n // this is because in a browser setting checked = true when it is\n // already true is a no-op; no change event is triggered\n if (checked === element.checked) {\n return [2 /*return*/];\n }\n element.checked = checked;\n return [2 /*return*/, this.trigger('change')];\n });\n });\n };\n DOMWrapper.prototype.setValue = function (value) {\n var element = this.element;\n var tagName = element.tagName;\n var type = this.attributes().type;\n if (tagName === 'OPTION') {\n this.setSelected();\n return Promise.resolve();\n }\n else if (tagName === 'INPUT' && type === 'checkbox') {\n return this.setChecked(value);\n }\n else if (tagName === 'INPUT' && type === 'radio') {\n return this.setChecked(value);\n }\n else if (tagName === 'SELECT') {\n if (Array.isArray(value)) {\n var selectElement = element;\n for (var i = 0; i < selectElement.options.length; i++) {\n var option = selectElement.options[i];\n option.selected = value.includes(option.value);\n }\n }\n else {\n element.value = value;\n }\n return this.trigger('change');\n }\n else if (tagName === 'INPUT' || tagName === 'TEXTAREA') {\n element.value = value;\n this.trigger('input');\n // trigger `change` for `v-model.lazy`\n return this.trigger('change');\n }\n else {\n throw Error(\"wrapper.setValue() cannot be called on \".concat(tagName));\n }\n };\n DOMWrapper.prototype.setSelected = function () {\n var element = this.element;\n if (element.selected) {\n return;\n }\n // todo - review all non-null assertion operators in project\n // search globally for `!.` and with regex `!$`\n element.selected = true;\n var parentElement = element.parentElement;\n if (parentElement.tagName === 'OPTGROUP') {\n parentElement = parentElement.parentElement;\n }\n return new DOMWrapper(parentElement).trigger('change');\n };\n return DOMWrapper;\n}(BaseWrapper));\nregisterFactory(WrapperType.DOMWrapper, function (element) { return new DOMWrapper(element); });\n\nfunction getRootNodes(vnode) {\n if (vnode.shapeFlag & 1 /* ShapeFlags.ELEMENT */) {\n return [vnode.el];\n }\n else if (vnode.shapeFlag & 6 /* ShapeFlags.COMPONENT */) {\n var subTree = vnode.component.subTree;\n return getRootNodes(subTree);\n }\n else if (vnode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n return getRootNodes(vnode.suspense.activeBranch);\n }\n else if (vnode.shapeFlag &\n (8 /* ShapeFlags.TEXT_CHILDREN */ | 64 /* ShapeFlags.TELEPORT */)) {\n // static node optimization, subTree.children will be static string and will not help us\n var result = [vnode.el];\n if (vnode.anchor) {\n var currentNode = result[0].nextSibling;\n while (currentNode && currentNode.previousSibling !== vnode.anchor) {\n result.push(currentNode);\n currentNode = currentNode.nextSibling;\n }\n }\n return result;\n }\n else if (vnode.shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n var children = vnode.children.flat();\n return children\n .flatMap(function (vnode) { return getRootNodes(vnode); })\n .filter(isNotNullOrUndefined);\n }\n // Missing cases which do not need special handling:\n // ShapeFlags.SLOTS_CHILDREN comes with ShapeFlags.ELEMENT\n // Will hit this default when ShapeFlags is 0\n // This is the case for example for unresolved async component without loader\n return [];\n}\n\nvar events = {};\nfunction emitted(vm, eventName) {\n var cid = vm.$.uid;\n var vmEvents = events[cid] || {};\n if (eventName) {\n return vmEvents ? vmEvents[eventName] : undefined;\n }\n return vmEvents;\n}\nvar attachEmitListener = function () {\n // use devtools to capture this \"emit\"\n setDevtoolsHook(createDevTools(), {});\n};\n// devtools hook only catches Vue component custom events\nfunction createDevTools() {\n return {\n emit: function (eventType) {\n var payload = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n payload[_i - 1] = arguments[_i];\n }\n if (eventType !== \"component:emit\" /* DevtoolsHooks.COMPONENT_EMIT */)\n return;\n var componentVM = payload[1], event = payload[2], eventArgs = payload[3];\n recordEvent(componentVM, event, eventArgs);\n }\n };\n}\nvar recordEvent = function (vm, event, args) {\n // Functional component wrapper creates a parent component\n var wrapperVm = vm;\n while (typeof (wrapperVm === null || wrapperVm === void 0 ? void 0 : wrapperVm.type) === 'function')\n wrapperVm = wrapperVm.parent;\n var cid = wrapperVm.uid;\n if (!(cid in events)) {\n events[cid] = {};\n }\n if (!(event in events[cid])) {\n events[cid][event] = [];\n }\n // Record the event message sent by the emit\n events[cid][event].push(args);\n};\nvar removeEventHistory = function (vm) {\n var cid = vm.$.uid;\n delete events[cid];\n};\n\n/**\n * Creates a proxy around the VM instance.\n * This proxy returns the value from the setupState if there is one, or the one from the VM if not.\n * See https://github.com/vuejs/core/issues/7103\n */\nfunction createVMProxy(vm, setupState) {\n return new Proxy(vm, {\n get: function (vm, key, receiver) {\n if (key in setupState) {\n return Reflect.get(setupState, key, receiver);\n }\n else {\n // vm.$.ctx is the internal context of the vm\n // with all variables, methods and props\n return vm.$.ctx[key];\n }\n },\n set: function (vm, key, value, receiver) {\n if (key in setupState) {\n return Reflect.set(setupState, key, value, receiver);\n }\n else {\n return Reflect.set(vm, key, value, receiver);\n }\n },\n has: function (vm, property) {\n return Reflect.has(setupState, property) || Reflect.has(vm, property);\n },\n defineProperty: function (vm, key, attributes) {\n if (key in setupState) {\n return Reflect.defineProperty(setupState, key, attributes);\n }\n else {\n return Reflect.defineProperty(vm, key, attributes);\n }\n },\n getOwnPropertyDescriptor: function (vm, property) {\n if (property in setupState) {\n return Reflect.getOwnPropertyDescriptor(setupState, property);\n }\n else {\n return Reflect.getOwnPropertyDescriptor(vm, property);\n }\n },\n deleteProperty: function (vm, property) {\n if (property in setupState) {\n return Reflect.deleteProperty(setupState, property);\n }\n else {\n return Reflect.deleteProperty(vm, property);\n }\n }\n });\n}\nvar VueWrapper = /** @class */ (function (_super) {\n __extends(VueWrapper, _super);\n function VueWrapper(app, vm, setProps) {\n var _this = _super.call(this, vm === null || vm === void 0 ? void 0 : vm.$el) || this;\n _this.cleanUpCallbacks = [];\n _this.__app = app;\n // root is null on functional components\n _this.rootVM = vm === null || vm === void 0 ? void 0 : vm.$root;\n // `vm.$.setupState` is what the template has access to\n // so even if the component is closed (as they are by default for `script setup`)\n // a test will still be able to do something like\n // `expect(wrapper.vm.count).toBe(1)`\n // if we return it as `vm`\n // This does not work for functional components though (as they have no vm)\n // or for components with a setup that returns a render function (as they have an empty proxy)\n // in both cases, we return `vm` directly instead\n if (hasSetupState(vm)) {\n _this.componentVM = createVMProxy(vm, vm.$.setupState);\n }\n else {\n _this.componentVM = vm;\n }\n _this.__setProps = setProps;\n _this.attachNativeEventListener();\n config.plugins.VueWrapper.extend(_this);\n return _this;\n }\n Object.defineProperty(VueWrapper.prototype, \"hasMultipleRoots\", {\n get: function () {\n // Recursive check subtree for nested root elements\n // <template>\n // <WithMultipleRoots />\n // </template>\n var checkTree = function (subTree) {\n var _a;\n // if the subtree is an array of children, we have multiple root nodes\n if (subTree.shapeFlag === 16 /* ShapeFlags.ARRAY_CHILDREN */)\n return true;\n if (subTree.shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */ ||\n subTree.shapeFlag & 2 /* ShapeFlags.FUNCTIONAL_COMPONENT */) {\n // We are rendering other component, check it's tree instead\n if ((_a = subTree.component) === null || _a === void 0 ? void 0 : _a.subTree) {\n return checkTree(subTree.component.subTree);\n }\n // Component has multiple children\n if (subTree.shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {\n return true;\n }\n }\n return false;\n };\n return checkTree(this.vm.$.subTree);\n },\n enumerable: false,\n configurable: true\n });\n VueWrapper.prototype.getRootNodes = function () {\n return getRootNodes(this.vm.$.vnode);\n };\n Object.defineProperty(VueWrapper.prototype, \"parentElement\", {\n get: function () {\n return this.vm.$el.parentElement;\n },\n enumerable: false,\n configurable: true\n });\n VueWrapper.prototype.getCurrentComponent = function () {\n return this.vm.$;\n };\n VueWrapper.prototype.exists = function () {\n return !this.getCurrentComponent().isUnmounted;\n };\n VueWrapper.prototype.findAll = function (selector) {\n return this.findAllDOMElements(selector).map(createDOMWrapper);\n };\n VueWrapper.prototype.attachNativeEventListener = function () {\n var vm = this.vm;\n if (!vm)\n return;\n var emits = vm.$options.emits\n ? // if emits is declared as an array\n Array.isArray(vm.$options.emits)\n ? // use it\n vm.$options.emits\n : // otherwise it's declared as an object\n // and we only need the keys\n Object.keys(vm.$options.emits)\n : [];\n var elementRoots = this.getRootNodes().filter(function (node) { return node instanceof Element; });\n if (elementRoots.length !== 1) {\n return;\n }\n var element = elementRoots[0];\n var _loop_1 = function (eventName) {\n // if a component includes events in 'emits' with the same name as native\n // events, the native events with that name should be ignored\n // @see https://github.com/vuejs/rfcs/blob/master/active-rfcs/0030-emits-option.md#fallthrough-control\n if (emits.includes(eventName))\n return \"continue\";\n var eventListener = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n recordEvent(vm.$, eventName, args);\n };\n element.addEventListener(eventName, eventListener);\n this_1.cleanUpCallbacks.push(function () {\n element.removeEventListener(eventName, eventListener);\n });\n };\n var this_1 = this;\n for (var _i = 0, _a = Object.keys(domEvents); _i < _a.length; _i++) {\n var eventName = _a[_i];\n _loop_1(eventName);\n }\n };\n Object.defineProperty(VueWrapper.prototype, \"element\", {\n get: function () {\n // if the component has multiple root elements, we use the parent's element\n return this.hasMultipleRoots ? this.parentElement : this.vm.$el;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(VueWrapper.prototype, \"vm\", {\n get: function () {\n return this.componentVM;\n },\n enumerable: false,\n configurable: true\n });\n VueWrapper.prototype.props = function (selector) {\n var props = this.componentVM.$props;\n return selector ? props[selector] : props;\n };\n VueWrapper.prototype.emitted = function (eventName) {\n return emitted(this.vm, eventName);\n };\n VueWrapper.prototype.isVisible = function () {\n var domWrapper = createDOMWrapper(this.element);\n return domWrapper.isVisible();\n };\n VueWrapper.prototype.setData = function (data) {\n mergeDeep(this.componentVM.$data, data);\n return nextTick();\n };\n VueWrapper.prototype.setProps = function (props) {\n // if this VM's parent is not the root or if setProps does not exist, error out\n if (this.vm.$parent !== this.rootVM || !this.__setProps) {\n throw Error('You can only use setProps on your mounted component');\n }\n this.__setProps(props);\n return nextTick();\n };\n VueWrapper.prototype.setValue = function (value, prop) {\n var propEvent = prop || 'modelValue';\n this.vm.$emit(\"update:\".concat(propEvent), value);\n return this.vm.$nextTick();\n };\n VueWrapper.prototype.unmount = function () {\n // preventing dispose of child component\n if (!this.__app) {\n throw new Error(\"wrapper.unmount() can only be called by the root wrapper\");\n }\n // Clear emitted events cache for this component instance\n removeEventHistory(this.vm);\n this.cleanUpCallbacks.forEach(function (cb) { return cb(); });\n this.cleanUpCallbacks = [];\n this.__app.unmount();\n };\n return VueWrapper;\n}(BaseWrapper));\nregisterFactory(WrapperType.VueWrapper, function (app, vm, setProps) { return new VueWrapper(app, vm, setProps); });\n\nvar isEnabled = false;\nvar wrapperInstances = [];\nfunction disableAutoUnmount() {\n isEnabled = false;\n wrapperInstances.length = 0;\n}\nfunction enableAutoUnmount(hook) {\n if (isEnabled) {\n throw new Error('enableAutoUnmount cannot be called more than once');\n }\n isEnabled = true;\n hook(function () {\n wrapperInstances.forEach(function (wrapper) {\n wrapper.unmount();\n });\n wrapperInstances.length = 0;\n });\n}\nfunction trackInstance(wrapper) {\n if (!isEnabled)\n return;\n wrapperInstances.push(wrapper);\n}\n\nfunction processSlot(source, Vue$1) {\n if (source === void 0) { source = ''; }\n if (Vue$1 === void 0) { Vue$1 = Vue; }\n var template = source.trim();\n var hasWrappingTemplate = template && template.startsWith('<template');\n // allow content without `template` tag, for easier testing\n if (!hasWrappingTemplate) {\n template = \"<template #default=\\\"params\\\">\".concat(template, \"</template>\");\n }\n // Vue does not provide an easy way to compile template in \"slot\" mode\n // Since we do not want to rely on compiler internals and specify\n // transforms manually we create fake component invocation with the slot we\n // need and pick slots param from render function later. Fake component will\n // never be instantiated but it requires to be a component so compile\n // properly generate invocation. Since we do not want to monkey-patch\n // `resolveComponent` function we are just using one of built-in components:\n // transition\n var code = compile(\"<transition>\".concat(template, \"</transition>\"), {\n mode: 'function',\n prefixIdentifiers: false\n }).code;\n var createRenderFunction = new Function('Vue', code);\n var renderFn = createRenderFunction(Vue$1);\n return function (ctx) {\n if (ctx === void 0) { ctx = {}; }\n var result = renderFn(ctx);\n var slotName = Object.keys(result.children)[0];\n return result.children[slotName](ctx);\n };\n}\n\nvar isTeleport = function (type) { return type.__isTeleport; };\nvar isKeepAlive = function (type) { return type.__isKeepAlive; };\nvar createVNodeTransformer = function (_a) {\n var transformers = _a.transformers;\n var transformationCache = new WeakMap();\n return function (args, instance) {\n var originalType = args[0], props = args[1], children = args[2], restVNodeArgs = args.slice(3);\n if (!isComponent(originalType)) {\n return __spreadArray([originalType, props, children], restVNodeArgs, true);\n }\n var cachedTransformation = transformationCache.get(originalType);\n if (cachedTransformation) {\n // https://github.com/vuejs/test-utils/issues/1829 & https://github.com/vuejs/test-utils/issues/1888\n // Teleport/KeepAlive should return child nodes as a function\n if (isTeleport(originalType) || isKeepAlive(originalType)) {\n return __spreadArray([cachedTransformation, props, function () { return children; }], restVNodeArgs, true);\n }\n return __spreadArray([cachedTransformation, props, children], restVNodeArgs, true);\n }\n var componentType = originalType;\n var transformedType = transformers.reduce(function (type, transformer) { return transformer(type, instance); }, componentType);\n if (originalType !== transformedType) {\n transformationCache.set(originalType, transformedType);\n registerStub({ source: originalType, stub: transformedType });\n // https://github.com/vuejs/test-utils/issues/1829 & https://github.com/vuejs/test-utils/issues/1888\n // Teleport/KeepAlive should return child nodes as a function\n if (isTeleport(originalType) || isKeepAlive(originalType)) {\n return __spreadArray([transformedType, props, function () { return children; }], restVNodeArgs, true);\n }\n }\n return __spreadArray([transformedType, props, children], restVNodeArgs, true);\n };\n};\n\nvar normalizeStubProps = function (props) {\n // props are always normalized to object syntax\n var $props = props;\n return Object.keys($props).reduce(function (acc, key) {\n var _a, _b, _c;\n var _d;\n if (typeof $props[key] === 'symbol') {\n return __assign(__assign({}, acc), (_a = {}, _a[key] = (_d = $props[key]) === null || _d === void 0 ? void 0 : _d.toString(), _a));\n }\n if (typeof $props[key] === 'function') {\n return __assign(__assign({}, acc), (_b = {}, _b[key] = '[Function]', _b));\n }\n return __assign(__assign({}, acc), (_c = {}, _c[key] = $props[key], _c));\n }, {});\n};\nvar createStub = function (_a) {\n var name = _a.name, type = _a.type, renderStubDefaultSlot = _a.renderStubDefaultSlot;\n var anonName = 'anonymous-stub';\n var tag = name ? \"\".concat(hyphenate(name), \"-stub\") : anonName;\n var componentOptions = type\n ? unwrapLegacyVueExtendComponent(type) || {}\n : {};\n return defineComponent({\n name: name || anonName,\n props: componentOptions.props || {},\n // fix #1550 - respect old-style v-model for shallow mounted components with @vue/compat\n // @ts-expect-error\n model: componentOptions.model,\n setup: function (props, _a) {\n var slots = _a.slots;\n return function () {\n // https://github.com/vuejs/test-utils/issues/1076\n // Passing a symbol as a static prop is not legal, since Vue will try to do\n // something like `el.setAttribute('val', Symbol())` which is not valid and\n // causes an error.\n // Only a problem when shallow mounting. For this reason we iterate of the\n // props that will be passed and stringify any that are symbols.\n // Also having function text as attribute is useless and annoying so\n // we replace it with \"[Function]\"\"\n var stubProps = normalizeStubProps(props);\n return h(tag, stubProps, renderStubDefaultSlot ? slots : undefined);\n };\n }\n });\n};\nvar resolveComponentStubByName = function (componentName, stubs) {\n for (var _i = 0, _a = Object.entries(stubs); _i < _a.length; _i++) {\n var _b = _a[_i], stubKey = _b[0], value = _b[1];\n if (matchName(componentName, stubKey)) {\n return value;\n }\n }\n};\nfunction createStubComponentsTransformer(_a) {\n var rootComponents = _a.rootComponents, _b = _a.stubs, stubs = _b === void 0 ? {} : _b, _c = _a.shallow, shallow = _c === void 0 ? false : _c, _d = _a.renderStubDefaultSlot, renderStubDefaultSlot = _d === void 0 ? false : _d;\n return function componentsTransformer(type, instance) {\n var _a, _b, _c;\n // stub teleport by default via config.global.stubs\n if (isTeleport(type) && 'teleport' in stubs) {\n if (stubs.teleport === false)\n return type;\n return createStub({\n name: 'teleport',\n type: type,\n renderStubDefaultSlot: true\n });\n }\n // stub keep-alive/KeepAlive by default via config.global.stubs\n if (isKeepAlive(type) && ('keep-alive' in stubs || 'KeepAlive' in stubs)) {\n if ('keep-alive' in stubs && stubs['keep-alive'] === false)\n return type;\n if ('KeepAlive' in stubs && stubs['KeepAlive'] === false)\n return type;\n return createStub({\n name: 'keep-alive',\n type: type,\n renderStubDefaultSlot: true\n });\n }\n // stub transition by default via config.global.stubs\n if ((type === Transition || type === BaseTransition) &&\n 'transition' in stubs) {\n if (stubs.transition === false)\n return type;\n return createStub({\n name: 'transition',\n type: type,\n renderStubDefaultSlot: true\n });\n }\n // stub transition-group by default via config.global.stubs\n if (type === TransitionGroup && 'transition-group' in stubs) {\n if (stubs['transition-group'] === false)\n return type;\n return createStub({\n name: 'transition-group',\n type: type,\n renderStubDefaultSlot: true\n });\n }\n if (\n // Don't stub VTU_ROOT component\n !instance ||\n // Don't stub mounted component on root level\n (rootComponents.component === type && !(instance === null || instance === void 0 ? void 0 : instance.parent)) ||\n // Don't stub component with compat wrapper\n (rootComponents.functional && rootComponents.functional === type)) {\n return type;\n }\n var registeredName = getComponentRegisteredName(instance, type);\n var componentName = getComponentName(instance, type);\n var stub = null;\n var name = null;\n // Prio 1 using the key in locally registered components in the parent\n if (registeredName) {\n stub = resolveComponentStubByName(registeredName, stubs);\n if (stub) {\n name = registeredName;\n }\n }\n // Prio 2 using the name attribute in the component\n if (!stub && componentName) {\n stub = resolveComponentStubByName(componentName, stubs);\n if (stub) {\n name = componentName;\n }\n }\n // case 2: custom implementation\n if (isComponent(stub)) {\n var unwrappedStub = unwrapLegacyVueExtendComponent(stub);\n var stubFn_1 = isFunctionalComponent(unwrappedStub) ? unwrappedStub : null;\n // Edge case: stub is component, we will not render stub but instead will create\n // a new \"copy\" of stub component definition, but we want user still to be able\n // to find our component by stub definition, so we register it manually\n registerStub({ source: type, stub: stub });\n var specializedStubComponent = stubFn_1\n ? function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return stubFn_1.apply(void 0, args);\n }\n : __assign({}, unwrappedStub);\n specializedStubComponent.props = unwrappedStub.props;\n return specializedStubComponent;\n }\n if (stub === false) {\n // we explicitly opt out of stubbing this component\n return type;\n }\n // we return a stub by matching Vue's `h` function\n // where the signature is h(Component, props, slots)\n // case 1: default stub\n if (stub === true || shallow) {\n // Set name when using shallow without stub\n var stubName = name || registeredName || componentName;\n return ((_c = (_b = (_a = config.plugins).createStubs) === null || _b === void 0 ? void 0 : _b.call(_a, {\n name: stubName,\n component: type\n })) !== null && _c !== void 0 ? _c : createStub({\n name: stubName,\n type: type,\n renderStubDefaultSlot: renderStubDefaultSlot\n }));\n }\n return type;\n };\n}\n\nvar noop = function () { };\nfunction createStubDirectivesTransformer(_a) {\n var _b = _a.directives, directives = _b === void 0 ? {} : _b;\n if (Object.keys(directives).length === 0) {\n return function (type) { return type; };\n }\n return function directivesTransformer(type) {\n if (isObjectComponent(type) && type.directives) {\n // We want to change component types as rarely as possible\n // So first we check if there are any directives we should stub\n var directivesToPatch = Object.keys(type.directives).filter(function (key) { return key in directives; });\n if (!directivesToPatch.length) {\n return type;\n }\n var replacementDirectives = Object.fromEntries(directivesToPatch.map(function (name) {\n var directive = directives[name];\n return [name, typeof directive === 'boolean' ? noop : directive];\n }));\n return __assign(__assign({}, type), { directives: __assign(__assign({}, type.directives), replacementDirectives) });\n }\n return type;\n };\n}\n\nvar MOUNT_OPTIONS = [\n 'attachTo',\n 'attrs',\n 'data',\n 'props',\n 'slots',\n 'global',\n 'shallow'\n];\nfunction getInstanceOptions(options) {\n if (options.methods) {\n console.warn(\"Passing a `methods` option to mount was deprecated on Vue Test Utils v1, and it won't have any effect on v2. For additional info: https://vue-test-utils.vuejs.org/upgrading-to-v1/#setmethods-and-mountingoptions-methods\");\n delete options.methods;\n }\n var resultOptions = __assign({}, options);\n for (var _i = 0, _a = Object.keys(options); _i < _a.length; _i++) {\n var key = _a[_i];\n if (MOUNT_OPTIONS.includes(key)) {\n delete resultOptions[key];\n }\n }\n return resultOptions;\n}\n// implementation\nfunction createInstance(inputComponent, options) {\n // normalize the incoming component\n var originalComponent = unwrapLegacyVueExtendComponent(inputComponent);\n var component;\n var instanceOptions = getInstanceOptions(options !== null && options !== void 0 ? options : {});\n var rootComponents = {};\n if (isFunctionalComponent(originalComponent) ||\n isLegacyFunctionalComponent(originalComponent)) {\n component = defineComponent(__assign({ compatConfig: {\n MODE: 3,\n INSTANCE_LISTENERS: false,\n INSTANCE_ATTRS_CLASS_STYLE: false,\n COMPONENT_FUNCTIONAL: isLegacyFunctionalComponent(originalComponent)\n ? 'suppress-warning'\n : false\n }, props: originalComponent.props || {}, setup: function (props, _a) {\n var attrs = _a.attrs, slots = _a.slots;\n return function () {\n return h(originalComponent, __assign(__assign({}, props), attrs), slots);\n };\n } }, instanceOptions));\n rootComponents.functional = originalComponent;\n }\n else if (isObjectComponent(originalComponent)) {\n component = __assign(__assign({}, originalComponent), instanceOptions);\n }\n else {\n component = originalComponent;\n }\n rootComponents.component = component;\n // We've just replaced our component with its copy\n // Let's register it as a stub so user can find it\n registerStub({ source: originalComponent, stub: component });\n var el = document.createElement('div');\n if (options === null || options === void 0 ? void 0 : options.attachTo) {\n var to = void 0;\n if (typeof options.attachTo === 'string') {\n to = document.querySelector(options.attachTo);\n if (!to) {\n throw new Error(\"Unable to find the element matching the selector \".concat(options.attachTo, \" given as the `attachTo` option\"));\n }\n }\n else {\n to = options.attachTo;\n }\n to.appendChild(el);\n }\n function slotToFunction(slot) {\n switch (typeof slot) {\n case 'function':\n return slot;\n case 'object':\n return function () { return h(slot); };\n case 'string':\n return processSlot(slot);\n default:\n throw Error(\"Invalid slot received.\");\n }\n }\n // handle any slots passed via mounting options\n var slots = (options === null || options === void 0 ? void 0 : options.slots) &&\n Object.entries(options.slots).reduce(function (acc, _a) {\n var name = _a[0], slot = _a[1];\n if (Array.isArray(slot)) {\n var normalized_1 = slot.map(slotToFunction);\n acc[name] = function (args) { return normalized_1.map(function (f) { return f(args); }); };\n return acc;\n }\n acc[name] = slotToFunction(slot);\n return acc;\n }, {});\n // override component data with mounting options data\n if (options === null || options === void 0 ? void 0 : options.data) {\n var providedData_1 = options.data();\n if (isObjectComponent(originalComponent)) {\n // component is guaranteed to be the same type as originalComponent\n var objectComponent = component;\n var originalDataFn_1 = originalComponent.data || (function () { return ({}); });\n objectComponent.data = function (vm) { return (__assign(__assign({}, originalDataFn_1.call(vm, vm)), providedData_1)); };\n }\n else {\n throw new Error('data() option is not supported on functional and class components');\n }\n }\n var MOUNT_COMPONENT_REF = 'VTU_COMPONENT';\n // we define props as reactive so that way when we update them with `setProps`\n // Vue's reactivity system will cause a rerender.\n var refs = shallowReactive({});\n var props = reactive({});\n Object.entries(__assign(__assign(__assign(__assign({}, options === null || options === void 0 ? void 0 : options.attrs), options === null || options === void 0 ? void 0 : options.propsData), options === null || options === void 0 ? void 0 : options.props), { ref: MOUNT_COMPONENT_REF })).forEach(function (_a) {\n var k = _a[0], v = _a[1];\n if (isRef(v)) {\n refs[k] = v;\n }\n else {\n props[k] = v;\n }\n });\n var global = mergeGlobalProperties(options === null || options === void 0 ? void 0 : options.global);\n if (isObjectComponent(component)) {\n component.components = __assign(__assign({}, component.components), global.components);\n }\n var componentRef = ref(null);\n // create the wrapper component\n var Parent = defineComponent({\n name: 'VTU_ROOT',\n setup: function () {\n var _a;\n return _a = {},\n _a[MOUNT_COMPONENT_REF] = componentRef,\n _a;\n },\n render: function () {\n return h(component, __assign(__assign({}, props), refs), slots);\n }\n });\n // create the app\n var app = createApp(Parent);\n // add tracking for emitted events\n // this must be done after `createApp`: https://github.com/vuejs/test-utils/issues/436\n attachEmitListener();\n // global mocks mixin\n if (global === null || global === void 0 ? void 0 : global.mocks) {\n var mixin = defineComponent({\n beforeCreate: function () {\n // we need to differentiate components that are or not not `script setup`\n // otherwise we run into a proxy set error\n // due to https://github.com/vuejs/core/commit/f73925d76a76ee259749b8b48cb68895f539a00f#diff-ea4d1ddabb7e22e17e80ada458eef70679af4005df2a1a6b73418fec897603ceR404\n // introduced in Vue v3.2.45\n // Also ensures not to include option API components in this block\n // since they can also have setup state but need to be patched using\n // the regular method.\n if (isScriptSetup(this)) {\n // add the mocks to setupState\n for (var _i = 0, _a = Object.entries(global.mocks); _i < _a.length; _i++) {\n var _b = _a[_i], k = _b[0], v = _b[1];\n // we do this in a try/catch, as some properties might be read-only\n try {\n this.$.setupState[k] = v;\n // eslint-disable-next-line no-empty\n }\n catch (e) { }\n }\n this.$.proxy = new Proxy(this.$.proxy, {\n get: function (target, key) {\n if (key in global.mocks) {\n return global.mocks[key];\n }\n return target[key];\n }\n });\n }\n else {\n for (var _c = 0, _d = Object.entries(global.mocks); _c < _d.length; _c++) {\n var _e = _d[_c], k = _e[0], v = _e[1];\n this[k] = v;\n }\n }\n }\n });\n app.mixin(mixin);\n }\n // AppConfig\n if (global.config) {\n for (var _i = 0, _a = Object.entries(global.config); _i < _a.length; _i++) {\n var _b = _a[_i], k = _b[0], v = _b[1];\n app.config[k] = isObject(app.config[k])\n ? Object.assign(app.config[k], v)\n : v;\n }\n }\n // use and plugins from mounting options\n if (global.plugins) {\n for (var _c = 0, _d = global.plugins; _c < _d.length; _c++) {\n var plugin = _d[_c];\n if (Array.isArray(plugin)) {\n app.use.apply(app, __spreadArray([plugin[0]], plugin.slice(1), false));\n continue;\n }\n app.use(plugin);\n }\n }\n // use any mixins from mounting options\n if (global.mixins) {\n for (var _e = 0, _f = global.mixins; _e < _f.length; _e++) {\n var mixin = _f[_e];\n app.mixin(mixin);\n }\n }\n if (global.components) {\n for (var _g = 0, _h = Object.keys(global.components); _g < _h.length; _g++) {\n var key = _h[_g];\n // avoid registering components that are stubbed twice\n if (!(key in global.stubs)) {\n app.component(key, global.components[key]);\n }\n }\n }\n if (global.directives) {\n for (var _j = 0, _k = Object.keys(global.directives); _j < _k.length; _j++) {\n var key = _k[_j];\n app.directive(key, global.directives[key]);\n }\n }\n // provide any values passed via provides mounting option\n if (global.provide) {\n for (var _l = 0, _m = Reflect.ownKeys(global.provide); _l < _m.length; _l++) {\n var key = _m[_l];\n // @ts-ignore: https://github.com/microsoft/TypeScript/issues/1863\n app.provide(key, global.provide[key]);\n }\n }\n // stubs\n // even if we are using `mount`, we will still\n // stub out Transition and Transition Group by default.\n transformVNodeArgs(createVNodeTransformer({\n transformers: [\n createStubComponentsTransformer({\n rootComponents: rootComponents,\n stubs: getComponentsFromStubs(global.stubs),\n shallow: options === null || options === void 0 ? void 0 : options.shallow,\n renderStubDefaultSlot: global.renderStubDefaultSlot\n }),\n createStubDirectivesTransformer({\n directives: getDirectivesFromStubs(global.stubs)\n })\n ]\n }));\n // users expect stubs to work with globally registered\n // components so we register stubs as global components to avoid\n // warning about not being able to resolve component\n //\n // component implementation provided here will never be called\n // but we need name to make sure that stubComponents will\n // properly stub this later by matching stub name\n //\n // ref: https://github.com/vuejs/test-utils/issues/249\n // ref: https://github.com/vuejs/test-utils/issues/425\n if (global === null || global === void 0 ? void 0 : global.stubs) {\n for (var _o = 0, _p = Object.keys(getComponentsFromStubs(global.stubs)); _o < _p.length; _o++) {\n var name_1 = _p[_o];\n if (!app.component(name_1)) {\n app.component(name_1, { name: name_1 });\n }\n }\n }\n return {\n app: app,\n el: el,\n props: props,\n componentRef: componentRef\n };\n}\n\n// implementation\nfunction mount$1(inputComponent, options) {\n var _a = createInstance(inputComponent, options), app = _a.app, props = _a.props, el = _a.el, componentRef = _a.componentRef;\n var setProps = function (newProps) {\n for (var _i = 0, _a = Object.entries(newProps); _i < _a.length; _i++) {\n var _b = _a[_i], k = _b[0], v = _b[1];\n props[k] = v;\n }\n return vm.$nextTick();\n };\n // Workaround for https://github.com/vuejs/core/issues/7020\n var originalErrorHandler = app.config.errorHandler;\n var errorOnMount = null;\n app.config.errorHandler = function (err, instance, info) {\n errorOnMount = err;\n return originalErrorHandler === null || originalErrorHandler === void 0 ? void 0 : originalErrorHandler(err, instance, info);\n };\n // mount the app!\n var vm = app.mount(el);\n if (errorOnMount) {\n throw errorOnMount;\n }\n app.config.errorHandler = originalErrorHandler;\n var appRef = componentRef.value;\n // we add `hasOwnProperty` so Jest can spy on the proxied vm without throwing\n // note that this is not necessary with Jest v27+ or Vitest, but is kept for compatibility with older Jest versions\n if (!app.hasOwnProperty) {\n appRef.hasOwnProperty = function (property) {\n return Reflect.has(appRef, property);\n };\n }\n var wrapper = createVueWrapper(app, appRef, setProps);\n trackInstance(wrapper);\n return wrapper;\n}\nvar shallowMount$1 = function (component, options) {\n return mount$1(component, __assign(__assign({}, options), { shallow: true }));\n};\n\nfunction renderToString(component, options) {\n var app = createInstance(component, options).app;\n return renderToString$1(app);\n}\n\n// match return type of router.resolve: RouteLocation & { href: string }\nvar defaultRoute = {\n path: '/',\n name: undefined,\n redirectedFrom: undefined,\n params: {},\n query: {},\n hash: '',\n fullPath: '/',\n matched: [],\n meta: {},\n href: '/'\n};\n// TODO: Borrow typings from vue-router-next\nvar RouterLinkStub = defineComponent({\n name: 'RouterLinkStub',\n compatConfig: { MODE: 3 },\n props: {\n to: {\n type: [String, Object],\n required: true\n },\n custom: {\n type: Boolean,\n default: false\n }\n },\n render: function () {\n var _this = this;\n var _a, _b;\n var route = computed(function () { return defaultRoute; });\n // mock reasonable return values to mimic vue-router's useLink\n var children = (_b = (_a = this.$slots) === null || _a === void 0 ? void 0 : _a.default) === null || _b === void 0 ? void 0 : _b.call(_a, {\n route: route,\n href: computed(function () { return route.value.href; }),\n isActive: computed(function () { return false; }),\n isExactActive: computed(function () { return false; }),\n navigate: function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {\n return [2 /*return*/];\n }); }); }\n });\n return this.custom ? children : h('a', undefined, children);\n }\n});\n\nvar scheduler = typeof setImmediate === 'function' ? setImmediate : setTimeout;\n// Credit to: https://github.com/kentor/flush-promises\nfunction flushPromises() {\n return new Promise(function (resolve) {\n scheduler(resolve, 0);\n });\n}\n\nvar _VueTestUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n BaseWrapper: BaseWrapper,\n DOMWrapper: DOMWrapper,\n RouterLinkStub: RouterLinkStub,\n VueWrapper: VueWrapper,\n config: config,\n createWrapperError: createWrapperError,\n disableAutoUnmount: disableAutoUnmount,\n enableAutoUnmount: enableAutoUnmount,\n flushPromises: flushPromises,\n mount: mount$1,\n renderToString: renderToString,\n shallowMount: shallowMount$1\n});\n\nconst { \n// We do not expose the `mount` from VueTestUtils, instead, we wrap it and expose a\n// Cypress-compatible `mount` API.\nmount: VTUmount, \n// We do not expose shallowMount. It doesn't make much sense in the context of Cypress.\n// It might be useful for people who like to migrate some Test Utils tests to Cypress,\n// so if we decide it is useful to expose, just remove the next line, and it will be\n// available on the `VueTestUtils` import.\nshallowMount } = _VueTestUtils, VueTestUtils = __rest(_VueTestUtils, [\"mount\", \"shallowMount\"]);\nconst DEFAULT_COMP_NAME = 'unknown';\nconst VUE_ROOT = '__cy_vue_root';\nconst cleanup = () => {\n var _a;\n (_a = Cypress.vueWrapper) === null || _a === void 0 ? void 0 : _a.unmount();\n Cypress.$(`#${VUE_ROOT}`).remove();\n Cypress.vueWrapper = null;\n Cypress.vue = null;\n};\n/**\n * Mounts a component and returns an object containing the component and VueWrapper\n * @param componentOptions\n * @param options\n * @returns {Cypress.Chainable<{wrapper: VueWrapper<T>, component: T}>}\n * @see {@link https://on.cypress.io/mounting-vue} for more details.\n * @example\n * import { mount } from '@cypress/vue'\n * import { Stepper } from './Stepper.vue'\n *\n * it('mounts', () => {\n * cy.mount(Stepper)\n * cy.get('[data-cy=increment]').click()\n * cy.get('[data-cy=counter]').should('have.text', '1')\n * })\n */\nfunction mount(componentOptions, options = {}) {\n checkForRemovedStyleOptions(options);\n // Remove last mounted component if cy.mount is called more than once in a test\n cleanup();\n // then wait for cypress to load\n return cy.then(() => {\n var _a, _b;\n // @ts-ignore\n const document = cy.state('document');\n const el = getContainerEl();\n // merge the extensions with global\n if (options.extensions) {\n options.extensions.plugins = (_a = []) === null || _a === void 0 ? void 0 : _a.concat(options.extensions.plugins || [], options.extensions.use || []);\n options.extensions.mixins = (_b = []) === null || _b === void 0 ? void 0 : _b.concat(options.extensions.mixins || [], options.extensions.mixin || []);\n options.global = Object.assign(Object.assign({}, options.extensions), options.global);\n }\n const componentNode = document.createElement('div');\n componentNode.id = VUE_ROOT;\n el.append(componentNode);\n // mount the component using VTU and return the wrapper in Cypress.VueWrapper\n const wrapper = VTUmount(componentOptions, Object.assign({ attachTo: componentNode }, options));\n Cypress.vueWrapper = wrapper;\n Cypress.vue = wrapper.vm;\n return cy\n .wait(1, { log: false })\n .then(() => {\n if (options.log !== false) {\n // TODO: get the real displayName and props from VTU shallowMount\n const message = `<${getComponentDisplayName(componentOptions)} ... />`;\n Cypress.log({\n name: 'mount',\n message: [message],\n });\n }\n const returnVal = {\n wrapper,\n component: wrapper.vm,\n };\n return new Proxy(Object.create(returnVal), {\n get(obj, prop) {\n // throw an error if it looks like the caller is trying to call a method on the VueWrapper that was originally returned\n if (Reflect.get(wrapper, prop)) {\n // @ts-expect-error - internal API\n Cypress.utils.throwErrByPath('mount.vue_yielded_value');\n }\n return Reflect.get(obj, prop);\n },\n });\n });\n });\n}\n/**\n * Extract the component name from the object passed to mount\n * @param componentOptions the component passed to mount\n * @returns name of the component\n */\nfunction getComponentDisplayName(componentOptions) {\n var _a;\n if (componentOptions.name) {\n return componentOptions.name;\n }\n if (componentOptions.__file) {\n const filepathSplit = componentOptions.__file.split('/');\n const fileName = (_a = filepathSplit[filepathSplit.length - 1]) !== null && _a !== void 0 ? _a : DEFAULT_COMP_NAME;\n // remove the extension .js, .ts or .vue from the filename to get the name of the component\n const baseFileName = fileName.replace(/\\.(js|ts|vue)?$/, '');\n // if the filename is index, then we can use the direct parent foldername, else use the name itself\n return (baseFileName === 'index' ? filepathSplit[filepathSplit.length - 2] : baseFileName);\n }\n return DEFAULT_COMP_NAME;\n}\n/**\n * Helper function for mounting a component quickly in test hooks.\n * @example\n * import {mountCallback} from '@cypress/vue'\n * beforeEach(mountVue(component, options))\n *\n * Removed as of Cypress 11.0.0.\n * @see https://on.cypress.io/migration-11-0-0-component-testing-updates\n */\nfunction mountCallback(component, options = {}) {\n return () => {\n // @ts-expect-error - undocumented API\n Cypress.utils.throwErrByPath('mount.mount_callback');\n };\n}\n// Side effects from \"import { mount } from '@cypress/<my-framework>'\" are annoying, we should avoid doing this\n// by creating an explicit function/import that the user can register in their 'component.js' support file,\n// such as:\n// import 'cypress/<my-framework>/support'\n// or\n// import { registerCT } from 'cypress/<my-framework>'\n// registerCT()\n// Note: This would be a breaking change\nsetupHooks(cleanup);\n\nexport { VueTestUtils, mount, mountCallback };\n"], "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAM,WAAW,OAAO,OAA4C,aAAa,EAAE;AACnF,IAAM,WAAW,OAAO,OAA4C,aAAa,EAAE;AACnF,IAAM,WAAW,OAAO,OAA4C,aAAa,EAAE;AACnF,IAAM,aAAa,OAAO,OAA4C,cAAc,EAAE;AACtF,IAAM,kBAAkB,OAAO,OAA4C,mBAAmB,EAAE;AAChG,IAAM,aAAa,OAAO,OAA4C,cAAc,EAAE;AACtF,IAAM,eAAe,OAAO,OAA4C,gBAAgB,EAAE;AAC1F,IAAM,uBAAuB,OAAO,OAA4C,uBAAuB,EAAE;AACzG,IAAM,eAAe,OAAO,OAA4C,gBAAgB,EAAE;AAC1F,IAAM,uBAAuB,OAAO,OAA4C,uBAAuB,EAAE;AACzG,IAAM,iBAAiB,OAAO,OAA4C,uBAAuB,EAAE;AACnG,IAAM,cAAc,OAAO,OAA4C,oBAAoB,EAAE;AAC7F,IAAM,gBAAgB,OAAO,OAA4C,sBAAsB,EAAE;AACjG,IAAM,oBAAoB,OAAO,OAA4C,qBAAqB,EAAE;AACpG,IAAM,4BAA4B;AAAA,EAChC,OAA4C,4BAA4B;AAC1E;AACA,IAAM,oBAAoB,OAAO,OAA4C,qBAAqB,EAAE;AACpG,IAAM,iBAA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AAO,MAAM,GAAG;AACvD,UAAM,YAAY,KAAK,cAAc,cAAc,SAAS,CAAC,OAAO,QAAQ,OAAO,SAAS,KAAK;AAEjG,UAAM,eAAe,SAAS,QAAQ,mBAAmB,EAAE;AAE3D,WAAQ,iBAAiB,UAAU,cAAc,cAAc,SAAS,CAAC,IAAI;AAAA,EACjF;AACA,SAAO;AACX;AAUA,SAAS,cAAc,WAAWA,WAAU,CAAC,GAAG;AAC5C,SAAO,MAAM;AAET,YAAQ,MAAM,eAAe,sBAAsB;AAAA,EACvD;AACJ;AASA,WAAW,OAAO;", "names": ["directives", "isComponent", "isVNode", "isComponent", "stack", "options", "isComponent", "isVNode", "matches", "directives", "isComponent", "directives", "options", "transformModel", "transformOn", "src", "options", "makeMap", "EMPTY_OBJ", "NOOP", "isOn", "isArray", "isString", "isObject", "isReservedProp", "makeMap", "isBuiltInDirective", "camelize", "capitalize", "toHandlerKey", "makeMap", "isArray", "isString", "parseStringStyle", "isObject", "isHTMLTag", "makeMap", "isSVGTag", "isMathMLTag", "isVoidTag", "html", "src", "makeMap", "isOn", "isSVGTag", "isString", "isString", "isArray", "NOOP", "isVoidTag", "d", "b", "__assign", "Pluggable", "options", "stubs", "isObject", "isComponent", "cacheStringFunction", "camelizeRE", "camelize", "capitalize", "hyphenateRE", "hyphenate", "isCompatEnabled", "WrapperType", "pattern", "token", "matches", "Tokenizer", "directives", "acorn", "output", "tokenizer", "beautifier", "js", "css", "beautify", "src", "config", "BaseWrapper", "DOMWrapper", "vnode", "vm", "VueWrapper", "eventName", "_i", "_a", "_b", "_c", "props", "slots", "k", "v", "global", "key", "_d", "_e", "renderToString", "document"] }