diff --git a/404.html b/404.html new file mode 100644 index 000000000..76386da0e --- /dev/null +++ b/404.html @@ -0,0 +1,17 @@ + + + + + + + + + 404 - Gez + + + +

404

PAGE NOT FOUND

+
+ + + diff --git a/guide/essentials/alias.html b/guide/essentials/alias.html new file mode 100644 index 000000000..e530da57f --- /dev/null +++ b/guide/essentials/alias.html @@ -0,0 +1,65 @@ + + + + + + + + + 别名 - Gez + + + +

别名

+

路径别名允许开发者为模块定义别名,以便于在代码中更方便的引用它们。当你想要使用一个简短、易于记忆的名称来代替冗长复杂的路径时,这将非常有用。

+

默认别名

+

在 Gez 中,默认使用服务名来作为别名,这样有两个好处。

+
    +
  • 在调用其它服务时保持命名风格的统一
  • +
  • 执行 npm run build:dts 命令,生成的类型可以被其它服务使用。
  • +
+

entry.node.ts

+
import type { GezOptions } from '@gez/core';
+
+export default {
+    name: 'ssr-module-auth'
+} satisfies GezOptions;
+

程序会读取这里的 name 配置,设置别名为 ssr-module-auth

+

tsconfig.json

+

同时还需要在 tsconfig.json 配置别名。

+
{
+    "compilerOptions": {
+        "paths": {
+            "ssr-module-auth/src/*": [
+                "./src/*"
+            ],
+            "ssr-module-auth/*": [
+                "./*"
+            ]
+        }
+    }
+}
+
TIP

如果你想了解多服务类型如何工作的,可以了解一下 gez release 命令的说明。 +

+

自定义别名

+

业务模块,你应该总是使用默认的别名,但是一些第三方包有时需要设置别名,你可以这样做。

+
export default {
+    async createDevApp(gez) {
+        return import('@gez/rspack').then((m) =>
+            m.createApp(gez, (buildContext) => {
+                buildContext.config.resolve = {
+                    ...buildContext.config.resolve,
+                    alias: {
+                        ...buildContext.config.resolve?.alias,
+                        vue$: 'vue/dist/vue.esm.js',
+                    }
+                }
+            })
+        );
+    }
+} satisfies GezOptions;
+
WARNING

业务模块对外导出时,程序会做一些打包的优化。如果你自定义了业务模块的别名,可能会导致打包出来的内容不正确。

+
+ + + diff --git a/guide/essentials/assets.html b/guide/essentials/assets.html new file mode 100644 index 000000000..846064c21 --- /dev/null +++ b/guide/essentials/assets.html @@ -0,0 +1,55 @@ + + + + + + + + + 静态资源处理 - Gez + + + +

静态资源处理

+

静态资源构建出来的路径,总是以 /${name}/文件路径

+

src/entry.node.ts

+
import http from 'node:http';
+import type { GezOptions } from '@gez/core';
+import { name } from '../package.json';
+
+export default {
+    name,
+} satisfies GezOptions;
+

高级

+

有时,我们将一套代码部署在不同的国家或地区,允许独立域名访问和二级目录访问。

+
- www.域名.com -> 默认主站 +- www.域名.com/cn/ -> 中文站点 +- www.域名.com/en/ -> 英文站点 +
+

你可以根据请求上下文,在给渲染函数传入不同的基本 URL。

+
const render = await gez.render({
+    base: '/gez',
+    params: { url: req.url }
+});
+

除此之外,业务程序处理静态资产时,还需要手动拼接上基本地址。

+
// 这里必须使用 import type,否则开发阶段会报错
+import type { RenderContext } from '@gez/core';
+import svg from './logo.svg';
+
+export default async (rc: RenderContext) => {
+    // 获取注入的代码
+    const script = await rc.script();
+    rc.html = `
+<ul>
+    <li>${rc.base + svg} <br>
+        <img height="100" src="${rc.base + svg}">
+    </li>
+</ul>
+${script}
+`;
+};
+
TIP

在服务端渲染时,由于 Rspack 的公共路径被写入到一个单例的配置中,是无法实现动态地址的,需要你手动拼接上 base 地址。

+
+ + + diff --git a/guide/essentials/command.html b/guide/essentials/command.html new file mode 100644 index 000000000..527dabdd2 --- /dev/null +++ b/guide/essentials/command.html @@ -0,0 +1,80 @@ + + + + + + + + + 命令 - Gez + + + +

命令

+

一个典型的命令配置。

+
{
+    "scripts": {
+        "dev": "gez dev",
+        "build": "npm run build:ssr && npm run build:dts && npm run release",
+        "build:ssr": "gez build",
+        "build:dts": "tsc --noEmit --outDir dist/server/src",
+        "release": "gez release",
+        "preview": "gez preview",
+        "start": "gez start",
+        "postinstall": "gez install"
+    }
+}
+
TIP

你需要手动配置 tsconfig.json 文件,否则执行 build:dts 命令会报错。 +

+

gez dev

+

本地开发时启动。

+
TIP

如果链接的服务是一个本地的目录,你也可以把该服务跑起来快速的开发调试。

+
export default {
+    name: 'ssr-module-auth',
+    modules: {
+        imports: {
+            'ssr-core': 'root:../ssr-core/dist'
+        }
+    }
+} satisfies GezOptions;
+

gez build

+

构建生产代码

+
TIP

有三个产物,分别是 client、server、node。

+

gez release

+

当前服务如果有对外导出模块时使用。

+
    +
  • 执行 gez build 命令,构建生产产物。
  • +
  • 执行 npm run build:dts 命令,将类型输出到 dist/server/src 目录,本地开发时,可以得到类型提示。
  • +
  • 执行 gez release 命令,将 dist/clientdist/server 目录生成 zip 压缩文件,放到 dist/client/versions 目录中。
  • +
  • dist 目录的代码,部署到生产环境中。
  • +
  • 其它服务调用 +
      +
    • entry.node.ts 配置 +
      export default {
      +    name: 'ssr-module-auth',
      +    modules: {
      +        imports: {
      +            'ssr-core': ['root:../ssr-core/dist', 'https://<hostname>/ssr-core/versions/latest.json']
      +        }
      +    }
      +} satisfies GezOptions;
      +
    • +
    • 执行 npm install 命令,触发 postinstall 钩子,再执行 gez install 命令下载
    • +
    +
  • +
+
TIP

可以封装一个 build 命令,将多个命令封装到一起。 +

+

gez preview

+

等同于执行 gez build && gez start

+

gez start

+

运行生产环境代码

+
TIP

开发环境中,所依赖的外部服务代码变更,总是会获得热更新,但是在生产环境中是没有热更新的。

如果依赖的服务发布更新了,你需要手动重启一下服务,或者编写一个脚本,监听版本发布来重启服务。

+

gez install

+

安装远程依赖到本地

+
TIP

postinstall 钩子中,执行 npm install --production 安装生产依赖无效。 +

+
+ + + diff --git a/guide/essentials/csr.html b/guide/essentials/csr.html new file mode 100644 index 000000000..f27de3d13 --- /dev/null +++ b/guide/essentials/csr.html @@ -0,0 +1,66 @@ + + + + + + + + + 客户端渲染 - Gez + + + +

客户端渲染

+

生产环境如果不允许部署一个 Node 实例,可以在构建阶段就生成客户端渲染的 index.html 文件。

+

src/entry.server.ts

+

在服务渲染时,返回一个通用的模板即可。

+
// 这里必须使用 import type,否则开发阶段会报错
+import type { RenderContext } from '@gez/core';
+
+export default async (rc: RenderContext) => {
+    // 获取注入的代码
+    const script = await rc.script();
+    const time = new Date().toISOString();
+    rc.html = `
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Gez</title>
+</head>
+<body>
+    <div #id="app"></div>
+    ${script}
+</body>
+</html>
+`;
+};
+

src/entry.node.ts

+
    +
  • postCompileProdHook 钩子中,手动执行一次 SSR 渲染,将生成的 HTML 写入到 dist/client/index.html 文件中。
  • +
  • dist/client/ 目录复制到你的服务器上。
  • +
+
import path from 'node:path';
+import type { GezOptions } from '@gez/core';
+
+export default {
+    // ... 其它选项
+    async postCompileProdHook(gez) {
+        const render = await gez.render({
+            params: {
+                url: req.url
+            }
+        });
+        gez.write(
+            path.resolve(gez.getProjectPath('dist/client'), 'index.html'),
+            render.html
+        );
+    }
+} satisfies GezOptions;
+
TIP

postCompileProdHook 钩子会在构建完成后,以生产模式执行构建出来的代码。如果你要生成一个完全静态的网站,也可以在这里实现。

+
+
+ + + diff --git a/guide/essentials/module-link.html b/guide/essentials/module-link.html new file mode 100644 index 000000000..f846d8fde --- /dev/null +++ b/guide/essentials/module-link.html @@ -0,0 +1,225 @@ + + + + + + + + + 模块链接 - Gez + + + +

模块链接

+

一个大型项目,总是会拆分成组件库、工具库、业务模块等。它们总是会写在不同的地方,以独立的仓库、monorepo 包等形式存在,但是最终都需要系统的主程序链接这些模块。Gez 的核心功能就是帮你把这些不同地方的模块,快速的链接到一起。实现一个服务发布,其它服务同时更新。

+
TIP

Gez 默认是支持 SSR 的,你也可以把它当成 CSR 来使用。

+

设计理念

+
    +
  • 我们应该设计一个基础服务,由基础服务提供所有的第三方依赖。
  • +
  • 基础服务统一维护第三方依赖更新,一次发布,所有业务系统生效。
  • +
  • 业务服务仅构建业务代码,所有的第三方依赖,应指向到基础服务中。
  • +
+
TIP

由于第三方依赖,都被指向到了基础服务,不再需要重复打包,这会让 Rspack 的编译速度,再提升一个台阶。

+

构建

+

传统的 SSR 程序在构建目标为 node 时,会将 node_modules 的模块设置为外部依赖,但是 Gez 会把全部代码都打包成 ESM 模块来进行链接。所以在使用一些第三方依赖的时候,尽可能的选择支持 ESM 的包,否则你可能会遇到一些问题。 +构建完成后,通常你可以看到这样的目录结构。

+
- dist/ # 构建输出目录 + - client/ # 客户端构建输出 + - chunks/ # 当前服务抽离的公共代码 + - [name].[contenthash].js + - npm/ # 对外导出的 node_modules 包 + - [name].[contenthash].js + - src/ # 对外导出的 src 目录下的文件 + - [name].[contenthash].js + - versions/ # 执行 gez release 命令,会将 client 和 server 的代码打包到这里 + - [contenthash].zip # 压缩文件 + - [contenthash].json # 当前压缩的版本号 + - latest.json # 最新的版本号 + - entry.[contenthash].js # 入口文件 + - importmap.js # 不可缓存文件,执行后往 globalThis 注入 __importmap__ + - importmap.[contenthash].js # 可缓存文件,执行后往 globalThis 注入 __importmap__ + - package.json # 声明模块的基本导出信息 + - server/ # 服务端构建输出 + - ... # 除了缺少 versions 目录,其它和 client 目录一致 +
+
TIP

使用 [contenthash] 可以让我们生成基于内容哈希的文件名,这样我们的静态资产文件就可以放心的设置为强缓存了。
+

+

客户端链接

+

在服务渲染时注入所有服务的 /[服务名]/importmap.[contenthash].js 文件,将模块的哈希映射信息写入到 globalThis.__importmap__ 对象中,最终将该变量值写入到 <script type="importmap"></script> 标签中。

+

src/entry.server.ts

+
import type { RenderContext } from '@gez/core';
+
+export default async (rc: RenderContext) => {
+    const script = await rc.script();
+    rc.html = `
+<!DOCTYPE html>
+<html>
+<head>
+    <title>Gez</title>
+</head>
+<body>
+    ${script}
+</body>
+</html>
+`;
+};
+

客户端渲染

+
TIP
+
    +
  • package.json 中有一个 hash 字段,等同于 importmap.[contenthash].js 文件的哈希值。
  • +
  • 如果你只想做客户端渲染,可以编写一个脚本,读取每个服务的 dist/client/package.json 来生成一个静态的 index.html。可以参考一下 RenderContext 的实现。
  • +
+
+

服务端链接

+

src/entry.node.ts

+
    +
  • +

    在开发阶段时,我们可以设置一个远程的依赖地址。

    +
  • +
  • +

    程序会根据你配置的本地路径,计算出一个所有服务可以共同访问的 node_modules 路径,并自动创建软链接。

    +
  • +
+
export default {
+    name: 'ssr-module-auth',
+    modules: {
+        imports: {
+            'ssr-base': ['root:../ssr-base/dist', 'https://<hostname>/ssr-base/versions/latest.json']
+        }
+    }
+} satisfies GezOptions;
+
WARNING

在生产环境中,你应该使用本地链接,而不是远程链接,这样能提高应用程序的启动速度。如果你使用 Docker,可以通过使用持久卷,将不同服务的产物组织到一个目录中。 +

+

package.json

+

配置 postinstall 钩子执行 gez install 命令。在安装开发依赖时,就会将远程依赖下载到你配置的 'root:../ssr-base/dist' 目录中。

+
"scripts": {
+    "postinstall": "gez install"
+}
+
WARNING

这个需要在构建时,提供对应的版本才能下载。更多请查看 gez release 命令说明。 +

+

示例

+

ssr-base

+

基础服务,提供了所有的第三方依赖和基础组件。

+

src/entry.node.ts

+
export default {
+    name: 'ssr-base',
+    modules: {
+        exports: [
+            'root:src/components/layout.vue',
+            'root:src/utils/index.ts',
+            'npm:vue',
+            'npm:vue-router'
+        ]
+    }
+} satisfies GezOptions;
+
WARNING

如果一个依赖包,只在 SSR 中使用,那么你应该总是将它放到开发依赖中,这样能显著减少安装生产依赖的大小。

+

导出类型

+
    +
  • 使用方式 +
      +
    • 在其它的服务的 src/entry.node.ts 文件中的 modules.imports 配置添加 ssr-base
    • +
    +
  • +
  • root: +
      +
    • 配置项目文件路径,通常是 src 目录的。
    • +
    • 例如: +
        +
      • import Layout from 'ssr-base/src/components/layout.vue'
      • +
      • import utils from 'ssr-base/utils/index'
      • +
      +
    • +
    +
  • +
  • npm: +
      +
    • 指向的是当前项目的依赖包,通常是 package.json 字段中 devDependencies 配置的依赖名。
    • +
    • 需要配置 modules.externals,将对应的依赖名,指向到 ssr-base/npm/包名
    • +
    +
  • +
+

多版本依赖共存

+

package.json 中配置别名。

+
{
+    "dependencies": {
+        "query-string5": "npm:query-string@^5.1.1",
+        "query-string6": "npm:query-string@^6.11.1"
+    }
+}
+

src/entry.node.ts 文件中配置对外导出。

+
export default {
+    name: 'ssr-base',
+    modules: {
+        exports: [
+            // ...
+            'npm:query-string5', // 模块链接:ssr-base/npm/query-string5
+            'npm:query-string6'  // 模块链接:ssr-base/npm/query-string6
+        ]
+    }
+} satisfies GezOptions;
+

在对应的服务将 query-string 模块链接到你需要的版本。

+

ssr-module-auth

+

将登录、注册、验证码、修改密码、找回密码等用户信息认证的业务单独在一个服务中实现,对外导出相关的页面路由地址。

+

src/entry.node.ts

+
export default {
+    name: 'ssr-module-auth',
+    modules: {
+        // 其它服务使用:import routes from 'ssr-module-auth/src/routes
+        exports: ['root:src/routes.ts'],
+        // 总是需要配置依赖服务的地址
+        imports: {
+            'ssr-base': 'root:../ssr-base/dist'
+        },
+        // 这里只配置链接的第三方依赖,实现依赖共享
+        externals: {
+            vue: 'ssr-base/npm/vue',
+            'vue-router': 'ssr-base/npm/vue-router'
+        }
+    }
+} satisfies GezOptions;
+
TIP
+
    +
  • 当我们开发一个很大的系统时,可以按照业务模块来划分不同的服务,明确每个服务的职责。
  • +
  • 当你将第三方依赖全部指向到 ssr-base 服务时,项目构建速度总是会非常快,基本上都能在瞬间完成。
  • +
+
+

ssr-main

+

系统的主程序,负责将不同的业务服务,链接到一起。

+

src/entry.node.ts

+
export default {
+    name: 'ssr-main',
+    modules: {
+        imports: {
+            'ssr-base': 'root:../ssr-base/dist',
+            'ssr-module-auth': 'root:../ssr-module-auth/dist'
+        },
+        externals: {
+            vue: 'ssr-base/npm/vue',
+            'vue-router': 'ssr-base/npm/vue-router'
+        }
+    }
+} satisfies GezOptions;
+

使用方式

+
    +
  • import Layout from 'ssr-base/src/components/layout.vue' +
      +
    • 调用 ssr-base 服务的路由配置文件
    • +
    +
  • +
  • import routes from 'ssr-module-auth/src/routes +
      +
    • 调用 ssr-module-auth 服务的路由配置文件
    • +
    +
  • +
  • import Vue from 'vue' +
      +
    • 构建工具会替换为 import Vue from 'ssr-base/npm/vue'
    • +
    • 其它依赖举一反三
    • +
    +
  • +
+

总结

+
+ + + diff --git a/guide/index.html b/guide/index.html new file mode 100644 index 000000000..7ddcbd74b --- /dev/null +++ b/guide/index.html @@ -0,0 +1,45 @@ + + + + + + + + + 介绍 - Gez + + + +

介绍

+

Gez 是 Genesis 迭代的第三个大版本,v1.0 是通过 HTTP 请求来实现的远程组件,v2.0 是通过 Module Federation v1.0 +实现的远程组件。随着主流浏览器都已经支持 ESM,这使得设计一款基于 ESM 的模块链接变成了可能。随着 Rspack v1.0 的发布,提供了对 ESM 更加友好的支持,这使得我们可以将可能变成了现实。于是,我们将 v3.0 版本重命名为 Gez

+

为什么选 Gez

+

目前社区类微服务的解决方案基本可以分为 iframe、micro-app、module federation 三种代表。其中 iframe 和 micro-app 这种模式只适合对已有的老项目进行缝合,是以降低程序运行效率所做的一种妥协,而 module federation 的接入成本较高,里面又是一个黑盒子,一旦出了问题,都十分难以排查。

+

Gez 完全是基于 ESM 模块系统进行设计,默认支持 SSR,每个服务都可以对外导出模块,也可以使用外部模块,整个过程简单透明,能够精准的控制依赖管理。通过 importmap 将多服务的模块映射到具有强缓存,基于内容哈希的 URL 中

+

调研

+
    +
  • 参考了 Vite 对现代 JavaScript 支持的定义,以浏览器支持 ESM dynamic importimport.meta 作为基准 +
      +
    • Chrome >=87
    • +
    • Firefox >=78
    • +
    • Safari >=14
    • +
    • Edge >=88
    • +
    • node >=20
    • +
    +
  • +
  • 构建出具有内容哈希的产物,使用 importmapimport vue from 'vue' 替换成 ssr-npm/npm/vue.[contenthash].js,这样静态文件就可以设置为强缓存了。对于不支持 importmap 的浏览器,es-module-shims 提供了降级的方案
  • +
  • Rspack 的 externalsType 支持使用 module-import,来设置 ESM 模块的外部依赖。
  • +
  • 在 Node 上实现 ESM 模块热更新不是一件容易的事情,庆幸的是可以通过启用 node --experimental-vm-modules --experimental-import-meta-resolve 来实现它。
  • +
  • 最终确定使用 Rspack 和 Node20 来实现 v3.0 版本。
  • +
+
TIP

从最早的构思,到开始调研 Vite、Rspack,中间经历了一年多的时间,庆幸的是这条路最终走通了,并且达到了生产可用。

+

定位

+

Gez 的定位并不是成为 Next.jsNuxt.js 那样大而全的框架,而是成为一个具有 Typescript、ESM、SSR、模块链接等特性的基础设施,你可以在这个基础上来构建属于你自己的 Next.js。如果你需要定制化实现,它会很适合你。

+

兼容性

+

所有的主流浏览器都已经支持,针对一些低版本的浏览器,可以提供一个升级的页面来引导用户升级它的浏览器。

+

可靠性

+

v1.0v2.0 到现在的 v3.0,已经走过了将近 5 年的时光,支持起了公司内部数十个业务的项目,并且不断地推动业务项目的升级。

