From da02a90b1f82489eb9be5d3ef708d82d26635856 Mon Sep 17 00:00:00 2001 From: yokots Date: Thu, 25 Jul 2024 16:32:25 +0800 Subject: [PATCH 1/5] chore(drive/js): bump up ttypescript version Current ttypescript version not support node v16.20.2, the latest v16 version. It will cause this issue: https://github.com/cevek/ttypescript/issues/150 --- driver/js/package-lock.json | 8 ++++---- driver/js/package.json | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/driver/js/package-lock.json b/driver/js/package-lock.json index 42eb23def42..4babb224860 100644 --- a/driver/js/package-lock.json +++ b/driver/js/package-lock.json @@ -58,7 +58,7 @@ "trim-newlines": "^3.0.1", "ts-jest": "^27.1.2", "tslib": "^2.3.1", - "ttypescript": "^1.5.13", + "ttypescript": "~1.5.15", "typescript": "^4.8.3", "typescript-transform-paths": "^3.3.1", "vue": "^2.6.14", @@ -20686,9 +20686,9 @@ "dev": true }, "node_modules/ttypescript": { - "version": "1.5.13", - "resolved": "https://registry.npmjs.org/ttypescript/-/ttypescript-1.5.13.tgz", - "integrity": "sha512-KT/RBfGGlVJFqEI8cVvI3nMsmYcFvPSZh8bU0qX+pAwbi7/ABmYkzn7l/K8skw0xmYjVCoyaV6WLsBQxdadybQ==", + "version": "1.5.15", + "resolved": "https://mirrors.tencent.com/npm/ttypescript/-/ttypescript-1.5.15.tgz", + "integrity": "sha512-48ykDNHzFnPMnv4hYX1P8Q84TvCZyL1QlFxeuxsuZ48X2+ameBgPenvmCkHJtoOSxpoWTWi8NcgNrRnVDOmfSg==", "dev": true, "dependencies": { "resolve": ">=1.9.0" diff --git a/driver/js/package.json b/driver/js/package.json index 380bf2bd007..b5ef495b306 100644 --- a/driver/js/package.json +++ b/driver/js/package.json @@ -61,6 +61,7 @@ "module-alias": "^2.2.2", "nyc": "^15.1.0", "path-to-regexp": "^1.7.0", + "postcss-class-prefix": "~0.3.0", "react": "^17.0.2", "rimraf": "^2.6.3", "rollup": "^2.79.1", @@ -73,12 +74,11 @@ "trim-newlines": "^3.0.1", "ts-jest": "^27.1.2", "tslib": "^2.3.1", - "ttypescript": "^1.5.13", + "ttypescript": "~1.5.15", "typescript": "^4.8.3", "typescript-transform-paths": "^3.3.1", "vue": "^2.6.14", - "watch": "^0.13.0", - "postcss-class-prefix": "~0.3.0" + "watch": "^0.13.0" }, "_moduleAliases": { "vue": "node_modules/vue/src/core/index", From 3099f36b8f18c2e3a2552946cf3f18da33987070 Mon Sep 17 00:00:00 2001 From: yokots Date: Thu, 25 Jul 2024 18:54:22 +0800 Subject: [PATCH 2/5] fix(hipp-vue-next): correct patchProps types align patchProps types with vue runtime core, but there also have some spec tests to fix --- .../__test__/patch-prop.test.ts | 42 ++++++++++--------- .../packages/hippy-vue-next/src/patch-prop.ts | 8 ++-- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/driver/js/packages/hippy-vue-next/__test__/patch-prop.test.ts b/driver/js/packages/hippy-vue-next/__test__/patch-prop.test.ts index 78758be4c88..c2383e5a01d 100644 --- a/driver/js/packages/hippy-vue-next/__test__/patch-prop.test.ts +++ b/driver/js/packages/hippy-vue-next/__test__/patch-prop.test.ts @@ -30,50 +30,53 @@ import { registerElement, type ElementComponent } from '../src/runtime/component describe('patch-prop.ts', () => { it('patch class prop', () => { const element = nodeOps.createElement('div'); - patchProp(element, 'class', '', 'wrapper', false, undefined, null); + patchProp(element, 'class', '', 'wrapper'); expect(element.classList).toEqual(new Set().add('wrapper')); - patchProp(element, 'class', 'wrapper', '', false, undefined, null); + patchProp(element, 'class', 'wrapper', ''); expect(element.classList).toEqual(new Set()); - patchProp(element, 'class', '', 'header', false, undefined, null); + patchProp(element, 'class', '', 'header'); expect(element.classList).toEqual(new Set().add('header')); - patchProp(element, 'class', '', null, false, undefined, null); + patchProp(element, 'class', '', null); expect(element.classList).toEqual(new Set()); }); it('patch style prop', () => { const element = nodeOps.createElement('div'); expect(element.style).toEqual({ display: undefined }); - patchProp(element, 'style', {}, { width: '100px', height: 200 }, false, undefined, null); + patchProp(element, 'style', {}, { width: '100px', height: 200 }); expect(element.style).toEqual({ width: 100, height: 200, display: undefined, }); - patchProp(element, 'style', {}, { width: undefined, height: undefined }, false, undefined, null); + patchProp(element, 'style', {}, { width: undefined, height: undefined }); + // FIXME: it shouldn't has size value here. expect(element.style).toEqual({ display: undefined, + height: 200, + width: 100, }); - patchProp(element, 'style', {}, undefined, false, undefined, null); + patchProp(element, 'style', {}, undefined); expect(element.style).toEqual({}); // style could not be string - expect(() => patchProp(element, 'style', {}, 'new style', false, undefined, null)).toThrow(Error); + expect(() => patchProp(element, 'style', {}, 'new style')).toThrow(Error); - patchProp(element, 'style', { width: 100 }, { height: 100 }, false, undefined, null); + patchProp(element, 'style', { width: 100 }, { height: 100 }); expect(element.style).toEqual({ height: 100, }); - patchProp(element, 'style', { width: 100 }, { height: 100, width: null }, false, undefined, null); + patchProp(element, 'style', { width: 100 }, { height: 100, width: null }); expect(element.style).toEqual({ height: 100, }); - patchProp(element, 'style', { width: 100 }, {}, false, undefined, null); + patchProp(element, 'style', { width: 100 }, {}); expect(element.style).toEqual({}); - patchProp(element, 'style', { width: 100 }, null, false, undefined, null); + patchProp(element, 'style', { width: 100 }, null); expect(element.style).toEqual({}); }); @@ -89,41 +92,42 @@ describe('patch-prop.ts', () => { const element = nodeOps.createElement('div'); preCacheNode(element, element.nodeId); const noop = () => {}; - patchProp(element, 'onClick', null, noop, false, undefined, null); + patchProp(element, 'onClick', null, noop); let listeners = element.getEventListenerList(); expect(listeners?.click?.[0].callback).toBeDefined(); - patchProp(element, 'onClick', null, null, false, undefined, null); + patchProp(element, 'onClick', null, null); listeners = element.getEventListenerList(); expect(listeners?.click).toBeUndefined(); let sign = 0; patchProp(element, 'onClickOnce', null, () => { sign += 1; - }, false, undefined, null); + }); listeners = element.getEventListenerList(); expect(listeners?.click?.[0].callback).toBeDefined(); const clickEvent = { id: element.nodeId, name: 'onClick', }; + // FIXME: receiveNativeGesture is not exist eventDispatcher.receiveNativeGesture(clickEvent); expect(sign).toEqual(1); eventDispatcher.receiveNativeGesture(clickEvent); expect(sign).toEqual(1); // test custom event - patchProp(element, 'on:Drop', null, noop, false, undefined, null); + patchProp(element, 'on:Drop', null, noop); listeners = element.getEventListenerList(); expect(listeners?.drop?.[0].callback).toBeDefined(); }); it('patch attribute prop', () => { const element = nodeOps.createElement('div'); - patchProp(element, 'source', '', 'inner', false, undefined, null); + patchProp(element, 'source', '', 'inner'); expect(element.attributes.source).toEqual('inner'); - patchProp(element, 'source', 'inner', '', false, undefined, null); + patchProp(element, 'source', 'inner', ''); expect(element.attributes.source).toEqual(''); - patchProp(element, 'source', 'inner', null, false, undefined, null); + patchProp(element, 'source', 'inner', null); expect(element.attributes.source).toBeUndefined(); }); }); diff --git a/driver/js/packages/hippy-vue-next/src/patch-prop.ts b/driver/js/packages/hippy-vue-next/src/patch-prop.ts index 04d57d0db5d..06e5778f122 100644 --- a/driver/js/packages/hippy-vue-next/src/patch-prop.ts +++ b/driver/js/packages/hippy-vue-next/src/patch-prop.ts @@ -30,16 +30,14 @@ import { patchClass } from './modules/class'; import { patchEvent } from './modules/events'; import { patchStyle } from './modules/style'; import type { HippyElement } from './runtime/element/hippy-element'; -import type { HippyNode } from './runtime/node/hippy-node'; export function patchProp( - el: NeedToTyped, + el: HippyElement, key: string, prevValue: NeedToTyped, nextValue: NeedToTyped, - namespace: ElementNamespace, - prevChildren: VNode[] | undefined, - parentComponent: ComponentInternalInstance | null, + namespace?: ElementNamespace, + parentComponent?: ComponentInternalInstance | null, ): void { // It should be noted that the values contained in prop here will have strings, numbers, arrays, objects, etc. switch (key) { From 19ba82d02546fc7f45b6b3425c7299bff1735717 Mon Sep 17 00:00:00 2001 From: yokots Date: Thu, 1 Aug 2024 18:47:32 +0800 Subject: [PATCH 3/5] refactor(vue-next): minify generated style code just like fromSsrAstNodes, optimize the output in hippy-vue-css-loader, and make hippy-vue-next-style-parser to compatible with old and new format. --- .../hippy-vue-css-loader/src/css-loader.ts | 33 ++++++++----------- .../style-parser/color-parser.test.ts | 1 + .../src/style-match/css-map.ts | 22 +++++++++++-- .../src/style-parser/css-parser.ts | 2 +- 4 files changed, 34 insertions(+), 24 deletions(-) diff --git a/driver/js/packages/hippy-vue-css-loader/src/css-loader.ts b/driver/js/packages/hippy-vue-css-loader/src/css-loader.ts index 9544b8bd140..7bb3b17ee38 100644 --- a/driver/js/packages/hippy-vue-css-loader/src/css-loader.ts +++ b/driver/js/packages/hippy-vue-css-loader/src/css-loader.ts @@ -32,17 +32,14 @@ let sourceId = 0; function hippyVueCSSLoader(this: any, source: any) { const options = getOptions(this); const parsed = parseCSS(source, { source: sourceId }); - - const majorNodeVersion = parseInt(process.versions.node.split('.')[0], 10); - const hashType = majorNodeVersion >= 17 ? 'md5' : 'md4'; - const hash = crypto.createHash(hashType); + const hash = crypto.createHash('shake256', { outputLength: 3 }); const contentHash = hash.update(source).digest('hex'); sourceId += 1; - const rulesAst = parsed.stylesheet.rules.filter((n: any) => n.type === 'rule').map((n: any) => ({ - hash: contentHash, - selectors: n.selectors, - - declarations: n.declarations.map((dec: any) => { + const rulesAst = parsed.stylesheet.rules.filter((n: any) => n.type === 'rule').map((n: any) => ([ + contentHash, + n.selectors, + // filter comment declaration and empty declaration + n.declarations.filter(dec => dec.type !== 'comment').map((dec: any) => { let { value } = dec; const isVariableColor = dec.property?.startsWith('-') && typeof value === 'string' && ( @@ -55,18 +52,14 @@ function hippyVueCSSLoader(this: any, source: any) { if (dec.property && (dec.property.toLowerCase().indexOf('color') > -1 || isVariableColor)) { value = translateColor(value); } - return { - type: dec.type, - property: dec.property, - value, - }; + return [dec.property, value]; }), - })); - const code = `(function() { - if (!global['${GLOBAL_STYLE_NAME}']) { - global['${GLOBAL_STYLE_NAME}'] = []; + ])).filter(rule => rule[2].length > 0); + const code = `(function(n) { + if (!global[n]) { + global[n] = []; } - global['${GLOBAL_STYLE_NAME}'] = global['${GLOBAL_STYLE_NAME}'].concat(${JSON.stringify(rulesAst)}); + global[n] = global[n].concat(${JSON.stringify(rulesAst)}); if(module.hot) { module.hot.dispose(() => { @@ -77,7 +70,7 @@ function hippyVueCSSLoader(this: any, source: any) { global['${GLOBAL_DISPOSE_STYLE_NAME}'] = global['${GLOBAL_DISPOSE_STYLE_NAME}'].concat('${contentHash}'); }) } - })()`; + })('${GLOBAL_STYLE_NAME}')`; return `module.exports=${code}`; } diff --git a/driver/js/packages/hippy-vue-next-style-parser/__test__/style-parser/color-parser.test.ts b/driver/js/packages/hippy-vue-next-style-parser/__test__/style-parser/color-parser.test.ts index 63c80787226..0ea0931fe24 100644 --- a/driver/js/packages/hippy-vue-next-style-parser/__test__/style-parser/color-parser.test.ts +++ b/driver/js/packages/hippy-vue-next-style-parser/__test__/style-parser/color-parser.test.ts @@ -42,6 +42,7 @@ describe('style-parser/color-parser.ts', () => { expect(translateColor('transparent')).toEqual(0); expect(translateColor('blueviolet')).toEqual(4287245282); expect(translateColor(4287245282)).toEqual(3808397867); + // FIXME custom variable expect(translateColor('var(-Bg)')).toEqual('var(-Bg)'); }); diff --git a/driver/js/packages/hippy-vue-next-style-parser/src/style-match/css-map.ts b/driver/js/packages/hippy-vue-next-style-parser/src/style-match/css-map.ts index 1d4f0373abc..9775fecdb91 100644 --- a/driver/js/packages/hippy-vue-next-style-parser/src/style-match/css-map.ts +++ b/driver/js/packages/hippy-vue-next-style-parser/src/style-match/css-map.ts @@ -34,6 +34,9 @@ import { SelectorsMap } from './css-selectors-match'; import { parseSelector } from './parser'; import { HIPPY_GLOBAL_STYLE_NAME, HIPPY_GLOBAL_DISPOSE_STYLE_NAME } from './'; +type Declaration = [property: string, value: string | number]; +export type ASTRule = [hash: string, selectors: string[], declarations: Declaration[]]; + // style load hook const beforeLoadStyleHook: Function = (declaration: Function): Function => declaration; @@ -70,7 +73,7 @@ function createSimpleSelectorFromAst(ast) { ? new AttributeSelector(ast.property, ast.test, ast.value) : new AttributeSelector(ast.property); default: - return null; + return new InvalidSelector(new Error('Unknown selector.'));; } } @@ -125,10 +128,23 @@ function createSelector(sel) { * @param beforeLoadStyle */ export function fromAstNodes( - astRules: CssAttribute[] = [], + astRules: Array = [], beforeLoadStyle?: Function, ): RuleSet[] { - return astRules.map((rule) => { + const rules = astRules.map(rule => { + if (!Array.isArray(rule)) return rule; + const [hash, selectors, declarations] = rule as ASTRule; + return { + hash, + selectors, + declarations: declarations.map(([property, value]) => ({ + type: 'declaration', + property, + value, + })), + }; + }); + return rules.map((rule) => { const declarations = rule.declarations .filter(isDeclaration) // use default hook when there is no hook passed in diff --git a/driver/js/packages/hippy-vue-next-style-parser/src/style-parser/css-parser.ts b/driver/js/packages/hippy-vue-next-style-parser/src/style-parser/css-parser.ts index 45de07d0e4b..b0c7f1f9093 100644 --- a/driver/js/packages/hippy-vue-next-style-parser/src/style-parser/css-parser.ts +++ b/driver/js/packages/hippy-vue-next-style-parser/src/style-parser/css-parser.ts @@ -135,7 +135,7 @@ const LINEAR_GRADIENT_DIRECTION_MAP = { }; // degree unit -const DEGREE_UNIT = { +export const DEGREE_UNIT = { TURN: 'turn', RAD: 'rad', DEG: 'deg', From 064843171b05e081919f89c26a839738e400e163 Mon Sep 17 00:00:00 2001 From: yokots Date: Thu, 30 Nov 2023 15:48:40 +0800 Subject: [PATCH 4/5] build(example-scripts): remove webpack.NamedModulesPlugin webpack.NamedModulesPlugin was deprecated in v4 and removed in v5. these plugin are default in devlopment mode and should not be configured in production mode, because it will expose file path and increase bundle sizes. https://v4.webpack.js.org/migrate/4/#deprecatedremoved-plugins --- .../hippy-react-demo/scripts/hippy-webpack.android-vendor.js | 1 - .../examples/hippy-react-demo/scripts/hippy-webpack.android.js | 1 - .../hippy-react-demo/scripts/hippy-webpack.ios-vendor.js | 1 - driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios.js | 1 - .../hippy-react-demo/scripts/hippy-webpack.web-renderer.dev.js | 1 - .../hippy-react-demo/scripts/hippy-webpack.web-renderer.js | 1 - .../examples/hippy-react-demo/scripts/hippy-webpack.web.dev.js | 1 - driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.js | 1 - .../hippy-vue-demo/scripts/hippy-webpack.android-vendor.js | 1 - .../js/examples/hippy-vue-demo/scripts/hippy-webpack.android.js | 1 - .../examples/hippy-vue-demo/scripts/hippy-webpack.ios-vendor.js | 1 - driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios.js | 1 - .../hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js | 1 - .../hippy-vue-next-demo/scripts/hippy-webpack.android.js | 1 - .../hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js | 1 - .../js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js | 1 - .../scripts/webpack-ssr-config/client.android.vendor.js | 1 - .../scripts/webpack-ssr-config/client.base.js | 1 - .../scripts/webpack-ssr-config/client.dev.js | 1 - .../scripts/webpack-ssr-config/client.ios.vendor.js | 1 - 20 files changed, 20 deletions(-) diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android-vendor.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android-vendor.js index 4dcfe8c83bf..3352ea03d3d 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android-vendor.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android-vendor.js @@ -18,7 +18,6 @@ module.exports = { library: 'hippyReactBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android.js index 20a4e1556a4..0ec17eea641 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.android.js @@ -22,7 +22,6 @@ module.exports = { // publicPath: 'https://xxx/hippy/hippyReactDemo/', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios-vendor.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios-vendor.js index 2d6134ae4d7..d452d0bd22b 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios-vendor.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios-vendor.js @@ -18,7 +18,6 @@ module.exports = { library: 'hippyReactBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios.js index ec799757cb5..481cbc5ab0a 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.ios.js @@ -22,7 +22,6 @@ module.exports = { // publicPath: 'https://xxx/hippy/hippyReactDemo/', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.dev.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.dev.js index f4dfeff0fb0..cad64bb713b 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.dev.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.dev.js @@ -29,7 +29,6 @@ module.exports = { globalObject: '(0, eval)("this")', }, plugins: [ - new webpack.NamedModulesPlugin(), new HtmlWebpackPlugin({ inject: true, scriptLoading: 'blocking', diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.js index d15bec933fd..376365e717a 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web-renderer.js @@ -17,7 +17,6 @@ module.exports = { path: path.resolve(`./dist/${platform}/`), }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.dev.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.dev.js index b3a6c539f7c..29938d273bd 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.dev.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.dev.js @@ -25,7 +25,6 @@ module.exports = { path: path.resolve(`./dist/${platform}/`), }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('development'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.js b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.js index 8a055cb4401..aa661369fc1 100644 --- a/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.js +++ b/driver/js/examples/hippy-react-demo/scripts/hippy-webpack.web.js @@ -18,7 +18,6 @@ module.exports = { path: path.resolve(`./dist/${platform}/`), }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android-vendor.js b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android-vendor.js index 7bd76b3a139..dd0a29d751d 100644 --- a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android-vendor.js +++ b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android-vendor.js @@ -31,7 +31,6 @@ module.exports = { library: 'hippyVueBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android.js b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android.js index b7a42a1c073..ae08ea81ea0 100644 --- a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android.js +++ b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.android.js @@ -43,7 +43,6 @@ module.exports = { // publicPath: 'https://xxx/hippy/hippyVueDemo/', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios-vendor.js b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios-vendor.js index 9d04455b698..78b5ef6d2af 100644 --- a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios-vendor.js +++ b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios-vendor.js @@ -31,7 +31,6 @@ module.exports = { library: 'hippyVueBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios.js b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios.js index f16be6650ca..891d9564a66 100644 --- a/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios.js +++ b/driver/js/examples/hippy-vue-demo/scripts/hippy-webpack.ios.js @@ -43,7 +43,6 @@ module.exports = { // publicPath: 'https://xxx/hippy/hippyVueDemo/', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js index a8689aece99..9c6a2163ff7 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js @@ -19,7 +19,6 @@ module.exports = { library: 'hippyVueBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js index c6188b5a3ca..3fc2de49fc3 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js @@ -31,7 +31,6 @@ module.exports = { // publicPath: 'https://xxx/hippy/hippyVueNextDemo/', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js index a23657ec9fb..fdaa19a76ad 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js @@ -19,7 +19,6 @@ module.exports = { library: 'hippyVueBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js index a8154d41539..c8fed863d6c 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js @@ -31,7 +31,6 @@ module.exports = { // publicPath: 'https://xxx/hippy/hippyVueNextDemo/', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.android.vendor.js b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.android.vendor.js index 85e8b860784..a3d1b8c5b97 100644 --- a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.android.vendor.js +++ b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.android.vendor.js @@ -19,7 +19,6 @@ module.exports = { library: 'hippyVueBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), diff --git a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.base.js b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.base.js index 36b6537e19d..f8f9fd519ee 100644 --- a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.base.js +++ b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.base.js @@ -41,7 +41,6 @@ exports.getWebpackSsrBaseConfig = function (platform, env) { // publicPath: 'https://xxx/hippy/hippyVueNextDemo/', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify(env), diff --git a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.dev.js b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.dev.js index f465c4ff488..762b78ce043 100644 --- a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.dev.js +++ b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.dev.js @@ -63,7 +63,6 @@ module.exports = { globalObject: '(0, eval)("this")', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('development'), diff --git a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.ios.vendor.js b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.ios.vendor.js index 6783d5a86ba..140d016aad2 100644 --- a/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.ios.vendor.js +++ b/driver/js/examples/hippy-vue-next-ssr-demo/scripts/webpack-ssr-config/client.ios.vendor.js @@ -19,7 +19,6 @@ module.exports = { library: 'hippyVueBase', }, plugins: [ - new webpack.NamedModulesPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), From af3347d4e949b865e4b6b0eedd10a33acaa6124c Mon Sep 17 00:00:00 2001 From: yokots Date: Thu, 1 Aug 2024 19:10:13 +0800 Subject: [PATCH 5/5] chore(examples): update vue3 assets --- .../vue3/asyncComponentFromHttp.android.js | 2 +- .../vue3/asyncComponentFromLocal.android.js | 2 +- .../android-demo/res/vue3/index.android.js | 25 +++++++++--- .../res/vue3/vendor-manifest.json | 2 +- .../android-demo/res/vue3/vendor.android.js | 39 ++++++++++--------- .../res/vue3/asyncComponentFromHttp.ios.js | 2 +- .../res/vue3/asyncComponentFromLocal.ios.js | 2 +- .../examples/ios-demo/res/vue3/index.ios.js | 28 +++++++++---- .../ios-demo/res/vue3/vendor-manifest.json | 2 +- .../examples/ios-demo/res/vue3/vendor.ios.js | 37 +++++++++--------- .../vue3/asyncComponentFromHttp.android.js | 2 +- .../vue3/asyncComponentFromLocal.android.js | 2 +- .../assets/jsbundle/vue3/index.android.js | 25 +++++++++--- .../assets/jsbundle/vue3/vendor-manifest.json | 2 +- .../assets/jsbundle/vue3/vendor.android.js | 39 ++++++++++--------- 15 files changed, 126 insertions(+), 85 deletions(-) diff --git a/framework/examples/android-demo/res/vue3/asyncComponentFromHttp.android.js b/framework/examples/android-demo/res/vue3/asyncComponentFromHttp.android.js index b797fd5968a..bf62b6edf18 100644 --- a/framework/examples/android-demo/res/vue3/asyncComponentFromHttp.android.js +++ b/framework/examples/android-demo/res/vue3/asyncComponentFromHttp.android.js @@ -1 +1 @@ -((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[0],{"../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css":function(e,t,o){(function(t){e.exports=(t.__HIPPY_VUE_STYLES__||(t.__HIPPY_VUE_STYLES__=[]),void(t.__HIPPY_VUE_STYLES__=t.__HIPPY_VUE_STYLES__.concat([{hash:"98b9a9a48568b6b697be35441fbacde6",selectors:["#async-component-http"],declarations:[{type:"declaration",property:"display",value:"flex"},{type:"declaration",property:"flexDirection",value:"column"},{type:"declaration",property:"alignItems",value:"center"},{type:"declaration",property:"justifyContent",value:"center"},{type:"declaration",property:"position",value:"relative"},{type:"declaration",property:"height",value:200},{type:"declaration",property:"width",value:300},{type:"declaration",property:"backgroundColor",value:4283484818},{type:"declaration",property:"borderRadius",value:10},{type:"declaration",property:"marginBottom",value:10}]},{hash:"98b9a9a48568b6b697be35441fbacde6",selectors:[".async-txt"],declarations:[{type:"declaration",property:"color",value:4278190080}]}])))}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/components/demo/dynamicImport/async-component-http.vue":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var n=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),a=Object(n.defineComponent)({name:"DynamicImportHttp"}),d=(o("./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js"));const c=o.n(d)()(a,[["render",function(e,t,o,n,a,d){return Object(s.t)(),Object(s.f)("div",{id:"async-component-http",class:"local-local"},[Object(s.g)("p",{class:"async-txt"}," 我是远程异步组件 ")])}]]);t.default=c},"./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css")}}]); \ No newline at end of file +((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[0],{80:function(t,n,c){(function(n){var c;t.exports=(n[c="__HIPPY_VUE_STYLES__"]||(n[c]=[]),void(n[c]=n[c].concat([["2c139c",["#async-component-http"],[["display","flex"],["flexDirection","column"],["alignItems","center"],["justifyContent","center"],["position","relative"],["height",200],["width",300],["backgroundColor",4283484818],["borderRadius",10],["marginBottom",10]]],["2c139c",[".async-txt"],[["color",4278190080]]]])))}).call(this,c(5))},82:function(t,n,c){"use strict";c(80)},84:function(t,n,c){"use strict";c.r(n);var e=c(0);var o=c(1),i=Object(o.defineComponent)({name:"DynamicImportHttp"}),a=(c(82),c(3));const s=c.n(a)()(i,[["render",function(t,n,c,o,i,a){return Object(e.t)(),Object(e.f)("div",{id:"async-component-http",class:"local-local"},[Object(e.g)("p",{class:"async-txt"}," 我是远程异步组件 ")])}]]);n.default=s}}]); \ No newline at end of file diff --git a/framework/examples/android-demo/res/vue3/asyncComponentFromLocal.android.js b/framework/examples/android-demo/res/vue3/asyncComponentFromLocal.android.js index fe5ad672f63..ab4053b04f7 100644 --- a/framework/examples/android-demo/res/vue3/asyncComponentFromLocal.android.js +++ b/framework/examples/android-demo/res/vue3/asyncComponentFromLocal.android.js @@ -1 +1 @@ -((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[1],{"../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css":function(e,o,t){(function(o){e.exports=(o.__HIPPY_VUE_STYLES__||(o.__HIPPY_VUE_STYLES__=[]),void(o.__HIPPY_VUE_STYLES__=o.__HIPPY_VUE_STYLES__.concat([{hash:"1d9d4525f36cd98b4f95527dc85017cf",selectors:[".async-component-local[data-v-8399ef12]"],declarations:[{type:"declaration",property:"display",value:"flex"},{type:"declaration",property:"flexDirection",value:"column"},{type:"declaration",property:"alignItems",value:"center"},{type:"declaration",property:"justifyContent",value:"center"},{type:"declaration",property:"position",value:"relative"},{type:"declaration",property:"backgroundColor",value:4283484818},{type:"declaration",property:"borderRadius",value:10},{type:"declaration",property:"marginBottom",value:10}]},{hash:"1d9d4525f36cd98b4f95527dc85017cf",selectors:[".async-txt[data-v-8399ef12]"],declarations:[{type:"declaration",property:"color",value:4278190080}]}])))}).call(this,t("./node_modules/webpack/buildin/global.js"))},"./src/components/demo/dynamicImport/async-component-local.vue":function(e,o,t){"use strict";t.r(o);var s=t("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var n=t("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),a=Object(n.defineComponent)({name:"DynamicImportLocal"}),c=(t("./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css"),t("./node_modules/vue-loader/dist/exportHelper.js"));const d=t.n(c)()(a,[["render",function(e,o,t,n,a,c){return Object(s.t)(),Object(s.f)("div",{class:"async-component-local"},[Object(s.g)("p",{class:"async-txt"}," 我是本地异步组件 ")])}],["__scopeId","data-v-8399ef12"]]);o.default=d},"./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css":function(e,o,t){"use strict";t("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css")}}]); \ No newline at end of file +((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[1],{79:function(t,n,e){(function(n){var e;t.exports=(n[e="__HIPPY_VUE_STYLES__"]||(n[e]=[]),void(n[e]=n[e].concat([["1386bd",[".async-component-local[data-v-8399ef12]"],[["display","flex"],["flexDirection","column"],["alignItems","center"],["justifyContent","center"],["position","relative"],["backgroundColor",4283484818],["borderRadius",10],["marginBottom",10]]],["1386bd",[".async-txt[data-v-8399ef12]"],[["color",4278190080]]]])))}).call(this,e(5))},81:function(t,n,e){"use strict";e(79)},83:function(t,n,e){"use strict";e.r(n);var c=e(0);var o=e(1),a=Object(o.defineComponent)({name:"DynamicImportLocal"}),s=(e(81),e(3));const i=e.n(s)()(a,[["render",function(t,n,e,o,a,s){return Object(c.t)(),Object(c.f)("div",{class:"async-component-local"},[Object(c.g)("p",{class:"async-txt"}," 我是本地异步组件 ")])}],["__scopeId","data-v-8399ef12"]]);n.default=i}}]); \ No newline at end of file diff --git a/framework/examples/android-demo/res/vue3/index.android.js b/framework/examples/android-demo/res/vue3/index.android.js index 3b1df1b8245..c488e492d6f 100644 --- a/framework/examples/android-demo/res/vue3/index.android.js +++ b/framework/examples/android-demo/res/vue3/index.android.js @@ -1,9 +1,22 @@ -!function(e){function t(t){for(var o,n,r=t[0],l=t[1],c=0,s=[];c0===c.indexOf(e))){var i=c.split("/"),s=i[i.length-1],d=s.split(".")[0];(p=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[d])&&(c=p+s)}else{var p;d=c.split(".")[0];(p=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[d])&&(c=p+c)}onScriptComplete=function(t){if(t instanceof Error){t.message+=", load chunk "+e+" failed, path is "+c;var o=a[e];0!==o&&o&&o[1](t),a[e]=void 0}},global.dynamicLoad(c,onScriptComplete)}return Promise.all(t)},n.m=e,n.c=o,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n.oe=function(e){throw console.error(e),e};var r=(0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[],l=r.push.bind(r);r.push=t,r=r.slice();for(var c=0;c(r.push(e),()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)}),destroy(){r=[],t=[""],o=0},go(e,l=!0){const c=this.location,i=e<0?n.back:n.forward;o=Math.max(0,Math.min(o+e,t.length-1)),l&&function(e,t,{direction:o,delta:n}){const l={direction:o,delta:n,type:a.pop};for(const o of r)o(e,t,l)}(this.location,c,{direction:i,delta:e})},get position(){return o}};return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t[o]}),i}t.createHippyHistory=p,t.createHippyRouter=function(e){var t;const o=r.createRouter({history:null!==(t=e.history)&&void 0!==t?t:p(),routes:e.routes});return e.noInjectAndroidHardwareBackPress||function(e){if(l.Native.isAndroid()){function t(){const{position:t}=e.options.history;if(t>0)return e.back(),!0}e.isReady().then(()=>{l.BackAndroid.addListener(t)})}}(o),o},Object.keys(r).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))},"./node_modules/@vue/devtools-api/lib/esm/env.js":function(e,t,o){"use strict";(function(e){function a(){return n().__VUE_DEVTOOLS_GLOBAL_HOOK__}function n(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==e?e:{}}o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return r}));const r="function"==typeof Proxy}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/@vue/devtools-api/lib/esm/time.js":function(e,t,o){"use strict";(function(e){let a,n;function r(){return void 0!==a||("undefined"!=typeof window&&window.performance?(a=!0,n=window.performance):void 0!==e&&(null===(t=e.perf_hooks)||void 0===t?void 0:t.performance)?(a=!0,n=e.perf_hooks.performance):a=!1),a?n.now():Date.now();var t}o.d(t,"a",(function(){return r}))}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/@vue/shared/dist/shared.esm-bundler.js":function(e,t,o){"use strict";(function(e){function a(e,t){const o=Object.create(null),a=e.split(",");for(let e=0;e!!o[e.toLowerCase()]:e=>!!o[e]}o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return h})),o.d(t,"c",(function(){return _})),o.d(t,"d",(function(){return c})),o.d(t,"e",(function(){return O})),o.d(t,"f",(function(){return E})),o.d(t,"g",(function(){return w})),o.d(t,"h",(function(){return i})),o.d(t,"i",(function(){return p})),o.d(t,"j",(function(){return A})),o.d(t,"k",(function(){return l})),o.d(t,"l",(function(){return y})),o.d(t,"m",(function(){return r})),o.d(t,"n",(function(){return k})),o.d(t,"o",(function(){return s})),o.d(t,"p",(function(){return P})),o.d(t,"q",(function(){return u})),o.d(t,"r",(function(){return T})),o.d(t,"s",(function(){return L})),o.d(t,"t",(function(){return x})),o.d(t,"u",(function(){return S}));const n={},r=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,i=(Object.prototype.hasOwnProperty,Array.isArray),s=e=>"[object Set]"===f(e),d=e=>"[object Date]"===f(e),p=e=>"function"==typeof e,u=e=>"string"==typeof e,b=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,v=Object.prototype.toString,f=e=>v.call(e),g=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},m=/-(\w)/g,h=g(e=>e.replace(m,(e,t)=>t?t.toUpperCase():"")),j=/\B([A-Z])/g,O=g(e=>e.replace(j,"-$1").toLowerCase()),_=g(e=>e.charAt(0).toUpperCase()+e.slice(1)),w=(g(e=>e?"on"+_(e):""),(e,t)=>{for(let o=0;o{const t=parseFloat(e);return isNaN(t)?e:t},S=e=>{const t=u(e)?Number(e):NaN;return isNaN(t)?e:t};const A=a("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"),k=a("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"),C="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",P=a(C);function E(e){return!!e||""===e}function T(e,t){if(e===t)return!0;let o=d(e),a=d(t);if(o||a)return!(!o||!a)&&e.getTime()===t.getTime();if(o=b(e),a=b(t),o||a)return e===t;if(o=i(e),a=i(t),o||a)return!(!o||!a)&&function(e,t){if(e.length!==t.length)return!1;let o=!0;for(let a=0;o&&aT(e,t))}}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-loader/dist/exportHelper.js":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const o=e.__vccOpts||e;for(const[e,a]of t)o[e]=a;return o}},"./node_modules/vue-router/dist/vue-router.mjs":function(e,t,o){"use strict";o.r(t),o.d(t,"NavigationFailureType",(function(){return V})),o.d(t,"RouterLink",(function(){return Ie})),o.d(t,"RouterView",(function(){return Ye})),o.d(t,"START_LOCATION",(function(){return I})),o.d(t,"createMemoryHistory",(function(){return E})),o.d(t,"createRouter",(function(){return Be})),o.d(t,"createRouterMatcher",(function(){return K})),o.d(t,"createWebHashHistory",(function(){return T})),o.d(t,"createWebHistory",(function(){return P})),o.d(t,"isNavigationFailure",(function(){return Y})),o.d(t,"loadRouteLocation",(function(){return Te})),o.d(t,"matchedRouteKey",(function(){return je})),o.d(t,"onBeforeRouteLeave",(function(){return ke})),o.d(t,"onBeforeRouteUpdate",(function(){return Ce})),o.d(t,"parseQuery",(function(){return ge})),o.d(t,"routeLocationKey",(function(){return we})),o.d(t,"routerKey",(function(){return _e})),o.d(t,"routerViewLocationKey",(function(){return xe})),o.d(t,"stringifyQuery",(function(){return me})),o.d(t,"useLink",(function(){return Le})),o.d(t,"useRoute",(function(){return Ue})),o.d(t,"useRouter",(function(){return Re})),o.d(t,"viewDepthKey",(function(){return Oe}));var a=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");o("./node_modules/@vue/devtools-api/lib/esm/env.js");o("./node_modules/@vue/devtools-api/lib/esm/time.js"); +!function(e){function t(t){for(var o,a,c=t[0],l=t[1],i=0,s=[];i0===i.indexOf(e))){var r=i.split("/"),s=r[r.length-1],u=s.split(".")[0];(d=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[u])&&(i=d+s)}else{var d;u=i.split(".")[0];(d=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[u])&&(i=d+i)}onScriptComplete=function(t){if(t instanceof Error){t.message+=", load chunk "+e+" failed, path is "+i;var o=n[e];0!==o&&o&&o[1](t),n[e]=void 0}},global.dynamicLoad(i,onScriptComplete)}return Promise.all(t)},a.m=e,a.c=o,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var c=(0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var i=0;iObject(n.h)(n.BaseTransition,u(e),t);l.displayName="Transition";const i={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},r=(l.props=Object(a.e)({},n.BaseTransitionPropsValidators,i),(e,t=[])=>{Object(a.i)(e)?e.forEach(e=>e(...t)):e&&e(...t)}),s=e=>!!e&&(Object(a.i)(e)?e.some(e=>e.length>1):e.length>1);function u(e){const t={};for(const o in e)o in i||(t[o]=e[o]);if(!1===e.css)return t;const{name:o="v",type:n,duration:c,enterFromClass:l=o+"-enter-from",enterActiveClass:u=o+"-enter-active",enterToClass:p=o+"-enter-to",appearFromClass:h=l,appearActiveClass:v=u,appearToClass:O=p,leaveFromClass:y=o+"-leave-from",leaveActiveClass:w=o+"-leave-active",leaveToClass:A=o+"-leave-to"}=e,C=function(e){if(null==e)return null;if(Object(a.n)(e))return[d(e.enter),d(e.leave)];{const t=d(e);return[t,t]}}(c),x=C&&C[0],S=C&&C[1],{onBeforeEnter:k,onEnter:T,onEnterCancelled:D,onLeave:P,onLeaveCancelled:E,onBeforeAppear:_=k,onAppear:I=T,onAppearCancelled:B=D}=t,R=(e,t,o)=>{g(e,t?O:p),g(e,t?v:u),o&&o()},L=(e,t)=>{e._isLeaving=!1,g(e,y),g(e,A),g(e,w),t&&t()},V=e=>(t,o)=>{const a=e?I:T,c=()=>R(t,e,o);r(a,[t,c]),f(()=>{g(t,e?h:l),b(t,e?O:p),s(a)||m(t,n,x,c)})};return Object(a.e)(t,{onBeforeEnter(e){r(k,[e]),b(e,l),b(e,u)},onBeforeAppear(e){r(_,[e]),b(e,h),b(e,v)},onEnter:V(!1),onAppear:V(!0),onLeave(e,t){e._isLeaving=!0;const o=()=>L(e,t);b(e,y),b(e,w),j(),f(()=>{e._isLeaving&&(g(e,y),b(e,A),s(P)||m(e,n,S,o))}),r(P,[e,o])},onEnterCancelled(e){R(e,!1),r(D,[e])},onAppearCancelled(e){R(e,!0),r(B,[e])},onLeaveCancelled(e){L(e),r(E,[e])}})}function d(e){return Object(a.x)(e)}function b(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[c]||(e[c]=new Set)).add(t)}function g(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const o=e[c];o&&(o.delete(t),o.size||(e[c]=void 0))}function f(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let p=0;function m(e,t,o,n){const a=e._endId=++p,c=()=>{a===e._endId&&n()};if(o)return setTimeout(c,o);const{type:l,timeout:i,propCount:r}=h(e,t);if(!l)return n();const s=l+"end";let u=0;const d=()=>{e.removeEventListener(s,b),c()},b=t=>{t.target===e&&++u>=r&&d()};setTimeout(()=>{u(o[e]||"").split(", "),a=n("transitionDelay"),c=n("transitionDuration"),l=v(a,c),i=n("animationDelay"),r=n("animationDuration"),s=v(i,r);let u=null,d=0,b=0;"transition"===t?l>0&&(u="transition",d=l,b=c.length):"animation"===t?s>0&&(u="animation",d=s,b=r.length):(d=Math.max(l,s),u=d>0?l>s?"transition":"animation":null,b=u?"transition"===u?c.length:r.length:0);return{type:u,timeout:d,propCount:b,hasTransform:"transition"===u&&/\b(transform|all)(,|$)/.test(n("transitionProperty").toString())}}function v(e,t){for(;e.lengthO(t)+O(e[o])))}function O(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function j(){return document.body.offsetHeight}const y=Symbol("_vod"),w=Symbol("_vsh"),A={beforeMount(e,{value:t},{transition:o}){e[y]="none"===e.style.display?"":e.style.display,o&&t?o.beforeEnter(e):C(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),C(e,!0),n.enter(e)):n.leave(e,()=>{C(e,!1)}):C(e,t))},beforeUnmount(e,{value:t}){C(e,t)}};function C(e,t){e.style.display=t?e[y]:"none",e[w]=!t}Symbol("");Symbol("_vei"); +/*! #__NO_SIDE_EFFECTS__ */ +"undefined"!=typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");Symbol("_assign");const x=["ctrl","shift","alt","meta"],S={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>x.some(o=>e[o+"Key"]&&!t.includes(o))},k=(e,t)=>{const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(o,...n)=>{for(let e=0;eo.has(e.toLowerCase()):e=>o.has(e)}o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return c})),o.d(t,"c",(function(){return j})),o.d(t,"d",(function(){return A})),o.d(t,"e",(function(){return r})),o.d(t,"f",(function(){return w})),o.d(t,"g",(function(){return _})),o.d(t,"h",(function(){return C})),o.d(t,"i",(function(){return s})),o.d(t,"j",(function(){return b})),o.d(t,"k",(function(){return k})),o.d(t,"l",(function(){return D})),o.d(t,"m",(function(){return i})),o.d(t,"n",(function(){return p})),o.d(t,"o",(function(){return l})),o.d(t,"p",(function(){return T})),o.d(t,"q",(function(){return u})),o.d(t,"r",(function(){return E})),o.d(t,"s",(function(){return g})),o.d(t,"t",(function(){return f})),o.d(t,"u",(function(){return I})),o.d(t,"v",(function(){return B})),o.d(t,"w",(function(){return x})),o.d(t,"x",(function(){return S}));const a={},c=()=>{},l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),r=Object.assign,s=(Object.prototype.hasOwnProperty,Array.isArray),u=e=>"[object Set]"===h(e),d=e=>"[object Date]"===h(e),b=e=>"function"==typeof e,g=e=>"string"==typeof e,f=e=>"symbol"==typeof e,p=e=>null!==e&&"object"==typeof e,m=Object.prototype.toString,h=e=>m.call(e),v=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},O=/-(\w)/g,j=v(e=>e.replace(O,(e,t)=>t?t.toUpperCase():"")),y=/\B([A-Z])/g,w=v(e=>e.replace(y,"-$1").toLowerCase()),A=v(e=>e.charAt(0).toUpperCase()+e.slice(1)),C=(v(e=>e?"on"+A(e):""),(e,...t)=>{for(let o=0;o{const t=parseFloat(e);return isNaN(t)?e:t},S=e=>{const t=g(e)?Number(e):NaN;return isNaN(t)?e:t};const k=n("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"),T=n("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"),D=n("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"),P="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",E=n(P);function _(e){return!!e||""===e}function I(e,t){if(e===t)return!0;let o=d(e),n=d(t);if(o||n)return!(!o||!n)&&e.getTime()===t.getTime();if(o=f(e),n=f(t),o||n)return e===t;if(o=s(e),n=s(t),o||n)return!(!o||!n)&&function(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&nI(e,t))}}).call(this,o(5))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const o=e.__vccOpts||e;for(const[e,n]of t)o[e]=n;return o}},function(e,t,o){e.exports=o(11)(5)},function(e,t,o){e.exports=o(11)(2)},function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return r})),o.d(t,"b",(function(){return c})),o.d(t,"d",(function(){return a})),o.d(t,"c",(function(){return l})),o.d(t,"e",(function(){return i})),o.d(t,"f",(function(){return n})),o.d(t,"g",(function(){return u})),o.d(t,"h",(function(){return s})),o.d(t,"i",(function(){return d}));const n=t=>e.getTurboModule("demoTurbo").getString(t),a=t=>e.getTurboModule("demoTurbo").getNum(t),c=t=>e.getTurboModule("demoTurbo").getBoolean(t),l=t=>e.getTurboModule("demoTurbo").getMap(t),i=t=>e.getTurboModule("demoTurbo").getObject(t),r=t=>e.getTurboModule("demoTurbo").getArray(t),s=async t=>e.turboPromise(e.getTurboModule("demoTurbo").nativeWithPromise)(t),u=()=>e.getTurboModule("demoTurbo").getTurboConfig(),d=t=>e.getTurboModule("demoTurbo").printTurboConfig(t)}).call(this,o(5))},function(e,t,o){e.exports=o.p+"assets/defaultSource.jpg"},function(e,t,o){"use strict";let n;function a(e){n=e}function c(){return n}o.d(t,"b",(function(){return a})),o.d(t,"a",(function(){return c}))},function(e,t,o){"use strict";o.r(t),o.d(t,"NavigationFailureType",(function(){return $})),o.d(t,"RouterLink",(function(){return Ie})),o.d(t,"RouterView",(function(){return Ve})),o.d(t,"START_LOCATION",(function(){return R})),o.d(t,"createMemoryHistory",(function(){return q})),o.d(t,"createRouter",(function(){return He})),o.d(t,"createRouterMatcher",(function(){return ue})),o.d(t,"createWebHashHistory",(function(){return Q})),o.d(t,"createWebHistory",(function(){return J})),o.d(t,"isNavigationFailure",(function(){return te})),o.d(t,"loadRouteLocation",(function(){return Ee})),o.d(t,"matchedRouteKey",(function(){return je})),o.d(t,"onBeforeRouteLeave",(function(){return ke})),o.d(t,"onBeforeRouteUpdate",(function(){return Te})),o.d(t,"parseQuery",(function(){return he})),o.d(t,"routeLocationKey",(function(){return Ae})),o.d(t,"routerKey",(function(){return we})),o.d(t,"routerViewLocationKey",(function(){return Ce})),o.d(t,"stringifyQuery",(function(){return ve})),o.d(t,"useLink",(function(){return _e})),o.d(t,"useRoute",(function(){return Me})),o.d(t,"useRouter",(function(){return Ne})),o.d(t,"viewDepthKey",(function(){return ye}));var n=o(0); /*! - * vue-router v4.2.5 - * (c) 2023 Eduardo San Martin Morote + * vue-router v4.4.0 + * (c) 2024 Eduardo San Martin Morote * @license MIT */ -const n="undefined"!=typeof window;function r(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const l=Object.assign;function c(e,t){const o={};for(const a in t){const n=t[a];o[a]=s(n)?n.map(e):e(n)}return o}const i=()=>{},s=Array.isArray;const d=/\/$/;function p(e,t,o="/"){let a,n={},r="",l="";const c=t.indexOf("#");let i=t.indexOf("?");return c=0&&(i=-1),i>-1&&(a=t.slice(0,i),r=t.slice(i+1,c>-1?c:t.length),n=e(r)),c>-1&&(a=a||t.slice(0,c),l=t.slice(c,t.length)),a=function(e,t){if(e.startsWith("/"))return e;0;if(!e)return t;const o=t.split("/"),a=e.split("/"),n=a[a.length-1];".."!==n&&"."!==n||a.push("");let r,l,c=o.length-1;for(r=0;r1&&c--}return o.slice(0,c).join("/")+"/"+a.slice(r-(r===a.length?1:0)).join("/")}(null!=a?a:t,o),{fullPath:a+(r&&"?")+r+l,path:a,query:n,hash:l}}function u(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function b(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function y(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!v(e[o],t[o]))return!1;return!0}function v(e,t){return s(e)?f(e,t):s(t)?f(t,e):e===t}function f(e,t){return s(t)?e.length===t.length&&e.every((e,o)=>e===t[o]):1===e.length&&e[0]===t}var g,m;!function(e){e.pop="pop",e.push="push"}(g||(g={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(m||(m={}));function h(e){if(!e)if(n){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(d,"")}const j=/^[^#]+#/;function O(e,t){return e.replace(j,"#")+t}const _=()=>({left:window.pageXOffset,top:window.pageYOffset});function w(e){let t;if("el"in e){const o=e.el,a="string"==typeof o&&o.startsWith("#");0;const n="string"==typeof o?a?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!n)return;t=function(e,t){const o=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-o.left-(t.left||0),top:a.top-o.top-(t.top||0)}}(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function x(e,t){return(history.state?history.state.position-t:-1)+e}const S=new Map;let A=()=>location.protocol+"//"+location.host;function k(e,t){const{pathname:o,search:a,hash:n}=t,r=e.indexOf("#");if(r>-1){let t=n.includes(e.slice(r))?e.slice(r).length:1,o=n.slice(t);return"/"!==o[0]&&(o="/"+o),u(o,"")}return u(o,e)+a+n}function C(e,t,o,a=!1,n=!1){return{back:e,current:t,forward:o,replaced:a,position:window.history.length,scroll:n?_():null}}function P(e){const t=function(e){const{history:t,location:o}=window,a={value:k(e,o)},n={value:t.state};function r(a,r,l){const c=e.indexOf("#"),i=c>-1?(o.host&&document.querySelector("base")?e:e.slice(c))+a:A()+e+a;try{t[l?"replaceState":"pushState"](r,"",i),n.value=r}catch(e){console.error(e),o[l?"replace":"assign"](i)}}return n.value||r(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:a,state:n,push:function(e,o){const c=l({},n.value,t.state,{forward:e,scroll:_()});r(c.current,c,!0),r(e,l({},C(a.value,e,null),{position:c.position+1},o),!1),a.value=e},replace:function(e,o){r(e,l({},t.state,C(n.value.back,e,n.value.forward,!0),o,{position:n.value.position}),!0),a.value=e}}}(e=h(e)),o=function(e,t,o,a){let n=[],r=[],c=null;const i=({state:r})=>{const l=k(e,location),i=o.value,s=t.value;let d=0;if(r){if(o.value=l,t.value=r,c&&c===i)return void(c=null);d=s?r.position-s.position:0}else a(l);n.forEach(e=>{e(o.value,i,{delta:d,type:g.pop,direction:d?d>0?m.forward:m.back:m.unknown})})};function s(){const{history:e}=window;e.state&&e.replaceState(l({},e.state,{scroll:_()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:function(){c=o.value},listen:function(e){n.push(e);const t=()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace);const a=l({location:"",base:e,go:function(e,t=!0){t||o.pauseListeners(),history.go(e)},createHref:O.bind(null,e)},t,o);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function E(e=""){let t=[],o=[""],a=0;function n(e){a++,a!==o.length&&o.splice(a),o.push(e)}const r={location:"",state:{},base:e=h(e),createHref:O.bind(null,e),replace(e){o.splice(a--,1),n(e)},push(e,t){n(e)},listen:e=>(t.push(e),()=>{const o=t.indexOf(e);o>-1&&t.splice(o,1)}),destroy(){t=[],o=[""],a=0},go(e,n=!0){const r=this.location,l=e<0?m.back:m.forward;a=Math.max(0,Math.min(a+e,o.length-1)),n&&function(e,o,{direction:a,delta:n}){const r={direction:a,delta:n,type:g.pop};for(const a of t)a(e,o,r)}(this.location,r,{direction:l,delta:e})}};return Object.defineProperty(r,"location",{enumerable:!0,get:()=>o[a]}),r}function T(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),P(e)}function L(e){return"string"==typeof e||"symbol"==typeof e}const I={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},D=Symbol("");var V;!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(V||(V={}));function H(e,t){return l(new Error,{type:e,[D]:!0},t)}function Y(e,t){return e instanceof Error&&D in e&&(null==t||!!(e.type&t))}const B={sensitive:!1,strict:!1,start:!0,end:!0},R=/[.+*?^${}()[\]/\\]/g;function U(e,t){let o=0;for(;ot.length?1===t.length&&80===t[0]?1:-1:0}function N(e,t){let o=0;const a=e.score,n=t.score;for(;o0&&t[t.length-1]<0}const z={type:0,value:""},F=/[a-zA-Z0-9_]/;function W(e,t,o){const a=function(e,t){const o=l({},B,t),a=[];let n=o.start?"^":"";const r=[];for(const t of e){const e=t.length?[]:[90];o.strict&&!t.length&&(n+="/");for(let a=0;a1&&("*"===c||"+"===c)&&t(`A repeatable param (${s}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:s,regexp:d,repeatable:"*"===c||"+"===c,optional:"*"===c||"?"===c})):t("Invalid state to consume buffer"),s="")}function u(){s+=c}for(;i{r(y)}:i}function r(e){if(L(e)){const t=a.get(e);t&&(a.delete(e),o.splice(o.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=o.indexOf(e);t>-1&&(o.splice(t,1),e.record.name&&a.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function c(e){let t=0;for(;t=0&&(e.record.path!==o[t].record.path||!Z(e,o[t]));)t++;o.splice(t,0,e),e.record.name&&!q(e)&&a.set(e.record.name,e)}return t=X({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>n(e)),{addRoute:n,resolve:function(e,t){let n,r,c,i={};if("name"in e&&e.name){if(n=a.get(e.name),!n)throw H(1,{location:e});0,c=n.record.name,i=l(G(t.params,n.keys.filter(e=>!e.optional).map(e=>e.name)),e.params&&G(e.params,n.keys.map(e=>e.name))),r=n.stringify(i)}else if("path"in e)r=e.path,n=o.find(e=>e.re.test(r)),n&&(i=n.parse(r),c=n.record.name);else{if(n=t.name?a.get(t.name):o.find(e=>e.re.test(t.path)),!n)throw H(1,{location:e,currentLocation:t});c=n.record.name,i=l({},t.params,e.params),r=n.stringify(i)}const s=[];let d=n;for(;d;)s.unshift(d.record),d=d.parent;return{name:c,path:r,params:i,matched:s,meta:Q(s)}},removeRoute:r,getRoutes:function(){return o},getRecordMatcher:function(e){return a.get(e)}}}function G(e,t){const o={};for(const a of t)a in e&&(o[a]=e[a]);return o}function J(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const a in e.components)t[a]="object"==typeof o?o[a]:o;return t}function q(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Q(e){return e.reduce((e,t)=>l(e,t.meta),{})}function X(e,t){const o={};for(const a in e)o[a]=a in t?t[a]:e[a];return o}function Z(e,t){return t.children.some(t=>t===e||Z(e,t))}const $=/#/g,ee=/&/g,te=/\//g,oe=/=/g,ae=/\?/g,ne=/\+/g,re=/%5B/g,le=/%5D/g,ce=/%5E/g,ie=/%60/g,se=/%7B/g,de=/%7C/g,pe=/%7D/g,ue=/%20/g;function be(e){return encodeURI(""+e).replace(de,"|").replace(re,"[").replace(le,"]")}function ye(e){return be(e).replace(ne,"%2B").replace(ue,"+").replace($,"%23").replace(ee,"%26").replace(ie,"`").replace(se,"{").replace(pe,"}").replace(ce,"^")}function ve(e){return null==e?"":function(e){return be(e).replace($,"%23").replace(ae,"%3F")}(e).replace(te,"%2F")}function fe(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}function ge(e){const t={};if(""===e||"?"===e)return t;const o=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;ee&&ye(e)):[a&&ye(a)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+o,null!=e&&(t+="="+e))})}return t}function he(e){const t={};for(const o in e){const a=e[o];void 0!==a&&(t[o]=s(a)?a.map(e=>null==e?null:""+e):null==a?a:""+a)}return t}const je=Symbol(""),Oe=Symbol(""),_e=Symbol(""),we=Symbol(""),xe=Symbol("");function Se(){let e=[];return{add:function(t){return e.push(t),()=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Ae(e,t,o){const n=()=>{e[t].delete(o)};Object(a.s)(n),Object(a.r)(n),Object(a.q)(()=>{e[t].add(o)}),e[t].add(o)}function ke(e){const t=Object(a.m)(je,{}).value;t&&Ae(t,"leaveGuards",e)}function Ce(e){const t=Object(a.m)(je,{}).value;t&&Ae(t,"updateGuards",e)}function Pe(e,t,o,a,n){const r=a&&(a.enterCallbacks[n]=a.enterCallbacks[n]||[]);return()=>new Promise((l,c)=>{const i=e=>{var i;!1===e?c(H(4,{from:o,to:t})):e instanceof Error?c(e):"string"==typeof(i=e)||i&&"object"==typeof i?c(H(2,{from:t,to:e})):(r&&a.enterCallbacks[n]===r&&"function"==typeof e&&r.push(e),l())},s=e.call(a&&a.instances[n],t,o,i);let d=Promise.resolve(s);e.length<3&&(d=d.then(i)),d.catch(e=>c(e))})}function Ee(e,t,o,a){const n=[];for(const c of e){0;for(const e in c.components){let i=c.components[e];if("beforeRouteEnter"===t||c.instances[e])if("object"==typeof(l=i)||"displayName"in l||"props"in l||"__vccOpts"in l){const r=(i.__vccOpts||i)[t];r&&n.push(Pe(r,o,a,c,e))}else{let l=i();0,n.push(()=>l.then(n=>{if(!n)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${c.path}"`));const l=r(n)?n.default:n;c.components[e]=l;const i=(l.__vccOpts||l)[t];return i&&Pe(i,o,a,c,e)()}))}}}var l;return n}function Te(e){return e.matched.every(e=>e.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(e=>e.components&&Promise.all(Object.keys(e.components).reduce((t,o)=>{const a=e.components[o];return"function"!=typeof a||"displayName"in a||t.push(a().then(t=>{if(!t)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${e.path}". Ensure you passed a function that returns a promise.`));const a=r(t)?t.default:t;e.components[o]=a})),t},[])))).then(()=>e)}function Le(e){const t=Object(a.m)(_e),o=Object(a.m)(we),n=Object(a.c)(()=>t.resolve(Object(a.E)(e.to))),r=Object(a.c)(()=>{const{matched:e}=n.value,{length:t}=e,a=e[t-1],r=o.matched;if(!a||!r.length)return-1;const l=r.findIndex(b.bind(null,a));if(l>-1)return l;const c=De(e[t-2]);return t>1&&De(a)===c&&r[r.length-1].path!==c?r.findIndex(b.bind(null,e[t-2])):l}),l=Object(a.c)(()=>r.value>-1&&function(e,t){for(const o in t){const a=t[o],n=e[o];if("string"==typeof a){if(a!==n)return!1}else if(!s(n)||n.length!==a.length||a.some((e,t)=>e!==n[t]))return!1}return!0}(o.params,n.value.params)),c=Object(a.c)(()=>r.value>-1&&r.value===o.matched.length-1&&y(o.params,n.value.params));return{route:n,href:Object(a.c)(()=>n.value.href),isActive:l,isExactActive:c,navigate:function(o={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(o)?t[Object(a.E)(e.replace)?"replace":"push"](Object(a.E)(e.to)).catch(i):Promise.resolve()}}}const Ie=Object(a.j)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Le,setup(e,{slots:t}){const o=Object(a.v)(Le(e)),{options:n}=Object(a.m)(_e),r=Object(a.c)(()=>({[Ve(e.activeClass,n.linkActiveClass,"router-link-active")]:o.isActive,[Ve(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const n=t.default&&t.default(o);return e.custom?n:Object(a.l)("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:r.value},n)}}});function De(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ve=(e,t,o)=>null!=e?e:null!=t?t:o;function He(e,t){if(!e)return null;const o=e(t);return 1===o.length?o[0]:o}const Ye=Object(a.j)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){const n=Object(a.m)(xe),r=Object(a.c)(()=>e.route||n.value),c=Object(a.m)(Oe,0),i=Object(a.c)(()=>{let e=Object(a.E)(c);const{matched:t}=r.value;let o;for(;(o=t[e])&&!o.components;)e++;return e}),s=Object(a.c)(()=>r.value.matched[i.value]);Object(a.u)(Oe,Object(a.c)(()=>i.value+1)),Object(a.u)(je,s),Object(a.u)(xe,r);const d=Object(a.w)();return Object(a.G)(()=>[d.value,s.value,e.name],([e,t,o],[a,n,r])=>{t&&(t.instances[o]=e,n&&n!==t&&e&&e===a&&(t.leaveGuards.size||(t.leaveGuards=n.leaveGuards),t.updateGuards.size||(t.updateGuards=n.updateGuards))),!e||!t||n&&b(t,n)&&a||(t.enterCallbacks[o]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const n=r.value,c=e.name,i=s.value,p=i&&i.components[c];if(!p)return He(o.default,{Component:p,route:n});const u=i.props[c],b=u?!0===u?n.params:"function"==typeof u?u(n):u:null,y=Object(a.l)(p,l({},b,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[c]=null)},ref:d}));return He(o.default,{Component:y,route:n})||y}}});function Be(e){const t=K(e.routes,e),o=e.parseQuery||ge,r=e.stringifyQuery||me,d=e.history;const u=Se(),v=Se(),f=Se(),m=Object(a.C)(I);let h=I;n&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const j=c.bind(null,e=>""+e),O=c.bind(null,ve),A=c.bind(null,fe);function k(e,a){if(a=l({},a||m.value),"string"==typeof e){const n=p(o,e,a.path),r=t.resolve({path:n.path},a),c=d.createHref(n.fullPath);return l(n,r,{params:A(r.params),hash:fe(n.hash),redirectedFrom:void 0,href:c})}let n;if("path"in e)n=l({},e,{path:p(o,e.path,a.path).path});else{const t=l({},e.params);for(const e in t)null==t[e]&&delete t[e];n=l({},e,{params:O(t)}),a.params=O(a.params)}const c=t.resolve(n,a),i=e.hash||"";c.params=j(A(c.params));const s=function(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}(r,l({},e,{hash:(u=i,be(u).replace(se,"{").replace(pe,"}").replace(ce,"^")),path:c.path}));var u;const b=d.createHref(s);return l({fullPath:s,hash:i,query:r===me?he(e.query):e.query||{}},c,{redirectedFrom:void 0,href:b})}function C(e){return"string"==typeof e?p(o,e,m.value.path):l({},e)}function P(e,t){if(h!==e)return H(8,{from:t,to:e})}function E(e){return D(e)}function T(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:o}=t;let a="function"==typeof o?o(e):o;return"string"==typeof a&&(a=a.includes("?")||a.includes("#")?a=C(a):{path:a},a.params={}),l({query:e.query,hash:e.hash,params:"path"in a?{}:e.params},a)}}function D(e,t){const o=h=k(e),a=m.value,n=e.state,c=e.force,i=!0===e.replace,s=T(o);if(s)return D(l(C(s),{state:"object"==typeof s?l({},n,s.state):n,force:c,replace:i}),t||o);const d=o;let p;return d.redirectedFrom=t,!c&&function(e,t,o){const a=t.matched.length-1,n=o.matched.length-1;return a>-1&&a===n&&b(t.matched[a],o.matched[n])&&y(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}(r,a,o)&&(p=H(16,{to:d,from:a}),Q(a,a,!0,!1)),(p?Promise.resolve(p):R(d,a)).catch(e=>Y(e)?Y(e,2)?e:q(e):J(e,d,a)).then(e=>{if(e){if(Y(e,2))return D(l({replace:i},C(e.to),{state:"object"==typeof e.to?l({},n,e.to.state):n,force:c}),t||d)}else e=N(d,a,!0,i,n);return U(d,a,e),e})}function V(e,t){const o=P(e,t);return o?Promise.reject(o):Promise.resolve()}function B(e){const t=$.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function R(e,t){let o;const[a,n,r]=function(e,t){const o=[],a=[],n=[],r=Math.max(t.matched.length,e.matched.length);for(let l=0;lb(e,r))?a.push(r):o.push(r));const c=e.matched[l];c&&(t.matched.find(e=>b(e,c))||n.push(c))}return[o,a,n]}(e,t);o=Ee(a.reverse(),"beforeRouteLeave",e,t);for(const n of a)n.leaveGuards.forEach(a=>{o.push(Pe(a,e,t))});const l=V.bind(null,e,t);return o.push(l),te(o).then(()=>{o=[];for(const a of u.list())o.push(Pe(a,e,t));return o.push(l),te(o)}).then(()=>{o=Ee(n,"beforeRouteUpdate",e,t);for(const a of n)a.updateGuards.forEach(a=>{o.push(Pe(a,e,t))});return o.push(l),te(o)}).then(()=>{o=[];for(const a of r)if(a.beforeEnter)if(s(a.beforeEnter))for(const n of a.beforeEnter)o.push(Pe(n,e,t));else o.push(Pe(a.beforeEnter,e,t));return o.push(l),te(o)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),o=Ee(r,"beforeRouteEnter",e,t),o.push(l),te(o))).then(()=>{o=[];for(const a of v.list())o.push(Pe(a,e,t));return o.push(l),te(o)}).catch(e=>Y(e,8)?e:Promise.reject(e))}function U(e,t,o){f.list().forEach(a=>B(()=>a(e,t,o)))}function N(e,t,o,a,r){const c=P(e,t);if(c)return c;const i=t===I,s=n?history.state:{};o&&(a||i?d.replace(e.fullPath,l({scroll:i&&s&&s.scroll},r)):d.push(e.fullPath,r)),m.value=e,Q(e,t,o,i),q()}let M;function z(){M||(M=d.listen((e,t,o)=>{if(!ee.listening)return;const a=k(e),r=T(a);if(r)return void D(l(r,{replace:!0}),a).catch(i);h=a;const c=m.value;var s,p;n&&(s=x(c.fullPath,o.delta),p=_(),S.set(s,p)),R(a,c).catch(e=>Y(e,12)?e:Y(e,2)?(D(e.to,a).then(e=>{Y(e,20)&&!o.delta&&o.type===g.pop&&d.go(-1,!1)}).catch(i),Promise.reject()):(o.delta&&d.go(-o.delta,!1),J(e,a,c))).then(e=>{(e=e||N(a,c,!1))&&(o.delta&&!Y(e,8)?d.go(-o.delta,!1):o.type===g.pop&&Y(e,20)&&d.go(-1,!1)),U(a,c,e)}).catch(i)}))}let F,W=Se(),G=Se();function J(e,t,o){q(e);const a=G.list();return a.length?a.forEach(a=>a(e,t,o)):console.error(e),Promise.reject(e)}function q(e){return F||(F=!e,z(),W.list().forEach(([t,o])=>e?o(e):t()),W.reset()),e}function Q(t,o,r,l){const{scrollBehavior:c}=e;if(!n||!c)return Promise.resolve();const i=!r&&function(e){const t=S.get(e);return S.delete(e),t}(x(t.fullPath,0))||(l||!r)&&history.state&&history.state.scroll||null;return Object(a.n)().then(()=>c(t,o,i)).then(e=>e&&w(e)).catch(e=>J(e,t,o))}const X=e=>d.go(e);let Z;const $=new Set,ee={currentRoute:m,listening:!0,addRoute:function(e,o){let a,n;return L(e)?(a=t.getRecordMatcher(e),n=o):n=e,t.addRoute(n,a)},removeRoute:function(e){const o=t.getRecordMatcher(e);o&&t.removeRoute(o)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:k,options:e,push:E,replace:function(e){return E(l(C(e),{replace:!0}))},go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:u.add,beforeResolve:v.add,afterEach:f.add,onError:G.add,isReady:function(){return F&&m.value!==I?Promise.resolve():new Promise((e,t)=>{W.add([e,t])})},install(e){e.component("RouterLink",Ie),e.component("RouterView",Ye),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Object(a.E)(m)}),n&&!Z&&m.value===I&&(Z=!0,E(d.location).catch(e=>{0}));const t={};for(const e in I)Object.defineProperty(t,e,{get:()=>m.value[e],enumerable:!0});e.provide(_e,this),e.provide(we,Object(a.B)(t)),e.provide(xe,m);const o=e.unmount;$.add(e),e.unmount=function(){$.delete(e),$.size<1&&(h=I,M&&M(),M=null,m.value=I,Z=!1,F=!1),o()}}};function te(e){return e.reduce((e,t)=>e.then(()=>B(t)),Promise.resolve())}return ee}function Re(){return Object(a.m)(_e)}function Ue(){return Object(a.m)(we)}},"./node_modules/vue/dist/vue.runtime.esm-bundler.js":function(e,t,o){"use strict";o.d(t,"v",(function(){return a.reactive})),o.d(t,"w",(function(){return a.ref})),o.d(t,"B",(function(){return a.shallowReactive})),o.d(t,"C",(function(){return a.shallowRef})),o.d(t,"E",(function(){return a.unref})),o.d(t,"o",(function(){return a.normalizeClass})),o.d(t,"p",(function(){return a.normalizeStyle})),o.d(t,"D",(function(){return a.toDisplayString})),o.d(t,"a",(function(){return a.Fragment})),o.d(t,"b",(function(){return a.KeepAlive})),o.d(t,"c",(function(){return a.computed})),o.d(t,"d",(function(){return a.createBlock})),o.d(t,"e",(function(){return a.createCommentVNode})),o.d(t,"f",(function(){return a.createElementBlock})),o.d(t,"g",(function(){return a.createElementVNode})),o.d(t,"h",(function(){return a.createTextVNode})),o.d(t,"i",(function(){return a.createVNode})),o.d(t,"j",(function(){return a.defineComponent})),o.d(t,"k",(function(){return a.getCurrentInstance})),o.d(t,"l",(function(){return a.h})),o.d(t,"m",(function(){return a.inject})),o.d(t,"n",(function(){return a.nextTick})),o.d(t,"q",(function(){return a.onActivated})),o.d(t,"r",(function(){return a.onDeactivated})),o.d(t,"s",(function(){return a.onUnmounted})),o.d(t,"t",(function(){return a.openBlock})),o.d(t,"u",(function(){return a.provide})),o.d(t,"x",(function(){return a.renderList})),o.d(t,"y",(function(){return a.renderSlot})),o.d(t,"z",(function(){return a.resolveComponent})),o.d(t,"A",(function(){return a.resolveDynamicComponent})),o.d(t,"G",(function(){return a.watch})),o.d(t,"H",(function(){return a.withCtx})),o.d(t,"I",(function(){return a.withDirectives})),o.d(t,"F",(function(){return _})),o.d(t,"J",(function(){return A}));var a=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),n=o("./node_modules/@vue/shared/dist/shared.esm-bundler.js");"undefined"!=typeof document&&document;const r=Symbol("_vtc"),l=(e,{slots:t})=>Object(a.h)(a.BaseTransition,d(e),t);l.displayName="Transition";const c={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},i=(l.props=Object(n.d)({},a.BaseTransitionPropsValidators,c),(e,t=[])=>{Object(n.h)(e)?e.forEach(e=>e(...t)):e&&e(...t)}),s=e=>!!e&&(Object(n.h)(e)?e.some(e=>e.length>1):e.length>1);function d(e){const t={};for(const o in e)o in c||(t[o]=e[o]);if(!1===e.css)return t;const{name:o="v",type:a,duration:r,enterFromClass:l=o+"-enter-from",enterActiveClass:d=o+"-enter-active",enterToClass:v=o+"-enter-to",appearFromClass:g=l,appearActiveClass:m=d,appearToClass:h=v,leaveFromClass:O=o+"-leave-from",leaveActiveClass:_=o+"-leave-active",leaveToClass:w=o+"-leave-to"}=e,x=function(e){if(null==e)return null;if(Object(n.l)(e))return[p(e.enter),p(e.leave)];{const t=p(e);return[t,t]}}(r),S=x&&x[0],A=x&&x[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:P,onLeave:E,onLeaveCancelled:T,onBeforeAppear:L=k,onAppear:I=C,onAppearCancelled:D=P}=t,V=(e,t,o)=>{b(e,t?h:v),b(e,t?m:d),o&&o()},H=(e,t)=>{e._isLeaving=!1,b(e,O),b(e,w),b(e,_),t&&t()},Y=e=>(t,o)=>{const n=e?I:C,r=()=>V(t,e,o);i(n,[t,r]),y(()=>{b(t,e?g:l),u(t,e?h:v),s(n)||f(t,a,S,r)})};return Object(n.d)(t,{onBeforeEnter(e){i(k,[e]),u(e,l),u(e,d)},onBeforeAppear(e){i(L,[e]),u(e,g),u(e,m)},onEnter:Y(!1),onAppear:Y(!0),onLeave(e,t){e._isLeaving=!0;const o=()=>H(e,t);u(e,O),j(),u(e,_),y(()=>{e._isLeaving&&(b(e,O),u(e,w),s(E)||f(e,a,A,o))}),i(E,[e,o])},onEnterCancelled(e){V(e,!1),i(P,[e])},onAppearCancelled(e){V(e,!0),i(D,[e])},onLeaveCancelled(e){H(e),i(T,[e])}})}function p(e){return Object(n.u)(e)}function u(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[r]||(e[r]=new Set)).add(t)}function b(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const o=e[r];o&&(o.delete(t),o.size||(e[r]=void 0))}function y(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let v=0;function f(e,t,o,a){const n=e._endId=++v,r=()=>{n===e._endId&&a()};if(o)return setTimeout(r,o);const{type:l,timeout:c,propCount:i}=g(e,t);if(!l)return a();const s=l+"end";let d=0;const p=()=>{e.removeEventListener(s,u),r()},u=t=>{t.target===e&&++d>=i&&p()};setTimeout(()=>{d(o[e]||"").split(", "),n=a("transitionDelay"),r=a("transitionDuration"),l=m(n,r),c=a("animationDelay"),i=a("animationDuration"),s=m(c,i);let d=null,p=0,u=0;"transition"===t?l>0&&(d="transition",p=l,u=r.length):"animation"===t?s>0&&(d="animation",p=s,u=i.length):(p=Math.max(l,s),d=p>0?l>s?"transition":"animation":null,u=d?"transition"===d?r.length:i.length:0);return{type:d,timeout:p,propCount:u,hasTransform:"transition"===d&&/\b(transform|all)(,|$)/.test(a("transitionProperty").toString())}}function m(e,t){for(;e.lengthh(t)+h(e[o])))}function h(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function j(){return document.body.offsetHeight}const O=Symbol("_vod"),_={beforeMount(e,{value:t},{transition:o}){e[O]="none"===e.style.display?"":e.style.display,o&&t?o.beforeEnter(e):w(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:a}){!t!=!o&&(a?t?(a.beforeEnter(e),w(e,!0),a.enter(e)):a.leave(e,()=>{w(e,!1)}):w(e,t))},beforeUnmount(e,{value:t}){w(e,t)}};function w(e,t){e.style.display=t?e[O]:"none"}Symbol("_vei"); -/*! #__NO_SIDE_EFFECTS__ */ -"undefined"!=typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");Symbol("_assign");const x=["ctrl","shift","alt","meta"],S={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>x.some(o=>e[o+"Key"]&&!t.includes(o))},A=(e,t)=>e._withMods||(e._withMods=(o,...a)=>{for(let e=0;e{e.back()},navigateTo:(t,o)=>{o!==a.value&&(a.value=o,e.replace({path:t.path}))}}},watch:{$route(e){void 0!==e.name?this.subTitle=e.name:this.subTitle=""}}}),c=(o("./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js"));const i=o.n(c)()(l,[["render",function(e,t,o,n,r,l){const c=Object(a.z)("router-view");return Object(a.t)(),Object(a.f)("div",{id:"root"},[Object(a.g)("div",{id:"header"},[Object(a.g)("div",{class:"left-title"},[Object(a.I)(Object(a.g)("img",{id:"back-btn",src:e.backButtonImg,onClick:t[0]||(t[0]=(...t)=>e.goBack&&e.goBack(...t))},null,8,["src"]),[[a.F,!["/","/debug","/remote-debug"].includes(e.currentRoute.path)]]),["/","/debug","/remote-debug"].includes(e.currentRoute.path)?(Object(a.t)(),Object(a.f)("label",{key:0,class:"title"},"Hippy Vue Next")):Object(a.e)("v-if",!0)]),Object(a.g)("label",{class:"title"},Object(a.D)(e.subTitle),1)]),Object(a.g)("div",{class:"body-container",onClick:Object(a.J)(()=>{},["stop"])},[Object(a.e)(" if you don't need keep-alive, just use '' "),Object(a.i)(c,null,{default:Object(a.H)(({Component:e,route:t})=>[(Object(a.t)(),Object(a.d)(a.b,null,[(Object(a.t)(),Object(a.d)(Object(a.A)(e),{key:t.path}))],1024))]),_:1})]),Object(a.g)("div",{class:"bottom-tabs"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.tabs,(t,o)=>(Object(a.t)(),Object(a.f)("div",{key:"tab-"+o,class:Object(a.o)(["bottom-tab",o===e.activatedTab?"activated":""]),onClick:Object(a.J)(a=>e.navigateTo(t,o),["stop"])},[Object(a.g)("span",{class:"bottom-tab-text"},Object(a.D)(t.text),1)],10,["onClick"]))),128))])])}]]);t.a=i},"./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css")},"./src/assets/defaultSource.jpg":function(e,t,o){e.exports=o.p+"assets/defaultSource.jpg"},"./src/assets/hippyLogoWhite.png":function(e,t,o){e.exports=o.p+"assets/hippyLogoWhite.png"},"./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css")},"./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css")},"./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css")},"./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css")},"./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css")},"./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css")},"./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css")},"./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css")},"./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css")},"./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css")},"./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css")},"./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css")},"./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css")},"./src/components/demo/demoTurbo.ts":function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return r})),o.d(t,"d",(function(){return n})),o.d(t,"c",(function(){return l})),o.d(t,"e",(function(){return c})),o.d(t,"f",(function(){return a})),o.d(t,"g",(function(){return d})),o.d(t,"h",(function(){return s})),o.d(t,"i",(function(){return p}));const a=t=>e.getTurboModule("demoTurbo").getString(t),n=t=>e.getTurboModule("demoTurbo").getNum(t),r=t=>e.getTurboModule("demoTurbo").getBoolean(t),l=t=>e.getTurboModule("demoTurbo").getMap(t),c=t=>e.getTurboModule("demoTurbo").getObject(t),i=t=>e.getTurboModule("demoTurbo").getArray(t),s=async t=>e.turboPromise(e.getTurboModule("demoTurbo").nativeWithPromise)(t),d=()=>e.getTurboModule("demoTurbo").getTurboConfig(),p=t=>e.getTurboModule("demoTurbo").printTurboConfig(t)}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css")},"./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css")},"./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css")},"./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css")},"./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css")},"./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css")},"./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css")},"./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css")},"./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css")},"./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css")},"./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css")},"./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css")},"./src/main-native.ts":function(e,t,o){"use strict";o.r(t),function(e){var t=o("../../packages/hippy-vue-next/dist/index.js"),a=o("./src/app.vue"),n=o("./src/routes.ts"),r=o("./src/util.ts");e.Hippy.on("uncaughtException",e=>{console.log("uncaughtException error",e.stack,e.message)}),e.Hippy.on("unhandledRejection",e=>{console.log("unhandledRejection reason",e)});const l=Object(t.createApp)(a.a,{appName:"Demo",iPhone:{statusBar:{backgroundColor:4283416717}},trimWhitespace:!0}),c=Object(n.a)();l.use(c),t.EventBus.$on("onSizeChanged",e=>{e.width&&e.height&&Object(t.setScreenSize)({width:e.width,height:e.height})});l.$start().then(({superProps:e,rootViewId:o})=>{Object(r.b)({superProps:e,rootViewId:o}),c.push("/"),t.BackAndroid.addListener(()=>(console.log("backAndroid"),!0)),l.mount("#root")})}.call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css")},"./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css")},"./src/routes.ts":function(e,t,o){"use strict";o.d(t,"a",(function(){return ht}));var a=o("./node_modules/@hippy/vue-router-next-history/dist/index.js"),n=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var r=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),l=Object(r.defineComponent)({setup(){const e=Object(r.ref)(!1),t=Object(r.ref)(!1),o=Object(r.ref)(!1);Object(r.onActivated)(()=>{console.log(Date.now()+"-button-activated")}),Object(r.onDeactivated)(()=>{console.log(Date.now()+"-button-Deactivated")});return{isClicked:e,isPressing:t,isOnceClicked:o,onClickView:()=>{e.value=!e.value},onTouchBtnStart:e=>{console.log("onBtnTouchDown",e)},onTouchBtnMove:e=>{console.log("onBtnTouchMove",e)},onTouchBtnEnd:e=>{console.log("onBtnTouchEnd",e)},onClickViewOnce:()=>{o.value=!o.value}}}}),c=(o("./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js")),i=o.n(c);var s=i()(l,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"button-demo"},[Object(n.g)("label",{class:"button-label"},"按钮和状态绑定"),Object(n.g)("button",{class:Object(n.o)([{"is-active":e.isClicked,"is-pressing":e.isPressing},"button-demo-1"]),onTouchstart:t[0]||(t[0]=Object(n.J)((...t)=>e.onTouchBtnStart&&e.onTouchBtnStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(n.J)((...t)=>e.onTouchBtnMove&&e.onTouchBtnMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(n.J)((...t)=>e.onTouchBtnEnd&&e.onTouchBtnEnd(...t),["stop"])),onClick:t[3]||(t[3]=(...t)=>e.onClickView&&e.onClickView(...t))},[e.isClicked?(Object(n.t)(),Object(n.f)("span",{key:0,class:"button-text"},"视图已经被点击了,再点一下恢复")):(Object(n.t)(),Object(n.f)("span",{key:1,class:"button-text"},"视图尚未点击"))],34),Object(n.I)(Object(n.g)("img",{alt:"demo1-image",src:"https://user-images.githubusercontent.com/12878546/148737148-d0b227cb-69c8-4b21-bf92-739fb0c3f3aa.png",class:"button-demo-1-image"},null,512),[[n.F,e.isClicked]])])}],["__scopeId","data-v-05797918"]]),d=o("./node_modules/@babel/runtime/helpers/defineProperty.js"),p=o.n(d);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}return o}function b(e){for(var t=1;th},positionY:{type:Number,default:0}},setup(e){const{positionY:t}=Object(r.toRefs)(e),o=Object(r.ref)(null),a=Object(r.ref)(t.value);let n=0,l=0;Object(r.watch)(t,e=>{a.value=e});return{scrollOffsetY:e.positionY,demo1Style:h,ripple1:o,onLayout:()=>{o.value&&y.Native.measureInAppWindow(o.value).then(e=>{n=e.left,l=e.top})},onTouchStart:e=>{const t=e.touches[0];o.value&&(o.value.setHotspot(t.clientX-n,t.clientY+a.value-l),o.value.setPressed(!0))},onTouchEnd:()=>{o.value&&o.value.setPressed(!1)}}}});var O=i()(j,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{ref:"ripple1",style:Object(n.p)(e.wrapperStyle),nativeBackgroundAndroid:m({},e.nativeBackgroundAndroid),onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t)),onTouchstart:t[1]||(t[1]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t)),onTouchcancel:t[3]||(t[3]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},[Object(n.y)(e.$slots,"default")],44,["nativeBackgroundAndroid"])}]]);const _=e=>{console.log("onScroll",e)},w=e=>{console.log("onMomentumScrollBegin",e)},x=e=>{console.log("onMomentumScrollEnd",e)},S=e=>{console.log("onScrollBeginDrag",e)},A=e=>{console.log("onScrollEndDrag",e)};var k=Object(r.defineComponent)({components:{DemoRippleDiv:O},setup(){const e=Object(r.ref)(0),t=Object(r.ref)(null);return Object(r.onActivated)(()=>{console.log(Date.now()+"-div-activated")}),Object(r.onDeactivated)(()=>{console.log(Date.now()+"-div-Deactivated")}),Object(r.onMounted)(()=>{t.value&&t.value.scrollTo(50,0,1e3)}),{demo2:t,demo1Style:{display:"flex",height:"40px",width:"200px",backgroundImage:""+f.a,backgroundRepeat:"no-repeat",justifyContent:"center",alignItems:"center",marginTop:"10px",marginBottom:"10px"},imgRectangle:{width:"260px",height:"56px",alignItems:"center",justifyContent:"center"},imgRectangleExtra:{marginTop:"20px",backgroundImage:""+f.a,backgroundSize:"cover",backgroundRepeat:"no-repeat"},circleRipple:{marginTop:"30px",width:"150px",height:"56px",alignItems:"center",justifyContent:"center",borderWidth:"3px",borderStyle:"solid",borderColor:"#40b883"},squareRipple:{marginBottom:"20px",alignItems:"center",justifyContent:"center",width:"150px",height:"150px",backgroundColor:"#40b883",marginTop:"30px",borderRadius:"12px",overflow:"hidden"},Native:y.Native,offsetY:e,onScroll:_,onMomentumScrollBegin:w,onMomentumScrollEnd:x,onScrollBeginDrag:S,onScrollEndDrag:A,onOuterScroll:t=>{e.value=t.offsetY}}}});o("./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css");var C=i()(k,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("demo-ripple-div");return Object(n.t)(),Object(n.f)("div",{id:"div-demo",onScroll:t[5]||(t[5]=(...t)=>e.onOuterScroll&&e.onOuterScroll(...t))},[Object(n.g)("div",null,["ios"!==e.Native.Platform?(Object(n.t)(),Object(n.f)("div",{key:0},[Object(n.g)("label",null,"水波纹效果: "),Object(n.g)("div",{style:Object(n.p)(b(b({},e.imgRectangle),e.imgRectangleExtra))},[Object(n.i)(c,{"position-y":e.offsetY,"wrapper-style":e.imgRectangle,"native-background-android":{borderless:!0,color:"#666666"}},{default:Object(n.H)(()=>[Object(n.g)("p",{style:{color:"white",maxWidth:200}}," 外层背景图,内层无边框水波纹,受外层影响始终有边框 ")]),_:1},8,["position-y","wrapper-style"])],4),Object(n.i)(c,{"position-y":e.offsetY,"wrapper-style":e.circleRipple,"native-background-android":{borderless:!0,color:"#666666",rippleRadius:100}},{default:Object(n.H)(()=>[Object(n.g)("p",{style:{color:"black",textAlign:"center"}}," 无边框圆形水波纹 ")]),_:1},8,["position-y","wrapper-style"]),Object(n.i)(c,{"position-y":e.offsetY,"wrapper-style":e.squareRipple,"native-background-android":{borderless:!1,color:"#666666"}},{default:Object(n.H)(()=>[Object(n.g)("p",{style:{color:"#fff"}}," 带背景色水波纹 ")]),_:1},8,["position-y","wrapper-style"])])):Object(n.e)("v-if",!0),Object(n.g)("label",null,"背景图效果:"),Object(n.g)("div",{style:Object(n.p)(e.demo1Style),accessible:!0,"aria-label":"背景图","aria-disabled":!1,"aria-selected":!0,"aria-checked":!1,"aria-expanded":!1,"aria-busy":!0,role:"image","aria-valuemax":10,"aria-valuemin":1,"aria-valuenow":5,"aria-valuetext":"middle"},[Object(n.g)("p",{class:"div-demo-1-text"}," Hippy 背景图展示 ")],4),Object(n.g)("label",null,"渐变色效果:"),Object(n.g)("div",{class:"div-demo-1-1"},[Object(n.g)("p",{class:"div-demo-1-text"}," Hippy 背景渐变色展示 ")]),Object(n.g)("label",null,"Transform"),Object(n.g)("div",{class:"div-demo-transform"},[Object(n.g)("p",{class:"div-demo-transform-text"}," Transform ")]),Object(n.g)("label",null,"水平滚动:"),Object(n.g)("div",{ref:"demo2",class:"div-demo-2",bounces:!0,scrollEnabled:!0,pagingEnabled:!1,showsHorizontalScrollIndicator:!1,onScroll:t[0]||(t[0]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[1]||(t[1]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[2]||(t[2]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[3]||(t[3]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[4]||(t[4]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[Object(n.e)(" div 带着 overflow 属性的,只能有一个子节点,否则终端会崩溃 "),Object(n.g)("div",{class:"display-flex flex-row"},[Object(n.g)("p",{class:"text-block"}," A "),Object(n.g)("p",{class:"text-block"}," B "),Object(n.g)("p",{class:"text-block"}," C "),Object(n.g)("p",{class:"text-block"}," D "),Object(n.g)("p",{class:"text-block"}," E ")])],544),Object(n.g)("label",null,"垂直滚动:"),Object(n.g)("div",{class:"div-demo-3",showsVerticalScrollIndicator:!1},[Object(n.g)("div",{class:"display-flex flex-column"},[Object(n.g)("p",{class:"text-block"}," A "),Object(n.g)("p",{class:"text-block"}," B "),Object(n.g)("p",{class:"text-block"}," C "),Object(n.g)("p",{class:"text-block"}," D "),Object(n.g)("p",{class:"text-block"}," E ")])])])],32)}],["__scopeId","data-v-fe0428e4"]]);var P=Object(r.defineComponent)({components:{AsyncComponentFromLocal:Object(r.defineAsyncComponent)(async()=>o.e(1).then(o.bind(null,"./src/components/demo/dynamicImport/async-component-local.vue"))),AsyncComponentFromHttp:Object(r.defineAsyncComponent)(async()=>o.e(0).then(o.bind(null,"./src/components/demo/dynamicImport/async-component-http.vue")))},setup(){const e=Object(r.ref)(!1);return{loaded:e,onClickLoadAsyncComponent:()=>{e.value=!0}}}});o("./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css");var E=i()(P,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("AsyncComponentFromLocal"),i=Object(n.z)("AsyncComponentFromHttp");return Object(n.t)(),Object(n.f)("div",{id:"demo-dynamicimport",onClick:t[0]||(t[0]=Object(n.J)((...t)=>e.onClickLoadAsyncComponent&&e.onClickLoadAsyncComponent(...t),["stop"]))},[Object(n.g)("div",{class:"import-btn"},[Object(n.g)("p",null,"点我异步加载")]),e.loaded?(Object(n.t)(),Object(n.f)("div",{key:0,class:"async-com-wrapper"},[Object(n.i)(c,{class:"async-component-outer-local"}),Object(n.i)(i)])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-0fa9b63f"]]);var T=Object(r.defineComponent)({setup(){const e=Object(r.ref)("https://hippyjs.org"),t=Object(r.ref)("https://hippyjs.org"),o=Object(r.ref)(null),a=Object(r.ref)(null),n=t=>{t&&(e.value=t.value)};return{targetUrl:e,displayUrl:t,iframeStyle:{"min-height":y.Native?100:"100vh"},input:o,iframe:a,onLoad:o=>{let{url:n}=o;void 0===n&&a.value&&(n=a.value.src),n&&n!==e.value&&(t.value=n)},onKeyUp:e=>{13===e.keyCode&&(e.preventDefault(),o.value&&n(o.value))},goToUrl:n,onLoadStart:e=>{const{url:t}=e;console.log("onLoadStart",t)},onLoadEnd:e=>{const{url:t,success:o,error:a}=e;console.log("onLoadEnd",t,o,a)}}}});o("./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css");var L=i()(T,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"iframe-demo",style:Object(n.p)(e.iframeStyle)},[Object(n.g)("label",null,"地址栏:"),Object(n.g)("input",{id:"address",ref:"input",name:"targetUrl",returnKeyType:"go",value:e.displayUrl,"on:endEditing":t[0]||(t[0]=(...t)=>e.goToUrl&&e.goToUrl(...t)),onKeyup:t[1]||(t[1]=(...t)=>e.onKeyUp&&e.onKeyUp(...t))},null,40,["value"]),Object(n.g)("iframe",{id:"iframe",ref:e.iframe,src:e.targetUrl,method:"get",onLoad:t[2]||(t[2]=(...t)=>e.onLoad&&e.onLoad(...t)),"on:loadStart":t[3]||(t[3]=(...t)=>e.onLoadStart&&e.onLoadStart(...t)),"on:loadEnd":t[4]||(t[4]=(...t)=>e.onLoadEnd&&e.onLoadEnd(...t))},null,40,["src"])],4)}]]);var I=o("./src/assets/hippyLogoWhite.png"),D=o.n(I),V=Object(r.defineComponent)({setup(){const e=Object(r.ref)({});return{defaultImage:f.a,hippyLogoImage:D.a,gifLoadResult:e,onTouchEnd:e=>{console.log("onTouchEnd",e),e.stopPropagation(),console.log(e)},onTouchMove:e=>{console.log("onTouchMove",e),e.stopPropagation(),console.log(e)},onTouchStart:e=>{console.log("onTouchDown",e),e.stopPropagation()},onLoad:t=>{console.log("onLoad",t);const{width:o,height:a,url:n}=t;e.value={width:o,height:a,url:n}}}}});o("./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css");var H=i()(V,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"demo-img"},[Object(n.g)("div",{id:"demo-img-container"},[Object(n.g)("label",null,"Contain:"),Object(n.g)("img",{alt:"",src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",placeholder:e.defaultImage,class:"image contain",onTouchstart:t[0]||(t[0]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchmove:t[1]||(t[1]=(...t)=>e.onTouchMove&&e.onTouchMove(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},null,40,["placeholder"]),Object(n.g)("label",null,"Cover:"),Object(n.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover"},null,8,["placeholder"]),Object(n.g)("label",null,"Center:"),Object(n.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image center"},null,8,["placeholder"]),Object(n.g)("label",null,"CapInsets:"),Object(n.g)("img",{placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover",capInsets:{top:50,left:50,bottom:50,right:50}},null,8,["placeholder"]),Object(n.g)("label",null,"TintColor:"),Object(n.g)("img",{src:e.hippyLogoImage,class:"image center tint-color"},null,8,["src"]),Object(n.g)("label",null,"Gif:"),Object(n.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",class:"image cover",onLoad:t[3]||(t[3]=(...t)=>e.onLoad&&e.onLoad(...t))},null,40,["placeholder"]),Object(n.g)("div",{class:"img-result"},[Object(n.g)("p",null,"Load Result: "+Object(n.D)(e.gifLoadResult),1)])])])}],["__scopeId","data-v-25c66a4a"]]);const Y=e=>{e.stopPropagation()},B=e=>{console.log(e.value)},R=e=>{console.log("onKeyboardWillShow",e)},U=()=>{console.log("onKeyboardWillHide")};var N=Object(r.defineComponent)({setup(){const e=Object(r.ref)(null),t=Object(r.ref)(null),o=Object(r.ref)(""),a=Object(r.ref)(""),n=Object(r.ref)(!1),l=()=>{if(e.value){const t=e.value;if(t.childNodes.length){let e=t.childNodes;return e=e.filter(e=>"input"===e.tagName),e}}return[]};Object(r.onMounted)(()=>{Object(r.nextTick)(()=>{const e=l();e.length&&e[0].focus()})});return{input:t,inputDemo:e,text:o,event:a,isFocused:n,blur:e=>{e.stopPropagation(),t.value&&t.value.blur()},clearTextContent:()=>{o.value=""},focus:e=>{e.stopPropagation(),t.value&&t.value.focus()},blurAllInput:()=>{const e=l();e.length&&e.map(e=>(e.blur(),!0))},onKeyboardWillShow:R,onKeyboardWillHide:U,stopPropagation:Y,textChange:B,onChange:e=>{null!=e&&e.value&&(o.value=e.value)},onBlur:async()=>{t.value&&(n.value=await t.value.isFocused(),a.value="onBlur")},onFocus:async()=>{t.value&&(n.value=await t.value.isFocused(),a.value="onFocus")}}}});o("./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css");var M=i()(N,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{ref:"inputDemo",class:"demo-input",onClick:t[15]||(t[15]=Object(n.J)((...t)=>e.blurAllInput&&e.blurAllInput(...t),["stop"]))},[Object(n.g)("label",null,"文本:"),Object(n.g)("input",{ref:"input",placeholder:"Text","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",editable:!0,class:"input",value:e.text,onChange:t[0]||(t[0]=t=>e.text=t.value),onClick:t[1]||(t[1]=(...t)=>e.stopPropagation&&e.stopPropagation(...t)),"on:keyboardWillShow":t[2]||(t[2]=(...t)=>e.onKeyboardWillShow&&e.onKeyboardWillShow(...t)),"on:keyboardWillHide":t[3]||(t[3]=(...t)=>e.onKeyboardWillHide&&e.onKeyboardWillHide(...t)),onBlur:t[4]||(t[4]=(...t)=>e.onBlur&&e.onBlur(...t)),onFocus:t[5]||(t[5]=(...t)=>e.onFocus&&e.onFocus(...t))},null,40,["value"]),Object(n.g)("div",null,[Object(n.g)("span",null,"文本内容为:"),Object(n.g)("span",null,Object(n.D)(e.text),1)]),Object(n.g)("div",null,[Object(n.g)("span",null,Object(n.D)(`事件: ${e.event} | isFocused: ${e.isFocused}`),1)]),Object(n.g)("button",{class:"input-button",onClick:t[6]||(t[6]=Object(n.J)((...t)=>e.clearTextContent&&e.clearTextContent(...t),["stop"]))},[Object(n.g)("span",null,"清空文本内容")]),Object(n.g)("button",{class:"input-button",onClick:t[7]||(t[7]=Object(n.J)((...t)=>e.focus&&e.focus(...t),["stop"]))},[Object(n.g)("span",null,"Focus")]),Object(n.g)("button",{class:"input-button",onClick:t[8]||(t[8]=Object(n.J)((...t)=>e.blur&&e.blur(...t),["stop"]))},[Object(n.g)("span",null,"Blur")]),Object(n.g)("label",null,"数字:"),Object(n.g)("input",{type:"number","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Number",class:"input",onChange:t[9]||(t[9]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[10]||(t[10]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(n.g)("label",null,"密码:"),Object(n.g)("input",{type:"password","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Password",class:"input",onChange:t[11]||(t[11]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[12]||(t[12]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(n.g)("label",null,"文本(限制5个字符):"),Object(n.g)("input",{maxlength:5,"caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"5 个字符",class:"input",onChange:t[13]||(t[13]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[14]||(t[14]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32)],512)}],["__scopeId","data-v-ebfef7c0"]]);const z=[{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5}],F=e=>{console.log("onAppear",e)},W=e=>{console.log("onDisappear",e)},K=e=>{console.log("onWillAppear",e)},G=e=>{console.log("onWillDisappear",e)},J=e=>{console.log("momentumScrollBegin",e)},q=e=>{console.log("momentumScrollEnd",e)},Q=e=>{console.log("onScrollBeginDrag",e)},X=e=>{console.log("onScrollEndDrag",e)};var Z=Object(r.defineComponent)({setup(){const e=Object(r.ref)(""),t=Object(r.ref)([]),o=Object(r.ref)(null),a=Object(r.ref)(!1);let n=!1;let l=!1;return Object(r.onMounted)(()=>{n=!1,t.value=[...z]}),{loadingState:e,dataSource:t,delText:"Delete",list:o,STYLE_LOADING:100,horizontal:a,Platform:y.Native.Platform,onAppear:F,onDelete:e=>{void 0!==e.index&&t.value.splice(e.index,1)},onDisappear:W,onEndReached:async o=>{if(console.log("endReached",o),n)return;const a=t.value;n=!0,e.value="Loading now...",t.value=[...a,[{style:100}]];const r=await(async()=>new Promise(e=>{setTimeout(()=>e(z),600)}))();t.value=[...a,...r],n=!1},onWillAppear:K,onWillDisappear:G,changeDirection:()=>{a.value=!a.value},onScroll:e=>{console.log("onScroll",e.offsetY),e.offsetY<=0?l||(l=!0,console.log("onTopReached")):l=!1},onMomentumScrollBegin:J,onMomentumScrollEnd:q,onScrollBeginDrag:Q,onScrollEndDrag:X}}});o("./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css");var $=i()(Z,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"demo-list"},[Object(n.g)("ul",{id:"list",ref:"list",style:Object(n.p)(e.horizontal&&{height:50,flex:0}),horizontal:e.horizontal,exposureEventEnabled:!0,delText:e.delText,editable:!0,bounces:!0,rowShouldSticky:!0,overScrollEnabled:!0,scrollEventThrottle:1e3,"on:endReached":t[0]||(t[0]=(...t)=>e.onEndReached&&e.onEndReached(...t)),onDelete:t[1]||(t[1]=(...t)=>e.onDelete&&e.onDelete(...t)),onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[3]||(t[3]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[4]||(t[4]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[5]||(t[5]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[6]||(t[6]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,(t,o)=>(Object(n.t)(),Object(n.f)("li",{key:o,class:Object(n.o)(e.horizontal&&"item-horizontal-style"),type:t.style,sticky:1===o,onAppear:t=>e.onAppear(o),onDisappear:t=>e.onDisappear(o),"on:willAppear":t=>e.onWillAppear(o),"on:willDisappear":t=>e.onWillDisappear(o)},[1===t.style?(Object(n.t)(),Object(n.f)("div",{key:0,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{numberOfLines:1},Object(n.D)(o+": Style 1 UI"),1)])])):2===t.style?(Object(n.t)(),Object(n.f)("div",{key:1,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{numberOfLines:1},Object(n.D)(o+": Style 2 UI"),1)])])):5===t.style?(Object(n.t)(),Object(n.f)("div",{key:2,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{numberOfLines:1},Object(n.D)(o+": Style 5 UI"),1)])])):(Object(n.t)(),Object(n.f)("div",{key:3,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{id:"loading"},Object(n.D)(e.loadingState),1)])])),o!==e.dataSource.length-1?(Object(n.t)(),Object(n.f)("div",{key:4,class:"separator-line"})):Object(n.e)("v-if",!0)],42,["type","sticky","onAppear","onDisappear","on:willAppear","on:willDisappear"]))),128))],44,["horizontal","delText"]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:0,style:{position:"absolute",right:20,bottom:20,width:67,height:67,borderRadius:30,boxShadowOpacity:.6,boxShadowRadius:5,boxShadowOffsetX:3,boxShadowOffsetY:3,boxShadowColor:"#40b883"},onClick:t[7]||(t[7]=(...t)=>e.changeDirection&&e.changeDirection(...t))},[Object(n.g)("div",{style:{width:60,height:60,borderRadius:30,backgroundColor:"#40b883",display:"flex",justifyContent:"center",alignItems:"center"}},[Object(n.g)("p",{style:{color:"white"}}," 切换方向 ")])])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-75193fb0"]]);var ee=Object(r.defineComponent)({setup(){const e=Object(r.ref)(""),t=Object(r.ref)(0),o=Object(r.ref)({numberOfLines:2,ellipsizeMode:"tail"}),a=Object(r.ref)({textShadowOffset:{x:1,y:1},textShadowOffsetX:1,textShadowOffsetY:1,textShadowRadius:3,textShadowColor:"grey"}),n=Object(r.ref)("simple");return{img1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEXRSTlMA9QlZEMPc2Mmmj2VkLEJ4Rsx+pEgAAAChSURBVCjPjVLtEsMgCDOAdbbaNu//sttVPes+zvGD8wgQCLp/TORbUGMAQtQ3UBeSAMlF7/GV9Cmb5eTJ9R7H1t4bOqLE3rN2UCvvwpLfarhILfDjJL6WRKaXfzxc84nxAgLzCGSGiwKwsZUB8hPorZwUV1s1cnGKw+yAOrnI+7hatNIybl9Q3OkBfzopCw6SmDVJJiJ+yD451OS0/TNM7QnuAAbvCG0TSAAAAABJRU5ErkJggg==",img2:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAA\n AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEnRSTlMA/QpX7WQU2m27pi3Ej9KEQXaD5HhjAAAAqklEQVQoz41\n SWxLDIAh0RcFXTHL/yzZSO01LMpP9WJEVUNA9gfdXTioCSKE/kQQTQmf/ArRYva+xAcuPP37seFII2L7FN4BmXdHzlEPIpDHiZ0A7eIViPc\n w2QwqipkvMSdNEFBUE1bmMNOyE7FyFaIkAP4jHhhG80lvgkzBODTKpwhRMcexuR7fXzcp08UDq6GRbootp4oRtO3NNpd4NKtnR9hB6oaefw\n eIFQU0EfnGDRoQAAAAASUVORK5CYII=",img3:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",labelTouchStatus:e,textMode:o,textShadow:a,textShadowIndex:t,Platform:y.Native.Platform,breakStrategy:n,onTouchTextEnd:t=>{e.value="touch end",console.log("onTextTouchEnd",t),console.log(t)},onTouchTextMove:t=>{e.value="touch move",console.log("onTextTouchMove",t),console.log(t)},onTouchTextStart:t=>{e.value="touch start",console.log("onTextTouchDown",t)},decrementLine:()=>{o.value.numberOfLines>1&&(o.value.numberOfLines-=1)},incrementLine:()=>{o.value.numberOfLines<6&&(o.value.numberOfLines+=1)},changeMode:e=>{o.value.ellipsizeMode=e},changeTextShadow:()=>{a.value.textShadowOffsetX=t.value%2==1?10:1,a.value.textShadowColor=t.value%2==1?"red":"grey",t.value+=1},changeBreakStrategy:e=>{n.value=e}}}});o("./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css");var te=i()(ee,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"p-demo"},[Object(n.g)("div",null,[Object(n.g)("label",null,"不带样式:"),Object(n.g)("p",{class:"p-demo-content",onTouchstart:t[0]||(t[0]=Object(n.J)((...t)=>e.onTouchTextStart&&e.onTouchTextStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(n.J)((...t)=>e.onTouchTextMove&&e.onTouchTextMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(n.J)((...t)=>e.onTouchTextEnd&&e.onTouchTextEnd(...t),["stop"]))}," 这是最普通的一行文字 ",32),Object(n.g)("p",{class:"p-demo-content-status"}," 当前touch状态: "+Object(n.D)(e.labelTouchStatus),1),Object(n.g)("label",null,"颜色:"),Object(n.g)("p",{class:"p-demo-1 p-demo-content"}," 这行文字改变了颜色 "),Object(n.g)("label",null,"尺寸:"),Object(n.g)("p",{class:"p-demo-2 p-demo-content"}," 这行改变了大小 "),Object(n.g)("label",null,"粗体:"),Object(n.g)("p",{class:"p-demo-3 p-demo-content"}," 这行加粗了 "),Object(n.g)("label",null,"下划线:"),Object(n.g)("p",{class:"p-demo-4 p-demo-content"}," 这里有条下划线 "),Object(n.g)("label",null,"删除线:"),Object(n.g)("p",{class:"p-demo-5 p-demo-content"}," 这里有条删除线 "),Object(n.g)("label",null,"自定义字体:"),Object(n.g)("p",{class:"p-demo-6 p-demo-content"}," 腾讯字体 Hippy "),Object(n.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold"}}," 腾讯字体 Hippy 粗体 "),Object(n.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-style":"italic"}}," 腾讯字体 Hippy 斜体 "),Object(n.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold","font-style":"italic"}}," 腾讯字体 Hippy 粗斜体 "),Object(n.g)("label",null,"文字阴影:"),Object(n.g)("p",{class:"p-demo-7 p-demo-content",style:Object(n.p)(e.textShadow),onClick:t[3]||(t[3]=(...t)=>e.changeTextShadow&&e.changeTextShadow(...t))}," 这里是文字灰色阴影,点击可改变颜色 ",4),Object(n.g)("label",null,"文本字符间距"),Object(n.g)("p",{class:"p-demo-8 p-demo-content",style:{"margin-bottom":"5px"}}," Text width letter-spacing -1 "),Object(n.g)("p",{class:"p-demo-9 p-demo-content",style:{"margin-top":"5px"}}," Text width letter-spacing 5 "),Object(n.g)("label",null,"字体 style:"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"font-style":"normal"}}," font-style: normal "),Object(n.g)("p",{style:{"font-style":"italic"}}," font-style: italic "),Object(n.g)("p",null,"font-style: [not set]")]),Object(n.g)("label",null,"numberOfLines="+Object(n.D)(e.textMode.numberOfLines)+" | ellipsizeMode="+Object(n.D)(e.textMode.ellipsizeMode),1),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},[Object(n.g)("span",{style:{"font-size":"19px",color:"white"}},"先帝创业未半而中道崩殂,今天下三分,益州疲弊,此诚危急存亡之秋也。"),Object(n.g)("span",null,"然侍卫之臣不懈于内,忠志之士忘身于外者,盖追先帝之殊遇,欲报之于陛下也。")],8,["numberOfLines","ellipsizeMode"]),Object(n.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},Object(n.D)("line 1\n\nline 3\n\nline 5"),8,["numberOfLines","ellipsizeMode"]),Object(n.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5,fontSize:14}},[Object(n.g)("img",{style:{width:24,height:24},src:e.img1},null,8,["src"]),Object(n.g)("img",{style:{width:24,height:24},src:e.img2},null,8,["src"])],8,["numberOfLines","ellipsizeMode"]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[4]||(t[4]=(...t)=>e.incrementLine&&e.incrementLine(...t))},[Object(n.g)("span",null,"加一行")]),Object(n.g)("button",{class:"button",onClick:t[5]||(t[5]=(...t)=>e.decrementLine&&e.decrementLine(...t))},[Object(n.g)("span",null,"减一行")])]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[6]||(t[6]=()=>e.changeMode("clip"))},[Object(n.g)("span",null,"clip")]),Object(n.g)("button",{class:"button",onClick:t[7]||(t[7]=()=>e.changeMode("head"))},[Object(n.g)("span",null,"head")]),Object(n.g)("button",{class:"button",onClick:t[8]||(t[8]=()=>e.changeMode("middle"))},[Object(n.g)("span",null,"middle")]),Object(n.g)("button",{class:"button",onClick:t[9]||(t[9]=()=>e.changeMode("tail"))},[Object(n.g)("span",null,"tail")])])]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("label",{key:0},"break-strategy="+Object(n.D)(e.breakStrategy),1)):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:1,class:"p-demo-content"},[Object(n.g)("p",{"break-strategy":e.breakStrategy,style:{borderWidth:1,borderColor:"gray"}},Object(n.D)(e.longText),9,["break-strategy"]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[10]||(t[10]=Object(n.J)(()=>e.changeBreakStrategy("simple"),["stop"]))},[Object(n.g)("span",null,"simple")]),Object(n.g)("button",{class:"button",onClick:t[11]||(t[11]=Object(n.J)(()=>e.changeBreakStrategy("high_quality"),["stop"]))},[Object(n.g)("span",null,"high_quality")]),Object(n.g)("button",{class:"button",onClick:t[12]||(t[12]=Object(n.J)(()=>e.changeBreakStrategy("balanced"),["stop"]))},[Object(n.g)("span",null,"balanced")])])])):Object(n.e)("v-if",!0),Object(n.g)("label",null,"vertical-align"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img3},null,8,["src"]),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"top"}},"字"),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"middle"}},"字"),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"baseline"}},"字"),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"bottom"}},"字")]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:0}," legacy mode: ")):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:1,style:{lineHeight:"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12","vertical-alignment":"1"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12","vertical-alignment":"2"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24","vertical-alignment":"3"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24",top:"-10"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12",top:"-5"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24",top:"5"},src:e.img3},null,8,["src"]),Object(n.g)("span",{style:{"font-size":"16"}},"字"),Object(n.g)("span",{style:{"font-size":"16"}},"字"),Object(n.g)("span",{style:{"font-size":"16"}},"字"),Object(n.g)("span",{style:{"font-size":"16"}},"字")])):Object(n.e)("v-if",!0)]),Object(n.g)("label",null,"tint-color & background-color"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(n.g)("span",{style:{"vertical-align":"middle","background-color":"#99f"}},"text")]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:0}," legacy mode: ")):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:1,style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","background-color":"#ccc"},src:e.img2},null,8,["src"])])):Object(n.e)("v-if",!0)]),Object(n.g)("label",null,"margin"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"top","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"baseline","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"bottom","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:0}," legacy mode: ")):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:1,style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"1","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"2","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"3","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])])):Object(n.e)("v-if",!0)])])])}],["__scopeId","data-v-34e2123c"]]);var oe=Object(r.defineComponent)({setup:()=>({Platform:y.Native.Platform})});o("./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css");var ae=i()(oe,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"shadow-demo"},["android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:0,class:"no-offset-shadow-demo-cube-android"},[Object(n.g)("div",{class:"no-offset-shadow-demo-content-android"},[Object(n.g)("p",null,"没有偏移阴影样式")])])):Object(n.e)("v-if",!0),"ios"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:1,class:"no-offset-shadow-demo-cube-ios"},[Object(n.g)("div",{class:"no-offset-shadow-demo-content-ios"},[Object(n.g)("p",null,"没有偏移阴影样式")])])):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:2,class:"offset-shadow-demo-cube-android"},[Object(n.g)("div",{class:"offset-shadow-demo-content-android"},[Object(n.g)("p",null,"偏移阴影样式")])])):Object(n.e)("v-if",!0),"ios"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:3,class:"offset-shadow-demo-cube-ios"},[Object(n.g)("div",{class:"offset-shadow-demo-content-ios"},[Object(n.g)("p",null,"偏移阴影样式")])])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-19ab3f2d"]]);var ne=Object(r.defineComponent)({setup(){const e=Object(r.ref)("The quick brown fox jumps over the lazy dog,快灰狐狸跳过了懒 🐕。"),t=Object(r.ref)("simple");return{content:e,breakStrategy:t,Platform:y.Native.Platform,longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",contentSizeChange:e=>{console.log(e)},changeBreakStrategy:e=>{t.value=e}}}});o("./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css");var re=i()(ne,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"demo-textarea"},[Object(n.g)("label",null,"多行文本:"),Object(n.g)("textarea",{value:e.content,rows:10,placeholder:"多行文本编辑器",class:"textarea",onChange:t[0]||(t[0]=t=>e.content=t.value),"on:contentSizeChange":t[1]||(t[1]=(...t)=>e.contentSizeChange&&e.contentSizeChange(...t))},null,40,["value"]),Object(n.g)("div",{class:"output-container"},[Object(n.g)("p",{class:"output"}," 输入的文本为:"+Object(n.D)(e.content),1)]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("label",{key:0},"break-strategy="+Object(n.D)(e.breakStrategy),1)):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:1},[Object(n.g)("textarea",{class:"textarea",defaultValue:e.longText,"break-strategy":e.breakStrategy},null,8,["defaultValue","break-strategy"]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[2]||(t[2]=()=>e.changeBreakStrategy("simple"))},[Object(n.g)("span",null,"simple")]),Object(n.g)("button",{class:"button",onClick:t[3]||(t[3]=()=>e.changeBreakStrategy("high_quality"))},[Object(n.g)("span",null,"high_quality")]),Object(n.g)("button",{class:"button",onClick:t[4]||(t[4]=()=>e.changeBreakStrategy("balanced"))},[Object(n.g)("span",null,"balanced")])])])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-6d6167b3"]]);var le=o("./src/components/demo/demoTurbo.ts"),ce=Object(r.defineComponent)({setup(){let e=null;const t=Object(r.ref)("");return{result:t,funList:["getString","getNum","getBoolean","getMap","getObject","getArray","nativeWithPromise","getTurboConfig","printTurboConfig","getInfo","setInfo"],onTurboFunc:async o=>{if("nativeWithPromise"===o)t.value=await Object(le.h)("aaa");else if("getTurboConfig"===o)e=Object(le.g)(),t.value="获取到config对象";else if("printTurboConfig"===o){var a;t.value=Object(le.i)(null!==(a=e)&&void 0!==a?a:Object(le.g)())}else if("getInfo"===o){var n;t.value=(null!==(n=e)&&void 0!==n?n:Object(le.g)()).getInfo()}else if("setInfo"===o){var r;(null!==(r=e)&&void 0!==r?r:Object(le.g)()).setInfo("Hello World"),t.value="设置config信息成功"}else{const e={getString:()=>Object(le.f)("123"),getNum:()=>Object(le.d)(1024),getBoolean:()=>Object(le.b)(!0),getMap:()=>Object(le.c)(new Map([["a","1"],["b","2"]])),getObject:()=>Object(le.e)({c:"3",d:"4"}),getArray:()=>Object(le.a)(["a","b","c"])};t.value=e[o]()}}}}});o("./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css");var ie=i()(ce,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"demo-turbo"},[Object(n.g)("span",{class:"result"},Object(n.D)(e.result),1),Object(n.g)("ul",{style:{flex:"1"}},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.funList,t=>(Object(n.t)(),Object(n.f)("li",{key:t,class:"cell"},[Object(n.g)("div",{class:"contentView"},[Object(n.g)("div",{class:"func-info"},[Object(n.g)("span",{numberOfLines:0},"函数名:"+Object(n.D)(t),1)]),Object(n.g)("span",{class:"action-button",onClick:Object(n.J)(()=>e.onTurboFunc(t),["stop"])},"运行",8,["onClick"])])]))),128))])])}]]);let se=null;const de=Object(r.ref)([]),pe=e=>{de.value.unshift(e)},ue=()=>{se&&1===se.readyState&&se.close()};var be=Object(r.defineComponent)({setup(){const e=Object(r.ref)(null),t=Object(r.ref)(null);return{output:de,inputUrl:e,inputMessage:t,connect:()=>{const t=e.value;t&&t.getValue().then(e=>{(e=>{ue(),se=new WebSocket(e),se.onopen=()=>{var e;return pe("[Opened] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onclose=()=>{var e;return pe("[Closed] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onerror=e=>{pe("[Error] "+e.reason)},se.onmessage=e=>pe("[Received] "+e.data)})(e)})},disconnect:()=>{ue()},sendMessage:()=>{const e=t.value;e&&e.getValue().then(e=>{(e=>{pe("[Sent] "+e),se&&se.send(e)})(e)})}}}});o("./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css");var ye={demoDiv:{name:"div 组件",component:C},demoShadow:{name:"box-shadow",component:ae},demoP:{name:"p 组件",component:te},demoButton:{name:"button 组件",component:s},demoImg:{name:"img 组件",component:H},demoInput:{name:"input 组件",component:M},demoTextarea:{name:"textarea 组件",component:re},demoUl:{name:"ul/li 组件",component:$},demoIFrame:{name:"iframe 组件",component:L},demoWebSocket:{name:"WebSocket",component:i()(be,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"websocket-demo"},[Object(n.g)("div",null,[Object(n.g)("p",{class:"demo-title"}," Url: "),Object(n.g)("input",{ref:"inputUrl",value:"wss://echo.websocket.org"},null,512),Object(n.g)("div",{class:"row"},[Object(n.g)("button",{onClick:t[0]||(t[0]=Object(n.J)((...t)=>e.connect&&e.connect(...t),["stop"]))},[Object(n.g)("span",null,"Connect")]),Object(n.g)("button",{onClick:t[1]||(t[1]=Object(n.J)((...t)=>e.disconnect&&e.disconnect(...t),["stop"]))},[Object(n.g)("span",null,"Disconnect")])])]),Object(n.g)("div",null,[Object(n.g)("p",{class:"demo-title"}," Message: "),Object(n.g)("input",{ref:"inputMessage",value:"Rock it with Hippy WebSocket"},null,512),Object(n.g)("button",{onClick:t[2]||(t[2]=Object(n.J)((...t)=>e.sendMessage&&e.sendMessage(...t),["stop"]))},[Object(n.g)("span",null,"Send")])]),Object(n.g)("div",null,[Object(n.g)("p",{class:"demo-title"}," Log: "),Object(n.g)("div",{class:"output fullscreen"},[Object(n.g)("div",null,[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.output,(e,t)=>(Object(n.t)(),Object(n.f)("p",{key:t},Object(n.D)(e),1))),128))])])])])}],["__scopeId","data-v-99a0fc74"]])},demoDynamicImport:{name:"DynamicImport",component:E},demoTurbo:{name:"Turbo",component:ie}};var ve=Object(r.defineComponent)({setup(){const e=Object(r.ref)(null),t=Object(r.ref)(0),o=Object(r.ref)(0);Object(r.onMounted)(()=>{o.value=y.Native.Dimensions.screen.width});return{demoOnePointRef:e,demon2Left:t,screenWidth:o,onTouchDown1:t=>{const a=t.touches[0].clientX-40;console.log("touchdown x",a,o.value),e.value&&e.value.setNativeProps({style:{left:a}})},onTouchDown2:e=>{t.value=e.touches[0].clientX-40,console.log("touchdown x",t.value,o.value)},onTouchMove1:t=>{const a=t.touches[0].clientX-40;console.log("touchmove x",a,o.value),e.value&&e.value.setNativeProps({style:{left:a}})},onTouchMove2:e=>{t.value=e.touches[0].clientX-40,console.log("touchmove x",t.value,o.value)}}}});o("./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css");var fe=i()(ve,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"set-native-props-demo"},[Object(n.g)("label",null,"setNativeProps实现拖动效果"),Object(n.g)("div",{class:"native-demo-1-drag",style:Object(n.p)({width:e.screenWidth}),onTouchstart:t[0]||(t[0]=Object(n.J)((...t)=>e.onTouchDown1&&e.onTouchDown1(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(n.J)((...t)=>e.onTouchMove1&&e.onTouchMove1(...t),["stop"]))},[Object(n.g)("div",{ref:"demoOnePointRef",class:"native-demo-1-point"},null,512)],36),Object(n.g)("div",{class:"splitter"}),Object(n.g)("label",null,"普通渲染实现拖动效果"),Object(n.g)("div",{class:"native-demo-2-drag",style:Object(n.p)({width:e.screenWidth}),onTouchstart:t[2]||(t[2]=Object(n.J)((...t)=>e.onTouchDown2&&e.onTouchDown2(...t),["stop"])),onTouchmove:t[3]||(t[3]=Object(n.J)((...t)=>e.onTouchMove2&&e.onTouchMove2(...t),["stop"]))},[Object(n.g)("div",{class:"native-demo-2-point",style:Object(n.p)({left:e.demon2Left+"px"})},null,4)],36)])}],["__scopeId","data-v-4521f010"]]);const ge={backgroundColor:[{startValue:"#40b883",toValue:"yellow",valueType:"color",duration:1e3,delay:0,mode:"timing",timingFunction:"linear"},{startValue:"yellow",toValue:"#40b883",duration:1e3,valueType:"color",delay:0,mode:"timing",timingFunction:"linear",repeatCount:-1}]};var me=Object(r.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup:()=>({colorActions:ge})});o("./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css");var he=i()(me,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationView",playing:e.playing,actions:e.colorActions,class:"color-green"},{default:Object(n.H)(()=>[Object(n.g)("div",{class:"color-white"},[Object(n.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-35b77823"]]);const je={transform:{translateX:[{startValue:50,toValue:150,duration:1e3,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"},{startValue:150,toValue:50,duration:1e3,repeatCount:-1,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"}]}};var Oe=Object(r.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup(e){const t=Object(r.ref)(null);return Object(r.onMounted)(()=>{e.onRef&&e.onRef(t.value)}),{animationView:t,loopActions:je}}});o("./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css");var _e=i()(Oe,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationView",playing:e.playing,actions:e.loopActions,class:"loop-green"},{default:Object(n.H)(()=>[Object(n.g)("div",{class:"loop-white"},[Object(n.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-0ffc52dc"]]);const we={transform:{translateX:{startValue:0,toValue:200,duration:2e3,repeatCount:-1}}},xe={transform:{translateY:{startValue:0,toValue:50,duration:2e3,repeatCount:-1}}};var Se=Object(r.defineComponent)({props:{playing:Boolean,direction:{type:String,default:""},onRef:{type:Function,default:()=>{}}},emits:["actionsDidUpdate"],setup(e){const{direction:t}=Object(r.toRefs)(e),o=Object(r.ref)(""),a=Object(r.ref)(null);return Object(r.watch)(t,e=>{switch(e){case"horizon":o.value=we;break;case"vertical":o.value=xe;break;default:throw new Error("direction must be defined in props")}},{immediate:!0}),Object(r.onMounted)(()=>{e.onRef&&e.onRef(a.value)}),{loopActions:o,animationLoop:a}}});o("./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css");var Ae=i()(Se,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationLoop",playing:e.playing,actions:e.loopActions,class:"loop-green",onActionsDidUpdate:t[0]||(t[0]=t=>e.$emit("actionsDidUpdate"))},{default:Object(n.H)(()=>[Object(n.g)("div",{class:"loop-white"},[Object(n.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-54047ca5"]]);const ke={transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},Ce={transform:{translateX:[{startValue:10,toValue:1,duration:250,timingFunction:"linear"},{startValue:1,toValue:10,duration:250,delay:750,timingFunction:"linear",repeatCount:-1}]}};var Pe=Object(r.defineComponent)({props:{isChanged:{type:Boolean,default:!0}},setup(e){const t=Object(r.ref)(null),o=Object(r.ref)({face:ke,downVoteFace:{left:[{startValue:16,toValue:10,delay:250,duration:125},{startValue:10,toValue:24,duration:250},{startValue:24,toValue:10,duration:250},{startValue:10,toValue:16,duration:125}],transform:{scale:[{startValue:1,toValue:1.3,duration:250,timingFunction:"linear"},{startValue:1.3,toValue:1,delay:750,duration:250,timingFunction:"linear"}]}}}),{isChanged:a}=Object(r.toRefs)(e);return Object(r.watch)(a,(e,a)=>{!a&&e?(console.log("changed to face2"),o.value.face=Ce):a&&!e&&(console.log("changed to face1"),o.value.face=ke),setTimeout(()=>{t.value&&t.value.start()},10)}),{animationRef:t,imgs:{downVoteFace:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAXVBMVEUAAACmaCCoaSKlZyCmaCCoaiG0byOlZyCmaCGnaSKmaCCmZyClZyCmaCCmaSCybyymZyClaCGlaCGnaCCnaSGnaiOlZyKocCXMmTOmaCKnaCKmaSClZyGoZyClZyDPYmTmAAAAHnRSTlMA6S/QtjYO+FdJ4tyZbWYH7cewgTw5JRQFkHFfXk8vbZ09AAAAiUlEQVQY07WQRxLDMAhFPyq21dxLKvc/ZoSiySTZ+y3g8YcFA5wFcOkHYEi5QDkknparH5EZKS6GExQLs0RzUQUY6VYiK2ayNIapQ6EjNk2xd616Bi5qIh2fn8BqroS1XtPmgYKXxo+y07LuDrH95pm3LBM5FMpHWg2osOOLjRR6hR/WOw780bwASN0IT3NosMcAAAAASUVORK5CYII="},animations:o,animationStart:()=>{console.log("animation-start callback")},animationEnd:()=>{console.log("animation-end callback")},animationRepeat:()=>{console.log("animation-repeat callback")},animationCancel:()=>{console.log("animation-cancel callback")}}}});o("./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css");var Ee=i()(Pe,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationRef",actions:e.animations.face,class:"vote-face",playing:"",onStart:e.animationStart,onEnd:e.animationEnd,onRepeat:e.animationRepeat,onCancel:e.animationCancel},null,8,["actions","onStart","onEnd","onRepeat","onCancel"]),Object(n.i)(c,{tag:"img",class:"vote-down-face",playing:"",props:{src:e.imgs.downVoteFace},actions:e.animations.downVoteFace},null,8,["props","actions"])])}],["__scopeId","data-v-7020ef76"]]);var Te=Object(r.defineComponent)({setup:()=>({imgs:{upVoteEye:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAFCAYAAABIHbx0AAAAAXNSR0IArs4c6QAAAQdJREFUGBljZACCVeVK/L8//m9i/P/flIGR8ZgwD2+9e8+lryA5dLCzRI/77ZfPjQz//1v9Z2Q8zcrPWBfWee8j45mZxqw3z709BdRgANPEyMhwLFIiwZaxoeEfTAxE/29oYFr+YsHh//8ZrJDEL6gbCZsxO8pwJP9nYEhFkgAxZS9/vXxj3Zn3V5DF1TQehwNdUogsBmRLvH/x4zHLv///PRgZGH/9Z2TYzsjAANT4Xxko6c/A8M8DSK9A1sQIFPvPwPibkeH/VmAQXAW6TAWo3hdkBgsTE9Pa/2z/s6In3n8J07SsWE2E4esfexgfRgMt28rBwVEZPOH6c5jYqkJtod/ff7gBAOnFYtdEXHPzAAAAAElFTkSuQmCC",upVoteMouth:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAARCAMAAACLgl7OAAAA4VBMVEUAAACobCawciy0f0OmaSOmaSKlaCCmZyCmaCGpayO2hEmpbiq3hUuweTqscjCmaCGmZyCmZyClaCCmaCCmaSGoaCL///+vdzimaCGmaCKmaSKlZyGmaCGmaCGnaCGnaCGnaCGmaCKscCW/gEDDmmm9j1m6ilSnaSOmaSGqcCylZyGrcCymZyClaCGnaCKmaSCqaiumbyH///+lZyDTtJDawKLLp37XupmyfT/+/v3o18XfybDJo3jBlWP8+vf48+z17uXv49bq3Mv28Ony6N3x59zbwqXSs5DQsIrNqoK5h0+BlvpqAAAAMnRSTlMA/Qv85uChjIMl/f38/Pv4zq6nl04wAfv18tO7tXx0Y1tGEQT+/v3b1q+Ui35sYj8YF964s/kAAADySURBVCjPddLHVsJgEIbhL6QD6Qldqr2bgfTQ7N7/Bckv6omYvItZPWcWcwbTC+f6dqLWcFBNvRsPZekKNeKI1RFMS3JkRZEdyTKFDrEaNACMt3i9TcP3KOLb+g5zepuPoiBMk6elr0mAkPlfBQs253M2F4G/j5OBPl8NNjQGhrSqBCHdAx6lleCkB6AlNqvAho6wa0RJBTjuThmYifVlKUjYApZLWRl41M9/7qtQ+B+sml0V37VsCuID8KwZE+BXKFTPiyB75QQPxVyR+Jf1HsTbvEH2A/42G50Raaf1j7zZIMPyUJJ6Y/d7ojm4dAvf8QkUbUjwOwWDwQAAAABJRU5ErkJggg=="},animations:{face:{transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},upVoteEye:{top:[{startValue:14,toValue:8,delay:250,duration:125},{startValue:8,toValue:14,duration:250},{startValue:14,toValue:8,duration:250},{startValue:8,toValue:14,duration:125}],transform:{scale:[{startValue:1.2,toValue:1.4,duration:250,timingFunction:"linear"},{startValue:1.4,toValue:1.2,delay:750,duration:250,timingFunction:"linear"}]}},upVoteMouth:{bottom:[{startValue:9,toValue:14,delay:250,duration:125},{startValue:14,toValue:9,duration:250},{startValue:9,toValue:14,duration:250},{startValue:14,toValue:9,duration:125}],transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,delay:750,duration:250,timingFunction:"linear"}],scaleY:[{startValue:.725,delay:250,toValue:1.45,duration:125},{startValue:1.45,toValue:.87,duration:250},{startValue:.87,toValue:1.45,duration:250},{startValue:1.45,toValue:1,duration:125}]}}}})});o("./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css");var Le=i()(Te,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{actions:e.animations.face,class:"vote-face",playing:""},null,8,["actions"]),Object(n.i)(c,{tag:"img",class:"vote-up-eye",playing:"",props:{src:e.imgs.upVoteEye},actions:e.animations.upVoteEye},null,8,["props","actions"]),Object(n.i)(c,{tag:"img",class:"vote-up-mouth",playing:"",props:{src:e.imgs.upVoteMouth},actions:e.animations.upVoteMouth},null,8,["props","actions"])])}],["__scopeId","data-v-0dd85e5f"]]),Ie=Object(r.defineComponent)({components:{Loop:Ae,colorComponent:he,CubicBezier:_e},setup(){const e=Object(r.ref)(!0),t=Object(r.ref)(!0),o=Object(r.ref)(!0),a=Object(r.ref)("horizon"),n=Object(r.ref)(!0),l=Object(r.ref)(null),c=Object(r.shallowRef)(Le);return{loopPlaying:e,colorPlaying:t,cubicPlaying:o,direction:a,voteComponent:c,colorComponent:he,isChanged:n,animationRef:l,voteUp:()=>{c.value=Le},voteDown:()=>{c.value=Ee,n.value=!n.value},onRef:e=>{l.value=e},toggleLoopPlaying:()=>{e.value=!e.value},toggleColorPlaying:()=>{t.value=!t.value},toggleCubicPlaying:()=>{o.value=!o.value},toggleDirection:()=>{a.value="horizon"===a.value?"vertical":"horizon"},actionsDidUpdate:()=>{Object(r.nextTick)().then(()=>{console.log("actions updated & startAnimation"),l.value&&l.value.start()})}}}});o("./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css");var De=i()(Ie,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("loop"),i=Object(n.z)("color-component"),s=Object(n.z)("cubic-bezier");return Object(n.t)(),Object(n.f)("ul",{id:"animation-demo"},[Object(n.g)("li",null,[Object(n.g)("label",null,"控制动画"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.toggleLoopPlaying&&e.toggleLoopPlaying(...t))},[e.loopPlaying?(Object(n.t)(),Object(n.f)("span",{key:0},"暂停")):(Object(n.t)(),Object(n.f)("span",{key:1},"播放"))]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.toggleDirection&&e.toggleDirection(...t))},["horizon"===e.direction?(Object(n.t)(),Object(n.f)("span",{key:0},"切换为纵向")):(Object(n.t)(),Object(n.f)("span",{key:1},"切换为横向"))])]),Object(n.g)("div",{style:{height:"150px"}},[Object(n.i)(c,{playing:e.loopPlaying,direction:e.direction,"on-ref":e.onRef,onActionsDidUpdate:e.actionsDidUpdate},{default:Object(n.H)(()=>[Object(n.g)("p",null,"I'm a looping animation")]),_:1},8,["playing","direction","on-ref","onActionsDidUpdate"])])]),Object(n.g)("li",null,[Object(n.g)("div",{style:{"margin-top":"10px"}}),Object(n.g)("label",null,"点赞笑脸动画:"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[2]||(t[2]=(...t)=>e.voteUp&&e.voteUp(...t))},[Object(n.g)("span",null,"点赞 👍")]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[3]||(t[3]=(...t)=>e.voteDown&&e.voteDown(...t))},[Object(n.g)("span",null,"踩 👎")])]),Object(n.g)("div",{class:"vote-face-container center"},[(Object(n.t)(),Object(n.d)(Object(n.A)(e.voteComponent),{class:"vote-icon","is-changed":e.isChanged},null,8,["is-changed"]))])]),Object(n.g)("li",null,[Object(n.g)("div",{style:{"margin-top":"10px"}}),Object(n.g)("label",null,"渐变色动画"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[4]||(t[4]=(...t)=>e.toggleColorPlaying&&e.toggleColorPlaying(...t))},[e.colorPlaying?(Object(n.t)(),Object(n.f)("span",{key:0},"暂停")):(Object(n.t)(),Object(n.f)("span",{key:1},"播放"))])]),Object(n.g)("div",null,[Object(n.i)(i,{playing:e.colorPlaying},{default:Object(n.H)(()=>[Object(n.g)("p",null,"背景色渐变")]),_:1},8,["playing"])])]),Object(n.g)("li",null,[Object(n.g)("div",{style:{"margin-top":"10px"}}),Object(n.g)("label",null,"贝塞尔曲线动画"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[5]||(t[5]=(...t)=>e.toggleCubicPlaying&&e.toggleCubicPlaying(...t))},[e.cubicPlaying?(Object(n.t)(),Object(n.f)("span",{key:0},"暂停")):(Object(n.t)(),Object(n.f)("span",{key:1},"播放"))])]),Object(n.g)("div",null,[Object(n.i)(s,{playing:e.cubicPlaying},{default:Object(n.H)(()=>[Object(n.g)("p",null,"cubic-bezier(.45,2.84,.38,.5)")]),_:1},8,["playing"])])])])}],["__scopeId","data-v-4fa3f0c0"]]);var Ve=o("./node_modules/vue-router/dist/vue-router.mjs");const He=["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"];var Ye=Object(r.defineComponent)({setup(){const e=Object(r.ref)(!1),t=Object(r.ref)(!1),o=Object(r.ref)("fade"),a=Object(r.ref)(!1),n=Object(r.ref)(!1),l=Object(r.ref)(!1);return Object(Ve.onBeforeRouteLeave)((t,o,a)=>{e.value||a()}),{supportedOrientations:He,dialogIsVisible:e,dialog2IsVisible:t,dialogAnimationType:o,immersionStatusBar:a,autoHideStatusBar:n,autoHideNavigationBar:l,stopPropagation:e=>{e.stopPropagation()},onClose:o=>{o.stopPropagation(),t.value?t.value=!1:e.value=!1,console.log("Dialog is closing")},onShow:()=>{console.log("Dialog is opening")},onClickView:(t="")=>{e.value=!e.value,o.value=t},onClickOpenSecond:e=>{e.stopPropagation(),t.value=!t.value},onClickDialogConfig:e=>{switch(e){case"hideStatusBar":n.value=!n.value;break;case"immerseStatusBar":a.value=!a.value;break;case"hideNavigationBar":l.value=!l.value}}}}});o("./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css");var Be=i()(Ye,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"dialog-demo"},[Object(n.g)("label",null,"显示或者隐藏对话框:"),Object(n.g)("button",{class:"dialog-demo-button-1",onClick:t[0]||(t[0]=Object(n.J)(()=>e.onClickView("slide"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"显示对话框--slide")]),Object(n.g)("button",{class:"dialog-demo-button-1",onClick:t[1]||(t[1]=Object(n.J)(()=>e.onClickView("fade"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"显示对话框--fade")]),Object(n.g)("button",{class:"dialog-demo-button-1",onClick:t[2]||(t[2]=Object(n.J)(()=>e.onClickView("slide_fade"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"显示对话框--slide_fade")]),Object(n.g)("button",{style:Object(n.p)([{borderColor:e.autoHideStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[3]||(t[3]=Object(n.J)(()=>e.onClickDialogConfig("hideStatusBar"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"隐藏状态栏")],4),Object(n.g)("button",{style:Object(n.p)([{borderColor:e.immersionStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[4]||(t[4]=Object(n.J)(()=>e.onClickDialogConfig("immerseStatusBar"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"沉浸式状态栏")],4),Object(n.g)("button",{style:Object(n.p)([{borderColor:e.autoHideNavigationBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[5]||(t[5]=Object(n.J)(()=>e.onClickDialogConfig("hideNavigationBar"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"隐藏导航栏")],4),Object(n.e)(" dialog can't support v-show, can only use v-if for explicit switching "),e.dialogIsVisible?(Object(n.t)(),Object(n.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,supportedOrientations:e.supportedOrientations,immersionStatusBar:e.immersionStatusBar,autoHideStatusBar:e.autoHideStatusBar,autoHideNavigationBar:e.autoHideNavigationBar,onShow:t[11]||(t[11]=(...t)=>e.onShow&&e.onShow(...t)),"on:requestClose":t[12]||(t[12]=(...t)=>e.onClose&&e.onClose(...t))},[Object(n.e)(" dialog on iOS platform can only have one child node "),Object(n.g)("div",{class:"dialog-demo-wrapper"},[Object(n.g)("div",{class:"fullscreen center row",onClick:t[10]||(t[10]=(...t)=>e.onClickView&&e.onClickView(...t))},[Object(n.g)("div",{class:"dialog-demo-close-btn center column",onClick:t[7]||(t[7]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},[Object(n.g)("p",{class:"dialog-demo-close-btn-text"}," 点击空白区域关闭 "),Object(n.g)("button",{class:"dialog-demo-button-2",onClick:t[6]||(t[6]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(n.g)("span",{class:"button-text"},"点击打开二级全屏弹窗")])]),e.dialog2IsVisible?(Object(n.t)(),Object(n.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,"on:requestClose":t[9]||(t[9]=(...t)=>e.onClose&&e.onClose(...t))},[Object(n.g)("div",{class:"dialog-2-demo-wrapper center column row",onClick:t[8]||(t[8]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(n.g)("p",{class:"dialog-demo-close-btn-text",style:{color:"white"}}," Hello 我是二级全屏弹窗,点击任意位置关闭。 ")])],40,["animationType"])):Object(n.e)("v-if",!0)])])],40,["animationType","supportedOrientations","immersionStatusBar","autoHideStatusBar","autoHideNavigationBar"])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-cfef1922"]]);var Re=o("./src/util.ts");let Ue;var Ne=Object(r.defineComponent)({setup(){const e=Object(r.ref)("ready to set"),t=Object(r.ref)(""),o=Object(r.ref)("ready to set"),a=Object(r.ref)(""),n=Object(r.ref)(""),l=Object(r.ref)("正在获取..."),c=Object(r.ref)(""),i=Object(r.ref)(""),s=Object(r.ref)(""),d=Object(r.ref)(null),p=Object(r.ref)("请求网址中..."),u=Object(r.ref)("ready to set"),b=Object(r.ref)(""),v=Object(r.ref)(0);return Object(r.onMounted)(()=>{s.value=JSON.stringify(Object(Re.a)()),y.Native.NetInfo.fetch().then(e=>{l.value=e}),Ue=y.Native.NetInfo.addEventListener("change",e=>{l.value="收到通知: "+e.network_info}),fetch("https://hippyjs.org",{mode:"no-cors"}).then(e=>{p.value="成功状态: "+e.status}).catch(e=>{p.value="收到错误: "+e}),y.EventBus.$on("testEvent",()=>{v.value+=1})}),{Native:y.Native,rect1:c,rect2:i,rectRef:d,storageValue:a,storageSetStatus:o,clipboardString:e,clipboardValue:t,imageSize:n,netInfoText:l,superProps:s,fetchText:p,cookieString:u,cookiesValue:b,getSize:async()=>{const e=await y.Native.ImageLoader.getSize("https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png");console.log("ImageLoader getSize",e),n.value=`${e.width}x${e.height}`},setItem:()=>{y.Native.AsyncStorage.setItem("itemKey","hippy"),o.value='set "hippy" value succeed'},getItem:async()=>{const e=await y.Native.AsyncStorage.getItem("itemKey");a.value=e||"undefined"},removeItem:()=>{y.Native.AsyncStorage.removeItem("itemKey"),o.value='remove "hippy" value succeed'},setString:()=>{y.Native.Clipboard.setString("hippy"),e.value='clipboard set "hippy" value succeed'},getString:async()=>{const e=await y.Native.Clipboard.getString();t.value=e||"undefined"},setCookie:()=>{y.Native.Cookie.set("https://hippyjs.org","name=hippy;network=mobile"),u.value="'name=hippy;network=mobile' is set"},getCookie:()=>{y.Native.Cookie.getAll("https://hippyjs.org").then(e=>{b.value=e})},getBoundingClientRect:async(e=!1)=>{try{const t=await y.Native.getBoundingClientRect(d.value,{relToContainer:e});e?i.value=""+JSON.stringify(t):c.value=""+JSON.stringify(t)}catch(e){console.error("getBoundingClientRect error",e)}},triggerAppEvent:()=>{y.EventBus.$emit("testEvent")},eventTriggeredTimes:v}},beforeDestroy(){Ue&&y.Native.NetInfo.removeEventListener("change",Ue),y.EventBus.$off("testEvent")}});o("./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css");var Me=i()(Ne,[["render",function(e,t,o,a,r,l){var c,i;return Object(n.t)(),Object(n.f)("div",{id:"demo-vue-native",ref:"rectRef"},[Object(n.g)("div",null,[Object(n.e)(" platform "),e.Native.Platform?(Object(n.t)(),Object(n.f)("div",{key:0,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Platform"),Object(n.g)("p",null,Object(n.D)(e.Native.Platform),1)])):Object(n.e)("v-if",!0),Object(n.e)(" device name "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Device"),Object(n.g)("p",null,Object(n.D)(e.Native.Device),1)]),Object(n.e)(" Is it an iPhone X "),e.Native.isIOS()?(Object(n.t)(),Object(n.f)("div",{key:1,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.isIPhoneX"),Object(n.g)("p",null,Object(n.D)(e.Native.isIPhoneX),1)])):Object(n.e)("v-if",!0),Object(n.e)(" OS version, currently only available for iOS, other platforms return null "),e.Native.isIOS()?(Object(n.t)(),Object(n.f)("div",{key:2,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.OSVersion"),Object(n.g)("p",null,Object(n.D)(e.Native.OSVersion||"null"),1)])):Object(n.e)("v-if",!0),Object(n.e)(" Internationalization related information "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Localization"),Object(n.g)("p",null,Object(n.D)("国际化相关信息")),Object(n.g)("p",null,Object(n.D)("国家 "+(null===(c=e.Native.Localization)||void 0===c?void 0:c.country)),1),Object(n.g)("p",null,Object(n.D)("语言 "+(null===(i=e.Native.Localization)||void 0===i?void 0:i.language)),1),Object(n.g)("p",null,Object(n.D)("方向 "+(1===e.Native.Localization.direction?"RTL":"LTR")),1)]),Object(n.e)(" API version, currently only available for Android, other platforms return null "),e.Native.isAndroid()?(Object(n.t)(),Object(n.f)("div",{key:3,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.APILevel"),Object(n.g)("p",null,Object(n.D)(e.Native.APILevel||"null"),1)])):Object(n.e)("v-if",!0),Object(n.e)(" Whether the screen is vertically displayed "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.screenIsVertical"),Object(n.g)("p",null,Object(n.D)(e.Native.screenIsVertical),1)]),Object(n.e)(" width of window "),e.Native.Dimensions.window.width?(Object(n.t)(),Object(n.f)("div",{key:4,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.width"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.window.width),1)])):Object(n.e)("v-if",!0),Object(n.e)(" The height of the window, it should be noted that both platforms include the status bar. "),Object(n.e)(" Android will start drawing from the first pixel below the status bar. "),e.Native.Dimensions.window.height?(Object(n.t)(),Object(n.f)("div",{key:5,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.height"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.window.height),1)])):Object(n.e)("v-if",!0),Object(n.e)(" width of screen "),e.Native.Dimensions.screen.width?(Object(n.t)(),Object(n.f)("div",{key:6,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.width"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.width),1)])):Object(n.e)("v-if",!0),Object(n.e)(" height of screen "),e.Native.Dimensions.screen.height?(Object(n.t)(),Object(n.f)("div",{key:7,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.height"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.height),1)])):Object(n.e)("v-if",!0),Object(n.e)(" the pt value of a pixel "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.OnePixel"),Object(n.g)("p",null,Object(n.D)(e.Native.OnePixel),1)]),Object(n.e)(" Android Navigation Bar Height "),e.Native.Dimensions.screen.navigatorBarHeight?(Object(n.t)(),Object(n.f)("div",{key:8,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(n.e)("v-if",!0),Object(n.e)(" height of status bar "),e.Native.Dimensions.screen.statusBarHeight?(Object(n.t)(),Object(n.f)("div",{key:9,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.statusBarHeight"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.statusBarHeight),1)])):Object(n.e)("v-if",!0),Object(n.e)(" android virtual navigation bar height "),e.Native.isAndroid()&&void 0!==e.Native.Dimensions.screen.navigatorBarHeight?(Object(n.t)(),Object(n.f)("div",{key:10,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight(Android only)"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(n.e)("v-if",!0),Object(n.e)(" The startup parameters passed from the native "),e.superProps?(Object(n.t)(),Object(n.f)("div",{key:11,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"afterCallback of $start method contain superProps"),Object(n.g)("p",null,Object(n.D)(e.superProps),1)])):Object(n.e)("v-if",!0),Object(n.e)(" A demo of Native Event,Just show how to use "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"App event"),Object(n.g)("div",null,[Object(n.g)("button",{class:"event-btn",onClick:t[0]||(t[0]=(...t)=>e.triggerAppEvent&&e.triggerAppEvent(...t))},[Object(n.g)("span",{class:"event-btn-text"},"Trigger app event")]),Object(n.g)("div",{class:"event-btn-result"},[Object(n.g)("p",null,"Event triggered times: "+Object(n.D)(e.eventTriggeredTimes),1)])])]),Object(n.e)(" example of measuring the size of an element "),Object(n.g)("div",{ref:"measure-block",class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.getBoundingClientRect"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[1]||(t[1]=()=>e.getBoundingClientRect(!1))},[Object(n.g)("span",null,"relative to App")]),Object(n.g)("span",{style:{"max-width":"200px"}},Object(n.D)(e.rect1),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[2]||(t[2]=()=>e.getBoundingClientRect(!0))},[Object(n.g)("span",null,"relative to Container")]),Object(n.g)("span",{style:{"max-width":"200px"}},Object(n.D)(e.rect2),1)])],512),Object(n.e)(" local storage "),e.Native.AsyncStorage?(Object(n.t)(),Object(n.f)("div",{key:12,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"AsyncStorage 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[3]||(t[3]=(...t)=>e.setItem&&e.setItem(...t))},[Object(n.g)("span",null,"setItem")]),Object(n.g)("span",null,Object(n.D)(e.storageSetStatus),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[4]||(t[4]=(...t)=>e.removeItem&&e.removeItem(...t))},[Object(n.g)("span",null,"removeItem")]),Object(n.g)("span",null,Object(n.D)(e.storageSetStatus),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[5]||(t[5]=(...t)=>e.getItem&&e.getItem(...t))},[Object(n.g)("span",null,"getItem")]),Object(n.g)("span",null,Object(n.D)(e.storageValue),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" ImageLoader "),e.Native.ImageLoader?(Object(n.t)(),Object(n.f)("div",{key:13,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"ImageLoader 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[6]||(t[6]=(...t)=>e.getSize&&e.getSize(...t))},[Object(n.g)("span",null,"getSize")]),Object(n.g)("span",null,Object(n.D)(e.imageSize),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" Fetch "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Fetch 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("span",null,Object(n.D)(e.fetchText),1)])]),Object(n.e)(" network info "),e.Native.NetInfo?(Object(n.t)(),Object(n.f)("div",{key:14,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"NetInfo 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("span",null,Object(n.D)(e.netInfoText),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" Cookie "),e.Native.Cookie?(Object(n.t)(),Object(n.f)("div",{key:15,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Cookie 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[7]||(t[7]=(...t)=>e.setCookie&&e.setCookie(...t))},[Object(n.g)("span",null,"setCookie")]),Object(n.g)("span",null,Object(n.D)(e.cookieString),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[8]||(t[8]=(...t)=>e.getCookie&&e.getCookie(...t))},[Object(n.g)("span",null,"getCookie")]),Object(n.g)("span",null,Object(n.D)(e.cookiesValue),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" Clipboard "),e.Native.Clipboard?(Object(n.t)(),Object(n.f)("div",{key:16,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Clipboard 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[9]||(t[9]=(...t)=>e.setString&&e.setString(...t))},[Object(n.g)("span",null,"setString")]),Object(n.g)("span",null,Object(n.D)(e.clipboardString),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[10]||(t[10]=(...t)=>e.getString&&e.getString(...t))},[Object(n.g)("span",null,"getString")]),Object(n.g)("span",null,Object(n.D)(e.clipboardValue),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" iOS platform "),e.Native.isIOS()?(Object(n.t)(),Object(n.f)("div",{key:17,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.isIOS"),Object(n.g)("p",null,Object(n.D)(e.Native.isIOS()),1)])):Object(n.e)("v-if",!0),Object(n.e)(" Android platform "),e.Native.isAndroid()?(Object(n.t)(),Object(n.f)("div",{key:18,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.isAndroid"),Object(n.g)("p",null,Object(n.D)(e.Native.isAndroid()),1)])):Object(n.e)("v-if",!0)])],512)}],["__scopeId","data-v-ad452900"]]);const ze="https://user-images.githubusercontent.com/12878546/148736841-59ce5d1c-8010-46dc-8632-01c380159237.jpg",Fe={style:1,itemBean:{title:"非洲总统出行真大牌,美制武装直升机和中国潜艇为其保驾",picList:[ze,ze,ze],subInfo:["三图评论","11评"]}},We={style:2,itemBean:{title:"彼得·泰尔:认知未来是投资人的谋生之道",picUrl:"https://user-images.githubusercontent.com/12878546/148736850-4fc13304-25d4-4b6a-ada3-cbf0745666f5.jpg",subInfo:["左文右图"]}},Ke={style:5,itemBean:{title:"愤怒!美官员扬言:“不让中国拿走南海的岛屿,南海岛礁不属于中国”?",picUrl:"https://user-images.githubusercontent.com/12878546/148736859-29e3a5b2-612a-4fdd-ad21-dc5d29fa538f.jpg",subInfo:["六眼神魔 5234播放"]}};var Ge=[Ke,Fe,We,Fe,We,Fe,We,Ke,Fe];var Je=Object(r.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var qe=i()(Je,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"list-view-item style-one"},[Object(n.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(n.D)(e.itemBean.title),1),Object(n.g)("div",{class:"style-one-image-container"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.itemBean.picList,(e,t)=>(Object(n.t)(),Object(n.f)("img",{key:t,src:e,alt:"",class:"image style-one-image"},null,8,["src"]))),128))]),Object(n.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(n.g)("p",{class:"normal-text"},Object(n.D)(e.itemBean.subInfo.join("")),1)])])}]]);var Qe=Object(r.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var Xe=i()(Qe,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"list-view-item style-two"},[Object(n.g)("div",{class:"style-two-left-container"},[Object(n.g)("p",{class:"article-title",numberOfLines:2,enableScale:!0},Object(n.D)(e.itemBean.title),1),Object(n.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(n.g)("p",{class:"normal-text"},Object(n.D)(e.itemBean.subInfo.join("")),1)])]),Object(n.g)("div",{class:"style-two-image-container"},[Object(n.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image style-two-image"},null,8,["src"])])])}]]);var Ze=Object(r.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var $e=i()(Ze,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"list-view-item style-five"},[Object(n.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(n.D)(e.itemBean.title),1),Object(n.g)("div",{class:"style-five-image-container"},[Object(n.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image"},null,8,["src"])]),Object(n.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(n.g)("p",{class:"normal-text"},Object(n.D)(e.itemBean.subInfo.join(" ")),1)])])}]]);let et=0;const tt=Object(r.ref)({top:0,left:0}),ot=async()=>new Promise(e=>{setTimeout(()=>e(Ge),800)});var at=Object(r.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(r.ref)(null),t=Object(r.ref)(null),o=Object(r.ref)(null),a=Object(r.ref)([...Ge]);let n=!1,l=!1;const c=Object(r.ref)(""),i=Object(r.ref)("继续下拉触发刷新"),s=Object(r.ref)("正在加载...");return Object(r.onMounted)(()=>{n=!1,l=!1,a.value=[...Ge],et=null!==y.Native&&void 0!==y.Native&&y.Native.Dimensions?y.Native.Dimensions.window.height:window.innerHeight,t.value&&t.value.collapsePullHeader({time:2e3})}),{loadingState:c,dataSource:a,headerRefreshText:i,footerRefreshText:s,list:e,pullHeader:t,pullFooter:o,onEndReached:async e=>{if(console.log("endReached",e),n)return;n=!0,s.value="加载更多...";const t=await ot();0===t.length&&(s.value="没有更多数据"),a.value=[...a.value,...t],n=!1,o.value&&o.value.collapsePullFooter()},onHeaderReleased:async()=>{l||(l=!0,console.log("onHeaderReleased"),i.value="刷新数据中,请稍等",a.value=await ot(),a.value=a.value.reverse(),l=!1,i.value="2秒后收起",t.value&&t.value.collapsePullHeader({time:2e3}))},onHeaderIdle:()=>{},onHeaderPulling:e=>{l||(console.log("onHeaderPulling",e.contentOffset),e.contentOffset>30?i.value="松手,即可触发刷新":i.value="继续下拉,触发刷新")},onFooterIdle:()=>{},onFooterPulling:e=>{console.log("onFooterPulling",e)},onScroll:e=>{e.stopPropagation(),tt.value={top:e.offsetY,left:e.offsetX}},scrollToNextPage:()=>{if(y.Native){if(e.value){const t=e.value;console.log("scroll to next page",e,tt.value,et);const o=tt.value.top+et-200;t.scrollTo({left:tt.value.left,top:o,behavior:"auto",duration:200})}}else alert("This method is only supported in Native environment.")},scrollToBottom:()=>{if(y.Native){if(e.value){const t=e.value;t.scrollToIndex(0,t.childNodes.length-1)}}else alert("This method is only supported in Native environment.")}}}});o("./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css");var nt=i()(at,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("pull-header"),i=Object(n.z)("style-one"),s=Object(n.z)("style-two"),d=Object(n.z)("style-five"),p=Object(n.z)("pull-footer");return Object(n.t)(),Object(n.f)("div",{id:"demo-pull-header-footer","specital-attr":"pull-header-footer"},[Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(n.g)("span",null,"翻到下一页")]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToBottom&&e.scrollToBottom(...t))},[Object(n.g)("span",null,"翻动到底部")]),Object(n.g)("p",{class:"toolbar-text"}," 列表元素数量:"+Object(n.D)(e.dataSource.length),1)]),Object(n.g)("ul",{id:"list",ref:"list",numberOfRows:e.dataSource.length,rowShouldSticky:!0,onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t))},[Object(n.h)(" /** * 下拉组件 * * 事件: * idle: 滑动距离在 pull-header 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-header 后触发一次,参数 contentOffset,滑动距离 * refresh: 滑动超出距离,松手后触发一次 */ "),Object(n.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"ul-refresh-text"},Object(n.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,(e,t)=>(Object(n.t)(),Object(n.f)("li",{key:t,class:"item-style",type:"row-"+e.style,sticky:0===t},[1===e.style?(Object(n.t)(),Object(n.d)(i,{key:0,"item-bean":e.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),2===e.style?(Object(n.t)(),Object(n.d)(s,{key:1,"item-bean":e.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),5===e.style?(Object(n.t)(),Object(n.d)(d,{key:2,"item-bean":e.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0)],8,["type","sticky"]))),128)),Object(n.h)(" /** * 上拉组件 * > 如果不需要显示加载情况,可以直接使用 ul 的 onEndReached 实现一直加载 * * 事件: * idle: 滑动距离在 pull-footer 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-footer 后触发一次,参数 contentOffset,滑动距离 * released: 滑动超出距离,松手后触发一次 */ "),Object(n.i)(p,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"pull-footer-text"},Object(n.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])],40,["numberOfRows"])])}],["__scopeId","data-v-52ecb6dc"]]);var rt=Object(r.defineComponent)({setup(){const e=Object(r.ref)("idle"),t=Object(r.ref)(2),o=Object(r.ref)(2);return{dataSource:new Array(7).fill(0).map((e,t)=>t),currentSlide:t,currentSlideNum:o,state:e,scrollToNextPage:()=>{console.log("scroll next",t.value,o.value),t.value<7?t.value=o.value+1:t.value=0},scrollToPrevPage:()=>{console.log("scroll prev",t.value,o.value),0===t.value?t.value=6:t.value=o.value-1},onDragging:e=>{console.log("Current offset is",e.offset,"and will into slide",e.nextSlide+1)},onDropped:e=>{console.log("onDropped",e),o.value=e.currentSlide},onStateChanged:t=>{console.log("onStateChanged",t),e.value=t.state}}}});o("./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css");var lt=i()(rt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("swiper-slide"),i=Object(n.z)("swiper");return Object(n.t)(),Object(n.f)("div",{id:"demo-swiper"},[Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToPrevPage&&e.scrollToPrevPage(...t))},[Object(n.g)("span",null,"翻到上一页")]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(n.g)("span",null,"翻到下一页")]),Object(n.g)("p",{class:"toolbar-text"}," 当前第 "+Object(n.D)(e.currentSlideNum+1)+" 页 ",1)]),Object(n.e)('\n swiper 组件参数\n @param {Number} currentSlide 当前页面,也可以直接修改它改变当前页码,默认 0\n @param {Boolean} needAnimation 是否需要动画,如果切换时不要动画可以设置为 :needAnimation="false",默认为 true\n @param {Function} dragging 当拖拽时执行回调,参数是个 Event,包含 offset 拖拽偏移值和 nextSlide 将进入的页码\n @param {Function} dropped 结束拖拽时回调,参数是个 Event,包含 currentSlide 最后选择的页码\n '),Object(n.i)(i,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,onDragging:e.onDragging,onDropped:e.onDropped,onStateChanged:e.onStateChanged},{default:Object(n.H)(()=>[Object(n.e)(" slides "),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,e=>(Object(n.t)(),Object(n.d)(c,{key:e,style:Object(n.p)({backgroundColor:4278222848+100*e})},{default:Object(n.H)(()=>[Object(n.g)("p",null,"I'm Slide "+Object(n.D)(e+1),1)]),_:2},1032,["style"]))),128))]),_:1},8,["current","onDragging","onDropped","onStateChanged"]),Object(n.e)(" A Demo of dots "),Object(n.g)("div",{id:"swiper-dots"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,t=>(Object(n.t)(),Object(n.f)("div",{key:t,class:Object(n.o)(["dot",{hightlight:e.currentSlideNum===t}])},null,2))),128))])])}]]);let ct=0;const it={top:0,left:5,bottom:0,right:5},st="ios"===y.Native.Platform,dt=async()=>new Promise(e=>{setTimeout(()=>(ct+=1,e(ct>=50?[]:[...Ge,...Ge])),600)});var pt=Object(r.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(r.ref)([...Ge,...Ge,...Ge,...Ge]);let t=!1,o=!1;const a=Object(r.ref)(!1),n=Object(r.ref)("正在加载..."),l=Object(r.ref)(null),c=Object(r.ref)(null);let i="继续下拉触发刷新",s="正在加载...";const d=Object(r.computed)(()=>a.value?"正在刷新":"下拉刷新"),p=Object(r.ref)(null),u=Object(r.ref)(null),b=Object(r.computed)(()=>(y.Native.Dimensions.screen.width-it.left-it.right-6)/2);return{dataSource:e,isRefreshing:a,refreshText:d,STYLE_LOADING:100,loadingState:n,header:u,gridView:p,contentInset:it,columnSpacing:6,interItemSpacing:6,numberOfColumns:2,itemWidth:b,onScroll:e=>{console.log("waterfall onScroll",e)},onRefresh:async()=>{a.value=!0;const t=await dt();a.value=!1,e.value=t.reverse(),u.value&&u.value.refreshCompleted()},onEndReached:async()=>{if(console.log("end Reached"),t)return;t=!0,s="加载更多...";const o=await dt();0===o.length&&(s="没有更多数据"),e.value=[...e.value,...o],t=!1,c.value&&c.value.collapsePullFooter()},onClickItem:e=>{p.value&&p.value.scrollToIndex({index:e,animation:!0})},isIos:st,onHeaderPulling:e=>{o||(console.log("onHeaderPulling",e.contentOffset),i=e.contentOffset>30?"松手,即可触发刷新":"继续下拉,触发刷新")},onFooterPulling:e=>{console.log("onFooterPulling",e)},onHeaderIdle:()=>{},onFooterIdle:()=>{},onHeaderReleased:async()=>{o||(o=!0,console.log("onHeaderReleased"),i="刷新数据中,请稍等",o=!1,i="2秒后收起",l.value&&l.value.collapsePullHeader({time:2e3}))},headerRefreshText:i,footerRefreshText:s,loadMoreDataFlag:t,pullHeader:l,pullFooter:c}}});o("./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css");var ut=i()(pt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("pull-header"),i=Object(n.z)("waterfall-item"),s=Object(n.z)("style-one"),d=Object(n.z)("style-two"),p=Object(n.z)("style-five"),u=Object(n.z)("pull-footer"),b=Object(n.z)("waterfall");return Object(n.t)(),Object(n.f)("div",{id:"demo-waterfall"},[Object(n.i)(b,{ref:"gridView","content-inset":e.contentInset,"column-spacing":e.columnSpacing,"contain-banner-view":!0,"contain-pull-footer":!0,"inter-item-spacing":e.interItemSpacing,"number-of-columns":e.numberOfColumns,"preload-item-number":4,style:{flex:1},onEndReached:e.onEndReached,onScroll:e.onScroll},{default:Object(n.H)(()=>[Object(n.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"ul-refresh-text"},Object(n.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),e.isIos?(Object(n.t)(),Object(n.f)("div",{key:0,class:"banner-view"},[Object(n.g)("span",null,"BannerView")])):(Object(n.t)(),Object(n.d)(i,{key:1,"full-span":!0,class:"banner-view"},{default:Object(n.H)(()=>[Object(n.g)("span",null,"BannerView")]),_:1})),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,(t,o)=>(Object(n.t)(),Object(n.d)(i,{key:o,style:Object(n.p)({width:e.itemWidth}),type:t.style,onClick:Object(n.J)(()=>e.onClickItem(o),["stop"])},{default:Object(n.H)(()=>[1===t.style?(Object(n.t)(),Object(n.d)(s,{key:0,"item-bean":t.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),2===t.style?(Object(n.t)(),Object(n.d)(d,{key:1,"item-bean":t.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),5===t.style?(Object(n.t)(),Object(n.d)(p,{key:2,"item-bean":t.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0)]),_:2},1032,["style","type","onClick"]))),128)),Object(n.i)(u,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"pull-footer-text"},Object(n.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])]),_:1},8,["content-inset","column-spacing","inter-item-spacing","number-of-columns","onEndReached","onScroll"])])}],["__scopeId","data-v-8b6764ca"]]);var bt=Object(r.defineComponent)({setup(){const e=Object(r.ref)(0),t=Object(r.ref)(0);return{layoutHeight:e,currentSlide:t,onLayout:t=>{e.value=t.height},onTabClick:e=>{t.value=e-1},onDropped:e=>{t.value=e.currentSlide}}}});o("./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css");var yt={demoNative:{name:"Native 能力",component:Me},demoAnimation:{name:"animation 组件",component:De},demoDialog:{name:"dialog 组件",component:Be},demoSwiper:{name:"swiper 组件",component:lt},demoPullHeaderFooter:{name:"pull header/footer 组件",component:nt},demoWaterfall:{name:"waterfall 组件",component:ut},demoNestedScroll:{name:"nested scroll 示例",component:i()(bt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("swiper-slide"),i=Object(n.z)("swiper");return Object(n.t)(),Object(n.f)("div",{id:"demo-wrap",onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t))},[Object(n.g)("div",{id:"demo-content"},[Object(n.g)("div",{id:"banner"}),Object(n.g)("div",{id:"tabs"},[(Object(n.t)(),Object(n.f)(n.a,null,Object(n.x)(2,t=>Object(n.g)("p",{key:"tab"+t,class:Object(n.o)(e.currentSlide===t-1?"selected":""),onClick:o=>e.onTabClick(t)}," tab "+Object(n.D)(t)+" "+Object(n.D)(1===t?"(parent first)":"(self first)"),11,["onClick"])),64))]),Object(n.i)(i,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,style:Object(n.p)({height:e.layoutHeight-80}),onDropped:e.onDropped},{default:Object(n.H)(()=>[Object(n.i)(c,{key:"slide1"},{default:Object(n.H)(()=>[Object(n.g)("ul",{nestedScrollTopPriority:"parent"},[(Object(n.t)(),Object(n.f)(n.a,null,Object(n.x)(30,e=>Object(n.g)("li",{key:"item"+e,class:Object(n.o)(e%2?"item-even":"item-odd")},[Object(n.g)("p",null,"Item "+Object(n.D)(e),1)],2)),64))])]),_:1}),Object(n.i)(c,{key:"slide2"},{default:Object(n.H)(()=>[Object(n.g)("ul",{nestedScrollTopPriority:"self"},[(Object(n.t)(),Object(n.f)(n.a,null,Object(n.x)(30,e=>Object(n.g)("li",{key:"item"+e,class:Object(n.o)(e%2?"item-even":"item-odd")},[Object(n.g)("p",null,"Item "+Object(n.D)(e),1)],2)),64))])]),_:1})]),_:1},8,["current","style","onDropped"])])],32)}],["__scopeId","data-v-72406cea"]])},demoSetNativeProps:{name:"setNativeProps",component:fe}};var vt=Object(r.defineComponent)({name:"App",setup(){const e=Object.keys(ye).map(e=>({id:e,name:ye[e].name})),t=Object.keys(yt).map(e=>({id:e,name:yt[e].name}));return Object(r.onMounted)(()=>{}),{featureList:e,nativeFeatureList:t,version:r.version,Native:y.Native}}});o("./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css");var ft=i()(vt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("router-link");return Object(n.t)(),Object(n.f)("ul",{class:"feature-list"},[Object(n.g)("li",null,[Object(n.g)("div",{id:"version-info"},[Object(n.g)("p",{class:"feature-title"}," Vue: "+Object(n.D)(e.version),1),e.Native?(Object(n.t)(),Object(n.f)("p",{key:0,class:"feature-title"}," Hippy-Vue-Next: "+Object(n.D)("unspecified"!==e.Native.version?e.Native.version:"master"),1)):Object(n.e)("v-if",!0)])]),Object(n.g)("li",null,[Object(n.g)("p",{class:"feature-title"}," 浏览器组件 Demos ")]),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.featureList,e=>(Object(n.t)(),Object(n.f)("li",{key:e.id,class:"feature-item"},[Object(n.i)(c,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(n.H)(()=>[Object(n.h)(Object(n.D)(e.name),1)]),_:2},1032,["to"])]))),128)),e.nativeFeatureList.length?(Object(n.t)(),Object(n.f)("li",{key:0},[Object(n.g)("p",{class:"feature-title",paintType:"fcp"}," 终端组件 Demos ")])):Object(n.e)("v-if",!0),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.nativeFeatureList,e=>(Object(n.t)(),Object(n.f)("li",{key:e.id,class:"feature-item"},[Object(n.i)(c,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(n.H)(()=>[Object(n.h)(Object(n.D)(e.name),1)]),_:2},1032,["to"])]))),128))])}],["__scopeId","data-v-63300fa4"]]);var gt=Object(r.defineComponent)({setup(){const e=Object(r.ref)("http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy"),t=Object(r.ref)(null);return{bundleUrl:e,styles:{tipText:{color:"#242424",marginBottom:12},button:{width:200,height:40,borderRadius:8,backgroundColor:"#4c9afa",alignItems:"center",justifyContent:"center"},buttonText:{fontSize:16,textAlign:"center",lineHeight:40,color:"#fff"},buttonContainer:{alignItems:"center",justifyContent:"center"}},tips:["安装远程调试依赖: npm i -D @hippy/debug-server-next@latest","修改 webpack 配置,添加远程调试地址","运行 npm run hippy:dev 开始编译,编译结束后打印出 bundleUrl 及调试首页地址","粘贴 bundleUrl 并点击开始按钮","访问调试首页开始远程调试,远程调试支持热更新(HMR)"],inputRef:t,blurInput:()=>{t.value&&t.value.blur()},openBundle:()=>{if(e.value){const{rootViewId:t}=Object(Re.a)();y.Native.callNative("TestModule","remoteDebug",t,e.value)}}}}});o("./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css");const mt=[{path:"/",component:ft},{path:"/remote-debug",component:i()(gt,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{ref:"inputDemo",class:"demo-remote-input",onClick:t[2]||(t[2]=Object(n.J)((...t)=>e.blurInput&&e.blurInput(...t),["stop"]))},[Object(n.g)("div",{class:"tips-wrap"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.tips,(t,o)=>(Object(n.t)(),Object(n.f)("p",{key:o,class:"tips-item",style:Object(n.p)(e.styles.tipText)},Object(n.D)(o+1)+". "+Object(n.D)(t),5))),128))]),Object(n.g)("input",{ref:"inputRef",value:e.bundleUrl,"caret-color":"yellow",placeholder:"please input bundleUrl",multiple:!0,numberOfLines:"4",class:"remote-input",onClick:Object(n.J)(()=>{},["stop"]),onChange:t[0]||(t[0]=t=>e.bundleUrl=t.value)},null,40,["value"]),Object(n.g)("div",{class:"buttonContainer",style:Object(n.p)(e.styles.buttonContainer)},[Object(n.g)("button",{style:Object(n.p)(e.styles.button),class:"input-button",onClick:t[1]||(t[1]=Object(n.J)((...t)=>e.openBundle&&e.openBundle(...t),["stop"]))},[Object(n.g)("span",{style:Object(n.p)(e.styles.buttonText)},"开始",4)],4)],4)],512)}],["__scopeId","data-v-c92250fe"]]),name:"Debug"},...Object.keys(ye).map(e=>({path:"/demo/"+e,name:ye[e].name,component:ye[e].component})),...Object.keys(yt).map(e=>({path:"/demo/"+e,name:yt[e].name,component:yt[e].component}))];function ht(){return Object(a.createHippyRouter)({routes:mt})}},"./src/util.ts":function(e,t,o){"use strict";let a;function n(e){a=e}function r(){return a}o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return r}))},0:function(e,t,o){e.exports=o("./src/main-native.ts")},"dll-reference hippyVueBase":function(e,t){e.exports=hippyVueBase}}); \ No newline at end of file +const a="undefined"!=typeof document;function c(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const l=Object.assign;function i(e,t){const o={};for(const n in t){const a=t[n];o[n]=s(a)?a.map(e):e(a)}return o}const r=()=>{},s=Array.isArray;const u=/#/g,d=/&/g,b=/\//g,g=/=/g,f=/\?/g,p=/\+/g,m=/%5B/g,h=/%5D/g,v=/%5E/g,O=/%60/g,j=/%7B/g,y=/%7C/g,w=/%7D/g,A=/%20/g;function C(e){return encodeURI(""+e).replace(y,"|").replace(m,"[").replace(h,"]")}function x(e){return C(e).replace(p,"%2B").replace(A,"+").replace(u,"%23").replace(d,"%26").replace(O,"`").replace(j,"{").replace(w,"}").replace(v,"^")}function S(e){return null==e?"":function(e){return C(e).replace(u,"%23").replace(f,"%3F")}(e).replace(b,"%2F")}function k(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}const T=/\/$/;function D(e,t,o="/"){let n,a={},c="",l="";const i=t.indexOf("#");let r=t.indexOf("?");return i=0&&(r=-1),r>-1&&(n=t.slice(0,r),c=t.slice(r+1,i>-1?i:t.length),a=e(c)),i>-1&&(n=n||t.slice(0,i),l=t.slice(i,t.length)),n=function(e,t){if(e.startsWith("/"))return e;0;if(!e)return t;const o=t.split("/"),n=e.split("/"),a=n[n.length-1];".."!==a&&"."!==a||n.push("");let c,l,i=o.length-1;for(c=0;c1&&i--}return o.slice(0,i).join("/")+"/"+n.slice(c).join("/")}(null!=n?n:t,o),{fullPath:n+(c&&"?")+c+l,path:n,query:a,hash:k(l)}}function P(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function E(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!I(e[o],t[o]))return!1;return!0}function I(e,t){return s(e)?B(e,t):s(t)?B(t,e):e===t}function B(e,t){return s(t)?e.length===t.length&&e.every((e,o)=>e===t[o]):1===e.length&&e[0]===t}const R={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var L,V;!function(e){e.pop="pop",e.push="push"}(L||(L={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(V||(V={}));function H(e){if(!e)if(a){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(T,"")}const N=/^[^#]+#/;function M(e,t){return e.replace(N,"#")+t}const z=()=>({left:window.scrollX,top:window.scrollY});function F(e){let t;if("el"in e){const o=e.el,n="string"==typeof o&&o.startsWith("#");0;const a="string"==typeof o?n?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!a)return;t=function(e,t){const o=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-o.left-(t.left||0),top:n.top-o.top-(t.top||0)}}(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Y(e,t){return(history.state?history.state.position-t:-1)+e}const U=new Map;let W=()=>location.protocol+"//"+location.host;function G(e,t){const{pathname:o,search:n,hash:a}=t,c=e.indexOf("#");if(c>-1){let t=a.includes(e.slice(c))?e.slice(c).length:1,o=a.slice(t);return"/"!==o[0]&&(o="/"+o),P(o,"")}return P(o,e)+n+a}function K(e,t,o,n=!1,a=!1){return{back:e,current:t,forward:o,replaced:n,position:window.history.length,scroll:a?z():null}}function J(e){const t=function(e){const{history:t,location:o}=window,n={value:G(e,o)},a={value:t.state};function c(n,c,l){const i=e.indexOf("#"),r=i>-1?(o.host&&document.querySelector("base")?e:e.slice(i))+n:W()+e+n;try{t[l?"replaceState":"pushState"](c,"",r),a.value=c}catch(e){console.error(e),o[l?"replace":"assign"](r)}}return a.value||c(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:n,state:a,push:function(e,o){const i=l({},a.value,t.state,{forward:e,scroll:z()});c(i.current,i,!0),c(e,l({},K(n.value,e,null),{position:i.position+1},o),!1),n.value=e},replace:function(e,o){c(e,l({},t.state,K(a.value.back,e,a.value.forward,!0),o,{position:a.value.position}),!0),n.value=e}}}(e=H(e)),o=function(e,t,o,n){let a=[],c=[],i=null;const r=({state:c})=>{const l=G(e,location),r=o.value,s=t.value;let u=0;if(c){if(o.value=l,t.value=c,i&&i===r)return void(i=null);u=s?c.position-s.position:0}else n(l);a.forEach(e=>{e(o.value,r,{delta:u,type:L.pop,direction:u?u>0?V.forward:V.back:V.unknown})})};function s(){const{history:e}=window;e.state&&e.replaceState(l({},e.state,{scroll:z()}),"")}return window.addEventListener("popstate",r),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:function(){i=o.value},listen:function(e){a.push(e);const t=()=>{const t=a.indexOf(e);t>-1&&a.splice(t,1)};return c.push(t),t},destroy:function(){for(const e of c)e();c=[],window.removeEventListener("popstate",r),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace);const n=l({location:"",base:e,go:function(e,t=!0){t||o.pauseListeners(),history.go(e)},createHref:M.bind(null,e)},t,o);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}function q(e=""){let t=[],o=[""],n=0;function a(e){n++,n!==o.length&&o.splice(n),o.push(e)}const c={location:"",state:{},base:e=H(e),createHref:M.bind(null,e),replace(e){o.splice(n--,1),a(e)},push(e,t){a(e)},listen:e=>(t.push(e),()=>{const o=t.indexOf(e);o>-1&&t.splice(o,1)}),destroy(){t=[],o=[""],n=0},go(e,a=!0){const c=this.location,l=e<0?V.back:V.forward;n=Math.max(0,Math.min(n+e,o.length-1)),a&&function(e,o,{direction:n,delta:a}){const c={direction:n,delta:a,type:L.pop};for(const n of t)n(e,o,c)}(this.location,c,{direction:l,delta:e})}};return Object.defineProperty(c,"location",{enumerable:!0,get:()=>o[n]}),c}function Q(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),J(e)}function X(e){return"string"==typeof e||"symbol"==typeof e}const Z=Symbol("");var $;!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}($||($={}));function ee(e,t){return l(new Error,{type:e,[Z]:!0},t)}function te(e,t){return e instanceof Error&&Z in e&&(null==t||!!(e.type&t))}const oe={sensitive:!1,strict:!1,start:!0,end:!0},ne=/[.+*?^${}()[\]/\\]/g;function ae(e,t){let o=0;for(;ot.length?1===t.length&&80===t[0]?1:-1:0}function ce(e,t){let o=0;const n=e.score,a=t.score;for(;o0&&t[t.length-1]<0}const ie={type:0,value:""},re=/[a-zA-Z0-9_]/;function se(e,t,o){const n=function(e,t){const o=l({},oe,t),n=[];let a=o.start?"^":"";const c=[];for(const t of e){const e=t.length?[]:[90];o.strict&&!t.length&&(a+="/");for(let n=0;n1&&("*"===i||"+"===i)&&t(`A repeatable param (${s}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:s,regexp:u,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),s="")}function b(){s+=i}for(;r{c(f)}:r}function c(e){if(X(e)){const t=n.get(e);t&&(n.delete(e),o.splice(o.indexOf(t),1),t.children.forEach(c),t.alias.forEach(c))}else{const t=o.indexOf(e);t>-1&&(o.splice(t,1),e.record.name&&n.delete(e.record.name),e.children.forEach(c),e.alias.forEach(c))}}function i(e){const t=function(e,t){let o=0,n=t.length;for(;o!==n;){const a=o+n>>1;ce(e,t[a])<0?n=a:o=a+1}const a=function(e){let t=e;for(;t=t.parent;)if(me(t)&&0===ce(e,t))return t;return}(e);a&&(n=t.lastIndexOf(a,n-1));return n}(e,o);o.splice(t,0,e),e.record.name&&!ge(e)&&n.set(e.record.name,e)}return t=pe({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>a(e)),{addRoute:a,resolve:function(e,t){let a,c,i,r={};if("name"in e&&e.name){if(a=n.get(e.name),!a)throw ee(1,{location:e});0,i=a.record.name,r=l(de(t.params,a.keys.filter(e=>!e.optional).concat(a.parent?a.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&de(e.params,a.keys.map(e=>e.name))),c=a.stringify(r)}else if(null!=e.path)c=e.path,a=o.find(e=>e.re.test(c)),a&&(r=a.parse(c),i=a.record.name);else{if(a=t.name?n.get(t.name):o.find(e=>e.re.test(t.path)),!a)throw ee(1,{location:e,currentLocation:t});i=a.record.name,r=l({},t.params,e.params),c=a.stringify(r)}const s=[];let u=a;for(;u;)s.unshift(u.record),u=u.parent;return{name:i,path:c,params:r,matched:s,meta:fe(s)}},removeRoute:c,clearRoutes:function(){o.length=0,n.clear()},getRoutes:function(){return o},getRecordMatcher:function(e){return n.get(e)}}}function de(e,t){const o={};for(const n of t)n in e&&(o[n]=e[n]);return o}function be(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const n in e.components)t[n]="object"==typeof o?o[n]:o;return t}function ge(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function fe(e){return e.reduce((e,t)=>l(e,t.meta),{})}function pe(e,t){const o={};for(const n in e)o[n]=n in t?t[n]:e[n];return o}function me({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function he(e){const t={};if(""===e||"?"===e)return t;const o=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;ee&&x(e)):[n&&x(n)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+o,null!=e&&(t+="="+e))})}return t}function Oe(e){const t={};for(const o in e){const n=e[o];void 0!==n&&(t[o]=s(n)?n.map(e=>null==e?null:""+e):null==n?n:""+n)}return t}const je=Symbol(""),ye=Symbol(""),we=Symbol(""),Ae=Symbol(""),Ce=Symbol("");function xe(){let e=[];return{add:function(t){return e.push(t),()=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Se(e,t,o){const a=()=>{e[t].delete(o)};Object(n.s)(a),Object(n.r)(a),Object(n.q)(()=>{e[t].add(o)}),e[t].add(o)}function ke(e){const t=Object(n.m)(je,{}).value;t&&Se(t,"leaveGuards",e)}function Te(e){const t=Object(n.m)(je,{}).value;t&&Se(t,"updateGuards",e)}function De(e,t,o,n,a,c=(e=>e())){const l=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((i,r)=>{const s=e=>{var c;!1===e?r(ee(4,{from:o,to:t})):e instanceof Error?r(e):"string"==typeof(c=e)||c&&"object"==typeof c?r(ee(2,{from:t,to:e})):(l&&n.enterCallbacks[a]===l&&"function"==typeof e&&l.push(e),i())},u=c(()=>e.call(n&&n.instances[a],t,o,s));let d=Promise.resolve(u);e.length<3&&(d=d.then(s)),d.catch(e=>r(e))})}function Pe(e,t,o,n,a=(e=>e())){const l=[];for(const r of e){0;for(const e in r.components){let s=r.components[e];if("beforeRouteEnter"===t||r.instances[e])if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){const c=(s.__vccOpts||s)[t];c&&l.push(De(c,o,n,r,e,a))}else{let i=s();0,l.push(()=>i.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${r.path}"`));const i=c(l)?l.default:l;r.components[e]=i;const s=(i.__vccOpts||i)[t];return s&&De(s,o,n,r,e,a)()}))}}}var i;return l}function Ee(e){return e.matched.every(e=>e.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(e=>e.components&&Promise.all(Object.keys(e.components).reduce((t,o)=>{const n=e.components[o];return"function"!=typeof n||"displayName"in n||t.push(n().then(t=>{if(!t)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${e.path}". Ensure you passed a function that returns a promise.`));const n=c(t)?t.default:t;e.components[o]=n})),t},[])))).then(()=>e)}function _e(e){const t=Object(n.m)(we),o=Object(n.m)(Ae);const a=Object(n.c)(()=>{const o=Object(n.E)(e.to);return t.resolve(o)}),c=Object(n.c)(()=>{const{matched:e}=a.value,{length:t}=e,n=e[t-1],c=o.matched;if(!n||!c.length)return-1;const l=c.findIndex(E.bind(null,n));if(l>-1)return l;const i=Be(e[t-2]);return t>1&&Be(n)===i&&c[c.length-1].path!==i?c.findIndex(E.bind(null,e[t-2])):l}),l=Object(n.c)(()=>c.value>-1&&function(e,t){for(const o in t){const n=t[o],a=e[o];if("string"==typeof n){if(n!==a)return!1}else if(!s(a)||a.length!==n.length||n.some((e,t)=>e!==a[t]))return!1}return!0}(o.params,a.value.params)),i=Object(n.c)(()=>c.value>-1&&c.value===o.matched.length-1&&_(o.params,a.value.params));return{route:a,href:Object(n.c)(()=>a.value.href),isActive:l,isExactActive:i,navigate:function(o={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(o)?t[Object(n.E)(e.replace)?"replace":"push"](Object(n.E)(e.to)).catch(r):Promise.resolve()}}}const Ie=Object(n.j)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_e,setup(e,{slots:t}){const o=Object(n.v)(_e(e)),{options:a}=Object(n.m)(we),c=Object(n.c)(()=>({[Re(e.activeClass,a.linkActiveClass,"router-link-active")]:o.isActive,[Re(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const a=t.default&&t.default(o);return e.custom?a:Object(n.l)("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:c.value},a)}}});function Be(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Re=(e,t,o)=>null!=e?e:null!=t?t:o;function Le(e,t){if(!e)return null;const o=e(t);return 1===o.length?o[0]:o}const Ve=Object(n.j)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){const a=Object(n.m)(Ce),c=Object(n.c)(()=>e.route||a.value),i=Object(n.m)(ye,0),r=Object(n.c)(()=>{let e=Object(n.E)(i);const{matched:t}=c.value;let o;for(;(o=t[e])&&!o.components;)e++;return e}),s=Object(n.c)(()=>c.value.matched[r.value]);Object(n.u)(ye,Object(n.c)(()=>r.value+1)),Object(n.u)(je,s),Object(n.u)(Ce,c);const u=Object(n.w)();return Object(n.G)(()=>[u.value,s.value,e.name],([e,t,o],[n,a,c])=>{t&&(t.instances[o]=e,a&&a!==t&&e&&e===n&&(t.leaveGuards.size||(t.leaveGuards=a.leaveGuards),t.updateGuards.size||(t.updateGuards=a.updateGuards))),!e||!t||a&&E(t,a)&&n||(t.enterCallbacks[o]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const a=c.value,i=e.name,r=s.value,d=r&&r.components[i];if(!d)return Le(o.default,{Component:d,route:a});const b=r.props[i],g=b?!0===b?a.params:"function"==typeof b?b(a):b:null,f=Object(n.l)(d,l({},g,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(r.instances[i]=null)},ref:u}));return Le(o.default,{Component:f,route:a})||f}}});function He(e){const t=ue(e.routes,e),o=e.parseQuery||he,c=e.stringifyQuery||ve,u=e.history;const d=xe(),b=xe(),g=xe(),f=Object(n.C)(R);let p=R;a&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=i.bind(null,e=>""+e),h=i.bind(null,S),O=i.bind(null,k);function y(e,n){if(n=l({},n||f.value),"string"==typeof e){const a=D(o,e,n.path),c=t.resolve({path:a.path},n),i=u.createHref(a.fullPath);return l(a,c,{params:O(c.params),hash:k(a.hash),redirectedFrom:void 0,href:i})}let a;if(null!=e.path)a=l({},e,{path:D(o,e.path,n.path).path});else{const t=l({},e.params);for(const e in t)null==t[e]&&delete t[e];a=l({},e,{params:h(t)}),n.params=h(n.params)}const i=t.resolve(a,n),r=e.hash||"";i.params=m(O(i.params));const s=function(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}(c,l({},e,{hash:(d=r,C(d).replace(j,"{").replace(w,"}").replace(v,"^")),path:i.path}));var d;const b=u.createHref(s);return l({fullPath:s,hash:r,query:c===ve?Oe(e.query):e.query||{}},i,{redirectedFrom:void 0,href:b})}function A(e){return"string"==typeof e?D(o,e,f.value.path):l({},e)}function x(e,t){if(p!==e)return ee(8,{from:t,to:e})}function T(e){return I(e)}function P(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:o}=t;let n="function"==typeof o?o(e):o;return"string"==typeof n&&(n=n.includes("?")||n.includes("#")?n=A(n):{path:n},n.params={}),l({query:e.query,hash:e.hash,params:null!=n.path?{}:e.params},n)}}function I(e,t){const o=p=y(e),n=f.value,a=e.state,i=e.force,r=!0===e.replace,s=P(o);if(s)return I(l(A(s),{state:"object"==typeof s?l({},a,s.state):a,force:i,replace:r}),t||o);const u=o;let d;return u.redirectedFrom=t,!i&&function(e,t,o){const n=t.matched.length-1,a=o.matched.length-1;return n>-1&&n===a&&E(t.matched[n],o.matched[a])&&_(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}(c,n,o)&&(d=ee(16,{to:u,from:n}),$(n,n,!0,!1)),(d?Promise.resolve(d):H(u,n)).catch(e=>te(e)?te(e,2)?e:Z(e):Q(e,u,n)).then(e=>{if(e){if(te(e,2))return I(l({replace:r},A(e.to),{state:"object"==typeof e.to?l({},a,e.to.state):a,force:i}),t||u)}else e=M(u,n,!0,r,a);return N(u,n,e),e})}function B(e,t){const o=x(e,t);return o?Promise.reject(o):Promise.resolve()}function V(e){const t=ae.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function H(e,t){let o;const[n,a,c]=function(e,t){const o=[],n=[],a=[],c=Math.max(t.matched.length,e.matched.length);for(let l=0;lE(e,c))?n.push(c):o.push(c));const i=e.matched[l];i&&(t.matched.find(e=>E(e,i))||a.push(i))}return[o,n,a]}(e,t);o=Pe(n.reverse(),"beforeRouteLeave",e,t);for(const a of n)a.leaveGuards.forEach(n=>{o.push(De(n,e,t))});const l=B.bind(null,e,t);return o.push(l),le(o).then(()=>{o=[];for(const n of d.list())o.push(De(n,e,t));return o.push(l),le(o)}).then(()=>{o=Pe(a,"beforeRouteUpdate",e,t);for(const n of a)n.updateGuards.forEach(n=>{o.push(De(n,e,t))});return o.push(l),le(o)}).then(()=>{o=[];for(const n of c)if(n.beforeEnter)if(s(n.beforeEnter))for(const a of n.beforeEnter)o.push(De(a,e,t));else o.push(De(n.beforeEnter,e,t));return o.push(l),le(o)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),o=Pe(c,"beforeRouteEnter",e,t,V),o.push(l),le(o))).then(()=>{o=[];for(const n of b.list())o.push(De(n,e,t));return o.push(l),le(o)}).catch(e=>te(e,8)?e:Promise.reject(e))}function N(e,t,o){g.list().forEach(n=>V(()=>n(e,t,o)))}function M(e,t,o,n,c){const i=x(e,t);if(i)return i;const r=t===R,s=a?history.state:{};o&&(n||r?u.replace(e.fullPath,l({scroll:r&&s&&s.scroll},c)):u.push(e.fullPath,c)),f.value=e,$(e,t,o,r),Z()}let W;function G(){W||(W=u.listen((e,t,o)=>{if(!ce.listening)return;const n=y(e),c=P(n);if(c)return void I(l(c,{replace:!0}),n).catch(r);p=n;const i=f.value;var s,d;a&&(s=Y(i.fullPath,o.delta),d=z(),U.set(s,d)),H(n,i).catch(e=>te(e,12)?e:te(e,2)?(I(e.to,n).then(e=>{te(e,20)&&!o.delta&&o.type===L.pop&&u.go(-1,!1)}).catch(r),Promise.reject()):(o.delta&&u.go(-o.delta,!1),Q(e,n,i))).then(e=>{(e=e||M(n,i,!1))&&(o.delta&&!te(e,8)?u.go(-o.delta,!1):o.type===L.pop&&te(e,20)&&u.go(-1,!1)),N(n,i,e)}).catch(r)}))}let K,J=xe(),q=xe();function Q(e,t,o){Z(e);const n=q.list();return n.length?n.forEach(n=>n(e,t,o)):console.error(e),Promise.reject(e)}function Z(e){return K||(K=!e,G(),J.list().forEach(([t,o])=>e?o(e):t()),J.reset()),e}function $(t,o,c,l){const{scrollBehavior:i}=e;if(!a||!i)return Promise.resolve();const r=!c&&function(e){const t=U.get(e);return U.delete(e),t}(Y(t.fullPath,0))||(l||!c)&&history.state&&history.state.scroll||null;return Object(n.n)().then(()=>i(t,o,r)).then(e=>e&&F(e)).catch(e=>Q(e,t,o))}const oe=e=>u.go(e);let ne;const ae=new Set,ce={currentRoute:f,listening:!0,addRoute:function(e,o){let n,a;return X(e)?(n=t.getRecordMatcher(e),a=o):a=e,t.addRoute(a,n)},removeRoute:function(e){const o=t.getRecordMatcher(e);o&&t.removeRoute(o)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:y,options:e,push:T,replace:function(e){return T(l(A(e),{replace:!0}))},go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:d.add,beforeResolve:b.add,afterEach:g.add,onError:q.add,isReady:function(){return K&&f.value!==R?Promise.resolve():new Promise((e,t)=>{J.add([e,t])})},install(e){e.component("RouterLink",Ie),e.component("RouterView",Ve),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Object(n.E)(f)}),a&&!ne&&f.value===R&&(ne=!0,T(u.location).catch(e=>{0}));const t={};for(const e in R)Object.defineProperty(t,e,{get:()=>f.value[e],enumerable:!0});e.provide(we,this),e.provide(Ae,Object(n.B)(t)),e.provide(Ce,f);const o=e.unmount;ae.add(e),e.unmount=function(){ae.delete(e),ae.size<1&&(p=R,W&&W(),W=null,f.value=R,ne=!1,K=!1),o()}}};function le(e){return e.reduce((e,t)=>e.then(()=>V(t)),Promise.resolve())}return ce}function Ne(){return Object(n.m)(we)}function Me(e){return Object(n.m)(Ae)}},function(e,t,o){var n=o(51);e.exports=function(e,t,o){return(t=n(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=hippyVueBase},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["5aa12b",["#root"],[["flex",1],["backgroundColor",4294967295],["display","flex"],["flexDirection","column"]]],["5aa12b",["#header"],[["height",60],["backgroundColor",4282431619],["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","space-between"],["paddingHorizontal",10]]],["5aa12b",["#root .left-title"],[["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","flex-start"]]],["5aa12b",["#root #back-btn"],[["height",20],["width",24],["marginTop",18],["marginBottom",18]]],["5aa12b",["#root .body-container"],[["flex",1]]],["5aa12b",[".row"],[["flexDirection","row"]]],["5aa12b",[".column"],[["flexDirection","column"]]],["5aa12b",[".center"],[["justifyContent","center"],["alignContent","center"]]],["5aa12b",[".fullscreen"],[["flex",1]]],["5aa12b",[".row"],[["flexDirection","row"]]],["5aa12b",[".column"],[["flexDirection","column"]]],["5aa12b",[".center"],[["justifyContent","center"],["alignContent","center"]]],["5aa12b",[".fullscreen"],[["flex",1]]],["5aa12b",[".toolbar"],[["display","flex"],["height",40],["flexDirection","row"]]],["5aa12b",[".toolbar .toolbar-btn"],[["display","flex"],["flexDirection","column"],["flexGrow",1],["justifyContent","center"],["margin",3],["borderStyle","solid"],["borderColor",4278190335],["borderWidth",1]]],["5aa12b",[".toolbar .toolbar-btn p",".toolbar .toolbar-btn span"],[["justifyContent","center"],["textAlign","center"]]],["5aa12b",[".toolbar .toolbar-text"],[["lineHeight",40]]],["5aa12b",[".title"],[["fontSize",20],["lineHeight",60],["marginLeft",5],["marginRight",10],["fontWeight","bold"],["backgroundColor",4282431619],["color",4294967295]]],["5aa12b",[".feature-content"],[["backgroundColor",4294967295]]],["5aa12b",[".bottom-tabs"],[["height",48],["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","center"],["backgroundColor",4294967295],["borderTopWidth",1],["borderStyle","solid"],["borderTopColor",4293848814]]],["5aa12b",[".bottom-tab"],[["height",48],["flex",1],["fontSize",16],["color",4280558628],["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","center"]]],["5aa12b",[".bottom-tab.activated .bottom-tab-text"],[["color",4283210490]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["05bd57",[".button-label[data-v-05797918]"],[["width",220],["height",50],["marginTop",20],["textAlign","center"],["lineHeight",50],["marginBottom",20]]],["05bd57",[".button-demo[data-v-05797918]"],[["display","flex"],["alignItems","center"],["flexDirection","column"]]],["05bd57",[".button-demo-1[data-v-05797918]"],[["height",64],["width",240],["borderStyle","solid"],["borderColor",4282431619],["borderWidth",2],["borderRadius",10],["alignItems","center"]]],["05bd57",[".button-demo-1 .button-text[data-v-05797918]"],[["lineHeight",56],["textAlign","center"]]],["05bd57",[".button-demo-1-image[data-v-05797918]"],[["width",216],["height",58],["backgroundColor",4282431619],["marginTop",20]]]])))}).call(this,o(5))},function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["ec719a",["#div-demo[data-v-fe0428e4]"],[["flex",1],["overflowY","scroll"],["margin",7]]],["ec719a",[".display-flex[data-v-fe0428e4]"],[["display","flex"]]],["ec719a",[".flex-row[data-v-fe0428e4]"],[["flexDirection","row"]]],["ec719a",[".flex-column[data-v-fe0428e4]"],[["flexDirection","column"]]],["ec719a",[".text-block[data-v-fe0428e4]"],[["width",100],["height",100],["lineHeight",100],["borderStyle","solid"],["borderWidth",1],["borderColor",4282431619],["fontSize",80],["margin",20],["color",4282431619],["textAlign","center"]]],["ec719a",[".div-demo-1-1[data-v-fe0428e4]"],[["display","flex"],["height",40],["width",200],["linearGradient",{angle:"30",colorStopList:[{ratio:.1,color:4278190335},{ratio:.4,color:4294967040},{ratio:.5,color:4294901760}]}],["borderWidth",2],["borderStyle","solid"],["borderColor",4278190080],["borderRadius",2],["justifyContent","center"],["alignItems","center"],["marginTop",10],["marginBottom",10]]],["ec719a",[".div-demo-1-text[data-v-fe0428e4]"],[["color",4294967295]]],["ec719a",[".div-demo-2[data-v-fe0428e4]"],[["overflowX","scroll"],["margin",10],["flexDirection","row"]]],["ec719a",[".div-demo-3[data-v-fe0428e4]"],[["width",150],["overflowY","scroll"],["margin",10],["height",320]]],["ec719a",[".div-demo-transform[data-v-fe0428e4]"],[["backgroundColor",4282431619],["transform",[{rotate:"30deg"},{scale:.5}]],["width",120],["height",120]]],["ec719a",[".div-demo-transform-text[data-v-fe0428e4]"],[["lineHeight",120],["height",120],["width",120],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["00af4b",[".async-component-outer-local[data-v-0fa9b63f]"],[["height",200],["width",300]]],["00af4b",["#demo-dynamicimport[data-v-0fa9b63f]"],[["flex",1],["display","flex"],["alignItems","center"],["flexDirection","column"],["backgroundColor",4294967295]]],["00af4b",[".import-btn[data-v-0fa9b63f]"],[["marginTop",20],["width",130],["height",40],["textAlign","center"],["backgroundColor",4282431619],["flexDirection","row"],["borderRadius",5],["justifyContent","center"]]],["00af4b",[".import-btn p[data-v-0fa9b63f]"],[["color",4278190080],["textAlign","center"],["height",40],["lineHeight",40]]],["00af4b",[".async-com-wrapper[data-v-0fa9b63f]"],[["marginTop",20]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["0db5bf",["#iframe-demo"],[["display","flex"],["flex",1],["flexDirection","column"],["margin",7]]],["0db5bf",["#iframe-demo #address"],[["height",48],["borderColor",4291611852],["borderWidth",1],["borderStyle","solid"]]],["0db5bf",["#iframe-demo #iframe"],[["flex",1],["flexGrow",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["d38885",["#demo-img[data-v-25c66a4a]"],[["overflowY","scroll"],["flex",1],["margin",7]]],["d38885",["#demo-img #demo-img-container[data-v-25c66a4a]"],[["display","flex"],["flexDirection","column"]]],["d38885",["#demo-img .image[data-v-25c66a4a]"],[["width",300],["height",180],["margin",30],["borderWidth",1],["borderStyle","solid"],["borderColor",4282431619]]],["d38885",["#demo-img .img-result[data-v-25c66a4a]"],[["width",300],["height",150],["marginTop",-30],["marginHorizontal",30],["borderWidth",1],["borderStyle","solid"],["borderColor",4282431619]]],["d38885",["#demo-img .contain[data-v-25c66a4a]"],[["resizeMode","contain"]]],["d38885",["#demo-img .cover[data-v-25c66a4a]"],[["resizeMode","cover"]]],["d38885",["#demo-img .center[data-v-25c66a4a]"],[["resizeMode","center"]]],["d38885",["#demo-img .tint-color[data-v-25c66a4a]"],[["tintColor",2571155587]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["939ddb",[".demo-input[data-v-ebfef7c0]"],[["display","flex"],["flex",1],["alignItems","center"],["flexDirection","column"],["margin",7]]],["939ddb",[".demo-input .input[data-v-ebfef7c0]"],[["width",300],["height",48],["color",4280558628],["borderWidth",1],["borderStyle","solid"],["borderColor",4291611852],["fontSize",16],["margin",20]]],["939ddb",[".demo-input .input-button[data-v-ebfef7c0]"],[["borderColor",4283210490],["borderWidth",1],["borderStyle","solid"],["paddingLeft",10],["paddingRight",10],["marginTop",5],["marginBottom",5]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["11992c",["#demo-list[data-v-75193fb0]"],[["collapsable",!1],["flex",1]]],["11992c",["#demo-list #loading[data-v-75193fb0]"],[["fontSize",11],["color",4289374890],["alignSelf","center"]]],["11992c",["#demo-list .container[data-v-75193fb0]"],[["backgroundColor",4294967295],["collapsable",!1]]],["11992c",["#demo-list .item-container[data-v-75193fb0]"],[["padding",12]]],["11992c",["#demo-list .separator-line[data-v-75193fb0]"],[["marginLeft",12],["marginRight",12],["height",1],["backgroundColor",4293256677]]],["11992c",["#demo-list .item-horizontal-style[data-v-75193fb0]"],[["height",50],["width",100]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["b88068",[".p-demo[data-v-34e2123c]"],[["margin",7],["overflowY","scroll"],["flex",1],["flexDirection","column"]]],["b88068",[".p-demo .p-demo-content[data-v-34e2123c]"],[["margin",20]]],["b88068",[".p-demo .p-demo-content-status[data-v-34e2123c]"],[["marginLeft",20],["marginRight",20],["marginBottom",10]]],["b88068",[".p-demo .p-demo-1[data-v-34e2123c]"],[["color",4294199351]]],["b88068",[".p-demo .p-demo-2[data-v-34e2123c]"],[["fontSize",30]]],["b88068",[".p-demo .p-demo-3[data-v-34e2123c]"],[["fontWeight","bold"]]],["b88068",[".p-demo .p-demo-4[data-v-34e2123c]"],[["textDecorationLine","underline"],["textDecorationStyle","dotted"]]],["b88068",[".p-demo .p-demo-5[data-v-34e2123c]"],[["textDecorationLine","line-through"],["textDecorationColor",4294901760]]],["b88068",[".p-demo .p-demo-6[data-v-34e2123c]"],[["color",4278211289],["fontFamily","TTTGB"],["fontSize",32]]],["b88068",[".p-demo .p-demo-8[data-v-34e2123c]"],[["letterSpacing",-1]]],["b88068",[".p-demo .p-demo-9[data-v-34e2123c]"],[["letterSpacing",5]]],["b88068",[".p-demo .button-bar[data-v-34e2123c]"],[["flexDirection","row"]]],["b88068",[".p-demo .button[data-v-34e2123c]"],[["width",100],["margin",2],["backgroundColor",4293848814],["borderStyle","solid"],["borderColor",4278190080],["borderWidth",1],["alignItems","center"],["flexShrink",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["a451bc",["#shadow-demo[data-v-19ab3f2d]"],[["flex",1]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-cube-android[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",50],["width",170],["height",170],["shadowOpacity",.6],["shadowRadius",5],["shadowColor",4278815273],["borderRadius",5]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-android[data-v-19ab3f2d]"],[["position","absolute"],["left",5],["top",5],["width",160],["height",160],["backgroundColor",4286611584],["borderRadius",5],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-android p[data-v-19ab3f2d]"],[["color",4294967295]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-cube-ios[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",50],["width",160],["height",160],["shadowOpacity",.6],["shadowRadius",5],["shadowSpread",1],["shadowColor",4278815273],["borderRadius",5]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-ios[data-v-19ab3f2d]"],[["width",160],["height",160],["backgroundColor",4286611584],["borderRadius",5],["color",4294967295],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-ios p[data-v-19ab3f2d]"],[["color",4294967295]]],["a451bc",["#shadow-demo .offset-shadow-demo-cube-android[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",300],["width",175],["height",175],["shadowOpacity",.6],["shadowRadius",5],["shadowColor",4278815273],["shadowOffset",{x:15,y:15}]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-android[data-v-19ab3f2d]"],[["width",160],["height",160],["backgroundColor",4286611584],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-android p[data-v-19ab3f2d]"],[["color",4294967295]]],["a451bc",["#shadow-demo .offset-shadow-demo-cube-ios[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",300],["width",160],["height",160],["shadowOpacity",.6],["shadowRadius",5],["shadowSpread",1],["shadowOffset",{x:10,y:10}],["shadowColor",4278815273]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-ios[data-v-19ab3f2d]"],[["width",160],["height",160],["backgroundColor",4286611584],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-ios p[data-v-19ab3f2d]"],[["color",4294967295]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["42d8d9",["#demo-textarea[data-v-6d6167b3]"],[["display","flex"],["alignItems","center"],["flexDirection","column"],["margin",7]]],["42d8d9",["#demo-textarea label[data-v-6d6167b3]"],[["alignSelf","flex-start"],["fontWeight","bold"],["marginTop",5],["marginBottom",5]]],["42d8d9",["#demo-textarea .textarea[data-v-6d6167b3]"],[["width",300],["height",150],["color",4280558628],["textAlign","left"],["borderWidth",1],["borderStyle","solid"],["borderColor",4291611852],["underlineColorAndroid",4282431619],["placeholderTextColor",4284900966],["alignSelf","center"]]],["42d8d9",["#demo-textarea .output[data-v-6d6167b3]"],[["wordBreak","break-all"]]],["42d8d9",["#demo-textarea .button-bar[data-v-6d6167b3]"],[["flexDirection","row"]]],["42d8d9",["#demo-textarea .button[data-v-6d6167b3]"],[["width",100],["margin",2],["backgroundColor",4293848814],["borderStyle","solid"],["borderColor",4278190080],["borderWidth",1],["alignItems","center"],["flexShrink",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["dc3da6",[".demo-turbo"],[["flex",1],["display","flex"],["flexDirection","column"]]],["dc3da6",[".demo-turbo .cell .contentView"],[["flexDirection","row"],["justifyContent","space-between"],["backgroundColor",4291611852],["marginBottom",1]]],["dc3da6",[".demo-turbo .func-info"],[["justifyContent","center"],["paddingLeft",15],["paddingRight",15]]],["dc3da6",[".demo-turbo .action-button"],[["backgroundColor",4283210490],["color",4294967295],["height",44],["lineHeight",44],["textAlign","center"],["width",80],["borderRadius",6]]],["dc3da6",[".demo-turbo .result"],[["backgroundColor",4287609999],["minHeight",150],["padding",15]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["4f5975",["#websocket-demo .demo-title[data-v-99a0fc74]"],[["color",4291611852]]],["4f5975",["#websocket-demo .output[data-v-99a0fc74]"],[["overflowY","scroll"]]],["4f5975",["#websocket-demo button[data-v-99a0fc74]"],[["backgroundColor",4282431619],["borderColor",4284328955],["borderStyle","solid"],["borderWidth",1],["paddingHorizontal",20],["fontSize",16],["color",4294967295],["margin",10]]],["4f5975",["#websocket-demo button span[data-v-99a0fc74]"],[["height",56],["lineHeight",56]]],["4f5975",["#websocket-demo input[data-v-99a0fc74]"],[["color",4278190080],["flex",1],["height",36],["lineHeight",36],["fontSize",14],["borderBottomColor",4282431619],["borderBottomWidth",1],["borderStyle","solid"],["padding",0]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["7b11e6",[".set-native-props-demo[data-v-4521f010]"],[["display","flex"],["alignItems","center"],["position","relative"]]],["7b11e6",[".native-demo-1-drag[data-v-4521f010]"],[["height",80],["backgroundColor",4282431619],["position","relative"],["marginTop",10]]],["7b11e6",[".native-demo-1-point[data-v-4521f010]"],[["height",80],["width",80],["color",4282445460],["backgroundColor",4282445460],["position","absolute"],["left",0]]],["7b11e6",[".native-demo-2-drag[data-v-4521f010]"],[["height",80],["backgroundColor",4282431619],["position","relative"],["marginTop",10]]],["7b11e6",[".native-demo-2-point[data-v-4521f010]"],[["height",80],["width",80],["color",4282445460],["backgroundColor",4282445460],["position","absolute"],["left",0]]],["7b11e6",[".splitter[data-v-4521f010]"],[["marginTop",50]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["698a9e",[".color-green[data-v-35b77823]"],[["marginTop",10],["justifyContent","center"],["alignItems","center"],["backgroundColor",4282431619],["width",200],["height",80],["marginLeft",5]]],["698a9e",[".color-white[data-v-35b77823]"],[["justifyContent","center"],["alignItems","center"],["backgroundColor",4294967295],["width",100],["height",35]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["75284e",[".loop-green[data-v-0ffc52dc]"],[["marginTop",10],["justifyContent","center"],["alignItems","center"],["backgroundColor",4282431619],["width",200],["height",80]]],["75284e",[".loop-white[data-v-0ffc52dc]"],[["justifyContent","center"],["alignItems","center"],["backgroundColor",4294967295],["width",160],["height",50]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["64f5ce",[".loop-green[data-v-54047ca5]"],[["marginTop",10],["justifyContent","center"],["alignItems","center"],["backgroundColor",4282431619],["width",200],["height",80]]],["64f5ce",[".loop-white[data-v-54047ca5]"],[["justifyContent","center"],["alignItems","center"],["backgroundColor",4294967295],["width",160],["height",50]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["d1531b",[".vote-face[data-v-7020ef76]"],[["width",40],["height",40],["backgroundColor",4294957824],["borderColor",4293505366],["borderWidth",1],["borderStyle","solid"],["borderRadius",20]]],["d1531b",[".vote-down-face[data-v-7020ef76]"],[["position","absolute"],["top",15],["left",16],["width",18],["height",18],["resizeMode","stretch"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["f611de",[".vote-face[data-v-0dd85e5f]"],[["width",40],["height",40],["backgroundColor",4294957824],["borderColor",4293505366],["borderWidth",1],["borderStyle","solid"],["borderRadius",20]]],["f611de",[".vote-up-eye[data-v-0dd85e5f]"],[["position","absolute"],["top",16],["left",16],["width",18],["height",4]]],["f611de",[".vote-up-mouth[data-v-0dd85e5f]"],[["position","absolute"],["bottom",9],["left",9],["width",32],["height",16]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["200f62",["#animation-demo[data-v-4fa3f0c0]"],[["overflow","scroll"],["margin",7]]],["200f62",["#animation-demo .vote-icon[data-v-4fa3f0c0]"],[["width",50],["height",50],["marginRight",10],["alignItems","center"],["justifyContent","center"]]],["200f62",["#animation-demo .vote-face-container[data-v-4fa3f0c0]"],[["height",60]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["de55d0",["#dialog-demo[data-v-58c0fb99]"],[["display","flex"],["alignItems","center"],["flexDirection","column"],["flex",1],["margin",7]]],["de55d0",[".dialog-demo-button-1[data-v-58c0fb99]"],[["height",64],["width",200],["borderStyle","solid"],["borderColor",4282431619],["borderWidth",2],["borderRadius",10],["alignItems","center"],["marginTop",10]]],["de55d0",[".dialog-demo-button-1 .button-text[data-v-58c0fb99]"],[["lineHeight",56],["textAlign","center"]]],["de55d0",[".dialog-demo-button-2[data-v-58c0fb99]"],[["height",64],["width",200],["borderStyle","solid"],["borderColor",4294967295],["borderWidth",2],["borderRadius",10],["alignItems","center"],["marginTop",10]]],["de55d0",[".dialog-demo-button-2 .button-text[data-v-58c0fb99]"],[["lineHeight",56],["textAlign","center"]]],["de55d0",[".dialog-demo-wrapper[data-v-58c0fb99]"],[["flex",1],["backgroundColor",2000730243]]],["de55d0",[".dialog-2-demo-wrapper[data-v-58c0fb99]"],[["flex",1],["backgroundColor",3997451332],["justifyContent","center"],["alignItems","center"]]],["de55d0",[".dialog-demo-close-btn[data-v-58c0fb99]"],[["width",210],["height",200],["marginTop",300],["backgroundColor",4282431619],["justifyContent","center"],["alignItems","center"]]],["de55d0",[".dialog-demo-close-btn-text[data-v-58c0fb99]"],[["width",200],["fontSize",22],["lineHeight",40],["flexDirection","column"],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["3bc20c",["#demo-vue-native[data-v-2aae558d]"],[["flex",1],["padding",12],["overflowY","scroll"]]],["3bc20c",[".native-block[data-v-2aae558d]"],[["marginTop",15],["marginBottom",15]]],["3bc20c",[".native-block p[data-v-2aae558d]"],[["marginVertical",5]]],["3bc20c",[".vue-native-title[data-v-2aae558d]"],[["textDecorationLine","underline"],["color",4282431619]]],["3bc20c",[".event-btn[data-v-2aae558d]"],[["backgroundColor",4282431619],["flex",1],["flexDirection","column"],["width",120],["height",40],["justifyContent","center"],["alignItems","center"],["borderRadius",3],["marginBottom",5],["marginTop",5]]],["3bc20c",[".event-btn-result[data-v-2aae558d]"],[["flex",1],["flexDirection","column"]]],["3bc20c",[".event-btn .event-btn-text[data-v-2aae558d]"],[["color",4294967295]]],["3bc20c",[".item-wrapper[data-v-2aae558d]"],[["display","flex"],["justifyContent","flex-start"],["flexDirection","row"],["alignItems","center"]]],["3bc20c",[".item-button[data-v-2aae558d]"],[["width",80],["height",40],["backgroundColor",4282431619],["borderRadius",3],["marginBottom",5],["marginTop",5],["display","flex"],["justifyContent","center"],["alignItems","center"],["marginRight",10]]],["3bc20c",[".item-button span[data-v-2aae558d]"],[["color",4294967295],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["bfeca0",["#demo-pull-header-footer[data-v-52ecb6dc]"],[["flex",1],["padding",12]]],["bfeca0",["#demo-pull-header-footer .ul-refresh[data-v-52ecb6dc]"],[["backgroundColor",4282431619]]],["bfeca0",["#demo-pull-header-footer .ul-refresh-text[data-v-52ecb6dc]"],[["color",4294967295],["height",50],["lineHeight",50],["textAlign","center"]]],["bfeca0",["#demo-pull-header-footer .pull-footer[data-v-52ecb6dc]"],[["backgroundColor",4282431619],["height",40]]],["bfeca0",["#demo-pull-header-footer .pull-footer-text[data-v-52ecb6dc]"],[["color",4294967295],["lineHeight",40],["textAlign","center"]]],["bfeca0",["#demo-pull-header-footer #list[data-v-52ecb6dc]"],[["flex",1],["backgroundColor",4294967295]]],["bfeca0",["#demo-pull-header-footer .item-style[data-v-52ecb6dc]"],[["backgroundColor",4294967295],["paddingTop",12],["paddingBottom",12],["borderBottomWidth",1],["borderBottomColor",4293256677],["borderStyle","solid"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .article-title"],[["fontSize",17],["lineHeight",24],["color",4280558628]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .normal-text"],[["fontSize",11],["color",4289374890],["alignSelf","center"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .image"],[["flex",1],["height",160],["resizeMode","cover"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-one-image-container"],[["flexDirection","row"],["justifyContent","center"],["marginTop",8],["flex",1]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-one-image"],[["height",120]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two"],[["flexDirection","row"],["justifyContent","space-between"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two-left-container"],[["flex",1],["flexDirection","column"],["justifyContent","center"],["marginRight",8]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two-image-container"],[["flex",1]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two-image"],[["height",140]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-five-image-container"],[["flexDirection","row"],["justifyContent","center"],["marginTop",8],["flex",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["59dea1",["#demo-swiper"],[["flex",1]]],["59dea1",["#demo-swiper #swiper"],[["flex",1],["height",400]]],["59dea1",["#demo-swiper #swiper-dots"],[["flexDirection","row"],["alignItems","center"],["justifyContent","center"],["height",40]]],["59dea1",["#demo-swiper .dot"],[["width",10],["height",10],["borderRadius",5],["backgroundColor",4289309097],["marginLeft",5],["marginRight",5]]],["59dea1",["#demo-swiper .dot.hightlight"],[["backgroundColor",4281519410]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["db9dc8",["#demo-waterfall[data-v-056a0bc2]"],[["flex",1]]],["db9dc8",["#demo-waterfall .ul-refresh[data-v-056a0bc2]"],[["backgroundColor",4282431619]]],["db9dc8",["#demo-waterfall .ul-refresh-text[data-v-056a0bc2]"],[["color",4294967295],["height",50],["lineHeight",50],["textAlign","center"]]],["db9dc8",["#demo-waterfall .pull-footer[data-v-056a0bc2]"],[["backgroundColor",4282431619],["height",40]]],["db9dc8",["#demo-waterfall .pull-footer-text[data-v-056a0bc2]"],[["color",4294967295],["lineHeight",40],["textAlign","center"]]],["db9dc8",["#demo-waterfall .refresh-text[data-v-056a0bc2]"],[["height",40],["lineHeight",40],["textAlign","center"],["color",4294967295]]],["db9dc8",["#demo-waterfall .banner-view[data-v-056a0bc2]"],[["backgroundColor",4286611584],["height",100],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["db9dc8",["#demo-waterfall .pull-footer[data-v-056a0bc2]"],[["flex",1],["height",40],["backgroundColor",4282431619],["justifyContent","center"],["alignItems","center"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .list-view-item"],[["backgroundColor",4293848814]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .article-title"],[["fontSize",12],["lineHeight",16],["color",4280558628]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .normal-text"],[["fontSize",10],["color",4289374890],["alignSelf","center"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .image"],[["flex",1],["height",120],["resize","both"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-one-image-container"],[["flexDirection","row"],["justifyContent","center"],["marginTop",8],["flex",1]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-one-image"],[["height",60]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two"],[["flexDirection","row"],["justifyContent","space-between"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two-left-container"],[["flex",1],["flexDirection","column"],["justifyContent","center"],["marginRight",8]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two-image-container"],[["flex",1]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two-image"],[["height",80]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .refresh"],[["backgroundColor",4282431619]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["969574",["#demo-wrap[data-v-72406cea]"],[["overflowY","scroll"],["flex",1]]],["969574",["#demo-content[data-v-72406cea]"],[["flexDirection","column"]]],["969574",["#banner[data-v-72406cea]"],[["backgroundImage","https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png"],["backgroundSize","cover"],["height",150],["justifyContent","flex-end"]]],["969574",["#banner p[data-v-72406cea]"],[["color",4294934352],["textAlign","center"]]],["969574",["#tabs[data-v-72406cea]"],[["flexDirection","row"],["height",30]]],["969574",["#tabs p[data-v-72406cea]"],[["flex",1],["textAlign","center"],["backgroundColor",4293848814]]],["969574",["#tabs .selected[data-v-72406cea]"],[["backgroundColor",4294967295],["color",4282431619]]],["969574",[".item-even[data-v-72406cea]"],[["height",40]]],["969574",[".item-even p[data-v-72406cea]"],[["lineHeight",40],["fontSize",20],["textAlign","center"]]],["969574",[".item-odd[data-v-72406cea]"],[["height",40],["backgroundColor",4286611584]]],["969574",[".item-odd p[data-v-72406cea]"],[["lineHeight",40],["color",4294967295],["fontSize",20],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["b3ab98",[".feature-list[data-v-63300fa4]"],[["overflow","scroll"]]],["b3ab98",[".feature-item[data-v-63300fa4]"],[["alignItems","center"],["justifyContent","center"],["display","flex"],["paddingTop",10],["paddingBottom",10]]],["b3ab98",[".feature-title[data-v-63300fa4]"],[["color",4283782485],["textAlign","center"]]],["b3ab98",[".feature-item .button[data-v-63300fa4]"],[["display","block"],["borderStyle","solid"],["borderColor",4282431619],["borderWidth",2],["borderRadius",10],["justifyContent","center"],["alignItems","center"],["width",200],["height",56],["lineHeight",56],["fontSize",16],["color",4282431619],["textAlign","center"]]],["b3ab98",["#version-info[data-v-63300fa4]"],[["paddingTop",10],["paddingBottom",10],["marginBottom",10],["borderBottomWidth",1],["borderStyle","solid"],["borderBottomColor",4292664540]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["593803",[".demo-remote-input[data-v-c92250fe]"],[["display","flex"],["flex",1],["justifyContent","center"],["alignItems","center"],["flexDirection","column"]]],["593803",[".input-label[data-v-c92250fe]"],[["margin",20],["marginBottom",0]]],["593803",[".demo-remote-input .remote-input[data-v-c92250fe]"],[["width",350],["height",80],["color",4280558628],["borderWidth",1],["borderStyle","solid"],["borderColor",4291611852],["fontSize",16],["margin",20],["placeholderTextColor",4289374890]]],["593803",[".demo-remote-input .input-button[data-v-c92250fe]"],[["borderColor",4283210490],["borderWidth",1],["paddingLeft",10],["paddingRight",10],["borderStyle","solid"],["marginTop",5],["marginBottom",5],["marginLeft",20],["marginRight",20]]],["593803",[".tips-wrap[data-v-c92250fe]"],[["marginTop",20],["padding",10]]]])))}).call(this,o(5))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a,c=o(9),l=o(4);!function(e){e.pop="pop",e.push="push"}(n||(n={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(a||(a={}));const i=/\/$/,r=/^[^#]+#/;function s(e,t){return`${e.replace(r,"#")}${t}`}function u(e){let t=e;return t||(t="/"),"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(i,"")}function d(e=""){let t=[""],o=0,c=[];const l=u(e);function i(e){o+=1,o===t.length||t.splice(o),t.push(e)}const r={location:"",state:{},base:l,createHref:s.bind(null,l),replace(e){t.splice(o,1),o-=1,i(e)},push(e){i(e)},listen:e=>(c.push(e),()=>{const t=c.indexOf(e);t>-1&&c.splice(t,1)}),destroy(){c=[],t=[""],o=0},go(e,l=!0){const i=this.location,r=e<0?a.back:a.forward;o=Math.max(0,Math.min(o+e,t.length-1)),l&&function(e,t,{direction:o,delta:a}){const l={direction:o,delta:a,type:n.pop};for(const o of c)o(e,t,l)}(this.location,i,{direction:r,delta:e})},get position(){return o}};return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t[o]}),r}t.createHippyHistory=d,t.createHippyRouter=function(e){var t;const o=c.createRouter({history:null!==(t=e.history)&&void 0!==t?t:d(),routes:e.routes});return e.noInjectAndroidHardwareBackPress||function(e){if(l.Native.isAndroid()){function t(){const{position:t}=e.options.history;if(t>0)return e.back(),!0}e.isReady().then(()=>{l.BackAndroid.addListener(t)})}}(o),o},Object.keys(c).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})}))},function(e,t,o){e.exports=o.p+"assets/hippyLogoWhite.png"},function(e,t,o){"use strict";o.d(t,"a",(function(){return Ot}));var n=o(41),a=o(0);var c=o(1),l=Object(c.defineComponent)({setup(){const e=Object(c.ref)(!1),t=Object(c.ref)(!1),o=Object(c.ref)(!1);Object(c.onActivated)(()=>{console.log(Date.now()+"-button-activated")}),Object(c.onDeactivated)(()=>{console.log(Date.now()+"-button-Deactivated")});return{isClicked:e,isPressing:t,isOnceClicked:o,onClickView:()=>{e.value=!e.value},onTouchBtnStart:e=>{console.log("onBtnTouchDown",e)},onTouchBtnMove:e=>{console.log("onBtnTouchMove",e)},onTouchBtnEnd:e=>{console.log("onBtnTouchEnd",e)},onClickViewOnce:()=>{o.value=!o.value}}}}),i=(o(50),o(3)),r=o.n(i);var s=r()(l,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"button-demo"},[Object(a.g)("label",{class:"button-label"},"按钮和状态绑定"),Object(a.g)("button",{class:Object(a.o)([{"is-active":e.isClicked,"is-pressing":e.isPressing},"button-demo-1"]),onTouchstart:t[0]||(t[0]=Object(a.J)((...t)=>e.onTouchBtnStart&&e.onTouchBtnStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(a.J)((...t)=>e.onTouchBtnMove&&e.onTouchBtnMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(a.J)((...t)=>e.onTouchBtnEnd&&e.onTouchBtnEnd(...t),["stop"])),onClick:t[3]||(t[3]=(...t)=>e.onClickView&&e.onClickView(...t))},[e.isClicked?(Object(a.t)(),Object(a.f)("span",{key:0,class:"button-text"},"视图已经被点击了,再点一下恢复")):(Object(a.t)(),Object(a.f)("span",{key:1,class:"button-text"},"视图尚未点击"))],34),Object(a.I)(Object(a.g)("img",{alt:"demo1-image",src:"https://user-images.githubusercontent.com/12878546/148737148-d0b227cb-69c8-4b21-bf92-739fb0c3f3aa.png",class:"button-demo-1-image"},null,512),[[a.F,e.isClicked]])])}],["__scopeId","data-v-05797918"]]),u=o(10),d=o.n(u);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;tO},positionY:{type:Number,default:0}},setup(e){const{positionY:t}=Object(c.toRefs)(e),o=Object(c.ref)(null),n=Object(c.ref)(t.value);let a=0,l=0;Object(c.watch)(t,e=>{n.value=e});return{scrollOffsetY:e.positionY,demo1Style:O,ripple1:o,onLayout:()=>{o.value&&f.Native.measureInAppWindow(o.value).then(e=>{a=e.left,l=e.top})},onTouchStart:e=>{const t=e.touches[0];o.value&&(o.value.setHotspot(t.clientX-a,t.clientY+n.value-l),o.value.setPressed(!0))},onTouchEnd:()=>{o.value&&o.value.setPressed(!1)}}}});var y=r()(j,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{ref:"ripple1",style:Object(a.p)(e.wrapperStyle),nativeBackgroundAndroid:v({},e.nativeBackgroundAndroid),onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t)),onTouchstart:t[1]||(t[1]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t)),onTouchcancel:t[3]||(t[3]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},[Object(a.y)(e.$slots,"default")],44,["nativeBackgroundAndroid"])}]]);const w=e=>{console.log("onScroll",e)},A=e=>{console.log("onMomentumScrollBegin",e)},C=e=>{console.log("onMomentumScrollEnd",e)},x=e=>{console.log("onScrollBeginDrag",e)},S=e=>{console.log("onScrollEndDrag",e)};var k=Object(c.defineComponent)({components:{DemoRippleDiv:y},setup(){const e=Object(c.ref)(0),t=Object(c.ref)(null);return Object(c.onActivated)(()=>{console.log(Date.now()+"-div-activated")}),Object(c.onDeactivated)(()=>{console.log(Date.now()+"-div-Deactivated")}),Object(c.onMounted)(()=>{t.value&&t.value.scrollTo(50,0,1e3)}),{demo2:t,demo1Style:{display:"flex",height:"40px",width:"200px",backgroundImage:""+m.a,backgroundRepeat:"no-repeat",justifyContent:"center",alignItems:"center",marginTop:"10px",marginBottom:"10px"},imgRectangle:{width:"260px",height:"56px",alignItems:"center",justifyContent:"center"},imgRectangleExtra:{marginTop:"20px",backgroundImage:""+m.a,backgroundSize:"cover",backgroundRepeat:"no-repeat"},circleRipple:{marginTop:"30px",width:"150px",height:"56px",alignItems:"center",justifyContent:"center",borderWidth:"3px",borderStyle:"solid",borderColor:"#40b883"},squareRipple:{marginBottom:"20px",alignItems:"center",justifyContent:"center",width:"150px",height:"150px",backgroundColor:"#40b883",marginTop:"30px",borderRadius:"12px",overflow:"hidden"},Native:f.Native,offsetY:e,onScroll:w,onMomentumScrollBegin:A,onMomentumScrollEnd:C,onScrollBeginDrag:x,onScrollEndDrag:S,onOuterScroll:t=>{e.value=t.offsetY}}}});o(53);var T=r()(k,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("demo-ripple-div");return Object(a.t)(),Object(a.f)("div",{id:"div-demo",onScroll:t[5]||(t[5]=(...t)=>e.onOuterScroll&&e.onOuterScroll(...t))},[Object(a.g)("div",null,["ios"!==e.Native.Platform?(Object(a.t)(),Object(a.f)("div",{key:0},[Object(a.g)("label",null,"水波纹效果: "),Object(a.g)("div",{style:Object(a.p)(g(g({},e.imgRectangle),e.imgRectangleExtra))},[Object(a.i)(i,{"position-y":e.offsetY,"wrapper-style":e.imgRectangle,"native-background-android":{borderless:!0,color:"#666666"}},{default:Object(a.H)(()=>[Object(a.g)("p",{style:{color:"white",maxWidth:200}}," 外层背景图,内层无边框水波纹,受外层影响始终有边框 ")]),_:1},8,["position-y","wrapper-style"])],4),Object(a.i)(i,{"position-y":e.offsetY,"wrapper-style":e.circleRipple,"native-background-android":{borderless:!0,color:"#666666",rippleRadius:100}},{default:Object(a.H)(()=>[Object(a.g)("p",{style:{color:"black",textAlign:"center"}}," 无边框圆形水波纹 ")]),_:1},8,["position-y","wrapper-style"]),Object(a.i)(i,{"position-y":e.offsetY,"wrapper-style":e.squareRipple,"native-background-android":{borderless:!1,color:"#666666"}},{default:Object(a.H)(()=>[Object(a.g)("p",{style:{color:"#fff"}}," 带背景色水波纹 ")]),_:1},8,["position-y","wrapper-style"])])):Object(a.e)("v-if",!0),Object(a.g)("label",null,"背景图效果:"),Object(a.g)("div",{style:Object(a.p)(e.demo1Style),accessible:!0,"aria-label":"背景图","aria-disabled":!1,"aria-selected":!0,"aria-checked":!1,"aria-expanded":!1,"aria-busy":!0,role:"image","aria-valuemax":10,"aria-valuemin":1,"aria-valuenow":5,"aria-valuetext":"middle"},[Object(a.g)("p",{class:"div-demo-1-text"}," Hippy 背景图展示 ")],4),Object(a.g)("label",null,"渐变色效果:"),Object(a.g)("div",{class:"div-demo-1-1"},[Object(a.g)("p",{class:"div-demo-1-text"}," Hippy 背景渐变色展示 ")]),Object(a.g)("label",null,"Transform"),Object(a.g)("div",{class:"div-demo-transform"},[Object(a.g)("p",{class:"div-demo-transform-text"}," Transform ")]),Object(a.g)("label",null,"水平滚动:"),Object(a.g)("div",{ref:"demo2",class:"div-demo-2",bounces:!0,scrollEnabled:!0,pagingEnabled:!1,showsHorizontalScrollIndicator:!1,onScroll:t[0]||(t[0]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[1]||(t[1]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[2]||(t[2]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[3]||(t[3]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[4]||(t[4]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[Object(a.e)(" div 带着 overflow 属性的,只能有一个子节点,否则终端会崩溃 "),Object(a.g)("div",{class:"display-flex flex-row"},[Object(a.g)("p",{class:"text-block"}," A "),Object(a.g)("p",{class:"text-block"}," B "),Object(a.g)("p",{class:"text-block"}," C "),Object(a.g)("p",{class:"text-block"}," D "),Object(a.g)("p",{class:"text-block"}," E ")])],544),Object(a.g)("label",null,"垂直滚动:"),Object(a.g)("div",{class:"div-demo-3",showsVerticalScrollIndicator:!1},[Object(a.g)("div",{class:"display-flex flex-column"},[Object(a.g)("p",{class:"text-block"}," A "),Object(a.g)("p",{class:"text-block"}," B "),Object(a.g)("p",{class:"text-block"}," C "),Object(a.g)("p",{class:"text-block"}," D "),Object(a.g)("p",{class:"text-block"}," E ")])])])],32)}],["__scopeId","data-v-fe0428e4"]]);var D=Object(c.defineComponent)({components:{AsyncComponentFromLocal:Object(c.defineAsyncComponent)(async()=>o.e(1).then(o.bind(null,83))),AsyncComponentFromHttp:Object(c.defineAsyncComponent)(async()=>o.e(0).then(o.bind(null,84)))},setup(){const e=Object(c.ref)(!1);return{loaded:e,onClickLoadAsyncComponent:()=>{e.value=!0}}}});o(54);var P=r()(D,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("AsyncComponentFromLocal"),r=Object(a.z)("AsyncComponentFromHttp");return Object(a.t)(),Object(a.f)("div",{id:"demo-dynamicimport",onClick:t[0]||(t[0]=Object(a.J)((...t)=>e.onClickLoadAsyncComponent&&e.onClickLoadAsyncComponent(...t),["stop"]))},[Object(a.g)("div",{class:"import-btn"},[Object(a.g)("p",null,"点我异步加载")]),e.loaded?(Object(a.t)(),Object(a.f)("div",{key:0,class:"async-com-wrapper"},[Object(a.i)(i,{class:"async-component-outer-local"}),Object(a.i)(r)])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-0fa9b63f"]]);var E=Object(c.defineComponent)({setup(){const e=Object(c.ref)("https://hippyjs.org"),t=Object(c.ref)("https://hippyjs.org"),o=Object(c.ref)(null),n=Object(c.ref)(null),a=t=>{t&&(e.value=t.value)};return{targetUrl:e,displayUrl:t,iframeStyle:{"min-height":f.Native?100:"100vh"},input:o,iframe:n,onLoad:o=>{let{url:a}=o;void 0===a&&n.value&&(a=n.value.src),a&&a!==e.value&&(t.value=a)},onKeyUp:e=>{13===e.keyCode&&(e.preventDefault(),o.value&&a(o.value))},goToUrl:a,onLoadStart:e=>{const{url:t}=e;console.log("onLoadStart",t)},onLoadEnd:e=>{const{url:t,success:o,error:n}=e;console.log("onLoadEnd",t,o,n)}}}});o(55);var _=r()(E,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"iframe-demo",style:Object(a.p)(e.iframeStyle)},[Object(a.g)("label",null,"地址栏:"),Object(a.g)("input",{id:"address",ref:"input",name:"targetUrl",returnKeyType:"go",value:e.displayUrl,"on:endEditing":t[0]||(t[0]=(...t)=>e.goToUrl&&e.goToUrl(...t)),onKeyup:t[1]||(t[1]=(...t)=>e.onKeyUp&&e.onKeyUp(...t))},null,40,["value"]),Object(a.g)("iframe",{id:"iframe",ref:e.iframe,src:e.targetUrl,method:"get",onLoad:t[2]||(t[2]=(...t)=>e.onLoad&&e.onLoad(...t)),"on:loadStart":t[3]||(t[3]=(...t)=>e.onLoadStart&&e.onLoadStart(...t)),"on:loadEnd":t[4]||(t[4]=(...t)=>e.onLoadEnd&&e.onLoadEnd(...t))},null,40,["src"])],4)}]]);var I=o(42),B=o.n(I),R=Object(c.defineComponent)({setup(){const e=Object(c.ref)({});return{defaultImage:m.a,hippyLogoImage:B.a,gifLoadResult:e,onTouchEnd:e=>{console.log("onTouchEnd",e),e.stopPropagation(),console.log(e)},onTouchMove:e=>{console.log("onTouchMove",e),e.stopPropagation(),console.log(e)},onTouchStart:e=>{console.log("onTouchDown",e),e.stopPropagation()},onLoad:t=>{console.log("onLoad",t);const{width:o,height:n,url:a}=t;e.value={width:o,height:n,url:a}}}}});o(56);var L=r()(R,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"demo-img"},[Object(a.g)("div",{id:"demo-img-container"},[Object(a.g)("label",null,"Contain:"),Object(a.g)("img",{alt:"",src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",placeholder:e.defaultImage,class:"image contain",onTouchstart:t[0]||(t[0]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchmove:t[1]||(t[1]=(...t)=>e.onTouchMove&&e.onTouchMove(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},null,40,["placeholder"]),Object(a.g)("label",null,"Cover:"),Object(a.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover"},null,8,["placeholder"]),Object(a.g)("label",null,"Center:"),Object(a.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image center"},null,8,["placeholder"]),Object(a.g)("label",null,"CapInsets:"),Object(a.g)("img",{placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover",capInsets:{top:50,left:50,bottom:50,right:50}},null,8,["placeholder"]),Object(a.g)("label",null,"TintColor:"),Object(a.g)("img",{src:e.hippyLogoImage,class:"image center tint-color"},null,8,["src"]),Object(a.g)("label",null,"Gif:"),Object(a.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",class:"image cover",onLoad:t[3]||(t[3]=(...t)=>e.onLoad&&e.onLoad(...t))},null,40,["placeholder"]),Object(a.g)("div",{class:"img-result"},[Object(a.g)("p",null,"Load Result: "+Object(a.D)(e.gifLoadResult),1)])])])}],["__scopeId","data-v-25c66a4a"]]);const V=e=>{e.stopPropagation()},H=e=>{console.log(e.value)},N=e=>{console.log("onKeyboardWillShow",e)},M=()=>{console.log("onKeyboardWillHide")};var z=Object(c.defineComponent)({setup(){const e=Object(c.ref)(null),t=Object(c.ref)(null),o=Object(c.ref)(""),n=Object(c.ref)(""),a=Object(c.ref)(!1),l=()=>{if(e.value){const t=e.value;if(t.childNodes.length){let e=t.childNodes;return e=e.filter(e=>"input"===e.tagName),e}}return[]};Object(c.onMounted)(()=>{Object(c.nextTick)(()=>{const e=l();e.length&&e[0].focus()})});return{input:t,inputDemo:e,text:o,event:n,isFocused:a,blur:e=>{e.stopPropagation(),t.value&&t.value.blur()},clearTextContent:()=>{o.value=""},focus:e=>{e.stopPropagation(),t.value&&t.value.focus()},blurAllInput:()=>{const e=l();e.length&&e.map(e=>(e.blur(),!0))},onKeyboardWillShow:N,onKeyboardWillHide:M,stopPropagation:V,textChange:H,onChange:e=>{null!=e&&e.value&&(o.value=e.value)},onBlur:async()=>{t.value&&(a.value=await t.value.isFocused(),n.value="onBlur")},onFocus:async()=>{t.value&&(a.value=await t.value.isFocused(),n.value="onFocus")}}}});o(57);var F=r()(z,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{ref:"inputDemo",class:"demo-input",onClick:t[15]||(t[15]=Object(a.J)((...t)=>e.blurAllInput&&e.blurAllInput(...t),["stop"]))},[Object(a.g)("label",null,"文本:"),Object(a.g)("input",{ref:"input",placeholder:"Text","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",editable:!0,class:"input",value:e.text,onChange:t[0]||(t[0]=t=>e.text=t.value),onClick:t[1]||(t[1]=(...t)=>e.stopPropagation&&e.stopPropagation(...t)),"on:keyboardWillShow":t[2]||(t[2]=(...t)=>e.onKeyboardWillShow&&e.onKeyboardWillShow(...t)),"on:keyboardWillHide":t[3]||(t[3]=(...t)=>e.onKeyboardWillHide&&e.onKeyboardWillHide(...t)),onBlur:t[4]||(t[4]=(...t)=>e.onBlur&&e.onBlur(...t)),onFocus:t[5]||(t[5]=(...t)=>e.onFocus&&e.onFocus(...t))},null,40,["value"]),Object(a.g)("div",null,[Object(a.g)("span",null,"文本内容为:"),Object(a.g)("span",null,Object(a.D)(e.text),1)]),Object(a.g)("div",null,[Object(a.g)("span",null,Object(a.D)(`事件: ${e.event} | isFocused: ${e.isFocused}`),1)]),Object(a.g)("button",{class:"input-button",onClick:t[6]||(t[6]=Object(a.J)((...t)=>e.clearTextContent&&e.clearTextContent(...t),["stop"]))},[Object(a.g)("span",null,"清空文本内容")]),Object(a.g)("button",{class:"input-button",onClick:t[7]||(t[7]=Object(a.J)((...t)=>e.focus&&e.focus(...t),["stop"]))},[Object(a.g)("span",null,"Focus")]),Object(a.g)("button",{class:"input-button",onClick:t[8]||(t[8]=Object(a.J)((...t)=>e.blur&&e.blur(...t),["stop"]))},[Object(a.g)("span",null,"Blur")]),Object(a.g)("label",null,"数字:"),Object(a.g)("input",{type:"number","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Number",class:"input",onChange:t[9]||(t[9]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[10]||(t[10]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(a.g)("label",null,"密码:"),Object(a.g)("input",{type:"password","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Password",class:"input",onChange:t[11]||(t[11]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[12]||(t[12]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(a.g)("label",null,"文本(限制5个字符):"),Object(a.g)("input",{maxlength:5,"caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"5 个字符",class:"input",onChange:t[13]||(t[13]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[14]||(t[14]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32)],512)}],["__scopeId","data-v-ebfef7c0"]]);const Y=[{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5}],U=e=>{console.log("onAppear",e)},W=e=>{console.log("onDisappear",e)},G=e=>{console.log("onWillAppear",e)},K=e=>{console.log("onWillDisappear",e)},J=e=>{console.log("momentumScrollBegin",e)},q=e=>{console.log("momentumScrollEnd",e)},Q=e=>{console.log("onScrollBeginDrag",e)},X=e=>{console.log("onScrollEndDrag",e)};var Z=Object(c.defineComponent)({setup(){const e=Object(c.ref)(""),t=Object(c.ref)([]),o=Object(c.ref)(null),n=Object(c.ref)(!1);let a=!1;let l=!1;return Object(c.onMounted)(()=>{a=!1,t.value=[...Y]}),{loadingState:e,dataSource:t,delText:"Delete",list:o,STYLE_LOADING:100,horizontal:n,Platform:f.Native.Platform,onAppear:U,onDelete:e=>{void 0!==e.index&&t.value.splice(e.index,1)},onDisappear:W,onEndReached:async o=>{if(console.log("endReached",o),a)return;const n=t.value;a=!0,e.value="Loading now...",t.value=[...n,[{style:100}]];const c=await(async()=>new Promise(e=>{setTimeout(()=>e(Y),600)}))();t.value=[...n,...c],a=!1},onWillAppear:G,onWillDisappear:K,changeDirection:()=>{n.value=!n.value},onScroll:e=>{console.log("onScroll",e.offsetY),e.offsetY<=0?l||(l=!0,console.log("onTopReached")):l=!1},onMomentumScrollBegin:J,onMomentumScrollEnd:q,onScrollBeginDrag:Q,onScrollEndDrag:X}}});o(58);var $=r()(Z,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"demo-list"},[Object(a.g)("ul",{id:"list",ref:"list",style:Object(a.p)(e.horizontal&&{height:50,flex:0}),horizontal:e.horizontal,exposureEventEnabled:!0,delText:e.delText,editable:!0,bounces:!0,rowShouldSticky:!0,overScrollEnabled:!0,scrollEventThrottle:1e3,"on:endReached":t[0]||(t[0]=(...t)=>e.onEndReached&&e.onEndReached(...t)),onDelete:t[1]||(t[1]=(...t)=>e.onDelete&&e.onDelete(...t)),onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[3]||(t[3]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[4]||(t[4]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[5]||(t[5]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[6]||(t[6]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,(t,o)=>(Object(a.t)(),Object(a.f)("li",{key:o,class:Object(a.o)(e.horizontal&&"item-horizontal-style"),type:t.style,sticky:1===o,onAppear:t=>e.onAppear(o),onDisappear:t=>e.onDisappear(o),"on:willAppear":t=>e.onWillAppear(o),"on:willDisappear":t=>e.onWillDisappear(o)},[1===t.style?(Object(a.t)(),Object(a.f)("div",{key:0,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{numberOfLines:1},Object(a.D)(o+": Style 1 UI"),1)])])):2===t.style?(Object(a.t)(),Object(a.f)("div",{key:1,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{numberOfLines:1},Object(a.D)(o+": Style 2 UI"),1)])])):5===t.style?(Object(a.t)(),Object(a.f)("div",{key:2,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{numberOfLines:1},Object(a.D)(o+": Style 5 UI"),1)])])):(Object(a.t)(),Object(a.f)("div",{key:3,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{id:"loading"},Object(a.D)(e.loadingState),1)])])),o!==e.dataSource.length-1?(Object(a.t)(),Object(a.f)("div",{key:4,class:"separator-line"})):Object(a.e)("v-if",!0)],42,["type","sticky","onAppear","onDisappear","on:willAppear","on:willDisappear"]))),128))],44,["horizontal","delText"]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:0,style:{position:"absolute",right:20,bottom:20,width:67,height:67,borderRadius:30,boxShadowOpacity:.6,boxShadowRadius:5,boxShadowOffsetX:3,boxShadowOffsetY:3,boxShadowColor:"#40b883"},onClick:t[7]||(t[7]=(...t)=>e.changeDirection&&e.changeDirection(...t))},[Object(a.g)("div",{style:{width:60,height:60,borderRadius:30,backgroundColor:"#40b883",display:"flex",justifyContent:"center",alignItems:"center"}},[Object(a.g)("p",{style:{color:"white"}}," 切换方向 ")])])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-75193fb0"]]);var ee=Object(c.defineComponent)({setup(){const e=Object(c.ref)(""),t=Object(c.ref)(0),o=Object(c.ref)({numberOfLines:2,ellipsizeMode:"tail"}),n=Object(c.ref)({textShadowOffset:{x:1,y:1},textShadowOffsetX:1,textShadowOffsetY:1,textShadowRadius:3,textShadowColor:"grey"}),a=Object(c.ref)("simple");return{img1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEXRSTlMA9QlZEMPc2Mmmj2VkLEJ4Rsx+pEgAAAChSURBVCjPjVLtEsMgCDOAdbbaNu//sttVPes+zvGD8wgQCLp/TORbUGMAQtQ3UBeSAMlF7/GV9Cmb5eTJ9R7H1t4bOqLE3rN2UCvvwpLfarhILfDjJL6WRKaXfzxc84nxAgLzCGSGiwKwsZUB8hPorZwUV1s1cnGKw+yAOrnI+7hatNIybl9Q3OkBfzopCw6SmDVJJiJ+yD451OS0/TNM7QnuAAbvCG0TSAAAAABJRU5ErkJggg==",img2:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAA\n AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEnRSTlMA/QpX7WQU2m27pi3Ej9KEQXaD5HhjAAAAqklEQVQoz41\n SWxLDIAh0RcFXTHL/yzZSO01LMpP9WJEVUNA9gfdXTioCSKE/kQQTQmf/ArRYva+xAcuPP37seFII2L7FN4BmXdHzlEPIpDHiZ0A7eIViPc\n w2QwqipkvMSdNEFBUE1bmMNOyE7FyFaIkAP4jHhhG80lvgkzBODTKpwhRMcexuR7fXzcp08UDq6GRbootp4oRtO3NNpd4NKtnR9hB6oaefw\n eIFQU0EfnGDRoQAAAAASUVORK5CYII=",img3:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",labelTouchStatus:e,textMode:o,textShadow:n,textShadowIndex:t,Platform:f.Native.Platform,breakStrategy:a,onTouchTextEnd:t=>{e.value="touch end",console.log("onTextTouchEnd",t),console.log(t)},onTouchTextMove:t=>{e.value="touch move",console.log("onTextTouchMove",t),console.log(t)},onTouchTextStart:t=>{e.value="touch start",console.log("onTextTouchDown",t)},decrementLine:()=>{o.value.numberOfLines>1&&(o.value.numberOfLines-=1)},incrementLine:()=>{o.value.numberOfLines<6&&(o.value.numberOfLines+=1)},changeMode:e=>{o.value.ellipsizeMode=e},changeTextShadow:()=>{n.value.textShadowOffsetX=t.value%2==1?10:1,n.value.textShadowColor=t.value%2==1?"red":"grey",t.value+=1},changeBreakStrategy:e=>{a.value=e}}}});o(59);var te=r()(ee,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"p-demo"},[Object(a.g)("div",null,[Object(a.g)("label",null,"不带样式:"),Object(a.g)("p",{class:"p-demo-content",onTouchstart:t[0]||(t[0]=Object(a.J)((...t)=>e.onTouchTextStart&&e.onTouchTextStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(a.J)((...t)=>e.onTouchTextMove&&e.onTouchTextMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(a.J)((...t)=>e.onTouchTextEnd&&e.onTouchTextEnd(...t),["stop"]))}," 这是最普通的一行文字 ",32),Object(a.g)("p",{class:"p-demo-content-status"}," 当前touch状态: "+Object(a.D)(e.labelTouchStatus),1),Object(a.g)("label",null,"颜色:"),Object(a.g)("p",{class:"p-demo-1 p-demo-content"}," 这行文字改变了颜色 "),Object(a.g)("label",null,"尺寸:"),Object(a.g)("p",{class:"p-demo-2 p-demo-content"}," 这行改变了大小 "),Object(a.g)("label",null,"粗体:"),Object(a.g)("p",{class:"p-demo-3 p-demo-content"}," 这行加粗了 "),Object(a.g)("label",null,"下划线:"),Object(a.g)("p",{class:"p-demo-4 p-demo-content"}," 这里有条下划线 "),Object(a.g)("label",null,"删除线:"),Object(a.g)("p",{class:"p-demo-5 p-demo-content"}," 这里有条删除线 "),Object(a.g)("label",null,"自定义字体:"),Object(a.g)("p",{class:"p-demo-6 p-demo-content"}," 腾讯字体 Hippy "),Object(a.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold"}}," 腾讯字体 Hippy 粗体 "),Object(a.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-style":"italic"}}," 腾讯字体 Hippy 斜体 "),Object(a.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold","font-style":"italic"}}," 腾讯字体 Hippy 粗斜体 "),Object(a.g)("label",null,"文字阴影:"),Object(a.g)("p",{class:"p-demo-7 p-demo-content",style:Object(a.p)(e.textShadow),onClick:t[3]||(t[3]=(...t)=>e.changeTextShadow&&e.changeTextShadow(...t))}," 这里是文字灰色阴影,点击可改变颜色 ",4),Object(a.g)("label",null,"文本字符间距"),Object(a.g)("p",{class:"p-demo-8 p-demo-content",style:{"margin-bottom":"5px"}}," Text width letter-spacing -1 "),Object(a.g)("p",{class:"p-demo-9 p-demo-content",style:{"margin-top":"5px"}}," Text width letter-spacing 5 "),Object(a.g)("label",null,"字体 style:"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"font-style":"normal"}}," font-style: normal "),Object(a.g)("p",{style:{"font-style":"italic"}}," font-style: italic "),Object(a.g)("p",null,"font-style: [not set]")]),Object(a.g)("label",null,"numberOfLines="+Object(a.D)(e.textMode.numberOfLines)+" | ellipsizeMode="+Object(a.D)(e.textMode.ellipsizeMode),1),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},[Object(a.g)("span",{style:{"font-size":"19px",color:"white"}},"先帝创业未半而中道崩殂,今天下三分,益州疲弊,此诚危急存亡之秋也。"),Object(a.g)("span",null,"然侍卫之臣不懈于内,忠志之士忘身于外者,盖追先帝之殊遇,欲报之于陛下也。")],8,["numberOfLines","ellipsizeMode"]),Object(a.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},Object(a.D)("line 1\n\nline 3\n\nline 5"),8,["numberOfLines","ellipsizeMode"]),Object(a.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5,fontSize:14}},[Object(a.g)("img",{style:{width:24,height:24},src:e.img1},null,8,["src"]),Object(a.g)("img",{style:{width:24,height:24},src:e.img2},null,8,["src"])],8,["numberOfLines","ellipsizeMode"]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[4]||(t[4]=(...t)=>e.incrementLine&&e.incrementLine(...t))},[Object(a.g)("span",null,"加一行")]),Object(a.g)("button",{class:"button",onClick:t[5]||(t[5]=(...t)=>e.decrementLine&&e.decrementLine(...t))},[Object(a.g)("span",null,"减一行")])]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[6]||(t[6]=()=>e.changeMode("clip"))},[Object(a.g)("span",null,"clip")]),Object(a.g)("button",{class:"button",onClick:t[7]||(t[7]=()=>e.changeMode("head"))},[Object(a.g)("span",null,"head")]),Object(a.g)("button",{class:"button",onClick:t[8]||(t[8]=()=>e.changeMode("middle"))},[Object(a.g)("span",null,"middle")]),Object(a.g)("button",{class:"button",onClick:t[9]||(t[9]=()=>e.changeMode("tail"))},[Object(a.g)("span",null,"tail")])])]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("label",{key:0},"break-strategy="+Object(a.D)(e.breakStrategy),1)):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:1,class:"p-demo-content"},[Object(a.g)("p",{"break-strategy":e.breakStrategy,style:{borderWidth:1,borderColor:"gray"}},Object(a.D)(e.longText),9,["break-strategy"]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[10]||(t[10]=Object(a.J)(()=>e.changeBreakStrategy("simple"),["stop"]))},[Object(a.g)("span",null,"simple")]),Object(a.g)("button",{class:"button",onClick:t[11]||(t[11]=Object(a.J)(()=>e.changeBreakStrategy("high_quality"),["stop"]))},[Object(a.g)("span",null,"high_quality")]),Object(a.g)("button",{class:"button",onClick:t[12]||(t[12]=Object(a.J)(()=>e.changeBreakStrategy("balanced"),["stop"]))},[Object(a.g)("span",null,"balanced")])])])):Object(a.e)("v-if",!0),Object(a.g)("label",null,"vertical-align"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img3},null,8,["src"]),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"top"}},"字"),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"middle"}},"字"),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"baseline"}},"字"),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"bottom"}},"字")]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:0}," legacy mode: ")):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:1,style:{lineHeight:"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12","vertical-alignment":"1"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12","vertical-alignment":"2"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24","vertical-alignment":"3"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24",top:"-10"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12",top:"-5"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24",top:"5"},src:e.img3},null,8,["src"]),Object(a.g)("span",{style:{"font-size":"16"}},"字"),Object(a.g)("span",{style:{"font-size":"16"}},"字"),Object(a.g)("span",{style:{"font-size":"16"}},"字"),Object(a.g)("span",{style:{"font-size":"16"}},"字")])):Object(a.e)("v-if",!0)]),Object(a.g)("label",null,"tint-color & background-color"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(a.g)("span",{style:{"vertical-align":"middle","background-color":"#99f"}},"text")]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:0}," legacy mode: ")):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:1,style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","background-color":"#ccc"},src:e.img2},null,8,["src"])])):Object(a.e)("v-if",!0)]),Object(a.g)("label",null,"margin"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"top","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"baseline","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"bottom","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:0}," legacy mode: ")):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:1,style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"1","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"2","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"3","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])])):Object(a.e)("v-if",!0)])])])}],["__scopeId","data-v-34e2123c"]]);var oe=Object(c.defineComponent)({setup:()=>({Platform:f.Native.Platform})});o(60);var ne=r()(oe,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"shadow-demo"},["android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:0,class:"no-offset-shadow-demo-cube-android"},[Object(a.g)("div",{class:"no-offset-shadow-demo-content-android"},[Object(a.g)("p",null,"没有偏移阴影样式")])])):Object(a.e)("v-if",!0),"ios"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:1,class:"no-offset-shadow-demo-cube-ios"},[Object(a.g)("div",{class:"no-offset-shadow-demo-content-ios"},[Object(a.g)("p",null,"没有偏移阴影样式")])])):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:2,class:"offset-shadow-demo-cube-android"},[Object(a.g)("div",{class:"offset-shadow-demo-content-android"},[Object(a.g)("p",null,"偏移阴影样式")])])):Object(a.e)("v-if",!0),"ios"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:3,class:"offset-shadow-demo-cube-ios"},[Object(a.g)("div",{class:"offset-shadow-demo-content-ios"},[Object(a.g)("p",null,"偏移阴影样式")])])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-19ab3f2d"]]);var ae=Object(c.defineComponent)({setup(){const e=Object(c.ref)("The quick brown fox jumps over the lazy dog,快灰狐狸跳过了懒 🐕。"),t=Object(c.ref)("simple");return{content:e,breakStrategy:t,Platform:f.Native.Platform,longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",contentSizeChange:e=>{console.log(e)},changeBreakStrategy:e=>{t.value=e}}}});o(61);var ce=r()(ae,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"demo-textarea"},[Object(a.g)("label",null,"多行文本:"),Object(a.g)("textarea",{value:e.content,rows:10,placeholder:"多行文本编辑器",class:"textarea",onChange:t[0]||(t[0]=t=>e.content=t.value),"on:contentSizeChange":t[1]||(t[1]=(...t)=>e.contentSizeChange&&e.contentSizeChange(...t))},null,40,["value"]),Object(a.g)("div",{class:"output-container"},[Object(a.g)("p",{class:"output"}," 输入的文本为:"+Object(a.D)(e.content),1)]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("label",{key:0},"break-strategy="+Object(a.D)(e.breakStrategy),1)):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:1},[Object(a.g)("textarea",{class:"textarea",defaultValue:e.longText,"break-strategy":e.breakStrategy},null,8,["defaultValue","break-strategy"]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[2]||(t[2]=()=>e.changeBreakStrategy("simple"))},[Object(a.g)("span",null,"simple")]),Object(a.g)("button",{class:"button",onClick:t[3]||(t[3]=()=>e.changeBreakStrategy("high_quality"))},[Object(a.g)("span",null,"high_quality")]),Object(a.g)("button",{class:"button",onClick:t[4]||(t[4]=()=>e.changeBreakStrategy("balanced"))},[Object(a.g)("span",null,"balanced")])])])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-6d6167b3"]]);var le=o(6),ie=Object(c.defineComponent)({setup(){let e=null;const t=Object(c.ref)("");return{result:t,funList:["getString","getNum","getBoolean","getMap","getObject","getArray","nativeWithPromise","getTurboConfig","printTurboConfig","getInfo","setInfo"],onTurboFunc:async o=>{if("nativeWithPromise"===o)t.value=await Object(le.h)("aaa");else if("getTurboConfig"===o)e=Object(le.g)(),t.value="获取到config对象";else if("printTurboConfig"===o){var n;t.value=Object(le.i)(null!==(n=e)&&void 0!==n?n:Object(le.g)())}else if("getInfo"===o){var a;t.value=(null!==(a=e)&&void 0!==a?a:Object(le.g)()).getInfo()}else if("setInfo"===o){var c;(null!==(c=e)&&void 0!==c?c:Object(le.g)()).setInfo("Hello World"),t.value="设置config信息成功"}else{const e={getString:()=>Object(le.f)("123"),getNum:()=>Object(le.d)(1024),getBoolean:()=>Object(le.b)(!0),getMap:()=>Object(le.c)(new Map([["a","1"],["b","2"]])),getObject:()=>Object(le.e)({c:"3",d:"4"}),getArray:()=>Object(le.a)(["a","b","c"])};t.value=e[o]()}}}}});o(62);var re=r()(ie,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"demo-turbo"},[Object(a.g)("span",{class:"result"},Object(a.D)(e.result),1),Object(a.g)("ul",{style:{flex:"1"}},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.funList,t=>(Object(a.t)(),Object(a.f)("li",{key:t,class:"cell"},[Object(a.g)("div",{class:"contentView"},[Object(a.g)("div",{class:"func-info"},[Object(a.g)("span",{numberOfLines:0},"函数名:"+Object(a.D)(t),1)]),Object(a.g)("span",{class:"action-button",onClick:Object(a.J)(()=>e.onTurboFunc(t),["stop"])},"运行",8,["onClick"])])]))),128))])])}]]);let se=null;const ue=Object(c.ref)([]),de=e=>{ue.value.unshift(e)},be=()=>{se&&1===se.readyState&&se.close()};var ge=Object(c.defineComponent)({setup(){const e=Object(c.ref)(null),t=Object(c.ref)(null);return{output:ue,inputUrl:e,inputMessage:t,connect:()=>{const t=e.value;t&&t.getValue().then(e=>{(e=>{be(),se=new WebSocket(e),se.onopen=()=>{var e;return de("[Opened] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onclose=()=>{var e;return de("[Closed] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onerror=e=>{de("[Error] "+e.reason)},se.onmessage=e=>de("[Received] "+e.data)})(e)})},disconnect:()=>{be()},sendMessage:()=>{const e=t.value;e&&e.getValue().then(e=>{(e=>{de("[Sent] "+e),se&&se.send(e)})(e)})}}}});o(63);var fe={demoDiv:{name:"div 组件",component:T},demoShadow:{name:"box-shadow",component:ne},demoP:{name:"p 组件",component:te},demoButton:{name:"button 组件",component:s},demoImg:{name:"img 组件",component:L},demoInput:{name:"input 组件",component:F},demoTextarea:{name:"textarea 组件",component:ce},demoUl:{name:"ul/li 组件",component:$},demoIFrame:{name:"iframe 组件",component:_},demoWebSocket:{name:"WebSocket",component:r()(ge,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"websocket-demo"},[Object(a.g)("div",null,[Object(a.g)("p",{class:"demo-title"}," Url: "),Object(a.g)("input",{ref:"inputUrl",value:"wss://echo.websocket.org"},null,512),Object(a.g)("div",{class:"row"},[Object(a.g)("button",{onClick:t[0]||(t[0]=Object(a.J)((...t)=>e.connect&&e.connect(...t),["stop"]))},[Object(a.g)("span",null,"Connect")]),Object(a.g)("button",{onClick:t[1]||(t[1]=Object(a.J)((...t)=>e.disconnect&&e.disconnect(...t),["stop"]))},[Object(a.g)("span",null,"Disconnect")])])]),Object(a.g)("div",null,[Object(a.g)("p",{class:"demo-title"}," Message: "),Object(a.g)("input",{ref:"inputMessage",value:"Rock it with Hippy WebSocket"},null,512),Object(a.g)("button",{onClick:t[2]||(t[2]=Object(a.J)((...t)=>e.sendMessage&&e.sendMessage(...t),["stop"]))},[Object(a.g)("span",null,"Send")])]),Object(a.g)("div",null,[Object(a.g)("p",{class:"demo-title"}," Log: "),Object(a.g)("div",{class:"output fullscreen"},[Object(a.g)("div",null,[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.output,(e,t)=>(Object(a.t)(),Object(a.f)("p",{key:t},Object(a.D)(e),1))),128))])])])])}],["__scopeId","data-v-99a0fc74"]])},demoDynamicImport:{name:"DynamicImport",component:P},demoTurbo:{name:"Turbo",component:re}};var pe=Object(c.defineComponent)({setup(){const e=Object(c.ref)(null),t=Object(c.ref)(0),o=Object(c.ref)(0);Object(c.onMounted)(()=>{o.value=f.Native.Dimensions.screen.width});return{demoOnePointRef:e,demon2Left:t,screenWidth:o,onTouchDown1:t=>{const n=t.touches[0].clientX-40;console.log("touchdown x",n,o.value),e.value&&e.value.setNativeProps({style:{left:n}})},onTouchDown2:e=>{t.value=e.touches[0].clientX-40,console.log("touchdown x",t.value,o.value)},onTouchMove1:t=>{const n=t.touches[0].clientX-40;console.log("touchmove x",n,o.value),e.value&&e.value.setNativeProps({style:{left:n}})},onTouchMove2:e=>{t.value=e.touches[0].clientX-40,console.log("touchmove x",t.value,o.value)}}}});o(64);var me=r()(pe,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"set-native-props-demo"},[Object(a.g)("label",null,"setNativeProps实现拖动效果"),Object(a.g)("div",{class:"native-demo-1-drag",style:Object(a.p)({width:e.screenWidth}),onTouchstart:t[0]||(t[0]=Object(a.J)((...t)=>e.onTouchDown1&&e.onTouchDown1(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(a.J)((...t)=>e.onTouchMove1&&e.onTouchMove1(...t),["stop"]))},[Object(a.g)("div",{ref:"demoOnePointRef",class:"native-demo-1-point"},null,512)],36),Object(a.g)("div",{class:"splitter"}),Object(a.g)("label",null,"普通渲染实现拖动效果"),Object(a.g)("div",{class:"native-demo-2-drag",style:Object(a.p)({width:e.screenWidth}),onTouchstart:t[2]||(t[2]=Object(a.J)((...t)=>e.onTouchDown2&&e.onTouchDown2(...t),["stop"])),onTouchmove:t[3]||(t[3]=Object(a.J)((...t)=>e.onTouchMove2&&e.onTouchMove2(...t),["stop"]))},[Object(a.g)("div",{class:"native-demo-2-point",style:Object(a.p)({left:e.demon2Left+"px"})},null,4)],36)])}],["__scopeId","data-v-4521f010"]]);const he={backgroundColor:[{startValue:"#40b883",toValue:"yellow",valueType:"color",duration:1e3,delay:0,mode:"timing",timingFunction:"linear"},{startValue:"yellow",toValue:"#40b883",duration:1e3,valueType:"color",delay:0,mode:"timing",timingFunction:"linear",repeatCount:-1}]};var ve=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup:()=>({colorActions:he})});o(65);var Oe=r()(ve,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationView",playing:e.playing,actions:e.colorActions,class:"color-green"},{default:Object(a.H)(()=>[Object(a.g)("div",{class:"color-white"},[Object(a.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-35b77823"]]);const je={transform:{translateX:[{startValue:50,toValue:150,duration:1e3,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"},{startValue:150,toValue:50,duration:1e3,repeatCount:-1,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"}]}};var ye=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup(e){const t=Object(c.ref)(null);return Object(c.onMounted)(()=>{e.onRef&&e.onRef(t.value)}),{animationView:t,loopActions:je}}});o(66);var we=r()(ye,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationView",playing:e.playing,actions:e.loopActions,class:"loop-green"},{default:Object(a.H)(()=>[Object(a.g)("div",{class:"loop-white"},[Object(a.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-0ffc52dc"]]);const Ae={transform:{translateX:{startValue:0,toValue:200,duration:2e3,repeatCount:-1}}},Ce={transform:{translateY:{startValue:0,toValue:50,duration:2e3,repeatCount:-1}}};var xe=Object(c.defineComponent)({props:{playing:Boolean,direction:{type:String,default:""},onRef:{type:Function,default:()=>{}}},emits:["actionsDidUpdate"],setup(e){const{direction:t}=Object(c.toRefs)(e),o=Object(c.ref)(""),n=Object(c.ref)(null);return Object(c.watch)(t,e=>{switch(e){case"horizon":o.value=Ae;break;case"vertical":o.value=Ce;break;default:throw new Error("direction must be defined in props")}},{immediate:!0}),Object(c.onMounted)(()=>{e.onRef&&e.onRef(n.value)}),{loopActions:o,animationLoop:n}}});o(67);var Se=r()(xe,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationLoop",playing:e.playing,actions:e.loopActions,class:"loop-green",onActionsDidUpdate:t[0]||(t[0]=t=>e.$emit("actionsDidUpdate"))},{default:Object(a.H)(()=>[Object(a.g)("div",{class:"loop-white"},[Object(a.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-54047ca5"]]);const ke={transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},Te={transform:{translateX:[{startValue:10,toValue:1,duration:250,timingFunction:"linear"},{startValue:1,toValue:10,duration:250,delay:750,timingFunction:"linear",repeatCount:-1}]}};var De=Object(c.defineComponent)({props:{isChanged:{type:Boolean,default:!0}},setup(e){const t=Object(c.ref)(null),o=Object(c.ref)({face:ke,downVoteFace:{left:[{startValue:16,toValue:10,delay:250,duration:125},{startValue:10,toValue:24,duration:250},{startValue:24,toValue:10,duration:250},{startValue:10,toValue:16,duration:125}],transform:{scale:[{startValue:1,toValue:1.3,duration:250,timingFunction:"linear"},{startValue:1.3,toValue:1,delay:750,duration:250,timingFunction:"linear"}]}}}),{isChanged:n}=Object(c.toRefs)(e);return Object(c.watch)(n,(e,n)=>{!n&&e?(console.log("changed to face2"),o.value.face=Te):n&&!e&&(console.log("changed to face1"),o.value.face=ke),setTimeout(()=>{t.value&&t.value.start()},10)}),{animationRef:t,imgs:{downVoteFace:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAXVBMVEUAAACmaCCoaSKlZyCmaCCoaiG0byOlZyCmaCGnaSKmaCCmZyClZyCmaCCmaSCybyymZyClaCGlaCGnaCCnaSGnaiOlZyKocCXMmTOmaCKnaCKmaSClZyGoZyClZyDPYmTmAAAAHnRSTlMA6S/QtjYO+FdJ4tyZbWYH7cewgTw5JRQFkHFfXk8vbZ09AAAAiUlEQVQY07WQRxLDMAhFPyq21dxLKvc/ZoSiySTZ+y3g8YcFA5wFcOkHYEi5QDkknparH5EZKS6GExQLs0RzUQUY6VYiK2ayNIapQ6EjNk2xd616Bi5qIh2fn8BqroS1XtPmgYKXxo+y07LuDrH95pm3LBM5FMpHWg2osOOLjRR6hR/WOw780bwASN0IT3NosMcAAAAASUVORK5CYII="},animations:o,animationStart:()=>{console.log("animation-start callback")},animationEnd:()=>{console.log("animation-end callback")},animationRepeat:()=>{console.log("animation-repeat callback")},animationCancel:()=>{console.log("animation-cancel callback")}}}});o(68);var Pe=r()(De,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationRef",actions:e.animations.face,class:"vote-face",playing:"",onStart:e.animationStart,onEnd:e.animationEnd,onRepeat:e.animationRepeat,onCancel:e.animationCancel},null,8,["actions","onStart","onEnd","onRepeat","onCancel"]),Object(a.i)(i,{tag:"img",class:"vote-down-face",playing:"",props:{src:e.imgs.downVoteFace},actions:e.animations.downVoteFace},null,8,["props","actions"])])}],["__scopeId","data-v-7020ef76"]]);var Ee=Object(c.defineComponent)({setup:()=>({imgs:{upVoteEye:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAFCAYAAABIHbx0AAAAAXNSR0IArs4c6QAAAQdJREFUGBljZACCVeVK/L8//m9i/P/flIGR8ZgwD2+9e8+lryA5dLCzRI/77ZfPjQz//1v9Z2Q8zcrPWBfWee8j45mZxqw3z709BdRgANPEyMhwLFIiwZaxoeEfTAxE/29oYFr+YsHh//8ZrJDEL6gbCZsxO8pwJP9nYEhFkgAxZS9/vXxj3Zn3V5DF1TQehwNdUogsBmRLvH/x4zHLv///PRgZGH/9Z2TYzsjAANT4Xxko6c/A8M8DSK9A1sQIFPvPwPibkeH/VmAQXAW6TAWo3hdkBgsTE9Pa/2z/s6In3n8J07SsWE2E4esfexgfRgMt28rBwVEZPOH6c5jYqkJtod/ff7gBAOnFYtdEXHPzAAAAAElFTkSuQmCC",upVoteMouth:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAARCAMAAACLgl7OAAAA4VBMVEUAAACobCawciy0f0OmaSOmaSKlaCCmZyCmaCGpayO2hEmpbiq3hUuweTqscjCmaCGmZyCmZyClaCCmaCCmaSGoaCL///+vdzimaCGmaCKmaSKlZyGmaCGmaCGnaCGnaCGnaCGmaCKscCW/gEDDmmm9j1m6ilSnaSOmaSGqcCylZyGrcCymZyClaCGnaCKmaSCqaiumbyH///+lZyDTtJDawKLLp37XupmyfT/+/v3o18XfybDJo3jBlWP8+vf48+z17uXv49bq3Mv28Ony6N3x59zbwqXSs5DQsIrNqoK5h0+BlvpqAAAAMnRSTlMA/Qv85uChjIMl/f38/Pv4zq6nl04wAfv18tO7tXx0Y1tGEQT+/v3b1q+Ui35sYj8YF964s/kAAADySURBVCjPddLHVsJgEIbhL6QD6Qldqr2bgfTQ7N7/Bckv6omYvItZPWcWcwbTC+f6dqLWcFBNvRsPZekKNeKI1RFMS3JkRZEdyTKFDrEaNACMt3i9TcP3KOLb+g5zepuPoiBMk6elr0mAkPlfBQs253M2F4G/j5OBPl8NNjQGhrSqBCHdAx6lleCkB6AlNqvAho6wa0RJBTjuThmYifVlKUjYApZLWRl41M9/7qtQ+B+sml0V37VsCuID8KwZE+BXKFTPiyB75QQPxVyR+Jf1HsTbvEH2A/42G50Raaf1j7zZIMPyUJJ6Y/d7ojm4dAvf8QkUbUjwOwWDwQAAAABJRU5ErkJggg=="},animations:{face:{transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},upVoteEye:{top:[{startValue:14,toValue:8,delay:250,duration:125},{startValue:8,toValue:14,duration:250},{startValue:14,toValue:8,duration:250},{startValue:8,toValue:14,duration:125}],transform:{scale:[{startValue:1.2,toValue:1.4,duration:250,timingFunction:"linear"},{startValue:1.4,toValue:1.2,delay:750,duration:250,timingFunction:"linear"}]}},upVoteMouth:{bottom:[{startValue:9,toValue:14,delay:250,duration:125},{startValue:14,toValue:9,duration:250},{startValue:9,toValue:14,duration:250},{startValue:14,toValue:9,duration:125}],transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,delay:750,duration:250,timingFunction:"linear"}],scaleY:[{startValue:.725,delay:250,toValue:1.45,duration:125},{startValue:1.45,toValue:.87,duration:250},{startValue:.87,toValue:1.45,duration:250},{startValue:1.45,toValue:1,duration:125}]}}}})});o(69);var _e=r()(Ee,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{actions:e.animations.face,class:"vote-face",playing:""},null,8,["actions"]),Object(a.i)(i,{tag:"img",class:"vote-up-eye",playing:"",props:{src:e.imgs.upVoteEye},actions:e.animations.upVoteEye},null,8,["props","actions"]),Object(a.i)(i,{tag:"img",class:"vote-up-mouth",playing:"",props:{src:e.imgs.upVoteMouth},actions:e.animations.upVoteMouth},null,8,["props","actions"])])}],["__scopeId","data-v-0dd85e5f"]]),Ie=Object(c.defineComponent)({components:{Loop:Se,colorComponent:Oe,CubicBezier:we},setup(){const e=Object(c.ref)(!0),t=Object(c.ref)(!0),o=Object(c.ref)(!0),n=Object(c.ref)("horizon"),a=Object(c.ref)(!0),l=Object(c.ref)(null),i=Object(c.shallowRef)(_e);return{loopPlaying:e,colorPlaying:t,cubicPlaying:o,direction:n,voteComponent:i,colorComponent:Oe,isChanged:a,animationRef:l,voteUp:()=>{i.value=_e},voteDown:()=>{i.value=Pe,a.value=!a.value},onRef:e=>{l.value=e},toggleLoopPlaying:()=>{e.value=!e.value},toggleColorPlaying:()=>{t.value=!t.value},toggleCubicPlaying:()=>{o.value=!o.value},toggleDirection:()=>{n.value="horizon"===n.value?"vertical":"horizon"},actionsDidUpdate:()=>{Object(c.nextTick)().then(()=>{console.log("actions updated & startAnimation"),l.value&&l.value.start()})}}}});o(70);var Be=r()(Ie,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("loop"),r=Object(a.z)("color-component"),s=Object(a.z)("cubic-bezier");return Object(a.t)(),Object(a.f)("ul",{id:"animation-demo"},[Object(a.g)("li",null,[Object(a.g)("label",null,"控制动画"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.toggleLoopPlaying&&e.toggleLoopPlaying(...t))},[e.loopPlaying?(Object(a.t)(),Object(a.f)("span",{key:0},"暂停")):(Object(a.t)(),Object(a.f)("span",{key:1},"播放"))]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.toggleDirection&&e.toggleDirection(...t))},["horizon"===e.direction?(Object(a.t)(),Object(a.f)("span",{key:0},"切换为纵向")):(Object(a.t)(),Object(a.f)("span",{key:1},"切换为横向"))])]),Object(a.g)("div",{style:{height:"150px"}},[Object(a.i)(i,{playing:e.loopPlaying,direction:e.direction,"on-ref":e.onRef,onActionsDidUpdate:e.actionsDidUpdate},{default:Object(a.H)(()=>[Object(a.g)("p",null,"I'm a looping animation")]),_:1},8,["playing","direction","on-ref","onActionsDidUpdate"])])]),Object(a.g)("li",null,[Object(a.g)("div",{style:{"margin-top":"10px"}}),Object(a.g)("label",null,"点赞笑脸动画:"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[2]||(t[2]=(...t)=>e.voteUp&&e.voteUp(...t))},[Object(a.g)("span",null,"点赞 👍")]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[3]||(t[3]=(...t)=>e.voteDown&&e.voteDown(...t))},[Object(a.g)("span",null,"踩 👎")])]),Object(a.g)("div",{class:"vote-face-container center"},[(Object(a.t)(),Object(a.d)(Object(a.A)(e.voteComponent),{class:"vote-icon","is-changed":e.isChanged},null,8,["is-changed"]))])]),Object(a.g)("li",null,[Object(a.g)("div",{style:{"margin-top":"10px"}}),Object(a.g)("label",null,"渐变色动画"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[4]||(t[4]=(...t)=>e.toggleColorPlaying&&e.toggleColorPlaying(...t))},[e.colorPlaying?(Object(a.t)(),Object(a.f)("span",{key:0},"暂停")):(Object(a.t)(),Object(a.f)("span",{key:1},"播放"))])]),Object(a.g)("div",null,[Object(a.i)(r,{playing:e.colorPlaying},{default:Object(a.H)(()=>[Object(a.g)("p",null,"背景色渐变")]),_:1},8,["playing"])])]),Object(a.g)("li",null,[Object(a.g)("div",{style:{"margin-top":"10px"}}),Object(a.g)("label",null,"贝塞尔曲线动画"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[5]||(t[5]=(...t)=>e.toggleCubicPlaying&&e.toggleCubicPlaying(...t))},[e.cubicPlaying?(Object(a.t)(),Object(a.f)("span",{key:0},"暂停")):(Object(a.t)(),Object(a.f)("span",{key:1},"播放"))])]),Object(a.g)("div",null,[Object(a.i)(s,{playing:e.cubicPlaying},{default:Object(a.H)(()=>[Object(a.g)("p",null,"cubic-bezier(.45,2.84,.38,.5)")]),_:1},8,["playing"])])])])}],["__scopeId","data-v-4fa3f0c0"]]);var Re=o(9);const Le=["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"];var Ve=Object(c.defineComponent)({setup(){const e=Object(c.ref)(!1),t=Object(c.ref)(!1),o=Object(c.ref)("fade"),n=Object(c.ref)(!1),a=Object(c.ref)(!1),l=Object(c.ref)(!1);return Object(Re.onBeforeRouteLeave)((t,o,n)=>{e.value||n()}),{supportedOrientations:Le,dialogIsVisible:e,dialog2IsVisible:t,dialogAnimationType:o,immersionStatusBar:n,autoHideStatusBar:a,autoHideNavigationBar:l,stopPropagation:e=>{e.stopPropagation()},onClose:o=>{o.stopPropagation(),t.value?t.value=!1:e.value=!1,console.log("Dialog is closing")},onShow:()=>{console.log("Dialog is opening")},onClickView:(t="")=>{e.value=!e.value,o.value=t},onClickOpenSecond:e=>{e.stopPropagation(),t.value=!t.value},onClickDialogConfig:e=>{switch(e){case"hideStatusBar":a.value=!a.value;break;case"immerseStatusBar":n.value=!n.value;break;case"hideNavigationBar":l.value=!l.value}}}}});o(71);var He=r()(Ve,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"dialog-demo"},[Object(a.g)("label",null,"显示或者隐藏对话框:"),Object(a.g)("button",{class:"dialog-demo-button-1",onClick:t[0]||(t[0]=Object(a.J)(()=>e.onClickView("slide"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"显示对话框--slide")]),Object(a.g)("button",{class:"dialog-demo-button-1",onClick:t[1]||(t[1]=Object(a.J)(()=>e.onClickView("fade"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"显示对话框--fade")]),Object(a.g)("button",{class:"dialog-demo-button-1",onClick:t[2]||(t[2]=Object(a.J)(()=>e.onClickView("slide_fade"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"显示对话框--slide_fade")]),Object(a.g)("button",{style:Object(a.p)([{borderColor:e.autoHideStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[3]||(t[3]=Object(a.J)(()=>e.onClickDialogConfig("hideStatusBar"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"隐藏状态栏")],4),Object(a.g)("button",{style:Object(a.p)([{borderColor:e.immersionStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[4]||(t[4]=Object(a.J)(()=>e.onClickDialogConfig("immerseStatusBar"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"沉浸式状态栏")],4),Object(a.g)("button",{style:Object(a.p)([{borderColor:e.autoHideNavigationBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[5]||(t[5]=Object(a.J)(()=>e.onClickDialogConfig("hideNavigationBar"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"隐藏导航栏")],4),Object(a.e)(" dialog can't support v-show, can only use v-if for explicit switching "),e.dialogIsVisible?(Object(a.t)(),Object(a.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,supportedOrientations:e.supportedOrientations,immersionStatusBar:e.immersionStatusBar,autoHideStatusBar:e.autoHideStatusBar,autoHideNavigationBar:e.autoHideNavigationBar,onShow:t[12]||(t[12]=(...t)=>e.onShow&&e.onShow(...t)),"on:requestClose":t[13]||(t[13]=(...t)=>e.onClose&&e.onClose(...t)),"on:orientationChange":t[14]||(t[14]=(...t)=>e.onOrientationChange&&e.onOrientationChange(...t))},[Object(a.e)(" dialog on iOS platform can only have one child node "),Object(a.g)("div",{class:"dialog-demo-wrapper"},[Object(a.g)("div",{class:"fullscreen center row",onClick:t[11]||(t[11]=(...t)=>e.onClickView&&e.onClickView(...t))},[Object(a.g)("div",{class:"dialog-demo-close-btn center column",onClick:t[7]||(t[7]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},[Object(a.g)("p",{class:"dialog-demo-close-btn-text"}," 点击空白区域关闭 "),Object(a.g)("button",{class:"dialog-demo-button-2",onClick:t[6]||(t[6]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(a.g)("span",{class:"button-text"},"点击打开二级全屏弹窗")])]),e.dialog2IsVisible?(Object(a.t)(),Object(a.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,"on:requestClose":t[9]||(t[9]=(...t)=>e.onClose&&e.onClose(...t)),"on:orientationChange":t[10]||(t[10]=(...t)=>e.onOrientationChange&&e.onOrientationChange(...t))},[Object(a.g)("div",{class:"dialog-2-demo-wrapper center column row",onClick:t[8]||(t[8]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(a.g)("p",{class:"dialog-demo-close-btn-text",style:{color:"white"}}," Hello 我是二级全屏弹窗,点击任意位置关闭。 ")])],40,["animationType"])):Object(a.e)("v-if",!0)])])],40,["animationType","supportedOrientations","immersionStatusBar","autoHideStatusBar","autoHideNavigationBar"])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-58c0fb99"]]);var Ne=o(8);let Me;var ze=Object(c.defineComponent)({setup(){const e=Object(c.ref)("ready to set"),t=Object(c.ref)(""),o=Object(c.ref)(""),n=Object(c.ref)("正在获取..."),a=Object(c.ref)(""),l=Object(c.ref)(""),i=Object(c.ref)(""),r=Object(c.ref)(null),s=Object(c.ref)("请求网址中..."),u=Object(c.ref)("ready to set"),d=Object(c.ref)(""),b=Object(c.ref)(0);return Object(c.onMounted)(()=>{i.value=JSON.stringify(Object(Ne.a)()),f.Native.NetInfo.fetch().then(e=>{n.value=e}),Me=f.Native.NetInfo.addEventListener("change",e=>{n.value="收到通知: "+e.network_info}),fetch("https://hippyjs.org",{mode:"no-cors"}).then(e=>{s.value="成功状态: "+e.status}).catch(e=>{s.value="收到错误: "+e}),f.EventBus.$on("testEvent",()=>{b.value+=1})}),{Native:f.Native,rect1:a,rect2:l,rectRef:r,storageValue:t,storageSetStatus:e,imageSize:o,netInfoText:n,superProps:i,fetchText:s,cookieString:u,cookiesValue:d,getSize:async()=>{const e=await f.Native.ImageLoader.getSize("https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png");console.log("ImageLoader getSize",e),o.value=`${e.width}x${e.height}`},setItem:()=>{f.Native.AsyncStorage.setItem("itemKey","hippy"),e.value='set "hippy" value succeed'},getItem:async()=>{const e=await f.Native.AsyncStorage.getItem("itemKey");t.value=e||"undefined"},removeItem:()=>{f.Native.AsyncStorage.removeItem("itemKey"),e.value='remove "hippy" value succeed'},setCookie:()=>{f.Native.Cookie.set("https://hippyjs.org","name=hippy;network=mobile"),u.value="'name=hippy;network=mobile' is set"},getCookie:()=>{f.Native.Cookie.getAll("https://hippyjs.org").then(e=>{d.value=e})},getBoundingClientRect:async(e=!1)=>{try{const t=await f.Native.getBoundingClientRect(r.value,{relToContainer:e});e?l.value=""+JSON.stringify(t):a.value=""+JSON.stringify(t)}catch(e){console.error("getBoundingClientRect error",e)}},triggerAppEvent:()=>{f.EventBus.$emit("testEvent")},eventTriggeredTimes:b}},beforeDestroy(){Me&&f.Native.NetInfo.removeEventListener("change",Me),f.EventBus.$off("testEvent")}});o(72);var Fe=r()(ze,[["render",function(e,t,o,n,c,l){var i,r;return Object(a.t)(),Object(a.f)("div",{id:"demo-vue-native",ref:"rectRef"},[Object(a.g)("div",null,[Object(a.e)(" platform "),e.Native.Platform?(Object(a.t)(),Object(a.f)("div",{key:0,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Platform"),Object(a.g)("p",null,Object(a.D)(e.Native.Platform),1)])):Object(a.e)("v-if",!0),Object(a.e)(" device name "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Device"),Object(a.g)("p",null,Object(a.D)(e.Native.Device),1)]),Object(a.e)(" Is it an iPhone X "),e.Native.isIOS()?(Object(a.t)(),Object(a.f)("div",{key:1,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.isIPhoneX"),Object(a.g)("p",null,Object(a.D)(e.Native.isIPhoneX),1)])):Object(a.e)("v-if",!0),Object(a.e)(" OS version, currently only available for iOS, other platforms return null "),e.Native.isIOS()?(Object(a.t)(),Object(a.f)("div",{key:2,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.OSVersion"),Object(a.g)("p",null,Object(a.D)(e.Native.OSVersion||"null"),1)])):Object(a.e)("v-if",!0),Object(a.e)(" Internationalization related information "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Localization"),Object(a.g)("p",null,Object(a.D)("国际化相关信息")),Object(a.g)("p",null,Object(a.D)("国家 "+(null===(i=e.Native.Localization)||void 0===i?void 0:i.country)),1),Object(a.g)("p",null,Object(a.D)("语言 "+(null===(r=e.Native.Localization)||void 0===r?void 0:r.language)),1),Object(a.g)("p",null,Object(a.D)("方向 "+(1===e.Native.Localization.direction?"RTL":"LTR")),1)]),Object(a.e)(" API version, currently only available for Android, other platforms return null "),e.Native.isAndroid()?(Object(a.t)(),Object(a.f)("div",{key:3,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.APILevel"),Object(a.g)("p",null,Object(a.D)(e.Native.APILevel||"null"),1)])):Object(a.e)("v-if",!0),Object(a.e)(" Whether the screen is vertically displayed "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.screenIsVertical"),Object(a.g)("p",null,Object(a.D)(e.Native.screenIsVertical),1)]),Object(a.e)(" width of window "),e.Native.Dimensions.window.width?(Object(a.t)(),Object(a.f)("div",{key:4,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.width"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.window.width),1)])):Object(a.e)("v-if",!0),Object(a.e)(" The height of the window, it should be noted that both platforms include the status bar. "),Object(a.e)(" Android will start drawing from the first pixel below the status bar. "),e.Native.Dimensions.window.height?(Object(a.t)(),Object(a.f)("div",{key:5,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.height"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.window.height),1)])):Object(a.e)("v-if",!0),Object(a.e)(" width of screen "),e.Native.Dimensions.screen.width?(Object(a.t)(),Object(a.f)("div",{key:6,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.width"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.width),1)])):Object(a.e)("v-if",!0),Object(a.e)(" height of screen "),e.Native.Dimensions.screen.height?(Object(a.t)(),Object(a.f)("div",{key:7,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.height"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.height),1)])):Object(a.e)("v-if",!0),Object(a.e)(" the pt value of a pixel "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.OnePixel"),Object(a.g)("p",null,Object(a.D)(e.Native.OnePixel),1)]),Object(a.e)(" Android Navigation Bar Height "),e.Native.Dimensions.screen.navigatorBarHeight?(Object(a.t)(),Object(a.f)("div",{key:8,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(a.e)("v-if",!0),Object(a.e)(" height of status bar "),e.Native.Dimensions.screen.statusBarHeight?(Object(a.t)(),Object(a.f)("div",{key:9,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.statusBarHeight"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.statusBarHeight),1)])):Object(a.e)("v-if",!0),Object(a.e)(" android virtual navigation bar height "),e.Native.isAndroid()&&void 0!==e.Native.Dimensions.screen.navigatorBarHeight?(Object(a.t)(),Object(a.f)("div",{key:10,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight(Android only)"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(a.e)("v-if",!0),Object(a.e)(" The startup parameters passed from the native "),e.superProps?(Object(a.t)(),Object(a.f)("div",{key:11,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"afterCallback of $start method contain superProps"),Object(a.g)("p",null,Object(a.D)(e.superProps),1)])):Object(a.e)("v-if",!0),Object(a.e)(" A demo of Native Event,Just show how to use "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"App event"),Object(a.g)("div",null,[Object(a.g)("button",{class:"event-btn",onClick:t[0]||(t[0]=(...t)=>e.triggerAppEvent&&e.triggerAppEvent(...t))},[Object(a.g)("span",{class:"event-btn-text"},"Trigger app event")]),Object(a.g)("div",{class:"event-btn-result"},[Object(a.g)("p",null,"Event triggered times: "+Object(a.D)(e.eventTriggeredTimes),1)])])]),Object(a.e)(" example of measuring the size of an element "),Object(a.g)("div",{ref:"measure-block",class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.getBoundingClientRect"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[1]||(t[1]=()=>e.getBoundingClientRect(!1))},[Object(a.g)("span",null,"relative to App")]),Object(a.g)("span",{style:{"max-width":"200px"}},Object(a.D)(e.rect1),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[2]||(t[2]=()=>e.getBoundingClientRect(!0))},[Object(a.g)("span",null,"relative to Container")]),Object(a.g)("span",{style:{"max-width":"200px"}},Object(a.D)(e.rect2),1)])],512),Object(a.e)(" local storage "),e.Native.AsyncStorage?(Object(a.t)(),Object(a.f)("div",{key:12,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"AsyncStorage 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[3]||(t[3]=(...t)=>e.setItem&&e.setItem(...t))},[Object(a.g)("span",null,"setItem")]),Object(a.g)("span",null,Object(a.D)(e.storageSetStatus),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[4]||(t[4]=(...t)=>e.removeItem&&e.removeItem(...t))},[Object(a.g)("span",null,"removeItem")]),Object(a.g)("span",null,Object(a.D)(e.storageSetStatus),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[5]||(t[5]=(...t)=>e.getItem&&e.getItem(...t))},[Object(a.g)("span",null,"getItem")]),Object(a.g)("span",null,Object(a.D)(e.storageValue),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" ImageLoader "),e.Native.ImageLoader?(Object(a.t)(),Object(a.f)("div",{key:13,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"ImageLoader 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[6]||(t[6]=(...t)=>e.getSize&&e.getSize(...t))},[Object(a.g)("span",null,"getSize")]),Object(a.g)("span",null,Object(a.D)(e.imageSize),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" Fetch "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Fetch 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("span",null,Object(a.D)(e.fetchText),1)])]),Object(a.e)(" network info "),e.Native.NetInfo?(Object(a.t)(),Object(a.f)("div",{key:14,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"NetInfo 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("span",null,Object(a.D)(e.netInfoText),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" Cookie "),e.Native.Cookie?(Object(a.t)(),Object(a.f)("div",{key:15,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Cookie 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[7]||(t[7]=(...t)=>e.setCookie&&e.setCookie(...t))},[Object(a.g)("span",null,"setCookie")]),Object(a.g)("span",null,Object(a.D)(e.cookieString),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[8]||(t[8]=(...t)=>e.getCookie&&e.getCookie(...t))},[Object(a.g)("span",null,"getCookie")]),Object(a.g)("span",null,Object(a.D)(e.cookiesValue),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" iOS platform "),e.Native.isIOS()?(Object(a.t)(),Object(a.f)("div",{key:16,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.isIOS"),Object(a.g)("p",null,Object(a.D)(e.Native.isIOS()),1)])):Object(a.e)("v-if",!0),Object(a.e)(" Android platform "),e.Native.isAndroid()?(Object(a.t)(),Object(a.f)("div",{key:17,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.isAndroid"),Object(a.g)("p",null,Object(a.D)(e.Native.isAndroid()),1)])):Object(a.e)("v-if",!0)])],512)}],["__scopeId","data-v-2aae558d"]]);const Ye="https://user-images.githubusercontent.com/12878546/148736841-59ce5d1c-8010-46dc-8632-01c380159237.jpg",Ue={style:1,itemBean:{title:"非洲总统出行真大牌,美制武装直升机和中国潜艇为其保驾",picList:[Ye,Ye,Ye],subInfo:["三图评论","11评"]}},We={style:2,itemBean:{title:"彼得·泰尔:认知未来是投资人的谋生之道",picUrl:"https://user-images.githubusercontent.com/12878546/148736850-4fc13304-25d4-4b6a-ada3-cbf0745666f5.jpg",subInfo:["左文右图"]}},Ge={style:5,itemBean:{title:"愤怒!美官员扬言:“不让中国拿走南海的岛屿,南海岛礁不属于中国”?",picUrl:"https://user-images.githubusercontent.com/12878546/148736859-29e3a5b2-612a-4fdd-ad21-dc5d29fa538f.jpg",subInfo:["六眼神魔 5234播放"]}};var Ke=[Ge,Ue,We,Ue,We,Ue,We,Ge,Ue];var Je=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var qe=r()(Je,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"list-view-item style-one"},[Object(a.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(a.D)(e.itemBean.title),1),Object(a.g)("div",{class:"style-one-image-container"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.itemBean.picList,(e,t)=>(Object(a.t)(),Object(a.f)("img",{key:t,src:e,alt:"",class:"image style-one-image"},null,8,["src"]))),128))]),Object(a.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(a.g)("p",{class:"normal-text"},Object(a.D)(e.itemBean.subInfo.join("")),1)])])}]]);var Qe=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var Xe=r()(Qe,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"list-view-item style-two"},[Object(a.g)("div",{class:"style-two-left-container"},[Object(a.g)("p",{class:"article-title",numberOfLines:2,enableScale:!0},Object(a.D)(e.itemBean.title),1),Object(a.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(a.g)("p",{class:"normal-text"},Object(a.D)(e.itemBean.subInfo.join("")),1)])]),Object(a.g)("div",{class:"style-two-image-container"},[Object(a.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image style-two-image"},null,8,["src"])])])}]]);var Ze=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var $e=r()(Ze,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"list-view-item style-five"},[Object(a.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(a.D)(e.itemBean.title),1),Object(a.g)("div",{class:"style-five-image-container"},[Object(a.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image"},null,8,["src"])]),Object(a.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(a.g)("p",{class:"normal-text"},Object(a.D)(e.itemBean.subInfo.join(" ")),1)])])}]]);let et=0;const tt=Object(c.ref)({top:0,left:0}),ot=async()=>new Promise(e=>{setTimeout(()=>e(Ke),800)});var nt=Object(c.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(c.ref)(null),t=Object(c.ref)(null),o=Object(c.ref)(null),n=Object(c.ref)([...Ke]);let a=!1,l=!1;const i=Object(c.ref)(""),r=Object(c.ref)("继续下拉触发刷新"),s=Object(c.ref)("正在加载...");return Object(c.onMounted)(()=>{a=!1,l=!1,n.value=[...Ke],et=null!==f.Native&&void 0!==f.Native&&f.Native.Dimensions?f.Native.Dimensions.window.height:window.innerHeight,t.value&&t.value.collapsePullHeader({time:2e3})}),{loadingState:i,dataSource:n,headerRefreshText:r,footerRefreshText:s,list:e,pullHeader:t,pullFooter:o,onEndReached:async e=>{if(console.log("endReached",e),a)return;a=!0,s.value="加载更多...";const t=await ot();0===t.length&&(s.value="没有更多数据"),n.value=[...n.value,...t],a=!1,o.value&&o.value.collapsePullFooter()},onHeaderReleased:async()=>{l||(l=!0,console.log("onHeaderReleased"),r.value="刷新数据中,请稍等",n.value=await ot(),n.value=n.value.reverse(),l=!1,r.value="2秒后收起",t.value&&t.value.collapsePullHeader({time:2e3}))},onHeaderIdle:()=>{},onHeaderPulling:e=>{l||(console.log("onHeaderPulling",e.contentOffset),e.contentOffset>30?r.value="松手,即可触发刷新":r.value="继续下拉,触发刷新")},onFooterIdle:()=>{},onFooterPulling:e=>{console.log("onFooterPulling",e)},onScroll:e=>{e.stopPropagation(),tt.value={top:e.offsetY,left:e.offsetX}},scrollToNextPage:()=>{if(f.Native){if(e.value){const t=e.value;console.log("scroll to next page",e,tt.value,et);const o=tt.value.top+et-200;t.scrollTo({left:tt.value.left,top:o,behavior:"auto",duration:200})}}else alert("This method is only supported in Native environment.")},scrollToBottom:()=>{if(f.Native){if(e.value){const t=e.value;t.scrollToIndex(0,t.childNodes.length-1)}}else alert("This method is only supported in Native environment.")}}}});o(73);var at=r()(nt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("pull-header"),r=Object(a.z)("style-one"),s=Object(a.z)("style-two"),u=Object(a.z)("style-five"),d=Object(a.z)("pull-footer");return Object(a.t)(),Object(a.f)("div",{id:"demo-pull-header-footer","specital-attr":"pull-header-footer"},[Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(a.g)("span",null,"翻到下一页")]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToBottom&&e.scrollToBottom(...t))},[Object(a.g)("span",null,"翻动到底部")]),Object(a.g)("p",{class:"toolbar-text"}," 列表元素数量:"+Object(a.D)(e.dataSource.length),1)]),Object(a.g)("ul",{id:"list",ref:"list",numberOfRows:e.dataSource.length,rowShouldSticky:!0,onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t))},[Object(a.h)(" /** * 下拉组件 * * 事件: * idle: 滑动距离在 pull-header 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-header 后触发一次,参数 contentOffset,滑动距离 * refresh: 滑动超出距离,松手后触发一次 */ "),Object(a.i)(i,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"ul-refresh-text"},Object(a.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,(e,t)=>(Object(a.t)(),Object(a.f)("li",{key:t,class:"item-style",type:"row-"+e.style,sticky:0===t},[1===e.style?(Object(a.t)(),Object(a.d)(r,{key:0,"item-bean":e.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),2===e.style?(Object(a.t)(),Object(a.d)(s,{key:1,"item-bean":e.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),5===e.style?(Object(a.t)(),Object(a.d)(u,{key:2,"item-bean":e.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0)],8,["type","sticky"]))),128)),Object(a.h)(" /** * 上拉组件 * > 如果不需要显示加载情况,可以直接使用 ul 的 onEndReached 实现一直加载 * * 事件: * idle: 滑动距离在 pull-footer 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-footer 后触发一次,参数 contentOffset,滑动距离 * released: 滑动超出距离,松手后触发一次 */ "),Object(a.i)(d,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"pull-footer-text"},Object(a.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])],40,["numberOfRows"])])}],["__scopeId","data-v-52ecb6dc"]]);var ct=Object(c.defineComponent)({setup(){const e=Object(c.ref)("idle"),t=Object(c.ref)(2),o=Object(c.ref)(2);return{dataSource:new Array(7).fill(0).map((e,t)=>t),currentSlide:t,currentSlideNum:o,state:e,scrollToNextPage:()=>{console.log("scroll next",t.value,o.value),t.value<7?t.value=o.value+1:t.value=0},scrollToPrevPage:()=>{console.log("scroll prev",t.value,o.value),0===t.value?t.value=6:t.value=o.value-1},onDragging:e=>{console.log("Current offset is",e.offset,"and will into slide",e.nextSlide+1)},onDropped:e=>{console.log("onDropped",e),o.value=e.currentSlide},onStateChanged:t=>{console.log("onStateChanged",t),e.value=t.state}}}});o(74);var lt=r()(ct,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("swiper-slide"),r=Object(a.z)("swiper");return Object(a.t)(),Object(a.f)("div",{id:"demo-swiper"},[Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToPrevPage&&e.scrollToPrevPage(...t))},[Object(a.g)("span",null,"翻到上一页")]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(a.g)("span",null,"翻到下一页")]),Object(a.g)("p",{class:"toolbar-text"}," 当前第 "+Object(a.D)(e.currentSlideNum+1)+" 页 ",1)]),Object(a.e)('\n swiper 组件参数\n @param {Number} currentSlide 当前页面,也可以直接修改它改变当前页码,默认 0\n @param {Boolean} needAnimation 是否需要动画,如果切换时不要动画可以设置为 :needAnimation="false",默认为 true\n @param {Function} dragging 当拖拽时执行回调,参数是个 Event,包含 offset 拖拽偏移值和 nextSlide 将进入的页码\n @param {Function} dropped 结束拖拽时回调,参数是个 Event,包含 currentSlide 最后选择的页码\n '),Object(a.i)(r,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,onDragging:e.onDragging,onDropped:e.onDropped,onStateChanged:e.onStateChanged},{default:Object(a.H)(()=>[Object(a.e)(" slides "),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,e=>(Object(a.t)(),Object(a.d)(i,{key:e,style:Object(a.p)({backgroundColor:4278222848+100*e})},{default:Object(a.H)(()=>[Object(a.g)("p",null,"I'm Slide "+Object(a.D)(e+1),1)]),_:2},1032,["style"]))),128))]),_:1},8,["current","onDragging","onDropped","onStateChanged"]),Object(a.e)(" A Demo of dots "),Object(a.g)("div",{id:"swiper-dots"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,t=>(Object(a.t)(),Object(a.f)("div",{key:t,class:Object(a.o)(["dot",{hightlight:e.currentSlideNum===t}])},null,2))),128))])])}]]);let it=0;const rt={top:0,left:5,bottom:0,right:5},st="android"===f.Native.Platform,ut=async()=>new Promise(e=>{setTimeout(()=>(it+=1,e(it>=50?[]:[...Ke,...Ke])),600)});var dt=Object(c.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(c.ref)([...Ke,...Ke,...Ke,...Ke]);let t=!1,o=!1;const n=Object(c.ref)(!1),a=Object(c.ref)("正在加载..."),l=Object(c.ref)(null),i=Object(c.ref)(null);let r="继续下拉触发刷新",s="正在加载...";const u=Object(c.computed)(()=>n.value?"正在刷新":"下拉刷新"),d=Object(c.ref)(null),b=Object(c.ref)(null),g=Object(c.computed)(()=>(f.Native.Dimensions.screen.width-rt.left-rt.right-6)/2);return{dataSource:e,isRefreshing:n,refreshText:u,STYLE_LOADING:100,loadingState:a,header:b,gridView:d,contentInset:rt,columnSpacing:6,interItemSpacing:6,numberOfColumns:2,itemWidth:g,onScroll:e=>{console.log("waterfall onScroll",e)},onRefresh:async()=>{n.value=!0;const t=await ut();n.value=!1,e.value=t.reverse(),b.value&&b.value.refreshCompleted()},onEndReached:async()=>{if(console.log("end Reached"),t)return;t=!0,s="加载更多...";const o=await ut();0===o.length&&(s="没有更多数据"),e.value=[...e.value,...o],t=!1,i.value&&i.value.collapsePullFooter()},onClickItem:e=>{d.value&&d.value.scrollToIndex({index:e,animation:!0})},isAndroid:st,onHeaderPulling:e=>{o||(console.log("onHeaderPulling",e.contentOffset),r=e.contentOffset>30?"松手,即可触发刷新":"继续下拉,触发刷新")},onFooterPulling:e=>{console.log("onFooterPulling",e)},onHeaderIdle:()=>{},onFooterIdle:()=>{},onHeaderReleased:async()=>{o||(o=!0,console.log("onHeaderReleased"),r="刷新数据中,请稍等",o=!1,r="2秒后收起",l.value&&l.value.collapsePullHeader({time:2e3}))},headerRefreshText:r,footerRefreshText:s,loadMoreDataFlag:t,pullHeader:l,pullFooter:i}}});o(75);var bt=r()(dt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("pull-header"),r=Object(a.z)("waterfall-item"),s=Object(a.z)("style-one"),u=Object(a.z)("style-two"),d=Object(a.z)("style-five"),b=Object(a.z)("pull-footer"),g=Object(a.z)("waterfall");return Object(a.t)(),Object(a.f)("div",{id:"demo-waterfall"},[Object(a.i)(g,{ref:"gridView","content-inset":e.contentInset,"column-spacing":e.columnSpacing,"contain-banner-view":!e.isAndroid,"contain-pull-footer":!0,"inter-item-spacing":e.interItemSpacing,"number-of-columns":e.numberOfColumns,"preload-item-number":4,style:{flex:1},onEndReached:e.onEndReached,onScroll:e.onScroll},{default:Object(a.H)(()=>[Object(a.i)(i,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"ul-refresh-text"},Object(a.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),e.isAndroid?(Object(a.t)(),Object(a.d)(r,{key:1,"full-span":!0,class:"banner-view"},{default:Object(a.H)(()=>[Object(a.g)("span",null,"BannerView")]),_:1})):(Object(a.t)(),Object(a.f)("div",{key:0,class:"banner-view"},[Object(a.g)("span",null,"BannerView")])),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,(t,o)=>(Object(a.t)(),Object(a.d)(r,{key:o,style:Object(a.p)({width:e.itemWidth}),type:t.style,onClick:Object(a.J)(()=>e.onClickItem(o),["stop"])},{default:Object(a.H)(()=>[1===t.style?(Object(a.t)(),Object(a.d)(s,{key:0,"item-bean":t.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),2===t.style?(Object(a.t)(),Object(a.d)(u,{key:1,"item-bean":t.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),5===t.style?(Object(a.t)(),Object(a.d)(d,{key:2,"item-bean":t.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0)]),_:2},1032,["style","type","onClick"]))),128)),Object(a.i)(b,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"pull-footer-text"},Object(a.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])]),_:1},8,["content-inset","column-spacing","contain-banner-view","inter-item-spacing","number-of-columns","onEndReached","onScroll"])])}],["__scopeId","data-v-056a0bc2"]]);var gt=Object(c.defineComponent)({setup(){const e=Object(c.ref)(0),t=Object(c.ref)(0);return{layoutHeight:e,currentSlide:t,onLayout:t=>{e.value=t.height},onTabClick:e=>{t.value=e-1},onDropped:e=>{t.value=e.currentSlide}}}});o(76);var ft={demoNative:{name:"Native 能力",component:Fe},demoAnimation:{name:"animation 组件",component:Be},demoDialog:{name:"dialog 组件",component:He},demoSwiper:{name:"swiper 组件",component:lt},demoPullHeaderFooter:{name:"pull header/footer 组件",component:at},demoWaterfall:{name:"waterfall 组件",component:bt},demoNestedScroll:{name:"nested scroll 示例",component:r()(gt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("swiper-slide"),r=Object(a.z)("swiper");return Object(a.t)(),Object(a.f)("div",{id:"demo-wrap",onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t))},[Object(a.g)("div",{id:"demo-content"},[Object(a.g)("div",{id:"banner"}),Object(a.g)("div",{id:"tabs"},[(Object(a.t)(),Object(a.f)(a.a,null,Object(a.x)(2,t=>Object(a.g)("p",{key:"tab"+t,class:Object(a.o)(e.currentSlide===t-1?"selected":""),onClick:o=>e.onTabClick(t)}," tab "+Object(a.D)(t)+" "+Object(a.D)(1===t?"(parent first)":"(self first)"),11,["onClick"])),64))]),Object(a.i)(r,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,style:Object(a.p)({height:e.layoutHeight-80}),onDropped:e.onDropped},{default:Object(a.H)(()=>[Object(a.i)(i,{key:"slide1"},{default:Object(a.H)(()=>[Object(a.g)("ul",{nestedScrollTopPriority:"parent"},[(Object(a.t)(),Object(a.f)(a.a,null,Object(a.x)(30,e=>Object(a.g)("li",{key:"item"+e,class:Object(a.o)(e%2?"item-even":"item-odd")},[Object(a.g)("p",null,"Item "+Object(a.D)(e),1)],2)),64))])]),_:1}),Object(a.i)(i,{key:"slide2"},{default:Object(a.H)(()=>[Object(a.g)("ul",{nestedScrollTopPriority:"self"},[(Object(a.t)(),Object(a.f)(a.a,null,Object(a.x)(30,e=>Object(a.g)("li",{key:"item"+e,class:Object(a.o)(e%2?"item-even":"item-odd")},[Object(a.g)("p",null,"Item "+Object(a.D)(e),1)],2)),64))])]),_:1})]),_:1},8,["current","style","onDropped"])])],32)}],["__scopeId","data-v-72406cea"]])},demoSetNativeProps:{name:"setNativeProps",component:me}};var pt=Object(c.defineComponent)({name:"App",setup(){const e=Object.keys(fe).map(e=>({id:e,name:fe[e].name})),t=Object.keys(ft).map(e=>({id:e,name:ft[e].name}));return Object(c.onMounted)(()=>{}),{featureList:e,nativeFeatureList:t,version:c.version,Native:f.Native}}});o(77);var mt=r()(pt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("router-link");return Object(a.t)(),Object(a.f)("ul",{class:"feature-list"},[Object(a.g)("li",null,[Object(a.g)("div",{id:"version-info"},[Object(a.g)("p",{class:"feature-title"}," Vue: "+Object(a.D)(e.version),1),e.Native?(Object(a.t)(),Object(a.f)("p",{key:0,class:"feature-title"}," Hippy-Vue-Next: "+Object(a.D)("unspecified"!==e.Native.version?e.Native.version:"master"),1)):Object(a.e)("v-if",!0)])]),Object(a.g)("li",null,[Object(a.g)("p",{class:"feature-title"}," 浏览器组件 Demos ")]),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.featureList,e=>(Object(a.t)(),Object(a.f)("li",{key:e.id,class:"feature-item"},[Object(a.i)(i,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(a.H)(()=>[Object(a.h)(Object(a.D)(e.name),1)]),_:2},1032,["to"])]))),128)),e.nativeFeatureList.length?(Object(a.t)(),Object(a.f)("li",{key:0},[Object(a.g)("p",{class:"feature-title",paintType:"fcp"}," 终端组件 Demos ")])):Object(a.e)("v-if",!0),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.nativeFeatureList,e=>(Object(a.t)(),Object(a.f)("li",{key:e.id,class:"feature-item"},[Object(a.i)(i,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(a.H)(()=>[Object(a.h)(Object(a.D)(e.name),1)]),_:2},1032,["to"])]))),128))])}],["__scopeId","data-v-63300fa4"]]);var ht=Object(c.defineComponent)({setup(){const e=Object(c.ref)("http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy"),t=Object(c.ref)(null);return{bundleUrl:e,styles:{tipText:{color:"#242424",marginBottom:12},button:{width:200,height:40,borderRadius:8,backgroundColor:"#4c9afa",alignItems:"center",justifyContent:"center"},buttonText:{fontSize:16,textAlign:"center",lineHeight:40,color:"#fff"},buttonContainer:{alignItems:"center",justifyContent:"center"}},tips:["安装远程调试依赖: npm i -D @hippy/debug-server-next@latest","修改 webpack 配置,添加远程调试地址","运行 npm run hippy:dev 开始编译,编译结束后打印出 bundleUrl 及调试首页地址","粘贴 bundleUrl 并点击开始按钮","访问调试首页开始远程调试,远程调试支持热更新(HMR)"],inputRef:t,blurInput:()=>{t.value&&t.value.blur()},openBundle:()=>{if(e.value){const{rootViewId:t}=Object(Ne.a)();f.Native.callNative("TestModule","remoteDebug",t,e.value)}}}}});o(78);const vt=[{path:"/",component:mt},{path:"/remote-debug",component:r()(ht,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{ref:"inputDemo",class:"demo-remote-input",onClick:t[2]||(t[2]=Object(a.J)((...t)=>e.blurInput&&e.blurInput(...t),["stop"]))},[Object(a.g)("div",{class:"tips-wrap"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.tips,(t,o)=>(Object(a.t)(),Object(a.f)("p",{key:o,class:"tips-item",style:Object(a.p)(e.styles.tipText)},Object(a.D)(o+1)+". "+Object(a.D)(t),5))),128))]),Object(a.g)("input",{ref:"inputRef",value:e.bundleUrl,"caret-color":"yellow",placeholder:"please input bundleUrl",multiple:!0,numberOfLines:"4",class:"remote-input",onClick:Object(a.J)(()=>{},["stop"]),onChange:t[0]||(t[0]=t=>e.bundleUrl=t.value)},null,40,["value"]),Object(a.g)("div",{class:"buttonContainer",style:Object(a.p)(e.styles.buttonContainer)},[Object(a.g)("button",{style:Object(a.p)(e.styles.button),class:"input-button",onClick:t[1]||(t[1]=Object(a.J)((...t)=>e.openBundle&&e.openBundle(...t),["stop"]))},[Object(a.g)("span",{style:Object(a.p)(e.styles.buttonText)},"开始",4)],4)],4)],512)}],["__scopeId","data-v-c92250fe"]]),name:"Debug"},...Object.keys(fe).map(e=>({path:"/demo/"+e,name:fe[e].name,component:fe[e].component})),...Object.keys(ft).map(e=>({path:"/demo/"+e,name:ft[e].name,component:ft[e].component}))];function Ot(){return Object(n.createHippyRouter)({routes:vt})}},function(e,t,o){"use strict";var n=o(0);var a=o(1),c=o(9),l=Object(a.defineComponent)({name:"App",setup(){const e=Object(c.useRouter)(),t=Object(c.useRoute)(),o=Object(a.ref)(""),n=Object(a.ref)(0),l=Object(a.ref)([{text:"API",path:"/"},{text:"调试",path:"/remote-debug"}]);return{activatedTab:n,backButtonImg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAIPUlEQVR4Xu2dT8xeQxTGn1O0GiWEaEJCWJCwQLBo/WnRSqhEJUQT0W60G+1Ku1SS2mlXaqM2KqJSSUlajVb9TViwYEHCQmlCQghRgqKPTHLK7Zfvfd97Zt5535l7z91+58zce57fnfe7d+Y+I/Cj1xWQXl+9XzwcgJ5D4AA4AD2vQM8v30cAB6DnFZjA5ZO8VUTenEBX5i58BDCXzJZA8ikA6wFsFpEttuz80Q5AxhqTfAbA2kYXW0VkU8YuzU07AOaStUsg+RyA1bNEFwWBA9BOz9ZRJOcAeAHAqiFJ20VkQ+tGMwY6AGMsLslTAOwGcE+LZneIyLoWcVlDHIAxlVfFfxXACkOTO0VkjSF+7KEOwJhKSnIfgDuNzf0M4BoR+cqYN7ZwByCxlCTnAtgLYLmxqR8ALBGRz4x5Yw13ABLKSfJ0APsBLDU28x2Am0XkC2Pe2MMdgMiSkjwDwAEAi41NBPEXichhY16WcAcgoqwkzwRwCMD1xvRvANxUivjh3B0Ao4IkzwbwFoCrjalf67B/xJiXNdwBMJSX5LkA3gFwpSEthH6pd/63xrzs4Q5AyxKTPB/AuwAub5lyIuxzvfO/N+ZNJNwBaFFmkhcAeA/ApS3CmyGf6qPej8a8iYU7ACNKTfIivfMvNqryMYBbRCS87Cn2cACGSKPivw/gQqOCQfzwnH/UmDfxcAdgQMlJXqLDvlX8DwHcVoP4/hg4WPzLdNhfaLwlw2hxu4j8ZsybWriPADNKT/IKfdQ7z6jK2wDuEJE/jHlTDXcAGuUneZW+5DnHqMpBAHeJyDFj3tTDHQCVgOR1+nr3LKMqYRp4pYj8bcwrItwBAEBykU7sLDCqsgfAfSLyjzGvmPDeA0ByiU7pzjeqEsS/V0SOG/OKCu81ACSX6WKOeUZVdgF4oHbxe/0YSDIs33oFwGlG8ae+js94vkPDezkCkFypq3dPNRaziJW8xnN2AJoVIHm/rtsPS7gtRzFr+S0nPSq2VyOAiv9ixEKYor7mGSWq5e+9AYDkgwDC51rWa94iIpstRa0p1lqMmq7tv3Ml+RCA8KGm9Xo3isi2Ki+65UlbC9Ky2XLCSD4MYHvEGXVe/M4/BpJ8BMDWCPHXi8jTEXnVpXR2BCD5OIDHjIoQwDoRedaYV214JwEg+SSAjUZVgvhrROR5Y17V4Z0DoGHJYhEmTOaEV7svWZK6ENspAGaxZGmjUZjGDTN64bVw747OADDEkmWYqEH8u0Xktd4prxdcPQAtLVlm0/cvXcjRW/GrfwxU8V9uacnShOBPXcL1Rl/v/BPXXe0IYPTjaer8uy7eDN/49f6oEgCSYRo3/NNm8eMJYv+qy7Y/6L3ytf4PkGDJ8ot+sPGRi/9/BaoaARIsWX7S7/Q+cfFPrkA1ACRYsgTxb5y2GVOp4FUBQIIlSxFOXKWKX8VjYIIlSzFOXA5AZAUSLFmKM2OKLEH2tGJ/AhIsWYo0Y8quZGQHRQKQYMlSrBlTpD7Z04oDIMGSpWgzpuxKRnZQFACJ4t8gIsWaMUXqkz2tGAASLFmKd+LKrmJCB0UAQDLWkqUKJ64EfbKnTh2ABEuWqsyYsisZ2cFUAUiwZKnOjClSn+xpUwMgwZKlSjOm7EpGdlAjAOHuDz58VblxReqTPW1qAIQr85+A7PqO7GCqACgEsb58/k/gSHlHB0wdAIXAHwNHa5UloggAFIJYb15/EZSARjEAKASx1uw+DxAJQVEAKASxmzP4TGAEBMUBoBCE7VnC0m3rDh1hLcBiESlub54IbSaSUiQADQhi9ujxBSEGdIoFQCGI3aXLl4S1hKBoABSC2H36fFFoCwiKB0AhiN2p05eFj4CgCgAUgti9ev2roCEQVAOAQhC7W3f4LjDs4uWfhs2AoSoAFIK5avG+vMVPXDPEPw6dpWDVAaAQ+OfhRvoHhVcJgEIQ3L53R7iDuEFEg4ZqAVAI5qj1+yrjDeEWMVqwqgE4ITrJYAFvhcBNoiLcs4032uTCE2zieusRGNTpxAjQGAmCJfxaI3bBJTTs/uVGkcbCFRnuVrE2WTo1AjRGAjeLbslBJwHQJ4RgFR8s4y2H28VbqlV6rG8YMVqhzo4AjZ8D3zJmCAedB0B/DnzTqAEQ9AIAhSB227gnROTR0YNpnRG9AUAhCLuG+saRXZkLiLnnfOvYk6vWqxGg8Y+hbx7dpcmgyJHAt4/v2lyAFQSSy3R10Txj7i7dZey4Ma+48F7+BDRVILkEwH4A843q7NFJpKoh6D0A+nSwCMABAAsiIAjTyWFGscrDAVDZEjyL9unuY2ELuuoOB6AhWYJlzUHdhexYbQQ4ADMUS/AtrNK9zAGY5ZZNcC6tzr/QARgwZqt3cfAoWGgc1qsyr3IAhqibYGAdPIzDp2hHjfBMPNwBGFHyBAv7KoysHYAW91zCDibFO5g5AC0A0JdFwbcoxrKmaAczB6AlAApBrGVNsQ5mDoABAIUg1rKmSPMqB8AIgEIQa1kTzKuCjd2RiG6zpDgAkWVN2Mu4KAczByASAB0JYi1rinEwcwASAFAIgmXN6wCWGpsqwsHMATCqNiic5F4AK4zNBQeza0XksDFvbOEOwJhKSTLGt2iniKwZ0ylENeMARJVt9iSSFt+iHSKybozdRzXlAESVbXASyTa+RdtFZMOYu45qzgGIKtvopCGWNVtFZNPoFiYT4QBkrDPJmZY1W0Rkc8YuzU07AOaS2RIaljUbRWSbLTt/tAOQv8Zhf8Sw0eWhCXRl7sIBMJesWwkOQLf0NF+NA2AuWbcSHIBu6Wm+GgfAXLJuJTgA3dLTfDX/AlSTmJ/JwwOoAAAAAElFTkSuQmCC",currentRoute:t,subTitle:o,tabs:l,goBack:()=>{e.back()},navigateTo:(t,o)=>{o!==n.value&&(n.value=o,e.replace({path:t.path}))}}},watch:{$route(e){void 0!==e.name?this.subTitle=e.name:this.subTitle=""}}}),i=(o(49),o(3));const r=o.n(i)()(l,[["render",function(e,t,o,a,c,l){const i=Object(n.z)("router-view");return Object(n.t)(),Object(n.f)("div",{id:"root"},[Object(n.g)("div",{id:"header"},[Object(n.g)("div",{class:"left-title"},[Object(n.I)(Object(n.g)("img",{id:"back-btn",src:e.backButtonImg,onClick:t[0]||(t[0]=(...t)=>e.goBack&&e.goBack(...t))},null,8,["src"]),[[n.F,!["/","/debug","/remote-debug"].includes(e.currentRoute.path)]]),["/","/debug","/remote-debug"].includes(e.currentRoute.path)?(Object(n.t)(),Object(n.f)("label",{key:0,class:"title"},"Hippy Vue Next")):Object(n.e)("v-if",!0)]),Object(n.g)("label",{class:"title"},Object(n.D)(e.subTitle),1)]),Object(n.g)("div",{class:"body-container",onClick:Object(n.J)(()=>{},["stop"])},[Object(n.e)(" if you don't need keep-alive, just use '' "),Object(n.i)(i,null,{default:Object(n.H)(({Component:e,route:t})=>[(Object(n.t)(),Object(n.d)(n.b,null,[(Object(n.t)(),Object(n.d)(Object(n.A)(e),{key:t.path}))],1024))]),_:1})]),Object(n.g)("div",{class:"bottom-tabs"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.tabs,(t,o)=>(Object(n.t)(),Object(n.f)("div",{key:"tab-"+o,class:Object(n.o)(["bottom-tab",o===e.activatedTab?"activated":""]),onClick:Object(n.J)(n=>e.navigateTo(t,o),["stop"])},[Object(n.g)("span",{class:"bottom-tab-text"},Object(n.D)(t.text),1)],10,["onClick"]))),128))])])}]]);t.a=r},,,function(e,t,o){e.exports=o(48)},function(e,t,o){"use strict";o.r(t),function(e){var t=o(4),n=o(44),a=o(43),c=o(8);e.Hippy.on("uncaughtException",e=>{console.log("uncaughtException error",e.stack,e.message)}),e.Hippy.on("unhandledRejection",e=>{console.log("unhandledRejection reason",e)});const l=Object(t.createApp)(n.a,{appName:"Demo",iPhone:{statusBar:{backgroundColor:4283416717}},trimWhitespace:!0}),i=Object(a.a)();l.use(i),t.EventBus.$on("onSizeChanged",e=>{e.width&&e.height&&Object(t.setScreenSize)({width:e.width,height:e.height})});l.$start().then(({superProps:e,rootViewId:o})=>{Object(c.b)({superProps:e,rootViewId:o}),i.push("/"),t.BackAndroid.addListener(()=>(console.log("backAndroid"),!0)),l.mount("#root")})}.call(this,o(5))},function(e,t,o){"use strict";o(12)},function(e,t,o){"use strict";o(13)},function(e,t,o){var n=o(14).default,a=o(52);e.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var n=o(14).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var a=o.call(e,t||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){"use strict";o(15)},function(e,t,o){"use strict";o(16)},function(e,t,o){"use strict";o(17)},function(e,t,o){"use strict";o(18)},function(e,t,o){"use strict";o(19)},function(e,t,o){"use strict";o(20)},function(e,t,o){"use strict";o(21)},function(e,t,o){"use strict";o(22)},function(e,t,o){"use strict";o(23)},function(e,t,o){"use strict";o(24)},function(e,t,o){"use strict";o(25)},function(e,t,o){"use strict";o(26)},function(e,t,o){"use strict";o(27)},function(e,t,o){"use strict";o(28)},function(e,t,o){"use strict";o(29)},function(e,t,o){"use strict";o(30)},function(e,t,o){"use strict";o(31)},function(e,t,o){"use strict";o(32)},function(e,t,o){"use strict";o(33)},function(e,t,o){"use strict";o(34)},function(e,t,o){"use strict";o(35)},function(e,t,o){"use strict";o(36)},function(e,t,o){"use strict";o(37)},function(e,t,o){"use strict";o(38)},function(e,t,o){"use strict";o(39)},function(e,t,o){"use strict";o(40)}]); \ No newline at end of file diff --git a/framework/examples/android-demo/res/vue3/vendor-manifest.json b/framework/examples/android-demo/res/vue3/vendor-manifest.json index 4a7252c7cef..783c9df4584 100644 --- a/framework/examples/android-demo/res/vue3/vendor-manifest.json +++ b/framework/examples/android-demo/res/vue3/vendor-manifest.json @@ -1 +1 @@ -{"name":"hippyVueBase","content":{"../../packages/hippy-vue-next/dist/index.js":{"id":"../../packages/hippy-vue-next/dist/index.js","buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ITERATE_KEY","ReactiveEffect","ReactiveFlags","TrackOpTypes","TriggerOpTypes","computed","customRef","deferredComputed","effect","effectScope","enableTracking","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","pauseScheduling","pauseTracking","proxyRefs","reactive","readonly","ref","resetScheduling","resetTracking","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","track","trigger","triggerRef","unref"]}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ReactiveEffect","TrackOpTypes","TriggerOpTypes","customRef","effect","effectScope","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","proxyRefs","reactive","readonly","ref","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","triggerRef","unref","camelize","capitalize","normalizeClass","normalizeProps","normalizeStyle","toDisplayString","toHandlerKey","BaseTransition","BaseTransitionPropsValidators","Comment","DeprecationTypes","ErrorCodes","ErrorTypeStrings","Fragment","KeepAlive","Static","Suspense","Teleport","Text","assertNumber","callWithAsyncErrorHandling","callWithErrorHandling","cloneVNode","compatUtils","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createHydrationRenderer","createPropsRestProxy","createRenderer","createSlots","createStaticVNode","createTextVNode","createVNode","defineAsyncComponent","defineComponent","defineEmits","defineExpose","defineModel","defineOptions","defineProps","defineSlots","devtools","getCurrentInstance","getTransitionRawChildren","guardReactiveProps","h","handleError","hasInjectionContext","initCustomFormatter","inject","isMemoSame","isRuntimeOnly","isVNode","mergeDefaults","mergeModels","mergeProps","nextTick","onActivated","onBeforeMount","onBeforeUnmount","onBeforeUpdate","onDeactivated","onErrorCaptured","onMounted","onRenderTracked","onRenderTriggered","onServerPrefetch","onUnmounted","onUpdated","openBlock","popScopeId","provide","pushScopeId","queuePostFlushCb","registerRuntimeCompiler","renderList","renderSlot","resolveComponent","resolveDirective","resolveDynamicComponent","resolveFilter","resolveTransitionHooks","setBlockTracking","setDevtoolsHook","setTransitionHooks","ssrContextKey","ssrUtils","toHandlers","transformVNodeArgs","useAttrs","useModel","useSSRContext","useSlots","useTransitionState","version","warn","watch","watchEffect","watchPostEffect","watchSyncEffect","withAsyncContext","withCtx","withDefaults","withDirectives","withMemo","withScopeId"]}},"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["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"]}},"./node_modules/process/browser.js":{"id":"./node_modules/process/browser.js","buildMeta":{"providedExports":true}},"./node_modules/webpack/buildin/global.js":{"id":"./node_modules/webpack/buildin/global.js","buildMeta":{"providedExports":true}},"./scripts/vendor.js":{"id":"./scripts/vendor.js","buildMeta":{"providedExports":true}}}} \ No newline at end of file +{"name":"hippyVueBase","content":{"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":{"id":0,"buildMeta":{"exportsType":"namespace","providedExports":["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"]}},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":{"id":1,"buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ITERATE_KEY","ReactiveEffect","ReactiveFlags","TrackOpTypes","TriggerOpTypes","computed","customRef","deferredComputed","effect","effectScope","enableTracking","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","pauseScheduling","pauseTracking","proxyRefs","reactive","readonly","ref","resetScheduling","resetTracking","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","track","trigger","triggerRef","unref"]}},"./node_modules/webpack/buildin/global.js":{"id":2,"buildMeta":{"providedExports":true}},"./scripts/vendor.js":{"id":4,"buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/dist/index.js":{"id":5,"buildMeta":{"providedExports":true}},"./node_modules/process/browser.js":{"id":6,"buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":{"id":7,"buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ReactiveEffect","TrackOpTypes","TriggerOpTypes","customRef","effect","effectScope","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","proxyRefs","reactive","readonly","ref","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","triggerRef","unref","camelize","capitalize","normalizeClass","normalizeProps","normalizeStyle","toDisplayString","toHandlerKey","BaseTransition","BaseTransitionPropsValidators","Comment","DeprecationTypes","ErrorCodes","ErrorTypeStrings","Fragment","KeepAlive","Static","Suspense","Teleport","Text","assertNumber","callWithAsyncErrorHandling","callWithErrorHandling","cloneVNode","compatUtils","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createHydrationRenderer","createPropsRestProxy","createRenderer","createSlots","createStaticVNode","createTextVNode","createVNode","defineAsyncComponent","defineComponent","defineEmits","defineExpose","defineModel","defineOptions","defineProps","defineSlots","devtools","getCurrentInstance","getTransitionRawChildren","guardReactiveProps","h","handleError","hasInjectionContext","initCustomFormatter","inject","isMemoSame","isRuntimeOnly","isVNode","mergeDefaults","mergeModels","mergeProps","nextTick","onActivated","onBeforeMount","onBeforeUnmount","onBeforeUpdate","onDeactivated","onErrorCaptured","onMounted","onRenderTracked","onRenderTriggered","onServerPrefetch","onUnmounted","onUpdated","openBlock","popScopeId","provide","pushScopeId","queuePostFlushCb","registerRuntimeCompiler","renderList","renderSlot","resolveComponent","resolveDirective","resolveDynamicComponent","resolveFilter","resolveTransitionHooks","setBlockTracking","setDevtoolsHook","setTransitionHooks","ssrContextKey","ssrUtils","toHandlers","transformVNodeArgs","useAttrs","useModel","useSSRContext","useSlots","useTransitionState","version","warn","watch","watchEffect","watchPostEffect","watchSyncEffect","withAsyncContext","withCtx","withDefaults","withDirectives","withMemo","withScopeId"]}}}} \ No newline at end of file diff --git a/framework/examples/android-demo/res/vue3/vendor.android.js b/framework/examples/android-demo/res/vue3/vendor.android.js index 5b5b6c3085b..247af7b101e 100644 --- a/framework/examples/android-demo/res/vue3/vendor.android.js +++ b/framework/examples/android-demo/res/vue3/vendor.android.js @@ -1,8 +1,20 @@ -var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"../../packages/hippy-vue-next/dist/index.js":function(e,t,n){"use strict";(function(e,r){ +var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";n.r(t),function(e){ +/** +* @vue/shared v3.4.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +/*! #__NO_SIDE_EFFECTS__ */ +function r(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}n.d(t,"EMPTY_ARR",(function(){return i})),n.d(t,"EMPTY_OBJ",(function(){return o})),n.d(t,"NO",(function(){return c})),n.d(t,"NOOP",(function(){return s})),n.d(t,"PatchFlagNames",(function(){return G})),n.d(t,"PatchFlags",(function(){return K})),n.d(t,"ShapeFlags",(function(){return q})),n.d(t,"SlotFlags",(function(){return J})),n.d(t,"camelize",(function(){return P})),n.d(t,"capitalize",(function(){return L})),n.d(t,"def",(function(){return B})),n.d(t,"escapeHtml",(function(){return Ne})),n.d(t,"escapeHtmlComment",(function(){return xe})),n.d(t,"extend",(function(){return u})),n.d(t,"genPropsAccessExp",(function(){return z})),n.d(t,"generateCodeFrame",(function(){return ee})),n.d(t,"getGlobalThis",(function(){return Y})),n.d(t,"hasChanged",(function(){return D})),n.d(t,"hasOwn",(function(){return p})),n.d(t,"hyphenate",(function(){return M})),n.d(t,"includeBooleanAttr",(function(){return ve})),n.d(t,"invokeArrayFns",(function(){return V})),n.d(t,"isArray",(function(){return h})),n.d(t,"isBooleanAttr",(function(){return me})),n.d(t,"isBuiltInDirective",(function(){return C})),n.d(t,"isDate",(function(){return g})),n.d(t,"isFunction",(function(){return b})),n.d(t,"isGloballyAllowed",(function(){return Z})),n.d(t,"isGloballyWhitelisted",(function(){return Q})),n.d(t,"isHTMLTag",(function(){return le})),n.d(t,"isIntegerKey",(function(){return j})),n.d(t,"isKnownHtmlAttr",(function(){return _e})),n.d(t,"isKnownSvgAttr",(function(){return Ee})),n.d(t,"isMap",(function(){return m})),n.d(t,"isMathMLTag",(function(){return de})),n.d(t,"isModelListener",(function(){return l})),n.d(t,"isObject",(function(){return E})),n.d(t,"isOn",(function(){return a})),n.d(t,"isPlainObject",(function(){return x})),n.d(t,"isPromise",(function(){return S})),n.d(t,"isRegExp",(function(){return y})),n.d(t,"isRenderableAttrValue",(function(){return Se})),n.d(t,"isReservedProp",(function(){return A})),n.d(t,"isSSRSafeAttrName",(function(){return be})),n.d(t,"isSVGTag",(function(){return ue})),n.d(t,"isSet",(function(){return v})),n.d(t,"isSpecialBooleanAttr",(function(){return he})),n.d(t,"isString",(function(){return O})),n.d(t,"isSymbol",(function(){return _})),n.d(t,"isVoidTag",(function(){return fe})),n.d(t,"looseEqual",(function(){return je})),n.d(t,"looseIndexOf",(function(){return Ae})),n.d(t,"looseToNumber",(function(){return $})),n.d(t,"makeMap",(function(){return r})),n.d(t,"normalizeClass",(function(){return ce})),n.d(t,"normalizeProps",(function(){return ae})),n.d(t,"normalizeStyle",(function(){return te})),n.d(t,"objectToString",(function(){return w})),n.d(t,"parseStringStyle",(function(){return ie})),n.d(t,"propsToAttrMap",(function(){return Oe})),n.d(t,"remove",(function(){return d})),n.d(t,"slotFlagsText",(function(){return X})),n.d(t,"stringifyStyle",(function(){return se})),n.d(t,"toDisplayString",(function(){return Ie})),n.d(t,"toHandlerKey",(function(){return F})),n.d(t,"toNumber",(function(){return U})),n.d(t,"toRawType",(function(){return T})),n.d(t,"toTypeString",(function(){return N}));const o={},i=[],s=()=>{},c=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,p=(e,t)=>f.call(e,t),h=Array.isArray,m=e=>"[object Map]"===N(e),v=e=>"[object Set]"===N(e),g=e=>"[object Date]"===N(e),y=e=>"[object RegExp]"===N(e),b=e=>"function"==typeof e,O=e=>"string"==typeof e,_=e=>"symbol"==typeof e,E=e=>null!==e&&"object"==typeof e,S=e=>(E(e)||b(e))&&b(e.then)&&b(e.catch),w=Object.prototype.toString,N=e=>w.call(e),T=e=>N(e).slice(8,-1),x=e=>"[object Object]"===N(e),j=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),I=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,P=I(e=>e.replace(k,(e,t)=>t?t.toUpperCase():"")),R=/\B([A-Z])/g,M=I(e=>e.replace(R,"-$1").toLowerCase()),L=I(e=>e.charAt(0).toUpperCase()+e.slice(1)),F=I(e=>e?"on"+L(e):""),D=(e,t)=>!Object.is(e,t),V=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=O(e)?Number(e):NaN;return isNaN(t)?e:t};let H;const Y=()=>H||(H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),W=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function z(e){return W.test(e)?"__props."+e:`__props[${JSON.stringify(e)}]`}const K={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},G={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},q={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},J={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},X={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Z=r("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"),Q=Z;function ee(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let r=e.split(/(\r?\n)/);const o=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let i=0;const s=[];for(let e=0;e=t){for(let c=e-2;c<=e+2||n>i;c++){if(c<0||c>=r.length)continue;const a=c+1;s.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${r[c]}`);const l=r[c].length,u=o[c]&&o[c].length||0;if(c===e){const e=t-(i-(l+u)),r=Math.max(1,n>i?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(c>e){if(n>i){const e=Math.max(Math.min(n-i,l),1);s.push(" | "+"^".repeat(e))}i+=l+u}}break}return s.join("\n")}function te(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(re);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function se(e){let t="";if(!e||O(e))return t;for(const n in e){const r=e[n];if(O(r)||"number"==typeof r){t+=`${n.startsWith("--")?n:M(n)}:${r};`}}return t}function ce(e){let t="";if(O(e))t=e;else if(h(e))for(let n=0;n/="'\u0009\u000a\u000c\u0020]/,ye={};function be(e){if(ye.hasOwnProperty(e))return ye[e];const t=ge.test(e);return t&&console.error("unsafe attribute name: "+e),ye[e]=!t}const Oe={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},_e=r("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"),Ee=r("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");function Se(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const we=/["'&<>]/;function Ne(e){const t=""+e,n=we.exec(t);if(!n)return t;let r,o,i="",s=0;for(o=n.index;o||--!>|je(e,t))}const Ce=e=>!(!e||!0!==e.__v_isRef),Ie=e=>O(e)?e:null==e?"":h(e)||E(e)&&(e.toString===w||!b(e.toString))?Ce(e)?Ie(e.value):JSON.stringify(e,ke,2):String(e),ke=(e,t)=>Ce(t)?ke(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Pe(t,r)+" =>"]=n,e),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Pe(e))}:_(t)?Pe(t):!E(t)||h(t)||x(t)?t:String(t),Pe=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}}.call(this,n(2))},function(e,t,n){"use strict";n.r(t),n.d(t,"EffectScope",(function(){return s})),n.d(t,"ITERATE_KEY",(function(){return I})),n.d(t,"ReactiveEffect",(function(){return d})),n.d(t,"ReactiveFlags",(function(){return nt})),n.d(t,"TrackOpTypes",(function(){return et})),n.d(t,"TriggerOpTypes",(function(){return tt})),n.d(t,"computed",(function(){return Pe})),n.d(t,"customRef",(function(){return Ke})),n.d(t,"deferredComputed",(function(){return Qe})),n.d(t,"effect",(function(){return v})),n.d(t,"effectScope",(function(){return c})),n.d(t,"enableTracking",(function(){return E})),n.d(t,"getCurrentScope",(function(){return l})),n.d(t,"isProxy",(function(){return xe})),n.d(t,"isReactive",(function(){return we})),n.d(t,"isReadonly",(function(){return Ne})),n.d(t,"isRef",(function(){return Le})),n.d(t,"isShallow",(function(){return Te})),n.d(t,"markRaw",(function(){return Ae})),n.d(t,"onScopeDispose",(function(){return u})),n.d(t,"pauseScheduling",(function(){return w})),n.d(t,"pauseTracking",(function(){return _})),n.d(t,"proxyRefs",(function(){return We})),n.d(t,"reactive",(function(){return be})),n.d(t,"readonly",(function(){return _e})),n.d(t,"ref",(function(){return Fe})),n.d(t,"resetScheduling",(function(){return N})),n.d(t,"resetTracking",(function(){return S})),n.d(t,"shallowReactive",(function(){return Oe})),n.d(t,"shallowReadonly",(function(){return Ee})),n.d(t,"shallowRef",(function(){return De})),n.d(t,"stop",(function(){return g})),n.d(t,"toRaw",(function(){return je})),n.d(t,"toRef",(function(){return Xe})),n.d(t,"toRefs",(function(){return Ge})),n.d(t,"toValue",(function(){return He})),n.d(t,"track",(function(){return P})),n.d(t,"trigger",(function(){return R})),n.d(t,"triggerRef",(function(){return $e})),n.d(t,"unref",(function(){return Ue}));var r=n(0); +/** +* @vue/reactivity v3.4.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let o,i;class s{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),S()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=i;try{return y=!0,i=this,this._runnings++,p(this),this.fn()}finally{h(this),this._runnings--,i=t,y=e}}stop(){this.active&&(p(this),h(this),this.onStop&&this.onStop(),this.active=!1)}}function f(e){return e.value}function p(e){e._trackId++,e._depsLength=0}function h(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(Object(r.extend)(n,t),t.scope&&a(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function g(e){e.effect.stop()}let y=!0,b=0;const O=[];function _(){O.push(y),y=!1}function E(){O.push(y),y=!0}function S(){const e=O.pop();y=void 0===e||e}function w(){b++}function N(){for(b--;!b&&x.length;)x.shift()()}function T(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&m(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const x=[];function j(e,t,n){w();for(const n of e.keys()){let r;n._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},C=new WeakMap,I=Symbol(""),k=Symbol("");function P(e,t,n){if(y&&i){let t=C.get(e);t||C.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=A(()=>t.delete(n))),T(i,r)}}function R(e,t,n,o,i,s){const c=C.get(e);if(!c)return;let a=[];if("clear"===t)a=[...c.values()];else if("length"===n&&Object(r.isArray)(e)){const e=Number(o);c.forEach((t,n)=>{("length"===n||!Object(r.isSymbol)(n)&&n>=e)&&a.push(t)})}else switch(void 0!==n&&a.push(c.get(n)),t){case"add":Object(r.isArray)(e)?Object(r.isIntegerKey)(n)&&a.push(c.get("length")):(a.push(c.get(I)),Object(r.isMap)(e)&&a.push(c.get(k)));break;case"delete":Object(r.isArray)(e)||(a.push(c.get(I)),Object(r.isMap)(e)&&a.push(c.get(k)));break;case"set":Object(r.isMap)(e)&&a.push(c.get(I))}w();for(const e of a)e&&j(e,4);N()}const M=Object(r.makeMap)("__proto__,__v_isRef,__isVue"),L=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(r.isSymbol)),F=D();function D(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=je(this);for(let e=0,t=this.length;e{e[t]=function(...e){_(),w();const n=je(this)[t].apply(this,e);return N(),S(),n}}),e}function V(e){Object(r.isSymbol)(e)||(e=String(e));const t=je(this);return P(t,0,e),t.hasOwnProperty(e)}class B{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?ye:ge:i?ve:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=Object(r.isArray)(e);if(!o){if(s&&Object(r.hasOwn)(F,t))return Reflect.get(F,t,n);if("hasOwnProperty"===t)return V}const c=Reflect.get(e,t,n);return(Object(r.isSymbol)(t)?L.has(t):M(t))?c:(o||P(e,0,t),i?c:Le(c)?s&&Object(r.isIntegerKey)(t)?c:c.value:Object(r.isObject)(c)?o?_e(c):be(c):c)}}class $ extends B{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Ne(i);if(Te(n)||Ne(n)||(i=je(i),n=je(n)),!Object(r.isArray)(e)&&Le(i)&&!Le(n))return!t&&(i.value=n,!0)}const s=Object(r.isArray)(e)&&Object(r.isIntegerKey)(t)?Number(t)e,G=e=>Reflect.getPrototypeOf(e);function q(e,t,n=!1,o=!1){const i=je(e=e.__v_raw),s=je(t);n||(Object(r.hasChanged)(t,s)&&P(i,0,t),P(i,0,s));const{has:c}=G(i),a=o?K:n?Ie:Ce;return c.call(i,t)?a(e.get(t)):c.call(i,s)?a(e.get(s)):void(e!==i&&e.get(t))}function J(e,t=!1){const n=this.__v_raw,o=je(n),i=je(e);return t||(Object(r.hasChanged)(e,i)&&P(o,0,e),P(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function X(e,t=!1){return e=e.__v_raw,!t&&P(je(e),0,I),Reflect.get(e,"size",e)}function Z(e,t=!1){t||Te(e)||Ne(e)||(e=je(e));const n=je(this);return G(n).has.call(n,e)||(n.add(e),R(n,"add",e,e)),this}function Q(e,t,n=!1){n||Te(t)||Ne(t)||(t=je(t));const o=je(this),{has:i,get:s}=G(o);let c=i.call(o,e);c||(e=je(e),c=i.call(o,e));const a=s.call(o,e);return o.set(e,t),c?Object(r.hasChanged)(t,a)&&R(o,"set",e,t):R(o,"add",e,t),this}function ee(e){const t=je(this),{has:n,get:r}=G(t);let o=n.call(t,e);o||(e=je(e),o=n.call(t,e));r&&r.call(t,e);const i=t.delete(e);return o&&R(t,"delete",e,void 0),i}function te(){const e=je(this),t=0!==e.size,n=e.clear();return t&&R(e,"clear",void 0,void 0),n}function ne(e,t){return function(n,r){const o=this,i=o.__v_raw,s=je(i),c=t?K:e?Ie:Ce;return!e&&P(s,0,I),i.forEach((e,t)=>n.call(r,c(e),c(t),o))}}function re(e,t,n){return function(...o){const i=this.__v_raw,s=je(i),c=Object(r.isMap)(s),a="entries"===e||e===Symbol.iterator&&c,l="keys"===e&&c,u=i[e](...o),d=n?K:t?Ie:Ce;return!t&&P(s,0,l?k:I),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function oe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ie(){const e={get(e){return q(this,e)},get size(){return X(this)},has:J,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return q(this,e,!1,!0)},get size(){return X(this)},has:J,add(e){return Z.call(this,e,!0)},set(e,t){return Q.call(this,e,t,!0)},delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return q(this,e,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!1)},r={get(e){return q(this,e,!0,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=re(o,!1,!1),n[o]=re(o,!0,!1),t[o]=re(o,!1,!0),r[o]=re(o,!0,!0)}),[e,n,t,r]}const[se,ce,ae,le]=ie();function ue(e,t){const n=t?e?le:ae:e?ce:se;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(Object(r.hasOwn)(n,o)&&o in t?n:t,o,i)}const de={get:ue(!1,!1)},fe={get:ue(!1,!0)},pe={get:ue(!0,!1)},he={get:ue(!0,!0)};const me=new WeakMap,ve=new WeakMap,ge=new WeakMap,ye=new WeakMap;function be(e){return Ne(e)?e:Se(e,!1,H,de,me)}function Oe(e){return Se(e,!1,W,fe,ve)}function _e(e){return Se(e,!0,Y,pe,ge)}function Ee(e){return Se(e,!0,z,he,ye)}function Se(e,t,n,o,i){if(!Object(r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const c=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Object(r.toRawType)(a));var a;if(0===c)return e;const l=new Proxy(e,2===c?o:n);return i.set(e,l),l}function we(e){return Ne(e)?we(e.__v_raw):!(!e||!e.__v_isReactive)}function Ne(e){return!(!e||!e.__v_isReadonly)}function Te(e){return!(!e||!e.__v_isShallow)}function xe(e){return!!e&&!!e.__v_raw}function je(e){const t=e&&e.__v_raw;return t?je(t):e}function Ae(e){return Object.isExtensible(e)&&Object(r.def)(e,"__v_skip",!0),e}const Ce=e=>Object(r.isObject)(e)?be(e):e,Ie=e=>Object(r.isObject)(e)?_e(e):e;class ke{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new d(()=>e(this._value),()=>Me(this,2===this.effect._dirtyLevel?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=je(this);return e._cacheable&&!e.effect.dirty||!Object(r.hasChanged)(e._value,e._value=e.effect.run())||Me(e,4),Re(e),e.effect._dirtyLevel>=2&&Me(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Pe(e,t,n=!1){let o,i;const s=Object(r.isFunction)(e);s?(o=e,i=r.NOOP):(o=e.get,i=e.set);return new ke(o,i,s||!i,n)}function Re(e){var t;y&&i&&(e=je(e),T(i,null!=(t=e.dep)?t:e.dep=A(()=>e.dep=void 0,e instanceof ke?e:void 0)))}function Me(e,t=4,n,r){const o=(e=je(e)).dep;o&&j(o,t)}function Le(e){return!(!e||!0!==e.__v_isRef)}function Fe(e){return Ve(e,!1)}function De(e){return Ve(e,!0)}function Ve(e,t){return Le(e)?e:new Be(e,t)}class Be{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:je(e),this._value=t?e:Ce(e)}get value(){return Re(this),this._value}set value(e){const t=this.__v_isShallow||Te(e)||Ne(e);if(e=t?e:je(e),Object(r.hasChanged)(e,this._rawValue)){this._rawValue;this._rawValue=e,this._value=t?e:Ce(e),Me(this,4)}}}function $e(e){Me(e,4)}function Ue(e){return Le(e)?e.value:e}function He(e){return Object(r.isFunction)(e)?e():Ue(e)}const Ye={get:(e,t,n)=>Ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Le(o)&&!Le(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function We(e){return we(e)?e:new Proxy(e,Ye)}class ze{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Re(this),()=>Me(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Ke(e){return new ze(e)}function Ge(e){const t=Object(r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ze(e,n);return t}class qe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=C.get(e);return n&&n.get(t)}(je(this._object),this._key)}}class Je{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){return Le(e)?e:Object(r.isFunction)(e)?new Je(e):Object(r.isObject)(e)&&arguments.length>1?Ze(e,t,n):Fe(e)}function Ze(e,t,n){const r=e[t];return Le(r)?r:new qe(e,t,n)}const Qe=Pe,et={GET:"get",HAS:"has",ITERATE:"iterate"},tt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},nt={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){e.exports=n},function(e,t,n){n(5)},function(e,t,n){"use strict";(function(e,r){ /*! * @hippy/vue-next vunspecified - * (Using Vue v3.4.21 and Hippy-Vue-Next vunspecified) - * Build at: Sun Apr 07 2024 19:11:32 GMT+0800 (中国标准时间) + * (Using Vue v3.4.34 and Hippy-Vue-Next vunspecified) + * Build at: Thu Aug 01 2024 19:06:20 GMT+0800 (中国标准时间) * * Tencent is pleased to support the open source community by making * Hippy available. @@ -22,23 +34,12 @@ var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports; * See the License for the specific language governing permissions and * limitations under the License. */ -const o=["mode","valueType","startValue","toValue"],i=["transform"],s=["transform"];function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof o){var s=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,s)),o.apply(this,e)}))}return e[Symbol.replace].call(this,n,o)},d.apply(this,arguments)}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var h=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js"),m=n("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");const v={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},g=(...e)=>`\\(\\s*(${e.join(")\\s*,\\s*(")})\\s*\\)`,y="[-+]?\\d*\\.?\\d+",b={rgb:new RegExp("rgb"+g(y,y,y)),rgba:new RegExp("rgba"+g(y,y,y,y)),hsl:new RegExp("hsl"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",y)),hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex4:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},O=e=>{const t=parseInt(e,10);return t<0?0:t>255?255:t},_=e=>{const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)},E=(e,t,n)=>{let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e},S=(e,t,n)=>{const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=E(o,r,e+1/3),s=E(o,r,e),c=E(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*c)<<8},w=e=>(parseFloat(e)%360+360)%360/360,N=e=>{const t=parseFloat(e);return t<0?0:t>100?1:t/100};function x(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=b.hex6.exec(e),Array.isArray(t)?parseInt(t[1]+"ff",16)>>>0:Object.hasOwnProperty.call(v,e)?v[e]:(t=b.rgb.exec(e),Array.isArray(t)?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|255)>>>0:(t=b.rgba.exec(e),t?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|_(t[4]))>>>0:(t=b.hex3.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=b.hex8.exec(e),t?parseInt(t[1],16)>>>0:(t=b.hex4.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=b.hsl.exec(e),t?(255|S(w(t[1]),N(t[2]),N(t[3])))>>>0:(t=b.hsla.exec(e),t?(S(w(t[1]),N(t[2]),N(t[3]))|_(t[4]))>>>0:null))))))))}(e);if(null===t)throw new Error("Bad color value: "+e);return t=(t<<24|t>>>8)>>>0,t}const T={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},j={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},k="turn",C="rad",A="deg",I=/\/\*[\s\S]{0,1000}?\*\//gm;const P=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function R(e){if(Number.isInteger(e))return e;if("string"==typeof e&&e.endsWith("px")){const t=parseFloat(e.slice(0,e.indexOf("px")));Number.isNaN(t)||(e=t)}return e}function L(e){const t=(e||"").replace(/\s*/g,"").toLowerCase(),n=d(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return"";let r="180";const[o,i,s]=n;return i&&s?r=function(e,t=A){const n=parseFloat(e);let r=e||"";const[,o]=e.split(".");switch(o&&o.length>2&&(r=n.toFixed(2)),t){case k:r=""+(360*n).toFixed(2);break;case C:r=""+(180/Math.PI*n).toFixed(2)}return r}(i,s):o&&void 0!==j[o]&&(r=j[o]),r}function M(e=""){const t=e.replace(/\s+/g," ").trim(),[n,r]=t.split(/\s+(?![^(]*?\))/),o=/^([+-]?\d+\.?\d*)%$/g;return!n||o.exec(n)||r?n&&o.exec(r)?{ratio:parseFloat(r.split("%")[0])/100,color:x(n)}:null:{color:x(n)}}function F(e,t){let n=t,r=e;if(0===t.indexOf("linear-gradient")){r="linearGradient";const e=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),o=[];n={},e.forEach((e,t)=>{if(0===t){const t=L(e);if(t)n.angle=t;else{n.angle="180";const t=M(e);t&&o.push(t)}}else{const t=M(e);t&&o.push(t)}}),n.colorStopList=o}else{const e=/(?:\(['"]?)(.*?)(?:['"]?\))/.exec(t);e&&e.length>1&&([,n]=e)}return[r,n]}class D{constructor(){this.changeMap=new Map}addAttribute(e,t){const n=this.properties(e);n.attributes||(n.attributes=new Set),n.attributes.add(t)}addPseudoClass(e,t){const n=this.properties(e);n.pseudoClasses||(n.pseudoClasses=new Set),n.pseudoClasses.add(t)}properties(e){let t=this.changeMap.get(e);return t||this.changeMap.set(e,t={}),t}}class V{constructor(e){this.id={},this.class={},this.type={},this.universal=[],this.position=0,this.ruleSets=e,e.forEach(e=>e.lookupSort(this))}static removeFromMap(e,t,n){const r=e[t],o=r.findIndex(e=>{var t;return e.sel.ruleSet.hash===(null===(t=n.ruleSet)||void 0===t?void 0:t.hash)});-1!==o&&r.splice(o,1)}append(e){this.ruleSets=this.ruleSets.concat(e),e.forEach(e=>e.lookupSort(this))}delete(e){const t=[];this.ruleSets=this.ruleSets.filter(n=>n.hash!==e||(t.push(n),!1)),t.forEach(e=>e.removeSort(this))}query(e,t){const{tagName:n,id:r,classList:o,props:i}=e;let s=r,c=o;if(null==i?void 0:i.attributes){const{attributes:e}=i;c=new Set(((null==e?void 0:e.class)||"").split(" ").filter(e=>e.trim())),s=e.id}const a=[this.universal,this.id[s],this.type[n]];(null==c?void 0:c.size)&&c.forEach(e=>a.push(this.class[e]));const l=a.filter(e=>!!e).reduce((e,t)=>e.concat(t),[]),u=new D;return u.selectors=l.filter(n=>n.sel.accumulateChanges(e,u,t)).sort((e,t)=>e.sel.specificity-t.sel.specificity||e.pos-t.pos).map(e=>e.sel),u}removeById(e,t){V.removeFromMap(this.id,e,t)}sortById(e,t){this.addToMap(this.id,e,t)}removeByClass(e,t){V.removeFromMap(this.class,e,t)}sortByClass(e,t){this.addToMap(this.class,e,t)}removeByType(e,t){V.removeFromMap(this.type,e,t)}sortByType(e,t){this.addToMap(this.type,e,t)}removeAsUniversal(e){const t=this.universal.findIndex(t=>{var n,r;return(null===(n=t.sel.ruleSet)||void 0===n?void 0:n.hash)===(null===(r=e.ruleSet)||void 0===r?void 0:r.hash)});-1!==t&&this.universal.splice(t)}sortAsUniversal(e){this.universal.push(this.makeDocSelector(e))}addToMap(e,t,n){this.position+=1;const r=e[t];r?r.push(this.makeDocSelector(n)):e[t]=[this.makeDocSelector(n)]}makeDocSelector(e){return this.position+=1,{sel:e,pos:this.position}}}function B(e){return e?" "+e:""}function $(e,t){return t?(null==e?void 0:e.pId)&&t[e.pId]?t[e.pId]:null:null==e?void 0:e.parentNode}class U{constructor(){this.specificity=0}lookupSort(e,t){e.sortAsUniversal(null!=t?t:this)}removeSort(e,t){e.removeAsUniversal(null!=t?t:this)}}class H extends U{constructor(){super(...arguments),this.rarity=0}accumulateChanges(e,t){return this.dynamic?!!this.mayMatch(e)&&(this.trackChanges(e,t),!0):this.match(e)}match(e){return!!e}mayMatch(e){return this.match(e)}trackChanges(e,t){}}class Y extends H{constructor(e){super(),this.specificity=e.reduce((e,t)=>t.specificity+e,0),this.head=e.reduce((e,t)=>!e||e instanceof H&&t.rarity>e.rarity?t:e,null),this.dynamic=e.some(e=>e.dynamic),this.selectors=e}toString(){return`${this.selectors.join("")}${B(this.combinator)}`}match(e){return!!e&&this.selectors.every(t=>t.match(e))}mayMatch(e){return!!e&&this.selectors.every(t=>t.mayMatch(e))}trackChanges(e,t){this.selectors.forEach(n=>n.trackChanges(e,t))}lookupSort(e,t){this.head&&this.head instanceof H&&this.head.lookupSort(e,null!=t?t:this)}removeSort(e,t){this.head&&this.head instanceof H&&this.head.removeSort(e,null!=t?t:this)}}class W extends H{constructor(){super(),this.specificity=0,this.rarity=0,this.dynamic=!1}toString(){return"*"+B(this.combinator)}match(){return!0}}class z extends H{constructor(e){super(),this.specificity=65536,this.rarity=3,this.dynamic=!1,this.id=e}toString(){return`#${this.id}${B(this.combinator)}`}match(e){var t,n;return!!e&&((null===(n=null===(t=e.props)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.id)===this.id||e.id===this.id)}lookupSort(e,t){e.sortById(this.id,null!=t?t:this)}removeSort(e,t){e.removeById(this.id,null!=t?t:this)}}class K extends H{constructor(e){super(),this.specificity=1,this.rarity=1,this.dynamic=!1,this.cssType=e}toString(){return`${this.cssType}${B(this.combinator)}`}match(e){return!!e&&e.tagName===this.cssType}lookupSort(e,t){e.sortByType(this.cssType,null!=t?t:this)}removeSort(e,t){e.removeByType(this.cssType,null!=t?t:this)}}class G extends H{constructor(e){super(),this.specificity=256,this.rarity=2,this.dynamic=!1,this.className=e}toString(){return`.${this.className}${B(this.combinator)}`}match(e){var t,n,r;if(!e)return!1;const o=null!==(t=e.classList)&&void 0!==t?t:new Set(((null===(r=null===(n=e.props)||void 0===n?void 0:n.attributes)||void 0===r?void 0:r.class)||"").split(" ").filter(e=>e.trim()));return!(!o.size||!o.has(this.className))}lookupSort(e,t){e.sortByClass(this.className,null!=t?t:this)}removeSort(e,t){e.removeByClass(this.className,null!=t?t:this)}}class q extends H{constructor(e){super(),this.specificity=256,this.rarity=0,this.dynamic=!0,this.cssPseudoClass=e}toString(){return`:${this.cssPseudoClass}${B(this.combinator)}`}match(){return!1}mayMatch(){return!0}trackChanges(e,t){t.addPseudoClass(e,this.cssPseudoClass)}}const J=(e,t)=>{var n,r,o;const i=(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n[t])||(null===(r=null==e?void 0:e.attributes)||void 0===r?void 0:r[t]);return void 0!==i?i:Array.isArray(null==e?void 0:e.styleScopeId)&&(null===(o=null==e?void 0:e.styleScopeId)||void 0===o?void 0:o.includes(t))?t:void 0};class X extends H{constructor(e,t="",n=""){super(),this.attribute="",this.test="",this.value="",this.specificity=256,this.rarity=0,this.dynamic=!0,this.attribute=e,this.test=t,this.value=n,this.match=t?n?r=>{if(!r||!(null==r?void 0:r.attributes)&&!(null==r?void 0:r.props[e]))return!1;const o=""+J(r,e);if("="===t)return o===n;if("^="===t)return o.startsWith(n);if("$="===t)return o.endsWith(n);if("*="===t)return-1!==o.indexOf(n);if("~="===t){const e=o.split(" ");return-1!==(null==e?void 0:e.indexOf(n))}return"|="===t&&(o===n||o.startsWith(n+"-"))}:()=>!1:t=>!(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props))&&!function(e){return null==e}(J(t,e))}toString(){return`[${this.attribute}${B(this.test)}${this.test&&this.value||""}]${B(this.combinator)}`}match(e){return!!e&&!e}mayMatch(){return!0}trackChanges(e,t){t.addAttribute(e,this.attribute)}}class Z extends H{constructor(e){super(),this.specificity=0,this.rarity=4,this.dynamic=!1,this.combinator=void 0,this.error=e}toString(){return``}match(){return!1}lookupSort(){return null}removeSort(){return null}}class Q{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.parentNode),e&&n.trackChanges(e,t)})}}class ee{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.nextSibling),e&&n.trackChanges(e,t)})}}class te extends U{constructor(e){super();const t=[void 0," ",">","+","~"];let n=[],r=[];const o=[],i=[...e],s=i.length-1;this.specificity=0,this.dynamic=!1;for(let e=s;e>=0;e--){const s=i[e];if(-1===t.indexOf(s.combinator))throw console.error(`Unsupported combinator "${s.combinator}".`),new Error(`Unsupported combinator "${s.combinator}".`);void 0!==s.combinator&&" "!==s.combinator||o.push(r=[n=[]]),">"===s.combinator&&r.push(n=[]),this.specificity+=s.specificity,s.dynamic&&(this.dynamic=!0),n.push(s)}this.groups=o.map(e=>new Q(e.map(e=>new ee(e)))),this.last=i[s]}toString(){return this.selectors.join("")}match(e,t){return!!e&&this.groups.every((n,r)=>{if(0===r)return!!(e=n.match(e));let o=$(e,t);for(;o;){if(e=n.match(o))return!0;o=$(o,t)}return!1})}lookupSort(e){this.last.lookupSort(e,this)}removeSort(e){this.last.removeSort(e,this)}accumulateChanges(e,t,n){if(!this.dynamic)return this.match(e,n);const r=[],o=this.groups.every((t,o)=>{if(0===o){const n=t.mayMatch(e);return r.push({left:e,right:e}),!!(e=n)}let i=$(e,n);for(;i;){const o=t.mayMatch(i);if(o)return r.push({left:i,right:null}),e=o,!0;i=$(i,n)}return!1});if(!o)return!1;if(!t)return o;for(let e=0;e(e.ruleSet=this,null)),this.selectors=e,this.declarations=t,this.hash=n}toString(){return`${this.selectors.join(", ")} {${this.declarations.map((e,t)=>`${0===t?" ":""}${e.property}: ${e.value}`).join("; ")}}`}lookupSort(e){this.selectors.forEach(t=>t.lookupSort(e))}removeSort(e){this.selectors.forEach(t=>t.removeSort(e))}}const re=(()=>{try{return!!new RegExp("foo","y")}catch(e){return!1}})(),oe={whiteSpaceRegEx:"\\s*",universalSelectorRegEx:"\\*",simpleIdentifierSelectorRegEx:"(#|\\.|:|\\b)([_-\\w][_-\\w\\d]*)",attributeSelectorRegEx:"\\[\\s*([_-\\w][_-\\w\\d]*)\\s*(?:(=|\\^=|\\$=|\\*=|\\~=|\\|=)\\s*(?:([_-\\w][_-\\w\\d]*)|\"((?:[^\\\\\"]|\\\\(?:\"|n|r|f|\\\\|0-9a-f))*)\"|'((?:[^\\\\']|\\\\(?:'|n|r|f|\\\\|0-9a-f))*)')\\s*)?\\]",combinatorRegEx:"\\s*(\\+|~|>)?\\s*"},ie={};function se(e,t,n){let r="";re&&(r="gy"),ie[e]||(ie[e]=new RegExp(oe[e],r));const o=ie[e];let i;if(re)o.lastIndex=n,i=o.exec(t);else{if(t=t.slice(n,t.length),i=o.exec(t),!i)return{result:null,regexp:o};o.lastIndex=n+i[0].length}return{result:i,regexp:o}}function ce(e,t){var n,r;return null!==(r=null!==(n=function(e,t){const{result:n,regexp:r}=se("universalSelectorRegEx",e,t);return n?{value:{type:"*"},start:t,end:r.lastIndex}:null}(e,t))&&void 0!==n?n:function(e,t){const{result:n,regexp:r}=se("simpleIdentifierSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex;return{value:{type:n[1],identifier:n[2]},start:t,end:o}}(e,t))&&void 0!==r?r:function(e,t){const{result:n,regexp:r}=se("attributeSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex,i=n[1];if(n[2]){return{value:{type:"[]",property:i,test:n[2],value:n[3]||n[4]||n[5]},start:t,end:o}}return{value:{type:"[]",property:i},start:t,end:o}}(e,t)}function ae(e,t){let n=ce(e,t);if(!n)return null;let{end:r}=n;const o=[];for(;n;)o.push(n.value),({end:r}=n),n=ce(e,r);return{start:t,end:r,value:o}}function le(e,t){const{result:n,regexp:r}=se("combinatorRegEx",e,t);if(!n)return null;let o;o=re?r.lastIndex:t;return{start:t,end:o,value:n[1]||" "}}const ue=e=>e;function de(e){return"declaration"===e.type}function pe(e){return t=>e(t)}function fe(e){switch(e.type){case"*":return new W;case"#":return new z(e.identifier);case"":return new K(e.identifier.replace(/-/,"").toLowerCase());case".":return new G(e.identifier);case":":return new q(e.identifier);case"[]":return e.test?new X(e.property,e.test,e.value):new X(e.property);default:return null}}function he(e){return 0===e.length?new Z(new Error("Empty simple selector sequence.")):1===e.length?fe(e[0]):new Y(e.map(fe))}function me(e){try{const t=function(e,t){let n=t;const{result:r,regexp:o}=se("whiteSpaceRegEx",e,t);r&&(n=o.lastIndex);const i=[];let s,c,a=!0,l=[void 0,void 0];return c=re?[e]:e.split(" "),c.forEach(e=>{if(!re){if(""===e)return;n=0}do{const t=ae(e,n);if(!t){if(a)return;break}({end:n}=t),s&&(l[1]=s.value),l=[t.value,void 0],i.push(l),s=le(e,n),s&&({end:n}=s),a=!(!s||" "===s.value)}while(s)}),{start:t,end:n,value:i}}(e,0);return t?function(e){if(0===e.length)return new Z(new Error("Empty selector."));if(1===e.length)return he(e[0][0]);const t=[];for(const n of e){const e=he(n[0]),r=n[1];r&&e&&(e.combinator=r),t.push(e)}return new te(t)}(t.value):new Z(new Error("Empty selector"))}catch(e){return new Z(e)}}let ve;function ge(e){var t;return!e||!(null===(t=null==e?void 0:e.ruleSets)||void 0===t?void 0:t.length)}function ye(t,n){if(t){if(!ge(ve))return ve;const e=function(e=[],t){return e.map(e=>{let n=e[0],r=e[1];return r=r.map(e=>{const[t,n]=e;return{type:"declaration",property:t,value:n}}).map(pe(null!=t?t:ue)),n=n.map(me),new ne(n,r,"")})}(t,n);return ve=new V(e),ve}const r=e[be];if(ge(ve)||r){const t=function(e=[],t){return e.map(e=>{const n=e.declarations.filter(de).map(pe(null!=t?t:ue)),r=e.selectors.map(me);return new ne(r,n,e.hash)})}(r);ve?ve.append(t):ve=new V(t),e[be]=void 0}return e[Oe]&&(e[Oe].forEach(e=>{ve.delete(e)}),e[Oe]=void 0),ve}const be="__HIPPY_VUE_STYLES__",Oe="__HIPPY_VUE_DISPOSE_STYLES__";let _e=Object.create(null);const Ee={$on:(e,t,n)=>(Array.isArray(e)?e.forEach(e=>{Ee.$on(e,t,n)}):(_e[e]||(_e[e]=[]),_e[e].push({fn:t,ctx:n})),Ee),$once(e,t,n){function r(...o){Ee.$off(e,r),t.apply(n,o)}return r._=t,Ee.$on(e,r),Ee},$emit(e,...t){const n=(_e[e]||[]).slice(),r=n.length;for(let e=0;e{Ee.$off(e,t)}),Ee;const n=_e[e];if(!n)return Ee;if(!t)return _e[e]=null,Ee;let r;const o=n.length;for(let e=0;ee;function Pe(){return Ie}let Re=(e,t)=>{};function Le(e,t){const n=new Map;return Array.isArray(e)?e.forEach(([e,t])=>{n.set(e,t),n.set(t,e)}):(n.set(e,t),n.set(t,e)),n}function Me(e){let t=e;return/^assets/.test(t)&&(t="hpfile://./"+t),t}function Fe(e){return"on"+h.capitalize(e)}function De(e){const t={};return e.forEach(e=>{if(Array.isArray(e)){const n=Fe(e[0]),r=Fe(e[1]);Object.prototype.hasOwnProperty.call(this.$attrs,n)&&(this.$attrs[r]||(t[r]=this.$attrs[n]))}}),t}function Ve(e,t){return!(!t||!e)&&e.match(t)}function Be(e){return e.split(" ").filter(e=>e.trim())}var $e;const Ue=["%c[native]%c","color: red","color: auto"],He={},{bridge:{callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze},device:{platform:{OS:Ke,Localization:Ge={}},screen:{scale:qe}},device:Je,document:Xe,register:Ze,asyncStorage:Qe}=null!==($e=e.Hippy)&&void 0!==$e?$e:{device:{platform:{Localization:{}},window:{},screen:{}},bridge:{},register:{},document:{},asyncStorage:{}},et=async(e,t)=>{const n={top:-1,left:-1,bottom:-1,right:-1,width:-1,height:-1};if(!e.isMounted||!e.nodeId)return Promise.resolve(n);const{nodeId:r}=e;return Te(...Ue,"callUIFunction",{nodeId:r,funcName:t,params:[]}),new Promise(e=>Xe.callUIFunction(r,t,[],t=>{if(!t||"object"!=typeof t||void 0===r)return e(n);const{x:o,y:i,height:s,width:c}=t;return e({top:i,left:o,width:c,height:s,bottom:i+s,right:o+c})}))},tt=new Map,nt={Localization:Ge,hippyNativeDocument:Xe,hippyNativeRegister:Ze,Platform:Ke,PixelRatio:qe,ConsoleModule:e.ConsoleModule||e.console,callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze,AsyncStorage:Qe,callUIFunction(...e){const[t,n,...r]=e;if(!(null==t?void 0:t.nodeId))return;const{nodeId:o}=t;let[i=[],s]=r;"function"==typeof i&&(s=i,i=[]),Te(...Ue,"callUIFunction",{nodeId:o,funcName:n,params:i}),Xe.callUIFunction(o,n,i,s)},Clipboard:{getString(){return nt.callNativeWithPromise.call(this,"ClipboardModule","getString")},setString(e){nt.callNative.call(this,"ClipboardModule","setString",e)}},Cookie:{getAll(e){if(!e)throw new TypeError("Native.Cookie.getAll() must have url argument");return nt.callNativeWithPromise.call(this,"network","getCookie",e)},set(e,t,n){if(!e)throw new TypeError("Native.Cookie.set() must have url argument");let r="";n&&(r=n.toUTCString()),nt.callNative.call(this,"network","setCookie",e,t,r)}},ImageLoader:{getSize(e){return nt.callNativeWithPromise.call(this,"ImageLoaderModule","getSize",e)},prefetch(e){nt.callNative.call(this,"ImageLoaderModule","prefetch",e)}},get Dimensions(){const{screen:e}=Je,{statusBarHeight:t}=e;return{window:Je.window,screen:l(l({},e),{},{statusBarHeight:t})}},get Device(){var t;return void 0===He.Device&&(nt.isIOS()?(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Device)?He.Device=e.__HIPPYNATIVEGLOBAL__.Device:He.Device="iPhone":nt.isAndroid()?He.Device="Android device":He.Device="Unknown device"),He.Device},get screenIsVertical(){return nt.Dimensions.window.width"android"===nt.Platform,isIOS:()=>"ios"===nt.Platform,measureInWindow:e=>et(e,"measureInWindow"),measureInAppWindow:e=>nt.isAndroid()?et(e,"measureInWindow"):et(e,"measureInAppWindow"),getBoundingClientRect(e,t){const{nodeId:n}=e;return new Promise((r,o)=>{if(!e.isMounted||!n)return o(new Error(`getBoundingClientRect cannot get nodeId of ${e} or ${e} is not mounted`));Te(...Ue,"UIManagerModule",{nodeId:n,funcName:"getBoundingClientRect",params:t}),Xe.callUIFunction(n,"getBoundingClientRect",[t],e=>{if(!e||e.errMsg)return o(new Error((null==e?void 0:e.errMsg)||"getBoundingClientRect error with no response"));const{x:t,y:n,width:i,height:s}=e;let c=void 0,a=void 0;return"number"==typeof n&&"number"==typeof s&&(c=n+s),"number"==typeof t&&"number"==typeof i&&(a=t+i),r({x:t,y:n,width:i,height:s,bottom:c,right:a,left:t,top:n})})})},NetInfo:{fetch:()=>nt.callNativeWithPromise("NetInfo","getCurrentConnectivity").then(({network_info:e})=>e),addEventListener(e,t){let n=e;return"change"===n&&(n="networkStatusDidChange"),0===tt.size&&nt.callNative("NetInfo","addListener",n),Ee.$on(n,t),tt.set(t,t),{eventName:e,listener:t,remove(){this.eventName&&this.listener&&(nt.NetInfo.removeEventListener(this.eventName,this.listener),this.listener=void 0)}}},removeEventListener(e,t){if(null==t?void 0:t.remove)return void t.remove();let n=e;"change"===e&&(n="networkStatusDidChange"),tt.size<=1&&nt.callNative("NetInfo","removeListener",n);const r=tt.get(t);r&&(Ee.$off(n,r),tt.delete(t),tt.size<1&&nt.callNative("NetInfo","removeListener",n))}},get isIPhoneX(){if(void 0===He.isIPhoneX){let e=!1;nt.isIOS()&&(e=20!==nt.Dimensions.screen.statusBarHeight),He.isIPhoneX=e}return He.isIPhoneX},get OnePixel(){if(void 0===He.OnePixel){const e=nt.PixelRatio;let t=Math.round(.4*e)/e;t||(t=1/e),He.OnePixel=t}return He.OnePixel},get APILevel(){var t,n;return nt.isAndroid()&&(null===(n=null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Platform)||void 0===n?void 0:n.APILevel)?e.__HIPPYNATIVEGLOBAL__.Platform.APILevel:(je(),null)},get OSVersion(){var t;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?e.__HIPPYNATIVEGLOBAL__.OSVersion:null},get SDKVersion(){var t,n;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?null===(n=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===n?void 0:n.SDKVersion:null},parseColor(e){var t;if(Number.isInteger(e))return e;const n=null!==(t=He.COLOR_PARSER)&&void 0!==t?t:He.COLOR_PARSER=Object.create(null);return n[e]||(n[e]=x(e)),n[e]},getElemCss(e){const t=Object.create(null);try{ye(void 0,Pe()).query(e).selectors.forEach(n=>{Ve(n,e)&&n.ruleSet.declarations.forEach(e=>{t[e.property]=e.value})})}catch(e){je()}return t},version:"unspecified"},rt=new Set;let ot=!1;const it={exitApp(){nt.callNative("DeviceEventModule","invokeDefaultBackPressHandler")},addListener:e=>(ot||(ot=!0,it.initEventListener()),nt.callNative("DeviceEventModule","setListenBackPress",!0),rt.add(e),{remove(){it.removeListener(e)}}),removeListener(e){rt.delete(e),0===rt.size&&nt.callNative("DeviceEventModule","setListenBackPress",!1)},initEventListener(){Ee.$on("hardwareBackPress",()=>{let e=!0;Array.from(rt).reverse().forEach(t=>{"function"==typeof t&&t()&&(e=!1)}),e&&it.exitApp()})}},st={exitApp(){},addListener:()=>({remove(){}}),removeListener(){},initEventListener(){}},ct=nt.isAndroid()?it:st,at=new Map;function lt(e,t){if(!e)throw new Error("tagName can not be empty");const n=ke(e);at.has(n)||at.set(n,t.component)}function ut(e){const t=ke(e),n=h.camelize(e).toLowerCase();return at.get(t)||at.get(n)}const dt=new Map,pt={number:"numeric",text:"default",search:"web-search"},ft={role:"accessibilityRole","aria-label":"accessibilityLabel","aria-disabled":{jointKey:"accessibilityState",name:"disabled"},"aria-selected":{jointKey:"accessibilityState",name:"selected"},"aria-checked":{jointKey:"accessibilityState",name:"checked"},"aria-busy":{jointKey:"accessibilityState",name:"busy"},"aria-expanded":{jointKey:"accessibilityState",name:"expanded"},"aria-valuemin":{jointKey:"accessibilityValue",name:"min"},"aria-valuemax":{jointKey:"accessibilityValue",name:"max"},"aria-valuenow":{jointKey:"accessibilityValue",name:"now"},"aria-valuetext":{jointKey:"accessibilityValue",name:"text"}},ht={component:{name:we.View,eventNamesMap:Le([["touchStart","onTouchDown"],["touchstart","onTouchDown"],["touchmove","onTouchMove"],["touchend","onTouchEnd"],["touchcancel","onTouchCancel"]]),attributeMaps:l({},ft),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y,(null==t?void 0:t.contentSize)&&(o.scrollHeight=t.contentSize.height,o.scrollWidth=t.contentSize.width);break;case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":o.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":o.isFocused=t.focus}return o}}},mt={component:{name:we.View,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData}},vt={component:{name:we.View}},gt={component:{name:we.Image,eventNamesMap:ht.component.eventNamesMap,processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":n.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":n.isFocused=t.focus;break;case"onLoad":{const{width:e,height:r,url:o}=t;n.width=e,n.height=r,n.url=o;break}}return n},defaultNativeStyle:{backgroundColor:0},attributeMaps:l({placeholder:{name:"defaultSource",propsValue(e){const t=Me(e);return(null==t?void 0:t.indexOf(Se))<0&&["https://","http://"].some(e=>0===t.indexOf(e))&&je(),t}},src:e=>Me(e)},ft)}},yt={component:{name:we.ListView,defaultNativeStyle:{flex:1},attributeMaps:l({},ft),eventNamesMap:Le("listReady","initialListReady"),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y;break;case"onDelete":o.index=t.index}return o}}},bt={component:{name:we.ListViewItem,attributeMaps:l({},ft),eventNamesMap:Le([["disappear","onDisappear"]])}},Ot={component:{name:we.Text,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData,defaultNativeProps:{text:""},defaultNativeStyle:{color:4278190080}}},_t=Ot,Et=Ot,St={component:l(l({},Ot.component),{},{defaultNativeStyle:{color:4278190318},attributeMaps:{href:{name:"href",propsValue:e=>["//","http://","https://"].filter(t=>0===e.indexOf(t)).length?(je(),""):e}}})},wt={component:{name:we.TextInput,attributeMaps:l({type:{name:"keyboardType",propsValue(e){const t=pt[e];return t||e}},disabled:{name:"editable",propsValue:e=>!e},value:"defaultValue",maxlength:"maxLength"},ft),nativeProps:{numberOfLines:1,multiline:!1},defaultNativeProps:{underlineColorAndroid:0},defaultNativeStyle:{padding:0,color:4278190080},eventNamesMap:Le([["change","onChangeText"],["select","onSelectionChange"]]),processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onChangeText":case"onEndEditing":n.value=t.text;break;case"onSelectionChange":n.start=t.selection.start,n.end=t.selection.end;break;case"onKeyboardWillShow":n.keyboardHeight=t.keyboardHeight;break;case"onContentSizeChange":n.width=t.contentSize.width,n.height=t.contentSize.height}return n}}},Nt={component:{name:we.TextInput,defaultNativeProps:l(l({},wt.component.defaultNativeProps),{},{numberOfLines:5}),attributeMaps:l(l({},wt.component.attributeMaps),{},{rows:"numberOfLines"}),nativeProps:{multiline:!0},defaultNativeStyle:wt.component.defaultNativeStyle,eventNamesMap:wt.component.eventNamesMap,processEventData:wt.component.processEventData}},xt={component:{name:we.WebView,defaultNativeProps:{method:"get",userAgent:""},attributeMaps:{src:{name:"source",propsValue:e=>({uri:e})}},processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onLoad":case"onLoadStart":n.url=t.url;break;case"onLoadEnd":n.url=t.url,n.success=t.success,n.error=t.error}return n}}};dt.set("div",ht),dt.set("button",mt),dt.set("form",vt),dt.set("img",gt),dt.set("ul",yt),dt.set("li",bt),dt.set("span",Ot),dt.set("label",_t),dt.set("p",Et),dt.set("a",St),dt.set("input",wt),dt.set("textarea",Nt),dt.set("iframe",xt);var Tt={install(){dt.forEach((e,t)=>{lt(t,e)})}};function jt(){const{Localization:e}=nt;return!!e&&1===e.direction}const kt=0,Ct=1,At={onClick:"click",onLongClick:"longclick",onPressIn:"pressin",onPressOut:"pressout",onTouchDown:"touchstart",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchMove:"touchmove",onTouchCancel:"touchcancel"},It={NONE:0,CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};const Pt="addEventListener",Rt="removeEventListener";let Lt;function Mt(){return Lt}function Ft(e,t){Lt[e]=t}class Dt{constructor(e){this.target=null,this.currentTarget=null,this.originalTarget=null,this.bubbles=!0,this.cancelable=!0,this.eventPhase=0,this.isCanceled=!1,this.type=e,this.timeStamp=Date.now()}get canceled(){return this.isCanceled}stopPropagation(){this.bubbles=!1}preventDefault(){if(this.cancelable){if(this.isCanceled)return;this.isCanceled=!0}}}class Vt extends Dt{}function Bt(e){return"string"==typeof e.value}const $t=new Map;function Ut(e,t){$t.set(t,e)}function Ht(e){$t.delete(e)}function Yt(e){return $t.get(e)||null}function Wt(t){var n,r;n=e=>{(e.timeRemaining()>0||e.didTimeout)&&function e(t){var n;"number"==typeof t?Ht(t):t&&(Ht(t.nodeId),null===(n=t.childNodes)||void 0===n||n.forEach(t=>e(t)))}(t)},r={timeout:50},e.requestIdleCallback?e.requestIdleCallback(n,r):setTimeout(()=>{n({didTimeout:!1,timeRemaining:()=>1/0})},1)}function zt(e=[],t=0){let n=e[t];for(let r=t;r-1){let e;if("onLayout"===o){e=new Vt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{layout:{x:t,y:n,height:r,width:o}}=s;e.top=n,e.left=t,e.bottom=n+r,e.right=t+o,e.width=o,e.height=r}else{e=new Dt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{processEventData:t}=l.component;t&&t({__evt:o,handler:e},s)}a.dispatchEvent(function(e,t,n){return function(e){return["onTouchDown","onTouchMove","onTouchEnd","onTouchCancel"].indexOf(e)>=0}(e)&&Object.assign(t,{touches:{0:{clientX:n.page_x,clientY:n.page_y},length:1}}),t}(o,e,s),l,t)}}catch(e){console.error("receiveComponentEvent error",e)}else je(...Gt,"receiveComponentEvent","currentTargetNode or targetNode not exist")}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=qt);class Jt{constructor(){this.listeners={}}static indexOfListener(e,t,n){return e.findIndex(e=>n?e.callback===t&&h.looseEqual(e.options,n):e.callback===t)}addEventListener(e,t,n){const r=e.split(","),o=r.length;for(let e=0;e=0&&e.splice(r,1),e.length||(this.listeners[o]=void 0)}}}else this.listeners[o]=void 0}}emitEvent(e){var t,n;const{type:r}=e,o=this.listeners[r];if(o)for(let r=o.length-1;r>=0;r-=1){const i=o[r];(null===(t=i.options)||void 0===t?void 0:t.once)&&o.splice(r,1),(null===(n=i.options)||void 0===n?void 0:n.thisArg)?i.callback.apply(i.options.thisArg,[e]):i.callback(e)}}getEventListenerList(){return this.listeners}}var Xt;!function(e){e[e.CREATE=0]="CREATE",e[e.UPDATE=1]="UPDATE",e[e.DELETE=2]="DELETE",e[e.MOVE=3]="MOVE"}(Xt||(Xt={}));let Zt=!1,Qt=[];function en(e=[],t){e.forEach(e=>{if(e){const{id:n,eventList:r}=e;r.forEach(e=>{const{name:r,type:o,listener:i}=e;let s;s=function(e){return!!At[e]}(r)?At[r]:function(e){return e.replace(/^(on)?/g,"").toLocaleLowerCase()}(r),o===Ct&&t.removeEventListener(n,s,i),o===kt&&(t.removeEventListener(n,s,i),t.addEventListener(n,s,i))})}})}function tn(e,t){0}function nn(){Zt||(Zt=!0,0!==Qt.length?m.nextTick().then(()=>{const t=function(e){const t=[];for(const n of e){const{type:e,nodes:r,eventNodes:o,printedNodes:i}=n,s=t[t.length-1];s&&s.type===e?(s.nodes=s.nodes.concat(r),s.eventNodes=s.eventNodes.concat(o),s.printedNodes=s.printedNodes.concat(i)):t.push({type:e,nodes:r,eventNodes:o,printedNodes:i})}return t}(Qt),{rootViewId:n}=Mt(),r=new e.Hippy.SceneBuilder(n);t.forEach(e=>{switch(e.type){case Xt.CREATE:tn(e.printedNodes),r.create(e.nodes),en(e.eventNodes,r);break;case Xt.UPDATE:tn(e.printedNodes),r.update(e.nodes),en(e.eventNodes,r);break;case Xt.DELETE:tn(e.printedNodes),r.delete(e.nodes);break;case Xt.MOVE:tn(e.printedNodes),r.move(e.nodes)}}),r.build(),Zt=!1,Qt=[]}):Zt=!1)}var rn;!function(e){e[e.ElementNode=1]="ElementNode",e[e.TextNode=3]="TextNode",e[e.CommentNode=8]="CommentNode",e[e.DocumentNode=4]="DocumentNode"}(rn||(rn={}));class on extends Jt{constructor(e,t){var n;super(),this.isMounted=!1,this.events={},this.childNodes=[],this.parentNode=null,this.prevSibling=null,this.nextSibling=null,this.tagComponent=null,this.nodeId=null!==(n=null==t?void 0:t.id)&&void 0!==n?n:on.getUniqueNodeId(),this.nodeType=e,this.isNeedInsertToNative=function(e){return e===rn.ElementNode}(e),(null==t?void 0:t.id)&&(this.isMounted=!0)}static getUniqueNodeId(){return e.hippyUniqueId||(e.hippyUniqueId=0),e.hippyUniqueId+=1,e.hippyUniqueId%10==0&&(e.hippyUniqueId+=1),e.hippyUniqueId}get firstChild(){return this.childNodes.length?this.childNodes[0]:null}get lastChild(){const e=this.childNodes.length;return e?this.childNodes[e-1]:null}get component(){return this.tagComponent}get index(){let e=0;if(this.parentNode){e=this.parentNode.childNodes.filter(e=>e.isNeedInsertToNative).indexOf(this)}return e}isRootNode(){return 1===this.nodeId}hasChildNodes(){return!!this.childNodes.length}insertBefore(e,t){const n=e,r=t;if(!n)throw new Error("No child to insert");if(!r)return void this.appendChild(n);if(n.parentNode&&n.parentNode!==this)throw new Error("Can not insert child, because the child node is already has a different parent");let o=this;r.parentNode!==this&&(o=r.parentNode);const i=o.childNodes.indexOf(r);let s=r;r.isNeedInsertToNative||(s=zt(this.childNodes,i)),n.parentNode=o,n.nextSibling=r,n.prevSibling=o.childNodes[i-1],o.childNodes[i-1]&&(o.childNodes[i-1].nextSibling=n),r.prevSibling=n,o.childNodes.splice(i,0,n),s.isNeedInsertToNative?this.insertChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}moveChild(e,t){const n=e,r=t;if(!n)throw new Error("No child to move");if(!r)return void this.appendChild(n);if(r.parentNode&&r.parentNode!==this)throw new Error("Can not move child, because the anchor node is already has a different parent");if(n.parentNode&&n.parentNode!==this)throw new Error("Can't move child, because it already has a different parent");const o=this.childNodes.indexOf(n),i=this.childNodes.indexOf(r);let s=r;if(r.isNeedInsertToNative||(s=zt(this.childNodes,i)),i===o)return;n.nextSibling=r,n.prevSibling=r.prevSibling,r.prevSibling=n,this.childNodes[i-1]&&(this.childNodes[i-1].nextSibling=n),this.childNodes[i+1]&&(this.childNodes[i+1].prevSibling=n),this.childNodes[o-1]&&(this.childNodes[o-1].nextSibling=this.childNodes[o+1]),this.childNodes[o+1]&&(this.childNodes[o+1].prevSibling=this.childNodes[o-1]),this.childNodes.splice(o,1);const c=this.childNodes.indexOf(r);this.childNodes.splice(c,0,n),s.isNeedInsertToNative?this.moveChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}appendChild(e,t=!1){const n=e;if(!n)throw new Error("No child to append");this.lastChild!==n&&(n.parentNode&&n.parentNode!==this&&n.parentNode.removeChild(n),n.isMounted&&!t&&this.removeChild(n),n.parentNode=this,this.lastChild&&(n.prevSibling=this.lastChild,this.lastChild.nextSibling=n),this.childNodes.push(n),t?Ut(n,n.nodeId):this.insertChildNativeNode(n))}removeChild(e){const t=e;if(!t)throw new Error("Can't remove child.");if(!t.parentNode)throw new Error("Can't remove child, because it has no parent.");if(t.parentNode!==this)return void t.parentNode.removeChild(t);if(!t.isNeedInsertToNative)return;t.prevSibling&&(t.prevSibling.nextSibling=t.nextSibling),t.nextSibling&&(t.nextSibling.prevSibling=t.prevSibling),t.prevSibling=null,t.nextSibling=null;const n=this.childNodes.indexOf(t);this.childNodes.splice(n,1),this.removeChildNativeNode(t)}findChild(e){if(e(this))return this;if(this.childNodes.length)for(const t of this.childNodes){const n=this.findChild.call(t,e);if(n)return n}return null}eachNode(e){e&&e(this),this.childNodes.length&&this.childNodes.forEach(t=>{this.eachNode.call(t,e)})}insertChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;const n=this.isRootNode()&&!this.isMounted,r=this.isMounted&&!e.isMounted;if(n||r){const r=n?this:e;!function([e,t,n]){Qt.push({type:Xt.CREATE,nodes:e,eventNodes:t,printedNodes:n}),nn()}(r.convertToNativeNodes(!0,t)),r.eachNode(e=>{const t=e;!t.isMounted&&t.isNeedInsertToNative&&(t.isMounted=!0),Ut(t,t.nodeId)})}}moveChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;if(t&&t.refId===e.nodeId)return;!function([e,,t]){e&&(Qt.push({type:Xt.MOVE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(e.convertToNativeNodes(!1,t))}removeChildNativeNode(e){if(!e||!e.isNeedInsertToNative)return;const t=e;t.isMounted&&(t.isMounted=!1,function([e,,t]){e&&(Qt.push({type:Xt.DELETE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(t.convertToNativeNodes(!1,{})))}updateNativeNode(e=!1){if(!this.isMounted)return;!function([e,t,n]){e&&(Qt.push({type:Xt.UPDATE,nodes:e,eventNodes:t,printedNodes:n}),nn())}(this.convertToNativeNodes(e,{}))}convertToNativeNodes(e,t={},n){var r,o;if(!this.isNeedInsertToNative)return[[],[],[]];if(e){const e=[],n=[],r=[];return this.eachNode(o=>{const[i,s,c]=o.convertToNativeNodes(!1,t);Array.isArray(i)&&i.length&&e.push(...i),Array.isArray(s)&&s.length&&n.push(...s),Array.isArray(c)&&c.length&&r.push(...c)}),[e,n,r]}if(!this.component)throw new Error("tagName is not supported yet");const{rootViewId:i}=Mt(),s=null!=n?n:{},c=l({id:this.nodeId,pId:null!==(o=null===(r=this.parentNode)||void 0===r?void 0:r.nodeId)&&void 0!==o?o:i},s),a=function(e){let t;const n=e.events;if(n){const r=[];Object.keys(n).forEach(e=>{const{name:t,type:o,isCapture:i,listener:s}=n[e];r.push({name:t,type:o,isCapture:i,listener:s})}),t={id:e.nodeId,eventList:r}}return t}(this);let u=void 0;return[[[c,t]],[a],[u]]}}class sn extends on{constructor(e,t){super(rn.TextNode,t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}setText(e){this.text=e,this.parentNode&&this.parentNode.nodeType===rn.ElementNode&&this.parentNode.setText(e)}}function cn(e,t){if("string"!=typeof e)return;const n=e.split(",");for(let e=0,r=n.length;e{t[n]=function(e){let t=e;if("string"!=typeof t||!t.endsWith("rem"))return t;if(t=parseFloat(t),Number.isNaN(t))return e;const{ratioBaseWidth:n}=Mt(),{width:r}=nt.Dimensions.screen;return 100*t*(r/n)}(e[n])}):t=e,t}get component(){return this.tagComponent||(this.tagComponent=ut(this.tagName)),this.tagComponent}isRootNode(){const{rootContainer:e}=Mt();return super.isRootNode()||this.id===e}appendChild(e,t=!1){e instanceof sn&&this.setText(e.text,{notToNative:!0}),super.appendChild(e,t)}insertBefore(e,t){e instanceof sn&&this.setText(e.text,{notToNative:!0}),super.insertBefore(e,t)}moveChild(e,t){e instanceof sn&&this.setText(e.text,{notToNative:!0}),super.moveChild(e,t)}removeChild(e){e instanceof sn&&this.setText("",{notToNative:!0}),super.removeChild(e)}hasAttribute(e){return!!this.attributes[e]}getAttribute(e){return this.attributes[e]}removeAttribute(e){delete this.attributes[e]}setAttribute(e,t,n={}){let r=t,o=e;try{if("boolean"==typeof this.attributes[o]&&""===r&&(r=!0),void 0===o)return void(!n.notToNative&&this.updateNativeNode());switch(o){case"class":{const e=new Set(Be(r));if(function(e,t){if(e.size!==t.size)return!1;const n=e.values();let r=n.next().value;for(;r;){if(!t.has(r))return!1;r=n.next().value}return!0}(this.classList,e))return;return this.classList=e,void(!n.notToNative&&this.updateNativeNode(!0))}case"id":if(r===this.id)return;return this.id=r,void(!n.notToNative&&this.updateNativeNode(!0));case"text":case"value":case"defaultValue":case"placeholder":if("string"!=typeof r)try{r=r.toString()}catch(e){je(e.message)}n&&n.textUpdate||(r="string"!=typeof(i=r)?i:void 0===xe||xe?i.trim():i),r=r.replace(/\\u[\dA-F]{4}|\\x[\dA-F]{2}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u|\\x/g,""),16)));break;case"numberOfRows":if(!nt.isIOS())return;break;case"caretColor":case"caret-color":o="caret-color",r=nt.parseColor(r);break;case"break-strategy":o="breakStrategy";break;case"placeholderTextColor":case"placeholder-text-color":o="placeholderTextColor",r=nt.parseColor(r);break;case"underlineColorAndroid":case"underline-color-android":o="underlineColorAndroid",r=nt.parseColor(r);break;case"nativeBackgroundAndroid":{const e=r;void 0!==e.color&&(e.color=nt.parseColor(e.color)),o="nativeBackgroundAndroid",r=e;break}}if(this.attributes[o]===r)return;this.attributes[o]=r,"function"==typeof this.filterAttribute&&this.filterAttribute(this.attributes),!n.notToNative&&this.updateNativeNode()}catch(e){0}var i}setText(e,t={}){return this.setAttribute("text",e,{notToNative:!!t.notToNative})}removeStyle(e=!1){this.style={},e||this.updateNativeNode()}setStyles(e){e&&"object"==typeof e&&(Object.keys(e).forEach(t=>{const n=e[t];this.setStyle(t,n,!0)}),this.updateNativeNode())}setStyle(e,t,n=!1){if(void 0===t)return delete this.style[e],void(n||this.updateNativeNode());let{property:r,value:o}=this.beforeLoadStyle({property:e,value:t});switch(r){case"fontWeight":"string"!=typeof o&&(o=o.toString());break;case"backgroundImage":[r,o]=F(r,o);break;case"textShadowOffsetX":case"textShadowOffsetY":[r,o]=function(e,t=0,n){var r;const o=n;return o.textShadowOffset=null!==(r=o.textShadowOffset)&&void 0!==r?r:{},Object.assign(o.textShadowOffset,{[{textShadowOffsetX:"width",textShadowOffsetY:"height"}[e]]:t}),["textShadowOffset",o.textShadowOffset]}(r,o,this.style);break;case"textShadowOffset":{const{x:e=0,width:t=0,y:n=0,height:r=0}=null!=o?o:{};o={width:e||t,height:n||r};break}default:Object.prototype.hasOwnProperty.call(T,r)&&(r=T[r]),"string"==typeof o&&(o=o.trim(),o=r.toLowerCase().indexOf("color")>=0?nt.parseColor(o):o.endsWith("px")?parseFloat(o.slice(0,o.length-2)):function(e){if("number"==typeof e)return e;if(Ae.test(e))try{return parseFloat(e)}catch(e){}return e}(o))}null!=o&&this.style[r]!==o&&(this.style[r]=o,n||this.updateNativeNode())}scrollToPosition(e=0,t=0,n=1e3){if("number"!=typeof e||"number"!=typeof t)return;let r=n;!1===r&&(r=0),nt.callUIFunction(this,"scrollToWithOptions",[{x:e,y:t,duration:r}])}scrollTo(e,t,n){if("object"==typeof e&&e){const{left:t,top:n,behavior:r="auto",duration:o}=e;this.scrollToPosition(t,n,"none"===r?0:o)}else this.scrollToPosition(e,t,n)}setListenerHandledType(e,t){this.events[e]&&(this.events[e].handledType=t)}isListenerHandled(e,t){return!this.events[e]||t===this.events[e].handledType}getNativeEventName(e){let t="on"+Ce(e);if(this.component){const{eventNamesMap:n}=this.component;(null==n?void 0:n.get(e))&&(t=n.get(e))}return t}addEventListener(e,t,n){let r=e,o=t,i=n,s=!0;"scroll"!==r||this.getAttribute("scrollEventThrottle")>0||(this.attributes.scrollEventThrottle=200);const c=this.getNativeEventName(r);this.attributes[c]&&(s=!1),"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Pt,r,o,i)),super.addEventListener(r,o,i),cn(r,e=>{const t=this.getNativeEventName(e);var n,r;this.events[t]?this.events[t]&&this.events[t].type!==kt&&(this.events[t].type=kt):this.events[t]={name:t,type:kt,listener:(n=t,r=e,e=>{const{id:t,currentId:o,params:i,eventPhase:s}=e,c={id:t,nativeName:n,originalName:r,currentId:o,params:i,eventPhase:s};qt.receiveComponentEvent(c,e)}),isCapture:!1}}),s&&this.updateNativeNode()}removeEventListener(e,t,n){let r=e,o=t,i=n;"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Rt,r,o,i)),super.removeEventListener(r,o,i),cn(r,e=>{const t=this.getNativeEventName(e);this.events[t]&&(this.events[t].type=Ct)});const s=this.getNativeEventName(r);this.attributes[s]&&delete this.attributes[s],this.updateNativeNode()}dispatchEvent(e,t,n){const r=e;r.currentTarget=this,r.target||(r.target=t||this,Bt(r)&&(r.target.value=r.value)),this.emitEvent(r),!r.bubbles&&n&&n.stopPropagation()}convertToNativeNodes(e,t={}){if(!this.isNeedInsertToNative)return[[],[],[]];if(e)return super.convertToNativeNodes(!0,t);let n=this.getNativeStyles();if(Re(this,n),this.component.defaultNativeStyle){const{defaultNativeStyle:e}=this.component,t={};Object.keys(e).forEach(n=>{this.getAttribute(n)||(t[n]=e[n])}),n=l(l({},t),n)}const r={name:this.component.name,props:l(l({},this.getNativeProps()),{},{style:n}),tagName:this.tagName};return function(e,t){const n=t;e.component.name===we.TextInput&&jt()&&(n.textAlign||(n.textAlign="right"))}(this,n),function(e,t,n){const r=t,o=n;e.component.name===we.View&&("scroll"===o.overflowX&&"scroll"===o.overflowY&&je(),"scroll"===o.overflowY?r.name="ScrollView":"scroll"===o.overflowX&&(r.name="ScrollView",r.props&&(r.props.horizontal=!0),o.flexDirection=jt()?"row-reverse":"row"),"ScrollView"===r.name&&(1!==e.childNodes.length&&je(),e.childNodes.length&&e.nodeType===rn.ElementNode&&e.childNodes[0].setStyle("collapsable",!1)),o.backgroundImage&&(o.backgroundImage=Me(o.backgroundImage)))}(this,r,n),super.convertToNativeNodes(!1,t,r)}repaintWithChildren(){this.updateNativeNode(!0)}setNativeProps(e){if(e){const{style:t}=e;this.setStyles(t)}}setPressed(e){nt.callUIFunction(this,"setPressed",[e])}setHotspot(e,t){nt.callUIFunction(this,"setHotspot",[e,t])}setStyleScope(e){const t="string"!=typeof e?e.toString():e;t&&!this.scopedIdList.includes(t)&&this.scopedIdList.push(t)}get styleScopeId(){return this.scopedIdList}getInlineStyle(){const e={};return Object.keys(this.style).forEach(t=>{const n=m.toRaw(this.style[t]);void 0!==n&&(e[t]=n)}),e}getNativeStyles(){let e={};return ye(void 0,Pe()).query(this).selectors.forEach(t=>{var n,r;Ve(t,this)&&(null===(r=null===(n=t.ruleSet)||void 0===n?void 0:n.declarations)||void 0===r?void 0:r.length)&&t.ruleSet.declarations.forEach(t=>{t.property&&(e[t.property]=t.value)})}),this.ssrInlineStyle&&(e=l(l({},e),this.ssrInlineStyle)),e=an.parseRem(l(l({},e),this.getInlineStyle())),e}getNativeProps(){const e={},{defaultNativeProps:t}=this.component;t&&Object.keys(t).forEach(n=>{if(void 0===this.getAttribute(n)){const r=t[n];e[n]=h.isFunction(r)?r(this):m.toRaw(r)}}),Object.keys(this.attributes).forEach(t=>{var n;let r=m.toRaw(this.getAttribute(t));if(!this.component.attributeMaps||!this.component.attributeMaps[t])return void(e[t]=m.toRaw(r));const o=this.component.attributeMaps[t];if(h.isString(o))return void(e[o]=m.toRaw(r));if(h.isFunction(o))return void(e[t]=m.toRaw(o(r)));const{name:i,propsValue:s,jointKey:c}=o;h.isFunction(s)&&(r=s(r)),c?(e[c]=null!==(n=e[c])&&void 0!==n?n:{},Object.assign(e[c],{[i]:m.toRaw(r)})):e[i]=m.toRaw(r)});const{nativeProps:n}=this.component;return n&&Object.keys(n).forEach(t=>{e[t]=m.toRaw(n[t])}),e}getNodeAttributes(){var e;try{const t=function e(t,n=new WeakMap){if("object"!=typeof t||null===t)throw new TypeError("deepCopy data is object");if(n.has(t))return n.get(t);const r={};return Object.keys(t).forEach(o=>{const i=t[o];"object"!=typeof i||null===i?r[o]=i:Array.isArray(i)?r[o]=[...i]:i instanceof Set?r[o]=new Set([...i]):i instanceof Map?r[o]=new Map([...i]):(n.set(t,t),r[o]=e(i,n))}),r}(this.attributes),n=Array.from(null!==(e=this.classList)&&void 0!==e?e:[]).join(" "),r=l({id:this.id,hippyNodeId:""+this.nodeId,class:n},t);return delete r.text,delete r.value,Object.keys(r).forEach(e=>{e.toLowerCase().includes("color")&&delete r[e]}),r}catch(e){return{}}}getNativeEvents(){const e={},t=this.getEventListenerList(),n=Object.keys(t);if(n.length){const{eventNamesMap:r}=this.component;n.forEach(n=>{const o=null==r?void 0:r.get(n);if(o)e[o]=!!t[n];else{const r="on"+Ce(n);e[r]=!!t[n]}})}return e}hackSpecialIssue(){this.fixVShowDirectiveIssue()}fixVShowDirectiveIssue(){var e;let t=null!==(e=this.style.display)&&void 0!==e?e:void 0;Object.defineProperty(this.style,"display",{enumerable:!0,configurable:!0,get:()=>t,set:e=>{t=void 0===e?"flex":e,this.updateNativeNode()}})}}function ln(t){const n={valueType:void 0,delay:0,startValue:0,toValue:0,duration:0,direction:"center",timingFunction:"linear",repeatCount:0,inputRange:[],outputRange:[]};function r(e,t){return"color"===e&&["number","string"].indexOf(typeof t)>=0?nt.parseColor(t):t}function a(e){return"loop"===e?-1:e}function u(t){const{mode:i="timing",valueType:s,startValue:u,toValue:d}=t,p=c(t,o),f=l(l({},n),p);void 0!==s&&(f.valueType=t.valueType),f.startValue=r(f.valueType,u),f.toValue=r(f.valueType,d),f.repeatCount=a(f.repeatCount),f.mode=i;const h=new e.Hippy.Animation(f),m=h.getId();return{animation:h,animationId:m}}function d(t,n={}){const r={};return Object.keys(t).forEach(o=>{if(Array.isArray(t[o])){const i=t[o],{repeatCount:s}=i[i.length-1],c=i.map(e=>{const{animationId:t,animation:r}=u(l(l({},e),{},{repeatCount:0}));return Object.assign(n,{[t]:r}),{animationId:t,follow:!0}}),{animationId:d,animation:p}=function(t,n=0){const r=new e.Hippy.AnimationSet({children:t,repeatCount:n}),o=r.getId();return{animation:r,animationId:o}}(c,a(s));r[o]={animationId:d},Object.assign(n,{[d]:p})}else{const e=t[o],{animationId:i,animation:s}=u(e);Object.assign(n,{[i]:s}),r[o]={animationId:i}}}),r}function p(e){const{transform:t}=e,n=c(e,i);let r=Object.keys(n).map(t=>e[t].animationId);if(Array.isArray(t)&&t.length>0){const e=[];t.forEach(t=>Object.keys(t).forEach(n=>{if(t[n]){const{animationId:r}=t[n];"number"==typeof r&&r%1==0&&e.push(r)}})),r=[...r,...e]}return r}t.component("Animation",{props:{tag:{type:String,default:"div"},playing:{type:Boolean,default:!1},actions:{type:Object,required:!0},props:Object},data:()=>({style:{},animationIds:[],animationIdsMap:{},animationEventMap:{}}),watch:{playing(e,t){!t&&e?this.start():t&&!e&&this.pause()},actions(){this.destroy(),this.create(),setTimeout(()=>{const e=this.$attrs[Fe("actionsDidUpdate")];"function"==typeof e&&e()})}},created(){this.animationEventMap={start:"animationstart",end:"animationend",repeat:"animationrepeat",cancel:"animationcancel"}},beforeMount(){this.create()},mounted(){const{playing:e}=this.$props;e&&setTimeout(()=>{this.start()},0)},beforeDestroy(){this.destroy()},deactivated(){this.pause()},activated(){this.resume()},methods:{create(){const e=this.$props,{actions:{transform:t}}=e,n=c(e.actions,s);this.animationIdsMap={};const r=d(n,this.animationIdsMap);if(t){const e=d(t,this.animationIdsMap);r.transform=Object.keys(e).map(t=>({[t]:e[t]}))}this.$alreadyStarted=!1,this.style=r},removeAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&"function"==typeof this[""+n]&&t.removeEventListener(n)})})},addAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&t.addEventListener(n,()=>{this.$emit(e)})})})},reset(){this.$alreadyStarted=!1},start(){this.$alreadyStarted?this.resume():(this.animationIds=p(this.style),this.$alreadyStarted=!0,this.removeAnimationEvent(),this.addAnimationEvent(),this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.start()}))},resume(){p(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.resume()})},pause(){if(!this.$alreadyStarted)return;p(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.pause()})},destroy(){this.removeAnimationEvent(),this.$alreadyStarted=!1;p(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.destroy()})}},render(){return m.h(this.tag,l({useAnimation:!0,style:this.style,tag:this.$props.tag},this.$props.props),this.$slots.default?this.$slots.default():null)}})}const un=["dialog","hi-pull-header","hi-pull-footer","hi-swiper","hi-swiper-slider","hi-waterfall","hi-waterfall-item","hi-ul-refresh-wrapper","hi-refresh-wrapper-item"];var dn={install(e){ln(e),lt("dialog",{component:{name:"Modal",defaultNativeProps:{transparent:!0,immersionStatusBar:!0,collapsable:!1,autoHideStatusBar:!1,autoHideNavigationBar:!1},defaultNativeStyle:{position:"absolute"}}}),function(e){const{callUIFunction:t}=nt;[["Header","header"],["Footer","footer"]].forEach(([n,r])=>{lt("hi-pull-"+r,{component:{name:`Pull${n}View`,processEventData(e,t){const{handler:r,__evt:o}=e;switch(o){case`on${n}Released`:case`on${n}Pulling`:Object.assign(r,t)}return r}}}),e.component("pull-"+r,{methods:{["expandPull"+n](){t(this.$refs.instance,"expandPull"+n)},["collapsePull"+n](e){"Header"===n&&void 0!==e?t(this.$refs.instance,`collapsePull${n}WithOptions`,[e]):t(this.$refs.instance,"collapsePull"+n)},onLayout(e){this.$contentHeight=e.height},[`on${n}Released`](e){this.$emit("released",e)},[`on${n}Pulling`](e){e.contentOffset>this.$contentHeight?"pulling"!==this.$lastEvent&&(this.$lastEvent="pulling",this.$emit("pulling",e)):"idle"!==this.$lastEvent&&(this.$lastEvent="idle",this.$emit("idle",e))}},render(){const{onReleased:e,onPulling:t,onIdle:o}=this.$attrs,i={onLayout:this.onLayout};return"function"==typeof e&&(i[`on${n}Released`]=this[`on${n}Released`]),"function"!=typeof t&&"function"!=typeof o||(i[`on${n}Pulling`]=this[`on${n}Pulling`]),m.h("hi-pull-"+r,l(l({},i),{},{ref:"instance"}),this.$slots.default?this.$slots.default():null)}})})}(e),function(e){lt("hi-ul-refresh-wrapper",{component:{name:"RefreshWrapper"}}),lt("hi-refresh-wrapper-item",{component:{name:"RefreshWrapperItemView"}}),e.component("UlRefreshWrapper",{props:{bounceTime:{type:Number,defaultValue:100}},methods:{startRefresh(){nt.callUIFunction(this.$refs.refreshWrapper,"startRefresh",null)},refreshCompleted(){nt.callUIFunction(this.$refs.refreshWrapper,"refreshComplected",null)}},render(){return m.h("hi-ul-refresh-wrapper",{ref:"refreshWrapper"},this.$slots.default?this.$slots.default():null)}}),e.component("UlRefresh",{render(){const e=m.h("div",null,this.$slots.default?this.$slots.default():null);return m.h("hi-refresh-wrapper-item",{style:{position:"absolute",left:0,right:0}},e)}})}(e),function(e){lt("hi-waterfall",{component:{name:"WaterfallView",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onExposureReport":n.exposureInfo=t.exposureInfo;break;case"onScroll":{const{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s}=t;Object.assign(n,{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s});break}}return n}}}),lt("hi-waterfall-item",{component:{name:"WaterfallItem"}}),e.component("Waterfall",{props:{numberOfColumns:{type:Number,default:2},contentInset:{type:Object,default:()=>({top:0,left:0,bottom:0,right:0})},columnSpacing:{type:Number,default:0},interItemSpacing:{type:Number,default:0},preloadItemNumber:{type:Number,default:0},containBannerView:{type:Boolean,default:!1},containPullHeader:{type:Boolean,default:!1},containPullFooter:{type:Boolean,default:!1}},methods:{call(e,t){nt.callUIFunction(this.$refs.waterfall,e,t)},startRefresh(){this.call("startRefresh")},startRefreshWithType(e){this.call("startRefreshWithType",[e])},callExposureReport(){this.call("callExposureReport",[])},scrollToIndex({index:e=0,animated:t=!0}){this.call("scrollToIndex",[e,e,t])},scrollToContentOffset({xOffset:e=0,yOffset:t=0,animated:n=!0}){this.call("scrollToContentOffset",[e,t,n])},startLoadMore(){this.call("startLoadMore")}},render(){const e=De.call(this,["headerReleased","headerPulling","endReached","exposureReport","initialListReady","scroll"]);return m.h("hi-waterfall",l(l({},e),{},{ref:"waterfall",numberOfColumns:this.numberOfColumns,contentInset:this.contentInset,columnSpacing:this.columnSpacing,interItemSpacing:this.interItemSpacing,preloadItemNumber:this.preloadItemNumber,containBannerView:this.containBannerView,containPullHeader:this.containPullHeader,containPullFooter:this.containPullFooter}),this.$slots.default?this.$slots.default():null)}}),e.component("WaterfallItem",{props:{type:{type:[String,Number],default:""},fullSpan:{type:Boolean,default:!1}},render(){return m.h("hi-waterfall-item",{type:this.type,fullSpan:this.fullSpan},this.$slots.default?this.$slots.default():null)}})}(e),function(e){lt("hi-swiper",{component:{name:"ViewPager",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onPageSelected":n.currentSlide=t.position;break;case"onPageScroll":n.nextSlide=t.position,n.offset=t.offset;break;case"onPageScrollStateChanged":n.state=t.pageScrollState}return n}}}),lt("hi-swiper-slide",{component:{name:"ViewPagerItem",defaultNativeStyle:{position:"absolute",top:0,right:0,bottom:0,left:0}}}),e.component("Swiper",{props:{current:{type:Number,defaultValue:0},needAnimation:{type:Boolean,defaultValue:!0}},data:()=>({$initialSlide:0}),watch:{current(e){this.$props.needAnimation?this.setSlide(e):this.setSlideWithoutAnimation(e)}},beforeMount(){this.$initialSlide=this.$props.current},methods:{setSlide(e){nt.callUIFunction(this.$refs.swiper,"setPage",[e])},setSlideWithoutAnimation(e){nt.callUIFunction(this.$refs.swiper,"setPageWithoutAnimation",[e])}},render(){const e=De.call(this,[["dropped","pageSelected"],["dragging","pageScroll"],["stateChanged","pageScrollStateChanged"]]);return m.h("hi-swiper",l(l({},e),{},{ref:"swiper",initialPage:this.$data.$initialSlide}),this.$slots.default?this.$slots.default():null)}}),e.component("SwiperSlide",{render(){return m.h("hi-swiper-slide",{},this.$slots.default?this.$slots.default():null)}})}(e)}};class pn extends an{constructor(e,t){super("comment",t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}}class fn extends an{setText(e,t={}){"textarea"===this.tagName?this.setAttribute("value",e,{notToNative:!!t.notToNative}):this.setAttribute("text",e,{notToNative:!!t.notToNative})}async getValue(){return new Promise(e=>nt.callUIFunction(this,"getValue",t=>e(t.text)))}setValue(e){nt.callUIFunction(this,"setValue",[e])}focus(){nt.callUIFunction(this,"focusTextInput",[])}blur(){nt.callUIFunction(this,"blurTextInput",[])}clear(){nt.callUIFunction(this,"clear",[])}async isFocused(){return new Promise(e=>nt.callUIFunction(this,"isFocused",t=>e(t.value)))}}class hn extends an{scrollToIndex(e=0,t=0,n=!0){nt.callUIFunction(this,"scrollToIndex",[e,t,n])}scrollToPosition(e=0,t=0,n=!0){"number"==typeof e&&"number"==typeof t&&nt.callUIFunction(this,"scrollToContentOffset",[e,t,n])}}class mn extends on{static createComment(e){return new pn(e)}static createElement(e){switch(e){case"input":case"textarea":return new fn(e);case"ul":return new hn(e);default:return new an(e)}}static createTextNode(e){return new sn(e)}constructor(){super(rn.DocumentNode)}}const vn={insert:function(e,t,n=null){t.childNodes.indexOf(e)>=0?t.moveChild(e,n):t.insertBefore(e,n)},remove:function(e){const t=e.parentNode;t&&(t.removeChild(e),Wt(e))},setText:function(e,t){e.setText(t)},setElementText:function(e,t){e.setText(t)},createElement:function(e){return mn.createElement(e)},createComment:function(e){return mn.createComment(e)},createText:function(e){return mn.createTextNode(e)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},setScopeId:function(e,t){e.setStyleScope(t)}};const gn=/(?:Once|Passive|Capture)$/;function yn(e,t,n,r,o=null){var i;const s=e,c=null!==(i=s._vei)&&void 0!==i?i:s._vei={},a=c[t];if(r&&a)a.value=r;else{const[e,n]=function(e){let t=e;const n={};if(gn.test(t)){let e=t.match(gn);for(;e;)t=t.slice(0,t.length-e[0].length),n[e[0].toLowerCase()]=!0,e=t.match(gn)}return t=":"===t[2]?t.slice(3):t.slice(2),[(r=t,`${r.charAt(0).toLowerCase()}${r.slice(1)}`),n];var r}(t);if(r){c[t]=function(e,t){const n=e=>{m.callWithAsyncErrorHandling(n.value,t,m.ErrorCodes.NATIVE_EVENT_HANDLER,[e])};return n.value=e,n}(r,o);const i=c[t];s.addEventListener(e,i,n)}else s.removeEventListener(e,a,n),c[t]=void 0}}function bn(e,t,n){const r=e,o={};if(!function(e,t,n){const r=!e,o=!t&&!n,i=JSON.stringify(t)===JSON.stringify(n);return r||o||i}(r,t,n))if(t&&!n)r.removeStyle();else{if(h.isString(n))throw new Error("Style is Not Object");n&&(Object.keys(n).forEach(e=>{const t=n[e];(function(e){return null==e})(t)||(o[m.camelize(e)]=t)}),r.removeStyle(!0),r.setStyles(o))}}function On(e,t,n,r,o,i,s){switch(t){case"class":!function(e,t){let n=t;null===n&&(n=""),e.setAttribute("class",n)}(e,r);break;case"style":bn(e,n,r);break;default:h.isOn(t)?yn(e,t,0,r,s):function(e,t,n,r){null===r?e.removeAttribute(t):n!==r&&e.setAttribute(t,r)}(e,t,n,r)}}let _n=!1;function En(e,t){const n=function(e){var t;if("comment"===e.name)return new pn(e.props.text,e);if("Text"===e.name&&!e.tagName){const t=new sn(e.props.text,e);return t.nodeType=rn.TextNode,t.data=e.props.text,t}switch(e.tagName){case"input":case"textarea":return new fn(e.tagName,e);case"ul":return new hn(e.tagName,e);default:return new an(null!==(t=e.tagName)&&void 0!==t?t:"",e)}}(e);let r=t.filter(t=>t.pId===e.id).sort((e,t)=>e.index-t.index);const o=r.filter(e=>"comment"===e.name);if(o.length){r=r.filter(e=>"comment"!==e.name);for(let e=o.length-1;e>=0;e--)r.splice(o[e].index,0,o[e])}return r.forEach(e=>{n.appendChild(En(e,t),!0)}),n}e.WebSocket=class{constructor(e,t,n){this.webSocketId=-1,this.protocol="",this.listeners={},this.url=e,this.readyState=0,this.webSocketCallbacks={},this.onWebSocketEvent=this.onWebSocketEvent.bind(this);const r=l({},n);if(_n||(_n=!0,Ee.$on("hippyWebsocketEvents",this.onWebSocketEvent)),!e)throw new TypeError("Invalid WebSocket url");Array.isArray(t)&&t.length>0?(this.protocol=t.join(","),r["Sec-WebSocket-Protocol"]=this.protocol):"string"==typeof t&&(this.protocol=t,r["Sec-WebSocket-Protocol"]=this.protocol);const o={headers:r,url:e};nt.callNativeWithPromise("websocket","connect",o).then(e=>{e&&0===e.code?this.webSocketId=e.id:je()})}close(e,t){1===this.readyState&&(this.readyState=2,nt.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}send(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: "+typeof e);nt.callNative("websocket","send",{id:this.webSocketId,data:e})}else je()}set onopen(e){this.addEventListener("open",e)}set onclose(e){this.addEventListener("close",e)}set onerror(e){this.addEventListener("error",e)}set onmessage(e){this.addEventListener("message",e)}onWebSocketEvent(e){if("object"!=typeof e||e.id!==this.webSocketId)return;const t=e.type;if("string"!=typeof t)return;"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,Ee.$off("hippyWebsocketEvents",this.onWebSocketEvent));const n=this.webSocketCallbacks[t];(null==n?void 0:n.length)&&n.forEach(t=>{h.isFunction(t)&&t(e.data)})}addEventListener(e,t){if((e=>-1!==["open","close","message","error"].indexOf(e))(e)){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);const n=Fe(e);this.webSocketCallbacks[n]=this.listeners[e]}}};const Sn=['%c[Hippy-Vue-Next "unspecified"]%c',"color: #4fc08d; font-weight: bold","color: auto; font-weight: auto"];function wn(e,t){if(nt.isIOS()){const n=function(e){var t,n;const{iPhone:r}=e;let o;if((null==r?void 0:r.statusBar)&&(o=r.statusBar),null==o?void 0:o.disabled)return null;const i=new an("div"),{statusBarHeight:s}=nt.Dimensions.screen;nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0);let c=4282431619;if(Number.isInteger(c)&&({backgroundColor:c}=o),i.setStyle("backgroundColor",c),"string"==typeof o.backgroundImage){const r=new an("img");r.setStyle("width",nt.Dimensions.screen.width),r.setStyle("height",s),r.setAttribute("src",null===(n=null===(t=e.iPhone)||void 0===t?void 0:t.statusBar)||void 0===n?void 0:n.backgroundImage),i.appendChild(r)}return i.addEventListener("layout",()=>{nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0)}),i}(e);if(n){const e=t.$el.parentNode;e.childNodes.length?e.insertBefore(n,e.childNodes[0]):e.appendChild(n)}}}const Nn=(e,t)=>{var n,r;const o=e,i=Boolean(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length);var s,c;o.use(Tt),o.use(dn),"function"==typeof(null===(r=null==t?void 0:t.styleOptions)||void 0===r?void 0:r.beforeLoadStyle)&&(s=t.styleOptions.beforeLoadStyle,Ie=s),t.silent&&(c=t.silent,Ne=c),function(e=!0){xe=e}(t.trimWhitespace);const{mount:a}=o;return o.mount=e=>{var n;Ft("rootContainer",e);const r=(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length)?function(e){const[t]=e;return En(t,e)}(t.ssrNodeList):function(e){const t=mn.createElement("div");return t.id=e,t.style={display:"flex",flex:1},t}(e),o=a(r,i,!1);return Ft("instance",o),i||wn(t,o),o},o.$start=async e=>new Promise(n=>{nt.hippyNativeRegister.regist(t.appName,r=>{var i,s;const{__instanceId__:c}=r;Te(...Sn,"Start",t.appName,"with rootViewId",c,r);const a=Mt();var l;(null==a?void 0:a.app)&&a.app.unmount(),l={rootViewId:c,superProps:r,app:o,ratioBaseWidth:null!==(s=null===(i=null==t?void 0:t.styleOptions)||void 0===i?void 0:i.ratioBaseWidth)&&void 0!==s?s:750},Lt=l;const u={superProps:r,rootViewId:c};h.isFunction(e)?e(u):n(u)})}),o};t.BackAndroid=ct,t.ContentSizeEvent=class extends Dt{},t.EventBus=Ee,t.ExposureEvent=class extends Dt{},t.FocusEvent=class extends Dt{},t.HIPPY_DEBUG_ADDRESS=Se,t.HIPPY_GLOBAL_DISPOSE_STYLE_NAME="__HIPPY_VUE_DISPOSE_STYLES__",t.HIPPY_GLOBAL_STYLE_NAME="__HIPPY_VUE_STYLES__",t.HIPPY_STATIC_PROTOCOL="hpfile://",t.HIPPY_UNIQUE_ID_KEY="hippyUniqueId",t.HIPPY_VUE_VERSION="unspecified",t.HippyEvent=Dt,t.HippyKeyboardEvent=class extends Dt{},t.HippyLayoutEvent=Vt,t.HippyLoadResourceEvent=class extends Dt{},t.HippyTouchEvent=class extends Dt{},t.IS_PROD=!0,t.ListViewEvent=class extends Dt{},t.NATIVE_COMPONENT_MAP=we,t.Native=nt,t.ViewPagerEvent=class extends Dt{},t._setBeforeRenderToNative=(e,t)=>{h.isFunction(e)&&(1===t?Re=e:console.error("_setBeforeRenderToNative API had changed, the hook function will be ignored!"))},t.createApp=(e,t)=>{const n=m.createRenderer(l({patchProp:On},vn)).createApp(e);return Nn(n,t)},t.createHippyApp=Nn,t.createSSRApp=(e,t)=>{const n=m.createHydrationRenderer(l({patchProp:On},vn)).createApp(e);return Nn(n,t)},t.eventIsKeyboardEvent=Bt,t.getCssMap=ye,t.getTagComponent=ut,t.isNativeTag=function(e){return un.includes(e)},t.parseCSS=function(e,t={source:0}){let n=1,r=1;function o(e){const t=e.match(/\n/g);t&&(n+=t.length);const o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(t){const n=t.exec(e);if(!n)return null;const r=n[0];return o(r),e=e.slice(r.length),n}function s(){i(/^\s*/)}function c(){return o=>(o.position={start:{line:n,column:r},end:{line:n,column:r},source:t.source,content:e},s(),o)}const a=[];function u(o){const i=l(l({},new Error(`${t.source}:${n}:${r}: ${o}`)),{},{reason:o,filename:t.source,line:n,column:r,source:e});if(!t.silent)throw i;a.push(i)}function d(){const t=c();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return null;let n=2;for(;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)n+=1;if(n+=2,""===e.charAt(n-1))return u("End of comment missing");const i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}function p(e=[]){let t;const n=e||[];for(;t=d();)!1!==t&&n.push(t);return n}function f(){let t;const n=[];for(s(),p(n);e.length&&"}"!==e.charAt(0)&&(t=x()||O());)t&&(n.push(t),p(n));return n}function m(){return i(/^{\s*/)}function v(){return i(/^}/)}function g(){const e=i(/^([^{]+)/);return e?e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,e=>e.replace(/,/g,"‌")).split(/\s*(?![^(]*\)),\s*/).map(e=>e.replace(/\u200C/g,",")):null}function y(){const e=c();let t=i(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+])?)\s*/);if(!t)return null;if(t=t[0].trim(),!i(/^:\s*/))return u("property missing ':'");const n=t.replace(I,""),r=h.camelize(n);let o=(()=>{const e=T[r];return e||r})();const s=i(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]{0,500}?\)|[^};])+)/);let a=s?s[0].trim().replace(I,""):"";switch(o){case"backgroundImage":[o,a]=F(o,a);break;case"transform":{const e=/((\w+)\s*\()/,t=/(?:\(['"]?)(.*?)(?:['"]?\))/,n=a;a=[],n.split(" ").forEach(n=>{if(e.test(n)){let r,o;const i=e.exec(n),s=t.exec(n);i&&([,,r]=i),s&&([,o]=s),0===o.indexOf(".")&&(o="0"+o),parseFloat(o).toString()===o&&(o=parseFloat(o));const c={};c[r]=o,a.push(c)}else u("missing '('")});break}case"fontWeight":break;case"shadowOffset":{const e=a.split(" ").filter(e=>e).map(e=>R(e)),[t]=e;let[,n]=e;n||(n=t),a={x:t,y:n};break}case"collapsable":a=Boolean(a);break;default:a=function(e){if("number"==typeof e)return e;if(P.test(e))try{return parseFloat(e)}catch(e){}return e}(a);["top","left","right","bottom","height","width","size","padding","margin","ratio","radius","offset","spread"].find(e=>o.toLowerCase().indexOf(e)>-1)&&(a=R(a))}const l=e({type:"declaration",value:a,property:o});return i(/^[;\s]*/),l}function b(){let e,t=[];if(!m())return u("missing '{'");for(p(t);e=y();)!1!==e&&(Array.isArray(e)?t=t.concat(e):t.push(e),p(t));return v()?t:u("missing '}'")}function O(){const e=c(),t=g();return t?(p(),e({type:"rule",selectors:t,declarations:b()})):u("selector missing")}function _(){let e;const t=[],n=c();for(;e=i(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),i(/^,\s*/);return t.length?n({type:"keyframe",values:t,declarations:b()}):null}function E(e){const t=new RegExp(`^@${e}\\s*([^;]+);`);return()=>{const n=c(),r=i(t);if(!r)return null;const o={type:e};return o[e]=r[1].trim(),n(o)}}const S=E("import"),w=E("charset"),N=E("namespace");function x(){return"@"!==e[0]?null:function(){const e=c();let t=i(/^@([-\w]+)?keyframes\s*/);if(!t)return null;const n=t[1];if(t=i(/^([-\w]+)\s*/),!t)return u("@keyframes missing name");const r=t[1];if(!m())return u("@keyframes missing '{'");let o,s=p();for(;o=_();)s.push(o),s=s.concat(p());return v()?e({type:"keyframes",name:r,vendor:n,keyframes:s}):u("@keyframes missing '}'")}()||function(){const e=c(),t=i(/^@media *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@media missing '{'");const r=p().concat(f());return v()?e({type:"media",media:n,rules:r}):u("@media missing '}'")}()||function(){const e=c(),t=i(/^@custom-media\s+(--[^\s]+)\s*([^{;]{1,200}?);/);return t?e({type:"custom-media",name:t[1].trim(),media:t[2].trim()}):null}()||function(){const e=c(),t=i(/^@supports *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@supports missing '{'");const r=p().concat(f());return v()?e({type:"supports",supports:n,rules:r}):u("@supports missing '}'")}()||S()||w()||N()||function(){const e=c(),t=i(/^@([-\w]+)?document *([^{]+)/);if(!t)return null;const n=t[1].trim(),r=t[2].trim();if(!m())return u("@document missing '{'");const o=p().concat(f());return v()?e({type:"document",document:r,vendor:n,rules:o}):u("@document missing '}'")}()||function(){const e=c();if(!i(/^@page */))return null;const t=g()||[];if(!m())return u("@page missing '{'");let n,r=p();for(;n=y();)r.push(n),r=r.concat(p());return v()?e({type:"page",selectors:t,declarations:r}):u("@page missing '}'")}()||function(){const e=c();if(!i(/^@host\s*/))return null;if(!m())return u("@host missing '{'");const t=p().concat(f());return v()?e({type:"host",rules:t}):u("@host missing '}'")}()||function(){const e=c();if(!i(/^@font-face\s*/))return null;if(!m())return u("@font-face missing '{'");let t,n=p();for(;t=y();)n.push(t),n=n.concat(p());return v()?e({type:"font-face",declarations:n}):u("@font-face missing '}'")}()}return function e(t,n){const r=t&&"string"==typeof t.type,o=r?t:n;return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e(t,o)}):r&&"object"==typeof r&&e(r,o)}),r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n}),t}(function(){const e=f();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:a}}}(),null)},t.registerElement=lt,t.setScreenSize=function(t){var n;if(t.width&&t.height){const{screen:r}=null===(n=null==e?void 0:e.Hippy)||void 0===n?void 0:n.device;r&&(r.width=t.width,r.height=t.height)}},t.translateColor=x}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"EffectScope",(function(){return s})),n.d(t,"ITERATE_KEY",(function(){return A})),n.d(t,"ReactiveEffect",(function(){return d})),n.d(t,"ReactiveFlags",(function(){return nt})),n.d(t,"TrackOpTypes",(function(){return et})),n.d(t,"TriggerOpTypes",(function(){return tt})),n.d(t,"computed",(function(){return Pe})),n.d(t,"customRef",(function(){return Ke})),n.d(t,"deferredComputed",(function(){return Qe})),n.d(t,"effect",(function(){return v})),n.d(t,"effectScope",(function(){return c})),n.d(t,"enableTracking",(function(){return E})),n.d(t,"getCurrentScope",(function(){return l})),n.d(t,"isProxy",(function(){return Te})),n.d(t,"isReactive",(function(){return we})),n.d(t,"isReadonly",(function(){return Ne})),n.d(t,"isRef",(function(){return Me})),n.d(t,"isShallow",(function(){return xe})),n.d(t,"markRaw",(function(){return ke})),n.d(t,"onScopeDispose",(function(){return u})),n.d(t,"pauseScheduling",(function(){return w})),n.d(t,"pauseTracking",(function(){return _})),n.d(t,"proxyRefs",(function(){return We})),n.d(t,"reactive",(function(){return be})),n.d(t,"readonly",(function(){return _e})),n.d(t,"ref",(function(){return Fe})),n.d(t,"resetScheduling",(function(){return N})),n.d(t,"resetTracking",(function(){return S})),n.d(t,"shallowReactive",(function(){return Oe})),n.d(t,"shallowReadonly",(function(){return Ee})),n.d(t,"shallowRef",(function(){return De})),n.d(t,"stop",(function(){return g})),n.d(t,"toRaw",(function(){return je})),n.d(t,"toRef",(function(){return Xe})),n.d(t,"toRefs",(function(){return Ge})),n.d(t,"toValue",(function(){return He})),n.d(t,"track",(function(){return P})),n.d(t,"trigger",(function(){return R})),n.d(t,"triggerRef",(function(){return $e})),n.d(t,"unref",(function(){return Ue}));var r=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js"); -/** -* @vue/reactivity v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let o,i;class s{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),S()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=i;try{return y=!0,i=this,this._runnings++,f(this),this.fn()}finally{h(this),this._runnings--,i=t,y=e}}stop(){var e;this.active&&(f(this),h(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function p(e){return e.value}function f(e){e._trackId++,e._depsLength=0}function h(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(Object(r.extend)(n,t),t.scope&&a(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function g(e){e.effect.stop()}let y=!0,b=0;const O=[];function _(){O.push(y),y=!1}function E(){O.push(y),y=!0}function S(){const e=O.pop();y=void 0===e||e}function w(){b++}function N(){for(b--;!b&&T.length;)T.shift()()}function x(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&m(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const T=[];function j(e,t,n){w();for(const n of e.keys()){let r;n._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},C=new WeakMap,A=Symbol(""),I=Symbol("");function P(e,t,n){if(y&&i){let t=C.get(e);t||C.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=k(()=>t.delete(n))),x(i,r)}}function R(e,t,n,o,i,s){const c=C.get(e);if(!c)return;let a=[];if("clear"===t)a=[...c.values()];else if("length"===n&&Object(r.isArray)(e)){const e=Number(o);c.forEach((t,n)=>{("length"===n||!Object(r.isSymbol)(n)&&n>=e)&&a.push(t)})}else switch(void 0!==n&&a.push(c.get(n)),t){case"add":Object(r.isArray)(e)?Object(r.isIntegerKey)(n)&&a.push(c.get("length")):(a.push(c.get(A)),Object(r.isMap)(e)&&a.push(c.get(I)));break;case"delete":Object(r.isArray)(e)||(a.push(c.get(A)),Object(r.isMap)(e)&&a.push(c.get(I)));break;case"set":Object(r.isMap)(e)&&a.push(c.get(A))}w();for(const e of a)e&&j(e,4);N()}const L=Object(r.makeMap)("__proto__,__v_isRef,__isVue"),M=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(r.isSymbol)),F=D();function D(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=je(this);for(let e=0,t=this.length;e{e[t]=function(...e){_(),w();const n=je(this)[t].apply(this,e);return N(),S(),n}}),e}function V(e){const t=je(this);return P(t,0,e),t.hasOwnProperty(e)}class B{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?ye:ge:i?ve:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=Object(r.isArray)(e);if(!o){if(s&&Object(r.hasOwn)(F,t))return Reflect.get(F,t,n);if("hasOwnProperty"===t)return V}const c=Reflect.get(e,t,n);return(Object(r.isSymbol)(t)?M.has(t):L(t))?c:(o||P(e,0,t),i?c:Me(c)?s&&Object(r.isIntegerKey)(t)?c:c.value:Object(r.isObject)(c)?o?_e(c):be(c):c)}}class $ extends B{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Ne(i);if(xe(n)||Ne(n)||(i=je(i),n=je(n)),!Object(r.isArray)(e)&&Me(i)&&!Me(n))return!t&&(i.value=n,!0)}const s=Object(r.isArray)(e)&&Object(r.isIntegerKey)(t)?Number(t)e,G=e=>Reflect.getPrototypeOf(e);function q(e,t,n=!1,o=!1){const i=je(e=e.__v_raw),s=je(t);n||(Object(r.hasChanged)(t,s)&&P(i,0,t),P(i,0,s));const{has:c}=G(i),a=o?K:n?Ae:Ce;return c.call(i,t)?a(e.get(t)):c.call(i,s)?a(e.get(s)):void(e!==i&&e.get(t))}function J(e,t=!1){const n=this.__v_raw,o=je(n),i=je(e);return t||(Object(r.hasChanged)(e,i)&&P(o,0,e),P(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function X(e,t=!1){return e=e.__v_raw,!t&&P(je(e),0,A),Reflect.get(e,"size",e)}function Z(e){e=je(e);const t=je(this);return G(t).has.call(t,e)||(t.add(e),R(t,"add",e,e)),this}function Q(e,t){t=je(t);const n=je(this),{has:o,get:i}=G(n);let s=o.call(n,e);s||(e=je(e),s=o.call(n,e));const c=i.call(n,e);return n.set(e,t),s?Object(r.hasChanged)(t,c)&&R(n,"set",e,t):R(n,"add",e,t),this}function ee(e){const t=je(this),{has:n,get:r}=G(t);let o=n.call(t,e);o||(e=je(e),o=n.call(t,e));r&&r.call(t,e);const i=t.delete(e);return o&&R(t,"delete",e,void 0),i}function te(){const e=je(this),t=0!==e.size,n=e.clear();return t&&R(e,"clear",void 0,void 0),n}function ne(e,t){return function(n,r){const o=this,i=o.__v_raw,s=je(i),c=t?K:e?Ae:Ce;return!e&&P(s,0,A),i.forEach((e,t)=>n.call(r,c(e),c(t),o))}}function re(e,t,n){return function(...o){const i=this.__v_raw,s=je(i),c=Object(r.isMap)(s),a="entries"===e||e===Symbol.iterator&&c,l="keys"===e&&c,u=i[e](...o),d=n?K:t?Ae:Ce;return!t&&P(s,0,l?I:A),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function oe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ie(){const e={get(e){return q(this,e)},get size(){return X(this)},has:J,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return q(this,e,!1,!0)},get size(){return X(this)},has:J,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return q(this,e,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!1)},r={get(e){return q(this,e,!0,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=re(o,!1,!1),n[o]=re(o,!0,!1),t[o]=re(o,!1,!0),r[o]=re(o,!0,!0)}),[e,n,t,r]}const[se,ce,ae,le]=ie();function ue(e,t){const n=t?e?le:ae:e?ce:se;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(Object(r.hasOwn)(n,o)&&o in t?n:t,o,i)}const de={get:ue(!1,!1)},pe={get:ue(!1,!0)},fe={get:ue(!0,!1)},he={get:ue(!0,!0)};const me=new WeakMap,ve=new WeakMap,ge=new WeakMap,ye=new WeakMap;function be(e){return Ne(e)?e:Se(e,!1,H,de,me)}function Oe(e){return Se(e,!1,W,pe,ve)}function _e(e){return Se(e,!0,Y,fe,ge)}function Ee(e){return Se(e,!0,z,he,ye)}function Se(e,t,n,o,i){if(!Object(r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const c=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Object(r.toRawType)(a));var a;if(0===c)return e;const l=new Proxy(e,2===c?o:n);return i.set(e,l),l}function we(e){return Ne(e)?we(e.__v_raw):!(!e||!e.__v_isReactive)}function Ne(e){return!(!e||!e.__v_isReadonly)}function xe(e){return!(!e||!e.__v_isShallow)}function Te(e){return we(e)||Ne(e)}function je(e){const t=e&&e.__v_raw;return t?je(t):e}function ke(e){return Object.isExtensible(e)&&Object(r.def)(e,"__v_skip",!0),e}const Ce=e=>Object(r.isObject)(e)?be(e):e,Ae=e=>Object(r.isObject)(e)?_e(e):e;class Ie{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new d(()=>e(this._value),()=>Le(this,2===this.effect._dirtyLevel?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=je(this);return e._cacheable&&!e.effect.dirty||!Object(r.hasChanged)(e._value,e._value=e.effect.run())||Le(e,4),Re(e),e.effect._dirtyLevel>=2&&Le(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Pe(e,t,n=!1){let o,i;const s=Object(r.isFunction)(e);s?(o=e,i=r.NOOP):(o=e.get,i=e.set);return new Ie(o,i,s||!i,n)}function Re(e){var t;y&&i&&(e=je(e),x(i,null!=(t=e.dep)?t:e.dep=k(()=>e.dep=void 0,e instanceof Ie?e:void 0)))}function Le(e,t=4,n){const r=(e=je(e)).dep;r&&j(r,t)}function Me(e){return!(!e||!0!==e.__v_isRef)}function Fe(e){return Ve(e,!1)}function De(e){return Ve(e,!0)}function Ve(e,t){return Me(e)?e:new Be(e,t)}class Be{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:je(e),this._value=t?e:Ce(e)}get value(){return Re(this),this._value}set value(e){const t=this.__v_isShallow||xe(e)||Ne(e);e=t?e:je(e),Object(r.hasChanged)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Ce(e),Le(this,4))}}function $e(e){Le(e,4)}function Ue(e){return Me(e)?e.value:e}function He(e){return Object(r.isFunction)(e)?e():Ue(e)}const Ye={get:(e,t,n)=>Ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function We(e){return we(e)?e:new Proxy(e,Ye)}class ze{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Re(this),()=>Le(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Ke(e){return new ze(e)}function Ge(e){const t=Object(r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ze(e,n);return t}class qe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=je(this._object),t=this._key,null==(n=C.get(e))?void 0:n.get(t);var e,t,n}}class Je{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){return Me(e)?e:Object(r.isFunction)(e)?new Je(e):Object(r.isObject)(e)&&arguments.length>1?Ze(e,t,n):Fe(e)}function Ze(e,t,n){const r=e[t];return Me(r)?r:new qe(e,t,n)}const Qe=Pe,et={GET:"get",HAS:"has",ITERATE:"iterate"},tt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},nt={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"BaseTransition",(function(){return ke})),n.d(t,"BaseTransitionPropsValidators",(function(){return je})),n.d(t,"Comment",(function(){return An})),n.d(t,"DeprecationTypes",(function(){return zr})),n.d(t,"ErrorCodes",(function(){return l})),n.d(t,"ErrorTypeStrings",(function(){return Br})),n.d(t,"Fragment",(function(){return kn})),n.d(t,"KeepAlive",(function(){return $e})),n.d(t,"Static",(function(){return In})),n.d(t,"Suspense",(function(){return ie})),n.d(t,"Teleport",(function(){return Tn})),n.d(t,"Text",(function(){return Cn})),n.d(t,"assertNumber",(function(){return a})),n.d(t,"callWithAsyncErrorHandling",(function(){return p})),n.d(t,"callWithErrorHandling",(function(){return d})),n.d(t,"cloneVNode",(function(){return Qn})),n.d(t,"compatUtils",(function(){return Wr})),n.d(t,"computed",(function(){return Ir})),n.d(t,"createBlock",(function(){return Un})),n.d(t,"createCommentVNode",(function(){return nr})),n.d(t,"createElementBlock",(function(){return $n})),n.d(t,"createElementVNode",(function(){return qn})),n.d(t,"createHydrationRenderer",(function(){return vn})),n.d(t,"createPropsRestProxy",(function(){return kt})),n.d(t,"createRenderer",(function(){return mn})),n.d(t,"createSlots",(function(){return at})),n.d(t,"createStaticVNode",(function(){return tr})),n.d(t,"createTextVNode",(function(){return er})),n.d(t,"createVNode",(function(){return Jn})),n.d(t,"defineAsyncComponent",(function(){return De})),n.d(t,"defineComponent",(function(){return Me})),n.d(t,"defineEmits",(function(){return gt})),n.d(t,"defineExpose",(function(){return yt})),n.d(t,"defineModel",(function(){return _t})),n.d(t,"defineOptions",(function(){return bt})),n.d(t,"defineProps",(function(){return vt})),n.d(t,"defineSlots",(function(){return Ot})),n.d(t,"devtools",(function(){return $r})),n.d(t,"getCurrentInstance",(function(){return pr})),n.d(t,"getTransitionRawChildren",(function(){return Le})),n.d(t,"guardReactiveProps",(function(){return Zn})),n.d(t,"h",(function(){return Rr})),n.d(t,"handleError",(function(){return f})),n.d(t,"hasInjectionContext",(function(){return qt})),n.d(t,"initCustomFormatter",(function(){return Lr})),n.d(t,"inject",(function(){return Gt})),n.d(t,"isMemoSame",(function(){return Fr})),n.d(t,"isRuntimeOnly",(function(){return wr})),n.d(t,"isVNode",(function(){return Hn})),n.d(t,"mergeDefaults",(function(){return Tt})),n.d(t,"mergeModels",(function(){return jt})),n.d(t,"mergeProps",(function(){return sr})),n.d(t,"nextTick",(function(){return S})),n.d(t,"onActivated",(function(){return He})),n.d(t,"onBeforeMount",(function(){return Xe})),n.d(t,"onBeforeUnmount",(function(){return tt})),n.d(t,"onBeforeUpdate",(function(){return Qe})),n.d(t,"onDeactivated",(function(){return Ye})),n.d(t,"onErrorCaptured",(function(){return st})),n.d(t,"onMounted",(function(){return Ze})),n.d(t,"onRenderTracked",(function(){return it})),n.d(t,"onRenderTriggered",(function(){return ot})),n.d(t,"onServerPrefetch",(function(){return rt})),n.d(t,"onUnmounted",(function(){return nt})),n.d(t,"onUpdated",(function(){return et})),n.d(t,"openBlock",(function(){return Ln})),n.d(t,"popScopeId",(function(){return U})),n.d(t,"provide",(function(){return Kt})),n.d(t,"pushScopeId",(function(){return $})),n.d(t,"queuePostFlushCb",(function(){return x})),n.d(t,"registerRuntimeCompiler",(function(){return Sr})),n.d(t,"renderList",(function(){return ct})),n.d(t,"renderSlot",(function(){return lt})),n.d(t,"resolveComponent",(function(){return X})),n.d(t,"resolveDirective",(function(){return ee})),n.d(t,"resolveDynamicComponent",(function(){return Q})),n.d(t,"resolveFilter",(function(){return Yr})),n.d(t,"resolveTransitionHooks",(function(){return Ae})),n.d(t,"setBlockTracking",(function(){return Vn})),n.d(t,"setDevtoolsHook",(function(){return Ur})),n.d(t,"setTransitionHooks",(function(){return Re})),n.d(t,"ssrContextKey",(function(){return de})),n.d(t,"ssrUtils",(function(){return Hr})),n.d(t,"toHandlers",(function(){return ut})),n.d(t,"transformVNodeArgs",(function(){return Wn})),n.d(t,"useAttrs",(function(){return wt})),n.d(t,"useModel",(function(){return Pr})),n.d(t,"useSSRContext",(function(){return pe})),n.d(t,"useSlots",(function(){return St})),n.d(t,"useTransitionState",(function(){return xe})),n.d(t,"version",(function(){return Dr})),n.d(t,"warn",(function(){return Vr})),n.d(t,"watch",(function(){return ge})),n.d(t,"watchEffect",(function(){return fe})),n.d(t,"watchPostEffect",(function(){return he})),n.d(t,"watchSyncEffect",(function(){return me})),n.d(t,"withAsyncContext",(function(){return Ct})),n.d(t,"withCtx",(function(){return Y})),n.d(t,"withDefaults",(function(){return Et})),n.d(t,"withDirectives",(function(){return Ee})),n.d(t,"withMemo",(function(){return Mr})),n.d(t,"withScopeId",(function(){return H}));var r=n("../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");n.d(t,"EffectScope",(function(){return r.EffectScope})),n.d(t,"ReactiveEffect",(function(){return r.ReactiveEffect})),n.d(t,"TrackOpTypes",(function(){return r.TrackOpTypes})),n.d(t,"TriggerOpTypes",(function(){return r.TriggerOpTypes})),n.d(t,"customRef",(function(){return r.customRef})),n.d(t,"effect",(function(){return r.effect})),n.d(t,"effectScope",(function(){return r.effectScope})),n.d(t,"getCurrentScope",(function(){return r.getCurrentScope})),n.d(t,"isProxy",(function(){return r.isProxy})),n.d(t,"isReactive",(function(){return r.isReactive})),n.d(t,"isReadonly",(function(){return r.isReadonly})),n.d(t,"isRef",(function(){return r.isRef})),n.d(t,"isShallow",(function(){return r.isShallow})),n.d(t,"markRaw",(function(){return r.markRaw})),n.d(t,"onScopeDispose",(function(){return r.onScopeDispose})),n.d(t,"proxyRefs",(function(){return r.proxyRefs})),n.d(t,"reactive",(function(){return r.reactive})),n.d(t,"readonly",(function(){return r.readonly})),n.d(t,"ref",(function(){return r.ref})),n.d(t,"shallowReactive",(function(){return r.shallowReactive})),n.d(t,"shallowReadonly",(function(){return r.shallowReadonly})),n.d(t,"shallowRef",(function(){return r.shallowRef})),n.d(t,"stop",(function(){return r.stop})),n.d(t,"toRaw",(function(){return r.toRaw})),n.d(t,"toRef",(function(){return r.toRef})),n.d(t,"toRefs",(function(){return r.toRefs})),n.d(t,"toValue",(function(){return r.toValue})),n.d(t,"triggerRef",(function(){return r.triggerRef})),n.d(t,"unref",(function(){return r.unref}));var o=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js");n.d(t,"camelize",(function(){return o.camelize})),n.d(t,"capitalize",(function(){return o.capitalize})),n.d(t,"normalizeClass",(function(){return o.normalizeClass})),n.d(t,"normalizeProps",(function(){return o.normalizeProps})),n.d(t,"normalizeStyle",(function(){return o.normalizeStyle})),n.d(t,"toDisplayString",(function(){return o.toDisplayString})),n.d(t,"toHandlerKey",(function(){return o.toHandlerKey})); -/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -const i=[];function s(e,...t){Object(r.pauseTracking)();const n=i.length?i[i.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=function(){let e=i[i.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(o)d(o,n,11,[e+t.map(e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,s.map(({vnode:e})=>`at <${Cr(n,e.type)}>`).join("\n"),s]);else{const n=["[Vue warn]: "+e,...t];s.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=" at <"+Cr(e.component,e.type,r),i=">"+n;return e.props?[o,...c(e.props),i]:[o+i]}(e))}),t}(s)),console.warn(...n)}Object(r.resetTracking)()}function c(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,i){return Object(o.isString)(n)?(n=JSON.stringify(n),i?n:[`${t}=${n}`]):"number"==typeof n||"boolean"==typeof n||null==n?i?n:[`${t}=${n}`]:Object(r.isRef)(n)?(n=e(t,Object(r.toRaw)(n.value),!0),i?n:[t+"=Ref<",n,">"]):Object(o.isFunction)(n)?[`${t}=fn${n.name?`<${n.name}>`:""}`]:(n=Object(r.toRaw)(n),i?n:[t+"=",n])}(n,e[n]))}),n.length>3&&t.push(" ..."),t}function a(e,t){}const l={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},u={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function d(e,t,n,r){try{return r?e(...r):e()}catch(e){f(e,t,n)}}function p(e,t,n,r){if(Object(o.isFunction)(e)){const i=d(e,t,n,r);return i&&Object(o.isPromise)(i)&&i.catch(e=>{f(e,t,n)}),i}const i=[];for(let o=0;o>>1,o=v[r],i=k(o);ik(e)-k(t));if(y.length=0,b)return void b.push(...e);for(b=e,O=0;Onull==e.id?1/0:e.id,C=(e,t)=>{const n=k(e)-k(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function A(e){m=!1,h=!0,v.sort(C);o.NOOP;try{for(g=0;gObject(o.isString)(e)?e.trim():e)),t&&(i=n.map(o.looseToNumber))}let a;let l=r[a=Object(o.toHandlerKey)(t)]||r[a=Object(o.toHandlerKey)(Object(o.camelize)(t))];!l&&s&&(l=r[a=Object(o.toHandlerKey)(Object(o.hyphenate)(t))]),l&&p(l,e,6,i);const u=r[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,p(u,e,6,i)}}function M(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const s=e.emits;let c={},a=!1;if(__VUE_OPTIONS_API__&&!Object(o.isFunction)(e)){const r=e=>{const n=M(e,t,!0);n&&(a=!0,Object(o.extend)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||a?(Object(o.isArray)(s)?s.forEach(e=>c[e]=null):Object(o.extend)(c,s),Object(o.isObject)(e)&&r.set(e,c),c):(Object(o.isObject)(e)&&r.set(e,null),null)}function F(e,t){return!(!e||!Object(o.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),Object(o.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||Object(o.hasOwn)(e,Object(o.hyphenate)(t))||Object(o.hasOwn)(e,t))}let D=null,V=null;function B(e){const t=D;return D=e,V=e&&e.type.__scopeId||null,t}function $(e){V=e}function U(){V=null}const H=e=>Y;function Y(e,t=D,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Vn(-1);const o=B(t);let i;try{i=e(...n)}finally{B(o),r._d&&Vn(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function W(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[c],slots:a,attrs:l,emit:u,render:d,renderCache:p,data:h,setupState:m,ctx:v,inheritAttrs:g}=e;let y,b;const O=B(e);try{if(4&n.shapeFlag){const e=i||r,t=e;y=rr(d.call(t,e,p,s,m,h,v)),b=l}else{const e=t;0,y=rr(e.length>1?e(s,{attrs:l,slots:a,emit:u}):e(s,null)),b=t.props?l:K(l)}}catch(t){Pn.length=0,f(t,e,1),y=Jn(An)}let _=y;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(c&&e.some(o.isModelListener)&&(b=G(b,c)),_=Qn(_,b))}return n.dirs&&(_=Qn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,B(O),y}function z(e,t=!0){let n;for(let t=0;t{let t;for(const n in e)("class"===n||"style"===n||Object(o.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},G=(e,t)=>{const n={};for(const r in e)Object(o.isModelListener)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function q(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let oe=0;const ie={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,c,a,l){if(null==e)!function(e,t,n,r,o,i,s,c,a){const{p:l,o:{createElement:u}}=a,d=u("div"),p=e.suspense=ce(e,o,r,t,d,n,i,s,c,a);l(null,p.pendingBranch=e.ssContent,d,null,r,p,i,s),p.deps>0?(se(e,"onPending"),se(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,s),ue(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,r,o,i,s,c,a,l);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,s,c,{p:a,um:l,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:g}=d;if(m)d.pendingBranch=p,Yn(p,m)?(a(m,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():v&&(g||(a(h,f,n,r,o,null,i,s,c),ue(d,f)))):(d.pendingId=oe++,g?(d.isHydrating=!1,d.activeBranch=m):l(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(a(null,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():(a(h,f,n,r,o,null,i,s,c),ue(d,f))):h&&Yn(p,h)?(a(h,p,n,r,o,d,i,s,c),d.resolve(!0)):(a(null,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0&&d.resolve()));else if(h&&Yn(p,h))a(h,p,n,r,o,d,i,s,c),ue(d,p);else if(se(t,"onPending"),d.pendingBranch=p,512&p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=oe++,a(null,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(f)},e):0===e&&d.fallback(f)}}(e,t,n,r,o,s,c,a,l)}},hydrate:function(e,t,n,r,o,i,s,c,a){const l=t.suspense=ce(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,c,!0),u=a(e,l.pendingBranch=t.ssContent,n,l,i,s);0===l.deps&&l.resolve(!1,!0);return u},create:ce,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=ae(r?n.default:n),e.ssFallback=r?ae(n.fallback):Jn(An)}};function se(e,t){const n=e.props&&e.props[t];Object(o.isFunction)(n)&&n()}function ce(e,t,n,r,i,s,c,a,l,u,d=!1){const{p:p,m:h,um:m,n:v,o:{parentNode:g,remove:y}}=u;let b;const O=function(e){var t;return null!=(null==(t=e.props)?void 0:t.suspensible)&&!1!==e.props.suspensible}(e);O&&(null==t?void 0:t.pendingBranch)&&(b=t.pendingId,t.deps++);const _=e.props?Object(o.toNumber)(e.props.timeout):void 0;const E=s,S={vnode:e,parent:t,parentComponent:n,namespace:c,container:r,hiddenContainer:i,deps:0,pendingId:oe++,timeout:"number"==typeof _?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:c,effects:a,parentComponent:l,container:u}=S;let d=!1;S.isHydrating?S.isHydrating=!1:e||(d=o&&i.transition&&"out-in"===i.transition.mode,d&&(o.transition.afterLeave=()=>{c===S.pendingId&&(h(i,u,s===E?v(o):s,0),x(a))}),o&&(g(o.el)!==S.hiddenContainer&&(s=v(o)),m(o,l,S,!0)),d||h(i,u,s,0)),ue(S,i),S.pendingBranch=null,S.isInFallback=!1;let p=S.parent,f=!1;for(;p;){if(p.pendingBranch){p.effects.push(...a),f=!0;break}p=p.parent}f||d||x(a),S.effects=[],O&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),se(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=S;se(t,"onFallback");const s=v(n),c=()=>{S.isInFallback&&(p(null,e,o,s,r,null,i,a,l),ue(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),S.isInFallback=!0,m(n,r,null,!0),u||c()},move(e,t,n){S.activeBranch&&h(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&v(S.activeBranch),registerDep(e,t){const n=!!S.pendingBranch;n&&S.deps++;const r=e.vnode.el;e.asyncDep.catch(t=>{f(t,e,0)}).then(o=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;Er(e,o,!1),r&&(i.el=r);const s=!r&&e.subTree.el;t(e,i,g(r||e.subTree.el),r?null:v(e.subTree),S,c,l),s&&y(s),J(e,i.el),n&&0==--S.deps&&S.resolve()})},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&m(S.activeBranch,n,e,t),S.pendingBranch&&m(S.pendingBranch,n,e,t)}};return S}function ae(e){let t;if(Object(o.isFunction)(e)){const n=Dn&&e._c;n&&(e._d=!1,Ln()),e=e(),n&&(e._d=!0,t=Rn,Mn())}if(Object(o.isArray)(e)){const t=z(e);0,e=t}return e=rr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function le(e,t){t&&t.pendingBranch?Object(o.isArray)(e)?t.effects.push(...e):t.effects.push(e):x(e)}function ue(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,J(r,o))}const de=Symbol.for("v-scx"),pe=()=>{{const e=Gt(de);return e}};function fe(e,t){return ye(e,null,t)}function he(e,t){return ye(e,null,{flush:"post"})}function me(e,t){return ye(e,null,{flush:"sync"})}const ve={};function ge(e,t,n){return ye(e,t,n)}function ye(e,t,{immediate:n,deep:i,flush:s,once:c,onTrack:a,onTrigger:l}=o.EMPTY_OBJ){if(t&&c){const e=t;t=(...t)=>{e(...t),x()}}const u=dr,f=e=>!0===i?e:_e(e,!1===i?1:void 0);let h,m,v=!1,g=!1;if(Object(r.isRef)(e)?(h=()=>e.value,v=Object(r.isShallow)(e)):Object(r.isReactive)(e)?(h=()=>f(e),v=!0):Object(o.isArray)(e)?(g=!0,v=e.some(e=>Object(r.isReactive)(e)||Object(r.isShallow)(e)),h=()=>e.map(e=>Object(r.isRef)(e)?e.value:Object(r.isReactive)(e)?f(e):Object(o.isFunction)(e)?d(e,u,2):void 0)):h=Object(o.isFunction)(e)?t?()=>d(e,u,2):()=>(m&&m(),p(e,u,3,[b])):o.NOOP,t&&i){const e=h;h=()=>_e(e())}let y,b=e=>{m=S.onStop=()=>{d(e,u,4),m=S.onStop=void 0}};if(Or){if(b=o.NOOP,t?n&&p(t,u,3,[h(),g?[]:void 0,b]):h(),"sync"!==s)return o.NOOP;{const e=pe();y=e.__watcherHandles||(e.__watcherHandles=[])}}let O=g?new Array(e.length).fill(ve):ve;const _=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(i||v||(g?e.some((e,t)=>Object(o.hasChanged)(e,O[t])):Object(o.hasChanged)(e,O)))&&(m&&m(),p(t,u,3,[e,O===ve?void 0:g&&O[0]===ve?[]:O,b]),O=e)}else S.run()};let E;_.allowRecurse=!!t,"sync"===s?E=_:"post"===s?E=()=>hn(_,u&&u.suspense):(_.pre=!0,u&&(_.id=u.uid),E=()=>w(_));const S=new r.ReactiveEffect(h,o.NOOP,E),N=Object(r.getCurrentScope)(),x=()=>{S.stop(),N&&Object(o.remove)(N.effects,S)};return t?n?_():O=S.run():"post"===s?hn(S.run.bind(S),u&&u.suspense):S.run(),y&&y.push(x),x}function be(e,t,n){const r=this.proxy,i=Object(o.isString)(e)?e.includes(".")?Oe(r,e):()=>r[e]:e.bind(r,r);let s;Object(o.isFunction)(t)?s=t:(s=t.handler,n=t);const c=mr(this),a=ye(i,s.bind(r),n);return c(),a}function Oe(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((i=i||new Set).has(e))return e;if(i.add(e),Object(r.isRef)(e))_e(e.value,t,n,i);else if(Object(o.isArray)(e))for(let r=0;r{_e(e,t,n,i)});else if(Object(o.isPlainObject)(e))for(const r in e)_e(e[r],t,n,i);return e}function Ee(e,t){if(null===D)return e;const n=Tr(D)||D.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e{e.isMounted=!0}),tt(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],je={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},ke={name:"BaseTransition",props:je,setup(e,{slots:t}){const n=pr(),o=xe();return()=>{const i=t.default&&Le(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==An){0,s=t,e=!0;break}}const c=Object(r.toRaw)(e),{mode:a}=c;if(o.isLeaving)return Ie(s);const l=Pe(s);if(!l)return Ie(s);const u=Ae(l,c,o,n);Re(l,u);const d=n.subTree,p=d&&Pe(d);if(p&&p.type!==An&&!Yn(l,p)){const e=Ae(p,c,o,n);if(Re(p,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Ie(s);"in-out"===a&&l.type!==An&&(e.delayLeave=(e,t,n)=>{Ce(o,p)[String(p.key)]=p,e[we]=()=>{t(),e[we]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Ce(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ae(e,t,n,r){const{appear:i,mode:s,persisted:c=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:O}=t,_=String(e.key),E=Ce(n,e),S=(e,t)=>{e&&p(e,r,9,t)},w=(e,t)=>{const n=t[1];S(e,t),Object(o.isArray)(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},N={mode:s,persisted:c,beforeEnter(t){let r=a;if(!n.isMounted){if(!i)return;r=g||a}t[we]&&t[we](!0);const o=E[_];o&&Yn(e,o)&&o.el[we]&&o.el[we](),S(r,[t])},enter(e){let t=l,r=u,o=d;if(!n.isMounted){if(!i)return;t=y||l,r=b||u,o=O||d}let s=!1;const c=e[Ne]=t=>{s||(s=!0,S(t?o:r,[e]),N.delayedLeave&&N.delayedLeave(),e[Ne]=void 0)};t?w(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t[Ne]&&t[Ne](!0),n.isUnmounting)return r();S(f,[t]);let i=!1;const s=t[we]=n=>{i||(i=!0,r(),S(n?v:m,[t]),t[we]=void 0,E[o]===e&&delete E[o])};E[o]=e,h?w(h,[t,s]):s()},clone:e=>Ae(e,t,n,r)};return N}function Ie(e){if(Be(e))return(e=Qn(e)).children=null,e}function Pe(e){return Be(e)?e.children?e.children[0]:void 0:e}function Re(e,t){6&e.shapeFlag&&e.component?Re(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Le(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let e=0;eObject(o.extend)({name:e.name},t,{setup:e}))():e}const Fe=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;function De(e){Object(o.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,timeout:c,suspensible:a=!0,onError:l}=e;let u,d=null,p=0;const h=()=>{let e;return d||(e=d=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((p++,d=null,h())),()=>n(e),p+1)});throw e}).then(t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t)))};return Me({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return u},setup(){const e=dr;if(u)return()=>Ve(u,e);const t=t=>{d=null,f(t,e,13,!i)};if(a&&e.suspense||Or)return h().then(t=>()=>Ve(t,e)).catch(e=>(t(e),()=>i?Jn(i,{error:e}):null));const o=Object(r.ref)(!1),l=Object(r.ref)(),p=Object(r.ref)(!!s);return s&&setTimeout(()=>{p.value=!1},s),null!=c&&setTimeout(()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${c}ms.`);t(e),l.value=e}},c),h().then(()=>{o.value=!0,e.parent&&Be(e.parent.vnode)&&(e.parent.effect.dirty=!0,w(e.parent.update))}).catch(e=>{t(e),l.value=e}),()=>o.value&&u?Ve(u,e):l.value&&i?Jn(i,{error:l.value}):n&&!p.value?Jn(n):void 0}})}function Ve(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=Jn(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Be=e=>e.type.__isKeepAlive,$e={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=pr(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,s=new Set;let c=null;const a=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:p}}}=r,f=p("div");function h(e){Ke(e),d(e,n,a,!0)}function m(e){i.forEach((t,n)=>{const r=kr(t.type);!r||e&&e(r)||v(n)})}function v(e){const t=i.get(e);c&&Yn(t,c)?c&&Ke(c):h(t),i.delete(e),s.delete(e)}r.activate=(e,t,n,r,i)=>{const s=e.component;u(e,t,n,0,a),l(s.vnode,e,t,n,s,a,r,e.slotScopeIds,i),hn(()=>{s.isDeactivated=!1,s.a&&Object(o.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&cr(t,s.parent,e)},a)},r.deactivate=e=>{const t=e.component;u(e,f,null,1,a),hn(()=>{t.da&&Object(o.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&cr(n,t.parent,e),t.isDeactivated=!0},a)},ge(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Ue(e,t)),t&&m(e=>!Ue(t,e))},{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&i.set(g,Ge(n.subTree))};return Ze(y),et(y),tt(()=>{i.forEach(e=>{const{subTree:t,suspense:r}=n,o=Ge(t);if(e.type!==o.type||e.key!==o.key)h(e);else{Ke(o);const e=o.component.da;e&&hn(e,r)}})}),()=>{if(g=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return c=null,n;if(!(Hn(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return c=null,r;let o=Ge(r);const a=o.type,l=kr(Fe(o)?o.type.__asyncResolved||{}:a),{include:u,exclude:d,max:p}=e;if(u&&(!l||!Ue(u,l))||d&&l&&Ue(d,l))return c=o,r;const f=null==o.key?a:o.key,h=i.get(f);return o.el&&(o=Qn(o),128&r.shapeFlag&&(r.ssContent=o)),g=f,h?(o.el=h.el,o.component=h.component,o.transition&&Re(o,o.transition),o.shapeFlag|=512,s.delete(f),s.add(f)):(s.add(f),p&&s.size>parseInt(p,10)&&v(s.values().next().value)),o.shapeFlag|=256,c=o,re(r.type)?r:o}}};function Ue(e,t){return Object(o.isArray)(e)?e.some(e=>Ue(e,t)):Object(o.isString)(e)?e.split(",").includes(t):!!Object(o.isRegExp)(e)&&e.test(t)}function He(e,t){We(e,"a",t)}function Ye(e,t){We(e,"da",t)}function We(e,t,n=dr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(qe(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Be(e.parent.vnode)&&ze(r,t,n,e),e=e.parent}}function ze(e,t,n,r){const i=qe(t,e,r,!0);nt(()=>{Object(o.remove)(r[t],i)},n)}function Ke(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ge(e){return 128&e.shapeFlag?e.ssContent:e}function qe(e,t,n=dr,o=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Object(r.pauseTracking)();const i=mr(n),s=p(t,n,e,o);return i(),Object(r.resetTracking)(),s});return o?i.unshift(s):i.push(s),s}}const Je=e=>(t,n=dr)=>(!Or||"sp"===e)&&qe(e,(...e)=>t(...e),n),Xe=Je("bm"),Ze=Je("m"),Qe=Je("bu"),et=Je("u"),tt=Je("bum"),nt=Je("um"),rt=Je("sp"),ot=Je("rtg"),it=Je("rtc");function st(e,t=dr){qe("ec",e,t)}function ct(e,t,n,r){let i;const s=n&&n[r];if(Object(o.isArray)(e)||Object(o.isString)(e)){i=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,s&&s[n]));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function lt(e,t,n={},r,o){if(D.isCE||D.parent&&Fe(D.parent)&&D.parent.isCE)return"default"!==t&&(n.name=t),Jn("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Ln();const s=i&&function e(t){return t.some(t=>!Hn(t)||t.type!==An&&!(t.type===kn&&!e(t.children)))?t:null}(i(n)),c=Un(kn,{key:n.key||s&&s.key||"_"+t},s||(r?r():[]),s&&1===e._?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function ut(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?"on:"+r:Object(o.toHandlerKey)(r)]=e[r];return n}const dt=e=>e?gr(e)?Tr(e)||e.proxy:dt(e.parent):null,pt=Object(o.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dt(e.parent),$root:e=>dt(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Lt(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,w(e.update)}),$nextTick:e=>e.n||(e.n=S.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?be.bind(e):o.NOOP}),ft=(e,t)=>e!==o.EMPTY_OBJ&&!e.__isScriptSetup&&Object(o.hasOwn)(e,t),ht={get({_:e},t){const{ctx:n,setupState:i,data:s,props:c,accessCache:a,type:l,appContext:u}=e;let d;if("$"!==t[0]){const r=a[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return c[t]}else{if(ft(i,t))return a[t]=1,i[t];if(s!==o.EMPTY_OBJ&&Object(o.hasOwn)(s,t))return a[t]=2,s[t];if((d=e.propsOptions[0])&&Object(o.hasOwn)(d,t))return a[t]=3,c[t];if(n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t))return a[t]=4,n[t];__VUE_OPTIONS_API__&&!At||(a[t]=0)}}const p=pt[t];let f,h;return p?("$attrs"===t&&Object(r.track)(e,"get",t),p(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t)?(a[t]=4,n[t]):(h=u.config.globalProperties,Object(o.hasOwn)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return ft(i,t)?(i[t]=n,!0):r!==o.EMPTY_OBJ&&Object(o.hasOwn)(r,t)?(r[t]=n,!0):!Object(o.hasOwn)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},c){let a;return!!n[c]||e!==o.EMPTY_OBJ&&Object(o.hasOwn)(e,c)||ft(t,c)||(a=s[0])&&Object(o.hasOwn)(a,c)||Object(o.hasOwn)(r,c)||Object(o.hasOwn)(pt,c)||Object(o.hasOwn)(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(o.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const mt=Object(o.extend)({},ht,{get(e,t){if(t!==Symbol.unscopables)return ht.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!Object(o.isGloballyAllowed)(t)});function vt(){return null}function gt(){return null}function yt(e){0}function bt(e){0}function Ot(){return null}function _t(){0}function Et(e,t){return null}function St(){return Nt().slots}function wt(){return Nt().attrs}function Nt(){const e=pr();return e.setupContext||(e.setupContext=xr(e))}function xt(e){return Object(o.isArray)(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Tt(e,t){const n=xt(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?Object(o.isArray)(r)||Object(o.isFunction)(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t["__skip_"+e]&&(r.skipFactory=!0)}return n}function jt(e,t){return e&&t?Object(o.isArray)(e)&&Object(o.isArray)(t)?e.concat(t):Object(o.extend)({},xt(e),xt(t)):e||t}function kt(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ct(e){const t=pr();let n=e();return vr(),Object(o.isPromise)(n)&&(n=n.catch(e=>{throw mr(t),e})),[n,()=>mr(t)]}let At=!0;function It(e){const t=Lt(e),n=e.proxy,i=e.ctx;At=!1,t.beforeCreate&&Pt(t.beforeCreate,e,"bc");const{data:s,computed:c,methods:a,watch:l,provide:u,inject:d,created:p,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:O,destroyed:_,unmounted:E,render:S,renderTracked:w,renderTriggered:N,errorCaptured:x,serverPrefetch:T,expose:j,inheritAttrs:k,components:C,directives:A,filters:I}=t;if(d&&function(e,t,n=o.NOOP){Object(o.isArray)(e)&&(e=Vt(e));for(const n in e){const i=e[n];let s;s=Object(o.isObject)(i)?"default"in i?Gt(i.from||n,i.default,!0):Gt(i.from||n):Gt(i),Object(r.isRef)(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(d,i,null),a)for(const e in a){const t=a[e];Object(o.isFunction)(t)&&(i[e]=t.bind(n))}if(s){0;const t=s.call(n,n);0,Object(o.isObject)(t)&&(e.data=Object(r.reactive)(t))}if(At=!0,c)for(const e in c){const t=c[e],r=Object(o.isFunction)(t)?t.bind(n,n):Object(o.isFunction)(t.get)?t.get.bind(n,n):o.NOOP;0;const s=!Object(o.isFunction)(t)&&Object(o.isFunction)(t.set)?t.set.bind(n):o.NOOP,a=Ir({get:r,set:s});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const e in l)Rt(l[e],i,n,e);if(u){const e=Object(o.isFunction)(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{Kt(t,e[t])})}function P(e,t){Object(o.isArray)(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(p&&Pt(p,e,"c"),P(Xe,f),P(Ze,h),P(Qe,m),P(et,v),P(He,g),P(Ye,y),P(st,x),P(it,w),P(ot,N),P(tt,O),P(nt,E),P(rt,T),Object(o.isArray)(j))if(j.length){const t=e.exposed||(e.exposed={});j.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});S&&e.render===o.NOOP&&(e.render=S),null!=k&&(e.inheritAttrs=k),C&&(e.components=C),A&&(e.directives=A)}function Pt(e,t,n){p(Object(o.isArray)(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Rt(e,t,n,r){const i=r.includes(".")?Oe(n,r):()=>n[r];if(Object(o.isString)(e)){const n=t[e];Object(o.isFunction)(n)&&ge(i,n)}else if(Object(o.isFunction)(e))ge(i,e.bind(n));else if(Object(o.isObject)(e))if(Object(o.isArray)(e))e.forEach(e=>Rt(e,t,n,r));else{const r=Object(o.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];Object(o.isFunction)(r)&&ge(i,r,e)}else 0}function Lt(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:c}}=e.appContext,a=s.get(t);let l;return a?l=a:i.length||n||r?(l={},i.length&&i.forEach(e=>Mt(l,e,c,!0)),Mt(l,t,c)):l=t,Object(o.isObject)(t)&&s.set(t,l),l}function Mt(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Mt(e,i,n,!0),o&&o.forEach(t=>Mt(e,t,n,!0));for(const o in t)if(r&&"expose"===o);else{const r=Ft[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const Ft={data:Dt,props:Ut,emits:Ut,methods:$t,computed:$t,beforeCreate:Bt,created:Bt,beforeMount:Bt,mounted:Bt,beforeUpdate:Bt,updated:Bt,beforeDestroy:Bt,beforeUnmount:Bt,destroyed:Bt,unmounted:Bt,activated:Bt,deactivated:Bt,errorCaptured:Bt,serverPrefetch:Bt,components:$t,directives:$t,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Object(o.extend)(Object.create(null),e);for(const r in t)n[r]=Bt(e[r],t[r]);return n},provide:Dt,inject:function(e,t){return $t(Vt(e),Vt(t))}};function Dt(e,t){return t?e?function(){return Object(o.extend)(Object(o.isFunction)(e)?e.call(this,this):e,Object(o.isFunction)(t)?t.call(this,this):t)}:t:e}function Vt(e){if(Object(o.isArray)(e)){const t={};for(let n=0;n(s.has(e)||(e&&Object(o.isFunction)(e.install)?(s.add(e),e.install(a,...t)):Object(o.isFunction)(e)&&(s.add(e),e(a,...t))),a),mixin:e=>(__VUE_OPTIONS_API__&&(i.mixins.includes(e)||i.mixins.push(e)),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(o,s,l){if(!c){0;const u=Jn(n,r);return u.appContext=i,!0===l?l="svg":!1===l&&(l=void 0),s&&t?t(u,o):e(u,o,l),c=!0,a._container=o,o.__vue_app__=a,Tr(u.component)||u.component.proxy}},unmount(){c&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a),runWithContext(e){const t=zt;zt=a;try{return e()}finally{zt=t}}};return a}}let zt=null;function Kt(e,t){if(dr){let n=dr.provides;const r=dr.parent&&dr.parent.provides;r===n&&(n=dr.provides=Object.create(r)),n[e]=t}else 0}function Gt(e,t,n=!1){const r=dr||D;if(r||zt){const i=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:zt._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Object(o.isFunction)(t)?t.call(r&&r.proxy):t}else 0}function qt(){return!!(dr||D||zt)}function Jt(e,t,n,i){const[s,c]=e.propsOptions;let a,l=!1;if(t)for(let r in t){if(Object(o.isReservedProp)(r))continue;const u=t[r];let d;s&&Object(o.hasOwn)(s,d=Object(o.camelize)(r))?c&&c.includes(d)?(a||(a={}))[d]=u:n[d]=u:F(e.emitsOptions,r)||r in i&&u===i[r]||(i[r]=u,l=!0)}if(c){const t=Object(r.toRaw)(n),i=a||o.EMPTY_OBJ;for(let r=0;r{l=!0;const[n,r]=Zt(e,t,!0);Object(o.extend)(c,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!l)return Object(o.isObject)(e)&&r.set(e,o.EMPTY_ARR),o.EMPTY_ARR;if(Object(o.isArray)(s))for(let e=0;e-1,r[1]=n<0||e-1||Object(o.hasOwn)(r,"default"))&&a.push(t)}}}}const u=[c,a];return Object(o.isObject)(e)&&r.set(e,u),u}function Qt(e){return"$"!==e[0]&&!Object(o.isReservedProp)(e)}function en(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function tn(e,t){return en(e)===en(t)}function nn(e,t){return Object(o.isArray)(t)?t.findIndex(t=>tn(t,e)):Object(o.isFunction)(t)&&tn(t,e)?0:-1}const rn=e=>"_"===e[0]||"$stable"===e,on=e=>Object(o.isArray)(e)?e.map(rr):[rr(e)],sn=(e,t,n)=>{if(t._n)return t;const r=Y((...e)=>on(t(...e)),n);return r._c=!1,r},cn=(e,t,n)=>{const r=e._ctx;for(const n in e){if(rn(n))continue;const i=e[n];if(Object(o.isFunction)(i))t[n]=sn(0,i,r);else if(null!=i){0;const e=on(i);t[n]=()=>e}}},an=(e,t)=>{const n=on(t);e.slots.default=()=>n};function ln(e,t,n,i,s=!1){if(Object(o.isArray)(e))return void e.forEach((e,r)=>ln(e,t&&(Object(o.isArray)(t)?t[r]:t),n,i,s));if(Fe(i)&&!s)return;const c=4&i.shapeFlag?Tr(i.component)||i.component.proxy:i.el,a=s?null:c,{i:l,r:u}=e;const p=t&&t.r,f=l.refs===o.EMPTY_OBJ?l.refs={}:l.refs,h=l.setupState;if(null!=p&&p!==u&&(Object(o.isString)(p)?(f[p]=null,Object(o.hasOwn)(h,p)&&(h[p]=null)):Object(r.isRef)(p)&&(p.value=null)),Object(o.isFunction)(u))d(u,l,12,[a,f]);else{const t=Object(o.isString)(u),i=Object(r.isRef)(u);if(t||i){const r=()=>{if(e.f){const n=t?Object(o.hasOwn)(h,u)?h[u]:f[u]:u.value;s?Object(o.isArray)(n)&&Object(o.remove)(n,c):Object(o.isArray)(n)?n.includes(c)||n.push(c):t?(f[u]=[c],Object(o.hasOwn)(h,u)&&(h[u]=f[u])):(u.value=[c],e.k&&(f[e.k]=u.value))}else t?(f[u]=a,Object(o.hasOwn)(h,u)&&(h[u]=a)):i&&(u.value=a,e.k&&(f[e.k]=a))};a?(r.id=-1,hn(r,n)):r()}else 0}}let un=!1;const dn=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,pn=e=>8===e.nodeType;function fn(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:c,parentNode:a,remove:l,insert:u,createComment:d}}=e,p=(n,r,o,l,d,O=!1)=>{const _=pn(n)&&"["===n.data,E=()=>v(n,r,o,l,d,_),{type:S,ref:w,shapeFlag:N,patchFlag:x}=r;let T=n.nodeType;r.el=n,-2===x&&(O=!1,r.dynamicChildren=null);let j=null;switch(S){case Cn:3!==T?""===r.children?(u(r.el=i(""),a(n),n),j=n):j=E():(n.data!==r.children&&(un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),n.data=r.children),j=c(n));break;case An:b(n)?(j=c(n),y(r.el=n.content.firstChild,n,o)):j=8!==T||_?E():c(n);break;case In:if(_&&(T=(n=c(n)).nodeType),1===T||3===T){j=n;const e=!r.children.length;for(let t=0;t{a=a||!!t.dynamicChildren;const{type:u,props:d,patchFlag:p,shapeFlag:f,dirs:m,transition:v}=t,g="input"===u||"option"===u;if(g||-1!==p){m&&Se(t,null,n,"created");let u,O=!1;if(b(e)){O=On(i,v)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;O&&v.beforeEnter(r),y(r,e,n),t.el=e=r}if(16&f&&(!d||!d.innerHTML&&!d.textContent)){let r=h(e.firstChild,t,e,n,i,c,a),o=!1;for(;r;){un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!o&&(s("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),o=!0);const t=r;r=r.nextSibling,l(t)}}else 8&f&&e.textContent!==t.children&&(un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),e.textContent=t.children);if(d)if(g||!a||48&p)for(const t in d)(g&&(t.endsWith("value")||"indeterminate"===t)||Object(o.isOn)(t)&&!Object(o.isReservedProp)(t)||"."===t[0])&&r(e,t,null,d[t],void 0,void 0,n);else d.onClick&&r(e,"onClick",null,d.onClick,void 0,void 0,n);(u=d&&d.onVnodeBeforeMount)&&cr(u,n,t),m&&Se(t,null,n,"beforeMount"),((u=d&&d.onVnodeMounted)||m||O)&&le(()=>{u&&cr(u,n,t),O&&v.enter(e),m&&Se(t,null,n,"mounted")},i)}return e.nextSibling},h=(e,t,r,o,i,c,a)=>{a=a||!!t.dynamicChildren;const l=t.children,u=l.length;let d=!1;for(let t=0;t{const{slotScopeIds:s}=t;s&&(o=o?o.concat(s):s);const l=a(e),p=h(c(e),t,l,n,r,o,i);return p&&pn(p)&&"]"===p.data?c(t.anchor=p):(un=!0,u(t.anchor=d("]"),l,p),p)},v=(e,t,r,o,i,u)=>{if(un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":pn(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),t.el=null,u){const t=g(e);for(;;){const n=c(e);if(!n||n===t)break;l(n)}}const d=c(e),p=a(e);return l(e),n(null,t,p,d,r,o,dn(p),i),d},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=c(e))&&pn(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return c(e);r--}return e},y=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},b=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),j(),void(t._vnode=e);un=!1,p(t.firstChild,e,null,null,null),j(),t._vnode=e,un&&console.error("Hydration completed but contains mismatches.")},p]}const hn=le;function mn(e){return gn(e)}function vn(e){return gn(e,fn)}function gn(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(Object(o.getGlobalThis)().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(Object(o.getGlobalThis)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);Object(o.getGlobalThis)().__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:c,createText:a,createComment:l,setText:u,setElementText:d,parentNode:p,nextSibling:f,setScopeId:h=o.NOOP,insertStaticContent:m}=e,y=(e,t,n,r=null,o=null,i=null,s,c=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!Yn(e,t)&&(r=Z(e),Y(e,o,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:d}=t;switch(l){case Cn:b(e,t,n,r);break;case An:O(e,t,n,r);break;case In:null==e&&_(t,n,r,s);break;case kn:P(e,t,n,r,o,i,s,c,a);break;default:1&d?S(e,t,n,r,o,i,s,c,a):6&d?R(e,t,n,r,o,i,s,c,a):(64&d||128&d)&&l.process(e,t,n,r,o,i,s,c,a,te)}null!=u&&o&&ln(u,e&&e.ref,i,t||e,!t)},b=(e,t,r,o)=>{if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},O=(e,t,r,o)=>{null==e?n(t.el=l(t.children||""),r,o):t.el=e.el},_=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),i(e),e=n;i(t)},S=(e,t,n,r,o,i,s,c,a)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?N(t,n,r,o,i,s,c,a):C(e,t,o,i,s,c,a)},N=(e,t,r,i,a,l,u,p)=>{let f,h;const{props:m,shapeFlag:v,transition:g,dirs:y}=e;if(f=e.el=c(e.type,l,m&&m.is,m),8&v?d(f,e.children):16&v&&k(e.children,f,null,i,a,yn(e,l),u,p),y&&Se(e,null,i,"created"),x(f,e,e.scopeId,u,i),m){for(const t in m)"value"===t||Object(o.isReservedProp)(t)||s(f,t,null,m[t],l,e.children,i,a,X);"value"in m&&s(f,"value",null,m.value,l),(h=m.onVnodeBeforeMount)&&cr(h,i,e)}y&&Se(e,null,i,"beforeMount");const b=On(a,g);b&&g.beforeEnter(f),n(f,t,r),((h=m&&m.onVnodeMounted)||b||y)&&hn(()=>{h&&cr(h,i,e),b&&g.enter(f),y&&Se(e,null,i,"mounted")},a)},x=(e,t,n,r,o)=>{if(n&&h(e,n),r)for(let t=0;t{for(let l=a;l{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:f}=t;u|=16&e.patchFlag;const h=e.props||o.EMPTY_OBJ,m=t.props||o.EMPTY_OBJ;let v;if(n&&bn(n,!1),(v=m.onVnodeBeforeUpdate)&&cr(v,n,t,e),f&&Se(t,e,n,"beforeUpdate"),n&&bn(n,!0),p?A(e.dynamicChildren,p,l,n,r,yn(t,i),c):a||B(e,t,l,null,n,r,yn(t,i),c,!1),u>0){if(16&u)I(l,t,h,m,n,r,i);else if(2&u&&h.class!==m.class&&s(l,"class",null,m.class,i),4&u&&s(l,"style",h.style,m.style,i),8&u){const o=t.dynamicProps;for(let t=0;t{v&&cr(v,n,t,e),f&&Se(t,e,n,"updated")},r)},A=(e,t,n,r,o,i,s)=>{for(let c=0;c{if(n!==r){if(n!==o.EMPTY_OBJ)for(const l in n)Object(o.isReservedProp)(l)||l in r||s(e,l,n[l],null,a,t.children,i,c,X);for(const l in r){if(Object(o.isReservedProp)(l))continue;const u=r[l],d=n[l];u!==d&&"value"!==l&&s(e,l,d,u,a,t.children,i,c,X)}"value"in r&&s(e,"value",n.value,r.value,a)}},P=(e,t,r,o,i,s,c,l,u)=>{const d=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(d,r,o),n(p,r,o),k(t.children||[],r,p,i,s,c,l,u)):f>0&&64&f&&h&&e.dynamicChildren?(A(e.dynamicChildren,h,r,i,s,c,l),(null!=t.key||i&&t===i.subTree)&&_n(e,t,!0)):B(e,t,r,p,i,s,c,l,u)},R=(e,t,n,r,o,i,s,c,a)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,a):L(t,n,r,o,i,s,a):M(e,t,a)},L=(e,t,n,r,o,i,s)=>{const c=e.component=ur(e,r,o);if(Be(e)&&(c.ctx.renderer=te),_r(c),c.asyncDep){if(o&&o.registerDep(c,D),!e.el){const e=c.subTree=Jn(An);O(null,e,t,n)}}else D(c,e,t,n,o,i,s)},M=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:c,patchFlag:a}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||q(r,s,l):!!s);if(1024&a)return!0;if(16&a)return r?q(r,s,l):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;tg&&v.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},D=(e,t,n,i,s,c,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:i,vnode:u}=e;{const n=function e(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:e(n)}(e);if(n)return t&&(t.el=u.el,V(e,t,a)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let d,f=t;0,bn(e,!1),t?(t.el=u.el,V(e,t,a)):t=u,n&&Object(o.invokeArrayFns)(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&cr(d,i,t,u),bn(e,!0);const h=W(e);0;const m=e.subTree;e.subTree=h,y(m,h,p(m.el),Z(m),e,s,c),t.el=h.el,null===f&&J(e,h.el),r&&hn(r,s),(d=t.props&&t.props.onVnodeUpdated)&&hn(()=>cr(d,i,t,u),s)}else{let r;const{el:a,props:l}=t,{bm:u,m:d,parent:p}=e,f=Fe(t);if(bn(e,!1),u&&Object(o.invokeArrayFns)(u),!f&&(r=l&&l.onVnodeBeforeMount)&&cr(r,p,t),bn(e,!0),a&&re){const n=()=>{e.subTree=W(e),re(a,e.subTree,e,s,null)};f?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{0;const r=e.subTree=W(e);0,y(null,r,n,i,e,s,c),t.el=r.el}if(d&&hn(d,s),!f&&(r=l&&l.onVnodeMounted)){const e=t;hn(()=>cr(r,p,e),s)}(256&t.shapeFlag||p&&Fe(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&hn(e.a,s),e.isMounted=!0,t=n=i=null}},u=e.effect=new r.ReactiveEffect(l,o.NOOP,()=>w(d),e.scope),d=e.update=()=>{u.dirty&&u.run()};d.id=e.uid,bn(e,!0),d()},V=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:s,attrs:c,vnode:{patchFlag:a}}=e,l=Object(r.toRaw)(s),[u]=e.propsOptions;let d=!1;if(!(i||a>0)||16&a){let r;Jt(e,t,s,c)&&(d=!0);for(const i in l)t&&(Object(o.hasOwn)(t,i)||(r=Object(o.hyphenate)(i))!==i&&Object(o.hasOwn)(t,r))||(u?!n||void 0===n[i]&&void 0===n[r]||(s[i]=Xt(u,l,i,void 0,e,!0)):delete s[i]);if(c!==l)for(const e in c)t&&Object(o.hasOwn)(t,e)||(delete c[e],d=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:r,slots:i}=e;let s=!0,c=o.EMPTY_OBJ;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(Object(o.extend)(i,t),n||1!==e||delete i._):(s=!t.$stable,cn(t,i)),c=t}else t&&(an(e,t),c={default:1});if(s)for(const e in i)rn(e)||null!=c[e]||delete i[e]})(e,t.children,n),Object(r.pauseTracking)(),T(e),Object(r.resetTracking)()},B=(e,t,n,r,o,i,s,c,a=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void U(l,p,n,r,o,i,s,c,a);if(256&f)return void $(l,p,n,r,o,i,s,c,a)}8&h?(16&u&&X(l,o,i),p!==l&&d(n,p)):16&u?16&h?U(l,p,n,r,o,i,s,c,a):X(l,o,i,!0):(8&u&&d(n,""),16&h&&k(p,n,r,o,i,s,c,a))},$=(e,t,n,r,i,s,c,a,l)=>{e=e||o.EMPTY_ARR,t=t||o.EMPTY_ARR;const u=e.length,d=t.length,p=Math.min(u,d);let f;for(f=0;fd?X(e,i,s,!0,!1,p):k(t,n,r,i,s,c,a,l,p)},U=(e,t,n,r,i,s,c,a,l)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const r=e[u],o=t[u]=l?or(t[u]):rr(t[u]);if(!Yn(r,o))break;y(r,o,n,null,i,s,c,a,l),u++}for(;u<=p&&u<=f;){const r=e[p],o=t[f]=l?or(t[f]):rr(t[f]);if(!Yn(r,o))break;y(r,o,n,null,i,s,c,a,l),p--,f--}if(u>p){if(u<=f){const e=f+1,o=ef)for(;u<=p;)Y(e[u],i,s,!0),u++;else{const h=u,m=u,v=new Map;for(u=m;u<=f;u++){const e=t[u]=l?or(t[u]):rr(t[u]);null!=e.key&&v.set(e.key,u)}let g,b=0;const O=f-m+1;let _=!1,E=0;const S=new Array(O);for(u=0;u=O){Y(r,i,s,!0);continue}let o;if(null!=r.key)o=v.get(r.key);else for(g=m;g<=f;g++)if(0===S[g-m]&&Yn(r,t[g])){o=g;break}void 0===o?Y(r,i,s,!0):(S[o-m]=u+1,o>=E?E=o:_=!0,y(r,t[o],n,null,i,s,c,a,l),b++)}const w=_?function(e){const t=e.slice(),n=[0];let r,o,i,s,c;const a=e.length;for(r=0;r>1,e[n[c]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):o.EMPTY_ARR;for(g=w.length-1,u=O-1;u>=0;u--){const e=m+u,o=t[e],p=e+1{const{el:s,type:c,transition:a,children:l,shapeFlag:u}=e;if(6&u)return void H(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void c.move(e,t,r,te);if(c===kn){n(s,t,r);for(let e=0;e{let i;for(;e&&e!==t;)i=f(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);if(2!==o&&1&u&&a)if(0===o)a.beforeEnter(s),n(s,t,r),hn(()=>a.enter(s),i);else{const{leave:e,delayLeave:o,afterLeave:i}=a,c=()=>n(s,t,r),l=()=>{e(s,()=>{c(),i&&i()})};o?o(s,c,l):l()}else n(s,t,r)},Y=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:c,children:a,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=c&&ln(c,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!Fe(e);let m;if(h&&(m=s&&s.onVnodeBeforeUnmount)&&cr(m,t,e),6&u)G(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);f&&Se(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,te,r):l&&(i!==kn||d>0&&64&d)?X(l,t,n,!1,!0):(i===kn&&384&d||!o&&16&u)&&X(a,t,n),r&&z(e)}(h&&(m=s&&s.onVnodeUnmounted)||f)&&hn(()=>{m&&cr(m,t,e),f&&Se(e,null,t,"unmounted")},n)},z=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===kn)return void K(n,r);if(t===In)return void E(e);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=f(e),i(e),e=n;i(t)},G=(e,t,n)=>{const{bum:r,scope:i,update:s,subTree:c,um:a}=e;r&&Object(o.invokeArrayFns)(r),i.stop(),s&&(s.active=!1,Y(c,e,t,n)),a&&hn(a,t),hn(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el);let Q=!1;const ee=(e,t,n)=>{null==e?t._vnode&&Y(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),Q||(Q=!0,T(),j(),Q=!1),t._vnode=e},te={p:y,um:Y,m:H,r:z,mt:L,mc:k,pc:B,pbc:A,n:Z,o:e};let ne,re;return t&&([ne,re]=t(te)),{render:ee,hydrate:ne,createApp:Wt(ee,ne)}}function yn({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function On(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _n(e,t,n=!1){const r=e.children,i=t.children;if(Object(o.isArray)(r)&&Object(o.isArray)(i))for(let e=0;ee&&(e.disabled||""===e.disabled),Sn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,wn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Nn=(e,t)=>{const n=e&&e.to;if(Object(o.isString)(n)){if(t){const e=t(n);return e}return null}return n};function xn(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:c,shapeFlag:a,children:l,props:u}=e,d=2===i;if(d&&r(s,t,n),(!d||En(u))&&16&a)for(let e=0;e{16&y&&u(b,e,t,o,i,s,c,a)};g?v(n,l):d&&v(d,p)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=En(e.props),v=m?n:u,y=m?r:f;if("svg"===s||Sn(u)?s="svg":("mathml"===s||wn(u))&&(s="mathml"),O?(p(e.dynamicChildren,O,v,o,i,s,c),_n(e,t,!0)):a||d(e,t,v,y,o,i,s,c,!1),g)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xn(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Nn(t.props,h);e&&xn(t,e,null,l,0)}else m&&xn(t,u,f,l,1)}jn(t)},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:c,children:a,anchor:l,targetAnchor:u,target:d,props:p}=e;if(d&&i(u),s&&i(l),16&c){const e=s||!En(p);for(let r=0;r0?Rn||o.EMPTY_ARR:null,Mn(),Dn>0&&Rn&&Rn.push(e),e}function $n(e,t,n,r,o,i){return Bn(qn(e,t,n,r,o,i,!0))}function Un(e,t,n,r,o){return Bn(Jn(e,t,n,r,o,!0))}function Hn(e){return!!e&&!0===e.__v_isVNode}function Yn(e,t){return e.type===t.type&&e.key===t.key}function Wn(e){Fn=e}const zn="__vInternal",Kn=({key:e})=>null!=e?e:null,Gn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Object(o.isString)(e)||Object(r.isRef)(e)||Object(o.isFunction)(e)?{i:D,r:e,k:t,f:!!n}:e:null);function qn(e,t=null,n=null,r=0,i=null,s=(e===kn?0:1),c=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Kn(t),ref:t&&Gn(t),scopeId:V,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:D};return a?(ir(l,n),128&s&&e.normalize(l)):n&&(l.shapeFlag|=Object(o.isString)(n)?8:16),Dn>0&&!c&&Rn&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&Rn.push(l),l}const Jn=Xn;function Xn(e,t=null,n=null,i=0,s=null,c=!1){if(e&&e!==Z||(e=An),Hn(e)){const r=Qn(e,t,!0);return n&&ir(r,n),Dn>0&&!c&&Rn&&(6&r.shapeFlag?Rn[Rn.indexOf(e)]=r:Rn.push(r)),r.patchFlag|=-2,r}if(Ar(e)&&(e=e.__vccOpts),t){t=Zn(t);let{class:e,style:n}=t;e&&!Object(o.isString)(e)&&(t.class=Object(o.normalizeClass)(e)),Object(o.isObject)(n)&&(Object(r.isProxy)(n)&&!Object(o.isArray)(n)&&(n=Object(o.extend)({},n)),t.style=Object(o.normalizeStyle)(n))}return qn(e,t,n,i,s,Object(o.isString)(e)?1:re(e)?128:(e=>e.__isTeleport)(e)?64:Object(o.isObject)(e)?4:Object(o.isFunction)(e)?2:0,c,!0)}function Zn(e){return e?Object(r.isProxy)(e)||zn in e?Object(o.extend)({},e):e:null}function Qn(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:c}=e,a=t?sr(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Kn(a),ref:t&&t.ref?n&&i?Object(o.isArray)(i)?i.concat(Gn(t)):[i,Gn(t)]:Gn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==kn?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function er(e=" ",t=0){return Jn(Cn,null,e,t)}function tr(e,t){const n=Jn(In,null,e);return n.staticCount=t,n}function nr(e="",t=!1){return t?(Ln(),Un(An,null,e)):Jn(An,null,e)}function rr(e){return null==e||"boolean"==typeof e?Jn(An):Object(o.isArray)(e)?Jn(kn,null,e.slice()):"object"==typeof e?or(e):Jn(Cn,null,String(e))}function or(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Qn(e)}function ir(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(Object(o.isArray)(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),ir(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||zn in t?3===r&&D&&(1===D.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=D}}else Object(o.isFunction)(t)?(t={default:t,_ctx:D},n=32):(t=String(t),64&r?(n=16,t=[er(t)]):n=8);e.children=t,e.shapeFlag|=n}function sr(...e){const t={};for(let n=0;ndr||D;let fr,hr;{const e=Object(o.getGlobalThis)(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};fr=t("__VUE_INSTANCE_SETTERS__",e=>dr=e),hr=t("__VUE_SSR_SETTERS__",e=>Or=e)}const mr=e=>{const t=dr;return fr(e),e.scope.on(),()=>{e.scope.off(),fr(t)}},vr=()=>{dr&&dr.scope.off(),fr(null)};function gr(e){return 4&e.vnode.shapeFlag}let yr,br,Or=!1;function _r(e,t=!1){t&&hr(t);const{props:n,children:i}=e.vnode,s=gr(e);!function(e,t,n,i=!1){const s={},c={};Object(o.def)(c,zn,1),e.propsDefaults=Object.create(null),Jt(e,t,s,c);for(const t in e.propsOptions[0])t in s||(s[t]=void 0);n?e.props=i?s:Object(r.shallowReactive)(s):e.type.props?e.props=s:e.props=c,e.attrs=c}(e,n,s,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Object(r.toRaw)(t),Object(o.def)(t,"_",n)):cn(t,e.slots={})}else e.slots={},t&&an(e,t);Object(o.def)(e.slots,zn,1)})(e,i);const c=s?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=Object(r.markRaw)(new Proxy(e.ctx,ht)),!1;const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?xr(e):null,s=mr(e);Object(r.pauseTracking)();const c=d(i,e,0,[e.props,n]);if(Object(r.resetTracking)(),s(),Object(o.isPromise)(c)){if(c.then(vr,vr),t)return c.then(n=>{Er(e,n,t)}).catch(t=>{f(t,e,0)});e.asyncDep=c}else Er(e,c,t)}else Nr(e,t)}(e,t):void 0;return t&&hr(!1),c}function Er(e,t,n){Object(o.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(o.isObject)(t)&&(e.setupState=Object(r.proxyRefs)(t)),Nr(e,n)}function Sr(e){yr=e,br=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,mt))}}const wr=()=>!yr;function Nr(e,t,n){const i=e.type;if(!e.render){if(!t&&yr&&!i.render){const t=i.template||Lt(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:c}=i,a=Object(o.extend)(Object(o.extend)({isCustomElement:n,delimiters:s},r),c);i.render=yr(t,a)}}e.render=i.render||o.NOOP,br&&br(e)}if(__VUE_OPTIONS_API__){const t=mr(e);Object(r.pauseTracking)();try{It(e)}finally{Object(r.resetTracking)(),t()}}}function xr(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Object(r.track)(e,"get","$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}function Tr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Object(r.proxyRefs)(Object(r.markRaw)(e.exposed)),{get:(t,n)=>n in t?t[n]:n in pt?pt[n](e):void 0,has:(e,t)=>t in e||t in pt}))}const jr=/(?:^|[-_])(\w)/g;function kr(e,t=!0){return Object(o.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Cr(e,t,n=!1){let r=kr(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(jr,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function Ar(e){return Object(o.isFunction)(e)&&"__vccOpts"in e}const Ir=(e,t)=>Object(r.computed)(e,t,Or);function Pr(e,t,n=o.EMPTY_OBJ){const i=pr();const s=Object(o.camelize)(t),c=Object(o.hyphenate)(t),a=Object(r.customRef)((r,a)=>{let l;return me(()=>{const n=e[t];Object(o.hasChanged)(l,n)&&(l=n,a())}),{get:()=>(r(),n.get?n.get(l):l),set(e){const r=i.vnode.props;r&&(t in r||s in r||c in r)&&("onUpdate:"+t in r||"onUpdate:"+s in r||"onUpdate:"+c in r)||!Object(o.hasChanged)(e,l)||(l=e,a()),i.emit("update:"+t,n.set?n.set(e):e)}}}),l="modelValue"===t?"modelModifiers":t+"Modifiers";return a[Symbol.iterator]=()=>{let t=0;return{next:()=>t<2?{value:t++?e[l]||{}:a,done:!1}:{done:!0}}},a}function Rr(e,t,n){const r=arguments.length;return 2===r?Object(o.isObject)(t)&&!Object(o.isArray)(t)?Hn(t)?Jn(e,null,[t]):Jn(e,t):Jn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Hn(n)&&(n=[n]),Jn(e,t,n))}function Lr(){return void 0}function Mr(e,t,n,r){const o=n[r];if(o&&Fr(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function Fr(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&Rn&&Rn.push(e),!0}const Dr="3.4.21",Vr=o.NOOP,Br=u,$r=I,Ur=function e(t,n){var r,o;if(I=t,I)I.enabled=!0,P.forEach(({event:e,args:t})=>I.emit(e,...t)),P=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{e(t,n)}),setTimeout(()=>{I||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,R=!0,P=[])},3e3)}else R=!0,P=[]},Hr={createComponentInstance:ur,setupComponent:_r,renderComponentRoot:W,setCurrentRenderingInstance:B,isVNode:Hn,normalizeVNode:rr},Yr=null,Wr=null,zr=null},"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":function(e,t,n){"use strict";n.r(t),function(e){ +const o=["mode","valueType","startValue","toValue"],i=["transform"],s=["transform"];function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof o){var s=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,s)),o.apply(this,e)}))}return e[Symbol.replace].call(this,n,o)},d.apply(this,arguments)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var h=n(0),m=n(7);const v={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},g=(...e)=>`\\(\\s*(${e.join(")\\s*,\\s*(")})\\s*\\)`,y="[-+]?\\d*\\.?\\d+",b={rgb:new RegExp("rgb"+g(y,y,y)),rgba:new RegExp("rgba"+g(y,y,y,y)),hsl:new RegExp("hsl"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",y)),hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex4:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},O=e=>{const t=parseInt(e,10);return t<0?0:t>255?255:t},_=e=>{const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)},E=(e,t,n)=>{let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e},S=(e,t,n)=>{const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=E(o,r,e+1/3),s=E(o,r,e),c=E(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*c)<<8},w=e=>(parseFloat(e)%360+360)%360/360,N=e=>{const t=parseFloat(e);return t<0?0:t>100?1:t/100};function T(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=b.hex6.exec(e),Array.isArray(t)?parseInt(t[1]+"ff",16)>>>0:Object.hasOwnProperty.call(v,e)?v[e]:(t=b.rgb.exec(e),Array.isArray(t)?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|255)>>>0:(t=b.rgba.exec(e),t?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|_(t[4]))>>>0:(t=b.hex3.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=b.hex8.exec(e),t?parseInt(t[1],16)>>>0:(t=b.hex4.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=b.hsl.exec(e),t?(255|S(w(t[1]),N(t[2]),N(t[3])))>>>0:(t=b.hsla.exec(e),t?(S(w(t[1]),N(t[2]),N(t[3]))|_(t[4]))>>>0:null))))))))}(e);if(null===t)throw new Error("Bad color value: "+e);return t=(t<<24|t>>>8)>>>0,t}const x={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},j={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},A="turn",C="rad",I="deg",k=/\/\*[\s\S]{0,1000}?\*\//gm;const P=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function R(e){if(Number.isInteger(e))return e;if("string"==typeof e&&e.endsWith("px")){const t=parseFloat(e.slice(0,e.indexOf("px")));Number.isNaN(t)||(e=t)}return e}function M(e){const t=(e||"").replace(/\s*/g,"").toLowerCase(),n=d(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return"";let r="180";const[o,i,s]=n;return i&&s?r=function(e,t=I){const n=parseFloat(e);let r=e||"";const[,o]=e.split(".");switch(o&&o.length>2&&(r=n.toFixed(2)),t){case A:r=""+(360*n).toFixed(2);break;case C:r=""+(180/Math.PI*n).toFixed(2)}return r}(i,s):o&&void 0!==j[o]&&(r=j[o]),r}function L(e=""){const t=e.replace(/\s+/g," ").trim(),[n,r]=t.split(/\s+(?![^(]*?\))/),o=/^([+-]?\d+\.?\d*)%$/g;return!n||o.exec(n)||r?n&&o.exec(r)?{ratio:parseFloat(r.split("%")[0])/100,color:T(n)}:null:{color:T(n)}}function F(e,t){let n=t,r=e;if(0===t.indexOf("linear-gradient")){r="linearGradient";const e=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),o=[];n={},e.forEach((e,t)=>{if(0===t){const t=M(e);if(t)n.angle=t;else{n.angle="180";const t=L(e);t&&o.push(t)}}else{const t=L(e);t&&o.push(t)}}),n.colorStopList=o}else{const e=/(?:\(['"]?)(.*?)(?:['"]?\))/.exec(t);e&&e.length>1&&([,n]=e)}return[r,n]}class D{constructor(){this.changeMap=new Map}addAttribute(e,t){const n=this.properties(e);n.attributes||(n.attributes=new Set),n.attributes.add(t)}addPseudoClass(e,t){const n=this.properties(e);n.pseudoClasses||(n.pseudoClasses=new Set),n.pseudoClasses.add(t)}properties(e){let t=this.changeMap.get(e);return t||this.changeMap.set(e,t={}),t}}class V{constructor(e){this.id={},this.class={},this.type={},this.universal=[],this.position=0,this.ruleSets=e,e.forEach(e=>e.lookupSort(this))}static removeFromMap(e,t,n){const r=e[t],o=r.findIndex(e=>{var t;return e.sel.ruleSet.hash===(null===(t=n.ruleSet)||void 0===t?void 0:t.hash)});-1!==o&&r.splice(o,1)}append(e){this.ruleSets=this.ruleSets.concat(e),e.forEach(e=>e.lookupSort(this))}delete(e){const t=[];this.ruleSets=this.ruleSets.filter(n=>n.hash!==e||(t.push(n),!1)),t.forEach(e=>e.removeSort(this))}query(e,t){const{tagName:n,id:r,classList:o,props:i}=e;let s=r,c=o;if(null==i?void 0:i.attributes){const{attributes:e}=i;c=new Set(((null==e?void 0:e.class)||"").split(" ").filter(e=>e.trim())),s=e.id}const a=[this.universal,this.id[s],this.type[n]];(null==c?void 0:c.size)&&c.forEach(e=>a.push(this.class[e]));const l=a.filter(e=>!!e).reduce((e,t)=>e.concat(t),[]),u=new D;return u.selectors=l.filter(n=>n.sel.accumulateChanges(e,u,t)).sort((e,t)=>e.sel.specificity-t.sel.specificity||e.pos-t.pos).map(e=>e.sel),u}removeById(e,t){V.removeFromMap(this.id,e,t)}sortById(e,t){this.addToMap(this.id,e,t)}removeByClass(e,t){V.removeFromMap(this.class,e,t)}sortByClass(e,t){this.addToMap(this.class,e,t)}removeByType(e,t){V.removeFromMap(this.type,e,t)}sortByType(e,t){this.addToMap(this.type,e,t)}removeAsUniversal(e){const t=this.universal.findIndex(t=>{var n,r;return(null===(n=t.sel.ruleSet)||void 0===n?void 0:n.hash)===(null===(r=e.ruleSet)||void 0===r?void 0:r.hash)});-1!==t&&this.universal.splice(t)}sortAsUniversal(e){this.universal.push(this.makeDocSelector(e))}addToMap(e,t,n){this.position+=1;const r=e[t];r?r.push(this.makeDocSelector(n)):e[t]=[this.makeDocSelector(n)]}makeDocSelector(e){return this.position+=1,{sel:e,pos:this.position}}}function B(e){return e?" "+e:""}function $(e,t){return t?(null==e?void 0:e.pId)&&t[e.pId]?t[e.pId]:null:null==e?void 0:e.parentNode}class U{constructor(){this.specificity=0}lookupSort(e,t){e.sortAsUniversal(null!=t?t:this)}removeSort(e,t){e.removeAsUniversal(null!=t?t:this)}}class H extends U{constructor(){super(...arguments),this.rarity=0}accumulateChanges(e,t){return this.dynamic?!!this.mayMatch(e)&&(this.trackChanges(e,t),!0):this.match(e)}match(e){return!!e}mayMatch(e){return this.match(e)}trackChanges(e,t){}}class Y extends H{constructor(e){super(),this.specificity=e.reduce((e,t)=>t.specificity+e,0),this.head=e.reduce((e,t)=>!e||e instanceof H&&t.rarity>e.rarity?t:e,null),this.dynamic=e.some(e=>e.dynamic),this.selectors=e}toString(){return`${this.selectors.join("")}${B(this.combinator)}`}match(e){return!!e&&this.selectors.every(t=>t.match(e))}mayMatch(e){return!!e&&this.selectors.every(t=>t.mayMatch(e))}trackChanges(e,t){this.selectors.forEach(n=>n.trackChanges(e,t))}lookupSort(e,t){this.head&&this.head instanceof H&&this.head.lookupSort(e,null!=t?t:this)}removeSort(e,t){this.head&&this.head instanceof H&&this.head.removeSort(e,null!=t?t:this)}}class W extends H{constructor(){super(),this.specificity=0,this.rarity=0,this.dynamic=!1}toString(){return"*"+B(this.combinator)}match(){return!0}}class z extends H{constructor(e){super(),this.specificity=65536,this.rarity=3,this.dynamic=!1,this.id=e}toString(){return`#${this.id}${B(this.combinator)}`}match(e){var t,n;return!!e&&((null===(n=null===(t=e.props)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.id)===this.id||e.id===this.id)}lookupSort(e,t){e.sortById(this.id,null!=t?t:this)}removeSort(e,t){e.removeById(this.id,null!=t?t:this)}}class K extends H{constructor(e){super(),this.specificity=1,this.rarity=1,this.dynamic=!1,this.cssType=e}toString(){return`${this.cssType}${B(this.combinator)}`}match(e){return!!e&&e.tagName===this.cssType}lookupSort(e,t){e.sortByType(this.cssType,null!=t?t:this)}removeSort(e,t){e.removeByType(this.cssType,null!=t?t:this)}}class G extends H{constructor(e){super(),this.specificity=256,this.rarity=2,this.dynamic=!1,this.className=e}toString(){return`.${this.className}${B(this.combinator)}`}match(e){var t,n,r;if(!e)return!1;const o=null!==(t=e.classList)&&void 0!==t?t:new Set(((null===(r=null===(n=e.props)||void 0===n?void 0:n.attributes)||void 0===r?void 0:r.class)||"").split(" ").filter(e=>e.trim()));return!(!o.size||!o.has(this.className))}lookupSort(e,t){e.sortByClass(this.className,null!=t?t:this)}removeSort(e,t){e.removeByClass(this.className,null!=t?t:this)}}class q extends H{constructor(e){super(),this.specificity=256,this.rarity=0,this.dynamic=!0,this.cssPseudoClass=e}toString(){return`:${this.cssPseudoClass}${B(this.combinator)}`}match(){return!1}mayMatch(){return!0}trackChanges(e,t){t.addPseudoClass(e,this.cssPseudoClass)}}const J=(e,t)=>{var n,r,o;const i=(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n[t])||(null===(r=null==e?void 0:e.attributes)||void 0===r?void 0:r[t]);return void 0!==i?i:Array.isArray(null==e?void 0:e.styleScopeId)&&(null===(o=null==e?void 0:e.styleScopeId)||void 0===o?void 0:o.includes(t))?t:void 0};class X extends H{constructor(e,t="",n=""){super(),this.attribute="",this.test="",this.value="",this.specificity=256,this.rarity=0,this.dynamic=!0,this.attribute=e,this.test=t,this.value=n,this.match=t?n?r=>{if(!r||!(null==r?void 0:r.attributes)&&!(null==r?void 0:r.props[e]))return!1;const o=""+J(r,e);if("="===t)return o===n;if("^="===t)return o.startsWith(n);if("$="===t)return o.endsWith(n);if("*="===t)return-1!==o.indexOf(n);if("~="===t){const e=o.split(" ");return-1!==(null==e?void 0:e.indexOf(n))}return"|="===t&&(o===n||o.startsWith(n+"-"))}:()=>!1:t=>!(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props))&&!function(e){return null==e}(J(t,e))}toString(){return`[${this.attribute}${B(this.test)}${this.test&&this.value||""}]${B(this.combinator)}`}match(e){return!!e&&!e}mayMatch(){return!0}trackChanges(e,t){t.addAttribute(e,this.attribute)}}class Z extends H{constructor(e){super(),this.specificity=0,this.rarity=4,this.dynamic=!1,this.combinator=void 0,this.error=e}toString(){return``}match(){return!1}lookupSort(){return null}removeSort(){return null}}class Q{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.parentNode),e&&n.trackChanges(e,t)})}}class ee{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.nextSibling),e&&n.trackChanges(e,t)})}}class te extends U{constructor(e){super();const t=[void 0," ",">","+","~"];let n=[],r=[];const o=[],i=[...e],s=i.length-1;this.specificity=0,this.dynamic=!1;for(let e=s;e>=0;e--){const s=i[e];if(-1===t.indexOf(s.combinator))throw console.error(`Unsupported combinator "${s.combinator}".`),new Error(`Unsupported combinator "${s.combinator}".`);void 0!==s.combinator&&" "!==s.combinator||o.push(r=[n=[]]),">"===s.combinator&&r.push(n=[]),this.specificity+=s.specificity,s.dynamic&&(this.dynamic=!0),n.push(s)}this.groups=o.map(e=>new Q(e.map(e=>new ee(e)))),this.last=i[s]}toString(){return this.selectors.join("")}match(e,t){return!!e&&this.groups.every((n,r)=>{if(0===r)return!!(e=n.match(e));let o=$(e,t);for(;o;){if(e=n.match(o))return!0;o=$(o,t)}return!1})}lookupSort(e){this.last.lookupSort(e,this)}removeSort(e){this.last.removeSort(e,this)}accumulateChanges(e,t,n){if(!this.dynamic)return this.match(e,n);const r=[],o=this.groups.every((t,o)=>{if(0===o){const n=t.mayMatch(e);return r.push({left:e,right:e}),!!(e=n)}let i=$(e,n);for(;i;){const o=t.mayMatch(i);if(o)return r.push({left:i,right:null}),e=o,!0;i=$(i,n)}return!1});if(!o)return!1;if(!t)return o;for(let e=0;e(e.ruleSet=this,null)),this.selectors=e,this.declarations=t,this.hash=n}toString(){return`${this.selectors.join(", ")} {${this.declarations.map((e,t)=>`${0===t?" ":""}${e.property}: ${e.value}`).join("; ")}}`}lookupSort(e){this.selectors.forEach(t=>t.lookupSort(e))}removeSort(e){this.selectors.forEach(t=>t.removeSort(e))}}const re=(()=>{try{return!!new RegExp("foo","y")}catch(e){return!1}})(),oe={whiteSpaceRegEx:"\\s*",universalSelectorRegEx:"\\*",simpleIdentifierSelectorRegEx:"(#|\\.|:|\\b)([_-\\w][_-\\w\\d]*)",attributeSelectorRegEx:"\\[\\s*([_-\\w][_-\\w\\d]*)\\s*(?:(=|\\^=|\\$=|\\*=|\\~=|\\|=)\\s*(?:([_-\\w][_-\\w\\d]*)|\"((?:[^\\\\\"]|\\\\(?:\"|n|r|f|\\\\|0-9a-f))*)\"|'((?:[^\\\\']|\\\\(?:'|n|r|f|\\\\|0-9a-f))*)')\\s*)?\\]",combinatorRegEx:"\\s*(\\+|~|>)?\\s*"},ie={};function se(e,t,n){let r="";re&&(r="gy"),ie[e]||(ie[e]=new RegExp(oe[e],r));const o=ie[e];let i;if(re)o.lastIndex=n,i=o.exec(t);else{if(t=t.slice(n,t.length),i=o.exec(t),!i)return{result:null,regexp:o};o.lastIndex=n+i[0].length}return{result:i,regexp:o}}function ce(e,t){var n,r;return null!==(r=null!==(n=function(e,t){const{result:n,regexp:r}=se("universalSelectorRegEx",e,t);return n?{value:{type:"*"},start:t,end:r.lastIndex}:null}(e,t))&&void 0!==n?n:function(e,t){const{result:n,regexp:r}=se("simpleIdentifierSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex;return{value:{type:n[1],identifier:n[2]},start:t,end:o}}(e,t))&&void 0!==r?r:function(e,t){const{result:n,regexp:r}=se("attributeSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex,i=n[1];if(n[2]){return{value:{type:"[]",property:i,test:n[2],value:n[3]||n[4]||n[5]},start:t,end:o}}return{value:{type:"[]",property:i},start:t,end:o}}(e,t)}function ae(e,t){let n=ce(e,t);if(!n)return null;let{end:r}=n;const o=[];for(;n;)o.push(n.value),({end:r}=n),n=ce(e,r);return{start:t,end:r,value:o}}function le(e,t){const{result:n,regexp:r}=se("combinatorRegEx",e,t);if(!n)return null;let o;o=re?r.lastIndex:t;return{start:t,end:o,value:n[1]||" "}}const ue=e=>e;function de(e){return"declaration"===e.type}function fe(e){return t=>e(t)}function pe(e){switch(e.type){case"*":return new W;case"#":return new z(e.identifier);case"":return new K(e.identifier.replace(/-/,"").toLowerCase());case".":return new G(e.identifier);case":":return new q(e.identifier);case"[]":return e.test?new X(e.property,e.test,e.value):new X(e.property);default:return new Z(new Error("Unknown selector."))}}function he(e){return 0===e.length?new Z(new Error("Empty simple selector sequence.")):1===e.length?pe(e[0]):new Y(e.map(pe))}function me(e){try{const t=function(e,t){let n=t;const{result:r,regexp:o}=se("whiteSpaceRegEx",e,t);r&&(n=o.lastIndex);const i=[];let s,c,a=!0,l=[void 0,void 0];return c=re?[e]:e.split(" "),c.forEach(e=>{if(!re){if(""===e)return;n=0}do{const t=ae(e,n);if(!t){if(a)return;break}({end:n}=t),s&&(l[1]=s.value),l=[t.value,void 0],i.push(l),s=le(e,n),s&&({end:n}=s),a=!(!s||" "===s.value)}while(s)}),{start:t,end:n,value:i}}(e,0);return t?function(e){if(0===e.length)return new Z(new Error("Empty selector."));if(1===e.length)return he(e[0][0]);const t=[];for(const n of e){const e=he(n[0]),r=n[1];r&&e&&(e.combinator=r),t.push(e)}return new te(t)}(t.value):new Z(new Error("Empty selector"))}catch(e){return new Z(e)}}let ve;function ge(e){var t;return!e||!(null===(t=null==e?void 0:e.ruleSets)||void 0===t?void 0:t.length)}function ye(t,n){if(t){if(!ge(ve))return ve;const e=function(e=[],t){return e.map(e=>{let n=e[0],r=e[1];return r=r.map(e=>{const[t,n]=e;return{type:"declaration",property:t,value:n}}).map(fe(null!=t?t:ue)),n=n.map(me),new ne(n,r,"")})}(t,n);return ve=new V(e),ve}const r=e[be];if(ge(ve)||r){const t=function(e=[],t){return e.map(e=>{if(!Array.isArray(e))return e;const[t,n,r]=e;return{hash:t,selectors:n,declarations:r.map(([e,t])=>({type:"declaration",property:e,value:t}))}}).map(e=>{const n=e.declarations.filter(de).map(fe(null!=t?t:ue)),r=e.selectors.map(me);return new ne(r,n,e.hash)})}(r);ve?ve.append(t):ve=new V(t),e[be]=void 0}return e[Oe]&&(e[Oe].forEach(e=>{ve.delete(e)}),e[Oe]=void 0),ve}const be="__HIPPY_VUE_STYLES__",Oe="__HIPPY_VUE_DISPOSE_STYLES__";let _e=Object.create(null);const Ee={$on:(e,t,n)=>(Array.isArray(e)?e.forEach(e=>{Ee.$on(e,t,n)}):(_e[e]||(_e[e]=[]),_e[e].push({fn:t,ctx:n})),Ee),$once(e,t,n){function r(...o){Ee.$off(e,r),t.apply(n,o)}return r._=t,Ee.$on(e,r),Ee},$emit(e,...t){const n=(_e[e]||[]).slice(),r=n.length;for(let e=0;e{Ee.$off(e,t)}),Ee;const n=_e[e];if(!n)return Ee;if(!t)return _e[e]=null,Ee;let r;const o=n.length;for(let e=0;ee;function Pe(){return ke}let Re=(e,t)=>{};function Me(e,t){const n=new Map;return Array.isArray(e)?e.forEach(([e,t])=>{n.set(e,t),n.set(t,e)}):(n.set(e,t),n.set(t,e)),n}function Le(e){let t=e;return/^assets/.test(t)&&(t="hpfile://./"+t),t}function Fe(e){return"on"+h.capitalize(e)}function De(e){const t={};return e.forEach(e=>{if(Array.isArray(e)){const n=Fe(e[0]),r=Fe(e[1]);Object.prototype.hasOwnProperty.call(this.$attrs,n)&&(this.$attrs[r]||(t[r]=this.$attrs[n]))}}),t}function Ve(e,t){return!(!t||!e)&&e.match(t)}function Be(e){return e.split(" ").filter(e=>e.trim())}var $e;const Ue=["%c[native]%c","color: red","color: auto"],He={},{bridge:{callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze},device:{platform:{OS:Ke,Localization:Ge={}},screen:{scale:qe}},device:Je,document:Xe,register:Ze,asyncStorage:Qe}=null!==($e=e.Hippy)&&void 0!==$e?$e:{device:{platform:{Localization:{}},window:{},screen:{}},bridge:{},register:{},document:{},asyncStorage:{}},et=async(e,t)=>{const n={top:-1,left:-1,bottom:-1,right:-1,width:-1,height:-1};if(!e.isMounted||!e.nodeId)return Promise.resolve(n);const{nodeId:r}=e;return xe(...Ue,"callUIFunction",{nodeId:r,funcName:t,params:[]}),new Promise(e=>Xe.callUIFunction(r,t,[],t=>{if(!t||"object"!=typeof t||void 0===r)return e(n);const{x:o,y:i,height:s,width:c}=t;return e({top:i,left:o,width:c,height:s,bottom:i+s,right:o+c})}))},tt=new Map,nt={Localization:Ge,hippyNativeDocument:Xe,hippyNativeRegister:Ze,Platform:Ke,PixelRatio:qe,ConsoleModule:e.ConsoleModule||e.console,callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze,AsyncStorage:Qe,callUIFunction(...e){const[t,n,...r]=e;if(!(null==t?void 0:t.nodeId))return;const{nodeId:o}=t;let[i=[],s]=r;"function"==typeof i&&(s=i,i=[]),xe(...Ue,"callUIFunction",{nodeId:o,funcName:n,params:i}),Xe.callUIFunction(o,n,i,s)},Clipboard:{getString(){return nt.callNativeWithPromise.call(this,"ClipboardModule","getString")},setString(e){nt.callNative.call(this,"ClipboardModule","setString",e)}},Cookie:{getAll(e){if(!e)throw new TypeError("Native.Cookie.getAll() must have url argument");return nt.callNativeWithPromise.call(this,"network","getCookie",e)},set(e,t,n){if(!e)throw new TypeError("Native.Cookie.set() must have url argument");let r="";n&&(r=n.toUTCString()),nt.callNative.call(this,"network","setCookie",e,t,r)}},ImageLoader:{getSize(e){return nt.callNativeWithPromise.call(this,"ImageLoaderModule","getSize",e)},prefetch(e){nt.callNative.call(this,"ImageLoaderModule","prefetch",e)}},get Dimensions(){const{screen:e}=Je,{statusBarHeight:t}=e;return{window:Je.window,screen:l(l({},e),{},{statusBarHeight:t})}},get Device(){var t;return void 0===He.Device&&(nt.isIOS()?(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Device)?He.Device=e.__HIPPYNATIVEGLOBAL__.Device:He.Device="iPhone":nt.isAndroid()?He.Device="Android device":He.Device="Unknown device"),He.Device},get screenIsVertical(){return nt.Dimensions.window.width"android"===nt.Platform,isIOS:()=>"ios"===nt.Platform,measureInWindow:e=>et(e,"measureInWindow"),measureInAppWindow:e=>nt.isAndroid()?et(e,"measureInWindow"):et(e,"measureInAppWindow"),getBoundingClientRect(e,t){const{nodeId:n}=e;return new Promise((r,o)=>{if(!e.isMounted||!n)return o(new Error(`getBoundingClientRect cannot get nodeId of ${e} or ${e} is not mounted`));xe(...Ue,"UIManagerModule",{nodeId:n,funcName:"getBoundingClientRect",params:t}),Xe.callUIFunction(n,"getBoundingClientRect",[t],e=>{if(!e||e.errMsg)return o(new Error((null==e?void 0:e.errMsg)||"getBoundingClientRect error with no response"));const{x:t,y:n,width:i,height:s}=e;let c=void 0,a=void 0;return"number"==typeof n&&"number"==typeof s&&(c=n+s),"number"==typeof t&&"number"==typeof i&&(a=t+i),r({x:t,y:n,width:i,height:s,bottom:c,right:a,left:t,top:n})})})},NetInfo:{fetch:()=>nt.callNativeWithPromise("NetInfo","getCurrentConnectivity").then(({network_info:e})=>e),addEventListener(e,t){let n=e;return"change"===n&&(n="networkStatusDidChange"),0===tt.size&&nt.callNative("NetInfo","addListener",n),Ee.$on(n,t),tt.set(t,t),{eventName:e,listener:t,remove(){this.eventName&&this.listener&&(nt.NetInfo.removeEventListener(this.eventName,this.listener),this.listener=void 0)}}},removeEventListener(e,t){if(null==t?void 0:t.remove)return void t.remove();let n=e;"change"===e&&(n="networkStatusDidChange"),tt.size<=1&&nt.callNative("NetInfo","removeListener",n);const r=tt.get(t);r&&(Ee.$off(n,r),tt.delete(t),tt.size<1&&nt.callNative("NetInfo","removeListener",n))}},get isIPhoneX(){if(void 0===He.isIPhoneX){let e=!1;nt.isIOS()&&(e=20!==nt.Dimensions.screen.statusBarHeight),He.isIPhoneX=e}return He.isIPhoneX},get OnePixel(){if(void 0===He.OnePixel){const e=nt.PixelRatio;let t=Math.round(.4*e)/e;t||(t=1/e),He.OnePixel=t}return He.OnePixel},get APILevel(){var t,n;return nt.isAndroid()&&(null===(n=null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Platform)||void 0===n?void 0:n.APILevel)?e.__HIPPYNATIVEGLOBAL__.Platform.APILevel:(je(),null)},get OSVersion(){var t;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?e.__HIPPYNATIVEGLOBAL__.OSVersion:null},get SDKVersion(){var t,n;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?null===(n=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===n?void 0:n.SDKVersion:null},parseColor(e){var t;if(Number.isInteger(e))return e;const n=null!==(t=He.COLOR_PARSER)&&void 0!==t?t:He.COLOR_PARSER=Object.create(null);return n[e]||(n[e]=T(e)),n[e]},getElemCss(e){const t=Object.create(null);try{ye(void 0,Pe()).query(e).selectors.forEach(n=>{Ve(n,e)&&n.ruleSet.declarations.forEach(e=>{t[e.property]=e.value})})}catch(e){je()}return t},version:"unspecified"},rt=new Set;let ot=!1;const it={exitApp(){nt.callNative("DeviceEventModule","invokeDefaultBackPressHandler")},addListener:e=>(ot||(ot=!0,it.initEventListener()),nt.callNative("DeviceEventModule","setListenBackPress",!0),rt.add(e),{remove(){it.removeListener(e)}}),removeListener(e){rt.delete(e),0===rt.size&&nt.callNative("DeviceEventModule","setListenBackPress",!1)},initEventListener(){Ee.$on("hardwareBackPress",()=>{let e=!0;Array.from(rt).reverse().forEach(t=>{"function"==typeof t&&t()&&(e=!1)}),e&&it.exitApp()})}},st={exitApp(){},addListener:()=>({remove(){}}),removeListener(){},initEventListener(){}},ct=nt.isAndroid()?it:st,at=new Map;function lt(e,t){if(!e)throw new Error("tagName can not be empty");const n=Ae(e);at.has(n)||at.set(n,t.component)}function ut(e){const t=Ae(e),n=h.camelize(e).toLowerCase();return at.get(t)||at.get(n)}const dt=new Map,ft={number:"numeric",text:"default",search:"web-search"},pt={role:"accessibilityRole","aria-label":"accessibilityLabel","aria-disabled":{jointKey:"accessibilityState",name:"disabled"},"aria-selected":{jointKey:"accessibilityState",name:"selected"},"aria-checked":{jointKey:"accessibilityState",name:"checked"},"aria-busy":{jointKey:"accessibilityState",name:"busy"},"aria-expanded":{jointKey:"accessibilityState",name:"expanded"},"aria-valuemin":{jointKey:"accessibilityValue",name:"min"},"aria-valuemax":{jointKey:"accessibilityValue",name:"max"},"aria-valuenow":{jointKey:"accessibilityValue",name:"now"},"aria-valuetext":{jointKey:"accessibilityValue",name:"text"}},ht={component:{name:we.View,eventNamesMap:Me([["touchStart","onTouchDown"],["touchstart","onTouchDown"],["touchmove","onTouchMove"],["touchend","onTouchEnd"],["touchcancel","onTouchCancel"]]),attributeMaps:l({},pt),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y,(null==t?void 0:t.contentSize)&&(o.scrollHeight=t.contentSize.height,o.scrollWidth=t.contentSize.width);break;case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":o.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":o.isFocused=t.focus}return o}}},mt={component:{name:we.View,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData}},vt={component:{name:we.View}},gt={component:{name:we.Image,eventNamesMap:ht.component.eventNamesMap,processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":n.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":n.isFocused=t.focus;break;case"onLoad":{const{width:e,height:r,url:o}=t;n.width=e,n.height=r,n.url=o;break}}return n},defaultNativeStyle:{backgroundColor:0},attributeMaps:l({placeholder:{name:"defaultSource",propsValue(e){const t=Le(e);return(null==t?void 0:t.indexOf(Se))<0&&["https://","http://"].some(e=>0===t.indexOf(e))&&je(),t}},src:e=>Le(e)},pt)}},yt={component:{name:we.ListView,defaultNativeStyle:{flex:1},attributeMaps:l({},pt),eventNamesMap:Me("listReady","initialListReady"),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y;break;case"onDelete":o.index=t.index}return o}}},bt={component:{name:we.ListViewItem,attributeMaps:l({},pt),eventNamesMap:Me([["disappear","onDisappear"]])}},Ot={component:{name:we.Text,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData,defaultNativeProps:{text:""},defaultNativeStyle:{color:4278190080}}},_t=Ot,Et=Ot,St={component:l(l({},Ot.component),{},{defaultNativeStyle:{color:4278190318},attributeMaps:{href:{name:"href",propsValue:e=>["//","http://","https://"].filter(t=>0===e.indexOf(t)).length?(je(),""):e}}})},wt={component:{name:we.TextInput,attributeMaps:l({type:{name:"keyboardType",propsValue(e){const t=ft[e];return t||e}},disabled:{name:"editable",propsValue:e=>!e},value:"defaultValue",maxlength:"maxLength"},pt),nativeProps:{numberOfLines:1,multiline:!1},defaultNativeProps:{underlineColorAndroid:0},defaultNativeStyle:{padding:0,color:4278190080},eventNamesMap:Me([["change","onChangeText"],["select","onSelectionChange"]]),processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onChangeText":case"onEndEditing":n.value=t.text;break;case"onSelectionChange":n.start=t.selection.start,n.end=t.selection.end;break;case"onKeyboardWillShow":n.keyboardHeight=t.keyboardHeight;break;case"onContentSizeChange":n.width=t.contentSize.width,n.height=t.contentSize.height}return n}}},Nt={component:{name:we.TextInput,defaultNativeProps:l(l({},wt.component.defaultNativeProps),{},{numberOfLines:5}),attributeMaps:l(l({},wt.component.attributeMaps),{},{rows:"numberOfLines"}),nativeProps:{multiline:!0},defaultNativeStyle:wt.component.defaultNativeStyle,eventNamesMap:wt.component.eventNamesMap,processEventData:wt.component.processEventData}},Tt={component:{name:we.WebView,defaultNativeProps:{method:"get",userAgent:""},attributeMaps:{src:{name:"source",propsValue:e=>({uri:e})}},processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onLoad":case"onLoadStart":n.url=t.url;break;case"onLoadEnd":n.url=t.url,n.success=t.success,n.error=t.error}return n}}};dt.set("div",ht),dt.set("button",mt),dt.set("form",vt),dt.set("img",gt),dt.set("ul",yt),dt.set("li",bt),dt.set("span",Ot),dt.set("label",_t),dt.set("p",Et),dt.set("a",St),dt.set("input",wt),dt.set("textarea",Nt),dt.set("iframe",Tt);var xt={install(){dt.forEach((e,t)=>{lt(t,e)})}};function jt(){const{Localization:e}=nt;return!!e&&1===e.direction}const At=0,Ct=1,It={onClick:"click",onLongClick:"longclick",onPressIn:"pressin",onPressOut:"pressout",onTouchDown:"touchstart",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchMove:"touchmove",onTouchCancel:"touchcancel"},kt={NONE:0,CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};const Pt="addEventListener",Rt="removeEventListener";let Mt;function Lt(){return Mt}function Ft(e,t){Mt[e]=t}class Dt{constructor(e){this.target=null,this.currentTarget=null,this.originalTarget=null,this.bubbles=!0,this.cancelable=!0,this.eventPhase=0,this.isCanceled=!1,this.type=e,this.timeStamp=Date.now()}get canceled(){return this.isCanceled}stopPropagation(){this.bubbles=!1}preventDefault(){if(this.cancelable){if(this.isCanceled)return;this.isCanceled=!0}}}class Vt extends Dt{}function Bt(e){return"string"==typeof e.value}const $t=new Map;function Ut(e,t){$t.set(t,e)}function Ht(e){$t.delete(e)}function Yt(e){return $t.get(e)||null}function Wt(t){var n,r;n=e=>{(e.timeRemaining()>0||e.didTimeout)&&function e(t){var n;"number"==typeof t?Ht(t):t&&(Ht(t.nodeId),null===(n=t.childNodes)||void 0===n||n.forEach(t=>e(t)))}(t)},r={timeout:50},e.requestIdleCallback?e.requestIdleCallback(n,r):setTimeout(()=>{n({didTimeout:!1,timeRemaining:()=>1/0})},1)}function zt(e=[],t=0){let n=e[t];for(let r=t;r-1){let e;if("onLayout"===o){e=new Vt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{layout:{x:t,y:n,height:r,width:o}}=s;e.top=n,e.left=t,e.bottom=n+r,e.right=t+o,e.width=o,e.height=r}else{e=new Dt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{processEventData:t}=l.component;t&&t({__evt:o,handler:e},s)}a.dispatchEvent(function(e,t,n){return function(e){return["onTouchDown","onTouchMove","onTouchEnd","onTouchCancel"].indexOf(e)>=0}(e)&&Object.assign(t,{touches:{0:{clientX:n.page_x,clientY:n.page_y},length:1}}),t}(o,e,s),l,t)}}catch(e){console.error("receiveComponentEvent error",e)}else je(...Gt,"receiveComponentEvent","currentTargetNode or targetNode not exist")}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=qt);class Jt{constructor(){this.listeners={}}static indexOfListener(e,t,n){return e.findIndex(e=>n?e.callback===t&&h.looseEqual(e.options,n):e.callback===t)}addEventListener(e,t,n){const r=e.split(","),o=r.length;for(let e=0;e=0&&e.splice(r,1),e.length||(this.listeners[o]=void 0)}}}else this.listeners[o]=void 0}}emitEvent(e){var t,n;const{type:r}=e,o=this.listeners[r];if(o)for(let r=o.length-1;r>=0;r-=1){const i=o[r];(null===(t=i.options)||void 0===t?void 0:t.once)&&o.splice(r,1),(null===(n=i.options)||void 0===n?void 0:n.thisArg)?i.callback.apply(i.options.thisArg,[e]):i.callback(e)}}getEventListenerList(){return this.listeners}}var Xt;!function(e){e[e.CREATE=0]="CREATE",e[e.UPDATE=1]="UPDATE",e[e.DELETE=2]="DELETE",e[e.MOVE=3]="MOVE",e[e.UPDATE_EVENT=4]="UPDATE_EVENT"}(Xt||(Xt={}));let Zt=!1,Qt=[];function en(e=[],t){e.forEach(e=>{if(e){const{id:n,eventList:r}=e;r.forEach(e=>{const{name:r,type:o,listener:i}=e;let s;s=function(e){return!!It[e]}(r)?It[r]:function(e){return e.replace(/^(on)?/g,"").toLocaleLowerCase()}(r),o===Ct&&t.removeEventListener(n,s,i),o===At&&(t.removeEventListener(n,s,i),t.addEventListener(n,s,i))})}})}function tn(e,t){0}function nn(){Zt||(Zt=!0,0!==Qt.length?m.nextTick().then(()=>{const t=function(e){const t=[];for(const n of e){const{type:e,nodes:r,eventNodes:o,printedNodes:i}=n,s=t[t.length-1];s&&s.type===e?(s.nodes=s.nodes.concat(r),s.eventNodes=s.eventNodes.concat(o),s.printedNodes=s.printedNodes.concat(i)):t.push({type:e,nodes:r,eventNodes:o,printedNodes:i})}return t}(Qt),{rootViewId:n}=Lt(),r=new e.Hippy.SceneBuilder(n);t.forEach(e=>{switch(e.type){case Xt.CREATE:tn(e.printedNodes),r.create(e.nodes,!0),en(e.eventNodes,r);break;case Xt.UPDATE:tn(e.printedNodes),r.update(e.nodes),en(e.eventNodes,r);break;case Xt.DELETE:tn(e.printedNodes),r.delete(e.nodes);break;case Xt.MOVE:tn(e.printedNodes),r.move(e.nodes);break;case Xt.UPDATE_EVENT:en(e.eventNodes,r)}}),r.build(),Zt=!1,Qt=[]}):Zt=!1)}var rn;function on(e){let t;const n=e.events;if(n){const r=[];Object.keys(n).forEach(e=>{const{name:t,type:o,isCapture:i,listener:s}=n[e];r.push({name:t,type:o,isCapture:i,listener:s})}),t={id:e.nodeId,eventList:r}}return t}!function(e){e[e.ElementNode=1]="ElementNode",e[e.TextNode=3]="TextNode",e[e.CommentNode=8]="CommentNode",e[e.DocumentNode=4]="DocumentNode"}(rn||(rn={}));class sn extends Jt{constructor(e,t){var n;super(),this.isMounted=!1,this.events={},this.childNodes=[],this.parentNode=null,this.prevSibling=null,this.nextSibling=null,this.tagComponent=null,this.nodeId=null!==(n=null==t?void 0:t.id)&&void 0!==n?n:sn.getUniqueNodeId(),this.nodeType=e,this.isNeedInsertToNative=function(e){return e===rn.ElementNode}(e),(null==t?void 0:t.id)&&(this.isMounted=!0)}static getUniqueNodeId(){return e.hippyUniqueId||(e.hippyUniqueId=0),e.hippyUniqueId+=1,e.hippyUniqueId%10==0&&(e.hippyUniqueId+=1),e.hippyUniqueId}get firstChild(){return this.childNodes.length?this.childNodes[0]:null}get lastChild(){const e=this.childNodes.length;return e?this.childNodes[e-1]:null}get component(){return this.tagComponent}get index(){let e=0;if(this.parentNode){e=this.parentNode.childNodes.filter(e=>e.isNeedInsertToNative).indexOf(this)}return e}isRootNode(){return 1===this.nodeId}hasChildNodes(){return!!this.childNodes.length}insertBefore(e,t){const n=e,r=t;if(!n)throw new Error("No child to insert");if(!r)return void this.appendChild(n);if(n.parentNode&&n.parentNode!==this)throw new Error("Can not insert child, because the child node is already has a different parent");let o=this;r.parentNode!==this&&(o=r.parentNode);const i=o.childNodes.indexOf(r);let s=r;r.isNeedInsertToNative||(s=zt(this.childNodes,i)),n.parentNode=o,n.nextSibling=r,n.prevSibling=o.childNodes[i-1],o.childNodes[i-1]&&(o.childNodes[i-1].nextSibling=n),r.prevSibling=n,o.childNodes.splice(i,0,n),s.isNeedInsertToNative?this.insertChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}moveChild(e,t){const n=e,r=t;if(!n)throw new Error("No child to move");if(!r)return void this.appendChild(n);if(r.parentNode&&r.parentNode!==this)throw new Error("Can not move child, because the anchor node is already has a different parent");if(n.parentNode&&n.parentNode!==this)throw new Error("Can't move child, because it already has a different parent");const o=this.childNodes.indexOf(n),i=this.childNodes.indexOf(r);let s=r;if(r.isNeedInsertToNative||(s=zt(this.childNodes,i)),i===o)return;n.nextSibling=r,n.prevSibling=r.prevSibling,r.prevSibling=n,this.childNodes[i-1]&&(this.childNodes[i-1].nextSibling=n),this.childNodes[i+1]&&(this.childNodes[i+1].prevSibling=n),this.childNodes[o-1]&&(this.childNodes[o-1].nextSibling=this.childNodes[o+1]),this.childNodes[o+1]&&(this.childNodes[o+1].prevSibling=this.childNodes[o-1]),this.childNodes.splice(o,1);const c=this.childNodes.indexOf(r);this.childNodes.splice(c,0,n),s.isNeedInsertToNative?this.moveChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}appendChild(e,t=!1){const n=e;if(!n)throw new Error("No child to append");this.lastChild!==n&&(n.parentNode&&n.parentNode!==this?n.parentNode.removeChild(n):(n.isMounted&&!t&&this.removeChild(n),n.parentNode=this,this.lastChild&&(n.prevSibling=this.lastChild,this.lastChild.nextSibling=n),this.childNodes.push(n),t?Ut(n,n.nodeId):this.insertChildNativeNode(n)))}removeChild(e){const t=e;if(!t)throw new Error("Can't remove child.");if(!t.parentNode)throw new Error("Can't remove child, because it has no parent.");if(t.parentNode!==this)return void t.parentNode.removeChild(t);if(!t.isNeedInsertToNative)return;t.prevSibling&&(t.prevSibling.nextSibling=t.nextSibling),t.nextSibling&&(t.nextSibling.prevSibling=t.prevSibling),t.prevSibling=null,t.nextSibling=null;const n=this.childNodes.indexOf(t);this.childNodes.splice(n,1),this.removeChildNativeNode(t)}findChild(e){if(e(this))return this;if(this.childNodes.length)for(const t of this.childNodes){const n=this.findChild.call(t,e);if(n)return n}return null}eachNode(e){e&&e(this),this.childNodes.length&&this.childNodes.forEach(t=>{this.eachNode.call(t,e)})}insertChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;const n=this.isRootNode()&&!this.isMounted,r=this.isMounted&&!e.isMounted;if(n||r){const r=n?this:e;!function([e,t,n]){Qt.push({type:Xt.CREATE,nodes:e,eventNodes:t,printedNodes:n}),nn()}(r.convertToNativeNodes(!0,t)),r.eachNode(e=>{const t=e;!t.isMounted&&t.isNeedInsertToNative&&(t.isMounted=!0),Ut(t,t.nodeId)})}}moveChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;if(t&&t.refId===e.nodeId)return;!function([e,,t]){e&&(Qt.push({type:Xt.MOVE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(e.convertToNativeNodes(!1,t))}removeChildNativeNode(e){if(!e||!e.isNeedInsertToNative)return;const t=e;t.isMounted&&(t.isMounted=!1,function([e,,t]){e&&(Qt.push({type:Xt.DELETE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(t.convertToNativeNodes(!1,{})))}updateNativeNode(e=!1){if(!this.isMounted)return;!function([e,t,n]){e&&(Qt.push({type:Xt.UPDATE,nodes:e,eventNodes:t,printedNodes:n}),nn())}(this.convertToNativeNodes(e,{}))}updateNativeEvent(){if(!this.isMounted)return;!function(e){Qt.push({type:Xt.UPDATE_EVENT,nodes:[],eventNodes:[e],printedNodes:[]}),nn()}(on(this))}convertToNativeNodes(e,t={},n){var r,o;if(!this.isNeedInsertToNative)return[[],[],[]];if(e){const e=[],n=[],r=[];return this.eachNode(o=>{const[i,s,c]=o.convertToNativeNodes(!1,t);Array.isArray(i)&&i.length&&e.push(...i),Array.isArray(s)&&s.length&&n.push(...s),Array.isArray(c)&&c.length&&r.push(...c)}),[e,n,r]}if(!this.component)throw new Error("tagName is not supported yet");const{rootViewId:i}=Lt(),s=null!=n?n:{},c=l({id:this.nodeId,pId:null!==(o=null===(r=this.parentNode)||void 0===r?void 0:r.nodeId)&&void 0!==o?o:i},s),a=on(this);let u=void 0;return[[[c,t]],[a],[u]]}}class cn extends sn{constructor(e,t){super(rn.TextNode,t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}setText(e){this.text=e,this.parentNode&&this.parentNode.nodeType===rn.ElementNode&&this.parentNode.setText(e)}}function an(e,t){if("string"!=typeof e)return;const n=e.split(",");for(let e=0,r=n.length;e{t[n]=function(e){let t=e;if("string"!=typeof t||!t.endsWith("rem"))return t;if(t=parseFloat(t),Number.isNaN(t))return e;const{ratioBaseWidth:n}=Lt(),{width:r}=nt.Dimensions.screen;return 100*t*(r/n)}(e[n])}):t=e,t}get component(){return this.tagComponent||(this.tagComponent=ut(this.tagName)),this.tagComponent}isRootNode(){const{rootContainer:e}=Lt();return super.isRootNode()||this.id===e}appendChild(e,t=!1){e instanceof cn&&this.setText(e.text,{notToNative:!0}),super.appendChild(e,t)}insertBefore(e,t){e instanceof cn&&this.setText(e.text,{notToNative:!0}),super.insertBefore(e,t)}moveChild(e,t){e instanceof cn&&this.setText(e.text,{notToNative:!0}),super.moveChild(e,t)}removeChild(e){e instanceof cn&&this.setText("",{notToNative:!0}),super.removeChild(e)}hasAttribute(e){return!!this.attributes[e]}getAttribute(e){return this.attributes[e]}removeAttribute(e){delete this.attributes[e]}setAttribute(e,t,n={}){let r=t,o=e;try{if("boolean"==typeof this.attributes[o]&&""===r&&(r=!0),void 0===o)return void(!n.notToNative&&this.updateNativeNode());switch(o){case"class":{const e=new Set(Be(r));if(function(e,t){if(e.size!==t.size)return!1;const n=e.values();let r=n.next().value;for(;r;){if(!t.has(r))return!1;r=n.next().value}return!0}(this.classList,e))return;return this.classList=e,void(!n.notToNative&&this.updateNativeNode(!0))}case"id":if(r===this.id)return;return this.id=r,void(!n.notToNative&&this.updateNativeNode(!0));case"text":case"value":case"defaultValue":case"placeholder":if("string"!=typeof r)try{r=r.toString()}catch(e){je(e.message)}n&&n.textUpdate||(r="string"!=typeof(i=r)?i:void 0===Te||Te?i.trim():i),r=r.replace(/\\u[\dA-F]{4}|\\x[\dA-F]{2}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u|\\x/g,""),16)));break;case"numberOfRows":if(!nt.isIOS())return;break;case"caretColor":case"caret-color":o="caret-color",r=nt.parseColor(r);break;case"break-strategy":o="breakStrategy";break;case"placeholderTextColor":case"placeholder-text-color":o="placeholderTextColor",r=nt.parseColor(r);break;case"underlineColorAndroid":case"underline-color-android":o="underlineColorAndroid",r=nt.parseColor(r);break;case"nativeBackgroundAndroid":{const e=r;void 0!==e.color&&(e.color=nt.parseColor(e.color)),o="nativeBackgroundAndroid",r=e;break}}if(this.attributes[o]===r)return;this.attributes[o]=r,"function"==typeof this.filterAttribute&&this.filterAttribute(this.attributes),!n.notToNative&&this.updateNativeNode()}catch(e){0}var i}setText(e,t={}){return this.setAttribute("text",e,{notToNative:!!t.notToNative})}removeStyle(e=!1){this.style={},e||this.updateNativeNode()}setStyles(e){e&&"object"==typeof e&&(Object.keys(e).forEach(t=>{const n=e[t];this.setStyle(t,n,!0)}),this.updateNativeNode())}setStyle(e,t,n=!1){if(void 0===t)return delete this.style[e],void(n||this.updateNativeNode());let{property:r,value:o}=this.beforeLoadStyle({property:e,value:t});switch(r){case"fontWeight":"string"!=typeof o&&(o=o.toString());break;case"backgroundImage":[r,o]=F(r,o);break;case"textShadowOffsetX":case"textShadowOffsetY":[r,o]=function(e,t=0,n){var r;const o=n;return o.textShadowOffset=null!==(r=o.textShadowOffset)&&void 0!==r?r:{},Object.assign(o.textShadowOffset,{[{textShadowOffsetX:"width",textShadowOffsetY:"height"}[e]]:t}),["textShadowOffset",o.textShadowOffset]}(r,o,this.style);break;case"textShadowOffset":{const{x:e=0,width:t=0,y:n=0,height:r=0}=null!=o?o:{};o={width:e||t,height:n||r};break}default:Object.prototype.hasOwnProperty.call(x,r)&&(r=x[r]),"string"==typeof o&&(o=o.trim(),o=r.toLowerCase().indexOf("color")>=0?nt.parseColor(o):o.endsWith("px")?parseFloat(o.slice(0,o.length-2)):function(e){if("number"==typeof e)return e;if(Ie.test(e))try{return parseFloat(e)}catch(e){}return e}(o))}null!=o&&this.style[r]!==o&&(this.style[r]=o,n||this.updateNativeNode())}scrollToPosition(e=0,t=0,n=1e3){if("number"!=typeof e||"number"!=typeof t)return;let r=n;!1===r&&(r=0),nt.callUIFunction(this,"scrollToWithOptions",[{x:e,y:t,duration:r}])}scrollTo(e,t,n){if("object"==typeof e&&e){const{left:t,top:n,behavior:r="auto",duration:o}=e;this.scrollToPosition(t,n,"none"===r?0:o)}else this.scrollToPosition(e,t,n)}setListenerHandledType(e,t){this.events[e]&&(this.events[e].handledType=t)}isListenerHandled(e,t){return!this.events[e]||t===this.events[e].handledType}getNativeEventName(e){let t="on"+Ce(e);if(this.component){const{eventNamesMap:n}=this.component;(null==n?void 0:n.get(e))&&(t=n.get(e))}return t}addEventListener(e,t,n){let r=e,o=t,i=n,s=!0;"scroll"!==r||this.getAttribute("scrollEventThrottle")>0||(this.attributes.scrollEventThrottle=200);const c=this.getNativeEventName(r);this.attributes[c]&&(s=!1),"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Pt,r,o,i)),super.addEventListener(r,o,i),an(r,e=>{const t=this.getNativeEventName(e);var n,r;this.events[t]?this.events[t]&&this.events[t].type!==At&&(this.events[t].type=At):this.events[t]={name:t,type:At,listener:(n=t,r=e,e=>{const{id:t,currentId:o,params:i,eventPhase:s}=e,c={id:t,nativeName:n,originalName:r,currentId:o,params:i,eventPhase:s};qt.receiveComponentEvent(c,e)}),isCapture:!1}}),s&&this.updateNativeEvent()}removeEventListener(e,t,n){let r=e,o=t,i=n;"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Rt,r,o,i)),super.removeEventListener(r,o,i),an(r,e=>{const t=this.getNativeEventName(e);this.events[t]&&(this.events[t].type=Ct)});const s=this.getNativeEventName(r);this.attributes[s]&&delete this.attributes[s],this.updateNativeEvent()}dispatchEvent(e,t,n){const r=e;r.currentTarget=this,r.target||(r.target=t||this,Bt(r)&&(r.target.value=r.value)),this.emitEvent(r),!r.bubbles&&n&&n.stopPropagation()}convertToNativeNodes(e,t={}){if(!this.isNeedInsertToNative)return[[],[],[]];if(e)return super.convertToNativeNodes(!0,t);let n=this.getNativeStyles();if(this.parentNode&&this.parentNode instanceof ln){const e=this.parentNode.processedStyle;["color","fontSize","fontWeight","fontFamily","fontStyle","textAlign","lineHeight"].forEach(t=>{!n[t]&&e[t]&&(n[t]=e[t])})}if(Re(this,n),this.component.defaultNativeStyle){const{defaultNativeStyle:e}=this.component,t={};Object.keys(e).forEach(n=>{this.getAttribute(n)||(t[n]=e[n])}),n=l(l({},t),n)}this.processedStyle=n;const r={name:this.component.name,props:l(l({},this.getNativeProps()),{},{style:n}),tagName:this.tagName};return function(e,t){const n=t;e.component.name===we.TextInput&&jt()&&(n.textAlign||(n.textAlign="right"))}(this,n),function(e,t,n){const r=t,o=n;e.component.name===we.View&&("scroll"===o.overflowX&&"scroll"===o.overflowY&&je(),"scroll"===o.overflowY?r.name="ScrollView":"scroll"===o.overflowX&&(r.name="ScrollView",r.props&&(r.props.horizontal=!0),o.flexDirection=jt()?"row-reverse":"row"),"ScrollView"===r.name&&(1!==e.childNodes.length&&je(),e.childNodes.length&&e.nodeType===rn.ElementNode&&e.childNodes[0].setStyle("collapsable",!1)),o.backgroundImage&&(o.backgroundImage=Le(o.backgroundImage)))}(this,r,n),super.convertToNativeNodes(!1,t,r)}repaintWithChildren(){this.updateNativeNode(!0)}setNativeProps(e){if(e){const{style:t}=e;this.setStyles(t)}}setPressed(e){nt.callUIFunction(this,"setPressed",[e])}setHotspot(e,t){nt.callUIFunction(this,"setHotspot",[e,t])}setStyleScope(e){const t="string"!=typeof e?e.toString():e;t&&!this.scopedIdList.includes(t)&&this.scopedIdList.push(t)}get styleScopeId(){return this.scopedIdList}getInlineStyle(){const e={};return Object.keys(this.style).forEach(t=>{const n=m.toRaw(this.style[t]);void 0!==n&&(e[t]=n)}),e}getNativeStyles(){let e={};return ye(void 0,Pe()).query(this).selectors.forEach(t=>{var n,r;Ve(t,this)&&(null===(r=null===(n=t.ruleSet)||void 0===n?void 0:n.declarations)||void 0===r?void 0:r.length)&&t.ruleSet.declarations.forEach(t=>{t.property&&(e[t.property]=t.value)})}),this.ssrInlineStyle&&(e=l(l({},e),this.ssrInlineStyle)),e=ln.parseRem(l(l({},e),this.getInlineStyle())),e}getNativeProps(){const e={},{defaultNativeProps:t}=this.component;t&&Object.keys(t).forEach(n=>{if(void 0===this.getAttribute(n)){const r=t[n];e[n]=h.isFunction(r)?r(this):m.toRaw(r)}}),Object.keys(this.attributes).forEach(t=>{var n;let r=m.toRaw(this.getAttribute(t));if(!this.component.attributeMaps||!this.component.attributeMaps[t])return void(e[t]=m.toRaw(r));const o=this.component.attributeMaps[t];if(h.isString(o))return void(e[o]=m.toRaw(r));if(h.isFunction(o))return void(e[t]=m.toRaw(o(r)));const{name:i,propsValue:s,jointKey:c}=o;h.isFunction(s)&&(r=s(r)),c?(e[c]=null!==(n=e[c])&&void 0!==n?n:{},Object.assign(e[c],{[i]:m.toRaw(r)})):e[i]=m.toRaw(r)});const{nativeProps:n}=this.component;return n&&Object.keys(n).forEach(t=>{e[t]=m.toRaw(n[t])}),e}getNodeAttributes(){var e;try{const t=function e(t,n=new WeakMap){if("object"!=typeof t||null===t)throw new TypeError("deepCopy data is object");if(n.has(t))return n.get(t);const r={};return Object.keys(t).forEach(o=>{const i=t[o];"object"!=typeof i||null===i?r[o]=i:Array.isArray(i)?r[o]=[...i]:i instanceof Set?r[o]=new Set([...i]):i instanceof Map?r[o]=new Map([...i]):(n.set(t,t),r[o]=e(i,n))}),r}(this.attributes),n=Array.from(null!==(e=this.classList)&&void 0!==e?e:[]).join(" "),r=l({id:this.id,hippyNodeId:""+this.nodeId,class:n},t);return delete r.text,delete r.value,Object.keys(r).forEach(e=>{"id"!==e&&"hippyNodeId"!==e&&"class"!==e&&delete r[e]}),r}catch(e){return{}}}getNativeEvents(){const e={},t=this.getEventListenerList(),n=Object.keys(t);if(n.length){const{eventNamesMap:r}=this.component;n.forEach(n=>{const o=null==r?void 0:r.get(n);if(o)e[o]=!!t[n];else{const r="on"+Ce(n);e[r]=!!t[n]}})}return e}hackSpecialIssue(){this.fixVShowDirectiveIssue()}fixVShowDirectiveIssue(){var e;let t=null!==(e=this.style.display)&&void 0!==e?e:void 0;Object.defineProperty(this.style,"display",{enumerable:!0,configurable:!0,get:()=>t,set:e=>{t=void 0===e?"flex":e,this.updateNativeNode()}})}}function un(t){const n={valueType:void 0,delay:0,startValue:0,toValue:0,duration:0,direction:"center",timingFunction:"linear",repeatCount:0,inputRange:[],outputRange:[]};function r(e,t){return"color"===e&&["number","string"].indexOf(typeof t)>=0?nt.parseColor(t):t}function a(e){return"loop"===e?-1:e}function u(t){const{mode:i="timing",valueType:s,startValue:u,toValue:d}=t,f=c(t,o),p=l(l({},n),f);void 0!==s&&(p.valueType=t.valueType),p.startValue=r(p.valueType,u),p.toValue=r(p.valueType,d),p.repeatCount=a(p.repeatCount),p.mode=i;const h=new e.Hippy.Animation(p),m=h.getId();return{animation:h,animationId:m}}function d(t,n={}){const r={};return Object.keys(t).forEach(o=>{if(Array.isArray(t[o])){const i=t[o],{repeatCount:s}=i[i.length-1],c=i.map(e=>{const{animationId:t,animation:r}=u(l(l({},e),{},{repeatCount:0}));return Object.assign(n,{[t]:r}),{animationId:t,follow:!0}}),{animationId:d,animation:f}=function(t,n=0){const r=new e.Hippy.AnimationSet({children:t,repeatCount:n}),o=r.getId();return{animation:r,animationId:o}}(c,a(s));r[o]={animationId:d},Object.assign(n,{[d]:f})}else{const e=t[o],{animationId:i,animation:s}=u(e);Object.assign(n,{[i]:s}),r[o]={animationId:i}}}),r}function f(e){const{transform:t}=e,n=c(e,i);let r=Object.keys(n).map(t=>e[t].animationId);if(Array.isArray(t)&&t.length>0){const e=[];t.forEach(t=>Object.keys(t).forEach(n=>{if(t[n]){const{animationId:r}=t[n];"number"==typeof r&&r%1==0&&e.push(r)}})),r=[...r,...e]}return r}t.component("Animation",{props:{tag:{type:String,default:"div"},playing:{type:Boolean,default:!1},actions:{type:Object,required:!0},props:Object},data:()=>({style:{},animationIds:[],animationIdsMap:{},animationEventMap:{}}),watch:{playing(e,t){!t&&e?this.start():t&&!e&&this.pause()},actions(){this.destroy(),this.create(),setTimeout(()=>{const e=this.$attrs[Fe("actionsDidUpdate")];"function"==typeof e&&e()})}},created(){this.animationEventMap={start:"animationstart",end:"animationend",repeat:"animationrepeat",cancel:"animationcancel"}},beforeMount(){this.create()},mounted(){const{playing:e}=this.$props;e&&setTimeout(()=>{this.start()},0)},beforeDestroy(){this.destroy()},deactivated(){this.pause()},activated(){this.resume()},methods:{create(){const e=this.$props,{actions:{transform:t}}=e,n=c(e.actions,s);this.animationIdsMap={};const r=d(n,this.animationIdsMap);if(t){const e=d(t,this.animationIdsMap);r.transform=Object.keys(e).map(t=>({[t]:e[t]}))}this.$alreadyStarted=!1,this.style=r},removeAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&"function"==typeof this[""+n]&&t.removeEventListener(n)})})},addAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&t.addEventListener(n,()=>{this.$emit(e)})})})},reset(){this.$alreadyStarted=!1},start(){this.$alreadyStarted?this.resume():(this.animationIds=f(this.style),this.$alreadyStarted=!0,this.removeAnimationEvent(),this.addAnimationEvent(),this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.start()}))},resume(){f(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.resume()})},pause(){if(!this.$alreadyStarted)return;f(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.pause()})},destroy(){this.removeAnimationEvent(),this.$alreadyStarted=!1;f(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.destroy()})}},render(){return m.h(this.tag,l({useAnimation:!0,style:this.style,tag:this.$props.tag},this.$props.props),this.$slots.default?this.$slots.default():null)}})}const dn=["dialog","hi-pull-header","hi-pull-footer","hi-swiper","hi-swiper-slider","hi-waterfall","hi-waterfall-item","hi-ul-refresh-wrapper","hi-refresh-wrapper-item"];var fn={install(e){un(e),lt("dialog",{component:{name:"Modal",defaultNativeProps:{transparent:!0,immersionStatusBar:!0,collapsable:!1,autoHideStatusBar:!1,autoHideNavigationBar:!1},defaultNativeStyle:{position:"absolute"}}}),function(e){const{callUIFunction:t}=nt;[["Header","header"],["Footer","footer"]].forEach(([n,r])=>{lt("hi-pull-"+r,{component:{name:`Pull${n}View`,processEventData(e,t){const{handler:r,__evt:o}=e;switch(o){case`on${n}Released`:case`on${n}Pulling`:Object.assign(r,t)}return r}}}),e.component("pull-"+r,{methods:{["expandPull"+n](){t(this.$refs.instance,"expandPull"+n)},["collapsePull"+n](e){"Header"===n&&void 0!==e?t(this.$refs.instance,`collapsePull${n}WithOptions`,[e]):t(this.$refs.instance,"collapsePull"+n)},onLayout(e){this.$contentHeight=e.height},[`on${n}Released`](e){this.$emit("released",e)},[`on${n}Pulling`](e){e.contentOffset>this.$contentHeight?"pulling"!==this.$lastEvent&&(this.$lastEvent="pulling",this.$emit("pulling",e)):"idle"!==this.$lastEvent&&(this.$lastEvent="idle",this.$emit("idle",e))}},render(){const{onReleased:e,onPulling:t,onIdle:o}=this.$attrs,i={onLayout:this.onLayout};return"function"==typeof e&&(i[`on${n}Released`]=this[`on${n}Released`]),"function"!=typeof t&&"function"!=typeof o||(i[`on${n}Pulling`]=this[`on${n}Pulling`]),m.h("hi-pull-"+r,l(l({},i),{},{ref:"instance"}),this.$slots.default?this.$slots.default():null)}})})}(e),function(e){lt("hi-ul-refresh-wrapper",{component:{name:"RefreshWrapper"}}),lt("hi-refresh-wrapper-item",{component:{name:"RefreshWrapperItemView"}}),e.component("UlRefreshWrapper",{props:{bounceTime:{type:Number,defaultValue:100}},methods:{startRefresh(){nt.callUIFunction(this.$refs.refreshWrapper,"startRefresh",null)},refreshCompleted(){nt.callUIFunction(this.$refs.refreshWrapper,"refreshComplected",null)}},render(){return m.h("hi-ul-refresh-wrapper",{ref:"refreshWrapper"},this.$slots.default?this.$slots.default():null)}}),e.component("UlRefresh",{render(){const e=m.h("div",null,this.$slots.default?this.$slots.default():null);return m.h("hi-refresh-wrapper-item",{style:{position:"absolute",left:0,right:0}},e)}})}(e),function(e){lt("hi-waterfall",{component:{name:"WaterfallView",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onExposureReport":n.exposureInfo=t.exposureInfo;break;case"onScroll":{const{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s}=t;Object.assign(n,{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s});break}}return n}}}),lt("hi-waterfall-item",{component:{name:"WaterfallItem"}}),e.component("Waterfall",{props:{numberOfColumns:{type:Number,default:2},contentInset:{type:Object,default:()=>({top:0,left:0,bottom:0,right:0})},columnSpacing:{type:Number,default:0},interItemSpacing:{type:Number,default:0},preloadItemNumber:{type:Number,default:0},containBannerView:{type:Boolean,default:!1},containPullHeader:{type:Boolean,default:!1},containPullFooter:{type:Boolean,default:!1}},methods:{call(e,t){nt.callUIFunction(this.$refs.waterfall,e,t)},startRefresh(){this.call("startRefresh")},startRefreshWithType(e){this.call("startRefreshWithType",[e])},callExposureReport(){this.call("callExposureReport",[])},scrollToIndex({index:e=0,animated:t=!0}){this.call("scrollToIndex",[e,e,t])},scrollToContentOffset({xOffset:e=0,yOffset:t=0,animated:n=!0}){this.call("scrollToContentOffset",[e,t,n])},startLoadMore(){this.call("startLoadMore")}},render(){const e=De.call(this,["headerReleased","headerPulling","endReached","exposureReport","initialListReady","scroll"]);return m.h("hi-waterfall",l(l({},e),{},{ref:"waterfall",numberOfColumns:this.numberOfColumns,contentInset:this.contentInset,columnSpacing:this.columnSpacing,interItemSpacing:this.interItemSpacing,preloadItemNumber:this.preloadItemNumber,containBannerView:this.containBannerView,containPullHeader:this.containPullHeader,containPullFooter:this.containPullFooter}),this.$slots.default?this.$slots.default():null)}}),e.component("WaterfallItem",{props:{type:{type:[String,Number],default:""},fullSpan:{type:Boolean,default:!1}},render(){return m.h("hi-waterfall-item",{type:this.type,fullSpan:this.fullSpan},this.$slots.default?this.$slots.default():null)}})}(e),function(e){lt("hi-swiper",{component:{name:"ViewPager",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onPageSelected":n.currentSlide=t.position;break;case"onPageScroll":n.nextSlide=t.position,n.offset=t.offset;break;case"onPageScrollStateChanged":n.state=t.pageScrollState}return n}}}),lt("hi-swiper-slide",{component:{name:"ViewPagerItem",defaultNativeStyle:{position:"absolute",top:0,right:0,bottom:0,left:0}}}),e.component("Swiper",{props:{current:{type:Number,defaultValue:0},needAnimation:{type:Boolean,defaultValue:!0}},data:()=>({$initialSlide:0}),watch:{current(e){this.$props.needAnimation?this.setSlide(e):this.setSlideWithoutAnimation(e)}},beforeMount(){this.$initialSlide=this.$props.current},methods:{setSlide(e){nt.callUIFunction(this.$refs.swiper,"setPage",[e])},setSlideWithoutAnimation(e){nt.callUIFunction(this.$refs.swiper,"setPageWithoutAnimation",[e])}},render(){const e=De.call(this,[["dropped","pageSelected"],["dragging","pageScroll"],["stateChanged","pageScrollStateChanged"]]);return m.h("hi-swiper",l(l({},e),{},{ref:"swiper",initialPage:this.$data.$initialSlide}),this.$slots.default?this.$slots.default():null)}}),e.component("SwiperSlide",{render(){return m.h("hi-swiper-slide",{},this.$slots.default?this.$slots.default():null)}})}(e)}};class pn extends ln{constructor(e,t){super("comment",t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}}class hn extends ln{setText(e,t={}){"textarea"===this.tagName?this.setAttribute("value",e,{notToNative:!!t.notToNative}):this.setAttribute("text",e,{notToNative:!!t.notToNative})}async getValue(){return new Promise(e=>nt.callUIFunction(this,"getValue",t=>e(t.text)))}setValue(e){nt.callUIFunction(this,"setValue",[e])}focus(){nt.callUIFunction(this,"focusTextInput",[])}blur(){nt.callUIFunction(this,"blurTextInput",[])}clear(){nt.callUIFunction(this,"clear",[])}async isFocused(){return new Promise(e=>nt.callUIFunction(this,"isFocused",t=>e(t.value)))}}class mn extends ln{scrollToIndex(e=0,t=0,n=!0){nt.callUIFunction(this,"scrollToIndex",[e,t,n])}scrollToPosition(e=0,t=0,n=!0){"number"==typeof e&&"number"==typeof t&&nt.callUIFunction(this,"scrollToContentOffset",[e,t,n])}}class vn extends sn{static createComment(e){return new pn(e)}static createElement(e){switch(e){case"input":case"textarea":return new hn(e);case"ul":return new mn(e);default:return new ln(e)}}static createTextNode(e){return new cn(e)}constructor(){super(rn.DocumentNode)}}const gn={insert:function(e,t,n=null){t.childNodes.indexOf(e)>=0?t.moveChild(e,n):t.insertBefore(e,n)},remove:function(e){const t=e.parentNode;t&&(t.removeChild(e),Wt(e))},setText:function(e,t){e.setText(t)},setElementText:function(e,t){e.setText(t)},createElement:function(e){return vn.createElement(e)},createComment:function(e){return vn.createComment(e)},createText:function(e){return vn.createTextNode(e)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},setScopeId:function(e,t){e.setStyleScope(t)}};const yn=/(?:Once|Passive|Capture)$/;function bn(e,t,n,r,o=null){var i;const s=e,c=null!==(i=s._vei)&&void 0!==i?i:s._vei={},a=c[t];if(r&&a)a.value=r;else{const[e,n]=function(e){let t=e;const n={};if(yn.test(t)){let e=t.match(yn);for(;e;)t=t.slice(0,t.length-e[0].length),n[e[0].toLowerCase()]=!0,e=t.match(yn)}return t=":"===t[2]?t.slice(3):t.slice(2),[(r=t,`${r.charAt(0).toLowerCase()}${r.slice(1)}`),n];var r}(t);if(r){c[t]=function(e,t){const n=e=>{m.callWithAsyncErrorHandling(n.value,t,m.ErrorCodes.NATIVE_EVENT_HANDLER,[e])};return n.value=e,n}(r,o);const i=c[t];s.addEventListener(e,i,n)}else s.removeEventListener(e,a,n),c[t]=void 0}}function On(e,t,n){const r=e,o={};if(!function(e,t,n){const r=!e,o=!t&&!n,i=JSON.stringify(t)===JSON.stringify(n);return r||o||i}(r,t,n))if(t&&!n)r.removeStyle();else{if(h.isString(n))throw new Error("Style is Not Object");n&&(Object.keys(n).forEach(e=>{const t=n[e];(function(e){return null==e})(t)||(o[m.camelize(e)]=t)}),r.removeStyle(!0),r.setStyles(o))}}function _n(e,t,n,r,o,i){switch(t){case"class":!function(e,t){let n=t;null===n&&(n=""),e.setAttribute("class",n)}(e,r);break;case"style":On(e,n,r);break;default:h.isOn(t)?bn(e,t,0,r,i):function(e,t,n,r){null===r?e.removeAttribute(t):n!==r&&e.setAttribute(t,r)}(e,t,n,r)}}let En=!1;function Sn(e,t){const n=function(e){var t;if("comment"===e.name)return new pn(e.props.text,e);if("Text"===e.name&&!e.tagName){const t=new cn(e.props.text,e);return t.nodeType=rn.TextNode,t.data=e.props.text,t}switch(e.tagName){case"input":case"textarea":return new hn(e.tagName,e);case"ul":return new mn(e.tagName,e);default:return new ln(null!==(t=e.tagName)&&void 0!==t?t:"",e)}}(e);let r=t.filter(t=>t.pId===e.id).sort((e,t)=>e.index-t.index);const o=r.filter(e=>"comment"===e.name);if(o.length){r=r.filter(e=>"comment"!==e.name);for(let e=o.length-1;e>=0;e--)r.splice(o[e].index,0,o[e])}return r.forEach(e=>{n.appendChild(Sn(e,t),!0)}),n}e.WebSocket=class{constructor(e,t,n){this.webSocketId=-1,this.protocol="",this.listeners={},this.url=e,this.readyState=0,this.webSocketCallbacks={},this.onWebSocketEvent=this.onWebSocketEvent.bind(this);const r=l({},n);if(En||(En=!0,Ee.$on("hippyWebsocketEvents",this.onWebSocketEvent)),!e)throw new TypeError("Invalid WebSocket url");Array.isArray(t)&&t.length>0?(this.protocol=t.join(","),r["Sec-WebSocket-Protocol"]=this.protocol):"string"==typeof t&&(this.protocol=t,r["Sec-WebSocket-Protocol"]=this.protocol);const o={headers:r,url:e};nt.callNativeWithPromise("websocket","connect",o).then(e=>{e&&0===e.code?this.webSocketId=e.id:je()})}close(e,t){1===this.readyState&&(this.readyState=2,nt.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}send(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: "+typeof e);nt.callNative("websocket","send",{id:this.webSocketId,data:e})}else je()}set onopen(e){this.addEventListener("open",e)}set onclose(e){this.addEventListener("close",e)}set onerror(e){this.addEventListener("error",e)}set onmessage(e){this.addEventListener("message",e)}onWebSocketEvent(e){if("object"!=typeof e||e.id!==this.webSocketId)return;const t=e.type;if("string"!=typeof t)return;"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,Ee.$off("hippyWebsocketEvents",this.onWebSocketEvent));const n=this.webSocketCallbacks[t];(null==n?void 0:n.length)&&n.forEach(t=>{h.isFunction(t)&&t(e.data)})}addEventListener(e,t){if((e=>-1!==["open","close","message","error"].indexOf(e))(e)){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);const n=Fe(e);this.webSocketCallbacks[n]=this.listeners[e]}}};const wn=['%c[Hippy-Vue-Next "unspecified"]%c',"color: #4fc08d; font-weight: bold","color: auto; font-weight: auto"];function Nn(e,t){if(nt.isIOS()){const n=function(e){var t,n;const{iPhone:r}=e;let o;if((null==r?void 0:r.statusBar)&&(o=r.statusBar),null==o?void 0:o.disabled)return null;const i=new ln("div"),{statusBarHeight:s}=nt.Dimensions.screen;nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0);let c=4282431619;if(Number.isInteger(c)&&({backgroundColor:c}=o),i.setStyle("backgroundColor",c),"string"==typeof o.backgroundImage){const r=new ln("img");r.setStyle("width",nt.Dimensions.screen.width),r.setStyle("height",s),r.setAttribute("src",null===(n=null===(t=e.iPhone)||void 0===t?void 0:t.statusBar)||void 0===n?void 0:n.backgroundImage),i.appendChild(r)}return i.addEventListener("layout",()=>{nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0)}),i}(e);if(n){const e=t.$el.parentNode;e.childNodes.length?e.insertBefore(n,e.childNodes[0]):e.appendChild(n)}}}const Tn=(e,t)=>{var n,r;const o=e,i=Boolean(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length);var s,c;o.use(xt),o.use(fn),"function"==typeof(null===(r=null==t?void 0:t.styleOptions)||void 0===r?void 0:r.beforeLoadStyle)&&(s=t.styleOptions.beforeLoadStyle,ke=s),t.silent&&(c=t.silent,Ne=c),function(e=!0){Te=e}(t.trimWhitespace);const{mount:a}=o;return o.mount=e=>{var n;Ft("rootContainer",e);const r=(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length)?function(e){const[t]=e;return Sn(t,e)}(t.ssrNodeList):function(e){const t=vn.createElement("div");return t.id=e,t.style={display:"flex",flex:1},t}(e),o=a(r,i,!1);return Ft("instance",o),i||Nn(t,o),o},o.$start=async e=>new Promise(n=>{nt.hippyNativeRegister.regist(t.appName,r=>{var i,s;const{__instanceId__:c}=r;xe(...wn,"Start",t.appName,"with rootViewId",c,r);const a=Lt();var l;(null==a?void 0:a.app)&&a.app.unmount(),l={rootViewId:c,superProps:r,app:o,ratioBaseWidth:null!==(s=null===(i=null==t?void 0:t.styleOptions)||void 0===i?void 0:i.ratioBaseWidth)&&void 0!==s?s:750},Mt=l;const u={superProps:r,rootViewId:c};h.isFunction(e)?e(u):n(u)})}),o};t.BackAndroid=ct,t.ContentSizeEvent=class extends Dt{},t.EventBus=Ee,t.ExposureEvent=class extends Dt{},t.FocusEvent=class extends Dt{},t.HIPPY_DEBUG_ADDRESS=Se,t.HIPPY_GLOBAL_DISPOSE_STYLE_NAME="__HIPPY_VUE_DISPOSE_STYLES__",t.HIPPY_GLOBAL_STYLE_NAME="__HIPPY_VUE_STYLES__",t.HIPPY_STATIC_PROTOCOL="hpfile://",t.HIPPY_UNIQUE_ID_KEY="hippyUniqueId",t.HIPPY_VUE_VERSION="unspecified",t.HippyEvent=Dt,t.HippyKeyboardEvent=class extends Dt{},t.HippyLayoutEvent=Vt,t.HippyLoadResourceEvent=class extends Dt{},t.HippyTouchEvent=class extends Dt{},t.IS_PROD=!0,t.ListViewEvent=class extends Dt{},t.NATIVE_COMPONENT_MAP=we,t.Native=nt,t.ViewPagerEvent=class extends Dt{},t._setBeforeRenderToNative=(e,t)=>{h.isFunction(e)&&(1===t?Re=e:console.error("_setBeforeRenderToNative API had changed, the hook function will be ignored!"))},t.createApp=(e,t)=>{const n=m.createRenderer(l({patchProp:_n},gn)).createApp(e);return Tn(n,t)},t.createHippyApp=Tn,t.createSSRApp=(e,t)=>{const n=m.createHydrationRenderer(l({patchProp:_n},gn)).createApp(e);return Tn(n,t)},t.eventIsKeyboardEvent=Bt,t.getCssMap=ye,t.getTagComponent=ut,t.isNativeTag=function(e){return dn.includes(e)},t.parseCSS=function(e,t={source:0}){let n=1,r=1;function o(e){const t=e.match(/\n/g);t&&(n+=t.length);const o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(t){const n=t.exec(e);if(!n)return null;const r=n[0];return o(r),e=e.slice(r.length),n}function s(){i(/^\s*/)}function c(){return o=>(o.position={start:{line:n,column:r},end:{line:n,column:r},source:t.source,content:e},s(),o)}const a=[];function u(o){const i=l(l({},new Error(`${t.source}:${n}:${r}: ${o}`)),{},{reason:o,filename:t.source,line:n,column:r,source:e});if(!t.silent)throw i;a.push(i)}function d(){const t=c();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return null;let n=2;for(;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)n+=1;if(n+=2,""===e.charAt(n-1))return u("End of comment missing");const i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}function f(e=[]){let t;const n=e||[];for(;t=d();)!1!==t&&n.push(t);return n}function p(){let t;const n=[];for(s(),f(n);e.length&&"}"!==e.charAt(0)&&(t=T()||O());)t&&(n.push(t),f(n));return n}function m(){return i(/^{\s*/)}function v(){return i(/^}/)}function g(){const e=i(/^([^{]+)/);return e?e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,e=>e.replace(/,/g,"‌")).split(/\s*(?![^(]*\)),\s*/).map(e=>e.replace(/\u200C/g,",")):null}function y(){const e=c();let t=i(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+])?)\s*/);if(!t)return null;if(t=t[0].trim(),!i(/^:\s*/))return u("property missing ':'");const n=t.replace(k,""),r=h.camelize(n);let o=(()=>{const e=x[r];return e||r})();const s=i(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]{0,500}?\)|[^};])+)/);let a=s?s[0].trim().replace(k,""):"";switch(o){case"backgroundImage":[o,a]=F(o,a);break;case"transform":{const e=/((\w+)\s*\()/,t=/(?:\(['"]?)(.*?)(?:['"]?\))/,n=a;a=[],n.split(" ").forEach(n=>{if(e.test(n)){let r,o;const i=e.exec(n),s=t.exec(n);i&&([,,r]=i),s&&([,o]=s),0===o.indexOf(".")&&(o="0"+o),parseFloat(o).toString()===o&&(o=parseFloat(o));const c={};c[r]=o,a.push(c)}else u("missing '('")});break}case"fontWeight":break;case"shadowOffset":{const e=a.split(" ").filter(e=>e).map(e=>R(e)),[t]=e;let[,n]=e;n||(n=t),a={x:t,y:n};break}case"collapsable":a=Boolean(a);break;default:a=function(e){if("number"==typeof e)return e;if(P.test(e))try{return parseFloat(e)}catch(e){}return e}(a);["top","left","right","bottom","height","width","size","padding","margin","ratio","radius","offset","spread"].find(e=>o.toLowerCase().indexOf(e)>-1)&&(a=R(a))}const l=e({type:"declaration",value:a,property:o});return i(/^[;\s]*/),l}function b(){let e,t=[];if(!m())return u("missing '{'");for(f(t);e=y();)!1!==e&&(Array.isArray(e)?t=t.concat(e):t.push(e),f(t));return v()?t:u("missing '}'")}function O(){const e=c(),t=g();return t?(f(),e({type:"rule",selectors:t,declarations:b()})):u("selector missing")}function _(){let e;const t=[],n=c();for(;e=i(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),i(/^,\s*/);return t.length?n({type:"keyframe",values:t,declarations:b()}):null}function E(e){const t=new RegExp(`^@${e}\\s*([^;]+);`);return()=>{const n=c(),r=i(t);if(!r)return null;const o={type:e};return o[e]=r[1].trim(),n(o)}}const S=E("import"),w=E("charset"),N=E("namespace");function T(){return"@"!==e[0]?null:function(){const e=c();let t=i(/^@([-\w]+)?keyframes\s*/);if(!t)return null;const n=t[1];if(t=i(/^([-\w]+)\s*/),!t)return u("@keyframes missing name");const r=t[1];if(!m())return u("@keyframes missing '{'");let o,s=f();for(;o=_();)s.push(o),s=s.concat(f());return v()?e({type:"keyframes",name:r,vendor:n,keyframes:s}):u("@keyframes missing '}'")}()||function(){const e=c(),t=i(/^@media *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@media missing '{'");const r=f().concat(p());return v()?e({type:"media",media:n,rules:r}):u("@media missing '}'")}()||function(){const e=c(),t=i(/^@custom-media\s+(--[^\s]+)\s*([^{;]{1,200}?);/);return t?e({type:"custom-media",name:t[1].trim(),media:t[2].trim()}):null}()||function(){const e=c(),t=i(/^@supports *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@supports missing '{'");const r=f().concat(p());return v()?e({type:"supports",supports:n,rules:r}):u("@supports missing '}'")}()||S()||w()||N()||function(){const e=c(),t=i(/^@([-\w]+)?document *([^{]+)/);if(!t)return null;const n=t[1].trim(),r=t[2].trim();if(!m())return u("@document missing '{'");const o=f().concat(p());return v()?e({type:"document",document:r,vendor:n,rules:o}):u("@document missing '}'")}()||function(){const e=c();if(!i(/^@page */))return null;const t=g()||[];if(!m())return u("@page missing '{'");let n,r=f();for(;n=y();)r.push(n),r=r.concat(f());return v()?e({type:"page",selectors:t,declarations:r}):u("@page missing '}'")}()||function(){const e=c();if(!i(/^@host\s*/))return null;if(!m())return u("@host missing '{'");const t=f().concat(p());return v()?e({type:"host",rules:t}):u("@host missing '}'")}()||function(){const e=c();if(!i(/^@font-face\s*/))return null;if(!m())return u("@font-face missing '{'");let t,n=f();for(;t=y();)n.push(t),n=n.concat(f());return v()?e({type:"font-face",declarations:n}):u("@font-face missing '}'")}()}return function e(t,n){const r=t&&"string"==typeof t.type,o=r?t:n;return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e(t,o)}):r&&"object"==typeof r&&e(r,o)}),r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n}),t}(function(){const e=p();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:a}}}(),null)},t.registerElement=lt,t.setScreenSize=function(t){var n;if(t.width&&t.height){const{screen:r}=null===(n=null==e?void 0:e.Hippy)||void 0===n?void 0:n.device;r&&(r.width=t.width,r.height=t.height)}},t.translateColor=T}).call(this,n(2),n(6))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],u=!1,d=-1;function f(){u&&a&&(u=!1,a.length?l=a.concat(l):d=-1,l.length&&p())}function p(){if(!u){var e=c(f);u=!0;for(var t=l.length;t;){for(a=l,l=[];++d1)for(var n=1;nn.has(e.toLowerCase()):e=>n.has(e)}n.d(t,"EMPTY_ARR",(function(){return i})),n.d(t,"EMPTY_OBJ",(function(){return o})),n.d(t,"NO",(function(){return c})),n.d(t,"NOOP",(function(){return s})),n.d(t,"PatchFlagNames",(function(){return G})),n.d(t,"PatchFlags",(function(){return K})),n.d(t,"ShapeFlags",(function(){return q})),n.d(t,"SlotFlags",(function(){return J})),n.d(t,"camelize",(function(){return P})),n.d(t,"capitalize",(function(){return M})),n.d(t,"def",(function(){return B})),n.d(t,"escapeHtml",(function(){return Ne})),n.d(t,"escapeHtmlComment",(function(){return Te})),n.d(t,"extend",(function(){return u})),n.d(t,"genPropsAccessExp",(function(){return z})),n.d(t,"generateCodeFrame",(function(){return ee})),n.d(t,"getGlobalThis",(function(){return Y})),n.d(t,"hasChanged",(function(){return D})),n.d(t,"hasOwn",(function(){return f})),n.d(t,"hyphenate",(function(){return L})),n.d(t,"includeBooleanAttr",(function(){return ve})),n.d(t,"invokeArrayFns",(function(){return V})),n.d(t,"isArray",(function(){return h})),n.d(t,"isBooleanAttr",(function(){return me})),n.d(t,"isBuiltInDirective",(function(){return C})),n.d(t,"isDate",(function(){return g})),n.d(t,"isFunction",(function(){return b})),n.d(t,"isGloballyAllowed",(function(){return Z})),n.d(t,"isGloballyWhitelisted",(function(){return Q})),n.d(t,"isHTMLTag",(function(){return le})),n.d(t,"isIntegerKey",(function(){return j})),n.d(t,"isKnownHtmlAttr",(function(){return _e})),n.d(t,"isKnownSvgAttr",(function(){return Ee})),n.d(t,"isMap",(function(){return m})),n.d(t,"isMathMLTag",(function(){return de})),n.d(t,"isModelListener",(function(){return l})),n.d(t,"isObject",(function(){return E})),n.d(t,"isOn",(function(){return a})),n.d(t,"isPlainObject",(function(){return T})),n.d(t,"isPromise",(function(){return S})),n.d(t,"isRegExp",(function(){return y})),n.d(t,"isRenderableAttrValue",(function(){return Se})),n.d(t,"isReservedProp",(function(){return k})),n.d(t,"isSSRSafeAttrName",(function(){return be})),n.d(t,"isSVGTag",(function(){return ue})),n.d(t,"isSet",(function(){return v})),n.d(t,"isSpecialBooleanAttr",(function(){return he})),n.d(t,"isString",(function(){return O})),n.d(t,"isSymbol",(function(){return _})),n.d(t,"isVoidTag",(function(){return pe})),n.d(t,"looseEqual",(function(){return je})),n.d(t,"looseIndexOf",(function(){return ke})),n.d(t,"looseToNumber",(function(){return $})),n.d(t,"makeMap",(function(){return r})),n.d(t,"normalizeClass",(function(){return ce})),n.d(t,"normalizeProps",(function(){return ae})),n.d(t,"normalizeStyle",(function(){return te})),n.d(t,"objectToString",(function(){return w})),n.d(t,"parseStringStyle",(function(){return ie})),n.d(t,"propsToAttrMap",(function(){return Oe})),n.d(t,"remove",(function(){return d})),n.d(t,"slotFlagsText",(function(){return X})),n.d(t,"stringifyStyle",(function(){return se})),n.d(t,"toDisplayString",(function(){return Ce})),n.d(t,"toHandlerKey",(function(){return F})),n.d(t,"toNumber",(function(){return U})),n.d(t,"toRawType",(function(){return x})),n.d(t,"toTypeString",(function(){return N}));const o={},i=[],s=()=>{},c=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),h=Array.isArray,m=e=>"[object Map]"===N(e),v=e=>"[object Set]"===N(e),g=e=>"[object Date]"===N(e),y=e=>"[object RegExp]"===N(e),b=e=>"function"==typeof e,O=e=>"string"==typeof e,_=e=>"symbol"==typeof e,E=e=>null!==e&&"object"==typeof e,S=e=>(E(e)||b(e))&&b(e.then)&&b(e.catch),w=Object.prototype.toString,N=e=>w.call(e),x=e=>N(e).slice(8,-1),T=e=>"[object Object]"===N(e),j=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),A=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},I=/-(\w)/g,P=A(e=>e.replace(I,(e,t)=>t?t.toUpperCase():"")),R=/\B([A-Z])/g,L=A(e=>e.replace(R,"-$1").toLowerCase()),M=A(e=>e.charAt(0).toUpperCase()+e.slice(1)),F=A(e=>e?"on"+M(e):""),D=(e,t)=>!Object.is(e,t),V=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=O(e)?Number(e):NaN;return isNaN(t)?e:t};let H;const Y=()=>H||(H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),W=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function z(e){return W.test(e)?"__props."+e:`__props[${JSON.stringify(e)}]`}const K={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},G={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},q={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},J={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},X={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Z=r("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"),Q=Z;function ee(e,t=0,n=e.length){let r=e.split(/(\r?\n)/);const o=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let i=0;const s=[];for(let e=0;e=t){for(let c=e-2;c<=e+2||n>i;c++){if(c<0||c>=r.length)continue;const a=c+1;s.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${r[c]}`);const l=r[c].length,u=o[c]&&o[c].length||0;if(c===e){const e=t-(i-(l+u)),r=Math.max(1,n>i?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(c>e){if(n>i){const e=Math.max(Math.min(n-i,l),1);s.push(" | "+"^".repeat(e))}i+=l+u}}break}return s.join("\n")}function te(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(re);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function se(e){let t="";if(!e||O(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:L(n);(O(r)||"number"==typeof r)&&(t+=`${o}:${r};`)}return t}function ce(e){let t="";if(O(e))t=e;else if(h(e))for(let n=0;n/="'\u0009\u000a\u000c\u0020]/,ye={};function be(e){if(ye.hasOwnProperty(e))return ye[e];const t=ge.test(e);return t&&console.error("unsafe attribute name: "+e),ye[e]=!t}const Oe={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},_e=r("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"),Ee=r("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");function Se(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const we=/["'&<>]/;function Ne(e){const t=""+e,n=we.exec(t);if(!n)return t;let r,o,i="",s=0;for(o=n.index;o||--!>|je(e,t))}const Ce=e=>O(e)?e:null==e?"":h(e)||E(e)&&(e.toString===w||!b(e.toString))?JSON.stringify(e,Ae,2):String(e),Ae=(e,t)=>t&&t.__v_isRef?Ae(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ie(t,r)+" =>"]=n,e),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ie(e))}:_(t)?Ie(t):!E(t)||h(t)||T(t)?t:String(t),Ie=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}}.call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/process/browser.js":function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],u=!1,d=-1;function p(){u&&a&&(u=!1,a.length?l=a.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=c(p);u=!0;for(var t=l.length;t;){for(a=l,l=[];++d1)for(var n=1;n{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,c.map(({vnode:e})=>`at <${Wr(n,e.type)}>`).join("\n"),c]);else{const n=["[Vue warn]: "+e,...t];c.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=" at <"+Wr(e.component,e.type,r),i=">"+n;return e.props?[o,...a(e.props),i]:[o+i]}(e))}),t}(c)),console.warn(...n)}Object(r.resetTracking)(),s=!1}function a(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,i){return Object(o.isString)(n)?(n=JSON.stringify(n),i?n:[`${t}=${n}`]):"number"==typeof n||"boolean"==typeof n||null==n?i?n:[`${t}=${n}`]:Object(r.isRef)(n)?(n=e(t,Object(r.toRaw)(n.value),!0),i?n:[t+"=Ref<",n,">"]):Object(o.isFunction)(n)?[`${t}=fn${n.name?`<${n.name}>`:""}`]:(n=Object(r.toRaw)(n),i?n:[t+"=",n])}(n,e[n]))}),n.length>3&&t.push(" ..."),t}function l(e,t){}const u={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},d={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function f(e,t,n,r){try{return r?e(...r):e()}catch(e){h(e,t,n)}}function p(e,t,n,r){if(Object(o.isFunction)(e)){const i=f(e,t,n,r);return i&&Object(o.isPromise)(i)&&i.catch(e=>{h(e,t,n)}),i}if(Object(o.isArray)(e)){const o=[];for(let i=0;i>>1,o=g[r],i=C(o);iC(e)-C(t));if(b.length=0,O)return void O.push(...e);for(O=e,_=0;_null==e.id?1/0:e.id,I=(e,t)=>{const n=C(e)-C(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function k(e){v=!1,m=!0,g.sort(I);o.NOOP;try{for(y=0;yU;function U(e,t=L,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&er(-1);const o=D(t);let i;try{i=e(...n)}finally{D(o),r._d&&er(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function H(e,t){if(null===L)return e;const n=Ur(L),r=e.dirs||(e.dirs=[]);for(let e=0;e{e.isMounted=!0}),Se(()=>{e.isUnmounting=!0}),e}const G=[Function,Array],q={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:G,onEnter:G,onAfterEnter:G,onEnterCancelled:G,onBeforeLeave:G,onLeave:G,onAfterLeave:G,onLeaveCancelled:G,onBeforeAppear:G,onAppear:G,onAfterAppear:G,onAppearCancelled:G},J=e=>{const t=e.subTree;return t.component?J(t.component):t},X={name:"BaseTransition",props:q,setup(e,{slots:t}){const n=Tr(),o=K();return()=>{const i=t.default&&re(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==zn){0,s=t,e=!0;break}}const c=Object(r.toRaw)(e),{mode:a}=c;if(o.isLeaving)return ee(s);const l=te(s);if(!l)return ee(s);let u=Q(l,c,o,n,e=>u=e);ne(l,u);const d=n.subTree,f=d&&te(d);if(f&&f.type!==zn&&!ir(l,f)&&J(n).type!==zn){const e=Q(f,c,o,n);if(ne(f,e),"out-in"===a&&l.type!==zn)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},ee(s);"in-out"===a&&l.type!==zn&&(e.delayLeave=(e,t,n)=>{Z(o,f)[String(f.key)]=f,e[W]=()=>{t(),e[W]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Z(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Q(e,t,n,r,i){const{appear:s,mode:c,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:y,onAppear:b,onAfterAppear:O,onAppearCancelled:_}=t,E=String(e.key),S=Z(n,e),w=(e,t)=>{e&&p(e,r,9,t)},N=(e,t)=>{const n=t[1];w(e,t),Object(o.isArray)(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:c,persisted:a,beforeEnter(t){let r=l;if(!n.isMounted){if(!s)return;r=y||l}t[W]&&t[W](!0);const o=S[E];o&&ir(e,o)&&o.el[W]&&o.el[W](),w(r,[t])},enter(e){let t=u,r=d,o=f;if(!n.isMounted){if(!s)return;t=b||u,r=O||d,o=_||f}let i=!1;const c=e[z]=t=>{i||(i=!0,w(t?o:r,[e]),T.delayedLeave&&T.delayedLeave(),e[z]=void 0)};t?N(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t[z]&&t[z](!0),n.isUnmounting)return r();w(h,[t]);let i=!1;const s=t[W]=n=>{i||(i=!0,r(),w(n?g:v,[t]),t[W]=void 0,S[o]===e&&delete S[o])};S[o]=e,m?N(m,[t,s]):s()},clone(e){const o=Q(e,t,n,r,i);return i&&i(o),o}};return T}function ee(e){if(ae(e))return(e=pr(e)).children=null,e}function te(e){if(!ae(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&Object(o.isFunction)(n.default))return n.default()}}function ne(e,t){6&e.shapeFlag&&e.component?ne(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function re(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let e=0;eObject(o.extend)({name:e.name},t,{setup:e}))():e}const ie=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;function se(e){Object(o.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,timeout:c,suspensible:a=!0,onError:l}=e;let u,d=null,f=0;const p=()=>{let e;return d||(e=d=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((f++,d=null,p())),()=>n(e),f+1)});throw e}).then(t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t)))};return oe({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return u},setup(){const e=Nr;if(u)return()=>ce(u,e);const t=t=>{d=null,h(t,e,13,!i)};if(a&&e.suspense||Rr)return p().then(t=>()=>ce(t,e)).catch(e=>(t(e),()=>i?ur(i,{error:e}):null));const o=Object(r.ref)(!1),l=Object(r.ref)(),f=Object(r.ref)(!!s);return s&&setTimeout(()=>{f.value=!1},s),null!=c&&setTimeout(()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${c}ms.`);t(e),l.value=e}},c),p().then(()=>{o.value=!0,e.parent&&ae(e.parent.vnode)&&(e.parent.effect.dirty=!0,N(e.parent.update))}).catch(e=>{t(e),l.value=e}),()=>o.value&&u?ce(u,e):l.value&&i?ur(i,{error:l.value}):n&&!f.value?ur(n):void 0}})}function ce(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=ur(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const ae=e=>e.type.__isKeepAlive,le={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Tr(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,s=new Set;let c=null;const a=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:f}}}=r,p=f("div");function h(e){me(e),d(e,n,a,!0)}function m(e){i.forEach((t,n)=>{const r=Yr(t.type);!r||e&&e(r)||v(n)})}function v(e){const t=i.get(e);c&&ir(t,c)?c&&me(c):h(t),i.delete(e),s.delete(e)}r.activate=(e,t,n,r,i)=>{const s=e.component;u(e,t,n,0,a),l(s.vnode,e,t,n,s,a,r,e.slotScopeIds,i),on(()=>{s.isDeactivated=!1,s.a&&Object(o.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&_r(t,s.parent,e)},a)},r.deactivate=e=>{const t=e.component;pn(t.m),pn(t.a),u(e,p,null,1,a),on(()=>{t.da&&Object(o.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&_r(n,t.parent,e),t.isDeactivated=!0},a)},On(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>ue(e,t)),t&&m(e=>!ue(t,e))},{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&(Ln(n.subTree.type)?on(()=>{i.set(g,ve(n.subTree))},n.subTree.suspense):i.set(g,ve(n.subTree)))};return Oe(y),Ee(y),Se(()=>{i.forEach(e=>{const{subTree:t,suspense:r}=n,o=ve(t);if(e.type!==o.type||e.key!==o.key)h(e);else{me(o);const e=o.component.da;e&&on(e,r)}})}),()=>{if(g=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return c=null,n;if(!(or(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return c=null,r;let o=ve(r);const a=o.type,l=Yr(ie(o)?o.type.__asyncResolved||{}:a),{include:u,exclude:d,max:f}=e;if(u&&(!l||!ue(u,l))||d&&l&&ue(d,l))return c=o,r;const p=null==o.key?a:o.key,h=i.get(p);return o.el&&(o=pr(o),128&r.shapeFlag&&(r.ssContent=o)),g=p,h?(o.el=h.el,o.component=h.component,o.transition&&ne(o,o.transition),o.shapeFlag|=512,s.delete(p),s.add(p)):(s.add(p),f&&s.size>parseInt(f,10)&&v(s.values().next().value)),o.shapeFlag|=256,c=o,Ln(r.type)?r:o}}};function ue(e,t){return Object(o.isArray)(e)?e.some(e=>ue(e,t)):Object(o.isString)(e)?e.split(",").includes(t):!!Object(o.isRegExp)(e)&&e.test(t)}function de(e,t){pe(e,"a",t)}function fe(e,t){pe(e,"da",t)}function pe(e,t,n=Nr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ge(t,r,n),n){let e=n.parent;for(;e&&e.parent;)ae(e.parent.vnode)&&he(r,t,n,e),e=e.parent}}function he(e,t,n,r){const i=ge(t,e,r,!0);we(()=>{Object(o.remove)(r[t],i)},n)}function me(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ve(e){return 128&e.shapeFlag?e.ssContent:e}function ge(e,t,n=Nr,o=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{Object(r.pauseTracking)();const i=Ar(n),s=p(t,n,e,o);return i(),Object(r.resetTracking)(),s});return o?i.unshift(s):i.push(s),s}}const ye=e=>(t,n=Nr)=>{Rr&&"sp"!==e||ge(e,(...e)=>t(...e),n)},be=ye("bm"),Oe=ye("m"),_e=ye("bu"),Ee=ye("u"),Se=ye("bum"),we=ye("um"),Ne=ye("sp"),Te=ye("rtg"),xe=ye("rtc");function je(e,t=Nr){ge("ec",e,t)}function Ae(e,t){return Pe("components",e,!0,t)||e}const Ce=Symbol.for("v-ndc");function Ie(e){return Object(o.isString)(e)?Pe("components",e,!1)||e:e||Ce}function ke(e){return Pe("directives",e)}function Pe(e,t,n=!0,r=!1){const i=L||Nr;if(i){const n=i.type;if("components"===e){const e=Yr(n,!1);if(e&&(e===t||e===Object(o.camelize)(t)||e===Object(o.capitalize)(Object(o.camelize)(t))))return n}const s=Re(i[e]||n[e],t)||Re(i.appContext[e],t);return!s&&r?n:s}}function Re(e,t){return e&&(e[t]||e[Object(o.camelize)(t)]||e[Object(o.capitalize)(Object(o.camelize)(t))])}function Me(e,t,n,r){let i;const s=n&&n[r];if(Object(o.isArray)(e)||Object(o.isString)(e)){i=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,s&&s[n]));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Fe(e,t,n={},r,o){if(L.isCE||L.parent&&ie(L.parent)&&L.parent.isCE)return"default"!==t&&(n.name=t),ur("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Jn();const s=i&&function e(t){return t.some(t=>!or(t)||t.type!==zn&&!(t.type===Yn&&!e(t.children)))?t:null}(i(n)),c=rr(Yn,{key:(n.key||s&&s.key||"_"+t)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function De(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?"on:"+r:Object(o.toHandlerKey)(r)]=e[r];return n}const Ve=e=>e?Ir(e)?Ur(e):Ve(e.parent):null,Be=Object(o.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ve(e.parent),$root:e=>Ve(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?lt(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,N(e.update)}),$nextTick:e=>e.n||(e.n=w.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?En.bind(e):o.NOOP}),$e=(e,t)=>e!==o.EMPTY_OBJ&&!e.__isScriptSetup&&Object(o.hasOwn)(e,t),Ue={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:i,data:s,props:c,accessCache:a,type:l,appContext:u}=e;let d;if("$"!==t[0]){const r=a[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return c[t]}else{if($e(i,t))return a[t]=1,i[t];if(s!==o.EMPTY_OBJ&&Object(o.hasOwn)(s,t))return a[t]=2,s[t];if((d=e.propsOptions[0])&&Object(o.hasOwn)(d,t))return a[t]=3,c[t];if(n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t))return a[t]=4,n[t];__VUE_OPTIONS_API__&&!it||(a[t]=0)}}const f=Be[t];let p,h;return f?("$attrs"===t&&Object(r.track)(e.attrs,"get",""),f(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t)?(a[t]=4,n[t]):(h=u.config.globalProperties,Object(o.hasOwn)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return $e(i,t)?(i[t]=n,!0):r!==o.EMPTY_OBJ&&Object(o.hasOwn)(r,t)?(r[t]=n,!0):!Object(o.hasOwn)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},c){let a;return!!n[c]||e!==o.EMPTY_OBJ&&Object(o.hasOwn)(e,c)||$e(t,c)||(a=s[0])&&Object(o.hasOwn)(a,c)||Object(o.hasOwn)(r,c)||Object(o.hasOwn)(Be,c)||Object(o.hasOwn)(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(o.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const He=Object(o.extend)({},Ue,{get(e,t){if(t!==Symbol.unscopables)return Ue.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!Object(o.isGloballyAllowed)(t)});function Ye(){return null}function We(){return null}function ze(e){0}function Ke(e){0}function Ge(){return null}function qe(){0}function Je(e,t){return null}function Xe(){return Qe().slots}function Ze(){return Qe().attrs}function Qe(){const e=Tr();return e.setupContext||(e.setupContext=$r(e))}function et(e){return Object(o.isArray)(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function tt(e,t){const n=et(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?Object(o.isArray)(r)||Object(o.isFunction)(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t["__skip_"+e]&&(r.skipFactory=!0)}return n}function nt(e,t){return e&&t?Object(o.isArray)(e)&&Object(o.isArray)(t)?e.concat(t):Object(o.extend)({},et(e),et(t)):e||t}function rt(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ot(e){const t=Tr();let n=e();return Cr(),Object(o.isPromise)(n)&&(n=n.catch(e=>{throw Ar(t),e})),[n,()=>Ar(t)]}let it=!0;function st(e){const t=lt(e),n=e.proxy,i=e.ctx;it=!1,t.beforeCreate&&ct(t.beforeCreate,e,"bc");const{data:s,computed:c,methods:a,watch:l,provide:u,inject:d,created:f,beforeMount:p,mounted:h,beforeUpdate:m,updated:v,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:O,destroyed:_,unmounted:E,render:S,renderTracked:w,renderTriggered:N,errorCaptured:T,serverPrefetch:x,expose:j,inheritAttrs:A,components:C,directives:I,filters:k}=t;if(d&&function(e,t,n=o.NOOP){Object(o.isArray)(e)&&(e=pt(e));for(const n in e){const i=e[n];let s;s=Object(o.isObject)(i)?"default"in i?Et(i.from||n,i.default,!0):Et(i.from||n):Et(i),Object(r.isRef)(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(d,i,null),a)for(const e in a){const t=a[e];Object(o.isFunction)(t)&&(i[e]=t.bind(n))}if(s){0;const t=s.call(n,n);0,Object(o.isObject)(t)&&(e.data=Object(r.reactive)(t))}if(it=!0,c)for(const e in c){const t=c[e],r=Object(o.isFunction)(t)?t.bind(n,n):Object(o.isFunction)(t.get)?t.get.bind(n,n):o.NOOP;0;const s=!Object(o.isFunction)(t)&&Object(o.isFunction)(t.set)?t.set.bind(n):o.NOOP,a=Kr({get:r,set:s});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const e in l)at(l[e],i,n,e);if(u){const e=Object(o.isFunction)(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{_t(t,e[t])})}function P(e,t){Object(o.isArray)(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&ct(f,e,"c"),P(be,p),P(Oe,h),P(_e,m),P(Ee,v),P(de,g),P(fe,y),P(je,T),P(xe,w),P(Te,N),P(Se,O),P(we,E),P(Ne,x),Object(o.isArray)(j))if(j.length){const t=e.exposed||(e.exposed={});j.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});S&&e.render===o.NOOP&&(e.render=S),null!=A&&(e.inheritAttrs=A),C&&(e.components=C),I&&(e.directives=I)}function ct(e,t,n){p(Object(o.isArray)(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function at(e,t,n,r){const i=r.includes(".")?Sn(n,r):()=>n[r];if(Object(o.isString)(e)){const n=t[e];Object(o.isFunction)(n)&&On(i,n)}else if(Object(o.isFunction)(e))On(i,e.bind(n));else if(Object(o.isObject)(e))if(Object(o.isArray)(e))e.forEach(e=>at(e,t,n,r));else{const r=Object(o.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];Object(o.isFunction)(r)&&On(i,r,e)}else 0}function lt(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:c}}=e.appContext,a=s.get(t);let l;return a?l=a:i.length||n||r?(l={},i.length&&i.forEach(e=>ut(l,e,c,!0)),ut(l,t,c)):l=t,Object(o.isObject)(t)&&s.set(t,l),l}function ut(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&ut(e,i,n,!0),o&&o.forEach(t=>ut(e,t,n,!0));for(const o in t)if(r&&"expose"===o);else{const r=dt[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const dt={data:ft,props:vt,emits:vt,methods:mt,computed:mt,beforeCreate:ht,created:ht,beforeMount:ht,mounted:ht,beforeUpdate:ht,updated:ht,beforeDestroy:ht,beforeUnmount:ht,destroyed:ht,unmounted:ht,activated:ht,deactivated:ht,errorCaptured:ht,serverPrefetch:ht,components:mt,directives:mt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Object(o.extend)(Object.create(null),e);for(const r in t)n[r]=ht(e[r],t[r]);return n},provide:ft,inject:function(e,t){return mt(pt(e),pt(t))}};function ft(e,t){return t?e?function(){return Object(o.extend)(Object(o.isFunction)(e)?e.call(this,this):e,Object(o.isFunction)(t)?t.call(this,this):t)}:t:e}function pt(e){if(Object(o.isArray)(e)){const t={};for(let n=0;n(s.has(e)||(e&&Object(o.isFunction)(e.install)?(s.add(e),e.install(a,...t)):Object(o.isFunction)(e)&&(s.add(e),e(a,...t))),a),mixin:e=>(__VUE_OPTIONS_API__&&(i.mixins.includes(e)||i.mixins.push(e)),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(o,s,l){if(!c){0;const u=ur(n,r);return u.appContext=i,!0===l?l="svg":!1===l&&(l=void 0),s&&t?t(u,o):e(u,o,l),c=!0,a._container=o,o.__vue_app__=a,Ur(u.component)}},unmount(){c&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a),runWithContext(e){const t=Ot;Ot=a;try{return e()}finally{Ot=t}}};return a}}let Ot=null;function _t(e,t){if(Nr){let n=Nr.provides;const r=Nr.parent&&Nr.parent.provides;r===n&&(n=Nr.provides=Object.create(r)),n[e]=t}else 0}function Et(e,t,n=!1){const r=Nr||L;if(r||Ot){const i=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Ot._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Object(o.isFunction)(t)?t.call(r&&r.proxy):t}else 0}function St(){return!!(Nr||L||Ot)}const wt={},Nt=()=>Object.create(wt),Tt=e=>Object.getPrototypeOf(e)===wt;function xt(e,t,n,i){const[s,c]=e.propsOptions;let a,l=!1;if(t)for(let r in t){if(Object(o.isReservedProp)(r))continue;const u=t[r];let d;s&&Object(o.hasOwn)(s,d=Object(o.camelize)(r))?c&&c.includes(d)?(a||(a={}))[d]=u:n[d]=u:An(e.emitsOptions,r)||r in i&&u===i[r]||(i[r]=u,l=!0)}if(c){const t=Object(r.toRaw)(n),i=a||o.EMPTY_OBJ;for(let r=0;r{l=!0;const[n,r]=Ct(e,t,!0);Object(o.extend)(c,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!l)return Object(o.isObject)(e)&&r.set(e,o.EMPTY_ARR),o.EMPTY_ARR;if(Object(o.isArray)(s))for(let e=0;e-1,r[1]=n<0||e-1||Object(o.hasOwn)(r,"default"))&&a.push(t)}}}}const u=[c,a];return Object(o.isObject)(e)&&r.set(e,u),u}function It(e){return"$"!==e[0]&&!Object(o.isReservedProp)(e)}function kt(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Pt(e,t){return kt(e)===kt(t)}function Rt(e,t){return Object(o.isArray)(t)?t.findIndex(t=>Pt(t,e)):Object(o.isFunction)(t)&&Pt(t,e)?0:-1}const Mt=e=>"_"===e[0]||"$stable"===e,Lt=e=>Object(o.isArray)(e)?e.map(gr):[gr(e)],Ft=(e,t,n)=>{if(t._n)return t;const r=U((...e)=>Lt(t(...e)),n);return r._c=!1,r},Dt=(e,t,n)=>{const r=e._ctx;for(const n in e){if(Mt(n))continue;const i=e[n];if(Object(o.isFunction)(i))t[n]=Ft(0,i,r);else if(null!=i){0;const e=Lt(i);t[n]=()=>e}}},Vt=(e,t)=>{const n=Lt(t);e.slots.default=()=>n},Bt=(e,t,n)=>{for(const r in t)(n||"_"!==r)&&(e[r]=t[r])};function $t(e,t,n,i,s=!1){if(Object(o.isArray)(e))return void e.forEach((e,r)=>$t(e,t&&(Object(o.isArray)(t)?t[r]:t),n,i,s));if(ie(i)&&!s)return;const c=4&i.shapeFlag?Ur(i.component):i.el,a=s?null:c,{i:l,r:u}=e;const d=t&&t.r,p=l.refs===o.EMPTY_OBJ?l.refs={}:l.refs,h=l.setupState;if(null!=d&&d!==u&&(Object(o.isString)(d)?(p[d]=null,Object(o.hasOwn)(h,d)&&(h[d]=null)):Object(r.isRef)(d)&&(d.value=null)),Object(o.isFunction)(u))f(u,l,12,[a,p]);else{const t=Object(o.isString)(u),i=Object(r.isRef)(u);if(t||i){const r=()=>{if(e.f){const n=t?Object(o.hasOwn)(h,u)?h[u]:p[u]:u.value;s?Object(o.isArray)(n)&&Object(o.remove)(n,c):Object(o.isArray)(n)?n.includes(c)||n.push(c):t?(p[u]=[c],Object(o.hasOwn)(h,u)&&(h[u]=p[u])):(u.value=[c],e.k&&(p[e.k]=u.value))}else t?(p[u]=a,Object(o.hasOwn)(h,u)&&(h[u]=a)):i&&(u.value=a,e.k&&(p[e.k]=a))};a?(r.id=-1,on(r,n)):r()}else 0}}const Ut=Symbol("_vte"),Ht=e=>e&&(e.disabled||""===e.disabled),Yt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Wt=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,zt=(e,t)=>{const n=e&&e.to;if(Object(o.isString)(n)){if(t){return t(n)}return null}return n};function Kt(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:c,shapeFlag:a,children:l,props:u}=e,d=2===i;if(d&&r(s,t,n),(!d||Ht(u))&&16&a)for(let e=0;e{16&y&&u(b,e,t,o,i,s,c,a)};g?O(n,l):d&&O(d,v)}else{t.el=e.el,t.targetStart=e.targetStart;const r=t.anchor=e.anchor,u=t.target=e.target,p=t.targetAnchor=e.targetAnchor,m=Ht(e.props),v=m?n:u,y=m?r:p;if("svg"===s||Yt(u)?s="svg":("mathml"===s||Wt(u))&&(s="mathml"),O?(f(e.dynamicChildren,O,v,o,i,s,c),fn(e,t,!0)):a||d(e,t,v,y,o,i,s,c,!1),g)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Kt(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=zt(t.props,h);e&&Kt(t,e,null,l,0)}else m&&Kt(t,u,p,l,1)}qt(t)},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:c,anchor:a,targetStart:l,targetAnchor:u,target:d,props:f}=e;if(d&&(o(l),o(u)),i&&o(a),16&s){const e=i||!Ht(f);for(let o=0;o{Jt||(console.error("Hydration completed but contains mismatches."),Jt=!0)},Zt=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,Qt=e=>8===e.nodeType;function en(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:a,parentNode:l,remove:u,insert:d,createComment:f}}=e,p=(n,r,o,i,u,f=!1)=>{f=f||!!r.dynamicChildren;const _=Qt(n)&&"["===n.data,E=()=>g(n,r,o,i,u,_),{type:S,ref:w,shapeFlag:N,patchFlag:T}=r;let x=n.nodeType;r.el=n,-2===T&&(f=!1,r.dynamicChildren=null);let j=null;switch(S){case Wn:3!==x?""===r.children?(d(r.el=s(""),l(n),n),j=n):j=E():(n.data!==r.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),Xt(),n.data=r.children),j=a(n));break;case zn:O(n)?(j=a(n),b(r.el=n.content.firstChild,n,o)):j=8!==x||_?E():a(n);break;case Kn:if(_&&(x=(n=a(n)).nodeType),1===x||3===x){j=n;const e=!r.children.length;for(let t=0;t{l=l||!!t.dynamicChildren;const{type:d,props:f,patchFlag:p,shapeFlag:h,dirs:v,transition:g}=t,y="input"===d||"option"===d;if(y||-1!==p){v&&Y(t,null,n,"created");let d,_=!1;if(O(e)){_=dn(s,g)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;_&&g.beforeEnter(r),b(r,e,n),t.el=e=r}if(16&h&&(!f||!f.innerHTML&&!f.textContent)){let r=m(e.firstChild,t,e,n,s,a,l),o=!1;for(;r;){__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!o&&(c("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),o=!0),Xt();const t=r;r=r.nextSibling,u(t)}}else 8&h&&e.textContent!==t.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),Xt(),e.textContent=t.children);if(f)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||y||!l||48&p)for(const r in f)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||v&&v.some(e=>e.dir.created)||!tn(e,r,f[r],t,n)||Xt(),(y&&(r.endsWith("value")||"indeterminate"===r)||Object(o.isOn)(r)&&!Object(o.isReservedProp)(r)||"."===r[0])&&i(e,r,null,f[r],void 0,n);else if(f.onClick)i(e,"onClick",null,f.onClick,void 0,n);else if(4&p&&Object(r.isReactive)(f.style))for(const e in f.style)f.style[e];(d=f&&f.onVnodeBeforeMount)&&_r(d,n,t),v&&Y(t,null,n,"beforeMount"),((d=f&&f.onVnodeMounted)||v||_)&&Un(()=>{d&&_r(d,n,t),_&&g.enter(e),v&&Y(t,null,n,"mounted")},s)}return e.nextSibling},m=(e,t,r,o,i,l,u)=>{u=u||!!t.dynamicChildren;const f=t.children,h=f.length;let m=!1;for(let t=0;t{const{slotScopeIds:s}=t;s&&(o=o?o.concat(s):s);const c=l(e),u=m(a(e),t,c,n,r,o,i);return u&&Qt(u)&&"]"===u.data?a(t.anchor=u):(Xt(),d(t.anchor=f("]"),c,u),u)},g=(e,t,r,o,i,s)=>{if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":Qt(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),Xt(),t.el=null,s){const t=y(e);for(;;){const n=a(e);if(!n||n===t)break;u(n)}}const d=a(e),f=l(e);return u(e),n(null,t,f,d,r,o,Zt(f),i),d},y=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=a(e))&&Qt(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return a(e);r--}return e},b=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},O=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),A(),void(t._vnode=e);p(t.firstChild,e,null,null,null),A(),t._vnode=e},p]}function tn(e,t,n,r,i){let s,a,l,u;if("class"===t)l=e.getAttribute("class"),u=Object(o.normalizeClass)(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(nn(l||""),nn(u))||(s=a="class");else if("style"===t){l=e.getAttribute("style")||"",u=Object(o.isString)(n)?n:Object(o.stringifyStyle)(Object(o.normalizeStyle)(n));const t=rn(l),c=rn(u);if(r.dirs)for(const{dir:e,value:t}of r.dirs)"show"!==e.name||t||c.set("display","none");i&&function e(t,n,r){const o=t.subTree;if(t.getCssVars&&(n===o||o&&o.type===Yn&&o.children.includes(n))){const e=t.getCssVars();for(const t in e)r.set("--"+t,String(e[t]))}n===o&&t.parent&&e(t.parent,t.vnode,r)}(i,r,c),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,c)||(s=a="style")}else(e instanceof SVGElement&&Object(o.isKnownSvgAttr)(t)||e instanceof HTMLElement&&(Object(o.isBooleanAttr)(t)||Object(o.isKnownHtmlAttr)(t)))&&(Object(o.isBooleanAttr)(t)?(l=e.hasAttribute(t),u=Object(o.includeBooleanAttr)(n)):null==n?(l=e.hasAttribute(t),u=!1):(l=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,u=!!Object(o.isRenderableAttrValue)(n)&&String(n)),l!==u&&(s="attribute",a=t));if(s){const t=e=>!1===e?"(not rendered)":`${a}="${e}"`;return c(`Hydration ${s} mismatch on`,e,`\n - rendered on server: ${t(l)}\n - expected on client: ${t(u)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function nn(e){return new Set(e.trim().split(/\s+/))}function rn(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}const on=Un;function sn(e){return an(e)}function cn(e){return an(e,en)}function an(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(Object(o.getGlobalThis)().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(Object(o.getGlobalThis)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);Object(o.getGlobalThis)().__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:c,createText:a,createComment:l,setText:u,setElementText:d,parentNode:f,nextSibling:p,setScopeId:h=o.NOOP,insertStaticContent:m}=e,v=(e,t,n,r=null,o=null,i=null,s,c=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!ir(e,t)&&(r=q(e),H(e,o,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:d}=t;switch(l){case Wn:b(e,t,n,r);break;case zn:O(e,t,n,r);break;case Kn:null==e&&_(t,n,r,s);break;case Yn:P(e,t,n,r,o,i,s,c,a);break;default:1&d?S(e,t,n,r,o,i,s,c,a):6&d?R(e,t,n,r,o,i,s,c,a):(64&d||128&d)&&l.process(e,t,n,r,o,i,s,c,a,Z)}null!=u&&o&&$t(u,e&&e.ref,i,t||e,!t)},b=(e,t,r,o)=>{if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},O=(e,t,r,o)=>{null==e?n(t.el=l(t.children||""),r,o):t.el=e.el},_=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),i(e),e=n;i(t)},S=(e,t,n,r,o,i,s,c,a)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?w(t,n,r,o,i,s,c,a):C(e,t,o,i,s,c,a)},w=(e,t,r,i,a,l,u,f)=>{let p,h;const{props:m,shapeFlag:v,transition:g,dirs:y}=e;if(p=e.el=c(e.type,l,m&&m.is,m),8&v?d(p,e.children):16&v&&x(e.children,p,null,i,a,ln(e,l),u,f),y&&Y(e,null,i,"created"),T(p,e,e.scopeId,u,i),m){for(const e in m)"value"===e||Object(o.isReservedProp)(e)||s(p,e,null,m[e],l,i);"value"in m&&s(p,"value",null,m.value,l),(h=m.onVnodeBeforeMount)&&_r(h,i,e)}y&&Y(e,null,i,"beforeMount");const b=dn(a,g);b&&g.beforeEnter(p),n(p,t,r),((h=m&&m.onVnodeMounted)||b||y)&&on(()=>{h&&_r(h,i,e),b&&g.enter(p),y&&Y(e,null,i,"mounted")},a)},T=(e,t,n,r,o)=>{if(n&&h(e,n),r)for(let t=0;t{for(let l=a;l{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||o.EMPTY_OBJ,m=t.props||o.EMPTY_OBJ;let v;if(n&&un(n,!1),(v=m.onVnodeBeforeUpdate)&&_r(v,n,t,e),p&&Y(t,e,n,"beforeUpdate"),n&&un(n,!0),(h.innerHTML&&null==m.innerHTML||h.textContent&&null==m.textContent)&&d(l,""),f?I(e.dynamicChildren,f,l,n,r,ln(t,i),c):a||V(e,t,l,null,n,r,ln(t,i),c,!1),u>0){if(16&u)k(l,h,m,n,i);else if(2&u&&h.class!==m.class&&s(l,"class",null,m.class,i),4&u&&s(l,"style",h.style,m.style,i),8&u){const e=t.dynamicProps;for(let t=0;t{v&&_r(v,n,t,e),p&&Y(t,e,n,"updated")},r)},I=(e,t,n,r,o,i,s)=>{for(let c=0;c{if(t!==n){if(t!==o.EMPTY_OBJ)for(const c in t)Object(o.isReservedProp)(c)||c in n||s(e,c,t[c],null,i,r);for(const c in n){if(Object(o.isReservedProp)(c))continue;const a=n[c],l=t[c];a!==l&&"value"!==c&&s(e,c,l,a,i,r)}"value"in n&&s(e,"value",t.value,n.value,i)}},P=(e,t,r,o,i,s,c,l,u)=>{const d=t.el=e?e.el:a(""),f=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(d,r,o),n(f,r,o),x(t.children||[],r,f,i,s,c,l,u)):p>0&&64&p&&h&&e.dynamicChildren?(I(e.dynamicChildren,h,r,i,s,c,l),(null!=t.key||i&&t===i.subTree)&&fn(e,t,!0)):V(e,t,r,f,i,s,c,l,u)},R=(e,t,n,r,o,i,s,c,a)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,a):M(t,n,r,o,i,s,a):L(e,t,a)},M=(e,t,n,r,o,i,s)=>{const c=e.component=wr(e,r,o);if(ae(e)&&(c.ctx.renderer=Z),Mr(c,!1,s),c.asyncDep){if(o&&o.registerDep(c,F,s),!e.el){const e=c.subTree=ur(zn);O(null,e,t,n)}}else F(c,e,t,n,o,i,s)},L=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:c,patchFlag:a}=t,l=i.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||Rn(r,s,l):!!s);if(1024&a)return!0;if(16&a)return r?Rn(r,s,l):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;ty&&g.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},F=(e,t,n,i,s,c,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:i,vnode:u}=e;{const n=function e(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:e(n)}(e);if(n)return t&&(t.el=u.el,D(e,t,a)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let d,p=t;0,un(e,!1),t?(t.el=u.el,D(e,t,a)):t=u,n&&Object(o.invokeArrayFns)(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&_r(d,i,t,u),un(e,!0);const h=Cn(e);0;const m=e.subTree;e.subTree=h,v(m,h,f(m.el),q(m),e,s,c),t.el=h.el,null===p&&Mn(e,h.el),r&&on(r,s),(d=t.props&&t.props.onVnodeUpdated)&&on(()=>_r(d,i,t,u),s)}else{let r;const{el:a,props:l}=t,{bm:u,m:d,parent:f}=e,p=ie(t);if(un(e,!1),u&&Object(o.invokeArrayFns)(u),!p&&(r=l&&l.onVnodeBeforeMount)&&_r(r,f,t),un(e,!0),a&&ee){const n=()=>{e.subTree=Cn(e),ee(a,e.subTree,e,s,null)};p?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{0;const r=e.subTree=Cn(e);0,v(null,r,n,i,e,s,c),t.el=r.el}if(d&&on(d,s),!p&&(r=l&&l.onVnodeMounted)){const e=t;on(()=>_r(r,f,e),s)}(256&t.shapeFlag||f&&ie(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&on(e.a,s),e.isMounted=!0,t=n=i=null}},u=e.effect=new r.ReactiveEffect(l,o.NOOP,()=>N(d),e.scope),d=e.update=()=>{u.dirty&&u.run()};d.i=e,d.id=e.uid,un(e,!0),d()},D=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:s,attrs:c,vnode:{patchFlag:a}}=e,l=Object(r.toRaw)(s),[u]=e.propsOptions;let d=!1;if(!(i||a>0)||16&a){let r;xt(e,t,s,c)&&(d=!0);for(const i in l)t&&(Object(o.hasOwn)(t,i)||(r=Object(o.hyphenate)(i))!==i&&Object(o.hasOwn)(t,r))||(u?!n||void 0===n[i]&&void 0===n[r]||(s[i]=jt(u,l,i,void 0,e,!0)):delete s[i]);if(c!==l)for(const e in c)t&&Object(o.hasOwn)(t,e)||(delete c[e],d=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:r,slots:i}=e;let s=!0,c=o.EMPTY_OBJ;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:Bt(i,t,n):(s=!t.$stable,Dt(t,i)),c=t}else t&&(Vt(e,t),c={default:1});if(s)for(const e in i)Mt(e)||null!=c[e]||delete i[e]})(e,t.children,n),Object(r.pauseTracking)(),j(e),Object(r.resetTracking)()},V=(e,t,n,r,o,i,s,c,a=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void $(l,f,n,r,o,i,s,c,a);if(256&p)return void B(l,f,n,r,o,i,s,c,a)}8&h?(16&u&&G(l,o,i),f!==l&&d(n,f)):16&u?16&h?$(l,f,n,r,o,i,s,c,a):G(l,o,i,!0):(8&u&&d(n,""),16&h&&x(f,n,r,o,i,s,c,a))},B=(e,t,n,r,i,s,c,a,l)=>{e=e||o.EMPTY_ARR,t=t||o.EMPTY_ARR;const u=e.length,d=t.length,f=Math.min(u,d);let p;for(p=0;pd?G(e,i,s,!0,!1,f):x(t,n,r,i,s,c,a,l,f)},$=(e,t,n,r,i,s,c,a,l)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const r=e[u],o=t[u]=l?yr(t[u]):gr(t[u]);if(!ir(r,o))break;v(r,o,n,null,i,s,c,a,l),u++}for(;u<=f&&u<=p;){const r=e[f],o=t[p]=l?yr(t[p]):gr(t[p]);if(!ir(r,o))break;v(r,o,n,null,i,s,c,a,l),f--,p--}if(u>f){if(u<=p){const e=p+1,o=ep)for(;u<=f;)H(e[u],i,s,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=l?yr(t[u]):gr(t[u]);null!=e.key&&g.set(e.key,u)}let y,b=0;const O=p-m+1;let _=!1,E=0;const S=new Array(O);for(u=0;u=O){H(r,i,s,!0);continue}let o;if(null!=r.key)o=g.get(r.key);else for(y=m;y<=p;y++)if(0===S[y-m]&&ir(r,t[y])){o=y;break}void 0===o?H(r,i,s,!0):(S[o-m]=u+1,o>=E?E=o:_=!0,v(r,t[o],n,null,i,s,c,a,l),b++)}const w=_?function(e){const t=e.slice(),n=[0];let r,o,i,s,c;const a=e.length;for(r=0;r>1,e[n[c]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):o.EMPTY_ARR;for(y=w.length-1,u=O-1;u>=0;u--){const e=m+u,o=t[e],f=e+1{const{el:s,type:c,transition:a,children:l,shapeFlag:u}=e;if(6&u)return void U(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void c.move(e,t,r,Z);if(c===Yn){n(s,t,r);for(let e=0;e{let i;for(;e&&e!==t;)i=p(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);if(2!==o&&1&u&&a)if(0===o)a.beforeEnter(s),n(s,t,r),on(()=>a.enter(s),i);else{const{leave:e,delayLeave:o,afterLeave:i}=a,c=()=>n(s,t,r),l=()=>{e(s,()=>{c(),i&&i()})};o?o(s,c,l):l()}else n(s,t,r)},H=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:c,children:a,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p}=e;if(-2===d&&(o=!1),null!=c&&$t(c,null,n,e,!0),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,m=!ie(e);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&_r(v,t,e),6&u)K(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&Y(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Z,r):l&&!l.hasOnce&&(i!==Yn||d>0&&64&d)?G(l,t,n,!1,!0):(i===Yn&&384&d||!o&&16&u)&&G(a,t,n),r&&W(e)}(m&&(v=s&&s.onVnodeUnmounted)||h)&&on(()=>{v&&_r(v,t,e),h&&Y(e,null,t,"unmounted")},n)},W=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Yn)return void z(n,r);if(t===Kn)return void E(e);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},z=(e,t)=>{let n;for(;e!==t;)n=p(e),i(e),e=n;i(t)},K=(e,t,n)=>{const{bum:r,scope:i,update:s,subTree:c,um:a,m:l,a:u}=e;pn(l),pn(u),r&&Object(o.invokeArrayFns)(r),i.stop(),s&&(s.active=!1,H(c,e,t,n)),a&&on(a,t),on(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s{if(6&e.shapeFlag)return q(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=p(e.anchor||e.el),n=t&&t[Ut];return n?p(n):t};let J=!1;const X=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),J||(J=!0,j(),A(),J=!1),t._vnode=e},Z={p:v,um:H,m:U,r:W,mt:M,mc:x,pc:V,pbc:I,n:q,o:e};let Q,ee;return t&&([Q,ee]=t(Z)),{render:X,hydrate:Q,createApp:bt(X,Q)}}function ln({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function un({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function dn(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fn(e,t,n=!1){const r=e.children,i=t.children;if(Object(o.isArray)(r)&&Object(o.isArray)(i))for(let e=0;e{{const e=Et(hn);return e}};function vn(e,t){return _n(e,null,t)}function gn(e,t){return _n(e,null,{flush:"post"})}function yn(e,t){return _n(e,null,{flush:"sync"})}const bn={};function On(e,t,n){return _n(e,t,n)}function _n(e,t,{immediate:n,deep:i,flush:s,once:c,onTrack:a,onTrigger:l}=o.EMPTY_OBJ){if(t&&c){const e=t;t=(...t)=>{e(...t),T()}}const u=Nr,d=e=>!0===i?e:wn(e,!1===i?1:void 0);let h,m,v=!1,g=!1;if(Object(r.isRef)(e)?(h=()=>e.value,v=Object(r.isShallow)(e)):Object(r.isReactive)(e)?(h=()=>d(e),v=!0):Object(o.isArray)(e)?(g=!0,v=e.some(e=>Object(r.isReactive)(e)||Object(r.isShallow)(e)),h=()=>e.map(e=>Object(r.isRef)(e)?e.value:Object(r.isReactive)(e)?d(e):Object(o.isFunction)(e)?f(e,u,2):void 0)):h=Object(o.isFunction)(e)?t?()=>f(e,u,2):()=>(m&&m(),p(e,u,3,[b])):o.NOOP,t&&i){const e=h;h=()=>wn(e())}let y,b=e=>{m=S.onStop=()=>{f(e,u,4),m=S.onStop=void 0}};if(Rr){if(b=o.NOOP,t?n&&p(t,u,3,[h(),g?[]:void 0,b]):h(),"sync"!==s)return o.NOOP;{const e=mn();y=e.__watcherHandles||(e.__watcherHandles=[])}}let O=g?new Array(e.length).fill(bn):bn;const _=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(i||v||(g?e.some((e,t)=>Object(o.hasChanged)(e,O[t])):Object(o.hasChanged)(e,O)))&&(m&&m(),p(t,u,3,[e,O===bn?void 0:g&&O[0]===bn?[]:O,b]),O=e)}else S.run()};let E;_.allowRecurse=!!t,"sync"===s?E=_:"post"===s?E=()=>on(_,u&&u.suspense):(_.pre=!0,u&&(_.id=u.uid),E=()=>N(_));const S=new r.ReactiveEffect(h,o.NOOP,E),w=Object(r.getCurrentScope)(),T=()=>{S.stop(),w&&Object(o.remove)(w.effects,S)};return t?n?_():O=S.run():"post"===s?on(S.run.bind(S),u&&u.suspense):S.run(),y&&y.push(T),T}function En(e,t,n){const r=this.proxy,i=Object(o.isString)(e)?e.includes(".")?Sn(r,e):()=>r[e]:e.bind(r,r);let s;Object(o.isFunction)(t)?s=t:(s=t.handler,n=t);const c=Ar(this),a=_n(i,s.bind(r),n);return c(),a}function Sn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{wn(e,t,n)});else if(Object(o.isPlainObject)(e)){for(const r in e)wn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wn(e[r],t,n)}return e}function Nn(e,t,n=o.EMPTY_OBJ){const i=Tr();const s=Object(o.camelize)(t),c=Object(o.hyphenate)(t),a=Tn(e,t),l=Object(r.customRef)((r,a)=>{let l,u,d=o.EMPTY_OBJ;return yn(()=>{const n=e[t];Object(o.hasChanged)(l,n)&&(l=n,a())}),{get:()=>(r(),n.get?n.get(l):l),set(e){if(!(Object(o.hasChanged)(e,l)||d!==o.EMPTY_OBJ&&Object(o.hasChanged)(e,d)))return;const r=i.vnode.props;r&&(t in r||s in r||c in r)&&("onUpdate:"+t in r||"onUpdate:"+s in r||"onUpdate:"+c in r)||(l=e,a());const f=n.set?n.set(e):e;i.emit("update:"+t,f),Object(o.hasChanged)(e,f)&&Object(o.hasChanged)(e,d)&&!Object(o.hasChanged)(f,u)&&a(),d=e,u=f}}});return l[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?a||o.EMPTY_OBJ:l,done:!1}:{done:!0}}},l}const Tn=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[t+"Modifiers"]||e[Object(o.camelize)(t)+"Modifiers"]||e[Object(o.hyphenate)(t)+"Modifiers"];function xn(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o.EMPTY_OBJ;let i=n;const s=t.startsWith("update:"),c=s&&Tn(r,t.slice(7));let a;c&&(c.trim&&(i=n.map(e=>Object(o.isString)(e)?e.trim():e)),c.number&&(i=n.map(o.looseToNumber)));let l=r[a=Object(o.toHandlerKey)(t)]||r[a=Object(o.toHandlerKey)(Object(o.camelize)(t))];!l&&s&&(l=r[a=Object(o.toHandlerKey)(Object(o.hyphenate)(t))]),l&&p(l,e,6,i);const u=r[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,p(u,e,6,i)}}function jn(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const s=e.emits;let c={},a=!1;if(__VUE_OPTIONS_API__&&!Object(o.isFunction)(e)){const r=e=>{const n=jn(e,t,!0);n&&(a=!0,Object(o.extend)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||a?(Object(o.isArray)(s)?s.forEach(e=>c[e]=null):Object(o.extend)(c,s),Object(o.isObject)(e)&&r.set(e,c),c):(Object(o.isObject)(e)&&r.set(e,null),null)}function An(e,t){return!(!e||!Object(o.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),Object(o.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||Object(o.hasOwn)(e,Object(o.hyphenate)(t))||Object(o.hasOwn)(e,t))}function Cn(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:c,attrs:a,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:v,inheritAttrs:g}=e,y=D(e);let b,O;try{if(4&n.shapeFlag){const e=i||r,t=e;b=gr(u.call(t,e,d,f,m,p,v)),O=a}else{const e=t;0,b=gr(e.length>1?e(f,{attrs:a,slots:c,emit:l}):e(f,null)),O=t.props?a:kn(a)}}catch(t){Gn.length=0,h(t,e,1),b=ur(zn)}let _=b;if(O&&!1!==g){const e=Object.keys(O),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(o.isModelListener)&&(O=Pn(O,s)),_=pr(_,O,!1,!0))}return n.dirs&&(_=pr(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),b=_,D(y),b}function In(e,t=!0){let n;for(let t=0;t{let t;for(const n in e)("class"===n||"style"===n||Object(o.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},Pn=(e,t)=>{const n={};for(const r in e)Object(o.isModelListener)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Rn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let Fn=0;const Dn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,c,a,l){if(null==e)!function(e,t,n,r,o,i,s,c,a){const{p:l,o:{createElement:u}}=a,d=u("div"),f=e.suspense=Bn(e,o,r,t,d,n,i,s,c,a);l(null,f.pendingBranch=e.ssContent,d,null,r,f,i,s),f.deps>0?(Vn(e,"onPending"),Vn(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,s),Hn(f,e.ssFallback)):f.resolve(!1,!0)}(t,n,r,o,i,s,c,a,l);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,s,c,{p:a,um:l,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:g}=d;if(m)d.pendingBranch=f,ir(f,m)?(a(m,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():v&&(g||(a(h,p,n,r,o,null,i,s,c),Hn(d,p)))):(d.pendingId=Fn++,g?(d.isHydrating=!1,d.activeBranch=m):l(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(a(null,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():(a(h,p,n,r,o,null,i,s,c),Hn(d,p))):h&&ir(f,h)?(a(h,f,n,r,o,d,i,s,c),d.resolve(!0)):(a(null,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0&&d.resolve()));else if(h&&ir(f,h))a(h,f,n,r,o,d,i,s,c),Hn(d,f);else if(Vn(t,"onPending"),d.pendingBranch=f,512&f.shapeFlag?d.pendingId=f.component.suspenseId:d.pendingId=Fn++,a(null,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):0===e&&d.fallback(p)}}(e,t,n,r,o,s,c,a,l)}},hydrate:function(e,t,n,r,o,i,s,c,a){const l=t.suspense=Bn(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,c,!0),u=a(e,l.pendingBranch=t.ssContent,n,l,i,s);0===l.deps&&l.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=$n(r?n.default:n),e.ssFallback=r?$n(n.fallback):ur(zn)}};function Vn(e,t){const n=e.props&&e.props[t];Object(o.isFunction)(n)&&n()}function Bn(e,t,n,r,i,s,c,a,l,u,d=!1){const{p:f,m:p,um:m,n:v,o:{parentNode:g,remove:y}}=u;let b;const O=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);O&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const _=e.props?Object(o.toNumber)(e.props.timeout):void 0;const E=s,S={vnode:e,parent:t,parentComponent:n,namespace:c,container:r,hiddenContainer:i,deps:0,pendingId:Fn++,timeout:"number"==typeof _?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:c,effects:a,parentComponent:l,container:u}=S;let d=!1;S.isHydrating?S.isHydrating=!1:e||(d=o&&i.transition&&"out-in"===i.transition.mode,d&&(o.transition.afterLeave=()=>{c===S.pendingId&&(p(i,u,s===E?v(o):s,0),x(a))}),o&&(g(o.el)!==S.hiddenContainer&&(s=v(o)),m(o,l,S,!0)),d||p(i,u,s,0)),Hn(S,i),S.pendingBranch=null,S.isInFallback=!1;let f=S.parent,h=!1;for(;f;){if(f.pendingBranch){f.effects.push(...a),h=!0;break}f=f.parent}h||d||x(a),S.effects=[],O&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Vn(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=S;Vn(t,"onFallback");const s=v(n),c=()=>{S.isInFallback&&(f(null,e,o,s,r,null,i,a,l),Hn(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),S.isInFallback=!0,m(n,r,null,!0),u||c()},move(e,t,n){S.activeBranch&&p(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&v(S.activeBranch),registerDep(e,t,n){const r=!!S.pendingBranch;r&&S.deps++;const o=e.vnode.el;e.asyncDep.catch(t=>{h(t,e,0)}).then(i=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Lr(e,i,!1),o&&(s.el=o);const a=!o&&e.subTree.el;t(e,s,g(o||e.subTree.el),o?null:v(e.subTree),S,c,n),a&&y(a),Mn(e,s.el),r&&0==--S.deps&&S.resolve()})},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&m(S.activeBranch,n,e,t),S.pendingBranch&&m(S.pendingBranch,n,e,t)}};return S}function $n(e){let t;if(Object(o.isFunction)(e)){const n=Qn&&e._c;n&&(e._d=!1,Jn()),e=e(),n&&(e._d=!0,t=qn,Xn())}if(Object(o.isArray)(e)){const t=In(e);0,e=t}return e=gr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function Un(e,t){t&&t.pendingBranch?Object(o.isArray)(e)?t.effects.push(...e):t.effects.push(e):x(e)}function Hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Mn(r,o))}const Yn=Symbol.for("v-fgt"),Wn=Symbol.for("v-txt"),zn=Symbol.for("v-cmt"),Kn=Symbol.for("v-stc"),Gn=[];let qn=null;function Jn(e=!1){Gn.push(qn=e?null:[])}function Xn(){Gn.pop(),qn=Gn[Gn.length-1]||null}let Zn,Qn=1;function er(e){Qn+=e,e<0&&qn&&(qn.hasOnce=!0)}function tr(e){return e.dynamicChildren=Qn>0?qn||o.EMPTY_ARR:null,Xn(),Qn>0&&qn&&qn.push(e),e}function nr(e,t,n,r,o,i){return tr(lr(e,t,n,r,o,i,!0))}function rr(e,t,n,r,o){return tr(ur(e,t,n,r,o,!0))}function or(e){return!!e&&!0===e.__v_isVNode}function ir(e,t){return e.type===t.type&&e.key===t.key}function sr(e){Zn=e}const cr=({key:e})=>null!=e?e:null,ar=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Object(o.isString)(e)||Object(r.isRef)(e)||Object(o.isFunction)(e)?{i:L,r:e,k:t,f:!!n}:e:null);function lr(e,t=null,n=null,r=0,i=null,s=(e===Yn?0:1),c=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&cr(t),ref:t&&ar(t),scopeId:F,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:L};return a?(br(l,n),128&s&&e.normalize(l)):n&&(l.shapeFlag|=Object(o.isString)(n)?8:16),Qn>0&&!c&&qn&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&qn.push(l),l}const ur=dr;function dr(e,t=null,n=null,i=0,s=null,c=!1){if(e&&e!==Ce||(e=zn),or(e)){const r=pr(e,t,!0);return n&&br(r,n),Qn>0&&!c&&qn&&(6&r.shapeFlag?qn[qn.indexOf(e)]=r:qn.push(r)),r.patchFlag=-2,r}if(zr(e)&&(e=e.__vccOpts),t){t=fr(t);let{class:e,style:n}=t;e&&!Object(o.isString)(e)&&(t.class=Object(o.normalizeClass)(e)),Object(o.isObject)(n)&&(Object(r.isProxy)(n)&&!Object(o.isArray)(n)&&(n=Object(o.extend)({},n)),t.style=Object(o.normalizeStyle)(n))}return lr(e,t,n,i,s,Object(o.isString)(e)?1:Ln(e)?128:(e=>e.__isTeleport)(e)?64:Object(o.isObject)(e)?4:Object(o.isFunction)(e)?2:0,c,!0)}function fr(e){return e?Object(r.isProxy)(e)||Tt(e)?Object(o.extend)({},e):e:null}function pr(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:c,children:a,transition:l}=e,u=t?Or(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&cr(u),ref:t&&t.ref?n&&s?Object(o.isArray)(s)?s.concat(ar(t)):[s,ar(t)]:ar(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Yn?-1===c?16:16|c:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pr(e.ssContent),ssFallback:e.ssFallback&&pr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ne(d,l.clone(d)),d}function hr(e=" ",t=0){return ur(Wn,null,e,t)}function mr(e,t){const n=ur(Kn,null,e);return n.staticCount=t,n}function vr(e="",t=!1){return t?(Jn(),rr(zn,null,e)):ur(zn,null,e)}function gr(e){return null==e||"boolean"==typeof e?ur(zn):Object(o.isArray)(e)?ur(Yn,null,e.slice()):"object"==typeof e?yr(e):ur(Wn,null,String(e))}function yr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:pr(e)}function br(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(Object(o.isArray)(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),br(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Tt(t)?3===r&&L&&(1===L.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=L}}else Object(o.isFunction)(t)?(t={default:t,_ctx:L},n=32):(t=String(t),64&r?(n=16,t=[hr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Or(...e){const t={};for(let n=0;nNr||L;let xr,jr;{const e=Object(o.getGlobalThis)(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};xr=t("__VUE_INSTANCE_SETTERS__",e=>Nr=e),jr=t("__VUE_SSR_SETTERS__",e=>Rr=e)}const Ar=e=>{const t=Nr;return xr(e),e.scope.on(),()=>{e.scope.off(),xr(t)}},Cr=()=>{Nr&&Nr.scope.off(),xr(null)};function Ir(e){return 4&e.vnode.shapeFlag}let kr,Pr,Rr=!1;function Mr(e,t=!1,n=!1){t&&jr(t);const{props:i,children:s}=e.vnode,c=Ir(e);!function(e,t,n,o=!1){const i={},s=Nt();e.propsDefaults=Object.create(null),xt(e,t,i,s);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=o?i:Object(r.shallowReactive)(i):e.type.props?e.props=i:e.props=s,e.attrs=s}(e,i,c,t),((e,t,n)=>{const r=e.slots=Nt();if(32&e.vnode.shapeFlag){const e=t._;e?(Bt(r,t,n),n&&Object(o.def)(r,"_",e,!0)):Dt(t,r)}else t&&Vt(e,t)})(e,s,n);const a=c?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ue),!1;const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?$r(e):null,s=Ar(e);Object(r.pauseTracking)();const c=f(i,e,0,[e.props,n]);if(Object(r.resetTracking)(),s(),Object(o.isPromise)(c)){if(c.then(Cr,Cr),t)return c.then(n=>{Lr(e,n,t)}).catch(t=>{h(t,e,0)});e.asyncDep=c}else Lr(e,c,t)}else Vr(e,t)}(e,t):void 0;return t&&jr(!1),a}function Lr(e,t,n){Object(o.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(o.isObject)(t)&&(e.setupState=Object(r.proxyRefs)(t)),Vr(e,n)}function Fr(e){kr=e,Pr=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,He))}}const Dr=()=>!kr;function Vr(e,t,n){const i=e.type;if(!e.render){if(!t&&kr&&!i.render){const t=i.template||lt(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:c}=i,a=Object(o.extend)(Object(o.extend)({isCustomElement:n,delimiters:s},r),c);i.render=kr(t,a)}}e.render=i.render||o.NOOP,Pr&&Pr(e)}if(__VUE_OPTIONS_API__){const t=Ar(e);Object(r.pauseTracking)();try{st(e)}finally{Object(r.resetTracking)(),t()}}}const Br={get:(e,t)=>(Object(r.track)(e,"get",""),e[t])};function $r(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Br),slots:e.slots,emit:e.emit,expose:t}}function Ur(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Object(r.proxyRefs)(Object(r.markRaw)(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Be?Be[n](e):void 0,has:(e,t)=>t in e||t in Be})):e.proxy}const Hr=/(?:^|[-_])(\w)/g;function Yr(e,t=!0){return Object(o.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Wr(e,t,n=!1){let r=Yr(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(Hr,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function zr(e){return Object(o.isFunction)(e)&&"__vccOpts"in e}const Kr=(e,t)=>Object(r.computed)(e,t,Rr);function Gr(e,t,n){const r=arguments.length;return 2===r?Object(o.isObject)(t)&&!Object(o.isArray)(t)?or(t)?ur(e,null,[t]):ur(e,t):ur(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&or(n)&&(n=[n]),ur(e,t,n))}function qr(){return void 0}function Jr(e,t,n,r){const o=n[r];if(o&&Xr(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function Xr(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&qn&&qn.push(e),!0}const Zr="3.4.34",Qr=o.NOOP,eo=d,to=P,no=function e(t,n){var r,o;if(P=t,P)P.enabled=!0,R.forEach(({event:e,args:t})=>P.emit(e,...t)),R=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{e(t,n)}),setTimeout(()=>{P||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,M=!0,R=[])},3e3)}else M=!0,R=[]},ro={createComponentInstance:wr,setupComponent:Mr,renderComponentRoot:Cn,setCurrentRenderingInstance:D,isVNode:or,normalizeVNode:gr,getComponentPublicInstance:Ur},oo=null,io=null,so=null}]); \ No newline at end of file diff --git a/framework/examples/ios-demo/res/vue3/asyncComponentFromHttp.ios.js b/framework/examples/ios-demo/res/vue3/asyncComponentFromHttp.ios.js index b797fd5968a..2204eecf948 100644 --- a/framework/examples/ios-demo/res/vue3/asyncComponentFromHttp.ios.js +++ b/framework/examples/ios-demo/res/vue3/asyncComponentFromHttp.ios.js @@ -1 +1 @@ -((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[0],{"../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css":function(e,t,o){(function(t){e.exports=(t.__HIPPY_VUE_STYLES__||(t.__HIPPY_VUE_STYLES__=[]),void(t.__HIPPY_VUE_STYLES__=t.__HIPPY_VUE_STYLES__.concat([{hash:"98b9a9a48568b6b697be35441fbacde6",selectors:["#async-component-http"],declarations:[{type:"declaration",property:"display",value:"flex"},{type:"declaration",property:"flexDirection",value:"column"},{type:"declaration",property:"alignItems",value:"center"},{type:"declaration",property:"justifyContent",value:"center"},{type:"declaration",property:"position",value:"relative"},{type:"declaration",property:"height",value:200},{type:"declaration",property:"width",value:300},{type:"declaration",property:"backgroundColor",value:4283484818},{type:"declaration",property:"borderRadius",value:10},{type:"declaration",property:"marginBottom",value:10}]},{hash:"98b9a9a48568b6b697be35441fbacde6",selectors:[".async-txt"],declarations:[{type:"declaration",property:"color",value:4278190080}]}])))}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/components/demo/dynamicImport/async-component-http.vue":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var n=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),a=Object(n.defineComponent)({name:"DynamicImportHttp"}),d=(o("./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js"));const c=o.n(d)()(a,[["render",function(e,t,o,n,a,d){return Object(s.t)(),Object(s.f)("div",{id:"async-component-http",class:"local-local"},[Object(s.g)("p",{class:"async-txt"}," 我是远程异步组件 ")])}]]);t.default=c},"./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css")}}]); \ No newline at end of file +((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[0],{101:function(t,n,c){(function(n){var c;t.exports=(n[c="__HIPPY_VUE_STYLES__"]||(n[c]=[]),void(n[c]=n[c].concat([["2c139c",["#async-component-http"],[["display","flex"],["flexDirection","column"],["alignItems","center"],["justifyContent","center"],["position","relative"],["height",200],["width",300],["backgroundColor",4283484818],["borderRadius",10],["marginBottom",10]]],["2c139c",[".async-txt"],[["color",4278190080]]]])))}).call(this,c(7))},103:function(t,n,c){"use strict";c(101)},105:function(t,n,c){"use strict";c.r(n);var e=c(0);var o=c(1),i=Object(o.defineComponent)({name:"DynamicImportHttp"}),a=(c(103),c(3));const s=c.n(a)()(i,[["render",function(t,n,c,o,i,a){return Object(e.t)(),Object(e.f)("div",{id:"async-component-http",class:"local-local"},[Object(e.g)("p",{class:"async-txt"}," 我是远程异步组件 ")])}]]);n.default=s}}]); \ No newline at end of file diff --git a/framework/examples/ios-demo/res/vue3/asyncComponentFromLocal.ios.js b/framework/examples/ios-demo/res/vue3/asyncComponentFromLocal.ios.js index fe5ad672f63..9d0456dd867 100644 --- a/framework/examples/ios-demo/res/vue3/asyncComponentFromLocal.ios.js +++ b/framework/examples/ios-demo/res/vue3/asyncComponentFromLocal.ios.js @@ -1 +1 @@ -((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[1],{"../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css":function(e,o,t){(function(o){e.exports=(o.__HIPPY_VUE_STYLES__||(o.__HIPPY_VUE_STYLES__=[]),void(o.__HIPPY_VUE_STYLES__=o.__HIPPY_VUE_STYLES__.concat([{hash:"1d9d4525f36cd98b4f95527dc85017cf",selectors:[".async-component-local[data-v-8399ef12]"],declarations:[{type:"declaration",property:"display",value:"flex"},{type:"declaration",property:"flexDirection",value:"column"},{type:"declaration",property:"alignItems",value:"center"},{type:"declaration",property:"justifyContent",value:"center"},{type:"declaration",property:"position",value:"relative"},{type:"declaration",property:"backgroundColor",value:4283484818},{type:"declaration",property:"borderRadius",value:10},{type:"declaration",property:"marginBottom",value:10}]},{hash:"1d9d4525f36cd98b4f95527dc85017cf",selectors:[".async-txt[data-v-8399ef12]"],declarations:[{type:"declaration",property:"color",value:4278190080}]}])))}).call(this,t("./node_modules/webpack/buildin/global.js"))},"./src/components/demo/dynamicImport/async-component-local.vue":function(e,o,t){"use strict";t.r(o);var s=t("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var n=t("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),a=Object(n.defineComponent)({name:"DynamicImportLocal"}),c=(t("./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css"),t("./node_modules/vue-loader/dist/exportHelper.js"));const d=t.n(c)()(a,[["render",function(e,o,t,n,a,c){return Object(s.t)(),Object(s.f)("div",{class:"async-component-local"},[Object(s.g)("p",{class:"async-txt"}," 我是本地异步组件 ")])}],["__scopeId","data-v-8399ef12"]]);o.default=d},"./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css":function(e,o,t){"use strict";t("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css")}}]); \ No newline at end of file +((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[1],{100:function(t,n,e){(function(n){var e;t.exports=(n[e="__HIPPY_VUE_STYLES__"]||(n[e]=[]),void(n[e]=n[e].concat([["1386bd",[".async-component-local[data-v-8399ef12]"],[["display","flex"],["flexDirection","column"],["alignItems","center"],["justifyContent","center"],["position","relative"],["backgroundColor",4283484818],["borderRadius",10],["marginBottom",10]]],["1386bd",[".async-txt[data-v-8399ef12]"],[["color",4278190080]]]])))}).call(this,e(7))},102:function(t,n,e){"use strict";e(100)},104:function(t,n,e){"use strict";e.r(n);var c=e(0);var o=e(1),a=Object(o.defineComponent)({name:"DynamicImportLocal"}),s=(e(102),e(3));const i=e.n(s)()(a,[["render",function(t,n,e,o,a,s){return Object(c.t)(),Object(c.f)("div",{class:"async-component-local"},[Object(c.g)("p",{class:"async-txt"}," 我是本地异步组件 ")])}],["__scopeId","data-v-8399ef12"]]);n.default=i}}]); \ No newline at end of file diff --git a/framework/examples/ios-demo/res/vue3/index.ios.js b/framework/examples/ios-demo/res/vue3/index.ios.js index b73865d0271..0e5903eaf8d 100644 --- a/framework/examples/ios-demo/res/vue3/index.ios.js +++ b/framework/examples/ios-demo/res/vue3/index.ios.js @@ -1,10 +1,22 @@ -!function(e){function t(t){for(var o,a,r=t[0],l=t[1],c=0,s=[];c0===c.indexOf(e))){var i=c.split("/"),s=i[i.length-1],d=s.split(".")[0];(u=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[d])&&(c=u+s)}else{var u;d=c.split(".")[0];(u=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[d])&&(c=u+c)}onScriptComplete=function(t){if(t instanceof Error){t.message+=", load chunk "+e+" failed, path is "+c;var o=n[e];0!==o&&o&&o[1](t),n[e]=void 0}},global.dynamicLoad(c,onScriptComplete)}return Promise.all(t)},a.m=e,a.c=o,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var r=(0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[],l=r.push.bind(r);r.push=t,r=r.slice();for(var c=0;ce.length)&&(t=e.length);for(var o=0,n=new Array(t);o=0;--a){var r=this.tryEntries[a],c=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var i=l.call(r,"catchLoc"),s=l.call(r,"finallyLoc");if(i&&s){if(this.prev=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&l.call(n,"finallyLoc")&&this.prev=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),T(o),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var n=o.completion;if("throw"===n.type){var a=n.arg;T(o)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,o,n){return this.delegate={iterator:L(e),resultName:o,nextLoc:n},"next"===this.method&&(this.arg=t),g}},o}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/setPrototypeOf.js":function(e,t){function o(t,n){return e.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/slicedToArray.js":function(e,t,o){var n=o("./node_modules/@babel/runtime/helpers/arrayWithHoles.js"),a=o("./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"),r=o("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),l=o("./node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e,t){return n(e)||a(e,t)||r(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/toConsumableArray.js":function(e,t,o){var n=o("./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),a=o("./node_modules/@babel/runtime/helpers/iterableToArray.js"),r=o("./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),l=o("./node_modules/@babel/runtime/helpers/nonIterableSpread.js");e.exports=function(e){return n(e)||a(e)||r(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(e,t,o){var n=o("./node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var a=o.call(e,t||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(e,t,o){var n=o("./node_modules/@babel/runtime/helpers/typeof.js").default,a=o("./node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":function(e,t,o){var n=o("./node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/regenerator/index.js":function(e,t,o){var n=o("./node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"./node_modules/@hippy/rejection-tracking-polyfill/index.js":function(e,t,o){(function(e){!function(){if("ios"===Hippy.device.platform.OS){var t=[ReferenceError,TypeError,RangeError],o=!1;!function(a){if(e.Promise){a=a||{},o&&(o=!1,e.Promise._onHandle=null,e.Promise._onReject=null),o=!0;var r=0,l=0,c={};e.Promise._onHandle=function(e){2===e._state&&c[e._rejectionId]&&(c[e._rejectionId].logged?function(e){c[e].logged&&(a.onHandled?a.onHandled(c[e].displayId,c[e].error):c[e].onUnhandled||(console.warn("Promise Rejection Handled (id: "+c[e].displayId+"):"),console.warn(' This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+c[e].displayId+".")))}(e._rejectionId):clearTimeout(c[e._rejectionId].timeout),delete c[e._rejectionId])},e.Promise._onReject=function(e,o){0===e._deferredState&&(e._rejectionId=r++,c[e._rejectionId]={displayId:null,error:o,timeout:setTimeout(i.bind(null,e._rejectionId),n(o,t)?100:2e3),logged:!1})}}function i(e){(a.allRejections||n(c[e].error,a.whitelist||t))&&(c[e].displayId=l++,a.onUnhandled?(c[e].logged=!0,a.onUnhandled(c[e].displayId,c[e].error)):(c[e].logged=!0,function(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach((function(e){console.warn(" "+e)}))}(c[e].displayId,c[e].error)))}}({allRejections:!0,onUnhandled:function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.prototype.toString.call(o);if("[object Error]"===n){var a=Error.prototype.toString.call(o),r=o.stack,l="Possible Unhandled Promise Rejection (id: "+t+"):\n"+(a||"")+"\n"+(null==r?"":r);console.warn(l)}else{console.warn("Possible Unhandled Promise Rejection (id: "+t+"):");var c=(o&&(o.stack||o))+"";c.split("\n").forEach((function(e){console.warn(" "+e)}))}e.Hippy.emit("unhandledRejection",o,t)},onHandled:function(){}})}function n(e,t){return t.some((function(t){return e instanceof t}))}}()}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/@hippy/vue-router-next-history/dist/index.js":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a,r=o("./node_modules/vue-router/dist/vue-router.mjs"),l=o("../../packages/hippy-vue-next/dist/index.js");!function(e){e.pop="pop",e.push="push"}(n||(n={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(a||(a={}));var c=/\/$/,i=/^[^#]+#/;function s(e,t){return"".concat(e.replace(i,"#")).concat(t)}function d(e){var t=e;return t||(t="/"),"/"!==t[0]&&"#"!==t[0]&&(t="/".concat(t)),t.replace(c,"")}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="",o=[t],r=0,l=[],c=d(e);function i(e){(r+=1)===o.length||o.splice(r),o.push(e)}function u(e,t,o){for(var a={direction:o.direction,delta:o.delta,type:n.pop},r=0,c=l;r(l.push(e),function(){var t=l.indexOf(e);t>-1&&l.splice(t,1)}),destroy(){l=[],o=[t],r=0},go(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.location,l=e<0?a.back:a.forward;r=Math.max(0,Math.min(r+e,o.length-1)),t&&u(this.location,n,{direction:l,delta:e})},get position(){return r}};return Object.defineProperty(p,"location",{enumerable:!0,get:function(){return o[r]}}),p}t.createHippyHistory=u,t.createHippyRouter=function(e){var t,o=r.createRouter({history:null!==(t=e.history)&&void 0!==t?t:u(),routes:e.routes});return e.noInjectAndroidHardwareBackPress||function(e){if(l.Native.isAndroid()){var t=function(){if(e.options.history.position>0)return e.back(),!0};e.isReady().then((function(){l.BackAndroid.addListener(t)}))}}(o),o},Object.keys(r).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))},"./node_modules/@vue/devtools-api/lib/esm/env.js":function(e,t,o){"use strict";(function(e){function n(){return a().__VUE_DEVTOOLS_GLOBAL_HOOK__}function a(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==e?e:{}}o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return a})),o.d(t,"c",(function(){return r}));var r="function"==typeof Proxy}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/@vue/devtools-api/lib/esm/time.js":function(e,t,o){"use strict";(function(e){var n,a;function r(){return void 0!==n||("undefined"!=typeof window&&window.performance?(n=!0,a=window.performance):void 0!==e&&(null===(t=e.perf_hooks)||void 0===t?void 0:t.performance)?(n=!0,a=e.perf_hooks.performance):n=!1),n?a.now():Date.now();var t}o.d(t,"a",(function(){return r}))}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/@vue/shared/dist/shared.esm-bundler.js":function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return h})),o.d(t,"c",(function(){return _})),o.d(t,"d",(function(){return c})),o.d(t,"e",(function(){return O})),o.d(t,"f",(function(){return E})),o.d(t,"g",(function(){return x})),o.d(t,"h",(function(){return i})),o.d(t,"i",(function(){return u})),o.d(t,"j",(function(){return A})),o.d(t,"k",(function(){return l})),o.d(t,"l",(function(){return b})),o.d(t,"m",(function(){return r})),o.d(t,"n",(function(){return k})),o.d(t,"o",(function(){return s})),o.d(t,"p",(function(){return P})),o.d(t,"q",(function(){return p})),o.d(t,"r",(function(){return T})),o.d(t,"s",(function(){return I})),o.d(t,"t",(function(){return w})),o.d(t,"u",(function(){return S}));o("./node_modules/@babel/runtime/helpers/slicedToArray.js"),o("./node_modules/@babel/runtime/helpers/toConsumableArray.js");function n(e,t){for(var o=Object.create(null),n=e.split(","),a=0;a122||e.charCodeAt(2)<97)},l=function(e){return e.startsWith("onUpdate:")},c=Object.assign,i=(Object.prototype.hasOwnProperty,Array.isArray),s=function(e){return"[object Set]"===y(e)},d=function(e){return"[object Date]"===y(e)},u=function(e){return"function"==typeof e},p=function(e){return"string"==typeof e},f=function(e){return"symbol"==typeof e},b=function(e){return null!==e&&"object"==typeof e},v=Object.prototype.toString,y=function(e){return v.call(e)},m=function(e){var t=Object.create(null);return function(o){return t[o]||(t[o]=e(o))}},g=/-(\w)/g,h=m((function(e){return e.replace(g,(function(e,t){return t?t.toUpperCase():""}))})),j=/\B([A-Z])/g,O=m((function(e){return e.replace(j,"-$1").toLowerCase()})),_=m((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),x=(m((function(e){return e?"on".concat(_(e)):""})),function(e,t){for(var o=0;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,i=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return c=e.done,e},e:function(e){i=!0,l=e},f:function(){try{c||null==o.return||o.return()}finally{if(i)throw l}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,i=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return l=e.done,e},e:function(e){i=!0,r=e},f:function(){try{l||null==o.return||o.return()}finally{if(i)throw r}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o2&&void 0!==arguments[2]?arguments[2]:"/",a={},r="",l="",c=t.indexOf("#"),i=t.indexOf("?");return c=0&&(i=-1),i>-1&&(o=t.slice(0,i),a=e(r=t.slice(i+1,c>-1?c:t.length))),c>-1&&(o=o||t.slice(0,c),l=t.slice(c,t.length)),{fullPath:(o=x(null!=o?o:t,n))+(r&&"?")+r+l,path:o,query:a,hash:l}}function g(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function h(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function j(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var o in e)if(!O(e[o],t[o]))return!1;return!0}function O(e,t){return f(e)?_(e,t):f(t)?_(t,e):e===t}function _(e,t){return f(t)?e.length===t.length&&e.every((function(e,o){return e===t[o]})):1===e.length&&e[0]===t}function x(e,t){if(e.startsWith("/"))return e;if(!e)return t;var o=t.split("/"),n=e.split("/"),a=n[n.length-1];".."!==a&&"."!==a||n.push("");var r,l,c=o.length-1;for(r=0;r1&&c--}return o.slice(0,c).join("/")+"/"+n.slice(r-(r===n.length?1:0)).join("/")}!function(e){e.pop="pop",e.push="push"}(b||(b={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(v||(v={}));function w(e){if(!e)if(i){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(y,"")}var S=/^[^#]+#/;function A(e,t){return e.replace(S,"#")+t}var k=function(){return{left:window.pageXOffset,top:window.pageYOffset}};function C(e){var t;if("el"in e){var o=e.el,n="string"==typeof o&&o.startsWith("#"),a="string"==typeof o?n?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!a)return;t=function(e,t){var o=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-o.left-(t.left||0),top:n.top-o.top-(t.top||0)}}(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function P(e,t){return(history.state?history.state.position-t:-1)+e}var E=new Map;var T=function(){return location.protocol+"//"+location.host};function I(e,t){var o=t.pathname,n=t.search,a=t.hash,r=e.indexOf("#");if(r>-1){var l=a.includes(e.slice(r))?e.slice(r).length:1,c=a.slice(l);return"/"!==c[0]&&(c="/"+c),g(c,"")}return g(o,e)+n+a}function L(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{back:e,current:t,forward:o,replaced:n,position:window.history.length,scroll:a?k():null}}function D(e){var t=function(e){var t=window,o=t.history,n=t.location,a={value:I(e,n)},r={value:o.state};function l(t,a,l){var c=e.indexOf("#"),i=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+t:T()+e+t;try{o[l?"replaceState":"pushState"](a,"",i),r.value=a}catch(e){console.error(e),n[l?"replace":"assign"](i)}}return r.value||l(a.value,{back:null,current:a.value,forward:null,position:o.length-1,replaced:!0,scroll:null},!0),{location:a,state:r,push:function(e,t){var n=d({},r.value,o.state,{forward:e,scroll:k()});l(n.current,n,!0),l(e,d({},L(a.value,e,null),{position:n.position+1},t),!1),a.value=e},replace:function(e,t){l(e,d({},o.state,L(r.value.back,e,r.value.forward,!0),t,{position:r.value.position}),!0),a.value=e}}}(e=w(e)),o=function(e,t,o,n){var a=[],r=[],c=null,i=function(r){var l=r.state,i=I(e,location),s=o.value,d=t.value,u=0;if(l){if(o.value=i,t.value=l,c&&c===s)return void(c=null);u=d?l.position-d.position:0}else n(i);a.forEach((function(e){e(o.value,s,{delta:u,type:b.pop,direction:u?u>0?v.forward:v.back:v.unknown})}))};function s(){var e=window.history;e.state&&e.replaceState(d({},e.state,{scroll:k()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:function(){c=o.value},listen:function(e){a.push(e);var t=function(){var t=a.indexOf(e);t>-1&&a.splice(t,1)};return r.push(t),t},destroy:function(){var e,t=l(r);try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(e){t.e(e)}finally{t.f()}r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace);var n=d({location:"",base:e,go:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t||o.pauseListeners(),history.go(e)},createHref:A.bind(null,e)},t,o);return Object.defineProperty(n,"location",{enumerable:!0,get:function(){return t.location.value}}),Object.defineProperty(n,"state",{enumerable:!0,get:function(){return t.state.value}}),n}function H(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[],o=[""],n=0;function a(e){++n!==o.length&&o.splice(n),o.push(e)}function r(e,o,n){for(var a={direction:n.direction,delta:n.delta,type:b.pop},r=0,l=t;r(t.push(e),function(){var o=t.indexOf(e);o>-1&&t.splice(o,1)}),destroy(){t=[],o=[""],n=0},go(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this.location,l=e<0?v.back:v.forward;n=Math.max(0,Math.min(n+e,o.length-1)),t&&r(this.location,a,{direction:l,delta:e})}};return Object.defineProperty(l,"location",{enumerable:!0,get:function(){return o[n]}}),l}function V(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),D(e)}function Y(e){return"string"==typeof e||"symbol"==typeof e}var R,B={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},N=Symbol("");!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(R||(R={}));function M(e,t){return d(new Error,{type:e,[N]:!0},t)}function U(e,t){return e instanceof Error&&N in e&&(null==t||!!(e.type&t))}var z={sensitive:!1,strict:!1,start:!0,end:!0},F=/[.+*?^${}()[\]/\\]/g;function W(e,t){for(var o=0;ot.length?1===t.length&&80===t[0]?1:-1:0}function G(e,t){for(var o=0,n=e.score,a=t.score;o0&&t[t.length-1]<0}var J={type:0,value:""},q=/[a-zA-Z0-9_]/;function Q(e,t,o){var n=function(e,t){var o,n=d({},z,t),a=[],r=n.start?"^":"",c=[],i=l(e);try{for(i.s();!(o=i.n()).done;){var s=o.value,u=s.length?[]:[90];n.strict&&!s.length&&(r+="/");for(var p=0;p1&&("*"===c||"+"===c)&&t("A repeatable param (".concat(s,") must be alone in its segment. eg: '/:ids+.")),o.push({type:1,value:s,regexp:d,repeatable:"*"===c||"+"===c,optional:"*"===c||"?"===c})):t("Invalid state to consume buffer"),s="")}function p(){s+=c}for(;i-1&&(o.splice(a,1),e.record.name&&n.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function c(e){for(var t=0;t=0&&(e.record.path!==o[t].record.path||!ne(e,o[t]));)t++;o.splice(t,0,e),e.record.name&&!ee(e)&&n.set(e.record.name,e)}return t=oe({strict:!1,end:!0,sensitive:!1},t),e.forEach((function(e){return a(e)})),{addRoute:a,resolve:function(e,t){var a,r,l,c={};if("name"in e&&e.name){if(!(a=n.get(e.name)))throw M(1,{location:e});l=a.record.name,c=d(Z(t.params,a.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}))),e.params&&Z(e.params,a.keys.map((function(e){return e.name})))),r=a.stringify(c)}else if("path"in e)r=e.path,(a=o.find((function(e){return e.re.test(r)})))&&(c=a.parse(r),l=a.record.name);else{if(!(a=t.name?n.get(t.name):o.find((function(e){return e.re.test(t.path)}))))throw M(1,{location:e,currentLocation:t});l=a.record.name,c=d({},t.params,e.params),r=a.stringify(c)}for(var i=[],s=a;s;)i.unshift(s.record),s=s.parent;return{name:l,path:r,params:c,matched:i,meta:te(i)}},removeRoute:r,getRoutes:function(){return o},getRecordMatcher:function(e){return n.get(e)}}}function Z(e,t){var o,n={},a=l(t);try{for(a.s();!(o=a.n()).done;){var r=o.value;r in e&&(n[r]=e[r])}}catch(e){a.e(e)}finally{a.f()}return n}function $(e){var t={},o=e.props||!1;if("component"in e)t.default=o;else for(var n in e.components)t[n]="object"==typeof o?o[n]:o;return t}function ee(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function te(e){return e.reduce((function(e,t){return d(e,t.meta)}),{})}function oe(e,t){var o={};for(var n in e)o[n]=n in t?t[n]:e[n];return o}function ne(e,t){return t.children.some((function(t){return t===e||ne(e,t)}))}var ae=/#/g,re=/&/g,le=/\//g,ce=/=/g,ie=/\?/g,se=/\+/g,de=/%5B/g,ue=/%5D/g,pe=/%5E/g,fe=/%60/g,be=/%7B/g,ve=/%7C/g,ye=/%7D/g,me=/%20/g;function ge(e){return encodeURI(""+e).replace(ve,"|").replace(de,"[").replace(ue,"]")}function he(e){return ge(e).replace(se,"%2B").replace(me,"+").replace(ae,"%23").replace(re,"%26").replace(fe,"`").replace(be,"{").replace(ye,"}").replace(pe,"^")}function je(e){return null==e?"":function(e){return ge(e).replace(ae,"%23").replace(ie,"%3F")}(e).replace(le,"%2F")}function Oe(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}function _e(e){var t={};if(""===e||"?"===e)return t;for(var o=("?"===e[0]?e.slice(1):e).split("&"),n=0;n-1&&e.splice(o,1)}},list:function(){return e.slice()},reset:function(){e=[]}}}function Te(e,t,o){var n=function(){e[t].delete(o)};Object(r.s)(n),Object(r.r)(n),Object(r.q)((function(){e[t].add(o)})),e[t].add(o)}function Ie(e){var t=Object(r.m)(Se,{}).value;t&&Te(t,"leaveGuards",e)}function Le(e){var t=Object(r.m)(Se,{}).value;t&&Te(t,"updateGuards",e)}function De(e,t,o,n,a){var r=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return function(){return new Promise((function(l,c){var i=function(e){var i;!1===e?c(M(4,{from:o,to:t})):e instanceof Error?c(e):"string"==typeof(i=e)||i&&"object"==typeof i?c(M(2,{from:t,to:e})):(r&&n.enterCallbacks[a]===r&&"function"==typeof e&&r.push(e),l())},s=e.call(n&&n.instances[a],t,o,i),d=Promise.resolve(s);e.length<3&&(d=d.then(i)),d.catch((function(e){return c(e)}))}))}}function He(e,t,o,n){var a,r=[],c=l(e);try{var i=function(){var e=a.value;var l=function(a){var l,c=e.components[a];if("beforeRouteEnter"!==t&&!e.instances[a])return 1;if("object"==typeof(l=c)||"displayName"in l||"props"in l||"__vccOpts"in l){var i=(c.__vccOpts||c)[t];i&&r.push(De(i,o,n,e,a))}else{var d=c();0,r.push((function(){return d.then((function(r){if(!r)return Promise.reject(new Error("Couldn't resolve component \"".concat(a,'" at "').concat(e.path,'"')));var l=s(r)?r.default:r;e.components[a]=l;var c=(l.__vccOpts||l)[t];return c&&De(c,o,n,e,a)()}))}))}};for(var c in e.components)l(c)};for(c.s();!(a=c.n()).done;)i()}catch(e){c.e(e)}finally{c.f()}return r}function Ve(e){return e.matched.every((function(e){return e.redirect}))?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map((function(e){return e.components&&Promise.all(Object.keys(e.components).reduce((function(t,o){var n=e.components[o];return"function"!=typeof n||"displayName"in n||t.push(n().then((function(t){if(!t)return Promise.reject(new Error("Couldn't resolve component \"".concat(o,'" at "').concat(e.path,'". Ensure you passed a function that returns a promise.')));var n=s(t)?t.default:t;e.components[o]=n}))),t}),[]))}))).then((function(){return e}))}function Ye(e){var t=Object(r.m)(ke),o=Object(r.m)(Ce),n=Object(r.c)((function(){return t.resolve(Object(r.E)(e.to))})),a=Object(r.c)((function(){var e=n.value.matched,t=e.length,a=e[t-1],r=o.matched;if(!a||!r.length)return-1;var l=r.findIndex(h.bind(null,a));if(l>-1)return l;var c=Ne(e[t-2]);return t>1&&Ne(a)===c&&r[r.length-1].path!==c?r.findIndex(h.bind(null,e[t-2])):l})),l=Object(r.c)((function(){return a.value>-1&&function(e,t){var o,n=function(){var o=t[a],n=e[a];if("string"==typeof o){if(o!==n)return{v:!1}}else if(!f(n)||n.length!==o.length||o.some((function(e,t){return e!==n[t]})))return{v:!1}};for(var a in t)if(o=n())return o.v;return!0}(o.params,n.value.params)})),c=Object(r.c)((function(){return a.value>-1&&a.value===o.matched.length-1&&j(o.params,n.value.params)}));return{route:n,href:Object(r.c)((function(){return n.value.href})),isActive:l,isExactActive:c,navigate:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Be(o)?t[Object(r.E)(e.replace)?"replace":"push"](Object(r.E)(e.to)).catch(p):Promise.resolve()}}}var Re=Object(r.j)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ye,setup(e,t){var o=t.slots,n=Object(r.v)(Ye(e)),a=Object(r.m)(ke).options,l=Object(r.c)((function(){return{[Me(e.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[Me(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}}));return function(){var t=o.default&&o.default(n);return e.custom?t:Object(r.l)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},t)}}});function Be(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ne(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}var Me=function(e,t,o){return null!=e?e:null!=t?t:o};function Ue(e,t){if(!e)return null;var o=e(t);return 1===o.length?o[0]:o}var ze=Object(r.j)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,t){var o=t.attrs,n=t.slots,l=Object(r.m)(Pe),c=Object(r.c)((function(){return e.route||l.value})),i=Object(r.m)(Ae,0),s=Object(r.c)((function(){for(var e,t=Object(r.E)(i),o=c.value.matched;(e=o[t])&&!e.components;)t++;return t})),u=Object(r.c)((function(){return c.value.matched[s.value]}));Object(r.u)(Ae,Object(r.c)((function(){return s.value+1}))),Object(r.u)(Se,u),Object(r.u)(Pe,c);var p=Object(r.w)();return Object(r.G)((function(){return[p.value,u.value,e.name]}),(function(e,t){var o=a()(e,3),n=o[0],r=o[1],l=o[2],c=a()(t,3),i=c[0],s=c[1];c[2];r&&(r.instances[l]=n,s&&s!==r&&n&&n===i&&(r.leaveGuards.size||(r.leaveGuards=s.leaveGuards),r.updateGuards.size||(r.updateGuards=s.updateGuards))),!n||!r||s&&h(r,s)&&i||(r.enterCallbacks[l]||[]).forEach((function(e){return e(n)}))}),{flush:"post"}),function(){var t=c.value,a=e.name,l=u.value,i=l&&l.components[a];if(!i)return Ue(n.default,{Component:i,route:t});var s=l.props[a],f=s?!0===s?t.params:"function"==typeof s?s(t):s:null,b=Object(r.l)(i,d({},f,o,{onVnodeUnmounted:function(e){e.component.isUnmounted&&(l.instances[a]=null)},ref:p}));return Ue(n.default,{Component:b,route:t})||b}}});function Fe(e){var t=X(e.routes,e),o=e.parseQuery||_e,n=e.stringifyQuery||xe,c=e.history;var s=Ee(),v=Ee(),y=Ee(),g=Object(r.C)(B),O=B;i&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var _,x=u.bind(null,(function(e){return""+e})),w=u.bind(null,je),S=u.bind(null,Oe);function A(e,a){if(a=d({},a||g.value),"string"==typeof e){var r=m(o,e,a.path),l=t.resolve({path:r.path},a),i=c.createHref(r.fullPath);return d(r,l,{params:S(l.params),hash:Oe(r.hash),redirectedFrom:void 0,href:i})}var s;if("path"in e)s=d({},e,{path:m(o,e.path,a.path).path});else{var u=d({},e.params);for(var p in u)null==u[p]&&delete u[p];s=d({},e,{params:w(u)}),a.params=w(a.params)}var f=t.resolve(s,a),b=e.hash||"";f.params=x(S(f.params));var v,y=function(e,t){var o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}(n,d({},e,{hash:(v=b,ge(v).replace(be,"{").replace(ye,"}").replace(pe,"^")),path:f.path})),h=c.createHref(y);return d({fullPath:y,hash:b,query:n===xe?we(e.query):e.query||{}},f,{redirectedFrom:void 0,href:h})}function T(e){return"string"==typeof e?m(o,e,g.value.path):d({},e)}function I(e,t){if(O!==e)return M(8,{from:t,to:e})}function L(e){return H(e)}function D(e){var t=e.matched[e.matched.length-1];if(t&&t.redirect){var o=t.redirect,n="function"==typeof o?o(e):o;return"string"==typeof n&&((n=n.includes("?")||n.includes("#")?n=T(n):{path:n}).params={}),d({query:e.query,hash:e.hash,params:"path"in n?{}:e.params},n)}}function H(e,t){var o=O=A(e),a=g.value,r=e.state,l=e.force,c=!0===e.replace,i=D(o);if(i)return H(d(T(i),{state:"object"==typeof i?d({},r,i.state):r,force:l,replace:c}),t||o);var s,u=o;return u.redirectedFrom=t,!l&&function(e,t,o){var n=t.matched.length-1,a=o.matched.length-1;return n>-1&&n===a&&h(t.matched[n],o.matched[a])&&j(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}(n,a,o)&&(s=M(16,{to:u,from:a}),Z(a,a,!0,!1)),(s?Promise.resolve(s):N(u,a)).catch((function(e){return U(e)?U(e,2)?e:Q(e):q(e,u,a)})).then((function(e){if(e){if(U(e,2))return H(d({replace:c},T(e.to),{state:"object"==typeof e.to?d({},r,e.to.state):r,force:l}),t||u)}else e=F(u,a,!0,c,r);return z(u,a,e),e}))}function V(e,t){var o=I(e,t);return o?Promise.reject(o):Promise.resolve()}function R(e){var t=te.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function N(e,t){var o,n=function(e,t){for(var o=[],n=[],a=[],r=Math.max(t.matched.length,e.matched.length),l=function(){var r=t.matched[c];r&&(e.matched.find((function(e){return h(e,r)}))?n.push(r):o.push(r));var l=e.matched[c];l&&(t.matched.find((function(e){return h(e,l)}))||a.push(l))},c=0;c=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==o.return||o.return()}finally{if(c)throw r}}}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o".concat(e,""):e;var c=x.content;if(n){for(var i=c.firstChild;i.firstChild;)c.appendChild(i.firstChild);c.removeChild(i)}t.insertBefore(c,o)}return[l?l.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},S=Symbol("_vtc"),A=function(e,t){var o=t.slots;return Object(n.h)(n.BaseTransition,E(e),o)};A.displayName="Transition";var k={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},C=(A.props=Object(g.d)({},n.BaseTransitionPropsValidators,k),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Object(g.h)(e)?e.forEach((function(e){return e.apply(void 0,m()(t))})):e&&e.apply(void 0,m()(t))}),P=function(e){return!!e&&(Object(g.h)(e)?e.some((function(e){return e.length>1})):e.length>1)};function E(e){var t={};for(var o in e)o in k||(t[o]=e[o]);if(!1===e.css)return t;var n=e.name,a=void 0===n?"v":n,r=e.type,l=e.duration,c=e.enterFromClass,i=void 0===c?"".concat(a,"-enter-from"):c,s=e.enterActiveClass,d=void 0===s?"".concat(a,"-enter-active"):s,u=e.enterToClass,p=void 0===u?"".concat(a,"-enter-to"):u,f=e.appearFromClass,b=void 0===f?i:f,v=e.appearActiveClass,y=void 0===v?d:v,m=e.appearToClass,h=void 0===m?p:m,j=e.leaveFromClass,O=void 0===j?"".concat(a,"-leave-from"):j,_=e.leaveActiveClass,x=void 0===_?"".concat(a,"-leave-active"):_,w=e.leaveToClass,S=void 0===w?"".concat(a,"-leave-to"):w,A=function(e){if(null==e)return null;if(Object(g.l)(e))return[T(e.enter),T(e.leave)];var t=T(e);return[t,t]}(l),E=A&&A[0],H=A&&A[1],Y=t.onBeforeEnter,R=t.onEnter,B=t.onEnterCancelled,M=t.onLeave,U=t.onLeaveCancelled,z=t.onBeforeAppear,F=void 0===z?Y:z,W=t.onAppear,G=void 0===W?R:W,K=t.onAppearCancelled,J=void 0===K?B:K,q=function(e,t,o){L(e,t?h:p),L(e,t?y:d),o&&o()},Q=function(e,t){e._isLeaving=!1,L(e,O),L(e,S),L(e,x),t&&t()},X=function(e){return function(t,o){var n=e?G:R,a=function(){return q(t,e,o)};C(n,[t,a]),D((function(){L(t,e?b:i),I(t,e?h:p),P(n)||V(t,r,E,a)}))}};return Object(g.d)(t,{onBeforeEnter(e){C(Y,[e]),I(e,i),I(e,d)},onBeforeAppear(e){C(F,[e]),I(e,b),I(e,y)},onEnter:X(!1),onAppear:X(!0),onLeave(e,t){e._isLeaving=!0;var o=function(){return Q(e,t)};I(e,O),N(),I(e,x),D((function(){e._isLeaving&&(L(e,O),I(e,S),P(M)||V(e,r,H,o))})),C(M,[e,o])},onEnterCancelled(e){q(e,!1),C(B,[e])},onAppearCancelled(e){q(e,!0),C(J,[e])},onLeaveCancelled(e){Q(e),C(U,[e])}})}function T(e){return Object(g.u)(e)}function I(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e[S]||(e[S]=new Set)).add(t)}function L(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var o=e[S];o&&(o.delete(t),o.size||(e[S]=void 0))}function D(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}var H=0;function V(e,t,o,n){var a=e._endId=++H,r=function(){a===e._endId&&n()};if(o)return setTimeout(r,o);var l=Y(e,t),c=l.type,i=l.timeout,s=l.propCount;if(!c)return n();var d=c+"end",u=0,p=function(){e.removeEventListener(d,f),r()},f=function(t){t.target===e&&++u>=s&&p()};setTimeout((function(){u0&&(d="transition",u=l,p=r.length):"animation"===t?s>0&&(d="animation",u=s,p=i.length):p=(d=(u=Math.max(l,s))>0?l>s?"transition":"animation":null)?"transition"===d?r.length:i.length:0,{type:d,timeout:u,propCount:p,hasTransform:"transition"===d&&/\b(transform|all)(,|$)/.test(n("".concat("transition","Property")).toString())}}function R(e,t){for(;e.length4&&void 0!==arguments[4]?arguments[4]:null,r=e[te]||(e[te]={}),l=r[t];if(n&&l)l.value=n;else{var c=ae(t),i=v()(c,2),s=i[0],d=i[1];if(n){var u=r[t]=ce(n,a);$(e,s,u,d)}else l&&(ee(e,s,l,d),r[t]=void 0)}}var ne=/(?:Once|Passive|Capture)$/;function ae(e){var t,o;if(ne.test(e))for(t={};o=e.match(ne);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):Object(g.e)(e.slice(2)),t]}var re=0,le=Promise.resolve();function ce(e,t){var o=function e(o){if(o._vts){if(o._vts<=e.attached)return}else o._vts=Date.now();Object(n.callWithAsyncErrorHandling)(function(e,t){if(Object(g.h)(t)){var o=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){o.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e&&e(t)}}))}return t}(o,e.value),t,5,[o])};return o.value=e,o.attached=re||(le.then((function(){return re=0})),re=Date.now()),o}var ie=function(e){return 111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123};function se(e,t,o,n){if(n)return"innerHTML"===t||"textContent"===t||!!(t in e&&ie(t)&&Object(g.i)(o));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){var a=e.tagName;if("IMG"===a||"VIDEO"===a||"CANVAS"===a||"SOURCE"===a)return!1}return(!ie(t)||!Object(g.q)(o))&&t in e} +!function(e){function t(t){for(var n,r,a=t[0],i=t[1],c=0,u=[];c0===c.indexOf(e))){var l=c.split("/"),u=l[l.length-1],s=u.split(".")[0];(d=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[s])&&(c=d+u)}else{var d;s=c.split(".")[0];(d=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[s])&&(c=d+c)}onScriptComplete=function(t){if(t instanceof Error){t.message+=", load chunk "+e+" failed, path is "+c;var n=o[e];0!==n&&n&&n[1](t),o[e]=void 0}},global.dynamicLoad(c,onScriptComplete)}return Promise.all(t)},r.m=e,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var a=(0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[],i=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n".concat(e,""):"mathml"===o?"".concat(e,""):e;var c=A.content;if("svg"===o||"mathml"===o){for(var l=c.firstChild;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},C=Symbol("_vtc"),S=function(e,t){var n=t.slots;return Object(o.h)(o.BaseTransition,D(e),n)};S.displayName="Transition";var k={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},T=(S.props=Object(h.e)({},o.BaseTransitionPropsValidators,k),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Object(h.i)(e)?e.forEach((function(e){return e.apply(void 0,m()(t))})):e&&e.apply(void 0,m()(t))}),_=function(e){return!!e&&(Object(h.i)(e)?e.some((function(e){return e.length>1})):e.length>1)};function D(e){var t={};for(var n in e)n in k||(t[n]=e[n]);if(!1===e.css)return t;var o=e.name,r=void 0===o?"v":o,a=e.type,i=e.duration,c=e.enterFromClass,l=void 0===c?"".concat(r,"-enter-from"):c,u=e.enterActiveClass,s=void 0===u?"".concat(r,"-enter-active"):u,d=e.enterToClass,f=void 0===d?"".concat(r,"-enter-to"):d,b=e.appearFromClass,p=void 0===b?l:b,g=e.appearActiveClass,v=void 0===g?s:g,m=e.appearToClass,O=void 0===m?f:m,j=e.leaveFromClass,y=void 0===j?"".concat(r,"-leave-from"):j,w=e.leaveActiveClass,A=void 0===w?"".concat(r,"-leave-active"):w,x=e.leaveToClass,C=void 0===x?"".concat(r,"-leave-to"):x,S=function(e){if(null==e)return null;if(Object(h.n)(e))return[E(e.enter),E(e.leave)];var t=E(e);return[t,t]}(i),D=S&&S[0],B=S&&S[1],M=t.onBeforeEnter,N=t.onEnter,H=t.onEnterCancelled,z=t.onLeave,F=t.onLeaveCancelled,U=t.onBeforeAppear,Y=void 0===U?M:U,W=t.onAppear,G=void 0===W?N:W,K=t.onAppearCancelled,J=void 0===K?H:K,q=function(e,t,n){I(e,t?O:f),I(e,t?v:s),n&&n()},Q=function(e,t){e._isLeaving=!1,I(e,y),I(e,C),I(e,A),t&&t()},X=function(e){return function(t,n){var o=e?G:N,r=function(){return q(t,e,n)};T(o,[t,r]),R((function(){I(t,e?p:l),P(t,e?O:f),_(o)||L(t,a,D,r)}))}};return Object(h.e)(t,{onBeforeEnter(e){T(M,[e]),P(e,l),P(e,s)},onBeforeAppear(e){T(Y,[e]),P(e,p),P(e,v)},onEnter:X(!1),onAppear:X(!0),onLeave(e,t){e._isLeaving=!0;var n=function(){return Q(e,t)};P(e,y),P(e,A),V(),R((function(){e._isLeaving&&(I(e,y),P(e,C),_(z)||L(e,a,B,n))})),T(z,[e,n])},onEnterCancelled(e){q(e,!1),T(H,[e])},onAppearCancelled(e){q(e,!0),T(J,[e])},onLeaveCancelled(e){Q(e),T(F,[e])}})}function E(e){return Object(h.x)(e)}function P(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e[C]||(e[C]=new Set)).add(t)}function I(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var n=e[C];n&&(n.delete(t),n.size||(e[C]=void 0))}function R(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}var B=0;function L(e,t,n,o){var r=e._endId=++B,a=function(){r===e._endId&&o()};if(n)return setTimeout(a,n);var i=M(e,t),c=i.type,l=i.timeout,u=i.propCount;if(!c)return o();var s=c+"end",d=0,f=function(){e.removeEventListener(s,b),a()},b=function(t){t.target===e&&++d>=u&&f()};setTimeout((function(){d0&&(s="transition",d=i,f=a.length):"animation"===t?u>0&&(s="animation",d=u,f=l.length):f=(s=(d=Math.max(i,u))>0?i>u?"transition":"animation":null)?"transition"===s?a.length:l.length:0,{type:s,timeout:d,propCount:f,hasTransform:"transition"===s&&/\b(transform|all)(,|$)/.test(o("".concat("transition","Property")).toString())}}function N(e,t){for(;e.length5&&void 0!==arguments[5]?arguments[5]:Object(h.r)(t);o&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(X,t.slice(6,t.length)):e.setAttributeNS(X,t,n):null==n||a&&!Object(h.g)(n)?e.removeAttribute(t):e.setAttribute(t,a?"":Object(h.t)(n)?String(n):n)}function $(e,t,n,o){e.addEventListener(t,n,o)}function ee(e,t,n,o){e.removeEventListener(t,n,o)}var te=Symbol("_vei");var ne=/(?:Once|Passive|Capture)$/;function oe(e){var t,n;if(ne.test(e))for(t={};n=e.match(ne);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):Object(h.f)(e.slice(2)),t]}var re=0,ae=Promise.resolve();function ie(e,t){var n=function e(n){if(n._vts){if(n._vts<=e.attached)return}else n._vts=Date.now();Object(o.callWithAsyncErrorHandling)(function(e,t){if(Object(h.i)(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){n.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e&&e(t)}}))}return t}(n,e.value),t,5,[n])};return n.value=e,n.attached=re||(ae.then((function(){return re=0})),re=Date.now()),n}var ce=function(e){return 111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123}; /*! #__NO_SIDE_EFFECTS__ */ +"undefined"!=typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");Symbol("_assign");var le,ue=["ctrl","shift","alt","meta"],se={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,t){return ue.some((function(n){return e["".concat(n,"Key")]&&!t.includes(n)}))}},de=function(e,t){var n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=function(n){for(var o=0;o1?a-1:0),c=1;c4&&void 0!==arguments[4]?arguments[4]:null,a=e[te]||(e[te]={}),i=a[t];if(o&&i)i.value=o;else{var c=oe(t),l=g()(c,2),u=l[0],s=l[1];if(o){var d=a[t]=ie(o,r);$(e,u,d,s)}else i&&(ee(e,u,i,s),a[t]=void 0)}}(e,t,n,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&ce(t)&&Object(h.j)(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){var r=e.tagName;if("IMG"===r||"VIDEO"===r||"CANVAS"===r||"SOURCE"===r)return!1}if(ce(t)&&Object(h.s)(n))return!1;return t in e} +/*! #__NO_SIDE_EFFECTS__ */(e,t,o,i))?(!function(e,t,n,o){if("innerHTML"!==t&&"textContent"!==t){var r=e.tagName;if("value"===t&&"PROGRESS"!==r&&!r.includes("-")){var a="OPTION"===r?e.getAttribute("value")||"":e.value,i=null==n?"":String(n);return a===i&&"_value"in e||(e.value=i),null==n&&e.removeAttribute(t),void(e._value=n)}var c=!1;if(""===n||null==n){var l=typeof e[t];"boolean"===l?n=Object(h.g)(n):null==n&&"string"===l?(n="",c=!0):"number"===l&&(n=0,c=!0)}try{e[t]=n}catch(e){0}c&&e.removeAttribute(t)}else{if(null==n)return;e[t]=n}}(e,t,o),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Z(e,t,o,i,a,"value"!==t)):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),Z(e,t,o,i))}},x);function be(){return le||(le=Object(o.createRenderer)(fe))}var pe=function(){var e;(e=be()).render.apply(e,arguments)}},function(e,t,n){e.exports=n(18)(7)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return A})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return P})),n.d(t,"h",(function(){return x})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return k})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return c})),n.d(t,"n",(function(){return g})),n.d(t,"o",(function(){return i})),n.d(t,"p",(function(){return T})),n.d(t,"q",(function(){return s})),n.d(t,"r",(function(){return E})),n.d(t,"s",(function(){return b})),n.d(t,"t",(function(){return p})),n.d(t,"u",(function(){return I})),n.d(t,"v",(function(){return R})),n.d(t,"w",(function(){return C})),n.d(t,"x",(function(){return S}));n(10),n(6); +/** +* @vue/shared v3.4.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ /*! #__NO_SIDE_EFFECTS__ */ -"undefined"!=typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");Symbol("_assign");var de,ue=["ctrl","shift","alt","meta"],pe={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,t){return ue.some((function(o){return e["".concat(o,"Key")]&&!t.includes(o)}))}},fe=function(e,t){return e._withMods||(e._withMods=function(o){for(var n=0;n1?r-1:0),c=1;c4&&void 0!==arguments[4]&&arguments[4],r=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,i=arguments.length>8?arguments[8]:void 0;"class"===t?M(e,n,a):"style"===t?W(e,o,n):Object(g.m)(t)?Object(g.k)(t)||oe(e,t,o,n,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):se(e,t,n,a))?Z(e,t,n,r,l,c,i):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),X(e,t,n,a))}},w);function ve(){return de||(de=Object(n.createRenderer)(be))}var ye=function(){var e;(e=ve()).render.apply(e,arguments)}},"./node_modules/webpack/buildin/global.js":function(e,t,o){e.exports=o("dll-reference hippyVueBase")("./node_modules/webpack/buildin/global.js")},"./src/app.vue":function(e,t,o){"use strict";var n=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var a=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),r=o("./node_modules/vue-router/dist/vue-router.mjs"),l=Object(a.defineComponent)({name:"App",setup(){var e=Object(r.useRouter)(),t=Object(r.useRoute)(),o=Object(a.ref)(""),n=Object(a.ref)(0),l=Object(a.ref)([{text:"API",path:"/"},{text:"调试",path:"/remote-debug"}]);return{activatedTab:n,backButtonImg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAIPUlEQVR4Xu2dT8xeQxTGn1O0GiWEaEJCWJCwQLBo/WnRSqhEJUQT0W60G+1Ku1SS2mlXaqM2KqJSSUlajVb9TViwYEHCQmlCQghRgqKPTHLK7Zfvfd97Zt5535l7z91+58zce57fnfe7d+Y+I/Cj1xWQXl+9XzwcgJ5D4AA4AD2vQM8v30cAB6DnFZjA5ZO8VUTenEBX5i58BDCXzJZA8ikA6wFsFpEttuz80Q5AxhqTfAbA2kYXW0VkU8YuzU07AOaStUsg+RyA1bNEFwWBA9BOz9ZRJOcAeAHAqiFJ20VkQ+tGMwY6AGMsLslTAOwGcE+LZneIyLoWcVlDHIAxlVfFfxXACkOTO0VkjSF+7KEOwJhKSnIfgDuNzf0M4BoR+cqYN7ZwByCxlCTnAtgLYLmxqR8ALBGRz4x5Yw13ABLKSfJ0APsBLDU28x2Am0XkC2Pe2MMdgMiSkjwDwAEAi41NBPEXichhY16WcAcgoqwkzwRwCMD1xvRvANxUivjh3B0Ao4IkzwbwFoCrjalf67B/xJiXNdwBMJSX5LkA3gFwpSEthH6pd/63xrzs4Q5AyxKTPB/AuwAub5lyIuxzvfO/N+ZNJNwBaFFmkhcAeA/ApS3CmyGf6qPej8a8iYU7ACNKTfIivfMvNqryMYBbRCS87Cn2cACGSKPivw/gQqOCQfzwnH/UmDfxcAdgQMlJXqLDvlX8DwHcVoP4/hg4WPzLdNhfaLwlw2hxu4j8ZsybWriPADNKT/IKfdQ7z6jK2wDuEJE/jHlTDXcAGuUneZW+5DnHqMpBAHeJyDFj3tTDHQCVgOR1+nr3LKMqYRp4pYj8bcwrItwBAEBykU7sLDCqsgfAfSLyjzGvmPDeA0ByiU7pzjeqEsS/V0SOG/OKCu81ACSX6WKOeUZVdgF4oHbxe/0YSDIs33oFwGlG8ae+js94vkPDezkCkFypq3dPNRaziJW8xnN2AJoVIHm/rtsPS7gtRzFr+S0nPSq2VyOAiv9ixEKYor7mGSWq5e+9AYDkgwDC51rWa94iIpstRa0p1lqMmq7tv3Ml+RCA8KGm9Xo3isi2Ki+65UlbC9Ky2XLCSD4MYHvEGXVe/M4/BpJ8BMDWCPHXi8jTEXnVpXR2BCD5OIDHjIoQwDoRedaYV214JwEg+SSAjUZVgvhrROR5Y17V4Z0DoGHJYhEmTOaEV7svWZK6ENspAGaxZGmjUZjGDTN64bVw747OADDEkmWYqEH8u0Xktd4prxdcPQAtLVlm0/cvXcjRW/GrfwxU8V9uacnShOBPXcL1Rl/v/BPXXe0IYPTjaer8uy7eDN/49f6oEgCSYRo3/NNm8eMJYv+qy7Y/6L3ytf4PkGDJ8ot+sPGRi/9/BaoaARIsWX7S7/Q+cfFPrkA1ACRYsgTxb5y2GVOp4FUBQIIlSxFOXKWKX8VjYIIlSzFOXA5AZAUSLFmKM2OKLEH2tGJ/AhIsWYo0Y8quZGQHRQKQYMlSrBlTpD7Z04oDIMGSpWgzpuxKRnZQFACJ4t8gIsWaMUXqkz2tGAASLFmKd+LKrmJCB0UAQDLWkqUKJ64EfbKnTh2ABEuWqsyYsisZ2cFUAUiwZKnOjClSn+xpUwMgwZKlSjOm7EpGdlAjAOHuDz58VblxReqTPW1qAIQr85+A7PqO7GCqACgEsb58/k/gSHlHB0wdAIXAHwNHa5UloggAFIJYb15/EZSARjEAKASx1uw+DxAJQVEAKASxmzP4TGAEBMUBoBCE7VnC0m3rDh1hLcBiESlub54IbSaSUiQADQhi9ujxBSEGdIoFQCGI3aXLl4S1hKBoABSC2H36fFFoCwiKB0AhiN2p05eFj4CgCgAUgti9ev2roCEQVAOAQhC7W3f4LjDs4uWfhs2AoSoAFIK5avG+vMVPXDPEPw6dpWDVAaAQ+OfhRvoHhVcJgEIQ3L53R7iDuEFEg4ZqAVAI5qj1+yrjDeEWMVqwqgE4ITrJYAFvhcBNoiLcs4032uTCE2zieusRGNTpxAjQGAmCJfxaI3bBJTTs/uVGkcbCFRnuVrE2WTo1AjRGAjeLbslBJwHQJ4RgFR8s4y2H28VbqlV6rG8YMVqhzo4AjZ8D3zJmCAedB0B/DnzTqAEQ9AIAhSB227gnROTR0YNpnRG9AUAhCLuG+saRXZkLiLnnfOvYk6vWqxGg8Y+hbx7dpcmgyJHAt4/v2lyAFQSSy3R10Txj7i7dZey4Ma+48F7+BDRVILkEwH4A843q7NFJpKoh6D0A+nSwCMABAAsiIAjTyWFGscrDAVDZEjyL9unuY2ELuuoOB6AhWYJlzUHdhexYbQQ4ADMUS/AtrNK9zAGY5ZZNcC6tzr/QARgwZqt3cfAoWGgc1qsyr3IAhqibYGAdPIzDp2hHjfBMPNwBGFHyBAv7KoysHYAW91zCDibFO5g5AC0A0JdFwbcoxrKmaAczB6AlAApBrGVNsQ5mDoABAIUg1rKmSPMqB8AIgEIQa1kTzKuCjd2RiG6zpDgAkWVN2Mu4KAczByASAB0JYi1rinEwcwASAFAIgmXN6wCWGpsqwsHMATCqNiic5F4AK4zNBQeza0XksDFvbOEOwJhKSTLGt2iniKwZ0ylENeMARJVt9iSSFt+iHSKybozdRzXlAESVbXASyTa+RdtFZMOYu45qzgGIKtvopCGWNVtFZNPoFiYT4QBkrDPJmZY1W0Rkc8YuzU07AOaS2RIaljUbRWSbLTt/tAOQv8Zhf8Sw0eWhCXRl7sIBMJesWwkOQLf0NF+NA2AuWbcSHIBu6Wm+GgfAXLJuJTgA3dLTfDX/AlSTmJ/JwwOoAAAAAElFTkSuQmCC",currentRoute:t,subTitle:o,tabs:l,goBack:function(){e.back()},navigateTo:function(t,o){o!==n.value&&(n.value=o,e.replace({path:t.path}))}}},watch:{$route(e){void 0!==e.name?this.subTitle=e.name:this.subTitle=""}}}),c=(o("./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js"));const i=o.n(c)()(l,[["render",function(e,t,o,a,r,l){var c=Object(n.z)("router-view");return Object(n.t)(),Object(n.f)("div",{id:"root"},[Object(n.g)("div",{id:"header"},[Object(n.g)("div",{class:"left-title"},[Object(n.I)(Object(n.g)("img",{id:"back-btn",src:e.backButtonImg,onClick:t[0]||(t[0]=function(){return e.goBack&&e.goBack.apply(e,arguments)})},null,8,["src"]),[[n.F,!["/","/debug","/remote-debug"].includes(e.currentRoute.path)]]),["/","/debug","/remote-debug"].includes(e.currentRoute.path)?(Object(n.t)(),Object(n.f)("label",{key:0,class:"title"},"Hippy Vue Next")):Object(n.e)("v-if",!0)]),Object(n.g)("label",{class:"title"},Object(n.D)(e.subTitle),1)]),Object(n.g)("div",{class:"body-container",onClick:Object(n.J)((function(){}),["stop"])},[Object(n.e)(" if you don't need keep-alive, just use '' "),Object(n.i)(c,null,{default:Object(n.H)((function(e){var t=e.Component,o=e.route;return[(Object(n.t)(),Object(n.d)(n.b,null,[(Object(n.t)(),Object(n.d)(Object(n.A)(t),{key:o.path}))],1024))]})),_:1})]),Object(n.g)("div",{class:"bottom-tabs"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.tabs,(function(t,o){return Object(n.t)(),Object(n.f)("div",{key:"tab-"+o,class:Object(n.o)(["bottom-tab",o===e.activatedTab?"activated":""]),onClick:Object(n.J)((function(n){return e.navigateTo(t,o)}),["stop"])},[Object(n.g)("span",{class:"bottom-tab-text"},Object(n.D)(t.text),1)],10,["onClick"])})),128))])])}]]);t.a=i},"./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css")},"./src/assets/defaultSource.jpg":function(e,t,o){e.exports=o.p+"assets/defaultSource.jpg"},"./src/assets/hippyLogoWhite.png":function(e,t,o){e.exports=o.p+"assets/hippyLogoWhite.png"},"./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css")},"./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css")},"./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css")},"./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css")},"./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css")},"./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css")},"./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css")},"./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css")},"./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css")},"./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css")},"./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css")},"./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css")},"./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css")},"./src/components/demo/demoTurbo.ts":function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return p})),o.d(t,"b",(function(){return s})),o.d(t,"d",(function(){return i})),o.d(t,"c",(function(){return d})),o.d(t,"e",(function(){return u})),o.d(t,"f",(function(){return c})),o.d(t,"g",(function(){return b})),o.d(t,"h",(function(){return f})),o.d(t,"i",(function(){return v}));var n=o("./node_modules/@babel/runtime/helpers/asyncToGenerator.js"),a=o.n(n),r=o("./node_modules/@babel/runtime/regenerator/index.js"),l=o.n(r),c=function(t){return e.getTurboModule("demoTurbo").getString(t)},i=function(t){return e.getTurboModule("demoTurbo").getNum(t)},s=function(t){return e.getTurboModule("demoTurbo").getBoolean(t)},d=function(t){return e.getTurboModule("demoTurbo").getMap(t)},u=function(t){return e.getTurboModule("demoTurbo").getObject(t)},p=function(t){return e.getTurboModule("demoTurbo").getArray(t)},f=function(){var t=a()(l.a.mark((function t(o){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.turboPromise(e.getTurboModule("demoTurbo").nativeWithPromise)(o));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),b=function(){return e.getTurboModule("demoTurbo").getTurboConfig()},v=function(t){return e.getTurboModule("demoTurbo").printTurboConfig(t)}}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css")},"./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css")},"./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css")},"./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css")},"./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css")},"./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css")},"./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css")},"./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css")},"./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css")},"./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css")},"./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css")},"./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css")},"./src/main-native.ts":function(e,t,o){"use strict";o.r(t),function(e){var t=o("../../packages/hippy-vue-next/dist/index.js"),n=o("./src/app.vue"),a=o("./src/routes.ts"),r=o("./src/util.ts");e.Hippy.on("uncaughtException",(function(e){console.log("uncaughtException error",e.stack,e.message)})),e.Hippy.on("unhandledRejection",(function(e){console.log("unhandledRejection reason",e)}));var l=Object(t.createApp)(n.a,{appName:"Demo",iPhone:{statusBar:{backgroundColor:4283416717}},trimWhitespace:!0}),c=Object(a.a)();l.use(c),t.EventBus.$on("onSizeChanged",(function(e){e.width&&e.height&&Object(t.setScreenSize)({width:e.width,height:e.height})}));l.$start().then((function(e){var o=e.superProps,n=e.rootViewId;Object(r.b)({superProps:o,rootViewId:n}),c.push("/"),t.BackAndroid.addListener((function(){return console.log("backAndroid"),!0})),l.mount("#root")}))}.call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css")},"./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css")},"./src/routes.ts":function(e,t,o){"use strict";o.d(t,"a",(function(){return At}));var n=o("./node_modules/@babel/runtime/helpers/toConsumableArray.js"),a=o.n(n),r=o("./node_modules/@hippy/vue-router-next-history/dist/index.js"),l=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var c=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),i=Object(c.defineComponent)({setup(){var e=Object(c.ref)(!1),t=Object(c.ref)(!1),o=Object(c.ref)(!1);Object(c.onActivated)((function(){console.log("".concat(Date.now(),"-button-activated"))})),Object(c.onDeactivated)((function(){console.log("".concat(Date.now(),"-button-Deactivated"))}));return{isClicked:e,isPressing:t,isOnceClicked:o,onClickView:function(){e.value=!e.value},onTouchBtnStart:function(e){console.log("onBtnTouchDown",e)},onTouchBtnMove:function(e){console.log("onBtnTouchMove",e)},onTouchBtnEnd:function(e){console.log("onBtnTouchEnd",e)},onClickViewOnce:function(){o.value=!o.value}}}}),s=(o("./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js")),d=o.n(s);var u=d()(i,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{class:"button-demo"},[Object(l.g)("label",{class:"button-label"},"按钮和状态绑定"),Object(l.g)("button",{class:Object(l.o)([{"is-active":e.isClicked,"is-pressing":e.isPressing},"button-demo-1"]),onTouchstart:t[0]||(t[0]=Object(l.J)((function(){return e.onTouchBtnStart&&e.onTouchBtnStart.apply(e,arguments)}),["stop"])),onTouchmove:t[1]||(t[1]=Object(l.J)((function(){return e.onTouchBtnMove&&e.onTouchBtnMove.apply(e,arguments)}),["stop"])),onTouchend:t[2]||(t[2]=Object(l.J)((function(){return e.onTouchBtnEnd&&e.onTouchBtnEnd.apply(e,arguments)}),["stop"])),onClick:t[3]||(t[3]=function(){return e.onClickView&&e.onClickView.apply(e,arguments)})},[e.isClicked?(Object(l.t)(),Object(l.f)("span",{key:0,class:"button-text"},"视图已经被点击了,再点一下恢复")):(Object(l.t)(),Object(l.f)("span",{key:1,class:"button-text"},"视图尚未点击"))],34),Object(l.I)(Object(l.g)("img",{alt:"demo1-image",src:"https://user-images.githubusercontent.com/12878546/148737148-d0b227cb-69c8-4b21-bf92-739fb0c3f3aa.png",class:"button-demo-1-image"},null,512),[[l.F,e.isClicked]])])}],["__scopeId","data-v-05797918"]]),p=o("./node_modules/@babel/runtime/helpers/defineProperty.js"),f=o.n(p);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var t=1;t1&&(o.value.numberOfLines-=1)},incrementLine:function(){o.value.numberOfLines<6&&(o.value.numberOfLines+=1)},changeMode:function(e){o.value.ellipsizeMode=e},changeTextShadow:function(){n.value.textShadowOffsetX=t.value%2==1?10:1,n.value.textShadowColor=t.value%2==1?"red":"grey",t.value+=1},changeBreakStrategy:function(e){a.value=e}}}});o("./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css");var ie=d()(ce,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{class:"p-demo"},[Object(l.g)("div",null,[Object(l.g)("label",null,"不带样式:"),Object(l.g)("p",{class:"p-demo-content",onTouchstart:t[0]||(t[0]=Object(l.J)((function(){return e.onTouchTextStart&&e.onTouchTextStart.apply(e,arguments)}),["stop"])),onTouchmove:t[1]||(t[1]=Object(l.J)((function(){return e.onTouchTextMove&&e.onTouchTextMove.apply(e,arguments)}),["stop"])),onTouchend:t[2]||(t[2]=Object(l.J)((function(){return e.onTouchTextEnd&&e.onTouchTextEnd.apply(e,arguments)}),["stop"]))}," 这是最普通的一行文字 ",32),Object(l.g)("p",{class:"p-demo-content-status"}," 当前touch状态: "+Object(l.D)(e.labelTouchStatus),1),Object(l.g)("label",null,"颜色:"),Object(l.g)("p",{class:"p-demo-1 p-demo-content"}," 这行文字改变了颜色 "),Object(l.g)("label",null,"尺寸:"),Object(l.g)("p",{class:"p-demo-2 p-demo-content"}," 这行改变了大小 "),Object(l.g)("label",null,"粗体:"),Object(l.g)("p",{class:"p-demo-3 p-demo-content"}," 这行加粗了 "),Object(l.g)("label",null,"下划线:"),Object(l.g)("p",{class:"p-demo-4 p-demo-content"}," 这里有条下划线 "),Object(l.g)("label",null,"删除线:"),Object(l.g)("p",{class:"p-demo-5 p-demo-content"}," 这里有条删除线 "),Object(l.g)("label",null,"自定义字体:"),Object(l.g)("p",{class:"p-demo-6 p-demo-content"}," 腾讯字体 Hippy "),Object(l.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold"}}," 腾讯字体 Hippy 粗体 "),Object(l.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-style":"italic"}}," 腾讯字体 Hippy 斜体 "),Object(l.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold","font-style":"italic"}}," 腾讯字体 Hippy 粗斜体 "),Object(l.g)("label",null,"文字阴影:"),Object(l.g)("p",{class:"p-demo-7 p-demo-content",style:Object(l.p)(e.textShadow),onClick:t[3]||(t[3]=function(){return e.changeTextShadow&&e.changeTextShadow.apply(e,arguments)})}," 这里是文字灰色阴影,点击可改变颜色 ",4),Object(l.g)("label",null,"文本字符间距"),Object(l.g)("p",{class:"p-demo-8 p-demo-content",style:{"margin-bottom":"5px"}}," Text width letter-spacing -1 "),Object(l.g)("p",{class:"p-demo-9 p-demo-content",style:{"margin-top":"5px"}}," Text width letter-spacing 5 "),Object(l.g)("label",null,"字体 style:"),Object(l.g)("div",{class:"p-demo-content"},[Object(l.g)("p",{style:{"font-style":"normal"}}," font-style: normal "),Object(l.g)("p",{style:{"font-style":"italic"}}," font-style: italic "),Object(l.g)("p",null,"font-style: [not set]")]),Object(l.g)("label",null,"numberOfLines="+Object(l.D)(e.textMode.numberOfLines)+" | ellipsizeMode="+Object(l.D)(e.textMode.ellipsizeMode),1),Object(l.g)("div",{class:"p-demo-content"},[Object(l.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},[Object(l.g)("span",{style:{"font-size":"19px",color:"white"}},"先帝创业未半而中道崩殂,今天下三分,益州疲弊,此诚危急存亡之秋也。"),Object(l.g)("span",null,"然侍卫之臣不懈于内,忠志之士忘身于外者,盖追先帝之殊遇,欲报之于陛下也。")],8,["numberOfLines","ellipsizeMode"]),Object(l.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},Object(l.D)("line 1\n\nline 3\n\nline 5"),8,["numberOfLines","ellipsizeMode"]),Object(l.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5,fontSize:14}},[Object(l.g)("img",{style:{width:24,height:24},src:e.img1},null,8,["src"]),Object(l.g)("img",{style:{width:24,height:24},src:e.img2},null,8,["src"])],8,["numberOfLines","ellipsizeMode"]),Object(l.g)("div",{class:"button-bar"},[Object(l.g)("button",{class:"button",onClick:t[4]||(t[4]=function(){return e.incrementLine&&e.incrementLine.apply(e,arguments)})},[Object(l.g)("span",null,"加一行")]),Object(l.g)("button",{class:"button",onClick:t[5]||(t[5]=function(){return e.decrementLine&&e.decrementLine.apply(e,arguments)})},[Object(l.g)("span",null,"减一行")])]),Object(l.g)("div",{class:"button-bar"},[Object(l.g)("button",{class:"button",onClick:t[6]||(t[6]=function(){return e.changeMode("clip")})},[Object(l.g)("span",null,"clip")]),Object(l.g)("button",{class:"button",onClick:t[7]||(t[7]=function(){return e.changeMode("head")})},[Object(l.g)("span",null,"head")]),Object(l.g)("button",{class:"button",onClick:t[8]||(t[8]=function(){return e.changeMode("middle")})},[Object(l.g)("span",null,"middle")]),Object(l.g)("button",{class:"button",onClick:t[9]||(t[9]=function(){return e.changeMode("tail")})},[Object(l.g)("span",null,"tail")])])]),"android"===e.Platform?(Object(l.t)(),Object(l.f)("label",{key:0},"break-strategy="+Object(l.D)(e.breakStrategy),1)):Object(l.e)("v-if",!0),"android"===e.Platform?(Object(l.t)(),Object(l.f)("div",{key:1,class:"p-demo-content"},[Object(l.g)("p",{"break-strategy":e.breakStrategy,style:{borderWidth:1,borderColor:"gray"}},Object(l.D)(e.longText),9,["break-strategy"]),Object(l.g)("div",{class:"button-bar"},[Object(l.g)("button",{class:"button",onClick:t[10]||(t[10]=Object(l.J)((function(){return e.changeBreakStrategy("simple")}),["stop"]))},[Object(l.g)("span",null,"simple")]),Object(l.g)("button",{class:"button",onClick:t[11]||(t[11]=Object(l.J)((function(){return e.changeBreakStrategy("high_quality")}),["stop"]))},[Object(l.g)("span",null,"high_quality")]),Object(l.g)("button",{class:"button",onClick:t[12]||(t[12]=Object(l.J)((function(){return e.changeBreakStrategy("balanced")}),["stop"]))},[Object(l.g)("span",null,"balanced")])])])):Object(l.e)("v-if",!0),Object(l.g)("label",null,"vertical-align"),Object(l.g)("div",{class:"p-demo-content"},[Object(l.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img3},null,8,["src"]),Object(l.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img3},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img3},null,8,["src"]),Object(l.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img3},null,8,["src"]),Object(l.g)("span",{style:{"font-size":"16","vertical-align":"top"}},"字"),Object(l.g)("span",{style:{"font-size":"16","vertical-align":"middle"}},"字"),Object(l.g)("span",{style:{"font-size":"16","vertical-align":"baseline"}},"字"),Object(l.g)("span",{style:{"font-size":"16","vertical-align":"bottom"}},"字")]),"android"===e.Platform?(Object(l.t)(),Object(l.f)("p",{key:0}," legacy mode: ")):Object(l.e)("v-if",!0),"android"===e.Platform?(Object(l.t)(),Object(l.f)("p",{key:1,style:{lineHeight:"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(l.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"18",height:"12","vertical-alignment":"1"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"12","vertical-alignment":"2"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"36",height:"24","vertical-alignment":"3"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24",top:"-10"},src:e.img3},null,8,["src"]),Object(l.g)("img",{style:{width:"18",height:"12",top:"-5"},src:e.img3},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"12"},src:e.img3},null,8,["src"]),Object(l.g)("img",{style:{width:"36",height:"24",top:"5"},src:e.img3},null,8,["src"]),Object(l.g)("span",{style:{"font-size":"16"}},"字"),Object(l.g)("span",{style:{"font-size":"16"}},"字"),Object(l.g)("span",{style:{"font-size":"16"}},"字"),Object(l.g)("span",{style:{"font-size":"16"}},"字")])):Object(l.e)("v-if",!0)]),Object(l.g)("label",null,"tint-color & background-color"),Object(l.g)("div",{class:"p-demo-content"},[Object(l.g)("p",{style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(l.g)("span",{style:{"vertical-align":"middle","background-color":"#99f"}},"text")]),"android"===e.Platform?(Object(l.t)(),Object(l.f)("p",{key:0}," legacy mode: ")):Object(l.e)("v-if",!0),"android"===e.Platform?(Object(l.t)(),Object(l.f)("p",{key:1,style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(l.g)("img",{style:{width:"24",height:"24","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","background-color":"#ccc"},src:e.img2},null,8,["src"])])):Object(l.e)("v-if",!0)]),Object(l.g)("label",null,"margin"),Object(l.g)("div",{class:"p-demo-content"},[Object(l.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"top","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"baseline","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-align":"bottom","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])]),"android"===e.Platform?(Object(l.t)(),Object(l.f)("p",{key:0}," legacy mode: ")):Object(l.e)("v-if",!0),"android"===e.Platform?(Object(l.t)(),Object(l.f)("p",{key:1,style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(l.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-alignment":"1","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-alignment":"2","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(l.g)("img",{style:{width:"24",height:"24","vertical-alignment":"3","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])])):Object(l.e)("v-if",!0)])])])}],["__scopeId","data-v-34e2123c"]]);var se=Object(c.defineComponent)({setup:()=>({Platform:y.Native.Platform})});o("./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css");var de=d()(se,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{id:"shadow-demo"},["android"===e.Platform?(Object(l.t)(),Object(l.f)("div",{key:0,class:"no-offset-shadow-demo-cube-android"},[Object(l.g)("div",{class:"no-offset-shadow-demo-content-android"},[Object(l.g)("p",null,"没有偏移阴影样式")])])):Object(l.e)("v-if",!0),"ios"===e.Platform?(Object(l.t)(),Object(l.f)("div",{key:1,class:"no-offset-shadow-demo-cube-ios"},[Object(l.g)("div",{class:"no-offset-shadow-demo-content-ios"},[Object(l.g)("p",null,"没有偏移阴影样式")])])):Object(l.e)("v-if",!0),"android"===e.Platform?(Object(l.t)(),Object(l.f)("div",{key:2,class:"offset-shadow-demo-cube-android"},[Object(l.g)("div",{class:"offset-shadow-demo-content-android"},[Object(l.g)("p",null,"偏移阴影样式")])])):Object(l.e)("v-if",!0),"ios"===e.Platform?(Object(l.t)(),Object(l.f)("div",{key:3,class:"offset-shadow-demo-cube-ios"},[Object(l.g)("div",{class:"offset-shadow-demo-content-ios"},[Object(l.g)("p",null,"偏移阴影样式")])])):Object(l.e)("v-if",!0)])}],["__scopeId","data-v-19ab3f2d"]]);var ue=Object(c.defineComponent)({setup(){var e=Object(c.ref)("The quick brown fox jumps over the lazy dog,快灰狐狸跳过了懒 🐕。"),t=Object(c.ref)("simple");return{content:e,breakStrategy:t,Platform:y.Native.Platform,longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",contentSizeChange:function(e){console.log(e)},changeBreakStrategy:function(e){t.value=e}}}});o("./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css");var pe=d()(ue,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{id:"demo-textarea"},[Object(l.g)("label",null,"多行文本:"),Object(l.g)("textarea",{value:e.content,rows:10,placeholder:"多行文本编辑器",class:"textarea",onChange:t[0]||(t[0]=function(t){return e.content=t.value}),"on:contentSizeChange":t[1]||(t[1]=function(){return e.contentSizeChange&&e.contentSizeChange.apply(e,arguments)})},null,40,["value"]),Object(l.g)("div",{class:"output-container"},[Object(l.g)("p",{class:"output"}," 输入的文本为:"+Object(l.D)(e.content),1)]),"android"===e.Platform?(Object(l.t)(),Object(l.f)("label",{key:0},"break-strategy="+Object(l.D)(e.breakStrategy),1)):Object(l.e)("v-if",!0),"android"===e.Platform?(Object(l.t)(),Object(l.f)("div",{key:1},[Object(l.g)("textarea",{class:"textarea",defaultValue:e.longText,"break-strategy":e.breakStrategy},null,8,["defaultValue","break-strategy"]),Object(l.g)("div",{class:"button-bar"},[Object(l.g)("button",{class:"button",onClick:t[2]||(t[2]=function(){return e.changeBreakStrategy("simple")})},[Object(l.g)("span",null,"simple")]),Object(l.g)("button",{class:"button",onClick:t[3]||(t[3]=function(){return e.changeBreakStrategy("high_quality")})},[Object(l.g)("span",null,"high_quality")]),Object(l.g)("button",{class:"button",onClick:t[4]||(t[4]=function(){return e.changeBreakStrategy("balanced")})},[Object(l.g)("span",null,"balanced")])])])):Object(l.e)("v-if",!0)])}],["__scopeId","data-v-6d6167b3"]]);var fe=o("./src/components/demo/demoTurbo.ts"),be=Object(c.defineComponent)({setup(){var e=null,t=Object(c.ref)(""),o=function(){var o=I()(D.a.mark((function o(n){var a,r,l,c;return D.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if("nativeWithPromise"!==n){o.next=6;break}return o.next=3,Object(fe.h)("aaa");case 3:t.value=o.sent,o.next=7;break;case 6:"getTurboConfig"===n?(e=Object(fe.g)(),t.value="获取到config对象"):"printTurboConfig"===n?t.value=Object(fe.i)(null!==(a=e)&&void 0!==a?a:Object(fe.g)()):"getInfo"===n?t.value=(null!==(r=e)&&void 0!==r?r:Object(fe.g)()).getInfo():"setInfo"===n?((null!==(l=e)&&void 0!==l?l:Object(fe.g)()).setInfo("Hello World"),t.value="设置config信息成功"):(c={getString:function(){return Object(fe.f)("123")},getNum:function(){return Object(fe.d)(1024)},getBoolean:function(){return Object(fe.b)(!0)},getMap:function(){return Object(fe.c)(new Map([["a","1"],["b","2"]]))},getObject:function(){return Object(fe.e)({c:"3",d:"4"})},getArray:function(){return Object(fe.a)(["a","b","c"])}},t.value=c[n]());case 7:case"end":return o.stop()}}),o)})));return function(e){return o.apply(this,arguments)}}();return{result:t,funList:["getString","getNum","getBoolean","getMap","getObject","getArray","nativeWithPromise","getTurboConfig","printTurboConfig","getInfo","setInfo"],onTurboFunc:o}}});o("./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css");var ve=d()(be,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{class:"demo-turbo"},[Object(l.g)("span",{class:"result"},Object(l.D)(e.result),1),Object(l.g)("ul",{style:{flex:"1"}},[(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.funList,(function(t){return Object(l.t)(),Object(l.f)("li",{key:t,class:"cell"},[Object(l.g)("div",{class:"contentView"},[Object(l.g)("div",{class:"func-info"},[Object(l.g)("span",{numberOfLines:0},"函数名:"+Object(l.D)(t),1)]),Object(l.g)("span",{class:"action-button",onClick:Object(l.J)((function(){return e.onTurboFunc(t)}),["stop"])},"运行",8,["onClick"])])])})),128))])])}]]);var ye=null,me=Object(c.ref)([]),ge=function(e){me.value.unshift(e)},he=function(){ye&&1===ye.readyState&&ye.close()},je=Object(c.defineComponent)({setup(){var e=Object(c.ref)(null),t=Object(c.ref)(null);return{output:me,inputUrl:e,inputMessage:t,connect:function(){var t=e.value;t&&t.getValue().then((function(e){!function(e){he(),(ye=new WebSocket(e)).onopen=function(){var e;return ge("[Opened] ".concat(null===(e=ye)||void 0===e?void 0:e.url))},ye.onclose=function(){var e;return ge("[Closed] ".concat(null===(e=ye)||void 0===e?void 0:e.url))},ye.onerror=function(e){ge("[Error] ".concat(e.reason))},ye.onmessage=function(e){return ge("[Received] ".concat(e.data))}}(e)}))},disconnect:function(){he()},sendMessage:function(){var e=t.value;e&&e.getValue().then((function(e){!function(e){ge("[Sent] ".concat(e)),ye&&ye.send(e)}(e)}))}}}});o("./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css");var Oe={demoDiv:{name:"div 组件",component:E},demoShadow:{name:"box-shadow",component:de},demoP:{name:"p 组件",component:ie},demoButton:{name:"button 组件",component:u},demoImg:{name:"img 组件",component:U},demoInput:{name:"input 组件",component:J},demoTextarea:{name:"textarea 组件",component:pe},demoUl:{name:"ul/li 组件",component:le},demoIFrame:{name:"iframe 组件",component:R},demoWebSocket:{name:"WebSocket",component:d()(je,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{id:"websocket-demo"},[Object(l.g)("div",null,[Object(l.g)("p",{class:"demo-title"}," Url: "),Object(l.g)("input",{ref:"inputUrl",value:"wss://echo.websocket.org"},null,512),Object(l.g)("div",{class:"row"},[Object(l.g)("button",{onClick:t[0]||(t[0]=Object(l.J)((function(){return e.connect&&e.connect.apply(e,arguments)}),["stop"]))},[Object(l.g)("span",null,"Connect")]),Object(l.g)("button",{onClick:t[1]||(t[1]=Object(l.J)((function(){return e.disconnect&&e.disconnect.apply(e,arguments)}),["stop"]))},[Object(l.g)("span",null,"Disconnect")])])]),Object(l.g)("div",null,[Object(l.g)("p",{class:"demo-title"}," Message: "),Object(l.g)("input",{ref:"inputMessage",value:"Rock it with Hippy WebSocket"},null,512),Object(l.g)("button",{onClick:t[2]||(t[2]=Object(l.J)((function(){return e.sendMessage&&e.sendMessage.apply(e,arguments)}),["stop"]))},[Object(l.g)("span",null,"Send")])]),Object(l.g)("div",null,[Object(l.g)("p",{class:"demo-title"}," Log: "),Object(l.g)("div",{class:"output fullscreen"},[Object(l.g)("div",null,[(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.output,(function(e,t){return Object(l.t)(),Object(l.f)("p",{key:t},Object(l.D)(e),1)})),128))])])])])}],["__scopeId","data-v-99a0fc74"]])},demoDynamicImport:{name:"DynamicImport",component:V},demoTurbo:{name:"Turbo",component:ve}};var _e=Object(c.defineComponent)({setup(){var e=Object(c.ref)(null),t=Object(c.ref)(0),o=Object(c.ref)(0);Object(c.onMounted)((function(){o.value=y.Native.Dimensions.screen.width}));return{demoOnePointRef:e,demon2Left:t,screenWidth:o,onTouchDown1:function(t){var n=t.touches[0].clientX-40;console.log("touchdown x",n,o.value),e.value&&e.value.setNativeProps({style:{left:n}})},onTouchDown2:function(e){t.value=e.touches[0].clientX-40,console.log("touchdown x",t.value,o.value)},onTouchMove1:function(t){var n=t.touches[0].clientX-40;console.log("touchmove x",n,o.value),e.value&&e.value.setNativeProps({style:{left:n}})},onTouchMove2:function(e){t.value=e.touches[0].clientX-40,console.log("touchmove x",t.value,o.value)}}}});o("./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css");var xe=d()(_e,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{class:"set-native-props-demo"},[Object(l.g)("label",null,"setNativeProps实现拖动效果"),Object(l.g)("div",{class:"native-demo-1-drag",style:Object(l.p)({width:e.screenWidth}),onTouchstart:t[0]||(t[0]=Object(l.J)((function(){return e.onTouchDown1&&e.onTouchDown1.apply(e,arguments)}),["stop"])),onTouchmove:t[1]||(t[1]=Object(l.J)((function(){return e.onTouchMove1&&e.onTouchMove1.apply(e,arguments)}),["stop"]))},[Object(l.g)("div",{ref:"demoOnePointRef",class:"native-demo-1-point"},null,512)],36),Object(l.g)("div",{class:"splitter"}),Object(l.g)("label",null,"普通渲染实现拖动效果"),Object(l.g)("div",{class:"native-demo-2-drag",style:Object(l.p)({width:e.screenWidth}),onTouchstart:t[2]||(t[2]=Object(l.J)((function(){return e.onTouchDown2&&e.onTouchDown2.apply(e,arguments)}),["stop"])),onTouchmove:t[3]||(t[3]=Object(l.J)((function(){return e.onTouchMove2&&e.onTouchMove2.apply(e,arguments)}),["stop"]))},[Object(l.g)("div",{class:"native-demo-2-point",style:Object(l.p)({left:e.demon2Left+"px"})},null,4)],36)])}],["__scopeId","data-v-4521f010"]]);var we={backgroundColor:[{startValue:"#40b883",toValue:"yellow",valueType:"color",duration:1e3,delay:0,mode:"timing",timingFunction:"linear"},{startValue:"yellow",toValue:"#40b883",duration:1e3,valueType:"color",delay:0,mode:"timing",timingFunction:"linear",repeatCount:-1}]},Se=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:function(){}}},setup:()=>({colorActions:we})});o("./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css");var Ae=d()(Se,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("animation");return Object(l.t)(),Object(l.f)("div",null,[Object(l.i)(c,{ref:"animationView",playing:e.playing,actions:e.colorActions,class:"color-green"},{default:Object(l.H)((function(){return[Object(l.g)("div",{class:"color-white"},[Object(l.y)(e.$slots,"default",{},void 0,!0)])]})),_:3},8,["playing","actions"])])}],["__scopeId","data-v-35b77823"]]);var ke={transform:{translateX:[{startValue:50,toValue:150,duration:1e3,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"},{startValue:150,toValue:50,duration:1e3,repeatCount:-1,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"}]}},Ce=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:function(){}}},setup(e){var t=Object(c.ref)(null);return Object(c.onMounted)((function(){e.onRef&&e.onRef(t.value)})),{animationView:t,loopActions:ke}}});o("./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css");var Pe=d()(Ce,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("animation");return Object(l.t)(),Object(l.f)("div",null,[Object(l.i)(c,{ref:"animationView",playing:e.playing,actions:e.loopActions,class:"loop-green"},{default:Object(l.H)((function(){return[Object(l.g)("div",{class:"loop-white"},[Object(l.y)(e.$slots,"default",{},void 0,!0)])]})),_:3},8,["playing","actions"])])}],["__scopeId","data-v-0ffc52dc"]]);var Ee={transform:{translateX:{startValue:0,toValue:200,duration:2e3,repeatCount:-1}}},Te={transform:{translateY:{startValue:0,toValue:50,duration:2e3,repeatCount:-1}}},Ie=Object(c.defineComponent)({props:{playing:Boolean,direction:{type:String,default:""},onRef:{type:Function,default:function(){}}},emits:["actionsDidUpdate"],setup(e){var t=Object(c.toRefs)(e).direction,o=Object(c.ref)(""),n=Object(c.ref)(null);return Object(c.watch)(t,(function(e){switch(e){case"horizon":o.value=Ee;break;case"vertical":o.value=Te;break;default:throw new Error("direction must be defined in props")}}),{immediate:!0}),Object(c.onMounted)((function(){e.onRef&&e.onRef(n.value)})),{loopActions:o,animationLoop:n}}});o("./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css");var Le=d()(Ie,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("animation");return Object(l.t)(),Object(l.f)("div",null,[Object(l.i)(c,{ref:"animationLoop",playing:e.playing,actions:e.loopActions,class:"loop-green",onActionsDidUpdate:t[0]||(t[0]=function(t){return e.$emit("actionsDidUpdate")})},{default:Object(l.H)((function(){return[Object(l.g)("div",{class:"loop-white"},[Object(l.y)(e.$slots,"default",{},void 0,!0)])]})),_:3},8,["playing","actions"])])}],["__scopeId","data-v-54047ca5"]]);var De={transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},He={transform:{translateX:[{startValue:10,toValue:1,duration:250,timingFunction:"linear"},{startValue:1,toValue:10,duration:250,delay:750,timingFunction:"linear",repeatCount:-1}]}},Ve=Object(c.defineComponent)({props:{isChanged:{type:Boolean,default:!0}},setup(e){var t=Object(c.ref)(null),o=Object(c.ref)({face:De,downVoteFace:{left:[{startValue:16,toValue:10,delay:250,duration:125},{startValue:10,toValue:24,duration:250},{startValue:24,toValue:10,duration:250},{startValue:10,toValue:16,duration:125}],transform:{scale:[{startValue:1,toValue:1.3,duration:250,timingFunction:"linear"},{startValue:1.3,toValue:1,delay:750,duration:250,timingFunction:"linear"}]}}}),n=Object(c.toRefs)(e).isChanged;return Object(c.watch)(n,(function(e,n){!n&&e?(console.log("changed to face2"),o.value.face=He):n&&!e&&(console.log("changed to face1"),o.value.face=De),setTimeout((function(){t.value&&t.value.start()}),10)})),{animationRef:t,imgs:{downVoteFace:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAXVBMVEUAAACmaCCoaSKlZyCmaCCoaiG0byOlZyCmaCGnaSKmaCCmZyClZyCmaCCmaSCybyymZyClaCGlaCGnaCCnaSGnaiOlZyKocCXMmTOmaCKnaCKmaSClZyGoZyClZyDPYmTmAAAAHnRSTlMA6S/QtjYO+FdJ4tyZbWYH7cewgTw5JRQFkHFfXk8vbZ09AAAAiUlEQVQY07WQRxLDMAhFPyq21dxLKvc/ZoSiySTZ+y3g8YcFA5wFcOkHYEi5QDkknparH5EZKS6GExQLs0RzUQUY6VYiK2ayNIapQ6EjNk2xd616Bi5qIh2fn8BqroS1XtPmgYKXxo+y07LuDrH95pm3LBM5FMpHWg2osOOLjRR6hR/WOw780bwASN0IT3NosMcAAAAASUVORK5CYII="},animations:o,animationStart:function(){console.log("animation-start callback")},animationEnd:function(){console.log("animation-end callback")},animationRepeat:function(){console.log("animation-repeat callback")},animationCancel:function(){console.log("animation-cancel callback")}}}});o("./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css");var Ye=d()(Ve,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("animation");return Object(l.t)(),Object(l.f)("div",null,[Object(l.i)(c,{ref:"animationRef",actions:e.animations.face,class:"vote-face",playing:"",onStart:e.animationStart,onEnd:e.animationEnd,onRepeat:e.animationRepeat,onCancel:e.animationCancel},null,8,["actions","onStart","onEnd","onRepeat","onCancel"]),Object(l.i)(c,{tag:"img",class:"vote-down-face",playing:"",props:{src:e.imgs.downVoteFace},actions:e.animations.downVoteFace},null,8,["props","actions"])])}],["__scopeId","data-v-7020ef76"]]);var Re=Object(c.defineComponent)({setup:()=>({imgs:{upVoteEye:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAFCAYAAABIHbx0AAAAAXNSR0IArs4c6QAAAQdJREFUGBljZACCVeVK/L8//m9i/P/flIGR8ZgwD2+9e8+lryA5dLCzRI/77ZfPjQz//1v9Z2Q8zcrPWBfWee8j45mZxqw3z709BdRgANPEyMhwLFIiwZaxoeEfTAxE/29oYFr+YsHh//8ZrJDEL6gbCZsxO8pwJP9nYEhFkgAxZS9/vXxj3Zn3V5DF1TQehwNdUogsBmRLvH/x4zHLv///PRgZGH/9Z2TYzsjAANT4Xxko6c/A8M8DSK9A1sQIFPvPwPibkeH/VmAQXAW6TAWo3hdkBgsTE9Pa/2z/s6In3n8J07SsWE2E4esfexgfRgMt28rBwVEZPOH6c5jYqkJtod/ff7gBAOnFYtdEXHPzAAAAAElFTkSuQmCC",upVoteMouth:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAARCAMAAACLgl7OAAAA4VBMVEUAAACobCawciy0f0OmaSOmaSKlaCCmZyCmaCGpayO2hEmpbiq3hUuweTqscjCmaCGmZyCmZyClaCCmaCCmaSGoaCL///+vdzimaCGmaCKmaSKlZyGmaCGmaCGnaCGnaCGnaCGmaCKscCW/gEDDmmm9j1m6ilSnaSOmaSGqcCylZyGrcCymZyClaCGnaCKmaSCqaiumbyH///+lZyDTtJDawKLLp37XupmyfT/+/v3o18XfybDJo3jBlWP8+vf48+z17uXv49bq3Mv28Ony6N3x59zbwqXSs5DQsIrNqoK5h0+BlvpqAAAAMnRSTlMA/Qv85uChjIMl/f38/Pv4zq6nl04wAfv18tO7tXx0Y1tGEQT+/v3b1q+Ui35sYj8YF964s/kAAADySURBVCjPddLHVsJgEIbhL6QD6Qldqr2bgfTQ7N7/Bckv6omYvItZPWcWcwbTC+f6dqLWcFBNvRsPZekKNeKI1RFMS3JkRZEdyTKFDrEaNACMt3i9TcP3KOLb+g5zepuPoiBMk6elr0mAkPlfBQs253M2F4G/j5OBPl8NNjQGhrSqBCHdAx6lleCkB6AlNqvAho6wa0RJBTjuThmYifVlKUjYApZLWRl41M9/7qtQ+B+sml0V37VsCuID8KwZE+BXKFTPiyB75QQPxVyR+Jf1HsTbvEH2A/42G50Raaf1j7zZIMPyUJJ6Y/d7ojm4dAvf8QkUbUjwOwWDwQAAAABJRU5ErkJggg=="},animations:{face:{transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},upVoteEye:{top:[{startValue:14,toValue:8,delay:250,duration:125},{startValue:8,toValue:14,duration:250},{startValue:14,toValue:8,duration:250},{startValue:8,toValue:14,duration:125}],transform:{scale:[{startValue:1.2,toValue:1.4,duration:250,timingFunction:"linear"},{startValue:1.4,toValue:1.2,delay:750,duration:250,timingFunction:"linear"}]}},upVoteMouth:{bottom:[{startValue:9,toValue:14,delay:250,duration:125},{startValue:14,toValue:9,duration:250},{startValue:9,toValue:14,duration:250},{startValue:14,toValue:9,duration:125}],transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,delay:750,duration:250,timingFunction:"linear"}],scaleY:[{startValue:.725,delay:250,toValue:1.45,duration:125},{startValue:1.45,toValue:.87,duration:250},{startValue:.87,toValue:1.45,duration:250},{startValue:1.45,toValue:1,duration:125}]}}}})});o("./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css");var Be=d()(Re,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("animation");return Object(l.t)(),Object(l.f)("div",null,[Object(l.i)(c,{actions:e.animations.face,class:"vote-face",playing:""},null,8,["actions"]),Object(l.i)(c,{tag:"img",class:"vote-up-eye",playing:"",props:{src:e.imgs.upVoteEye},actions:e.animations.upVoteEye},null,8,["props","actions"]),Object(l.i)(c,{tag:"img",class:"vote-up-mouth",playing:"",props:{src:e.imgs.upVoteMouth},actions:e.animations.upVoteMouth},null,8,["props","actions"])])}],["__scopeId","data-v-0dd85e5f"]]),Ne=Object(c.defineComponent)({components:{Loop:Le,colorComponent:Ae,CubicBezier:Pe},setup(){var e=Object(c.ref)(!0),t=Object(c.ref)(!0),o=Object(c.ref)(!0),n=Object(c.ref)("horizon"),a=Object(c.ref)(!0),r=Object(c.ref)(null),l=Object(c.shallowRef)(Be);return{loopPlaying:e,colorPlaying:t,cubicPlaying:o,direction:n,voteComponent:l,colorComponent:Ae,isChanged:a,animationRef:r,voteUp:function(){l.value=Be},voteDown:function(){l.value=Ye,a.value=!a.value},onRef:function(e){r.value=e},toggleLoopPlaying:function(){e.value=!e.value},toggleColorPlaying:function(){t.value=!t.value},toggleCubicPlaying:function(){o.value=!o.value},toggleDirection:function(){n.value="horizon"===n.value?"vertical":"horizon"},actionsDidUpdate:function(){Object(c.nextTick)().then((function(){console.log("actions updated & startAnimation"),r.value&&r.value.start()}))}}}});o("./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css");var Me=d()(Ne,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("loop"),i=Object(l.z)("color-component"),s=Object(l.z)("cubic-bezier");return Object(l.t)(),Object(l.f)("ul",{id:"animation-demo"},[Object(l.g)("li",null,[Object(l.g)("label",null,"控制动画"),Object(l.g)("div",{class:"toolbar"},[Object(l.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=function(){return e.toggleLoopPlaying&&e.toggleLoopPlaying.apply(e,arguments)})},[e.loopPlaying?(Object(l.t)(),Object(l.f)("span",{key:0},"暂停")):(Object(l.t)(),Object(l.f)("span",{key:1},"播放"))]),Object(l.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=function(){return e.toggleDirection&&e.toggleDirection.apply(e,arguments)})},["horizon"===e.direction?(Object(l.t)(),Object(l.f)("span",{key:0},"切换为纵向")):(Object(l.t)(),Object(l.f)("span",{key:1},"切换为横向"))])]),Object(l.g)("div",{style:{height:"150px"}},[Object(l.i)(c,{playing:e.loopPlaying,direction:e.direction,"on-ref":e.onRef,onActionsDidUpdate:e.actionsDidUpdate},{default:Object(l.H)((function(){return[Object(l.g)("p",null,"I'm a looping animation")]})),_:1},8,["playing","direction","on-ref","onActionsDidUpdate"])])]),Object(l.g)("li",null,[Object(l.g)("div",{style:{"margin-top":"10px"}}),Object(l.g)("label",null,"点赞笑脸动画:"),Object(l.g)("div",{class:"toolbar"},[Object(l.g)("button",{class:"toolbar-btn",onClick:t[2]||(t[2]=function(){return e.voteUp&&e.voteUp.apply(e,arguments)})},[Object(l.g)("span",null,"点赞 👍")]),Object(l.g)("button",{class:"toolbar-btn",onClick:t[3]||(t[3]=function(){return e.voteDown&&e.voteDown.apply(e,arguments)})},[Object(l.g)("span",null,"踩 👎")])]),Object(l.g)("div",{class:"vote-face-container center"},[(Object(l.t)(),Object(l.d)(Object(l.A)(e.voteComponent),{class:"vote-icon","is-changed":e.isChanged},null,8,["is-changed"]))])]),Object(l.g)("li",null,[Object(l.g)("div",{style:{"margin-top":"10px"}}),Object(l.g)("label",null,"渐变色动画"),Object(l.g)("div",{class:"toolbar"},[Object(l.g)("button",{class:"toolbar-btn",onClick:t[4]||(t[4]=function(){return e.toggleColorPlaying&&e.toggleColorPlaying.apply(e,arguments)})},[e.colorPlaying?(Object(l.t)(),Object(l.f)("span",{key:0},"暂停")):(Object(l.t)(),Object(l.f)("span",{key:1},"播放"))])]),Object(l.g)("div",null,[Object(l.i)(i,{playing:e.colorPlaying},{default:Object(l.H)((function(){return[Object(l.g)("p",null,"背景色渐变")]})),_:1},8,["playing"])])]),Object(l.g)("li",null,[Object(l.g)("div",{style:{"margin-top":"10px"}}),Object(l.g)("label",null,"贝塞尔曲线动画"),Object(l.g)("div",{class:"toolbar"},[Object(l.g)("button",{class:"toolbar-btn",onClick:t[5]||(t[5]=function(){return e.toggleCubicPlaying&&e.toggleCubicPlaying.apply(e,arguments)})},[e.cubicPlaying?(Object(l.t)(),Object(l.f)("span",{key:0},"暂停")):(Object(l.t)(),Object(l.f)("span",{key:1},"播放"))])]),Object(l.g)("div",null,[Object(l.i)(s,{playing:e.cubicPlaying},{default:Object(l.H)((function(){return[Object(l.g)("p",null,"cubic-bezier(.45,2.84,.38,.5)")]})),_:1},8,["playing"])])])])}],["__scopeId","data-v-4fa3f0c0"]]);var Ue=o("./node_modules/vue-router/dist/vue-router.mjs"),ze=["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"],Fe=Object(c.defineComponent)({setup(){var e=Object(c.ref)(!1),t=Object(c.ref)(!1),o=Object(c.ref)("fade"),n=Object(c.ref)(!1),a=Object(c.ref)(!1),r=Object(c.ref)(!1);return Object(Ue.onBeforeRouteLeave)((function(t,o,n){e.value||n()})),{supportedOrientations:ze,dialogIsVisible:e,dialog2IsVisible:t,dialogAnimationType:o,immersionStatusBar:n,autoHideStatusBar:a,autoHideNavigationBar:r,stopPropagation:function(e){e.stopPropagation()},onClose:function(o){o.stopPropagation(),t.value?t.value=!1:e.value=!1,console.log("Dialog is closing")},onShow:function(){console.log("Dialog is opening")},onClickView:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e.value=!e.value,o.value=t},onClickOpenSecond:function(e){e.stopPropagation(),t.value=!t.value},onClickDialogConfig:function(e){switch(e){case"hideStatusBar":a.value=!a.value;break;case"immerseStatusBar":n.value=!n.value;break;case"hideNavigationBar":r.value=!r.value}}}}});o("./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css");var We=d()(Fe,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{id:"dialog-demo"},[Object(l.g)("label",null,"显示或者隐藏对话框:"),Object(l.g)("button",{class:"dialog-demo-button-1",onClick:t[0]||(t[0]=Object(l.J)((function(){return e.onClickView("slide")}),["stop"]))},[Object(l.g)("span",{class:"button-text"},"显示对话框--slide")]),Object(l.g)("button",{class:"dialog-demo-button-1",onClick:t[1]||(t[1]=Object(l.J)((function(){return e.onClickView("fade")}),["stop"]))},[Object(l.g)("span",{class:"button-text"},"显示对话框--fade")]),Object(l.g)("button",{class:"dialog-demo-button-1",onClick:t[2]||(t[2]=Object(l.J)((function(){return e.onClickView("slide_fade")}),["stop"]))},[Object(l.g)("span",{class:"button-text"},"显示对话框--slide_fade")]),Object(l.g)("button",{style:Object(l.p)([{borderColor:e.autoHideStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[3]||(t[3]=Object(l.J)((function(){return e.onClickDialogConfig("hideStatusBar")}),["stop"]))},[Object(l.g)("span",{class:"button-text"},"隐藏状态栏")],4),Object(l.g)("button",{style:Object(l.p)([{borderColor:e.immersionStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[4]||(t[4]=Object(l.J)((function(){return e.onClickDialogConfig("immerseStatusBar")}),["stop"]))},[Object(l.g)("span",{class:"button-text"},"沉浸式状态栏")],4),Object(l.g)("button",{style:Object(l.p)([{borderColor:e.autoHideNavigationBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[5]||(t[5]=Object(l.J)((function(){return e.onClickDialogConfig("hideNavigationBar")}),["stop"]))},[Object(l.g)("span",{class:"button-text"},"隐藏导航栏")],4),Object(l.e)(" dialog can't support v-show, can only use v-if for explicit switching "),e.dialogIsVisible?(Object(l.t)(),Object(l.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,supportedOrientations:e.supportedOrientations,immersionStatusBar:e.immersionStatusBar,autoHideStatusBar:e.autoHideStatusBar,autoHideNavigationBar:e.autoHideNavigationBar,onShow:t[11]||(t[11]=function(){return e.onShow&&e.onShow.apply(e,arguments)}),"on:requestClose":t[12]||(t[12]=function(){return e.onClose&&e.onClose.apply(e,arguments)})},[Object(l.e)(" dialog on iOS platform can only have one child node "),Object(l.g)("div",{class:"dialog-demo-wrapper"},[Object(l.g)("div",{class:"fullscreen center row",onClick:t[10]||(t[10]=function(){return e.onClickView&&e.onClickView.apply(e,arguments)})},[Object(l.g)("div",{class:"dialog-demo-close-btn center column",onClick:t[7]||(t[7]=function(){return e.stopPropagation&&e.stopPropagation.apply(e,arguments)})},[Object(l.g)("p",{class:"dialog-demo-close-btn-text"}," 点击空白区域关闭 "),Object(l.g)("button",{class:"dialog-demo-button-2",onClick:t[6]||(t[6]=function(){return e.onClickOpenSecond&&e.onClickOpenSecond.apply(e,arguments)})},[Object(l.g)("span",{class:"button-text"},"点击打开二级全屏弹窗")])]),e.dialog2IsVisible?(Object(l.t)(),Object(l.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,"on:requestClose":t[9]||(t[9]=function(){return e.onClose&&e.onClose.apply(e,arguments)})},[Object(l.g)("div",{class:"dialog-2-demo-wrapper center column row",onClick:t[8]||(t[8]=function(){return e.onClickOpenSecond&&e.onClickOpenSecond.apply(e,arguments)})},[Object(l.g)("p",{class:"dialog-demo-close-btn-text",style:{color:"white"}}," Hello 我是二级全屏弹窗,点击任意位置关闭。 ")])],40,["animationType"])):Object(l.e)("v-if",!0)])])],40,["animationType","supportedOrientations","immersionStatusBar","autoHideStatusBar","autoHideNavigationBar"])):Object(l.e)("v-if",!0)])}],["__scopeId","data-v-cfef1922"]]);var Ge,Ke=o("./src/util.ts"),Je=Object(c.defineComponent)({setup(){var e=Object(c.ref)("ready to set"),t=Object(c.ref)(""),o=Object(c.ref)("ready to set"),n=Object(c.ref)(""),a=Object(c.ref)(""),r=Object(c.ref)("正在获取..."),l=Object(c.ref)(""),i=Object(c.ref)(""),s=Object(c.ref)(""),d=Object(c.ref)(null),u=Object(c.ref)("请求网址中..."),p=Object(c.ref)("ready to set"),f=Object(c.ref)(""),b=Object(c.ref)(0),v=function(){var e=I()(D.a.mark((function e(){var t;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y.Native.AsyncStorage.getItem("itemKey");case 2:t=e.sent,n.value=t||"undefined";case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),m=function(){var e=I()(D.a.mark((function e(){var t;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y.Native.ImageLoader.getSize("https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png");case 2:t=e.sent,console.log("ImageLoader getSize",t),a.value="".concat(t.width,"x").concat(t.height);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=function(){var e=I()(D.a.mark((function e(){var o;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y.Native.Clipboard.getString();case 2:o=e.sent,t.value=o||"undefined";case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=function(){var e=I()(D.a.mark((function e(){var t,o,n=arguments;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]&&n[0],e.prev=1,e.next=4,y.Native.getBoundingClientRect(d.value,{relToContainer:t});case 4:o=e.sent,t?i.value="".concat(JSON.stringify(o)):l.value="".concat(JSON.stringify(o)),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error("getBoundingClientRect error",e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}();return Object(c.onMounted)((function(){s.value=JSON.stringify(Object(Ke.a)()),y.Native.NetInfo.fetch().then((function(e){r.value=e})),Ge=y.Native.NetInfo.addEventListener("change",(function(e){r.value="收到通知: ".concat(e.network_info)})),fetch("https://hippyjs.org",{mode:"no-cors"}).then((function(e){u.value="成功状态: ".concat(e.status)})).catch((function(e){u.value="收到错误: ".concat(e)})),y.EventBus.$on("testEvent",(function(){b.value+=1}))})),{Native:y.Native,rect1:l,rect2:i,rectRef:d,storageValue:n,storageSetStatus:o,clipboardString:e,clipboardValue:t,imageSize:a,netInfoText:r,superProps:s,fetchText:u,cookieString:p,cookiesValue:f,getSize:m,setItem:function(){y.Native.AsyncStorage.setItem("itemKey","hippy"),o.value='set "hippy" value succeed'},getItem:v,removeItem:function(){y.Native.AsyncStorage.removeItem("itemKey"),o.value='remove "hippy" value succeed'},setString:function(){y.Native.Clipboard.setString("hippy"),e.value='clipboard set "hippy" value succeed'},getString:g,setCookie:function(){y.Native.Cookie.set("https://hippyjs.org","name=hippy;network=mobile"),p.value="'name=hippy;network=mobile' is set"},getCookie:function(){y.Native.Cookie.getAll("https://hippyjs.org").then((function(e){f.value=e}))},getBoundingClientRect:h,triggerAppEvent:function(){y.EventBus.$emit("testEvent")},eventTriggeredTimes:b}},beforeDestroy(){Ge&&y.Native.NetInfo.removeEventListener("change",Ge),y.EventBus.$off("testEvent")}});o("./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css");var qe=d()(Je,[["render",function(e,t,o,n,a,r){var c,i;return Object(l.t)(),Object(l.f)("div",{id:"demo-vue-native",ref:"rectRef"},[Object(l.g)("div",null,[Object(l.e)(" platform "),e.Native.Platform?(Object(l.t)(),Object(l.f)("div",{key:0,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Platform"),Object(l.g)("p",null,Object(l.D)(e.Native.Platform),1)])):Object(l.e)("v-if",!0),Object(l.e)(" device name "),Object(l.g)("div",{class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Device"),Object(l.g)("p",null,Object(l.D)(e.Native.Device),1)]),Object(l.e)(" Is it an iPhone X "),e.Native.isIOS()?(Object(l.t)(),Object(l.f)("div",{key:1,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.isIPhoneX"),Object(l.g)("p",null,Object(l.D)(e.Native.isIPhoneX),1)])):Object(l.e)("v-if",!0),Object(l.e)(" OS version, currently only available for iOS, other platforms return null "),e.Native.isIOS()?(Object(l.t)(),Object(l.f)("div",{key:2,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.OSVersion"),Object(l.g)("p",null,Object(l.D)(e.Native.OSVersion||"null"),1)])):Object(l.e)("v-if",!0),Object(l.e)(" Internationalization related information "),Object(l.g)("div",{class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Localization"),Object(l.g)("p",null,Object(l.D)("国际化相关信息")),Object(l.g)("p",null,Object(l.D)("国家 ".concat(null===(c=e.Native.Localization)||void 0===c?void 0:c.country)),1),Object(l.g)("p",null,Object(l.D)("语言 ".concat(null===(i=e.Native.Localization)||void 0===i?void 0:i.language)),1),Object(l.g)("p",null,Object(l.D)("方向 ".concat(1===e.Native.Localization.direction?"RTL":"LTR")),1)]),Object(l.e)(" API version, currently only available for Android, other platforms return null "),e.Native.isAndroid()?(Object(l.t)(),Object(l.f)("div",{key:3,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.APILevel"),Object(l.g)("p",null,Object(l.D)(e.Native.APILevel||"null"),1)])):Object(l.e)("v-if",!0),Object(l.e)(" Whether the screen is vertically displayed "),Object(l.g)("div",{class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.screenIsVertical"),Object(l.g)("p",null,Object(l.D)(e.Native.screenIsVertical),1)]),Object(l.e)(" width of window "),e.Native.Dimensions.window.width?(Object(l.t)(),Object(l.f)("div",{key:4,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.width"),Object(l.g)("p",null,Object(l.D)(e.Native.Dimensions.window.width),1)])):Object(l.e)("v-if",!0),Object(l.e)(" The height of the window, it should be noted that both platforms include the status bar. "),Object(l.e)(" Android will start drawing from the first pixel below the status bar. "),e.Native.Dimensions.window.height?(Object(l.t)(),Object(l.f)("div",{key:5,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.height"),Object(l.g)("p",null,Object(l.D)(e.Native.Dimensions.window.height),1)])):Object(l.e)("v-if",!0),Object(l.e)(" width of screen "),e.Native.Dimensions.screen.width?(Object(l.t)(),Object(l.f)("div",{key:6,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.width"),Object(l.g)("p",null,Object(l.D)(e.Native.Dimensions.screen.width),1)])):Object(l.e)("v-if",!0),Object(l.e)(" height of screen "),e.Native.Dimensions.screen.height?(Object(l.t)(),Object(l.f)("div",{key:7,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.height"),Object(l.g)("p",null,Object(l.D)(e.Native.Dimensions.screen.height),1)])):Object(l.e)("v-if",!0),Object(l.e)(" the pt value of a pixel "),Object(l.g)("div",{class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.OnePixel"),Object(l.g)("p",null,Object(l.D)(e.Native.OnePixel),1)]),Object(l.e)(" Android Navigation Bar Height "),e.Native.Dimensions.screen.navigatorBarHeight?(Object(l.t)(),Object(l.f)("div",{key:8,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight"),Object(l.g)("p",null,Object(l.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(l.e)("v-if",!0),Object(l.e)(" height of status bar "),e.Native.Dimensions.screen.statusBarHeight?(Object(l.t)(),Object(l.f)("div",{key:9,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.statusBarHeight"),Object(l.g)("p",null,Object(l.D)(e.Native.Dimensions.screen.statusBarHeight),1)])):Object(l.e)("v-if",!0),Object(l.e)(" android virtual navigation bar height "),e.Native.isAndroid()&&void 0!==e.Native.Dimensions.screen.navigatorBarHeight?(Object(l.t)(),Object(l.f)("div",{key:10,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight(Android only)"),Object(l.g)("p",null,Object(l.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(l.e)("v-if",!0),Object(l.e)(" The startup parameters passed from the native "),e.superProps?(Object(l.t)(),Object(l.f)("div",{key:11,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"afterCallback of $start method contain superProps"),Object(l.g)("p",null,Object(l.D)(e.superProps),1)])):Object(l.e)("v-if",!0),Object(l.e)(" A demo of Native Event,Just show how to use "),Object(l.g)("div",{class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"App event"),Object(l.g)("div",null,[Object(l.g)("button",{class:"event-btn",onClick:t[0]||(t[0]=function(){return e.triggerAppEvent&&e.triggerAppEvent.apply(e,arguments)})},[Object(l.g)("span",{class:"event-btn-text"},"Trigger app event")]),Object(l.g)("div",{class:"event-btn-result"},[Object(l.g)("p",null,"Event triggered times: "+Object(l.D)(e.eventTriggeredTimes),1)])])]),Object(l.e)(" example of measuring the size of an element "),Object(l.g)("div",{ref:"measure-block",class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.getBoundingClientRect"),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[1]||(t[1]=function(){return e.getBoundingClientRect(!1)})},[Object(l.g)("span",null,"relative to App")]),Object(l.g)("span",{style:{"max-width":"200px"}},Object(l.D)(e.rect1),1)]),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[2]||(t[2]=function(){return e.getBoundingClientRect(!0)})},[Object(l.g)("span",null,"relative to Container")]),Object(l.g)("span",{style:{"max-width":"200px"}},Object(l.D)(e.rect2),1)])],512),Object(l.e)(" local storage "),e.Native.AsyncStorage?(Object(l.t)(),Object(l.f)("div",{key:12,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"AsyncStorage 使用"),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[3]||(t[3]=function(){return e.setItem&&e.setItem.apply(e,arguments)})},[Object(l.g)("span",null,"setItem")]),Object(l.g)("span",null,Object(l.D)(e.storageSetStatus),1)]),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[4]||(t[4]=function(){return e.removeItem&&e.removeItem.apply(e,arguments)})},[Object(l.g)("span",null,"removeItem")]),Object(l.g)("span",null,Object(l.D)(e.storageSetStatus),1)]),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[5]||(t[5]=function(){return e.getItem&&e.getItem.apply(e,arguments)})},[Object(l.g)("span",null,"getItem")]),Object(l.g)("span",null,Object(l.D)(e.storageValue),1)])])):Object(l.e)("v-if",!0),Object(l.e)(" ImageLoader "),e.Native.ImageLoader?(Object(l.t)(),Object(l.f)("div",{key:13,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"ImageLoader 使用"),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[6]||(t[6]=function(){return e.getSize&&e.getSize.apply(e,arguments)})},[Object(l.g)("span",null,"getSize")]),Object(l.g)("span",null,Object(l.D)(e.imageSize),1)])])):Object(l.e)("v-if",!0),Object(l.e)(" Fetch "),Object(l.g)("div",{class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Fetch 使用"),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("span",null,Object(l.D)(e.fetchText),1)])]),Object(l.e)(" network info "),e.Native.NetInfo?(Object(l.t)(),Object(l.f)("div",{key:14,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"NetInfo 使用"),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("span",null,Object(l.D)(e.netInfoText),1)])])):Object(l.e)("v-if",!0),Object(l.e)(" Cookie "),e.Native.Cookie?(Object(l.t)(),Object(l.f)("div",{key:15,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Cookie 使用"),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[7]||(t[7]=function(){return e.setCookie&&e.setCookie.apply(e,arguments)})},[Object(l.g)("span",null,"setCookie")]),Object(l.g)("span",null,Object(l.D)(e.cookieString),1)]),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[8]||(t[8]=function(){return e.getCookie&&e.getCookie.apply(e,arguments)})},[Object(l.g)("span",null,"getCookie")]),Object(l.g)("span",null,Object(l.D)(e.cookiesValue),1)])])):Object(l.e)("v-if",!0),Object(l.e)(" Clipboard "),e.Native.Clipboard?(Object(l.t)(),Object(l.f)("div",{key:16,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Clipboard 使用"),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[9]||(t[9]=function(){return e.setString&&e.setString.apply(e,arguments)})},[Object(l.g)("span",null,"setString")]),Object(l.g)("span",null,Object(l.D)(e.clipboardString),1)]),Object(l.g)("div",{class:"item-wrapper"},[Object(l.g)("button",{class:"item-button",onClick:t[10]||(t[10]=function(){return e.getString&&e.getString.apply(e,arguments)})},[Object(l.g)("span",null,"getString")]),Object(l.g)("span",null,Object(l.D)(e.clipboardValue),1)])])):Object(l.e)("v-if",!0),Object(l.e)(" iOS platform "),e.Native.isIOS()?(Object(l.t)(),Object(l.f)("div",{key:17,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.isIOS"),Object(l.g)("p",null,Object(l.D)(e.Native.isIOS()),1)])):Object(l.e)("v-if",!0),Object(l.e)(" Android platform "),e.Native.isAndroid()?(Object(l.t)(),Object(l.f)("div",{key:18,class:"native-block"},[Object(l.g)("label",{class:"vue-native-title"},"Native.isAndroid"),Object(l.g)("p",null,Object(l.D)(e.Native.isAndroid()),1)])):Object(l.e)("v-if",!0)])],512)}],["__scopeId","data-v-ad452900"]]);var Qe="https://user-images.githubusercontent.com/12878546/148736841-59ce5d1c-8010-46dc-8632-01c380159237.jpg",Xe={style:1,itemBean:{title:"非洲总统出行真大牌,美制武装直升机和中国潜艇为其保驾",picList:[Qe,Qe,Qe],subInfo:["三图评论","11评"]}},Ze={style:2,itemBean:{title:"彼得·泰尔:认知未来是投资人的谋生之道",picUrl:"https://user-images.githubusercontent.com/12878546/148736850-4fc13304-25d4-4b6a-ada3-cbf0745666f5.jpg",subInfo:["左文右图"]}},$e={style:5,itemBean:{title:"愤怒!美官员扬言:“不让中国拿走南海的岛屿,南海岛礁不属于中国”?",picUrl:"https://user-images.githubusercontent.com/12878546/148736859-29e3a5b2-612a-4fdd-ad21-dc5d29fa538f.jpg",subInfo:["六眼神魔 5234播放"]}},et=[$e,Xe,Ze,Xe,Ze,Xe,Ze,$e,Xe];var tt=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:function(){}}}});var ot=d()(tt,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{class:"list-view-item style-one"},[Object(l.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(l.D)(e.itemBean.title),1),Object(l.g)("div",{class:"style-one-image-container"},[(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.itemBean.picList,(function(e,t){return Object(l.t)(),Object(l.f)("img",{key:t,src:e,alt:"",class:"image style-one-image"},null,8,["src"])})),128))]),Object(l.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(l.g)("p",{class:"normal-text"},Object(l.D)(e.itemBean.subInfo.join("")),1)])])}]]);var nt=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:function(){}}}});var at=d()(nt,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{class:"list-view-item style-two"},[Object(l.g)("div",{class:"style-two-left-container"},[Object(l.g)("p",{class:"article-title",numberOfLines:2,enableScale:!0},Object(l.D)(e.itemBean.title),1),Object(l.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(l.g)("p",{class:"normal-text"},Object(l.D)(e.itemBean.subInfo.join("")),1)])]),Object(l.g)("div",{class:"style-two-image-container"},[Object(l.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image style-two-image"},null,8,["src"])])])}]]);var rt=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:function(){}}}});var lt=d()(rt,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{class:"list-view-item style-five"},[Object(l.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(l.D)(e.itemBean.title),1),Object(l.g)("div",{class:"style-five-image-container"},[Object(l.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image"},null,8,["src"])]),Object(l.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(l.g)("p",{class:"normal-text"},Object(l.D)(e.itemBean.subInfo.join(" ")),1)])])}]]),ct=0,it=Object(c.ref)({top:0,left:0}),st=function(){var e=I()(D.a.mark((function e(){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){setTimeout((function(){return e(et)}),800)})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),dt=Object(c.defineComponent)({components:{StyleOne:ot,StyleTwo:at,StyleFive:lt},setup(){var e=Object(c.ref)(null),t=Object(c.ref)(null),o=Object(c.ref)(null),n=Object(c.ref)(a()(et)),r=!1,l=!1,i=Object(c.ref)(""),s=Object(c.ref)("继续下拉触发刷新"),d=Object(c.ref)("正在加载..."),u=function(){var e=I()(D.a.mark((function e(){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=2;break}return e.abrupt("return");case 2:return l=!0,console.log("onHeaderReleased"),s.value="刷新数据中,请稍等",e.next=7,st();case 7:n.value=e.sent,n.value=n.value.reverse(),l=!1,s.value="2秒后收起",t.value&&t.value.collapsePullHeader({time:2e3});case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=I()(D.a.mark((function e(t){var l;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("endReached",t),!r){e.next=3;break}return e.abrupt("return");case 3:return r=!0,d.value="加载更多...",e.next=7,st();case 7:0===(l=e.sent).length&&(d.value="没有更多数据"),n.value=[].concat(a()(n.value),a()(l)),r=!1,o.value&&o.value.collapsePullFooter();case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(c.onMounted)((function(){r=!1,l=!1,n.value=a()(et),ct=null!==y.Native&&void 0!==y.Native&&y.Native.Dimensions?y.Native.Dimensions.window.height:window.innerHeight,t.value&&t.value.collapsePullHeader({time:2e3})})),{loadingState:i,dataSource:n,headerRefreshText:s,footerRefreshText:d,list:e,pullHeader:t,pullFooter:o,onEndReached:p,onHeaderReleased:u,onHeaderIdle:function(){},onHeaderPulling:function(e){l||(console.log("onHeaderPulling",e.contentOffset),e.contentOffset>30?s.value="松手,即可触发刷新":s.value="继续下拉,触发刷新")},onFooterIdle:function(){},onFooterPulling:function(e){console.log("onFooterPulling",e)},onScroll:function(e){e.stopPropagation(),it.value={top:e.offsetY,left:e.offsetX}},scrollToNextPage:function(){if(y.Native){if(e.value){var t=e.value;console.log("scroll to next page",e,it.value,ct);var o=it.value.top+ct-200;t.scrollTo({left:it.value.left,top:o,behavior:"auto",duration:200})}}else alert("This method is only supported in Native environment.")},scrollToBottom:function(){if(y.Native){if(e.value){var t=e.value;t.scrollToIndex(0,t.childNodes.length-1)}}else alert("This method is only supported in Native environment.")}}}});o("./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css");var ut=d()(dt,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("pull-header"),i=Object(l.z)("style-one"),s=Object(l.z)("style-two"),d=Object(l.z)("style-five"),u=Object(l.z)("pull-footer");return Object(l.t)(),Object(l.f)("div",{id:"demo-pull-header-footer","specital-attr":"pull-header-footer"},[Object(l.g)("div",{class:"toolbar"},[Object(l.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=function(){return e.scrollToNextPage&&e.scrollToNextPage.apply(e,arguments)})},[Object(l.g)("span",null,"翻到下一页")]),Object(l.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=function(){return e.scrollToBottom&&e.scrollToBottom.apply(e,arguments)})},[Object(l.g)("span",null,"翻动到底部")]),Object(l.g)("p",{class:"toolbar-text"}," 列表元素数量:"+Object(l.D)(e.dataSource.length),1)]),Object(l.g)("ul",{id:"list",ref:"list",numberOfRows:e.dataSource.length,rowShouldSticky:!0,onScroll:t[2]||(t[2]=function(){return e.onScroll&&e.onScroll.apply(e,arguments)})},[Object(l.h)(" /** * 下拉组件 * * 事件: * idle: 滑动距离在 pull-header 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-header 后触发一次,参数 contentOffset,滑动距离 * refresh: 滑动超出距离,松手后触发一次 */ "),Object(l.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(l.H)((function(){return[Object(l.g)("p",{class:"ul-refresh-text"},Object(l.D)(e.headerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"]),(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.dataSource,(function(e,t){return Object(l.t)(),Object(l.f)("li",{key:t,class:"item-style",type:"row-"+e.style,sticky:0===t},[1===e.style?(Object(l.t)(),Object(l.d)(i,{key:0,"item-bean":e.itemBean},null,8,["item-bean"])):Object(l.e)("v-if",!0),2===e.style?(Object(l.t)(),Object(l.d)(s,{key:1,"item-bean":e.itemBean},null,8,["item-bean"])):Object(l.e)("v-if",!0),5===e.style?(Object(l.t)(),Object(l.d)(d,{key:2,"item-bean":e.itemBean},null,8,["item-bean"])):Object(l.e)("v-if",!0)],8,["type","sticky"])})),128)),Object(l.h)(" /** * 上拉组件 * > 如果不需要显示加载情况,可以直接使用 ul 的 onEndReached 实现一直加载 * * 事件: * idle: 滑动距离在 pull-footer 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-footer 后触发一次,参数 contentOffset,滑动距离 * released: 滑动超出距离,松手后触发一次 */ "),Object(l.i)(u,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(l.H)((function(){return[Object(l.g)("p",{class:"pull-footer-text"},Object(l.D)(e.footerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"])],40,["numberOfRows"])])}],["__scopeId","data-v-52ecb6dc"]]);var pt=Object(c.defineComponent)({setup(){var e=Object(c.ref)("idle"),t=Object(c.ref)(2),o=Object(c.ref)(2);return{dataSource:new Array(7).fill(0).map((function(e,t){return t})),currentSlide:t,currentSlideNum:o,state:e,scrollToNextPage:function(){console.log("scroll next",t.value,o.value),t.value<7?t.value=o.value+1:t.value=0},scrollToPrevPage:function(){console.log("scroll prev",t.value,o.value),0===t.value?t.value=6:t.value=o.value-1},onDragging:function(e){console.log("Current offset is",e.offset,"and will into slide",e.nextSlide+1)},onDropped:function(e){console.log("onDropped",e),o.value=e.currentSlide},onStateChanged:function(t){console.log("onStateChanged",t),e.value=t.state}}}});o("./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css");var ft=d()(pt,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("swiper-slide"),i=Object(l.z)("swiper");return Object(l.t)(),Object(l.f)("div",{id:"demo-swiper"},[Object(l.g)("div",{class:"toolbar"},[Object(l.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=function(){return e.scrollToPrevPage&&e.scrollToPrevPage.apply(e,arguments)})},[Object(l.g)("span",null,"翻到上一页")]),Object(l.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=function(){return e.scrollToNextPage&&e.scrollToNextPage.apply(e,arguments)})},[Object(l.g)("span",null,"翻到下一页")]),Object(l.g)("p",{class:"toolbar-text"}," 当前第 "+Object(l.D)(e.currentSlideNum+1)+" 页 ",1)]),Object(l.e)('\n swiper 组件参数\n @param {Number} currentSlide 当前页面,也可以直接修改它改变当前页码,默认 0\n @param {Boolean} needAnimation 是否需要动画,如果切换时不要动画可以设置为 :needAnimation="false",默认为 true\n @param {Function} dragging 当拖拽时执行回调,参数是个 Event,包含 offset 拖拽偏移值和 nextSlide 将进入的页码\n @param {Function} dropped 结束拖拽时回调,参数是个 Event,包含 currentSlide 最后选择的页码\n '),Object(l.i)(i,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,onDragging:e.onDragging,onDropped:e.onDropped,onStateChanged:e.onStateChanged},{default:Object(l.H)((function(){return[Object(l.e)(" slides "),(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.dataSource,(function(e){return Object(l.t)(),Object(l.d)(c,{key:e,style:Object(l.p)({backgroundColor:4278222848+100*e})},{default:Object(l.H)((function(){return[Object(l.g)("p",null,"I'm Slide "+Object(l.D)(e+1),1)]})),_:2},1032,["style"])})),128))]})),_:1},8,["current","onDragging","onDropped","onStateChanged"]),Object(l.e)(" A Demo of dots "),Object(l.g)("div",{id:"swiper-dots"},[(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.dataSource,(function(t){return Object(l.t)(),Object(l.f)("div",{key:t,class:Object(l.o)(["dot",{hightlight:e.currentSlideNum===t}])},null,2)})),128))])])}]]);var bt=0,vt={top:0,left:5,bottom:0,right:5},yt="ios"===y.Native.Platform,mt=function(){var e=I()(D.a.mark((function e(){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){setTimeout((function(){return e((bt+=1)>=50?[]:[].concat(a()(et),a()(et)))}),600)})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),gt=Object(c.defineComponent)({components:{StyleOne:ot,StyleTwo:at,StyleFive:lt},setup(){var e=Object(c.ref)([].concat(a()(et),a()(et),a()(et),a()(et))),t=!1,o=!1,n=Object(c.ref)(!1),r=Object(c.ref)("正在加载..."),l=Object(c.ref)(null),i=Object(c.ref)(null),s="继续下拉触发刷新",d="正在加载...",u=Object(c.computed)((function(){return n.value?"正在刷新":"下拉刷新"})),p=Object(c.ref)(null),f=Object(c.ref)(null),b=Object(c.computed)((function(){return(y.Native.Dimensions.screen.width-vt.left-vt.right-6)/2})),v=function(){var t=I()(D.a.mark((function t(){var o;return D.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.value=!0,t.next=3,mt();case 3:o=t.sent,n.value=!1,e.value=o.reverse(),f.value&&f.value.refreshCompleted();case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),m=function(){var e=I()(D.a.mark((function e(){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o){e.next=2;break}return e.abrupt("return");case 2:o=!0,console.log("onHeaderReleased"),s="刷新数据中,请稍等",o=!1,s="2秒后收起",l.value&&l.value.collapsePullHeader({time:2e3});case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=function(){var o=I()(D.a.mark((function o(){var n;return D.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(console.log("end Reached"),!t){o.next=3;break}return o.abrupt("return");case 3:return t=!0,d="加载更多...",o.next=7,mt();case 7:0===(n=o.sent).length&&(d="没有更多数据"),e.value=[].concat(a()(e.value),a()(n)),t=!1,i.value&&i.value.collapsePullFooter();case 12:case"end":return o.stop()}}),o)})));return function(){return o.apply(this,arguments)}}();return{dataSource:e,isRefreshing:n,refreshText:u,STYLE_LOADING:100,loadingState:r,header:f,gridView:p,contentInset:vt,columnSpacing:6,interItemSpacing:6,numberOfColumns:2,itemWidth:b,onScroll:function(e){console.log("waterfall onScroll",e)},onRefresh:v,onEndReached:g,onClickItem:function(e){p.value&&p.value.scrollToIndex({index:e,animation:!0})},isIos:yt,onHeaderPulling:function(e){o||(console.log("onHeaderPulling",e.contentOffset),s=e.contentOffset>30?"松手,即可触发刷新":"继续下拉,触发刷新")},onFooterPulling:function(e){console.log("onFooterPulling",e)},onHeaderIdle:function(){},onFooterIdle:function(){},onHeaderReleased:m,headerRefreshText:s,footerRefreshText:d,loadMoreDataFlag:t,pullHeader:l,pullFooter:i}}});o("./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css");var ht=d()(gt,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("pull-header"),i=Object(l.z)("waterfall-item"),s=Object(l.z)("style-one"),d=Object(l.z)("style-two"),u=Object(l.z)("style-five"),p=Object(l.z)("pull-footer"),f=Object(l.z)("waterfall");return Object(l.t)(),Object(l.f)("div",{id:"demo-waterfall"},[Object(l.i)(f,{ref:"gridView","content-inset":e.contentInset,"column-spacing":e.columnSpacing,"contain-banner-view":!0,"contain-pull-footer":!0,"inter-item-spacing":e.interItemSpacing,"number-of-columns":e.numberOfColumns,"preload-item-number":4,style:{flex:1},onEndReached:e.onEndReached,onScroll:e.onScroll},{default:Object(l.H)((function(){return[Object(l.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(l.H)((function(){return[Object(l.g)("p",{class:"ul-refresh-text"},Object(l.D)(e.headerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"]),e.isIos?(Object(l.t)(),Object(l.f)("div",{key:0,class:"banner-view"},[Object(l.g)("span",null,"BannerView")])):(Object(l.t)(),Object(l.d)(i,{key:1,"full-span":!0,class:"banner-view"},{default:Object(l.H)((function(){return[Object(l.g)("span",null,"BannerView")]})),_:1})),(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.dataSource,(function(t,o){return Object(l.t)(),Object(l.d)(i,{key:o,style:Object(l.p)({width:e.itemWidth}),type:t.style,onClick:Object(l.J)((function(){return e.onClickItem(o)}),["stop"])},{default:Object(l.H)((function(){return[1===t.style?(Object(l.t)(),Object(l.d)(s,{key:0,"item-bean":t.itemBean},null,8,["item-bean"])):Object(l.e)("v-if",!0),2===t.style?(Object(l.t)(),Object(l.d)(d,{key:1,"item-bean":t.itemBean},null,8,["item-bean"])):Object(l.e)("v-if",!0),5===t.style?(Object(l.t)(),Object(l.d)(u,{key:2,"item-bean":t.itemBean},null,8,["item-bean"])):Object(l.e)("v-if",!0)]})),_:2},1032,["style","type","onClick"])})),128)),Object(l.i)(p,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(l.H)((function(){return[Object(l.g)("p",{class:"pull-footer-text"},Object(l.D)(e.footerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"])]})),_:1},8,["content-inset","column-spacing","inter-item-spacing","number-of-columns","onEndReached","onScroll"])])}],["__scopeId","data-v-8b6764ca"]]);var jt=Object(c.defineComponent)({setup(){var e=Object(c.ref)(0),t=Object(c.ref)(0);return{layoutHeight:e,currentSlide:t,onLayout:function(t){e.value=t.height},onTabClick:function(e){t.value=e-1},onDropped:function(e){t.value=e.currentSlide}}}});o("./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css");var Ot={demoNative:{name:"Native 能力",component:qe},demoAnimation:{name:"animation 组件",component:Me},demoDialog:{name:"dialog 组件",component:We},demoSwiper:{name:"swiper 组件",component:ft},demoPullHeaderFooter:{name:"pull header/footer 组件",component:ut},demoWaterfall:{name:"waterfall 组件",component:ht},demoNestedScroll:{name:"nested scroll 示例",component:d()(jt,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("swiper-slide"),i=Object(l.z)("swiper");return Object(l.t)(),Object(l.f)("div",{id:"demo-wrap",onLayout:t[0]||(t[0]=function(){return e.onLayout&&e.onLayout.apply(e,arguments)})},[Object(l.g)("div",{id:"demo-content"},[Object(l.g)("div",{id:"banner"}),Object(l.g)("div",{id:"tabs"},[(Object(l.t)(),Object(l.f)(l.a,null,Object(l.x)(2,(function(t){return Object(l.g)("p",{key:"tab"+t,class:Object(l.o)(e.currentSlide===t-1?"selected":""),onClick:function(o){return e.onTabClick(t)}}," tab "+Object(l.D)(t)+" "+Object(l.D)(1===t?"(parent first)":"(self first)"),11,["onClick"])})),64))]),Object(l.i)(i,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,style:Object(l.p)({height:e.layoutHeight-80}),onDropped:e.onDropped},{default:Object(l.H)((function(){return[Object(l.i)(c,{key:"slide1"},{default:Object(l.H)((function(){return[Object(l.g)("ul",{nestedScrollTopPriority:"parent"},[(Object(l.t)(),Object(l.f)(l.a,null,Object(l.x)(30,(function(e){return Object(l.g)("li",{key:"item"+e,class:Object(l.o)(e%2?"item-even":"item-odd")},[Object(l.g)("p",null,"Item "+Object(l.D)(e),1)],2)})),64))])]})),_:1}),Object(l.i)(c,{key:"slide2"},{default:Object(l.H)((function(){return[Object(l.g)("ul",{nestedScrollTopPriority:"self"},[(Object(l.t)(),Object(l.f)(l.a,null,Object(l.x)(30,(function(e){return Object(l.g)("li",{key:"item"+e,class:Object(l.o)(e%2?"item-even":"item-odd")},[Object(l.g)("p",null,"Item "+Object(l.D)(e),1)],2)})),64))])]})),_:1})]})),_:1},8,["current","style","onDropped"])])],32)}],["__scopeId","data-v-72406cea"]])},demoSetNativeProps:{name:"setNativeProps",component:xe}};var _t=Object(c.defineComponent)({name:"App",setup(){var e=Object.keys(Oe).map((function(e){return{id:e,name:Oe[e].name}})),t=Object.keys(Ot).map((function(e){return{id:e,name:Ot[e].name}}));return Object(c.onMounted)((function(){})),{featureList:e,nativeFeatureList:t,version:c.version,Native:y.Native}}});o("./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css");var xt=d()(_t,[["render",function(e,t,o,n,a,r){var c=Object(l.z)("router-link");return Object(l.t)(),Object(l.f)("ul",{class:"feature-list"},[Object(l.g)("li",null,[Object(l.g)("div",{id:"version-info"},[Object(l.g)("p",{class:"feature-title"}," Vue: "+Object(l.D)(e.version),1),e.Native?(Object(l.t)(),Object(l.f)("p",{key:0,class:"feature-title"}," Hippy-Vue-Next: "+Object(l.D)("unspecified"!==e.Native.version?e.Native.version:"master"),1)):Object(l.e)("v-if",!0)])]),Object(l.g)("li",null,[Object(l.g)("p",{class:"feature-title"}," 浏览器组件 Demos ")]),(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.featureList,(function(e){return Object(l.t)(),Object(l.f)("li",{key:e.id,class:"feature-item"},[Object(l.i)(c,{to:{path:"/demo/".concat(e.id)},class:"button"},{default:Object(l.H)((function(){return[Object(l.h)(Object(l.D)(e.name),1)]})),_:2},1032,["to"])])})),128)),e.nativeFeatureList.length?(Object(l.t)(),Object(l.f)("li",{key:0},[Object(l.g)("p",{class:"feature-title",paintType:"fcp"}," 终端组件 Demos ")])):Object(l.e)("v-if",!0),(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.nativeFeatureList,(function(e){return Object(l.t)(),Object(l.f)("li",{key:e.id,class:"feature-item"},[Object(l.i)(c,{to:{path:"/demo/".concat(e.id)},class:"button"},{default:Object(l.H)((function(){return[Object(l.h)(Object(l.D)(e.name),1)]})),_:2},1032,["to"])])})),128))])}],["__scopeId","data-v-63300fa4"]]);var wt=Object(c.defineComponent)({setup(){var e=Object(c.ref)("http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy"),t=Object(c.ref)(null);return{bundleUrl:e,styles:{tipText:{color:"#242424",marginBottom:12},button:{width:200,height:40,borderRadius:8,backgroundColor:"#4c9afa",alignItems:"center",justifyContent:"center"},buttonText:{fontSize:16,textAlign:"center",lineHeight:40,color:"#fff"},buttonContainer:{alignItems:"center",justifyContent:"center"}},tips:["安装远程调试依赖: npm i -D @hippy/debug-server-next@latest","修改 webpack 配置,添加远程调试地址","运行 npm run hippy:dev 开始编译,编译结束后打印出 bundleUrl 及调试首页地址","粘贴 bundleUrl 并点击开始按钮","访问调试首页开始远程调试,远程调试支持热更新(HMR)"],inputRef:t,blurInput:function(){t.value&&t.value.blur()},openBundle:function(){if(e.value){var t=Object(Ke.a)().rootViewId;y.Native.callNative("TestModule","remoteDebug",t,e.value)}}}}});o("./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css");var St=[{path:"/",component:xt},{path:"/remote-debug",component:d()(wt,[["render",function(e,t,o,n,a,r){return Object(l.t)(),Object(l.f)("div",{ref:"inputDemo",class:"demo-remote-input",onClick:t[2]||(t[2]=Object(l.J)((function(){return e.blurInput&&e.blurInput.apply(e,arguments)}),["stop"]))},[Object(l.g)("div",{class:"tips-wrap"},[(Object(l.t)(!0),Object(l.f)(l.a,null,Object(l.x)(e.tips,(function(t,o){return Object(l.t)(),Object(l.f)("p",{key:o,class:"tips-item",style:Object(l.p)(e.styles.tipText)},Object(l.D)(o+1)+". "+Object(l.D)(t),5)})),128))]),Object(l.g)("input",{ref:"inputRef",value:e.bundleUrl,"caret-color":"yellow",placeholder:"please input bundleUrl",multiple:!0,numberOfLines:"4",class:"remote-input",onClick:Object(l.J)((function(){}),["stop"]),onChange:t[0]||(t[0]=function(t){return e.bundleUrl=t.value})},null,40,["value"]),Object(l.g)("div",{class:"buttonContainer",style:Object(l.p)(e.styles.buttonContainer)},[Object(l.g)("button",{style:Object(l.p)(e.styles.button),class:"input-button",onClick:t[1]||(t[1]=Object(l.J)((function(){return e.openBundle&&e.openBundle.apply(e,arguments)}),["stop"]))},[Object(l.g)("span",{style:Object(l.p)(e.styles.buttonText)},"开始",4)],4)],4)],512)}],["__scopeId","data-v-c92250fe"]]),name:"Debug"}].concat(a()(Object.keys(Oe).map((function(e){return{path:"/demo/".concat(e),name:Oe[e].name,component:Oe[e].component}}))),a()(Object.keys(Ot).map((function(e){return{path:"/demo/".concat(e),name:Ot[e].name,component:Ot[e].component}}))));function At(){return Object(r.createHippyRouter)({routes:St})}},"./src/util.ts":function(e,t,o){"use strict";var n;function a(e){n=e}function r(){return n}o.d(t,"b",(function(){return a})),o.d(t,"a",(function(){return r}))},0:function(e,t,o){o("./node_modules/@hippy/rejection-tracking-polyfill/index.js"),e.exports=o("./src/main-native.ts")},"dll-reference hippyVueBase":function(e,t){e.exports=hippyVueBase}}); \ No newline at end of file +function o(e,t){var n=new Set(e.split(","));return t?function(e){return n.has(e.toLowerCase())}:function(e){return n.has(e)}}var r={},a=function(){},i=function(e){return 111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)},c=function(e){return e.startsWith("onUpdate:")},l=Object.assign,u=(Object.prototype.hasOwnProperty,Array.isArray),s=function(e){return"[object Set]"===m(e)},d=function(e){return"[object Date]"===m(e)},f=function(e){return"function"==typeof e},b=function(e){return"string"==typeof e},p=function(e){return"symbol"==typeof e},g=function(e){return null!==e&&"object"==typeof e},v=Object.prototype.toString,m=function(e){return v.call(e)},h=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},O=/-(\w)/g,j=h((function(e){return e.replace(O,(function(e,t){return t?t.toUpperCase():""}))})),y=/\B([A-Z])/g,w=h((function(e){return e.replace(y,"-$1").toLowerCase()})),A=h((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),x=(h((function(e){return e?"on".concat(A(e)):""})),function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n2&&void 0!==arguments[2]?arguments[2]:"/",r={},a="",i="",c=t.indexOf("#"),l=t.indexOf("?");return c=0&&(l=-1),l>-1&&(n=t.slice(0,l),r=e(a=t.slice(l+1,c>-1?c:t.length))),c>-1&&(n=n||t.slice(0,c),i=t.slice(c,t.length)),{fullPath:(n=H(null!=n?n:t,o))+(a&&"?")+a+i,path:n,query:r,hash:E(i)}}function R(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function B(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function L(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!M(e[n],t[n]))return!1;return!0}function M(e,t){return b(e)?N(e,t):b(t)?N(t,e):e===t}function N(e,t){return b(t)?e.length===t.length&&e.every((function(e,n){return e===t[n]})):1===e.length&&e[0]===t}function H(e,t){if(e.startsWith("/"))return e;if(!e)return t;var n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");var a,i,c=n.length-1;for(a=0;a1&&c--}return n.slice(0,c).join("/")+"/"+o.slice(a).join("/")}var V,z,F={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};!function(e){e.pop="pop",e.push="push"}(V||(V={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(z||(z={}));function U(e){if(!e)if(l){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(P,"")}var Y=/^[^#]+#/;function W(e,t){return e.replace(Y,"#")+t}var G=function(){return{left:window.scrollX,top:window.scrollY}};function K(e){var t;if("el"in e){var n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){var n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function J(e,t){return(history.state?history.state.position-t:-1)+e}var q=new Map;var Q=function(){return location.protocol+"//"+location.host};function X(e,t){var n=t.pathname,o=t.search,r=t.hash,a=e.indexOf("#");if(a>-1){var i=r.includes(e.slice(a))?e.slice(a).length:1,c=r.slice(i);return"/"!==c[0]&&(c="/"+c),R(c,"")}return R(n,e)+o+r}function Z(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?G():null}}function $(e){var t=function(e){var t=window,n=t.history,o=t.location,r={value:X(e,o)},a={value:n.state};function i(t,r,i){var c=e.indexOf("#"),l=c>-1?(o.host&&document.querySelector("base")?e:e.slice(c))+t:Q()+e+t;try{n[i?"replaceState":"pushState"](r,"",l),a.value=r}catch(e){console.error(e),o[i?"replace":"assign"](l)}}return a.value||i(r.value,{back:null,current:r.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:r,state:a,push:function(e,t){var o=s({},a.value,n.state,{forward:e,scroll:G()});i(o.current,o,!0),i(e,s({},Z(r.value,e,null),{position:o.position+1},t),!1),r.value=e},replace:function(e,t){i(e,s({},n.state,Z(a.value.back,e,a.value.forward,!0),t,{position:a.value.position}),!0),r.value=e}}}(e=U(e)),n=function(e,t,n,o){var r=[],a=[],c=null,l=function(a){var i=a.state,l=X(e,location),u=n.value,s=t.value,d=0;if(i){if(n.value=l,t.value=i,c&&c===u)return void(c=null);d=s?i.position-s.position:0}else o(l);r.forEach((function(e){e(n.value,u,{delta:d,type:V.pop,direction:d?d>0?z.forward:z.back:z.unknown})}))};function u(){var e=window.history;e.state&&e.replaceState(s({},e.state,{scroll:G()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:function(){c=n.value},listen:function(e){r.push(e);var t=function(){var t=r.indexOf(e);t>-1&&r.splice(t,1)};return a.push(t),t},destroy:function(){var e,t=i(a);try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(e){t.e(e)}finally{t.f()}a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}}}(e,t.state,t.location,t.replace);var o=s({location:"",base:e,go:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t||n.pauseListeners(),history.go(e)},createHref:W.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:function(){return t.location.value}}),Object.defineProperty(o,"state",{enumerable:!0,get:function(){return t.state.value}}),o}function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[],n=[""],o=0;function r(e){++o!==n.length&&n.splice(o),n.push(e)}function a(e,n,o){for(var r={direction:o.direction,delta:o.delta,type:V.pop},a=0,i=t;a(t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}),destroy(){t=[],n=[""],o=0},go(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.location,i=e<0?z.back:z.forward;o=Math.max(0,Math.min(o+e,n.length-1)),t&&a(this.location,r,{direction:i,delta:e})}};return Object.defineProperty(i,"location",{enumerable:!0,get:function(){return n[o]}}),i}function te(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),$(e)}function ne(e){return"string"==typeof e||e&&"object"==typeof e}function oe(e){return"string"==typeof e||"symbol"==typeof e}var re,ae=Symbol("");!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(re||(re={}));function ie(e,t){return s(new Error,{type:e,[ae]:!0},t)}function ce(e,t){return e instanceof Error&&ae in e&&(null==t||!!(e.type&t))}var le={sensitive:!1,strict:!1,start:!0,end:!0},ue=/[.+*?^${}()[\]/\\]/g;function se(e,t){for(var n=0;nt.length?1===t.length&&80===t[0]?1:-1:0}function de(e,t){for(var n=0,o=e.score,r=t.score;n0&&t[t.length-1]<0}var be={type:0,value:""},pe=/[a-zA-Z0-9_]/;function ge(e,t,n){var o=function(e,t){var n,o=s({},le,t),r=[],a=o.start?"^":"",c=[],l=i(e);try{for(l.s();!(n=l.n()).done;){var u=n.value,d=u.length?[]:[90];o.strict&&!u.length&&(a+="/");for(var f=0;f1&&("*"===c||"+"===c)&&t("A repeatable param (".concat(u,") must be alone in its segment. eg: '/:ids+.")),n.push({type:1,value:u,regexp:s,repeatable:"*"===c||"+"===c,optional:"*"===c||"?"===c})):t("Invalid state to consume buffer"),u="")}function f(){u+=c}for(;l-1&&(n.splice(r,1),e.record.name&&o.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function c(e){var t=function(e,t){var n=0,o=t.length;for(;n!==o;){var r=n+o>>1;de(e,t[r])<0?o=r:n=r+1}var a=function(e){var t=e;for(;t=t.parent;)if(we(t)&&0===de(e,t))return t;return}(e);a&&(o=t.lastIndexOf(a,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!Oe(e)&&o.set(e.record.name,e)}return t=ye({strict:!1,end:!0,sensitive:!1},t),e.forEach((function(e){return r(e)})),{addRoute:r,resolve:function(e,t){var r,a,i,c={};if("name"in e&&e.name){if(!(r=o.get(e.name)))throw ie(1,{location:e});i=r.record.name,c=s(me(t.params,r.keys.filter((function(e){return!e.optional})).concat(r.parent?r.parent.keys.filter((function(e){return e.optional})):[]).map((function(e){return e.name}))),e.params&&me(e.params,r.keys.map((function(e){return e.name})))),a=r.stringify(c)}else if(null!=e.path)a=e.path,(r=n.find((function(e){return e.re.test(a)})))&&(c=r.parse(a),i=r.record.name);else{if(!(r=t.name?o.get(t.name):n.find((function(e){return e.re.test(t.path)}))))throw ie(1,{location:e,currentLocation:t});i=r.record.name,c=s({},t.params,e.params),a=r.stringify(c)}for(var l=[],u=r;u;)l.unshift(u.record),u=u.parent;return{name:i,path:a,params:c,matched:l,meta:je(l)}},removeRoute:a,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function me(e,t){var n,o={},r=i(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;a in e&&(o[a]=e[a])}}catch(e){r.e(e)}finally{r.f()}return o}function he(e){var t={},n=e.props||!1;if("component"in e)t.default=n;else for(var o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Oe(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function je(e){return e.reduce((function(e,t){return s(e,t.meta)}),{})}function ye(e,t){var n={};for(var o in e)n[o]=o in t?t[o]:e[o];return n}function we(e){var t=e.record;return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ae(e){var t={};if(""===e||"?"===e)return t;for(var n=("?"===e[0]?e.slice(1):e).split("&"),o=0;o-1&&e.splice(n,1)}},list:function(){return e.slice()},reset:function(){e=[]}}}function Pe(e,t,n){var o=function(){e[t].delete(n)};Object(a.s)(o),Object(a.r)(o),Object(a.q)((function(){e[t].add(n)})),e[t].add(n)}function Ie(e){var t=Object(a.m)(Se,{}).value;t&&Pe(t,"leaveGuards",e)}function Re(e){var t=Object(a.m)(Se,{}).value;t&&Pe(t,"updateGuards",e)}function Be(e,t,n,o,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(e){return e()},i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return function(){return new Promise((function(c,l){var u=function(e){!1===e?l(ie(4,{from:n,to:t})):e instanceof Error?l(e):ne(e)?l(ie(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),c())},s=a((function(){return e.call(o&&o.instances[r],t,n,u)})),d=Promise.resolve(s);e.length<3&&(d=d.then(u)),d.catch((function(e){return l(e)}))}))}}function Le(e,t,n,o){var r,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e){return e()},c=[],l=i(e);try{var s=function(){var e=r.value;var i=function(r){var i=e.components[r];if("beforeRouteEnter"!==t&&!e.instances[r])return 1;if(Me(i)){var l=(i.__vccOpts||i)[t];l&&c.push(Be(l,n,o,e,r,a))}else{var s=i();0,c.push((function(){return s.then((function(i){if(!i)return Promise.reject(new Error("Couldn't resolve component \"".concat(r,'" at "').concat(e.path,'"')));var c=u(i)?i.default:i;e.components[r]=c;var l=(c.__vccOpts||c)[t];return l&&Be(l,n,o,e,r,a)()}))}))}};for(var l in e.components)i(l)};for(l.s();!(r=l.n()).done;)s()}catch(e){l.e(e)}finally{l.f()}return c}function Me(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function Ne(e){return e.matched.every((function(e){return e.redirect}))?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map((function(e){return e.components&&Promise.all(Object.keys(e.components).reduce((function(t,n){var o=e.components[n];return"function"!=typeof o||"displayName"in o||t.push(o().then((function(t){if(!t)return Promise.reject(new Error("Couldn't resolve component \"".concat(n,'" at "').concat(e.path,'". Ensure you passed a function that returns a promise.')));var o=u(t)?t.default:t;e.components[n]=o}))),t}),[]))}))).then((function(){return e}))}function He(e){var t=Object(a.m)(Te),n=Object(a.m)(_e),o=Object(a.c)((function(){var n=Object(a.E)(e.to);return t.resolve(n)})),r=Object(a.c)((function(){var e=o.value.matched,t=e.length,r=e[t-1],a=n.matched;if(!r||!a.length)return-1;var i=a.findIndex(B.bind(null,r));if(i>-1)return i;var c=Fe(e[t-2]);return t>1&&Fe(r)===c&&a[a.length-1].path!==c?a.findIndex(B.bind(null,e[t-2])):i})),i=Object(a.c)((function(){return r.value>-1&&function(e,t){var n,o=function(){var n=t[r],o=e[r];if("string"==typeof n){if(n!==o)return{v:!1}}else if(!b(o)||o.length!==n.length||n.some((function(e,t){return e!==o[t]})))return{v:!1}};for(var r in t)if(n=o())return n.v;return!0}(n.params,o.value.params)})),c=Object(a.c)((function(){return r.value>-1&&r.value===n.matched.length-1&&L(n.params,o.value.params)}));return{route:o,href:Object(a.c)((function(){return o.value.href})),isActive:i,isExactActive:c,navigate:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ze(n)?t[Object(a.E)(e.replace)?"replace":"push"](Object(a.E)(e.to)).catch(f):Promise.resolve()}}}var Ve=Object(a.j)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:He,setup(e,t){var n=t.slots,o=Object(a.v)(He(e)),r=Object(a.m)(Te).options,i=Object(a.c)((function(){return{[Ue(e.activeClass,r.linkActiveClass,"router-link-active")]:o.isActive,[Ue(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}}));return function(){var t=n.default&&n.default(o);return e.custom?t:Object(a.l)("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:i.value},t)}}});function ze(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Fe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}var Ue=function(e,t,n){return null!=e?e:null!=t?t:n};function Ye(e,t){if(!e)return null;var n=e(t);return 1===n.length?n[0]:n}var We=Object(a.j)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,t){var n=t.attrs,o=t.slots,i=Object(a.m)(De),c=Object(a.c)((function(){return e.route||i.value})),l=Object(a.m)(ke,0),u=Object(a.c)((function(){for(var e,t=Object(a.E)(l),n=c.value.matched;(e=n[t])&&!e.components;)t++;return t})),d=Object(a.c)((function(){return c.value.matched[u.value]}));Object(a.u)(ke,Object(a.c)((function(){return u.value+1}))),Object(a.u)(Se,d),Object(a.u)(De,c);var f=Object(a.w)();return Object(a.G)((function(){return[f.value,d.value,e.name]}),(function(e,t){var n=r()(e,3),o=n[0],a=n[1],i=n[2],c=r()(t,3),l=c[0],u=c[1];c[2];a&&(a.instances[i]=o,u&&u!==a&&o&&o===l&&(a.leaveGuards.size||(a.leaveGuards=u.leaveGuards),a.updateGuards.size||(a.updateGuards=u.updateGuards))),!o||!a||u&&B(a,u)&&l||(a.enterCallbacks[i]||[]).forEach((function(e){return e(o)}))}),{flush:"post"}),function(){var t=c.value,r=e.name,i=d.value,l=i&&i.components[r];if(!l)return Ye(o.default,{Component:l,route:t});var u=i.props[r],b=u?!0===u?t.params:"function"==typeof u?u(t):u:null,p=Object(a.l)(l,s({},b,n,{onVnodeUnmounted:function(e){e.component.isUnmounted&&(i.instances[r]=null)},ref:f}));return Ye(o.default,{Component:p,route:t})||p}}});function Ge(e){var t=ve(e.routes,e),n=e.parseQuery||Ae,o=e.stringifyQuery||xe,c=e.history;var u=Ee(),p=Ee(),g=Ee(),v=Object(a.C)(F),m=F;l&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var h,O=d.bind(null,(function(e){return""+e})),j=d.bind(null,D),y=d.bind(null,E);function A(e,r){if(r=s({},r||v.value),"string"==typeof e){var a=I(n,e,r.path),i=t.resolve({path:a.path},r),l=c.createHref(a.fullPath);return s(a,i,{params:y(i.params),hash:E(a.hash),redirectedFrom:void 0,href:l})}var u;if(null!=e.path)u=s({},e,{path:I(n,e.path,r.path).path});else{var d=s({},e.params);for(var f in d)null==d[f]&&delete d[f];u=s({},e,{params:j(d)}),r.params=j(r.params)}var b=t.resolve(u,r),p=e.hash||"";b.params=O(y(b.params));var g,m=function(e,t){var n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,s({},e,{hash:(g=p,T(g).replace(x,"{").replace(S,"}").replace(w,"^")),path:b.path})),h=c.createHref(m);return s({fullPath:m,hash:p,query:o===xe?Ce(e.query):e.query||{}},b,{redirectedFrom:void 0,href:h})}function C(e){return"string"==typeof e?I(n,e,v.value.path):s({},e)}function k(e,t){if(m!==e)return ie(8,{from:t,to:e})}function _(e){return R(e)}function P(e){var t=e.matched[e.matched.length-1];if(t&&t.redirect){var n=t.redirect,o="function"==typeof n?n(e):n;return"string"==typeof o&&((o=o.includes("?")||o.includes("#")?o=C(o):{path:o}).params={}),s({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function R(e,t){var n=m=A(e),r=v.value,a=e.state,i=e.force,c=!0===e.replace,l=P(n);if(l)return R(s(C(l),{state:"object"==typeof l?s({},a,l.state):a,force:i,replace:c}),t||n);var u,d=n;return d.redirectedFrom=t,!i&&function(e,t,n){var o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&B(t.matched[o],n.matched[r])&&L(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(u=ie(16,{to:d,from:r}),ee(r,r,!0,!1)),(u?Promise.resolve(u):H(d,r)).catch((function(e){return ce(e)?ce(e,2)?e:$(e):Z(e,d,r)})).then((function(e){if(e){if(ce(e,2))return R(s({replace:c},C(e.to),{state:"object"==typeof e.to?s({},a,e.to.state):a,force:i}),t||d)}else e=U(d,r,!0,c,a);return z(d,r,e),e}))}function M(e,t){var n=k(e,t);return n?Promise.reject(n):Promise.resolve()}function N(e){var t=re.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function H(e,t){var n,o=function(e,t){for(var n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length),i=function(){var a=t.matched[c];a&&(e.matched.find((function(e){return B(e,a)}))?o.push(a):n.push(a));var i=e.matched[c];i&&(t.matched.find((function(e){return B(e,i)}))||r.push(i))},c=0;ce.length)&&(t=e.length);for(var n=0,o=Array(t);n0&&void 0!==arguments[0]?arguments[0]:"",t="",n=[t],a=0,i=[],c=s(e);function l(e){(a+=1)===n.length||n.splice(a),n.push(e)}function d(e,t,n){for(var r={direction:n.direction,delta:n.delta,type:o.pop},a=0,c=i;a(i.push(e),function(){var t=i.indexOf(e);t>-1&&i.splice(t,1)}),destroy(){i=[],n=[t],a=0},go(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=this.location,i=e<0?r.back:r.forward;a=Math.max(0,Math.min(a+e,n.length-1)),t&&d(this.location,o,{direction:i,delta:e})},get position(){return a}};return Object.defineProperty(f,"location",{enumerable:!0,get:function(){return n[a]}}),f}t.createHippyHistory=d,t.createHippyRouter=function(e){var t,n=a.createRouter({history:null!==(t=e.history)&&void 0!==t?t:d(),routes:e.routes});return e.noInjectAndroidHardwareBackPress||function(e){if(i.Native.isAndroid()){var t=function(){if(e.options.history.position>0)return e.back(),!0};e.isReady().then((function(){i.BackAndroid.addListener(t)}))}}(n),n},Object.keys(a).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})}))},function(e,t,n){e.exports=n.p+"assets/hippyLogoWhite.png"},function(e,t,n){"use strict";n.d(t,"a",(function(){return St}));var o=n(6),r=n.n(o),a=n(53),i=n(0);var c=n(1),l=Object(c.defineComponent)({setup(){var e=Object(c.ref)(!1),t=Object(c.ref)(!1),n=Object(c.ref)(!1);Object(c.onActivated)((function(){console.log("".concat(Date.now(),"-button-activated"))})),Object(c.onDeactivated)((function(){console.log("".concat(Date.now(),"-button-Deactivated"))}));return{isClicked:e,isPressing:t,isOnceClicked:n,onClickView:function(){e.value=!e.value},onTouchBtnStart:function(e){console.log("onBtnTouchDown",e)},onTouchBtnMove:function(e){console.log("onBtnTouchMove",e)},onTouchBtnEnd:function(e){console.log("onBtnTouchEnd",e)},onClickViewOnce:function(){n.value=!n.value}}}}),u=(n(73),n(3)),s=n.n(u);var d=s()(l,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{class:"button-demo"},[Object(i.g)("label",{class:"button-label"},"按钮和状态绑定"),Object(i.g)("button",{class:Object(i.o)([{"is-active":e.isClicked,"is-pressing":e.isPressing},"button-demo-1"]),onTouchstart:t[0]||(t[0]=Object(i.J)((function(){return e.onTouchBtnStart&&e.onTouchBtnStart.apply(e,arguments)}),["stop"])),onTouchmove:t[1]||(t[1]=Object(i.J)((function(){return e.onTouchBtnMove&&e.onTouchBtnMove.apply(e,arguments)}),["stop"])),onTouchend:t[2]||(t[2]=Object(i.J)((function(){return e.onTouchBtnEnd&&e.onTouchBtnEnd.apply(e,arguments)}),["stop"])),onClick:t[3]||(t[3]=function(){return e.onClickView&&e.onClickView.apply(e,arguments)})},[e.isClicked?(Object(i.t)(),Object(i.f)("span",{key:0,class:"button-text"},"视图已经被点击了,再点一下恢复")):(Object(i.t)(),Object(i.f)("span",{key:1,class:"button-text"},"视图尚未点击"))],34),Object(i.I)(Object(i.g)("img",{alt:"demo1-image",src:"https://user-images.githubusercontent.com/12878546/148737148-d0b227cb-69c8-4b21-bf92-739fb0c3f3aa.png",class:"button-demo-1-image"},null,512),[[i.F,e.isClicked]])])}],["__scopeId","data-v-05797918"]]),f=n(17),b=n.n(f);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t1&&(n.value.numberOfLines-=1)},incrementLine:function(){n.value.numberOfLines<6&&(n.value.numberOfLines+=1)},changeMode:function(e){n.value.ellipsizeMode=e},changeTextShadow:function(){o.value.textShadowOffsetX=t.value%2==1?10:1,o.value.textShadowColor=t.value%2==1?"red":"grey",t.value+=1},changeBreakStrategy:function(e){r.value=e}}}});n(80);var le=s()(ce,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{class:"p-demo"},[Object(i.g)("div",null,[Object(i.g)("label",null,"不带样式:"),Object(i.g)("p",{class:"p-demo-content",onTouchstart:t[0]||(t[0]=Object(i.J)((function(){return e.onTouchTextStart&&e.onTouchTextStart.apply(e,arguments)}),["stop"])),onTouchmove:t[1]||(t[1]=Object(i.J)((function(){return e.onTouchTextMove&&e.onTouchTextMove.apply(e,arguments)}),["stop"])),onTouchend:t[2]||(t[2]=Object(i.J)((function(){return e.onTouchTextEnd&&e.onTouchTextEnd.apply(e,arguments)}),["stop"]))}," 这是最普通的一行文字 ",32),Object(i.g)("p",{class:"p-demo-content-status"}," 当前touch状态: "+Object(i.D)(e.labelTouchStatus),1),Object(i.g)("label",null,"颜色:"),Object(i.g)("p",{class:"p-demo-1 p-demo-content"}," 这行文字改变了颜色 "),Object(i.g)("label",null,"尺寸:"),Object(i.g)("p",{class:"p-demo-2 p-demo-content"}," 这行改变了大小 "),Object(i.g)("label",null,"粗体:"),Object(i.g)("p",{class:"p-demo-3 p-demo-content"}," 这行加粗了 "),Object(i.g)("label",null,"下划线:"),Object(i.g)("p",{class:"p-demo-4 p-demo-content"}," 这里有条下划线 "),Object(i.g)("label",null,"删除线:"),Object(i.g)("p",{class:"p-demo-5 p-demo-content"}," 这里有条删除线 "),Object(i.g)("label",null,"自定义字体:"),Object(i.g)("p",{class:"p-demo-6 p-demo-content"}," 腾讯字体 Hippy "),Object(i.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold"}}," 腾讯字体 Hippy 粗体 "),Object(i.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-style":"italic"}}," 腾讯字体 Hippy 斜体 "),Object(i.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold","font-style":"italic"}}," 腾讯字体 Hippy 粗斜体 "),Object(i.g)("label",null,"文字阴影:"),Object(i.g)("p",{class:"p-demo-7 p-demo-content",style:Object(i.p)(e.textShadow),onClick:t[3]||(t[3]=function(){return e.changeTextShadow&&e.changeTextShadow.apply(e,arguments)})}," 这里是文字灰色阴影,点击可改变颜色 ",4),Object(i.g)("label",null,"文本字符间距"),Object(i.g)("p",{class:"p-demo-8 p-demo-content",style:{"margin-bottom":"5px"}}," Text width letter-spacing -1 "),Object(i.g)("p",{class:"p-demo-9 p-demo-content",style:{"margin-top":"5px"}}," Text width letter-spacing 5 "),Object(i.g)("label",null,"字体 style:"),Object(i.g)("div",{class:"p-demo-content"},[Object(i.g)("p",{style:{"font-style":"normal"}}," font-style: normal "),Object(i.g)("p",{style:{"font-style":"italic"}}," font-style: italic "),Object(i.g)("p",null,"font-style: [not set]")]),Object(i.g)("label",null,"numberOfLines="+Object(i.D)(e.textMode.numberOfLines)+" | ellipsizeMode="+Object(i.D)(e.textMode.ellipsizeMode),1),Object(i.g)("div",{class:"p-demo-content"},[Object(i.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},[Object(i.g)("span",{style:{"font-size":"19px",color:"white"}},"先帝创业未半而中道崩殂,今天下三分,益州疲弊,此诚危急存亡之秋也。"),Object(i.g)("span",null,"然侍卫之臣不懈于内,忠志之士忘身于外者,盖追先帝之殊遇,欲报之于陛下也。")],8,["numberOfLines","ellipsizeMode"]),Object(i.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},Object(i.D)("line 1\n\nline 3\n\nline 5"),8,["numberOfLines","ellipsizeMode"]),Object(i.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5,fontSize:14}},[Object(i.g)("img",{style:{width:24,height:24},src:e.img1},null,8,["src"]),Object(i.g)("img",{style:{width:24,height:24},src:e.img2},null,8,["src"])],8,["numberOfLines","ellipsizeMode"]),Object(i.g)("div",{class:"button-bar"},[Object(i.g)("button",{class:"button",onClick:t[4]||(t[4]=function(){return e.incrementLine&&e.incrementLine.apply(e,arguments)})},[Object(i.g)("span",null,"加一行")]),Object(i.g)("button",{class:"button",onClick:t[5]||(t[5]=function(){return e.decrementLine&&e.decrementLine.apply(e,arguments)})},[Object(i.g)("span",null,"减一行")])]),Object(i.g)("div",{class:"button-bar"},[Object(i.g)("button",{class:"button",onClick:t[6]||(t[6]=function(){return e.changeMode("clip")})},[Object(i.g)("span",null,"clip")]),Object(i.g)("button",{class:"button",onClick:t[7]||(t[7]=function(){return e.changeMode("head")})},[Object(i.g)("span",null,"head")]),Object(i.g)("button",{class:"button",onClick:t[8]||(t[8]=function(){return e.changeMode("middle")})},[Object(i.g)("span",null,"middle")]),Object(i.g)("button",{class:"button",onClick:t[9]||(t[9]=function(){return e.changeMode("tail")})},[Object(i.g)("span",null,"tail")])])]),"android"===e.Platform?(Object(i.t)(),Object(i.f)("label",{key:0},"break-strategy="+Object(i.D)(e.breakStrategy),1)):Object(i.e)("v-if",!0),"android"===e.Platform?(Object(i.t)(),Object(i.f)("div",{key:1,class:"p-demo-content"},[Object(i.g)("p",{"break-strategy":e.breakStrategy,style:{borderWidth:1,borderColor:"gray"}},Object(i.D)(e.longText),9,["break-strategy"]),Object(i.g)("div",{class:"button-bar"},[Object(i.g)("button",{class:"button",onClick:t[10]||(t[10]=Object(i.J)((function(){return e.changeBreakStrategy("simple")}),["stop"]))},[Object(i.g)("span",null,"simple")]),Object(i.g)("button",{class:"button",onClick:t[11]||(t[11]=Object(i.J)((function(){return e.changeBreakStrategy("high_quality")}),["stop"]))},[Object(i.g)("span",null,"high_quality")]),Object(i.g)("button",{class:"button",onClick:t[12]||(t[12]=Object(i.J)((function(){return e.changeBreakStrategy("balanced")}),["stop"]))},[Object(i.g)("span",null,"balanced")])])])):Object(i.e)("v-if",!0),Object(i.g)("label",null,"vertical-align"),Object(i.g)("div",{class:"p-demo-content"},[Object(i.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img3},null,8,["src"]),Object(i.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img3},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img3},null,8,["src"]),Object(i.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img3},null,8,["src"]),Object(i.g)("span",{style:{"font-size":"16","vertical-align":"top"}},"字"),Object(i.g)("span",{style:{"font-size":"16","vertical-align":"middle"}},"字"),Object(i.g)("span",{style:{"font-size":"16","vertical-align":"baseline"}},"字"),Object(i.g)("span",{style:{"font-size":"16","vertical-align":"bottom"}},"字")]),"android"===e.Platform?(Object(i.t)(),Object(i.f)("p",{key:0}," legacy mode: ")):Object(i.e)("v-if",!0),"android"===e.Platform?(Object(i.t)(),Object(i.f)("p",{key:1,style:{lineHeight:"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(i.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"18",height:"12","vertical-alignment":"1"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"12","vertical-alignment":"2"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"36",height:"24","vertical-alignment":"3"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24",top:"-10"},src:e.img3},null,8,["src"]),Object(i.g)("img",{style:{width:"18",height:"12",top:"-5"},src:e.img3},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"12"},src:e.img3},null,8,["src"]),Object(i.g)("img",{style:{width:"36",height:"24",top:"5"},src:e.img3},null,8,["src"]),Object(i.g)("span",{style:{"font-size":"16"}},"字"),Object(i.g)("span",{style:{"font-size":"16"}},"字"),Object(i.g)("span",{style:{"font-size":"16"}},"字"),Object(i.g)("span",{style:{"font-size":"16"}},"字")])):Object(i.e)("v-if",!0)]),Object(i.g)("label",null,"tint-color & background-color"),Object(i.g)("div",{class:"p-demo-content"},[Object(i.g)("p",{style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(i.g)("span",{style:{"vertical-align":"middle","background-color":"#99f"}},"text")]),"android"===e.Platform?(Object(i.t)(),Object(i.f)("p",{key:0}," legacy mode: ")):Object(i.e)("v-if",!0),"android"===e.Platform?(Object(i.t)(),Object(i.f)("p",{key:1,style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(i.g)("img",{style:{width:"24",height:"24","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","background-color":"#ccc"},src:e.img2},null,8,["src"])])):Object(i.e)("v-if",!0)]),Object(i.g)("label",null,"margin"),Object(i.g)("div",{class:"p-demo-content"},[Object(i.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"top","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"baseline","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-align":"bottom","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])]),"android"===e.Platform?(Object(i.t)(),Object(i.f)("p",{key:0}," legacy mode: ")):Object(i.e)("v-if",!0),"android"===e.Platform?(Object(i.t)(),Object(i.f)("p",{key:1,style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(i.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-alignment":"1","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-alignment":"2","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(i.g)("img",{style:{width:"24",height:"24","vertical-alignment":"3","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])])):Object(i.e)("v-if",!0)])])])}],["__scopeId","data-v-34e2123c"]]);var ue=Object(c.defineComponent)({setup:()=>({Platform:v.Native.Platform})});n(81);var se=s()(ue,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{id:"shadow-demo"},["android"===e.Platform?(Object(i.t)(),Object(i.f)("div",{key:0,class:"no-offset-shadow-demo-cube-android"},[Object(i.g)("div",{class:"no-offset-shadow-demo-content-android"},[Object(i.g)("p",null,"没有偏移阴影样式")])])):Object(i.e)("v-if",!0),"ios"===e.Platform?(Object(i.t)(),Object(i.f)("div",{key:1,class:"no-offset-shadow-demo-cube-ios"},[Object(i.g)("div",{class:"no-offset-shadow-demo-content-ios"},[Object(i.g)("p",null,"没有偏移阴影样式")])])):Object(i.e)("v-if",!0),"android"===e.Platform?(Object(i.t)(),Object(i.f)("div",{key:2,class:"offset-shadow-demo-cube-android"},[Object(i.g)("div",{class:"offset-shadow-demo-content-android"},[Object(i.g)("p",null,"偏移阴影样式")])])):Object(i.e)("v-if",!0),"ios"===e.Platform?(Object(i.t)(),Object(i.f)("div",{key:3,class:"offset-shadow-demo-cube-ios"},[Object(i.g)("div",{class:"offset-shadow-demo-content-ios"},[Object(i.g)("p",null,"偏移阴影样式")])])):Object(i.e)("v-if",!0)])}],["__scopeId","data-v-19ab3f2d"]]);var de=Object(c.defineComponent)({setup(){var e=Object(c.ref)("The quick brown fox jumps over the lazy dog,快灰狐狸跳过了懒 🐕。"),t=Object(c.ref)("simple");return{content:e,breakStrategy:t,Platform:v.Native.Platform,longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",contentSizeChange:function(e){console.log(e)},changeBreakStrategy:function(e){t.value=e}}}});n(82);var fe=s()(de,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{id:"demo-textarea"},[Object(i.g)("label",null,"多行文本:"),Object(i.g)("textarea",{value:e.content,rows:10,placeholder:"多行文本编辑器",class:"textarea",onChange:t[0]||(t[0]=function(t){return e.content=t.value}),"on:contentSizeChange":t[1]||(t[1]=function(){return e.contentSizeChange&&e.contentSizeChange.apply(e,arguments)})},null,40,["value"]),Object(i.g)("div",{class:"output-container"},[Object(i.g)("p",{class:"output"}," 输入的文本为:"+Object(i.D)(e.content),1)]),"android"===e.Platform?(Object(i.t)(),Object(i.f)("label",{key:0},"break-strategy="+Object(i.D)(e.breakStrategy),1)):Object(i.e)("v-if",!0),"android"===e.Platform?(Object(i.t)(),Object(i.f)("div",{key:1},[Object(i.g)("textarea",{class:"textarea",defaultValue:e.longText,"break-strategy":e.breakStrategy},null,8,["defaultValue","break-strategy"]),Object(i.g)("div",{class:"button-bar"},[Object(i.g)("button",{class:"button",onClick:t[2]||(t[2]=function(){return e.changeBreakStrategy("simple")})},[Object(i.g)("span",null,"simple")]),Object(i.g)("button",{class:"button",onClick:t[3]||(t[3]=function(){return e.changeBreakStrategy("high_quality")})},[Object(i.g)("span",null,"high_quality")]),Object(i.g)("button",{class:"button",onClick:t[4]||(t[4]=function(){return e.changeBreakStrategy("balanced")})},[Object(i.g)("span",null,"balanced")])])])):Object(i.e)("v-if",!0)])}],["__scopeId","data-v-6d6167b3"]]);var be=n(9),pe=Object(c.defineComponent)({setup(){var e=null,t=Object(c.ref)(""),n=function(){var n=P()(R.a.mark((function n(o){var r,a,i,c;return R.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("nativeWithPromise"!==o){n.next=6;break}return n.next=3,Object(be.h)("aaa");case 3:t.value=n.sent,n.next=7;break;case 6:"getTurboConfig"===o?(e=Object(be.g)(),t.value="获取到config对象"):"printTurboConfig"===o?t.value=Object(be.i)(null!==(r=e)&&void 0!==r?r:Object(be.g)()):"getInfo"===o?t.value=(null!==(a=e)&&void 0!==a?a:Object(be.g)()).getInfo():"setInfo"===o?((null!==(i=e)&&void 0!==i?i:Object(be.g)()).setInfo("Hello World"),t.value="设置config信息成功"):(c={getString:function(){return Object(be.f)("123")},getNum:function(){return Object(be.d)(1024)},getBoolean:function(){return Object(be.b)(!0)},getMap:function(){return Object(be.c)(new Map([["a","1"],["b","2"]]))},getObject:function(){return Object(be.e)({c:"3",d:"4"})},getArray:function(){return Object(be.a)(["a","b","c"])}},t.value=c[o]());case 7:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();return{result:t,funList:["getString","getNum","getBoolean","getMap","getObject","getArray","nativeWithPromise","getTurboConfig","printTurboConfig","getInfo","setInfo"],onTurboFunc:n}}});n(83);var ge=s()(pe,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{class:"demo-turbo"},[Object(i.g)("span",{class:"result"},Object(i.D)(e.result),1),Object(i.g)("ul",{style:{flex:"1"}},[(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.funList,(function(t){return Object(i.t)(),Object(i.f)("li",{key:t,class:"cell"},[Object(i.g)("div",{class:"contentView"},[Object(i.g)("div",{class:"func-info"},[Object(i.g)("span",{numberOfLines:0},"函数名:"+Object(i.D)(t),1)]),Object(i.g)("span",{class:"action-button",onClick:Object(i.J)((function(){return e.onTurboFunc(t)}),["stop"])},"运行",8,["onClick"])])])})),128))])])}]]);var ve=null,me=Object(c.ref)([]),he=function(e){me.value.unshift(e)},Oe=function(){ve&&1===ve.readyState&&ve.close()},je=Object(c.defineComponent)({setup(){var e=Object(c.ref)(null),t=Object(c.ref)(null);return{output:me,inputUrl:e,inputMessage:t,connect:function(){var t=e.value;t&&t.getValue().then((function(e){!function(e){Oe(),(ve=new WebSocket(e)).onopen=function(){var e;return he("[Opened] ".concat(null===(e=ve)||void 0===e?void 0:e.url))},ve.onclose=function(){var e;return he("[Closed] ".concat(null===(e=ve)||void 0===e?void 0:e.url))},ve.onerror=function(e){he("[Error] ".concat(e.reason))},ve.onmessage=function(e){return he("[Received] ".concat(e.data))}}(e)}))},disconnect:function(){Oe()},sendMessage:function(){var e=t.value;e&&e.getValue().then((function(e){!function(e){he("[Sent] ".concat(e)),ve&&ve.send(e)}(e)}))}}}});n(84);var ye={demoDiv:{name:"div 组件",component:D},demoShadow:{name:"box-shadow",component:se},demoP:{name:"p 组件",component:le},demoButton:{name:"button 组件",component:d},demoImg:{name:"img 组件",component:F},demoInput:{name:"input 组件",component:J},demoTextarea:{name:"textarea 组件",component:fe},demoUl:{name:"ul/li 组件",component:ie},demoIFrame:{name:"iframe 组件",component:N},demoWebSocket:{name:"WebSocket",component:s()(je,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{id:"websocket-demo"},[Object(i.g)("div",null,[Object(i.g)("p",{class:"demo-title"}," Url: "),Object(i.g)("input",{ref:"inputUrl",value:"wss://echo.websocket.org"},null,512),Object(i.g)("div",{class:"row"},[Object(i.g)("button",{onClick:t[0]||(t[0]=Object(i.J)((function(){return e.connect&&e.connect.apply(e,arguments)}),["stop"]))},[Object(i.g)("span",null,"Connect")]),Object(i.g)("button",{onClick:t[1]||(t[1]=Object(i.J)((function(){return e.disconnect&&e.disconnect.apply(e,arguments)}),["stop"]))},[Object(i.g)("span",null,"Disconnect")])])]),Object(i.g)("div",null,[Object(i.g)("p",{class:"demo-title"}," Message: "),Object(i.g)("input",{ref:"inputMessage",value:"Rock it with Hippy WebSocket"},null,512),Object(i.g)("button",{onClick:t[2]||(t[2]=Object(i.J)((function(){return e.sendMessage&&e.sendMessage.apply(e,arguments)}),["stop"]))},[Object(i.g)("span",null,"Send")])]),Object(i.g)("div",null,[Object(i.g)("p",{class:"demo-title"}," Log: "),Object(i.g)("div",{class:"output fullscreen"},[Object(i.g)("div",null,[(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.output,(function(e,t){return Object(i.t)(),Object(i.f)("p",{key:t},Object(i.D)(e),1)})),128))])])])])}],["__scopeId","data-v-99a0fc74"]])},demoDynamicImport:{name:"DynamicImport",component:L},demoTurbo:{name:"Turbo",component:ge}};var we=Object(c.defineComponent)({setup(){var e=Object(c.ref)(null),t=Object(c.ref)(0),n=Object(c.ref)(0);Object(c.onMounted)((function(){n.value=v.Native.Dimensions.screen.width}));return{demoOnePointRef:e,demon2Left:t,screenWidth:n,onTouchDown1:function(t){var o=t.touches[0].clientX-40;console.log("touchdown x",o,n.value),e.value&&e.value.setNativeProps({style:{left:o}})},onTouchDown2:function(e){t.value=e.touches[0].clientX-40,console.log("touchdown x",t.value,n.value)},onTouchMove1:function(t){var o=t.touches[0].clientX-40;console.log("touchmove x",o,n.value),e.value&&e.value.setNativeProps({style:{left:o}})},onTouchMove2:function(e){t.value=e.touches[0].clientX-40,console.log("touchmove x",t.value,n.value)}}}});n(85);var Ae=s()(we,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{class:"set-native-props-demo"},[Object(i.g)("label",null,"setNativeProps实现拖动效果"),Object(i.g)("div",{class:"native-demo-1-drag",style:Object(i.p)({width:e.screenWidth}),onTouchstart:t[0]||(t[0]=Object(i.J)((function(){return e.onTouchDown1&&e.onTouchDown1.apply(e,arguments)}),["stop"])),onTouchmove:t[1]||(t[1]=Object(i.J)((function(){return e.onTouchMove1&&e.onTouchMove1.apply(e,arguments)}),["stop"]))},[Object(i.g)("div",{ref:"demoOnePointRef",class:"native-demo-1-point"},null,512)],36),Object(i.g)("div",{class:"splitter"}),Object(i.g)("label",null,"普通渲染实现拖动效果"),Object(i.g)("div",{class:"native-demo-2-drag",style:Object(i.p)({width:e.screenWidth}),onTouchstart:t[2]||(t[2]=Object(i.J)((function(){return e.onTouchDown2&&e.onTouchDown2.apply(e,arguments)}),["stop"])),onTouchmove:t[3]||(t[3]=Object(i.J)((function(){return e.onTouchMove2&&e.onTouchMove2.apply(e,arguments)}),["stop"]))},[Object(i.g)("div",{class:"native-demo-2-point",style:Object(i.p)({left:e.demon2Left+"px"})},null,4)],36)])}],["__scopeId","data-v-4521f010"]]);var xe={backgroundColor:[{startValue:"#40b883",toValue:"yellow",valueType:"color",duration:1e3,delay:0,mode:"timing",timingFunction:"linear"},{startValue:"yellow",toValue:"#40b883",duration:1e3,valueType:"color",delay:0,mode:"timing",timingFunction:"linear",repeatCount:-1}]},Ce=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:function(){}}},setup:()=>({colorActions:xe})});n(86);var Se=s()(Ce,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("animation");return Object(i.t)(),Object(i.f)("div",null,[Object(i.i)(c,{ref:"animationView",playing:e.playing,actions:e.colorActions,class:"color-green"},{default:Object(i.H)((function(){return[Object(i.g)("div",{class:"color-white"},[Object(i.y)(e.$slots,"default",{},void 0,!0)])]})),_:3},8,["playing","actions"])])}],["__scopeId","data-v-35b77823"]]);var ke={transform:{translateX:[{startValue:50,toValue:150,duration:1e3,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"},{startValue:150,toValue:50,duration:1e3,repeatCount:-1,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"}]}},Te=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:function(){}}},setup(e){var t=Object(c.ref)(null);return Object(c.onMounted)((function(){e.onRef&&e.onRef(t.value)})),{animationView:t,loopActions:ke}}});n(87);var _e=s()(Te,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("animation");return Object(i.t)(),Object(i.f)("div",null,[Object(i.i)(c,{ref:"animationView",playing:e.playing,actions:e.loopActions,class:"loop-green"},{default:Object(i.H)((function(){return[Object(i.g)("div",{class:"loop-white"},[Object(i.y)(e.$slots,"default",{},void 0,!0)])]})),_:3},8,["playing","actions"])])}],["__scopeId","data-v-0ffc52dc"]]);var De={transform:{translateX:{startValue:0,toValue:200,duration:2e3,repeatCount:-1}}},Ee={transform:{translateY:{startValue:0,toValue:50,duration:2e3,repeatCount:-1}}},Pe=Object(c.defineComponent)({props:{playing:Boolean,direction:{type:String,default:""},onRef:{type:Function,default:function(){}}},emits:["actionsDidUpdate"],setup(e){var t=Object(c.toRefs)(e).direction,n=Object(c.ref)(""),o=Object(c.ref)(null);return Object(c.watch)(t,(function(e){switch(e){case"horizon":n.value=De;break;case"vertical":n.value=Ee;break;default:throw new Error("direction must be defined in props")}}),{immediate:!0}),Object(c.onMounted)((function(){e.onRef&&e.onRef(o.value)})),{loopActions:n,animationLoop:o}}});n(88);var Ie=s()(Pe,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("animation");return Object(i.t)(),Object(i.f)("div",null,[Object(i.i)(c,{ref:"animationLoop",playing:e.playing,actions:e.loopActions,class:"loop-green",onActionsDidUpdate:t[0]||(t[0]=function(t){return e.$emit("actionsDidUpdate")})},{default:Object(i.H)((function(){return[Object(i.g)("div",{class:"loop-white"},[Object(i.y)(e.$slots,"default",{},void 0,!0)])]})),_:3},8,["playing","actions"])])}],["__scopeId","data-v-54047ca5"]]);var Re={transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},Be={transform:{translateX:[{startValue:10,toValue:1,duration:250,timingFunction:"linear"},{startValue:1,toValue:10,duration:250,delay:750,timingFunction:"linear",repeatCount:-1}]}},Le=Object(c.defineComponent)({props:{isChanged:{type:Boolean,default:!0}},setup(e){var t=Object(c.ref)(null),n=Object(c.ref)({face:Re,downVoteFace:{left:[{startValue:16,toValue:10,delay:250,duration:125},{startValue:10,toValue:24,duration:250},{startValue:24,toValue:10,duration:250},{startValue:10,toValue:16,duration:125}],transform:{scale:[{startValue:1,toValue:1.3,duration:250,timingFunction:"linear"},{startValue:1.3,toValue:1,delay:750,duration:250,timingFunction:"linear"}]}}}),o=Object(c.toRefs)(e).isChanged;return Object(c.watch)(o,(function(e,o){!o&&e?(console.log("changed to face2"),n.value.face=Be):o&&!e&&(console.log("changed to face1"),n.value.face=Re),setTimeout((function(){t.value&&t.value.start()}),10)})),{animationRef:t,imgs:{downVoteFace:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAXVBMVEUAAACmaCCoaSKlZyCmaCCoaiG0byOlZyCmaCGnaSKmaCCmZyClZyCmaCCmaSCybyymZyClaCGlaCGnaCCnaSGnaiOlZyKocCXMmTOmaCKnaCKmaSClZyGoZyClZyDPYmTmAAAAHnRSTlMA6S/QtjYO+FdJ4tyZbWYH7cewgTw5JRQFkHFfXk8vbZ09AAAAiUlEQVQY07WQRxLDMAhFPyq21dxLKvc/ZoSiySTZ+y3g8YcFA5wFcOkHYEi5QDkknparH5EZKS6GExQLs0RzUQUY6VYiK2ayNIapQ6EjNk2xd616Bi5qIh2fn8BqroS1XtPmgYKXxo+y07LuDrH95pm3LBM5FMpHWg2osOOLjRR6hR/WOw780bwASN0IT3NosMcAAAAASUVORK5CYII="},animations:n,animationStart:function(){console.log("animation-start callback")},animationEnd:function(){console.log("animation-end callback")},animationRepeat:function(){console.log("animation-repeat callback")},animationCancel:function(){console.log("animation-cancel callback")}}}});n(89);var Me=s()(Le,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("animation");return Object(i.t)(),Object(i.f)("div",null,[Object(i.i)(c,{ref:"animationRef",actions:e.animations.face,class:"vote-face",playing:"",onStart:e.animationStart,onEnd:e.animationEnd,onRepeat:e.animationRepeat,onCancel:e.animationCancel},null,8,["actions","onStart","onEnd","onRepeat","onCancel"]),Object(i.i)(c,{tag:"img",class:"vote-down-face",playing:"",props:{src:e.imgs.downVoteFace},actions:e.animations.downVoteFace},null,8,["props","actions"])])}],["__scopeId","data-v-7020ef76"]]);var Ne=Object(c.defineComponent)({setup:()=>({imgs:{upVoteEye:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAFCAYAAABIHbx0AAAAAXNSR0IArs4c6QAAAQdJREFUGBljZACCVeVK/L8//m9i/P/flIGR8ZgwD2+9e8+lryA5dLCzRI/77ZfPjQz//1v9Z2Q8zcrPWBfWee8j45mZxqw3z709BdRgANPEyMhwLFIiwZaxoeEfTAxE/29oYFr+YsHh//8ZrJDEL6gbCZsxO8pwJP9nYEhFkgAxZS9/vXxj3Zn3V5DF1TQehwNdUogsBmRLvH/x4zHLv///PRgZGH/9Z2TYzsjAANT4Xxko6c/A8M8DSK9A1sQIFPvPwPibkeH/VmAQXAW6TAWo3hdkBgsTE9Pa/2z/s6In3n8J07SsWE2E4esfexgfRgMt28rBwVEZPOH6c5jYqkJtod/ff7gBAOnFYtdEXHPzAAAAAElFTkSuQmCC",upVoteMouth:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAARCAMAAACLgl7OAAAA4VBMVEUAAACobCawciy0f0OmaSOmaSKlaCCmZyCmaCGpayO2hEmpbiq3hUuweTqscjCmaCGmZyCmZyClaCCmaCCmaSGoaCL///+vdzimaCGmaCKmaSKlZyGmaCGmaCGnaCGnaCGnaCGmaCKscCW/gEDDmmm9j1m6ilSnaSOmaSGqcCylZyGrcCymZyClaCGnaCKmaSCqaiumbyH///+lZyDTtJDawKLLp37XupmyfT/+/v3o18XfybDJo3jBlWP8+vf48+z17uXv49bq3Mv28Ony6N3x59zbwqXSs5DQsIrNqoK5h0+BlvpqAAAAMnRSTlMA/Qv85uChjIMl/f38/Pv4zq6nl04wAfv18tO7tXx0Y1tGEQT+/v3b1q+Ui35sYj8YF964s/kAAADySURBVCjPddLHVsJgEIbhL6QD6Qldqr2bgfTQ7N7/Bckv6omYvItZPWcWcwbTC+f6dqLWcFBNvRsPZekKNeKI1RFMS3JkRZEdyTKFDrEaNACMt3i9TcP3KOLb+g5zepuPoiBMk6elr0mAkPlfBQs253M2F4G/j5OBPl8NNjQGhrSqBCHdAx6lleCkB6AlNqvAho6wa0RJBTjuThmYifVlKUjYApZLWRl41M9/7qtQ+B+sml0V37VsCuID8KwZE+BXKFTPiyB75QQPxVyR+Jf1HsTbvEH2A/42G50Raaf1j7zZIMPyUJJ6Y/d7ojm4dAvf8QkUbUjwOwWDwQAAAABJRU5ErkJggg=="},animations:{face:{transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},upVoteEye:{top:[{startValue:14,toValue:8,delay:250,duration:125},{startValue:8,toValue:14,duration:250},{startValue:14,toValue:8,duration:250},{startValue:8,toValue:14,duration:125}],transform:{scale:[{startValue:1.2,toValue:1.4,duration:250,timingFunction:"linear"},{startValue:1.4,toValue:1.2,delay:750,duration:250,timingFunction:"linear"}]}},upVoteMouth:{bottom:[{startValue:9,toValue:14,delay:250,duration:125},{startValue:14,toValue:9,duration:250},{startValue:9,toValue:14,duration:250},{startValue:14,toValue:9,duration:125}],transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,delay:750,duration:250,timingFunction:"linear"}],scaleY:[{startValue:.725,delay:250,toValue:1.45,duration:125},{startValue:1.45,toValue:.87,duration:250},{startValue:.87,toValue:1.45,duration:250},{startValue:1.45,toValue:1,duration:125}]}}}})});n(90);var He=s()(Ne,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("animation");return Object(i.t)(),Object(i.f)("div",null,[Object(i.i)(c,{actions:e.animations.face,class:"vote-face",playing:""},null,8,["actions"]),Object(i.i)(c,{tag:"img",class:"vote-up-eye",playing:"",props:{src:e.imgs.upVoteEye},actions:e.animations.upVoteEye},null,8,["props","actions"]),Object(i.i)(c,{tag:"img",class:"vote-up-mouth",playing:"",props:{src:e.imgs.upVoteMouth},actions:e.animations.upVoteMouth},null,8,["props","actions"])])}],["__scopeId","data-v-0dd85e5f"]]),Ve=Object(c.defineComponent)({components:{Loop:Ie,colorComponent:Se,CubicBezier:_e},setup(){var e=Object(c.ref)(!0),t=Object(c.ref)(!0),n=Object(c.ref)(!0),o=Object(c.ref)("horizon"),r=Object(c.ref)(!0),a=Object(c.ref)(null),i=Object(c.shallowRef)(He);return{loopPlaying:e,colorPlaying:t,cubicPlaying:n,direction:o,voteComponent:i,colorComponent:Se,isChanged:r,animationRef:a,voteUp:function(){i.value=He},voteDown:function(){i.value=Me,r.value=!r.value},onRef:function(e){a.value=e},toggleLoopPlaying:function(){e.value=!e.value},toggleColorPlaying:function(){t.value=!t.value},toggleCubicPlaying:function(){n.value=!n.value},toggleDirection:function(){o.value="horizon"===o.value?"vertical":"horizon"},actionsDidUpdate:function(){Object(c.nextTick)().then((function(){console.log("actions updated & startAnimation"),a.value&&a.value.start()}))}}}});n(91);var ze=s()(Ve,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("loop"),l=Object(i.z)("color-component"),u=Object(i.z)("cubic-bezier");return Object(i.t)(),Object(i.f)("ul",{id:"animation-demo"},[Object(i.g)("li",null,[Object(i.g)("label",null,"控制动画"),Object(i.g)("div",{class:"toolbar"},[Object(i.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=function(){return e.toggleLoopPlaying&&e.toggleLoopPlaying.apply(e,arguments)})},[e.loopPlaying?(Object(i.t)(),Object(i.f)("span",{key:0},"暂停")):(Object(i.t)(),Object(i.f)("span",{key:1},"播放"))]),Object(i.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=function(){return e.toggleDirection&&e.toggleDirection.apply(e,arguments)})},["horizon"===e.direction?(Object(i.t)(),Object(i.f)("span",{key:0},"切换为纵向")):(Object(i.t)(),Object(i.f)("span",{key:1},"切换为横向"))])]),Object(i.g)("div",{style:{height:"150px"}},[Object(i.i)(c,{playing:e.loopPlaying,direction:e.direction,"on-ref":e.onRef,onActionsDidUpdate:e.actionsDidUpdate},{default:Object(i.H)((function(){return[Object(i.g)("p",null,"I'm a looping animation")]})),_:1},8,["playing","direction","on-ref","onActionsDidUpdate"])])]),Object(i.g)("li",null,[Object(i.g)("div",{style:{"margin-top":"10px"}}),Object(i.g)("label",null,"点赞笑脸动画:"),Object(i.g)("div",{class:"toolbar"},[Object(i.g)("button",{class:"toolbar-btn",onClick:t[2]||(t[2]=function(){return e.voteUp&&e.voteUp.apply(e,arguments)})},[Object(i.g)("span",null,"点赞 👍")]),Object(i.g)("button",{class:"toolbar-btn",onClick:t[3]||(t[3]=function(){return e.voteDown&&e.voteDown.apply(e,arguments)})},[Object(i.g)("span",null,"踩 👎")])]),Object(i.g)("div",{class:"vote-face-container center"},[(Object(i.t)(),Object(i.d)(Object(i.A)(e.voteComponent),{class:"vote-icon","is-changed":e.isChanged},null,8,["is-changed"]))])]),Object(i.g)("li",null,[Object(i.g)("div",{style:{"margin-top":"10px"}}),Object(i.g)("label",null,"渐变色动画"),Object(i.g)("div",{class:"toolbar"},[Object(i.g)("button",{class:"toolbar-btn",onClick:t[4]||(t[4]=function(){return e.toggleColorPlaying&&e.toggleColorPlaying.apply(e,arguments)})},[e.colorPlaying?(Object(i.t)(),Object(i.f)("span",{key:0},"暂停")):(Object(i.t)(),Object(i.f)("span",{key:1},"播放"))])]),Object(i.g)("div",null,[Object(i.i)(l,{playing:e.colorPlaying},{default:Object(i.H)((function(){return[Object(i.g)("p",null,"背景色渐变")]})),_:1},8,["playing"])])]),Object(i.g)("li",null,[Object(i.g)("div",{style:{"margin-top":"10px"}}),Object(i.g)("label",null,"贝塞尔曲线动画"),Object(i.g)("div",{class:"toolbar"},[Object(i.g)("button",{class:"toolbar-btn",onClick:t[5]||(t[5]=function(){return e.toggleCubicPlaying&&e.toggleCubicPlaying.apply(e,arguments)})},[e.cubicPlaying?(Object(i.t)(),Object(i.f)("span",{key:0},"暂停")):(Object(i.t)(),Object(i.f)("span",{key:1},"播放"))])]),Object(i.g)("div",null,[Object(i.i)(u,{playing:e.cubicPlaying},{default:Object(i.H)((function(){return[Object(i.g)("p",null,"cubic-bezier(.45,2.84,.38,.5)")]})),_:1},8,["playing"])])])])}],["__scopeId","data-v-4fa3f0c0"]]);var Fe=n(13),Ue=["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"],Ye=Object(c.defineComponent)({setup(){var e=Object(c.ref)(!1),t=Object(c.ref)(!1),n=Object(c.ref)("fade"),o=Object(c.ref)(!1),r=Object(c.ref)(!1),a=Object(c.ref)(!1);return Object(Fe.onBeforeRouteLeave)((function(t,n,o){e.value||o()})),{supportedOrientations:Ue,dialogIsVisible:e,dialog2IsVisible:t,dialogAnimationType:n,immersionStatusBar:o,autoHideStatusBar:r,autoHideNavigationBar:a,stopPropagation:function(e){e.stopPropagation()},onClose:function(n){n.stopPropagation(),t.value?t.value=!1:e.value=!1,console.log("Dialog is closing")},onShow:function(){console.log("Dialog is opening")},onClickView:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e.value=!e.value,n.value=t},onClickOpenSecond:function(e){e.stopPropagation(),t.value=!t.value},onClickDialogConfig:function(e){switch(e){case"hideStatusBar":r.value=!r.value;break;case"immerseStatusBar":o.value=!o.value;break;case"hideNavigationBar":a.value=!a.value}}}}});n(92);var We=s()(Ye,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{id:"dialog-demo"},[Object(i.g)("label",null,"显示或者隐藏对话框:"),Object(i.g)("button",{class:"dialog-demo-button-1",onClick:t[0]||(t[0]=Object(i.J)((function(){return e.onClickView("slide")}),["stop"]))},[Object(i.g)("span",{class:"button-text"},"显示对话框--slide")]),Object(i.g)("button",{class:"dialog-demo-button-1",onClick:t[1]||(t[1]=Object(i.J)((function(){return e.onClickView("fade")}),["stop"]))},[Object(i.g)("span",{class:"button-text"},"显示对话框--fade")]),Object(i.g)("button",{class:"dialog-demo-button-1",onClick:t[2]||(t[2]=Object(i.J)((function(){return e.onClickView("slide_fade")}),["stop"]))},[Object(i.g)("span",{class:"button-text"},"显示对话框--slide_fade")]),Object(i.g)("button",{style:Object(i.p)([{borderColor:e.autoHideStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[3]||(t[3]=Object(i.J)((function(){return e.onClickDialogConfig("hideStatusBar")}),["stop"]))},[Object(i.g)("span",{class:"button-text"},"隐藏状态栏")],4),Object(i.g)("button",{style:Object(i.p)([{borderColor:e.immersionStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[4]||(t[4]=Object(i.J)((function(){return e.onClickDialogConfig("immerseStatusBar")}),["stop"]))},[Object(i.g)("span",{class:"button-text"},"沉浸式状态栏")],4),Object(i.g)("button",{style:Object(i.p)([{borderColor:e.autoHideNavigationBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[5]||(t[5]=Object(i.J)((function(){return e.onClickDialogConfig("hideNavigationBar")}),["stop"]))},[Object(i.g)("span",{class:"button-text"},"隐藏导航栏")],4),Object(i.e)(" dialog can't support v-show, can only use v-if for explicit switching "),e.dialogIsVisible?(Object(i.t)(),Object(i.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,supportedOrientations:e.supportedOrientations,immersionStatusBar:e.immersionStatusBar,autoHideStatusBar:e.autoHideStatusBar,autoHideNavigationBar:e.autoHideNavigationBar,onShow:t[12]||(t[12]=function(){return e.onShow&&e.onShow.apply(e,arguments)}),"on:requestClose":t[13]||(t[13]=function(){return e.onClose&&e.onClose.apply(e,arguments)}),"on:orientationChange":t[14]||(t[14]=function(){return e.onOrientationChange&&e.onOrientationChange.apply(e,arguments)})},[Object(i.e)(" dialog on iOS platform can only have one child node "),Object(i.g)("div",{class:"dialog-demo-wrapper"},[Object(i.g)("div",{class:"fullscreen center row",onClick:t[11]||(t[11]=function(){return e.onClickView&&e.onClickView.apply(e,arguments)})},[Object(i.g)("div",{class:"dialog-demo-close-btn center column",onClick:t[7]||(t[7]=function(){return e.stopPropagation&&e.stopPropagation.apply(e,arguments)})},[Object(i.g)("p",{class:"dialog-demo-close-btn-text"}," 点击空白区域关闭 "),Object(i.g)("button",{class:"dialog-demo-button-2",onClick:t[6]||(t[6]=function(){return e.onClickOpenSecond&&e.onClickOpenSecond.apply(e,arguments)})},[Object(i.g)("span",{class:"button-text"},"点击打开二级全屏弹窗")])]),e.dialog2IsVisible?(Object(i.t)(),Object(i.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,"on:requestClose":t[9]||(t[9]=function(){return e.onClose&&e.onClose.apply(e,arguments)}),"on:orientationChange":t[10]||(t[10]=function(){return e.onOrientationChange&&e.onOrientationChange.apply(e,arguments)})},[Object(i.g)("div",{class:"dialog-2-demo-wrapper center column row",onClick:t[8]||(t[8]=function(){return e.onClickOpenSecond&&e.onClickOpenSecond.apply(e,arguments)})},[Object(i.g)("p",{class:"dialog-demo-close-btn-text",style:{color:"white"}}," Hello 我是二级全屏弹窗,点击任意位置关闭。 ")])],40,["animationType"])):Object(i.e)("v-if",!0)])])],40,["animationType","supportedOrientations","immersionStatusBar","autoHideStatusBar","autoHideNavigationBar"])):Object(i.e)("v-if",!0)])}],["__scopeId","data-v-58c0fb99"]]);var Ge,Ke=n(12),Je=Object(c.defineComponent)({setup(){var e=Object(c.ref)("ready to set"),t=Object(c.ref)(""),n=Object(c.ref)(""),o=Object(c.ref)("正在获取..."),r=Object(c.ref)(""),a=Object(c.ref)(""),i=Object(c.ref)(""),l=Object(c.ref)(null),u=Object(c.ref)("请求网址中..."),s=Object(c.ref)("ready to set"),d=Object(c.ref)(""),f=Object(c.ref)(0),b=function(){var e=P()(R.a.mark((function e(){var n;return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.Native.AsyncStorage.getItem("itemKey");case 2:n=e.sent,t.value=n||"undefined";case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=P()(R.a.mark((function e(){var t;return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.Native.ImageLoader.getSize("https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png");case 2:t=e.sent,console.log("ImageLoader getSize",t),n.value="".concat(t.width,"x").concat(t.height);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=function(){var e=P()(R.a.mark((function e(){var t,n,o=arguments;return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]&&o[0],e.prev=1,e.next=4,v.Native.getBoundingClientRect(l.value,{relToContainer:t});case 4:n=e.sent,t?a.value="".concat(JSON.stringify(n)):r.value="".concat(JSON.stringify(n)),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error("getBoundingClientRect error",e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}();return Object(c.onMounted)((function(){i.value=JSON.stringify(Object(Ke.a)()),v.Native.NetInfo.fetch().then((function(e){o.value=e})),Ge=v.Native.NetInfo.addEventListener("change",(function(e){o.value="收到通知: ".concat(e.network_info)})),fetch("https://hippyjs.org",{mode:"no-cors"}).then((function(e){u.value="成功状态: ".concat(e.status)})).catch((function(e){u.value="收到错误: ".concat(e)})),v.EventBus.$on("testEvent",(function(){f.value+=1}))})),{Native:v.Native,rect1:r,rect2:a,rectRef:l,storageValue:t,storageSetStatus:e,imageSize:n,netInfoText:o,superProps:i,fetchText:u,cookieString:s,cookiesValue:d,getSize:p,setItem:function(){v.Native.AsyncStorage.setItem("itemKey","hippy"),e.value='set "hippy" value succeed'},getItem:b,removeItem:function(){v.Native.AsyncStorage.removeItem("itemKey"),e.value='remove "hippy" value succeed'},setCookie:function(){v.Native.Cookie.set("https://hippyjs.org","name=hippy;network=mobile"),s.value="'name=hippy;network=mobile' is set"},getCookie:function(){v.Native.Cookie.getAll("https://hippyjs.org").then((function(e){d.value=e}))},getBoundingClientRect:g,triggerAppEvent:function(){v.EventBus.$emit("testEvent")},eventTriggeredTimes:f}},beforeDestroy(){Ge&&v.Native.NetInfo.removeEventListener("change",Ge),v.EventBus.$off("testEvent")}});n(93);var qe=s()(Je,[["render",function(e,t,n,o,r,a){var c,l;return Object(i.t)(),Object(i.f)("div",{id:"demo-vue-native",ref:"rectRef"},[Object(i.g)("div",null,[Object(i.e)(" platform "),e.Native.Platform?(Object(i.t)(),Object(i.f)("div",{key:0,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Platform"),Object(i.g)("p",null,Object(i.D)(e.Native.Platform),1)])):Object(i.e)("v-if",!0),Object(i.e)(" device name "),Object(i.g)("div",{class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Device"),Object(i.g)("p",null,Object(i.D)(e.Native.Device),1)]),Object(i.e)(" Is it an iPhone X "),e.Native.isIOS()?(Object(i.t)(),Object(i.f)("div",{key:1,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.isIPhoneX"),Object(i.g)("p",null,Object(i.D)(e.Native.isIPhoneX),1)])):Object(i.e)("v-if",!0),Object(i.e)(" OS version, currently only available for iOS, other platforms return null "),e.Native.isIOS()?(Object(i.t)(),Object(i.f)("div",{key:2,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.OSVersion"),Object(i.g)("p",null,Object(i.D)(e.Native.OSVersion||"null"),1)])):Object(i.e)("v-if",!0),Object(i.e)(" Internationalization related information "),Object(i.g)("div",{class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Localization"),Object(i.g)("p",null,Object(i.D)("国际化相关信息")),Object(i.g)("p",null,Object(i.D)("国家 ".concat(null===(c=e.Native.Localization)||void 0===c?void 0:c.country)),1),Object(i.g)("p",null,Object(i.D)("语言 ".concat(null===(l=e.Native.Localization)||void 0===l?void 0:l.language)),1),Object(i.g)("p",null,Object(i.D)("方向 ".concat(1===e.Native.Localization.direction?"RTL":"LTR")),1)]),Object(i.e)(" API version, currently only available for Android, other platforms return null "),e.Native.isAndroid()?(Object(i.t)(),Object(i.f)("div",{key:3,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.APILevel"),Object(i.g)("p",null,Object(i.D)(e.Native.APILevel||"null"),1)])):Object(i.e)("v-if",!0),Object(i.e)(" Whether the screen is vertically displayed "),Object(i.g)("div",{class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.screenIsVertical"),Object(i.g)("p",null,Object(i.D)(e.Native.screenIsVertical),1)]),Object(i.e)(" width of window "),e.Native.Dimensions.window.width?(Object(i.t)(),Object(i.f)("div",{key:4,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.width"),Object(i.g)("p",null,Object(i.D)(e.Native.Dimensions.window.width),1)])):Object(i.e)("v-if",!0),Object(i.e)(" The height of the window, it should be noted that both platforms include the status bar. "),Object(i.e)(" Android will start drawing from the first pixel below the status bar. "),e.Native.Dimensions.window.height?(Object(i.t)(),Object(i.f)("div",{key:5,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.height"),Object(i.g)("p",null,Object(i.D)(e.Native.Dimensions.window.height),1)])):Object(i.e)("v-if",!0),Object(i.e)(" width of screen "),e.Native.Dimensions.screen.width?(Object(i.t)(),Object(i.f)("div",{key:6,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.width"),Object(i.g)("p",null,Object(i.D)(e.Native.Dimensions.screen.width),1)])):Object(i.e)("v-if",!0),Object(i.e)(" height of screen "),e.Native.Dimensions.screen.height?(Object(i.t)(),Object(i.f)("div",{key:7,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.height"),Object(i.g)("p",null,Object(i.D)(e.Native.Dimensions.screen.height),1)])):Object(i.e)("v-if",!0),Object(i.e)(" the pt value of a pixel "),Object(i.g)("div",{class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.OnePixel"),Object(i.g)("p",null,Object(i.D)(e.Native.OnePixel),1)]),Object(i.e)(" Android Navigation Bar Height "),e.Native.Dimensions.screen.navigatorBarHeight?(Object(i.t)(),Object(i.f)("div",{key:8,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight"),Object(i.g)("p",null,Object(i.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(i.e)("v-if",!0),Object(i.e)(" height of status bar "),e.Native.Dimensions.screen.statusBarHeight?(Object(i.t)(),Object(i.f)("div",{key:9,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.statusBarHeight"),Object(i.g)("p",null,Object(i.D)(e.Native.Dimensions.screen.statusBarHeight),1)])):Object(i.e)("v-if",!0),Object(i.e)(" android virtual navigation bar height "),e.Native.isAndroid()&&void 0!==e.Native.Dimensions.screen.navigatorBarHeight?(Object(i.t)(),Object(i.f)("div",{key:10,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight(Android only)"),Object(i.g)("p",null,Object(i.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(i.e)("v-if",!0),Object(i.e)(" The startup parameters passed from the native "),e.superProps?(Object(i.t)(),Object(i.f)("div",{key:11,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"afterCallback of $start method contain superProps"),Object(i.g)("p",null,Object(i.D)(e.superProps),1)])):Object(i.e)("v-if",!0),Object(i.e)(" A demo of Native Event,Just show how to use "),Object(i.g)("div",{class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"App event"),Object(i.g)("div",null,[Object(i.g)("button",{class:"event-btn",onClick:t[0]||(t[0]=function(){return e.triggerAppEvent&&e.triggerAppEvent.apply(e,arguments)})},[Object(i.g)("span",{class:"event-btn-text"},"Trigger app event")]),Object(i.g)("div",{class:"event-btn-result"},[Object(i.g)("p",null,"Event triggered times: "+Object(i.D)(e.eventTriggeredTimes),1)])])]),Object(i.e)(" example of measuring the size of an element "),Object(i.g)("div",{ref:"measure-block",class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.getBoundingClientRect"),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[1]||(t[1]=function(){return e.getBoundingClientRect(!1)})},[Object(i.g)("span",null,"relative to App")]),Object(i.g)("span",{style:{"max-width":"200px"}},Object(i.D)(e.rect1),1)]),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[2]||(t[2]=function(){return e.getBoundingClientRect(!0)})},[Object(i.g)("span",null,"relative to Container")]),Object(i.g)("span",{style:{"max-width":"200px"}},Object(i.D)(e.rect2),1)])],512),Object(i.e)(" local storage "),e.Native.AsyncStorage?(Object(i.t)(),Object(i.f)("div",{key:12,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"AsyncStorage 使用"),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[3]||(t[3]=function(){return e.setItem&&e.setItem.apply(e,arguments)})},[Object(i.g)("span",null,"setItem")]),Object(i.g)("span",null,Object(i.D)(e.storageSetStatus),1)]),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[4]||(t[4]=function(){return e.removeItem&&e.removeItem.apply(e,arguments)})},[Object(i.g)("span",null,"removeItem")]),Object(i.g)("span",null,Object(i.D)(e.storageSetStatus),1)]),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[5]||(t[5]=function(){return e.getItem&&e.getItem.apply(e,arguments)})},[Object(i.g)("span",null,"getItem")]),Object(i.g)("span",null,Object(i.D)(e.storageValue),1)])])):Object(i.e)("v-if",!0),Object(i.e)(" ImageLoader "),e.Native.ImageLoader?(Object(i.t)(),Object(i.f)("div",{key:13,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"ImageLoader 使用"),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[6]||(t[6]=function(){return e.getSize&&e.getSize.apply(e,arguments)})},[Object(i.g)("span",null,"getSize")]),Object(i.g)("span",null,Object(i.D)(e.imageSize),1)])])):Object(i.e)("v-if",!0),Object(i.e)(" Fetch "),Object(i.g)("div",{class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Fetch 使用"),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("span",null,Object(i.D)(e.fetchText),1)])]),Object(i.e)(" network info "),e.Native.NetInfo?(Object(i.t)(),Object(i.f)("div",{key:14,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"NetInfo 使用"),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("span",null,Object(i.D)(e.netInfoText),1)])])):Object(i.e)("v-if",!0),Object(i.e)(" Cookie "),e.Native.Cookie?(Object(i.t)(),Object(i.f)("div",{key:15,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Cookie 使用"),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[7]||(t[7]=function(){return e.setCookie&&e.setCookie.apply(e,arguments)})},[Object(i.g)("span",null,"setCookie")]),Object(i.g)("span",null,Object(i.D)(e.cookieString),1)]),Object(i.g)("div",{class:"item-wrapper"},[Object(i.g)("button",{class:"item-button",onClick:t[8]||(t[8]=function(){return e.getCookie&&e.getCookie.apply(e,arguments)})},[Object(i.g)("span",null,"getCookie")]),Object(i.g)("span",null,Object(i.D)(e.cookiesValue),1)])])):Object(i.e)("v-if",!0),Object(i.e)(" iOS platform "),e.Native.isIOS()?(Object(i.t)(),Object(i.f)("div",{key:16,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.isIOS"),Object(i.g)("p",null,Object(i.D)(e.Native.isIOS()),1)])):Object(i.e)("v-if",!0),Object(i.e)(" Android platform "),e.Native.isAndroid()?(Object(i.t)(),Object(i.f)("div",{key:17,class:"native-block"},[Object(i.g)("label",{class:"vue-native-title"},"Native.isAndroid"),Object(i.g)("p",null,Object(i.D)(e.Native.isAndroid()),1)])):Object(i.e)("v-if",!0)])],512)}],["__scopeId","data-v-2aae558d"]]);var Qe="https://user-images.githubusercontent.com/12878546/148736841-59ce5d1c-8010-46dc-8632-01c380159237.jpg",Xe={style:1,itemBean:{title:"非洲总统出行真大牌,美制武装直升机和中国潜艇为其保驾",picList:[Qe,Qe,Qe],subInfo:["三图评论","11评"]}},Ze={style:2,itemBean:{title:"彼得·泰尔:认知未来是投资人的谋生之道",picUrl:"https://user-images.githubusercontent.com/12878546/148736850-4fc13304-25d4-4b6a-ada3-cbf0745666f5.jpg",subInfo:["左文右图"]}},$e={style:5,itemBean:{title:"愤怒!美官员扬言:“不让中国拿走南海的岛屿,南海岛礁不属于中国”?",picUrl:"https://user-images.githubusercontent.com/12878546/148736859-29e3a5b2-612a-4fdd-ad21-dc5d29fa538f.jpg",subInfo:["六眼神魔 5234播放"]}},et=[$e,Xe,Ze,Xe,Ze,Xe,Ze,$e,Xe];var tt=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:function(){}}}});var nt=s()(tt,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{class:"list-view-item style-one"},[Object(i.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(i.D)(e.itemBean.title),1),Object(i.g)("div",{class:"style-one-image-container"},[(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.itemBean.picList,(function(e,t){return Object(i.t)(),Object(i.f)("img",{key:t,src:e,alt:"",class:"image style-one-image"},null,8,["src"])})),128))]),Object(i.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(i.g)("p",{class:"normal-text"},Object(i.D)(e.itemBean.subInfo.join("")),1)])])}]]);var ot=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:function(){}}}});var rt=s()(ot,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{class:"list-view-item style-two"},[Object(i.g)("div",{class:"style-two-left-container"},[Object(i.g)("p",{class:"article-title",numberOfLines:2,enableScale:!0},Object(i.D)(e.itemBean.title),1),Object(i.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(i.g)("p",{class:"normal-text"},Object(i.D)(e.itemBean.subInfo.join("")),1)])]),Object(i.g)("div",{class:"style-two-image-container"},[Object(i.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image style-two-image"},null,8,["src"])])])}]]);var at=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:function(){}}}});var it=s()(at,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{class:"list-view-item style-five"},[Object(i.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(i.D)(e.itemBean.title),1),Object(i.g)("div",{class:"style-five-image-container"},[Object(i.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image"},null,8,["src"])]),Object(i.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(i.g)("p",{class:"normal-text"},Object(i.D)(e.itemBean.subInfo.join(" ")),1)])])}]]),ct=0,lt=Object(c.ref)({top:0,left:0}),ut=function(){var e=P()(R.a.mark((function e(){return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){setTimeout((function(){return e(et)}),800)})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),st=Object(c.defineComponent)({components:{StyleOne:nt,StyleTwo:rt,StyleFive:it},setup(){var e=Object(c.ref)(null),t=Object(c.ref)(null),n=Object(c.ref)(null),o=Object(c.ref)(r()(et)),a=!1,i=!1,l=Object(c.ref)(""),u=Object(c.ref)("继续下拉触发刷新"),s=Object(c.ref)("正在加载..."),d=function(){var e=P()(R.a.mark((function e(){return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=2;break}return e.abrupt("return");case 2:return i=!0,console.log("onHeaderReleased"),u.value="刷新数据中,请稍等",e.next=7,ut();case 7:o.value=e.sent,o.value=o.value.reverse(),i=!1,u.value="2秒后收起",t.value&&t.value.collapsePullHeader({time:2e3});case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),f=function(){var e=P()(R.a.mark((function e(t){var i;return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("endReached",t),!a){e.next=3;break}return e.abrupt("return");case 3:return a=!0,s.value="加载更多...",e.next=7,ut();case 7:0===(i=e.sent).length&&(s.value="没有更多数据"),o.value=[].concat(r()(o.value),r()(i)),a=!1,n.value&&n.value.collapsePullFooter();case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(c.onMounted)((function(){a=!1,i=!1,o.value=r()(et),ct=null!==v.Native&&void 0!==v.Native&&v.Native.Dimensions?v.Native.Dimensions.window.height:window.innerHeight,t.value&&t.value.collapsePullHeader({time:2e3})})),{loadingState:l,dataSource:o,headerRefreshText:u,footerRefreshText:s,list:e,pullHeader:t,pullFooter:n,onEndReached:f,onHeaderReleased:d,onHeaderIdle:function(){},onHeaderPulling:function(e){i||(console.log("onHeaderPulling",e.contentOffset),e.contentOffset>30?u.value="松手,即可触发刷新":u.value="继续下拉,触发刷新")},onFooterIdle:function(){},onFooterPulling:function(e){console.log("onFooterPulling",e)},onScroll:function(e){e.stopPropagation(),lt.value={top:e.offsetY,left:e.offsetX}},scrollToNextPage:function(){if(v.Native){if(e.value){var t=e.value;console.log("scroll to next page",e,lt.value,ct);var n=lt.value.top+ct-200;t.scrollTo({left:lt.value.left,top:n,behavior:"auto",duration:200})}}else alert("This method is only supported in Native environment.")},scrollToBottom:function(){if(v.Native){if(e.value){var t=e.value;t.scrollToIndex(0,t.childNodes.length-1)}}else alert("This method is only supported in Native environment.")}}}});n(94);var dt=s()(st,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("pull-header"),l=Object(i.z)("style-one"),u=Object(i.z)("style-two"),s=Object(i.z)("style-five"),d=Object(i.z)("pull-footer");return Object(i.t)(),Object(i.f)("div",{id:"demo-pull-header-footer","specital-attr":"pull-header-footer"},[Object(i.g)("div",{class:"toolbar"},[Object(i.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=function(){return e.scrollToNextPage&&e.scrollToNextPage.apply(e,arguments)})},[Object(i.g)("span",null,"翻到下一页")]),Object(i.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=function(){return e.scrollToBottom&&e.scrollToBottom.apply(e,arguments)})},[Object(i.g)("span",null,"翻动到底部")]),Object(i.g)("p",{class:"toolbar-text"}," 列表元素数量:"+Object(i.D)(e.dataSource.length),1)]),Object(i.g)("ul",{id:"list",ref:"list",numberOfRows:e.dataSource.length,rowShouldSticky:!0,onScroll:t[2]||(t[2]=function(){return e.onScroll&&e.onScroll.apply(e,arguments)})},[Object(i.h)(" /** * 下拉组件 * * 事件: * idle: 滑动距离在 pull-header 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-header 后触发一次,参数 contentOffset,滑动距离 * refresh: 滑动超出距离,松手后触发一次 */ "),Object(i.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(i.H)((function(){return[Object(i.g)("p",{class:"ul-refresh-text"},Object(i.D)(e.headerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"]),(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.dataSource,(function(e,t){return Object(i.t)(),Object(i.f)("li",{key:t,class:"item-style",type:"row-"+e.style,sticky:0===t},[1===e.style?(Object(i.t)(),Object(i.d)(l,{key:0,"item-bean":e.itemBean},null,8,["item-bean"])):Object(i.e)("v-if",!0),2===e.style?(Object(i.t)(),Object(i.d)(u,{key:1,"item-bean":e.itemBean},null,8,["item-bean"])):Object(i.e)("v-if",!0),5===e.style?(Object(i.t)(),Object(i.d)(s,{key:2,"item-bean":e.itemBean},null,8,["item-bean"])):Object(i.e)("v-if",!0)],8,["type","sticky"])})),128)),Object(i.h)(" /** * 上拉组件 * > 如果不需要显示加载情况,可以直接使用 ul 的 onEndReached 实现一直加载 * * 事件: * idle: 滑动距离在 pull-footer 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-footer 后触发一次,参数 contentOffset,滑动距离 * released: 滑动超出距离,松手后触发一次 */ "),Object(i.i)(d,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(i.H)((function(){return[Object(i.g)("p",{class:"pull-footer-text"},Object(i.D)(e.footerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"])],40,["numberOfRows"])])}],["__scopeId","data-v-52ecb6dc"]]);var ft=Object(c.defineComponent)({setup(){var e=Object(c.ref)("idle"),t=Object(c.ref)(2),n=Object(c.ref)(2);return{dataSource:new Array(7).fill(0).map((function(e,t){return t})),currentSlide:t,currentSlideNum:n,state:e,scrollToNextPage:function(){console.log("scroll next",t.value,n.value),t.value<7?t.value=n.value+1:t.value=0},scrollToPrevPage:function(){console.log("scroll prev",t.value,n.value),0===t.value?t.value=6:t.value=n.value-1},onDragging:function(e){console.log("Current offset is",e.offset,"and will into slide",e.nextSlide+1)},onDropped:function(e){console.log("onDropped",e),n.value=e.currentSlide},onStateChanged:function(t){console.log("onStateChanged",t),e.value=t.state}}}});n(95);var bt=s()(ft,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("swiper-slide"),l=Object(i.z)("swiper");return Object(i.t)(),Object(i.f)("div",{id:"demo-swiper"},[Object(i.g)("div",{class:"toolbar"},[Object(i.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=function(){return e.scrollToPrevPage&&e.scrollToPrevPage.apply(e,arguments)})},[Object(i.g)("span",null,"翻到上一页")]),Object(i.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=function(){return e.scrollToNextPage&&e.scrollToNextPage.apply(e,arguments)})},[Object(i.g)("span",null,"翻到下一页")]),Object(i.g)("p",{class:"toolbar-text"}," 当前第 "+Object(i.D)(e.currentSlideNum+1)+" 页 ",1)]),Object(i.e)('\n swiper 组件参数\n @param {Number} currentSlide 当前页面,也可以直接修改它改变当前页码,默认 0\n @param {Boolean} needAnimation 是否需要动画,如果切换时不要动画可以设置为 :needAnimation="false",默认为 true\n @param {Function} dragging 当拖拽时执行回调,参数是个 Event,包含 offset 拖拽偏移值和 nextSlide 将进入的页码\n @param {Function} dropped 结束拖拽时回调,参数是个 Event,包含 currentSlide 最后选择的页码\n '),Object(i.i)(l,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,onDragging:e.onDragging,onDropped:e.onDropped,onStateChanged:e.onStateChanged},{default:Object(i.H)((function(){return[Object(i.e)(" slides "),(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.dataSource,(function(e){return Object(i.t)(),Object(i.d)(c,{key:e,style:Object(i.p)({backgroundColor:4278222848+100*e})},{default:Object(i.H)((function(){return[Object(i.g)("p",null,"I'm Slide "+Object(i.D)(e+1),1)]})),_:2},1032,["style"])})),128))]})),_:1},8,["current","onDragging","onDropped","onStateChanged"]),Object(i.e)(" A Demo of dots "),Object(i.g)("div",{id:"swiper-dots"},[(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.dataSource,(function(t){return Object(i.t)(),Object(i.f)("div",{key:t,class:Object(i.o)(["dot",{hightlight:e.currentSlideNum===t}])},null,2)})),128))])])}]]);var pt=0,gt={top:0,left:5,bottom:0,right:5},vt="android"===v.Native.Platform,mt=function(){var e=P()(R.a.mark((function e(){return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){setTimeout((function(){return e((pt+=1)>=50?[]:[].concat(r()(et),r()(et)))}),600)})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ht=Object(c.defineComponent)({components:{StyleOne:nt,StyleTwo:rt,StyleFive:it},setup(){var e=Object(c.ref)([].concat(r()(et),r()(et),r()(et),r()(et))),t=!1,n=!1,o=Object(c.ref)(!1),a=Object(c.ref)("正在加载..."),i=Object(c.ref)(null),l=Object(c.ref)(null),u="继续下拉触发刷新",s="正在加载...",d=Object(c.computed)((function(){return o.value?"正在刷新":"下拉刷新"})),f=Object(c.ref)(null),b=Object(c.ref)(null),p=Object(c.computed)((function(){return(v.Native.Dimensions.screen.width-gt.left-gt.right-6)/2})),g=function(){var t=P()(R.a.mark((function t(){var n;return R.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.value=!0,t.next=3,mt();case 3:n=t.sent,o.value=!1,e.value=n.reverse(),b.value&&b.value.refreshCompleted();case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),m=function(){var e=P()(R.a.mark((function e(){return R.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=2;break}return e.abrupt("return");case 2:n=!0,console.log("onHeaderReleased"),u="刷新数据中,请稍等",n=!1,u="2秒后收起",i.value&&i.value.collapsePullHeader({time:2e3});case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=function(){var n=P()(R.a.mark((function n(){var o;return R.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(console.log("end Reached"),!t){n.next=3;break}return n.abrupt("return");case 3:return t=!0,s="加载更多...",n.next=7,mt();case 7:0===(o=n.sent).length&&(s="没有更多数据"),e.value=[].concat(r()(e.value),r()(o)),t=!1,l.value&&l.value.collapsePullFooter();case 12:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return{dataSource:e,isRefreshing:o,refreshText:d,STYLE_LOADING:100,loadingState:a,header:b,gridView:f,contentInset:gt,columnSpacing:6,interItemSpacing:6,numberOfColumns:2,itemWidth:p,onScroll:function(e){console.log("waterfall onScroll",e)},onRefresh:g,onEndReached:h,onClickItem:function(e){f.value&&f.value.scrollToIndex({index:e,animation:!0})},isAndroid:vt,onHeaderPulling:function(e){n||(console.log("onHeaderPulling",e.contentOffset),u=e.contentOffset>30?"松手,即可触发刷新":"继续下拉,触发刷新")},onFooterPulling:function(e){console.log("onFooterPulling",e)},onHeaderIdle:function(){},onFooterIdle:function(){},onHeaderReleased:m,headerRefreshText:u,footerRefreshText:s,loadMoreDataFlag:t,pullHeader:i,pullFooter:l}}});n(96);var Ot=s()(ht,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("pull-header"),l=Object(i.z)("waterfall-item"),u=Object(i.z)("style-one"),s=Object(i.z)("style-two"),d=Object(i.z)("style-five"),f=Object(i.z)("pull-footer"),b=Object(i.z)("waterfall");return Object(i.t)(),Object(i.f)("div",{id:"demo-waterfall"},[Object(i.i)(b,{ref:"gridView","content-inset":e.contentInset,"column-spacing":e.columnSpacing,"contain-banner-view":!e.isAndroid,"contain-pull-footer":!0,"inter-item-spacing":e.interItemSpacing,"number-of-columns":e.numberOfColumns,"preload-item-number":4,style:{flex:1},onEndReached:e.onEndReached,onScroll:e.onScroll},{default:Object(i.H)((function(){return[Object(i.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(i.H)((function(){return[Object(i.g)("p",{class:"ul-refresh-text"},Object(i.D)(e.headerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"]),e.isAndroid?(Object(i.t)(),Object(i.d)(l,{key:1,"full-span":!0,class:"banner-view"},{default:Object(i.H)((function(){return[Object(i.g)("span",null,"BannerView")]})),_:1})):(Object(i.t)(),Object(i.f)("div",{key:0,class:"banner-view"},[Object(i.g)("span",null,"BannerView")])),(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.dataSource,(function(t,n){return Object(i.t)(),Object(i.d)(l,{key:n,style:Object(i.p)({width:e.itemWidth}),type:t.style,onClick:Object(i.J)((function(){return e.onClickItem(n)}),["stop"])},{default:Object(i.H)((function(){return[1===t.style?(Object(i.t)(),Object(i.d)(u,{key:0,"item-bean":t.itemBean},null,8,["item-bean"])):Object(i.e)("v-if",!0),2===t.style?(Object(i.t)(),Object(i.d)(s,{key:1,"item-bean":t.itemBean},null,8,["item-bean"])):Object(i.e)("v-if",!0),5===t.style?(Object(i.t)(),Object(i.d)(d,{key:2,"item-bean":t.itemBean},null,8,["item-bean"])):Object(i.e)("v-if",!0)]})),_:2},1032,["style","type","onClick"])})),128)),Object(i.i)(f,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(i.H)((function(){return[Object(i.g)("p",{class:"pull-footer-text"},Object(i.D)(e.footerRefreshText),1)]})),_:1},8,["onIdle","onPulling","onReleased"])]})),_:1},8,["content-inset","column-spacing","contain-banner-view","inter-item-spacing","number-of-columns","onEndReached","onScroll"])])}],["__scopeId","data-v-056a0bc2"]]);var jt=Object(c.defineComponent)({setup(){var e=Object(c.ref)(0),t=Object(c.ref)(0);return{layoutHeight:e,currentSlide:t,onLayout:function(t){e.value=t.height},onTabClick:function(e){t.value=e-1},onDropped:function(e){t.value=e.currentSlide}}}});n(97);var yt={demoNative:{name:"Native 能力",component:qe},demoAnimation:{name:"animation 组件",component:ze},demoDialog:{name:"dialog 组件",component:We},demoSwiper:{name:"swiper 组件",component:bt},demoPullHeaderFooter:{name:"pull header/footer 组件",component:dt},demoWaterfall:{name:"waterfall 组件",component:Ot},demoNestedScroll:{name:"nested scroll 示例",component:s()(jt,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("swiper-slide"),l=Object(i.z)("swiper");return Object(i.t)(),Object(i.f)("div",{id:"demo-wrap",onLayout:t[0]||(t[0]=function(){return e.onLayout&&e.onLayout.apply(e,arguments)})},[Object(i.g)("div",{id:"demo-content"},[Object(i.g)("div",{id:"banner"}),Object(i.g)("div",{id:"tabs"},[(Object(i.t)(),Object(i.f)(i.a,null,Object(i.x)(2,(function(t){return Object(i.g)("p",{key:"tab"+t,class:Object(i.o)(e.currentSlide===t-1?"selected":""),onClick:function(n){return e.onTabClick(t)}}," tab "+Object(i.D)(t)+" "+Object(i.D)(1===t?"(parent first)":"(self first)"),11,["onClick"])})),64))]),Object(i.i)(l,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,style:Object(i.p)({height:e.layoutHeight-80}),onDropped:e.onDropped},{default:Object(i.H)((function(){return[Object(i.i)(c,{key:"slide1"},{default:Object(i.H)((function(){return[Object(i.g)("ul",{nestedScrollTopPriority:"parent"},[(Object(i.t)(),Object(i.f)(i.a,null,Object(i.x)(30,(function(e){return Object(i.g)("li",{key:"item"+e,class:Object(i.o)(e%2?"item-even":"item-odd")},[Object(i.g)("p",null,"Item "+Object(i.D)(e),1)],2)})),64))])]})),_:1}),Object(i.i)(c,{key:"slide2"},{default:Object(i.H)((function(){return[Object(i.g)("ul",{nestedScrollTopPriority:"self"},[(Object(i.t)(),Object(i.f)(i.a,null,Object(i.x)(30,(function(e){return Object(i.g)("li",{key:"item"+e,class:Object(i.o)(e%2?"item-even":"item-odd")},[Object(i.g)("p",null,"Item "+Object(i.D)(e),1)],2)})),64))])]})),_:1})]})),_:1},8,["current","style","onDropped"])])],32)}],["__scopeId","data-v-72406cea"]])},demoSetNativeProps:{name:"setNativeProps",component:Ae}};var wt=Object(c.defineComponent)({name:"App",setup(){var e=Object.keys(ye).map((function(e){return{id:e,name:ye[e].name}})),t=Object.keys(yt).map((function(e){return{id:e,name:yt[e].name}}));return Object(c.onMounted)((function(){})),{featureList:e,nativeFeatureList:t,version:c.version,Native:v.Native}}});n(98);var At=s()(wt,[["render",function(e,t,n,o,r,a){var c=Object(i.z)("router-link");return Object(i.t)(),Object(i.f)("ul",{class:"feature-list"},[Object(i.g)("li",null,[Object(i.g)("div",{id:"version-info"},[Object(i.g)("p",{class:"feature-title"}," Vue: "+Object(i.D)(e.version),1),e.Native?(Object(i.t)(),Object(i.f)("p",{key:0,class:"feature-title"}," Hippy-Vue-Next: "+Object(i.D)("unspecified"!==e.Native.version?e.Native.version:"master"),1)):Object(i.e)("v-if",!0)])]),Object(i.g)("li",null,[Object(i.g)("p",{class:"feature-title"}," 浏览器组件 Demos ")]),(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.featureList,(function(e){return Object(i.t)(),Object(i.f)("li",{key:e.id,class:"feature-item"},[Object(i.i)(c,{to:{path:"/demo/".concat(e.id)},class:"button"},{default:Object(i.H)((function(){return[Object(i.h)(Object(i.D)(e.name),1)]})),_:2},1032,["to"])])})),128)),e.nativeFeatureList.length?(Object(i.t)(),Object(i.f)("li",{key:0},[Object(i.g)("p",{class:"feature-title",paintType:"fcp"}," 终端组件 Demos ")])):Object(i.e)("v-if",!0),(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.nativeFeatureList,(function(e){return Object(i.t)(),Object(i.f)("li",{key:e.id,class:"feature-item"},[Object(i.i)(c,{to:{path:"/demo/".concat(e.id)},class:"button"},{default:Object(i.H)((function(){return[Object(i.h)(Object(i.D)(e.name),1)]})),_:2},1032,["to"])])})),128))])}],["__scopeId","data-v-63300fa4"]]);var xt=Object(c.defineComponent)({setup(){var e=Object(c.ref)("http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy"),t=Object(c.ref)(null);return{bundleUrl:e,styles:{tipText:{color:"#242424",marginBottom:12},button:{width:200,height:40,borderRadius:8,backgroundColor:"#4c9afa",alignItems:"center",justifyContent:"center"},buttonText:{fontSize:16,textAlign:"center",lineHeight:40,color:"#fff"},buttonContainer:{alignItems:"center",justifyContent:"center"}},tips:["安装远程调试依赖: npm i -D @hippy/debug-server-next@latest","修改 webpack 配置,添加远程调试地址","运行 npm run hippy:dev 开始编译,编译结束后打印出 bundleUrl 及调试首页地址","粘贴 bundleUrl 并点击开始按钮","访问调试首页开始远程调试,远程调试支持热更新(HMR)"],inputRef:t,blurInput:function(){t.value&&t.value.blur()},openBundle:function(){if(e.value){var t=Object(Ke.a)().rootViewId;v.Native.callNative("TestModule","remoteDebug",t,e.value)}}}}});n(99);var Ct=[{path:"/",component:At},{path:"/remote-debug",component:s()(xt,[["render",function(e,t,n,o,r,a){return Object(i.t)(),Object(i.f)("div",{ref:"inputDemo",class:"demo-remote-input",onClick:t[2]||(t[2]=Object(i.J)((function(){return e.blurInput&&e.blurInput.apply(e,arguments)}),["stop"]))},[Object(i.g)("div",{class:"tips-wrap"},[(Object(i.t)(!0),Object(i.f)(i.a,null,Object(i.x)(e.tips,(function(t,n){return Object(i.t)(),Object(i.f)("p",{key:n,class:"tips-item",style:Object(i.p)(e.styles.tipText)},Object(i.D)(n+1)+". "+Object(i.D)(t),5)})),128))]),Object(i.g)("input",{ref:"inputRef",value:e.bundleUrl,"caret-color":"yellow",placeholder:"please input bundleUrl",multiple:!0,numberOfLines:"4",class:"remote-input",onClick:Object(i.J)((function(){}),["stop"]),onChange:t[0]||(t[0]=function(t){return e.bundleUrl=t.value})},null,40,["value"]),Object(i.g)("div",{class:"buttonContainer",style:Object(i.p)(e.styles.buttonContainer)},[Object(i.g)("button",{style:Object(i.p)(e.styles.button),class:"input-button",onClick:t[1]||(t[1]=Object(i.J)((function(){return e.openBundle&&e.openBundle.apply(e,arguments)}),["stop"]))},[Object(i.g)("span",{style:Object(i.p)(e.styles.buttonText)},"开始",4)],4)],4)],512)}],["__scopeId","data-v-c92250fe"]]),name:"Debug"}].concat(r()(Object.keys(ye).map((function(e){return{path:"/demo/".concat(e),name:ye[e].name,component:ye[e].component}}))),r()(Object.keys(yt).map((function(e){return{path:"/demo/".concat(e),name:yt[e].name,component:yt[e].component}}))));function St(){return Object(a.createHippyRouter)({routes:Ct})}},function(e,t,n){"use strict";var o=n(0);var r=n(1),a=n(13),i=Object(r.defineComponent)({name:"App",setup(){var e=Object(a.useRouter)(),t=Object(a.useRoute)(),n=Object(r.ref)(""),o=Object(r.ref)(0),i=Object(r.ref)([{text:"API",path:"/"},{text:"调试",path:"/remote-debug"}]);return{activatedTab:o,backButtonImg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAIPUlEQVR4Xu2dT8xeQxTGn1O0GiWEaEJCWJCwQLBo/WnRSqhEJUQT0W60G+1Ku1SS2mlXaqM2KqJSSUlajVb9TViwYEHCQmlCQghRgqKPTHLK7Zfvfd97Zt5535l7z91+58zce57fnfe7d+Y+I/Cj1xWQXl+9XzwcgJ5D4AA4AD2vQM8v30cAB6DnFZjA5ZO8VUTenEBX5i58BDCXzJZA8ikA6wFsFpEttuz80Q5AxhqTfAbA2kYXW0VkU8YuzU07AOaStUsg+RyA1bNEFwWBA9BOz9ZRJOcAeAHAqiFJ20VkQ+tGMwY6AGMsLslTAOwGcE+LZneIyLoWcVlDHIAxlVfFfxXACkOTO0VkjSF+7KEOwJhKSnIfgDuNzf0M4BoR+cqYN7ZwByCxlCTnAtgLYLmxqR8ALBGRz4x5Yw13ABLKSfJ0APsBLDU28x2Am0XkC2Pe2MMdgMiSkjwDwAEAi41NBPEXichhY16WcAcgoqwkzwRwCMD1xvRvANxUivjh3B0Ao4IkzwbwFoCrjalf67B/xJiXNdwBMJSX5LkA3gFwpSEthH6pd/63xrzs4Q5AyxKTPB/AuwAub5lyIuxzvfO/N+ZNJNwBaFFmkhcAeA/ApS3CmyGf6qPej8a8iYU7ACNKTfIivfMvNqryMYBbRCS87Cn2cACGSKPivw/gQqOCQfzwnH/UmDfxcAdgQMlJXqLDvlX8DwHcVoP4/hg4WPzLdNhfaLwlw2hxu4j8ZsybWriPADNKT/IKfdQ7z6jK2wDuEJE/jHlTDXcAGuUneZW+5DnHqMpBAHeJyDFj3tTDHQCVgOR1+nr3LKMqYRp4pYj8bcwrItwBAEBykU7sLDCqsgfAfSLyjzGvmPDeA0ByiU7pzjeqEsS/V0SOG/OKCu81ACSX6WKOeUZVdgF4oHbxe/0YSDIs33oFwGlG8ae+js94vkPDezkCkFypq3dPNRaziJW8xnN2AJoVIHm/rtsPS7gtRzFr+S0nPSq2VyOAiv9ixEKYor7mGSWq5e+9AYDkgwDC51rWa94iIpstRa0p1lqMmq7tv3Ml+RCA8KGm9Xo3isi2Ki+65UlbC9Ky2XLCSD4MYHvEGXVe/M4/BpJ8BMDWCPHXi8jTEXnVpXR2BCD5OIDHjIoQwDoRedaYV214JwEg+SSAjUZVgvhrROR5Y17V4Z0DoGHJYhEmTOaEV7svWZK6ENspAGaxZGmjUZjGDTN64bVw747OADDEkmWYqEH8u0Xktd4prxdcPQAtLVlm0/cvXcjRW/GrfwxU8V9uacnShOBPXcL1Rl/v/BPXXe0IYPTjaer8uy7eDN/49f6oEgCSYRo3/NNm8eMJYv+qy7Y/6L3ytf4PkGDJ8ot+sPGRi/9/BaoaARIsWX7S7/Q+cfFPrkA1ACRYsgTxb5y2GVOp4FUBQIIlSxFOXKWKX8VjYIIlSzFOXA5AZAUSLFmKM2OKLEH2tGJ/AhIsWYo0Y8quZGQHRQKQYMlSrBlTpD7Z04oDIMGSpWgzpuxKRnZQFACJ4t8gIsWaMUXqkz2tGAASLFmKd+LKrmJCB0UAQDLWkqUKJ64EfbKnTh2ABEuWqsyYsisZ2cFUAUiwZKnOjClSn+xpUwMgwZKlSjOm7EpGdlAjAOHuDz58VblxReqTPW1qAIQr85+A7PqO7GCqACgEsb58/k/gSHlHB0wdAIXAHwNHa5UloggAFIJYb15/EZSARjEAKASx1uw+DxAJQVEAKASxmzP4TGAEBMUBoBCE7VnC0m3rDh1hLcBiESlub54IbSaSUiQADQhi9ujxBSEGdIoFQCGI3aXLl4S1hKBoABSC2H36fFFoCwiKB0AhiN2p05eFj4CgCgAUgti9ev2roCEQVAOAQhC7W3f4LjDs4uWfhs2AoSoAFIK5avG+vMVPXDPEPw6dpWDVAaAQ+OfhRvoHhVcJgEIQ3L53R7iDuEFEg4ZqAVAI5qj1+yrjDeEWMVqwqgE4ITrJYAFvhcBNoiLcs4032uTCE2zieusRGNTpxAjQGAmCJfxaI3bBJTTs/uVGkcbCFRnuVrE2WTo1AjRGAjeLbslBJwHQJ4RgFR8s4y2H28VbqlV6rG8YMVqhzo4AjZ8D3zJmCAedB0B/DnzTqAEQ9AIAhSB227gnROTR0YNpnRG9AUAhCLuG+saRXZkLiLnnfOvYk6vWqxGg8Y+hbx7dpcmgyJHAt4/v2lyAFQSSy3R10Txj7i7dZey4Ma+48F7+BDRVILkEwH4A843q7NFJpKoh6D0A+nSwCMABAAsiIAjTyWFGscrDAVDZEjyL9unuY2ELuuoOB6AhWYJlzUHdhexYbQQ4ADMUS/AtrNK9zAGY5ZZNcC6tzr/QARgwZqt3cfAoWGgc1qsyr3IAhqibYGAdPIzDp2hHjfBMPNwBGFHyBAv7KoysHYAW91zCDibFO5g5AC0A0JdFwbcoxrKmaAczB6AlAApBrGVNsQ5mDoABAIUg1rKmSPMqB8AIgEIQa1kTzKuCjd2RiG6zpDgAkWVN2Mu4KAczByASAB0JYi1rinEwcwASAFAIgmXN6wCWGpsqwsHMATCqNiic5F4AK4zNBQeza0XksDFvbOEOwJhKSTLGt2iniKwZ0ylENeMARJVt9iSSFt+iHSKybozdRzXlAESVbXASyTa+RdtFZMOYu45qzgGIKtvopCGWNVtFZNPoFiYT4QBkrDPJmZY1W0Rkc8YuzU07AOaS2RIaljUbRWSbLTt/tAOQv8Zhf8Sw0eWhCXRl7sIBMJesWwkOQLf0NF+NA2AuWbcSHIBu6Wm+GgfAXLJuJTgA3dLTfDX/AlSTmJ/JwwOoAAAAAElFTkSuQmCC",currentRoute:t,subTitle:n,tabs:i,goBack:function(){e.back()},navigateTo:function(t,n){n!==o.value&&(o.value=n,e.replace({path:t.path}))}}},watch:{$route(e){void 0!==e.name?this.subTitle=e.name:this.subTitle=""}}}),c=(n(72),n(3));const l=n.n(c)()(i,[["render",function(e,t,n,r,a,i){var c=Object(o.z)("router-view");return Object(o.t)(),Object(o.f)("div",{id:"root"},[Object(o.g)("div",{id:"header"},[Object(o.g)("div",{class:"left-title"},[Object(o.I)(Object(o.g)("img",{id:"back-btn",src:e.backButtonImg,onClick:t[0]||(t[0]=function(){return e.goBack&&e.goBack.apply(e,arguments)})},null,8,["src"]),[[o.F,!["/","/debug","/remote-debug"].includes(e.currentRoute.path)]]),["/","/debug","/remote-debug"].includes(e.currentRoute.path)?(Object(o.t)(),Object(o.f)("label",{key:0,class:"title"},"Hippy Vue Next")):Object(o.e)("v-if",!0)]),Object(o.g)("label",{class:"title"},Object(o.D)(e.subTitle),1)]),Object(o.g)("div",{class:"body-container",onClick:Object(o.J)((function(){}),["stop"])},[Object(o.e)(" if you don't need keep-alive, just use '' "),Object(o.i)(c,null,{default:Object(o.H)((function(e){var t=e.Component,n=e.route;return[(Object(o.t)(),Object(o.d)(o.b,null,[(Object(o.t)(),Object(o.d)(Object(o.A)(t),{key:n.path}))],1024))]})),_:1})]),Object(o.g)("div",{class:"bottom-tabs"},[(Object(o.t)(!0),Object(o.f)(o.a,null,Object(o.x)(e.tabs,(function(t,n){return Object(o.t)(),Object(o.f)("div",{key:"tab-"+n,class:Object(o.o)(["bottom-tab",n===e.activatedTab?"activated":""]),onClick:Object(o.J)((function(o){return e.navigateTo(t,n)}),["stop"])},[Object(o.g)("span",{class:"bottom-tab-text"},Object(o.D)(t.text),1)],10,["onClick"])})),128))])])}]]);t.a=l},,,function(e,t,n){n(60),e.exports=n(61)},function(e,t,n){(function(e){!function(){if("ios"===Hippy.device.platform.OS){var t=[ReferenceError,TypeError,RangeError],n=!1;!function(r){if(e.Promise){r=r||{},n&&(n=!1,e.Promise._onHandle=null,e.Promise._onReject=null),n=!0;var a=0,i=0,c={};e.Promise._onHandle=function(e){2===e._state&&c[e._rejectionId]&&(c[e._rejectionId].logged?function(e){c[e].logged&&(r.onHandled?r.onHandled(c[e].displayId,c[e].error):c[e].onUnhandled||(console.warn("Promise Rejection Handled (id: "+c[e].displayId+"):"),console.warn(' This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+c[e].displayId+".")))}(e._rejectionId):clearTimeout(c[e._rejectionId].timeout),delete c[e._rejectionId])},e.Promise._onReject=function(e,n){0===e._deferredState&&(e._rejectionId=a++,c[e._rejectionId]={displayId:null,error:n,timeout:setTimeout(l.bind(null,e._rejectionId),o(n,t)?100:2e3),logged:!1})}}function l(e){(r.allRejections||o(c[e].error,r.whitelist||t))&&(c[e].displayId=i++,r.onUnhandled?(c[e].logged=!0,r.onUnhandled(c[e].displayId,c[e].error)):(c[e].logged=!0,function(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach((function(e){console.warn(" "+e)}))}(c[e].displayId,c[e].error)))}}({allRejections:!0,onUnhandled:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Object.prototype.toString.call(n);if("[object Error]"===o){var r=Error.prototype.toString.call(n),a=n.stack,i="Possible Unhandled Promise Rejection (id: "+t+"):\n"+(r||"")+"\n"+(null==a?"":a);console.warn(i)}else{console.warn("Possible Unhandled Promise Rejection (id: "+t+"):");var c=(n&&(n.stack||n))+"";c.split("\n").forEach((function(e){console.warn(" "+e)}))}e.Hippy.emit("unhandledRejection",n,t)},onHandled:function(){}})}function o(e,t){return t.some((function(t){return e instanceof t}))}}()}).call(this,n(7))},function(e,t,n){"use strict";n.r(t),function(e){var t=n(4),o=n(56),r=n(55),a=n(12);e.Hippy.on("uncaughtException",(function(e){console.log("uncaughtException error",e.stack,e.message)})),e.Hippy.on("unhandledRejection",(function(e){console.log("unhandledRejection reason",e)}));var i=Object(t.createApp)(o.a,{appName:"Demo",iPhone:{statusBar:{backgroundColor:4283416717}},trimWhitespace:!0}),c=Object(r.a)();i.use(c),t.EventBus.$on("onSizeChanged",(function(e){e.width&&e.height&&Object(t.setScreenSize)({width:e.width,height:e.height})}));i.$start().then((function(e){var n=e.superProps,o=e.rootViewId;Object(a.b)({superProps:n,rootViewId:o}),c.push("/"),t.BackAndroid.addListener((function(){return console.log("backAndroid"),!0})),i.mount("#root")}))}.call(this,n(7))},function(e,t,n){var o=n(16).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,o){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,o)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,c=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=a.call(n)).done)&&(c.push(o.value),c.length!==t);l=!0);}catch(e){u=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return c}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(23);e.exports=function(e){if(Array.isArray(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var o=n(16).default;function r(){"use strict"; +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=r=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},a=Object.prototype,i=a.hasOwnProperty,c=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",s=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function b(e,t,n,o){var r=t&&t.prototype instanceof O?t:O,a=Object.create(r.prototype),i=new P(o||[]);return c(a,"_invoke",{value:T(e,n,i)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=b;var g="suspendedStart",v="executing",m="completed",h={};function O(){}function j(){}function y(){}var w={};f(w,u,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(I([])));x&&x!==a&&i.call(x,u)&&(w=x);var C=y.prototype=O.prototype=Object.create(w);function S(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(r,a,c,l){var u=p(e[r],e,a);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==o(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,c,l)}),(function(e){n("throw",e,c,l)})):t.resolve(d).then((function(e){s.value=e,c(s)}),(function(e){return n("throw",e,c,l)}))}l(u.arg)}var r;c(this,"_invoke",{value:function(e,o){function a(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(a,a):a()}})}function T(e,n,o){var r=g;return function(a,i){if(r===v)throw Error("Generator is already running");if(r===m){if("throw"===a)throw i;return{value:t,done:!0}}for(o.method=a,o.arg=i;;){var c=o.delegate;if(c){var l=_(c,o);if(l){if(l===h)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===g)throw r=m,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=v;var u=p(e,n,o);if("normal"===u.type){if(r=o.done?m:"suspendedYield",u.arg===h)continue;return{value:u.arg,done:o.done}}"throw"===u.type&&(r=m,o.method="throw",o.arg=u.arg)}}}function _(e,n){var o=n.method,r=e.iterator[o];if(r===t)return n.delegate=null,"throw"===o&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;var a=p(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r=0;--r){var a=this.tryEntries[r],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;E(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,o){return this.delegate={iterator:I(e),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),h}},n}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n(24)},function(e,t,n){"use strict";n(25)},function(e,t,n){"use strict";n(26)},function(e,t,n){"use strict";n(27)},function(e,t,n){"use strict";n(28)},function(e,t,n){"use strict";n(29)},function(e,t,n){"use strict";n(30)},function(e,t,n){"use strict";n(31)},function(e,t,n){"use strict";n(32)},function(e,t,n){"use strict";n(33)},function(e,t,n){"use strict";n(34)},function(e,t,n){"use strict";n(35)},function(e,t,n){"use strict";n(36)},function(e,t,n){"use strict";n(37)},function(e,t,n){"use strict";n(38)},function(e,t,n){"use strict";n(39)},function(e,t,n){"use strict";n(40)},function(e,t,n){"use strict";n(41)},function(e,t,n){"use strict";n(42)},function(e,t,n){"use strict";n(43)},function(e,t,n){"use strict";n(44)},function(e,t,n){"use strict";n(45)},function(e,t,n){"use strict";n(46)},function(e,t,n){"use strict";n(47)},function(e,t,n){"use strict";n(48)},function(e,t,n){"use strict";n(49)},function(e,t,n){"use strict";n(50)},function(e,t,n){"use strict";n(51)}]); \ No newline at end of file diff --git a/framework/examples/ios-demo/res/vue3/vendor-manifest.json b/framework/examples/ios-demo/res/vue3/vendor-manifest.json index 4a7252c7cef..783c9df4584 100644 --- a/framework/examples/ios-demo/res/vue3/vendor-manifest.json +++ b/framework/examples/ios-demo/res/vue3/vendor-manifest.json @@ -1 +1 @@ -{"name":"hippyVueBase","content":{"../../packages/hippy-vue-next/dist/index.js":{"id":"../../packages/hippy-vue-next/dist/index.js","buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ITERATE_KEY","ReactiveEffect","ReactiveFlags","TrackOpTypes","TriggerOpTypes","computed","customRef","deferredComputed","effect","effectScope","enableTracking","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","pauseScheduling","pauseTracking","proxyRefs","reactive","readonly","ref","resetScheduling","resetTracking","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","track","trigger","triggerRef","unref"]}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ReactiveEffect","TrackOpTypes","TriggerOpTypes","customRef","effect","effectScope","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","proxyRefs","reactive","readonly","ref","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","triggerRef","unref","camelize","capitalize","normalizeClass","normalizeProps","normalizeStyle","toDisplayString","toHandlerKey","BaseTransition","BaseTransitionPropsValidators","Comment","DeprecationTypes","ErrorCodes","ErrorTypeStrings","Fragment","KeepAlive","Static","Suspense","Teleport","Text","assertNumber","callWithAsyncErrorHandling","callWithErrorHandling","cloneVNode","compatUtils","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createHydrationRenderer","createPropsRestProxy","createRenderer","createSlots","createStaticVNode","createTextVNode","createVNode","defineAsyncComponent","defineComponent","defineEmits","defineExpose","defineModel","defineOptions","defineProps","defineSlots","devtools","getCurrentInstance","getTransitionRawChildren","guardReactiveProps","h","handleError","hasInjectionContext","initCustomFormatter","inject","isMemoSame","isRuntimeOnly","isVNode","mergeDefaults","mergeModels","mergeProps","nextTick","onActivated","onBeforeMount","onBeforeUnmount","onBeforeUpdate","onDeactivated","onErrorCaptured","onMounted","onRenderTracked","onRenderTriggered","onServerPrefetch","onUnmounted","onUpdated","openBlock","popScopeId","provide","pushScopeId","queuePostFlushCb","registerRuntimeCompiler","renderList","renderSlot","resolveComponent","resolveDirective","resolveDynamicComponent","resolveFilter","resolveTransitionHooks","setBlockTracking","setDevtoolsHook","setTransitionHooks","ssrContextKey","ssrUtils","toHandlers","transformVNodeArgs","useAttrs","useModel","useSSRContext","useSlots","useTransitionState","version","warn","watch","watchEffect","watchPostEffect","watchSyncEffect","withAsyncContext","withCtx","withDefaults","withDirectives","withMemo","withScopeId"]}},"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["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"]}},"./node_modules/process/browser.js":{"id":"./node_modules/process/browser.js","buildMeta":{"providedExports":true}},"./node_modules/webpack/buildin/global.js":{"id":"./node_modules/webpack/buildin/global.js","buildMeta":{"providedExports":true}},"./scripts/vendor.js":{"id":"./scripts/vendor.js","buildMeta":{"providedExports":true}}}} \ No newline at end of file +{"name":"hippyVueBase","content":{"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":{"id":0,"buildMeta":{"exportsType":"namespace","providedExports":["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"]}},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":{"id":1,"buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ITERATE_KEY","ReactiveEffect","ReactiveFlags","TrackOpTypes","TriggerOpTypes","computed","customRef","deferredComputed","effect","effectScope","enableTracking","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","pauseScheduling","pauseTracking","proxyRefs","reactive","readonly","ref","resetScheduling","resetTracking","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","track","trigger","triggerRef","unref"]}},"./node_modules/webpack/buildin/global.js":{"id":2,"buildMeta":{"providedExports":true}},"./scripts/vendor.js":{"id":4,"buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/dist/index.js":{"id":5,"buildMeta":{"providedExports":true}},"./node_modules/process/browser.js":{"id":6,"buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":{"id":7,"buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ReactiveEffect","TrackOpTypes","TriggerOpTypes","customRef","effect","effectScope","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","proxyRefs","reactive","readonly","ref","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","triggerRef","unref","camelize","capitalize","normalizeClass","normalizeProps","normalizeStyle","toDisplayString","toHandlerKey","BaseTransition","BaseTransitionPropsValidators","Comment","DeprecationTypes","ErrorCodes","ErrorTypeStrings","Fragment","KeepAlive","Static","Suspense","Teleport","Text","assertNumber","callWithAsyncErrorHandling","callWithErrorHandling","cloneVNode","compatUtils","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createHydrationRenderer","createPropsRestProxy","createRenderer","createSlots","createStaticVNode","createTextVNode","createVNode","defineAsyncComponent","defineComponent","defineEmits","defineExpose","defineModel","defineOptions","defineProps","defineSlots","devtools","getCurrentInstance","getTransitionRawChildren","guardReactiveProps","h","handleError","hasInjectionContext","initCustomFormatter","inject","isMemoSame","isRuntimeOnly","isVNode","mergeDefaults","mergeModels","mergeProps","nextTick","onActivated","onBeforeMount","onBeforeUnmount","onBeforeUpdate","onDeactivated","onErrorCaptured","onMounted","onRenderTracked","onRenderTriggered","onServerPrefetch","onUnmounted","onUpdated","openBlock","popScopeId","provide","pushScopeId","queuePostFlushCb","registerRuntimeCompiler","renderList","renderSlot","resolveComponent","resolveDirective","resolveDynamicComponent","resolveFilter","resolveTransitionHooks","setBlockTracking","setDevtoolsHook","setTransitionHooks","ssrContextKey","ssrUtils","toHandlers","transformVNodeArgs","useAttrs","useModel","useSSRContext","useSlots","useTransitionState","version","warn","watch","watchEffect","watchPostEffect","watchSyncEffect","withAsyncContext","withCtx","withDefaults","withDirectives","withMemo","withScopeId"]}}}} \ No newline at end of file diff --git a/framework/examples/ios-demo/res/vue3/vendor.ios.js b/framework/examples/ios-demo/res/vue3/vendor.ios.js index ef8c502302c..ad20cc3949b 100644 --- a/framework/examples/ios-demo/res/vue3/vendor.ios.js +++ b/framework/examples/ios-demo/res/vue3/vendor.ios.js @@ -1,8 +1,19 @@ -var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"../../packages/hippy-vue-next/dist/index.js":function(e,t,n){"use strict";(function(e,r){ +var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";n.r(t),function(e){function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n122||e.charCodeAt(2)<97)},p=function(e){return e.startsWith("onUpdate:")},y=Object.assign,m=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},g=Object.prototype.hasOwnProperty,b=function(e,t){return g.call(e,t)},O=Array.isArray,_=function(e){return"[object Map]"===I(e)},w=function(e){return"[object Set]"===I(e)},S=function(e){return"[object Date]"===I(e)},E=function(e){return"[object RegExp]"===I(e)},k=function(e){return"function"==typeof e},N=function(e){return"string"==typeof e},T=function(e){return"symbol"===u(e)},x=function(e){return null!==e&&"object"===u(e)},j=function(e){return(x(e)||k(e))&&k(e.then)&&k(e.catch)},A=Object.prototype.toString,I=function(e){return A.call(e)},C=function(e){return I(e).slice(8,-1)},P=function(e){return"[object Object]"===I(e)},R=function(e){return N(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},L=c(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),M=c("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),F=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},D=/-(\w)/g,V=F((function(e){return e.replace(D,(function(e,t){return t?t.toUpperCase():""}))})),B=/\B([A-Z])/g,U=F((function(e){return e.replace(B,"-$1").toLowerCase()})),H=F((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),$=F((function(e){return e?"on".concat(H(e)):""})),Y=function(e,t){return!Object.is(e,t)},W=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r3&&void 0!==arguments[3]&&arguments[3];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},K=function(e){var t=parseFloat(e);return isNaN(t)?e:t},G=function(e){var t=N(e)?Number(e):NaN;return isNaN(t)?e:t},q=function(){return s||(s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{})},J=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function X(e){return J.test(e)?"__props.".concat(e):"__props[".concat(JSON.stringify(e),"]")}var Z={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},Q={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},ee={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},te={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},ne={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},re=c("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"),ie=re;function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";var r=e.split(/(\r?\n)/),i=r.filter((function(e,t){return t%2==1}));r=r.filter((function(e,t){return t%2==0}));for(var o=0,a=[],u=0;u=t){for(var c=u-2;c<=u+2||n>o;c++)if(!(c<0||c>=r.length)){var s=c+1;a.push("".concat(s).concat(" ".repeat(Math.max(3-String(s).length,0)),"| ").concat(r[c]));var l=r[c].length,f=i[c]&&i[c].length||0;if(c===u){var d=t-(o-(l+f)),v=Math.max(1,n>o?l-d:n-t);a.push(" | "+" ".repeat(d)+"^".repeat(v))}else if(c>u){if(n>o){var h=Math.max(Math.min(n-o,l),1);a.push(" | "+"^".repeat(h))}o+=l+f}}break}return a.join("\n")}function ae(e){if(O(e)){for(var t={},n=0;n1&&(t[n[0].trim()]=n[1].trim())}})),t}function fe(e){var t="";if(!e||N(e))return t;for(var n in e){var r=e[n];if(N(r)||"number"==typeof r){var i=n.startsWith("--")?n:U(n);t+="".concat(i,":").concat(r,";")}}return t}function de(e){var t="";if(N(e))t=e;else if(O(e))for(var n=0;n/="'\u0009\u000a\u000c\u0020]/,Se={};function Ee(e){if(Se.hasOwnProperty(e))return Se[e];var t=we.test(e);return t&&console.error("unsafe attribute name: ".concat(e)),Se[e]=!t}var ke={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Ne=c("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"),Te=c("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");function xe(e){if(null==e)return!1;var t=u(e);return"string"===t||"number"===t||"boolean"===t}var je=/["'&<>]/;function Ae(e){var t=""+e,n=je.exec(t);if(!n)return t;var r,i,o="",a=0;for(i=n.index;i||--!>|"]=a,e}),{})}:w(n)?{["Set(".concat(n.size,")")]:i(n.values()).map((function(e){return De(e)}))}:T(n)?De(n):!x(n)||O(n)||P(n)?n:String(n)},De=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return T(e)?"Symbol(".concat(null!=(t=e.description)?t:n,")"):e}}.call(this,n(2))},function(e,t,n){"use strict";n.r(t),n.d(t,"EffectScope",(function(){return b})),n.d(t,"ITERATE_KEY",(function(){return Y})),n.d(t,"ReactiveEffect",(function(){return E})),n.d(t,"ReactiveFlags",(function(){return gt})),n.d(t,"TrackOpTypes",(function(){return yt})),n.d(t,"TriggerOpTypes",(function(){return mt})),n.d(t,"computed",(function(){return qe})),n.d(t,"customRef",(function(){return st})),n.d(t,"deferredComputed",(function(){return pt})),n.d(t,"effect",(function(){return j})),n.d(t,"effectScope",(function(){return O})),n.d(t,"enableTracking",(function(){return L})),n.d(t,"getCurrentScope",(function(){return w})),n.d(t,"isProxy",(function(){return $e})),n.d(t,"isReactive",(function(){return Be})),n.d(t,"isReadonly",(function(){return Ue})),n.d(t,"isRef",(function(){return Ze})),n.d(t,"isShallow",(function(){return He})),n.d(t,"markRaw",(function(){return We})),n.d(t,"onScopeDispose",(function(){return S})),n.d(t,"pauseScheduling",(function(){return F})),n.d(t,"pauseTracking",(function(){return R})),n.d(t,"proxyRefs",(function(){return ut})),n.d(t,"reactive",(function(){return Le})),n.d(t,"readonly",(function(){return Fe})),n.d(t,"ref",(function(){return Qe})),n.d(t,"resetScheduling",(function(){return D})),n.d(t,"resetTracking",(function(){return M})),n.d(t,"shallowReactive",(function(){return Me})),n.d(t,"shallowReadonly",(function(){return De})),n.d(t,"shallowRef",(function(){return et})),n.d(t,"stop",(function(){return A})),n.d(t,"toRaw",(function(){return Ye})),n.d(t,"toRef",(function(){return vt})),n.d(t,"toRefs",(function(){return lt})),n.d(t,"toValue",(function(){return ot})),n.d(t,"track",(function(){return z})),n.d(t,"trigger",(function(){return K})),n.d(t,"triggerRef",(function(){return rt})),n.d(t,"unref",(function(){return it}));var r,i=n(0);function o(e,t,n){return t=a(t),function(e,t){if(t&&("object"==v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,n||[],a(e).constructor):t.apply(e,n))}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]&&arguments[0];h(this,e),this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=r,!t&&r&&(this.index=(r.scopes||(r.scopes=[])).push(this)-1)}),[{key:"active",get:function(){return this._active}},{key:"run",value:function(e){if(this._active){var t=r;try{return r=this,e()}finally{r=t}}else 0}},{key:"on",value:function(){r=this}},{key:"off",value:function(){r=this.parent}},{key:"stop",value:function(e){if(this._active){var t,n;for(t=0,n=this.effects.length;t1&&void 0!==arguments[1]?arguments[1]:r;t&&t.active&&t.effects.push(e)}function w(){return r}function S(e){r&&r.cleanups.push(e)}var E=function(){return y((function e(t,n,r,i){h(this,e),this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,_(this,i)}),[{key:"dirty",get:function(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,R();for(var e=0;e=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),M()}return this._dirtyLevel>=4},set:function(e){this._dirtyLevel=e?4:0}},{key:"run",value:function(){if(this._dirtyLevel=0,!this.active)return this.fn();var e=I,t=g;try{return I=!0,g=this,this._runnings++,N(this),this.fn()}finally{T(this),this._runnings--,g=t,I=e}}},{key:"stop",value:function(){this.active&&(N(this),T(this),this.onStop&&this.onStop(),this.active=!1)}}])}();function k(e){return e.value}function N(e){e._trackId++,e._depsLength=0}function T(e){if(e.deps.length>e._depsLength){for(var t=e._depsLength;t=f)&&c.push(e)}))}else switch(void 0!==n&&c.push(u.get(n)),t){case"add":Object(i.isArray)(e)?Object(i.isIntegerKey)(n)&&c.push(u.get("length")):(c.push(u.get(Y)),Object(i.isMap)(e)&&c.push(u.get(W)));break;case"delete":Object(i.isArray)(e)||(c.push(u.get(Y)),Object(i.isMap)(e)&&c.push(u.get(W)));break;case"set":Object(i.isMap)(e)&&c.push(u.get(Y))}F();var d,v=l(c);try{for(v.s();!(d=v.n()).done;){var h=d.value;h&&U(h,4)}}catch(e){v.e(e)}finally{v.f()}D()}}var G=Object(i.makeMap)("__proto__,__v_isRef,__isVue"),q=new Set(Object.getOwnPropertyNames(Symbol).filter((function(e){return"arguments"!==e&&"caller"!==e})).map((function(e){return Symbol[e]})).filter(i.isSymbol)),J=X();function X(){var e={};return["includes","indexOf","lastIndexOf"].forEach((function(t){e[t]=function(){for(var e=Ye(this),n=0,r=this.length;n0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(this,e),this._isReadonly=t,this._isShallow=n}),[{key:"get",value:function(e,t,n){var r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Re:Pe:o?Ce:Ie).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;var a=Object(i.isArray)(e);if(!r){if(a&&Object(i.hasOwn)(J,t))return Reflect.get(J,t,n);if("hasOwnProperty"===t)return Z}var u=Reflect.get(e,t,n);return(Object(i.isSymbol)(t)?q.has(t):G(t))?u:(r||z(e,0,t),o?u:Ze(u)?a&&Object(i.isIntegerKey)(t)?u:u.value:Object(i.isObject)(u)?r?Fe(u):Le(u):u)}}])}(),ee=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return h(this,t),o(this,t,[!1,e])}return u(t,e),y(t,[{key:"set",value:function(e,t,n,r){var o=e[t];if(!this._isShallow){var a=Ue(o);if(He(n)||Ue(n)||(o=Ye(o),n=Ye(n)),!Object(i.isArray)(e)&&Ze(o)&&!Ze(n))return!a&&(o.value=n,!0)}var u=Object(i.isArray)(e)&&Object(i.isIntegerKey)(t)?Number(t)0&&void 0!==arguments[0]&&arguments[0];return h(this,t),o(this,t,[!0,e])}return u(t,e),y(t,[{key:"set",value:function(e,t){return!0}},{key:"deleteProperty",value:function(e,t){return!0}}])}(Q),ne=new ee,re=new te,ie=new ee(!0),oe=new te(!0),ae=function(e){return e},ue=function(e){return Reflect.getPrototypeOf(e)};function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Ye(e=e.__v_raw),a=Ye(t);n||(Object(i.hasChanged)(t,a)&&z(o,0,t),z(o,0,a));var u=ue(o),c=u.has,s=r?ae:n?Ke:ze;return c.call(o,t)?s(e.get(t)):c.call(o,a)?s(e.get(a)):void(e!==o&&e.get(t))}function se(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=Ye(n),o=Ye(e);return t||(Object(i.hasChanged)(e,o)&&z(r,0,e),z(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function le(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&z(Ye(e),0,Y),Reflect.get(e,"size",e)}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t||He(e)||Ue(e)||(e=Ye(e));var n=Ye(this),r=ue(n),i=r.has.call(n,e);return i||(n.add(e),K(n,"add",e,e)),this}function de(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n||He(t)||Ue(t)||(t=Ye(t));var r=Ye(this),o=ue(r),a=o.has,u=o.get,c=a.call(r,e);c||(e=Ye(e),c=a.call(r,e));var s=u.call(r,e);return r.set(e,t),c?Object(i.hasChanged)(t,s)&&K(r,"set",e,t):K(r,"add",e,t),this}function ve(e){var t=Ye(this),n=ue(t),r=n.has,i=n.get,o=r.call(t,e);o||(e=Ye(e),o=r.call(t,e));i&&i.call(t,e);var a=t.delete(e);return o&&K(t,"delete",e,void 0),a}function he(){var e=Ye(this),t=0!==e.size,n=e.clear();return t&&K(e,"clear",void 0,void 0),n}function pe(e,t){return function(n,r){var i=this,o=i.__v_raw,a=Ye(o),u=t?ae:e?Ke:ze;return!e&&z(a,0,Y),o.forEach((function(e,t){return n.call(r,u(e),u(t),i)}))}}function ye(e,t,n){return function(){var r=this.__v_raw,o=Ye(r),a=Object(i.isMap)(o),u="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,s=r[e].apply(r,arguments),l=n?ae:t?Ke:ze;return!t&&z(o,0,c?W:Y),{next:function(){var e=s.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:u?[l(t[0]),l(t[1])]:l(t),done:n}},[Symbol.iterator]:function(){return this}}}}function me(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function ge(){var e={get:function(e){return ce(this,e)},get size(){return le(this)},has:se,add:fe,set:de,delete:ve,clear:he,forEach:pe(!1,!1)},t={get:function(e){return ce(this,e,!1,!0)},get size(){return le(this)},has:se,add:function(e){return fe.call(this,e,!0)},set:function(e,t){return de.call(this,e,t,!0)},delete:ve,clear:he,forEach:pe(!1,!0)},n={get:function(e){return ce(this,e,!0)},get size(){return le(this,!0)},has:function(e){return se.call(this,e,!0)},add:me("add"),set:me("set"),delete:me("delete"),clear:me("clear"),forEach:pe(!0,!1)},r={get:function(e){return ce(this,e,!0,!0)},get size(){return le(this,!0)},has:function(e){return se.call(this,e,!0)},add:me("add"),set:me("set"),delete:me("delete"),clear:me("clear"),forEach:pe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((function(i){e[i]=ye(i,!1,!1),n[i]=ye(i,!0,!1),t[i]=ye(i,!1,!0),r[i]=ye(i,!0,!0)})),[e,n,t,r]}var be,Oe,_e=(Oe=4,function(e){if(Array.isArray(e))return e}(be=ge())||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(be,Oe)||f(be,Oe)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),we=_e[0],Se=_e[1],Ee=_e[2],ke=_e[3];function Ne(e,t){var n=t?e?ke:Ee:e?Se:we;return function(t,r,o){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Object(i.hasOwn)(n,r)&&r in t?n:t,r,o)}}var Te={get:Ne(!1,!1)},xe={get:Ne(!1,!0)},je={get:Ne(!0,!1)},Ae={get:Ne(!0,!0)};var Ie=new WeakMap,Ce=new WeakMap,Pe=new WeakMap,Re=new WeakMap;function Le(e){return Ue(e)?e:Ve(e,!1,ne,Te,Ie)}function Me(e){return Ve(e,!1,ie,xe,Ce)}function Fe(e){return Ve(e,!0,re,je,Pe)}function De(e){return Ve(e,!0,oe,Ae,Re)}function Ve(e,t,n,r,o){if(!Object(i.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var a=o.get(e);if(a)return a;var u,c=(u=e).__v_skip||!Object.isExtensible(u)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Object(i.toRawType)(u));if(0===c)return e;var s=new Proxy(e,2===c?r:n);return o.set(e,s),s}function Be(e){return Ue(e)?Be(e.__v_raw):!(!e||!e.__v_isReactive)}function Ue(e){return!(!e||!e.__v_isReadonly)}function He(e){return!(!e||!e.__v_isShallow)}function $e(e){return!!e&&!!e.__v_raw}function Ye(e){var t=e&&e.__v_raw;return t?Ye(t):e}function We(e){return Object.isExtensible(e)&&Object(i.def)(e,"__v_skip",!0),e}var ze=function(e){return Object(i.isObject)(e)?Le(e):e},Ke=function(e){return Object(i.isObject)(e)?Fe(e):e},Ge=function(){return y((function e(t,n,r,i){var o=this;h(this,e),this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new E((function(){return t(o._value)}),(function(){return Xe(o,2===o.effect._dirtyLevel?2:3)})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}),[{key:"value",get:function(){var e=Ye(this);return e._cacheable&&!e.effect.dirty||!Object(i.hasChanged)(e._value,e._value=e.effect.run())||Xe(e,4),Je(e),e.effect._dirtyLevel>=2&&Xe(e,2),e._value},set:function(e){this._setter(e)}},{key:"_dirty",get:function(){return this.effect.dirty},set:function(e){this.effect.dirty=e}}])}();function qe(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Object(i.isFunction)(e);a?(n=e,r=i.NOOP):(n=e.get,r=e.set);var u=new Ge(n,r,a||!r,o);return u}function Je(e){var t;I&&g&&(e=Ye(e),V(g,null!=(t=e.dep)?t:e.dep=H((function(){return e.dep=void 0}),e instanceof Ge?e:void 0)))}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,n=(e=Ye(e)).dep;n&&U(n,t)}function Ze(e){return!(!e||!0!==e.__v_isRef)}function Qe(e){return tt(e,!1)}function et(e){return tt(e,!0)}function tt(e,t){return Ze(e)?e:new nt(e,t)}var nt=function(){return y((function e(t,n){h(this,e),this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ye(t),this._value=n?t:ze(t)}),[{key:"value",get:function(){return Je(this),this._value},set:function(e){var t=this.__v_isShallow||He(e)||Ue(e);if(e=t?e:Ye(e),Object(i.hasChanged)(e,this._rawValue)){var n=this._rawValue;this._rawValue=e,this._value=t?e:ze(e),Xe(this,4,e,n)}}}])}();function rt(e){Xe(e,4,void 0)}function it(e){return Ze(e)?e.value:e}function ot(e){return Object(i.isFunction)(e)?e():it(e)}var at={get:function(e,t,n){return it(Reflect.get(e,t,n))},set:function(e,t,n,r){var i=e[t];return Ze(i)&&!Ze(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ut(e){return Be(e)?e:new Proxy(e,at)}var ct=function(){return y((function e(t){var n=this;h(this,e),this.dep=void 0,this.__v_isRef=!0;var r=t((function(){return Je(n)}),(function(){return Xe(n)})),i=r.get,o=r.set;this._get=i,this._set=o}),[{key:"value",get:function(){return this._get()},set:function(e){this._set(e)}}])}();function st(e){return new ct(e)}function lt(e){var t=Object(i.isArray)(e)?new Array(e.length):{};for(var n in e)t[n]=ht(e,n);return t}var ft=function(){return y((function e(t,n,r){h(this,e),this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}),[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}},{key:"dep",get:function(){return e=Ye(this._object),t=this._key,(n=$.get(e))&&n.get(t);var e,t,n}}])}(),dt=function(){return y((function e(t){h(this,e),this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}),[{key:"value",get:function(){return this._getter()}}])}();function vt(e,t,n){return Ze(e)?e:Object(i.isFunction)(e)?new dt(e):Object(i.isObject)(e)&&arguments.length>1?ht(e,t,n):Qe(e)}function ht(e,t,n){var r=e[t];return Ze(r)?r:new ft(e,t,n)}var pt=qe,yt={GET:"get",HAS:"has",ITERATE:"iterate"},mt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},gt={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}e.exports=r},function(e,t,n){e.exports=n},function(e,t,n){n(5)},function(e,t,n){"use strict";(function(e,r){ /*! * @hippy/vue-next vunspecified - * (Using Vue v3.4.21 and Hippy-Vue-Next vunspecified) - * Build at: Sun Apr 07 2024 19:11:32 GMT+0800 (中国标准时间) + * (Using Vue v3.4.34 and Hippy-Vue-Next vunspecified) + * Build at: Thu Aug 01 2024 19:06:20 GMT+0800 (中国标准时间) * * Tencent is pleased to support the open source community by making * Hippy available. @@ -22,21 +33,11 @@ var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports; * See the License for the specific language governing permissions and * limitations under the License. */ -var i=["mode","valueType","startValue","toValue"],o=["transform"],a=["transform"];function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=s(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function s(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),u=new I(r||[]);return i(a,"_invoke",{value:x(e,n,u)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",v="executing",h="completed",y={};function m(){}function g(){}function b(){}var O={};s(O,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(C([])));w&&w!==n&&r.call(w,a)&&(O=w);var S=b.prototype=m.prototype=Object.create(O);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function n(i,o,a,u){var c=d(e[i],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==k(l)&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function x(t,n,r){var i=p;return function(o,a){if(i===v)throw new Error("Generator is already running");if(i===h){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var u=r.delegate;if(u){var c=j(u,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===p)throw i=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var s=d(t,n,r);if("normal"===s.type){if(i=r.done?h:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=h,r.method="throw",r.arg=s.arg)}}}function j(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=d(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function f(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){f(o,r,i,a,u,"next",e)}function u(e){f(o,r,i,a,u,"throw",e)}a(void 0)}))}}function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=A(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function v(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n]+)>/g,(function(e,t){var n=o[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=k(e[e.length-1])&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},N.apply(this,arguments)}function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j(e,t)}function j(e,t){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,t)||A(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){if(e){if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n255?255:t},B=function(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)},U=function(e,t,n){var r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e},H=function(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=U(i,r,e+1/3),a=U(i,r,e),u=U(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*u)<<8},$=function(e){return(parseFloat(e)%360+360)%360/360},Y=function(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100};function W(e){var t=function(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=D.hex6.exec(e),Array.isArray(t)?parseInt("".concat(t[1],"ff"),16)>>>0:Object.hasOwnProperty.call(R,e)?R[e]:(t=D.rgb.exec(e),Array.isArray(t)?(V(t[1])<<24|V(t[2])<<16|V(t[3])<<8|255)>>>0:(t=D.rgba.exec(e))?(V(t[1])<<24|V(t[2])<<16|V(t[3])<<8|B(t[4]))>>>0:(t=D.hex3.exec(e))?parseInt("".concat(t[1]+t[1]+t[2]+t[2]+t[3]+t[3],"ff"),16)>>>0:(t=D.hex8.exec(e))?parseInt(t[1],16)>>>0:(t=D.hex4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=D.hsl.exec(e))?(255|H($(t[1]),Y(t[2]),Y(t[3])))>>>0:(t=D.hsla.exec(e))?(H($(t[1]),Y(t[2]),Y(t[3]))|B(t[4]))>>>0:null))}(e);if(null===t)throw new Error("Bad color value: ".concat(e));return t=(t<<24|t>>>8)>>>0}var z={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},K={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},G="turn",q="rad",J="deg",X=/\/\*[\s\S]{0,1000}?\*\//gm;var Z=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function Q(e){if("number"==typeof e)return e;if(Z.test(e))try{return parseFloat(e)}catch(e){}return e}function ee(e){if(Number.isInteger(e))return e;if("string"==typeof e&&e.endsWith("px")){var t=parseFloat(e.slice(0,e.indexOf("px")));Number.isNaN(t)||(e=t)}return e}function te(e){var t=(e||"").replace(/\s*/g,"").toLowerCase(),n=N(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return"";var r="180",i=T(n,3),o=i[0],a=i[1],u=i[2];return a&&u?r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J,n=parseFloat(e),r=e||"",i=e.split("."),o=T(i,2),a=o[1];switch(a&&a.length>2&&(r=n.toFixed(2)),t){case G:r="".concat((360*n).toFixed(2));break;case q:r="".concat((180/Math.PI*n).toFixed(2))}return r}(a,u):o&&void 0!==K[o]&&(r=K[o]),r}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.replace(/\s+/g," ").trim(),n=t.split(/\s+(?![^(]*?\))/),r=T(n,2),i=r[0],o=r[1],a=/^([+-]?\d+\.?\d*)%$/g;return!i||a.exec(i)||o?i&&a.exec(o)?{ratio:parseFloat(o.split("%")[0])/100,color:W(i)}:null:{color:W(i)}}function re(e,t){var n=t,r=e;if(0===t.indexOf("linear-gradient")){r="linearGradient";var i=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),o=[];n={},i.forEach((function(e,t){if(0===t){var r=te(e);if(r)n.angle=r;else{n.angle="180";var i=ne(e);i&&o.push(i)}}else{var a=ne(e);a&&o.push(a)}})),n.colorStopList=o}else{var a=/(?:\(['"]?)(.*?)(?:['"]?\))/.exec(t);if(a&&a.length>1){var u=T(a,2);n=u[1]}}return[r,n]}function ie(e,t){var n=e&&"string"==typeof e.type,r=n?e:t;return Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?n.forEach((function(e){ie(e,r)})):n&&"object"===k(n)&&ie(n,r)})),n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t}),e}var oe=function(){function e(){g(this,e),this.changeMap=new Map}return O(e,[{key:"addAttribute",value:function(e,t){var n=this.properties(e);n.attributes||(n.attributes=new Set),n.attributes.add(t)}},{key:"addPseudoClass",value:function(e,t){var n=this.properties(e);n.pseudoClasses||(n.pseudoClasses=new Set),n.pseudoClasses.add(t)}},{key:"properties",value:function(e){var t=this.changeMap.get(e);return t||this.changeMap.set(e,t={}),t}}]),e}(),ae=function(){function e(t){var n=this;g(this,e),this.id={},this.class={},this.type={},this.universal=[],this.position=0,this.ruleSets=t,t.forEach((function(e){return e.lookupSort(n)}))}return O(e,[{key:"append",value:function(e){var t=this;this.ruleSets=this.ruleSets.concat(e),e.forEach((function(e){return e.lookupSort(t)}))}},{key:"delete",value:function(e){var t=this,n=[];this.ruleSets=this.ruleSets.filter((function(t){return t.hash!==e||(n.push(t),!1)})),n.forEach((function(e){return e.removeSort(t)}))}},{key:"query",value:function(e,t){var n=this,r=e.tagName,i=e.id,o=e.classList,a=e.props,u=i,c=o;if(null==a?void 0:a.attributes){var s=a.attributes;c=new Set(((null==s?void 0:s.class)||"").split(" ").filter((function(e){return e.trim()}))),u=s.id}var l=[this.universal,this.id[u],this.type[r]];(null==c?void 0:c.size)&&c.forEach((function(e){return l.push(n.class[e])}));var f=l.filter((function(e){return!!e})).reduce((function(e,t){return e.concat(t)}),[]),d=new oe;return d.selectors=f.filter((function(n){return n.sel.accumulateChanges(e,d,t)})).sort((function(e,t){return e.sel.specificity-t.sel.specificity||e.pos-t.pos})).map((function(e){return e.sel})),d}},{key:"removeById",value:function(t,n){e.removeFromMap(this.id,t,n)}},{key:"sortById",value:function(e,t){this.addToMap(this.id,e,t)}},{key:"removeByClass",value:function(t,n){e.removeFromMap(this.class,t,n)}},{key:"sortByClass",value:function(e,t){this.addToMap(this.class,e,t)}},{key:"removeByType",value:function(t,n){e.removeFromMap(this.type,t,n)}},{key:"sortByType",value:function(e,t){this.addToMap(this.type,e,t)}},{key:"removeAsUniversal",value:function(e){var t=this.universal.findIndex((function(t){var n,r;return(null===(n=t.sel.ruleSet)||void 0===n?void 0:n.hash)===(null===(r=e.ruleSet)||void 0===r?void 0:r.hash)}));-1!==t&&this.universal.splice(t)}},{key:"sortAsUniversal",value:function(e){this.universal.push(this.makeDocSelector(e))}},{key:"addToMap",value:function(e,t,n){this.position+=1;var r=e[t];r?r.push(this.makeDocSelector(n)):e[t]=[this.makeDocSelector(n)]}},{key:"makeDocSelector",value:function(e){return this.position+=1,{sel:e,pos:this.position}}}],[{key:"removeFromMap",value:function(e,t,n){var r=e[t],i=r.findIndex((function(e){var t;return e.sel.ruleSet.hash===(null===(t=n.ruleSet)||void 0===t?void 0:t.hash)}));-1!==i&&r.splice(i,1)}}]),e}();function ue(e){return null==e}function ce(e){return e?" ".concat(e):""}function se(e,t){return t?(null==e?void 0:e.pId)&&t[e.pId]?t[e.pId]:null:null==e?void 0:e.parentNode}var le=function(){function e(){g(this,e),this.specificity=0}return O(e,[{key:"lookupSort",value:function(e,t){e.sortAsUniversal(null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeAsUniversal(null!=t?t:this)}}]),e}(),fe=function(e){x(n,e);var t=h(n);function n(){var e;return g(this,n),(e=t.apply(this,arguments)).rarity=0,e}return O(n,[{key:"accumulateChanges",value:function(e,t){return this.dynamic?!!this.mayMatch(e)&&(this.trackChanges(e,t),!0):this.match(e)}},{key:"match",value:function(e){return!!e}},{key:"mayMatch",value:function(e){return this.match(e)}},{key:"trackChanges",value:function(e,t){}}]),n}(le),de=function(e){x(n,e);var t=h(n);function n(e){var r;return g(this,n),(r=t.call(this)).specificity=e.reduce((function(e,t){return t.specificity+e}),0),r.head=e.reduce((function(e,t){return!e||e instanceof fe&&t.rarity>e.rarity?t:e}),null),r.dynamic=e.some((function(e){return e.dynamic})),r.selectors=e,r}return O(n,[{key:"toString",value:function(){return"".concat(this.selectors.join("")).concat(ce(this.combinator))}},{key:"match",value:function(e){return!!e&&this.selectors.every((function(t){return t.match(e)}))}},{key:"mayMatch",value:function(e){return!!e&&this.selectors.every((function(t){return t.mayMatch(e)}))}},{key:"trackChanges",value:function(e,t){this.selectors.forEach((function(n){return n.trackChanges(e,t)}))}},{key:"lookupSort",value:function(e,t){this.head&&this.head instanceof fe&&this.head.lookupSort(e,null!=t?t:this)}},{key:"removeSort",value:function(e,t){this.head&&this.head instanceof fe&&this.head.removeSort(e,null!=t?t:this)}}]),n}(fe),pe=function(e){x(n,e);var t=h(n);function n(){var e;return g(this,n),(e=t.call(this)).specificity=0,e.rarity=0,e.dynamic=!1,e}return O(n,[{key:"toString",value:function(){return"*".concat(ce(this.combinator))}},{key:"match",value:function(){return!0}}]),n}(fe),ve=function(e){x(n,e);var t=h(n);function n(e){var r;return g(this,n),(r=t.call(this)).specificity=65536,r.rarity=3,r.dynamic=!1,r.id=e,r}return O(n,[{key:"toString",value:function(){return"#".concat(this.id).concat(ce(this.combinator))}},{key:"match",value:function(e){var t,n;return!!e&&((null===(n=null===(t=e.props)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.id)===this.id||e.id===this.id)}},{key:"lookupSort",value:function(e,t){e.sortById(this.id,null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeById(this.id,null!=t?t:this)}}]),n}(fe),he=function(e){x(n,e);var t=h(n);function n(e){var r;return g(this,n),(r=t.call(this)).specificity=1,r.rarity=1,r.dynamic=!1,r.cssType=e,r}return O(n,[{key:"toString",value:function(){return"".concat(this.cssType).concat(ce(this.combinator))}},{key:"match",value:function(e){return!!e&&e.tagName===this.cssType}},{key:"lookupSort",value:function(e,t){e.sortByType(this.cssType,null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeByType(this.cssType,null!=t?t:this)}}]),n}(fe),ye=function(e){x(n,e);var t=h(n);function n(e){var r;return g(this,n),(r=t.call(this)).specificity=256,r.rarity=2,r.dynamic=!1,r.className=e,r}return O(n,[{key:"toString",value:function(){return".".concat(this.className).concat(ce(this.combinator))}},{key:"match",value:function(e){var t,n,r;if(!e)return!1;var i=null!==(t=e.classList)&&void 0!==t?t:new Set(((null===(r=null===(n=e.props)||void 0===n?void 0:n.attributes)||void 0===r?void 0:r.class)||"").split(" ").filter((function(e){return e.trim()})));return!(!i.size||!i.has(this.className))}},{key:"lookupSort",value:function(e,t){e.sortByClass(this.className,null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeByClass(this.className,null!=t?t:this)}}]),n}(fe),me=function(e){x(n,e);var t=h(n);function n(e){var r;return g(this,n),(r=t.call(this)).specificity=256,r.rarity=0,r.dynamic=!0,r.cssPseudoClass=e,r}return O(n,[{key:"toString",value:function(){return":".concat(this.cssPseudoClass).concat(ce(this.combinator))}},{key:"match",value:function(){return!1}},{key:"mayMatch",value:function(){return!0}},{key:"trackChanges",value:function(e,t){t.addPseudoClass(e,this.cssPseudoClass)}}]),n}(fe),ge=function(e,t){var n,r,i,o=(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n[t])||(null===(r=null==e?void 0:e.attributes)||void 0===r?void 0:r[t]);return void 0!==o?o:Array.isArray(null==e?void 0:e.styleScopeId)&&(null===(i=null==e?void 0:e.styleScopeId)||void 0===i?void 0:i.includes(t))?t:void 0},be=function(e){x(n,e);var t=h(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return g(this,n),(r=t.call(this)).attribute="",r.test="",r.value="",r.specificity=256,r.rarity=0,r.dynamic=!0,r.attribute=e,r.test=i,r.value=o,i?o?(r.match=function(t){if(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props[e]))return!1;var n="".concat(ge(t,e));if("="===i)return n===o;if("^="===i)return n.startsWith(o);if("$="===i)return n.endsWith(o);if("*="===i)return-1!==n.indexOf(o);if("~="===i){var r=n.split(" ");return-1!==(null==r?void 0:r.indexOf(o))}return"|="===i&&(n===o||n.startsWith("".concat(o,"-")))},r):(r.match=function(){return!1},y(r)):(r.match=function(t){return!(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props))&&!ue(ge(t,e))},y(r))}return O(n,[{key:"toString",value:function(){return"[".concat(this.attribute).concat(ce(this.test)).concat(this.test&&this.value||"","]").concat(ce(this.combinator))}},{key:"match",value:function(e){return!!e&&!e}},{key:"mayMatch",value:function(){return!0}},{key:"trackChanges",value:function(e,t){t.addAttribute(e,this.attribute)}}]),n}(fe),Oe=function(e){x(n,e);var t=h(n);function n(e){var r;return g(this,n),(r=t.call(this)).specificity=0,r.rarity=4,r.dynamic=!1,r.combinator=void 0,r.error=e,r}return O(n,[{key:"toString",value:function(){return"")}},{key:"match",value:function(){return!1}},{key:"lookupSort",value:function(){return null}},{key:"removeSort",value:function(){return null}}]),n}(fe),_e=function(){function e(t){g(this,e),this.selectors=t,this.dynamic=t.some((function(e){return e.dynamic}))}return O(e,[{key:"match",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.parentNode),!!e&&t.match(e)}))?e:null)}},{key:"mayMatch",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.parentNode),!!e&&t.mayMatch(e)}))?e:null)}},{key:"trackChanges",value:function(e,t){this.selectors.forEach((function(n,r){0!==r&&(e=e.parentNode),e&&n.trackChanges(e,t)}))}}]),e}(),we=function(){function e(t){g(this,e),this.selectors=t,this.dynamic=t.some((function(e){return e.dynamic}))}return O(e,[{key:"match",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.nextSibling),!!e&&t.match(e)}))?e:null)}},{key:"mayMatch",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.nextSibling),!!e&&t.mayMatch(e)}))?e:null)}},{key:"trackChanges",value:function(e,t){this.selectors.forEach((function(n,r){0!==r&&(e=e.nextSibling),e&&n.trackChanges(e,t)}))}}]),e}(),Se=function(e){x(n,e);var t=h(n);function n(e){var r;g(this,n),r=t.call(this);var i=[void 0," ",">","+","~"],o=[],a=[],u=[],c=v(e),s=c.length-1;r.specificity=0,r.dynamic=!1;for(var l=s;l>=0;l--){var f=c[l];if(-1===i.indexOf(f.combinator))throw console.error('Unsupported combinator "'.concat(f.combinator,'".')),new Error('Unsupported combinator "'.concat(f.combinator,'".'));void 0!==f.combinator&&" "!==f.combinator||u.push(a=[o=[]]),">"===f.combinator&&a.push(o=[]),r.specificity+=f.specificity,f.dynamic&&(r.dynamic=!0),o.push(f)}return r.groups=u.map((function(e){return new _e(e.map((function(e){return new we(e)})))})),r.last=c[s],r}return O(n,[{key:"toString",value:function(){return this.selectors.join("")}},{key:"match",value:function(e,t){return!!e&&this.groups.every((function(n,r){if(0===r)return!!(e=n.match(e));for(var i=se(e,t);i;){if(e=n.match(i))return!0;i=se(i,t)}return!1}))}},{key:"lookupSort",value:function(e){this.last.lookupSort(e,this)}},{key:"removeSort",value:function(e){this.last.removeSort(e,this)}},{key:"accumulateChanges",value:function(e,t,n){if(!this.dynamic)return this.match(e,n);var r=[],i=this.groups.every((function(t,i){if(0===i){var o=t.mayMatch(e);return r.push({left:e,right:e}),!!(e=o)}for(var a=se(e,n);a;){var u=t.mayMatch(a);if(u)return r.push({left:a,right:null}),e=u,!0;a=se(a,n)}return!1}));if(!i)return!1;if(!t)return i;for(var o=0;o)?\\s*"},xe={};function je(e,t,n){var r="";ke&&(r="gy"),xe[e]||(xe[e]=new RegExp(Ne[e],r));var i,o=xe[e];if(ke)o.lastIndex=n,i=o.exec(t);else{if(t=t.slice(n,t.length),!(i=o.exec(t)))return{result:null,regexp:o};o.lastIndex=n+i[0].length}return{result:i,regexp:o}}function Te(e,t){var n,r;return null!==(r=null!==(n=function(e,t){var n=je("universalSelectorRegEx",e,t),r=n.result,i=n.regexp;return r?{value:{type:"*"},start:t,end:i.lastIndex}:null}(e,t))&&void 0!==n?n:function(e,t){var n=je("simpleIdentifierSelectorRegEx",e,t),r=n.result,i=n.regexp;if(!r)return null;var o=i.lastIndex;return{value:{type:r[1],identifier:r[2]},start:t,end:o}}(e,t))&&void 0!==r?r:function(e,t){var n=je("attributeSelectorRegEx",e,t),r=n.result,i=n.regexp;if(!r)return null;var o=i.lastIndex,a=r[1];return r[2]?{value:{type:"[]",property:a,test:r[2],value:r[3]||r[4]||r[5]},start:t,end:o}:{value:{type:"[]",property:a},start:t,end:o}}(e,t)}function Ae(e,t){var n=Te(e,t);if(!n)return null;for(var r=n.end,i=[];n;){i.push(n.value),n=Te(e,r=n.end)}return{start:t,end:r,value:i}}function Ie(e,t){var n=je("combinatorRegEx",e,t),r=n.result,i=n.regexp;return r?{start:t,end:ke?i.lastIndex:t,value:r[1]||" "}:null}var Ce,Pe=function(e){return e};function Re(e){return"declaration"===e.type}function Le(e){return function(t){return e(t)}}function Me(e){switch(e.type){case"*":return new pe;case"#":return new ve(e.identifier);case"":return new he(e.identifier.replace(/-/,"").toLowerCase());case".":return new ye(e.identifier);case":":return new me(e.identifier);case"[]":return e.test?new be(e.property,e.test,e.value):new be(e.property);default:return null}}function Fe(e){return 0===e.length?new Oe(new Error("Empty simple selector sequence.")):1===e.length?Me(e[0]):new de(e.map(Me))}function De(e){try{var t=function(e,t){var n=t,r=je("whiteSpaceRegEx",e,t),i=r.result,o=r.regexp;i&&(n=o.lastIndex);var a,u=[],c=!0,s=[void 0,void 0];return(ke?[e]:e.split(" ")).forEach((function(e){if(!ke){if(""===e)return;n=0}do{var t=Ae(e,n);if(!t){if(c)return;break}if(n=t.end,a&&(s[1]=a.value),s=[t.value,void 0],u.push(s),a=Ie(e,n))n=a.end;c=!(!a||" "===a.value)}while(a)})),{start:t,end:n,value:u}}(e,0);return t?function(e){if(0===e.length)return new Oe(new Error("Empty selector."));if(1===e.length)return Fe(e[0][0]);var t,n=[],r=p(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=Fe(i[0]),a=i[1];a&&o&&(o.combinator=a),n.push(o)}}catch(e){r.e(e)}finally{r.f()}return new Se(n)}(t.value):new Oe(new Error("Empty selector"))}catch(e){return new Oe(e)}}function Ve(e){var t;return!e||!(null===(t=null==e?void 0:e.ruleSets)||void 0===t?void 0:t.length)}function Be(t,n){if(t){if(!Ve(Ce))return Ce;var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.map((function(e){var n=e[0],r=e[1];return r=r.map((function(e){var t=T(e,2);return{type:"declaration",property:t[0],value:t[1]}})).map(Le(null!=t?t:Pe)),n=n.map(De),new Ee(n,r,"")}))}(t,n);return Ce=new ae(r)}var i=e[Ue];if(Ve(Ce)||i){var o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.map((function(e){var n=e.declarations.filter(Re).map(Le(null!=t?t:Pe)),r=e.selectors.map(De);return new Ee(r,n,e.hash)}))}(i);Ce?Ce.append(o):Ce=new ae(o),e[Ue]=void 0}return e[He]&&(e[He].forEach((function(e){Ce.delete(e)})),e[He]=void 0),Ce}var Ue="__HIPPY_VUE_STYLES__",He="__HIPPY_VUE_DISPOSE_STYLES__",$e=Object.create(null),Ye={$on:function(e,t,n){return Array.isArray(e)?e.forEach((function(e){Ye.$on(e,t,n)})):($e[e]||($e[e]=[]),$e[e].push({fn:t,ctx:n})),Ye},$once:function(e,t,n){function r(){Ye.$off(e,r);for(var i=arguments.length,o=new Array(i),a=0;a1?r-1:0),o=1;o0||e.didTimeout)&&function e(t){var n;"number"==typeof t?In(t):t&&(In(t.nodeId),null===(n=t.childNodes)||void 0===n||n.forEach((function(t){return e(t)})))}(t)},r={timeout:50},e.requestIdleCallback?e.requestIdleCallback(n,r):setTimeout((function(){n({didTimeout:!1,timeRemaining:function(){return 1/0}})}),1)}function Rn(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t],r=t;r-1){var f;if("onLayout"===i){f=new On(o),Object.assign(f,{eventPhase:c,nativeParams:null!=u?u:{}});var d=u.layout,p=d.x,v=d.y,h=d.height,y=d.width;f.top=v,f.left=p,f.bottom=v+h,f.right=p+y,f.width=y,f.height=h}else{f=new gn(o),Object.assign(f,{eventPhase:c,nativeParams:null!=u?u:{}});var m=l.component.processEventData;m&&m({__evt:i,handler:f},u)}s.dispatchEvent(function(e,t,n){return function(e){return["onTouchDown","onTouchMove","onTouchEnd","onTouchCancel"].indexOf(e)>=0}(e)&&Object.assign(t,{touches:{0:{clientX:n.page_x,clientY:n.page_y},length:1}}),t}(i,f,u),l,t)}}catch(e){console.error("receiveComponentEvent error",e)}else qe.apply(void 0,Mn.concat(["receiveComponentEvent","currentTargetNode or targetNode not exist"]))}else qe.apply(void 0,Mn.concat(["receiveComponentEvent","nativeEvent or domEvent not exist"]))}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=Fn);var Dn,Vn=function(){function e(){g(this,e),this.listeners={}}return O(e,[{key:"addEventListener",value:function(e,t,n){for(var r=e.split(","),i=r.length,o=0;o=0&&c.splice(s,1),c.length||(this.listeners[u]=void 0)}}}else this.listeners[u]=void 0}}},{key:"emitEvent",value:function(e){var t,n,r=e.type,i=this.listeners[r];if(i)for(var o=i.length-1;o>=0;o-=1){var a=i[o];(null===(t=a.options)||void 0===t?void 0:t.once)&&i.splice(o,1),(null===(n=a.options)||void 0===n?void 0:n.thisArg)?a.callback.apply(a.options.thisArg,[e]):a.callback(e)}}},{key:"getEventListenerList",value:function(){return this.listeners}}],[{key:"indexOfListener",value:function(e,t,n){return e.findIndex((function(e){return n?e.callback===t&&C.looseEqual(e.options,n):e.callback===t}))}}]),e}();!function(e){e[e.CREATE=0]="CREATE",e[e.UPDATE=1]="UPDATE",e[e.DELETE=2]="DELETE",e[e.MOVE=3]="MOVE"}(Dn||(Dn={}));var Bn,Un=!1,Hn=[];function $n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;e.forEach((function(e){if(e){var n=e.id;e.eventList.forEach((function(e){var r,i=e.name,o=e.type,a=e.listener;r=fn(i)?sn[i]:dn(i),o===cn&&t.removeEventListener(n,r,a),o===un&&(t.removeEventListener(n,r,a),t.addEventListener(n,r,a))}))}}))}function Yn(e,t){0}function Wn(){Un||(Un=!0,0!==Hn.length?P.nextTick().then((function(){var t=function(e){var t,n=[],r=p(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=i.type,a=i.nodes,u=i.eventNodes,c=i.printedNodes,s=n[n.length-1];s&&s.type===o?(s.nodes=s.nodes.concat(a),s.eventNodes=s.eventNodes.concat(u),s.printedNodes=s.printedNodes.concat(c)):n.push({type:o,nodes:a,eventNodes:u,printedNodes:c})}}catch(e){r.e(e)}finally{r.f()}return n}(Hn),n=yn().rootViewId,r=new e.Hippy.SceneBuilder(n);t.forEach((function(e){switch(e.type){case Dn.CREATE:Yn(e.printedNodes),r.create(e.nodes),$n(e.eventNodes,r);break;case Dn.UPDATE:Yn(e.printedNodes),r.update(e.nodes),$n(e.eventNodes,r);break;case Dn.DELETE:Yn(e.printedNodes),r.delete(e.nodes);break;case Dn.MOVE:Yn(e.printedNodes),r.move(e.nodes)}})),r.build(),Un=!1,Hn=[]})):Un=!1)}function zn(e){var t=T(e,3),n=t[0],r=t[1],i=t[2];Hn.push({type:Dn.CREATE,nodes:n,eventNodes:r,printedNodes:i}),Wn()}function Kn(e){var t=T(e,3),n=t[0],r=t[2];n&&(Hn.push({type:Dn.MOVE,nodes:n,eventNodes:[],printedNodes:r}),Wn())}function Gn(e){var t=T(e,3),n=t[0],r=t[1],i=t[2];n&&(Hn.push({type:Dn.UPDATE,nodes:n,eventNodes:r,printedNodes:i}),Wn())}function qn(e){var t,n=e.events;if(n){var r=[];Object.keys(n).forEach((function(e){var t=n[e],i=t.name,o=t.type,a=t.isCapture,u=t.listener;r.push({name:i,type:o,isCapture:a,listener:u})})),t={id:e.nodeId,eventList:r}}return t}!function(e){e[e.ElementNode=1]="ElementNode",e[e.TextNode=3]="TextNode",e[e.CommentNode=8]="CommentNode",e[e.DocumentNode=4]="DocumentNode"}(Bn||(Bn={}));var Jn=function(t){x(r,t);var n=h(r);function r(e,t){var i,o;return g(this,r),(i=n.call(this)).isMounted=!1,i.events={},i.childNodes=[],i.parentNode=null,i.prevSibling=null,i.nextSibling=null,i.tagComponent=null,i.nodeId=null!==(o=null==t?void 0:t.id)&&void 0!==o?o:r.getUniqueNodeId(),i.nodeType=e,i.isNeedInsertToNative=function(e){return e===Bn.ElementNode}(e),(null==t?void 0:t.id)&&(i.isMounted=!0),i}return O(r,[{key:"firstChild",get:function(){return this.childNodes.length?this.childNodes[0]:null}},{key:"lastChild",get:function(){var e=this.childNodes.length;return e?this.childNodes[e-1]:null}},{key:"component",get:function(){return this.tagComponent}},{key:"index",get:function(){var e=0;this.parentNode&&(e=this.parentNode.childNodes.filter((function(e){return e.isNeedInsertToNative})).indexOf(this));return e}},{key:"isRootNode",value:function(){return 1===this.nodeId}},{key:"hasChildNodes",value:function(){return!!this.childNodes.length}},{key:"insertBefore",value:function(e,t){var n=e,r=t;if(!n)throw new Error("No child to insert");if(r){if(n.parentNode&&n.parentNode!==this)throw new Error("Can not insert child, because the child node is already has a different parent");var i=this;r.parentNode!==this&&(i=r.parentNode);var o=i.childNodes.indexOf(r),a=r;r.isNeedInsertToNative||(a=Rn(this.childNodes,o)),n.parentNode=i,n.nextSibling=r,n.prevSibling=i.childNodes[o-1],i.childNodes[o-1]&&(i.childNodes[o-1].nextSibling=n),r.prevSibling=n,i.childNodes.splice(o,0,n),a.isNeedInsertToNative?this.insertChildNativeNode(n,{refId:a.nodeId,relativeToRef:Ln}):this.insertChildNativeNode(n)}else this.appendChild(n)}},{key:"moveChild",value:function(e,t){var n=e,r=t;if(!n)throw new Error("No child to move");if(r){if(r.parentNode&&r.parentNode!==this)throw new Error("Can not move child, because the anchor node is already has a different parent");if(n.parentNode&&n.parentNode!==this)throw new Error("Can't move child, because it already has a different parent");var i=this.childNodes.indexOf(n),o=this.childNodes.indexOf(r),a=r;if(r.isNeedInsertToNative||(a=Rn(this.childNodes,o)),o!==i){n.nextSibling=r,n.prevSibling=r.prevSibling,r.prevSibling=n,this.childNodes[o-1]&&(this.childNodes[o-1].nextSibling=n),this.childNodes[o+1]&&(this.childNodes[o+1].prevSibling=n),this.childNodes[i-1]&&(this.childNodes[i-1].nextSibling=this.childNodes[i+1]),this.childNodes[i+1]&&(this.childNodes[i+1].prevSibling=this.childNodes[i-1]),this.childNodes.splice(i,1);var u=this.childNodes.indexOf(r);this.childNodes.splice(u,0,n),a.isNeedInsertToNative?this.moveChildNativeNode(n,{refId:a.nodeId,relativeToRef:Ln}):this.insertChildNativeNode(n)}}else this.appendChild(n)}},{key:"appendChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e;if(!n)throw new Error("No child to append");this.lastChild!==n&&(n.parentNode&&n.parentNode!==this&&n.parentNode.removeChild(n),n.isMounted&&!t&&this.removeChild(n),n.parentNode=this,this.lastChild&&(n.prevSibling=this.lastChild,this.lastChild.nextSibling=n),this.childNodes.push(n),t?An(n,n.nodeId):this.insertChildNativeNode(n))}},{key:"removeChild",value:function(e){var t=e;if(!t)throw new Error("Can't remove child.");if(!t.parentNode)throw new Error("Can't remove child, because it has no parent.");if(t.parentNode===this){if(t.isNeedInsertToNative){t.prevSibling&&(t.prevSibling.nextSibling=t.nextSibling),t.nextSibling&&(t.nextSibling.prevSibling=t.prevSibling),t.prevSibling=null,t.nextSibling=null;var n=this.childNodes.indexOf(t);this.childNodes.splice(n,1),this.removeChildNativeNode(t)}}else t.parentNode.removeChild(t)}},{key:"findChild",value:function(e){if(e(this))return this;if(this.childNodes.length){var t,n=p(this.childNodes);try{for(n.s();!(t=n.n()).done;){var r=t.value,i=this.findChild.call(r,e);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}return null}},{key:"eachNode",value:function(e){var t=this;e&&e(this),this.childNodes.length&&this.childNodes.forEach((function(n){t.eachNode.call(n,e)}))}},{key:"insertChildNativeNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.isNeedInsertToNative){var n=this.isRootNode()&&!this.isMounted,r=this.isMounted&&!e.isMounted;if(n||r){var i=n?this:e;zn(i.convertToNativeNodes(!0,t)),i.eachNode((function(e){var t=e;!t.isMounted&&t.isNeedInsertToNative&&(t.isMounted=!0),An(t,t.nodeId)}))}}}},{key:"moveChildNativeNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.isNeedInsertToNative&&(!t||t.refId!==e.nodeId)){var n=e;Kn(n.convertToNativeNodes(!1,t))}}},{key:"removeChildNativeNode",value:function(e){if(e&&e.isNeedInsertToNative){var t,n,r,i,o=e;o.isMounted&&(o.isMounted=!1,t=o.convertToNativeNodes(!1,{}),n=T(t,3),r=n[0],i=n[2],r&&(Hn.push({type:Dn.DELETE,nodes:r,eventNodes:[],printedNodes:i}),Wn()))}}},{key:"updateNativeNode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isMounted){var t=this.convertToNativeNodes(e,{});Gn(t)}}},{key:"convertToNativeNodes",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;if(!this.isNeedInsertToNative)return[[],[],[]];if(e){var o=[],a=[],u=[];return this.eachNode((function(e){var t=T(e.convertToNativeNodes(!1,r),3),n=t[0],i=t[1],c=t[2];Array.isArray(n)&&n.length&&o.push.apply(o,v(n)),Array.isArray(i)&&i.length&&a.push.apply(a,v(i)),Array.isArray(c)&&c.length&&u.push.apply(u,v(c))})),[o,a,u]}if(!this.component)throw new Error("tagName is not supported yet");var c=yn(),s=c.rootViewId,l=null!=i?i:{},f=w({id:this.nodeId,pId:null!==(n=null===(t=this.parentNode)||void 0===t?void 0:t.nodeId)&&void 0!==n?n:s},l),d=qn(this),p=void 0,h=[f,r];return[[h],[d],[p]]}}],[{key:"getUniqueNodeId",value:function(){return e.hippyUniqueId||(e.hippyUniqueId=0),e.hippyUniqueId+=1,e.hippyUniqueId%10==0&&(e.hippyUniqueId+=1),e.hippyUniqueId}}]),r}(Vn),Xn=function(e){x(n,e);var t=h(n);function n(e,r){var i;return g(this,n),(i=t.call(this,Bn.TextNode,r)).text=e,i.data=e,i.isNeedInsertToNative=!1,i}return O(n,[{key:"setText",value:function(e){this.text=e,this.parentNode&&this.parentNode.nodeType===Bn.ElementNode&&this.parentNode.setText(e)}}]),n}(Jn);function Zn(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,i=r,o={textShadowOffsetX:"width",textShadowOffsetY:"height"};return i.textShadowOffset=null!==(t=i.textShadowOffset)&&void 0!==t?t:{},Object.assign(i.textShadowOffset,{[o[e]]:n}),["textShadowOffset",i.textShadowOffset]}function Qn(e,t){var n=t;e.component.name===ze.TextInput&&an()&&(n.textAlign||(n.textAlign="right"))}function er(e,t,n){var r=t,i=n;e.component.name===ze.View&&("scroll"===i.overflowX&&i.overflowY,"scroll"===i.overflowY?r.name="ScrollView":"scroll"===i.overflowX&&(r.name="ScrollView",r.props&&(r.props.horizontal=!0),i.flexDirection=an()?"row-reverse":"row"),"ScrollView"===r.name&&(e.childNodes.length,e.childNodes.length&&e.nodeType===Bn.ElementNode&&e.childNodes[0].setStyle("collapsable",!1)),i.backgroundImage&&(i.backgroundImage=ct(i.backgroundImage)))}function tr(e,t){if("string"==typeof e)for(var n=e.split(","),r=0,i=n.length;r1&&void 0!==arguments[1]&&arguments[1];e instanceof Xn&&this.setText(e.text,{notToNative:!0}),c(m(n.prototype),"appendChild",this).call(this,e,t)}},{key:"insertBefore",value:function(e,t){e instanceof Xn&&this.setText(e.text,{notToNative:!0}),c(m(n.prototype),"insertBefore",this).call(this,e,t)}},{key:"moveChild",value:function(e,t){e instanceof Xn&&this.setText(e.text,{notToNative:!0}),c(m(n.prototype),"moveChild",this).call(this,e,t)}},{key:"removeChild",value:function(e){e instanceof Xn&&this.setText("",{notToNative:!0}),c(m(n.prototype),"removeChild",this).call(this,e)}},{key:"hasAttribute",value:function(e){return!!this.attributes[e]}},{key:"getAttribute",value:function(e){return this.attributes[e]}},{key:"removeAttribute",value:function(e){delete this.attributes[e]}},{key:"setAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t,i=e;try{if("boolean"==typeof this.attributes[i]&&""===r&&(r=!0),void 0===i)return void(!n.notToNative&&this.updateNativeNode());switch(i){case"class":var o=new Set(pt(r));if(at(this.classList,o))return;return this.classList=o,void(!n.notToNative&&this.updateNativeNode(!0));case"id":if(r===this.id)return;return this.id=r,void(!n.notToNative&&this.updateNativeNode(!0));case"text":case"value":case"defaultValue":case"placeholder":if("string"!=typeof r)try{r=r.toString()}catch(e){"Property ".concat(i," must be string:").concat(e.message)}n&&n.textUpdate||(r=dt(r)),r=ot(r);break;case"numberOfRows":if(!Pt.isIOS())return;break;case"caretColor":case"caret-color":i="caret-color",r=Pt.parseColor(r);break;case"break-strategy":i="breakStrategy";break;case"placeholderTextColor":case"placeholder-text-color":i="placeholderTextColor",r=Pt.parseColor(r);break;case"underlineColorAndroid":case"underline-color-android":i="underlineColorAndroid",r=Pt.parseColor(r);break;case"nativeBackgroundAndroid":var a=r;void 0!==a.color&&(a.color=Pt.parseColor(a.color)),i="nativeBackgroundAndroid",r=a}if(this.attributes[i]===r)return;this.attributes[i]=r,"function"==typeof this.filterAttribute&&this.filterAttribute(this.attributes),!n.notToNative&&this.updateNativeNode()}catch(e){0}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setAttribute("text",e,{notToNative:!!t.notToNative})}},{key:"removeStyle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.style={},e||this.updateNativeNode()}},{key:"setStyles",value:function(e){var t=this;e&&"object"===k(e)&&(Object.keys(e).forEach((function(n){var r=e[n];t.setStyle(n,r,!0)})),this.updateNativeNode())}},{key:"setStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===t)return delete this.style[e],void(n||this.updateNativeNode());var r=this.beforeLoadStyle({property:e,value:t}),i=r.property,o=r.value;switch(i){case"fontWeight":"string"!=typeof o&&(o=o.toString());break;case"backgroundImage":var a=re(i,o),u=T(a,2);i=u[0],o=u[1];break;case"textShadowOffsetX":case"textShadowOffsetY":var c=Zn(i,o,this.style),s=T(c,2);i=s[0],o=s[1];break;case"textShadowOffset":var l=null!=o?o:{},f=l.x,d=void 0===f?0:f,p=l.width,v=void 0===p?0:p,h=l.y,y=void 0===h?0:h,m=l.height,g=void 0===m?0:m;o={width:d||v,height:y||g};break;default:Object.prototype.hasOwnProperty.call(z,i)&&(i=z[i]),"string"==typeof o&&(o=o.trim(),o=i.toLowerCase().indexOf("color")>=0?Pt.parseColor(o):o.endsWith("px")?parseFloat(o.slice(0,o.length-2)):Qe(o))}null!=o&&this.style[i]!==o&&(this.style[i]=o,n||this.updateNativeNode())}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;if("number"==typeof e&&"number"==typeof t){var r=n;!1===r&&(r=0),Pt.callUIFunction(this,"scrollToWithOptions",[{x:e,y:t,duration:r}])}}},{key:"scrollTo",value:function(e,t,n){if("object"===k(e)&&e){var r=e.left,i=e.top,o=e.behavior,a=void 0===o?"auto":o,u=e.duration;this.scrollToPosition(r,i,"none"===a?0:u)}else this.scrollToPosition(e,t,n)}},{key:"setListenerHandledType",value:function(e,t){this.events[e]&&(this.events[e].handledType=t)}},{key:"isListenerHandled",value:function(e,t){return!this.events[e]||t===this.events[e].handledType}},{key:"getNativeEventName",value:function(e){var t="on".concat(Xe(e));if(this.component){var n=this.component.eventNamesMap;(null==n?void 0:n.get(e))&&(t=n.get(e))}return t}},{key:"addEventListener",value:function(e,t,r){var i=this,o=e,a=t,u=r,s=!0;"scroll"!==o||this.getAttribute("scrollEventThrottle")>0||(this.attributes.scrollEventThrottle=200);var l=this.getNativeEventName(o);if(this.attributes[l]&&(s=!1),"function"==typeof this.polyfillNativeEvents){var f=this.polyfillNativeEvents(vn,o,a,u);o=f.eventNames,a=f.callback,u=f.options}c(m(n.prototype),"addEventListener",this).call(this,o,a,u),tr(o,(function(e){var t,n,r=i.getNativeEventName(e);i.events[r]?i.events[r]&&i.events[r].type!==un&&(i.events[r].type=un):i.events[r]={name:r,type:un,listener:(t=r,n=e,function(e){var r=e.id,i=e.currentId,o=e.params,a=e.eventPhase;Fn.receiveComponentEvent({id:r,nativeName:t,originalName:n,currentId:i,params:o,eventPhase:a},e)}),isCapture:!1}})),s&&this.updateNativeNode()}},{key:"removeEventListener",value:function(e,t,r){var i=this,o=e,a=t,u=r;if("function"==typeof this.polyfillNativeEvents){var s=this.polyfillNativeEvents(hn,o,a,u);o=s.eventNames,a=s.callback,u=s.options}c(m(n.prototype),"removeEventListener",this).call(this,o,a,u),tr(o,(function(e){var t=i.getNativeEventName(e);i.events[t]&&(i.events[t].type=cn)}));var l=this.getNativeEventName(o);this.attributes[l]&&delete this.attributes[l],this.updateNativeNode()}},{key:"dispatchEvent",value:function(e,t,n){var r=e;r.currentTarget=this,r.target||(r.target=t||this,jn(r)&&(r.target.value=r.value)),this.emitEvent(r),!r.bubbles&&n&&n.stopPropagation()}},{key:"convertToNativeNodes",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isNeedInsertToNative)return[[],[],[]];if(e)return c(m(n.prototype),"convertToNativeNodes",this).call(this,!0,r);var i=this.getNativeStyles();if(it()(this,i),this.component.defaultNativeStyle){var o=this.component.defaultNativeStyle,a={};Object.keys(o).forEach((function(e){t.getAttribute(e)||(a[e]=o[e])})),i=w(w({},a),i)}var u={name:this.component.name,props:w(w({},this.getNativeProps()),{},{style:i}),tagName:this.tagName};return Qn(this,i),er(this,u,i),c(m(n.prototype),"convertToNativeNodes",this).call(this,!1,r,u)}},{key:"repaintWithChildren",value:function(){this.updateNativeNode(!0)}},{key:"setNativeProps",value:function(e){if(e){var t=e.style;this.setStyles(t)}}},{key:"setPressed",value:function(e){Pt.callUIFunction(this,"setPressed",[e])}},{key:"setHotspot",value:function(e,t){Pt.callUIFunction(this,"setHotspot",[e,t])}},{key:"setStyleScope",value:function(e){var t="string"!=typeof e?e.toString():e;t&&!this.scopedIdList.includes(t)&&this.scopedIdList.push(t)}},{key:"styleScopeId",get:function(){return this.scopedIdList}},{key:"getInlineStyle",value:function(){var e=this,t={};return Object.keys(this.style).forEach((function(n){var r=P.toRaw(e.style[n]);void 0!==r&&(t[n]=r)})),t}},{key:"getNativeStyles",value:function(){var e=this,t={};return Be(void 0,tt()).query(this).selectors.forEach((function(n){var r,i;ft(n,e)&&(null===(i=null===(r=n.ruleSet)||void 0===r?void 0:r.declarations)||void 0===i?void 0:i.length)&&n.ruleSet.declarations.forEach((function(e){e.property&&(t[e.property]=e.value)}))})),this.ssrInlineStyle&&(t=w(w({},t),this.ssrInlineStyle)),t=n.parseRem(w(w({},t),this.getInlineStyle()))}},{key:"getNativeProps",value:function(){var e=this,t={},n=this.component.defaultNativeProps;n&&Object.keys(n).forEach((function(r){if(void 0===e.getAttribute(r)){var i=n[r];t[r]=C.isFunction(i)?i(e):P.toRaw(i)}})),Object.keys(this.attributes).forEach((function(n){var r,i=P.toRaw(e.getAttribute(n));if(e.component.attributeMaps&&e.component.attributeMaps[n]){var o=e.component.attributeMaps[n];if(C.isString(o))t[o]=P.toRaw(i);else if(C.isFunction(o))t[n]=P.toRaw(o(i));else{var a=o.name,u=o.propsValue,c=o.jointKey;C.isFunction(u)&&(i=u(i)),c?(t[c]=null!==(r=t[c])&&void 0!==r?r:{},Object.assign(t[c],{[a]:P.toRaw(i)})):t[a]=P.toRaw(i)}}else t[n]=P.toRaw(i)}));var r=this.component.nativeProps;return r&&Object.keys(r).forEach((function(e){t[e]=P.toRaw(r[e])})),t}},{key:"getNodeAttributes",value:function(){var e;try{var t=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if("object"!==k(t)||null===t)throw new TypeError("deepCopy data is object");if(n.has(t))return n.get(t);var r={},i=Object.keys(t);return i.forEach((function(i){var o=t[i];"object"!==k(o)||null===o?r[i]=o:Array.isArray(o)?r[i]=v(o):o instanceof Set?r[i]=new Set(v(o)):o instanceof Map?r[i]=new Map(v(o)):(n.set(t,t),r[i]=e(o,n))})),r}(this.attributes),n=Array.from(null!==(e=this.classList)&&void 0!==e?e:[]).join(" "),r=w({id:this.id,hippyNodeId:"".concat(this.nodeId),class:n},t);return delete r.text,delete r.value,Object.keys(r).forEach((function(e){e.toLowerCase().includes("color")&&delete r[e]})),r}catch(e){return{}}}},{key:"getNativeEvents",value:function(){var e={},t=this.getEventListenerList(),n=Object.keys(t);if(n.length){var r=this.component.eventNamesMap;n.forEach((function(n){var i=null==r?void 0:r.get(n);if(i)e[i]=!!t[n];else{var o="on".concat(Xe(n));e[o]=!!t[n]}}))}return e}},{key:"hackSpecialIssue",value:function(){this.fixVShowDirectiveIssue()}},{key:"fixVShowDirectiveIssue",value:function(){var e,t=this,n=null!==(e=this.style.display)&&void 0!==e?e:void 0;Object.defineProperty(this.style,"display",{enumerable:!0,configurable:!0,get:function(){return n},set:function(e){n=void 0===e?"flex":e,t.updateNativeNode()}})}}],[{key:"parseRem",value:function(e){var t={},n=Object.keys(e);return n.length?n.forEach((function(n){t[n]=function(e){var t=e;if("string"!=typeof t||!t.endsWith("rem"))return t;if(t=parseFloat(t),Number.isNaN(t))return e;var n=yn().ratioBaseWidth;return 100*t*(Pt.Dimensions.screen.width/n)}(e[n])})):t=e,t}}]),n}(Jn);var rr=["dialog","hi-pull-header","hi-pull-footer","hi-swiper","hi-swiper-slider","hi-waterfall","hi-waterfall-item","hi-ul-refresh-wrapper","hi-refresh-wrapper-item"],ir={install:function(t){!function(t){var n={valueType:void 0,delay:0,startValue:0,toValue:0,duration:0,direction:"center",timingFunction:"linear",repeatCount:0,inputRange:[],outputRange:[]};function r(e,t){return"color"===e&&["number","string"].indexOf(k(t))>=0?Pt.parseColor(t):t}function c(e){return"loop"===e?-1:e}function s(t){var o=t.mode,a=void 0===o?"timing":o,s=t.valueType,l=t.startValue,f=t.toValue,d=u(t,i),p=w(w({},n),d);void 0!==s&&(p.valueType=t.valueType),p.startValue=r(p.valueType,l),p.toValue=r(p.valueType,f),p.repeatCount=c(p.repeatCount),p.mode=a;var v=new e.Hippy.Animation(p),h=v.getId();return{animation:v,animationId:h}}function l(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=new e.Hippy.AnimationSet({children:t,repeatCount:n}),i=r.getId();return{animation:r,animationId:i}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};return Object.keys(e).forEach((function(r){if(Array.isArray(e[r])){var i=e[r],o=i[i.length-1].repeatCount,a=l(i.map((function(e){var n=s(w(w({},e),{},{repeatCount:0})),r=n.animationId,i=n.animation;return Object.assign(t,{[r]:i}),{animationId:r,follow:!0}})),c(o)),u=a.animationId,f=a.animation;n[r]={animationId:u},Object.assign(t,{[u]:f})}else{var d=s(e[r]),p=d.animationId,v=d.animation;Object.assign(t,{[p]:v}),n[r]={animationId:p}}})),n}function d(e){var t=e.transform,n=u(e,o),r=Object.keys(n).map((function(t){return e[t].animationId}));if(Array.isArray(t)&&t.length>0){var i=[];t.forEach((function(e){return Object.keys(e).forEach((function(t){if(e[t]){var n=e[t].animationId;"number"==typeof n&&n%1==0&&i.push(n)}}))})),r=[].concat(v(r),i)}return r}t.component("Animation",{props:{tag:{type:String,default:"div"},playing:{type:Boolean,default:!1},actions:{type:Object,required:!0},props:Object},data:function(){return{style:{},animationIds:[],animationIdsMap:{},animationEventMap:{}}},watch:{playing:function(e,t){!t&&e?this.start():t&&!e&&this.pause()},actions:function(){var e=this;this.destroy(),this.create(),setTimeout((function(){var t=e.$attrs[st("actionsDidUpdate")];"function"==typeof t&&t()}))}},created:function(){this.animationEventMap={start:"animationstart",end:"animationend",repeat:"animationrepeat",cancel:"animationcancel"}},beforeMount:function(){this.create()},mounted:function(){var e=this;this.$props.playing&&setTimeout((function(){e.start()}),0)},beforeDestroy:function(){this.destroy()},deactivated:function(){this.pause()},activated:function(){this.resume()},methods:{create:function(){var e=this.$props.actions,t=e.transform,n=u(e,a);this.animationIdsMap={};var r=f(n,this.animationIdsMap);if(t){var i=f(t,this.animationIdsMap);r.transform=Object.keys(i).map((function(e){return{[e]:i[e]}}))}this.$alreadyStarted=!1,this.style=r},removeAnimationEvent:function(){var e=this;this.animationIds.forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);n&&Object.keys(e.animationEventMap).forEach((function(t){if("function"==typeof e.$attrs[st(t)]){var r=e.animationEventMap[t];r&&"function"==typeof e["".concat(r)]&&n.removeEventListener(r)}}))}))},addAnimationEvent:function(){var e=this;this.animationIds.forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);n&&Object.keys(e.animationEventMap).forEach((function(t){if("function"==typeof e.$attrs[st(t)]){var r=e.animationEventMap[t];r&&n.addEventListener(r,(function(){e.$emit(t)}))}}))}))},reset:function(){this.$alreadyStarted=!1},start:function(){var e=this;this.$alreadyStarted?this.resume():(this.animationIds=d(this.style),this.$alreadyStarted=!0,this.removeAnimationEvent(),this.addAnimationEvent(),this.animationIds.forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.start()})))},resume:function(){var e=this;d(this.style).forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.resume()}))},pause:function(){var e=this;this.$alreadyStarted&&d(this.style).forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.pause()}))},destroy:function(){var e=this;this.removeAnimationEvent(),this.$alreadyStarted=!1,d(this.style).forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.destroy()}))}},render:function(){return P.h(this.tag,w({useAnimation:!0,style:this.style,tag:this.$props.tag},this.$props.props),this.$slots.default?this.$slots.default():null)}})}(t),Bt("dialog",{component:{name:"Modal",defaultNativeProps:{transparent:!0,immersionStatusBar:!0,collapsable:!1,autoHideStatusBar:!1,autoHideNavigationBar:!1},defaultNativeStyle:{position:"absolute"}}}),function(e){var t=Pt.callUIFunction;[["Header","header"],["Footer","footer"]].forEach((function(n){var r=T(n,2),i=r[0],o=r[1];Bt("hi-pull-".concat(o),{component:{name:"Pull".concat(i,"View"),processEventData:function(e,t){var n=e.handler;switch(e.__evt){case"on".concat(i,"Released"):case"on".concat(i,"Pulling"):Object.assign(n,t)}return n}}}),e.component("pull-".concat(o),{methods:{["expandPull".concat(i)]:function(){t(this.$refs.instance,"expandPull".concat(i))},["collapsePull".concat(i)]:function(e){"Header"===i&&void 0!==e?t(this.$refs.instance,"collapsePull".concat(i,"WithOptions"),[e]):t(this.$refs.instance,"collapsePull".concat(i))},onLayout:function(e){this.$contentHeight=e.height},["on".concat(i,"Released")]:function(e){this.$emit("released",e)},["on".concat(i,"Pulling")]:function(e){e.contentOffset>this.$contentHeight?"pulling"!==this.$lastEvent&&(this.$lastEvent="pulling",this.$emit("pulling",e)):"idle"!==this.$lastEvent&&(this.$lastEvent="idle",this.$emit("idle",e))}},render:function(){var e=this.$attrs,t=e.onReleased,n=e.onPulling,r=e.onIdle,a={onLayout:this.onLayout};return"function"==typeof t&&(a["on".concat(i,"Released")]=this["on".concat(i,"Released")]),"function"!=typeof n&&"function"!=typeof r||(a["on".concat(i,"Pulling")]=this["on".concat(i,"Pulling")]),P.h("hi-pull-".concat(o),w(w({},a),{},{ref:"instance"}),this.$slots.default?this.$slots.default():null)}})}))}(t),function(e){Bt("hi-ul-refresh-wrapper",{component:{name:"RefreshWrapper"}}),Bt("hi-refresh-wrapper-item",{component:{name:"RefreshWrapperItemView"}}),e.component("UlRefreshWrapper",{props:{bounceTime:{type:Number,defaultValue:100}},methods:{startRefresh:function(){Pt.callUIFunction(this.$refs.refreshWrapper,"startRefresh",null)},refreshCompleted:function(){Pt.callUIFunction(this.$refs.refreshWrapper,"refreshComplected",null)}},render:function(){return P.h("hi-ul-refresh-wrapper",{ref:"refreshWrapper"},this.$slots.default?this.$slots.default():null)}}),e.component("UlRefresh",{render:function(){var e=P.h("div",null,this.$slots.default?this.$slots.default():null);return P.h("hi-refresh-wrapper-item",{style:{position:"absolute",left:0,right:0}},e)}})}(t),function(e){Bt("hi-waterfall",{component:{name:"WaterfallView",processEventData:function(e,t){var n=e.handler;switch(e.__evt){case"onExposureReport":n.exposureInfo=t.exposureInfo;break;case"onScroll":var r=t.startEdgePos,i=t.endEdgePos,o=t.firstVisibleRowIndex,a=t.lastVisibleRowIndex,u=t.visibleRowFrames;Object.assign(n,{startEdgePos:r,endEdgePos:i,firstVisibleRowIndex:o,lastVisibleRowIndex:a,visibleRowFrames:u})}return n}}}),Bt("hi-waterfall-item",{component:{name:"WaterfallItem"}}),e.component("Waterfall",{props:{numberOfColumns:{type:Number,default:2},contentInset:{type:Object,default:function(){return{top:0,left:0,bottom:0,right:0}}},columnSpacing:{type:Number,default:0},interItemSpacing:{type:Number,default:0},preloadItemNumber:{type:Number,default:0},containBannerView:{type:Boolean,default:!1},containPullHeader:{type:Boolean,default:!1},containPullFooter:{type:Boolean,default:!1}},methods:{call:function(e,t){Pt.callUIFunction(this.$refs.waterfall,e,t)},startRefresh:function(){this.call("startRefresh")},startRefreshWithType:function(e){this.call("startRefreshWithType",[e])},callExposureReport:function(){this.call("callExposureReport",[])},scrollToIndex:function(e){var t=e.index,n=void 0===t?0:t,r=e.animated,i=void 0===r||r;this.call("scrollToIndex",[n,n,i])},scrollToContentOffset:function(e){var t=e.xOffset,n=void 0===t?0:t,r=e.yOffset,i=void 0===r?0:r,o=e.animated,a=void 0===o||o;this.call("scrollToContentOffset",[n,i,a])},startLoadMore:function(){this.call("startLoadMore")}},render:function(){var e=lt.call(this,["headerReleased","headerPulling","endReached","exposureReport","initialListReady","scroll"]);return P.h("hi-waterfall",w(w({},e),{},{ref:"waterfall",numberOfColumns:this.numberOfColumns,contentInset:this.contentInset,columnSpacing:this.columnSpacing,interItemSpacing:this.interItemSpacing,preloadItemNumber:this.preloadItemNumber,containBannerView:this.containBannerView,containPullHeader:this.containPullHeader,containPullFooter:this.containPullFooter}),this.$slots.default?this.$slots.default():null)}}),e.component("WaterfallItem",{props:{type:{type:[String,Number],default:""},fullSpan:{type:Boolean,default:!1}},render:function(){return P.h("hi-waterfall-item",{type:this.type,fullSpan:this.fullSpan},this.$slots.default?this.$slots.default():null)}})}(t),function(e){Bt("hi-swiper",{component:{name:"ViewPager",processEventData:function(e,t){var n=e.handler;switch(e.__evt){case"onPageSelected":n.currentSlide=t.position;break;case"onPageScroll":n.nextSlide=t.position,n.offset=t.offset;break;case"onPageScrollStateChanged":n.state=t.pageScrollState}return n}}}),Bt("hi-swiper-slide",{component:{name:"ViewPagerItem",defaultNativeStyle:{position:"absolute",top:0,right:0,bottom:0,left:0}}}),e.component("Swiper",{props:{current:{type:Number,defaultValue:0},needAnimation:{type:Boolean,defaultValue:!0}},data:function(){return{$initialSlide:0}},watch:{current:function(e){this.$props.needAnimation?this.setSlide(e):this.setSlideWithoutAnimation(e)}},beforeMount:function(){this.$initialSlide=this.$props.current},methods:{setSlide:function(e){Pt.callUIFunction(this.$refs.swiper,"setPage",[e])},setSlideWithoutAnimation:function(e){Pt.callUIFunction(this.$refs.swiper,"setPageWithoutAnimation",[e])}},render:function(){var e=lt.call(this,[["dropped","pageSelected"],["dragging","pageScroll"],["stateChanged","pageScrollStateChanged"]]);return P.h("hi-swiper",w(w({},e),{},{ref:"swiper",initialPage:this.$data.$initialSlide}),this.$slots.default?this.$slots.default():null)}}),e.component("SwiperSlide",{render:function(){return P.h("hi-swiper-slide",{},this.$slots.default?this.$slots.default():null)}})}(t)}};var or=function(e){x(n,e);var t=h(n);function n(e,r){var i;return g(this,n),(i=t.call(this,"comment",r)).text=e,i.data=e,i.isNeedInsertToNative=!1,i}return O(n)}(nr),ar=function(e){x(i,e);var t,n,r=h(i);function i(){return g(this,i),r.apply(this,arguments)}return O(i,[{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"textarea"===this.tagName?this.setAttribute("value",e,{notToNative:!!t.notToNative}):this.setAttribute("text",e,{notToNative:!!t.notToNative})}},{key:"getValue",value:(n=d(l().mark((function e(){var t=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){return Pt.callUIFunction(t,"getValue",(function(t){return e(t.text)}))})));case 1:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},{key:"setValue",value:function(e){Pt.callUIFunction(this,"setValue",[e])}},{key:"focus",value:function(){Pt.callUIFunction(this,"focusTextInput",[])}},{key:"blur",value:function(){Pt.callUIFunction(this,"blurTextInput",[])}},{key:"clear",value:function(){Pt.callUIFunction(this,"clear",[])}},{key:"isFocused",value:(t=d(l().mark((function e(){var t=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){return Pt.callUIFunction(t,"isFocused",(function(t){return e(t.value)}))})));case 1:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})}]),i}(nr),ur=function(e){x(n,e);var t=h(n);function n(){return g(this,n),t.apply(this,arguments)}return O(n,[{key:"scrollToIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Pt.callUIFunction(this,"scrollToIndex",[e,t,n])}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];"number"==typeof e&&"number"==typeof t&&Pt.callUIFunction(this,"scrollToContentOffset",[e,t,n])}}]),n}(nr),cr=function(e){x(n,e);var t=h(n);function n(){return g(this,n),t.call(this,Bn.DocumentNode)}return O(n,null,[{key:"createComment",value:function(e){return new or(e)}},{key:"createElement",value:function(e){switch(e){case"input":case"textarea":return new ar(e);case"ul":return new ur(e);default:return new nr(e)}}},{key:"createTextNode",value:function(e){return new Xn(e)}}]),n}(Jn);var sr={insert:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t.childNodes.indexOf(e)>=0?t.moveChild(e,n):t.insertBefore(e,n)},remove:function(e){var t=e.parentNode;t&&(t.removeChild(e),Pn(e))},setText:function(e,t){e.setText(t)},setElementText:function(e,t){e.setText(t)},createElement:function(e){return cr.createElement(e)},createComment:function(e){return cr.createComment(e)},createText:function(e){return cr.createTextNode(e)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},setScopeId:function(e,t){e.setStyleScope(t)}};var lr=/(?:Once|Passive|Capture)$/;function fr(e){var t,n=e,r={};if(lr.test(n))for(var i=n.match(lr);i;)n=n.slice(0,n.length-i[0].length),r[i[0].toLowerCase()]=!0,i=n.match(lr);return n=":"===n[2]?n.slice(3):n.slice(2),[(t=n,"".concat(t.charAt(0).toLowerCase()).concat(t.slice(1))),r]}function dr(e,t){var n=function e(n){P.callWithAsyncErrorHandling(e.value,t,P.ErrorCodes.NATIVE_EVENT_HANDLER,[n])};return n.value=e,n}function pr(e,t,n){var r=e,i={};if(!function(e,t,n){var r=!e,i=!t&&!n,o=JSON.stringify(t)===JSON.stringify(n);return r||i||o}(r,t,n))if(t&&!n)r.removeStyle();else{if(C.isString(n))throw new Error("Style is Not Object");n&&(Object.keys(n).forEach((function(e){var t=n[e];(function(e){return null==e})(t)||(i[P.camelize(e)]=t)})),r.removeStyle(!0),r.setStyles(i))}}function vr(e,t,n,r,i,o,a){switch(t){case"class":!function(e,t){var n=t;null===n&&(n=""),e.setAttribute("class",n)}(e,r);break;case"style":pr(e,n,r);break;default:C.isOn(t)?function(e,t,n,r){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e,u=null!==(i=a._vei)&&void 0!==i?i:a._vei={},c=u[t];if(r&&c)c.value=r;else{var s=fr(t),l=T(s,2),f=l[0],d=l[1];if(r){u[t]=dr(r,o);var p=u[t];a.addEventListener(f,p,d)}else a.removeEventListener(f,c,d),u[t]=void 0}}(e,t,n,r,a):function(e,t,n,r){null===r?e.removeAttribute(t):n!==r&&e.setAttribute(t,r)}(e,t,n,r)}}var hr=!1,yr=function(){function e(t,n,r){var i=this;g(this,e),this.webSocketId=-1,this.protocol="",this.listeners={},this.url=t,this.readyState=0,this.webSocketCallbacks={},this.onWebSocketEvent=this.onWebSocketEvent.bind(this);var o=w({},r);if(hr||(hr=!0,Ye.$on("hippyWebsocketEvents",this.onWebSocketEvent)),!t)throw new TypeError("Invalid WebSocket url");Array.isArray(n)&&n.length>0?(this.protocol=n.join(","),o["Sec-WebSocket-Protocol"]=this.protocol):"string"==typeof n&&(this.protocol=n,o["Sec-WebSocket-Protocol"]=this.protocol);var a={headers:o,url:t};Pt.callNativeWithPromise("websocket","connect",a).then((function(e){e&&0===e.code&&(i.webSocketId=e.id)}))}return O(e,[{key:"close",value:function(e,t){1===this.readyState&&(this.readyState=2,Pt.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}},{key:"send",value:function(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: ".concat(k(e)));Pt.callNative("websocket","send",{id:this.webSocketId,data:e})}}},{key:"onopen",set:function(e){this.addEventListener("open",e)}},{key:"onclose",set:function(e){this.addEventListener("close",e)}},{key:"onerror",set:function(e){this.addEventListener("error",e)}},{key:"onmessage",set:function(e){this.addEventListener("message",e)}},{key:"onWebSocketEvent",value:function(e){if("object"===k(e)&&e.id===this.webSocketId){var t=e.type;if("string"==typeof t){"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,Ye.$off("hippyWebsocketEvents",this.onWebSocketEvent));var n=this.webSocketCallbacks[t];(null==n?void 0:n.length)&&n.forEach((function(t){C.isFunction(t)&&t(e.data)}))}}}},{key:"addEventListener",value:function(e,t){if(function(e){return-1!==["open","close","message","error"].indexOf(e)}(e)){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);var n=st(e);this.webSocketCallbacks[n]=this.listeners[e]}}}]),e}();function mr(e,t){var n=function(e){var t;if("comment"===e.name)return new or(e.props.text,e);if("Text"===e.name&&!e.tagName){var n=new Xn(e.props.text,e);return n.nodeType=Bn.TextNode,n.data=e.props.text,n}switch(e.tagName){case"input":case"textarea":return new ar(e.tagName,e);case"ul":return new ur(e.tagName,e);default:return new nr(null!==(t=e.tagName)&&void 0!==t?t:"",e)}}(e),r=t.filter((function(t){return t.pId===e.id})).sort((function(e,t){return e.index-t.index})),i=r.filter((function(e){return"comment"===e.name}));if(i.length){r=r.filter((function(e){return"comment"!==e.name}));for(var o=i.length-1;o>=0;o--)r.splice(i[o].index,0,i[o])}return r.forEach((function(e){n.appendChild(mr(e,t),!0)})),n}e.WebSocket=yr;var gr=['%c[Hippy-Vue-Next "unspecified"]%c',"color: #4fc08d; font-weight: bold","color: auto; font-weight: auto"];function br(e,t){if(Pt.isIOS()){var n=function(e){var t,n,r,i=e.iPhone;if((null==i?void 0:i.statusBar)&&(r=i.statusBar),null==r?void 0:r.disabled)return null;var o=new nr("div"),a=Pt.Dimensions.screen.statusBarHeight;Pt.screenIsVertical?o.setStyle("height",a):o.setStyle("height",0);var u=4282431619;if(Number.isInteger(u)&&(u=r.backgroundColor),o.setStyle("backgroundColor",u),"string"==typeof r.backgroundImage){var c=new nr("img");c.setStyle("width",Pt.Dimensions.screen.width),c.setStyle("height",a),c.setAttribute("src",null===(n=null===(t=e.iPhone)||void 0===t?void 0:t.statusBar)||void 0===n?void 0:n.backgroundImage),o.appendChild(c)}return o.addEventListener("layout",(function(){Pt.screenIsVertical?o.setStyle("height",a):o.setStyle("height",0)})),o}(e);if(n){var r=t.$el.parentNode;r.childNodes.length?r.insertBefore(n,r.childNodes[0]):r.appendChild(n)}}}var Or=function(e,t){var n,r,i,o,a=e,u=Boolean(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length);a.use(on),a.use(ir),"function"==typeof(null===(r=null==t?void 0:t.styleOptions)||void 0===r?void 0:r.beforeLoadStyle)&&(i=t.styleOptions.beforeLoadStyle,et=i),t.silent&&(o=t.silent,o),function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];Ke=e}(t.trimWhitespace);var c=a.mount;return a.mount=function(e){var n;mn("rootContainer",e);var r,i=(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length)?mr(T(r=t.ssrNodeList,1)[0],r):function(e){var t=cr.createElement("div");return t.id=e,t.style={display:"flex",flex:1},t}(e),o=c(i,u,!1);return mn("instance",o),u||br(t,o),o},a.$start=function(){var e=d(l().mark((function e(n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){Pt.hippyNativeRegister.regist(t.appName,(function(r){var i,o,u=r.__instanceId__;Ge.apply(void 0,gr.concat(["Start",t.appName,"with rootViewId",u,r]));var c,s=yn();(null==s?void 0:s.app)&&s.app.unmount(),c={rootViewId:u,superProps:r,app:a,ratioBaseWidth:null!==(o=null===(i=null==t?void 0:t.styleOptions)||void 0===i?void 0:i.ratioBaseWidth)&&void 0!==o?o:750},pn=c;var l={superProps:r,rootViewId:u};C.isFunction(n)?n(l):e(l)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a};t.BackAndroid=Dt,t.ContentSizeEvent=Sn,t.EventBus=Ye,t.ExposureEvent=Nn,t.FocusEvent=En,t.HIPPY_DEBUG_ADDRESS=We,t.HIPPY_GLOBAL_DISPOSE_STYLE_NAME="__HIPPY_VUE_DISPOSE_STYLES__",t.HIPPY_GLOBAL_STYLE_NAME="__HIPPY_VUE_STYLES__",t.HIPPY_STATIC_PROTOCOL="hpfile://",t.HIPPY_UNIQUE_ID_KEY="hippyUniqueId",t.HIPPY_VUE_VERSION="unspecified",t.HippyEvent=gn,t.HippyKeyboardEvent=wn,t.HippyLayoutEvent=On,t.HippyLoadResourceEvent=_n,t.HippyTouchEvent=bn,t.IS_PROD=!0,t.ListViewEvent=xn,t.NATIVE_COMPONENT_MAP=ze,t.Native=Pt,t.ViewPagerEvent=kn,t._setBeforeRenderToNative=function(e,t){C.isFunction(e)&&(1===t?rt=e:console.error("_setBeforeRenderToNative API had changed, the hook function will be ignored!"))},t.createApp=function(e,t){var n=P.createRenderer(w({patchProp:vr},sr)).createApp(e);return Or(n,t)},t.createHippyApp=Or,t.createSSRApp=function(e,t){var n=P.createHydrationRenderer(w({patchProp:vr},sr)).createApp(e);return Or(n,t)},t.eventIsKeyboardEvent=jn,t.getCssMap=Be,t.getTagComponent=Ut,t.isNativeTag=function(e){return rr.includes(e)},t.parseCSS=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{source:0},n=1,r=1;function i(e){var t=e.match(/\n/g);t&&(n+=t.length);var i=e.lastIndexOf("\n");r=~i?e.length-i:r+e.length}function o(t){var n=t.exec(e);if(!n)return null;var r=n[0];return i(r),e=e.slice(r.length),n}function a(){o(/^\s*/)}function u(){return function(i){return i.position={start:{line:n,column:r},end:{line:n,column:r},source:t.source,content:e},a(),i}}var c=[];function s(i){var o=w(w({},new Error("".concat(t.source,":").concat(n,":").concat(r,": ").concat(i))),{},{reason:i,filename:t.source,line:n,column:r,source:e});if(!t.silent)throw o;c.push(o)}function l(){var t=u();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return null;for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)n+=1;if(n+=2,""===e.charAt(n-1))return s("End of comment missing");var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:"comment",comment:o})}function f(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t||[];e=l();)!1!==e&&n.push(e);return n}function d(){var t,n=[];for(a(),f(n);e.length&&"}"!==e.charAt(0)&&(t=M()||b());)t&&(n.push(t),f(n));return n}function p(){var e=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:c}}}function v(){return o(/^{\s*/)}function h(){return o(/^}/)}function y(){var e=o(/^([^{]+)/);return e?e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")})):null}function m(){var e=u(),t=o(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+])?)\s*/);if(!t)return null;if(t=t[0].trim(),!o(/^:\s*/))return s("property missing ':'");var n=t.replace(X,""),r=C.camelize(n),i=z[r]||r,a=o(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]{0,500}?\)|[^};])+)/),c=a?a[0].trim().replace(X,""):"";switch(i){case"backgroundImage":var l=T(re(i,c),2);i=l[0],c=l[1];break;case"transform":var f=/((\w+)\s*\()/,d=/(?:\(['"]?)(.*?)(?:['"]?\))/,p=c;c=[],p.split(" ").forEach((function(e){if(f.test(e)){var t,n,r=f.exec(e),i=d.exec(e);if(r)t=T(r,3)[2];if(i)n=T(i,2)[1];0===n.indexOf(".")&&(n="0".concat(n)),parseFloat(n).toString()===n&&(n=parseFloat(n));var o={};o[t]=n,c.push(o)}else s("missing '('")}));break;case"fontWeight":break;case"shadowOffset":var v=c.split(" ").filter((function(e){return e})).map((function(e){return ee(e)})),h=T(v,1)[0],y=T(v,2)[1];y||(y=h),c={x:h,y:y};break;case"collapsable":c=Boolean(c);break;default:c=Q(c);["top","left","right","bottom","height","width","size","padding","margin","ratio","radius","offset","spread"].find((function(e){return i.toLowerCase().indexOf(e)>-1}))&&(c=ee(c))}var m=e({type:"declaration",value:c,property:i});return o(/^[;\s]*/),m}function g(){var e,t=[];if(!v())return s("missing '{'");for(f(t);e=m();)!1!==e&&(Array.isArray(e)?t=t.concat(e):t.push(e),f(t));return h()?t:s("missing '}'")}function b(){var e=u(),t=y();return t?(f(),e({type:"rule",selectors:t,declarations:g()})):s("selector missing")}function O(){for(var e,t=[],n=u();e=o(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),o(/^,\s*/);return t.length?n({type:"keyframe",values:t,declarations:g()}):null}function _(){var e=u(),t=o(/^@([-\w]+)?keyframes\s*/);if(!t)return null;var n=t[1];if(!(t=o(/^([-\w]+)\s*/)))return s("@keyframes missing name");var r,i=t[1];if(!v())return s("@keyframes missing '{'");for(var a=f();r=O();)a.push(r),a=a.concat(f());return h()?e({type:"keyframes",name:i,vendor:n,keyframes:a}):s("@keyframes missing '}'")}function S(){var e=u(),t=o(/^@supports *([^{]+)/);if(!t)return null;var n=t[1].trim();if(!v())return s("@supports missing '{'");var r=f().concat(d());return h()?e({type:"supports",supports:n,rules:r}):s("@supports missing '}'")}function E(){var e=u();if(!o(/^@host\s*/))return null;if(!v())return s("@host missing '{'");var t=f().concat(d());return h()?e({type:"host",rules:t}):s("@host missing '}'")}function k(){var e=u(),t=o(/^@media *([^{]+)/);if(!t)return null;var n=t[1].trim();if(!v())return s("@media missing '{'");var r=f().concat(d());return h()?e({type:"media",media:n,rules:r}):s("@media missing '}'")}function N(){var e=u(),t=o(/^@custom-media\s+(--[^\s]+)\s*([^{;]{1,200}?);/);return t?e({type:"custom-media",name:t[1].trim(),media:t[2].trim()}):null}function x(){var e=u();if(!o(/^@page */))return null;var t=y()||[];if(!v())return s("@page missing '{'");for(var n,r=f();n=m();)r.push(n),r=r.concat(f());return h()?e({type:"page",selectors:t,declarations:r}):s("@page missing '}'")}function j(){var e=u(),t=o(/^@([-\w]+)?document *([^{]+)/);if(!t)return null;var n=t[1].trim(),r=t[2].trim();if(!v())return s("@document missing '{'");var i=f().concat(d());return h()?e({type:"document",document:r,vendor:n,rules:i}):s("@document missing '}'")}function A(){var e=u();if(!o(/^@font-face\s*/))return null;if(!v())return s("@font-face missing '{'");for(var t,n=f();t=m();)n.push(t),n=n.concat(f());return h()?e({type:"font-face",declarations:n}):s("@font-face missing '}'")}function I(e){var t=new RegExp("^@".concat(e,"\\s*([^;]+);"));return function(){var n=u(),r=o(t);if(!r)return null;var i={type:e};return i[e]=r[1].trim(),n(i)}}var P=I("import"),R=I("charset"),L=I("namespace");function M(){return"@"!==e[0]?null:_()||k()||N()||S()||P()||R()||L()||j()||x()||E()||A()}return ie(p(),null)},t.registerElement=Bt,t.setScreenSize=function(t){var n;if(t.width&&t.height){var r=(null===(n=null==e?void 0:e.Hippy)||void 0===n?void 0:n.device).screen;r&&(r.width=t.width,r.height=t.height)}},t.translateColor=W}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"EffectScope",(function(){return O})),n.d(t,"ITERATE_KEY",(function(){return W})),n.d(t,"ReactiveEffect",(function(){return k})),n.d(t,"ReactiveFlags",(function(){return bt})),n.d(t,"TrackOpTypes",(function(){return mt})),n.d(t,"TriggerOpTypes",(function(){return gt})),n.d(t,"computed",(function(){return Je})),n.d(t,"customRef",(function(){return lt})),n.d(t,"deferredComputed",(function(){return yt})),n.d(t,"effect",(function(){return A})),n.d(t,"effectScope",(function(){return _})),n.d(t,"enableTracking",(function(){return M})),n.d(t,"getCurrentScope",(function(){return S})),n.d(t,"isProxy",(function(){return Ye})),n.d(t,"isReactive",(function(){return Ue})),n.d(t,"isReadonly",(function(){return He})),n.d(t,"isRef",(function(){return Qe})),n.d(t,"isShallow",(function(){return $e})),n.d(t,"markRaw",(function(){return ze})),n.d(t,"onScopeDispose",(function(){return E})),n.d(t,"pauseScheduling",(function(){return D})),n.d(t,"pauseTracking",(function(){return L})),n.d(t,"proxyRefs",(function(){return ct})),n.d(t,"reactive",(function(){return Me})),n.d(t,"readonly",(function(){return De})),n.d(t,"ref",(function(){return et})),n.d(t,"resetScheduling",(function(){return V})),n.d(t,"resetTracking",(function(){return F})),n.d(t,"shallowReactive",(function(){return Fe})),n.d(t,"shallowReadonly",(function(){return Ve})),n.d(t,"shallowRef",(function(){return tt})),n.d(t,"stop",(function(){return I})),n.d(t,"toRaw",(function(){return We})),n.d(t,"toRef",(function(){return vt})),n.d(t,"toRefs",(function(){return ft})),n.d(t,"toValue",(function(){return at})),n.d(t,"track",(function(){return K})),n.d(t,"trigger",(function(){return G})),n.d(t,"triggerRef",(function(){return it})),n.d(t,"unref",(function(){return ot}));var r,i=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js");function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]&&arguments[0];h(this,e),this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=r,!t&&r&&(this.index=(r.scopes||(r.scopes=[])).push(this)-1)}return m(e,[{key:"active",get:function(){return this._active}},{key:"run",value:function(e){if(this._active){var t=r;try{return r=this,e()}finally{r=t}}else 0}},{key:"on",value:function(){r=this}},{key:"off",value:function(){r=this.parent}},{key:"stop",value:function(e){if(this._active){var t,n;for(t=0,n=this.effects.length;t1&&void 0!==arguments[1]?arguments[1]:r;t&&t.active&&t.effects.push(e)}function S(){return r}function E(e){r&&r.cleanups.push(e)}var k=function(){function e(t,n,r,i){h(this,e),this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,w(this,i)}return m(e,[{key:"dirty",get:function(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,L();for(var e=0;e=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),F()}return this._dirtyLevel>=4},set:function(e){this._dirtyLevel=e?4:0}},{key:"run",value:function(){if(this._dirtyLevel=0,!this.active)return this.fn();var e=C,t=b;try{return C=!0,b=this,this._runnings++,x(this),this.fn()}finally{j(this),this._runnings--,b=t,C=e}}},{key:"stop",value:function(){var e;this.active&&(x(this),j(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}]),e}();function N(e){return e.value}function x(e){e._trackId++,e._depsLength=0}function j(e){if(e.deps.length>e._depsLength){for(var t=e._depsLength;t=s)&&c.push(e)}))}else switch(void 0!==n&&c.push(u.get(n)),t){case"add":Object(i.isArray)(e)?Object(i.isIntegerKey)(n)&&c.push(u.get("length")):(c.push(u.get(W)),Object(i.isMap)(e)&&c.push(u.get(z)));break;case"delete":Object(i.isArray)(e)||(c.push(u.get(W)),Object(i.isMap)(e)&&c.push(u.get(z)));break;case"set":Object(i.isMap)(e)&&c.push(u.get(W))}D();var d,p=f(c);try{for(p.s();!(d=p.n()).done;){var v=d.value;v&&H(v,4)}}catch(e){p.e(e)}finally{p.f()}V()}}var q=Object(i.makeMap)("__proto__,__v_isRef,__isVue"),J=new Set(Object.getOwnPropertyNames(Symbol).filter((function(e){return"arguments"!==e&&"caller"!==e})).map((function(e){return Symbol[e]})).filter(i.isSymbol)),X=Z();function Z(){var e={};return["includes","indexOf","lastIndexOf"].forEach((function(t){e[t]=function(){for(var e=We(this),n=0,r=this.length;n0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(this,e),this._isReadonly=t,this._isShallow=n}return m(e,[{key:"get",value:function(e,t,n){var r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Le:Re:o?Pe:Ce).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;var a=Object(i.isArray)(e);if(!r){if(a&&Object(i.hasOwn)(X,t))return Reflect.get(X,t,n);if("hasOwnProperty"===t)return Q}var u=Reflect.get(e,t,n);return(Object(i.isSymbol)(t)?J.has(t):q(t))?u:(r||K(e,0,t),o?u:Qe(u)?a&&Object(i.isIntegerKey)(t)?u:u.value:Object(i.isObject)(u)?r?De(u):Me(u):u)}}]),e}(),te=function(e){o(n,e);var t=u(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return h(this,n),t.call(this,!1,e)}return m(n,[{key:"set",value:function(e,t,n,r){var o=e[t];if(!this._isShallow){var a=He(o);if($e(n)||He(n)||(o=We(o),n=We(n)),!Object(i.isArray)(e)&&Qe(o)&&!Qe(n))return!a&&(o.value=n,!0)}var u=Object(i.isArray)(e)&&Object(i.isIntegerKey)(t)?Number(t)0&&void 0!==arguments[0]&&arguments[0];return h(this,n),t.call(this,!0,e)}return m(n,[{key:"set",value:function(e,t){return!0}},{key:"deleteProperty",value:function(e,t){return!0}}]),n}(ee),re=new te,ie=new ne,oe=new te(!0),ae=new ne(!0),ue=function(e){return e},ce=function(e){return Reflect.getPrototypeOf(e)};function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=We(e=e.__v_raw),a=We(t);n||(Object(i.hasChanged)(t,a)&&K(o,0,t),K(o,0,a));var u=ce(o),c=u.has,s=r?ue:n?Ge:Ke;return c.call(o,t)?s(e.get(t)):c.call(o,a)?s(e.get(a)):void(e!==o&&e.get(t))}function le(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.__v_raw,r=We(n),o=We(e);return t||(Object(i.hasChanged)(e,o)&&K(r,0,e),K(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&K(We(e),0,W),Reflect.get(e,"size",e)}function de(e){e=We(e);var t=We(this);return ce(t).has.call(t,e)||(t.add(e),G(t,"add",e,e)),this}function pe(e,t){t=We(t);var n=We(this),r=ce(n),o=r.has,a=r.get,u=o.call(n,e);u||(e=We(e),u=o.call(n,e));var c=a.call(n,e);return n.set(e,t),u?Object(i.hasChanged)(t,c)&&G(n,"set",e,t):G(n,"add",e,t),this}function ve(e){var t=We(this),n=ce(t),r=n.has,i=n.get,o=r.call(t,e);o||(e=We(e),o=r.call(t,e));i&&i.call(t,e);var a=t.delete(e);return o&&G(t,"delete",e,void 0),a}function he(){var e=We(this),t=0!==e.size,n=e.clear();return t&&G(e,"clear",void 0,void 0),n}function ye(e,t){return function(n,r){var i=this,o=i.__v_raw,a=We(o),u=t?ue:e?Ge:Ke;return!e&&K(a,0,W),o.forEach((function(e,t){return n.call(r,u(e),u(t),i)}))}}function me(e,t,n){return function(){var r=this.__v_raw,o=We(r),a=Object(i.isMap)(o),u="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,s=r[e].apply(r,arguments),l=n?ue:t?Ge:Ke;return!t&&K(o,0,c?z:W),{next:function(){var e=s.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:u?[l(t[0]),l(t[1])]:l(t),done:n}},[Symbol.iterator]:function(){return this}}}}function ge(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function be(){var e={get:function(e){return se(this,e)},get size(){return fe(this)},has:le,add:de,set:pe,delete:ve,clear:he,forEach:ye(!1,!1)},t={get:function(e){return se(this,e,!1,!0)},get size(){return fe(this)},has:le,add:de,set:pe,delete:ve,clear:he,forEach:ye(!1,!0)},n={get:function(e){return se(this,e,!0)},get size(){return fe(this,!0)},has:function(e){return le.call(this,e,!0)},add:ge("add"),set:ge("set"),delete:ge("delete"),clear:ge("clear"),forEach:ye(!0,!1)},r={get:function(e){return se(this,e,!0,!0)},get size(){return fe(this,!0)},has:function(e){return le.call(this,e,!0)},add:ge("add"),set:ge("set"),delete:ge("delete"),clear:ge("clear"),forEach:ye(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((function(i){e[i]=me(i,!1,!1),n[i]=me(i,!0,!1),t[i]=me(i,!1,!0),r[i]=me(i,!0,!0)})),[e,n,t,r]}var Oe,_e,we=(_e=4,function(e){if(Array.isArray(e))return e}(Oe=be())||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(Oe,_e)||d(Oe,_e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),Se=we[0],Ee=we[1],ke=we[2],Ne=we[3];function xe(e,t){var n=t?e?Ne:ke:e?Ee:Se;return function(t,r,o){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Object(i.hasOwn)(n,r)&&r in t?n:t,r,o)}}var je={get:xe(!1,!1)},Te={get:xe(!1,!0)},Ae={get:xe(!0,!1)},Ie={get:xe(!0,!0)};var Ce=new WeakMap,Pe=new WeakMap,Re=new WeakMap,Le=new WeakMap;function Me(e){return He(e)?e:Be(e,!1,re,je,Ce)}function Fe(e){return Be(e,!1,oe,Te,Pe)}function De(e){return Be(e,!0,ie,Ae,Re)}function Ve(e){return Be(e,!0,ae,Ie,Le)}function Be(e,t,n,r,o){if(!Object(i.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var a=o.get(e);if(a)return a;var u,c=(u=e).__v_skip||!Object.isExtensible(u)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Object(i.toRawType)(u));if(0===c)return e;var s=new Proxy(e,2===c?r:n);return o.set(e,s),s}function Ue(e){return He(e)?Ue(e.__v_raw):!(!e||!e.__v_isReactive)}function He(e){return!(!e||!e.__v_isReadonly)}function $e(e){return!(!e||!e.__v_isShallow)}function Ye(e){return Ue(e)||He(e)}function We(e){var t=e&&e.__v_raw;return t?We(t):e}function ze(e){return Object.isExtensible(e)&&Object(i.def)(e,"__v_skip",!0),e}var Ke=function(e){return Object(i.isObject)(e)?Me(e):e},Ge=function(e){return Object(i.isObject)(e)?De(e):e},qe=function(){function e(t,n,r,i){var o=this;h(this,e),this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new k((function(){return t(o._value)}),(function(){return Ze(o,2===o.effect._dirtyLevel?2:3)})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}return m(e,[{key:"value",get:function(){var e=We(this);return e._cacheable&&!e.effect.dirty||!Object(i.hasChanged)(e._value,e._value=e.effect.run())||Ze(e,4),Xe(e),e.effect._dirtyLevel>=2&&Ze(e,2),e._value},set:function(e){this._setter(e)}},{key:"_dirty",get:function(){return this.effect.dirty},set:function(e){this.effect.dirty=e}}]),e}();function Je(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Object(i.isFunction)(e);a?(n=e,r=i.NOOP):(n=e.get,r=e.set);var u=new qe(n,r,a||!r,o);return u}function Xe(e){var t;C&&b&&(e=We(e),B(b,null!=(t=e.dep)?t:e.dep=$((function(){return e.dep=void 0}),e instanceof qe?e:void 0)))}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,n=(e=We(e)).dep;n&&H(n,t)}function Qe(e){return!(!e||!0!==e.__v_isRef)}function et(e){return nt(e,!1)}function tt(e){return nt(e,!0)}function nt(e,t){return Qe(e)?e:new rt(e,t)}var rt=function(){function e(t,n){h(this,e),this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:We(t),this._value=n?t:Ke(t)}return m(e,[{key:"value",get:function(){return Xe(this),this._value},set:function(e){var t=this.__v_isShallow||$e(e)||He(e);e=t?e:We(e),Object(i.hasChanged)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Ke(e),Ze(this,4,e))}}]),e}();function it(e){Ze(e,4,void 0)}function ot(e){return Qe(e)?e.value:e}function at(e){return Object(i.isFunction)(e)?e():ot(e)}var ut={get:function(e,t,n){return ot(Reflect.get(e,t,n))},set:function(e,t,n,r){var i=e[t];return Qe(i)&&!Qe(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ct(e){return Ue(e)?e:new Proxy(e,ut)}var st=function(){function e(t){var n=this;h(this,e),this.dep=void 0,this.__v_isRef=!0;var r=t((function(){return Xe(n)}),(function(){return Ze(n)})),i=r.get,o=r.set;this._get=i,this._set=o}return m(e,[{key:"value",get:function(){return this._get()},set:function(e){this._set(e)}}]),e}();function lt(e){return new st(e)}function ft(e){var t=Object(i.isArray)(e)?new Array(e.length):{};for(var n in e)t[n]=ht(e,n);return t}var dt=function(){function e(t,n,r){h(this,e),this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}return m(e,[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}},{key:"dep",get:function(){return e=We(this._object),t=this._key,null==(n=Y.get(e))?void 0:n.get(t);var e,t,n}}]),e}(),pt=function(){function e(t){h(this,e),this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}return m(e,[{key:"value",get:function(){return this._getter()}}]),e}();function vt(e,t,n){return Qe(e)?e:Object(i.isFunction)(e)?new pt(e):Object(i.isObject)(e)&&arguments.length>1?ht(e,t,n):et(e)}function ht(e,t,n){var r=e[t];return Qe(r)?r:new dt(e,t,n)}var yt=Je,mt={GET:"get",HAS:"has",ITERATE:"iterate"},gt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},bt={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"BaseTransition",(function(){return Fe})),n.d(t,"BaseTransitionPropsValidators",(function(){return Me})),n.d(t,"Comment",(function(){return Hn})),n.d(t,"DeprecationTypes",(function(){return ai})),n.d(t,"ErrorCodes",(function(){return y})),n.d(t,"ErrorTypeStrings",(function(){return ei})),n.d(t,"Fragment",(function(){return Bn})),n.d(t,"KeepAlive",(function(){return qe})),n.d(t,"Static",(function(){return $n})),n.d(t,"Suspense",(function(){return de})),n.d(t,"Teleport",(function(){return Dn})),n.d(t,"Text",(function(){return Un})),n.d(t,"assertNumber",(function(){return h})),n.d(t,"callWithAsyncErrorHandling",(function(){return b})),n.d(t,"callWithErrorHandling",(function(){return g})),n.d(t,"cloneVNode",(function(){return sr})),n.d(t,"compatUtils",(function(){return oi})),n.d(t,"computed",(function(){return zr})),n.d(t,"createBlock",(function(){return Zn})),n.d(t,"createCommentVNode",(function(){return dr})),n.d(t,"createElementBlock",(function(){return Xn})),n.d(t,"createElementVNode",(function(){return or})),n.d(t,"createHydrationRenderer",(function(){return Nn})),n.d(t,"createPropsRestProxy",(function(){return Dt})),n.d(t,"createRenderer",(function(){return kn})),n.d(t,"createSlots",(function(){return yt})),n.d(t,"createStaticVNode",(function(){return fr})),n.d(t,"createTextVNode",(function(){return lr})),n.d(t,"createVNode",(function(){return ar})),n.d(t,"defineAsyncComponent",(function(){return ze})),n.d(t,"defineComponent",(function(){return Ye})),n.d(t,"defineEmits",(function(){return Nt})),n.d(t,"defineExpose",(function(){return xt})),n.d(t,"defineModel",(function(){return At})),n.d(t,"defineOptions",(function(){return jt})),n.d(t,"defineProps",(function(){return kt})),n.d(t,"defineSlots",(function(){return Tt})),n.d(t,"devtools",(function(){return ti})),n.d(t,"getCurrentInstance",(function(){return Er})),n.d(t,"getTransitionRawChildren",(function(){return $e})),n.d(t,"guardReactiveProps",(function(){return cr})),n.d(t,"h",(function(){return Gr})),n.d(t,"handleError",(function(){return O})),n.d(t,"hasInjectionContext",(function(){return on})),n.d(t,"initCustomFormatter",(function(){return qr})),n.d(t,"inject",(function(){return rn})),n.d(t,"isMemoSame",(function(){return Xr})),n.d(t,"isRuntimeOnly",(function(){return Fr})),n.d(t,"isVNode",(function(){return Qn})),n.d(t,"mergeDefaults",(function(){return Mt})),n.d(t,"mergeModels",(function(){return Ft})),n.d(t,"mergeProps",(function(){return yr})),n.d(t,"nextTick",(function(){return I})),n.d(t,"onActivated",(function(){return Xe})),n.d(t,"onBeforeMount",(function(){return ot})),n.d(t,"onBeforeUnmount",(function(){return st})),n.d(t,"onBeforeUpdate",(function(){return ut})),n.d(t,"onDeactivated",(function(){return Ze})),n.d(t,"onErrorCaptured",(function(){return vt})),n.d(t,"onMounted",(function(){return at})),n.d(t,"onRenderTracked",(function(){return pt})),n.d(t,"onRenderTriggered",(function(){return dt})),n.d(t,"onServerPrefetch",(function(){return ft})),n.d(t,"onUnmounted",(function(){return lt})),n.d(t,"onUpdated",(function(){return ct})),n.d(t,"openBlock",(function(){return zn})),n.d(t,"popScopeId",(function(){return q})),n.d(t,"provide",(function(){return nn})),n.d(t,"pushScopeId",(function(){return G})),n.d(t,"queuePostFlushCb",(function(){return R})),n.d(t,"registerRuntimeCompiler",(function(){return Mr})),n.d(t,"renderList",(function(){return ht})),n.d(t,"renderSlot",(function(){return mt})),n.d(t,"resolveComponent",(function(){return ie})),n.d(t,"resolveDirective",(function(){return ue})),n.d(t,"resolveDynamicComponent",(function(){return ae})),n.d(t,"resolveFilter",(function(){return ii})),n.d(t,"resolveTransitionHooks",(function(){return Ve})),n.d(t,"setBlockTracking",(function(){return qn})),n.d(t,"setDevtoolsHook",(function(){return ni})),n.d(t,"setTransitionHooks",(function(){return He})),n.d(t,"ssrContextKey",(function(){return be})),n.d(t,"ssrUtils",(function(){return ri})),n.d(t,"toHandlers",(function(){return bt})),n.d(t,"transformVNodeArgs",(function(){return tr})),n.d(t,"useAttrs",(function(){return Pt})),n.d(t,"useModel",(function(){return Kr})),n.d(t,"useSSRContext",(function(){return Oe})),n.d(t,"useSlots",(function(){return Ct})),n.d(t,"useTransitionState",(function(){return Re})),n.d(t,"version",(function(){return Zr})),n.d(t,"warn",(function(){return Qr})),n.d(t,"watch",(function(){return ke})),n.d(t,"watchEffect",(function(){return _e})),n.d(t,"watchPostEffect",(function(){return we})),n.d(t,"watchSyncEffect",(function(){return Se})),n.d(t,"withAsyncContext",(function(){return Vt})),n.d(t,"withCtx",(function(){return X})),n.d(t,"withDefaults",(function(){return It})),n.d(t,"withDirectives",(function(){return Ae})),n.d(t,"withMemo",(function(){return Jr})),n.d(t,"withScopeId",(function(){return J}));var r=n("../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");n.d(t,"EffectScope",(function(){return r.EffectScope})),n.d(t,"ReactiveEffect",(function(){return r.ReactiveEffect})),n.d(t,"TrackOpTypes",(function(){return r.TrackOpTypes})),n.d(t,"TriggerOpTypes",(function(){return r.TriggerOpTypes})),n.d(t,"customRef",(function(){return r.customRef})),n.d(t,"effect",(function(){return r.effect})),n.d(t,"effectScope",(function(){return r.effectScope})),n.d(t,"getCurrentScope",(function(){return r.getCurrentScope})),n.d(t,"isProxy",(function(){return r.isProxy})),n.d(t,"isReactive",(function(){return r.isReactive})),n.d(t,"isReadonly",(function(){return r.isReadonly})),n.d(t,"isRef",(function(){return r.isRef})),n.d(t,"isShallow",(function(){return r.isShallow})),n.d(t,"markRaw",(function(){return r.markRaw})),n.d(t,"onScopeDispose",(function(){return r.onScopeDispose})),n.d(t,"proxyRefs",(function(){return r.proxyRefs})),n.d(t,"reactive",(function(){return r.reactive})),n.d(t,"readonly",(function(){return r.readonly})),n.d(t,"ref",(function(){return r.ref})),n.d(t,"shallowReactive",(function(){return r.shallowReactive})),n.d(t,"shallowReadonly",(function(){return r.shallowReadonly})),n.d(t,"shallowRef",(function(){return r.shallowRef})),n.d(t,"stop",(function(){return r.stop})),n.d(t,"toRaw",(function(){return r.toRaw})),n.d(t,"toRef",(function(){return r.toRef})),n.d(t,"toRefs",(function(){return r.toRefs})),n.d(t,"toValue",(function(){return r.toValue})),n.d(t,"triggerRef",(function(){return r.triggerRef})),n.d(t,"unref",(function(){return r.unref}));var i=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function c(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?o-1:0),u=1;u")})).join("\n"),i]);else{var s,l=["[Vue warn]: ".concat(e)].concat(a);i.length&&l.push.apply(l,["\n"].concat(c(v(i)))),(s=console).warn.apply(s,c(l))}Object(r.resetTracking)()}function p(){var e=f[f.length-1];if(!e)return[];for(var t=[];e;){var n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});var r=e.component&&e.component.parent;e=r&&r.vnode}return t}function v(e){var t=[];return e.forEach((function(e,n){var o,a,u,s,l,f,d,p,v,h;t.push.apply(t,c(0===n?[]:["\n"]).concat(c((l=(s=e).vnode,f=s.recurseCount,d=f>0?"... (".concat(f," recursive calls)"):"",p=!!l.component&&null==l.component.parent,v=" at <".concat(Yr(l.component,l.type,p)),h=">"+d,l.props?[v].concat(c((o=l.props,a=[],(u=Object.keys(o)).slice(0,3).forEach((function(e){a.push.apply(a,c(function e(t,n,o){return Object(i.isString)(n)?(n=JSON.stringify(n),o?n:["".concat(t,"=").concat(n)]):"number"==typeof n||"boolean"==typeof n||null==n?o?n:["".concat(t,"=").concat(n)]:Object(r.isRef)(n)?(n=e(t,Object(r.toRaw)(n.value),!0),o?n:["".concat(t,"=Ref<"),n,">"]):Object(i.isFunction)(n)?["".concat(t,"=fn").concat(n.name?"<".concat(n.name,">"):"")]:(n=Object(r.toRaw)(n),o?n:["".concat(t,"="),n])}(e,o[e])))})),u.length>3&&a.push(" ..."),a)),[h]):[v+h]))))})),t}function h(e,t){}var y={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},m={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function g(e,t,n,r){try{return r?e.apply(void 0,c(r)):e()}catch(e){O(e,t,n)}}function b(e,t,n,r){if(Object(i.isFunction)(e)){var o=g(e,t,n,r);return o&&Object(i.isPromise)(o)&&o.catch((function(e){O(e,t,n)})),o}for(var a=[],u=0;u3&&void 0!==arguments[3])||arguments[3],i=t?t.vnode:null;if(t){for(var o=t.parent,a=t.proxy,u="https://vuejs.org/error-reference/#runtime-".concat(n);o;){var c=o.ec;if(c)for(var s=0;s>>1,i=E[r],o=F(i);o2&&void 0!==arguments[2]?arguments[2]:w?k+1:0;for(0;n2?r-2:0),a=2;a2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;var a=e.emits,u={},c=!1;if(__VUE_OPTIONS_API__&&!Object(i.isFunction)(e)){var s=function(e){var n=$(e,t,!0);n&&(c=!0,Object(i.extend)(u,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return a||c?(Object(i.isArray)(a)?a.forEach((function(e){return u[e]=null})):Object(i.extend)(u,a),Object(i.isObject)(e)&&r.set(e,u),u):(Object(i.isObject)(e)&&r.set(e,null),null)}function Y(e,t){return!(!e||!Object(i.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),Object(i.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||Object(i.hasOwn)(e,Object(i.hyphenate)(t))||Object(i.hasOwn)(e,t))}var W=null,z=null;function K(e){var t=W;return W=e,z=e&&e.type.__scopeId||null,t}function G(e){z=e}function q(){z=null}var J=function(e){return X};function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:W;if(!t)return e;if(e._n)return e;var n=function n(){n._d&&qn(-1);var r,i=K(t);try{r=e.apply(void 0,arguments)}finally{K(i),n._d&&qn(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Z(e){var t,n,r=e.type,o=e.vnode,u=e.proxy,c=e.withProxy,s=e.props,l=a(e.propsOptions,1)[0],f=e.slots,d=e.attrs,p=e.emit,v=e.render,h=e.renderCache,y=e.data,m=e.setupState,g=e.ctx,b=e.inheritAttrs,_=K(e);try{if(4&o.shapeFlag){var w=c||u,S=w;t=pr(v.call(S,w,h,s,m,y,g)),n=d}else{var E=r;0,t=pr(E.length>1?E(s,{attrs:d,slots:f,emit:p}):E(s,null)),n=r.props?d:ee(d)}}catch(n){Yn.length=0,O(n,e,1),t=ar(Hn)}var k=t;if(n&&!1!==b){var N=Object.keys(n),x=k.shapeFlag;if(N.length)if(7&x)l&&N.some(i.isModelListener)&&(n=te(n,l)),k=sr(k,n);else;}return o.dirs&&((k=sr(k)).dirs=k.dirs?k.dirs.concat(o.dirs):o.dirs),o.transition&&(k.transition=o.transition),t=k,K(_),t}function Q(e){for(var t,n=0;n3&&void 0!==arguments[3]&&arguments[3],r=W||Sr;if(r){var o=r.type;if("components"===e){var a=$r(o,!1);if(a&&(a===t||a===Object(i.camelize)(t)||a===Object(i.capitalize)(Object(i.camelize)(t))))return o}var u=se(r[e]||o[e],t)||se(r.appContext[e],t);return!u&&n?o:u}}function se(e,t){return e&&(e[t]||e[Object(i.camelize)(t)]||e[Object(i.capitalize)(Object(i.camelize)(t))])}var le=function(e){return e.__isSuspense},fe=0,de={name:"Suspense",__isSuspense:!0,process:function(e,t,n,r,i,o,a,u,c,s){if(null==e)!function(e,t,n,r,i,o,a,u,c){var s=c.p,l=(0,c.o.createElement)("div"),f=e.suspense=ve(e,i,r,t,l,n,o,a,u,c);s(null,f.pendingBranch=e.ssContent,l,null,r,f,o,a),f.deps>0?(pe(e,"onPending"),pe(e,"onFallback"),s(null,e.ssFallback,t,n,r,null,o,a),me(f,e.ssFallback)):f.resolve(!1,!0)}(t,n,r,i,o,a,u,c,s);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,i,o,a,u,c){var s=c.p,l=c.um,f=c.o.createElement,d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;var p=t.ssContent,v=t.ssFallback,h=d.activeBranch,y=d.pendingBranch,m=d.isInFallback,g=d.isHydrating;if(y)d.pendingBranch=p,er(p,y)?(s(y,p,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0?d.resolve():m&&(g||(s(h,v,n,r,i,null,o,a,u),me(d,v)))):(d.pendingId=fe++,g?(d.isHydrating=!1,d.activeBranch=y):l(y,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=f("div"),m?(s(null,p,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0?d.resolve():(s(h,v,n,r,i,null,o,a,u),me(d,v))):h&&er(p,h)?(s(h,p,n,r,i,d,o,a,u),d.resolve(!0)):(s(null,p,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0&&d.resolve()));else if(h&&er(p,h))s(h,p,n,r,i,d,o,a,u),me(d,p);else if(pe(t,"onPending"),d.pendingBranch=p,512&p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=fe++,s(null,p,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0)d.resolve();else{var b=d.timeout,O=d.pendingId;b>0?setTimeout((function(){d.pendingId===O&&d.fallback(v)}),b):0===b&&d.fallback(v)}}(e,t,n,r,i,a,u,c,s)}},hydrate:function(e,t,n,r,i,o,a,u,c){var s=t.suspense=ve(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,u,!0),l=c(e,s.pendingBranch=t.ssContent,n,s,o,a);0===s.deps&&s.resolve(!1,!0);return l},create:ve,normalize:function(e){var t=e.shapeFlag,n=e.children,r=32&t;e.ssContent=he(r?n.default:n),e.ssFallback=r?he(n.fallback):ar(Hn)}};function pe(e,t){var n=e.props&&e.props[t];Object(i.isFunction)(n)&&n()}function ve(e,t,n,r,o,a,u,s,l,f){var d=arguments.length>10&&void 0!==arguments[10]&&arguments[10];var p,v=f.p,h=f.m,y=f.um,m=f.n,g=f.o,b=g.parentNode,_=g.remove,w=ge(e);w&&(null==t?void 0:t.pendingBranch)&&(p=t.pendingId,t.deps++);var S=e.props?Object(i.toNumber)(e.props.timeout):void 0;var E=a,k={vnode:e,parent:t,parentComponent:n,namespace:u,container:r,hiddenContainer:o,deps:0,pendingId:fe++,timeout:"number"==typeof S?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r=k.vnode,i=k.activeBranch,o=k.pendingBranch,u=k.pendingId,s=k.effects,l=k.parentComponent,f=k.container,d=!1;k.isHydrating?k.isHydrating=!1:e||((d=i&&o.transition&&"out-in"===o.transition.mode)&&(i.transition.afterLeave=function(){u===k.pendingId&&(h(o,f,a===E?m(i):a,0),R(s))}),i&&(b(i.el)!==k.hiddenContainer&&(a=m(i)),y(i,l,k,!0)),d||h(o,f,a,0)),me(k,o),k.pendingBranch=null,k.isInFallback=!1;for(var v=k.parent,g=!1;v;){if(v.pendingBranch){var O;(O=v.effects).push.apply(O,c(s)),g=!0;break}v=v.parent}g||d||R(s),k.effects=[],w&&t&&t.pendingBranch&&p===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),pe(r,"onResolve")},fallback:function(e){if(k.pendingBranch){var t=k.vnode,n=k.activeBranch,r=k.parentComponent,i=k.container,o=k.namespace;pe(t,"onFallback");var a=m(n),u=function(){k.isInFallback&&(v(null,e,i,a,r,null,o,s,l),me(k,e))},c=e.transition&&"out-in"===e.transition.mode;c&&(n.transition.afterLeave=u),k.isInFallback=!0,y(n,r,null,!0),c||u()}},move:function(e,t,n){k.activeBranch&&h(k.activeBranch,e,t,n),k.container=e},next:function(){return k.activeBranch&&m(k.activeBranch)},registerDep:function(e,t){var n=!!k.pendingBranch;n&&k.deps++;var r=e.vnode.el;e.asyncDep.catch((function(t){O(t,e,0)})).then((function(i){if(!e.isUnmounted&&!k.isUnmounted&&k.pendingId===e.suspenseId){e.asyncResolved=!0;var o=e.vnode;0,Lr(e,i,!1),r&&(o.el=r);var a=!r&&e.subTree.el;t(e,o,b(r||e.subTree.el),r?null:m(e.subTree),k,u,l),a&&_(a),re(e,o.el),n&&0==--k.deps&&k.resolve()}}))},unmount:function(e,t){k.isUnmounted=!0,k.activeBranch&&y(k.activeBranch,n,e,t),k.pendingBranch&&y(k.pendingBranch,n,e,t)}};return k}function he(e){var t;if(Object(i.isFunction)(e)){var n=Gn&&e._c;n&&(e._d=!1,zn()),e=e(),n&&(e._d=!0,t=Wn,Kn())}if(Object(i.isArray)(e)){var r=Q(e);0,e=r}return e=pr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((function(t){return t!==e}))),e}function ye(e,t){var n;t&&t.pendingBranch?Object(i.isArray)(e)?(n=t.effects).push.apply(n,c(e)):t.effects.push(e):R(e)}function me(e,t){e.activeBranch=t;for(var n=e.vnode,r=e.parentComponent,i=t.el;!i&&t.component;)i=(t=t.component.subTree).el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,re(r,i))}function ge(e){var t;return null!=(null==(t=e.props)?void 0:t.suspensible)&&!1!==e.props.suspensible}var be=Symbol.for("v-scx"),Oe=function(){var e=rn(be);return e};function _e(e,t){return Ne(e,null,t)}function we(e,t){return Ne(e,null,{flush:"post"})}function Se(e,t){return Ne(e,null,{flush:"sync"})}var Ee={};function ke(e,t,n){return Ne(e,t,n)}function Ne(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.EMPTY_OBJ,o=n.immediate,a=n.deep,u=n.flush,c=n.once;n.onTrack,n.onTrigger;if(t&&c){var s=t;t=function(){s.apply(void 0,arguments),x()}}var l,f,d=Sr,p=function(e){return!0===a?e:Te(e,!1===a?1:void 0)},v=!1,h=!1;if(Object(r.isRef)(e)?(l=function(){return e.value},v=Object(r.isShallow)(e)):Object(r.isReactive)(e)?(l=function(){return p(e)},v=!0):Object(i.isArray)(e)?(h=!0,v=e.some((function(e){return Object(r.isReactive)(e)||Object(r.isShallow)(e)})),l=function(){return e.map((function(e){return Object(r.isRef)(e)?e.value:Object(r.isReactive)(e)?p(e):Object(i.isFunction)(e)?g(e,d,2):void 0}))}):l=Object(i.isFunction)(e)?t?function(){return g(e,d,2)}:function(){return f&&f(),b(e,d,3,[O])}:i.NOOP,t&&a){var y=l;l=function(){return Te(y())}}var m,O=function(e){f=k.onStop=function(){g(e,d,4),f=k.onStop=void 0}};if(Cr){if(O=i.NOOP,t?o&&b(t,d,3,[l(),h?[]:void 0,O]):l(),"sync"!==u)return i.NOOP;var _=Oe();m=_.__watcherHandles||(_.__watcherHandles=[])}var w,S=h?new Array(e.length).fill(Ee):Ee,E=function(){if(k.active&&k.dirty)if(t){var e=k.run();(a||v||(h?e.some((function(e,t){return Object(i.hasChanged)(e,S[t])})):Object(i.hasChanged)(e,S)))&&(f&&f(),b(t,d,3,[e,S===Ee?void 0:h&&S[0]===Ee?[]:S,O]),S=e)}else k.run()};E.allowRecurse=!!t,"sync"===u?w=E:"post"===u?w=function(){return En(E,d&&d.suspense)}:(E.pre=!0,d&&(E.id=d.uid),w=function(){return C(E)});var k=new r.ReactiveEffect(l,i.NOOP,w),N=Object(r.getCurrentScope)(),x=function(){k.stop(),N&&Object(i.remove)(N.effects,k)};return t?o?E():S=k.run():"post"===u?En(k.run.bind(k),d&&d.suspense):k.run(),m&&m.push(x),x}function xe(e,t,n){var r,o=this.proxy,a=Object(i.isString)(e)?e.includes(".")?je(o,e):function(){return o[e]}:e.bind(o,o);Object(i.isFunction)(t)?r=t:(r=t.handler,n=t);var u=xr(this),c=Ne(a,r.bind(o),n);return u(),c}function je(e,t){var n=t.split(".");return function(){for(var t=e,r=0;r2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3?arguments[3]:void 0;if(!Object(i.isObject)(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),Object(r.isRef)(e))Te(e.value,t,n,o);else if(Object(i.isArray)(e))for(var a=0;a1){var c,s=u(t);try{for(s.s();!(c=s.n()).done;){var l=c.value;if(l.type!==Hn){0,a=l,!0;break}}}catch(e){s.e(e)}finally{s.f()}}var f=Object(r.toRaw)(e),d=f.mode;if(o.isLeaving)return Be(a);var p=Ue(a);if(!p)return Be(a);var v=Ve(p,f,o,i);He(p,v);var h=i.subTree,y=h&&Ue(h);if(y&&y.type!==Hn&&!er(p,y)){var m=Ve(y,f,o,i);if(He(y,m),"out-in"===d)return o.isLeaving=!0,m.afterLeave=function(){o.isLeaving=!1,!1!==i.update.active&&(i.effect.dirty=!0,i.update())},Be(a);"in-out"===d&&p.type!==Hn&&(m.delayLeave=function(e,t,n){De(o,y)[String(y.key)]=y,e[Ce]=function(){t(),e[Ce]=void 0,delete v.delayedLeave},v.delayedLeave=n})}return a}}}};function De(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ve(e,t,n,r){var o=t.appear,a=t.mode,u=t.persisted,c=void 0!==u&&u,s=t.onBeforeEnter,l=t.onEnter,f=t.onAfterEnter,d=t.onEnterCancelled,p=t.onBeforeLeave,v=t.onLeave,h=t.onAfterLeave,y=t.onLeaveCancelled,m=t.onBeforeAppear,g=t.onAppear,O=t.onAfterAppear,_=t.onAppearCancelled,w=String(e.key),S=De(n,e),E=function(e,t){e&&b(e,r,9,t)},k=function(e,t){var n=t[1];E(e,t),Object(i.isArray)(e)?e.every((function(e){return e.length<=1}))&&n():e.length<=1&&n()},N={mode:a,persisted:c,beforeEnter:function(t){var r=s;if(!n.isMounted){if(!o)return;r=m||s}t[Ce]&&t[Ce](!0);var i=S[w];i&&er(e,i)&&i.el[Ce]&&i.el[Ce](),E(r,[t])},enter:function(e){var t=l,r=f,i=d;if(!n.isMounted){if(!o)return;t=g||l,r=O||f,i=_||d}var a=!1,u=e[Pe]=function(t){a||(a=!0,E(t?i:r,[e]),N.delayedLeave&&N.delayedLeave(),e[Pe]=void 0)};t?k(t,[e,u]):u()},leave:function(t,r){var i=String(e.key);if(t[Pe]&&t[Pe](!0),n.isUnmounting)return r();E(p,[t]);var o=!1,a=t[Ce]=function(n){o||(o=!0,r(),E(n?y:h,[t]),t[Ce]=void 0,S[i]===e&&delete S[i])};S[i]=e,v?k(v,[t,a]):a()},clone:function(e){return Ve(e,t,n,r)}};return N}function Be(e){if(Ge(e))return(e=sr(e)).children=null,e}function Ue(e){return Ge(e)?e.children?e.children[0]:void 0:e}function He(e,t){6&e.shapeFlag&&e.component?He(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $e(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=[],i=0,o=0;o1)for(var c=0;c1)return s=null,t;if(!(Qn(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return s=null,r;var i=nt(r),o=i.type,a=$r(We(i)?i.type.__asyncResolved||{}:o),l=e.include,f=e.exclude,d=e.max;if(l&&(!a||!Je(l,a))||f&&a&&Je(f,a))return s=i,r;var p=null==i.key?o:i.key,v=u.get(p);return i.el&&(i=sr(i),128&r.shapeFlag&&(r.ssContent=i)),b=p,v?(i.el=v.el,i.component=v.component,i.transition&&He(i,i.transition),i.shapeFlag|=512,c.delete(p),c.add(p)):(c.add(p),d&&c.size>parseInt(d,10)&&g(c.values().next().value)),i.shapeFlag|=256,s=i,le(r.type)?r:i}}};function Je(e,t){return Object(i.isArray)(e)?e.some((function(e){return Je(e,t)})):Object(i.isString)(e)?e.split(",").includes(t):!!Object(i.isRegExp)(e)&&e.test(t)}function Xe(e,t){Qe(e,"a",t)}function Ze(e,t){Qe(e,"da",t)}function Qe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sr,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(rt(t,r,n),n)for(var i=n.parent;i&&i.parent;)Ge(i.parent.vnode)&&et(r,t,n,i),i=i.parent}function et(e,t,n,r){var o=rt(t,e,r,!0);lt((function(){Object(i.remove)(r[t],o)}),n)}function tt(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function nt(e){return 128&e.shapeFlag?e.ssContent:e}function rt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sr,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=function(){if(!n.isUnmounted){Object(r.pauseTracking)();for(var i=xr(n),o=arguments.length,a=new Array(o),u=0;u1&&void 0!==arguments[1]?arguments[1]:Sr;return(!Cr||"sp"===e)&&rt(e,(function(){return t.apply(void 0,arguments)}),n)}},ot=it("bm"),at=it("m"),ut=it("bu"),ct=it("u"),st=it("bum"),lt=it("um"),ft=it("sp"),dt=it("rtg"),pt=it("rtc");function vt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sr;rt("ec",e,t)}function ht(e,t,n,r){var o,a=n&&n[r];if(Object(i.isArray)(e)||Object(i.isString)(e)){o=new Array(e.length);for(var u=0,c=e.length;u2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(W.isCE||W.parent&&We(W.parent)&&W.parent.isCE)return"default"!==t&&(n.name=t),ar("slot",n,r&&r());var o=e[t];o&&o._c&&(o._d=!1),zn();var a=o&>(o(n)),u=Zn(Bn,{key:n.key||a&&a.key||"_".concat(t)},a||(r?r():[]),a&&1===e._?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function gt(e){return e.some((function(e){return!Qn(e)||e.type!==Hn&&!(e.type===Bn&&!gt(e.children))}))?e:null}function bt(e,t){var n={};for(var r in e)n[t&&/[A-Z]/.test(r)?"on:".concat(r):Object(i.toHandlerKey)(r)]=e[r];return n}var Ot=function e(t){return t?Tr(t)?Br(t)||t.proxy:e(t.parent):null},_t=Object(i.extend)(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return Ot(e.parent)},$root:function(e){return Ot(e.root)},$emit:function(e){return e.emit},$options:function(e){return __VUE_OPTIONS_API__?Yt(e):e.type},$forceUpdate:function(e){return e.f||(e.f=function(){e.effect.dirty=!0,C(e.update)})},$nextTick:function(e){return e.n||(e.n=I.bind(e.proxy))},$watch:function(e){return __VUE_OPTIONS_API__?xe.bind(e):i.NOOP}}),wt=function(e,t){return e!==i.EMPTY_OBJ&&!e.__isScriptSetup&&Object(i.hasOwn)(e,t)},St={get:function(e,t){var n,o=e._,a=o.ctx,u=o.setupState,c=o.data,s=o.props,l=o.accessCache,f=o.type,d=o.appContext;if("$"!==t[0]){var p=l[t];if(void 0!==p)switch(p){case 1:return u[t];case 2:return c[t];case 4:return a[t];case 3:return s[t]}else{if(wt(u,t))return l[t]=1,u[t];if(c!==i.EMPTY_OBJ&&Object(i.hasOwn)(c,t))return l[t]=2,c[t];if((n=o.propsOptions[0])&&Object(i.hasOwn)(n,t))return l[t]=3,s[t];if(a!==i.EMPTY_OBJ&&Object(i.hasOwn)(a,t))return l[t]=4,a[t];__VUE_OPTIONS_API__&&!Bt||(l[t]=0)}}var v,h,y=_t[t];return y?("$attrs"===t&&Object(r.track)(o,"get",t),y(o)):(v=f.__cssModules)&&(v=v[t])?v:a!==i.EMPTY_OBJ&&Object(i.hasOwn)(a,t)?(l[t]=4,a[t]):(h=d.config.globalProperties,Object(i.hasOwn)(h,t)?h[t]:void 0)},set:function(e,t,n){var r=e._,o=r.data,a=r.setupState,u=r.ctx;return wt(a,t)?(a[t]=n,!0):o!==i.EMPTY_OBJ&&Object(i.hasOwn)(o,t)?(o[t]=n,!0):!Object(i.hasOwn)(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(u[t]=n,!0))},has:function(e,t){var n,r=e._,o=r.data,a=r.setupState,u=r.accessCache,c=r.ctx,s=r.appContext,l=r.propsOptions;return!!u[t]||o!==i.EMPTY_OBJ&&Object(i.hasOwn)(o,t)||wt(a,t)||(n=l[0])&&Object(i.hasOwn)(n,t)||Object(i.hasOwn)(c,t)||Object(i.hasOwn)(_t,t)||Object(i.hasOwn)(s.config.globalProperties,t)},defineProperty:function(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(i.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};var Et=Object(i.extend)({},St,{get:function(e,t){if(t!==Symbol.unscopables)return St.get(e,t,e)},has:function(e,t){var n="_"!==t[0]&&!Object(i.isGloballyAllowed)(t);return n}});function kt(){return null}function Nt(){return null}function xt(e){0}function jt(e){0}function Tt(){return null}function At(){0}function It(e,t){return null}function Ct(){return Rt().slots}function Pt(){return Rt().attrs}function Rt(){var e=Er();return e.setupContext||(e.setupContext=Vr(e))}function Lt(e){return Object(i.isArray)(e)?e.reduce((function(e,t){return e[t]=null,e}),{}):e}function Mt(e,t){var n=Lt(e);for(var r in t)if(!r.startsWith("__skip")){var o=n[r];o?Object(i.isArray)(o)||Object(i.isFunction)(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:null===o&&(o=n[r]={default:t[r]}),o&&t["__skip_".concat(r)]&&(o.skipFactory=!0)}return n}function Ft(e,t){return e&&t?Object(i.isArray)(e)&&Object(i.isArray)(t)?e.concat(t):Object(i.extend)({},Lt(e),Lt(t)):e||t}function Dt(e,t){var n={},r=function(r){t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:function(){return e[r]}})};for(var i in e)r(i);return n}function Vt(e){var t=Er();var n=e();return jr(),Object(i.isPromise)(n)&&(n=n.catch((function(e){throw xr(t),e}))),[n,function(){return xr(t)}]}var Bt=!0;function Ut(e){var t=Yt(e),n=e.proxy,o=e.ctx;Bt=!1,t.beforeCreate&&Ht(t.beforeCreate,e,"bc");var a=t.data,u=t.computed,c=t.methods,s=t.watch,l=t.provide,f=t.inject,d=t.created,p=t.beforeMount,v=t.mounted,h=t.beforeUpdate,y=t.updated,m=t.activated,g=t.deactivated,b=(t.beforeDestroy,t.beforeUnmount),O=(t.destroyed,t.unmounted),_=t.render,w=t.renderTracked,S=t.renderTriggered,E=t.errorCaptured,k=t.serverPrefetch,N=t.expose,x=t.inheritAttrs,j=t.components,T=t.directives;t.filters;if(f&&function(e,t){arguments.length>2&&void 0!==arguments[2]||i.NOOP;Object(i.isArray)(e)&&(e=Gt(e));var n=function(){var n,a=e[o];n=Object(i.isObject)(a)?"default"in a?rn(a.from||o,a.default,!0):rn(a.from||o):rn(a),Object(r.isRef)(n)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:function(){return n.value},set:function(e){return n.value=e}}):t[o]=n};for(var o in e)n()}(f,o,null),c)for(var A in c){var I=c[A];Object(i.isFunction)(I)&&(o[A]=I.bind(n))}if(a){0;var C=a.call(n,n);if(Object(i.isObject)(C))e.data=Object(r.reactive)(C);else;}if(Bt=!0,u){var P=function(e){var t=u[e],r=Object(i.isFunction)(t)?t.bind(n,n):Object(i.isFunction)(t.get)?t.get.bind(n,n):i.NOOP;var a=!Object(i.isFunction)(t)&&Object(i.isFunction)(t.set)?t.set.bind(n):i.NOOP,c=zr({get:r,set:a});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:function(){return c.value},set:function(e){return c.value=e}})};for(var R in u)P(R)}if(s)for(var L in s)$t(s[L],o,n,L);if(l){var M=Object(i.isFunction)(l)?l.call(n):l;Reflect.ownKeys(M).forEach((function(e){nn(e,M[e])}))}function F(e,t){Object(i.isArray)(t)?t.forEach((function(t){return e(t.bind(n))})):t&&e(t.bind(n))}if(d&&Ht(d,e,"c"),F(ot,p),F(at,v),F(ut,h),F(ct,y),F(Xe,m),F(Ze,g),F(vt,E),F(pt,w),F(dt,S),F(st,b),F(lt,O),F(ft,k),Object(i.isArray)(N))if(N.length){var D=e.exposed||(e.exposed={});N.forEach((function(e){Object.defineProperty(D,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})}))}else e.exposed||(e.exposed={});_&&e.render===i.NOOP&&(e.render=_),null!=x&&(e.inheritAttrs=x),j&&(e.components=j),T&&(e.directives=T)}function Ht(e,t,n){b(Object(i.isArray)(e)?e.map((function(e){return e.bind(t.proxy)})):e.bind(t.proxy),t,n)}function $t(e,t,n,r){var o=r.includes(".")?je(n,r):function(){return n[r]};if(Object(i.isString)(e)){var a=t[e];Object(i.isFunction)(a)&&ke(o,a)}else if(Object(i.isFunction)(e))ke(o,e.bind(n));else if(Object(i.isObject)(e))if(Object(i.isArray)(e))e.forEach((function(e){return $t(e,t,n,r)}));else{var u=Object(i.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];Object(i.isFunction)(u)&&ke(o,u,e)}else 0}function Yt(e){var t,n=e.type,r=n.mixins,o=n.extends,a=e.appContext,u=a.mixins,c=a.optionsCache,s=a.config.optionMergeStrategies,l=c.get(n);return l?t=l:u.length||r||o?(t={},u.length&&u.forEach((function(e){return Wt(t,e,s,!0)})),Wt(t,n,s)):t=n,Object(i.isObject)(n)&&c.set(n,t),t}function Wt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=t.mixins,o=t.extends;for(var a in o&&Wt(e,o,n,!0),i&&i.forEach((function(t){return Wt(e,t,n,!0)})),t)if(r&&"expose"===a);else{var u=zt[a]||n&&n[a];e[a]=u?u(e[a],t[a]):t[a]}return e}var zt={data:Kt,props:Xt,emits:Xt,methods:Jt,computed:Jt,beforeCreate:qt,created:qt,beforeMount:qt,mounted:qt,beforeUpdate:qt,updated:qt,beforeDestroy:qt,beforeUnmount:qt,destroyed:qt,unmounted:qt,activated:qt,deactivated:qt,errorCaptured:qt,serverPrefetch:qt,components:Jt,directives:Jt,watch:function(e,t){if(!e)return t;if(!t)return e;var n=Object(i.extend)(Object.create(null),e);for(var r in t)n[r]=qt(e[r],t[r]);return n},provide:Kt,inject:function(e,t){return Jt(Gt(e),Gt(t))}};function Kt(e,t){return t?e?function(){return Object(i.extend)(Object(i.isFunction)(e)?e.call(this,this):e,Object(i.isFunction)(t)?t.call(this,this):t)}:t:e}function Gt(e){if(Object(i.isArray)(e)){for(var t={},n=0;n1&&void 0!==arguments[1]?arguments[1]:null;Object(i.isFunction)(n)||(n=Object(i.extend)({},n)),null==r||Object(i.isObject)(r)||(r=null);var o=Zt(),a=new WeakSet,u=!1,c=o.app={_uid:Qt++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Zr,get config(){return o.config},set config(e){0},use:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]&&arguments[2],r=Sr||W;if(r||tn){var o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:tn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Object(i.isFunction)(t)?t.call(r&&r.proxy):t}else 0}function on(){return!!(Sr||W||tn)}function an(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a={},u={};for(var c in Object(i.def)(u,nr,1),e.propsDefaults=Object.create(null),un(e,t,a,u),e.propsOptions[0])c in a||(a[c]=void 0);n?e.props=o?a:Object(r.shallowReactive)(a):e.type.props?e.props=a:e.props=u,e.attrs=u}function un(e,t,n,o){var u,c=a(e.propsOptions,2),s=c[0],l=c[1],f=!1;if(t)for(var d in t)if(!Object(i.isReservedProp)(d)){var p=t[d],v=void 0;s&&Object(i.hasOwn)(s,v=Object(i.camelize)(d))?l&&l.includes(v)?(u||(u={}))[v]=p:n[v]=p:Y(e.emitsOptions,d)||d in o&&p===o[d]||(o[d]=p,f=!0)}if(l)for(var h=Object(r.toRaw)(n),y=u||i.EMPTY_OBJ,m=0;m2&&void 0!==arguments[2]&&arguments[2],r=t.propsCache,o=r.get(e);if(o)return o;var u=e.props,s={},l=[],f=!1;if(__VUE_OPTIONS_API__&&!Object(i.isFunction)(e)){var d=function(e){f=!0;var n=a(sn(e,t,!0),2),r=n[0],o=n[1];Object(i.extend)(s,r),o&&l.push.apply(l,c(o))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!u&&!f)return Object(i.isObject)(e)&&r.set(e,i.EMPTY_ARR),i.EMPTY_ARR;if(Object(i.isArray)(u))for(var p=0;p-1,g[1]=O<0||b-1||Object(i.hasOwn)(g,"default"))&&l.push(y)}}}var _=[s,l];return Object(i.isObject)(e)&&r.set(e,_),_}function ln(e){return"$"!==e[0]&&!Object(i.isReservedProp)(e)}function fn(e){return null===e?"null":"function"==typeof e?e.name||"":"object"===o(e)&&e.constructor&&e.constructor.name||""}function dn(e,t){return fn(e)===fn(t)}function pn(e,t){return Object(i.isArray)(t)?t.findIndex((function(t){return dn(t,e)})):Object(i.isFunction)(t)&&dn(t,e)?0:-1}var vn=function(e){return"_"===e[0]||"$stable"===e},hn=function(e){return Object(i.isArray)(e)?e.map(pr):[pr(e)]},yn=function(e,t,n){var r=e._ctx,o=function(){if(vn(a))return 1;var n=e[a];if(Object(i.isFunction)(n))t[a]=function(e,t,n){if(t._n)return t;var r=X((function(){return hn(t.apply(void 0,arguments))}),n);return r._c=!1,r}(0,n,r);else if(null!=n){0;var o=hn(n);t[a]=function(){return o}}};for(var a in e)o()},mn=function(e,t){var n=hn(t);e.slots.default=function(){return n}},gn=function(e,t){if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=Object(r.toRaw)(t),Object(i.def)(t,"_",n)):yn(t,e.slots={})}else e.slots={},t&&mn(e,t);Object(i.def)(e.slots,nr,1)};function bn(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Object(i.isArray)(e))e.forEach((function(e,r){return bn(e,t&&(Object(i.isArray)(t)?t[r]:t),n,o,a)}));else if(!We(o)||a){var u=4&o.shapeFlag?Br(o.component)||o.component.proxy:o.el,c=a?null:u,s=e.i,l=e.r;0;var f=t&&t.r,d=s.refs===i.EMPTY_OBJ?s.refs={}:s.refs,p=s.setupState;if(null!=f&&f!==l&&(Object(i.isString)(f)?(d[f]=null,Object(i.hasOwn)(p,f)&&(p[f]=null)):Object(r.isRef)(f)&&(f.value=null)),Object(i.isFunction)(l))g(l,s,12,[c,d]);else{var v=Object(i.isString)(l),h=Object(r.isRef)(l);if(v||h){var y=function(){if(e.f){var t=v?Object(i.hasOwn)(p,l)?p[l]:d[l]:l.value;a?Object(i.isArray)(t)&&Object(i.remove)(t,u):Object(i.isArray)(t)?t.includes(u)||t.push(u):v?(d[l]=[u],Object(i.hasOwn)(p,l)&&(p[l]=d[l])):(l.value=[u],e.k&&(d[e.k]=l.value))}else v?(d[l]=c,Object(i.hasOwn)(p,l)&&(p[l]=c)):h&&(l.value=c,e.k&&(d[e.k]=c))};c?(y.id=-1,En(y,n)):y()}else 0}}}var On=!1,_n=function(e){return function(e){return e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName}(e)?"svg":function(e){return e.namespaceURI.includes("MathML")}(e)?"mathml":void 0},wn=function(e){return 8===e.nodeType};function Sn(e){var t=e.mt,n=e.p,r=e.o,a=r.patchProp,u=r.createText,c=r.nextSibling,s=r.parentNode,l=r.remove,f=r.insert,p=r.createComment,v=function n(r,i,a,l,p){var v=arguments.length>5&&void 0!==arguments[5]&&arguments[5],w=wn(r)&&"["===r.data,S=function(){return g(r,i,a,l,p,w)},E=i.type,k=i.ref,N=i.shapeFlag,x=i.patchFlag,j=r.nodeType;i.el=r,-2===x&&(v=!1,i.dynamicChildren=null);var T=null;switch(E){case Un:3!==j?""===i.children?(f(i.el=u(""),s(r),r),T=r):T=S():(r.data!==i.children&&(On=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&d("Hydration text mismatch in",r.parentNode,"\n - rendered on server: ".concat(JSON.stringify(r.data),"\n - expected on client: ").concat(JSON.stringify(i.children))),r.data=i.children),T=c(r));break;case Hn:_(r)?(T=c(r),O(i.el=r.content.firstChild,r,a)):T=8!==j||w?S():c(r);break;case $n:if(w&&(j=(r=c(r)).nodeType),1===j||3===j){T=r;for(var A=!i.children.length,I=0;I1&&void 0!==arguments[1]?arguments[1]:"[",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"]",r=0;e;)if((e=c(e))&&wn(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return c(e);r--}return e},O=function(e,t,n){var r=t.parentNode;r&&r.replaceChild(e,t);for(var i=n;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},_=function(e){return 1===e.nodeType&&"template"===e.tagName.toLowerCase()};return[function(e,t){if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&d("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),M(),void(t._vnode=e);On=!1,v(t.firstChild,e,null,null,null),M(),t._vnode=e,On&&console.error("Hydration completed but contains mismatches.")},v]}var En=ye;function kn(e){return xn(e)}function Nn(e){return xn(e,Sn)}function xn(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(Object(i.getGlobalThis)().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(Object(i.getGlobalThis)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1),Object(i.getGlobalThis)().__VUE__=!0;var n,o,u=e.insert,c=e.remove,s=e.patchProp,l=e.createElement,f=e.createText,d=e.createComment,p=e.setText,v=e.setElementText,h=e.parentNode,y=e.nextSibling,m=e.setScopeId,g=void 0===m?i.NOOP:m,b=e.insertStaticContent,O=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:void 0,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!er(e,t)&&(r=te(e),q(e,i,o,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);var s=t.type,l=t.ref,f=t.shapeFlag;switch(s){case Un:_(e,t,n,r);break;case Hn:w(e,t,n,r);break;case $n:null==e&&S(t,n,r,a);break;case Bn:D(e,t,n,r,i,o,a,u,c);break;default:1&f?j(e,t,n,r,i,o,a,u,c):6&f?V(e,t,n,r,i,o,a,u,c):(64&f||128&f)&&s.process(e,t,n,r,i,o,a,u,c,ae)}null!=l&&i&&bn(l,e&&e.ref,o,t||e,!t)}},_=function(e,t,n,r){if(null==e)u(t.el=f(t.children),n,r);else{var i=t.el=e.el;t.children!==e.children&&p(i,t.children)}},w=function(e,t,n,r){null==e?u(t.el=d(t.children||""),n,r):t.el=e.el},S=function(e,t,n,r){var i=a(b(e.children,t,n,r,e.el,e.anchor),2);e.el=i[0],e.anchor=i[1]},N=function(e,t,n){for(var r,i=e.el,o=e.anchor;i&&i!==o;)r=y(i),u(i,t,n),i=r;u(o,t,n)},x=function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=y(n),c(n),n=t;c(r)},j=function(e,t,n,r,i,o,a,u,c){"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?T(t,n,r,i,o,a,u,c):P(e,t,i,o,a,u,c)},T=function(e,t,n,r,o,a,c,f){var d,p,h=e.props,y=e.shapeFlag,m=e.transition,g=e.dirs;if(d=e.el=l(e.type,a,h&&h.is,h),8&y?v(d,e.children):16&y&&I(e.children,d,null,r,o,jn(e,a),c,f),g&&Ie(e,null,r,"created"),A(d,e,e.scopeId,c,r),h){for(var b in h)"value"===b||Object(i.isReservedProp)(b)||s(d,b,null,h[b],a,e.children,r,o,ee);"value"in h&&s(d,"value",null,h.value,a),(p=h.onVnodeBeforeMount)&&mr(p,r,e)}g&&Ie(e,null,r,"beforeMount");var O=An(o,m);O&&m.beforeEnter(d),u(d,t,n),((p=h&&h.onVnodeMounted)||O||g)&&En((function(){p&&mr(p,r,e),O&&m.enter(d),g&&Ie(e,null,r,"mounted")}),o)},A=function e(t,n,r,i,o){if(r&&g(t,r),i)for(var a=0;a8&&void 0!==arguments[8]?arguments[8]:0,s=c;s0){if(16&l)F(c,t,h,y,n,r,o);else if(2&l&&h.class!==y.class&&s(c,"class",null,y.class,o),4&l&&s(c,"style",h.style,y.style,o),8&l)for(var m=t.dynamicProps,g=0;g0&&64&p&&v&&e.dynamicChildren?(R(e.dynamicChildren,v,n,i,o,a,c),(null!=t.key||i&&t===i.subTree)&&In(e,t,!0)):W(e,t,n,d,i,o,a,c,s)},V=function(e,t,n,r,i,o,a,u,c){t.slotScopeIds=u,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,a,c):B(t,n,r,i,o,a,c):U(e,t,c)},B=function(e,t,n,r,i,o,a){var u=e.component=Or(e,r,i);if(Ge(e)&&(u.ctx.renderer=ae),Pr(u),u.asyncDep){if(i&&i.registerDep(u,H),!e.el){var c=u.subTree=ar(Hn);w(null,c,t,n)}}else H(u,e,t,n,i,o,a)},U=function(e,t,n){var r,i,o=t.component=e.component;if(function(e,t,n){var r=e.props,i=e.children,o=e.component,a=t.props,u=t.children,c=t.patchFlag,s=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!i&&!u||u&&u.$stable)||r!==a&&(r?!a||ne(r,a,s):!!a);if(1024&c)return!0;if(16&c)return r?ne(r,a,s):!!a;if(8&c)for(var l=t.dynamicProps,f=0;fk&&E.splice(i,1),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},H=function(e,t,n,a,u,c,s){var l=e.effect=new r.ReactiveEffect((function r(){if(e.isMounted){var l=e.next,f=e.bu,d=e.u,p=e.parent,v=e.vnode,y=function e(t){var n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:e(n)}(e);if(y)return l&&(l.el=v.el,$(e,l,s)),void y.asyncDep.then((function(){e.isUnmounted||r()}));var m,g=l;0,Tn(e,!1),l?(l.el=v.el,$(e,l,s)):l=v,f&&Object(i.invokeArrayFns)(f),(m=l.props&&l.props.onVnodeBeforeUpdate)&&mr(m,p,l,v),Tn(e,!0);var b=Z(e);0;var _=e.subTree;e.subTree=b,O(_,b,h(_.el),te(_),e,u,c),l.el=b.el,null===g&&re(e,b.el),d&&En(d,u),(m=l.props&&l.props.onVnodeUpdated)&&En((function(){return mr(m,p,l,v)}),u)}else{var w,S=t,E=S.el,k=S.props,N=e.bm,x=e.m,j=e.parent,T=We(t);if(Tn(e,!1),N&&Object(i.invokeArrayFns)(N),!T&&(w=k&&k.onVnodeBeforeMount)&&mr(w,j,t),Tn(e,!0),E&&o){var A=function(){e.subTree=Z(e),o(E,e.subTree,e,u,null)};T?t.type.__asyncLoader().then((function(){return!e.isUnmounted&&A()})):A()}else{0;var I=e.subTree=Z(e);0,O(null,I,n,a,e,u,c),t.el=I.el}if(x&&En(x,u),!T&&(w=k&&k.onVnodeMounted)){var C=t;En((function(){return mr(w,j,C)}),u)}(256&t.shapeFlag||j&&We(j.vnode)&&256&j.vnode.shapeFlag)&&e.a&&En(e.a,u),e.isMounted=!0,t=n=a=null}}),i.NOOP,(function(){return C(f)}),e.scope),f=e.update=function(){l.dirty&&l.run()};f.id=e.uid,Tn(e,!0),f()},$=function(e,t,n){t.component=e;var o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){var u=e.props,c=e.attrs,s=e.vnode.patchFlag,l=Object(r.toRaw)(u),f=a(e.propsOptions,1)[0],d=!1;if(!(o||s>0)||16&s){var p;for(var v in un(e,t,u,c)&&(d=!0),l)t&&(Object(i.hasOwn)(t,v)||(p=Object(i.hyphenate)(v))!==v&&Object(i.hasOwn)(t,p))||(f?!n||void 0===n[v]&&void 0===n[p]||(u[v]=cn(f,l,v,void 0,e,!0)):delete u[v]);if(c!==l)for(var h in c)t&&Object(i.hasOwn)(t,h)||(delete c[h],d=!0)}else if(8&s)for(var y=e.vnode.dynamicProps,m=0;m8&&void 0!==arguments[8]&&arguments[8],s=e&&e.children,l=e?e.shapeFlag:0,f=t.children,d=t.patchFlag,p=t.shapeFlag;if(d>0){if(128&d)return void K(s,f,n,r,i,o,a,u,c);if(256&d)return void z(s,f,n,r,i,o,a,u,c)}8&p?(16&l&&ee(s,i,o),f!==s&&v(n,f)):16&l?16&p?K(s,f,n,r,i,o,a,u,c):ee(s,i,o,!0):(8&l&&v(n,""),16&p&&I(f,n,r,i,o,a,u,c))},z=function(e,t,n,r,o,a,u,c,s){e=e||i.EMPTY_ARR,t=t||i.EMPTY_ARR;var l,f=e.length,d=t.length,p=Math.min(f,d);for(l=0;ld?ee(e,o,a,!0,!1,p):I(t,n,r,o,a,u,c,s,p)},K=function(e,t,n,r,o,a,u,c,s){for(var l=0,f=t.length,d=e.length-1,p=f-1;l<=d&&l<=p;){var v=e[l],h=t[l]=s?vr(t[l]):pr(t[l]);if(!er(v,h))break;O(v,h,n,null,o,a,u,c,s),l++}for(;l<=d&&l<=p;){var y=e[d],m=t[p]=s?vr(t[p]):pr(t[p]);if(!er(y,m))break;O(y,m,n,null,o,a,u,c,s),d--,p--}if(l>d){if(l<=p)for(var g=p+1,b=gp)for(;l<=d;)q(e[l],o,a,!0),l++;else{var _,w=l,S=l,E=new Map;for(l=S;l<=p;l++){var k=t[l]=s?vr(t[l]):pr(t[l]);null!=k.key&&E.set(k.key,l)}var N=0,x=p-S+1,j=!1,T=0,A=new Array(x);for(l=0;l=x)q(I,o,a,!0);else{var C=void 0;if(null!=I.key)C=E.get(I.key);else for(_=S;_<=p;_++)if(0===A[_-S]&&er(I,t[_])){C=_;break}void 0===C?q(I,o,a,!0):(A[C-S]=l+1,C>=T?T=C:j=!0,O(I,t[C],n,null,o,a,u,c,s),N++)}}var P=j?function(e){var t,n,r,i,o,a=e.slice(),u=[0],c=e.length;for(t=0;t>1]]0&&(a[t]=u[r-1]),u[r]=t)}}r=u.length,i=u[r-1];for(;r-- >0;)u[r]=i,i=a[i];return u}(A):i.EMPTY_ARR;for(_=P.length-1,l=x-1;l>=0;l--){var R=S+l,L=t[R],M=R+14&&void 0!==arguments[4]?arguments[4]:null,a=t.el,c=t.type,s=t.transition,l=t.children,f=t.shapeFlag;if(6&f)e(t.component.subTree,n,r,i);else if(128&f)t.suspense.move(n,r,i);else if(64&f)c.move(t,n,r,ae);else if(c!==Bn)if(c!==$n){var d=2!==i&&1&f&&s;if(d)if(0===i)s.beforeEnter(a),u(a,n,r),En((function(){return s.enter(a)}),o);else{var p=s.leave,v=s.delayLeave,h=s.afterLeave,y=function(){return u(a,n,r)},m=function(){p(a,(function(){y(),h&&h()}))};v?v(a,y,m):m()}else u(a,n,r)}else N(t,n,r);else{u(a,n,r);for(var g=0;g3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=e.type,a=e.props,u=e.ref,c=e.children,s=e.dynamicChildren,l=e.shapeFlag,f=e.patchFlag,d=e.dirs;if(null!=u&&bn(u,null,n,e,!0),256&l)t.ctx.deactivate(e);else{var p,v=1&l&&d,h=!We(e);if(h&&(p=a&&a.onVnodeBeforeUnmount)&&mr(p,t,e),6&l)Q(e.component,n,r);else{if(128&l)return void e.suspense.unmount(n,r);v&&Ie(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,n,i,ae,r):s&&(o!==Bn||f>0&&64&f)?ee(s,t,n,!1,!0):(o===Bn&&384&f||!i&&16&l)&&ee(c,t,n),r&&J(e)}(h&&(p=a&&a.onVnodeUnmounted)||v)&&En((function(){p&&mr(p,t,e),v&&Ie(e,null,t,"unmounted")}),n)}},J=function(e){var t=e.type,n=e.el,r=e.anchor,i=e.transition;if(t!==Bn)if(t!==$n){var o=function(){c(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){var a=i.leave,u=i.delayLeave,s=function(){return a(n,o)};u?u(e.el,o,s):s()}else o()}else x(e);else X(n,r)},X=function(e,t){for(var n;e!==t;)n=y(e),c(e),e=n;c(t)},Q=function(e,t,n){var r=e.bum,o=e.scope,a=e.update,u=e.subTree,c=e.um;r&&Object(i.invokeArrayFns)(r),o.stop(),a&&(a.active=!1,q(u,e,t,n)),c&&En(c,t),En((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=o;a2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=t.children;if(Object(i.isArray)(r)&&Object(i.isArray)(o))for(var a=0;a4&&void 0!==arguments[4]?arguments[4]:2;0===a&&i(e.targetAnchor,t,n);var u=e.el,c=e.anchor,s=e.shapeFlag,l=e.children,f=e.props,d=2===a;if(d&&i(u,t,n),(!d||Pn(f))&&16&s)for(var p=0;p0&&void 0!==arguments[0]&&arguments[0];Yn.push(Wn=e?null:[])}function Kn(){Yn.pop(),Wn=Yn[Yn.length-1]||null}var Gn=1;function qn(e){Gn+=e}function Jn(e){return e.dynamicChildren=Gn>0?Wn||i.EMPTY_ARR:null,Kn(),Gn>0&&Wn&&Wn.push(e),e}function Xn(e,t,n,r,i,o){return Jn(or(e,t,n,r,i,o,!0))}function Zn(e,t,n,r,i){return Jn(ar(e,t,n,r,i,!0))}function Qn(e){return!!e&&!0===e.__v_isVNode}function er(e,t){return e.type===t.type&&e.key===t.key}function tr(e){e}var nr="__vInternal",rr=function(e){var t=e.key;return null!=t?t:null},ir=function(e){var t=e.ref,n=e.ref_key,o=e.ref_for;return"number"==typeof t&&(t=""+t),null!=t?Object(i.isString)(t)||Object(r.isRef)(t)||Object(i.isFunction)(t)?{i:W,r:t,k:n,f:!!o}:t:null};function or(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Bn?0:1,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=arguments.length>7&&void 0!==arguments[7]&&arguments[7],s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rr(t),ref:t&&ir(t),scopeId:z,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:W};return c?(hr(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=Object(i.isString)(n)?8:16),Gn>0&&!u&&Wn&&(s.patchFlag>0||6&a)&&32!==s.patchFlag&&Wn.push(s),s}var ar=ur;function ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&e!==oe||(e=Hn),Qn(e)){var c=sr(e,t,!0);return n&&hr(c,n),Gn>0&&!u&&Wn&&(6&c.shapeFlag?Wn[Wn.indexOf(e)]=c:Wn.push(c)),c.patchFlag|=-2,c}if(Wr(e)&&(e=e.__vccOpts),t){var s=t=cr(t),l=s.class,f=s.style;l&&!Object(i.isString)(l)&&(t.class=Object(i.normalizeClass)(l)),Object(i.isObject)(f)&&(Object(r.isProxy)(f)&&!Object(i.isArray)(f)&&(f=Object(i.extend)({},f)),t.style=Object(i.normalizeStyle)(f))}var d=Object(i.isString)(e)?1:le(e)?128:Cn(e)?64:Object(i.isObject)(e)?4:Object(i.isFunction)(e)?2:0;return or(e,t,n,o,a,d,u,!0)}function cr(e){return e?Object(r.isProxy)(e)||nr in e?Object(i.extend)({},e):e:null}function sr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.props,o=e.ref,a=e.patchFlag,u=e.children,c=t?yr(r||{},t):r,s={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&rr(c),ref:t&&t.ref?n&&o?Object(i.isArray)(o)?o.concat(ir(t)):[o,ir(t)]:ir(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:u,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Bn?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sr(e.ssContent),ssFallback:e.ssFallback&&sr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s}function lr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ar(Un,null,e,t)}function fr(e,t){var n=ar($n,null,e);return n.staticCount=t,n}function dr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?(zn(),Zn(Hn,null,e)):ar(Hn,null,e)}function pr(e){return null==e||"boolean"==typeof e?ar(Hn):Object(i.isArray)(e)?ar(Bn,null,e.slice()):"object"===o(e)?vr(e):ar(Un,null,String(e))}function vr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:sr(e)}function hr(e,t){var n=0,r=e.shapeFlag;if(null==t)t=null;else if(Object(i.isArray)(t))n=16;else if("object"===o(t)){if(65&r){var a=t.default;return void(a&&(a._c&&(a._d=!1),hr(e,a()),a._c&&(a._d=!0)))}n=32;var u=t._;u||nr in t?3===u&&W&&(1===W.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=W}else Object(i.isFunction)(t)?(t={default:t,_ctx:W},n=32):(t=String(t),64&r?(n=16,t=[lr(t)]):n=8);e.children=t,e.shapeFlag|=n}function yr(){for(var e={},t=0;t3&&void 0!==arguments[3]?arguments[3]:null;b(e,t,7,[n,r])}var gr=Zt(),br=0;function Or(e,t,n){var o=e.type,a=(t?t.appContext:e.appContext)||gr,u={uid:br++,vnode:e,type:o,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new r.EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sn(o,a),emitsOptions:$(o,a),emit:null,emitted:null,propsDefaults:i.EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:i.EMPTY_OBJ,data:i.EMPTY_OBJ,props:i.EMPTY_OBJ,attrs:i.EMPTY_OBJ,slots:i.EMPTY_OBJ,refs:i.EMPTY_OBJ,setupState:i.EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return u.ctx={_:u},u.root=t?t.root:u,u.emit=H.bind(null,u),e.ce&&e.ce(u),u}var _r,wr,Sr=null,Er=function(){return Sr||W},kr=Object(i.getGlobalThis)(),Nr=function(e,t){var n;return(n=kr[e])||(n=kr[e]=[]),n.push(t),function(e){n.length>1?n.forEach((function(t){return t(e)})):n[0](e)}};_r=Nr("__VUE_INSTANCE_SETTERS__",(function(e){return Sr=e})),wr=Nr("__VUE_SSR_SETTERS__",(function(e){return Cr=e}));var xr=function(e){var t=Sr;return _r(e),e.scope.on(),function(){e.scope.off(),_r(t)}},jr=function(){Sr&&Sr.scope.off(),_r(null)};function Tr(e){return 4&e.vnode.shapeFlag}var Ar,Ir,Cr=!1;function Pr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t&&wr(t);var n=e.vnode,r=n.props,i=n.children,o=Tr(e);an(e,r,o,t),gn(e,i);var a=o?Rr(e,t):void 0;return t&&wr(!1),a}function Rr(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=Object(r.markRaw)(new Proxy(e.ctx,St));var o=n.setup;if(o){var a=e.setupContext=o.length>1?Vr(e):null,u=xr(e);Object(r.pauseTracking)();var c=g(o,e,0,[e.props,a]);if(Object(r.resetTracking)(),u(),Object(i.isPromise)(c)){if(c.then(jr,jr),t)return c.then((function(n){Lr(e,n,t)})).catch((function(t){O(t,e,0)}));e.asyncDep=c}else Lr(e,c,t)}else Dr(e,t)}function Lr(e,t,n){Object(i.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(i.isObject)(t)&&(e.setupState=Object(r.proxyRefs)(t)),Dr(e,n)}function Mr(e){Ar=e,Ir=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,Et))}}var Fr=function(){return!Ar};function Dr(e,t,n){var o=e.type;if(!e.render){if(!t&&Ar&&!o.render){var a=o.template||Yt(e).template;if(a){0;var u=e.appContext.config,c=u.isCustomElement,s=u.compilerOptions,l=o.delimiters,f=o.compilerOptions,d=Object(i.extend)(Object(i.extend)({isCustomElement:c,delimiters:l},s),f);o.render=Ar(a,d)}}e.render=o.render||i.NOOP,Ir&&Ir(e)}if(__VUE_OPTIONS_API__){var p=xr(e);Object(r.pauseTracking)();try{Ut(e)}finally{Object(r.resetTracking)(),p()}}}function Vr(e){return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:function(t,n){return Object(r.track)(e,"get","$attrs"),t[n]}}))}(e)},slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function Br(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Object(r.proxyRefs)(Object(r.markRaw)(e.exposed)),{get:function(t,n){return n in t?t[n]:n in _t?_t[n](e):void 0},has:function(e,t){return t in e||t in _t}}))}var Ur=/(?:^|[-_])(\w)/g,Hr=function(e){return e.replace(Ur,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};function $r(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(i.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Yr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=$r(t);if(!r&&t.__file){var i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&e&&e.parent){var o=function(e){for(var n in e)if(e[n]===t)return n};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?Hr(r):n?"App":"Anonymous"}function Wr(e){return Object(i.isFunction)(e)&&"__vccOpts"in e}var zr=function(e,t){return Object(r.computed)(e,t,Cr)};function Kr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.EMPTY_OBJ,o=Er();var a=Object(i.camelize)(t),u=Object(i.hyphenate)(t),c=Object(r.customRef)((function(r,c){var s;return Se((function(){var n=e[t];Object(i.hasChanged)(s,n)&&(s=n,c())})),{get:function(){return r(),n.get?n.get(s):s},set:function(e){var r=o.vnode.props;r&&(t in r||a in r||u in r)&&("onUpdate:".concat(t)in r||"onUpdate:".concat(a)in r||"onUpdate:".concat(u)in r)||!Object(i.hasChanged)(e,s)||(s=e,c()),o.emit("update:".concat(t),n.set?n.set(e):e)}}})),s="modelValue"===t?"modelModifiers":"".concat(t,"Modifiers");return c[Symbol.iterator]=function(){var t=0;return{next:function(){return t<2?{value:t++?e[s]||{}:c,done:!1}:{done:!0}}}},c}function Gr(e,t,n){var r=arguments.length;return 2===r?Object(i.isObject)(t)&&!Object(i.isArray)(t)?Qn(t)?ar(e,null,[t]):ar(e,t):ar(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Qn(n)&&(n=[n]),ar(e,t,n))}function qr(){return void 0}function Jr(e,t,n,r){var i=n[r];if(i&&Xr(i,e))return i;var o=t();return o.memo=e.slice(),n[r]=o}function Xr(e,t){var n=e.memo;if(n.length!=t.length)return!1;for(var r=0;r0&&Wn&&Wn.push(e),!0}var Zr="3.4.21",Qr=i.NOOP,ei=m,ti=B,ni=function e(t,n){var r,i;if(B=t)B.enabled=!0,U.forEach((function(e){var t,n=e.event,r=e.args;return(t=B).emit.apply(t,[n].concat(c(r)))})),U=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(r=window.navigator)?void 0:r.userAgent)?void 0:i.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((function(t){e(t,n)})),setTimeout((function(){B||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,!0,U=[])}),3e3)}else!0,U=[]},ri={createComponentInstance:Or,setupComponent:Pr,renderComponentRoot:Z,setCurrentRenderingInstance:K,isVNode:Qn,normalizeVNode:pr},ii=null,oi=null,ai=null},"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":function(e,t,n){"use strict";n.r(t),function(e){function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function f(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){f(o,r,i,a,u,"next",e)}function u(e){f(o,r,i,a,u,"throw",e)}a(void 0)}))}}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=A(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function h(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t,n){return t=m(t),y(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function y(e,t){if(t&&("object"==k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n]+)>/g,(function(e,t){var n=o[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=k(e[e.length-1])&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},N.apply(this,arguments)}function T(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}function x(e,t){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,t)||A(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){if(e){if("string"==typeof e)return I(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n255?255:t},B=function(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)},U=function(e,t,n){var r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e},H=function(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=U(i,r,e+1/3),a=U(i,r,e),u=U(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*u)<<8},$=function(e){return(parseFloat(e)%360+360)%360/360},Y=function(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100};function W(e){var t=function(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=D.hex6.exec(e),Array.isArray(t)?parseInt("".concat(t[1],"ff"),16)>>>0:Object.hasOwnProperty.call(R,e)?R[e]:(t=D.rgb.exec(e),Array.isArray(t)?(V(t[1])<<24|V(t[2])<<16|V(t[3])<<8|255)>>>0:(t=D.rgba.exec(e))?(V(t[1])<<24|V(t[2])<<16|V(t[3])<<8|B(t[4]))>>>0:(t=D.hex3.exec(e))?parseInt("".concat(t[1]+t[1]+t[2]+t[2]+t[3]+t[3],"ff"),16)>>>0:(t=D.hex8.exec(e))?parseInt(t[1],16)>>>0:(t=D.hex4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=D.hsl.exec(e))?(255|H($(t[1]),Y(t[2]),Y(t[3])))>>>0:(t=D.hsla.exec(e))?(H($(t[1]),Y(t[2]),Y(t[3]))|B(t[4]))>>>0:null))}(e);if(null===t)throw new Error("Bad color value: ".concat(e));return t=(t<<24|t>>>8)>>>0}var z={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},K={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},G="turn",q="rad",J="deg",X=/\/\*[\s\S]{0,1000}?\*\//gm;var Z=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function Q(e){if("number"==typeof e)return e;if(Z.test(e))try{return parseFloat(e)}catch(e){}return e}function ee(e){if(Number.isInteger(e))return e;if("string"==typeof e&&e.endsWith("px")){var t=parseFloat(e.slice(0,e.indexOf("px")));Number.isNaN(t)||(e=t)}return e}function te(e){var t=(e||"").replace(/\s*/g,"").toLowerCase(),n=N(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return"";var r="180",i=j(n,3),o=i[0],a=i[1],u=i[2];return a&&u?r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J,n=parseFloat(e),r=e||"",i=e.split("."),o=j(i,2),a=o[1];switch(a&&a.length>2&&(r=n.toFixed(2)),t){case G:r="".concat((360*n).toFixed(2));break;case q:r="".concat((180/Math.PI*n).toFixed(2))}return r}(a,u):o&&void 0!==K[o]&&(r=K[o]),r}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.replace(/\s+/g," ").trim(),n=t.split(/\s+(?![^(]*?\))/),r=j(n,2),i=r[0],o=r[1],a=/^([+-]?\d+\.?\d*)%$/g;return!i||a.exec(i)||o?i&&a.exec(o)?{ratio:parseFloat(o.split("%")[0])/100,color:W(i)}:null:{color:W(i)}}function re(e,t){var n=t,r=e;if(0===t.indexOf("linear-gradient")){r="linearGradient";var i=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),o=[];n={},i.forEach((function(e,t){if(0===t){var r=te(e);if(r)n.angle=r;else{n.angle="180";var i=ne(e);i&&o.push(i)}}else{var a=ne(e);a&&o.push(a)}})),n.colorStopList=o}else{var a=/(?:\(['"]?)(.*?)(?:['"]?\))/.exec(t);if(a&&a.length>1){var u=j(a,2);n=u[1]}}return[r,n]}function ie(e,t){var n=e&&"string"==typeof e.type,r=n?e:t;return Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?n.forEach((function(e){ie(e,r)})):n&&"object"===k(n)&&ie(n,r)})),n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t}),e}var oe=function(){return O((function e(){g(this,e),this.changeMap=new Map}),[{key:"addAttribute",value:function(e,t){var n=this.properties(e);n.attributes||(n.attributes=new Set),n.attributes.add(t)}},{key:"addPseudoClass",value:function(e,t){var n=this.properties(e);n.pseudoClasses||(n.pseudoClasses=new Set),n.pseudoClasses.add(t)}},{key:"properties",value:function(e){var t=this.changeMap.get(e);return t||this.changeMap.set(e,t={}),t}}])}(),ae=function(){function e(t){var n=this;g(this,e),this.id={},this.class={},this.type={},this.universal=[],this.position=0,this.ruleSets=t,t.forEach((function(e){return e.lookupSort(n)}))}return O(e,[{key:"append",value:function(e){var t=this;this.ruleSets=this.ruleSets.concat(e),e.forEach((function(e){return e.lookupSort(t)}))}},{key:"delete",value:function(e){var t=this,n=[];this.ruleSets=this.ruleSets.filter((function(t){return t.hash!==e||(n.push(t),!1)})),n.forEach((function(e){return e.removeSort(t)}))}},{key:"query",value:function(e,t){var n=this,r=e.tagName,i=e.id,o=e.classList,a=e.props,u=i,c=o;if(null==a?void 0:a.attributes){var s=a.attributes;c=new Set(((null==s?void 0:s.class)||"").split(" ").filter((function(e){return e.trim()}))),u=s.id}var l=[this.universal,this.id[u],this.type[r]];(null==c?void 0:c.size)&&c.forEach((function(e){return l.push(n.class[e])}));var f=l.filter((function(e){return!!e})).reduce((function(e,t){return e.concat(t)}),[]),d=new oe;return d.selectors=f.filter((function(n){return n.sel.accumulateChanges(e,d,t)})).sort((function(e,t){return e.sel.specificity-t.sel.specificity||e.pos-t.pos})).map((function(e){return e.sel})),d}},{key:"removeById",value:function(t,n){e.removeFromMap(this.id,t,n)}},{key:"sortById",value:function(e,t){this.addToMap(this.id,e,t)}},{key:"removeByClass",value:function(t,n){e.removeFromMap(this.class,t,n)}},{key:"sortByClass",value:function(e,t){this.addToMap(this.class,e,t)}},{key:"removeByType",value:function(t,n){e.removeFromMap(this.type,t,n)}},{key:"sortByType",value:function(e,t){this.addToMap(this.type,e,t)}},{key:"removeAsUniversal",value:function(e){var t=this.universal.findIndex((function(t){var n,r;return(null===(n=t.sel.ruleSet)||void 0===n?void 0:n.hash)===(null===(r=e.ruleSet)||void 0===r?void 0:r.hash)}));-1!==t&&this.universal.splice(t)}},{key:"sortAsUniversal",value:function(e){this.universal.push(this.makeDocSelector(e))}},{key:"addToMap",value:function(e,t,n){this.position+=1;var r=e[t];r?r.push(this.makeDocSelector(n)):e[t]=[this.makeDocSelector(n)]}},{key:"makeDocSelector",value:function(e){return this.position+=1,{sel:e,pos:this.position}}}],[{key:"removeFromMap",value:function(e,t,n){var r=e[t],i=r.findIndex((function(e){var t;return e.sel.ruleSet.hash===(null===(t=n.ruleSet)||void 0===t?void 0:t.hash)}));-1!==i&&r.splice(i,1)}}])}();function ue(e){return null==e}function ce(e){return e?" ".concat(e):""}function se(e,t){return t?(null==e?void 0:e.pId)&&t[e.pId]?t[e.pId]:null:null==e?void 0:e.parentNode}var le=function(){return O((function e(){g(this,e),this.specificity=0}),[{key:"lookupSort",value:function(e,t){e.sortAsUniversal(null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeAsUniversal(null!=t?t:this)}}])}(),fe=function(e){function t(){var e;return g(this,t),(e=p(this,t,arguments)).rarity=0,e}return T(t,e),O(t,[{key:"accumulateChanges",value:function(e,t){return this.dynamic?!!this.mayMatch(e)&&(this.trackChanges(e,t),!0):this.match(e)}},{key:"match",value:function(e){return!!e}},{key:"mayMatch",value:function(e){return this.match(e)}},{key:"trackChanges",value:function(e,t){}}])}(le),de=function(e){function t(e){var n;return g(this,t),(n=p(this,t)).specificity=e.reduce((function(e,t){return t.specificity+e}),0),n.head=e.reduce((function(e,t){return!e||e instanceof fe&&t.rarity>e.rarity?t:e}),null),n.dynamic=e.some((function(e){return e.dynamic})),n.selectors=e,n}return T(t,e),O(t,[{key:"toString",value:function(){return"".concat(this.selectors.join("")).concat(ce(this.combinator))}},{key:"match",value:function(e){return!!e&&this.selectors.every((function(t){return t.match(e)}))}},{key:"mayMatch",value:function(e){return!!e&&this.selectors.every((function(t){return t.mayMatch(e)}))}},{key:"trackChanges",value:function(e,t){this.selectors.forEach((function(n){return n.trackChanges(e,t)}))}},{key:"lookupSort",value:function(e,t){this.head&&this.head instanceof fe&&this.head.lookupSort(e,null!=t?t:this)}},{key:"removeSort",value:function(e,t){this.head&&this.head instanceof fe&&this.head.removeSort(e,null!=t?t:this)}}])}(fe),ve=function(e){function t(){var e;return g(this,t),(e=p(this,t)).specificity=0,e.rarity=0,e.dynamic=!1,e}return T(t,e),O(t,[{key:"toString",value:function(){return"*".concat(ce(this.combinator))}},{key:"match",value:function(){return!0}}])}(fe),he=function(e){function t(e){var n;return g(this,t),(n=p(this,t)).specificity=65536,n.rarity=3,n.dynamic=!1,n.id=e,n}return T(t,e),O(t,[{key:"toString",value:function(){return"#".concat(this.id).concat(ce(this.combinator))}},{key:"match",value:function(e){var t,n;return!!e&&((null===(n=null===(t=e.props)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.id)===this.id||e.id===this.id)}},{key:"lookupSort",value:function(e,t){e.sortById(this.id,null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeById(this.id,null!=t?t:this)}}])}(fe),pe=function(e){function t(e){var n;return g(this,t),(n=p(this,t)).specificity=1,n.rarity=1,n.dynamic=!1,n.cssType=e,n}return T(t,e),O(t,[{key:"toString",value:function(){return"".concat(this.cssType).concat(ce(this.combinator))}},{key:"match",value:function(e){return!!e&&e.tagName===this.cssType}},{key:"lookupSort",value:function(e,t){e.sortByType(this.cssType,null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeByType(this.cssType,null!=t?t:this)}}])}(fe),ye=function(e){function t(e){var n;return g(this,t),(n=p(this,t)).specificity=256,n.rarity=2,n.dynamic=!1,n.className=e,n}return T(t,e),O(t,[{key:"toString",value:function(){return".".concat(this.className).concat(ce(this.combinator))}},{key:"match",value:function(e){var t,n,r;if(!e)return!1;var i=null!==(t=e.classList)&&void 0!==t?t:new Set(((null===(r=null===(n=e.props)||void 0===n?void 0:n.attributes)||void 0===r?void 0:r.class)||"").split(" ").filter((function(e){return e.trim()})));return!(!i.size||!i.has(this.className))}},{key:"lookupSort",value:function(e,t){e.sortByClass(this.className,null!=t?t:this)}},{key:"removeSort",value:function(e,t){e.removeByClass(this.className,null!=t?t:this)}}])}(fe),me=function(e){function t(e){var n;return g(this,t),(n=p(this,t)).specificity=256,n.rarity=0,n.dynamic=!0,n.cssPseudoClass=e,n}return T(t,e),O(t,[{key:"toString",value:function(){return":".concat(this.cssPseudoClass).concat(ce(this.combinator))}},{key:"match",value:function(){return!1}},{key:"mayMatch",value:function(){return!0}},{key:"trackChanges",value:function(e,t){t.addPseudoClass(e,this.cssPseudoClass)}}])}(fe),ge=function(e,t){var n,r,i,o=(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n[t])||(null===(r=null==e?void 0:e.attributes)||void 0===r?void 0:r[t]);return void 0!==o?o:Array.isArray(null==e?void 0:e.styleScopeId)&&(null===(i=null==e?void 0:e.styleScopeId)||void 0===i?void 0:i.includes(t))?t:void 0},be=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return g(this,t),(n=p(this,t)).attribute="",n.test="",n.value="",n.specificity=256,n.rarity=0,n.dynamic=!0,n.attribute=e,n.test=r,n.value=i,r?i?(n.match=function(t){if(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props[e]))return!1;var n="".concat(ge(t,e));if("="===r)return n===i;if("^="===r)return n.startsWith(i);if("$="===r)return n.endsWith(i);if("*="===r)return-1!==n.indexOf(i);if("~="===r){var o=n.split(" ");return-1!==(null==o?void 0:o.indexOf(i))}return"|="===r&&(n===i||n.startsWith("".concat(i,"-")))},n):(n.match=function(){return!1},y(n)):(n.match=function(t){return!(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props))&&!ue(ge(t,e))},y(n))}return T(t,e),O(t,[{key:"toString",value:function(){return"[".concat(this.attribute).concat(ce(this.test)).concat(this.test&&this.value||"","]").concat(ce(this.combinator))}},{key:"match",value:function(e){return!!e&&!e}},{key:"mayMatch",value:function(){return!0}},{key:"trackChanges",value:function(e,t){t.addAttribute(e,this.attribute)}}])}(fe),Oe=function(e){function t(e){var n;return g(this,t),(n=p(this,t)).specificity=0,n.rarity=4,n.dynamic=!1,n.combinator=void 0,n.error=e,n}return T(t,e),O(t,[{key:"toString",value:function(){return"")}},{key:"match",value:function(){return!1}},{key:"lookupSort",value:function(){return null}},{key:"removeSort",value:function(){return null}}])}(fe),_e=function(){return O((function e(t){g(this,e),this.selectors=t,this.dynamic=t.some((function(e){return e.dynamic}))}),[{key:"match",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.parentNode),!!e&&t.match(e)}))?e:null)}},{key:"mayMatch",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.parentNode),!!e&&t.mayMatch(e)}))?e:null)}},{key:"trackChanges",value:function(e,t){this.selectors.forEach((function(n,r){0!==r&&(e=e.parentNode),e&&n.trackChanges(e,t)}))}}])}(),we=function(){return O((function e(t){g(this,e),this.selectors=t,this.dynamic=t.some((function(e){return e.dynamic}))}),[{key:"match",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.nextSibling),!!e&&t.match(e)}))?e:null)}},{key:"mayMatch",value:function(e){return!!e&&(this.selectors.every((function(t,n){return 0!==n&&(e=e.nextSibling),!!e&&t.mayMatch(e)}))?e:null)}},{key:"trackChanges",value:function(e,t){this.selectors.forEach((function(n,r){0!==r&&(e=e.nextSibling),e&&n.trackChanges(e,t)}))}}])}(),Se=function(e){function t(e){var n;g(this,t),n=p(this,t);var r=[void 0," ",">","+","~"],i=[],o=[],a=[],u=h(e),c=u.length-1;n.specificity=0,n.dynamic=!1;for(var s=c;s>=0;s--){var l=u[s];if(-1===r.indexOf(l.combinator))throw console.error('Unsupported combinator "'.concat(l.combinator,'".')),new Error('Unsupported combinator "'.concat(l.combinator,'".'));void 0!==l.combinator&&" "!==l.combinator||a.push(o=[i=[]]),">"===l.combinator&&o.push(i=[]),n.specificity+=l.specificity,l.dynamic&&(n.dynamic=!0),i.push(l)}return n.groups=a.map((function(e){return new _e(e.map((function(e){return new we(e)})))})),n.last=u[c],n}return T(t,e),O(t,[{key:"toString",value:function(){return this.selectors.join("")}},{key:"match",value:function(e,t){return!!e&&this.groups.every((function(n,r){if(0===r)return!!(e=n.match(e));for(var i=se(e,t);i;){if(e=n.match(i))return!0;i=se(i,t)}return!1}))}},{key:"lookupSort",value:function(e){this.last.lookupSort(e,this)}},{key:"removeSort",value:function(e){this.last.removeSort(e,this)}},{key:"accumulateChanges",value:function(e,t,n){if(!this.dynamic)return this.match(e,n);var r=[],i=this.groups.every((function(t,i){if(0===i){var o=t.mayMatch(e);return r.push({left:e,right:e}),!!(e=o)}for(var a=se(e,n);a;){var u=t.mayMatch(a);if(u)return r.push({left:a,right:null}),e=u,!0;a=se(a,n)}return!1}));if(!i)return!1;if(!t)return i;for(var o=0;o)?\\s*"},Te={};function xe(e,t,n){var r="";ke&&(r="gy"),Te[e]||(Te[e]=new RegExp(Ne[e],r));var i,o=Te[e];if(ke)o.lastIndex=n,i=o.exec(t);else{if(t=t.slice(n,t.length),!(i=o.exec(t)))return{result:null,regexp:o};o.lastIndex=n+i[0].length}return{result:i,regexp:o}}function je(e,t){var n,r;return null!==(r=null!==(n=function(e,t){var n=xe("universalSelectorRegEx",e,t),r=n.result,i=n.regexp;return r?{value:{type:"*"},start:t,end:i.lastIndex}:null}(e,t))&&void 0!==n?n:function(e,t){var n=xe("simpleIdentifierSelectorRegEx",e,t),r=n.result,i=n.regexp;if(!r)return null;var o=i.lastIndex;return{value:{type:r[1],identifier:r[2]},start:t,end:o}}(e,t))&&void 0!==r?r:function(e,t){var n=xe("attributeSelectorRegEx",e,t),r=n.result,i=n.regexp;if(!r)return null;var o=i.lastIndex,a=r[1];return r[2]?{value:{type:"[]",property:a,test:r[2],value:r[3]||r[4]||r[5]},start:t,end:o}:{value:{type:"[]",property:a},start:t,end:o}}(e,t)}function Ae(e,t){var n=je(e,t);if(!n)return null;for(var r=n.end,i=[];n;){i.push(n.value),n=je(e,r=n.end)}return{start:t,end:r,value:i}}function Ie(e,t){var n=xe("combinatorRegEx",e,t),r=n.result,i=n.regexp;return r?{start:t,end:ke?i.lastIndex:t,value:r[1]||" "}:null}var Ce,Pe=function(e){return e};function Re(e){return"declaration"===e.type}function Le(e){return function(t){return e(t)}}function Me(e){switch(e.type){case"*":return new ve;case"#":return new he(e.identifier);case"":return new pe(e.identifier.replace(/-/,"").toLowerCase());case".":return new ye(e.identifier);case":":return new me(e.identifier);case"[]":return e.test?new be(e.property,e.test,e.value):new be(e.property);default:return new Oe(new Error("Unknown selector."))}}function Fe(e){return 0===e.length?new Oe(new Error("Empty simple selector sequence.")):1===e.length?Me(e[0]):new de(e.map(Me))}function De(e){try{var t=function(e,t){var n=t,r=xe("whiteSpaceRegEx",e,t),i=r.result,o=r.regexp;i&&(n=o.lastIndex);var a,u=[],c=!0,s=[void 0,void 0];return(ke?[e]:e.split(" ")).forEach((function(e){if(!ke){if(""===e)return;n=0}do{var t=Ae(e,n);if(!t){if(c)return;break}if(n=t.end,a&&(s[1]=a.value),s=[t.value,void 0],u.push(s),a=Ie(e,n))n=a.end;c=!(!a||" "===a.value)}while(a)})),{start:t,end:n,value:u}}(e,0);return t?function(e){if(0===e.length)return new Oe(new Error("Empty selector."));if(1===e.length)return Fe(e[0][0]);var t,n=[],r=v(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=Fe(i[0]),a=i[1];a&&o&&(o.combinator=a),n.push(o)}}catch(e){r.e(e)}finally{r.f()}return new Se(n)}(t.value):new Oe(new Error("Empty selector"))}catch(e){return new Oe(e)}}function Ve(e){var t;return!e||!(null===(t=null==e?void 0:e.ruleSets)||void 0===t?void 0:t.length)}function Be(t,n){if(t){if(!Ve(Ce))return Ce;var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.map((function(e){var n=e[0],r=e[1];return r=r.map((function(e){var t=j(e,2);return{type:"declaration",property:t[0],value:t[1]}})).map(Le(null!=t?t:Pe)),n=n.map(De),new Ee(n,r,"")}))}(t,n);return Ce=new ae(r)}var i=e[Ue];if(Ve(Ce)||i){var o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=e.map((function(e){if(!Array.isArray(e))return e;var t=j(e,3);return{hash:t[0],selectors:t[1],declarations:t[2].map((function(e){var t=j(e,2);return{type:"declaration",property:t[0],value:t[1]}}))}}));return n.map((function(e){var n=e.declarations.filter(Re).map(Le(null!=t?t:Pe)),r=e.selectors.map(De);return new Ee(r,n,e.hash)}))}(i);Ce?Ce.append(o):Ce=new ae(o),e[Ue]=void 0}return e[He]&&(e[He].forEach((function(e){Ce.delete(e)})),e[He]=void 0),Ce}var Ue="__HIPPY_VUE_STYLES__",He="__HIPPY_VUE_DISPOSE_STYLES__",$e=Object.create(null),Ye={$on:function(e,t,n){return Array.isArray(e)?e.forEach((function(e){Ye.$on(e,t,n)})):($e[e]||($e[e]=[]),$e[e].push({fn:t,ctx:n})),Ye},$once:function(e,t,n){function r(){Ye.$off(e,r);for(var i=arguments.length,o=new Array(i),a=0;a1?r-1:0),o=1;o0||e.didTimeout)&&function e(t){var n;"number"==typeof t?In(t):t&&(In(t.nodeId),null===(n=t.childNodes)||void 0===n||n.forEach((function(t){return e(t)})))}(t)},r={timeout:50},e.requestIdleCallback?e.requestIdleCallback(n,r):setTimeout((function(){n({didTimeout:!1,timeRemaining:function(){return 1/0}})}),1)}function Rn(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t],r=t;r-1){var f;if("onLayout"===i){f=new On(o),Object.assign(f,{eventPhase:c,nativeParams:null!=u?u:{}});var d=u.layout,v=d.x,h=d.y,p=d.height,y=d.width;f.top=h,f.left=v,f.bottom=h+p,f.right=v+y,f.width=y,f.height=p}else{f=new gn(o),Object.assign(f,{eventPhase:c,nativeParams:null!=u?u:{}});var m=l.component.processEventData;m&&m({__evt:i,handler:f},u)}s.dispatchEvent(function(e,t,n){return function(e){return["onTouchDown","onTouchMove","onTouchEnd","onTouchCancel"].indexOf(e)>=0}(e)&&Object.assign(t,{touches:{0:{clientX:n.page_x,clientY:n.page_y},length:1}}),t}(i,f,u),l,t)}}catch(e){console.error("receiveComponentEvent error",e)}else qe.apply(void 0,Mn.concat(["receiveComponentEvent","currentTargetNode or targetNode not exist"]))}else qe.apply(void 0,Mn.concat(["receiveComponentEvent","nativeEvent or domEvent not exist"]))}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=Fn);var Dn,Vn=function(){function e(){g(this,e),this.listeners={}}return O(e,[{key:"addEventListener",value:function(e,t,n){for(var r=e.split(","),i=r.length,o=0;o=0&&c.splice(s,1),c.length||(this.listeners[u]=void 0)}}}else this.listeners[u]=void 0}}},{key:"emitEvent",value:function(e){var t,n,r=e.type,i=this.listeners[r];if(i)for(var o=i.length-1;o>=0;o-=1){var a=i[o];(null===(t=a.options)||void 0===t?void 0:t.once)&&i.splice(o,1),(null===(n=a.options)||void 0===n?void 0:n.thisArg)?a.callback.apply(a.options.thisArg,[e]):a.callback(e)}}},{key:"getEventListenerList",value:function(){return this.listeners}}],[{key:"indexOfListener",value:function(e,t,n){return e.findIndex((function(e){return n?e.callback===t&&C.looseEqual(e.options,n):e.callback===t}))}}])}();!function(e){e[e.CREATE=0]="CREATE",e[e.UPDATE=1]="UPDATE",e[e.DELETE=2]="DELETE",e[e.MOVE=3]="MOVE",e[e.UPDATE_EVENT=4]="UPDATE_EVENT"}(Dn||(Dn={}));var Bn,Un=!1,Hn=[];function $n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;e.forEach((function(e){if(e){var n=e.id;e.eventList.forEach((function(e){var r,i=e.name,o=e.type,a=e.listener;r=fn(i)?sn[i]:dn(i),o===cn&&t.removeEventListener(n,r,a),o===un&&(t.removeEventListener(n,r,a),t.addEventListener(n,r,a))}))}}))}function Yn(e,t){0}function Wn(){Un||(Un=!0,0!==Hn.length?P.nextTick().then((function(){var t=function(e){var t,n=[],r=v(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=i.type,a=i.nodes,u=i.eventNodes,c=i.printedNodes,s=n[n.length-1];s&&s.type===o?(s.nodes=s.nodes.concat(a),s.eventNodes=s.eventNodes.concat(u),s.printedNodes=s.printedNodes.concat(c)):n.push({type:o,nodes:a,eventNodes:u,printedNodes:c})}}catch(e){r.e(e)}finally{r.f()}return n}(Hn),n=yn().rootViewId,r=new e.Hippy.SceneBuilder(n);t.forEach((function(e){switch(e.type){case Dn.CREATE:Yn(e.printedNodes),r.create(e.nodes,!0),$n(e.eventNodes,r);break;case Dn.UPDATE:Yn(e.printedNodes),r.update(e.nodes),$n(e.eventNodes,r);break;case Dn.DELETE:Yn(e.printedNodes),r.delete(e.nodes);break;case Dn.MOVE:Yn(e.printedNodes),r.move(e.nodes);break;case Dn.UPDATE_EVENT:$n(e.eventNodes,r)}})),r.build(),Un=!1,Hn=[]})):Un=!1)}function zn(e){var t=j(e,3),n=t[0],r=t[1],i=t[2];Hn.push({type:Dn.CREATE,nodes:n,eventNodes:r,printedNodes:i}),Wn()}function Kn(e){var t=j(e,3),n=t[0],r=t[2];n&&(Hn.push({type:Dn.MOVE,nodes:n,eventNodes:[],printedNodes:r}),Wn())}function Gn(e){var t=j(e,3),n=t[0],r=t[1],i=t[2];n&&(Hn.push({type:Dn.UPDATE,nodes:n,eventNodes:r,printedNodes:i}),Wn())}function qn(e){var t,n=e.events;if(n){var r=[];Object.keys(n).forEach((function(e){var t=n[e],i=t.name,o=t.type,a=t.isCapture,u=t.listener;r.push({name:i,type:o,isCapture:a,listener:u})})),t={id:e.nodeId,eventList:r}}return t}!function(e){e[e.ElementNode=1]="ElementNode",e[e.TextNode=3]="TextNode",e[e.CommentNode=8]="CommentNode",e[e.DocumentNode=4]="DocumentNode"}(Bn||(Bn={}));var Jn=function(t){function n(e,t){var r,i;return g(this,n),(r=p(this,n)).isMounted=!1,r.events={},r.childNodes=[],r.parentNode=null,r.prevSibling=null,r.nextSibling=null,r.tagComponent=null,r.nodeId=null!==(i=null==t?void 0:t.id)&&void 0!==i?i:n.getUniqueNodeId(),r.nodeType=e,r.isNeedInsertToNative=function(e){return e===Bn.ElementNode}(e),(null==t?void 0:t.id)&&(r.isMounted=!0),r}return T(n,t),O(n,[{key:"firstChild",get:function(){return this.childNodes.length?this.childNodes[0]:null}},{key:"lastChild",get:function(){var e=this.childNodes.length;return e?this.childNodes[e-1]:null}},{key:"component",get:function(){return this.tagComponent}},{key:"index",get:function(){var e=0;this.parentNode&&(e=this.parentNode.childNodes.filter((function(e){return e.isNeedInsertToNative})).indexOf(this));return e}},{key:"isRootNode",value:function(){return 1===this.nodeId}},{key:"hasChildNodes",value:function(){return!!this.childNodes.length}},{key:"insertBefore",value:function(e,t){var n=e,r=t;if(!n)throw new Error("No child to insert");if(r){if(n.parentNode&&n.parentNode!==this)throw new Error("Can not insert child, because the child node is already has a different parent");var i=this;r.parentNode!==this&&(i=r.parentNode);var o=i.childNodes.indexOf(r),a=r;r.isNeedInsertToNative||(a=Rn(this.childNodes,o)),n.parentNode=i,n.nextSibling=r,n.prevSibling=i.childNodes[o-1],i.childNodes[o-1]&&(i.childNodes[o-1].nextSibling=n),r.prevSibling=n,i.childNodes.splice(o,0,n),a.isNeedInsertToNative?this.insertChildNativeNode(n,{refId:a.nodeId,relativeToRef:Ln}):this.insertChildNativeNode(n)}else this.appendChild(n)}},{key:"moveChild",value:function(e,t){var n=e,r=t;if(!n)throw new Error("No child to move");if(r){if(r.parentNode&&r.parentNode!==this)throw new Error("Can not move child, because the anchor node is already has a different parent");if(n.parentNode&&n.parentNode!==this)throw new Error("Can't move child, because it already has a different parent");var i=this.childNodes.indexOf(n),o=this.childNodes.indexOf(r),a=r;if(r.isNeedInsertToNative||(a=Rn(this.childNodes,o)),o!==i){n.nextSibling=r,n.prevSibling=r.prevSibling,r.prevSibling=n,this.childNodes[o-1]&&(this.childNodes[o-1].nextSibling=n),this.childNodes[o+1]&&(this.childNodes[o+1].prevSibling=n),this.childNodes[i-1]&&(this.childNodes[i-1].nextSibling=this.childNodes[i+1]),this.childNodes[i+1]&&(this.childNodes[i+1].prevSibling=this.childNodes[i-1]),this.childNodes.splice(i,1);var u=this.childNodes.indexOf(r);this.childNodes.splice(u,0,n),a.isNeedInsertToNative?this.moveChildNativeNode(n,{refId:a.nodeId,relativeToRef:Ln}):this.insertChildNativeNode(n)}}else this.appendChild(n)}},{key:"appendChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e;if(!n)throw new Error("No child to append");this.lastChild!==n&&(n.parentNode&&n.parentNode!==this?n.parentNode.removeChild(n):(n.isMounted&&!t&&this.removeChild(n),n.parentNode=this,this.lastChild&&(n.prevSibling=this.lastChild,this.lastChild.nextSibling=n),this.childNodes.push(n),t?An(n,n.nodeId):this.insertChildNativeNode(n)))}},{key:"removeChild",value:function(e){var t=e;if(!t)throw new Error("Can't remove child.");if(!t.parentNode)throw new Error("Can't remove child, because it has no parent.");if(t.parentNode===this){if(t.isNeedInsertToNative){t.prevSibling&&(t.prevSibling.nextSibling=t.nextSibling),t.nextSibling&&(t.nextSibling.prevSibling=t.prevSibling),t.prevSibling=null,t.nextSibling=null;var n=this.childNodes.indexOf(t);this.childNodes.splice(n,1),this.removeChildNativeNode(t)}}else t.parentNode.removeChild(t)}},{key:"findChild",value:function(e){if(e(this))return this;if(this.childNodes.length){var t,n=v(this.childNodes);try{for(n.s();!(t=n.n()).done;){var r=t.value,i=this.findChild.call(r,e);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}return null}},{key:"eachNode",value:function(e){var t=this;e&&e(this),this.childNodes.length&&this.childNodes.forEach((function(n){t.eachNode.call(n,e)}))}},{key:"insertChildNativeNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.isNeedInsertToNative){var n=this.isRootNode()&&!this.isMounted,r=this.isMounted&&!e.isMounted;if(n||r){var i=n?this:e;zn(i.convertToNativeNodes(!0,t)),i.eachNode((function(e){var t=e;!t.isMounted&&t.isNeedInsertToNative&&(t.isMounted=!0),An(t,t.nodeId)}))}}}},{key:"moveChildNativeNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.isNeedInsertToNative&&(!t||t.refId!==e.nodeId)){var n=e;Kn(n.convertToNativeNodes(!1,t))}}},{key:"removeChildNativeNode",value:function(e){if(e&&e.isNeedInsertToNative){var t,n,r,i,o=e;o.isMounted&&(o.isMounted=!1,t=o.convertToNativeNodes(!1,{}),n=j(t,3),r=n[0],i=n[2],r&&(Hn.push({type:Dn.DELETE,nodes:r,eventNodes:[],printedNodes:i}),Wn()))}}},{key:"updateNativeNode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isMounted){var t=this.convertToNativeNodes(e,{});Gn(t)}}},{key:"updateNativeEvent",value:function(){this.isMounted&&function(e){Hn.push({type:Dn.UPDATE_EVENT,nodes:[],eventNodes:[e],printedNodes:[]}),Wn()}(qn(this))}},{key:"convertToNativeNodes",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;if(!this.isNeedInsertToNative)return[[],[],[]];if(e){var o=[],a=[],u=[];return this.eachNode((function(e){var t=j(e.convertToNativeNodes(!1,r),3),n=t[0],i=t[1],c=t[2];Array.isArray(n)&&n.length&&o.push.apply(o,h(n)),Array.isArray(i)&&i.length&&a.push.apply(a,h(i)),Array.isArray(c)&&c.length&&u.push.apply(u,h(c))})),[o,a,u]}if(!this.component)throw new Error("tagName is not supported yet");var c=yn(),s=c.rootViewId,l=null!=i?i:{},f=w({id:this.nodeId,pId:null!==(n=null===(t=this.parentNode)||void 0===t?void 0:t.nodeId)&&void 0!==n?n:s},l),d=qn(this),v=void 0,p=[f,r];return[[p],[d],[v]]}}],[{key:"getUniqueNodeId",value:function(){return e.hippyUniqueId||(e.hippyUniqueId=0),e.hippyUniqueId+=1,e.hippyUniqueId%10==0&&(e.hippyUniqueId+=1),e.hippyUniqueId}}])}(Vn),Xn=function(e){function t(e,n){var r;return g(this,t),(r=p(this,t,[Bn.TextNode,n])).text=e,r.data=e,r.isNeedInsertToNative=!1,r}return T(t,e),O(t,[{key:"setText",value:function(e){this.text=e,this.parentNode&&this.parentNode.nodeType===Bn.ElementNode&&this.parentNode.setText(e)}}])}(Jn);function Zn(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,i=r,o={textShadowOffsetX:"width",textShadowOffsetY:"height"};return i.textShadowOffset=null!==(t=i.textShadowOffset)&&void 0!==t?t:{},Object.assign(i.textShadowOffset,{[o[e]]:n}),["textShadowOffset",i.textShadowOffset]}function Qn(e,t){var n=t;e.component.name===ze.TextInput&&an()&&(n.textAlign||(n.textAlign="right"))}function er(e,t,n){var r=t,i=n;e.component.name===ze.View&&("scroll"===i.overflowX&&i.overflowY,"scroll"===i.overflowY?r.name="ScrollView":"scroll"===i.overflowX&&(r.name="ScrollView",r.props&&(r.props.horizontal=!0),i.flexDirection=an()?"row-reverse":"row"),"ScrollView"===r.name&&(e.childNodes.length,e.childNodes.length&&e.nodeType===Bn.ElementNode&&e.childNodes[0].setStyle("collapsable",!1)),i.backgroundImage&&(i.backgroundImage=ct(i.backgroundImage)))}function tr(e,t){if("string"==typeof e)for(var n=e.split(","),r=0,i=n.length;r1&&void 0!==arguments[1]&&arguments[1];e instanceof Xn&&this.setText(e.text,{notToNative:!0}),c(m(t.prototype),"appendChild",this).call(this,e,n)}},{key:"insertBefore",value:function(e,n){e instanceof Xn&&this.setText(e.text,{notToNative:!0}),c(m(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"moveChild",value:function(e,n){e instanceof Xn&&this.setText(e.text,{notToNative:!0}),c(m(t.prototype),"moveChild",this).call(this,e,n)}},{key:"removeChild",value:function(e){e instanceof Xn&&this.setText("",{notToNative:!0}),c(m(t.prototype),"removeChild",this).call(this,e)}},{key:"hasAttribute",value:function(e){return!!this.attributes[e]}},{key:"getAttribute",value:function(e){return this.attributes[e]}},{key:"removeAttribute",value:function(e){delete this.attributes[e]}},{key:"setAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t,i=e;try{if("boolean"==typeof this.attributes[i]&&""===r&&(r=!0),void 0===i)return void(!n.notToNative&&this.updateNativeNode());switch(i){case"class":var o=new Set(vt(r));if(at(this.classList,o))return;return this.classList=o,void(!n.notToNative&&this.updateNativeNode(!0));case"id":if(r===this.id)return;return this.id=r,void(!n.notToNative&&this.updateNativeNode(!0));case"text":case"value":case"defaultValue":case"placeholder":if("string"!=typeof r)try{r=r.toString()}catch(e){"Property ".concat(i," must be string:").concat(e.message)}n&&n.textUpdate||(r=dt(r)),r=ot(r);break;case"numberOfRows":if(!Pt.isIOS())return;break;case"caretColor":case"caret-color":i="caret-color",r=Pt.parseColor(r);break;case"break-strategy":i="breakStrategy";break;case"placeholderTextColor":case"placeholder-text-color":i="placeholderTextColor",r=Pt.parseColor(r);break;case"underlineColorAndroid":case"underline-color-android":i="underlineColorAndroid",r=Pt.parseColor(r);break;case"nativeBackgroundAndroid":var a=r;void 0!==a.color&&(a.color=Pt.parseColor(a.color)),i="nativeBackgroundAndroid",r=a}if(this.attributes[i]===r)return;this.attributes[i]=r,"function"==typeof this.filterAttribute&&this.filterAttribute(this.attributes),!n.notToNative&&this.updateNativeNode()}catch(e){0}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setAttribute("text",e,{notToNative:!!t.notToNative})}},{key:"removeStyle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.style={},e||this.updateNativeNode()}},{key:"setStyles",value:function(e){var t=this;e&&"object"===k(e)&&(Object.keys(e).forEach((function(n){var r=e[n];t.setStyle(n,r,!0)})),this.updateNativeNode())}},{key:"setStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===t)return delete this.style[e],void(n||this.updateNativeNode());var r=this.beforeLoadStyle({property:e,value:t}),i=r.property,o=r.value;switch(i){case"fontWeight":"string"!=typeof o&&(o=o.toString());break;case"backgroundImage":var a=re(i,o),u=j(a,2);i=u[0],o=u[1];break;case"textShadowOffsetX":case"textShadowOffsetY":var c=Zn(i,o,this.style),s=j(c,2);i=s[0],o=s[1];break;case"textShadowOffset":var l=null!=o?o:{},f=l.x,d=void 0===f?0:f,v=l.width,h=void 0===v?0:v,p=l.y,y=void 0===p?0:p,m=l.height,g=void 0===m?0:m;o={width:d||h,height:y||g};break;default:Object.prototype.hasOwnProperty.call(z,i)&&(i=z[i]),"string"==typeof o&&(o=o.trim(),o=i.toLowerCase().indexOf("color")>=0?Pt.parseColor(o):o.endsWith("px")?parseFloat(o.slice(0,o.length-2)):Qe(o))}null!=o&&this.style[i]!==o&&(this.style[i]=o,n||this.updateNativeNode())}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;if("number"==typeof e&&"number"==typeof t){var r=n;!1===r&&(r=0),Pt.callUIFunction(this,"scrollToWithOptions",[{x:e,y:t,duration:r}])}}},{key:"scrollTo",value:function(e,t,n){if("object"===k(e)&&e){var r=e.left,i=e.top,o=e.behavior,a=void 0===o?"auto":o,u=e.duration;this.scrollToPosition(r,i,"none"===a?0:u)}else this.scrollToPosition(e,t,n)}},{key:"setListenerHandledType",value:function(e,t){this.events[e]&&(this.events[e].handledType=t)}},{key:"isListenerHandled",value:function(e,t){return!this.events[e]||t===this.events[e].handledType}},{key:"getNativeEventName",value:function(e){var t="on".concat(Xe(e));if(this.component){var n=this.component.eventNamesMap;(null==n?void 0:n.get(e))&&(t=n.get(e))}return t}},{key:"addEventListener",value:function(e,n,r){var i=this,o=e,a=n,u=r,s=!0;"scroll"!==o||this.getAttribute("scrollEventThrottle")>0||(this.attributes.scrollEventThrottle=200);var l=this.getNativeEventName(o);if(this.attributes[l]&&(s=!1),"function"==typeof this.polyfillNativeEvents){var f=this.polyfillNativeEvents(hn,o,a,u);o=f.eventNames,a=f.callback,u=f.options}c(m(t.prototype),"addEventListener",this).call(this,o,a,u),tr(o,(function(e){var t,n,r=i.getNativeEventName(e);i.events[r]?i.events[r]&&i.events[r].type!==un&&(i.events[r].type=un):i.events[r]={name:r,type:un,listener:(t=r,n=e,function(e){var r=e.id,i=e.currentId,o=e.params,a=e.eventPhase;Fn.receiveComponentEvent({id:r,nativeName:t,originalName:n,currentId:i,params:o,eventPhase:a},e)}),isCapture:!1}})),s&&this.updateNativeEvent()}},{key:"removeEventListener",value:function(e,n,r){var i=this,o=e,a=n,u=r;if("function"==typeof this.polyfillNativeEvents){var s=this.polyfillNativeEvents(pn,o,a,u);o=s.eventNames,a=s.callback,u=s.options}c(m(t.prototype),"removeEventListener",this).call(this,o,a,u),tr(o,(function(e){var t=i.getNativeEventName(e);i.events[t]&&(i.events[t].type=cn)}));var l=this.getNativeEventName(o);this.attributes[l]&&delete this.attributes[l],this.updateNativeEvent()}},{key:"dispatchEvent",value:function(e,t,n){var r=e;r.currentTarget=this,r.target||(r.target=t||this,xn(r)&&(r.target.value=r.value)),this.emitEvent(r),!r.bubbles&&n&&n.stopPropagation()}},{key:"convertToNativeNodes",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isNeedInsertToNative)return[[],[],[]];if(e)return c(m(t.prototype),"convertToNativeNodes",this).call(this,!0,r);var i=this.getNativeStyles();if(this.parentNode&&this.parentNode instanceof t){var o=this.parentNode.processedStyle,a=["color","fontSize","fontWeight","fontFamily","fontStyle","textAlign","lineHeight"];a.forEach((function(e){!i[e]&&o[e]&&(i[e]=o[e])}))}if(it()(this,i),this.component.defaultNativeStyle){var u=this.component.defaultNativeStyle,s={};Object.keys(u).forEach((function(e){n.getAttribute(e)||(s[e]=u[e])})),i=w(w({},s),i)}this.processedStyle=i;var l={name:this.component.name,props:w(w({},this.getNativeProps()),{},{style:i}),tagName:this.tagName};return Qn(this,i),er(this,l,i),c(m(t.prototype),"convertToNativeNodes",this).call(this,!1,r,l)}},{key:"repaintWithChildren",value:function(){this.updateNativeNode(!0)}},{key:"setNativeProps",value:function(e){if(e){var t=e.style;this.setStyles(t)}}},{key:"setPressed",value:function(e){Pt.callUIFunction(this,"setPressed",[e])}},{key:"setHotspot",value:function(e,t){Pt.callUIFunction(this,"setHotspot",[e,t])}},{key:"setStyleScope",value:function(e){var t="string"!=typeof e?e.toString():e;t&&!this.scopedIdList.includes(t)&&this.scopedIdList.push(t)}},{key:"styleScopeId",get:function(){return this.scopedIdList}},{key:"getInlineStyle",value:function(){var e=this,t={};return Object.keys(this.style).forEach((function(n){var r=P.toRaw(e.style[n]);void 0!==r&&(t[n]=r)})),t}},{key:"getNativeStyles",value:function(){var e=this,n={};return Be(void 0,tt()).query(this).selectors.forEach((function(t){var r,i;ft(t,e)&&(null===(i=null===(r=t.ruleSet)||void 0===r?void 0:r.declarations)||void 0===i?void 0:i.length)&&t.ruleSet.declarations.forEach((function(e){e.property&&(n[e.property]=e.value)}))})),this.ssrInlineStyle&&(n=w(w({},n),this.ssrInlineStyle)),n=t.parseRem(w(w({},n),this.getInlineStyle()))}},{key:"getNativeProps",value:function(){var e=this,t={},n=this.component.defaultNativeProps;n&&Object.keys(n).forEach((function(r){if(void 0===e.getAttribute(r)){var i=n[r];t[r]=C.isFunction(i)?i(e):P.toRaw(i)}})),Object.keys(this.attributes).forEach((function(n){var r,i=P.toRaw(e.getAttribute(n));if(e.component.attributeMaps&&e.component.attributeMaps[n]){var o=e.component.attributeMaps[n];if(C.isString(o))t[o]=P.toRaw(i);else if(C.isFunction(o))t[n]=P.toRaw(o(i));else{var a=o.name,u=o.propsValue,c=o.jointKey;C.isFunction(u)&&(i=u(i)),c?(t[c]=null!==(r=t[c])&&void 0!==r?r:{},Object.assign(t[c],{[a]:P.toRaw(i)})):t[a]=P.toRaw(i)}}else t[n]=P.toRaw(i)}));var r=this.component.nativeProps;return r&&Object.keys(r).forEach((function(e){t[e]=P.toRaw(r[e])})),t}},{key:"getNodeAttributes",value:function(){var e;try{var t=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if("object"!==k(t)||null===t)throw new TypeError("deepCopy data is object");if(n.has(t))return n.get(t);var r={},i=Object.keys(t);return i.forEach((function(i){var o=t[i];"object"!==k(o)||null===o?r[i]=o:Array.isArray(o)?r[i]=h(o):o instanceof Set?r[i]=new Set(h(o)):o instanceof Map?r[i]=new Map(h(o)):(n.set(t,t),r[i]=e(o,n))})),r}(this.attributes),n=Array.from(null!==(e=this.classList)&&void 0!==e?e:[]).join(" "),r=w({id:this.id,hippyNodeId:"".concat(this.nodeId),class:n},t);return delete r.text,delete r.value,Object.keys(r).forEach((function(e){"id"!==e&&"hippyNodeId"!==e&&"class"!==e&&delete r[e]})),r}catch(e){return{}}}},{key:"getNativeEvents",value:function(){var e={},t=this.getEventListenerList(),n=Object.keys(t);if(n.length){var r=this.component.eventNamesMap;n.forEach((function(n){var i=null==r?void 0:r.get(n);if(i)e[i]=!!t[n];else{var o="on".concat(Xe(n));e[o]=!!t[n]}}))}return e}},{key:"hackSpecialIssue",value:function(){this.fixVShowDirectiveIssue()}},{key:"fixVShowDirectiveIssue",value:function(){var e,t=this,n=null!==(e=this.style.display)&&void 0!==e?e:void 0;Object.defineProperty(this.style,"display",{enumerable:!0,configurable:!0,get:function(){return n},set:function(e){n=void 0===e?"flex":e,t.updateNativeNode()}})}}],[{key:"parseRem",value:function(e){var t={},n=Object.keys(e);return n.length?n.forEach((function(n){t[n]=function(e){var t=e;if("string"!=typeof t||!t.endsWith("rem"))return t;if(t=parseFloat(t),Number.isNaN(t))return e;var n=yn().ratioBaseWidth;return 100*t*(Pt.Dimensions.screen.width/n)}(e[n])})):t=e,t}}])}(Jn);var rr=["dialog","hi-pull-header","hi-pull-footer","hi-swiper","hi-swiper-slider","hi-waterfall","hi-waterfall-item","hi-ul-refresh-wrapper","hi-refresh-wrapper-item"],ir={install:function(t){!function(t){var n={valueType:void 0,delay:0,startValue:0,toValue:0,duration:0,direction:"center",timingFunction:"linear",repeatCount:0,inputRange:[],outputRange:[]};function r(e,t){return"color"===e&&["number","string"].indexOf(k(t))>=0?Pt.parseColor(t):t}function c(e){return"loop"===e?-1:e}function s(t){var o=t.mode,a=void 0===o?"timing":o,s=t.valueType,l=t.startValue,f=t.toValue,d=u(t,i),v=w(w({},n),d);void 0!==s&&(v.valueType=t.valueType),v.startValue=r(v.valueType,l),v.toValue=r(v.valueType,f),v.repeatCount=c(v.repeatCount),v.mode=a;var h=new e.Hippy.Animation(v),p=h.getId();return{animation:h,animationId:p}}function l(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=new e.Hippy.AnimationSet({children:t,repeatCount:n}),i=r.getId();return{animation:r,animationId:i}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};return Object.keys(e).forEach((function(r){if(Array.isArray(e[r])){var i=e[r],o=i[i.length-1].repeatCount,a=l(i.map((function(e){var n=s(w(w({},e),{},{repeatCount:0})),r=n.animationId,i=n.animation;return Object.assign(t,{[r]:i}),{animationId:r,follow:!0}})),c(o)),u=a.animationId,f=a.animation;n[r]={animationId:u},Object.assign(t,{[u]:f})}else{var d=s(e[r]),v=d.animationId,h=d.animation;Object.assign(t,{[v]:h}),n[r]={animationId:v}}})),n}function d(e){var t=e.transform,n=u(e,o),r=Object.keys(n).map((function(t){return e[t].animationId}));if(Array.isArray(t)&&t.length>0){var i=[];t.forEach((function(e){return Object.keys(e).forEach((function(t){if(e[t]){var n=e[t].animationId;"number"==typeof n&&n%1==0&&i.push(n)}}))})),r=[].concat(h(r),i)}return r}t.component("Animation",{props:{tag:{type:String,default:"div"},playing:{type:Boolean,default:!1},actions:{type:Object,required:!0},props:Object},data:function(){return{style:{},animationIds:[],animationIdsMap:{},animationEventMap:{}}},watch:{playing:function(e,t){!t&&e?this.start():t&&!e&&this.pause()},actions:function(){var e=this;this.destroy(),this.create(),setTimeout((function(){var t=e.$attrs[st("actionsDidUpdate")];"function"==typeof t&&t()}))}},created:function(){this.animationEventMap={start:"animationstart",end:"animationend",repeat:"animationrepeat",cancel:"animationcancel"}},beforeMount:function(){this.create()},mounted:function(){var e=this;this.$props.playing&&setTimeout((function(){e.start()}),0)},beforeDestroy:function(){this.destroy()},deactivated:function(){this.pause()},activated:function(){this.resume()},methods:{create:function(){var e=this.$props.actions,t=e.transform,n=u(e,a);this.animationIdsMap={};var r=f(n,this.animationIdsMap);if(t){var i=f(t,this.animationIdsMap);r.transform=Object.keys(i).map((function(e){return{[e]:i[e]}}))}this.$alreadyStarted=!1,this.style=r},removeAnimationEvent:function(){var e=this;this.animationIds.forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);n&&Object.keys(e.animationEventMap).forEach((function(t){if("function"==typeof e.$attrs[st(t)]){var r=e.animationEventMap[t];r&&"function"==typeof e["".concat(r)]&&n.removeEventListener(r)}}))}))},addAnimationEvent:function(){var e=this;this.animationIds.forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);n&&Object.keys(e.animationEventMap).forEach((function(t){if("function"==typeof e.$attrs[st(t)]){var r=e.animationEventMap[t];r&&n.addEventListener(r,(function(){e.$emit(t)}))}}))}))},reset:function(){this.$alreadyStarted=!1},start:function(){var e=this;this.$alreadyStarted?this.resume():(this.animationIds=d(this.style),this.$alreadyStarted=!0,this.removeAnimationEvent(),this.addAnimationEvent(),this.animationIds.forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.start()})))},resume:function(){var e=this;d(this.style).forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.resume()}))},pause:function(){var e=this;this.$alreadyStarted&&d(this.style).forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.pause()}))},destroy:function(){var e=this;this.removeAnimationEvent(),this.$alreadyStarted=!1,d(this.style).forEach((function(t){var n=P.toRaw(e.animationIdsMap[t]);null==n||n.destroy()}))}},render:function(){return P.h(this.tag,w({useAnimation:!0,style:this.style,tag:this.$props.tag},this.$props.props),this.$slots.default?this.$slots.default():null)}})}(t),Bt("dialog",{component:{name:"Modal",defaultNativeProps:{transparent:!0,immersionStatusBar:!0,collapsable:!1,autoHideStatusBar:!1,autoHideNavigationBar:!1},defaultNativeStyle:{position:"absolute"}}}),function(e){var t=Pt.callUIFunction;[["Header","header"],["Footer","footer"]].forEach((function(n){var r=j(n,2),i=r[0],o=r[1];Bt("hi-pull-".concat(o),{component:{name:"Pull".concat(i,"View"),processEventData:function(e,t){var n=e.handler;switch(e.__evt){case"on".concat(i,"Released"):case"on".concat(i,"Pulling"):Object.assign(n,t)}return n}}}),e.component("pull-".concat(o),{methods:{["expandPull".concat(i)]:function(){t(this.$refs.instance,"expandPull".concat(i))},["collapsePull".concat(i)]:function(e){"Header"===i&&void 0!==e?t(this.$refs.instance,"collapsePull".concat(i,"WithOptions"),[e]):t(this.$refs.instance,"collapsePull".concat(i))},onLayout:function(e){this.$contentHeight=e.height},["on".concat(i,"Released")]:function(e){this.$emit("released",e)},["on".concat(i,"Pulling")]:function(e){e.contentOffset>this.$contentHeight?"pulling"!==this.$lastEvent&&(this.$lastEvent="pulling",this.$emit("pulling",e)):"idle"!==this.$lastEvent&&(this.$lastEvent="idle",this.$emit("idle",e))}},render:function(){var e=this.$attrs,t=e.onReleased,n=e.onPulling,r=e.onIdle,a={onLayout:this.onLayout};return"function"==typeof t&&(a["on".concat(i,"Released")]=this["on".concat(i,"Released")]),"function"!=typeof n&&"function"!=typeof r||(a["on".concat(i,"Pulling")]=this["on".concat(i,"Pulling")]),P.h("hi-pull-".concat(o),w(w({},a),{},{ref:"instance"}),this.$slots.default?this.$slots.default():null)}})}))}(t),function(e){Bt("hi-ul-refresh-wrapper",{component:{name:"RefreshWrapper"}}),Bt("hi-refresh-wrapper-item",{component:{name:"RefreshWrapperItemView"}}),e.component("UlRefreshWrapper",{props:{bounceTime:{type:Number,defaultValue:100}},methods:{startRefresh:function(){Pt.callUIFunction(this.$refs.refreshWrapper,"startRefresh",null)},refreshCompleted:function(){Pt.callUIFunction(this.$refs.refreshWrapper,"refreshComplected",null)}},render:function(){return P.h("hi-ul-refresh-wrapper",{ref:"refreshWrapper"},this.$slots.default?this.$slots.default():null)}}),e.component("UlRefresh",{render:function(){var e=P.h("div",null,this.$slots.default?this.$slots.default():null);return P.h("hi-refresh-wrapper-item",{style:{position:"absolute",left:0,right:0}},e)}})}(t),function(e){Bt("hi-waterfall",{component:{name:"WaterfallView",processEventData:function(e,t){var n=e.handler;switch(e.__evt){case"onExposureReport":n.exposureInfo=t.exposureInfo;break;case"onScroll":var r=t.startEdgePos,i=t.endEdgePos,o=t.firstVisibleRowIndex,a=t.lastVisibleRowIndex,u=t.visibleRowFrames;Object.assign(n,{startEdgePos:r,endEdgePos:i,firstVisibleRowIndex:o,lastVisibleRowIndex:a,visibleRowFrames:u})}return n}}}),Bt("hi-waterfall-item",{component:{name:"WaterfallItem"}}),e.component("Waterfall",{props:{numberOfColumns:{type:Number,default:2},contentInset:{type:Object,default:function(){return{top:0,left:0,bottom:0,right:0}}},columnSpacing:{type:Number,default:0},interItemSpacing:{type:Number,default:0},preloadItemNumber:{type:Number,default:0},containBannerView:{type:Boolean,default:!1},containPullHeader:{type:Boolean,default:!1},containPullFooter:{type:Boolean,default:!1}},methods:{call:function(e,t){Pt.callUIFunction(this.$refs.waterfall,e,t)},startRefresh:function(){this.call("startRefresh")},startRefreshWithType:function(e){this.call("startRefreshWithType",[e])},callExposureReport:function(){this.call("callExposureReport",[])},scrollToIndex:function(e){var t=e.index,n=void 0===t?0:t,r=e.animated,i=void 0===r||r;this.call("scrollToIndex",[n,n,i])},scrollToContentOffset:function(e){var t=e.xOffset,n=void 0===t?0:t,r=e.yOffset,i=void 0===r?0:r,o=e.animated,a=void 0===o||o;this.call("scrollToContentOffset",[n,i,a])},startLoadMore:function(){this.call("startLoadMore")}},render:function(){var e=lt.call(this,["headerReleased","headerPulling","endReached","exposureReport","initialListReady","scroll"]);return P.h("hi-waterfall",w(w({},e),{},{ref:"waterfall",numberOfColumns:this.numberOfColumns,contentInset:this.contentInset,columnSpacing:this.columnSpacing,interItemSpacing:this.interItemSpacing,preloadItemNumber:this.preloadItemNumber,containBannerView:this.containBannerView,containPullHeader:this.containPullHeader,containPullFooter:this.containPullFooter}),this.$slots.default?this.$slots.default():null)}}),e.component("WaterfallItem",{props:{type:{type:[String,Number],default:""},fullSpan:{type:Boolean,default:!1}},render:function(){return P.h("hi-waterfall-item",{type:this.type,fullSpan:this.fullSpan},this.$slots.default?this.$slots.default():null)}})}(t),function(e){Bt("hi-swiper",{component:{name:"ViewPager",processEventData:function(e,t){var n=e.handler;switch(e.__evt){case"onPageSelected":n.currentSlide=t.position;break;case"onPageScroll":n.nextSlide=t.position,n.offset=t.offset;break;case"onPageScrollStateChanged":n.state=t.pageScrollState}return n}}}),Bt("hi-swiper-slide",{component:{name:"ViewPagerItem",defaultNativeStyle:{position:"absolute",top:0,right:0,bottom:0,left:0}}}),e.component("Swiper",{props:{current:{type:Number,defaultValue:0},needAnimation:{type:Boolean,defaultValue:!0}},data:function(){return{$initialSlide:0}},watch:{current:function(e){this.$props.needAnimation?this.setSlide(e):this.setSlideWithoutAnimation(e)}},beforeMount:function(){this.$initialSlide=this.$props.current},methods:{setSlide:function(e){Pt.callUIFunction(this.$refs.swiper,"setPage",[e])},setSlideWithoutAnimation:function(e){Pt.callUIFunction(this.$refs.swiper,"setPageWithoutAnimation",[e])}},render:function(){var e=lt.call(this,[["dropped","pageSelected"],["dragging","pageScroll"],["stateChanged","pageScrollStateChanged"]]);return P.h("hi-swiper",w(w({},e),{},{ref:"swiper",initialPage:this.$data.$initialSlide}),this.$slots.default?this.$slots.default():null)}}),e.component("SwiperSlide",{render:function(){return P.h("hi-swiper-slide",{},this.$slots.default?this.$slots.default():null)}})}(t)}};var or=function(e){function t(e,n){var r;return g(this,t),(r=p(this,t,["comment",n])).text=e,r.data=e,r.isNeedInsertToNative=!1,r}return T(t,e),O(t)}(nr),ar=function(e){function t(){return g(this,t),p(this,t,arguments)}return T(t,e),O(t,[{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"textarea"===this.tagName?this.setAttribute("value",e,{notToNative:!!t.notToNative}):this.setAttribute("text",e,{notToNative:!!t.notToNative})}},{key:"getValue",value:(r=d(l().mark((function e(){var t=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){return Pt.callUIFunction(t,"getValue",(function(t){return e(t.text)}))})));case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"setValue",value:function(e){Pt.callUIFunction(this,"setValue",[e])}},{key:"focus",value:function(){Pt.callUIFunction(this,"focusTextInput",[])}},{key:"blur",value:function(){Pt.callUIFunction(this,"blurTextInput",[])}},{key:"clear",value:function(){Pt.callUIFunction(this,"clear",[])}},{key:"isFocused",value:(n=d(l().mark((function e(){var t=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){return Pt.callUIFunction(t,"isFocused",(function(t){return e(t.value)}))})));case 1:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})}]);var n,r}(nr),ur=function(e){function t(){return g(this,t),p(this,t,arguments)}return T(t,e),O(t,[{key:"scrollToIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Pt.callUIFunction(this,"scrollToIndex",[e,t,n])}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];"number"==typeof e&&"number"==typeof t&&Pt.callUIFunction(this,"scrollToContentOffset",[e,t,n])}}])}(nr),cr=function(e){function t(){return g(this,t),p(this,t,[Bn.DocumentNode])}return T(t,e),O(t,null,[{key:"createComment",value:function(e){return new or(e)}},{key:"createElement",value:function(e){switch(e){case"input":case"textarea":return new ar(e);case"ul":return new ur(e);default:return new nr(e)}}},{key:"createTextNode",value:function(e){return new Xn(e)}}])}(Jn);var sr={insert:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t.childNodes.indexOf(e)>=0?t.moveChild(e,n):t.insertBefore(e,n)},remove:function(e){var t=e.parentNode;t&&(t.removeChild(e),Pn(e))},setText:function(e,t){e.setText(t)},setElementText:function(e,t){e.setText(t)},createElement:function(e){return cr.createElement(e)},createComment:function(e){return cr.createComment(e)},createText:function(e){return cr.createTextNode(e)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},setScopeId:function(e,t){e.setStyleScope(t)}};var lr=/(?:Once|Passive|Capture)$/;function fr(e){var t,n=e,r={};if(lr.test(n))for(var i=n.match(lr);i;)n=n.slice(0,n.length-i[0].length),r[i[0].toLowerCase()]=!0,i=n.match(lr);return n=":"===n[2]?n.slice(3):n.slice(2),[(t=n,"".concat(t.charAt(0).toLowerCase()).concat(t.slice(1))),r]}function dr(e,t){var n=function e(n){P.callWithAsyncErrorHandling(e.value,t,P.ErrorCodes.NATIVE_EVENT_HANDLER,[n])};return n.value=e,n}function vr(e,t,n){var r=e,i={};if(!function(e,t,n){var r=!e,i=!t&&!n,o=JSON.stringify(t)===JSON.stringify(n);return r||i||o}(r,t,n))if(t&&!n)r.removeStyle();else{if(C.isString(n))throw new Error("Style is Not Object");n&&(Object.keys(n).forEach((function(e){var t=n[e];(function(e){return null==e})(t)||(i[P.camelize(e)]=t)})),r.removeStyle(!0),r.setStyles(i))}}function hr(e,t,n,r,i,o){switch(t){case"class":!function(e,t){var n=t;null===n&&(n=""),e.setAttribute("class",n)}(e,r);break;case"style":vr(e,n,r);break;default:C.isOn(t)?function(e,t,n,r){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e,u=null!==(i=a._vei)&&void 0!==i?i:a._vei={},c=u[t];if(r&&c)c.value=r;else{var s=fr(t),l=j(s,2),f=l[0],d=l[1];if(r){u[t]=dr(r,o);var v=u[t];a.addEventListener(f,v,d)}else a.removeEventListener(f,c,d),u[t]=void 0}}(e,t,n,r,o):function(e,t,n,r){null===r?e.removeAttribute(t):n!==r&&e.setAttribute(t,r)}(e,t,n,r)}}var pr=!1,yr=function(){return O((function e(t,n,r){var i=this;g(this,e),this.webSocketId=-1,this.protocol="",this.listeners={},this.url=t,this.readyState=0,this.webSocketCallbacks={},this.onWebSocketEvent=this.onWebSocketEvent.bind(this);var o=w({},r);if(pr||(pr=!0,Ye.$on("hippyWebsocketEvents",this.onWebSocketEvent)),!t)throw new TypeError("Invalid WebSocket url");Array.isArray(n)&&n.length>0?(this.protocol=n.join(","),o["Sec-WebSocket-Protocol"]=this.protocol):"string"==typeof n&&(this.protocol=n,o["Sec-WebSocket-Protocol"]=this.protocol);var a={headers:o,url:t};Pt.callNativeWithPromise("websocket","connect",a).then((function(e){e&&0===e.code&&(i.webSocketId=e.id)}))}),[{key:"close",value:function(e,t){1===this.readyState&&(this.readyState=2,Pt.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}},{key:"send",value:function(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: ".concat(k(e)));Pt.callNative("websocket","send",{id:this.webSocketId,data:e})}}},{key:"onopen",set:function(e){this.addEventListener("open",e)}},{key:"onclose",set:function(e){this.addEventListener("close",e)}},{key:"onerror",set:function(e){this.addEventListener("error",e)}},{key:"onmessage",set:function(e){this.addEventListener("message",e)}},{key:"onWebSocketEvent",value:function(e){if("object"===k(e)&&e.id===this.webSocketId){var t=e.type;if("string"==typeof t){"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,Ye.$off("hippyWebsocketEvents",this.onWebSocketEvent));var n=this.webSocketCallbacks[t];(null==n?void 0:n.length)&&n.forEach((function(t){C.isFunction(t)&&t(e.data)}))}}}},{key:"addEventListener",value:function(e,t){if(function(e){return-1!==["open","close","message","error"].indexOf(e)}(e)){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);var n=st(e);this.webSocketCallbacks[n]=this.listeners[e]}}}])}();function mr(e,t){var n=function(e){var t;if("comment"===e.name)return new or(e.props.text,e);if("Text"===e.name&&!e.tagName){var n=new Xn(e.props.text,e);return n.nodeType=Bn.TextNode,n.data=e.props.text,n}switch(e.tagName){case"input":case"textarea":return new ar(e.tagName,e);case"ul":return new ur(e.tagName,e);default:return new nr(null!==(t=e.tagName)&&void 0!==t?t:"",e)}}(e),r=t.filter((function(t){return t.pId===e.id})).sort((function(e,t){return e.index-t.index})),i=r.filter((function(e){return"comment"===e.name}));if(i.length){r=r.filter((function(e){return"comment"!==e.name}));for(var o=i.length-1;o>=0;o--)r.splice(i[o].index,0,i[o])}return r.forEach((function(e){n.appendChild(mr(e,t),!0)})),n}e.WebSocket=yr;var gr=['%c[Hippy-Vue-Next "unspecified"]%c',"color: #4fc08d; font-weight: bold","color: auto; font-weight: auto"];function br(e,t){if(Pt.isIOS()){var n=function(e){var t,n,r,i=e.iPhone;if((null==i?void 0:i.statusBar)&&(r=i.statusBar),null==r?void 0:r.disabled)return null;var o=new nr("div"),a=Pt.Dimensions.screen.statusBarHeight;Pt.screenIsVertical?o.setStyle("height",a):o.setStyle("height",0);var u=4282431619;if(Number.isInteger(u)&&(u=r.backgroundColor),o.setStyle("backgroundColor",u),"string"==typeof r.backgroundImage){var c=new nr("img");c.setStyle("width",Pt.Dimensions.screen.width),c.setStyle("height",a),c.setAttribute("src",null===(n=null===(t=e.iPhone)||void 0===t?void 0:t.statusBar)||void 0===n?void 0:n.backgroundImage),o.appendChild(c)}return o.addEventListener("layout",(function(){Pt.screenIsVertical?o.setStyle("height",a):o.setStyle("height",0)})),o}(e);if(n){var r=t.$el.parentNode;r.childNodes.length?r.insertBefore(n,r.childNodes[0]):r.appendChild(n)}}}var Or=function(e,t){var n,r,i,o,a=e,u=Boolean(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length);a.use(on),a.use(ir),"function"==typeof(null===(r=null==t?void 0:t.styleOptions)||void 0===r?void 0:r.beforeLoadStyle)&&(i=t.styleOptions.beforeLoadStyle,et=i),t.silent&&(o=t.silent,o),function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];Ke=e}(t.trimWhitespace);var c=a.mount;return a.mount=function(e){var n;mn("rootContainer",e);var r,i=(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length)?mr(j(r=t.ssrNodeList,1)[0],r):function(e){var t=cr.createElement("div");return t.id=e,t.style={display:"flex",flex:1},t}(e),o=c(i,u,!1);return mn("instance",o),u||br(t,o),o},a.$start=function(){var e=d(l().mark((function e(n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){Pt.hippyNativeRegister.regist(t.appName,(function(r){var i,o,u=r.__instanceId__;Ge.apply(void 0,gr.concat(["Start",t.appName,"with rootViewId",u,r]));var c,s=yn();(null==s?void 0:s.app)&&s.app.unmount(),c={rootViewId:u,superProps:r,app:a,ratioBaseWidth:null!==(o=null===(i=null==t?void 0:t.styleOptions)||void 0===i?void 0:i.ratioBaseWidth)&&void 0!==o?o:750},vn=c;var l={superProps:r,rootViewId:u};C.isFunction(n)?n(l):e(l)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a};t.BackAndroid=Dt,t.ContentSizeEvent=Sn,t.EventBus=Ye,t.ExposureEvent=Nn,t.FocusEvent=En,t.HIPPY_DEBUG_ADDRESS=We,t.HIPPY_GLOBAL_DISPOSE_STYLE_NAME="__HIPPY_VUE_DISPOSE_STYLES__",t.HIPPY_GLOBAL_STYLE_NAME="__HIPPY_VUE_STYLES__",t.HIPPY_STATIC_PROTOCOL="hpfile://",t.HIPPY_UNIQUE_ID_KEY="hippyUniqueId",t.HIPPY_VUE_VERSION="unspecified",t.HippyEvent=gn,t.HippyKeyboardEvent=wn,t.HippyLayoutEvent=On,t.HippyLoadResourceEvent=_n,t.HippyTouchEvent=bn,t.IS_PROD=!0,t.ListViewEvent=Tn,t.NATIVE_COMPONENT_MAP=ze,t.Native=Pt,t.ViewPagerEvent=kn,t._setBeforeRenderToNative=function(e,t){C.isFunction(e)&&(1===t?rt=e:console.error("_setBeforeRenderToNative API had changed, the hook function will be ignored!"))},t.createApp=function(e,t){var n=P.createRenderer(w({patchProp:hr},sr)).createApp(e);return Or(n,t)},t.createHippyApp=Or,t.createSSRApp=function(e,t){var n=P.createHydrationRenderer(w({patchProp:hr},sr)).createApp(e);return Or(n,t)},t.eventIsKeyboardEvent=xn,t.getCssMap=Be,t.getTagComponent=Ut,t.isNativeTag=function(e){return rr.includes(e)},t.parseCSS=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{source:0},n=1,r=1;function i(e){var t=e.match(/\n/g);t&&(n+=t.length);var i=e.lastIndexOf("\n");r=~i?e.length-i:r+e.length}function o(t){var n=t.exec(e);if(!n)return null;var r=n[0];return i(r),e=e.slice(r.length),n}function a(){o(/^\s*/)}function u(){return function(i){return i.position={start:{line:n,column:r},end:{line:n,column:r},source:t.source,content:e},a(),i}}var c=[];function s(i){var o=w(w({},new Error("".concat(t.source,":").concat(n,":").concat(r,": ").concat(i))),{},{reason:i,filename:t.source,line:n,column:r,source:e});if(!t.silent)throw o;c.push(o)}function l(){var t=u();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return null;for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)n+=1;if(n+=2,""===e.charAt(n-1))return s("End of comment missing");var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:"comment",comment:o})}function f(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t||[];e=l();)!1!==e&&n.push(e);return n}function d(){var t,n=[];for(a(),f(n);e.length&&"}"!==e.charAt(0)&&(t=M()||b());)t&&(n.push(t),f(n));return n}function v(){var e=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:c}}}function h(){return o(/^{\s*/)}function p(){return o(/^}/)}function y(){var e=o(/^([^{]+)/);return e?e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")})):null}function m(){var e=u(),t=o(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+])?)\s*/);if(!t)return null;if(t=t[0].trim(),!o(/^:\s*/))return s("property missing ':'");var n=t.replace(X,""),r=C.camelize(n),i=z[r]||r,a=o(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]{0,500}?\)|[^};])+)/),c=a?a[0].trim().replace(X,""):"";switch(i){case"backgroundImage":var l=j(re(i,c),2);i=l[0],c=l[1];break;case"transform":var f=/((\w+)\s*\()/,d=/(?:\(['"]?)(.*?)(?:['"]?\))/,v=c;c=[],v.split(" ").forEach((function(e){if(f.test(e)){var t,n,r=f.exec(e),i=d.exec(e);if(r)t=j(r,3)[2];if(i)n=j(i,2)[1];0===n.indexOf(".")&&(n="0".concat(n)),parseFloat(n).toString()===n&&(n=parseFloat(n));var o={};o[t]=n,c.push(o)}else s("missing '('")}));break;case"fontWeight":break;case"shadowOffset":var h=c.split(" ").filter((function(e){return e})).map((function(e){return ee(e)})),p=j(h,1)[0],y=j(h,2)[1];y||(y=p),c={x:p,y:y};break;case"collapsable":c=Boolean(c);break;default:c=Q(c);["top","left","right","bottom","height","width","size","padding","margin","ratio","radius","offset","spread"].find((function(e){return i.toLowerCase().indexOf(e)>-1}))&&(c=ee(c))}var m=e({type:"declaration",value:c,property:i});return o(/^[;\s]*/),m}function g(){var e,t=[];if(!h())return s("missing '{'");for(f(t);e=m();)!1!==e&&(Array.isArray(e)?t=t.concat(e):t.push(e),f(t));return p()?t:s("missing '}'")}function b(){var e=u(),t=y();return t?(f(),e({type:"rule",selectors:t,declarations:g()})):s("selector missing")}function O(){for(var e,t=[],n=u();e=o(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),o(/^,\s*/);return t.length?n({type:"keyframe",values:t,declarations:g()}):null}function _(){var e=u(),t=o(/^@([-\w]+)?keyframes\s*/);if(!t)return null;var n=t[1];if(!(t=o(/^([-\w]+)\s*/)))return s("@keyframes missing name");var r,i=t[1];if(!h())return s("@keyframes missing '{'");for(var a=f();r=O();)a.push(r),a=a.concat(f());return p()?e({type:"keyframes",name:i,vendor:n,keyframes:a}):s("@keyframes missing '}'")}function S(){var e=u(),t=o(/^@supports *([^{]+)/);if(!t)return null;var n=t[1].trim();if(!h())return s("@supports missing '{'");var r=f().concat(d());return p()?e({type:"supports",supports:n,rules:r}):s("@supports missing '}'")}function E(){var e=u();if(!o(/^@host\s*/))return null;if(!h())return s("@host missing '{'");var t=f().concat(d());return p()?e({type:"host",rules:t}):s("@host missing '}'")}function k(){var e=u(),t=o(/^@media *([^{]+)/);if(!t)return null;var n=t[1].trim();if(!h())return s("@media missing '{'");var r=f().concat(d());return p()?e({type:"media",media:n,rules:r}):s("@media missing '}'")}function N(){var e=u(),t=o(/^@custom-media\s+(--[^\s]+)\s*([^{;]{1,200}?);/);return t?e({type:"custom-media",name:t[1].trim(),media:t[2].trim()}):null}function T(){var e=u();if(!o(/^@page */))return null;var t=y()||[];if(!h())return s("@page missing '{'");for(var n,r=f();n=m();)r.push(n),r=r.concat(f());return p()?e({type:"page",selectors:t,declarations:r}):s("@page missing '}'")}function x(){var e=u(),t=o(/^@([-\w]+)?document *([^{]+)/);if(!t)return null;var n=t[1].trim(),r=t[2].trim();if(!h())return s("@document missing '{'");var i=f().concat(d());return p()?e({type:"document",document:r,vendor:n,rules:i}):s("@document missing '}'")}function A(){var e=u();if(!o(/^@font-face\s*/))return null;if(!h())return s("@font-face missing '{'");for(var t,n=f();t=m();)n.push(t),n=n.concat(f());return p()?e({type:"font-face",declarations:n}):s("@font-face missing '}'")}function I(e){var t=new RegExp("^@".concat(e,"\\s*([^;]+);"));return function(){var n=u(),r=o(t);if(!r)return null;var i={type:e};return i[e]=r[1].trim(),n(i)}}var P=I("import"),R=I("charset"),L=I("namespace");function M(){return"@"!==e[0]?null:_()||k()||N()||S()||P()||R()||L()||x()||T()||E()||A()}return ie(v(),null)},t.registerElement=Bt,t.setScreenSize=function(t){var n;if(t.width&&t.height){var r=(null===(n=null==e?void 0:e.Hippy)||void 0===n?void 0:n.device).screen;r&&(r.width=t.width,r.height=t.height)}},t.translateColor=W}).call(this,n(2),n(6))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&v())}function v(){if(!l){var e=u(d);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f1)for(var n=1;n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n122||e.charCodeAt(2)<97)},h=function(e){return e.startsWith("onUpdate:")},y=Object.assign,m=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},g=Object.prototype.hasOwnProperty,b=function(e,t){return g.call(e,t)},O=Array.isArray,_=function(e){return"[object Map]"===I(e)},w=function(e){return"[object Set]"===I(e)},S=function(e){return"[object Date]"===I(e)},E=function(e){return"[object RegExp]"===I(e)},k=function(e){return"function"==typeof e},N=function(e){return"string"==typeof e},x=function(e){return"symbol"===u(e)},j=function(e){return null!==e&&"object"===u(e)},T=function(e){return(j(e)||k(e))&&k(e.then)&&k(e.catch)},A=Object.prototype.toString,I=function(e){return A.call(e)},C=function(e){return I(e).slice(8,-1)},P=function(e){return"[object Object]"===I(e)},R=function(e){return N(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},L=c(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),M=c("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),F=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},D=/-(\w)/g,V=F((function(e){return e.replace(D,(function(e,t){return t?t.toUpperCase():""}))})),B=/\B([A-Z])/g,U=F((function(e){return e.replace(B,"-$1").toLowerCase()})),H=F((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),$=F((function(e){return e?"on".concat(H(e)):""})),Y=function(e,t){return!Object.is(e,t)},W=function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=e.split(/(\r?\n)/),i=r.filter((function(e,t){return t%2==1}));r=r.filter((function(e,t){return t%2==0}));for(var o=0,a=[],u=0;u=t){for(var c=u-2;c<=u+2||n>o;c++)if(!(c<0||c>=r.length)){var s=c+1;a.push("".concat(s).concat(" ".repeat(Math.max(3-String(s).length,0)),"| ").concat(r[c]));var l=r[c].length,f=i[c]&&i[c].length||0;if(c===u){var d=t-(o-(l+f)),p=Math.max(1,n>o?l-d:n-t);a.push(" | "+" ".repeat(d)+"^".repeat(p))}else if(c>u){if(n>o){var v=Math.max(Math.min(n-o,l),1);a.push(" | "+"^".repeat(v))}o+=l+f}}break}return a.join("\n")}function ae(e){if(O(e)){for(var t={},n=0;n1&&(t[n[0].trim()]=n[1].trim())}})),t}function fe(e){var t="";if(!e||N(e))return t;for(var n in e){var r=e[n],i=n.startsWith("--")?n:U(n);(N(r)||"number"==typeof r)&&(t+="".concat(i,":").concat(r,";"))}return t}function de(e){var t="";if(N(e))t=e;else if(O(e))for(var n=0;n/="'\u0009\u000a\u000c\u0020]/,Se={};function Ee(e){if(Se.hasOwnProperty(e))return Se[e];var t=we.test(e);return t&&console.error("unsafe attribute name: ".concat(e)),Se[e]=!t}var ke={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Ne=c("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"),xe=c("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");function je(e){if(null==e)return!1;var t=u(e);return"string"===t||"number"===t||"boolean"===t}var Te=/["'&<>]/;function Ae(e){var t=""+e,n=Te.exec(t);if(!n)return t;var r,i,o="",a=0;for(i=n.index;i||--!>|"]=a,e}),{})}:w(n)?{["Set(".concat(n.size,")")]:i(n.values()).map((function(e){return Fe(e)}))}:x(n)?Fe(n):!j(n)||O(n)||P(n)?n:String(n)},Fe=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return x(e)?"Symbol(".concat(null!=(t=e.description)?t:n,")"):e}}.call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/process/browser.js":function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&p())}function p(){if(!l){var e=u(d);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f1)for(var n=1;n1?o-1:0),u=1;u")})).join("\n"),i]);else{var s,l=["[Vue warn]: ".concat(e)].concat(a);i.length&&l.push.apply(l,["\n"].concat(c(p(i)))),(s=console).warn.apply(s,c(l))}Object(r.resetTracking)(),d=!1}}function h(){var e=f[f.length-1];if(!e)return[];for(var t=[];e;){var n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});var r=e.component&&e.component.parent;e=r&&r.vnode}return t}function p(e){var t=[];return e.forEach((function(e,n){var o,a,u,s,l,f,d,v,h,p;t.push.apply(t,c(0===n?[]:["\n"]).concat(c((l=(s=e).vnode,f=s.recurseCount,d=f>0?"... (".concat(f," recursive calls)"):"",v=!!l.component&&null==l.component.parent,h=" at <".concat(ii(l.component,l.type,v)),p=">"+d,l.props?[h].concat(c((o=l.props,a=[],(u=Object.keys(o)).slice(0,3).forEach((function(e){a.push.apply(a,c(function e(t,n,o){return Object(i.isString)(n)?(n=JSON.stringify(n),o?n:["".concat(t,"=").concat(n)]):"number"==typeof n||"boolean"==typeof n||null==n?o?n:["".concat(t,"=").concat(n)]:Object(r.isRef)(n)?(n=e(t,Object(r.toRaw)(n.value),!0),o?n:["".concat(t,"=Ref<"),n,">"]):Object(i.isFunction)(n)?["".concat(t,"=fn").concat(n.name?"<".concat(n.name,">"):"")]:(n=Object(r.toRaw)(n),o?n:["".concat(t,"="),n])}(e,o[e])))})),u.length>3&&a.push(" ..."),a)),[p]):[h+p]))))})),t}function y(e,t){}var m={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},g={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function b(e,t,n,r){try{return r?e.apply(void 0,c(r)):e()}catch(e){_(e,t,n)}}function O(e,t,n,r){if(Object(i.isFunction)(e)){var o=b(e,t,n,r);return o&&Object(i.isPromise)(o)&&o.catch((function(e){_(e,t,n)})),o}if(Object(i.isArray)(e)){for(var a=[],u=0;u3&&void 0!==arguments[3])||arguments[3],o=t?t.vnode:null;if(t){for(var a=t.parent,u=t.proxy,c="https://vuejs.org/error-reference/#runtime-".concat(n);a;){var s=a.ec;if(s)for(var l=0;l>>1,i=k[r],o=D(i);o2&&void 0!==arguments[2]?arguments[2]:S?N+1:0;for(0;n1&&void 0!==arguments[1]?arguments[1]:$;if(!t)return e;if(e._n)return e;var n=function n(){n._d&&sr(-1);var r,i=W(t);try{r=e.apply(void 0,arguments)}finally{W(i),n._d&&sr(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function J(e,t){if(null===$)return e;for(var n=ei($),r=e.dirs||(e.dirs=[]),o=0;o1){var c,s=o(t);try{for(s.s();!(c=s.n()).done;){var l=c.value;if(l.type!==nr){0,u=l,!0;break}}}catch(e){s.e(e)}finally{s.f()}}var f=Object(r.toRaw)(e),d=f.mode;if(a.isLeaving)return ae(u);var v=ue(u);if(!v)return ae(u);var h=oe(v,f,a,i,(function(e){return h=e}));ce(v,h);var p=i.subTree,y=p&&ue(p);if(y&&y.type!==nr&&!hr(v,y)&&function e(t){var n=t.subTree;return n.component?e(n.component):n}(i).type!==nr){var m=oe(y,f,a,i);if(ce(y,m),"out-in"===d&&v.type!==nr)return a.isLeaving=!0,m.afterLeave=function(){a.isLeaving=!1,!1!==i.update.active&&(i.effect.dirty=!0,i.update())},ae(u);"in-out"===d&&v.type!==nr&&(m.delayLeave=function(e,t,n){ie(a,y)[String(y.key)]=y,e[Z]=function(){t(),e[Z]=void 0,delete h.delayedLeave},h.delayedLeave=n})}return u}}}};function ie(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function oe(e,t,n,r,o){var a=t.appear,u=t.mode,c=t.persisted,s=void 0!==c&&c,l=t.onBeforeEnter,f=t.onEnter,d=t.onAfterEnter,v=t.onEnterCancelled,h=t.onBeforeLeave,p=t.onLeave,y=t.onAfterLeave,m=t.onLeaveCancelled,g=t.onBeforeAppear,b=t.onAppear,_=t.onAfterAppear,w=t.onAppearCancelled,S=String(e.key),E=ie(n,e),k=function(e,t){e&&O(e,r,9,t)},N=function(e,t){var n=t[1];k(e,t),Object(i.isArray)(e)?e.every((function(e){return e.length<=1}))&&n():e.length<=1&&n()},T={mode:u,persisted:s,beforeEnter:function(t){var r=l;if(!n.isMounted){if(!a)return;r=g||l}t[Z]&&t[Z](!0);var i=E[S];i&&hr(e,i)&&i.el[Z]&&i.el[Z](),k(r,[t])},enter:function(e){var t=f,r=d,i=v;if(!n.isMounted){if(!a)return;t=b||f,r=_||d,i=w||v}var o=!1,u=e[Q]=function(t){o||(o=!0,k(t?i:r,[e]),T.delayedLeave&&T.delayedLeave(),e[Q]=void 0)};t?N(t,[e,u]):u()},leave:function(t,r){var i=String(e.key);if(t[Q]&&t[Q](!0),n.isUnmounting)return r();k(h,[t]);var o=!1,a=t[Z]=function(n){o||(o=!0,r(),k(n?m:y,[t]),t[Z]=void 0,E[i]===e&&delete E[i])};E[i]=e,p?N(p,[t,a]):a()},clone:function(e){var i=oe(e,t,n,r,o);return o&&o(i),i}};return T}function ae(e){if(he(e))return(e=wr(e)).children=null,e}function ue(e){if(!he(e))return e;var t=e.shapeFlag,n=e.children;if(n){if(16&t)return n[0];if(32&t&&Object(i.isFunction)(n.default))return n.default()}}function ce(e,t){6&e.shapeFlag&&e.component?ce(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function se(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=[],i=0,o=0;o1)for(var c=0;c1)return s=null,t;if(!(vr(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return s=null,r;var i=we(r),o=i.type,a=ri(fe(i)?i.type.__asyncResolved||{}:o),l=e.include,f=e.exclude,d=e.max;if(l&&(!a||!ye(l,a))||f&&a&&ye(f,a))return s=i,r;var v=null==i.key?o:i.key,h=u.get(v);return i.el&&(i=wr(i),128&r.shapeFlag&&(r.ssContent=i)),b=v,h?(i.el=h.el,i.component=h.component,i.transition&&ce(i,i.transition),i.shapeFlag|=512,c.delete(v),c.add(v)):(c.add(v),d&&c.size>parseInt(d,10)&&g(c.values().next().value)),i.shapeFlag|=256,s=i,Wn(r.type)?r:i}}};function ye(e,t){return Object(i.isArray)(e)?e.some((function(e){return ye(e,t)})):Object(i.isString)(e)?e.split(",").includes(t):!!Object(i.isRegExp)(e)&&e.test(t)}function me(e,t){be(e,"a",t)}function ge(e,t){be(e,"da",t)}function be(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Mr,r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Se(t,r,n),n)for(var i=n.parent;i&&i.parent;)he(i.parent.vnode)&&Oe(r,t,n,i),i=i.parent}function Oe(e,t,n,r){var o=Se(t,e,r,!0);Ae((function(){Object(i.remove)(r[t],o)}),n)}function _e(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function we(e){return 128&e.shapeFlag?e.ssContent:e}function Se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Mr,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){var o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=function(){Object(r.pauseTracking)();for(var i=Br(n),o=arguments.length,a=new Array(o),u=0;u1&&void 0!==arguments[1]?arguments[1]:Mr;Wr&&"sp"!==e||Se(e,(function(){return t.apply(void 0,arguments)}),n)}},ke=Ee("bm"),Ne=Ee("m"),Te=Ee("bu"),xe=Ee("u"),je=Ee("bum"),Ae=Ee("um"),Ie=Ee("sp"),Ce=Ee("rtg"),Pe=Ee("rtc");function Re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Mr;Se("ec",e,t)}function Le(e,t){return Ve("components",e,!0,t)||e}var Me=Symbol.for("v-ndc");function Fe(e){return Object(i.isString)(e)?Ve("components",e,!1)||e:e||Me}function De(e){return Ve("directives",e)}function Ve(e,t){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=$||Mr;if(r){var o=r.type;if("components"===e){var a=ri(o,!1);if(a&&(a===t||a===Object(i.camelize)(t)||a===Object(i.capitalize)(Object(i.camelize)(t))))return o}var u=Be(r[e]||o[e],t)||Be(r.appContext[e],t);return!u&&n?o:u}}function Be(e,t){return e&&(e[t]||e[Object(i.camelize)(t)]||e[Object(i.capitalize)(Object(i.camelize)(t))])}function Ue(e,t,n,r){var o,a=n&&n[r];if(Object(i.isArray)(e)||Object(i.isString)(e)){o=new Array(e.length);for(var u=0,c=e.length;u2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if($.isCE||$.parent&&fe($.parent)&&$.parent.isCE)return"default"!==t&&(n.name=t),br("slot",n,r&&r());var o=e[t];o&&o._c&&(o._d=!1),ar();var a=o&&Ye(o(n)),u=dr(er,{key:(n.key||a&&a.key||"_".concat(t))+(!a&&r?"_fb":"")},a||(r?r():[]),a&&1===e._?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function Ye(e){return e.some((function(e){return!vr(e)||e.type!==nr&&!(e.type===er&&!Ye(e.children))}))?e:null}function We(e,t){var n={};for(var r in e)n[t&&/[A-Z]/.test(r)?"on:".concat(r):Object(i.toHandlerKey)(r)]=e[r];return n}var ze=function e(t){return t?Hr(t)?ei(t):e(t.parent):null},Ke=Object(i.extend)(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return ze(e.parent)},$root:function(e){return ze(e.root)},$emit:function(e){return e.emit},$options:function(e){return __VUE_OPTIONS_API__?yt(e):e.type},$forceUpdate:function(e){return e.f||(e.f=function(){e.effect.dirty=!0,P(e.update)})},$nextTick:function(e){return e.n||(e.n=C.bind(e.proxy))},$watch:function(e){return __VUE_OPTIONS_API__?In.bind(e):i.NOOP}}),Ge=function(e,t){return e!==i.EMPTY_OBJ&&!e.__isScriptSetup&&Object(i.hasOwn)(e,t)},qe={get:function(e,t){var n=e._;if("__v_skip"===t)return!0;var o,a=n.ctx,u=n.setupState,c=n.data,s=n.props,l=n.accessCache,f=n.type,d=n.appContext;if("$"!==t[0]){var v=l[t];if(void 0!==v)switch(v){case 1:return u[t];case 2:return c[t];case 4:return a[t];case 3:return s[t]}else{if(Ge(u,t))return l[t]=1,u[t];if(c!==i.EMPTY_OBJ&&Object(i.hasOwn)(c,t))return l[t]=2,c[t];if((o=n.propsOptions[0])&&Object(i.hasOwn)(o,t))return l[t]=3,s[t];if(a!==i.EMPTY_OBJ&&Object(i.hasOwn)(a,t))return l[t]=4,a[t];__VUE_OPTIONS_API__&&!dt||(l[t]=0)}}var h,p,y=Ke[t];return y?("$attrs"===t&&Object(r.track)(n.attrs,"get",""),y(n)):(h=f.__cssModules)&&(h=h[t])?h:a!==i.EMPTY_OBJ&&Object(i.hasOwn)(a,t)?(l[t]=4,a[t]):(p=d.config.globalProperties,Object(i.hasOwn)(p,t)?p[t]:void 0)},set:function(e,t,n){var r=e._,o=r.data,a=r.setupState,u=r.ctx;return Ge(a,t)?(a[t]=n,!0):o!==i.EMPTY_OBJ&&Object(i.hasOwn)(o,t)?(o[t]=n,!0):!Object(i.hasOwn)(r.props,t)&&(("$"!==t[0]||!(t.slice(1)in r))&&(u[t]=n,!0))},has:function(e,t){var n,r=e._,o=r.data,a=r.setupState,u=r.accessCache,c=r.ctx,s=r.appContext,l=r.propsOptions;return!!u[t]||o!==i.EMPTY_OBJ&&Object(i.hasOwn)(o,t)||Ge(a,t)||(n=l[0])&&Object(i.hasOwn)(n,t)||Object(i.hasOwn)(c,t)||Object(i.hasOwn)(Ke,t)||Object(i.hasOwn)(s.config.globalProperties,t)},defineProperty:function(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(i.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};var Je=Object(i.extend)({},qe,{get:function(e,t){if(t!==Symbol.unscopables)return qe.get(e,t,e)},has:function(e,t){var n="_"!==t[0]&&!Object(i.isGloballyAllowed)(t);return n}});function Xe(){return null}function Ze(){return null}function Qe(e){0}function et(e){0}function tt(){return null}function nt(){0}function rt(e,t){return null}function it(){return at().slots}function ot(){return at().attrs}function at(){var e=Fr();return e.setupContext||(e.setupContext=Qr(e))}function ut(e){return Object(i.isArray)(e)?e.reduce((function(e,t){return e[t]=null,e}),{}):e}function ct(e,t){var n=ut(e);for(var r in t)if(!r.startsWith("__skip")){var o=n[r];o?Object(i.isArray)(o)||Object(i.isFunction)(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:null===o&&(o=n[r]={default:t[r]}),o&&t["__skip_".concat(r)]&&(o.skipFactory=!0)}return n}function st(e,t){return e&&t?Object(i.isArray)(e)&&Object(i.isArray)(t)?e.concat(t):Object(i.extend)({},ut(e),ut(t)):e||t}function lt(e,t){var n={},r=function(r){t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:function(){return e[r]}})};for(var i in e)r(i);return n}function ft(e){var t=Fr();var n=e();return Ur(),Object(i.isPromise)(n)&&(n=n.catch((function(e){throw Br(t),e}))),[n,function(){return Br(t)}]}var dt=!0;function vt(e){var t=yt(e),n=e.proxy,o=e.ctx;dt=!1,t.beforeCreate&&ht(t.beforeCreate,e,"bc");var a=t.data,u=t.computed,c=t.methods,s=t.watch,l=t.provide,f=t.inject,d=t.created,v=t.beforeMount,h=t.mounted,p=t.beforeUpdate,y=t.updated,m=t.activated,g=t.deactivated,b=(t.beforeDestroy,t.beforeUnmount),O=(t.destroyed,t.unmounted),_=t.render,w=t.renderTracked,S=t.renderTriggered,E=t.errorCaptured,k=t.serverPrefetch,N=t.expose,T=t.inheritAttrs,x=t.components,j=t.directives;t.filters;if(f&&function(e,t){arguments.length>2&&void 0!==arguments[2]||i.NOOP;Object(i.isArray)(e)&&(e=Ot(e));var n=function(){var n,a=e[o];n=Object(i.isObject)(a)?"default"in a?jt(a.from||o,a.default,!0):jt(a.from||o):jt(a),Object(r.isRef)(n)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:function(){return n.value},set:function(e){return n.value=e}}):t[o]=n};for(var o in e)n()}(f,o,null),c)for(var A in c){var I=c[A];Object(i.isFunction)(I)&&(o[A]=I.bind(n))}if(a){0;var C=a.call(n,n);if(Object(i.isObject)(C))e.data=Object(r.reactive)(C);else;}if(dt=!0,u){var P=function(e){var t=u[e],r=Object(i.isFunction)(t)?t.bind(n,n):Object(i.isFunction)(t.get)?t.get.bind(n,n):i.NOOP;var a=!Object(i.isFunction)(t)&&Object(i.isFunction)(t.set)?t.set.bind(n):i.NOOP,c=ai({get:r,set:a});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:function(){return c.value},set:function(e){return c.value=e}})};for(var R in u)P(R)}if(s)for(var L in s)pt(s[L],o,n,L);if(l){var M=Object(i.isFunction)(l)?l.call(n):l;Reflect.ownKeys(M).forEach((function(e){xt(e,M[e])}))}function F(e,t){Object(i.isArray)(t)?t.forEach((function(t){return e(t.bind(n))})):t&&e(t.bind(n))}if(d&&ht(d,e,"c"),F(ke,v),F(Ne,h),F(Te,p),F(xe,y),F(me,m),F(ge,g),F(Re,E),F(Pe,w),F(Ce,S),F(je,b),F(Ae,O),F(Ie,k),Object(i.isArray)(N))if(N.length){var D=e.exposed||(e.exposed={});N.forEach((function(e){Object.defineProperty(D,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})}))}else e.exposed||(e.exposed={});_&&e.render===i.NOOP&&(e.render=_),null!=T&&(e.inheritAttrs=T),x&&(e.components=x),j&&(e.directives=j)}function ht(e,t,n){O(Object(i.isArray)(e)?e.map((function(e){return e.bind(t.proxy)})):e.bind(t.proxy),t,n)}function pt(e,t,n,r){var o=r.includes(".")?Cn(n,r):function(){return n[r]};if(Object(i.isString)(e)){var a=t[e];Object(i.isFunction)(a)&&jn(o,a)}else if(Object(i.isFunction)(e))jn(o,e.bind(n));else if(Object(i.isObject)(e))if(Object(i.isArray)(e))e.forEach((function(e){return pt(e,t,n,r)}));else{var u=Object(i.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];Object(i.isFunction)(u)&&jn(o,u,e)}else 0}function yt(e){var t,n=e.type,r=n.mixins,o=n.extends,a=e.appContext,u=a.mixins,c=a.optionsCache,s=a.config.optionMergeStrategies,l=c.get(n);return l?t=l:u.length||r||o?(t={},u.length&&u.forEach((function(e){return mt(t,e,s,!0)})),mt(t,n,s)):t=n,Object(i.isObject)(n)&&c.set(n,t),t}function mt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=t.mixins,o=t.extends;for(var a in o&&mt(e,o,n,!0),i&&i.forEach((function(t){return mt(e,t,n,!0)})),t)if(r&&"expose"===a);else{var u=gt[a]||n&&n[a];e[a]=u?u(e[a],t[a]):t[a]}return e}var gt={data:bt,props:St,emits:St,methods:wt,computed:wt,beforeCreate:_t,created:_t,beforeMount:_t,mounted:_t,beforeUpdate:_t,updated:_t,beforeDestroy:_t,beforeUnmount:_t,destroyed:_t,unmounted:_t,activated:_t,deactivated:_t,errorCaptured:_t,serverPrefetch:_t,components:wt,directives:wt,watch:function(e,t){if(!e)return t;if(!t)return e;var n=Object(i.extend)(Object.create(null),e);for(var r in t)n[r]=_t(e[r],t[r]);return n},provide:bt,inject:function(e,t){return wt(Ot(e),Ot(t))}};function bt(e,t){return t?e?function(){return Object(i.extend)(Object(i.isFunction)(e)?e.call(this,this):e,Object(i.isFunction)(t)?t.call(this,this):t)}:t:e}function Ot(e){if(Object(i.isArray)(e)){for(var t={},n=0;n1&&void 0!==arguments[1]?arguments[1]:null;Object(i.isFunction)(n)||(n=Object(i.extend)({},n)),null==r||Object(i.isObject)(r)||(r=null);var o=Et(),a=new WeakSet,u=!1,c=o.app={_uid:kt++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:fi,get config(){return o.config},set config(e){0},use:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]&&arguments[2],r=Mr||$;if(r||Tt){var o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Tt._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Object(i.isFunction)(t)?t.call(r&&r.proxy):t}else 0}function At(){return!!(Mr||$||Tt)}var It={},Ct=function(){return Object.create(It)},Pt=function(e){return Object.getPrototypeOf(e)===It};function Rt(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o={},a=Ct();for(var u in e.propsDefaults=Object.create(null),Lt(e,t,o,a),e.propsOptions[0])u in o||(o[u]=void 0);n?e.props=i?o:Object(r.shallowReactive)(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Lt(e,t,n,o){var u,c=a(e.propsOptions,2),s=c[0],l=c[1],f=!1;if(t)for(var d in t)if(!Object(i.isReservedProp)(d)){var v=t[d],h=void 0;s&&Object(i.hasOwn)(s,h=Object(i.camelize)(d))?l&&l.includes(h)?(u||(u={}))[h]=v:n[h]=v:Dn(e.emitsOptions,d)||d in o&&v===o[d]||(o[d]=v,f=!0)}if(l)for(var p=Object(r.toRaw)(n),y=u||i.EMPTY_OBJ,m=0;m2&&void 0!==arguments[2]&&arguments[2],r=__VUE_OPTIONS_API__&&n?Ft:t.propsCache,o=r.get(e);if(o)return o;var u=e.props,s={},l=[],f=!1;if(__VUE_OPTIONS_API__&&!Object(i.isFunction)(e)){var d=function(e){f=!0;var n=a(Dt(e,t,!0),2),r=n[0],o=n[1];Object(i.extend)(s,r),o&&l.push.apply(l,c(o))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!u&&!f)return Object(i.isObject)(e)&&r.set(e,i.EMPTY_ARR),i.EMPTY_ARR;if(Object(i.isArray)(u))for(var v=0;v-1,g[1]=O<0||b-1||Object(i.hasOwn)(g,"default"))&&l.push(y)}}}var _=[s,l];return Object(i.isObject)(e)&&r.set(e,_),_}function Vt(e){return"$"!==e[0]&&!Object(i.isReservedProp)(e)}function Bt(e){return null===e?"null":"function"==typeof e?e.name||"":"object"===u(e)&&e.constructor&&e.constructor.name||""}function Ut(e,t){return Bt(e)===Bt(t)}function Ht(e,t){return Object(i.isArray)(t)?t.findIndex((function(t){return Ut(t,e)})):Object(i.isFunction)(t)&&Ut(t,e)?0:-1}var $t=function(e){return"_"===e[0]||"$stable"===e},Yt=function(e){return Object(i.isArray)(e)?e.map(Nr):[Nr(e)]},Wt=function(e,t,n){var r=e._ctx,o=function(){if($t(a))return 1;var n=e[a];if(Object(i.isFunction)(n))t[a]=function(e,t,n){if(t._n)return t;var r=q((function(){return Yt(t.apply(void 0,arguments))}),n);return r._c=!1,r}(0,n,r);else if(null!=n){0;var o=Yt(n);t[a]=function(){return o}}};for(var a in e)o()},zt=function(e,t){var n=Yt(t);e.slots.default=function(){return n}},Kt=function(e,t,n){for(var r in t)(n||"_"!==r)&&(e[r]=t[r])},Gt=function(e,t,n){var r=e.slots=Ct();if(32&e.vnode.shapeFlag){var o=t._;o?(Kt(r,t,n),n&&Object(i.def)(r,"_",o,!0)):Wt(t,r)}else t&&zt(e,t)};function qt(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Object(i.isArray)(e))e.forEach((function(e,r){return qt(e,t&&(Object(i.isArray)(t)?t[r]:t),n,o,a)}));else if(!fe(o)||a){var u=4&o.shapeFlag?ei(o.component):o.el,c=a?null:u,s=e.i,l=e.r;0;var f=t&&t.r,d=s.refs===i.EMPTY_OBJ?s.refs={}:s.refs,v=s.setupState;if(null!=f&&f!==l&&(Object(i.isString)(f)?(d[f]=null,Object(i.hasOwn)(v,f)&&(v[f]=null)):Object(r.isRef)(f)&&(f.value=null)),Object(i.isFunction)(l))b(l,s,12,[c,d]);else{var h=Object(i.isString)(l),p=Object(r.isRef)(l);if(h||p){var y=function(){if(e.f){var t=h?Object(i.hasOwn)(v,l)?v[l]:d[l]:l.value;a?Object(i.isArray)(t)&&Object(i.remove)(t,u):Object(i.isArray)(t)?t.includes(u)||t.push(u):h?(d[l]=[u],Object(i.hasOwn)(v,l)&&(v[l]=d[l])):(l.value=[u],e.k&&(d[e.k]=l.value))}else h?(d[l]=c,Object(i.hasOwn)(v,l)&&(v[l]=c)):p&&(l.value=c,e.k&&(d[e.k]=c))};c?(y.id=-1,hn(y,n)):y()}else 0}}}var Jt=Symbol("_vte"),Xt=function(e){return e.__isTeleport},Zt=function(e){return e&&(e.disabled||""===e.disabled)},Qt=function(e){return"undefined"!=typeof SVGElement&&e instanceof SVGElement},en=function(e){return"function"==typeof MathMLElement&&e instanceof MathMLElement},tn=function(e,t){var n=e&&e.to;return Object(i.isString)(n)?t?t(n):null:n};function nn(e,t,n,r){var i=r.o.insert,o=r.m,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2;0===a&&i(e.targetAnchor,t,n);var u=e.el,c=e.anchor,s=e.shapeFlag,l=e.children,f=e.props,d=2===a;if(d&&i(u,t,n),(!d||Zt(f))&&16&s)for(var v=0;v5&&void 0!==arguments[5]&&arguments[5];h=h||!!i.dynamicChildren;var p=sn(r)&&"["===r.data,S=function(){return b(r,i,o,a,f,p)},E=i.type,k=i.ref,N=i.shapeFlag,T=i.patchFlag,x=r.nodeType;i.el=r,-2===T&&(h=!1,i.dynamicChildren=null);var j=null;switch(E){case tr:3!==x?""===i.children?(d(i.el=c(""),l(r),r),j=r):j=S():(r.data!==i.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&v("Hydration text mismatch in",r.parentNode,"\n - rendered on server: ".concat(JSON.stringify(r.data),"\n - expected on client: ").concat(JSON.stringify(i.children))),un(),r.data=i.children),j=s(r));break;case nr:w(r)?(j=s(r),_(i.el=r.content.firstChild,r,o)):j=8!==x||p?S():s(r);break;case rr:if(p&&(x=(r=s(r)).nodeType),1===x||3===x){j=r;for(var A=!i.children.length,I=0;I1&&void 0!==arguments[1]?arguments[1]:"[",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"]",r=0;e;)if((e=s(e))&&sn(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return s(e);r--}return e},_=function(e,t,n){var r=t.parentNode;r&&r.replaceChild(e,t);for(var i=n;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},w=function(e){return 1===e.nodeType&&"template"===e.tagName.toLowerCase()};return[function(e,t){if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&v("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),F(),void(t._vnode=e);p(t.firstChild,e,null,null,null),F(),t._vnode=e},p]}function fn(e,t,n,r,u){var c,s,l,f;if("class"===t)l=e.getAttribute("class"),f=Object(i.normalizeClass)(n),function(e,t){if(e.size!==t.size)return!1;var n,r=o(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(!t.has(i))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}(dn(l||""),dn(f))||(c=s="class");else if("style"===t){l=e.getAttribute("style")||"",f=Object(i.isString)(n)?n:Object(i.stringifyStyle)(Object(i.normalizeStyle)(n));var d=vn(l),h=vn(f);if(r.dirs){var p,y=o(r.dirs);try{for(y.s();!(p=y.n()).done;){var m=p.value,g=m.dir,b=m.value;"show"!==g.name||b||h.set("display","none")}}catch(e){y.e(e)}finally{y.f()}}u&&function e(t,n,r){var i=t.subTree;if(t.getCssVars&&(n===i||i&&i.type===er&&i.children.includes(n))){var o=t.getCssVars();for(var a in o)r.set("--".concat(a),String(o[a]))}n===i&&t.parent&&e(t.parent,t.vnode,r)}(u,r,h),function(e,t){if(e.size!==t.size)return!1;var n,r=o(e);try{for(r.s();!(n=r.n()).done;){var i=a(n.value,2),u=i[0];if(i[1]!==t.get(u))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}(d,h)||(c=s="style")}else(e instanceof SVGElement&&Object(i.isKnownSvgAttr)(t)||e instanceof HTMLElement&&(Object(i.isBooleanAttr)(t)||Object(i.isKnownHtmlAttr)(t)))&&(Object(i.isBooleanAttr)(t)?(l=e.hasAttribute(t),f=Object(i.includeBooleanAttr)(n)):null==n?(l=e.hasAttribute(t),f=!1):(l=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,f=!!Object(i.isRenderableAttrValue)(n)&&String(n)),l!==f&&(c="attribute",s=t));if(c){var O=function(e){return!1===e?"(not rendered)":"".concat(s,'="').concat(e,'"')};return v("Hydration ".concat(c," mismatch on"),e,"\n - rendered on server: ".concat(O(l),"\n - expected on client: ").concat(O(f),"\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.")),!0}return!1}function dn(e){return new Set(e.trim().split(/\s+/))}function vn(e){var t,n=new Map,r=o(e.split(";"));try{for(r.s();!(t=r.n()).done;){var i=a(t.value.split(":"),2),u=i[0],c=i[1];u=u.trim(),c=c&&c.trim(),u&&c&&n.set(u,c)}}catch(e){r.e(e)}finally{r.f()}return n}var hn=Xn;function pn(e){return mn(e)}function yn(e){return mn(e,ln)}function mn(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(Object(i.getGlobalThis)().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(Object(i.getGlobalThis)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1),Object(i.getGlobalThis)().__VUE__=!0;var n,o,u=e.insert,c=e.remove,s=e.patchProp,l=e.createElement,f=e.createText,d=e.createComment,v=e.setText,h=e.setElementText,p=e.parentNode,y=e.nextSibling,m=e.setScopeId,g=void 0===m?i.NOOP:m,b=e.insertStaticContent,O=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:void 0,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e!==t){e&&!hr(e,t)&&(r=ee(e),G(e,i,o,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);var s=t.type,l=t.ref,f=t.shapeFlag;switch(s){case tr:_(e,t,n,r);break;case nr:w(e,t,n,r);break;case rr:null==e&&S(t,n,r,a);break;case er:D(e,t,n,r,i,o,a,u,c);break;default:1&f?x(e,t,n,r,i,o,a,u,c):6&f?V(e,t,n,r,i,o,a,u,c):(64&f||128&f)&&s.process(e,t,n,r,i,o,a,u,c,re)}null!=l&&i&&qt(l,e&&e.ref,o,t||e,!t)}},_=function(e,t,n,r){if(null==e)u(t.el=f(t.children),n,r);else{var i=t.el=e.el;t.children!==e.children&&v(i,t.children)}},w=function(e,t,n,r){null==e?u(t.el=d(t.children||""),n,r):t.el=e.el},S=function(e,t,n,r){var i=a(b(e.children,t,n,r,e.el,e.anchor),2);e.el=i[0],e.anchor=i[1]},E=function(e,t,n){for(var r,i=e.el,o=e.anchor;i&&i!==o;)r=y(i),u(i,t,n),i=r;u(o,t,n)},T=function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=y(n),c(n),n=t;c(r)},x=function(e,t,n,r,i,o,a,u,c){"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?j(t,n,r,i,o,a,u,c):C(e,t,i,o,a,u,c)},j=function(e,t,n,r,o,a,c,f){var d,v,p=e.props,y=e.shapeFlag,m=e.transition,g=e.dirs;if(d=e.el=l(e.type,a,p&&p.is,p),8&y?h(d,e.children):16&y&&I(e.children,d,null,r,o,gn(e,a),c,f),g&&X(e,null,r,"created"),A(d,e,e.scopeId,c,r),p){for(var b in p)"value"===b||Object(i.isReservedProp)(b)||s(d,b,null,p[b],a,r);"value"in p&&s(d,"value",null,p.value,a),(v=p.onVnodeBeforeMount)&&Ar(v,r,e)}g&&X(e,null,r,"beforeMount");var O=On(o,m);O&&m.beforeEnter(d),u(d,t,n),((v=p&&p.onVnodeMounted)||O||g)&&hn((function(){v&&Ar(v,r,e),O&&m.enter(d),g&&X(e,null,r,"mounted")}),o)},A=function e(t,n,r,i,o){if(r&&g(t,r),i)for(var a=0;a8&&void 0!==arguments[8]?arguments[8]:0,s=c;s0){if(16&l)L(c,p,y,n,o);else if(2&l&&p.class!==y.class&&s(c,"class",null,y.class,o),4&l&&s(c,"style",p.style,y.style,o),8&l)for(var m=t.dynamicProps,g=0;g0&&64&v&&h&&e.dynamicChildren?(R(e.dynamicChildren,h,n,i,o,a,c),(null!=t.key||i&&t===i.subTree)&&_n(e,t,!0)):Y(e,t,n,d,i,o,a,c,s)},V=function(e,t,n,r,i,o,a,u,c){t.slotScopeIds=u,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,a,c):B(t,n,r,i,o,a,c):U(e,t,c)},B=function(e,t,n,r,i,o,a){var u=e.component=Pr(e,r,i);if(he(e)&&(u.ctx.renderer=re),zr(u,!1,a),u.asyncDep){if(i&&i.registerDep(u,H,a),!e.el){var c=u.subTree=br(nr);w(null,c,t,n)}}else H(u,e,t,n,i,o,a)},U=function(e,t,n){var r,i,o=t.component=e.component;if(function(e,t,n){var r=e.props,i=e.children,o=e.component,a=t.props,u=t.children,c=t.patchFlag,s=o.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!i&&!u||u&&u.$stable)||r!==a&&(r?!a||$n(r,a,s):!!a);if(1024&c)return!0;if(16&c)return r?$n(r,a,s):!!a;if(8&c)for(var l=t.dynamicProps,f=0;fN&&k.splice(i,1),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},H=function(e,t,n,a,u,c,s){var l=e.effect=new r.ReactiveEffect((function r(){if(e.isMounted){var l=e.next,f=e.bu,d=e.u,v=e.parent,h=e.vnode,y=function e(t){var n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:e(n)}(e);if(y)return l&&(l.el=h.el,$(e,l,s)),void y.asyncDep.then((function(){e.isUnmounted||r()}));var m,g=l;0,bn(e,!1),l?(l.el=h.el,$(e,l,s)):l=h,f&&Object(i.invokeArrayFns)(f),(m=l.props&&l.props.onVnodeBeforeUpdate)&&Ar(m,v,l,h),bn(e,!0);var b=Vn(e);0;var _=e.subTree;e.subTree=b,O(_,b,p(_.el),ee(_),e,u,c),l.el=b.el,null===g&&Yn(e,b.el),d&&hn(d,u),(m=l.props&&l.props.onVnodeUpdated)&&hn((function(){return Ar(m,v,l,h)}),u)}else{var w,S=t,E=S.el,k=S.props,N=e.bm,T=e.m,x=e.parent,j=fe(t);if(bn(e,!1),N&&Object(i.invokeArrayFns)(N),!j&&(w=k&&k.onVnodeBeforeMount)&&Ar(w,x,t),bn(e,!0),E&&o){var A=function(){e.subTree=Vn(e),o(E,e.subTree,e,u,null)};j?t.type.__asyncLoader().then((function(){return!e.isUnmounted&&A()})):A()}else{0;var I=e.subTree=Vn(e);0,O(null,I,n,a,e,u,c),t.el=I.el}if(T&&hn(T,u),!j&&(w=k&&k.onVnodeMounted)){var C=t;hn((function(){return Ar(w,x,C)}),u)}(256&t.shapeFlag||x&&fe(x.vnode)&&256&x.vnode.shapeFlag)&&e.a&&hn(e.a,u),e.isMounted=!0,t=n=a=null}}),i.NOOP,(function(){return P(f)}),e.scope),f=e.update=function(){l.dirty&&l.run()};f.i=e,f.id=e.uid,bn(e,!0),f()},$=function(e,t,n){t.component=e;var o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){var u=e.props,c=e.attrs,s=e.vnode.patchFlag,l=Object(r.toRaw)(u),f=a(e.propsOptions,1)[0],d=!1;if(!(o||s>0)||16&s){var v;for(var h in Lt(e,t,u,c)&&(d=!0),l)t&&(Object(i.hasOwn)(t,h)||(v=Object(i.hyphenate)(h))!==h&&Object(i.hasOwn)(t,v))||(f?!n||void 0===n[h]&&void 0===n[v]||(u[h]=Mt(f,l,h,void 0,e,!0)):delete u[h]);if(c!==l)for(var p in c)t&&Object(i.hasOwn)(t,p)||(delete c[p],d=!0)}else if(8&s)for(var y=e.vnode.dynamicProps,m=0;m8&&void 0!==arguments[8]&&arguments[8],s=e&&e.children,l=e?e.shapeFlag:0,f=t.children,d=t.patchFlag,v=t.shapeFlag;if(d>0){if(128&d)return void z(s,f,n,r,i,o,a,u,c);if(256&d)return void W(s,f,n,r,i,o,a,u,c)}8&v?(16&l&&Q(s,i,o),f!==s&&h(n,f)):16&l?16&v?z(s,f,n,r,i,o,a,u,c):Q(s,i,o,!0):(8&l&&h(n,""),16&v&&I(f,n,r,i,o,a,u,c))},W=function(e,t,n,r,o,a,u,c,s){e=e||i.EMPTY_ARR,t=t||i.EMPTY_ARR;var l,f=e.length,d=t.length,v=Math.min(f,d);for(l=0;ld?Q(e,o,a,!0,!1,v):I(t,n,r,o,a,u,c,s,v)},z=function(e,t,n,r,o,a,u,c,s){for(var l=0,f=t.length,d=e.length-1,v=f-1;l<=d&&l<=v;){var h=e[l],p=t[l]=s?Tr(t[l]):Nr(t[l]);if(!hr(h,p))break;O(h,p,n,null,o,a,u,c,s),l++}for(;l<=d&&l<=v;){var y=e[d],m=t[v]=s?Tr(t[v]):Nr(t[v]);if(!hr(y,m))break;O(y,m,n,null,o,a,u,c,s),d--,v--}if(l>d){if(l<=v)for(var g=v+1,b=gv)for(;l<=d;)G(e[l],o,a,!0),l++;else{var _,w=l,S=l,E=new Map;for(l=S;l<=v;l++){var k=t[l]=s?Tr(t[l]):Nr(t[l]);null!=k.key&&E.set(k.key,l)}var N=0,T=v-S+1,x=!1,j=0,A=new Array(T);for(l=0;l=T)G(I,o,a,!0);else{var C=void 0;if(null!=I.key)C=E.get(I.key);else for(_=S;_<=v;_++)if(0===A[_-S]&&hr(I,t[_])){C=_;break}void 0===C?G(I,o,a,!0):(A[C-S]=l+1,C>=j?j=C:x=!0,O(I,t[C],n,null,o,a,u,c,s),N++)}}var P=x?function(e){var t,n,r,i,o,a=e.slice(),u=[0],c=e.length;for(t=0;t>1]]0&&(a[t]=u[r-1]),u[r]=t)}}r=u.length,i=u[r-1];for(;r-- >0;)u[r]=i,i=a[i];return u}(A):i.EMPTY_ARR;for(_=P.length-1,l=T-1;l>=0;l--){var R=S+l,L=t[R],M=R+14&&void 0!==arguments[4]?arguments[4]:null,a=t.el,c=t.type,s=t.transition,l=t.children,f=t.shapeFlag;if(6&f)e(t.component.subTree,n,r,i);else if(128&f)t.suspense.move(n,r,i);else if(64&f)c.move(t,n,r,re);else if(c!==er)if(c!==rr){var d=2!==i&&1&f&&s;if(d)if(0===i)s.beforeEnter(a),u(a,n,r),hn((function(){return s.enter(a)}),o);else{var v=s.leave,h=s.delayLeave,p=s.afterLeave,y=function(){return u(a,n,r)},m=function(){v(a,(function(){y(),p&&p()}))};h?h(a,y,m):m()}else u(a,n,r)}else E(t,n,r);else{u(a,n,r);for(var g=0;g3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=e.type,a=e.props,u=e.ref,c=e.children,s=e.dynamicChildren,l=e.shapeFlag,f=e.patchFlag,d=e.dirs,v=e.cacheIndex;if(-2===f&&(i=!1),null!=u&&qt(u,null,n,e,!0),null!=v&&(t.renderCache[v]=void 0),256&l)t.ctx.deactivate(e);else{var h,p=1&l&&d,y=!fe(e);if(y&&(h=a&&a.onVnodeBeforeUnmount)&&Ar(h,t,e),6&l)Z(e.component,n,r);else{if(128&l)return void e.suspense.unmount(n,r);p&&X(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,n,re,r):s&&!s.hasOnce&&(o!==er||f>0&&64&f)?Q(s,t,n,!1,!0):(o===er&&384&f||!i&&16&l)&&Q(c,t,n),r&&q(e)}(y&&(h=a&&a.onVnodeUnmounted)||p)&&hn((function(){h&&Ar(h,t,e),p&&X(e,null,t,"unmounted")}),n)}},q=function(e){var t=e.type,n=e.el,r=e.anchor,i=e.transition;if(t!==er)if(t!==rr){var o=function(){c(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){var a=i.leave,u=i.delayLeave,s=function(){return a(n,o)};u?u(e.el,o,s):s()}else o()}else T(e);else J(n,r)},J=function(e,t){for(var n;e!==t;)n=y(e),c(e),e=n;c(t)},Z=function(e,t,n){var r=e.bum,o=e.scope,a=e.update,u=e.subTree,c=e.um,s=e.m,l=e.a;wn(s),wn(l),r&&Object(i.invokeArrayFns)(r),o.stop(),a&&(a.active=!1,G(u,e,t,n)),c&&hn(c,t),hn((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=o;a2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=t.children;if(Object(i.isArray)(r)&&Object(i.isArray)(o))for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:i.EMPTY_OBJ,o=n.immediate,a=n.deep,u=n.flush,c=n.once;n.onTrack,n.onTrigger;if(t&&c){var s=t;t=function(){s.apply(void 0,arguments),T()}}var l,f,d=Mr,v=function(e){return!0===a?e:Pn(e,!1===a?1:void 0)},h=!1,p=!1;if(Object(r.isRef)(e)?(l=function(){return e.value},h=Object(r.isShallow)(e)):Object(r.isReactive)(e)?(l=function(){return v(e)},h=!0):Object(i.isArray)(e)?(p=!0,h=e.some((function(e){return Object(r.isReactive)(e)||Object(r.isShallow)(e)})),l=function(){return e.map((function(e){return Object(r.isRef)(e)?e.value:Object(r.isReactive)(e)?v(e):Object(i.isFunction)(e)?b(e,d,2):void 0}))}):l=Object(i.isFunction)(e)?t?function(){return b(e,d,2)}:function(){return f&&f(),O(e,d,3,[g])}:i.NOOP,t&&a){var y=l;l=function(){return Pn(y())}}var m,g=function(e){f=k.onStop=function(){b(e,d,4),f=k.onStop=void 0}};if(Wr){if(g=i.NOOP,t?o&&O(t,d,3,[l(),p?[]:void 0,g]):l(),"sync"!==u)return i.NOOP;var _=En();m=_.__watcherHandles||(_.__watcherHandles=[])}var w,S=p?new Array(e.length).fill(xn):xn,E=function(){if(k.active&&k.dirty)if(t){var e=k.run();(a||h||(p?e.some((function(e,t){return Object(i.hasChanged)(e,S[t])})):Object(i.hasChanged)(e,S)))&&(f&&f(),O(t,d,3,[e,S===xn?void 0:p&&S[0]===xn?[]:S,g]),S=e)}else k.run()};E.allowRecurse=!!t,"sync"===u?w=E:"post"===u?w=function(){return hn(E,d&&d.suspense)}:(E.pre=!0,d&&(E.id=d.uid),w=function(){return P(E)});var k=new r.ReactiveEffect(l,i.NOOP,w),N=Object(r.getCurrentScope)(),T=function(){k.stop(),N&&Object(i.remove)(N.effects,k)};return t?o?E():S=k.run():"post"===u?hn(k.run.bind(k),d&&d.suspense):k.run(),m&&m.push(T),T}function In(e,t,n){var r,o=this.proxy,a=Object(i.isString)(e)?e.includes(".")?Cn(o,e):function(){return o[e]}:e.bind(o,o);Object(i.isFunction)(t)?r=t:(r=t.handler,n=t);var u=Br(this),c=An(a,r.bind(o),n);return u(),c}function Cn(e,t){var n=t.split(".");return function(){for(var t=e,r=0;r1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2?arguments[2]:void 0;if(t<=0||!Object(i.isObject)(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Object(r.isRef)(e))Pn(e.value,t,n);else if(Object(i.isArray)(e))for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:i.EMPTY_OBJ,o=Fr();var a=Object(i.camelize)(t),u=Object(i.hyphenate)(t),c=Ln(e,t),s=Object(r.customRef)((function(r,c){var s,l,f=i.EMPTY_OBJ;return Tn((function(){var n=e[t];Object(i.hasChanged)(s,n)&&(s=n,c())})),{get:function(){return r(),n.get?n.get(s):s},set:function(e){if(Object(i.hasChanged)(e,s)||f!==i.EMPTY_OBJ&&Object(i.hasChanged)(e,f)){var r=o.vnode.props;r&&(t in r||a in r||u in r)&&("onUpdate:".concat(t)in r||"onUpdate:".concat(a)in r||"onUpdate:".concat(u)in r)||(s=e,c());var d=n.set?n.set(e):e;o.emit("update:".concat(t),d),Object(i.hasChanged)(e,d)&&Object(i.hasChanged)(e,f)&&!Object(i.hasChanged)(d,l)&&c(),f=e,l=d}}}}));return s[Symbol.iterator]=function(){var e=0;return{next:function(){return e<2?{value:e++?c||i.EMPTY_OBJ:s,done:!1}:{done:!0}}}},s}var Ln=function(e,t){return"modelValue"===t||"model-value"===t?e.modelModifiers:e["".concat(t,"Modifiers")]||e["".concat(Object(i.camelize)(t),"Modifiers")]||e["".concat(Object(i.hyphenate)(t),"Modifiers")]};function Mn(e,t){if(!e.isUnmounted){for(var n=e.vnode.props||i.EMPTY_OBJ,r=arguments.length,o=new Array(r>2?r-2:0),a=2;a2&&void 0!==arguments[2]&&arguments[2],r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;var a=e.emits,u={},c=!1;if(__VUE_OPTIONS_API__&&!Object(i.isFunction)(e)){var s=function(e){var n=Fn(e,t,!0);n&&(c=!0,Object(i.extend)(u,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return a||c?(Object(i.isArray)(a)?a.forEach((function(e){return u[e]=null})):Object(i.extend)(u,a),Object(i.isObject)(e)&&r.set(e,u),u):(Object(i.isObject)(e)&&r.set(e,null),null)}function Dn(e,t){return!(!e||!Object(i.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),Object(i.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||Object(i.hasOwn)(e,Object(i.hyphenate)(t))||Object(i.hasOwn)(e,t))}function Vn(e){var t,n,r=e.type,o=e.vnode,u=e.proxy,c=e.withProxy,s=a(e.propsOptions,1)[0],l=e.slots,f=e.attrs,d=e.emit,v=e.render,h=e.renderCache,p=e.props,y=e.data,m=e.setupState,g=e.ctx,b=e.inheritAttrs,O=W(e);try{if(4&o.shapeFlag){var w=c||u,S=w;t=Nr(v.call(S,w,h,p,m,y,g)),n=f}else{var E=r;0,t=Nr(E.length>1?E(p,{attrs:f,slots:l,emit:d}):E(p,null)),n=r.props?f:Un(f)}}catch(n){ir.length=0,_(n,e,1),t=br(nr)}var k=t;if(n&&!1!==b){var N=Object.keys(n),T=k.shapeFlag;if(N.length)if(7&T)s&&N.some(i.isModelListener)&&(n=Hn(n,s)),k=wr(k,n,!1,!0);else;}return o.dirs&&((k=wr(k,null,!1,!0)).dirs=k.dirs?k.dirs.concat(o.dirs):o.dirs),o.transition&&(k.transition=o.transition),t=k,W(O),t}function Bn(e){for(var t,n=0;n0?(Gn(e,"onPending"),Gn(e,"onFallback"),s(null,e.ssFallback,t,n,r,null,o,a),Zn(f,e.ssFallback)):f.resolve(!1,!0)}(t,n,r,i,o,a,u,c,s);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,i,o,a,u,c){var s=c.p,l=c.um,f=c.o.createElement,d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;var v=t.ssContent,h=t.ssFallback,p=d.activeBranch,y=d.pendingBranch,m=d.isInFallback,g=d.isHydrating;if(y)d.pendingBranch=v,hr(v,y)?(s(y,v,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0?d.resolve():m&&(g||(s(p,h,n,r,i,null,o,a,u),Zn(d,h)))):(d.pendingId=zn++,g?(d.isHydrating=!1,d.activeBranch=y):l(y,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=f("div"),m?(s(null,v,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0?d.resolve():(s(p,h,n,r,i,null,o,a,u),Zn(d,h))):p&&hr(v,p)?(s(p,v,n,r,i,d,o,a,u),d.resolve(!0)):(s(null,v,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0&&d.resolve()));else if(p&&hr(v,p))s(p,v,n,r,i,d,o,a,u),Zn(d,v);else if(Gn(t,"onPending"),d.pendingBranch=v,512&v.shapeFlag?d.pendingId=v.component.suspenseId:d.pendingId=zn++,s(null,v,d.hiddenContainer,null,i,d,o,a,u),d.deps<=0)d.resolve();else{var b=d.timeout,O=d.pendingId;b>0?setTimeout((function(){d.pendingId===O&&d.fallback(h)}),b):0===b&&d.fallback(h)}}(e,t,n,r,i,a,u,c,s)}},hydrate:function(e,t,n,r,i,o,a,u,c){var s=t.suspense=qn(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,u,!0),l=c(e,s.pendingBranch=t.ssContent,n,s,o,a);0===s.deps&&s.resolve(!1,!0);return l},normalize:function(e){var t=e.shapeFlag,n=e.children,r=32&t;e.ssContent=Jn(r?n.default:n),e.ssFallback=r?Jn(n.fallback):br(nr)}};function Gn(e,t){var n=e.props&&e.props[t];Object(i.isFunction)(n)&&n()}function qn(e,t,n,r,o,a,u,s,l,f){var d=arguments.length>10&&void 0!==arguments[10]&&arguments[10];var v,h=f.p,p=f.m,y=f.um,m=f.n,g=f.o,b=g.parentNode,O=g.remove,w=Qn(e);w&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);var S=e.props?Object(i.toNumber)(e.props.timeout):void 0;var E=a,k={vnode:e,parent:t,parentComponent:n,namespace:u,container:r,hiddenContainer:o,deps:0,pendingId:zn++,timeout:"number"==typeof S?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r=k.vnode,i=k.activeBranch,o=k.pendingBranch,u=k.pendingId,s=k.effects,l=k.parentComponent,f=k.container,d=!1;k.isHydrating?k.isHydrating=!1:e||((d=i&&o.transition&&"out-in"===o.transition.mode)&&(i.transition.afterLeave=function(){u===k.pendingId&&(p(o,f,a===E?m(i):a,0),L(s))}),i&&(b(i.el)!==k.hiddenContainer&&(a=m(i)),y(i,l,k,!0)),d||p(o,f,a,0)),Zn(k,o),k.pendingBranch=null,k.isInFallback=!1;for(var h=k.parent,g=!1;h;){if(h.pendingBranch){var O;(O=h.effects).push.apply(O,c(s)),g=!0;break}h=h.parent}g||d||L(s),k.effects=[],w&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Gn(r,"onResolve")},fallback:function(e){if(k.pendingBranch){var t=k.vnode,n=k.activeBranch,r=k.parentComponent,i=k.container,o=k.namespace;Gn(t,"onFallback");var a=m(n),u=function(){k.isInFallback&&(h(null,e,i,a,r,null,o,s,l),Zn(k,e))},c=e.transition&&"out-in"===e.transition.mode;c&&(n.transition.afterLeave=u),k.isInFallback=!0,y(n,r,null,!0),c||u()}},move:function(e,t,n){k.activeBranch&&p(k.activeBranch,e,t,n),k.container=e},next:function(){return k.activeBranch&&m(k.activeBranch)},registerDep:function(e,t,n){var r=!!k.pendingBranch;r&&k.deps++;var i=e.vnode.el;e.asyncDep.catch((function(t){_(t,e,0)})).then((function(o){if(!e.isUnmounted&&!k.isUnmounted&&k.pendingId===e.suspenseId){e.asyncResolved=!0;var a=e.vnode;0,Gr(e,o,!1),i&&(a.el=i);var c=!i&&e.subTree.el;t(e,a,b(i||e.subTree.el),i?null:m(e.subTree),k,u,n),c&&O(c),Yn(e,a.el),r&&0==--k.deps&&k.resolve()}}))},unmount:function(e,t){k.isUnmounted=!0,k.activeBranch&&y(k.activeBranch,n,e,t),k.pendingBranch&&y(k.pendingBranch,n,e,t)}};return k}function Jn(e){var t;if(Object(i.isFunction)(e)){var n=cr&&e._c;n&&(e._d=!1,ar()),e=e(),n&&(e._d=!0,t=or,ur())}if(Object(i.isArray)(e)){var r=Bn(e);0,e=r}return e=Nr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((function(t){return t!==e}))),e}function Xn(e,t){var n;t&&t.pendingBranch?Object(i.isArray)(e)?(n=t.effects).push.apply(n,c(e)):t.effects.push(e):L(e)}function Zn(e,t){e.activeBranch=t;for(var n=e.vnode,r=e.parentComponent,i=t.el;!i&&t.component;)i=(t=t.component.subTree).el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Yn(r,i))}function Qn(e){var t=e.props&&e.props.suspensible;return null!=t&&!1!==t}var er=Symbol.for("v-fgt"),tr=Symbol.for("v-txt"),nr=Symbol.for("v-cmt"),rr=Symbol.for("v-stc"),ir=[],or=null;function ar(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ir.push(or=e?null:[])}function ur(){ir.pop(),or=ir[ir.length-1]||null}var cr=1;function sr(e){cr+=e,e<0&&or&&(or.hasOnce=!0)}function lr(e){return e.dynamicChildren=cr>0?or||i.EMPTY_ARR:null,ur(),cr>0&&or&&or.push(e),e}function fr(e,t,n,r,i,o){return lr(gr(e,t,n,r,i,o,!0))}function dr(e,t,n,r,i){return lr(br(e,t,n,r,i,!0))}function vr(e){return!!e&&!0===e.__v_isVNode}function hr(e,t){return e.type===t.type&&e.key===t.key}function pr(e){e}var yr=function(e){var t=e.key;return null!=t?t:null},mr=function(e){var t=e.ref,n=e.ref_key,o=e.ref_for;return"number"==typeof t&&(t=""+t),null!=t?Object(i.isString)(t)||Object(r.isRef)(t)||Object(i.isFunction)(t)?{i:$,r:t,k:n,f:!!o}:t:null};function gr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===er?0:1,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=arguments.length>7&&void 0!==arguments[7]&&arguments[7],s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yr(t),ref:t&&mr(t),scopeId:Y,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$};return c?(xr(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=Object(i.isString)(n)?8:16),cr>0&&!u&&or&&(s.patchFlag>0||6&a)&&32!==s.patchFlag&&or.push(s),s}var br=Or;function Or(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&e!==Me||(e=nr),vr(e)){var c=wr(e,t,!0);return n&&xr(c,n),cr>0&&!u&&or&&(6&c.shapeFlag?or[or.indexOf(e)]=c:or.push(c)),c.patchFlag=-2,c}if(oi(e)&&(e=e.__vccOpts),t){var s=t=_r(t),l=s.class,f=s.style;l&&!Object(i.isString)(l)&&(t.class=Object(i.normalizeClass)(l)),Object(i.isObject)(f)&&(Object(r.isProxy)(f)&&!Object(i.isArray)(f)&&(f=Object(i.extend)({},f)),t.style=Object(i.normalizeStyle)(f))}var d=Object(i.isString)(e)?1:Wn(e)?128:Xt(e)?64:Object(i.isObject)(e)?4:Object(i.isFunction)(e)?2:0;return gr(e,t,n,o,a,d,u,!0)}function _r(e){return e?Object(r.isProxy)(e)||Pt(e)?Object(i.extend)({},e):e:null}function wr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.props,a=e.ref,u=e.patchFlag,c=e.children,s=e.transition,l=t?jr(o||{},t):o,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&yr(l),ref:t&&t.ref?n&&a?Object(i.isArray)(a)?a.concat(mr(t)):[a,mr(t)]:mr(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==er?-1===u?16:16|u:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wr(e.ssContent),ssFallback:e.ssFallback&&wr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&ce(f,s.clone(f)),f}function Sr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return br(tr,null,e,t)}function Er(e,t){var n=br(rr,null,e);return n.staticCount=t,n}function kr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?(ar(),dr(nr,null,e)):br(nr,null,e)}function Nr(e){return null==e||"boolean"==typeof e?br(nr):Object(i.isArray)(e)?br(er,null,e.slice()):"object"===u(e)?Tr(e):br(tr,null,String(e))}function Tr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:wr(e)}function xr(e,t){var n=0,r=e.shapeFlag;if(null==t)t=null;else if(Object(i.isArray)(t))n=16;else if("object"===u(t)){if(65&r){var o=t.default;return void(o&&(o._c&&(o._d=!1),xr(e,o()),o._c&&(o._d=!0)))}n=32;var a=t._;a||Pt(t)?3===a&&$&&(1===$.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=$}else Object(i.isFunction)(t)?(t={default:t,_ctx:$},n=32):(t=String(t),64&r?(n=16,t=[Sr(t)]):n=8);e.children=t,e.shapeFlag|=n}function jr(){for(var e={},t=0;t3&&void 0!==arguments[3]?arguments[3]:null;O(e,t,7,[n,r])}var Ir=Et(),Cr=0;function Pr(e,t,n){var o=e.type,a=(t?t.appContext:e.appContext)||Ir,u={uid:Cr++,vnode:e,type:o,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new r.EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Dt(o,a),emitsOptions:Fn(o,a),emit:null,emitted:null,propsDefaults:i.EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:i.EMPTY_OBJ,data:i.EMPTY_OBJ,props:i.EMPTY_OBJ,attrs:i.EMPTY_OBJ,slots:i.EMPTY_OBJ,refs:i.EMPTY_OBJ,setupState:i.EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return u.ctx={_:u},u.root=t?t.root:u,u.emit=Mn.bind(null,u),e.ce&&e.ce(u),u}var Rr,Lr,Mr=null,Fr=function(){return Mr||$},Dr=Object(i.getGlobalThis)(),Vr=function(e,t){var n;return(n=Dr[e])||(n=Dr[e]=[]),n.push(t),function(e){n.length>1?n.forEach((function(t){return t(e)})):n[0](e)}};Rr=Vr("__VUE_INSTANCE_SETTERS__",(function(e){return Mr=e})),Lr=Vr("__VUE_SSR_SETTERS__",(function(e){return Wr=e}));var Br=function(e){var t=Mr;return Rr(e),e.scope.on(),function(){e.scope.off(),Rr(t)}},Ur=function(){Mr&&Mr.scope.off(),Rr(null)};function Hr(e){return 4&e.vnode.shapeFlag}var $r,Yr,Wr=!1;function zr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t&&Lr(t);var r=e.vnode,i=r.props,o=r.children,a=Hr(e);Rt(e,i,a,t),Gt(e,o,n);var u=a?Kr(e,t):void 0;return t&&Lr(!1),u}function Kr(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qe);var o=n.setup;if(o){var a=e.setupContext=o.length>1?Qr(e):null,u=Br(e);Object(r.pauseTracking)();var c=b(o,e,0,[e.props,a]);if(Object(r.resetTracking)(),u(),Object(i.isPromise)(c)){if(c.then(Ur,Ur),t)return c.then((function(n){Gr(e,n,t)})).catch((function(t){_(t,e,0)}));e.asyncDep=c}else Gr(e,c,t)}else Xr(e,t)}function Gr(e,t,n){Object(i.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(i.isObject)(t)&&(e.setupState=Object(r.proxyRefs)(t)),Xr(e,n)}function qr(e){$r=e,Yr=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,Je))}}var Jr=function(){return!$r};function Xr(e,t,n){var o=e.type;if(!e.render){if(!t&&$r&&!o.render){var a=o.template||yt(e).template;if(a){0;var u=e.appContext.config,c=u.isCustomElement,s=u.compilerOptions,l=o.delimiters,f=o.compilerOptions,d=Object(i.extend)(Object(i.extend)({isCustomElement:c,delimiters:l},s),f);o.render=$r(a,d)}}e.render=o.render||i.NOOP,Yr&&Yr(e)}if(__VUE_OPTIONS_API__){var v=Br(e);Object(r.pauseTracking)();try{vt(e)}finally{Object(r.resetTracking)(),v()}}}var Zr={get:function(e,t){return Object(r.track)(e,"get",""),e[t]}};function Qr(e){return{attrs:new Proxy(e.attrs,Zr),slots:e.slots,emit:e.emit,expose:function(t){e.exposed=t||{}}}}function ei(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Object(r.proxyRefs)(Object(r.markRaw)(e.exposed)),{get:function(t,n){return n in t?t[n]:n in Ke?Ke[n](e):void 0},has:function(e,t){return t in e||t in Ke}})):e.proxy}var ti=/(?:^|[-_])(\w)/g,ni=function(e){return e.replace(ti,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};function ri(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(i.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function ii(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=ri(t);if(!r&&t.__file){var i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&e&&e.parent){var o=function(e){for(var n in e)if(e[n]===t)return n};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?ni(r):n?"App":"Anonymous"}function oi(e){return Object(i.isFunction)(e)&&"__vccOpts"in e}var ai=function(e,t){return Object(r.computed)(e,t,Wr)};function ui(e,t,n){var r=arguments.length;return 2===r?Object(i.isObject)(t)&&!Object(i.isArray)(t)?vr(t)?br(e,null,[t]):br(e,t):br(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&vr(n)&&(n=[n]),br(e,t,n))}function ci(){return void 0}function si(e,t,n,r){var i=n[r];if(i&&li(i,e))return i;var o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function li(e,t){var n=e.memo;if(n.length!=t.length)return!1;for(var r=0;r0&&or&&or.push(e),!0}var fi="3.4.34",di=i.NOOP,vi=g,hi=U,pi=function e(t,n){var r,i;if(U=t)U.enabled=!0,H.forEach((function(e){var t,n=e.event,r=e.args;return(t=U).emit.apply(t,[n].concat(c(r)))})),H=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(r=window.navigator)?void 0:r.userAgent)?void 0:i.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((function(t){e(t,n)})),setTimeout((function(){U||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,!0,H=[])}),3e3)}else!0,H=[]},yi={createComponentInstance:Pr,setupComponent:zr,renderComponentRoot:Vn,setCurrentRenderingInstance:W,isVNode:vr,normalizeVNode:Nr,getComponentPublicInstance:ei},mi=null,gi=null,bi=null}]); \ No newline at end of file diff --git a/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromHttp.android.js b/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromHttp.android.js index b797fd5968a..bf62b6edf18 100644 --- a/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromHttp.android.js +++ b/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromHttp.android.js @@ -1 +1 @@ -((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[0],{"../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css":function(e,t,o){(function(t){e.exports=(t.__HIPPY_VUE_STYLES__||(t.__HIPPY_VUE_STYLES__=[]),void(t.__HIPPY_VUE_STYLES__=t.__HIPPY_VUE_STYLES__.concat([{hash:"98b9a9a48568b6b697be35441fbacde6",selectors:["#async-component-http"],declarations:[{type:"declaration",property:"display",value:"flex"},{type:"declaration",property:"flexDirection",value:"column"},{type:"declaration",property:"alignItems",value:"center"},{type:"declaration",property:"justifyContent",value:"center"},{type:"declaration",property:"position",value:"relative"},{type:"declaration",property:"height",value:200},{type:"declaration",property:"width",value:300},{type:"declaration",property:"backgroundColor",value:4283484818},{type:"declaration",property:"borderRadius",value:10},{type:"declaration",property:"marginBottom",value:10}]},{hash:"98b9a9a48568b6b697be35441fbacde6",selectors:[".async-txt"],declarations:[{type:"declaration",property:"color",value:4278190080}]}])))}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/components/demo/dynamicImport/async-component-http.vue":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var n=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),a=Object(n.defineComponent)({name:"DynamicImportHttp"}),d=(o("./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js"));const c=o.n(d)()(a,[["render",function(e,t,o,n,a,d){return Object(s.t)(),Object(s.f)("div",{id:"async-component-http",class:"local-local"},[Object(s.g)("p",{class:"async-txt"}," 我是远程异步组件 ")])}]]);t.default=c},"./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-http.vue?vue&type=style&index=0&id=312bbf24&lang=css")}}]); \ No newline at end of file +((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[0],{80:function(t,n,c){(function(n){var c;t.exports=(n[c="__HIPPY_VUE_STYLES__"]||(n[c]=[]),void(n[c]=n[c].concat([["2c139c",["#async-component-http"],[["display","flex"],["flexDirection","column"],["alignItems","center"],["justifyContent","center"],["position","relative"],["height",200],["width",300],["backgroundColor",4283484818],["borderRadius",10],["marginBottom",10]]],["2c139c",[".async-txt"],[["color",4278190080]]]])))}).call(this,c(5))},82:function(t,n,c){"use strict";c(80)},84:function(t,n,c){"use strict";c.r(n);var e=c(0);var o=c(1),i=Object(o.defineComponent)({name:"DynamicImportHttp"}),a=(c(82),c(3));const s=c.n(a)()(i,[["render",function(t,n,c,o,i,a){return Object(e.t)(),Object(e.f)("div",{id:"async-component-http",class:"local-local"},[Object(e.g)("p",{class:"async-txt"}," 我是远程异步组件 ")])}]]);n.default=s}}]); \ No newline at end of file diff --git a/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromLocal.android.js b/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromLocal.android.js index fe5ad672f63..ab4053b04f7 100644 --- a/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromLocal.android.js +++ b/framework/voltron/example/assets/jsbundle/vue3/asyncComponentFromLocal.android.js @@ -1 +1 @@ -((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[1],{"../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css":function(e,o,t){(function(o){e.exports=(o.__HIPPY_VUE_STYLES__||(o.__HIPPY_VUE_STYLES__=[]),void(o.__HIPPY_VUE_STYLES__=o.__HIPPY_VUE_STYLES__.concat([{hash:"1d9d4525f36cd98b4f95527dc85017cf",selectors:[".async-component-local[data-v-8399ef12]"],declarations:[{type:"declaration",property:"display",value:"flex"},{type:"declaration",property:"flexDirection",value:"column"},{type:"declaration",property:"alignItems",value:"center"},{type:"declaration",property:"justifyContent",value:"center"},{type:"declaration",property:"position",value:"relative"},{type:"declaration",property:"backgroundColor",value:4283484818},{type:"declaration",property:"borderRadius",value:10},{type:"declaration",property:"marginBottom",value:10}]},{hash:"1d9d4525f36cd98b4f95527dc85017cf",selectors:[".async-txt[data-v-8399ef12]"],declarations:[{type:"declaration",property:"color",value:4278190080}]}])))}).call(this,t("./node_modules/webpack/buildin/global.js"))},"./src/components/demo/dynamicImport/async-component-local.vue":function(e,o,t){"use strict";t.r(o);var s=t("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var n=t("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),a=Object(n.defineComponent)({name:"DynamicImportLocal"}),c=(t("./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css"),t("./node_modules/vue-loader/dist/exportHelper.js"));const d=t.n(c)()(a,[["render",function(e,o,t,n,a,c){return Object(s.t)(),Object(s.f)("div",{class:"async-component-local"},[Object(s.g)("p",{class:"async-txt"}," 我是本地异步组件 ")])}],["__scopeId","data-v-8399ef12"]]);o.default=d},"./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css":function(e,o,t){"use strict";t("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/dynamicImport/async-component-local.vue?vue&type=style&index=0&id=8399ef12&scoped=true&lang=css")}}]); \ No newline at end of file +((0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[]).push([[1],{79:function(t,n,e){(function(n){var e;t.exports=(n[e="__HIPPY_VUE_STYLES__"]||(n[e]=[]),void(n[e]=n[e].concat([["1386bd",[".async-component-local[data-v-8399ef12]"],[["display","flex"],["flexDirection","column"],["alignItems","center"],["justifyContent","center"],["position","relative"],["backgroundColor",4283484818],["borderRadius",10],["marginBottom",10]]],["1386bd",[".async-txt[data-v-8399ef12]"],[["color",4278190080]]]])))}).call(this,e(5))},81:function(t,n,e){"use strict";e(79)},83:function(t,n,e){"use strict";e.r(n);var c=e(0);var o=e(1),a=Object(o.defineComponent)({name:"DynamicImportLocal"}),s=(e(81),e(3));const i=e.n(s)()(a,[["render",function(t,n,e,o,a,s){return Object(c.t)(),Object(c.f)("div",{class:"async-component-local"},[Object(c.g)("p",{class:"async-txt"}," 我是本地异步组件 ")])}],["__scopeId","data-v-8399ef12"]]);n.default=i}}]); \ No newline at end of file diff --git a/framework/voltron/example/assets/jsbundle/vue3/index.android.js b/framework/voltron/example/assets/jsbundle/vue3/index.android.js index 3b1df1b8245..c488e492d6f 100644 --- a/framework/voltron/example/assets/jsbundle/vue3/index.android.js +++ b/framework/voltron/example/assets/jsbundle/vue3/index.android.js @@ -1,9 +1,22 @@ -!function(e){function t(t){for(var o,n,r=t[0],l=t[1],c=0,s=[];c0===c.indexOf(e))){var i=c.split("/"),s=i[i.length-1],d=s.split(".")[0];(p=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[d])&&(c=p+s)}else{var p;d=c.split(".")[0];(p=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[d])&&(c=p+c)}onScriptComplete=function(t){if(t instanceof Error){t.message+=", load chunk "+e+" failed, path is "+c;var o=a[e];0!==o&&o&&o[1](t),a[e]=void 0}},global.dynamicLoad(c,onScriptComplete)}return Promise.all(t)},n.m=e,n.c=o,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n.oe=function(e){throw console.error(e),e};var r=(0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[],l=r.push.bind(r);r.push=t,r=r.slice();for(var c=0;c(r.push(e),()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)}),destroy(){r=[],t=[""],o=0},go(e,l=!0){const c=this.location,i=e<0?n.back:n.forward;o=Math.max(0,Math.min(o+e,t.length-1)),l&&function(e,t,{direction:o,delta:n}){const l={direction:o,delta:n,type:a.pop};for(const o of r)o(e,t,l)}(this.location,c,{direction:i,delta:e})},get position(){return o}};return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t[o]}),i}t.createHippyHistory=p,t.createHippyRouter=function(e){var t;const o=r.createRouter({history:null!==(t=e.history)&&void 0!==t?t:p(),routes:e.routes});return e.noInjectAndroidHardwareBackPress||function(e){if(l.Native.isAndroid()){function t(){const{position:t}=e.options.history;if(t>0)return e.back(),!0}e.isReady().then(()=>{l.BackAndroid.addListener(t)})}}(o),o},Object.keys(r).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))},"./node_modules/@vue/devtools-api/lib/esm/env.js":function(e,t,o){"use strict";(function(e){function a(){return n().__VUE_DEVTOOLS_GLOBAL_HOOK__}function n(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==e?e:{}}o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return r}));const r="function"==typeof Proxy}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/@vue/devtools-api/lib/esm/time.js":function(e,t,o){"use strict";(function(e){let a,n;function r(){return void 0!==a||("undefined"!=typeof window&&window.performance?(a=!0,n=window.performance):void 0!==e&&(null===(t=e.perf_hooks)||void 0===t?void 0:t.performance)?(a=!0,n=e.perf_hooks.performance):a=!1),a?n.now():Date.now();var t}o.d(t,"a",(function(){return r}))}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/@vue/shared/dist/shared.esm-bundler.js":function(e,t,o){"use strict";(function(e){function a(e,t){const o=Object.create(null),a=e.split(",");for(let e=0;e!!o[e.toLowerCase()]:e=>!!o[e]}o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return h})),o.d(t,"c",(function(){return _})),o.d(t,"d",(function(){return c})),o.d(t,"e",(function(){return O})),o.d(t,"f",(function(){return E})),o.d(t,"g",(function(){return w})),o.d(t,"h",(function(){return i})),o.d(t,"i",(function(){return p})),o.d(t,"j",(function(){return A})),o.d(t,"k",(function(){return l})),o.d(t,"l",(function(){return y})),o.d(t,"m",(function(){return r})),o.d(t,"n",(function(){return k})),o.d(t,"o",(function(){return s})),o.d(t,"p",(function(){return P})),o.d(t,"q",(function(){return u})),o.d(t,"r",(function(){return T})),o.d(t,"s",(function(){return L})),o.d(t,"t",(function(){return x})),o.d(t,"u",(function(){return S}));const n={},r=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,i=(Object.prototype.hasOwnProperty,Array.isArray),s=e=>"[object Set]"===f(e),d=e=>"[object Date]"===f(e),p=e=>"function"==typeof e,u=e=>"string"==typeof e,b=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,v=Object.prototype.toString,f=e=>v.call(e),g=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},m=/-(\w)/g,h=g(e=>e.replace(m,(e,t)=>t?t.toUpperCase():"")),j=/\B([A-Z])/g,O=g(e=>e.replace(j,"-$1").toLowerCase()),_=g(e=>e.charAt(0).toUpperCase()+e.slice(1)),w=(g(e=>e?"on"+_(e):""),(e,t)=>{for(let o=0;o{const t=parseFloat(e);return isNaN(t)?e:t},S=e=>{const t=u(e)?Number(e):NaN;return isNaN(t)?e:t};const A=a("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"),k=a("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"),C="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",P=a(C);function E(e){return!!e||""===e}function T(e,t){if(e===t)return!0;let o=d(e),a=d(t);if(o||a)return!(!o||!a)&&e.getTime()===t.getTime();if(o=b(e),a=b(t),o||a)return e===t;if(o=i(e),a=i(t),o||a)return!(!o||!a)&&function(e,t){if(e.length!==t.length)return!1;let o=!0;for(let a=0;o&&aT(e,t))}}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-loader/dist/exportHelper.js":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const o=e.__vccOpts||e;for(const[e,a]of t)o[e]=a;return o}},"./node_modules/vue-router/dist/vue-router.mjs":function(e,t,o){"use strict";o.r(t),o.d(t,"NavigationFailureType",(function(){return V})),o.d(t,"RouterLink",(function(){return Ie})),o.d(t,"RouterView",(function(){return Ye})),o.d(t,"START_LOCATION",(function(){return I})),o.d(t,"createMemoryHistory",(function(){return E})),o.d(t,"createRouter",(function(){return Be})),o.d(t,"createRouterMatcher",(function(){return K})),o.d(t,"createWebHashHistory",(function(){return T})),o.d(t,"createWebHistory",(function(){return P})),o.d(t,"isNavigationFailure",(function(){return Y})),o.d(t,"loadRouteLocation",(function(){return Te})),o.d(t,"matchedRouteKey",(function(){return je})),o.d(t,"onBeforeRouteLeave",(function(){return ke})),o.d(t,"onBeforeRouteUpdate",(function(){return Ce})),o.d(t,"parseQuery",(function(){return ge})),o.d(t,"routeLocationKey",(function(){return we})),o.d(t,"routerKey",(function(){return _e})),o.d(t,"routerViewLocationKey",(function(){return xe})),o.d(t,"stringifyQuery",(function(){return me})),o.d(t,"useLink",(function(){return Le})),o.d(t,"useRoute",(function(){return Ue})),o.d(t,"useRouter",(function(){return Re})),o.d(t,"viewDepthKey",(function(){return Oe}));var a=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");o("./node_modules/@vue/devtools-api/lib/esm/env.js");o("./node_modules/@vue/devtools-api/lib/esm/time.js"); +!function(e){function t(t){for(var o,a,c=t[0],l=t[1],i=0,s=[];i0===i.indexOf(e))){var r=i.split("/"),s=r[r.length-1],u=s.split(".")[0];(d=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[u])&&(i=d+s)}else{var d;u=i.split(".")[0];(d=global.__DYNAMIC_LOAD_CUSTOM_PATH_MAP__[u])&&(i=d+i)}onScriptComplete=function(t){if(t instanceof Error){t.message+=", load chunk "+e+" failed, path is "+i;var o=n[e];0!==o&&o&&o[1](t),n[e]=void 0}},global.dynamicLoad(i,onScriptComplete)}return Promise.all(t)},a.m=e,a.c=o,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var c=(0,eval)("this").webpackJsonp=(0,eval)("this").webpackJsonp||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var i=0;iObject(n.h)(n.BaseTransition,u(e),t);l.displayName="Transition";const i={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},r=(l.props=Object(a.e)({},n.BaseTransitionPropsValidators,i),(e,t=[])=>{Object(a.i)(e)?e.forEach(e=>e(...t)):e&&e(...t)}),s=e=>!!e&&(Object(a.i)(e)?e.some(e=>e.length>1):e.length>1);function u(e){const t={};for(const o in e)o in i||(t[o]=e[o]);if(!1===e.css)return t;const{name:o="v",type:n,duration:c,enterFromClass:l=o+"-enter-from",enterActiveClass:u=o+"-enter-active",enterToClass:p=o+"-enter-to",appearFromClass:h=l,appearActiveClass:v=u,appearToClass:O=p,leaveFromClass:y=o+"-leave-from",leaveActiveClass:w=o+"-leave-active",leaveToClass:A=o+"-leave-to"}=e,C=function(e){if(null==e)return null;if(Object(a.n)(e))return[d(e.enter),d(e.leave)];{const t=d(e);return[t,t]}}(c),x=C&&C[0],S=C&&C[1],{onBeforeEnter:k,onEnter:T,onEnterCancelled:D,onLeave:P,onLeaveCancelled:E,onBeforeAppear:_=k,onAppear:I=T,onAppearCancelled:B=D}=t,R=(e,t,o)=>{g(e,t?O:p),g(e,t?v:u),o&&o()},L=(e,t)=>{e._isLeaving=!1,g(e,y),g(e,A),g(e,w),t&&t()},V=e=>(t,o)=>{const a=e?I:T,c=()=>R(t,e,o);r(a,[t,c]),f(()=>{g(t,e?h:l),b(t,e?O:p),s(a)||m(t,n,x,c)})};return Object(a.e)(t,{onBeforeEnter(e){r(k,[e]),b(e,l),b(e,u)},onBeforeAppear(e){r(_,[e]),b(e,h),b(e,v)},onEnter:V(!1),onAppear:V(!0),onLeave(e,t){e._isLeaving=!0;const o=()=>L(e,t);b(e,y),b(e,w),j(),f(()=>{e._isLeaving&&(g(e,y),b(e,A),s(P)||m(e,n,S,o))}),r(P,[e,o])},onEnterCancelled(e){R(e,!1),r(D,[e])},onAppearCancelled(e){R(e,!0),r(B,[e])},onLeaveCancelled(e){L(e),r(E,[e])}})}function d(e){return Object(a.x)(e)}function b(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[c]||(e[c]=new Set)).add(t)}function g(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const o=e[c];o&&(o.delete(t),o.size||(e[c]=void 0))}function f(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let p=0;function m(e,t,o,n){const a=e._endId=++p,c=()=>{a===e._endId&&n()};if(o)return setTimeout(c,o);const{type:l,timeout:i,propCount:r}=h(e,t);if(!l)return n();const s=l+"end";let u=0;const d=()=>{e.removeEventListener(s,b),c()},b=t=>{t.target===e&&++u>=r&&d()};setTimeout(()=>{u(o[e]||"").split(", "),a=n("transitionDelay"),c=n("transitionDuration"),l=v(a,c),i=n("animationDelay"),r=n("animationDuration"),s=v(i,r);let u=null,d=0,b=0;"transition"===t?l>0&&(u="transition",d=l,b=c.length):"animation"===t?s>0&&(u="animation",d=s,b=r.length):(d=Math.max(l,s),u=d>0?l>s?"transition":"animation":null,b=u?"transition"===u?c.length:r.length:0);return{type:u,timeout:d,propCount:b,hasTransform:"transition"===u&&/\b(transform|all)(,|$)/.test(n("transitionProperty").toString())}}function v(e,t){for(;e.lengthO(t)+O(e[o])))}function O(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function j(){return document.body.offsetHeight}const y=Symbol("_vod"),w=Symbol("_vsh"),A={beforeMount(e,{value:t},{transition:o}){e[y]="none"===e.style.display?"":e.style.display,o&&t?o.beforeEnter(e):C(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),C(e,!0),n.enter(e)):n.leave(e,()=>{C(e,!1)}):C(e,t))},beforeUnmount(e,{value:t}){C(e,t)}};function C(e,t){e.style.display=t?e[y]:"none",e[w]=!t}Symbol("");Symbol("_vei"); +/*! #__NO_SIDE_EFFECTS__ */ +"undefined"!=typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");Symbol("_assign");const x=["ctrl","shift","alt","meta"],S={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>x.some(o=>e[o+"Key"]&&!t.includes(o))},k=(e,t)=>{const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=(o,...n)=>{for(let e=0;eo.has(e.toLowerCase()):e=>o.has(e)}o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return c})),o.d(t,"c",(function(){return j})),o.d(t,"d",(function(){return A})),o.d(t,"e",(function(){return r})),o.d(t,"f",(function(){return w})),o.d(t,"g",(function(){return _})),o.d(t,"h",(function(){return C})),o.d(t,"i",(function(){return s})),o.d(t,"j",(function(){return b})),o.d(t,"k",(function(){return k})),o.d(t,"l",(function(){return D})),o.d(t,"m",(function(){return i})),o.d(t,"n",(function(){return p})),o.d(t,"o",(function(){return l})),o.d(t,"p",(function(){return T})),o.d(t,"q",(function(){return u})),o.d(t,"r",(function(){return E})),o.d(t,"s",(function(){return g})),o.d(t,"t",(function(){return f})),o.d(t,"u",(function(){return I})),o.d(t,"v",(function(){return B})),o.d(t,"w",(function(){return x})),o.d(t,"x",(function(){return S}));const a={},c=()=>{},l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),r=Object.assign,s=(Object.prototype.hasOwnProperty,Array.isArray),u=e=>"[object Set]"===h(e),d=e=>"[object Date]"===h(e),b=e=>"function"==typeof e,g=e=>"string"==typeof e,f=e=>"symbol"==typeof e,p=e=>null!==e&&"object"==typeof e,m=Object.prototype.toString,h=e=>m.call(e),v=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},O=/-(\w)/g,j=v(e=>e.replace(O,(e,t)=>t?t.toUpperCase():"")),y=/\B([A-Z])/g,w=v(e=>e.replace(y,"-$1").toLowerCase()),A=v(e=>e.charAt(0).toUpperCase()+e.slice(1)),C=(v(e=>e?"on"+A(e):""),(e,...t)=>{for(let o=0;o{const t=parseFloat(e);return isNaN(t)?e:t},S=e=>{const t=g(e)?Number(e):NaN;return isNaN(t)?e:t};const k=n("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"),T=n("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"),D=n("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"),P="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",E=n(P);function _(e){return!!e||""===e}function I(e,t){if(e===t)return!0;let o=d(e),n=d(t);if(o||n)return!(!o||!n)&&e.getTime()===t.getTime();if(o=f(e),n=f(t),o||n)return e===t;if(o=s(e),n=s(t),o||n)return!(!o||!n)&&function(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&nI(e,t))}}).call(this,o(5))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const o=e.__vccOpts||e;for(const[e,n]of t)o[e]=n;return o}},function(e,t,o){e.exports=o(11)(5)},function(e,t,o){e.exports=o(11)(2)},function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return r})),o.d(t,"b",(function(){return c})),o.d(t,"d",(function(){return a})),o.d(t,"c",(function(){return l})),o.d(t,"e",(function(){return i})),o.d(t,"f",(function(){return n})),o.d(t,"g",(function(){return u})),o.d(t,"h",(function(){return s})),o.d(t,"i",(function(){return d}));const n=t=>e.getTurboModule("demoTurbo").getString(t),a=t=>e.getTurboModule("demoTurbo").getNum(t),c=t=>e.getTurboModule("demoTurbo").getBoolean(t),l=t=>e.getTurboModule("demoTurbo").getMap(t),i=t=>e.getTurboModule("demoTurbo").getObject(t),r=t=>e.getTurboModule("demoTurbo").getArray(t),s=async t=>e.turboPromise(e.getTurboModule("demoTurbo").nativeWithPromise)(t),u=()=>e.getTurboModule("demoTurbo").getTurboConfig(),d=t=>e.getTurboModule("demoTurbo").printTurboConfig(t)}).call(this,o(5))},function(e,t,o){e.exports=o.p+"assets/defaultSource.jpg"},function(e,t,o){"use strict";let n;function a(e){n=e}function c(){return n}o.d(t,"b",(function(){return a})),o.d(t,"a",(function(){return c}))},function(e,t,o){"use strict";o.r(t),o.d(t,"NavigationFailureType",(function(){return $})),o.d(t,"RouterLink",(function(){return Ie})),o.d(t,"RouterView",(function(){return Ve})),o.d(t,"START_LOCATION",(function(){return R})),o.d(t,"createMemoryHistory",(function(){return q})),o.d(t,"createRouter",(function(){return He})),o.d(t,"createRouterMatcher",(function(){return ue})),o.d(t,"createWebHashHistory",(function(){return Q})),o.d(t,"createWebHistory",(function(){return J})),o.d(t,"isNavigationFailure",(function(){return te})),o.d(t,"loadRouteLocation",(function(){return Ee})),o.d(t,"matchedRouteKey",(function(){return je})),o.d(t,"onBeforeRouteLeave",(function(){return ke})),o.d(t,"onBeforeRouteUpdate",(function(){return Te})),o.d(t,"parseQuery",(function(){return he})),o.d(t,"routeLocationKey",(function(){return Ae})),o.d(t,"routerKey",(function(){return we})),o.d(t,"routerViewLocationKey",(function(){return Ce})),o.d(t,"stringifyQuery",(function(){return ve})),o.d(t,"useLink",(function(){return _e})),o.d(t,"useRoute",(function(){return Me})),o.d(t,"useRouter",(function(){return Ne})),o.d(t,"viewDepthKey",(function(){return ye}));var n=o(0); /*! - * vue-router v4.2.5 - * (c) 2023 Eduardo San Martin Morote + * vue-router v4.4.0 + * (c) 2024 Eduardo San Martin Morote * @license MIT */ -const n="undefined"!=typeof window;function r(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const l=Object.assign;function c(e,t){const o={};for(const a in t){const n=t[a];o[a]=s(n)?n.map(e):e(n)}return o}const i=()=>{},s=Array.isArray;const d=/\/$/;function p(e,t,o="/"){let a,n={},r="",l="";const c=t.indexOf("#");let i=t.indexOf("?");return c=0&&(i=-1),i>-1&&(a=t.slice(0,i),r=t.slice(i+1,c>-1?c:t.length),n=e(r)),c>-1&&(a=a||t.slice(0,c),l=t.slice(c,t.length)),a=function(e,t){if(e.startsWith("/"))return e;0;if(!e)return t;const o=t.split("/"),a=e.split("/"),n=a[a.length-1];".."!==n&&"."!==n||a.push("");let r,l,c=o.length-1;for(r=0;r1&&c--}return o.slice(0,c).join("/")+"/"+a.slice(r-(r===a.length?1:0)).join("/")}(null!=a?a:t,o),{fullPath:a+(r&&"?")+r+l,path:a,query:n,hash:l}}function u(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function b(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function y(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!v(e[o],t[o]))return!1;return!0}function v(e,t){return s(e)?f(e,t):s(t)?f(t,e):e===t}function f(e,t){return s(t)?e.length===t.length&&e.every((e,o)=>e===t[o]):1===e.length&&e[0]===t}var g,m;!function(e){e.pop="pop",e.push="push"}(g||(g={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(m||(m={}));function h(e){if(!e)if(n){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(d,"")}const j=/^[^#]+#/;function O(e,t){return e.replace(j,"#")+t}const _=()=>({left:window.pageXOffset,top:window.pageYOffset});function w(e){let t;if("el"in e){const o=e.el,a="string"==typeof o&&o.startsWith("#");0;const n="string"==typeof o?a?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!n)return;t=function(e,t){const o=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-o.left-(t.left||0),top:a.top-o.top-(t.top||0)}}(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function x(e,t){return(history.state?history.state.position-t:-1)+e}const S=new Map;let A=()=>location.protocol+"//"+location.host;function k(e,t){const{pathname:o,search:a,hash:n}=t,r=e.indexOf("#");if(r>-1){let t=n.includes(e.slice(r))?e.slice(r).length:1,o=n.slice(t);return"/"!==o[0]&&(o="/"+o),u(o,"")}return u(o,e)+a+n}function C(e,t,o,a=!1,n=!1){return{back:e,current:t,forward:o,replaced:a,position:window.history.length,scroll:n?_():null}}function P(e){const t=function(e){const{history:t,location:o}=window,a={value:k(e,o)},n={value:t.state};function r(a,r,l){const c=e.indexOf("#"),i=c>-1?(o.host&&document.querySelector("base")?e:e.slice(c))+a:A()+e+a;try{t[l?"replaceState":"pushState"](r,"",i),n.value=r}catch(e){console.error(e),o[l?"replace":"assign"](i)}}return n.value||r(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:a,state:n,push:function(e,o){const c=l({},n.value,t.state,{forward:e,scroll:_()});r(c.current,c,!0),r(e,l({},C(a.value,e,null),{position:c.position+1},o),!1),a.value=e},replace:function(e,o){r(e,l({},t.state,C(n.value.back,e,n.value.forward,!0),o,{position:n.value.position}),!0),a.value=e}}}(e=h(e)),o=function(e,t,o,a){let n=[],r=[],c=null;const i=({state:r})=>{const l=k(e,location),i=o.value,s=t.value;let d=0;if(r){if(o.value=l,t.value=r,c&&c===i)return void(c=null);d=s?r.position-s.position:0}else a(l);n.forEach(e=>{e(o.value,i,{delta:d,type:g.pop,direction:d?d>0?m.forward:m.back:m.unknown})})};function s(){const{history:e}=window;e.state&&e.replaceState(l({},e.state,{scroll:_()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:function(){c=o.value},listen:function(e){n.push(e);const t=()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace);const a=l({location:"",base:e,go:function(e,t=!0){t||o.pauseListeners(),history.go(e)},createHref:O.bind(null,e)},t,o);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function E(e=""){let t=[],o=[""],a=0;function n(e){a++,a!==o.length&&o.splice(a),o.push(e)}const r={location:"",state:{},base:e=h(e),createHref:O.bind(null,e),replace(e){o.splice(a--,1),n(e)},push(e,t){n(e)},listen:e=>(t.push(e),()=>{const o=t.indexOf(e);o>-1&&t.splice(o,1)}),destroy(){t=[],o=[""],a=0},go(e,n=!0){const r=this.location,l=e<0?m.back:m.forward;a=Math.max(0,Math.min(a+e,o.length-1)),n&&function(e,o,{direction:a,delta:n}){const r={direction:a,delta:n,type:g.pop};for(const a of t)a(e,o,r)}(this.location,r,{direction:l,delta:e})}};return Object.defineProperty(r,"location",{enumerable:!0,get:()=>o[a]}),r}function T(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),P(e)}function L(e){return"string"==typeof e||"symbol"==typeof e}const I={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},D=Symbol("");var V;!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(V||(V={}));function H(e,t){return l(new Error,{type:e,[D]:!0},t)}function Y(e,t){return e instanceof Error&&D in e&&(null==t||!!(e.type&t))}const B={sensitive:!1,strict:!1,start:!0,end:!0},R=/[.+*?^${}()[\]/\\]/g;function U(e,t){let o=0;for(;ot.length?1===t.length&&80===t[0]?1:-1:0}function N(e,t){let o=0;const a=e.score,n=t.score;for(;o0&&t[t.length-1]<0}const z={type:0,value:""},F=/[a-zA-Z0-9_]/;function W(e,t,o){const a=function(e,t){const o=l({},B,t),a=[];let n=o.start?"^":"";const r=[];for(const t of e){const e=t.length?[]:[90];o.strict&&!t.length&&(n+="/");for(let a=0;a1&&("*"===c||"+"===c)&&t(`A repeatable param (${s}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:s,regexp:d,repeatable:"*"===c||"+"===c,optional:"*"===c||"?"===c})):t("Invalid state to consume buffer"),s="")}function u(){s+=c}for(;i{r(y)}:i}function r(e){if(L(e)){const t=a.get(e);t&&(a.delete(e),o.splice(o.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=o.indexOf(e);t>-1&&(o.splice(t,1),e.record.name&&a.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function c(e){let t=0;for(;t=0&&(e.record.path!==o[t].record.path||!Z(e,o[t]));)t++;o.splice(t,0,e),e.record.name&&!q(e)&&a.set(e.record.name,e)}return t=X({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>n(e)),{addRoute:n,resolve:function(e,t){let n,r,c,i={};if("name"in e&&e.name){if(n=a.get(e.name),!n)throw H(1,{location:e});0,c=n.record.name,i=l(G(t.params,n.keys.filter(e=>!e.optional).map(e=>e.name)),e.params&&G(e.params,n.keys.map(e=>e.name))),r=n.stringify(i)}else if("path"in e)r=e.path,n=o.find(e=>e.re.test(r)),n&&(i=n.parse(r),c=n.record.name);else{if(n=t.name?a.get(t.name):o.find(e=>e.re.test(t.path)),!n)throw H(1,{location:e,currentLocation:t});c=n.record.name,i=l({},t.params,e.params),r=n.stringify(i)}const s=[];let d=n;for(;d;)s.unshift(d.record),d=d.parent;return{name:c,path:r,params:i,matched:s,meta:Q(s)}},removeRoute:r,getRoutes:function(){return o},getRecordMatcher:function(e){return a.get(e)}}}function G(e,t){const o={};for(const a of t)a in e&&(o[a]=e[a]);return o}function J(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const a in e.components)t[a]="object"==typeof o?o[a]:o;return t}function q(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Q(e){return e.reduce((e,t)=>l(e,t.meta),{})}function X(e,t){const o={};for(const a in e)o[a]=a in t?t[a]:e[a];return o}function Z(e,t){return t.children.some(t=>t===e||Z(e,t))}const $=/#/g,ee=/&/g,te=/\//g,oe=/=/g,ae=/\?/g,ne=/\+/g,re=/%5B/g,le=/%5D/g,ce=/%5E/g,ie=/%60/g,se=/%7B/g,de=/%7C/g,pe=/%7D/g,ue=/%20/g;function be(e){return encodeURI(""+e).replace(de,"|").replace(re,"[").replace(le,"]")}function ye(e){return be(e).replace(ne,"%2B").replace(ue,"+").replace($,"%23").replace(ee,"%26").replace(ie,"`").replace(se,"{").replace(pe,"}").replace(ce,"^")}function ve(e){return null==e?"":function(e){return be(e).replace($,"%23").replace(ae,"%3F")}(e).replace(te,"%2F")}function fe(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}function ge(e){const t={};if(""===e||"?"===e)return t;const o=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;ee&&ye(e)):[a&&ye(a)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+o,null!=e&&(t+="="+e))})}return t}function he(e){const t={};for(const o in e){const a=e[o];void 0!==a&&(t[o]=s(a)?a.map(e=>null==e?null:""+e):null==a?a:""+a)}return t}const je=Symbol(""),Oe=Symbol(""),_e=Symbol(""),we=Symbol(""),xe=Symbol("");function Se(){let e=[];return{add:function(t){return e.push(t),()=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Ae(e,t,o){const n=()=>{e[t].delete(o)};Object(a.s)(n),Object(a.r)(n),Object(a.q)(()=>{e[t].add(o)}),e[t].add(o)}function ke(e){const t=Object(a.m)(je,{}).value;t&&Ae(t,"leaveGuards",e)}function Ce(e){const t=Object(a.m)(je,{}).value;t&&Ae(t,"updateGuards",e)}function Pe(e,t,o,a,n){const r=a&&(a.enterCallbacks[n]=a.enterCallbacks[n]||[]);return()=>new Promise((l,c)=>{const i=e=>{var i;!1===e?c(H(4,{from:o,to:t})):e instanceof Error?c(e):"string"==typeof(i=e)||i&&"object"==typeof i?c(H(2,{from:t,to:e})):(r&&a.enterCallbacks[n]===r&&"function"==typeof e&&r.push(e),l())},s=e.call(a&&a.instances[n],t,o,i);let d=Promise.resolve(s);e.length<3&&(d=d.then(i)),d.catch(e=>c(e))})}function Ee(e,t,o,a){const n=[];for(const c of e){0;for(const e in c.components){let i=c.components[e];if("beforeRouteEnter"===t||c.instances[e])if("object"==typeof(l=i)||"displayName"in l||"props"in l||"__vccOpts"in l){const r=(i.__vccOpts||i)[t];r&&n.push(Pe(r,o,a,c,e))}else{let l=i();0,n.push(()=>l.then(n=>{if(!n)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${c.path}"`));const l=r(n)?n.default:n;c.components[e]=l;const i=(l.__vccOpts||l)[t];return i&&Pe(i,o,a,c,e)()}))}}}var l;return n}function Te(e){return e.matched.every(e=>e.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(e=>e.components&&Promise.all(Object.keys(e.components).reduce((t,o)=>{const a=e.components[o];return"function"!=typeof a||"displayName"in a||t.push(a().then(t=>{if(!t)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${e.path}". Ensure you passed a function that returns a promise.`));const a=r(t)?t.default:t;e.components[o]=a})),t},[])))).then(()=>e)}function Le(e){const t=Object(a.m)(_e),o=Object(a.m)(we),n=Object(a.c)(()=>t.resolve(Object(a.E)(e.to))),r=Object(a.c)(()=>{const{matched:e}=n.value,{length:t}=e,a=e[t-1],r=o.matched;if(!a||!r.length)return-1;const l=r.findIndex(b.bind(null,a));if(l>-1)return l;const c=De(e[t-2]);return t>1&&De(a)===c&&r[r.length-1].path!==c?r.findIndex(b.bind(null,e[t-2])):l}),l=Object(a.c)(()=>r.value>-1&&function(e,t){for(const o in t){const a=t[o],n=e[o];if("string"==typeof a){if(a!==n)return!1}else if(!s(n)||n.length!==a.length||a.some((e,t)=>e!==n[t]))return!1}return!0}(o.params,n.value.params)),c=Object(a.c)(()=>r.value>-1&&r.value===o.matched.length-1&&y(o.params,n.value.params));return{route:n,href:Object(a.c)(()=>n.value.href),isActive:l,isExactActive:c,navigate:function(o={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(o)?t[Object(a.E)(e.replace)?"replace":"push"](Object(a.E)(e.to)).catch(i):Promise.resolve()}}}const Ie=Object(a.j)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Le,setup(e,{slots:t}){const o=Object(a.v)(Le(e)),{options:n}=Object(a.m)(_e),r=Object(a.c)(()=>({[Ve(e.activeClass,n.linkActiveClass,"router-link-active")]:o.isActive,[Ve(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const n=t.default&&t.default(o);return e.custom?n:Object(a.l)("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:r.value},n)}}});function De(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ve=(e,t,o)=>null!=e?e:null!=t?t:o;function He(e,t){if(!e)return null;const o=e(t);return 1===o.length?o[0]:o}const Ye=Object(a.j)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){const n=Object(a.m)(xe),r=Object(a.c)(()=>e.route||n.value),c=Object(a.m)(Oe,0),i=Object(a.c)(()=>{let e=Object(a.E)(c);const{matched:t}=r.value;let o;for(;(o=t[e])&&!o.components;)e++;return e}),s=Object(a.c)(()=>r.value.matched[i.value]);Object(a.u)(Oe,Object(a.c)(()=>i.value+1)),Object(a.u)(je,s),Object(a.u)(xe,r);const d=Object(a.w)();return Object(a.G)(()=>[d.value,s.value,e.name],([e,t,o],[a,n,r])=>{t&&(t.instances[o]=e,n&&n!==t&&e&&e===a&&(t.leaveGuards.size||(t.leaveGuards=n.leaveGuards),t.updateGuards.size||(t.updateGuards=n.updateGuards))),!e||!t||n&&b(t,n)&&a||(t.enterCallbacks[o]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const n=r.value,c=e.name,i=s.value,p=i&&i.components[c];if(!p)return He(o.default,{Component:p,route:n});const u=i.props[c],b=u?!0===u?n.params:"function"==typeof u?u(n):u:null,y=Object(a.l)(p,l({},b,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[c]=null)},ref:d}));return He(o.default,{Component:y,route:n})||y}}});function Be(e){const t=K(e.routes,e),o=e.parseQuery||ge,r=e.stringifyQuery||me,d=e.history;const u=Se(),v=Se(),f=Se(),m=Object(a.C)(I);let h=I;n&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const j=c.bind(null,e=>""+e),O=c.bind(null,ve),A=c.bind(null,fe);function k(e,a){if(a=l({},a||m.value),"string"==typeof e){const n=p(o,e,a.path),r=t.resolve({path:n.path},a),c=d.createHref(n.fullPath);return l(n,r,{params:A(r.params),hash:fe(n.hash),redirectedFrom:void 0,href:c})}let n;if("path"in e)n=l({},e,{path:p(o,e.path,a.path).path});else{const t=l({},e.params);for(const e in t)null==t[e]&&delete t[e];n=l({},e,{params:O(t)}),a.params=O(a.params)}const c=t.resolve(n,a),i=e.hash||"";c.params=j(A(c.params));const s=function(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}(r,l({},e,{hash:(u=i,be(u).replace(se,"{").replace(pe,"}").replace(ce,"^")),path:c.path}));var u;const b=d.createHref(s);return l({fullPath:s,hash:i,query:r===me?he(e.query):e.query||{}},c,{redirectedFrom:void 0,href:b})}function C(e){return"string"==typeof e?p(o,e,m.value.path):l({},e)}function P(e,t){if(h!==e)return H(8,{from:t,to:e})}function E(e){return D(e)}function T(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:o}=t;let a="function"==typeof o?o(e):o;return"string"==typeof a&&(a=a.includes("?")||a.includes("#")?a=C(a):{path:a},a.params={}),l({query:e.query,hash:e.hash,params:"path"in a?{}:e.params},a)}}function D(e,t){const o=h=k(e),a=m.value,n=e.state,c=e.force,i=!0===e.replace,s=T(o);if(s)return D(l(C(s),{state:"object"==typeof s?l({},n,s.state):n,force:c,replace:i}),t||o);const d=o;let p;return d.redirectedFrom=t,!c&&function(e,t,o){const a=t.matched.length-1,n=o.matched.length-1;return a>-1&&a===n&&b(t.matched[a],o.matched[n])&&y(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}(r,a,o)&&(p=H(16,{to:d,from:a}),Q(a,a,!0,!1)),(p?Promise.resolve(p):R(d,a)).catch(e=>Y(e)?Y(e,2)?e:q(e):J(e,d,a)).then(e=>{if(e){if(Y(e,2))return D(l({replace:i},C(e.to),{state:"object"==typeof e.to?l({},n,e.to.state):n,force:c}),t||d)}else e=N(d,a,!0,i,n);return U(d,a,e),e})}function V(e,t){const o=P(e,t);return o?Promise.reject(o):Promise.resolve()}function B(e){const t=$.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function R(e,t){let o;const[a,n,r]=function(e,t){const o=[],a=[],n=[],r=Math.max(t.matched.length,e.matched.length);for(let l=0;lb(e,r))?a.push(r):o.push(r));const c=e.matched[l];c&&(t.matched.find(e=>b(e,c))||n.push(c))}return[o,a,n]}(e,t);o=Ee(a.reverse(),"beforeRouteLeave",e,t);for(const n of a)n.leaveGuards.forEach(a=>{o.push(Pe(a,e,t))});const l=V.bind(null,e,t);return o.push(l),te(o).then(()=>{o=[];for(const a of u.list())o.push(Pe(a,e,t));return o.push(l),te(o)}).then(()=>{o=Ee(n,"beforeRouteUpdate",e,t);for(const a of n)a.updateGuards.forEach(a=>{o.push(Pe(a,e,t))});return o.push(l),te(o)}).then(()=>{o=[];for(const a of r)if(a.beforeEnter)if(s(a.beforeEnter))for(const n of a.beforeEnter)o.push(Pe(n,e,t));else o.push(Pe(a.beforeEnter,e,t));return o.push(l),te(o)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),o=Ee(r,"beforeRouteEnter",e,t),o.push(l),te(o))).then(()=>{o=[];for(const a of v.list())o.push(Pe(a,e,t));return o.push(l),te(o)}).catch(e=>Y(e,8)?e:Promise.reject(e))}function U(e,t,o){f.list().forEach(a=>B(()=>a(e,t,o)))}function N(e,t,o,a,r){const c=P(e,t);if(c)return c;const i=t===I,s=n?history.state:{};o&&(a||i?d.replace(e.fullPath,l({scroll:i&&s&&s.scroll},r)):d.push(e.fullPath,r)),m.value=e,Q(e,t,o,i),q()}let M;function z(){M||(M=d.listen((e,t,o)=>{if(!ee.listening)return;const a=k(e),r=T(a);if(r)return void D(l(r,{replace:!0}),a).catch(i);h=a;const c=m.value;var s,p;n&&(s=x(c.fullPath,o.delta),p=_(),S.set(s,p)),R(a,c).catch(e=>Y(e,12)?e:Y(e,2)?(D(e.to,a).then(e=>{Y(e,20)&&!o.delta&&o.type===g.pop&&d.go(-1,!1)}).catch(i),Promise.reject()):(o.delta&&d.go(-o.delta,!1),J(e,a,c))).then(e=>{(e=e||N(a,c,!1))&&(o.delta&&!Y(e,8)?d.go(-o.delta,!1):o.type===g.pop&&Y(e,20)&&d.go(-1,!1)),U(a,c,e)}).catch(i)}))}let F,W=Se(),G=Se();function J(e,t,o){q(e);const a=G.list();return a.length?a.forEach(a=>a(e,t,o)):console.error(e),Promise.reject(e)}function q(e){return F||(F=!e,z(),W.list().forEach(([t,o])=>e?o(e):t()),W.reset()),e}function Q(t,o,r,l){const{scrollBehavior:c}=e;if(!n||!c)return Promise.resolve();const i=!r&&function(e){const t=S.get(e);return S.delete(e),t}(x(t.fullPath,0))||(l||!r)&&history.state&&history.state.scroll||null;return Object(a.n)().then(()=>c(t,o,i)).then(e=>e&&w(e)).catch(e=>J(e,t,o))}const X=e=>d.go(e);let Z;const $=new Set,ee={currentRoute:m,listening:!0,addRoute:function(e,o){let a,n;return L(e)?(a=t.getRecordMatcher(e),n=o):n=e,t.addRoute(n,a)},removeRoute:function(e){const o=t.getRecordMatcher(e);o&&t.removeRoute(o)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:k,options:e,push:E,replace:function(e){return E(l(C(e),{replace:!0}))},go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:u.add,beforeResolve:v.add,afterEach:f.add,onError:G.add,isReady:function(){return F&&m.value!==I?Promise.resolve():new Promise((e,t)=>{W.add([e,t])})},install(e){e.component("RouterLink",Ie),e.component("RouterView",Ye),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Object(a.E)(m)}),n&&!Z&&m.value===I&&(Z=!0,E(d.location).catch(e=>{0}));const t={};for(const e in I)Object.defineProperty(t,e,{get:()=>m.value[e],enumerable:!0});e.provide(_e,this),e.provide(we,Object(a.B)(t)),e.provide(xe,m);const o=e.unmount;$.add(e),e.unmount=function(){$.delete(e),$.size<1&&(h=I,M&&M(),M=null,m.value=I,Z=!1,F=!1),o()}}};function te(e){return e.reduce((e,t)=>e.then(()=>B(t)),Promise.resolve())}return ee}function Re(){return Object(a.m)(_e)}function Ue(){return Object(a.m)(we)}},"./node_modules/vue/dist/vue.runtime.esm-bundler.js":function(e,t,o){"use strict";o.d(t,"v",(function(){return a.reactive})),o.d(t,"w",(function(){return a.ref})),o.d(t,"B",(function(){return a.shallowReactive})),o.d(t,"C",(function(){return a.shallowRef})),o.d(t,"E",(function(){return a.unref})),o.d(t,"o",(function(){return a.normalizeClass})),o.d(t,"p",(function(){return a.normalizeStyle})),o.d(t,"D",(function(){return a.toDisplayString})),o.d(t,"a",(function(){return a.Fragment})),o.d(t,"b",(function(){return a.KeepAlive})),o.d(t,"c",(function(){return a.computed})),o.d(t,"d",(function(){return a.createBlock})),o.d(t,"e",(function(){return a.createCommentVNode})),o.d(t,"f",(function(){return a.createElementBlock})),o.d(t,"g",(function(){return a.createElementVNode})),o.d(t,"h",(function(){return a.createTextVNode})),o.d(t,"i",(function(){return a.createVNode})),o.d(t,"j",(function(){return a.defineComponent})),o.d(t,"k",(function(){return a.getCurrentInstance})),o.d(t,"l",(function(){return a.h})),o.d(t,"m",(function(){return a.inject})),o.d(t,"n",(function(){return a.nextTick})),o.d(t,"q",(function(){return a.onActivated})),o.d(t,"r",(function(){return a.onDeactivated})),o.d(t,"s",(function(){return a.onUnmounted})),o.d(t,"t",(function(){return a.openBlock})),o.d(t,"u",(function(){return a.provide})),o.d(t,"x",(function(){return a.renderList})),o.d(t,"y",(function(){return a.renderSlot})),o.d(t,"z",(function(){return a.resolveComponent})),o.d(t,"A",(function(){return a.resolveDynamicComponent})),o.d(t,"G",(function(){return a.watch})),o.d(t,"H",(function(){return a.withCtx})),o.d(t,"I",(function(){return a.withDirectives})),o.d(t,"F",(function(){return _})),o.d(t,"J",(function(){return A}));var a=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),n=o("./node_modules/@vue/shared/dist/shared.esm-bundler.js");"undefined"!=typeof document&&document;const r=Symbol("_vtc"),l=(e,{slots:t})=>Object(a.h)(a.BaseTransition,d(e),t);l.displayName="Transition";const c={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},i=(l.props=Object(n.d)({},a.BaseTransitionPropsValidators,c),(e,t=[])=>{Object(n.h)(e)?e.forEach(e=>e(...t)):e&&e(...t)}),s=e=>!!e&&(Object(n.h)(e)?e.some(e=>e.length>1):e.length>1);function d(e){const t={};for(const o in e)o in c||(t[o]=e[o]);if(!1===e.css)return t;const{name:o="v",type:a,duration:r,enterFromClass:l=o+"-enter-from",enterActiveClass:d=o+"-enter-active",enterToClass:v=o+"-enter-to",appearFromClass:g=l,appearActiveClass:m=d,appearToClass:h=v,leaveFromClass:O=o+"-leave-from",leaveActiveClass:_=o+"-leave-active",leaveToClass:w=o+"-leave-to"}=e,x=function(e){if(null==e)return null;if(Object(n.l)(e))return[p(e.enter),p(e.leave)];{const t=p(e);return[t,t]}}(r),S=x&&x[0],A=x&&x[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:P,onLeave:E,onLeaveCancelled:T,onBeforeAppear:L=k,onAppear:I=C,onAppearCancelled:D=P}=t,V=(e,t,o)=>{b(e,t?h:v),b(e,t?m:d),o&&o()},H=(e,t)=>{e._isLeaving=!1,b(e,O),b(e,w),b(e,_),t&&t()},Y=e=>(t,o)=>{const n=e?I:C,r=()=>V(t,e,o);i(n,[t,r]),y(()=>{b(t,e?g:l),u(t,e?h:v),s(n)||f(t,a,S,r)})};return Object(n.d)(t,{onBeforeEnter(e){i(k,[e]),u(e,l),u(e,d)},onBeforeAppear(e){i(L,[e]),u(e,g),u(e,m)},onEnter:Y(!1),onAppear:Y(!0),onLeave(e,t){e._isLeaving=!0;const o=()=>H(e,t);u(e,O),j(),u(e,_),y(()=>{e._isLeaving&&(b(e,O),u(e,w),s(E)||f(e,a,A,o))}),i(E,[e,o])},onEnterCancelled(e){V(e,!1),i(P,[e])},onAppearCancelled(e){V(e,!0),i(D,[e])},onLeaveCancelled(e){H(e),i(T,[e])}})}function p(e){return Object(n.u)(e)}function u(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[r]||(e[r]=new Set)).add(t)}function b(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const o=e[r];o&&(o.delete(t),o.size||(e[r]=void 0))}function y(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let v=0;function f(e,t,o,a){const n=e._endId=++v,r=()=>{n===e._endId&&a()};if(o)return setTimeout(r,o);const{type:l,timeout:c,propCount:i}=g(e,t);if(!l)return a();const s=l+"end";let d=0;const p=()=>{e.removeEventListener(s,u),r()},u=t=>{t.target===e&&++d>=i&&p()};setTimeout(()=>{d(o[e]||"").split(", "),n=a("transitionDelay"),r=a("transitionDuration"),l=m(n,r),c=a("animationDelay"),i=a("animationDuration"),s=m(c,i);let d=null,p=0,u=0;"transition"===t?l>0&&(d="transition",p=l,u=r.length):"animation"===t?s>0&&(d="animation",p=s,u=i.length):(p=Math.max(l,s),d=p>0?l>s?"transition":"animation":null,u=d?"transition"===d?r.length:i.length:0);return{type:d,timeout:p,propCount:u,hasTransform:"transition"===d&&/\b(transform|all)(,|$)/.test(a("transitionProperty").toString())}}function m(e,t){for(;e.lengthh(t)+h(e[o])))}function h(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function j(){return document.body.offsetHeight}const O=Symbol("_vod"),_={beforeMount(e,{value:t},{transition:o}){e[O]="none"===e.style.display?"":e.style.display,o&&t?o.beforeEnter(e):w(e,t)},mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:a}){!t!=!o&&(a?t?(a.beforeEnter(e),w(e,!0),a.enter(e)):a.leave(e,()=>{w(e,!1)}):w(e,t))},beforeUnmount(e,{value:t}){w(e,t)}};function w(e,t){e.style.display=t?e[O]:"none"}Symbol("_vei"); -/*! #__NO_SIDE_EFFECTS__ */ -"undefined"!=typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");Symbol("_assign");const x=["ctrl","shift","alt","meta"],S={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>x.some(o=>e[o+"Key"]&&!t.includes(o))},A=(e,t)=>e._withMods||(e._withMods=(o,...a)=>{for(let e=0;e{e.back()},navigateTo:(t,o)=>{o!==a.value&&(a.value=o,e.replace({path:t.path}))}}},watch:{$route(e){void 0!==e.name?this.subTitle=e.name:this.subTitle=""}}}),c=(o("./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js"));const i=o.n(c)()(l,[["render",function(e,t,o,n,r,l){const c=Object(a.z)("router-view");return Object(a.t)(),Object(a.f)("div",{id:"root"},[Object(a.g)("div",{id:"header"},[Object(a.g)("div",{class:"left-title"},[Object(a.I)(Object(a.g)("img",{id:"back-btn",src:e.backButtonImg,onClick:t[0]||(t[0]=(...t)=>e.goBack&&e.goBack(...t))},null,8,["src"]),[[a.F,!["/","/debug","/remote-debug"].includes(e.currentRoute.path)]]),["/","/debug","/remote-debug"].includes(e.currentRoute.path)?(Object(a.t)(),Object(a.f)("label",{key:0,class:"title"},"Hippy Vue Next")):Object(a.e)("v-if",!0)]),Object(a.g)("label",{class:"title"},Object(a.D)(e.subTitle),1)]),Object(a.g)("div",{class:"body-container",onClick:Object(a.J)(()=>{},["stop"])},[Object(a.e)(" if you don't need keep-alive, just use '' "),Object(a.i)(c,null,{default:Object(a.H)(({Component:e,route:t})=>[(Object(a.t)(),Object(a.d)(a.b,null,[(Object(a.t)(),Object(a.d)(Object(a.A)(e),{key:t.path}))],1024))]),_:1})]),Object(a.g)("div",{class:"bottom-tabs"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.tabs,(t,o)=>(Object(a.t)(),Object(a.f)("div",{key:"tab-"+o,class:Object(a.o)(["bottom-tab",o===e.activatedTab?"activated":""]),onClick:Object(a.J)(a=>e.navigateTo(t,o),["stop"])},[Object(a.g)("span",{class:"bottom-tab-text"},Object(a.D)(t.text),1)],10,["onClick"]))),128))])])}]]);t.a=i},"./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/app.vue?vue&type=style&index=0&id=392e9162&lang=css")},"./src/assets/defaultSource.jpg":function(e,t,o){e.exports=o.p+"assets/defaultSource.jpg"},"./src/assets/hippyLogoWhite.png":function(e,t,o){e.exports=o.p+"assets/hippyLogoWhite.png"},"./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css")},"./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css")},"./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css")},"./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css")},"./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css")},"./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css")},"./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css")},"./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css")},"./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css")},"./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css")},"./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css")},"./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css")},"./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css")},"./src/components/demo/demoTurbo.ts":function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return r})),o.d(t,"d",(function(){return n})),o.d(t,"c",(function(){return l})),o.d(t,"e",(function(){return c})),o.d(t,"f",(function(){return a})),o.d(t,"g",(function(){return d})),o.d(t,"h",(function(){return s})),o.d(t,"i",(function(){return p}));const a=t=>e.getTurboModule("demoTurbo").getString(t),n=t=>e.getTurboModule("demoTurbo").getNum(t),r=t=>e.getTurboModule("demoTurbo").getBoolean(t),l=t=>e.getTurboModule("demoTurbo").getMap(t),c=t=>e.getTurboModule("demoTurbo").getObject(t),i=t=>e.getTurboModule("demoTurbo").getArray(t),s=async t=>e.turboPromise(e.getTurboModule("demoTurbo").nativeWithPromise)(t),d=()=>e.getTurboModule("demoTurbo").getTurboConfig(),p=t=>e.getTurboModule("demoTurbo").printTurboConfig(t)}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css")},"./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css")},"./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css")},"./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css")},"./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css")},"./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css")},"./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css")},"./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css")},"./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css")},"./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css")},"./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css")},"./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css")},"./src/main-native.ts":function(e,t,o){"use strict";o.r(t),function(e){var t=o("../../packages/hippy-vue-next/dist/index.js"),a=o("./src/app.vue"),n=o("./src/routes.ts"),r=o("./src/util.ts");e.Hippy.on("uncaughtException",e=>{console.log("uncaughtException error",e.stack,e.message)}),e.Hippy.on("unhandledRejection",e=>{console.log("unhandledRejection reason",e)});const l=Object(t.createApp)(a.a,{appName:"Demo",iPhone:{statusBar:{backgroundColor:4283416717}},trimWhitespace:!0}),c=Object(n.a)();l.use(c),t.EventBus.$on("onSizeChanged",e=>{e.width&&e.height&&Object(t.setScreenSize)({width:e.width,height:e.height})});l.$start().then(({superProps:e,rootViewId:o})=>{Object(r.b)({superProps:e,rootViewId:o}),c.push("/"),t.BackAndroid.addListener(()=>(console.log("backAndroid"),!0)),l.mount("#root")})}.call(this,o("./node_modules/webpack/buildin/global.js"))},"./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css")},"./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css":function(e,t,o){"use strict";o("../../packages/hippy-vue-css-loader/dist/css-loader.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js?!./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css")},"./src/routes.ts":function(e,t,o){"use strict";o.d(t,"a",(function(){return ht}));var a=o("./node_modules/@hippy/vue-router-next-history/dist/index.js"),n=o("./node_modules/vue/dist/vue.runtime.esm-bundler.js");var r=o("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),l=Object(r.defineComponent)({setup(){const e=Object(r.ref)(!1),t=Object(r.ref)(!1),o=Object(r.ref)(!1);Object(r.onActivated)(()=>{console.log(Date.now()+"-button-activated")}),Object(r.onDeactivated)(()=>{console.log(Date.now()+"-button-Deactivated")});return{isClicked:e,isPressing:t,isOnceClicked:o,onClickView:()=>{e.value=!e.value},onTouchBtnStart:e=>{console.log("onBtnTouchDown",e)},onTouchBtnMove:e=>{console.log("onBtnTouchMove",e)},onTouchBtnEnd:e=>{console.log("onBtnTouchEnd",e)},onClickViewOnce:()=>{o.value=!o.value}}}}),c=(o("./src/components/demo/demo-button.vue?vue&type=style&index=0&id=05797918&scoped=true&lang=css"),o("./node_modules/vue-loader/dist/exportHelper.js")),i=o.n(c);var s=i()(l,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"button-demo"},[Object(n.g)("label",{class:"button-label"},"按钮和状态绑定"),Object(n.g)("button",{class:Object(n.o)([{"is-active":e.isClicked,"is-pressing":e.isPressing},"button-demo-1"]),onTouchstart:t[0]||(t[0]=Object(n.J)((...t)=>e.onTouchBtnStart&&e.onTouchBtnStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(n.J)((...t)=>e.onTouchBtnMove&&e.onTouchBtnMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(n.J)((...t)=>e.onTouchBtnEnd&&e.onTouchBtnEnd(...t),["stop"])),onClick:t[3]||(t[3]=(...t)=>e.onClickView&&e.onClickView(...t))},[e.isClicked?(Object(n.t)(),Object(n.f)("span",{key:0,class:"button-text"},"视图已经被点击了,再点一下恢复")):(Object(n.t)(),Object(n.f)("span",{key:1,class:"button-text"},"视图尚未点击"))],34),Object(n.I)(Object(n.g)("img",{alt:"demo1-image",src:"https://user-images.githubusercontent.com/12878546/148737148-d0b227cb-69c8-4b21-bf92-739fb0c3f3aa.png",class:"button-demo-1-image"},null,512),[[n.F,e.isClicked]])])}],["__scopeId","data-v-05797918"]]),d=o("./node_modules/@babel/runtime/helpers/defineProperty.js"),p=o.n(d);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}return o}function b(e){for(var t=1;th},positionY:{type:Number,default:0}},setup(e){const{positionY:t}=Object(r.toRefs)(e),o=Object(r.ref)(null),a=Object(r.ref)(t.value);let n=0,l=0;Object(r.watch)(t,e=>{a.value=e});return{scrollOffsetY:e.positionY,demo1Style:h,ripple1:o,onLayout:()=>{o.value&&y.Native.measureInAppWindow(o.value).then(e=>{n=e.left,l=e.top})},onTouchStart:e=>{const t=e.touches[0];o.value&&(o.value.setHotspot(t.clientX-n,t.clientY+a.value-l),o.value.setPressed(!0))},onTouchEnd:()=>{o.value&&o.value.setPressed(!1)}}}});var O=i()(j,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{ref:"ripple1",style:Object(n.p)(e.wrapperStyle),nativeBackgroundAndroid:m({},e.nativeBackgroundAndroid),onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t)),onTouchstart:t[1]||(t[1]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t)),onTouchcancel:t[3]||(t[3]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},[Object(n.y)(e.$slots,"default")],44,["nativeBackgroundAndroid"])}]]);const _=e=>{console.log("onScroll",e)},w=e=>{console.log("onMomentumScrollBegin",e)},x=e=>{console.log("onMomentumScrollEnd",e)},S=e=>{console.log("onScrollBeginDrag",e)},A=e=>{console.log("onScrollEndDrag",e)};var k=Object(r.defineComponent)({components:{DemoRippleDiv:O},setup(){const e=Object(r.ref)(0),t=Object(r.ref)(null);return Object(r.onActivated)(()=>{console.log(Date.now()+"-div-activated")}),Object(r.onDeactivated)(()=>{console.log(Date.now()+"-div-Deactivated")}),Object(r.onMounted)(()=>{t.value&&t.value.scrollTo(50,0,1e3)}),{demo2:t,demo1Style:{display:"flex",height:"40px",width:"200px",backgroundImage:""+f.a,backgroundRepeat:"no-repeat",justifyContent:"center",alignItems:"center",marginTop:"10px",marginBottom:"10px"},imgRectangle:{width:"260px",height:"56px",alignItems:"center",justifyContent:"center"},imgRectangleExtra:{marginTop:"20px",backgroundImage:""+f.a,backgroundSize:"cover",backgroundRepeat:"no-repeat"},circleRipple:{marginTop:"30px",width:"150px",height:"56px",alignItems:"center",justifyContent:"center",borderWidth:"3px",borderStyle:"solid",borderColor:"#40b883"},squareRipple:{marginBottom:"20px",alignItems:"center",justifyContent:"center",width:"150px",height:"150px",backgroundColor:"#40b883",marginTop:"30px",borderRadius:"12px",overflow:"hidden"},Native:y.Native,offsetY:e,onScroll:_,onMomentumScrollBegin:w,onMomentumScrollEnd:x,onScrollBeginDrag:S,onScrollEndDrag:A,onOuterScroll:t=>{e.value=t.offsetY}}}});o("./src/components/demo/demo-div.vue?vue&type=style&index=0&id=fe0428e4&scoped=true&lang=css");var C=i()(k,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("demo-ripple-div");return Object(n.t)(),Object(n.f)("div",{id:"div-demo",onScroll:t[5]||(t[5]=(...t)=>e.onOuterScroll&&e.onOuterScroll(...t))},[Object(n.g)("div",null,["ios"!==e.Native.Platform?(Object(n.t)(),Object(n.f)("div",{key:0},[Object(n.g)("label",null,"水波纹效果: "),Object(n.g)("div",{style:Object(n.p)(b(b({},e.imgRectangle),e.imgRectangleExtra))},[Object(n.i)(c,{"position-y":e.offsetY,"wrapper-style":e.imgRectangle,"native-background-android":{borderless:!0,color:"#666666"}},{default:Object(n.H)(()=>[Object(n.g)("p",{style:{color:"white",maxWidth:200}}," 外层背景图,内层无边框水波纹,受外层影响始终有边框 ")]),_:1},8,["position-y","wrapper-style"])],4),Object(n.i)(c,{"position-y":e.offsetY,"wrapper-style":e.circleRipple,"native-background-android":{borderless:!0,color:"#666666",rippleRadius:100}},{default:Object(n.H)(()=>[Object(n.g)("p",{style:{color:"black",textAlign:"center"}}," 无边框圆形水波纹 ")]),_:1},8,["position-y","wrapper-style"]),Object(n.i)(c,{"position-y":e.offsetY,"wrapper-style":e.squareRipple,"native-background-android":{borderless:!1,color:"#666666"}},{default:Object(n.H)(()=>[Object(n.g)("p",{style:{color:"#fff"}}," 带背景色水波纹 ")]),_:1},8,["position-y","wrapper-style"])])):Object(n.e)("v-if",!0),Object(n.g)("label",null,"背景图效果:"),Object(n.g)("div",{style:Object(n.p)(e.demo1Style),accessible:!0,"aria-label":"背景图","aria-disabled":!1,"aria-selected":!0,"aria-checked":!1,"aria-expanded":!1,"aria-busy":!0,role:"image","aria-valuemax":10,"aria-valuemin":1,"aria-valuenow":5,"aria-valuetext":"middle"},[Object(n.g)("p",{class:"div-demo-1-text"}," Hippy 背景图展示 ")],4),Object(n.g)("label",null,"渐变色效果:"),Object(n.g)("div",{class:"div-demo-1-1"},[Object(n.g)("p",{class:"div-demo-1-text"}," Hippy 背景渐变色展示 ")]),Object(n.g)("label",null,"Transform"),Object(n.g)("div",{class:"div-demo-transform"},[Object(n.g)("p",{class:"div-demo-transform-text"}," Transform ")]),Object(n.g)("label",null,"水平滚动:"),Object(n.g)("div",{ref:"demo2",class:"div-demo-2",bounces:!0,scrollEnabled:!0,pagingEnabled:!1,showsHorizontalScrollIndicator:!1,onScroll:t[0]||(t[0]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[1]||(t[1]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[2]||(t[2]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[3]||(t[3]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[4]||(t[4]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[Object(n.e)(" div 带着 overflow 属性的,只能有一个子节点,否则终端会崩溃 "),Object(n.g)("div",{class:"display-flex flex-row"},[Object(n.g)("p",{class:"text-block"}," A "),Object(n.g)("p",{class:"text-block"}," B "),Object(n.g)("p",{class:"text-block"}," C "),Object(n.g)("p",{class:"text-block"}," D "),Object(n.g)("p",{class:"text-block"}," E ")])],544),Object(n.g)("label",null,"垂直滚动:"),Object(n.g)("div",{class:"div-demo-3",showsVerticalScrollIndicator:!1},[Object(n.g)("div",{class:"display-flex flex-column"},[Object(n.g)("p",{class:"text-block"}," A "),Object(n.g)("p",{class:"text-block"}," B "),Object(n.g)("p",{class:"text-block"}," C "),Object(n.g)("p",{class:"text-block"}," D "),Object(n.g)("p",{class:"text-block"}," E ")])])])],32)}],["__scopeId","data-v-fe0428e4"]]);var P=Object(r.defineComponent)({components:{AsyncComponentFromLocal:Object(r.defineAsyncComponent)(async()=>o.e(1).then(o.bind(null,"./src/components/demo/dynamicImport/async-component-local.vue"))),AsyncComponentFromHttp:Object(r.defineAsyncComponent)(async()=>o.e(0).then(o.bind(null,"./src/components/demo/dynamicImport/async-component-http.vue")))},setup(){const e=Object(r.ref)(!1);return{loaded:e,onClickLoadAsyncComponent:()=>{e.value=!0}}}});o("./src/components/demo/demo-dynamicimport.vue?vue&type=style&index=0&id=0fa9b63f&scoped=true&lang=css");var E=i()(P,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("AsyncComponentFromLocal"),i=Object(n.z)("AsyncComponentFromHttp");return Object(n.t)(),Object(n.f)("div",{id:"demo-dynamicimport",onClick:t[0]||(t[0]=Object(n.J)((...t)=>e.onClickLoadAsyncComponent&&e.onClickLoadAsyncComponent(...t),["stop"]))},[Object(n.g)("div",{class:"import-btn"},[Object(n.g)("p",null,"点我异步加载")]),e.loaded?(Object(n.t)(),Object(n.f)("div",{key:0,class:"async-com-wrapper"},[Object(n.i)(c,{class:"async-component-outer-local"}),Object(n.i)(i)])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-0fa9b63f"]]);var T=Object(r.defineComponent)({setup(){const e=Object(r.ref)("https://hippyjs.org"),t=Object(r.ref)("https://hippyjs.org"),o=Object(r.ref)(null),a=Object(r.ref)(null),n=t=>{t&&(e.value=t.value)};return{targetUrl:e,displayUrl:t,iframeStyle:{"min-height":y.Native?100:"100vh"},input:o,iframe:a,onLoad:o=>{let{url:n}=o;void 0===n&&a.value&&(n=a.value.src),n&&n!==e.value&&(t.value=n)},onKeyUp:e=>{13===e.keyCode&&(e.preventDefault(),o.value&&n(o.value))},goToUrl:n,onLoadStart:e=>{const{url:t}=e;console.log("onLoadStart",t)},onLoadEnd:e=>{const{url:t,success:o,error:a}=e;console.log("onLoadEnd",t,o,a)}}}});o("./src/components/demo/demo-iframe.vue?vue&type=style&index=0&id=1f9159b4&lang=css");var L=i()(T,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"iframe-demo",style:Object(n.p)(e.iframeStyle)},[Object(n.g)("label",null,"地址栏:"),Object(n.g)("input",{id:"address",ref:"input",name:"targetUrl",returnKeyType:"go",value:e.displayUrl,"on:endEditing":t[0]||(t[0]=(...t)=>e.goToUrl&&e.goToUrl(...t)),onKeyup:t[1]||(t[1]=(...t)=>e.onKeyUp&&e.onKeyUp(...t))},null,40,["value"]),Object(n.g)("iframe",{id:"iframe",ref:e.iframe,src:e.targetUrl,method:"get",onLoad:t[2]||(t[2]=(...t)=>e.onLoad&&e.onLoad(...t)),"on:loadStart":t[3]||(t[3]=(...t)=>e.onLoadStart&&e.onLoadStart(...t)),"on:loadEnd":t[4]||(t[4]=(...t)=>e.onLoadEnd&&e.onLoadEnd(...t))},null,40,["src"])],4)}]]);var I=o("./src/assets/hippyLogoWhite.png"),D=o.n(I),V=Object(r.defineComponent)({setup(){const e=Object(r.ref)({});return{defaultImage:f.a,hippyLogoImage:D.a,gifLoadResult:e,onTouchEnd:e=>{console.log("onTouchEnd",e),e.stopPropagation(),console.log(e)},onTouchMove:e=>{console.log("onTouchMove",e),e.stopPropagation(),console.log(e)},onTouchStart:e=>{console.log("onTouchDown",e),e.stopPropagation()},onLoad:t=>{console.log("onLoad",t);const{width:o,height:a,url:n}=t;e.value={width:o,height:a,url:n}}}}});o("./src/components/demo/demo-img.vue?vue&type=style&index=0&id=25c66a4a&scoped=true&lang=css");var H=i()(V,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"demo-img"},[Object(n.g)("div",{id:"demo-img-container"},[Object(n.g)("label",null,"Contain:"),Object(n.g)("img",{alt:"",src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",placeholder:e.defaultImage,class:"image contain",onTouchstart:t[0]||(t[0]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchmove:t[1]||(t[1]=(...t)=>e.onTouchMove&&e.onTouchMove(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},null,40,["placeholder"]),Object(n.g)("label",null,"Cover:"),Object(n.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover"},null,8,["placeholder"]),Object(n.g)("label",null,"Center:"),Object(n.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image center"},null,8,["placeholder"]),Object(n.g)("label",null,"CapInsets:"),Object(n.g)("img",{placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover",capInsets:{top:50,left:50,bottom:50,right:50}},null,8,["placeholder"]),Object(n.g)("label",null,"TintColor:"),Object(n.g)("img",{src:e.hippyLogoImage,class:"image center tint-color"},null,8,["src"]),Object(n.g)("label",null,"Gif:"),Object(n.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",class:"image cover",onLoad:t[3]||(t[3]=(...t)=>e.onLoad&&e.onLoad(...t))},null,40,["placeholder"]),Object(n.g)("div",{class:"img-result"},[Object(n.g)("p",null,"Load Result: "+Object(n.D)(e.gifLoadResult),1)])])])}],["__scopeId","data-v-25c66a4a"]]);const Y=e=>{e.stopPropagation()},B=e=>{console.log(e.value)},R=e=>{console.log("onKeyboardWillShow",e)},U=()=>{console.log("onKeyboardWillHide")};var N=Object(r.defineComponent)({setup(){const e=Object(r.ref)(null),t=Object(r.ref)(null),o=Object(r.ref)(""),a=Object(r.ref)(""),n=Object(r.ref)(!1),l=()=>{if(e.value){const t=e.value;if(t.childNodes.length){let e=t.childNodes;return e=e.filter(e=>"input"===e.tagName),e}}return[]};Object(r.onMounted)(()=>{Object(r.nextTick)(()=>{const e=l();e.length&&e[0].focus()})});return{input:t,inputDemo:e,text:o,event:a,isFocused:n,blur:e=>{e.stopPropagation(),t.value&&t.value.blur()},clearTextContent:()=>{o.value=""},focus:e=>{e.stopPropagation(),t.value&&t.value.focus()},blurAllInput:()=>{const e=l();e.length&&e.map(e=>(e.blur(),!0))},onKeyboardWillShow:R,onKeyboardWillHide:U,stopPropagation:Y,textChange:B,onChange:e=>{null!=e&&e.value&&(o.value=e.value)},onBlur:async()=>{t.value&&(n.value=await t.value.isFocused(),a.value="onBlur")},onFocus:async()=>{t.value&&(n.value=await t.value.isFocused(),a.value="onFocus")}}}});o("./src/components/demo/demo-input.vue?vue&type=style&index=0&id=ebfef7c0&scoped=true&lang=css");var M=i()(N,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{ref:"inputDemo",class:"demo-input",onClick:t[15]||(t[15]=Object(n.J)((...t)=>e.blurAllInput&&e.blurAllInput(...t),["stop"]))},[Object(n.g)("label",null,"文本:"),Object(n.g)("input",{ref:"input",placeholder:"Text","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",editable:!0,class:"input",value:e.text,onChange:t[0]||(t[0]=t=>e.text=t.value),onClick:t[1]||(t[1]=(...t)=>e.stopPropagation&&e.stopPropagation(...t)),"on:keyboardWillShow":t[2]||(t[2]=(...t)=>e.onKeyboardWillShow&&e.onKeyboardWillShow(...t)),"on:keyboardWillHide":t[3]||(t[3]=(...t)=>e.onKeyboardWillHide&&e.onKeyboardWillHide(...t)),onBlur:t[4]||(t[4]=(...t)=>e.onBlur&&e.onBlur(...t)),onFocus:t[5]||(t[5]=(...t)=>e.onFocus&&e.onFocus(...t))},null,40,["value"]),Object(n.g)("div",null,[Object(n.g)("span",null,"文本内容为:"),Object(n.g)("span",null,Object(n.D)(e.text),1)]),Object(n.g)("div",null,[Object(n.g)("span",null,Object(n.D)(`事件: ${e.event} | isFocused: ${e.isFocused}`),1)]),Object(n.g)("button",{class:"input-button",onClick:t[6]||(t[6]=Object(n.J)((...t)=>e.clearTextContent&&e.clearTextContent(...t),["stop"]))},[Object(n.g)("span",null,"清空文本内容")]),Object(n.g)("button",{class:"input-button",onClick:t[7]||(t[7]=Object(n.J)((...t)=>e.focus&&e.focus(...t),["stop"]))},[Object(n.g)("span",null,"Focus")]),Object(n.g)("button",{class:"input-button",onClick:t[8]||(t[8]=Object(n.J)((...t)=>e.blur&&e.blur(...t),["stop"]))},[Object(n.g)("span",null,"Blur")]),Object(n.g)("label",null,"数字:"),Object(n.g)("input",{type:"number","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Number",class:"input",onChange:t[9]||(t[9]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[10]||(t[10]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(n.g)("label",null,"密码:"),Object(n.g)("input",{type:"password","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Password",class:"input",onChange:t[11]||(t[11]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[12]||(t[12]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(n.g)("label",null,"文本(限制5个字符):"),Object(n.g)("input",{maxlength:5,"caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"5 个字符",class:"input",onChange:t[13]||(t[13]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[14]||(t[14]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32)],512)}],["__scopeId","data-v-ebfef7c0"]]);const z=[{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5}],F=e=>{console.log("onAppear",e)},W=e=>{console.log("onDisappear",e)},K=e=>{console.log("onWillAppear",e)},G=e=>{console.log("onWillDisappear",e)},J=e=>{console.log("momentumScrollBegin",e)},q=e=>{console.log("momentumScrollEnd",e)},Q=e=>{console.log("onScrollBeginDrag",e)},X=e=>{console.log("onScrollEndDrag",e)};var Z=Object(r.defineComponent)({setup(){const e=Object(r.ref)(""),t=Object(r.ref)([]),o=Object(r.ref)(null),a=Object(r.ref)(!1);let n=!1;let l=!1;return Object(r.onMounted)(()=>{n=!1,t.value=[...z]}),{loadingState:e,dataSource:t,delText:"Delete",list:o,STYLE_LOADING:100,horizontal:a,Platform:y.Native.Platform,onAppear:F,onDelete:e=>{void 0!==e.index&&t.value.splice(e.index,1)},onDisappear:W,onEndReached:async o=>{if(console.log("endReached",o),n)return;const a=t.value;n=!0,e.value="Loading now...",t.value=[...a,[{style:100}]];const r=await(async()=>new Promise(e=>{setTimeout(()=>e(z),600)}))();t.value=[...a,...r],n=!1},onWillAppear:K,onWillDisappear:G,changeDirection:()=>{a.value=!a.value},onScroll:e=>{console.log("onScroll",e.offsetY),e.offsetY<=0?l||(l=!0,console.log("onTopReached")):l=!1},onMomentumScrollBegin:J,onMomentumScrollEnd:q,onScrollBeginDrag:Q,onScrollEndDrag:X}}});o("./src/components/demo/demo-list.vue?vue&type=style&index=0&id=75193fb0&scoped=true&lang=css");var $=i()(Z,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"demo-list"},[Object(n.g)("ul",{id:"list",ref:"list",style:Object(n.p)(e.horizontal&&{height:50,flex:0}),horizontal:e.horizontal,exposureEventEnabled:!0,delText:e.delText,editable:!0,bounces:!0,rowShouldSticky:!0,overScrollEnabled:!0,scrollEventThrottle:1e3,"on:endReached":t[0]||(t[0]=(...t)=>e.onEndReached&&e.onEndReached(...t)),onDelete:t[1]||(t[1]=(...t)=>e.onDelete&&e.onDelete(...t)),onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[3]||(t[3]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[4]||(t[4]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[5]||(t[5]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[6]||(t[6]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,(t,o)=>(Object(n.t)(),Object(n.f)("li",{key:o,class:Object(n.o)(e.horizontal&&"item-horizontal-style"),type:t.style,sticky:1===o,onAppear:t=>e.onAppear(o),onDisappear:t=>e.onDisappear(o),"on:willAppear":t=>e.onWillAppear(o),"on:willDisappear":t=>e.onWillDisappear(o)},[1===t.style?(Object(n.t)(),Object(n.f)("div",{key:0,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{numberOfLines:1},Object(n.D)(o+": Style 1 UI"),1)])])):2===t.style?(Object(n.t)(),Object(n.f)("div",{key:1,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{numberOfLines:1},Object(n.D)(o+": Style 2 UI"),1)])])):5===t.style?(Object(n.t)(),Object(n.f)("div",{key:2,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{numberOfLines:1},Object(n.D)(o+": Style 5 UI"),1)])])):(Object(n.t)(),Object(n.f)("div",{key:3,class:"container"},[Object(n.g)("div",{class:"item-container"},[Object(n.g)("p",{id:"loading"},Object(n.D)(e.loadingState),1)])])),o!==e.dataSource.length-1?(Object(n.t)(),Object(n.f)("div",{key:4,class:"separator-line"})):Object(n.e)("v-if",!0)],42,["type","sticky","onAppear","onDisappear","on:willAppear","on:willDisappear"]))),128))],44,["horizontal","delText"]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:0,style:{position:"absolute",right:20,bottom:20,width:67,height:67,borderRadius:30,boxShadowOpacity:.6,boxShadowRadius:5,boxShadowOffsetX:3,boxShadowOffsetY:3,boxShadowColor:"#40b883"},onClick:t[7]||(t[7]=(...t)=>e.changeDirection&&e.changeDirection(...t))},[Object(n.g)("div",{style:{width:60,height:60,borderRadius:30,backgroundColor:"#40b883",display:"flex",justifyContent:"center",alignItems:"center"}},[Object(n.g)("p",{style:{color:"white"}}," 切换方向 ")])])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-75193fb0"]]);var ee=Object(r.defineComponent)({setup(){const e=Object(r.ref)(""),t=Object(r.ref)(0),o=Object(r.ref)({numberOfLines:2,ellipsizeMode:"tail"}),a=Object(r.ref)({textShadowOffset:{x:1,y:1},textShadowOffsetX:1,textShadowOffsetY:1,textShadowRadius:3,textShadowColor:"grey"}),n=Object(r.ref)("simple");return{img1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEXRSTlMA9QlZEMPc2Mmmj2VkLEJ4Rsx+pEgAAAChSURBVCjPjVLtEsMgCDOAdbbaNu//sttVPes+zvGD8wgQCLp/TORbUGMAQtQ3UBeSAMlF7/GV9Cmb5eTJ9R7H1t4bOqLE3rN2UCvvwpLfarhILfDjJL6WRKaXfzxc84nxAgLzCGSGiwKwsZUB8hPorZwUV1s1cnGKw+yAOrnI+7hatNIybl9Q3OkBfzopCw6SmDVJJiJ+yD451OS0/TNM7QnuAAbvCG0TSAAAAABJRU5ErkJggg==",img2:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAA\n AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEnRSTlMA/QpX7WQU2m27pi3Ej9KEQXaD5HhjAAAAqklEQVQoz41\n SWxLDIAh0RcFXTHL/yzZSO01LMpP9WJEVUNA9gfdXTioCSKE/kQQTQmf/ArRYva+xAcuPP37seFII2L7FN4BmXdHzlEPIpDHiZ0A7eIViPc\n w2QwqipkvMSdNEFBUE1bmMNOyE7FyFaIkAP4jHhhG80lvgkzBODTKpwhRMcexuR7fXzcp08UDq6GRbootp4oRtO3NNpd4NKtnR9hB6oaefw\n eIFQU0EfnGDRoQAAAAASUVORK5CYII=",img3:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",labelTouchStatus:e,textMode:o,textShadow:a,textShadowIndex:t,Platform:y.Native.Platform,breakStrategy:n,onTouchTextEnd:t=>{e.value="touch end",console.log("onTextTouchEnd",t),console.log(t)},onTouchTextMove:t=>{e.value="touch move",console.log("onTextTouchMove",t),console.log(t)},onTouchTextStart:t=>{e.value="touch start",console.log("onTextTouchDown",t)},decrementLine:()=>{o.value.numberOfLines>1&&(o.value.numberOfLines-=1)},incrementLine:()=>{o.value.numberOfLines<6&&(o.value.numberOfLines+=1)},changeMode:e=>{o.value.ellipsizeMode=e},changeTextShadow:()=>{a.value.textShadowOffsetX=t.value%2==1?10:1,a.value.textShadowColor=t.value%2==1?"red":"grey",t.value+=1},changeBreakStrategy:e=>{n.value=e}}}});o("./src/components/demo/demo-p.vue?vue&type=style&index=0&id=34e2123c&scoped=true&lang=css");var te=i()(ee,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"p-demo"},[Object(n.g)("div",null,[Object(n.g)("label",null,"不带样式:"),Object(n.g)("p",{class:"p-demo-content",onTouchstart:t[0]||(t[0]=Object(n.J)((...t)=>e.onTouchTextStart&&e.onTouchTextStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(n.J)((...t)=>e.onTouchTextMove&&e.onTouchTextMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(n.J)((...t)=>e.onTouchTextEnd&&e.onTouchTextEnd(...t),["stop"]))}," 这是最普通的一行文字 ",32),Object(n.g)("p",{class:"p-demo-content-status"}," 当前touch状态: "+Object(n.D)(e.labelTouchStatus),1),Object(n.g)("label",null,"颜色:"),Object(n.g)("p",{class:"p-demo-1 p-demo-content"}," 这行文字改变了颜色 "),Object(n.g)("label",null,"尺寸:"),Object(n.g)("p",{class:"p-demo-2 p-demo-content"}," 这行改变了大小 "),Object(n.g)("label",null,"粗体:"),Object(n.g)("p",{class:"p-demo-3 p-demo-content"}," 这行加粗了 "),Object(n.g)("label",null,"下划线:"),Object(n.g)("p",{class:"p-demo-4 p-demo-content"}," 这里有条下划线 "),Object(n.g)("label",null,"删除线:"),Object(n.g)("p",{class:"p-demo-5 p-demo-content"}," 这里有条删除线 "),Object(n.g)("label",null,"自定义字体:"),Object(n.g)("p",{class:"p-demo-6 p-demo-content"}," 腾讯字体 Hippy "),Object(n.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold"}}," 腾讯字体 Hippy 粗体 "),Object(n.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-style":"italic"}}," 腾讯字体 Hippy 斜体 "),Object(n.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold","font-style":"italic"}}," 腾讯字体 Hippy 粗斜体 "),Object(n.g)("label",null,"文字阴影:"),Object(n.g)("p",{class:"p-demo-7 p-demo-content",style:Object(n.p)(e.textShadow),onClick:t[3]||(t[3]=(...t)=>e.changeTextShadow&&e.changeTextShadow(...t))}," 这里是文字灰色阴影,点击可改变颜色 ",4),Object(n.g)("label",null,"文本字符间距"),Object(n.g)("p",{class:"p-demo-8 p-demo-content",style:{"margin-bottom":"5px"}}," Text width letter-spacing -1 "),Object(n.g)("p",{class:"p-demo-9 p-demo-content",style:{"margin-top":"5px"}}," Text width letter-spacing 5 "),Object(n.g)("label",null,"字体 style:"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"font-style":"normal"}}," font-style: normal "),Object(n.g)("p",{style:{"font-style":"italic"}}," font-style: italic "),Object(n.g)("p",null,"font-style: [not set]")]),Object(n.g)("label",null,"numberOfLines="+Object(n.D)(e.textMode.numberOfLines)+" | ellipsizeMode="+Object(n.D)(e.textMode.ellipsizeMode),1),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},[Object(n.g)("span",{style:{"font-size":"19px",color:"white"}},"先帝创业未半而中道崩殂,今天下三分,益州疲弊,此诚危急存亡之秋也。"),Object(n.g)("span",null,"然侍卫之臣不懈于内,忠志之士忘身于外者,盖追先帝之殊遇,欲报之于陛下也。")],8,["numberOfLines","ellipsizeMode"]),Object(n.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},Object(n.D)("line 1\n\nline 3\n\nline 5"),8,["numberOfLines","ellipsizeMode"]),Object(n.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5,fontSize:14}},[Object(n.g)("img",{style:{width:24,height:24},src:e.img1},null,8,["src"]),Object(n.g)("img",{style:{width:24,height:24},src:e.img2},null,8,["src"])],8,["numberOfLines","ellipsizeMode"]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[4]||(t[4]=(...t)=>e.incrementLine&&e.incrementLine(...t))},[Object(n.g)("span",null,"加一行")]),Object(n.g)("button",{class:"button",onClick:t[5]||(t[5]=(...t)=>e.decrementLine&&e.decrementLine(...t))},[Object(n.g)("span",null,"减一行")])]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[6]||(t[6]=()=>e.changeMode("clip"))},[Object(n.g)("span",null,"clip")]),Object(n.g)("button",{class:"button",onClick:t[7]||(t[7]=()=>e.changeMode("head"))},[Object(n.g)("span",null,"head")]),Object(n.g)("button",{class:"button",onClick:t[8]||(t[8]=()=>e.changeMode("middle"))},[Object(n.g)("span",null,"middle")]),Object(n.g)("button",{class:"button",onClick:t[9]||(t[9]=()=>e.changeMode("tail"))},[Object(n.g)("span",null,"tail")])])]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("label",{key:0},"break-strategy="+Object(n.D)(e.breakStrategy),1)):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:1,class:"p-demo-content"},[Object(n.g)("p",{"break-strategy":e.breakStrategy,style:{borderWidth:1,borderColor:"gray"}},Object(n.D)(e.longText),9,["break-strategy"]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[10]||(t[10]=Object(n.J)(()=>e.changeBreakStrategy("simple"),["stop"]))},[Object(n.g)("span",null,"simple")]),Object(n.g)("button",{class:"button",onClick:t[11]||(t[11]=Object(n.J)(()=>e.changeBreakStrategy("high_quality"),["stop"]))},[Object(n.g)("span",null,"high_quality")]),Object(n.g)("button",{class:"button",onClick:t[12]||(t[12]=Object(n.J)(()=>e.changeBreakStrategy("balanced"),["stop"]))},[Object(n.g)("span",null,"balanced")])])])):Object(n.e)("v-if",!0),Object(n.g)("label",null,"vertical-align"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img3},null,8,["src"]),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"top"}},"字"),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"middle"}},"字"),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"baseline"}},"字"),Object(n.g)("span",{style:{"font-size":"16","vertical-align":"bottom"}},"字")]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:0}," legacy mode: ")):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:1,style:{lineHeight:"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12","vertical-alignment":"1"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12","vertical-alignment":"2"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24","vertical-alignment":"3"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24",top:"-10"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"18",height:"12",top:"-5"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"12"},src:e.img3},null,8,["src"]),Object(n.g)("img",{style:{width:"36",height:"24",top:"5"},src:e.img3},null,8,["src"]),Object(n.g)("span",{style:{"font-size":"16"}},"字"),Object(n.g)("span",{style:{"font-size":"16"}},"字"),Object(n.g)("span",{style:{"font-size":"16"}},"字"),Object(n.g)("span",{style:{"font-size":"16"}},"字")])):Object(n.e)("v-if",!0)]),Object(n.g)("label",null,"tint-color & background-color"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(n.g)("span",{style:{"vertical-align":"middle","background-color":"#99f"}},"text")]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:0}," legacy mode: ")):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:1,style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","background-color":"#ccc"},src:e.img2},null,8,["src"])])):Object(n.e)("v-if",!0)]),Object(n.g)("label",null,"margin"),Object(n.g)("div",{class:"p-demo-content"},[Object(n.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"top","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"baseline","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-align":"bottom","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:0}," legacy mode: ")):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("p",{key:1,style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"1","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"2","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(n.g)("img",{style:{width:"24",height:"24","vertical-alignment":"3","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])])):Object(n.e)("v-if",!0)])])])}],["__scopeId","data-v-34e2123c"]]);var oe=Object(r.defineComponent)({setup:()=>({Platform:y.Native.Platform})});o("./src/components/demo/demo-shadow.vue?vue&type=style&index=0&id=19ab3f2d&scoped=true&lang=css");var ae=i()(oe,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"shadow-demo"},["android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:0,class:"no-offset-shadow-demo-cube-android"},[Object(n.g)("div",{class:"no-offset-shadow-demo-content-android"},[Object(n.g)("p",null,"没有偏移阴影样式")])])):Object(n.e)("v-if",!0),"ios"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:1,class:"no-offset-shadow-demo-cube-ios"},[Object(n.g)("div",{class:"no-offset-shadow-demo-content-ios"},[Object(n.g)("p",null,"没有偏移阴影样式")])])):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:2,class:"offset-shadow-demo-cube-android"},[Object(n.g)("div",{class:"offset-shadow-demo-content-android"},[Object(n.g)("p",null,"偏移阴影样式")])])):Object(n.e)("v-if",!0),"ios"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:3,class:"offset-shadow-demo-cube-ios"},[Object(n.g)("div",{class:"offset-shadow-demo-content-ios"},[Object(n.g)("p",null,"偏移阴影样式")])])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-19ab3f2d"]]);var ne=Object(r.defineComponent)({setup(){const e=Object(r.ref)("The quick brown fox jumps over the lazy dog,快灰狐狸跳过了懒 🐕。"),t=Object(r.ref)("simple");return{content:e,breakStrategy:t,Platform:y.Native.Platform,longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",contentSizeChange:e=>{console.log(e)},changeBreakStrategy:e=>{t.value=e}}}});o("./src/components/demo/demo-textarea.vue?vue&type=style&index=0&id=6d6167b3&scoped=true&lang=css");var re=i()(ne,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"demo-textarea"},[Object(n.g)("label",null,"多行文本:"),Object(n.g)("textarea",{value:e.content,rows:10,placeholder:"多行文本编辑器",class:"textarea",onChange:t[0]||(t[0]=t=>e.content=t.value),"on:contentSizeChange":t[1]||(t[1]=(...t)=>e.contentSizeChange&&e.contentSizeChange(...t))},null,40,["value"]),Object(n.g)("div",{class:"output-container"},[Object(n.g)("p",{class:"output"}," 输入的文本为:"+Object(n.D)(e.content),1)]),"android"===e.Platform?(Object(n.t)(),Object(n.f)("label",{key:0},"break-strategy="+Object(n.D)(e.breakStrategy),1)):Object(n.e)("v-if",!0),"android"===e.Platform?(Object(n.t)(),Object(n.f)("div",{key:1},[Object(n.g)("textarea",{class:"textarea",defaultValue:e.longText,"break-strategy":e.breakStrategy},null,8,["defaultValue","break-strategy"]),Object(n.g)("div",{class:"button-bar"},[Object(n.g)("button",{class:"button",onClick:t[2]||(t[2]=()=>e.changeBreakStrategy("simple"))},[Object(n.g)("span",null,"simple")]),Object(n.g)("button",{class:"button",onClick:t[3]||(t[3]=()=>e.changeBreakStrategy("high_quality"))},[Object(n.g)("span",null,"high_quality")]),Object(n.g)("button",{class:"button",onClick:t[4]||(t[4]=()=>e.changeBreakStrategy("balanced"))},[Object(n.g)("span",null,"balanced")])])])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-6d6167b3"]]);var le=o("./src/components/demo/demoTurbo.ts"),ce=Object(r.defineComponent)({setup(){let e=null;const t=Object(r.ref)("");return{result:t,funList:["getString","getNum","getBoolean","getMap","getObject","getArray","nativeWithPromise","getTurboConfig","printTurboConfig","getInfo","setInfo"],onTurboFunc:async o=>{if("nativeWithPromise"===o)t.value=await Object(le.h)("aaa");else if("getTurboConfig"===o)e=Object(le.g)(),t.value="获取到config对象";else if("printTurboConfig"===o){var a;t.value=Object(le.i)(null!==(a=e)&&void 0!==a?a:Object(le.g)())}else if("getInfo"===o){var n;t.value=(null!==(n=e)&&void 0!==n?n:Object(le.g)()).getInfo()}else if("setInfo"===o){var r;(null!==(r=e)&&void 0!==r?r:Object(le.g)()).setInfo("Hello World"),t.value="设置config信息成功"}else{const e={getString:()=>Object(le.f)("123"),getNum:()=>Object(le.d)(1024),getBoolean:()=>Object(le.b)(!0),getMap:()=>Object(le.c)(new Map([["a","1"],["b","2"]])),getObject:()=>Object(le.e)({c:"3",d:"4"}),getArray:()=>Object(le.a)(["a","b","c"])};t.value=e[o]()}}}}});o("./src/components/demo/demo-turbo.vue?vue&type=style&index=0&id=3b8c7a7f&lang=css");var ie=i()(ce,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"demo-turbo"},[Object(n.g)("span",{class:"result"},Object(n.D)(e.result),1),Object(n.g)("ul",{style:{flex:"1"}},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.funList,t=>(Object(n.t)(),Object(n.f)("li",{key:t,class:"cell"},[Object(n.g)("div",{class:"contentView"},[Object(n.g)("div",{class:"func-info"},[Object(n.g)("span",{numberOfLines:0},"函数名:"+Object(n.D)(t),1)]),Object(n.g)("span",{class:"action-button",onClick:Object(n.J)(()=>e.onTurboFunc(t),["stop"])},"运行",8,["onClick"])])]))),128))])])}]]);let se=null;const de=Object(r.ref)([]),pe=e=>{de.value.unshift(e)},ue=()=>{se&&1===se.readyState&&se.close()};var be=Object(r.defineComponent)({setup(){const e=Object(r.ref)(null),t=Object(r.ref)(null);return{output:de,inputUrl:e,inputMessage:t,connect:()=>{const t=e.value;t&&t.getValue().then(e=>{(e=>{ue(),se=new WebSocket(e),se.onopen=()=>{var e;return pe("[Opened] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onclose=()=>{var e;return pe("[Closed] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onerror=e=>{pe("[Error] "+e.reason)},se.onmessage=e=>pe("[Received] "+e.data)})(e)})},disconnect:()=>{ue()},sendMessage:()=>{const e=t.value;e&&e.getValue().then(e=>{(e=>{pe("[Sent] "+e),se&&se.send(e)})(e)})}}}});o("./src/components/demo/demo-websocket.vue?vue&type=style&index=0&id=99a0fc74&scoped=true&lang=css");var ye={demoDiv:{name:"div 组件",component:C},demoShadow:{name:"box-shadow",component:ae},demoP:{name:"p 组件",component:te},demoButton:{name:"button 组件",component:s},demoImg:{name:"img 组件",component:H},demoInput:{name:"input 组件",component:M},demoTextarea:{name:"textarea 组件",component:re},demoUl:{name:"ul/li 组件",component:$},demoIFrame:{name:"iframe 组件",component:L},demoWebSocket:{name:"WebSocket",component:i()(be,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"websocket-demo"},[Object(n.g)("div",null,[Object(n.g)("p",{class:"demo-title"}," Url: "),Object(n.g)("input",{ref:"inputUrl",value:"wss://echo.websocket.org"},null,512),Object(n.g)("div",{class:"row"},[Object(n.g)("button",{onClick:t[0]||(t[0]=Object(n.J)((...t)=>e.connect&&e.connect(...t),["stop"]))},[Object(n.g)("span",null,"Connect")]),Object(n.g)("button",{onClick:t[1]||(t[1]=Object(n.J)((...t)=>e.disconnect&&e.disconnect(...t),["stop"]))},[Object(n.g)("span",null,"Disconnect")])])]),Object(n.g)("div",null,[Object(n.g)("p",{class:"demo-title"}," Message: "),Object(n.g)("input",{ref:"inputMessage",value:"Rock it with Hippy WebSocket"},null,512),Object(n.g)("button",{onClick:t[2]||(t[2]=Object(n.J)((...t)=>e.sendMessage&&e.sendMessage(...t),["stop"]))},[Object(n.g)("span",null,"Send")])]),Object(n.g)("div",null,[Object(n.g)("p",{class:"demo-title"}," Log: "),Object(n.g)("div",{class:"output fullscreen"},[Object(n.g)("div",null,[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.output,(e,t)=>(Object(n.t)(),Object(n.f)("p",{key:t},Object(n.D)(e),1))),128))])])])])}],["__scopeId","data-v-99a0fc74"]])},demoDynamicImport:{name:"DynamicImport",component:E},demoTurbo:{name:"Turbo",component:ie}};var ve=Object(r.defineComponent)({setup(){const e=Object(r.ref)(null),t=Object(r.ref)(0),o=Object(r.ref)(0);Object(r.onMounted)(()=>{o.value=y.Native.Dimensions.screen.width});return{demoOnePointRef:e,demon2Left:t,screenWidth:o,onTouchDown1:t=>{const a=t.touches[0].clientX-40;console.log("touchdown x",a,o.value),e.value&&e.value.setNativeProps({style:{left:a}})},onTouchDown2:e=>{t.value=e.touches[0].clientX-40,console.log("touchdown x",t.value,o.value)},onTouchMove1:t=>{const a=t.touches[0].clientX-40;console.log("touchmove x",a,o.value),e.value&&e.value.setNativeProps({style:{left:a}})},onTouchMove2:e=>{t.value=e.touches[0].clientX-40,console.log("touchmove x",t.value,o.value)}}}});o("./src/components/demo/demo-set-native-props.vue?vue&type=style&index=0&id=4521f010&scoped=true&lang=css");var fe=i()(ve,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"set-native-props-demo"},[Object(n.g)("label",null,"setNativeProps实现拖动效果"),Object(n.g)("div",{class:"native-demo-1-drag",style:Object(n.p)({width:e.screenWidth}),onTouchstart:t[0]||(t[0]=Object(n.J)((...t)=>e.onTouchDown1&&e.onTouchDown1(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(n.J)((...t)=>e.onTouchMove1&&e.onTouchMove1(...t),["stop"]))},[Object(n.g)("div",{ref:"demoOnePointRef",class:"native-demo-1-point"},null,512)],36),Object(n.g)("div",{class:"splitter"}),Object(n.g)("label",null,"普通渲染实现拖动效果"),Object(n.g)("div",{class:"native-demo-2-drag",style:Object(n.p)({width:e.screenWidth}),onTouchstart:t[2]||(t[2]=Object(n.J)((...t)=>e.onTouchDown2&&e.onTouchDown2(...t),["stop"])),onTouchmove:t[3]||(t[3]=Object(n.J)((...t)=>e.onTouchMove2&&e.onTouchMove2(...t),["stop"]))},[Object(n.g)("div",{class:"native-demo-2-point",style:Object(n.p)({left:e.demon2Left+"px"})},null,4)],36)])}],["__scopeId","data-v-4521f010"]]);const ge={backgroundColor:[{startValue:"#40b883",toValue:"yellow",valueType:"color",duration:1e3,delay:0,mode:"timing",timingFunction:"linear"},{startValue:"yellow",toValue:"#40b883",duration:1e3,valueType:"color",delay:0,mode:"timing",timingFunction:"linear",repeatCount:-1}]};var me=Object(r.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup:()=>({colorActions:ge})});o("./src/components/native-demo/animations/color-change.vue?vue&type=style&index=0&id=35b77823&scoped=true&lang=css");var he=i()(me,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationView",playing:e.playing,actions:e.colorActions,class:"color-green"},{default:Object(n.H)(()=>[Object(n.g)("div",{class:"color-white"},[Object(n.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-35b77823"]]);const je={transform:{translateX:[{startValue:50,toValue:150,duration:1e3,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"},{startValue:150,toValue:50,duration:1e3,repeatCount:-1,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"}]}};var Oe=Object(r.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup(e){const t=Object(r.ref)(null);return Object(r.onMounted)(()=>{e.onRef&&e.onRef(t.value)}),{animationView:t,loopActions:je}}});o("./src/components/native-demo/animations/cubic-bezier.vue?vue&type=style&index=0&id=0ffc52dc&scoped=true&lang=css");var _e=i()(Oe,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationView",playing:e.playing,actions:e.loopActions,class:"loop-green"},{default:Object(n.H)(()=>[Object(n.g)("div",{class:"loop-white"},[Object(n.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-0ffc52dc"]]);const we={transform:{translateX:{startValue:0,toValue:200,duration:2e3,repeatCount:-1}}},xe={transform:{translateY:{startValue:0,toValue:50,duration:2e3,repeatCount:-1}}};var Se=Object(r.defineComponent)({props:{playing:Boolean,direction:{type:String,default:""},onRef:{type:Function,default:()=>{}}},emits:["actionsDidUpdate"],setup(e){const{direction:t}=Object(r.toRefs)(e),o=Object(r.ref)(""),a=Object(r.ref)(null);return Object(r.watch)(t,e=>{switch(e){case"horizon":o.value=we;break;case"vertical":o.value=xe;break;default:throw new Error("direction must be defined in props")}},{immediate:!0}),Object(r.onMounted)(()=>{e.onRef&&e.onRef(a.value)}),{loopActions:o,animationLoop:a}}});o("./src/components/native-demo/animations/loop.vue?vue&type=style&index=0&id=54047ca5&scoped=true&lang=css");var Ae=i()(Se,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationLoop",playing:e.playing,actions:e.loopActions,class:"loop-green",onActionsDidUpdate:t[0]||(t[0]=t=>e.$emit("actionsDidUpdate"))},{default:Object(n.H)(()=>[Object(n.g)("div",{class:"loop-white"},[Object(n.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-54047ca5"]]);const ke={transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},Ce={transform:{translateX:[{startValue:10,toValue:1,duration:250,timingFunction:"linear"},{startValue:1,toValue:10,duration:250,delay:750,timingFunction:"linear",repeatCount:-1}]}};var Pe=Object(r.defineComponent)({props:{isChanged:{type:Boolean,default:!0}},setup(e){const t=Object(r.ref)(null),o=Object(r.ref)({face:ke,downVoteFace:{left:[{startValue:16,toValue:10,delay:250,duration:125},{startValue:10,toValue:24,duration:250},{startValue:24,toValue:10,duration:250},{startValue:10,toValue:16,duration:125}],transform:{scale:[{startValue:1,toValue:1.3,duration:250,timingFunction:"linear"},{startValue:1.3,toValue:1,delay:750,duration:250,timingFunction:"linear"}]}}}),{isChanged:a}=Object(r.toRefs)(e);return Object(r.watch)(a,(e,a)=>{!a&&e?(console.log("changed to face2"),o.value.face=Ce):a&&!e&&(console.log("changed to face1"),o.value.face=ke),setTimeout(()=>{t.value&&t.value.start()},10)}),{animationRef:t,imgs:{downVoteFace:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAXVBMVEUAAACmaCCoaSKlZyCmaCCoaiG0byOlZyCmaCGnaSKmaCCmZyClZyCmaCCmaSCybyymZyClaCGlaCGnaCCnaSGnaiOlZyKocCXMmTOmaCKnaCKmaSClZyGoZyClZyDPYmTmAAAAHnRSTlMA6S/QtjYO+FdJ4tyZbWYH7cewgTw5JRQFkHFfXk8vbZ09AAAAiUlEQVQY07WQRxLDMAhFPyq21dxLKvc/ZoSiySTZ+y3g8YcFA5wFcOkHYEi5QDkknparH5EZKS6GExQLs0RzUQUY6VYiK2ayNIapQ6EjNk2xd616Bi5qIh2fn8BqroS1XtPmgYKXxo+y07LuDrH95pm3LBM5FMpHWg2osOOLjRR6hR/WOw780bwASN0IT3NosMcAAAAASUVORK5CYII="},animations:o,animationStart:()=>{console.log("animation-start callback")},animationEnd:()=>{console.log("animation-end callback")},animationRepeat:()=>{console.log("animation-repeat callback")},animationCancel:()=>{console.log("animation-cancel callback")}}}});o("./src/components/native-demo/animations/vote-down.vue?vue&type=style&index=0&id=7020ef76&scoped=true&lang=css");var Ee=i()(Pe,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{ref:"animationRef",actions:e.animations.face,class:"vote-face",playing:"",onStart:e.animationStart,onEnd:e.animationEnd,onRepeat:e.animationRepeat,onCancel:e.animationCancel},null,8,["actions","onStart","onEnd","onRepeat","onCancel"]),Object(n.i)(c,{tag:"img",class:"vote-down-face",playing:"",props:{src:e.imgs.downVoteFace},actions:e.animations.downVoteFace},null,8,["props","actions"])])}],["__scopeId","data-v-7020ef76"]]);var Te=Object(r.defineComponent)({setup:()=>({imgs:{upVoteEye:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAFCAYAAABIHbx0AAAAAXNSR0IArs4c6QAAAQdJREFUGBljZACCVeVK/L8//m9i/P/flIGR8ZgwD2+9e8+lryA5dLCzRI/77ZfPjQz//1v9Z2Q8zcrPWBfWee8j45mZxqw3z709BdRgANPEyMhwLFIiwZaxoeEfTAxE/29oYFr+YsHh//8ZrJDEL6gbCZsxO8pwJP9nYEhFkgAxZS9/vXxj3Zn3V5DF1TQehwNdUogsBmRLvH/x4zHLv///PRgZGH/9Z2TYzsjAANT4Xxko6c/A8M8DSK9A1sQIFPvPwPibkeH/VmAQXAW6TAWo3hdkBgsTE9Pa/2z/s6In3n8J07SsWE2E4esfexgfRgMt28rBwVEZPOH6c5jYqkJtod/ff7gBAOnFYtdEXHPzAAAAAElFTkSuQmCC",upVoteMouth:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAARCAMAAACLgl7OAAAA4VBMVEUAAACobCawciy0f0OmaSOmaSKlaCCmZyCmaCGpayO2hEmpbiq3hUuweTqscjCmaCGmZyCmZyClaCCmaCCmaSGoaCL///+vdzimaCGmaCKmaSKlZyGmaCGmaCGnaCGnaCGnaCGmaCKscCW/gEDDmmm9j1m6ilSnaSOmaSGqcCylZyGrcCymZyClaCGnaCKmaSCqaiumbyH///+lZyDTtJDawKLLp37XupmyfT/+/v3o18XfybDJo3jBlWP8+vf48+z17uXv49bq3Mv28Ony6N3x59zbwqXSs5DQsIrNqoK5h0+BlvpqAAAAMnRSTlMA/Qv85uChjIMl/f38/Pv4zq6nl04wAfv18tO7tXx0Y1tGEQT+/v3b1q+Ui35sYj8YF964s/kAAADySURBVCjPddLHVsJgEIbhL6QD6Qldqr2bgfTQ7N7/Bckv6omYvItZPWcWcwbTC+f6dqLWcFBNvRsPZekKNeKI1RFMS3JkRZEdyTKFDrEaNACMt3i9TcP3KOLb+g5zepuPoiBMk6elr0mAkPlfBQs253M2F4G/j5OBPl8NNjQGhrSqBCHdAx6lleCkB6AlNqvAho6wa0RJBTjuThmYifVlKUjYApZLWRl41M9/7qtQ+B+sml0V37VsCuID8KwZE+BXKFTPiyB75QQPxVyR+Jf1HsTbvEH2A/42G50Raaf1j7zZIMPyUJJ6Y/d7ojm4dAvf8QkUbUjwOwWDwQAAAABJRU5ErkJggg=="},animations:{face:{transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},upVoteEye:{top:[{startValue:14,toValue:8,delay:250,duration:125},{startValue:8,toValue:14,duration:250},{startValue:14,toValue:8,duration:250},{startValue:8,toValue:14,duration:125}],transform:{scale:[{startValue:1.2,toValue:1.4,duration:250,timingFunction:"linear"},{startValue:1.4,toValue:1.2,delay:750,duration:250,timingFunction:"linear"}]}},upVoteMouth:{bottom:[{startValue:9,toValue:14,delay:250,duration:125},{startValue:14,toValue:9,duration:250},{startValue:9,toValue:14,duration:250},{startValue:14,toValue:9,duration:125}],transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,delay:750,duration:250,timingFunction:"linear"}],scaleY:[{startValue:.725,delay:250,toValue:1.45,duration:125},{startValue:1.45,toValue:.87,duration:250},{startValue:.87,toValue:1.45,duration:250},{startValue:1.45,toValue:1,duration:125}]}}}})});o("./src/components/native-demo/animations/vote-up.vue?vue&type=style&index=0&id=0dd85e5f&scoped=true&lang=css");var Le=i()(Te,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("animation");return Object(n.t)(),Object(n.f)("div",null,[Object(n.i)(c,{actions:e.animations.face,class:"vote-face",playing:""},null,8,["actions"]),Object(n.i)(c,{tag:"img",class:"vote-up-eye",playing:"",props:{src:e.imgs.upVoteEye},actions:e.animations.upVoteEye},null,8,["props","actions"]),Object(n.i)(c,{tag:"img",class:"vote-up-mouth",playing:"",props:{src:e.imgs.upVoteMouth},actions:e.animations.upVoteMouth},null,8,["props","actions"])])}],["__scopeId","data-v-0dd85e5f"]]),Ie=Object(r.defineComponent)({components:{Loop:Ae,colorComponent:he,CubicBezier:_e},setup(){const e=Object(r.ref)(!0),t=Object(r.ref)(!0),o=Object(r.ref)(!0),a=Object(r.ref)("horizon"),n=Object(r.ref)(!0),l=Object(r.ref)(null),c=Object(r.shallowRef)(Le);return{loopPlaying:e,colorPlaying:t,cubicPlaying:o,direction:a,voteComponent:c,colorComponent:he,isChanged:n,animationRef:l,voteUp:()=>{c.value=Le},voteDown:()=>{c.value=Ee,n.value=!n.value},onRef:e=>{l.value=e},toggleLoopPlaying:()=>{e.value=!e.value},toggleColorPlaying:()=>{t.value=!t.value},toggleCubicPlaying:()=>{o.value=!o.value},toggleDirection:()=>{a.value="horizon"===a.value?"vertical":"horizon"},actionsDidUpdate:()=>{Object(r.nextTick)().then(()=>{console.log("actions updated & startAnimation"),l.value&&l.value.start()})}}}});o("./src/components/native-demo/demo-animation.vue?vue&type=style&index=0&id=4fa3f0c0&scoped=true&lang=css");var De=i()(Ie,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("loop"),i=Object(n.z)("color-component"),s=Object(n.z)("cubic-bezier");return Object(n.t)(),Object(n.f)("ul",{id:"animation-demo"},[Object(n.g)("li",null,[Object(n.g)("label",null,"控制动画"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.toggleLoopPlaying&&e.toggleLoopPlaying(...t))},[e.loopPlaying?(Object(n.t)(),Object(n.f)("span",{key:0},"暂停")):(Object(n.t)(),Object(n.f)("span",{key:1},"播放"))]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.toggleDirection&&e.toggleDirection(...t))},["horizon"===e.direction?(Object(n.t)(),Object(n.f)("span",{key:0},"切换为纵向")):(Object(n.t)(),Object(n.f)("span",{key:1},"切换为横向"))])]),Object(n.g)("div",{style:{height:"150px"}},[Object(n.i)(c,{playing:e.loopPlaying,direction:e.direction,"on-ref":e.onRef,onActionsDidUpdate:e.actionsDidUpdate},{default:Object(n.H)(()=>[Object(n.g)("p",null,"I'm a looping animation")]),_:1},8,["playing","direction","on-ref","onActionsDidUpdate"])])]),Object(n.g)("li",null,[Object(n.g)("div",{style:{"margin-top":"10px"}}),Object(n.g)("label",null,"点赞笑脸动画:"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[2]||(t[2]=(...t)=>e.voteUp&&e.voteUp(...t))},[Object(n.g)("span",null,"点赞 👍")]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[3]||(t[3]=(...t)=>e.voteDown&&e.voteDown(...t))},[Object(n.g)("span",null,"踩 👎")])]),Object(n.g)("div",{class:"vote-face-container center"},[(Object(n.t)(),Object(n.d)(Object(n.A)(e.voteComponent),{class:"vote-icon","is-changed":e.isChanged},null,8,["is-changed"]))])]),Object(n.g)("li",null,[Object(n.g)("div",{style:{"margin-top":"10px"}}),Object(n.g)("label",null,"渐变色动画"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[4]||(t[4]=(...t)=>e.toggleColorPlaying&&e.toggleColorPlaying(...t))},[e.colorPlaying?(Object(n.t)(),Object(n.f)("span",{key:0},"暂停")):(Object(n.t)(),Object(n.f)("span",{key:1},"播放"))])]),Object(n.g)("div",null,[Object(n.i)(i,{playing:e.colorPlaying},{default:Object(n.H)(()=>[Object(n.g)("p",null,"背景色渐变")]),_:1},8,["playing"])])]),Object(n.g)("li",null,[Object(n.g)("div",{style:{"margin-top":"10px"}}),Object(n.g)("label",null,"贝塞尔曲线动画"),Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[5]||(t[5]=(...t)=>e.toggleCubicPlaying&&e.toggleCubicPlaying(...t))},[e.cubicPlaying?(Object(n.t)(),Object(n.f)("span",{key:0},"暂停")):(Object(n.t)(),Object(n.f)("span",{key:1},"播放"))])]),Object(n.g)("div",null,[Object(n.i)(s,{playing:e.cubicPlaying},{default:Object(n.H)(()=>[Object(n.g)("p",null,"cubic-bezier(.45,2.84,.38,.5)")]),_:1},8,["playing"])])])])}],["__scopeId","data-v-4fa3f0c0"]]);var Ve=o("./node_modules/vue-router/dist/vue-router.mjs");const He=["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"];var Ye=Object(r.defineComponent)({setup(){const e=Object(r.ref)(!1),t=Object(r.ref)(!1),o=Object(r.ref)("fade"),a=Object(r.ref)(!1),n=Object(r.ref)(!1),l=Object(r.ref)(!1);return Object(Ve.onBeforeRouteLeave)((t,o,a)=>{e.value||a()}),{supportedOrientations:He,dialogIsVisible:e,dialog2IsVisible:t,dialogAnimationType:o,immersionStatusBar:a,autoHideStatusBar:n,autoHideNavigationBar:l,stopPropagation:e=>{e.stopPropagation()},onClose:o=>{o.stopPropagation(),t.value?t.value=!1:e.value=!1,console.log("Dialog is closing")},onShow:()=>{console.log("Dialog is opening")},onClickView:(t="")=>{e.value=!e.value,o.value=t},onClickOpenSecond:e=>{e.stopPropagation(),t.value=!t.value},onClickDialogConfig:e=>{switch(e){case"hideStatusBar":n.value=!n.value;break;case"immerseStatusBar":a.value=!a.value;break;case"hideNavigationBar":l.value=!l.value}}}}});o("./src/components/native-demo/demo-dialog.vue?vue&type=style&index=0&id=cfef1922&scoped=true&lang=css");var Be=i()(Ye,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{id:"dialog-demo"},[Object(n.g)("label",null,"显示或者隐藏对话框:"),Object(n.g)("button",{class:"dialog-demo-button-1",onClick:t[0]||(t[0]=Object(n.J)(()=>e.onClickView("slide"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"显示对话框--slide")]),Object(n.g)("button",{class:"dialog-demo-button-1",onClick:t[1]||(t[1]=Object(n.J)(()=>e.onClickView("fade"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"显示对话框--fade")]),Object(n.g)("button",{class:"dialog-demo-button-1",onClick:t[2]||(t[2]=Object(n.J)(()=>e.onClickView("slide_fade"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"显示对话框--slide_fade")]),Object(n.g)("button",{style:Object(n.p)([{borderColor:e.autoHideStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[3]||(t[3]=Object(n.J)(()=>e.onClickDialogConfig("hideStatusBar"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"隐藏状态栏")],4),Object(n.g)("button",{style:Object(n.p)([{borderColor:e.immersionStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[4]||(t[4]=Object(n.J)(()=>e.onClickDialogConfig("immerseStatusBar"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"沉浸式状态栏")],4),Object(n.g)("button",{style:Object(n.p)([{borderColor:e.autoHideNavigationBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[5]||(t[5]=Object(n.J)(()=>e.onClickDialogConfig("hideNavigationBar"),["stop"]))},[Object(n.g)("span",{class:"button-text"},"隐藏导航栏")],4),Object(n.e)(" dialog can't support v-show, can only use v-if for explicit switching "),e.dialogIsVisible?(Object(n.t)(),Object(n.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,supportedOrientations:e.supportedOrientations,immersionStatusBar:e.immersionStatusBar,autoHideStatusBar:e.autoHideStatusBar,autoHideNavigationBar:e.autoHideNavigationBar,onShow:t[11]||(t[11]=(...t)=>e.onShow&&e.onShow(...t)),"on:requestClose":t[12]||(t[12]=(...t)=>e.onClose&&e.onClose(...t))},[Object(n.e)(" dialog on iOS platform can only have one child node "),Object(n.g)("div",{class:"dialog-demo-wrapper"},[Object(n.g)("div",{class:"fullscreen center row",onClick:t[10]||(t[10]=(...t)=>e.onClickView&&e.onClickView(...t))},[Object(n.g)("div",{class:"dialog-demo-close-btn center column",onClick:t[7]||(t[7]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},[Object(n.g)("p",{class:"dialog-demo-close-btn-text"}," 点击空白区域关闭 "),Object(n.g)("button",{class:"dialog-demo-button-2",onClick:t[6]||(t[6]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(n.g)("span",{class:"button-text"},"点击打开二级全屏弹窗")])]),e.dialog2IsVisible?(Object(n.t)(),Object(n.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,"on:requestClose":t[9]||(t[9]=(...t)=>e.onClose&&e.onClose(...t))},[Object(n.g)("div",{class:"dialog-2-demo-wrapper center column row",onClick:t[8]||(t[8]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(n.g)("p",{class:"dialog-demo-close-btn-text",style:{color:"white"}}," Hello 我是二级全屏弹窗,点击任意位置关闭。 ")])],40,["animationType"])):Object(n.e)("v-if",!0)])])],40,["animationType","supportedOrientations","immersionStatusBar","autoHideStatusBar","autoHideNavigationBar"])):Object(n.e)("v-if",!0)])}],["__scopeId","data-v-cfef1922"]]);var Re=o("./src/util.ts");let Ue;var Ne=Object(r.defineComponent)({setup(){const e=Object(r.ref)("ready to set"),t=Object(r.ref)(""),o=Object(r.ref)("ready to set"),a=Object(r.ref)(""),n=Object(r.ref)(""),l=Object(r.ref)("正在获取..."),c=Object(r.ref)(""),i=Object(r.ref)(""),s=Object(r.ref)(""),d=Object(r.ref)(null),p=Object(r.ref)("请求网址中..."),u=Object(r.ref)("ready to set"),b=Object(r.ref)(""),v=Object(r.ref)(0);return Object(r.onMounted)(()=>{s.value=JSON.stringify(Object(Re.a)()),y.Native.NetInfo.fetch().then(e=>{l.value=e}),Ue=y.Native.NetInfo.addEventListener("change",e=>{l.value="收到通知: "+e.network_info}),fetch("https://hippyjs.org",{mode:"no-cors"}).then(e=>{p.value="成功状态: "+e.status}).catch(e=>{p.value="收到错误: "+e}),y.EventBus.$on("testEvent",()=>{v.value+=1})}),{Native:y.Native,rect1:c,rect2:i,rectRef:d,storageValue:a,storageSetStatus:o,clipboardString:e,clipboardValue:t,imageSize:n,netInfoText:l,superProps:s,fetchText:p,cookieString:u,cookiesValue:b,getSize:async()=>{const e=await y.Native.ImageLoader.getSize("https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png");console.log("ImageLoader getSize",e),n.value=`${e.width}x${e.height}`},setItem:()=>{y.Native.AsyncStorage.setItem("itemKey","hippy"),o.value='set "hippy" value succeed'},getItem:async()=>{const e=await y.Native.AsyncStorage.getItem("itemKey");a.value=e||"undefined"},removeItem:()=>{y.Native.AsyncStorage.removeItem("itemKey"),o.value='remove "hippy" value succeed'},setString:()=>{y.Native.Clipboard.setString("hippy"),e.value='clipboard set "hippy" value succeed'},getString:async()=>{const e=await y.Native.Clipboard.getString();t.value=e||"undefined"},setCookie:()=>{y.Native.Cookie.set("https://hippyjs.org","name=hippy;network=mobile"),u.value="'name=hippy;network=mobile' is set"},getCookie:()=>{y.Native.Cookie.getAll("https://hippyjs.org").then(e=>{b.value=e})},getBoundingClientRect:async(e=!1)=>{try{const t=await y.Native.getBoundingClientRect(d.value,{relToContainer:e});e?i.value=""+JSON.stringify(t):c.value=""+JSON.stringify(t)}catch(e){console.error("getBoundingClientRect error",e)}},triggerAppEvent:()=>{y.EventBus.$emit("testEvent")},eventTriggeredTimes:v}},beforeDestroy(){Ue&&y.Native.NetInfo.removeEventListener("change",Ue),y.EventBus.$off("testEvent")}});o("./src/components/native-demo/demo-vue-native.vue?vue&type=style&index=0&id=ad452900&scoped=true&lang=css");var Me=i()(Ne,[["render",function(e,t,o,a,r,l){var c,i;return Object(n.t)(),Object(n.f)("div",{id:"demo-vue-native",ref:"rectRef"},[Object(n.g)("div",null,[Object(n.e)(" platform "),e.Native.Platform?(Object(n.t)(),Object(n.f)("div",{key:0,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Platform"),Object(n.g)("p",null,Object(n.D)(e.Native.Platform),1)])):Object(n.e)("v-if",!0),Object(n.e)(" device name "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Device"),Object(n.g)("p",null,Object(n.D)(e.Native.Device),1)]),Object(n.e)(" Is it an iPhone X "),e.Native.isIOS()?(Object(n.t)(),Object(n.f)("div",{key:1,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.isIPhoneX"),Object(n.g)("p",null,Object(n.D)(e.Native.isIPhoneX),1)])):Object(n.e)("v-if",!0),Object(n.e)(" OS version, currently only available for iOS, other platforms return null "),e.Native.isIOS()?(Object(n.t)(),Object(n.f)("div",{key:2,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.OSVersion"),Object(n.g)("p",null,Object(n.D)(e.Native.OSVersion||"null"),1)])):Object(n.e)("v-if",!0),Object(n.e)(" Internationalization related information "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Localization"),Object(n.g)("p",null,Object(n.D)("国际化相关信息")),Object(n.g)("p",null,Object(n.D)("国家 "+(null===(c=e.Native.Localization)||void 0===c?void 0:c.country)),1),Object(n.g)("p",null,Object(n.D)("语言 "+(null===(i=e.Native.Localization)||void 0===i?void 0:i.language)),1),Object(n.g)("p",null,Object(n.D)("方向 "+(1===e.Native.Localization.direction?"RTL":"LTR")),1)]),Object(n.e)(" API version, currently only available for Android, other platforms return null "),e.Native.isAndroid()?(Object(n.t)(),Object(n.f)("div",{key:3,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.APILevel"),Object(n.g)("p",null,Object(n.D)(e.Native.APILevel||"null"),1)])):Object(n.e)("v-if",!0),Object(n.e)(" Whether the screen is vertically displayed "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.screenIsVertical"),Object(n.g)("p",null,Object(n.D)(e.Native.screenIsVertical),1)]),Object(n.e)(" width of window "),e.Native.Dimensions.window.width?(Object(n.t)(),Object(n.f)("div",{key:4,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.width"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.window.width),1)])):Object(n.e)("v-if",!0),Object(n.e)(" The height of the window, it should be noted that both platforms include the status bar. "),Object(n.e)(" Android will start drawing from the first pixel below the status bar. "),e.Native.Dimensions.window.height?(Object(n.t)(),Object(n.f)("div",{key:5,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.height"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.window.height),1)])):Object(n.e)("v-if",!0),Object(n.e)(" width of screen "),e.Native.Dimensions.screen.width?(Object(n.t)(),Object(n.f)("div",{key:6,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.width"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.width),1)])):Object(n.e)("v-if",!0),Object(n.e)(" height of screen "),e.Native.Dimensions.screen.height?(Object(n.t)(),Object(n.f)("div",{key:7,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.height"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.height),1)])):Object(n.e)("v-if",!0),Object(n.e)(" the pt value of a pixel "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.OnePixel"),Object(n.g)("p",null,Object(n.D)(e.Native.OnePixel),1)]),Object(n.e)(" Android Navigation Bar Height "),e.Native.Dimensions.screen.navigatorBarHeight?(Object(n.t)(),Object(n.f)("div",{key:8,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(n.e)("v-if",!0),Object(n.e)(" height of status bar "),e.Native.Dimensions.screen.statusBarHeight?(Object(n.t)(),Object(n.f)("div",{key:9,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.statusBarHeight"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.statusBarHeight),1)])):Object(n.e)("v-if",!0),Object(n.e)(" android virtual navigation bar height "),e.Native.isAndroid()&&void 0!==e.Native.Dimensions.screen.navigatorBarHeight?(Object(n.t)(),Object(n.f)("div",{key:10,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight(Android only)"),Object(n.g)("p",null,Object(n.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(n.e)("v-if",!0),Object(n.e)(" The startup parameters passed from the native "),e.superProps?(Object(n.t)(),Object(n.f)("div",{key:11,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"afterCallback of $start method contain superProps"),Object(n.g)("p",null,Object(n.D)(e.superProps),1)])):Object(n.e)("v-if",!0),Object(n.e)(" A demo of Native Event,Just show how to use "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"App event"),Object(n.g)("div",null,[Object(n.g)("button",{class:"event-btn",onClick:t[0]||(t[0]=(...t)=>e.triggerAppEvent&&e.triggerAppEvent(...t))},[Object(n.g)("span",{class:"event-btn-text"},"Trigger app event")]),Object(n.g)("div",{class:"event-btn-result"},[Object(n.g)("p",null,"Event triggered times: "+Object(n.D)(e.eventTriggeredTimes),1)])])]),Object(n.e)(" example of measuring the size of an element "),Object(n.g)("div",{ref:"measure-block",class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.getBoundingClientRect"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[1]||(t[1]=()=>e.getBoundingClientRect(!1))},[Object(n.g)("span",null,"relative to App")]),Object(n.g)("span",{style:{"max-width":"200px"}},Object(n.D)(e.rect1),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[2]||(t[2]=()=>e.getBoundingClientRect(!0))},[Object(n.g)("span",null,"relative to Container")]),Object(n.g)("span",{style:{"max-width":"200px"}},Object(n.D)(e.rect2),1)])],512),Object(n.e)(" local storage "),e.Native.AsyncStorage?(Object(n.t)(),Object(n.f)("div",{key:12,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"AsyncStorage 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[3]||(t[3]=(...t)=>e.setItem&&e.setItem(...t))},[Object(n.g)("span",null,"setItem")]),Object(n.g)("span",null,Object(n.D)(e.storageSetStatus),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[4]||(t[4]=(...t)=>e.removeItem&&e.removeItem(...t))},[Object(n.g)("span",null,"removeItem")]),Object(n.g)("span",null,Object(n.D)(e.storageSetStatus),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[5]||(t[5]=(...t)=>e.getItem&&e.getItem(...t))},[Object(n.g)("span",null,"getItem")]),Object(n.g)("span",null,Object(n.D)(e.storageValue),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" ImageLoader "),e.Native.ImageLoader?(Object(n.t)(),Object(n.f)("div",{key:13,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"ImageLoader 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[6]||(t[6]=(...t)=>e.getSize&&e.getSize(...t))},[Object(n.g)("span",null,"getSize")]),Object(n.g)("span",null,Object(n.D)(e.imageSize),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" Fetch "),Object(n.g)("div",{class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Fetch 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("span",null,Object(n.D)(e.fetchText),1)])]),Object(n.e)(" network info "),e.Native.NetInfo?(Object(n.t)(),Object(n.f)("div",{key:14,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"NetInfo 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("span",null,Object(n.D)(e.netInfoText),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" Cookie "),e.Native.Cookie?(Object(n.t)(),Object(n.f)("div",{key:15,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Cookie 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[7]||(t[7]=(...t)=>e.setCookie&&e.setCookie(...t))},[Object(n.g)("span",null,"setCookie")]),Object(n.g)("span",null,Object(n.D)(e.cookieString),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[8]||(t[8]=(...t)=>e.getCookie&&e.getCookie(...t))},[Object(n.g)("span",null,"getCookie")]),Object(n.g)("span",null,Object(n.D)(e.cookiesValue),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" Clipboard "),e.Native.Clipboard?(Object(n.t)(),Object(n.f)("div",{key:16,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Clipboard 使用"),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[9]||(t[9]=(...t)=>e.setString&&e.setString(...t))},[Object(n.g)("span",null,"setString")]),Object(n.g)("span",null,Object(n.D)(e.clipboardString),1)]),Object(n.g)("div",{class:"item-wrapper"},[Object(n.g)("button",{class:"item-button",onClick:t[10]||(t[10]=(...t)=>e.getString&&e.getString(...t))},[Object(n.g)("span",null,"getString")]),Object(n.g)("span",null,Object(n.D)(e.clipboardValue),1)])])):Object(n.e)("v-if",!0),Object(n.e)(" iOS platform "),e.Native.isIOS()?(Object(n.t)(),Object(n.f)("div",{key:17,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.isIOS"),Object(n.g)("p",null,Object(n.D)(e.Native.isIOS()),1)])):Object(n.e)("v-if",!0),Object(n.e)(" Android platform "),e.Native.isAndroid()?(Object(n.t)(),Object(n.f)("div",{key:18,class:"native-block"},[Object(n.g)("label",{class:"vue-native-title"},"Native.isAndroid"),Object(n.g)("p",null,Object(n.D)(e.Native.isAndroid()),1)])):Object(n.e)("v-if",!0)])],512)}],["__scopeId","data-v-ad452900"]]);const ze="https://user-images.githubusercontent.com/12878546/148736841-59ce5d1c-8010-46dc-8632-01c380159237.jpg",Fe={style:1,itemBean:{title:"非洲总统出行真大牌,美制武装直升机和中国潜艇为其保驾",picList:[ze,ze,ze],subInfo:["三图评论","11评"]}},We={style:2,itemBean:{title:"彼得·泰尔:认知未来是投资人的谋生之道",picUrl:"https://user-images.githubusercontent.com/12878546/148736850-4fc13304-25d4-4b6a-ada3-cbf0745666f5.jpg",subInfo:["左文右图"]}},Ke={style:5,itemBean:{title:"愤怒!美官员扬言:“不让中国拿走南海的岛屿,南海岛礁不属于中国”?",picUrl:"https://user-images.githubusercontent.com/12878546/148736859-29e3a5b2-612a-4fdd-ad21-dc5d29fa538f.jpg",subInfo:["六眼神魔 5234播放"]}};var Ge=[Ke,Fe,We,Fe,We,Fe,We,Ke,Fe];var Je=Object(r.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var qe=i()(Je,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"list-view-item style-one"},[Object(n.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(n.D)(e.itemBean.title),1),Object(n.g)("div",{class:"style-one-image-container"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.itemBean.picList,(e,t)=>(Object(n.t)(),Object(n.f)("img",{key:t,src:e,alt:"",class:"image style-one-image"},null,8,["src"]))),128))]),Object(n.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(n.g)("p",{class:"normal-text"},Object(n.D)(e.itemBean.subInfo.join("")),1)])])}]]);var Qe=Object(r.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var Xe=i()(Qe,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"list-view-item style-two"},[Object(n.g)("div",{class:"style-two-left-container"},[Object(n.g)("p",{class:"article-title",numberOfLines:2,enableScale:!0},Object(n.D)(e.itemBean.title),1),Object(n.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(n.g)("p",{class:"normal-text"},Object(n.D)(e.itemBean.subInfo.join("")),1)])]),Object(n.g)("div",{class:"style-two-image-container"},[Object(n.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image style-two-image"},null,8,["src"])])])}]]);var Ze=Object(r.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var $e=i()(Ze,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{class:"list-view-item style-five"},[Object(n.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(n.D)(e.itemBean.title),1),Object(n.g)("div",{class:"style-five-image-container"},[Object(n.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image"},null,8,["src"])]),Object(n.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(n.g)("p",{class:"normal-text"},Object(n.D)(e.itemBean.subInfo.join(" ")),1)])])}]]);let et=0;const tt=Object(r.ref)({top:0,left:0}),ot=async()=>new Promise(e=>{setTimeout(()=>e(Ge),800)});var at=Object(r.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(r.ref)(null),t=Object(r.ref)(null),o=Object(r.ref)(null),a=Object(r.ref)([...Ge]);let n=!1,l=!1;const c=Object(r.ref)(""),i=Object(r.ref)("继续下拉触发刷新"),s=Object(r.ref)("正在加载...");return Object(r.onMounted)(()=>{n=!1,l=!1,a.value=[...Ge],et=null!==y.Native&&void 0!==y.Native&&y.Native.Dimensions?y.Native.Dimensions.window.height:window.innerHeight,t.value&&t.value.collapsePullHeader({time:2e3})}),{loadingState:c,dataSource:a,headerRefreshText:i,footerRefreshText:s,list:e,pullHeader:t,pullFooter:o,onEndReached:async e=>{if(console.log("endReached",e),n)return;n=!0,s.value="加载更多...";const t=await ot();0===t.length&&(s.value="没有更多数据"),a.value=[...a.value,...t],n=!1,o.value&&o.value.collapsePullFooter()},onHeaderReleased:async()=>{l||(l=!0,console.log("onHeaderReleased"),i.value="刷新数据中,请稍等",a.value=await ot(),a.value=a.value.reverse(),l=!1,i.value="2秒后收起",t.value&&t.value.collapsePullHeader({time:2e3}))},onHeaderIdle:()=>{},onHeaderPulling:e=>{l||(console.log("onHeaderPulling",e.contentOffset),e.contentOffset>30?i.value="松手,即可触发刷新":i.value="继续下拉,触发刷新")},onFooterIdle:()=>{},onFooterPulling:e=>{console.log("onFooterPulling",e)},onScroll:e=>{e.stopPropagation(),tt.value={top:e.offsetY,left:e.offsetX}},scrollToNextPage:()=>{if(y.Native){if(e.value){const t=e.value;console.log("scroll to next page",e,tt.value,et);const o=tt.value.top+et-200;t.scrollTo({left:tt.value.left,top:o,behavior:"auto",duration:200})}}else alert("This method is only supported in Native environment.")},scrollToBottom:()=>{if(y.Native){if(e.value){const t=e.value;t.scrollToIndex(0,t.childNodes.length-1)}}else alert("This method is only supported in Native environment.")}}}});o("./src/components/native-demo/demo-pull-header-footer.vue?vue&type=style&index=0&id=52ecb6dc&scoped=true&lang=css");var nt=i()(at,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("pull-header"),i=Object(n.z)("style-one"),s=Object(n.z)("style-two"),d=Object(n.z)("style-five"),p=Object(n.z)("pull-footer");return Object(n.t)(),Object(n.f)("div",{id:"demo-pull-header-footer","specital-attr":"pull-header-footer"},[Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(n.g)("span",null,"翻到下一页")]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToBottom&&e.scrollToBottom(...t))},[Object(n.g)("span",null,"翻动到底部")]),Object(n.g)("p",{class:"toolbar-text"}," 列表元素数量:"+Object(n.D)(e.dataSource.length),1)]),Object(n.g)("ul",{id:"list",ref:"list",numberOfRows:e.dataSource.length,rowShouldSticky:!0,onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t))},[Object(n.h)(" /** * 下拉组件 * * 事件: * idle: 滑动距离在 pull-header 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-header 后触发一次,参数 contentOffset,滑动距离 * refresh: 滑动超出距离,松手后触发一次 */ "),Object(n.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"ul-refresh-text"},Object(n.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,(e,t)=>(Object(n.t)(),Object(n.f)("li",{key:t,class:"item-style",type:"row-"+e.style,sticky:0===t},[1===e.style?(Object(n.t)(),Object(n.d)(i,{key:0,"item-bean":e.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),2===e.style?(Object(n.t)(),Object(n.d)(s,{key:1,"item-bean":e.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),5===e.style?(Object(n.t)(),Object(n.d)(d,{key:2,"item-bean":e.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0)],8,["type","sticky"]))),128)),Object(n.h)(" /** * 上拉组件 * > 如果不需要显示加载情况,可以直接使用 ul 的 onEndReached 实现一直加载 * * 事件: * idle: 滑动距离在 pull-footer 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-footer 后触发一次,参数 contentOffset,滑动距离 * released: 滑动超出距离,松手后触发一次 */ "),Object(n.i)(p,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"pull-footer-text"},Object(n.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])],40,["numberOfRows"])])}],["__scopeId","data-v-52ecb6dc"]]);var rt=Object(r.defineComponent)({setup(){const e=Object(r.ref)("idle"),t=Object(r.ref)(2),o=Object(r.ref)(2);return{dataSource:new Array(7).fill(0).map((e,t)=>t),currentSlide:t,currentSlideNum:o,state:e,scrollToNextPage:()=>{console.log("scroll next",t.value,o.value),t.value<7?t.value=o.value+1:t.value=0},scrollToPrevPage:()=>{console.log("scroll prev",t.value,o.value),0===t.value?t.value=6:t.value=o.value-1},onDragging:e=>{console.log("Current offset is",e.offset,"and will into slide",e.nextSlide+1)},onDropped:e=>{console.log("onDropped",e),o.value=e.currentSlide},onStateChanged:t=>{console.log("onStateChanged",t),e.value=t.state}}}});o("./src/components/native-demo/demo-swiper.vue?vue&type=style&index=0&id=0621dcf0&lang=css");var lt=i()(rt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("swiper-slide"),i=Object(n.z)("swiper");return Object(n.t)(),Object(n.f)("div",{id:"demo-swiper"},[Object(n.g)("div",{class:"toolbar"},[Object(n.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToPrevPage&&e.scrollToPrevPage(...t))},[Object(n.g)("span",null,"翻到上一页")]),Object(n.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(n.g)("span",null,"翻到下一页")]),Object(n.g)("p",{class:"toolbar-text"}," 当前第 "+Object(n.D)(e.currentSlideNum+1)+" 页 ",1)]),Object(n.e)('\n swiper 组件参数\n @param {Number} currentSlide 当前页面,也可以直接修改它改变当前页码,默认 0\n @param {Boolean} needAnimation 是否需要动画,如果切换时不要动画可以设置为 :needAnimation="false",默认为 true\n @param {Function} dragging 当拖拽时执行回调,参数是个 Event,包含 offset 拖拽偏移值和 nextSlide 将进入的页码\n @param {Function} dropped 结束拖拽时回调,参数是个 Event,包含 currentSlide 最后选择的页码\n '),Object(n.i)(i,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,onDragging:e.onDragging,onDropped:e.onDropped,onStateChanged:e.onStateChanged},{default:Object(n.H)(()=>[Object(n.e)(" slides "),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,e=>(Object(n.t)(),Object(n.d)(c,{key:e,style:Object(n.p)({backgroundColor:4278222848+100*e})},{default:Object(n.H)(()=>[Object(n.g)("p",null,"I'm Slide "+Object(n.D)(e+1),1)]),_:2},1032,["style"]))),128))]),_:1},8,["current","onDragging","onDropped","onStateChanged"]),Object(n.e)(" A Demo of dots "),Object(n.g)("div",{id:"swiper-dots"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,t=>(Object(n.t)(),Object(n.f)("div",{key:t,class:Object(n.o)(["dot",{hightlight:e.currentSlideNum===t}])},null,2))),128))])])}]]);let ct=0;const it={top:0,left:5,bottom:0,right:5},st="ios"===y.Native.Platform,dt=async()=>new Promise(e=>{setTimeout(()=>(ct+=1,e(ct>=50?[]:[...Ge,...Ge])),600)});var pt=Object(r.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(r.ref)([...Ge,...Ge,...Ge,...Ge]);let t=!1,o=!1;const a=Object(r.ref)(!1),n=Object(r.ref)("正在加载..."),l=Object(r.ref)(null),c=Object(r.ref)(null);let i="继续下拉触发刷新",s="正在加载...";const d=Object(r.computed)(()=>a.value?"正在刷新":"下拉刷新"),p=Object(r.ref)(null),u=Object(r.ref)(null),b=Object(r.computed)(()=>(y.Native.Dimensions.screen.width-it.left-it.right-6)/2);return{dataSource:e,isRefreshing:a,refreshText:d,STYLE_LOADING:100,loadingState:n,header:u,gridView:p,contentInset:it,columnSpacing:6,interItemSpacing:6,numberOfColumns:2,itemWidth:b,onScroll:e=>{console.log("waterfall onScroll",e)},onRefresh:async()=>{a.value=!0;const t=await dt();a.value=!1,e.value=t.reverse(),u.value&&u.value.refreshCompleted()},onEndReached:async()=>{if(console.log("end Reached"),t)return;t=!0,s="加载更多...";const o=await dt();0===o.length&&(s="没有更多数据"),e.value=[...e.value,...o],t=!1,c.value&&c.value.collapsePullFooter()},onClickItem:e=>{p.value&&p.value.scrollToIndex({index:e,animation:!0})},isIos:st,onHeaderPulling:e=>{o||(console.log("onHeaderPulling",e.contentOffset),i=e.contentOffset>30?"松手,即可触发刷新":"继续下拉,触发刷新")},onFooterPulling:e=>{console.log("onFooterPulling",e)},onHeaderIdle:()=>{},onFooterIdle:()=>{},onHeaderReleased:async()=>{o||(o=!0,console.log("onHeaderReleased"),i="刷新数据中,请稍等",o=!1,i="2秒后收起",l.value&&l.value.collapsePullHeader({time:2e3}))},headerRefreshText:i,footerRefreshText:s,loadMoreDataFlag:t,pullHeader:l,pullFooter:c}}});o("./src/components/native-demo/demo-waterfall.vue?vue&type=style&index=0&id=8b6764ca&scoped=true&lang=css");var ut=i()(pt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("pull-header"),i=Object(n.z)("waterfall-item"),s=Object(n.z)("style-one"),d=Object(n.z)("style-two"),p=Object(n.z)("style-five"),u=Object(n.z)("pull-footer"),b=Object(n.z)("waterfall");return Object(n.t)(),Object(n.f)("div",{id:"demo-waterfall"},[Object(n.i)(b,{ref:"gridView","content-inset":e.contentInset,"column-spacing":e.columnSpacing,"contain-banner-view":!0,"contain-pull-footer":!0,"inter-item-spacing":e.interItemSpacing,"number-of-columns":e.numberOfColumns,"preload-item-number":4,style:{flex:1},onEndReached:e.onEndReached,onScroll:e.onScroll},{default:Object(n.H)(()=>[Object(n.i)(c,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"ul-refresh-text"},Object(n.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),e.isIos?(Object(n.t)(),Object(n.f)("div",{key:0,class:"banner-view"},[Object(n.g)("span",null,"BannerView")])):(Object(n.t)(),Object(n.d)(i,{key:1,"full-span":!0,class:"banner-view"},{default:Object(n.H)(()=>[Object(n.g)("span",null,"BannerView")]),_:1})),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.dataSource,(t,o)=>(Object(n.t)(),Object(n.d)(i,{key:o,style:Object(n.p)({width:e.itemWidth}),type:t.style,onClick:Object(n.J)(()=>e.onClickItem(o),["stop"])},{default:Object(n.H)(()=>[1===t.style?(Object(n.t)(),Object(n.d)(s,{key:0,"item-bean":t.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),2===t.style?(Object(n.t)(),Object(n.d)(d,{key:1,"item-bean":t.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0),5===t.style?(Object(n.t)(),Object(n.d)(p,{key:2,"item-bean":t.itemBean},null,8,["item-bean"])):Object(n.e)("v-if",!0)]),_:2},1032,["style","type","onClick"]))),128)),Object(n.i)(u,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(n.H)(()=>[Object(n.g)("p",{class:"pull-footer-text"},Object(n.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])]),_:1},8,["content-inset","column-spacing","inter-item-spacing","number-of-columns","onEndReached","onScroll"])])}],["__scopeId","data-v-8b6764ca"]]);var bt=Object(r.defineComponent)({setup(){const e=Object(r.ref)(0),t=Object(r.ref)(0);return{layoutHeight:e,currentSlide:t,onLayout:t=>{e.value=t.height},onTabClick:e=>{t.value=e-1},onDropped:e=>{t.value=e.currentSlide}}}});o("./src/components/native-demo/demo-nested-scroll.vue?vue&type=style&index=0&id=72406cea&scoped=true&lang=css");var yt={demoNative:{name:"Native 能力",component:Me},demoAnimation:{name:"animation 组件",component:De},demoDialog:{name:"dialog 组件",component:Be},demoSwiper:{name:"swiper 组件",component:lt},demoPullHeaderFooter:{name:"pull header/footer 组件",component:nt},demoWaterfall:{name:"waterfall 组件",component:ut},demoNestedScroll:{name:"nested scroll 示例",component:i()(bt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("swiper-slide"),i=Object(n.z)("swiper");return Object(n.t)(),Object(n.f)("div",{id:"demo-wrap",onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t))},[Object(n.g)("div",{id:"demo-content"},[Object(n.g)("div",{id:"banner"}),Object(n.g)("div",{id:"tabs"},[(Object(n.t)(),Object(n.f)(n.a,null,Object(n.x)(2,t=>Object(n.g)("p",{key:"tab"+t,class:Object(n.o)(e.currentSlide===t-1?"selected":""),onClick:o=>e.onTabClick(t)}," tab "+Object(n.D)(t)+" "+Object(n.D)(1===t?"(parent first)":"(self first)"),11,["onClick"])),64))]),Object(n.i)(i,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,style:Object(n.p)({height:e.layoutHeight-80}),onDropped:e.onDropped},{default:Object(n.H)(()=>[Object(n.i)(c,{key:"slide1"},{default:Object(n.H)(()=>[Object(n.g)("ul",{nestedScrollTopPriority:"parent"},[(Object(n.t)(),Object(n.f)(n.a,null,Object(n.x)(30,e=>Object(n.g)("li",{key:"item"+e,class:Object(n.o)(e%2?"item-even":"item-odd")},[Object(n.g)("p",null,"Item "+Object(n.D)(e),1)],2)),64))])]),_:1}),Object(n.i)(c,{key:"slide2"},{default:Object(n.H)(()=>[Object(n.g)("ul",{nestedScrollTopPriority:"self"},[(Object(n.t)(),Object(n.f)(n.a,null,Object(n.x)(30,e=>Object(n.g)("li",{key:"item"+e,class:Object(n.o)(e%2?"item-even":"item-odd")},[Object(n.g)("p",null,"Item "+Object(n.D)(e),1)],2)),64))])]),_:1})]),_:1},8,["current","style","onDropped"])])],32)}],["__scopeId","data-v-72406cea"]])},demoSetNativeProps:{name:"setNativeProps",component:fe}};var vt=Object(r.defineComponent)({name:"App",setup(){const e=Object.keys(ye).map(e=>({id:e,name:ye[e].name})),t=Object.keys(yt).map(e=>({id:e,name:yt[e].name}));return Object(r.onMounted)(()=>{}),{featureList:e,nativeFeatureList:t,version:r.version,Native:y.Native}}});o("./src/pages/menu.vue?vue&type=style&index=0&id=63300fa4&scoped=true&lang=css");var ft=i()(vt,[["render",function(e,t,o,a,r,l){const c=Object(n.z)("router-link");return Object(n.t)(),Object(n.f)("ul",{class:"feature-list"},[Object(n.g)("li",null,[Object(n.g)("div",{id:"version-info"},[Object(n.g)("p",{class:"feature-title"}," Vue: "+Object(n.D)(e.version),1),e.Native?(Object(n.t)(),Object(n.f)("p",{key:0,class:"feature-title"}," Hippy-Vue-Next: "+Object(n.D)("unspecified"!==e.Native.version?e.Native.version:"master"),1)):Object(n.e)("v-if",!0)])]),Object(n.g)("li",null,[Object(n.g)("p",{class:"feature-title"}," 浏览器组件 Demos ")]),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.featureList,e=>(Object(n.t)(),Object(n.f)("li",{key:e.id,class:"feature-item"},[Object(n.i)(c,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(n.H)(()=>[Object(n.h)(Object(n.D)(e.name),1)]),_:2},1032,["to"])]))),128)),e.nativeFeatureList.length?(Object(n.t)(),Object(n.f)("li",{key:0},[Object(n.g)("p",{class:"feature-title",paintType:"fcp"}," 终端组件 Demos ")])):Object(n.e)("v-if",!0),(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.nativeFeatureList,e=>(Object(n.t)(),Object(n.f)("li",{key:e.id,class:"feature-item"},[Object(n.i)(c,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(n.H)(()=>[Object(n.h)(Object(n.D)(e.name),1)]),_:2},1032,["to"])]))),128))])}],["__scopeId","data-v-63300fa4"]]);var gt=Object(r.defineComponent)({setup(){const e=Object(r.ref)("http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy"),t=Object(r.ref)(null);return{bundleUrl:e,styles:{tipText:{color:"#242424",marginBottom:12},button:{width:200,height:40,borderRadius:8,backgroundColor:"#4c9afa",alignItems:"center",justifyContent:"center"},buttonText:{fontSize:16,textAlign:"center",lineHeight:40,color:"#fff"},buttonContainer:{alignItems:"center",justifyContent:"center"}},tips:["安装远程调试依赖: npm i -D @hippy/debug-server-next@latest","修改 webpack 配置,添加远程调试地址","运行 npm run hippy:dev 开始编译,编译结束后打印出 bundleUrl 及调试首页地址","粘贴 bundleUrl 并点击开始按钮","访问调试首页开始远程调试,远程调试支持热更新(HMR)"],inputRef:t,blurInput:()=>{t.value&&t.value.blur()},openBundle:()=>{if(e.value){const{rootViewId:t}=Object(Re.a)();y.Native.callNative("TestModule","remoteDebug",t,e.value)}}}}});o("./src/pages/remote-debug.vue?vue&type=style&index=0&id=c92250fe&scoped=true&lang=css");const mt=[{path:"/",component:ft},{path:"/remote-debug",component:i()(gt,[["render",function(e,t,o,a,r,l){return Object(n.t)(),Object(n.f)("div",{ref:"inputDemo",class:"demo-remote-input",onClick:t[2]||(t[2]=Object(n.J)((...t)=>e.blurInput&&e.blurInput(...t),["stop"]))},[Object(n.g)("div",{class:"tips-wrap"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.tips,(t,o)=>(Object(n.t)(),Object(n.f)("p",{key:o,class:"tips-item",style:Object(n.p)(e.styles.tipText)},Object(n.D)(o+1)+". "+Object(n.D)(t),5))),128))]),Object(n.g)("input",{ref:"inputRef",value:e.bundleUrl,"caret-color":"yellow",placeholder:"please input bundleUrl",multiple:!0,numberOfLines:"4",class:"remote-input",onClick:Object(n.J)(()=>{},["stop"]),onChange:t[0]||(t[0]=t=>e.bundleUrl=t.value)},null,40,["value"]),Object(n.g)("div",{class:"buttonContainer",style:Object(n.p)(e.styles.buttonContainer)},[Object(n.g)("button",{style:Object(n.p)(e.styles.button),class:"input-button",onClick:t[1]||(t[1]=Object(n.J)((...t)=>e.openBundle&&e.openBundle(...t),["stop"]))},[Object(n.g)("span",{style:Object(n.p)(e.styles.buttonText)},"开始",4)],4)],4)],512)}],["__scopeId","data-v-c92250fe"]]),name:"Debug"},...Object.keys(ye).map(e=>({path:"/demo/"+e,name:ye[e].name,component:ye[e].component})),...Object.keys(yt).map(e=>({path:"/demo/"+e,name:yt[e].name,component:yt[e].component}))];function ht(){return Object(a.createHippyRouter)({routes:mt})}},"./src/util.ts":function(e,t,o){"use strict";let a;function n(e){a=e}function r(){return a}o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return r}))},0:function(e,t,o){e.exports=o("./src/main-native.ts")},"dll-reference hippyVueBase":function(e,t){e.exports=hippyVueBase}}); \ No newline at end of file +const a="undefined"!=typeof document;function c(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const l=Object.assign;function i(e,t){const o={};for(const n in t){const a=t[n];o[n]=s(a)?a.map(e):e(a)}return o}const r=()=>{},s=Array.isArray;const u=/#/g,d=/&/g,b=/\//g,g=/=/g,f=/\?/g,p=/\+/g,m=/%5B/g,h=/%5D/g,v=/%5E/g,O=/%60/g,j=/%7B/g,y=/%7C/g,w=/%7D/g,A=/%20/g;function C(e){return encodeURI(""+e).replace(y,"|").replace(m,"[").replace(h,"]")}function x(e){return C(e).replace(p,"%2B").replace(A,"+").replace(u,"%23").replace(d,"%26").replace(O,"`").replace(j,"{").replace(w,"}").replace(v,"^")}function S(e){return null==e?"":function(e){return C(e).replace(u,"%23").replace(f,"%3F")}(e).replace(b,"%2F")}function k(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}const T=/\/$/;function D(e,t,o="/"){let n,a={},c="",l="";const i=t.indexOf("#");let r=t.indexOf("?");return i=0&&(r=-1),r>-1&&(n=t.slice(0,r),c=t.slice(r+1,i>-1?i:t.length),a=e(c)),i>-1&&(n=n||t.slice(0,i),l=t.slice(i,t.length)),n=function(e,t){if(e.startsWith("/"))return e;0;if(!e)return t;const o=t.split("/"),n=e.split("/"),a=n[n.length-1];".."!==a&&"."!==a||n.push("");let c,l,i=o.length-1;for(c=0;c1&&i--}return o.slice(0,i).join("/")+"/"+n.slice(c).join("/")}(null!=n?n:t,o),{fullPath:n+(c&&"?")+c+l,path:n,query:a,hash:k(l)}}function P(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function E(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!I(e[o],t[o]))return!1;return!0}function I(e,t){return s(e)?B(e,t):s(t)?B(t,e):e===t}function B(e,t){return s(t)?e.length===t.length&&e.every((e,o)=>e===t[o]):1===e.length&&e[0]===t}const R={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var L,V;!function(e){e.pop="pop",e.push="push"}(L||(L={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(V||(V={}));function H(e){if(!e)if(a){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(T,"")}const N=/^[^#]+#/;function M(e,t){return e.replace(N,"#")+t}const z=()=>({left:window.scrollX,top:window.scrollY});function F(e){let t;if("el"in e){const o=e.el,n="string"==typeof o&&o.startsWith("#");0;const a="string"==typeof o?n?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!a)return;t=function(e,t){const o=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-o.left-(t.left||0),top:n.top-o.top-(t.top||0)}}(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Y(e,t){return(history.state?history.state.position-t:-1)+e}const U=new Map;let W=()=>location.protocol+"//"+location.host;function G(e,t){const{pathname:o,search:n,hash:a}=t,c=e.indexOf("#");if(c>-1){let t=a.includes(e.slice(c))?e.slice(c).length:1,o=a.slice(t);return"/"!==o[0]&&(o="/"+o),P(o,"")}return P(o,e)+n+a}function K(e,t,o,n=!1,a=!1){return{back:e,current:t,forward:o,replaced:n,position:window.history.length,scroll:a?z():null}}function J(e){const t=function(e){const{history:t,location:o}=window,n={value:G(e,o)},a={value:t.state};function c(n,c,l){const i=e.indexOf("#"),r=i>-1?(o.host&&document.querySelector("base")?e:e.slice(i))+n:W()+e+n;try{t[l?"replaceState":"pushState"](c,"",r),a.value=c}catch(e){console.error(e),o[l?"replace":"assign"](r)}}return a.value||c(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:n,state:a,push:function(e,o){const i=l({},a.value,t.state,{forward:e,scroll:z()});c(i.current,i,!0),c(e,l({},K(n.value,e,null),{position:i.position+1},o),!1),n.value=e},replace:function(e,o){c(e,l({},t.state,K(a.value.back,e,a.value.forward,!0),o,{position:a.value.position}),!0),n.value=e}}}(e=H(e)),o=function(e,t,o,n){let a=[],c=[],i=null;const r=({state:c})=>{const l=G(e,location),r=o.value,s=t.value;let u=0;if(c){if(o.value=l,t.value=c,i&&i===r)return void(i=null);u=s?c.position-s.position:0}else n(l);a.forEach(e=>{e(o.value,r,{delta:u,type:L.pop,direction:u?u>0?V.forward:V.back:V.unknown})})};function s(){const{history:e}=window;e.state&&e.replaceState(l({},e.state,{scroll:z()}),"")}return window.addEventListener("popstate",r),window.addEventListener("beforeunload",s,{passive:!0}),{pauseListeners:function(){i=o.value},listen:function(e){a.push(e);const t=()=>{const t=a.indexOf(e);t>-1&&a.splice(t,1)};return c.push(t),t},destroy:function(){for(const e of c)e();c=[],window.removeEventListener("popstate",r),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace);const n=l({location:"",base:e,go:function(e,t=!0){t||o.pauseListeners(),history.go(e)},createHref:M.bind(null,e)},t,o);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}function q(e=""){let t=[],o=[""],n=0;function a(e){n++,n!==o.length&&o.splice(n),o.push(e)}const c={location:"",state:{},base:e=H(e),createHref:M.bind(null,e),replace(e){o.splice(n--,1),a(e)},push(e,t){a(e)},listen:e=>(t.push(e),()=>{const o=t.indexOf(e);o>-1&&t.splice(o,1)}),destroy(){t=[],o=[""],n=0},go(e,a=!0){const c=this.location,l=e<0?V.back:V.forward;n=Math.max(0,Math.min(n+e,o.length-1)),a&&function(e,o,{direction:n,delta:a}){const c={direction:n,delta:a,type:L.pop};for(const n of t)n(e,o,c)}(this.location,c,{direction:l,delta:e})}};return Object.defineProperty(c,"location",{enumerable:!0,get:()=>o[n]}),c}function Q(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),J(e)}function X(e){return"string"==typeof e||"symbol"==typeof e}const Z=Symbol("");var $;!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}($||($={}));function ee(e,t){return l(new Error,{type:e,[Z]:!0},t)}function te(e,t){return e instanceof Error&&Z in e&&(null==t||!!(e.type&t))}const oe={sensitive:!1,strict:!1,start:!0,end:!0},ne=/[.+*?^${}()[\]/\\]/g;function ae(e,t){let o=0;for(;ot.length?1===t.length&&80===t[0]?1:-1:0}function ce(e,t){let o=0;const n=e.score,a=t.score;for(;o0&&t[t.length-1]<0}const ie={type:0,value:""},re=/[a-zA-Z0-9_]/;function se(e,t,o){const n=function(e,t){const o=l({},oe,t),n=[];let a=o.start?"^":"";const c=[];for(const t of e){const e=t.length?[]:[90];o.strict&&!t.length&&(a+="/");for(let n=0;n1&&("*"===i||"+"===i)&&t(`A repeatable param (${s}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:s,regexp:u,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),s="")}function b(){s+=i}for(;r{c(f)}:r}function c(e){if(X(e)){const t=n.get(e);t&&(n.delete(e),o.splice(o.indexOf(t),1),t.children.forEach(c),t.alias.forEach(c))}else{const t=o.indexOf(e);t>-1&&(o.splice(t,1),e.record.name&&n.delete(e.record.name),e.children.forEach(c),e.alias.forEach(c))}}function i(e){const t=function(e,t){let o=0,n=t.length;for(;o!==n;){const a=o+n>>1;ce(e,t[a])<0?n=a:o=a+1}const a=function(e){let t=e;for(;t=t.parent;)if(me(t)&&0===ce(e,t))return t;return}(e);a&&(n=t.lastIndexOf(a,n-1));return n}(e,o);o.splice(t,0,e),e.record.name&&!ge(e)&&n.set(e.record.name,e)}return t=pe({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>a(e)),{addRoute:a,resolve:function(e,t){let a,c,i,r={};if("name"in e&&e.name){if(a=n.get(e.name),!a)throw ee(1,{location:e});0,i=a.record.name,r=l(de(t.params,a.keys.filter(e=>!e.optional).concat(a.parent?a.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&de(e.params,a.keys.map(e=>e.name))),c=a.stringify(r)}else if(null!=e.path)c=e.path,a=o.find(e=>e.re.test(c)),a&&(r=a.parse(c),i=a.record.name);else{if(a=t.name?n.get(t.name):o.find(e=>e.re.test(t.path)),!a)throw ee(1,{location:e,currentLocation:t});i=a.record.name,r=l({},t.params,e.params),c=a.stringify(r)}const s=[];let u=a;for(;u;)s.unshift(u.record),u=u.parent;return{name:i,path:c,params:r,matched:s,meta:fe(s)}},removeRoute:c,clearRoutes:function(){o.length=0,n.clear()},getRoutes:function(){return o},getRecordMatcher:function(e){return n.get(e)}}}function de(e,t){const o={};for(const n of t)n in e&&(o[n]=e[n]);return o}function be(e){const t={},o=e.props||!1;if("component"in e)t.default=o;else for(const n in e.components)t[n]="object"==typeof o?o[n]:o;return t}function ge(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function fe(e){return e.reduce((e,t)=>l(e,t.meta),{})}function pe(e,t){const o={};for(const n in e)o[n]=n in t?t[n]:e[n];return o}function me({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function he(e){const t={};if(""===e||"?"===e)return t;const o=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;ee&&x(e)):[n&&x(n)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+o,null!=e&&(t+="="+e))})}return t}function Oe(e){const t={};for(const o in e){const n=e[o];void 0!==n&&(t[o]=s(n)?n.map(e=>null==e?null:""+e):null==n?n:""+n)}return t}const je=Symbol(""),ye=Symbol(""),we=Symbol(""),Ae=Symbol(""),Ce=Symbol("");function xe(){let e=[];return{add:function(t){return e.push(t),()=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Se(e,t,o){const a=()=>{e[t].delete(o)};Object(n.s)(a),Object(n.r)(a),Object(n.q)(()=>{e[t].add(o)}),e[t].add(o)}function ke(e){const t=Object(n.m)(je,{}).value;t&&Se(t,"leaveGuards",e)}function Te(e){const t=Object(n.m)(je,{}).value;t&&Se(t,"updateGuards",e)}function De(e,t,o,n,a,c=(e=>e())){const l=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((i,r)=>{const s=e=>{var c;!1===e?r(ee(4,{from:o,to:t})):e instanceof Error?r(e):"string"==typeof(c=e)||c&&"object"==typeof c?r(ee(2,{from:t,to:e})):(l&&n.enterCallbacks[a]===l&&"function"==typeof e&&l.push(e),i())},u=c(()=>e.call(n&&n.instances[a],t,o,s));let d=Promise.resolve(u);e.length<3&&(d=d.then(s)),d.catch(e=>r(e))})}function Pe(e,t,o,n,a=(e=>e())){const l=[];for(const r of e){0;for(const e in r.components){let s=r.components[e];if("beforeRouteEnter"===t||r.instances[e])if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){const c=(s.__vccOpts||s)[t];c&&l.push(De(c,o,n,r,e,a))}else{let i=s();0,l.push(()=>i.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${r.path}"`));const i=c(l)?l.default:l;r.components[e]=i;const s=(i.__vccOpts||i)[t];return s&&De(s,o,n,r,e,a)()}))}}}var i;return l}function Ee(e){return e.matched.every(e=>e.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(e=>e.components&&Promise.all(Object.keys(e.components).reduce((t,o)=>{const n=e.components[o];return"function"!=typeof n||"displayName"in n||t.push(n().then(t=>{if(!t)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${e.path}". Ensure you passed a function that returns a promise.`));const n=c(t)?t.default:t;e.components[o]=n})),t},[])))).then(()=>e)}function _e(e){const t=Object(n.m)(we),o=Object(n.m)(Ae);const a=Object(n.c)(()=>{const o=Object(n.E)(e.to);return t.resolve(o)}),c=Object(n.c)(()=>{const{matched:e}=a.value,{length:t}=e,n=e[t-1],c=o.matched;if(!n||!c.length)return-1;const l=c.findIndex(E.bind(null,n));if(l>-1)return l;const i=Be(e[t-2]);return t>1&&Be(n)===i&&c[c.length-1].path!==i?c.findIndex(E.bind(null,e[t-2])):l}),l=Object(n.c)(()=>c.value>-1&&function(e,t){for(const o in t){const n=t[o],a=e[o];if("string"==typeof n){if(n!==a)return!1}else if(!s(a)||a.length!==n.length||n.some((e,t)=>e!==a[t]))return!1}return!0}(o.params,a.value.params)),i=Object(n.c)(()=>c.value>-1&&c.value===o.matched.length-1&&_(o.params,a.value.params));return{route:a,href:Object(n.c)(()=>a.value.href),isActive:l,isExactActive:i,navigate:function(o={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(o)?t[Object(n.E)(e.replace)?"replace":"push"](Object(n.E)(e.to)).catch(r):Promise.resolve()}}}const Ie=Object(n.j)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_e,setup(e,{slots:t}){const o=Object(n.v)(_e(e)),{options:a}=Object(n.m)(we),c=Object(n.c)(()=>({[Re(e.activeClass,a.linkActiveClass,"router-link-active")]:o.isActive,[Re(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const a=t.default&&t.default(o);return e.custom?a:Object(n.l)("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:c.value},a)}}});function Be(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Re=(e,t,o)=>null!=e?e:null!=t?t:o;function Le(e,t){if(!e)return null;const o=e(t);return 1===o.length?o[0]:o}const Ve=Object(n.j)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:o}){const a=Object(n.m)(Ce),c=Object(n.c)(()=>e.route||a.value),i=Object(n.m)(ye,0),r=Object(n.c)(()=>{let e=Object(n.E)(i);const{matched:t}=c.value;let o;for(;(o=t[e])&&!o.components;)e++;return e}),s=Object(n.c)(()=>c.value.matched[r.value]);Object(n.u)(ye,Object(n.c)(()=>r.value+1)),Object(n.u)(je,s),Object(n.u)(Ce,c);const u=Object(n.w)();return Object(n.G)(()=>[u.value,s.value,e.name],([e,t,o],[n,a,c])=>{t&&(t.instances[o]=e,a&&a!==t&&e&&e===n&&(t.leaveGuards.size||(t.leaveGuards=a.leaveGuards),t.updateGuards.size||(t.updateGuards=a.updateGuards))),!e||!t||a&&E(t,a)&&n||(t.enterCallbacks[o]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const a=c.value,i=e.name,r=s.value,d=r&&r.components[i];if(!d)return Le(o.default,{Component:d,route:a});const b=r.props[i],g=b?!0===b?a.params:"function"==typeof b?b(a):b:null,f=Object(n.l)(d,l({},g,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(r.instances[i]=null)},ref:u}));return Le(o.default,{Component:f,route:a})||f}}});function He(e){const t=ue(e.routes,e),o=e.parseQuery||he,c=e.stringifyQuery||ve,u=e.history;const d=xe(),b=xe(),g=xe(),f=Object(n.C)(R);let p=R;a&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=i.bind(null,e=>""+e),h=i.bind(null,S),O=i.bind(null,k);function y(e,n){if(n=l({},n||f.value),"string"==typeof e){const a=D(o,e,n.path),c=t.resolve({path:a.path},n),i=u.createHref(a.fullPath);return l(a,c,{params:O(c.params),hash:k(a.hash),redirectedFrom:void 0,href:i})}let a;if(null!=e.path)a=l({},e,{path:D(o,e.path,n.path).path});else{const t=l({},e.params);for(const e in t)null==t[e]&&delete t[e];a=l({},e,{params:h(t)}),n.params=h(n.params)}const i=t.resolve(a,n),r=e.hash||"";i.params=m(O(i.params));const s=function(e,t){const o=t.query?e(t.query):"";return t.path+(o&&"?")+o+(t.hash||"")}(c,l({},e,{hash:(d=r,C(d).replace(j,"{").replace(w,"}").replace(v,"^")),path:i.path}));var d;const b=u.createHref(s);return l({fullPath:s,hash:r,query:c===ve?Oe(e.query):e.query||{}},i,{redirectedFrom:void 0,href:b})}function A(e){return"string"==typeof e?D(o,e,f.value.path):l({},e)}function x(e,t){if(p!==e)return ee(8,{from:t,to:e})}function T(e){return I(e)}function P(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:o}=t;let n="function"==typeof o?o(e):o;return"string"==typeof n&&(n=n.includes("?")||n.includes("#")?n=A(n):{path:n},n.params={}),l({query:e.query,hash:e.hash,params:null!=n.path?{}:e.params},n)}}function I(e,t){const o=p=y(e),n=f.value,a=e.state,i=e.force,r=!0===e.replace,s=P(o);if(s)return I(l(A(s),{state:"object"==typeof s?l({},a,s.state):a,force:i,replace:r}),t||o);const u=o;let d;return u.redirectedFrom=t,!i&&function(e,t,o){const n=t.matched.length-1,a=o.matched.length-1;return n>-1&&n===a&&E(t.matched[n],o.matched[a])&&_(t.params,o.params)&&e(t.query)===e(o.query)&&t.hash===o.hash}(c,n,o)&&(d=ee(16,{to:u,from:n}),$(n,n,!0,!1)),(d?Promise.resolve(d):H(u,n)).catch(e=>te(e)?te(e,2)?e:Z(e):Q(e,u,n)).then(e=>{if(e){if(te(e,2))return I(l({replace:r},A(e.to),{state:"object"==typeof e.to?l({},a,e.to.state):a,force:i}),t||u)}else e=M(u,n,!0,r,a);return N(u,n,e),e})}function B(e,t){const o=x(e,t);return o?Promise.reject(o):Promise.resolve()}function V(e){const t=ae.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function H(e,t){let o;const[n,a,c]=function(e,t){const o=[],n=[],a=[],c=Math.max(t.matched.length,e.matched.length);for(let l=0;lE(e,c))?n.push(c):o.push(c));const i=e.matched[l];i&&(t.matched.find(e=>E(e,i))||a.push(i))}return[o,n,a]}(e,t);o=Pe(n.reverse(),"beforeRouteLeave",e,t);for(const a of n)a.leaveGuards.forEach(n=>{o.push(De(n,e,t))});const l=B.bind(null,e,t);return o.push(l),le(o).then(()=>{o=[];for(const n of d.list())o.push(De(n,e,t));return o.push(l),le(o)}).then(()=>{o=Pe(a,"beforeRouteUpdate",e,t);for(const n of a)n.updateGuards.forEach(n=>{o.push(De(n,e,t))});return o.push(l),le(o)}).then(()=>{o=[];for(const n of c)if(n.beforeEnter)if(s(n.beforeEnter))for(const a of n.beforeEnter)o.push(De(a,e,t));else o.push(De(n.beforeEnter,e,t));return o.push(l),le(o)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),o=Pe(c,"beforeRouteEnter",e,t,V),o.push(l),le(o))).then(()=>{o=[];for(const n of b.list())o.push(De(n,e,t));return o.push(l),le(o)}).catch(e=>te(e,8)?e:Promise.reject(e))}function N(e,t,o){g.list().forEach(n=>V(()=>n(e,t,o)))}function M(e,t,o,n,c){const i=x(e,t);if(i)return i;const r=t===R,s=a?history.state:{};o&&(n||r?u.replace(e.fullPath,l({scroll:r&&s&&s.scroll},c)):u.push(e.fullPath,c)),f.value=e,$(e,t,o,r),Z()}let W;function G(){W||(W=u.listen((e,t,o)=>{if(!ce.listening)return;const n=y(e),c=P(n);if(c)return void I(l(c,{replace:!0}),n).catch(r);p=n;const i=f.value;var s,d;a&&(s=Y(i.fullPath,o.delta),d=z(),U.set(s,d)),H(n,i).catch(e=>te(e,12)?e:te(e,2)?(I(e.to,n).then(e=>{te(e,20)&&!o.delta&&o.type===L.pop&&u.go(-1,!1)}).catch(r),Promise.reject()):(o.delta&&u.go(-o.delta,!1),Q(e,n,i))).then(e=>{(e=e||M(n,i,!1))&&(o.delta&&!te(e,8)?u.go(-o.delta,!1):o.type===L.pop&&te(e,20)&&u.go(-1,!1)),N(n,i,e)}).catch(r)}))}let K,J=xe(),q=xe();function Q(e,t,o){Z(e);const n=q.list();return n.length?n.forEach(n=>n(e,t,o)):console.error(e),Promise.reject(e)}function Z(e){return K||(K=!e,G(),J.list().forEach(([t,o])=>e?o(e):t()),J.reset()),e}function $(t,o,c,l){const{scrollBehavior:i}=e;if(!a||!i)return Promise.resolve();const r=!c&&function(e){const t=U.get(e);return U.delete(e),t}(Y(t.fullPath,0))||(l||!c)&&history.state&&history.state.scroll||null;return Object(n.n)().then(()=>i(t,o,r)).then(e=>e&&F(e)).catch(e=>Q(e,t,o))}const oe=e=>u.go(e);let ne;const ae=new Set,ce={currentRoute:f,listening:!0,addRoute:function(e,o){let n,a;return X(e)?(n=t.getRecordMatcher(e),a=o):a=e,t.addRoute(a,n)},removeRoute:function(e){const o=t.getRecordMatcher(e);o&&t.removeRoute(o)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:y,options:e,push:T,replace:function(e){return T(l(A(e),{replace:!0}))},go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:d.add,beforeResolve:b.add,afterEach:g.add,onError:q.add,isReady:function(){return K&&f.value!==R?Promise.resolve():new Promise((e,t)=>{J.add([e,t])})},install(e){e.component("RouterLink",Ie),e.component("RouterView",Ve),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Object(n.E)(f)}),a&&!ne&&f.value===R&&(ne=!0,T(u.location).catch(e=>{0}));const t={};for(const e in R)Object.defineProperty(t,e,{get:()=>f.value[e],enumerable:!0});e.provide(we,this),e.provide(Ae,Object(n.B)(t)),e.provide(Ce,f);const o=e.unmount;ae.add(e),e.unmount=function(){ae.delete(e),ae.size<1&&(p=R,W&&W(),W=null,f.value=R,ne=!1,K=!1),o()}}};function le(e){return e.reduce((e,t)=>e.then(()=>V(t)),Promise.resolve())}return ce}function Ne(){return Object(n.m)(we)}function Me(e){return Object(n.m)(Ae)}},function(e,t,o){var n=o(51);e.exports=function(e,t,o){return(t=n(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=hippyVueBase},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["5aa12b",["#root"],[["flex",1],["backgroundColor",4294967295],["display","flex"],["flexDirection","column"]]],["5aa12b",["#header"],[["height",60],["backgroundColor",4282431619],["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","space-between"],["paddingHorizontal",10]]],["5aa12b",["#root .left-title"],[["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","flex-start"]]],["5aa12b",["#root #back-btn"],[["height",20],["width",24],["marginTop",18],["marginBottom",18]]],["5aa12b",["#root .body-container"],[["flex",1]]],["5aa12b",[".row"],[["flexDirection","row"]]],["5aa12b",[".column"],[["flexDirection","column"]]],["5aa12b",[".center"],[["justifyContent","center"],["alignContent","center"]]],["5aa12b",[".fullscreen"],[["flex",1]]],["5aa12b",[".row"],[["flexDirection","row"]]],["5aa12b",[".column"],[["flexDirection","column"]]],["5aa12b",[".center"],[["justifyContent","center"],["alignContent","center"]]],["5aa12b",[".fullscreen"],[["flex",1]]],["5aa12b",[".toolbar"],[["display","flex"],["height",40],["flexDirection","row"]]],["5aa12b",[".toolbar .toolbar-btn"],[["display","flex"],["flexDirection","column"],["flexGrow",1],["justifyContent","center"],["margin",3],["borderStyle","solid"],["borderColor",4278190335],["borderWidth",1]]],["5aa12b",[".toolbar .toolbar-btn p",".toolbar .toolbar-btn span"],[["justifyContent","center"],["textAlign","center"]]],["5aa12b",[".toolbar .toolbar-text"],[["lineHeight",40]]],["5aa12b",[".title"],[["fontSize",20],["lineHeight",60],["marginLeft",5],["marginRight",10],["fontWeight","bold"],["backgroundColor",4282431619],["color",4294967295]]],["5aa12b",[".feature-content"],[["backgroundColor",4294967295]]],["5aa12b",[".bottom-tabs"],[["height",48],["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","center"],["backgroundColor",4294967295],["borderTopWidth",1],["borderStyle","solid"],["borderTopColor",4293848814]]],["5aa12b",[".bottom-tab"],[["height",48],["flex",1],["fontSize",16],["color",4280558628],["display","flex"],["flexDirection","row"],["alignItems","center"],["justifyContent","center"]]],["5aa12b",[".bottom-tab.activated .bottom-tab-text"],[["color",4283210490]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["05bd57",[".button-label[data-v-05797918]"],[["width",220],["height",50],["marginTop",20],["textAlign","center"],["lineHeight",50],["marginBottom",20]]],["05bd57",[".button-demo[data-v-05797918]"],[["display","flex"],["alignItems","center"],["flexDirection","column"]]],["05bd57",[".button-demo-1[data-v-05797918]"],[["height",64],["width",240],["borderStyle","solid"],["borderColor",4282431619],["borderWidth",2],["borderRadius",10],["alignItems","center"]]],["05bd57",[".button-demo-1 .button-text[data-v-05797918]"],[["lineHeight",56],["textAlign","center"]]],["05bd57",[".button-demo-1-image[data-v-05797918]"],[["width",216],["height",58],["backgroundColor",4282431619],["marginTop",20]]]])))}).call(this,o(5))},function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["ec719a",["#div-demo[data-v-fe0428e4]"],[["flex",1],["overflowY","scroll"],["margin",7]]],["ec719a",[".display-flex[data-v-fe0428e4]"],[["display","flex"]]],["ec719a",[".flex-row[data-v-fe0428e4]"],[["flexDirection","row"]]],["ec719a",[".flex-column[data-v-fe0428e4]"],[["flexDirection","column"]]],["ec719a",[".text-block[data-v-fe0428e4]"],[["width",100],["height",100],["lineHeight",100],["borderStyle","solid"],["borderWidth",1],["borderColor",4282431619],["fontSize",80],["margin",20],["color",4282431619],["textAlign","center"]]],["ec719a",[".div-demo-1-1[data-v-fe0428e4]"],[["display","flex"],["height",40],["width",200],["linearGradient",{angle:"30",colorStopList:[{ratio:.1,color:4278190335},{ratio:.4,color:4294967040},{ratio:.5,color:4294901760}]}],["borderWidth",2],["borderStyle","solid"],["borderColor",4278190080],["borderRadius",2],["justifyContent","center"],["alignItems","center"],["marginTop",10],["marginBottom",10]]],["ec719a",[".div-demo-1-text[data-v-fe0428e4]"],[["color",4294967295]]],["ec719a",[".div-demo-2[data-v-fe0428e4]"],[["overflowX","scroll"],["margin",10],["flexDirection","row"]]],["ec719a",[".div-demo-3[data-v-fe0428e4]"],[["width",150],["overflowY","scroll"],["margin",10],["height",320]]],["ec719a",[".div-demo-transform[data-v-fe0428e4]"],[["backgroundColor",4282431619],["transform",[{rotate:"30deg"},{scale:.5}]],["width",120],["height",120]]],["ec719a",[".div-demo-transform-text[data-v-fe0428e4]"],[["lineHeight",120],["height",120],["width",120],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["00af4b",[".async-component-outer-local[data-v-0fa9b63f]"],[["height",200],["width",300]]],["00af4b",["#demo-dynamicimport[data-v-0fa9b63f]"],[["flex",1],["display","flex"],["alignItems","center"],["flexDirection","column"],["backgroundColor",4294967295]]],["00af4b",[".import-btn[data-v-0fa9b63f]"],[["marginTop",20],["width",130],["height",40],["textAlign","center"],["backgroundColor",4282431619],["flexDirection","row"],["borderRadius",5],["justifyContent","center"]]],["00af4b",[".import-btn p[data-v-0fa9b63f]"],[["color",4278190080],["textAlign","center"],["height",40],["lineHeight",40]]],["00af4b",[".async-com-wrapper[data-v-0fa9b63f]"],[["marginTop",20]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["0db5bf",["#iframe-demo"],[["display","flex"],["flex",1],["flexDirection","column"],["margin",7]]],["0db5bf",["#iframe-demo #address"],[["height",48],["borderColor",4291611852],["borderWidth",1],["borderStyle","solid"]]],["0db5bf",["#iframe-demo #iframe"],[["flex",1],["flexGrow",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["d38885",["#demo-img[data-v-25c66a4a]"],[["overflowY","scroll"],["flex",1],["margin",7]]],["d38885",["#demo-img #demo-img-container[data-v-25c66a4a]"],[["display","flex"],["flexDirection","column"]]],["d38885",["#demo-img .image[data-v-25c66a4a]"],[["width",300],["height",180],["margin",30],["borderWidth",1],["borderStyle","solid"],["borderColor",4282431619]]],["d38885",["#demo-img .img-result[data-v-25c66a4a]"],[["width",300],["height",150],["marginTop",-30],["marginHorizontal",30],["borderWidth",1],["borderStyle","solid"],["borderColor",4282431619]]],["d38885",["#demo-img .contain[data-v-25c66a4a]"],[["resizeMode","contain"]]],["d38885",["#demo-img .cover[data-v-25c66a4a]"],[["resizeMode","cover"]]],["d38885",["#demo-img .center[data-v-25c66a4a]"],[["resizeMode","center"]]],["d38885",["#demo-img .tint-color[data-v-25c66a4a]"],[["tintColor",2571155587]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["939ddb",[".demo-input[data-v-ebfef7c0]"],[["display","flex"],["flex",1],["alignItems","center"],["flexDirection","column"],["margin",7]]],["939ddb",[".demo-input .input[data-v-ebfef7c0]"],[["width",300],["height",48],["color",4280558628],["borderWidth",1],["borderStyle","solid"],["borderColor",4291611852],["fontSize",16],["margin",20]]],["939ddb",[".demo-input .input-button[data-v-ebfef7c0]"],[["borderColor",4283210490],["borderWidth",1],["borderStyle","solid"],["paddingLeft",10],["paddingRight",10],["marginTop",5],["marginBottom",5]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["11992c",["#demo-list[data-v-75193fb0]"],[["collapsable",!1],["flex",1]]],["11992c",["#demo-list #loading[data-v-75193fb0]"],[["fontSize",11],["color",4289374890],["alignSelf","center"]]],["11992c",["#demo-list .container[data-v-75193fb0]"],[["backgroundColor",4294967295],["collapsable",!1]]],["11992c",["#demo-list .item-container[data-v-75193fb0]"],[["padding",12]]],["11992c",["#demo-list .separator-line[data-v-75193fb0]"],[["marginLeft",12],["marginRight",12],["height",1],["backgroundColor",4293256677]]],["11992c",["#demo-list .item-horizontal-style[data-v-75193fb0]"],[["height",50],["width",100]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["b88068",[".p-demo[data-v-34e2123c]"],[["margin",7],["overflowY","scroll"],["flex",1],["flexDirection","column"]]],["b88068",[".p-demo .p-demo-content[data-v-34e2123c]"],[["margin",20]]],["b88068",[".p-demo .p-demo-content-status[data-v-34e2123c]"],[["marginLeft",20],["marginRight",20],["marginBottom",10]]],["b88068",[".p-demo .p-demo-1[data-v-34e2123c]"],[["color",4294199351]]],["b88068",[".p-demo .p-demo-2[data-v-34e2123c]"],[["fontSize",30]]],["b88068",[".p-demo .p-demo-3[data-v-34e2123c]"],[["fontWeight","bold"]]],["b88068",[".p-demo .p-demo-4[data-v-34e2123c]"],[["textDecorationLine","underline"],["textDecorationStyle","dotted"]]],["b88068",[".p-demo .p-demo-5[data-v-34e2123c]"],[["textDecorationLine","line-through"],["textDecorationColor",4294901760]]],["b88068",[".p-demo .p-demo-6[data-v-34e2123c]"],[["color",4278211289],["fontFamily","TTTGB"],["fontSize",32]]],["b88068",[".p-demo .p-demo-8[data-v-34e2123c]"],[["letterSpacing",-1]]],["b88068",[".p-demo .p-demo-9[data-v-34e2123c]"],[["letterSpacing",5]]],["b88068",[".p-demo .button-bar[data-v-34e2123c]"],[["flexDirection","row"]]],["b88068",[".p-demo .button[data-v-34e2123c]"],[["width",100],["margin",2],["backgroundColor",4293848814],["borderStyle","solid"],["borderColor",4278190080],["borderWidth",1],["alignItems","center"],["flexShrink",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["a451bc",["#shadow-demo[data-v-19ab3f2d]"],[["flex",1]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-cube-android[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",50],["width",170],["height",170],["shadowOpacity",.6],["shadowRadius",5],["shadowColor",4278815273],["borderRadius",5]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-android[data-v-19ab3f2d]"],[["position","absolute"],["left",5],["top",5],["width",160],["height",160],["backgroundColor",4286611584],["borderRadius",5],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-android p[data-v-19ab3f2d]"],[["color",4294967295]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-cube-ios[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",50],["width",160],["height",160],["shadowOpacity",.6],["shadowRadius",5],["shadowSpread",1],["shadowColor",4278815273],["borderRadius",5]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-ios[data-v-19ab3f2d]"],[["width",160],["height",160],["backgroundColor",4286611584],["borderRadius",5],["color",4294967295],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .no-offset-shadow-demo-content-ios p[data-v-19ab3f2d]"],[["color",4294967295]]],["a451bc",["#shadow-demo .offset-shadow-demo-cube-android[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",300],["width",175],["height",175],["shadowOpacity",.6],["shadowRadius",5],["shadowColor",4278815273],["shadowOffset",{x:15,y:15}]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-android[data-v-19ab3f2d]"],[["width",160],["height",160],["backgroundColor",4286611584],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-android p[data-v-19ab3f2d]"],[["color",4294967295]]],["a451bc",["#shadow-demo .offset-shadow-demo-cube-ios[data-v-19ab3f2d]"],[["position","absolute"],["left",50],["top",300],["width",160],["height",160],["shadowOpacity",.6],["shadowRadius",5],["shadowSpread",1],["shadowOffset",{x:10,y:10}],["shadowColor",4278815273]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-ios[data-v-19ab3f2d]"],[["width",160],["height",160],["backgroundColor",4286611584],["justifyContent","center"],["alignItems","center"]]],["a451bc",["#shadow-demo .offset-shadow-demo-content-ios p[data-v-19ab3f2d]"],[["color",4294967295]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["42d8d9",["#demo-textarea[data-v-6d6167b3]"],[["display","flex"],["alignItems","center"],["flexDirection","column"],["margin",7]]],["42d8d9",["#demo-textarea label[data-v-6d6167b3]"],[["alignSelf","flex-start"],["fontWeight","bold"],["marginTop",5],["marginBottom",5]]],["42d8d9",["#demo-textarea .textarea[data-v-6d6167b3]"],[["width",300],["height",150],["color",4280558628],["textAlign","left"],["borderWidth",1],["borderStyle","solid"],["borderColor",4291611852],["underlineColorAndroid",4282431619],["placeholderTextColor",4284900966],["alignSelf","center"]]],["42d8d9",["#demo-textarea .output[data-v-6d6167b3]"],[["wordBreak","break-all"]]],["42d8d9",["#demo-textarea .button-bar[data-v-6d6167b3]"],[["flexDirection","row"]]],["42d8d9",["#demo-textarea .button[data-v-6d6167b3]"],[["width",100],["margin",2],["backgroundColor",4293848814],["borderStyle","solid"],["borderColor",4278190080],["borderWidth",1],["alignItems","center"],["flexShrink",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["dc3da6",[".demo-turbo"],[["flex",1],["display","flex"],["flexDirection","column"]]],["dc3da6",[".demo-turbo .cell .contentView"],[["flexDirection","row"],["justifyContent","space-between"],["backgroundColor",4291611852],["marginBottom",1]]],["dc3da6",[".demo-turbo .func-info"],[["justifyContent","center"],["paddingLeft",15],["paddingRight",15]]],["dc3da6",[".demo-turbo .action-button"],[["backgroundColor",4283210490],["color",4294967295],["height",44],["lineHeight",44],["textAlign","center"],["width",80],["borderRadius",6]]],["dc3da6",[".demo-turbo .result"],[["backgroundColor",4287609999],["minHeight",150],["padding",15]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["4f5975",["#websocket-demo .demo-title[data-v-99a0fc74]"],[["color",4291611852]]],["4f5975",["#websocket-demo .output[data-v-99a0fc74]"],[["overflowY","scroll"]]],["4f5975",["#websocket-demo button[data-v-99a0fc74]"],[["backgroundColor",4282431619],["borderColor",4284328955],["borderStyle","solid"],["borderWidth",1],["paddingHorizontal",20],["fontSize",16],["color",4294967295],["margin",10]]],["4f5975",["#websocket-demo button span[data-v-99a0fc74]"],[["height",56],["lineHeight",56]]],["4f5975",["#websocket-demo input[data-v-99a0fc74]"],[["color",4278190080],["flex",1],["height",36],["lineHeight",36],["fontSize",14],["borderBottomColor",4282431619],["borderBottomWidth",1],["borderStyle","solid"],["padding",0]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["7b11e6",[".set-native-props-demo[data-v-4521f010]"],[["display","flex"],["alignItems","center"],["position","relative"]]],["7b11e6",[".native-demo-1-drag[data-v-4521f010]"],[["height",80],["backgroundColor",4282431619],["position","relative"],["marginTop",10]]],["7b11e6",[".native-demo-1-point[data-v-4521f010]"],[["height",80],["width",80],["color",4282445460],["backgroundColor",4282445460],["position","absolute"],["left",0]]],["7b11e6",[".native-demo-2-drag[data-v-4521f010]"],[["height",80],["backgroundColor",4282431619],["position","relative"],["marginTop",10]]],["7b11e6",[".native-demo-2-point[data-v-4521f010]"],[["height",80],["width",80],["color",4282445460],["backgroundColor",4282445460],["position","absolute"],["left",0]]],["7b11e6",[".splitter[data-v-4521f010]"],[["marginTop",50]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["698a9e",[".color-green[data-v-35b77823]"],[["marginTop",10],["justifyContent","center"],["alignItems","center"],["backgroundColor",4282431619],["width",200],["height",80],["marginLeft",5]]],["698a9e",[".color-white[data-v-35b77823]"],[["justifyContent","center"],["alignItems","center"],["backgroundColor",4294967295],["width",100],["height",35]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["75284e",[".loop-green[data-v-0ffc52dc]"],[["marginTop",10],["justifyContent","center"],["alignItems","center"],["backgroundColor",4282431619],["width",200],["height",80]]],["75284e",[".loop-white[data-v-0ffc52dc]"],[["justifyContent","center"],["alignItems","center"],["backgroundColor",4294967295],["width",160],["height",50]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["64f5ce",[".loop-green[data-v-54047ca5]"],[["marginTop",10],["justifyContent","center"],["alignItems","center"],["backgroundColor",4282431619],["width",200],["height",80]]],["64f5ce",[".loop-white[data-v-54047ca5]"],[["justifyContent","center"],["alignItems","center"],["backgroundColor",4294967295],["width",160],["height",50]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["d1531b",[".vote-face[data-v-7020ef76]"],[["width",40],["height",40],["backgroundColor",4294957824],["borderColor",4293505366],["borderWidth",1],["borderStyle","solid"],["borderRadius",20]]],["d1531b",[".vote-down-face[data-v-7020ef76]"],[["position","absolute"],["top",15],["left",16],["width",18],["height",18],["resizeMode","stretch"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["f611de",[".vote-face[data-v-0dd85e5f]"],[["width",40],["height",40],["backgroundColor",4294957824],["borderColor",4293505366],["borderWidth",1],["borderStyle","solid"],["borderRadius",20]]],["f611de",[".vote-up-eye[data-v-0dd85e5f]"],[["position","absolute"],["top",16],["left",16],["width",18],["height",4]]],["f611de",[".vote-up-mouth[data-v-0dd85e5f]"],[["position","absolute"],["bottom",9],["left",9],["width",32],["height",16]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["200f62",["#animation-demo[data-v-4fa3f0c0]"],[["overflow","scroll"],["margin",7]]],["200f62",["#animation-demo .vote-icon[data-v-4fa3f0c0]"],[["width",50],["height",50],["marginRight",10],["alignItems","center"],["justifyContent","center"]]],["200f62",["#animation-demo .vote-face-container[data-v-4fa3f0c0]"],[["height",60]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["de55d0",["#dialog-demo[data-v-58c0fb99]"],[["display","flex"],["alignItems","center"],["flexDirection","column"],["flex",1],["margin",7]]],["de55d0",[".dialog-demo-button-1[data-v-58c0fb99]"],[["height",64],["width",200],["borderStyle","solid"],["borderColor",4282431619],["borderWidth",2],["borderRadius",10],["alignItems","center"],["marginTop",10]]],["de55d0",[".dialog-demo-button-1 .button-text[data-v-58c0fb99]"],[["lineHeight",56],["textAlign","center"]]],["de55d0",[".dialog-demo-button-2[data-v-58c0fb99]"],[["height",64],["width",200],["borderStyle","solid"],["borderColor",4294967295],["borderWidth",2],["borderRadius",10],["alignItems","center"],["marginTop",10]]],["de55d0",[".dialog-demo-button-2 .button-text[data-v-58c0fb99]"],[["lineHeight",56],["textAlign","center"]]],["de55d0",[".dialog-demo-wrapper[data-v-58c0fb99]"],[["flex",1],["backgroundColor",2000730243]]],["de55d0",[".dialog-2-demo-wrapper[data-v-58c0fb99]"],[["flex",1],["backgroundColor",3997451332],["justifyContent","center"],["alignItems","center"]]],["de55d0",[".dialog-demo-close-btn[data-v-58c0fb99]"],[["width",210],["height",200],["marginTop",300],["backgroundColor",4282431619],["justifyContent","center"],["alignItems","center"]]],["de55d0",[".dialog-demo-close-btn-text[data-v-58c0fb99]"],[["width",200],["fontSize",22],["lineHeight",40],["flexDirection","column"],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["3bc20c",["#demo-vue-native[data-v-2aae558d]"],[["flex",1],["padding",12],["overflowY","scroll"]]],["3bc20c",[".native-block[data-v-2aae558d]"],[["marginTop",15],["marginBottom",15]]],["3bc20c",[".native-block p[data-v-2aae558d]"],[["marginVertical",5]]],["3bc20c",[".vue-native-title[data-v-2aae558d]"],[["textDecorationLine","underline"],["color",4282431619]]],["3bc20c",[".event-btn[data-v-2aae558d]"],[["backgroundColor",4282431619],["flex",1],["flexDirection","column"],["width",120],["height",40],["justifyContent","center"],["alignItems","center"],["borderRadius",3],["marginBottom",5],["marginTop",5]]],["3bc20c",[".event-btn-result[data-v-2aae558d]"],[["flex",1],["flexDirection","column"]]],["3bc20c",[".event-btn .event-btn-text[data-v-2aae558d]"],[["color",4294967295]]],["3bc20c",[".item-wrapper[data-v-2aae558d]"],[["display","flex"],["justifyContent","flex-start"],["flexDirection","row"],["alignItems","center"]]],["3bc20c",[".item-button[data-v-2aae558d]"],[["width",80],["height",40],["backgroundColor",4282431619],["borderRadius",3],["marginBottom",5],["marginTop",5],["display","flex"],["justifyContent","center"],["alignItems","center"],["marginRight",10]]],["3bc20c",[".item-button span[data-v-2aae558d]"],[["color",4294967295],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["bfeca0",["#demo-pull-header-footer[data-v-52ecb6dc]"],[["flex",1],["padding",12]]],["bfeca0",["#demo-pull-header-footer .ul-refresh[data-v-52ecb6dc]"],[["backgroundColor",4282431619]]],["bfeca0",["#demo-pull-header-footer .ul-refresh-text[data-v-52ecb6dc]"],[["color",4294967295],["height",50],["lineHeight",50],["textAlign","center"]]],["bfeca0",["#demo-pull-header-footer .pull-footer[data-v-52ecb6dc]"],[["backgroundColor",4282431619],["height",40]]],["bfeca0",["#demo-pull-header-footer .pull-footer-text[data-v-52ecb6dc]"],[["color",4294967295],["lineHeight",40],["textAlign","center"]]],["bfeca0",["#demo-pull-header-footer #list[data-v-52ecb6dc]"],[["flex",1],["backgroundColor",4294967295]]],["bfeca0",["#demo-pull-header-footer .item-style[data-v-52ecb6dc]"],[["backgroundColor",4294967295],["paddingTop",12],["paddingBottom",12],["borderBottomWidth",1],["borderBottomColor",4293256677],["borderStyle","solid"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .article-title"],[["fontSize",17],["lineHeight",24],["color",4280558628]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .normal-text"],[["fontSize",11],["color",4289374890],["alignSelf","center"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .image"],[["flex",1],["height",160],["resizeMode","cover"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-one-image-container"],[["flexDirection","row"],["justifyContent","center"],["marginTop",8],["flex",1]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-one-image"],[["height",120]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two"],[["flexDirection","row"],["justifyContent","space-between"]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two-left-container"],[["flex",1],["flexDirection","column"],["justifyContent","center"],["marginRight",8]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two-image-container"],[["flex",1]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-two-image"],[["height",140]]],["bfeca0",["[specital-attr='pull-header-footer'][data-v-52ecb6dc] .style-five-image-container"],[["flexDirection","row"],["justifyContent","center"],["marginTop",8],["flex",1]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["59dea1",["#demo-swiper"],[["flex",1]]],["59dea1",["#demo-swiper #swiper"],[["flex",1],["height",400]]],["59dea1",["#demo-swiper #swiper-dots"],[["flexDirection","row"],["alignItems","center"],["justifyContent","center"],["height",40]]],["59dea1",["#demo-swiper .dot"],[["width",10],["height",10],["borderRadius",5],["backgroundColor",4289309097],["marginLeft",5],["marginRight",5]]],["59dea1",["#demo-swiper .dot.hightlight"],[["backgroundColor",4281519410]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["db9dc8",["#demo-waterfall[data-v-056a0bc2]"],[["flex",1]]],["db9dc8",["#demo-waterfall .ul-refresh[data-v-056a0bc2]"],[["backgroundColor",4282431619]]],["db9dc8",["#demo-waterfall .ul-refresh-text[data-v-056a0bc2]"],[["color",4294967295],["height",50],["lineHeight",50],["textAlign","center"]]],["db9dc8",["#demo-waterfall .pull-footer[data-v-056a0bc2]"],[["backgroundColor",4282431619],["height",40]]],["db9dc8",["#demo-waterfall .pull-footer-text[data-v-056a0bc2]"],[["color",4294967295],["lineHeight",40],["textAlign","center"]]],["db9dc8",["#demo-waterfall .refresh-text[data-v-056a0bc2]"],[["height",40],["lineHeight",40],["textAlign","center"],["color",4294967295]]],["db9dc8",["#demo-waterfall .banner-view[data-v-056a0bc2]"],[["backgroundColor",4286611584],["height",100],["display","flex"],["justifyContent","center"],["alignItems","center"]]],["db9dc8",["#demo-waterfall .pull-footer[data-v-056a0bc2]"],[["flex",1],["height",40],["backgroundColor",4282431619],["justifyContent","center"],["alignItems","center"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .list-view-item"],[["backgroundColor",4293848814]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .article-title"],[["fontSize",12],["lineHeight",16],["color",4280558628]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .normal-text"],[["fontSize",10],["color",4289374890],["alignSelf","center"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .image"],[["flex",1],["height",120],["resize","both"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-one-image-container"],[["flexDirection","row"],["justifyContent","center"],["marginTop",8],["flex",1]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-one-image"],[["height",60]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two"],[["flexDirection","row"],["justifyContent","space-between"]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two-left-container"],[["flex",1],["flexDirection","column"],["justifyContent","center"],["marginRight",8]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two-image-container"],[["flex",1]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .style-two-image"],[["height",80]]],["db9dc8",["#demo-waterfall[data-v-056a0bc2] .refresh"],[["backgroundColor",4282431619]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["969574",["#demo-wrap[data-v-72406cea]"],[["overflowY","scroll"],["flex",1]]],["969574",["#demo-content[data-v-72406cea]"],[["flexDirection","column"]]],["969574",["#banner[data-v-72406cea]"],[["backgroundImage","https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png"],["backgroundSize","cover"],["height",150],["justifyContent","flex-end"]]],["969574",["#banner p[data-v-72406cea]"],[["color",4294934352],["textAlign","center"]]],["969574",["#tabs[data-v-72406cea]"],[["flexDirection","row"],["height",30]]],["969574",["#tabs p[data-v-72406cea]"],[["flex",1],["textAlign","center"],["backgroundColor",4293848814]]],["969574",["#tabs .selected[data-v-72406cea]"],[["backgroundColor",4294967295],["color",4282431619]]],["969574",[".item-even[data-v-72406cea]"],[["height",40]]],["969574",[".item-even p[data-v-72406cea]"],[["lineHeight",40],["fontSize",20],["textAlign","center"]]],["969574",[".item-odd[data-v-72406cea]"],[["height",40],["backgroundColor",4286611584]]],["969574",[".item-odd p[data-v-72406cea]"],[["lineHeight",40],["color",4294967295],["fontSize",20],["textAlign","center"]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["b3ab98",[".feature-list[data-v-63300fa4]"],[["overflow","scroll"]]],["b3ab98",[".feature-item[data-v-63300fa4]"],[["alignItems","center"],["justifyContent","center"],["display","flex"],["paddingTop",10],["paddingBottom",10]]],["b3ab98",[".feature-title[data-v-63300fa4]"],[["color",4283782485],["textAlign","center"]]],["b3ab98",[".feature-item .button[data-v-63300fa4]"],[["display","block"],["borderStyle","solid"],["borderColor",4282431619],["borderWidth",2],["borderRadius",10],["justifyContent","center"],["alignItems","center"],["width",200],["height",56],["lineHeight",56],["fontSize",16],["color",4282431619],["textAlign","center"]]],["b3ab98",["#version-info[data-v-63300fa4]"],[["paddingTop",10],["paddingBottom",10],["marginBottom",10],["borderBottomWidth",1],["borderStyle","solid"],["borderBottomColor",4292664540]]]])))}).call(this,o(5))},function(e,t,o){(function(t){var o;e.exports=(t[o="__HIPPY_VUE_STYLES__"]||(t[o]=[]),void(t[o]=t[o].concat([["593803",[".demo-remote-input[data-v-c92250fe]"],[["display","flex"],["flex",1],["justifyContent","center"],["alignItems","center"],["flexDirection","column"]]],["593803",[".input-label[data-v-c92250fe]"],[["margin",20],["marginBottom",0]]],["593803",[".demo-remote-input .remote-input[data-v-c92250fe]"],[["width",350],["height",80],["color",4280558628],["borderWidth",1],["borderStyle","solid"],["borderColor",4291611852],["fontSize",16],["margin",20],["placeholderTextColor",4289374890]]],["593803",[".demo-remote-input .input-button[data-v-c92250fe]"],[["borderColor",4283210490],["borderWidth",1],["paddingLeft",10],["paddingRight",10],["borderStyle","solid"],["marginTop",5],["marginBottom",5],["marginLeft",20],["marginRight",20]]],["593803",[".tips-wrap[data-v-c92250fe]"],[["marginTop",20],["padding",10]]]])))}).call(this,o(5))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a,c=o(9),l=o(4);!function(e){e.pop="pop",e.push="push"}(n||(n={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(a||(a={}));const i=/\/$/,r=/^[^#]+#/;function s(e,t){return`${e.replace(r,"#")}${t}`}function u(e){let t=e;return t||(t="/"),"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(i,"")}function d(e=""){let t=[""],o=0,c=[];const l=u(e);function i(e){o+=1,o===t.length||t.splice(o),t.push(e)}const r={location:"",state:{},base:l,createHref:s.bind(null,l),replace(e){t.splice(o,1),o-=1,i(e)},push(e){i(e)},listen:e=>(c.push(e),()=>{const t=c.indexOf(e);t>-1&&c.splice(t,1)}),destroy(){c=[],t=[""],o=0},go(e,l=!0){const i=this.location,r=e<0?a.back:a.forward;o=Math.max(0,Math.min(o+e,t.length-1)),l&&function(e,t,{direction:o,delta:a}){const l={direction:o,delta:a,type:n.pop};for(const o of c)o(e,t,l)}(this.location,i,{direction:r,delta:e})},get position(){return o}};return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t[o]}),r}t.createHippyHistory=d,t.createHippyRouter=function(e){var t;const o=c.createRouter({history:null!==(t=e.history)&&void 0!==t?t:d(),routes:e.routes});return e.noInjectAndroidHardwareBackPress||function(e){if(l.Native.isAndroid()){function t(){const{position:t}=e.options.history;if(t>0)return e.back(),!0}e.isReady().then(()=>{l.BackAndroid.addListener(t)})}}(o),o},Object.keys(c).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})}))},function(e,t,o){e.exports=o.p+"assets/hippyLogoWhite.png"},function(e,t,o){"use strict";o.d(t,"a",(function(){return Ot}));var n=o(41),a=o(0);var c=o(1),l=Object(c.defineComponent)({setup(){const e=Object(c.ref)(!1),t=Object(c.ref)(!1),o=Object(c.ref)(!1);Object(c.onActivated)(()=>{console.log(Date.now()+"-button-activated")}),Object(c.onDeactivated)(()=>{console.log(Date.now()+"-button-Deactivated")});return{isClicked:e,isPressing:t,isOnceClicked:o,onClickView:()=>{e.value=!e.value},onTouchBtnStart:e=>{console.log("onBtnTouchDown",e)},onTouchBtnMove:e=>{console.log("onBtnTouchMove",e)},onTouchBtnEnd:e=>{console.log("onBtnTouchEnd",e)},onClickViewOnce:()=>{o.value=!o.value}}}}),i=(o(50),o(3)),r=o.n(i);var s=r()(l,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"button-demo"},[Object(a.g)("label",{class:"button-label"},"按钮和状态绑定"),Object(a.g)("button",{class:Object(a.o)([{"is-active":e.isClicked,"is-pressing":e.isPressing},"button-demo-1"]),onTouchstart:t[0]||(t[0]=Object(a.J)((...t)=>e.onTouchBtnStart&&e.onTouchBtnStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(a.J)((...t)=>e.onTouchBtnMove&&e.onTouchBtnMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(a.J)((...t)=>e.onTouchBtnEnd&&e.onTouchBtnEnd(...t),["stop"])),onClick:t[3]||(t[3]=(...t)=>e.onClickView&&e.onClickView(...t))},[e.isClicked?(Object(a.t)(),Object(a.f)("span",{key:0,class:"button-text"},"视图已经被点击了,再点一下恢复")):(Object(a.t)(),Object(a.f)("span",{key:1,class:"button-text"},"视图尚未点击"))],34),Object(a.I)(Object(a.g)("img",{alt:"demo1-image",src:"https://user-images.githubusercontent.com/12878546/148737148-d0b227cb-69c8-4b21-bf92-739fb0c3f3aa.png",class:"button-demo-1-image"},null,512),[[a.F,e.isClicked]])])}],["__scopeId","data-v-05797918"]]),u=o(10),d=o.n(u);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;tO},positionY:{type:Number,default:0}},setup(e){const{positionY:t}=Object(c.toRefs)(e),o=Object(c.ref)(null),n=Object(c.ref)(t.value);let a=0,l=0;Object(c.watch)(t,e=>{n.value=e});return{scrollOffsetY:e.positionY,demo1Style:O,ripple1:o,onLayout:()=>{o.value&&f.Native.measureInAppWindow(o.value).then(e=>{a=e.left,l=e.top})},onTouchStart:e=>{const t=e.touches[0];o.value&&(o.value.setHotspot(t.clientX-a,t.clientY+n.value-l),o.value.setPressed(!0))},onTouchEnd:()=>{o.value&&o.value.setPressed(!1)}}}});var y=r()(j,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{ref:"ripple1",style:Object(a.p)(e.wrapperStyle),nativeBackgroundAndroid:v({},e.nativeBackgroundAndroid),onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t)),onTouchstart:t[1]||(t[1]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t)),onTouchcancel:t[3]||(t[3]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},[Object(a.y)(e.$slots,"default")],44,["nativeBackgroundAndroid"])}]]);const w=e=>{console.log("onScroll",e)},A=e=>{console.log("onMomentumScrollBegin",e)},C=e=>{console.log("onMomentumScrollEnd",e)},x=e=>{console.log("onScrollBeginDrag",e)},S=e=>{console.log("onScrollEndDrag",e)};var k=Object(c.defineComponent)({components:{DemoRippleDiv:y},setup(){const e=Object(c.ref)(0),t=Object(c.ref)(null);return Object(c.onActivated)(()=>{console.log(Date.now()+"-div-activated")}),Object(c.onDeactivated)(()=>{console.log(Date.now()+"-div-Deactivated")}),Object(c.onMounted)(()=>{t.value&&t.value.scrollTo(50,0,1e3)}),{demo2:t,demo1Style:{display:"flex",height:"40px",width:"200px",backgroundImage:""+m.a,backgroundRepeat:"no-repeat",justifyContent:"center",alignItems:"center",marginTop:"10px",marginBottom:"10px"},imgRectangle:{width:"260px",height:"56px",alignItems:"center",justifyContent:"center"},imgRectangleExtra:{marginTop:"20px",backgroundImage:""+m.a,backgroundSize:"cover",backgroundRepeat:"no-repeat"},circleRipple:{marginTop:"30px",width:"150px",height:"56px",alignItems:"center",justifyContent:"center",borderWidth:"3px",borderStyle:"solid",borderColor:"#40b883"},squareRipple:{marginBottom:"20px",alignItems:"center",justifyContent:"center",width:"150px",height:"150px",backgroundColor:"#40b883",marginTop:"30px",borderRadius:"12px",overflow:"hidden"},Native:f.Native,offsetY:e,onScroll:w,onMomentumScrollBegin:A,onMomentumScrollEnd:C,onScrollBeginDrag:x,onScrollEndDrag:S,onOuterScroll:t=>{e.value=t.offsetY}}}});o(53);var T=r()(k,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("demo-ripple-div");return Object(a.t)(),Object(a.f)("div",{id:"div-demo",onScroll:t[5]||(t[5]=(...t)=>e.onOuterScroll&&e.onOuterScroll(...t))},[Object(a.g)("div",null,["ios"!==e.Native.Platform?(Object(a.t)(),Object(a.f)("div",{key:0},[Object(a.g)("label",null,"水波纹效果: "),Object(a.g)("div",{style:Object(a.p)(g(g({},e.imgRectangle),e.imgRectangleExtra))},[Object(a.i)(i,{"position-y":e.offsetY,"wrapper-style":e.imgRectangle,"native-background-android":{borderless:!0,color:"#666666"}},{default:Object(a.H)(()=>[Object(a.g)("p",{style:{color:"white",maxWidth:200}}," 外层背景图,内层无边框水波纹,受外层影响始终有边框 ")]),_:1},8,["position-y","wrapper-style"])],4),Object(a.i)(i,{"position-y":e.offsetY,"wrapper-style":e.circleRipple,"native-background-android":{borderless:!0,color:"#666666",rippleRadius:100}},{default:Object(a.H)(()=>[Object(a.g)("p",{style:{color:"black",textAlign:"center"}}," 无边框圆形水波纹 ")]),_:1},8,["position-y","wrapper-style"]),Object(a.i)(i,{"position-y":e.offsetY,"wrapper-style":e.squareRipple,"native-background-android":{borderless:!1,color:"#666666"}},{default:Object(a.H)(()=>[Object(a.g)("p",{style:{color:"#fff"}}," 带背景色水波纹 ")]),_:1},8,["position-y","wrapper-style"])])):Object(a.e)("v-if",!0),Object(a.g)("label",null,"背景图效果:"),Object(a.g)("div",{style:Object(a.p)(e.demo1Style),accessible:!0,"aria-label":"背景图","aria-disabled":!1,"aria-selected":!0,"aria-checked":!1,"aria-expanded":!1,"aria-busy":!0,role:"image","aria-valuemax":10,"aria-valuemin":1,"aria-valuenow":5,"aria-valuetext":"middle"},[Object(a.g)("p",{class:"div-demo-1-text"}," Hippy 背景图展示 ")],4),Object(a.g)("label",null,"渐变色效果:"),Object(a.g)("div",{class:"div-demo-1-1"},[Object(a.g)("p",{class:"div-demo-1-text"}," Hippy 背景渐变色展示 ")]),Object(a.g)("label",null,"Transform"),Object(a.g)("div",{class:"div-demo-transform"},[Object(a.g)("p",{class:"div-demo-transform-text"}," Transform ")]),Object(a.g)("label",null,"水平滚动:"),Object(a.g)("div",{ref:"demo2",class:"div-demo-2",bounces:!0,scrollEnabled:!0,pagingEnabled:!1,showsHorizontalScrollIndicator:!1,onScroll:t[0]||(t[0]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[1]||(t[1]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[2]||(t[2]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[3]||(t[3]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[4]||(t[4]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[Object(a.e)(" div 带着 overflow 属性的,只能有一个子节点,否则终端会崩溃 "),Object(a.g)("div",{class:"display-flex flex-row"},[Object(a.g)("p",{class:"text-block"}," A "),Object(a.g)("p",{class:"text-block"}," B "),Object(a.g)("p",{class:"text-block"}," C "),Object(a.g)("p",{class:"text-block"}," D "),Object(a.g)("p",{class:"text-block"}," E ")])],544),Object(a.g)("label",null,"垂直滚动:"),Object(a.g)("div",{class:"div-demo-3",showsVerticalScrollIndicator:!1},[Object(a.g)("div",{class:"display-flex flex-column"},[Object(a.g)("p",{class:"text-block"}," A "),Object(a.g)("p",{class:"text-block"}," B "),Object(a.g)("p",{class:"text-block"}," C "),Object(a.g)("p",{class:"text-block"}," D "),Object(a.g)("p",{class:"text-block"}," E ")])])])],32)}],["__scopeId","data-v-fe0428e4"]]);var D=Object(c.defineComponent)({components:{AsyncComponentFromLocal:Object(c.defineAsyncComponent)(async()=>o.e(1).then(o.bind(null,83))),AsyncComponentFromHttp:Object(c.defineAsyncComponent)(async()=>o.e(0).then(o.bind(null,84)))},setup(){const e=Object(c.ref)(!1);return{loaded:e,onClickLoadAsyncComponent:()=>{e.value=!0}}}});o(54);var P=r()(D,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("AsyncComponentFromLocal"),r=Object(a.z)("AsyncComponentFromHttp");return Object(a.t)(),Object(a.f)("div",{id:"demo-dynamicimport",onClick:t[0]||(t[0]=Object(a.J)((...t)=>e.onClickLoadAsyncComponent&&e.onClickLoadAsyncComponent(...t),["stop"]))},[Object(a.g)("div",{class:"import-btn"},[Object(a.g)("p",null,"点我异步加载")]),e.loaded?(Object(a.t)(),Object(a.f)("div",{key:0,class:"async-com-wrapper"},[Object(a.i)(i,{class:"async-component-outer-local"}),Object(a.i)(r)])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-0fa9b63f"]]);var E=Object(c.defineComponent)({setup(){const e=Object(c.ref)("https://hippyjs.org"),t=Object(c.ref)("https://hippyjs.org"),o=Object(c.ref)(null),n=Object(c.ref)(null),a=t=>{t&&(e.value=t.value)};return{targetUrl:e,displayUrl:t,iframeStyle:{"min-height":f.Native?100:"100vh"},input:o,iframe:n,onLoad:o=>{let{url:a}=o;void 0===a&&n.value&&(a=n.value.src),a&&a!==e.value&&(t.value=a)},onKeyUp:e=>{13===e.keyCode&&(e.preventDefault(),o.value&&a(o.value))},goToUrl:a,onLoadStart:e=>{const{url:t}=e;console.log("onLoadStart",t)},onLoadEnd:e=>{const{url:t,success:o,error:n}=e;console.log("onLoadEnd",t,o,n)}}}});o(55);var _=r()(E,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"iframe-demo",style:Object(a.p)(e.iframeStyle)},[Object(a.g)("label",null,"地址栏:"),Object(a.g)("input",{id:"address",ref:"input",name:"targetUrl",returnKeyType:"go",value:e.displayUrl,"on:endEditing":t[0]||(t[0]=(...t)=>e.goToUrl&&e.goToUrl(...t)),onKeyup:t[1]||(t[1]=(...t)=>e.onKeyUp&&e.onKeyUp(...t))},null,40,["value"]),Object(a.g)("iframe",{id:"iframe",ref:e.iframe,src:e.targetUrl,method:"get",onLoad:t[2]||(t[2]=(...t)=>e.onLoad&&e.onLoad(...t)),"on:loadStart":t[3]||(t[3]=(...t)=>e.onLoadStart&&e.onLoadStart(...t)),"on:loadEnd":t[4]||(t[4]=(...t)=>e.onLoadEnd&&e.onLoadEnd(...t))},null,40,["src"])],4)}]]);var I=o(42),B=o.n(I),R=Object(c.defineComponent)({setup(){const e=Object(c.ref)({});return{defaultImage:m.a,hippyLogoImage:B.a,gifLoadResult:e,onTouchEnd:e=>{console.log("onTouchEnd",e),e.stopPropagation(),console.log(e)},onTouchMove:e=>{console.log("onTouchMove",e),e.stopPropagation(),console.log(e)},onTouchStart:e=>{console.log("onTouchDown",e),e.stopPropagation()},onLoad:t=>{console.log("onLoad",t);const{width:o,height:n,url:a}=t;e.value={width:o,height:n,url:a}}}}});o(56);var L=r()(R,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"demo-img"},[Object(a.g)("div",{id:"demo-img-container"},[Object(a.g)("label",null,"Contain:"),Object(a.g)("img",{alt:"",src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",placeholder:e.defaultImage,class:"image contain",onTouchstart:t[0]||(t[0]=(...t)=>e.onTouchStart&&e.onTouchStart(...t)),onTouchmove:t[1]||(t[1]=(...t)=>e.onTouchMove&&e.onTouchMove(...t)),onTouchend:t[2]||(t[2]=(...t)=>e.onTouchEnd&&e.onTouchEnd(...t))},null,40,["placeholder"]),Object(a.g)("label",null,"Cover:"),Object(a.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover"},null,8,["placeholder"]),Object(a.g)("label",null,"Center:"),Object(a.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image center"},null,8,["placeholder"]),Object(a.g)("label",null,"CapInsets:"),Object(a.g)("img",{placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png",class:"image cover",capInsets:{top:50,left:50,bottom:50,right:50}},null,8,["placeholder"]),Object(a.g)("label",null,"TintColor:"),Object(a.g)("img",{src:e.hippyLogoImage,class:"image center tint-color"},null,8,["src"]),Object(a.g)("label",null,"Gif:"),Object(a.g)("img",{alt:"",placeholder:e.defaultImage,src:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",class:"image cover",onLoad:t[3]||(t[3]=(...t)=>e.onLoad&&e.onLoad(...t))},null,40,["placeholder"]),Object(a.g)("div",{class:"img-result"},[Object(a.g)("p",null,"Load Result: "+Object(a.D)(e.gifLoadResult),1)])])])}],["__scopeId","data-v-25c66a4a"]]);const V=e=>{e.stopPropagation()},H=e=>{console.log(e.value)},N=e=>{console.log("onKeyboardWillShow",e)},M=()=>{console.log("onKeyboardWillHide")};var z=Object(c.defineComponent)({setup(){const e=Object(c.ref)(null),t=Object(c.ref)(null),o=Object(c.ref)(""),n=Object(c.ref)(""),a=Object(c.ref)(!1),l=()=>{if(e.value){const t=e.value;if(t.childNodes.length){let e=t.childNodes;return e=e.filter(e=>"input"===e.tagName),e}}return[]};Object(c.onMounted)(()=>{Object(c.nextTick)(()=>{const e=l();e.length&&e[0].focus()})});return{input:t,inputDemo:e,text:o,event:n,isFocused:a,blur:e=>{e.stopPropagation(),t.value&&t.value.blur()},clearTextContent:()=>{o.value=""},focus:e=>{e.stopPropagation(),t.value&&t.value.focus()},blurAllInput:()=>{const e=l();e.length&&e.map(e=>(e.blur(),!0))},onKeyboardWillShow:N,onKeyboardWillHide:M,stopPropagation:V,textChange:H,onChange:e=>{null!=e&&e.value&&(o.value=e.value)},onBlur:async()=>{t.value&&(a.value=await t.value.isFocused(),n.value="onBlur")},onFocus:async()=>{t.value&&(a.value=await t.value.isFocused(),n.value="onFocus")}}}});o(57);var F=r()(z,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{ref:"inputDemo",class:"demo-input",onClick:t[15]||(t[15]=Object(a.J)((...t)=>e.blurAllInput&&e.blurAllInput(...t),["stop"]))},[Object(a.g)("label",null,"文本:"),Object(a.g)("input",{ref:"input",placeholder:"Text","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",editable:!0,class:"input",value:e.text,onChange:t[0]||(t[0]=t=>e.text=t.value),onClick:t[1]||(t[1]=(...t)=>e.stopPropagation&&e.stopPropagation(...t)),"on:keyboardWillShow":t[2]||(t[2]=(...t)=>e.onKeyboardWillShow&&e.onKeyboardWillShow(...t)),"on:keyboardWillHide":t[3]||(t[3]=(...t)=>e.onKeyboardWillHide&&e.onKeyboardWillHide(...t)),onBlur:t[4]||(t[4]=(...t)=>e.onBlur&&e.onBlur(...t)),onFocus:t[5]||(t[5]=(...t)=>e.onFocus&&e.onFocus(...t))},null,40,["value"]),Object(a.g)("div",null,[Object(a.g)("span",null,"文本内容为:"),Object(a.g)("span",null,Object(a.D)(e.text),1)]),Object(a.g)("div",null,[Object(a.g)("span",null,Object(a.D)(`事件: ${e.event} | isFocused: ${e.isFocused}`),1)]),Object(a.g)("button",{class:"input-button",onClick:t[6]||(t[6]=Object(a.J)((...t)=>e.clearTextContent&&e.clearTextContent(...t),["stop"]))},[Object(a.g)("span",null,"清空文本内容")]),Object(a.g)("button",{class:"input-button",onClick:t[7]||(t[7]=Object(a.J)((...t)=>e.focus&&e.focus(...t),["stop"]))},[Object(a.g)("span",null,"Focus")]),Object(a.g)("button",{class:"input-button",onClick:t[8]||(t[8]=Object(a.J)((...t)=>e.blur&&e.blur(...t),["stop"]))},[Object(a.g)("span",null,"Blur")]),Object(a.g)("label",null,"数字:"),Object(a.g)("input",{type:"number","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Number",class:"input",onChange:t[9]||(t[9]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[10]||(t[10]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(a.g)("label",null,"密码:"),Object(a.g)("input",{type:"password","caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"Password",class:"input",onChange:t[11]||(t[11]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[12]||(t[12]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32),Object(a.g)("label",null,"文本(限制5个字符):"),Object(a.g)("input",{maxlength:5,"caret-color":"yellow","underline-color-android":"grey","placeholder-text-color":"#40b883",placeholder:"5 个字符",class:"input",onChange:t[13]||(t[13]=(...t)=>e.textChange&&e.textChange(...t)),onClick:t[14]||(t[14]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},null,32)],512)}],["__scopeId","data-v-ebfef7c0"]]);const Y=[{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5},{style:1},{style:2},{style:5}],U=e=>{console.log("onAppear",e)},W=e=>{console.log("onDisappear",e)},G=e=>{console.log("onWillAppear",e)},K=e=>{console.log("onWillDisappear",e)},J=e=>{console.log("momentumScrollBegin",e)},q=e=>{console.log("momentumScrollEnd",e)},Q=e=>{console.log("onScrollBeginDrag",e)},X=e=>{console.log("onScrollEndDrag",e)};var Z=Object(c.defineComponent)({setup(){const e=Object(c.ref)(""),t=Object(c.ref)([]),o=Object(c.ref)(null),n=Object(c.ref)(!1);let a=!1;let l=!1;return Object(c.onMounted)(()=>{a=!1,t.value=[...Y]}),{loadingState:e,dataSource:t,delText:"Delete",list:o,STYLE_LOADING:100,horizontal:n,Platform:f.Native.Platform,onAppear:U,onDelete:e=>{void 0!==e.index&&t.value.splice(e.index,1)},onDisappear:W,onEndReached:async o=>{if(console.log("endReached",o),a)return;const n=t.value;a=!0,e.value="Loading now...",t.value=[...n,[{style:100}]];const c=await(async()=>new Promise(e=>{setTimeout(()=>e(Y),600)}))();t.value=[...n,...c],a=!1},onWillAppear:G,onWillDisappear:K,changeDirection:()=>{n.value=!n.value},onScroll:e=>{console.log("onScroll",e.offsetY),e.offsetY<=0?l||(l=!0,console.log("onTopReached")):l=!1},onMomentumScrollBegin:J,onMomentumScrollEnd:q,onScrollBeginDrag:Q,onScrollEndDrag:X}}});o(58);var $=r()(Z,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"demo-list"},[Object(a.g)("ul",{id:"list",ref:"list",style:Object(a.p)(e.horizontal&&{height:50,flex:0}),horizontal:e.horizontal,exposureEventEnabled:!0,delText:e.delText,editable:!0,bounces:!0,rowShouldSticky:!0,overScrollEnabled:!0,scrollEventThrottle:1e3,"on:endReached":t[0]||(t[0]=(...t)=>e.onEndReached&&e.onEndReached(...t)),onDelete:t[1]||(t[1]=(...t)=>e.onDelete&&e.onDelete(...t)),onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t)),"on:momentumScrollBegin":t[3]||(t[3]=(...t)=>e.onMomentumScrollBegin&&e.onMomentumScrollBegin(...t)),"on:momentumScrollEnd":t[4]||(t[4]=(...t)=>e.onMomentumScrollEnd&&e.onMomentumScrollEnd(...t)),"on:scrollBeginDrag":t[5]||(t[5]=(...t)=>e.onScrollBeginDrag&&e.onScrollBeginDrag(...t)),"on:scrollEndDrag":t[6]||(t[6]=(...t)=>e.onScrollEndDrag&&e.onScrollEndDrag(...t))},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,(t,o)=>(Object(a.t)(),Object(a.f)("li",{key:o,class:Object(a.o)(e.horizontal&&"item-horizontal-style"),type:t.style,sticky:1===o,onAppear:t=>e.onAppear(o),onDisappear:t=>e.onDisappear(o),"on:willAppear":t=>e.onWillAppear(o),"on:willDisappear":t=>e.onWillDisappear(o)},[1===t.style?(Object(a.t)(),Object(a.f)("div",{key:0,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{numberOfLines:1},Object(a.D)(o+": Style 1 UI"),1)])])):2===t.style?(Object(a.t)(),Object(a.f)("div",{key:1,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{numberOfLines:1},Object(a.D)(o+": Style 2 UI"),1)])])):5===t.style?(Object(a.t)(),Object(a.f)("div",{key:2,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{numberOfLines:1},Object(a.D)(o+": Style 5 UI"),1)])])):(Object(a.t)(),Object(a.f)("div",{key:3,class:"container"},[Object(a.g)("div",{class:"item-container"},[Object(a.g)("p",{id:"loading"},Object(a.D)(e.loadingState),1)])])),o!==e.dataSource.length-1?(Object(a.t)(),Object(a.f)("div",{key:4,class:"separator-line"})):Object(a.e)("v-if",!0)],42,["type","sticky","onAppear","onDisappear","on:willAppear","on:willDisappear"]))),128))],44,["horizontal","delText"]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:0,style:{position:"absolute",right:20,bottom:20,width:67,height:67,borderRadius:30,boxShadowOpacity:.6,boxShadowRadius:5,boxShadowOffsetX:3,boxShadowOffsetY:3,boxShadowColor:"#40b883"},onClick:t[7]||(t[7]=(...t)=>e.changeDirection&&e.changeDirection(...t))},[Object(a.g)("div",{style:{width:60,height:60,borderRadius:30,backgroundColor:"#40b883",display:"flex",justifyContent:"center",alignItems:"center"}},[Object(a.g)("p",{style:{color:"white"}}," 切换方向 ")])])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-75193fb0"]]);var ee=Object(c.defineComponent)({setup(){const e=Object(c.ref)(""),t=Object(c.ref)(0),o=Object(c.ref)({numberOfLines:2,ellipsizeMode:"tail"}),n=Object(c.ref)({textShadowOffset:{x:1,y:1},textShadowOffsetX:1,textShadowOffsetY:1,textShadowRadius:3,textShadowColor:"grey"}),a=Object(c.ref)("simple");return{img1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEXRSTlMA9QlZEMPc2Mmmj2VkLEJ4Rsx+pEgAAAChSURBVCjPjVLtEsMgCDOAdbbaNu//sttVPes+zvGD8wgQCLp/TORbUGMAQtQ3UBeSAMlF7/GV9Cmb5eTJ9R7H1t4bOqLE3rN2UCvvwpLfarhILfDjJL6WRKaXfzxc84nxAgLzCGSGiwKwsZUB8hPorZwUV1s1cnGKw+yAOrnI+7hatNIybl9Q3OkBfzopCw6SmDVJJiJ+yD451OS0/TNM7QnuAAbvCG0TSAAAAABJRU5ErkJggg==",img2:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAANlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAA\n AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3dmhyAAAAEnRSTlMA/QpX7WQU2m27pi3Ej9KEQXaD5HhjAAAAqklEQVQoz41\n SWxLDIAh0RcFXTHL/yzZSO01LMpP9WJEVUNA9gfdXTioCSKE/kQQTQmf/ArRYva+xAcuPP37seFII2L7FN4BmXdHzlEPIpDHiZ0A7eIViPc\n w2QwqipkvMSdNEFBUE1bmMNOyE7FyFaIkAP4jHhhG80lvgkzBODTKpwhRMcexuR7fXzcp08UDq6GRbootp4oRtO3NNpd4NKtnR9hB6oaefw\n eIFQU0EfnGDRoQAAAAASUVORK5CYII=",img3:"https://user-images.githubusercontent.com/12878546/148736255-7193f89e-9caf-49c0-86b0-548209506bd6.gif",longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",labelTouchStatus:e,textMode:o,textShadow:n,textShadowIndex:t,Platform:f.Native.Platform,breakStrategy:a,onTouchTextEnd:t=>{e.value="touch end",console.log("onTextTouchEnd",t),console.log(t)},onTouchTextMove:t=>{e.value="touch move",console.log("onTextTouchMove",t),console.log(t)},onTouchTextStart:t=>{e.value="touch start",console.log("onTextTouchDown",t)},decrementLine:()=>{o.value.numberOfLines>1&&(o.value.numberOfLines-=1)},incrementLine:()=>{o.value.numberOfLines<6&&(o.value.numberOfLines+=1)},changeMode:e=>{o.value.ellipsizeMode=e},changeTextShadow:()=>{n.value.textShadowOffsetX=t.value%2==1?10:1,n.value.textShadowColor=t.value%2==1?"red":"grey",t.value+=1},changeBreakStrategy:e=>{a.value=e}}}});o(59);var te=r()(ee,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"p-demo"},[Object(a.g)("div",null,[Object(a.g)("label",null,"不带样式:"),Object(a.g)("p",{class:"p-demo-content",onTouchstart:t[0]||(t[0]=Object(a.J)((...t)=>e.onTouchTextStart&&e.onTouchTextStart(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(a.J)((...t)=>e.onTouchTextMove&&e.onTouchTextMove(...t),["stop"])),onTouchend:t[2]||(t[2]=Object(a.J)((...t)=>e.onTouchTextEnd&&e.onTouchTextEnd(...t),["stop"]))}," 这是最普通的一行文字 ",32),Object(a.g)("p",{class:"p-demo-content-status"}," 当前touch状态: "+Object(a.D)(e.labelTouchStatus),1),Object(a.g)("label",null,"颜色:"),Object(a.g)("p",{class:"p-demo-1 p-demo-content"}," 这行文字改变了颜色 "),Object(a.g)("label",null,"尺寸:"),Object(a.g)("p",{class:"p-demo-2 p-demo-content"}," 这行改变了大小 "),Object(a.g)("label",null,"粗体:"),Object(a.g)("p",{class:"p-demo-3 p-demo-content"}," 这行加粗了 "),Object(a.g)("label",null,"下划线:"),Object(a.g)("p",{class:"p-demo-4 p-demo-content"}," 这里有条下划线 "),Object(a.g)("label",null,"删除线:"),Object(a.g)("p",{class:"p-demo-5 p-demo-content"}," 这里有条删除线 "),Object(a.g)("label",null,"自定义字体:"),Object(a.g)("p",{class:"p-demo-6 p-demo-content"}," 腾讯字体 Hippy "),Object(a.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold"}}," 腾讯字体 Hippy 粗体 "),Object(a.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-style":"italic"}}," 腾讯字体 Hippy 斜体 "),Object(a.g)("p",{class:"p-demo-6 p-demo-content",style:{"font-weight":"bold","font-style":"italic"}}," 腾讯字体 Hippy 粗斜体 "),Object(a.g)("label",null,"文字阴影:"),Object(a.g)("p",{class:"p-demo-7 p-demo-content",style:Object(a.p)(e.textShadow),onClick:t[3]||(t[3]=(...t)=>e.changeTextShadow&&e.changeTextShadow(...t))}," 这里是文字灰色阴影,点击可改变颜色 ",4),Object(a.g)("label",null,"文本字符间距"),Object(a.g)("p",{class:"p-demo-8 p-demo-content",style:{"margin-bottom":"5px"}}," Text width letter-spacing -1 "),Object(a.g)("p",{class:"p-demo-9 p-demo-content",style:{"margin-top":"5px"}}," Text width letter-spacing 5 "),Object(a.g)("label",null,"字体 style:"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"font-style":"normal"}}," font-style: normal "),Object(a.g)("p",{style:{"font-style":"italic"}}," font-style: italic "),Object(a.g)("p",null,"font-style: [not set]")]),Object(a.g)("label",null,"numberOfLines="+Object(a.D)(e.textMode.numberOfLines)+" | ellipsizeMode="+Object(a.D)(e.textMode.ellipsizeMode),1),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},[Object(a.g)("span",{style:{"font-size":"19px",color:"white"}},"先帝创业未半而中道崩殂,今天下三分,益州疲弊,此诚危急存亡之秋也。"),Object(a.g)("span",null,"然侍卫之臣不懈于内,忠志之士忘身于外者,盖追先帝之殊遇,欲报之于陛下也。")],8,["numberOfLines","ellipsizeMode"]),Object(a.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5}},Object(a.D)("line 1\n\nline 3\n\nline 5"),8,["numberOfLines","ellipsizeMode"]),Object(a.g)("p",{numberOfLines:e.textMode.numberOfLines,ellipsizeMode:e.textMode.ellipsizeMode,style:{backgroundColor:"#40b883",marginBottom:10,paddingHorizontal:10,paddingVertical:5,fontSize:14}},[Object(a.g)("img",{style:{width:24,height:24},src:e.img1},null,8,["src"]),Object(a.g)("img",{style:{width:24,height:24},src:e.img2},null,8,["src"])],8,["numberOfLines","ellipsizeMode"]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[4]||(t[4]=(...t)=>e.incrementLine&&e.incrementLine(...t))},[Object(a.g)("span",null,"加一行")]),Object(a.g)("button",{class:"button",onClick:t[5]||(t[5]=(...t)=>e.decrementLine&&e.decrementLine(...t))},[Object(a.g)("span",null,"减一行")])]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[6]||(t[6]=()=>e.changeMode("clip"))},[Object(a.g)("span",null,"clip")]),Object(a.g)("button",{class:"button",onClick:t[7]||(t[7]=()=>e.changeMode("head"))},[Object(a.g)("span",null,"head")]),Object(a.g)("button",{class:"button",onClick:t[8]||(t[8]=()=>e.changeMode("middle"))},[Object(a.g)("span",null,"middle")]),Object(a.g)("button",{class:"button",onClick:t[9]||(t[9]=()=>e.changeMode("tail"))},[Object(a.g)("span",null,"tail")])])]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("label",{key:0},"break-strategy="+Object(a.D)(e.breakStrategy),1)):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:1,class:"p-demo-content"},[Object(a.g)("p",{"break-strategy":e.breakStrategy,style:{borderWidth:1,borderColor:"gray"}},Object(a.D)(e.longText),9,["break-strategy"]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[10]||(t[10]=Object(a.J)(()=>e.changeBreakStrategy("simple"),["stop"]))},[Object(a.g)("span",null,"simple")]),Object(a.g)("button",{class:"button",onClick:t[11]||(t[11]=Object(a.J)(()=>e.changeBreakStrategy("high_quality"),["stop"]))},[Object(a.g)("span",null,"high_quality")]),Object(a.g)("button",{class:"button",onClick:t[12]||(t[12]=Object(a.J)(()=>e.changeBreakStrategy("balanced"),["stop"]))},[Object(a.g)("span",null,"balanced")])])])):Object(a.e)("v-if",!0),Object(a.g)("label",null,"vertical-align"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"top"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12","vertical-align":"middle"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12","vertical-align":"baseline"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24","vertical-align":"bottom"},src:e.img3},null,8,["src"]),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"top"}},"字"),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"middle"}},"字"),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"baseline"}},"字"),Object(a.g)("span",{style:{"font-size":"16","vertical-align":"bottom"}},"字")]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:0}," legacy mode: ")):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:1,style:{lineHeight:"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12","vertical-alignment":"1"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12","vertical-alignment":"2"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24","vertical-alignment":"3"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24",top:"-10"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"18",height:"12",top:"-5"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"12"},src:e.img3},null,8,["src"]),Object(a.g)("img",{style:{width:"36",height:"24",top:"5"},src:e.img3},null,8,["src"]),Object(a.g)("span",{style:{"font-size":"16"}},"字"),Object(a.g)("span",{style:{"font-size":"16"}},"字"),Object(a.g)("span",{style:{"font-size":"16"}},"字"),Object(a.g)("span",{style:{"font-size":"16"}},"字")])):Object(a.e)("v-if",!0)]),Object(a.g)("label",null,"tint-color & background-color"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(a.g)("span",{style:{"vertical-align":"middle","background-color":"#99f"}},"text")]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:0}," legacy mode: ")):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:1,style:{"background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","tint-color":"orange"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","tint-color":"orange","background-color":"#ccc"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","background-color":"#ccc"},src:e.img2},null,8,["src"])])):Object(a.e)("v-if",!0)]),Object(a.g)("label",null,"margin"),Object(a.g)("div",{class:"p-demo-content"},[Object(a.g)("p",{style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"top","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"middle","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"baseline","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-align":"bottom","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:0}," legacy mode: ")):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("p",{key:1,style:{"line-height":"50","background-color":"#40b883","padding-horizontal":"10","padding-vertical":"5"}},[Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"0","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"1","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"2","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"]),Object(a.g)("img",{style:{width:"24",height:"24","vertical-alignment":"3","background-color":"#ccc",margin:"5"},src:e.img2},null,8,["src"])])):Object(a.e)("v-if",!0)])])])}],["__scopeId","data-v-34e2123c"]]);var oe=Object(c.defineComponent)({setup:()=>({Platform:f.Native.Platform})});o(60);var ne=r()(oe,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"shadow-demo"},["android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:0,class:"no-offset-shadow-demo-cube-android"},[Object(a.g)("div",{class:"no-offset-shadow-demo-content-android"},[Object(a.g)("p",null,"没有偏移阴影样式")])])):Object(a.e)("v-if",!0),"ios"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:1,class:"no-offset-shadow-demo-cube-ios"},[Object(a.g)("div",{class:"no-offset-shadow-demo-content-ios"},[Object(a.g)("p",null,"没有偏移阴影样式")])])):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:2,class:"offset-shadow-demo-cube-android"},[Object(a.g)("div",{class:"offset-shadow-demo-content-android"},[Object(a.g)("p",null,"偏移阴影样式")])])):Object(a.e)("v-if",!0),"ios"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:3,class:"offset-shadow-demo-cube-ios"},[Object(a.g)("div",{class:"offset-shadow-demo-content-ios"},[Object(a.g)("p",null,"偏移阴影样式")])])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-19ab3f2d"]]);var ae=Object(c.defineComponent)({setup(){const e=Object(c.ref)("The quick brown fox jumps over the lazy dog,快灰狐狸跳过了懒 🐕。"),t=Object(c.ref)("simple");return{content:e,breakStrategy:t,Platform:f.Native.Platform,longText:"The 58-letter name Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch is the name of a town on Anglesey, an island of Wales.",contentSizeChange:e=>{console.log(e)},changeBreakStrategy:e=>{t.value=e}}}});o(61);var ce=r()(ae,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"demo-textarea"},[Object(a.g)("label",null,"多行文本:"),Object(a.g)("textarea",{value:e.content,rows:10,placeholder:"多行文本编辑器",class:"textarea",onChange:t[0]||(t[0]=t=>e.content=t.value),"on:contentSizeChange":t[1]||(t[1]=(...t)=>e.contentSizeChange&&e.contentSizeChange(...t))},null,40,["value"]),Object(a.g)("div",{class:"output-container"},[Object(a.g)("p",{class:"output"}," 输入的文本为:"+Object(a.D)(e.content),1)]),"android"===e.Platform?(Object(a.t)(),Object(a.f)("label",{key:0},"break-strategy="+Object(a.D)(e.breakStrategy),1)):Object(a.e)("v-if",!0),"android"===e.Platform?(Object(a.t)(),Object(a.f)("div",{key:1},[Object(a.g)("textarea",{class:"textarea",defaultValue:e.longText,"break-strategy":e.breakStrategy},null,8,["defaultValue","break-strategy"]),Object(a.g)("div",{class:"button-bar"},[Object(a.g)("button",{class:"button",onClick:t[2]||(t[2]=()=>e.changeBreakStrategy("simple"))},[Object(a.g)("span",null,"simple")]),Object(a.g)("button",{class:"button",onClick:t[3]||(t[3]=()=>e.changeBreakStrategy("high_quality"))},[Object(a.g)("span",null,"high_quality")]),Object(a.g)("button",{class:"button",onClick:t[4]||(t[4]=()=>e.changeBreakStrategy("balanced"))},[Object(a.g)("span",null,"balanced")])])])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-6d6167b3"]]);var le=o(6),ie=Object(c.defineComponent)({setup(){let e=null;const t=Object(c.ref)("");return{result:t,funList:["getString","getNum","getBoolean","getMap","getObject","getArray","nativeWithPromise","getTurboConfig","printTurboConfig","getInfo","setInfo"],onTurboFunc:async o=>{if("nativeWithPromise"===o)t.value=await Object(le.h)("aaa");else if("getTurboConfig"===o)e=Object(le.g)(),t.value="获取到config对象";else if("printTurboConfig"===o){var n;t.value=Object(le.i)(null!==(n=e)&&void 0!==n?n:Object(le.g)())}else if("getInfo"===o){var a;t.value=(null!==(a=e)&&void 0!==a?a:Object(le.g)()).getInfo()}else if("setInfo"===o){var c;(null!==(c=e)&&void 0!==c?c:Object(le.g)()).setInfo("Hello World"),t.value="设置config信息成功"}else{const e={getString:()=>Object(le.f)("123"),getNum:()=>Object(le.d)(1024),getBoolean:()=>Object(le.b)(!0),getMap:()=>Object(le.c)(new Map([["a","1"],["b","2"]])),getObject:()=>Object(le.e)({c:"3",d:"4"}),getArray:()=>Object(le.a)(["a","b","c"])};t.value=e[o]()}}}}});o(62);var re=r()(ie,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"demo-turbo"},[Object(a.g)("span",{class:"result"},Object(a.D)(e.result),1),Object(a.g)("ul",{style:{flex:"1"}},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.funList,t=>(Object(a.t)(),Object(a.f)("li",{key:t,class:"cell"},[Object(a.g)("div",{class:"contentView"},[Object(a.g)("div",{class:"func-info"},[Object(a.g)("span",{numberOfLines:0},"函数名:"+Object(a.D)(t),1)]),Object(a.g)("span",{class:"action-button",onClick:Object(a.J)(()=>e.onTurboFunc(t),["stop"])},"运行",8,["onClick"])])]))),128))])])}]]);let se=null;const ue=Object(c.ref)([]),de=e=>{ue.value.unshift(e)},be=()=>{se&&1===se.readyState&&se.close()};var ge=Object(c.defineComponent)({setup(){const e=Object(c.ref)(null),t=Object(c.ref)(null);return{output:ue,inputUrl:e,inputMessage:t,connect:()=>{const t=e.value;t&&t.getValue().then(e=>{(e=>{be(),se=new WebSocket(e),se.onopen=()=>{var e;return de("[Opened] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onclose=()=>{var e;return de("[Closed] "+(null===(e=se)||void 0===e?void 0:e.url))},se.onerror=e=>{de("[Error] "+e.reason)},se.onmessage=e=>de("[Received] "+e.data)})(e)})},disconnect:()=>{be()},sendMessage:()=>{const e=t.value;e&&e.getValue().then(e=>{(e=>{de("[Sent] "+e),se&&se.send(e)})(e)})}}}});o(63);var fe={demoDiv:{name:"div 组件",component:T},demoShadow:{name:"box-shadow",component:ne},demoP:{name:"p 组件",component:te},demoButton:{name:"button 组件",component:s},demoImg:{name:"img 组件",component:L},demoInput:{name:"input 组件",component:F},demoTextarea:{name:"textarea 组件",component:ce},demoUl:{name:"ul/li 组件",component:$},demoIFrame:{name:"iframe 组件",component:_},demoWebSocket:{name:"WebSocket",component:r()(ge,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"websocket-demo"},[Object(a.g)("div",null,[Object(a.g)("p",{class:"demo-title"}," Url: "),Object(a.g)("input",{ref:"inputUrl",value:"wss://echo.websocket.org"},null,512),Object(a.g)("div",{class:"row"},[Object(a.g)("button",{onClick:t[0]||(t[0]=Object(a.J)((...t)=>e.connect&&e.connect(...t),["stop"]))},[Object(a.g)("span",null,"Connect")]),Object(a.g)("button",{onClick:t[1]||(t[1]=Object(a.J)((...t)=>e.disconnect&&e.disconnect(...t),["stop"]))},[Object(a.g)("span",null,"Disconnect")])])]),Object(a.g)("div",null,[Object(a.g)("p",{class:"demo-title"}," Message: "),Object(a.g)("input",{ref:"inputMessage",value:"Rock it with Hippy WebSocket"},null,512),Object(a.g)("button",{onClick:t[2]||(t[2]=Object(a.J)((...t)=>e.sendMessage&&e.sendMessage(...t),["stop"]))},[Object(a.g)("span",null,"Send")])]),Object(a.g)("div",null,[Object(a.g)("p",{class:"demo-title"}," Log: "),Object(a.g)("div",{class:"output fullscreen"},[Object(a.g)("div",null,[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.output,(e,t)=>(Object(a.t)(),Object(a.f)("p",{key:t},Object(a.D)(e),1))),128))])])])])}],["__scopeId","data-v-99a0fc74"]])},demoDynamicImport:{name:"DynamicImport",component:P},demoTurbo:{name:"Turbo",component:re}};var pe=Object(c.defineComponent)({setup(){const e=Object(c.ref)(null),t=Object(c.ref)(0),o=Object(c.ref)(0);Object(c.onMounted)(()=>{o.value=f.Native.Dimensions.screen.width});return{demoOnePointRef:e,demon2Left:t,screenWidth:o,onTouchDown1:t=>{const n=t.touches[0].clientX-40;console.log("touchdown x",n,o.value),e.value&&e.value.setNativeProps({style:{left:n}})},onTouchDown2:e=>{t.value=e.touches[0].clientX-40,console.log("touchdown x",t.value,o.value)},onTouchMove1:t=>{const n=t.touches[0].clientX-40;console.log("touchmove x",n,o.value),e.value&&e.value.setNativeProps({style:{left:n}})},onTouchMove2:e=>{t.value=e.touches[0].clientX-40,console.log("touchmove x",t.value,o.value)}}}});o(64);var me=r()(pe,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"set-native-props-demo"},[Object(a.g)("label",null,"setNativeProps实现拖动效果"),Object(a.g)("div",{class:"native-demo-1-drag",style:Object(a.p)({width:e.screenWidth}),onTouchstart:t[0]||(t[0]=Object(a.J)((...t)=>e.onTouchDown1&&e.onTouchDown1(...t),["stop"])),onTouchmove:t[1]||(t[1]=Object(a.J)((...t)=>e.onTouchMove1&&e.onTouchMove1(...t),["stop"]))},[Object(a.g)("div",{ref:"demoOnePointRef",class:"native-demo-1-point"},null,512)],36),Object(a.g)("div",{class:"splitter"}),Object(a.g)("label",null,"普通渲染实现拖动效果"),Object(a.g)("div",{class:"native-demo-2-drag",style:Object(a.p)({width:e.screenWidth}),onTouchstart:t[2]||(t[2]=Object(a.J)((...t)=>e.onTouchDown2&&e.onTouchDown2(...t),["stop"])),onTouchmove:t[3]||(t[3]=Object(a.J)((...t)=>e.onTouchMove2&&e.onTouchMove2(...t),["stop"]))},[Object(a.g)("div",{class:"native-demo-2-point",style:Object(a.p)({left:e.demon2Left+"px"})},null,4)],36)])}],["__scopeId","data-v-4521f010"]]);const he={backgroundColor:[{startValue:"#40b883",toValue:"yellow",valueType:"color",duration:1e3,delay:0,mode:"timing",timingFunction:"linear"},{startValue:"yellow",toValue:"#40b883",duration:1e3,valueType:"color",delay:0,mode:"timing",timingFunction:"linear",repeatCount:-1}]};var ve=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup:()=>({colorActions:he})});o(65);var Oe=r()(ve,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationView",playing:e.playing,actions:e.colorActions,class:"color-green"},{default:Object(a.H)(()=>[Object(a.g)("div",{class:"color-white"},[Object(a.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-35b77823"]]);const je={transform:{translateX:[{startValue:50,toValue:150,duration:1e3,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"},{startValue:150,toValue:50,duration:1e3,repeatCount:-1,timingFunction:"cubic-bezier( 0.45,2.84, 000.38,.5)"}]}};var ye=Object(c.defineComponent)({props:{playing:Boolean,onRef:{type:Function,default:()=>{}}},setup(e){const t=Object(c.ref)(null);return Object(c.onMounted)(()=>{e.onRef&&e.onRef(t.value)}),{animationView:t,loopActions:je}}});o(66);var we=r()(ye,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationView",playing:e.playing,actions:e.loopActions,class:"loop-green"},{default:Object(a.H)(()=>[Object(a.g)("div",{class:"loop-white"},[Object(a.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-0ffc52dc"]]);const Ae={transform:{translateX:{startValue:0,toValue:200,duration:2e3,repeatCount:-1}}},Ce={transform:{translateY:{startValue:0,toValue:50,duration:2e3,repeatCount:-1}}};var xe=Object(c.defineComponent)({props:{playing:Boolean,direction:{type:String,default:""},onRef:{type:Function,default:()=>{}}},emits:["actionsDidUpdate"],setup(e){const{direction:t}=Object(c.toRefs)(e),o=Object(c.ref)(""),n=Object(c.ref)(null);return Object(c.watch)(t,e=>{switch(e){case"horizon":o.value=Ae;break;case"vertical":o.value=Ce;break;default:throw new Error("direction must be defined in props")}},{immediate:!0}),Object(c.onMounted)(()=>{e.onRef&&e.onRef(n.value)}),{loopActions:o,animationLoop:n}}});o(67);var Se=r()(xe,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationLoop",playing:e.playing,actions:e.loopActions,class:"loop-green",onActionsDidUpdate:t[0]||(t[0]=t=>e.$emit("actionsDidUpdate"))},{default:Object(a.H)(()=>[Object(a.g)("div",{class:"loop-white"},[Object(a.y)(e.$slots,"default",{},void 0,!0)])]),_:3},8,["playing","actions"])])}],["__scopeId","data-v-54047ca5"]]);const ke={transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},Te={transform:{translateX:[{startValue:10,toValue:1,duration:250,timingFunction:"linear"},{startValue:1,toValue:10,duration:250,delay:750,timingFunction:"linear",repeatCount:-1}]}};var De=Object(c.defineComponent)({props:{isChanged:{type:Boolean,default:!0}},setup(e){const t=Object(c.ref)(null),o=Object(c.ref)({face:ke,downVoteFace:{left:[{startValue:16,toValue:10,delay:250,duration:125},{startValue:10,toValue:24,duration:250},{startValue:24,toValue:10,duration:250},{startValue:10,toValue:16,duration:125}],transform:{scale:[{startValue:1,toValue:1.3,duration:250,timingFunction:"linear"},{startValue:1.3,toValue:1,delay:750,duration:250,timingFunction:"linear"}]}}}),{isChanged:n}=Object(c.toRefs)(e);return Object(c.watch)(n,(e,n)=>{!n&&e?(console.log("changed to face2"),o.value.face=Te):n&&!e&&(console.log("changed to face1"),o.value.face=ke),setTimeout(()=>{t.value&&t.value.start()},10)}),{animationRef:t,imgs:{downVoteFace:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAXVBMVEUAAACmaCCoaSKlZyCmaCCoaiG0byOlZyCmaCGnaSKmaCCmZyClZyCmaCCmaSCybyymZyClaCGlaCGnaCCnaSGnaiOlZyKocCXMmTOmaCKnaCKmaSClZyGoZyClZyDPYmTmAAAAHnRSTlMA6S/QtjYO+FdJ4tyZbWYH7cewgTw5JRQFkHFfXk8vbZ09AAAAiUlEQVQY07WQRxLDMAhFPyq21dxLKvc/ZoSiySTZ+y3g8YcFA5wFcOkHYEi5QDkknparH5EZKS6GExQLs0RzUQUY6VYiK2ayNIapQ6EjNk2xd616Bi5qIh2fn8BqroS1XtPmgYKXxo+y07LuDrH95pm3LBM5FMpHWg2osOOLjRR6hR/WOw780bwASN0IT3NosMcAAAAASUVORK5CYII="},animations:o,animationStart:()=>{console.log("animation-start callback")},animationEnd:()=>{console.log("animation-end callback")},animationRepeat:()=>{console.log("animation-repeat callback")},animationCancel:()=>{console.log("animation-cancel callback")}}}});o(68);var Pe=r()(De,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{ref:"animationRef",actions:e.animations.face,class:"vote-face",playing:"",onStart:e.animationStart,onEnd:e.animationEnd,onRepeat:e.animationRepeat,onCancel:e.animationCancel},null,8,["actions","onStart","onEnd","onRepeat","onCancel"]),Object(a.i)(i,{tag:"img",class:"vote-down-face",playing:"",props:{src:e.imgs.downVoteFace},actions:e.animations.downVoteFace},null,8,["props","actions"])])}],["__scopeId","data-v-7020ef76"]]);var Ee=Object(c.defineComponent)({setup:()=>({imgs:{upVoteEye:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAFCAYAAABIHbx0AAAAAXNSR0IArs4c6QAAAQdJREFUGBljZACCVeVK/L8//m9i/P/flIGR8ZgwD2+9e8+lryA5dLCzRI/77ZfPjQz//1v9Z2Q8zcrPWBfWee8j45mZxqw3z709BdRgANPEyMhwLFIiwZaxoeEfTAxE/29oYFr+YsHh//8ZrJDEL6gbCZsxO8pwJP9nYEhFkgAxZS9/vXxj3Zn3V5DF1TQehwNdUogsBmRLvH/x4zHLv///PRgZGH/9Z2TYzsjAANT4Xxko6c/A8M8DSK9A1sQIFPvPwPibkeH/VmAQXAW6TAWo3hdkBgsTE9Pa/2z/s6In3n8J07SsWE2E4esfexgfRgMt28rBwVEZPOH6c5jYqkJtod/ff7gBAOnFYtdEXHPzAAAAAElFTkSuQmCC",upVoteMouth:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAARCAMAAACLgl7OAAAA4VBMVEUAAACobCawciy0f0OmaSOmaSKlaCCmZyCmaCGpayO2hEmpbiq3hUuweTqscjCmaCGmZyCmZyClaCCmaCCmaSGoaCL///+vdzimaCGmaCKmaSKlZyGmaCGmaCGnaCGnaCGnaCGmaCKscCW/gEDDmmm9j1m6ilSnaSOmaSGqcCylZyGrcCymZyClaCGnaCKmaSCqaiumbyH///+lZyDTtJDawKLLp37XupmyfT/+/v3o18XfybDJo3jBlWP8+vf48+z17uXv49bq3Mv28Ony6N3x59zbwqXSs5DQsIrNqoK5h0+BlvpqAAAAMnRSTlMA/Qv85uChjIMl/f38/Pv4zq6nl04wAfv18tO7tXx0Y1tGEQT+/v3b1q+Ui35sYj8YF964s/kAAADySURBVCjPddLHVsJgEIbhL6QD6Qldqr2bgfTQ7N7/Bckv6omYvItZPWcWcwbTC+f6dqLWcFBNvRsPZekKNeKI1RFMS3JkRZEdyTKFDrEaNACMt3i9TcP3KOLb+g5zepuPoiBMk6elr0mAkPlfBQs253M2F4G/j5OBPl8NNjQGhrSqBCHdAx6lleCkB6AlNqvAho6wa0RJBTjuThmYifVlKUjYApZLWRl41M9/7qtQ+B+sml0V37VsCuID8KwZE+BXKFTPiyB75QQPxVyR+Jf1HsTbvEH2A/42G50Raaf1j7zZIMPyUJJ6Y/d7ojm4dAvf8QkUbUjwOwWDwQAAAABJRU5ErkJggg=="},animations:{face:{transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,duration:250,delay:750,timingFunction:"linear"}]}},upVoteEye:{top:[{startValue:14,toValue:8,delay:250,duration:125},{startValue:8,toValue:14,duration:250},{startValue:14,toValue:8,duration:250},{startValue:8,toValue:14,duration:125}],transform:{scale:[{startValue:1.2,toValue:1.4,duration:250,timingFunction:"linear"},{startValue:1.4,toValue:1.2,delay:750,duration:250,timingFunction:"linear"}]}},upVoteMouth:{bottom:[{startValue:9,toValue:14,delay:250,duration:125},{startValue:14,toValue:9,duration:250},{startValue:9,toValue:14,duration:250},{startValue:14,toValue:9,duration:125}],transform:{scale:[{startValue:1,toValue:1.2,duration:250,timingFunction:"linear"},{startValue:1.2,toValue:1,delay:750,duration:250,timingFunction:"linear"}],scaleY:[{startValue:.725,delay:250,toValue:1.45,duration:125},{startValue:1.45,toValue:.87,duration:250},{startValue:.87,toValue:1.45,duration:250},{startValue:1.45,toValue:1,duration:125}]}}}})});o(69);var _e=r()(Ee,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("animation");return Object(a.t)(),Object(a.f)("div",null,[Object(a.i)(i,{actions:e.animations.face,class:"vote-face",playing:""},null,8,["actions"]),Object(a.i)(i,{tag:"img",class:"vote-up-eye",playing:"",props:{src:e.imgs.upVoteEye},actions:e.animations.upVoteEye},null,8,["props","actions"]),Object(a.i)(i,{tag:"img",class:"vote-up-mouth",playing:"",props:{src:e.imgs.upVoteMouth},actions:e.animations.upVoteMouth},null,8,["props","actions"])])}],["__scopeId","data-v-0dd85e5f"]]),Ie=Object(c.defineComponent)({components:{Loop:Se,colorComponent:Oe,CubicBezier:we},setup(){const e=Object(c.ref)(!0),t=Object(c.ref)(!0),o=Object(c.ref)(!0),n=Object(c.ref)("horizon"),a=Object(c.ref)(!0),l=Object(c.ref)(null),i=Object(c.shallowRef)(_e);return{loopPlaying:e,colorPlaying:t,cubicPlaying:o,direction:n,voteComponent:i,colorComponent:Oe,isChanged:a,animationRef:l,voteUp:()=>{i.value=_e},voteDown:()=>{i.value=Pe,a.value=!a.value},onRef:e=>{l.value=e},toggleLoopPlaying:()=>{e.value=!e.value},toggleColorPlaying:()=>{t.value=!t.value},toggleCubicPlaying:()=>{o.value=!o.value},toggleDirection:()=>{n.value="horizon"===n.value?"vertical":"horizon"},actionsDidUpdate:()=>{Object(c.nextTick)().then(()=>{console.log("actions updated & startAnimation"),l.value&&l.value.start()})}}}});o(70);var Be=r()(Ie,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("loop"),r=Object(a.z)("color-component"),s=Object(a.z)("cubic-bezier");return Object(a.t)(),Object(a.f)("ul",{id:"animation-demo"},[Object(a.g)("li",null,[Object(a.g)("label",null,"控制动画"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.toggleLoopPlaying&&e.toggleLoopPlaying(...t))},[e.loopPlaying?(Object(a.t)(),Object(a.f)("span",{key:0},"暂停")):(Object(a.t)(),Object(a.f)("span",{key:1},"播放"))]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.toggleDirection&&e.toggleDirection(...t))},["horizon"===e.direction?(Object(a.t)(),Object(a.f)("span",{key:0},"切换为纵向")):(Object(a.t)(),Object(a.f)("span",{key:1},"切换为横向"))])]),Object(a.g)("div",{style:{height:"150px"}},[Object(a.i)(i,{playing:e.loopPlaying,direction:e.direction,"on-ref":e.onRef,onActionsDidUpdate:e.actionsDidUpdate},{default:Object(a.H)(()=>[Object(a.g)("p",null,"I'm a looping animation")]),_:1},8,["playing","direction","on-ref","onActionsDidUpdate"])])]),Object(a.g)("li",null,[Object(a.g)("div",{style:{"margin-top":"10px"}}),Object(a.g)("label",null,"点赞笑脸动画:"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[2]||(t[2]=(...t)=>e.voteUp&&e.voteUp(...t))},[Object(a.g)("span",null,"点赞 👍")]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[3]||(t[3]=(...t)=>e.voteDown&&e.voteDown(...t))},[Object(a.g)("span",null,"踩 👎")])]),Object(a.g)("div",{class:"vote-face-container center"},[(Object(a.t)(),Object(a.d)(Object(a.A)(e.voteComponent),{class:"vote-icon","is-changed":e.isChanged},null,8,["is-changed"]))])]),Object(a.g)("li",null,[Object(a.g)("div",{style:{"margin-top":"10px"}}),Object(a.g)("label",null,"渐变色动画"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[4]||(t[4]=(...t)=>e.toggleColorPlaying&&e.toggleColorPlaying(...t))},[e.colorPlaying?(Object(a.t)(),Object(a.f)("span",{key:0},"暂停")):(Object(a.t)(),Object(a.f)("span",{key:1},"播放"))])]),Object(a.g)("div",null,[Object(a.i)(r,{playing:e.colorPlaying},{default:Object(a.H)(()=>[Object(a.g)("p",null,"背景色渐变")]),_:1},8,["playing"])])]),Object(a.g)("li",null,[Object(a.g)("div",{style:{"margin-top":"10px"}}),Object(a.g)("label",null,"贝塞尔曲线动画"),Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[5]||(t[5]=(...t)=>e.toggleCubicPlaying&&e.toggleCubicPlaying(...t))},[e.cubicPlaying?(Object(a.t)(),Object(a.f)("span",{key:0},"暂停")):(Object(a.t)(),Object(a.f)("span",{key:1},"播放"))])]),Object(a.g)("div",null,[Object(a.i)(s,{playing:e.cubicPlaying},{default:Object(a.H)(()=>[Object(a.g)("p",null,"cubic-bezier(.45,2.84,.38,.5)")]),_:1},8,["playing"])])])])}],["__scopeId","data-v-4fa3f0c0"]]);var Re=o(9);const Le=["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"];var Ve=Object(c.defineComponent)({setup(){const e=Object(c.ref)(!1),t=Object(c.ref)(!1),o=Object(c.ref)("fade"),n=Object(c.ref)(!1),a=Object(c.ref)(!1),l=Object(c.ref)(!1);return Object(Re.onBeforeRouteLeave)((t,o,n)=>{e.value||n()}),{supportedOrientations:Le,dialogIsVisible:e,dialog2IsVisible:t,dialogAnimationType:o,immersionStatusBar:n,autoHideStatusBar:a,autoHideNavigationBar:l,stopPropagation:e=>{e.stopPropagation()},onClose:o=>{o.stopPropagation(),t.value?t.value=!1:e.value=!1,console.log("Dialog is closing")},onShow:()=>{console.log("Dialog is opening")},onClickView:(t="")=>{e.value=!e.value,o.value=t},onClickOpenSecond:e=>{e.stopPropagation(),t.value=!t.value},onClickDialogConfig:e=>{switch(e){case"hideStatusBar":a.value=!a.value;break;case"immerseStatusBar":n.value=!n.value;break;case"hideNavigationBar":l.value=!l.value}}}}});o(71);var He=r()(Ve,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{id:"dialog-demo"},[Object(a.g)("label",null,"显示或者隐藏对话框:"),Object(a.g)("button",{class:"dialog-demo-button-1",onClick:t[0]||(t[0]=Object(a.J)(()=>e.onClickView("slide"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"显示对话框--slide")]),Object(a.g)("button",{class:"dialog-demo-button-1",onClick:t[1]||(t[1]=Object(a.J)(()=>e.onClickView("fade"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"显示对话框--fade")]),Object(a.g)("button",{class:"dialog-demo-button-1",onClick:t[2]||(t[2]=Object(a.J)(()=>e.onClickView("slide_fade"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"显示对话框--slide_fade")]),Object(a.g)("button",{style:Object(a.p)([{borderColor:e.autoHideStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[3]||(t[3]=Object(a.J)(()=>e.onClickDialogConfig("hideStatusBar"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"隐藏状态栏")],4),Object(a.g)("button",{style:Object(a.p)([{borderColor:e.immersionStatusBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[4]||(t[4]=Object(a.J)(()=>e.onClickDialogConfig("immerseStatusBar"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"沉浸式状态栏")],4),Object(a.g)("button",{style:Object(a.p)([{borderColor:e.autoHideNavigationBar?"#FF0000":"#40b883"}]),class:"dialog-demo-button-1",onClick:t[5]||(t[5]=Object(a.J)(()=>e.onClickDialogConfig("hideNavigationBar"),["stop"]))},[Object(a.g)("span",{class:"button-text"},"隐藏导航栏")],4),Object(a.e)(" dialog can't support v-show, can only use v-if for explicit switching "),e.dialogIsVisible?(Object(a.t)(),Object(a.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,supportedOrientations:e.supportedOrientations,immersionStatusBar:e.immersionStatusBar,autoHideStatusBar:e.autoHideStatusBar,autoHideNavigationBar:e.autoHideNavigationBar,onShow:t[12]||(t[12]=(...t)=>e.onShow&&e.onShow(...t)),"on:requestClose":t[13]||(t[13]=(...t)=>e.onClose&&e.onClose(...t)),"on:orientationChange":t[14]||(t[14]=(...t)=>e.onOrientationChange&&e.onOrientationChange(...t))},[Object(a.e)(" dialog on iOS platform can only have one child node "),Object(a.g)("div",{class:"dialog-demo-wrapper"},[Object(a.g)("div",{class:"fullscreen center row",onClick:t[11]||(t[11]=(...t)=>e.onClickView&&e.onClickView(...t))},[Object(a.g)("div",{class:"dialog-demo-close-btn center column",onClick:t[7]||(t[7]=(...t)=>e.stopPropagation&&e.stopPropagation(...t))},[Object(a.g)("p",{class:"dialog-demo-close-btn-text"}," 点击空白区域关闭 "),Object(a.g)("button",{class:"dialog-demo-button-2",onClick:t[6]||(t[6]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(a.g)("span",{class:"button-text"},"点击打开二级全屏弹窗")])]),e.dialog2IsVisible?(Object(a.t)(),Object(a.f)("dialog",{key:0,animationType:e.dialogAnimationType,transparent:!0,"on:requestClose":t[9]||(t[9]=(...t)=>e.onClose&&e.onClose(...t)),"on:orientationChange":t[10]||(t[10]=(...t)=>e.onOrientationChange&&e.onOrientationChange(...t))},[Object(a.g)("div",{class:"dialog-2-demo-wrapper center column row",onClick:t[8]||(t[8]=(...t)=>e.onClickOpenSecond&&e.onClickOpenSecond(...t))},[Object(a.g)("p",{class:"dialog-demo-close-btn-text",style:{color:"white"}}," Hello 我是二级全屏弹窗,点击任意位置关闭。 ")])],40,["animationType"])):Object(a.e)("v-if",!0)])])],40,["animationType","supportedOrientations","immersionStatusBar","autoHideStatusBar","autoHideNavigationBar"])):Object(a.e)("v-if",!0)])}],["__scopeId","data-v-58c0fb99"]]);var Ne=o(8);let Me;var ze=Object(c.defineComponent)({setup(){const e=Object(c.ref)("ready to set"),t=Object(c.ref)(""),o=Object(c.ref)(""),n=Object(c.ref)("正在获取..."),a=Object(c.ref)(""),l=Object(c.ref)(""),i=Object(c.ref)(""),r=Object(c.ref)(null),s=Object(c.ref)("请求网址中..."),u=Object(c.ref)("ready to set"),d=Object(c.ref)(""),b=Object(c.ref)(0);return Object(c.onMounted)(()=>{i.value=JSON.stringify(Object(Ne.a)()),f.Native.NetInfo.fetch().then(e=>{n.value=e}),Me=f.Native.NetInfo.addEventListener("change",e=>{n.value="收到通知: "+e.network_info}),fetch("https://hippyjs.org",{mode:"no-cors"}).then(e=>{s.value="成功状态: "+e.status}).catch(e=>{s.value="收到错误: "+e}),f.EventBus.$on("testEvent",()=>{b.value+=1})}),{Native:f.Native,rect1:a,rect2:l,rectRef:r,storageValue:t,storageSetStatus:e,imageSize:o,netInfoText:n,superProps:i,fetchText:s,cookieString:u,cookiesValue:d,getSize:async()=>{const e=await f.Native.ImageLoader.getSize("https://user-images.githubusercontent.com/12878546/148736102-7cd9525b-aceb-41c6-a905-d3156219ef16.png");console.log("ImageLoader getSize",e),o.value=`${e.width}x${e.height}`},setItem:()=>{f.Native.AsyncStorage.setItem("itemKey","hippy"),e.value='set "hippy" value succeed'},getItem:async()=>{const e=await f.Native.AsyncStorage.getItem("itemKey");t.value=e||"undefined"},removeItem:()=>{f.Native.AsyncStorage.removeItem("itemKey"),e.value='remove "hippy" value succeed'},setCookie:()=>{f.Native.Cookie.set("https://hippyjs.org","name=hippy;network=mobile"),u.value="'name=hippy;network=mobile' is set"},getCookie:()=>{f.Native.Cookie.getAll("https://hippyjs.org").then(e=>{d.value=e})},getBoundingClientRect:async(e=!1)=>{try{const t=await f.Native.getBoundingClientRect(r.value,{relToContainer:e});e?l.value=""+JSON.stringify(t):a.value=""+JSON.stringify(t)}catch(e){console.error("getBoundingClientRect error",e)}},triggerAppEvent:()=>{f.EventBus.$emit("testEvent")},eventTriggeredTimes:b}},beforeDestroy(){Me&&f.Native.NetInfo.removeEventListener("change",Me),f.EventBus.$off("testEvent")}});o(72);var Fe=r()(ze,[["render",function(e,t,o,n,c,l){var i,r;return Object(a.t)(),Object(a.f)("div",{id:"demo-vue-native",ref:"rectRef"},[Object(a.g)("div",null,[Object(a.e)(" platform "),e.Native.Platform?(Object(a.t)(),Object(a.f)("div",{key:0,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Platform"),Object(a.g)("p",null,Object(a.D)(e.Native.Platform),1)])):Object(a.e)("v-if",!0),Object(a.e)(" device name "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Device"),Object(a.g)("p",null,Object(a.D)(e.Native.Device),1)]),Object(a.e)(" Is it an iPhone X "),e.Native.isIOS()?(Object(a.t)(),Object(a.f)("div",{key:1,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.isIPhoneX"),Object(a.g)("p",null,Object(a.D)(e.Native.isIPhoneX),1)])):Object(a.e)("v-if",!0),Object(a.e)(" OS version, currently only available for iOS, other platforms return null "),e.Native.isIOS()?(Object(a.t)(),Object(a.f)("div",{key:2,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.OSVersion"),Object(a.g)("p",null,Object(a.D)(e.Native.OSVersion||"null"),1)])):Object(a.e)("v-if",!0),Object(a.e)(" Internationalization related information "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Localization"),Object(a.g)("p",null,Object(a.D)("国际化相关信息")),Object(a.g)("p",null,Object(a.D)("国家 "+(null===(i=e.Native.Localization)||void 0===i?void 0:i.country)),1),Object(a.g)("p",null,Object(a.D)("语言 "+(null===(r=e.Native.Localization)||void 0===r?void 0:r.language)),1),Object(a.g)("p",null,Object(a.D)("方向 "+(1===e.Native.Localization.direction?"RTL":"LTR")),1)]),Object(a.e)(" API version, currently only available for Android, other platforms return null "),e.Native.isAndroid()?(Object(a.t)(),Object(a.f)("div",{key:3,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.APILevel"),Object(a.g)("p",null,Object(a.D)(e.Native.APILevel||"null"),1)])):Object(a.e)("v-if",!0),Object(a.e)(" Whether the screen is vertically displayed "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.screenIsVertical"),Object(a.g)("p",null,Object(a.D)(e.Native.screenIsVertical),1)]),Object(a.e)(" width of window "),e.Native.Dimensions.window.width?(Object(a.t)(),Object(a.f)("div",{key:4,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.width"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.window.width),1)])):Object(a.e)("v-if",!0),Object(a.e)(" The height of the window, it should be noted that both platforms include the status bar. "),Object(a.e)(" Android will start drawing from the first pixel below the status bar. "),e.Native.Dimensions.window.height?(Object(a.t)(),Object(a.f)("div",{key:5,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.window.height"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.window.height),1)])):Object(a.e)("v-if",!0),Object(a.e)(" width of screen "),e.Native.Dimensions.screen.width?(Object(a.t)(),Object(a.f)("div",{key:6,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.width"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.width),1)])):Object(a.e)("v-if",!0),Object(a.e)(" height of screen "),e.Native.Dimensions.screen.height?(Object(a.t)(),Object(a.f)("div",{key:7,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.height"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.height),1)])):Object(a.e)("v-if",!0),Object(a.e)(" the pt value of a pixel "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.OnePixel"),Object(a.g)("p",null,Object(a.D)(e.Native.OnePixel),1)]),Object(a.e)(" Android Navigation Bar Height "),e.Native.Dimensions.screen.navigatorBarHeight?(Object(a.t)(),Object(a.f)("div",{key:8,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(a.e)("v-if",!0),Object(a.e)(" height of status bar "),e.Native.Dimensions.screen.statusBarHeight?(Object(a.t)(),Object(a.f)("div",{key:9,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.statusBarHeight"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.statusBarHeight),1)])):Object(a.e)("v-if",!0),Object(a.e)(" android virtual navigation bar height "),e.Native.isAndroid()&&void 0!==e.Native.Dimensions.screen.navigatorBarHeight?(Object(a.t)(),Object(a.f)("div",{key:10,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.Dimensions.screen.navigatorBarHeight(Android only)"),Object(a.g)("p",null,Object(a.D)(e.Native.Dimensions.screen.navigatorBarHeight),1)])):Object(a.e)("v-if",!0),Object(a.e)(" The startup parameters passed from the native "),e.superProps?(Object(a.t)(),Object(a.f)("div",{key:11,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"afterCallback of $start method contain superProps"),Object(a.g)("p",null,Object(a.D)(e.superProps),1)])):Object(a.e)("v-if",!0),Object(a.e)(" A demo of Native Event,Just show how to use "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"App event"),Object(a.g)("div",null,[Object(a.g)("button",{class:"event-btn",onClick:t[0]||(t[0]=(...t)=>e.triggerAppEvent&&e.triggerAppEvent(...t))},[Object(a.g)("span",{class:"event-btn-text"},"Trigger app event")]),Object(a.g)("div",{class:"event-btn-result"},[Object(a.g)("p",null,"Event triggered times: "+Object(a.D)(e.eventTriggeredTimes),1)])])]),Object(a.e)(" example of measuring the size of an element "),Object(a.g)("div",{ref:"measure-block",class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.getBoundingClientRect"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[1]||(t[1]=()=>e.getBoundingClientRect(!1))},[Object(a.g)("span",null,"relative to App")]),Object(a.g)("span",{style:{"max-width":"200px"}},Object(a.D)(e.rect1),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[2]||(t[2]=()=>e.getBoundingClientRect(!0))},[Object(a.g)("span",null,"relative to Container")]),Object(a.g)("span",{style:{"max-width":"200px"}},Object(a.D)(e.rect2),1)])],512),Object(a.e)(" local storage "),e.Native.AsyncStorage?(Object(a.t)(),Object(a.f)("div",{key:12,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"AsyncStorage 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[3]||(t[3]=(...t)=>e.setItem&&e.setItem(...t))},[Object(a.g)("span",null,"setItem")]),Object(a.g)("span",null,Object(a.D)(e.storageSetStatus),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[4]||(t[4]=(...t)=>e.removeItem&&e.removeItem(...t))},[Object(a.g)("span",null,"removeItem")]),Object(a.g)("span",null,Object(a.D)(e.storageSetStatus),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[5]||(t[5]=(...t)=>e.getItem&&e.getItem(...t))},[Object(a.g)("span",null,"getItem")]),Object(a.g)("span",null,Object(a.D)(e.storageValue),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" ImageLoader "),e.Native.ImageLoader?(Object(a.t)(),Object(a.f)("div",{key:13,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"ImageLoader 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[6]||(t[6]=(...t)=>e.getSize&&e.getSize(...t))},[Object(a.g)("span",null,"getSize")]),Object(a.g)("span",null,Object(a.D)(e.imageSize),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" Fetch "),Object(a.g)("div",{class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Fetch 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("span",null,Object(a.D)(e.fetchText),1)])]),Object(a.e)(" network info "),e.Native.NetInfo?(Object(a.t)(),Object(a.f)("div",{key:14,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"NetInfo 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("span",null,Object(a.D)(e.netInfoText),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" Cookie "),e.Native.Cookie?(Object(a.t)(),Object(a.f)("div",{key:15,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Cookie 使用"),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[7]||(t[7]=(...t)=>e.setCookie&&e.setCookie(...t))},[Object(a.g)("span",null,"setCookie")]),Object(a.g)("span",null,Object(a.D)(e.cookieString),1)]),Object(a.g)("div",{class:"item-wrapper"},[Object(a.g)("button",{class:"item-button",onClick:t[8]||(t[8]=(...t)=>e.getCookie&&e.getCookie(...t))},[Object(a.g)("span",null,"getCookie")]),Object(a.g)("span",null,Object(a.D)(e.cookiesValue),1)])])):Object(a.e)("v-if",!0),Object(a.e)(" iOS platform "),e.Native.isIOS()?(Object(a.t)(),Object(a.f)("div",{key:16,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.isIOS"),Object(a.g)("p",null,Object(a.D)(e.Native.isIOS()),1)])):Object(a.e)("v-if",!0),Object(a.e)(" Android platform "),e.Native.isAndroid()?(Object(a.t)(),Object(a.f)("div",{key:17,class:"native-block"},[Object(a.g)("label",{class:"vue-native-title"},"Native.isAndroid"),Object(a.g)("p",null,Object(a.D)(e.Native.isAndroid()),1)])):Object(a.e)("v-if",!0)])],512)}],["__scopeId","data-v-2aae558d"]]);const Ye="https://user-images.githubusercontent.com/12878546/148736841-59ce5d1c-8010-46dc-8632-01c380159237.jpg",Ue={style:1,itemBean:{title:"非洲总统出行真大牌,美制武装直升机和中国潜艇为其保驾",picList:[Ye,Ye,Ye],subInfo:["三图评论","11评"]}},We={style:2,itemBean:{title:"彼得·泰尔:认知未来是投资人的谋生之道",picUrl:"https://user-images.githubusercontent.com/12878546/148736850-4fc13304-25d4-4b6a-ada3-cbf0745666f5.jpg",subInfo:["左文右图"]}},Ge={style:5,itemBean:{title:"愤怒!美官员扬言:“不让中国拿走南海的岛屿,南海岛礁不属于中国”?",picUrl:"https://user-images.githubusercontent.com/12878546/148736859-29e3a5b2-612a-4fdd-ad21-dc5d29fa538f.jpg",subInfo:["六眼神魔 5234播放"]}};var Ke=[Ge,Ue,We,Ue,We,Ue,We,Ge,Ue];var Je=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var qe=r()(Je,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"list-view-item style-one"},[Object(a.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(a.D)(e.itemBean.title),1),Object(a.g)("div",{class:"style-one-image-container"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.itemBean.picList,(e,t)=>(Object(a.t)(),Object(a.f)("img",{key:t,src:e,alt:"",class:"image style-one-image"},null,8,["src"]))),128))]),Object(a.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(a.g)("p",{class:"normal-text"},Object(a.D)(e.itemBean.subInfo.join("")),1)])])}]]);var Qe=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var Xe=r()(Qe,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"list-view-item style-two"},[Object(a.g)("div",{class:"style-two-left-container"},[Object(a.g)("p",{class:"article-title",numberOfLines:2,enableScale:!0},Object(a.D)(e.itemBean.title),1),Object(a.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(a.g)("p",{class:"normal-text"},Object(a.D)(e.itemBean.subInfo.join("")),1)])]),Object(a.g)("div",{class:"style-two-image-container"},[Object(a.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image style-two-image"},null,8,["src"])])])}]]);var Ze=Object(c.defineComponent)({inheritAttrs:!1,props:{itemBean:{type:Object,default:()=>{}}}});var $e=r()(Ze,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{class:"list-view-item style-five"},[Object(a.g)("p",{numberOfLines:2,enableScale:!0,class:"article-title"},Object(a.D)(e.itemBean.title),1),Object(a.g)("div",{class:"style-five-image-container"},[Object(a.g)("img",{src:e.itemBean.picUrl,alt:"",class:"image"},null,8,["src"])]),Object(a.g)("div",{style:{alignSelf:"flex-start",marginTop:"5px"}},[Object(a.g)("p",{class:"normal-text"},Object(a.D)(e.itemBean.subInfo.join(" ")),1)])])}]]);let et=0;const tt=Object(c.ref)({top:0,left:0}),ot=async()=>new Promise(e=>{setTimeout(()=>e(Ke),800)});var nt=Object(c.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(c.ref)(null),t=Object(c.ref)(null),o=Object(c.ref)(null),n=Object(c.ref)([...Ke]);let a=!1,l=!1;const i=Object(c.ref)(""),r=Object(c.ref)("继续下拉触发刷新"),s=Object(c.ref)("正在加载...");return Object(c.onMounted)(()=>{a=!1,l=!1,n.value=[...Ke],et=null!==f.Native&&void 0!==f.Native&&f.Native.Dimensions?f.Native.Dimensions.window.height:window.innerHeight,t.value&&t.value.collapsePullHeader({time:2e3})}),{loadingState:i,dataSource:n,headerRefreshText:r,footerRefreshText:s,list:e,pullHeader:t,pullFooter:o,onEndReached:async e=>{if(console.log("endReached",e),a)return;a=!0,s.value="加载更多...";const t=await ot();0===t.length&&(s.value="没有更多数据"),n.value=[...n.value,...t],a=!1,o.value&&o.value.collapsePullFooter()},onHeaderReleased:async()=>{l||(l=!0,console.log("onHeaderReleased"),r.value="刷新数据中,请稍等",n.value=await ot(),n.value=n.value.reverse(),l=!1,r.value="2秒后收起",t.value&&t.value.collapsePullHeader({time:2e3}))},onHeaderIdle:()=>{},onHeaderPulling:e=>{l||(console.log("onHeaderPulling",e.contentOffset),e.contentOffset>30?r.value="松手,即可触发刷新":r.value="继续下拉,触发刷新")},onFooterIdle:()=>{},onFooterPulling:e=>{console.log("onFooterPulling",e)},onScroll:e=>{e.stopPropagation(),tt.value={top:e.offsetY,left:e.offsetX}},scrollToNextPage:()=>{if(f.Native){if(e.value){const t=e.value;console.log("scroll to next page",e,tt.value,et);const o=tt.value.top+et-200;t.scrollTo({left:tt.value.left,top:o,behavior:"auto",duration:200})}}else alert("This method is only supported in Native environment.")},scrollToBottom:()=>{if(f.Native){if(e.value){const t=e.value;t.scrollToIndex(0,t.childNodes.length-1)}}else alert("This method is only supported in Native environment.")}}}});o(73);var at=r()(nt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("pull-header"),r=Object(a.z)("style-one"),s=Object(a.z)("style-two"),u=Object(a.z)("style-five"),d=Object(a.z)("pull-footer");return Object(a.t)(),Object(a.f)("div",{id:"demo-pull-header-footer","specital-attr":"pull-header-footer"},[Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(a.g)("span",null,"翻到下一页")]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToBottom&&e.scrollToBottom(...t))},[Object(a.g)("span",null,"翻动到底部")]),Object(a.g)("p",{class:"toolbar-text"}," 列表元素数量:"+Object(a.D)(e.dataSource.length),1)]),Object(a.g)("ul",{id:"list",ref:"list",numberOfRows:e.dataSource.length,rowShouldSticky:!0,onScroll:t[2]||(t[2]=(...t)=>e.onScroll&&e.onScroll(...t))},[Object(a.h)(" /** * 下拉组件 * * 事件: * idle: 滑动距离在 pull-header 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-header 后触发一次,参数 contentOffset,滑动距离 * refresh: 滑动超出距离,松手后触发一次 */ "),Object(a.i)(i,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"ul-refresh-text"},Object(a.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,(e,t)=>(Object(a.t)(),Object(a.f)("li",{key:t,class:"item-style",type:"row-"+e.style,sticky:0===t},[1===e.style?(Object(a.t)(),Object(a.d)(r,{key:0,"item-bean":e.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),2===e.style?(Object(a.t)(),Object(a.d)(s,{key:1,"item-bean":e.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),5===e.style?(Object(a.t)(),Object(a.d)(u,{key:2,"item-bean":e.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0)],8,["type","sticky"]))),128)),Object(a.h)(" /** * 上拉组件 * > 如果不需要显示加载情况,可以直接使用 ul 的 onEndReached 实现一直加载 * * 事件: * idle: 滑动距离在 pull-footer 区域内触发一次,参数 contentOffset,滑动距离 * pulling: 滑动距离超出 pull-footer 后触发一次,参数 contentOffset,滑动距离 * released: 滑动超出距离,松手后触发一次 */ "),Object(a.i)(d,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"pull-footer-text"},Object(a.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])],40,["numberOfRows"])])}],["__scopeId","data-v-52ecb6dc"]]);var ct=Object(c.defineComponent)({setup(){const e=Object(c.ref)("idle"),t=Object(c.ref)(2),o=Object(c.ref)(2);return{dataSource:new Array(7).fill(0).map((e,t)=>t),currentSlide:t,currentSlideNum:o,state:e,scrollToNextPage:()=>{console.log("scroll next",t.value,o.value),t.value<7?t.value=o.value+1:t.value=0},scrollToPrevPage:()=>{console.log("scroll prev",t.value,o.value),0===t.value?t.value=6:t.value=o.value-1},onDragging:e=>{console.log("Current offset is",e.offset,"and will into slide",e.nextSlide+1)},onDropped:e=>{console.log("onDropped",e),o.value=e.currentSlide},onStateChanged:t=>{console.log("onStateChanged",t),e.value=t.state}}}});o(74);var lt=r()(ct,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("swiper-slide"),r=Object(a.z)("swiper");return Object(a.t)(),Object(a.f)("div",{id:"demo-swiper"},[Object(a.g)("div",{class:"toolbar"},[Object(a.g)("button",{class:"toolbar-btn",onClick:t[0]||(t[0]=(...t)=>e.scrollToPrevPage&&e.scrollToPrevPage(...t))},[Object(a.g)("span",null,"翻到上一页")]),Object(a.g)("button",{class:"toolbar-btn",onClick:t[1]||(t[1]=(...t)=>e.scrollToNextPage&&e.scrollToNextPage(...t))},[Object(a.g)("span",null,"翻到下一页")]),Object(a.g)("p",{class:"toolbar-text"}," 当前第 "+Object(a.D)(e.currentSlideNum+1)+" 页 ",1)]),Object(a.e)('\n swiper 组件参数\n @param {Number} currentSlide 当前页面,也可以直接修改它改变当前页码,默认 0\n @param {Boolean} needAnimation 是否需要动画,如果切换时不要动画可以设置为 :needAnimation="false",默认为 true\n @param {Function} dragging 当拖拽时执行回调,参数是个 Event,包含 offset 拖拽偏移值和 nextSlide 将进入的页码\n @param {Function} dropped 结束拖拽时回调,参数是个 Event,包含 currentSlide 最后选择的页码\n '),Object(a.i)(r,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,onDragging:e.onDragging,onDropped:e.onDropped,onStateChanged:e.onStateChanged},{default:Object(a.H)(()=>[Object(a.e)(" slides "),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,e=>(Object(a.t)(),Object(a.d)(i,{key:e,style:Object(a.p)({backgroundColor:4278222848+100*e})},{default:Object(a.H)(()=>[Object(a.g)("p",null,"I'm Slide "+Object(a.D)(e+1),1)]),_:2},1032,["style"]))),128))]),_:1},8,["current","onDragging","onDropped","onStateChanged"]),Object(a.e)(" A Demo of dots "),Object(a.g)("div",{id:"swiper-dots"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,t=>(Object(a.t)(),Object(a.f)("div",{key:t,class:Object(a.o)(["dot",{hightlight:e.currentSlideNum===t}])},null,2))),128))])])}]]);let it=0;const rt={top:0,left:5,bottom:0,right:5},st="android"===f.Native.Platform,ut=async()=>new Promise(e=>{setTimeout(()=>(it+=1,e(it>=50?[]:[...Ke,...Ke])),600)});var dt=Object(c.defineComponent)({components:{StyleOne:qe,StyleTwo:Xe,StyleFive:$e},setup(){const e=Object(c.ref)([...Ke,...Ke,...Ke,...Ke]);let t=!1,o=!1;const n=Object(c.ref)(!1),a=Object(c.ref)("正在加载..."),l=Object(c.ref)(null),i=Object(c.ref)(null);let r="继续下拉触发刷新",s="正在加载...";const u=Object(c.computed)(()=>n.value?"正在刷新":"下拉刷新"),d=Object(c.ref)(null),b=Object(c.ref)(null),g=Object(c.computed)(()=>(f.Native.Dimensions.screen.width-rt.left-rt.right-6)/2);return{dataSource:e,isRefreshing:n,refreshText:u,STYLE_LOADING:100,loadingState:a,header:b,gridView:d,contentInset:rt,columnSpacing:6,interItemSpacing:6,numberOfColumns:2,itemWidth:g,onScroll:e=>{console.log("waterfall onScroll",e)},onRefresh:async()=>{n.value=!0;const t=await ut();n.value=!1,e.value=t.reverse(),b.value&&b.value.refreshCompleted()},onEndReached:async()=>{if(console.log("end Reached"),t)return;t=!0,s="加载更多...";const o=await ut();0===o.length&&(s="没有更多数据"),e.value=[...e.value,...o],t=!1,i.value&&i.value.collapsePullFooter()},onClickItem:e=>{d.value&&d.value.scrollToIndex({index:e,animation:!0})},isAndroid:st,onHeaderPulling:e=>{o||(console.log("onHeaderPulling",e.contentOffset),r=e.contentOffset>30?"松手,即可触发刷新":"继续下拉,触发刷新")},onFooterPulling:e=>{console.log("onFooterPulling",e)},onHeaderIdle:()=>{},onFooterIdle:()=>{},onHeaderReleased:async()=>{o||(o=!0,console.log("onHeaderReleased"),r="刷新数据中,请稍等",o=!1,r="2秒后收起",l.value&&l.value.collapsePullHeader({time:2e3}))},headerRefreshText:r,footerRefreshText:s,loadMoreDataFlag:t,pullHeader:l,pullFooter:i}}});o(75);var bt=r()(dt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("pull-header"),r=Object(a.z)("waterfall-item"),s=Object(a.z)("style-one"),u=Object(a.z)("style-two"),d=Object(a.z)("style-five"),b=Object(a.z)("pull-footer"),g=Object(a.z)("waterfall");return Object(a.t)(),Object(a.f)("div",{id:"demo-waterfall"},[Object(a.i)(g,{ref:"gridView","content-inset":e.contentInset,"column-spacing":e.columnSpacing,"contain-banner-view":!e.isAndroid,"contain-pull-footer":!0,"inter-item-spacing":e.interItemSpacing,"number-of-columns":e.numberOfColumns,"preload-item-number":4,style:{flex:1},onEndReached:e.onEndReached,onScroll:e.onScroll},{default:Object(a.H)(()=>[Object(a.i)(i,{ref:"pullHeader",class:"ul-refresh",onIdle:e.onHeaderIdle,onPulling:e.onHeaderPulling,onReleased:e.onHeaderReleased},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"ul-refresh-text"},Object(a.D)(e.headerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"]),e.isAndroid?(Object(a.t)(),Object(a.d)(r,{key:1,"full-span":!0,class:"banner-view"},{default:Object(a.H)(()=>[Object(a.g)("span",null,"BannerView")]),_:1})):(Object(a.t)(),Object(a.f)("div",{key:0,class:"banner-view"},[Object(a.g)("span",null,"BannerView")])),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.dataSource,(t,o)=>(Object(a.t)(),Object(a.d)(r,{key:o,style:Object(a.p)({width:e.itemWidth}),type:t.style,onClick:Object(a.J)(()=>e.onClickItem(o),["stop"])},{default:Object(a.H)(()=>[1===t.style?(Object(a.t)(),Object(a.d)(s,{key:0,"item-bean":t.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),2===t.style?(Object(a.t)(),Object(a.d)(u,{key:1,"item-bean":t.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0),5===t.style?(Object(a.t)(),Object(a.d)(d,{key:2,"item-bean":t.itemBean},null,8,["item-bean"])):Object(a.e)("v-if",!0)]),_:2},1032,["style","type","onClick"]))),128)),Object(a.i)(b,{ref:"pullFooter",class:"pull-footer",onIdle:e.onFooterIdle,onPulling:e.onFooterPulling,onReleased:e.onEndReached},{default:Object(a.H)(()=>[Object(a.g)("p",{class:"pull-footer-text"},Object(a.D)(e.footerRefreshText),1)]),_:1},8,["onIdle","onPulling","onReleased"])]),_:1},8,["content-inset","column-spacing","contain-banner-view","inter-item-spacing","number-of-columns","onEndReached","onScroll"])])}],["__scopeId","data-v-056a0bc2"]]);var gt=Object(c.defineComponent)({setup(){const e=Object(c.ref)(0),t=Object(c.ref)(0);return{layoutHeight:e,currentSlide:t,onLayout:t=>{e.value=t.height},onTabClick:e=>{t.value=e-1},onDropped:e=>{t.value=e.currentSlide}}}});o(76);var ft={demoNative:{name:"Native 能力",component:Fe},demoAnimation:{name:"animation 组件",component:Be},demoDialog:{name:"dialog 组件",component:He},demoSwiper:{name:"swiper 组件",component:lt},demoPullHeaderFooter:{name:"pull header/footer 组件",component:at},demoWaterfall:{name:"waterfall 组件",component:bt},demoNestedScroll:{name:"nested scroll 示例",component:r()(gt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("swiper-slide"),r=Object(a.z)("swiper");return Object(a.t)(),Object(a.f)("div",{id:"demo-wrap",onLayout:t[0]||(t[0]=(...t)=>e.onLayout&&e.onLayout(...t))},[Object(a.g)("div",{id:"demo-content"},[Object(a.g)("div",{id:"banner"}),Object(a.g)("div",{id:"tabs"},[(Object(a.t)(),Object(a.f)(a.a,null,Object(a.x)(2,t=>Object(a.g)("p",{key:"tab"+t,class:Object(a.o)(e.currentSlide===t-1?"selected":""),onClick:o=>e.onTabClick(t)}," tab "+Object(a.D)(t)+" "+Object(a.D)(1===t?"(parent first)":"(self first)"),11,["onClick"])),64))]),Object(a.i)(r,{id:"swiper",ref:"swiper","need-animation":"",current:e.currentSlide,style:Object(a.p)({height:e.layoutHeight-80}),onDropped:e.onDropped},{default:Object(a.H)(()=>[Object(a.i)(i,{key:"slide1"},{default:Object(a.H)(()=>[Object(a.g)("ul",{nestedScrollTopPriority:"parent"},[(Object(a.t)(),Object(a.f)(a.a,null,Object(a.x)(30,e=>Object(a.g)("li",{key:"item"+e,class:Object(a.o)(e%2?"item-even":"item-odd")},[Object(a.g)("p",null,"Item "+Object(a.D)(e),1)],2)),64))])]),_:1}),Object(a.i)(i,{key:"slide2"},{default:Object(a.H)(()=>[Object(a.g)("ul",{nestedScrollTopPriority:"self"},[(Object(a.t)(),Object(a.f)(a.a,null,Object(a.x)(30,e=>Object(a.g)("li",{key:"item"+e,class:Object(a.o)(e%2?"item-even":"item-odd")},[Object(a.g)("p",null,"Item "+Object(a.D)(e),1)],2)),64))])]),_:1})]),_:1},8,["current","style","onDropped"])])],32)}],["__scopeId","data-v-72406cea"]])},demoSetNativeProps:{name:"setNativeProps",component:me}};var pt=Object(c.defineComponent)({name:"App",setup(){const e=Object.keys(fe).map(e=>({id:e,name:fe[e].name})),t=Object.keys(ft).map(e=>({id:e,name:ft[e].name}));return Object(c.onMounted)(()=>{}),{featureList:e,nativeFeatureList:t,version:c.version,Native:f.Native}}});o(77);var mt=r()(pt,[["render",function(e,t,o,n,c,l){const i=Object(a.z)("router-link");return Object(a.t)(),Object(a.f)("ul",{class:"feature-list"},[Object(a.g)("li",null,[Object(a.g)("div",{id:"version-info"},[Object(a.g)("p",{class:"feature-title"}," Vue: "+Object(a.D)(e.version),1),e.Native?(Object(a.t)(),Object(a.f)("p",{key:0,class:"feature-title"}," Hippy-Vue-Next: "+Object(a.D)("unspecified"!==e.Native.version?e.Native.version:"master"),1)):Object(a.e)("v-if",!0)])]),Object(a.g)("li",null,[Object(a.g)("p",{class:"feature-title"}," 浏览器组件 Demos ")]),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.featureList,e=>(Object(a.t)(),Object(a.f)("li",{key:e.id,class:"feature-item"},[Object(a.i)(i,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(a.H)(()=>[Object(a.h)(Object(a.D)(e.name),1)]),_:2},1032,["to"])]))),128)),e.nativeFeatureList.length?(Object(a.t)(),Object(a.f)("li",{key:0},[Object(a.g)("p",{class:"feature-title",paintType:"fcp"}," 终端组件 Demos ")])):Object(a.e)("v-if",!0),(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.nativeFeatureList,e=>(Object(a.t)(),Object(a.f)("li",{key:e.id,class:"feature-item"},[Object(a.i)(i,{to:{path:"/demo/"+e.id},class:"button"},{default:Object(a.H)(()=>[Object(a.h)(Object(a.D)(e.name),1)]),_:2},1032,["to"])]))),128))])}],["__scopeId","data-v-63300fa4"]]);var ht=Object(c.defineComponent)({setup(){const e=Object(c.ref)("http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy"),t=Object(c.ref)(null);return{bundleUrl:e,styles:{tipText:{color:"#242424",marginBottom:12},button:{width:200,height:40,borderRadius:8,backgroundColor:"#4c9afa",alignItems:"center",justifyContent:"center"},buttonText:{fontSize:16,textAlign:"center",lineHeight:40,color:"#fff"},buttonContainer:{alignItems:"center",justifyContent:"center"}},tips:["安装远程调试依赖: npm i -D @hippy/debug-server-next@latest","修改 webpack 配置,添加远程调试地址","运行 npm run hippy:dev 开始编译,编译结束后打印出 bundleUrl 及调试首页地址","粘贴 bundleUrl 并点击开始按钮","访问调试首页开始远程调试,远程调试支持热更新(HMR)"],inputRef:t,blurInput:()=>{t.value&&t.value.blur()},openBundle:()=>{if(e.value){const{rootViewId:t}=Object(Ne.a)();f.Native.callNative("TestModule","remoteDebug",t,e.value)}}}}});o(78);const vt=[{path:"/",component:mt},{path:"/remote-debug",component:r()(ht,[["render",function(e,t,o,n,c,l){return Object(a.t)(),Object(a.f)("div",{ref:"inputDemo",class:"demo-remote-input",onClick:t[2]||(t[2]=Object(a.J)((...t)=>e.blurInput&&e.blurInput(...t),["stop"]))},[Object(a.g)("div",{class:"tips-wrap"},[(Object(a.t)(!0),Object(a.f)(a.a,null,Object(a.x)(e.tips,(t,o)=>(Object(a.t)(),Object(a.f)("p",{key:o,class:"tips-item",style:Object(a.p)(e.styles.tipText)},Object(a.D)(o+1)+". "+Object(a.D)(t),5))),128))]),Object(a.g)("input",{ref:"inputRef",value:e.bundleUrl,"caret-color":"yellow",placeholder:"please input bundleUrl",multiple:!0,numberOfLines:"4",class:"remote-input",onClick:Object(a.J)(()=>{},["stop"]),onChange:t[0]||(t[0]=t=>e.bundleUrl=t.value)},null,40,["value"]),Object(a.g)("div",{class:"buttonContainer",style:Object(a.p)(e.styles.buttonContainer)},[Object(a.g)("button",{style:Object(a.p)(e.styles.button),class:"input-button",onClick:t[1]||(t[1]=Object(a.J)((...t)=>e.openBundle&&e.openBundle(...t),["stop"]))},[Object(a.g)("span",{style:Object(a.p)(e.styles.buttonText)},"开始",4)],4)],4)],512)}],["__scopeId","data-v-c92250fe"]]),name:"Debug"},...Object.keys(fe).map(e=>({path:"/demo/"+e,name:fe[e].name,component:fe[e].component})),...Object.keys(ft).map(e=>({path:"/demo/"+e,name:ft[e].name,component:ft[e].component}))];function Ot(){return Object(n.createHippyRouter)({routes:vt})}},function(e,t,o){"use strict";var n=o(0);var a=o(1),c=o(9),l=Object(a.defineComponent)({name:"App",setup(){const e=Object(c.useRouter)(),t=Object(c.useRoute)(),o=Object(a.ref)(""),n=Object(a.ref)(0),l=Object(a.ref)([{text:"API",path:"/"},{text:"调试",path:"/remote-debug"}]);return{activatedTab:n,backButtonImg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAIPUlEQVR4Xu2dT8xeQxTGn1O0GiWEaEJCWJCwQLBo/WnRSqhEJUQT0W60G+1Ku1SS2mlXaqM2KqJSSUlajVb9TViwYEHCQmlCQghRgqKPTHLK7Zfvfd97Zt5535l7z91+58zce57fnfe7d+Y+I/Cj1xWQXl+9XzwcgJ5D4AA4AD2vQM8v30cAB6DnFZjA5ZO8VUTenEBX5i58BDCXzJZA8ikA6wFsFpEttuz80Q5AxhqTfAbA2kYXW0VkU8YuzU07AOaStUsg+RyA1bNEFwWBA9BOz9ZRJOcAeAHAqiFJ20VkQ+tGMwY6AGMsLslTAOwGcE+LZneIyLoWcVlDHIAxlVfFfxXACkOTO0VkjSF+7KEOwJhKSnIfgDuNzf0M4BoR+cqYN7ZwByCxlCTnAtgLYLmxqR8ALBGRz4x5Yw13ABLKSfJ0APsBLDU28x2Am0XkC2Pe2MMdgMiSkjwDwAEAi41NBPEXichhY16WcAcgoqwkzwRwCMD1xvRvANxUivjh3B0Ao4IkzwbwFoCrjalf67B/xJiXNdwBMJSX5LkA3gFwpSEthH6pd/63xrzs4Q5AyxKTPB/AuwAub5lyIuxzvfO/N+ZNJNwBaFFmkhcAeA/ApS3CmyGf6qPej8a8iYU7ACNKTfIivfMvNqryMYBbRCS87Cn2cACGSKPivw/gQqOCQfzwnH/UmDfxcAdgQMlJXqLDvlX8DwHcVoP4/hg4WPzLdNhfaLwlw2hxu4j8ZsybWriPADNKT/IKfdQ7z6jK2wDuEJE/jHlTDXcAGuUneZW+5DnHqMpBAHeJyDFj3tTDHQCVgOR1+nr3LKMqYRp4pYj8bcwrItwBAEBykU7sLDCqsgfAfSLyjzGvmPDeA0ByiU7pzjeqEsS/V0SOG/OKCu81ACSX6WKOeUZVdgF4oHbxe/0YSDIs33oFwGlG8ae+js94vkPDezkCkFypq3dPNRaziJW8xnN2AJoVIHm/rtsPS7gtRzFr+S0nPSq2VyOAiv9ixEKYor7mGSWq5e+9AYDkgwDC51rWa94iIpstRa0p1lqMmq7tv3Ml+RCA8KGm9Xo3isi2Ki+65UlbC9Ky2XLCSD4MYHvEGXVe/M4/BpJ8BMDWCPHXi8jTEXnVpXR2BCD5OIDHjIoQwDoRedaYV214JwEg+SSAjUZVgvhrROR5Y17V4Z0DoGHJYhEmTOaEV7svWZK6ENspAGaxZGmjUZjGDTN64bVw747OADDEkmWYqEH8u0Xktd4prxdcPQAtLVlm0/cvXcjRW/GrfwxU8V9uacnShOBPXcL1Rl/v/BPXXe0IYPTjaer8uy7eDN/49f6oEgCSYRo3/NNm8eMJYv+qy7Y/6L3ytf4PkGDJ8ot+sPGRi/9/BaoaARIsWX7S7/Q+cfFPrkA1ACRYsgTxb5y2GVOp4FUBQIIlSxFOXKWKX8VjYIIlSzFOXA5AZAUSLFmKM2OKLEH2tGJ/AhIsWYo0Y8quZGQHRQKQYMlSrBlTpD7Z04oDIMGSpWgzpuxKRnZQFACJ4t8gIsWaMUXqkz2tGAASLFmKd+LKrmJCB0UAQDLWkqUKJ64EfbKnTh2ABEuWqsyYsisZ2cFUAUiwZKnOjClSn+xpUwMgwZKlSjOm7EpGdlAjAOHuDz58VblxReqTPW1qAIQr85+A7PqO7GCqACgEsb58/k/gSHlHB0wdAIXAHwNHa5UloggAFIJYb15/EZSARjEAKASx1uw+DxAJQVEAKASxmzP4TGAEBMUBoBCE7VnC0m3rDh1hLcBiESlub54IbSaSUiQADQhi9ujxBSEGdIoFQCGI3aXLl4S1hKBoABSC2H36fFFoCwiKB0AhiN2p05eFj4CgCgAUgti9ev2roCEQVAOAQhC7W3f4LjDs4uWfhs2AoSoAFIK5avG+vMVPXDPEPw6dpWDVAaAQ+OfhRvoHhVcJgEIQ3L53R7iDuEFEg4ZqAVAI5qj1+yrjDeEWMVqwqgE4ITrJYAFvhcBNoiLcs4032uTCE2zieusRGNTpxAjQGAmCJfxaI3bBJTTs/uVGkcbCFRnuVrE2WTo1AjRGAjeLbslBJwHQJ4RgFR8s4y2H28VbqlV6rG8YMVqhzo4AjZ8D3zJmCAedB0B/DnzTqAEQ9AIAhSB227gnROTR0YNpnRG9AUAhCLuG+saRXZkLiLnnfOvYk6vWqxGg8Y+hbx7dpcmgyJHAt4/v2lyAFQSSy3R10Txj7i7dZey4Ma+48F7+BDRVILkEwH4A843q7NFJpKoh6D0A+nSwCMABAAsiIAjTyWFGscrDAVDZEjyL9unuY2ELuuoOB6AhWYJlzUHdhexYbQQ4ADMUS/AtrNK9zAGY5ZZNcC6tzr/QARgwZqt3cfAoWGgc1qsyr3IAhqibYGAdPIzDp2hHjfBMPNwBGFHyBAv7KoysHYAW91zCDibFO5g5AC0A0JdFwbcoxrKmaAczB6AlAApBrGVNsQ5mDoABAIUg1rKmSPMqB8AIgEIQa1kTzKuCjd2RiG6zpDgAkWVN2Mu4KAczByASAB0JYi1rinEwcwASAFAIgmXN6wCWGpsqwsHMATCqNiic5F4AK4zNBQeza0XksDFvbOEOwJhKSTLGt2iniKwZ0ylENeMARJVt9iSSFt+iHSKybozdRzXlAESVbXASyTa+RdtFZMOYu45qzgGIKtvopCGWNVtFZNPoFiYT4QBkrDPJmZY1W0Rkc8YuzU07AOaS2RIaljUbRWSbLTt/tAOQv8Zhf8Sw0eWhCXRl7sIBMJesWwkOQLf0NF+NA2AuWbcSHIBu6Wm+GgfAXLJuJTgA3dLTfDX/AlSTmJ/JwwOoAAAAAElFTkSuQmCC",currentRoute:t,subTitle:o,tabs:l,goBack:()=>{e.back()},navigateTo:(t,o)=>{o!==n.value&&(n.value=o,e.replace({path:t.path}))}}},watch:{$route(e){void 0!==e.name?this.subTitle=e.name:this.subTitle=""}}}),i=(o(49),o(3));const r=o.n(i)()(l,[["render",function(e,t,o,a,c,l){const i=Object(n.z)("router-view");return Object(n.t)(),Object(n.f)("div",{id:"root"},[Object(n.g)("div",{id:"header"},[Object(n.g)("div",{class:"left-title"},[Object(n.I)(Object(n.g)("img",{id:"back-btn",src:e.backButtonImg,onClick:t[0]||(t[0]=(...t)=>e.goBack&&e.goBack(...t))},null,8,["src"]),[[n.F,!["/","/debug","/remote-debug"].includes(e.currentRoute.path)]]),["/","/debug","/remote-debug"].includes(e.currentRoute.path)?(Object(n.t)(),Object(n.f)("label",{key:0,class:"title"},"Hippy Vue Next")):Object(n.e)("v-if",!0)]),Object(n.g)("label",{class:"title"},Object(n.D)(e.subTitle),1)]),Object(n.g)("div",{class:"body-container",onClick:Object(n.J)(()=>{},["stop"])},[Object(n.e)(" if you don't need keep-alive, just use '' "),Object(n.i)(i,null,{default:Object(n.H)(({Component:e,route:t})=>[(Object(n.t)(),Object(n.d)(n.b,null,[(Object(n.t)(),Object(n.d)(Object(n.A)(e),{key:t.path}))],1024))]),_:1})]),Object(n.g)("div",{class:"bottom-tabs"},[(Object(n.t)(!0),Object(n.f)(n.a,null,Object(n.x)(e.tabs,(t,o)=>(Object(n.t)(),Object(n.f)("div",{key:"tab-"+o,class:Object(n.o)(["bottom-tab",o===e.activatedTab?"activated":""]),onClick:Object(n.J)(n=>e.navigateTo(t,o),["stop"])},[Object(n.g)("span",{class:"bottom-tab-text"},Object(n.D)(t.text),1)],10,["onClick"]))),128))])])}]]);t.a=r},,,function(e,t,o){e.exports=o(48)},function(e,t,o){"use strict";o.r(t),function(e){var t=o(4),n=o(44),a=o(43),c=o(8);e.Hippy.on("uncaughtException",e=>{console.log("uncaughtException error",e.stack,e.message)}),e.Hippy.on("unhandledRejection",e=>{console.log("unhandledRejection reason",e)});const l=Object(t.createApp)(n.a,{appName:"Demo",iPhone:{statusBar:{backgroundColor:4283416717}},trimWhitespace:!0}),i=Object(a.a)();l.use(i),t.EventBus.$on("onSizeChanged",e=>{e.width&&e.height&&Object(t.setScreenSize)({width:e.width,height:e.height})});l.$start().then(({superProps:e,rootViewId:o})=>{Object(c.b)({superProps:e,rootViewId:o}),i.push("/"),t.BackAndroid.addListener(()=>(console.log("backAndroid"),!0)),l.mount("#root")})}.call(this,o(5))},function(e,t,o){"use strict";o(12)},function(e,t,o){"use strict";o(13)},function(e,t,o){var n=o(14).default,a=o(52);e.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var n=o(14).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var a=o.call(e,t||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){"use strict";o(15)},function(e,t,o){"use strict";o(16)},function(e,t,o){"use strict";o(17)},function(e,t,o){"use strict";o(18)},function(e,t,o){"use strict";o(19)},function(e,t,o){"use strict";o(20)},function(e,t,o){"use strict";o(21)},function(e,t,o){"use strict";o(22)},function(e,t,o){"use strict";o(23)},function(e,t,o){"use strict";o(24)},function(e,t,o){"use strict";o(25)},function(e,t,o){"use strict";o(26)},function(e,t,o){"use strict";o(27)},function(e,t,o){"use strict";o(28)},function(e,t,o){"use strict";o(29)},function(e,t,o){"use strict";o(30)},function(e,t,o){"use strict";o(31)},function(e,t,o){"use strict";o(32)},function(e,t,o){"use strict";o(33)},function(e,t,o){"use strict";o(34)},function(e,t,o){"use strict";o(35)},function(e,t,o){"use strict";o(36)},function(e,t,o){"use strict";o(37)},function(e,t,o){"use strict";o(38)},function(e,t,o){"use strict";o(39)},function(e,t,o){"use strict";o(40)}]); \ No newline at end of file diff --git a/framework/voltron/example/assets/jsbundle/vue3/vendor-manifest.json b/framework/voltron/example/assets/jsbundle/vue3/vendor-manifest.json index 4a7252c7cef..783c9df4584 100644 --- a/framework/voltron/example/assets/jsbundle/vue3/vendor-manifest.json +++ b/framework/voltron/example/assets/jsbundle/vue3/vendor-manifest.json @@ -1 +1 @@ -{"name":"hippyVueBase","content":{"../../packages/hippy-vue-next/dist/index.js":{"id":"../../packages/hippy-vue-next/dist/index.js","buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ITERATE_KEY","ReactiveEffect","ReactiveFlags","TrackOpTypes","TriggerOpTypes","computed","customRef","deferredComputed","effect","effectScope","enableTracking","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","pauseScheduling","pauseTracking","proxyRefs","reactive","readonly","ref","resetScheduling","resetTracking","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","track","trigger","triggerRef","unref"]}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ReactiveEffect","TrackOpTypes","TriggerOpTypes","customRef","effect","effectScope","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","proxyRefs","reactive","readonly","ref","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","triggerRef","unref","camelize","capitalize","normalizeClass","normalizeProps","normalizeStyle","toDisplayString","toHandlerKey","BaseTransition","BaseTransitionPropsValidators","Comment","DeprecationTypes","ErrorCodes","ErrorTypeStrings","Fragment","KeepAlive","Static","Suspense","Teleport","Text","assertNumber","callWithAsyncErrorHandling","callWithErrorHandling","cloneVNode","compatUtils","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createHydrationRenderer","createPropsRestProxy","createRenderer","createSlots","createStaticVNode","createTextVNode","createVNode","defineAsyncComponent","defineComponent","defineEmits","defineExpose","defineModel","defineOptions","defineProps","defineSlots","devtools","getCurrentInstance","getTransitionRawChildren","guardReactiveProps","h","handleError","hasInjectionContext","initCustomFormatter","inject","isMemoSame","isRuntimeOnly","isVNode","mergeDefaults","mergeModels","mergeProps","nextTick","onActivated","onBeforeMount","onBeforeUnmount","onBeforeUpdate","onDeactivated","onErrorCaptured","onMounted","onRenderTracked","onRenderTriggered","onServerPrefetch","onUnmounted","onUpdated","openBlock","popScopeId","provide","pushScopeId","queuePostFlushCb","registerRuntimeCompiler","renderList","renderSlot","resolveComponent","resolveDirective","resolveDynamicComponent","resolveFilter","resolveTransitionHooks","setBlockTracking","setDevtoolsHook","setTransitionHooks","ssrContextKey","ssrUtils","toHandlers","transformVNodeArgs","useAttrs","useModel","useSSRContext","useSlots","useTransitionState","version","warn","watch","watchEffect","watchPostEffect","watchSyncEffect","withAsyncContext","withCtx","withDefaults","withDirectives","withMemo","withScopeId"]}},"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":{"id":"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js","buildMeta":{"exportsType":"namespace","providedExports":["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"]}},"./node_modules/process/browser.js":{"id":"./node_modules/process/browser.js","buildMeta":{"providedExports":true}},"./node_modules/webpack/buildin/global.js":{"id":"./node_modules/webpack/buildin/global.js","buildMeta":{"providedExports":true}},"./scripts/vendor.js":{"id":"./scripts/vendor.js","buildMeta":{"providedExports":true}}}} \ No newline at end of file +{"name":"hippyVueBase","content":{"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":{"id":0,"buildMeta":{"exportsType":"namespace","providedExports":["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"]}},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":{"id":1,"buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ITERATE_KEY","ReactiveEffect","ReactiveFlags","TrackOpTypes","TriggerOpTypes","computed","customRef","deferredComputed","effect","effectScope","enableTracking","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","pauseScheduling","pauseTracking","proxyRefs","reactive","readonly","ref","resetScheduling","resetTracking","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","track","trigger","triggerRef","unref"]}},"./node_modules/webpack/buildin/global.js":{"id":2,"buildMeta":{"providedExports":true}},"./scripts/vendor.js":{"id":4,"buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/dist/index.js":{"id":5,"buildMeta":{"providedExports":true}},"./node_modules/process/browser.js":{"id":6,"buildMeta":{"providedExports":true}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":{"id":7,"buildMeta":{"exportsType":"namespace","providedExports":["EffectScope","ReactiveEffect","TrackOpTypes","TriggerOpTypes","customRef","effect","effectScope","getCurrentScope","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","onScopeDispose","proxyRefs","reactive","readonly","ref","shallowReactive","shallowReadonly","shallowRef","stop","toRaw","toRef","toRefs","toValue","triggerRef","unref","camelize","capitalize","normalizeClass","normalizeProps","normalizeStyle","toDisplayString","toHandlerKey","BaseTransition","BaseTransitionPropsValidators","Comment","DeprecationTypes","ErrorCodes","ErrorTypeStrings","Fragment","KeepAlive","Static","Suspense","Teleport","Text","assertNumber","callWithAsyncErrorHandling","callWithErrorHandling","cloneVNode","compatUtils","computed","createBlock","createCommentVNode","createElementBlock","createElementVNode","createHydrationRenderer","createPropsRestProxy","createRenderer","createSlots","createStaticVNode","createTextVNode","createVNode","defineAsyncComponent","defineComponent","defineEmits","defineExpose","defineModel","defineOptions","defineProps","defineSlots","devtools","getCurrentInstance","getTransitionRawChildren","guardReactiveProps","h","handleError","hasInjectionContext","initCustomFormatter","inject","isMemoSame","isRuntimeOnly","isVNode","mergeDefaults","mergeModels","mergeProps","nextTick","onActivated","onBeforeMount","onBeforeUnmount","onBeforeUpdate","onDeactivated","onErrorCaptured","onMounted","onRenderTracked","onRenderTriggered","onServerPrefetch","onUnmounted","onUpdated","openBlock","popScopeId","provide","pushScopeId","queuePostFlushCb","registerRuntimeCompiler","renderList","renderSlot","resolveComponent","resolveDirective","resolveDynamicComponent","resolveFilter","resolveTransitionHooks","setBlockTracking","setDevtoolsHook","setTransitionHooks","ssrContextKey","ssrUtils","toHandlers","transformVNodeArgs","useAttrs","useModel","useSSRContext","useSlots","useTransitionState","version","warn","watch","watchEffect","watchPostEffect","watchSyncEffect","withAsyncContext","withCtx","withDefaults","withDirectives","withMemo","withScopeId"]}}}} \ No newline at end of file diff --git a/framework/voltron/example/assets/jsbundle/vue3/vendor.android.js b/framework/voltron/example/assets/jsbundle/vue3/vendor.android.js index 5b5b6c3085b..247af7b101e 100644 --- a/framework/voltron/example/assets/jsbundle/vue3/vendor.android.js +++ b/framework/voltron/example/assets/jsbundle/vue3/vendor.android.js @@ -1,8 +1,20 @@ -var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"../../packages/hippy-vue-next/dist/index.js":function(e,t,n){"use strict";(function(e,r){ +var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";n.r(t),function(e){ +/** +* @vue/shared v3.4.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +/*! #__NO_SIDE_EFFECTS__ */ +function r(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}n.d(t,"EMPTY_ARR",(function(){return i})),n.d(t,"EMPTY_OBJ",(function(){return o})),n.d(t,"NO",(function(){return c})),n.d(t,"NOOP",(function(){return s})),n.d(t,"PatchFlagNames",(function(){return G})),n.d(t,"PatchFlags",(function(){return K})),n.d(t,"ShapeFlags",(function(){return q})),n.d(t,"SlotFlags",(function(){return J})),n.d(t,"camelize",(function(){return P})),n.d(t,"capitalize",(function(){return L})),n.d(t,"def",(function(){return B})),n.d(t,"escapeHtml",(function(){return Ne})),n.d(t,"escapeHtmlComment",(function(){return xe})),n.d(t,"extend",(function(){return u})),n.d(t,"genPropsAccessExp",(function(){return z})),n.d(t,"generateCodeFrame",(function(){return ee})),n.d(t,"getGlobalThis",(function(){return Y})),n.d(t,"hasChanged",(function(){return D})),n.d(t,"hasOwn",(function(){return p})),n.d(t,"hyphenate",(function(){return M})),n.d(t,"includeBooleanAttr",(function(){return ve})),n.d(t,"invokeArrayFns",(function(){return V})),n.d(t,"isArray",(function(){return h})),n.d(t,"isBooleanAttr",(function(){return me})),n.d(t,"isBuiltInDirective",(function(){return C})),n.d(t,"isDate",(function(){return g})),n.d(t,"isFunction",(function(){return b})),n.d(t,"isGloballyAllowed",(function(){return Z})),n.d(t,"isGloballyWhitelisted",(function(){return Q})),n.d(t,"isHTMLTag",(function(){return le})),n.d(t,"isIntegerKey",(function(){return j})),n.d(t,"isKnownHtmlAttr",(function(){return _e})),n.d(t,"isKnownSvgAttr",(function(){return Ee})),n.d(t,"isMap",(function(){return m})),n.d(t,"isMathMLTag",(function(){return de})),n.d(t,"isModelListener",(function(){return l})),n.d(t,"isObject",(function(){return E})),n.d(t,"isOn",(function(){return a})),n.d(t,"isPlainObject",(function(){return x})),n.d(t,"isPromise",(function(){return S})),n.d(t,"isRegExp",(function(){return y})),n.d(t,"isRenderableAttrValue",(function(){return Se})),n.d(t,"isReservedProp",(function(){return A})),n.d(t,"isSSRSafeAttrName",(function(){return be})),n.d(t,"isSVGTag",(function(){return ue})),n.d(t,"isSet",(function(){return v})),n.d(t,"isSpecialBooleanAttr",(function(){return he})),n.d(t,"isString",(function(){return O})),n.d(t,"isSymbol",(function(){return _})),n.d(t,"isVoidTag",(function(){return fe})),n.d(t,"looseEqual",(function(){return je})),n.d(t,"looseIndexOf",(function(){return Ae})),n.d(t,"looseToNumber",(function(){return $})),n.d(t,"makeMap",(function(){return r})),n.d(t,"normalizeClass",(function(){return ce})),n.d(t,"normalizeProps",(function(){return ae})),n.d(t,"normalizeStyle",(function(){return te})),n.d(t,"objectToString",(function(){return w})),n.d(t,"parseStringStyle",(function(){return ie})),n.d(t,"propsToAttrMap",(function(){return Oe})),n.d(t,"remove",(function(){return d})),n.d(t,"slotFlagsText",(function(){return X})),n.d(t,"stringifyStyle",(function(){return se})),n.d(t,"toDisplayString",(function(){return Ie})),n.d(t,"toHandlerKey",(function(){return F})),n.d(t,"toNumber",(function(){return U})),n.d(t,"toRawType",(function(){return T})),n.d(t,"toTypeString",(function(){return N}));const o={},i=[],s=()=>{},c=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,p=(e,t)=>f.call(e,t),h=Array.isArray,m=e=>"[object Map]"===N(e),v=e=>"[object Set]"===N(e),g=e=>"[object Date]"===N(e),y=e=>"[object RegExp]"===N(e),b=e=>"function"==typeof e,O=e=>"string"==typeof e,_=e=>"symbol"==typeof e,E=e=>null!==e&&"object"==typeof e,S=e=>(E(e)||b(e))&&b(e.then)&&b(e.catch),w=Object.prototype.toString,N=e=>w.call(e),T=e=>N(e).slice(8,-1),x=e=>"[object Object]"===N(e),j=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),I=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,P=I(e=>e.replace(k,(e,t)=>t?t.toUpperCase():"")),R=/\B([A-Z])/g,M=I(e=>e.replace(R,"-$1").toLowerCase()),L=I(e=>e.charAt(0).toUpperCase()+e.slice(1)),F=I(e=>e?"on"+L(e):""),D=(e,t)=>!Object.is(e,t),V=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=O(e)?Number(e):NaN;return isNaN(t)?e:t};let H;const Y=()=>H||(H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),W=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function z(e){return W.test(e)?"__props."+e:`__props[${JSON.stringify(e)}]`}const K={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},G={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},q={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},J={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},X={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Z=r("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"),Q=Z;function ee(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let r=e.split(/(\r?\n)/);const o=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let i=0;const s=[];for(let e=0;e=t){for(let c=e-2;c<=e+2||n>i;c++){if(c<0||c>=r.length)continue;const a=c+1;s.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${r[c]}`);const l=r[c].length,u=o[c]&&o[c].length||0;if(c===e){const e=t-(i-(l+u)),r=Math.max(1,n>i?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(c>e){if(n>i){const e=Math.max(Math.min(n-i,l),1);s.push(" | "+"^".repeat(e))}i+=l+u}}break}return s.join("\n")}function te(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(re);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function se(e){let t="";if(!e||O(e))return t;for(const n in e){const r=e[n];if(O(r)||"number"==typeof r){t+=`${n.startsWith("--")?n:M(n)}:${r};`}}return t}function ce(e){let t="";if(O(e))t=e;else if(h(e))for(let n=0;n/="'\u0009\u000a\u000c\u0020]/,ye={};function be(e){if(ye.hasOwnProperty(e))return ye[e];const t=ge.test(e);return t&&console.error("unsafe attribute name: "+e),ye[e]=!t}const Oe={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},_e=r("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"),Ee=r("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");function Se(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const we=/["'&<>]/;function Ne(e){const t=""+e,n=we.exec(t);if(!n)return t;let r,o,i="",s=0;for(o=n.index;o||--!>|je(e,t))}const Ce=e=>!(!e||!0!==e.__v_isRef),Ie=e=>O(e)?e:null==e?"":h(e)||E(e)&&(e.toString===w||!b(e.toString))?Ce(e)?Ie(e.value):JSON.stringify(e,ke,2):String(e),ke=(e,t)=>Ce(t)?ke(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Pe(t,r)+" =>"]=n,e),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Pe(e))}:_(t)?Pe(t):!E(t)||h(t)||x(t)?t:String(t),Pe=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}}.call(this,n(2))},function(e,t,n){"use strict";n.r(t),n.d(t,"EffectScope",(function(){return s})),n.d(t,"ITERATE_KEY",(function(){return I})),n.d(t,"ReactiveEffect",(function(){return d})),n.d(t,"ReactiveFlags",(function(){return nt})),n.d(t,"TrackOpTypes",(function(){return et})),n.d(t,"TriggerOpTypes",(function(){return tt})),n.d(t,"computed",(function(){return Pe})),n.d(t,"customRef",(function(){return Ke})),n.d(t,"deferredComputed",(function(){return Qe})),n.d(t,"effect",(function(){return v})),n.d(t,"effectScope",(function(){return c})),n.d(t,"enableTracking",(function(){return E})),n.d(t,"getCurrentScope",(function(){return l})),n.d(t,"isProxy",(function(){return xe})),n.d(t,"isReactive",(function(){return we})),n.d(t,"isReadonly",(function(){return Ne})),n.d(t,"isRef",(function(){return Le})),n.d(t,"isShallow",(function(){return Te})),n.d(t,"markRaw",(function(){return Ae})),n.d(t,"onScopeDispose",(function(){return u})),n.d(t,"pauseScheduling",(function(){return w})),n.d(t,"pauseTracking",(function(){return _})),n.d(t,"proxyRefs",(function(){return We})),n.d(t,"reactive",(function(){return be})),n.d(t,"readonly",(function(){return _e})),n.d(t,"ref",(function(){return Fe})),n.d(t,"resetScheduling",(function(){return N})),n.d(t,"resetTracking",(function(){return S})),n.d(t,"shallowReactive",(function(){return Oe})),n.d(t,"shallowReadonly",(function(){return Ee})),n.d(t,"shallowRef",(function(){return De})),n.d(t,"stop",(function(){return g})),n.d(t,"toRaw",(function(){return je})),n.d(t,"toRef",(function(){return Xe})),n.d(t,"toRefs",(function(){return Ge})),n.d(t,"toValue",(function(){return He})),n.d(t,"track",(function(){return P})),n.d(t,"trigger",(function(){return R})),n.d(t,"triggerRef",(function(){return $e})),n.d(t,"unref",(function(){return Ue}));var r=n(0); +/** +* @vue/reactivity v3.4.34 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let o,i;class s{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),S()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=i;try{return y=!0,i=this,this._runnings++,p(this),this.fn()}finally{h(this),this._runnings--,i=t,y=e}}stop(){this.active&&(p(this),h(this),this.onStop&&this.onStop(),this.active=!1)}}function f(e){return e.value}function p(e){e._trackId++,e._depsLength=0}function h(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(Object(r.extend)(n,t),t.scope&&a(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function g(e){e.effect.stop()}let y=!0,b=0;const O=[];function _(){O.push(y),y=!1}function E(){O.push(y),y=!0}function S(){const e=O.pop();y=void 0===e||e}function w(){b++}function N(){for(b--;!b&&x.length;)x.shift()()}function T(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&m(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const x=[];function j(e,t,n){w();for(const n of e.keys()){let r;n._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},C=new WeakMap,I=Symbol(""),k=Symbol("");function P(e,t,n){if(y&&i){let t=C.get(e);t||C.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=A(()=>t.delete(n))),T(i,r)}}function R(e,t,n,o,i,s){const c=C.get(e);if(!c)return;let a=[];if("clear"===t)a=[...c.values()];else if("length"===n&&Object(r.isArray)(e)){const e=Number(o);c.forEach((t,n)=>{("length"===n||!Object(r.isSymbol)(n)&&n>=e)&&a.push(t)})}else switch(void 0!==n&&a.push(c.get(n)),t){case"add":Object(r.isArray)(e)?Object(r.isIntegerKey)(n)&&a.push(c.get("length")):(a.push(c.get(I)),Object(r.isMap)(e)&&a.push(c.get(k)));break;case"delete":Object(r.isArray)(e)||(a.push(c.get(I)),Object(r.isMap)(e)&&a.push(c.get(k)));break;case"set":Object(r.isMap)(e)&&a.push(c.get(I))}w();for(const e of a)e&&j(e,4);N()}const M=Object(r.makeMap)("__proto__,__v_isRef,__isVue"),L=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(r.isSymbol)),F=D();function D(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=je(this);for(let e=0,t=this.length;e{e[t]=function(...e){_(),w();const n=je(this)[t].apply(this,e);return N(),S(),n}}),e}function V(e){Object(r.isSymbol)(e)||(e=String(e));const t=je(this);return P(t,0,e),t.hasOwnProperty(e)}class B{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?ye:ge:i?ve:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=Object(r.isArray)(e);if(!o){if(s&&Object(r.hasOwn)(F,t))return Reflect.get(F,t,n);if("hasOwnProperty"===t)return V}const c=Reflect.get(e,t,n);return(Object(r.isSymbol)(t)?L.has(t):M(t))?c:(o||P(e,0,t),i?c:Le(c)?s&&Object(r.isIntegerKey)(t)?c:c.value:Object(r.isObject)(c)?o?_e(c):be(c):c)}}class $ extends B{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Ne(i);if(Te(n)||Ne(n)||(i=je(i),n=je(n)),!Object(r.isArray)(e)&&Le(i)&&!Le(n))return!t&&(i.value=n,!0)}const s=Object(r.isArray)(e)&&Object(r.isIntegerKey)(t)?Number(t)e,G=e=>Reflect.getPrototypeOf(e);function q(e,t,n=!1,o=!1){const i=je(e=e.__v_raw),s=je(t);n||(Object(r.hasChanged)(t,s)&&P(i,0,t),P(i,0,s));const{has:c}=G(i),a=o?K:n?Ie:Ce;return c.call(i,t)?a(e.get(t)):c.call(i,s)?a(e.get(s)):void(e!==i&&e.get(t))}function J(e,t=!1){const n=this.__v_raw,o=je(n),i=je(e);return t||(Object(r.hasChanged)(e,i)&&P(o,0,e),P(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function X(e,t=!1){return e=e.__v_raw,!t&&P(je(e),0,I),Reflect.get(e,"size",e)}function Z(e,t=!1){t||Te(e)||Ne(e)||(e=je(e));const n=je(this);return G(n).has.call(n,e)||(n.add(e),R(n,"add",e,e)),this}function Q(e,t,n=!1){n||Te(t)||Ne(t)||(t=je(t));const o=je(this),{has:i,get:s}=G(o);let c=i.call(o,e);c||(e=je(e),c=i.call(o,e));const a=s.call(o,e);return o.set(e,t),c?Object(r.hasChanged)(t,a)&&R(o,"set",e,t):R(o,"add",e,t),this}function ee(e){const t=je(this),{has:n,get:r}=G(t);let o=n.call(t,e);o||(e=je(e),o=n.call(t,e));r&&r.call(t,e);const i=t.delete(e);return o&&R(t,"delete",e,void 0),i}function te(){const e=je(this),t=0!==e.size,n=e.clear();return t&&R(e,"clear",void 0,void 0),n}function ne(e,t){return function(n,r){const o=this,i=o.__v_raw,s=je(i),c=t?K:e?Ie:Ce;return!e&&P(s,0,I),i.forEach((e,t)=>n.call(r,c(e),c(t),o))}}function re(e,t,n){return function(...o){const i=this.__v_raw,s=je(i),c=Object(r.isMap)(s),a="entries"===e||e===Symbol.iterator&&c,l="keys"===e&&c,u=i[e](...o),d=n?K:t?Ie:Ce;return!t&&P(s,0,l?k:I),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function oe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ie(){const e={get(e){return q(this,e)},get size(){return X(this)},has:J,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return q(this,e,!1,!0)},get size(){return X(this)},has:J,add(e){return Z.call(this,e,!0)},set(e,t){return Q.call(this,e,t,!0)},delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return q(this,e,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!1)},r={get(e){return q(this,e,!0,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=re(o,!1,!1),n[o]=re(o,!0,!1),t[o]=re(o,!1,!0),r[o]=re(o,!0,!0)}),[e,n,t,r]}const[se,ce,ae,le]=ie();function ue(e,t){const n=t?e?le:ae:e?ce:se;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(Object(r.hasOwn)(n,o)&&o in t?n:t,o,i)}const de={get:ue(!1,!1)},fe={get:ue(!1,!0)},pe={get:ue(!0,!1)},he={get:ue(!0,!0)};const me=new WeakMap,ve=new WeakMap,ge=new WeakMap,ye=new WeakMap;function be(e){return Ne(e)?e:Se(e,!1,H,de,me)}function Oe(e){return Se(e,!1,W,fe,ve)}function _e(e){return Se(e,!0,Y,pe,ge)}function Ee(e){return Se(e,!0,z,he,ye)}function Se(e,t,n,o,i){if(!Object(r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const c=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Object(r.toRawType)(a));var a;if(0===c)return e;const l=new Proxy(e,2===c?o:n);return i.set(e,l),l}function we(e){return Ne(e)?we(e.__v_raw):!(!e||!e.__v_isReactive)}function Ne(e){return!(!e||!e.__v_isReadonly)}function Te(e){return!(!e||!e.__v_isShallow)}function xe(e){return!!e&&!!e.__v_raw}function je(e){const t=e&&e.__v_raw;return t?je(t):e}function Ae(e){return Object.isExtensible(e)&&Object(r.def)(e,"__v_skip",!0),e}const Ce=e=>Object(r.isObject)(e)?be(e):e,Ie=e=>Object(r.isObject)(e)?_e(e):e;class ke{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new d(()=>e(this._value),()=>Me(this,2===this.effect._dirtyLevel?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=je(this);return e._cacheable&&!e.effect.dirty||!Object(r.hasChanged)(e._value,e._value=e.effect.run())||Me(e,4),Re(e),e.effect._dirtyLevel>=2&&Me(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Pe(e,t,n=!1){let o,i;const s=Object(r.isFunction)(e);s?(o=e,i=r.NOOP):(o=e.get,i=e.set);return new ke(o,i,s||!i,n)}function Re(e){var t;y&&i&&(e=je(e),T(i,null!=(t=e.dep)?t:e.dep=A(()=>e.dep=void 0,e instanceof ke?e:void 0)))}function Me(e,t=4,n,r){const o=(e=je(e)).dep;o&&j(o,t)}function Le(e){return!(!e||!0!==e.__v_isRef)}function Fe(e){return Ve(e,!1)}function De(e){return Ve(e,!0)}function Ve(e,t){return Le(e)?e:new Be(e,t)}class Be{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:je(e),this._value=t?e:Ce(e)}get value(){return Re(this),this._value}set value(e){const t=this.__v_isShallow||Te(e)||Ne(e);if(e=t?e:je(e),Object(r.hasChanged)(e,this._rawValue)){this._rawValue;this._rawValue=e,this._value=t?e:Ce(e),Me(this,4)}}}function $e(e){Me(e,4)}function Ue(e){return Le(e)?e.value:e}function He(e){return Object(r.isFunction)(e)?e():Ue(e)}const Ye={get:(e,t,n)=>Ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Le(o)&&!Le(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function We(e){return we(e)?e:new Proxy(e,Ye)}class ze{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Re(this),()=>Me(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Ke(e){return new ze(e)}function Ge(e){const t=Object(r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ze(e,n);return t}class qe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=C.get(e);return n&&n.get(t)}(je(this._object),this._key)}}class Je{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){return Le(e)?e:Object(r.isFunction)(e)?new Je(e):Object(r.isObject)(e)&&arguments.length>1?Ze(e,t,n):Fe(e)}function Ze(e,t,n){const r=e[t];return Le(r)?r:new qe(e,t,n)}const Qe=Pe,et={GET:"get",HAS:"has",ITERATE:"iterate"},tt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},nt={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){e.exports=n},function(e,t,n){n(5)},function(e,t,n){"use strict";(function(e,r){ /*! * @hippy/vue-next vunspecified - * (Using Vue v3.4.21 and Hippy-Vue-Next vunspecified) - * Build at: Sun Apr 07 2024 19:11:32 GMT+0800 (中国标准时间) + * (Using Vue v3.4.34 and Hippy-Vue-Next vunspecified) + * Build at: Thu Aug 01 2024 19:06:20 GMT+0800 (中国标准时间) * * Tencent is pleased to support the open source community by making * Hippy available. @@ -22,23 +34,12 @@ var hippyVueBase=function(e){var t={};function n(r){if(t[r])return t[r].exports; * See the License for the specific language governing permissions and * limitations under the License. */ -const o=["mode","valueType","startValue","toValue"],i=["transform"],s=["transform"];function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof o){var s=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,s)),o.apply(this,e)}))}return e[Symbol.replace].call(this,n,o)},d.apply(this,arguments)}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var h=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js"),m=n("../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");const v={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},g=(...e)=>`\\(\\s*(${e.join(")\\s*,\\s*(")})\\s*\\)`,y="[-+]?\\d*\\.?\\d+",b={rgb:new RegExp("rgb"+g(y,y,y)),rgba:new RegExp("rgba"+g(y,y,y,y)),hsl:new RegExp("hsl"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",y)),hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex4:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},O=e=>{const t=parseInt(e,10);return t<0?0:t>255?255:t},_=e=>{const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)},E=(e,t,n)=>{let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e},S=(e,t,n)=>{const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=E(o,r,e+1/3),s=E(o,r,e),c=E(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*c)<<8},w=e=>(parseFloat(e)%360+360)%360/360,N=e=>{const t=parseFloat(e);return t<0?0:t>100?1:t/100};function x(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=b.hex6.exec(e),Array.isArray(t)?parseInt(t[1]+"ff",16)>>>0:Object.hasOwnProperty.call(v,e)?v[e]:(t=b.rgb.exec(e),Array.isArray(t)?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|255)>>>0:(t=b.rgba.exec(e),t?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|_(t[4]))>>>0:(t=b.hex3.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=b.hex8.exec(e),t?parseInt(t[1],16)>>>0:(t=b.hex4.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=b.hsl.exec(e),t?(255|S(w(t[1]),N(t[2]),N(t[3])))>>>0:(t=b.hsla.exec(e),t?(S(w(t[1]),N(t[2]),N(t[3]))|_(t[4]))>>>0:null))))))))}(e);if(null===t)throw new Error("Bad color value: "+e);return t=(t<<24|t>>>8)>>>0,t}const T={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},j={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},k="turn",C="rad",A="deg",I=/\/\*[\s\S]{0,1000}?\*\//gm;const P=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function R(e){if(Number.isInteger(e))return e;if("string"==typeof e&&e.endsWith("px")){const t=parseFloat(e.slice(0,e.indexOf("px")));Number.isNaN(t)||(e=t)}return e}function L(e){const t=(e||"").replace(/\s*/g,"").toLowerCase(),n=d(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return"";let r="180";const[o,i,s]=n;return i&&s?r=function(e,t=A){const n=parseFloat(e);let r=e||"";const[,o]=e.split(".");switch(o&&o.length>2&&(r=n.toFixed(2)),t){case k:r=""+(360*n).toFixed(2);break;case C:r=""+(180/Math.PI*n).toFixed(2)}return r}(i,s):o&&void 0!==j[o]&&(r=j[o]),r}function M(e=""){const t=e.replace(/\s+/g," ").trim(),[n,r]=t.split(/\s+(?![^(]*?\))/),o=/^([+-]?\d+\.?\d*)%$/g;return!n||o.exec(n)||r?n&&o.exec(r)?{ratio:parseFloat(r.split("%")[0])/100,color:x(n)}:null:{color:x(n)}}function F(e,t){let n=t,r=e;if(0===t.indexOf("linear-gradient")){r="linearGradient";const e=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),o=[];n={},e.forEach((e,t)=>{if(0===t){const t=L(e);if(t)n.angle=t;else{n.angle="180";const t=M(e);t&&o.push(t)}}else{const t=M(e);t&&o.push(t)}}),n.colorStopList=o}else{const e=/(?:\(['"]?)(.*?)(?:['"]?\))/.exec(t);e&&e.length>1&&([,n]=e)}return[r,n]}class D{constructor(){this.changeMap=new Map}addAttribute(e,t){const n=this.properties(e);n.attributes||(n.attributes=new Set),n.attributes.add(t)}addPseudoClass(e,t){const n=this.properties(e);n.pseudoClasses||(n.pseudoClasses=new Set),n.pseudoClasses.add(t)}properties(e){let t=this.changeMap.get(e);return t||this.changeMap.set(e,t={}),t}}class V{constructor(e){this.id={},this.class={},this.type={},this.universal=[],this.position=0,this.ruleSets=e,e.forEach(e=>e.lookupSort(this))}static removeFromMap(e,t,n){const r=e[t],o=r.findIndex(e=>{var t;return e.sel.ruleSet.hash===(null===(t=n.ruleSet)||void 0===t?void 0:t.hash)});-1!==o&&r.splice(o,1)}append(e){this.ruleSets=this.ruleSets.concat(e),e.forEach(e=>e.lookupSort(this))}delete(e){const t=[];this.ruleSets=this.ruleSets.filter(n=>n.hash!==e||(t.push(n),!1)),t.forEach(e=>e.removeSort(this))}query(e,t){const{tagName:n,id:r,classList:o,props:i}=e;let s=r,c=o;if(null==i?void 0:i.attributes){const{attributes:e}=i;c=new Set(((null==e?void 0:e.class)||"").split(" ").filter(e=>e.trim())),s=e.id}const a=[this.universal,this.id[s],this.type[n]];(null==c?void 0:c.size)&&c.forEach(e=>a.push(this.class[e]));const l=a.filter(e=>!!e).reduce((e,t)=>e.concat(t),[]),u=new D;return u.selectors=l.filter(n=>n.sel.accumulateChanges(e,u,t)).sort((e,t)=>e.sel.specificity-t.sel.specificity||e.pos-t.pos).map(e=>e.sel),u}removeById(e,t){V.removeFromMap(this.id,e,t)}sortById(e,t){this.addToMap(this.id,e,t)}removeByClass(e,t){V.removeFromMap(this.class,e,t)}sortByClass(e,t){this.addToMap(this.class,e,t)}removeByType(e,t){V.removeFromMap(this.type,e,t)}sortByType(e,t){this.addToMap(this.type,e,t)}removeAsUniversal(e){const t=this.universal.findIndex(t=>{var n,r;return(null===(n=t.sel.ruleSet)||void 0===n?void 0:n.hash)===(null===(r=e.ruleSet)||void 0===r?void 0:r.hash)});-1!==t&&this.universal.splice(t)}sortAsUniversal(e){this.universal.push(this.makeDocSelector(e))}addToMap(e,t,n){this.position+=1;const r=e[t];r?r.push(this.makeDocSelector(n)):e[t]=[this.makeDocSelector(n)]}makeDocSelector(e){return this.position+=1,{sel:e,pos:this.position}}}function B(e){return e?" "+e:""}function $(e,t){return t?(null==e?void 0:e.pId)&&t[e.pId]?t[e.pId]:null:null==e?void 0:e.parentNode}class U{constructor(){this.specificity=0}lookupSort(e,t){e.sortAsUniversal(null!=t?t:this)}removeSort(e,t){e.removeAsUniversal(null!=t?t:this)}}class H extends U{constructor(){super(...arguments),this.rarity=0}accumulateChanges(e,t){return this.dynamic?!!this.mayMatch(e)&&(this.trackChanges(e,t),!0):this.match(e)}match(e){return!!e}mayMatch(e){return this.match(e)}trackChanges(e,t){}}class Y extends H{constructor(e){super(),this.specificity=e.reduce((e,t)=>t.specificity+e,0),this.head=e.reduce((e,t)=>!e||e instanceof H&&t.rarity>e.rarity?t:e,null),this.dynamic=e.some(e=>e.dynamic),this.selectors=e}toString(){return`${this.selectors.join("")}${B(this.combinator)}`}match(e){return!!e&&this.selectors.every(t=>t.match(e))}mayMatch(e){return!!e&&this.selectors.every(t=>t.mayMatch(e))}trackChanges(e,t){this.selectors.forEach(n=>n.trackChanges(e,t))}lookupSort(e,t){this.head&&this.head instanceof H&&this.head.lookupSort(e,null!=t?t:this)}removeSort(e,t){this.head&&this.head instanceof H&&this.head.removeSort(e,null!=t?t:this)}}class W extends H{constructor(){super(),this.specificity=0,this.rarity=0,this.dynamic=!1}toString(){return"*"+B(this.combinator)}match(){return!0}}class z extends H{constructor(e){super(),this.specificity=65536,this.rarity=3,this.dynamic=!1,this.id=e}toString(){return`#${this.id}${B(this.combinator)}`}match(e){var t,n;return!!e&&((null===(n=null===(t=e.props)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.id)===this.id||e.id===this.id)}lookupSort(e,t){e.sortById(this.id,null!=t?t:this)}removeSort(e,t){e.removeById(this.id,null!=t?t:this)}}class K extends H{constructor(e){super(),this.specificity=1,this.rarity=1,this.dynamic=!1,this.cssType=e}toString(){return`${this.cssType}${B(this.combinator)}`}match(e){return!!e&&e.tagName===this.cssType}lookupSort(e,t){e.sortByType(this.cssType,null!=t?t:this)}removeSort(e,t){e.removeByType(this.cssType,null!=t?t:this)}}class G extends H{constructor(e){super(),this.specificity=256,this.rarity=2,this.dynamic=!1,this.className=e}toString(){return`.${this.className}${B(this.combinator)}`}match(e){var t,n,r;if(!e)return!1;const o=null!==(t=e.classList)&&void 0!==t?t:new Set(((null===(r=null===(n=e.props)||void 0===n?void 0:n.attributes)||void 0===r?void 0:r.class)||"").split(" ").filter(e=>e.trim()));return!(!o.size||!o.has(this.className))}lookupSort(e,t){e.sortByClass(this.className,null!=t?t:this)}removeSort(e,t){e.removeByClass(this.className,null!=t?t:this)}}class q extends H{constructor(e){super(),this.specificity=256,this.rarity=0,this.dynamic=!0,this.cssPseudoClass=e}toString(){return`:${this.cssPseudoClass}${B(this.combinator)}`}match(){return!1}mayMatch(){return!0}trackChanges(e,t){t.addPseudoClass(e,this.cssPseudoClass)}}const J=(e,t)=>{var n,r,o;const i=(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n[t])||(null===(r=null==e?void 0:e.attributes)||void 0===r?void 0:r[t]);return void 0!==i?i:Array.isArray(null==e?void 0:e.styleScopeId)&&(null===(o=null==e?void 0:e.styleScopeId)||void 0===o?void 0:o.includes(t))?t:void 0};class X extends H{constructor(e,t="",n=""){super(),this.attribute="",this.test="",this.value="",this.specificity=256,this.rarity=0,this.dynamic=!0,this.attribute=e,this.test=t,this.value=n,this.match=t?n?r=>{if(!r||!(null==r?void 0:r.attributes)&&!(null==r?void 0:r.props[e]))return!1;const o=""+J(r,e);if("="===t)return o===n;if("^="===t)return o.startsWith(n);if("$="===t)return o.endsWith(n);if("*="===t)return-1!==o.indexOf(n);if("~="===t){const e=o.split(" ");return-1!==(null==e?void 0:e.indexOf(n))}return"|="===t&&(o===n||o.startsWith(n+"-"))}:()=>!1:t=>!(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props))&&!function(e){return null==e}(J(t,e))}toString(){return`[${this.attribute}${B(this.test)}${this.test&&this.value||""}]${B(this.combinator)}`}match(e){return!!e&&!e}mayMatch(){return!0}trackChanges(e,t){t.addAttribute(e,this.attribute)}}class Z extends H{constructor(e){super(),this.specificity=0,this.rarity=4,this.dynamic=!1,this.combinator=void 0,this.error=e}toString(){return``}match(){return!1}lookupSort(){return null}removeSort(){return null}}class Q{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.parentNode),e&&n.trackChanges(e,t)})}}class ee{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.nextSibling),e&&n.trackChanges(e,t)})}}class te extends U{constructor(e){super();const t=[void 0," ",">","+","~"];let n=[],r=[];const o=[],i=[...e],s=i.length-1;this.specificity=0,this.dynamic=!1;for(let e=s;e>=0;e--){const s=i[e];if(-1===t.indexOf(s.combinator))throw console.error(`Unsupported combinator "${s.combinator}".`),new Error(`Unsupported combinator "${s.combinator}".`);void 0!==s.combinator&&" "!==s.combinator||o.push(r=[n=[]]),">"===s.combinator&&r.push(n=[]),this.specificity+=s.specificity,s.dynamic&&(this.dynamic=!0),n.push(s)}this.groups=o.map(e=>new Q(e.map(e=>new ee(e)))),this.last=i[s]}toString(){return this.selectors.join("")}match(e,t){return!!e&&this.groups.every((n,r)=>{if(0===r)return!!(e=n.match(e));let o=$(e,t);for(;o;){if(e=n.match(o))return!0;o=$(o,t)}return!1})}lookupSort(e){this.last.lookupSort(e,this)}removeSort(e){this.last.removeSort(e,this)}accumulateChanges(e,t,n){if(!this.dynamic)return this.match(e,n);const r=[],o=this.groups.every((t,o)=>{if(0===o){const n=t.mayMatch(e);return r.push({left:e,right:e}),!!(e=n)}let i=$(e,n);for(;i;){const o=t.mayMatch(i);if(o)return r.push({left:i,right:null}),e=o,!0;i=$(i,n)}return!1});if(!o)return!1;if(!t)return o;for(let e=0;e(e.ruleSet=this,null)),this.selectors=e,this.declarations=t,this.hash=n}toString(){return`${this.selectors.join(", ")} {${this.declarations.map((e,t)=>`${0===t?" ":""}${e.property}: ${e.value}`).join("; ")}}`}lookupSort(e){this.selectors.forEach(t=>t.lookupSort(e))}removeSort(e){this.selectors.forEach(t=>t.removeSort(e))}}const re=(()=>{try{return!!new RegExp("foo","y")}catch(e){return!1}})(),oe={whiteSpaceRegEx:"\\s*",universalSelectorRegEx:"\\*",simpleIdentifierSelectorRegEx:"(#|\\.|:|\\b)([_-\\w][_-\\w\\d]*)",attributeSelectorRegEx:"\\[\\s*([_-\\w][_-\\w\\d]*)\\s*(?:(=|\\^=|\\$=|\\*=|\\~=|\\|=)\\s*(?:([_-\\w][_-\\w\\d]*)|\"((?:[^\\\\\"]|\\\\(?:\"|n|r|f|\\\\|0-9a-f))*)\"|'((?:[^\\\\']|\\\\(?:'|n|r|f|\\\\|0-9a-f))*)')\\s*)?\\]",combinatorRegEx:"\\s*(\\+|~|>)?\\s*"},ie={};function se(e,t,n){let r="";re&&(r="gy"),ie[e]||(ie[e]=new RegExp(oe[e],r));const o=ie[e];let i;if(re)o.lastIndex=n,i=o.exec(t);else{if(t=t.slice(n,t.length),i=o.exec(t),!i)return{result:null,regexp:o};o.lastIndex=n+i[0].length}return{result:i,regexp:o}}function ce(e,t){var n,r;return null!==(r=null!==(n=function(e,t){const{result:n,regexp:r}=se("universalSelectorRegEx",e,t);return n?{value:{type:"*"},start:t,end:r.lastIndex}:null}(e,t))&&void 0!==n?n:function(e,t){const{result:n,regexp:r}=se("simpleIdentifierSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex;return{value:{type:n[1],identifier:n[2]},start:t,end:o}}(e,t))&&void 0!==r?r:function(e,t){const{result:n,regexp:r}=se("attributeSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex,i=n[1];if(n[2]){return{value:{type:"[]",property:i,test:n[2],value:n[3]||n[4]||n[5]},start:t,end:o}}return{value:{type:"[]",property:i},start:t,end:o}}(e,t)}function ae(e,t){let n=ce(e,t);if(!n)return null;let{end:r}=n;const o=[];for(;n;)o.push(n.value),({end:r}=n),n=ce(e,r);return{start:t,end:r,value:o}}function le(e,t){const{result:n,regexp:r}=se("combinatorRegEx",e,t);if(!n)return null;let o;o=re?r.lastIndex:t;return{start:t,end:o,value:n[1]||" "}}const ue=e=>e;function de(e){return"declaration"===e.type}function pe(e){return t=>e(t)}function fe(e){switch(e.type){case"*":return new W;case"#":return new z(e.identifier);case"":return new K(e.identifier.replace(/-/,"").toLowerCase());case".":return new G(e.identifier);case":":return new q(e.identifier);case"[]":return e.test?new X(e.property,e.test,e.value):new X(e.property);default:return null}}function he(e){return 0===e.length?new Z(new Error("Empty simple selector sequence.")):1===e.length?fe(e[0]):new Y(e.map(fe))}function me(e){try{const t=function(e,t){let n=t;const{result:r,regexp:o}=se("whiteSpaceRegEx",e,t);r&&(n=o.lastIndex);const i=[];let s,c,a=!0,l=[void 0,void 0];return c=re?[e]:e.split(" "),c.forEach(e=>{if(!re){if(""===e)return;n=0}do{const t=ae(e,n);if(!t){if(a)return;break}({end:n}=t),s&&(l[1]=s.value),l=[t.value,void 0],i.push(l),s=le(e,n),s&&({end:n}=s),a=!(!s||" "===s.value)}while(s)}),{start:t,end:n,value:i}}(e,0);return t?function(e){if(0===e.length)return new Z(new Error("Empty selector."));if(1===e.length)return he(e[0][0]);const t=[];for(const n of e){const e=he(n[0]),r=n[1];r&&e&&(e.combinator=r),t.push(e)}return new te(t)}(t.value):new Z(new Error("Empty selector"))}catch(e){return new Z(e)}}let ve;function ge(e){var t;return!e||!(null===(t=null==e?void 0:e.ruleSets)||void 0===t?void 0:t.length)}function ye(t,n){if(t){if(!ge(ve))return ve;const e=function(e=[],t){return e.map(e=>{let n=e[0],r=e[1];return r=r.map(e=>{const[t,n]=e;return{type:"declaration",property:t,value:n}}).map(pe(null!=t?t:ue)),n=n.map(me),new ne(n,r,"")})}(t,n);return ve=new V(e),ve}const r=e[be];if(ge(ve)||r){const t=function(e=[],t){return e.map(e=>{const n=e.declarations.filter(de).map(pe(null!=t?t:ue)),r=e.selectors.map(me);return new ne(r,n,e.hash)})}(r);ve?ve.append(t):ve=new V(t),e[be]=void 0}return e[Oe]&&(e[Oe].forEach(e=>{ve.delete(e)}),e[Oe]=void 0),ve}const be="__HIPPY_VUE_STYLES__",Oe="__HIPPY_VUE_DISPOSE_STYLES__";let _e=Object.create(null);const Ee={$on:(e,t,n)=>(Array.isArray(e)?e.forEach(e=>{Ee.$on(e,t,n)}):(_e[e]||(_e[e]=[]),_e[e].push({fn:t,ctx:n})),Ee),$once(e,t,n){function r(...o){Ee.$off(e,r),t.apply(n,o)}return r._=t,Ee.$on(e,r),Ee},$emit(e,...t){const n=(_e[e]||[]).slice(),r=n.length;for(let e=0;e{Ee.$off(e,t)}),Ee;const n=_e[e];if(!n)return Ee;if(!t)return _e[e]=null,Ee;let r;const o=n.length;for(let e=0;ee;function Pe(){return Ie}let Re=(e,t)=>{};function Le(e,t){const n=new Map;return Array.isArray(e)?e.forEach(([e,t])=>{n.set(e,t),n.set(t,e)}):(n.set(e,t),n.set(t,e)),n}function Me(e){let t=e;return/^assets/.test(t)&&(t="hpfile://./"+t),t}function Fe(e){return"on"+h.capitalize(e)}function De(e){const t={};return e.forEach(e=>{if(Array.isArray(e)){const n=Fe(e[0]),r=Fe(e[1]);Object.prototype.hasOwnProperty.call(this.$attrs,n)&&(this.$attrs[r]||(t[r]=this.$attrs[n]))}}),t}function Ve(e,t){return!(!t||!e)&&e.match(t)}function Be(e){return e.split(" ").filter(e=>e.trim())}var $e;const Ue=["%c[native]%c","color: red","color: auto"],He={},{bridge:{callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze},device:{platform:{OS:Ke,Localization:Ge={}},screen:{scale:qe}},device:Je,document:Xe,register:Ze,asyncStorage:Qe}=null!==($e=e.Hippy)&&void 0!==$e?$e:{device:{platform:{Localization:{}},window:{},screen:{}},bridge:{},register:{},document:{},asyncStorage:{}},et=async(e,t)=>{const n={top:-1,left:-1,bottom:-1,right:-1,width:-1,height:-1};if(!e.isMounted||!e.nodeId)return Promise.resolve(n);const{nodeId:r}=e;return Te(...Ue,"callUIFunction",{nodeId:r,funcName:t,params:[]}),new Promise(e=>Xe.callUIFunction(r,t,[],t=>{if(!t||"object"!=typeof t||void 0===r)return e(n);const{x:o,y:i,height:s,width:c}=t;return e({top:i,left:o,width:c,height:s,bottom:i+s,right:o+c})}))},tt=new Map,nt={Localization:Ge,hippyNativeDocument:Xe,hippyNativeRegister:Ze,Platform:Ke,PixelRatio:qe,ConsoleModule:e.ConsoleModule||e.console,callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze,AsyncStorage:Qe,callUIFunction(...e){const[t,n,...r]=e;if(!(null==t?void 0:t.nodeId))return;const{nodeId:o}=t;let[i=[],s]=r;"function"==typeof i&&(s=i,i=[]),Te(...Ue,"callUIFunction",{nodeId:o,funcName:n,params:i}),Xe.callUIFunction(o,n,i,s)},Clipboard:{getString(){return nt.callNativeWithPromise.call(this,"ClipboardModule","getString")},setString(e){nt.callNative.call(this,"ClipboardModule","setString",e)}},Cookie:{getAll(e){if(!e)throw new TypeError("Native.Cookie.getAll() must have url argument");return nt.callNativeWithPromise.call(this,"network","getCookie",e)},set(e,t,n){if(!e)throw new TypeError("Native.Cookie.set() must have url argument");let r="";n&&(r=n.toUTCString()),nt.callNative.call(this,"network","setCookie",e,t,r)}},ImageLoader:{getSize(e){return nt.callNativeWithPromise.call(this,"ImageLoaderModule","getSize",e)},prefetch(e){nt.callNative.call(this,"ImageLoaderModule","prefetch",e)}},get Dimensions(){const{screen:e}=Je,{statusBarHeight:t}=e;return{window:Je.window,screen:l(l({},e),{},{statusBarHeight:t})}},get Device(){var t;return void 0===He.Device&&(nt.isIOS()?(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Device)?He.Device=e.__HIPPYNATIVEGLOBAL__.Device:He.Device="iPhone":nt.isAndroid()?He.Device="Android device":He.Device="Unknown device"),He.Device},get screenIsVertical(){return nt.Dimensions.window.width"android"===nt.Platform,isIOS:()=>"ios"===nt.Platform,measureInWindow:e=>et(e,"measureInWindow"),measureInAppWindow:e=>nt.isAndroid()?et(e,"measureInWindow"):et(e,"measureInAppWindow"),getBoundingClientRect(e,t){const{nodeId:n}=e;return new Promise((r,o)=>{if(!e.isMounted||!n)return o(new Error(`getBoundingClientRect cannot get nodeId of ${e} or ${e} is not mounted`));Te(...Ue,"UIManagerModule",{nodeId:n,funcName:"getBoundingClientRect",params:t}),Xe.callUIFunction(n,"getBoundingClientRect",[t],e=>{if(!e||e.errMsg)return o(new Error((null==e?void 0:e.errMsg)||"getBoundingClientRect error with no response"));const{x:t,y:n,width:i,height:s}=e;let c=void 0,a=void 0;return"number"==typeof n&&"number"==typeof s&&(c=n+s),"number"==typeof t&&"number"==typeof i&&(a=t+i),r({x:t,y:n,width:i,height:s,bottom:c,right:a,left:t,top:n})})})},NetInfo:{fetch:()=>nt.callNativeWithPromise("NetInfo","getCurrentConnectivity").then(({network_info:e})=>e),addEventListener(e,t){let n=e;return"change"===n&&(n="networkStatusDidChange"),0===tt.size&&nt.callNative("NetInfo","addListener",n),Ee.$on(n,t),tt.set(t,t),{eventName:e,listener:t,remove(){this.eventName&&this.listener&&(nt.NetInfo.removeEventListener(this.eventName,this.listener),this.listener=void 0)}}},removeEventListener(e,t){if(null==t?void 0:t.remove)return void t.remove();let n=e;"change"===e&&(n="networkStatusDidChange"),tt.size<=1&&nt.callNative("NetInfo","removeListener",n);const r=tt.get(t);r&&(Ee.$off(n,r),tt.delete(t),tt.size<1&&nt.callNative("NetInfo","removeListener",n))}},get isIPhoneX(){if(void 0===He.isIPhoneX){let e=!1;nt.isIOS()&&(e=20!==nt.Dimensions.screen.statusBarHeight),He.isIPhoneX=e}return He.isIPhoneX},get OnePixel(){if(void 0===He.OnePixel){const e=nt.PixelRatio;let t=Math.round(.4*e)/e;t||(t=1/e),He.OnePixel=t}return He.OnePixel},get APILevel(){var t,n;return nt.isAndroid()&&(null===(n=null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Platform)||void 0===n?void 0:n.APILevel)?e.__HIPPYNATIVEGLOBAL__.Platform.APILevel:(je(),null)},get OSVersion(){var t;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?e.__HIPPYNATIVEGLOBAL__.OSVersion:null},get SDKVersion(){var t,n;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?null===(n=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===n?void 0:n.SDKVersion:null},parseColor(e){var t;if(Number.isInteger(e))return e;const n=null!==(t=He.COLOR_PARSER)&&void 0!==t?t:He.COLOR_PARSER=Object.create(null);return n[e]||(n[e]=x(e)),n[e]},getElemCss(e){const t=Object.create(null);try{ye(void 0,Pe()).query(e).selectors.forEach(n=>{Ve(n,e)&&n.ruleSet.declarations.forEach(e=>{t[e.property]=e.value})})}catch(e){je()}return t},version:"unspecified"},rt=new Set;let ot=!1;const it={exitApp(){nt.callNative("DeviceEventModule","invokeDefaultBackPressHandler")},addListener:e=>(ot||(ot=!0,it.initEventListener()),nt.callNative("DeviceEventModule","setListenBackPress",!0),rt.add(e),{remove(){it.removeListener(e)}}),removeListener(e){rt.delete(e),0===rt.size&&nt.callNative("DeviceEventModule","setListenBackPress",!1)},initEventListener(){Ee.$on("hardwareBackPress",()=>{let e=!0;Array.from(rt).reverse().forEach(t=>{"function"==typeof t&&t()&&(e=!1)}),e&&it.exitApp()})}},st={exitApp(){},addListener:()=>({remove(){}}),removeListener(){},initEventListener(){}},ct=nt.isAndroid()?it:st,at=new Map;function lt(e,t){if(!e)throw new Error("tagName can not be empty");const n=ke(e);at.has(n)||at.set(n,t.component)}function ut(e){const t=ke(e),n=h.camelize(e).toLowerCase();return at.get(t)||at.get(n)}const dt=new Map,pt={number:"numeric",text:"default",search:"web-search"},ft={role:"accessibilityRole","aria-label":"accessibilityLabel","aria-disabled":{jointKey:"accessibilityState",name:"disabled"},"aria-selected":{jointKey:"accessibilityState",name:"selected"},"aria-checked":{jointKey:"accessibilityState",name:"checked"},"aria-busy":{jointKey:"accessibilityState",name:"busy"},"aria-expanded":{jointKey:"accessibilityState",name:"expanded"},"aria-valuemin":{jointKey:"accessibilityValue",name:"min"},"aria-valuemax":{jointKey:"accessibilityValue",name:"max"},"aria-valuenow":{jointKey:"accessibilityValue",name:"now"},"aria-valuetext":{jointKey:"accessibilityValue",name:"text"}},ht={component:{name:we.View,eventNamesMap:Le([["touchStart","onTouchDown"],["touchstart","onTouchDown"],["touchmove","onTouchMove"],["touchend","onTouchEnd"],["touchcancel","onTouchCancel"]]),attributeMaps:l({},ft),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y,(null==t?void 0:t.contentSize)&&(o.scrollHeight=t.contentSize.height,o.scrollWidth=t.contentSize.width);break;case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":o.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":o.isFocused=t.focus}return o}}},mt={component:{name:we.View,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData}},vt={component:{name:we.View}},gt={component:{name:we.Image,eventNamesMap:ht.component.eventNamesMap,processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":n.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":n.isFocused=t.focus;break;case"onLoad":{const{width:e,height:r,url:o}=t;n.width=e,n.height=r,n.url=o;break}}return n},defaultNativeStyle:{backgroundColor:0},attributeMaps:l({placeholder:{name:"defaultSource",propsValue(e){const t=Me(e);return(null==t?void 0:t.indexOf(Se))<0&&["https://","http://"].some(e=>0===t.indexOf(e))&&je(),t}},src:e=>Me(e)},ft)}},yt={component:{name:we.ListView,defaultNativeStyle:{flex:1},attributeMaps:l({},ft),eventNamesMap:Le("listReady","initialListReady"),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y;break;case"onDelete":o.index=t.index}return o}}},bt={component:{name:we.ListViewItem,attributeMaps:l({},ft),eventNamesMap:Le([["disappear","onDisappear"]])}},Ot={component:{name:we.Text,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData,defaultNativeProps:{text:""},defaultNativeStyle:{color:4278190080}}},_t=Ot,Et=Ot,St={component:l(l({},Ot.component),{},{defaultNativeStyle:{color:4278190318},attributeMaps:{href:{name:"href",propsValue:e=>["//","http://","https://"].filter(t=>0===e.indexOf(t)).length?(je(),""):e}}})},wt={component:{name:we.TextInput,attributeMaps:l({type:{name:"keyboardType",propsValue(e){const t=pt[e];return t||e}},disabled:{name:"editable",propsValue:e=>!e},value:"defaultValue",maxlength:"maxLength"},ft),nativeProps:{numberOfLines:1,multiline:!1},defaultNativeProps:{underlineColorAndroid:0},defaultNativeStyle:{padding:0,color:4278190080},eventNamesMap:Le([["change","onChangeText"],["select","onSelectionChange"]]),processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onChangeText":case"onEndEditing":n.value=t.text;break;case"onSelectionChange":n.start=t.selection.start,n.end=t.selection.end;break;case"onKeyboardWillShow":n.keyboardHeight=t.keyboardHeight;break;case"onContentSizeChange":n.width=t.contentSize.width,n.height=t.contentSize.height}return n}}},Nt={component:{name:we.TextInput,defaultNativeProps:l(l({},wt.component.defaultNativeProps),{},{numberOfLines:5}),attributeMaps:l(l({},wt.component.attributeMaps),{},{rows:"numberOfLines"}),nativeProps:{multiline:!0},defaultNativeStyle:wt.component.defaultNativeStyle,eventNamesMap:wt.component.eventNamesMap,processEventData:wt.component.processEventData}},xt={component:{name:we.WebView,defaultNativeProps:{method:"get",userAgent:""},attributeMaps:{src:{name:"source",propsValue:e=>({uri:e})}},processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onLoad":case"onLoadStart":n.url=t.url;break;case"onLoadEnd":n.url=t.url,n.success=t.success,n.error=t.error}return n}}};dt.set("div",ht),dt.set("button",mt),dt.set("form",vt),dt.set("img",gt),dt.set("ul",yt),dt.set("li",bt),dt.set("span",Ot),dt.set("label",_t),dt.set("p",Et),dt.set("a",St),dt.set("input",wt),dt.set("textarea",Nt),dt.set("iframe",xt);var Tt={install(){dt.forEach((e,t)=>{lt(t,e)})}};function jt(){const{Localization:e}=nt;return!!e&&1===e.direction}const kt=0,Ct=1,At={onClick:"click",onLongClick:"longclick",onPressIn:"pressin",onPressOut:"pressout",onTouchDown:"touchstart",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchMove:"touchmove",onTouchCancel:"touchcancel"},It={NONE:0,CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};const Pt="addEventListener",Rt="removeEventListener";let Lt;function Mt(){return Lt}function Ft(e,t){Lt[e]=t}class Dt{constructor(e){this.target=null,this.currentTarget=null,this.originalTarget=null,this.bubbles=!0,this.cancelable=!0,this.eventPhase=0,this.isCanceled=!1,this.type=e,this.timeStamp=Date.now()}get canceled(){return this.isCanceled}stopPropagation(){this.bubbles=!1}preventDefault(){if(this.cancelable){if(this.isCanceled)return;this.isCanceled=!0}}}class Vt extends Dt{}function Bt(e){return"string"==typeof e.value}const $t=new Map;function Ut(e,t){$t.set(t,e)}function Ht(e){$t.delete(e)}function Yt(e){return $t.get(e)||null}function Wt(t){var n,r;n=e=>{(e.timeRemaining()>0||e.didTimeout)&&function e(t){var n;"number"==typeof t?Ht(t):t&&(Ht(t.nodeId),null===(n=t.childNodes)||void 0===n||n.forEach(t=>e(t)))}(t)},r={timeout:50},e.requestIdleCallback?e.requestIdleCallback(n,r):setTimeout(()=>{n({didTimeout:!1,timeRemaining:()=>1/0})},1)}function zt(e=[],t=0){let n=e[t];for(let r=t;r-1){let e;if("onLayout"===o){e=new Vt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{layout:{x:t,y:n,height:r,width:o}}=s;e.top=n,e.left=t,e.bottom=n+r,e.right=t+o,e.width=o,e.height=r}else{e=new Dt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{processEventData:t}=l.component;t&&t({__evt:o,handler:e},s)}a.dispatchEvent(function(e,t,n){return function(e){return["onTouchDown","onTouchMove","onTouchEnd","onTouchCancel"].indexOf(e)>=0}(e)&&Object.assign(t,{touches:{0:{clientX:n.page_x,clientY:n.page_y},length:1}}),t}(o,e,s),l,t)}}catch(e){console.error("receiveComponentEvent error",e)}else je(...Gt,"receiveComponentEvent","currentTargetNode or targetNode not exist")}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=qt);class Jt{constructor(){this.listeners={}}static indexOfListener(e,t,n){return e.findIndex(e=>n?e.callback===t&&h.looseEqual(e.options,n):e.callback===t)}addEventListener(e,t,n){const r=e.split(","),o=r.length;for(let e=0;e=0&&e.splice(r,1),e.length||(this.listeners[o]=void 0)}}}else this.listeners[o]=void 0}}emitEvent(e){var t,n;const{type:r}=e,o=this.listeners[r];if(o)for(let r=o.length-1;r>=0;r-=1){const i=o[r];(null===(t=i.options)||void 0===t?void 0:t.once)&&o.splice(r,1),(null===(n=i.options)||void 0===n?void 0:n.thisArg)?i.callback.apply(i.options.thisArg,[e]):i.callback(e)}}getEventListenerList(){return this.listeners}}var Xt;!function(e){e[e.CREATE=0]="CREATE",e[e.UPDATE=1]="UPDATE",e[e.DELETE=2]="DELETE",e[e.MOVE=3]="MOVE"}(Xt||(Xt={}));let Zt=!1,Qt=[];function en(e=[],t){e.forEach(e=>{if(e){const{id:n,eventList:r}=e;r.forEach(e=>{const{name:r,type:o,listener:i}=e;let s;s=function(e){return!!At[e]}(r)?At[r]:function(e){return e.replace(/^(on)?/g,"").toLocaleLowerCase()}(r),o===Ct&&t.removeEventListener(n,s,i),o===kt&&(t.removeEventListener(n,s,i),t.addEventListener(n,s,i))})}})}function tn(e,t){0}function nn(){Zt||(Zt=!0,0!==Qt.length?m.nextTick().then(()=>{const t=function(e){const t=[];for(const n of e){const{type:e,nodes:r,eventNodes:o,printedNodes:i}=n,s=t[t.length-1];s&&s.type===e?(s.nodes=s.nodes.concat(r),s.eventNodes=s.eventNodes.concat(o),s.printedNodes=s.printedNodes.concat(i)):t.push({type:e,nodes:r,eventNodes:o,printedNodes:i})}return t}(Qt),{rootViewId:n}=Mt(),r=new e.Hippy.SceneBuilder(n);t.forEach(e=>{switch(e.type){case Xt.CREATE:tn(e.printedNodes),r.create(e.nodes),en(e.eventNodes,r);break;case Xt.UPDATE:tn(e.printedNodes),r.update(e.nodes),en(e.eventNodes,r);break;case Xt.DELETE:tn(e.printedNodes),r.delete(e.nodes);break;case Xt.MOVE:tn(e.printedNodes),r.move(e.nodes)}}),r.build(),Zt=!1,Qt=[]}):Zt=!1)}var rn;!function(e){e[e.ElementNode=1]="ElementNode",e[e.TextNode=3]="TextNode",e[e.CommentNode=8]="CommentNode",e[e.DocumentNode=4]="DocumentNode"}(rn||(rn={}));class on extends Jt{constructor(e,t){var n;super(),this.isMounted=!1,this.events={},this.childNodes=[],this.parentNode=null,this.prevSibling=null,this.nextSibling=null,this.tagComponent=null,this.nodeId=null!==(n=null==t?void 0:t.id)&&void 0!==n?n:on.getUniqueNodeId(),this.nodeType=e,this.isNeedInsertToNative=function(e){return e===rn.ElementNode}(e),(null==t?void 0:t.id)&&(this.isMounted=!0)}static getUniqueNodeId(){return e.hippyUniqueId||(e.hippyUniqueId=0),e.hippyUniqueId+=1,e.hippyUniqueId%10==0&&(e.hippyUniqueId+=1),e.hippyUniqueId}get firstChild(){return this.childNodes.length?this.childNodes[0]:null}get lastChild(){const e=this.childNodes.length;return e?this.childNodes[e-1]:null}get component(){return this.tagComponent}get index(){let e=0;if(this.parentNode){e=this.parentNode.childNodes.filter(e=>e.isNeedInsertToNative).indexOf(this)}return e}isRootNode(){return 1===this.nodeId}hasChildNodes(){return!!this.childNodes.length}insertBefore(e,t){const n=e,r=t;if(!n)throw new Error("No child to insert");if(!r)return void this.appendChild(n);if(n.parentNode&&n.parentNode!==this)throw new Error("Can not insert child, because the child node is already has a different parent");let o=this;r.parentNode!==this&&(o=r.parentNode);const i=o.childNodes.indexOf(r);let s=r;r.isNeedInsertToNative||(s=zt(this.childNodes,i)),n.parentNode=o,n.nextSibling=r,n.prevSibling=o.childNodes[i-1],o.childNodes[i-1]&&(o.childNodes[i-1].nextSibling=n),r.prevSibling=n,o.childNodes.splice(i,0,n),s.isNeedInsertToNative?this.insertChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}moveChild(e,t){const n=e,r=t;if(!n)throw new Error("No child to move");if(!r)return void this.appendChild(n);if(r.parentNode&&r.parentNode!==this)throw new Error("Can not move child, because the anchor node is already has a different parent");if(n.parentNode&&n.parentNode!==this)throw new Error("Can't move child, because it already has a different parent");const o=this.childNodes.indexOf(n),i=this.childNodes.indexOf(r);let s=r;if(r.isNeedInsertToNative||(s=zt(this.childNodes,i)),i===o)return;n.nextSibling=r,n.prevSibling=r.prevSibling,r.prevSibling=n,this.childNodes[i-1]&&(this.childNodes[i-1].nextSibling=n),this.childNodes[i+1]&&(this.childNodes[i+1].prevSibling=n),this.childNodes[o-1]&&(this.childNodes[o-1].nextSibling=this.childNodes[o+1]),this.childNodes[o+1]&&(this.childNodes[o+1].prevSibling=this.childNodes[o-1]),this.childNodes.splice(o,1);const c=this.childNodes.indexOf(r);this.childNodes.splice(c,0,n),s.isNeedInsertToNative?this.moveChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}appendChild(e,t=!1){const n=e;if(!n)throw new Error("No child to append");this.lastChild!==n&&(n.parentNode&&n.parentNode!==this&&n.parentNode.removeChild(n),n.isMounted&&!t&&this.removeChild(n),n.parentNode=this,this.lastChild&&(n.prevSibling=this.lastChild,this.lastChild.nextSibling=n),this.childNodes.push(n),t?Ut(n,n.nodeId):this.insertChildNativeNode(n))}removeChild(e){const t=e;if(!t)throw new Error("Can't remove child.");if(!t.parentNode)throw new Error("Can't remove child, because it has no parent.");if(t.parentNode!==this)return void t.parentNode.removeChild(t);if(!t.isNeedInsertToNative)return;t.prevSibling&&(t.prevSibling.nextSibling=t.nextSibling),t.nextSibling&&(t.nextSibling.prevSibling=t.prevSibling),t.prevSibling=null,t.nextSibling=null;const n=this.childNodes.indexOf(t);this.childNodes.splice(n,1),this.removeChildNativeNode(t)}findChild(e){if(e(this))return this;if(this.childNodes.length)for(const t of this.childNodes){const n=this.findChild.call(t,e);if(n)return n}return null}eachNode(e){e&&e(this),this.childNodes.length&&this.childNodes.forEach(t=>{this.eachNode.call(t,e)})}insertChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;const n=this.isRootNode()&&!this.isMounted,r=this.isMounted&&!e.isMounted;if(n||r){const r=n?this:e;!function([e,t,n]){Qt.push({type:Xt.CREATE,nodes:e,eventNodes:t,printedNodes:n}),nn()}(r.convertToNativeNodes(!0,t)),r.eachNode(e=>{const t=e;!t.isMounted&&t.isNeedInsertToNative&&(t.isMounted=!0),Ut(t,t.nodeId)})}}moveChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;if(t&&t.refId===e.nodeId)return;!function([e,,t]){e&&(Qt.push({type:Xt.MOVE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(e.convertToNativeNodes(!1,t))}removeChildNativeNode(e){if(!e||!e.isNeedInsertToNative)return;const t=e;t.isMounted&&(t.isMounted=!1,function([e,,t]){e&&(Qt.push({type:Xt.DELETE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(t.convertToNativeNodes(!1,{})))}updateNativeNode(e=!1){if(!this.isMounted)return;!function([e,t,n]){e&&(Qt.push({type:Xt.UPDATE,nodes:e,eventNodes:t,printedNodes:n}),nn())}(this.convertToNativeNodes(e,{}))}convertToNativeNodes(e,t={},n){var r,o;if(!this.isNeedInsertToNative)return[[],[],[]];if(e){const e=[],n=[],r=[];return this.eachNode(o=>{const[i,s,c]=o.convertToNativeNodes(!1,t);Array.isArray(i)&&i.length&&e.push(...i),Array.isArray(s)&&s.length&&n.push(...s),Array.isArray(c)&&c.length&&r.push(...c)}),[e,n,r]}if(!this.component)throw new Error("tagName is not supported yet");const{rootViewId:i}=Mt(),s=null!=n?n:{},c=l({id:this.nodeId,pId:null!==(o=null===(r=this.parentNode)||void 0===r?void 0:r.nodeId)&&void 0!==o?o:i},s),a=function(e){let t;const n=e.events;if(n){const r=[];Object.keys(n).forEach(e=>{const{name:t,type:o,isCapture:i,listener:s}=n[e];r.push({name:t,type:o,isCapture:i,listener:s})}),t={id:e.nodeId,eventList:r}}return t}(this);let u=void 0;return[[[c,t]],[a],[u]]}}class sn extends on{constructor(e,t){super(rn.TextNode,t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}setText(e){this.text=e,this.parentNode&&this.parentNode.nodeType===rn.ElementNode&&this.parentNode.setText(e)}}function cn(e,t){if("string"!=typeof e)return;const n=e.split(",");for(let e=0,r=n.length;e{t[n]=function(e){let t=e;if("string"!=typeof t||!t.endsWith("rem"))return t;if(t=parseFloat(t),Number.isNaN(t))return e;const{ratioBaseWidth:n}=Mt(),{width:r}=nt.Dimensions.screen;return 100*t*(r/n)}(e[n])}):t=e,t}get component(){return this.tagComponent||(this.tagComponent=ut(this.tagName)),this.tagComponent}isRootNode(){const{rootContainer:e}=Mt();return super.isRootNode()||this.id===e}appendChild(e,t=!1){e instanceof sn&&this.setText(e.text,{notToNative:!0}),super.appendChild(e,t)}insertBefore(e,t){e instanceof sn&&this.setText(e.text,{notToNative:!0}),super.insertBefore(e,t)}moveChild(e,t){e instanceof sn&&this.setText(e.text,{notToNative:!0}),super.moveChild(e,t)}removeChild(e){e instanceof sn&&this.setText("",{notToNative:!0}),super.removeChild(e)}hasAttribute(e){return!!this.attributes[e]}getAttribute(e){return this.attributes[e]}removeAttribute(e){delete this.attributes[e]}setAttribute(e,t,n={}){let r=t,o=e;try{if("boolean"==typeof this.attributes[o]&&""===r&&(r=!0),void 0===o)return void(!n.notToNative&&this.updateNativeNode());switch(o){case"class":{const e=new Set(Be(r));if(function(e,t){if(e.size!==t.size)return!1;const n=e.values();let r=n.next().value;for(;r;){if(!t.has(r))return!1;r=n.next().value}return!0}(this.classList,e))return;return this.classList=e,void(!n.notToNative&&this.updateNativeNode(!0))}case"id":if(r===this.id)return;return this.id=r,void(!n.notToNative&&this.updateNativeNode(!0));case"text":case"value":case"defaultValue":case"placeholder":if("string"!=typeof r)try{r=r.toString()}catch(e){je(e.message)}n&&n.textUpdate||(r="string"!=typeof(i=r)?i:void 0===xe||xe?i.trim():i),r=r.replace(/\\u[\dA-F]{4}|\\x[\dA-F]{2}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u|\\x/g,""),16)));break;case"numberOfRows":if(!nt.isIOS())return;break;case"caretColor":case"caret-color":o="caret-color",r=nt.parseColor(r);break;case"break-strategy":o="breakStrategy";break;case"placeholderTextColor":case"placeholder-text-color":o="placeholderTextColor",r=nt.parseColor(r);break;case"underlineColorAndroid":case"underline-color-android":o="underlineColorAndroid",r=nt.parseColor(r);break;case"nativeBackgroundAndroid":{const e=r;void 0!==e.color&&(e.color=nt.parseColor(e.color)),o="nativeBackgroundAndroid",r=e;break}}if(this.attributes[o]===r)return;this.attributes[o]=r,"function"==typeof this.filterAttribute&&this.filterAttribute(this.attributes),!n.notToNative&&this.updateNativeNode()}catch(e){0}var i}setText(e,t={}){return this.setAttribute("text",e,{notToNative:!!t.notToNative})}removeStyle(e=!1){this.style={},e||this.updateNativeNode()}setStyles(e){e&&"object"==typeof e&&(Object.keys(e).forEach(t=>{const n=e[t];this.setStyle(t,n,!0)}),this.updateNativeNode())}setStyle(e,t,n=!1){if(void 0===t)return delete this.style[e],void(n||this.updateNativeNode());let{property:r,value:o}=this.beforeLoadStyle({property:e,value:t});switch(r){case"fontWeight":"string"!=typeof o&&(o=o.toString());break;case"backgroundImage":[r,o]=F(r,o);break;case"textShadowOffsetX":case"textShadowOffsetY":[r,o]=function(e,t=0,n){var r;const o=n;return o.textShadowOffset=null!==(r=o.textShadowOffset)&&void 0!==r?r:{},Object.assign(o.textShadowOffset,{[{textShadowOffsetX:"width",textShadowOffsetY:"height"}[e]]:t}),["textShadowOffset",o.textShadowOffset]}(r,o,this.style);break;case"textShadowOffset":{const{x:e=0,width:t=0,y:n=0,height:r=0}=null!=o?o:{};o={width:e||t,height:n||r};break}default:Object.prototype.hasOwnProperty.call(T,r)&&(r=T[r]),"string"==typeof o&&(o=o.trim(),o=r.toLowerCase().indexOf("color")>=0?nt.parseColor(o):o.endsWith("px")?parseFloat(o.slice(0,o.length-2)):function(e){if("number"==typeof e)return e;if(Ae.test(e))try{return parseFloat(e)}catch(e){}return e}(o))}null!=o&&this.style[r]!==o&&(this.style[r]=o,n||this.updateNativeNode())}scrollToPosition(e=0,t=0,n=1e3){if("number"!=typeof e||"number"!=typeof t)return;let r=n;!1===r&&(r=0),nt.callUIFunction(this,"scrollToWithOptions",[{x:e,y:t,duration:r}])}scrollTo(e,t,n){if("object"==typeof e&&e){const{left:t,top:n,behavior:r="auto",duration:o}=e;this.scrollToPosition(t,n,"none"===r?0:o)}else this.scrollToPosition(e,t,n)}setListenerHandledType(e,t){this.events[e]&&(this.events[e].handledType=t)}isListenerHandled(e,t){return!this.events[e]||t===this.events[e].handledType}getNativeEventName(e){let t="on"+Ce(e);if(this.component){const{eventNamesMap:n}=this.component;(null==n?void 0:n.get(e))&&(t=n.get(e))}return t}addEventListener(e,t,n){let r=e,o=t,i=n,s=!0;"scroll"!==r||this.getAttribute("scrollEventThrottle")>0||(this.attributes.scrollEventThrottle=200);const c=this.getNativeEventName(r);this.attributes[c]&&(s=!1),"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Pt,r,o,i)),super.addEventListener(r,o,i),cn(r,e=>{const t=this.getNativeEventName(e);var n,r;this.events[t]?this.events[t]&&this.events[t].type!==kt&&(this.events[t].type=kt):this.events[t]={name:t,type:kt,listener:(n=t,r=e,e=>{const{id:t,currentId:o,params:i,eventPhase:s}=e,c={id:t,nativeName:n,originalName:r,currentId:o,params:i,eventPhase:s};qt.receiveComponentEvent(c,e)}),isCapture:!1}}),s&&this.updateNativeNode()}removeEventListener(e,t,n){let r=e,o=t,i=n;"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Rt,r,o,i)),super.removeEventListener(r,o,i),cn(r,e=>{const t=this.getNativeEventName(e);this.events[t]&&(this.events[t].type=Ct)});const s=this.getNativeEventName(r);this.attributes[s]&&delete this.attributes[s],this.updateNativeNode()}dispatchEvent(e,t,n){const r=e;r.currentTarget=this,r.target||(r.target=t||this,Bt(r)&&(r.target.value=r.value)),this.emitEvent(r),!r.bubbles&&n&&n.stopPropagation()}convertToNativeNodes(e,t={}){if(!this.isNeedInsertToNative)return[[],[],[]];if(e)return super.convertToNativeNodes(!0,t);let n=this.getNativeStyles();if(Re(this,n),this.component.defaultNativeStyle){const{defaultNativeStyle:e}=this.component,t={};Object.keys(e).forEach(n=>{this.getAttribute(n)||(t[n]=e[n])}),n=l(l({},t),n)}const r={name:this.component.name,props:l(l({},this.getNativeProps()),{},{style:n}),tagName:this.tagName};return function(e,t){const n=t;e.component.name===we.TextInput&&jt()&&(n.textAlign||(n.textAlign="right"))}(this,n),function(e,t,n){const r=t,o=n;e.component.name===we.View&&("scroll"===o.overflowX&&"scroll"===o.overflowY&&je(),"scroll"===o.overflowY?r.name="ScrollView":"scroll"===o.overflowX&&(r.name="ScrollView",r.props&&(r.props.horizontal=!0),o.flexDirection=jt()?"row-reverse":"row"),"ScrollView"===r.name&&(1!==e.childNodes.length&&je(),e.childNodes.length&&e.nodeType===rn.ElementNode&&e.childNodes[0].setStyle("collapsable",!1)),o.backgroundImage&&(o.backgroundImage=Me(o.backgroundImage)))}(this,r,n),super.convertToNativeNodes(!1,t,r)}repaintWithChildren(){this.updateNativeNode(!0)}setNativeProps(e){if(e){const{style:t}=e;this.setStyles(t)}}setPressed(e){nt.callUIFunction(this,"setPressed",[e])}setHotspot(e,t){nt.callUIFunction(this,"setHotspot",[e,t])}setStyleScope(e){const t="string"!=typeof e?e.toString():e;t&&!this.scopedIdList.includes(t)&&this.scopedIdList.push(t)}get styleScopeId(){return this.scopedIdList}getInlineStyle(){const e={};return Object.keys(this.style).forEach(t=>{const n=m.toRaw(this.style[t]);void 0!==n&&(e[t]=n)}),e}getNativeStyles(){let e={};return ye(void 0,Pe()).query(this).selectors.forEach(t=>{var n,r;Ve(t,this)&&(null===(r=null===(n=t.ruleSet)||void 0===n?void 0:n.declarations)||void 0===r?void 0:r.length)&&t.ruleSet.declarations.forEach(t=>{t.property&&(e[t.property]=t.value)})}),this.ssrInlineStyle&&(e=l(l({},e),this.ssrInlineStyle)),e=an.parseRem(l(l({},e),this.getInlineStyle())),e}getNativeProps(){const e={},{defaultNativeProps:t}=this.component;t&&Object.keys(t).forEach(n=>{if(void 0===this.getAttribute(n)){const r=t[n];e[n]=h.isFunction(r)?r(this):m.toRaw(r)}}),Object.keys(this.attributes).forEach(t=>{var n;let r=m.toRaw(this.getAttribute(t));if(!this.component.attributeMaps||!this.component.attributeMaps[t])return void(e[t]=m.toRaw(r));const o=this.component.attributeMaps[t];if(h.isString(o))return void(e[o]=m.toRaw(r));if(h.isFunction(o))return void(e[t]=m.toRaw(o(r)));const{name:i,propsValue:s,jointKey:c}=o;h.isFunction(s)&&(r=s(r)),c?(e[c]=null!==(n=e[c])&&void 0!==n?n:{},Object.assign(e[c],{[i]:m.toRaw(r)})):e[i]=m.toRaw(r)});const{nativeProps:n}=this.component;return n&&Object.keys(n).forEach(t=>{e[t]=m.toRaw(n[t])}),e}getNodeAttributes(){var e;try{const t=function e(t,n=new WeakMap){if("object"!=typeof t||null===t)throw new TypeError("deepCopy data is object");if(n.has(t))return n.get(t);const r={};return Object.keys(t).forEach(o=>{const i=t[o];"object"!=typeof i||null===i?r[o]=i:Array.isArray(i)?r[o]=[...i]:i instanceof Set?r[o]=new Set([...i]):i instanceof Map?r[o]=new Map([...i]):(n.set(t,t),r[o]=e(i,n))}),r}(this.attributes),n=Array.from(null!==(e=this.classList)&&void 0!==e?e:[]).join(" "),r=l({id:this.id,hippyNodeId:""+this.nodeId,class:n},t);return delete r.text,delete r.value,Object.keys(r).forEach(e=>{e.toLowerCase().includes("color")&&delete r[e]}),r}catch(e){return{}}}getNativeEvents(){const e={},t=this.getEventListenerList(),n=Object.keys(t);if(n.length){const{eventNamesMap:r}=this.component;n.forEach(n=>{const o=null==r?void 0:r.get(n);if(o)e[o]=!!t[n];else{const r="on"+Ce(n);e[r]=!!t[n]}})}return e}hackSpecialIssue(){this.fixVShowDirectiveIssue()}fixVShowDirectiveIssue(){var e;let t=null!==(e=this.style.display)&&void 0!==e?e:void 0;Object.defineProperty(this.style,"display",{enumerable:!0,configurable:!0,get:()=>t,set:e=>{t=void 0===e?"flex":e,this.updateNativeNode()}})}}function ln(t){const n={valueType:void 0,delay:0,startValue:0,toValue:0,duration:0,direction:"center",timingFunction:"linear",repeatCount:0,inputRange:[],outputRange:[]};function r(e,t){return"color"===e&&["number","string"].indexOf(typeof t)>=0?nt.parseColor(t):t}function a(e){return"loop"===e?-1:e}function u(t){const{mode:i="timing",valueType:s,startValue:u,toValue:d}=t,p=c(t,o),f=l(l({},n),p);void 0!==s&&(f.valueType=t.valueType),f.startValue=r(f.valueType,u),f.toValue=r(f.valueType,d),f.repeatCount=a(f.repeatCount),f.mode=i;const h=new e.Hippy.Animation(f),m=h.getId();return{animation:h,animationId:m}}function d(t,n={}){const r={};return Object.keys(t).forEach(o=>{if(Array.isArray(t[o])){const i=t[o],{repeatCount:s}=i[i.length-1],c=i.map(e=>{const{animationId:t,animation:r}=u(l(l({},e),{},{repeatCount:0}));return Object.assign(n,{[t]:r}),{animationId:t,follow:!0}}),{animationId:d,animation:p}=function(t,n=0){const r=new e.Hippy.AnimationSet({children:t,repeatCount:n}),o=r.getId();return{animation:r,animationId:o}}(c,a(s));r[o]={animationId:d},Object.assign(n,{[d]:p})}else{const e=t[o],{animationId:i,animation:s}=u(e);Object.assign(n,{[i]:s}),r[o]={animationId:i}}}),r}function p(e){const{transform:t}=e,n=c(e,i);let r=Object.keys(n).map(t=>e[t].animationId);if(Array.isArray(t)&&t.length>0){const e=[];t.forEach(t=>Object.keys(t).forEach(n=>{if(t[n]){const{animationId:r}=t[n];"number"==typeof r&&r%1==0&&e.push(r)}})),r=[...r,...e]}return r}t.component("Animation",{props:{tag:{type:String,default:"div"},playing:{type:Boolean,default:!1},actions:{type:Object,required:!0},props:Object},data:()=>({style:{},animationIds:[],animationIdsMap:{},animationEventMap:{}}),watch:{playing(e,t){!t&&e?this.start():t&&!e&&this.pause()},actions(){this.destroy(),this.create(),setTimeout(()=>{const e=this.$attrs[Fe("actionsDidUpdate")];"function"==typeof e&&e()})}},created(){this.animationEventMap={start:"animationstart",end:"animationend",repeat:"animationrepeat",cancel:"animationcancel"}},beforeMount(){this.create()},mounted(){const{playing:e}=this.$props;e&&setTimeout(()=>{this.start()},0)},beforeDestroy(){this.destroy()},deactivated(){this.pause()},activated(){this.resume()},methods:{create(){const e=this.$props,{actions:{transform:t}}=e,n=c(e.actions,s);this.animationIdsMap={};const r=d(n,this.animationIdsMap);if(t){const e=d(t,this.animationIdsMap);r.transform=Object.keys(e).map(t=>({[t]:e[t]}))}this.$alreadyStarted=!1,this.style=r},removeAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&"function"==typeof this[""+n]&&t.removeEventListener(n)})})},addAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&t.addEventListener(n,()=>{this.$emit(e)})})})},reset(){this.$alreadyStarted=!1},start(){this.$alreadyStarted?this.resume():(this.animationIds=p(this.style),this.$alreadyStarted=!0,this.removeAnimationEvent(),this.addAnimationEvent(),this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.start()}))},resume(){p(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.resume()})},pause(){if(!this.$alreadyStarted)return;p(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.pause()})},destroy(){this.removeAnimationEvent(),this.$alreadyStarted=!1;p(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.destroy()})}},render(){return m.h(this.tag,l({useAnimation:!0,style:this.style,tag:this.$props.tag},this.$props.props),this.$slots.default?this.$slots.default():null)}})}const un=["dialog","hi-pull-header","hi-pull-footer","hi-swiper","hi-swiper-slider","hi-waterfall","hi-waterfall-item","hi-ul-refresh-wrapper","hi-refresh-wrapper-item"];var dn={install(e){ln(e),lt("dialog",{component:{name:"Modal",defaultNativeProps:{transparent:!0,immersionStatusBar:!0,collapsable:!1,autoHideStatusBar:!1,autoHideNavigationBar:!1},defaultNativeStyle:{position:"absolute"}}}),function(e){const{callUIFunction:t}=nt;[["Header","header"],["Footer","footer"]].forEach(([n,r])=>{lt("hi-pull-"+r,{component:{name:`Pull${n}View`,processEventData(e,t){const{handler:r,__evt:o}=e;switch(o){case`on${n}Released`:case`on${n}Pulling`:Object.assign(r,t)}return r}}}),e.component("pull-"+r,{methods:{["expandPull"+n](){t(this.$refs.instance,"expandPull"+n)},["collapsePull"+n](e){"Header"===n&&void 0!==e?t(this.$refs.instance,`collapsePull${n}WithOptions`,[e]):t(this.$refs.instance,"collapsePull"+n)},onLayout(e){this.$contentHeight=e.height},[`on${n}Released`](e){this.$emit("released",e)},[`on${n}Pulling`](e){e.contentOffset>this.$contentHeight?"pulling"!==this.$lastEvent&&(this.$lastEvent="pulling",this.$emit("pulling",e)):"idle"!==this.$lastEvent&&(this.$lastEvent="idle",this.$emit("idle",e))}},render(){const{onReleased:e,onPulling:t,onIdle:o}=this.$attrs,i={onLayout:this.onLayout};return"function"==typeof e&&(i[`on${n}Released`]=this[`on${n}Released`]),"function"!=typeof t&&"function"!=typeof o||(i[`on${n}Pulling`]=this[`on${n}Pulling`]),m.h("hi-pull-"+r,l(l({},i),{},{ref:"instance"}),this.$slots.default?this.$slots.default():null)}})})}(e),function(e){lt("hi-ul-refresh-wrapper",{component:{name:"RefreshWrapper"}}),lt("hi-refresh-wrapper-item",{component:{name:"RefreshWrapperItemView"}}),e.component("UlRefreshWrapper",{props:{bounceTime:{type:Number,defaultValue:100}},methods:{startRefresh(){nt.callUIFunction(this.$refs.refreshWrapper,"startRefresh",null)},refreshCompleted(){nt.callUIFunction(this.$refs.refreshWrapper,"refreshComplected",null)}},render(){return m.h("hi-ul-refresh-wrapper",{ref:"refreshWrapper"},this.$slots.default?this.$slots.default():null)}}),e.component("UlRefresh",{render(){const e=m.h("div",null,this.$slots.default?this.$slots.default():null);return m.h("hi-refresh-wrapper-item",{style:{position:"absolute",left:0,right:0}},e)}})}(e),function(e){lt("hi-waterfall",{component:{name:"WaterfallView",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onExposureReport":n.exposureInfo=t.exposureInfo;break;case"onScroll":{const{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s}=t;Object.assign(n,{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s});break}}return n}}}),lt("hi-waterfall-item",{component:{name:"WaterfallItem"}}),e.component("Waterfall",{props:{numberOfColumns:{type:Number,default:2},contentInset:{type:Object,default:()=>({top:0,left:0,bottom:0,right:0})},columnSpacing:{type:Number,default:0},interItemSpacing:{type:Number,default:0},preloadItemNumber:{type:Number,default:0},containBannerView:{type:Boolean,default:!1},containPullHeader:{type:Boolean,default:!1},containPullFooter:{type:Boolean,default:!1}},methods:{call(e,t){nt.callUIFunction(this.$refs.waterfall,e,t)},startRefresh(){this.call("startRefresh")},startRefreshWithType(e){this.call("startRefreshWithType",[e])},callExposureReport(){this.call("callExposureReport",[])},scrollToIndex({index:e=0,animated:t=!0}){this.call("scrollToIndex",[e,e,t])},scrollToContentOffset({xOffset:e=0,yOffset:t=0,animated:n=!0}){this.call("scrollToContentOffset",[e,t,n])},startLoadMore(){this.call("startLoadMore")}},render(){const e=De.call(this,["headerReleased","headerPulling","endReached","exposureReport","initialListReady","scroll"]);return m.h("hi-waterfall",l(l({},e),{},{ref:"waterfall",numberOfColumns:this.numberOfColumns,contentInset:this.contentInset,columnSpacing:this.columnSpacing,interItemSpacing:this.interItemSpacing,preloadItemNumber:this.preloadItemNumber,containBannerView:this.containBannerView,containPullHeader:this.containPullHeader,containPullFooter:this.containPullFooter}),this.$slots.default?this.$slots.default():null)}}),e.component("WaterfallItem",{props:{type:{type:[String,Number],default:""},fullSpan:{type:Boolean,default:!1}},render(){return m.h("hi-waterfall-item",{type:this.type,fullSpan:this.fullSpan},this.$slots.default?this.$slots.default():null)}})}(e),function(e){lt("hi-swiper",{component:{name:"ViewPager",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onPageSelected":n.currentSlide=t.position;break;case"onPageScroll":n.nextSlide=t.position,n.offset=t.offset;break;case"onPageScrollStateChanged":n.state=t.pageScrollState}return n}}}),lt("hi-swiper-slide",{component:{name:"ViewPagerItem",defaultNativeStyle:{position:"absolute",top:0,right:0,bottom:0,left:0}}}),e.component("Swiper",{props:{current:{type:Number,defaultValue:0},needAnimation:{type:Boolean,defaultValue:!0}},data:()=>({$initialSlide:0}),watch:{current(e){this.$props.needAnimation?this.setSlide(e):this.setSlideWithoutAnimation(e)}},beforeMount(){this.$initialSlide=this.$props.current},methods:{setSlide(e){nt.callUIFunction(this.$refs.swiper,"setPage",[e])},setSlideWithoutAnimation(e){nt.callUIFunction(this.$refs.swiper,"setPageWithoutAnimation",[e])}},render(){const e=De.call(this,[["dropped","pageSelected"],["dragging","pageScroll"],["stateChanged","pageScrollStateChanged"]]);return m.h("hi-swiper",l(l({},e),{},{ref:"swiper",initialPage:this.$data.$initialSlide}),this.$slots.default?this.$slots.default():null)}}),e.component("SwiperSlide",{render(){return m.h("hi-swiper-slide",{},this.$slots.default?this.$slots.default():null)}})}(e)}};class pn extends an{constructor(e,t){super("comment",t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}}class fn extends an{setText(e,t={}){"textarea"===this.tagName?this.setAttribute("value",e,{notToNative:!!t.notToNative}):this.setAttribute("text",e,{notToNative:!!t.notToNative})}async getValue(){return new Promise(e=>nt.callUIFunction(this,"getValue",t=>e(t.text)))}setValue(e){nt.callUIFunction(this,"setValue",[e])}focus(){nt.callUIFunction(this,"focusTextInput",[])}blur(){nt.callUIFunction(this,"blurTextInput",[])}clear(){nt.callUIFunction(this,"clear",[])}async isFocused(){return new Promise(e=>nt.callUIFunction(this,"isFocused",t=>e(t.value)))}}class hn extends an{scrollToIndex(e=0,t=0,n=!0){nt.callUIFunction(this,"scrollToIndex",[e,t,n])}scrollToPosition(e=0,t=0,n=!0){"number"==typeof e&&"number"==typeof t&&nt.callUIFunction(this,"scrollToContentOffset",[e,t,n])}}class mn extends on{static createComment(e){return new pn(e)}static createElement(e){switch(e){case"input":case"textarea":return new fn(e);case"ul":return new hn(e);default:return new an(e)}}static createTextNode(e){return new sn(e)}constructor(){super(rn.DocumentNode)}}const vn={insert:function(e,t,n=null){t.childNodes.indexOf(e)>=0?t.moveChild(e,n):t.insertBefore(e,n)},remove:function(e){const t=e.parentNode;t&&(t.removeChild(e),Wt(e))},setText:function(e,t){e.setText(t)},setElementText:function(e,t){e.setText(t)},createElement:function(e){return mn.createElement(e)},createComment:function(e){return mn.createComment(e)},createText:function(e){return mn.createTextNode(e)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},setScopeId:function(e,t){e.setStyleScope(t)}};const gn=/(?:Once|Passive|Capture)$/;function yn(e,t,n,r,o=null){var i;const s=e,c=null!==(i=s._vei)&&void 0!==i?i:s._vei={},a=c[t];if(r&&a)a.value=r;else{const[e,n]=function(e){let t=e;const n={};if(gn.test(t)){let e=t.match(gn);for(;e;)t=t.slice(0,t.length-e[0].length),n[e[0].toLowerCase()]=!0,e=t.match(gn)}return t=":"===t[2]?t.slice(3):t.slice(2),[(r=t,`${r.charAt(0).toLowerCase()}${r.slice(1)}`),n];var r}(t);if(r){c[t]=function(e,t){const n=e=>{m.callWithAsyncErrorHandling(n.value,t,m.ErrorCodes.NATIVE_EVENT_HANDLER,[e])};return n.value=e,n}(r,o);const i=c[t];s.addEventListener(e,i,n)}else s.removeEventListener(e,a,n),c[t]=void 0}}function bn(e,t,n){const r=e,o={};if(!function(e,t,n){const r=!e,o=!t&&!n,i=JSON.stringify(t)===JSON.stringify(n);return r||o||i}(r,t,n))if(t&&!n)r.removeStyle();else{if(h.isString(n))throw new Error("Style is Not Object");n&&(Object.keys(n).forEach(e=>{const t=n[e];(function(e){return null==e})(t)||(o[m.camelize(e)]=t)}),r.removeStyle(!0),r.setStyles(o))}}function On(e,t,n,r,o,i,s){switch(t){case"class":!function(e,t){let n=t;null===n&&(n=""),e.setAttribute("class",n)}(e,r);break;case"style":bn(e,n,r);break;default:h.isOn(t)?yn(e,t,0,r,s):function(e,t,n,r){null===r?e.removeAttribute(t):n!==r&&e.setAttribute(t,r)}(e,t,n,r)}}let _n=!1;function En(e,t){const n=function(e){var t;if("comment"===e.name)return new pn(e.props.text,e);if("Text"===e.name&&!e.tagName){const t=new sn(e.props.text,e);return t.nodeType=rn.TextNode,t.data=e.props.text,t}switch(e.tagName){case"input":case"textarea":return new fn(e.tagName,e);case"ul":return new hn(e.tagName,e);default:return new an(null!==(t=e.tagName)&&void 0!==t?t:"",e)}}(e);let r=t.filter(t=>t.pId===e.id).sort((e,t)=>e.index-t.index);const o=r.filter(e=>"comment"===e.name);if(o.length){r=r.filter(e=>"comment"!==e.name);for(let e=o.length-1;e>=0;e--)r.splice(o[e].index,0,o[e])}return r.forEach(e=>{n.appendChild(En(e,t),!0)}),n}e.WebSocket=class{constructor(e,t,n){this.webSocketId=-1,this.protocol="",this.listeners={},this.url=e,this.readyState=0,this.webSocketCallbacks={},this.onWebSocketEvent=this.onWebSocketEvent.bind(this);const r=l({},n);if(_n||(_n=!0,Ee.$on("hippyWebsocketEvents",this.onWebSocketEvent)),!e)throw new TypeError("Invalid WebSocket url");Array.isArray(t)&&t.length>0?(this.protocol=t.join(","),r["Sec-WebSocket-Protocol"]=this.protocol):"string"==typeof t&&(this.protocol=t,r["Sec-WebSocket-Protocol"]=this.protocol);const o={headers:r,url:e};nt.callNativeWithPromise("websocket","connect",o).then(e=>{e&&0===e.code?this.webSocketId=e.id:je()})}close(e,t){1===this.readyState&&(this.readyState=2,nt.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}send(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: "+typeof e);nt.callNative("websocket","send",{id:this.webSocketId,data:e})}else je()}set onopen(e){this.addEventListener("open",e)}set onclose(e){this.addEventListener("close",e)}set onerror(e){this.addEventListener("error",e)}set onmessage(e){this.addEventListener("message",e)}onWebSocketEvent(e){if("object"!=typeof e||e.id!==this.webSocketId)return;const t=e.type;if("string"!=typeof t)return;"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,Ee.$off("hippyWebsocketEvents",this.onWebSocketEvent));const n=this.webSocketCallbacks[t];(null==n?void 0:n.length)&&n.forEach(t=>{h.isFunction(t)&&t(e.data)})}addEventListener(e,t){if((e=>-1!==["open","close","message","error"].indexOf(e))(e)){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);const n=Fe(e);this.webSocketCallbacks[n]=this.listeners[e]}}};const Sn=['%c[Hippy-Vue-Next "unspecified"]%c',"color: #4fc08d; font-weight: bold","color: auto; font-weight: auto"];function wn(e,t){if(nt.isIOS()){const n=function(e){var t,n;const{iPhone:r}=e;let o;if((null==r?void 0:r.statusBar)&&(o=r.statusBar),null==o?void 0:o.disabled)return null;const i=new an("div"),{statusBarHeight:s}=nt.Dimensions.screen;nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0);let c=4282431619;if(Number.isInteger(c)&&({backgroundColor:c}=o),i.setStyle("backgroundColor",c),"string"==typeof o.backgroundImage){const r=new an("img");r.setStyle("width",nt.Dimensions.screen.width),r.setStyle("height",s),r.setAttribute("src",null===(n=null===(t=e.iPhone)||void 0===t?void 0:t.statusBar)||void 0===n?void 0:n.backgroundImage),i.appendChild(r)}return i.addEventListener("layout",()=>{nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0)}),i}(e);if(n){const e=t.$el.parentNode;e.childNodes.length?e.insertBefore(n,e.childNodes[0]):e.appendChild(n)}}}const Nn=(e,t)=>{var n,r;const o=e,i=Boolean(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length);var s,c;o.use(Tt),o.use(dn),"function"==typeof(null===(r=null==t?void 0:t.styleOptions)||void 0===r?void 0:r.beforeLoadStyle)&&(s=t.styleOptions.beforeLoadStyle,Ie=s),t.silent&&(c=t.silent,Ne=c),function(e=!0){xe=e}(t.trimWhitespace);const{mount:a}=o;return o.mount=e=>{var n;Ft("rootContainer",e);const r=(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length)?function(e){const[t]=e;return En(t,e)}(t.ssrNodeList):function(e){const t=mn.createElement("div");return t.id=e,t.style={display:"flex",flex:1},t}(e),o=a(r,i,!1);return Ft("instance",o),i||wn(t,o),o},o.$start=async e=>new Promise(n=>{nt.hippyNativeRegister.regist(t.appName,r=>{var i,s;const{__instanceId__:c}=r;Te(...Sn,"Start",t.appName,"with rootViewId",c,r);const a=Mt();var l;(null==a?void 0:a.app)&&a.app.unmount(),l={rootViewId:c,superProps:r,app:o,ratioBaseWidth:null!==(s=null===(i=null==t?void 0:t.styleOptions)||void 0===i?void 0:i.ratioBaseWidth)&&void 0!==s?s:750},Lt=l;const u={superProps:r,rootViewId:c};h.isFunction(e)?e(u):n(u)})}),o};t.BackAndroid=ct,t.ContentSizeEvent=class extends Dt{},t.EventBus=Ee,t.ExposureEvent=class extends Dt{},t.FocusEvent=class extends Dt{},t.HIPPY_DEBUG_ADDRESS=Se,t.HIPPY_GLOBAL_DISPOSE_STYLE_NAME="__HIPPY_VUE_DISPOSE_STYLES__",t.HIPPY_GLOBAL_STYLE_NAME="__HIPPY_VUE_STYLES__",t.HIPPY_STATIC_PROTOCOL="hpfile://",t.HIPPY_UNIQUE_ID_KEY="hippyUniqueId",t.HIPPY_VUE_VERSION="unspecified",t.HippyEvent=Dt,t.HippyKeyboardEvent=class extends Dt{},t.HippyLayoutEvent=Vt,t.HippyLoadResourceEvent=class extends Dt{},t.HippyTouchEvent=class extends Dt{},t.IS_PROD=!0,t.ListViewEvent=class extends Dt{},t.NATIVE_COMPONENT_MAP=we,t.Native=nt,t.ViewPagerEvent=class extends Dt{},t._setBeforeRenderToNative=(e,t)=>{h.isFunction(e)&&(1===t?Re=e:console.error("_setBeforeRenderToNative API had changed, the hook function will be ignored!"))},t.createApp=(e,t)=>{const n=m.createRenderer(l({patchProp:On},vn)).createApp(e);return Nn(n,t)},t.createHippyApp=Nn,t.createSSRApp=(e,t)=>{const n=m.createHydrationRenderer(l({patchProp:On},vn)).createApp(e);return Nn(n,t)},t.eventIsKeyboardEvent=Bt,t.getCssMap=ye,t.getTagComponent=ut,t.isNativeTag=function(e){return un.includes(e)},t.parseCSS=function(e,t={source:0}){let n=1,r=1;function o(e){const t=e.match(/\n/g);t&&(n+=t.length);const o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(t){const n=t.exec(e);if(!n)return null;const r=n[0];return o(r),e=e.slice(r.length),n}function s(){i(/^\s*/)}function c(){return o=>(o.position={start:{line:n,column:r},end:{line:n,column:r},source:t.source,content:e},s(),o)}const a=[];function u(o){const i=l(l({},new Error(`${t.source}:${n}:${r}: ${o}`)),{},{reason:o,filename:t.source,line:n,column:r,source:e});if(!t.silent)throw i;a.push(i)}function d(){const t=c();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return null;let n=2;for(;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)n+=1;if(n+=2,""===e.charAt(n-1))return u("End of comment missing");const i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}function p(e=[]){let t;const n=e||[];for(;t=d();)!1!==t&&n.push(t);return n}function f(){let t;const n=[];for(s(),p(n);e.length&&"}"!==e.charAt(0)&&(t=x()||O());)t&&(n.push(t),p(n));return n}function m(){return i(/^{\s*/)}function v(){return i(/^}/)}function g(){const e=i(/^([^{]+)/);return e?e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,e=>e.replace(/,/g,"‌")).split(/\s*(?![^(]*\)),\s*/).map(e=>e.replace(/\u200C/g,",")):null}function y(){const e=c();let t=i(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+])?)\s*/);if(!t)return null;if(t=t[0].trim(),!i(/^:\s*/))return u("property missing ':'");const n=t.replace(I,""),r=h.camelize(n);let o=(()=>{const e=T[r];return e||r})();const s=i(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]{0,500}?\)|[^};])+)/);let a=s?s[0].trim().replace(I,""):"";switch(o){case"backgroundImage":[o,a]=F(o,a);break;case"transform":{const e=/((\w+)\s*\()/,t=/(?:\(['"]?)(.*?)(?:['"]?\))/,n=a;a=[],n.split(" ").forEach(n=>{if(e.test(n)){let r,o;const i=e.exec(n),s=t.exec(n);i&&([,,r]=i),s&&([,o]=s),0===o.indexOf(".")&&(o="0"+o),parseFloat(o).toString()===o&&(o=parseFloat(o));const c={};c[r]=o,a.push(c)}else u("missing '('")});break}case"fontWeight":break;case"shadowOffset":{const e=a.split(" ").filter(e=>e).map(e=>R(e)),[t]=e;let[,n]=e;n||(n=t),a={x:t,y:n};break}case"collapsable":a=Boolean(a);break;default:a=function(e){if("number"==typeof e)return e;if(P.test(e))try{return parseFloat(e)}catch(e){}return e}(a);["top","left","right","bottom","height","width","size","padding","margin","ratio","radius","offset","spread"].find(e=>o.toLowerCase().indexOf(e)>-1)&&(a=R(a))}const l=e({type:"declaration",value:a,property:o});return i(/^[;\s]*/),l}function b(){let e,t=[];if(!m())return u("missing '{'");for(p(t);e=y();)!1!==e&&(Array.isArray(e)?t=t.concat(e):t.push(e),p(t));return v()?t:u("missing '}'")}function O(){const e=c(),t=g();return t?(p(),e({type:"rule",selectors:t,declarations:b()})):u("selector missing")}function _(){let e;const t=[],n=c();for(;e=i(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),i(/^,\s*/);return t.length?n({type:"keyframe",values:t,declarations:b()}):null}function E(e){const t=new RegExp(`^@${e}\\s*([^;]+);`);return()=>{const n=c(),r=i(t);if(!r)return null;const o={type:e};return o[e]=r[1].trim(),n(o)}}const S=E("import"),w=E("charset"),N=E("namespace");function x(){return"@"!==e[0]?null:function(){const e=c();let t=i(/^@([-\w]+)?keyframes\s*/);if(!t)return null;const n=t[1];if(t=i(/^([-\w]+)\s*/),!t)return u("@keyframes missing name");const r=t[1];if(!m())return u("@keyframes missing '{'");let o,s=p();for(;o=_();)s.push(o),s=s.concat(p());return v()?e({type:"keyframes",name:r,vendor:n,keyframes:s}):u("@keyframes missing '}'")}()||function(){const e=c(),t=i(/^@media *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@media missing '{'");const r=p().concat(f());return v()?e({type:"media",media:n,rules:r}):u("@media missing '}'")}()||function(){const e=c(),t=i(/^@custom-media\s+(--[^\s]+)\s*([^{;]{1,200}?);/);return t?e({type:"custom-media",name:t[1].trim(),media:t[2].trim()}):null}()||function(){const e=c(),t=i(/^@supports *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@supports missing '{'");const r=p().concat(f());return v()?e({type:"supports",supports:n,rules:r}):u("@supports missing '}'")}()||S()||w()||N()||function(){const e=c(),t=i(/^@([-\w]+)?document *([^{]+)/);if(!t)return null;const n=t[1].trim(),r=t[2].trim();if(!m())return u("@document missing '{'");const o=p().concat(f());return v()?e({type:"document",document:r,vendor:n,rules:o}):u("@document missing '}'")}()||function(){const e=c();if(!i(/^@page */))return null;const t=g()||[];if(!m())return u("@page missing '{'");let n,r=p();for(;n=y();)r.push(n),r=r.concat(p());return v()?e({type:"page",selectors:t,declarations:r}):u("@page missing '}'")}()||function(){const e=c();if(!i(/^@host\s*/))return null;if(!m())return u("@host missing '{'");const t=p().concat(f());return v()?e({type:"host",rules:t}):u("@host missing '}'")}()||function(){const e=c();if(!i(/^@font-face\s*/))return null;if(!m())return u("@font-face missing '{'");let t,n=p();for(;t=y();)n.push(t),n=n.concat(p());return v()?e({type:"font-face",declarations:n}):u("@font-face missing '}'")}()}return function e(t,n){const r=t&&"string"==typeof t.type,o=r?t:n;return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e(t,o)}):r&&"object"==typeof r&&e(r,o)}),r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n}),t}(function(){const e=f();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:a}}}(),null)},t.registerElement=lt,t.setScreenSize=function(t){var n;if(t.width&&t.height){const{screen:r}=null===(n=null==e?void 0:e.Hippy)||void 0===n?void 0:n.device;r&&(r.width=t.width,r.height=t.height)}},t.translateColor=x}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"EffectScope",(function(){return s})),n.d(t,"ITERATE_KEY",(function(){return A})),n.d(t,"ReactiveEffect",(function(){return d})),n.d(t,"ReactiveFlags",(function(){return nt})),n.d(t,"TrackOpTypes",(function(){return et})),n.d(t,"TriggerOpTypes",(function(){return tt})),n.d(t,"computed",(function(){return Pe})),n.d(t,"customRef",(function(){return Ke})),n.d(t,"deferredComputed",(function(){return Qe})),n.d(t,"effect",(function(){return v})),n.d(t,"effectScope",(function(){return c})),n.d(t,"enableTracking",(function(){return E})),n.d(t,"getCurrentScope",(function(){return l})),n.d(t,"isProxy",(function(){return Te})),n.d(t,"isReactive",(function(){return we})),n.d(t,"isReadonly",(function(){return Ne})),n.d(t,"isRef",(function(){return Me})),n.d(t,"isShallow",(function(){return xe})),n.d(t,"markRaw",(function(){return ke})),n.d(t,"onScopeDispose",(function(){return u})),n.d(t,"pauseScheduling",(function(){return w})),n.d(t,"pauseTracking",(function(){return _})),n.d(t,"proxyRefs",(function(){return We})),n.d(t,"reactive",(function(){return be})),n.d(t,"readonly",(function(){return _e})),n.d(t,"ref",(function(){return Fe})),n.d(t,"resetScheduling",(function(){return N})),n.d(t,"resetTracking",(function(){return S})),n.d(t,"shallowReactive",(function(){return Oe})),n.d(t,"shallowReadonly",(function(){return Ee})),n.d(t,"shallowRef",(function(){return De})),n.d(t,"stop",(function(){return g})),n.d(t,"toRaw",(function(){return je})),n.d(t,"toRef",(function(){return Xe})),n.d(t,"toRefs",(function(){return Ge})),n.d(t,"toValue",(function(){return He})),n.d(t,"track",(function(){return P})),n.d(t,"trigger",(function(){return R})),n.d(t,"triggerRef",(function(){return $e})),n.d(t,"unref",(function(){return Ue}));var r=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js"); -/** -* @vue/reactivity v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let o,i;class s{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),S()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=i;try{return y=!0,i=this,this._runnings++,f(this),this.fn()}finally{h(this),this._runnings--,i=t,y=e}}stop(){var e;this.active&&(f(this),h(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function p(e){return e.value}function f(e){e._trackId++,e._depsLength=0}function h(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(Object(r.extend)(n,t),t.scope&&a(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function g(e){e.effect.stop()}let y=!0,b=0;const O=[];function _(){O.push(y),y=!1}function E(){O.push(y),y=!0}function S(){const e=O.pop();y=void 0===e||e}function w(){b++}function N(){for(b--;!b&&T.length;)T.shift()()}function x(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&m(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const T=[];function j(e,t,n){w();for(const n of e.keys()){let r;n._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},C=new WeakMap,A=Symbol(""),I=Symbol("");function P(e,t,n){if(y&&i){let t=C.get(e);t||C.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=k(()=>t.delete(n))),x(i,r)}}function R(e,t,n,o,i,s){const c=C.get(e);if(!c)return;let a=[];if("clear"===t)a=[...c.values()];else if("length"===n&&Object(r.isArray)(e)){const e=Number(o);c.forEach((t,n)=>{("length"===n||!Object(r.isSymbol)(n)&&n>=e)&&a.push(t)})}else switch(void 0!==n&&a.push(c.get(n)),t){case"add":Object(r.isArray)(e)?Object(r.isIntegerKey)(n)&&a.push(c.get("length")):(a.push(c.get(A)),Object(r.isMap)(e)&&a.push(c.get(I)));break;case"delete":Object(r.isArray)(e)||(a.push(c.get(A)),Object(r.isMap)(e)&&a.push(c.get(I)));break;case"set":Object(r.isMap)(e)&&a.push(c.get(A))}w();for(const e of a)e&&j(e,4);N()}const L=Object(r.makeMap)("__proto__,__v_isRef,__isVue"),M=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(r.isSymbol)),F=D();function D(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=je(this);for(let e=0,t=this.length;e{e[t]=function(...e){_(),w();const n=je(this)[t].apply(this,e);return N(),S(),n}}),e}function V(e){const t=je(this);return P(t,0,e),t.hasOwnProperty(e)}class B{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?ye:ge:i?ve:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=Object(r.isArray)(e);if(!o){if(s&&Object(r.hasOwn)(F,t))return Reflect.get(F,t,n);if("hasOwnProperty"===t)return V}const c=Reflect.get(e,t,n);return(Object(r.isSymbol)(t)?M.has(t):L(t))?c:(o||P(e,0,t),i?c:Me(c)?s&&Object(r.isIntegerKey)(t)?c:c.value:Object(r.isObject)(c)?o?_e(c):be(c):c)}}class $ extends B{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Ne(i);if(xe(n)||Ne(n)||(i=je(i),n=je(n)),!Object(r.isArray)(e)&&Me(i)&&!Me(n))return!t&&(i.value=n,!0)}const s=Object(r.isArray)(e)&&Object(r.isIntegerKey)(t)?Number(t)e,G=e=>Reflect.getPrototypeOf(e);function q(e,t,n=!1,o=!1){const i=je(e=e.__v_raw),s=je(t);n||(Object(r.hasChanged)(t,s)&&P(i,0,t),P(i,0,s));const{has:c}=G(i),a=o?K:n?Ae:Ce;return c.call(i,t)?a(e.get(t)):c.call(i,s)?a(e.get(s)):void(e!==i&&e.get(t))}function J(e,t=!1){const n=this.__v_raw,o=je(n),i=je(e);return t||(Object(r.hasChanged)(e,i)&&P(o,0,e),P(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function X(e,t=!1){return e=e.__v_raw,!t&&P(je(e),0,A),Reflect.get(e,"size",e)}function Z(e){e=je(e);const t=je(this);return G(t).has.call(t,e)||(t.add(e),R(t,"add",e,e)),this}function Q(e,t){t=je(t);const n=je(this),{has:o,get:i}=G(n);let s=o.call(n,e);s||(e=je(e),s=o.call(n,e));const c=i.call(n,e);return n.set(e,t),s?Object(r.hasChanged)(t,c)&&R(n,"set",e,t):R(n,"add",e,t),this}function ee(e){const t=je(this),{has:n,get:r}=G(t);let o=n.call(t,e);o||(e=je(e),o=n.call(t,e));r&&r.call(t,e);const i=t.delete(e);return o&&R(t,"delete",e,void 0),i}function te(){const e=je(this),t=0!==e.size,n=e.clear();return t&&R(e,"clear",void 0,void 0),n}function ne(e,t){return function(n,r){const o=this,i=o.__v_raw,s=je(i),c=t?K:e?Ae:Ce;return!e&&P(s,0,A),i.forEach((e,t)=>n.call(r,c(e),c(t),o))}}function re(e,t,n){return function(...o){const i=this.__v_raw,s=je(i),c=Object(r.isMap)(s),a="entries"===e||e===Symbol.iterator&&c,l="keys"===e&&c,u=i[e](...o),d=n?K:t?Ae:Ce;return!t&&P(s,0,l?I:A),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function oe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ie(){const e={get(e){return q(this,e)},get size(){return X(this)},has:J,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return q(this,e,!1,!0)},get size(){return X(this)},has:J,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return q(this,e,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!1)},r={get(e){return q(this,e,!0,!0)},get size(){return X(this,!0)},has(e){return J.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=re(o,!1,!1),n[o]=re(o,!0,!1),t[o]=re(o,!1,!0),r[o]=re(o,!0,!0)}),[e,n,t,r]}const[se,ce,ae,le]=ie();function ue(e,t){const n=t?e?le:ae:e?ce:se;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(Object(r.hasOwn)(n,o)&&o in t?n:t,o,i)}const de={get:ue(!1,!1)},pe={get:ue(!1,!0)},fe={get:ue(!0,!1)},he={get:ue(!0,!0)};const me=new WeakMap,ve=new WeakMap,ge=new WeakMap,ye=new WeakMap;function be(e){return Ne(e)?e:Se(e,!1,H,de,me)}function Oe(e){return Se(e,!1,W,pe,ve)}function _e(e){return Se(e,!0,Y,fe,ge)}function Ee(e){return Se(e,!0,z,he,ye)}function Se(e,t,n,o,i){if(!Object(r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const c=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Object(r.toRawType)(a));var a;if(0===c)return e;const l=new Proxy(e,2===c?o:n);return i.set(e,l),l}function we(e){return Ne(e)?we(e.__v_raw):!(!e||!e.__v_isReactive)}function Ne(e){return!(!e||!e.__v_isReadonly)}function xe(e){return!(!e||!e.__v_isShallow)}function Te(e){return we(e)||Ne(e)}function je(e){const t=e&&e.__v_raw;return t?je(t):e}function ke(e){return Object.isExtensible(e)&&Object(r.def)(e,"__v_skip",!0),e}const Ce=e=>Object(r.isObject)(e)?be(e):e,Ae=e=>Object(r.isObject)(e)?_e(e):e;class Ie{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new d(()=>e(this._value),()=>Le(this,2===this.effect._dirtyLevel?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=je(this);return e._cacheable&&!e.effect.dirty||!Object(r.hasChanged)(e._value,e._value=e.effect.run())||Le(e,4),Re(e),e.effect._dirtyLevel>=2&&Le(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Pe(e,t,n=!1){let o,i;const s=Object(r.isFunction)(e);s?(o=e,i=r.NOOP):(o=e.get,i=e.set);return new Ie(o,i,s||!i,n)}function Re(e){var t;y&&i&&(e=je(e),x(i,null!=(t=e.dep)?t:e.dep=k(()=>e.dep=void 0,e instanceof Ie?e:void 0)))}function Le(e,t=4,n){const r=(e=je(e)).dep;r&&j(r,t)}function Me(e){return!(!e||!0!==e.__v_isRef)}function Fe(e){return Ve(e,!1)}function De(e){return Ve(e,!0)}function Ve(e,t){return Me(e)?e:new Be(e,t)}class Be{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:je(e),this._value=t?e:Ce(e)}get value(){return Re(this),this._value}set value(e){const t=this.__v_isShallow||xe(e)||Ne(e);e=t?e:je(e),Object(r.hasChanged)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Ce(e),Le(this,4))}}function $e(e){Le(e,4)}function Ue(e){return Me(e)?e.value:e}function He(e){return Object(r.isFunction)(e)?e():Ue(e)}const Ye={get:(e,t,n)=>Ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function We(e){return we(e)?e:new Proxy(e,Ye)}class ze{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Re(this),()=>Le(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Ke(e){return new ze(e)}function Ge(e){const t=Object(r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ze(e,n);return t}class qe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=je(this._object),t=this._key,null==(n=C.get(e))?void 0:n.get(t);var e,t,n}}class Je{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){return Me(e)?e:Object(r.isFunction)(e)?new Je(e):Object(r.isObject)(e)&&arguments.length>1?Ze(e,t,n):Fe(e)}function Ze(e,t,n){const r=e[t];return Me(r)?r:new qe(e,t,n)}const Qe=Pe,et={GET:"get",HAS:"has",ITERATE:"iterate"},tt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},nt={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"}},"../../packages/hippy-vue-next/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"BaseTransition",(function(){return ke})),n.d(t,"BaseTransitionPropsValidators",(function(){return je})),n.d(t,"Comment",(function(){return An})),n.d(t,"DeprecationTypes",(function(){return zr})),n.d(t,"ErrorCodes",(function(){return l})),n.d(t,"ErrorTypeStrings",(function(){return Br})),n.d(t,"Fragment",(function(){return kn})),n.d(t,"KeepAlive",(function(){return $e})),n.d(t,"Static",(function(){return In})),n.d(t,"Suspense",(function(){return ie})),n.d(t,"Teleport",(function(){return Tn})),n.d(t,"Text",(function(){return Cn})),n.d(t,"assertNumber",(function(){return a})),n.d(t,"callWithAsyncErrorHandling",(function(){return p})),n.d(t,"callWithErrorHandling",(function(){return d})),n.d(t,"cloneVNode",(function(){return Qn})),n.d(t,"compatUtils",(function(){return Wr})),n.d(t,"computed",(function(){return Ir})),n.d(t,"createBlock",(function(){return Un})),n.d(t,"createCommentVNode",(function(){return nr})),n.d(t,"createElementBlock",(function(){return $n})),n.d(t,"createElementVNode",(function(){return qn})),n.d(t,"createHydrationRenderer",(function(){return vn})),n.d(t,"createPropsRestProxy",(function(){return kt})),n.d(t,"createRenderer",(function(){return mn})),n.d(t,"createSlots",(function(){return at})),n.d(t,"createStaticVNode",(function(){return tr})),n.d(t,"createTextVNode",(function(){return er})),n.d(t,"createVNode",(function(){return Jn})),n.d(t,"defineAsyncComponent",(function(){return De})),n.d(t,"defineComponent",(function(){return Me})),n.d(t,"defineEmits",(function(){return gt})),n.d(t,"defineExpose",(function(){return yt})),n.d(t,"defineModel",(function(){return _t})),n.d(t,"defineOptions",(function(){return bt})),n.d(t,"defineProps",(function(){return vt})),n.d(t,"defineSlots",(function(){return Ot})),n.d(t,"devtools",(function(){return $r})),n.d(t,"getCurrentInstance",(function(){return pr})),n.d(t,"getTransitionRawChildren",(function(){return Le})),n.d(t,"guardReactiveProps",(function(){return Zn})),n.d(t,"h",(function(){return Rr})),n.d(t,"handleError",(function(){return f})),n.d(t,"hasInjectionContext",(function(){return qt})),n.d(t,"initCustomFormatter",(function(){return Lr})),n.d(t,"inject",(function(){return Gt})),n.d(t,"isMemoSame",(function(){return Fr})),n.d(t,"isRuntimeOnly",(function(){return wr})),n.d(t,"isVNode",(function(){return Hn})),n.d(t,"mergeDefaults",(function(){return Tt})),n.d(t,"mergeModels",(function(){return jt})),n.d(t,"mergeProps",(function(){return sr})),n.d(t,"nextTick",(function(){return S})),n.d(t,"onActivated",(function(){return He})),n.d(t,"onBeforeMount",(function(){return Xe})),n.d(t,"onBeforeUnmount",(function(){return tt})),n.d(t,"onBeforeUpdate",(function(){return Qe})),n.d(t,"onDeactivated",(function(){return Ye})),n.d(t,"onErrorCaptured",(function(){return st})),n.d(t,"onMounted",(function(){return Ze})),n.d(t,"onRenderTracked",(function(){return it})),n.d(t,"onRenderTriggered",(function(){return ot})),n.d(t,"onServerPrefetch",(function(){return rt})),n.d(t,"onUnmounted",(function(){return nt})),n.d(t,"onUpdated",(function(){return et})),n.d(t,"openBlock",(function(){return Ln})),n.d(t,"popScopeId",(function(){return U})),n.d(t,"provide",(function(){return Kt})),n.d(t,"pushScopeId",(function(){return $})),n.d(t,"queuePostFlushCb",(function(){return x})),n.d(t,"registerRuntimeCompiler",(function(){return Sr})),n.d(t,"renderList",(function(){return ct})),n.d(t,"renderSlot",(function(){return lt})),n.d(t,"resolveComponent",(function(){return X})),n.d(t,"resolveDirective",(function(){return ee})),n.d(t,"resolveDynamicComponent",(function(){return Q})),n.d(t,"resolveFilter",(function(){return Yr})),n.d(t,"resolveTransitionHooks",(function(){return Ae})),n.d(t,"setBlockTracking",(function(){return Vn})),n.d(t,"setDevtoolsHook",(function(){return Ur})),n.d(t,"setTransitionHooks",(function(){return Re})),n.d(t,"ssrContextKey",(function(){return de})),n.d(t,"ssrUtils",(function(){return Hr})),n.d(t,"toHandlers",(function(){return ut})),n.d(t,"transformVNodeArgs",(function(){return Wn})),n.d(t,"useAttrs",(function(){return wt})),n.d(t,"useModel",(function(){return Pr})),n.d(t,"useSSRContext",(function(){return pe})),n.d(t,"useSlots",(function(){return St})),n.d(t,"useTransitionState",(function(){return xe})),n.d(t,"version",(function(){return Dr})),n.d(t,"warn",(function(){return Vr})),n.d(t,"watch",(function(){return ge})),n.d(t,"watchEffect",(function(){return fe})),n.d(t,"watchPostEffect",(function(){return he})),n.d(t,"watchSyncEffect",(function(){return me})),n.d(t,"withAsyncContext",(function(){return Ct})),n.d(t,"withCtx",(function(){return Y})),n.d(t,"withDefaults",(function(){return Et})),n.d(t,"withDirectives",(function(){return Ee})),n.d(t,"withMemo",(function(){return Mr})),n.d(t,"withScopeId",(function(){return H}));var r=n("../../packages/hippy-vue-next/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");n.d(t,"EffectScope",(function(){return r.EffectScope})),n.d(t,"ReactiveEffect",(function(){return r.ReactiveEffect})),n.d(t,"TrackOpTypes",(function(){return r.TrackOpTypes})),n.d(t,"TriggerOpTypes",(function(){return r.TriggerOpTypes})),n.d(t,"customRef",(function(){return r.customRef})),n.d(t,"effect",(function(){return r.effect})),n.d(t,"effectScope",(function(){return r.effectScope})),n.d(t,"getCurrentScope",(function(){return r.getCurrentScope})),n.d(t,"isProxy",(function(){return r.isProxy})),n.d(t,"isReactive",(function(){return r.isReactive})),n.d(t,"isReadonly",(function(){return r.isReadonly})),n.d(t,"isRef",(function(){return r.isRef})),n.d(t,"isShallow",(function(){return r.isShallow})),n.d(t,"markRaw",(function(){return r.markRaw})),n.d(t,"onScopeDispose",(function(){return r.onScopeDispose})),n.d(t,"proxyRefs",(function(){return r.proxyRefs})),n.d(t,"reactive",(function(){return r.reactive})),n.d(t,"readonly",(function(){return r.readonly})),n.d(t,"ref",(function(){return r.ref})),n.d(t,"shallowReactive",(function(){return r.shallowReactive})),n.d(t,"shallowReadonly",(function(){return r.shallowReadonly})),n.d(t,"shallowRef",(function(){return r.shallowRef})),n.d(t,"stop",(function(){return r.stop})),n.d(t,"toRaw",(function(){return r.toRaw})),n.d(t,"toRef",(function(){return r.toRef})),n.d(t,"toRefs",(function(){return r.toRefs})),n.d(t,"toValue",(function(){return r.toValue})),n.d(t,"triggerRef",(function(){return r.triggerRef})),n.d(t,"unref",(function(){return r.unref}));var o=n("../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js");n.d(t,"camelize",(function(){return o.camelize})),n.d(t,"capitalize",(function(){return o.capitalize})),n.d(t,"normalizeClass",(function(){return o.normalizeClass})),n.d(t,"normalizeProps",(function(){return o.normalizeProps})),n.d(t,"normalizeStyle",(function(){return o.normalizeStyle})),n.d(t,"toDisplayString",(function(){return o.toDisplayString})),n.d(t,"toHandlerKey",(function(){return o.toHandlerKey})); -/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -const i=[];function s(e,...t){Object(r.pauseTracking)();const n=i.length?i[i.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=function(){let e=i[i.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(o)d(o,n,11,[e+t.map(e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,s.map(({vnode:e})=>`at <${Cr(n,e.type)}>`).join("\n"),s]);else{const n=["[Vue warn]: "+e,...t];s.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=" at <"+Cr(e.component,e.type,r),i=">"+n;return e.props?[o,...c(e.props),i]:[o+i]}(e))}),t}(s)),console.warn(...n)}Object(r.resetTracking)()}function c(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,i){return Object(o.isString)(n)?(n=JSON.stringify(n),i?n:[`${t}=${n}`]):"number"==typeof n||"boolean"==typeof n||null==n?i?n:[`${t}=${n}`]:Object(r.isRef)(n)?(n=e(t,Object(r.toRaw)(n.value),!0),i?n:[t+"=Ref<",n,">"]):Object(o.isFunction)(n)?[`${t}=fn${n.name?`<${n.name}>`:""}`]:(n=Object(r.toRaw)(n),i?n:[t+"=",n])}(n,e[n]))}),n.length>3&&t.push(" ..."),t}function a(e,t){}const l={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},u={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function d(e,t,n,r){try{return r?e(...r):e()}catch(e){f(e,t,n)}}function p(e,t,n,r){if(Object(o.isFunction)(e)){const i=d(e,t,n,r);return i&&Object(o.isPromise)(i)&&i.catch(e=>{f(e,t,n)}),i}const i=[];for(let o=0;o>>1,o=v[r],i=k(o);ik(e)-k(t));if(y.length=0,b)return void b.push(...e);for(b=e,O=0;Onull==e.id?1/0:e.id,C=(e,t)=>{const n=k(e)-k(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function A(e){m=!1,h=!0,v.sort(C);o.NOOP;try{for(g=0;gObject(o.isString)(e)?e.trim():e)),t&&(i=n.map(o.looseToNumber))}let a;let l=r[a=Object(o.toHandlerKey)(t)]||r[a=Object(o.toHandlerKey)(Object(o.camelize)(t))];!l&&s&&(l=r[a=Object(o.toHandlerKey)(Object(o.hyphenate)(t))]),l&&p(l,e,6,i);const u=r[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,p(u,e,6,i)}}function M(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const s=e.emits;let c={},a=!1;if(__VUE_OPTIONS_API__&&!Object(o.isFunction)(e)){const r=e=>{const n=M(e,t,!0);n&&(a=!0,Object(o.extend)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||a?(Object(o.isArray)(s)?s.forEach(e=>c[e]=null):Object(o.extend)(c,s),Object(o.isObject)(e)&&r.set(e,c),c):(Object(o.isObject)(e)&&r.set(e,null),null)}function F(e,t){return!(!e||!Object(o.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),Object(o.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||Object(o.hasOwn)(e,Object(o.hyphenate)(t))||Object(o.hasOwn)(e,t))}let D=null,V=null;function B(e){const t=D;return D=e,V=e&&e.type.__scopeId||null,t}function $(e){V=e}function U(){V=null}const H=e=>Y;function Y(e,t=D,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Vn(-1);const o=B(t);let i;try{i=e(...n)}finally{B(o),r._d&&Vn(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function W(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[c],slots:a,attrs:l,emit:u,render:d,renderCache:p,data:h,setupState:m,ctx:v,inheritAttrs:g}=e;let y,b;const O=B(e);try{if(4&n.shapeFlag){const e=i||r,t=e;y=rr(d.call(t,e,p,s,m,h,v)),b=l}else{const e=t;0,y=rr(e.length>1?e(s,{attrs:l,slots:a,emit:u}):e(s,null)),b=t.props?l:K(l)}}catch(t){Pn.length=0,f(t,e,1),y=Jn(An)}let _=y;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(c&&e.some(o.isModelListener)&&(b=G(b,c)),_=Qn(_,b))}return n.dirs&&(_=Qn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,B(O),y}function z(e,t=!0){let n;for(let t=0;t{let t;for(const n in e)("class"===n||"style"===n||Object(o.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},G=(e,t)=>{const n={};for(const r in e)Object(o.isModelListener)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function q(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let oe=0;const ie={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,c,a,l){if(null==e)!function(e,t,n,r,o,i,s,c,a){const{p:l,o:{createElement:u}}=a,d=u("div"),p=e.suspense=ce(e,o,r,t,d,n,i,s,c,a);l(null,p.pendingBranch=e.ssContent,d,null,r,p,i,s),p.deps>0?(se(e,"onPending"),se(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,s),ue(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,r,o,i,s,c,a,l);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,s,c,{p:a,um:l,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:g}=d;if(m)d.pendingBranch=p,Yn(p,m)?(a(m,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():v&&(g||(a(h,f,n,r,o,null,i,s,c),ue(d,f)))):(d.pendingId=oe++,g?(d.isHydrating=!1,d.activeBranch=m):l(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(a(null,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():(a(h,f,n,r,o,null,i,s,c),ue(d,f))):h&&Yn(p,h)?(a(h,p,n,r,o,d,i,s,c),d.resolve(!0)):(a(null,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0&&d.resolve()));else if(h&&Yn(p,h))a(h,p,n,r,o,d,i,s,c),ue(d,p);else if(se(t,"onPending"),d.pendingBranch=p,512&p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=oe++,a(null,p,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(f)},e):0===e&&d.fallback(f)}}(e,t,n,r,o,s,c,a,l)}},hydrate:function(e,t,n,r,o,i,s,c,a){const l=t.suspense=ce(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,c,!0),u=a(e,l.pendingBranch=t.ssContent,n,l,i,s);0===l.deps&&l.resolve(!1,!0);return u},create:ce,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=ae(r?n.default:n),e.ssFallback=r?ae(n.fallback):Jn(An)}};function se(e,t){const n=e.props&&e.props[t];Object(o.isFunction)(n)&&n()}function ce(e,t,n,r,i,s,c,a,l,u,d=!1){const{p:p,m:h,um:m,n:v,o:{parentNode:g,remove:y}}=u;let b;const O=function(e){var t;return null!=(null==(t=e.props)?void 0:t.suspensible)&&!1!==e.props.suspensible}(e);O&&(null==t?void 0:t.pendingBranch)&&(b=t.pendingId,t.deps++);const _=e.props?Object(o.toNumber)(e.props.timeout):void 0;const E=s,S={vnode:e,parent:t,parentComponent:n,namespace:c,container:r,hiddenContainer:i,deps:0,pendingId:oe++,timeout:"number"==typeof _?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:c,effects:a,parentComponent:l,container:u}=S;let d=!1;S.isHydrating?S.isHydrating=!1:e||(d=o&&i.transition&&"out-in"===i.transition.mode,d&&(o.transition.afterLeave=()=>{c===S.pendingId&&(h(i,u,s===E?v(o):s,0),x(a))}),o&&(g(o.el)!==S.hiddenContainer&&(s=v(o)),m(o,l,S,!0)),d||h(i,u,s,0)),ue(S,i),S.pendingBranch=null,S.isInFallback=!1;let p=S.parent,f=!1;for(;p;){if(p.pendingBranch){p.effects.push(...a),f=!0;break}p=p.parent}f||d||x(a),S.effects=[],O&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),se(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=S;se(t,"onFallback");const s=v(n),c=()=>{S.isInFallback&&(p(null,e,o,s,r,null,i,a,l),ue(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),S.isInFallback=!0,m(n,r,null,!0),u||c()},move(e,t,n){S.activeBranch&&h(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&v(S.activeBranch),registerDep(e,t){const n=!!S.pendingBranch;n&&S.deps++;const r=e.vnode.el;e.asyncDep.catch(t=>{f(t,e,0)}).then(o=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;Er(e,o,!1),r&&(i.el=r);const s=!r&&e.subTree.el;t(e,i,g(r||e.subTree.el),r?null:v(e.subTree),S,c,l),s&&y(s),J(e,i.el),n&&0==--S.deps&&S.resolve()})},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&m(S.activeBranch,n,e,t),S.pendingBranch&&m(S.pendingBranch,n,e,t)}};return S}function ae(e){let t;if(Object(o.isFunction)(e)){const n=Dn&&e._c;n&&(e._d=!1,Ln()),e=e(),n&&(e._d=!0,t=Rn,Mn())}if(Object(o.isArray)(e)){const t=z(e);0,e=t}return e=rr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function le(e,t){t&&t.pendingBranch?Object(o.isArray)(e)?t.effects.push(...e):t.effects.push(e):x(e)}function ue(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,J(r,o))}const de=Symbol.for("v-scx"),pe=()=>{{const e=Gt(de);return e}};function fe(e,t){return ye(e,null,t)}function he(e,t){return ye(e,null,{flush:"post"})}function me(e,t){return ye(e,null,{flush:"sync"})}const ve={};function ge(e,t,n){return ye(e,t,n)}function ye(e,t,{immediate:n,deep:i,flush:s,once:c,onTrack:a,onTrigger:l}=o.EMPTY_OBJ){if(t&&c){const e=t;t=(...t)=>{e(...t),x()}}const u=dr,f=e=>!0===i?e:_e(e,!1===i?1:void 0);let h,m,v=!1,g=!1;if(Object(r.isRef)(e)?(h=()=>e.value,v=Object(r.isShallow)(e)):Object(r.isReactive)(e)?(h=()=>f(e),v=!0):Object(o.isArray)(e)?(g=!0,v=e.some(e=>Object(r.isReactive)(e)||Object(r.isShallow)(e)),h=()=>e.map(e=>Object(r.isRef)(e)?e.value:Object(r.isReactive)(e)?f(e):Object(o.isFunction)(e)?d(e,u,2):void 0)):h=Object(o.isFunction)(e)?t?()=>d(e,u,2):()=>(m&&m(),p(e,u,3,[b])):o.NOOP,t&&i){const e=h;h=()=>_e(e())}let y,b=e=>{m=S.onStop=()=>{d(e,u,4),m=S.onStop=void 0}};if(Or){if(b=o.NOOP,t?n&&p(t,u,3,[h(),g?[]:void 0,b]):h(),"sync"!==s)return o.NOOP;{const e=pe();y=e.__watcherHandles||(e.__watcherHandles=[])}}let O=g?new Array(e.length).fill(ve):ve;const _=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(i||v||(g?e.some((e,t)=>Object(o.hasChanged)(e,O[t])):Object(o.hasChanged)(e,O)))&&(m&&m(),p(t,u,3,[e,O===ve?void 0:g&&O[0]===ve?[]:O,b]),O=e)}else S.run()};let E;_.allowRecurse=!!t,"sync"===s?E=_:"post"===s?E=()=>hn(_,u&&u.suspense):(_.pre=!0,u&&(_.id=u.uid),E=()=>w(_));const S=new r.ReactiveEffect(h,o.NOOP,E),N=Object(r.getCurrentScope)(),x=()=>{S.stop(),N&&Object(o.remove)(N.effects,S)};return t?n?_():O=S.run():"post"===s?hn(S.run.bind(S),u&&u.suspense):S.run(),y&&y.push(x),x}function be(e,t,n){const r=this.proxy,i=Object(o.isString)(e)?e.includes(".")?Oe(r,e):()=>r[e]:e.bind(r,r);let s;Object(o.isFunction)(t)?s=t:(s=t.handler,n=t);const c=mr(this),a=ye(i,s.bind(r),n);return c(),a}function Oe(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((i=i||new Set).has(e))return e;if(i.add(e),Object(r.isRef)(e))_e(e.value,t,n,i);else if(Object(o.isArray)(e))for(let r=0;r{_e(e,t,n,i)});else if(Object(o.isPlainObject)(e))for(const r in e)_e(e[r],t,n,i);return e}function Ee(e,t){if(null===D)return e;const n=Tr(D)||D.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e{e.isMounted=!0}),tt(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],je={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},ke={name:"BaseTransition",props:je,setup(e,{slots:t}){const n=pr(),o=xe();return()=>{const i=t.default&&Le(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==An){0,s=t,e=!0;break}}const c=Object(r.toRaw)(e),{mode:a}=c;if(o.isLeaving)return Ie(s);const l=Pe(s);if(!l)return Ie(s);const u=Ae(l,c,o,n);Re(l,u);const d=n.subTree,p=d&&Pe(d);if(p&&p.type!==An&&!Yn(l,p)){const e=Ae(p,c,o,n);if(Re(p,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Ie(s);"in-out"===a&&l.type!==An&&(e.delayLeave=(e,t,n)=>{Ce(o,p)[String(p.key)]=p,e[we]=()=>{t(),e[we]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Ce(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ae(e,t,n,r){const{appear:i,mode:s,persisted:c=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:O}=t,_=String(e.key),E=Ce(n,e),S=(e,t)=>{e&&p(e,r,9,t)},w=(e,t)=>{const n=t[1];S(e,t),Object(o.isArray)(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},N={mode:s,persisted:c,beforeEnter(t){let r=a;if(!n.isMounted){if(!i)return;r=g||a}t[we]&&t[we](!0);const o=E[_];o&&Yn(e,o)&&o.el[we]&&o.el[we](),S(r,[t])},enter(e){let t=l,r=u,o=d;if(!n.isMounted){if(!i)return;t=y||l,r=b||u,o=O||d}let s=!1;const c=e[Ne]=t=>{s||(s=!0,S(t?o:r,[e]),N.delayedLeave&&N.delayedLeave(),e[Ne]=void 0)};t?w(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t[Ne]&&t[Ne](!0),n.isUnmounting)return r();S(f,[t]);let i=!1;const s=t[we]=n=>{i||(i=!0,r(),S(n?v:m,[t]),t[we]=void 0,E[o]===e&&delete E[o])};E[o]=e,h?w(h,[t,s]):s()},clone:e=>Ae(e,t,n,r)};return N}function Ie(e){if(Be(e))return(e=Qn(e)).children=null,e}function Pe(e){return Be(e)?e.children?e.children[0]:void 0:e}function Re(e,t){6&e.shapeFlag&&e.component?Re(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Le(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let e=0;eObject(o.extend)({name:e.name},t,{setup:e}))():e}const Fe=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;function De(e){Object(o.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,timeout:c,suspensible:a=!0,onError:l}=e;let u,d=null,p=0;const h=()=>{let e;return d||(e=d=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((p++,d=null,h())),()=>n(e),p+1)});throw e}).then(t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t)))};return Me({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return u},setup(){const e=dr;if(u)return()=>Ve(u,e);const t=t=>{d=null,f(t,e,13,!i)};if(a&&e.suspense||Or)return h().then(t=>()=>Ve(t,e)).catch(e=>(t(e),()=>i?Jn(i,{error:e}):null));const o=Object(r.ref)(!1),l=Object(r.ref)(),p=Object(r.ref)(!!s);return s&&setTimeout(()=>{p.value=!1},s),null!=c&&setTimeout(()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${c}ms.`);t(e),l.value=e}},c),h().then(()=>{o.value=!0,e.parent&&Be(e.parent.vnode)&&(e.parent.effect.dirty=!0,w(e.parent.update))}).catch(e=>{t(e),l.value=e}),()=>o.value&&u?Ve(u,e):l.value&&i?Jn(i,{error:l.value}):n&&!p.value?Jn(n):void 0}})}function Ve(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=Jn(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Be=e=>e.type.__isKeepAlive,$e={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=pr(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,s=new Set;let c=null;const a=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:p}}}=r,f=p("div");function h(e){Ke(e),d(e,n,a,!0)}function m(e){i.forEach((t,n)=>{const r=kr(t.type);!r||e&&e(r)||v(n)})}function v(e){const t=i.get(e);c&&Yn(t,c)?c&&Ke(c):h(t),i.delete(e),s.delete(e)}r.activate=(e,t,n,r,i)=>{const s=e.component;u(e,t,n,0,a),l(s.vnode,e,t,n,s,a,r,e.slotScopeIds,i),hn(()=>{s.isDeactivated=!1,s.a&&Object(o.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&cr(t,s.parent,e)},a)},r.deactivate=e=>{const t=e.component;u(e,f,null,1,a),hn(()=>{t.da&&Object(o.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&cr(n,t.parent,e),t.isDeactivated=!0},a)},ge(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Ue(e,t)),t&&m(e=>!Ue(t,e))},{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&i.set(g,Ge(n.subTree))};return Ze(y),et(y),tt(()=>{i.forEach(e=>{const{subTree:t,suspense:r}=n,o=Ge(t);if(e.type!==o.type||e.key!==o.key)h(e);else{Ke(o);const e=o.component.da;e&&hn(e,r)}})}),()=>{if(g=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return c=null,n;if(!(Hn(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return c=null,r;let o=Ge(r);const a=o.type,l=kr(Fe(o)?o.type.__asyncResolved||{}:a),{include:u,exclude:d,max:p}=e;if(u&&(!l||!Ue(u,l))||d&&l&&Ue(d,l))return c=o,r;const f=null==o.key?a:o.key,h=i.get(f);return o.el&&(o=Qn(o),128&r.shapeFlag&&(r.ssContent=o)),g=f,h?(o.el=h.el,o.component=h.component,o.transition&&Re(o,o.transition),o.shapeFlag|=512,s.delete(f),s.add(f)):(s.add(f),p&&s.size>parseInt(p,10)&&v(s.values().next().value)),o.shapeFlag|=256,c=o,re(r.type)?r:o}}};function Ue(e,t){return Object(o.isArray)(e)?e.some(e=>Ue(e,t)):Object(o.isString)(e)?e.split(",").includes(t):!!Object(o.isRegExp)(e)&&e.test(t)}function He(e,t){We(e,"a",t)}function Ye(e,t){We(e,"da",t)}function We(e,t,n=dr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(qe(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Be(e.parent.vnode)&&ze(r,t,n,e),e=e.parent}}function ze(e,t,n,r){const i=qe(t,e,r,!0);nt(()=>{Object(o.remove)(r[t],i)},n)}function Ke(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ge(e){return 128&e.shapeFlag?e.ssContent:e}function qe(e,t,n=dr,o=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Object(r.pauseTracking)();const i=mr(n),s=p(t,n,e,o);return i(),Object(r.resetTracking)(),s});return o?i.unshift(s):i.push(s),s}}const Je=e=>(t,n=dr)=>(!Or||"sp"===e)&&qe(e,(...e)=>t(...e),n),Xe=Je("bm"),Ze=Je("m"),Qe=Je("bu"),et=Je("u"),tt=Je("bum"),nt=Je("um"),rt=Je("sp"),ot=Je("rtg"),it=Je("rtc");function st(e,t=dr){qe("ec",e,t)}function ct(e,t,n,r){let i;const s=n&&n[r];if(Object(o.isArray)(e)||Object(o.isString)(e)){i=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,s&&s[n]));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function lt(e,t,n={},r,o){if(D.isCE||D.parent&&Fe(D.parent)&&D.parent.isCE)return"default"!==t&&(n.name=t),Jn("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Ln();const s=i&&function e(t){return t.some(t=>!Hn(t)||t.type!==An&&!(t.type===kn&&!e(t.children)))?t:null}(i(n)),c=Un(kn,{key:n.key||s&&s.key||"_"+t},s||(r?r():[]),s&&1===e._?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function ut(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?"on:"+r:Object(o.toHandlerKey)(r)]=e[r];return n}const dt=e=>e?gr(e)?Tr(e)||e.proxy:dt(e.parent):null,pt=Object(o.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dt(e.parent),$root:e=>dt(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Lt(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,w(e.update)}),$nextTick:e=>e.n||(e.n=S.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?be.bind(e):o.NOOP}),ft=(e,t)=>e!==o.EMPTY_OBJ&&!e.__isScriptSetup&&Object(o.hasOwn)(e,t),ht={get({_:e},t){const{ctx:n,setupState:i,data:s,props:c,accessCache:a,type:l,appContext:u}=e;let d;if("$"!==t[0]){const r=a[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return c[t]}else{if(ft(i,t))return a[t]=1,i[t];if(s!==o.EMPTY_OBJ&&Object(o.hasOwn)(s,t))return a[t]=2,s[t];if((d=e.propsOptions[0])&&Object(o.hasOwn)(d,t))return a[t]=3,c[t];if(n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t))return a[t]=4,n[t];__VUE_OPTIONS_API__&&!At||(a[t]=0)}}const p=pt[t];let f,h;return p?("$attrs"===t&&Object(r.track)(e,"get",t),p(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t)?(a[t]=4,n[t]):(h=u.config.globalProperties,Object(o.hasOwn)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return ft(i,t)?(i[t]=n,!0):r!==o.EMPTY_OBJ&&Object(o.hasOwn)(r,t)?(r[t]=n,!0):!Object(o.hasOwn)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},c){let a;return!!n[c]||e!==o.EMPTY_OBJ&&Object(o.hasOwn)(e,c)||ft(t,c)||(a=s[0])&&Object(o.hasOwn)(a,c)||Object(o.hasOwn)(r,c)||Object(o.hasOwn)(pt,c)||Object(o.hasOwn)(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(o.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const mt=Object(o.extend)({},ht,{get(e,t){if(t!==Symbol.unscopables)return ht.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!Object(o.isGloballyAllowed)(t)});function vt(){return null}function gt(){return null}function yt(e){0}function bt(e){0}function Ot(){return null}function _t(){0}function Et(e,t){return null}function St(){return Nt().slots}function wt(){return Nt().attrs}function Nt(){const e=pr();return e.setupContext||(e.setupContext=xr(e))}function xt(e){return Object(o.isArray)(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Tt(e,t){const n=xt(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?Object(o.isArray)(r)||Object(o.isFunction)(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t["__skip_"+e]&&(r.skipFactory=!0)}return n}function jt(e,t){return e&&t?Object(o.isArray)(e)&&Object(o.isArray)(t)?e.concat(t):Object(o.extend)({},xt(e),xt(t)):e||t}function kt(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ct(e){const t=pr();let n=e();return vr(),Object(o.isPromise)(n)&&(n=n.catch(e=>{throw mr(t),e})),[n,()=>mr(t)]}let At=!0;function It(e){const t=Lt(e),n=e.proxy,i=e.ctx;At=!1,t.beforeCreate&&Pt(t.beforeCreate,e,"bc");const{data:s,computed:c,methods:a,watch:l,provide:u,inject:d,created:p,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:O,destroyed:_,unmounted:E,render:S,renderTracked:w,renderTriggered:N,errorCaptured:x,serverPrefetch:T,expose:j,inheritAttrs:k,components:C,directives:A,filters:I}=t;if(d&&function(e,t,n=o.NOOP){Object(o.isArray)(e)&&(e=Vt(e));for(const n in e){const i=e[n];let s;s=Object(o.isObject)(i)?"default"in i?Gt(i.from||n,i.default,!0):Gt(i.from||n):Gt(i),Object(r.isRef)(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(d,i,null),a)for(const e in a){const t=a[e];Object(o.isFunction)(t)&&(i[e]=t.bind(n))}if(s){0;const t=s.call(n,n);0,Object(o.isObject)(t)&&(e.data=Object(r.reactive)(t))}if(At=!0,c)for(const e in c){const t=c[e],r=Object(o.isFunction)(t)?t.bind(n,n):Object(o.isFunction)(t.get)?t.get.bind(n,n):o.NOOP;0;const s=!Object(o.isFunction)(t)&&Object(o.isFunction)(t.set)?t.set.bind(n):o.NOOP,a=Ir({get:r,set:s});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const e in l)Rt(l[e],i,n,e);if(u){const e=Object(o.isFunction)(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{Kt(t,e[t])})}function P(e,t){Object(o.isArray)(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(p&&Pt(p,e,"c"),P(Xe,f),P(Ze,h),P(Qe,m),P(et,v),P(He,g),P(Ye,y),P(st,x),P(it,w),P(ot,N),P(tt,O),P(nt,E),P(rt,T),Object(o.isArray)(j))if(j.length){const t=e.exposed||(e.exposed={});j.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});S&&e.render===o.NOOP&&(e.render=S),null!=k&&(e.inheritAttrs=k),C&&(e.components=C),A&&(e.directives=A)}function Pt(e,t,n){p(Object(o.isArray)(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Rt(e,t,n,r){const i=r.includes(".")?Oe(n,r):()=>n[r];if(Object(o.isString)(e)){const n=t[e];Object(o.isFunction)(n)&&ge(i,n)}else if(Object(o.isFunction)(e))ge(i,e.bind(n));else if(Object(o.isObject)(e))if(Object(o.isArray)(e))e.forEach(e=>Rt(e,t,n,r));else{const r=Object(o.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];Object(o.isFunction)(r)&&ge(i,r,e)}else 0}function Lt(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:c}}=e.appContext,a=s.get(t);let l;return a?l=a:i.length||n||r?(l={},i.length&&i.forEach(e=>Mt(l,e,c,!0)),Mt(l,t,c)):l=t,Object(o.isObject)(t)&&s.set(t,l),l}function Mt(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Mt(e,i,n,!0),o&&o.forEach(t=>Mt(e,t,n,!0));for(const o in t)if(r&&"expose"===o);else{const r=Ft[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const Ft={data:Dt,props:Ut,emits:Ut,methods:$t,computed:$t,beforeCreate:Bt,created:Bt,beforeMount:Bt,mounted:Bt,beforeUpdate:Bt,updated:Bt,beforeDestroy:Bt,beforeUnmount:Bt,destroyed:Bt,unmounted:Bt,activated:Bt,deactivated:Bt,errorCaptured:Bt,serverPrefetch:Bt,components:$t,directives:$t,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Object(o.extend)(Object.create(null),e);for(const r in t)n[r]=Bt(e[r],t[r]);return n},provide:Dt,inject:function(e,t){return $t(Vt(e),Vt(t))}};function Dt(e,t){return t?e?function(){return Object(o.extend)(Object(o.isFunction)(e)?e.call(this,this):e,Object(o.isFunction)(t)?t.call(this,this):t)}:t:e}function Vt(e){if(Object(o.isArray)(e)){const t={};for(let n=0;n(s.has(e)||(e&&Object(o.isFunction)(e.install)?(s.add(e),e.install(a,...t)):Object(o.isFunction)(e)&&(s.add(e),e(a,...t))),a),mixin:e=>(__VUE_OPTIONS_API__&&(i.mixins.includes(e)||i.mixins.push(e)),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(o,s,l){if(!c){0;const u=Jn(n,r);return u.appContext=i,!0===l?l="svg":!1===l&&(l=void 0),s&&t?t(u,o):e(u,o,l),c=!0,a._container=o,o.__vue_app__=a,Tr(u.component)||u.component.proxy}},unmount(){c&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a),runWithContext(e){const t=zt;zt=a;try{return e()}finally{zt=t}}};return a}}let zt=null;function Kt(e,t){if(dr){let n=dr.provides;const r=dr.parent&&dr.parent.provides;r===n&&(n=dr.provides=Object.create(r)),n[e]=t}else 0}function Gt(e,t,n=!1){const r=dr||D;if(r||zt){const i=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:zt._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Object(o.isFunction)(t)?t.call(r&&r.proxy):t}else 0}function qt(){return!!(dr||D||zt)}function Jt(e,t,n,i){const[s,c]=e.propsOptions;let a,l=!1;if(t)for(let r in t){if(Object(o.isReservedProp)(r))continue;const u=t[r];let d;s&&Object(o.hasOwn)(s,d=Object(o.camelize)(r))?c&&c.includes(d)?(a||(a={}))[d]=u:n[d]=u:F(e.emitsOptions,r)||r in i&&u===i[r]||(i[r]=u,l=!0)}if(c){const t=Object(r.toRaw)(n),i=a||o.EMPTY_OBJ;for(let r=0;r{l=!0;const[n,r]=Zt(e,t,!0);Object(o.extend)(c,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!l)return Object(o.isObject)(e)&&r.set(e,o.EMPTY_ARR),o.EMPTY_ARR;if(Object(o.isArray)(s))for(let e=0;e-1,r[1]=n<0||e-1||Object(o.hasOwn)(r,"default"))&&a.push(t)}}}}const u=[c,a];return Object(o.isObject)(e)&&r.set(e,u),u}function Qt(e){return"$"!==e[0]&&!Object(o.isReservedProp)(e)}function en(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function tn(e,t){return en(e)===en(t)}function nn(e,t){return Object(o.isArray)(t)?t.findIndex(t=>tn(t,e)):Object(o.isFunction)(t)&&tn(t,e)?0:-1}const rn=e=>"_"===e[0]||"$stable"===e,on=e=>Object(o.isArray)(e)?e.map(rr):[rr(e)],sn=(e,t,n)=>{if(t._n)return t;const r=Y((...e)=>on(t(...e)),n);return r._c=!1,r},cn=(e,t,n)=>{const r=e._ctx;for(const n in e){if(rn(n))continue;const i=e[n];if(Object(o.isFunction)(i))t[n]=sn(0,i,r);else if(null!=i){0;const e=on(i);t[n]=()=>e}}},an=(e,t)=>{const n=on(t);e.slots.default=()=>n};function ln(e,t,n,i,s=!1){if(Object(o.isArray)(e))return void e.forEach((e,r)=>ln(e,t&&(Object(o.isArray)(t)?t[r]:t),n,i,s));if(Fe(i)&&!s)return;const c=4&i.shapeFlag?Tr(i.component)||i.component.proxy:i.el,a=s?null:c,{i:l,r:u}=e;const p=t&&t.r,f=l.refs===o.EMPTY_OBJ?l.refs={}:l.refs,h=l.setupState;if(null!=p&&p!==u&&(Object(o.isString)(p)?(f[p]=null,Object(o.hasOwn)(h,p)&&(h[p]=null)):Object(r.isRef)(p)&&(p.value=null)),Object(o.isFunction)(u))d(u,l,12,[a,f]);else{const t=Object(o.isString)(u),i=Object(r.isRef)(u);if(t||i){const r=()=>{if(e.f){const n=t?Object(o.hasOwn)(h,u)?h[u]:f[u]:u.value;s?Object(o.isArray)(n)&&Object(o.remove)(n,c):Object(o.isArray)(n)?n.includes(c)||n.push(c):t?(f[u]=[c],Object(o.hasOwn)(h,u)&&(h[u]=f[u])):(u.value=[c],e.k&&(f[e.k]=u.value))}else t?(f[u]=a,Object(o.hasOwn)(h,u)&&(h[u]=a)):i&&(u.value=a,e.k&&(f[e.k]=a))};a?(r.id=-1,hn(r,n)):r()}else 0}}let un=!1;const dn=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,pn=e=>8===e.nodeType;function fn(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:c,parentNode:a,remove:l,insert:u,createComment:d}}=e,p=(n,r,o,l,d,O=!1)=>{const _=pn(n)&&"["===n.data,E=()=>v(n,r,o,l,d,_),{type:S,ref:w,shapeFlag:N,patchFlag:x}=r;let T=n.nodeType;r.el=n,-2===x&&(O=!1,r.dynamicChildren=null);let j=null;switch(S){case Cn:3!==T?""===r.children?(u(r.el=i(""),a(n),n),j=n):j=E():(n.data!==r.children&&(un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),n.data=r.children),j=c(n));break;case An:b(n)?(j=c(n),y(r.el=n.content.firstChild,n,o)):j=8!==T||_?E():c(n);break;case In:if(_&&(T=(n=c(n)).nodeType),1===T||3===T){j=n;const e=!r.children.length;for(let t=0;t{a=a||!!t.dynamicChildren;const{type:u,props:d,patchFlag:p,shapeFlag:f,dirs:m,transition:v}=t,g="input"===u||"option"===u;if(g||-1!==p){m&&Se(t,null,n,"created");let u,O=!1;if(b(e)){O=On(i,v)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;O&&v.beforeEnter(r),y(r,e,n),t.el=e=r}if(16&f&&(!d||!d.innerHTML&&!d.textContent)){let r=h(e.firstChild,t,e,n,i,c,a),o=!1;for(;r;){un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!o&&(s("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),o=!0);const t=r;r=r.nextSibling,l(t)}}else 8&f&&e.textContent!==t.children&&(un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),e.textContent=t.children);if(d)if(g||!a||48&p)for(const t in d)(g&&(t.endsWith("value")||"indeterminate"===t)||Object(o.isOn)(t)&&!Object(o.isReservedProp)(t)||"."===t[0])&&r(e,t,null,d[t],void 0,void 0,n);else d.onClick&&r(e,"onClick",null,d.onClick,void 0,void 0,n);(u=d&&d.onVnodeBeforeMount)&&cr(u,n,t),m&&Se(t,null,n,"beforeMount"),((u=d&&d.onVnodeMounted)||m||O)&&le(()=>{u&&cr(u,n,t),O&&v.enter(e),m&&Se(t,null,n,"mounted")},i)}return e.nextSibling},h=(e,t,r,o,i,c,a)=>{a=a||!!t.dynamicChildren;const l=t.children,u=l.length;let d=!1;for(let t=0;t{const{slotScopeIds:s}=t;s&&(o=o?o.concat(s):s);const l=a(e),p=h(c(e),t,l,n,r,o,i);return p&&pn(p)&&"]"===p.data?c(t.anchor=p):(un=!0,u(t.anchor=d("]"),l,p),p)},v=(e,t,r,o,i,u)=>{if(un=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":pn(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),t.el=null,u){const t=g(e);for(;;){const n=c(e);if(!n||n===t)break;l(n)}}const d=c(e),p=a(e);return l(e),n(null,t,p,d,r,o,dn(p),i),d},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=c(e))&&pn(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return c(e);r--}return e},y=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},b=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&s("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),j(),void(t._vnode=e);un=!1,p(t.firstChild,e,null,null,null),j(),t._vnode=e,un&&console.error("Hydration completed but contains mismatches.")},p]}const hn=le;function mn(e){return gn(e)}function vn(e){return gn(e,fn)}function gn(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(Object(o.getGlobalThis)().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(Object(o.getGlobalThis)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);Object(o.getGlobalThis)().__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:c,createText:a,createComment:l,setText:u,setElementText:d,parentNode:p,nextSibling:f,setScopeId:h=o.NOOP,insertStaticContent:m}=e,y=(e,t,n,r=null,o=null,i=null,s,c=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!Yn(e,t)&&(r=Z(e),Y(e,o,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:d}=t;switch(l){case Cn:b(e,t,n,r);break;case An:O(e,t,n,r);break;case In:null==e&&_(t,n,r,s);break;case kn:P(e,t,n,r,o,i,s,c,a);break;default:1&d?S(e,t,n,r,o,i,s,c,a):6&d?R(e,t,n,r,o,i,s,c,a):(64&d||128&d)&&l.process(e,t,n,r,o,i,s,c,a,te)}null!=u&&o&&ln(u,e&&e.ref,i,t||e,!t)},b=(e,t,r,o)=>{if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},O=(e,t,r,o)=>{null==e?n(t.el=l(t.children||""),r,o):t.el=e.el},_=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),i(e),e=n;i(t)},S=(e,t,n,r,o,i,s,c,a)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?N(t,n,r,o,i,s,c,a):C(e,t,o,i,s,c,a)},N=(e,t,r,i,a,l,u,p)=>{let f,h;const{props:m,shapeFlag:v,transition:g,dirs:y}=e;if(f=e.el=c(e.type,l,m&&m.is,m),8&v?d(f,e.children):16&v&&k(e.children,f,null,i,a,yn(e,l),u,p),y&&Se(e,null,i,"created"),x(f,e,e.scopeId,u,i),m){for(const t in m)"value"===t||Object(o.isReservedProp)(t)||s(f,t,null,m[t],l,e.children,i,a,X);"value"in m&&s(f,"value",null,m.value,l),(h=m.onVnodeBeforeMount)&&cr(h,i,e)}y&&Se(e,null,i,"beforeMount");const b=On(a,g);b&&g.beforeEnter(f),n(f,t,r),((h=m&&m.onVnodeMounted)||b||y)&&hn(()=>{h&&cr(h,i,e),b&&g.enter(f),y&&Se(e,null,i,"mounted")},a)},x=(e,t,n,r,o)=>{if(n&&h(e,n),r)for(let t=0;t{for(let l=a;l{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:f}=t;u|=16&e.patchFlag;const h=e.props||o.EMPTY_OBJ,m=t.props||o.EMPTY_OBJ;let v;if(n&&bn(n,!1),(v=m.onVnodeBeforeUpdate)&&cr(v,n,t,e),f&&Se(t,e,n,"beforeUpdate"),n&&bn(n,!0),p?A(e.dynamicChildren,p,l,n,r,yn(t,i),c):a||B(e,t,l,null,n,r,yn(t,i),c,!1),u>0){if(16&u)I(l,t,h,m,n,r,i);else if(2&u&&h.class!==m.class&&s(l,"class",null,m.class,i),4&u&&s(l,"style",h.style,m.style,i),8&u){const o=t.dynamicProps;for(let t=0;t{v&&cr(v,n,t,e),f&&Se(t,e,n,"updated")},r)},A=(e,t,n,r,o,i,s)=>{for(let c=0;c{if(n!==r){if(n!==o.EMPTY_OBJ)for(const l in n)Object(o.isReservedProp)(l)||l in r||s(e,l,n[l],null,a,t.children,i,c,X);for(const l in r){if(Object(o.isReservedProp)(l))continue;const u=r[l],d=n[l];u!==d&&"value"!==l&&s(e,l,d,u,a,t.children,i,c,X)}"value"in r&&s(e,"value",n.value,r.value,a)}},P=(e,t,r,o,i,s,c,l,u)=>{const d=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(d,r,o),n(p,r,o),k(t.children||[],r,p,i,s,c,l,u)):f>0&&64&f&&h&&e.dynamicChildren?(A(e.dynamicChildren,h,r,i,s,c,l),(null!=t.key||i&&t===i.subTree)&&_n(e,t,!0)):B(e,t,r,p,i,s,c,l,u)},R=(e,t,n,r,o,i,s,c,a)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,a):L(t,n,r,o,i,s,a):M(e,t,a)},L=(e,t,n,r,o,i,s)=>{const c=e.component=ur(e,r,o);if(Be(e)&&(c.ctx.renderer=te),_r(c),c.asyncDep){if(o&&o.registerDep(c,D),!e.el){const e=c.subTree=Jn(An);O(null,e,t,n)}}else D(c,e,t,n,o,i,s)},M=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:c,patchFlag:a}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||q(r,s,l):!!s);if(1024&a)return!0;if(16&a)return r?q(r,s,l):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;tg&&v.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},D=(e,t,n,i,s,c,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:i,vnode:u}=e;{const n=function e(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:e(n)}(e);if(n)return t&&(t.el=u.el,V(e,t,a)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let d,f=t;0,bn(e,!1),t?(t.el=u.el,V(e,t,a)):t=u,n&&Object(o.invokeArrayFns)(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&cr(d,i,t,u),bn(e,!0);const h=W(e);0;const m=e.subTree;e.subTree=h,y(m,h,p(m.el),Z(m),e,s,c),t.el=h.el,null===f&&J(e,h.el),r&&hn(r,s),(d=t.props&&t.props.onVnodeUpdated)&&hn(()=>cr(d,i,t,u),s)}else{let r;const{el:a,props:l}=t,{bm:u,m:d,parent:p}=e,f=Fe(t);if(bn(e,!1),u&&Object(o.invokeArrayFns)(u),!f&&(r=l&&l.onVnodeBeforeMount)&&cr(r,p,t),bn(e,!0),a&&re){const n=()=>{e.subTree=W(e),re(a,e.subTree,e,s,null)};f?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{0;const r=e.subTree=W(e);0,y(null,r,n,i,e,s,c),t.el=r.el}if(d&&hn(d,s),!f&&(r=l&&l.onVnodeMounted)){const e=t;hn(()=>cr(r,p,e),s)}(256&t.shapeFlag||p&&Fe(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&hn(e.a,s),e.isMounted=!0,t=n=i=null}},u=e.effect=new r.ReactiveEffect(l,o.NOOP,()=>w(d),e.scope),d=e.update=()=>{u.dirty&&u.run()};d.id=e.uid,bn(e,!0),d()},V=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:s,attrs:c,vnode:{patchFlag:a}}=e,l=Object(r.toRaw)(s),[u]=e.propsOptions;let d=!1;if(!(i||a>0)||16&a){let r;Jt(e,t,s,c)&&(d=!0);for(const i in l)t&&(Object(o.hasOwn)(t,i)||(r=Object(o.hyphenate)(i))!==i&&Object(o.hasOwn)(t,r))||(u?!n||void 0===n[i]&&void 0===n[r]||(s[i]=Xt(u,l,i,void 0,e,!0)):delete s[i]);if(c!==l)for(const e in c)t&&Object(o.hasOwn)(t,e)||(delete c[e],d=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:r,slots:i}=e;let s=!0,c=o.EMPTY_OBJ;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(Object(o.extend)(i,t),n||1!==e||delete i._):(s=!t.$stable,cn(t,i)),c=t}else t&&(an(e,t),c={default:1});if(s)for(const e in i)rn(e)||null!=c[e]||delete i[e]})(e,t.children,n),Object(r.pauseTracking)(),T(e),Object(r.resetTracking)()},B=(e,t,n,r,o,i,s,c,a=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void U(l,p,n,r,o,i,s,c,a);if(256&f)return void $(l,p,n,r,o,i,s,c,a)}8&h?(16&u&&X(l,o,i),p!==l&&d(n,p)):16&u?16&h?U(l,p,n,r,o,i,s,c,a):X(l,o,i,!0):(8&u&&d(n,""),16&h&&k(p,n,r,o,i,s,c,a))},$=(e,t,n,r,i,s,c,a,l)=>{e=e||o.EMPTY_ARR,t=t||o.EMPTY_ARR;const u=e.length,d=t.length,p=Math.min(u,d);let f;for(f=0;fd?X(e,i,s,!0,!1,p):k(t,n,r,i,s,c,a,l,p)},U=(e,t,n,r,i,s,c,a,l)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const r=e[u],o=t[u]=l?or(t[u]):rr(t[u]);if(!Yn(r,o))break;y(r,o,n,null,i,s,c,a,l),u++}for(;u<=p&&u<=f;){const r=e[p],o=t[f]=l?or(t[f]):rr(t[f]);if(!Yn(r,o))break;y(r,o,n,null,i,s,c,a,l),p--,f--}if(u>p){if(u<=f){const e=f+1,o=ef)for(;u<=p;)Y(e[u],i,s,!0),u++;else{const h=u,m=u,v=new Map;for(u=m;u<=f;u++){const e=t[u]=l?or(t[u]):rr(t[u]);null!=e.key&&v.set(e.key,u)}let g,b=0;const O=f-m+1;let _=!1,E=0;const S=new Array(O);for(u=0;u=O){Y(r,i,s,!0);continue}let o;if(null!=r.key)o=v.get(r.key);else for(g=m;g<=f;g++)if(0===S[g-m]&&Yn(r,t[g])){o=g;break}void 0===o?Y(r,i,s,!0):(S[o-m]=u+1,o>=E?E=o:_=!0,y(r,t[o],n,null,i,s,c,a,l),b++)}const w=_?function(e){const t=e.slice(),n=[0];let r,o,i,s,c;const a=e.length;for(r=0;r>1,e[n[c]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):o.EMPTY_ARR;for(g=w.length-1,u=O-1;u>=0;u--){const e=m+u,o=t[e],p=e+1{const{el:s,type:c,transition:a,children:l,shapeFlag:u}=e;if(6&u)return void H(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void c.move(e,t,r,te);if(c===kn){n(s,t,r);for(let e=0;e{let i;for(;e&&e!==t;)i=f(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);if(2!==o&&1&u&&a)if(0===o)a.beforeEnter(s),n(s,t,r),hn(()=>a.enter(s),i);else{const{leave:e,delayLeave:o,afterLeave:i}=a,c=()=>n(s,t,r),l=()=>{e(s,()=>{c(),i&&i()})};o?o(s,c,l):l()}else n(s,t,r)},Y=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:c,children:a,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=c&&ln(c,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!Fe(e);let m;if(h&&(m=s&&s.onVnodeBeforeUnmount)&&cr(m,t,e),6&u)G(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);f&&Se(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,te,r):l&&(i!==kn||d>0&&64&d)?X(l,t,n,!1,!0):(i===kn&&384&d||!o&&16&u)&&X(a,t,n),r&&z(e)}(h&&(m=s&&s.onVnodeUnmounted)||f)&&hn(()=>{m&&cr(m,t,e),f&&Se(e,null,t,"unmounted")},n)},z=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===kn)return void K(n,r);if(t===In)return void E(e);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=f(e),i(e),e=n;i(t)},G=(e,t,n)=>{const{bum:r,scope:i,update:s,subTree:c,um:a}=e;r&&Object(o.invokeArrayFns)(r),i.stop(),s&&(s.active=!1,Y(c,e,t,n)),a&&hn(a,t),hn(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el);let Q=!1;const ee=(e,t,n)=>{null==e?t._vnode&&Y(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),Q||(Q=!0,T(),j(),Q=!1),t._vnode=e},te={p:y,um:Y,m:H,r:z,mt:L,mc:k,pc:B,pbc:A,n:Z,o:e};let ne,re;return t&&([ne,re]=t(te)),{render:ee,hydrate:ne,createApp:Wt(ee,ne)}}function yn({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function On(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _n(e,t,n=!1){const r=e.children,i=t.children;if(Object(o.isArray)(r)&&Object(o.isArray)(i))for(let e=0;ee&&(e.disabled||""===e.disabled),Sn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,wn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Nn=(e,t)=>{const n=e&&e.to;if(Object(o.isString)(n)){if(t){const e=t(n);return e}return null}return n};function xn(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:c,shapeFlag:a,children:l,props:u}=e,d=2===i;if(d&&r(s,t,n),(!d||En(u))&&16&a)for(let e=0;e{16&y&&u(b,e,t,o,i,s,c,a)};g?v(n,l):d&&v(d,p)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=En(e.props),v=m?n:u,y=m?r:f;if("svg"===s||Sn(u)?s="svg":("mathml"===s||wn(u))&&(s="mathml"),O?(p(e.dynamicChildren,O,v,o,i,s,c),_n(e,t,!0)):a||d(e,t,v,y,o,i,s,c,!1),g)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xn(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Nn(t.props,h);e&&xn(t,e,null,l,0)}else m&&xn(t,u,f,l,1)}jn(t)},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:c,children:a,anchor:l,targetAnchor:u,target:d,props:p}=e;if(d&&i(u),s&&i(l),16&c){const e=s||!En(p);for(let r=0;r0?Rn||o.EMPTY_ARR:null,Mn(),Dn>0&&Rn&&Rn.push(e),e}function $n(e,t,n,r,o,i){return Bn(qn(e,t,n,r,o,i,!0))}function Un(e,t,n,r,o){return Bn(Jn(e,t,n,r,o,!0))}function Hn(e){return!!e&&!0===e.__v_isVNode}function Yn(e,t){return e.type===t.type&&e.key===t.key}function Wn(e){Fn=e}const zn="__vInternal",Kn=({key:e})=>null!=e?e:null,Gn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Object(o.isString)(e)||Object(r.isRef)(e)||Object(o.isFunction)(e)?{i:D,r:e,k:t,f:!!n}:e:null);function qn(e,t=null,n=null,r=0,i=null,s=(e===kn?0:1),c=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Kn(t),ref:t&&Gn(t),scopeId:V,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:D};return a?(ir(l,n),128&s&&e.normalize(l)):n&&(l.shapeFlag|=Object(o.isString)(n)?8:16),Dn>0&&!c&&Rn&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&Rn.push(l),l}const Jn=Xn;function Xn(e,t=null,n=null,i=0,s=null,c=!1){if(e&&e!==Z||(e=An),Hn(e)){const r=Qn(e,t,!0);return n&&ir(r,n),Dn>0&&!c&&Rn&&(6&r.shapeFlag?Rn[Rn.indexOf(e)]=r:Rn.push(r)),r.patchFlag|=-2,r}if(Ar(e)&&(e=e.__vccOpts),t){t=Zn(t);let{class:e,style:n}=t;e&&!Object(o.isString)(e)&&(t.class=Object(o.normalizeClass)(e)),Object(o.isObject)(n)&&(Object(r.isProxy)(n)&&!Object(o.isArray)(n)&&(n=Object(o.extend)({},n)),t.style=Object(o.normalizeStyle)(n))}return qn(e,t,n,i,s,Object(o.isString)(e)?1:re(e)?128:(e=>e.__isTeleport)(e)?64:Object(o.isObject)(e)?4:Object(o.isFunction)(e)?2:0,c,!0)}function Zn(e){return e?Object(r.isProxy)(e)||zn in e?Object(o.extend)({},e):e:null}function Qn(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:c}=e,a=t?sr(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Kn(a),ref:t&&t.ref?n&&i?Object(o.isArray)(i)?i.concat(Gn(t)):[i,Gn(t)]:Gn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==kn?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function er(e=" ",t=0){return Jn(Cn,null,e,t)}function tr(e,t){const n=Jn(In,null,e);return n.staticCount=t,n}function nr(e="",t=!1){return t?(Ln(),Un(An,null,e)):Jn(An,null,e)}function rr(e){return null==e||"boolean"==typeof e?Jn(An):Object(o.isArray)(e)?Jn(kn,null,e.slice()):"object"==typeof e?or(e):Jn(Cn,null,String(e))}function or(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Qn(e)}function ir(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(Object(o.isArray)(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),ir(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||zn in t?3===r&&D&&(1===D.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=D}}else Object(o.isFunction)(t)?(t={default:t,_ctx:D},n=32):(t=String(t),64&r?(n=16,t=[er(t)]):n=8);e.children=t,e.shapeFlag|=n}function sr(...e){const t={};for(let n=0;ndr||D;let fr,hr;{const e=Object(o.getGlobalThis)(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};fr=t("__VUE_INSTANCE_SETTERS__",e=>dr=e),hr=t("__VUE_SSR_SETTERS__",e=>Or=e)}const mr=e=>{const t=dr;return fr(e),e.scope.on(),()=>{e.scope.off(),fr(t)}},vr=()=>{dr&&dr.scope.off(),fr(null)};function gr(e){return 4&e.vnode.shapeFlag}let yr,br,Or=!1;function _r(e,t=!1){t&&hr(t);const{props:n,children:i}=e.vnode,s=gr(e);!function(e,t,n,i=!1){const s={},c={};Object(o.def)(c,zn,1),e.propsDefaults=Object.create(null),Jt(e,t,s,c);for(const t in e.propsOptions[0])t in s||(s[t]=void 0);n?e.props=i?s:Object(r.shallowReactive)(s):e.type.props?e.props=s:e.props=c,e.attrs=c}(e,n,s,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Object(r.toRaw)(t),Object(o.def)(t,"_",n)):cn(t,e.slots={})}else e.slots={},t&&an(e,t);Object(o.def)(e.slots,zn,1)})(e,i);const c=s?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=Object(r.markRaw)(new Proxy(e.ctx,ht)),!1;const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?xr(e):null,s=mr(e);Object(r.pauseTracking)();const c=d(i,e,0,[e.props,n]);if(Object(r.resetTracking)(),s(),Object(o.isPromise)(c)){if(c.then(vr,vr),t)return c.then(n=>{Er(e,n,t)}).catch(t=>{f(t,e,0)});e.asyncDep=c}else Er(e,c,t)}else Nr(e,t)}(e,t):void 0;return t&&hr(!1),c}function Er(e,t,n){Object(o.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(o.isObject)(t)&&(e.setupState=Object(r.proxyRefs)(t)),Nr(e,n)}function Sr(e){yr=e,br=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,mt))}}const wr=()=>!yr;function Nr(e,t,n){const i=e.type;if(!e.render){if(!t&&yr&&!i.render){const t=i.template||Lt(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:c}=i,a=Object(o.extend)(Object(o.extend)({isCustomElement:n,delimiters:s},r),c);i.render=yr(t,a)}}e.render=i.render||o.NOOP,br&&br(e)}if(__VUE_OPTIONS_API__){const t=mr(e);Object(r.pauseTracking)();try{It(e)}finally{Object(r.resetTracking)(),t()}}}function xr(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Object(r.track)(e,"get","$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}function Tr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Object(r.proxyRefs)(Object(r.markRaw)(e.exposed)),{get:(t,n)=>n in t?t[n]:n in pt?pt[n](e):void 0,has:(e,t)=>t in e||t in pt}))}const jr=/(?:^|[-_])(\w)/g;function kr(e,t=!0){return Object(o.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Cr(e,t,n=!1){let r=kr(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(jr,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function Ar(e){return Object(o.isFunction)(e)&&"__vccOpts"in e}const Ir=(e,t)=>Object(r.computed)(e,t,Or);function Pr(e,t,n=o.EMPTY_OBJ){const i=pr();const s=Object(o.camelize)(t),c=Object(o.hyphenate)(t),a=Object(r.customRef)((r,a)=>{let l;return me(()=>{const n=e[t];Object(o.hasChanged)(l,n)&&(l=n,a())}),{get:()=>(r(),n.get?n.get(l):l),set(e){const r=i.vnode.props;r&&(t in r||s in r||c in r)&&("onUpdate:"+t in r||"onUpdate:"+s in r||"onUpdate:"+c in r)||!Object(o.hasChanged)(e,l)||(l=e,a()),i.emit("update:"+t,n.set?n.set(e):e)}}}),l="modelValue"===t?"modelModifiers":t+"Modifiers";return a[Symbol.iterator]=()=>{let t=0;return{next:()=>t<2?{value:t++?e[l]||{}:a,done:!1}:{done:!0}}},a}function Rr(e,t,n){const r=arguments.length;return 2===r?Object(o.isObject)(t)&&!Object(o.isArray)(t)?Hn(t)?Jn(e,null,[t]):Jn(e,t):Jn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Hn(n)&&(n=[n]),Jn(e,t,n))}function Lr(){return void 0}function Mr(e,t,n,r){const o=n[r];if(o&&Fr(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function Fr(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&Rn&&Rn.push(e),!0}const Dr="3.4.21",Vr=o.NOOP,Br=u,$r=I,Ur=function e(t,n){var r,o;if(I=t,I)I.enabled=!0,P.forEach(({event:e,args:t})=>I.emit(e,...t)),P=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{e(t,n)}),setTimeout(()=>{I||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,R=!0,P=[])},3e3)}else R=!0,P=[]},Hr={createComponentInstance:ur,setupComponent:_r,renderComponentRoot:W,setCurrentRenderingInstance:B,isVNode:Hn,normalizeVNode:rr},Yr=null,Wr=null,zr=null},"../../packages/hippy-vue-next/node_modules/@vue/shared/dist/shared.esm-bundler.js":function(e,t,n){"use strict";n.r(t),function(e){ +const o=["mode","valueType","startValue","toValue"],i=["transform"],s=["transform"];function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof o){var s=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,s)),o.apply(this,e)}))}return e[Symbol.replace].call(this,n,o)},d.apply(this,arguments)}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var h=n(0),m=n(7);const v={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},g=(...e)=>`\\(\\s*(${e.join(")\\s*,\\s*(")})\\s*\\)`,y="[-+]?\\d*\\.?\\d+",b={rgb:new RegExp("rgb"+g(y,y,y)),rgba:new RegExp("rgba"+g(y,y,y,y)),hsl:new RegExp("hsl"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),hsla:new RegExp("hsla"+g(y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",y)),hex3:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex4:/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},O=e=>{const t=parseInt(e,10);return t<0?0:t>255?255:t},_=e=>{const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)},E=(e,t,n)=>{let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e},S=(e,t,n)=>{const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=E(o,r,e+1/3),s=E(o,r,e),c=E(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*c)<<8},w=e=>(parseFloat(e)%360+360)%360/360,N=e=>{const t=parseFloat(e);return t<0?0:t>100?1:t/100};function T(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=b.hex6.exec(e),Array.isArray(t)?parseInt(t[1]+"ff",16)>>>0:Object.hasOwnProperty.call(v,e)?v[e]:(t=b.rgb.exec(e),Array.isArray(t)?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|255)>>>0:(t=b.rgba.exec(e),t?(O(t[1])<<24|O(t[2])<<16|O(t[3])<<8|_(t[4]))>>>0:(t=b.hex3.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=b.hex8.exec(e),t?parseInt(t[1],16)>>>0:(t=b.hex4.exec(e),t?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=b.hsl.exec(e),t?(255|S(w(t[1]),N(t[2]),N(t[3])))>>>0:(t=b.hsla.exec(e),t?(S(w(t[1]),N(t[2]),N(t[3]))|_(t[4]))>>>0:null))))))))}(e);if(null===t)throw new Error("Bad color value: "+e);return t=(t<<24|t>>>8)>>>0,t}const x={textDecoration:"textDecorationLine",boxShadowOffset:"shadowOffset",boxShadowOffsetX:"shadowOffsetX",boxShadowOffsetY:"shadowOffsetY",boxShadowOpacity:"shadowOpacity",boxShadowRadius:"shadowRadius",boxShadowSpread:"shadowSpread",boxShadowColor:"shadowColor"},j={totop:"0",totopright:"totopright",toright:"90",tobottomright:"tobottomright",tobottom:"180",tobottomleft:"tobottomleft",toleft:"270",totopleft:"totopleft"},A="turn",C="rad",I="deg",k=/\/\*[\s\S]{0,1000}?\*\//gm;const P=new RegExp("^(?=.+)[+-]?\\d*\\.?\\d*([Ee][+-]?\\d+)?$");function R(e){if(Number.isInteger(e))return e;if("string"==typeof e&&e.endsWith("px")){const t=parseFloat(e.slice(0,e.indexOf("px")));Number.isNaN(t)||(e=t)}return e}function M(e){const t=(e||"").replace(/\s*/g,"").toLowerCase(),n=d(/^([+-]?(?=(\d+))\2\.?\d*)+(deg|turn|rad)|(to\w+)$/g,{digit:2}).exec(t);if(!Array.isArray(n))return"";let r="180";const[o,i,s]=n;return i&&s?r=function(e,t=I){const n=parseFloat(e);let r=e||"";const[,o]=e.split(".");switch(o&&o.length>2&&(r=n.toFixed(2)),t){case A:r=""+(360*n).toFixed(2);break;case C:r=""+(180/Math.PI*n).toFixed(2)}return r}(i,s):o&&void 0!==j[o]&&(r=j[o]),r}function L(e=""){const t=e.replace(/\s+/g," ").trim(),[n,r]=t.split(/\s+(?![^(]*?\))/),o=/^([+-]?\d+\.?\d*)%$/g;return!n||o.exec(n)||r?n&&o.exec(r)?{ratio:parseFloat(r.split("%")[0])/100,color:T(n)}:null:{color:T(n)}}function F(e,t){let n=t,r=e;if(0===t.indexOf("linear-gradient")){r="linearGradient";const e=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*?\))/),o=[];n={},e.forEach((e,t)=>{if(0===t){const t=M(e);if(t)n.angle=t;else{n.angle="180";const t=L(e);t&&o.push(t)}}else{const t=L(e);t&&o.push(t)}}),n.colorStopList=o}else{const e=/(?:\(['"]?)(.*?)(?:['"]?\))/.exec(t);e&&e.length>1&&([,n]=e)}return[r,n]}class D{constructor(){this.changeMap=new Map}addAttribute(e,t){const n=this.properties(e);n.attributes||(n.attributes=new Set),n.attributes.add(t)}addPseudoClass(e,t){const n=this.properties(e);n.pseudoClasses||(n.pseudoClasses=new Set),n.pseudoClasses.add(t)}properties(e){let t=this.changeMap.get(e);return t||this.changeMap.set(e,t={}),t}}class V{constructor(e){this.id={},this.class={},this.type={},this.universal=[],this.position=0,this.ruleSets=e,e.forEach(e=>e.lookupSort(this))}static removeFromMap(e,t,n){const r=e[t],o=r.findIndex(e=>{var t;return e.sel.ruleSet.hash===(null===(t=n.ruleSet)||void 0===t?void 0:t.hash)});-1!==o&&r.splice(o,1)}append(e){this.ruleSets=this.ruleSets.concat(e),e.forEach(e=>e.lookupSort(this))}delete(e){const t=[];this.ruleSets=this.ruleSets.filter(n=>n.hash!==e||(t.push(n),!1)),t.forEach(e=>e.removeSort(this))}query(e,t){const{tagName:n,id:r,classList:o,props:i}=e;let s=r,c=o;if(null==i?void 0:i.attributes){const{attributes:e}=i;c=new Set(((null==e?void 0:e.class)||"").split(" ").filter(e=>e.trim())),s=e.id}const a=[this.universal,this.id[s],this.type[n]];(null==c?void 0:c.size)&&c.forEach(e=>a.push(this.class[e]));const l=a.filter(e=>!!e).reduce((e,t)=>e.concat(t),[]),u=new D;return u.selectors=l.filter(n=>n.sel.accumulateChanges(e,u,t)).sort((e,t)=>e.sel.specificity-t.sel.specificity||e.pos-t.pos).map(e=>e.sel),u}removeById(e,t){V.removeFromMap(this.id,e,t)}sortById(e,t){this.addToMap(this.id,e,t)}removeByClass(e,t){V.removeFromMap(this.class,e,t)}sortByClass(e,t){this.addToMap(this.class,e,t)}removeByType(e,t){V.removeFromMap(this.type,e,t)}sortByType(e,t){this.addToMap(this.type,e,t)}removeAsUniversal(e){const t=this.universal.findIndex(t=>{var n,r;return(null===(n=t.sel.ruleSet)||void 0===n?void 0:n.hash)===(null===(r=e.ruleSet)||void 0===r?void 0:r.hash)});-1!==t&&this.universal.splice(t)}sortAsUniversal(e){this.universal.push(this.makeDocSelector(e))}addToMap(e,t,n){this.position+=1;const r=e[t];r?r.push(this.makeDocSelector(n)):e[t]=[this.makeDocSelector(n)]}makeDocSelector(e){return this.position+=1,{sel:e,pos:this.position}}}function B(e){return e?" "+e:""}function $(e,t){return t?(null==e?void 0:e.pId)&&t[e.pId]?t[e.pId]:null:null==e?void 0:e.parentNode}class U{constructor(){this.specificity=0}lookupSort(e,t){e.sortAsUniversal(null!=t?t:this)}removeSort(e,t){e.removeAsUniversal(null!=t?t:this)}}class H extends U{constructor(){super(...arguments),this.rarity=0}accumulateChanges(e,t){return this.dynamic?!!this.mayMatch(e)&&(this.trackChanges(e,t),!0):this.match(e)}match(e){return!!e}mayMatch(e){return this.match(e)}trackChanges(e,t){}}class Y extends H{constructor(e){super(),this.specificity=e.reduce((e,t)=>t.specificity+e,0),this.head=e.reduce((e,t)=>!e||e instanceof H&&t.rarity>e.rarity?t:e,null),this.dynamic=e.some(e=>e.dynamic),this.selectors=e}toString(){return`${this.selectors.join("")}${B(this.combinator)}`}match(e){return!!e&&this.selectors.every(t=>t.match(e))}mayMatch(e){return!!e&&this.selectors.every(t=>t.mayMatch(e))}trackChanges(e,t){this.selectors.forEach(n=>n.trackChanges(e,t))}lookupSort(e,t){this.head&&this.head instanceof H&&this.head.lookupSort(e,null!=t?t:this)}removeSort(e,t){this.head&&this.head instanceof H&&this.head.removeSort(e,null!=t?t:this)}}class W extends H{constructor(){super(),this.specificity=0,this.rarity=0,this.dynamic=!1}toString(){return"*"+B(this.combinator)}match(){return!0}}class z extends H{constructor(e){super(),this.specificity=65536,this.rarity=3,this.dynamic=!1,this.id=e}toString(){return`#${this.id}${B(this.combinator)}`}match(e){var t,n;return!!e&&((null===(n=null===(t=e.props)||void 0===t?void 0:t.attributes)||void 0===n?void 0:n.id)===this.id||e.id===this.id)}lookupSort(e,t){e.sortById(this.id,null!=t?t:this)}removeSort(e,t){e.removeById(this.id,null!=t?t:this)}}class K extends H{constructor(e){super(),this.specificity=1,this.rarity=1,this.dynamic=!1,this.cssType=e}toString(){return`${this.cssType}${B(this.combinator)}`}match(e){return!!e&&e.tagName===this.cssType}lookupSort(e,t){e.sortByType(this.cssType,null!=t?t:this)}removeSort(e,t){e.removeByType(this.cssType,null!=t?t:this)}}class G extends H{constructor(e){super(),this.specificity=256,this.rarity=2,this.dynamic=!1,this.className=e}toString(){return`.${this.className}${B(this.combinator)}`}match(e){var t,n,r;if(!e)return!1;const o=null!==(t=e.classList)&&void 0!==t?t:new Set(((null===(r=null===(n=e.props)||void 0===n?void 0:n.attributes)||void 0===r?void 0:r.class)||"").split(" ").filter(e=>e.trim()));return!(!o.size||!o.has(this.className))}lookupSort(e,t){e.sortByClass(this.className,null!=t?t:this)}removeSort(e,t){e.removeByClass(this.className,null!=t?t:this)}}class q extends H{constructor(e){super(),this.specificity=256,this.rarity=0,this.dynamic=!0,this.cssPseudoClass=e}toString(){return`:${this.cssPseudoClass}${B(this.combinator)}`}match(){return!1}mayMatch(){return!0}trackChanges(e,t){t.addPseudoClass(e,this.cssPseudoClass)}}const J=(e,t)=>{var n,r,o;const i=(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n[t])||(null===(r=null==e?void 0:e.attributes)||void 0===r?void 0:r[t]);return void 0!==i?i:Array.isArray(null==e?void 0:e.styleScopeId)&&(null===(o=null==e?void 0:e.styleScopeId)||void 0===o?void 0:o.includes(t))?t:void 0};class X extends H{constructor(e,t="",n=""){super(),this.attribute="",this.test="",this.value="",this.specificity=256,this.rarity=0,this.dynamic=!0,this.attribute=e,this.test=t,this.value=n,this.match=t?n?r=>{if(!r||!(null==r?void 0:r.attributes)&&!(null==r?void 0:r.props[e]))return!1;const o=""+J(r,e);if("="===t)return o===n;if("^="===t)return o.startsWith(n);if("$="===t)return o.endsWith(n);if("*="===t)return-1!==o.indexOf(n);if("~="===t){const e=o.split(" ");return-1!==(null==e?void 0:e.indexOf(n))}return"|="===t&&(o===n||o.startsWith(n+"-"))}:()=>!1:t=>!(!t||!(null==t?void 0:t.attributes)&&!(null==t?void 0:t.props))&&!function(e){return null==e}(J(t,e))}toString(){return`[${this.attribute}${B(this.test)}${this.test&&this.value||""}]${B(this.combinator)}`}match(e){return!!e&&!e}mayMatch(){return!0}trackChanges(e,t){t.addAttribute(e,this.attribute)}}class Z extends H{constructor(e){super(),this.specificity=0,this.rarity=4,this.dynamic=!1,this.combinator=void 0,this.error=e}toString(){return``}match(){return!1}lookupSort(){return null}removeSort(){return null}}class Q{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.parentNode),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.parentNode),e&&n.trackChanges(e,t)})}}class ee{constructor(e){this.selectors=e,this.dynamic=e.some(e=>e.dynamic)}match(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.match(e)))?e:null}mayMatch(e){if(!e)return!1;return this.selectors.every((t,n)=>(0!==n&&(e=e.nextSibling),!!e&&t.mayMatch(e)))?e:null}trackChanges(e,t){this.selectors.forEach((n,r)=>{0!==r&&(e=e.nextSibling),e&&n.trackChanges(e,t)})}}class te extends U{constructor(e){super();const t=[void 0," ",">","+","~"];let n=[],r=[];const o=[],i=[...e],s=i.length-1;this.specificity=0,this.dynamic=!1;for(let e=s;e>=0;e--){const s=i[e];if(-1===t.indexOf(s.combinator))throw console.error(`Unsupported combinator "${s.combinator}".`),new Error(`Unsupported combinator "${s.combinator}".`);void 0!==s.combinator&&" "!==s.combinator||o.push(r=[n=[]]),">"===s.combinator&&r.push(n=[]),this.specificity+=s.specificity,s.dynamic&&(this.dynamic=!0),n.push(s)}this.groups=o.map(e=>new Q(e.map(e=>new ee(e)))),this.last=i[s]}toString(){return this.selectors.join("")}match(e,t){return!!e&&this.groups.every((n,r)=>{if(0===r)return!!(e=n.match(e));let o=$(e,t);for(;o;){if(e=n.match(o))return!0;o=$(o,t)}return!1})}lookupSort(e){this.last.lookupSort(e,this)}removeSort(e){this.last.removeSort(e,this)}accumulateChanges(e,t,n){if(!this.dynamic)return this.match(e,n);const r=[],o=this.groups.every((t,o)=>{if(0===o){const n=t.mayMatch(e);return r.push({left:e,right:e}),!!(e=n)}let i=$(e,n);for(;i;){const o=t.mayMatch(i);if(o)return r.push({left:i,right:null}),e=o,!0;i=$(i,n)}return!1});if(!o)return!1;if(!t)return o;for(let e=0;e(e.ruleSet=this,null)),this.selectors=e,this.declarations=t,this.hash=n}toString(){return`${this.selectors.join(", ")} {${this.declarations.map((e,t)=>`${0===t?" ":""}${e.property}: ${e.value}`).join("; ")}}`}lookupSort(e){this.selectors.forEach(t=>t.lookupSort(e))}removeSort(e){this.selectors.forEach(t=>t.removeSort(e))}}const re=(()=>{try{return!!new RegExp("foo","y")}catch(e){return!1}})(),oe={whiteSpaceRegEx:"\\s*",universalSelectorRegEx:"\\*",simpleIdentifierSelectorRegEx:"(#|\\.|:|\\b)([_-\\w][_-\\w\\d]*)",attributeSelectorRegEx:"\\[\\s*([_-\\w][_-\\w\\d]*)\\s*(?:(=|\\^=|\\$=|\\*=|\\~=|\\|=)\\s*(?:([_-\\w][_-\\w\\d]*)|\"((?:[^\\\\\"]|\\\\(?:\"|n|r|f|\\\\|0-9a-f))*)\"|'((?:[^\\\\']|\\\\(?:'|n|r|f|\\\\|0-9a-f))*)')\\s*)?\\]",combinatorRegEx:"\\s*(\\+|~|>)?\\s*"},ie={};function se(e,t,n){let r="";re&&(r="gy"),ie[e]||(ie[e]=new RegExp(oe[e],r));const o=ie[e];let i;if(re)o.lastIndex=n,i=o.exec(t);else{if(t=t.slice(n,t.length),i=o.exec(t),!i)return{result:null,regexp:o};o.lastIndex=n+i[0].length}return{result:i,regexp:o}}function ce(e,t){var n,r;return null!==(r=null!==(n=function(e,t){const{result:n,regexp:r}=se("universalSelectorRegEx",e,t);return n?{value:{type:"*"},start:t,end:r.lastIndex}:null}(e,t))&&void 0!==n?n:function(e,t){const{result:n,regexp:r}=se("simpleIdentifierSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex;return{value:{type:n[1],identifier:n[2]},start:t,end:o}}(e,t))&&void 0!==r?r:function(e,t){const{result:n,regexp:r}=se("attributeSelectorRegEx",e,t);if(!n)return null;const o=r.lastIndex,i=n[1];if(n[2]){return{value:{type:"[]",property:i,test:n[2],value:n[3]||n[4]||n[5]},start:t,end:o}}return{value:{type:"[]",property:i},start:t,end:o}}(e,t)}function ae(e,t){let n=ce(e,t);if(!n)return null;let{end:r}=n;const o=[];for(;n;)o.push(n.value),({end:r}=n),n=ce(e,r);return{start:t,end:r,value:o}}function le(e,t){const{result:n,regexp:r}=se("combinatorRegEx",e,t);if(!n)return null;let o;o=re?r.lastIndex:t;return{start:t,end:o,value:n[1]||" "}}const ue=e=>e;function de(e){return"declaration"===e.type}function fe(e){return t=>e(t)}function pe(e){switch(e.type){case"*":return new W;case"#":return new z(e.identifier);case"":return new K(e.identifier.replace(/-/,"").toLowerCase());case".":return new G(e.identifier);case":":return new q(e.identifier);case"[]":return e.test?new X(e.property,e.test,e.value):new X(e.property);default:return new Z(new Error("Unknown selector."))}}function he(e){return 0===e.length?new Z(new Error("Empty simple selector sequence.")):1===e.length?pe(e[0]):new Y(e.map(pe))}function me(e){try{const t=function(e,t){let n=t;const{result:r,regexp:o}=se("whiteSpaceRegEx",e,t);r&&(n=o.lastIndex);const i=[];let s,c,a=!0,l=[void 0,void 0];return c=re?[e]:e.split(" "),c.forEach(e=>{if(!re){if(""===e)return;n=0}do{const t=ae(e,n);if(!t){if(a)return;break}({end:n}=t),s&&(l[1]=s.value),l=[t.value,void 0],i.push(l),s=le(e,n),s&&({end:n}=s),a=!(!s||" "===s.value)}while(s)}),{start:t,end:n,value:i}}(e,0);return t?function(e){if(0===e.length)return new Z(new Error("Empty selector."));if(1===e.length)return he(e[0][0]);const t=[];for(const n of e){const e=he(n[0]),r=n[1];r&&e&&(e.combinator=r),t.push(e)}return new te(t)}(t.value):new Z(new Error("Empty selector"))}catch(e){return new Z(e)}}let ve;function ge(e){var t;return!e||!(null===(t=null==e?void 0:e.ruleSets)||void 0===t?void 0:t.length)}function ye(t,n){if(t){if(!ge(ve))return ve;const e=function(e=[],t){return e.map(e=>{let n=e[0],r=e[1];return r=r.map(e=>{const[t,n]=e;return{type:"declaration",property:t,value:n}}).map(fe(null!=t?t:ue)),n=n.map(me),new ne(n,r,"")})}(t,n);return ve=new V(e),ve}const r=e[be];if(ge(ve)||r){const t=function(e=[],t){return e.map(e=>{if(!Array.isArray(e))return e;const[t,n,r]=e;return{hash:t,selectors:n,declarations:r.map(([e,t])=>({type:"declaration",property:e,value:t}))}}).map(e=>{const n=e.declarations.filter(de).map(fe(null!=t?t:ue)),r=e.selectors.map(me);return new ne(r,n,e.hash)})}(r);ve?ve.append(t):ve=new V(t),e[be]=void 0}return e[Oe]&&(e[Oe].forEach(e=>{ve.delete(e)}),e[Oe]=void 0),ve}const be="__HIPPY_VUE_STYLES__",Oe="__HIPPY_VUE_DISPOSE_STYLES__";let _e=Object.create(null);const Ee={$on:(e,t,n)=>(Array.isArray(e)?e.forEach(e=>{Ee.$on(e,t,n)}):(_e[e]||(_e[e]=[]),_e[e].push({fn:t,ctx:n})),Ee),$once(e,t,n){function r(...o){Ee.$off(e,r),t.apply(n,o)}return r._=t,Ee.$on(e,r),Ee},$emit(e,...t){const n=(_e[e]||[]).slice(),r=n.length;for(let e=0;e{Ee.$off(e,t)}),Ee;const n=_e[e];if(!n)return Ee;if(!t)return _e[e]=null,Ee;let r;const o=n.length;for(let e=0;ee;function Pe(){return ke}let Re=(e,t)=>{};function Me(e,t){const n=new Map;return Array.isArray(e)?e.forEach(([e,t])=>{n.set(e,t),n.set(t,e)}):(n.set(e,t),n.set(t,e)),n}function Le(e){let t=e;return/^assets/.test(t)&&(t="hpfile://./"+t),t}function Fe(e){return"on"+h.capitalize(e)}function De(e){const t={};return e.forEach(e=>{if(Array.isArray(e)){const n=Fe(e[0]),r=Fe(e[1]);Object.prototype.hasOwnProperty.call(this.$attrs,n)&&(this.$attrs[r]||(t[r]=this.$attrs[n]))}}),t}function Ve(e,t){return!(!t||!e)&&e.match(t)}function Be(e){return e.split(" ").filter(e=>e.trim())}var $e;const Ue=["%c[native]%c","color: red","color: auto"],He={},{bridge:{callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze},device:{platform:{OS:Ke,Localization:Ge={}},screen:{scale:qe}},device:Je,document:Xe,register:Ze,asyncStorage:Qe}=null!==($e=e.Hippy)&&void 0!==$e?$e:{device:{platform:{Localization:{}},window:{},screen:{}},bridge:{},register:{},document:{},asyncStorage:{}},et=async(e,t)=>{const n={top:-1,left:-1,bottom:-1,right:-1,width:-1,height:-1};if(!e.isMounted||!e.nodeId)return Promise.resolve(n);const{nodeId:r}=e;return xe(...Ue,"callUIFunction",{nodeId:r,funcName:t,params:[]}),new Promise(e=>Xe.callUIFunction(r,t,[],t=>{if(!t||"object"!=typeof t||void 0===r)return e(n);const{x:o,y:i,height:s,width:c}=t;return e({top:i,left:o,width:c,height:s,bottom:i+s,right:o+c})}))},tt=new Map,nt={Localization:Ge,hippyNativeDocument:Xe,hippyNativeRegister:Ze,Platform:Ke,PixelRatio:qe,ConsoleModule:e.ConsoleModule||e.console,callNative:Ye,callNativeWithPromise:We,callNativeWithCallbackId:ze,AsyncStorage:Qe,callUIFunction(...e){const[t,n,...r]=e;if(!(null==t?void 0:t.nodeId))return;const{nodeId:o}=t;let[i=[],s]=r;"function"==typeof i&&(s=i,i=[]),xe(...Ue,"callUIFunction",{nodeId:o,funcName:n,params:i}),Xe.callUIFunction(o,n,i,s)},Clipboard:{getString(){return nt.callNativeWithPromise.call(this,"ClipboardModule","getString")},setString(e){nt.callNative.call(this,"ClipboardModule","setString",e)}},Cookie:{getAll(e){if(!e)throw new TypeError("Native.Cookie.getAll() must have url argument");return nt.callNativeWithPromise.call(this,"network","getCookie",e)},set(e,t,n){if(!e)throw new TypeError("Native.Cookie.set() must have url argument");let r="";n&&(r=n.toUTCString()),nt.callNative.call(this,"network","setCookie",e,t,r)}},ImageLoader:{getSize(e){return nt.callNativeWithPromise.call(this,"ImageLoaderModule","getSize",e)},prefetch(e){nt.callNative.call(this,"ImageLoaderModule","prefetch",e)}},get Dimensions(){const{screen:e}=Je,{statusBarHeight:t}=e;return{window:Je.window,screen:l(l({},e),{},{statusBarHeight:t})}},get Device(){var t;return void 0===He.Device&&(nt.isIOS()?(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Device)?He.Device=e.__HIPPYNATIVEGLOBAL__.Device:He.Device="iPhone":nt.isAndroid()?He.Device="Android device":He.Device="Unknown device"),He.Device},get screenIsVertical(){return nt.Dimensions.window.width"android"===nt.Platform,isIOS:()=>"ios"===nt.Platform,measureInWindow:e=>et(e,"measureInWindow"),measureInAppWindow:e=>nt.isAndroid()?et(e,"measureInWindow"):et(e,"measureInAppWindow"),getBoundingClientRect(e,t){const{nodeId:n}=e;return new Promise((r,o)=>{if(!e.isMounted||!n)return o(new Error(`getBoundingClientRect cannot get nodeId of ${e} or ${e} is not mounted`));xe(...Ue,"UIManagerModule",{nodeId:n,funcName:"getBoundingClientRect",params:t}),Xe.callUIFunction(n,"getBoundingClientRect",[t],e=>{if(!e||e.errMsg)return o(new Error((null==e?void 0:e.errMsg)||"getBoundingClientRect error with no response"));const{x:t,y:n,width:i,height:s}=e;let c=void 0,a=void 0;return"number"==typeof n&&"number"==typeof s&&(c=n+s),"number"==typeof t&&"number"==typeof i&&(a=t+i),r({x:t,y:n,width:i,height:s,bottom:c,right:a,left:t,top:n})})})},NetInfo:{fetch:()=>nt.callNativeWithPromise("NetInfo","getCurrentConnectivity").then(({network_info:e})=>e),addEventListener(e,t){let n=e;return"change"===n&&(n="networkStatusDidChange"),0===tt.size&&nt.callNative("NetInfo","addListener",n),Ee.$on(n,t),tt.set(t,t),{eventName:e,listener:t,remove(){this.eventName&&this.listener&&(nt.NetInfo.removeEventListener(this.eventName,this.listener),this.listener=void 0)}}},removeEventListener(e,t){if(null==t?void 0:t.remove)return void t.remove();let n=e;"change"===e&&(n="networkStatusDidChange"),tt.size<=1&&nt.callNative("NetInfo","removeListener",n);const r=tt.get(t);r&&(Ee.$off(n,r),tt.delete(t),tt.size<1&&nt.callNative("NetInfo","removeListener",n))}},get isIPhoneX(){if(void 0===He.isIPhoneX){let e=!1;nt.isIOS()&&(e=20!==nt.Dimensions.screen.statusBarHeight),He.isIPhoneX=e}return He.isIPhoneX},get OnePixel(){if(void 0===He.OnePixel){const e=nt.PixelRatio;let t=Math.round(.4*e)/e;t||(t=1/e),He.OnePixel=t}return He.OnePixel},get APILevel(){var t,n;return nt.isAndroid()&&(null===(n=null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.Platform)||void 0===n?void 0:n.APILevel)?e.__HIPPYNATIVEGLOBAL__.Platform.APILevel:(je(),null)},get OSVersion(){var t;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?e.__HIPPYNATIVEGLOBAL__.OSVersion:null},get SDKVersion(){var t,n;return nt.isIOS()&&(null===(t=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===t?void 0:t.OSVersion)?null===(n=null==e?void 0:e.__HIPPYNATIVEGLOBAL__)||void 0===n?void 0:n.SDKVersion:null},parseColor(e){var t;if(Number.isInteger(e))return e;const n=null!==(t=He.COLOR_PARSER)&&void 0!==t?t:He.COLOR_PARSER=Object.create(null);return n[e]||(n[e]=T(e)),n[e]},getElemCss(e){const t=Object.create(null);try{ye(void 0,Pe()).query(e).selectors.forEach(n=>{Ve(n,e)&&n.ruleSet.declarations.forEach(e=>{t[e.property]=e.value})})}catch(e){je()}return t},version:"unspecified"},rt=new Set;let ot=!1;const it={exitApp(){nt.callNative("DeviceEventModule","invokeDefaultBackPressHandler")},addListener:e=>(ot||(ot=!0,it.initEventListener()),nt.callNative("DeviceEventModule","setListenBackPress",!0),rt.add(e),{remove(){it.removeListener(e)}}),removeListener(e){rt.delete(e),0===rt.size&&nt.callNative("DeviceEventModule","setListenBackPress",!1)},initEventListener(){Ee.$on("hardwareBackPress",()=>{let e=!0;Array.from(rt).reverse().forEach(t=>{"function"==typeof t&&t()&&(e=!1)}),e&&it.exitApp()})}},st={exitApp(){},addListener:()=>({remove(){}}),removeListener(){},initEventListener(){}},ct=nt.isAndroid()?it:st,at=new Map;function lt(e,t){if(!e)throw new Error("tagName can not be empty");const n=Ae(e);at.has(n)||at.set(n,t.component)}function ut(e){const t=Ae(e),n=h.camelize(e).toLowerCase();return at.get(t)||at.get(n)}const dt=new Map,ft={number:"numeric",text:"default",search:"web-search"},pt={role:"accessibilityRole","aria-label":"accessibilityLabel","aria-disabled":{jointKey:"accessibilityState",name:"disabled"},"aria-selected":{jointKey:"accessibilityState",name:"selected"},"aria-checked":{jointKey:"accessibilityState",name:"checked"},"aria-busy":{jointKey:"accessibilityState",name:"busy"},"aria-expanded":{jointKey:"accessibilityState",name:"expanded"},"aria-valuemin":{jointKey:"accessibilityValue",name:"min"},"aria-valuemax":{jointKey:"accessibilityValue",name:"max"},"aria-valuenow":{jointKey:"accessibilityValue",name:"now"},"aria-valuetext":{jointKey:"accessibilityValue",name:"text"}},ht={component:{name:we.View,eventNamesMap:Me([["touchStart","onTouchDown"],["touchstart","onTouchDown"],["touchmove","onTouchMove"],["touchend","onTouchEnd"],["touchcancel","onTouchCancel"]]),attributeMaps:l({},pt),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y,(null==t?void 0:t.contentSize)&&(o.scrollHeight=t.contentSize.height,o.scrollWidth=t.contentSize.width);break;case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":o.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":o.isFocused=t.focus}return o}}},mt={component:{name:we.View,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData}},vt={component:{name:we.View}},gt={component:{name:we.Image,eventNamesMap:ht.component.eventNamesMap,processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onTouchDown":case"onTouchMove":case"onTouchEnd":case"onTouchCancel":n.touches={0:{clientX:t.page_x,clientY:t.page_y},length:1};break;case"onFocus":n.isFocused=t.focus;break;case"onLoad":{const{width:e,height:r,url:o}=t;n.width=e,n.height=r,n.url=o;break}}return n},defaultNativeStyle:{backgroundColor:0},attributeMaps:l({placeholder:{name:"defaultSource",propsValue(e){const t=Le(e);return(null==t?void 0:t.indexOf(Se))<0&&["https://","http://"].some(e=>0===t.indexOf(e))&&je(),t}},src:e=>Le(e)},pt)}},yt={component:{name:we.ListView,defaultNativeStyle:{flex:1},attributeMaps:l({},pt),eventNamesMap:Me("listReady","initialListReady"),processEventData(e,t){var n,r;const{handler:o,__evt:i}=e;switch(i){case"onScroll":case"onScrollBeginDrag":case"onScrollEndDrag":case"onMomentumScrollBegin":case"onMomentumScrollEnd":o.offsetX=null===(n=t.contentOffset)||void 0===n?void 0:n.x,o.offsetY=null===(r=t.contentOffset)||void 0===r?void 0:r.y;break;case"onDelete":o.index=t.index}return o}}},bt={component:{name:we.ListViewItem,attributeMaps:l({},pt),eventNamesMap:Me([["disappear","onDisappear"]])}},Ot={component:{name:we.Text,attributeMaps:ht.component.attributeMaps,eventNamesMap:ht.component.eventNamesMap,processEventData:ht.component.processEventData,defaultNativeProps:{text:""},defaultNativeStyle:{color:4278190080}}},_t=Ot,Et=Ot,St={component:l(l({},Ot.component),{},{defaultNativeStyle:{color:4278190318},attributeMaps:{href:{name:"href",propsValue:e=>["//","http://","https://"].filter(t=>0===e.indexOf(t)).length?(je(),""):e}}})},wt={component:{name:we.TextInput,attributeMaps:l({type:{name:"keyboardType",propsValue(e){const t=ft[e];return t||e}},disabled:{name:"editable",propsValue:e=>!e},value:"defaultValue",maxlength:"maxLength"},pt),nativeProps:{numberOfLines:1,multiline:!1},defaultNativeProps:{underlineColorAndroid:0},defaultNativeStyle:{padding:0,color:4278190080},eventNamesMap:Me([["change","onChangeText"],["select","onSelectionChange"]]),processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onChangeText":case"onEndEditing":n.value=t.text;break;case"onSelectionChange":n.start=t.selection.start,n.end=t.selection.end;break;case"onKeyboardWillShow":n.keyboardHeight=t.keyboardHeight;break;case"onContentSizeChange":n.width=t.contentSize.width,n.height=t.contentSize.height}return n}}},Nt={component:{name:we.TextInput,defaultNativeProps:l(l({},wt.component.defaultNativeProps),{},{numberOfLines:5}),attributeMaps:l(l({},wt.component.attributeMaps),{},{rows:"numberOfLines"}),nativeProps:{multiline:!0},defaultNativeStyle:wt.component.defaultNativeStyle,eventNamesMap:wt.component.eventNamesMap,processEventData:wt.component.processEventData}},Tt={component:{name:we.WebView,defaultNativeProps:{method:"get",userAgent:""},attributeMaps:{src:{name:"source",propsValue:e=>({uri:e})}},processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onLoad":case"onLoadStart":n.url=t.url;break;case"onLoadEnd":n.url=t.url,n.success=t.success,n.error=t.error}return n}}};dt.set("div",ht),dt.set("button",mt),dt.set("form",vt),dt.set("img",gt),dt.set("ul",yt),dt.set("li",bt),dt.set("span",Ot),dt.set("label",_t),dt.set("p",Et),dt.set("a",St),dt.set("input",wt),dt.set("textarea",Nt),dt.set("iframe",Tt);var xt={install(){dt.forEach((e,t)=>{lt(t,e)})}};function jt(){const{Localization:e}=nt;return!!e&&1===e.direction}const At=0,Ct=1,It={onClick:"click",onLongClick:"longclick",onPressIn:"pressin",onPressOut:"pressout",onTouchDown:"touchstart",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchMove:"touchmove",onTouchCancel:"touchcancel"},kt={NONE:0,CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};const Pt="addEventListener",Rt="removeEventListener";let Mt;function Lt(){return Mt}function Ft(e,t){Mt[e]=t}class Dt{constructor(e){this.target=null,this.currentTarget=null,this.originalTarget=null,this.bubbles=!0,this.cancelable=!0,this.eventPhase=0,this.isCanceled=!1,this.type=e,this.timeStamp=Date.now()}get canceled(){return this.isCanceled}stopPropagation(){this.bubbles=!1}preventDefault(){if(this.cancelable){if(this.isCanceled)return;this.isCanceled=!0}}}class Vt extends Dt{}function Bt(e){return"string"==typeof e.value}const $t=new Map;function Ut(e,t){$t.set(t,e)}function Ht(e){$t.delete(e)}function Yt(e){return $t.get(e)||null}function Wt(t){var n,r;n=e=>{(e.timeRemaining()>0||e.didTimeout)&&function e(t){var n;"number"==typeof t?Ht(t):t&&(Ht(t.nodeId),null===(n=t.childNodes)||void 0===n||n.forEach(t=>e(t)))}(t)},r={timeout:50},e.requestIdleCallback?e.requestIdleCallback(n,r):setTimeout(()=>{n({didTimeout:!1,timeRemaining:()=>1/0})},1)}function zt(e=[],t=0){let n=e[t];for(let r=t;r-1){let e;if("onLayout"===o){e=new Vt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{layout:{x:t,y:n,height:r,width:o}}=s;e.top=n,e.left=t,e.bottom=n+r,e.right=t+o,e.width=o,e.height=r}else{e=new Dt(i),Object.assign(e,{eventPhase:c,nativeParams:null!=s?s:{}});const{processEventData:t}=l.component;t&&t({__evt:o,handler:e},s)}a.dispatchEvent(function(e,t,n){return function(e){return["onTouchDown","onTouchMove","onTouchEnd","onTouchCancel"].indexOf(e)>=0}(e)&&Object.assign(t,{touches:{0:{clientX:n.page_x,clientY:n.page_y},length:1}}),t}(o,e,s),l,t)}}catch(e){console.error("receiveComponentEvent error",e)}else je(...Gt,"receiveComponentEvent","currentTargetNode or targetNode not exist")}};e.__GLOBAL__&&(e.__GLOBAL__.jsModuleList.EventDispatcher=qt);class Jt{constructor(){this.listeners={}}static indexOfListener(e,t,n){return e.findIndex(e=>n?e.callback===t&&h.looseEqual(e.options,n):e.callback===t)}addEventListener(e,t,n){const r=e.split(","),o=r.length;for(let e=0;e=0&&e.splice(r,1),e.length||(this.listeners[o]=void 0)}}}else this.listeners[o]=void 0}}emitEvent(e){var t,n;const{type:r}=e,o=this.listeners[r];if(o)for(let r=o.length-1;r>=0;r-=1){const i=o[r];(null===(t=i.options)||void 0===t?void 0:t.once)&&o.splice(r,1),(null===(n=i.options)||void 0===n?void 0:n.thisArg)?i.callback.apply(i.options.thisArg,[e]):i.callback(e)}}getEventListenerList(){return this.listeners}}var Xt;!function(e){e[e.CREATE=0]="CREATE",e[e.UPDATE=1]="UPDATE",e[e.DELETE=2]="DELETE",e[e.MOVE=3]="MOVE",e[e.UPDATE_EVENT=4]="UPDATE_EVENT"}(Xt||(Xt={}));let Zt=!1,Qt=[];function en(e=[],t){e.forEach(e=>{if(e){const{id:n,eventList:r}=e;r.forEach(e=>{const{name:r,type:o,listener:i}=e;let s;s=function(e){return!!It[e]}(r)?It[r]:function(e){return e.replace(/^(on)?/g,"").toLocaleLowerCase()}(r),o===Ct&&t.removeEventListener(n,s,i),o===At&&(t.removeEventListener(n,s,i),t.addEventListener(n,s,i))})}})}function tn(e,t){0}function nn(){Zt||(Zt=!0,0!==Qt.length?m.nextTick().then(()=>{const t=function(e){const t=[];for(const n of e){const{type:e,nodes:r,eventNodes:o,printedNodes:i}=n,s=t[t.length-1];s&&s.type===e?(s.nodes=s.nodes.concat(r),s.eventNodes=s.eventNodes.concat(o),s.printedNodes=s.printedNodes.concat(i)):t.push({type:e,nodes:r,eventNodes:o,printedNodes:i})}return t}(Qt),{rootViewId:n}=Lt(),r=new e.Hippy.SceneBuilder(n);t.forEach(e=>{switch(e.type){case Xt.CREATE:tn(e.printedNodes),r.create(e.nodes,!0),en(e.eventNodes,r);break;case Xt.UPDATE:tn(e.printedNodes),r.update(e.nodes),en(e.eventNodes,r);break;case Xt.DELETE:tn(e.printedNodes),r.delete(e.nodes);break;case Xt.MOVE:tn(e.printedNodes),r.move(e.nodes);break;case Xt.UPDATE_EVENT:en(e.eventNodes,r)}}),r.build(),Zt=!1,Qt=[]}):Zt=!1)}var rn;function on(e){let t;const n=e.events;if(n){const r=[];Object.keys(n).forEach(e=>{const{name:t,type:o,isCapture:i,listener:s}=n[e];r.push({name:t,type:o,isCapture:i,listener:s})}),t={id:e.nodeId,eventList:r}}return t}!function(e){e[e.ElementNode=1]="ElementNode",e[e.TextNode=3]="TextNode",e[e.CommentNode=8]="CommentNode",e[e.DocumentNode=4]="DocumentNode"}(rn||(rn={}));class sn extends Jt{constructor(e,t){var n;super(),this.isMounted=!1,this.events={},this.childNodes=[],this.parentNode=null,this.prevSibling=null,this.nextSibling=null,this.tagComponent=null,this.nodeId=null!==(n=null==t?void 0:t.id)&&void 0!==n?n:sn.getUniqueNodeId(),this.nodeType=e,this.isNeedInsertToNative=function(e){return e===rn.ElementNode}(e),(null==t?void 0:t.id)&&(this.isMounted=!0)}static getUniqueNodeId(){return e.hippyUniqueId||(e.hippyUniqueId=0),e.hippyUniqueId+=1,e.hippyUniqueId%10==0&&(e.hippyUniqueId+=1),e.hippyUniqueId}get firstChild(){return this.childNodes.length?this.childNodes[0]:null}get lastChild(){const e=this.childNodes.length;return e?this.childNodes[e-1]:null}get component(){return this.tagComponent}get index(){let e=0;if(this.parentNode){e=this.parentNode.childNodes.filter(e=>e.isNeedInsertToNative).indexOf(this)}return e}isRootNode(){return 1===this.nodeId}hasChildNodes(){return!!this.childNodes.length}insertBefore(e,t){const n=e,r=t;if(!n)throw new Error("No child to insert");if(!r)return void this.appendChild(n);if(n.parentNode&&n.parentNode!==this)throw new Error("Can not insert child, because the child node is already has a different parent");let o=this;r.parentNode!==this&&(o=r.parentNode);const i=o.childNodes.indexOf(r);let s=r;r.isNeedInsertToNative||(s=zt(this.childNodes,i)),n.parentNode=o,n.nextSibling=r,n.prevSibling=o.childNodes[i-1],o.childNodes[i-1]&&(o.childNodes[i-1].nextSibling=n),r.prevSibling=n,o.childNodes.splice(i,0,n),s.isNeedInsertToNative?this.insertChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}moveChild(e,t){const n=e,r=t;if(!n)throw new Error("No child to move");if(!r)return void this.appendChild(n);if(r.parentNode&&r.parentNode!==this)throw new Error("Can not move child, because the anchor node is already has a different parent");if(n.parentNode&&n.parentNode!==this)throw new Error("Can't move child, because it already has a different parent");const o=this.childNodes.indexOf(n),i=this.childNodes.indexOf(r);let s=r;if(r.isNeedInsertToNative||(s=zt(this.childNodes,i)),i===o)return;n.nextSibling=r,n.prevSibling=r.prevSibling,r.prevSibling=n,this.childNodes[i-1]&&(this.childNodes[i-1].nextSibling=n),this.childNodes[i+1]&&(this.childNodes[i+1].prevSibling=n),this.childNodes[o-1]&&(this.childNodes[o-1].nextSibling=this.childNodes[o+1]),this.childNodes[o+1]&&(this.childNodes[o+1].prevSibling=this.childNodes[o-1]),this.childNodes.splice(o,1);const c=this.childNodes.indexOf(r);this.childNodes.splice(c,0,n),s.isNeedInsertToNative?this.moveChildNativeNode(n,{refId:s.nodeId,relativeToRef:Kt}):this.insertChildNativeNode(n)}appendChild(e,t=!1){const n=e;if(!n)throw new Error("No child to append");this.lastChild!==n&&(n.parentNode&&n.parentNode!==this?n.parentNode.removeChild(n):(n.isMounted&&!t&&this.removeChild(n),n.parentNode=this,this.lastChild&&(n.prevSibling=this.lastChild,this.lastChild.nextSibling=n),this.childNodes.push(n),t?Ut(n,n.nodeId):this.insertChildNativeNode(n)))}removeChild(e){const t=e;if(!t)throw new Error("Can't remove child.");if(!t.parentNode)throw new Error("Can't remove child, because it has no parent.");if(t.parentNode!==this)return void t.parentNode.removeChild(t);if(!t.isNeedInsertToNative)return;t.prevSibling&&(t.prevSibling.nextSibling=t.nextSibling),t.nextSibling&&(t.nextSibling.prevSibling=t.prevSibling),t.prevSibling=null,t.nextSibling=null;const n=this.childNodes.indexOf(t);this.childNodes.splice(n,1),this.removeChildNativeNode(t)}findChild(e){if(e(this))return this;if(this.childNodes.length)for(const t of this.childNodes){const n=this.findChild.call(t,e);if(n)return n}return null}eachNode(e){e&&e(this),this.childNodes.length&&this.childNodes.forEach(t=>{this.eachNode.call(t,e)})}insertChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;const n=this.isRootNode()&&!this.isMounted,r=this.isMounted&&!e.isMounted;if(n||r){const r=n?this:e;!function([e,t,n]){Qt.push({type:Xt.CREATE,nodes:e,eventNodes:t,printedNodes:n}),nn()}(r.convertToNativeNodes(!0,t)),r.eachNode(e=>{const t=e;!t.isMounted&&t.isNeedInsertToNative&&(t.isMounted=!0),Ut(t,t.nodeId)})}}moveChildNativeNode(e,t={}){if(!e||!e.isNeedInsertToNative)return;if(t&&t.refId===e.nodeId)return;!function([e,,t]){e&&(Qt.push({type:Xt.MOVE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(e.convertToNativeNodes(!1,t))}removeChildNativeNode(e){if(!e||!e.isNeedInsertToNative)return;const t=e;t.isMounted&&(t.isMounted=!1,function([e,,t]){e&&(Qt.push({type:Xt.DELETE,nodes:e,eventNodes:[],printedNodes:t}),nn())}(t.convertToNativeNodes(!1,{})))}updateNativeNode(e=!1){if(!this.isMounted)return;!function([e,t,n]){e&&(Qt.push({type:Xt.UPDATE,nodes:e,eventNodes:t,printedNodes:n}),nn())}(this.convertToNativeNodes(e,{}))}updateNativeEvent(){if(!this.isMounted)return;!function(e){Qt.push({type:Xt.UPDATE_EVENT,nodes:[],eventNodes:[e],printedNodes:[]}),nn()}(on(this))}convertToNativeNodes(e,t={},n){var r,o;if(!this.isNeedInsertToNative)return[[],[],[]];if(e){const e=[],n=[],r=[];return this.eachNode(o=>{const[i,s,c]=o.convertToNativeNodes(!1,t);Array.isArray(i)&&i.length&&e.push(...i),Array.isArray(s)&&s.length&&n.push(...s),Array.isArray(c)&&c.length&&r.push(...c)}),[e,n,r]}if(!this.component)throw new Error("tagName is not supported yet");const{rootViewId:i}=Lt(),s=null!=n?n:{},c=l({id:this.nodeId,pId:null!==(o=null===(r=this.parentNode)||void 0===r?void 0:r.nodeId)&&void 0!==o?o:i},s),a=on(this);let u=void 0;return[[[c,t]],[a],[u]]}}class cn extends sn{constructor(e,t){super(rn.TextNode,t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}setText(e){this.text=e,this.parentNode&&this.parentNode.nodeType===rn.ElementNode&&this.parentNode.setText(e)}}function an(e,t){if("string"!=typeof e)return;const n=e.split(",");for(let e=0,r=n.length;e{t[n]=function(e){let t=e;if("string"!=typeof t||!t.endsWith("rem"))return t;if(t=parseFloat(t),Number.isNaN(t))return e;const{ratioBaseWidth:n}=Lt(),{width:r}=nt.Dimensions.screen;return 100*t*(r/n)}(e[n])}):t=e,t}get component(){return this.tagComponent||(this.tagComponent=ut(this.tagName)),this.tagComponent}isRootNode(){const{rootContainer:e}=Lt();return super.isRootNode()||this.id===e}appendChild(e,t=!1){e instanceof cn&&this.setText(e.text,{notToNative:!0}),super.appendChild(e,t)}insertBefore(e,t){e instanceof cn&&this.setText(e.text,{notToNative:!0}),super.insertBefore(e,t)}moveChild(e,t){e instanceof cn&&this.setText(e.text,{notToNative:!0}),super.moveChild(e,t)}removeChild(e){e instanceof cn&&this.setText("",{notToNative:!0}),super.removeChild(e)}hasAttribute(e){return!!this.attributes[e]}getAttribute(e){return this.attributes[e]}removeAttribute(e){delete this.attributes[e]}setAttribute(e,t,n={}){let r=t,o=e;try{if("boolean"==typeof this.attributes[o]&&""===r&&(r=!0),void 0===o)return void(!n.notToNative&&this.updateNativeNode());switch(o){case"class":{const e=new Set(Be(r));if(function(e,t){if(e.size!==t.size)return!1;const n=e.values();let r=n.next().value;for(;r;){if(!t.has(r))return!1;r=n.next().value}return!0}(this.classList,e))return;return this.classList=e,void(!n.notToNative&&this.updateNativeNode(!0))}case"id":if(r===this.id)return;return this.id=r,void(!n.notToNative&&this.updateNativeNode(!0));case"text":case"value":case"defaultValue":case"placeholder":if("string"!=typeof r)try{r=r.toString()}catch(e){je(e.message)}n&&n.textUpdate||(r="string"!=typeof(i=r)?i:void 0===Te||Te?i.trim():i),r=r.replace(/\\u[\dA-F]{4}|\\x[\dA-F]{2}/gi,e=>String.fromCharCode(parseInt(e.replace(/\\u|\\x/g,""),16)));break;case"numberOfRows":if(!nt.isIOS())return;break;case"caretColor":case"caret-color":o="caret-color",r=nt.parseColor(r);break;case"break-strategy":o="breakStrategy";break;case"placeholderTextColor":case"placeholder-text-color":o="placeholderTextColor",r=nt.parseColor(r);break;case"underlineColorAndroid":case"underline-color-android":o="underlineColorAndroid",r=nt.parseColor(r);break;case"nativeBackgroundAndroid":{const e=r;void 0!==e.color&&(e.color=nt.parseColor(e.color)),o="nativeBackgroundAndroid",r=e;break}}if(this.attributes[o]===r)return;this.attributes[o]=r,"function"==typeof this.filterAttribute&&this.filterAttribute(this.attributes),!n.notToNative&&this.updateNativeNode()}catch(e){0}var i}setText(e,t={}){return this.setAttribute("text",e,{notToNative:!!t.notToNative})}removeStyle(e=!1){this.style={},e||this.updateNativeNode()}setStyles(e){e&&"object"==typeof e&&(Object.keys(e).forEach(t=>{const n=e[t];this.setStyle(t,n,!0)}),this.updateNativeNode())}setStyle(e,t,n=!1){if(void 0===t)return delete this.style[e],void(n||this.updateNativeNode());let{property:r,value:o}=this.beforeLoadStyle({property:e,value:t});switch(r){case"fontWeight":"string"!=typeof o&&(o=o.toString());break;case"backgroundImage":[r,o]=F(r,o);break;case"textShadowOffsetX":case"textShadowOffsetY":[r,o]=function(e,t=0,n){var r;const o=n;return o.textShadowOffset=null!==(r=o.textShadowOffset)&&void 0!==r?r:{},Object.assign(o.textShadowOffset,{[{textShadowOffsetX:"width",textShadowOffsetY:"height"}[e]]:t}),["textShadowOffset",o.textShadowOffset]}(r,o,this.style);break;case"textShadowOffset":{const{x:e=0,width:t=0,y:n=0,height:r=0}=null!=o?o:{};o={width:e||t,height:n||r};break}default:Object.prototype.hasOwnProperty.call(x,r)&&(r=x[r]),"string"==typeof o&&(o=o.trim(),o=r.toLowerCase().indexOf("color")>=0?nt.parseColor(o):o.endsWith("px")?parseFloat(o.slice(0,o.length-2)):function(e){if("number"==typeof e)return e;if(Ie.test(e))try{return parseFloat(e)}catch(e){}return e}(o))}null!=o&&this.style[r]!==o&&(this.style[r]=o,n||this.updateNativeNode())}scrollToPosition(e=0,t=0,n=1e3){if("number"!=typeof e||"number"!=typeof t)return;let r=n;!1===r&&(r=0),nt.callUIFunction(this,"scrollToWithOptions",[{x:e,y:t,duration:r}])}scrollTo(e,t,n){if("object"==typeof e&&e){const{left:t,top:n,behavior:r="auto",duration:o}=e;this.scrollToPosition(t,n,"none"===r?0:o)}else this.scrollToPosition(e,t,n)}setListenerHandledType(e,t){this.events[e]&&(this.events[e].handledType=t)}isListenerHandled(e,t){return!this.events[e]||t===this.events[e].handledType}getNativeEventName(e){let t="on"+Ce(e);if(this.component){const{eventNamesMap:n}=this.component;(null==n?void 0:n.get(e))&&(t=n.get(e))}return t}addEventListener(e,t,n){let r=e,o=t,i=n,s=!0;"scroll"!==r||this.getAttribute("scrollEventThrottle")>0||(this.attributes.scrollEventThrottle=200);const c=this.getNativeEventName(r);this.attributes[c]&&(s=!1),"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Pt,r,o,i)),super.addEventListener(r,o,i),an(r,e=>{const t=this.getNativeEventName(e);var n,r;this.events[t]?this.events[t]&&this.events[t].type!==At&&(this.events[t].type=At):this.events[t]={name:t,type:At,listener:(n=t,r=e,e=>{const{id:t,currentId:o,params:i,eventPhase:s}=e,c={id:t,nativeName:n,originalName:r,currentId:o,params:i,eventPhase:s};qt.receiveComponentEvent(c,e)}),isCapture:!1}}),s&&this.updateNativeEvent()}removeEventListener(e,t,n){let r=e,o=t,i=n;"function"==typeof this.polyfillNativeEvents&&({eventNames:r,callback:o,options:i}=this.polyfillNativeEvents(Rt,r,o,i)),super.removeEventListener(r,o,i),an(r,e=>{const t=this.getNativeEventName(e);this.events[t]&&(this.events[t].type=Ct)});const s=this.getNativeEventName(r);this.attributes[s]&&delete this.attributes[s],this.updateNativeEvent()}dispatchEvent(e,t,n){const r=e;r.currentTarget=this,r.target||(r.target=t||this,Bt(r)&&(r.target.value=r.value)),this.emitEvent(r),!r.bubbles&&n&&n.stopPropagation()}convertToNativeNodes(e,t={}){if(!this.isNeedInsertToNative)return[[],[],[]];if(e)return super.convertToNativeNodes(!0,t);let n=this.getNativeStyles();if(this.parentNode&&this.parentNode instanceof ln){const e=this.parentNode.processedStyle;["color","fontSize","fontWeight","fontFamily","fontStyle","textAlign","lineHeight"].forEach(t=>{!n[t]&&e[t]&&(n[t]=e[t])})}if(Re(this,n),this.component.defaultNativeStyle){const{defaultNativeStyle:e}=this.component,t={};Object.keys(e).forEach(n=>{this.getAttribute(n)||(t[n]=e[n])}),n=l(l({},t),n)}this.processedStyle=n;const r={name:this.component.name,props:l(l({},this.getNativeProps()),{},{style:n}),tagName:this.tagName};return function(e,t){const n=t;e.component.name===we.TextInput&&jt()&&(n.textAlign||(n.textAlign="right"))}(this,n),function(e,t,n){const r=t,o=n;e.component.name===we.View&&("scroll"===o.overflowX&&"scroll"===o.overflowY&&je(),"scroll"===o.overflowY?r.name="ScrollView":"scroll"===o.overflowX&&(r.name="ScrollView",r.props&&(r.props.horizontal=!0),o.flexDirection=jt()?"row-reverse":"row"),"ScrollView"===r.name&&(1!==e.childNodes.length&&je(),e.childNodes.length&&e.nodeType===rn.ElementNode&&e.childNodes[0].setStyle("collapsable",!1)),o.backgroundImage&&(o.backgroundImage=Le(o.backgroundImage)))}(this,r,n),super.convertToNativeNodes(!1,t,r)}repaintWithChildren(){this.updateNativeNode(!0)}setNativeProps(e){if(e){const{style:t}=e;this.setStyles(t)}}setPressed(e){nt.callUIFunction(this,"setPressed",[e])}setHotspot(e,t){nt.callUIFunction(this,"setHotspot",[e,t])}setStyleScope(e){const t="string"!=typeof e?e.toString():e;t&&!this.scopedIdList.includes(t)&&this.scopedIdList.push(t)}get styleScopeId(){return this.scopedIdList}getInlineStyle(){const e={};return Object.keys(this.style).forEach(t=>{const n=m.toRaw(this.style[t]);void 0!==n&&(e[t]=n)}),e}getNativeStyles(){let e={};return ye(void 0,Pe()).query(this).selectors.forEach(t=>{var n,r;Ve(t,this)&&(null===(r=null===(n=t.ruleSet)||void 0===n?void 0:n.declarations)||void 0===r?void 0:r.length)&&t.ruleSet.declarations.forEach(t=>{t.property&&(e[t.property]=t.value)})}),this.ssrInlineStyle&&(e=l(l({},e),this.ssrInlineStyle)),e=ln.parseRem(l(l({},e),this.getInlineStyle())),e}getNativeProps(){const e={},{defaultNativeProps:t}=this.component;t&&Object.keys(t).forEach(n=>{if(void 0===this.getAttribute(n)){const r=t[n];e[n]=h.isFunction(r)?r(this):m.toRaw(r)}}),Object.keys(this.attributes).forEach(t=>{var n;let r=m.toRaw(this.getAttribute(t));if(!this.component.attributeMaps||!this.component.attributeMaps[t])return void(e[t]=m.toRaw(r));const o=this.component.attributeMaps[t];if(h.isString(o))return void(e[o]=m.toRaw(r));if(h.isFunction(o))return void(e[t]=m.toRaw(o(r)));const{name:i,propsValue:s,jointKey:c}=o;h.isFunction(s)&&(r=s(r)),c?(e[c]=null!==(n=e[c])&&void 0!==n?n:{},Object.assign(e[c],{[i]:m.toRaw(r)})):e[i]=m.toRaw(r)});const{nativeProps:n}=this.component;return n&&Object.keys(n).forEach(t=>{e[t]=m.toRaw(n[t])}),e}getNodeAttributes(){var e;try{const t=function e(t,n=new WeakMap){if("object"!=typeof t||null===t)throw new TypeError("deepCopy data is object");if(n.has(t))return n.get(t);const r={};return Object.keys(t).forEach(o=>{const i=t[o];"object"!=typeof i||null===i?r[o]=i:Array.isArray(i)?r[o]=[...i]:i instanceof Set?r[o]=new Set([...i]):i instanceof Map?r[o]=new Map([...i]):(n.set(t,t),r[o]=e(i,n))}),r}(this.attributes),n=Array.from(null!==(e=this.classList)&&void 0!==e?e:[]).join(" "),r=l({id:this.id,hippyNodeId:""+this.nodeId,class:n},t);return delete r.text,delete r.value,Object.keys(r).forEach(e=>{"id"!==e&&"hippyNodeId"!==e&&"class"!==e&&delete r[e]}),r}catch(e){return{}}}getNativeEvents(){const e={},t=this.getEventListenerList(),n=Object.keys(t);if(n.length){const{eventNamesMap:r}=this.component;n.forEach(n=>{const o=null==r?void 0:r.get(n);if(o)e[o]=!!t[n];else{const r="on"+Ce(n);e[r]=!!t[n]}})}return e}hackSpecialIssue(){this.fixVShowDirectiveIssue()}fixVShowDirectiveIssue(){var e;let t=null!==(e=this.style.display)&&void 0!==e?e:void 0;Object.defineProperty(this.style,"display",{enumerable:!0,configurable:!0,get:()=>t,set:e=>{t=void 0===e?"flex":e,this.updateNativeNode()}})}}function un(t){const n={valueType:void 0,delay:0,startValue:0,toValue:0,duration:0,direction:"center",timingFunction:"linear",repeatCount:0,inputRange:[],outputRange:[]};function r(e,t){return"color"===e&&["number","string"].indexOf(typeof t)>=0?nt.parseColor(t):t}function a(e){return"loop"===e?-1:e}function u(t){const{mode:i="timing",valueType:s,startValue:u,toValue:d}=t,f=c(t,o),p=l(l({},n),f);void 0!==s&&(p.valueType=t.valueType),p.startValue=r(p.valueType,u),p.toValue=r(p.valueType,d),p.repeatCount=a(p.repeatCount),p.mode=i;const h=new e.Hippy.Animation(p),m=h.getId();return{animation:h,animationId:m}}function d(t,n={}){const r={};return Object.keys(t).forEach(o=>{if(Array.isArray(t[o])){const i=t[o],{repeatCount:s}=i[i.length-1],c=i.map(e=>{const{animationId:t,animation:r}=u(l(l({},e),{},{repeatCount:0}));return Object.assign(n,{[t]:r}),{animationId:t,follow:!0}}),{animationId:d,animation:f}=function(t,n=0){const r=new e.Hippy.AnimationSet({children:t,repeatCount:n}),o=r.getId();return{animation:r,animationId:o}}(c,a(s));r[o]={animationId:d},Object.assign(n,{[d]:f})}else{const e=t[o],{animationId:i,animation:s}=u(e);Object.assign(n,{[i]:s}),r[o]={animationId:i}}}),r}function f(e){const{transform:t}=e,n=c(e,i);let r=Object.keys(n).map(t=>e[t].animationId);if(Array.isArray(t)&&t.length>0){const e=[];t.forEach(t=>Object.keys(t).forEach(n=>{if(t[n]){const{animationId:r}=t[n];"number"==typeof r&&r%1==0&&e.push(r)}})),r=[...r,...e]}return r}t.component("Animation",{props:{tag:{type:String,default:"div"},playing:{type:Boolean,default:!1},actions:{type:Object,required:!0},props:Object},data:()=>({style:{},animationIds:[],animationIdsMap:{},animationEventMap:{}}),watch:{playing(e,t){!t&&e?this.start():t&&!e&&this.pause()},actions(){this.destroy(),this.create(),setTimeout(()=>{const e=this.$attrs[Fe("actionsDidUpdate")];"function"==typeof e&&e()})}},created(){this.animationEventMap={start:"animationstart",end:"animationend",repeat:"animationrepeat",cancel:"animationcancel"}},beforeMount(){this.create()},mounted(){const{playing:e}=this.$props;e&&setTimeout(()=>{this.start()},0)},beforeDestroy(){this.destroy()},deactivated(){this.pause()},activated(){this.resume()},methods:{create(){const e=this.$props,{actions:{transform:t}}=e,n=c(e.actions,s);this.animationIdsMap={};const r=d(n,this.animationIdsMap);if(t){const e=d(t,this.animationIdsMap);r.transform=Object.keys(e).map(t=>({[t]:e[t]}))}this.$alreadyStarted=!1,this.style=r},removeAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&"function"==typeof this[""+n]&&t.removeEventListener(n)})})},addAnimationEvent(){this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);t&&Object.keys(this.animationEventMap).forEach(e=>{if("function"!=typeof this.$attrs[Fe(e)])return;const n=this.animationEventMap[e];n&&t.addEventListener(n,()=>{this.$emit(e)})})})},reset(){this.$alreadyStarted=!1},start(){this.$alreadyStarted?this.resume():(this.animationIds=f(this.style),this.$alreadyStarted=!0,this.removeAnimationEvent(),this.addAnimationEvent(),this.animationIds.forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.start()}))},resume(){f(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.resume()})},pause(){if(!this.$alreadyStarted)return;f(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.pause()})},destroy(){this.removeAnimationEvent(),this.$alreadyStarted=!1;f(this.style).forEach(e=>{const t=m.toRaw(this.animationIdsMap[e]);null==t||t.destroy()})}},render(){return m.h(this.tag,l({useAnimation:!0,style:this.style,tag:this.$props.tag},this.$props.props),this.$slots.default?this.$slots.default():null)}})}const dn=["dialog","hi-pull-header","hi-pull-footer","hi-swiper","hi-swiper-slider","hi-waterfall","hi-waterfall-item","hi-ul-refresh-wrapper","hi-refresh-wrapper-item"];var fn={install(e){un(e),lt("dialog",{component:{name:"Modal",defaultNativeProps:{transparent:!0,immersionStatusBar:!0,collapsable:!1,autoHideStatusBar:!1,autoHideNavigationBar:!1},defaultNativeStyle:{position:"absolute"}}}),function(e){const{callUIFunction:t}=nt;[["Header","header"],["Footer","footer"]].forEach(([n,r])=>{lt("hi-pull-"+r,{component:{name:`Pull${n}View`,processEventData(e,t){const{handler:r,__evt:o}=e;switch(o){case`on${n}Released`:case`on${n}Pulling`:Object.assign(r,t)}return r}}}),e.component("pull-"+r,{methods:{["expandPull"+n](){t(this.$refs.instance,"expandPull"+n)},["collapsePull"+n](e){"Header"===n&&void 0!==e?t(this.$refs.instance,`collapsePull${n}WithOptions`,[e]):t(this.$refs.instance,"collapsePull"+n)},onLayout(e){this.$contentHeight=e.height},[`on${n}Released`](e){this.$emit("released",e)},[`on${n}Pulling`](e){e.contentOffset>this.$contentHeight?"pulling"!==this.$lastEvent&&(this.$lastEvent="pulling",this.$emit("pulling",e)):"idle"!==this.$lastEvent&&(this.$lastEvent="idle",this.$emit("idle",e))}},render(){const{onReleased:e,onPulling:t,onIdle:o}=this.$attrs,i={onLayout:this.onLayout};return"function"==typeof e&&(i[`on${n}Released`]=this[`on${n}Released`]),"function"!=typeof t&&"function"!=typeof o||(i[`on${n}Pulling`]=this[`on${n}Pulling`]),m.h("hi-pull-"+r,l(l({},i),{},{ref:"instance"}),this.$slots.default?this.$slots.default():null)}})})}(e),function(e){lt("hi-ul-refresh-wrapper",{component:{name:"RefreshWrapper"}}),lt("hi-refresh-wrapper-item",{component:{name:"RefreshWrapperItemView"}}),e.component("UlRefreshWrapper",{props:{bounceTime:{type:Number,defaultValue:100}},methods:{startRefresh(){nt.callUIFunction(this.$refs.refreshWrapper,"startRefresh",null)},refreshCompleted(){nt.callUIFunction(this.$refs.refreshWrapper,"refreshComplected",null)}},render(){return m.h("hi-ul-refresh-wrapper",{ref:"refreshWrapper"},this.$slots.default?this.$slots.default():null)}}),e.component("UlRefresh",{render(){const e=m.h("div",null,this.$slots.default?this.$slots.default():null);return m.h("hi-refresh-wrapper-item",{style:{position:"absolute",left:0,right:0}},e)}})}(e),function(e){lt("hi-waterfall",{component:{name:"WaterfallView",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onExposureReport":n.exposureInfo=t.exposureInfo;break;case"onScroll":{const{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s}=t;Object.assign(n,{startEdgePos:e,endEdgePos:r,firstVisibleRowIndex:o,lastVisibleRowIndex:i,visibleRowFrames:s});break}}return n}}}),lt("hi-waterfall-item",{component:{name:"WaterfallItem"}}),e.component("Waterfall",{props:{numberOfColumns:{type:Number,default:2},contentInset:{type:Object,default:()=>({top:0,left:0,bottom:0,right:0})},columnSpacing:{type:Number,default:0},interItemSpacing:{type:Number,default:0},preloadItemNumber:{type:Number,default:0},containBannerView:{type:Boolean,default:!1},containPullHeader:{type:Boolean,default:!1},containPullFooter:{type:Boolean,default:!1}},methods:{call(e,t){nt.callUIFunction(this.$refs.waterfall,e,t)},startRefresh(){this.call("startRefresh")},startRefreshWithType(e){this.call("startRefreshWithType",[e])},callExposureReport(){this.call("callExposureReport",[])},scrollToIndex({index:e=0,animated:t=!0}){this.call("scrollToIndex",[e,e,t])},scrollToContentOffset({xOffset:e=0,yOffset:t=0,animated:n=!0}){this.call("scrollToContentOffset",[e,t,n])},startLoadMore(){this.call("startLoadMore")}},render(){const e=De.call(this,["headerReleased","headerPulling","endReached","exposureReport","initialListReady","scroll"]);return m.h("hi-waterfall",l(l({},e),{},{ref:"waterfall",numberOfColumns:this.numberOfColumns,contentInset:this.contentInset,columnSpacing:this.columnSpacing,interItemSpacing:this.interItemSpacing,preloadItemNumber:this.preloadItemNumber,containBannerView:this.containBannerView,containPullHeader:this.containPullHeader,containPullFooter:this.containPullFooter}),this.$slots.default?this.$slots.default():null)}}),e.component("WaterfallItem",{props:{type:{type:[String,Number],default:""},fullSpan:{type:Boolean,default:!1}},render(){return m.h("hi-waterfall-item",{type:this.type,fullSpan:this.fullSpan},this.$slots.default?this.$slots.default():null)}})}(e),function(e){lt("hi-swiper",{component:{name:"ViewPager",processEventData(e,t){const{handler:n,__evt:r}=e;switch(r){case"onPageSelected":n.currentSlide=t.position;break;case"onPageScroll":n.nextSlide=t.position,n.offset=t.offset;break;case"onPageScrollStateChanged":n.state=t.pageScrollState}return n}}}),lt("hi-swiper-slide",{component:{name:"ViewPagerItem",defaultNativeStyle:{position:"absolute",top:0,right:0,bottom:0,left:0}}}),e.component("Swiper",{props:{current:{type:Number,defaultValue:0},needAnimation:{type:Boolean,defaultValue:!0}},data:()=>({$initialSlide:0}),watch:{current(e){this.$props.needAnimation?this.setSlide(e):this.setSlideWithoutAnimation(e)}},beforeMount(){this.$initialSlide=this.$props.current},methods:{setSlide(e){nt.callUIFunction(this.$refs.swiper,"setPage",[e])},setSlideWithoutAnimation(e){nt.callUIFunction(this.$refs.swiper,"setPageWithoutAnimation",[e])}},render(){const e=De.call(this,[["dropped","pageSelected"],["dragging","pageScroll"],["stateChanged","pageScrollStateChanged"]]);return m.h("hi-swiper",l(l({},e),{},{ref:"swiper",initialPage:this.$data.$initialSlide}),this.$slots.default?this.$slots.default():null)}}),e.component("SwiperSlide",{render(){return m.h("hi-swiper-slide",{},this.$slots.default?this.$slots.default():null)}})}(e)}};class pn extends ln{constructor(e,t){super("comment",t),this.text=e,this.data=e,this.isNeedInsertToNative=!1}}class hn extends ln{setText(e,t={}){"textarea"===this.tagName?this.setAttribute("value",e,{notToNative:!!t.notToNative}):this.setAttribute("text",e,{notToNative:!!t.notToNative})}async getValue(){return new Promise(e=>nt.callUIFunction(this,"getValue",t=>e(t.text)))}setValue(e){nt.callUIFunction(this,"setValue",[e])}focus(){nt.callUIFunction(this,"focusTextInput",[])}blur(){nt.callUIFunction(this,"blurTextInput",[])}clear(){nt.callUIFunction(this,"clear",[])}async isFocused(){return new Promise(e=>nt.callUIFunction(this,"isFocused",t=>e(t.value)))}}class mn extends ln{scrollToIndex(e=0,t=0,n=!0){nt.callUIFunction(this,"scrollToIndex",[e,t,n])}scrollToPosition(e=0,t=0,n=!0){"number"==typeof e&&"number"==typeof t&&nt.callUIFunction(this,"scrollToContentOffset",[e,t,n])}}class vn extends sn{static createComment(e){return new pn(e)}static createElement(e){switch(e){case"input":case"textarea":return new hn(e);case"ul":return new mn(e);default:return new ln(e)}}static createTextNode(e){return new cn(e)}constructor(){super(rn.DocumentNode)}}const gn={insert:function(e,t,n=null){t.childNodes.indexOf(e)>=0?t.moveChild(e,n):t.insertBefore(e,n)},remove:function(e){const t=e.parentNode;t&&(t.removeChild(e),Wt(e))},setText:function(e,t){e.setText(t)},setElementText:function(e,t){e.setText(t)},createElement:function(e){return vn.createElement(e)},createComment:function(e){return vn.createComment(e)},createText:function(e){return vn.createTextNode(e)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},setScopeId:function(e,t){e.setStyleScope(t)}};const yn=/(?:Once|Passive|Capture)$/;function bn(e,t,n,r,o=null){var i;const s=e,c=null!==(i=s._vei)&&void 0!==i?i:s._vei={},a=c[t];if(r&&a)a.value=r;else{const[e,n]=function(e){let t=e;const n={};if(yn.test(t)){let e=t.match(yn);for(;e;)t=t.slice(0,t.length-e[0].length),n[e[0].toLowerCase()]=!0,e=t.match(yn)}return t=":"===t[2]?t.slice(3):t.slice(2),[(r=t,`${r.charAt(0).toLowerCase()}${r.slice(1)}`),n];var r}(t);if(r){c[t]=function(e,t){const n=e=>{m.callWithAsyncErrorHandling(n.value,t,m.ErrorCodes.NATIVE_EVENT_HANDLER,[e])};return n.value=e,n}(r,o);const i=c[t];s.addEventListener(e,i,n)}else s.removeEventListener(e,a,n),c[t]=void 0}}function On(e,t,n){const r=e,o={};if(!function(e,t,n){const r=!e,o=!t&&!n,i=JSON.stringify(t)===JSON.stringify(n);return r||o||i}(r,t,n))if(t&&!n)r.removeStyle();else{if(h.isString(n))throw new Error("Style is Not Object");n&&(Object.keys(n).forEach(e=>{const t=n[e];(function(e){return null==e})(t)||(o[m.camelize(e)]=t)}),r.removeStyle(!0),r.setStyles(o))}}function _n(e,t,n,r,o,i){switch(t){case"class":!function(e,t){let n=t;null===n&&(n=""),e.setAttribute("class",n)}(e,r);break;case"style":On(e,n,r);break;default:h.isOn(t)?bn(e,t,0,r,i):function(e,t,n,r){null===r?e.removeAttribute(t):n!==r&&e.setAttribute(t,r)}(e,t,n,r)}}let En=!1;function Sn(e,t){const n=function(e){var t;if("comment"===e.name)return new pn(e.props.text,e);if("Text"===e.name&&!e.tagName){const t=new cn(e.props.text,e);return t.nodeType=rn.TextNode,t.data=e.props.text,t}switch(e.tagName){case"input":case"textarea":return new hn(e.tagName,e);case"ul":return new mn(e.tagName,e);default:return new ln(null!==(t=e.tagName)&&void 0!==t?t:"",e)}}(e);let r=t.filter(t=>t.pId===e.id).sort((e,t)=>e.index-t.index);const o=r.filter(e=>"comment"===e.name);if(o.length){r=r.filter(e=>"comment"!==e.name);for(let e=o.length-1;e>=0;e--)r.splice(o[e].index,0,o[e])}return r.forEach(e=>{n.appendChild(Sn(e,t),!0)}),n}e.WebSocket=class{constructor(e,t,n){this.webSocketId=-1,this.protocol="",this.listeners={},this.url=e,this.readyState=0,this.webSocketCallbacks={},this.onWebSocketEvent=this.onWebSocketEvent.bind(this);const r=l({},n);if(En||(En=!0,Ee.$on("hippyWebsocketEvents",this.onWebSocketEvent)),!e)throw new TypeError("Invalid WebSocket url");Array.isArray(t)&&t.length>0?(this.protocol=t.join(","),r["Sec-WebSocket-Protocol"]=this.protocol):"string"==typeof t&&(this.protocol=t,r["Sec-WebSocket-Protocol"]=this.protocol);const o={headers:r,url:e};nt.callNativeWithPromise("websocket","connect",o).then(e=>{e&&0===e.code?this.webSocketId=e.id:je()})}close(e,t){1===this.readyState&&(this.readyState=2,nt.callNative("websocket","close",{id:this.webSocketId,code:e,reason:t}))}send(e){if(1===this.readyState){if("string"!=typeof e)throw new TypeError("Unsupported websocket data type: "+typeof e);nt.callNative("websocket","send",{id:this.webSocketId,data:e})}else je()}set onopen(e){this.addEventListener("open",e)}set onclose(e){this.addEventListener("close",e)}set onerror(e){this.addEventListener("error",e)}set onmessage(e){this.addEventListener("message",e)}onWebSocketEvent(e){if("object"!=typeof e||e.id!==this.webSocketId)return;const t=e.type;if("string"!=typeof t)return;"onOpen"===t?this.readyState=1:"onClose"===t&&(this.readyState=3,Ee.$off("hippyWebsocketEvents",this.onWebSocketEvent));const n=this.webSocketCallbacks[t];(null==n?void 0:n.length)&&n.forEach(t=>{h.isFunction(t)&&t(e.data)})}addEventListener(e,t){if((e=>-1!==["open","close","message","error"].indexOf(e))(e)){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);const n=Fe(e);this.webSocketCallbacks[n]=this.listeners[e]}}};const wn=['%c[Hippy-Vue-Next "unspecified"]%c',"color: #4fc08d; font-weight: bold","color: auto; font-weight: auto"];function Nn(e,t){if(nt.isIOS()){const n=function(e){var t,n;const{iPhone:r}=e;let o;if((null==r?void 0:r.statusBar)&&(o=r.statusBar),null==o?void 0:o.disabled)return null;const i=new ln("div"),{statusBarHeight:s}=nt.Dimensions.screen;nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0);let c=4282431619;if(Number.isInteger(c)&&({backgroundColor:c}=o),i.setStyle("backgroundColor",c),"string"==typeof o.backgroundImage){const r=new ln("img");r.setStyle("width",nt.Dimensions.screen.width),r.setStyle("height",s),r.setAttribute("src",null===(n=null===(t=e.iPhone)||void 0===t?void 0:t.statusBar)||void 0===n?void 0:n.backgroundImage),i.appendChild(r)}return i.addEventListener("layout",()=>{nt.screenIsVertical?i.setStyle("height",s):i.setStyle("height",0)}),i}(e);if(n){const e=t.$el.parentNode;e.childNodes.length?e.insertBefore(n,e.childNodes[0]):e.appendChild(n)}}}const Tn=(e,t)=>{var n,r;const o=e,i=Boolean(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length);var s,c;o.use(xt),o.use(fn),"function"==typeof(null===(r=null==t?void 0:t.styleOptions)||void 0===r?void 0:r.beforeLoadStyle)&&(s=t.styleOptions.beforeLoadStyle,ke=s),t.silent&&(c=t.silent,Ne=c),function(e=!0){Te=e}(t.trimWhitespace);const{mount:a}=o;return o.mount=e=>{var n;Ft("rootContainer",e);const r=(null===(n=null==t?void 0:t.ssrNodeList)||void 0===n?void 0:n.length)?function(e){const[t]=e;return Sn(t,e)}(t.ssrNodeList):function(e){const t=vn.createElement("div");return t.id=e,t.style={display:"flex",flex:1},t}(e),o=a(r,i,!1);return Ft("instance",o),i||Nn(t,o),o},o.$start=async e=>new Promise(n=>{nt.hippyNativeRegister.regist(t.appName,r=>{var i,s;const{__instanceId__:c}=r;xe(...wn,"Start",t.appName,"with rootViewId",c,r);const a=Lt();var l;(null==a?void 0:a.app)&&a.app.unmount(),l={rootViewId:c,superProps:r,app:o,ratioBaseWidth:null!==(s=null===(i=null==t?void 0:t.styleOptions)||void 0===i?void 0:i.ratioBaseWidth)&&void 0!==s?s:750},Mt=l;const u={superProps:r,rootViewId:c};h.isFunction(e)?e(u):n(u)})}),o};t.BackAndroid=ct,t.ContentSizeEvent=class extends Dt{},t.EventBus=Ee,t.ExposureEvent=class extends Dt{},t.FocusEvent=class extends Dt{},t.HIPPY_DEBUG_ADDRESS=Se,t.HIPPY_GLOBAL_DISPOSE_STYLE_NAME="__HIPPY_VUE_DISPOSE_STYLES__",t.HIPPY_GLOBAL_STYLE_NAME="__HIPPY_VUE_STYLES__",t.HIPPY_STATIC_PROTOCOL="hpfile://",t.HIPPY_UNIQUE_ID_KEY="hippyUniqueId",t.HIPPY_VUE_VERSION="unspecified",t.HippyEvent=Dt,t.HippyKeyboardEvent=class extends Dt{},t.HippyLayoutEvent=Vt,t.HippyLoadResourceEvent=class extends Dt{},t.HippyTouchEvent=class extends Dt{},t.IS_PROD=!0,t.ListViewEvent=class extends Dt{},t.NATIVE_COMPONENT_MAP=we,t.Native=nt,t.ViewPagerEvent=class extends Dt{},t._setBeforeRenderToNative=(e,t)=>{h.isFunction(e)&&(1===t?Re=e:console.error("_setBeforeRenderToNative API had changed, the hook function will be ignored!"))},t.createApp=(e,t)=>{const n=m.createRenderer(l({patchProp:_n},gn)).createApp(e);return Tn(n,t)},t.createHippyApp=Tn,t.createSSRApp=(e,t)=>{const n=m.createHydrationRenderer(l({patchProp:_n},gn)).createApp(e);return Tn(n,t)},t.eventIsKeyboardEvent=Bt,t.getCssMap=ye,t.getTagComponent=ut,t.isNativeTag=function(e){return dn.includes(e)},t.parseCSS=function(e,t={source:0}){let n=1,r=1;function o(e){const t=e.match(/\n/g);t&&(n+=t.length);const o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(t){const n=t.exec(e);if(!n)return null;const r=n[0];return o(r),e=e.slice(r.length),n}function s(){i(/^\s*/)}function c(){return o=>(o.position={start:{line:n,column:r},end:{line:n,column:r},source:t.source,content:e},s(),o)}const a=[];function u(o){const i=l(l({},new Error(`${t.source}:${n}:${r}: ${o}`)),{},{reason:o,filename:t.source,line:n,column:r,source:e});if(!t.silent)throw i;a.push(i)}function d(){const t=c();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return null;let n=2;for(;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)n+=1;if(n+=2,""===e.charAt(n-1))return u("End of comment missing");const i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}function f(e=[]){let t;const n=e||[];for(;t=d();)!1!==t&&n.push(t);return n}function p(){let t;const n=[];for(s(),f(n);e.length&&"}"!==e.charAt(0)&&(t=T()||O());)t&&(n.push(t),f(n));return n}function m(){return i(/^{\s*/)}function v(){return i(/^}/)}function g(){const e=i(/^([^{]+)/);return e?e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,e=>e.replace(/,/g,"‌")).split(/\s*(?![^(]*\)),\s*/).map(e=>e.replace(/\u200C/g,",")):null}function y(){const e=c();let t=i(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+])?)\s*/);if(!t)return null;if(t=t[0].trim(),!i(/^:\s*/))return u("property missing ':'");const n=t.replace(k,""),r=h.camelize(n);let o=(()=>{const e=x[r];return e||r})();const s=i(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]{0,500}?\)|[^};])+)/);let a=s?s[0].trim().replace(k,""):"";switch(o){case"backgroundImage":[o,a]=F(o,a);break;case"transform":{const e=/((\w+)\s*\()/,t=/(?:\(['"]?)(.*?)(?:['"]?\))/,n=a;a=[],n.split(" ").forEach(n=>{if(e.test(n)){let r,o;const i=e.exec(n),s=t.exec(n);i&&([,,r]=i),s&&([,o]=s),0===o.indexOf(".")&&(o="0"+o),parseFloat(o).toString()===o&&(o=parseFloat(o));const c={};c[r]=o,a.push(c)}else u("missing '('")});break}case"fontWeight":break;case"shadowOffset":{const e=a.split(" ").filter(e=>e).map(e=>R(e)),[t]=e;let[,n]=e;n||(n=t),a={x:t,y:n};break}case"collapsable":a=Boolean(a);break;default:a=function(e){if("number"==typeof e)return e;if(P.test(e))try{return parseFloat(e)}catch(e){}return e}(a);["top","left","right","bottom","height","width","size","padding","margin","ratio","radius","offset","spread"].find(e=>o.toLowerCase().indexOf(e)>-1)&&(a=R(a))}const l=e({type:"declaration",value:a,property:o});return i(/^[;\s]*/),l}function b(){let e,t=[];if(!m())return u("missing '{'");for(f(t);e=y();)!1!==e&&(Array.isArray(e)?t=t.concat(e):t.push(e),f(t));return v()?t:u("missing '}'")}function O(){const e=c(),t=g();return t?(f(),e({type:"rule",selectors:t,declarations:b()})):u("selector missing")}function _(){let e;const t=[],n=c();for(;e=i(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),i(/^,\s*/);return t.length?n({type:"keyframe",values:t,declarations:b()}):null}function E(e){const t=new RegExp(`^@${e}\\s*([^;]+);`);return()=>{const n=c(),r=i(t);if(!r)return null;const o={type:e};return o[e]=r[1].trim(),n(o)}}const S=E("import"),w=E("charset"),N=E("namespace");function T(){return"@"!==e[0]?null:function(){const e=c();let t=i(/^@([-\w]+)?keyframes\s*/);if(!t)return null;const n=t[1];if(t=i(/^([-\w]+)\s*/),!t)return u("@keyframes missing name");const r=t[1];if(!m())return u("@keyframes missing '{'");let o,s=f();for(;o=_();)s.push(o),s=s.concat(f());return v()?e({type:"keyframes",name:r,vendor:n,keyframes:s}):u("@keyframes missing '}'")}()||function(){const e=c(),t=i(/^@media *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@media missing '{'");const r=f().concat(p());return v()?e({type:"media",media:n,rules:r}):u("@media missing '}'")}()||function(){const e=c(),t=i(/^@custom-media\s+(--[^\s]+)\s*([^{;]{1,200}?);/);return t?e({type:"custom-media",name:t[1].trim(),media:t[2].trim()}):null}()||function(){const e=c(),t=i(/^@supports *([^{]+)/);if(!t)return null;const n=t[1].trim();if(!m())return u("@supports missing '{'");const r=f().concat(p());return v()?e({type:"supports",supports:n,rules:r}):u("@supports missing '}'")}()||S()||w()||N()||function(){const e=c(),t=i(/^@([-\w]+)?document *([^{]+)/);if(!t)return null;const n=t[1].trim(),r=t[2].trim();if(!m())return u("@document missing '{'");const o=f().concat(p());return v()?e({type:"document",document:r,vendor:n,rules:o}):u("@document missing '}'")}()||function(){const e=c();if(!i(/^@page */))return null;const t=g()||[];if(!m())return u("@page missing '{'");let n,r=f();for(;n=y();)r.push(n),r=r.concat(f());return v()?e({type:"page",selectors:t,declarations:r}):u("@page missing '}'")}()||function(){const e=c();if(!i(/^@host\s*/))return null;if(!m())return u("@host missing '{'");const t=f().concat(p());return v()?e({type:"host",rules:t}):u("@host missing '}'")}()||function(){const e=c();if(!i(/^@font-face\s*/))return null;if(!m())return u("@font-face missing '{'");let t,n=f();for(;t=y();)n.push(t),n=n.concat(f());return v()?e({type:"font-face",declarations:n}):u("@font-face missing '}'")}()}return function e(t,n){const r=t&&"string"==typeof t.type,o=r?t:n;return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e(t,o)}):r&&"object"==typeof r&&e(r,o)}),r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n}),t}(function(){const e=p();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:a}}}(),null)},t.registerElement=lt,t.setScreenSize=function(t){var n;if(t.width&&t.height){const{screen:r}=null===(n=null==e?void 0:e.Hippy)||void 0===n?void 0:n.device;r&&(r.width=t.width,r.height=t.height)}},t.translateColor=T}).call(this,n(2),n(6))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],u=!1,d=-1;function f(){u&&a&&(u=!1,a.length?l=a.concat(l):d=-1,l.length&&p())}function p(){if(!u){var e=c(f);u=!0;for(var t=l.length;t;){for(a=l,l=[];++d1)for(var n=1;nn.has(e.toLowerCase()):e=>n.has(e)}n.d(t,"EMPTY_ARR",(function(){return i})),n.d(t,"EMPTY_OBJ",(function(){return o})),n.d(t,"NO",(function(){return c})),n.d(t,"NOOP",(function(){return s})),n.d(t,"PatchFlagNames",(function(){return G})),n.d(t,"PatchFlags",(function(){return K})),n.d(t,"ShapeFlags",(function(){return q})),n.d(t,"SlotFlags",(function(){return J})),n.d(t,"camelize",(function(){return P})),n.d(t,"capitalize",(function(){return M})),n.d(t,"def",(function(){return B})),n.d(t,"escapeHtml",(function(){return Ne})),n.d(t,"escapeHtmlComment",(function(){return Te})),n.d(t,"extend",(function(){return u})),n.d(t,"genPropsAccessExp",(function(){return z})),n.d(t,"generateCodeFrame",(function(){return ee})),n.d(t,"getGlobalThis",(function(){return Y})),n.d(t,"hasChanged",(function(){return D})),n.d(t,"hasOwn",(function(){return f})),n.d(t,"hyphenate",(function(){return L})),n.d(t,"includeBooleanAttr",(function(){return ve})),n.d(t,"invokeArrayFns",(function(){return V})),n.d(t,"isArray",(function(){return h})),n.d(t,"isBooleanAttr",(function(){return me})),n.d(t,"isBuiltInDirective",(function(){return C})),n.d(t,"isDate",(function(){return g})),n.d(t,"isFunction",(function(){return b})),n.d(t,"isGloballyAllowed",(function(){return Z})),n.d(t,"isGloballyWhitelisted",(function(){return Q})),n.d(t,"isHTMLTag",(function(){return le})),n.d(t,"isIntegerKey",(function(){return j})),n.d(t,"isKnownHtmlAttr",(function(){return _e})),n.d(t,"isKnownSvgAttr",(function(){return Ee})),n.d(t,"isMap",(function(){return m})),n.d(t,"isMathMLTag",(function(){return de})),n.d(t,"isModelListener",(function(){return l})),n.d(t,"isObject",(function(){return E})),n.d(t,"isOn",(function(){return a})),n.d(t,"isPlainObject",(function(){return T})),n.d(t,"isPromise",(function(){return S})),n.d(t,"isRegExp",(function(){return y})),n.d(t,"isRenderableAttrValue",(function(){return Se})),n.d(t,"isReservedProp",(function(){return k})),n.d(t,"isSSRSafeAttrName",(function(){return be})),n.d(t,"isSVGTag",(function(){return ue})),n.d(t,"isSet",(function(){return v})),n.d(t,"isSpecialBooleanAttr",(function(){return he})),n.d(t,"isString",(function(){return O})),n.d(t,"isSymbol",(function(){return _})),n.d(t,"isVoidTag",(function(){return pe})),n.d(t,"looseEqual",(function(){return je})),n.d(t,"looseIndexOf",(function(){return ke})),n.d(t,"looseToNumber",(function(){return $})),n.d(t,"makeMap",(function(){return r})),n.d(t,"normalizeClass",(function(){return ce})),n.d(t,"normalizeProps",(function(){return ae})),n.d(t,"normalizeStyle",(function(){return te})),n.d(t,"objectToString",(function(){return w})),n.d(t,"parseStringStyle",(function(){return ie})),n.d(t,"propsToAttrMap",(function(){return Oe})),n.d(t,"remove",(function(){return d})),n.d(t,"slotFlagsText",(function(){return X})),n.d(t,"stringifyStyle",(function(){return se})),n.d(t,"toDisplayString",(function(){return Ce})),n.d(t,"toHandlerKey",(function(){return F})),n.d(t,"toNumber",(function(){return U})),n.d(t,"toRawType",(function(){return x})),n.d(t,"toTypeString",(function(){return N}));const o={},i=[],s=()=>{},c=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),h=Array.isArray,m=e=>"[object Map]"===N(e),v=e=>"[object Set]"===N(e),g=e=>"[object Date]"===N(e),y=e=>"[object RegExp]"===N(e),b=e=>"function"==typeof e,O=e=>"string"==typeof e,_=e=>"symbol"==typeof e,E=e=>null!==e&&"object"==typeof e,S=e=>(E(e)||b(e))&&b(e.then)&&b(e.catch),w=Object.prototype.toString,N=e=>w.call(e),x=e=>N(e).slice(8,-1),T=e=>"[object Object]"===N(e),j=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),A=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},I=/-(\w)/g,P=A(e=>e.replace(I,(e,t)=>t?t.toUpperCase():"")),R=/\B([A-Z])/g,L=A(e=>e.replace(R,"-$1").toLowerCase()),M=A(e=>e.charAt(0).toUpperCase()+e.slice(1)),F=A(e=>e?"on"+M(e):""),D=(e,t)=>!Object.is(e,t),V=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=O(e)?Number(e):NaN;return isNaN(t)?e:t};let H;const Y=()=>H||(H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),W=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function z(e){return W.test(e)?"__props."+e:`__props[${JSON.stringify(e)}]`}const K={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},G={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},q={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},J={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},X={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Z=r("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"),Q=Z;function ee(e,t=0,n=e.length){let r=e.split(/(\r?\n)/);const o=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let i=0;const s=[];for(let e=0;e=t){for(let c=e-2;c<=e+2||n>i;c++){if(c<0||c>=r.length)continue;const a=c+1;s.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${r[c]}`);const l=r[c].length,u=o[c]&&o[c].length||0;if(c===e){const e=t-(i-(l+u)),r=Math.max(1,n>i?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(c>e){if(n>i){const e=Math.max(Math.min(n-i,l),1);s.push(" | "+"^".repeat(e))}i+=l+u}}break}return s.join("\n")}function te(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(re);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function se(e){let t="";if(!e||O(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:L(n);(O(r)||"number"==typeof r)&&(t+=`${o}:${r};`)}return t}function ce(e){let t="";if(O(e))t=e;else if(h(e))for(let n=0;n/="'\u0009\u000a\u000c\u0020]/,ye={};function be(e){if(ye.hasOwnProperty(e))return ye[e];const t=ge.test(e);return t&&console.error("unsafe attribute name: "+e),ye[e]=!t}const Oe={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},_e=r("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"),Ee=r("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");function Se(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const we=/["'&<>]/;function Ne(e){const t=""+e,n=we.exec(t);if(!n)return t;let r,o,i="",s=0;for(o=n.index;o||--!>|je(e,t))}const Ce=e=>O(e)?e:null==e?"":h(e)||E(e)&&(e.toString===w||!b(e.toString))?JSON.stringify(e,Ae,2):String(e),Ae=(e,t)=>t&&t.__v_isRef?Ae(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ie(t,r)+" =>"]=n,e),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ie(e))}:_(t)?Ie(t):!E(t)||h(t)||T(t)?t:String(t),Ie=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}}.call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/process/browser.js":function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],u=!1,d=-1;function p(){u&&a&&(u=!1,a.length?l=a.concat(l):d=-1,l.length&&f())}function f(){if(!u){var e=c(p);u=!0;for(var t=l.length;t;){for(a=l,l=[];++d1)for(var n=1;n{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,c.map(({vnode:e})=>`at <${Wr(n,e.type)}>`).join("\n"),c]);else{const n=["[Vue warn]: "+e,...t];c.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=" at <"+Wr(e.component,e.type,r),i=">"+n;return e.props?[o,...a(e.props),i]:[o+i]}(e))}),t}(c)),console.warn(...n)}Object(r.resetTracking)(),s=!1}function a(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,i){return Object(o.isString)(n)?(n=JSON.stringify(n),i?n:[`${t}=${n}`]):"number"==typeof n||"boolean"==typeof n||null==n?i?n:[`${t}=${n}`]:Object(r.isRef)(n)?(n=e(t,Object(r.toRaw)(n.value),!0),i?n:[t+"=Ref<",n,">"]):Object(o.isFunction)(n)?[`${t}=fn${n.name?`<${n.name}>`:""}`]:(n=Object(r.toRaw)(n),i?n:[t+"=",n])}(n,e[n]))}),n.length>3&&t.push(" ..."),t}function l(e,t){}const u={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},d={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function f(e,t,n,r){try{return r?e(...r):e()}catch(e){h(e,t,n)}}function p(e,t,n,r){if(Object(o.isFunction)(e)){const i=f(e,t,n,r);return i&&Object(o.isPromise)(i)&&i.catch(e=>{h(e,t,n)}),i}if(Object(o.isArray)(e)){const o=[];for(let i=0;i>>1,o=g[r],i=C(o);iC(e)-C(t));if(b.length=0,O)return void O.push(...e);for(O=e,_=0;_null==e.id?1/0:e.id,I=(e,t)=>{const n=C(e)-C(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function k(e){v=!1,m=!0,g.sort(I);o.NOOP;try{for(y=0;yU;function U(e,t=L,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&er(-1);const o=D(t);let i;try{i=e(...n)}finally{D(o),r._d&&er(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function H(e,t){if(null===L)return e;const n=Ur(L),r=e.dirs||(e.dirs=[]);for(let e=0;e{e.isMounted=!0}),Se(()=>{e.isUnmounting=!0}),e}const G=[Function,Array],q={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:G,onEnter:G,onAfterEnter:G,onEnterCancelled:G,onBeforeLeave:G,onLeave:G,onAfterLeave:G,onLeaveCancelled:G,onBeforeAppear:G,onAppear:G,onAfterAppear:G,onAppearCancelled:G},J=e=>{const t=e.subTree;return t.component?J(t.component):t},X={name:"BaseTransition",props:q,setup(e,{slots:t}){const n=Tr(),o=K();return()=>{const i=t.default&&re(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==zn){0,s=t,e=!0;break}}const c=Object(r.toRaw)(e),{mode:a}=c;if(o.isLeaving)return ee(s);const l=te(s);if(!l)return ee(s);let u=Q(l,c,o,n,e=>u=e);ne(l,u);const d=n.subTree,f=d&&te(d);if(f&&f.type!==zn&&!ir(l,f)&&J(n).type!==zn){const e=Q(f,c,o,n);if(ne(f,e),"out-in"===a&&l.type!==zn)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},ee(s);"in-out"===a&&l.type!==zn&&(e.delayLeave=(e,t,n)=>{Z(o,f)[String(f.key)]=f,e[W]=()=>{t(),e[W]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function Z(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Q(e,t,n,r,i){const{appear:s,mode:c,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:y,onAppear:b,onAfterAppear:O,onAppearCancelled:_}=t,E=String(e.key),S=Z(n,e),w=(e,t)=>{e&&p(e,r,9,t)},N=(e,t)=>{const n=t[1];w(e,t),Object(o.isArray)(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:c,persisted:a,beforeEnter(t){let r=l;if(!n.isMounted){if(!s)return;r=y||l}t[W]&&t[W](!0);const o=S[E];o&&ir(e,o)&&o.el[W]&&o.el[W](),w(r,[t])},enter(e){let t=u,r=d,o=f;if(!n.isMounted){if(!s)return;t=b||u,r=O||d,o=_||f}let i=!1;const c=e[z]=t=>{i||(i=!0,w(t?o:r,[e]),T.delayedLeave&&T.delayedLeave(),e[z]=void 0)};t?N(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t[z]&&t[z](!0),n.isUnmounting)return r();w(h,[t]);let i=!1;const s=t[W]=n=>{i||(i=!0,r(),w(n?g:v,[t]),t[W]=void 0,S[o]===e&&delete S[o])};S[o]=e,m?N(m,[t,s]):s()},clone(e){const o=Q(e,t,n,r,i);return i&&i(o),o}};return T}function ee(e){if(ae(e))return(e=pr(e)).children=null,e}function te(e){if(!ae(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&Object(o.isFunction)(n.default))return n.default()}}function ne(e,t){6&e.shapeFlag&&e.component?ne(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function re(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let e=0;eObject(o.extend)({name:e.name},t,{setup:e}))():e}const ie=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;function se(e){Object(o.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,timeout:c,suspensible:a=!0,onError:l}=e;let u,d=null,f=0;const p=()=>{let e;return d||(e=d=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((f++,d=null,p())),()=>n(e),f+1)});throw e}).then(t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u=t,t)))};return oe({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return u},setup(){const e=Nr;if(u)return()=>ce(u,e);const t=t=>{d=null,h(t,e,13,!i)};if(a&&e.suspense||Rr)return p().then(t=>()=>ce(t,e)).catch(e=>(t(e),()=>i?ur(i,{error:e}):null));const o=Object(r.ref)(!1),l=Object(r.ref)(),f=Object(r.ref)(!!s);return s&&setTimeout(()=>{f.value=!1},s),null!=c&&setTimeout(()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${c}ms.`);t(e),l.value=e}},c),p().then(()=>{o.value=!0,e.parent&&ae(e.parent.vnode)&&(e.parent.effect.dirty=!0,N(e.parent.update))}).catch(e=>{t(e),l.value=e}),()=>o.value&&u?ce(u,e):l.value&&i?ur(i,{error:l.value}):n&&!f.value?ur(n):void 0}})}function ce(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=ur(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const ae=e=>e.type.__isKeepAlive,le={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Tr(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,s=new Set;let c=null;const a=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:f}}}=r,p=f("div");function h(e){me(e),d(e,n,a,!0)}function m(e){i.forEach((t,n)=>{const r=Yr(t.type);!r||e&&e(r)||v(n)})}function v(e){const t=i.get(e);c&&ir(t,c)?c&&me(c):h(t),i.delete(e),s.delete(e)}r.activate=(e,t,n,r,i)=>{const s=e.component;u(e,t,n,0,a),l(s.vnode,e,t,n,s,a,r,e.slotScopeIds,i),on(()=>{s.isDeactivated=!1,s.a&&Object(o.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&_r(t,s.parent,e)},a)},r.deactivate=e=>{const t=e.component;pn(t.m),pn(t.a),u(e,p,null,1,a),on(()=>{t.da&&Object(o.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&_r(n,t.parent,e),t.isDeactivated=!0},a)},On(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>ue(e,t)),t&&m(e=>!ue(t,e))},{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&(Ln(n.subTree.type)?on(()=>{i.set(g,ve(n.subTree))},n.subTree.suspense):i.set(g,ve(n.subTree)))};return Oe(y),Ee(y),Se(()=>{i.forEach(e=>{const{subTree:t,suspense:r}=n,o=ve(t);if(e.type!==o.type||e.key!==o.key)h(e);else{me(o);const e=o.component.da;e&&on(e,r)}})}),()=>{if(g=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return c=null,n;if(!(or(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return c=null,r;let o=ve(r);const a=o.type,l=Yr(ie(o)?o.type.__asyncResolved||{}:a),{include:u,exclude:d,max:f}=e;if(u&&(!l||!ue(u,l))||d&&l&&ue(d,l))return c=o,r;const p=null==o.key?a:o.key,h=i.get(p);return o.el&&(o=pr(o),128&r.shapeFlag&&(r.ssContent=o)),g=p,h?(o.el=h.el,o.component=h.component,o.transition&&ne(o,o.transition),o.shapeFlag|=512,s.delete(p),s.add(p)):(s.add(p),f&&s.size>parseInt(f,10)&&v(s.values().next().value)),o.shapeFlag|=256,c=o,Ln(r.type)?r:o}}};function ue(e,t){return Object(o.isArray)(e)?e.some(e=>ue(e,t)):Object(o.isString)(e)?e.split(",").includes(t):!!Object(o.isRegExp)(e)&&e.test(t)}function de(e,t){pe(e,"a",t)}function fe(e,t){pe(e,"da",t)}function pe(e,t,n=Nr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ge(t,r,n),n){let e=n.parent;for(;e&&e.parent;)ae(e.parent.vnode)&&he(r,t,n,e),e=e.parent}}function he(e,t,n,r){const i=ge(t,e,r,!0);we(()=>{Object(o.remove)(r[t],i)},n)}function me(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ve(e){return 128&e.shapeFlag?e.ssContent:e}function ge(e,t,n=Nr,o=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{Object(r.pauseTracking)();const i=Ar(n),s=p(t,n,e,o);return i(),Object(r.resetTracking)(),s});return o?i.unshift(s):i.push(s),s}}const ye=e=>(t,n=Nr)=>{Rr&&"sp"!==e||ge(e,(...e)=>t(...e),n)},be=ye("bm"),Oe=ye("m"),_e=ye("bu"),Ee=ye("u"),Se=ye("bum"),we=ye("um"),Ne=ye("sp"),Te=ye("rtg"),xe=ye("rtc");function je(e,t=Nr){ge("ec",e,t)}function Ae(e,t){return Pe("components",e,!0,t)||e}const Ce=Symbol.for("v-ndc");function Ie(e){return Object(o.isString)(e)?Pe("components",e,!1)||e:e||Ce}function ke(e){return Pe("directives",e)}function Pe(e,t,n=!0,r=!1){const i=L||Nr;if(i){const n=i.type;if("components"===e){const e=Yr(n,!1);if(e&&(e===t||e===Object(o.camelize)(t)||e===Object(o.capitalize)(Object(o.camelize)(t))))return n}const s=Re(i[e]||n[e],t)||Re(i.appContext[e],t);return!s&&r?n:s}}function Re(e,t){return e&&(e[t]||e[Object(o.camelize)(t)]||e[Object(o.capitalize)(Object(o.camelize)(t))])}function Me(e,t,n,r){let i;const s=n&&n[r];if(Object(o.isArray)(e)||Object(o.isString)(e)){i=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,s&&s[n]));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Fe(e,t,n={},r,o){if(L.isCE||L.parent&&ie(L.parent)&&L.parent.isCE)return"default"!==t&&(n.name=t),ur("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Jn();const s=i&&function e(t){return t.some(t=>!or(t)||t.type!==zn&&!(t.type===Yn&&!e(t.children)))?t:null}(i(n)),c=rr(Yn,{key:(n.key||s&&s.key||"_"+t)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function De(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?"on:"+r:Object(o.toHandlerKey)(r)]=e[r];return n}const Ve=e=>e?Ir(e)?Ur(e):Ve(e.parent):null,Be=Object(o.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ve(e.parent),$root:e=>Ve(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?lt(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,N(e.update)}),$nextTick:e=>e.n||(e.n=w.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?En.bind(e):o.NOOP}),$e=(e,t)=>e!==o.EMPTY_OBJ&&!e.__isScriptSetup&&Object(o.hasOwn)(e,t),Ue={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:i,data:s,props:c,accessCache:a,type:l,appContext:u}=e;let d;if("$"!==t[0]){const r=a[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return c[t]}else{if($e(i,t))return a[t]=1,i[t];if(s!==o.EMPTY_OBJ&&Object(o.hasOwn)(s,t))return a[t]=2,s[t];if((d=e.propsOptions[0])&&Object(o.hasOwn)(d,t))return a[t]=3,c[t];if(n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t))return a[t]=4,n[t];__VUE_OPTIONS_API__&&!it||(a[t]=0)}}const f=Be[t];let p,h;return f?("$attrs"===t&&Object(r.track)(e.attrs,"get",""),f(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o.EMPTY_OBJ&&Object(o.hasOwn)(n,t)?(a[t]=4,n[t]):(h=u.config.globalProperties,Object(o.hasOwn)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return $e(i,t)?(i[t]=n,!0):r!==o.EMPTY_OBJ&&Object(o.hasOwn)(r,t)?(r[t]=n,!0):!Object(o.hasOwn)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},c){let a;return!!n[c]||e!==o.EMPTY_OBJ&&Object(o.hasOwn)(e,c)||$e(t,c)||(a=s[0])&&Object(o.hasOwn)(a,c)||Object(o.hasOwn)(r,c)||Object(o.hasOwn)(Be,c)||Object(o.hasOwn)(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(o.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const He=Object(o.extend)({},Ue,{get(e,t){if(t!==Symbol.unscopables)return Ue.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!Object(o.isGloballyAllowed)(t)});function Ye(){return null}function We(){return null}function ze(e){0}function Ke(e){0}function Ge(){return null}function qe(){0}function Je(e,t){return null}function Xe(){return Qe().slots}function Ze(){return Qe().attrs}function Qe(){const e=Tr();return e.setupContext||(e.setupContext=$r(e))}function et(e){return Object(o.isArray)(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function tt(e,t){const n=et(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?Object(o.isArray)(r)||Object(o.isFunction)(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t["__skip_"+e]&&(r.skipFactory=!0)}return n}function nt(e,t){return e&&t?Object(o.isArray)(e)&&Object(o.isArray)(t)?e.concat(t):Object(o.extend)({},et(e),et(t)):e||t}function rt(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ot(e){const t=Tr();let n=e();return Cr(),Object(o.isPromise)(n)&&(n=n.catch(e=>{throw Ar(t),e})),[n,()=>Ar(t)]}let it=!0;function st(e){const t=lt(e),n=e.proxy,i=e.ctx;it=!1,t.beforeCreate&&ct(t.beforeCreate,e,"bc");const{data:s,computed:c,methods:a,watch:l,provide:u,inject:d,created:f,beforeMount:p,mounted:h,beforeUpdate:m,updated:v,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:O,destroyed:_,unmounted:E,render:S,renderTracked:w,renderTriggered:N,errorCaptured:T,serverPrefetch:x,expose:j,inheritAttrs:A,components:C,directives:I,filters:k}=t;if(d&&function(e,t,n=o.NOOP){Object(o.isArray)(e)&&(e=pt(e));for(const n in e){const i=e[n];let s;s=Object(o.isObject)(i)?"default"in i?Et(i.from||n,i.default,!0):Et(i.from||n):Et(i),Object(r.isRef)(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(d,i,null),a)for(const e in a){const t=a[e];Object(o.isFunction)(t)&&(i[e]=t.bind(n))}if(s){0;const t=s.call(n,n);0,Object(o.isObject)(t)&&(e.data=Object(r.reactive)(t))}if(it=!0,c)for(const e in c){const t=c[e],r=Object(o.isFunction)(t)?t.bind(n,n):Object(o.isFunction)(t.get)?t.get.bind(n,n):o.NOOP;0;const s=!Object(o.isFunction)(t)&&Object(o.isFunction)(t.set)?t.set.bind(n):o.NOOP,a=Kr({get:r,set:s});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const e in l)at(l[e],i,n,e);if(u){const e=Object(o.isFunction)(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{_t(t,e[t])})}function P(e,t){Object(o.isArray)(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&ct(f,e,"c"),P(be,p),P(Oe,h),P(_e,m),P(Ee,v),P(de,g),P(fe,y),P(je,T),P(xe,w),P(Te,N),P(Se,O),P(we,E),P(Ne,x),Object(o.isArray)(j))if(j.length){const t=e.exposed||(e.exposed={});j.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});S&&e.render===o.NOOP&&(e.render=S),null!=A&&(e.inheritAttrs=A),C&&(e.components=C),I&&(e.directives=I)}function ct(e,t,n){p(Object(o.isArray)(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function at(e,t,n,r){const i=r.includes(".")?Sn(n,r):()=>n[r];if(Object(o.isString)(e)){const n=t[e];Object(o.isFunction)(n)&&On(i,n)}else if(Object(o.isFunction)(e))On(i,e.bind(n));else if(Object(o.isObject)(e))if(Object(o.isArray)(e))e.forEach(e=>at(e,t,n,r));else{const r=Object(o.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];Object(o.isFunction)(r)&&On(i,r,e)}else 0}function lt(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:c}}=e.appContext,a=s.get(t);let l;return a?l=a:i.length||n||r?(l={},i.length&&i.forEach(e=>ut(l,e,c,!0)),ut(l,t,c)):l=t,Object(o.isObject)(t)&&s.set(t,l),l}function ut(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&ut(e,i,n,!0),o&&o.forEach(t=>ut(e,t,n,!0));for(const o in t)if(r&&"expose"===o);else{const r=dt[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const dt={data:ft,props:vt,emits:vt,methods:mt,computed:mt,beforeCreate:ht,created:ht,beforeMount:ht,mounted:ht,beforeUpdate:ht,updated:ht,beforeDestroy:ht,beforeUnmount:ht,destroyed:ht,unmounted:ht,activated:ht,deactivated:ht,errorCaptured:ht,serverPrefetch:ht,components:mt,directives:mt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Object(o.extend)(Object.create(null),e);for(const r in t)n[r]=ht(e[r],t[r]);return n},provide:ft,inject:function(e,t){return mt(pt(e),pt(t))}};function ft(e,t){return t?e?function(){return Object(o.extend)(Object(o.isFunction)(e)?e.call(this,this):e,Object(o.isFunction)(t)?t.call(this,this):t)}:t:e}function pt(e){if(Object(o.isArray)(e)){const t={};for(let n=0;n(s.has(e)||(e&&Object(o.isFunction)(e.install)?(s.add(e),e.install(a,...t)):Object(o.isFunction)(e)&&(s.add(e),e(a,...t))),a),mixin:e=>(__VUE_OPTIONS_API__&&(i.mixins.includes(e)||i.mixins.push(e)),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(o,s,l){if(!c){0;const u=ur(n,r);return u.appContext=i,!0===l?l="svg":!1===l&&(l=void 0),s&&t?t(u,o):e(u,o,l),c=!0,a._container=o,o.__vue_app__=a,Ur(u.component)}},unmount(){c&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a),runWithContext(e){const t=Ot;Ot=a;try{return e()}finally{Ot=t}}};return a}}let Ot=null;function _t(e,t){if(Nr){let n=Nr.provides;const r=Nr.parent&&Nr.parent.provides;r===n&&(n=Nr.provides=Object.create(r)),n[e]=t}else 0}function Et(e,t,n=!1){const r=Nr||L;if(r||Ot){const i=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Ot._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Object(o.isFunction)(t)?t.call(r&&r.proxy):t}else 0}function St(){return!!(Nr||L||Ot)}const wt={},Nt=()=>Object.create(wt),Tt=e=>Object.getPrototypeOf(e)===wt;function xt(e,t,n,i){const[s,c]=e.propsOptions;let a,l=!1;if(t)for(let r in t){if(Object(o.isReservedProp)(r))continue;const u=t[r];let d;s&&Object(o.hasOwn)(s,d=Object(o.camelize)(r))?c&&c.includes(d)?(a||(a={}))[d]=u:n[d]=u:An(e.emitsOptions,r)||r in i&&u===i[r]||(i[r]=u,l=!0)}if(c){const t=Object(r.toRaw)(n),i=a||o.EMPTY_OBJ;for(let r=0;r{l=!0;const[n,r]=Ct(e,t,!0);Object(o.extend)(c,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!l)return Object(o.isObject)(e)&&r.set(e,o.EMPTY_ARR),o.EMPTY_ARR;if(Object(o.isArray)(s))for(let e=0;e-1,r[1]=n<0||e-1||Object(o.hasOwn)(r,"default"))&&a.push(t)}}}}const u=[c,a];return Object(o.isObject)(e)&&r.set(e,u),u}function It(e){return"$"!==e[0]&&!Object(o.isReservedProp)(e)}function kt(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Pt(e,t){return kt(e)===kt(t)}function Rt(e,t){return Object(o.isArray)(t)?t.findIndex(t=>Pt(t,e)):Object(o.isFunction)(t)&&Pt(t,e)?0:-1}const Mt=e=>"_"===e[0]||"$stable"===e,Lt=e=>Object(o.isArray)(e)?e.map(gr):[gr(e)],Ft=(e,t,n)=>{if(t._n)return t;const r=U((...e)=>Lt(t(...e)),n);return r._c=!1,r},Dt=(e,t,n)=>{const r=e._ctx;for(const n in e){if(Mt(n))continue;const i=e[n];if(Object(o.isFunction)(i))t[n]=Ft(0,i,r);else if(null!=i){0;const e=Lt(i);t[n]=()=>e}}},Vt=(e,t)=>{const n=Lt(t);e.slots.default=()=>n},Bt=(e,t,n)=>{for(const r in t)(n||"_"!==r)&&(e[r]=t[r])};function $t(e,t,n,i,s=!1){if(Object(o.isArray)(e))return void e.forEach((e,r)=>$t(e,t&&(Object(o.isArray)(t)?t[r]:t),n,i,s));if(ie(i)&&!s)return;const c=4&i.shapeFlag?Ur(i.component):i.el,a=s?null:c,{i:l,r:u}=e;const d=t&&t.r,p=l.refs===o.EMPTY_OBJ?l.refs={}:l.refs,h=l.setupState;if(null!=d&&d!==u&&(Object(o.isString)(d)?(p[d]=null,Object(o.hasOwn)(h,d)&&(h[d]=null)):Object(r.isRef)(d)&&(d.value=null)),Object(o.isFunction)(u))f(u,l,12,[a,p]);else{const t=Object(o.isString)(u),i=Object(r.isRef)(u);if(t||i){const r=()=>{if(e.f){const n=t?Object(o.hasOwn)(h,u)?h[u]:p[u]:u.value;s?Object(o.isArray)(n)&&Object(o.remove)(n,c):Object(o.isArray)(n)?n.includes(c)||n.push(c):t?(p[u]=[c],Object(o.hasOwn)(h,u)&&(h[u]=p[u])):(u.value=[c],e.k&&(p[e.k]=u.value))}else t?(p[u]=a,Object(o.hasOwn)(h,u)&&(h[u]=a)):i&&(u.value=a,e.k&&(p[e.k]=a))};a?(r.id=-1,on(r,n)):r()}else 0}}const Ut=Symbol("_vte"),Ht=e=>e&&(e.disabled||""===e.disabled),Yt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Wt=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,zt=(e,t)=>{const n=e&&e.to;if(Object(o.isString)(n)){if(t){return t(n)}return null}return n};function Kt(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:c,shapeFlag:a,children:l,props:u}=e,d=2===i;if(d&&r(s,t,n),(!d||Ht(u))&&16&a)for(let e=0;e{16&y&&u(b,e,t,o,i,s,c,a)};g?O(n,l):d&&O(d,v)}else{t.el=e.el,t.targetStart=e.targetStart;const r=t.anchor=e.anchor,u=t.target=e.target,p=t.targetAnchor=e.targetAnchor,m=Ht(e.props),v=m?n:u,y=m?r:p;if("svg"===s||Yt(u)?s="svg":("mathml"===s||Wt(u))&&(s="mathml"),O?(f(e.dynamicChildren,O,v,o,i,s,c),fn(e,t,!0)):a||d(e,t,v,y,o,i,s,c,!1),g)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Kt(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=zt(t.props,h);e&&Kt(t,e,null,l,0)}else m&&Kt(t,u,p,l,1)}qt(t)},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:c,anchor:a,targetStart:l,targetAnchor:u,target:d,props:f}=e;if(d&&(o(l),o(u)),i&&o(a),16&s){const e=i||!Ht(f);for(let o=0;o{Jt||(console.error("Hydration completed but contains mismatches."),Jt=!0)},Zt=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,Qt=e=>8===e.nodeType;function en(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:a,parentNode:l,remove:u,insert:d,createComment:f}}=e,p=(n,r,o,i,u,f=!1)=>{f=f||!!r.dynamicChildren;const _=Qt(n)&&"["===n.data,E=()=>g(n,r,o,i,u,_),{type:S,ref:w,shapeFlag:N,patchFlag:T}=r;let x=n.nodeType;r.el=n,-2===T&&(f=!1,r.dynamicChildren=null);let j=null;switch(S){case Wn:3!==x?""===r.children?(d(r.el=s(""),l(n),n),j=n):j=E():(n.data!==r.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),Xt(),n.data=r.children),j=a(n));break;case zn:O(n)?(j=a(n),b(r.el=n.content.firstChild,n,o)):j=8!==x||_?E():a(n);break;case Kn:if(_&&(x=(n=a(n)).nodeType),1===x||3===x){j=n;const e=!r.children.length;for(let t=0;t{l=l||!!t.dynamicChildren;const{type:d,props:f,patchFlag:p,shapeFlag:h,dirs:v,transition:g}=t,y="input"===d||"option"===d;if(y||-1!==p){v&&Y(t,null,n,"created");let d,_=!1;if(O(e)){_=dn(s,g)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;_&&g.beforeEnter(r),b(r,e,n),t.el=e=r}if(16&h&&(!f||!f.innerHTML&&!f.textContent)){let r=m(e.firstChild,t,e,n,s,a,l),o=!1;for(;r;){__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!o&&(c("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),o=!0),Xt();const t=r;r=r.nextSibling,u(t)}}else 8&h&&e.textContent!==t.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),Xt(),e.textContent=t.children);if(f)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||y||!l||48&p)for(const r in f)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||v&&v.some(e=>e.dir.created)||!tn(e,r,f[r],t,n)||Xt(),(y&&(r.endsWith("value")||"indeterminate"===r)||Object(o.isOn)(r)&&!Object(o.isReservedProp)(r)||"."===r[0])&&i(e,r,null,f[r],void 0,n);else if(f.onClick)i(e,"onClick",null,f.onClick,void 0,n);else if(4&p&&Object(r.isReactive)(f.style))for(const e in f.style)f.style[e];(d=f&&f.onVnodeBeforeMount)&&_r(d,n,t),v&&Y(t,null,n,"beforeMount"),((d=f&&f.onVnodeMounted)||v||_)&&Un(()=>{d&&_r(d,n,t),_&&g.enter(e),v&&Y(t,null,n,"mounted")},s)}return e.nextSibling},m=(e,t,r,o,i,l,u)=>{u=u||!!t.dynamicChildren;const f=t.children,h=f.length;let m=!1;for(let t=0;t{const{slotScopeIds:s}=t;s&&(o=o?o.concat(s):s);const c=l(e),u=m(a(e),t,c,n,r,o,i);return u&&Qt(u)&&"]"===u.data?a(t.anchor=u):(Xt(),d(t.anchor=f("]"),c,u),u)},g=(e,t,r,o,i,s)=>{if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":Qt(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),Xt(),t.el=null,s){const t=y(e);for(;;){const n=a(e);if(!n||n===t)break;u(n)}}const d=a(e),f=l(e);return u(e),n(null,t,f,d,r,o,Zt(f),i),d},y=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=a(e))&&Qt(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return a(e);r--}return e},b=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},O=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&c("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),A(),void(t._vnode=e);p(t.firstChild,e,null,null,null),A(),t._vnode=e},p]}function tn(e,t,n,r,i){let s,a,l,u;if("class"===t)l=e.getAttribute("class"),u=Object(o.normalizeClass)(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(nn(l||""),nn(u))||(s=a="class");else if("style"===t){l=e.getAttribute("style")||"",u=Object(o.isString)(n)?n:Object(o.stringifyStyle)(Object(o.normalizeStyle)(n));const t=rn(l),c=rn(u);if(r.dirs)for(const{dir:e,value:t}of r.dirs)"show"!==e.name||t||c.set("display","none");i&&function e(t,n,r){const o=t.subTree;if(t.getCssVars&&(n===o||o&&o.type===Yn&&o.children.includes(n))){const e=t.getCssVars();for(const t in e)r.set("--"+t,String(e[t]))}n===o&&t.parent&&e(t.parent,t.vnode,r)}(i,r,c),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,c)||(s=a="style")}else(e instanceof SVGElement&&Object(o.isKnownSvgAttr)(t)||e instanceof HTMLElement&&(Object(o.isBooleanAttr)(t)||Object(o.isKnownHtmlAttr)(t)))&&(Object(o.isBooleanAttr)(t)?(l=e.hasAttribute(t),u=Object(o.includeBooleanAttr)(n)):null==n?(l=e.hasAttribute(t),u=!1):(l=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,u=!!Object(o.isRenderableAttrValue)(n)&&String(n)),l!==u&&(s="attribute",a=t));if(s){const t=e=>!1===e?"(not rendered)":`${a}="${e}"`;return c(`Hydration ${s} mismatch on`,e,`\n - rendered on server: ${t(l)}\n - expected on client: ${t(u)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function nn(e){return new Set(e.trim().split(/\s+/))}function rn(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}const on=Un;function sn(e){return an(e)}function cn(e){return an(e,en)}function an(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(Object(o.getGlobalThis)().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(Object(o.getGlobalThis)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);Object(o.getGlobalThis)().__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:c,createText:a,createComment:l,setText:u,setElementText:d,parentNode:f,nextSibling:p,setScopeId:h=o.NOOP,insertStaticContent:m}=e,v=(e,t,n,r=null,o=null,i=null,s,c=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!ir(e,t)&&(r=q(e),H(e,o,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:d}=t;switch(l){case Wn:b(e,t,n,r);break;case zn:O(e,t,n,r);break;case Kn:null==e&&_(t,n,r,s);break;case Yn:P(e,t,n,r,o,i,s,c,a);break;default:1&d?S(e,t,n,r,o,i,s,c,a):6&d?R(e,t,n,r,o,i,s,c,a):(64&d||128&d)&&l.process(e,t,n,r,o,i,s,c,a,Z)}null!=u&&o&&$t(u,e&&e.ref,i,t||e,!t)},b=(e,t,r,o)=>{if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},O=(e,t,r,o)=>{null==e?n(t.el=l(t.children||""),r,o):t.el=e.el},_=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),i(e),e=n;i(t)},S=(e,t,n,r,o,i,s,c,a)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?w(t,n,r,o,i,s,c,a):C(e,t,o,i,s,c,a)},w=(e,t,r,i,a,l,u,f)=>{let p,h;const{props:m,shapeFlag:v,transition:g,dirs:y}=e;if(p=e.el=c(e.type,l,m&&m.is,m),8&v?d(p,e.children):16&v&&x(e.children,p,null,i,a,ln(e,l),u,f),y&&Y(e,null,i,"created"),T(p,e,e.scopeId,u,i),m){for(const e in m)"value"===e||Object(o.isReservedProp)(e)||s(p,e,null,m[e],l,i);"value"in m&&s(p,"value",null,m.value,l),(h=m.onVnodeBeforeMount)&&_r(h,i,e)}y&&Y(e,null,i,"beforeMount");const b=dn(a,g);b&&g.beforeEnter(p),n(p,t,r),((h=m&&m.onVnodeMounted)||b||y)&&on(()=>{h&&_r(h,i,e),b&&g.enter(p),y&&Y(e,null,i,"mounted")},a)},T=(e,t,n,r,o)=>{if(n&&h(e,n),r)for(let t=0;t{for(let l=a;l{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||o.EMPTY_OBJ,m=t.props||o.EMPTY_OBJ;let v;if(n&&un(n,!1),(v=m.onVnodeBeforeUpdate)&&_r(v,n,t,e),p&&Y(t,e,n,"beforeUpdate"),n&&un(n,!0),(h.innerHTML&&null==m.innerHTML||h.textContent&&null==m.textContent)&&d(l,""),f?I(e.dynamicChildren,f,l,n,r,ln(t,i),c):a||V(e,t,l,null,n,r,ln(t,i),c,!1),u>0){if(16&u)k(l,h,m,n,i);else if(2&u&&h.class!==m.class&&s(l,"class",null,m.class,i),4&u&&s(l,"style",h.style,m.style,i),8&u){const e=t.dynamicProps;for(let t=0;t{v&&_r(v,n,t,e),p&&Y(t,e,n,"updated")},r)},I=(e,t,n,r,o,i,s)=>{for(let c=0;c{if(t!==n){if(t!==o.EMPTY_OBJ)for(const c in t)Object(o.isReservedProp)(c)||c in n||s(e,c,t[c],null,i,r);for(const c in n){if(Object(o.isReservedProp)(c))continue;const a=n[c],l=t[c];a!==l&&"value"!==c&&s(e,c,l,a,i,r)}"value"in n&&s(e,"value",t.value,n.value,i)}},P=(e,t,r,o,i,s,c,l,u)=>{const d=t.el=e?e.el:a(""),f=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(d,r,o),n(f,r,o),x(t.children||[],r,f,i,s,c,l,u)):p>0&&64&p&&h&&e.dynamicChildren?(I(e.dynamicChildren,h,r,i,s,c,l),(null!=t.key||i&&t===i.subTree)&&fn(e,t,!0)):V(e,t,r,f,i,s,c,l,u)},R=(e,t,n,r,o,i,s,c,a)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,a):M(t,n,r,o,i,s,a):L(e,t,a)},M=(e,t,n,r,o,i,s)=>{const c=e.component=wr(e,r,o);if(ae(e)&&(c.ctx.renderer=Z),Mr(c,!1,s),c.asyncDep){if(o&&o.registerDep(c,F,s),!e.el){const e=c.subTree=ur(zn);O(null,e,t,n)}}else F(c,e,t,n,o,i,s)},L=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:c,patchFlag:a}=t,l=i.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||Rn(r,s,l):!!s);if(1024&a)return!0;if(16&a)return r?Rn(r,s,l):!!s;if(8&a){const e=t.dynamicProps;for(let t=0;ty&&g.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},F=(e,t,n,i,s,c,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:i,vnode:u}=e;{const n=function e(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:e(n)}(e);if(n)return t&&(t.el=u.el,D(e,t,a)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let d,p=t;0,un(e,!1),t?(t.el=u.el,D(e,t,a)):t=u,n&&Object(o.invokeArrayFns)(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&_r(d,i,t,u),un(e,!0);const h=Cn(e);0;const m=e.subTree;e.subTree=h,v(m,h,f(m.el),q(m),e,s,c),t.el=h.el,null===p&&Mn(e,h.el),r&&on(r,s),(d=t.props&&t.props.onVnodeUpdated)&&on(()=>_r(d,i,t,u),s)}else{let r;const{el:a,props:l}=t,{bm:u,m:d,parent:f}=e,p=ie(t);if(un(e,!1),u&&Object(o.invokeArrayFns)(u),!p&&(r=l&&l.onVnodeBeforeMount)&&_r(r,f,t),un(e,!0),a&&ee){const n=()=>{e.subTree=Cn(e),ee(a,e.subTree,e,s,null)};p?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{0;const r=e.subTree=Cn(e);0,v(null,r,n,i,e,s,c),t.el=r.el}if(d&&on(d,s),!p&&(r=l&&l.onVnodeMounted)){const e=t;on(()=>_r(r,f,e),s)}(256&t.shapeFlag||f&&ie(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&on(e.a,s),e.isMounted=!0,t=n=i=null}},u=e.effect=new r.ReactiveEffect(l,o.NOOP,()=>N(d),e.scope),d=e.update=()=>{u.dirty&&u.run()};d.i=e,d.id=e.uid,un(e,!0),d()},D=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:s,attrs:c,vnode:{patchFlag:a}}=e,l=Object(r.toRaw)(s),[u]=e.propsOptions;let d=!1;if(!(i||a>0)||16&a){let r;xt(e,t,s,c)&&(d=!0);for(const i in l)t&&(Object(o.hasOwn)(t,i)||(r=Object(o.hyphenate)(i))!==i&&Object(o.hasOwn)(t,r))||(u?!n||void 0===n[i]&&void 0===n[r]||(s[i]=jt(u,l,i,void 0,e,!0)):delete s[i]);if(c!==l)for(const e in c)t&&Object(o.hasOwn)(t,e)||(delete c[e],d=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r{const{vnode:r,slots:i}=e;let s=!0,c=o.EMPTY_OBJ;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:Bt(i,t,n):(s=!t.$stable,Dt(t,i)),c=t}else t&&(Vt(e,t),c={default:1});if(s)for(const e in i)Mt(e)||null!=c[e]||delete i[e]})(e,t.children,n),Object(r.pauseTracking)(),j(e),Object(r.resetTracking)()},V=(e,t,n,r,o,i,s,c,a=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void $(l,f,n,r,o,i,s,c,a);if(256&p)return void B(l,f,n,r,o,i,s,c,a)}8&h?(16&u&&G(l,o,i),f!==l&&d(n,f)):16&u?16&h?$(l,f,n,r,o,i,s,c,a):G(l,o,i,!0):(8&u&&d(n,""),16&h&&x(f,n,r,o,i,s,c,a))},B=(e,t,n,r,i,s,c,a,l)=>{e=e||o.EMPTY_ARR,t=t||o.EMPTY_ARR;const u=e.length,d=t.length,f=Math.min(u,d);let p;for(p=0;pd?G(e,i,s,!0,!1,f):x(t,n,r,i,s,c,a,l,f)},$=(e,t,n,r,i,s,c,a,l)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const r=e[u],o=t[u]=l?yr(t[u]):gr(t[u]);if(!ir(r,o))break;v(r,o,n,null,i,s,c,a,l),u++}for(;u<=f&&u<=p;){const r=e[f],o=t[p]=l?yr(t[p]):gr(t[p]);if(!ir(r,o))break;v(r,o,n,null,i,s,c,a,l),f--,p--}if(u>f){if(u<=p){const e=p+1,o=ep)for(;u<=f;)H(e[u],i,s,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=l?yr(t[u]):gr(t[u]);null!=e.key&&g.set(e.key,u)}let y,b=0;const O=p-m+1;let _=!1,E=0;const S=new Array(O);for(u=0;u=O){H(r,i,s,!0);continue}let o;if(null!=r.key)o=g.get(r.key);else for(y=m;y<=p;y++)if(0===S[y-m]&&ir(r,t[y])){o=y;break}void 0===o?H(r,i,s,!0):(S[o-m]=u+1,o>=E?E=o:_=!0,v(r,t[o],n,null,i,s,c,a,l),b++)}const w=_?function(e){const t=e.slice(),n=[0];let r,o,i,s,c;const a=e.length;for(r=0;r>1,e[n[c]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):o.EMPTY_ARR;for(y=w.length-1,u=O-1;u>=0;u--){const e=m+u,o=t[e],f=e+1{const{el:s,type:c,transition:a,children:l,shapeFlag:u}=e;if(6&u)return void U(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void c.move(e,t,r,Z);if(c===Yn){n(s,t,r);for(let e=0;e{let i;for(;e&&e!==t;)i=p(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);if(2!==o&&1&u&&a)if(0===o)a.beforeEnter(s),n(s,t,r),on(()=>a.enter(s),i);else{const{leave:e,delayLeave:o,afterLeave:i}=a,c=()=>n(s,t,r),l=()=>{e(s,()=>{c(),i&&i()})};o?o(s,c,l):l()}else n(s,t,r)},H=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:c,children:a,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p}=e;if(-2===d&&(o=!1),null!=c&&$t(c,null,n,e,!0),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,m=!ie(e);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&_r(v,t,e),6&u)K(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&Y(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Z,r):l&&!l.hasOnce&&(i!==Yn||d>0&&64&d)?G(l,t,n,!1,!0):(i===Yn&&384&d||!o&&16&u)&&G(a,t,n),r&&W(e)}(m&&(v=s&&s.onVnodeUnmounted)||h)&&on(()=>{v&&_r(v,t,e),h&&Y(e,null,t,"unmounted")},n)},W=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Yn)return void z(n,r);if(t===Kn)return void E(e);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},z=(e,t)=>{let n;for(;e!==t;)n=p(e),i(e),e=n;i(t)},K=(e,t,n)=>{const{bum:r,scope:i,update:s,subTree:c,um:a,m:l,a:u}=e;pn(l),pn(u),r&&Object(o.invokeArrayFns)(r),i.stop(),s&&(s.active=!1,H(c,e,t,n)),a&&on(a,t),on(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s{if(6&e.shapeFlag)return q(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=p(e.anchor||e.el),n=t&&t[Ut];return n?p(n):t};let J=!1;const X=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),J||(J=!0,j(),A(),J=!1),t._vnode=e},Z={p:v,um:H,m:U,r:W,mt:M,mc:x,pc:V,pbc:I,n:q,o:e};let Q,ee;return t&&([Q,ee]=t(Z)),{render:X,hydrate:Q,createApp:bt(X,Q)}}function ln({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function un({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function dn(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fn(e,t,n=!1){const r=e.children,i=t.children;if(Object(o.isArray)(r)&&Object(o.isArray)(i))for(let e=0;e{{const e=Et(hn);return e}};function vn(e,t){return _n(e,null,t)}function gn(e,t){return _n(e,null,{flush:"post"})}function yn(e,t){return _n(e,null,{flush:"sync"})}const bn={};function On(e,t,n){return _n(e,t,n)}function _n(e,t,{immediate:n,deep:i,flush:s,once:c,onTrack:a,onTrigger:l}=o.EMPTY_OBJ){if(t&&c){const e=t;t=(...t)=>{e(...t),T()}}const u=Nr,d=e=>!0===i?e:wn(e,!1===i?1:void 0);let h,m,v=!1,g=!1;if(Object(r.isRef)(e)?(h=()=>e.value,v=Object(r.isShallow)(e)):Object(r.isReactive)(e)?(h=()=>d(e),v=!0):Object(o.isArray)(e)?(g=!0,v=e.some(e=>Object(r.isReactive)(e)||Object(r.isShallow)(e)),h=()=>e.map(e=>Object(r.isRef)(e)?e.value:Object(r.isReactive)(e)?d(e):Object(o.isFunction)(e)?f(e,u,2):void 0)):h=Object(o.isFunction)(e)?t?()=>f(e,u,2):()=>(m&&m(),p(e,u,3,[b])):o.NOOP,t&&i){const e=h;h=()=>wn(e())}let y,b=e=>{m=S.onStop=()=>{f(e,u,4),m=S.onStop=void 0}};if(Rr){if(b=o.NOOP,t?n&&p(t,u,3,[h(),g?[]:void 0,b]):h(),"sync"!==s)return o.NOOP;{const e=mn();y=e.__watcherHandles||(e.__watcherHandles=[])}}let O=g?new Array(e.length).fill(bn):bn;const _=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(i||v||(g?e.some((e,t)=>Object(o.hasChanged)(e,O[t])):Object(o.hasChanged)(e,O)))&&(m&&m(),p(t,u,3,[e,O===bn?void 0:g&&O[0]===bn?[]:O,b]),O=e)}else S.run()};let E;_.allowRecurse=!!t,"sync"===s?E=_:"post"===s?E=()=>on(_,u&&u.suspense):(_.pre=!0,u&&(_.id=u.uid),E=()=>N(_));const S=new r.ReactiveEffect(h,o.NOOP,E),w=Object(r.getCurrentScope)(),T=()=>{S.stop(),w&&Object(o.remove)(w.effects,S)};return t?n?_():O=S.run():"post"===s?on(S.run.bind(S),u&&u.suspense):S.run(),y&&y.push(T),T}function En(e,t,n){const r=this.proxy,i=Object(o.isString)(e)?e.includes(".")?Sn(r,e):()=>r[e]:e.bind(r,r);let s;Object(o.isFunction)(t)?s=t:(s=t.handler,n=t);const c=Ar(this),a=_n(i,s.bind(r),n);return c(),a}function Sn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{wn(e,t,n)});else if(Object(o.isPlainObject)(e)){for(const r in e)wn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wn(e[r],t,n)}return e}function Nn(e,t,n=o.EMPTY_OBJ){const i=Tr();const s=Object(o.camelize)(t),c=Object(o.hyphenate)(t),a=Tn(e,t),l=Object(r.customRef)((r,a)=>{let l,u,d=o.EMPTY_OBJ;return yn(()=>{const n=e[t];Object(o.hasChanged)(l,n)&&(l=n,a())}),{get:()=>(r(),n.get?n.get(l):l),set(e){if(!(Object(o.hasChanged)(e,l)||d!==o.EMPTY_OBJ&&Object(o.hasChanged)(e,d)))return;const r=i.vnode.props;r&&(t in r||s in r||c in r)&&("onUpdate:"+t in r||"onUpdate:"+s in r||"onUpdate:"+c in r)||(l=e,a());const f=n.set?n.set(e):e;i.emit("update:"+t,f),Object(o.hasChanged)(e,f)&&Object(o.hasChanged)(e,d)&&!Object(o.hasChanged)(f,u)&&a(),d=e,u=f}}});return l[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?a||o.EMPTY_OBJ:l,done:!1}:{done:!0}}},l}const Tn=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[t+"Modifiers"]||e[Object(o.camelize)(t)+"Modifiers"]||e[Object(o.hyphenate)(t)+"Modifiers"];function xn(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o.EMPTY_OBJ;let i=n;const s=t.startsWith("update:"),c=s&&Tn(r,t.slice(7));let a;c&&(c.trim&&(i=n.map(e=>Object(o.isString)(e)?e.trim():e)),c.number&&(i=n.map(o.looseToNumber)));let l=r[a=Object(o.toHandlerKey)(t)]||r[a=Object(o.toHandlerKey)(Object(o.camelize)(t))];!l&&s&&(l=r[a=Object(o.toHandlerKey)(Object(o.hyphenate)(t))]),l&&p(l,e,6,i);const u=r[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,p(u,e,6,i)}}function jn(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const s=e.emits;let c={},a=!1;if(__VUE_OPTIONS_API__&&!Object(o.isFunction)(e)){const r=e=>{const n=jn(e,t,!0);n&&(a=!0,Object(o.extend)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||a?(Object(o.isArray)(s)?s.forEach(e=>c[e]=null):Object(o.extend)(c,s),Object(o.isObject)(e)&&r.set(e,c),c):(Object(o.isObject)(e)&&r.set(e,null),null)}function An(e,t){return!(!e||!Object(o.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),Object(o.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||Object(o.hasOwn)(e,Object(o.hyphenate)(t))||Object(o.hasOwn)(e,t))}function Cn(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:c,attrs:a,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:v,inheritAttrs:g}=e,y=D(e);let b,O;try{if(4&n.shapeFlag){const e=i||r,t=e;b=gr(u.call(t,e,d,f,m,p,v)),O=a}else{const e=t;0,b=gr(e.length>1?e(f,{attrs:a,slots:c,emit:l}):e(f,null)),O=t.props?a:kn(a)}}catch(t){Gn.length=0,h(t,e,1),b=ur(zn)}let _=b;if(O&&!1!==g){const e=Object.keys(O),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(o.isModelListener)&&(O=Pn(O,s)),_=pr(_,O,!1,!0))}return n.dirs&&(_=pr(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),b=_,D(y),b}function In(e,t=!0){let n;for(let t=0;t{let t;for(const n in e)("class"===n||"style"===n||Object(o.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},Pn=(e,t)=>{const n={};for(const r in e)Object(o.isModelListener)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Rn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;oe.__isSuspense;let Fn=0;const Dn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,c,a,l){if(null==e)!function(e,t,n,r,o,i,s,c,a){const{p:l,o:{createElement:u}}=a,d=u("div"),f=e.suspense=Bn(e,o,r,t,d,n,i,s,c,a);l(null,f.pendingBranch=e.ssContent,d,null,r,f,i,s),f.deps>0?(Vn(e,"onPending"),Vn(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,i,s),Hn(f,e.ssFallback)):f.resolve(!1,!0)}(t,n,r,o,i,s,c,a,l);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,s,c,{p:a,um:l,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:g}=d;if(m)d.pendingBranch=f,ir(f,m)?(a(m,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():v&&(g||(a(h,p,n,r,o,null,i,s,c),Hn(d,p)))):(d.pendingId=Fn++,g?(d.isHydrating=!1,d.activeBranch=m):l(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(a(null,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0?d.resolve():(a(h,p,n,r,o,null,i,s,c),Hn(d,p))):h&&ir(f,h)?(a(h,f,n,r,o,d,i,s,c),d.resolve(!0)):(a(null,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0&&d.resolve()));else if(h&&ir(f,h))a(h,f,n,r,o,d,i,s,c),Hn(d,f);else if(Vn(t,"onPending"),d.pendingBranch=f,512&f.shapeFlag?d.pendingId=f.component.suspenseId:d.pendingId=Fn++,a(null,f,d.hiddenContainer,null,o,d,i,s,c),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):0===e&&d.fallback(p)}}(e,t,n,r,o,s,c,a,l)}},hydrate:function(e,t,n,r,o,i,s,c,a){const l=t.suspense=Bn(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,c,!0),u=a(e,l.pendingBranch=t.ssContent,n,l,i,s);0===l.deps&&l.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=$n(r?n.default:n),e.ssFallback=r?$n(n.fallback):ur(zn)}};function Vn(e,t){const n=e.props&&e.props[t];Object(o.isFunction)(n)&&n()}function Bn(e,t,n,r,i,s,c,a,l,u,d=!1){const{p:f,m:p,um:m,n:v,o:{parentNode:g,remove:y}}=u;let b;const O=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);O&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const _=e.props?Object(o.toNumber)(e.props.timeout):void 0;const E=s,S={vnode:e,parent:t,parentComponent:n,namespace:c,container:r,hiddenContainer:i,deps:0,pendingId:Fn++,timeout:"number"==typeof _?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:c,effects:a,parentComponent:l,container:u}=S;let d=!1;S.isHydrating?S.isHydrating=!1:e||(d=o&&i.transition&&"out-in"===i.transition.mode,d&&(o.transition.afterLeave=()=>{c===S.pendingId&&(p(i,u,s===E?v(o):s,0),x(a))}),o&&(g(o.el)!==S.hiddenContainer&&(s=v(o)),m(o,l,S,!0)),d||p(i,u,s,0)),Hn(S,i),S.pendingBranch=null,S.isInFallback=!1;let f=S.parent,h=!1;for(;f;){if(f.pendingBranch){f.effects.push(...a),h=!0;break}f=f.parent}h||d||x(a),S.effects=[],O&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Vn(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=S;Vn(t,"onFallback");const s=v(n),c=()=>{S.isInFallback&&(f(null,e,o,s,r,null,i,a,l),Hn(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),S.isInFallback=!0,m(n,r,null,!0),u||c()},move(e,t,n){S.activeBranch&&p(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&v(S.activeBranch),registerDep(e,t,n){const r=!!S.pendingBranch;r&&S.deps++;const o=e.vnode.el;e.asyncDep.catch(t=>{h(t,e,0)}).then(i=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Lr(e,i,!1),o&&(s.el=o);const a=!o&&e.subTree.el;t(e,s,g(o||e.subTree.el),o?null:v(e.subTree),S,c,n),a&&y(a),Mn(e,s.el),r&&0==--S.deps&&S.resolve()})},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&m(S.activeBranch,n,e,t),S.pendingBranch&&m(S.pendingBranch,n,e,t)}};return S}function $n(e){let t;if(Object(o.isFunction)(e)){const n=Qn&&e._c;n&&(e._d=!1,Jn()),e=e(),n&&(e._d=!0,t=qn,Xn())}if(Object(o.isArray)(e)){const t=In(e);0,e=t}return e=gr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function Un(e,t){t&&t.pendingBranch?Object(o.isArray)(e)?t.effects.push(...e):t.effects.push(e):x(e)}function Hn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Mn(r,o))}const Yn=Symbol.for("v-fgt"),Wn=Symbol.for("v-txt"),zn=Symbol.for("v-cmt"),Kn=Symbol.for("v-stc"),Gn=[];let qn=null;function Jn(e=!1){Gn.push(qn=e?null:[])}function Xn(){Gn.pop(),qn=Gn[Gn.length-1]||null}let Zn,Qn=1;function er(e){Qn+=e,e<0&&qn&&(qn.hasOnce=!0)}function tr(e){return e.dynamicChildren=Qn>0?qn||o.EMPTY_ARR:null,Xn(),Qn>0&&qn&&qn.push(e),e}function nr(e,t,n,r,o,i){return tr(lr(e,t,n,r,o,i,!0))}function rr(e,t,n,r,o){return tr(ur(e,t,n,r,o,!0))}function or(e){return!!e&&!0===e.__v_isVNode}function ir(e,t){return e.type===t.type&&e.key===t.key}function sr(e){Zn=e}const cr=({key:e})=>null!=e?e:null,ar=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Object(o.isString)(e)||Object(r.isRef)(e)||Object(o.isFunction)(e)?{i:L,r:e,k:t,f:!!n}:e:null);function lr(e,t=null,n=null,r=0,i=null,s=(e===Yn?0:1),c=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&cr(t),ref:t&&ar(t),scopeId:F,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:L};return a?(br(l,n),128&s&&e.normalize(l)):n&&(l.shapeFlag|=Object(o.isString)(n)?8:16),Qn>0&&!c&&qn&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&qn.push(l),l}const ur=dr;function dr(e,t=null,n=null,i=0,s=null,c=!1){if(e&&e!==Ce||(e=zn),or(e)){const r=pr(e,t,!0);return n&&br(r,n),Qn>0&&!c&&qn&&(6&r.shapeFlag?qn[qn.indexOf(e)]=r:qn.push(r)),r.patchFlag=-2,r}if(zr(e)&&(e=e.__vccOpts),t){t=fr(t);let{class:e,style:n}=t;e&&!Object(o.isString)(e)&&(t.class=Object(o.normalizeClass)(e)),Object(o.isObject)(n)&&(Object(r.isProxy)(n)&&!Object(o.isArray)(n)&&(n=Object(o.extend)({},n)),t.style=Object(o.normalizeStyle)(n))}return lr(e,t,n,i,s,Object(o.isString)(e)?1:Ln(e)?128:(e=>e.__isTeleport)(e)?64:Object(o.isObject)(e)?4:Object(o.isFunction)(e)?2:0,c,!0)}function fr(e){return e?Object(r.isProxy)(e)||Tt(e)?Object(o.extend)({},e):e:null}function pr(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:c,children:a,transition:l}=e,u=t?Or(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&cr(u),ref:t&&t.ref?n&&s?Object(o.isArray)(s)?s.concat(ar(t)):[s,ar(t)]:ar(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Yn?-1===c?16:16|c:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pr(e.ssContent),ssFallback:e.ssFallback&&pr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ne(d,l.clone(d)),d}function hr(e=" ",t=0){return ur(Wn,null,e,t)}function mr(e,t){const n=ur(Kn,null,e);return n.staticCount=t,n}function vr(e="",t=!1){return t?(Jn(),rr(zn,null,e)):ur(zn,null,e)}function gr(e){return null==e||"boolean"==typeof e?ur(zn):Object(o.isArray)(e)?ur(Yn,null,e.slice()):"object"==typeof e?yr(e):ur(Wn,null,String(e))}function yr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:pr(e)}function br(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(Object(o.isArray)(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),br(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Tt(t)?3===r&&L&&(1===L.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=L}}else Object(o.isFunction)(t)?(t={default:t,_ctx:L},n=32):(t=String(t),64&r?(n=16,t=[hr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Or(...e){const t={};for(let n=0;nNr||L;let xr,jr;{const e=Object(o.getGlobalThis)(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};xr=t("__VUE_INSTANCE_SETTERS__",e=>Nr=e),jr=t("__VUE_SSR_SETTERS__",e=>Rr=e)}const Ar=e=>{const t=Nr;return xr(e),e.scope.on(),()=>{e.scope.off(),xr(t)}},Cr=()=>{Nr&&Nr.scope.off(),xr(null)};function Ir(e){return 4&e.vnode.shapeFlag}let kr,Pr,Rr=!1;function Mr(e,t=!1,n=!1){t&&jr(t);const{props:i,children:s}=e.vnode,c=Ir(e);!function(e,t,n,o=!1){const i={},s=Nt();e.propsDefaults=Object.create(null),xt(e,t,i,s);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=o?i:Object(r.shallowReactive)(i):e.type.props?e.props=i:e.props=s,e.attrs=s}(e,i,c,t),((e,t,n)=>{const r=e.slots=Nt();if(32&e.vnode.shapeFlag){const e=t._;e?(Bt(r,t,n),n&&Object(o.def)(r,"_",e,!0)):Dt(t,r)}else t&&Vt(e,t)})(e,s,n);const a=c?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ue),!1;const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?$r(e):null,s=Ar(e);Object(r.pauseTracking)();const c=f(i,e,0,[e.props,n]);if(Object(r.resetTracking)(),s(),Object(o.isPromise)(c)){if(c.then(Cr,Cr),t)return c.then(n=>{Lr(e,n,t)}).catch(t=>{h(t,e,0)});e.asyncDep=c}else Lr(e,c,t)}else Vr(e,t)}(e,t):void 0;return t&&jr(!1),a}function Lr(e,t,n){Object(o.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(o.isObject)(t)&&(e.setupState=Object(r.proxyRefs)(t)),Vr(e,n)}function Fr(e){kr=e,Pr=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,He))}}const Dr=()=>!kr;function Vr(e,t,n){const i=e.type;if(!e.render){if(!t&&kr&&!i.render){const t=i.template||lt(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:c}=i,a=Object(o.extend)(Object(o.extend)({isCustomElement:n,delimiters:s},r),c);i.render=kr(t,a)}}e.render=i.render||o.NOOP,Pr&&Pr(e)}if(__VUE_OPTIONS_API__){const t=Ar(e);Object(r.pauseTracking)();try{st(e)}finally{Object(r.resetTracking)(),t()}}}const Br={get:(e,t)=>(Object(r.track)(e,"get",""),e[t])};function $r(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Br),slots:e.slots,emit:e.emit,expose:t}}function Ur(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Object(r.proxyRefs)(Object(r.markRaw)(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Be?Be[n](e):void 0,has:(e,t)=>t in e||t in Be})):e.proxy}const Hr=/(?:^|[-_])(\w)/g;function Yr(e,t=!0){return Object(o.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Wr(e,t,n=!1){let r=Yr(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(Hr,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function zr(e){return Object(o.isFunction)(e)&&"__vccOpts"in e}const Kr=(e,t)=>Object(r.computed)(e,t,Rr);function Gr(e,t,n){const r=arguments.length;return 2===r?Object(o.isObject)(t)&&!Object(o.isArray)(t)?or(t)?ur(e,null,[t]):ur(e,t):ur(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&or(n)&&(n=[n]),ur(e,t,n))}function qr(){return void 0}function Jr(e,t,n,r){const o=n[r];if(o&&Xr(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function Xr(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&qn&&qn.push(e),!0}const Zr="3.4.34",Qr=o.NOOP,eo=d,to=P,no=function e(t,n){var r,o;if(P=t,P)P.enabled=!0,R.forEach(({event:e,args:t})=>P.emit(e,...t)),R=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{e(t,n)}),setTimeout(()=>{P||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,M=!0,R=[])},3e3)}else M=!0,R=[]},ro={createComponentInstance:wr,setupComponent:Mr,renderComponentRoot:Cn,setCurrentRenderingInstance:D,isVNode:or,normalizeVNode:gr,getComponentPublicInstance:Ur},oo=null,io=null,so=null}]); \ No newline at end of file