@plugjs/cov8-html 0.0.1
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/LICENSE.md +211 -0
- package/NOTICE.md +13 -0
- package/README.md +8 -0
- package/dist/index.html +40 -0
- package/index.cjs +10 -0
- package/index.d.ts +2 -0
- package/index.html +14 -0
- package/index.mjs +10 -0
- package/package.json +54 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# Apache License
|
|
2
|
+
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
|
|
5
|
+
[http://www.apache.org/licenses/](http://www.apache.org/licenses/)
|
|
6
|
+
|
|
7
|
+
##### TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
### 1. Definitions.
|
|
10
|
+
|
|
11
|
+
"**License**" shall mean the terms and conditions for use, reproduction,
|
|
12
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
"**Licensor**" shall mean the copyright owner or entity authorized by
|
|
15
|
+
the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"**Legal Entity**" shall mean the union of the acting entity and all
|
|
18
|
+
other entities that control, are controlled by, or are under common
|
|
19
|
+
control with that entity. For the purposes of this definition,
|
|
20
|
+
"**control**" means **(i)** the power, direct or indirect, to cause the
|
|
21
|
+
direction or management of such entity, whether by contract or
|
|
22
|
+
otherwise, _or_ **(ii)** ownership of fifty percent (50%) or more of
|
|
23
|
+
the outstanding shares, _or_ **(iii)** beneficial ownership of such
|
|
24
|
+
entity.
|
|
25
|
+
|
|
26
|
+
"**You**" (or "**Your**") shall mean an individual or Legal Entity
|
|
27
|
+
exercising permissions granted by this License.
|
|
28
|
+
|
|
29
|
+
"**Source**" form shall mean the preferred form for making
|
|
30
|
+
modifications, including but not limited to software source code,
|
|
31
|
+
documentation source, and configuration files.
|
|
32
|
+
|
|
33
|
+
"**Object**" form shall mean any form resulting from mechanical
|
|
34
|
+
transformation or translation of a Source form, including but not
|
|
35
|
+
limited to compiled object code, generated documentation, and
|
|
36
|
+
conversions to other media types.
|
|
37
|
+
|
|
38
|
+
"**Work**" shall mean the work of authorship, whether in Source or
|
|
39
|
+
Object form, made available under the License, as indicated by a
|
|
40
|
+
copyright notice that is included in or attached to the work (an example
|
|
41
|
+
is provided in the Appendix below).
|
|
42
|
+
|
|
43
|
+
"**Derivative Works**" shall mean any work, whether in Source or Object
|
|
44
|
+
form, that is based on (or derived from) the Work and for which the
|
|
45
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
46
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
47
|
+
of this License, Derivative Works shall not include works that remain
|
|
48
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
49
|
+
the Work and Derivative Works thereof.
|
|
50
|
+
|
|
51
|
+
"**Contribution**" shall mean any work of authorship, including the
|
|
52
|
+
original version of the Work and any modifications or additions to that
|
|
53
|
+
Work or Derivative Works thereof, that is intentionally submitted to
|
|
54
|
+
Licensor for inclusion in the Work by the copyright owner or by an
|
|
55
|
+
individual or Legal Entity authorized to submit on behalf of the
|
|
56
|
+
copyright owner. For the purposes of this definition, "**submitted**"
|
|
57
|
+
means any form of electronic, verbal, or written communication sent to
|
|
58
|
+
the Licensor or its representatives, including but not limited to
|
|
59
|
+
communication on electronic mailing lists, source code control systems,
|
|
60
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
61
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
62
|
+
excluding communication that is conspicuously marked or otherwise
|
|
63
|
+
designated in writing by the copyright owner as "**Not a
|
|
64
|
+
Contribution**".
|
|
65
|
+
|
|
66
|
+
"**Contributor**" shall mean Licensor and any individual or Legal Entity
|
|
67
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
68
|
+
subsequently incorporated within the Work.
|
|
69
|
+
|
|
70
|
+
### 2. Grant of Copyright License.
|
|
71
|
+
|
|
72
|
+
Subject to the terms and conditions of this License, each Contributor
|
|
73
|
+
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
|
|
74
|
+
royalty-free, irrevocable copyright license to reproduce, prepare
|
|
75
|
+
Derivative Works of, publicly display, publicly perform, sublicense,
|
|
76
|
+
and distribute the Work and such Derivative Works in Source or Object
|
|
77
|
+
form.
|
|
78
|
+
|
|
79
|
+
### 3. Grant of Patent License.
|
|
80
|
+
|
|
81
|
+
Subject to the terms and conditions of this License, each Contributor
|
|
82
|
+
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
|
|
83
|
+
royalty-free, irrevocable (except as stated in this section) patent
|
|
84
|
+
license to make, have made, use, offer to sell, sell, import, and
|
|
85
|
+
otherwise transfer the Work, where such license applies only to those
|
|
86
|
+
patent claims licensable by such Contributor that are necessarily
|
|
87
|
+
infringed by their Contribution(s) alone or by combination of their
|
|
88
|
+
Contribution(s) with the Work to which such Contribution(s) was
|
|
89
|
+
submitted. If You institute patent litigation against any entity
|
|
90
|
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
91
|
+
the Work or a Contribution incorporated within the Work constitutes
|
|
92
|
+
direct or contributory patent infringement, then any patent licenses
|
|
93
|
+
granted to You under this License for that Work shall terminate as of
|
|
94
|
+
the date such litigation is filed.
|
|
95
|
+
|
|
96
|
+
### 4. Redistribution.
|
|
97
|
+
|
|
98
|
+
You may reproduce and distribute copies of the Work or Derivative Works
|
|
99
|
+
thereof in any medium, with or without modifications, and in Source or
|
|
100
|
+
Object form, provided that You meet the following conditions:
|
|
101
|
+
|
|
102
|
+
<ol type="a">
|
|
103
|
+
<li>You must give any other recipients of the Work or Derivative Works
|
|
104
|
+
a copy of this License; and
|
|
105
|
+
<li>You must cause any modified files to carry prominent notices
|
|
106
|
+
stating that You changed the files; and
|
|
107
|
+
<li>You must retain, in the Source form of any Derivative Works that
|
|
108
|
+
You distribute, all copyright, patent, trademark, and attribution
|
|
109
|
+
notices from the Source form of the Work, excluding those notices
|
|
110
|
+
that do not pertain to any part of the Derivative Works; and
|
|
111
|
+
<li>If the Work includes a "NOTICE" text file as part of its
|
|
112
|
+
distribution, then any Derivative Works that You distribute must
|
|
113
|
+
include a readable copy of the attribution notices contained within
|
|
114
|
+
such NOTICE file, excluding those notices that do not pertain to any
|
|
115
|
+
part of the Derivative Works, in at least one of the following
|
|
116
|
+
places: within a NOTICE text file distributed as part of the
|
|
117
|
+
Derivative Works; within the Source form or documentation, if
|
|
118
|
+
provided along with the Derivative Works; or, within a display
|
|
119
|
+
generated by the Derivative Works, if and wherever such third-party
|
|
120
|
+
notices normally appear. The contents of the NOTICE file are for
|
|
121
|
+
informational purposes only and do not modify the License. You may
|
|
122
|
+
add Your own attribution notices within Derivative Works that You
|
|
123
|
+
distribute, alongside or as an addendum to the NOTICE text from the
|
|
124
|
+
Work, provided that such additional attribution notices cannot be
|
|
125
|
+
construed as modifying the License.
|
|
126
|
+
</ol>
|
|
127
|
+
|
|
128
|
+
You may add Your own copyright statement to Your modifications and may
|
|
129
|
+
provide additional or different license terms and conditions for use,
|
|
130
|
+
reproduction, or distribution of Your modifications, or for any such
|
|
131
|
+
Derivative Works as a whole, provided Your use, reproduction, and
|
|
132
|
+
distribution of the Work otherwise complies with the conditions stated
|
|
133
|
+
in this License.
|
|
134
|
+
|
|
135
|
+
### 5. Submission of Contributions.
|
|
136
|
+
|
|
137
|
+
Unless You explicitly state otherwise, any Contribution intentionally
|
|
138
|
+
submitted for inclusion in the Work by You to the Licensor shall be
|
|
139
|
+
under the terms and conditions of this License, without any additional
|
|
140
|
+
terms or conditions. Notwithstanding the above, nothing herein shall
|
|
141
|
+
supersede or modify the terms of any separate license agreement you may
|
|
142
|
+
have executed with Licensor regarding such Contributions.
|
|
143
|
+
|
|
144
|
+
### 6. Trademarks.
|
|
145
|
+
|
|
146
|
+
This License does not grant permission to use the trade names,
|
|
147
|
+
trademarks, service marks, or product names of the Licensor, except as
|
|
148
|
+
required for reasonable and customary use in describing the origin of
|
|
149
|
+
the Work and reproducing the content of the NOTICE file.
|
|
150
|
+
|
|
151
|
+
### 7. Disclaimer of Warranty.
|
|
152
|
+
|
|
153
|
+
Unless required by applicable law or agreed to in writing, Licensor
|
|
154
|
+
provides the Work (and each Contributor provides its Contributions) on
|
|
155
|
+
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
156
|
+
express or implied, including, without limitation, any warranties or
|
|
157
|
+
conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR
|
|
158
|
+
A PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
159
|
+
appropriateness of using or redistributing the Work and assume any risks
|
|
160
|
+
associated with Your exercise of permissions under this License.
|
|
161
|
+
|
|
162
|
+
### 8. Limitation of Liability.
|
|
163
|
+
|
|
164
|
+
In no event and under no legal theory, whether in tort (including
|
|
165
|
+
negligence), contract, or otherwise, unless required by applicable law
|
|
166
|
+
(such as deliberate and grossly negligent acts) or agreed to in writing,
|
|
167
|
+
shall any Contributor be liable to You for damages, including any
|
|
168
|
+
direct, indirect, special, incidental, or consequential damages of any
|
|
169
|
+
character arising as a result of this License or out of the use or
|
|
170
|
+
inability to use the Work (including but not limited to damages for loss
|
|
171
|
+
of goodwill, work stoppage, computer failure or malfunction, or any and
|
|
172
|
+
all other commercial damages or losses), even if such Contributor has
|
|
173
|
+
been advised of the possibility of such damages.
|
|
174
|
+
|
|
175
|
+
### 9. Accepting Warranty or Additional Liability.
|
|
176
|
+
|
|
177
|
+
While redistributing the Work or Derivative Works thereof, You may
|
|
178
|
+
choose to offer, and charge a fee for, acceptance of support, warranty,
|
|
179
|
+
indemnity, or other liability obligations and/or rights consistent with
|
|
180
|
+
this License. However, in accepting such obligations, You may act only
|
|
181
|
+
on Your own behalf and on Your sole responsibility, not on behalf of any
|
|
182
|
+
other Contributor, and only if You agree to indemnify, defend, and hold
|
|
183
|
+
each Contributor harmless for any liability incurred by, or claims
|
|
184
|
+
asserted against, such Contributor by reason of your accepting any
|
|
185
|
+
such warranty or additional liability.
|
|
186
|
+
|
|
187
|
+
##### END OF TERMS AND CONDITIONS
|
|
188
|
+
|
|
189
|
+
## APPENDIX: How to apply the Apache License to your work.
|
|
190
|
+
|
|
191
|
+
To apply the Apache License to your work, attach the following
|
|
192
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
193
|
+
replaced with your own identifying information. (Don't include the
|
|
194
|
+
brackets!) The text should be enclosed in the appropriate comment
|
|
195
|
+
syntax for the file format. We also recommend that a file or class name
|
|
196
|
+
and description of purpose be included on the same "printed page" as the
|
|
197
|
+
copyright notice for easier identification within third-party archives.
|
|
198
|
+
|
|
199
|
+
> #### Copyright [yyyy] [name of copyright owner]
|
|
200
|
+
>
|
|
201
|
+
> Licensed under the Apache License, Version 2.0 (the "License");
|
|
202
|
+
> you may not use this file except in compliance with the License.
|
|
203
|
+
> You may obtain a copy of the License at
|
|
204
|
+
>
|
|
205
|
+
> [http://www.apache.org/licenses/](http://www.apache.org/licenses/)
|
|
206
|
+
>
|
|
207
|
+
> Unless required by applicable law or agreed to in writing, software
|
|
208
|
+
> distributed under the License is distributed on an "AS IS" BASIS,
|
|
209
|
+
> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
210
|
+
> See the License for the specific language governing permissions and
|
|
211
|
+
> limitations under the License.
|
package/NOTICE.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2022 Juit GmbH
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
[http://www.apache.org/licenses/](http://www.apache.org/licenses/)
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
package/dist/index.html
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Coverage Report</title>
|
|
5
|
+
<script>
|
|
6
|
+
window.Prism = window.Prism || {};
|
|
7
|
+
window.Prism.manual = true;
|
|
8
|
+
</script>
|
|
9
|
+
<script type="module" crossorigin>
|
|
10
|
+
const ti=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerpolicy&&(i.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?i.credentials="include":s.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}};ti();function Dn(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const ni="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ri=Dn(ni);function Vr(e){return!!e||e===""}function Un(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ie(r)?oi(r):Un(r);if(s)for(const i in s)t[i]=s[i]}return t}else{if(ie(e))return e;if(ee(e))return e}}const si=/;(?![^(]*\))/g,ii=/:(.+)/;function oi(e){const t={};return e.split(si).forEach(n=>{if(n){const r=n.split(ii);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Se(e){let t="";if(ie(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const r=Se(e[n]);r&&(t+=r+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function li(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=on(e[r],t[r]);return n}function on(e,t){if(e===t)return!0;let n=dr(e),r=dr(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ot(e),r=Ot(t),n||r)return e===t;if(n=N(e),r=N(t),n||r)return n&&r?li(e,t):!1;if(n=ee(e),r=ee(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),u=t.hasOwnProperty(o);if(l&&!u||!l&&u||!on(e[o],t[o]))return!1}}return String(e)===String(t)}function qr(e,t){return e.findIndex(n=>on(n,t))}const ze=e=>ie(e)?e:e==null?"":N(e)||ee(e)&&(e.toString===Yr||!H(e.toString))?JSON.stringify(e,Zr,2):String(e),Zr=(e,t)=>t&&t.__v_isRef?Zr(e,t.value):ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:un(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!N(t)&&!Xr(t)?String(t):t,J={},dt=[],Ae=()=>{},ui=()=>!1,ci=/^on[^a-z]/,ln=e=>ci.test(e),Kn=e=>e.startsWith("onUpdate:"),de=Object.assign,Wn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ai=Object.prototype.hasOwnProperty,j=(e,t)=>ai.call(e,t),N=Array.isArray,ht=e=>Rt(e)==="[object Map]",un=e=>Rt(e)==="[object Set]",dr=e=>Rt(e)==="[object Date]",H=e=>typeof e=="function",ie=e=>typeof e=="string",Ot=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Jr=e=>ee(e)&&H(e.then)&&H(e.catch),Yr=Object.prototype.toString,Rt=e=>Yr.call(e),fi=e=>Rt(e).slice(8,-1),Xr=e=>Rt(e)==="[object Object]",Vn=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qt=Dn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},di=/-(\w)/g,Re=cn(e=>e.replace(di,(t,n)=>n?n.toUpperCase():"")),hi=/\B([A-Z])/g,_t=cn(e=>e.replace(hi,"-$1").toLowerCase()),an=cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vn=cn(e=>e?`on${an(e)}`:""),Qt=(e,t)=>!Object.is(e,t),Zt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Gt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let hr;const gi=()=>hr||(hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ke;class mi{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ke&&(this.parent=ke,this.index=(ke.scopes||(ke.scopes=[])).push(this)-1)}run(t){if(this.active){const n=ke;try{return ke=this,t()}finally{ke=n}}}on(){ke=this}off(){ke=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function _i(e,t=ke){t&&t.active&&t.effects.push(e)}const qn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Qr=e=>(e.w&Xe)>0,Gr=e=>(e.n&Xe)>0,bi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},vi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Qr(s)&&!Gr(s)?s.delete(e):t[n++]=s,s.w&=~Xe,s.n&=~Xe}t.length=n}},En=new WeakMap;let Et=0,Xe=1;const $n=30;let Ce;const ot=Symbol(""),Pn=Symbol("");class Zn{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,_i(this,r)}run(){if(!this.active)return this.fn();let t=Ce,n=Je;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ce,Ce=this,Je=!0,Xe=1<<++Et,Et<=$n?bi(this):pr(this),this.fn()}finally{Et<=$n&&vi(this),Xe=1<<--Et,Ce=this.parent,Je=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ce===this?this.deferStop=!0:this.active&&(pr(this),this.onStop&&this.onStop(),this.active=!1)}}function pr(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Je=!0;const es=[];function bt(){es.push(Je),Je=!1}function vt(){const e=es.pop();Je=e===void 0?!0:e}function ve(e,t,n){if(Je&&Ce){let r=En.get(e);r||En.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=qn()),ts(s)}}function ts(e,t){let n=!1;Et<=$n?Gr(e)||(e.n|=Xe,n=!Qr(e)):n=!e.has(Ce),n&&(e.add(Ce),Ce.deps.push(e))}function Be(e,t,n,r,s,i){const o=En.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&N(e))o.forEach((u,f)=>{(f==="length"||f>=r)&&l.push(u)});else switch(n!==void 0&&l.push(o.get(n)),t){case"add":N(e)?Vn(n)&&l.push(o.get("length")):(l.push(o.get(ot)),ht(e)&&l.push(o.get(Pn)));break;case"delete":N(e)||(l.push(o.get(ot)),ht(e)&&l.push(o.get(Pn)));break;case"set":ht(e)&&l.push(o.get(ot));break}if(l.length===1)l[0]&&Tn(l[0]);else{const u=[];for(const f of l)f&&u.push(...f);Tn(qn(u))}}function Tn(e,t){const n=N(e)?e:[...e];for(const r of n)r.computed&&gr(r);for(const r of n)r.computed||gr(r)}function gr(e,t){(e!==Ce||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const yi=Dn("__proto__,__v_isRef,__isVue"),ns=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ot)),wi=Jn(),xi=Jn(!1,!0),Ci=Jn(!0),mr=Fi();function Fi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=V(this);for(let i=0,o=this.length;i<o;i++)ve(r,"get",i+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(V)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){bt();const r=V(this)[t].apply(this,n);return vt(),r}}),e}function Jn(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?ji:ls:t?os:is).get(r))return r;const o=N(r);if(!e&&o&&j(mr,s))return Reflect.get(mr,s,i);const l=Reflect.get(r,s,i);return(Ot(s)?ns.has(s):yi(s))||(e||ve(r,"get",s),t)?l:ae(l)?o&&Vn(s)?l:l.value:ee(l)?e?us(l):Qn(l):l}}const Ai=rs(),Ei=rs(!0);function rs(e=!1){return function(n,r,s,i){let o=n[r];if(kt(o)&&ae(o)&&!ae(s))return!1;if(!e&&!kt(s)&&(In(s)||(s=V(s),o=V(o)),!N(n)&&ae(o)&&!ae(s)))return o.value=s,!0;const l=N(n)&&Vn(r)?Number(r)<n.length:j(n,r),u=Reflect.set(n,r,s,i);return n===V(i)&&(l?Qt(s,o)&&Be(n,"set",r,s):Be(n,"add",r,s)),u}}function $i(e,t){const n=j(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Be(e,"delete",t,void 0),r}function Pi(e,t){const n=Reflect.has(e,t);return(!Ot(t)||!ns.has(t))&&ve(e,"has",t),n}function Ti(e){return ve(e,"iterate",N(e)?"length":ot),Reflect.ownKeys(e)}const ss={get:wi,set:Ai,deleteProperty:$i,has:Pi,ownKeys:Ti},Ii={get:Ci,set(e,t){return!0},deleteProperty(e,t){return!0}},Mi=de({},ss,{get:xi,set:Ei}),Yn=e=>e,fn=e=>Reflect.getPrototypeOf(e);function zt(e,t,n=!1,r=!1){e=e.__v_raw;const s=V(e),i=V(t);n||(t!==i&&ve(s,"get",t),ve(s,"get",i));const{has:o}=fn(s),l=r?Yn:n?tr:er;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function jt(e,t=!1){const n=this.__v_raw,r=V(n),s=V(e);return t||(e!==s&&ve(r,"has",e),ve(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Bt(e,t=!1){return e=e.__v_raw,!t&&ve(V(e),"iterate",ot),Reflect.get(e,"size",e)}function _r(e){e=V(e);const t=V(this);return fn(t).has.call(t,e)||(t.add(e),Be(t,"add",e,e)),this}function br(e,t){t=V(t);const n=V(this),{has:r,get:s}=fn(n);let i=r.call(n,e);i||(e=V(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?Qt(t,o)&&Be(n,"set",e,t):Be(n,"add",e,t),this}function vr(e){const t=V(this),{has:n,get:r}=fn(t);let s=n.call(t,e);s||(e=V(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Be(t,"delete",e,void 0),i}function yr(){const e=V(this),t=e.size!==0,n=e.clear();return t&&Be(e,"clear",void 0,void 0),n}function Dt(e,t){return function(r,s){const i=this,o=i.__v_raw,l=V(o),u=t?Yn:e?tr:er;return!e&&ve(l,"iterate",ot),o.forEach((f,d)=>r.call(s,u(f),u(d),i))}}function Ut(e,t,n){return function(...r){const s=this.__v_raw,i=V(s),o=ht(i),l=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,f=s[e](...r),d=n?Yn:t?tr:er;return!t&&ve(i,"iterate",u?Pn:ot),{next(){const{value:g,done:v}=f.next();return v?{value:g,done:v}:{value:l?[d(g[0]),d(g[1])]:d(g),done:v}},[Symbol.iterator](){return this}}}}function We(e){return function(...t){return e==="delete"?!1:this}}function Oi(){const e={get(i){return zt(this,i)},get size(){return Bt(this)},has:jt,add:_r,set:br,delete:vr,clear:yr,forEach:Dt(!1,!1)},t={get(i){return zt(this,i,!1,!0)},get size(){return Bt(this)},has:jt,add:_r,set:br,delete:vr,clear:yr,forEach:Dt(!1,!0)},n={get(i){return zt(this,i,!0)},get size(){return Bt(this,!0)},has(i){return jt.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:Dt(!0,!1)},r={get(i){return zt(this,i,!0,!0)},get size(){return Bt(this,!0)},has(i){return jt.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:Dt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ut(i,!1,!1),n[i]=Ut(i,!0,!1),t[i]=Ut(i,!1,!0),r[i]=Ut(i,!0,!0)}),[e,n,t,r]}const[ki,Li,Ni,Si]=Oi();function Xn(e,t){const n=t?e?Si:Ni:e?Li:ki;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(j(n,s)&&s in r?n:r,s,i)}const Ri={get:Xn(!1,!1)},Hi={get:Xn(!1,!0)},zi={get:Xn(!0,!1)},is=new WeakMap,os=new WeakMap,ls=new WeakMap,ji=new WeakMap;function Bi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Di(e){return e.__v_skip||!Object.isExtensible(e)?0:Bi(fi(e))}function Qn(e){return kt(e)?e:Gn(e,!1,ss,Ri,is)}function Ui(e){return Gn(e,!1,Mi,Hi,os)}function us(e){return Gn(e,!0,Ii,zi,ls)}function Gn(e,t,n,r,s){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Di(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function pt(e){return kt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function kt(e){return!!(e&&e.__v_isReadonly)}function In(e){return!!(e&&e.__v_isShallow)}function cs(e){return pt(e)||kt(e)}function V(e){const t=e&&e.__v_raw;return t?V(t):e}function as(e){return Gt(e,"__v_skip",!0),e}const er=e=>ee(e)?Qn(e):e,tr=e=>ee(e)?us(e):e;function Ki(e){Je&&Ce&&(e=V(e),ts(e.dep||(e.dep=qn())))}function Wi(e,t){e=V(e),e.dep&&Tn(e.dep)}function ae(e){return!!(e&&e.__v_isRef===!0)}function Vi(e){return ae(e)?e.value:e}const qi={get:(e,t,n)=>Vi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function fs(e){return pt(e)?e:new Proxy(e,qi)}class Zi{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Zn(t,()=>{this._dirty||(this._dirty=!0,Wi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=V(this);return Ki(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ji(e,t,n=!1){let r,s;const i=H(e);return i?(r=e,s=Ae):(r=e.get,s=e.set),new Zi(r,s,i||!s,n)}function Ye(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){dn(i,t,n)}return s}function Ee(e,t,n,r){if(H(e)){const i=Ye(e,t,n,r);return i&&Jr(i)&&i.catch(o=>{dn(o,t,n)}),i}const s=[];for(let i=0;i<e.length;i++)s.push(Ee(e[i],t,n,r));return s}function dn(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,l)===!1)return}i=i.parent}const u=t.appContext.config.errorHandler;if(u){Ye(u,null,10,[e,o,l]);return}}Yi(e,n,s,r)}function Yi(e,t,n,r=!0){console.error(e)}let en=!1,Mn=!1;const be=[];let je=0;const Pt=[];let $t=null,at=0;const Tt=[];let Ve=null,ft=0;const ds=Promise.resolve();let nr=null,On=null;function Xi(e){const t=nr||ds;return e?t.then(this?e.bind(this):e):t}function Qi(e){let t=je+1,n=be.length;for(;t<n;){const r=t+n>>>1;Lt(be[r])<e?t=r+1:n=r}return t}function hs(e){(!be.length||!be.includes(e,en&&e.allowRecurse?je+1:je))&&e!==On&&(e.id==null?be.push(e):be.splice(Qi(e.id),0,e),ps())}function ps(){!en&&!Mn&&(Mn=!0,nr=ds.then(_s))}function Gi(e){const t=be.indexOf(e);t>je&&be.splice(t,1)}function gs(e,t,n,r){N(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),ps()}function eo(e){gs(e,$t,Pt,at)}function to(e){gs(e,Ve,Tt,ft)}function hn(e,t=null){if(Pt.length){for(On=t,$t=[...new Set(Pt)],Pt.length=0,at=0;at<$t.length;at++)$t[at]();$t=null,at=0,On=null,hn(e,t)}}function ms(e){if(hn(),Tt.length){const t=[...new Set(Tt)];if(Tt.length=0,Ve){Ve.push(...t);return}for(Ve=t,Ve.sort((n,r)=>Lt(n)-Lt(r)),ft=0;ft<Ve.length;ft++)Ve[ft]();Ve=null,ft=0}}const Lt=e=>e.id==null?1/0:e.id;function _s(e){Mn=!1,en=!0,hn(e),be.sort((n,r)=>Lt(n)-Lt(r));const t=Ae;try{for(je=0;je<be.length;je++){const n=be[je];n&&n.active!==!1&&Ye(n,null,14)}}finally{je=0,be.length=0,ms(),en=!1,nr=null,(be.length||Pt.length||Tt.length)&&_s(e)}}function no(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||J;let s=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in r){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:g,trim:v}=r[d]||J;v&&(s=n.map(P=>P.trim())),g&&(s=n.map(pi))}let l,u=r[l=vn(t)]||r[l=vn(Re(t))];!u&&i&&(u=r[l=vn(_t(t))]),u&&Ee(u,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ee(f,e,6,s)}}function bs(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!H(e)){const u=f=>{const d=bs(f,t,!0);d&&(l=!0,de(o,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!l?(r.set(e,null),null):(N(i)?i.forEach(u=>o[u]=null):de(o,i),r.set(e,o),o)}function pn(e,t){return!e||!ln(t)?!1:(t=t.slice(2).replace(/Once$/,""),j(e,t[0].toLowerCase()+t.slice(1))||j(e,_t(t))||j(e,t))}let fe=null,gn=null;function tn(e){const t=fe;return fe=e,gn=e&&e.type.__scopeId||null,t}function vs(e){gn=e}function ys(){gn=null}function rr(e,t=fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Mr(-1);const i=tn(t),o=e(...s);return tn(i),r._d&&Mr(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function yn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:l,attrs:u,emit:f,render:d,renderCache:g,data:v,setupState:P,ctx:K,inheritAttrs:W}=e;let z,D;const b=tn(e);try{if(n.shapeFlag&4){const w=s||r;z=Le(d.call(w,w,g,i,P,v,K)),D=u}else{const w=t;z=Le(w.length>1?w(i,{attrs:u,slots:l,emit:f}):w(i,null)),D=t.props?u:ro(u)}}catch(w){Mt.length=0,dn(w,e,1),z=se(Qe)}let p=z;if(D&&W!==!1){const w=Object.keys(D),{shapeFlag:F}=p;w.length&&F&7&&(o&&w.some(Kn)&&(D=so(D,o)),p=gt(p,D))}return n.dirs&&(p=gt(p),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),z=p,tn(b),z}const ro=e=>{let t;for(const n in e)(n==="class"||n==="style"||ln(n))&&((t||(t={}))[n]=e[n]);return t},so=(e,t)=>{const n={};for(const r in e)(!Kn(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function io(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:u}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?wr(r,o,f):!!o;if(u&8){const d=t.dynamicProps;for(let g=0;g<d.length;g++){const v=d[g];if(o[v]!==r[v]&&!pn(f,v))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?wr(r,o,f):!0:!!o;return!1}function wr(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(t[i]!==e[i]&&!pn(n,i))return!0}return!1}function oo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const lo=e=>e.__isSuspense;function uo(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):to(e)}function ws(e,t){if(oe){let n=oe.provides;const r=oe.parent&&oe.parent.provides;r===n&&(n=oe.provides=Object.create(r)),n[e]=t}}function Jt(e,t,n=!1){const r=oe||fe;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&H(t)?t.call(r.proxy):t}}const xr={};function wn(e,t,n){return xs(e,t,n)}function xs(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=J){const l=oe;let u,f=!1,d=!1;if(ae(e)?(u=()=>e.value,f=In(e)):pt(e)?(u=()=>e,r=!0):N(e)?(d=!0,f=e.some(D=>pt(D)||In(D)),u=()=>e.map(D=>{if(ae(D))return D.value;if(pt(D))return it(D);if(H(D))return Ye(D,l,2)})):H(e)?t?u=()=>Ye(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[v])}:u=Ae,t&&r){const D=u;u=()=>it(D())}let g,v=D=>{g=z.onStop=()=>{Ye(D,l,4)}};if(St)return v=Ae,t?n&&Ee(t,l,3,[u(),d?[]:void 0,v]):u(),Ae;let P=d?[]:xr;const K=()=>{if(!!z.active)if(t){const D=z.run();(r||f||(d?D.some((b,p)=>Qt(b,P[p])):Qt(D,P)))&&(g&&g(),Ee(t,l,3,[D,P===xr?void 0:P,v]),P=D)}else z.run()};K.allowRecurse=!!t;let W;s==="sync"?W=K:s==="post"?W=()=>ge(K,l&&l.suspense):W=()=>eo(K);const z=new Zn(u,W);return t?n?K():P=z.run():s==="post"?ge(z.run.bind(z),l&&l.suspense):z.run(),()=>{z.stop(),l&&l.scope&&Wn(l.scope.effects,z)}}function co(e,t,n){const r=this.proxy,s=ie(e)?e.includes(".")?Cs(r,e):()=>r[e]:e.bind(r,r);let i;H(t)?i=t:(i=t.handler,n=t);const o=oe;mt(this);const l=xs(s,i.bind(r),n);return o?mt(o):lt(),l}function Cs(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function it(e,t){if(!ee(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ae(e))it(e.value,t);else if(N(e))for(let n=0;n<e.length;n++)it(e[n],t);else if(un(e)||ht(e))e.forEach(n=>{it(n,t)});else if(Xr(e))for(const n in e)it(e[n],t);return e}function He(e){return H(e)?{setup:e,name:e.name}:e}const It=e=>!!e.type.__asyncLoader,Fs=e=>e.type.__isKeepAlive;function ao(e,t){As(e,"a",t)}function fo(e,t){As(e,"da",t)}function As(e,t,n=oe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(mn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Fs(s.parent.vnode)&&ho(r,t,n,s),s=s.parent}}function ho(e,t,n,r){const s=mn(t,e,r,!0);$s(()=>{Wn(r[t],s)},n)}function mn(e,t,n=oe,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;bt(),mt(n);const l=Ee(t,n,e,o);return lt(),vt(),l});return r?s.unshift(i):s.push(i),i}}const De=e=>(t,n=oe)=>(!St||e==="sp")&&mn(e,t,n),Es=De("bm"),po=De("m"),go=De("bu"),mo=De("u"),_o=De("bum"),$s=De("um"),bo=De("sp"),vo=De("rtg"),yo=De("rtc");function wo(e,t=oe){mn("ec",e,t)}function Kt(e,t){const n=fe;if(n===null)return e;const r=bn(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,u,f=J]=t[i];H(o)&&(o={mounted:o,updated:o}),o.deep&&it(l),s.push({dir:o,instance:r,value:l,oldValue:void 0,arg:u,modifiers:f})}return e}function tt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];i&&(l.oldValue=i[o].value);let u=l.dir[r];u&&(bt(),Ee(u,n,8,[e.el,l,e,t]),vt())}}const Ps="components";function Ne(e,t){return Co(Ps,e,!0,t)||e}const xo=Symbol();function Co(e,t,n=!0,r=!1){const s=fe||oe;if(s){const i=s.type;if(e===Ps){const l=Go(i,!1);if(l&&(l===t||l===Re(t)||l===an(Re(t))))return i}const o=Cr(s[e]||i[e],t)||Cr(s.appContext[e],t);return!o&&r?i:o}}function Cr(e,t){return e&&(e[t]||e[Re(t)]||e[an(Re(t))])}function Fr(e,t,n,r){let s;const i=n&&n[r];if(N(e)||ie(e)){s=new Array(e.length);for(let o=0,l=e.length;o<l;o++)s[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){s=new Array(e);for(let o=0;o<e;o++)s[o]=t(o+1,o,void 0,i&&i[o])}else if(ee(e))if(e[Symbol.iterator])s=Array.from(e,(o,l)=>t(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);s=new Array(o.length);for(let l=0,u=o.length;l<u;l++){const f=o[l];s[l]=t(e[f],f,l,i&&i[l])}}else s=[];return n&&(n[r]=s),s}function Ts(e,t,n={},r,s){if(fe.isCE||fe.parent&&It(fe.parent)&&fe.parent.isCE)return se("slot",t==="default"?null:{name:t},r&&r());let i=e[t];i&&i._c&&(i._d=!1),ne();const o=i&&Is(i(n)),l=Ze(ce,{key:n.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Is(e){return e.some(t=>sn(t)?!(t.type===Qe||t.type===ce&&!Is(t.children)):!0)?e:null}const kn=e=>e?Ds(e)?bn(e)||e.proxy:kn(e.parent):null,nn=de(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>kn(e.parent),$root:e=>kn(e.root),$emit:e=>e.emit,$options:e=>Os(e),$forceUpdate:e=>e.f||(e.f=()=>hs(e.update)),$nextTick:e=>e.n||(e.n=Xi.bind(e.proxy)),$watch:e=>co.bind(e)}),Fo={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:u}=e;let f;if(t[0]!=="$"){const P=o[t];if(P!==void 0)switch(P){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(r!==J&&j(r,t))return o[t]=1,r[t];if(s!==J&&j(s,t))return o[t]=2,s[t];if((f=e.propsOptions[0])&&j(f,t))return o[t]=3,i[t];if(n!==J&&j(n,t))return o[t]=4,n[t];Ln&&(o[t]=0)}}const d=nn[t];let g,v;if(d)return t==="$attrs"&&ve(e,"get",t),d(e);if((g=l.__cssModules)&&(g=g[t]))return g;if(n!==J&&j(n,t))return o[t]=4,n[t];if(v=u.config.globalProperties,j(v,t))return v[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return s!==J&&j(s,t)?(s[t]=n,!0):r!==J&&j(r,t)?(r[t]=n,!0):j(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==J&&j(e,o)||t!==J&&j(t,o)||(l=i[0])&&j(l,o)||j(r,o)||j(nn,o)||j(s.config.globalProperties,o)},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)}};let Ln=!0;function Ao(e){const t=Os(e),n=e.proxy,r=e.ctx;Ln=!1,t.beforeCreate&&Ar(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:u,inject:f,created:d,beforeMount:g,mounted:v,beforeUpdate:P,updated:K,activated:W,deactivated:z,beforeDestroy:D,beforeUnmount:b,destroyed:p,unmounted:w,render:F,renderTracked:E,renderTriggered:k,errorCaptured:U,serverPrefetch:O,expose:G,inheritAttrs:Q,components:he,directives:Ge,filters:yt}=t;if(f&&Eo(f,r,null,e.appContext.config.unwrapInjectedRef),o)for(const Y in o){const R=o[Y];H(R)&&(r[Y]=R.bind(n))}if(s){const Y=s.call(n,n);ee(Y)&&(e.data=Qn(Y))}if(Ln=!0,i)for(const Y in i){const R=i[Y],te=H(R)?R.bind(n,n):H(R.get)?R.get.bind(n,n):Ae,$e=!H(R)&&H(R.set)?R.set.bind(n):Ae,Pe=Xt({get:te,set:$e});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Pe.value,set:re=>Pe.value=re})}if(l)for(const Y in l)Ms(l[Y],r,n,Y);if(u){const Y=H(u)?u.call(n):u;Reflect.ownKeys(Y).forEach(R=>{ws(R,Y[R])})}d&&Ar(d,e,"c");function le(Y,R){N(R)?R.forEach(te=>Y(te.bind(n))):R&&Y(R.bind(n))}if(le(Es,g),le(po,v),le(go,P),le(mo,K),le(ao,W),le(fo,z),le(wo,U),le(yo,E),le(vo,k),le(_o,b),le($s,w),le(bo,O),N(G))if(G.length){const Y=e.exposed||(e.exposed={});G.forEach(R=>{Object.defineProperty(Y,R,{get:()=>n[R],set:te=>n[R]=te})})}else e.exposed||(e.exposed={});F&&e.render===Ae&&(e.render=F),Q!=null&&(e.inheritAttrs=Q),he&&(e.components=he),Ge&&(e.directives=Ge)}function Eo(e,t,n=Ae,r=!1){N(e)&&(e=Nn(e));for(const s in e){const i=e[s];let o;ee(i)?"default"in i?o=Jt(i.from||s,i.default,!0):o=Jt(i.from||s):o=Jt(i),ae(o)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[s]=o}}function Ar(e,t,n){Ee(N(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ms(e,t,n,r){const s=r.includes(".")?Cs(n,r):()=>n[r];if(ie(e)){const i=t[e];H(i)&&wn(s,i)}else if(H(e))wn(s,e.bind(n));else if(ee(e))if(N(e))e.forEach(i=>Ms(i,t,n,r));else{const i=H(e.handler)?e.handler.bind(n):t[e.handler];H(i)&&wn(s,i,e)}}function Os(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let u;return l?u=l:!s.length&&!n&&!r?u=t:(u={},s.length&&s.forEach(f=>rn(u,f,o,!0)),rn(u,t,o)),i.set(t,u),u}function rn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&rn(e,i,n,!0),s&&s.forEach(o=>rn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=$o[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const $o={data:Er,props:rt,emits:rt,methods:rt,computed:rt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:rt,directives:rt,watch:To,provide:Er,inject:Po};function Er(e,t){return t?e?function(){return de(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Po(e,t){return rt(Nn(e),Nn(t))}function Nn(e){if(N(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function rt(e,t){return e?de(de(Object.create(null),e),t):t}function To(e,t){if(!e)return t;if(!t)return e;const n=de(Object.create(null),e);for(const r in t)n[r]=ue(e[r],t[r]);return n}function Io(e,t,n,r=!1){const s={},i={};Gt(i,_n,1),e.propsDefaults=Object.create(null),ks(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Ui(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Mo(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=V(s),[u]=e.propsOptions;let f=!1;if((r||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let g=0;g<d.length;g++){let v=d[g];if(pn(e.emitsOptions,v))continue;const P=t[v];if(u)if(j(i,v))P!==i[v]&&(i[v]=P,f=!0);else{const K=Re(v);s[K]=Sn(u,l,K,P,e,!1)}else P!==i[v]&&(i[v]=P,f=!0)}}}else{ks(e,t,s,i)&&(f=!0);let d;for(const g in l)(!t||!j(t,g)&&((d=_t(g))===g||!j(t,d)))&&(u?n&&(n[g]!==void 0||n[d]!==void 0)&&(s[g]=Sn(u,l,g,void 0,e,!0)):delete s[g]);if(i!==l)for(const g in i)(!t||!j(t,g)&&!0)&&(delete i[g],f=!0)}f&&Be(e,"set","$attrs")}function ks(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,l;if(t)for(let u in t){if(qt(u))continue;const f=t[u];let d;s&&j(s,d=Re(u))?!i||!i.includes(d)?n[d]=f:(l||(l={}))[d]=f:pn(e.emitsOptions,u)||(!(u in r)||f!==r[u])&&(r[u]=f,o=!0)}if(i){const u=V(n),f=l||J;for(let d=0;d<i.length;d++){const g=i[d];n[g]=Sn(s,u,g,f[g],e,!j(f,g))}}return o}function Sn(e,t,n,r,s,i){const o=e[n];if(o!=null){const l=j(o,"default");if(l&&r===void 0){const u=o.default;if(o.type!==Function&&H(u)){const{propsDefaults:f}=s;n in f?r=f[n]:(mt(s),r=f[n]=u.call(null,t),lt())}else r=u}o[0]&&(i&&!l?r=!1:o[1]&&(r===""||r===_t(n))&&(r=!0))}return r}function Ls(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},l=[];let u=!1;if(!H(e)){const d=g=>{u=!0;const[v,P]=Ls(g,t,!0);de(o,v),P&&l.push(...P)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!u)return r.set(e,dt),dt;if(N(i))for(let d=0;d<i.length;d++){const g=Re(i[d]);$r(g)&&(o[g]=J)}else if(i)for(const d in i){const g=Re(d);if($r(g)){const v=i[d],P=o[g]=N(v)||H(v)?{type:v}:v;if(P){const K=Ir(Boolean,P.type),W=Ir(String,P.type);P[0]=K>-1,P[1]=W<0||K<W,(K>-1||j(P,"default"))&&l.push(g)}}}const f=[o,l];return r.set(e,f),f}function $r(e){return e[0]!=="$"}function Pr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Tr(e,t){return Pr(e)===Pr(t)}function Ir(e,t){return N(t)?t.findIndex(n=>Tr(n,e)):H(t)&&Tr(t,e)?0:-1}const Ns=e=>e[0]==="_"||e==="$stable",sr=e=>N(e)?e.map(Le):[Le(e)],Oo=(e,t,n)=>{if(t._n)return t;const r=rr((...s)=>sr(t(...s)),n);return r._c=!1,r},Ss=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ns(s))continue;const i=e[s];if(H(i))t[s]=Oo(s,i,r);else if(i!=null){const o=sr(i);t[s]=()=>o}}},Rs=(e,t)=>{const n=sr(t);e.slots.default=()=>n},ko=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=V(t),Gt(t,"_",n)):Ss(t,e.slots={})}else e.slots={},t&&Rs(e,t);Gt(e.slots,_n,1)},Lo=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=J;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(de(s,t),!n&&l===1&&delete s._):(i=!t.$stable,Ss(t,s)),o=t}else t&&(Rs(e,t),o={default:1});if(i)for(const l in s)!Ns(l)&&!(l in o)&&delete s[l]};function Hs(){return{app:null,config:{isNativeTag:ui,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let No=0;function So(e,t){return function(r,s=null){H(r)||(r=Object.assign({},r)),s!=null&&!ee(s)&&(s=null);const i=Hs(),o=new Set;let l=!1;const u=i.app={_uid:No++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:nl,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&H(f.install)?(o.add(f),f.install(u,...d)):H(f)&&(o.add(f),f(u,...d))),u},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),u},component(f,d){return d?(i.components[f]=d,u):i.components[f]},directive(f,d){return d?(i.directives[f]=d,u):i.directives[f]},mount(f,d,g){if(!l){const v=se(r,s);return v.appContext=i,d&&t?t(v,f):e(v,f,g),l=!0,u._container=f,f.__vue_app__=u,bn(v.component)||v.component.proxy}},unmount(){l&&(e(null,u._container),delete u._container.__vue_app__)},provide(f,d){return i.provides[f]=d,u}};return u}}function Rn(e,t,n,r,s=!1){if(N(e)){e.forEach((v,P)=>Rn(v,t&&(N(t)?t[P]:t),n,r,s));return}if(It(r)&&!s)return;const i=r.shapeFlag&4?bn(r.component)||r.component.proxy:r.el,o=s?null:i,{i:l,r:u}=e,f=t&&t.r,d=l.refs===J?l.refs={}:l.refs,g=l.setupState;if(f!=null&&f!==u&&(ie(f)?(d[f]=null,j(g,f)&&(g[f]=null)):ae(f)&&(f.value=null)),H(u))Ye(u,l,12,[o,d]);else{const v=ie(u),P=ae(u);if(v||P){const K=()=>{if(e.f){const W=v?d[u]:u.value;s?N(W)&&Wn(W,i):N(W)?W.includes(i)||W.push(i):v?(d[u]=[i],j(g,u)&&(g[u]=d[u])):(u.value=[i],e.k&&(d[e.k]=u.value))}else v?(d[u]=o,j(g,u)&&(g[u]=o)):P&&(u.value=o,e.k&&(d[e.k]=o))};o?(K.id=-1,ge(K,n)):K()}}}const ge=uo;function Ro(e){return Ho(e)}function Ho(e,t){const n=gi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:u,setText:f,setElementText:d,parentNode:g,nextSibling:v,setScopeId:P=Ae,cloneNode:K,insertStaticContent:W}=e,z=(c,a,h,_=null,m=null,C=null,$=!1,x=null,A=!!a.dynamicChildren)=>{if(c===a)return;c&&!At(c,a)&&(_=Ue(c),Te(c,m,C,!0),c=null),a.patchFlag===-2&&(A=!1,a.dynamicChildren=null);const{type:y,ref:I,shapeFlag:T}=a;switch(y){case ir:D(c,a,h,_);break;case Qe:b(c,a,h,_);break;case xn:c==null&&p(a,h,_,$);break;case ce:Ge(c,a,h,_,m,C,$,x,A);break;default:T&1?E(c,a,h,_,m,C,$,x,A):T&6?yt(c,a,h,_,m,C,$,x,A):(T&64||T&128)&&y.process(c,a,h,_,m,C,$,x,A,Ie)}I!=null&&m&&Rn(I,c&&c.ref,C,a||c,!a)},D=(c,a,h,_)=>{if(c==null)r(a.el=l(a.children),h,_);else{const m=a.el=c.el;a.children!==c.children&&f(m,a.children)}},b=(c,a,h,_)=>{c==null?r(a.el=u(a.children||""),h,_):a.el=c.el},p=(c,a,h,_)=>{[c.el,c.anchor]=W(c.children,a,h,_,c.el,c.anchor)},w=({el:c,anchor:a},h,_)=>{let m;for(;c&&c!==a;)m=v(c),r(c,h,_),c=m;r(a,h,_)},F=({el:c,anchor:a})=>{let h;for(;c&&c!==a;)h=v(c),s(c),c=h;s(a)},E=(c,a,h,_,m,C,$,x,A)=>{$=$||a.type==="svg",c==null?k(a,h,_,m,C,$,x,A):G(c,a,m,C,$,x,A)},k=(c,a,h,_,m,C,$,x)=>{let A,y;const{type:I,props:T,shapeFlag:M,transition:S,patchFlag:B,dirs:q}=c;if(c.el&&K!==void 0&&B===-1)A=c.el=K(c.el);else{if(A=c.el=o(c.type,C,T&&T.is,T),M&8?d(A,c.children):M&16&&O(c.children,A,null,_,m,C&&I!=="foreignObject",$,x),q&&tt(c,null,_,"created"),T){for(const X in T)X!=="value"&&!qt(X)&&i(A,X,null,T[X],C,c.children,_,m,pe);"value"in T&&i(A,"value",null,T.value),(y=T.onVnodeBeforeMount)&&Oe(y,_,c)}U(A,c,c.scopeId,$,_)}q&&tt(c,null,_,"beforeMount");const Z=(!m||m&&!m.pendingBranch)&&S&&!S.persisted;Z&&S.beforeEnter(A),r(A,a,h),((y=T&&T.onVnodeMounted)||Z||q)&&ge(()=>{y&&Oe(y,_,c),Z&&S.enter(A),q&&tt(c,null,_,"mounted")},m)},U=(c,a,h,_,m)=>{if(h&&P(c,h),_)for(let C=0;C<_.length;C++)P(c,_[C]);if(m){let C=m.subTree;if(a===C){const $=m.vnode;U(c,$,$.scopeId,$.slotScopeIds,m.parent)}}},O=(c,a,h,_,m,C,$,x,A=0)=>{for(let y=A;y<c.length;y++){const I=c[y]=x?qe(c[y]):Le(c[y]);z(null,I,a,h,_,m,C,$,x)}},G=(c,a,h,_,m,C,$)=>{const x=a.el=c.el;let{patchFlag:A,dynamicChildren:y,dirs:I}=a;A|=c.patchFlag&16;const T=c.props||J,M=a.props||J;let S;h&&nt(h,!1),(S=M.onVnodeBeforeUpdate)&&Oe(S,h,a,c),I&&tt(a,c,h,"beforeUpdate"),h&&nt(h,!0);const B=m&&a.type!=="foreignObject";if(y?Q(c.dynamicChildren,y,x,h,_,B,C):$||te(c,a,x,null,h,_,B,C,!1),A>0){if(A&16)he(x,a,T,M,h,_,m);else if(A&2&&T.class!==M.class&&i(x,"class",null,M.class,m),A&4&&i(x,"style",T.style,M.style,m),A&8){const q=a.dynamicProps;for(let Z=0;Z<q.length;Z++){const X=q[Z],xe=T[X],ct=M[X];(ct!==xe||X==="value")&&i(x,X,xe,ct,m,c.children,h,_,pe)}}A&1&&c.children!==a.children&&d(x,a.children)}else!$&&y==null&&he(x,a,T,M,h,_,m);((S=M.onVnodeUpdated)||I)&&ge(()=>{S&&Oe(S,h,a,c),I&&tt(a,c,h,"updated")},_)},Q=(c,a,h,_,m,C,$)=>{for(let x=0;x<a.length;x++){const A=c[x],y=a[x],I=A.el&&(A.type===ce||!At(A,y)||A.shapeFlag&70)?g(A.el):h;z(A,y,I,null,_,m,C,$,!0)}},he=(c,a,h,_,m,C,$)=>{if(h!==_){for(const x in _){if(qt(x))continue;const A=_[x],y=h[x];A!==y&&x!=="value"&&i(c,x,y,A,$,a.children,m,C,pe)}if(h!==J)for(const x in h)!qt(x)&&!(x in _)&&i(c,x,h[x],null,$,a.children,m,C,pe);"value"in _&&i(c,"value",h.value,_.value)}},Ge=(c,a,h,_,m,C,$,x,A)=>{const y=a.el=c?c.el:l(""),I=a.anchor=c?c.anchor:l("");let{patchFlag:T,dynamicChildren:M,slotScopeIds:S}=a;S&&(x=x?x.concat(S):S),c==null?(r(y,h,_),r(I,h,_),O(a.children,h,I,m,C,$,x,A)):T>0&&T&64&&M&&c.dynamicChildren?(Q(c.dynamicChildren,M,h,m,C,$,x),(a.key!=null||m&&a===m.subTree)&&zs(c,a,!0)):te(c,a,h,I,m,C,$,x,A)},yt=(c,a,h,_,m,C,$,x,A)=>{a.slotScopeIds=x,c==null?a.shapeFlag&512?m.ctx.activate(a,h,_,$,A):wt(a,h,_,m,C,$,A):le(c,a,A)},wt=(c,a,h,_,m,C,$)=>{const x=c.component=Zo(c,_,m);if(Fs(c)&&(x.ctx.renderer=Ie),Jo(x),x.asyncDep){if(m&&m.registerDep(x,Y),!c.el){const A=x.subTree=se(Qe);b(null,A,a,h)}return}Y(x,c,a,h,m,C,$)},le=(c,a,h)=>{const _=a.component=c.component;if(io(c,a,h))if(_.asyncDep&&!_.asyncResolved){R(_,a,h);return}else _.next=a,Gi(_.update),_.update();else a.el=c.el,_.vnode=a},Y=(c,a,h,_,m,C,$)=>{const x=()=>{if(c.isMounted){let{next:I,bu:T,u:M,parent:S,vnode:B}=c,q=I,Z;nt(c,!1),I?(I.el=B.el,R(c,I,$)):I=B,T&&Zt(T),(Z=I.props&&I.props.onVnodeBeforeUpdate)&&Oe(Z,S,I,B),nt(c,!0);const X=yn(c),xe=c.subTree;c.subTree=X,z(xe,X,g(xe.el),Ue(xe),c,m,C),I.el=X.el,q===null&&oo(c,X.el),M&&ge(M,m),(Z=I.props&&I.props.onVnodeUpdated)&&ge(()=>Oe(Z,S,I,B),m)}else{let I;const{el:T,props:M}=a,{bm:S,m:B,parent:q}=c,Z=It(a);if(nt(c,!1),S&&Zt(S),!Z&&(I=M&&M.onVnodeBeforeMount)&&Oe(I,q,a),nt(c,!0),T&&Ct){const X=()=>{c.subTree=yn(c),Ct(T,c.subTree,c,m,null)};Z?a.type.__asyncLoader().then(()=>!c.isUnmounted&&X()):X()}else{const X=c.subTree=yn(c);z(null,X,h,_,c,m,C),a.el=X.el}if(B&&ge(B,m),!Z&&(I=M&&M.onVnodeMounted)){const X=a;ge(()=>Oe(I,q,X),m)}(a.shapeFlag&256||q&&It(q.vnode)&&q.vnode.shapeFlag&256)&&c.a&&ge(c.a,m),c.isMounted=!0,a=h=_=null}},A=c.effect=new Zn(x,()=>hs(y),c.scope),y=c.update=()=>A.run();y.id=c.uid,nt(c,!0),y()},R=(c,a,h)=>{a.component=c;const _=c.vnode.props;c.vnode=a,c.next=null,Mo(c,a.props,_,h),Lo(c,a.children,h),bt(),hn(void 0,c.update),vt()},te=(c,a,h,_,m,C,$,x,A=!1)=>{const y=c&&c.children,I=c?c.shapeFlag:0,T=a.children,{patchFlag:M,shapeFlag:S}=a;if(M>0){if(M&128){Pe(y,T,h,_,m,C,$,x,A);return}else if(M&256){$e(y,T,h,_,m,C,$,x,A);return}}S&8?(I&16&&pe(y,m,C),T!==y&&d(h,T)):I&16?S&16?Pe(y,T,h,_,m,C,$,x,A):pe(y,m,C,!0):(I&8&&d(h,""),S&16&&O(T,h,_,m,C,$,x,A))},$e=(c,a,h,_,m,C,$,x,A)=>{c=c||dt,a=a||dt;const y=c.length,I=a.length,T=Math.min(y,I);let M;for(M=0;M<T;M++){const S=a[M]=A?qe(a[M]):Le(a[M]);z(c[M],S,h,null,m,C,$,x,A)}y>I?pe(c,m,C,!0,!1,T):O(a,h,_,m,C,$,x,A,T)},Pe=(c,a,h,_,m,C,$,x,A)=>{let y=0;const I=a.length;let T=c.length-1,M=I-1;for(;y<=T&&y<=M;){const S=c[y],B=a[y]=A?qe(a[y]):Le(a[y]);if(At(S,B))z(S,B,h,null,m,C,$,x,A);else break;y++}for(;y<=T&&y<=M;){const S=c[T],B=a[M]=A?qe(a[M]):Le(a[M]);if(At(S,B))z(S,B,h,null,m,C,$,x,A);else break;T--,M--}if(y>T){if(y<=M){const S=M+1,B=S<I?a[S].el:_;for(;y<=M;)z(null,a[y]=A?qe(a[y]):Le(a[y]),h,B,m,C,$,x,A),y++}}else if(y>M)for(;y<=T;)Te(c[y],m,C,!0),y++;else{const S=y,B=y,q=new Map;for(y=B;y<=M;y++){const _e=a[y]=A?qe(a[y]):Le(a[y]);_e.key!=null&&q.set(_e.key,y)}let Z,X=0;const xe=M-B+1;let ct=!1,cr=0;const Ft=new Array(xe);for(y=0;y<xe;y++)Ft[y]=0;for(y=S;y<=T;y++){const _e=c[y];if(X>=xe){Te(_e,m,C,!0);continue}let Me;if(_e.key!=null)Me=q.get(_e.key);else for(Z=B;Z<=M;Z++)if(Ft[Z-B]===0&&At(_e,a[Z])){Me=Z;break}Me===void 0?Te(_e,m,C,!0):(Ft[Me-B]=y+1,Me>=cr?cr=Me:ct=!0,z(_e,a[Me],h,null,m,C,$,x,A),X++)}const ar=ct?zo(Ft):dt;for(Z=ar.length-1,y=xe-1;y>=0;y--){const _e=B+y,Me=a[_e],fr=_e+1<I?a[_e+1].el:_;Ft[y]===0?z(null,Me,h,fr,m,C,$,x,A):ct&&(Z<0||y!==ar[Z]?re(Me,h,fr,2):Z--)}}},re=(c,a,h,_,m=null)=>{const{el:C,type:$,transition:x,children:A,shapeFlag:y}=c;if(y&6){re(c.component.subTree,a,h,_);return}if(y&128){c.suspense.move(a,h,_);return}if(y&64){$.move(c,a,h,Ie);return}if($===ce){r(C,a,h);for(let T=0;T<A.length;T++)re(A[T],a,h,_);r(c.anchor,a,h);return}if($===xn){w(c,a,h);return}if(_!==2&&y&1&&x)if(_===0)x.beforeEnter(C),r(C,a,h),ge(()=>x.enter(C),m);else{const{leave:T,delayLeave:M,afterLeave:S}=x,B=()=>r(C,a,h),q=()=>{T(C,()=>{B(),S&&S()})};M?M(C,B,q):q()}else r(C,a,h)},Te=(c,a,h,_=!1,m=!1)=>{const{type:C,props:$,ref:x,children:A,dynamicChildren:y,shapeFlag:I,patchFlag:T,dirs:M}=c;if(x!=null&&Rn(x,null,h,c,!0),I&256){a.ctx.deactivate(c);return}const S=I&1&&M,B=!It(c);let q;if(B&&(q=$&&$.onVnodeBeforeUnmount)&&Oe(q,a,c),I&6)ut(c.component,h,_);else{if(I&128){c.suspense.unmount(h,_);return}S&&tt(c,null,a,"beforeUnmount"),I&64?c.type.remove(c,a,h,m,Ie,_):y&&(C!==ce||T>0&&T&64)?pe(y,a,h,!1,!0):(C===ce&&T&384||!m&&I&16)&&pe(A,a,h),_&&we(c)}(B&&(q=$&&$.onVnodeUnmounted)||S)&&ge(()=>{q&&Oe(q,a,c),S&&tt(c,null,a,"unmounted")},h)},we=c=>{const{type:a,el:h,anchor:_,transition:m}=c;if(a===ce){et(h,_);return}if(a===xn){F(c);return}const C=()=>{s(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:$,delayLeave:x}=m,A=()=>$(h,C);x?x(c.el,C,A):A()}else C()},et=(c,a)=>{let h;for(;c!==a;)h=v(c),s(c),c=h;s(a)},ut=(c,a,h)=>{const{bum:_,scope:m,update:C,subTree:$,um:x}=c;_&&Zt(_),m.stop(),C&&(C.active=!1,Te($,c,a,h)),x&&ge(x,a),ge(()=>{c.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},pe=(c,a,h,_=!1,m=!1,C=0)=>{for(let $=C;$<c.length;$++)Te(c[$],a,h,_,m)},Ue=c=>c.shapeFlag&6?Ue(c.component.subTree):c.shapeFlag&128?c.suspense.next():v(c.anchor||c.el),xt=(c,a,h)=>{c==null?a._vnode&&Te(a._vnode,null,null,!0):z(a._vnode||null,c,a,null,null,null,h),ms(),a._vnode=c},Ie={p:z,um:Te,m:re,r:we,mt:wt,mc:O,pc:te,pbc:Q,n:Ue,o:e};let Ke,Ct;return t&&([Ke,Ct]=t(Ie)),{render:xt,hydrate:Ke,createApp:So(xt,Ke)}}function nt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zs(e,t,n=!1){const r=e.children,s=t.children;if(N(r)&&N(s))for(let i=0;i<r.length;i++){const o=r[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=qe(s[i]),l.el=o.el),n||zs(o,l))}}function zo(e){const t=e.slice(),n=[0];let r,s,i,o,l;const u=e.length;for(r=0;r<u;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<f?i=l+1:o=l;f<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const jo=e=>e.__isTeleport,ce=Symbol(void 0),ir=Symbol(void 0),Qe=Symbol(void 0),xn=Symbol(void 0),Mt=[];let Fe=null;function ne(e=!1){Mt.push(Fe=e?null:[])}function Bo(){Mt.pop(),Fe=Mt[Mt.length-1]||null}let Nt=1;function Mr(e){Nt+=e}function js(e){return e.dynamicChildren=Nt>0?Fe||dt:null,Bo(),Nt>0&&Fe&&Fe.push(e),e}function ye(e,t,n,r,s,i){return js(L(e,t,n,r,s,i,!0))}function Ze(e,t,n,r,s){return js(se(e,t,n,r,s,!0))}function sn(e){return e?e.__v_isVNode===!0:!1}function At(e,t){return e.type===t.type&&e.key===t.key}const _n="__vInternal",Bs=({key:e})=>e!=null?e:null,Yt=({ref:e,ref_key:t,ref_for:n})=>e!=null?ie(e)||ae(e)||H(e)?{i:fe,r:e,k:t,f:!!n}:e:null;function L(e,t=null,n=null,r=0,s=null,i=e===ce?0:1,o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bs(t),ref:t&&Yt(t),scopeId:gn,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:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return l?(or(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=ie(n)?8:16),Nt>0&&!o&&Fe&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Fe.push(u),u}const se=Do;function Do(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===xo)&&(e=Qe),sn(e)){const l=gt(e,t,!0);return n&&or(l,n),Nt>0&&!i&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag|=-2,l}if(el(e)&&(e=e.__vccOpts),t){t=Uo(t);let{class:l,style:u}=t;l&&!ie(l)&&(t.class=Se(l)),ee(u)&&(cs(u)&&!N(u)&&(u=de({},u)),t.style=Un(u))}const o=ie(e)?1:lo(e)?128:jo(e)?64:ee(e)?4:H(e)?2:0;return L(e,t,n,r,s,o,i,!0)}function Uo(e){return e?cs(e)||_n in e?de({},e):e:null}function gt(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,l=t?Wo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Bs(l),ref:t&&t.ref?n&&s?N(s)?s.concat(Yt(t)):[s,Yt(t)]:Yt(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&>(e.ssContent),ssFallback:e.ssFallback&>(e.ssFallback),el:e.el,anchor:e.anchor}}function me(e=" ",t=0){return se(ir,null,e,t)}function Ko(e="",t=!1){return t?(ne(),Ze(Qe,null,e)):se(Qe,null,e)}function Le(e){return e==null||typeof e=="boolean"?se(Qe):N(e)?se(ce,null,e.slice()):typeof e=="object"?qe(e):se(ir,null,String(e))}function qe(e){return e.el===null||e.memo?e:gt(e)}function or(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),or(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(_n in t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),r&64?(n=16,t=[me(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Se([t.class,r.class]));else if(s==="style")t.style=Un([t.style,r.style]);else if(ln(s)){const i=t[s],o=r[s];o&&i!==o&&!(N(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function Oe(e,t,n,r=null){Ee(e,t,7,[n,r])}const Vo=Hs();let qo=0;function Zo(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Vo,i={uid:qo++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new mi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ls(r,s),emitsOptions:bs(r,s),emit:null,emitted:null,propsDefaults:J,inheritAttrs:r.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=no.bind(null,i),e.ce&&e.ce(i),i}let oe=null;const mt=e=>{oe=e,e.scope.on()},lt=()=>{oe&&oe.scope.off(),oe=null};function Ds(e){return e.vnode.shapeFlag&4}let St=!1;function Jo(e,t=!1){St=t;const{props:n,children:r}=e.vnode,s=Ds(e);Io(e,n,s,t),ko(e,r);const i=s?Yo(e,t):void 0;return St=!1,i}function Yo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=as(new Proxy(e.ctx,Fo));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Qo(e):null;mt(e),bt();const i=Ye(r,e,0,[e.props,s]);if(vt(),lt(),Jr(i)){if(i.then(lt,lt),t)return i.then(o=>{Or(e,o,t)}).catch(o=>{dn(o,e,0)});e.asyncDep=i}else Or(e,i,t)}else Us(e,t)}function Or(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=fs(t)),Us(e,n)}let kr;function Us(e,t,n){const r=e.type;if(!e.render){if(!t&&kr&&!r.render){const s=r.template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:u}=r,f=de(de({isCustomElement:i,delimiters:l},o),u);r.render=kr(s,f)}}e.render=r.render||Ae}mt(e),bt(),Ao(e),vt(),lt()}function Xo(e){return new Proxy(e.attrs,{get(t,n){return ve(e,"get","$attrs"),t[n]}})}function Qo(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Xo(e))},slots:e.slots,emit:e.emit,expose:t}}function bn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fs(as(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nn)return nn[n](e)}}))}function Go(e,t=!0){return H(e)?e.displayName||e.name:e.name||t&&e.__name}function el(e){return H(e)&&"__vccOpts"in e}const Xt=(e,t)=>Ji(e,t,St);function tl(e,t,n){const r=arguments.length;return r===2?ee(t)&&!N(t)?sn(t)?se(e,null,[t]):se(e,t):se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&sn(n)&&(n=[n]),se(e,t,n))}const nl="3.2.37",rl="http://www.w3.org/2000/svg",st=typeof document<"u"?document:null,Lr=st&&st.createElement("template"),sl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?st.createElementNS(rl,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.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,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Lr.innerHTML=r?`<svg>${e}</svg>`:e;const l=Lr.content;if(r){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function il(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ol(e,t,n){const r=e.style,s=ie(n);if(n&&!s){for(const i in n)Hn(r,i,n[i]);if(t&&!ie(t))for(const i in t)n[i]==null&&Hn(r,i,"")}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const Nr=/\s*!important$/;function Hn(e,t,n){if(N(n))n.forEach(r=>Hn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ll(e,t);Nr.test(n)?e.setProperty(_t(r),n.replace(Nr,""),"important"):e[r]=n}}const Sr=["Webkit","Moz","ms"],Cn={};function ll(e,t){const n=Cn[t];if(n)return n;let r=Re(t);if(r!=="filter"&&r in e)return Cn[t]=r;r=an(r);for(let s=0;s<Sr.length;s++){const i=Sr[s]+r;if(i in e)return Cn[t]=i}return t}const Rr="http://www.w3.org/1999/xlink";function ul(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Rr,t.slice(6,t.length)):e.setAttributeNS(Rr,t,n);else{const i=ri(t);n==null||i&&!Vr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function cl(e,t,n,r,s,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,s,i),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const u=n==null?"":n;(e.value!==u||e.tagName==="OPTION")&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Vr(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}const[Ks,al]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let zn=0;const fl=Promise.resolve(),dl=()=>{zn=0},hl=()=>zn||(fl.then(dl),zn=Ks());function Ws(e,t,n,r){e.addEventListener(t,n,r)}function pl(e,t,n,r){e.removeEventListener(t,n,r)}function gl(e,t,n,r,s=null){const i=e._vei||(e._vei={}),o=i[t];if(r&&o)o.value=r;else{const[l,u]=ml(t);if(r){const f=i[t]=_l(r,s);Ws(e,l,f,u)}else o&&(pl(e,l,o,u),i[t]=void 0)}}const Hr=/(?:Once|Passive|Capture)$/;function ml(e){let t;if(Hr.test(e)){t={};let n;for(;n=e.match(Hr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[_t(e.slice(2)),t]}function _l(e,t){const n=r=>{const s=r.timeStamp||Ks();(al||s>=n.attached-1)&&Ee(bl(r,n.value),t,5,[r])};return n.value=e,n.attached=hl(),n}function bl(e,t){if(N(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const zr=/^on[a-z]/,vl=(e,t,n,r,s=!1,i,o,l,u)=>{t==="class"?il(e,r,s):t==="style"?ol(e,n,r):ln(t)?Kn(t)||gl(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yl(e,t,r,s))?cl(e,t,r,i,o,l,u):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ul(e,t,r,s))};function yl(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&zr.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||zr.test(t)&&ie(n)?!1:t in e}const jr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return N(t)?n=>Zt(t,n):t},Wt={deep:!0,created(e,t,n){e._assign=jr(n),Ws(e,"change",()=>{const r=e._modelValue,s=wl(e),i=e.checked,o=e._assign;if(N(r)){const l=qr(r,s),u=l!==-1;if(i&&!u)o(r.concat(s));else if(!i&&u){const f=[...r];f.splice(l,1),o(f)}}else if(un(r)){const l=new Set(r);i?l.add(s):l.delete(s),o(l)}else o(Vs(e,i))})},mounted:Br,beforeUpdate(e,t,n){e._assign=jr(n),Br(e,t,n)}};function Br(e,{value:t,oldValue:n},r){e._modelValue=t,N(t)?e.checked=qr(t,r.props.value)>-1:un(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=on(t,Vs(e,!0)))}function wl(e){return"_value"in e?e._value:e.value}function Vs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const xl=de({patchProp:vl},sl);let Dr;function Cl(){return Dr||(Dr=Ro(xl))}const Fl=(...e)=>{const t=Cl().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Al(r);if(!s)return;const i=t._component;!H(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Al(e){return ie(e)?document.querySelector(e):e}const El={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},$l=L("g",{fill:"none"},[L("path",{d:"M18.5 20a.5.5 0 0 1-.5.5h-5.732A6.518 6.518 0 0 1 11.19 22H18a2 2 0 0 0 2-2V9.828a2 2 0 0 0-.586-1.414l-5.829-5.828a.491.491 0 0 0-.049-.04a.63.63 0 0 1-.036-.03a2.072 2.072 0 0 0-.219-.18a.652.652 0 0 0-.08-.044l-.048-.024l-.05-.029c-.054-.031-.109-.063-.166-.087a1.977 1.977 0 0 0-.624-.138c-.02-.001-.04-.004-.059-.007A.605.605 0 0 0 12.172 2H6a2 2 0 0 0-2 2v7.498a6.451 6.451 0 0 1 1.5-.422V4a.5.5 0 0 1 .5-.5h6V8a2 2 0 0 0 2 2h4.5v10zm-5-15.379L17.378 8.5H14a.5.5 0 0 1-.5-.5V4.621zM12 17.5a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0zm-2.5.5a.5.5 0 0 0 0-1H4.707l1.647-1.646a.5.5 0 0 0-.708-.708l-2.5 2.5a.5.5 0 0 0 0 .708l2.5 2.5a.5.5 0 0 0 .708-.708L4.707 18H9.5z",fill:"currentColor"})],-1),Pl=[$l],Tl=He({name:"DocumentArrowLeft24Regular",render:function(t,n){return ne(),ye("svg",El,Pl)}}),Il={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},Ml=L("g",{fill:"none"},[L("path",{d:"M7.75 11.5a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5zM7 15.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0zm3-3a.75.75 0 0 1 .75-.75h3.054a.75.75 0 0 1 0 1.5H10.75a.75.75 0 0 1-.75-.75zm.75 2.25a.75.75 0 0 0 0 1.5h3.054a.75.75 0 0 0 0-1.5H10.75zM6.25 2A2.25 2.25 0 0 0 4 4.25v13a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25V8.869a2.25 2.25 0 0 0-.659-1.591l-4.619-4.619A2.25 2.25 0 0 0 10.632 2H6.25zM5.5 4.25a.75.75 0 0 1 .75-.75h4.254v3.248a2.25 2.25 0 0 0 2.25 2.25H16v8.252a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75v-13zm6.504 2.498V4.562l2.935 2.936h-2.185a.75.75 0 0 1-.75-.75zM8.75 22a2.25 2.25 0 0 1-2.122-1.5h8.622a3.25 3.25 0 0 0 3.25-3.25V8.937l.84.84c.423.423.66.995.66 1.592v5.881A4.75 4.75 0 0 1 15.25 22h-6.5z",fill:"currentColor"})],-1),Ol=[Ml],kl=He({name:"DocumentBulletListMultiple24Regular",render:function(t,n){return ne(),ye("svg",Il,Ol)}}),Ll={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},Nl=L("g",{fill:"none"},[L("path",{d:"M8.75 11.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5zm0 2.75a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5zm0 2.75a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5zm4.835-14.414l5.829 5.828A2 2 0 0 1 20 9.828V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h6.172c.028 0 .055.004.082.007c.02.003.04.006.059.007c.215.015.427.056.624.138c.057.024.112.056.166.087l.05.029l.047.024a.652.652 0 0 1 .081.044c.078.053.148.116.219.18a.63.63 0 0 0 .036.03a.491.491 0 0 1 .049.04zM18 20.5a.5.5 0 0 0 .5-.5V10H14a2 2 0 0 1-2-2V3.5H6a.5.5 0 0 0-.5.5v16a.5.5 0 0 0 .5.5h12zm-.622-12L13.5 4.621V8a.5.5 0 0 0 .5.5h3.378z",fill:"currentColor"})],-1),Sl=[Nl],Rl=He({name:"DocumentText24Regular",render:function(t,n){return ne(),ye("svg",Ll,Sl)}}),Hl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},zl=L("g",{fill:"none"},[L("path",{d:"M8.207 4c.46 0 .908.141 1.284.402l.156.12L12.022 6.5h7.728a2.25 2.25 0 0 1 2.229 1.938l.016.158l.005.154v9a2.25 2.25 0 0 1-2.096 2.245L19.75 20H4.25a2.25 2.25 0 0 1-2.245-2.096L2 17.75V6.25a2.25 2.25 0 0 1 2.096-2.245L4.25 4h3.957zm1.44 5.979a2.25 2.25 0 0 1-1.244.512l-.196.009l-4.707-.001v7.251c0 .38.282.694.648.743l.102.007h15.5a.75.75 0 0 0 .743-.648l.007-.102v-9a.75.75 0 0 0-.648-.743L19.75 8h-7.729L9.647 9.979zM8.207 5.5H4.25a.75.75 0 0 0-.743.648L3.5 6.25v2.749L8.207 9a.75.75 0 0 0 .395-.113l.085-.06l1.891-1.578l-1.89-1.575a.75.75 0 0 0-.377-.167L8.207 5.5z",fill:"currentColor"})],-1),jl=[zl],Bl=He({name:"Folder24Regular",render:function(t,n){return ne(),ye("svg",Hl,jl)}}),Dl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},Ul=L("g",{fill:"none"},[L("path",{d:"M17.5 11a5.5 5.5 0 1 1 0 11a5.5 5.5 0 0 1 0-11zm0 2l-.09.007a.5.5 0 0 0-.402.402L17 13.5V16L14.498 16l-.09.008a.5.5 0 0 0-.402.402l-.008.09l.008.09a.5.5 0 0 0 .402.402l.09.008H17v2.503l.008.09a.5.5 0 0 0 .402.402l.09.008l.09-.008a.5.5 0 0 0 .402-.402l.008-.09V17l2.504.001l.09-.008a.5.5 0 0 0 .402-.402l.008-.09l-.008-.09a.5.5 0 0 0-.403-.402l-.09-.008H18v-2.5l-.008-.09a.5.5 0 0 0-.402-.403L17.5 13zM8.207 4c.46 0 .908.141 1.284.402l.156.12L12.022 6.5h7.728a2.25 2.25 0 0 1 2.229 1.938l.016.158l.005.154v3.06a6.517 6.517 0 0 0-1.499-1.077L20.5 8.75a.75.75 0 0 0-.648-.743L19.75 8h-7.729L9.647 9.979a2.25 2.25 0 0 1-1.244.512l-.196.009l-4.707-.001v7.251c0 .38.282.694.648.743l.102.007h7.064c.172.534.412 1.038.709 1.501L4.25 20a2.25 2.25 0 0 1-2.245-2.096L2 17.75V6.25a2.25 2.25 0 0 1 2.096-2.245L4.25 4h3.957zm0 1.5H4.25a.75.75 0 0 0-.743.648L3.5 6.25v2.749L8.207 9a.75.75 0 0 0 .395-.113l.085-.06l1.891-1.578l-1.89-1.575a.75.75 0 0 0-.377-.167L8.207 5.5z",fill:"currentColor"})],-1),Kl=[Ul],Wl=He({name:"FolderAdd24Regular",render:function(t,n){return ne(),ye("svg",Dl,Kl)}});function Vl(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const qs=/\s*,(?![^(]*\))\s*/g,ql=/\s+/g;function Zl(e,t){const n=[];return t.split(qs).forEach(r=>{let s=Vl(r);if(s){if(s===1){e.forEach(o=>{n.push(r.replace("&",o))});return}}else{e.forEach(o=>{n.push((o&&o+" ")+r)});return}let i=[r];for(;s--;){const o=[];i.forEach(l=>{e.forEach(u=>{o.push(l.replace("&",u))})}),i=o}i.forEach(o=>n.push(o))}),n}function Jl(e,t){const n=[];return t.split(qs).forEach(r=>{e.forEach(s=>{n.push((s&&s+" ")+r)})}),n}function Yl(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=Zl(t,n):t=Jl(t,n))}),t.join(", ").replace(ql," ")}const Xl=/[A-Z]/g;function Zs(e){return e.replace(Xl,t=>"-"+t.toLowerCase())}function Ql(e,t=" "){return typeof e=="object"&&e!==null?` {
|
|
11
|
+
`+Object.entries(e).map(n=>t+` ${Zs(n[0])}: ${n[1]};`).join(`
|
|
12
|
+
`)+`
|
|
13
|
+
`+t+"}":`: ${e};`}function Gl(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function Ur(e,t,n,r){if(!t)return"";const s=Gl(t,n,r);if(!s)return"";if(typeof s=="string")return`${e} {
|
|
14
|
+
${s}
|
|
15
|
+
}`;const i=Object.keys(s);if(i.length===0)return n.config.keepEmptyBlock?e+` {
|
|
16
|
+
}`:"";const o=e?[e+" {"]:[];return i.forEach(l=>{const u=s[l];if(l==="raw"){o.push(`
|
|
17
|
+
`+u+`
|
|
18
|
+
`);return}l=Zs(l),u!=null&&o.push(` ${l}${Ql(u)}`)}),e&&o.push("}"),o.join(`
|
|
19
|
+
`)}function jn(e,t,n){!e||e.forEach(r=>{if(Array.isArray(r))jn(r,t,n);else if(typeof r=="function"){const s=r(t);Array.isArray(s)?jn(s,t,n):s&&n(s)}else r&&n(r)})}function Js(e,t,n,r,s,i){const o=e.$;!o||typeof o=="string"?t.push(o):typeof o=="function"?t.push(o({context:r.context,props:s})):(o.before&&o.before(r.context),!o.$||typeof o.$=="string"?t.push(o.$):o.$&&t.push(o.$({context:r.context,props:s})));const l=Yl(t),u=Ur(l,e.props,r,s);i&&u&&i.insertRule(u),!i&&u.length&&n.push(u),e.children&&jn(e.children,{context:r.context,props:s},f=>{if(typeof f=="string"){const d=Ur(l,{raw:f},r,s);i?i.insertRule(d):n.push(d)}else Js(f,t,n,r,s,i)}),t.pop(),o&&o.after&&o.after(r.context)}function Ys(e,t,n,r=!1){const s=[];return Js(e,[],s,t,n,r?e.instance.__styleSheet:void 0),r?"":s.join(`
|
|
20
|
+
|
|
21
|
+
`)}function eu(e){for(var t=0,n,r=0,s=e.length;s>=4;++r,s-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Fn(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function lr(e){return document.querySelector(`style[cssr-id="${e}"]`)}function tu(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}window&&(window.__cssrContext={});function Xs(e){const t=e.getAttribute("mount-count");return t===null?null:Number(t)}function Bn(e,t){e.setAttribute("mount-count",String(t))}function Kr(e,t,n,r){const{els:s}=t;if(n===void 0)s.forEach(Fn),t.els=[];else{const i=lr(n);if(i&&s.includes(i)){const o=Xs(i);r?o===null?console.error(`[css-render/unmount]: The style with target='${n}' is mounted in count mode.`):o<=1?(Fn(i),t.els=s.filter(l=>l!==i)):Bn(i,o-1):o!==null?console.error(`[css-render/unmount]: The style with target='${n}' is mounted in no-count mode.`):(Fn(i),t.els=s.filter(l=>l!==i))}}}function nu(e,t){e.push(t)}function ru(e,t,n,r,s,i,o,l,u){if(o&&!u){if(n===void 0){console.error("[css-render/mount]: `id` is required in `boost` mode.");return}const P=window.__cssrContext;P[n]||(P[n]=!0,Ys(t,e,r,o));return}let f;const{els:d}=t;let g;if(n===void 0&&(g=t.render(r),n=eu(g)),u){u(n,g!=null?g:t.render(r));return}const v=lr(n);if(l||v===null){if(f=v===null?tu(n):v,g===void 0&&(g=t.render(r)),f.textContent=g,v!==null)return;if(s){const P=document.head.getElementsByTagName("style")[0]||null;document.head.insertBefore(f,P)}else document.head.appendChild(f);i&&Bn(f,1),nu(d,f)}else{const P=Xs(v);i?P===null?console.error(`[css-render/mount]: The style with id='${n}' has been mounted in no-count mode.`):Bn(v,P+1):P!==null&&console.error(`[css-render/mount]: The style with id='${n}' has been mounted in count mode.`)}return v!=null?v:f}function su(e){return Ys(this,this.instance,e)}function iu(e={}){const{target:t,id:n,ssr:r,props:s,count:i=!1,head:o=!1,boost:l=!1,force:u=!1}=e;return ru(this.instance,this,n!=null?n:t,s,o,i,l,u,r)}function ou(e={}){const{id:t,target:n,delay:r=0,count:s=!1}=e;r===0?Kr(this.instance,this,t!=null?t:n,s):setTimeout(()=>Kr(this.instance,this,t!=null?t:n,s),r)}const Vt=function(e,t,n,r){return{instance:e,$:t,props:n,children:r,els:[],render:su,mount:iu,unmount:ou}},lu=function(e,t,n,r){return Array.isArray(t)?Vt(e,{$:null},null,t):Array.isArray(n)?Vt(e,t,null,n):Array.isArray(r)?Vt(e,t,n,r):Vt(e,t,n,null)};function uu(e={}){let t=null;const n={c:(...r)=>lu(n,...r),use:(r,...s)=>r.install(n,...s),find:lr,context:{},config:e,get __styleSheet(){if(!t){const r=document.createElement("style");return document.head.appendChild(r),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return n}const{c:An}=uu(),cu=An(".xicon",{width:"1em",height:"1em",display:"inline-flex"},[An("svg",{width:"1em",height:"1em"}),An("svg:not([fill])",{fill:"currentColor"})]),au=()=>{cu.mount({id:"xicons-icon"})},Qs={size:[String,Number],color:String,tag:String},Gs=Symbol("IconConfigInjection");He({name:"IconConfigProvider",props:Qs,setup(e,{slots:t}){return ws(Gs,e),()=>Ts(t,"default")}});const fu="span",ei=He({name:"Icon",props:Qs,setup(e,{slots:t}){const n=Jt(Gs,null),r=Xt(()=>{var o;const l=(o=e.size)!==null&&o!==void 0?o:n==null?void 0:n.size;if(l!==void 0)return typeof l=="number"||/^\d+$/.test(l)?`${l}px`:l}),s=Xt(()=>{const{color:o}=e;return o===void 0?n?n.color:void 0:o}),i=Xt(()=>{var o;const{tag:l}=e;return l===void 0?(o=n==null?void 0:n.tag)!==null&&o!==void 0?o:fu:l});return Es(()=>{au()}),()=>tl(i.value,{class:"xicon",style:{color:s.value,fontSize:r.value}},[Ts(t,"default")])}}),du=He({name:"Tree",components:{Icon:ei,FolderAdd24Regular:Wl,Folder24Regular:Bl,DocumentText24Regular:Rl},props:{report:{type:Object,required:!0},tree:{type:Object,required:!0}},data(){return{collapsed:{}}},methods:{coverage(e){if(typeof e!="string")return[];const t=this.report.results[e],n=t.nodeCoverage.coverage,r=n<this.report.thresholds.minimumFileCoverage?"coverage-error":n<this.report.thresholds.optimalFileCoverage?"coverage-warning":"coverage-ok";return t?[{coverage:n,clazz:r}]:[]},isFile(e){return typeof this.tree[e]=="string"},isTree(e){return typeof e!="string"},isOpen(e){return this.isFile(e)?!1:!this.collapsed[e]},click(e){const t=this.tree[e];typeof t=="string"?window.location.hash=t:this.collapsed[e]=!this.collapsed[e]}}});const ur=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hu=["onClick"];function pu(e,t,n,r,s,i){const o=Ne("document-text24-regular"),l=Ne("folder24-regular"),u=Ne("folder-add24-regular"),f=Ne("icon"),d=Ne("tree",!0);return ne(),ye("ul",null,[(ne(!0),ye(ce,null,Fr(e.tree,(g,v)=>(ne(),ye("li",{key:v,class:Se(e.isFile(v)?"file":"tree")},[L("span",{class:"pointer",onClick:P=>e.click(v)},[se(f,null,{default:rr(()=>[e.isFile(v)?(ne(),Ze(o,{key:0})):e.isOpen(v)?(ne(),Ze(l,{key:1})):(ne(),Ze(u,{key:2}))]),_:2},1024),me(" "+ze(v)+" ",1),(ne(!0),ye(ce,null,Fr(e.coverage(g),(P,K)=>(ne(),ye("span",{key:K,class:Se(["coverage",P.clazz])},ze(P.coverage)+"% ",3))),128))],8,hu),e.isTree(g)?(ne(),Ze(d,{key:0,class:Se({open:e.isOpen(v)}),tree:g,report:e.report},null,8,["class","tree","report"])):Ko("",!0)],2))),128))])}const gu=ur(du,[["render",pu],["__scopeId","data-v-f73821a1"]]),mu=He({name:"Highlight",props:{result:{type:Object,default:void 0,required:!1}},data:()=>({highlightCovered:!1,highlightMissing:!0,highlightIgnored:!0,highlightSkipped:!1}),watch:{highlightCovered(){this.savePreferences()},highlightMissing(){this.savePreferences()},highlightIgnored(){this.savePreferences()},highlightSkipped(){this.savePreferences()},result(e){var l;const t=this.$refs.code;for(;t.firstChild;)(l=t.lastChild)==null||l.remove();if(!e)return;const{code:n,codeCoverage:r}=e,s=[];let i=r[0],o=0;for(let u=1;u<r.length;u++){const f=r[u];if(f==i)continue;const d=i<=-2?"coverage-skipped":i==-1?"coverage-ignored":i==0?"coverage-missing":"coverage-covered",g=document.createElement("span"),v=document.createTextNode(n.substring(o,u));g.setAttribute("class",d),g.appendChild(v),s.push(g),i=f,o=u}t.append(...s),Prism.highlightElement(t)}},mounted(){try{const e=localStorage.getItem("__coverageHighlights__"),t=JSON.parse(e||"{}");t.covered!==void 0&&(this.highlightCovered=!!t.covered),t.missing!==void 0&&(this.highlightMissing=!!t.missing),t.ignored!==void 0&&(this.highlightIgnored=!!t.ignored),t.skipped!==void 0&&(this.highlightSkipped=!!t.skipped)}catch{}},methods:{savePreferences(){try{localStorage.setItem("__coverageHighlights__",JSON.stringify({covered:this.highlightCovered,missing:this.highlightMissing,ignored:this.highlightIgnored,skipped:this.highlightSkipped}))}catch{}}}});const Ht=e=>(vs("data-v-e31c9008"),e=e(),ys(),e),_u={class:"highlights"},bu={class:"highlights-groups"},vu={class:"highlights-group"},yu=Ht(()=>L("label",{for:"covered"},"covered",-1)),wu={class:"highlights-group"},xu=Ht(()=>L("label",{for:"missing"},"missing",-1)),Cu={class:"highlights-group"},Fu=Ht(()=>L("label",{for:"ignored"},"ignored",-1)),Au={class:"highlights-group"},Eu=Ht(()=>L("label",{for:"skipped"},"skipped",-1)),$u=Ht(()=>L("span",{class:"highlights-group"}," \u2630 ",-1)),Pu={ref:"code"};function Tu(e,t,n,r,s,i){return ne(),ye(ce,null,[L("div",_u,[L("div",bu,[L("span",vu,[Kt(L("input",{id:"covered","onUpdate:modelValue":t[0]||(t[0]=o=>e.highlightCovered=o),type:"checkbox"},null,512),[[Wt,e.highlightCovered]]),yu]),L("span",wu,[Kt(L("input",{id:"missing","onUpdate:modelValue":t[1]||(t[1]=o=>e.highlightMissing=o),type:"checkbox"},null,512),[[Wt,e.highlightMissing]]),xu]),L("span",Cu,[Kt(L("input",{id:"ignored","onUpdate:modelValue":t[2]||(t[2]=o=>e.highlightIgnored=o),type:"checkbox"},null,512),[[Wt,e.highlightIgnored]]),Fu]),L("span",Au,[Kt(L("input",{id:"skipped","onUpdate:modelValue":t[3]||(t[3]=o=>e.highlightSkipped=o),type:"checkbox"},null,512),[[Wt,e.highlightSkipped]]),Eu]),$u])]),L("pre",{class:Se(["language-typescript line-numbers",{"highlight-covered":e.highlightCovered,"highlight-missing":e.highlightMissing,"highlight-ignored":e.highlightIgnored,"highlight-skipped":e.highlightSkipped}])},[L("code",Pu,null,512)],2)],64)}const Iu=ur(mu,[["render",Tu],["__scopeId","data-v-e31c9008"]]),Mu=He({name:"App",components:{DocumentArrowLeft24Regular:Tl,DocumentBulletListMultiple24Regular:kl,Highlight:Iu,Icon:ei,Tree:gu},props:{report:{type:Object,required:!0}},data:()=>({file:void 0}),computed:{thresholds(){return this.file?{minimumCoverage:this.report.thresholds.minimumFileCoverage,optimalCoverage:this.report.thresholds.optimalFileCoverage}:{minimumCoverage:this.report.thresholds.minimumCoverage,optimalCoverage:this.report.thresholds.optimalCoverage}},nodeCoverage(){var e;return((e=this.result)==null?void 0:e.nodeCoverage)||this.report.nodes},result(){return this.file?this.report.results[this.file]:void 0},reportDate(){const e=new Date(this.report.date);return new Intl.DateTimeFormat("en-US",{dateStyle:"medium",timeStyle:"medium"}).format(e)}},mounted(){window.addEventListener("hashchange",()=>{this.selected(window.location.hash.substring(1))}),this.selected(window.location.hash.substring(1))},methods:{selected(e=""){e in this.report.results?(this.file=e,window.location.hash=e):(this.file=void 0,window.location.hash="")}}});const Ou=e=>(vs("data-v-c87b3b2d"),e=e(),ys(),e),ku={class:"details"},Lu={class:"group"},Nu=me("Covered: "),Su={class:"number"},Ru=me(" nodes"),Hu={class:"group"},zu=me("Ignored: "),ju={class:"number"},Bu=me(" nodes"),Du={class:"group"},Uu=me("Missing: "),Ku={class:"number"},Wu=me(" nodes"),Vu={class:"group"},qu=me("Total: "),Zu={class:"number"},Ju=me(" nodes"),Yu=me(" Generated with "),Xu=Ou(()=>L("a",{href:"https://github.com/plugjs/cov8"},"PlugJS Cov8",-1)),Qu=me(" on "),Gu={class:"date"},ec=me(". ");function tc(e,t,n,r,s,i){const o=Ne("document-arrow-left24-regular"),l=Ne("document-bullet-list-multiple24-regular"),u=Ne("icon"),f=Ne("tree"),d=Ne("highlight");return ne(),ye(ce,null,[L("header",null,[L("h1",{class:"pointer",onClick:t[0]||(t[0]=g=>e.selected())},[se(u,null,{default:rr(()=>[e.result?(ne(),Ze(o,{key:0})):(ne(),Ze(l,{key:1}))]),_:1}),me(" "+ze(e.result?e.file:"Coverage Report")+" ",1),L("span",{class:Se({coverage:!0,"coverage-error":e.nodeCoverage.coverage<e.thresholds.minimumCoverage,"coverage-warning":e.nodeCoverage.coverage<e.thresholds.optimalCoverage,"coverage-ok":e.nodeCoverage.coverage>=e.thresholds.optimalCoverage})},ze(e.nodeCoverage.coverage)+"%",3)]),L("p",ku,[L("span",Lu,[Nu,L("span",Su,ze(e.nodeCoverage.coveredNodes),1),Ru]),L("span",Hu,[zu,L("span",ju,ze(e.nodeCoverage.ignoredNodes),1),Bu]),L("span",Du,[Uu,L("span",Ku,ze(e.nodeCoverage.missingNodes),1),Wu]),L("span",Vu,[qu,L("span",Zu,ze(e.nodeCoverage.totalNodes),1),Ju])])]),L("nav",{class:Se({visible:!e.result})},[se(f,{tree:e.report.tree,report:e.report,onSelected:e.selected},null,8,["tree","report","onSelected"])],2),L("main",{class:Se({visible:!!e.result})},[se(d,{result:e.result},null,8,["result"])],2),L("footer",null,[Yu,Xu,Qu,L("span",Gu,ze(e.reportDate),1),ec])],64)}const nc=ur(Mu,[["render",tc],["__scopeId","data-v-c87b3b2d"]]);var Wr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},rc={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
22
|
+
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
23
|
+
*
|
|
24
|
+
* @license MIT <https://opensource.org/licenses/MIT>
|
|
25
|
+
* @author Lea Verou <https://lea.verou.me>
|
|
26
|
+
* @namespace
|
|
27
|
+
* @public
|
|
28
|
+
*/var n=function(r){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},l={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function b(p){return p instanceof u?new u(p.type,b(p.content),p.alias):Array.isArray(p)?p.map(b):p.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++i}),b.__id},clone:function b(p,w){w=w||{};var F,E;switch(l.util.type(p)){case"Object":if(E=l.util.objId(p),w[E])return w[E];F={},w[E]=F;for(var k in p)p.hasOwnProperty(k)&&(F[k]=b(p[k],w));return F;case"Array":return E=l.util.objId(p),w[E]?w[E]:(F=[],w[E]=F,p.forEach(function(U,O){F[O]=b(U,w)}),F);default:return p}},getLanguage:function(b){for(;b;){var p=s.exec(b.className);if(p)return p[1].toLowerCase();b=b.parentElement}return"none"},setLanguage:function(b,p){b.className=b.className.replace(RegExp(s,"gi"),""),b.classList.add("language-"+p)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(F){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(F.stack)||[])[1];if(b){var p=document.getElementsByTagName("script");for(var w in p)if(p[w].src==b)return p[w]}return null}},isActive:function(b,p,w){for(var F="no-"+p;b;){var E=b.classList;if(E.contains(p))return!0;if(E.contains(F))return!1;b=b.parentElement}return!!w}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(b,p){var w=l.util.clone(l.languages[b]);for(var F in p)w[F]=p[F];return w},insertBefore:function(b,p,w,F){F=F||l.languages;var E=F[b],k={};for(var U in E)if(E.hasOwnProperty(U)){if(U==p)for(var O in w)w.hasOwnProperty(O)&&(k[O]=w[O]);w.hasOwnProperty(U)||(k[U]=E[U])}var G=F[b];return F[b]=k,l.languages.DFS(l.languages,function(Q,he){he===G&&Q!=b&&(this[Q]=k)}),k},DFS:function b(p,w,F,E){E=E||{};var k=l.util.objId;for(var U in p)if(p.hasOwnProperty(U)){w.call(p,U,p[U],F||U);var O=p[U],G=l.util.type(O);G==="Object"&&!E[k(O)]?(E[k(O)]=!0,b(O,w,null,E)):G==="Array"&&!E[k(O)]&&(E[k(O)]=!0,b(O,w,U,E))}}},plugins:{},highlightAll:function(b,p){l.highlightAllUnder(document,b,p)},highlightAllUnder:function(b,p,w){var F={callback:w,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",F),F.elements=Array.prototype.slice.apply(F.container.querySelectorAll(F.selector)),l.hooks.run("before-all-elements-highlight",F);for(var E=0,k;k=F.elements[E++];)l.highlightElement(k,p===!0,F.callback)},highlightElement:function(b,p,w){var F=l.util.getLanguage(b),E=l.languages[F];l.util.setLanguage(b,F);var k=b.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(k,F);var U=b.textContent,O={element:b,language:F,grammar:E,code:U};function G(he){O.highlightedCode=he,l.hooks.run("before-insert",O),O.element.innerHTML=O.highlightedCode,l.hooks.run("after-highlight",O),l.hooks.run("complete",O),w&&w.call(O.element)}if(l.hooks.run("before-sanity-check",O),k=O.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!O.code){l.hooks.run("complete",O),w&&w.call(O.element);return}if(l.hooks.run("before-highlight",O),!O.grammar){G(l.util.encode(O.code));return}if(p&&r.Worker){var Q=new Worker(l.filename);Q.onmessage=function(he){G(he.data)},Q.postMessage(JSON.stringify({language:O.language,code:O.code,immediateClose:!0}))}else G(l.highlight(O.code,O.grammar,O.language))},highlight:function(b,p,w){var F={code:b,grammar:p,language:w};if(l.hooks.run("before-tokenize",F),!F.grammar)throw new Error('The language "'+F.language+'" has no grammar.');return F.tokens=l.tokenize(F.code,F.grammar),l.hooks.run("after-tokenize",F),u.stringify(l.util.encode(F.tokens),F.language)},tokenize:function(b,p){var w=p.rest;if(w){for(var F in w)p[F]=w[F];delete p.rest}var E=new g;return v(E,E.head,b),d(b,E,p,E.head,0),K(E)},hooks:{all:{},add:function(b,p){var w=l.hooks.all;w[b]=w[b]||[],w[b].push(p)},run:function(b,p){var w=l.hooks.all[b];if(!(!w||!w.length))for(var F=0,E;E=w[F++];)E(p)}},Token:u};r.Prism=l;function u(b,p,w,F){this.type=b,this.content=p,this.alias=w,this.length=(F||"").length|0}u.stringify=function b(p,w){if(typeof p=="string")return p;if(Array.isArray(p)){var F="";return p.forEach(function(G){F+=b(G,w)}),F}var E={type:p.type,content:b(p.content,w),tag:"span",classes:["token",p.type],attributes:{},language:w},k=p.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(E.classes,k):E.classes.push(k)),l.hooks.run("wrap",E);var U="";for(var O in E.attributes)U+=" "+O+'="'+(E.attributes[O]||"").replace(/"/g,""")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+U+">"+E.content+"</"+E.tag+">"};function f(b,p,w,F){b.lastIndex=p;var E=b.exec(w);if(E&&F&&E[1]){var k=E[1].length;E.index+=k,E[0]=E[0].slice(k)}return E}function d(b,p,w,F,E,k){for(var U in w)if(!(!w.hasOwnProperty(U)||!w[U])){var O=w[U];O=Array.isArray(O)?O:[O];for(var G=0;G<O.length;++G){if(k&&k.cause==U+","+G)return;var Q=O[G],he=Q.inside,Ge=!!Q.lookbehind,yt=!!Q.greedy,wt=Q.alias;if(yt&&!Q.pattern.global){var le=Q.pattern.toString().match(/[imsuy]*$/)[0];Q.pattern=RegExp(Q.pattern.source,le+"g")}for(var Y=Q.pattern||Q,R=F.next,te=E;R!==p.tail&&!(k&&te>=k.reach);te+=R.value.length,R=R.next){var $e=R.value;if(p.length>b.length)return;if(!($e instanceof u)){var Pe=1,re;if(yt){if(re=f(Y,te,b,Ge),!re||re.index>=b.length)break;var ut=re.index,Te=re.index+re[0].length,we=te;for(we+=R.value.length;ut>=we;)R=R.next,we+=R.value.length;if(we-=R.value.length,te=we,R.value instanceof u)continue;for(var et=R;et!==p.tail&&(we<Te||typeof et.value=="string");et=et.next)Pe++,we+=et.value.length;Pe--,$e=b.slice(te,we),re.index-=te}else if(re=f(Y,0,$e,Ge),!re)continue;var ut=re.index,pe=re[0],Ue=$e.slice(0,ut),xt=$e.slice(ut+pe.length),Ie=te+$e.length;k&&Ie>k.reach&&(k.reach=Ie);var Ke=R.prev;Ue&&(Ke=v(p,Ke,Ue),te+=Ue.length),P(p,Ke,Pe);var Ct=new u(U,he?l.tokenize(pe,he):pe,wt,pe);if(R=v(p,Ke,Ct),xt&&v(p,R,xt),Pe>1){var c={cause:U+","+G,reach:Ie};d(b,p,w,R.prev,te,c),k&&c.reach>k.reach&&(k.reach=c.reach)}}}}}}function g(){var b={value:null,prev:null,next:null},p={value:null,prev:b,next:null};b.next=p,this.head=b,this.tail=p,this.length=0}function v(b,p,w){var F=p.next,E={value:w,prev:p,next:F};return p.next=E,F.prev=E,b.length++,E}function P(b,p,w){for(var F=p.next,E=0;E<w&&F!==b.tail;E++)F=F.next;p.next=F,F.prev=p,b.length-=E}function K(b){for(var p=[],w=b.head.next;w!==b.tail;)p.push(w.value),w=w.next;return p}if(!r.document)return r.addEventListener&&(l.disableWorkerMessageHandler||r.addEventListener("message",function(b){var p=JSON.parse(b.data),w=p.language,F=p.code,E=p.immediateClose;r.postMessage(l.highlight(F,l.languages[w],w)),E&&r.close()},!1)),l;var W=l.util.currentScript();W&&(l.filename=W.src,W.hasAttribute("data-manual")&&(l.manual=!0));function z(){l.manual||l.highlightAll()}if(!l.manual){var D=document.readyState;D==="loading"||D==="interactive"&&W&&W.defer?document.addEventListener("DOMContentLoaded",z):window.requestAnimationFrame?window.requestAnimationFrame(z):window.setTimeout(z,16)}return l}(t);e.exports&&(e.exports=n),typeof Wr<"u"&&(Wr.Prism=n)})(rc);Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);(function(){if(typeof Prism>"u"||typeof document>"u")return;var e="line-numbers",t=/\n(?!$)/g,n=Prism.plugins.lineNumbers={getLine:function(o,l){if(!(o.tagName!=="PRE"||!o.classList.contains(e))){var u=o.querySelector(".line-numbers-rows");if(!!u){var f=parseInt(o.getAttribute("data-start"),10)||1,d=f+(u.children.length-1);l<f&&(l=f),l>d&&(l=d);var g=l-f;return u.children[g]}}},resize:function(o){r([o])},assumeViewportIndependence:!0};function r(o){if(o=o.filter(function(u){var f=s(u),d=f["white-space"];return d==="pre-wrap"||d==="pre-line"}),o.length!=0){var l=o.map(function(u){var f=u.querySelector("code"),d=u.querySelector(".line-numbers-rows");if(!(!f||!d)){var g=u.querySelector(".line-numbers-sizer"),v=f.textContent.split(t);g||(g=document.createElement("span"),g.className="line-numbers-sizer",f.appendChild(g)),g.innerHTML="0",g.style.display="block";var P=g.getBoundingClientRect().height;return g.innerHTML="",{element:u,lines:v,lineHeights:[],oneLinerHeight:P,sizer:g}}}).filter(Boolean);l.forEach(function(u){var f=u.sizer,d=u.lines,g=u.lineHeights,v=u.oneLinerHeight;g[d.length-1]=void 0,d.forEach(function(P,K){if(P&&P.length>1){var W=f.appendChild(document.createElement("span"));W.style.display="block",W.textContent=P}else g[K]=v})}),l.forEach(function(u){for(var f=u.sizer,d=u.lineHeights,g=0,v=0;v<d.length;v++)d[v]===void 0&&(d[v]=f.children[g++].getBoundingClientRect().height)}),l.forEach(function(u){var f=u.sizer,d=u.element.querySelector(".line-numbers-rows");f.style.display="none",f.innerHTML="",u.lineHeights.forEach(function(g,v){d.children[v].style.height=g+"px"})})}}function s(o){return o?window.getComputedStyle?getComputedStyle(o):o.currentStyle||null:null}var i=void 0;window.addEventListener("resize",function(){n.assumeViewportIndependence&&i===window.innerWidth||(i=window.innerWidth,r(Array.prototype.slice.call(document.querySelectorAll("pre."+e))))}),Prism.hooks.add("complete",function(o){if(!!o.code){var l=o.element,u=l.parentNode;if(!(!u||!/pre/i.test(u.nodeName))&&!l.querySelector(".line-numbers-rows")&&!!Prism.util.isActive(l,e)){l.classList.remove(e),u.classList.add(e);var f=o.code.match(t),d=f?f.length+1:1,g,v=new Array(d+1).join("<span></span>");g=document.createElement("span"),g.setAttribute("aria-hidden","true"),g.className="line-numbers-rows",g.innerHTML=v,u.hasAttribute("data-start")&&(u.style.counterReset="linenumber "+(parseInt(u.getAttribute("data-start"),10)-1)),o.element.appendChild(g),r([u]),Prism.hooks.run("line-numbers",o)}}}),Prism.hooks.add("line-numbers",function(o){o.plugins=o.plugins||{},o.plugins.lineNumbers=!0})})();(function(){typeof Prism>"u"||typeof document>"u"||!document.createRange||(Prism.plugins.KeepMarkup=!0,Prism.hooks.add("before-highlight",function(e){if(!e.element.children.length||!Prism.util.isActive(e.element,"keep-markup",!0))return;var t=Prism.util.isActive(e.element,"drop-tokens",!1);function n(l){return!(t&&l.nodeName.toLowerCase()==="span"&&l.classList.contains("token"))}var r=0,s=[];function i(l){if(!n(l)){o(l);return}var u={element:l,posOpen:r};s.push(u),o(l),u.posClose=r}function o(l){for(var u=0,f=l.childNodes.length;u<f;u++){var d=l.childNodes[u];d.nodeType===1?i(d):d.nodeType===3&&(r+=d.data.length)}}o(e.element),s.length&&(e.keepMarkup=s)}),Prism.hooks.add("after-highlight",function(e){if(e.keepMarkup&&e.keepMarkup.length){var t=function(n,r){for(var s=0,i=n.childNodes.length;s<i;s++){var o=n.childNodes[s];if(o.nodeType===1){if(!t(o,r))return!1}else o.nodeType===3&&(!r.nodeStart&&r.pos+o.data.length>r.node.posOpen&&(r.nodeStart=o,r.nodeStartPos=r.node.posOpen-r.pos),r.nodeStart&&r.pos+o.data.length>=r.node.posClose&&(r.nodeEnd=o,r.nodeEndPos=r.node.posClose-r.pos),r.pos+=o.data.length);if(r.nodeStart&&r.nodeEnd){var l=document.createRange();return l.setStart(r.nodeStart,r.nodeStartPos),l.setEnd(r.nodeEnd,r.nodeEndPos),r.node.element.innerHTML="",r.node.element.appendChild(l.extractContents()),l.insertNode(r.node.element),l.detach(),!1}}return!0};e.keepMarkup.forEach(function(n){t(e.element,{node:n,pos:0})}),e.highlightedCode=e.element.innerHTML}}))})();window.__initCoverage__=function(e){Fl(nc,{report:e}).mount("#app")};document.addEventListener("DOMContentLoaded",()=>{const e=document.createElement("script");e.setAttribute("src","report.js"),document.body.appendChild(e)});
|
|
29
|
+
|
|
30
|
+
</script>
|
|
31
|
+
<style type="text/css">
|
|
32
|
+
@import"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@1,200;1,300;1,400;1,600;1,700;1,900&display=swap";@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;300;400;500;600;700;800;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";ul[data-v-f73821a1]{margin:0;padding:0 0 0 1.2em}ul li[data-v-f73821a1]{position:relative;list-style-type:none;padding:0;margin:0}ul li .xicon[data-v-f73821a1]{color:#999;position:absolute;top:.2em;left:-1.2em}ul li.tree>ul[data-v-f73821a1]{opacity:0;font-size:0;transition:opacity .1s ease-out,font-size .2s ease-out .1s}ul li.tree>ul.open[data-v-f73821a1]{opacity:1;font-size:1em;transition:opacity .1s ease-out .2s,font-size .2s ease-out}div.highlights[data-v-e31c9008]{display:flex;margin-top:1em;margin-bottom:-33px;margin-right:1px;height:32px;position:-webkit-sticky;position:sticky;z-index:999;top:0}div.highlights div.highlights-groups[data-v-e31c9008]{margin-left:auto;border-left:1px solid #999;border-bottom:1px solid #999;border-radius:0 5px;background-color:#fff;padding:.125em}div.highlights div.highlights-groups .highlights-group[data-v-e31c9008]{display:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:.65em;padding:0 .5em;border-right:1px solid #999;margin-right:.25em}div.highlights div.highlights-groups .highlights-group[data-v-e31c9008]:last-child{border-right:none;display:inline-block;position:relative;top:-.2em;margin-right:0}div.highlights div.highlights-groups:hover .highlights-group[data-v-e31c9008]{display:inline-block}div.highlights div.highlights-groups input[type=checkbox][data-v-e31c9008]{visibility:hidden;position:relative}div.highlights div.highlights-groups input[type=checkbox][data-v-e31c9008]:before{content:"\a0";visibility:visible;border:1px solid #666;border-radius:3px;width:.75em;height:.75em;position:absolute;background-color:transparent}div.highlights div.highlights-groups input[type=checkbox]#covered[data-v-e31c9008]:checked:before{background-color:#9f9}div.highlights div.highlights-groups input[type=checkbox]#missing[data-v-e31c9008]:checked:before{background-color:#f99}div.highlights div.highlights-groups input[type=checkbox]#ignored[data-v-e31c9008]:checked:before{background-color:#ee0}div.highlights div.highlights-groups input[type=checkbox]#skipped[data-v-e31c9008]:checked:before{background-color:#ccc}div.highlights div.highlights-groups label[data-v-e31c9008]{position:relative;padding-left:.25em;top:-.2em}pre[class*=language-][data-v-e31c9008],code[class*=language-][data-v-e31c9008]{font-family:Source Code Pro,monospace;font-size:18px;background-color:transparent;line-height:normal;text-shadow:none}pre[class*=language-][data-v-e31c9008]{border-radius:5px;border:1px solid #999;padding:.5em 0;margin:0}pre[class*=language-][data-v-e31c9008] .line-numbers-rows{background-color:#00000020;border-right:1px solid #999;padding:.5em 0;top:-.5em}pre[class*=language-][data-v-e31c9008] .token{background-color:transparent}pre[class*=language-].highlight-covered[data-v-e31c9008] .coverage-covered{background-color:#99ff9940}pre[class*=language-].highlight-missing[data-v-e31c9008] .coverage-missing{background-color:#ff999940}pre[class*=language-].highlight-ignored[data-v-e31c9008] .coverage-ignored{background-color:#eeee0040}pre[class*=language-].highlight-skipped[data-v-e31c9008] .coverage-skipped{background-color:#cccccc40}h1[data-v-c87b3b2d]{padding-bottom:.25em;margin-bottom:.25em;border-bottom:1px solid #666}h1 .xicon[data-v-c87b3b2d]{color:#999;position:relative;top:.2em}p.details[data-v-c87b3b2d]{font-size:.75em;color:#666}p.details .number[data-v-c87b3b2d]{padding:0 .25em;font-weight:600;color:#000}p.details .group[data-v-c87b3b2d]:nth-child(n+2){margin-left:1em;padding-left:1em;border-left:1px solid #999}footer[data-v-c87b3b2d]{padding-top:.25em;text-align:center;font-size:.75em;color:#666}footer a[data-v-c87b3b2d],footer span.date[data-v-c87b3b2d]{color:#000;font-weight:600}nav[data-v-c87b3b2d],main[data-v-c87b3b2d]{opacity:0;font-size:0;transition:opacity .1s ease-out,font-size .2s ease-out .1s}nav.visible[data-v-c87b3b2d],main.visible[data-v-c87b3b2d]{opacity:1;font-size:1em;transition:opacity .1s ease-out .2s,font-size .2s ease-out}main[data-v-c87b3b2d]{margin-bottom:1em}nav[data-v-c87b3b2d]{padding-bottom:1em;border-bottom:1px solid #666}code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px white;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}pre[class*=language-]::selection,pre[class*=language-] ::selection,code[class*=language-]::selection,code[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol,.token.deleted{color:#905}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#690}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.function,.token.class-name{color:#dd4a68}.token.regex,.token.important,.token.variable{color:#e90}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}pre[class*=language-].line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;user-select:none}.line-numbers-rows>span{display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}body{font-family:Source Sans Pro,sans-serif;font-size:20px;padding:1em}.pointer{cursor:pointer}.coverage{font-family:Source Code Pro,monospace;font-weight:400;margin-left:1em;font-size:.6em;border:1px solid #666;background-color:#ddd;border-radius:5px;padding:0 .5em;position:relative;top:-.15em;color:#666}.coverage.coverage-ok{color:#060;border-color:#060;background-color:#dfd}.coverage.coverage-warning{color:#630;border-color:#630;background-color:#fe9}.coverage.coverage-error{color:#600;border-color:#600;background-color:#fdd}
|
|
33
|
+
|
|
34
|
+
</style>
|
|
35
|
+
</head>
|
|
36
|
+
<body>
|
|
37
|
+
<div id="app"></div>
|
|
38
|
+
|
|
39
|
+
</body>
|
|
40
|
+
</html>
|
package/index.cjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const fs = require('node:fs')
|
|
4
|
+
const path = require('node:path')
|
|
5
|
+
|
|
6
|
+
const file = path.resolve(__dirname, 'dist', 'index.html')
|
|
7
|
+
const html = fs.readFileSync(file, 'utf8')
|
|
8
|
+
const initFunction = 'window.__initCoverage__'
|
|
9
|
+
|
|
10
|
+
module.exports = { html, initFunction }
|
package/index.d.ts
ADDED
package/index.html
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Coverage Report</title>
|
|
5
|
+
<script>
|
|
6
|
+
window.Prism = window.Prism || {};
|
|
7
|
+
window.Prism.manual = true;
|
|
8
|
+
</script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div id="app"></div>
|
|
12
|
+
<script type="module" src="/src/main.ts"></script>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
package/index.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import fs from 'node:fs'
|
|
2
|
+
import url from 'node:url'
|
|
3
|
+
import path from 'node:path'
|
|
4
|
+
|
|
5
|
+
const __filename = url.fileURLToPath(import.meta.url)
|
|
6
|
+
const __dirname = path.dirname(__filename)
|
|
7
|
+
|
|
8
|
+
const file = path.resolve(__dirname, 'dist', 'index.html')
|
|
9
|
+
export const html = fs.readFileSync(file, 'utf8')
|
|
10
|
+
export const initFunction = 'window.__initCoverage__'
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@plugjs/cov8-html",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Single-page-app to browse Cov8 reports",
|
|
5
|
+
"main": "./index.cjs",
|
|
6
|
+
"module": "./index.mjs",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"default": "./index.mjs"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./index.d.ts",
|
|
16
|
+
"default": "./index.cjs"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "npm run check && vite build",
|
|
23
|
+
"check": "vue-ts-checker",
|
|
24
|
+
"lint": "eslint src"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@juit/vue-ts-checker": "^1.0.6",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
29
|
+
"@typescript-eslint/parser": "^5.31.0",
|
|
30
|
+
"@vicons/fluent": "^0.12.0",
|
|
31
|
+
"@vicons/utils": "^0.1.4",
|
|
32
|
+
"@vitejs/plugin-vue": "^3.0.1",
|
|
33
|
+
"autoprefixer": "^10.4.7",
|
|
34
|
+
"eslint": "^8.20.0",
|
|
35
|
+
"eslint-config-google": "^0.14.0",
|
|
36
|
+
"eslint-plugin-vue": "^9.3.0",
|
|
37
|
+
"postcss-import": "^14.1.0",
|
|
38
|
+
"postcss-nested": "^5.0.6",
|
|
39
|
+
"prismjs": "^1.28.0",
|
|
40
|
+
"typescript": "^4.7.4",
|
|
41
|
+
"vite": "^3.0.3",
|
|
42
|
+
"vite-plugin-eslint": "^1.7.0",
|
|
43
|
+
"vite-plugin-singlefile": "^0.11.0",
|
|
44
|
+
"vue": "^3.2.37"
|
|
45
|
+
},
|
|
46
|
+
"keywords": [
|
|
47
|
+
"plugjs",
|
|
48
|
+
"cov8",
|
|
49
|
+
"coverage",
|
|
50
|
+
"nyc"
|
|
51
|
+
],
|
|
52
|
+
"author": "Team Juit <developers@juit.com>",
|
|
53
|
+
"license": "Apache-2.0"
|
|
54
|
+
}
|