+
+ + + diff --git a/guide/senior/module-link.html b/guide/senior/module-link.html new file mode 100644 index 000000000..5d6ae92b2 --- /dev/null +++ b/guide/senior/module-link.html @@ -0,0 +1,17 @@ + + + + + + + + + 模块链接实现原理 - Gez + + + +

模块链接实现原理

+
+ + + diff --git a/guide/start/getting-started.html b/guide/start/getting-started.html new file mode 100644 index 000000000..447a465af --- /dev/null +++ b/guide/start/getting-started.html @@ -0,0 +1,133 @@ + + + + + + + + + 快速开始 - Gez + + + +

快速开始

+

这是一个与框架无关的例子,采用原生的 HTML 来开发项目

+
TIP

Gez 默认支持 SSR,但是你可以当成 CSR 来使用。 +

+

创建项目

+
cd 项目目录
+npm init
+

将项目设置为 module

+

package.json 文件添加

+
{
+    "type": "module"
+}
+

安装依赖

+
TIP

总是应该将生产依赖和开发依赖区分,会使 node_modules 在生产环境中更小。 +

+

安装生产依赖

+
npm
yarn
pnpm
bun
npm install @gez/core
+

安装开发依赖

+
npm
yarn
pnpm
bun
npm install @gez/rspack typescript @types/node -D
+

添加脚本

+

package.json 文件添加

+
{
+    "scripts": {
+        "dev": "gez dev",
+        "build": "npm run build:ssr && npm run build:dts && npm run release",
+        "build:ssr": "gez build",
+        "build:dts": "tsc --noEmit --outDir dist/server/src",
+        "release": "gez release",
+        "preview": "gez preview",
+        "start": "gez start",
+        "postinstall": "gez install"
+    }
+}
+
TIP

你需要手动配置 tsconfig.json 文件,否则执行 build:dts 命令会报错。 +

+

入口文件

+

基本结构

+
- src/ + - entry.client.ts # 客户端程序入口,一般会处理水合 + - entry.server.ts # 使用框架的 SSR API 渲染出 HTML 内容 + - entry.node.ts # 创建一个服务器程序,来处理请求 +
+

src/entry.client.ts

+

模拟水合,更新当前时间

+
const time = document.querySelector('time');
+setInterval(() => {
+    time?.setHTMLUnsafe(new Date().toISOString());
+}, 1000);
+

src/entry.server.ts

+

模拟框架的 SSR API,渲染出 HTML 内容返回

+
// 这里必须使用 import type,否则开发阶段会报错
+import type { RenderContext } from '@gez/core';
+
+export default async (rc: RenderContext) => {
+    // 获取注入的代码
+    const script = await rc.script();
+    const time = new Date().toISOString();
+    rc.html = `
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Gez</title>
+</head>
+<body>
+    <h1>Gez</h1>
+    <h2>Hello world!</h2>
+    <p>URL: ${rc.params.url}</p>
+    <time>${time}</time>
+    ${script}
+</body>
+</html>
+`;
+};
+

src/entry.node.ts

+

创建一个 web 服务器,来处理客户请求

+
import http from 'node:http';
+import type { GezOptions } from '@gez/core';
+import { name } from '../package.json';
+
+export default {
+    // 设置应用的唯一名字,如果有多个项目,则名字不能重复
+    name,
+    // 本地执行 dev 和 build 时会使用
+    async createDevApp(gez) {
+        return import('@gez/rspack').then((m) =>
+            m.createApp(gez, (buildContext) => {
+                // 可以在这里修改 Rspack 编译的配置
+            })
+        );
+    },
+    async createServer(gez) {
+        const server = http.createServer((req, res) => {
+            // 静态文件处理
+            gez.middleware(req, res, async () => {
+                // 传入渲染的参数
+                const ctx = await gez.render({
+                    params: {
+                        url: req.url
+                    }
+                });
+                // 响应 HTML 内容
+                res.end(ctx.html);
+            });
+        });
+        // 监听端口
+        server.listen(3000, () => {
+            console.log('http://localhost:3000');
+        });
+    }
+} satisfies GezOptions;
+

启动项目

+
npm run dev
+
+

浏览器打开:http://localhost:3000

+
+
+ + + diff --git a/hello.html b/hello.html new file mode 100644 index 000000000..a8a7df11a --- /dev/null +++ b/hello.html @@ -0,0 +1,19 @@ + + + + + + + + + Hello World! - Gez + + + +

Hello World!

+

Start

+

Write something to build your own docs! 🎁

ON THIS PAGE
+
+ + + diff --git a/index.html b/index.html new file mode 100644 index 000000000..841092606 --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + + + + + + + Gez + + + +

Gez

基于 ESM 的模块链接。

👍

技术创新

首个基于 ESM 构建的 SSR 多服务模块链接。

🚀

项目构建

基于 Rspack 实现,构建速度极快,带给你极致的开发体验。

🎯

依赖管理

一次构建,一次发布,多服务生效。

☁️

同构渲染

支持 Vue2、Vue3、React 等不同框架实现 SSR。

😎

基准支持

Node20 和支持 ESM dynamic import 和 import.meta 的浏览器。

👏

长久维护

Genesis 从 2020 年迭代至今,现更名为 Gez。

