{"version":3,"file":"vendor-4f0b053f.js","sources":["../../../node_modules/.pnpm/@vue+shared@3.2.16/node_modules/@vue/shared/dist/shared.esm-bundler.js","../../../node_modules/.pnpm/@vue+reactivity@3.2.16/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","../../../node_modules/.pnpm/@vue+runtime-core@3.2.16/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../../node_modules/.pnpm/@vue+runtime-dom@3.2.16/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../../node_modules/.pnpm/mitt@3.0.0/node_modules/mitt/dist/mitt.mjs","../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js","../../../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js","../../../node_modules/.pnpm/has-proto@1.0.1/node_modules/has-proto/index.js","../../../node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/implementation.js","../../../node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/index.js","../../../node_modules/.pnpm/has@1.0.3/node_modules/has/src/index.js","../../../node_modules/.pnpm/get-intrinsic@1.2.1/node_modules/get-intrinsic/index.js","../../../node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/index.js","../../../node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js","../../../__vite-browser-external","../../../node_modules/.pnpm/object-inspect@1.12.3/node_modules/object-inspect/index.js","../../../node_modules/.pnpm/side-channel@1.0.4/node_modules/side-channel/index.js","../../../node_modules/.pnpm/qs@6.10.1/node_modules/qs/lib/formats.js","../../../node_modules/.pnpm/qs@6.10.1/node_modules/qs/lib/utils.js","../../../node_modules/.pnpm/qs@6.10.1/node_modules/qs/lib/stringify.js","../../../node_modules/.pnpm/qs@6.10.1/node_modules/qs/lib/parse.js","../../../node_modules/.pnpm/qs@6.10.1/node_modules/qs/lib/index.js","../../../node_modules/.pnpm/lodash.debounce@4.0.8/node_modules/lodash.debounce/index.js","../../../node_modules/.pnpm/crypt@0.0.2/node_modules/crypt/crypt.js","../../../node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js","../../../node_modules/.pnpm/is-buffer@1.1.6/node_modules/is-buffer/index.js","../../../node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/bind.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/utils.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/buildURL.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/InterceptorManager.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/normalizeHeaderName.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/enhanceError.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/createError.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/settle.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/cookies.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/isAbsoluteURL.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/combineURLs.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/buildFullPath.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/parseHeaders.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/isURLSameOrigin.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/cancel/Cancel.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/adapters/xhr.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/defaults.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/transformData.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/cancel/isCancel.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/dispatchRequest.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/mergeConfig.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/env/data.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/validator.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/core/Axios.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/cancel/CancelToken.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/spread.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/helpers/isAxiosError.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/lib/axios.js","../../../node_modules/.pnpm/axios@0.24.0/node_modules/axios/index.js","../../../node_modules/.pnpm/@vue+shared@3.2.21/node_modules/@vue/shared/dist/shared.esm-bundler.js","../../../node_modules/.pnpm/@vueuse+shared@10.2.1_vue@3.2.16/node_modules/@vueuse/shared/index.mjs","../../../node_modules/.pnpm/cookie@0.4.2/node_modules/cookie/index.js","../../../node_modules/.pnpm/universal-cookie@4.0.4/node_modules/universal-cookie/es6/utils.js","../../../node_modules/.pnpm/universal-cookie@4.0.4/node_modules/universal-cookie/es6/Cookies.js","../../../node_modules/.pnpm/@vueuse+integrations@10.2.1_axios@0.24.0_universal-cookie@4.0.4_vue@3.2.16/node_modules/@vueuse/integrations/useCookies.mjs","../../../node_modules/.pnpm/ssr-window@4.0.2/node_modules/ssr-window/ssr-window.esm.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/shared/utils.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/shared/get-support.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/shared/get-device.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/shared/get-browser.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/modules/resize/resize.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/modules/observer/observer.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events-emitter.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateSize.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateSlides.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateAutoHeight.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateSlidesOffset.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateSlidesProgress.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateProgress.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateSlidesClasses.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/shared/process-lazy-preloader.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateActiveIndex.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/updateClickedSlide.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/update/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/translate/getTranslate.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/translate/setTranslate.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/translate/minTranslate.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/translate/maxTranslate.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/translate/translateTo.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/translate/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/transition/setTransition.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/transition/transitionEmit.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/transition/transitionStart.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/transition/transitionEnd.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/transition/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/slideTo.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/slideToLoop.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/slideNext.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/slidePrev.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/slideReset.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/slideToClosest.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/slideToClickedSlide.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/slide/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/loop/loopCreate.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/loop/loopFix.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/loop/loopDestroy.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/loop/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/grab-cursor/setGrabCursor.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/grab-cursor/unsetGrabCursor.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/grab-cursor/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/onTouchStart.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/onTouchMove.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/onTouchEnd.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/onResize.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/onClick.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/onScroll.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/onLoad.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/events/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/breakpoints/setBreakpoint.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/breakpoints/getBreakpoint.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/breakpoints/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/classes/addClasses.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/classes/removeClasses.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/classes/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/check-overflow/index.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/defaults.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/moduleExtendParams.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/core/core.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/modules/keyboard/keyboard.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/modules/mousewheel/mousewheel.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/shared/create-element-if-not-defined.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/modules/navigation/navigation.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/components-shared/utils.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/components-shared/params-list.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/components-shared/get-params.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/components-shared/mount-swiper.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/components-shared/get-changed-params.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/vue/get-children.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/components-shared/update-swiper.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/vue/virtual.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/components-shared/update-on-virtual-data.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/vue/swiper.js","../../../node_modules/.pnpm/swiper@9.2.0/node_modules/swiper/vue/swiper-slide.js","../../../node_modules/.pnpm/vue-router@4.0.12_vue@3.2.16/node_modules/vue-router/dist/vue-router.esm-bundler.js","../../../node_modules/.pnpm/global@4.4.0/node_modules/global/window.js","../../../node_modules/.pnpm/global@4.4.0/node_modules/global/document.js","../../../node_modules/.pnpm/keycode@2.2.0/node_modules/keycode/index.js","../../../node_modules/.pnpm/safe-json-parse@4.0.0/node_modules/safe-json-parse/tuple.js","../../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/extends.js","../../../node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js","../../../node_modules/.pnpm/@videojs+xhr@2.6.0/node_modules/@videojs/xhr/lib/http-handler.js","../../../node_modules/.pnpm/@videojs+xhr@2.6.0/node_modules/@videojs/xhr/lib/index.js","../../../node_modules/.pnpm/videojs-vtt.js@0.15.4/node_modules/videojs-vtt.js/lib/vtt.js","../../../node_modules/.pnpm/videojs-vtt.js@0.15.4/node_modules/videojs-vtt.js/lib/vttcue.js","../../../node_modules/.pnpm/videojs-vtt.js@0.15.4/node_modules/videojs-vtt.js/lib/vttregion.js","../../../node_modules/.pnpm/videojs-vtt.js@0.15.4/node_modules/videojs-vtt.js/lib/browser-index.js","../../../node_modules/.pnpm/url-toolkit@2.2.5/node_modules/url-toolkit/src/url-toolkit.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/resolve-url.js","../../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/.pnpm/@videojs+vhs-utils@3.0.5/node_modules/@videojs/vhs-utils/es/stream.js","../../../node_modules/.pnpm/@videojs+vhs-utils@3.0.5/node_modules/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js","../../../node_modules/.pnpm/m3u8-parser@6.2.0/node_modules/m3u8-parser/dist/m3u8-parser.es.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/codecs.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/media-types.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/byte-helpers.js","../../../node_modules/.pnpm/@videojs+vhs-utils@3.0.5/node_modules/@videojs/vhs-utils/es/resolve-url.js","../../../node_modules/.pnpm/@videojs+vhs-utils@3.0.5/node_modules/@videojs/vhs-utils/es/media-groups.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.8/node_modules/@xmldom/xmldom/lib/conventions.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.8/node_modules/@xmldom/xmldom/lib/dom.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.8/node_modules/@xmldom/xmldom/lib/entities.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.8/node_modules/@xmldom/xmldom/lib/sax.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.8/node_modules/@xmldom/xmldom/lib/dom-parser.js","../../../node_modules/.pnpm/@xmldom+xmldom@0.8.8/node_modules/@xmldom/xmldom/lib/index.js","../../../node_modules/.pnpm/mpd-parser@1.1.1/node_modules/mpd-parser/dist/mpd-parser.es.js","../../../node_modules/.pnpm/mux.js@6.3.0/node_modules/mux.js/lib/utils/numbers.js","../../../node_modules/.pnpm/mux.js@6.3.0/node_modules/mux.js/lib/tools/parse-sidx.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/id3-helpers.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/mp4-helpers.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/ebml-helpers.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/nal-helpers.js","../../../node_modules/.pnpm/@videojs+vhs-utils@4.0.0/node_modules/@videojs/vhs-utils/es/containers.js","../../../node_modules/.pnpm/mux.js@6.3.0/node_modules/mux.js/lib/utils/clock.js","../../../node_modules/.pnpm/video.js@8.3.0/node_modules/video.js/dist/video.es.js","../../../node_modules/.pnpm/@videojs-player+vue@1.0.0_@types+video.js@7.3.52_video.js@8.3.0_vue@3.2.16/node_modules/@videojs-player/vue/dist/videojs-player.esm.js","../../../node_modules/.pnpm/@vueuse+shared@6.7.5_vue@3.2.16/node_modules/@vueuse/shared/index.mjs","../../../node_modules/.pnpm/@vueuse+core@6.7.5_vue@3.2.16/node_modules/@vueuse/core/index.mjs"],"sourcesContent":["/**\r\n * Make a map and return a function for checking if a key\r\n * is in that map.\r\n * IMPORTANT: all calls of this function must be prefixed with\r\n * \\/\\*#\\_\\_PURE\\_\\_\\*\\/\r\n * So that rollup can tree-shake them if necessary.\r\n */\r\nfunction makeMap(str, expectsLowerCase) {\r\n const map = Object.create(null);\r\n const list = str.split(',');\r\n for (let i = 0; i < list.length; i++) {\r\n map[list[i]] = true;\r\n }\r\n return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\r\n}\n\n/**\r\n * dev only flag -> name mapping\r\n */\r\nconst PatchFlagNames = {\r\n [1 /* TEXT */]: `TEXT`,\r\n [2 /* CLASS */]: `CLASS`,\r\n [4 /* STYLE */]: `STYLE`,\r\n [8 /* PROPS */]: `PROPS`,\r\n [16 /* FULL_PROPS */]: `FULL_PROPS`,\r\n [32 /* HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,\r\n [64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,\r\n [128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,\r\n [256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,\r\n [512 /* NEED_PATCH */]: `NEED_PATCH`,\r\n [1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,\r\n [2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,\r\n [-1 /* HOISTED */]: `HOISTED`,\r\n [-2 /* BAIL */]: `BAIL`\r\n};\n\n/**\r\n * Dev only\r\n */\r\nconst slotFlagsText = {\r\n [1 /* STABLE */]: 'STABLE',\r\n [2 /* DYNAMIC */]: 'DYNAMIC',\r\n [3 /* FORWARDED */]: 'FORWARDED'\r\n};\n\nconst GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\r\n 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\r\n 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';\r\nconst isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\r\nfunction generateCodeFrame(source, start = 0, end = source.length) {\r\n // Split the content into individual lines but capture the newline sequence\r\n // that separated each line. This is important because the actual sequence is\r\n // needed to properly take into account the full line length for offset\r\n // comparison\r\n let lines = source.split(/(\\r?\\n)/);\r\n // Separate the lines and newline sequences into separate arrays for easier referencing\r\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\r\n lines = lines.filter((_, idx) => idx % 2 === 0);\r\n let count = 0;\r\n const res = [];\r\n for (let i = 0; i < lines.length; i++) {\r\n count +=\r\n lines[i].length +\r\n ((newlineSequences[i] && newlineSequences[i].length) || 0);\r\n if (count >= start) {\r\n for (let j = i - range; j <= i + range || end > count; j++) {\r\n if (j < 0 || j >= lines.length)\r\n continue;\r\n const line = j + 1;\r\n res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);\r\n const lineLength = lines[j].length;\r\n const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;\r\n if (j === i) {\r\n // push underline\r\n const pad = start - (count - (lineLength + newLineSeqLength));\r\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\r\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\r\n }\r\n else if (j > i) {\r\n if (end > count) {\r\n const length = Math.max(Math.min(end - count, lineLength), 1);\r\n res.push(` | ` + '^'.repeat(length));\r\n }\r\n count += lineLength + newLineSeqLength;\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n return res.join('\\n');\r\n}\n\n/**\r\n * On the client we only need to offer special cases for boolean attributes that\r\n * have different names from their corresponding dom properties:\r\n * - itemscope -> N/A\r\n * - allowfullscreen -> allowFullscreen\r\n * - formnovalidate -> formNoValidate\r\n * - ismap -> isMap\r\n * - nomodule -> noModule\r\n * - novalidate -> noValidate\r\n * - readonly -> readOnly\r\n */\r\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\r\nconst isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs);\r\n/**\r\n * The full list is needed during SSR to produce the correct initial markup.\r\n */\r\nconst isBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs +\r\n `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +\r\n `loop,open,required,reversed,scoped,seamless,` +\r\n `checked,muted,multiple,selected`);\r\n/**\r\n * Boolean attributes should be included if the value is truthy or ''.\r\n * e.g. \r\n const forcePatchValue = (type === 'input' && dirs) || type === 'option';\r\n // skip props & children if this is hoisted static nodes\r\n if (forcePatchValue || patchFlag !== -1 /* HOISTED */) {\r\n if (dirs) {\r\n invokeDirectiveHook(vnode, null, parentComponent, 'created');\r\n }\r\n // props\r\n if (props) {\r\n if (forcePatchValue ||\r\n !optimized ||\r\n patchFlag & (16 /* FULL_PROPS */ | 32 /* HYDRATE_EVENTS */)) {\r\n for (const key in props) {\r\n if ((forcePatchValue && key.endsWith('value')) ||\r\n (isOn(key) && !isReservedProp(key))) {\r\n patchProp(el, key, null, props[key], false, undefined, parentComponent);\r\n }\r\n }\r\n }\r\n else if (props.onClick) {\r\n // Fast path for click listeners (which is most often) to avoid\r\n // iterating through props.\r\n patchProp(el, 'onClick', null, props.onClick, false, undefined, parentComponent);\r\n }\r\n }\r\n // vnode / directive hooks\r\n let vnodeHooks;\r\n if ((vnodeHooks = props && props.onVnodeBeforeMount)) {\r\n invokeVNodeHook(vnodeHooks, parentComponent, vnode);\r\n }\r\n if (dirs) {\r\n invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');\r\n }\r\n if ((vnodeHooks = props && props.onVnodeMounted) || dirs) {\r\n queueEffectWithSuspense(() => {\r\n vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);\r\n dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');\r\n }, parentSuspense);\r\n }\r\n // children\r\n if (shapeFlag & 16 /* ARRAY_CHILDREN */ &&\r\n // skip if element has innerHTML / textContent\r\n !(props && (props.innerHTML || props.textContent))) {\r\n let next = hydrateChildren(el.firstChild, vnode, el, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n let hasWarned = false;\r\n while (next) {\r\n hasMismatch = true;\r\n if ((process.env.NODE_ENV !== 'production') && !hasWarned) {\r\n warn(`Hydration children mismatch in <${vnode.type}>: ` +\r\n `server rendered element contains more child nodes than client vdom.`);\r\n hasWarned = true;\r\n }\r\n // The SSRed DOM contains more nodes than it should. Remove them.\r\n const cur = next;\r\n next = next.nextSibling;\r\n remove(cur);\r\n }\r\n }\r\n else if (shapeFlag & 8 /* TEXT_CHILDREN */) {\r\n if (el.textContent !== vnode.children) {\r\n hasMismatch = true;\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`Hydration text content mismatch in <${vnode.type}>:\\n` +\r\n `- Client: ${el.textContent}\\n` +\r\n `- Server: ${vnode.children}`);\r\n el.textContent = vnode.children;\r\n }\r\n }\r\n }\r\n return el.nextSibling;\r\n };\r\n const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {\r\n optimized = optimized || !!parentVNode.dynamicChildren;\r\n const children = parentVNode.children;\r\n const l = children.length;\r\n let hasWarned = false;\r\n for (let i = 0; i < l; i++) {\r\n const vnode = optimized\r\n ? children[i]\r\n : (children[i] = normalizeVNode(children[i]));\r\n if (node) {\r\n node = hydrateNode(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n }\r\n else if (vnode.type === Text && !vnode.children) {\r\n continue;\r\n }\r\n else {\r\n hasMismatch = true;\r\n if ((process.env.NODE_ENV !== 'production') && !hasWarned) {\r\n warn(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: ` +\r\n `server rendered element contains fewer child nodes than client vdom.`);\r\n hasWarned = true;\r\n }\r\n // the SSRed DOM didn't contain enough nodes. Mount the missing ones.\r\n patch(null, vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\r\n }\r\n }\r\n return node;\r\n };\r\n const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\r\n const { slotScopeIds: fragmentSlotScopeIds } = vnode;\r\n if (fragmentSlotScopeIds) {\r\n slotScopeIds = slotScopeIds\r\n ? slotScopeIds.concat(fragmentSlotScopeIds)\r\n : fragmentSlotScopeIds;\r\n }\r\n const container = parentNode(node);\r\n const next = hydrateChildren(nextSibling(node), vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);\r\n if (next && isComment(next) && next.data === ']') {\r\n return nextSibling((vnode.anchor = next));\r\n }\r\n else {\r\n // fragment didn't hydrate successfully, since we didn't get a end anchor\r\n // back. This should have led to node/children mismatch warnings.\r\n hasMismatch = true;\r\n // since the anchor is missing, we need to create one and insert it\r\n insert((vnode.anchor = createComment(`]`)), container, next);\r\n return next;\r\n }\r\n };\r\n const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {\r\n hasMismatch = true;\r\n (process.env.NODE_ENV !== 'production') &&\r\n warn(`Hydration node mismatch:\\n- Client vnode:`, vnode.type, `\\n- Server rendered DOM:`, node, node.nodeType === 3 /* TEXT */\r\n ? `(text)`\r\n : isComment(node) && node.data === '['\r\n ? `(start of fragment)`\r\n : ``);\r\n vnode.el = null;\r\n if (isFragment) {\r\n // remove excessive fragment nodes\r\n const end = locateClosingAsyncAnchor(node);\r\n while (true) {\r\n const next = nextSibling(node);\r\n if (next && next !== end) {\r\n remove(next);\r\n }\r\n else {\r\n break;\r\n }\r\n }\r\n }\r\n const next = nextSibling(node);\r\n const container = parentNode(node);\r\n remove(node);\r\n patch(null, vnode, container, next, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\r\n return next;\r\n };\r\n const locateClosingAsyncAnchor = (node) => {\r\n let match = 0;\r\n while (node) {\r\n node = nextSibling(node);\r\n if (node && isComment(node)) {\r\n if (node.data === '[')\r\n match++;\r\n if (node.data === ']') {\r\n if (match === 0) {\r\n return nextSibling(node);\r\n }\r\n else {\r\n match--;\r\n }\r\n }\r\n }\r\n }\r\n return node;\r\n };\r\n return [hydrate, hydrateNode];\r\n}\n\nlet supported;\r\nlet perf;\r\nfunction startMeasure(instance, type) {\r\n if (instance.appContext.config.performance && isSupported()) {\r\n perf.mark(`vue-${type}-${instance.uid}`);\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsPerfStart(instance, type, supported ? perf.now() : Date.now());\r\n }\r\n}\r\nfunction endMeasure(instance, type) {\r\n if (instance.appContext.config.performance && isSupported()) {\r\n const startTag = `vue-${type}-${instance.uid}`;\r\n const endTag = startTag + `:end`;\r\n perf.mark(endTag);\r\n perf.measure(`<${formatComponentName(instance, instance.type)}> ${type}`, startTag, endTag);\r\n perf.clearMarks(startTag);\r\n perf.clearMarks(endTag);\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsPerfEnd(instance, type, supported ? perf.now() : Date.now());\r\n }\r\n}\r\nfunction isSupported() {\r\n if (supported !== undefined) {\r\n return supported;\r\n }\r\n /* eslint-disable no-restricted-globals */\r\n if (typeof window !== 'undefined' && window.performance) {\r\n supported = true;\r\n perf = window.performance;\r\n }\r\n else {\r\n supported = false;\r\n }\r\n /* eslint-enable no-restricted-globals */\r\n return supported;\r\n}\n\n/**\r\n * This is only called in esm-bundler builds.\r\n * It is called when a renderer is created, in `baseCreateRenderer` so that\r\n * importing runtime-core is side-effects free.\r\n *\r\n * istanbul-ignore-next\r\n */\r\nfunction initFeatureFlags() {\r\n let needWarn = false;\r\n if (typeof __VUE_OPTIONS_API__ !== 'boolean') {\r\n needWarn = true;\r\n getGlobalThis().__VUE_OPTIONS_API__ = true;\r\n }\r\n if (typeof __VUE_PROD_DEVTOOLS__ !== 'boolean') {\r\n needWarn = true;\r\n getGlobalThis().__VUE_PROD_DEVTOOLS__ = false;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && needWarn) {\r\n console.warn(`You are running the esm-bundler build of Vue. It is recommended to ` +\r\n `configure your bundler to explicitly replace feature flag globals ` +\r\n `with boolean literals to get proper tree-shaking in the final bundle. ` +\r\n `See http://link.vuejs.org/feature-flags for more details.`);\r\n }\r\n}\n\nconst queuePostRenderEffect = queueEffectWithSuspense\r\n ;\r\n/**\r\n * The createRenderer function accepts two generic arguments:\r\n * HostNode and HostElement, corresponding to Node and Element types in the\r\n * host environment. For example, for runtime-dom, HostNode would be the DOM\r\n * `Node` interface and HostElement would be the DOM `Element` interface.\r\n *\r\n * Custom renderers can pass in the platform specific types like this:\r\n *\r\n * ``` js\r\n * const { render, createApp } = createRenderer({\r\n * patchProp,\r\n * ...nodeOps\r\n * })\r\n * ```\r\n */\r\nfunction createRenderer(options) {\r\n return baseCreateRenderer(options);\r\n}\r\n// Separate API for creating hydration-enabled renderer.\r\n// Hydration logic is only used when calling this function, making it\r\n// tree-shakable.\r\nfunction createHydrationRenderer(options) {\r\n return baseCreateRenderer(options, createHydrationFunctions);\r\n}\r\n// implementation\r\nfunction baseCreateRenderer(options, createHydrationFns) {\r\n // compile-time feature flags check\r\n {\r\n initFeatureFlags();\r\n }\r\n const target = getGlobalThis();\r\n target.__VUE__ = true;\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);\r\n }\r\n const { insert: hostInsert, remove: hostRemove, patchProp: hostPatchProp, createElement: hostCreateElement, createText: hostCreateText, createComment: hostCreateComment, setText: hostSetText, setElementText: hostSetElementText, parentNode: hostParentNode, nextSibling: hostNextSibling, setScopeId: hostSetScopeId = NOOP, cloneNode: hostCloneNode, insertStaticContent: hostInsertStaticContent } = options;\r\n // Note: functions inside this closure should use `const xxx = () => {}`\r\n // style in order to prevent being inlined by minifiers.\r\n const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = (process.env.NODE_ENV !== 'production') && isHmrUpdating ? false : !!n2.dynamicChildren) => {\r\n if (n1 === n2) {\r\n return;\r\n }\r\n // patching & not same type, unmount old tree\r\n if (n1 && !isSameVNodeType(n1, n2)) {\r\n anchor = getNextHostNode(n1);\r\n unmount(n1, parentComponent, parentSuspense, true);\r\n n1 = null;\r\n }\r\n if (n2.patchFlag === -2 /* BAIL */) {\r\n optimized = false;\r\n n2.dynamicChildren = null;\r\n }\r\n const { type, ref, shapeFlag } = n2;\r\n switch (type) {\r\n case Text:\r\n processText(n1, n2, container, anchor);\r\n break;\r\n case Comment:\r\n processCommentNode(n1, n2, container, anchor);\r\n break;\r\n case Static:\r\n if (n1 == null) {\r\n mountStaticNode(n2, container, anchor, isSVG);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n patchStaticNode(n1, n2, container, isSVG);\r\n }\r\n break;\r\n case Fragment:\r\n processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n break;\r\n default:\r\n if (shapeFlag & 1 /* ELEMENT */) {\r\n processElement(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n }\r\n else if (shapeFlag & 6 /* COMPONENT */) {\r\n processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n }\r\n else if (shapeFlag & 64 /* TELEPORT */) {\r\n type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\r\n }\r\n else if (shapeFlag & 128 /* SUSPENSE */) {\r\n type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn('Invalid VNode type:', type, `(${typeof type})`);\r\n }\r\n }\r\n // set ref\r\n if (ref != null && parentComponent) {\r\n setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);\r\n }\r\n };\r\n const processText = (n1, n2, container, anchor) => {\r\n if (n1 == null) {\r\n hostInsert((n2.el = hostCreateText(n2.children)), container, anchor);\r\n }\r\n else {\r\n const el = (n2.el = n1.el);\r\n if (n2.children !== n1.children) {\r\n hostSetText(el, n2.children);\r\n }\r\n }\r\n };\r\n const processCommentNode = (n1, n2, container, anchor) => {\r\n if (n1 == null) {\r\n hostInsert((n2.el = hostCreateComment(n2.children || '')), container, anchor);\r\n }\r\n else {\r\n // there's no support for dynamic comments\r\n n2.el = n1.el;\r\n }\r\n };\r\n const mountStaticNode = (n2, container, anchor, isSVG) => {\r\n [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);\r\n };\r\n /**\r\n * Dev / HMR only\r\n */\r\n const patchStaticNode = (n1, n2, container, isSVG) => {\r\n // static nodes are only patched during dev for HMR\r\n if (n2.children !== n1.children) {\r\n const anchor = hostNextSibling(n1.anchor);\r\n // remove existing\r\n removeStaticNode(n1);\r\n [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);\r\n }\r\n else {\r\n n2.el = n1.el;\r\n n2.anchor = n1.anchor;\r\n }\r\n };\r\n const moveStaticNode = ({ el, anchor }, container, nextSibling) => {\r\n let next;\r\n while (el && el !== anchor) {\r\n next = hostNextSibling(el);\r\n hostInsert(el, container, nextSibling);\r\n el = next;\r\n }\r\n hostInsert(anchor, container, nextSibling);\r\n };\r\n const removeStaticNode = ({ el, anchor }) => {\r\n let next;\r\n while (el && el !== anchor) {\r\n next = hostNextSibling(el);\r\n hostRemove(el);\r\n el = next;\r\n }\r\n hostRemove(anchor);\r\n };\r\n const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n isSVG = isSVG || n2.type === 'svg';\r\n if (n1 == null) {\r\n mountElement(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n }\r\n else {\r\n patchElement(n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\r\n }\r\n };\r\n const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\r\n let el;\r\n let vnodeHook;\r\n const { type, props, shapeFlag, transition, patchFlag, dirs } = vnode;\r\n if (!(process.env.NODE_ENV !== 'production') &&\r\n vnode.el &&\r\n hostCloneNode !== undefined &&\r\n patchFlag === -1 /* HOISTED */) {\r\n // If a vnode has non-null el, it means it's being reused.\r\n // Only static vnodes can be reused, so its mounted DOM nodes should be\r\n // exactly the same, and we can simply do a clone here.\r\n // only do this in production since cloned trees cannot be HMR updated.\r\n el = vnode.el = hostCloneNode(vnode.el);\r\n }\r\n else {\r\n el = vnode.el = hostCreateElement(vnode.type, isSVG, props && props.is, props);\r\n // mount children first, since some props may rely on child content\r\n // being already rendered, e.g. `