gis-cesium-helper 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +78 -0
- package/distp/index.html +1 -1
- package/distp/static/js2/{index-f89aac41.js → index-3f5b0fd2.js} +1 -1
- package/distp/static/js2/{index-f89aac41.js.map → index-3f5b0fd2.js.map} +1 -1
- package/package.json +5 -3
- package/src/App.vue +6 -6
- package/src/index.css +6 -6
- package/gis-cesium-helper-0.0.0.tgz +0 -0
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true
|
|
5
|
+
},
|
|
6
|
+
extends: ["plugin:vue/vue3-essential", "standard", "@vue/typescript/recommended"],
|
|
7
|
+
globals: {
|
|
8
|
+
defineProps: "readonly",
|
|
9
|
+
defineEmits: "readonly",
|
|
10
|
+
defineExpose: "readonly",
|
|
11
|
+
withDefaults: "readonly"
|
|
12
|
+
},
|
|
13
|
+
rules: {
|
|
14
|
+
"@typescript-eslint/no-explicit-any": "off", // ts:允许用any
|
|
15
|
+
"@typescript-eslint/no-useless-constructor": "error", // ts:不允许使用未定位类型自动转为any
|
|
16
|
+
"@typescript-eslint/no-var-requires": "off", // ts:是否允许使用var
|
|
17
|
+
"@typescript-eslint/no-non-null-assertion": "off", // ts:非空赋值
|
|
18
|
+
"@typescript-eslint/explicit-module-boundary-types": "off", // ts:是否需要显式定义函数将返回什么类型
|
|
19
|
+
"@typescript-eslint/ban-ts-comment": "off", // ts: 禁止ts注释
|
|
20
|
+
"@typescript-eslint/no-unused-vars": "off", // ts:允许定义未引用使用的变量
|
|
21
|
+
"vue/multi-word-component-names": ["error", { ignores: ["index", "App"] }], // vue:多词组件名称
|
|
22
|
+
"vue/comment-directive": ["off", { reportUnusedDisableDirectives: false }], // vue:允许在标签中写 HTML 注释。
|
|
23
|
+
"vue/no-deprecated-slot-attribute": "off", // 允许使用slot
|
|
24
|
+
"vue/valid-v-slot": "off",
|
|
25
|
+
|
|
26
|
+
camelcase: "off", // 强制驼峰命名规则
|
|
27
|
+
indent: "off", // 强制一致的缩进风格
|
|
28
|
+
eqeqeq: "error", // 是否使用 === 替代 ==
|
|
29
|
+
quotes: ["error", "double", { avoidEscape: true, allowTemplateLiterals: true }], // 使用双引号
|
|
30
|
+
curly: ["error", "all"], // 强制所有控制语句使用一致的括号风格 @fixable if 后面必须要有 {,除非是单行 if
|
|
31
|
+
"no-tabs": "off",
|
|
32
|
+
"padded-blocks": "off", // 块内行首行尾是否空行
|
|
33
|
+
"global-require": "off", // require 必须在全局作用域下
|
|
34
|
+
"comma-dangle": "error", // 强制在对象和数组文字中一致地使用尾随逗号
|
|
35
|
+
"valid-jsdoc": "off", // 强制使用有效的 JSDoc 注释
|
|
36
|
+
"consistent-return": "off", // 要求 return 语句要么总是指定返回的值,要么不指定
|
|
37
|
+
"default-case": "off", // switch 语句强制 default 分支,也可添加 // no default 注释取消此次警告
|
|
38
|
+
"block-scoped-var": "error", // 将 var 定义的变量视为块作用域,禁止在块外使用
|
|
39
|
+
"guard-for-in": "off", // for in 内部必须有 hasOwnProperty
|
|
40
|
+
"constructor-super": "error", // constructor 中必须有 super
|
|
41
|
+
"dot-location": ["off", "property"], // @fixable 链式调用的时候,点号必须放在第二行开头处,禁止放在第一行结尾处
|
|
42
|
+
"comma-style": ["error", "last"], // 控制逗号在行尾出现还是在行首出现 (默认行尾)
|
|
43
|
+
"space-before-function-paren": ["off", "always"], // 函数定义时括号前的空格
|
|
44
|
+
"object-curly-newline": ["error", { multiline: true, consistent: true }], // @fixable 大括号内的首尾必须有换行
|
|
45
|
+
"computed-property-spacing": ["error", "never"], // "SwitchCase" (默认:0) 强制 switch 语句中的 case 子句的缩进水平
|
|
46
|
+
|
|
47
|
+
"no-debugger": "warn", // 是否允许debugger
|
|
48
|
+
"no-console": "off", // 不允许出现console语句
|
|
49
|
+
"no-var": "error", // @fixable 禁止使用 var
|
|
50
|
+
"no-trailing-spaces": "off", // 一行最后不允许有空格
|
|
51
|
+
"no-prototype-builtins": "off", // 是否允许使用Object.prototype
|
|
52
|
+
"no-template-curly-in-string": "off", // 关闭${xxx}检测
|
|
53
|
+
"no-mixed-spaces-and-tabs": "error", // 不允许混用tab和空格
|
|
54
|
+
"no-new": "error", // 禁止在非赋值或条件语句中使用 new 操作符
|
|
55
|
+
"no-new-wrappers": "error", // 禁止对 String,Number 和 Boolean 使用 new 操作符
|
|
56
|
+
"no-self-assign": "error", // 禁止自我赋值
|
|
57
|
+
"no-self-compare": "error", // 禁止自身比较
|
|
58
|
+
"no-case-declarations": "error", // switch 的 case 内有变量定义的时候,必须使用大括号将 case 内变成一个代码块
|
|
59
|
+
"no-extend-native": "error", // 禁止修改原生对象
|
|
60
|
+
"no-extra-bind": "error", // @fixable 禁止出现没必要的 bind
|
|
61
|
+
"no-extra-label": "error", // @fixable 禁止出现没必要的 label
|
|
62
|
+
"no-fallthrough": "error", // switch 的 case 内必须有 break, return 或 throw
|
|
63
|
+
"no-floating-decimal": "error", // @fixable 表示小数时,禁止省略 0,比如 .5
|
|
64
|
+
"no-global-assign": "error", // 禁止对全局变量赋值
|
|
65
|
+
"no-multi-str": "error", // 禁止使用 \ 来换行字符串
|
|
66
|
+
"no-const-assign": "error", // 禁止对使用 const 定义的常量重新赋值
|
|
67
|
+
"no-dupe-class-members": "error", // 禁止重复定义类
|
|
68
|
+
"no-duplicate-imports": "off", // 禁止重复 import 模块
|
|
69
|
+
"no-useless-constructor": "off", // 禁止出现没必要的 constructor,比如 constructor(value) { super(value) }
|
|
70
|
+
"no-useless-escape": "off", // 可以使用\转义
|
|
71
|
+
"no-callback-literal": "off", // 关闭eslint标准模式callback回调报错
|
|
72
|
+
"no-dupe-keys": "error", // 禁止对象字面量中出现重复的 key
|
|
73
|
+
"no-func-assign": "error", // 禁止对 function 声明重新赋值
|
|
74
|
+
"no-nested-ternary": "error", // 禁用嵌套的三元表达式
|
|
75
|
+
"no-multiple-empty-lines": ["error", { max: 3 }], // 空行最多不能超过两行
|
|
76
|
+
"new-cap": "off" // 关闭eslint fromDegrees方法报错
|
|
77
|
+
}
|
|
78
|
+
}
|
package/distp/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" href="./favicon.ico" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
7
|
<title>Vite App</title>
|
|
8
|
-
<script type="module" crossorigin src="./static/js2/index-
|
|
8
|
+
<script type="module" crossorigin src="./static/js2/index-3f5b0fd2.js"></script>
|
|
9
9
|
<link rel="stylesheet" href="./static/css/index-06d14ce2.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -6,4 +6,4 @@ const Os=function(){const t=document.createElement("link").relList;if(t&&t.suppo
|
|
|
6
6
|
For more details, see https://link.vuejs.org/feature-flags.`)}}const fe=Xi;function Pl(e){return Fl(e)}function Fl(e,t){Ml();const n=mr();n.__VUE__=!0,Ur(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:s,createElement:i,createText:c,createComment:f,setText:a,setElementText:h,parentNode:d,nextSibling:b,setScopeId:E=ue,cloneNode:S,insertStaticContent:P}=e,N=(l,u,p,g=null,m=null,w=null,C=!1,y=null,v=st?!1:!!u.dynamicChildren)=>{if(l===u)return;l&&!Ge(l,u)&&(g=Ut(l),Ne(l,m,w,!0),l=null),u.patchFlag===-2&&(v=!1,u.dynamicChildren=null);const{type:_,ref:T,shapeFlag:O}=u;switch(_){case _n:B(l,u,p,g);break;case le:U(l,u,p,g);break;case Zt:l==null?z(u,p,g,C):ce(l,u,p,C);break;case de:$o(l,u,p,g,m,w,C,y,v);break;default:O&1?k(l,u,p,g,m,w,C,y,v):O&6?We(l,u,p,g,m,w,C,y,v):O&64||O&128?_.process(l,u,p,g,m,w,C,y,v,ht):x("Invalid VNode type:",_,`(${typeof _})`)}T!=null&&m&&Jn(T,l&&l.ref,w,u||l,!u)},B=(l,u,p,g)=>{if(l==null)o(u.el=c(u.children),p,g);else{const m=u.el=l.el;u.children!==l.children&&a(m,u.children)}},U=(l,u,p,g)=>{l==null?o(u.el=f(u.children||""),p,g):u.el=l.el},z=(l,u,p,g)=>{[l.el,l.anchor]=P(l.children,u,p,g,l.el,l.anchor)},ce=(l,u,p,g)=>{if(u.children!==l.children){const m=b(l.anchor);we(l),[u.el,u.anchor]=P(u.children,p,m,g)}else u.el=l.el,u.anchor=l.anchor},q=({el:l,anchor:u},p,g)=>{let m;for(;l&&l!==u;)m=b(l),o(l,p,g),l=m;o(u,p,g)},we=({el:l,anchor:u})=>{let p;for(;l&&l!==u;)p=b(l),r(l),l=p;r(u)},k=(l,u,p,g,m,w,C,y,v)=>{C=C||u.type==="svg",l==null?X(u,p,g,m,w,C,y,v):ae(l,u,m,w,C,y,v)},X=(l,u,p,g,m,w,C,y)=>{let v,_;const{type:T,props:O,shapeFlag:$,transition:A,patchFlag:H,dirs:V}=l;{if(v=l.el=i(l.type,w,O&&O.is,O),$&8?h(v,l.children):$&16&&G(l.children,v,null,g,m,w&&T!=="foreignObject",C,y),V&&qe(l,null,g,"created"),O){for(const W in O)W!=="value"&&!zt(W)&&s(v,W,null,O[W],w,l.children,g,m,Ee);"value"in O&&s(v,"value",null,O.value),(_=O.onVnodeBeforeMount)&&xe(_,g,l)}Z(v,l,l.scopeId,C,g)}Object.defineProperty(v,"__vnode",{value:l,enumerable:!1}),Object.defineProperty(v,"__vueParentComponent",{value:g,enumerable:!1}),V&&qe(l,null,g,"beforeMount");const K=(!m||m&&!m.pendingBranch)&&A&&!A.persisted;K&&A.beforeEnter(v),o(v,u,p),((_=O&&O.onVnodeMounted)||K||V)&&fe(()=>{_&&xe(_,g,l),K&&A.enter(v),V&&qe(l,null,g,"mounted")},m)},Z=(l,u,p,g,m)=>{if(p&&E(l,p),g)for(let w=0;w<g.length;w++)E(l,g[w]);if(m){let w=m.subTree;if(w.patchFlag>0&&w.patchFlag&2048&&(w=qr(w.children)||w),u===w){const C=m.vnode;Z(l,C,C.scopeId,C.slotScopeIds,m.parent)}}},G=(l,u,p,g,m,w,C,y,v=0)=>{for(let _=v;_<l.length;_++){const T=l[_]=y?Le(l[_]):ye(l[_]);N(null,T,u,p,g,m,w,C,y)}},ae=(l,u,p,g,m,w,C)=>{const y=u.el=l.el;let{patchFlag:v,dynamicChildren:_,dirs:T}=u;v|=l.patchFlag&16;const O=l.props||D,$=u.props||D;let A;p&&ze(p,!1),(A=$.onVnodeBeforeUpdate)&&xe(A,p,u,l),T&&qe(u,l,p,"beforeUpdate"),p&&ze(p,!0),st&&(v=0,C=!1,_=null);const H=m&&u.type!=="foreignObject";if(_?(te(l.dynamicChildren,_,y,p,g,H,w),p&&p.type.__hmrId&&Xt(l,u)):C||Ct(l,u,y,null,p,g,H,w,!1),v>0){if(v&16)Ve(y,u,O,$,p,g,m);else if(v&2&&O.class!==$.class&&s(y,"class",null,$.class,m),v&4&&s(y,"style",O.style,$.style,m),v&8){const V=u.dynamicProps;for(let K=0;K<V.length;K++){const W=V[K],_e=O[W],mt=$[W];(mt!==_e||W==="value")&&s(y,W,_e,mt,m,l.children,p,g,Ee)}}v&1&&l.children!==u.children&&h(y,u.children)}else!C&&_==null&&Ve(y,u,O,$,p,g,m);((A=$.onVnodeUpdated)||T)&&fe(()=>{A&&xe(A,p,u,l),T&&qe(u,l,p,"updated")},g)},te=(l,u,p,g,m,w,C)=>{for(let y=0;y<u.length;y++){const v=l[y],_=u[y],T=v.el&&(v.type===de||!Ge(v,_)||v.shapeFlag&70)?d(v.el):p;N(v,_,T,null,g,m,w,C,!0)}},Ve=(l,u,p,g,m,w,C)=>{if(p!==g){for(const y in g){if(zt(y))continue;const v=g[y],_=p[y];v!==_&&y!=="value"&&s(l,y,_,v,C,u.children,m,w,Ee)}if(p!==D)for(const y in p)!zt(y)&&!(y in g)&&s(l,y,p[y],null,C,u.children,m,w,Ee);"value"in g&&s(l,"value",p.value,g.value)}},$o=(l,u,p,g,m,w,C,y,v)=>{const _=u.el=l?l.el:c(""),T=u.anchor=l?l.anchor:c("");let{patchFlag:O,dynamicChildren:$,slotScopeIds:A}=u;st&&(O=0,v=!1,$=null),A&&(y=y?y.concat(A):A),l==null?(o(_,p,g),o(T,p,g),G(u.children,p,T,m,w,C,y,v)):O>0&&O&64&&$&&l.dynamicChildren?(te(l.dynamicChildren,$,p,m,w,C,y),m&&m.type.__hmrId?Xt(l,u):(u.key!=null||m&&u===m.subTree)&&Xt(l,u,!0)):Ct(l,u,p,T,m,w,C,y,v)},We=(l,u,p,g,m,w,C,y,v)=>{u.slotScopeIds=y,l==null?u.shapeFlag&512?m.ctx.activate(u,p,g,C,v):oe(u,p,g,m,w,C,v):L(l,u,v)},oe=(l,u,p,g,m,w,C)=>{const y=l.component=Yl(l,g,m);if(y.type.__hmrId&&Pi(y),Jt(l),Ie(y,"mount"),Lt(l)&&(y.ctx.renderer=ht),Ie(y,"init"),Ql(y),Ae(y,"init"),y.asyncDep){if(m&&m.registerDep(y,R),!l.el){const v=y.subTree=De(le);U(null,v,u,p)}return}R(y,l,u,p,m,w,C),Yt(),Ae(y,"mount")},L=(l,u,p)=>{const g=u.component=l.component;if(zi(l,u,p))if(g.asyncDep&&!g.asyncResolved){Jt(u),Te(g,u,p),Yt();return}else g.next=u,Ai(g.update),g.update();else u.component=l.component,u.el=l.el,g.vnode=u},R=(l,u,p,g,m,w,C)=>{const y=()=>{if(l.isMounted){let{next:T,bu:O,u:$,parent:A,vnode:H}=l,V=T,K;Jt(T||l.vnode),ze(l,!1),T?(T.el=H.el,Te(l,T,C)):T=H,O&&Tt(O),(K=T.props&&T.props.onVnodeBeforeUpdate)&&xe(K,A,T,H),ze(l,!0),Ie(l,"render");const W=Tn(l);Ae(l,"render");const _e=l.subTree;l.subTree=W,Ie(l,"patch"),N(_e,W,d(_e.el),Ut(_e),l,m,w),Ae(l,"patch"),T.el=W.el,V===null&&Ji(l,W.el),$&&fe($,m),(K=T.props&&T.props.onVnodeUpdated)&&fe(()=>xe(K,A,T,H),m),Br(l),Yt()}else{let T;const{el:O,props:$}=u,{bm:A,m:H,parent:V}=l,K=Kn(u);if(ze(l,!1),A&&Tt(A),!K&&(T=$&&$.onVnodeBeforeMount)&&xe(T,V,u),ze(l,!0),O&&Cn){const W=()=>{Ie(l,"render"),l.subTree=Tn(l),Ae(l,"render"),Ie(l,"hydrate"),Cn(O,l.subTree,l,m,null),Ae(l,"hydrate")};K?u.type.__asyncLoader().then(()=>!l.isUnmounted&&W()):W()}else{Ie(l,"render");const W=l.subTree=Tn(l);Ae(l,"render"),Ie(l,"patch"),N(null,W,p,g,l,m,w),Ae(l,"patch"),u.el=W.el}if(H&&fe(H,m),!K&&(T=$&&$.onVnodeMounted)){const W=u;fe(()=>xe(T,V,W),m)}u.shapeFlag&256&&l.a&&fe(l.a,m),l.isMounted=!0,Li(l),u=p=g=null}},v=l.effect=new uo(y,()=>_o(l.update),l.scope),_=l.update=v.run.bind(v);_.id=l.uid,ze(l,!0),v.onTrack=l.rtc?T=>Tt(l.rtc,T):void 0,v.onTrigger=l.rtg?T=>Tt(l.rtg,T):void 0,_.ownerInstance=l,_()},Te=(l,u,p)=>{u.component=l;const g=l.vnode.props;l.vnode=u,l.next=null,yl(l,u.props,g,p),$l(l,u.children,p),dt(),yo(void 0,l.update),pt()},Ct=(l,u,p,g,m,w,C,y,v=!1)=>{const _=l&&l.children,T=l?l.shapeFlag:0,O=u.children,{patchFlag:$,shapeFlag:A}=u;if($>0){if($&128){kt(_,O,p,g,m,w,C,y,v);return}else if($&256){Ht(_,O,p,g,m,w,C,y,v);return}}A&8?(T&16&&Ee(_,m,w),O!==_&&h(p,O)):T&16?A&16?kt(_,O,p,g,m,w,C,y,v):Ee(_,m,w,!0):(T&8&&h(p,""),A&16&&G(O,p,g,m,w,C,y,v))},Ht=(l,u,p,g,m,w,C,y,v)=>{l=l||wt,u=u||wt;const _=l.length,T=u.length,O=Math.min(_,T);let $;for($=0;$<O;$++){const A=u[$]=v?Le(u[$]):ye(u[$]);N(l[$],A,p,null,m,w,C,y,v)}_>T?Ee(l,m,w,!0,!1,O):G(u,p,g,m,w,C,y,v,O)},kt=(l,u,p,g,m,w,C,y,v)=>{let _=0;const T=u.length;let O=l.length-1,$=T-1;for(;_<=O&&_<=$;){const A=l[_],H=u[_]=v?Le(u[_]):ye(u[_]);if(Ge(A,H))N(A,H,p,null,m,w,C,y,v);else break;_++}for(;_<=O&&_<=$;){const A=l[O],H=u[$]=v?Le(u[$]):ye(u[$]);if(Ge(A,H))N(A,H,p,null,m,w,C,y,v);else break;O--,$--}if(_>O){if(_<=$){const A=$+1,H=A<T?u[A].el:g;for(;_<=$;)N(null,u[_]=v?Le(u[_]):ye(u[_]),p,H,m,w,C,y,v),_++}}else if(_>$)for(;_<=O;)Ne(l[_],m,w,!0),_++;else{const A=_,H=_,V=new Map;for(_=H;_<=$;_++){const re=u[_]=v?Le(u[_]):ye(u[_]);re.key!=null&&(V.has(re.key)&&x("Duplicate keys found during update:",JSON.stringify(re.key),"Make sure keys are unique."),V.set(re.key,_))}let K,W=0;const _e=$-H+1;let mt=!1,Ao=0;const Ot=new Array(_e);for(_=0;_<_e;_++)Ot[_]=0;for(_=A;_<=O;_++){const re=l[_];if(W>=_e){Ne(re,m,w,!0);continue}let ve;if(re.key!=null)ve=V.get(re.key);else for(K=H;K<=$;K++)if(Ot[K-H]===0&&Ge(re,u[K])){ve=K;break}ve===void 0?Ne(re,m,w,!0):(Ot[ve-H]=_+1,ve>=Ao?Ao=ve:mt=!0,N(re,u[ve],p,null,m,w,C,y,v),W++)}const Mo=mt?Sl(Ot):wt;for(K=Mo.length-1,_=_e-1;_>=0;_--){const re=H+_,ve=u[re],Po=re+1<T?u[re+1].el:g;Ot[_]===0?N(null,ve,p,Po,m,w,C,y,v):mt&&(K<0||_!==Mo[K]?Dt(ve,p,Po,2):K--)}}},Dt=(l,u,p,g,m=null)=>{const{el:w,type:C,transition:y,children:v,shapeFlag:_}=l;if(_&6){Dt(l.component.subTree,u,p,g);return}if(_&128){l.suspense.move(u,p,g);return}if(_&64){C.move(l,u,p,ht);return}if(C===de){o(w,u,p);for(let O=0;O<v.length;O++)Dt(v[O],u,p,g);o(l.anchor,u,p);return}if(C===Zt){q(l,u,p);return}if(g!==2&&_&1&&y)if(g===0)y.beforeEnter(w),o(w,u,p),fe(()=>y.enter(w),m);else{const{leave:O,delayLeave:$,afterLeave:A}=y,H=()=>o(w,u,p),V=()=>{O(w,()=>{H(),A&&A()})};$?$(w,H,V):V()}else o(w,u,p)},Ne=(l,u,p,g=!1,m=!1)=>{const{type:w,props:C,ref:y,children:v,dynamicChildren:_,shapeFlag:T,patchFlag:O,dirs:$}=l;if(y!=null&&Jn(y,null,p,l,!0),T&256){u.ctx.deactivate(l);return}const A=T&1&&$,H=!Kn(l);let V;if(H&&(V=C&&C.onVnodeBeforeUnmount)&&xe(V,u,l),T&6)Cs(l.component,p,g);else{if(T&128){l.suspense.unmount(p,g);return}A&&qe(l,null,u,"beforeUnmount"),T&64?l.type.remove(l,u,p,m,ht,g):_&&(w!==de||O>0&&O&64)?Ee(_,u,p,!1,!0):(w===de&&O&384||!m&&T&16)&&Ee(v,u,p),g&&vn(l)}(H&&(V=C&&C.onVnodeUnmounted)||A)&&fe(()=>{V&&xe(V,u,l),A&&qe(l,null,u,"unmounted")},p)},vn=l=>{const{type:u,el:p,anchor:g,transition:m}=l;if(u===de){l.patchFlag>0&&l.patchFlag&2048&&m&&!m.persisted?l.children.forEach(C=>{C.type===le?r(C.el):vn(C)}):xs(p,g);return}if(u===Zt){we(l);return}const w=()=>{r(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(l.shapeFlag&1&&m&&!m.persisted){const{leave:C,delayLeave:y}=m,v=()=>C(p,w);y?y(l.el,w,v):v()}else w()},xs=(l,u)=>{let p;for(;l!==u;)p=b(l),r(l),l=p;r(u)},Cs=(l,u,p)=>{l.type.__hmrId&&Fi(l);const{bum:g,scope:m,update:w,subTree:C,um:y}=l;g&&Tt(g),m.stop(),w&&(w.active=!1,Ne(C,l,u,p)),y&&fe(y,u),fe(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve()),Hi(l)},Ee=(l,u,p,g=!1,m=!1,w=0)=>{for(let C=w;C<l.length;C++)Ne(l[C],u,p,g,m)},Ut=l=>l.shapeFlag&6?Ut(l.component.subTree):l.shapeFlag&128?l.suspense.next():b(l.anchor||l.el),Io=(l,u,p)=>{l==null?u._vnode&&Ne(u._vnode,null,null,!0):N(u._vnode||null,l,u,null,null,null,p),Hr(),u._vnode=l},ht={p:N,um:Ne,m:Dt,r:vn,mt:oe,mc:G,pc:Ct,pbc:te,n:Ut,o:e};let xn,Cn;return t&&([xn,Cn]=t(ht)),{render:Io,hydrate:xn,createApp:Al(Io,xn)}}function ze({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Xt(e,t,n=!1){const o=e.children,r=t.children;if(I(o)&&I(r))for(let s=0;s<o.length;s++){const i=o[s];let c=r[s];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[s]=Le(r[s]),c.el=i.el),n||Xt(i,c)),c.type===le&&!c.el&&(c.el=i.el)}}function Sl(e){const t=e.slice(),n=[0];let o,r,s,i,c;const f=e.length;for(o=0;o<f;o++){const a=e[o];if(a!==0){if(r=n[n.length-1],e[r]<a){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)c=s+i>>1,e[n[c]]<a?s=c+1:i=c;a<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const jl=e=>e.__isTeleport,Yn="components";function Nl(e,t){return Ll(Yn,e,!0,t)||e}const Rl=Symbol();function Ll(e,t,n=!0,o=!1){const r=he||ee;if(r){const s=r.type;if(e===Yn){const c=Eo(s);if(c&&(c===t||c===Oe(t)||c===ct(Oe(t))))return s}const i=Qo(r[e]||s[e],t)||Qo(r.appContext[e],t);if(!i&&o)return s;if(n&&!i){const c=e===Yn?`
|
|
7
7
|
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";x(`Failed to resolve ${e.slice(0,-1)}: ${t}${c}`)}return i}else x(`resolve${ct(e.slice(0,-1))} can only be used in render() or setup().`)}function Qo(e,t){return e&&(e[t]||e[Oe(t)]||e[ct(Oe(t))])}const de=Symbol("Fragment"),_n=Symbol("Text"),le=Symbol("Comment"),Zt=Symbol("Static"),Ft=[];let it=null;function as(e=!1){Ft.push(it=e?null:[])}function Hl(){Ft.pop(),it=Ft[Ft.length-1]||null}let cn=1;function Go(e){cn+=e}function kl(e){return e.dynamicChildren=cn>0?it||wt:null,Hl(),cn>0&&it&&it.push(e),e}function ds(e,t,n,o,r,s){return kl(at(e,t,n,o,r,s,!0))}function Co(e){return e?e.__v_isVNode===!0:!1}function Ge(e,t){return t.shapeFlag&6&&bt.has(t.type)?!1:e.type===t.type&&e.key===t.key}const Dl=(...e)=>Ul(...e),yn="__vInternal",ps=({key:e})=>e!=null?e:null,Qt=({ref:e,ref_key:t,ref_for:n})=>e!=null?Q(e)||ne(e)||M(e)?{i:he,r:e,k:t,f:!!n}:e:null;function at(e,t=null,n=null,o=0,r=null,s=e===de?0:1,i=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ps(t),ref:t&&Qt(t),scopeId:Wr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return c?(Oo(f,n),s&128&&e.normalize(f)):n&&(f.shapeFlag|=Q(n)?8:16),f.key!==f.key&&x("VNode created with invalid key (NaN). VNode type:",f.type),cn>0&&!i&&it&&(f.patchFlag>0||s&6)&&f.patchFlag!==32&&it.push(f),f}const De=Dl;function Ul(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===Rl)&&(e||x(`Invalid vnode type when creating vnode: ${e}.`),e=le),Co(e)){const c=Se(e,t,!0);return n&&Oo(c,n),c}if(ys(e)&&(e=e.__vccOpts),t){t=Bl(t);let{class:c,style:f}=t;c&&!Q(c)&&(t.class=oo(c)),J(f)&&(Rn(f)&&!I(f)&&(f=Y({},f)),t.style=no(f))}const i=Q(e)?1:Yi(e)?128:jl(e)?64:J(e)?4:M(e)?2:0;return i&4&&Rn(e)&&(e=F(e),x("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
8
8
|
Component that was made reactive: `,e)),at(e,t,n,o,r,i,s,!0)}function Bl(e){return e?Rn(e)||yn in e?Y({},e):e:null}function Se(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,c=t?Kl(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ps(c),ref:t&&t.ref?n&&r?I(r)?r.concat(Qt(t)):[r,Qt(t)]:Qt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s===-1&&I(i)?i.map(hs):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Se(e.ssContent),ssFallback:e.ssFallback&&Se(e.ssFallback),el:e.el,anchor:e.anchor}}function hs(e){const t=Se(e);return I(e.children)&&(t.children=e.children.map(hs)),t}function Xn(e=" ",t=0){return De(_n,null,e,t)}function ye(e){return e==null||typeof e=="boolean"?De(le):I(e)?De(de,null,e.slice()):typeof e=="object"?Le(e):De(_n,null,String(e))}function Le(e){return e.el===null||e.memo?e:Se(e)}function Oo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(I(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Oo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(yn in t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else M(t)?(t={default:t,_ctx:he},n=32):(t=String(t),o&64?(n=16,t=[Xn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Kl(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=oo([t.class,o.class]));else if(r==="style")t.style=no([t.style,o.style]);else if(Nt(r)){const s=t[r],i=o[r];i&&s!==i&&!(I(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}function xe(e,t,n,o=null){be(e,t,7,[n,o])}const Zn=e=>e?gs(e)?To(e)||e.proxy:Zn(e.parent):null,vt=Y(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>_t(e.props),$attrs:e=>_t(e.attrs),$slots:e=>_t(e.slots),$refs:e=>_t(e.refs),$parent:e=>Zn(e.parent),$root:e=>Zn(e.root),$emit:e=>e.emit,$options:e=>ns(e),$forceUpdate:e=>()=>_o(e.update),$nextTick:e=>$i.bind(e.proxy),$watch:e=>Qi.bind(e)}),ms={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:c,appContext:f}=e;if(t==="__isVue")return!0;if(o!==D&&o.__isScriptSetup&&j(o,t))return o[t];let a;if(t[0]!=="$"){const E=i[t];if(E!==void 0)switch(E){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(o!==D&&j(o,t))return i[t]=1,o[t];if(r!==D&&j(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&j(a,t))return i[t]=3,s[t];if(n!==D&&j(n,t))return i[t]=4,n[t];Vn&&(i[t]=0)}}const h=vt[t];let d,b;if(h)return t==="$attrs"&&(me(e,"get",t),rn()),h(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==D&&j(n,t))return i[t]=4,n[t];if(b=f.config.globalProperties,j(b,t))return b[t];he&&(!Q(t)||t.indexOf("__v")!==0)&&(r!==D&&(t[0]==="$"||t[0]==="_")&&j(r,t)?x(`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===he&&x(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return r!==D&&j(r,t)?(r[t]=n,!0):o!==D&&j(o,t)?(o[t]=n,!0):j(e.props,t)?(x(`Attempting to mutate prop "${t}". Props are readonly.`,e),!1):t[0]==="$"&&t.slice(1)in e?(x(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`,e),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let c;return!!n[i]||e!==D&&j(e,i)||t!==D&&j(t,i)||(c=s[0])&&j(c,i)||j(o,i)||j(vt,i)||j(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:j(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};ms.ownKeys=e=>(x("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e));function Vl(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(vt).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>vt[n](e),set:ue})}),t}function Wl(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e.props[o],set:ue})})}function ql(e){const{ctx:t,setupState:n}=e;Object.keys(F(n)).forEach(o=>{if(!n.__isScriptSetup){if(o[0]==="$"||o[0]==="_"){x(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n[o],set:ue})}})}const zl=us();let Jl=0;function Yl(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||zl,s={uid:Jl++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ds(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:rs(o,r),emitsOptions:Vr(o,r),emit:null,emitted:null,propsDefaults:D,inheritAttrs:o.inheritAttrs,ctx:D,data:D,props:D,attrs:D,slots:D,refs:D,setupState:D,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx=Vl(s),s.root=t?t.root:s,s.emit=Bi.bind(null,s),e.ce&&e.ce(s),s}let ee=null;const Xl=()=>ee||he,xt=e=>{ee=e,e.scope.on()},lt=()=>{ee&&ee.scope.off(),ee=null},Zl=Ke("slot,component");function Qn(e,t){const n=t.isNativeTag||ar;(Zl(e)||n(e))&&x("Do not use built-in or reserved HTML elements as component id: "+e)}function gs(e){return e.vnode.shapeFlag&4}let jt=!1;function Ql(e,t=!1){jt=t;const{props:n,children:o}=e.vnode,r=gs(e);_l(e,n,r,t),El(e,o);const s=r?Gl(e,t):void 0;return jt=!1,s}function Gl(e,t){var n;const o=e.type;{if(o.name&&Qn(o.name,e.appContext.config),o.components){const s=Object.keys(o.components);for(let i=0;i<s.length;i++)Qn(s[i],e.appContext.config)}if(o.directives){const s=Object.keys(o.directives);for(let i=0;i<s.length;i++)fs(s[i])}o.compilerOptions&&bs()&&x('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=Pr(new Proxy(e.ctx,ms)),Wl(e);const{setup:r}=o;if(r){const s=e.setupContext=r.length>1?tc(e):null;xt(e),dt();const i=Pe(r,e,0,[_t(e.props),s]);if(pt(),lt(),io(i)){if(i.then(lt,lt),t)return i.then(c=>{er(e,c,t)}).catch(c=>{mn(c,e,0)});if(e.asyncDep=i,!e.suspense){const c=(n=o.name)!==null&&n!==void 0?n:"Anonymous";x(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else er(e,i,t)}else _s(e,t)}function er(e,t,n){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:J(t)?(Co(t)&&x("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=Fr(t),ql(e)):t!==void 0&&x(`setup() should return an object. Received: ${t===null?"null":typeof t}`),_s(e,n)}let Gn;const bs=()=>!Gn;function _s(e,t,n){const o=e.type;if(!e.render){if(!t&&Gn&&!o.render){const r=o.template;if(r){Ie(e,"compile");const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:f}=o,a=Y(Y({isCustomElement:s,delimiters:c},i),f);o.render=Gn(r,a),Ae(e,"compile")}}e.render=o.render||ue}xt(e),dt(),pl(e),pt(),lt(),!o.render&&e.render===ue&&!t&&(o.template?x('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):x("Component is missing template or render function."))}function ec(e){return new Proxy(e.attrs,{get(t,n){return rn(),me(e,"get","$attrs"),t[n]},set(){return x("setupContext.attrs is readonly."),!1},deleteProperty(){return x("setupContext.attrs is readonly."),!1}})}function tc(e){const t=o=>{e.exposed&&x("expose() should be called only once per setup()."),e.exposed=o||{}};let n;return Object.freeze({get attrs(){return n||(n=ec(e))},get slots(){return _t(e.slots)},get emit(){return(o,...r)=>e.emit(o,...r)},expose:t})}function To(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Fr(Pr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vt)return vt[n](e)}}))}const nc=/(?:^|[-_])(\w)/g,oc=e=>e.replace(nc,t=>t.toUpperCase()).replace(/[-_]/g,"");function Eo(e){return M(e)&&e.displayName||e.name}function wn(e,t,n=!1){let o=Eo(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=s=>{for(const i in s)if(s[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?oc(o):n?"App":"Anonymous"}function ys(e){return M(e)&&"__vccOpts"in e}const rc=(e,t)=>wi(e,t,jt);function An(e){return!!(e&&e.__v_isShallow)}function sc(){if(typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},r={header(d){return J(d)?d.__isVue?["div",e,"VueInstance"]:ne(d)?["div",{},["span",e,h(d)],"<",c(d.value),">"]:ot(d)?["div",{},["span",e,An(d)?"ShallowReactive":"Reactive"],"<",c(d),`>${ft(d)?" (readonly)":""}`]:ft(d)?["div",{},["span",e,An(d)?"ShallowReadonly":"Readonly"],"<",c(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...s(d.$)]}};function s(d){const b=[];d.type.props&&d.props&&b.push(i("props",F(d.props))),d.setupState!==D&&b.push(i("setup",d.setupState)),d.data!==D&&b.push(i("data",F(d.data)));const E=f(d,"computed");E&&b.push(i("computed",E));const S=f(d,"inject");return S&&b.push(i("injected",S)),b.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),b}function i(d,b){return b=Y({},b),Object.keys(b).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(b).map(E=>["div",{},["span",o,E+": "],c(b[E],!1)])]]:["span",{}]}function c(d,b=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",o,d]:J(d)?["object",{object:b?F(d):d}]:["span",n,String(d)]}function f(d,b){const E=d.type;if(M(E))return;const S={};for(const P in d.ctx)a(E,P,b)&&(S[P]=d.ctx[P]);return S}function a(d,b,E){const S=d[E];if(I(S)&&S.includes(b)||J(S)&&b in S||d.extends&&a(d.extends,b,E)||d.mixins&&d.mixins.some(P=>a(P,b,E)))return!0}function h(d){return An(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const tr="3.2.33",ic="http://www.w3.org/2000/svg",et=typeof document!="undefined"?document:null,nr=et&&et.createElement("template"),lc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?et.createElementNS(ic,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{nr.innerHTML=o?`<svg>${e}</svg>`:e;const c=nr.content;if(o){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function cc(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function fc(e,t,n){const o=e.style,r=Q(n);if(n&&!r){for(const s in n)eo(o,s,n[s]);if(t&&!Q(t))for(const s in t)n[s]==null&&eo(o,s,"")}else{const s=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=s)}}const or=/\s*!important$/;function eo(e,t,n){if(I(n))n.forEach(o=>eo(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=uc(e,t);or.test(n)?e.setProperty(Ue(o),n.replace(or,""),"important"):e[o]=n}}const rr=["Webkit","Moz","ms"],Mn={};function uc(e,t){const n=Mn[t];if(n)return n;let o=Oe(t);if(o!=="filter"&&o in e)return Mn[t]=o;o=ct(o);for(let r=0;r<rr.length;r++){const s=rr[r]+o;if(s in e)return Mn[t]=s}return t}const sr="http://www.w3.org/1999/xlink";function ac(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(sr,t.slice(6,t.length)):e.setAttributeNS(sr,t,n);else{const s=Es(t);n==null||s&&!fr(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function dc(e,t,n,o,r,s,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,r,s),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const f=n==null?"":n;(e.value!==f||e.tagName==="OPTION")&&(e.value=f),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=fr(n):n==null&&f==="string"?(n="",c=!0):f==="number"&&(n=0,c=!0)}try{e[t]=n}catch(f){x(`Failed setting prop "${t}" on <${e.tagName.toLowerCase()}>: value ${n} is invalid.`,f)}c&&e.removeAttribute(t)}const[ws,pc]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let to=0;const hc=Promise.resolve(),mc=()=>{to=0},gc=()=>to||(hc.then(mc),to=ws());function bc(e,t,n,o){e.addEventListener(t,n,o)}function _c(e,t,n,o){e.removeEventListener(t,n,o)}function yc(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[c,f]=wc(t);if(o){const a=s[t]=vc(o,r);bc(e,c,a,f)}else i&&(_c(e,c,i,f),s[t]=void 0)}}const ir=/(?:Once|Passive|Capture)$/;function wc(e){let t;if(ir.test(e)){t={};let n;for(;n=e.match(ir);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Ue(e.slice(2)),t]}function vc(e,t){const n=o=>{const r=o.timeStamp||ws();(pc||r>=n.attached-1)&&be(xc(o,n.value),t,5,[o])};return n.value=e,n.attached=gc(),n}function xc(e,t){if(I(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const lr=/^on[a-z]/,Cc=(e,t,n,o,r=!1,s,i,c,f)=>{t==="class"?cc(e,o,r):t==="style"?fc(e,n,o):Nt(t)?Gt(t)||yc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Oc(e,t,o,r))?dc(e,t,o,s,i,c,f):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),ac(e,t,o,r))};function Oc(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&lr.test(t)&&M(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||lr.test(t)&&Q(n)?!1:t in e}const Tc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};tl.props;const Ec=Y({patchProp:Cc},lc);let cr;function $c(){return cr||(cr=Pl(Ec))}const Ic=(...e)=>{const t=$c().createApp(...e);Ac(t),Mc(t);const{mount:n}=t;return t.mount=o=>{const r=Pc(o);if(!r)return;const s=t._component;!M(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Ac(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Fs(t)||Ss(t),writable:!1})}function Mc(e){if(bs()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){x("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,o='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom';Object.defineProperty(e.config,"compilerOptions",{get(){return x(o),n},set(){x(o)}})}}function Pc(e){if(Q(e)){const t=document.querySelector(e);return t||x(`Failed to mount app: mount target selector "${e}" returned null.`),t}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&x('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}function Fc(){sc()}Fc();var vs=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const Sc={name:"HelloWorld",props:{msg:String},data(){return{count:0}}},jc=at("p",null,[Xn("Edit "),at("code",null,"components/HelloWorld.vue"),Xn(" to test hot module replacement.")],-1);function Nc(e,t,n,o,r,s){return as(),ds(de,null,[at("h1",null,Fo(n.msg),1),at("button",{onClick:t[0]||(t[0]=i=>r.count++)},"count is: "+Fo(r.count),1),jc],64)}var Rc=vs(Sc,[["render",Nc]]),Lc="./static/png/logo-03d6d6da.png";const Hc={name:"App",components:{HelloWorld:Rc}},kc=at("img",{alt:"Vue logo",src:Lc},null,-1);function Dc(e,t,n,o,r,s){const i=Nl("HelloWorld");return as(),ds(de,null,[kc,De(i,{msg:"Hello Vue 3.0 + Vite"})],64)}var Uc=vs(Hc,[["render",Dc]]);Ic(Uc).mount("#app");
|
|
9
|
-
//# sourceMappingURL=index-
|
|
9
|
+
//# sourceMappingURL=index-3f5b0fd2.js.map
|