+
+ + + diff --git a/logo.svg b/logo.svg new file mode 100644 index 000000000..fef098a63 --- /dev/null +++ b/logo.svg @@ -0,0 +1,3 @@ + + Gez + \ No newline at end of file diff --git a/ssr-html/entry.2ef01251.js b/ssr-html/entry.2ef01251.js new file mode 100644 index 000000000..c773c3749 --- /dev/null +++ b/ssr-html/entry.2ef01251.js @@ -0,0 +1 @@ +var e={},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.rv=function(){return"1.0.14"},(()=>{var e;if("string"==typeof import.meta.url&&(e=import.meta.url),!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),r.ruid="bundler=rspack@1.0.14";var o={};r.r(o),r.d(o,{cat:()=>n,jpg:()=>p,loading:()=>i,sun:()=>u,svg:()=>a});const n=r.p+"images/cat.fffb6a6f.jpeg",i=r.p+"images/loading.5e848354.gif",a=r.p+"images/logo.33084dc8.svg",p=r.p+"images/starry.f08fe709.jpg",u=r.p+"images/sun.8a320a45.png",c=document.querySelector("time");setInterval(()=>{c&&(c.innerText=new Date().toISOString())},1e3),console.log(o); \ No newline at end of file diff --git a/ssr-html/images/cat.fffb6a6f.jpeg b/ssr-html/images/cat.fffb6a6f.jpeg new file mode 100644 index 000000000..29e4dab9b Binary files /dev/null and b/ssr-html/images/cat.fffb6a6f.jpeg differ diff --git a/ssr-html/images/loading.5e848354.gif b/ssr-html/images/loading.5e848354.gif new file mode 100644 index 000000000..0613ccb0c Binary files /dev/null and b/ssr-html/images/loading.5e848354.gif differ diff --git a/ssr-html/images/logo.33084dc8.svg b/ssr-html/images/logo.33084dc8.svg new file mode 100644 index 000000000..fef098a63 --- /dev/null +++ b/ssr-html/images/logo.33084dc8.svg @@ -0,0 +1,3 @@ + + Gez + \ No newline at end of file diff --git a/ssr-html/images/starry.f08fe709.jpg b/ssr-html/images/starry.f08fe709.jpg new file mode 100644 index 000000000..1d0c3b0a5 Binary files /dev/null and b/ssr-html/images/starry.f08fe709.jpg differ diff --git a/ssr-html/images/sun.8a320a45.png b/ssr-html/images/sun.8a320a45.png new file mode 100644 index 000000000..fedb581d3 Binary files /dev/null and b/ssr-html/images/sun.8a320a45.png differ diff --git a/ssr-html/importmap.d86ff17655502fb7a052.js b/ssr-html/importmap.d86ff17655502fb7a052.js new file mode 100644 index 000000000..8b9411fc7 --- /dev/null +++ b/ssr-html/importmap.d86ff17655502fb7a052.js @@ -0,0 +1 @@ +(t=>{let r="ssr-html",s="__importmap__",e=t[s]=t[s]||{},i=e.imports=e.imports||{},n=new URL(document.currentScript.src).pathname.split("/"+r+"/"),m=t=>r+t.substring(1);Object.entries({"./entry":"./entry.2ef01251.js"}).forEach(([t,r])=>{i[m(t)]=n[0]+"/"+m(r)})})(globalThis); \ No newline at end of file diff --git a/ssr-html/importmap.js b/ssr-html/importmap.js new file mode 100644 index 000000000..8b9411fc7 --- /dev/null +++ b/ssr-html/importmap.js @@ -0,0 +1 @@ +(t=>{let r="ssr-html",s="__importmap__",e=t[s]=t[s]||{},i=e.imports=e.imports||{},n=new URL(document.currentScript.src).pathname.split("/"+r+"/"),m=t=>r+t.substring(1);Object.entries({"./entry":"./entry.2ef01251.js"}).forEach(([t,r])=>{i[m(t)]=n[0]+"/"+m(r)})})(globalThis); \ No newline at end of file diff --git a/ssr-html/index.html b/ssr-html/index.html new file mode 100644 index 000000000..08212476e --- /dev/null +++ b/ssr-html/index.html @@ -0,0 +1,53 @@ + + + + + + + Gez + + +

Gez

+

你好世界!

+

模拟客户端水合

+ +

请求参数

+
+    {"url":"\u002F"}
+    
+ + + + + +

图片

+ + + diff --git a/ssr-html/package.json b/ssr-html/package.json new file mode 100644 index 000000000..a09215f81 --- /dev/null +++ b/ssr-html/package.json @@ -0,0 +1,18 @@ +{ + "name": "ssr-html", + "version": "1.0.0", + "hash": "d86ff17655502fb7a052", + "type": "module", + "exports": { + "./entry": "./entry.2ef01251.js" + }, + "files": [ + "importmap.d86ff17655502fb7a052.js", + "images/logo.33084dc8.svg", + "images/starry.f08fe709.jpg", + "entry.2ef01251.js", + "images/loading.5e848354.gif", + "images/cat.fffb6a6f.jpeg", + "images/sun.8a320a45.png" + ] +} \ No newline at end of file diff --git a/ssr-html/versions/3d1b45632682385ee36a.zip b/ssr-html/versions/3d1b45632682385ee36a.zip new file mode 100644 index 000000000..00607ae2e Binary files /dev/null and b/ssr-html/versions/3d1b45632682385ee36a.zip differ diff --git a/ssr-html/versions/d345aba2aa51a26a1f08e6548473e79f.json b/ssr-html/versions/d345aba2aa51a26a1f08e6548473e79f.json new file mode 100644 index 000000000..4f2bb4e7a --- /dev/null +++ b/ssr-html/versions/d345aba2aa51a26a1f08e6548473e79f.json @@ -0,0 +1,4 @@ +{ + "client": "d86ff17655502fb7a052", + "server": "3d1b45632682385ee36a" +} \ No newline at end of file diff --git a/ssr-html/versions/d86ff17655502fb7a052.zip b/ssr-html/versions/d86ff17655502fb7a052.zip new file mode 100644 index 000000000..855db3f0e Binary files /dev/null and b/ssr-html/versions/d86ff17655502fb7a052.zip differ diff --git a/ssr-html/versions/latest.json b/ssr-html/versions/latest.json new file mode 100644 index 000000000..4f2bb4e7a --- /dev/null +++ b/ssr-html/versions/latest.json @@ -0,0 +1,4 @@ +{ + "client": "d86ff17655502fb7a052", + "server": "3d1b45632682385ee36a" +} \ No newline at end of file diff --git a/ssr-vue2-host/chunks/132.c5e6c391.js b/ssr-vue2-host/chunks/132.c5e6c391.js new file mode 100644 index 000000000..17bac9005 --- /dev/null +++ b/ssr-vue2-host/chunks/132.c5e6c391.js @@ -0,0 +1 @@ +export const ids=["132"];export const modules={234:function(e,t,n){n.r(t),n.d(t,{default:()=>i});var o=n("946"),l=n("527"),r=n("688");class s extends r.Qr{}s=function(e,t,n,o){var l,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(l=e[c])&&(s=(r<3?l(s):r>3?l(t,n,s):l(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([r.K0],s);let c=(0,o.defineComponent)({name:"app",...s.inject()}),f=(0,o.defineComponent)({...c,setup:e=>({__sfc:!0,App:s,layout:l.default})});n("468");let i=(0,n("652").Z)(f,function(){var e=this._self._c;return e("div",{staticClass:"box"},[e(this._self._setupProxy.layout,[this._v("\n Hello world!\n ")])],1)},[],!1,null,null,null).exports},330:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});var o=n(220),l=n.n(o),r=n(738),s=n.n(r)()(l());s.push([e.id,"div,body,html,h2{margin:0;padding:0}",""]);let c=s},468:function(e,t,n){var o=n(330);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,n(441).Z)("03244ea8",o,!0,{})}}; \ No newline at end of file diff --git a/ssr-vue2-host/chunks/85.8881a335.js b/ssr-vue2-host/chunks/85.8881a335.js new file mode 100644 index 000000000..b1f6e4571 --- /dev/null +++ b/ssr-vue2-host/chunks/85.8881a335.js @@ -0,0 +1 @@ +export const ids=["85"];export const modules={652:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t,n,r,o,s,i,u){var c,a="function"==typeof e?e.options:e;if(t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),s&&(a._scopeId="data-v-"+s),i?(c=function(e){!(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&"undefined"!=typeof __VUE_SSR_CONTEXT__&&(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},a._ssrRegister=c):o&&(c=u?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),c){if(a.functional){a._injectStyles=c;var l=a.render;a.render=function(e,t){return c.call(t),l(e,t)}}else{var f=a.beforeCreate;a.beforeCreate=f?[].concat(f,c):[c]}}return{exports:e,options:a}}},738:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var u=0;u0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l)}},t}},220:function(e){e.exports=function(e){return e[1]}},688:function(e,t,n){n.d(t,{K0:function(){return T},Qr:function(){return M}});var r,o=n(946),s=Object.defineProperty,i=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);let c=/^2\./.test(o.version),a=/^3\./.test(o.version);function l(){let e=(0,o.getCurrentInstance)();return e&&e.proxy?e.proxy:null}let f=0,p=!1,d=new WeakMap,h="setupOptions",v="setup",g="setupPropertyDescriptor",m="__setupDefine",y="__setupUse__",$=["constructor","$props","$emit"];function b(e){return(t,n)=>{Object.defineProperty(e,t,n)}}function _(e){}function E(e){}let C=[m,"$vm","$emit","$props"];function w(e,t){let n;e[y]?n=e[y]:(n=new Map,Object.defineProperty(e,y,{get:()=>n}));let r=n.get(t);return r?r:(r=new t,n.set(t,r),r)}class O{constructor(){var e;u(this,"$vm"),u(this,"$emit");let t=l();this.$vm=null!=t?t:{$props:{},$emit:x},this.$emit=this.$vm.$emit.bind(this.$vm),e=this,f>0?(d.set(e,f),f=0,p=!0):console.warn("The instance did not use the '@Setup' decorator")}static use(){let e=l();if(!e)throw Error("Please run in the setup function");return w(e,this)}static inject(){let e=this;return{created(){!function(e,t){a&&!function(e,t){if(!t.$)return;let n=t.$,r=n.ssrRender||n.render;if(e[m]&&r){let o=Object.keys(e.$defaultProps);if(!o.length)return;let s=(...n)=>{let s=t.$props,i=[],u=b(s);o.forEach(t=>{let n=e[t];if(s[t]!==n){let e=Object.getOwnPropertyDescriptor(s,t);if(!e)return;u(t,{...e,value:n}),i.push({key:t,pd:e})}});let c=r.apply(t,n);return i.forEach(e=>{u(e.key,e.pd)}),c};n.ssrRender?n.ssrRender=s:n.render&&(n.render=s)}}(e,t);let n=Object.getOwnPropertyNames(e),r=b(t),o=e.constructor[g];n.forEach(t=>{!(o.has(t)||C.includes(t))&&r(t,{get:()=>e[t],set(n){e[t]=n}})}),o.forEach((t,n)=>{!C.includes(n)&&r(n,{get:()=>e[n],set(t){e[n]=t}})})}(w(this,e),this)}}}get $props(){var e;return null!=(e=this.$vm.$props)?e:{}}}function x(){}u(O,v,!1),u(O,h,new Map),u(O,g,new Map);let j=new Map;function P(e){return e[h]}function S(){return!0}let M=(r=class extends O{constructor(){super(),u(this,"$defaultProps",{});let e=b(this);e("$defaultProps",{enumerable:!1,writable:!1}),e(m,{get:S})}},u(r,"setupDefine",!0),r);function R(e){return null==e}let N=/[A-Z]/g;function T(e){class t extends e{constructor(...e){if(p?(p=!1,f=1):f++,super(...e),function(e){let t=d.get(e);if("number"==typeof t){if(!--t)return d.delete(e),p=!1,!0;d.set(e,t)}return!1}(this))return function(e){let t=e.constructor,n=t[h],r=t.setupPropertyDescriptor;return r.forEach(({value:t,writable:n},r)=>{"function"==typeof t&&n&&(e[r]=t.bind(e))}),e[m]&&!function(e){let t=b(e),n=e.$props;Object.keys(n).forEach(r=>{if(r in e){e.$defaultProps[r]=e[r];let o=e.$defaultProps;t(r,{get(){let t=n[r];return"boolean"==typeof t?!function(e,t){let n=null;if(n=c?e.$options&&e.$options.propsData:e.$&&e.$.vnode&&e.$.vnode.props){let e=n[t];return!function(e){return null==e}(function(e){return null==e}(e)?n[function(e){return e.replace(N,e=>"-"+e.toLowerCase()).replace(/^-/,"")}(t)]:e)}return!1}(e.$vm,r)&&(t=o[r]):function(e){return null==e}(t)&&(t=o[r]),t}})}else t(r,{get:()=>n[r]})})}(e),!function(e,t){let n=b(e);t.forEach((t,r)=>{let s=t.get;if(s){s=s.bind(e);let i=(0,o.computed)(s);n(r,{...t,get:()=>i.value})}})}(e,r),n.forEach((t,n)=>t.forEach(t=>{"_"!==t[0]&&function(t,n){n(e[t])}(t,n)})),e}((0,o.reactive)(this))}}return u(t,h,function(e){let t=j;return e[h].forEach((e,n)=>{let r=[...e],o=t.get(n);o&&o.forEach(e=>{!r.includes(e)&&r.push(e)}),t.set(n,r)}),j=new Map,t}(e)),u(t,v,!0),u(t,g,function(e){let t=[],n=new Map;for(;e&&e.prototype;)t.unshift(Object.getOwnPropertyDescriptors(e.prototype)),e=Object.getPrototypeOf(e);return t.forEach(e=>{Object.keys(e).forEach(t=>{if($.includes(t)){delete e[t];return}n.set(t,e[t])})}),n}(e)),t}},441:function(e,t,n){function r(e,t){for(var n=[],r={},o=0;ov});var o,s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)throw Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},u=s&&(document.head||document.getElementsByTagName("head")[0]),c=null,a=0,l=!1,f=function(){},p=null,d="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){l=n,p=o||{};var s=r(e,t);return g(s),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;oPromise.all([i.e("85"),i.e("132")]).then(i.bind(i,234)));({app:new f.default({render:e=>e(c)})}).app.$mount('[data-server-rendered="true"]'); \ No newline at end of file diff --git a/ssr-vue2-host/importmap.ec4a561d08178441fea2.js b/ssr-vue2-host/importmap.ec4a561d08178441fea2.js new file mode 100644 index 000000000..2afec6e9a --- /dev/null +++ b/ssr-vue2-host/importmap.ec4a561d08178441fea2.js @@ -0,0 +1 @@ +(t=>{let r="ssr-vue2-host",s="__importmap__",e=t[s]=t[s]||{},i=e.imports=e.imports||{},n=new URL(document.currentScript.src).pathname.split("/"+r+"/"),o=t=>r+t.substring(1);Object.entries({"./entry":"./entry.a9cabab1.js"}).forEach(([t,r])=>{i[o(t)]=n[0]+"/"+o(r)})})(globalThis); \ No newline at end of file diff --git a/ssr-vue2-host/importmap.js b/ssr-vue2-host/importmap.js new file mode 100644 index 000000000..2afec6e9a --- /dev/null +++ b/ssr-vue2-host/importmap.js @@ -0,0 +1 @@ +(t=>{let r="ssr-vue2-host",s="__importmap__",e=t[s]=t[s]||{},i=e.imports=e.imports||{},n=new URL(document.currentScript.src).pathname.split("/"+r+"/"),o=t=>r+t.substring(1);Object.entries({"./entry":"./entry.a9cabab1.js"}).forEach(([t,r])=>{i[o(t)]=n[0]+"/"+o(r)})})(globalThis); \ No newline at end of file diff --git a/ssr-vue2-host/index.html b/ssr-vue2-host/index.html new file mode 100644 index 000000000..61585456e --- /dev/null +++ b/ssr-vue2-host/index.html @@ -0,0 +1,33 @@ + + + + + + + Gez + + + +
+ Hello world! +
+ + + + + + + + diff --git a/ssr-vue2-host/package.json b/ssr-vue2-host/package.json new file mode 100644 index 000000000..3e19ec4dd --- /dev/null +++ b/ssr-vue2-host/package.json @@ -0,0 +1,15 @@ +{ + "name": "ssr-vue2-host", + "version": "1.0.0", + "hash": "ec4a561d08178441fea2", + "type": "module", + "exports": { + "./entry": "./entry.a9cabab1.js" + }, + "files": [ + "importmap.ec4a561d08178441fea2.js", + "entry.a9cabab1.js", + "chunks/132.c5e6c391.js", + "chunks/85.8881a335.js" + ] +} \ No newline at end of file diff --git a/ssr-vue2-host/versions/1ed7cf75d0a72591d9735301b010c96d.json b/ssr-vue2-host/versions/1ed7cf75d0a72591d9735301b010c96d.json new file mode 100644 index 000000000..caecef5d3 --- /dev/null +++ b/ssr-vue2-host/versions/1ed7cf75d0a72591d9735301b010c96d.json @@ -0,0 +1,4 @@ +{ + "client": "ec4a561d08178441fea2", + "server": "33f9a58ef0a80d802cd2" +} \ No newline at end of file diff --git a/ssr-vue2-host/versions/33f9a58ef0a80d802cd2.zip b/ssr-vue2-host/versions/33f9a58ef0a80d802cd2.zip new file mode 100644 index 000000000..ec955f973 Binary files /dev/null and b/ssr-vue2-host/versions/33f9a58ef0a80d802cd2.zip differ diff --git a/ssr-vue2-host/versions/ec4a561d08178441fea2.zip b/ssr-vue2-host/versions/ec4a561d08178441fea2.zip new file mode 100644 index 000000000..92e27c866 Binary files /dev/null and b/ssr-vue2-host/versions/ec4a561d08178441fea2.zip differ diff --git a/ssr-vue2-host/versions/latest.json b/ssr-vue2-host/versions/latest.json new file mode 100644 index 000000000..caecef5d3 --- /dev/null +++ b/ssr-vue2-host/versions/latest.json @@ -0,0 +1,4 @@ +{ + "client": "ec4a561d08178441fea2", + "server": "33f9a58ef0a80d802cd2" +} \ No newline at end of file diff --git a/ssr-vue2-remote/chunks/85.15604eac.js b/ssr-vue2-remote/chunks/85.15604eac.js new file mode 100644 index 000000000..413b3029c --- /dev/null +++ b/ssr-vue2-remote/chunks/85.15604eac.js @@ -0,0 +1 @@ +export const ids=["85"];export const modules={652:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t,n,r,o,s,i,u){var c,a="function"==typeof e?e.options:e;if(t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),s&&(a._scopeId="data-v-"+s),i?(c=function(e){!(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&"undefined"!=typeof __VUE_SSR_CONTEXT__&&(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},a._ssrRegister=c):o&&(c=u?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),c){if(a.functional){a._injectStyles=c;var l=a.render;a.render=function(e,t){return c.call(t),l(e,t)}}else{var f=a.beforeCreate;a.beforeCreate=f?[].concat(f,c):[c]}}return{exports:e,options:a}}},738:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var u=0;u0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l)}},t}},220:function(e){e.exports=function(e){return e[1]}},688:function(e,t,n){n.d(t,{K0:function(){return U},Nm:function(){return B},Qr:function(){return R}});var r,o=n(946),s=Object.defineProperty,i=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);let c=/^2\./.test(o.version),a=/^3\./.test(o.version);function l(){let e=(0,o.getCurrentInstance)();return e&&e.proxy?e.proxy:null}let f=0,p=!1,d=new WeakMap,h="setupOptions",v="setup",g="setupPropertyDescriptor",m="__setupDefine",y="__setupUse__",$=["constructor","$props","$emit"];function b(e){return(t,n)=>{Object.defineProperty(e,t,n)}}function _(e){}function E(e){}let w=[m,"$vm","$emit","$props"];function C(e,t){let n;e[y]?n=e[y]:(n=new Map,Object.defineProperty(e,y,{get:()=>n}));let r=n.get(t);return r?r:(r=new t,n.set(t,r),r)}class O{constructor(){var e;u(this,"$vm"),u(this,"$emit");let t=l();this.$vm=null!=t?t:{$props:{},$emit:x},this.$emit=this.$vm.$emit.bind(this.$vm),e=this,f>0?(d.set(e,f),f=0,p=!0):console.warn("The instance did not use the '@Setup' decorator")}static use(){let e=l();if(!e)throw Error("Please run in the setup function");return C(e,this)}static inject(){let e=this;return{created(){!function(e,t){a&&!function(e,t){if(!t.$)return;let n=t.$,r=n.ssrRender||n.render;if(e[m]&&r){let o=Object.keys(e.$defaultProps);if(!o.length)return;let s=(...n)=>{let s=t.$props,i=[],u=b(s);o.forEach(t=>{let n=e[t];if(s[t]!==n){let e=Object.getOwnPropertyDescriptor(s,t);if(!e)return;u(t,{...e,value:n}),i.push({key:t,pd:e})}});let c=r.apply(t,n);return i.forEach(e=>{u(e.key,e.pd)}),c};n.ssrRender?n.ssrRender=s:n.render&&(n.render=s)}}(e,t);let n=Object.getOwnPropertyNames(e),r=b(t),o=e.constructor[g];n.forEach(t=>{!(o.has(t)||w.includes(t))&&r(t,{get:()=>e[t],set(n){e[t]=n}})}),o.forEach((t,n)=>{!w.includes(n)&&r(n,{get:()=>e[n],set(t){e[n]=t}})})}(C(this,e),this)}}}get $props(){var e;return null!=(e=this.$vm.$props)?e:{}}}function x(){}u(O,v,!1),u(O,h,new Map),u(O,g,new Map);let j=new Map,P=null;function S(){return j}function M(e){return e[h]}function N(){return!0}let R=(r=class extends O{constructor(){super(),u(this,"$defaultProps",{});let e=b(this);e("$defaultProps",{enumerable:!1,writable:!1}),e(m,{get:N})}},u(r,"setupDefine",!0),r);function T(e){return null==e}let D=/[A-Z]/g;function U(e){class t extends e{constructor(...e){if(p?(p=!1,f=1):f++,super(...e),function(e){let t=d.get(e);if("number"==typeof t){if(!--t)return d.delete(e),p=!1,!0;d.set(e,t)}return!1}(this))return function(e){let t=e.constructor,n=t[h],r=t.setupPropertyDescriptor;return r.forEach(({value:t,writable:n},r)=>{"function"==typeof t&&n&&(e[r]=t.bind(e))}),e[m]&&!function(e){let t=b(e),n=e.$props;Object.keys(n).forEach(r=>{if(r in e){e.$defaultProps[r]=e[r];let o=e.$defaultProps;t(r,{get(){let t=n[r];return"boolean"==typeof t?!function(e,t){let n=null;if(n=c?e.$options&&e.$options.propsData:e.$&&e.$.vnode&&e.$.vnode.props){let e=n[t];return!function(e){return null==e}(function(e){return null==e}(e)?n[function(e){return e.replace(D,e=>"-"+e.toLowerCase()).replace(/^-/,"")}(t)]:e)}return!1}(e.$vm,r)&&(t=o[r]):function(e){return null==e}(t)&&(t=o[r]),t}})}else t(r,{get:()=>n[r]})})}(e),!function(e,t){let n=b(e);t.forEach((t,r)=>{let s=t.get;if(s){s=s.bind(e);let i=(0,o.computed)(s);n(r,{...t,get:()=>i.value})}})}(e,r),n.forEach((t,n)=>t.forEach(t=>{"_"!==t[0]&&function(t,n){n(e[t])}(t,n)})),e}((0,o.reactive)(this))}}return u(t,h,function(e){let t=j;return e[h].forEach((e,n)=>{let r=[...e],o=t.get(n);o&&o.forEach(e=>{!r.includes(e)&&r.push(e)}),t.set(n,r)}),j=new Map,P=null,t}(e)),u(t,v,!0),u(t,g,function(e){let t=[],n=new Map;for(;e&&e.prototype;)t.unshift(Object.getOwnPropertyDescriptors(e.prototype)),e=Object.getPrototypeOf(e);return t.forEach(e=>{Object.keys(e).forEach(t=>{if($.includes(t)){delete e[t];return}n.set(t,e[t])})}),n}(e)),t}function k(e){e()}function B(e=k){return function(t,n,r){!function(e,t,n){if(P){if(e!==P)throw console.error("@Setup is not set",P),TypeError("@Setup is not set ")}else P=e;let r=j,o=r.get(t);o?!o.includes(n)&&o.push(n):r.set(t,[n])}(t,e,n)}}},441:function(e,t,n){function r(e,t){for(var n=[],r={},o=0;ov});var o,s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)throw Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},u=s&&(document.head||document.getElementsByTagName("head")[0]),c=null,a=0,l=!1,f=function(){},p=null,d="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){l=n,p=o||{};var s=r(e,t);return g(s),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;oh});var o=n("946"),i=n("688"),r=n("632"),s=[function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"logo"},[t("img",{attrs:{width:"120",height:"120",src:n(69)}})])}];class l extends i.Qr{}l=function(t,e,n,o){var i,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(s=(r<3?i(s):r>3?i(e,n,s):i(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s}([i.K0],l);let a=(0,o.defineComponent)({...l.inject()}),c=(0,o.defineComponent)({...a,__name:"logo",setup:t=>({__sfc:!0,App:l})});n("86");var u=n("652");let f=(0,u.Z)(c,function(){return this._self._c,this._self._setupProxy,this._m(0)},s,!1,null,"b5bc8e20",null).exports;function d(t,e,n,o){var i,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(s=(r<3?i(s):r>3?i(e,n,s):i(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s}class p extends i.Qr{mounted(){let t=setInterval(()=>{this.time=new Date().toISOString()},1e3);(0,o.onBeforeUnmount)(()=>{clearInterval(t)})}constructor(...t){var e,n,o;super(...t),e=this,n="time",o=new Date().toISOString(),n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}}d([(0,i.Nm)(o.onMounted)],p.prototype,"mounted",null),p=d([i.K0],p);let m=(0,o.defineComponent)({name:"app",...p.inject()}),_=(0,o.defineComponent)({...m,setup:t=>({__sfc:!0,App:p,layout:r.Z,Logo:f})});n("347");let h=(0,u.Z)(_,function(){var t=this._self._c,e=this._self._setupProxy;return t(e.layout,[t(e.Logo),this._v(" "),t("p",[this._v("\n Time: "+this._s(this.time)+"\n ")])],1)},[],!1,null,null,null).exports},632:function(t,e,n){n.d(e,{Z:()=>a});var o=n("946"),i=n("688");class r extends i.Qr{}r=function(t,e,n,o){var i,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(s=(r<3?i(s):r>3?i(e,n,s):i(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s}([i.K0],r);let s=(0,o.defineComponent)({...r.inject()}),l=(0,o.defineComponent)({...s,__name:"layout",setup:t=>({__sfc:!0,App:r})});n("589");let a=(0,n("652").Z)(l,function(){var t=this._self._c;return this._self._setupProxy,t("div",{staticClass:"layout"},[this._m(0),this._v(" "),t("main",[this._t("default")],2)])},[function(){var t=this._self._c;return this._self._setupProxy,t("header",{staticClass:"menu-list"},[t("div",{staticClass:"menu-list-item"},[t("a",{staticClass:"menu-list-item-link",attrs:{href:"https://github.com/dp-os/gez",target:"_blank"}},[this._v("github")])]),this._v(" "),t("div",{staticClass:"menu-list-item"},[t("a",{staticClass:"menu-list-item-link",attrs:{href:"https://www.npmjs.com/package/@gez/core",target:"_blank"}},[this._v("npm")])])])}],!1,null,"0270ba7a",null).exports},120:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var o=n(220),i=n.n(o),r=n(738),s=n.n(r)()(i());s.push([t.id,"div,body,html,h2{margin:0;padding:0}",""]);let l=s},498:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var o=n(220),i=n.n(o),r=n(738),s=n.n(r)()(i());s.push([t.id,".menu-list[data-v-0270ba7a]{display:flex}.menu-list-item[data-v-0270ba7a]{background:#efefef;border-radius:5px;margin:5px;padding:10px}.menu-list-item[data-v-0270ba7a]:hover{background:#00f}.menu-list-item:hover a[data-v-0270ba7a]{color:#fff}.menu-list-item-link[data-v-0270ba7a]{color:#000;text-decoration:none}",""]);let l=s},21:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var o=n(220),i=n.n(o),r=n(738),s=n.n(r)()(i());s.push([t.id,".logo[data-v-b5bc8e20]{border:1px solid red;padding:5px}",""]);let l=s},347:function(t,e,n){var o=n(120);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals),(0,n(441).Z)("e78c6c24",o,!0,{})},589:function(t,e,n){var o=n(498);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals),(0,n(441).Z)("65e29cbb",o,!0,{})},86:function(t,e,n){var o=n(21);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals),(0,n(441).Z)("62a34442",o,!0,{})},69:function(t,e,n){t.exports=n.p+"images/logo.33084dc8.svg"}}; \ No newline at end of file diff --git a/ssr-vue2-remote/entry.bd53cb19.js b/ssr-vue2-remote/entry.bd53cb19.js new file mode 100644 index 000000000..8a08aab57 --- /dev/null +++ b/ssr-vue2-remote/entry.bd53cb19.js @@ -0,0 +1 @@ +import*as e from"ssr-vue2-remote/npm/vue";var r,t,n={946:function(r){r.exports=e}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,exports:{}};return n[e](t,t.exports,i),t.exports}i.m=n,i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,{a:r}),r},i.d=function(e,r){for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce(function(r,t){return i.f[t](e,r),r},[]))},i.u=function(e){return"chunks/"+e+"."+({85:"15604eac",850:"966a3474"})[e]+".js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.rv=function(){return"1.0.14"},(()=>{var e;if("string"==typeof import.meta.url&&(e=import.meta.url),!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),r={813:0},t=function(e){var t=e.ids,n=e.modules,o=e.runtime,u,f,a=0;for(u in n)i.o(n,u)&&(i.m[u]=n[u]);for(o&&o(i);aPromise.all([i.e("85"),i.e("850")]).then(i.bind(i,335)));({app:new u.default({render:e=>e(f)})}).app.$mount('[data-server-rendered="true"]'); \ No newline at end of file diff --git a/ssr-vue2-remote/images/logo.33084dc8.svg b/ssr-vue2-remote/images/logo.33084dc8.svg new file mode 100644 index 000000000..fef098a63 --- /dev/null +++ b/ssr-vue2-remote/images/logo.33084dc8.svg @@ -0,0 +1,3 @@ + + Gez + \ No newline at end of file diff --git a/ssr-vue2-remote/importmap.4cfcf064871c9700871c.js b/ssr-vue2-remote/importmap.4cfcf064871c9700871c.js new file mode 100644 index 000000000..bacfa2dbb --- /dev/null +++ b/ssr-vue2-remote/importmap.4cfcf064871c9700871c.js @@ -0,0 +1 @@ +(e=>{let t="ssr-vue2-remote",s="__importmap__",r=e[s]=e[s]||{},n=r.imports=r.imports||{},o=new URL(document.currentScript.src).pathname.split("/"+t+"/"),c=e=>t+e.substring(1);Object.entries({"./entry":"./entry.bd53cb19.js","./src/components/layout.vue":"./src/components/layout.vue.2627c06c.js","./npm/vue":"./npm/vue.f11f8a2e.js"}).forEach(([e,t])=>{n[c(e)]=o[0]+"/"+c(t)})})(globalThis); \ No newline at end of file diff --git a/ssr-vue2-remote/importmap.js b/ssr-vue2-remote/importmap.js new file mode 100644 index 000000000..bacfa2dbb --- /dev/null +++ b/ssr-vue2-remote/importmap.js @@ -0,0 +1 @@ +(e=>{let t="ssr-vue2-remote",s="__importmap__",r=e[s]=e[s]||{},n=r.imports=r.imports||{},o=new URL(document.currentScript.src).pathname.split("/"+t+"/"),c=e=>t+e.substring(1);Object.entries({"./entry":"./entry.bd53cb19.js","./src/components/layout.vue":"./src/components/layout.vue.2627c06c.js","./npm/vue":"./npm/vue.f11f8a2e.js"}).forEach(([e,t])=>{n[c(e)]=o[0]+"/"+c(t)})})(globalThis); \ No newline at end of file diff --git a/ssr-vue2-remote/index.html b/ssr-vue2-remote/index.html new file mode 100644 index 000000000..6b4caa8d7 --- /dev/null +++ b/ssr-vue2-remote/index.html @@ -0,0 +1,33 @@ + + + + + + + Gez + + + +

+ Time: 2024-11-05T01:52:25.879Z +

