import { EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, extend, isArray, isBuiltInDirective, isHTMLTag, isMathMLTag, isObject, isOn, isReservedProp, isSVGTag, isString, isSymbol, isVoidTag, makeMap, parseStringStyle, slotFlagsText, toHandlerKey } from "./chunk-AG4OQLLY.js"; import { BaseTransition, Comment, Fragment, Static, Text, Transition, TransitionGroup, compatUtils, computed, createApp, createVNode, defineComponent, h, initDirectivesForSSR, isRef, mergeProps, nextTick, reactive, ref, setDevtoolsHook, shallowReactive, ssrContextKey, ssrUtils, transformVNodeArgs, vue_runtime_esm_bundler_exports, warn } from "./chunk-6UGCK2MK.js"; import "./chunk-DC5AMYBS.js"; // node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js var FRAGMENT = Symbol(true ? `Fragment` : ``); var TELEPORT = Symbol(true ? `Teleport` : ``); var SUSPENSE = Symbol(true ? `Suspense` : ``); var KEEP_ALIVE = Symbol(true ? `KeepAlive` : ``); var BASE_TRANSITION = Symbol(true ? `BaseTransition` : ``); var OPEN_BLOCK = Symbol(true ? `openBlock` : ``); var CREATE_BLOCK = Symbol(true ? `createBlock` : ``); var CREATE_ELEMENT_BLOCK = Symbol(true ? `createElementBlock` : ``); var CREATE_VNODE = Symbol(true ? `createVNode` : ``); var CREATE_ELEMENT_VNODE = Symbol(true ? `createElementVNode` : ``); var CREATE_COMMENT = Symbol(true ? `createCommentVNode` : ``); var CREATE_TEXT = Symbol(true ? `createTextVNode` : ``); var CREATE_STATIC = Symbol(true ? `createStaticVNode` : ``); var RESOLVE_COMPONENT = Symbol(true ? `resolveComponent` : ``); var RESOLVE_DYNAMIC_COMPONENT = Symbol( true ? `resolveDynamicComponent` : `` ); var RESOLVE_DIRECTIVE = Symbol(true ? `resolveDirective` : ``); var RESOLVE_FILTER = Symbol(true ? `resolveFilter` : ``); var WITH_DIRECTIVES = Symbol(true ? `withDirectives` : ``); var RENDER_LIST = Symbol(true ? `renderList` : ``); var RENDER_SLOT = Symbol(true ? `renderSlot` : ``); var CREATE_SLOTS = Symbol(true ? `createSlots` : ``); var TO_DISPLAY_STRING = Symbol(true ? `toDisplayString` : ``); var MERGE_PROPS = Symbol(true ? `mergeProps` : ``); var NORMALIZE_CLASS = Symbol(true ? `normalizeClass` : ``); var NORMALIZE_STYLE = Symbol(true ? `normalizeStyle` : ``); var NORMALIZE_PROPS = Symbol(true ? `normalizeProps` : ``); var GUARD_REACTIVE_PROPS = Symbol(true ? `guardReactiveProps` : ``); var TO_HANDLERS = Symbol(true ? `toHandlers` : ``); var CAMELIZE = Symbol(true ? `camelize` : ``); var CAPITALIZE = Symbol(true ? `capitalize` : ``); var TO_HANDLER_KEY = Symbol(true ? `toHandlerKey` : ``); var SET_BLOCK_TRACKING = Symbol(true ? `setBlockTracking` : ``); var PUSH_SCOPE_ID = Symbol(true ? `pushScopeId` : ``); var POP_SCOPE_ID = Symbol(true ? `popScopeId` : ``); var WITH_CTX = Symbol(true ? `withCtx` : ``); var UNREF = Symbol(true ? `unref` : ``); var IS_REF = Symbol(true ? `isRef` : ``); var WITH_MEMO = Symbol(true ? `withMemo` : ``); var IS_MEMO_SAME = Symbol(true ? `isMemoSame` : ``); var helperNameMap = { [FRAGMENT]: `Fragment`, [TELEPORT]: `Teleport`, [SUSPENSE]: `Suspense`, [KEEP_ALIVE]: `KeepAlive`, [BASE_TRANSITION]: `BaseTransition`, [OPEN_BLOCK]: `openBlock`, [CREATE_BLOCK]: `createBlock`, [CREATE_ELEMENT_BLOCK]: `createElementBlock`, [CREATE_VNODE]: `createVNode`, [CREATE_ELEMENT_VNODE]: `createElementVNode`, [CREATE_COMMENT]: `createCommentVNode`, [CREATE_TEXT]: `createTextVNode`, [CREATE_STATIC]: `createStaticVNode`, [RESOLVE_COMPONENT]: `resolveComponent`, [RESOLVE_DYNAMIC_COMPONENT]: `resolveDynamicComponent`, [RESOLVE_DIRECTIVE]: `resolveDirective`, [RESOLVE_FILTER]: `resolveFilter`, [WITH_DIRECTIVES]: `withDirectives`, [RENDER_LIST]: `renderList`, [RENDER_SLOT]: `renderSlot`, [CREATE_SLOTS]: `createSlots`, [TO_DISPLAY_STRING]: `toDisplayString`, [MERGE_PROPS]: `mergeProps`, [NORMALIZE_CLASS]: `normalizeClass`, [NORMALIZE_STYLE]: `normalizeStyle`, [NORMALIZE_PROPS]: `normalizeProps`, [GUARD_REACTIVE_PROPS]: `guardReactiveProps`, [TO_HANDLERS]: `toHandlers`, [CAMELIZE]: `camelize`, [CAPITALIZE]: `capitalize`, [TO_HANDLER_KEY]: `toHandlerKey`, [SET_BLOCK_TRACKING]: `setBlockTracking`, [PUSH_SCOPE_ID]: `pushScopeId`, [POP_SCOPE_ID]: `popScopeId`, [WITH_CTX]: `withCtx`, [UNREF]: `unref`, [IS_REF]: `isRef`, [WITH_MEMO]: `withMemo`, [IS_MEMO_SAME]: `isMemoSame` }; function registerRuntimeHelpers(helpers) { Object.getOwnPropertySymbols(helpers).forEach((s) => { helperNameMap[s] = helpers[s]; }); } var locStub = { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 1, offset: 0 }, source: "" }; function createRoot(children, source = "") { return { type: 0, source, children, helpers: /* @__PURE__ */ new Set(), components: [], directives: [], hoists: [], imports: [], cached: 0, temps: 0, codegenNode: void 0, loc: locStub }; } function createVNodeCall(context, tag, props, children, patchFlag, dynamicProps, directives2, isBlock = false, disableTracking = false, isComponent3 = false, loc = locStub) { if (context) { if (isBlock) { context.helper(OPEN_BLOCK); context.helper(getVNodeBlockHelper(context.inSSR, isComponent3)); } else { context.helper(getVNodeHelper(context.inSSR, isComponent3)); } if (directives2) { context.helper(WITH_DIRECTIVES); } } return { type: 13, tag, props, children, patchFlag, dynamicProps, directives: directives2, isBlock, disableTracking, isComponent: isComponent3, loc }; } function createArrayExpression(elements, loc = locStub) { return { type: 17, loc, elements }; } function createObjectExpression(properties, loc = locStub) { return { type: 15, loc, properties }; } function createObjectProperty(key, value) { return { type: 16, loc: locStub, key: isString(key) ? createSimpleExpression(key, true) : key, value }; } function createSimpleExpression(content, isStatic = false, loc = locStub, constType = 0) { return { type: 4, loc, content, isStatic, constType: isStatic ? 3 : constType }; } function createCompoundExpression(children, loc = locStub) { return { type: 8, loc, children }; } function createCallExpression(callee, args = [], loc = locStub) { return { type: 14, loc, callee, arguments: args }; } function createFunctionExpression(params, returns = void 0, newline = false, isSlot = false, loc = locStub) { return { type: 18, params, returns, newline, isSlot, loc }; } function createConditionalExpression(test, consequent, alternate, newline = true) { return { type: 19, test, consequent, alternate, newline, loc: locStub }; } function createCacheExpression(index, value, isVNode2 = false) { return { type: 20, index, value, isVNode: isVNode2, loc: locStub }; } function createBlockStatement(body) { return { type: 21, body, loc: locStub }; } function getVNodeHelper(ssr, isComponent3) { return ssr || isComponent3 ? CREATE_VNODE : CREATE_ELEMENT_VNODE; } function getVNodeBlockHelper(ssr, isComponent3) { return ssr || isComponent3 ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK; } function convertToBlock(node, { helper, removeHelper, inSSR }) { if (!node.isBlock) { node.isBlock = true; removeHelper(getVNodeHelper(inSSR, node.isComponent)); helper(OPEN_BLOCK); helper(getVNodeBlockHelper(inSSR, node.isComponent)); } } var defaultDelimitersOpen = new Uint8Array([123, 123]); var defaultDelimitersClose = new Uint8Array([125, 125]); function isTagStartChar(c) { return c >= 97 && c <= 122 || c >= 65 && c <= 90; } function isWhitespace(c) { return c === 32 || c === 10 || c === 9 || c === 12 || c === 13; } function isEndOfTagSection(c) { return c === 47 || c === 62 || isWhitespace(c); } function toCharCodes(str) { const ret = new Uint8Array(str.length); for (let i = 0; i < str.length; i++) { ret[i] = str.charCodeAt(i); } return ret; } var Sequences = { Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]), // CDATA[ CdataEnd: new Uint8Array([93, 93, 62]), // ]]> CommentEnd: new Uint8Array([45, 45, 62]), // `-->` ScriptEnd: new Uint8Array([60, 47, 115, 99, 114, 105, 112, 116]), // `<\/script` StyleEnd: new Uint8Array([60, 47, 115, 116, 121, 108, 101]), // `= 0; i--) { const newlineIndex = this.newlines[i]; if (index > newlineIndex) { line = i + 2; column = index - newlineIndex; break; } } return { column, line, offset: index }; } peek() { return this.buffer.charCodeAt(this.index + 1); } stateText(c) { if (c === 60) { if (this.index > this.sectionStart) { this.cbs.ontext(this.sectionStart, this.index); } this.state = 5; this.sectionStart = this.index; } else if (!this.inVPre && c === this.delimiterOpen[0]) { this.state = 2; this.delimiterIndex = 0; this.stateInterpolationOpen(c); } } stateInterpolationOpen(c) { if (c === this.delimiterOpen[this.delimiterIndex]) { if (this.delimiterIndex === this.delimiterOpen.length - 1) { const start = this.index + 1 - this.delimiterOpen.length; if (start > this.sectionStart) { this.cbs.ontext(this.sectionStart, start); } this.state = 3; this.sectionStart = start; } else { this.delimiterIndex++; } } else if (this.inRCDATA) { this.state = 32; this.stateInRCDATA(c); } else { this.state = 1; this.stateText(c); } } stateInterpolation(c) { if (c === this.delimiterClose[0]) { this.state = 4; this.delimiterIndex = 0; this.stateInterpolationClose(c); } } stateInterpolationClose(c) { if (c === this.delimiterClose[this.delimiterIndex]) { if (this.delimiterIndex === this.delimiterClose.length - 1) { this.cbs.oninterpolation(this.sectionStart, this.index + 1); if (this.inRCDATA) { this.state = 32; } else { this.state = 1; } this.sectionStart = this.index + 1; } else { this.delimiterIndex++; } } else { this.state = 3; this.stateInterpolation(c); } } stateSpecialStartSequence(c) { const isEnd = this.sequenceIndex === this.currentSequence.length; const isMatch = isEnd ? ( // If we are at the end of the sequence, make sure the tag name has ended isEndOfTagSection(c) ) : ( // Otherwise, do a case-insensitive comparison (c | 32) === this.currentSequence[this.sequenceIndex] ); if (!isMatch) { this.inRCDATA = false; } else if (!isEnd) { this.sequenceIndex++; return; } this.sequenceIndex = 0; this.state = 6; this.stateInTagName(c); } /** Look for an end tag. For