+ + + + + + + diff --git a/ssr-vue2-remote/npm/vue.f11f8a2e.js b/ssr-vue2-remote/npm/vue.f11f8a2e.js new file mode 100644 index 000000000..ab9e129f9 --- /dev/null +++ b/ssr-vue2-remote/npm/vue.f11f8a2e.js @@ -0,0 +1 @@ +var t,e,n,r,o,i,a,s,c,u,l,f,p,d,v,h,_,m,g,y,b,w,x,$,k,C,S,O,T,A,j,E,P,R,N={},D={};function M(t){var e=D[t];if(void 0!==e)return e.exports;var n=D[t]={exports:{}};return N[t](n,n.exports,M),n.exports}M.d=function(t,e){for(var n in e)M.o(e,n)&&!M.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},M.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),M.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},M.rv=function(){return"1.0.14"},M.ruid="bundler=rspack@1.0.14";var I={};M.d(I,{$y:function(){return ep},Ah:function(){return re},B:function(){return nu},BK:function(){return eC},Bj:function(){return nc},EB:function(){return nf},FN:function(){return tK},Fl:function(){return ej},HA:function(){return e7},IU:function(){return function t(e){var n=e&&e.__v_raw;return n?t(n):e}},IV:function(){return ea},JJ:function(){return nF},Jd:function(){return rt},OT:function(){return eO},Ob:function(){return nD},PG:function(){return el},RC:function(){return n9},Rh:function(){return nN},Rr:function(){return e8},SU:function(){return ew},Um:function(){return ec},Vh:function(){return eS},WL:function(){return ex},X3:function(){return ed},XI:function(){return eg},Xl:function(){return ev},Xn:function(){return n7},Y3:function(){return n1},YP:function(){return nI},YS:function(){return eA},Yq:function(){return ra},ZM:function(){return ek},ZP:function(){return rJ},aZ:function(){return rl},bT:function(){return ri},bv:function(){return n6},d1:function(){return rc},dl:function(){return rn},dq:function(){return e_},f3:function(){return nU},fb:function(){return n2},h:function(){return nH},i8:function(){return ru},iH:function(){return em},ic:function(){return n5},l1:function(){return e6},m0:function(){return nR},nZ:function(){return nl},oR:function(){return eb},qj:function(){return es},se:function(){return rr},sj:function(){return n3},t8:function(){return ei},u_:function(){return nt},vl:function(){return ro},wF:function(){return n8},yT:function(){return ef}});var L=Object.freeze({}),F=Array.isArray;function B(t){return null==t}function U(t){return null!=t}function H(t){return!0===t}function V(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function z(t){return"function"==typeof t}function J(t){return null!==t&&"object"==typeof t}var K=Object.prototype.toString;function q(t){return"[object Object]"===K.call(t)}function Z(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function W(t){return U(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function X(t){return null==t?"":Array.isArray(t)||q(t)&&t.toString===K?JSON.stringify(t,Y,2):String(t)}function Y(t,e){return e&&e.__v_isRef?e.value:e}function G(t){var e=parseFloat(t);return isNaN(e)?t:e}function Q(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var tr=Object.prototype.hasOwnProperty;function to(t,e){return tr.call(t,e)}function ti(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var ta=/-(\w)/g,ts=ti(function(t){return t.replace(ta,function(t,e){return e?e.toUpperCase():""})}),tc=ti(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),tu=/\B([A-Z])/g,tl=ti(function(t){return t.replace(tu,"-$1").toLowerCase()}),tf=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function tp(t,e){e=e||0;for(var n=t.length-e,r=Array(n);n--;)r[n]=t[n+e];return r}function td(t,e){for(var n in e)t[n]=e[n];return t}function tv(t){for(var e={},n=0;n0,tD=tP&&tP.indexOf("edge/")>0;tP&&tP.indexOf("android");var tM=tP&&/iphone|ipad|ipod|ios/.test(tP);tP&&/chrome\/\d+/.test(tP),tP&&/phantomjs/.test(tP);var tI=tP&&tP.match(/firefox\/(\d+)/),tL={}.watch,tF=!1;if(tE)try{var tB={};Object.defineProperty(tB,"passive",{get:function(){tF=!0}}),window.addEventListener("test-passive",null,tB)}catch(t){}var tU=function(){return void 0===c&&(c=!tE&&void 0!==M.g&&M.g.process&&"server"===M.g.process.env.VUE_ENV),c},tH=tE&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function tV(t){return"function"==typeof t&&/native code/.test(t.toString())}var tz="undefined"!=typeof Symbol&&tV(Symbol)&&"undefined"!=typeof Reflect&&tV(Reflect.ownKeys);u="undefined"!=typeof Set&&tV(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var tJ=null;function tK(){return tJ&&{proxy:tJ}}function tq(t){void 0===t&&(t=null),!t&&tJ&&tJ._scope.off(),tJ=t,t&&t._scope.on()}var tZ=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),tW=function(t){void 0===t&&(t="");var e=new tZ;return e.text=t,e.isComment=!0,e};function tX(t){return new tZ(void 0,void 0,void 0,String(t))}function tY(t){var e=new tZ(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var tG=0,tQ=[],t0=function(){for(var t=0;t0&&(eI((o=t(o,"".concat(n||"","_").concat(r)))[0])&&eI(a)&&(s[i]=tX(a.text+o[0].text),o.shift()),s.push.apply(s,o)):V(o)?eI(a)?s[i]=tX(a.text+o):""!==o&&s.push(tX(o)):eI(o)&&eI(a)?s[i]=tX(a.text+o.text):(H(e._isVList)&&U(o.tag)&&B(o.key)&&U(n)&&(o.key="__vlist".concat(n,"_").concat(r,"__")),s.push(o)));return s}(t):void 0}function eI(t){return U(t)&&U(t.text)&&!1===t.isComment}function eL(t,e,n,r,o,i){return(F(n)||V(n))&&(o=r,r=n,n=void 0),H(i)&&(o=2),function(t,e,n,r,o){if(U(n)&&U(n.__ob__))return tW();if(U(n)&&U(n.is)&&(e=n.is),!e)return tW();if(F(r)&&z(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),2===o?r=eM(r):1===o&&(r=function(t){for(var e=0;e0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;else if(a&&r&&r!==L&&s===r.$key&&!i&&!r.$hasNormal)return r;else for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=function(t,e,n,r){var o=function(){var e=tJ;tq(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!F(n)?[n]:eM(n))&&n[0];return tq(e),n&&(!o||1===n.length&&o.isComment&&!e1(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}(t,n,c,e[c]))}else o={};for(var u in n)!(u in o)&&(o[u]=function(t,e){return function(){return t[e]}}(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),tT(o,"$stable",a),tT(o,"$key",s),tT(o,"$hasNormal",i),o}function e3(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};tT(e,"_v_attr_proxy",!0),e9(e,t.$attrs,L,t,"$attrs")}return t._attrsProxy},get listeners(){return!t._listenersProxy&&e9(t._listenersProxy={},t.$listeners,L,t,"$listeners"),t._listenersProxy},get slots(){return function(t){return!t._slotsProxy&&e4(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}(t)},emit:tf(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return e$(t,e,n)})}}}function e9(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,function(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}(t,a,r,o));for(var a in t)!(a in e)&&(i=!0,delete t[a]);return i}function e4(t,e){for(var n in e)t[n]=e[n];for(var n in t)!(n in e)&&delete t[n]}function e8(){return e5().slots}function e6(){return e5().attrs}function e7(){return e5().listeners}function e5(){var t=tJ;return t._setupContext||(t._setupContext=e3(t))}function nt(t,e){var n=F(t)?t.reduce(function(t,e){return t[e]={},t},{}):t;for(var r in e){var o=n[r];o?F(o)||z(o)?n[r]={type:o,default:e[r]}:o.default=e[r]:null===o&&(n[r]={default:e[r]})}return n}var ne=null;function nn(t,e){return(t.__esModule||tz&&"Module"===t[Symbol.toStringTag])&&(t=t.default),J(t)?e.extend(t):t}function nr(t){if(F(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(nk=function(){return nC.now()})}var nS=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return -1;return t.id-e.id};function nO(){for(n$=nk(),nw=!0,nm.sort(nS),nx=0;nxnx&&nm[n].id>t.id;)n--;nm.splice(n+1,0,t)}else nm.push(t);if(!nb){nb=!0;n1(nO)}}}var nA="watcher",nj="".concat(nA," callback"),nE="".concat(nA," getter"),nP="".concat(nA," cleanup");function nR(t,e){return nL(t,null,e)}function nN(t,e){return nL(t,null,{flush:"post"})}function nD(t,e){return nL(t,null,{flush:"sync"})}var nM={};function nI(t,e,n){return nL(t,e,n)}function nL(t,e,n){var r,o,i=void 0===n?L:n,a=i.immediate,s=i.deep,c=i.flush,u=void 0===c?"pre":c;i.onTrack,i.onTrigger;var l=tJ,f=function(t,e,n){void 0===n&&(n=null);var r=nz(t,null,n,l,e);return s&&r&&r.__ob__&&r.__ob__.dep.depend(),r},p=!1,d=!1;if(e_(t)?(r=function(){return t.value},p=ef(t)):el(t)?(r=function(){return t.__ob__.dep.depend(),t},s=!0):F(t)?(d=!0,p=t.some(function(t){return el(t)||ef(t)}),r=function(){return t.map(function(t){if(e_(t))return t.value;if(el(t))return t.__ob__.dep.depend(),rp(t);if(z(t))return f(t,nE)})}):r=z(t)?e?function(){return f(t,nE)}:function(){if(!l||!l._isDestroyed)return o&&o(),f(t,nA,[h])}:th,e&&s){var v=r;r=function(){return rp(v())}}var h=function(t){o=_.onStop=function(){f(t,nP)}};if(tU())return h=th,e?a&&f(e,nj,[r(),d?[]:void 0,h]):r(),th;var _=new rv(tJ,r,th,{lazy:!0});_.noRecurse=!e;var m=d?[]:nM;return _.run=function(){if(!!_.active)if(e){var t=_.get();(s||p||(d?t.some(function(t,e){return tw(t,m[e])}):tw(t,m)))&&(o&&o(),f(e,nj,[t,m===nM?void 0:m,h]),m=t)}else _.get()},"sync"===u?_.update=_.run:"post"===u?(_.post=!0,_.update=function(){return nT(_)}):_.update=function(){if(l&&l===tJ&&!l._isMounted){var t=l._preWatchers||(l._preWatchers=[]);0>t.indexOf(_)&&t.push(_)}else nT(_)},e?a?_.run():m=_.get():"post"===u&&l?l.$once("hook:mounted",function(){return _.get()}):_.get(),function(){_.teardown()}}function nF(t,e){if(tJ)nB(tJ)[t]=e}function nB(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function nU(t,e,n){void 0===n&&(n=!1);var r=tJ;if(r){var o=r.$parent&&r.$parent._provided;if(o&&t in o)return o[t];if(arguments.length>1)return n&&z(e)?e.call(r):e}}function nH(t,e,n){return eL(tJ,t,e,n,2,!0)}function nV(t,e,n){t3();try{if(e){for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i-1){if(i&&!to(o,"default"))a=!1;else if(""===a||a===tl(t)){var c=rz(String,o.type);(c<0||s1?tp(e):e;for(var n=tp(arguments,1),r='event handler for "'.concat(t,'"'),o=0,i=e.length;o-1;if("string"==typeof t)return t.split(",").indexOf(e)>-1;if(n=t,"[object RegExp]"===K.call(n))return t.test(e);return!1}function rZ(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&rW(n,a,r,o)}}i.componentOptions.children=void 0}function rW(t,e,n,r){var o=t[e];o&&(!r||o.tag!==r.tag)&&o.componentInstance.$destroy(),t[e]=null,tn(n,e)}var rX=[String,RegExp,Array],rY={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:rX,exclude:rX,max:[String,Number]},methods:{cacheVNode:function(){var t=this.cache,e=this.keys,n=this.vnodeToCache,r=this.keyToCache;if(n){var o=n.tag,i=n.componentInstance,a=n.componentOptions;t[r]={name:rK(a),tag:o,componentInstance:i},e.push(r),this.max&&e.length>parseInt(this.max)&&rW(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)rW(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){rZ(t,function(t){return rq(e,t)})}),this.$watch("exclude",function(e){rZ(t,function(t){return!rq(e,t)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=nr(t),n=e&&e.componentOptions;if(n){var r=rK(n),o=this.include,i=this.exclude;if(o&&(!r||!rq(o,r))||i&&r&&rq(i,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,tn(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e,n,r,o={};o.get=function(){return tC};Object.defineProperty(t,"config",o),t.util={warn:th,extend:td,mergeOptions:rL,defineReactive:eo},t.set=ei,t.delete=ea,t.nextTick=n1,t.observable=function(t){return er(t),t},t.options=Object.create(null),t$.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,td(t.options.components,rY),t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=tp(arguments,1);return n.unshift(this),z(t.install)?t.install.apply(t,n):z(t)&&t.apply(null,n),e.push(t),this},t.mixin=function(t){return this.options=rL(this.options,t),this},(e=t).cid=0,n=1,e.extend=function(t){t=t||{};var e=this,r=e.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=rT(t)||rT(e.options),a=function(t){this._init(t)};return a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.cid=n++,a.options=rL(e.options,t),a.super=e,a.options.props&&function(t){var e=t.options.props;for(var n in e)r_(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)rg(t.prototype,n,e[n])}(a),a.extend=e.extend,a.mixin=e.mixin,a.use=e.use,t$.forEach(function(t){a[t]=e[t]}),i&&(a.options.components[i]=a),a.superOptions=e.options,a.extendOptions=t,a.sealedOptions=td({},a.options),o[r]=a,a},r=t,t$.forEach(function(t){r[t]=function(e,n){return n?("component"===t&&q(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&z(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(rJ),Object.defineProperty(rJ.prototype,"$isServer",{get:tU}),Object.defineProperty(rJ.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(rJ,"FunctionalRenderContext",{value:rC}),rJ.version=ru;var rG=Q("style,class"),rQ=Q("input,textarea,option,select,progress"),r0=function(t,e,n){return"value"===n&&rQ(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},r1=Q("contenteditable,draggable,spellcheck"),r2=Q("events,caret,typing,plaintext-only"),r3=Q("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),r9="http://www.w3.org/1999/xlink",r4=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},r8=function(t){return r4(t)?t.slice(6,t.length):""},r6=function(t){return null==t||!1===t};function r7(t,e){return{staticClass:r5(t.staticClass,e.staticClass),class:U(t.class)?[t.class,e.class]:e.class}}function r5(t,e){return t?e?t+" "+e:t:e||""}function ot(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1)ox(t,e,n);else if(r3(e))r6(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n));else if(r1(e)){var o,i;t.setAttribute(e,(o=e,r6(i=n)||"false"===i?"false":"contenteditable"===o&&r2(i)?i:"true"))}else r4(e)?r6(n)?t.removeAttributeNS(r9,r8(e)):t.setAttributeNS(r9,e,n):ox(t,e,n)}function ox(t,e,n){if(r6(n))t.removeAttribute(e);else{if(tR&&!tN&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function o$(t,e){var n=e.elm,r=e.data,o=t.data;if(!(B(r.staticClass)&&B(r.class)&&(B(o)||B(o.staticClass)&&B(o.class)))){var i=function(t){for(var e=t.data,n=t,r=t;U(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=r7(r.data,e));for(;U(n=n.parent);)n&&n.data&&(e=r7(e,n.data));return function(t,e){return U(t)||U(e)?r5(t,ot(e)):""}(e.staticClass,e.class)}(e),a=n._transitionClasses;U(a)&&(i=r5(i,ot(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var ok=/[\w).+\-_$\]]/;function oC(t){var e,n,r,o,i,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=t.charAt(v));v--);(!h||!ok.test(h))&&(u=!0)}}else void 0===o?(d=r+1,o=t.slice(0,r).trim()):_();function _(){(i||(i=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===o?o=t.slice(0,r).trim():0!==d&&_(),i)for(r=0;rt.indexOf("[")||t.lastIndexOf("]")-1?{exp:t.slice(0,_),key:'"'+t.slice(_+1)+'"'}:{exp:t,key:null};for(v=t,_=m=g=0;!oB();)oU(h=oF())?oH(h):91===h&&function(t){var e=1;for(m=_;!(_>=d);){if(oU(t=oF())){oH(t);continue}if(91===t&&e++,93===t&&e--,0===e){g=_;break}}}(h);return{exp:t.slice(0,m),key:t.slice(m+1,g)}}(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function oF(){return v.charCodeAt(++_)}function oB(){return _>=d}function oU(t){return 34===t||39===t}function oH(t){for(var e=t;!(_>=d)&&(t=oF())!==e;);}function oV(t,e,n){var r=y;return function o(){var i=e.apply(null,arguments);null!==i&&oK(t,o,n,r)}}var oz=nq&&!(tI&&53>=Number(tI[1]));function oJ(t,e,n,r){if(oz){var o=n$,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}y.addEventListener(t,e,tF?{capture:n,passive:r}:n)}function oK(t,e,n,r){(r||y).removeEventListener(t,e._wrapper||e,n)}function oq(t,e){if(!(B(t.data.on)&&B(e.data.on))){var n=e.data.on||{},r=t.data.on||{};y=e.elm||t.elm,!function(t){if(U(t.__r)){var e=tR?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}U(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),eR(n,r,oJ,oK,oV,e.context),y=void 0}}function oZ(t,e){if(!(B(t.data.domProps)&&B(e.data.domProps))){var n,r,o=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};for(n in(U(a.__ob__)||H(a._v_attr_proxy))&&(a=e.data.domProps=td({},a)),i)!(n in a)&&(o[n]="");for(n in a){if(r=a[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var s=B(r)?"":String(r);(function(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(U(r)){if(r.number)return G(n)!==G(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))})(o,s)&&(o.value=s)}else if("innerHTML"===n&&or(o.tagName)&&B(o.innerHTML)){(b=b||document.createElement("div")).innerHTML="".concat(r,"");for(var c=b.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;c.firstChild;)o.appendChild(c.firstChild)}else if(r!==i[n])try{o[n]=r}catch(t){}}}}var oW=ti(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function oX(t){var e=oY(t.style);return t.staticStyle?td(t.staticStyle,e):e}function oY(t){return Array.isArray(t)?tv(t):"string"==typeof t?oW(t):t}var oG=/^--/,oQ=/\s*!important$/,o0=function(t,e,n){if(oG.test(e))t.style.setProperty(e,n);else if(oQ.test(n))t.style.setProperty(tl(e),n.replace(oQ,""),"important");else{var r=o2(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(o9).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");0>n.indexOf(" "+e+" ")&&t.setAttribute("class",(n+e).trim())}}function o8(t,e){if(!!e&&!!(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(o9).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),!t.classList.length&&t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function o6(t){if(!!t){if("object"==typeof t){var e={};return!1!==t.css&&td(e,o7(t.name||"v")),td(e,t),e}if("string"==typeof t)return o7(t)}}var o7=ti(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),o5=tE&&!tN,it="transition",ie="animation",ir="transition",io="transitionend",ii="animation",ia="animationend";o5&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ir="WebkitTransition",io="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ii="WebkitAnimation",ia="webkitAnimationEnd"));var is=tE?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ic(t){is(function(){is(t)})}function iu(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);0>n.indexOf(e)&&(n.push(e),o4(t,e))}function il(t,e){t._transitionClasses&&tn(t._transitionClasses,e),o8(t,e)}function ip(t,e,n){var r=iv(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===it?io:ia,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=it,l=a,f=i.length):e===ie?u>0&&(n=ie,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?it:ie:null)?n===it?i.length:c.length:0;var p=n===it&&id.test(r[ir+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function ih(t,e){for(;t.length1}function iw(t,e){!0!==e.data.show&&im(e)}var ix=function(t){var e,n,r={},o=t.modules,i=t.nodeOps;for(e=0;ep?v(t,B(n[g+1])?null:n[g+1].elm,n,f,g,r):f>g&&_(e,l,p)}(l,d,h,n,c):U(h)?(U(t.text)&&i.setTextContent(l,""),v(l,null,h,0,h.length-1,n)):U(d)?_(d,0,d.length-1):U(t.text)&&i.setTextContent(l,""):t.text!==e.text&&i.setTextContent(l,e.text),U(p)&&U(u=p.hook)&&U(u=u.postpatch)&&u(t,e)}}function g(t,e,n){if(H(n)&&U(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,o.selected!==r&&(o.selected=r);else if(tg(iO(o),i)){t.selectedIndex!==s&&(t.selectedIndex=s);return}!a&&(t.selectedIndex=-1)}}function iS(t,e){return e.every(function(e){return!tg(e,t)})}function iO(t){return"_value"in t?t._value:t.value}function iT(t){t.target.composing=!0}function iA(t){t.target.composing&&(t.target.composing=!1,ij(t.target,"input"))}function ij(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function iE(t){return!t.componentInstance||t.data&&t.data.transition?t:iE(t.componentInstance._vnode)}var iP={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function iR(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?iR(nr(e.children)):t}function iN(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[ts(r)]=o[r];return e}function iD(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var iM=function(t){return t.tag||e1(t)},iI=function(t){return"show"===t.name},iL=td({tag:String,moveClass:String},iP);delete iL.mode;function iF(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function iB(t){t.data.newPos=t.elm.getBoundingClientRect()}function iU(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}rJ.config.mustUseProp=r0,rJ.config.isReservedTag=oo,rJ.config.isReservedAttr=rG,rJ.config.getTagNamespace=oi,rJ.config.isUnknownElement=function(t){if(!tE)return!0;if(oo(t))return!1;if(null!=oa[t=t.toLowerCase()])return oa[t];var e=document.createElement(t);return t.indexOf("-")>-1?oa[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:oa[t]=/HTMLUnknownElement/.test(e.toString())},td(rJ.options.directives,{model:i$,show:{bind:function(t,e,n){var r=e.value,o=(n=iE(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,im(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=iE(n)).data&&n.data.transition?(n.data.show=!0,r?im(n,function(){t.style.display=t.__vOriginalDisplay}):ig(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){!o&&(t.style.display=t.__vOriginalDisplay)}}}),td(rJ.options.components,{Transition:{name:"transition",props:iP,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(!!n&&!!(n=n.filter(iM)).length){var r=this.mode,o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=iR(o);if(!i)return o;if(this._leaving)return iD(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:V(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=iN(this),c=this._vnode,u=iR(c);if(i.data.directives&&i.data.directives.some(iI)&&(i.data.show=!0),u&&u.data&&(f=i,(p=u).key!==f.key||p.tag!==f.tag)&&!e1(u)&&!(u.componentInstance&&u.componentInstance._vnode.isComment)){var l=u.data.transition=td({},s);if("out-in"===r)return this._leaving=!0,eN(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),iD(t,o);if("in-out"===r){if(e1(i))return c;var f,p,d,v=function(){d()};eN(s,"afterEnter",v),eN(s,"enterCancelled",v),eN(l,"delayLeave",function(t){d=t})}}return o}}},TransitionGroup:{props:iL,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=nd(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=iN(this),s=0;s\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,iW=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,iX="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(tS.source,"]*"),iY="((?:".concat(iX,"\\:)?").concat(iX,")"),iG=new RegExp("^<".concat(iY)),iQ=/^\s*(\/?)>/,i0=new RegExp("^<\\/".concat(iY,"[^>]*>")),i1=/^]+>/i,i2=/^",""":'"',"&":"&"," ":"\n"," ":" ","'":"'"},i6=/&(?:lt|gt|quot|amp|#39);/g,i7=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,i5=Q("pre,textarea",!0),at=function(t,e){return t&&i5(t)&&"\n"===e[0]},ae=/^@|^v-on:/,an=/^v-|^@|^:|^#/,ar=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ao=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ai=/^\(|\)$/g,aa=/^\[.*\]$/,as=/:(.*)$/,ac=/^:|^\.|^v-bind:/,au=/\.[^.\]]+(?=[^\]]*$)/g,al=/^v-slot(:|$)|^#/,af=/[\r\n]/,ap=/[ \f\t\r\n]+/g,ad=ti(function(t){return(x=x||document.createElement("div")).innerHTML=t,x.textContent}),av="_empty_";function ah(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,r=t.length;n-1")+("true"===i?":(".concat(e,")"):":_q(".concat(e,",").concat(i,")"))),oP(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(i,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+o+")":o,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(oL(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(oL(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(oL(e,"$$c"),"}"),null,!0)})(t,r,o);else if("input"===i&&"radio"===a)(function(t,e,n){var r=n&&n.number,o=oR(t,"value")||"null";o=r?"_n(".concat(o,")"):o,oT(t,"checked","_q(".concat(e,",").concat(o,")")),oP(t,"change",oL(e,o),null,!0)})(t,r,o);else if("input"===i||"textarea"===i)(function(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n(".concat(c,")"));var u=oL(e,c);!i&&"range"!==r&&(u="if($event.target.composing)return;".concat(u)),oT(t,"value","(".concat(e,")")),oP(t,i?"change":"range"===r?"__r":"input",u,null,!0),(s||a)&&oP(t,"blur","$forceUpdate()")})(t,r,o);else if(!tC.isReservedTag(i))return oI(t,r,o),!1;return!0},text:function(t,e){e.value&&oT(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&oT(t,"innerHTML","_s(".concat(e.value,")"),e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:iJ,mustUseProp:r0,canBeLeftOpenTag:iK,isReservedTag:oo,getTagNamespace:oi,staticKeys:a$.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")},aC=ti(function(t){return Q("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}),aS=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,aO=/\([^)]*?\);*$/,aT=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,aA={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},aj={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},aE=function(t){return"if(".concat(t,")return null;")},aP={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:aE("$event.target !== $event.currentTarget"),ctrl:aE("!$event.ctrlKey"),shift:aE("!$event.shiftKey"),alt:aE("!$event.altKey"),meta:aE("!$event.metaKey"),left:aE("'button' in $event && $event.button !== 0"),middle:aE("'button' in $event && $event.button !== 1"),right:aE("'button' in $event && $event.button !== 2")};function aR(t,e){var n=e?"nativeOn:":"on:",r="",o="";for(var i in t){var a=function t(e){if(!e)return"function(){}";if(Array.isArray(e))return"[".concat(e.map(function(e){return t(e)}).join(","),"]");var n=aT.test(e.value),r=aS.test(e.value),o=aT.test(e.value.replace(aO,""));if(e.modifiers){var i="",a="",s=[];for(var c in e.modifiers)!function(t){if(aP[t])a+=aP[t],aA[t]&&s.push(t);else if("exact"===t){var n=e.modifiers;a+=aE(["ctrl","shift","alt","meta"].filter(function(t){return!n[t]}).map(function(t){return"$event.".concat(t,"Key")}).join("||"))}else s.push(t)}(c);s.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(aN).join("&&"),")return null;")}(s)),a&&(i+=a);var u=n?"return ".concat(e.value,".apply(null, arguments)"):r?"return (".concat(e.value,").apply(null, arguments)"):o?"return ".concat(e.value):e.value;return"function($event){".concat(i).concat(u,"}")}return n||r?e.value:"function($event){".concat(o?"return ".concat(e.value):e.value,"}")}(t[i]);t[i]&&t[i].dynamic?o+="".concat(i,",").concat(a,","):r+='"'.concat(i,'":').concat(a,",")}return(r="{".concat(r.slice(0,-1),"}"),o)?n+"_d(".concat(r,",[").concat(o.slice(0,-1),"])"):n+r}function aN(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=aA[t],r=aj[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var aD={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}},cloak:th},aM=function(t){this.options=t,this.warn=t.warn||oS,this.transforms=oO(t.modules,"transformCode"),this.dataGenFns=oO(t.modules,"genData"),this.directives=td(td({},aD),t.directives);var e=t.isReservedTag||t_;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function aI(t,e){var n=new aM(e),r=t?"script"===t.tag?"null":aL(t,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function aL(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return aF(t,e);if(t.once&&!t.onceProcessed)return aB(t,e);if(t.for&&!t.forProcessed)return aH(t,e);else{if(t.if&&!t.ifProcessed)return aU(t,e);if("template"===t.tag&&!t.slotTarget&&!e.pre)return az(t,e)||"void 0";if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=az(t,e),o="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),i=t.attrs||t.dynamicAttrs?aq((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:ts(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];return(i||a)&&!r&&(o+=",null"),i&&(o+=",".concat(i)),a&&(o+="".concat(i?"":",null",",").concat(a)),o+")"}(t,e);var n=void 0;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:az(e,n,!0);return"_c(".concat(t,",").concat(aV(e,n)).concat(r?",".concat(r):"",")")}(t.component,t,e);else{var r=void 0,o=e.maybeComponent(t);(!t.plain||t.pre&&o)&&(r=aV(t,e));var i=void 0,a=e.options.bindings;o&&a&&!1!==a.__isScriptSetup&&(i=function(t,e){var n=ts(e),r=tc(n),o=function(o){return t[e]===o?e:t[n]===o?n:t[r]===o?r:void 0},i=o("setup-const")||o("setup-reactive-const");if(i)return i;var a=o("setup-let")||o("setup-ref")||o("setup-maybe-ref");if(a)return a}(a,t.tag)),!i&&(i="'".concat(t.tag,"'"));var s=t.inlineTemplate?null:az(t,e,!0);n="_c(".concat(i).concat(r?",".concat(r):"").concat(s?",".concat(s):"",")")}for(var c=0;c>>0}(a)):"",")")}(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var i=function(t,e){var n=t.children[0];if(n&&1===n.type){var r=aI(n,e.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map(function(t){return"function(){".concat(t,"}")}).join(","),"]}")}}(t,e);i&&(n+="".concat(i,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(aq(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function az(t,e,n,r,o){var i=t.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return"".concat((r||aL)(a,e)).concat(s)}var c=n?function(t,e){for(var n=0,r=0;r]*>)","i")),v=t.replace(d,function(t,n,r){return f=r.length,!i9(p)&&"noscript"!==p&&(n=n.replace(//g,"$1").replace(//g,"$1")),at(p,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});c+=t.length-v.length,t=v,l(p,c-f,c)}else{var h=t.indexOf("<");if(0===h){if(i2.test(t)){var _=t.indexOf("--\x3e");if(_>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,_),c,c+_+3),u(_+3),"continue"}if(i3.test(t)){var m=t.indexOf("]>");if(m>=0)return u(m+2),"continue"}var g=t.match(i1);if(g)return u(g[0].length),"continue";var y=t.match(i0);if(y){var b=c;return u(y[0].length),l(y[1],b,c),"continue"}var w=function(){var e=t.match(iG);if(e){var n={tagName:e[1],attrs:[],start:c};u(e[0].length);for(var r=void 0,o=void 0;!(r=t.match(iQ))&&(o=t.match(iW)||t.match(iZ));)o.start=c,u(o[0].length),o.end=c,n.attrs.push(o);if(r)return n.unarySlash=r[1],u(r[0].length),n.end=c,n}}();if(w)return function(t){var n=t.tagName,c=t.unarySlash;i&&("p"===r&&iq(n)&&l(r),s(n)&&r===n&&l(n));for(var u=a(n)||!!c,f=t.attrs.length,p=Array(f),d=0;d=0){for(v=t.slice(h);!i0.test(v)&&!iG.test(v)&&!i2.test(v)&&!i3.test(v)&&!(($=v.indexOf("<",1))<0);){;h+=$,v=t.slice(h)}x=t.substring(0,h)}h<0&&(x=t),x&&u(x.length),e.chars&&x&&e.chars(x,c-x.length,c)}if(t===n)return e.chars&&e.chars(t),"break"}(););function u(e){c+=e,t=t.substring(e)}l();function l(t,n,i){var a,s;if(null==n&&(n=c),null==i&&(i=c),t)for(s=t.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=o.length-1;u>=a;u--)e.end&&e.end(o[u].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,i):"p"===s&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}}(t,{warn:$,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,i,a,l,f){var p=r&&r.ns||j(t);tR&&"svg"===p&&(i=function(t){for(var e=[],n=0;nc&&(s.push(o=t.slice(c,r)),a.push(JSON.stringify(o)));var u=oC(n[1].trim());a.push("_s(".concat(u,")")),s.push({"@binding":u}),c=r+n[0].length}return c':'
',R.innerHTML.indexOf(" ")>0}var aG=!!tE&&aY(!1),aQ=!!tE&&aY(!0),a0=ti(function(t){var e=oc(t);return e&&e.innerHTML}),a1=rJ.prototype.$mount;rJ.prototype.$mount=function(t,e){if((t=t&&oc(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r){if("string"==typeof r)"#"===r.charAt(0)&&(r=a0(r));else{if(!r.nodeType)return this;r=r.innerHTML}}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){var o=aX(r,{outputSourceRange:!1,shouldDecodeNewlines:aG,shouldDecodeNewlinesForHref:aQ,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return a1.call(this,t,e)};rJ.compile=aX;var a2=I.Bj,a3=I.Fl,a9=I.ZM,a4=I.ZP,a8=I.RC,a6=I.aZ,a7=I.IV,a5=I.B,st=I.FN,se=I.nZ,sn=I.h,sr=I.f3,so=I.X3,si=I.PG,sa=I.$y,ss=I.dq,sc=I.yT,su=I.Xl,sl=I.u_,sf=I.Y3,sp=I.dl,sd=I.wF,sv=I.Jd,sh=I.Xn,s_=I.se,sm=I.d1,sg=I.bv,sy=I.bT,sb=I.Yq,sw=I.EB,sx=I.vl,s$=I.Ah,sk=I.ic,sC=I.JJ,sS=I.WL,sO=I.qj,sT=I.OT,sA=I.iH,sj=I.t8,sE=I.Um,sP=I.YS,sR=I.XI,sN=I.IU,sD=I.Vh,sM=I.BK,sI=I.oR,sL=I.SU,sF=I.l1,sB=I.fb,sU=I.sj,sH=I.HA,sV=I.Rr,sz=I.i8,sJ=I.YP,sK=I.m0,sq=I.Rh,sZ=I.Ob;export{a2 as EffectScope,a3 as computed,a9 as customRef,a4 as default,a8 as defineAsyncComponent,a6 as defineComponent,a7 as del,a5 as effectScope,st as getCurrentInstance,se as getCurrentScope,sn as h,sr as inject,so as isProxy,si as isReactive,sa as isReadonly,ss as isRef,sc as isShallow,su as markRaw,sl as mergeDefaults,sf as nextTick,sp as onActivated,sd as onBeforeMount,sv as onBeforeUnmount,sh as onBeforeUpdate,s_ as onDeactivated,sm as onErrorCaptured,sg as onMounted,sy as onRenderTracked,sb as onRenderTriggered,sw as onScopeDispose,sx as onServerPrefetch,s$ as onUnmounted,sk as onUpdated,sC as provide,sS as proxyRefs,sO as reactive,sT as readonly,sA as ref,sj as set,sE as shallowReactive,sP as shallowReadonly,sR as shallowRef,sN as toRaw,sD as toRef,sM as toRefs,sI as triggerRef,sL as unref,sF as useAttrs,sB as useCssModule,sU as useCssVars,sH as useListeners,sV as useSlots,sz as version,sJ as watch,sK as watchEffect,sq as watchPostEffect,sZ as watchSyncEffect}; \ No newline at end of file diff --git a/ssr-vue2-remote/package.json b/ssr-vue2-remote/package.json new file mode 100644 index 000000000..92e727398 --- /dev/null +++ b/ssr-vue2-remote/package.json @@ -0,0 +1,20 @@ +{ + "name": "ssr-vue2-remote", + "version": "1.0.0", + "hash": "4cfcf064871c9700871c", + "type": "module", + "exports": { + "./entry": "./entry.bd53cb19.js", + "./src/components/layout.vue": "./src/components/layout.vue.2627c06c.js", + "./npm/vue": "./npm/vue.f11f8a2e.js" + }, + "files": [ + "importmap.4cfcf064871c9700871c.js", + "images/logo.33084dc8.svg", + "npm/vue.f11f8a2e.js", + "src/components/layout.vue.2627c06c.js", + "chunks/85.15604eac.js", + "chunks/850.966a3474.js", + "entry.bd53cb19.js" + ] +} \ No newline at end of file diff --git a/ssr-vue2-remote/src/components/layout.vue.2627c06c.js b/ssr-vue2-remote/src/components/layout.vue.2627c06c.js new file mode 100644 index 000000000..1805de970 --- /dev/null +++ b/ssr-vue2-remote/src/components/layout.vue.2627c06c.js @@ -0,0 +1 @@ +import*as e from"ssr-vue2-remote/npm/vue";var t={652:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t,n,r,o,i,s,a){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(u=function(e){!(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&"undefined"!=typeof __VUE_SSR_CONTEXT__&&(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=u):o&&(u=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u){if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}}return{exports:e,options:c}}},498:function(e,t,n){n.r(t),n.d(t,{default:function(){return a}});var r=n(220),o=n.n(r),i=n(738),s=n.n(i)()(o());s.push([e.id,".menu-list[data-v-0270ba7a]{display:flex}.menu-list-item[data-v-0270ba7a]{background:#efefef;border-radius:5px;margin:5px;padding:10px}.menu-list-item[data-v-0270ba7a]:hover{background:#00f}.menu-list-item:hover a[data-v-0270ba7a]{color:#fff}.menu-list-item-link[data-v-0270ba7a]{color:#000;text-decoration:none}",""]);let a=s},738:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l)}},t}},220:function(e){e.exports=function(e){return e[1]}},688:function(e,t,n){n.d(t,{K0:function(){return T},Qr:function(){return k}});var r,o=n(946),i=Object.defineProperty,s=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>(s(e,"symbol"!=typeof t?t+"":t,n),n);let u=/^2\./.test(o.version),c=/^3\./.test(o.version);function l(){let e=(0,o.getCurrentInstance)();return e&&e.proxy?e.proxy:null}let f=0,p=!1,d=new WeakMap,h="setupOptions",v="setup",m="setupPropertyDescriptor",g="__setupDefine",y="__setupUse__",b=["constructor","$props","$emit"];function _(e){return(t,n)=>{Object.defineProperty(e,t,n)}}function $(e){}function x(e){}let C=[g,"$vm","$emit","$props"];function w(e,t){let n;e[y]?n=e[y]:(n=new Map,Object.defineProperty(e,y,{get:()=>n}));let r=n.get(t);return r?r:(r=new t,n.set(t,r),r)}class O{constructor(){var e;a(this,"$vm"),a(this,"$emit");let t=l();this.$vm=null!=t?t:{$props:{},$emit:j},this.$emit=this.$vm.$emit.bind(this.$vm),e=this,f>0?(d.set(e,f),f=0,p=!0):console.warn("The instance did not use the '@Setup' decorator")}static use(){let e=l();if(!e)throw Error("Please run in the setup function");return w(e,this)}static inject(){let e=this;return{created(){!function(e,t){c&&!function(e,t){if(!t.$)return;let n=t.$,r=n.ssrRender||n.render;if(e[g]&&r){let o=Object.keys(e.$defaultProps);if(!o.length)return;let i=(...n)=>{let i=t.$props,s=[],a=_(i);o.forEach(t=>{let n=e[t];if(i[t]!==n){let e=Object.getOwnPropertyDescriptor(i,t);if(!e)return;a(t,{...e,value:n}),s.push({key:t,pd:e})}});let u=r.apply(t,n);return s.forEach(e=>{a(e.key,e.pd)}),u};n.ssrRender?n.ssrRender=i:n.render&&(n.render=i)}}(e,t);let n=Object.getOwnPropertyNames(e),r=_(t),o=e.constructor[m];n.forEach(t=>{!(o.has(t)||C.includes(t))&&r(t,{get:()=>e[t],set(n){e[t]=n}})}),o.forEach((t,n)=>{!C.includes(n)&&r(n,{get:()=>e[n],set(t){e[n]=t}})})}(w(this,e),this)}}}get $props(){var e;return null!=(e=this.$vm.$props)?e:{}}}function j(){}a(O,v,!1),a(O,h,new Map),a(O,m,new Map);let E=new Map;function P(e){return e[h]}function S(){return!0}let k=(r=class extends O{constructor(){super(),a(this,"$defaultProps",{});let e=_(this);e("$defaultProps",{enumerable:!1,writable:!1}),e(g,{get:S})}},a(r,"setupDefine",!0),r);function M(e){return null==e}let R=/[A-Z]/g;function T(e){class t extends e{constructor(...e){if(p?(p=!1,f=1):f++,super(...e),function(e){let t=d.get(e);if("number"==typeof t){if(!--t)return d.delete(e),p=!1,!0;d.set(e,t)}return!1}(this))return function(e){let t=e.constructor,n=t[h],r=t.setupPropertyDescriptor;return r.forEach(({value:t,writable:n},r)=>{"function"==typeof t&&n&&(e[r]=t.bind(e))}),e[g]&&!function(e){let t=_(e),n=e.$props;Object.keys(n).forEach(r=>{if(r in e){e.$defaultProps[r]=e[r];let o=e.$defaultProps;t(r,{get(){let t=n[r];return"boolean"==typeof t?!function(e,t){let n=null;if(n=u?e.$options&&e.$options.propsData:e.$&&e.$.vnode&&e.$.vnode.props){let e=n[t];return!function(e){return null==e}(function(e){return null==e}(e)?n[function(e){return e.replace(R,e=>"-"+e.toLowerCase()).replace(/^-/,"")}(t)]:e)}return!1}(e.$vm,r)&&(t=o[r]):function(e){return null==e}(t)&&(t=o[r]),t}})}else t(r,{get:()=>n[r]})})}(e),!function(e,t){let n=_(e);t.forEach((t,r)=>{let i=t.get;if(i){i=i.bind(e);let s=(0,o.computed)(i);n(r,{...t,get:()=>s.value})}})}(e,r),n.forEach((t,n)=>t.forEach(t=>{"_"!==t[0]&&function(t,n){n(e[t])}(t,n)})),e}((0,o.reactive)(this))}}return a(t,h,function(e){let t=E;return e[h].forEach((e,n)=>{let r=[...e],o=t.get(n);o&&o.forEach(e=>{!r.includes(e)&&r.push(e)}),t.set(n,r)}),E=new Map,t}(e)),a(t,v,!0),a(t,m,function(e){let t=[],n=new Map;for(;e&&e.prototype;)t.unshift(Object.getOwnPropertyDescriptors(e.prototype)),e=Object.getPrototypeOf(e);return t.forEach(e=>{Object.keys(e).forEach(t=>{if(b.includes(t)){delete e[t];return}n.set(t,e[t])})}),n}(e)),t}},589:function(e,t,n){var r=n(498);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(441).Z)("65e29cbb",r,!0,{})},441:function(e,t,n){function r(e,t){for(var n=[],r={},o=0;ov});var o,i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},a=i&&(document.head||document.getElementsByTagName("head")[0]),u=null,c=0,l=!1,f=function(){},p=null,d="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){l=n,p=o||{};var i=r(e,t);return m(i),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;ol});var i=r("946"),s=r("688");class a extends s.Qr{}a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}([s.K0],a);let u=(0,i.defineComponent)({...a.inject()}),c=(0,i.defineComponent)({...u,__name:"layout",setup:e=>({__sfc:!0,App:a})});r("589");let l=(0,r("652").Z)(c,function(){var e=this._self._c;return this._self._setupProxy,e("div",{staticClass:"layout"},[this._m(0),this._v(" "),e("main",[this._t("default")],2)])},[function(){var e=this._self._c;return this._self._setupProxy,e("header",{staticClass:"menu-list"},[e("div",{staticClass:"menu-list-item"},[e("a",{staticClass:"menu-list-item-link",attrs:{href:"https://github.com/dp-os/gez",target:"_blank"}},[this._v("github")])]),this._v(" "),e("div",{staticClass:"menu-list-item"},[e("a",{staticClass:"menu-list-item-link",attrs:{href:"https://www.npmjs.com/package/@gez/core",target:"_blank"}},[this._v("npm")])])])}],!1,null,"0270ba7a",null).exports;var f=o.Z;export{f as default}; \ No newline at end of file diff --git a/ssr-vue2-remote/versions/4cfcf064871c9700871c.zip b/ssr-vue2-remote/versions/4cfcf064871c9700871c.zip new file mode 100644 index 000000000..53283c17f Binary files /dev/null and b/ssr-vue2-remote/versions/4cfcf064871c9700871c.zip differ diff --git a/ssr-vue2-remote/versions/9319f0b3a9e4076ce77e.zip b/ssr-vue2-remote/versions/9319f0b3a9e4076ce77e.zip new file mode 100644 index 000000000..279491420 Binary files /dev/null and b/ssr-vue2-remote/versions/9319f0b3a9e4076ce77e.zip differ diff --git a/ssr-vue2-remote/versions/fd0d8b77cb8163008bf23eadb93d1d4b.json b/ssr-vue2-remote/versions/fd0d8b77cb8163008bf23eadb93d1d4b.json new file mode 100644 index 000000000..cac79592e --- /dev/null +++ b/ssr-vue2-remote/versions/fd0d8b77cb8163008bf23eadb93d1d4b.json @@ -0,0 +1,4 @@ +{ + "client": "4cfcf064871c9700871c", + "server": "9319f0b3a9e4076ce77e" +} \ No newline at end of file diff --git a/ssr-vue2-remote/versions/latest.json b/ssr-vue2-remote/versions/latest.json new file mode 100644 index 000000000..cac79592e --- /dev/null +++ b/ssr-vue2-remote/versions/latest.json @@ -0,0 +1,4 @@ +{ + "client": "4cfcf064871c9700871c", + "server": "9319f0b3a9e4076ce77e" +} \ No newline at end of file diff --git a/ssr-vue3/entry.9b9a7247.js b/ssr-vue3/entry.9b9a7247.js new file mode 100644 index 000000000..ecb4228f5 --- /dev/null +++ b/ssr-vue3/entry.9b9a7247.js @@ -0,0 +1 @@ +import*as e from"ssr-vue3/npm/vue";var t,n={852:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var r=n(220),o=n.n(r),i=n(738),s=n.n(i)()(o());s.push([e.id,"div,body,html,h2{margin:0;padding:0}",""]);let u=s},738:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var u=0;u0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l)}},t}},220:function(e){e.exports=function(e){return e[1]}},619:function(e,t,n){var r=n(852);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(441).Z)("2d25edd0",r,!0,{})},441:function(e,t,n){function r(e,t){for(var n=[],r={},o=0;ov});var o,i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},u=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,a=0,l=!1,p=function(){},f=null,d="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){l=n,f=o||{};var i=r(e,t);return g(i),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;ot in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t,n)=>(s(e,"symbol"!=typeof t?t+"":t,n),n);let c=/^2\./.test(e.version),a=/^3\./.test(e.version);function l(){let t=(0,e.getCurrentInstance)();return t&&t.proxy?t.proxy:null}let p=0,f=!1,d=new WeakMap,h="setupOptions",v="setup",g="setupPropertyDescriptor",m="__setupDefine",y="__setupUse__",b=["constructor","$props","$emit"];function $(e){return(t,n)=>{Object.defineProperty(e,t,n)}}function O(e){}function j(e){}let w=[m,"$vm","$emit","$props"];function E(e,t){let n;e[y]?n=e[y]:(n=new Map,Object.defineProperty(e,y,{get:()=>n}));let r=n.get(t);return r?r:(r=new t,n.set(t,r),r)}class P{constructor(){var e;u(this,"$vm"),u(this,"$emit");let t=l();this.$vm=null!=t?t:{$props:{},$emit:x},this.$emit=this.$vm.$emit.bind(this.$vm),e=this,p>0?(d.set(e,p),p=0,f=!0):console.warn("The instance did not use the '@Setup' decorator")}static use(){let e=l();if(!e)throw Error("Please run in the setup function");return E(e,this)}static inject(){let e=this;return{created(){!function(e,t){a&&!function(e,t){if(!t.$)return;let n=t.$,r=n.ssrRender||n.render;if(e[m]&&r){let o=Object.keys(e.$defaultProps);if(!o.length)return;let i=(...n)=>{let i=t.$props,s=[],u=$(i);o.forEach(t=>{let n=e[t];if(i[t]!==n){let e=Object.getOwnPropertyDescriptor(i,t);if(!e)return;u(t,{...e,value:n}),s.push({key:t,pd:e})}});let c=r.apply(t,n);return s.forEach(e=>{u(e.key,e.pd)}),c};n.ssrRender?n.ssrRender=i:n.render&&(n.render=i)}}(e,t);let n=Object.getOwnPropertyNames(e),r=$(t),o=e.constructor[g];n.forEach(t=>{!(o.has(t)||w.includes(t))&&r(t,{get:()=>e[t],set(n){e[t]=n}})}),o.forEach((t,n)=>{!w.includes(n)&&r(n,{get:()=>e[n],set(t){e[n]=t}})})}(E(this,e),this)}}}get $props(){var e;return null!=(e=this.$vm.$props)?e:{}}}function x(){}u(P,v,!1),u(P,h,new Map),u(P,g,new Map);let C=new Map;function M(e){return e[h]}function S(){return!0}let _=(t=class extends P{constructor(){super(),u(this,"$defaultProps",{});let e=$(this);e("$defaultProps",{enumerable:!1,writable:!1}),e(m,{get:S})}},u(t,"setupDefine",!0),t);function k(e){return null==e}let D=/[A-Z]/g,N={class:"box"};class R extends _{constructor(...e){var t,n,r;super(...e),t=this,r=1,(n="count")in t?Object.defineProperty(t,n,{value:1,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}}R=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}([function(t){class n extends t{constructor(...t){if(f?(f=!1,p=1):p++,super(...t),function(e){let t=d.get(e);if("number"==typeof t){if(!--t)return d.delete(e),f=!1,!0;d.set(e,t)}return!1}(this))return function(t){let n=t.constructor,r=n[h],o=n.setupPropertyDescriptor;return o.forEach(({value:e,writable:n},r)=>{"function"==typeof e&&n&&(t[r]=e.bind(t))}),t[m]&&!function(e){let t=$(e),n=e.$props;Object.keys(n).forEach(r=>{if(r in e){e.$defaultProps[r]=e[r];let o=e.$defaultProps;t(r,{get(){let t=n[r];return"boolean"==typeof t?!function(e,t){let n=null;if(n=c?e.$options&&e.$options.propsData:e.$&&e.$.vnode&&e.$.vnode.props){let e=n[t];return!function(e){return null==e}(function(e){return null==e}(e)?n[function(e){return e.replace(D,e=>"-"+e.toLowerCase()).replace(/^-/,"")}(t)]:e)}return!1}(e.$vm,r)&&(t=o[r]):function(e){return null==e}(t)&&(t=o[r]),t}})}else t(r,{get:()=>n[r]})})}(t),!function(t,n){let r=$(t);n.forEach((n,o)=>{let i=n.get;if(i){i=i.bind(t);let s=(0,e.computed)(i);r(o,{...n,get:()=>s.value})}})}(t,o),r.forEach((e,n)=>e.forEach(e=>{"_"!==e[0]&&function(e,n){n(t[e])}(e,n)})),t}((0,e.reactive)(this))}}return u(n,h,function(e){let t=C;return e[h].forEach((e,n)=>{let r=[...e],o=t.get(n);o&&o.forEach(e=>{!r.includes(e)&&r.push(e)}),t.set(n,r)}),C=new Map,t}(t)),u(n,v,!0),u(n,g,function(e){let t=[],n=new Map;for(;e&&e.prototype;)t.unshift(Object.getOwnPropertyDescriptors(e.prototype)),e=Object.getPrototypeOf(e);return t.forEach(e=>{Object.keys(e).forEach(t=>{if(b.includes(t)){delete e[t];return}n.set(t,e[t])})}),n}(t)),n}],R);let T=(0,e.defineComponent)({name:"app",...R.inject()}),B=(0,e.defineComponent)({...T,setup:t=>(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("div",N,[n[1]||(n[1]=(0,e.createElementVNode)("h2",null,"rspack + vue3",-1)),(0,e.createTextVNode)(" Count value: "+(0,e.toDisplayString)(t.count)+" ",1),(0,e.createElementVNode)("button",{onClick:n[0]||(n[0]=e=>t.count++)},"Add")]))});o("619");({app:(0,e.createApp)(B)}).app.mount("body div"); \ No newline at end of file diff --git a/ssr-vue3/importmap.c06d5f5607cd3da6c564.js b/ssr-vue3/importmap.c06d5f5607cd3da6c564.js new file mode 100644 index 000000000..d1260b604 --- /dev/null +++ b/ssr-vue3/importmap.c06d5f5607cd3da6c564.js @@ -0,0 +1 @@ +(e=>{let t="ssr-vue3",r="__importmap__",s=e[r]=e[r]||{},n=s.imports=s.imports||{},c=new URL(document.currentScript.src).pathname.split("/"+t+"/"),p=e=>t+e.substring(1);Object.entries({"./entry":"./entry.9b9a7247.js","./npm/vue":"./npm/vue.e4c37203.js"}).forEach(([e,t])=>{n[p(e)]=c[0]+"/"+p(t)})})(globalThis); \ No newline at end of file diff --git a/ssr-vue3/importmap.js b/ssr-vue3/importmap.js new file mode 100644 index 000000000..d1260b604 --- /dev/null +++ b/ssr-vue3/importmap.js @@ -0,0 +1 @@ +(e=>{let t="ssr-vue3",r="__importmap__",s=e[r]=e[r]||{},n=s.imports=s.imports||{},c=new URL(document.currentScript.src).pathname.split("/"+t+"/"),p=e=>t+e.substring(1);Object.entries({"./entry":"./entry.9b9a7247.js","./npm/vue":"./npm/vue.e4c37203.js"}).forEach(([e,t])=>{n[p(e)]=c[0]+"/"+p(t)})})(globalThis); \ No newline at end of file diff --git a/ssr-vue3/index.html b/ssr-vue3/index.html new file mode 100644 index 000000000..410cd2324 --- /dev/null +++ b/ssr-vue3/index.html @@ -0,0 +1,29 @@ + + + + + + + Gez + + +

rspack + vue3

Count value: 1
+ + + + + + + + \ No newline at end of file diff --git a/ssr-vue3/npm/vue.e4c37203.js b/ssr-vue3/npm/vue.e4c37203.js new file mode 100644 index 000000000..f4e730337 --- /dev/null +++ b/ssr-vue3/npm/vue.e4c37203.js @@ -0,0 +1,24 @@ +let e,t,n,r,o,i,l,s,a,u,c,p,f,d,h,_;var m,g,y={},b={};function w(e){var t=b[e];if(void 0!==t)return t.exports;var n=b[e]={exports:{}};return y[e](n,n.exports,w),n.exports}w.d=function(e,t){for(var n in t)w.o(t,n)&&!w.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},w.rv=function(){return"1.0.14"},w.ruid="bundler=rspack@1.0.14";var x={};function k(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}w.d(x,{$:function(){return sJ},$d:function(){return nm},$y:function(){return tD},AE:function(){return rT},AH:function(){return no},Ah:function(){return sK},B:function(){return eI},BK:function(){return t3},Bj:function(){return eN},Bz:function(){return oE},C3:function(){return la},C_:function(){return e_},Cn:function(){return n2},D2:function(){return am},EB:function(){return eF},EM:function(){return o1},ER:function(){return ne},Eo:function(){return iv},Eq:function(){return rW},F4:function(){return ld},F8:function(){return sk},FN:function(){return lR},Fl:function(){return lY},Fp:function(){return rq},G:function(){return l3},G2:function(){return ao},Gn:function(){return oA},HX:function(){return n6},HY:function(){return i6},Ho:function(){return lh},IU:function(){return tH},JJ:function(){return oQ},Jd:function(){return oe},KU:function(){return n_},Ko:function(){return od},LL:function(){return ou},MW:function(){return sz},MX:function(){return lX},MY:function(){return a$},Me:function(){return rS},Mr:function(){return lJ},Nd:function(){return aA},Nv:function(){return oh},OT:function(){return tI},Ob:function(){return rX},P$:function(){return rm},PG:function(){return tV},PQ:function(){return nt},Q2:function(){return oc},Q6:function(){return rx},RC:function(){return rY},RM:function(){return l5},Rh:function(){return iR},Rr:function(){return oP},S3:function(){return ng},SK:function(){return ot},SM:function(){return nd},SU:function(){return tZ},Tn:function(){return tQ},U2:function(){return rv},Uc:function(){return iC},Uk:function(){return lm},Um:function(){return tN},Us:function(){return ig},Vf:function(){return oF},Vh:function(){return t5},W3:function(){return s6},WI:function(){return o_},WL:function(){return t1},WY:function(){return oT},Wl:function(){return oO},Wm:function(){return lf},Wu:function(){return nf},X3:function(){return tU},XI:function(){return tY},Xl:function(){return tB},Xn:function(){return r7},Y1:function(){return lF},Y3:function(){return nC},Y8:function(){return rp},YP:function(){return iA},YS:function(){return tj},YZ:function(){return au},Yq:function(){return or},Yu:function(){return oR},ZB:function(){return ax},ZK:function(){return l0},ZM:function(){return t6},Zq:function(){return iE},_:function(){return lp},_A:function(){return Q},a2:function(){return sG},aZ:function(){return rk},b9:function(){return o$},bM:function(){return ai},bT:function(){return oo},bv:function(){return r5},cE:function(){return eG},d1:function(){return oi},dD:function(){return n1},dG:function(){return lx},dl:function(){return rQ},dq:function(){return tz},e8:function(){return an},ec:function(){return l6},eg:function(){return rz},eq:function(){return l4},f3:function(){return o0},fb:function(){return sZ},h:function(){return lG},hR:function(){return er},i8:function(){return lQ},iD:function(){return lo},iH:function(){return tK},iM:function(){return ah},ic:function(){return r9},j4:function(){return li},j5:function(){return ep},kC:function(){return en},kq:function(){return lv},l1:function(){return oM},lA:function(){return ll},lR:function(){return rl},m0:function(){return iT},mI:function(){return rB},mW:function(){return l2},mv:function(){return oD},mx:function(){return og},n4:function(){return iJ},nJ:function(){return rd},nK:function(){return rw},nQ:function(){return lZ},nZ:function(){return ej},nr:function(){return at},oR:function(){return tX},of:function(){return lV},p1:function(){return oV},pR:function(){return sX},qG:function(){return i8},qZ:function(){return ln},qb:function(){return nR},qj:function(){return tM},qq:function(){return eD},ri:function(){return ak},ry:function(){return l8},sT:function(){return eJ},sY:function(){return aw},se:function(){return r0},sj:function(){return sE},sv:function(){return i4},tT:function(){return iN},uE:function(){return lg},uT:function(){return ss},u_:function(){return oj},up:function(){return os},vl:function(){return on},vr:function(){return aS},vs:function(){return em},w5:function(){return n3},wF:function(){return r8},wg:function(){return i9},wy:function(){return n8},xv:function(){return i3},yT:function(){return tL},yX:function(){return iO},yb:function(){return oC},yg:function(){return l1},zF:function(){return ni},zw:function(){return eA}});let S=Object.freeze({}),C=Object.freeze([]),E=()=>{},T=()=>!1,R=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),O=e=>e.startsWith("onUpdate:"),A=Object.assign,$=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},P=Object.prototype.hasOwnProperty,M=(e,t)=>P.call(e,t),N=Array.isArray,I=e=>"[object Map]"===q(e),j=e=>"[object Set]"===q(e),F=e=>"[object Date]"===q(e),V=e=>"[object RegExp]"===q(e),D=e=>"function"==typeof e,L=e=>"string"==typeof e,U=e=>"symbol"==typeof e,H=e=>null!==e&&"object"==typeof e,B=e=>(H(e)||D(e))&&D(e.then)&&D(e.catch),W=Object.prototype.toString,q=e=>W.call(e),z=e=>q(e).slice(8,-1),K=e=>"[object Object]"===q(e),Y=e=>L(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,G=k(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),J=k("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),X=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Z=/-(\w)/g,Q=X(e=>e.replace(Z,(e,t)=>t?t.toUpperCase():"")),ee=/\B([A-Z])/g,et=X(e=>e.replace(ee,"-$1").toLowerCase()),en=X(e=>e.charAt(0).toUpperCase()+e.slice(1)),er=X(e=>e?`on${en(e)}`:""),eo=(e,t)=>!Object.is(e,t),ei=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},es=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ea=e=>{let t=L(e)?Number(e):NaN;return isNaN(t)?e:t},eu=()=>e||(e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==w.g?w.g:{}),ec=k("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,Symbol");function ep(e){if(N(e)){let t={};for(let n=0;n{if(e){let n=e.split(ed);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(r):ep(r);if(o)for(let e in o)t[e]=o[e]}return t}if(L(e)||H(e))return e}let ef=/;(?![^(]*\))/g,ed=/:([^]+)/,eh=/\/\*[^]*?\*\//g;function e_(e){let t="";if(L(e))t=e;else if(N(e))for(let n=0;n?@[\\\]^`{|}~]/g;function eT(e,t){if(e===t)return!0;let n=F(e),r=F(t);if(n||r)return!!n&&!!r&&e.getTime()===t.getTime();if(n=U(e),r=U(t),n||r)return e===t;if(n=N(e),r=N(t),n||r)return!!n&&!!r&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&reT(e,t))}let eO=e=>!!(e&&!0===e.__v_isRef),eA=e=>L(e)?e:null==e?"":N(e)||H(e)&&(e.toString===W||!D(e.toString))?eO(e)?eA(e.value):JSON.stringify(e,e$,2):String(e),e$=(e,t)=>{if(eO(t))return e$(e,t.value);if(I(t))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[eP(t,r)+" =>"]=n,e),{})};if(j(t))return{[`Set(${t.size})`]:[...t.values()].map(e=>eP(e))};else if(U(t))return eP(t);else if(H(t)&&!N(t)&&!K(t))return String(t);return t},eP=(e,t="")=>{var n;return U(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function eM(e,...t){console.warn(`[Vue warn] ${e}`,...t)}class eN{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=t,!e&&t&&(this.index=(t.scopes||(t.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0)){if(o){let e=o;for(o=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;r;){let t=r;for(r=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){!e&&(e=t)}t=n}}if(e)throw e}}function eW(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eq(e){let t;let n=e.depsTail,r=n;for(;r;){let e=r.prevDep;-1===r.version?(r===n&&(n=e),eY(r),function(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ez(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(eK(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty||!1}function eK(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===e2)return;e.globalVersion=e2;let t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ez(e)){e.flags&=-3;return}let r=n,o=eX;n=e,eX=!0;try{eW(e);let n=e.fn(e._value);(0===t.version||eo(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{n=r,eX=o,eq(e),e.flags&=-3}}function eY(e,t=!1){let{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)eY(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eG(e,t){e.effect instanceof eD&&(e=e.effect.fn);let n=new eD(e);t&&A(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r}function eJ(e){e.effect.stop()}let eX=!0,eZ=[];function eQ(){eZ.push(eX),eX=!1}function e0(){let e=eZ.pop();eX=void 0===e||e}function e1(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=n;n=void 0;try{t()}finally{n=e}}}let e2=0;class e6{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class e3{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.subsHead=void 0}track(e){if(!n||!eX||n===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==n)t=this.activeLink=new e6(n,this),n.deps?(t.prevDep=n.depsTail,n.depsTail.nextDep=t,n.depsTail=t):n.deps=n.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let t=n.deps;t;t=t.nextDep)e(t)}let r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),void 0===t.dep.subsHead&&(t.dep.subsHead=t),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=n.depsTail,t.nextDep=void 0,n.depsTail.nextDep=t,n.depsTail=t,n.deps===t&&(n.deps=e)}return n.onTrack&&n.onTrack(A({effect:n},e)),t}trigger(e){this.version++,e2++,this.notify(e)}notify(e){eL++;try{for(let t=this.subsHead;t;t=t.nextSub)t.sub.onTrigger&&!(8&t.sub.flags)&&t.sub.onTrigger(A({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{eB()}}}let e4=new WeakMap,e8=Symbol("Object iterate"),e5=Symbol("Map keys iterate"),e7=Symbol("Array iterate");function e9(e,t,r){if(eX&&n){let n=e4.get(e);!n&&e4.set(e,n=new Map);let o=n.get(r);!o&&(n.set(r,o=new e3),o.map=n,o.key=r),o.track({target:e,type:t,key:r})}}function te(e,t,n,r,o,i){let l=e4.get(e);if(!l){e2++;return}let s=l=>{l&&l.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:i})};if(eL++,"clear"===t)l.forEach(s);else{let o=N(e),i=o&&Y(n);if(o&&"length"===n){let e=Number(r);l.forEach((t,n)=>{("length"===n||n===e7||!U(n)&&n>=e)&&s(t)})}else switch((void 0!==n||l.has(void 0))&&s(l.get(n)),i&&s(l.get(e7)),t){case"add":o?i&&s(l.get("length")):(s(l.get(e8)),I(e)&&s(l.get(e5)));break;case"delete":!o&&(s(l.get(e8)),I(e)&&s(l.get(e5)));break;case"set":I(e)&&s(l.get(e8))}}eB()}function tt(e){let t=tH(e);return t===e?t:(e9(t,"iterate",e7),tL(e)?t:t.map(tW))}function tn(e){return e9(e=tH(e),"iterate",e7),e}let tr={__proto__:null,[Symbol.iterator](){return to(this,Symbol.iterator,tW)},concat(...e){return tt(this).concat(...e.map(e=>N(e)?tt(e):e))},entries(){return to(this,"entries",e=>(e[1]=tW(e[1]),e))},every(e,t){return tl(this,"every",e,t,void 0,arguments)},filter(e,t){return tl(this,"filter",e,t,e=>e.map(tW),arguments)},find(e,t){return tl(this,"find",e,t,tW,arguments)},findIndex(e,t){return tl(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tl(this,"findLast",e,t,tW,arguments)},findLastIndex(e,t){return tl(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tl(this,"forEach",e,t,void 0,arguments)},includes(...e){return ta(this,"includes",e)},indexOf(...e){return ta(this,"indexOf",e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return ta(this,"lastIndexOf",e)},map(e,t){return tl(this,"map",e,t,void 0,arguments)},pop(){return tu(this,"pop")},push(...e){return tu(this,"push",e)},reduce(e,...t){return ts(this,"reduce",e,t)},reduceRight(e,...t){return ts(this,"reduceRight",e,t)},shift(){return tu(this,"shift")},some(e,t){return tl(this,"some",e,t,void 0,arguments)},splice(...e){return tu(this,"splice",e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return tu(this,"unshift",e)},values(){return to(this,"values",tW)}};function to(e,t,n){let r=tn(e),o=r[t]();return r!==e&&!tL(e)&&(o._next=o.next,o.next=()=>{let e=o._next();return e.value&&(e.value=n(e.value)),e}),o}let ti=Array.prototype;function tl(e,t,n,r,o,i){let l=tn(e),s=l!==e&&!tL(e),a=l[t];if(a!==ti[t]){let t=a.apply(e,i);return s?tW(t):t}let u=n;l!==e&&(s?u=function(t,r){return n.call(this,tW(t),r,e)}:n.length>2&&(u=function(t,r){return n.call(this,t,r,e)}));let c=a.call(l,u,r);return s&&o?o(c):c}function ts(e,t,n,r){let o=tn(e),i=n;return o!==e&&(tL(e)?n.length>3&&(i=function(t,r,o){return n.call(this,t,r,o,e)}):i=function(t,r,o){return n.call(this,t,tW(r),o,e)}),o[t](i,...r)}function ta(e,t,n){let r=tH(e);e9(r,"iterate",e7);let o=r[t](...n);return(-1===o||!1===o)&&tU(n[0])?(n[0]=tH(n[0]),r[t](...n)):o}function tu(e,t,n=[]){eQ(),eL++;let r=tH(e)[t].apply(e,n);return eB(),e0(),r}let tc=k("__proto__,__v_isRef,__isVue"),tp=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(U));function tf(e){!U(e)&&(e=String(e));let t=tH(this);return e9(t,"has",e),t.hasOwnProperty(e)}class td{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){let r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;else if("__v_raw"===t)return n===(r?o?tP:t$:o?tA:tO).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let i=N(e);if(!r){let e;if(i&&(e=tr[t]))return e;if("hasOwnProperty"===t)return tf}let l=Reflect.get(e,t,tz(e)?e:n);return(U(t)?tp.has(t):tc(t))?l:(!r&&e9(e,"get",t),o)?l:tz(l)?i&&Y(t)?l:l.value:H(l)?r?tI(l):tM(l):l}}class th extends td{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){let t=tD(o);if(!tL(n)&&!tD(n)&&(o=tH(o),n=tH(n)),!N(e)&&tz(o)&&!tz(n))return!t&&(o.value=n,!0)}let i=N(e)&&Y(t)?Number(t)e,tw=e=>Reflect.getPrototypeOf(e);function tx(e){return function(...t){{let n=t[0]?`on key "${t[0]}" `:"";eM(`${en(e)} operation ${n}failed: target is readonly.`,tH(this))}return"delete"!==e&&("clear"===e?void 0:this)}}function tk(e,t){let n=function(e,t){let n={get(n){let r=this.__v_raw,o=tH(r),i=tH(n);!e&&(eo(n,i)&&e9(o,"get",n),e9(o,"get",i));let{has:l}=tw(o),s=t?tb:e?tq:tW;return l.call(o,n)?s(r.get(n)):l.call(o,i)?s(r.get(i)):void(r!==o&&r.get(n))},get size(){let t=this.__v_raw;return e||e9(tH(t),"iterate",e8),Reflect.get(t,"size",t)},has(t){let n=this.__v_raw,r=tH(n),o=tH(t);return!e&&(eo(t,o)&&e9(r,"has",t),e9(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){let o=this,i=o.__v_raw,l=tH(i),s=t?tb:e?tq:tW;return e||e9(l,"iterate",e8),i.forEach((e,t)=>n.call(r,s(e),s(t),o))}};return A(n,e?{add:tx("add"),set:tx("set"),delete:tx("delete"),clear:tx("clear")}:{add(e){!t&&!tL(e)&&!tD(e)&&(e=tH(e));let n=tH(this);return!tw(n).has.call(n,e)&&(n.add(e),te(n,"add",e,e)),this},set(e,n){!t&&!tL(n)&&!tD(n)&&(n=tH(n));let r=tH(this),{has:o,get:i}=tw(r),l=o.call(r,e);l?tR(r,o,e):(e=tH(e),l=o.call(r,e));let s=i.call(r,e);return r.set(e,n),l?eo(n,s)&&te(r,"set",e,n,s):te(r,"add",e,n),this},delete(e){let t=tH(this),{has:n,get:r}=tw(t),o=n.call(t,e);o?tR(t,n,e):(e=tH(e),o=n.call(t,e));let i=r?r.call(t,e):void 0,l=t.delete(e);return o&&te(t,"delete",e,void 0,i),l},clear(){let e=tH(this),t=0!==e.size,n=I(e)?new Map(e):new Set(e),r=e.clear();return t&&te(e,"clear",void 0,void 0,n),r}}),["keys","values","entries",Symbol.iterator].forEach(r=>{var o,i,l;n[r]=(o=r,i=e,l=t,function(...e){let t=this.__v_raw,n=tH(t),r=I(n),s="entries"===o||o===Symbol.iterator&&r,a=t[o](...e),u=l?tb:i?tq:tW;return i||e9(n,"iterate","keys"===o&&r?e5:e8),{next(){let{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}})}),n}(e,t);return(t,r,o)=>{if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r)return t;return Reflect.get(M(n,r)&&r in t?n:t,r,o)}}let tS={get:tk(!1,!1)},tC={get:tk(!1,!0)},tE={get:tk(!0,!1)},tT={get:tk(!0,!0)};function tR(e,t,n){let r=tH(n);if(r!==n&&t.call(e,r)){let t=z(e);eM(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}let tO=new WeakMap,tA=new WeakMap,t$=new WeakMap,tP=new WeakMap;function tM(e){return tD(e)?e:tF(e,!1,tm,tS,tO)}function tN(e){return tF(e,!1,tv,tC,tA)}function tI(e){return tF(e,!0,tg,tE,t$)}function tj(e){return tF(e,!0,ty,tT,tP)}function tF(e,t,n,r,o){var i;if(!H(e))return eM(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;let l=o.get(e);if(l)return l;let s=(i=e).__v_skip||!Object.isExtensible(i)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(z(i));if(0===s)return e;let a=new Proxy(e,2===s?r:n);return o.set(e,a),a}function tV(e){return tD(e)?tV(e.__v_raw):!!(e&&e.__v_isReactive)}function tD(e){return!!(e&&e.__v_isReadonly)}function tL(e){return!!(e&&e.__v_isShallow)}function tU(e){return!!e&&!!e.__v_raw}function tH(e){let t=e&&e.__v_raw;return t?tH(t):e}function tB(e){return!M(e,"__v_skip")&&Object.isExtensible(e)&&el(e,"__v_skip",!0),e}let tW=e=>H(e)?tM(e):e,tq=e=>H(e)?tI(e):e;function tz(e){return!!e&&!0===e.__v_isRef}function tK(e){return tG(e,!1)}function tY(e){return tG(e,!0)}function tG(e,t){return tz(e)?e:new tJ(e,t)}class tJ{constructor(e,t){this.dep=new e3,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:tH(e),this._value=t?e:tW(e),this.__v_isShallow=t}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||tL(e)||tD(e);eo(e=n?e:tH(e),t)&&(this._rawValue=e,this._value=n?e:tW(e),this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:t}))}}function tX(e){e.dep&&e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value})}function tZ(e){return tz(e)?e.value:e}function tQ(e){return D(e)?e():tZ(e)}let t0={get:(e,t,n)=>"__v_raw"===t?e:tZ(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let o=e[t];return tz(o)&&!tz(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function t1(e){return tV(e)?e:new Proxy(e,t0)}class t2{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new e3,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function t6(e){return new t2(e)}function t3(e){!tU(e)&&eM("toRefs() expects a reactive object but received a plain one.");let t=N(e)?Array(e.length):{};for(let n in e)t[n]=t7(e,n);return t}class t4{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){let n=e4.get(e);return n&&n.get(t)}(tH(this._object),this._key)}}class t8{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function t5(e,t,n){if(tz(e))return e;if(D(e))return new t8(e);if(H(e)&&arguments.length>1)return t7(e,t,n);else return tK(e)}function t7(e,t,n){let r=e[t];return tz(r)?r:new t4(e,t,n)}class t9{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new e3(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=e2-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&n!==this)return eU(this,!0),!0}get value(){let e=this.dep.track({target:this,type:"get",key:"value"});return eK(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter?this.setter(e):eM("Write operation failed: computed value is readonly")}}let ne={GET:"get",HAS:"has",ITERATE:"iterate"},nt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},nn={},nr=new WeakMap;function no(){return h}function ni(e,t=!1,n=h){if(n){let t=nr.get(n);!t&&nr.set(n,t=[]),t.push(e)}else!t&&eM("onWatcherCleanup() was called when there was no active watcher to associate with.")}function nl(e,t=1/0,n){if(t<=0||!H(e)||e.__v_skip||(n=n||new Set).has(e))return e;if(n.add(e),t--,tz(e))nl(e.value,t,n);else if(N(e))for(let r=0;r{nl(e,t,n)});else if(K(e)){for(let r in e)nl(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&nl(e[r],t,n)}return e}let ns=[];function na(e){ns.push(e)}function nu(){ns.pop()}let nc=!1;function np(e,...t){if(nc)return;nc=!0,eQ();let n=ns.length?ns[ns.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let e=ns[ns.length-1];if(!e)return[];let t=[];for(;e;){let n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});let r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)n_(r,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,o.map(({vnode:e})=>`at <${lz(n,e.type)}>`).join("\n"),o]);else{let n=[`[Vue warn]: ${e}`,...t];o.length&&n.push(` +`,...function(e){let t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:[` +`],...function({vnode:e,recurseCount:t}){let n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=` at <${lz(e.component,e.type,r)}`,i=">"+n;return e.props?[o,...function(e){let t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,r){if(L(n))return n=JSON.stringify(n),r?n:[`${t}=${n}`];if("number"==typeof n||"boolean"==typeof n||null==n)return r?n:[`${t}=${n}`];if(tz(n))return n=e(t,tH(n.value),!0),r?n:[`${t}=Ref<`,n,">"];else if(D(n))return[`${t}=fn${n.name?`<${n.name}>`:""}`];else return n=tH(n),r?n:[`${t}=`,n]}(n,e[n]))}),n.length>3&&t.push(" ..."),t}(e.props),i]:[o+i]}(e))}),t}(o)),console.warn(...n)}e0(),nc=!1}function nf(e,t){if(void 0!==e)"number"!=typeof e?np(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&np(`${t} is NaN - the duration expression might be incorrect.`)}let nd={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",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",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},nh={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",16:"app unmount cleanup function"};function n_(e,t,n,r){try{return r?e(...r):e()}catch(e){ng(e,t,n)}}function nm(e,t,n,r){if(D(e)){let o=n_(e,t,n,r);return o&&B(o)&&o.catch(e=>{ng(e,t,n)}),o}if(N(e)){let o=[];for(let i=0;i=n$(n)?nv.push(e):nv.splice(function(e){let t=ny+1,n=nv.length;for(;t>>1,o=nv[r],i=n$(o);inP(t,e);try{for(ny=0;nyn$(e)-n$(t));if(nb.length=0,nw){nw.push(...t);return}for(nx=0,nw=t,e=e||new Map;nxnull==e.id?2&e.flags?-1:1/0:e.id;function nP(e,t){let n=e.get(t)||0;if(n>100){let e=t.i,n=e&&lq(e.type);return ng(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let nM=!1,nN=new Map;eu().__VUE_HMR_RUNTIME__={createRecord:nD(nj),rerender:nD(function(e,t){let n=nI.get(e);if(!!n)n.initialDef.render=t,[...n.instances].forEach(e=>{t&&(e.render=t,nF(e.type).render=t),e.renderCache=[],nM=!0,e.update(),nM=!1})}),reload:nD(function(e,t){let n=nI.get(e);if(!n)return;t=nF(t),nV(n.initialDef,t);let r=[...n.instances];for(let e=0;e{nM=!0,o.parent.update(),nM=!1,l.delete(o)}):o.appContext.reload?o.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),o.root.ce&&o!==o.root&&o.root.ce._removeChildStyle(i)}nR(()=>{nN.clear()})})};let nI=new Map;function nj(e,t){return!nI.has(e)&&(nI.set(e,{initialDef:nF(t),instances:new Set}),!0)}function nF(e){return lK(e)?e.__vccOpts:e}function nV(e,t){for(let n in A(e,t),e)"__file"!==n&&!(n in t)&&delete e[n]}function nD(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let nL=[],nU=!1;function nH(e,...t){i?i.emit(e,...t):!nU&&nL.push({event:e,args:t})}function nB(e,t){var n,r;(i=e)?(i.enabled=!0,nL.forEach(({event:e,args:t})=>i.emit(e,...t)),nL=[]):"undefined"==typeof window||!window.HTMLElement||(null==(r=null==(n=window.navigator)?void 0:n.userAgent)?void 0:r.includes("jsdom"))?(nU=!0,nL=[]):((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{nB(e,t)}),setTimeout(()=>{!i&&(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,nU=!0,nL=[])},3e3))}let nW=nY("component:added"),nq=nY("component:updated"),nz=nY("component:removed"),nK=e=>{i&&"function"==typeof i.cleanupBuffer&&!i.cleanupBuffer(e)&&nz(e)};function nY(e){return t=>{nH(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}let nG=nX("perf:start"),nJ=nX("perf:end");function nX(e){return(t,n,r)=>{nH(e,t.appContext.app,t.uid,t,n,r)}}let nZ=null,nQ=null;function n0(e){let t=nZ;return nZ=e,nQ=e&&e.type.__scopeId||null,t}function n1(e){nQ=e}function n2(){nQ=null}let n6=e=>n3;function n3(e,t=nZ,n){if(!t||e._n)return e;let r=(...n)=>{let o;r._d&&ln(-1);let i=n0(t);try{o=e(...n)}finally{n0(i),r._d&&ln(1)}return nq(t),o};return r._n=!0,r._c=!0,r._d=!0,r}function n4(e){J(e)&&np("Do not use built-in directive ids as custom directive id: "+e)}function n8(e,t){if(null===nZ)return np("withDirectives can only be used inside render functions."),e;let n=lH(nZ),r=e.dirs||(e.dirs=[]);for(let e=0;ee.__isTeleport,re=e=>e&&(e.disabled||""===e.disabled),rt=e=>e&&(e.defer||""===e.defer),rn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,rr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,ro=(e,t)=>{let n=e&&e.to;if(!L(n))return!n&&!re(e)&&np(`Invalid Teleport target: ${n}`),n;if(!t)return np("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;{let r=t(n);return!r&&!re(e)&&np(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),r}};function ri(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);let{el:l,anchor:s,shapeFlag:a,children:u,props:c}=e,p=2===i;if(p&&r(l,t,n),(!p||re(c))&&16&a)for(let e=0;e{16&y&&(o&&o.isCE&&(o.ce._teleportTarget=e),c(b,e,t,o,i,l,s,a))},f=()=>{let e=t.target=ro(t.props,h),n=ra(e,t,_,d);e?("svg"!==l&&rn(e)?l="svg":"mathml"!==l&&rr(e)&&(l="mathml"),!g&&(p(e,n),rs(t,!1))):!g&&np("Invalid Teleport target on mount:",e,`(${typeof e})`)};g&&(p(n,u),rs(t,!0)),rt(t.props)?im(f,i):f()}else{t.el=e.el,t.targetStart=e.targetStart;let r=t.anchor=e.anchor,c=t.target=e.target,d=t.targetAnchor=e.targetAnchor,_=re(e.props),m=_?n:c;if("svg"===l||rn(c)?l="svg":("mathml"===l||rr(c))&&(l="mathml"),w?(f(e.dynamicChildren,w,m,o,i,l,s),ik(e,t,!0)):!a&&p(e,t,m,_?r:d,o,i,l,s,!1),g)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ri(t,n,r,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=ro(t.props,h);e?ri(t,e,null,u,0):np("Invalid Teleport target on update:",c,`(${typeof c})`)}else _&&ri(t,c,d,u,1);rs(t,g)}},remove(e,t,n,{um:r,o:{remove:o}},i){let{shapeFlag:l,children:s,anchor:a,targetStart:u,targetAnchor:c,target:p,props:f}=e;if(p&&(o(u),o(c)),i&&o(a),16&l){let e=i||!re(f);for(let o=0;o{e.isMounted=!0}),oe(()=>{e.isUnmounting=!0}),e}let rf=[Function,Array],rd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rf,onEnter:rf,onAfterEnter:rf,onEnterCancelled:rf,onBeforeLeave:rf,onLeave:rf,onAfterLeave:rf,onLeaveCancelled:rf,onBeforeAppear:rf,onAppear:rf,onAfterAppear:rf,onAppearCancelled:rf},rh=e=>{let t=e.subTree;return t.component?rh(t.component):t};function r_(e){let t=e[0];if(e.length>1){let n=!1;for(let r of e)if(r.type!==i4){if(n){np(" can only be used on a single element or component. Use for lists.");break}t=r,n=!0}}return t}let rm={name:"BaseTransition",props:rd,setup(e,{slots:t}){let n=lR(),r=rp();return()=>{let o=t.default&&rx(t.default(),!0);if(!o||!o.length)return;let i=r_(o),l=tH(e),{mode:s}=l;if(s&&"in-out"!==s&&"out-in"!==s&&"default"!==s&&np(`invalid mode: ${s}`),r.isLeaving)return ry(i);let a=rb(i);if(!a)return ry(i);let u=rv(a,l,r,n,e=>u=e);a.type!==i4&&rw(a,u);let c=n.subTree,p=c&&rb(c);if(p&&p.type!==i4&&!ls(a,p)&&rh(n).type!==i4){let e=rv(p,l,r,n);if(rw(p,e),"out-in"===s&&a.type!==i4)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!(8&n.job.flags)&&n.update(),delete e.afterLeave},ry(i);"in-out"===s&&a.type!==i4&&(e.delayLeave=(e,t,n)=>{rg(r,p)[String(p.key)]=p,e[ru]=()=>{t(),e[ru]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return i}}};function rg(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return!r&&(r=Object.create(null),n.set(t.type,r)),r}function rv(e,t,n,r,o){let{appear:i,mode:l,persisted:s=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:p,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:_,onBeforeAppear:m,onAppear:g,onAfterAppear:y,onAppearCancelled:b}=t,w=String(e.key),x=rg(n,e),k=(e,t)=>{e&&nm(e,r,9,t)},S=(e,t)=>{let n=t[1];k(e,t),N(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},C={mode:l,persisted:s,beforeEnter(t){let r=a;if(!n.isMounted){if(!i)return;r=m||a}t[ru]&&t[ru](!0);let o=x[w];o&&ls(e,o)&&o.el[ru]&&o.el[ru](),k(r,[t])},enter(e){let t=u,r=c,o=p;if(!n.isMounted){if(!i)return;t=g||u,r=y||c,o=b||p}let l=!1,s=e[rc]=t=>{!l&&(l=!0,t?k(o,[e]):k(r,[e]),C.delayedLeave&&C.delayedLeave(),e[rc]=void 0)};t?S(t,[e,s]):s()},leave(t,r){let o=String(e.key);if(t[rc]&&t[rc](!0),n.isUnmounting)return r();k(f,[t]);let i=!1,l=t[ru]=n=>{!i&&(i=!0,r(),n?k(_,[t]):k(h,[t]),t[ru]=void 0,x[o]===e&&delete x[o])};x[o]=e,d?S(d,[t,l]):l()},clone(e){let i=rv(e,t,n,r,o);return o&&o(i),i}};return C}function ry(e){if(rJ(e))return(e=lh(e)).children=null,e}function rb(e){if(!rJ(e))return n9(e.type)&&e.children?r_(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&D(n.default))return n.default()}}function rw(e,t){6&e.shapeFlag&&e.component?(e.transition=t,rw(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 rx(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let e=0;en.value,set:e=>n.value=e})}else np("useTemplateRef() is called when there is no active component instance to be associated with.");let r=tI(n);return rE.add(r),r}function rR(e,t,n,r,o=!1){if(N(e)){e.forEach((e,i)=>rR(e,t&&(N(t)?t[i]:t),n,r,o));return}if(rK(r)&&!o)return;let i=4&r.shapeFlag?lH(r.component):r.el,l=o?null:i,{i:s,r:a}=e;if(!s){np("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}let u=t&&t.r,c=s.refs===S?s.refs={}:s.refs,p=s.setupState,f=tH(p),d=p===S?()=>!1:e=>(M(f,e)&&!tz(f[e])&&np(`Template ref "${e}" used on a non-ref value. It will not work in the production build.`),!rE.has(f[e])&&M(f,e));if(null!=u&&u!==a&&(L(u)?(c[u]=null,d(u)&&(p[u]=null)):tz(u)&&(u.value=null)),D(a))n_(a,s,12,[l,c]);else{let t=L(a),r=tz(a);if(t||r){let s=()=>{if(e.f){let n=t?d(a)?p[a]:c[a]:a.value;o?N(n)&&$(n,i):N(n)?!n.includes(i)&&n.push(i):t?(c[a]=[i],d(a)&&(p[a]=c[a])):(a.value=[i],e.k&&(c[e.k]=a.value))}else t?(c[a]=l,d(a)&&(p[a]=l)):r?(a.value=l,e.k&&(c[e.k]=l)):np("Invalid template ref type:",a,`(${typeof a})`)};l?(s.id=-1,im(s,n)):s()}else np("Invalid template ref type:",a,`(${typeof a})`)}}let rO=!1,rA=()=>{if(!rO)console.error("Hydration completed but contains mismatches."),rO=!0},r$=e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName,rP=e=>e.namespaceURI.includes("MathML"),rM=e=>{if(1===e.nodeType){if(r$(e))return"svg";if(rP(e))return"mathml"}},rN=e=>8===e.nodeType;function rI(e){let{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:l,remove:s,insert:a,createComment:u}}=e,c=(n,r,s,u,y,b=!1)=>{b=b||!!r.dynamicChildren;let w=rN(n)&&"["===n.data,x=()=>h(n,r,s,u,y,w),{type:k,ref:S,shapeFlag:C,patchFlag:E}=r,T=n.nodeType;r.el=n,el(n,"__vnode",r,!0),el(n,"__vueParentComponent",s,!0),-2===E&&(b=!1,r.dynamicChildren=null);let R=null;switch(k){case i3:3!==T?""===r.children?(a(r.el=o(""),l(n),n),R=n):R=x():(n.data!==r.children&&(np("Hydration text mismatch in",n.parentNode,` + - rendered on server: ${JSON.stringify(n.data)} + - expected on client: ${JSON.stringify(r.children)}`),rA(),n.data=r.children),R=i(n));break;case i4:g(n)?(R=i(n),m(r.el=n.content.firstChild,n,s)):R=8!==T||w?x():i(n);break;case i8:if(w&&(T=(n=i(n)).nodeType),1===T||3===T){R=n;let e=!r.children.length;for(let t=0;t{l=l||!!t.dynamicChildren;let{type:a,props:u,patchFlag:c,shapeFlag:p,dirs:d,transition:h}=t,_="input"===a||"option"===a;{let a;d&&n5(t,null,n,"created");let c=!1;if(g(e)){c=ix(null,h)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;c&&h.beforeEnter(r),m(r,e,n),t.el=e=r}if(16&p&&!(u&&(u.innerHTML||u.textContent))){let r=f(e.firstChild,t,e,n,o,i,l),a=!1;for(;r;){!rL(e,1)&&(!a&&(np("Hydration children mismatch on",e,` +Server rendered element contains more child nodes than client vdom.`),a=!0),rA());let t=r;r=r.nextSibling,s(t)}}else if(8&p){let n=t.children;"\n"===n[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(n=n.slice(1)),e.textContent!==n&&(!rL(e,0)&&(np("Hydration text content mismatch on",e,` + - rendered on server: ${e.textContent} + - expected on client: ${t.children}`),rA()),e.textContent=t.children)}if(u){let o=e.tagName.includes("-");for(let i in u)!(d&&d.some(e=>e.dir.created))&&function(e,t,n,r,o){let i,l,s,a;if("class"===t)s=e.getAttribute("class"),a=e_(n),!function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(rj(s||""),rj(a))&&(i=2,l="class");else if("style"===t){s=e.getAttribute("style")||"",a=L(n)?n:function(e){let t="";if(!e||L(e))return t;for(let n in e){let r=e[n];if(L(r)||"number"==typeof r){let e=n.startsWith("--")?n:et(n);t+=`${e}:${r};`}}return t}(ep(n));let t=rF(s),u=rF(a);if(r.dirs)for(let{dir:e,value:t}of r.dirs)"show"===e.name&&!t&&u.set("display","none");o&&function e(t,n,r){let o=t.subTree;if(t.getCssVars&&(n===o||o&&o.type===i6&&o.children.includes(n))){let e=t.getCssVars();for(let t in e){var i=void 0;r.set(`--${t.replace(eE,e=>`\\${e}`)}`,String(e[t]))}}n===o&&t.parent&&e(t.parent,t.vnode,r)}(o,r,u),!function(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,u)&&(i=3,l="style")}else(e instanceof SVGElement&&eC(t)||e instanceof HTMLElement&&(ex(t)||eS(t)))&&(ex(t)?(s=e.hasAttribute(t),a=ek(n)):null==n?(s=e.hasAttribute(t),a=!1):(s=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,a=!!function(e){if(null==e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),s!==a&&(i=4,l=t));if(null!=i&&!rL(e,i)){let t=e=>!1===e?"(not rendered)":`${l}="${e}"`,n=`Hydration ${rD[i]} mismatch on`;return np(n,e,` + - rendered on server: ${t(s)} + - expected on client: ${t(a)} + Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead. + You should fix the source of the mismatch.`),!0}return!1}(e,i,u[i],t,n)&&rA(),(_&&(i.endsWith("value")||"indeterminate"===i)||R(i)&&!G(i)||"."===i[0]||o)&&r(e,i,null,u[i],void 0,n)}(a=u&&u.onVnodeBeforeMount)&&lk(a,n,t),d&&n5(t,null,n,"beforeMount"),((a=u&&u.onVnodeMounted)||d||c)&&i1(()=>{a&&lk(a,n,t),c&&h.enter(e),d&&n5(t,null,n,"mounted")},o)}return e.nextSibling},f=(e,t,r,l,s,u,p)=>{p=p||!!t.dynamicChildren;let f=t.children,d=f.length,h=!1;for(let t=0;t{let{slotScopeIds:c}=t;c&&(o=o?o.concat(c):c);let p=l(e),d=f(i(e),t,p,n,r,o,s);return d&&rN(d)&&"]"===d.data?i(t.anchor=d):(rA(),a(t.anchor=u("]"),p,d),d)},h=(e,t,r,o,a,u)=>{if(!rL(e.parentElement,1)&&(np(`Hydration node mismatch: +- rendered on server:`,e,3===e.nodeType?"(text)":rN(e)&&"["===e.data?"(start of fragment)":"",` +- expected on client:`,t.type),rA()),t.el=null,u){let t=_(e);for(;;){let n=i(e);if(n&&n!==t)s(n);else break}}let c=i(e),p=l(e);return s(e),n(null,t,p,c,r,o,rM(p),a),c},_=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=i(e))&&rN(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},m=(e,t,n)=>{let 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},g=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes()){np("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),nA(),t._vnode=e;return}c(t.firstChild,e,null,null,null),nA(),t._vnode=e},c]}function rj(e){return new Set(e.trim().split(/\s+/))}function rF(e){let t=new Map;for(let n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}let rV="data-allow-mismatch",rD={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function rL(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(rV);)e=e.parentElement;let n=e&&e.getAttribute(rV);if(null==n)return!1;if(""===n)return!0;{let e=n.split(",");return!!(0===t&&e.includes("children"))||n.split(",").includes(rD[t])}}let rU=eu().requestIdleCallback||(e=>setTimeout(e,1)),rH=eu().cancelIdleCallback||(e=>clearTimeout(e)),rB=(e=1e4)=>t=>{let n=rU(t,{timeout:e});return()=>rH(n)},rW=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(function(e){let{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:l}=window;return(t>0&&t0&&r0&&n0&&or.disconnect()},rq=e=>t=>{if(e){let n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},rz=(e=[])=>(t,n)=>{L(e)&&(e=[e]);let r=!1,o=e=>{!r&&(r=!0,i(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},i=()=>{n(t=>{for(let n of e)t.removeEventListener(n,o)})};return n(t=>{for(let n of e)t.addEventListener(n,o,{once:!0})}),i},rK=e=>!!e.type.__asyncLoader;function rY(e){let t;D(e)&&(e={loader:e});let{loader:n,loadingComponent:r,errorComponent:o,delay:i=200,hydrate:l,timeout:s,suspensible:a=!0,onError:u}=e,c=null,p=0,f=()=>(p++,c=null,d()),d=()=>{let e;return c||(e=c=n().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),u)return new Promise((t,n)=>{u(e,()=>t(f()),()=>n(e),p+1)});throw e}).then(n=>{if(e!==c&&c)return c;if(!n&&np("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),n&&!H(n)&&!D(n))throw Error(`Invalid async component load result: ${n}`);return t=n,n}))};return rk({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(e,n,r){let o=l?()=>{let t=l(r,t=>(function(e,t){if(rN(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(rN(r)){if("]"===r.data){if(0==--n)break}else"["===r.data&&n++}r=r.nextSibling}}else t(e)})(e,t));t&&(n.bum||(n.bum=[])).push(t)}:r;t?o():d().then(()=>!n.isUnmounted&&o())},get __asyncResolved(){return t},setup(){let e=lT;if(rC(e),t)return()=>rG(t,e);let n=t=>{c=null,ng(t,e,13,!o)};if(a&&e.suspense||lN)return d().then(t=>()=>rG(t,e)).catch(e=>(n(e),()=>o?lf(o,{error:e}):null));let l=tK(!1),u=tK(),p=tK(!!i);return i&&setTimeout(()=>{p.value=!1},i),null!=s&&setTimeout(()=>{if(!l.value&&!u.value){let e=Error(`Async component timed out after ${s}ms.`);n(e),u.value=e}},s),d().then(()=>{l.value=!0,e.parent&&rJ(e.parent.vnode)&&e.parent.update()}).catch(e=>{n(e),u.value=e}),()=>{if(l.value&&t)return rG(t,e);if(u.value&&o)return lf(o,{error:u.value});if(r&&!p.value)return lf(r)}}})}function rG(e,t){let{ref:n,props:r,children:o,ce:i}=t.vnode,l=lf(e,r,o);return l.ref=n,l.ce=i,delete t.vnode.ce,l}let rJ=e=>e.type.__isKeepAlive,rX={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=lR(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&1===e.length?e[0]:e};let o=new Map,i=new Set,l=null;n.__v_cache=o;let s=n.suspense,{renderer:{p:a,m:u,um:c,o:{createElement:p}}}=r,f=p("div");function d(e){r2(e),c(e,n,s,!0)}function h(e){o.forEach((t,n)=>{let r=lq(t.type);r&&!e(r)&&_(n)})}function _(e){let t=o.get(e);!t||l&&ls(t,l)?l&&r2(l):d(t),o.delete(e),i.delete(e)}r.activate=(e,t,n,r,o)=>{let i=e.component;u(e,t,n,0,s),a(i.vnode,e,t,n,i,s,r,e.slotScopeIds,o),im(()=>{i.isDeactivated=!1,i.a&&ei(i.a);let t=e.props&&e.props.onVnodeMounted;t&&lk(t,i.parent,e)},s),nW(i)},r.deactivate=e=>{let t=e.component;iS(t.m),iS(t.a),u(e,f,null,1,s),im(()=>{t.da&&ei(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&lk(n,t.parent,e),t.isDeactivated=!0},s),nW(t)},iA(()=>[e.include,e.exclude],([e,t])=>{e&&h(t=>rZ(e,t)),t&&h(e=>!rZ(t,e))},{flush:"post",deep:!0});let m=null,g=()=>{null!=m&&(iY(n.subTree.type)?im(()=>{o.set(m,r6(n.subTree))},n.subTree.suspense):o.set(m,r6(n.subTree)))};return r5(g),r9(g),oe(()=>{o.forEach(e=>{let{subTree:t,suspense:r}=n,o=r6(t);if(e.type===o.type&&e.key===o.key){r2(o);let e=o.component.da;e&&im(e,r);return}d(e)})}),()=>{if(m=null,!t.default)return l=null;let n=t.default(),r=n[0];if(n.length>1)return np("KeepAlive should contain exactly one component child."),l=null,n;if(!ll(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return l=null,r;let s=r6(r);if(s.type===i4)return l=null,s;let a=s.type,u=lq(rK(s)?s.type.__asyncResolved||{}:a),{include:c,exclude:p,max:f}=e;if(c&&(!u||!rZ(c,u))||p&&u&&rZ(p,u))return s.shapeFlag&=-257,l=s,r;let d=null==s.key?a:s.key,h=o.get(d);return s.el&&(s=lh(s),128&r.shapeFlag&&(r.ssContent=s)),m=d,h?(s.el=h.el,s.component=h.component,s.transition&&rw(s,s.transition),s.shapeFlag|=512,i.delete(d),i.add(d)):(i.add(d),f&&i.size>parseInt(f,10)&&_(i.values().next().value)),s.shapeFlag|=256,l=s,iY(r.type)?r:s}}};function rZ(e,t){if(N(e))return e.some(e=>rZ(e,t));if(L(e))return e.split(",").includes(t);if(V(e))return e.lastIndex=0,e.test(t);return!1}function rQ(e,t){r1(e,"a",t)}function r0(e,t){r1(e,"da",t)}function r1(e,t,n=lT){let r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(r3(t,r,n),n){let e=n.parent;for(;e&&e.parent;)rJ(e.parent.vnode)&&function(e,t,n,r){let o=r3(t,e,r,!0);ot(()=>{$(r[t],o)},n)}(r,t,n,e),e=e.parent}}function r2(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function r6(e){return 128&e.shapeFlag?e.ssContent:e}function r3(e,t,n=lT,r=!1){if(n){let o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{eQ();let o=lO(n),i=nm(t,n,e,r);return o(),e0(),i});return r?o.unshift(i):o.push(i),i}{let t=er(nh[e].replace(/ hook$/,""));np(`${t} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}let r4=e=>(t,n=lT)=>{(!lN||"sp"===e)&&r3(e,(...e)=>t(...e),n)},r8=r4("bm"),r5=r4("m"),r7=r4("bu"),r9=r4("u"),oe=r4("bum"),ot=r4("um"),on=r4("sp"),or=r4("rtg"),oo=r4("rtc");function oi(e,t=lT){r3("ec",e,t)}let ol="components";function os(e,t){return op(ol,e,!0,t)||e}let oa=Symbol.for("v-ndc");function ou(e){return L(e)?op(ol,e,!1)||e:e||oa}function oc(e){return op("directives",e)}function op(e,t,n=!0,r=!1){let o=nZ||lT;if(o){let i=o.type;if(e===ol){let e=lq(i,!1);if(e&&(e===t||e===Q(t)||e===en(Q(t))))return i}let l=of(o[e]||i[e],t)||of(o.appContext[e],t);if(!l&&r)return i;if(n&&!l){let n=e===ol?` +If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";np(`Failed to resolve ${e.slice(0,-1)}: ${t}${n}`)}return l}np(`resolve${en(e.slice(0,-1))} can only be used in render() or setup().`)}function of(e,t){return e&&(e[t]||e[Q(t)]||e[en(Q(t))])}function od(e,t,n,r){let o;let i=n&&n[r],l=N(e);if(l||L(e)){let n=l&&tV(e),r=!1;n&&(r=!tL(e),e=tn(e)),o=Array(e.length);for(let n=0,l=e.length;nt(e,n,void 0,i&&i[n]));else{let n=Object.keys(e);o=Array(n.length);for(let r=0,l=n.length;r{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function o_(e,t,n={},r,o){if(nZ.ce||nZ.parent&&rK(nZ.parent)&&nZ.parent.ce)return"default"!==t&&(n.name=t),i9(),li(i6,null,[lf("slot",n,r&&r())],64);let i=e[t];i&&i.length>1&&(np("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),i9();let l=i&&om(i(n)),s=n.key||l&&l.key,a=li(i6,{key:(s&&!U(s)?s:`_${t}`)+(!l&&r?"_fb":"")},l||(r?r():[]),l&&1===e._?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function om(e){return e.some(e=>!ll(e)||!!(e.type!==i4&&(e.type!==i6||om(e.children)))||!1)?e:null}function og(e,t){let n={};if(!H(e))return np("v-on with no argument expects an object value."),n;for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:er(r)]=e[r];return n}let ov=e=>e?lM(e)?lH(e):ov(e.parent):null,oy=A(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>tj(e.props),$attrs:e=>tj(e.attrs),$slots:e=>tj(e.slots),$refs:e=>tj(e.refs),$parent:e=>ov(e.parent),$root:e=>ov(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>oH(e),$forceUpdate:e=>e.f||(e.f=()=>{nE(e.update)}),$nextTick:e=>e.n||(e.n=nC.bind(e.proxy)),$watch:e=>iP.bind(e)}),ob=e=>"_"===e||"$"===e,ow=(e,t)=>e!==S&&!e.__isScriptSetup&&M(e,t),ox={get({_:e},t){let n,r,o;if("__v_skip"===t)return!0;let{ctx:i,setupState:l,data:s,props:a,accessCache:u,type:c,appContext:p}=e;if("__isVue"===t)return!0;if("$"!==t[0]){let r=u[t];if(void 0!==r)switch(r){case 1:return l[t];case 2:return s[t];case 4:return i[t];case 3:return a[t]}else{if(ow(l,t))return u[t]=1,l[t];if(s!==S&&M(s,t))return u[t]=2,s[t];if((n=e.propsOptions[0])&&M(n,t))return u[t]=3,a[t];if(i!==S&&M(i,t))return u[t]=4,i[t];oL&&(u[t]=0)}}let f=oy[t];if(f)return"$attrs"===t?(e9(e.attrs,"get",""),function(){iV=!0}()):"$slots"===t&&e9(e,"get",t),f(e);if((r=c.__cssModules)&&(r=r[t]))return r;if(i!==S&&M(i,t))return u[t]=4,i[t];else{if(M(o=p.config.globalProperties,t))return o[t];nZ&&(!L(t)||0!==t.indexOf("__v"))&&(s!==S&&ob(t[0])&&M(s,t)?np(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===nZ&&np(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))}},set({_:e},t,n){let{data:r,setupState:o,ctx:i}=e;if(ow(o,t))return o[t]=n,!0;if(o.__isScriptSetup&&M(o,t))return np(`Cannot mutate